@kontur.candy/generator 5.92.0-progress-bar-normalization.0 → 5.93.0-ci-test.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 +2010 -1260
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1008,6 +1008,24 @@ module.exports = webpackEmptyContext;
1008
1008
 
1009
1009
  /***/ }),
1010
1010
 
1011
+ /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/Nodes sync recursive .md$":
1012
+ /*!****************************************************************************************************!*\
1013
+ !*** ./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/Nodes/ sync .md$ ***!
1014
+ \****************************************************************************************************/
1015
+ /***/ ((module) => {
1016
+
1017
+ function webpackEmptyContext(req) {
1018
+ var e = new Error("Cannot find module '" + req + "'");
1019
+ e.code = 'MODULE_NOT_FOUND';
1020
+ throw e;
1021
+ }
1022
+ webpackEmptyContext.keys = () => ([]);
1023
+ webpackEmptyContext.resolve = webpackEmptyContext;
1024
+ webpackEmptyContext.id = "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/Nodes sync recursive .md$";
1025
+ module.exports = webpackEmptyContext;
1026
+
1027
+ /***/ }),
1028
+
1011
1029
  /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/FormInfo sync recursive .md$":
1012
1030
  /*!**************************************************************************************************!*\
1013
1031
  !*** ./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/FormInfo/ sync .md$ ***!
@@ -1040,24 +1058,6 @@ webpackContext.id = "./Generator/src/generators/markupGenerator/ElementProcessor
1040
1058
 
1041
1059
  /***/ }),
1042
1060
 
1043
- /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/Nodes sync recursive .md$":
1044
- /*!****************************************************************************************************!*\
1045
- !*** ./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/Nodes/ sync .md$ ***!
1046
- \****************************************************************************************************/
1047
- /***/ ((module) => {
1048
-
1049
- function webpackEmptyContext(req) {
1050
- var e = new Error("Cannot find module '" + req + "'");
1051
- e.code = 'MODULE_NOT_FOUND';
1052
- throw e;
1053
- }
1054
- webpackEmptyContext.keys = () => ([]);
1055
- webpackEmptyContext.resolve = webpackEmptyContext;
1056
- webpackEmptyContext.id = "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/Nodes sync recursive .md$";
1057
- module.exports = webpackEmptyContext;
1058
-
1059
- /***/ }),
1060
-
1061
1061
  /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form sync recursive .md$":
1062
1062
  /*!**********************************************************************************************!*\
1063
1063
  !*** ./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/ sync .md$ ***!
@@ -47412,12 +47412,15 @@ class ModelPathBuilder {
47412
47412
  "use strict";
47413
47413
  __webpack_require__.r(__webpack_exports__);
47414
47414
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
47415
+ /* harmony export */ checkIsReservedPath: () => (/* binding */ checkIsReservedPath),
47415
47416
  /* harmony export */ getMask: () => (/* binding */ getMask),
47416
47417
  /* harmony export */ getMaskWithInstances: () => (/* binding */ getMaskWithInstances),
47417
47418
  /* harmony export */ isAggregationPath: () => (/* binding */ isAggregationPath),
47418
47419
  /* harmony export */ replaceInstancesWithMultiplicity: () => (/* binding */ replaceInstancesWithMultiplicity)
47419
47420
  /* harmony export */ });
47420
- /* harmony import */ var _ModelPath__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ModelPath */ "./Common/ModelPath/ModelPath.ts");
47421
+ /* harmony import */ var _PathConstants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../PathConstants */ "./Common/PathConstants.ts");
47422
+ /* harmony import */ var _ModelPath__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ModelPath */ "./Common/ModelPath/ModelPath.ts");
47423
+
47421
47424
 
47422
47425
  function isAggregationPath(modelPath) {
47423
47426
  const tokens = modelPath.getPathPartsAsArray();
@@ -47425,28 +47428,31 @@ function isAggregationPath(modelPath) {
47425
47428
  return lastToken === "Sum" || lastToken === "Count";
47426
47429
  }
47427
47430
  function getMask(exactPath) {
47428
- return (0,_ModelPath__WEBPACK_IMPORTED_MODULE_0__.createAbsoluteFromTokens)(Iterator.from(exactPath.getPathParts()).map(x => _ModelPath__WEBPACK_IMPORTED_MODULE_0__.PathTokens.isInstanceToken(x) ? _ModelPath__WEBPACK_IMPORTED_MODULE_0__.PathTokens.each : x).toArray());
47431
+ return (0,_ModelPath__WEBPACK_IMPORTED_MODULE_1__.createAbsoluteFromTokens)(Iterator.from(exactPath.getPathParts()).map(x => _ModelPath__WEBPACK_IMPORTED_MODULE_1__.PathTokens.isInstanceToken(x) ? _ModelPath__WEBPACK_IMPORTED_MODULE_1__.PathTokens.each : x).toArray());
47429
47432
  }
47430
47433
  function getMaskWithInstances(exactPath) {
47431
47434
  const reduceResult = Iterator.from(exactPath.getPathParts()).reduce((result, token) => {
47432
- if (_ModelPath__WEBPACK_IMPORTED_MODULE_0__.PathTokens.isInstanceToken(token) || _ModelPath__WEBPACK_IMPORTED_MODULE_0__.PathTokens.isMultiToken(token)) {
47435
+ if (_ModelPath__WEBPACK_IMPORTED_MODULE_1__.PathTokens.isInstanceToken(token) || _ModelPath__WEBPACK_IMPORTED_MODULE_1__.PathTokens.isMultiToken(token)) {
47433
47436
  result.instances.push(token);
47434
47437
  }
47435
- result.tokens.push(_ModelPath__WEBPACK_IMPORTED_MODULE_0__.PathTokens.isInstanceToken(token) ? _ModelPath__WEBPACK_IMPORTED_MODULE_0__.PathTokens.each : token);
47438
+ result.tokens.push(_ModelPath__WEBPACK_IMPORTED_MODULE_1__.PathTokens.isInstanceToken(token) ? _ModelPath__WEBPACK_IMPORTED_MODULE_1__.PathTokens.each : token);
47436
47439
  return result;
47437
47440
  }, {
47438
47441
  tokens: [],
47439
47442
  instances: []
47440
47443
  });
47441
47444
  return {
47442
- mask: (0,_ModelPath__WEBPACK_IMPORTED_MODULE_0__.createAbsoluteFromTokens)(reduceResult.tokens),
47445
+ mask: (0,_ModelPath__WEBPACK_IMPORTED_MODULE_1__.createAbsoluteFromTokens)(reduceResult.tokens),
47443
47446
  instances: reduceResult.instances
47444
47447
  };
47445
47448
  }
47446
- function replaceInstancesWithMultiplicity(path, replaceToken = _ModelPath__WEBPACK_IMPORTED_MODULE_0__.PathTokens.each) {
47449
+ function replaceInstancesWithMultiplicity(path, replaceToken = _ModelPath__WEBPACK_IMPORTED_MODULE_1__.PathTokens.each) {
47447
47450
  const isAbsolute = path.isAbsolute();
47448
- const resultTokens = path.getPathPartsAsArray().map(x => _ModelPath__WEBPACK_IMPORTED_MODULE_0__.PathTokens.isInstanceToken(x) ? replaceToken : x);
47449
- return isAbsolute ? (0,_ModelPath__WEBPACK_IMPORTED_MODULE_0__.createAbsoluteFromTokens)(resultTokens) : (0,_ModelPath__WEBPACK_IMPORTED_MODULE_0__.createRelativeFromTokens)(resultTokens);
47451
+ const resultTokens = path.getPathPartsAsArray().map(x => _ModelPath__WEBPACK_IMPORTED_MODULE_1__.PathTokens.isInstanceToken(x) ? replaceToken : x);
47452
+ return isAbsolute ? (0,_ModelPath__WEBPACK_IMPORTED_MODULE_1__.createAbsoluteFromTokens)(resultTokens) : (0,_ModelPath__WEBPACK_IMPORTED_MODULE_1__.createRelativeFromTokens)(resultTokens);
47453
+ }
47454
+ function checkIsReservedPath(path) {
47455
+ return _PathConstants__WEBPACK_IMPORTED_MODULE_0__.reservedForTechnicalUsageFields.some(field => path.endsWith((0,_ModelPath__WEBPACK_IMPORTED_MODULE_1__.createModelPath)(field, false)));
47450
47456
  }
47451
47457
 
47452
47458
  /***/ }),
@@ -47661,14 +47667,24 @@ class Set2 {
47661
47667
  __webpack_require__.r(__webpack_exports__);
47662
47668
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
47663
47669
  /* harmony export */ AttachmentInfoPath: () => (/* binding */ AttachmentInfoPath),
47670
+ /* harmony export */ FalsyTechnicalFieldValue: () => (/* binding */ FalsyTechnicalFieldValue),
47671
+ /* harmony export */ OptionalBlockVisibilityFieldName: () => (/* binding */ OptionalBlockVisibilityFieldName),
47672
+ /* harmony export */ OptionalElementsExistenceFieldName: () => (/* binding */ OptionalElementsExistenceFieldName),
47664
47673
  /* harmony export */ OptionalSectionFilledFieldName: () => (/* binding */ OptionalSectionFilledFieldName),
47665
- /* harmony export */ UnitLabelPath: () => (/* binding */ UnitLabelPath)
47674
+ /* harmony export */ TruthyTechnicalFieldValue: () => (/* binding */ TruthyTechnicalFieldValue),
47675
+ /* harmony export */ UnitLabelPath: () => (/* binding */ UnitLabelPath),
47676
+ /* harmony export */ reservedForTechnicalUsageFields: () => (/* binding */ reservedForTechnicalUsageFields)
47666
47677
  /* harmony export */ });
47667
47678
  /* harmony import */ var _ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
47668
47679
 
47669
47680
  const UnitLabelPath = (0,_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.createRelativeResolvedModelPath)("label");
47670
47681
  const AttachmentInfoPath = (0,_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.createRelativeResolvedModelPath)("attachment");
47682
+ const TruthyTechnicalFieldValue = "1";
47683
+ const FalsyTechnicalFieldValue = null;
47671
47684
  const OptionalSectionFilledFieldName = "isFilledOptional";
47685
+ const OptionalElementsExistenceFieldName = "isExists";
47686
+ const OptionalBlockVisibilityFieldName = "isOptionalBlockVisible";
47687
+ const reservedForTechnicalUsageFields = [OptionalSectionFilledFieldName, OptionalElementsExistenceFieldName, OptionalBlockVisibilityFieldName];
47672
47688
 
47673
47689
  /***/ }),
47674
47690
 
@@ -47776,9 +47792,9 @@ function arrayIsNotEmpty(items) {
47776
47792
  function arrayHasAtLeastOneItem(items) {
47777
47793
  return items.length > 0;
47778
47794
  }
47779
- function ensureArrayIsNotEmpty(items) {
47795
+ function ensureArrayIsNotEmpty(items, message) {
47780
47796
  if (!arrayIsNotEmpty(items)) {
47781
- throw new Error(`Array must be not empty`);
47797
+ throw new Error(message !== null && message !== void 0 ? message : `Array must be not empty`);
47782
47798
  }
47783
47799
  }
47784
47800
  function ensureArrayHasLength(items, length) {
@@ -61195,7 +61211,7 @@ class DefaultKCLangExpressionVisitor {
61195
61211
  // this file was prevaled
61196
61212
  /* eslint-disable */
61197
61213
  // @ts-ignore
61198
- module.exports = "/*\n * Generated by PEG.js 0.10.0.\n *\n * http://pegjs.org/\n */\n(function() {\n \"use strict\";\n\n function peg$subclass(child, parent) {\n function ctor() { this.constructor = child; }\n ctor.prototype = parent.prototype;\n child.prototype = new ctor();\n }\n\n function peg$SyntaxError(message, expected, found, location) {\n this.message = message;\n this.expected = expected;\n this.found = found;\n this.location = location;\n this.name = \"SyntaxError\";\n\n if (typeof Error.captureStackTrace === \"function\") {\n Error.captureStackTrace(this, peg$SyntaxError);\n }\n }\n\n peg$subclass(peg$SyntaxError, Error);\n\n peg$SyntaxError.buildMessage = function(expected, found) {\n var DESCRIBE_EXPECTATION_FNS = {\n literal: function(expectation) {\n return \"\\\"\" + literalEscape(expectation.text) + \"\\\"\";\n },\n\n \"class\": function(expectation) {\n var escapedParts = \"\",\n i;\n\n for (i = 0; i < expectation.parts.length; i++) {\n escapedParts += expectation.parts[i] instanceof Array\n ? classEscape(expectation.parts[i][0]) + \"-\" + classEscape(expectation.parts[i][1])\n : classEscape(expectation.parts[i]);\n }\n\n return \"[\" + (expectation.inverted ? \"^\" : \"\") + escapedParts + \"]\";\n },\n\n any: function(expectation) {\n return \"any character\";\n },\n\n end: function(expectation) {\n return \"end of input\";\n },\n\n other: function(expectation) {\n return expectation.description;\n }\n };\n\n function hex(ch) {\n return ch.charCodeAt(0).toString(16).toUpperCase();\n }\n\n function literalEscape(s) {\n return s\n .replace(/\\\\/g, '\\\\\\\\')\n .replace(/\"/g, '\\\\\"')\n .replace(/\\0/g, '\\\\0')\n .replace(/\\t/g, '\\\\t')\n .replace(/\\n/g, '\\\\n')\n .replace(/\\r/g, '\\\\r')\n .replace(/[\\x00-\\x0F]/g, function(ch) { return '\\\\x0' + hex(ch); })\n .replace(/[\\x10-\\x1F\\x7F-\\x9F]/g, function(ch) { return '\\\\x' + hex(ch); });\n }\n\n function classEscape(s) {\n return s\n .replace(/\\\\/g, '\\\\\\\\')\n .replace(/\\]/g, '\\\\]')\n .replace(/\\^/g, '\\\\^')\n .replace(/-/g, '\\\\-')\n .replace(/\\0/g, '\\\\0')\n .replace(/\\t/g, '\\\\t')\n .replace(/\\n/g, '\\\\n')\n .replace(/\\r/g, '\\\\r')\n .replace(/[\\x00-\\x0F]/g, function(ch) { return '\\\\x0' + hex(ch); })\n .replace(/[\\x10-\\x1F\\x7F-\\x9F]/g, function(ch) { return '\\\\x' + hex(ch); });\n }\n\n function describeExpectation(expectation) {\n return DESCRIBE_EXPECTATION_FNS[expectation.type](expectation);\n }\n\n function describeExpected(expected) {\n var descriptions = new Array(expected.length),\n i, j;\n\n for (i = 0; i < expected.length; i++) {\n descriptions[i] = describeExpectation(expected[i]);\n }\n\n descriptions.sort();\n\n if (descriptions.length > 0) {\n for (i = 1, j = 1; i < descriptions.length; i++) {\n if (descriptions[i - 1] !== descriptions[i]) {\n descriptions[j] = descriptions[i];\n j++;\n }\n }\n descriptions.length = j;\n }\n\n switch (descriptions.length) {\n case 1:\n return descriptions[0];\n\n case 2:\n return descriptions[0] + \" or \" + descriptions[1];\n\n default:\n return descriptions.slice(0, -1).join(\", \")\n + \", or \"\n + descriptions[descriptions.length - 1];\n }\n }\n\n function describeFound(found) {\n return found ? \"\\\"\" + literalEscape(found) + \"\\\"\" : \"end of input\";\n }\n\n return \"Expected \" + describeExpected(expected) + \" but \" + describeFound(found) + \" found.\";\n };\n\n function peg$parse(input, options) {\n options = options !== void 0 ? options : {};\n\n var peg$FAILED = {},\n\n peg$startRuleFunctions = { Text: peg$parseText },\n peg$startRuleFunction = peg$parseText,\n\n peg$c0 = function(items) {\r\n \treturn items.filter(x => x !== \"\");\r\n },\n peg$c1 = \"[\",\n peg$c2 = peg$literalExpectation(\"[\", false),\n peg$c3 = \"]\",\n peg$c4 = peg$literalExpectation(\"]\", false),\n peg$c5 = \"(\",\n peg$c6 = peg$literalExpectation(\"(\", false),\n peg$c7 = \")\",\n peg$c8 = peg$literalExpectation(\")\", false),\n peg$c9 = function(text, src) {\r\n return {\r\n \ttype: \"link\",\r\n text: text,\r\n src: src,\r\n }\r\n },\n peg$c10 = /^[^ \\]\\t\\n\\r]/,\n peg$c11 = peg$classExpectation([\" \", \"]\", \"\\t\", \"\\n\", \"\\r\"], true, false),\n peg$c12 = function(w) { return w.join(\"\") },\n peg$c13 = function(items) {\r\n return items.filter(x => x !== \"\");\r\n },\n peg$c14 = /^[^)]/,\n peg$c15 = peg$classExpectation([\")\"], true, false),\n peg$c16 = function(w) {\r\n \treturn w.join(\"\").trim()\r\n },\n peg$c17 = /^[\\n]/,\n peg$c18 = peg$classExpectation([\"\\n\"], false, false),\n peg$c19 = /^[ \\t\\n\\r]/,\n peg$c20 = peg$classExpectation([\" \", \"\\t\", \"\\n\", \"\\r\"], false, false),\n peg$c21 = function() {\r\n \treturn \"\\n\"\r\n },\n peg$c22 = /^[^ \\t\\n\\r]/,\n peg$c23 = peg$classExpectation([\" \", \"\\t\", \"\\n\", \"\\r\"], true, false),\n peg$c24 = function(w) {\r\n \treturn w.join(\"\");\r\n },\n peg$c25 = function() {\r\n \treturn \"\";\r\n },\n\n peg$currPos = 0,\n peg$savedPos = 0,\n peg$posDetailsCache = [{ line: 1, column: 1 }],\n peg$maxFailPos = 0,\n peg$maxFailExpected = [],\n peg$silentFails = 0,\n\n peg$result;\n\n if (\"startRule\" in options) {\n if (!(options.startRule in peg$startRuleFunctions)) {\n throw new Error(\"Can't start parsing from rule \\\"\" + options.startRule + \"\\\".\");\n }\n\n peg$startRuleFunction = peg$startRuleFunctions[options.startRule];\n }\n\n function text() {\n return input.substring(peg$savedPos, peg$currPos);\n }\n\n function location() {\n return peg$computeLocation(peg$savedPos, peg$currPos);\n }\n\n function expected(description, location) {\n location = location !== void 0 ? location : peg$computeLocation(peg$savedPos, peg$currPos)\n\n throw peg$buildStructuredError(\n [peg$otherExpectation(description)],\n input.substring(peg$savedPos, peg$currPos),\n location\n );\n }\n\n function error(message, location) {\n location = location !== void 0 ? location : peg$computeLocation(peg$savedPos, peg$currPos)\n\n throw peg$buildSimpleError(message, location);\n }\n\n function peg$literalExpectation(text, ignoreCase) {\n return { type: \"literal\", text: text, ignoreCase: ignoreCase };\n }\n\n function peg$classExpectation(parts, inverted, ignoreCase) {\n return { type: \"class\", parts: parts, inverted: inverted, ignoreCase: ignoreCase };\n }\n\n function peg$anyExpectation() {\n return { type: \"any\" };\n }\n\n function peg$endExpectation() {\n return { type: \"end\" };\n }\n\n function peg$otherExpectation(description) {\n return { type: \"other\", description: description };\n }\n\n function peg$computePosDetails(pos) {\n var details = peg$posDetailsCache[pos], p;\n\n if (details) {\n return details;\n } else {\n p = pos - 1;\n while (!peg$posDetailsCache[p]) {\n p--;\n }\n\n details = peg$posDetailsCache[p];\n details = {\n line: details.line,\n column: details.column\n };\n\n while (p < pos) {\n if (input.charCodeAt(p) === 10) {\n details.line++;\n details.column = 1;\n } else {\n details.column++;\n }\n\n p++;\n }\n\n peg$posDetailsCache[pos] = details;\n return details;\n }\n }\n\n function peg$computeLocation(startPos, endPos) {\n var startPosDetails = peg$computePosDetails(startPos),\n endPosDetails = peg$computePosDetails(endPos);\n\n return {\n start: {\n offset: startPos,\n line: startPosDetails.line,\n column: startPosDetails.column\n },\n end: {\n offset: endPos,\n line: endPosDetails.line,\n column: endPosDetails.column\n }\n };\n }\n\n function peg$fail(expected) {\n if (peg$currPos < peg$maxFailPos) { return; }\n\n if (peg$currPos > peg$maxFailPos) {\n peg$maxFailPos = peg$currPos;\n peg$maxFailExpected = [];\n }\n\n peg$maxFailExpected.push(expected);\n }\n\n function peg$buildSimpleError(message, location) {\n return new peg$SyntaxError(message, null, null, location);\n }\n\n function peg$buildStructuredError(expected, found, location) {\n return new peg$SyntaxError(\n peg$SyntaxError.buildMessage(expected, found),\n expected,\n found,\n location\n );\n }\n\n function peg$parseText() {\n var s0, s1, s2;\n\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$parseLink();\n if (s2 === peg$FAILED) {\n s2 = peg$parseWord();\n if (s2 === peg$FAILED) {\n s2 = peg$parseNewLine();\n if (s2 === peg$FAILED) {\n s2 = peg$parse_();\n }\n }\n }\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$parseLink();\n if (s2 === peg$FAILED) {\n s2 = peg$parseWord();\n if (s2 === peg$FAILED) {\n s2 = peg$parseNewLine();\n if (s2 === peg$FAILED) {\n s2 = peg$parse_();\n }\n }\n }\n }\n if (s1 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c0(s1);\n }\n s0 = s1;\n\n return s0;\n }\n\n function peg$parseLink() {\n var s0, s1, s2, s3, s4, s5, s6;\n\n s0 = peg$currPos;\n if (input.charCodeAt(peg$currPos) === 91) {\n s1 = peg$c1;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c2); }\n }\n if (s1 !== peg$FAILED) {\n s2 = peg$parseLinkText();\n if (s2 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 93) {\n s3 = peg$c3;\n peg$currPos++;\n } else {\n s3 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c4); }\n }\n if (s3 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 40) {\n s4 = peg$c5;\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c6); }\n }\n if (s4 !== peg$FAILED) {\n s5 = peg$parseLinkSrc();\n if (s5 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 41) {\n s6 = peg$c7;\n peg$currPos++;\n } else {\n s6 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c8); }\n }\n if (s6 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c9(s2, s5);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n\n return s0;\n }\n\n function peg$parseLinkText() {\n var s0, s1, s2, s3, s4;\n\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$currPos;\n s3 = [];\n if (peg$c10.test(input.charAt(peg$currPos))) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c11); }\n }\n if (s4 !== peg$FAILED) {\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n if (peg$c10.test(input.charAt(peg$currPos))) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c11); }\n }\n }\n } else {\n s3 = peg$FAILED;\n }\n if (s3 !== peg$FAILED) {\n peg$savedPos = s2;\n s3 = peg$c12(s3);\n }\n s2 = s3;\n if (s2 === peg$FAILED) {\n s2 = peg$parse_();\n }\n if (s2 !== peg$FAILED) {\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$currPos;\n s3 = [];\n if (peg$c10.test(input.charAt(peg$currPos))) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c11); }\n }\n if (s4 !== peg$FAILED) {\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n if (peg$c10.test(input.charAt(peg$currPos))) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c11); }\n }\n }\n } else {\n s3 = peg$FAILED;\n }\n if (s3 !== peg$FAILED) {\n peg$savedPos = s2;\n s3 = peg$c12(s3);\n }\n s2 = s3;\n if (s2 === peg$FAILED) {\n s2 = peg$parse_();\n }\n }\n } else {\n s1 = peg$FAILED;\n }\n if (s1 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c13(s1);\n }\n s0 = s1;\n\n return s0;\n }\n\n function peg$parseLinkSrc() {\n var s0, s1, s2;\n\n s0 = peg$currPos;\n s1 = [];\n if (peg$c14.test(input.charAt(peg$currPos))) {\n s2 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c15); }\n }\n if (s2 !== peg$FAILED) {\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n if (peg$c14.test(input.charAt(peg$currPos))) {\n s2 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c15); }\n }\n }\n } else {\n s1 = peg$FAILED;\n }\n if (s1 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c16(s1);\n }\n s0 = s1;\n\n return s0;\n }\n\n function peg$parseNewLine() {\n var s0, s1, s2, s3, s4;\n\n s0 = peg$currPos;\n if (peg$c17.test(input.charAt(peg$currPos))) {\n s1 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c18); }\n }\n if (s1 !== peg$FAILED) {\n if (peg$c17.test(input.charAt(peg$currPos))) {\n s2 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c18); }\n }\n if (s2 !== peg$FAILED) {\n s3 = [];\n if (peg$c19.test(input.charAt(peg$currPos))) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c20); }\n }\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n if (peg$c19.test(input.charAt(peg$currPos))) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c20); }\n }\n }\n if (s3 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c21();\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n\n return s0;\n }\n\n function peg$parseWord() {\n var s0, s1, s2;\n\n s0 = peg$currPos;\n s1 = [];\n if (peg$c22.test(input.charAt(peg$currPos))) {\n s2 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c23); }\n }\n if (s2 !== peg$FAILED) {\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n if (peg$c22.test(input.charAt(peg$currPos))) {\n s2 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c23); }\n }\n }\n } else {\n s1 = peg$FAILED;\n }\n if (s1 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c24(s1);\n }\n s0 = s1;\n\n return s0;\n }\n\n function peg$parse_() {\n var s0, s1, s2, s3, s4, s5, s6;\n\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$currPos;\n s3 = peg$currPos;\n peg$silentFails++;\n s4 = peg$currPos;\n if (peg$c17.test(input.charAt(peg$currPos))) {\n s5 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s5 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c18); }\n }\n if (s5 !== peg$FAILED) {\n if (peg$c17.test(input.charAt(peg$currPos))) {\n s6 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s6 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c18); }\n }\n if (s6 !== peg$FAILED) {\n s5 = [s5, s6];\n s4 = s5;\n } else {\n peg$currPos = s4;\n s4 = peg$FAILED;\n }\n } else {\n peg$currPos = s4;\n s4 = peg$FAILED;\n }\n peg$silentFails--;\n if (s4 === peg$FAILED) {\n s3 = void 0;\n } else {\n peg$currPos = s3;\n s3 = peg$FAILED;\n }\n if (s3 !== peg$FAILED) {\n if (peg$c19.test(input.charAt(peg$currPos))) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c20); }\n }\n if (s4 !== peg$FAILED) {\n s3 = [s3, s4];\n s2 = s3;\n } else {\n peg$currPos = s2;\n s2 = peg$FAILED;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$FAILED;\n }\n if (s2 !== peg$FAILED) {\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$currPos;\n s3 = peg$currPos;\n peg$silentFails++;\n s4 = peg$currPos;\n if (peg$c17.test(input.charAt(peg$currPos))) {\n s5 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s5 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c18); }\n }\n if (s5 !== peg$FAILED) {\n if (peg$c17.test(input.charAt(peg$currPos))) {\n s6 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s6 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c18); }\n }\n if (s6 !== peg$FAILED) {\n s5 = [s5, s6];\n s4 = s5;\n } else {\n peg$currPos = s4;\n s4 = peg$FAILED;\n }\n } else {\n peg$currPos = s4;\n s4 = peg$FAILED;\n }\n peg$silentFails--;\n if (s4 === peg$FAILED) {\n s3 = void 0;\n } else {\n peg$currPos = s3;\n s3 = peg$FAILED;\n }\n if (s3 !== peg$FAILED) {\n if (peg$c19.test(input.charAt(peg$currPos))) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c20); }\n }\n if (s4 !== peg$FAILED) {\n s3 = [s3, s4];\n s2 = s3;\n } else {\n peg$currPos = s2;\n s2 = peg$FAILED;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$FAILED;\n }\n }\n } else {\n s1 = peg$FAILED;\n }\n if (s1 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c25();\n }\n s0 = s1;\n\n return s0;\n }\n\n peg$result = peg$startRuleFunction();\n\n if (peg$result !== peg$FAILED && peg$currPos === input.length) {\n return peg$result;\n } else {\n if (peg$result !== peg$FAILED && peg$currPos < input.length) {\n peg$fail(peg$endExpectation());\n }\n\n throw peg$buildStructuredError(\n peg$maxFailExpected,\n peg$maxFailPos < input.length ? input.charAt(peg$maxFailPos) : null,\n peg$maxFailPos < input.length\n ? peg$computeLocation(peg$maxFailPos, peg$maxFailPos + 1)\n : peg$computeLocation(peg$maxFailPos, peg$maxFailPos)\n );\n }\n }\n\n return {\n SyntaxError: peg$SyntaxError,\n parse: peg$parse\n };\n})()";
61214
+ module.exports = "/*\n * Generated by PEG.js 0.10.0.\n *\n * http://pegjs.org/\n */\n(function() {\n \"use strict\";\n\n function peg$subclass(child, parent) {\n function ctor() { this.constructor = child; }\n ctor.prototype = parent.prototype;\n child.prototype = new ctor();\n }\n\n function peg$SyntaxError(message, expected, found, location) {\n this.message = message;\n this.expected = expected;\n this.found = found;\n this.location = location;\n this.name = \"SyntaxError\";\n\n if (typeof Error.captureStackTrace === \"function\") {\n Error.captureStackTrace(this, peg$SyntaxError);\n }\n }\n\n peg$subclass(peg$SyntaxError, Error);\n\n peg$SyntaxError.buildMessage = function(expected, found) {\n var DESCRIBE_EXPECTATION_FNS = {\n literal: function(expectation) {\n return \"\\\"\" + literalEscape(expectation.text) + \"\\\"\";\n },\n\n \"class\": function(expectation) {\n var escapedParts = \"\",\n i;\n\n for (i = 0; i < expectation.parts.length; i++) {\n escapedParts += expectation.parts[i] instanceof Array\n ? classEscape(expectation.parts[i][0]) + \"-\" + classEscape(expectation.parts[i][1])\n : classEscape(expectation.parts[i]);\n }\n\n return \"[\" + (expectation.inverted ? \"^\" : \"\") + escapedParts + \"]\";\n },\n\n any: function(expectation) {\n return \"any character\";\n },\n\n end: function(expectation) {\n return \"end of input\";\n },\n\n other: function(expectation) {\n return expectation.description;\n }\n };\n\n function hex(ch) {\n return ch.charCodeAt(0).toString(16).toUpperCase();\n }\n\n function literalEscape(s) {\n return s\n .replace(/\\\\/g, '\\\\\\\\')\n .replace(/\"/g, '\\\\\"')\n .replace(/\\0/g, '\\\\0')\n .replace(/\\t/g, '\\\\t')\n .replace(/\\n/g, '\\\\n')\n .replace(/\\r/g, '\\\\r')\n .replace(/[\\x00-\\x0F]/g, function(ch) { return '\\\\x0' + hex(ch); })\n .replace(/[\\x10-\\x1F\\x7F-\\x9F]/g, function(ch) { return '\\\\x' + hex(ch); });\n }\n\n function classEscape(s) {\n return s\n .replace(/\\\\/g, '\\\\\\\\')\n .replace(/\\]/g, '\\\\]')\n .replace(/\\^/g, '\\\\^')\n .replace(/-/g, '\\\\-')\n .replace(/\\0/g, '\\\\0')\n .replace(/\\t/g, '\\\\t')\n .replace(/\\n/g, '\\\\n')\n .replace(/\\r/g, '\\\\r')\n .replace(/[\\x00-\\x0F]/g, function(ch) { return '\\\\x0' + hex(ch); })\n .replace(/[\\x10-\\x1F\\x7F-\\x9F]/g, function(ch) { return '\\\\x' + hex(ch); });\n }\n\n function describeExpectation(expectation) {\n return DESCRIBE_EXPECTATION_FNS[expectation.type](expectation);\n }\n\n function describeExpected(expected) {\n var descriptions = new Array(expected.length),\n i, j;\n\n for (i = 0; i < expected.length; i++) {\n descriptions[i] = describeExpectation(expected[i]);\n }\n\n descriptions.sort();\n\n if (descriptions.length > 0) {\n for (i = 1, j = 1; i < descriptions.length; i++) {\n if (descriptions[i - 1] !== descriptions[i]) {\n descriptions[j] = descriptions[i];\n j++;\n }\n }\n descriptions.length = j;\n }\n\n switch (descriptions.length) {\n case 1:\n return descriptions[0];\n\n case 2:\n return descriptions[0] + \" or \" + descriptions[1];\n\n default:\n return descriptions.slice(0, -1).join(\", \")\n + \", or \"\n + descriptions[descriptions.length - 1];\n }\n }\n\n function describeFound(found) {\n return found ? \"\\\"\" + literalEscape(found) + \"\\\"\" : \"end of input\";\n }\n\n return \"Expected \" + describeExpected(expected) + \" but \" + describeFound(found) + \" found.\";\n };\n\n function peg$parse(input, options) {\n options = options !== void 0 ? options : {};\n\n var peg$FAILED = {},\n\n peg$startRuleFunctions = { Text: peg$parseText },\n peg$startRuleFunction = peg$parseText,\n\n peg$c0 = function(items) {\n \treturn items.filter(x => x !== \"\");\n },\n peg$c1 = \"[\",\n peg$c2 = peg$literalExpectation(\"[\", false),\n peg$c3 = \"]\",\n peg$c4 = peg$literalExpectation(\"]\", false),\n peg$c5 = \"(\",\n peg$c6 = peg$literalExpectation(\"(\", false),\n peg$c7 = \")\",\n peg$c8 = peg$literalExpectation(\")\", false),\n peg$c9 = function(text, src) {\n return {\n \ttype: \"link\",\n text: text,\n src: src,\n }\n },\n peg$c10 = /^[^ \\]\\t\\n\\r]/,\n peg$c11 = peg$classExpectation([\" \", \"]\", \"\\t\", \"\\n\", \"\\r\"], true, false),\n peg$c12 = function(w) { return w.join(\"\") },\n peg$c13 = function(items) {\n return items.filter(x => x !== \"\");\n },\n peg$c14 = /^[^)]/,\n peg$c15 = peg$classExpectation([\")\"], true, false),\n peg$c16 = function(w) {\n \treturn w.join(\"\").trim()\n },\n peg$c17 = /^[\\n]/,\n peg$c18 = peg$classExpectation([\"\\n\"], false, false),\n peg$c19 = /^[ \\t\\n\\r]/,\n peg$c20 = peg$classExpectation([\" \", \"\\t\", \"\\n\", \"\\r\"], false, false),\n peg$c21 = function() {\n \treturn \"\\n\"\n },\n peg$c22 = /^[^ \\t\\n\\r]/,\n peg$c23 = peg$classExpectation([\" \", \"\\t\", \"\\n\", \"\\r\"], true, false),\n peg$c24 = function(w) {\n \treturn w.join(\"\");\n },\n peg$c25 = function() {\n \treturn \"\";\n },\n\n peg$currPos = 0,\n peg$savedPos = 0,\n peg$posDetailsCache = [{ line: 1, column: 1 }],\n peg$maxFailPos = 0,\n peg$maxFailExpected = [],\n peg$silentFails = 0,\n\n peg$result;\n\n if (\"startRule\" in options) {\n if (!(options.startRule in peg$startRuleFunctions)) {\n throw new Error(\"Can't start parsing from rule \\\"\" + options.startRule + \"\\\".\");\n }\n\n peg$startRuleFunction = peg$startRuleFunctions[options.startRule];\n }\n\n function text() {\n return input.substring(peg$savedPos, peg$currPos);\n }\n\n function location() {\n return peg$computeLocation(peg$savedPos, peg$currPos);\n }\n\n function expected(description, location) {\n location = location !== void 0 ? location : peg$computeLocation(peg$savedPos, peg$currPos)\n\n throw peg$buildStructuredError(\n [peg$otherExpectation(description)],\n input.substring(peg$savedPos, peg$currPos),\n location\n );\n }\n\n function error(message, location) {\n location = location !== void 0 ? location : peg$computeLocation(peg$savedPos, peg$currPos)\n\n throw peg$buildSimpleError(message, location);\n }\n\n function peg$literalExpectation(text, ignoreCase) {\n return { type: \"literal\", text: text, ignoreCase: ignoreCase };\n }\n\n function peg$classExpectation(parts, inverted, ignoreCase) {\n return { type: \"class\", parts: parts, inverted: inverted, ignoreCase: ignoreCase };\n }\n\n function peg$anyExpectation() {\n return { type: \"any\" };\n }\n\n function peg$endExpectation() {\n return { type: \"end\" };\n }\n\n function peg$otherExpectation(description) {\n return { type: \"other\", description: description };\n }\n\n function peg$computePosDetails(pos) {\n var details = peg$posDetailsCache[pos], p;\n\n if (details) {\n return details;\n } else {\n p = pos - 1;\n while (!peg$posDetailsCache[p]) {\n p--;\n }\n\n details = peg$posDetailsCache[p];\n details = {\n line: details.line,\n column: details.column\n };\n\n while (p < pos) {\n if (input.charCodeAt(p) === 10) {\n details.line++;\n details.column = 1;\n } else {\n details.column++;\n }\n\n p++;\n }\n\n peg$posDetailsCache[pos] = details;\n return details;\n }\n }\n\n function peg$computeLocation(startPos, endPos) {\n var startPosDetails = peg$computePosDetails(startPos),\n endPosDetails = peg$computePosDetails(endPos);\n\n return {\n start: {\n offset: startPos,\n line: startPosDetails.line,\n column: startPosDetails.column\n },\n end: {\n offset: endPos,\n line: endPosDetails.line,\n column: endPosDetails.column\n }\n };\n }\n\n function peg$fail(expected) {\n if (peg$currPos < peg$maxFailPos) { return; }\n\n if (peg$currPos > peg$maxFailPos) {\n peg$maxFailPos = peg$currPos;\n peg$maxFailExpected = [];\n }\n\n peg$maxFailExpected.push(expected);\n }\n\n function peg$buildSimpleError(message, location) {\n return new peg$SyntaxError(message, null, null, location);\n }\n\n function peg$buildStructuredError(expected, found, location) {\n return new peg$SyntaxError(\n peg$SyntaxError.buildMessage(expected, found),\n expected,\n found,\n location\n );\n }\n\n function peg$parseText() {\n var s0, s1, s2;\n\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$parseLink();\n if (s2 === peg$FAILED) {\n s2 = peg$parseWord();\n if (s2 === peg$FAILED) {\n s2 = peg$parseNewLine();\n if (s2 === peg$FAILED) {\n s2 = peg$parse_();\n }\n }\n }\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$parseLink();\n if (s2 === peg$FAILED) {\n s2 = peg$parseWord();\n if (s2 === peg$FAILED) {\n s2 = peg$parseNewLine();\n if (s2 === peg$FAILED) {\n s2 = peg$parse_();\n }\n }\n }\n }\n if (s1 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c0(s1);\n }\n s0 = s1;\n\n return s0;\n }\n\n function peg$parseLink() {\n var s0, s1, s2, s3, s4, s5, s6;\n\n s0 = peg$currPos;\n if (input.charCodeAt(peg$currPos) === 91) {\n s1 = peg$c1;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c2); }\n }\n if (s1 !== peg$FAILED) {\n s2 = peg$parseLinkText();\n if (s2 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 93) {\n s3 = peg$c3;\n peg$currPos++;\n } else {\n s3 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c4); }\n }\n if (s3 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 40) {\n s4 = peg$c5;\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c6); }\n }\n if (s4 !== peg$FAILED) {\n s5 = peg$parseLinkSrc();\n if (s5 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 41) {\n s6 = peg$c7;\n peg$currPos++;\n } else {\n s6 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c8); }\n }\n if (s6 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c9(s2, s5);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n\n return s0;\n }\n\n function peg$parseLinkText() {\n var s0, s1, s2, s3, s4;\n\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$currPos;\n s3 = [];\n if (peg$c10.test(input.charAt(peg$currPos))) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c11); }\n }\n if (s4 !== peg$FAILED) {\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n if (peg$c10.test(input.charAt(peg$currPos))) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c11); }\n }\n }\n } else {\n s3 = peg$FAILED;\n }\n if (s3 !== peg$FAILED) {\n peg$savedPos = s2;\n s3 = peg$c12(s3);\n }\n s2 = s3;\n if (s2 === peg$FAILED) {\n s2 = peg$parse_();\n }\n if (s2 !== peg$FAILED) {\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$currPos;\n s3 = [];\n if (peg$c10.test(input.charAt(peg$currPos))) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c11); }\n }\n if (s4 !== peg$FAILED) {\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n if (peg$c10.test(input.charAt(peg$currPos))) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c11); }\n }\n }\n } else {\n s3 = peg$FAILED;\n }\n if (s3 !== peg$FAILED) {\n peg$savedPos = s2;\n s3 = peg$c12(s3);\n }\n s2 = s3;\n if (s2 === peg$FAILED) {\n s2 = peg$parse_();\n }\n }\n } else {\n s1 = peg$FAILED;\n }\n if (s1 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c13(s1);\n }\n s0 = s1;\n\n return s0;\n }\n\n function peg$parseLinkSrc() {\n var s0, s1, s2;\n\n s0 = peg$currPos;\n s1 = [];\n if (peg$c14.test(input.charAt(peg$currPos))) {\n s2 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c15); }\n }\n if (s2 !== peg$FAILED) {\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n if (peg$c14.test(input.charAt(peg$currPos))) {\n s2 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c15); }\n }\n }\n } else {\n s1 = peg$FAILED;\n }\n if (s1 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c16(s1);\n }\n s0 = s1;\n\n return s0;\n }\n\n function peg$parseNewLine() {\n var s0, s1, s2, s3, s4;\n\n s0 = peg$currPos;\n if (peg$c17.test(input.charAt(peg$currPos))) {\n s1 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c18); }\n }\n if (s1 !== peg$FAILED) {\n if (peg$c17.test(input.charAt(peg$currPos))) {\n s2 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c18); }\n }\n if (s2 !== peg$FAILED) {\n s3 = [];\n if (peg$c19.test(input.charAt(peg$currPos))) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c20); }\n }\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n if (peg$c19.test(input.charAt(peg$currPos))) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c20); }\n }\n }\n if (s3 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c21();\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n\n return s0;\n }\n\n function peg$parseWord() {\n var s0, s1, s2;\n\n s0 = peg$currPos;\n s1 = [];\n if (peg$c22.test(input.charAt(peg$currPos))) {\n s2 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c23); }\n }\n if (s2 !== peg$FAILED) {\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n if (peg$c22.test(input.charAt(peg$currPos))) {\n s2 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c23); }\n }\n }\n } else {\n s1 = peg$FAILED;\n }\n if (s1 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c24(s1);\n }\n s0 = s1;\n\n return s0;\n }\n\n function peg$parse_() {\n var s0, s1, s2, s3, s4, s5, s6;\n\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$currPos;\n s3 = peg$currPos;\n peg$silentFails++;\n s4 = peg$currPos;\n if (peg$c17.test(input.charAt(peg$currPos))) {\n s5 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s5 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c18); }\n }\n if (s5 !== peg$FAILED) {\n if (peg$c17.test(input.charAt(peg$currPos))) {\n s6 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s6 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c18); }\n }\n if (s6 !== peg$FAILED) {\n s5 = [s5, s6];\n s4 = s5;\n } else {\n peg$currPos = s4;\n s4 = peg$FAILED;\n }\n } else {\n peg$currPos = s4;\n s4 = peg$FAILED;\n }\n peg$silentFails--;\n if (s4 === peg$FAILED) {\n s3 = void 0;\n } else {\n peg$currPos = s3;\n s3 = peg$FAILED;\n }\n if (s3 !== peg$FAILED) {\n if (peg$c19.test(input.charAt(peg$currPos))) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c20); }\n }\n if (s4 !== peg$FAILED) {\n s3 = [s3, s4];\n s2 = s3;\n } else {\n peg$currPos = s2;\n s2 = peg$FAILED;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$FAILED;\n }\n if (s2 !== peg$FAILED) {\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$currPos;\n s3 = peg$currPos;\n peg$silentFails++;\n s4 = peg$currPos;\n if (peg$c17.test(input.charAt(peg$currPos))) {\n s5 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s5 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c18); }\n }\n if (s5 !== peg$FAILED) {\n if (peg$c17.test(input.charAt(peg$currPos))) {\n s6 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s6 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c18); }\n }\n if (s6 !== peg$FAILED) {\n s5 = [s5, s6];\n s4 = s5;\n } else {\n peg$currPos = s4;\n s4 = peg$FAILED;\n }\n } else {\n peg$currPos = s4;\n s4 = peg$FAILED;\n }\n peg$silentFails--;\n if (s4 === peg$FAILED) {\n s3 = void 0;\n } else {\n peg$currPos = s3;\n s3 = peg$FAILED;\n }\n if (s3 !== peg$FAILED) {\n if (peg$c19.test(input.charAt(peg$currPos))) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c20); }\n }\n if (s4 !== peg$FAILED) {\n s3 = [s3, s4];\n s2 = s3;\n } else {\n peg$currPos = s2;\n s2 = peg$FAILED;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$FAILED;\n }\n }\n } else {\n s1 = peg$FAILED;\n }\n if (s1 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c25();\n }\n s0 = s1;\n\n return s0;\n }\n\n peg$result = peg$startRuleFunction();\n\n if (peg$result !== peg$FAILED && peg$currPos === input.length) {\n return peg$result;\n } else {\n if (peg$result !== peg$FAILED && peg$currPos < input.length) {\n peg$fail(peg$endExpectation());\n }\n\n throw peg$buildStructuredError(\n peg$maxFailExpected,\n peg$maxFailPos < input.length ? input.charAt(peg$maxFailPos) : null,\n peg$maxFailPos < input.length\n ? peg$computeLocation(peg$maxFailPos, peg$maxFailPos + 1)\n : peg$computeLocation(peg$maxFailPos, peg$maxFailPos)\n );\n }\n }\n\n return {\n SyntaxError: peg$SyntaxError,\n parse: peg$parse\n };\n})()";
61199
61215
 
61200
61216
  /***/ }),
61201
61217
 
@@ -62151,7 +62167,8 @@ __webpack_require__.r(__webpack_exports__);
62151
62167
  /* harmony export */ FormSchemaRng: () => (/* binding */ FormSchemaRng),
62152
62168
  /* harmony export */ FormSchemaRngAttribute: () => (/* binding */ FormSchemaRngAttribute),
62153
62169
  /* harmony export */ FormSchemaRngElement: () => (/* binding */ FormSchemaRngElement),
62154
- /* harmony export */ FormSchemaRngTypeInfo: () => (/* binding */ FormSchemaRngTypeInfo)
62170
+ /* harmony export */ FormSchemaRngTypeInfo: () => (/* binding */ FormSchemaRngTypeInfo),
62171
+ /* harmony export */ isFormSchemaRngElement: () => (/* binding */ isFormSchemaRngElement)
62155
62172
  /* harmony export */ });
62156
62173
  /* harmony import */ var _Common_Errors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../Common/Errors */ "./Common/Errors.ts");
62157
62174
  /* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
@@ -62212,6 +62229,7 @@ class FormSchemaRngElement {
62212
62229
  this.errorAndWarningCountRequired = void 0;
62213
62230
  this.lazyLoadingThreshold = void 0;
62214
62231
  this.disableValueAutoInit = void 0;
62232
+ this.hasInnerText = false;
62215
62233
  this.innerTextType = void 0;
62216
62234
  this.children = new Map();
62217
62235
  this.maxOccurs = void 0;
@@ -62260,9 +62278,15 @@ class FormSchemaRngElement {
62260
62278
  getChildren() {
62261
62279
  return this.children;
62262
62280
  }
62281
+ getChildrenArray() {
62282
+ return this.children.values().toArray();
62283
+ }
62263
62284
  getAttributes() {
62264
62285
  return this.attributes;
62265
62286
  }
62287
+ getAttributesArray() {
62288
+ return this.attributes.values().toArray();
62289
+ }
62266
62290
  isIgnoreForcedValueSet() {
62267
62291
  var _this$disableValueAut2;
62268
62292
  return (_this$disableValueAut2 = this.disableValueAutoInit) !== null && _this$disableValueAut2 !== void 0 ? _this$disableValueAut2 : this.parent instanceof FormSchemaRngElement ? this.parent.isIgnoreForcedValueSet() : false;
@@ -62271,6 +62295,9 @@ class FormSchemaRngElement {
62271
62295
  return this.useServerFilters;
62272
62296
  }
62273
62297
  }
62298
+ function isFormSchemaRngElement(obj) {
62299
+ return obj instanceof FormSchemaRngElement;
62300
+ }
62274
62301
  class FormSchemaRng {
62275
62302
  constructor(rootElement) {
62276
62303
  this.map = new Map();
@@ -62287,6 +62314,7 @@ class FormSchemaRng {
62287
62314
  static convertSchemaRngElement(schemaRngElement, parent) {
62288
62315
  const result = new FormSchemaRngElement(schemaRngElement.name, parent, schemaRngElement.optional, schemaRngElement.multiple, schemaRngElement.nillable, schemaRngElement.maxOccurs, schemaRngElement.lazyLoadMode, schemaRngElement.lazyLoadAggregations, schemaRngElement.errorAndWarningCountRequired, schemaRngElement.lazyLoadingThreshold, schemaRngElement.disableValueAutoInit, schemaRngElement.editorOnly, schemaRngElement.useServerFilters);
62289
62316
  if (schemaRngElement.innerText != undefined) {
62317
+ result.hasInnerText = true;
62290
62318
  if (schemaRngElement.innerText.type != undefined) {
62291
62319
  result.setInnerTextType(this.buildTypeInfo(schemaRngElement.innerText.type));
62292
62320
  }
@@ -69472,8 +69500,10 @@ __webpack_require__.r(__webpack_exports__);
69472
69500
  /* harmony import */ var _markupGenerator_ElementProcessors_FormParts_Page_PageNode__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../markupGenerator/ElementProcessors/FormParts/Page/PageNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Page/PageNode.ts");
69473
69501
  /* harmony import */ var _markupGenerator_getBindingPath__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../markupGenerator/getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
69474
69502
  /* harmony import */ var _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../markupGenerator/Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
69475
- /* harmony import */ var _DataDeclaration__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./DataDeclaration */ "./Generator/src/generators/DataDeclarationGenerator/DataDeclaration.ts");
69476
- /* harmony import */ var _DataDeclarationInitSourceSequenceFactory__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./DataDeclarationInitSourceSequenceFactory */ "./Generator/src/generators/DataDeclarationGenerator/DataDeclarationInitSourceSequenceFactory.ts");
69503
+ /* harmony import */ var _markupGenerator_ElementProcessors_Layout_OptionalBlock_OptionalBlockNode__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../markupGenerator/ElementProcessors/Layout/OptionalBlock/OptionalBlockNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/OptionalBlock/OptionalBlockNode.ts");
69504
+ /* harmony import */ var _DataDeclaration__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./DataDeclaration */ "./Generator/src/generators/DataDeclarationGenerator/DataDeclaration.ts");
69505
+ /* harmony import */ var _DataDeclarationInitSourceSequenceFactory__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./DataDeclarationInitSourceSequenceFactory */ "./Generator/src/generators/DataDeclarationGenerator/DataDeclarationInitSourceSequenceFactory.ts");
69506
+
69477
69507
 
69478
69508
 
69479
69509
 
@@ -69526,22 +69556,22 @@ class DataDeclarationGenerationContext {
69526
69556
  return;
69527
69557
  }
69528
69558
  const objVal = objDataValue[objDataValue.length - 1];
69529
- const nodeWithSettings = _DataDeclarationInitSourceSequenceFactory__WEBPACK_IMPORTED_MODULE_11__.DataDeclarationInitSourceSequenceFactory.getTypedValue([srcValue, srcDataValue.sequenceType], [objValue, objDataValue.sequenceType], _DataDeclaration__WEBPACK_IMPORTED_MODULE_10__.DataDeclarationInitSourceValueSequence.SETTINGS);
69559
+ const nodeWithSettings = _DataDeclarationInitSourceSequenceFactory__WEBPACK_IMPORTED_MODULE_12__.DataDeclarationInitSourceSequenceFactory.getTypedValue([srcValue, srcDataValue.sequenceType], [objValue, objDataValue.sequenceType], _DataDeclaration__WEBPACK_IMPORTED_MODULE_11__.DataDeclarationInitSourceValueSequence.SETTINGS);
69530
69560
  if (nodeWithSettings) {
69531
69561
  return nodeWithSettings;
69532
69562
  }
69533
- if (objDataValue.sequenceType === _DataDeclaration__WEBPACK_IMPORTED_MODULE_10__.DataDeclarationInitSourceValueSequence.DEFAULT && srcDataValue.sequenceType === _DataDeclaration__WEBPACK_IMPORTED_MODULE_10__.DataDeclarationInitSourceValueSequence.DEFAULT) {
69563
+ if (objDataValue.sequenceType === _DataDeclaration__WEBPACK_IMPORTED_MODULE_11__.DataDeclarationInitSourceValueSequence.DEFAULT && srcDataValue.sequenceType === _DataDeclaration__WEBPACK_IMPORTED_MODULE_11__.DataDeclarationInitSourceValueSequence.DEFAULT) {
69534
69564
  if (objVal) {
69535
69565
  const res = lodash_mergewith__WEBPACK_IMPORTED_MODULE_0___default()(objValue, srcValue);
69536
69566
  res.value[res.value.length - 1] = objVal;
69537
69567
  return res;
69538
69568
  }
69539
- } else if (srcDataValue.sequenceType === _DataDeclaration__WEBPACK_IMPORTED_MODULE_10__.DataDeclarationInitSourceValueSequence.DEFAULT) {
69569
+ } else if (srcDataValue.sequenceType === _DataDeclaration__WEBPACK_IMPORTED_MODULE_11__.DataDeclarationInitSourceValueSequence.DEFAULT) {
69540
69570
  return srcValue;
69541
- } else if (objDataValue.sequenceType === _DataDeclaration__WEBPACK_IMPORTED_MODULE_10__.DataDeclarationInitSourceValueSequence.DEFAULT) {
69571
+ } else if (objDataValue.sequenceType === _DataDeclaration__WEBPACK_IMPORTED_MODULE_11__.DataDeclarationInitSourceValueSequence.DEFAULT) {
69542
69572
  return objValue;
69543
69573
  }
69544
- const nodeDisabled = _DataDeclarationInitSourceSequenceFactory__WEBPACK_IMPORTED_MODULE_11__.DataDeclarationInitSourceSequenceFactory.getTypedValue([srcValue, srcDataValue.sequenceType], [objValue, objDataValue.sequenceType], _DataDeclaration__WEBPACK_IMPORTED_MODULE_10__.DataDeclarationInitSourceValueSequence.DISABLED);
69574
+ const nodeDisabled = _DataDeclarationInitSourceSequenceFactory__WEBPACK_IMPORTED_MODULE_12__.DataDeclarationInitSourceSequenceFactory.getTypedValue([srcValue, srcDataValue.sequenceType], [objValue, objDataValue.sequenceType], _DataDeclaration__WEBPACK_IMPORTED_MODULE_11__.DataDeclarationInitSourceValueSequence.DISABLED);
69545
69575
  if (nodeDisabled) {
69546
69576
  return nodeDisabled;
69547
69577
  }
@@ -69566,6 +69596,15 @@ class DataDeclarationGenerationContext {
69566
69596
  }
69567
69597
  return undefined;
69568
69598
  }
69599
+ isMultipleElement(path) {
69600
+ const resolvedSchemaEntity = this.formSchemaRng.getElementByPath(path);
69601
+ const entityIsElement = (0,_common_SchemaRng_FormSchemaRng__WEBPACK_IMPORTED_MODULE_5__.isFormSchemaRngElement)(resolvedSchemaEntity);
69602
+ if (!entityIsElement) {
69603
+ return false;
69604
+ }
69605
+ const isMultipleElement = Boolean(resolvedSchemaEntity.multiple);
69606
+ return isMultipleElement;
69607
+ }
69569
69608
  getTypeNode(node) {
69570
69609
  if (node.anonymousType != undefined) {
69571
69610
  return node.anonymousType;
@@ -69715,6 +69754,7 @@ class DataDeclarationGenerationContext {
69715
69754
  }
69716
69755
  getSections(node, requisite, requisiteMode = RequisiteSectionMode.AsRequisiteAttribute) {
69717
69756
  const page = node instanceof _markupGenerator_ElementProcessors_FormParts_Page_PageNode__WEBPACK_IMPORTED_MODULE_7__.PageNode ? node : node.findParentOfType(_markupGenerator_ElementProcessors_FormParts_Page_PageNode__WEBPACK_IMPORTED_MODULE_7__.PageNode);
69757
+ const optionalBlock = node.findParentOfType(_markupGenerator_ElementProcessors_Layout_OptionalBlock_OptionalBlockNode__WEBPACK_IMPORTED_MODULE_10__.OptionalBlockNode);
69718
69758
  const pageName = page === null || page === void 0 ? void 0 : page.id;
69719
69759
  const pageRequiresResolution = page != undefined && (page.multiple || Iterator.from(this.getAllParentPages(page)).some(x => {
69720
69760
  var _x$multiple;
@@ -69727,7 +69767,13 @@ class DataDeclarationGenerationContext {
69727
69767
  }];
69728
69768
  }
69729
69769
  }
69730
- const sections = pageName != undefined ? [pageName] : [];
69770
+ const sections = [];
69771
+ if (optionalBlock != undefined) {
69772
+ sections.push(optionalBlock.id);
69773
+ }
69774
+ if (pageName != undefined) {
69775
+ sections.push(pageName);
69776
+ }
69731
69777
  if (requisiteMode === RequisiteSectionMode.AsRequisiteAttribute) {
69732
69778
  if (requisite) {
69733
69779
  sections.push(_Common_CommonConstants_SectionNames__WEBPACK_IMPORTED_MODULE_2__.SectionNames.requisitesSection);
@@ -69797,6 +69843,8 @@ __webpack_require__.r(__webpack_exports__);
69797
69843
  /* harmony import */ var _Engine_src_Engine_Core_CoreTypes__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../Engine/src/Engine/Core/CoreTypes */ "./Engine/src/Engine/Core/CoreTypes.ts");
69798
69844
  /* harmony import */ var _Common_TypingUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../Common/TypingUtils */ "./Common/TypingUtils.ts");
69799
69845
  /* harmony import */ var _Common_ModelPath_Set_Set2__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../Common/ModelPath/Set/Set2 */ "./Common/ModelPath/Set/Set2.ts");
69846
+ /* harmony import */ var _Common_PathConstants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../Common/PathConstants */ "./Common/PathConstants.ts");
69847
+
69800
69848
 
69801
69849
 
69802
69850
 
@@ -69855,13 +69903,22 @@ class DataDeclarationGenerationTimeHelper {
69855
69903
  }
69856
69904
  getOptionalSections() {
69857
69905
  var _this$dataDeclaration, _this$dataDeclaration2;
69906
+ const rootPath = this.getDataDeclarationRootPath();
69907
+ return (_this$dataDeclaration = (_this$dataDeclaration2 = this.dataDeclaration[rootPath]) === null || _this$dataDeclaration2 === void 0 ? void 0 : _this$dataDeclaration2.optionalSections) !== null && _this$dataDeclaration !== void 0 ? _this$dataDeclaration : [];
69908
+ }
69909
+ getOptionalBlocksPaths() {
69910
+ const visibilityFieldsPaths = Object.keys(this.dataDeclaration).filter(path => path.endsWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_5__.OptionalBlockVisibilityFieldName));
69911
+ const optionalBlocksPaths = visibilityFieldsPaths.map(fieldPath => (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.createAbsoluteFromMask)(fieldPath, _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.PathTokens.each).getParentPath());
69912
+ return optionalBlocksPaths;
69913
+ }
69914
+ getDataDeclarationRootPath() {
69858
69915
  const anyPath = Object.keys(this.dataDeclaration)[0];
69859
69916
  if (anyPath == undefined) {
69860
69917
  return (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_3__.reject)();
69861
69918
  }
69862
69919
  const absolutePath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.createAbsolute)(anyPath);
69863
69920
  const root = _Common_IterableUtils__WEBPACK_IMPORTED_MODULE_0__.IterUtils.first(absolutePath.getPathParts());
69864
- return (_this$dataDeclaration = (_this$dataDeclaration2 = this.dataDeclaration[root !== null && root !== void 0 ? root : ""]) === null || _this$dataDeclaration2 === void 0 ? void 0 : _this$dataDeclaration2.optionalSections) !== null && _this$dataDeclaration !== void 0 ? _this$dataDeclaration : [];
69921
+ return root !== null && root !== void 0 ? root : "";
69865
69922
  }
69866
69923
  *getAllPaths() {
69867
69924
  for (const key of (0,_Common_IterableUtils__WEBPACK_IMPORTED_MODULE_0__.iterateKeys)(this.dataDeclaration)) {
@@ -72137,6 +72194,10 @@ __webpack_require__.r(__webpack_exports__);
72137
72194
  /* harmony import */ var _ExtendedSchema_ExtendedSchemaInfoUtils__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./ExtendedSchema/ExtendedSchemaInfoUtils */ "./Generator/src/generators/ExtendedSchema/ExtendedSchemaInfoUtils.ts");
72138
72195
  /* harmony import */ var _markupGenerator_ElementProcessors_Commons_NodePathsContext__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./markupGenerator/ElementProcessors/Commons/NodePathsContext */ "./Generator/src/generators/markupGenerator/ElementProcessors/Commons/NodePathsContext.ts");
72139
72196
  /* harmony import */ var _markupGenerator_IMarkupBuildingContext__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./markupGenerator/IMarkupBuildingContext */ "./Generator/src/generators/markupGenerator/IMarkupBuildingContext.ts");
72197
+ /* harmony import */ var _ServerSideFLangNormalization_RuleBuilders_OptionalElementsRulesBuilder__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./ServerSideFLangNormalization/RuleBuilders/OptionalElementsRulesBuilder */ "./Generator/src/generators/ServerSideFLangNormalization/RuleBuilders/OptionalElementsRulesBuilder.ts");
72198
+ /* harmony import */ var _ServerSideFLangNormalization_RuleBuilders_OptionalBlocksRulesBuilder__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./ServerSideFLangNormalization/RuleBuilders/OptionalBlocksRulesBuilder */ "./Generator/src/generators/ServerSideFLangNormalization/RuleBuilders/OptionalBlocksRulesBuilder.ts");
72199
+
72200
+
72140
72201
 
72141
72202
 
72142
72203
 
@@ -72246,12 +72307,14 @@ function processSugar(formSugarContent, additionalContent, generationOptions) {
72246
72307
  const sugarRulesBuilder = new _ServerSideFLangNormalization_RuleBuilders_SugarRulesBuilder__WEBPACK_IMPORTED_MODULE_40__.SugarRulesBuilder(sugarRoot, formSchemaRng, controlCustomizationContext, fetchFunctions, dataDeclarationHelper, typeRegistry, useSchemaValidations);
72247
72308
  const validationRulesBuilder = new _ServerSideFLangNormalization_RuleBuilders_ValidationRulesBuilder__WEBPACK_IMPORTED_MODULE_41__.ValidationRulesBuilder(dataDeclarationHelper, formSchemaRng, formulaExprConverter, kcXmlConditions);
72248
72309
  const optionalSectionRuleBuilder = new _ServerSideFLangNormalization_RuleBuilders_OptionalSectionRulesBuilder__WEBPACK_IMPORTED_MODULE_34__.OptionalSectionRulesBuilder(sugarRoot, dataDeclarationHelper);
72249
- const normalizationRulesGenerator = new _ServerSideFLangNormalization_Normalizers_NormalizationRulesGenerator__WEBPACK_IMPORTED_MODULE_26__.NormalizationRulesGenerator(optionalSectionRuleBuilder, validationRulesBuilder, lazyLoadingRulesBuilder, sugarRulesBuilder, initializationRulesBuilder, formulaRulesBuilder, formSchemaRng, false);
72250
- const formulaOnlyNormalizationRulesGenerator = new _ServerSideFLangNormalization_Normalizers_FormulaOnlyNormalizationRuleGenerator__WEBPACK_IMPORTED_MODULE_31__.FormulaOnlyNormalizationRuleGenerator(dataDeclarationHelper, formSchemaRng, formulas, optionalSectionRuleBuilder, formulaExprConverter, validationRulesBuilder, {
72310
+ const optionalElementsRulesBuilder = new _ServerSideFLangNormalization_RuleBuilders_OptionalElementsRulesBuilder__WEBPACK_IMPORTED_MODULE_52__.OptionalElementsRulesBuilder(formSchemaRng, dataDeclarationHelper);
72311
+ const optionalBlocksRulesBuilder = new _ServerSideFLangNormalization_RuleBuilders_OptionalBlocksRulesBuilder__WEBPACK_IMPORTED_MODULE_53__.OptionalBlocksRulesBuilder(dataDeclarationHelper);
72312
+ const normalizationRulesGenerator = new _ServerSideFLangNormalization_Normalizers_NormalizationRulesGenerator__WEBPACK_IMPORTED_MODULE_26__.NormalizationRulesGenerator(optionalSectionRuleBuilder, validationRulesBuilder, lazyLoadingRulesBuilder, sugarRulesBuilder, initializationRulesBuilder, formulaRulesBuilder, formSchemaRng, optionalElementsRulesBuilder, optionalBlocksRulesBuilder, false);
72313
+ const formulaOnlyNormalizationRulesGenerator = new _ServerSideFLangNormalization_Normalizers_FormulaOnlyNormalizationRuleGenerator__WEBPACK_IMPORTED_MODULE_31__.FormulaOnlyNormalizationRuleGenerator(dataDeclarationHelper, formSchemaRng, formulas, optionalSectionRuleBuilder, formulaExprConverter, validationRulesBuilder, optionalElementsRulesBuilder, optionalBlocksRulesBuilder, {
72251
72314
  enableTypedFlang: (_additionalContent$fo9 = (_additionalContent$fo10 = additionalContent.formJsonSettings) === null || _additionalContent$fo10 === void 0 ? void 0 : _additionalContent$fo10.enableTypedFlang) !== null && _additionalContent$fo9 !== void 0 ? _additionalContent$fo9 : false
72252
72315
  });
72253
- const formulaAndInitOnlyNormalizationRulesGenerator = new _ServerSideFLangNormalization_Normalizers_FormulaAndInitOnlyNormalizationRuleGenerator__WEBPACK_IMPORTED_MODULE_42__.FormulaAndInitOnlyNormalizationRuleGenerator(sugarRulesBuilder, formulaRulesBuilder, optionalSectionRuleBuilder, formSchemaRng);
72254
- const autoValueForValueByDefaultNormalizationRuleGenerator = new _ServerSideFLangNormalization_Normalizers_AutoValueForValueByDefaultNormalizationRuleGenerator__WEBPACK_IMPORTED_MODULE_46__.AutoValueForValueByDefaultNormalizationRuleGenerator(optionalSectionRuleBuilder, validationRulesBuilder, lazyLoadingRulesBuilder, sugarRulesBuilder, initializationRulesBuilder, formulaRulesBuilder, formSchemaRng, dataDeclarationHelper);
72316
+ const formulaAndInitOnlyNormalizationRulesGenerator = new _ServerSideFLangNormalization_Normalizers_FormulaAndInitOnlyNormalizationRuleGenerator__WEBPACK_IMPORTED_MODULE_42__.FormulaAndInitOnlyNormalizationRuleGenerator(sugarRulesBuilder, formulaRulesBuilder, formSchemaRng, optionalSectionRuleBuilder, optionalElementsRulesBuilder, optionalBlocksRulesBuilder);
72317
+ const autoValueForValueByDefaultNormalizationRuleGenerator = new _ServerSideFLangNormalization_Normalizers_AutoValueForValueByDefaultNormalizationRuleGenerator__WEBPACK_IMPORTED_MODULE_46__.AutoValueForValueByDefaultNormalizationRuleGenerator(optionalSectionRuleBuilder, validationRulesBuilder, lazyLoadingRulesBuilder, sugarRulesBuilder, initializationRulesBuilder, formulaRulesBuilder, formSchemaRng, optionalElementsRulesBuilder, optionalBlocksRulesBuilder, dataDeclarationHelper);
72255
72318
  const markupGenerator = new _markupGenerator_MarkupGenerator__WEBPACK_IMPORTED_MODULE_13__.MarkupGenerator(markupBuilderContext);
72256
72319
  markupGenerator.generate(sugarRoot, builder);
72257
72320
  builder.addResource("settings.js", (0,_markupGenerator_getSettings__WEBPACK_IMPORTED_MODULE_10__.getSettings)(sugarRoot, additionalContent.gfv, additionalSettings, additionalContent.formJsonSettings));
@@ -74340,6 +74403,29 @@ class SetStatement extends FLangStatement {
74340
74403
 
74341
74404
  /***/ }),
74342
74405
 
74406
+ /***/ "./Generator/src/generators/ServerSideFLangNormalization/FLang/FlangConstants.ts":
74407
+ /*!***************************************************************************************!*\
74408
+ !*** ./Generator/src/generators/ServerSideFLangNormalization/FLang/FlangConstants.ts ***!
74409
+ \***************************************************************************************/
74410
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
74411
+
74412
+ "use strict";
74413
+ __webpack_require__.r(__webpack_exports__);
74414
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
74415
+ /* harmony export */ FalthyFlangTechnicalFieldExpression: () => (/* binding */ FalthyFlangTechnicalFieldExpression),
74416
+ /* harmony export */ FalthyOptionalElementExistenceExpression: () => (/* binding */ FalthyOptionalElementExistenceExpression),
74417
+ /* harmony export */ TruthyFlangTechnicalFieldExpression: () => (/* binding */ TruthyFlangTechnicalFieldExpression)
74418
+ /* harmony export */ });
74419
+ /* harmony import */ var _Common_PathConstants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../Common/PathConstants */ "./Common/PathConstants.ts");
74420
+ /* harmony import */ var _FLangCodeDom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./FLangCodeDom */ "./Generator/src/generators/ServerSideFLangNormalization/FLang/FLangCodeDom.ts");
74421
+
74422
+
74423
+ const TruthyFlangTechnicalFieldExpression = new _FLangCodeDom__WEBPACK_IMPORTED_MODULE_1__.StringLiteralExpression(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_0__.TruthyTechnicalFieldValue);
74424
+ const FalthyFlangTechnicalFieldExpression = new _FLangCodeDom__WEBPACK_IMPORTED_MODULE_1__.NullLiteralExpression();
74425
+ const FalthyOptionalElementExistenceExpression = new _FLangCodeDom__WEBPACK_IMPORTED_MODULE_1__.StringLiteralExpression("");
74426
+
74427
+ /***/ }),
74428
+
74343
74429
  /***/ "./Generator/src/generators/ServerSideFLangNormalization/FLang/FlangUtils.ts":
74344
74430
  /*!***********************************************************************************!*\
74345
74431
  !*** ./Generator/src/generators/ServerSideFLangNormalization/FLang/FlangUtils.ts ***!
@@ -74359,6 +74445,7 @@ __webpack_require__.r(__webpack_exports__);
74359
74445
  /* harmony export */ combineByAndFlangExpr: () => (/* binding */ combineByAndFlangExpr),
74360
74446
  /* harmony export */ combineByOrFlangExpr: () => (/* binding */ combineByOrFlangExpr),
74361
74447
  /* harmony export */ combineRulesWithOptionalSectionChecking: () => (/* binding */ combineRulesWithOptionalSectionChecking),
74448
+ /* harmony export */ composeFlangExpressionsByOr: () => (/* binding */ composeFlangExpressionsByOr),
74362
74449
  /* harmony export */ decimalWrapper: () => (/* binding */ decimalWrapper),
74363
74450
  /* harmony export */ dictFieldNameSuffix: () => (/* binding */ dictFieldNameSuffix),
74364
74451
  /* harmony export */ ensureCorrectFieldNameByExpressionType: () => (/* binding */ ensureCorrectFieldNameByExpressionType),
@@ -74367,6 +74454,7 @@ __webpack_require__.r(__webpack_exports__);
74367
74454
  /* harmony export */ getAllExpressionChildren: () => (/* binding */ getAllExpressionChildren),
74368
74455
  /* harmony export */ getSelectorIdFromRule: () => (/* binding */ getSelectorIdFromRule),
74369
74456
  /* harmony export */ hashSetFieldNameSuffix: () => (/* binding */ hashSetFieldNameSuffix),
74457
+ /* harmony export */ isSetStatement: () => (/* binding */ isSetStatement),
74370
74458
  /* harmony export */ makeGetOld: () => (/* binding */ makeGetOld),
74371
74459
  /* harmony export */ makeNoDeps: () => (/* binding */ makeNoDeps),
74372
74460
  /* harmony export */ makeStringValueReference: () => (/* binding */ makeStringValueReference),
@@ -74407,7 +74495,7 @@ function createValueRuleWithDisableValueAutoInitCheck(path, originalExpression)
74407
74495
  }
74408
74496
  function wrapWithDisableValueAutoInitFlagCheckIfRequired(formSchemaRng, x) {
74409
74497
  var _formSchemaRng$getEle;
74410
- return x instanceof _FLangCodeDom__WEBPACK_IMPORTED_MODULE_6__.SetStatement && x.left.valueName === "value" && (_formSchemaRng$getEle = formSchemaRng.getElementByPath(x.left.modePath)) !== null && _formSchemaRng$getEle !== void 0 && _formSchemaRng$getEle.isIgnoreForcedValueSet() ? [createValueRuleWithDisableValueAutoInitCheck(x.left.modePath, x.right)] : [x];
74498
+ return isSetStatement(x) && x.left.valueName === "value" && (_formSchemaRng$getEle = formSchemaRng.getElementByPath(x.left.modePath)) !== null && _formSchemaRng$getEle !== void 0 && _formSchemaRng$getEle.isIgnoreForcedValueSet() ? [createValueRuleWithDisableValueAutoInitCheck(x.left.modePath, x.right)] : [x];
74411
74499
  }
74412
74500
  function wrapWithArgumentsCondition(expression) {
74413
74501
  const childFilter = node => !(node instanceof _FLangCodeDom__WEBPACK_IMPORTED_MODULE_6__.ReduceCallExpression || node instanceof _FLangCodeDom__WEBPACK_IMPORTED_MODULE_6__.GetSumByKeysExpression || node instanceof _FLangCodeDom__WEBPACK_IMPORTED_MODULE_6__.NoDepsExpression);
@@ -74473,9 +74561,9 @@ const mergeRules = function (items) {
74473
74561
  }
74474
74562
  return rulesDictionary.values();
74475
74563
  };
74476
- function combineRulesWithOptionalSectionChecking(allRules, optionalSectionRulesBuilder) {
74564
+ function combineRulesWithOptionalSectionChecking(allRules, optionalSectionRulesBuilder, optionalElementsRulesBuilder, optionalBlocksRulesBuilder) {
74477
74565
  const allUniqueRules = mergeRules(allRules);
74478
- const allUniqueRulesWithOptionalChecks = Iterator.from(optionalSectionRulesBuilder.wrapRulesWithOptionalPageCheck(allUniqueRules)).map(x => x.convertToString()).reduce((x, y) => x + (x ? "\n" : "") + y, "");
74566
+ const allUniqueRulesWithOptionalChecks = Iterator.from(optionalBlocksRulesBuilder.wrapRulesInsideOptionalBlocks(optionalBlocksRulesBuilder.patchOptionalBlocksExistenceRules(optionalSectionRulesBuilder.wrapRulesWithOptionalPageCheck(optionalElementsRulesBuilder.wrapRulesWithOptionalElementCheck(allUniqueRules))))).map(x => x.convertToString()).reduce((x, y) => x + (x ? "\n" : "") + y, "");
74479
74567
  return allUniqueRulesWithOptionalChecks;
74480
74568
  }
74481
74569
  function tryExtractValueReferenceAsStringFromDecimal(expression) {
@@ -74530,6 +74618,10 @@ function ensureOperandsOfTypeOrNull(type, ...operands) {
74530
74618
  }
74531
74619
  }
74532
74620
  }
74621
+ function composeFlangExpressionsByOr(expressions) {
74622
+ var _expressions$reduce;
74623
+ return (_expressions$reduce = expressions.reduce(combineByOrFlangExpr, undefined)) !== null && _expressions$reduce !== void 0 ? _expressions$reduce : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_2__.reject)("composeFlangExpressionsByOr should consume an array of length in grater or equal to 1");
74624
+ }
74533
74625
  function combineByOrFlangExpr(acc, current) {
74534
74626
  return acc != undefined ? new _FLangCodeDom__WEBPACK_IMPORTED_MODULE_6__.OrBinaryExpression(acc, current) : current;
74535
74627
  }
@@ -74587,6 +74679,9 @@ function ensureCorrectFieldNameByExpressionType(statement) {
74587
74679
  }
74588
74680
  }
74589
74681
  }
74682
+ function isSetStatement(statement) {
74683
+ return statement instanceof _FLangCodeDom__WEBPACK_IMPORTED_MODULE_6__.SetStatement;
74684
+ }
74590
74685
 
74591
74686
  /***/ }),
74592
74687
 
@@ -75496,7 +75591,6 @@ __webpack_require__.r(__webpack_exports__);
75496
75591
 
75497
75592
 
75498
75593
 
75499
-
75500
75594
  /**
75501
75595
  * Нормализатор, соответсвующий дефолтному за исключением метода нормализации значений,
75502
75596
  * отсутсвующих в исходном иннере:
@@ -75504,7 +75598,7 @@ __webpack_require__.r(__webpack_exports__);
75504
75598
  * а при его отсутсвии дефолтным значением"
75505
75599
  */
75506
75600
  class AutoValueForValueByDefaultNormalizationRuleGenerator {
75507
- constructor(optionalSectionRulesBuilder, validationRulesBuilder, lazyLoadingRulesBuilder, sugarRulesBuilder, initializationRulesBuilder, formulaRulesBuilder, formSchemaRng, dataDeclarationHelper) {
75601
+ constructor(optionalSectionRulesBuilder, validationRulesBuilder, lazyLoadingRulesBuilder, sugarRulesBuilder, initializationRulesBuilder, formulaRulesBuilder, formSchemaRng, optionalElementsRulesBuilder, optionalBlockRulesBuilder, dataDeclarationHelper) {
75508
75602
  this.formulaRulesBuilder = void 0;
75509
75603
  this.dataDeclarationHelper = void 0;
75510
75604
  this.initializationRulesBuilder = void 0;
@@ -75512,6 +75606,8 @@ class AutoValueForValueByDefaultNormalizationRuleGenerator {
75512
75606
  this.lazyLoadingRulesBuilder = void 0;
75513
75607
  this.validationRulesBuilder = void 0;
75514
75608
  this.optionalSectionRulesBuilder = void 0;
75609
+ this.optionalElementsRulesBuilder = void 0;
75610
+ this.optionalBlockRulesBuilder = void 0;
75515
75611
  this.formSchemaRng = void 0;
75516
75612
  this.formulaRulesBuilder = formulaRulesBuilder;
75517
75613
  this.initializationRulesBuilder = initializationRulesBuilder;
@@ -75519,6 +75615,8 @@ class AutoValueForValueByDefaultNormalizationRuleGenerator {
75519
75615
  this.lazyLoadingRulesBuilder = lazyLoadingRulesBuilder;
75520
75616
  this.validationRulesBuilder = validationRulesBuilder;
75521
75617
  this.optionalSectionRulesBuilder = optionalSectionRulesBuilder;
75618
+ this.optionalElementsRulesBuilder = optionalElementsRulesBuilder;
75619
+ this.optionalBlockRulesBuilder = optionalBlockRulesBuilder;
75522
75620
  this.formSchemaRng = formSchemaRng;
75523
75621
  this.dataDeclarationHelper = dataDeclarationHelper;
75524
75622
  }
@@ -75526,6 +75624,8 @@ class AutoValueForValueByDefaultNormalizationRuleGenerator {
75526
75624
  const initializeRules = this.initializationRulesBuilder.buildRules();
75527
75625
  const lazyLoadingRules = this.lazyLoadingRulesBuilder.buildRules();
75528
75626
  const optionalSectionRules = this.optionalSectionRulesBuilder.buildRules();
75627
+ const optionalElementsRules = this.optionalElementsRulesBuilder.buildRules();
75628
+ const optionalBlocksRules = this.optionalBlockRulesBuilder.buildRules();
75529
75629
  const sugarValidationRules = this.validationRulesBuilder.buildRules();
75530
75630
  const dataDeclarationRules = this.sugarRulesBuilder.buildRules();
75531
75631
  const formulaFLangRules = [...this.formulaRulesBuilder.buildRules()];
@@ -75538,11 +75638,11 @@ class AutoValueForValueByDefaultNormalizationRuleGenerator {
75538
75638
  const autoFlagRefCurrentIteration = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.ValueReferenceExpression(autoValueRule.left.modePath.toCurrentIteration(), "autoFlag");
75539
75639
  return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.SetStatement(valueRef, new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.ConditionalExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.AndBinaryExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.EqExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_1__.makeNoDeps)(valueRefCurrentIteration), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.NullLiteralExpression()), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.EqExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_1__.makeNoDeps)(autoFlagRefCurrentIteration), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.NullLiteralExpression())), autoValueRule.right, formulaRulesMap.has(valueRef) ? (_formulaRulesMap$get$ = (_formulaRulesMap$get = formulaRulesMap.get(valueRef)) === null || _formulaRulesMap$get === void 0 ? void 0 : _formulaRulesMap$get.right) !== null && _formulaRulesMap$get$ !== void 0 ? _formulaRulesMap$get$ : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_4__.reject)("Unexpected error") : new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.NullCoalesceExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.ValueReferenceExpression(autoValueRule.left.modePath.toCurrentIteration(), "value"), autoValueExpressionType === _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.BuildInTypeExpression.string ? new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.StringLiteralExpression(this.dataDeclarationHelper.getDefaultValue(autoValueRule.left.modePath)) : new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.NullLiteralExpression())));
75540
75640
  };
75541
- const updatedFormulaRules = Iterator.from(formulaFLangRules).flatMap(x => x instanceof _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.SetStatement && x.left.valueName === "autoValue" ? [x, createValueRuleFromAutoValueRule(x)] : [x]);
75641
+ const updatedFormulaRules = Iterator.from(formulaFLangRules).flatMap(x => (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_1__.isSetStatement)(x) && x.left.valueName === "autoValue" ? [x, createValueRuleFromAutoValueRule(x)] : [x]);
75542
75642
 
75543
75643
  // Порядок важен, т.к. потом делаем distinctBy.
75544
- const allRules = _Common_IterableUtils__WEBPACK_IMPORTED_MODULE_0__.IterUtils.concat(initializeRules, lazyLoadingRules, updatedFormulaRules, optionalSectionRules, dataDeclarationRules, sugarValidationRules).flatMap(rule => (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_1__.wrapWithDisableValueAutoInitFlagCheckIfRequired)(this.formSchemaRng, rule));
75545
- return (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_1__.combineRulesWithOptionalSectionChecking)(allRules, this.optionalSectionRulesBuilder);
75644
+ const allRules = _Common_IterableUtils__WEBPACK_IMPORTED_MODULE_0__.IterUtils.concat(initializeRules, lazyLoadingRules, updatedFormulaRules, optionalSectionRules, optionalElementsRules, optionalBlocksRules, dataDeclarationRules, sugarValidationRules).flatMap(rule => (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_1__.wrapWithDisableValueAutoInitFlagCheckIfRequired)(this.formSchemaRng, rule));
75645
+ return (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_1__.combineRulesWithOptionalSectionChecking)(allRules, this.optionalSectionRulesBuilder, this.optionalElementsRulesBuilder, this.optionalBlockRulesBuilder);
75546
75646
  }
75547
75647
  }
75548
75648
 
@@ -75565,22 +75665,25 @@ __webpack_require__.r(__webpack_exports__);
75565
75665
 
75566
75666
 
75567
75667
 
75568
-
75569
75668
  /**
75570
75669
  * Нормализатор для сценария пересчёта части полей (пример: Распил Прибыли), когда необходимо поведение:
75571
75670
  * "если в исходных данных отсутствует value, то необходимо проинициализировать
75572
75671
  * его значением из autoValue, вместо дефолта (как это работает в базовом нормализаторе)"
75573
75672
  */
75574
75673
  class FormulaAndInitOnlyNormalizationRuleGenerator {
75575
- constructor(sugarRulesBuilder, formulaRulesBuilder, optionalSectionRuleBuilder, formSchemaRng) {
75674
+ constructor(sugarRulesBuilder, formulaRulesBuilder, formSchemaRng, optionalSectionRuleBuilder, optionalElementsRulesBuilder, optionalBlocksRulesBuilder) {
75576
75675
  this.optionalSectionRuleBuilder = void 0;
75577
75676
  this.formulaRulesBuilder = void 0;
75677
+ this.optionalElementsRulesBuilder = void 0;
75678
+ this.optionalBlocksRulesBuilder = void 0;
75578
75679
  this.formSchemaRng = void 0;
75579
75680
  this.sugarRulesBuilder = void 0;
75580
75681
  this.formSchemaRng = formSchemaRng;
75581
75682
  this.sugarRulesBuilder = sugarRulesBuilder;
75582
75683
  this.formulaRulesBuilder = formulaRulesBuilder;
75583
75684
  this.optionalSectionRuleBuilder = optionalSectionRuleBuilder;
75685
+ this.optionalElementsRulesBuilder = optionalElementsRulesBuilder;
75686
+ this.optionalBlocksRulesBuilder = optionalBlocksRulesBuilder;
75584
75687
  }
75585
75688
  generateRules() {
75586
75689
  const createValueRuleFromAutoValueRule = autoValueRule => new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_1__.SetStatement(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_1__.ValueReferenceExpression(autoValueRule.left.modePath, "value"), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_1__.ConditionalExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_1__.NotEqExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_2__.makeNoDeps)(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_1__.ValueReferenceExpression(autoValueRule.left.modePath.toCurrentIteration(), "value")), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_1__.NullLiteralExpression()), (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_2__.makeNoDeps)(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_1__.ValueReferenceExpression(autoValueRule.left.modePath.toCurrentIteration(), "value")), autoValueRule.right));
@@ -75591,11 +75694,13 @@ class FormulaAndInitOnlyNormalizationRuleGenerator {
75591
75694
  return x instanceof _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_1__.SetStatement && x.left.valueName === "value" && (_this$formSchemaRng$g = this.formSchemaRng.getElementByPath(x.left.modePath)) !== null && _this$formSchemaRng$g !== void 0 && _this$formSchemaRng$g.isIgnoreForcedValueSet() ? [createValueRuleEmptyRule(x.left.modePath), createDisableValueAutoInitRule(x.left.modePath)] : [x];
75592
75695
  };
75593
75696
  const allFormulaRules = this.formulaRulesBuilder.buildRules();
75594
- const updatedFormulaRules = Iterator.from(allFormulaRules).flatMap(x => x instanceof _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_1__.SetStatement && x.left.valueName === "autoValue" ? [x, createValueRuleFromAutoValueRule(x)] : [x]);
75697
+ const updatedFormulaRules = Iterator.from(allFormulaRules).flatMap(x => (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_2__.isSetStatement)(x) && x.left.valueName === "autoValue" ? [x, createValueRuleFromAutoValueRule(x)] : [x]);
75595
75698
  const sugarRules = this.sugarRulesBuilder.buildRules();
75596
75699
  const optionalSectionRules = this.optionalSectionRuleBuilder.buildRules();
75597
- const allRules = _Common_IterableUtils__WEBPACK_IMPORTED_MODULE_0__.IterUtils.concat(updatedFormulaRules, sugarRules, optionalSectionRules).flatMap(ignoredValueSetRuleMapper);
75598
- return (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_2__.combineRulesWithOptionalSectionChecking)(allRules, this.optionalSectionRuleBuilder);
75700
+ const optionalElementsRules = this.optionalElementsRulesBuilder.buildRules();
75701
+ const optionalBlocksRules = this.optionalBlocksRulesBuilder.buildRules();
75702
+ const allRules = _Common_IterableUtils__WEBPACK_IMPORTED_MODULE_0__.IterUtils.concat(updatedFormulaRules, sugarRules, optionalSectionRules, optionalElementsRules, optionalBlocksRules).flatMap(ignoredValueSetRuleMapper);
75703
+ return (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_2__.combineRulesWithOptionalSectionChecking)(allRules, this.optionalSectionRuleBuilder, this.optionalElementsRulesBuilder, this.optionalBlocksRulesBuilder);
75599
75704
  }
75600
75705
  }
75601
75706
 
@@ -75631,13 +75736,15 @@ __webpack_require__.r(__webpack_exports__);
75631
75736
  * 2) переводит autoFlag в true
75632
75737
  */
75633
75738
  class FormulaOnlyNormalizationRuleGenerator {
75634
- constructor(dataDeclarationHelper, formSchemaRng, formulas, optionalSectionRuleBuilder, formulaExprConverter, validationRulesBuilder, options) {
75739
+ constructor(dataDeclarationHelper, formSchemaRng, formulas, optionalSectionRuleBuilder, formulaExprConverter, validationRulesBuilder, optionalElementsRulesBuilder, optionalBlocksRulesBuilder, options) {
75635
75740
  this.dataDeclarationHelper = void 0;
75636
75741
  this.formSchemaRng = void 0;
75637
75742
  this.formulas = void 0;
75638
75743
  this.options = void 0;
75639
75744
  this.formulaExprConverter = void 0;
75640
75745
  this.optionalSectionRuleBuilder = void 0;
75746
+ this.optionalElementsRulesBuilder = void 0;
75747
+ this.optionalBlocksRulesBuilder = void 0;
75641
75748
  this.validationRulesBuilder = void 0;
75642
75749
  this.options = options;
75643
75750
  this.optionalSectionRuleBuilder = optionalSectionRuleBuilder;
@@ -75646,12 +75753,14 @@ class FormulaOnlyNormalizationRuleGenerator {
75646
75753
  this.formulas = formulas;
75647
75754
  this.formulaExprConverter = formulaExprConverter;
75648
75755
  this.validationRulesBuilder = validationRulesBuilder;
75756
+ this.optionalElementsRulesBuilder = optionalElementsRulesBuilder;
75757
+ this.optionalBlocksRulesBuilder = optionalBlocksRulesBuilder;
75649
75758
  }
75650
75759
  generateRules() {
75651
- const calculationRules = _Common_IterableUtils__WEBPACK_IMPORTED_MODULE_0__.IterUtils.concat(this.buildFormulaFLangRules(), this.optionalSectionRuleBuilder.buildRules());
75760
+ const calculationRules = _Common_IterableUtils__WEBPACK_IMPORTED_MODULE_0__.IterUtils.concat(this.buildFormulaFLangRules(), this.optionalSectionRuleBuilder.buildRules(), this.optionalElementsRulesBuilder.buildRules(), this.optionalBlocksRulesBuilder.buildRules());
75652
75761
  const validationRules = this.validationRulesBuilder.buildRules();
75653
75762
  const allRules = _Common_IterableUtils__WEBPACK_IMPORTED_MODULE_0__.IterUtils.concat(calculationRules, validationRules);
75654
- return (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_5__.combineRulesWithOptionalSectionChecking)(allRules, this.optionalSectionRuleBuilder);
75763
+ return (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_5__.combineRulesWithOptionalSectionChecking)(allRules, this.optionalSectionRuleBuilder, this.optionalElementsRulesBuilder, this.optionalBlocksRulesBuilder);
75655
75764
  }
75656
75765
  *buildFormulaFLangRules() {
75657
75766
  for (const formula of (_this$formulas = this.formulas) !== null && _this$formulas !== void 0 ? _this$formulas : []) {
@@ -75708,12 +75817,11 @@ __webpack_require__.r(__webpack_exports__);
75708
75817
 
75709
75818
 
75710
75819
 
75711
-
75712
75820
  /**
75713
75821
  * Базовый нормализатор для основного сценария серверной нормализации
75714
75822
  */
75715
75823
  class NormalizationRulesGenerator {
75716
- constructor(optionalSectionRulesBuilder, validationRulesBuilder, lazyLoadingRulesBuilder, sugarRulesBuilder, initializationRulesBuilder, formulaRulesBuilder, formSchemaRng, calculateServerOnlyPaths) {
75824
+ constructor(optionalSectionRulesBuilder, validationRulesBuilder, lazyLoadingRulesBuilder, sugarRulesBuilder, initializationRulesBuilder, formulaRulesBuilder, formSchemaRng, optionalElementsRulesBuilder, optionalBlocksRulesBuilder, calculateServerOnlyPaths) {
75717
75825
  this.formulaRulesBuilder = void 0;
75718
75826
  this.calculateServerOnlyPaths = void 0;
75719
75827
  this.initializationRulesBuilder = void 0;
@@ -75721,6 +75829,8 @@ class NormalizationRulesGenerator {
75721
75829
  this.lazyLoadingRulesBuilder = void 0;
75722
75830
  this.validationRulesBuilder = void 0;
75723
75831
  this.optionalSectionRulesBuilder = void 0;
75832
+ this.optionalElementsRulesBuilder = void 0;
75833
+ this.optionalBlocksRulesBuilder = void 0;
75724
75834
  this.formSchemaRng = void 0;
75725
75835
  this.calculateServerOnlyPaths = calculateServerOnlyPaths;
75726
75836
  this.formulaRulesBuilder = formulaRulesBuilder;
@@ -75729,6 +75839,8 @@ class NormalizationRulesGenerator {
75729
75839
  this.lazyLoadingRulesBuilder = lazyLoadingRulesBuilder;
75730
75840
  this.validationRulesBuilder = validationRulesBuilder;
75731
75841
  this.optionalSectionRulesBuilder = optionalSectionRulesBuilder;
75842
+ this.optionalElementsRulesBuilder = optionalElementsRulesBuilder;
75843
+ this.optionalBlocksRulesBuilder = optionalBlocksRulesBuilder;
75732
75844
  this.formSchemaRng = formSchemaRng;
75733
75845
  }
75734
75846
  generateRules() {
@@ -75738,14 +75850,16 @@ class NormalizationRulesGenerator {
75738
75850
  const optionalSectionRules = this.optionalSectionRulesBuilder.buildRules();
75739
75851
  const sugarValidationRules = this.validationRulesBuilder.buildRules();
75740
75852
  const dataDeclarationRules = this.sugarRulesBuilder.buildRules();
75853
+ const optionalElementsRules = this.optionalElementsRulesBuilder.buildRules();
75854
+ const optionalBlocksRules = this.optionalBlocksRulesBuilder.buildRules();
75741
75855
 
75742
75856
  // Порядок важен, т.к. потом делаем distinctBy.
75743
- const allRules = _Common_IterableUtils__WEBPACK_IMPORTED_MODULE_0__.IterUtils.concat(initializeRules, lazyLoadingRules, formulaFLangRules, optionalSectionRules, dataDeclarationRules, sugarValidationRules).flatMap(rule => {
75857
+ const allRules = _Common_IterableUtils__WEBPACK_IMPORTED_MODULE_0__.IterUtils.concat(initializeRules, lazyLoadingRules, formulaFLangRules, optionalSectionRules, optionalElementsRules, optionalBlocksRules, dataDeclarationRules, sugarValidationRules).flatMap(rule => {
75744
75858
  (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_1__.ensureCorrectFieldNameByExpressionType)(rule);
75745
75859
  return (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_1__.wrapWithDisableValueAutoInitFlagCheckIfRequired)(this.formSchemaRng, rule);
75746
75860
  }).toArray();
75747
75861
  const getDictionaryTargets = () => Iterator.from(allRules).filter(rule => rule instanceof _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.SetStatement && (rule.right.getType() === _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.BuildInTypeExpression.dict || rule.right instanceof _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.CastExpression && rule.right.targetExpression.getType() === _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.BuildInTypeExpression.dict || rule.right instanceof _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.NullCoalesceExpression && rule.right.expression instanceof _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.CastExpression && rule.right.expression.targetExpression.getType() === _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.BuildInTypeExpression.dict)).map(x => x instanceof _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.SetStatement ? new _Common_ModelPath_AbsoluteModelFieldPath__WEBPACK_IMPORTED_MODULE_3__.AbsoluteModelFieldPath(x.left.modePath, x.left.valueName) : undefined).filter(_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_4__.isNotNullOrUndefined).toArray();
75748
- const content = (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_1__.combineRulesWithOptionalSectionChecking)(allRules, this.optionalSectionRulesBuilder);
75862
+ const content = (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_1__.combineRulesWithOptionalSectionChecking)(allRules, this.optionalSectionRulesBuilder, this.optionalElementsRulesBuilder, this.optionalBlocksRulesBuilder);
75749
75863
  return {
75750
75864
  content: content,
75751
75865
  serverOnlyPaths: this.calculateServerOnlyPaths ? getDictionaryTargets() : []
@@ -75966,6 +76080,435 @@ class LazyLoadingRulesBuilder extends _BaseRuleBuilder__WEBPACK_IMPORTED_MODULE_
75966
76080
 
75967
76081
  /***/ }),
75968
76082
 
76083
+ /***/ "./Generator/src/generators/ServerSideFLangNormalization/RuleBuilders/OptionalBlocksRulesBuilder.ts":
76084
+ /*!**********************************************************************************************************!*\
76085
+ !*** ./Generator/src/generators/ServerSideFLangNormalization/RuleBuilders/OptionalBlocksRulesBuilder.ts ***!
76086
+ \**********************************************************************************************************/
76087
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
76088
+
76089
+ "use strict";
76090
+ __webpack_require__.r(__webpack_exports__);
76091
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
76092
+ /* harmony export */ OptionalBlocksRulesBuilder: () => (/* binding */ OptionalBlocksRulesBuilder)
76093
+ /* harmony export */ });
76094
+ /* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
76095
+ /* harmony import */ var _Common_PathConstants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../Common/PathConstants */ "./Common/PathConstants.ts");
76096
+ /* harmony import */ var _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../FLang/FLangCodeDom */ "./Generator/src/generators/ServerSideFLangNormalization/FLang/FLangCodeDom.ts");
76097
+ /* harmony import */ var _FLang_FlangConstants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../FLang/FlangConstants */ "./Generator/src/generators/ServerSideFLangNormalization/FLang/FlangConstants.ts");
76098
+ /* harmony import */ var _FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../FLang/FlangUtils */ "./Generator/src/generators/ServerSideFLangNormalization/FLang/FlangUtils.ts");
76099
+ /* harmony import */ var _BaseRuleBuilder__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./BaseRuleBuilder */ "./Generator/src/generators/ServerSideFLangNormalization/RuleBuilders/BaseRuleBuilder.ts");
76100
+
76101
+
76102
+
76103
+
76104
+
76105
+
76106
+ class OptionalBlocksRulesBuilder extends _BaseRuleBuilder__WEBPACK_IMPORTED_MODULE_5__.BaseRuleBuilder {
76107
+ constructor(dataDeclarationHelper) {
76108
+ super();
76109
+ this.dataDeclarationHelper = void 0;
76110
+ this.dataDeclarationHelper = dataDeclarationHelper;
76111
+ }
76112
+ buildRulesInternal() {
76113
+ const optionalBlocksPaths = this.dataDeclarationHelper.getOptionalBlocksPaths();
76114
+ const rules = this.buildRulesForOptionalBlocks(optionalBlocksPaths);
76115
+ return rules;
76116
+ }
76117
+ buildRulesForOptionalBlocks(blocksPaths) {
76118
+ const rules = blocksPaths.map(path => {
76119
+ const visibilityRule = this.buildOptionalBlockVisibilityRule(path);
76120
+ return visibilityRule;
76121
+ });
76122
+ return rules;
76123
+ }
76124
+ buildOptionalBlockVisibilityRule(blockPath) {
76125
+ const visibilityValueRef = this.createBlockVisibilityValueRef(blockPath);
76126
+ const isBlockVisibleExpression = this.createIsBlockVisibleExpression(blockPath);
76127
+ return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.SetStatement(visibilityValueRef, new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.ConditionalExpression(isBlockVisibleExpression, _FLang_FlangConstants__WEBPACK_IMPORTED_MODULE_3__.TruthyFlangTechnicalFieldExpression, _FLang_FlangConstants__WEBPACK_IMPORTED_MODULE_3__.FalthyFlangTechnicalFieldExpression));
76128
+ }
76129
+ createBlockVisibilityValueRef(blockPath) {
76130
+ const visibilityValuePath = blockPath.joinWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_1__.OptionalBlockVisibilityFieldName);
76131
+ const visibilityValueRef = this.createValueReferenceExpression(visibilityValuePath);
76132
+ return visibilityValueRef;
76133
+ }
76134
+ createBlockVisibilityValueRefForRightPart(blockPath) {
76135
+ const currentIterationBlockPath = blockPath.toCurrentIteration();
76136
+ const visibilityValueRef = this.createBlockVisibilityValueRef(currentIterationBlockPath);
76137
+ return visibilityValueRef;
76138
+ }
76139
+ createIsBlockVisibleExpression(blockPath) {
76140
+ const currentIterationBlockPath = blockPath.toCurrentIteration();
76141
+ const existenceValueRef = this.createBlockExistenceValueRef(currentIterationBlockPath);
76142
+ const notNullExpression = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.NotEqExpression(existenceValueRef, new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.NullLiteralExpression());
76143
+ return notNullExpression;
76144
+ }
76145
+ createValueReferenceExpression(valuePath) {
76146
+ return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.ValueReferenceExpression(valuePath, "value");
76147
+ }
76148
+ createBlockExistenceValueRef(blockPath) {
76149
+ const existenceValuePath = blockPath.joinWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_1__.OptionalElementsExistenceFieldName);
76150
+ const existenceValueRef = this.createValueReferenceExpression(existenceValuePath);
76151
+ return existenceValueRef;
76152
+ }
76153
+ patchOptionalBlocksExistenceRules(rules) {
76154
+ const optionalBlocksPaths = this.dataDeclarationHelper.getOptionalBlocksPaths();
76155
+ const optionalBlocksExistenceFieldsPaths = optionalBlocksPaths.map(path => path.joinWith((0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.createModelPath)(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_1__.OptionalElementsExistenceFieldName, false)));
76156
+ const wrappedRules = Iterator.from(rules).map(rule => this.checkIsRuleShouldBePatched(rule, optionalBlocksExistenceFieldsPaths) ? this.patchOptionalBlocksExistenceRule(rule) : rule);
76157
+ return wrappedRules;
76158
+ }
76159
+ checkIsRuleShouldBePatched(rule, existenceFieldsPaths) {
76160
+ const isSetStatement = rule instanceof _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.SetStatement;
76161
+ if (!isSetStatement) {
76162
+ return false;
76163
+ }
76164
+ const ruleExpression = rule.right;
76165
+ const isConditionalExpression = ruleExpression instanceof _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.ConditionalExpression;
76166
+ if (!isConditionalExpression) {
76167
+ return false;
76168
+ }
76169
+ const modelPath = rule.left.modePath;
76170
+ const isOptionalBlockExistenceFieldRule = existenceFieldsPaths.some(path => path.isEquals(modelPath));
76171
+ return isOptionalBlockExistenceFieldRule;
76172
+ }
76173
+ patchOptionalBlocksExistenceRule(rule) {
76174
+ const ruleExpression = rule.right;
76175
+ const existenceFieldPath = rule.left.modePath;
76176
+ const optionalBlockPath = existenceFieldPath.getParentPath();
76177
+ const visibilityFieldValueRef = this.createBlockVisibilityValueRefForRightPart(optionalBlockPath);
76178
+ const visibilityFieldNotNullExpression = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.NotEqExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_4__.makeNoDeps)(visibilityFieldValueRef), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.NullLiteralExpression());
76179
+ return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.SetStatement(rule.left, new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.ConditionalExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.OrBinaryExpression(ruleExpression.condition, visibilityFieldNotNullExpression), ruleExpression.trueResult, ruleExpression.falseResult));
76180
+ }
76181
+ wrapRulesInsideOptionalBlocks(rules) {
76182
+ const sortedOptionalBlocksPaths = [...this.dataDeclarationHelper.getOptionalBlocksPaths()].sort((cur, next) => {
76183
+ const curLength = cur.getPathPartsAsArray().length;
76184
+ const nextLength = next.getPathPartsAsArray().length;
76185
+ return nextLength - curLength;
76186
+ });
76187
+ const wrappedRules = Iterator.from(rules).map(rule => {
76188
+ const isValueSetStatement = this.checkIsValueSetStatement(rule);
76189
+ if (isValueSetStatement) {
76190
+ const modelPath = rule.left.modePath;
76191
+ const parentOptionalBlockPath = this.findParentOptionalBlockPath(modelPath, sortedOptionalBlocksPaths);
76192
+ if (parentOptionalBlockPath) {
76193
+ return this.wrapSetStatementsInsideOptionalBlocks(rule, parentOptionalBlockPath);
76194
+ }
76195
+ }
76196
+ return rule;
76197
+ });
76198
+ return wrappedRules;
76199
+ }
76200
+ checkIsValueSetStatement(rule) {
76201
+ const isSetStatement = rule instanceof _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.SetStatement;
76202
+ if (!isSetStatement) {
76203
+ return false;
76204
+ }
76205
+ const modelPath = rule.left.modePath;
76206
+ const modelStringPath = modelPath.toString();
76207
+ const notReserved = !_Common_PathConstants__WEBPACK_IMPORTED_MODULE_1__.reservedForTechnicalUsageFields.some(field => modelStringPath.endsWith(field));
76208
+ const isValueField = rule.left.valueName === "value";
76209
+ return notReserved && isValueField;
76210
+ }
76211
+ findParentOptionalBlockPath(modelPath, sortedOptionalBlocksPaths) {
76212
+ const parentOptionalBlockPath = sortedOptionalBlocksPaths.find(path => modelPath.startsWith(path));
76213
+ return parentOptionalBlockPath;
76214
+ }
76215
+ wrapSetStatementsInsideOptionalBlocks(rule, parentOptionalBlockPath) {
76216
+ const visibilityFieldValueRef = this.createBlockVisibilityValueRefForRightPart(parentOptionalBlockPath);
76217
+ return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.SetStatement(rule.left, new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.ConditionalExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.EqExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_4__.castOperandToStringIfNeed)(visibilityFieldValueRef), _FLang_FlangConstants__WEBPACK_IMPORTED_MODULE_3__.TruthyFlangTechnicalFieldExpression), rule.right, _FLang_FlangConstants__WEBPACK_IMPORTED_MODULE_3__.FalthyFlangTechnicalFieldExpression));
76218
+ }
76219
+ }
76220
+
76221
+ /***/ }),
76222
+
76223
+ /***/ "./Generator/src/generators/ServerSideFLangNormalization/RuleBuilders/OptionalElementsRulesBuilder.ts":
76224
+ /*!************************************************************************************************************!*\
76225
+ !*** ./Generator/src/generators/ServerSideFLangNormalization/RuleBuilders/OptionalElementsRulesBuilder.ts ***!
76226
+ \************************************************************************************************************/
76227
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
76228
+
76229
+ "use strict";
76230
+ __webpack_require__.r(__webpack_exports__);
76231
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
76232
+ /* harmony export */ OptionalElementsRulesBuilder: () => (/* binding */ OptionalElementsRulesBuilder)
76233
+ /* harmony export */ });
76234
+ /* harmony import */ var _Common_ModelPath_ModelPathHelper__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../Common/ModelPath/ModelPathHelper */ "./Common/ModelPath/ModelPathHelper.ts");
76235
+ /* harmony import */ var _Common_PathConstants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../Common/PathConstants */ "./Common/PathConstants.ts");
76236
+ /* harmony import */ var _Common_TypingUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../Common/TypingUtils */ "./Common/TypingUtils.ts");
76237
+ /* harmony import */ var _common_SchemaRng_FormSchemaRng__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../common/SchemaRng/FormSchemaRng */ "./Generator/src/common/SchemaRng/FormSchemaRng.ts");
76238
+ /* harmony import */ var _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../FLang/FLangCodeDom */ "./Generator/src/generators/ServerSideFLangNormalization/FLang/FLangCodeDom.ts");
76239
+ /* harmony import */ var _FLang_FlangConstants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../FLang/FlangConstants */ "./Generator/src/generators/ServerSideFLangNormalization/FLang/FlangConstants.ts");
76240
+ /* harmony import */ var _FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../FLang/FlangUtils */ "./Generator/src/generators/ServerSideFLangNormalization/FLang/FlangUtils.ts");
76241
+ /* harmony import */ var _BaseRuleBuilder__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./BaseRuleBuilder */ "./Generator/src/generators/ServerSideFLangNormalization/RuleBuilders/BaseRuleBuilder.ts");
76242
+
76243
+
76244
+
76245
+
76246
+
76247
+
76248
+
76249
+
76250
+ class OptionalElementsRulesBuilder extends _BaseRuleBuilder__WEBPACK_IMPORTED_MODULE_7__.BaseRuleBuilder {
76251
+ constructor(formSchemaRng, dataDeclarationHelper) {
76252
+ super();
76253
+ this.formSchemaRng = void 0;
76254
+ this.dataDeclarationHelper = void 0;
76255
+ this.optionalBlocksPaths = void 0;
76256
+ this.rules = [];
76257
+ this.formSchemaRng = formSchemaRng;
76258
+ this.dataDeclarationHelper = dataDeclarationHelper;
76259
+ this.initOptionalBlocksPaths();
76260
+ }
76261
+ initOptionalBlocksPaths() {
76262
+ const bindingPaths = this.dataDeclarationHelper.getOptionalBlocksPaths().map(path => path.toString());
76263
+ this.optionalBlocksPaths = new Set(bindingPaths);
76264
+ }
76265
+ buildRulesInternal() {
76266
+ const primaryElements = this.selectPrimaryElements();
76267
+ primaryElements.forEach(element => {
76268
+ this.buildRulesForElement(element);
76269
+ });
76270
+ return this.rules;
76271
+ }
76272
+ selectPrimaryElements() {
76273
+ const optionalBlocksPaths = this.dataDeclarationHelper.getOptionalBlocksPaths();
76274
+ const primaryElements = optionalBlocksPaths.map(path => this.formSchemaRng.getElementByPath(path)).filter(_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_2__.isNotNullOrUndefined).filter(_common_SchemaRng_FormSchemaRng__WEBPACK_IMPORTED_MODULE_3__.isFormSchemaRngElement);
76275
+ return primaryElements;
76276
+ }
76277
+ buildRulesForElement(element) {
76278
+ const shouldBuildRule = this.checkShouldBuildExistenceRule(element);
76279
+ if (shouldBuildRule) {
76280
+ const rule = this.buildOptionalElementExistenceRule(element);
76281
+ this.addRule(rule);
76282
+ }
76283
+ const hasChildren = this.checkElementHasChildren(element);
76284
+ if (hasChildren) {
76285
+ this.buildRulesForChildren(element);
76286
+ }
76287
+ }
76288
+ buildRulesForChildren(element) {
76289
+ const children = element.getChildrenArray();
76290
+ children.forEach(child => this.buildRulesForElement(child));
76291
+ }
76292
+ addRule(rule) {
76293
+ this.rules.push(rule);
76294
+ }
76295
+ buildOptionalElementExistenceRule(element) {
76296
+ const existenceValueRef = this.createElementExistenceValueRefForLeftPart(element);
76297
+ const isElementExistsExpression = this.createIsElementExistsExpression(element);
76298
+ const rule = this.buildExistenceRuleSetStatement(existenceValueRef, isElementExistsExpression);
76299
+ return rule;
76300
+ }
76301
+ checkShouldBuildExistenceRule(element) {
76302
+ const single = !element.multiple;
76303
+ const optional = element.isOptional();
76304
+ const contentful = this.checkElementHasContent(element);
76305
+ const leaksToFuf = this.checkElementLeaksToFuf(element);
76306
+ const shouldBeProcessed = single && optional && contentful && leaksToFuf;
76307
+ return shouldBeProcessed;
76308
+ }
76309
+ checkShouldBuildExistenceExpression(element) {
76310
+ const contentful = this.checkElementHasContent(element);
76311
+ const shouldBeProcessed = contentful;
76312
+ return shouldBeProcessed;
76313
+ }
76314
+ checkElementHasContent(element) {
76315
+ const elementHasAttributes = this.checkElementHasAttributes(element);
76316
+ const elementHasChildren = this.checkElementHasChildren(element);
76317
+ const elementHasInnerText = this.checkElementHasInnerText(element);
76318
+ const elementHasContent = elementHasAttributes || elementHasChildren || elementHasInnerText;
76319
+ return elementHasContent;
76320
+ }
76321
+ checkElementHasAttributes(element) {
76322
+ return element.attributes.size > 0;
76323
+ }
76324
+ checkElementHasChildren(element) {
76325
+ return element.children.size > 0;
76326
+ }
76327
+ checkElementHasInnerText(element) {
76328
+ return element.hasInnerText;
76329
+ }
76330
+ checkElementLeaksToFuf(element) {
76331
+ return !element.isEditorOnly();
76332
+ }
76333
+ createIsElementExistsExpression(element) {
76334
+ const hasInnerText = this.checkElementHasInnerText(element);
76335
+ if (hasInnerText) {
76336
+ return this.createElementWithInnerTextExistenceExpression(element);
76337
+ }
76338
+ return this.createElementWithAttributesAndChildrenExistenceExpression(element);
76339
+ }
76340
+ createElementWithInnerTextExistenceExpression(element) {
76341
+ const elementPath = this.formSchemaRng.getPath(element).toCurrentIteration();
76342
+ const valueRef = this.createValueReferenceExpression(elementPath);
76343
+ const valueNotNullExpression = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_4__.NotEqExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_6__.makeNoDeps)(valueRef), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_4__.NullLiteralExpression());
76344
+ const valueNotEmptyExpression = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_4__.NotEqExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_6__.makeNoDeps)(valueRef), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_4__.StringLiteralExpression(""));
76345
+ const isElementExistsExpression = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_4__.AndBinaryExpression(valueNotNullExpression, valueNotEmptyExpression);
76346
+ return isElementExistsExpression;
76347
+ }
76348
+ createElementWithAttributesAndChildrenExistenceExpression(element) {
76349
+ const attributes = element.getAttributesArray();
76350
+ const children = element.getChildrenArray().filter(el => this.checkShouldBuildExistenceExpression(el));
76351
+ const isElementHasAttributesAndChildren = (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_2__.arrayIsNotEmpty)(attributes) && (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_2__.arrayIsNotEmpty)(children);
76352
+ if (isElementHasAttributesAndChildren) {
76353
+ const isSomeAttributeExistsExpression = this.createIsSomeAttributeExistsExpression(attributes);
76354
+ const isSomeChildrenExistsExpression = this.createIsSomeChildrenExistsExpression(children);
76355
+ const isElementExistsExpression = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_4__.OrBinaryExpression(isSomeAttributeExistsExpression, isSomeChildrenExistsExpression);
76356
+ return isElementExistsExpression;
76357
+ }
76358
+ const isElementHasOnlyAttributes = (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_2__.arrayIsNotEmpty)(attributes);
76359
+ if (isElementHasOnlyAttributes) {
76360
+ const isSomeAttributeExistsExpression = this.createIsSomeAttributeExistsExpression(attributes);
76361
+ return isSomeAttributeExistsExpression;
76362
+ }
76363
+ (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_2__.ensureArrayIsNotEmpty)(children, "Element must have children to build children existence expression");
76364
+ const isSomeChildrenExistsExpression = this.createIsSomeChildrenExistsExpression(children);
76365
+ return isSomeChildrenExistsExpression;
76366
+ }
76367
+ buildExistenceRuleSetStatement(existenceValueRef, existenceExpression) {
76368
+ return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_4__.SetStatement(existenceValueRef, new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_4__.ConditionalExpression(existenceExpression, _FLang_FlangConstants__WEBPACK_IMPORTED_MODULE_5__.TruthyFlangTechnicalFieldExpression, new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_4__.NullLiteralExpression()));
76369
+ }
76370
+ createIsSomeAttributeExistsExpression(attributes) {
76371
+ if ((0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_2__.arrayHasLength)(attributes, 1)) {
76372
+ return this.createIsAttributeExistsExpression(attributes[0]);
76373
+ }
76374
+ const attributesNotNullExpressions = attributes.map(attr => this.createIsAttributeExistsExpression(attr));
76375
+ (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_2__.ensureArrayLengthGreaterThenOrEqual)(attributesNotNullExpressions, 2);
76376
+ return (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_6__.composeFlangExpressionsByOr)(attributesNotNullExpressions);
76377
+ }
76378
+ createIsAttributeExistsExpression(attribute) {
76379
+ const attributePath = this.formSchemaRng.getPath(attribute).toCurrentIteration();
76380
+ const attributeValueRef = this.createValueReferenceExpression(attributePath);
76381
+ const attributeNotNullExpression = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_4__.NotEqExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_6__.makeNoDeps)(attributeValueRef), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_4__.NullLiteralExpression());
76382
+ const attributeNotEmptyExpression = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_4__.NotEqExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_6__.makeNoDeps)(attributeValueRef), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_4__.StringLiteralExpression(""));
76383
+ const isAttributeExistsExpression = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_4__.AndBinaryExpression(attributeNotNullExpression, attributeNotEmptyExpression);
76384
+ return isAttributeExistsExpression;
76385
+ }
76386
+ createIsSomeChildrenExistsExpression(children) {
76387
+ (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_2__.ensureArrayIsNotEmpty)(children, "Input array of FormSchemaRngElements must be not empty");
76388
+ const {
76389
+ optional,
76390
+ required,
76391
+ multiple
76392
+ } = this.splitElementsByRole(children);
76393
+ const optionalChildrenExistenceExpressions = this.createOptionalChildrenExistenceExpressions(optional);
76394
+ const requiredChildrenExistenceExpressions = this.createRequiredChildrenExistenceExpressions(required);
76395
+ const multipleChildrenExistenceExpressions = this.createMultipleChildrenExistenceExpressions(multiple);
76396
+ const childrenExistenceExpressions = [...requiredChildrenExistenceExpressions, ...optionalChildrenExistenceExpressions, ...multipleChildrenExistenceExpressions];
76397
+ if (childrenExistenceExpressions.length === 1 && childrenExistenceExpressions[0]) {
76398
+ return childrenExistenceExpressions[0];
76399
+ }
76400
+ (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_2__.ensureArrayIsNotEmpty)(childrenExistenceExpressions, "Output array of existence expressions must be not empty");
76401
+ return (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_6__.composeFlangExpressionsByOr)(childrenExistenceExpressions);
76402
+ }
76403
+ splitElementsByRole(elements) {
76404
+ const elementsByRole = {
76405
+ optional: [],
76406
+ required: [],
76407
+ multiple: []
76408
+ };
76409
+ return elements.reduce((acc, cur) => {
76410
+ if (cur.multiple) {
76411
+ acc.multiple.push(cur);
76412
+ } else if (cur.isOptional()) {
76413
+ acc.optional.push(cur);
76414
+ } else {
76415
+ acc.required.push(cur);
76416
+ }
76417
+ return acc;
76418
+ }, elementsByRole);
76419
+ }
76420
+ createOptionalChildrenExistenceExpressions(elements) {
76421
+ return elements.map(element => this.createIsOptionalChildExistsExpression(element));
76422
+ }
76423
+ createIsOptionalChildExistsExpression(element) {
76424
+ const existenceValueRef = this.createElementExistenceValueRefForRightPart(element);
76425
+ const notNullExpression = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_4__.NotEqExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_6__.makeNoDeps)(existenceValueRef), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_4__.NullLiteralExpression());
76426
+ return notNullExpression;
76427
+ }
76428
+ createRequiredChildrenExistenceExpressions(elements) {
76429
+ return elements.map(element => this.createIsElementExistsExpression(element));
76430
+ }
76431
+ createMultipleChildrenExistenceExpressions(elements) {
76432
+ return elements.map(element => this.createIsMultipleChildExistsExpression(element));
76433
+ }
76434
+ createIsMultipleChildExistsExpression(element) {
76435
+ const childrenPath = this.formSchemaRng.getPath(element).trimLastStarIfLastToken();
76436
+ const childrenFieldRef = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_4__.CastExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_4__.ValueReferenceExpression(childrenPath, "children"), _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_4__.BuildInTypeExpression.array);
76437
+ return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_4__.GtExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_4__.ArrayLengthExpression(childrenFieldRef), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_4__.DecimalLiteralExpression(0));
76438
+ }
76439
+ createElementExistenceValueRefForLeftPart(element) {
76440
+ const elementPath = this.formSchemaRng.getPath(element).toEachIteration();
76441
+ const existenceValueRef = this.createExistenceValueRef(elementPath);
76442
+ return existenceValueRef;
76443
+ }
76444
+ createElementExistenceValueRefForRightPart(element) {
76445
+ const elementPath = this.formSchemaRng.getPath(element).toCurrentIteration();
76446
+ const existenceValueRef = this.createExistenceValueRef(elementPath);
76447
+ return existenceValueRef;
76448
+ }
76449
+ createExistenceValueRef(modelPath) {
76450
+ const existenceValuePath = modelPath.joinWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_1__.OptionalElementsExistenceFieldName);
76451
+ const existenceValueRef = this.createValueReferenceExpression(existenceValuePath);
76452
+ return existenceValueRef;
76453
+ }
76454
+ createValueReferenceExpression(valuePath) {
76455
+ return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_4__.ValueReferenceExpression(valuePath, "value");
76456
+ }
76457
+ wrapRulesWithOptionalElementCheck(rules) {
76458
+ const wrappedRules = Iterator.from(rules).map(rule => this.checkIsRuleShouldBeWrapped(rule) ? this.wrapSetStatementWithOptionalElementCheckIfNeeded(rule) : rule);
76459
+ return wrappedRules;
76460
+ }
76461
+ checkIsRuleShouldBeWrapped(rule) {
76462
+ const isSetStatement = rule instanceof _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_4__.SetStatement;
76463
+ if (!isSetStatement) {
76464
+ return false;
76465
+ }
76466
+ const modelPath = rule.left.modePath;
76467
+ const notReservedPath = !(0,_Common_ModelPath_ModelPathHelper__WEBPACK_IMPORTED_MODULE_0__.checkIsReservedPath)(modelPath);
76468
+ const isValueField = rule.left.valueName === "value";
76469
+ const placedInsideOptionalBlock = this.checkElementPlacedInsideOptionalBlock(modelPath);
76470
+ return notReservedPath && isValueField && placedInsideOptionalBlock;
76471
+ }
76472
+ checkElementPlacedInsideOptionalBlock(path) {
76473
+ const currentElementIsOptionalBlock = this.optionalBlocksPaths.has(path.toString());
76474
+ if (currentElementIsOptionalBlock) {
76475
+ return true;
76476
+ }
76477
+ const parentPath = path.getParentPath();
76478
+ if (parentPath.isEmpty()) {
76479
+ return false;
76480
+ }
76481
+ return this.checkElementPlacedInsideOptionalBlock(parentPath);
76482
+ }
76483
+ wrapSetStatementWithOptionalElementCheckIfNeeded(rule) {
76484
+ const targetPath = rule.left.modePath;
76485
+ const parentOptionalElementPath = this.findNearestOptionalBySchemeParentElementPath(targetPath);
76486
+ if (!parentOptionalElementPath) {
76487
+ return rule;
76488
+ }
76489
+ const targetIsExistsPath = parentOptionalElementPath.joinWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_1__.OptionalElementsExistenceFieldName);
76490
+ const targetIsExistsValueRef = (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_6__.makeStringValueReference)(targetIsExistsPath.toCurrentIteration(), "value");
76491
+ return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_4__.SetStatement(rule.left, new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_4__.ConditionalExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_4__.EqExpression(targetIsExistsValueRef, _FLang_FlangConstants__WEBPACK_IMPORTED_MODULE_5__.TruthyFlangTechnicalFieldExpression), rule.right, _FLang_FlangConstants__WEBPACK_IMPORTED_MODULE_5__.FalthyOptionalElementExistenceExpression));
76492
+ }
76493
+ findNearestOptionalBySchemeParentElementPath(path) {
76494
+ const currentElement = this.formSchemaRng.getElementByPath(path);
76495
+ if (currentElement && currentElement.isOptional()) {
76496
+ return path;
76497
+ }
76498
+ const parentPath = path.getParentPath();
76499
+ const parentElement = this.formSchemaRng.getElementByPath(parentPath);
76500
+ if (!parentElement) {
76501
+ return undefined;
76502
+ }
76503
+ if (parentElement instanceof _common_SchemaRng_FormSchemaRng__WEBPACK_IMPORTED_MODULE_3__.FormSchemaRngElement && parentElement.multiple) {
76504
+ return undefined;
76505
+ }
76506
+ return this.findNearestOptionalBySchemeParentElementPath(parentPath);
76507
+ }
76508
+ }
76509
+
76510
+ /***/ }),
76511
+
75969
76512
  /***/ "./Generator/src/generators/ServerSideFLangNormalization/RuleBuilders/OptionalSectionRulesBuilder.ts":
75970
76513
  /*!***********************************************************************************************************!*\
75971
76514
  !*** ./Generator/src/generators/ServerSideFLangNormalization/RuleBuilders/OptionalSectionRulesBuilder.ts ***!
@@ -75987,7 +76530,8 @@ __webpack_require__.r(__webpack_exports__);
75987
76530
  /* harmony import */ var _Common_ModelPath_ModelPathHelper__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../../Common/ModelPath/ModelPathHelper */ "./Common/ModelPath/ModelPathHelper.ts");
75988
76531
  /* harmony import */ var _Common_PathConstants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../../Common/PathConstants */ "./Common/PathConstants.ts");
75989
76532
  /* harmony import */ var _FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../FLang/FlangUtils */ "./Generator/src/generators/ServerSideFLangNormalization/FLang/FlangUtils.ts");
75990
- /* harmony import */ var _BaseRuleBuilder__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./BaseRuleBuilder */ "./Generator/src/generators/ServerSideFLangNormalization/RuleBuilders/BaseRuleBuilder.ts");
76533
+ /* harmony import */ var _FLang_FlangConstants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../FLang/FlangConstants */ "./Generator/src/generators/ServerSideFLangNormalization/FLang/FlangConstants.ts");
76534
+ /* harmony import */ var _BaseRuleBuilder__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./BaseRuleBuilder */ "./Generator/src/generators/ServerSideFLangNormalization/RuleBuilders/BaseRuleBuilder.ts");
75991
76535
 
75992
76536
 
75993
76537
 
@@ -75999,7 +76543,8 @@ __webpack_require__.r(__webpack_exports__);
75999
76543
 
76000
76544
 
76001
76545
 
76002
- class OptionalSectionRulesBuilder extends _BaseRuleBuilder__WEBPACK_IMPORTED_MODULE_10__.BaseRuleBuilder {
76546
+
76547
+ class OptionalSectionRulesBuilder extends _BaseRuleBuilder__WEBPACK_IMPORTED_MODULE_11__.BaseRuleBuilder {
76003
76548
  constructor(sugarRoot, dataDeclarationHelper) {
76004
76549
  super();
76005
76550
  this.sugarRoot = void 0;
@@ -76065,7 +76610,7 @@ class OptionalSectionRulesBuilder extends _BaseRuleBuilder__WEBPACK_IMPORTED_MOD
76065
76610
  }
76066
76611
  wrapRulesWithOptionalPageCheck(rules) {
76067
76612
  const allOrderedSections = (0,_Common_IterableUtils__WEBPACK_IMPORTED_MODULE_5__.reverseArray)(_Common_IterableUtils__WEBPACK_IMPORTED_MODULE_5__.IterUtils.sortBy(this.getAllSections(), x => x.path.toLegacyPath())).toArray();
76068
- const wrappedRules = Iterator.from(rules).map(rule => rule instanceof _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_1__.SetStatement && rule.left.valueName != "children" ? this.wrapSetStatementWithOptionalPageCheckIfNeeded(rule, allOrderedSections) : rule);
76613
+ const wrappedRules = Iterator.from(rules).map(rule => (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_9__.isSetStatement)(rule) && rule.left.valueName != "children" ? this.wrapSetStatementWithOptionalPageCheckIfNeeded(rule, allOrderedSections) : rule);
76069
76614
  return wrappedRules;
76070
76615
  }
76071
76616
  findParentOptionalForAggregationPath(targetPath, orderedSections) {
@@ -76083,9 +76628,12 @@ class OptionalSectionRulesBuilder extends _BaseRuleBuilder__WEBPACK_IMPORTED_MOD
76083
76628
  const targetOptionalSection = !(0,_Common_ModelPath_ModelPathHelper__WEBPACK_IMPORTED_MODULE_7__.isAggregationPath)(targetPath) ? this.findParentOptionalForNonAggregationPath(targetPath, rule.left.valueName, orderedSections) : this.findParentOptionalForAggregationPath(targetPath, orderedSections);
76084
76629
  if (targetOptionalSection != undefined && !targetOptionalSection.multiple) {
76085
76630
  const targetIsFilledPath = targetOptionalSection.path.joinWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_8__.OptionalSectionFilledFieldName);
76086
- if (!targetIsFilledPath.isEquals(targetPath)) {
76631
+ const isFilledFieldPath = targetIsFilledPath.isEquals(targetPath);
76632
+ const isExistenceValuePath = targetPath.endsWith((0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.createModelPath)(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_8__.OptionalElementsExistenceFieldName, false));
76633
+ const shouldWrapRule = !isFilledFieldPath && !isExistenceValuePath;
76634
+ if (shouldWrapRule) {
76087
76635
  const targetIsFilledValueRef = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_1__.ValueReferenceExpression(targetIsFilledPath.toCurrentIteration(), "value");
76088
- return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_1__.SetStatement(rule.left, new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_1__.ConditionalExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_1__.EqExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_9__.castOperandToStringIfNeed)(targetIsFilledValueRef), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_1__.StringLiteralExpression("1")), rule.right, new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_1__.NullLiteralExpression()));
76636
+ return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_1__.SetStatement(rule.left, new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_1__.ConditionalExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_1__.EqExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_9__.castOperandToStringIfNeed)(targetIsFilledValueRef), _FLang_FlangConstants__WEBPACK_IMPORTED_MODULE_10__.TruthyFlangTechnicalFieldExpression), rule.right, _FLang_FlangConstants__WEBPACK_IMPORTED_MODULE_10__.FalthyFlangTechnicalFieldExpression));
76089
76637
  }
76090
76638
  }
76091
76639
  return rule;
@@ -76094,7 +76642,7 @@ class OptionalSectionRulesBuilder extends _BaseRuleBuilder__WEBPACK_IMPORTED_MOD
76094
76642
  const createDecimalCondExpr = checkExpt => new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_1__.ConditionalExpression(checkExpt, new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_1__.DecimalLiteralExpression(1), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_1__.DecimalLiteralExpression(0));
76095
76643
  const targetValueRefBase = targetPath.joinWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_8__.OptionalSectionFilledFieldName);
76096
76644
  const targetValueRef = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_1__.ValueReferenceExpression(targetValueRefBase, "value");
76097
- const pathInfos = Iterator.from(pathsBySection).filter(path => !path.isEquals(targetValueRefBase)).map(path => {
76645
+ const pathInfos = Iterator.from(pathsBySection).filter(path => !path.endsWith((0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.createModelPath)(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_8__.OptionalElementsExistenceFieldName, false))).filter(path => !path.isEquals(targetValueRefBase)).map(path => {
76098
76646
  const splitInfo = (0,_Common_ModelPath_PathSplitHelper__WEBPACK_IMPORTED_MODULE_2__.getMatchedAndDifferentModelPaths)(targetPath, path);
76099
76647
  const iterationEntries = (0,_Common_ModelPath_BuildIterationSequence__WEBPACK_IMPORTED_MODULE_3__.buildIterationSequence)(splitInfo.differentPath);
76100
76648
  return {
@@ -76116,8 +76664,12 @@ class OptionalSectionRulesBuilder extends _BaseRuleBuilder__WEBPACK_IMPORTED_MOD
76116
76664
  const pathCheckWithReduceIfRequiredExpr = iterationEntry != undefined ? !iterationEntry.iterable.isContainIteration() ? createSingleReduceCheckExpression(iterationEntry) : createMultipleReduceCheckExpression(iterationEntry) : pathCheckExpr;
76117
76665
  return pathCheckWithReduceIfRequiredExpr;
76118
76666
  });
76119
- const allChecksExpressions = pathTestRules.reduce((acc, current) => acc == undefined ? current : new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_1__.OrBinaryExpression(acc, current), undefined);
76120
- return allChecksExpressions != undefined ? new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_1__.SetStatement(targetValueRef, new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_1__.ConditionalExpression(allChecksExpressions, new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_1__.StringLiteralExpression("1"), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_1__.NullLiteralExpression())) : undefined;
76667
+ const pathTestRulesArray = pathTestRules.toArray();
76668
+ if (!(0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_4__.arrayIsNotEmpty)(pathTestRulesArray)) {
76669
+ return undefined;
76670
+ }
76671
+ const allChecksExpressions = (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_9__.composeFlangExpressionsByOr)(pathTestRulesArray);
76672
+ return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_1__.SetStatement(targetValueRef, new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_1__.ConditionalExpression(allChecksExpressions, _FLang_FlangConstants__WEBPACK_IMPORTED_MODULE_10__.TruthyFlangTechnicalFieldExpression, _FLang_FlangConstants__WEBPACK_IMPORTED_MODULE_10__.FalthyFlangTechnicalFieldExpression));
76121
76673
  }
76122
76674
  }
76123
76675
 
@@ -76763,6 +77315,8 @@ __webpack_require__.r(__webpack_exports__);
76763
77315
  /* harmony import */ var _ElementProcessors_FormParts_ModalHeader_ModalHeaderConverter__WEBPACK_IMPORTED_MODULE_121__ = __webpack_require__(/*! ./ElementProcessors/FormParts/ModalHeader/ModalHeaderConverter */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/ModalHeader/ModalHeaderConverter.ts");
76764
77316
  /* harmony import */ var _ElementProcessors_FormParts_GlobalModal_GlobalModalsConverter__WEBPACK_IMPORTED_MODULE_122__ = __webpack_require__(/*! ./ElementProcessors/FormParts/GlobalModal/GlobalModalsConverter */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/GlobalModal/GlobalModalsConverter.ts");
76765
77317
  /* harmony import */ var _ElementProcessors_MultiControls_InstanceNumber_InstanceNumberConverter__WEBPACK_IMPORTED_MODULE_123__ = __webpack_require__(/*! ./ElementProcessors/MultiControls/InstanceNumber/InstanceNumberConverter */ "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/InstanceNumber/InstanceNumberConverter.ts");
77318
+ /* harmony import */ var _ElementProcessors_Layout_OptionalBlock_OptionalBlockConverter__WEBPACK_IMPORTED_MODULE_124__ = __webpack_require__(/*! ./ElementProcessors/Layout/OptionalBlock/OptionalBlockConverter */ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/OptionalBlock/OptionalBlockConverter.ts");
77319
+
76766
77320
 
76767
77321
 
76768
77322
 
@@ -76889,7 +77443,7 @@ __webpack_require__.r(__webpack_exports__);
76889
77443
 
76890
77444
  let convertersFromNodeClassMap;
76891
77445
  function buildConvertersFromNodeClassMap() {
76892
- const converters = [_ElementProcessors_FormParts_AddPageButton_AddPageButtonConverter__WEBPACK_IMPORTED_MODULE_8__.AddPageButtonConverter, _ElementProcessors_MultiControls_AddRowButton_AddRowButtonConverter__WEBPACK_IMPORTED_MODULE_9__.AddRowButtonConverter, _ElementProcessors_FormParts_AttachmentForm_AttachmentFormConverter__WEBPACK_IMPORTED_MODULE_117__.AttachmentFormConverter, _ElementProcessors_Layout_Block_BlockConverter__WEBPACK_IMPORTED_MODULE_10__.BlockConverter, _ElementProcessors_Layout_Minitour_MinitourConverter__WEBPACK_IMPORTED_MODULE_11__.MinitourConverter, _ElementProcessors_Typography_Bold_BoldConverter__WEBPACK_IMPORTED_MODULE_13__.BoldConverter, _ElementProcessors_Layout_Br_BrConverter__WEBPACK_IMPORTED_MODULE_14__.BrConverter, _ElementProcessors_FormParts_Caption_CaptionConverter__WEBPACK_IMPORTED_MODULE_18__.CaptionConverter, _ElementProcessors_ValueEditors_Checkbox_CheckboxConverter__WEBPACK_IMPORTED_MODULE_19__.CheckboxConverter, _ElementProcessors_ControlFlow_Choice_ChoiceConverter__WEBPACK_IMPORTED_MODULE_20__.ChoiceConverter, _ElementProcessors_MultiControls_TableCell_TableCellConverter__WEBPACK_IMPORTED_MODULE_85__.TableCellConverter, _ElementProcessors_ValueEditors_Toggle_ToggleConverter__WEBPACK_IMPORTED_MODULE_88__.ToggleConverter, _ElementProcessors_ValueEditors_Combobox_ComboBoxConverter__WEBPACK_IMPORTED_MODULE_21__.ComboBoxConverter, _ElementProcessors_FormParts_Content_ContentConverter__WEBPACK_IMPORTED_MODULE_22__.ContentConverter, _ElementProcessors_FormParts_Cross_CrossConverter__WEBPACK_IMPORTED_MODULE_23__.CrossConverter, _ElementProcessors_MultiControls_ColgroupButton_ColgroupButtonConverter__WEBPACK_IMPORTED_MODULE_97__.ColgroupButtonConverter, _ElementProcessors_ValueEditors_Date_DateConverter__WEBPACK_IMPORTED_MODULE_24__.DateConverter, _ElementProcessors_FormParts_DefaultContent_DefaultContentConverter__WEBPACK_IMPORTED_MODULE_25__.DefaultContentConverter, _ElementProcessors_ValueEditors_DiadocSuggestComboBox_DiadocSuggestComboBoxConverter__WEBPACK_IMPORTED_MODULE_26__.DiadocSuggestComboBoxConverter, _ElementProcessors_ValueEditors_RelativesComboBox_RelativesComboBoxConverter__WEBPACK_IMPORTED_MODULE_119__.RelativesComboBoxConverter, _ElementProcessors_Typography_Entity_EntityConverter__WEBPACK_IMPORTED_MODULE_27__.EntityConverter, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteConverter__WEBPACK_IMPORTED_MODULE_28__.ExpertNoteConverter, _ElementProcessors_ValueEditors_FileLoader_FileLoaderConverter__WEBPACK_IMPORTED_MODULE_29__.FileLoaderConverter, _ElementProcessors_MultiControls_FilterDateRange_FilterDateRangeConverter__WEBPACK_IMPORTED_MODULE_30__.FilterDateRangeConverter, _ElementProcessors_MultiControls_FilterInput_FilterInputConverter__WEBPACK_IMPORTED_MODULE_31__.FilterInputConverter, _ElementProcessors_MultiControls_FilterList_FilterListConverter__WEBPACK_IMPORTED_MODULE_32__.FilterListConverter, _ElementProcessors_ValueViewers_FIO_FIOConverter__WEBPACK_IMPORTED_MODULE_33__.FIOConverter, _ElementProcessors_Layout_Flexbox_FlexboxConverter__WEBPACK_IMPORTED_MODULE_34__.FlexboxConverter, _ElementProcessors_FormParts_Form_FormConverter__WEBPACK_IMPORTED_MODULE_36__.FormConverter, _ElementProcessors_FormParts_FormInfo_FormInfoConverter__WEBPACK_IMPORTED_MODULE_37__.FormInfoConverter, _ElementProcessors_Typography_Gray_GrayConverter__WEBPACK_IMPORTED_MODULE_38__.GrayConverter, _ElementProcessors_Layout_GridCol_GridColConverter__WEBPACK_IMPORTED_MODULE_39__.GridColConverter, _ElementProcessors_Layout_GridRow_GridRowConverter__WEBPACK_IMPORTED_MODULE_40__.GridRowConverter, _ElementProcessors_FormParts_Header_HeaderConverter__WEBPACK_IMPORTED_MODULE_41__.HeaderConverter, _ElementProcessors_MultiControls_HeaderMenu_HeaderMenuConverter__WEBPACK_IMPORTED_MODULE_42__.HeaderMenuConverter, _ElementProcessors_Helpers_Help_HelpConverter__WEBPACK_IMPORTED_MODULE_43__.HelpConverter, _ElementProcessors_Helpers_Helpinfo_HelpInfoConverter__WEBPACK_IMPORTED_MODULE_44__.HelpInfoConverter, _ElementProcessors_Typography_Highlight_HighlightConverter__WEBPACK_IMPORTED_MODULE_45__.HighlightConverter, _ElementProcessors_Layout_Hr_HrConverter__WEBPACK_IMPORTED_MODULE_46__.HrConverter, _ElementProcessors_Typography_Icon_IconConverter__WEBPACK_IMPORTED_MODULE_47__.IconConverter, _ElementProcessors_ControlFlow_Captions_Short_ShortConverter__WEBPACK_IMPORTED_MODULE_110__.ShortConverter, _ElementProcessors_ControlFlow_Captions_Long_LongConverter__WEBPACK_IMPORTED_MODULE_111__.LongConverter, _ElementProcessors_ControlFlow_Captions_FillHint_FillHintConverter__WEBPACK_IMPORTED_MODULE_112__.FillHintConverter, _ElementProcessors_ControlFlow_If_IfConverter__WEBPACK_IMPORTED_MODULE_48__.IfConverter, _ElementProcessors_Layout_Img_ImgConverter__WEBPACK_IMPORTED_MODULE_49__.ImgConverter, _ElementProcessors_ValueEditors_INN_INNConverter__WEBPACK_IMPORTED_MODULE_50__.INNConverter, _ElementProcessors_ValueEditors_Input_InputConverter__WEBPACK_IMPORTED_MODULE_51__.InputConverter, _ElementProcessors_Typography_Italic_ItalicConverter__WEBPACK_IMPORTED_MODULE_52__.ItalicConverter, _ElementProcessors_Layout_ListItem_ListItemConverter__WEBPACK_IMPORTED_MODULE_53__.ListItemConverter, _ElementProcessors_ValueEditors_Kladr_KladrConverter__WEBPACK_IMPORTED_MODULE_54__.KladrConverter, _ElementProcessors_ValueViewers_Linetext_LinetextConverter__WEBPACK_IMPORTED_MODULE_55__.LinetextConverter, _ElementProcessors_Action_Link_LinkConverter__WEBPACK_IMPORTED_MODULE_56__.LinkConverter, _ElementProcessors_Layout_List_ListConverter__WEBPACK_IMPORTED_MODULE_57__.ListConverter, _ElementProcessors_Modal_ModalForm_ModalFormConverter__WEBPACK_IMPORTED_MODULE_58__.ModalFormConverter, _ElementProcessors_Modal_ModalFormLabel_ModalFormLabelConverter__WEBPACK_IMPORTED_MODULE_61__.ModalFormLabelConverter, _ElementProcessors_MultiControls_Multilinefield_MultilineFieldConverter__WEBPACK_IMPORTED_MODULE_62__.MultilineFieldConverter, _ElementProcessors_Helpers_Normativehelp_NormativeHelpConverter__WEBPACK_IMPORTED_MODULE_63__.NormativeHelpConverter, _ElementProcessors_FormParts_Page_PageConverter__WEBPACK_IMPORTED_MODULE_65__.PageConverter, _ElementProcessors_Layout_Pencil_PencilConverter__WEBPACK_IMPORTED_MODULE_66__.PencilConverter, _ElementProcessors_ValueEditors_Picklist_PicklistConverter__WEBPACK_IMPORTED_MODULE_67__.PicklistConverter, _ElementProcessors_ValueEditors_TreePicklist_TreePicklistConverter__WEBPACK_IMPORTED_MODULE_118__.TreePicklistConverter, _ElementProcessors_ValueEditors_radio_RadioConverter__WEBPACK_IMPORTED_MODULE_68__.RadioConverter, _ElementProcessors_ValueEditors_RadioGroup_RadioGroupConverter__WEBPACK_IMPORTED_MODULE_69__.RadioGroupConverter, _ElementProcessors_MultiControls_RemoveRowButton_RemoveRowButtonConverter__WEBPACK_IMPORTED_MODULE_70__.RemoveRowButtonConverter, _ElementProcessors_ValueEditors_Select_SelectConverter__WEBPACK_IMPORTED_MODULE_71__.SelectConverter, _ElementProcessors_MultiControls_SortRadioGroup_SortRadioGroupConverter__WEBPACK_IMPORTED_MODULE_72__.SortRadioGroupConverter, _ElementProcessors_Layout_Spoiler_SpoilerConverter__WEBPACK_IMPORTED_MODULE_73__.SpoilerConverter, _ElementProcessors_Typography_Strong_StrongConverter__WEBPACK_IMPORTED_MODULE_74__.StrongConverter, _ElementProcessors_Typography_Sub_SubConverter__WEBPACK_IMPORTED_MODULE_75__.SubConverter, _ElementProcessors_Layout_Subheader_SubheaderConverter__WEBPACK_IMPORTED_MODULE_76__.SubheaderConverter, _ElementProcessors_Typography_Sup_SupConverter__WEBPACK_IMPORTED_MODULE_77__.SupConverter, _ElementProcessors_ValueViewers_Text_TextConverter__WEBPACK_IMPORTED_MODULE_86__.TextConverter, _ElementProcessors_ValueEditors_Textarea_TextAreaConverter__WEBPACK_IMPORTED_MODULE_87__.TextAreaConverter, _ElementProcessors_ValueEditors_popupTextArea_PopupTextAreaConverter__WEBPACK_IMPORTED_MODULE_96__.PopupTextAreaConverter, _ElementProcessors_ValueViewers_ValueLength_ValueLengthConverter__WEBPACK_IMPORTED_MODULE_92__.ValueLengthConverter, _ElementProcessors_ControlFlow_VisibilityBlock_VisibilityBlockConverter__WEBPACK_IMPORTED_MODULE_93__.VisibilityBlockConverter, _ElementProcessors_Layout_Warning_WarningConverter__WEBPACK_IMPORTED_MODULE_94__.WarningConverter, _ElementProcessors_Layout_InnerText_InnertextConverter__WEBPACK_IMPORTED_MODULE_7__.InnertextConverter, _ElementProcessors_ControlFlow_Otherwise_OtherwiseConverter__WEBPACK_IMPORTED_MODULE_64__.OtherwiseConverter, _ElementProcessors_ControlFlow_When_WhenConverter__WEBPACK_IMPORTED_MODULE_95__.WhenConverter, _ElementProcessors_FormParts_UnitList_UnitListConverter__WEBPACK_IMPORTED_MODULE_91__.UnitListConverter, _ElementProcessors_FormParts_UnitItem_UnitItemConverter__WEBPACK_IMPORTED_MODULE_90__.UnitItemConverter, _ElementProcessors_Modal_Body_BodyConverter__WEBPACK_IMPORTED_MODULE_12__.BodyConverter, _ElementProcessors_Modal_Footer_FooterConverter__WEBPACK_IMPORTED_MODULE_35__.FooterConverter, _ElementProcessors_Modal_ModalFormConfirm_ModalFormConfirmConverter__WEBPACK_IMPORTED_MODULE_60__.ModalFormConfirmConverter, _ElementProcessors_Modal_ModalFormCancel_ModalFormCancelConverter__WEBPACK_IMPORTED_MODULE_59__.ModalFormCancelConverter, _ElementProcessors_Action_Button_ButtonConverter__WEBPACK_IMPORTED_MODULE_15__.ButtonConverter, _ElementProcessors_Action_DownloadExcelButton_DownloadExcelButtonConverter__WEBPACK_IMPORTED_MODULE_16__.DownloadExcelButtonConverter, _ElementProcessors_Action_DropDownButtonLoadExcel_DropDownButtonLoadExcelConverter__WEBPACK_IMPORTED_MODULE_17__.DropDownButtonLoadExcelConverter, _ElementProcessors_FormParts_Tour_TourConverter__WEBPACK_IMPORTED_MODULE_89__.TourConverter, _ElementProcessors_ControlFlow_Switch_SwitchConverter__WEBPACK_IMPORTED_MODULE_78__.SwitchConverter, _ElementProcessors_MultiControls_StickyTable_StickyTableColumnConverter__WEBPACK_IMPORTED_MODULE_83__.StickyTableColumnConverter, _ElementProcessors_MultiControls_CrossfitTable_CrossfitTableColumnConverter__WEBPACK_IMPORTED_MODULE_79__.CrossfitTableColumnConverter, _ElementProcessors_Layout_SimpleTable_SimpleTableColumnConverter__WEBPACK_IMPORTED_MODULE_81__.SimpleTableColumnConverter, _ElementProcessors_MultiControls_CrossfitTable_CrossfitTableConverter__WEBPACK_IMPORTED_MODULE_80__.CrossfitTableConverter, _ElementProcessors_Layout_SimpleTable_SimpleTableConverter__WEBPACK_IMPORTED_MODULE_82__.SimpleTableConverter, _ElementProcessors_MultiControls_StickyTable_StickyTableWithMultilineConverter__WEBPACK_IMPORTED_MODULE_84__.StickyTableWithMultilineConverter, _ElementProcessors_Layout_Stack_StackConverter__WEBPACK_IMPORTED_MODULE_2__.StackConverter, _ElementProcessors_Layout_Grid_GridConverter__WEBPACK_IMPORTED_MODULE_1__.GridConverter, _ElementProcessors_UnitParts_HeaderPanel_HeaderPanelConverter__WEBPACK_IMPORTED_MODULE_6__.HeaderPanelConverter, _ElementProcessors_MultiControls_Tabs_TabsConverter__WEBPACK_IMPORTED_MODULE_5__.TabsConverter, _ElementProcessors_Action_DropdownButton_DropdownButtonConverter__WEBPACK_IMPORTED_MODULE_101__.DropdownButtonConverter, _ElementProcessors_ValueEditors_Fias_FiasConverter__WEBPACK_IMPORTED_MODULE_0__.FiasConverter, _ElementProcessors_MultiControls_FilterSelect_FilterSelectConverter__WEBPACK_IMPORTED_MODULE_3__.FilterSelectConverter, _ElementProcessors_MultiControls_Table2_Table2Converter__WEBPACK_IMPORTED_MODULE_4__.Table2Converter, _ElementProcessors_MultiControls_Table2_Table2RowConverter__WEBPACK_IMPORTED_MODULE_100__.Table2RowConverter, _ElementProcessors_MultiControls_Table2_Table2MultirowConverter__WEBPACK_IMPORTED_MODULE_99__.Table2MultirowConverter, _ElementProcessors_MultiControls_Table2_Table2Converter__WEBPACK_IMPORTED_MODULE_4__.Table2ColumnConverter, _ElementProcessors_MultiControls_Table2_Table2Converter__WEBPACK_IMPORTED_MODULE_4__.Table2VerticalColumnConverter, _ElementProcessors_Layout_FixedTabs_FixedTabsConverter__WEBPACK_IMPORTED_MODULE_103__.FixedTabsConverter, _ElementProcessors_Layout_FixedTabs_FixedTabConverter__WEBPACK_IMPORTED_MODULE_102__.FixedTabConverter, _ElementProcessors_MultiControls_Multiple_MultipleConverter__WEBPACK_IMPORTED_MODULE_104__.MultipleConverter, _ElementProcessors_Action_ExcelPastePanel_ExcelPastePanelConverter__WEBPACK_IMPORTED_MODULE_105__.ExcelPastePanelConverter, _ElementProcessors_ValueEditors_ReferencedFields_ReferencedFieldsConverter__WEBPACK_IMPORTED_MODULE_106__.ReferencedFieldsConverter, _ElementProcessors_FormParts_UserPicklist_UserPicklistConverter__WEBPACK_IMPORTED_MODULE_107__.UserPicklistConverter, _ElementProcessors_ValueEditors_TaxRebate_TaxRebateConverter__WEBPACK_IMPORTED_MODULE_108__.TaxRebateConverter, _ElementProcessors_FormParts_Banner_BannerConverter__WEBPACK_IMPORTED_MODULE_109__.BannerConverter, _ElementProcessors_ValueViewers_DateView_DateViewConverter__WEBPACK_IMPORTED_MODULE_113__.DateViewConverter, _ElementProcessors_Action_Kebab_KebabConverter__WEBPACK_IMPORTED_MODULE_114__.KebabConverter, _ElementProcessors_Helpers_Clue_InfoBlockConverter__WEBPACK_IMPORTED_MODULE_115__.InfoBlockConverter, _ElementProcessors_ValueEditors_SelectAllCheckbox_SelectAllCheckboxConverter__WEBPACK_IMPORTED_MODULE_116__.SelectAllCheckboxConverter, _ElementProcessors_ValueEditors_SelectCheckbox_SelectCheckboxConverter__WEBPACK_IMPORTED_MODULE_120__.SelectCheckboxConverter, _ElementProcessors_FormParts_ModalHeader_ModalHeaderConverter__WEBPACK_IMPORTED_MODULE_121__.ModalHeaderConverter, _ElementProcessors_FormParts_GlobalModal_GlobalModalsConverter__WEBPACK_IMPORTED_MODULE_122__.GlobalModalsConverter, _ElementProcessors_MultiControls_InstanceNumber_InstanceNumberConverter__WEBPACK_IMPORTED_MODULE_123__.InstanceNumberConverter];
77446
+ const converters = [_ElementProcessors_FormParts_AddPageButton_AddPageButtonConverter__WEBPACK_IMPORTED_MODULE_8__.AddPageButtonConverter, _ElementProcessors_MultiControls_AddRowButton_AddRowButtonConverter__WEBPACK_IMPORTED_MODULE_9__.AddRowButtonConverter, _ElementProcessors_FormParts_AttachmentForm_AttachmentFormConverter__WEBPACK_IMPORTED_MODULE_117__.AttachmentFormConverter, _ElementProcessors_Layout_Block_BlockConverter__WEBPACK_IMPORTED_MODULE_10__.BlockConverter, _ElementProcessors_Layout_Minitour_MinitourConverter__WEBPACK_IMPORTED_MODULE_11__.MinitourConverter, _ElementProcessors_Typography_Bold_BoldConverter__WEBPACK_IMPORTED_MODULE_13__.BoldConverter, _ElementProcessors_Layout_Br_BrConverter__WEBPACK_IMPORTED_MODULE_14__.BrConverter, _ElementProcessors_FormParts_Caption_CaptionConverter__WEBPACK_IMPORTED_MODULE_18__.CaptionConverter, _ElementProcessors_ValueEditors_Checkbox_CheckboxConverter__WEBPACK_IMPORTED_MODULE_19__.CheckboxConverter, _ElementProcessors_ControlFlow_Choice_ChoiceConverter__WEBPACK_IMPORTED_MODULE_20__.ChoiceConverter, _ElementProcessors_MultiControls_TableCell_TableCellConverter__WEBPACK_IMPORTED_MODULE_85__.TableCellConverter, _ElementProcessors_ValueEditors_Toggle_ToggleConverter__WEBPACK_IMPORTED_MODULE_88__.ToggleConverter, _ElementProcessors_ValueEditors_Combobox_ComboBoxConverter__WEBPACK_IMPORTED_MODULE_21__.ComboBoxConverter, _ElementProcessors_FormParts_Content_ContentConverter__WEBPACK_IMPORTED_MODULE_22__.ContentConverter, _ElementProcessors_FormParts_Cross_CrossConverter__WEBPACK_IMPORTED_MODULE_23__.CrossConverter, _ElementProcessors_MultiControls_ColgroupButton_ColgroupButtonConverter__WEBPACK_IMPORTED_MODULE_97__.ColgroupButtonConverter, _ElementProcessors_ValueEditors_Date_DateConverter__WEBPACK_IMPORTED_MODULE_24__.DateConverter, _ElementProcessors_FormParts_DefaultContent_DefaultContentConverter__WEBPACK_IMPORTED_MODULE_25__.DefaultContentConverter, _ElementProcessors_ValueEditors_DiadocSuggestComboBox_DiadocSuggestComboBoxConverter__WEBPACK_IMPORTED_MODULE_26__.DiadocSuggestComboBoxConverter, _ElementProcessors_ValueEditors_RelativesComboBox_RelativesComboBoxConverter__WEBPACK_IMPORTED_MODULE_119__.RelativesComboBoxConverter, _ElementProcessors_Typography_Entity_EntityConverter__WEBPACK_IMPORTED_MODULE_27__.EntityConverter, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteConverter__WEBPACK_IMPORTED_MODULE_28__.ExpertNoteConverter, _ElementProcessors_ValueEditors_FileLoader_FileLoaderConverter__WEBPACK_IMPORTED_MODULE_29__.FileLoaderConverter, _ElementProcessors_MultiControls_FilterDateRange_FilterDateRangeConverter__WEBPACK_IMPORTED_MODULE_30__.FilterDateRangeConverter, _ElementProcessors_MultiControls_FilterInput_FilterInputConverter__WEBPACK_IMPORTED_MODULE_31__.FilterInputConverter, _ElementProcessors_MultiControls_FilterList_FilterListConverter__WEBPACK_IMPORTED_MODULE_32__.FilterListConverter, _ElementProcessors_ValueViewers_FIO_FIOConverter__WEBPACK_IMPORTED_MODULE_33__.FIOConverter, _ElementProcessors_Layout_Flexbox_FlexboxConverter__WEBPACK_IMPORTED_MODULE_34__.FlexboxConverter, _ElementProcessors_FormParts_Form_FormConverter__WEBPACK_IMPORTED_MODULE_36__.FormConverter, _ElementProcessors_FormParts_FormInfo_FormInfoConverter__WEBPACK_IMPORTED_MODULE_37__.FormInfoConverter, _ElementProcessors_Typography_Gray_GrayConverter__WEBPACK_IMPORTED_MODULE_38__.GrayConverter, _ElementProcessors_Layout_GridCol_GridColConverter__WEBPACK_IMPORTED_MODULE_39__.GridColConverter, _ElementProcessors_Layout_GridRow_GridRowConverter__WEBPACK_IMPORTED_MODULE_40__.GridRowConverter, _ElementProcessors_FormParts_Header_HeaderConverter__WEBPACK_IMPORTED_MODULE_41__.HeaderConverter, _ElementProcessors_MultiControls_HeaderMenu_HeaderMenuConverter__WEBPACK_IMPORTED_MODULE_42__.HeaderMenuConverter, _ElementProcessors_Helpers_Help_HelpConverter__WEBPACK_IMPORTED_MODULE_43__.HelpConverter, _ElementProcessors_Helpers_Helpinfo_HelpInfoConverter__WEBPACK_IMPORTED_MODULE_44__.HelpInfoConverter, _ElementProcessors_Typography_Highlight_HighlightConverter__WEBPACK_IMPORTED_MODULE_45__.HighlightConverter, _ElementProcessors_Layout_Hr_HrConverter__WEBPACK_IMPORTED_MODULE_46__.HrConverter, _ElementProcessors_Typography_Icon_IconConverter__WEBPACK_IMPORTED_MODULE_47__.IconConverter, _ElementProcessors_ControlFlow_Captions_Short_ShortConverter__WEBPACK_IMPORTED_MODULE_110__.ShortConverter, _ElementProcessors_ControlFlow_Captions_Long_LongConverter__WEBPACK_IMPORTED_MODULE_111__.LongConverter, _ElementProcessors_ControlFlow_Captions_FillHint_FillHintConverter__WEBPACK_IMPORTED_MODULE_112__.FillHintConverter, _ElementProcessors_ControlFlow_If_IfConverter__WEBPACK_IMPORTED_MODULE_48__.IfConverter, _ElementProcessors_Layout_Img_ImgConverter__WEBPACK_IMPORTED_MODULE_49__.ImgConverter, _ElementProcessors_ValueEditors_INN_INNConverter__WEBPACK_IMPORTED_MODULE_50__.INNConverter, _ElementProcessors_ValueEditors_Input_InputConverter__WEBPACK_IMPORTED_MODULE_51__.InputConverter, _ElementProcessors_Typography_Italic_ItalicConverter__WEBPACK_IMPORTED_MODULE_52__.ItalicConverter, _ElementProcessors_Layout_ListItem_ListItemConverter__WEBPACK_IMPORTED_MODULE_53__.ListItemConverter, _ElementProcessors_ValueEditors_Kladr_KladrConverter__WEBPACK_IMPORTED_MODULE_54__.KladrConverter, _ElementProcessors_ValueViewers_Linetext_LinetextConverter__WEBPACK_IMPORTED_MODULE_55__.LinetextConverter, _ElementProcessors_Action_Link_LinkConverter__WEBPACK_IMPORTED_MODULE_56__.LinkConverter, _ElementProcessors_Layout_List_ListConverter__WEBPACK_IMPORTED_MODULE_57__.ListConverter, _ElementProcessors_Modal_ModalForm_ModalFormConverter__WEBPACK_IMPORTED_MODULE_58__.ModalFormConverter, _ElementProcessors_Modal_ModalFormLabel_ModalFormLabelConverter__WEBPACK_IMPORTED_MODULE_61__.ModalFormLabelConverter, _ElementProcessors_MultiControls_Multilinefield_MultilineFieldConverter__WEBPACK_IMPORTED_MODULE_62__.MultilineFieldConverter, _ElementProcessors_Helpers_Normativehelp_NormativeHelpConverter__WEBPACK_IMPORTED_MODULE_63__.NormativeHelpConverter, _ElementProcessors_FormParts_Page_PageConverter__WEBPACK_IMPORTED_MODULE_65__.PageConverter, _ElementProcessors_Layout_Pencil_PencilConverter__WEBPACK_IMPORTED_MODULE_66__.PencilConverter, _ElementProcessors_ValueEditors_Picklist_PicklistConverter__WEBPACK_IMPORTED_MODULE_67__.PicklistConverter, _ElementProcessors_ValueEditors_TreePicklist_TreePicklistConverter__WEBPACK_IMPORTED_MODULE_118__.TreePicklistConverter, _ElementProcessors_ValueEditors_radio_RadioConverter__WEBPACK_IMPORTED_MODULE_68__.RadioConverter, _ElementProcessors_ValueEditors_RadioGroup_RadioGroupConverter__WEBPACK_IMPORTED_MODULE_69__.RadioGroupConverter, _ElementProcessors_MultiControls_RemoveRowButton_RemoveRowButtonConverter__WEBPACK_IMPORTED_MODULE_70__.RemoveRowButtonConverter, _ElementProcessors_ValueEditors_Select_SelectConverter__WEBPACK_IMPORTED_MODULE_71__.SelectConverter, _ElementProcessors_MultiControls_SortRadioGroup_SortRadioGroupConverter__WEBPACK_IMPORTED_MODULE_72__.SortRadioGroupConverter, _ElementProcessors_Layout_Spoiler_SpoilerConverter__WEBPACK_IMPORTED_MODULE_73__.SpoilerConverter, _ElementProcessors_Typography_Strong_StrongConverter__WEBPACK_IMPORTED_MODULE_74__.StrongConverter, _ElementProcessors_Typography_Sub_SubConverter__WEBPACK_IMPORTED_MODULE_75__.SubConverter, _ElementProcessors_Layout_Subheader_SubheaderConverter__WEBPACK_IMPORTED_MODULE_76__.SubheaderConverter, _ElementProcessors_Typography_Sup_SupConverter__WEBPACK_IMPORTED_MODULE_77__.SupConverter, _ElementProcessors_ValueViewers_Text_TextConverter__WEBPACK_IMPORTED_MODULE_86__.TextConverter, _ElementProcessors_ValueEditors_Textarea_TextAreaConverter__WEBPACK_IMPORTED_MODULE_87__.TextAreaConverter, _ElementProcessors_ValueEditors_popupTextArea_PopupTextAreaConverter__WEBPACK_IMPORTED_MODULE_96__.PopupTextAreaConverter, _ElementProcessors_ValueViewers_ValueLength_ValueLengthConverter__WEBPACK_IMPORTED_MODULE_92__.ValueLengthConverter, _ElementProcessors_ControlFlow_VisibilityBlock_VisibilityBlockConverter__WEBPACK_IMPORTED_MODULE_93__.VisibilityBlockConverter, _ElementProcessors_Layout_Warning_WarningConverter__WEBPACK_IMPORTED_MODULE_94__.WarningConverter, _ElementProcessors_Layout_InnerText_InnertextConverter__WEBPACK_IMPORTED_MODULE_7__.InnertextConverter, _ElementProcessors_ControlFlow_Otherwise_OtherwiseConverter__WEBPACK_IMPORTED_MODULE_64__.OtherwiseConverter, _ElementProcessors_ControlFlow_When_WhenConverter__WEBPACK_IMPORTED_MODULE_95__.WhenConverter, _ElementProcessors_FormParts_UnitList_UnitListConverter__WEBPACK_IMPORTED_MODULE_91__.UnitListConverter, _ElementProcessors_FormParts_UnitItem_UnitItemConverter__WEBPACK_IMPORTED_MODULE_90__.UnitItemConverter, _ElementProcessors_Modal_Body_BodyConverter__WEBPACK_IMPORTED_MODULE_12__.BodyConverter, _ElementProcessors_Modal_Footer_FooterConverter__WEBPACK_IMPORTED_MODULE_35__.FooterConverter, _ElementProcessors_Modal_ModalFormConfirm_ModalFormConfirmConverter__WEBPACK_IMPORTED_MODULE_60__.ModalFormConfirmConverter, _ElementProcessors_Modal_ModalFormCancel_ModalFormCancelConverter__WEBPACK_IMPORTED_MODULE_59__.ModalFormCancelConverter, _ElementProcessors_Action_Button_ButtonConverter__WEBPACK_IMPORTED_MODULE_15__.ButtonConverter, _ElementProcessors_Action_DownloadExcelButton_DownloadExcelButtonConverter__WEBPACK_IMPORTED_MODULE_16__.DownloadExcelButtonConverter, _ElementProcessors_Action_DropDownButtonLoadExcel_DropDownButtonLoadExcelConverter__WEBPACK_IMPORTED_MODULE_17__.DropDownButtonLoadExcelConverter, _ElementProcessors_FormParts_Tour_TourConverter__WEBPACK_IMPORTED_MODULE_89__.TourConverter, _ElementProcessors_ControlFlow_Switch_SwitchConverter__WEBPACK_IMPORTED_MODULE_78__.SwitchConverter, _ElementProcessors_MultiControls_StickyTable_StickyTableColumnConverter__WEBPACK_IMPORTED_MODULE_83__.StickyTableColumnConverter, _ElementProcessors_MultiControls_CrossfitTable_CrossfitTableColumnConverter__WEBPACK_IMPORTED_MODULE_79__.CrossfitTableColumnConverter, _ElementProcessors_Layout_SimpleTable_SimpleTableColumnConverter__WEBPACK_IMPORTED_MODULE_81__.SimpleTableColumnConverter, _ElementProcessors_MultiControls_CrossfitTable_CrossfitTableConverter__WEBPACK_IMPORTED_MODULE_80__.CrossfitTableConverter, _ElementProcessors_Layout_SimpleTable_SimpleTableConverter__WEBPACK_IMPORTED_MODULE_82__.SimpleTableConverter, _ElementProcessors_MultiControls_StickyTable_StickyTableWithMultilineConverter__WEBPACK_IMPORTED_MODULE_84__.StickyTableWithMultilineConverter, _ElementProcessors_Layout_Stack_StackConverter__WEBPACK_IMPORTED_MODULE_2__.StackConverter, _ElementProcessors_Layout_Grid_GridConverter__WEBPACK_IMPORTED_MODULE_1__.GridConverter, _ElementProcessors_UnitParts_HeaderPanel_HeaderPanelConverter__WEBPACK_IMPORTED_MODULE_6__.HeaderPanelConverter, _ElementProcessors_MultiControls_Tabs_TabsConverter__WEBPACK_IMPORTED_MODULE_5__.TabsConverter, _ElementProcessors_Action_DropdownButton_DropdownButtonConverter__WEBPACK_IMPORTED_MODULE_101__.DropdownButtonConverter, _ElementProcessors_ValueEditors_Fias_FiasConverter__WEBPACK_IMPORTED_MODULE_0__.FiasConverter, _ElementProcessors_MultiControls_FilterSelect_FilterSelectConverter__WEBPACK_IMPORTED_MODULE_3__.FilterSelectConverter, _ElementProcessors_MultiControls_Table2_Table2Converter__WEBPACK_IMPORTED_MODULE_4__.Table2Converter, _ElementProcessors_MultiControls_Table2_Table2RowConverter__WEBPACK_IMPORTED_MODULE_100__.Table2RowConverter, _ElementProcessors_MultiControls_Table2_Table2MultirowConverter__WEBPACK_IMPORTED_MODULE_99__.Table2MultirowConverter, _ElementProcessors_MultiControls_Table2_Table2Converter__WEBPACK_IMPORTED_MODULE_4__.Table2ColumnConverter, _ElementProcessors_MultiControls_Table2_Table2Converter__WEBPACK_IMPORTED_MODULE_4__.Table2VerticalColumnConverter, _ElementProcessors_Layout_FixedTabs_FixedTabsConverter__WEBPACK_IMPORTED_MODULE_103__.FixedTabsConverter, _ElementProcessors_Layout_FixedTabs_FixedTabConverter__WEBPACK_IMPORTED_MODULE_102__.FixedTabConverter, _ElementProcessors_MultiControls_Multiple_MultipleConverter__WEBPACK_IMPORTED_MODULE_104__.MultipleConverter, _ElementProcessors_Action_ExcelPastePanel_ExcelPastePanelConverter__WEBPACK_IMPORTED_MODULE_105__.ExcelPastePanelConverter, _ElementProcessors_ValueEditors_ReferencedFields_ReferencedFieldsConverter__WEBPACK_IMPORTED_MODULE_106__.ReferencedFieldsConverter, _ElementProcessors_FormParts_UserPicklist_UserPicklistConverter__WEBPACK_IMPORTED_MODULE_107__.UserPicklistConverter, _ElementProcessors_ValueEditors_TaxRebate_TaxRebateConverter__WEBPACK_IMPORTED_MODULE_108__.TaxRebateConverter, _ElementProcessors_FormParts_Banner_BannerConverter__WEBPACK_IMPORTED_MODULE_109__.BannerConverter, _ElementProcessors_ValueViewers_DateView_DateViewConverter__WEBPACK_IMPORTED_MODULE_113__.DateViewConverter, _ElementProcessors_Action_Kebab_KebabConverter__WEBPACK_IMPORTED_MODULE_114__.KebabConverter, _ElementProcessors_Helpers_Clue_InfoBlockConverter__WEBPACK_IMPORTED_MODULE_115__.InfoBlockConverter, _ElementProcessors_ValueEditors_SelectAllCheckbox_SelectAllCheckboxConverter__WEBPACK_IMPORTED_MODULE_116__.SelectAllCheckboxConverter, _ElementProcessors_ValueEditors_SelectCheckbox_SelectCheckboxConverter__WEBPACK_IMPORTED_MODULE_120__.SelectCheckboxConverter, _ElementProcessors_FormParts_ModalHeader_ModalHeaderConverter__WEBPACK_IMPORTED_MODULE_121__.ModalHeaderConverter, _ElementProcessors_FormParts_GlobalModal_GlobalModalsConverter__WEBPACK_IMPORTED_MODULE_122__.GlobalModalsConverter, _ElementProcessors_MultiControls_InstanceNumber_InstanceNumberConverter__WEBPACK_IMPORTED_MODULE_123__.InstanceNumberConverter, _ElementProcessors_Layout_OptionalBlock_OptionalBlockConverter__WEBPACK_IMPORTED_MODULE_124__.OptionalBlockConverter];
76893
77447
  return new Map(
76894
77448
  // @ts-ignore
76895
77449
  converters.map(converterClass => [converterClass.getAcceptNodeClass(), converterClass]));
@@ -81541,85 +82095,6 @@ let DefaultContentNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTE
81541
82095
 
81542
82096
  /***/ }),
81543
82097
 
81544
- /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/FormInfo/FormInfoConverter.ts":
81545
- /*!************************************************************************************************************!*\
81546
- !*** ./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/FormInfo/FormInfoConverter.ts ***!
81547
- \************************************************************************************************************/
81548
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
81549
-
81550
- "use strict";
81551
- __webpack_require__.r(__webpack_exports__);
81552
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
81553
- /* harmony export */ FormInfoConverter: () => (/* binding */ FormInfoConverter)
81554
- /* harmony export */ });
81555
- /* harmony import */ var _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../DataDeclarationGenerator/DataDeclarationGenerationContext */ "./Generator/src/generators/DataDeclarationGenerator/DataDeclarationGenerationContext.ts");
81556
- /* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
81557
- /* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
81558
- /* harmony import */ var _FormInfoNode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./FormInfoNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/FormInfo/FormInfoNode.ts");
81559
-
81560
-
81561
-
81562
-
81563
- class FormInfoConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.SugarNodeConverterBase {
81564
- static getAcceptNodeClass() {
81565
- return _FormInfoNode__WEBPACK_IMPORTED_MODULE_3__.FormInfoNode;
81566
- }
81567
- doBuildDataDeclaration(context) {
81568
- return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
81569
- }
81570
- buildChildrenDataDeclaration(context) {
81571
- return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
81572
- }
81573
- *doTraverseChildren() {
81574
- // no children
81575
- }
81576
- doConvert(context) {
81577
- const node = this.getCurrentNodeAs(_FormInfoNode__WEBPACK_IMPORTED_MODULE_3__.FormInfoNode);
81578
- const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__.componentMarkupBuilder)("FormInfo");
81579
- markupBuilder.prop(x => x.name).set(node.name);
81580
- return markupBuilder.buildConverterResult();
81581
- }
81582
- }
81583
-
81584
- /***/ }),
81585
-
81586
- /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/FormInfo/FormInfoNode.ts":
81587
- /*!*******************************************************************************************************!*\
81588
- !*** ./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/FormInfo/FormInfoNode.ts ***!
81589
- \*******************************************************************************************************/
81590
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
81591
-
81592
- "use strict";
81593
- __webpack_require__.r(__webpack_exports__);
81594
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
81595
- /* harmony export */ FormInfoNode: () => (/* binding */ FormInfoNode)
81596
- /* harmony export */ });
81597
- /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/initializerDefineProperty */ "./node_modules/@babel/runtime/helpers/initializerDefineProperty.js");
81598
- /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__);
81599
- /* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/applyDecoratedDescriptor */ "./node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js");
81600
- /* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__);
81601
- /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/initializerWarningHelper */ "./node_modules/@babel/runtime/helpers/initializerWarningHelper.js");
81602
- /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
81603
- /* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
81604
-
81605
-
81606
-
81607
- var _dec, _dec2, _class, _class2, _descriptor;
81608
-
81609
- let FormInfoNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("forminfo", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/FormInfo sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("name", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.localizedString, `Если у формы нет КНД (например, ФСС), то указывается атрибут \`name\` с названием формы.`), _dec(_class = (_class2 = class FormInfoNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
81610
- constructor(...args) {
81611
- super(...args);
81612
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "name", _descriptor, this);
81613
- }
81614
- }, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "name", [_dec2], {
81615
- configurable: true,
81616
- enumerable: true,
81617
- writable: true,
81618
- initializer: null
81619
- }), _class2)) || _class);
81620
-
81621
- /***/ }),
81622
-
81623
82098
  /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/FormConverter.ts":
81624
82099
  /*!****************************************************************************************************!*\
81625
82100
  !*** ./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/FormConverter.ts ***!
@@ -82701,6 +83176,85 @@ let TypeListNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODU
82701
83176
 
82702
83177
  /***/ }),
82703
83178
 
83179
+ /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/FormInfo/FormInfoConverter.ts":
83180
+ /*!************************************************************************************************************!*\
83181
+ !*** ./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/FormInfo/FormInfoConverter.ts ***!
83182
+ \************************************************************************************************************/
83183
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
83184
+
83185
+ "use strict";
83186
+ __webpack_require__.r(__webpack_exports__);
83187
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
83188
+ /* harmony export */ FormInfoConverter: () => (/* binding */ FormInfoConverter)
83189
+ /* harmony export */ });
83190
+ /* harmony import */ var _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../DataDeclarationGenerator/DataDeclarationGenerationContext */ "./Generator/src/generators/DataDeclarationGenerator/DataDeclarationGenerationContext.ts");
83191
+ /* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
83192
+ /* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
83193
+ /* harmony import */ var _FormInfoNode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./FormInfoNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/FormInfo/FormInfoNode.ts");
83194
+
83195
+
83196
+
83197
+
83198
+ class FormInfoConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.SugarNodeConverterBase {
83199
+ static getAcceptNodeClass() {
83200
+ return _FormInfoNode__WEBPACK_IMPORTED_MODULE_3__.FormInfoNode;
83201
+ }
83202
+ doBuildDataDeclaration(context) {
83203
+ return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
83204
+ }
83205
+ buildChildrenDataDeclaration(context) {
83206
+ return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
83207
+ }
83208
+ *doTraverseChildren() {
83209
+ // no children
83210
+ }
83211
+ doConvert(context) {
83212
+ const node = this.getCurrentNodeAs(_FormInfoNode__WEBPACK_IMPORTED_MODULE_3__.FormInfoNode);
83213
+ const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__.componentMarkupBuilder)("FormInfo");
83214
+ markupBuilder.prop(x => x.name).set(node.name);
83215
+ return markupBuilder.buildConverterResult();
83216
+ }
83217
+ }
83218
+
83219
+ /***/ }),
83220
+
83221
+ /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/FormInfo/FormInfoNode.ts":
83222
+ /*!*******************************************************************************************************!*\
83223
+ !*** ./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/FormInfo/FormInfoNode.ts ***!
83224
+ \*******************************************************************************************************/
83225
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
83226
+
83227
+ "use strict";
83228
+ __webpack_require__.r(__webpack_exports__);
83229
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
83230
+ /* harmony export */ FormInfoNode: () => (/* binding */ FormInfoNode)
83231
+ /* harmony export */ });
83232
+ /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/initializerDefineProperty */ "./node_modules/@babel/runtime/helpers/initializerDefineProperty.js");
83233
+ /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__);
83234
+ /* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/applyDecoratedDescriptor */ "./node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js");
83235
+ /* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__);
83236
+ /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/initializerWarningHelper */ "./node_modules/@babel/runtime/helpers/initializerWarningHelper.js");
83237
+ /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
83238
+ /* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
83239
+
83240
+
83241
+
83242
+ var _dec, _dec2, _class, _class2, _descriptor;
83243
+
83244
+ let FormInfoNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("forminfo", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/FormInfo sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("name", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.localizedString, `Если у формы нет КНД (например, ФСС), то указывается атрибут \`name\` с названием формы.`), _dec(_class = (_class2 = class FormInfoNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
83245
+ constructor(...args) {
83246
+ super(...args);
83247
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "name", _descriptor, this);
83248
+ }
83249
+ }, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "name", [_dec2], {
83250
+ configurable: true,
83251
+ enumerable: true,
83252
+ writable: true,
83253
+ initializer: null
83254
+ }), _class2)) || _class);
83255
+
83256
+ /***/ }),
83257
+
82704
83258
  /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/GlobalModal/GlobalModalsConverter.ts":
82705
83259
  /*!*******************************************************************************************************************!*\
82706
83260
  !*** ./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/GlobalModal/GlobalModalsConverter.ts ***!
@@ -85347,6 +85901,165 @@ let FlexboxNode = (_dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MOD
85347
85901
 
85348
85902
  /***/ }),
85349
85903
 
85904
+ /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Grid/GridConverter.ts":
85905
+ /*!*************************************************************************************************!*\
85906
+ !*** ./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Grid/GridConverter.ts ***!
85907
+ \*************************************************************************************************/
85908
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
85909
+
85910
+ "use strict";
85911
+ __webpack_require__.r(__webpack_exports__);
85912
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
85913
+ /* harmony export */ GridConverter: () => (/* binding */ GridConverter)
85914
+ /* harmony export */ });
85915
+ /* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
85916
+ /* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
85917
+ /* harmony import */ var _GridNode__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./GridNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Grid/GridNode.ts");
85918
+
85919
+
85920
+
85921
+ class GridConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.SugarNodeConverterBase {
85922
+ static getAcceptNodeClass() {
85923
+ return _GridNode__WEBPACK_IMPORTED_MODULE_2__.GridNode;
85924
+ }
85925
+ doBuildDataDeclaration(context) {
85926
+ const node = this.getCurrentNodeAs(_GridNode__WEBPACK_IMPORTED_MODULE_2__.GridNode);
85927
+ return context.mergeDataDeclaration(node.dataScope.path && context.addPathSectionDeclarationEntry(node));
85928
+ }
85929
+ buildChildrenDataDeclaration(context) {
85930
+ const node = this.getCurrentNodeAs(_GridNode__WEBPACK_IMPORTED_MODULE_2__.GridNode);
85931
+ return context.processChildrenDataDeclaration(Iterator.from(node.columns).map(x => x.children).flatMap(x => x));
85932
+ }
85933
+ *doTraverseChildren() {
85934
+ const node = this.getCurrentNodeAs(_GridNode__WEBPACK_IMPORTED_MODULE_2__.GridNode);
85935
+ yield* Iterator.from(node.columns).map(x => x.children).flatMap(x => x);
85936
+ }
85937
+ doConvert(context) {
85938
+ const node = this.getCurrentNodeAs(_GridNode__WEBPACK_IMPORTED_MODULE_2__.GridNode);
85939
+ const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__.componentMarkupBuilder)("Grid");
85940
+ markupBuilder.prop(x => x.gap).set(node.gap);
85941
+ markupBuilder.prop(x => x.baseline).set(node.baseline);
85942
+ markupBuilder.prop(x => x.top).set(node.top);
85943
+ for (const column of node.columns) {
85944
+ const columnBuilder = markupBuilder.createChild("GridColumn");
85945
+ columnBuilder.prop(x => x.size).set(column.size);
85946
+ columnBuilder.prop(x => x.horizontalAlign).set(column.horizontalAlign);
85947
+ columnBuilder.prop(x => x.textTopPadding).set(column.textTopPadding);
85948
+ columnBuilder.appendChild(context.convertChildNodes(column.children));
85949
+ }
85950
+ return markupBuilder.buildConverterResult();
85951
+ }
85952
+ }
85953
+
85954
+ /***/ }),
85955
+
85956
+ /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Grid/GridNode.ts":
85957
+ /*!********************************************************************************************!*\
85958
+ !*** ./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Grid/GridNode.ts ***!
85959
+ \********************************************************************************************/
85960
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
85961
+
85962
+ "use strict";
85963
+ __webpack_require__.r(__webpack_exports__);
85964
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
85965
+ /* harmony export */ GridColumnNode: () => (/* binding */ GridColumnNode),
85966
+ /* harmony export */ GridNode: () => (/* binding */ GridNode)
85967
+ /* harmony export */ });
85968
+ /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/initializerDefineProperty */ "./node_modules/@babel/runtime/helpers/initializerDefineProperty.js");
85969
+ /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__);
85970
+ /* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/applyDecoratedDescriptor */ "./node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js");
85971
+ /* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__);
85972
+ /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/initializerWarningHelper */ "./node_modules/@babel/runtime/helpers/initializerWarningHelper.js");
85973
+ /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
85974
+ /* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
85975
+ /* harmony import */ var _CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../CommonNodeProperties/DataBindingMixinNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/DataBindingMixinNode.ts");
85976
+ /* harmony import */ var _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../Serializer/SugarNodeWithLegacyVisibility */ "./Generator/src/generators/markupGenerator/Serializer/SugarNodeWithLegacyVisibility.ts");
85977
+
85978
+
85979
+
85980
+ var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _class3, _class4, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10;
85981
+
85982
+
85983
+
85984
+ let GridColumnNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("column", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Grid sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_4__.DataBindingScopeMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("size", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, ``), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("horizontalAlign", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("left", "right", "center"), ``), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("textTopPadding", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)(), _dec(_class = (_class2 = class GridColumnNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
85985
+ constructor(...args) {
85986
+ super(...args);
85987
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataScope", _descriptor, this);
85988
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "size", _descriptor2, this);
85989
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "horizontalAlign", _descriptor3, this);
85990
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "textTopPadding", _descriptor4, this);
85991
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor5, this);
85992
+ }
85993
+ getOwnPath() {
85994
+ return this.dataScope.getOwnPath();
85995
+ }
85996
+ }, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "dataScope", [_dec2], {
85997
+ configurable: true,
85998
+ enumerable: true,
85999
+ writable: true,
86000
+ initializer: null
86001
+ }), _descriptor2 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "size", [_dec3], {
86002
+ configurable: true,
86003
+ enumerable: true,
86004
+ writable: true,
86005
+ initializer: null
86006
+ }), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "horizontalAlign", [_dec4], {
86007
+ configurable: true,
86008
+ enumerable: true,
86009
+ writable: true,
86010
+ initializer: null
86011
+ }), _descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "textTopPadding", [_dec5], {
86012
+ configurable: true,
86013
+ enumerable: true,
86014
+ writable: true,
86015
+ initializer: null
86016
+ }), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec6], {
86017
+ configurable: true,
86018
+ enumerable: true,
86019
+ writable: true,
86020
+ initializer: null
86021
+ }), _class2)) || _class);
86022
+ let GridNode = (_dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("grid", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Grid sync recursive .md$")), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_4__.DataBindingScopeMixinNode), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("gap", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, `Разрыв между элементами`), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("baseline", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Включает выравнивание по вертикали по базовой линии. Если не указан, то выравнивание происходит по верхней границе`), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("top", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Включает выравнивание по вертикали по верху.`), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)("column", [GridColumnNode]), _dec7(_class3 = (_class4 = class GridNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_5__.SugarNodeWithLegacyVisibility {
86023
+ constructor(...args) {
86024
+ super(...args);
86025
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataScope", _descriptor6, this);
86026
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "gap", _descriptor7, this);
86027
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "baseline", _descriptor8, this);
86028
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "top", _descriptor9, this);
86029
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "columns", _descriptor10, this);
86030
+ }
86031
+ getOwnPath() {
86032
+ return this.dataScope.getOwnPath();
86033
+ }
86034
+ }, _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "dataScope", [_dec8], {
86035
+ configurable: true,
86036
+ enumerable: true,
86037
+ writable: true,
86038
+ initializer: null
86039
+ }), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "gap", [_dec9], {
86040
+ configurable: true,
86041
+ enumerable: true,
86042
+ writable: true,
86043
+ initializer: null
86044
+ }), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "baseline", [_dec10], {
86045
+ configurable: true,
86046
+ enumerable: true,
86047
+ writable: true,
86048
+ initializer: null
86049
+ }), _descriptor9 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "top", [_dec11], {
86050
+ configurable: true,
86051
+ enumerable: true,
86052
+ writable: true,
86053
+ initializer: null
86054
+ }), _descriptor10 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "columns", [_dec12], {
86055
+ configurable: true,
86056
+ enumerable: true,
86057
+ writable: true,
86058
+ initializer: null
86059
+ }), _class4)) || _class3);
86060
+
86061
+ /***/ }),
86062
+
85350
86063
  /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/GridCol/GridColConverter.ts":
85351
86064
  /*!*******************************************************************************************************!*\
85352
86065
  !*** ./Generator/src/generators/markupGenerator/ElementProcessors/Layout/GridCol/GridColConverter.ts ***!
@@ -85734,165 +86447,6 @@ let GridRowNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODUL
85734
86447
 
85735
86448
  /***/ }),
85736
86449
 
85737
- /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Grid/GridConverter.ts":
85738
- /*!*************************************************************************************************!*\
85739
- !*** ./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Grid/GridConverter.ts ***!
85740
- \*************************************************************************************************/
85741
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
85742
-
85743
- "use strict";
85744
- __webpack_require__.r(__webpack_exports__);
85745
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
85746
- /* harmony export */ GridConverter: () => (/* binding */ GridConverter)
85747
- /* harmony export */ });
85748
- /* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
85749
- /* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
85750
- /* harmony import */ var _GridNode__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./GridNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Grid/GridNode.ts");
85751
-
85752
-
85753
-
85754
- class GridConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.SugarNodeConverterBase {
85755
- static getAcceptNodeClass() {
85756
- return _GridNode__WEBPACK_IMPORTED_MODULE_2__.GridNode;
85757
- }
85758
- doBuildDataDeclaration(context) {
85759
- const node = this.getCurrentNodeAs(_GridNode__WEBPACK_IMPORTED_MODULE_2__.GridNode);
85760
- return context.mergeDataDeclaration(node.dataScope.path && context.addPathSectionDeclarationEntry(node));
85761
- }
85762
- buildChildrenDataDeclaration(context) {
85763
- const node = this.getCurrentNodeAs(_GridNode__WEBPACK_IMPORTED_MODULE_2__.GridNode);
85764
- return context.processChildrenDataDeclaration(Iterator.from(node.columns).map(x => x.children).flatMap(x => x));
85765
- }
85766
- *doTraverseChildren() {
85767
- const node = this.getCurrentNodeAs(_GridNode__WEBPACK_IMPORTED_MODULE_2__.GridNode);
85768
- yield* Iterator.from(node.columns).map(x => x.children).flatMap(x => x);
85769
- }
85770
- doConvert(context) {
85771
- const node = this.getCurrentNodeAs(_GridNode__WEBPACK_IMPORTED_MODULE_2__.GridNode);
85772
- const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__.componentMarkupBuilder)("Grid");
85773
- markupBuilder.prop(x => x.gap).set(node.gap);
85774
- markupBuilder.prop(x => x.baseline).set(node.baseline);
85775
- markupBuilder.prop(x => x.top).set(node.top);
85776
- for (const column of node.columns) {
85777
- const columnBuilder = markupBuilder.createChild("GridColumn");
85778
- columnBuilder.prop(x => x.size).set(column.size);
85779
- columnBuilder.prop(x => x.horizontalAlign).set(column.horizontalAlign);
85780
- columnBuilder.prop(x => x.textTopPadding).set(column.textTopPadding);
85781
- columnBuilder.appendChild(context.convertChildNodes(column.children));
85782
- }
85783
- return markupBuilder.buildConverterResult();
85784
- }
85785
- }
85786
-
85787
- /***/ }),
85788
-
85789
- /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Grid/GridNode.ts":
85790
- /*!********************************************************************************************!*\
85791
- !*** ./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Grid/GridNode.ts ***!
85792
- \********************************************************************************************/
85793
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
85794
-
85795
- "use strict";
85796
- __webpack_require__.r(__webpack_exports__);
85797
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
85798
- /* harmony export */ GridColumnNode: () => (/* binding */ GridColumnNode),
85799
- /* harmony export */ GridNode: () => (/* binding */ GridNode)
85800
- /* harmony export */ });
85801
- /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/initializerDefineProperty */ "./node_modules/@babel/runtime/helpers/initializerDefineProperty.js");
85802
- /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__);
85803
- /* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/applyDecoratedDescriptor */ "./node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js");
85804
- /* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__);
85805
- /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/initializerWarningHelper */ "./node_modules/@babel/runtime/helpers/initializerWarningHelper.js");
85806
- /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
85807
- /* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
85808
- /* harmony import */ var _CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../CommonNodeProperties/DataBindingMixinNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/DataBindingMixinNode.ts");
85809
- /* harmony import */ var _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../Serializer/SugarNodeWithLegacyVisibility */ "./Generator/src/generators/markupGenerator/Serializer/SugarNodeWithLegacyVisibility.ts");
85810
-
85811
-
85812
-
85813
- var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _class3, _class4, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10;
85814
-
85815
-
85816
-
85817
- let GridColumnNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("column", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Grid sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_4__.DataBindingScopeMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("size", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, ``), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("horizontalAlign", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("left", "right", "center"), ``), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("textTopPadding", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)(), _dec(_class = (_class2 = class GridColumnNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
85818
- constructor(...args) {
85819
- super(...args);
85820
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataScope", _descriptor, this);
85821
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "size", _descriptor2, this);
85822
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "horizontalAlign", _descriptor3, this);
85823
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "textTopPadding", _descriptor4, this);
85824
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor5, this);
85825
- }
85826
- getOwnPath() {
85827
- return this.dataScope.getOwnPath();
85828
- }
85829
- }, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "dataScope", [_dec2], {
85830
- configurable: true,
85831
- enumerable: true,
85832
- writable: true,
85833
- initializer: null
85834
- }), _descriptor2 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "size", [_dec3], {
85835
- configurable: true,
85836
- enumerable: true,
85837
- writable: true,
85838
- initializer: null
85839
- }), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "horizontalAlign", [_dec4], {
85840
- configurable: true,
85841
- enumerable: true,
85842
- writable: true,
85843
- initializer: null
85844
- }), _descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "textTopPadding", [_dec5], {
85845
- configurable: true,
85846
- enumerable: true,
85847
- writable: true,
85848
- initializer: null
85849
- }), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec6], {
85850
- configurable: true,
85851
- enumerable: true,
85852
- writable: true,
85853
- initializer: null
85854
- }), _class2)) || _class);
85855
- let GridNode = (_dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("grid", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Grid sync recursive .md$")), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_4__.DataBindingScopeMixinNode), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("gap", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, `Разрыв между элементами`), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("baseline", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Включает выравнивание по вертикали по базовой линии. Если не указан, то выравнивание происходит по верхней границе`), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("top", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Включает выравнивание по вертикали по верху.`), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)("column", [GridColumnNode]), _dec7(_class3 = (_class4 = class GridNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_5__.SugarNodeWithLegacyVisibility {
85856
- constructor(...args) {
85857
- super(...args);
85858
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataScope", _descriptor6, this);
85859
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "gap", _descriptor7, this);
85860
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "baseline", _descriptor8, this);
85861
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "top", _descriptor9, this);
85862
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "columns", _descriptor10, this);
85863
- }
85864
- getOwnPath() {
85865
- return this.dataScope.getOwnPath();
85866
- }
85867
- }, _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "dataScope", [_dec8], {
85868
- configurable: true,
85869
- enumerable: true,
85870
- writable: true,
85871
- initializer: null
85872
- }), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "gap", [_dec9], {
85873
- configurable: true,
85874
- enumerable: true,
85875
- writable: true,
85876
- initializer: null
85877
- }), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "baseline", [_dec10], {
85878
- configurable: true,
85879
- enumerable: true,
85880
- writable: true,
85881
- initializer: null
85882
- }), _descriptor9 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "top", [_dec11], {
85883
- configurable: true,
85884
- enumerable: true,
85885
- writable: true,
85886
- initializer: null
85887
- }), _descriptor10 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "columns", [_dec12], {
85888
- configurable: true,
85889
- enumerable: true,
85890
- writable: true,
85891
- initializer: null
85892
- }), _class4)) || _class3);
85893
-
85894
- /***/ }),
85895
-
85896
86450
  /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Hr/HrConverter.ts":
85897
86451
  /*!*********************************************************************************************!*\
85898
86452
  !*** ./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Hr/HrConverter.ts ***!
@@ -86201,6 +86755,140 @@ let InnertextNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MOD
86201
86755
 
86202
86756
  /***/ }),
86203
86757
 
86758
+ /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/List/ListConverter.ts":
86759
+ /*!*************************************************************************************************!*\
86760
+ !*** ./Generator/src/generators/markupGenerator/ElementProcessors/Layout/List/ListConverter.ts ***!
86761
+ \*************************************************************************************************/
86762
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
86763
+
86764
+ "use strict";
86765
+ __webpack_require__.r(__webpack_exports__);
86766
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
86767
+ /* harmony export */ ListConverter: () => (/* binding */ ListConverter)
86768
+ /* harmony export */ });
86769
+ /* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
86770
+ /* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
86771
+ /* harmony import */ var _ListNode__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ListNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/List/ListNode.ts");
86772
+
86773
+
86774
+
86775
+ class ListConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.SugarNodeConverterBase {
86776
+ static getAcceptNodeClass() {
86777
+ return _ListNode__WEBPACK_IMPORTED_MODULE_2__.ListNode;
86778
+ }
86779
+ doBuildDataDeclaration(context) {
86780
+ const node = this.getCurrentNodeAs(_ListNode__WEBPACK_IMPORTED_MODULE_2__.ListNode);
86781
+ return context.mergeDataDeclaration(context.addPathSectionDeclarationEntry(node), context.addVisibilityPathDeclEntryNew(node));
86782
+ }
86783
+ buildChildrenDataDeclaration(context) {
86784
+ const node = this.getCurrentNodeAs(_ListNode__WEBPACK_IMPORTED_MODULE_2__.ListNode);
86785
+ return context.processChildrenDataDeclaration(node.items);
86786
+ }
86787
+ *doTraverseChildren() {
86788
+ const node = this.getCurrentNodeAs(_ListNode__WEBPACK_IMPORTED_MODULE_2__.ListNode);
86789
+ yield* node.items;
86790
+ }
86791
+ doConvert(context) {
86792
+ const node = this.getCurrentNodeAs(_ListNode__WEBPACK_IMPORTED_MODULE_2__.ListNode);
86793
+ const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__.componentMarkupBuilder)("List");
86794
+ markupBuilder.prop(x => x.bullet).set(node.bullet);
86795
+ markupBuilder.prop(x => x.dash).set(node.dash);
86796
+ markupBuilder.prop(x => x.inline).set(node.inline);
86797
+ markupBuilder.appendChild(context.convertChildNodes(node.items));
86798
+ return markupBuilder.buildConverterResult();
86799
+ }
86800
+ }
86801
+
86802
+ /***/ }),
86803
+
86804
+ /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/List/ListNode.ts":
86805
+ /*!********************************************************************************************!*\
86806
+ !*** ./Generator/src/generators/markupGenerator/ElementProcessors/Layout/List/ListNode.ts ***!
86807
+ \********************************************************************************************/
86808
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
86809
+
86810
+ "use strict";
86811
+ __webpack_require__.r(__webpack_exports__);
86812
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
86813
+ /* harmony export */ ListNode: () => (/* binding */ ListNode)
86814
+ /* harmony export */ });
86815
+ /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/initializerDefineProperty */ "./node_modules/@babel/runtime/helpers/initializerDefineProperty.js");
86816
+ /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__);
86817
+ /* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/applyDecoratedDescriptor */ "./node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js");
86818
+ /* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__);
86819
+ /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/initializerWarningHelper */ "./node_modules/@babel/runtime/helpers/initializerWarningHelper.js");
86820
+ /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
86821
+ /* harmony import */ var _CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../CommonNodeProperties/DataBindingMixinNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/DataBindingMixinNode.ts");
86822
+ /* harmony import */ var _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../Serializer/SugarNodeWithLegacyVisibility */ "./Generator/src/generators/markupGenerator/Serializer/SugarNodeWithLegacyVisibility.ts");
86823
+ /* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
86824
+ /* harmony import */ var _ListItem_ListItemNode__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../ListItem/ListItemNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/ListItem/ListItemNode.ts");
86825
+
86826
+
86827
+
86828
+ var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8;
86829
+
86830
+
86831
+
86832
+
86833
+ let ListNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("list", `Список`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Layout/List sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__.DataBindingScopeMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)("item", [_ListItem_ListItemNode__WEBPACK_IMPORTED_MODULE_6__.ListItemNode]), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("inline", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.boolean, ``), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("bullet", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.boolean, ``), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("dash", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.boolean, ``), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number, ``), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("itemPaddingTop", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.lengthUnit, `Отступ сверху для каждого элемента списка`), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("itemPaddingBottom", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.lengthUnit, `Отступ снизу для каждого элемента списка`), _dec(_class = (_class2 = class ListNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_4__.SugarNodeWithLegacyVisibility {
86834
+ constructor(...args) {
86835
+ super(...args);
86836
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataScope", _descriptor, this);
86837
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "items", _descriptor2, this);
86838
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "inline", _descriptor3, this);
86839
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "bullet", _descriptor4, this);
86840
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dash", _descriptor5, this);
86841
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "width", _descriptor6, this);
86842
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "itemPaddingTop", _descriptor7, this);
86843
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "itemPaddingBottom", _descriptor8, this);
86844
+ }
86845
+ getOwnPath() {
86846
+ return this.dataScope.getOwnPath();
86847
+ }
86848
+ }, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "dataScope", [_dec2], {
86849
+ configurable: true,
86850
+ enumerable: true,
86851
+ writable: true,
86852
+ initializer: null
86853
+ }), _descriptor2 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "items", [_dec3], {
86854
+ configurable: true,
86855
+ enumerable: true,
86856
+ writable: true,
86857
+ initializer: null
86858
+ }), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "inline", [_dec4], {
86859
+ configurable: true,
86860
+ enumerable: true,
86861
+ writable: true,
86862
+ initializer: null
86863
+ }), _descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "bullet", [_dec5], {
86864
+ configurable: true,
86865
+ enumerable: true,
86866
+ writable: true,
86867
+ initializer: null
86868
+ }), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "dash", [_dec6], {
86869
+ configurable: true,
86870
+ enumerable: true,
86871
+ writable: true,
86872
+ initializer: null
86873
+ }), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "width", [_dec7], {
86874
+ configurable: true,
86875
+ enumerable: true,
86876
+ writable: true,
86877
+ initializer: null
86878
+ }), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "itemPaddingTop", [_dec8], {
86879
+ configurable: true,
86880
+ enumerable: true,
86881
+ writable: true,
86882
+ initializer: null
86883
+ }), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "itemPaddingBottom", [_dec9], {
86884
+ configurable: true,
86885
+ enumerable: true,
86886
+ writable: true,
86887
+ initializer: null
86888
+ }), _class2)) || _class);
86889
+
86890
+ /***/ }),
86891
+
86204
86892
  /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/ListItem/ListItemConverter.ts":
86205
86893
  /*!*********************************************************************************************************!*\
86206
86894
  !*** ./Generator/src/generators/markupGenerator/ElementProcessors/Layout/ListItem/ListItemConverter.ts ***!
@@ -86348,62 +87036,65 @@ let ListItemNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODU
86348
87036
 
86349
87037
  /***/ }),
86350
87038
 
86351
- /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/List/ListConverter.ts":
86352
- /*!*************************************************************************************************!*\
86353
- !*** ./Generator/src/generators/markupGenerator/ElementProcessors/Layout/List/ListConverter.ts ***!
86354
- \*************************************************************************************************/
87039
+ /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Minitour/MinitourConverter.ts":
87040
+ /*!*********************************************************************************************************!*\
87041
+ !*** ./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Minitour/MinitourConverter.ts ***!
87042
+ \*********************************************************************************************************/
86355
87043
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
86356
87044
 
86357
87045
  "use strict";
86358
87046
  __webpack_require__.r(__webpack_exports__);
86359
87047
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
86360
- /* harmony export */ ListConverter: () => (/* binding */ ListConverter)
87048
+ /* harmony export */ MinitourConverter: () => (/* binding */ MinitourConverter)
86361
87049
  /* harmony export */ });
86362
87050
  /* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
86363
87051
  /* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
86364
- /* harmony import */ var _ListNode__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ListNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/List/ListNode.ts");
87052
+ /* harmony import */ var _MinitourNode__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./MinitourNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Minitour/MinitourNode.ts");
86365
87053
 
86366
87054
 
86367
87055
 
86368
- class ListConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.SugarNodeConverterBase {
87056
+ class MinitourConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.SugarNodeConverterBase {
86369
87057
  static getAcceptNodeClass() {
86370
- return _ListNode__WEBPACK_IMPORTED_MODULE_2__.ListNode;
87058
+ return _MinitourNode__WEBPACK_IMPORTED_MODULE_2__.MinitourNode;
86371
87059
  }
86372
87060
  doBuildDataDeclaration(context) {
86373
- const node = this.getCurrentNodeAs(_ListNode__WEBPACK_IMPORTED_MODULE_2__.ListNode);
86374
- return context.mergeDataDeclaration(context.addPathSectionDeclarationEntry(node), context.addVisibilityPathDeclEntryNew(node));
87061
+ const node = this.getCurrentNodeAs(_MinitourNode__WEBPACK_IMPORTED_MODULE_2__.MinitourNode);
87062
+ return context.mergeDataDeclaration(node.dataScope.path && context.addPathSectionDeclarationEntry(node), context.addVisibilityPathDeclEntryNew(node));
86375
87063
  }
86376
87064
  buildChildrenDataDeclaration(context) {
86377
- const node = this.getCurrentNodeAs(_ListNode__WEBPACK_IMPORTED_MODULE_2__.ListNode);
86378
- return context.processChildrenDataDeclaration(node.items);
87065
+ const node = this.getCurrentNodeAs(_MinitourNode__WEBPACK_IMPORTED_MODULE_2__.MinitourNode);
87066
+ return context.processChildrenDataDeclaration(node.children);
86379
87067
  }
86380
87068
  *doTraverseChildren() {
86381
- const node = this.getCurrentNodeAs(_ListNode__WEBPACK_IMPORTED_MODULE_2__.ListNode);
86382
- yield* node.items;
87069
+ const node = this.getCurrentNodeAs(_MinitourNode__WEBPACK_IMPORTED_MODULE_2__.MinitourNode);
87070
+ yield* node.children;
86383
87071
  }
86384
87072
  doConvert(context) {
86385
- const node = this.getCurrentNodeAs(_ListNode__WEBPACK_IMPORTED_MODULE_2__.ListNode);
86386
- const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__.componentMarkupBuilder)("List");
86387
- markupBuilder.prop(x => x.bullet).set(node.bullet);
86388
- markupBuilder.prop(x => x.dash).set(node.dash);
86389
- markupBuilder.prop(x => x.inline).set(node.inline);
86390
- markupBuilder.appendChild(context.convertChildNodes(node.items));
87073
+ var _node$positions;
87074
+ const node = this.getCurrentNodeAs(_MinitourNode__WEBPACK_IMPORTED_MODULE_2__.MinitourNode);
87075
+ const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__.componentMarkupBuilder)("Minitour");
87076
+ markupBuilder.prop(x => x.id).set(node.id);
87077
+ markupBuilder.prop(x => x.label).set(node.label);
87078
+ markupBuilder.prop(x => x.width).set(node.width);
87079
+ markupBuilder.prop(x => x.openedFrom).set(node.openedFrom);
87080
+ markupBuilder.prop(x => x.positions).set((_node$positions = node.positions) !== null && _node$positions !== void 0 ? _node$positions : ["bottom left"]);
87081
+ markupBuilder.appendChild(context.convertChildNodes(node.children));
86391
87082
  return markupBuilder.buildConverterResult();
86392
87083
  }
86393
87084
  }
86394
87085
 
86395
87086
  /***/ }),
86396
87087
 
86397
- /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/List/ListNode.ts":
86398
- /*!********************************************************************************************!*\
86399
- !*** ./Generator/src/generators/markupGenerator/ElementProcessors/Layout/List/ListNode.ts ***!
86400
- \********************************************************************************************/
87088
+ /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Minitour/MinitourNode.ts":
87089
+ /*!****************************************************************************************************!*\
87090
+ !*** ./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Minitour/MinitourNode.ts ***!
87091
+ \****************************************************************************************************/
86401
87092
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
86402
87093
 
86403
87094
  "use strict";
86404
87095
  __webpack_require__.r(__webpack_exports__);
86405
87096
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
86406
- /* harmony export */ ListNode: () => (/* binding */ ListNode)
87097
+ /* harmony export */ MinitourNode: () => (/* binding */ MinitourNode)
86407
87098
  /* harmony export */ });
86408
87099
  /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/initializerDefineProperty */ "./node_modules/@babel/runtime/helpers/initializerDefineProperty.js");
86409
87100
  /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__);
@@ -86414,26 +87105,25 @@ __webpack_require__.r(__webpack_exports__);
86414
87105
  /* harmony import */ var _CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../CommonNodeProperties/DataBindingMixinNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/DataBindingMixinNode.ts");
86415
87106
  /* harmony import */ var _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../Serializer/SugarNodeWithLegacyVisibility */ "./Generator/src/generators/markupGenerator/Serializer/SugarNodeWithLegacyVisibility.ts");
86416
87107
  /* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
86417
- /* harmony import */ var _ListItem_ListItemNode__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../ListItem/ListItemNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/ListItem/ListItemNode.ts");
87108
+ /* harmony import */ var _Helpers_Help_PopupPosition__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../Helpers/Help/PopupPosition */ "./Generator/src/generators/markupGenerator/ElementProcessors/Helpers/Help/PopupPosition.ts");
86418
87109
 
86419
87110
 
86420
87111
 
86421
- var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8;
87112
+ var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7;
86422
87113
 
86423
87114
 
86424
87115
 
86425
87116
 
86426
- let ListNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("list", `Список`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Layout/List sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__.DataBindingScopeMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)("item", [_ListItem_ListItemNode__WEBPACK_IMPORTED_MODULE_6__.ListItemNode]), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("inline", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.boolean, ``), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("bullet", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.boolean, ``), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("dash", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.boolean, ``), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number, ``), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("itemPaddingTop", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.lengthUnit, `Отступ сверху для каждого элемента списка`), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("itemPaddingBottom", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.lengthUnit, `Отступ снизу для каждого элемента списка`), _dec(_class = (_class2 = class ListNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_4__.SugarNodeWithLegacyVisibility {
87117
+ let MinitourNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("minitour", `Минитур`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Minitour sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__.DataBindingScopeMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("id", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string, `Id минитура. Должен быть уникальным, если это нужно. Например, если у двух минитуров будет одинаковый id и закрыть первый, то второй тоже закроется.`), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("label", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string, `Текст в минитуре.`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string, `Ширина минитура. По умолчанию растягивается по ширине текста. Min = 256px, max = 400px.`), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("positions", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.array(_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.enum(..._Helpers_Help_PopupPosition__WEBPACK_IMPORTED_MODULE_6__.allPopupPositions)), `Позиции минитура. По умолчанию \"bottom left\". Запись в сахаре в виде: \"positions={["bottom left"]}\". Возможные позиции: ${_Helpers_Help_PopupPosition__WEBPACK_IMPORTED_MODULE_6__.allPopupPositions.join(", ")}.`), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("openedFrom", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string, `Нужно для метрик. Показывает, откуда открыли минитур. Если не указан - то будет браться из id.`), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec(_class = (_class2 = class MinitourNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_4__.SugarNodeWithLegacyVisibility {
86427
87118
  constructor(...args) {
86428
87119
  super(...args);
86429
87120
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataScope", _descriptor, this);
86430
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "items", _descriptor2, this);
86431
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "inline", _descriptor3, this);
86432
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "bullet", _descriptor4, this);
86433
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dash", _descriptor5, this);
86434
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "width", _descriptor6, this);
86435
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "itemPaddingTop", _descriptor7, this);
86436
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "itemPaddingBottom", _descriptor8, this);
87121
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "id", _descriptor2, this);
87122
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "label", _descriptor3, this);
87123
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "width", _descriptor4, this);
87124
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "positions", _descriptor5, this);
87125
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "openedFrom", _descriptor6, this);
87126
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor7, this);
86437
87127
  }
86438
87128
  getOwnPath() {
86439
87129
  return this.dataScope.getOwnPath();
@@ -86443,37 +87133,32 @@ let ListNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5
86443
87133
  enumerable: true,
86444
87134
  writable: true,
86445
87135
  initializer: null
86446
- }), _descriptor2 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "items", [_dec3], {
86447
- configurable: true,
86448
- enumerable: true,
86449
- writable: true,
86450
- initializer: null
86451
- }), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "inline", [_dec4], {
87136
+ }), _descriptor2 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "id", [_dec3], {
86452
87137
  configurable: true,
86453
87138
  enumerable: true,
86454
87139
  writable: true,
86455
87140
  initializer: null
86456
- }), _descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "bullet", [_dec5], {
87141
+ }), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "label", [_dec4], {
86457
87142
  configurable: true,
86458
87143
  enumerable: true,
86459
87144
  writable: true,
86460
87145
  initializer: null
86461
- }), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "dash", [_dec6], {
87146
+ }), _descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "width", [_dec5], {
86462
87147
  configurable: true,
86463
87148
  enumerable: true,
86464
87149
  writable: true,
86465
87150
  initializer: null
86466
- }), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "width", [_dec7], {
87151
+ }), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "positions", [_dec6], {
86467
87152
  configurable: true,
86468
87153
  enumerable: true,
86469
87154
  writable: true,
86470
87155
  initializer: null
86471
- }), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "itemPaddingTop", [_dec8], {
87156
+ }), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "openedFrom", [_dec7], {
86472
87157
  configurable: true,
86473
87158
  enumerable: true,
86474
87159
  writable: true,
86475
87160
  initializer: null
86476
- }), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "itemPaddingBottom", [_dec9], {
87161
+ }), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec8], {
86477
87162
  configurable: true,
86478
87163
  enumerable: true,
86479
87164
  writable: true,
@@ -86482,48 +87167,71 @@ let ListNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5
86482
87167
 
86483
87168
  /***/ }),
86484
87169
 
86485
- /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Minitour/MinitourConverter.ts":
86486
- /*!*********************************************************************************************************!*\
86487
- !*** ./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Minitour/MinitourConverter.ts ***!
86488
- \*********************************************************************************************************/
87170
+ /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/OptionalBlock/OptionalBlockConverter.ts":
87171
+ /*!*******************************************************************************************************************!*\
87172
+ !*** ./Generator/src/generators/markupGenerator/ElementProcessors/Layout/OptionalBlock/OptionalBlockConverter.ts ***!
87173
+ \*******************************************************************************************************************/
86489
87174
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
86490
87175
 
86491
87176
  "use strict";
86492
87177
  __webpack_require__.r(__webpack_exports__);
86493
87178
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
86494
- /* harmony export */ MinitourConverter: () => (/* binding */ MinitourConverter)
87179
+ /* harmony export */ OptionalBlockConverter: () => (/* binding */ OptionalBlockConverter)
86495
87180
  /* harmony export */ });
86496
- /* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
86497
- /* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
86498
- /* harmony import */ var _MinitourNode__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./MinitourNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Minitour/MinitourNode.ts");
87181
+ /* harmony import */ var _Common_CommonConstants_SectionNames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../Common/CommonConstants/SectionNames */ "./Common/CommonConstants/SectionNames.ts");
87182
+ /* harmony import */ var _Common_PathConstants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../../Common/PathConstants */ "./Common/PathConstants.ts");
87183
+ /* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
87184
+ /* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
87185
+ /* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
87186
+ /* harmony import */ var _OptionalBlockNode__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./OptionalBlockNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/OptionalBlock/OptionalBlockNode.ts");
86499
87187
 
86500
87188
 
86501
87189
 
86502
- class MinitourConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.SugarNodeConverterBase {
87190
+
87191
+
87192
+
87193
+ class OptionalBlockConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_4__.SugarNodeConverterBase {
86503
87194
  static getAcceptNodeClass() {
86504
- return _MinitourNode__WEBPACK_IMPORTED_MODULE_2__.MinitourNode;
87195
+ return _OptionalBlockNode__WEBPACK_IMPORTED_MODULE_5__.OptionalBlockNode;
86505
87196
  }
86506
87197
  doBuildDataDeclaration(context) {
86507
- const node = this.getCurrentNodeAs(_MinitourNode__WEBPACK_IMPORTED_MODULE_2__.MinitourNode);
86508
- return context.mergeDataDeclaration(node.dataScope.path && context.addPathSectionDeclarationEntry(node), context.addVisibilityPathDeclEntryNew(node));
87198
+ const node = this.getCurrentNodeAs(_OptionalBlockNode__WEBPACK_IMPORTED_MODULE_5__.OptionalBlockNode);
87199
+ const nodePath = node.getFullPath();
87200
+ const visibilityFieldPath = nodePath.joinWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_1__.OptionalBlockVisibilityFieldName).toString();
87201
+ return context.mergeDataDeclaration(context.addVisibilityPathDeclEntryNew(node), {
87202
+ [nodePath.toString()]: {
87203
+ section: [_Common_CommonConstants_SectionNames__WEBPACK_IMPORTED_MODULE_0__.SectionNames.defaultSection, `${node.id}`]
87204
+ }
87205
+ }, {
87206
+ [visibilityFieldPath]: {
87207
+ value: context.initSequenceFactory.dataValue({
87208
+ defaultValue: "1",
87209
+ fetchfn: undefined,
87210
+ settings: undefined
87211
+ }, false, "1")
87212
+ }
87213
+ });
86509
87214
  }
86510
87215
  buildChildrenDataDeclaration(context) {
86511
- const node = this.getCurrentNodeAs(_MinitourNode__WEBPACK_IMPORTED_MODULE_2__.MinitourNode);
87216
+ const node = this.getCurrentNodeAs(_OptionalBlockNode__WEBPACK_IMPORTED_MODULE_5__.OptionalBlockNode);
86512
87217
  return context.processChildrenDataDeclaration(node.children);
86513
87218
  }
86514
87219
  *doTraverseChildren() {
86515
- const node = this.getCurrentNodeAs(_MinitourNode__WEBPACK_IMPORTED_MODULE_2__.MinitourNode);
87220
+ const node = this.getCurrentNodeAs(_OptionalBlockNode__WEBPACK_IMPORTED_MODULE_5__.OptionalBlockNode);
86516
87221
  yield* node.children;
86517
87222
  }
86518
87223
  doConvert(context) {
86519
- var _node$positions;
86520
- const node = this.getCurrentNodeAs(_MinitourNode__WEBPACK_IMPORTED_MODULE_2__.MinitourNode);
86521
- const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__.componentMarkupBuilder)("Minitour");
87224
+ const node = this.getCurrentNodeAs(_OptionalBlockNode__WEBPACK_IMPORTED_MODULE_5__.OptionalBlockNode);
87225
+ const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__.componentMarkupBuilder)("OptionalBlock");
86522
87226
  markupBuilder.prop(x => x.id).set(node.id);
86523
- markupBuilder.prop(x => x.label).set(node.label);
86524
- markupBuilder.prop(x => x.width).set(node.width);
86525
- markupBuilder.prop(x => x.openedFrom).set(node.openedFrom);
86526
- markupBuilder.prop(x => x.positions).set((_node$positions = node.positions) !== null && _node$positions !== void 0 ? _node$positions : ["bottom left"]);
87227
+ markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_3__.getNewBindingPathExpression)(node));
87228
+ markupBuilder.prop(x => x.createTitle).set(node.createTitle);
87229
+ markupBuilder.prop(x => x.blockTitle).set(node.blockTitle);
87230
+ markupBuilder.prop(x => x.confirmOnDelete).set(Boolean(node.confirmOnDelete));
87231
+ markupBuilder.prop(x => x.confirmText).set(node.confirmText);
87232
+ markupBuilder.prop(x => x.confirmHeaderText).set(node.confirmHeaderText);
87233
+ markupBuilder.prop(x => x.confirmButtonText).set(node.confirmButtonText);
87234
+ markupBuilder.prop(x => x.discardButtonText).set(node.discardButtonText);
86527
87235
  markupBuilder.appendChild(context.convertChildNodes(node.children));
86528
87236
  return markupBuilder.buildConverterResult();
86529
87237
  }
@@ -86531,16 +87239,16 @@ class MinitourConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__
86531
87239
 
86532
87240
  /***/ }),
86533
87241
 
86534
- /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Minitour/MinitourNode.ts":
86535
- /*!****************************************************************************************************!*\
86536
- !*** ./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Minitour/MinitourNode.ts ***!
86537
- \****************************************************************************************************/
87242
+ /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/OptionalBlock/OptionalBlockNode.ts":
87243
+ /*!**************************************************************************************************************!*\
87244
+ !*** ./Generator/src/generators/markupGenerator/ElementProcessors/Layout/OptionalBlock/OptionalBlockNode.ts ***!
87245
+ \**************************************************************************************************************/
86538
87246
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
86539
87247
 
86540
87248
  "use strict";
86541
87249
  __webpack_require__.r(__webpack_exports__);
86542
87250
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
86543
- /* harmony export */ MinitourNode: () => (/* binding */ MinitourNode)
87251
+ /* harmony export */ OptionalBlockNode: () => (/* binding */ OptionalBlockNode)
86544
87252
  /* harmony export */ });
86545
87253
  /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/initializerDefineProperty */ "./node_modules/@babel/runtime/helpers/initializerDefineProperty.js");
86546
87254
  /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__);
@@ -86548,32 +87256,36 @@ __webpack_require__.r(__webpack_exports__);
86548
87256
  /* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__);
86549
87257
  /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/initializerWarningHelper */ "./node_modules/@babel/runtime/helpers/initializerWarningHelper.js");
86550
87258
  /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
86551
- /* harmony import */ var _CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../CommonNodeProperties/DataBindingMixinNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/DataBindingMixinNode.ts");
86552
- /* harmony import */ var _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../Serializer/SugarNodeWithLegacyVisibility */ "./Generator/src/generators/markupGenerator/Serializer/SugarNodeWithLegacyVisibility.ts");
86553
- /* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
86554
- /* harmony import */ var _Helpers_Help_PopupPosition__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../Helpers/Help/PopupPosition */ "./Generator/src/generators/markupGenerator/ElementProcessors/Helpers/Help/PopupPosition.ts");
86555
-
87259
+ /* harmony import */ var _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../Serializer/SugarNodeWithLegacyVisibility */ "./Generator/src/generators/markupGenerator/Serializer/SugarNodeWithLegacyVisibility.ts");
87260
+ /* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
87261
+ /* harmony import */ var _CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../CommonNodeProperties/DataBindingMixinNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/DataBindingMixinNode.ts");
86556
87262
 
86557
87263
 
86558
- var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7;
86559
87264
 
87265
+ var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10;
86560
87266
 
86561
87267
 
86562
87268
 
86563
- let MinitourNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("minitour", `Минитур`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Minitour sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__.DataBindingScopeMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("id", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string, `Id минитура. Должен быть уникальным, если это нужно. Например, если у двух минитуров будет одинаковый id и закрыть первый, то второй тоже закроется.`), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("label", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string, `Текст в минитуре.`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string, `Ширина минитура. По умолчанию растягивается по ширине текста. Min = 256px, max = 400px.`), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("positions", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.array(_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.enum(..._Helpers_Help_PopupPosition__WEBPACK_IMPORTED_MODULE_6__.allPopupPositions)), `Позиции минитура. По умолчанию \"bottom left\". Запись в сахаре в виде: \"positions={["bottom left"]}\". Возможные позиции: ${_Helpers_Help_PopupPosition__WEBPACK_IMPORTED_MODULE_6__.allPopupPositions.join(", ")}.`), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("openedFrom", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string, `Нужно для метрик. Показывает, откуда открыли минитур. Если не указан - то будет браться из id.`), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec(_class = (_class2 = class MinitourNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_4__.SugarNodeWithLegacyVisibility {
87269
+ let OptionalBlockNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("optionalblock", "Блочный элемент, оборачивающий контент, опционально присутствующий в формe"), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_5__.DataBindingScopeMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("id", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string.required, `Уникальный идентификатор блока. Все скрываемые блоки в форме должны иметь уникальный идентификатор.`), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("createTitle", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string.required, `Текст справа от иконки "добавить"`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("blockTitle", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `Заголовок, отображающийся перед кнопкой "Удалить"`), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("confirmOnDelete", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, "Показывать ли модалку для подтверждения удаления контента в блоке"), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("confirmText", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, "Сообщение пользователю в модалке подтверждения удаления"), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("confirmHeaderText", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, "Заголовок в шапке модалки подтверждения удаления"), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("confirmButtonText", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, "Текст на кнопке подтверждения в модалке"), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("discardButtonText", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, "Текст на кнопке отмены в модалке"), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)(), _dec(_class = (_class2 = class OptionalBlockNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_3__.SugarNodeWithLegacyVisibility {
86564
87270
  constructor(...args) {
86565
87271
  super(...args);
86566
87272
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataScope", _descriptor, this);
86567
87273
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "id", _descriptor2, this);
86568
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "label", _descriptor3, this);
86569
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "width", _descriptor4, this);
86570
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "positions", _descriptor5, this);
86571
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "openedFrom", _descriptor6, this);
86572
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor7, this);
87274
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "createTitle", _descriptor3, this);
87275
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "blockTitle", _descriptor4, this);
87276
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "confirmOnDelete", _descriptor5, this);
87277
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "confirmText", _descriptor6, this);
87278
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "confirmHeaderText", _descriptor7, this);
87279
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "confirmButtonText", _descriptor8, this);
87280
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "discardButtonText", _descriptor9, this);
87281
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor10, this);
86573
87282
  }
86574
87283
  getOwnPath() {
86575
87284
  return this.dataScope.getOwnPath();
86576
87285
  }
87286
+ get path() {
87287
+ return this.dataScope.path;
87288
+ }
86577
87289
  }, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "dataScope", [_dec2], {
86578
87290
  configurable: true,
86579
87291
  enumerable: true,
@@ -86584,27 +87296,42 @@ let MinitourNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODU
86584
87296
  enumerable: true,
86585
87297
  writable: true,
86586
87298
  initializer: null
86587
- }), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "label", [_dec4], {
87299
+ }), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "createTitle", [_dec4], {
86588
87300
  configurable: true,
86589
87301
  enumerable: true,
86590
87302
  writable: true,
86591
87303
  initializer: null
86592
- }), _descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "width", [_dec5], {
87304
+ }), _descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "blockTitle", [_dec5], {
86593
87305
  configurable: true,
86594
87306
  enumerable: true,
86595
87307
  writable: true,
86596
87308
  initializer: null
86597
- }), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "positions", [_dec6], {
87309
+ }), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "confirmOnDelete", [_dec6], {
86598
87310
  configurable: true,
86599
87311
  enumerable: true,
86600
87312
  writable: true,
86601
87313
  initializer: null
86602
- }), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "openedFrom", [_dec7], {
87314
+ }), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "confirmText", [_dec7], {
86603
87315
  configurable: true,
86604
87316
  enumerable: true,
86605
87317
  writable: true,
86606
87318
  initializer: null
86607
- }), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec8], {
87319
+ }), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "confirmHeaderText", [_dec8], {
87320
+ configurable: true,
87321
+ enumerable: true,
87322
+ writable: true,
87323
+ initializer: null
87324
+ }), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "confirmButtonText", [_dec9], {
87325
+ configurable: true,
87326
+ enumerable: true,
87327
+ writable: true,
87328
+ initializer: null
87329
+ }), _descriptor9 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "discardButtonText", [_dec10], {
87330
+ configurable: true,
87331
+ enumerable: true,
87332
+ writable: true,
87333
+ initializer: null
87334
+ }), _descriptor10 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec11], {
86608
87335
  configurable: true,
86609
87336
  enumerable: true,
86610
87337
  writable: true,
@@ -87813,6 +88540,160 @@ let FooterNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE
87813
88540
 
87814
88541
  /***/ }),
87815
88542
 
88543
+ /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalForm/ModalFormConverter.ts":
88544
+ /*!**********************************************************************************************************!*\
88545
+ !*** ./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalForm/ModalFormConverter.ts ***!
88546
+ \**********************************************************************************************************/
88547
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
88548
+
88549
+ "use strict";
88550
+ __webpack_require__.r(__webpack_exports__);
88551
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
88552
+ /* harmony export */ ModalFormConverter: () => (/* binding */ ModalFormConverter)
88553
+ /* harmony export */ });
88554
+ /* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
88555
+ /* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
88556
+ /* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
88557
+ /* harmony import */ var _ModalFormNode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ModalFormNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalForm/ModalFormNode.ts");
88558
+
88559
+
88560
+
88561
+
88562
+ class ModalFormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.SugarNodeConverterBase {
88563
+ static getAcceptNodeClass() {
88564
+ return _ModalFormNode__WEBPACK_IMPORTED_MODULE_3__.ModalFormNode;
88565
+ }
88566
+ applyVisibilityPathProcessing() {
88567
+ return false;
88568
+ }
88569
+ doBuildDataDeclaration(context) {
88570
+ const node = this.getCurrentNodeAs(_ModalFormNode__WEBPACK_IMPORTED_MODULE_3__.ModalFormNode);
88571
+ return context.mergeDataDeclaration(context.addPathSectionDeclarationEntry(node));
88572
+ }
88573
+ buildChildrenDataDeclaration(context) {
88574
+ const node = this.getCurrentNodeAs(_ModalFormNode__WEBPACK_IMPORTED_MODULE_3__.ModalFormNode);
88575
+ return context.processChildrenDataDeclaration(node.children);
88576
+ }
88577
+ *doTraverseChildren() {
88578
+ const node = this.getCurrentNodeAs(_ModalFormNode__WEBPACK_IMPORTED_MODULE_3__.ModalFormNode);
88579
+ yield* node.children;
88580
+ }
88581
+ doConvert(context) {
88582
+ var _verifiablePaths;
88583
+ const node = this.getCurrentNodeAs(_ModalFormNode__WEBPACK_IMPORTED_MODULE_3__.ModalFormNode);
88584
+ const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__.componentMarkupBuilder)("ModalForm");
88585
+ markupBuilder.prop(x => x.width).set(node.width);
88586
+ markupBuilder.prop(x => x.header).set(node.header);
88587
+ markupBuilder.prop(x => x.footerPanel).set(node.footerPanel);
88588
+ markupBuilder.prop(x => x.enabledBackgroundClick).set(node.enabledBackgroundClick);
88589
+ markupBuilder.prop(x => x.doNotValidateFormOnStart).set(node.doNotValidateFormOnStart);
88590
+ markupBuilder.prop(x => x.onAfterOpen).set(context.generateHelperFunctionExpression(node, "onAfterOpen", node.onAfterOpen));
88591
+ markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_2__.getNewBindingPathExpression)(node));
88592
+ context.pushPathsContext();
88593
+ markupBuilder.appendChild(context.convertChildNodes(node.children));
88594
+ const pathsContext = context.popPathsContext();
88595
+ let verifiablePaths = pathsContext === null || pathsContext === void 0 ? void 0 : pathsContext.paths;
88596
+ if (verifiablePaths && node.excludedVerifiablePath) {
88597
+ const excludedVerifiablePath = (0,_getBindingPath__WEBPACK_IMPORTED_MODULE_2__.getNewBindingPathExpression)(node, node.excludedVerifiablePath);
88598
+ verifiablePaths = verifiablePaths.filter(path => !path.isIncludes(excludedVerifiablePath));
88599
+ }
88600
+ markupBuilder.prop(x => x.verifiablePaths).set((_verifiablePaths = verifiablePaths) !== null && _verifiablePaths !== void 0 ? _verifiablePaths : []);
88601
+ return markupBuilder.buildConverterResult();
88602
+ }
88603
+ }
88604
+
88605
+ /***/ }),
88606
+
88607
+ /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalForm/ModalFormNode.ts":
88608
+ /*!*****************************************************************************************************!*\
88609
+ !*** ./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalForm/ModalFormNode.ts ***!
88610
+ \*****************************************************************************************************/
88611
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
88612
+
88613
+ "use strict";
88614
+ __webpack_require__.r(__webpack_exports__);
88615
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
88616
+ /* harmony export */ ModalFormNode: () => (/* binding */ ModalFormNode)
88617
+ /* harmony export */ });
88618
+ /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/initializerDefineProperty */ "./node_modules/@babel/runtime/helpers/initializerDefineProperty.js");
88619
+ /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__);
88620
+ /* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/applyDecoratedDescriptor */ "./node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js");
88621
+ /* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__);
88622
+ /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/initializerWarningHelper */ "./node_modules/@babel/runtime/helpers/initializerWarningHelper.js");
88623
+ /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
88624
+ /* harmony import */ var _CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../CommonNodeProperties/DataBindingMixinNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/DataBindingMixinNode.ts");
88625
+ /* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
88626
+
88627
+
88628
+
88629
+ var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9;
88630
+
88631
+
88632
+ let ModalFormNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("modalform", `Модальное окно со значениями из модели`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalForm sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__.DataBindingScopeMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("header", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `Заголовок`), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("enabledBackgroundClick", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Закрывать окно при клике на фон.`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("doNotValidateFormOnStart", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Отменяет показ валидаций при откртии модального окна`), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("footerPanel", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Задает серый footer`), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.lengthUnit, `Ширина модального окна`), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("onAfterOpen", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.helperFunctionName, "Имя кастомной helpers функции, которая вызовется после открытия модалки"), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("excludedVerifiablePath", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `Путь, который нужно исключить из валидаций`), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)(), _dec(_class = (_class2 = class ModalFormNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.SugarNodeBase {
88633
+ constructor(...args) {
88634
+ super(...args);
88635
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataScope", _descriptor, this);
88636
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "header", _descriptor2, this);
88637
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "enabledBackgroundClick", _descriptor3, this);
88638
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "doNotValidateFormOnStart", _descriptor4, this);
88639
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "footerPanel", _descriptor5, this);
88640
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "width", _descriptor6, this);
88641
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "onAfterOpen", _descriptor7, this);
88642
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "excludedVerifiablePath", _descriptor8, this);
88643
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor9, this);
88644
+ }
88645
+ getOwnPath() {
88646
+ return this.dataScope.getOwnPath();
88647
+ }
88648
+ }, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "dataScope", [_dec2], {
88649
+ configurable: true,
88650
+ enumerable: true,
88651
+ writable: true,
88652
+ initializer: null
88653
+ }), _descriptor2 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "header", [_dec3], {
88654
+ configurable: true,
88655
+ enumerable: true,
88656
+ writable: true,
88657
+ initializer: null
88658
+ }), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "enabledBackgroundClick", [_dec4], {
88659
+ configurable: true,
88660
+ enumerable: true,
88661
+ writable: true,
88662
+ initializer: null
88663
+ }), _descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "doNotValidateFormOnStart", [_dec5], {
88664
+ configurable: true,
88665
+ enumerable: true,
88666
+ writable: true,
88667
+ initializer: null
88668
+ }), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "footerPanel", [_dec6], {
88669
+ configurable: true,
88670
+ enumerable: true,
88671
+ writable: true,
88672
+ initializer: null
88673
+ }), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "width", [_dec7], {
88674
+ configurable: true,
88675
+ enumerable: true,
88676
+ writable: true,
88677
+ initializer: null
88678
+ }), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "onAfterOpen", [_dec8], {
88679
+ configurable: true,
88680
+ enumerable: true,
88681
+ writable: true,
88682
+ initializer: null
88683
+ }), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "excludedVerifiablePath", [_dec9], {
88684
+ configurable: true,
88685
+ enumerable: true,
88686
+ writable: true,
88687
+ initializer: null
88688
+ }), _descriptor9 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec10], {
88689
+ configurable: true,
88690
+ enumerable: true,
88691
+ writable: true,
88692
+ initializer: null
88693
+ }), _class2)) || _class);
88694
+
88695
+ /***/ }),
88696
+
87816
88697
  /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalFormCancel/ModalFormCancelConverter.ts":
87817
88698
  /*!**********************************************************************************************************************!*\
87818
88699
  !*** ./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalFormCancel/ModalFormCancelConverter.ts ***!
@@ -88121,160 +89002,6 @@ let ModalFormLabelNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTE
88121
89002
 
88122
89003
  /***/ }),
88123
89004
 
88124
- /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalForm/ModalFormConverter.ts":
88125
- /*!**********************************************************************************************************!*\
88126
- !*** ./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalForm/ModalFormConverter.ts ***!
88127
- \**********************************************************************************************************/
88128
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
88129
-
88130
- "use strict";
88131
- __webpack_require__.r(__webpack_exports__);
88132
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
88133
- /* harmony export */ ModalFormConverter: () => (/* binding */ ModalFormConverter)
88134
- /* harmony export */ });
88135
- /* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
88136
- /* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
88137
- /* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
88138
- /* harmony import */ var _ModalFormNode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ModalFormNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalForm/ModalFormNode.ts");
88139
-
88140
-
88141
-
88142
-
88143
- class ModalFormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.SugarNodeConverterBase {
88144
- static getAcceptNodeClass() {
88145
- return _ModalFormNode__WEBPACK_IMPORTED_MODULE_3__.ModalFormNode;
88146
- }
88147
- applyVisibilityPathProcessing() {
88148
- return false;
88149
- }
88150
- doBuildDataDeclaration(context) {
88151
- const node = this.getCurrentNodeAs(_ModalFormNode__WEBPACK_IMPORTED_MODULE_3__.ModalFormNode);
88152
- return context.mergeDataDeclaration(context.addPathSectionDeclarationEntry(node));
88153
- }
88154
- buildChildrenDataDeclaration(context) {
88155
- const node = this.getCurrentNodeAs(_ModalFormNode__WEBPACK_IMPORTED_MODULE_3__.ModalFormNode);
88156
- return context.processChildrenDataDeclaration(node.children);
88157
- }
88158
- *doTraverseChildren() {
88159
- const node = this.getCurrentNodeAs(_ModalFormNode__WEBPACK_IMPORTED_MODULE_3__.ModalFormNode);
88160
- yield* node.children;
88161
- }
88162
- doConvert(context) {
88163
- var _verifiablePaths;
88164
- const node = this.getCurrentNodeAs(_ModalFormNode__WEBPACK_IMPORTED_MODULE_3__.ModalFormNode);
88165
- const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__.componentMarkupBuilder)("ModalForm");
88166
- markupBuilder.prop(x => x.width).set(node.width);
88167
- markupBuilder.prop(x => x.header).set(node.header);
88168
- markupBuilder.prop(x => x.footerPanel).set(node.footerPanel);
88169
- markupBuilder.prop(x => x.enabledBackgroundClick).set(node.enabledBackgroundClick);
88170
- markupBuilder.prop(x => x.doNotValidateFormOnStart).set(node.doNotValidateFormOnStart);
88171
- markupBuilder.prop(x => x.onAfterOpen).set(context.generateHelperFunctionExpression(node, "onAfterOpen", node.onAfterOpen));
88172
- markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_2__.getNewBindingPathExpression)(node));
88173
- context.pushPathsContext();
88174
- markupBuilder.appendChild(context.convertChildNodes(node.children));
88175
- const pathsContext = context.popPathsContext();
88176
- let verifiablePaths = pathsContext === null || pathsContext === void 0 ? void 0 : pathsContext.paths;
88177
- if (verifiablePaths && node.excludedVerifiablePath) {
88178
- const excludedVerifiablePath = (0,_getBindingPath__WEBPACK_IMPORTED_MODULE_2__.getNewBindingPathExpression)(node, node.excludedVerifiablePath);
88179
- verifiablePaths = verifiablePaths.filter(path => !path.isIncludes(excludedVerifiablePath));
88180
- }
88181
- markupBuilder.prop(x => x.verifiablePaths).set((_verifiablePaths = verifiablePaths) !== null && _verifiablePaths !== void 0 ? _verifiablePaths : []);
88182
- return markupBuilder.buildConverterResult();
88183
- }
88184
- }
88185
-
88186
- /***/ }),
88187
-
88188
- /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalForm/ModalFormNode.ts":
88189
- /*!*****************************************************************************************************!*\
88190
- !*** ./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalForm/ModalFormNode.ts ***!
88191
- \*****************************************************************************************************/
88192
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
88193
-
88194
- "use strict";
88195
- __webpack_require__.r(__webpack_exports__);
88196
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
88197
- /* harmony export */ ModalFormNode: () => (/* binding */ ModalFormNode)
88198
- /* harmony export */ });
88199
- /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/initializerDefineProperty */ "./node_modules/@babel/runtime/helpers/initializerDefineProperty.js");
88200
- /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__);
88201
- /* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/applyDecoratedDescriptor */ "./node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js");
88202
- /* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__);
88203
- /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/initializerWarningHelper */ "./node_modules/@babel/runtime/helpers/initializerWarningHelper.js");
88204
- /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
88205
- /* harmony import */ var _CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../CommonNodeProperties/DataBindingMixinNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/DataBindingMixinNode.ts");
88206
- /* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
88207
-
88208
-
88209
-
88210
- var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9;
88211
-
88212
-
88213
- let ModalFormNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("modalform", `Модальное окно со значениями из модели`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalForm sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__.DataBindingScopeMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("header", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `Заголовок`), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("enabledBackgroundClick", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Закрывать окно при клике на фон.`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("doNotValidateFormOnStart", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Отменяет показ валидаций при откртии модального окна`), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("footerPanel", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Задает серый footer`), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.lengthUnit, `Ширина модального окна`), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("onAfterOpen", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.helperFunctionName, "Имя кастомной helpers функции, которая вызовется после открытия модалки"), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("excludedVerifiablePath", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `Путь, который нужно исключить из валидаций`), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)(), _dec(_class = (_class2 = class ModalFormNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.SugarNodeBase {
88214
- constructor(...args) {
88215
- super(...args);
88216
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataScope", _descriptor, this);
88217
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "header", _descriptor2, this);
88218
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "enabledBackgroundClick", _descriptor3, this);
88219
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "doNotValidateFormOnStart", _descriptor4, this);
88220
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "footerPanel", _descriptor5, this);
88221
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "width", _descriptor6, this);
88222
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "onAfterOpen", _descriptor7, this);
88223
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "excludedVerifiablePath", _descriptor8, this);
88224
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor9, this);
88225
- }
88226
- getOwnPath() {
88227
- return this.dataScope.getOwnPath();
88228
- }
88229
- }, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "dataScope", [_dec2], {
88230
- configurable: true,
88231
- enumerable: true,
88232
- writable: true,
88233
- initializer: null
88234
- }), _descriptor2 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "header", [_dec3], {
88235
- configurable: true,
88236
- enumerable: true,
88237
- writable: true,
88238
- initializer: null
88239
- }), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "enabledBackgroundClick", [_dec4], {
88240
- configurable: true,
88241
- enumerable: true,
88242
- writable: true,
88243
- initializer: null
88244
- }), _descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "doNotValidateFormOnStart", [_dec5], {
88245
- configurable: true,
88246
- enumerable: true,
88247
- writable: true,
88248
- initializer: null
88249
- }), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "footerPanel", [_dec6], {
88250
- configurable: true,
88251
- enumerable: true,
88252
- writable: true,
88253
- initializer: null
88254
- }), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "width", [_dec7], {
88255
- configurable: true,
88256
- enumerable: true,
88257
- writable: true,
88258
- initializer: null
88259
- }), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "onAfterOpen", [_dec8], {
88260
- configurable: true,
88261
- enumerable: true,
88262
- writable: true,
88263
- initializer: null
88264
- }), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "excludedVerifiablePath", [_dec9], {
88265
- configurable: true,
88266
- enumerable: true,
88267
- writable: true,
88268
- initializer: null
88269
- }), _descriptor9 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec10], {
88270
- configurable: true,
88271
- enumerable: true,
88272
- writable: true,
88273
- initializer: null
88274
- }), _class2)) || _class);
88275
-
88276
- /***/ }),
88277
-
88278
89005
  /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/AddRowButton/AddRowButtonConverter.ts":
88279
89006
  /*!************************************************************************************************************************!*\
88280
89007
  !*** ./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/AddRowButton/AddRowButtonConverter.ts ***!
@@ -96442,267 +97169,6 @@ let FiasNode = (_dec36 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE
96442
97169
 
96443
97170
  /***/ }),
96444
97171
 
96445
- /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoaderConverter.ts":
96446
- /*!*******************************************************************************************************************!*\
96447
- !*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoaderConverter.ts ***!
96448
- \*******************************************************************************************************************/
96449
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
96450
-
96451
- "use strict";
96452
- __webpack_require__.r(__webpack_exports__);
96453
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
96454
- /* harmony export */ FileLoaderConverter: () => (/* binding */ FileLoaderConverter)
96455
- /* harmony export */ });
96456
- /* harmony import */ var _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../common/XmlParser/XmlNode */ "./Generator/src/common/XmlParser/XmlNode.ts");
96457
- /* harmony import */ var _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../validationGenerator/Nodes/TypeNode */ "./Generator/src/generators/validationGenerator/Nodes/TypeNode.ts");
96458
- /* harmony import */ var _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../DataDeclarationGenerator/DataDeclarationGenerationContext */ "./Generator/src/generators/DataDeclarationGenerator/DataDeclarationGenerationContext.ts");
96459
- /* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
96460
- /* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
96461
- /* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
96462
- /* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
96463
- /* harmony import */ var _Common_PathConstants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../../../../Common/PathConstants */ "./Common/PathConstants.ts");
96464
- /* harmony import */ var _FileLoader_AddButtonNode__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./FileLoader/AddButtonNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoader/AddButtonNode.ts");
96465
- /* harmony import */ var _FileLoader_ReplaceButtonNode__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./FileLoader/ReplaceButtonNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoader/ReplaceButtonNode.ts");
96466
- /* harmony import */ var _FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./FileLoaderNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoaderNode.ts");
96467
-
96468
-
96469
-
96470
-
96471
-
96472
-
96473
-
96474
-
96475
-
96476
-
96477
-
96478
- class FileLoaderConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_4__.SugarNodeConverterBase {
96479
- static getAcceptNodeClass() {
96480
- return _FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode;
96481
- }
96482
- *getAttachmentPaths(context) {
96483
- const node = this.getCurrentNodeAs(_FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode);
96484
- const multipleNode = !node.single;
96485
- if (multipleNode) {
96486
- yield node.getFullPath().joinWith(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.PathTokens.each).joinWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_7__.AttachmentInfoPath);
96487
- } else {
96488
- yield node.getFullPath().joinWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_7__.AttachmentInfoPath);
96489
- }
96490
- }
96491
- doBuildNodeValidations(validationGenerator, context) {
96492
- const node = this.getCurrentNodeAs(_FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode);
96493
- const multipleNode = !node.single;
96494
- validationGenerator.processValidations(this.getResolvedBindingPath(node), node.validationInfo.optional, validationGenerator.getTypeNode(node.validationInfo), undefined, node.validationInfo.emptydescription, {
96495
- multiple: multipleNode
96496
- });
96497
- }
96498
- doBuildDataDeclaration(context) {
96499
- const node = this.getCurrentNodeAs(_FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode);
96500
- return context.mergeDataDeclaration(context.addPathSectionDeclarationEntry(node), context.addVisibilityPathDeclEntryNew(node), this.addAttachmentPathDeclEntry(context, node));
96501
- }
96502
- buildChildrenDataDeclaration() {
96503
- return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_2__.emptyDataDeclarationCollection;
96504
- }
96505
- *doTraverseChildren() {
96506
- // no children
96507
- }
96508
- doConvert(context) {
96509
- const node = this.getCurrentNodeAs(_FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode);
96510
- const multipleNode = !node.single;
96511
- if (multipleNode) {
96512
- this.ensurePathExists(node, node.path);
96513
- }
96514
- const attachmentType = this.selectAttachmentTypeNode(context);
96515
- const mb = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("FileLoader");
96516
- mb.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_5__.getNewBindingPathExpression)(node));
96517
- mb.prop(x => x.multiple).set(multipleNode);
96518
- mb.prop(x => x.count).set(attachmentType.count);
96519
- mb.prop(x => x.countExceededDescription).set(attachmentType.countExceededDescription);
96520
- // @ts-ignore
96521
- mb.prop(x => x.extentions).set(attachmentType.extentions);
96522
- mb.prop(x => x.maxSize).set(attachmentType.maxSize);
96523
- mb.prop(x => x.AttachmentTypeHasCountOne).set(attachmentType.count !== 1);
96524
- // @ts-ignore Такого свойства нет, но я сегодня устал
96525
- // eslint-disable-next-line @typescript-eslint/no-unsafe-return
96526
- mb.prop(x => x.totalSize).set(attachmentType.totalSize);
96527
- mb.prop(x => x.width).set(node.width);
96528
- if (node.viewFile) {
96529
- const viewFileBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("FileLoader", "FileLoader.ViewFile");
96530
- if (node.viewFile && node.viewFile.removeButton) {
96531
- var _node$viewFile;
96532
- const removeButtonBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("FileLoader", "FileLoader.RemoveButton");
96533
- removeButtonBuilder.appendChildren(this.convertChildren(context, (_node$viewFile = node.viewFile) === null || _node$viewFile === void 0 ? void 0 : _node$viewFile.removeButton.children));
96534
- viewFileBuilder.appendChild(removeButtonBuilder);
96535
- }
96536
- mb.appendChild(viewFileBuilder);
96537
- }
96538
- if (node.menu) {
96539
- const fileMenuBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("FileLoader", "FileLoader.Menu");
96540
- if (node.menu.addLine) {
96541
- const addLineBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("FileLoader", "FileLoader.AddLine");
96542
- addLineBuilder.appendChildren(this.convertChildren(context, node.menu.addLine.children));
96543
- fileMenuBuilder.appendChild(addLineBuilder);
96544
- }
96545
- if (node.menu.replaceLine) {
96546
- const replaceLineBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("FileLoader", "FileLoader.ReplaceLine");
96547
- replaceLineBuilder.appendChildren(this.convertChildren(context, node.menu.replaceLine.children));
96548
- fileMenuBuilder.appendChild(replaceLineBuilder);
96549
- }
96550
- mb.appendChild(fileMenuBuilder);
96551
- }
96552
- return mb.buildConverterResult();
96553
- }
96554
- addAttachmentPathDeclEntry(context, node) {
96555
- var _context$getTypeNode;
96556
- const attachmentType = (_context$getTypeNode = context.getTypeNode(node)) === null || _context$getTypeNode === void 0 ? void 0 : _context$getTypeNode.children.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.AttachmentsTypeCheckNode));
96557
- const fileLoaderPath = (0,_getBindingPath__WEBPACK_IMPORTED_MODULE_5__.getNewBindingPathExpression)(node);
96558
- const additionalPath = node.single ? (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.emptyModelPath)().joinWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_7__.AttachmentInfoPath) : (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.emptyModelPath)().joinWith(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.PathTokens.each).joinWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_7__.AttachmentInfoPath);
96559
- return context.mergeDataDeclaration({
96560
- [fileLoaderPath.toLegacyPath()]: {
96561
- fnsConvertFileExtentions: attachmentType === null || attachmentType === void 0 ? void 0 : attachmentType.fnsConvertFileExtentions
96562
- }
96563
- }, context.addChildPathSectionDeclarationEntry(node, additionalPath, false));
96564
- }
96565
- convertChildren(context, nodes = []) {
96566
- return nodes.map(node => {
96567
- if (node instanceof _FileLoader_AddButtonNode__WEBPACK_IMPORTED_MODULE_8__.AddButtonNode) {
96568
- const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("FileLoader", "FileLoader.AddButton");
96569
- markupBuilder.appendChild(context.convertChildNodes(node.children));
96570
- return markupBuilder.buildConverterResult();
96571
- }
96572
- if (node instanceof _FileLoader_ReplaceButtonNode__WEBPACK_IMPORTED_MODULE_9__.ReplaceButtonNode) {
96573
- const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("FileLoader", "FileLoader.ReplaceButton");
96574
- markupBuilder.appendChild(context.convertChildNodes(node.children));
96575
- return markupBuilder.buildConverterResult();
96576
- }
96577
- return context.convertChildNodes([node]);
96578
- });
96579
- }
96580
-
96581
- // @ts-expect-error NOTE: метoд оставлен т.к. понадобится при рефакторнге FileLoader
96582
- isMultipleFilesLoadingAllowed(context) {
96583
- const attachmentType = this.selectAttachmentTypeNode(context);
96584
- const singleFileLoadingRequired = attachmentType.count === 1;
96585
- return !singleFileLoadingRequired;
96586
- }
96587
- selectAttachmentTypeNode(context) {
96588
- var _context$getTypeNode2;
96589
- const node = this.getCurrentNodeAs(_FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode);
96590
- const attachmentTypeNode = (_context$getTypeNode2 = context.getTypeNode(node)) === null || _context$getTypeNode2 === void 0 ? void 0 : _context$getTypeNode2.children.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.AttachmentsTypeCheckNode));
96591
- this.ensureAttachmentTypeDefined(attachmentTypeNode);
96592
- return attachmentTypeNode;
96593
- }
96594
- ensureAttachmentTypeDefined(attachmentTypeNode) {
96595
- const node = this.getCurrentNodeAs(_FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode);
96596
- if (attachmentTypeNode == undefined) {
96597
- throw new _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_0__.SugarAttributeReadError(`Failed generate fileloader without 'attachments' type node`, node, "type");
96598
- }
96599
- }
96600
- }
96601
-
96602
- /***/ }),
96603
-
96604
- /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoaderNode.ts":
96605
- /*!**************************************************************************************************************!*\
96606
- !*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoaderNode.ts ***!
96607
- \**************************************************************************************************************/
96608
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
96609
-
96610
- "use strict";
96611
- __webpack_require__.r(__webpack_exports__);
96612
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
96613
- /* harmony export */ FileLoaderNode: () => (/* binding */ FileLoaderNode)
96614
- /* harmony export */ });
96615
- /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/initializerDefineProperty */ "./node_modules/@babel/runtime/helpers/initializerDefineProperty.js");
96616
- /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__);
96617
- /* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/applyDecoratedDescriptor */ "./node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js");
96618
- /* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__);
96619
- /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/initializerWarningHelper */ "./node_modules/@babel/runtime/helpers/initializerWarningHelper.js");
96620
- /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
96621
- /* harmony import */ var _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../validationGenerator/Nodes/TypeNode */ "./Generator/src/generators/validationGenerator/Nodes/TypeNode.ts");
96622
- /* harmony import */ var _CommonNodeProperties_ValidationInfoNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../CommonNodeProperties/ValidationInfoNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/ValidationInfoNode.ts");
96623
- /* harmony import */ var _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../Serializer/SugarNodeWithLegacyVisibility */ "./Generator/src/generators/markupGenerator/Serializer/SugarNodeWithLegacyVisibility.ts");
96624
- /* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
96625
- /* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
96626
- /* harmony import */ var _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../Serializer/DeprecationReason */ "./Generator/src/generators/markupGenerator/Serializer/DeprecationReason.ts");
96627
- /* harmony import */ var _FileLoader_MenuNode__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./FileLoader/MenuNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoader/MenuNode.ts");
96628
- /* harmony import */ var _FileLoader_ViewFileNode__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./FileLoader/ViewFileNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoader/ViewFileNode.ts");
96629
-
96630
-
96631
-
96632
- var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9;
96633
-
96634
-
96635
-
96636
-
96637
-
96638
-
96639
-
96640
-
96641
- let FileLoaderNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.sugarNode)("fileloader", `Загрузка файлов в форму`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrMixin)(_CommonNodeProperties_ValidationInfoNode__WEBPACK_IMPORTED_MODULE_4__.ValidationInfoNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("type", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.typeName, "Тип для валидации значений"), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string, `Относительный путь по которому будут храниться аттачменты. Указывается относительно каталога sugar`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, `Ширина контрола`), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("single", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean.default(false), `Подразумевает возможность загрузить только 1 файл`), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("multiple", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_8__.DeprecationReason.Removed), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("viewfile", [_FileLoader_ViewFileNode__WEBPACK_IMPORTED_MODULE_10__.ViewFileNode]), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("menu", [_FileLoader_MenuNode__WEBPACK_IMPORTED_MODULE_9__.MenuNode]), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("type", [_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_3__.TypeNode]), _dec(_class = (_class2 = class FileLoaderNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_5__.SugarNodeWithLegacyVisibility {
96642
- constructor(...args) {
96643
- super(...args);
96644
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "validationInfo", _descriptor, this);
96645
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "type", _descriptor2, this);
96646
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "path", _descriptor3, this);
96647
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "width", _descriptor4, this);
96648
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "single", _descriptor5, this);
96649
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "multiple", _descriptor6, this);
96650
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "viewFile", _descriptor7, this);
96651
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "menu", _descriptor8, this);
96652
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "anonymousType", _descriptor9, this);
96653
- }
96654
- getOwnPath() {
96655
- return this.path != undefined ? (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_7__.createFromMask)(this.path, "auto", _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_7__.PathTokens.each) : undefined;
96656
- }
96657
- }, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "validationInfo", [_dec2], {
96658
- configurable: true,
96659
- enumerable: true,
96660
- writable: true,
96661
- initializer: null
96662
- }), _descriptor2 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "type", [_dec3], {
96663
- configurable: true,
96664
- enumerable: true,
96665
- writable: true,
96666
- initializer: null
96667
- }), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "path", [_dec4], {
96668
- configurable: true,
96669
- enumerable: true,
96670
- writable: true,
96671
- initializer: null
96672
- }), _descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "width", [_dec5], {
96673
- configurable: true,
96674
- enumerable: true,
96675
- writable: true,
96676
- initializer: null
96677
- }), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "single", [_dec6], {
96678
- configurable: true,
96679
- enumerable: true,
96680
- writable: true,
96681
- initializer: null
96682
- }), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "multiple", [_dec7], {
96683
- configurable: true,
96684
- enumerable: true,
96685
- writable: true,
96686
- initializer: null
96687
- }), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "viewFile", [_dec8], {
96688
- configurable: true,
96689
- enumerable: true,
96690
- writable: true,
96691
- initializer: null
96692
- }), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "menu", [_dec9], {
96693
- configurable: true,
96694
- enumerable: true,
96695
- writable: true,
96696
- initializer: null
96697
- }), _descriptor9 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "anonymousType", [_dec10], {
96698
- configurable: true,
96699
- enumerable: true,
96700
- writable: true,
96701
- initializer: null
96702
- }), _class2)) || _class);
96703
-
96704
- /***/ }),
96705
-
96706
97172
  /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoader/AddButtonNode.ts":
96707
97173
  /*!************************************************************************************************************************!*\
96708
97174
  !*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoader/AddButtonNode.ts ***!
@@ -96986,6 +97452,267 @@ let ViewFileNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODU
96986
97452
 
96987
97453
  /***/ }),
96988
97454
 
97455
+ /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoaderConverter.ts":
97456
+ /*!*******************************************************************************************************************!*\
97457
+ !*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoaderConverter.ts ***!
97458
+ \*******************************************************************************************************************/
97459
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
97460
+
97461
+ "use strict";
97462
+ __webpack_require__.r(__webpack_exports__);
97463
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
97464
+ /* harmony export */ FileLoaderConverter: () => (/* binding */ FileLoaderConverter)
97465
+ /* harmony export */ });
97466
+ /* harmony import */ var _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../common/XmlParser/XmlNode */ "./Generator/src/common/XmlParser/XmlNode.ts");
97467
+ /* harmony import */ var _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../validationGenerator/Nodes/TypeNode */ "./Generator/src/generators/validationGenerator/Nodes/TypeNode.ts");
97468
+ /* harmony import */ var _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../DataDeclarationGenerator/DataDeclarationGenerationContext */ "./Generator/src/generators/DataDeclarationGenerator/DataDeclarationGenerationContext.ts");
97469
+ /* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
97470
+ /* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
97471
+ /* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
97472
+ /* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
97473
+ /* harmony import */ var _Common_PathConstants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../../../../Common/PathConstants */ "./Common/PathConstants.ts");
97474
+ /* harmony import */ var _FileLoader_AddButtonNode__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./FileLoader/AddButtonNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoader/AddButtonNode.ts");
97475
+ /* harmony import */ var _FileLoader_ReplaceButtonNode__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./FileLoader/ReplaceButtonNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoader/ReplaceButtonNode.ts");
97476
+ /* harmony import */ var _FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./FileLoaderNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoaderNode.ts");
97477
+
97478
+
97479
+
97480
+
97481
+
97482
+
97483
+
97484
+
97485
+
97486
+
97487
+
97488
+ class FileLoaderConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_4__.SugarNodeConverterBase {
97489
+ static getAcceptNodeClass() {
97490
+ return _FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode;
97491
+ }
97492
+ *getAttachmentPaths(context) {
97493
+ const node = this.getCurrentNodeAs(_FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode);
97494
+ const multipleNode = !node.single;
97495
+ if (multipleNode) {
97496
+ yield node.getFullPath().joinWith(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.PathTokens.each).joinWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_7__.AttachmentInfoPath);
97497
+ } else {
97498
+ yield node.getFullPath().joinWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_7__.AttachmentInfoPath);
97499
+ }
97500
+ }
97501
+ doBuildNodeValidations(validationGenerator, context) {
97502
+ const node = this.getCurrentNodeAs(_FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode);
97503
+ const multipleNode = !node.single;
97504
+ validationGenerator.processValidations(this.getResolvedBindingPath(node), node.validationInfo.optional, validationGenerator.getTypeNode(node.validationInfo), undefined, node.validationInfo.emptydescription, {
97505
+ multiple: multipleNode
97506
+ });
97507
+ }
97508
+ doBuildDataDeclaration(context) {
97509
+ const node = this.getCurrentNodeAs(_FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode);
97510
+ return context.mergeDataDeclaration(context.addPathSectionDeclarationEntry(node), context.addVisibilityPathDeclEntryNew(node), this.addAttachmentPathDeclEntry(context, node));
97511
+ }
97512
+ buildChildrenDataDeclaration() {
97513
+ return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_2__.emptyDataDeclarationCollection;
97514
+ }
97515
+ *doTraverseChildren() {
97516
+ // no children
97517
+ }
97518
+ doConvert(context) {
97519
+ const node = this.getCurrentNodeAs(_FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode);
97520
+ const multipleNode = !node.single;
97521
+ if (multipleNode) {
97522
+ this.ensurePathExists(node, node.path);
97523
+ }
97524
+ const attachmentType = this.selectAttachmentTypeNode(context);
97525
+ const mb = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("FileLoader");
97526
+ mb.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_5__.getNewBindingPathExpression)(node));
97527
+ mb.prop(x => x.multiple).set(multipleNode);
97528
+ mb.prop(x => x.count).set(attachmentType.count);
97529
+ mb.prop(x => x.countExceededDescription).set(attachmentType.countExceededDescription);
97530
+ // @ts-ignore
97531
+ mb.prop(x => x.extentions).set(attachmentType.extentions);
97532
+ mb.prop(x => x.maxSize).set(attachmentType.maxSize);
97533
+ mb.prop(x => x.AttachmentTypeHasCountOne).set(attachmentType.count !== 1);
97534
+ // @ts-ignore Такого свойства нет, но я сегодня устал
97535
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-return
97536
+ mb.prop(x => x.totalSize).set(attachmentType.totalSize);
97537
+ mb.prop(x => x.width).set(node.width);
97538
+ if (node.viewFile) {
97539
+ const viewFileBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("FileLoader", "FileLoader.ViewFile");
97540
+ if (node.viewFile && node.viewFile.removeButton) {
97541
+ var _node$viewFile;
97542
+ const removeButtonBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("FileLoader", "FileLoader.RemoveButton");
97543
+ removeButtonBuilder.appendChildren(this.convertChildren(context, (_node$viewFile = node.viewFile) === null || _node$viewFile === void 0 ? void 0 : _node$viewFile.removeButton.children));
97544
+ viewFileBuilder.appendChild(removeButtonBuilder);
97545
+ }
97546
+ mb.appendChild(viewFileBuilder);
97547
+ }
97548
+ if (node.menu) {
97549
+ const fileMenuBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("FileLoader", "FileLoader.Menu");
97550
+ if (node.menu.addLine) {
97551
+ const addLineBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("FileLoader", "FileLoader.AddLine");
97552
+ addLineBuilder.appendChildren(this.convertChildren(context, node.menu.addLine.children));
97553
+ fileMenuBuilder.appendChild(addLineBuilder);
97554
+ }
97555
+ if (node.menu.replaceLine) {
97556
+ const replaceLineBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("FileLoader", "FileLoader.ReplaceLine");
97557
+ replaceLineBuilder.appendChildren(this.convertChildren(context, node.menu.replaceLine.children));
97558
+ fileMenuBuilder.appendChild(replaceLineBuilder);
97559
+ }
97560
+ mb.appendChild(fileMenuBuilder);
97561
+ }
97562
+ return mb.buildConverterResult();
97563
+ }
97564
+ addAttachmentPathDeclEntry(context, node) {
97565
+ var _context$getTypeNode;
97566
+ const attachmentType = (_context$getTypeNode = context.getTypeNode(node)) === null || _context$getTypeNode === void 0 ? void 0 : _context$getTypeNode.children.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.AttachmentsTypeCheckNode));
97567
+ const fileLoaderPath = (0,_getBindingPath__WEBPACK_IMPORTED_MODULE_5__.getNewBindingPathExpression)(node);
97568
+ const additionalPath = node.single ? (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.emptyModelPath)().joinWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_7__.AttachmentInfoPath) : (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.emptyModelPath)().joinWith(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.PathTokens.each).joinWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_7__.AttachmentInfoPath);
97569
+ return context.mergeDataDeclaration({
97570
+ [fileLoaderPath.toLegacyPath()]: {
97571
+ fnsConvertFileExtentions: attachmentType === null || attachmentType === void 0 ? void 0 : attachmentType.fnsConvertFileExtentions
97572
+ }
97573
+ }, context.addChildPathSectionDeclarationEntry(node, additionalPath, false));
97574
+ }
97575
+ convertChildren(context, nodes = []) {
97576
+ return nodes.map(node => {
97577
+ if (node instanceof _FileLoader_AddButtonNode__WEBPACK_IMPORTED_MODULE_8__.AddButtonNode) {
97578
+ const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("FileLoader", "FileLoader.AddButton");
97579
+ markupBuilder.appendChild(context.convertChildNodes(node.children));
97580
+ return markupBuilder.buildConverterResult();
97581
+ }
97582
+ if (node instanceof _FileLoader_ReplaceButtonNode__WEBPACK_IMPORTED_MODULE_9__.ReplaceButtonNode) {
97583
+ const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("FileLoader", "FileLoader.ReplaceButton");
97584
+ markupBuilder.appendChild(context.convertChildNodes(node.children));
97585
+ return markupBuilder.buildConverterResult();
97586
+ }
97587
+ return context.convertChildNodes([node]);
97588
+ });
97589
+ }
97590
+
97591
+ // @ts-expect-error NOTE: метoд оставлен т.к. понадобится при рефакторнге FileLoader
97592
+ isMultipleFilesLoadingAllowed(context) {
97593
+ const attachmentType = this.selectAttachmentTypeNode(context);
97594
+ const singleFileLoadingRequired = attachmentType.count === 1;
97595
+ return !singleFileLoadingRequired;
97596
+ }
97597
+ selectAttachmentTypeNode(context) {
97598
+ var _context$getTypeNode2;
97599
+ const node = this.getCurrentNodeAs(_FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode);
97600
+ const attachmentTypeNode = (_context$getTypeNode2 = context.getTypeNode(node)) === null || _context$getTypeNode2 === void 0 ? void 0 : _context$getTypeNode2.children.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.AttachmentsTypeCheckNode));
97601
+ this.ensureAttachmentTypeDefined(attachmentTypeNode);
97602
+ return attachmentTypeNode;
97603
+ }
97604
+ ensureAttachmentTypeDefined(attachmentTypeNode) {
97605
+ const node = this.getCurrentNodeAs(_FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode);
97606
+ if (attachmentTypeNode == undefined) {
97607
+ throw new _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_0__.SugarAttributeReadError(`Failed generate fileloader without 'attachments' type node`, node, "type");
97608
+ }
97609
+ }
97610
+ }
97611
+
97612
+ /***/ }),
97613
+
97614
+ /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoaderNode.ts":
97615
+ /*!**************************************************************************************************************!*\
97616
+ !*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoaderNode.ts ***!
97617
+ \**************************************************************************************************************/
97618
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
97619
+
97620
+ "use strict";
97621
+ __webpack_require__.r(__webpack_exports__);
97622
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
97623
+ /* harmony export */ FileLoaderNode: () => (/* binding */ FileLoaderNode)
97624
+ /* harmony export */ });
97625
+ /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/initializerDefineProperty */ "./node_modules/@babel/runtime/helpers/initializerDefineProperty.js");
97626
+ /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__);
97627
+ /* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/applyDecoratedDescriptor */ "./node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js");
97628
+ /* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__);
97629
+ /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/initializerWarningHelper */ "./node_modules/@babel/runtime/helpers/initializerWarningHelper.js");
97630
+ /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
97631
+ /* harmony import */ var _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../validationGenerator/Nodes/TypeNode */ "./Generator/src/generators/validationGenerator/Nodes/TypeNode.ts");
97632
+ /* harmony import */ var _CommonNodeProperties_ValidationInfoNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../CommonNodeProperties/ValidationInfoNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/ValidationInfoNode.ts");
97633
+ /* harmony import */ var _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../Serializer/SugarNodeWithLegacyVisibility */ "./Generator/src/generators/markupGenerator/Serializer/SugarNodeWithLegacyVisibility.ts");
97634
+ /* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
97635
+ /* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
97636
+ /* harmony import */ var _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../Serializer/DeprecationReason */ "./Generator/src/generators/markupGenerator/Serializer/DeprecationReason.ts");
97637
+ /* harmony import */ var _FileLoader_MenuNode__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./FileLoader/MenuNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoader/MenuNode.ts");
97638
+ /* harmony import */ var _FileLoader_ViewFileNode__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./FileLoader/ViewFileNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoader/ViewFileNode.ts");
97639
+
97640
+
97641
+
97642
+ var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9;
97643
+
97644
+
97645
+
97646
+
97647
+
97648
+
97649
+
97650
+
97651
+ let FileLoaderNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.sugarNode)("fileloader", `Загрузка файлов в форму`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrMixin)(_CommonNodeProperties_ValidationInfoNode__WEBPACK_IMPORTED_MODULE_4__.ValidationInfoNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("type", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.typeName, "Тип для валидации значений"), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string, `Относительный путь по которому будут храниться аттачменты. Указывается относительно каталога sugar`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, `Ширина контрола`), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("single", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean.default(false), `Подразумевает возможность загрузить только 1 файл`), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("multiple", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_8__.DeprecationReason.Removed), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("viewfile", [_FileLoader_ViewFileNode__WEBPACK_IMPORTED_MODULE_10__.ViewFileNode]), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("menu", [_FileLoader_MenuNode__WEBPACK_IMPORTED_MODULE_9__.MenuNode]), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("type", [_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_3__.TypeNode]), _dec(_class = (_class2 = class FileLoaderNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_5__.SugarNodeWithLegacyVisibility {
97652
+ constructor(...args) {
97653
+ super(...args);
97654
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "validationInfo", _descriptor, this);
97655
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "type", _descriptor2, this);
97656
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "path", _descriptor3, this);
97657
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "width", _descriptor4, this);
97658
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "single", _descriptor5, this);
97659
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "multiple", _descriptor6, this);
97660
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "viewFile", _descriptor7, this);
97661
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "menu", _descriptor8, this);
97662
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "anonymousType", _descriptor9, this);
97663
+ }
97664
+ getOwnPath() {
97665
+ return this.path != undefined ? (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_7__.createFromMask)(this.path, "auto", _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_7__.PathTokens.each) : undefined;
97666
+ }
97667
+ }, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "validationInfo", [_dec2], {
97668
+ configurable: true,
97669
+ enumerable: true,
97670
+ writable: true,
97671
+ initializer: null
97672
+ }), _descriptor2 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "type", [_dec3], {
97673
+ configurable: true,
97674
+ enumerable: true,
97675
+ writable: true,
97676
+ initializer: null
97677
+ }), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "path", [_dec4], {
97678
+ configurable: true,
97679
+ enumerable: true,
97680
+ writable: true,
97681
+ initializer: null
97682
+ }), _descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "width", [_dec5], {
97683
+ configurable: true,
97684
+ enumerable: true,
97685
+ writable: true,
97686
+ initializer: null
97687
+ }), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "single", [_dec6], {
97688
+ configurable: true,
97689
+ enumerable: true,
97690
+ writable: true,
97691
+ initializer: null
97692
+ }), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "multiple", [_dec7], {
97693
+ configurable: true,
97694
+ enumerable: true,
97695
+ writable: true,
97696
+ initializer: null
97697
+ }), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "viewFile", [_dec8], {
97698
+ configurable: true,
97699
+ enumerable: true,
97700
+ writable: true,
97701
+ initializer: null
97702
+ }), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "menu", [_dec9], {
97703
+ configurable: true,
97704
+ enumerable: true,
97705
+ writable: true,
97706
+ initializer: null
97707
+ }), _descriptor9 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "anonymousType", [_dec10], {
97708
+ configurable: true,
97709
+ enumerable: true,
97710
+ writable: true,
97711
+ initializer: null
97712
+ }), _class2)) || _class);
97713
+
97714
+ /***/ }),
97715
+
96989
97716
  /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/INN/INNConverter.ts":
96990
97717
  /*!*****************************************************************************************************!*\
96991
97718
  !*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/INN/INNConverter.ts ***!
@@ -99120,400 +99847,6 @@ let RelativesComboBoxNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPO
99120
99847
 
99121
99848
  /***/ }),
99122
99849
 
99123
- /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectAllCheckbox/SelectAllCheckboxConverter.ts":
99124
- /*!*********************************************************************************************************************************!*\
99125
- !*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectAllCheckbox/SelectAllCheckboxConverter.ts ***!
99126
- \*********************************************************************************************************************************/
99127
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
99128
-
99129
- "use strict";
99130
- __webpack_require__.r(__webpack_exports__);
99131
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
99132
- /* harmony export */ SelectAllCheckboxConverter: () => (/* binding */ SelectAllCheckboxConverter)
99133
- /* harmony export */ });
99134
- /* harmony import */ var _Engine_src_Controls_FastSelectAllCheckboxesHelper__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../Engine/src/Controls/FastSelectAllCheckboxesHelper */ "./Engine/src/Controls/FastSelectAllCheckboxesHelper.ts");
99135
- /* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
99136
- /* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
99137
- /* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
99138
- /* harmony import */ var _SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../SugarNodes/SugarNodeUtils */ "./Generator/src/generators/markupGenerator/SugarNodes/SugarNodeUtils.ts");
99139
- /* harmony import */ var _ServerSideFLangNormalization_FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../ServerSideFLangNormalization/FLang/FLangCodeDom */ "./Generator/src/generators/ServerSideFLangNormalization/FLang/FLangCodeDom.ts");
99140
- /* harmony import */ var _SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./SelectAllCheckboxNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectAllCheckbox/SelectAllCheckboxNode.ts");
99141
-
99142
-
99143
-
99144
-
99145
-
99146
-
99147
-
99148
- class SelectAllCheckboxConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.SugarNodeConverterBase {
99149
- static getAcceptNodeClass() {
99150
- return _SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_6__.SelectAllCheckboxNode;
99151
- }
99152
- get nodePaths() {
99153
- const node = this.getCurrentNodeAs(_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_6__.SelectAllCheckboxNode);
99154
- return [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_3__.getNewBindingPathExpression)(node)];
99155
- }
99156
- doBuildDataDeclaration(context) {
99157
- return {};
99158
- }
99159
- doBuildNormalizeRules(builder, formSchemaRng) {
99160
- var _node$pathToChecked;
99161
- const node = this.getCurrentNodeAs(_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_6__.SelectAllCheckboxNode);
99162
- const pathToCheckedArray = (0,_Engine_src_Controls_FastSelectAllCheckboxesHelper__WEBPACK_IMPORTED_MODULE_0__.buildDirtyPathForMultiplicityAndCheckboxPath)(node.getFullPath(), (_node$pathToChecked = node.pathToChecked) !== null && _node$pathToChecked !== void 0 ? _node$pathToChecked : "checked");
99163
- return node.dirtyModeInstancesCount != undefined ? [new _ServerSideFLangNormalization_FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_5__.SetStatement(new _ServerSideFLangNormalization_FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_5__.ValueReferenceExpression(pathToCheckedArray, "value"), new _ServerSideFLangNormalization_FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_5__.NullLiteralExpression())] : [];
99164
- }
99165
- buildChildrenDataDeclaration(context) {
99166
- const node = this.getCurrentNodeAs(_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_6__.SelectAllCheckboxNode);
99167
- return context.processChildrenDataDeclaration(node.children);
99168
- }
99169
- *doTraverseChildren() {
99170
- const node = this.getCurrentNodeAs(_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_6__.SelectAllCheckboxNode);
99171
- yield* node.children;
99172
- }
99173
- doConvert(context) {
99174
- var _node$filteredUniqKey, _node$uncheckedValue, _node$checkedValue;
99175
- const node = this.getCurrentNodeAs(_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_6__.SelectAllCheckboxNode);
99176
- const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("SelectAllCheckbox");
99177
- markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_3__.getNewBindingPathExpression)(node));
99178
- markupBuilder.prop(x => x.pathToChecked).set(node.getPathToChecked());
99179
- markupBuilder.prop("data-tid").set(node.tid);
99180
- markupBuilder.prop(x => x.filteredUniqKey).set((_node$filteredUniqKey = node.filteredUniqKey) !== null && _node$filteredUniqKey !== void 0 ? _node$filteredUniqKey : "default");
99181
- markupBuilder.prop(x => x.uncheckedValue).set((_node$uncheckedValue = node.uncheckedValue) !== null && _node$uncheckedValue !== void 0 ? _node$uncheckedValue : "false");
99182
- markupBuilder.prop(x => x.checkedValue).set((_node$checkedValue = node.checkedValue) !== null && _node$checkedValue !== void 0 ? _node$checkedValue : "true");
99183
- markupBuilder.prop(x => x.dirtyModeInstancesCount).set(node.dirtyModeInstancesCount);
99184
- if (node.disabled2 != undefined) {
99185
- markupBuilder.prop(x => x.disabled2).set((0,_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_4__.buildExpressionPropValue)(node.disabled2));
99186
- if (this.getLegacyNode().getParent() != undefined) {
99187
- markupBuilder.prop(x => x.evaluatorsContextPath).set(this.getEvaluatorsContextPathExpression());
99188
- }
99189
- }
99190
- markupBuilder.appendChild(context.convertChildNodes(node.children));
99191
- return markupBuilder.buildConverterResult();
99192
- }
99193
- }
99194
-
99195
- /***/ }),
99196
-
99197
- /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectAllCheckbox/SelectAllCheckboxNode.ts":
99198
- /*!****************************************************************************************************************************!*\
99199
- !*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectAllCheckbox/SelectAllCheckboxNode.ts ***!
99200
- \****************************************************************************************************************************/
99201
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
99202
-
99203
- "use strict";
99204
- __webpack_require__.r(__webpack_exports__);
99205
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
99206
- /* harmony export */ SelectAllCheckboxNode: () => (/* binding */ SelectAllCheckboxNode)
99207
- /* harmony export */ });
99208
- /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/initializerDefineProperty */ "./node_modules/@babel/runtime/helpers/initializerDefineProperty.js");
99209
- /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__);
99210
- /* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/applyDecoratedDescriptor */ "./node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js");
99211
- /* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__);
99212
- /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/initializerWarningHelper */ "./node_modules/@babel/runtime/helpers/initializerWarningHelper.js");
99213
- /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
99214
- /* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
99215
- /* harmony import */ var _CommonNodeProperties_TooltipProperties_TooltipSettingsNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../CommonNodeProperties/TooltipProperties/TooltipSettingsNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/TooltipProperties/TooltipSettingsNode.ts");
99216
- /* harmony import */ var _Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../Commons/DocumentationLinks */ "./Generator/src/generators/markupGenerator/ElementProcessors/Commons/DocumentationLinks.ts");
99217
- /* harmony import */ var _CommonNodeProperties_FocusManagementNode__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../CommonNodeProperties/FocusManagementNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/FocusManagementNode.ts");
99218
- /* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
99219
-
99220
-
99221
-
99222
- var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11;
99223
-
99224
-
99225
-
99226
-
99227
-
99228
- let SelectAllCheckboxNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("selectallcheckbox", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectAllCheckbox sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.bindingPath.required, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.bindingPathLink)} данного элемента. Должен указывать на множественный элемент, в котором проставляются галочки.`), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("pathToChecked", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.bindingPath, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.bindingPathLink)} относительного пути (от текущего значения в path) до поля с галочкой. По умолчанию значение 'checked'`), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_FocusManagementNode__WEBPACK_IMPORTED_MODULE_6__.FocusManagementNode), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("disabled2", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.javascriptExpression, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.javaScriptExpressionLink)} для условного задизейбливания контрола`), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("tid", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, "Возможность установки произвольных data-tid атрибутов, может пригодиться другим командам, или для идентификации элемента в тестах"), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_TooltipProperties_TooltipSettingsNode__WEBPACK_IMPORTED_MODULE_4__.TooltipSettingsNode), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("filteredUniqKey", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, `Уникальный ключ фильтрации multiline, используется, для фильтраций одних и тех же путей иннера
99229
- разными фильтрами. Задается произвольной строкой. Фильтры с одинаковым ключем фильтрации получают одинаковый результат фильтрации`), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("dirtyModeInstancesCount", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, `Опция включает режим простановки галочек без фактического расчёта формул и валидаций, зависящих от них`), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("checkedValue", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, `Значение, которое будет проставлено всем чекбоксам во включенном состоянии. По-умолчанию, "true"`), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("uncheckedValue", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, `Значение, которое будет проставлено всем чекбоксам в выключенном состоянии. По-умолчанию, "false"`), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)(undefined, undefined, ["type"]), _dec(_class = (_class2 = class SelectAllCheckboxNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
99230
- constructor(...args) {
99231
- super(...args);
99232
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "path", _descriptor, this);
99233
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "pathToChecked", _descriptor2, this);
99234
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "focusManagement", _descriptor3, this);
99235
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "disabled2", _descriptor4, this);
99236
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "tid", _descriptor5, this);
99237
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "tooltipSettings", _descriptor6, this);
99238
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filteredUniqKey", _descriptor7, this);
99239
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dirtyModeInstancesCount", _descriptor8, this);
99240
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "checkedValue", _descriptor9, this);
99241
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "uncheckedValue", _descriptor10, this);
99242
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor11, this);
99243
- }
99244
- getOwnPath() {
99245
- return this.path != undefined ? (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_7__.createFromMask)(this.path, "auto", _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_7__.PathTokens.each) : undefined;
99246
- }
99247
- getPathToChecked() {
99248
- var _this$pathToChecked;
99249
- return (_this$pathToChecked = this.pathToChecked) !== null && _this$pathToChecked !== void 0 ? _this$pathToChecked : "checked";
99250
- }
99251
- }, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "path", [_dec2], {
99252
- configurable: true,
99253
- enumerable: true,
99254
- writable: true,
99255
- initializer: null
99256
- }), _descriptor2 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "pathToChecked", [_dec3], {
99257
- configurable: true,
99258
- enumerable: true,
99259
- writable: true,
99260
- initializer: null
99261
- }), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "focusManagement", [_dec4], {
99262
- configurable: true,
99263
- enumerable: true,
99264
- writable: true,
99265
- initializer: null
99266
- }), _descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "disabled2", [_dec5], {
99267
- configurable: true,
99268
- enumerable: true,
99269
- writable: true,
99270
- initializer: null
99271
- }), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "tid", [_dec6], {
99272
- configurable: true,
99273
- enumerable: true,
99274
- writable: true,
99275
- initializer: null
99276
- }), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "tooltipSettings", [_dec7], {
99277
- configurable: true,
99278
- enumerable: true,
99279
- writable: true,
99280
- initializer: null
99281
- }), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "filteredUniqKey", [_dec8], {
99282
- configurable: true,
99283
- enumerable: true,
99284
- writable: true,
99285
- initializer: null
99286
- }), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "dirtyModeInstancesCount", [_dec9], {
99287
- configurable: true,
99288
- enumerable: true,
99289
- writable: true,
99290
- initializer: null
99291
- }), _descriptor9 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "checkedValue", [_dec10], {
99292
- configurable: true,
99293
- enumerable: true,
99294
- writable: true,
99295
- initializer: null
99296
- }), _descriptor10 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "uncheckedValue", [_dec11], {
99297
- configurable: true,
99298
- enumerable: true,
99299
- writable: true,
99300
- initializer: null
99301
- }), _descriptor11 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec12], {
99302
- configurable: true,
99303
- enumerable: true,
99304
- writable: true,
99305
- initializer: null
99306
- }), _class2)) || _class);
99307
-
99308
- /***/ }),
99309
-
99310
- /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectCheckbox/SelectCheckboxConverter.ts":
99311
- /*!***************************************************************************************************************************!*\
99312
- !*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectCheckbox/SelectCheckboxConverter.ts ***!
99313
- \***************************************************************************************************************************/
99314
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
99315
-
99316
- "use strict";
99317
- __webpack_require__.r(__webpack_exports__);
99318
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
99319
- /* harmony export */ SelectCheckboxConverter: () => (/* binding */ SelectCheckboxConverter)
99320
- /* harmony export */ });
99321
- /* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
99322
- /* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
99323
- /* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
99324
- /* harmony import */ var _CommonNodeProperties_TooltipProperties_SetTooltipSettingsProps__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../CommonNodeProperties/TooltipProperties/SetTooltipSettingsProps */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/TooltipProperties/SetTooltipSettingsProps.ts");
99325
- /* harmony import */ var _SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../SugarNodes/SugarNodeUtils */ "./Generator/src/generators/markupGenerator/SugarNodes/SugarNodeUtils.ts");
99326
- /* harmony import */ var _SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./SelectCheckboxNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectCheckbox/SelectCheckboxNode.ts");
99327
-
99328
-
99329
-
99330
-
99331
-
99332
-
99333
- class SelectCheckboxConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.SugarNodeConverterBase {
99334
- static getAcceptNodeClass() {
99335
- return _SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__.SelectCheckboxNode;
99336
- }
99337
- get nodePaths() {
99338
- const node = this.getCurrentNodeAs(_SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__.SelectCheckboxNode);
99339
- return [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_2__.getNewBindingPathExpression)(node)];
99340
- }
99341
- doBuildNodeValidations(validationGenerator) {
99342
- const node = this.getCurrentNodeAs(_SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__.SelectCheckboxNode);
99343
- validationGenerator.processValidations(this.getResolvedBindingPath(node), node.validationInfo.optional, validationGenerator.getTypeNode(node.validationInfo), undefined, node.validationInfo.emptydescription, undefined);
99344
- }
99345
- doBuildDataDeclaration(context) {
99346
- const node = this.getCurrentNodeAs(_SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__.SelectCheckboxNode);
99347
- return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["value", context.initSequenceFactory.dataValue(node.dataBinding, false, this.getDefaultValue(node))]]), context.addSpecialFieldsEntry(node, {
99348
- optional: node.dataBinding.optional
99349
- }), context.addPathSectionDeclarationEntry(node, node.dataBinding.requisite), context.addVisibilityPathDeclEntryNew(node, node.dataBinding.requisite));
99350
- }
99351
- doBuildNormalizeRules(builder) {
99352
- const node = this.getCurrentNodeAs(_SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__.SelectCheckboxNode);
99353
- return [builder.valueInitializer(node, node.dataBinding, false)];
99354
- }
99355
- getDefaultValue(node) {
99356
- var _node$dataBinding$def;
99357
- const defaultValue = (_node$dataBinding$def = node.dataBinding.defaultValue) !== null && _node$dataBinding$def !== void 0 ? _node$dataBinding$def : "";
99358
- if (defaultValue) {
99359
- if (defaultValue === "checked" || defaultValue === node.checkedValue) {
99360
- var _node$checkedValue;
99361
- return (_node$checkedValue = node.checkedValue) !== null && _node$checkedValue !== void 0 ? _node$checkedValue : true;
99362
- } else {
99363
- var _node$uncheckedValue;
99364
- return (_node$uncheckedValue = node.uncheckedValue) !== null && _node$uncheckedValue !== void 0 ? _node$uncheckedValue : false;
99365
- }
99366
- }
99367
- return defaultValue;
99368
- }
99369
- buildChildrenDataDeclaration(context) {
99370
- const node = this.getCurrentNodeAs(_SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__.SelectCheckboxNode);
99371
- return context.processChildrenDataDeclaration(node.children);
99372
- }
99373
- *doTraverseChildren() {
99374
- const node = this.getCurrentNodeAs(_SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__.SelectCheckboxNode);
99375
- yield* node.children;
99376
- }
99377
- doConvert(context) {
99378
- var _node$checkedValue2, _node$uncheckedValue2;
99379
- const node = this.getCurrentNodeAs(_SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__.SelectCheckboxNode);
99380
- this.ensurePathExists(node, node.dataBinding.path);
99381
- const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__.componentMarkupBuilder)("SelectCheckbox");
99382
- markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_2__.getNewBindingPathExpression)(node));
99383
- markupBuilder.prop(x => x.checkedValue).set((_node$checkedValue2 = node.checkedValue) !== null && _node$checkedValue2 !== void 0 ? _node$checkedValue2 : "true");
99384
- markupBuilder.prop("data-tid").set(node.tid);
99385
- markupBuilder.prop(x => x.uncheckedValue).set((_node$uncheckedValue2 = node.uncheckedValue) !== null && _node$uncheckedValue2 !== void 0 ? _node$uncheckedValue2 : "false");
99386
- if (node.callHelperOnChange) {
99387
- markupBuilder.prop(x => x.callHelperOnChange).set(context.generateHelperFunctionExpression(node, "callHelperOnChange", node.callHelperOnChange));
99388
- }
99389
- if (node.disabled2 != undefined) {
99390
- markupBuilder.prop(x => x.disabled2).set((0,_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_4__.buildExpressionPropValue)(node.disabled2));
99391
- if (this.getLegacyNode().getParent() != undefined) {
99392
- markupBuilder.prop(x => x.evaluatorsContextPath).set(this.getEvaluatorsContextPathExpression());
99393
- }
99394
- }
99395
- markupBuilder.appendChild(context.convertChildNodes(node.children));
99396
- (0,_CommonNodeProperties_TooltipProperties_SetTooltipSettingsProps__WEBPACK_IMPORTED_MODULE_3__.setTooltipSettingsProps)(markupBuilder, node.tooltipSettings);
99397
- return markupBuilder.buildConverterResult();
99398
- }
99399
- }
99400
-
99401
- /***/ }),
99402
-
99403
- /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectCheckbox/SelectCheckboxNode.ts":
99404
- /*!**********************************************************************************************************************!*\
99405
- !*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectCheckbox/SelectCheckboxNode.ts ***!
99406
- \**********************************************************************************************************************/
99407
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
99408
-
99409
- "use strict";
99410
- __webpack_require__.r(__webpack_exports__);
99411
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
99412
- /* harmony export */ SelectCheckboxNode: () => (/* binding */ SelectCheckboxNode)
99413
- /* harmony export */ });
99414
- /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/initializerDefineProperty */ "./node_modules/@babel/runtime/helpers/initializerDefineProperty.js");
99415
- /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__);
99416
- /* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/applyDecoratedDescriptor */ "./node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js");
99417
- /* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__);
99418
- /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/initializerWarningHelper */ "./node_modules/@babel/runtime/helpers/initializerWarningHelper.js");
99419
- /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
99420
- /* harmony import */ var _CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../CommonNodeProperties/DataBindingMixinNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/DataBindingMixinNode.ts");
99421
- /* harmony import */ var _CommonNodeProperties_ValidationInfoNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../CommonNodeProperties/ValidationInfoNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/ValidationInfoNode.ts");
99422
- /* harmony import */ var _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../Serializer/DeprecationReason */ "./Generator/src/generators/markupGenerator/Serializer/DeprecationReason.ts");
99423
- /* harmony import */ var _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../Serializer/SugarNodeWithLegacyVisibility */ "./Generator/src/generators/markupGenerator/Serializer/SugarNodeWithLegacyVisibility.ts");
99424
- /* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
99425
- /* harmony import */ var _CommonNodeProperties_TooltipProperties_TooltipSettingsNode__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../CommonNodeProperties/TooltipProperties/TooltipSettingsNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/TooltipProperties/TooltipSettingsNode.ts");
99426
- /* harmony import */ var _Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../Commons/DocumentationLinks */ "./Generator/src/generators/markupGenerator/ElementProcessors/Commons/DocumentationLinks.ts");
99427
- /* harmony import */ var _CommonNodeProperties_FocusManagementNode__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../CommonNodeProperties/FocusManagementNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/FocusManagementNode.ts");
99428
-
99429
-
99430
-
99431
- var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11;
99432
-
99433
-
99434
-
99435
-
99436
-
99437
-
99438
-
99439
-
99440
- let SelectCheckboxNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.sugarNode)("selectcheckbox", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectCheckbox sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__.DataBindingMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrMixin)(_CommonNodeProperties_FocusManagementNode__WEBPACK_IMPORTED_MODULE_10__.FocusManagementNode), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("disabled2", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.javascriptExpression, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_9__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_9__.javaScriptExpressionLink)} для условного задизейбливания контрола`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.deprecatedAttr)("width", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("tid", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, "Возможность установки произвольных data-tid атрибутов, может пригодиться другим командам, или для идентификации элемента в тестах"), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrMixin)(_CommonNodeProperties_ValidationInfoNode__WEBPACK_IMPORTED_MODULE_4__.ValidationInfoNode), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrMixin)(_CommonNodeProperties_TooltipProperties_TooltipSettingsNode__WEBPACK_IMPORTED_MODULE_8__.TooltipSettingsNode), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("checkedValue", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, ``), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("uncheckedValue", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, ``), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("callHelperOnChange", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.helperFunctionName, "Вызов helper функции на onChange контролла"), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.children)(undefined, undefined, ["type"]), _dec(_class = (_class2 = class SelectCheckboxNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_6__.SugarNodeWithLegacyVisibility {
99441
- constructor(...args) {
99442
- super(...args);
99443
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataBinding", _descriptor, this);
99444
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "focusManagement", _descriptor2, this);
99445
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "disabled2", _descriptor3, this);
99446
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "width", _descriptor4, this);
99447
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "tid", _descriptor5, this);
99448
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "validationInfo", _descriptor6, this);
99449
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "tooltipSettings", _descriptor7, this);
99450
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "checkedValue", _descriptor8, this);
99451
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "uncheckedValue", _descriptor9, this);
99452
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "callHelperOnChange", _descriptor10, this);
99453
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor11, this);
99454
- }
99455
- getOwnPath() {
99456
- return this.dataBinding.getOwnPath();
99457
- }
99458
- }, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "dataBinding", [_dec2], {
99459
- configurable: true,
99460
- enumerable: true,
99461
- writable: true,
99462
- initializer: null
99463
- }), _descriptor2 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "focusManagement", [_dec3], {
99464
- configurable: true,
99465
- enumerable: true,
99466
- writable: true,
99467
- initializer: null
99468
- }), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "disabled2", [_dec4], {
99469
- configurable: true,
99470
- enumerable: true,
99471
- writable: true,
99472
- initializer: null
99473
- }), _descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "width", [_dec5], {
99474
- configurable: true,
99475
- enumerable: true,
99476
- writable: true,
99477
- initializer: null
99478
- }), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "tid", [_dec6], {
99479
- configurable: true,
99480
- enumerable: true,
99481
- writable: true,
99482
- initializer: null
99483
- }), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "validationInfo", [_dec7], {
99484
- configurable: true,
99485
- enumerable: true,
99486
- writable: true,
99487
- initializer: null
99488
- }), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "tooltipSettings", [_dec8], {
99489
- configurable: true,
99490
- enumerable: true,
99491
- writable: true,
99492
- initializer: null
99493
- }), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "checkedValue", [_dec9], {
99494
- configurable: true,
99495
- enumerable: true,
99496
- writable: true,
99497
- initializer: null
99498
- }), _descriptor9 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "uncheckedValue", [_dec10], {
99499
- configurable: true,
99500
- enumerable: true,
99501
- writable: true,
99502
- initializer: null
99503
- }), _descriptor10 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "callHelperOnChange", [_dec11], {
99504
- configurable: true,
99505
- enumerable: true,
99506
- writable: true,
99507
- initializer: null
99508
- }), _descriptor11 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec12], {
99509
- configurable: true,
99510
- enumerable: true,
99511
- writable: true,
99512
- initializer: null
99513
- }), _class2)) || _class);
99514
-
99515
- /***/ }),
99516
-
99517
99850
  /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Select/PicklistReference.ts":
99518
99851
  /*!*************************************************************************************************************!*\
99519
99852
  !*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Select/PicklistReference.ts ***!
@@ -99912,6 +100245,400 @@ let SelectNode = (_dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODUL
99912
100245
 
99913
100246
  /***/ }),
99914
100247
 
100248
+ /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectAllCheckbox/SelectAllCheckboxConverter.ts":
100249
+ /*!*********************************************************************************************************************************!*\
100250
+ !*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectAllCheckbox/SelectAllCheckboxConverter.ts ***!
100251
+ \*********************************************************************************************************************************/
100252
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
100253
+
100254
+ "use strict";
100255
+ __webpack_require__.r(__webpack_exports__);
100256
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
100257
+ /* harmony export */ SelectAllCheckboxConverter: () => (/* binding */ SelectAllCheckboxConverter)
100258
+ /* harmony export */ });
100259
+ /* harmony import */ var _Engine_src_Controls_FastSelectAllCheckboxesHelper__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../Engine/src/Controls/FastSelectAllCheckboxesHelper */ "./Engine/src/Controls/FastSelectAllCheckboxesHelper.ts");
100260
+ /* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
100261
+ /* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
100262
+ /* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
100263
+ /* harmony import */ var _SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../SugarNodes/SugarNodeUtils */ "./Generator/src/generators/markupGenerator/SugarNodes/SugarNodeUtils.ts");
100264
+ /* harmony import */ var _ServerSideFLangNormalization_FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../ServerSideFLangNormalization/FLang/FLangCodeDom */ "./Generator/src/generators/ServerSideFLangNormalization/FLang/FLangCodeDom.ts");
100265
+ /* harmony import */ var _SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./SelectAllCheckboxNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectAllCheckbox/SelectAllCheckboxNode.ts");
100266
+
100267
+
100268
+
100269
+
100270
+
100271
+
100272
+
100273
+ class SelectAllCheckboxConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.SugarNodeConverterBase {
100274
+ static getAcceptNodeClass() {
100275
+ return _SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_6__.SelectAllCheckboxNode;
100276
+ }
100277
+ get nodePaths() {
100278
+ const node = this.getCurrentNodeAs(_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_6__.SelectAllCheckboxNode);
100279
+ return [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_3__.getNewBindingPathExpression)(node)];
100280
+ }
100281
+ doBuildDataDeclaration(context) {
100282
+ return {};
100283
+ }
100284
+ doBuildNormalizeRules(builder, formSchemaRng) {
100285
+ var _node$pathToChecked;
100286
+ const node = this.getCurrentNodeAs(_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_6__.SelectAllCheckboxNode);
100287
+ const pathToCheckedArray = (0,_Engine_src_Controls_FastSelectAllCheckboxesHelper__WEBPACK_IMPORTED_MODULE_0__.buildDirtyPathForMultiplicityAndCheckboxPath)(node.getFullPath(), (_node$pathToChecked = node.pathToChecked) !== null && _node$pathToChecked !== void 0 ? _node$pathToChecked : "checked");
100288
+ return node.dirtyModeInstancesCount != undefined ? [new _ServerSideFLangNormalization_FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_5__.SetStatement(new _ServerSideFLangNormalization_FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_5__.ValueReferenceExpression(pathToCheckedArray, "value"), new _ServerSideFLangNormalization_FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_5__.NullLiteralExpression())] : [];
100289
+ }
100290
+ buildChildrenDataDeclaration(context) {
100291
+ const node = this.getCurrentNodeAs(_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_6__.SelectAllCheckboxNode);
100292
+ return context.processChildrenDataDeclaration(node.children);
100293
+ }
100294
+ *doTraverseChildren() {
100295
+ const node = this.getCurrentNodeAs(_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_6__.SelectAllCheckboxNode);
100296
+ yield* node.children;
100297
+ }
100298
+ doConvert(context) {
100299
+ var _node$filteredUniqKey, _node$uncheckedValue, _node$checkedValue;
100300
+ const node = this.getCurrentNodeAs(_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_6__.SelectAllCheckboxNode);
100301
+ const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("SelectAllCheckbox");
100302
+ markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_3__.getNewBindingPathExpression)(node));
100303
+ markupBuilder.prop(x => x.pathToChecked).set(node.getPathToChecked());
100304
+ markupBuilder.prop("data-tid").set(node.tid);
100305
+ markupBuilder.prop(x => x.filteredUniqKey).set((_node$filteredUniqKey = node.filteredUniqKey) !== null && _node$filteredUniqKey !== void 0 ? _node$filteredUniqKey : "default");
100306
+ markupBuilder.prop(x => x.uncheckedValue).set((_node$uncheckedValue = node.uncheckedValue) !== null && _node$uncheckedValue !== void 0 ? _node$uncheckedValue : "false");
100307
+ markupBuilder.prop(x => x.checkedValue).set((_node$checkedValue = node.checkedValue) !== null && _node$checkedValue !== void 0 ? _node$checkedValue : "true");
100308
+ markupBuilder.prop(x => x.dirtyModeInstancesCount).set(node.dirtyModeInstancesCount);
100309
+ if (node.disabled2 != undefined) {
100310
+ markupBuilder.prop(x => x.disabled2).set((0,_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_4__.buildExpressionPropValue)(node.disabled2));
100311
+ if (this.getLegacyNode().getParent() != undefined) {
100312
+ markupBuilder.prop(x => x.evaluatorsContextPath).set(this.getEvaluatorsContextPathExpression());
100313
+ }
100314
+ }
100315
+ markupBuilder.appendChild(context.convertChildNodes(node.children));
100316
+ return markupBuilder.buildConverterResult();
100317
+ }
100318
+ }
100319
+
100320
+ /***/ }),
100321
+
100322
+ /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectAllCheckbox/SelectAllCheckboxNode.ts":
100323
+ /*!****************************************************************************************************************************!*\
100324
+ !*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectAllCheckbox/SelectAllCheckboxNode.ts ***!
100325
+ \****************************************************************************************************************************/
100326
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
100327
+
100328
+ "use strict";
100329
+ __webpack_require__.r(__webpack_exports__);
100330
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
100331
+ /* harmony export */ SelectAllCheckboxNode: () => (/* binding */ SelectAllCheckboxNode)
100332
+ /* harmony export */ });
100333
+ /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/initializerDefineProperty */ "./node_modules/@babel/runtime/helpers/initializerDefineProperty.js");
100334
+ /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__);
100335
+ /* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/applyDecoratedDescriptor */ "./node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js");
100336
+ /* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__);
100337
+ /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/initializerWarningHelper */ "./node_modules/@babel/runtime/helpers/initializerWarningHelper.js");
100338
+ /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
100339
+ /* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
100340
+ /* harmony import */ var _CommonNodeProperties_TooltipProperties_TooltipSettingsNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../CommonNodeProperties/TooltipProperties/TooltipSettingsNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/TooltipProperties/TooltipSettingsNode.ts");
100341
+ /* harmony import */ var _Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../Commons/DocumentationLinks */ "./Generator/src/generators/markupGenerator/ElementProcessors/Commons/DocumentationLinks.ts");
100342
+ /* harmony import */ var _CommonNodeProperties_FocusManagementNode__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../CommonNodeProperties/FocusManagementNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/FocusManagementNode.ts");
100343
+ /* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
100344
+
100345
+
100346
+
100347
+ var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11;
100348
+
100349
+
100350
+
100351
+
100352
+
100353
+ let SelectAllCheckboxNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("selectallcheckbox", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectAllCheckbox sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.bindingPath.required, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.bindingPathLink)} данного элемента. Должен указывать на множественный элемент, в котором проставляются галочки.`), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("pathToChecked", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.bindingPath, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.bindingPathLink)} относительного пути (от текущего значения в path) до поля с галочкой. По умолчанию значение 'checked'`), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_FocusManagementNode__WEBPACK_IMPORTED_MODULE_6__.FocusManagementNode), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("disabled2", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.javascriptExpression, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.javaScriptExpressionLink)} для условного задизейбливания контрола`), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("tid", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, "Возможность установки произвольных data-tid атрибутов, может пригодиться другим командам, или для идентификации элемента в тестах"), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_TooltipProperties_TooltipSettingsNode__WEBPACK_IMPORTED_MODULE_4__.TooltipSettingsNode), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("filteredUniqKey", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, `Уникальный ключ фильтрации multiline, используется, для фильтраций одних и тех же путей иннера
100354
+ разными фильтрами. Задается произвольной строкой. Фильтры с одинаковым ключем фильтрации получают одинаковый результат фильтрации`), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("dirtyModeInstancesCount", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, `Опция включает режим простановки галочек без фактического расчёта формул и валидаций, зависящих от них`), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("checkedValue", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, `Значение, которое будет проставлено всем чекбоксам во включенном состоянии. По-умолчанию, "true"`), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("uncheckedValue", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, `Значение, которое будет проставлено всем чекбоксам в выключенном состоянии. По-умолчанию, "false"`), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)(undefined, undefined, ["type"]), _dec(_class = (_class2 = class SelectAllCheckboxNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
100355
+ constructor(...args) {
100356
+ super(...args);
100357
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "path", _descriptor, this);
100358
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "pathToChecked", _descriptor2, this);
100359
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "focusManagement", _descriptor3, this);
100360
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "disabled2", _descriptor4, this);
100361
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "tid", _descriptor5, this);
100362
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "tooltipSettings", _descriptor6, this);
100363
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filteredUniqKey", _descriptor7, this);
100364
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dirtyModeInstancesCount", _descriptor8, this);
100365
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "checkedValue", _descriptor9, this);
100366
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "uncheckedValue", _descriptor10, this);
100367
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor11, this);
100368
+ }
100369
+ getOwnPath() {
100370
+ return this.path != undefined ? (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_7__.createFromMask)(this.path, "auto", _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_7__.PathTokens.each) : undefined;
100371
+ }
100372
+ getPathToChecked() {
100373
+ var _this$pathToChecked;
100374
+ return (_this$pathToChecked = this.pathToChecked) !== null && _this$pathToChecked !== void 0 ? _this$pathToChecked : "checked";
100375
+ }
100376
+ }, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "path", [_dec2], {
100377
+ configurable: true,
100378
+ enumerable: true,
100379
+ writable: true,
100380
+ initializer: null
100381
+ }), _descriptor2 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "pathToChecked", [_dec3], {
100382
+ configurable: true,
100383
+ enumerable: true,
100384
+ writable: true,
100385
+ initializer: null
100386
+ }), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "focusManagement", [_dec4], {
100387
+ configurable: true,
100388
+ enumerable: true,
100389
+ writable: true,
100390
+ initializer: null
100391
+ }), _descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "disabled2", [_dec5], {
100392
+ configurable: true,
100393
+ enumerable: true,
100394
+ writable: true,
100395
+ initializer: null
100396
+ }), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "tid", [_dec6], {
100397
+ configurable: true,
100398
+ enumerable: true,
100399
+ writable: true,
100400
+ initializer: null
100401
+ }), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "tooltipSettings", [_dec7], {
100402
+ configurable: true,
100403
+ enumerable: true,
100404
+ writable: true,
100405
+ initializer: null
100406
+ }), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "filteredUniqKey", [_dec8], {
100407
+ configurable: true,
100408
+ enumerable: true,
100409
+ writable: true,
100410
+ initializer: null
100411
+ }), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "dirtyModeInstancesCount", [_dec9], {
100412
+ configurable: true,
100413
+ enumerable: true,
100414
+ writable: true,
100415
+ initializer: null
100416
+ }), _descriptor9 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "checkedValue", [_dec10], {
100417
+ configurable: true,
100418
+ enumerable: true,
100419
+ writable: true,
100420
+ initializer: null
100421
+ }), _descriptor10 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "uncheckedValue", [_dec11], {
100422
+ configurable: true,
100423
+ enumerable: true,
100424
+ writable: true,
100425
+ initializer: null
100426
+ }), _descriptor11 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec12], {
100427
+ configurable: true,
100428
+ enumerable: true,
100429
+ writable: true,
100430
+ initializer: null
100431
+ }), _class2)) || _class);
100432
+
100433
+ /***/ }),
100434
+
100435
+ /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectCheckbox/SelectCheckboxConverter.ts":
100436
+ /*!***************************************************************************************************************************!*\
100437
+ !*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectCheckbox/SelectCheckboxConverter.ts ***!
100438
+ \***************************************************************************************************************************/
100439
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
100440
+
100441
+ "use strict";
100442
+ __webpack_require__.r(__webpack_exports__);
100443
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
100444
+ /* harmony export */ SelectCheckboxConverter: () => (/* binding */ SelectCheckboxConverter)
100445
+ /* harmony export */ });
100446
+ /* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
100447
+ /* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
100448
+ /* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
100449
+ /* harmony import */ var _CommonNodeProperties_TooltipProperties_SetTooltipSettingsProps__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../CommonNodeProperties/TooltipProperties/SetTooltipSettingsProps */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/TooltipProperties/SetTooltipSettingsProps.ts");
100450
+ /* harmony import */ var _SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../SugarNodes/SugarNodeUtils */ "./Generator/src/generators/markupGenerator/SugarNodes/SugarNodeUtils.ts");
100451
+ /* harmony import */ var _SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./SelectCheckboxNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectCheckbox/SelectCheckboxNode.ts");
100452
+
100453
+
100454
+
100455
+
100456
+
100457
+
100458
+ class SelectCheckboxConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.SugarNodeConverterBase {
100459
+ static getAcceptNodeClass() {
100460
+ return _SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__.SelectCheckboxNode;
100461
+ }
100462
+ get nodePaths() {
100463
+ const node = this.getCurrentNodeAs(_SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__.SelectCheckboxNode);
100464
+ return [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_2__.getNewBindingPathExpression)(node)];
100465
+ }
100466
+ doBuildNodeValidations(validationGenerator) {
100467
+ const node = this.getCurrentNodeAs(_SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__.SelectCheckboxNode);
100468
+ validationGenerator.processValidations(this.getResolvedBindingPath(node), node.validationInfo.optional, validationGenerator.getTypeNode(node.validationInfo), undefined, node.validationInfo.emptydescription, undefined);
100469
+ }
100470
+ doBuildDataDeclaration(context) {
100471
+ const node = this.getCurrentNodeAs(_SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__.SelectCheckboxNode);
100472
+ return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["value", context.initSequenceFactory.dataValue(node.dataBinding, false, this.getDefaultValue(node))]]), context.addSpecialFieldsEntry(node, {
100473
+ optional: node.dataBinding.optional
100474
+ }), context.addPathSectionDeclarationEntry(node, node.dataBinding.requisite), context.addVisibilityPathDeclEntryNew(node, node.dataBinding.requisite));
100475
+ }
100476
+ doBuildNormalizeRules(builder) {
100477
+ const node = this.getCurrentNodeAs(_SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__.SelectCheckboxNode);
100478
+ return [builder.valueInitializer(node, node.dataBinding, false)];
100479
+ }
100480
+ getDefaultValue(node) {
100481
+ var _node$dataBinding$def;
100482
+ const defaultValue = (_node$dataBinding$def = node.dataBinding.defaultValue) !== null && _node$dataBinding$def !== void 0 ? _node$dataBinding$def : "";
100483
+ if (defaultValue) {
100484
+ if (defaultValue === "checked" || defaultValue === node.checkedValue) {
100485
+ var _node$checkedValue;
100486
+ return (_node$checkedValue = node.checkedValue) !== null && _node$checkedValue !== void 0 ? _node$checkedValue : true;
100487
+ } else {
100488
+ var _node$uncheckedValue;
100489
+ return (_node$uncheckedValue = node.uncheckedValue) !== null && _node$uncheckedValue !== void 0 ? _node$uncheckedValue : false;
100490
+ }
100491
+ }
100492
+ return defaultValue;
100493
+ }
100494
+ buildChildrenDataDeclaration(context) {
100495
+ const node = this.getCurrentNodeAs(_SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__.SelectCheckboxNode);
100496
+ return context.processChildrenDataDeclaration(node.children);
100497
+ }
100498
+ *doTraverseChildren() {
100499
+ const node = this.getCurrentNodeAs(_SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__.SelectCheckboxNode);
100500
+ yield* node.children;
100501
+ }
100502
+ doConvert(context) {
100503
+ var _node$checkedValue2, _node$uncheckedValue2;
100504
+ const node = this.getCurrentNodeAs(_SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__.SelectCheckboxNode);
100505
+ this.ensurePathExists(node, node.dataBinding.path);
100506
+ const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__.componentMarkupBuilder)("SelectCheckbox");
100507
+ markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_2__.getNewBindingPathExpression)(node));
100508
+ markupBuilder.prop(x => x.checkedValue).set((_node$checkedValue2 = node.checkedValue) !== null && _node$checkedValue2 !== void 0 ? _node$checkedValue2 : "true");
100509
+ markupBuilder.prop("data-tid").set(node.tid);
100510
+ markupBuilder.prop(x => x.uncheckedValue).set((_node$uncheckedValue2 = node.uncheckedValue) !== null && _node$uncheckedValue2 !== void 0 ? _node$uncheckedValue2 : "false");
100511
+ if (node.callHelperOnChange) {
100512
+ markupBuilder.prop(x => x.callHelperOnChange).set(context.generateHelperFunctionExpression(node, "callHelperOnChange", node.callHelperOnChange));
100513
+ }
100514
+ if (node.disabled2 != undefined) {
100515
+ markupBuilder.prop(x => x.disabled2).set((0,_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_4__.buildExpressionPropValue)(node.disabled2));
100516
+ if (this.getLegacyNode().getParent() != undefined) {
100517
+ markupBuilder.prop(x => x.evaluatorsContextPath).set(this.getEvaluatorsContextPathExpression());
100518
+ }
100519
+ }
100520
+ markupBuilder.appendChild(context.convertChildNodes(node.children));
100521
+ (0,_CommonNodeProperties_TooltipProperties_SetTooltipSettingsProps__WEBPACK_IMPORTED_MODULE_3__.setTooltipSettingsProps)(markupBuilder, node.tooltipSettings);
100522
+ return markupBuilder.buildConverterResult();
100523
+ }
100524
+ }
100525
+
100526
+ /***/ }),
100527
+
100528
+ /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectCheckbox/SelectCheckboxNode.ts":
100529
+ /*!**********************************************************************************************************************!*\
100530
+ !*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectCheckbox/SelectCheckboxNode.ts ***!
100531
+ \**********************************************************************************************************************/
100532
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
100533
+
100534
+ "use strict";
100535
+ __webpack_require__.r(__webpack_exports__);
100536
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
100537
+ /* harmony export */ SelectCheckboxNode: () => (/* binding */ SelectCheckboxNode)
100538
+ /* harmony export */ });
100539
+ /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/initializerDefineProperty */ "./node_modules/@babel/runtime/helpers/initializerDefineProperty.js");
100540
+ /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__);
100541
+ /* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/applyDecoratedDescriptor */ "./node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js");
100542
+ /* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__);
100543
+ /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/initializerWarningHelper */ "./node_modules/@babel/runtime/helpers/initializerWarningHelper.js");
100544
+ /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
100545
+ /* harmony import */ var _CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../CommonNodeProperties/DataBindingMixinNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/DataBindingMixinNode.ts");
100546
+ /* harmony import */ var _CommonNodeProperties_ValidationInfoNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../CommonNodeProperties/ValidationInfoNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/ValidationInfoNode.ts");
100547
+ /* harmony import */ var _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../Serializer/DeprecationReason */ "./Generator/src/generators/markupGenerator/Serializer/DeprecationReason.ts");
100548
+ /* harmony import */ var _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../Serializer/SugarNodeWithLegacyVisibility */ "./Generator/src/generators/markupGenerator/Serializer/SugarNodeWithLegacyVisibility.ts");
100549
+ /* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
100550
+ /* harmony import */ var _CommonNodeProperties_TooltipProperties_TooltipSettingsNode__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../CommonNodeProperties/TooltipProperties/TooltipSettingsNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/TooltipProperties/TooltipSettingsNode.ts");
100551
+ /* harmony import */ var _Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../Commons/DocumentationLinks */ "./Generator/src/generators/markupGenerator/ElementProcessors/Commons/DocumentationLinks.ts");
100552
+ /* harmony import */ var _CommonNodeProperties_FocusManagementNode__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../CommonNodeProperties/FocusManagementNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/FocusManagementNode.ts");
100553
+
100554
+
100555
+
100556
+ var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11;
100557
+
100558
+
100559
+
100560
+
100561
+
100562
+
100563
+
100564
+
100565
+ let SelectCheckboxNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.sugarNode)("selectcheckbox", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectCheckbox sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__.DataBindingMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrMixin)(_CommonNodeProperties_FocusManagementNode__WEBPACK_IMPORTED_MODULE_10__.FocusManagementNode), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("disabled2", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.javascriptExpression, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_9__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_9__.javaScriptExpressionLink)} для условного задизейбливания контрола`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.deprecatedAttr)("width", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("tid", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, "Возможность установки произвольных data-tid атрибутов, может пригодиться другим командам, или для идентификации элемента в тестах"), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrMixin)(_CommonNodeProperties_ValidationInfoNode__WEBPACK_IMPORTED_MODULE_4__.ValidationInfoNode), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrMixin)(_CommonNodeProperties_TooltipProperties_TooltipSettingsNode__WEBPACK_IMPORTED_MODULE_8__.TooltipSettingsNode), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("checkedValue", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, ``), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("uncheckedValue", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, ``), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("callHelperOnChange", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.helperFunctionName, "Вызов helper функции на onChange контролла"), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.children)(undefined, undefined, ["type"]), _dec(_class = (_class2 = class SelectCheckboxNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_6__.SugarNodeWithLegacyVisibility {
100566
+ constructor(...args) {
100567
+ super(...args);
100568
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataBinding", _descriptor, this);
100569
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "focusManagement", _descriptor2, this);
100570
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "disabled2", _descriptor3, this);
100571
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "width", _descriptor4, this);
100572
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "tid", _descriptor5, this);
100573
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "validationInfo", _descriptor6, this);
100574
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "tooltipSettings", _descriptor7, this);
100575
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "checkedValue", _descriptor8, this);
100576
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "uncheckedValue", _descriptor9, this);
100577
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "callHelperOnChange", _descriptor10, this);
100578
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor11, this);
100579
+ }
100580
+ getOwnPath() {
100581
+ return this.dataBinding.getOwnPath();
100582
+ }
100583
+ }, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "dataBinding", [_dec2], {
100584
+ configurable: true,
100585
+ enumerable: true,
100586
+ writable: true,
100587
+ initializer: null
100588
+ }), _descriptor2 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "focusManagement", [_dec3], {
100589
+ configurable: true,
100590
+ enumerable: true,
100591
+ writable: true,
100592
+ initializer: null
100593
+ }), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "disabled2", [_dec4], {
100594
+ configurable: true,
100595
+ enumerable: true,
100596
+ writable: true,
100597
+ initializer: null
100598
+ }), _descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "width", [_dec5], {
100599
+ configurable: true,
100600
+ enumerable: true,
100601
+ writable: true,
100602
+ initializer: null
100603
+ }), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "tid", [_dec6], {
100604
+ configurable: true,
100605
+ enumerable: true,
100606
+ writable: true,
100607
+ initializer: null
100608
+ }), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "validationInfo", [_dec7], {
100609
+ configurable: true,
100610
+ enumerable: true,
100611
+ writable: true,
100612
+ initializer: null
100613
+ }), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "tooltipSettings", [_dec8], {
100614
+ configurable: true,
100615
+ enumerable: true,
100616
+ writable: true,
100617
+ initializer: null
100618
+ }), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "checkedValue", [_dec9], {
100619
+ configurable: true,
100620
+ enumerable: true,
100621
+ writable: true,
100622
+ initializer: null
100623
+ }), _descriptor9 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "uncheckedValue", [_dec10], {
100624
+ configurable: true,
100625
+ enumerable: true,
100626
+ writable: true,
100627
+ initializer: null
100628
+ }), _descriptor10 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "callHelperOnChange", [_dec11], {
100629
+ configurable: true,
100630
+ enumerable: true,
100631
+ writable: true,
100632
+ initializer: null
100633
+ }), _descriptor11 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec12], {
100634
+ configurable: true,
100635
+ enumerable: true,
100636
+ writable: true,
100637
+ initializer: null
100638
+ }), _class2)) || _class);
100639
+
100640
+ /***/ }),
100641
+
99915
100642
  /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/TaxRebate/TaxRebateConverter.ts":
99916
100643
  /*!*****************************************************************************************************************!*\
99917
100644
  !*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/TaxRebate/TaxRebateConverter.ts ***!
@@ -104468,17 +105195,19 @@ __webpack_require__.r(__webpack_exports__);
104468
105195
  /* harmony import */ var _common_KCLang_CodeDom_InBlock__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/InBlock */ "./Generator/src/common/KCLang/CodeDom/InBlock.ts");
104469
105196
  /* harmony import */ var _common_KCLang_CodeDom_KCLangPath__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/KCLangPath */ "./Generator/src/common/KCLang/CodeDom/KCLangPath.ts");
104470
105197
  /* harmony import */ var _Common_IterableUtils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../Common/IterableUtils */ "./Common/IterableUtils.ts");
104471
- /* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
104472
- /* harmony import */ var _AllConverters__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./AllConverters */ "./Generator/src/generators/markupGenerator/AllConverters.ts");
104473
- /* harmony import */ var _ConverterResults_ConverterResult__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./ConverterResults/ConverterResult */ "./Generator/src/generators/markupGenerator/ConverterResults/ConverterResult.ts");
104474
- /* harmony import */ var _ElementProcessors_FormParts_Form_FormNode__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./ElementProcessors/FormParts/Form/FormNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/FormNode.ts");
104475
- /* harmony import */ var _ElementProcessors_FormParts_Page_PageNode__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./ElementProcessors/FormParts/Page/PageNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Page/PageNode.ts");
104476
- /* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
104477
- /* harmony import */ var _SugarNodes_DefaultSugarSerializer__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./SugarNodes/DefaultSugarSerializer */ "./Generator/src/generators/markupGenerator/SugarNodes/DefaultSugarSerializer.ts");
104478
- /* harmony import */ var _SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./SugarNodes/SugarNodeUtils */ "./Generator/src/generators/markupGenerator/SugarNodes/SugarNodeUtils.ts");
104479
- /* harmony import */ var _VisibilityProcessor__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./VisibilityProcessor */ "./Generator/src/generators/markupGenerator/VisibilityProcessor.ts");
104480
- /* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
104481
- /* harmony import */ var _FocusManagementProcessor__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./FocusManagementProcessor */ "./Generator/src/generators/markupGenerator/FocusManagementProcessor.ts");
105198
+ /* harmony import */ var _Common_PathConstants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../Common/PathConstants */ "./Common/PathConstants.ts");
105199
+ /* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
105200
+ /* harmony import */ var _AllConverters__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./AllConverters */ "./Generator/src/generators/markupGenerator/AllConverters.ts");
105201
+ /* harmony import */ var _ConverterResults_ConverterResult__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./ConverterResults/ConverterResult */ "./Generator/src/generators/markupGenerator/ConverterResults/ConverterResult.ts");
105202
+ /* harmony import */ var _ElementProcessors_FormParts_Form_FormNode__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./ElementProcessors/FormParts/Form/FormNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/FormNode.ts");
105203
+ /* harmony import */ var _ElementProcessors_FormParts_Page_PageNode__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./ElementProcessors/FormParts/Page/PageNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Page/PageNode.ts");
105204
+ /* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
105205
+ /* harmony import */ var _SugarNodes_DefaultSugarSerializer__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./SugarNodes/DefaultSugarSerializer */ "./Generator/src/generators/markupGenerator/SugarNodes/DefaultSugarSerializer.ts");
105206
+ /* harmony import */ var _SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./SugarNodes/SugarNodeUtils */ "./Generator/src/generators/markupGenerator/SugarNodes/SugarNodeUtils.ts");
105207
+ /* harmony import */ var _VisibilityProcessor__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./VisibilityProcessor */ "./Generator/src/generators/markupGenerator/VisibilityProcessor.ts");
105208
+ /* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
105209
+ /* harmony import */ var _FocusManagementProcessor__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./FocusManagementProcessor */ "./Generator/src/generators/markupGenerator/FocusManagementProcessor.ts");
105210
+
104482
105211
 
104483
105212
 
104484
105213
 
@@ -104504,12 +105233,12 @@ class SugarNodeConverterBase {
104504
105233
  constructor(node) {
104505
105234
  this.node = void 0;
104506
105235
  this.node = node;
104507
- if (node instanceof _ElementProcessors_FormParts_Page_PageNode__WEBPACK_IMPORTED_MODULE_10__.PageNode) {
105236
+ if (node instanceof _ElementProcessors_FormParts_Page_PageNode__WEBPACK_IMPORTED_MODULE_11__.PageNode) {
104508
105237
  deserializedPages.set(node.sourceXmlNode, node);
104509
105238
  }
104510
105239
  }
104511
105240
  static deserializeNodeAs(nodeClass, sourceXmlNode) {
104512
- const serializer = (0,_SugarNodes_DefaultSugarSerializer__WEBPACK_IMPORTED_MODULE_12__.createDefaultSugarSerializer)();
105241
+ const serializer = (0,_SugarNodes_DefaultSugarSerializer__WEBPACK_IMPORTED_MODULE_13__.createDefaultSugarSerializer)();
104513
105242
  const node = serializer.deserializeFromSugarXmlNode(sourceXmlNode, [nodeClass]);
104514
105243
  if (node instanceof nodeClass) {
104515
105244
  return node;
@@ -104546,10 +105275,28 @@ class SugarNodeConverterBase {
104546
105275
  return [];
104547
105276
  }
104548
105277
  buildDataDeclaration(context) {
104549
- return context.mergeDataDeclaration(this.doBuildDataDeclaration(context), this.buildChildrenDataDeclaration(context));
105278
+ const path = this.node.getFullPath();
105279
+ // Почему так назван, разве работает только для множественных?
105280
+ const isNodeOptionalFromScheme = context.isMultipleNodeOptionalFromScheme(path);
105281
+ const isMultipleNode = context.isMultipleElement(path);
105282
+ const optionalElementDataDeclaration = !isMultipleNode && isNodeOptionalFromScheme && this.buildOptionalElementDataDeclaration(context, path);
105283
+ return context.mergeDataDeclaration(this.doBuildDataDeclaration(context), optionalElementDataDeclaration, this.buildChildrenDataDeclaration(context));
105284
+ }
105285
+ buildOptionalElementDataDeclaration(context, path) {
105286
+ const existenceFieldPath = path.joinWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_6__.OptionalElementsExistenceFieldName).toLegacyPath();
105287
+ const existenceDataDeclaration = context.mergeDataDeclaration(context.addPathSectionDeclarationEntry(this.node, false, false, (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_2__.createRelativeFromTokens)([_Common_PathConstants__WEBPACK_IMPORTED_MODULE_6__.OptionalElementsExistenceFieldName])), {
105288
+ [existenceFieldPath]: {
105289
+ value: context.initSequenceFactory.dataValue({
105290
+ defaultValue: "1",
105291
+ fetchfn: undefined,
105292
+ settings: undefined
105293
+ }, false, "1")
105294
+ }
105295
+ });
105296
+ return existenceDataDeclaration;
104550
105297
  }
104551
105298
  getCurrentNodeAs(nodeClass) {
104552
- return (0,_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_13__.strictCastNode)(this.node, nodeClass);
105299
+ return (0,_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_14__.strictCastNode)(this.node, nodeClass);
104553
105300
  }
104554
105301
  applyVisibilityPathProcessing() {
104555
105302
  return true;
@@ -104571,7 +105318,7 @@ class SugarNodeConverterBase {
104571
105318
  getParentPage() {
104572
105319
  const node = this.node.sourceXmlNode;
104573
105320
  const page = node.getParentPageStrict();
104574
- return page != undefined ? this.getNodeAs(_ElementProcessors_FormParts_Page_PageNode__WEBPACK_IMPORTED_MODULE_10__.PageNode, page) : undefined;
105321
+ return page != undefined ? this.getNodeAs(_ElementProcessors_FormParts_Page_PageNode__WEBPACK_IMPORTED_MODULE_11__.PageNode, page) : undefined;
104575
105322
  }
104576
105323
  getParentForm() {
104577
105324
  const node = this.node.sourceXmlNode;
@@ -104579,18 +105326,18 @@ class SugarNodeConverterBase {
104579
105326
  if (formNode == undefined) {
104580
105327
  throw new Error("InvalidProgramState");
104581
105328
  }
104582
- return this.getNodeAs(_ElementProcessors_FormParts_Form_FormNode__WEBPACK_IMPORTED_MODULE_9__.FormNode, formNode);
105329
+ return this.getNodeAs(_ElementProcessors_FormParts_Form_FormNode__WEBPACK_IMPORTED_MODULE_10__.FormNode, formNode);
104583
105330
  }
104584
105331
  findPage(id) {
104585
105332
  const node = this.node.sourceXmlNode;
104586
105333
  const root = node.getRoot();
104587
105334
  const pageNodes = root.getChildren("page");
104588
105335
  const page = pageNodes.find(pageNode => pageNode.attrAsString("id") === id);
104589
- return page != undefined ? this.getNodeAs(_ElementProcessors_FormParts_Page_PageNode__WEBPACK_IMPORTED_MODULE_10__.PageNode, page) : undefined;
105336
+ return page != undefined ? this.getNodeAs(_ElementProcessors_FormParts_Page_PageNode__WEBPACK_IMPORTED_MODULE_11__.PageNode, page) : undefined;
104590
105337
  }
104591
105338
  getEvaluatorsContextPathExpression() {
104592
105339
  var _this$node$parent;
104593
- return (0,_getBindingPath__WEBPACK_IMPORTED_MODULE_6__.getNewBindingPathExpression)((_this$node$parent = this.node.parent) !== null && _this$node$parent !== void 0 ? _this$node$parent : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_1__.reject)());
105340
+ return (0,_getBindingPath__WEBPACK_IMPORTED_MODULE_7__.getNewBindingPathExpression)((_this$node$parent = this.node.parent) !== null && _this$node$parent !== void 0 ? _this$node$parent : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_1__.reject)());
104594
105341
  }
104595
105342
  buildValidations(validationGenerator, context) {
104596
105343
  this.doBuildNodeValidations(validationGenerator, context);
@@ -104621,7 +105368,7 @@ class SugarNodeConverterBase {
104621
105368
  // noop
104622
105369
  }
104623
105370
  getResolvedBindingPath(node) {
104624
- return (0,_getBindingPath__WEBPACK_IMPORTED_MODULE_6__.getResolvedBindingPath)(node);
105371
+ return (0,_getBindingPath__WEBPACK_IMPORTED_MODULE_7__.getResolvedBindingPath)(node);
104625
105372
  }
104626
105373
  getRequisitesFromFetchFunction(fetchFunctions) {
104627
105374
  const result = {};
@@ -104641,7 +105388,7 @@ class SugarNodeConverterBase {
104641
105388
  }
104642
105389
  getConverterResultFromAttributeWithMarkup(context, attributeValue) {
104643
105390
  if (Array.isArray(attributeValue)) {
104644
- return _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_15__.ComponentMarkupBuilder.createFragment(attributeValue.map(x => typeof x === "string" ? _ConverterResults_ConverterResult__WEBPACK_IMPORTED_MODULE_8__.ConverterResult.fromConverterResults([], x) : context.convertChildNodes([x])));
105391
+ return _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_16__.ComponentMarkupBuilder.createFragment(attributeValue.map(x => typeof x === "string" ? _ConverterResults_ConverterResult__WEBPACK_IMPORTED_MODULE_9__.ConverterResult.fromConverterResults([], x) : context.convertChildNodes([x])));
104645
105392
  }
104646
105393
  return attributeValue;
104647
105394
  }
@@ -104659,7 +105406,7 @@ class SugarNodeConverterBase {
104659
105406
  *buildNormalizeRules(builder, formSchemaRng) {
104660
105407
  yield* this.doBuildNormalizeRules(builder, formSchemaRng);
104661
105408
  for (const child of this.traverseChildren()) {
104662
- const controlConverterClass = (0,_AllConverters__WEBPACK_IMPORTED_MODULE_7__.getConverterByNodeClass)((0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_11__.getNodeClass)(child));
105409
+ const controlConverterClass = (0,_AllConverters__WEBPACK_IMPORTED_MODULE_8__.getConverterByNodeClass)((0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_12__.getNodeClass)(child));
104663
105410
  if (controlConverterClass == undefined) {
104664
105411
  const customControl = builder.controlCustomizationContext.tryGetCustomRegularControl(child.sourceXmlNode.name);
104665
105412
  if (customControl != undefined) {
@@ -104679,7 +105426,7 @@ class SugarNodeConverterBase {
104679
105426
  }
104680
105427
  getNodeAs(nodeClass, sourceXmlNode) {
104681
105428
  // @ts-ignore
104682
- if (nodeClass === _ElementProcessors_FormParts_Page_PageNode__WEBPACK_IMPORTED_MODULE_10__.PageNode) {
105429
+ if (nodeClass === _ElementProcessors_FormParts_Page_PageNode__WEBPACK_IMPORTED_MODULE_11__.PageNode) {
104683
105430
  var _deserializedPages$ge;
104684
105431
  // @ts-ignore
104685
105432
  return (_deserializedPages$ge = deserializedPages.get(sourceXmlNode !== null && sourceXmlNode !== void 0 ? sourceXmlNode : this.node)) !== null && _deserializedPages$ge !== void 0 ? _deserializedPages$ge : SugarNodeConverterBase.deserializeNodeAs(nodeClass, sourceXmlNode !== null && sourceXmlNode !== void 0 ? sourceXmlNode : this.node);
@@ -104688,12 +105435,12 @@ class SugarNodeConverterBase {
104688
105435
  }
104689
105436
  buildChildrenValidations(validationGenerator, context, children) {
104690
105437
  for (const child of children !== null && children !== void 0 ? children : this.doTraverseChildren()) {
104691
- const controlConverterClass = (0,_AllConverters__WEBPACK_IMPORTED_MODULE_7__.getConverterByNodeClass)((0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_11__.getNodeClass)(child));
105438
+ const controlConverterClass = (0,_AllConverters__WEBPACK_IMPORTED_MODULE_8__.getConverterByNodeClass)((0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_12__.getNodeClass)(child));
104692
105439
  if (controlConverterClass == undefined) {
104693
- if (child instanceof _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_11__.UnknownSugarNode && child.name === "type") {
105440
+ if (child instanceof _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_12__.UnknownSugarNode && child.name === "type") {
104694
105441
  continue;
104695
105442
  }
104696
- if (child instanceof _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_11__.UnknownSugarNode) {
105443
+ if (child instanceof _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_12__.UnknownSugarNode) {
104697
105444
  const customControl = validationGenerator.controlCustomizationContext.tryGetCustomRegularControl(child.name);
104698
105445
  if (customControl != undefined) {
104699
105446
  const childNode = child.sourceXmlNode;
@@ -104702,7 +105449,7 @@ class SugarNodeConverterBase {
104702
105449
  }
104703
105450
  continue;
104704
105451
  // eslint-disable-next-line no-console
104705
- console.error(`Cannot process node of type ${(0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_11__.getNodeClass)(child).name}`);
105452
+ console.error(`Cannot process node of type ${(0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_12__.getNodeClass)(child).name}`);
104706
105453
  // throw new SugarAttributeReadError(
104707
105454
  // `Cannot process node of type ${getNodeClass(child).name}`,
104708
105455
  // child.sourceXmlNode as SugarXmlNode,
@@ -104716,7 +105463,7 @@ class SugarNodeConverterBase {
104716
105463
  buildChildrenKCLangValidations(buildContext, formSchemaRng, children) {
104717
105464
  const result = [];
104718
105465
  for (const child of children !== null && children !== void 0 ? children : this.doTraverseChildren()) {
104719
- const controlConverterClass = (0,_AllConverters__WEBPACK_IMPORTED_MODULE_7__.getConverterByNodeClass)((0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_11__.getNodeClass)(child));
105466
+ const controlConverterClass = (0,_AllConverters__WEBPACK_IMPORTED_MODULE_8__.getConverterByNodeClass)((0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_12__.getNodeClass)(child));
104720
105467
  if (controlConverterClass == undefined) {
104721
105468
  continue;
104722
105469
  }
@@ -104734,10 +105481,10 @@ class SugarNodeConverterBase {
104734
105481
  return result;
104735
105482
  }
104736
105483
  processVisibilityPathAttributes(converterResult) {
104737
- return _VisibilityProcessor__WEBPACK_IMPORTED_MODULE_14__.VisibilityProcessor.processVisibilityPathAttributes(this.node, converterResult);
105484
+ return _VisibilityProcessor__WEBPACK_IMPORTED_MODULE_15__.VisibilityProcessor.processVisibilityPathAttributes(this.node, converterResult);
104738
105485
  }
104739
105486
  processFocusManagementAttributes(converterResult) {
104740
- return _FocusManagementProcessor__WEBPACK_IMPORTED_MODULE_16__.FocusManagementProcessor.processFocusManagementAttributes(this.node, converterResult);
105487
+ return _FocusManagementProcessor__WEBPACK_IMPORTED_MODULE_17__.FocusManagementProcessor.processFocusManagementAttributes(this.node, converterResult);
104741
105488
  }
104742
105489
  doBuildKCLangValidations(buildContext, formSchemaRng) {
104743
105490
  return [];
@@ -104906,6 +105653,8 @@ __webpack_require__.r(__webpack_exports__);
104906
105653
  /* harmony import */ var _ElementProcessors_ValueEditors_RelativesComboBox_RelativesComboBoxNode__WEBPACK_IMPORTED_MODULE_124__ = __webpack_require__(/*! ../ElementProcessors/ValueEditors/RelativesComboBox/RelativesComboBoxNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/RelativesComboBox/RelativesComboBoxNode.ts");
104907
105654
  /* harmony import */ var _ElementProcessors_ValueEditors_SelectCheckbox_SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_125__ = __webpack_require__(/*! ../ElementProcessors/ValueEditors/SelectCheckbox/SelectCheckboxNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectCheckbox/SelectCheckboxNode.ts");
104908
105655
  /* harmony import */ var _ElementProcessors_MultiControls_InstanceNumber_InstanceNumberNode__WEBPACK_IMPORTED_MODULE_126__ = __webpack_require__(/*! ../ElementProcessors/MultiControls/InstanceNumber/InstanceNumberNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/InstanceNumber/InstanceNumberNode.ts");
105656
+ /* harmony import */ var _ElementProcessors_Layout_OptionalBlock_OptionalBlockNode__WEBPACK_IMPORTED_MODULE_127__ = __webpack_require__(/*! ../ElementProcessors/Layout/OptionalBlock/OptionalBlockNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/OptionalBlock/OptionalBlockNode.ts");
105657
+
104909
105658
 
104910
105659
 
104911
105660
 
@@ -105149,6 +105898,7 @@ function registerDefaultSugarNodes(result) {
105149
105898
  result.registerNode(_ElementProcessors_ValueEditors_SelectAllCheckbox_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_121__.SelectAllCheckboxNode);
105150
105899
  result.registerNode(_ElementProcessors_ValueEditors_SelectCheckbox_SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_125__.SelectCheckboxNode);
105151
105900
  result.registerNode(_ElementProcessors_MultiControls_InstanceNumber_InstanceNumberNode__WEBPACK_IMPORTED_MODULE_126__.InstanceNumberNode);
105901
+ result.registerNode(_ElementProcessors_Layout_OptionalBlock_OptionalBlockNode__WEBPACK_IMPORTED_MODULE_127__.OptionalBlockNode);
105152
105902
  }
105153
105903
  function createDefaultSugarSerializer() {
105154
105904
  const result = new _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_106__.SugarSerializer({
@@ -105161,7 +105911,7 @@ function getAllSugarValidationNodeClasses() {
105161
105911
  return [_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.TypeNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.CustomValidationTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.PatternTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.EnumerationTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.AttachmentsTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.LengthTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.MinlengthTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.MaxlengthTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.TotaldigitsTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.IntegerdigitsTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.FractiondigitsTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.ValueEqlAutoValueTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.DigestcheckTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.MininclusiveTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.MaxinclusiveTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.ForcedTypeChecksNode];
105162
105912
  }
105163
105913
  function getAllSugarNodeClasses() {
105164
- return [_ElementProcessors_ValueViewers_Text_TextNode__WEBPACK_IMPORTED_MODULE_96__.TextNode, _ElementProcessors_ControlFlow_Switch_SwitchNode__WEBPACK_IMPORTED_MODULE_91__.SwitchNode, _ElementProcessors_ControlFlow_Switch_SwitchNode__WEBPACK_IMPORTED_MODULE_91__.SwitchDefaultNode, _ElementProcessors_ControlFlow_Switch_SwitchNode__WEBPACK_IMPORTED_MODULE_91__.SwitchCaseNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_AddButtonNode__WEBPACK_IMPORTED_MODULE_32__.AddButtonNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_AddLineNode__WEBPACK_IMPORTED_MODULE_33__.AddLineNode, _ElementProcessors_FormParts_AddPageButton_AddPageButtonNode__WEBPACK_IMPORTED_MODULE_10__.AddPageButtonNode, _ElementProcessors_MultiControls_AddRowButton_AddRowButtonNode__WEBPACK_IMPORTED_MODULE_11__.AddRowButtonNode, _ElementProcessors_Layout_Block_BlockNode__WEBPACK_IMPORTED_MODULE_12__.BlockNode, _ElementProcessors_Layout_Minitour_MinitourNode__WEBPACK_IMPORTED_MODULE_13__.MinitourNode, _ElementProcessors_Modal_Body_BodyNode__WEBPACK_IMPORTED_MODULE_14__.BodyNode, _ElementProcessors_Typography_Bold_BoldNode__WEBPACK_IMPORTED_MODULE_15__.BoldNode, _ElementProcessors_Layout_Br_BrNode__WEBPACK_IMPORTED_MODULE_16__.BrNode, _ElementProcessors_Action_Button_ButtonNode__WEBPACK_IMPORTED_MODULE_17__.ButtonNode, _ElementProcessors_Action_DownloadExcelButton_DownloadExcelButtonNode__WEBPACK_IMPORTED_MODULE_18__.DownloadExcelButtonNode, _ElementProcessors_Action_DropDownButtonLoadExcel_DropDownButtonLoadExcelNode__WEBPACK_IMPORTED_MODULE_19__.DropDownButtonLoadExcelNode, _ElementProcessors_FormParts_Caption_CaptionNode__WEBPACK_IMPORTED_MODULE_20__.CaptionNode, _ElementProcessors_ValueEditors_Checkbox_CheckboxNode__WEBPACK_IMPORTED_MODULE_21__.CheckboxNode, _ElementProcessors_ValueEditors_Toggle_ToggleNode__WEBPACK_IMPORTED_MODULE_22__.ToggleNode, _ElementProcessors_ControlFlow_Choice_ChoiceNode__WEBPACK_IMPORTED_MODULE_23__.ChoiceNode, _ElementProcessors_ValueEditors_Combobox_ComboBoxNode__WEBPACK_IMPORTED_MODULE_24__.ComboBoxNode, _ElementProcessors_FormParts_Content_ContentNode__WEBPACK_IMPORTED_MODULE_25__.ContentNode, _ElementProcessors_MultiControls_CrossfitTable_CrossfitTableNode__WEBPACK_IMPORTED_MODULE_92__.CrossfitTableNode, _ElementProcessors_FormParts_Cross_CrossNode__WEBPACK_IMPORTED_MODULE_26__.CrossNode, _ElementProcessors_ValueEditors_Date_DateNode__WEBPACK_IMPORTED_MODULE_27__.DateNode, _ElementProcessors_ValueEditors_DiadocSuggestComboBox_DiadocSuggestComboBoxNode__WEBPACK_IMPORTED_MODULE_29__.DiadocSuggestComboBoxNode, _ElementProcessors_Typography_Entity_EntityNode__WEBPACK_IMPORTED_MODULE_30__.EntityNode, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteNode__WEBPACK_IMPORTED_MODULE_31__.ExpertNoteNode, _ElementProcessors_ValueEditors_FileLoader_FileLoaderNode__WEBPACK_IMPORTED_MODULE_39__.FileLoaderNode, _ElementProcessors_MultiControls_FilterDateRange_FilterDateRangeNode__WEBPACK_IMPORTED_MODULE_40__.FilterDateRangeNode, _ElementProcessors_MultiControls_FilterInput_FilterInputNode__WEBPACK_IMPORTED_MODULE_41__.FilterInputNode, _ElementProcessors_MultiControls_FilterList_FilterListNode__WEBPACK_IMPORTED_MODULE_42__.FilterListNode, _ElementProcessors_ValueViewers_FIO_FIONode__WEBPACK_IMPORTED_MODULE_43__.FIONode, _ElementProcessors_Layout_Flexbox_FlexboxNode__WEBPACK_IMPORTED_MODULE_44__.FlexboxNode, _ElementProcessors_Modal_Footer_FooterNode__WEBPACK_IMPORTED_MODULE_45__.FooterNode, _ElementProcessors_FormParts_FormInfo_FormInfoNode__WEBPACK_IMPORTED_MODULE_50__.FormInfoNode, _ElementProcessors_FormParts_Form_FormNode__WEBPACK_IMPORTED_MODULE_46__.FormNode, _ElementProcessors_Typography_Gray_GrayNode__WEBPACK_IMPORTED_MODULE_51__.GrayNode, _ElementProcessors_Layout_GridCol_GridColNode__WEBPACK_IMPORTED_MODULE_52__.GridColNode, _ElementProcessors_Layout_GridRow_GridRowNode__WEBPACK_IMPORTED_MODULE_53__.GridRowNode, _ElementProcessors_MultiControls_HeaderMenu_HeaderMenuNode__WEBPACK_IMPORTED_MODULE_55__.HeaderMenuNode, _ElementProcessors_FormParts_Header_HeaderNode__WEBPACK_IMPORTED_MODULE_54__.HeaderNode, _ElementProcessors_Helpers_Helpinfo_HelpInfoNode__WEBPACK_IMPORTED_MODULE_57__.HelpInfoNode, _ElementProcessors_Helpers_Help_HelpNode__WEBPACK_IMPORTED_MODULE_56__.HelpNode, _ElementProcessors_Typography_Highlight_HighlightNode__WEBPACK_IMPORTED_MODULE_58__.HighlightNode, _ElementProcessors_Layout_Hr_HrNode__WEBPACK_IMPORTED_MODULE_59__.HrNode, _ElementProcessors_Typography_Icon_IconNode__WEBPACK_IMPORTED_MODULE_60__.IconNode, _ElementProcessors_Layout_Img_ImgNode__WEBPACK_IMPORTED_MODULE_62__.ImgNode, _ElementProcessors_Layout_InnerText_InnertextNode__WEBPACK_IMPORTED_MODULE_9__.InnertextNode, _ElementProcessors_ValueEditors_INN_INNNode__WEBPACK_IMPORTED_MODULE_63__.INNNode, _ElementProcessors_ValueEditors_Input_InputNode__WEBPACK_IMPORTED_MODULE_64__.InputNode, _ElementProcessors_Typography_Italic_ItalicNode__WEBPACK_IMPORTED_MODULE_65__.ItalicNode, _ElementProcessors_ValueEditors_Kladr_KladrNode__WEBPACK_IMPORTED_MODULE_67__.KladrNode, _ElementProcessors_Action_Link_LinkNode__WEBPACK_IMPORTED_MODULE_69__.LinkNode, _ElementProcessors_Layout_ListItem_ListItemNode__WEBPACK_IMPORTED_MODULE_66__.ListItemNode, _ElementProcessors_Layout_List_ListNode__WEBPACK_IMPORTED_MODULE_70__.ListNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_MenuNode__WEBPACK_IMPORTED_MODULE_34__.MenuNode, _ElementProcessors_Modal_ModalFormCancel_ModalFormCancelNode__WEBPACK_IMPORTED_MODULE_72__.ModalFormCancelNode, _ElementProcessors_Modal_ModalFormConfirm_ModalFormConfirmNode__WEBPACK_IMPORTED_MODULE_73__.ModalFormConfirmNode, _ElementProcessors_Modal_ModalFormLabel_ModalFormLabelNode__WEBPACK_IMPORTED_MODULE_74__.ModalFormLabelNode, _ElementProcessors_Modal_ModalForm_ModalFormNode__WEBPACK_IMPORTED_MODULE_71__.ModalFormNode, _ElementProcessors_MultiControls_Multilinefield_MultilineFieldNode__WEBPACK_IMPORTED_MODULE_75__.MultilineFieldNode, _ElementProcessors_Helpers_Normativehelp_NormativeHelpNode__WEBPACK_IMPORTED_MODULE_76__.NormativeHelpNode, _ElementProcessors_ControlFlow_Otherwise_OtherwiseNode__WEBPACK_IMPORTED_MODULE_77__.OtherwiseNode, _ElementProcessors_FormParts_Page_PageNode__WEBPACK_IMPORTED_MODULE_78__.PageNode, _ElementProcessors_FormParts_Form_Nodes_PanelNode__WEBPACK_IMPORTED_MODULE_49__.PanelNode, _ElementProcessors_Layout_Pencil_PencilNode__WEBPACK_IMPORTED_MODULE_79__.PencilNode, _ElementProcessors_ValueEditors_Picklist_PicklistNode__WEBPACK_IMPORTED_MODULE_80__.PicklistNode, _ElementProcessors_ValueEditors_TreePicklist_TreePicklistNode__WEBPACK_IMPORTED_MODULE_123__.TreePicklistNode, _ElementProcessors_ValueEditors_radio_RadioNode__WEBPACK_IMPORTED_MODULE_81__.RadioNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_RemoveButtonNode__WEBPACK_IMPORTED_MODULE_35__.RemoveButtonNode, _ElementProcessors_MultiControls_RemoveRowButton_RemoveRowButtonNode__WEBPACK_IMPORTED_MODULE_83__.RemoveRowButtonNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_ReplaceButtonNode__WEBPACK_IMPORTED_MODULE_36__.ReplaceButtonNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_ReplaceLineNode__WEBPACK_IMPORTED_MODULE_37__.ReplaceLineNode, _ElementProcessors_ValueEditors_Select_SelectNode__WEBPACK_IMPORTED_MODULE_84__.SelectNode, _ElementProcessors_Layout_SimpleTable_SimpleTableNode__WEBPACK_IMPORTED_MODULE_93__.SimpleTableNode, _ElementProcessors_MultiControls_SortRadioGroup_SortRadioGroupNode__WEBPACK_IMPORTED_MODULE_85__.SortRadioGroupNode, _ElementProcessors_ValueEditors_RadioGroup_RadioGroupNode__WEBPACK_IMPORTED_MODULE_82__.RadioGroupNode, _ElementProcessors_Layout_Spoiler_SpoilerNode__WEBPACK_IMPORTED_MODULE_86__.SpoilerNode, _ElementProcessors_MultiControls_StickyTable_StickyTableNode__WEBPACK_IMPORTED_MODULE_94__.StickyTableNode, _ElementProcessors_Typography_Strong_StrongNode__WEBPACK_IMPORTED_MODULE_87__.StrongNode, _ElementProcessors_Layout_Subheader_SubheaderNode__WEBPACK_IMPORTED_MODULE_89__.SubheaderNode, _ElementProcessors_Typography_Sub_SubNode__WEBPACK_IMPORTED_MODULE_88__.SubNode, _ElementProcessors_Typography_Sup_SupNode__WEBPACK_IMPORTED_MODULE_90__.SupNode, _ElementProcessors_ValueEditors_Textarea_TextAreaNode__WEBPACK_IMPORTED_MODULE_97__.TextAreaNode, _ElementProcessors_ValueEditors_popupTextArea_PopupTextAreaNode__WEBPACK_IMPORTED_MODULE_104__.PopupTextAreaNode, _ElementProcessors_FormParts_UnitItem_UnitItemNode__WEBPACK_IMPORTED_MODULE_98__.UnitItemNode, _ElementProcessors_FormParts_UnitList_UnitListNode__WEBPACK_IMPORTED_MODULE_99__.UnitListNode, _ElementProcessors_ValueViewers_ValueLength_ValueLengthNode__WEBPACK_IMPORTED_MODULE_100__.ValueLengthNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_ViewFileNode__WEBPACK_IMPORTED_MODULE_38__.ViewFileNode, _ElementProcessors_ControlFlow_VisibilityBlock_VisibilityBlockNode__WEBPACK_IMPORTED_MODULE_101__.VisibilityBlockNode, _ElementProcessors_Layout_Warning_WarningNode__WEBPACK_IMPORTED_MODULE_102__.WarningNode, _ElementProcessors_ControlFlow_When_WhenNode__WEBPACK_IMPORTED_MODULE_103__.WhenNode, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteNode__WEBPACK_IMPORTED_MODULE_31__.ExpertNoteNode, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteNode__WEBPACK_IMPORTED_MODULE_31__.MessageBoxNode, _ElementProcessors_Action_Link_LinkNode__WEBPACK_IMPORTED_MODULE_69__.LinkNode, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteNode__WEBPACK_IMPORTED_MODULE_31__.NameNode, _ElementProcessors_ValueViewers_Linetext_LineTextNode__WEBPACK_IMPORTED_MODULE_68__.LineTextNode, _ElementProcessors_ControlFlow_Captions_Short_ShortNode__WEBPACK_IMPORTED_MODULE_115__.ShortNode, _ElementProcessors_ControlFlow_Captions_Long_LongNode__WEBPACK_IMPORTED_MODULE_114__.LongNode, _ElementProcessors_ControlFlow_Captions_FillHint_FillHintNode__WEBPACK_IMPORTED_MODULE_116__.FillHintNode, _ElementProcessors_ControlFlow_If_IfNode__WEBPACK_IMPORTED_MODULE_61__.IfNode, _ElementProcessors_ControlFlow_If_IfNode__WEBPACK_IMPORTED_MODULE_61__.ElseNode, _ElementProcessors_ControlFlow_If_IfNode__WEBPACK_IMPORTED_MODULE_61__.ThenNode, _ElementProcessors_Layout_SimpleTable_SimpleTableNode__WEBPACK_IMPORTED_MODULE_93__.SimpleTableRowNode, _ElementProcessors_Layout_SimpleTable_SimpleTableNode__WEBPACK_IMPORTED_MODULE_93__.SimpleTableColumnNode, _ElementProcessors_Layout_Stack_StackNode__WEBPACK_IMPORTED_MODULE_4__.StackNode, _ElementProcessors_Layout_Grid_GridNode__WEBPACK_IMPORTED_MODULE_3__.GridNode, _ElementProcessors_MultiControls_StickyTable_StickyTableNode__WEBPACK_IMPORTED_MODULE_94__.StickyTableMultilineNode, _ElementProcessors_UnitParts_HeaderPanel_HeaderPanelNode__WEBPACK_IMPORTED_MODULE_8__.HeaderPanelNode, _ElementProcessors_Action_DropdownButton_DropdownButtonNode__WEBPACK_IMPORTED_MODULE_2__.DropdownButtonNode, _ElementProcessors_Action_Common_ActionNode__WEBPACK_IMPORTED_MODULE_118__.ActionNode, _ElementProcessors_MultiControls_Tabs_TabsNode__WEBPACK_IMPORTED_MODULE_7__.TabsNode, _ElementProcessors_ValueEditors_Fias_FiasNode__WEBPACK_IMPORTED_MODULE_0__.FiasNode, _ElementProcessors_MultiControls_FilterSelect_FilterSelectNode__WEBPACK_IMPORTED_MODULE_5__.FilterSelectNode, _ElementProcessors_MultiControls_Table2_Table2Node__WEBPACK_IMPORTED_MODULE_6__.Table2Node, _ElementProcessors_Layout_FixedTabs_FixedTabsNode__WEBPACK_IMPORTED_MODULE_107__.FixedTabsNode, _ElementProcessors_Layout_FixedTabs_FixedTabsNode__WEBPACK_IMPORTED_MODULE_107__.FixedTabNode, _ElementProcessors_MultiControls_Multiple_MultipleNode__WEBPACK_IMPORTED_MODULE_108__.MultipleNode, _ElementProcessors_Action_ExcelPastePanel_ExcelPastePanelNode__WEBPACK_IMPORTED_MODULE_109__.ExcelPastePanelNode, _ElementProcessors_ValueEditors_ReferencedFields_ReferencedFieldsNode__WEBPACK_IMPORTED_MODULE_110__.ReferencedFieldsNode, _ElementProcessors_FormParts_UserPicklist_UserPicklistNode__WEBPACK_IMPORTED_MODULE_111__.UserPicklistNode, _ElementProcessors_ValueEditors_TaxRebate_TaxRebateNode__WEBPACK_IMPORTED_MODULE_112__.TaxRebateNode, _ElementProcessors_FormParts_Banner_BannerNode__WEBPACK_IMPORTED_MODULE_113__.BannerNode, _ElementProcessors_ValueViewers_DateView_DateViewNode__WEBPACK_IMPORTED_MODULE_117__.DateViewNode, _ElementProcessors_Action_Kebab_KebabNode__WEBPACK_IMPORTED_MODULE_119__.KebabNode, _ElementProcessors_Helpers_Clue_InfoBlockNode__WEBPACK_IMPORTED_MODULE_120__.InfoBlockNode, _ElementProcessors_ValueEditors_SelectAllCheckbox_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_121__.SelectAllCheckboxNode, _ElementProcessors_ValueEditors_SelectCheckbox_SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_125__.SelectCheckboxNode, _ElementProcessors_MultiControls_InstanceNumber_InstanceNumberNode__WEBPACK_IMPORTED_MODULE_126__.InstanceNumberNode];
105914
+ return [_ElementProcessors_ValueViewers_Text_TextNode__WEBPACK_IMPORTED_MODULE_96__.TextNode, _ElementProcessors_ControlFlow_Switch_SwitchNode__WEBPACK_IMPORTED_MODULE_91__.SwitchNode, _ElementProcessors_ControlFlow_Switch_SwitchNode__WEBPACK_IMPORTED_MODULE_91__.SwitchDefaultNode, _ElementProcessors_ControlFlow_Switch_SwitchNode__WEBPACK_IMPORTED_MODULE_91__.SwitchCaseNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_AddButtonNode__WEBPACK_IMPORTED_MODULE_32__.AddButtonNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_AddLineNode__WEBPACK_IMPORTED_MODULE_33__.AddLineNode, _ElementProcessors_FormParts_AddPageButton_AddPageButtonNode__WEBPACK_IMPORTED_MODULE_10__.AddPageButtonNode, _ElementProcessors_MultiControls_AddRowButton_AddRowButtonNode__WEBPACK_IMPORTED_MODULE_11__.AddRowButtonNode, _ElementProcessors_Layout_Block_BlockNode__WEBPACK_IMPORTED_MODULE_12__.BlockNode, _ElementProcessors_Layout_Minitour_MinitourNode__WEBPACK_IMPORTED_MODULE_13__.MinitourNode, _ElementProcessors_Modal_Body_BodyNode__WEBPACK_IMPORTED_MODULE_14__.BodyNode, _ElementProcessors_Typography_Bold_BoldNode__WEBPACK_IMPORTED_MODULE_15__.BoldNode, _ElementProcessors_Layout_Br_BrNode__WEBPACK_IMPORTED_MODULE_16__.BrNode, _ElementProcessors_Action_Button_ButtonNode__WEBPACK_IMPORTED_MODULE_17__.ButtonNode, _ElementProcessors_Action_DownloadExcelButton_DownloadExcelButtonNode__WEBPACK_IMPORTED_MODULE_18__.DownloadExcelButtonNode, _ElementProcessors_Action_DropDownButtonLoadExcel_DropDownButtonLoadExcelNode__WEBPACK_IMPORTED_MODULE_19__.DropDownButtonLoadExcelNode, _ElementProcessors_FormParts_Caption_CaptionNode__WEBPACK_IMPORTED_MODULE_20__.CaptionNode, _ElementProcessors_ValueEditors_Checkbox_CheckboxNode__WEBPACK_IMPORTED_MODULE_21__.CheckboxNode, _ElementProcessors_ValueEditors_Toggle_ToggleNode__WEBPACK_IMPORTED_MODULE_22__.ToggleNode, _ElementProcessors_ControlFlow_Choice_ChoiceNode__WEBPACK_IMPORTED_MODULE_23__.ChoiceNode, _ElementProcessors_ValueEditors_Combobox_ComboBoxNode__WEBPACK_IMPORTED_MODULE_24__.ComboBoxNode, _ElementProcessors_FormParts_Content_ContentNode__WEBPACK_IMPORTED_MODULE_25__.ContentNode, _ElementProcessors_MultiControls_CrossfitTable_CrossfitTableNode__WEBPACK_IMPORTED_MODULE_92__.CrossfitTableNode, _ElementProcessors_FormParts_Cross_CrossNode__WEBPACK_IMPORTED_MODULE_26__.CrossNode, _ElementProcessors_ValueEditors_Date_DateNode__WEBPACK_IMPORTED_MODULE_27__.DateNode, _ElementProcessors_ValueEditors_DiadocSuggestComboBox_DiadocSuggestComboBoxNode__WEBPACK_IMPORTED_MODULE_29__.DiadocSuggestComboBoxNode, _ElementProcessors_Typography_Entity_EntityNode__WEBPACK_IMPORTED_MODULE_30__.EntityNode, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteNode__WEBPACK_IMPORTED_MODULE_31__.ExpertNoteNode, _ElementProcessors_ValueEditors_FileLoader_FileLoaderNode__WEBPACK_IMPORTED_MODULE_39__.FileLoaderNode, _ElementProcessors_MultiControls_FilterDateRange_FilterDateRangeNode__WEBPACK_IMPORTED_MODULE_40__.FilterDateRangeNode, _ElementProcessors_MultiControls_FilterInput_FilterInputNode__WEBPACK_IMPORTED_MODULE_41__.FilterInputNode, _ElementProcessors_MultiControls_FilterList_FilterListNode__WEBPACK_IMPORTED_MODULE_42__.FilterListNode, _ElementProcessors_ValueViewers_FIO_FIONode__WEBPACK_IMPORTED_MODULE_43__.FIONode, _ElementProcessors_Layout_Flexbox_FlexboxNode__WEBPACK_IMPORTED_MODULE_44__.FlexboxNode, _ElementProcessors_Modal_Footer_FooterNode__WEBPACK_IMPORTED_MODULE_45__.FooterNode, _ElementProcessors_FormParts_FormInfo_FormInfoNode__WEBPACK_IMPORTED_MODULE_50__.FormInfoNode, _ElementProcessors_FormParts_Form_FormNode__WEBPACK_IMPORTED_MODULE_46__.FormNode, _ElementProcessors_Typography_Gray_GrayNode__WEBPACK_IMPORTED_MODULE_51__.GrayNode, _ElementProcessors_Layout_GridCol_GridColNode__WEBPACK_IMPORTED_MODULE_52__.GridColNode, _ElementProcessors_Layout_GridRow_GridRowNode__WEBPACK_IMPORTED_MODULE_53__.GridRowNode, _ElementProcessors_MultiControls_HeaderMenu_HeaderMenuNode__WEBPACK_IMPORTED_MODULE_55__.HeaderMenuNode, _ElementProcessors_FormParts_Header_HeaderNode__WEBPACK_IMPORTED_MODULE_54__.HeaderNode, _ElementProcessors_Helpers_Helpinfo_HelpInfoNode__WEBPACK_IMPORTED_MODULE_57__.HelpInfoNode, _ElementProcessors_Helpers_Help_HelpNode__WEBPACK_IMPORTED_MODULE_56__.HelpNode, _ElementProcessors_Typography_Highlight_HighlightNode__WEBPACK_IMPORTED_MODULE_58__.HighlightNode, _ElementProcessors_Layout_Hr_HrNode__WEBPACK_IMPORTED_MODULE_59__.HrNode, _ElementProcessors_Typography_Icon_IconNode__WEBPACK_IMPORTED_MODULE_60__.IconNode, _ElementProcessors_Layout_Img_ImgNode__WEBPACK_IMPORTED_MODULE_62__.ImgNode, _ElementProcessors_Layout_InnerText_InnertextNode__WEBPACK_IMPORTED_MODULE_9__.InnertextNode, _ElementProcessors_ValueEditors_INN_INNNode__WEBPACK_IMPORTED_MODULE_63__.INNNode, _ElementProcessors_ValueEditors_Input_InputNode__WEBPACK_IMPORTED_MODULE_64__.InputNode, _ElementProcessors_Typography_Italic_ItalicNode__WEBPACK_IMPORTED_MODULE_65__.ItalicNode, _ElementProcessors_ValueEditors_Kladr_KladrNode__WEBPACK_IMPORTED_MODULE_67__.KladrNode, _ElementProcessors_Action_Link_LinkNode__WEBPACK_IMPORTED_MODULE_69__.LinkNode, _ElementProcessors_Layout_ListItem_ListItemNode__WEBPACK_IMPORTED_MODULE_66__.ListItemNode, _ElementProcessors_Layout_List_ListNode__WEBPACK_IMPORTED_MODULE_70__.ListNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_MenuNode__WEBPACK_IMPORTED_MODULE_34__.MenuNode, _ElementProcessors_Modal_ModalFormCancel_ModalFormCancelNode__WEBPACK_IMPORTED_MODULE_72__.ModalFormCancelNode, _ElementProcessors_Modal_ModalFormConfirm_ModalFormConfirmNode__WEBPACK_IMPORTED_MODULE_73__.ModalFormConfirmNode, _ElementProcessors_Modal_ModalFormLabel_ModalFormLabelNode__WEBPACK_IMPORTED_MODULE_74__.ModalFormLabelNode, _ElementProcessors_Modal_ModalForm_ModalFormNode__WEBPACK_IMPORTED_MODULE_71__.ModalFormNode, _ElementProcessors_MultiControls_Multilinefield_MultilineFieldNode__WEBPACK_IMPORTED_MODULE_75__.MultilineFieldNode, _ElementProcessors_Helpers_Normativehelp_NormativeHelpNode__WEBPACK_IMPORTED_MODULE_76__.NormativeHelpNode, _ElementProcessors_ControlFlow_Otherwise_OtherwiseNode__WEBPACK_IMPORTED_MODULE_77__.OtherwiseNode, _ElementProcessors_FormParts_Page_PageNode__WEBPACK_IMPORTED_MODULE_78__.PageNode, _ElementProcessors_FormParts_Form_Nodes_PanelNode__WEBPACK_IMPORTED_MODULE_49__.PanelNode, _ElementProcessors_Layout_Pencil_PencilNode__WEBPACK_IMPORTED_MODULE_79__.PencilNode, _ElementProcessors_ValueEditors_Picklist_PicklistNode__WEBPACK_IMPORTED_MODULE_80__.PicklistNode, _ElementProcessors_ValueEditors_TreePicklist_TreePicklistNode__WEBPACK_IMPORTED_MODULE_123__.TreePicklistNode, _ElementProcessors_ValueEditors_radio_RadioNode__WEBPACK_IMPORTED_MODULE_81__.RadioNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_RemoveButtonNode__WEBPACK_IMPORTED_MODULE_35__.RemoveButtonNode, _ElementProcessors_MultiControls_RemoveRowButton_RemoveRowButtonNode__WEBPACK_IMPORTED_MODULE_83__.RemoveRowButtonNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_ReplaceButtonNode__WEBPACK_IMPORTED_MODULE_36__.ReplaceButtonNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_ReplaceLineNode__WEBPACK_IMPORTED_MODULE_37__.ReplaceLineNode, _ElementProcessors_ValueEditors_Select_SelectNode__WEBPACK_IMPORTED_MODULE_84__.SelectNode, _ElementProcessors_Layout_SimpleTable_SimpleTableNode__WEBPACK_IMPORTED_MODULE_93__.SimpleTableNode, _ElementProcessors_MultiControls_SortRadioGroup_SortRadioGroupNode__WEBPACK_IMPORTED_MODULE_85__.SortRadioGroupNode, _ElementProcessors_ValueEditors_RadioGroup_RadioGroupNode__WEBPACK_IMPORTED_MODULE_82__.RadioGroupNode, _ElementProcessors_Layout_Spoiler_SpoilerNode__WEBPACK_IMPORTED_MODULE_86__.SpoilerNode, _ElementProcessors_MultiControls_StickyTable_StickyTableNode__WEBPACK_IMPORTED_MODULE_94__.StickyTableNode, _ElementProcessors_Typography_Strong_StrongNode__WEBPACK_IMPORTED_MODULE_87__.StrongNode, _ElementProcessors_Layout_Subheader_SubheaderNode__WEBPACK_IMPORTED_MODULE_89__.SubheaderNode, _ElementProcessors_Typography_Sub_SubNode__WEBPACK_IMPORTED_MODULE_88__.SubNode, _ElementProcessors_Typography_Sup_SupNode__WEBPACK_IMPORTED_MODULE_90__.SupNode, _ElementProcessors_ValueEditors_Textarea_TextAreaNode__WEBPACK_IMPORTED_MODULE_97__.TextAreaNode, _ElementProcessors_ValueEditors_popupTextArea_PopupTextAreaNode__WEBPACK_IMPORTED_MODULE_104__.PopupTextAreaNode, _ElementProcessors_FormParts_UnitItem_UnitItemNode__WEBPACK_IMPORTED_MODULE_98__.UnitItemNode, _ElementProcessors_FormParts_UnitList_UnitListNode__WEBPACK_IMPORTED_MODULE_99__.UnitListNode, _ElementProcessors_ValueViewers_ValueLength_ValueLengthNode__WEBPACK_IMPORTED_MODULE_100__.ValueLengthNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_ViewFileNode__WEBPACK_IMPORTED_MODULE_38__.ViewFileNode, _ElementProcessors_ControlFlow_VisibilityBlock_VisibilityBlockNode__WEBPACK_IMPORTED_MODULE_101__.VisibilityBlockNode, _ElementProcessors_Layout_Warning_WarningNode__WEBPACK_IMPORTED_MODULE_102__.WarningNode, _ElementProcessors_ControlFlow_When_WhenNode__WEBPACK_IMPORTED_MODULE_103__.WhenNode, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteNode__WEBPACK_IMPORTED_MODULE_31__.ExpertNoteNode, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteNode__WEBPACK_IMPORTED_MODULE_31__.MessageBoxNode, _ElementProcessors_Action_Link_LinkNode__WEBPACK_IMPORTED_MODULE_69__.LinkNode, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteNode__WEBPACK_IMPORTED_MODULE_31__.NameNode, _ElementProcessors_ValueViewers_Linetext_LineTextNode__WEBPACK_IMPORTED_MODULE_68__.LineTextNode, _ElementProcessors_ControlFlow_Captions_Short_ShortNode__WEBPACK_IMPORTED_MODULE_115__.ShortNode, _ElementProcessors_ControlFlow_Captions_Long_LongNode__WEBPACK_IMPORTED_MODULE_114__.LongNode, _ElementProcessors_ControlFlow_Captions_FillHint_FillHintNode__WEBPACK_IMPORTED_MODULE_116__.FillHintNode, _ElementProcessors_ControlFlow_If_IfNode__WEBPACK_IMPORTED_MODULE_61__.IfNode, _ElementProcessors_ControlFlow_If_IfNode__WEBPACK_IMPORTED_MODULE_61__.ElseNode, _ElementProcessors_ControlFlow_If_IfNode__WEBPACK_IMPORTED_MODULE_61__.ThenNode, _ElementProcessors_Layout_SimpleTable_SimpleTableNode__WEBPACK_IMPORTED_MODULE_93__.SimpleTableRowNode, _ElementProcessors_Layout_SimpleTable_SimpleTableNode__WEBPACK_IMPORTED_MODULE_93__.SimpleTableColumnNode, _ElementProcessors_Layout_Stack_StackNode__WEBPACK_IMPORTED_MODULE_4__.StackNode, _ElementProcessors_Layout_Grid_GridNode__WEBPACK_IMPORTED_MODULE_3__.GridNode, _ElementProcessors_MultiControls_StickyTable_StickyTableNode__WEBPACK_IMPORTED_MODULE_94__.StickyTableMultilineNode, _ElementProcessors_UnitParts_HeaderPanel_HeaderPanelNode__WEBPACK_IMPORTED_MODULE_8__.HeaderPanelNode, _ElementProcessors_Action_DropdownButton_DropdownButtonNode__WEBPACK_IMPORTED_MODULE_2__.DropdownButtonNode, _ElementProcessors_Action_Common_ActionNode__WEBPACK_IMPORTED_MODULE_118__.ActionNode, _ElementProcessors_MultiControls_Tabs_TabsNode__WEBPACK_IMPORTED_MODULE_7__.TabsNode, _ElementProcessors_ValueEditors_Fias_FiasNode__WEBPACK_IMPORTED_MODULE_0__.FiasNode, _ElementProcessors_MultiControls_FilterSelect_FilterSelectNode__WEBPACK_IMPORTED_MODULE_5__.FilterSelectNode, _ElementProcessors_MultiControls_Table2_Table2Node__WEBPACK_IMPORTED_MODULE_6__.Table2Node, _ElementProcessors_Layout_FixedTabs_FixedTabsNode__WEBPACK_IMPORTED_MODULE_107__.FixedTabsNode, _ElementProcessors_Layout_FixedTabs_FixedTabsNode__WEBPACK_IMPORTED_MODULE_107__.FixedTabNode, _ElementProcessors_MultiControls_Multiple_MultipleNode__WEBPACK_IMPORTED_MODULE_108__.MultipleNode, _ElementProcessors_Action_ExcelPastePanel_ExcelPastePanelNode__WEBPACK_IMPORTED_MODULE_109__.ExcelPastePanelNode, _ElementProcessors_ValueEditors_ReferencedFields_ReferencedFieldsNode__WEBPACK_IMPORTED_MODULE_110__.ReferencedFieldsNode, _ElementProcessors_FormParts_UserPicklist_UserPicklistNode__WEBPACK_IMPORTED_MODULE_111__.UserPicklistNode, _ElementProcessors_ValueEditors_TaxRebate_TaxRebateNode__WEBPACK_IMPORTED_MODULE_112__.TaxRebateNode, _ElementProcessors_FormParts_Banner_BannerNode__WEBPACK_IMPORTED_MODULE_113__.BannerNode, _ElementProcessors_ValueViewers_DateView_DateViewNode__WEBPACK_IMPORTED_MODULE_117__.DateViewNode, _ElementProcessors_Action_Kebab_KebabNode__WEBPACK_IMPORTED_MODULE_119__.KebabNode, _ElementProcessors_Helpers_Clue_InfoBlockNode__WEBPACK_IMPORTED_MODULE_120__.InfoBlockNode, _ElementProcessors_ValueEditors_SelectAllCheckbox_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_121__.SelectAllCheckboxNode, _ElementProcessors_ValueEditors_SelectCheckbox_SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_125__.SelectCheckboxNode, _ElementProcessors_MultiControls_InstanceNumber_InstanceNumberNode__WEBPACK_IMPORTED_MODULE_126__.InstanceNumberNode, _ElementProcessors_Layout_OptionalBlock_OptionalBlockNode__WEBPACK_IMPORTED_MODULE_127__.OptionalBlockNode];
105165
105915
  }
105166
105916
  function getAllSchemaRngNodeClasses() {
105167
105917
  return [_common_SchemaRng_Nodes_SchemaRngRoot__WEBPACK_IMPORTED_MODULE_122__.SchemaRngElement, _common_SchemaRng_Nodes_SchemaRngRoot__WEBPACK_IMPORTED_MODULE_122__.SchemaRngElementChoiceElement, _common_SchemaRng_Nodes_SchemaRngRoot__WEBPACK_IMPORTED_MODULE_122__.SchemaRngInnerText, _common_SchemaRng_Nodes_SchemaRngRoot__WEBPACK_IMPORTED_MODULE_122__.SchemaRngAttribute, _common_SchemaRng_Nodes_SchemaRngRoot__WEBPACK_IMPORTED_MODULE_122__.SchemaRngType, _common_SchemaRng_Nodes_SchemaRngRoot__WEBPACK_IMPORTED_MODULE_122__.MaxinclusiveTypeCheck, _common_SchemaRng_Nodes_SchemaRngRoot__WEBPACK_IMPORTED_MODULE_122__.MininclusiveTypeCheck, _common_SchemaRng_Nodes_SchemaRngRoot__WEBPACK_IMPORTED_MODULE_122__.FractiondigitsTypeCheck, _common_SchemaRng_Nodes_SchemaRngRoot__WEBPACK_IMPORTED_MODULE_122__.IntegerdigitsTypeCheck, _common_SchemaRng_Nodes_SchemaRngRoot__WEBPACK_IMPORTED_MODULE_122__.TotaldigitsTypeCheck, _common_SchemaRng_Nodes_SchemaRngRoot__WEBPACK_IMPORTED_MODULE_122__.MaxlengthTypeCheck, _common_SchemaRng_Nodes_SchemaRngRoot__WEBPACK_IMPORTED_MODULE_122__.MinlengthTypeCheck, _common_SchemaRng_Nodes_SchemaRngRoot__WEBPACK_IMPORTED_MODULE_122__.LengthTypeCheck, _common_SchemaRng_Nodes_SchemaRngRoot__WEBPACK_IMPORTED_MODULE_122__.EnumerationTypeCheck, _common_SchemaRng_Nodes_SchemaRngRoot__WEBPACK_IMPORTED_MODULE_122__.PatternTypeCheck];
@@ -134991,16 +135741,6 @@ module.exports = "";
134991
135741
 
134992
135742
  /***/ }),
134993
135743
 
134994
- /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/FormInfo/description.md":
134995
- /*!******************************************************************************************************!*\
134996
- !*** ./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/FormInfo/description.md ***!
134997
- \******************************************************************************************************/
134998
- /***/ ((module) => {
134999
-
135000
- module.exports = "Элемент для отображения информации из классификации: `Форма по КНД ${КНД}, {description}, версия формата ${fp:ВерсФорм | fp:specVersion |fp:F4FORM_version}`.\n\nЕсли у формы нет КНД (например, ФСС), то указывается атрибут `name` с названием формы.\n\nДля форм статистической отчетности неактуально.\n";
135001
-
135002
- /***/ }),
135003
-
135004
135744
  /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/description.md":
135005
135745
  /*!**************************************************************************************************!*\
135006
135746
  !*** ./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/description.md ***!
@@ -135011,6 +135751,16 @@ module.exports = "`templates=\"true\"` включает шаблоны (в candy
135011
135751
 
135012
135752
  /***/ }),
135013
135753
 
135754
+ /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/FormInfo/description.md":
135755
+ /*!******************************************************************************************************!*\
135756
+ !*** ./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/FormInfo/description.md ***!
135757
+ \******************************************************************************************************/
135758
+ /***/ ((module) => {
135759
+
135760
+ module.exports = "Элемент для отображения информации из классификации: `Форма по КНД ${КНД}, {description}, версия формата ${fp:ВерсФорм | fp:specVersion |fp:F4FORM_version}`.\n\nЕсли у формы нет КНД (например, ФСС), то указывается атрибут `name` с названием формы.\n\nДля форм статистической отчетности неактуально.\n";
135761
+
135762
+ /***/ }),
135763
+
135014
135764
  /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Page/description.md":
135015
135765
  /*!**************************************************************************************************!*\
135016
135766
  !*** ./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Page/description.md ***!
@@ -135091,6 +135841,16 @@ module.exports = "Выравнивание по базвой линии не в
135091
135841
 
135092
135842
  /***/ }),
135093
135843
 
135844
+ /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalForm/description.md":
135845
+ /*!***************************************************************************************************!*\
135846
+ !*** ./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalForm/description.md ***!
135847
+ \***************************************************************************************************/
135848
+ /***/ ((module) => {
135849
+
135850
+ module.exports = "Модальное окно с компонентами из сахара. \n\nВ `<modalformlabel>` указывается контролы, при клике на которых открывется модальное окно, которые описывается в теге `<modalform>` вместе с остальными детьми.\n\nМодальные окна поддерживают вложенность.\n\nЗаголовок можно задать с помощью `<header>` или атрибута header в modalform.\nМожно не указывать `<footer>`, в этом случае отобразится дефолтный с кнопками \"Сохранить\" и \"Отменить\".\nФутер может содержать элементы `<modalformconfirm>` и `<modalformcancel>` и при клике на них вызваются действия \"Сохранить\" или \"Отменить\".\nТег `<body>` содержит основной контент модального окна.\n\nПример:\n```html\n<modalformlabel>\n <button path=\"button\">Открыть модальное окно</button>\n <modalform width=\"800\" footerPanel=\"true\">\n <header>\n ...Настраиваемый из сахара заголовк\n </header>\n <body>\n ...Контент в форме\n </body>\n <footer>\n ...Настраиваемый из сахара футер\n <modalformconfirm>\n <button use=\"primary\" size=\"medium\">\n Подтвердить\n </button>\n </modalformconfirm>\n <modalformcancel>\n <button use=\"link\" path=\"button\">\n Отменить\n </button>\n </modalformcancel>\n </footer>\n </modalform>\n</modalformlabel>\n```\n\nЕсли нужно игнорировать валидацию какого-либо контрола внутри модалки (например, какого-то текста), можно указать атрибут excludedVerifiablePath. Тогда путь, указанный в атрибуте, не бует валиироваться.\nПример:\n```html\n<modalform width=\"1050\" footerPanel=\"true\" excludedVerifiablePath=\"НаимВпсПкз\">\n <header>\n Детализация вписываемых показателей\n <subheader>\n $[caption]\n <text path=\"НаимВпсПкз\" />\n </subheader>\n </header>\n ...\n</modalform>\n```";
135851
+
135852
+ /***/ }),
135853
+
135094
135854
  /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalFormCancel/description.md":
135095
135855
  /*!*********************************************************************************************************!*\
135096
135856
  !*** ./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalFormCancel/description.md ***!
@@ -135121,16 +135881,6 @@ module.exports = "Обязательно должен содержать <modalf
135121
135881
 
135122
135882
  /***/ }),
135123
135883
 
135124
- /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalForm/description.md":
135125
- /*!***************************************************************************************************!*\
135126
- !*** ./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalForm/description.md ***!
135127
- \***************************************************************************************************/
135128
- /***/ ((module) => {
135129
-
135130
- module.exports = "Модальное окно с компонентами из сахара. \n\nВ `<modalformlabel>` указывается контролы, при клике на которых открывется модальное окно, которые описывается в теге `<modalform>` вместе с остальными детьми.\n\nМодальные окна поддерживают вложенность.\n\nЗаголовок можно задать с помощью `<header>` или атрибута header в modalform.\nМожно не указывать `<footer>`, в этом случае отобразится дефолтный с кнопками \"Сохранить\" и \"Отменить\".\nФутер может содержать элементы `<modalformconfirm>` и `<modalformcancel>` и при клике на них вызваются действия \"Сохранить\" или \"Отменить\".\nТег `<body>` содержит основной контент модального окна.\n\nПример:\n```html\n<modalformlabel>\n <button path=\"button\">Открыть модальное окно</button>\n <modalform width=\"800\" footerPanel=\"true\">\n <header>\n ...Настраиваемый из сахара заголовк\n </header>\n <body>\n ...Контент в форме\n </body>\n <footer>\n ...Настраиваемый из сахара футер\n <modalformconfirm>\n <button use=\"primary\" size=\"medium\">\n Подтвердить\n </button>\n </modalformconfirm>\n <modalformcancel>\n <button use=\"link\" path=\"button\">\n Отменить\n </button>\n </modalformcancel>\n </footer>\n </modalform>\n</modalformlabel>\n```\n\nЕсли нужно игнорировать валидацию какого-либо контрола внутри модалки (например, какого-то текста), можно указать атрибут excludedVerifiablePath. Тогда путь, указанный в атрибуте, не бует валиироваться.\nПример:\n```html\n<modalform width=\"1050\" footerPanel=\"true\" excludedVerifiablePath=\"НаимВпсПкз\">\n <header>\n Детализация вписываемых показателей\n <subheader>\n $[caption]\n <text path=\"НаимВпсПкз\" />\n </subheader>\n </header>\n ...\n</modalform>\n```";
135131
-
135132
- /***/ }),
135133
-
135134
135884
  /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/FilterDateRange/example.md":
135135
135885
  /*!*************************************************************************************************************!*\
135136
135886
  !*** ./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/FilterDateRange/example.md ***!