@kontur.candy/generator 4.258.0-readonly-candy.0 → 4.261.0-readonly-candy.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +107 -55
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -113574,6 +113574,28 @@ function createUnitId(id, instance) {
|
|
|
113574
113574
|
|
|
113575
113575
|
/***/ }),
|
|
113576
113576
|
|
|
113577
|
+
/***/ "./Engine/src/Controls/Layout/SubHeader/SubHeaderTypes.ts":
|
|
113578
|
+
/*!****************************************************************!*\
|
|
113579
|
+
!*** ./Engine/src/Controls/Layout/SubHeader/SubHeaderTypes.ts ***!
|
|
113580
|
+
\****************************************************************/
|
|
113581
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
113582
|
+
|
|
113583
|
+
"use strict";
|
|
113584
|
+
__webpack_require__.r(__webpack_exports__);
|
|
113585
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
113586
|
+
/* harmony export */ "SubHeaderLevels": () => (/* binding */ SubHeaderLevels)
|
|
113587
|
+
/* harmony export */ });
|
|
113588
|
+
let SubHeaderLevels;
|
|
113589
|
+
|
|
113590
|
+
(function (SubHeaderLevels) {
|
|
113591
|
+
SubHeaderLevels["Level1"] = "1";
|
|
113592
|
+
SubHeaderLevels["Level2"] = "2";
|
|
113593
|
+
SubHeaderLevels["Level3"] = "3";
|
|
113594
|
+
SubHeaderLevels["Deprecated"] = "4";
|
|
113595
|
+
})(SubHeaderLevels || (SubHeaderLevels = {}));
|
|
113596
|
+
|
|
113597
|
+
/***/ }),
|
|
113598
|
+
|
|
113577
113599
|
/***/ "./Engine/src/Engine/Core/PathUtils/PathUtils.ts":
|
|
113578
113600
|
/*!*******************************************************!*\
|
|
113579
113601
|
!*** ./Engine/src/Engine/Core/PathUtils/PathUtils.ts ***!
|
|
@@ -134152,7 +134174,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
134152
134174
|
/* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
|
|
134153
134175
|
/* harmony import */ var _UserPicklist_UserPicklistConverter__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../UserPicklist/UserPicklistConverter */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/UserPicklist/UserPicklistConverter.ts");
|
|
134154
134176
|
/* harmony import */ var _DefaultContent_DefaultContentNode__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../DefaultContent/DefaultContentNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/DefaultContent/DefaultContentNode.ts");
|
|
134155
|
-
/* harmony import */ var
|
|
134177
|
+
/* harmony import */ var _common_ConditionUtils__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../../../../../common/ConditionUtils */ "./Generator/src/common/ConditionUtils.ts");
|
|
134178
|
+
/* harmony import */ var _Common_KCLangRuntimeUtils__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../../../../../../../Common/KCLangRuntimeUtils */ "./Common/KCLangRuntimeUtils.ts");
|
|
134179
|
+
/* harmony import */ var _ComponentMarkupBuilder_PathHelper__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/PathHelper */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/PathHelper.ts");
|
|
134180
|
+
/* harmony import */ var _FormNode__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./FormNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/FormNode.ts");
|
|
134181
|
+
|
|
134182
|
+
|
|
134183
|
+
|
|
134156
134184
|
|
|
134157
134185
|
|
|
134158
134186
|
|
|
@@ -134174,11 +134202,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
134174
134202
|
|
|
134175
134203
|
class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.SugarNodeConverterBase {
|
|
134176
134204
|
static getAcceptNodeClass() {
|
|
134177
|
-
return
|
|
134205
|
+
return _FormNode__WEBPACK_IMPORTED_MODULE_21__.FormNode;
|
|
134178
134206
|
}
|
|
134179
134207
|
|
|
134180
134208
|
doBuildDataDeclaration(context) {
|
|
134181
|
-
const node = this.getCurrentNodeAs(
|
|
134209
|
+
const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_21__.FormNode);
|
|
134182
134210
|
const rootPath = (0,_getRootPath__WEBPACK_IMPORTED_MODULE_3__.getRootPath)(node);
|
|
134183
134211
|
const entrySections = ["default"];
|
|
134184
134212
|
const optionalSections = this.findOptionalSections(node);
|
|
@@ -134198,17 +134226,17 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
|
|
|
134198
134226
|
}
|
|
134199
134227
|
|
|
134200
134228
|
buildChildrenDataDeclaration(context) {
|
|
134201
|
-
const node = this.getCurrentNodeAs(
|
|
134229
|
+
const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_21__.FormNode);
|
|
134202
134230
|
return context.processChildrenDataDeclaration(node.pages);
|
|
134203
134231
|
}
|
|
134204
134232
|
|
|
134205
134233
|
*doTraverseChildren() {
|
|
134206
|
-
const node = this.getCurrentNodeAs(
|
|
134234
|
+
const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_21__.FormNode);
|
|
134207
134235
|
yield* node.pages;
|
|
134208
134236
|
}
|
|
134209
134237
|
|
|
134210
134238
|
doConvert(context) {
|
|
134211
|
-
const node = this.getCurrentNodeAs(
|
|
134239
|
+
const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_21__.FormNode);
|
|
134212
134240
|
|
|
134213
134241
|
if (node.simple) {
|
|
134214
134242
|
return this.buildSimpleForm(context, node);
|
|
@@ -134302,6 +134330,7 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
|
|
|
134302
134330
|
layoutKind = "scrollable";
|
|
134303
134331
|
}
|
|
134304
134332
|
|
|
134333
|
+
const compiledCondition = generateKcLangOrJsCondition(pageNode);
|
|
134305
134334
|
const result = {
|
|
134306
134335
|
component: {
|
|
134307
134336
|
type: "Expression",
|
|
@@ -134317,7 +134346,8 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
|
|
|
134317
134346
|
layoutKind: layoutKind,
|
|
134318
134347
|
visible: pageNode.visible != undefined ? {
|
|
134319
134348
|
type: "Expression",
|
|
134320
|
-
expression: `{ type: "ModelDependentEvaluator", expression: (path) => ${
|
|
134349
|
+
expression: `{ type: "ModelDependentEvaluator", expression: (path, count) => ${compiledCondition === null || compiledCondition === void 0 ? void 0 : compiledCondition.condition} }`,
|
|
134350
|
+
dependencies: compiledCondition === null || compiledCondition === void 0 ? void 0 : compiledCondition.dependencies
|
|
134321
134351
|
} : undefined,
|
|
134322
134352
|
bindingPath: (0,_getBindingPath__WEBPACK_IMPORTED_MODULE_15__.getNewBindingPathExpression)(pageNode),
|
|
134323
134353
|
optional: pageNode.optional,
|
|
@@ -134406,11 +134436,13 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
|
|
|
134406
134436
|
const unitName = unitList != undefined ? this.getUnitName(unitList, pageNode.id) : pageNode.navigationName;
|
|
134407
134437
|
markupBuilder.prop(x => x.name).set(unitName);
|
|
134408
134438
|
markupBuilder.prop(x => x.evaluatorsContextPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_15__.getNewBindingPathExpression)(node));
|
|
134439
|
+
const compiledCondition = generateKcLangOrJsCondition(pageNode);
|
|
134409
134440
|
|
|
134410
134441
|
if (pageNode.visible != undefined) {
|
|
134411
134442
|
markupBuilder.prop(x => x.visible).set({
|
|
134412
134443
|
type: "Expression",
|
|
134413
|
-
expression: `{ type: "ModelDependentEvaluator", expression: (path) => ${
|
|
134444
|
+
expression: `{ type: "ModelDependentEvaluator", expression: (path, count) => ${compiledCondition === null || compiledCondition === void 0 ? void 0 : compiledCondition.condition} }`,
|
|
134445
|
+
dependencies: compiledCondition === null || compiledCondition === void 0 ? void 0 : compiledCondition.dependencies
|
|
134414
134446
|
});
|
|
134415
134447
|
}
|
|
134416
134448
|
|
|
@@ -134492,11 +134524,13 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
|
|
|
134492
134524
|
}
|
|
134493
134525
|
|
|
134494
134526
|
unitItemBuilder.prop(x => x.evaluatorsContextPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_15__.getNewBindingPathExpression)(formNode));
|
|
134527
|
+
const compiledCondition = generateKcLangOrJsCondition(page);
|
|
134495
134528
|
|
|
134496
134529
|
if (page.visible != undefined) {
|
|
134497
134530
|
unitItemBuilder.prop(x => x.visible).set({
|
|
134498
134531
|
type: "Expression",
|
|
134499
|
-
expression: `{ type: "ModelDependentEvaluator", expression: (path) => ${
|
|
134532
|
+
expression: `{ type: "ModelDependentEvaluator", expression: (path, count) => ${compiledCondition === null || compiledCondition === void 0 ? void 0 : compiledCondition.condition} }`,
|
|
134533
|
+
dependencies: compiledCondition === null || compiledCondition === void 0 ? void 0 : compiledCondition.dependencies
|
|
134500
134534
|
});
|
|
134501
134535
|
}
|
|
134502
134536
|
|
|
@@ -134534,6 +134568,10 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
|
|
|
134534
134568
|
|
|
134535
134569
|
}
|
|
134536
134570
|
|
|
134571
|
+
function generateKcLangOrJsCondition(page) {
|
|
134572
|
+
return page.visible != undefined ? (0,_common_ConditionUtils__WEBPACK_IMPORTED_MODULE_18__.convertConditionToJsOrFailWithFriendlySugarError)(page.visible, "path", _Common_KCLangRuntimeUtils__WEBPACK_IMPORTED_MODULE_19__.KCLangRuntimeUtils.kcLangUtilsName, page, (0,_ComponentMarkupBuilder_PathHelper__WEBPACK_IMPORTED_MODULE_20__.extractPath)(x => x.visible)) : undefined;
|
|
134573
|
+
}
|
|
134574
|
+
|
|
134537
134575
|
/***/ }),
|
|
134538
134576
|
|
|
134539
134577
|
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/FormNode.ts":
|
|
@@ -134567,7 +134605,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
134567
134605
|
|
|
134568
134606
|
|
|
134569
134607
|
|
|
134570
|
-
var _dec, _dec2, _class, _class2, _descriptor, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _dec24, _dec25, _dec26, _dec27, _dec28, _dec29, _dec30, _dec31, _dec32, _dec33, _dec34, _dec35, _dec36, _class4, _class5, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34;
|
|
134608
|
+
var _dec, _dec2, _class, _class2, _descriptor, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _dec24, _dec25, _dec26, _dec27, _dec28, _dec29, _dec30, _dec31, _dec32, _dec33, _dec34, _dec35, _dec36, _dec37, _class4, _class5, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35;
|
|
134571
134609
|
|
|
134572
134610
|
|
|
134573
134611
|
|
|
@@ -134592,7 +134630,7 @@ let FetchFunctionsReferenceNode = (_dec = (0,_Serializer_SugarSerializer__WEBPAC
|
|
|
134592
134630
|
writable: true,
|
|
134593
134631
|
initializer: null
|
|
134594
134632
|
})), _class2)) || _class);
|
|
134595
|
-
let FormNode = (_dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.sugarNode)("form", `Корневой элемент формы.`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form sync recursive .md$")), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_4__.DataBindingScopeMixinNode), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("userpicklist", [_UserPicklist_UserPicklistNode__WEBPACK_IMPORTED_MODULE_10__.UserPicklistNode]), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("tour", [_Tour_TourNode__WEBPACK_IMPORTED_MODULE_9__.TourNode]), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("fetchfunctions", [FetchFunctionsReferenceNode]), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("modalIE8", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.Removed), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("m", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("uf", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("forceNavigate", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("hideUnitsAdder", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("hasRegionalForms", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.UntypedUsage), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("controls"), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("import", [_SugarNodes_Nodes_ImportNode__WEBPACK_IMPORTED_MODULE_7__.ImportNode]), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("panel", [_Nodes_PanelNode__WEBPACK_IMPORTED_MODULE_11__.PanelNode]), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("page", [_Page_PageNode__WEBPACK_IMPORTED_MODULE_8__.PageNode]), _dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("simple", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, ``), _dec19 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("schemaValidations", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, ``), _dec20 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("isReadOnly", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, "Отобразить форму в режиме чтения - все редактирование будет отключено (включая интерактивные элементы - валидации, фокус, подсветки тултипы и тд)"), _dec21 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("ieDeprecationWarningEnabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, "Отображать окно с предупреждением, что некоторые функции в ie не работают, с предложением скачать другие браузеры. Не блокирует взаимодействие"), _dec22 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("ieSizeLimitation", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Это флаг включает отображение заглушки для IE, если фуф больше определенного размера`),
|
|
134633
|
+
let FormNode = (_dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.sugarNode)("form", `Корневой элемент формы.`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form sync recursive .md$")), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_4__.DataBindingScopeMixinNode), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("userpicklist", [_UserPicklist_UserPicklistNode__WEBPACK_IMPORTED_MODULE_10__.UserPicklistNode]), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("tour", [_Tour_TourNode__WEBPACK_IMPORTED_MODULE_9__.TourNode]), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("fetchfunctions", [FetchFunctionsReferenceNode]), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("modalIE8", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.Removed), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("m", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("uf", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("forceNavigate", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("hideUnitsAdder", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("hasRegionalForms", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.UntypedUsage), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("controls"), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("import", [_SugarNodes_Nodes_ImportNode__WEBPACK_IMPORTED_MODULE_7__.ImportNode]), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("panel", [_Nodes_PanelNode__WEBPACK_IMPORTED_MODULE_11__.PanelNode]), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("page", [_Page_PageNode__WEBPACK_IMPORTED_MODULE_8__.PageNode]), _dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("simple", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, ``), _dec19 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("schemaValidations", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, ``), _dec20 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("isReadOnly", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, "Отобразить форму в режиме чтения - все редактирование будет отключено (включая интерактивные элементы - валидации, фокус, подсветки тултипы и тд)"), _dec21 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("ieDeprecationWarningEnabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, "Отображать окно с предупреждением, что некоторые функции в ie не работают, с предложением скачать другие браузеры. Не блокирует взаимодействие"), _dec22 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("compactActionPanel", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, "Отображать компактную плашку (без надписей) на панели действий слева"), _dec23 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("ieSizeLimitation", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Это флаг включает отображение заглушки для IE, если фуф больше определенного размера`), _dec24 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("templates", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Управляет влючение возможность создавать и применять шаблоны keweb-а (кнопка в меню)`), _dec25 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("plain", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Форма без боковой панели, которая будет содержать один раздел`), _dec26 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("requisite", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Есть подозрение что это свойство не используется`), _dec27 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, ``), _dec28 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("padding", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.lengthUnit, ``), _dec29 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("maxunitscount", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, `Если количество разделов привышает \`maxunitscount\`, тода начинает работать частичный рендеринг (рендерятся не все разедлы, при скроллинге рендерятся другие). Например, это используется в ЕНВД, раздел 2 множественный, и у пользователей может быть много`), _dec30 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("unitscount", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, ``), _dec31 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("transferText", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.localizedString, `Текст в лайтбоксе, который появляется по кнопке "Перенести данные"`), _dec32 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("navigationLimit", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, `Количество множественных разделов при котором навигация сворачивается (в левой колонке отображаются не все экземпляры), как выглядит можешь посмотреть в ЕНВд при количестве разделов 2 больше 15`), _dec33 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("uploadFufButtonEnabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Включает кнопку загрузить отчет в "Другие действия" в панели слева.`), _dec34 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("uploadFufLightboxHideDemandNameButton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Отключает кнопку "Показать имя требования" внутри лайтбокса Загрузки файла.`), _dec35 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("uploadInquiryButtonEnabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Включает кнопку загрузить справки в панели слева. (только для 6ндфл и РСВ)`), _dec36 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("type", [_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_3__.TypeNode]), _dec37 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("types", [_TypeListNode__WEBPACK_IMPORTED_MODULE_12__.TypeListNode]), _dec3(_class4 = (_class5 = class FormNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.SugarNodeBase {
|
|
134596
134634
|
constructor(...args) {
|
|
134597
134635
|
super(...args);
|
|
134598
134636
|
|
|
@@ -134632,35 +134670,37 @@ let FormNode = (_dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_
|
|
|
134632
134670
|
|
|
134633
134671
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "ieDeprecationWarningEnabled", _descriptor19, this);
|
|
134634
134672
|
|
|
134635
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
134673
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "compactActionPanel", _descriptor20, this);
|
|
134636
134674
|
|
|
134637
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
134675
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "ieSizeLimitation", _descriptor21, this);
|
|
134638
134676
|
|
|
134639
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
134677
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "templates", _descriptor22, this);
|
|
134640
134678
|
|
|
134641
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
134679
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "plain", _descriptor23, this);
|
|
134642
134680
|
|
|
134643
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
134681
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "requisite", _descriptor24, this);
|
|
134682
|
+
|
|
134683
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "width", _descriptor25, this);
|
|
134644
134684
|
|
|
134645
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "padding",
|
|
134685
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "padding", _descriptor26, this);
|
|
134646
134686
|
|
|
134647
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "maxUnitsCount",
|
|
134687
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "maxUnitsCount", _descriptor27, this);
|
|
134648
134688
|
|
|
134649
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "unitsCount",
|
|
134689
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "unitsCount", _descriptor28, this);
|
|
134650
134690
|
|
|
134651
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "transferText",
|
|
134691
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "transferText", _descriptor29, this);
|
|
134652
134692
|
|
|
134653
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "navigationLimit",
|
|
134693
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "navigationLimit", _descriptor30, this);
|
|
134654
134694
|
|
|
134655
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "uploadFufButtonEnabled",
|
|
134695
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "uploadFufButtonEnabled", _descriptor31, this);
|
|
134656
134696
|
|
|
134657
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "uploadFufLightboxHideDemandNameButton",
|
|
134697
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "uploadFufLightboxHideDemandNameButton", _descriptor32, this);
|
|
134658
134698
|
|
|
134659
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "uploadInquiryButtonEnabled",
|
|
134699
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "uploadInquiryButtonEnabled", _descriptor33, this);
|
|
134660
134700
|
|
|
134661
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "types",
|
|
134701
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "types", _descriptor34, this);
|
|
134662
134702
|
|
|
134663
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "typeLists",
|
|
134703
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "typeLists", _descriptor35, this);
|
|
134664
134704
|
}
|
|
134665
134705
|
|
|
134666
134706
|
getOwnPath() {
|
|
@@ -134765,77 +134805,82 @@ let FormNode = (_dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_
|
|
|
134765
134805
|
enumerable: true,
|
|
134766
134806
|
writable: true,
|
|
134767
134807
|
initializer: null
|
|
134768
|
-
}), _descriptor20 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "
|
|
134808
|
+
}), _descriptor20 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "compactActionPanel", [_dec22], {
|
|
134769
134809
|
configurable: true,
|
|
134770
134810
|
enumerable: true,
|
|
134771
134811
|
writable: true,
|
|
134772
134812
|
initializer: null
|
|
134773
|
-
}), _descriptor21 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "
|
|
134813
|
+
}), _descriptor21 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "ieSizeLimitation", [_dec23], {
|
|
134774
134814
|
configurable: true,
|
|
134775
134815
|
enumerable: true,
|
|
134776
134816
|
writable: true,
|
|
134777
134817
|
initializer: null
|
|
134778
|
-
}), _descriptor22 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "
|
|
134818
|
+
}), _descriptor22 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "templates", [_dec24], {
|
|
134779
134819
|
configurable: true,
|
|
134780
134820
|
enumerable: true,
|
|
134781
134821
|
writable: true,
|
|
134782
134822
|
initializer: null
|
|
134783
|
-
}), _descriptor23 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "
|
|
134823
|
+
}), _descriptor23 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "plain", [_dec25], {
|
|
134784
134824
|
configurable: true,
|
|
134785
134825
|
enumerable: true,
|
|
134786
134826
|
writable: true,
|
|
134787
134827
|
initializer: null
|
|
134788
|
-
}), _descriptor24 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "
|
|
134828
|
+
}), _descriptor24 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "requisite", [_dec26], {
|
|
134829
|
+
configurable: true,
|
|
134830
|
+
enumerable: true,
|
|
134831
|
+
writable: true,
|
|
134832
|
+
initializer: null
|
|
134833
|
+
}), _descriptor25 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "width", [_dec27], {
|
|
134789
134834
|
configurable: true,
|
|
134790
134835
|
enumerable: true,
|
|
134791
134836
|
writable: true,
|
|
134792
134837
|
initializer: null
|
|
134793
|
-
}),
|
|
134838
|
+
}), _descriptor26 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "padding", [_dec28], {
|
|
134794
134839
|
configurable: true,
|
|
134795
134840
|
enumerable: true,
|
|
134796
134841
|
writable: true,
|
|
134797
134842
|
initializer: null
|
|
134798
|
-
}),
|
|
134843
|
+
}), _descriptor27 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "maxUnitsCount", [_dec29], {
|
|
134799
134844
|
configurable: true,
|
|
134800
134845
|
enumerable: true,
|
|
134801
134846
|
writable: true,
|
|
134802
134847
|
initializer: null
|
|
134803
|
-
}),
|
|
134848
|
+
}), _descriptor28 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "unitsCount", [_dec30], {
|
|
134804
134849
|
configurable: true,
|
|
134805
134850
|
enumerable: true,
|
|
134806
134851
|
writable: true,
|
|
134807
134852
|
initializer: null
|
|
134808
|
-
}),
|
|
134853
|
+
}), _descriptor29 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "transferText", [_dec31], {
|
|
134809
134854
|
configurable: true,
|
|
134810
134855
|
enumerable: true,
|
|
134811
134856
|
writable: true,
|
|
134812
134857
|
initializer: null
|
|
134813
|
-
}),
|
|
134858
|
+
}), _descriptor30 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "navigationLimit", [_dec32], {
|
|
134814
134859
|
configurable: true,
|
|
134815
134860
|
enumerable: true,
|
|
134816
134861
|
writable: true,
|
|
134817
134862
|
initializer: null
|
|
134818
|
-
}),
|
|
134863
|
+
}), _descriptor31 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "uploadFufButtonEnabled", [_dec33], {
|
|
134819
134864
|
configurable: true,
|
|
134820
134865
|
enumerable: true,
|
|
134821
134866
|
writable: true,
|
|
134822
134867
|
initializer: null
|
|
134823
|
-
}),
|
|
134868
|
+
}), _descriptor32 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "uploadFufLightboxHideDemandNameButton", [_dec34], {
|
|
134824
134869
|
configurable: true,
|
|
134825
134870
|
enumerable: true,
|
|
134826
134871
|
writable: true,
|
|
134827
134872
|
initializer: null
|
|
134828
|
-
}),
|
|
134873
|
+
}), _descriptor33 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "uploadInquiryButtonEnabled", [_dec35], {
|
|
134829
134874
|
configurable: true,
|
|
134830
134875
|
enumerable: true,
|
|
134831
134876
|
writable: true,
|
|
134832
134877
|
initializer: null
|
|
134833
|
-
}),
|
|
134878
|
+
}), _descriptor34 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "types", [_dec36], {
|
|
134834
134879
|
configurable: true,
|
|
134835
134880
|
enumerable: true,
|
|
134836
134881
|
writable: true,
|
|
134837
134882
|
initializer: null
|
|
134838
|
-
}),
|
|
134883
|
+
}), _descriptor35 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "typeLists", [_dec37], {
|
|
134839
134884
|
configurable: true,
|
|
134840
134885
|
enumerable: true,
|
|
134841
134886
|
writable: true,
|
|
@@ -139625,36 +139670,40 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
139625
139670
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
139626
139671
|
/* harmony export */ "SubheaderConverter": () => (/* binding */ SubheaderConverter)
|
|
139627
139672
|
/* harmony export */ });
|
|
139628
|
-
/* harmony import */ var
|
|
139629
|
-
/* harmony import */ var
|
|
139630
|
-
/* harmony import */ var
|
|
139673
|
+
/* harmony import */ var _Engine_src_Controls_Layout_SubHeader_SubHeaderTypes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../Engine/src/Controls/Layout/SubHeader/SubHeaderTypes */ "./Engine/src/Controls/Layout/SubHeader/SubHeaderTypes.ts");
|
|
139674
|
+
/* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
|
|
139675
|
+
/* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
|
|
139676
|
+
/* harmony import */ var _SubheaderNode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./SubheaderNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Subheader/SubheaderNode.ts");
|
|
139677
|
+
|
|
139631
139678
|
|
|
139632
139679
|
|
|
139633
139680
|
|
|
139634
|
-
class SubheaderConverter extends
|
|
139681
|
+
class SubheaderConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.SugarNodeConverterBase {
|
|
139635
139682
|
static getAcceptNodeClass() {
|
|
139636
|
-
return
|
|
139683
|
+
return _SubheaderNode__WEBPACK_IMPORTED_MODULE_3__.SubheaderNode;
|
|
139637
139684
|
}
|
|
139638
139685
|
|
|
139639
139686
|
doBuildDataDeclaration(context) {
|
|
139640
|
-
const node = this.getCurrentNodeAs(
|
|
139687
|
+
const node = this.getCurrentNodeAs(_SubheaderNode__WEBPACK_IMPORTED_MODULE_3__.SubheaderNode);
|
|
139641
139688
|
return context.addVisibilityPathDeclEntryNew(node);
|
|
139642
139689
|
}
|
|
139643
139690
|
|
|
139644
139691
|
buildChildrenDataDeclaration(context) {
|
|
139645
|
-
const node = this.getCurrentNodeAs(
|
|
139692
|
+
const node = this.getCurrentNodeAs(_SubheaderNode__WEBPACK_IMPORTED_MODULE_3__.SubheaderNode);
|
|
139646
139693
|
return context.processChildrenDataDeclaration(node.children);
|
|
139647
139694
|
}
|
|
139648
139695
|
|
|
139649
139696
|
*doTraverseChildren() {
|
|
139650
|
-
const node = this.getCurrentNodeAs(
|
|
139697
|
+
const node = this.getCurrentNodeAs(_SubheaderNode__WEBPACK_IMPORTED_MODULE_3__.SubheaderNode);
|
|
139651
139698
|
yield* node.children;
|
|
139652
139699
|
}
|
|
139653
139700
|
|
|
139654
139701
|
doConvert(context) {
|
|
139655
|
-
|
|
139656
|
-
|
|
139657
|
-
|
|
139702
|
+
var _node$level;
|
|
139703
|
+
|
|
139704
|
+
const node = this.getCurrentNodeAs(_SubheaderNode__WEBPACK_IMPORTED_MODULE_3__.SubheaderNode);
|
|
139705
|
+
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("SubHeader");
|
|
139706
|
+
markupBuilder.prop(x => x.level).set((_node$level = node.level) !== null && _node$level !== void 0 ? _node$level : _Engine_src_Controls_Layout_SubHeader_SubHeaderTypes__WEBPACK_IMPORTED_MODULE_0__.SubHeaderLevels.Level1);
|
|
139658
139707
|
markupBuilder.appendChild(context.convertChildNodes(node.children));
|
|
139659
139708
|
return markupBuilder.buildConverterResult();
|
|
139660
139709
|
}
|
|
@@ -139683,6 +139732,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
139683
139732
|
/* harmony import */ var _CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../CommonNodeProperties/DataBindingMixinNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/DataBindingMixinNode.ts");
|
|
139684
139733
|
/* harmony import */ var _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../Serializer/SugarNodeWithLegacyVisibility */ "./Generator/src/generators/markupGenerator/Serializer/SugarNodeWithLegacyVisibility.ts");
|
|
139685
139734
|
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
139735
|
+
/* harmony import */ var _Engine_src_Controls_Layout_SubHeader_SubHeaderTypes__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../../../Engine/src/Controls/Layout/SubHeader/SubHeaderTypes */ "./Engine/src/Controls/Layout/SubHeader/SubHeaderTypes.ts");
|
|
139686
139736
|
|
|
139687
139737
|
|
|
139688
139738
|
|
|
@@ -139692,7 +139742,8 @@ var _dec, _dec2, _dec3, _dec4, _class, _class2, _descriptor, _descriptor2, _desc
|
|
|
139692
139742
|
|
|
139693
139743
|
|
|
139694
139744
|
|
|
139695
|
-
|
|
139745
|
+
|
|
139746
|
+
let SubheaderNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("subheader", `Подзаголовок страницы`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Subheader sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__.DataBindingScopeMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("level", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType["enum"](_Engine_src_Controls_Layout_SubHeader_SubHeaderTypes__WEBPACK_IMPORTED_MODULE_6__.SubHeaderLevels.Level1, _Engine_src_Controls_Layout_SubHeader_SubHeaderTypes__WEBPACK_IMPORTED_MODULE_6__.SubHeaderLevels.Level2, _Engine_src_Controls_Layout_SubHeader_SubHeaderTypes__WEBPACK_IMPORTED_MODULE_6__.SubHeaderLevels.Level3, _Engine_src_Controls_Layout_SubHeader_SubHeaderTypes__WEBPACK_IMPORTED_MODULE_6__.SubHeaderLevels.Deprecated), `Уровень заголовка начиная с 1. Чем больше номер, тем меньше размер текста.`), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec(_class = (_class2 = class SubheaderNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_4__.SugarNodeWithLegacyVisibility {
|
|
139696
139747
|
constructor(...args) {
|
|
139697
139748
|
super(...args);
|
|
139698
139749
|
|
|
@@ -156980,7 +157031,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
156980
157031
|
/* harmony import */ var _getRootPath__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getRootPath */ "./Generator/src/generators/markupGenerator/getRootPath.ts");
|
|
156981
157032
|
|
|
156982
157033
|
function getSettings(sugarRoot, gfv, additionalSettings) {
|
|
156983
|
-
var _sugarRoot$ieSizeLimi;
|
|
157034
|
+
var _sugarRoot$ieSizeLimi, _sugarRoot$isReadOnly;
|
|
156984
157035
|
|
|
156985
157036
|
const settings = {
|
|
156986
157037
|
formRoot: (0,_getRootPath__WEBPACK_IMPORTED_MODULE_0__.getRootPath)(sugarRoot),
|
|
@@ -156992,7 +157043,8 @@ function getSettings(sugarRoot, gfv, additionalSettings) {
|
|
|
156992
157043
|
regions: [],
|
|
156993
157044
|
useSizeLimitationForIe: (_sugarRoot$ieSizeLimi = sugarRoot.ieSizeLimitation) !== null && _sugarRoot$ieSizeLimi !== void 0 ? _sugarRoot$ieSizeLimi : false,
|
|
156994
157045
|
ieDeprecationWarningEnabled: sugarRoot.ieDeprecationWarningEnabled,
|
|
156995
|
-
|
|
157046
|
+
compactActionPanel: sugarRoot.compactActionPanel,
|
|
157047
|
+
isReadOnly: (_sugarRoot$isReadOnly = sugarRoot.isReadOnly) !== null && _sugarRoot$isReadOnly !== void 0 ? _sugarRoot$isReadOnly : false,
|
|
156996
157048
|
gfv: gfv,
|
|
156997
157049
|
...additionalSettings
|
|
156998
157050
|
};
|