mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-07-19 17:19:42 +03:00
feat(form-decompile,form-compile): поля диаграмм из ring-3 (Chart/Gantt/GraphicalSchema/Planner/Period/Dendrogram)
Снят fast-fail на 6 chart-полях. Все — простые скелеты (как document/gauge), кроме GanttChart с вложенной <Table> (ключ ganttTable, переиспользует Decompile/Emit-Element — устранена коллизия тип-ключа table). Типы реквизитов уже в special-type ns-карте (d5p1:Chart/GanttChart/FlowchartContextType/ GeographicalSchema, pl:Planner) + v8:StandardPeriod. Edit/WarningOnEditRepresentation у GraphicalSchema — через готовые GENERIC_SCALARS. Guard: реквизит с design-time конфигом диаграммы/планировщика (<Settings xsi:type="d4p1:GanttChart"/"pl:Planner"/…> — третий вид Settings после TypeDescription/DynamicList) → честный fail-ring3 (не теряем молча). Planner несёт Settings всегда; Chart/Gantt — при настройке. Поля без Settings (диаграмма из кода/график-схема/период/дендрограмма/гео) роундтрипятся полностью. Выборка 2.17: ring3 4→0 (весь ring3 разобран!). Кейс chart-fields (chart+graphicalSchema+period+ganttChart с ganttTable) сертифицирован в 1С. Зеркало py байт-в-байт. Регресс 41/41 (ps1+py). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"name": "Форма с полями диаграмм (без design-time Settings)",
|
||||
"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": [
|
||||
{ "chart": "Диаграмма", "path": "Диаграмма", "titleLocation": "none" },
|
||||
{ "graphicalSchema": "Схема", "path": "Схема", "titleLocation": "none", "edit": false },
|
||||
{ "periodField": "Период", "path": "Период", "titleLocation": "none" },
|
||||
{ "ganttChart": "Ганта", "path": "Ганта", "titleLocation": "none",
|
||||
"ganttTable": { "table": "ТаблицаГанта", "path": "Ганта", "height": 3 } }
|
||||
],
|
||||
"attributes": [
|
||||
{ "name": "Объект", "type": "DataProcessorObject.Диаграммы", "main": true },
|
||||
{ "name": "Диаграмма", "type": "d5p1:Chart" },
|
||||
{ "name": "Схема", "type": "d5p1:FlowchartContextType" },
|
||||
{ "name": "Период", "type": "v8:StandardPeriod" },
|
||||
{ "name": "Ганта", "type": "d5p1:GanttChart" }
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user