mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-06-16 10:43:18 +03:00
32273d2be8
Декомпилятор ловил эти свойства (Add-CommonProps/Add-Appearance), но эмиттеры компилятора их не выводили → LOST. Четыре подфикса (по выбору пользователя из топа list-iter): 1. Page>BackColor/TitleTextColor/TitleFont (193+): Emit-Page не звал Emit-Appearance. Добавлен (profile field, после ShowTitle перед компаньоном — порядок корпуса). 2. Popup>TitleTextColor/TitleFont (133/127): Emit-Popup не звал Emit-Appearance. Добавлен. 3. ColumnGroup>HeaderPicture (144): Emit-ColumnGroup не звал Emit-ColumnPics. Добавлен (после ShowInHeader/Layout перед оформлением — порядок корпуса). 4. UsualGroup Title/ToolTip с whitespace-контентом: Add-CommonProps читал title/tooltip через Get-LangText (PreserveWhitespace=false стрипал <v8:content> </> → "" → компилятор подавлял). Новый Get-LangTextWS восстанавливает " " (как Get-MLFormattedValue). 1-пробельные tooltip'ы теперь матчатся; редкий N-пробельный → косметика числа пробелов. Зеркало py. Выборка 40 форм с этими категориями: целевые потери 0 (match 21, остаток — несвязанный хвост). Кейсы pages (+backColor/titleTextColor/titleFont), column-group (+headerPicture), button-group (popup +titleTextColor/titleFont) сертифицированы в 1С. Регресс 43/43 (ps1+py). Раскрыто (отдельно): MultipleValuesBackColor (input) — другой appearance-ключ. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
44 lines
2.2 KiB
JSON
44 lines
2.2 KiB
JSON
{
|
|
"name": "Форма со страницами (мастер)",
|
|
"preRun": [
|
|
{
|
|
"script": "meta-compile/scripts/meta-compile",
|
|
"input": { "type": "DataProcessor", "name": "Мастер" },
|
|
"args": { "-JsonPath": "{inputFile}", "-OutputDir": "{workDir}" }
|
|
},
|
|
{
|
|
"script": "form-add/scripts/form-add",
|
|
"args": { "-ObjectPath": "{workDir}/DataProcessors/Мастер.xml", "-FormName": "Форма" }
|
|
}
|
|
],
|
|
"params": { "outputPath": "DataProcessors/Мастер/Forms/Форма/Ext/Form.xml" },
|
|
"validatePath": "DataProcessors/Мастер/Forms/Форма/Ext/Form.xml",
|
|
"input": {
|
|
"title": "Мастер настройки",
|
|
"properties": { "autoTitle": false },
|
|
"elements": [
|
|
{ "pages": "СтраницыМастера", "pagesRepresentation": "None", "tooltip": "Страницы мастера настройки", "children": [
|
|
{ "page": "Шаг1", "title": "", "showTitle": false, "picture": "StdPicture.ExecuteTask", "children": [
|
|
{ "input": "Параметр1", "path": "Параметр1" }
|
|
]},
|
|
{ "page": "Шаг2", "title": "Результат", "titleDataPath": "Итог", "tooltip": "Шаг \"Результат\"", "group": "horizontalIfPossible", "picture": { "src": "StdPicture.FilterCriterion", "loadTransparent": true, "transparentPixel": { "x": 2, "y": 4 } }, "backColor": "style:FormBackColor", "titleTextColor": "style:FormTextColor", "titleFont": "style:TextFont", "children": [
|
|
{ "input": "Итог", "path": "Итог", "readOnly": true }
|
|
]}
|
|
]},
|
|
{ "group": "horizontalIfPossible", "name": "Навигация", "children": [
|
|
{ "button": "Назад", "command": "Назад", "title": "< Назад" },
|
|
{ "button": "Далее", "command": "Далее", "title": "Далее >" }
|
|
]}
|
|
],
|
|
"attributes": [
|
|
{ "name": "Объект", "type": "DataProcessorObject.Мастер", "main": true },
|
|
{ "name": "Параметр1", "type": "string" },
|
|
{ "name": "Итог", "type": "string" }
|
|
],
|
|
"commands": [
|
|
{ "name": "Назад", "action": "НазадОбработка" },
|
|
{ "name": "Далее", "action": "ДалееОбработка" }
|
|
]
|
|
}
|
|
}
|