mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-08-01 17:27:45 +03:00
- 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>
31 lines
628 B
JSON
31 lines
628 B
JSON
{
|
|
"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"
|
|
}
|
|
}
|