mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-07-24 05:31:02 +03:00
feat(meta-edit): структурные свойства реквизита Format/EditFormat/ToolTip/ChoiceForm (Фаза 2 Шаг 2, v1.13)
modify-attribute/-dimension/-resource теперь умеют задавать структурные свойства реквизита (не только скаляры): Format/EditFormat/ToolTip (ML-строки через существующий Build-MLTextXml) + ChoiceForm. Ветки-диспетчеры в switch перед default, по образцу ветки type (replace-or-create). Отсутствующее свойство создаётся в канонической позиции (Insert-PropertyInOrder из Шага 1). Ключи — PascalCase XML-имена (консистентно с существующей modify-конвенцией CodeLength/Indexing). Побочный фикс: Set-AttrPropertyElement (ps1) через InsertBefore+RemoveChild вместо InsertAfter+Remove-NodeWithWhitespace — последний склеивал (</PasswordMode><Format>), т.к. в XmlDocument ведущий whitespace — отдельный узел; py (tail-модель) был корректен. Cert: verify-snapshots --case modify-attribute-structural — Format/EditFormat/ToolTip/ ChoiceForm (с реальной формой через form-add preRun) грузятся в 1С. meta-edit 14/14 ps1+py; byte-паритет ps1==py (после нормализации раннера). 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
0e68421f50
commit
c31cff5ada
+18
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ClientApplicationInterface xmlns="http://v8.1c.ru/8.2/managed-application/core" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="InterfaceLayouter">
|
||||
<top>
|
||||
<panel id="UUID-001">
|
||||
<uuid>UUID-002</uuid>
|
||||
</panel>
|
||||
</top>
|
||||
<left>
|
||||
<panel id="UUID-003">
|
||||
<uuid>UUID-004</uuid>
|
||||
</panel>
|
||||
</left>
|
||||
<panelDef id="UUID-004"/>
|
||||
<panelDef id="UUID-005"/>
|
||||
<panelDef id="UUID-006"/>
|
||||
<panelDef id="UUID-002"/>
|
||||
<panelDef id="UUID-007"/>
|
||||
</ClientApplicationInterface>
|
||||
Reference in New Issue
Block a user