mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-09-02 08:20:49 +03:00
feat(skd-compile): compact AreaTemplate DSL, fix dataPath and presentation fallback
- Fix empty dataPath when field is specified as object { field, title }
- Add title to presentation fallback chain: presentation → title → name
- Add compact DSL for AreaTemplate: rows/widths/style instead of raw XML
- Built-in style presets: header, data, subheader, total
- User-defined presets via skd-styles.json (project-level overrides)
- Support vertical merge ("|"), parameters ("{Name}"), static text, null cells
- Update SKILL.md, skd-dsl-spec.md, skd-guide.md with template DSL docs
- Add examples/skd-styles.json with all supported keys
- Bump version v1.1 → v1.2
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
b9a04b235f
commit
42df4cd6b1
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"header": {
|
||||
"font": "Arial",
|
||||
"fontSize": 10,
|
||||
"bold": false,
|
||||
"italic": false,
|
||||
"hAlign": "Center",
|
||||
"vAlign": "Center",
|
||||
"wrap": true,
|
||||
"bgColor": "style:ReportHeaderBackColor",
|
||||
"textColor": null,
|
||||
"borderColor": "style:ReportLineColor",
|
||||
"borders": true
|
||||
},
|
||||
"data": {
|
||||
"bgColor": "style:ReportGroup1BackColor",
|
||||
"borderColor": "style:ReportLineColor"
|
||||
},
|
||||
"total": {
|
||||
"bold": true,
|
||||
"borderColor": "style:ReportLineColor"
|
||||
},
|
||||
"myProjectStyle": {
|
||||
"bgColor": "#FFE0E0",
|
||||
"textColor": "#990000",
|
||||
"fontSize": 12,
|
||||
"bold": true,
|
||||
"hAlign": "Right"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user