mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-07-16 07:45:17 +03:00
bbed308c85
Для filter right values с типом dcscor:DesignTimeValue, чьё значение соответствует ref-pattern (Перечисление.X.Y / Справочник.X.Y / ПланСчетов.X.Y и др.), compile auto-detect-ит DesignTimeValue из значения. Раньше decompile всё равно сохранял valueType явно — лишний шум в DSL. Применено к single-right и multi-right. Эффект на diff нулевой (compile эмитит то же самое), но decompiled JSON становится компактнее и читабельнее.
223 lines
10 KiB
XML
223 lines
10 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<DataCompositionSchema xmlns="http://v8.1c.ru/8.1/data-composition-system/schema" xmlns:dcscom="http://v8.1c.ru/8.1/data-composition-system/common" xmlns:dcscor="http://v8.1c.ru/8.1/data-composition-system/core" xmlns:dcsset="http://v8.1c.ru/8.1/data-composition-system/settings" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
<dataSource>
|
|
<name>ИсточникДанных1</name>
|
|
<dataSourceType>Local</dataSourceType>
|
|
</dataSource>
|
|
<dataSet xsi:type="DataSetQuery">
|
|
<name>Тест</name>
|
|
<field xsi:type="DataSetFieldField">
|
|
<dataPath>Поле</dataPath>
|
|
<field>Поле</field>
|
|
<valueType>
|
|
<v8:Type>xs:string</v8:Type>
|
|
<v8:StringQualifiers>
|
|
<v8:Length>0</v8:Length>
|
|
<v8:AllowedLength>Variable</v8:AllowedLength>
|
|
</v8:StringQualifiers>
|
|
</valueType>
|
|
</field>
|
|
<dataSource>ИсточникДанных1</dataSource>
|
|
<query>ВЫБРАТЬ * ИЗ Справочник.Сотрудники</query>
|
|
</dataSet>
|
|
<template>
|
|
<name>СмешанныйМакет</name>
|
|
<template xmlns:dcsat="http://v8.1c.ru/8.1/data-composition-system/area-template" xsi:type="dcsat:AreaTemplate">
|
|
<dcsat:item xsi:type="dcsat:TableRow">
|
|
<dcsat:tableCell>
|
|
<dcsat:item xsi:type="dcsat:Field">
|
|
<dcsat:value xsi:type="v8:LocalStringType">
|
|
<v8:item>
|
|
<v8:lang>ru</v8:lang>
|
|
<v8:content>A</v8:content>
|
|
</v8:item>
|
|
</dcsat:value>
|
|
</dcsat:item>
|
|
<dcsat:appearance>
|
|
<dcscor:item>
|
|
<dcscor:parameter>ЦветФона</dcscor:parameter>
|
|
<dcscor:value xmlns:d8p1="http://v8.1c.ru/8.1/data/ui/style" xsi:type="v8ui:Color">d8p1:ReportGroup1BackColor</dcscor:value>
|
|
</dcscor:item>
|
|
<dcscor:item>
|
|
<dcscor:parameter>ЦветГраницы</dcscor:parameter>
|
|
<dcscor:value xmlns:d8p1="http://v8.1c.ru/8.1/data/ui/style" xsi:type="v8ui:Color">d8p1:ReportLineColor</dcscor:value>
|
|
</dcscor:item>
|
|
<dcscor:item>
|
|
<dcscor:parameter>СтильГраницы</dcscor:parameter>
|
|
<dcscor:value xsi:type="v8ui:Line" width="0" gap="false">
|
|
<v8ui:style xsi:type="v8ui:SpreadsheetDocumentCellLineType">None</v8ui:style>
|
|
</dcscor:value>
|
|
<dcscor:item>
|
|
<dcscor:parameter>СтильГраницы.Слева</dcscor:parameter>
|
|
<dcscor:value xsi:type="v8ui:Line" width="1" gap="false">
|
|
<v8ui:style xsi:type="v8ui:SpreadsheetDocumentCellLineType">Solid</v8ui:style>
|
|
</dcscor:value>
|
|
</dcscor:item>
|
|
<dcscor:item>
|
|
<dcscor:parameter>СтильГраницы.Сверху</dcscor:parameter>
|
|
<dcscor:value xsi:type="v8ui:Line" width="1" gap="false">
|
|
<v8ui:style xsi:type="v8ui:SpreadsheetDocumentCellLineType">Solid</v8ui:style>
|
|
</dcscor:value>
|
|
</dcscor:item>
|
|
<dcscor:item>
|
|
<dcscor:parameter>СтильГраницы.Справа</dcscor:parameter>
|
|
<dcscor:value xsi:type="v8ui:Line" width="1" gap="false">
|
|
<v8ui:style xsi:type="v8ui:SpreadsheetDocumentCellLineType">Solid</v8ui:style>
|
|
</dcscor:value>
|
|
</dcscor:item>
|
|
<dcscor:item>
|
|
<dcscor:parameter>СтильГраницы.Снизу</dcscor:parameter>
|
|
<dcscor:value xsi:type="v8ui:Line" width="1" gap="false">
|
|
<v8ui:style xsi:type="v8ui:SpreadsheetDocumentCellLineType">Solid</v8ui:style>
|
|
</dcscor:value>
|
|
</dcscor:item>
|
|
</dcscor:item>
|
|
<dcscor:item>
|
|
<dcscor:parameter>Шрифт</dcscor:parameter>
|
|
<dcscor:value xsi:type="v8ui:Font" faceName="Arial" height="10" bold="false" italic="false" underline="false" strikeout="false" kind="Absolute" scale="100"/>
|
|
</dcscor:item>
|
|
</dcsat:appearance>
|
|
</dcsat:tableCell>
|
|
<dcsat:tableCell>
|
|
<dcsat:item xsi:type="dcsat:Field">
|
|
<dcsat:value xsi:type="v8:LocalStringType">
|
|
<v8:item>
|
|
<v8:lang>ru</v8:lang>
|
|
<v8:content>B</v8:content>
|
|
</v8:item>
|
|
</dcsat:value>
|
|
</dcsat:item>
|
|
<dcsat:appearance>
|
|
<dcscor:item>
|
|
<dcscor:parameter>ЦветФона</dcscor:parameter>
|
|
<dcscor:value xmlns:d8p1="http://v8.1c.ru/8.1/data/ui/style" xsi:type="v8ui:Color">d8p1:ReportHeaderBackColor</dcscor:value>
|
|
</dcscor:item>
|
|
<dcscor:item>
|
|
<dcscor:parameter>ЦветГраницы</dcscor:parameter>
|
|
<dcscor:value xmlns:d8p1="http://v8.1c.ru/8.1/data/ui/style" xsi:type="v8ui:Color">d8p1:ReportLineColor</dcscor:value>
|
|
</dcscor:item>
|
|
<dcscor:item>
|
|
<dcscor:parameter>СтильГраницы</dcscor:parameter>
|
|
<dcscor:value xsi:type="v8ui:Line" width="0" gap="false">
|
|
<v8ui:style xsi:type="v8ui:SpreadsheetDocumentCellLineType">None</v8ui:style>
|
|
</dcscor:value>
|
|
<dcscor:item>
|
|
<dcscor:parameter>СтильГраницы.Слева</dcscor:parameter>
|
|
<dcscor:value xsi:type="v8ui:Line" width="1" gap="false">
|
|
<v8ui:style xsi:type="v8ui:SpreadsheetDocumentCellLineType">Solid</v8ui:style>
|
|
</dcscor:value>
|
|
</dcscor:item>
|
|
<dcscor:item>
|
|
<dcscor:parameter>СтильГраницы.Сверху</dcscor:parameter>
|
|
<dcscor:value xsi:type="v8ui:Line" width="1" gap="false">
|
|
<v8ui:style xsi:type="v8ui:SpreadsheetDocumentCellLineType">Solid</v8ui:style>
|
|
</dcscor:value>
|
|
</dcscor:item>
|
|
<dcscor:item>
|
|
<dcscor:parameter>СтильГраницы.Справа</dcscor:parameter>
|
|
<dcscor:value xsi:type="v8ui:Line" width="1" gap="false">
|
|
<v8ui:style xsi:type="v8ui:SpreadsheetDocumentCellLineType">Solid</v8ui:style>
|
|
</dcscor:value>
|
|
</dcscor:item>
|
|
<dcscor:item>
|
|
<dcscor:parameter>СтильГраницы.Снизу</dcscor:parameter>
|
|
<dcscor:value xsi:type="v8ui:Line" width="1" gap="false">
|
|
<v8ui:style xsi:type="v8ui:SpreadsheetDocumentCellLineType">Solid</v8ui:style>
|
|
</dcscor:value>
|
|
</dcscor:item>
|
|
</dcscor:item>
|
|
<dcscor:item>
|
|
<dcscor:parameter>Шрифт</dcscor:parameter>
|
|
<dcscor:value xsi:type="v8ui:Font" faceName="Arial" height="10" bold="false" italic="false" underline="false" strikeout="false" kind="Absolute" scale="100"/>
|
|
</dcscor:item>
|
|
<dcscor:item>
|
|
<dcscor:parameter>ГоризонтальноеПоложение</dcscor:parameter>
|
|
<dcscor:value xsi:type="v8ui:HorizontalAlign">Center</dcscor:value>
|
|
</dcscor:item>
|
|
<dcscor:item>
|
|
<dcscor:parameter>Размещение</dcscor:parameter>
|
|
<dcscor:value xsi:type="dcscor:DataCompositionTextPlacementType">Wrap</dcscor:value>
|
|
</dcscor:item>
|
|
</dcsat:appearance>
|
|
</dcsat:tableCell>
|
|
<dcsat:tableCell>
|
|
<dcsat:item xsi:type="dcsat:Field">
|
|
<dcsat:value xsi:type="v8:LocalStringType">
|
|
<v8:item>
|
|
<v8:lang>ru</v8:lang>
|
|
<v8:content>C</v8:content>
|
|
</v8:item>
|
|
</dcsat:value>
|
|
</dcsat:item>
|
|
<dcsat:appearance>
|
|
<dcscor:item>
|
|
<dcscor:parameter>ЦветФона</dcscor:parameter>
|
|
<dcscor:value xmlns:d8p1="http://v8.1c.ru/8.1/data/ui/style" xsi:type="v8ui:Color">d8p1:ReportGroup1BackColor</dcscor:value>
|
|
</dcscor:item>
|
|
<dcscor:item>
|
|
<dcscor:parameter>ЦветГраницы</dcscor:parameter>
|
|
<dcscor:value xmlns:d8p1="http://v8.1c.ru/8.1/data/ui/style" xsi:type="v8ui:Color">d8p1:ReportLineColor</dcscor:value>
|
|
</dcscor:item>
|
|
<dcscor:item>
|
|
<dcscor:parameter>СтильГраницы</dcscor:parameter>
|
|
<dcscor:value xsi:type="v8ui:Line" width="0" gap="false">
|
|
<v8ui:style xsi:type="v8ui:SpreadsheetDocumentCellLineType">None</v8ui:style>
|
|
</dcscor:value>
|
|
<dcscor:item>
|
|
<dcscor:parameter>СтильГраницы.Слева</dcscor:parameter>
|
|
<dcscor:value xsi:type="v8ui:Line" width="1" gap="false">
|
|
<v8ui:style xsi:type="v8ui:SpreadsheetDocumentCellLineType">Solid</v8ui:style>
|
|
</dcscor:value>
|
|
</dcscor:item>
|
|
<dcscor:item>
|
|
<dcscor:parameter>СтильГраницы.Сверху</dcscor:parameter>
|
|
<dcscor:value xsi:type="v8ui:Line" width="1" gap="false">
|
|
<v8ui:style xsi:type="v8ui:SpreadsheetDocumentCellLineType">Solid</v8ui:style>
|
|
</dcscor:value>
|
|
</dcscor:item>
|
|
<dcscor:item>
|
|
<dcscor:parameter>СтильГраницы.Справа</dcscor:parameter>
|
|
<dcscor:value xsi:type="v8ui:Line" width="1" gap="false">
|
|
<v8ui:style xsi:type="v8ui:SpreadsheetDocumentCellLineType">Solid</v8ui:style>
|
|
</dcscor:value>
|
|
</dcscor:item>
|
|
<dcscor:item>
|
|
<dcscor:parameter>СтильГраницы.Снизу</dcscor:parameter>
|
|
<dcscor:value xsi:type="v8ui:Line" width="1" gap="false">
|
|
<v8ui:style xsi:type="v8ui:SpreadsheetDocumentCellLineType">Solid</v8ui:style>
|
|
</dcscor:value>
|
|
</dcscor:item>
|
|
</dcscor:item>
|
|
<dcscor:item>
|
|
<dcscor:parameter>Шрифт</dcscor:parameter>
|
|
<dcscor:value xsi:type="v8ui:Font" faceName="Arial" height="10" bold="false" italic="false" underline="false" strikeout="false" kind="Absolute" scale="100"/>
|
|
</dcscor:item>
|
|
</dcsat:appearance>
|
|
</dcsat:tableCell>
|
|
</dcsat:item>
|
|
</template>
|
|
</template>
|
|
<settingsVariant>
|
|
<dcsset:name>Основной</dcsset:name>
|
|
<dcsset:presentation xsi:type="v8:LocalStringType">
|
|
<v8:item>
|
|
<v8:lang>ru</v8:lang>
|
|
<v8:content>Основной</v8:content>
|
|
</v8:item>
|
|
</dcsset:presentation>
|
|
<dcsset:settings xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows">
|
|
<dcsset:selection>
|
|
<dcsset:item xsi:type="dcsset:SelectedItemAuto"/>
|
|
</dcsset:selection>
|
|
<dcsset:item xsi:type="dcsset:StructureItemGroup">
|
|
<dcsset:order>
|
|
<dcsset:item xsi:type="dcsset:OrderItemAuto"/>
|
|
</dcsset:order>
|
|
<dcsset:selection>
|
|
<dcsset:item xsi:type="dcsset:SelectedItemAuto"/>
|
|
</dcsset:selection>
|
|
</dcsset:item>
|
|
</dcsset:settings>
|
|
</settingsVariant>
|
|
</DataCompositionSchema>
|