mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-07-20 09:30:59 +03:00
feat(skd-decompile): conditionalAppearance внутри table/chart axis
Build-TableAxisBlock теперь читает <dcsset:conditionalAppearance> блока column/row/point/series. Это типовая категория для table с условным оформлением колонок (например, разный текст для разных групп начислений в строке таблицы). Эффект на sample30: −1026 строк diff. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
da0b326c40
commit
4af51235db
@@ -1,4 +1,4 @@
|
|||||||
# skd-decompile v0.40 — Decompile 1C DCS Template.xml to JSON DSL (draft)
|
# skd-decompile v0.41 — Decompile 1C DCS Template.xml to JSON DSL (draft)
|
||||||
# Source: https://github.com/Nikolay-Shirokov/cc-1c-skills
|
# Source: https://github.com/Nikolay-Shirokov/cc-1c-skills
|
||||||
param(
|
param(
|
||||||
[Parameter(Mandatory)]
|
[Parameter(Mandatory)]
|
||||||
@@ -1752,6 +1752,12 @@ function Build-TableAxisBlock {
|
|||||||
$selItems = Build-Selection -selNode $selNode -loc "$loc/selection"
|
$selItems = Build-Selection -selNode $selNode -loc "$loc/selection"
|
||||||
if ($selItems.Count -gt 0) { $entry['selection'] = $selItems }
|
if ($selItems.Count -gt 0) { $entry['selection'] = $selItems }
|
||||||
}
|
}
|
||||||
|
# conditionalAppearance block
|
||||||
|
$caN = $node.SelectSingleNode("dcsset:conditionalAppearance", $ns)
|
||||||
|
if ($caN) {
|
||||||
|
$ca = Build-ConditionalAppearance -caNode $caN -loc "$loc/ca"
|
||||||
|
if ($ca.Count -gt 0) { $entry['conditionalAppearance'] = $ca }
|
||||||
|
}
|
||||||
# outputParameters block
|
# outputParameters block
|
||||||
$opNode = $node.SelectSingleNode("dcsset:outputParameters", $ns)
|
$opNode = $node.SelectSingleNode("dcsset:outputParameters", $ns)
|
||||||
$op = Build-OutputParameters -opNode $opNode
|
$op = Build-OutputParameters -opNode $opNode
|
||||||
|
|||||||
Reference in New Issue
Block a user