mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-07-30 08:26:55 +03:00
feat(skd-compile): conditionalAppearance внутри table/chart axis
Колонки/строки таблицы и оси диаграммы (column/row/point/series) могут содержать собственный <dcsset:conditionalAppearance> — правила оформления специфичные для этой оси. Emit-TableAxisBlock теперь его эмитит между outputParameters и nested children. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
65a2b5870d
commit
da0b326c40
@@ -1,4 +1,4 @@
|
|||||||
# skd-compile v1.55 — Compile 1C DCS from JSON
|
# skd-compile v1.56 — Compile 1C DCS from JSON
|
||||||
# Source: https://github.com/Nikolay-Shirokov/cc-1c-skills
|
# Source: https://github.com/Nikolay-Shirokov/cc-1c-skills
|
||||||
param(
|
param(
|
||||||
[string]$DefinitionFile,
|
[string]$DefinitionFile,
|
||||||
@@ -2574,6 +2574,9 @@ function Emit-TableAxisBlock {
|
|||||||
if ($block.selection) {
|
if ($block.selection) {
|
||||||
Emit-Selection -items $block.selection -indent $indent
|
Emit-Selection -items $block.selection -indent $indent
|
||||||
}
|
}
|
||||||
|
if ($block.conditionalAppearance) {
|
||||||
|
Emit-ConditionalAppearance -items $block.conditionalAppearance -indent $indent
|
||||||
|
}
|
||||||
if ($block.outputParameters) {
|
if ($block.outputParameters) {
|
||||||
Emit-OutputParameters -params $block.outputParameters -indent $indent
|
Emit-OutputParameters -params $block.outputParameters -indent $indent
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
# skd-compile v1.55 — Compile 1C DCS from JSON
|
# skd-compile v1.56 — Compile 1C DCS from JSON
|
||||||
# Source: https://github.com/Nikolay-Shirokov/cc-1c-skills
|
# Source: https://github.com/Nikolay-Shirokov/cc-1c-skills
|
||||||
import argparse
|
import argparse
|
||||||
import json
|
import json
|
||||||
@@ -2137,6 +2137,8 @@ def emit_table_axis_block(lines, block, indent, emit_name=True):
|
|||||||
emit_order(lines, block['order'], indent)
|
emit_order(lines, block['order'], indent)
|
||||||
if block.get('selection'):
|
if block.get('selection'):
|
||||||
emit_selection(lines, block['selection'], indent)
|
emit_selection(lines, block['selection'], indent)
|
||||||
|
if block.get('conditionalAppearance'):
|
||||||
|
emit_conditional_appearance(lines, block['conditionalAppearance'], indent)
|
||||||
if block.get('outputParameters'):
|
if block.get('outputParameters'):
|
||||||
emit_output_parameters(lines, block['outputParameters'], indent)
|
emit_output_parameters(lines, block['outputParameters'], indent)
|
||||||
# nested children (StructureItemGroup внутри table row/column или chart axis)
|
# nested children (StructureItemGroup внутри table row/column или chart axis)
|
||||||
|
|||||||
Reference in New Issue
Block a user