mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-07-13 14:25:17 +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>
36 lines
2.1 KiB
JSON
36 lines
2.1 KiB
JSON
{
|
|
"name": "Таблица с колонкой-картинкой (PictureField + ValuesPicture + Selection)",
|
|
"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": "ТаблицаДанных",
|
|
"on": ["Selection"], "handlers": { "Selection": "ТаблицаДанныхВыбор" },
|
|
"columns": [
|
|
{ "input": "ТаблицаДанныхНоменклатура", "path": "ТаблицаДанных.Номенклатура" },
|
|
{ "picField": "ТаблицаДанныхКартинка", "path": "ТаблицаДанных.Картинка", "titleLocation": "none", "editMode": "EnterOnInput", "hyperlink": true, "shortcut": "Ctrl+S", "headerPicture": "StdPicture.ExecuteTask", "valuesPicture": { "src": "StdPicture.FilterCriterion", "loadTransparent": true } },
|
|
{ "check": "ТаблицаДанныхКартинкаФлаг", "path": "ТаблицаДанных.Картинка", "title": "Флаг", "headerPicture": { "src": "StdPicture.ClearFilter", "loadTransparent": true } }
|
|
]}
|
|
],
|
|
"attributes": [
|
|
{ "name": "Объект", "type": "DataProcessorObject.КартинкаВСтроке", "main": true },
|
|
{ "name": "ТаблицаДанных", "type": "ValueTable", "title": "Таблица данных", "columns": [
|
|
{ "name": "Номенклатура", "type": "string(10)" },
|
|
{ "name": "Картинка", "type": "boolean" }
|
|
]}
|
|
]
|
|
}
|
|
}
|