mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-06-14 18:04:58 +03:00
feat(cf-init): генерить Ext/ClientApplicationInterface.xml с ERP-дефолтом
Без этого файла веб-клиент 1С рендерит секции icon-only (без подписей), а web-test их не видит. Дефолтная раскладка как в типовых ERP/БП ≥ 8.3.24: панель открытых сверху, панель разделов слева; функций/избранного/истории объявлены через panelDef но не размещены. Расширил docs/1c-configuration-spec.md § 4.2 моделью раскладки и таблицей UUID 5 платформенных панелей. Обновил снапшоты cf-init под новый файл. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,13 @@
|
||||
{
|
||||
"name": "Пустая конфигурация",
|
||||
"params": { "name": "ТестоваяКонфигурация" },
|
||||
"params": {
|
||||
"name": "ТестоваяКонфигурация"
|
||||
},
|
||||
"expect": {
|
||||
"files": ["Configuration.xml", "Languages/Русский.xml"]
|
||||
"files": [
|
||||
"Configuration.xml",
|
||||
"Languages/Русский.xml",
|
||||
"Ext/ClientApplicationInterface.xml"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,13 @@
|
||||
{
|
||||
"name": "Минимальная конфигурация (только имя)",
|
||||
"params": { "name": "МинКонф" },
|
||||
"params": {
|
||||
"name": "МинКонф"
|
||||
},
|
||||
"expect": {
|
||||
"files": ["Configuration.xml", "Languages/Русский.xml"]
|
||||
"files": [
|
||||
"Configuration.xml",
|
||||
"Languages/Русский.xml",
|
||||
"Ext/ClientApplicationInterface.xml"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
+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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -1,8 +1,17 @@
|
||||
{
|
||||
"name": "Конфигурация с CompatibilityMode",
|
||||
"params": { "name": "ТестСовместимость" },
|
||||
"args_extra": ["-CompatibilityMode", "Version8_3_17"],
|
||||
"params": {
|
||||
"name": "ТестСовместимость"
|
||||
},
|
||||
"args_extra": [
|
||||
"-CompatibilityMode",
|
||||
"Version8_3_17"
|
||||
],
|
||||
"expect": {
|
||||
"files": ["Configuration.xml", "Languages/Русский.xml"]
|
||||
"files": [
|
||||
"Configuration.xml",
|
||||
"Languages/Русский.xml",
|
||||
"Ext/ClientApplicationInterface.xml"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,9 +1,18 @@
|
||||
{
|
||||
"name": "Конфигурация с синонимом",
|
||||
"params": { "name": "ТестСиноним" },
|
||||
"args_extra": ["-Synonym", "Тестовый синоним конфигурации"],
|
||||
"params": {
|
||||
"name": "ТестСиноним"
|
||||
},
|
||||
"args_extra": [
|
||||
"-Synonym",
|
||||
"Тестовый синоним конфигурации"
|
||||
],
|
||||
"expect": {
|
||||
"files": ["Configuration.xml", "Languages/Русский.xml"],
|
||||
"files": [
|
||||
"Configuration.xml",
|
||||
"Languages/Русский.xml",
|
||||
"Ext/ClientApplicationInterface.xml"
|
||||
],
|
||||
"stdoutContains": "ТестСиноним"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,9 +1,20 @@
|
||||
{
|
||||
"name": "Конфигурация с поставщиком и версией",
|
||||
"params": { "name": "Бухгалтерия" },
|
||||
"args_extra": ["-Vendor", "Тест", "-Version", "2.0.1"],
|
||||
"params": {
|
||||
"name": "Бухгалтерия"
|
||||
},
|
||||
"args_extra": [
|
||||
"-Vendor",
|
||||
"Тест",
|
||||
"-Version",
|
||||
"2.0.1"
|
||||
],
|
||||
"expect": {
|
||||
"files": ["Configuration.xml", "Languages/Русский.xml"],
|
||||
"files": [
|
||||
"Configuration.xml",
|
||||
"Languages/Русский.xml",
|
||||
"Ext/ClientApplicationInterface.xml"
|
||||
],
|
||||
"stdoutContains": "Бухгалтерия"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user