mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-06-12 00:44:57 +03:00
0778cc89ee
- runner.mjs v0.4: --with-validation flag runs validators on real output - postValidate config in 20 _skill.json files (maps skill → validator) - validatePath in ~100 positive test cases - skipValidation for 5 cross-reference cases (isolated workspace limitation) - Integration tests: build-config (19 steps), build-epf (6), build-cfe (4) - base-config cache from build-config for downstream tests - Fix chart-of-calculation-types test data (DependenceOnCalculationTypes) - 285/285 unit + 3/3 integration, all green with validation Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
65 lines
2.0 KiB
JSON
65 lines
2.0 KiB
JSON
{
|
|
"name": "Макет с горизонтальными областями — шапка, строка, итого",
|
|
"input": {
|
|
"columns": 4,
|
|
"defaultWidth": 30,
|
|
"fonts": {
|
|
"default": { "face": "Arial", "size": 10 },
|
|
"bold": { "face": "Arial", "size": 10, "bold": true },
|
|
"header": { "face": "Arial", "size": 14, "bold": true }
|
|
},
|
|
"styles": {
|
|
"header": { "font": "header", "align": "center" },
|
|
"bordered": { "border": "all" },
|
|
"bordered-right": { "border": "all", "align": "right" },
|
|
"total-right": { "font": "bold", "border": "top", "align": "right" }
|
|
},
|
|
"areas": [
|
|
{
|
|
"name": "Заголовок",
|
|
"rows": [
|
|
{ "height": 20, "cells": [
|
|
{ "col": 1, "span": 4, "style": "header", "param": "ТекстЗаголовка" }
|
|
]}
|
|
]
|
|
},
|
|
{
|
|
"name": "ШапкаТаблицы",
|
|
"rows": [
|
|
{ "rowStyle": "bordered", "cells": [
|
|
{ "col": 1, "text": "№" },
|
|
{ "col": 2, "text": "Наименование" },
|
|
{ "col": 3, "text": "Кол-во" },
|
|
{ "col": 4, "text": "Сумма" }
|
|
]}
|
|
]
|
|
},
|
|
{
|
|
"name": "Строка",
|
|
"rows": [
|
|
{ "rowStyle": "bordered", "cells": [
|
|
{ "col": 1, "param": "НомерСтроки" },
|
|
{ "col": 2, "param": "Товар", "detail": "Номенклатура" },
|
|
{ "col": 3, "style": "bordered-right", "param": "Количество" },
|
|
{ "col": 4, "style": "bordered-right", "param": "Сумма" }
|
|
]}
|
|
]
|
|
},
|
|
{
|
|
"name": "Итого",
|
|
"rows": [
|
|
{ "cells": [
|
|
{ "col": 3, "style": "total-right", "text": "Итого:" },
|
|
{ "col": 4, "style": "total-right", "param": "Всего" }
|
|
]}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"params": { "outputPath": "Template.xml" },
|
|
"validatePath": "Template.xml",
|
|
"expect": {
|
|
"files": ["Template.xml"]
|
|
}
|
|
}
|