mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-07-23 13:11:05 +03:00
feat(form-decompile,form-compile): геометрия/layout единым хелпером (кластер E)
- compiler PS1+PY: общий Emit-Layout/emit_layout (width/height/stretch/maxWidth/ maxHeight/autoMax*/skipOnInput/groupHorizontalAlign/groupVerticalAlign/ horizontalAlign), вызывается во всех эмиттерах; inline-дубли убраны. Спец-квирки сохранены (input multiLine→autoMaxWidth, table height→HeightInTableRows). - PictureDecoration LoadTransparent больше не захардкожен true — управляется loadTransparent (дефолт false). - decompiler: Add-Layout (DRY, один вызов на элемент), table HeightInTableRows, picture loadTransparent. - docs/form-dsl-spec: блок общих layout-свойств (4.1a), loadTransparent у picture. - tests: groups расширен layout-свойствами (+snapshot, сертифицирован в 1С). Churn снапшотов нулевой. АварийныйРежим: LOST полностью закрыт (остаток — над-генерация). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
67eaa1c3c8
commit
e777ded8d2
@@ -17,9 +17,10 @@
|
||||
"title": "Группы",
|
||||
"elements": [
|
||||
{ "cmdBar": "КоманднаяПанель", "autofill": true },
|
||||
{ "group": "horizontal", "name": "ГруппаШапка", "showTitle": true, "title": "Шапка", "children": [
|
||||
{ "input": "Поле1", "path": "Поле1", "title": "Поле 1" },
|
||||
{ "input": "Поле2", "path": "Поле2", "title": "Поле 2" }
|
||||
{ "group": "horizontal", "name": "ГруппаШапка", "showTitle": true, "title": "Шапка", "horizontalStretch": true, "groupHorizontalAlign": "Right", "children": [
|
||||
{ "input": "Поле1", "path": "Поле1", "title": "Поле 1", "width": 20, "skipOnInput": true },
|
||||
{ "input": "Поле2", "path": "Поле2", "title": "Поле 2" },
|
||||
{ "labelField": "Метка", "path": "Поле1", "groupVerticalAlign": "Center" }
|
||||
]},
|
||||
{ "group": "vertical", "name": "ГруппаПодвал", "children": [
|
||||
{ "input": "Поле3", "path": "Поле3", "title": "Поле 3" }
|
||||
|
||||
Reference in New Issue
Block a user