@kontur.candy/generator 4.272.0-mass-delete.0 → 4.272.0-react-ui4.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 +263 -148
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -34469,7 +34469,7 @@ function highlight(code, options = {}) {
34469
34469
 
34470
34470
  "use strict";
34471
34471
 
34472
- const escapeStringRegexp = __webpack_require__(/*! escape-string-regexp */ "./node_modules/escape-string-regexp/index.js");
34472
+ const escapeStringRegexp = __webpack_require__(/*! escape-string-regexp */ "./node_modules/@babel/highlight/node_modules/escape-string-regexp/index.js");
34473
34473
  const ansiStyles = __webpack_require__(/*! ansi-styles */ "./node_modules/ansi-styles/index.js");
34474
34474
  const stdoutColor = (__webpack_require__(/*! supports-color */ "./node_modules/@babel/highlight/node_modules/supports-color/index.js").stdout);
34475
34475
 
@@ -34837,6 +34837,28 @@ module.exports = (chalk, tmp) => {
34837
34837
  };
34838
34838
 
34839
34839
 
34840
+ /***/ }),
34841
+
34842
+ /***/ "./node_modules/@babel/highlight/node_modules/escape-string-regexp/index.js":
34843
+ /*!**********************************************************************************!*\
34844
+ !*** ./node_modules/@babel/highlight/node_modules/escape-string-regexp/index.js ***!
34845
+ \**********************************************************************************/
34846
+ /***/ ((module) => {
34847
+
34848
+ "use strict";
34849
+
34850
+
34851
+ var matchOperatorsRe = /[|\\{}()[\]^$+*?.]/g;
34852
+
34853
+ module.exports = function (str) {
34854
+ if (typeof str !== 'string') {
34855
+ throw new TypeError('Expected a string');
34856
+ }
34857
+
34858
+ return str.replace(matchOperatorsRe, '\\$&');
34859
+ };
34860
+
34861
+
34840
34862
  /***/ }),
34841
34863
 
34842
34864
  /***/ "./node_modules/@babel/highlight/node_modules/has-flag/index.js":
@@ -121929,6 +121951,10 @@ class FormSchemaRngAttribute {
121929
121951
  return this.optional || this.nillable || false;
121930
121952
  }
121931
121953
 
121954
+ isOptional() {
121955
+ return this.isOptionalOrNillable() || this.parent.isOptionalOrNillable();
121956
+ }
121957
+
121932
121958
  }
121933
121959
  const RootParent = Symbol.for("__ROOT_ELEMENT_PARENT__");
121934
121960
  class FormSchemaRngElement {
@@ -121980,6 +122006,10 @@ class FormSchemaRngElement {
121980
122006
  return this.optional || this.nillable || false;
121981
122007
  }
121982
122008
 
122009
+ isOptional() {
122010
+ return this.isOptionalOrNillable();
122011
+ }
122012
+
121983
122013
  getChildren() {
121984
122014
  return this.children;
121985
122015
  }
@@ -131503,7 +131533,7 @@ class FLangValidationBuildContext {
131503
131533
  }, undefined);
131504
131534
 
131505
131535
  if (enumerationRuleBody != undefined) {
131506
- yield [new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_6__.NegateUnaryExpression(enumerationRuleBody), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_6__.StringLiteralExpression(`["Поле должно быть заполнено"]`)];
131536
+ yield [new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_6__.NegateUnaryExpression(enumerationRuleBody), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_6__.StringLiteralExpression(`["Поле заполнено не по справочнику"]`)];
131507
131537
  }
131508
131538
 
131509
131539
  const makeArrayLiteral = text => new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_6__.StringLiteralExpression(`["${text}"]`);
@@ -131564,7 +131594,7 @@ class FLangValidationBuildContext {
131564
131594
  const totalDigitsValue = (_typeNodeTotalDigits$ = typeNodeTotalDigits === null || typeNodeTotalDigits === void 0 ? void 0 : typeNodeTotalDigits.value) !== null && _typeNodeTotalDigits$ !== void 0 ? _typeNodeTotalDigits$ : schemaTypeNode === null || schemaTypeNode === void 0 ? void 0 : schemaTypeNode.totalDigits;
131565
131595
 
131566
131596
  if (totalDigitsValue != undefined) {
131567
- const totalDigitsRuleBody = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_6__.NegateUnaryExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_6__.LeExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_6__.LenExpression(valueReference), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_6__.DecimalLiteralExpression(totalDigitsValue)));
131597
+ const totalDigitsRuleBody = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_6__.NegateUnaryExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_6__.LeExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_6__.NumLenExpression(valueReference), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_6__.DecimalLiteralExpression(totalDigitsValue)));
131568
131598
  yield [totalDigitsRuleBody, new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_6__.StringLiteralExpression(`["Число не может содержать более ${totalDigitsValue} знаков"]`)];
131569
131599
  }
131570
131600
 
@@ -131572,8 +131602,11 @@ class FLangValidationBuildContext {
131572
131602
  const pattern = (_typeNodePattern$valu = typeNodePattern === null || typeNodePattern === void 0 ? void 0 : typeNodePattern.value) !== null && _typeNodePattern$valu !== void 0 ? _typeNodePattern$valu : schemaTypeNode === null || schemaTypeNode === void 0 ? void 0 : (_schemaTypeNode$patte = schemaTypeNode.patterns) === null || _schemaTypeNode$patte === void 0 ? void 0 : _schemaTypeNode$patte[0];
131573
131603
 
131574
131604
  if (pattern != undefined) {
131605
+ var _schemaTypeNode$descr;
131606
+
131575
131607
  const totalDigitsRuleBody = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_6__.NegateUnaryExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_6__.CallExpression("regexMatch", [valueReference, new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_6__.StringLiteralExpression(pattern)]));
131576
- yield [totalDigitsRuleBody, new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_6__.StringLiteralExpression(`["Поле должно быть заполнено"]`)];
131608
+ const validationErrorMessage = (_schemaTypeNode$descr = schemaTypeNode === null || schemaTypeNode === void 0 ? void 0 : schemaTypeNode.description) !== null && _schemaTypeNode$descr !== void 0 ? _schemaTypeNode$descr : "Поле заполнено неверно";
131609
+ yield [totalDigitsRuleBody, new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_6__.StringLiteralExpression(`["${validationErrorMessage}"]`)];
131577
131610
  }
131578
131611
 
131579
131612
  const typeNodeFractional = typeNode === null || typeNode === void 0 ? void 0 : (_typeNode$children9 = typeNode.children) === null || _typeNode$children9 === void 0 ? void 0 : _typeNode$children9.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_0__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_0__.FractiondigitsTypeCheckNode));
@@ -131706,6 +131739,7 @@ __webpack_require__.r(__webpack_exports__);
131706
131739
  /* harmony export */ "BoolLiteralExpression": () => (/* binding */ BoolLiteralExpression),
131707
131740
  /* harmony export */ "AbsExpression": () => (/* binding */ AbsExpression),
131708
131741
  /* harmony export */ "LenExpression": () => (/* binding */ LenExpression),
131742
+ /* harmony export */ "NumLenExpression": () => (/* binding */ NumLenExpression),
131709
131743
  /* harmony export */ "FractionalLenExpression": () => (/* binding */ FractionalLenExpression),
131710
131744
  /* harmony export */ "RoundExpression": () => (/* binding */ RoundExpression),
131711
131745
  /* harmony export */ "IntegerLiteralExpression": () => (/* binding */ IntegerLiteralExpression),
@@ -132062,6 +132096,18 @@ class LenExpression extends FLangExpression {
132062
132096
  return `len(${this.expression.convertToString()})`;
132063
132097
  }
132064
132098
 
132099
+ }
132100
+ class NumLenExpression extends FLangExpression {
132101
+ constructor(expression) {
132102
+ super();
132103
+ this.expression = void 0;
132104
+ this.expression = expression;
132105
+ }
132106
+
132107
+ convertToString() {
132108
+ return `numLen(${this.expression.convertToString()})`;
132109
+ }
132110
+
132065
132111
  }
132066
132112
  class FractionalLenExpression extends FLangExpression {
132067
132113
  constructor(expression) {
@@ -132328,7 +132374,7 @@ class NormalizationRulesGenerator {
132328
132374
  buildSugarFLangRules() {
132329
132375
  const converter = new _markupGenerator_ElementProcessors_FormParts_Form_FormConverter__WEBPACK_IMPORTED_MODULE_2__.FormConverter(this.sugarRoot);
132330
132376
  const builder = new _markupGenerator_FLangNormalizationRulesBuilder__WEBPACK_IMPORTED_MODULE_8__.FLangNormalizationRulesBuilder(this.controlCustomizationContext);
132331
- return converter.buildNormalizeRules(builder);
132377
+ return converter.buildNormalizeRules(builder, this.formSchemaRng);
132332
132378
  }
132333
132379
 
132334
132380
  *buildFormulaFLangRules() {
@@ -132516,15 +132562,35 @@ class NormalizationRulesGenerator {
132516
132562
  }
132517
132563
 
132518
132564
  compileSumExpression(expression, prefix, target, addPrecalculationRule) {
132519
- const result = expression.arguments.reduce((acc, curr) => {
132520
- const currExpr = this.castOperandToDecimalIfNeed(this.compileExpressionToFlashExpression(curr, prefix, target, addPrecalculationRule));
132565
+ const args = this.getFlatArgumentExpressions(expression.arguments);
132566
+ const conditionExpression = args.reduce((acc, curr) => {
132567
+ const currExpr = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_13__.NotEqExpression(this.compileExpressionToFlashExpression(curr, prefix, target, addPrecalculationRule), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_13__.NullLiteralExpression());
132568
+ return acc != undefined ? new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_13__.OrBinaryExpression(acc, currExpr) : currExpr;
132569
+ }, undefined);
132570
+
132571
+ if (conditionExpression == undefined) {
132572
+ const result = expression.arguments.reduce((acc, curr) => {
132573
+ const currExpr = this.castOperandToDecimalIfNeed(this.compileExpressionToFlashExpression(curr, prefix, target, addPrecalculationRule));
132574
+ return acc != undefined ? new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_13__.SumBinaryExpression(acc, currExpr) : currExpr;
132575
+ }, undefined);
132576
+
132577
+ if (result == undefined) {
132578
+ throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_7__.InvalidProgramStateError();
132579
+ }
132580
+
132581
+ return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_13__.CastExpression(result, "string");
132582
+ }
132583
+
132584
+ const trueResultExpression = expression.arguments.reduce((acc, curr) => {
132585
+ const currExpr = this.castOperandToDecimalIfNeed(this.compileExpressionToFlashExpression(curr, prefix, target, addPrecalculationRule), 0);
132521
132586
  return acc != undefined ? new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_13__.SumBinaryExpression(acc, currExpr) : currExpr;
132522
132587
  }, undefined);
132523
132588
 
132524
- if (result == undefined) {
132589
+ if (trueResultExpression == undefined) {
132525
132590
  throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_7__.InvalidProgramStateError();
132526
132591
  }
132527
132592
 
132593
+ const result = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_13__.ConditionalExpression(conditionExpression, trueResultExpression, new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_13__.NullLiteralExpression());
132528
132594
  return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_13__.CastExpression(result, "string");
132529
132595
  }
132530
132596
 
@@ -132594,19 +132660,33 @@ class NormalizationRulesGenerator {
132594
132660
  return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_13__.CastExpression(result, "string");
132595
132661
  }
132596
132662
 
132663
+ getFlatArgumentExpressions(expressions) {
132664
+ return expressions.reduce((acc, curr) => {
132665
+ if (curr instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_3__.FormulaArgumentExpression) {
132666
+ return acc.concat(curr);
132667
+ }
132668
+
132669
+ if (curr instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_3__.FormulaSumExpression || curr instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_3__.FormulaDivisionExpression || curr instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_3__.FormulaMultiplyExpression) {
132670
+ return acc.concat(this.getFlatArgumentExpressions(curr.arguments));
132671
+ }
132672
+
132673
+ return acc;
132674
+ }, []);
132675
+ }
132676
+
132597
132677
  castOperandToStringIfNeed(operandExpression) {
132598
132678
  return operandExpression instanceof _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_13__.StringLiteralExpression || operandExpression instanceof _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_13__.CastExpression && operandExpression.getTargetType() == "string" ? operandExpression : new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_13__.CastExpression(operandExpression, "string");
132599
132679
  }
132600
132680
 
132601
- castOperandToDecimalIfNeed(operandExpression) {
132602
- return operandExpression instanceof _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_13__.DecimalLiteralExpression ? operandExpression : new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_13__.CastExpression(operandExpression, "decimal");
132681
+ castOperandToDecimalIfNeed(operandExpression, defaultValue) {
132682
+ return operandExpression instanceof _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_13__.DecimalLiteralExpression ? operandExpression : new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_13__.CastExpression(operandExpression, "decimal", defaultValue != undefined ? new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_13__.DecimalLiteralExpression(defaultValue) : undefined);
132603
132683
  }
132604
132684
 
132605
132685
  *buildSugarValidationRules() {
132606
132686
  const converter = new _markupGenerator_ElementProcessors_FormParts_Form_FormConverter__WEBPACK_IMPORTED_MODULE_2__.FormConverter(this.sugarRoot);
132607
132687
  const context = new _FLangValidationBuildContext__WEBPACK_IMPORTED_MODULE_14__.FLangValidationBuildContext(this.typesRegistry, this.formSchemaRng, this.useSchemaValidations);
132608
132688
  const kcRules = this.buildKcValidationRules();
132609
- const allRules = Iterator.from(converter.buildFLangValidations(context)).reduce((ctx, current) => {
132689
+ const allRules = Iterator.from(converter.buildFLangValidations(context, this.formSchemaRng)).reduce((ctx, current) => {
132610
132690
  const statement = current.statement;
132611
132691
 
132612
132692
  if (!(statement instanceof _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_13__.SetStatement)) {
@@ -137091,6 +137171,7 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
137091
137171
  bindingPath: (0,_getBindingPath__WEBPACK_IMPORTED_MODULE_15__.getNewBindingPathExpression)(pageNode),
137092
137172
  optional: pageNode.optional,
137093
137173
  pageActions: pageNode.pageActions,
137174
+ hideEnableAutoValues: pageNode.hideEnableAutoValues,
137094
137175
  showOnDemand: pageNode.showOnDemand,
137095
137176
  onNavigateFromErrorLog: context.generateHelperFunctionExpressionWithoutContext(pageNode, "onNavigateFromErrorLog", pageNode.onNavigateFromErrorLog)
137096
137177
  };
@@ -137202,6 +137283,10 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
137202
137283
  markupBuilder.prop(x => x.pageActions).set(pageNode.pageActions);
137203
137284
  }
137204
137285
 
137286
+ if (pageNode.hideEnableAutoValues != undefined) {
137287
+ markupBuilder.prop(x => x.hideEnableAutoValues).set(pageNode.hideEnableAutoValues);
137288
+ }
137289
+
137205
137290
  const pageMarkupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_5__.componentMarkupBuilder)([], this.getPageName(pageNode));
137206
137291
  markupBuilder.appendChild(pageMarkupBuilder);
137207
137292
  markupBuilder.appendChildren(pageNode.pages.map(x => this.buildPageUnit(node, x)));
@@ -138039,19 +138124,18 @@ class PageConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_4__.Sug
138039
138124
  return false;
138040
138125
  }
138041
138126
 
138042
- *doBuildNormalizeRules(builder) {
138127
+ *doBuildNormalizeRules(builder, formSchemaRng) {
138043
138128
  const node = this.getCurrentNodeAs(_PageNode__WEBPACK_IMPORTED_MODULE_14__.PageNode);
138129
+ const element = formSchemaRng.getElementByPath(node.getFullPath());
138044
138130
 
138045
138131
  if (node.path == undefined) {
138046
138132
  return;
138047
138133
  }
138048
138134
 
138049
138135
  if (node.multiple) {
138050
- var _node$optional;
138051
-
138052
- yield* builder.childrenInitializer(node, (_node$optional = node.optional) !== null && _node$optional !== void 0 ? _node$optional : false);
138136
+ const isOptional = node.optional == undefined ? element === null || element === void 0 ? void 0 : element.isOptional() : node.optional;
138137
+ yield* builder.childrenInitializer(node, isOptional !== null && isOptional !== void 0 ? isOptional : false);
138053
138138
  yield* builder.specialFieldsInitializer(node, {
138054
- optional: node.optional,
138055
138139
  disabled: undefined
138056
138140
  });
138057
138141
  }
@@ -138209,7 +138293,7 @@ __webpack_require__.r(__webpack_exports__);
138209
138293
 
138210
138294
 
138211
138295
 
138212
- var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _dec24, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23;
138296
+ var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _dec24, _dec25, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24;
138213
138297
 
138214
138298
 
138215
138299
 
@@ -138217,7 +138301,7 @@ var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11
138217
138301
 
138218
138302
 
138219
138303
 
138220
- let PageNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("page", `Страница (раздел)`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Page sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("id", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, `Уникальный идентификатор странцы. Все страницы в форме должны иметь уникальный идентификатор. 1111`), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("template", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType["enum"]("default", "title", "multiple", "diadoc"), 'Для множественных разделов необходимо указать `template="multiple"`, для обычных разделов `template="default"`'), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__.bindingPathLink)} данного элемента`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("headerpanel", [_UnitParts_HeaderPanel_HeaderPanelNode__WEBPACK_IMPORTED_MODULE_3__.HeaderPanelNode]), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.deprecatedAttr)("title", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_4__.DeprecationReason.Removed), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.deprecatedAttr)("formName", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_4__.DeprecationReason.Removed), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("showOnDemand", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.boolean, `Раздел не будет отображаться на странице, пока не будет вызван явно. Например, через механизм отображения раздела в разделе.`), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("onNavigateFromErrorLog", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.helperFunctionName, "Имя кастомной helpers функции, которая вызовется перед попыткой навигации в контрол внутри раздела"), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("orientation", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType["enum"]("landscape"), `Ориентация страницы. При значении landscape станницы займёт всю доступную ширину экрана`), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("navigationName", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.localizedString, `Название Раздела в меню, если в сахаре есть отдельное описание навигации (unitList), то указывать не нужно`), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("height", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number, `Начальная высота раздела`), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("minHeight", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number, `Минимальная высота раздела`), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("multiple", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.boolean, `Обозначение множественного раздела`), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("unitsCountForPaging", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number, `Количество инстансов множественного раздела на котором включается паджинация раздела`), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("multipleAppearance", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType["enum"]("nested", "flat"), "Представление множественных разделов: вложенное или плоское"), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.boolean, `Опциональный раздел`), _dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("pageActions", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.objectLiteral(), `Атрибут для кастомизации действий с разделом`), _dec19 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("navigationLimit", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number, `Количество экземпляров множественного раздела после которого в левом меню будет включаться компактный режим отображения разделов. По умолчанию: 15. Используется только для множественных разделов`), _dec20 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("addingHint", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.localizedString, `Подсказка на кнопке добавления раздела в боковом меню. Используется только для множественных разделов`), _dec21 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)("page"), _dec22 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec23 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("title", [_PageTitleNode__WEBPACK_IMPORTED_MODULE_8__.PageTitleNode]), _dec24 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("visible", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.javascriptExpression, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__.javaScriptExpressionLink)} для условного скрытия раздела`), _dec(_class = (_class2 = class PageNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.SugarNodeBase {
138304
+ let PageNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("page", `Страница (раздел)`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Page sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("id", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, `Уникальный идентификатор странцы. Все страницы в форме должны иметь уникальный идентификатор. 1111`), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("template", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType["enum"]("default", "title", "multiple", "diadoc"), 'Для множественных разделов необходимо указать `template="multiple"`, для обычных разделов `template="default"`'), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__.bindingPathLink)} данного элемента`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("headerpanel", [_UnitParts_HeaderPanel_HeaderPanelNode__WEBPACK_IMPORTED_MODULE_3__.HeaderPanelNode]), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.deprecatedAttr)("title", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_4__.DeprecationReason.Removed), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.deprecatedAttr)("formName", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_4__.DeprecationReason.Removed), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("showOnDemand", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.boolean, `Раздел не будет отображаться на странице, пока не будет вызван явно. Например, через механизм отображения раздела в разделе.`), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("onNavigateFromErrorLog", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.helperFunctionName, "Имя кастомной helpers функции, которая вызовется перед попыткой навигации в контрол внутри раздела"), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("orientation", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType["enum"]("landscape"), `Ориентация страницы. При значении landscape станницы займёт всю доступную ширину экрана`), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("navigationName", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.localizedString, `Название Раздела в меню, если в сахаре есть отдельное описание навигации (unitList), то указывать не нужно`), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("height", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number, `Начальная высота раздела`), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("minHeight", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number, `Минимальная высота раздела`), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("multiple", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.boolean, `Обозначение множественного раздела`), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("unitsCountForPaging", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number, `Количество инстансов множественного раздела на котором включается паджинация раздела`), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("multipleAppearance", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType["enum"]("nested", "flat"), "Представление множественных разделов: вложенное или плоское"), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.boolean, `Опциональный раздел`), _dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("pageActions", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.objectLiteral(), `Атрибут для кастомизации действий с разделом`), _dec19 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("hideEnableAutoValues", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.boolean, `Всегда скрывать кнопку "Включить авторасчет", даже при включенной серверной нормализации`), _dec20 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("navigationLimit", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number, `Количество экземпляров множественного раздела после которого в левом меню будет включаться компактный режим отображения разделов. По умолчанию: 15. Используется только для множественных разделов`), _dec21 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("addingHint", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.localizedString, `Подсказка на кнопке добавления раздела в боковом меню. Используется только для множественных разделов`), _dec22 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)("page"), _dec23 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec24 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("title", [_PageTitleNode__WEBPACK_IMPORTED_MODULE_8__.PageTitleNode]), _dec25 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("visible", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.javascriptExpression, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__.javaScriptExpressionLink)} для условного скрытия раздела`), _dec(_class = (_class2 = class PageNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.SugarNodeBase {
138221
138305
  constructor(...args) {
138222
138306
  super(...args);
138223
138307
 
@@ -138255,17 +138339,19 @@ let PageNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5
138255
138339
 
138256
138340
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "pageActions", _descriptor17, this);
138257
138341
 
138258
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "navigationLimit", _descriptor18, this);
138342
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "hideEnableAutoValues", _descriptor18, this);
138259
138343
 
138260
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "addingHint", _descriptor19, this);
138344
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "navigationLimit", _descriptor19, this);
138261
138345
 
138262
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "pages", _descriptor20, this);
138346
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "addingHint", _descriptor20, this);
138263
138347
 
138264
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor21, this);
138348
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "pages", _descriptor21, this);
138265
138349
 
138266
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "title", _descriptor22, this);
138350
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor22, this);
138267
138351
 
138268
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "visible", _descriptor23, this);
138352
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "title", _descriptor23, this);
138353
+
138354
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "visible", _descriptor24, this);
138269
138355
  }
138270
138356
 
138271
138357
  getOwnPath() {
@@ -138363,32 +138449,37 @@ let PageNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5
138363
138449
  enumerable: true,
138364
138450
  writable: true,
138365
138451
  initializer: null
138366
- }), _descriptor18 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "navigationLimit", [_dec19], {
138452
+ }), _descriptor18 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "hideEnableAutoValues", [_dec19], {
138367
138453
  configurable: true,
138368
138454
  enumerable: true,
138369
138455
  writable: true,
138370
138456
  initializer: null
138371
- }), _descriptor19 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "addingHint", [_dec20], {
138457
+ }), _descriptor19 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "navigationLimit", [_dec20], {
138372
138458
  configurable: true,
138373
138459
  enumerable: true,
138374
138460
  writable: true,
138375
138461
  initializer: null
138376
- }), _descriptor20 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "pages", [_dec21], {
138462
+ }), _descriptor20 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "addingHint", [_dec21], {
138377
138463
  configurable: true,
138378
138464
  enumerable: true,
138379
138465
  writable: true,
138380
138466
  initializer: null
138381
- }), _descriptor21 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec22], {
138467
+ }), _descriptor21 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "pages", [_dec22], {
138468
+ configurable: true,
138469
+ enumerable: true,
138470
+ writable: true,
138471
+ initializer: null
138472
+ }), _descriptor22 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec23], {
138382
138473
  configurable: true,
138383
138474
  enumerable: true,
138384
138475
  writable: true,
138385
138476
  initializer: null
138386
- }), _descriptor22 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "title", [_dec23], {
138477
+ }), _descriptor23 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "title", [_dec24], {
138387
138478
  configurable: true,
138388
138479
  enumerable: true,
138389
138480
  writable: true,
138390
138481
  initializer: null
138391
- }), _descriptor23 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "visible", [_dec24], {
138482
+ }), _descriptor24 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "visible", [_dec25], {
138392
138483
  configurable: true,
138393
138484
  enumerable: true,
138394
138485
  writable: true,
@@ -144033,7 +144124,6 @@ class CrossfitTableConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODUL
144033
144124
 
144034
144125
  yield* builder.childrenInitializer(rowNode, (_rowNode$optional = rowNode.optional) !== null && _rowNode$optional !== void 0 ? _rowNode$optional : false, rowNode.defaultChildren);
144035
144126
  yield* builder.specialFieldsInitializer(rowNode, {
144036
- optional: rowNode.optional,
144037
144127
  disabled: undefined
144038
144128
  });
144039
144129
  }
@@ -147350,6 +147440,20 @@ class StickyTableWithMultilineConverter extends _SugarNodeConverter__WEBPACK_IMP
147350
147440
  return _StickyTableNode__WEBPACK_IMPORTED_MODULE_17__.StickyTableNode;
147351
147441
  }
147352
147442
 
147443
+ *doBuildNormalizeRules(builder, formSchemaRng) {
147444
+ const node = this.getCurrentNodeAs(_StickyTableNode__WEBPACK_IMPORTED_MODULE_17__.StickyTableNode);
147445
+
147446
+ for (const row of node.rows) {
147447
+ if (row instanceof _StickyTableNode__WEBPACK_IMPORTED_MODULE_17__.StickyTableMultilineNode) {
147448
+ var _ref;
147449
+
147450
+ const element = formSchemaRng.getElementByPath(row.getFullPath());
147451
+ const isOptional = (_ref = row.optional == undefined ? element === null || element === void 0 ? void 0 : element.isOptional() : row.optional) !== null && _ref !== void 0 ? _ref : false;
147452
+ yield* builder.childrenInitializer(row, isOptional);
147453
+ }
147454
+ }
147455
+ }
147456
+
147353
147457
  *doTraverseChildren() {
147354
147458
  const node = this.getCurrentNodeAs(_StickyTableNode__WEBPACK_IMPORTED_MODULE_17__.StickyTableNode);
147355
147459
 
@@ -147457,9 +147561,9 @@ class StickyTableWithMultilineConverter extends _SugarNodeConverter__WEBPACK_IMP
147457
147561
 
147458
147562
  processMultilineNode(context, rowNode) {
147459
147563
  if (rowNode instanceof _StickyTableNode__WEBPACK_IMPORTED_MODULE_17__.StickyTableMultilineNode) {
147460
- var _ref, _rowNode$optional;
147564
+ var _ref2, _rowNode$optional;
147461
147565
 
147462
- return context.mergeDataDeclaration(context.addPathDeclEntry(rowNode, [["children", context.initSequenceFactory.children((_ref = (_rowNode$optional = rowNode.optional) !== null && _rowNode$optional !== void 0 ? _rowNode$optional : context.isMultipleNodeOptionalFromScheme(rowNode.getFullPath())) !== null && _ref !== void 0 ? _ref : false, rowNode.defaultChildren)]]), rowNode.maxOccurs != undefined && /^\d+$/.test(rowNode.maxOccurs) && context.maxOccurs(rowNode.getFullPath(), rowNode.maxOccurs), context.addSpecialFieldsEntry(rowNode, {
147566
+ return context.mergeDataDeclaration(context.addPathDeclEntry(rowNode, [["children", context.initSequenceFactory.children((_ref2 = (_rowNode$optional = rowNode.optional) !== null && _rowNode$optional !== void 0 ? _rowNode$optional : context.isMultipleNodeOptionalFromScheme(rowNode.getFullPath())) !== null && _ref2 !== void 0 ? _ref2 : false, rowNode.defaultChildren)]]), rowNode.maxOccurs != undefined && /^\d+$/.test(rowNode.maxOccurs) && context.maxOccurs(rowNode.getFullPath(), rowNode.maxOccurs), context.addSpecialFieldsEntry(rowNode, {
147463
147567
  optional: rowNode.optional
147464
147568
  }), context.addPathSectionDeclarationEntry(rowNode), context.addVisibilityPathDeclEntryNew(rowNode), context.processChildrenDataDeclaration(rowNode.rows, rowNode2 => this.processMultilineRowNode(context, rowNode2)));
147465
147569
  }
@@ -147532,11 +147636,11 @@ class StickyTableWithMultilineConverter extends _SugarNodeConverter__WEBPACK_IMP
147532
147636
  const sideSize = (_node$side2 = node.side) !== null && _node$side2 !== void 0 ? _node$side2 : 0;
147533
147637
 
147534
147638
  if (this.isSimpleForm()) {
147535
- var _ref2, _node$deprecatedDiado;
147639
+ var _ref3, _node$deprecatedDiado;
147536
147640
 
147537
147641
  mb.prop(x => x.maxWidth).set(orientation === "landscape" ? maxWidth : undefined);
147538
147642
  mb.prop(x => x.sideSize).set(this.hasActionButton(node) && sideSize !== 0 ? sideSize + 1 : sideSize);
147539
- const width = (_ref2 = (_node$deprecatedDiado = node.deprecatedDiadocWidth) !== null && _node$deprecatedDiado !== void 0 ? _node$deprecatedDiado : node.width) !== null && _ref2 !== void 0 ? _ref2 : maxWidthSimpleForm;
147643
+ const width = (_ref3 = (_node$deprecatedDiado = node.deprecatedDiadocWidth) !== null && _node$deprecatedDiado !== void 0 ? _node$deprecatedDiado : node.width) !== null && _ref3 !== void 0 ? _ref3 : maxWidthSimpleForm;
147540
147644
  mb.prop(x => x.width).set(width);
147541
147645
  mb.prop(x => x.footerHeight).set(160);
147542
147646
  } else {
@@ -147825,10 +147929,10 @@ BindingPath: ${errorPath}`));
147825
147929
  if (this.isSimpleForm()) {
147826
147930
  mb.prop(x => x.buttonType).set(undefined);
147827
147931
  } else {
147828
- var _multiline$rowmenu, _ref3, _tableNode$removeButt;
147932
+ var _multiline$rowmenu, _ref4, _tableNode$removeButt;
147829
147933
 
147830
147934
  const rowMenu = (_multiline$rowmenu = multiline.rowmenu) !== null && _multiline$rowmenu !== void 0 ? _multiline$rowmenu : false;
147831
- const removebutton = (_ref3 = (_tableNode$removeButt = tableNode.removeButton) !== null && _tableNode$removeButt !== void 0 ? _tableNode$removeButt : multiline.removebutton) !== null && _ref3 !== void 0 ? _ref3 : true;
147935
+ const removebutton = (_ref4 = (_tableNode$removeButt = tableNode.removeButton) !== null && _tableNode$removeButt !== void 0 ? _tableNode$removeButt : multiline.removebutton) !== null && _ref4 !== void 0 ? _ref4 : true;
147832
147936
  mb.prop(x => x.buttonType).set(rowMenu ? "RowMenu" : removebutton ? "RemoveRowButton" : undefined);
147833
147937
  }
147834
147938
 
@@ -147851,7 +147955,7 @@ BindingPath: ${errorPath}`));
147851
147955
  }
147852
147956
 
147853
147957
  getMultiline(context, node, multiline, start, end = Infinity) {
147854
- var _ref4, _node$removeButton, _multiline$rowmenu2, _ref5, _node$removeButton2, _context$popPathsCont2;
147958
+ var _ref5, _node$removeButton, _multiline$rowmenu2, _ref6, _node$removeButton2, _context$popPathsCont2;
147855
147959
 
147856
147960
  const overrideInfo = multiline.override ? context.controlCustomizationContext.getControlCustomizationInfo("multiline", multiline.override) : undefined;
147857
147961
  const mb = overrideInfo == undefined ? (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_5__.componentMarkupBuilder)("MultiLine") : (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_5__.componentMarkupBuilder)(overrideInfo.dependencies, overrideInfo.controlName);
@@ -147865,7 +147969,7 @@ BindingPath: ${errorPath}`));
147865
147969
  mb.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_13__.getNewBindingPathExpression)(multiline));
147866
147970
  mb.prop(x => x.showRowBorder).set(multiline.showRowBorder);
147867
147971
  mb.prop(x => x.onRowCLick).set(context.generateHelperFunctionExpression(multiline, "onRowClick", multiline.onRowClick));
147868
- const hasRemoveButton = ((_ref4 = (_node$removeButton = node.removeButton) !== null && _node$removeButton !== void 0 ? _node$removeButton : multiline.removebutton) !== null && _ref4 !== void 0 ? _ref4 : true) || ((_multiline$rowmenu2 = multiline.rowmenu) !== null && _multiline$rowmenu2 !== void 0 ? _multiline$rowmenu2 : false);
147972
+ const hasRemoveButton = ((_ref5 = (_node$removeButton = node.removeButton) !== null && _node$removeButton !== void 0 ? _node$removeButton : multiline.removebutton) !== null && _ref5 !== void 0 ? _ref5 : true) || ((_multiline$rowmenu2 = multiline.rowmenu) !== null && _multiline$rowmenu2 !== void 0 ? _multiline$rowmenu2 : false);
147869
147973
  const needAddButton = multiline.addbutton !== "false";
147870
147974
 
147871
147975
  if (this.isSimpleForm()) {
@@ -147878,7 +147982,7 @@ BindingPath: ${errorPath}`));
147878
147982
  mb.prop(x => x.removeButtonPosition).set(undefined);
147879
147983
  }
147880
147984
 
147881
- mb.prop(x => x.disableScroll).set(needAddButton || ((_ref5 = (_node$removeButton2 = node.removeButton) !== null && _node$removeButton2 !== void 0 ? _node$removeButton2 : multiline.removebutton) !== null && _ref5 !== void 0 ? _ref5 : true) ? undefined : true);
147985
+ mb.prop(x => x.disableScroll).set(needAddButton || ((_ref6 = (_node$removeButton2 = node.removeButton) !== null && _node$removeButton2 !== void 0 ? _node$removeButton2 : multiline.removebutton) !== null && _ref6 !== void 0 ? _ref6 : true) ? undefined : true);
147882
147986
  context.pushPathsContext();
147883
147987
 
147884
147988
  if ((0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_3__.arrayHasLength)(multiline.rows, 1)) {
@@ -147904,9 +148008,9 @@ BindingPath: ${errorPath}`));
147904
148008
  hasActionButton(node) {
147905
148009
  const multilines = node.rows.map(child => (0,_StickyTableNode__WEBPACK_IMPORTED_MODULE_17__.isMultilineNode)(child) ? child : child.columns.find(_StickyTableNode__WEBPACK_IMPORTED_MODULE_17__.isMultilineNode)).filter(_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_3__.isNotNullOrUndefined);
147906
148010
  return multilines.some(multiline => {
147907
- var _ref6, _node$removeButton3;
148011
+ var _ref7, _node$removeButton3;
147908
148012
 
147909
- return ((_ref6 = (_node$removeButton3 = node.removeButton) !== null && _node$removeButton3 !== void 0 ? _node$removeButton3 : multiline.removebutton) !== null && _ref6 !== void 0 ? _ref6 : true) || multiline.rowmenu;
148013
+ return ((_ref7 = (_node$removeButton3 = node.removeButton) !== null && _node$removeButton3 !== void 0 ? _node$removeButton3 : multiline.removebutton) !== null && _ref7 !== void 0 ? _ref7 : true) || multiline.rowmenu;
147910
148014
  });
147911
148015
  }
147912
148016
 
@@ -148157,13 +148261,14 @@ class Table2MultirowConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODU
148157
148261
  return markupBuilder.buildConverterResult();
148158
148262
  }
148159
148263
 
148160
- *doBuildNormalizeRules(builder) {
148161
- var _node$optional2;
148264
+ *doBuildNormalizeRules(builder, formSchemaRng) {
148265
+ var _ref2;
148162
148266
 
148163
148267
  const node = this.getCurrentNodeAs(_Table2Node__WEBPACK_IMPORTED_MODULE_3__.Table2MultirowNode);
148164
- yield* builder.childrenInitializer(node, (_node$optional2 = node.optional) !== null && _node$optional2 !== void 0 ? _node$optional2 : false);
148268
+ const element = formSchemaRng.getElementByPath(node.getFullPath());
148269
+ const isOptional = (_ref2 = node.optional == undefined ? element === null || element === void 0 ? void 0 : element.isOptional() : node.optional) !== null && _ref2 !== void 0 ? _ref2 : false;
148270
+ yield* builder.childrenInitializer(node, isOptional);
148165
148271
  yield* builder.specialFieldsInitializer(node, {
148166
- optional: node.optional,
148167
148272
  disabled: undefined
148168
148273
  });
148169
148274
  }
@@ -148978,13 +149083,14 @@ class TabsConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Sug
148978
149083
  return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["children", context.initSequenceFactory.children((_ref = (_node$optional = node.optional) !== null && _node$optional !== void 0 ? _node$optional : context.isMultipleNodeOptionalFromScheme(node.getFullPath())) !== null && _ref !== void 0 ? _ref : false)]]), context.maxOccurs(node.getFullPath(), node.maxOccurs), context.addPathSectionDeclarationEntry(node));
148979
149084
  }
148980
149085
 
148981
- *doBuildNormalizeRules(builder) {
148982
- var _node$optional2;
149086
+ *doBuildNormalizeRules(builder, formSchemaRng) {
149087
+ var _ref2;
148983
149088
 
148984
149089
  const node = this.getCurrentNodeAs(_TabsNode__WEBPACK_IMPORTED_MODULE_4__.TabsNode);
148985
- yield* builder.childrenInitializer(node, (_node$optional2 = node.optional) !== null && _node$optional2 !== void 0 ? _node$optional2 : false);
149090
+ const element = formSchemaRng.getElementByPath(node.getFullPath());
149091
+ const isOptional = (_ref2 = node.optional == undefined ? element === null || element === void 0 ? void 0 : element.isOptional() : node.optional) !== null && _ref2 !== void 0 ? _ref2 : false;
149092
+ yield* builder.childrenInitializer(node, isOptional);
148986
149093
  yield* builder.specialFieldsInitializer(node, {
148987
- optional: node.optional,
148988
149094
  disabled: undefined
148989
149095
  });
148990
149096
  }
@@ -150313,7 +150419,6 @@ class CheckboxConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__
150313
150419
  doBuildNormalizeRules(builder) {
150314
150420
  const node = this.getCurrentNodeAs(_CheckboxNode__WEBPACK_IMPORTED_MODULE_5__.CheckboxNode);
150315
150421
  return [builder.valueInitializer(node, node.dataBinding, false), ...builder.specialFieldsInitializer(node, {
150316
- optional: node.dataBinding.optional,
150317
150422
  disabled: false
150318
150423
  })];
150319
150424
  }
@@ -150545,13 +150650,13 @@ class ComboBoxConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__
150545
150650
  doBuildNormalizeRules(builder) {
150546
150651
  const node = this.getCurrentNodeAs(_ComboBoxNode__WEBPACK_IMPORTED_MODULE_7__.ComboBoxNode);
150547
150652
  return [builder.valueInitializer(node, node.dataBinding, node.disabled), ...builder.specialFieldsInitializer(node, {
150548
- optional: node.dataBinding.optional,
150549
150653
  disabled: node.disabled
150550
150654
  })];
150551
150655
  }
150552
150656
 
150553
- doBuildFLangValidations(buildContext) {
150657
+ doBuildFLangValidations(buildContext, formSchemaRng) {
150554
150658
  const node = this.getCurrentNodeAs(_ComboBoxNode__WEBPACK_IMPORTED_MODULE_7__.ComboBoxNode);
150659
+ const element = formSchemaRng.getElementByPath(node.getFullPath());
150555
150660
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.PathTokens.each);
150556
150661
  const typeNode = buildContext.getTypeNode(node.validationInfo);
150557
150662
  const schemaTypeNode = buildContext.getSchemaTypeInfo(targetPath);
@@ -150560,7 +150665,7 @@ class ComboBoxConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__
150560
150665
  return [];
150561
150666
  }
150562
150667
 
150563
- return buildContext.buildBasicValidations(targetPath, typeNode, schemaTypeNode, node.validationInfo.optional);
150668
+ return buildContext.buildBasicValidations(targetPath, typeNode, schemaTypeNode, node.validationInfo.optional == undefined ? element === null || element === void 0 ? void 0 : element.isOptional() : node.validationInfo.optional);
150564
150669
  }
150565
150670
 
150566
150671
  buildChildrenDataDeclaration(context) {
@@ -151031,8 +151136,9 @@ class DateConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.Sug
151031
151136
  return _DateNode__WEBPACK_IMPORTED_MODULE_6__.DateNode;
151032
151137
  }
151033
151138
 
151034
- doBuildFLangValidations(buildContext) {
151139
+ doBuildFLangValidations(buildContext, formSchemaRng) {
151035
151140
  const node = this.getCurrentNodeAs(_DateNode__WEBPACK_IMPORTED_MODULE_6__.DateNode);
151141
+ const element = formSchemaRng.getElementByPath(node.getFullPath());
151036
151142
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_2__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_2__.PathTokens.each);
151037
151143
  const typeNode = buildContext.getTypeNode(node.validationInfo);
151038
151144
  const schemaTypeNode = buildContext.getSchemaTypeInfo(targetPath);
@@ -151041,7 +151147,7 @@ class DateConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.Sug
151041
151147
  return [];
151042
151148
  }
151043
151149
 
151044
- return buildContext.buildBasicValidations(targetPath, typeNode, schemaTypeNode, node.validationInfo.optional);
151150
+ return buildContext.buildBasicValidations(targetPath, typeNode, schemaTypeNode, node.validationInfo.optional == undefined ? element === null || element === void 0 ? void 0 : element.isOptional() : node.validationInfo.optional);
151045
151151
  }
151046
151152
 
151047
151153
  doBuildNodeValidations(validationGenerator) {
@@ -151057,7 +151163,6 @@ class DateConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.Sug
151057
151163
  doBuildNormalizeRules(builder) {
151058
151164
  const node = this.getCurrentNodeAs(_DateNode__WEBPACK_IMPORTED_MODULE_6__.DateNode);
151059
151165
  return [builder.valueInitializer(node, node.dataBinding, node.disabled), ...builder.specialFieldsInitializer(node, {
151060
- optional: node.dataBinding.optional,
151061
151166
  disabled: node.disabled
151062
151167
  })];
151063
151168
  }
@@ -151638,7 +151743,9 @@ __webpack_require__.r(__webpack_exports__);
151638
151743
  /* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
151639
151744
  /* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
151640
151745
  /* harmony import */ var _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../DataDeclarationGenerator/DataDeclarationGenerationContext */ "./Generator/src/generators/DataDeclarationGenerator/DataDeclarationGenerationContext.ts");
151641
- /* harmony import */ var _FiasNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./FiasNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Fias/FiasNode.ts");
151746
+ /* harmony import */ var _CommonNodeProperties_TooltipProperties_SetTooltipSettingsProps__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../CommonNodeProperties/TooltipProperties/SetTooltipSettingsProps */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/TooltipProperties/SetTooltipSettingsProps.ts");
151747
+ /* harmony import */ var _FiasNode__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./FiasNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Fias/FiasNode.ts");
151748
+
151642
151749
 
151643
151750
 
151644
151751
 
@@ -151646,26 +151753,38 @@ __webpack_require__.r(__webpack_exports__);
151646
151753
 
151647
151754
  class FiasConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.SugarNodeConverterBase {
151648
151755
  static getAcceptNodeClass() {
151649
- return _FiasNode__WEBPACK_IMPORTED_MODULE_4__.FiasNode;
151756
+ return _FiasNode__WEBPACK_IMPORTED_MODULE_5__.FiasNode;
151650
151757
  }
151651
151758
 
151652
151759
  get nodePaths() {
151653
- const node = this.getCurrentNodeAs(_FiasNode__WEBPACK_IMPORTED_MODULE_4__.FiasNode);
151760
+ const node = this.getCurrentNodeAs(_FiasNode__WEBPACK_IMPORTED_MODULE_5__.FiasNode);
151654
151761
  const createPaths = node.fiasfield.map(field => (0,_getBindingPath__WEBPACK_IMPORTED_MODULE_0__.getNewBindingPathExpression)(node, field.path));
151655
151762
  return createPaths;
151656
151763
  }
151657
151764
 
151658
- doBuildNodeValidations(validationGenerator) {// noop
151765
+ doBuildNodeValidations(validationGenerator) {
151766
+ const node = this.getCurrentNodeAs(_FiasNode__WEBPACK_IMPORTED_MODULE_5__.FiasNode);
151767
+ validationGenerator.processValidations(this.getResolvedBindingPath(node), node.validationInfo.optional, validationGenerator.getTypeNode(node.validationInfo), undefined, node.validationInfo.emptydescription, undefined);
151659
151768
  }
151660
151769
 
151661
151770
  doBuildDataDeclaration(context) {
151662
- const node = this.getCurrentNodeAs(_FiasNode__WEBPACK_IMPORTED_MODULE_4__.FiasNode);
151771
+ const node = this.getCurrentNodeAs(_FiasNode__WEBPACK_IMPORTED_MODULE_5__.FiasNode);
151663
151772
  const PathDeclarations = [];
151664
151773
 
151665
151774
  if (node.fiasfield && node.fiasfield.length > 0) {
151775
+ var _node$fiasfield$;
151776
+
151666
151777
  node.fiasfield.forEach(field => {
151667
151778
  PathDeclarations.push(context.addChildPathSectionDeclarationEntry(node, field.path, node.dataBinding.requisite));
151668
151779
  });
151780
+
151781
+ if ((_node$fiasfield$ = node.fiasfield[0]) !== null && _node$fiasfield$ !== void 0 && _node$fiasfield$.path) {
151782
+ const declEntry = {};
151783
+ declEntry["value"] = context.initSequenceFactory.takeFromModelOrDefaultValue("");
151784
+ PathDeclarations.push({
151785
+ [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_0__.getBindingPathWithSuffix)(node, node.fiasfield[0].path)]: declEntry
151786
+ });
151787
+ }
151669
151788
  }
151670
151789
 
151671
151790
  return context.mergeDataDeclaration(context.addPathSectionDeclarationEntry(node, node.dataBinding.requisite), ...PathDeclarations);
@@ -151681,7 +151800,7 @@ class FiasConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Sug
151681
151800
  doConvert(context) {
151682
151801
  var _node$title, _node$withSteads, _node$division, _node$searchToAddress;
151683
151802
 
151684
- const node = this.getCurrentNodeAs(_FiasNode__WEBPACK_IMPORTED_MODULE_4__.FiasNode);
151803
+ const node = this.getCurrentNodeAs(_FiasNode__WEBPACK_IMPORTED_MODULE_5__.FiasNode);
151685
151804
  const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("Fias");
151686
151805
  markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_0__.getNewBindingPathExpression)(node));
151687
151806
  markupBuilder.prop(x => x.title).set((_node$title = node.title) !== null && _node$title !== void 0 ? _node$title : "Адрес регистрации");
@@ -151690,6 +151809,7 @@ class FiasConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Sug
151690
151809
  markupBuilder.prop(x => x.searchToAddressLevel).set((_node$searchToAddress = node.searchToAddressLevel) !== null && _node$searchToAddress !== void 0 ? _node$searchToAddress : "room");
151691
151810
  markupBuilder.prop(x => x.pathToFullAddress).set(node.pathToFullAddress);
151692
151811
  markupBuilder.prop(x => x.onlyInput).set(node.onlyInput);
151812
+ (0,_CommonNodeProperties_TooltipProperties_SetTooltipSettingsProps__WEBPACK_IMPORTED_MODULE_4__.setTooltipSettingsProps)(markupBuilder, node.tooltipSettings);
151693
151813
  const parsedExtendFields = this.parseExtendFields(node.fiasfield);
151694
151814
 
151695
151815
  if (node.childrenoptions) {
@@ -151794,11 +151914,15 @@ __webpack_require__.r(__webpack_exports__);
151794
151914
  /* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
151795
151915
  /* harmony import */ var _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../Serializer/DeprecationReason */ "./Generator/src/generators/markupGenerator/Serializer/DeprecationReason.ts");
151796
151916
  /* harmony import */ var _Engine_src_Controls_ValueEditors_Fias_FiasInput_Utils_Convertations_Types__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../../../Engine/src/Controls/ValueEditors/Fias/FiasInput/Utils/Convertations/Types */ "./Engine/src/Controls/ValueEditors/Fias/FiasInput/Utils/Convertations/Types.ts");
151917
+ /* harmony import */ var _CommonNodeProperties_ValidationInfoNode__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../CommonNodeProperties/ValidationInfoNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/ValidationInfoNode.ts");
151918
+ /* harmony import */ var _CommonNodeProperties_TooltipProperties_TooltipSettingsNode__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../CommonNodeProperties/TooltipProperties/TooltipSettingsNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/TooltipProperties/TooltipSettingsNode.ts");
151797
151919
 
151798
151920
 
151799
151921
 
151800
151922
 
151801
- var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _dec9, _dec10, _dec11, _class4, _class5, _descriptor8, _descriptor9, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _dec24, _dec25, _class7, _class8, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _dec26, _dec27, _dec28, _class10, _class11, _descriptor23, _descriptor24, _dec29, _dec30, _dec31, _dec32, _class13, _class14, _descriptor25, _descriptor26, _descriptor27, _dec33, _dec34, _class16, _class17, _descriptor28, _dec35, _dec36, _dec37, _dec38, _dec39, _dec40, _dec41, _dec42, _dec43, _dec44, _dec45, _dec46, _dec47, _dec48, _dec49, _class19, _class20, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _descriptor36, _descriptor37, _descriptor38, _descriptor39, _descriptor40, _descriptor41, _descriptor42;
151923
+ var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _dec9, _dec10, _dec11, _class4, _class5, _descriptor8, _descriptor9, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _dec24, _dec25, _class7, _class8, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _dec26, _dec27, _dec28, _class10, _class11, _descriptor23, _descriptor24, _dec29, _dec30, _dec31, _dec32, _class13, _class14, _descriptor25, _descriptor26, _descriptor27, _dec33, _dec34, _class16, _class17, _descriptor28, _dec35, _dec36, _dec37, _dec38, _dec39, _dec40, _dec41, _dec42, _dec43, _dec44, _dec45, _dec46, _dec47, _dec48, _dec49, _dec50, _dec51, _class19, _class20, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _descriptor36, _descriptor37, _descriptor38, _descriptor39, _descriptor40, _descriptor41, _descriptor42, _descriptor43, _descriptor44;
151924
+
151925
+
151802
151926
 
151803
151927
 
151804
151928
 
@@ -152036,40 +152160,44 @@ let FiasMvdOptions = (_dec33 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_
152036
152160
  writable: true,
152037
152161
  initializer: null
152038
152162
  })), _class17)) || _class16);
152039
- let FiasNode = (_dec35 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("fias", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Fias sync recursive .md$")), _dec36 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__.DataBindingMixinNode), _dec37 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("withSteads", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, "Земельные участки для формы"), _dec38 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("title", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString, "Текст в титульнике лайтбокса"), _dec39 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("pathToFullAddress", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString, "Путь, по которому будет засечен полный адрес"), _dec40 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("searchToAddressLevel", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType["enum"]("region", "district", "city", "street", "garhouse", "room"), `До какого элемента будет осуществлятся поиск.
152163
+ let FiasNode = (_dec35 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("fias", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Fias sync recursive .md$")), _dec36 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__.DataBindingMixinNode), _dec37 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_ValidationInfoNode__WEBPACK_IMPORTED_MODULE_7__.ValidationInfoNode), _dec38 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_TooltipProperties_TooltipSettingsNode__WEBPACK_IMPORTED_MODULE_8__.TooltipSettingsNode), _dec39 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("withSteads", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, "Земельные участки для формы"), _dec40 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("title", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString, "Текст в титульнике лайтбокса"), _dec41 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("pathToFullAddress", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString, "Путь, по которому будет засечен полный адрес"), _dec42 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("searchToAddressLevel", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType["enum"]("region", "district", "city", "street", "garhouse", "room"), `До какого элемента будет осуществлятся поиск.
152040
152164
  Пример: House - поиск до дома.
152041
152165
  Конечный - room, поиск до квартиры.
152042
- По умолчанию - room`), _dec41 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("division", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType["enum"]("municipal", "administrative"), "Территориальное деление, по умолчанию - municipal"), _dec42 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("withForeignCountry", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec43 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)("fiasfield", [FiasExtendedField]), _dec44 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.singleChild)("childrenoptions", [FiasChildren]), _dec45 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.singleChild)("fnsoptions", [FiasFnsOptions]), _dec46 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.singleChild)("mvdoptions", [FiasMvdOptions]), _dec47 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("onlyInput", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, "Временный костыль на то, чтобы показывать фиас в рамках багованного мультилайна"), _dec48 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("optionalIndex", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec49 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("postalTransfer", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec35(_class19 = (_class20 = class FiasNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.SugarNodeBase {
152166
+ По умолчанию - room`), _dec43 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("division", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType["enum"]("municipal", "administrative"), "Территориальное деление, по умолчанию - municipal"), _dec44 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("withForeignCountry", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec45 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)("fiasfield", [FiasExtendedField]), _dec46 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.singleChild)("childrenoptions", [FiasChildren]), _dec47 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.singleChild)("fnsoptions", [FiasFnsOptions]), _dec48 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.singleChild)("mvdoptions", [FiasMvdOptions]), _dec49 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("onlyInput", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, "Временный костыль на то, чтобы показывать фиас в рамках багованного мультилайна"), _dec50 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("optionalIndex", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec51 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("postalTransfer", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec35(_class19 = (_class20 = class FiasNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.SugarNodeBase {
152043
152167
  constructor(...args) {
152044
152168
  super(...args);
152045
152169
 
152046
152170
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataBinding", _descriptor29, this);
152047
152171
 
152048
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "withSteads", _descriptor30, this);
152172
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "validationInfo", _descriptor30, this);
152173
+
152174
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "tooltipSettings", _descriptor31, this);
152175
+
152176
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "withSteads", _descriptor32, this);
152049
152177
 
152050
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "title", _descriptor31, this);
152178
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "title", _descriptor33, this);
152051
152179
 
152052
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "pathToFullAddress", _descriptor32, this);
152180
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "pathToFullAddress", _descriptor34, this);
152053
152181
 
152054
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "searchToAddressLevel", _descriptor33, this);
152182
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "searchToAddressLevel", _descriptor35, this);
152055
152183
 
152056
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "division", _descriptor34, this);
152184
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "division", _descriptor36, this);
152057
152185
 
152058
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "withForeignCountry", _descriptor35, this);
152186
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "withForeignCountry", _descriptor37, this);
152059
152187
 
152060
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "fiasfield", _descriptor36, this);
152188
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "fiasfield", _descriptor38, this);
152061
152189
 
152062
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "childrenoptions", _descriptor37, this);
152190
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "childrenoptions", _descriptor39, this);
152063
152191
 
152064
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "fnsoptions", _descriptor38, this);
152192
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "fnsoptions", _descriptor40, this);
152065
152193
 
152066
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "mvdoptions", _descriptor39, this);
152194
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "mvdoptions", _descriptor41, this);
152067
152195
 
152068
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "onlyInput", _descriptor40, this);
152196
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "onlyInput", _descriptor42, this);
152069
152197
 
152070
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "optionalIndex", _descriptor41, this);
152198
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "optionalIndex", _descriptor43, this);
152071
152199
 
152072
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "postalTransfer", _descriptor42, this);
152200
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "postalTransfer", _descriptor44, this);
152073
152201
  }
152074
152202
 
152075
152203
  getOwnPath() {
@@ -152081,67 +152209,77 @@ let FiasNode = (_dec35 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE
152081
152209
  enumerable: true,
152082
152210
  writable: true,
152083
152211
  initializer: null
152084
- }), _descriptor30 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class20.prototype, "withSteads", [_dec37], {
152212
+ }), _descriptor30 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class20.prototype, "validationInfo", [_dec37], {
152213
+ configurable: true,
152214
+ enumerable: true,
152215
+ writable: true,
152216
+ initializer: null
152217
+ }), _descriptor31 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class20.prototype, "tooltipSettings", [_dec38], {
152218
+ configurable: true,
152219
+ enumerable: true,
152220
+ writable: true,
152221
+ initializer: null
152222
+ }), _descriptor32 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class20.prototype, "withSteads", [_dec39], {
152085
152223
  configurable: true,
152086
152224
  enumerable: true,
152087
152225
  writable: true,
152088
152226
  initializer: null
152089
- }), _descriptor31 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class20.prototype, "title", [_dec38], {
152227
+ }), _descriptor33 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class20.prototype, "title", [_dec40], {
152090
152228
  configurable: true,
152091
152229
  enumerable: true,
152092
152230
  writable: true,
152093
152231
  initializer: null
152094
- }), _descriptor32 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class20.prototype, "pathToFullAddress", [_dec39], {
152232
+ }), _descriptor34 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class20.prototype, "pathToFullAddress", [_dec41], {
152095
152233
  configurable: true,
152096
152234
  enumerable: true,
152097
152235
  writable: true,
152098
152236
  initializer: null
152099
- }), _descriptor33 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class20.prototype, "searchToAddressLevel", [_dec40], {
152237
+ }), _descriptor35 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class20.prototype, "searchToAddressLevel", [_dec42], {
152100
152238
  configurable: true,
152101
152239
  enumerable: true,
152102
152240
  writable: true,
152103
152241
  initializer: null
152104
- }), _descriptor34 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class20.prototype, "division", [_dec41], {
152242
+ }), _descriptor36 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class20.prototype, "division", [_dec43], {
152105
152243
  configurable: true,
152106
152244
  enumerable: true,
152107
152245
  writable: true,
152108
152246
  initializer: null
152109
- }), _descriptor35 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class20.prototype, "withForeignCountry", [_dec42], {
152247
+ }), _descriptor37 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class20.prototype, "withForeignCountry", [_dec44], {
152110
152248
  configurable: true,
152111
152249
  enumerable: true,
152112
152250
  writable: true,
152113
152251
  initializer: null
152114
- }), _descriptor36 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class20.prototype, "fiasfield", [_dec43], {
152252
+ }), _descriptor38 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class20.prototype, "fiasfield", [_dec45], {
152115
152253
  configurable: true,
152116
152254
  enumerable: true,
152117
152255
  writable: true,
152118
152256
  initializer: null
152119
- }), _descriptor37 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class20.prototype, "childrenoptions", [_dec44], {
152257
+ }), _descriptor39 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class20.prototype, "childrenoptions", [_dec46], {
152120
152258
  configurable: true,
152121
152259
  enumerable: true,
152122
152260
  writable: true,
152123
152261
  initializer: null
152124
- }), _descriptor38 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class20.prototype, "fnsoptions", [_dec45], {
152262
+ }), _descriptor40 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class20.prototype, "fnsoptions", [_dec47], {
152125
152263
  configurable: true,
152126
152264
  enumerable: true,
152127
152265
  writable: true,
152128
152266
  initializer: null
152129
- }), _descriptor39 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class20.prototype, "mvdoptions", [_dec46], {
152267
+ }), _descriptor41 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class20.prototype, "mvdoptions", [_dec48], {
152130
152268
  configurable: true,
152131
152269
  enumerable: true,
152132
152270
  writable: true,
152133
152271
  initializer: null
152134
- }), _descriptor40 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class20.prototype, "onlyInput", [_dec47], {
152272
+ }), _descriptor42 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class20.prototype, "onlyInput", [_dec49], {
152135
152273
  configurable: true,
152136
152274
  enumerable: true,
152137
152275
  writable: true,
152138
152276
  initializer: null
152139
- }), _descriptor41 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class20.prototype, "optionalIndex", [_dec48], {
152277
+ }), _descriptor43 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class20.prototype, "optionalIndex", [_dec50], {
152140
152278
  configurable: true,
152141
152279
  enumerable: true,
152142
152280
  writable: true,
152143
152281
  initializer: null
152144
- }), _descriptor42 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class20.prototype, "postalTransfer", [_dec49], {
152282
+ }), _descriptor44 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class20.prototype, "postalTransfer", [_dec51], {
152145
152283
  configurable: true,
152146
152284
  enumerable: true,
152147
152285
  writable: true,
@@ -152912,8 +153050,9 @@ class InputConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Su
152912
153050
  return [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_4__.getNewBindingPathExpression)(node)];
152913
153051
  }
152914
153052
 
152915
- doBuildFLangValidations(buildContext) {
153053
+ doBuildFLangValidations(buildContext, formSchemaRng) {
152916
153054
  const node = this.getCurrentNodeAs(_InputNode__WEBPACK_IMPORTED_MODULE_7__.InputNode);
153055
+ const element = formSchemaRng.getElementByPath(node.getFullPath());
152917
153056
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.PathTokens.each);
152918
153057
  const typeNode = buildContext.getTypeNode(node.validationInfo);
152919
153058
  const schemaTypeNode = buildContext.getSchemaTypeInfo(targetPath);
@@ -152922,7 +153061,7 @@ class InputConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Su
152922
153061
  return [];
152923
153062
  }
152924
153063
 
152925
- return buildContext.buildBasicValidations(targetPath, typeNode, schemaTypeNode, node.validationInfo.optional);
153064
+ return buildContext.buildBasicValidations(targetPath, typeNode, schemaTypeNode, node.validationInfo.optional == undefined ? element === null || element === void 0 ? void 0 : element.isOptional() : node.validationInfo.optional);
152926
153065
  }
152927
153066
 
152928
153067
  doBuildNodeValidations(validationGenerator) {
@@ -152941,7 +153080,6 @@ class InputConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Su
152941
153080
  doBuildNormalizeRules(builder) {
152942
153081
  const node = this.getCurrentNodeAs(_InputNode__WEBPACK_IMPORTED_MODULE_7__.InputNode);
152943
153082
  return [builder.valueInitializer(node, node.dataBinding, node.disabled), ...builder.specialFieldsInitializer(node, {
152944
- optional: node.dataBinding.optional,
152945
153083
  disabled: node.disabled
152946
153084
  })];
152947
153085
  }
@@ -154002,8 +154140,9 @@ class PicklistConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__
154002
154140
  return _PicklistNode__WEBPACK_IMPORTED_MODULE_6__.PicklistNode;
154003
154141
  }
154004
154142
 
154005
- doBuildFLangValidations(buildContext) {
154143
+ doBuildFLangValidations(buildContext, formSchemaRng) {
154006
154144
  const node = this.getCurrentNodeAs(_PicklistNode__WEBPACK_IMPORTED_MODULE_6__.PicklistNode);
154145
+ const element = formSchemaRng.getElementByPath(node.getFullPath());
154007
154146
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.PathTokens.each);
154008
154147
  const typeNode = buildContext.getTypeNode(node.validationInfo);
154009
154148
  const schemaTypeNode = buildContext.getSchemaTypeInfo(targetPath);
@@ -154012,7 +154151,7 @@ class PicklistConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__
154012
154151
  return [];
154013
154152
  }
154014
154153
 
154015
- return buildContext.buildBasicValidations(targetPath, typeNode, schemaTypeNode, node.validationInfo.optional);
154154
+ return buildContext.buildBasicValidations(targetPath, typeNode, schemaTypeNode, node.validationInfo.optional == undefined ? element === null || element === void 0 ? void 0 : element.isOptional() : node.validationInfo.optional);
154016
154155
  }
154017
154156
 
154018
154157
  doBuildNodeValidations(validationGenerator) {
@@ -154020,27 +154159,27 @@ class PicklistConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__
154020
154159
  validationGenerator.processValidations(this.getResolvedBindingPath(node), node.validationInfo.optional, validationGenerator.getTypeNode(node.validationInfo), node.gId, node.validationInfo.emptydescription, undefined);
154021
154160
  }
154022
154161
 
154023
- *doBuildNormalizeRules(builder) {
154162
+ *doBuildNormalizeRules(builder, formSchemaRng) {
154163
+ var _ref;
154164
+
154024
154165
  const node = this.getCurrentNodeAs(_PicklistNode__WEBPACK_IMPORTED_MODULE_6__.PicklistNode);
154166
+ const element = formSchemaRng.getElementByPath(node.getFullPath());
154025
154167
  yield builder.valueInitializer(node, node.dataBinding, false);
154026
- yield* builder.specialFieldsInitializer(node, {
154027
- optional: node.dataBinding.optional
154028
- });
154168
+ const isOptional = (_ref = node.dataBinding.optional == undefined ? element === null || element === void 0 ? void 0 : element.isOptional() : node.dataBinding.optional) !== null && _ref !== void 0 ? _ref : false;
154169
+ yield* builder.specialFieldsInitializer(node, {});
154029
154170
 
154030
154171
  if (node.multiple) {
154031
- var _node$dataBinding$opt;
154032
-
154033
- yield* builder.childrenInitializerForPicklist(node, (_node$dataBinding$opt = node.dataBinding.optional) !== null && _node$dataBinding$opt !== void 0 ? _node$dataBinding$opt : false);
154172
+ yield* builder.childrenInitializerForPicklist(node, isOptional);
154034
154173
  }
154035
154174
  }
154036
154175
 
154037
154176
  doBuildDataDeclaration(context) {
154038
- var _node$dataBinding$opt2;
154177
+ var _node$dataBinding$opt;
154039
154178
 
154040
154179
  const node = this.getCurrentNodeAs(_PicklistNode__WEBPACK_IMPORTED_MODULE_6__.PicklistNode);
154041
154180
  return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["value", context.initSequenceFactory.dataValue(node.dataBinding, false)]]), context.addSpecialFieldsEntry(node, {
154042
154181
  optional: node.dataBinding.optional
154043
- }), context.addPathSectionDeclarationEntry(node, node.dataBinding.requisite), context.addVisibilityPathDeclEntryNew(node, node.dataBinding.requisite), context.addChildrenPathDeclEntry(node, node.dataBinding.path, (_node$dataBinding$opt2 = node.dataBinding.optional) !== null && _node$dataBinding$opt2 !== void 0 ? _node$dataBinding$opt2 : false, node.dataBinding.requisite));
154182
+ }), context.addPathSectionDeclarationEntry(node, node.dataBinding.requisite), context.addVisibilityPathDeclEntryNew(node, node.dataBinding.requisite), context.addChildrenPathDeclEntry(node, node.dataBinding.path, (_node$dataBinding$opt = node.dataBinding.optional) !== null && _node$dataBinding$opt !== void 0 ? _node$dataBinding$opt : false, node.dataBinding.requisite));
154044
154183
  }
154045
154184
 
154046
154185
  get nodePaths() {
@@ -154480,9 +154619,7 @@ class RadioGroupConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1
154480
154619
 
154481
154620
  doBuildNormalizeRules(builder) {
154482
154621
  const node = this.getCurrentNodeAs(_RadioGroupNode__WEBPACK_IMPORTED_MODULE_5__.RadioGroupNode);
154483
- return [builder.valueInitializer(node, node.dataBinding, false), ...builder.specialFieldsInitializer(node, {
154484
- optional: node.dataBinding.optional
154485
- })];
154622
+ return [builder.valueInitializer(node, node.dataBinding, false), ...builder.specialFieldsInitializer(node, {})];
154486
154623
  }
154487
154624
 
154488
154625
  doBuildDataDeclaration(context) {
@@ -155241,8 +155378,9 @@ class TaxRebateConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3_
155241
155378
  return [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_5__.getNewBindingPathExpression)(node)];
155242
155379
  }
155243
155380
 
155244
- doBuildFLangValidations(buildContext) {
155381
+ doBuildFLangValidations(buildContext, formSchemaRng) {
155245
155382
  const node = this.getCurrentNodeAs(_TaxRebateNode__WEBPACK_IMPORTED_MODULE_7__.TaxRebateNode);
155383
+ const element = formSchemaRng.getElementByPath(node.getFullPath());
155246
155384
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.PathTokens.each);
155247
155385
  const typeNode = buildContext.getTypeNode(node.validationInfo);
155248
155386
  const schemaTypeNode = buildContext.getSchemaTypeInfo(targetPath);
@@ -155251,7 +155389,7 @@ class TaxRebateConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3_
155251
155389
  return [];
155252
155390
  }
155253
155391
 
155254
- return buildContext.buildBasicValidations(targetPath, typeNode, schemaTypeNode, node.validationInfo.optional);
155392
+ return buildContext.buildBasicValidations(targetPath, typeNode, schemaTypeNode, node.validationInfo.optional == undefined ? element === null || element === void 0 ? void 0 : element.isOptional() : node.validationInfo.optional);
155255
155393
  }
155256
155394
 
155257
155395
  doBuildNodeValidations(validationGenerator) {
@@ -155268,9 +155406,7 @@ class TaxRebateConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3_
155268
155406
 
155269
155407
  doBuildNormalizeRules(builder) {
155270
155408
  const node = this.getCurrentNodeAs(_TaxRebateNode__WEBPACK_IMPORTED_MODULE_7__.TaxRebateNode);
155271
- return [builder.valueInitializer(node, node.dataBinding, undefined), ...builder.specialFieldsInitializer(node, {
155272
- optional: node.dataBinding.optional
155273
- })];
155409
+ return [builder.valueInitializer(node, node.dataBinding, undefined), ...builder.specialFieldsInitializer(node, {})];
155274
155410
  }
155275
155411
 
155276
155412
  buildChildrenDataDeclaration(context) {
@@ -155463,8 +155599,9 @@ class TextAreaConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__
155463
155599
  validationGenerator.processValidations(this.getResolvedBindingPath(node), node.validationInfo.optional, validationGenerator.getTypeNode(node.validationInfo), undefined, node.validationInfo.emptydescription, undefined);
155464
155600
  }
155465
155601
 
155466
- doBuildFLangValidations(buildContext) {
155602
+ doBuildFLangValidations(buildContext, formSchemaRng) {
155467
155603
  const node = this.getCurrentNodeAs(_TextAreaNode__WEBPACK_IMPORTED_MODULE_8__.TextAreaNode);
155604
+ const element = formSchemaRng.getElementByPath(node.getFullPath());
155468
155605
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.PathTokens.each);
155469
155606
  const typeNode = buildContext.getTypeNode(node.validationInfo);
155470
155607
  const schemaTypeNode = buildContext.getSchemaTypeInfo(targetPath);
@@ -155473,7 +155610,7 @@ class TextAreaConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__
155473
155610
  return [];
155474
155611
  }
155475
155612
 
155476
- return buildContext.buildBasicValidations(targetPath, typeNode, schemaTypeNode, node.validationInfo.optional);
155613
+ return buildContext.buildBasicValidations(targetPath, typeNode, schemaTypeNode, node.validationInfo.optional == undefined ? element === null || element === void 0 ? void 0 : element.isOptional() : node.validationInfo.optional);
155477
155614
  }
155478
155615
 
155479
155616
  doBuildDataDeclaration(context) {
@@ -159257,15 +159394,15 @@ class SugarNodeConverterBase {
159257
159394
  *getAttachmentPaths() {// no paths by default
159258
159395
  }
159259
159396
 
159260
- *buildFLangValidations(buildContext) {
159261
- yield* this.doBuildFLangValidations(buildContext);
159262
- yield* this.buildChildrenFLangValidations(buildContext);
159397
+ *buildFLangValidations(buildContext, formSchemaRng) {
159398
+ yield* this.doBuildFLangValidations(buildContext, formSchemaRng);
159399
+ yield* this.buildChildrenFLangValidations(buildContext, formSchemaRng);
159263
159400
  }
159264
159401
 
159265
159402
  doBuildNodeValidations(validationGenerator) {// noop
159266
159403
  }
159267
159404
 
159268
- doBuildFLangValidations(buildContext) {
159405
+ doBuildFLangValidations(buildContext, formSchemaRng) {
159269
159406
  return [];
159270
159407
  }
159271
159408
 
@@ -159316,8 +159453,8 @@ class SugarNodeConverterBase {
159316
159453
  return this.node.sourceXmlNode;
159317
159454
  }
159318
159455
 
159319
- *buildNormalizeRules(builder) {
159320
- yield* this.doBuildNormalizeRules(builder);
159456
+ *buildNormalizeRules(builder, formSchemaRng) {
159457
+ yield* this.doBuildNormalizeRules(builder, formSchemaRng);
159321
159458
 
159322
159459
  for (const child of this.traverseChildren()) {
159323
159460
  const controlConverterClass = (0,_AllConverters__WEBPACK_IMPORTED_MODULE_3__.getConverterByNodeClass)((0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.getNodeClass)(child));
@@ -159334,12 +159471,12 @@ class SugarNodeConverterBase {
159334
159471
  }
159335
159472
  } else {
159336
159473
  const converter = new controlConverterClass(child);
159337
- yield* converter.buildNormalizeRules(builder);
159474
+ yield* converter.buildNormalizeRules(builder, formSchemaRng);
159338
159475
  }
159339
159476
  }
159340
159477
  }
159341
159478
 
159342
- doBuildNormalizeRules(builder) {
159479
+ doBuildNormalizeRules(builder, formSchemaRng) {
159343
159480
  return [];
159344
159481
  }
159345
159482
 
@@ -159387,7 +159524,7 @@ class SugarNodeConverterBase {
159387
159524
  }
159388
159525
  }
159389
159526
 
159390
- *buildChildrenFLangValidations(buildContext) {
159527
+ *buildChildrenFLangValidations(buildContext, formSchemaRng) {
159391
159528
  for (const child of this.doTraverseChildren()) {
159392
159529
  const controlConverterClass = (0,_AllConverters__WEBPACK_IMPORTED_MODULE_3__.getConverterByNodeClass)((0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.getNodeClass)(child));
159393
159530
 
@@ -159396,7 +159533,7 @@ class SugarNodeConverterBase {
159396
159533
  }
159397
159534
 
159398
159535
  const converter = new controlConverterClass(child);
159399
- yield* converter.buildFLangValidations(buildContext);
159536
+ yield* converter.buildFLangValidations(buildContext, formSchemaRng);
159400
159537
  }
159401
159538
  }
159402
159539
 
@@ -198197,28 +198334,6 @@ module.exports = {
198197
198334
  "17.0": "96"
198198
198335
  };
198199
198336
 
198200
- /***/ }),
198201
-
198202
- /***/ "./node_modules/escape-string-regexp/index.js":
198203
- /*!****************************************************!*\
198204
- !*** ./node_modules/escape-string-regexp/index.js ***!
198205
- \****************************************************/
198206
- /***/ ((module) => {
198207
-
198208
- "use strict";
198209
-
198210
-
198211
- var matchOperatorsRe = /[|\\{}()[\]^$+*?.]/g;
198212
-
198213
- module.exports = function (str) {
198214
- if (typeof str !== 'string') {
198215
- throw new TypeError('Expected a string');
198216
- }
198217
-
198218
- return str.replace(matchOperatorsRe, '\\$&');
198219
- };
198220
-
198221
-
198222
198337
  /***/ }),
198223
198338
 
198224
198339
  /***/ "./node_modules/fbjs/lib/areEqual.js":
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kontur.candy/generator",
3
- "version": "4.272.0-mass-delete.0",
3
+ "version": "4.272.0-react-ui4.0",
4
4
  "description": "Candy forms generator",
5
5
  "author": "SKBKontur Candy Team",
6
6
  "private": false,