mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-07-11 05:23:42 +03:00
6807b07681
Раундтрип TOTAL 61→57, match 130→135. Захват+эмит «как есть»: - Table: autofill (<Autofill> — СВОЁ свойство таблицы, ≠ AutoCommandBar autofill = tableAutofill; редко, 270 в корпусе, всегда true = автогенерация колонок, ChildItems пуст у 93%), multipleChoice, searchOnInput (Auto/Use/DontUse), markIncomplete (<AutoMarkIncomplete>, общий ключ с input). - PictureField: hyperlink (<Hyperlink> — кликабельная картинка), shortcut (<Shortcut>). Зеркало py. Кейсы table + picture-field расширены, сертифицированы загрузкой в 1С. Регресс 39/39 в обоих рантаймах. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
51 lines
2.3 KiB
JSON
51 lines
2.3 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": "Просмотр данных",
|
|
"elements": [
|
|
{ "table": "Данные", "path": "Данные", "changeRowSet": true, "titleLocation": "top", "height": 80, "heightInTableRows": 5, "autofill": true, "multipleChoice": true, "searchOnInput": "Use", "markIncomplete": true,
|
|
"viewStatusLocation": "None", "searchControlLocation": "None",
|
|
"excludedCommands": ["Add", "Delete", "MoveUp", "MoveDown"],
|
|
"commandBar": { "autofill": false, "children": [
|
|
{ "button": "ПанельОбновить", "command": "Обновить", "checked": true }
|
|
]},
|
|
"contextMenu": { "children": [
|
|
{ "buttonGroup": "МенюГруппа", "children": [
|
|
{ "button": "МенюОбновить", "command": "Обновить" }
|
|
]}
|
|
]},
|
|
"columns": [
|
|
{ "input": "Дата", "path": "Данные.Дата", "fixingInTable": "Left" },
|
|
{ "input": "Сумма", "path": "Данные.Сумма" },
|
|
{ "input": "Комментарий", "path": "Данные.Комментарий" }
|
|
]}
|
|
],
|
|
"attributes": [
|
|
{ "name": "Объект", "type": "DataProcessorObject.Таблица", "main": true },
|
|
{ "name": "Данные", "type": "ValueTable", "useAlways": ["Сумма"], "columns": [
|
|
{ "name": "Дата", "type": "date", "useAlways": true },
|
|
{ "name": "Сумма", "type": "decimal(15,2)" },
|
|
{ "name": "Комментарий", "type": "string(200)" },
|
|
{ "name": "Объект", "type": "AnyRef" },
|
|
{ "name": "Источник", "type": "CatalogRef" }
|
|
]}
|
|
],
|
|
"commands": [
|
|
{ "name": "Обновить", "action": "ОбновитьОбработка" }
|
|
]
|
|
}
|
|
}
|