mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-07-17 00:05:17 +03:00
20adf4f463
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>
40 lines
1.5 KiB
JSON
40 lines
1.5 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": "Форма" }
|
|
},
|
|
{
|
|
"script": "form-compile/scripts/form-compile",
|
|
"input": {
|
|
"title": "Группа",
|
|
"attributes": [{ "name": "Объект", "type": "DataProcessorObject.Группа", "main": true }],
|
|
"elements": [
|
|
{ "input": "Поле1", "path": "Поле1", "title": "Существующее поле" }
|
|
]
|
|
},
|
|
"args": { "-JsonPath": "{inputFile}", "-OutputPath": "{workDir}/DataProcessors/Группа/Forms/Форма/Ext/Form.xml" }
|
|
}
|
|
],
|
|
"params": { "formPath": "DataProcessors/Группа/Forms/Форма/Ext/Form.xml" },
|
|
"skipValidation": true,
|
|
"input": {
|
|
"elements": [
|
|
{ "group": "horizontal", "name": "ГруппаНовая", "title": "Новая группа", "showTitle": true, "children": [
|
|
{ "input": "Поле2", "path": "Поле2", "title": "Поле 2" },
|
|
{ "input": "Поле3", "path": "Поле3", "title": "Поле 3" }
|
|
]}
|
|
],
|
|
"attributes": [
|
|
{ "name": "Поле2", "type": "string" },
|
|
{ "name": "Поле3", "type": "decimal(10,2)" }
|
|
]
|
|
}
|
|
}
|