mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-07-20 09:30:59 +03:00
feat(form-compile): группировка колонок таблицы (ColumnGroup)
Новый DSL-ключ columnGroup со значением-ориентацией horizontal/vertical/inCell для элемента <ColumnGroup> внутри columns таблицы. Поддерживает вложение, showTitle/showInHeader/width, тихие синонимы ColumnGroup и ГруппаКолонок. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
f3466e19fd
commit
4f9d9aee97
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"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": "Список", "columns": [
|
||||
{ "input": "Наименование", "path": "Список.Наименование" },
|
||||
{ "columnGroup": "horizontal", "name": "ГруппаСрок", "title": "Срок", "children": [
|
||||
{ "input": "ДатаНачала", "path": "Список.ДатаНачала" },
|
||||
{ "input": "ДатаОкончания", "path": "Список.ДатаОкончания" }
|
||||
]},
|
||||
{ "columnGroup": "inCell", "name": "ГруппаИсполнитель", "showInHeader": true, "children": [
|
||||
{ "input": "Исполнитель", "path": "Список.Исполнитель" }
|
||||
]}
|
||||
]}
|
||||
],
|
||||
"attributes": [
|
||||
{ "name": "Объект", "type": "DataProcessorObject.Задачи", "main": true },
|
||||
{ "name": "Список", "type": "ValueTable", "columns": [
|
||||
{ "name": "Наименование", "type": "string(150)" },
|
||||
{ "name": "ДатаНачала", "type": "date" },
|
||||
{ "name": "ДатаОкончания", "type": "date" },
|
||||
{ "name": "Исполнитель", "type": "string(100)" }
|
||||
]}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user