mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-07-27 07:01:02 +03:00
feat(meta-compile,meta-decompile): поддержка типов Constant + DefinedType (v1.53/v0.44)
16-й/17-й типы, 2692 объекта acc+erp. ПОЛНЫЙ КОРПУС 2692/2692 match, TOTAL 0 — byte-exact order-preserved. Регресс 54/54 ps1+py, ps1==py identical. - Constant — «богатый одиночный реквизит»: рерайт Emit-ConstantProperties на общие leaf-хелперы (Emit-MinMaxValue/ChoiceParameterLinks/ChoiceParameters/LinkByType/MLText), был легаси-хардкод всех свойств. Декомпилятор: захват valueType + свойств значения (passwordMode/format/tooltip/mask/min-maxValue/fillChecking/choiceFoldersAndItems/ choiceParameter*/quickChoice[enum]/choiceForm/linkByType) + object-уровень. QuickChoice у Constant — ENUM (Auto), не bool → гард общего bool-хендлера. - DefinedType — тип-псевдоним: рерайт Emit-DefinedTypeProperties на единый Emit-ValueType (был дубль-эмиттер типа; составной через ' + '). Декомпилятор: valueType. - Class-2: Constant DataLockControlMode Automatic→Managed (корпус 965/78). - Общий фикс: cfg_object_kinds +ConstantValue — тип ConstantValueManager.X (менеджер значения константы, 321) терял cfg:-префикс (regex greedy бил ConstantValue+Manager). Дефолт UseStandardCommands true (как Report/DataProcessor). spec §7.4/§7.7, кейсы constant-full/defined-type-full. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
55f8ece404
commit
a13538cd16
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"name": "Константа — полный набор возможностей",
|
||||
"input": {
|
||||
"type": "Constant",
|
||||
"name": "СтавкаНДС",
|
||||
"comment": "(Демо)",
|
||||
"valueType": "Number(15,2,nonneg)",
|
||||
"useStandardCommands": false,
|
||||
"dataLockControlMode": "Automatic",
|
||||
"format": { "ru": "ЧДЦ=2", "en": "NFD=2" },
|
||||
"tooltip": "Основная ставка",
|
||||
"minValue": 0,
|
||||
"maxValue": 100,
|
||||
"fillChecking": "ShowError"
|
||||
},
|
||||
"validatePath": "Constants/СтавкаНДС",
|
||||
"expect": {
|
||||
"files": ["Constants/СтавкаНДС.xml"]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user