Files
cc-1c-skills/tests/skills/cases/form-compile/events.json
T
Nick Shirokov 20adf4f463 fix(tests): correct ExternalDataProcessorObject→DataProcessorObject in config-context DSLs
Fix test DSLs that used ExternalDataProcessorObject (EPF type) for
DataProcessors inside configurations. Also fix: chart-of-accounts
(remove maxExtDimensionCount without ПВХТ), calculation-register
(remove actionPeriod without infrastructure), document-multiple-tabparts
(remove registerRecords referencing non-existent register),
role-compile/explicit-rights (add dimensions to empty InformationRegister).

Regenerated all affected snapshots.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 20:10:49 +03:00

31 lines
1.4 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" },
"validatePath": "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": "DataProcessorObject.События", "main": true },
{ "name": "Организация", "type": "string" },
{ "name": "Период", "type": "date" }
]
}
}