mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-07-31 08:47:45 +03:00
feat(form-decompile,form-compile): commandSource у ButtonGroup/CommandBar
ButtonGroup/CommandBar несут <CommandSource> (источник команд группы): Form (2478), FormCommandPanelGlobalCommands (1267), Item.<ИмяЭлемента> (команды конкретного элемента-таблицы). Декомпилятор не захватывал → LOST в форменных/элементных панелях. Добавлен ключ commandSource (эмитится «как есть», после Title до Representation/Autofill). Декомпилятор захватывает у ButtonGroup и CommandBar. TOTAL diff lines выборки 2.17: 5189 → 5149 (-40). ButtonGroup/CommandBar CommandSource LOST → 0. Снапшот button-group (группа глобальных команд с commandSource) сертифицирован в 1С (8.3.24). Регресс form-compile 33/33 зелёный на ps + python. decompile v0.32, compile v1.50. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
c998139c89
commit
7eb825b3a7
@@ -21,7 +21,8 @@
|
||||
{ "buttonGroup": "ГруппаПереместить", "title": "Переместить", "children": [
|
||||
{ "button": "Вверх", "command": "Вверх" },
|
||||
{ "button": "Вниз", "command": "Вниз" }
|
||||
]}
|
||||
]},
|
||||
{ "buttonGroup": "ГруппаГлобальныеКоманды", "commandSource": "FormCommandPanelGlobalCommands" }
|
||||
]}
|
||||
],
|
||||
"attributes": [
|
||||
|
||||
+8
-4
@@ -41,11 +41,15 @@
|
||||
</Button>
|
||||
</ChildItems>
|
||||
</ButtonGroup>
|
||||
<ButtonGroup name="ГруппаГлобальныеКоманды" id="11">
|
||||
<CommandSource>FormCommandPanelGlobalCommands</CommandSource>
|
||||
<ExtendedTooltip name="ГруппаГлобальныеКомандыРасширеннаяПодсказка" id="12"/>
|
||||
</ButtonGroup>
|
||||
</ChildItems>
|
||||
</CommandBar>
|
||||
</ChildItems>
|
||||
<Attributes>
|
||||
<Attribute name="Объект" id="11">
|
||||
<Attribute name="Объект" id="13">
|
||||
<Type>
|
||||
<v8:Type>cfg:DataProcessorObject.ГруппыКнопок</v8:Type>
|
||||
</Type>
|
||||
@@ -53,7 +57,7 @@
|
||||
</Attribute>
|
||||
</Attributes>
|
||||
<Commands>
|
||||
<Command name="Выполнить" id="12">
|
||||
<Command name="Выполнить" id="14">
|
||||
<Title>
|
||||
<v8:item>
|
||||
<v8:lang>ru</v8:lang>
|
||||
@@ -69,7 +73,7 @@
|
||||
<Action>ВыполнитьОбработка</Action>
|
||||
<Shortcut>Ctrl+Enter</Shortcut>
|
||||
</Command>
|
||||
<Command name="Вверх" id="13">
|
||||
<Command name="Вверх" id="15">
|
||||
<Title>
|
||||
<v8:item>
|
||||
<v8:lang>ru</v8:lang>
|
||||
@@ -79,7 +83,7 @@
|
||||
<Action>ВверхОбработка</Action>
|
||||
<CurrentRowUse>DontUse</CurrentRowUse>
|
||||
</Command>
|
||||
<Command name="Вниз" id="14">
|
||||
<Command name="Вниз" id="16">
|
||||
<Title>
|
||||
<v8:item>
|
||||
<v8:lang>ru</v8:lang>
|
||||
|
||||
Reference in New Issue
Block a user