mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-06-16 10:43:18 +03:00
a1b3fdd4e2
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>
30 lines
1.3 KiB
JSON
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" }
|
|
]
|
|
}
|
|
}
|