mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-07-30 08:26:55 +03:00
docs(form-compile): задокументировать controlRepresentation для свёрнутых групп
Свойство «Отображение управления» (TitleHyperlink/Picture) уже эмитилось через generic-скаляры, но не было в таблице свойств группы SKILL.md; в спеке значилось неверное `Picture | Text`. Добавлен фокус-кейс с обоими литералами, снапшот верифицирован загрузкой в 1С 8.3.24. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
9856fd5180
commit
86cddc8ec3
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"name": "Свёрнутые группы: отображение управления (Picture / TitleHyperlink)",
|
||||
"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": [
|
||||
{ "group": "vertical", "name": "ГруппаКартинка", "behavior": "collapsible", "title": "Картинка", "controlRepresentation": "Picture", "children": [
|
||||
{ "input": "Поле1", "path": "Поле1", "title": "Поле 1" }
|
||||
]},
|
||||
{ "group": "vertical", "name": "ГруппаГиперссылка", "behavior": "collapsible", "collapsed": true, "title": "Гиперссылка заголовка", "controlRepresentation": "TitleHyperlink", "children": [
|
||||
{ "input": "Поле2", "path": "Поле2", "title": "Поле 2" }
|
||||
]}
|
||||
],
|
||||
"attributes": [
|
||||
{ "name": "Объект", "type": "DataProcessorObject.КонтрольСвёртки", "main": true },
|
||||
{ "name": "Поле1", "type": "string" },
|
||||
{ "name": "Поле2", "type": "string" }
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user