@kontur.candy/generator 4.259.0-readonly-candy.0 → 4.262.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.
Files changed (2) hide show
  1. package/dist/index.js +125 -59
  2. 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 ***!
@@ -122199,17 +122221,31 @@ class EvaluateTemplateVisitor {
122199
122221
 
122200
122222
  visitXmlNode(node) {
122201
122223
  for (const attributeName of Object.keys(node.attributes)) {
122202
- const value = node.attributes[attributeName];
122224
+ const attribute = node.attributes[attributeName];
122225
+ const stringParameters = this.parameterValues.filter(x => x.parameterInfo.type === _SugarTemplateInfo__WEBPACK_IMPORTED_MODULE_5__.SugarTemplateParameterType.String);
122203
122226
 
122204
- if (typeof value === "string") {
122205
- const stringParameters = this.parameterValues.filter(x => x.parameterInfo.type === _SugarTemplateInfo__WEBPACK_IMPORTED_MODULE_5__.SugarTemplateParameterType.String);
122206
- let updatedValue = value;
122227
+ if (typeof attribute === "string") {
122228
+ let updatedValue = attribute;
122207
122229
 
122208
122230
  for (const parameter of stringParameters) {
122209
122231
  updatedValue = this.applyStringParameter(parameter, updatedValue);
122210
122232
  }
122211
122233
 
122212
122234
  node.attributes[attributeName] = updatedValue;
122235
+ } else if (typeof attribute === "object") {
122236
+ Object.keys(attribute).forEach(key => {
122237
+ const value = attribute[key];
122238
+
122239
+ if (typeof value === "string") {
122240
+ let updatedValue = value;
122241
+
122242
+ for (const parameter of stringParameters) {
122243
+ updatedValue = this.applyStringParameter(parameter, updatedValue);
122244
+ }
122245
+
122246
+ attribute[key] = updatedValue;
122247
+ }
122248
+ });
122213
122249
  }
122214
122250
  }
122215
122251
 
@@ -134152,7 +134188,13 @@ __webpack_require__.r(__webpack_exports__);
134152
134188
  /* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
134153
134189
  /* harmony import */ var _UserPicklist_UserPicklistConverter__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../UserPicklist/UserPicklistConverter */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/UserPicklist/UserPicklistConverter.ts");
134154
134190
  /* 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 _FormNode__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./FormNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/FormNode.ts");
134191
+ /* harmony import */ var _common_ConditionUtils__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../../../../../common/ConditionUtils */ "./Generator/src/common/ConditionUtils.ts");
134192
+ /* harmony import */ var _Common_KCLangRuntimeUtils__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../../../../../../../Common/KCLangRuntimeUtils */ "./Common/KCLangRuntimeUtils.ts");
134193
+ /* harmony import */ var _ComponentMarkupBuilder_PathHelper__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/PathHelper */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/PathHelper.ts");
134194
+ /* harmony import */ var _FormNode__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./FormNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/FormNode.ts");
134195
+
134196
+
134197
+
134156
134198
 
134157
134199
 
134158
134200
 
@@ -134174,11 +134216,11 @@ __webpack_require__.r(__webpack_exports__);
134174
134216
 
134175
134217
  class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.SugarNodeConverterBase {
134176
134218
  static getAcceptNodeClass() {
134177
- return _FormNode__WEBPACK_IMPORTED_MODULE_18__.FormNode;
134219
+ return _FormNode__WEBPACK_IMPORTED_MODULE_21__.FormNode;
134178
134220
  }
134179
134221
 
134180
134222
  doBuildDataDeclaration(context) {
134181
- const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_18__.FormNode);
134223
+ const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_21__.FormNode);
134182
134224
  const rootPath = (0,_getRootPath__WEBPACK_IMPORTED_MODULE_3__.getRootPath)(node);
134183
134225
  const entrySections = ["default"];
134184
134226
  const optionalSections = this.findOptionalSections(node);
@@ -134198,17 +134240,17 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
134198
134240
  }
134199
134241
 
134200
134242
  buildChildrenDataDeclaration(context) {
134201
- const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_18__.FormNode);
134243
+ const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_21__.FormNode);
134202
134244
  return context.processChildrenDataDeclaration(node.pages);
134203
134245
  }
134204
134246
 
134205
134247
  *doTraverseChildren() {
134206
- const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_18__.FormNode);
134248
+ const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_21__.FormNode);
134207
134249
  yield* node.pages;
134208
134250
  }
134209
134251
 
134210
134252
  doConvert(context) {
134211
- const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_18__.FormNode);
134253
+ const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_21__.FormNode);
134212
134254
 
134213
134255
  if (node.simple) {
134214
134256
  return this.buildSimpleForm(context, node);
@@ -134302,6 +134344,7 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
134302
134344
  layoutKind = "scrollable";
134303
134345
  }
134304
134346
 
134347
+ const compiledCondition = generateKcLangOrJsCondition(pageNode);
134305
134348
  const result = {
134306
134349
  component: {
134307
134350
  type: "Expression",
@@ -134317,7 +134360,8 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
134317
134360
  layoutKind: layoutKind,
134318
134361
  visible: pageNode.visible != undefined ? {
134319
134362
  type: "Expression",
134320
- expression: `{ type: "ModelDependentEvaluator", expression: (path) => ${pageNode.visible} }`
134363
+ expression: `{ type: "ModelDependentEvaluator", expression: (path, count) => ${compiledCondition === null || compiledCondition === void 0 ? void 0 : compiledCondition.condition} }`,
134364
+ dependencies: compiledCondition === null || compiledCondition === void 0 ? void 0 : compiledCondition.dependencies
134321
134365
  } : undefined,
134322
134366
  bindingPath: (0,_getBindingPath__WEBPACK_IMPORTED_MODULE_15__.getNewBindingPathExpression)(pageNode),
134323
134367
  optional: pageNode.optional,
@@ -134406,11 +134450,13 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
134406
134450
  const unitName = unitList != undefined ? this.getUnitName(unitList, pageNode.id) : pageNode.navigationName;
134407
134451
  markupBuilder.prop(x => x.name).set(unitName);
134408
134452
  markupBuilder.prop(x => x.evaluatorsContextPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_15__.getNewBindingPathExpression)(node));
134453
+ const compiledCondition = generateKcLangOrJsCondition(pageNode);
134409
134454
 
134410
134455
  if (pageNode.visible != undefined) {
134411
134456
  markupBuilder.prop(x => x.visible).set({
134412
134457
  type: "Expression",
134413
- expression: `{ type: "ModelDependentEvaluator", expression: (path) => ${pageNode.visible} }`
134458
+ expression: `{ type: "ModelDependentEvaluator", expression: (path, count) => ${compiledCondition === null || compiledCondition === void 0 ? void 0 : compiledCondition.condition} }`,
134459
+ dependencies: compiledCondition === null || compiledCondition === void 0 ? void 0 : compiledCondition.dependencies
134414
134460
  });
134415
134461
  }
134416
134462
 
@@ -134492,11 +134538,13 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
134492
134538
  }
134493
134539
 
134494
134540
  unitItemBuilder.prop(x => x.evaluatorsContextPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_15__.getNewBindingPathExpression)(formNode));
134541
+ const compiledCondition = generateKcLangOrJsCondition(page);
134495
134542
 
134496
134543
  if (page.visible != undefined) {
134497
134544
  unitItemBuilder.prop(x => x.visible).set({
134498
134545
  type: "Expression",
134499
- expression: `{ type: "ModelDependentEvaluator", expression: (path) => ${page.visible} }`
134546
+ expression: `{ type: "ModelDependentEvaluator", expression: (path, count) => ${compiledCondition === null || compiledCondition === void 0 ? void 0 : compiledCondition.condition} }`,
134547
+ dependencies: compiledCondition === null || compiledCondition === void 0 ? void 0 : compiledCondition.dependencies
134500
134548
  });
134501
134549
  }
134502
134550
 
@@ -134534,6 +134582,10 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
134534
134582
 
134535
134583
  }
134536
134584
 
134585
+ function generateKcLangOrJsCondition(page) {
134586
+ 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;
134587
+ }
134588
+
134537
134589
  /***/ }),
134538
134590
 
134539
134591
  /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/FormNode.ts":
@@ -134567,7 +134619,7 @@ __webpack_require__.r(__webpack_exports__);
134567
134619
 
134568
134620
 
134569
134621
 
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;
134622
+ 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
134623
 
134572
134624
 
134573
134625
 
@@ -134592,7 +134644,7 @@ let FetchFunctionsReferenceNode = (_dec = (0,_Serializer_SugarSerializer__WEBPAC
134592
134644
  writable: true,
134593
134645
  initializer: null
134594
134646
  })), _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, если фуф больше определенного размера`), _dec23 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("templates", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Управляет влючение возможность создавать и применять шаблоны keweb-а (кнопка в меню)`), _dec24 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("plain", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Форма без боковой панели, которая будет содержать один раздел`), _dec25 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("requisite", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Есть подозрение что это свойство не используется`), _dec26 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, ``), _dec27 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("padding", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.lengthUnit, ``), _dec28 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("maxunitscount", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, `Если количество разделов привышает \`maxunitscount\`, тода начинает работать частичный рендеринг (рендерятся не все разедлы, при скроллинге рендерятся другие). Например, это используется в ЕНВД, раздел 2 множественный, и у пользователей может быть много`), _dec29 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("unitscount", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, ``), _dec30 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("transferText", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.localizedString, `Текст в лайтбоксе, который появляется по кнопке "Перенести данные"`), _dec31 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("navigationLimit", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, `Количество множественных разделов при котором навигация сворачивается (в левой колонке отображаются не все экземпляры), как выглядит можешь посмотреть в ЕНВд при количестве разделов 2 больше 15`), _dec32 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("uploadFufButtonEnabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Включает кнопку загрузить отчет в "Другие действия" в панели слева.`), _dec33 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("uploadFufLightboxHideDemandNameButton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Отключает кнопку "Показать имя требования" внутри лайтбокса Загрузки файла.`), _dec34 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("uploadInquiryButtonEnabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Включает кнопку загрузить справки в панели слева. (только для 6ндфл и РСВ)`), _dec35 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("type", [_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_3__.TypeNode]), _dec36 = (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 {
134647
+ 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
134648
  constructor(...args) {
134597
134649
  super(...args);
134598
134650
 
@@ -134632,35 +134684,37 @@ let FormNode = (_dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_
134632
134684
 
134633
134685
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "ieDeprecationWarningEnabled", _descriptor19, this);
134634
134686
 
134635
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "ieSizeLimitation", _descriptor20, this);
134687
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "compactActionPanel", _descriptor20, this);
134636
134688
 
134637
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "templates", _descriptor21, this);
134689
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "ieSizeLimitation", _descriptor21, this);
134638
134690
 
134639
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "plain", _descriptor22, this);
134691
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "templates", _descriptor22, this);
134640
134692
 
134641
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "requisite", _descriptor23, this);
134693
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "plain", _descriptor23, this);
134642
134694
 
134643
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "width", _descriptor24, this);
134695
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "requisite", _descriptor24, this);
134696
+
134697
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "width", _descriptor25, this);
134644
134698
 
134645
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "padding", _descriptor25, this);
134699
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "padding", _descriptor26, this);
134646
134700
 
134647
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "maxUnitsCount", _descriptor26, this);
134701
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "maxUnitsCount", _descriptor27, this);
134648
134702
 
134649
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "unitsCount", _descriptor27, this);
134703
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "unitsCount", _descriptor28, this);
134650
134704
 
134651
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "transferText", _descriptor28, this);
134705
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "transferText", _descriptor29, this);
134652
134706
 
134653
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "navigationLimit", _descriptor29, this);
134707
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "navigationLimit", _descriptor30, this);
134654
134708
 
134655
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "uploadFufButtonEnabled", _descriptor30, this);
134709
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "uploadFufButtonEnabled", _descriptor31, this);
134656
134710
 
134657
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "uploadFufLightboxHideDemandNameButton", _descriptor31, this);
134711
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "uploadFufLightboxHideDemandNameButton", _descriptor32, this);
134658
134712
 
134659
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "uploadInquiryButtonEnabled", _descriptor32, this);
134713
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "uploadInquiryButtonEnabled", _descriptor33, this);
134660
134714
 
134661
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "types", _descriptor33, this);
134715
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "types", _descriptor34, this);
134662
134716
 
134663
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "typeLists", _descriptor34, this);
134717
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "typeLists", _descriptor35, this);
134664
134718
  }
134665
134719
 
134666
134720
  getOwnPath() {
@@ -134765,77 +134819,82 @@ let FormNode = (_dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_
134765
134819
  enumerable: true,
134766
134820
  writable: true,
134767
134821
  initializer: null
134768
- }), _descriptor20 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "ieSizeLimitation", [_dec22], {
134822
+ }), _descriptor20 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "compactActionPanel", [_dec22], {
134769
134823
  configurable: true,
134770
134824
  enumerable: true,
134771
134825
  writable: true,
134772
134826
  initializer: null
134773
- }), _descriptor21 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "templates", [_dec23], {
134827
+ }), _descriptor21 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "ieSizeLimitation", [_dec23], {
134774
134828
  configurable: true,
134775
134829
  enumerable: true,
134776
134830
  writable: true,
134777
134831
  initializer: null
134778
- }), _descriptor22 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "plain", [_dec24], {
134832
+ }), _descriptor22 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "templates", [_dec24], {
134779
134833
  configurable: true,
134780
134834
  enumerable: true,
134781
134835
  writable: true,
134782
134836
  initializer: null
134783
- }), _descriptor23 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "requisite", [_dec25], {
134837
+ }), _descriptor23 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "plain", [_dec25], {
134784
134838
  configurable: true,
134785
134839
  enumerable: true,
134786
134840
  writable: true,
134787
134841
  initializer: null
134788
- }), _descriptor24 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "width", [_dec26], {
134842
+ }), _descriptor24 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "requisite", [_dec26], {
134789
134843
  configurable: true,
134790
134844
  enumerable: true,
134791
134845
  writable: true,
134792
134846
  initializer: null
134793
- }), _descriptor25 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "padding", [_dec27], {
134847
+ }), _descriptor25 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "width", [_dec27], {
134794
134848
  configurable: true,
134795
134849
  enumerable: true,
134796
134850
  writable: true,
134797
134851
  initializer: null
134798
- }), _descriptor26 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "maxUnitsCount", [_dec28], {
134852
+ }), _descriptor26 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "padding", [_dec28], {
134799
134853
  configurable: true,
134800
134854
  enumerable: true,
134801
134855
  writable: true,
134802
134856
  initializer: null
134803
- }), _descriptor27 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "unitsCount", [_dec29], {
134857
+ }), _descriptor27 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "maxUnitsCount", [_dec29], {
134804
134858
  configurable: true,
134805
134859
  enumerable: true,
134806
134860
  writable: true,
134807
134861
  initializer: null
134808
- }), _descriptor28 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "transferText", [_dec30], {
134862
+ }), _descriptor28 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "unitsCount", [_dec30], {
134809
134863
  configurable: true,
134810
134864
  enumerable: true,
134811
134865
  writable: true,
134812
134866
  initializer: null
134813
- }), _descriptor29 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "navigationLimit", [_dec31], {
134867
+ }), _descriptor29 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "transferText", [_dec31], {
134814
134868
  configurable: true,
134815
134869
  enumerable: true,
134816
134870
  writable: true,
134817
134871
  initializer: null
134818
- }), _descriptor30 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "uploadFufButtonEnabled", [_dec32], {
134872
+ }), _descriptor30 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "navigationLimit", [_dec32], {
134819
134873
  configurable: true,
134820
134874
  enumerable: true,
134821
134875
  writable: true,
134822
134876
  initializer: null
134823
- }), _descriptor31 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "uploadFufLightboxHideDemandNameButton", [_dec33], {
134877
+ }), _descriptor31 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "uploadFufButtonEnabled", [_dec33], {
134824
134878
  configurable: true,
134825
134879
  enumerable: true,
134826
134880
  writable: true,
134827
134881
  initializer: null
134828
- }), _descriptor32 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "uploadInquiryButtonEnabled", [_dec34], {
134882
+ }), _descriptor32 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "uploadFufLightboxHideDemandNameButton", [_dec34], {
134829
134883
  configurable: true,
134830
134884
  enumerable: true,
134831
134885
  writable: true,
134832
134886
  initializer: null
134833
- }), _descriptor33 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "types", [_dec35], {
134887
+ }), _descriptor33 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "uploadInquiryButtonEnabled", [_dec35], {
134834
134888
  configurable: true,
134835
134889
  enumerable: true,
134836
134890
  writable: true,
134837
134891
  initializer: null
134838
- }), _descriptor34 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "typeLists", [_dec36], {
134892
+ }), _descriptor34 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "types", [_dec36], {
134893
+ configurable: true,
134894
+ enumerable: true,
134895
+ writable: true,
134896
+ initializer: null
134897
+ }), _descriptor35 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "typeLists", [_dec37], {
134839
134898
  configurable: true,
134840
134899
  enumerable: true,
134841
134900
  writable: true,
@@ -139625,36 +139684,40 @@ __webpack_require__.r(__webpack_exports__);
139625
139684
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
139626
139685
  /* harmony export */ "SubheaderConverter": () => (/* binding */ SubheaderConverter)
139627
139686
  /* harmony export */ });
139628
- /* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
139629
- /* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
139630
- /* harmony import */ var _SubheaderNode__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./SubheaderNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Subheader/SubheaderNode.ts");
139687
+ /* 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");
139688
+ /* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
139689
+ /* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
139690
+ /* harmony import */ var _SubheaderNode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./SubheaderNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Subheader/SubheaderNode.ts");
139691
+
139631
139692
 
139632
139693
 
139633
139694
 
139634
- class SubheaderConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.SugarNodeConverterBase {
139695
+ class SubheaderConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.SugarNodeConverterBase {
139635
139696
  static getAcceptNodeClass() {
139636
- return _SubheaderNode__WEBPACK_IMPORTED_MODULE_2__.SubheaderNode;
139697
+ return _SubheaderNode__WEBPACK_IMPORTED_MODULE_3__.SubheaderNode;
139637
139698
  }
139638
139699
 
139639
139700
  doBuildDataDeclaration(context) {
139640
- const node = this.getCurrentNodeAs(_SubheaderNode__WEBPACK_IMPORTED_MODULE_2__.SubheaderNode);
139701
+ const node = this.getCurrentNodeAs(_SubheaderNode__WEBPACK_IMPORTED_MODULE_3__.SubheaderNode);
139641
139702
  return context.addVisibilityPathDeclEntryNew(node);
139642
139703
  }
139643
139704
 
139644
139705
  buildChildrenDataDeclaration(context) {
139645
- const node = this.getCurrentNodeAs(_SubheaderNode__WEBPACK_IMPORTED_MODULE_2__.SubheaderNode);
139706
+ const node = this.getCurrentNodeAs(_SubheaderNode__WEBPACK_IMPORTED_MODULE_3__.SubheaderNode);
139646
139707
  return context.processChildrenDataDeclaration(node.children);
139647
139708
  }
139648
139709
 
139649
139710
  *doTraverseChildren() {
139650
- const node = this.getCurrentNodeAs(_SubheaderNode__WEBPACK_IMPORTED_MODULE_2__.SubheaderNode);
139711
+ const node = this.getCurrentNodeAs(_SubheaderNode__WEBPACK_IMPORTED_MODULE_3__.SubheaderNode);
139651
139712
  yield* node.children;
139652
139713
  }
139653
139714
 
139654
139715
  doConvert(context) {
139655
- const node = this.getCurrentNodeAs(_SubheaderNode__WEBPACK_IMPORTED_MODULE_2__.SubheaderNode);
139656
- const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__.componentMarkupBuilder)("SubHeader");
139657
- markupBuilder.prop(x => x.level).set(node.level || 1);
139716
+ var _node$level;
139717
+
139718
+ const node = this.getCurrentNodeAs(_SubheaderNode__WEBPACK_IMPORTED_MODULE_3__.SubheaderNode);
139719
+ const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("SubHeader");
139720
+ 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
139721
  markupBuilder.appendChild(context.convertChildNodes(node.children));
139659
139722
  return markupBuilder.buildConverterResult();
139660
139723
  }
@@ -139683,6 +139746,7 @@ __webpack_require__.r(__webpack_exports__);
139683
139746
  /* harmony import */ var _CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../CommonNodeProperties/DataBindingMixinNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/DataBindingMixinNode.ts");
139684
139747
  /* harmony import */ var _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../Serializer/SugarNodeWithLegacyVisibility */ "./Generator/src/generators/markupGenerator/Serializer/SugarNodeWithLegacyVisibility.ts");
139685
139748
  /* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
139749
+ /* 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
139750
 
139687
139751
 
139688
139752
 
@@ -139692,7 +139756,8 @@ var _dec, _dec2, _dec3, _dec4, _class, _class2, _descriptor, _descriptor2, _desc
139692
139756
 
139693
139757
 
139694
139758
 
139695
- 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.number, `Уровень заголовка начиная с 1. Чем больше номер, тем меньше размер текста.`), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec(_class = (_class2 = class SubheaderNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_4__.SugarNodeWithLegacyVisibility {
139759
+
139760
+ 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
139761
  constructor(...args) {
139697
139762
  super(...args);
139698
139763
 
@@ -156980,7 +157045,7 @@ __webpack_require__.r(__webpack_exports__);
156980
157045
  /* harmony import */ var _getRootPath__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getRootPath */ "./Generator/src/generators/markupGenerator/getRootPath.ts");
156981
157046
 
156982
157047
  function getSettings(sugarRoot, gfv, additionalSettings) {
156983
- var _sugarRoot$ieSizeLimi;
157048
+ var _sugarRoot$ieSizeLimi, _sugarRoot$isReadOnly;
156984
157049
 
156985
157050
  const settings = {
156986
157051
  formRoot: (0,_getRootPath__WEBPACK_IMPORTED_MODULE_0__.getRootPath)(sugarRoot),
@@ -156992,7 +157057,8 @@ function getSettings(sugarRoot, gfv, additionalSettings) {
156992
157057
  regions: [],
156993
157058
  useSizeLimitationForIe: (_sugarRoot$ieSizeLimi = sugarRoot.ieSizeLimitation) !== null && _sugarRoot$ieSizeLimi !== void 0 ? _sugarRoot$ieSizeLimi : false,
156994
157059
  ieDeprecationWarningEnabled: sugarRoot.ieDeprecationWarningEnabled,
156995
- isReadOnly: sugarRoot.isReadOnly,
157060
+ compactActionPanel: sugarRoot.compactActionPanel,
157061
+ isReadOnly: (_sugarRoot$isReadOnly = sugarRoot.isReadOnly) !== null && _sugarRoot$isReadOnly !== void 0 ? _sugarRoot$isReadOnly : false,
156996
157062
  gfv: gfv,
156997
157063
  ...additionalSettings
156998
157064
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kontur.candy/generator",
3
- "version": "4.259.0-readonly-candy.0",
3
+ "version": "4.262.0-readonly-candy.0",
4
4
  "description": "Candy forms generator",
5
5
  "author": "SKBKontur Candy Team",
6
6
  "private": false,