Files
cc-1c-skills/tests/skills/cases/form-compile/events.json
T
Nick Shirokov a1b3fdd4e2 feat: deepen skill test coverage — 52 → 247 cases across all 43 skills
Add 195 new test cases covering examples from SKILL.md, edge cases,
and parameter combinations. Create _skill.json for form-edit, skd-edit,
subsystem-edit. Add fixtures for negative validate cases. Fix
normalizeUuids in meta-validate/meta-info configs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 15:38:06 +03:00

30 lines
1.3 KiB
JSON

{
"name": "Форма с событиями формы и элементов",
"preRun": [
{
"script": "meta-compile/scripts/meta-compile",
"input": { "type": "DataProcessor", "name": "События" },
"args": { "-JsonPath": "{inputFile}", "-OutputDir": "{workDir}" }
},
{
"script": "form-add/scripts/form-add",
"args": { "-ObjectPath": "{workDir}/DataProcessors/События.xml", "-FormName": "Форма" }
}
],
"params": { "outputPath": "DataProcessors/События/Forms/Форма/Ext/Form.xml" },
"input": {
"title": "События",
"events": { "OnCreateAtServer": "ПриСозданииНаСервере", "OnOpen": "ПриОткрытии" },
"elements": [
{ "input": "Организация", "path": "Организация", "on": ["OnChange", "StartChoice"] },
{ "input": "Период", "path": "Период", "handlers": { "OnChange": "ПериодПриИзменении" } },
{ "label": "Подсказка", "title": "Нажмите для перехода", "hyperlink": true, "on": ["Click"] }
],
"attributes": [
{ "name": "Объект", "type": "ExternalDataProcessorObject.События", "main": true },
{ "name": "Организация", "type": "string" },
{ "name": "Период", "type": "date" }
]
}
}