mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-06-15 10:24:57 +03:00
e16b23968e
Добивка длинного хвоста, раскрытого при выводе CommandInterface из ring-3. Generic-скаляры (обе стороны,+py): titleDataPath (Page/Group динамический заголовок, 1723; парный к footerDataPath), extendedEdit (input, 3400), maxRowsCount/autoMaxRowsCount/heightControlVariant (Table высота), editTextUpdate (input enum, 739). ML-текст: warningOnEdit (input, 641), footerText (input, 269), nonselectedPictureText (picField, 265). Фикс markIncomplete → фактическое значение (AutoMarkIncomplete true/false; раньше только true, 1170 false терялись на input+table). Выборка 2.17: TOTAL 95→38, match 197→209, diff 6→4. Остаток (отложено в BACKLOG): dcssch:valueType/name манглинг типов полей дин-списка (отдельная подсистема), LabelDecoration title-пробел, GroupList (не покрываем). Кейсы input-fields/table/pages расширены и сертифицированы в 1С. Регресс 40/40. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
51 lines
2.5 KiB
JSON
51 lines
2.5 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, "settingsNamedItemDetailedRepresentation": false, "heightControlVariant": "UseHeightInTableRows", "maxRowsCount": 5, "autoMaxRowsCount": false,
|
|
"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": "ОбновитьОбработка", "currentRowUse": "Use", "table": "Данные" }
|
|
]
|
|
}
|
|
}
|