@kontur.candy/generator 5.92.0-progress-bar-normalization.2 → 5.92.0-progress-bar-normalization.3

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 +1220 -1220
  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$ ***!
@@ -61195,7 +61195,7 @@ class DefaultKCLangExpressionVisitor {
61195
61195
  // this file was prevaled
61196
61196
  /* eslint-disable */
61197
61197
  // @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})()";
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) {\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
61199
 
61200
61200
  /***/ }),
61201
61201
 
@@ -81541,85 +81541,6 @@ let DefaultContentNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTE
81541
81541
 
81542
81542
  /***/ }),
81543
81543
 
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
81544
  /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/FormConverter.ts":
81624
81545
  /*!****************************************************************************************************!*\
81625
81546
  !*** ./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/FormConverter.ts ***!
@@ -82701,6 +82622,85 @@ let TypeListNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODU
82701
82622
 
82702
82623
  /***/ }),
82703
82624
 
82625
+ /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/FormInfo/FormInfoConverter.ts":
82626
+ /*!************************************************************************************************************!*\
82627
+ !*** ./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/FormInfo/FormInfoConverter.ts ***!
82628
+ \************************************************************************************************************/
82629
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
82630
+
82631
+ "use strict";
82632
+ __webpack_require__.r(__webpack_exports__);
82633
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
82634
+ /* harmony export */ FormInfoConverter: () => (/* binding */ FormInfoConverter)
82635
+ /* harmony export */ });
82636
+ /* harmony import */ var _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../DataDeclarationGenerator/DataDeclarationGenerationContext */ "./Generator/src/generators/DataDeclarationGenerator/DataDeclarationGenerationContext.ts");
82637
+ /* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
82638
+ /* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
82639
+ /* harmony import */ var _FormInfoNode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./FormInfoNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/FormInfo/FormInfoNode.ts");
82640
+
82641
+
82642
+
82643
+
82644
+ class FormInfoConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.SugarNodeConverterBase {
82645
+ static getAcceptNodeClass() {
82646
+ return _FormInfoNode__WEBPACK_IMPORTED_MODULE_3__.FormInfoNode;
82647
+ }
82648
+ doBuildDataDeclaration(context) {
82649
+ return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
82650
+ }
82651
+ buildChildrenDataDeclaration(context) {
82652
+ return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
82653
+ }
82654
+ *doTraverseChildren() {
82655
+ // no children
82656
+ }
82657
+ doConvert(context) {
82658
+ const node = this.getCurrentNodeAs(_FormInfoNode__WEBPACK_IMPORTED_MODULE_3__.FormInfoNode);
82659
+ const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__.componentMarkupBuilder)("FormInfo");
82660
+ markupBuilder.prop(x => x.name).set(node.name);
82661
+ return markupBuilder.buildConverterResult();
82662
+ }
82663
+ }
82664
+
82665
+ /***/ }),
82666
+
82667
+ /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/FormInfo/FormInfoNode.ts":
82668
+ /*!*******************************************************************************************************!*\
82669
+ !*** ./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/FormInfo/FormInfoNode.ts ***!
82670
+ \*******************************************************************************************************/
82671
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
82672
+
82673
+ "use strict";
82674
+ __webpack_require__.r(__webpack_exports__);
82675
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
82676
+ /* harmony export */ FormInfoNode: () => (/* binding */ FormInfoNode)
82677
+ /* harmony export */ });
82678
+ /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/initializerDefineProperty */ "./node_modules/@babel/runtime/helpers/initializerDefineProperty.js");
82679
+ /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__);
82680
+ /* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/applyDecoratedDescriptor */ "./node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js");
82681
+ /* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__);
82682
+ /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/initializerWarningHelper */ "./node_modules/@babel/runtime/helpers/initializerWarningHelper.js");
82683
+ /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
82684
+ /* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
82685
+
82686
+
82687
+
82688
+ var _dec, _dec2, _class, _class2, _descriptor;
82689
+
82690
+ 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 {
82691
+ constructor(...args) {
82692
+ super(...args);
82693
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "name", _descriptor, this);
82694
+ }
82695
+ }, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "name", [_dec2], {
82696
+ configurable: true,
82697
+ enumerable: true,
82698
+ writable: true,
82699
+ initializer: null
82700
+ }), _class2)) || _class);
82701
+
82702
+ /***/ }),
82703
+
82704
82704
  /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/GlobalModal/GlobalModalsConverter.ts":
82705
82705
  /*!*******************************************************************************************************************!*\
82706
82706
  !*** ./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/GlobalModal/GlobalModalsConverter.ts ***!
@@ -85347,6 +85347,165 @@ let FlexboxNode = (_dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MOD
85347
85347
 
85348
85348
  /***/ }),
85349
85349
 
85350
+ /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Grid/GridConverter.ts":
85351
+ /*!*************************************************************************************************!*\
85352
+ !*** ./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Grid/GridConverter.ts ***!
85353
+ \*************************************************************************************************/
85354
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
85355
+
85356
+ "use strict";
85357
+ __webpack_require__.r(__webpack_exports__);
85358
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
85359
+ /* harmony export */ GridConverter: () => (/* binding */ GridConverter)
85360
+ /* harmony export */ });
85361
+ /* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
85362
+ /* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
85363
+ /* harmony import */ var _GridNode__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./GridNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Grid/GridNode.ts");
85364
+
85365
+
85366
+
85367
+ class GridConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.SugarNodeConverterBase {
85368
+ static getAcceptNodeClass() {
85369
+ return _GridNode__WEBPACK_IMPORTED_MODULE_2__.GridNode;
85370
+ }
85371
+ doBuildDataDeclaration(context) {
85372
+ const node = this.getCurrentNodeAs(_GridNode__WEBPACK_IMPORTED_MODULE_2__.GridNode);
85373
+ return context.mergeDataDeclaration(node.dataScope.path && context.addPathSectionDeclarationEntry(node));
85374
+ }
85375
+ buildChildrenDataDeclaration(context) {
85376
+ const node = this.getCurrentNodeAs(_GridNode__WEBPACK_IMPORTED_MODULE_2__.GridNode);
85377
+ return context.processChildrenDataDeclaration(Iterator.from(node.columns).map(x => x.children).flatMap(x => x));
85378
+ }
85379
+ *doTraverseChildren() {
85380
+ const node = this.getCurrentNodeAs(_GridNode__WEBPACK_IMPORTED_MODULE_2__.GridNode);
85381
+ yield* Iterator.from(node.columns).map(x => x.children).flatMap(x => x);
85382
+ }
85383
+ doConvert(context) {
85384
+ const node = this.getCurrentNodeAs(_GridNode__WEBPACK_IMPORTED_MODULE_2__.GridNode);
85385
+ const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__.componentMarkupBuilder)("Grid");
85386
+ markupBuilder.prop(x => x.gap).set(node.gap);
85387
+ markupBuilder.prop(x => x.baseline).set(node.baseline);
85388
+ markupBuilder.prop(x => x.top).set(node.top);
85389
+ for (const column of node.columns) {
85390
+ const columnBuilder = markupBuilder.createChild("GridColumn");
85391
+ columnBuilder.prop(x => x.size).set(column.size);
85392
+ columnBuilder.prop(x => x.horizontalAlign).set(column.horizontalAlign);
85393
+ columnBuilder.prop(x => x.textTopPadding).set(column.textTopPadding);
85394
+ columnBuilder.appendChild(context.convertChildNodes(column.children));
85395
+ }
85396
+ return markupBuilder.buildConverterResult();
85397
+ }
85398
+ }
85399
+
85400
+ /***/ }),
85401
+
85402
+ /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Grid/GridNode.ts":
85403
+ /*!********************************************************************************************!*\
85404
+ !*** ./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Grid/GridNode.ts ***!
85405
+ \********************************************************************************************/
85406
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
85407
+
85408
+ "use strict";
85409
+ __webpack_require__.r(__webpack_exports__);
85410
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
85411
+ /* harmony export */ GridColumnNode: () => (/* binding */ GridColumnNode),
85412
+ /* harmony export */ GridNode: () => (/* binding */ GridNode)
85413
+ /* harmony export */ });
85414
+ /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/initializerDefineProperty */ "./node_modules/@babel/runtime/helpers/initializerDefineProperty.js");
85415
+ /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__);
85416
+ /* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/applyDecoratedDescriptor */ "./node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js");
85417
+ /* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__);
85418
+ /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/initializerWarningHelper */ "./node_modules/@babel/runtime/helpers/initializerWarningHelper.js");
85419
+ /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
85420
+ /* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
85421
+ /* harmony import */ var _CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../CommonNodeProperties/DataBindingMixinNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/DataBindingMixinNode.ts");
85422
+ /* harmony import */ var _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../Serializer/SugarNodeWithLegacyVisibility */ "./Generator/src/generators/markupGenerator/Serializer/SugarNodeWithLegacyVisibility.ts");
85423
+
85424
+
85425
+
85426
+ 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;
85427
+
85428
+
85429
+
85430
+ 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 {
85431
+ constructor(...args) {
85432
+ super(...args);
85433
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataScope", _descriptor, this);
85434
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "size", _descriptor2, this);
85435
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "horizontalAlign", _descriptor3, this);
85436
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "textTopPadding", _descriptor4, this);
85437
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor5, this);
85438
+ }
85439
+ getOwnPath() {
85440
+ return this.dataScope.getOwnPath();
85441
+ }
85442
+ }, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "dataScope", [_dec2], {
85443
+ configurable: true,
85444
+ enumerable: true,
85445
+ writable: true,
85446
+ initializer: null
85447
+ }), _descriptor2 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "size", [_dec3], {
85448
+ configurable: true,
85449
+ enumerable: true,
85450
+ writable: true,
85451
+ initializer: null
85452
+ }), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "horizontalAlign", [_dec4], {
85453
+ configurable: true,
85454
+ enumerable: true,
85455
+ writable: true,
85456
+ initializer: null
85457
+ }), _descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "textTopPadding", [_dec5], {
85458
+ configurable: true,
85459
+ enumerable: true,
85460
+ writable: true,
85461
+ initializer: null
85462
+ }), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec6], {
85463
+ configurable: true,
85464
+ enumerable: true,
85465
+ writable: true,
85466
+ initializer: null
85467
+ }), _class2)) || _class);
85468
+ 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 {
85469
+ constructor(...args) {
85470
+ super(...args);
85471
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataScope", _descriptor6, this);
85472
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "gap", _descriptor7, this);
85473
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "baseline", _descriptor8, this);
85474
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "top", _descriptor9, this);
85475
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "columns", _descriptor10, this);
85476
+ }
85477
+ getOwnPath() {
85478
+ return this.dataScope.getOwnPath();
85479
+ }
85480
+ }, _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "dataScope", [_dec8], {
85481
+ configurable: true,
85482
+ enumerable: true,
85483
+ writable: true,
85484
+ initializer: null
85485
+ }), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "gap", [_dec9], {
85486
+ configurable: true,
85487
+ enumerable: true,
85488
+ writable: true,
85489
+ initializer: null
85490
+ }), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "baseline", [_dec10], {
85491
+ configurable: true,
85492
+ enumerable: true,
85493
+ writable: true,
85494
+ initializer: null
85495
+ }), _descriptor9 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "top", [_dec11], {
85496
+ configurable: true,
85497
+ enumerable: true,
85498
+ writable: true,
85499
+ initializer: null
85500
+ }), _descriptor10 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "columns", [_dec12], {
85501
+ configurable: true,
85502
+ enumerable: true,
85503
+ writable: true,
85504
+ initializer: null
85505
+ }), _class4)) || _class3);
85506
+
85507
+ /***/ }),
85508
+
85350
85509
  /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/GridCol/GridColConverter.ts":
85351
85510
  /*!*******************************************************************************************************!*\
85352
85511
  !*** ./Generator/src/generators/markupGenerator/ElementProcessors/Layout/GridCol/GridColConverter.ts ***!
@@ -85734,165 +85893,6 @@ let GridRowNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODUL
85734
85893
 
85735
85894
  /***/ }),
85736
85895
 
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
85896
  /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Hr/HrConverter.ts":
85897
85897
  /*!*********************************************************************************************!*\
85898
85898
  !*** ./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Hr/HrConverter.ts ***!
@@ -86201,6 +86201,140 @@ let InnertextNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MOD
86201
86201
 
86202
86202
  /***/ }),
86203
86203
 
86204
+ /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/List/ListConverter.ts":
86205
+ /*!*************************************************************************************************!*\
86206
+ !*** ./Generator/src/generators/markupGenerator/ElementProcessors/Layout/List/ListConverter.ts ***!
86207
+ \*************************************************************************************************/
86208
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
86209
+
86210
+ "use strict";
86211
+ __webpack_require__.r(__webpack_exports__);
86212
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
86213
+ /* harmony export */ ListConverter: () => (/* binding */ ListConverter)
86214
+ /* harmony export */ });
86215
+ /* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
86216
+ /* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
86217
+ /* harmony import */ var _ListNode__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ListNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/List/ListNode.ts");
86218
+
86219
+
86220
+
86221
+ class ListConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.SugarNodeConverterBase {
86222
+ static getAcceptNodeClass() {
86223
+ return _ListNode__WEBPACK_IMPORTED_MODULE_2__.ListNode;
86224
+ }
86225
+ doBuildDataDeclaration(context) {
86226
+ const node = this.getCurrentNodeAs(_ListNode__WEBPACK_IMPORTED_MODULE_2__.ListNode);
86227
+ return context.mergeDataDeclaration(context.addPathSectionDeclarationEntry(node), context.addVisibilityPathDeclEntryNew(node));
86228
+ }
86229
+ buildChildrenDataDeclaration(context) {
86230
+ const node = this.getCurrentNodeAs(_ListNode__WEBPACK_IMPORTED_MODULE_2__.ListNode);
86231
+ return context.processChildrenDataDeclaration(node.items);
86232
+ }
86233
+ *doTraverseChildren() {
86234
+ const node = this.getCurrentNodeAs(_ListNode__WEBPACK_IMPORTED_MODULE_2__.ListNode);
86235
+ yield* node.items;
86236
+ }
86237
+ doConvert(context) {
86238
+ const node = this.getCurrentNodeAs(_ListNode__WEBPACK_IMPORTED_MODULE_2__.ListNode);
86239
+ const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__.componentMarkupBuilder)("List");
86240
+ markupBuilder.prop(x => x.bullet).set(node.bullet);
86241
+ markupBuilder.prop(x => x.dash).set(node.dash);
86242
+ markupBuilder.prop(x => x.inline).set(node.inline);
86243
+ markupBuilder.appendChild(context.convertChildNodes(node.items));
86244
+ return markupBuilder.buildConverterResult();
86245
+ }
86246
+ }
86247
+
86248
+ /***/ }),
86249
+
86250
+ /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/List/ListNode.ts":
86251
+ /*!********************************************************************************************!*\
86252
+ !*** ./Generator/src/generators/markupGenerator/ElementProcessors/Layout/List/ListNode.ts ***!
86253
+ \********************************************************************************************/
86254
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
86255
+
86256
+ "use strict";
86257
+ __webpack_require__.r(__webpack_exports__);
86258
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
86259
+ /* harmony export */ ListNode: () => (/* binding */ ListNode)
86260
+ /* harmony export */ });
86261
+ /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/initializerDefineProperty */ "./node_modules/@babel/runtime/helpers/initializerDefineProperty.js");
86262
+ /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__);
86263
+ /* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/applyDecoratedDescriptor */ "./node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js");
86264
+ /* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__);
86265
+ /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/initializerWarningHelper */ "./node_modules/@babel/runtime/helpers/initializerWarningHelper.js");
86266
+ /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
86267
+ /* harmony import */ var _CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../CommonNodeProperties/DataBindingMixinNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/DataBindingMixinNode.ts");
86268
+ /* harmony import */ var _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../Serializer/SugarNodeWithLegacyVisibility */ "./Generator/src/generators/markupGenerator/Serializer/SugarNodeWithLegacyVisibility.ts");
86269
+ /* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
86270
+ /* harmony import */ var _ListItem_ListItemNode__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../ListItem/ListItemNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/ListItem/ListItemNode.ts");
86271
+
86272
+
86273
+
86274
+ var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8;
86275
+
86276
+
86277
+
86278
+
86279
+ 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 {
86280
+ constructor(...args) {
86281
+ super(...args);
86282
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataScope", _descriptor, this);
86283
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "items", _descriptor2, this);
86284
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "inline", _descriptor3, this);
86285
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "bullet", _descriptor4, this);
86286
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dash", _descriptor5, this);
86287
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "width", _descriptor6, this);
86288
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "itemPaddingTop", _descriptor7, this);
86289
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "itemPaddingBottom", _descriptor8, this);
86290
+ }
86291
+ getOwnPath() {
86292
+ return this.dataScope.getOwnPath();
86293
+ }
86294
+ }, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "dataScope", [_dec2], {
86295
+ configurable: true,
86296
+ enumerable: true,
86297
+ writable: true,
86298
+ initializer: null
86299
+ }), _descriptor2 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "items", [_dec3], {
86300
+ configurable: true,
86301
+ enumerable: true,
86302
+ writable: true,
86303
+ initializer: null
86304
+ }), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "inline", [_dec4], {
86305
+ configurable: true,
86306
+ enumerable: true,
86307
+ writable: true,
86308
+ initializer: null
86309
+ }), _descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "bullet", [_dec5], {
86310
+ configurable: true,
86311
+ enumerable: true,
86312
+ writable: true,
86313
+ initializer: null
86314
+ }), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "dash", [_dec6], {
86315
+ configurable: true,
86316
+ enumerable: true,
86317
+ writable: true,
86318
+ initializer: null
86319
+ }), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "width", [_dec7], {
86320
+ configurable: true,
86321
+ enumerable: true,
86322
+ writable: true,
86323
+ initializer: null
86324
+ }), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "itemPaddingTop", [_dec8], {
86325
+ configurable: true,
86326
+ enumerable: true,
86327
+ writable: true,
86328
+ initializer: null
86329
+ }), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "itemPaddingBottom", [_dec9], {
86330
+ configurable: true,
86331
+ enumerable: true,
86332
+ writable: true,
86333
+ initializer: null
86334
+ }), _class2)) || _class);
86335
+
86336
+ /***/ }),
86337
+
86204
86338
  /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/ListItem/ListItemConverter.ts":
86205
86339
  /*!*********************************************************************************************************!*\
86206
86340
  !*** ./Generator/src/generators/markupGenerator/ElementProcessors/Layout/ListItem/ListItemConverter.ts ***!
@@ -86348,140 +86482,6 @@ let ListItemNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODU
86348
86482
 
86349
86483
  /***/ }),
86350
86484
 
86351
- /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/List/ListConverter.ts":
86352
- /*!*************************************************************************************************!*\
86353
- !*** ./Generator/src/generators/markupGenerator/ElementProcessors/Layout/List/ListConverter.ts ***!
86354
- \*************************************************************************************************/
86355
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
86356
-
86357
- "use strict";
86358
- __webpack_require__.r(__webpack_exports__);
86359
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
86360
- /* harmony export */ ListConverter: () => (/* binding */ ListConverter)
86361
- /* harmony export */ });
86362
- /* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
86363
- /* 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");
86365
-
86366
-
86367
-
86368
- class ListConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.SugarNodeConverterBase {
86369
- static getAcceptNodeClass() {
86370
- return _ListNode__WEBPACK_IMPORTED_MODULE_2__.ListNode;
86371
- }
86372
- doBuildDataDeclaration(context) {
86373
- const node = this.getCurrentNodeAs(_ListNode__WEBPACK_IMPORTED_MODULE_2__.ListNode);
86374
- return context.mergeDataDeclaration(context.addPathSectionDeclarationEntry(node), context.addVisibilityPathDeclEntryNew(node));
86375
- }
86376
- buildChildrenDataDeclaration(context) {
86377
- const node = this.getCurrentNodeAs(_ListNode__WEBPACK_IMPORTED_MODULE_2__.ListNode);
86378
- return context.processChildrenDataDeclaration(node.items);
86379
- }
86380
- *doTraverseChildren() {
86381
- const node = this.getCurrentNodeAs(_ListNode__WEBPACK_IMPORTED_MODULE_2__.ListNode);
86382
- yield* node.items;
86383
- }
86384
- 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));
86391
- return markupBuilder.buildConverterResult();
86392
- }
86393
- }
86394
-
86395
- /***/ }),
86396
-
86397
- /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/List/ListNode.ts":
86398
- /*!********************************************************************************************!*\
86399
- !*** ./Generator/src/generators/markupGenerator/ElementProcessors/Layout/List/ListNode.ts ***!
86400
- \********************************************************************************************/
86401
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
86402
-
86403
- "use strict";
86404
- __webpack_require__.r(__webpack_exports__);
86405
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
86406
- /* harmony export */ ListNode: () => (/* binding */ ListNode)
86407
- /* harmony export */ });
86408
- /* 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
- /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__);
86410
- /* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/applyDecoratedDescriptor */ "./node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js");
86411
- /* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__);
86412
- /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/initializerWarningHelper */ "./node_modules/@babel/runtime/helpers/initializerWarningHelper.js");
86413
- /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
86414
- /* harmony import */ var _CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../CommonNodeProperties/DataBindingMixinNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/DataBindingMixinNode.ts");
86415
- /* harmony import */ var _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../Serializer/SugarNodeWithLegacyVisibility */ "./Generator/src/generators/markupGenerator/Serializer/SugarNodeWithLegacyVisibility.ts");
86416
- /* 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");
86418
-
86419
-
86420
-
86421
- var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8;
86422
-
86423
-
86424
-
86425
-
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 {
86427
- constructor(...args) {
86428
- super(...args);
86429
- _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);
86437
- }
86438
- getOwnPath() {
86439
- return this.dataScope.getOwnPath();
86440
- }
86441
- }, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "dataScope", [_dec2], {
86442
- configurable: true,
86443
- enumerable: true,
86444
- writable: true,
86445
- 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], {
86452
- configurable: true,
86453
- enumerable: true,
86454
- writable: true,
86455
- initializer: null
86456
- }), _descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "bullet", [_dec5], {
86457
- configurable: true,
86458
- enumerable: true,
86459
- writable: true,
86460
- initializer: null
86461
- }), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "dash", [_dec6], {
86462
- configurable: true,
86463
- enumerable: true,
86464
- writable: true,
86465
- initializer: null
86466
- }), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "width", [_dec7], {
86467
- configurable: true,
86468
- enumerable: true,
86469
- writable: true,
86470
- initializer: null
86471
- }), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "itemPaddingTop", [_dec8], {
86472
- configurable: true,
86473
- enumerable: true,
86474
- writable: true,
86475
- initializer: null
86476
- }), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "itemPaddingBottom", [_dec9], {
86477
- configurable: true,
86478
- enumerable: true,
86479
- writable: true,
86480
- initializer: null
86481
- }), _class2)) || _class);
86482
-
86483
- /***/ }),
86484
-
86485
86485
  /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Minitour/MinitourConverter.ts":
86486
86486
  /*!*********************************************************************************************************!*\
86487
86487
  !*** ./Generator/src/generators/markupGenerator/ElementProcessors/Layout/Minitour/MinitourConverter.ts ***!
@@ -87813,6 +87813,160 @@ let FooterNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE
87813
87813
 
87814
87814
  /***/ }),
87815
87815
 
87816
+ /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalForm/ModalFormConverter.ts":
87817
+ /*!**********************************************************************************************************!*\
87818
+ !*** ./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalForm/ModalFormConverter.ts ***!
87819
+ \**********************************************************************************************************/
87820
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
87821
+
87822
+ "use strict";
87823
+ __webpack_require__.r(__webpack_exports__);
87824
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
87825
+ /* harmony export */ ModalFormConverter: () => (/* binding */ ModalFormConverter)
87826
+ /* harmony export */ });
87827
+ /* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
87828
+ /* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
87829
+ /* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
87830
+ /* harmony import */ var _ModalFormNode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ModalFormNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalForm/ModalFormNode.ts");
87831
+
87832
+
87833
+
87834
+
87835
+ class ModalFormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.SugarNodeConverterBase {
87836
+ static getAcceptNodeClass() {
87837
+ return _ModalFormNode__WEBPACK_IMPORTED_MODULE_3__.ModalFormNode;
87838
+ }
87839
+ applyVisibilityPathProcessing() {
87840
+ return false;
87841
+ }
87842
+ doBuildDataDeclaration(context) {
87843
+ const node = this.getCurrentNodeAs(_ModalFormNode__WEBPACK_IMPORTED_MODULE_3__.ModalFormNode);
87844
+ return context.mergeDataDeclaration(context.addPathSectionDeclarationEntry(node));
87845
+ }
87846
+ buildChildrenDataDeclaration(context) {
87847
+ const node = this.getCurrentNodeAs(_ModalFormNode__WEBPACK_IMPORTED_MODULE_3__.ModalFormNode);
87848
+ return context.processChildrenDataDeclaration(node.children);
87849
+ }
87850
+ *doTraverseChildren() {
87851
+ const node = this.getCurrentNodeAs(_ModalFormNode__WEBPACK_IMPORTED_MODULE_3__.ModalFormNode);
87852
+ yield* node.children;
87853
+ }
87854
+ doConvert(context) {
87855
+ var _verifiablePaths;
87856
+ const node = this.getCurrentNodeAs(_ModalFormNode__WEBPACK_IMPORTED_MODULE_3__.ModalFormNode);
87857
+ const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__.componentMarkupBuilder)("ModalForm");
87858
+ markupBuilder.prop(x => x.width).set(node.width);
87859
+ markupBuilder.prop(x => x.header).set(node.header);
87860
+ markupBuilder.prop(x => x.footerPanel).set(node.footerPanel);
87861
+ markupBuilder.prop(x => x.enabledBackgroundClick).set(node.enabledBackgroundClick);
87862
+ markupBuilder.prop(x => x.doNotValidateFormOnStart).set(node.doNotValidateFormOnStart);
87863
+ markupBuilder.prop(x => x.onAfterOpen).set(context.generateHelperFunctionExpression(node, "onAfterOpen", node.onAfterOpen));
87864
+ markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_2__.getNewBindingPathExpression)(node));
87865
+ context.pushPathsContext();
87866
+ markupBuilder.appendChild(context.convertChildNodes(node.children));
87867
+ const pathsContext = context.popPathsContext();
87868
+ let verifiablePaths = pathsContext === null || pathsContext === void 0 ? void 0 : pathsContext.paths;
87869
+ if (verifiablePaths && node.excludedVerifiablePath) {
87870
+ const excludedVerifiablePath = (0,_getBindingPath__WEBPACK_IMPORTED_MODULE_2__.getNewBindingPathExpression)(node, node.excludedVerifiablePath);
87871
+ verifiablePaths = verifiablePaths.filter(path => !path.isIncludes(excludedVerifiablePath));
87872
+ }
87873
+ markupBuilder.prop(x => x.verifiablePaths).set((_verifiablePaths = verifiablePaths) !== null && _verifiablePaths !== void 0 ? _verifiablePaths : []);
87874
+ return markupBuilder.buildConverterResult();
87875
+ }
87876
+ }
87877
+
87878
+ /***/ }),
87879
+
87880
+ /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalForm/ModalFormNode.ts":
87881
+ /*!*****************************************************************************************************!*\
87882
+ !*** ./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalForm/ModalFormNode.ts ***!
87883
+ \*****************************************************************************************************/
87884
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
87885
+
87886
+ "use strict";
87887
+ __webpack_require__.r(__webpack_exports__);
87888
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
87889
+ /* harmony export */ ModalFormNode: () => (/* binding */ ModalFormNode)
87890
+ /* harmony export */ });
87891
+ /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/initializerDefineProperty */ "./node_modules/@babel/runtime/helpers/initializerDefineProperty.js");
87892
+ /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__);
87893
+ /* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/applyDecoratedDescriptor */ "./node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js");
87894
+ /* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__);
87895
+ /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/initializerWarningHelper */ "./node_modules/@babel/runtime/helpers/initializerWarningHelper.js");
87896
+ /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
87897
+ /* harmony import */ var _CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../CommonNodeProperties/DataBindingMixinNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/DataBindingMixinNode.ts");
87898
+ /* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
87899
+
87900
+
87901
+
87902
+ var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9;
87903
+
87904
+
87905
+ 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 {
87906
+ constructor(...args) {
87907
+ super(...args);
87908
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataScope", _descriptor, this);
87909
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "header", _descriptor2, this);
87910
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "enabledBackgroundClick", _descriptor3, this);
87911
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "doNotValidateFormOnStart", _descriptor4, this);
87912
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "footerPanel", _descriptor5, this);
87913
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "width", _descriptor6, this);
87914
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "onAfterOpen", _descriptor7, this);
87915
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "excludedVerifiablePath", _descriptor8, this);
87916
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor9, this);
87917
+ }
87918
+ getOwnPath() {
87919
+ return this.dataScope.getOwnPath();
87920
+ }
87921
+ }, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "dataScope", [_dec2], {
87922
+ configurable: true,
87923
+ enumerable: true,
87924
+ writable: true,
87925
+ initializer: null
87926
+ }), _descriptor2 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "header", [_dec3], {
87927
+ configurable: true,
87928
+ enumerable: true,
87929
+ writable: true,
87930
+ initializer: null
87931
+ }), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "enabledBackgroundClick", [_dec4], {
87932
+ configurable: true,
87933
+ enumerable: true,
87934
+ writable: true,
87935
+ initializer: null
87936
+ }), _descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "doNotValidateFormOnStart", [_dec5], {
87937
+ configurable: true,
87938
+ enumerable: true,
87939
+ writable: true,
87940
+ initializer: null
87941
+ }), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "footerPanel", [_dec6], {
87942
+ configurable: true,
87943
+ enumerable: true,
87944
+ writable: true,
87945
+ initializer: null
87946
+ }), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "width", [_dec7], {
87947
+ configurable: true,
87948
+ enumerable: true,
87949
+ writable: true,
87950
+ initializer: null
87951
+ }), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "onAfterOpen", [_dec8], {
87952
+ configurable: true,
87953
+ enumerable: true,
87954
+ writable: true,
87955
+ initializer: null
87956
+ }), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "excludedVerifiablePath", [_dec9], {
87957
+ configurable: true,
87958
+ enumerable: true,
87959
+ writable: true,
87960
+ initializer: null
87961
+ }), _descriptor9 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec10], {
87962
+ configurable: true,
87963
+ enumerable: true,
87964
+ writable: true,
87965
+ initializer: null
87966
+ }), _class2)) || _class);
87967
+
87968
+ /***/ }),
87969
+
87816
87970
  /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalFormCancel/ModalFormCancelConverter.ts":
87817
87971
  /*!**********************************************************************************************************************!*\
87818
87972
  !*** ./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalFormCancel/ModalFormCancelConverter.ts ***!
@@ -88121,160 +88275,6 @@ let ModalFormLabelNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTE
88121
88275
 
88122
88276
  /***/ }),
88123
88277
 
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
88278
  /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/AddRowButton/AddRowButtonConverter.ts":
88279
88279
  /*!************************************************************************************************************************!*\
88280
88280
  !*** ./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/AddRowButton/AddRowButtonConverter.ts ***!
@@ -96442,267 +96442,6 @@ let FiasNode = (_dec36 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE
96442
96442
 
96443
96443
  /***/ }),
96444
96444
 
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
96445
  /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoader/AddButtonNode.ts":
96707
96446
  /*!************************************************************************************************************************!*\
96708
96447
  !*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoader/AddButtonNode.ts ***!
@@ -96986,6 +96725,267 @@ let ViewFileNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODU
96986
96725
 
96987
96726
  /***/ }),
96988
96727
 
96728
+ /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoaderConverter.ts":
96729
+ /*!*******************************************************************************************************************!*\
96730
+ !*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoaderConverter.ts ***!
96731
+ \*******************************************************************************************************************/
96732
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
96733
+
96734
+ "use strict";
96735
+ __webpack_require__.r(__webpack_exports__);
96736
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
96737
+ /* harmony export */ FileLoaderConverter: () => (/* binding */ FileLoaderConverter)
96738
+ /* harmony export */ });
96739
+ /* harmony import */ var _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../common/XmlParser/XmlNode */ "./Generator/src/common/XmlParser/XmlNode.ts");
96740
+ /* harmony import */ var _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../validationGenerator/Nodes/TypeNode */ "./Generator/src/generators/validationGenerator/Nodes/TypeNode.ts");
96741
+ /* harmony import */ var _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../DataDeclarationGenerator/DataDeclarationGenerationContext */ "./Generator/src/generators/DataDeclarationGenerator/DataDeclarationGenerationContext.ts");
96742
+ /* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
96743
+ /* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
96744
+ /* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
96745
+ /* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
96746
+ /* harmony import */ var _Common_PathConstants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../../../../Common/PathConstants */ "./Common/PathConstants.ts");
96747
+ /* harmony import */ var _FileLoader_AddButtonNode__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./FileLoader/AddButtonNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoader/AddButtonNode.ts");
96748
+ /* harmony import */ var _FileLoader_ReplaceButtonNode__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./FileLoader/ReplaceButtonNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoader/ReplaceButtonNode.ts");
96749
+ /* harmony import */ var _FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./FileLoaderNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoaderNode.ts");
96750
+
96751
+
96752
+
96753
+
96754
+
96755
+
96756
+
96757
+
96758
+
96759
+
96760
+
96761
+ class FileLoaderConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_4__.SugarNodeConverterBase {
96762
+ static getAcceptNodeClass() {
96763
+ return _FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode;
96764
+ }
96765
+ *getAttachmentPaths(context) {
96766
+ const node = this.getCurrentNodeAs(_FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode);
96767
+ const multipleNode = !node.single;
96768
+ if (multipleNode) {
96769
+ yield node.getFullPath().joinWith(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.PathTokens.each).joinWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_7__.AttachmentInfoPath);
96770
+ } else {
96771
+ yield node.getFullPath().joinWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_7__.AttachmentInfoPath);
96772
+ }
96773
+ }
96774
+ doBuildNodeValidations(validationGenerator, context) {
96775
+ const node = this.getCurrentNodeAs(_FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode);
96776
+ const multipleNode = !node.single;
96777
+ validationGenerator.processValidations(this.getResolvedBindingPath(node), node.validationInfo.optional, validationGenerator.getTypeNode(node.validationInfo), undefined, node.validationInfo.emptydescription, {
96778
+ multiple: multipleNode
96779
+ });
96780
+ }
96781
+ doBuildDataDeclaration(context) {
96782
+ const node = this.getCurrentNodeAs(_FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode);
96783
+ return context.mergeDataDeclaration(context.addPathSectionDeclarationEntry(node), context.addVisibilityPathDeclEntryNew(node), this.addAttachmentPathDeclEntry(context, node));
96784
+ }
96785
+ buildChildrenDataDeclaration() {
96786
+ return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_2__.emptyDataDeclarationCollection;
96787
+ }
96788
+ *doTraverseChildren() {
96789
+ // no children
96790
+ }
96791
+ doConvert(context) {
96792
+ const node = this.getCurrentNodeAs(_FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode);
96793
+ const multipleNode = !node.single;
96794
+ if (multipleNode) {
96795
+ this.ensurePathExists(node, node.path);
96796
+ }
96797
+ const attachmentType = this.selectAttachmentTypeNode(context);
96798
+ const mb = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("FileLoader");
96799
+ mb.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_5__.getNewBindingPathExpression)(node));
96800
+ mb.prop(x => x.multiple).set(multipleNode);
96801
+ mb.prop(x => x.count).set(attachmentType.count);
96802
+ mb.prop(x => x.countExceededDescription).set(attachmentType.countExceededDescription);
96803
+ // @ts-ignore
96804
+ mb.prop(x => x.extentions).set(attachmentType.extentions);
96805
+ mb.prop(x => x.maxSize).set(attachmentType.maxSize);
96806
+ mb.prop(x => x.AttachmentTypeHasCountOne).set(attachmentType.count !== 1);
96807
+ // @ts-ignore Такого свойства нет, но я сегодня устал
96808
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-return
96809
+ mb.prop(x => x.totalSize).set(attachmentType.totalSize);
96810
+ mb.prop(x => x.width).set(node.width);
96811
+ if (node.viewFile) {
96812
+ const viewFileBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("FileLoader", "FileLoader.ViewFile");
96813
+ if (node.viewFile && node.viewFile.removeButton) {
96814
+ var _node$viewFile;
96815
+ const removeButtonBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("FileLoader", "FileLoader.RemoveButton");
96816
+ removeButtonBuilder.appendChildren(this.convertChildren(context, (_node$viewFile = node.viewFile) === null || _node$viewFile === void 0 ? void 0 : _node$viewFile.removeButton.children));
96817
+ viewFileBuilder.appendChild(removeButtonBuilder);
96818
+ }
96819
+ mb.appendChild(viewFileBuilder);
96820
+ }
96821
+ if (node.menu) {
96822
+ const fileMenuBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("FileLoader", "FileLoader.Menu");
96823
+ if (node.menu.addLine) {
96824
+ const addLineBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("FileLoader", "FileLoader.AddLine");
96825
+ addLineBuilder.appendChildren(this.convertChildren(context, node.menu.addLine.children));
96826
+ fileMenuBuilder.appendChild(addLineBuilder);
96827
+ }
96828
+ if (node.menu.replaceLine) {
96829
+ const replaceLineBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("FileLoader", "FileLoader.ReplaceLine");
96830
+ replaceLineBuilder.appendChildren(this.convertChildren(context, node.menu.replaceLine.children));
96831
+ fileMenuBuilder.appendChild(replaceLineBuilder);
96832
+ }
96833
+ mb.appendChild(fileMenuBuilder);
96834
+ }
96835
+ return mb.buildConverterResult();
96836
+ }
96837
+ addAttachmentPathDeclEntry(context, node) {
96838
+ var _context$getTypeNode;
96839
+ 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));
96840
+ const fileLoaderPath = (0,_getBindingPath__WEBPACK_IMPORTED_MODULE_5__.getNewBindingPathExpression)(node);
96841
+ 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);
96842
+ return context.mergeDataDeclaration({
96843
+ [fileLoaderPath.toLegacyPath()]: {
96844
+ fnsConvertFileExtentions: attachmentType === null || attachmentType === void 0 ? void 0 : attachmentType.fnsConvertFileExtentions
96845
+ }
96846
+ }, context.addChildPathSectionDeclarationEntry(node, additionalPath, false));
96847
+ }
96848
+ convertChildren(context, nodes = []) {
96849
+ return nodes.map(node => {
96850
+ if (node instanceof _FileLoader_AddButtonNode__WEBPACK_IMPORTED_MODULE_8__.AddButtonNode) {
96851
+ const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("FileLoader", "FileLoader.AddButton");
96852
+ markupBuilder.appendChild(context.convertChildNodes(node.children));
96853
+ return markupBuilder.buildConverterResult();
96854
+ }
96855
+ if (node instanceof _FileLoader_ReplaceButtonNode__WEBPACK_IMPORTED_MODULE_9__.ReplaceButtonNode) {
96856
+ const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("FileLoader", "FileLoader.ReplaceButton");
96857
+ markupBuilder.appendChild(context.convertChildNodes(node.children));
96858
+ return markupBuilder.buildConverterResult();
96859
+ }
96860
+ return context.convertChildNodes([node]);
96861
+ });
96862
+ }
96863
+
96864
+ // @ts-expect-error NOTE: метoд оставлен т.к. понадобится при рефакторнге FileLoader
96865
+ isMultipleFilesLoadingAllowed(context) {
96866
+ const attachmentType = this.selectAttachmentTypeNode(context);
96867
+ const singleFileLoadingRequired = attachmentType.count === 1;
96868
+ return !singleFileLoadingRequired;
96869
+ }
96870
+ selectAttachmentTypeNode(context) {
96871
+ var _context$getTypeNode2;
96872
+ const node = this.getCurrentNodeAs(_FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode);
96873
+ 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));
96874
+ this.ensureAttachmentTypeDefined(attachmentTypeNode);
96875
+ return attachmentTypeNode;
96876
+ }
96877
+ ensureAttachmentTypeDefined(attachmentTypeNode) {
96878
+ const node = this.getCurrentNodeAs(_FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode);
96879
+ if (attachmentTypeNode == undefined) {
96880
+ throw new _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_0__.SugarAttributeReadError(`Failed generate fileloader without 'attachments' type node`, node, "type");
96881
+ }
96882
+ }
96883
+ }
96884
+
96885
+ /***/ }),
96886
+
96887
+ /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoaderNode.ts":
96888
+ /*!**************************************************************************************************************!*\
96889
+ !*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoaderNode.ts ***!
96890
+ \**************************************************************************************************************/
96891
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
96892
+
96893
+ "use strict";
96894
+ __webpack_require__.r(__webpack_exports__);
96895
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
96896
+ /* harmony export */ FileLoaderNode: () => (/* binding */ FileLoaderNode)
96897
+ /* harmony export */ });
96898
+ /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/initializerDefineProperty */ "./node_modules/@babel/runtime/helpers/initializerDefineProperty.js");
96899
+ /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__);
96900
+ /* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/applyDecoratedDescriptor */ "./node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js");
96901
+ /* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__);
96902
+ /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/initializerWarningHelper */ "./node_modules/@babel/runtime/helpers/initializerWarningHelper.js");
96903
+ /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
96904
+ /* harmony import */ var _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../validationGenerator/Nodes/TypeNode */ "./Generator/src/generators/validationGenerator/Nodes/TypeNode.ts");
96905
+ /* harmony import */ var _CommonNodeProperties_ValidationInfoNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../CommonNodeProperties/ValidationInfoNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/ValidationInfoNode.ts");
96906
+ /* harmony import */ var _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../Serializer/SugarNodeWithLegacyVisibility */ "./Generator/src/generators/markupGenerator/Serializer/SugarNodeWithLegacyVisibility.ts");
96907
+ /* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
96908
+ /* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
96909
+ /* harmony import */ var _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../Serializer/DeprecationReason */ "./Generator/src/generators/markupGenerator/Serializer/DeprecationReason.ts");
96910
+ /* harmony import */ var _FileLoader_MenuNode__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./FileLoader/MenuNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoader/MenuNode.ts");
96911
+ /* harmony import */ var _FileLoader_ViewFileNode__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./FileLoader/ViewFileNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FileLoader/FileLoader/ViewFileNode.ts");
96912
+
96913
+
96914
+
96915
+ var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9;
96916
+
96917
+
96918
+
96919
+
96920
+
96921
+
96922
+
96923
+
96924
+ 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 {
96925
+ constructor(...args) {
96926
+ super(...args);
96927
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "validationInfo", _descriptor, this);
96928
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "type", _descriptor2, this);
96929
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "path", _descriptor3, this);
96930
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "width", _descriptor4, this);
96931
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "single", _descriptor5, this);
96932
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "multiple", _descriptor6, this);
96933
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "viewFile", _descriptor7, this);
96934
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "menu", _descriptor8, this);
96935
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "anonymousType", _descriptor9, this);
96936
+ }
96937
+ getOwnPath() {
96938
+ 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;
96939
+ }
96940
+ }, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "validationInfo", [_dec2], {
96941
+ configurable: true,
96942
+ enumerable: true,
96943
+ writable: true,
96944
+ initializer: null
96945
+ }), _descriptor2 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "type", [_dec3], {
96946
+ configurable: true,
96947
+ enumerable: true,
96948
+ writable: true,
96949
+ initializer: null
96950
+ }), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "path", [_dec4], {
96951
+ configurable: true,
96952
+ enumerable: true,
96953
+ writable: true,
96954
+ initializer: null
96955
+ }), _descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "width", [_dec5], {
96956
+ configurable: true,
96957
+ enumerable: true,
96958
+ writable: true,
96959
+ initializer: null
96960
+ }), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "single", [_dec6], {
96961
+ configurable: true,
96962
+ enumerable: true,
96963
+ writable: true,
96964
+ initializer: null
96965
+ }), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "multiple", [_dec7], {
96966
+ configurable: true,
96967
+ enumerable: true,
96968
+ writable: true,
96969
+ initializer: null
96970
+ }), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "viewFile", [_dec8], {
96971
+ configurable: true,
96972
+ enumerable: true,
96973
+ writable: true,
96974
+ initializer: null
96975
+ }), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "menu", [_dec9], {
96976
+ configurable: true,
96977
+ enumerable: true,
96978
+ writable: true,
96979
+ initializer: null
96980
+ }), _descriptor9 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "anonymousType", [_dec10], {
96981
+ configurable: true,
96982
+ enumerable: true,
96983
+ writable: true,
96984
+ initializer: null
96985
+ }), _class2)) || _class);
96986
+
96987
+ /***/ }),
96988
+
96989
96989
  /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/INN/INNConverter.ts":
96990
96990
  /*!*****************************************************************************************************!*\
96991
96991
  !*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/INN/INNConverter.ts ***!
@@ -99120,400 +99120,6 @@ let RelativesComboBoxNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPO
99120
99120
 
99121
99121
  /***/ }),
99122
99122
 
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
99123
  /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Select/PicklistReference.ts":
99518
99124
  /*!*************************************************************************************************************!*\
99519
99125
  !*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Select/PicklistReference.ts ***!
@@ -99912,6 +99518,400 @@ let SelectNode = (_dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODUL
99912
99518
 
99913
99519
  /***/ }),
99914
99520
 
99521
+ /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectAllCheckbox/SelectAllCheckboxConverter.ts":
99522
+ /*!*********************************************************************************************************************************!*\
99523
+ !*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectAllCheckbox/SelectAllCheckboxConverter.ts ***!
99524
+ \*********************************************************************************************************************************/
99525
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
99526
+
99527
+ "use strict";
99528
+ __webpack_require__.r(__webpack_exports__);
99529
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
99530
+ /* harmony export */ SelectAllCheckboxConverter: () => (/* binding */ SelectAllCheckboxConverter)
99531
+ /* harmony export */ });
99532
+ /* harmony import */ var _Engine_src_Controls_FastSelectAllCheckboxesHelper__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../Engine/src/Controls/FastSelectAllCheckboxesHelper */ "./Engine/src/Controls/FastSelectAllCheckboxesHelper.ts");
99533
+ /* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
99534
+ /* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
99535
+ /* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
99536
+ /* harmony import */ var _SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../SugarNodes/SugarNodeUtils */ "./Generator/src/generators/markupGenerator/SugarNodes/SugarNodeUtils.ts");
99537
+ /* harmony import */ var _ServerSideFLangNormalization_FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../ServerSideFLangNormalization/FLang/FLangCodeDom */ "./Generator/src/generators/ServerSideFLangNormalization/FLang/FLangCodeDom.ts");
99538
+ /* harmony import */ var _SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./SelectAllCheckboxNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectAllCheckbox/SelectAllCheckboxNode.ts");
99539
+
99540
+
99541
+
99542
+
99543
+
99544
+
99545
+
99546
+ class SelectAllCheckboxConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.SugarNodeConverterBase {
99547
+ static getAcceptNodeClass() {
99548
+ return _SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_6__.SelectAllCheckboxNode;
99549
+ }
99550
+ get nodePaths() {
99551
+ const node = this.getCurrentNodeAs(_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_6__.SelectAllCheckboxNode);
99552
+ return [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_3__.getNewBindingPathExpression)(node)];
99553
+ }
99554
+ doBuildDataDeclaration(context) {
99555
+ return {};
99556
+ }
99557
+ doBuildNormalizeRules(builder, formSchemaRng) {
99558
+ var _node$pathToChecked;
99559
+ const node = this.getCurrentNodeAs(_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_6__.SelectAllCheckboxNode);
99560
+ 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");
99561
+ 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())] : [];
99562
+ }
99563
+ buildChildrenDataDeclaration(context) {
99564
+ const node = this.getCurrentNodeAs(_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_6__.SelectAllCheckboxNode);
99565
+ return context.processChildrenDataDeclaration(node.children);
99566
+ }
99567
+ *doTraverseChildren() {
99568
+ const node = this.getCurrentNodeAs(_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_6__.SelectAllCheckboxNode);
99569
+ yield* node.children;
99570
+ }
99571
+ doConvert(context) {
99572
+ var _node$filteredUniqKey, _node$uncheckedValue, _node$checkedValue;
99573
+ const node = this.getCurrentNodeAs(_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_6__.SelectAllCheckboxNode);
99574
+ const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("SelectAllCheckbox");
99575
+ markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_3__.getNewBindingPathExpression)(node));
99576
+ markupBuilder.prop(x => x.pathToChecked).set(node.getPathToChecked());
99577
+ markupBuilder.prop("data-tid").set(node.tid);
99578
+ markupBuilder.prop(x => x.filteredUniqKey).set((_node$filteredUniqKey = node.filteredUniqKey) !== null && _node$filteredUniqKey !== void 0 ? _node$filteredUniqKey : "default");
99579
+ markupBuilder.prop(x => x.uncheckedValue).set((_node$uncheckedValue = node.uncheckedValue) !== null && _node$uncheckedValue !== void 0 ? _node$uncheckedValue : "false");
99580
+ markupBuilder.prop(x => x.checkedValue).set((_node$checkedValue = node.checkedValue) !== null && _node$checkedValue !== void 0 ? _node$checkedValue : "true");
99581
+ markupBuilder.prop(x => x.dirtyModeInstancesCount).set(node.dirtyModeInstancesCount);
99582
+ if (node.disabled2 != undefined) {
99583
+ markupBuilder.prop(x => x.disabled2).set((0,_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_4__.buildExpressionPropValue)(node.disabled2));
99584
+ if (this.getLegacyNode().getParent() != undefined) {
99585
+ markupBuilder.prop(x => x.evaluatorsContextPath).set(this.getEvaluatorsContextPathExpression());
99586
+ }
99587
+ }
99588
+ markupBuilder.appendChild(context.convertChildNodes(node.children));
99589
+ return markupBuilder.buildConverterResult();
99590
+ }
99591
+ }
99592
+
99593
+ /***/ }),
99594
+
99595
+ /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectAllCheckbox/SelectAllCheckboxNode.ts":
99596
+ /*!****************************************************************************************************************************!*\
99597
+ !*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectAllCheckbox/SelectAllCheckboxNode.ts ***!
99598
+ \****************************************************************************************************************************/
99599
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
99600
+
99601
+ "use strict";
99602
+ __webpack_require__.r(__webpack_exports__);
99603
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
99604
+ /* harmony export */ SelectAllCheckboxNode: () => (/* binding */ SelectAllCheckboxNode)
99605
+ /* harmony export */ });
99606
+ /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/initializerDefineProperty */ "./node_modules/@babel/runtime/helpers/initializerDefineProperty.js");
99607
+ /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__);
99608
+ /* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/applyDecoratedDescriptor */ "./node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js");
99609
+ /* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__);
99610
+ /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/initializerWarningHelper */ "./node_modules/@babel/runtime/helpers/initializerWarningHelper.js");
99611
+ /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
99612
+ /* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
99613
+ /* harmony import */ var _CommonNodeProperties_TooltipProperties_TooltipSettingsNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../CommonNodeProperties/TooltipProperties/TooltipSettingsNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/TooltipProperties/TooltipSettingsNode.ts");
99614
+ /* harmony import */ var _Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../Commons/DocumentationLinks */ "./Generator/src/generators/markupGenerator/ElementProcessors/Commons/DocumentationLinks.ts");
99615
+ /* harmony import */ var _CommonNodeProperties_FocusManagementNode__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../CommonNodeProperties/FocusManagementNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/FocusManagementNode.ts");
99616
+ /* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
99617
+
99618
+
99619
+
99620
+ 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;
99621
+
99622
+
99623
+
99624
+
99625
+
99626
+ 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, используется, для фильтраций одних и тех же путей иннера
99627
+ разными фильтрами. Задается произвольной строкой. Фильтры с одинаковым ключем фильтрации получают одинаковый результат фильтрации`), _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 {
99628
+ constructor(...args) {
99629
+ super(...args);
99630
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "path", _descriptor, this);
99631
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "pathToChecked", _descriptor2, this);
99632
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "focusManagement", _descriptor3, this);
99633
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "disabled2", _descriptor4, this);
99634
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "tid", _descriptor5, this);
99635
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "tooltipSettings", _descriptor6, this);
99636
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filteredUniqKey", _descriptor7, this);
99637
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dirtyModeInstancesCount", _descriptor8, this);
99638
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "checkedValue", _descriptor9, this);
99639
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "uncheckedValue", _descriptor10, this);
99640
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor11, this);
99641
+ }
99642
+ getOwnPath() {
99643
+ 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;
99644
+ }
99645
+ getPathToChecked() {
99646
+ var _this$pathToChecked;
99647
+ return (_this$pathToChecked = this.pathToChecked) !== null && _this$pathToChecked !== void 0 ? _this$pathToChecked : "checked";
99648
+ }
99649
+ }, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "path", [_dec2], {
99650
+ configurable: true,
99651
+ enumerable: true,
99652
+ writable: true,
99653
+ initializer: null
99654
+ }), _descriptor2 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "pathToChecked", [_dec3], {
99655
+ configurable: true,
99656
+ enumerable: true,
99657
+ writable: true,
99658
+ initializer: null
99659
+ }), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "focusManagement", [_dec4], {
99660
+ configurable: true,
99661
+ enumerable: true,
99662
+ writable: true,
99663
+ initializer: null
99664
+ }), _descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "disabled2", [_dec5], {
99665
+ configurable: true,
99666
+ enumerable: true,
99667
+ writable: true,
99668
+ initializer: null
99669
+ }), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "tid", [_dec6], {
99670
+ configurable: true,
99671
+ enumerable: true,
99672
+ writable: true,
99673
+ initializer: null
99674
+ }), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "tooltipSettings", [_dec7], {
99675
+ configurable: true,
99676
+ enumerable: true,
99677
+ writable: true,
99678
+ initializer: null
99679
+ }), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "filteredUniqKey", [_dec8], {
99680
+ configurable: true,
99681
+ enumerable: true,
99682
+ writable: true,
99683
+ initializer: null
99684
+ }), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "dirtyModeInstancesCount", [_dec9], {
99685
+ configurable: true,
99686
+ enumerable: true,
99687
+ writable: true,
99688
+ initializer: null
99689
+ }), _descriptor9 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "checkedValue", [_dec10], {
99690
+ configurable: true,
99691
+ enumerable: true,
99692
+ writable: true,
99693
+ initializer: null
99694
+ }), _descriptor10 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "uncheckedValue", [_dec11], {
99695
+ configurable: true,
99696
+ enumerable: true,
99697
+ writable: true,
99698
+ initializer: null
99699
+ }), _descriptor11 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec12], {
99700
+ configurable: true,
99701
+ enumerable: true,
99702
+ writable: true,
99703
+ initializer: null
99704
+ }), _class2)) || _class);
99705
+
99706
+ /***/ }),
99707
+
99708
+ /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectCheckbox/SelectCheckboxConverter.ts":
99709
+ /*!***************************************************************************************************************************!*\
99710
+ !*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectCheckbox/SelectCheckboxConverter.ts ***!
99711
+ \***************************************************************************************************************************/
99712
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
99713
+
99714
+ "use strict";
99715
+ __webpack_require__.r(__webpack_exports__);
99716
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
99717
+ /* harmony export */ SelectCheckboxConverter: () => (/* binding */ SelectCheckboxConverter)
99718
+ /* harmony export */ });
99719
+ /* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
99720
+ /* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
99721
+ /* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
99722
+ /* harmony import */ var _CommonNodeProperties_TooltipProperties_SetTooltipSettingsProps__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../CommonNodeProperties/TooltipProperties/SetTooltipSettingsProps */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/TooltipProperties/SetTooltipSettingsProps.ts");
99723
+ /* harmony import */ var _SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../SugarNodes/SugarNodeUtils */ "./Generator/src/generators/markupGenerator/SugarNodes/SugarNodeUtils.ts");
99724
+ /* harmony import */ var _SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./SelectCheckboxNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectCheckbox/SelectCheckboxNode.ts");
99725
+
99726
+
99727
+
99728
+
99729
+
99730
+
99731
+ class SelectCheckboxConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.SugarNodeConverterBase {
99732
+ static getAcceptNodeClass() {
99733
+ return _SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__.SelectCheckboxNode;
99734
+ }
99735
+ get nodePaths() {
99736
+ const node = this.getCurrentNodeAs(_SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__.SelectCheckboxNode);
99737
+ return [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_2__.getNewBindingPathExpression)(node)];
99738
+ }
99739
+ doBuildNodeValidations(validationGenerator) {
99740
+ const node = this.getCurrentNodeAs(_SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__.SelectCheckboxNode);
99741
+ validationGenerator.processValidations(this.getResolvedBindingPath(node), node.validationInfo.optional, validationGenerator.getTypeNode(node.validationInfo), undefined, node.validationInfo.emptydescription, undefined);
99742
+ }
99743
+ doBuildDataDeclaration(context) {
99744
+ const node = this.getCurrentNodeAs(_SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__.SelectCheckboxNode);
99745
+ return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["value", context.initSequenceFactory.dataValue(node.dataBinding, false, this.getDefaultValue(node))]]), context.addSpecialFieldsEntry(node, {
99746
+ optional: node.dataBinding.optional
99747
+ }), context.addPathSectionDeclarationEntry(node, node.dataBinding.requisite), context.addVisibilityPathDeclEntryNew(node, node.dataBinding.requisite));
99748
+ }
99749
+ doBuildNormalizeRules(builder) {
99750
+ const node = this.getCurrentNodeAs(_SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__.SelectCheckboxNode);
99751
+ return [builder.valueInitializer(node, node.dataBinding, false)];
99752
+ }
99753
+ getDefaultValue(node) {
99754
+ var _node$dataBinding$def;
99755
+ const defaultValue = (_node$dataBinding$def = node.dataBinding.defaultValue) !== null && _node$dataBinding$def !== void 0 ? _node$dataBinding$def : "";
99756
+ if (defaultValue) {
99757
+ if (defaultValue === "checked" || defaultValue === node.checkedValue) {
99758
+ var _node$checkedValue;
99759
+ return (_node$checkedValue = node.checkedValue) !== null && _node$checkedValue !== void 0 ? _node$checkedValue : true;
99760
+ } else {
99761
+ var _node$uncheckedValue;
99762
+ return (_node$uncheckedValue = node.uncheckedValue) !== null && _node$uncheckedValue !== void 0 ? _node$uncheckedValue : false;
99763
+ }
99764
+ }
99765
+ return defaultValue;
99766
+ }
99767
+ buildChildrenDataDeclaration(context) {
99768
+ const node = this.getCurrentNodeAs(_SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__.SelectCheckboxNode);
99769
+ return context.processChildrenDataDeclaration(node.children);
99770
+ }
99771
+ *doTraverseChildren() {
99772
+ const node = this.getCurrentNodeAs(_SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__.SelectCheckboxNode);
99773
+ yield* node.children;
99774
+ }
99775
+ doConvert(context) {
99776
+ var _node$checkedValue2, _node$uncheckedValue2;
99777
+ const node = this.getCurrentNodeAs(_SelectCheckboxNode__WEBPACK_IMPORTED_MODULE_5__.SelectCheckboxNode);
99778
+ this.ensurePathExists(node, node.dataBinding.path);
99779
+ const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__.componentMarkupBuilder)("SelectCheckbox");
99780
+ markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_2__.getNewBindingPathExpression)(node));
99781
+ markupBuilder.prop(x => x.checkedValue).set((_node$checkedValue2 = node.checkedValue) !== null && _node$checkedValue2 !== void 0 ? _node$checkedValue2 : "true");
99782
+ markupBuilder.prop("data-tid").set(node.tid);
99783
+ markupBuilder.prop(x => x.uncheckedValue).set((_node$uncheckedValue2 = node.uncheckedValue) !== null && _node$uncheckedValue2 !== void 0 ? _node$uncheckedValue2 : "false");
99784
+ if (node.callHelperOnChange) {
99785
+ markupBuilder.prop(x => x.callHelperOnChange).set(context.generateHelperFunctionExpression(node, "callHelperOnChange", node.callHelperOnChange));
99786
+ }
99787
+ if (node.disabled2 != undefined) {
99788
+ markupBuilder.prop(x => x.disabled2).set((0,_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_4__.buildExpressionPropValue)(node.disabled2));
99789
+ if (this.getLegacyNode().getParent() != undefined) {
99790
+ markupBuilder.prop(x => x.evaluatorsContextPath).set(this.getEvaluatorsContextPathExpression());
99791
+ }
99792
+ }
99793
+ markupBuilder.appendChild(context.convertChildNodes(node.children));
99794
+ (0,_CommonNodeProperties_TooltipProperties_SetTooltipSettingsProps__WEBPACK_IMPORTED_MODULE_3__.setTooltipSettingsProps)(markupBuilder, node.tooltipSettings);
99795
+ return markupBuilder.buildConverterResult();
99796
+ }
99797
+ }
99798
+
99799
+ /***/ }),
99800
+
99801
+ /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectCheckbox/SelectCheckboxNode.ts":
99802
+ /*!**********************************************************************************************************************!*\
99803
+ !*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectCheckbox/SelectCheckboxNode.ts ***!
99804
+ \**********************************************************************************************************************/
99805
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
99806
+
99807
+ "use strict";
99808
+ __webpack_require__.r(__webpack_exports__);
99809
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
99810
+ /* harmony export */ SelectCheckboxNode: () => (/* binding */ SelectCheckboxNode)
99811
+ /* harmony export */ });
99812
+ /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/initializerDefineProperty */ "./node_modules/@babel/runtime/helpers/initializerDefineProperty.js");
99813
+ /* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__);
99814
+ /* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/applyDecoratedDescriptor */ "./node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js");
99815
+ /* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__);
99816
+ /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/initializerWarningHelper */ "./node_modules/@babel/runtime/helpers/initializerWarningHelper.js");
99817
+ /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
99818
+ /* harmony import */ var _CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../CommonNodeProperties/DataBindingMixinNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/DataBindingMixinNode.ts");
99819
+ /* harmony import */ var _CommonNodeProperties_ValidationInfoNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../CommonNodeProperties/ValidationInfoNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/ValidationInfoNode.ts");
99820
+ /* harmony import */ var _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../Serializer/DeprecationReason */ "./Generator/src/generators/markupGenerator/Serializer/DeprecationReason.ts");
99821
+ /* harmony import */ var _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../Serializer/SugarNodeWithLegacyVisibility */ "./Generator/src/generators/markupGenerator/Serializer/SugarNodeWithLegacyVisibility.ts");
99822
+ /* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
99823
+ /* harmony import */ var _CommonNodeProperties_TooltipProperties_TooltipSettingsNode__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../CommonNodeProperties/TooltipProperties/TooltipSettingsNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/TooltipProperties/TooltipSettingsNode.ts");
99824
+ /* harmony import */ var _Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../Commons/DocumentationLinks */ "./Generator/src/generators/markupGenerator/ElementProcessors/Commons/DocumentationLinks.ts");
99825
+ /* harmony import */ var _CommonNodeProperties_FocusManagementNode__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../CommonNodeProperties/FocusManagementNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/FocusManagementNode.ts");
99826
+
99827
+
99828
+
99829
+ 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;
99830
+
99831
+
99832
+
99833
+
99834
+
99835
+
99836
+
99837
+
99838
+ 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 {
99839
+ constructor(...args) {
99840
+ super(...args);
99841
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataBinding", _descriptor, this);
99842
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "focusManagement", _descriptor2, this);
99843
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "disabled2", _descriptor3, this);
99844
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "width", _descriptor4, this);
99845
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "tid", _descriptor5, this);
99846
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "validationInfo", _descriptor6, this);
99847
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "tooltipSettings", _descriptor7, this);
99848
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "checkedValue", _descriptor8, this);
99849
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "uncheckedValue", _descriptor9, this);
99850
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "callHelperOnChange", _descriptor10, this);
99851
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor11, this);
99852
+ }
99853
+ getOwnPath() {
99854
+ return this.dataBinding.getOwnPath();
99855
+ }
99856
+ }, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "dataBinding", [_dec2], {
99857
+ configurable: true,
99858
+ enumerable: true,
99859
+ writable: true,
99860
+ initializer: null
99861
+ }), _descriptor2 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "focusManagement", [_dec3], {
99862
+ configurable: true,
99863
+ enumerable: true,
99864
+ writable: true,
99865
+ initializer: null
99866
+ }), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "disabled2", [_dec4], {
99867
+ configurable: true,
99868
+ enumerable: true,
99869
+ writable: true,
99870
+ initializer: null
99871
+ }), _descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "width", [_dec5], {
99872
+ configurable: true,
99873
+ enumerable: true,
99874
+ writable: true,
99875
+ initializer: null
99876
+ }), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "tid", [_dec6], {
99877
+ configurable: true,
99878
+ enumerable: true,
99879
+ writable: true,
99880
+ initializer: null
99881
+ }), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "validationInfo", [_dec7], {
99882
+ configurable: true,
99883
+ enumerable: true,
99884
+ writable: true,
99885
+ initializer: null
99886
+ }), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "tooltipSettings", [_dec8], {
99887
+ configurable: true,
99888
+ enumerable: true,
99889
+ writable: true,
99890
+ initializer: null
99891
+ }), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "checkedValue", [_dec9], {
99892
+ configurable: true,
99893
+ enumerable: true,
99894
+ writable: true,
99895
+ initializer: null
99896
+ }), _descriptor9 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "uncheckedValue", [_dec10], {
99897
+ configurable: true,
99898
+ enumerable: true,
99899
+ writable: true,
99900
+ initializer: null
99901
+ }), _descriptor10 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "callHelperOnChange", [_dec11], {
99902
+ configurable: true,
99903
+ enumerable: true,
99904
+ writable: true,
99905
+ initializer: null
99906
+ }), _descriptor11 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec12], {
99907
+ configurable: true,
99908
+ enumerable: true,
99909
+ writable: true,
99910
+ initializer: null
99911
+ }), _class2)) || _class);
99912
+
99913
+ /***/ }),
99914
+
99915
99915
  /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/TaxRebate/TaxRebateConverter.ts":
99916
99916
  /*!*****************************************************************************************************************!*\
99917
99917
  !*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/TaxRebate/TaxRebateConverter.ts ***!
@@ -134991,16 +134991,6 @@ module.exports = "";
134991
134991
 
134992
134992
  /***/ }),
134993
134993
 
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
134994
  /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/description.md":
135005
134995
  /*!**************************************************************************************************!*\
135006
134996
  !*** ./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/description.md ***!
@@ -135011,6 +135001,16 @@ module.exports = "`templates=\"true\"` включает шаблоны (в candy
135011
135001
 
135012
135002
  /***/ }),
135013
135003
 
135004
+ /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/FormInfo/description.md":
135005
+ /*!******************************************************************************************************!*\
135006
+ !*** ./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/FormInfo/description.md ***!
135007
+ \******************************************************************************************************/
135008
+ /***/ ((module) => {
135009
+
135010
+ module.exports = "Элемент для отображения информации из классификации: `Форма по КНД ${КНД}, {description}, версия формата ${fp:ВерсФорм | fp:specVersion |fp:F4FORM_version}`.\n\nЕсли у формы нет КНД (например, ФСС), то указывается атрибут `name` с названием формы.\n\nДля форм статистической отчетности неактуально.\n";
135011
+
135012
+ /***/ }),
135013
+
135014
135014
  /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Page/description.md":
135015
135015
  /*!**************************************************************************************************!*\
135016
135016
  !*** ./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Page/description.md ***!
@@ -135091,6 +135091,16 @@ module.exports = "Выравнивание по базвой линии не в
135091
135091
 
135092
135092
  /***/ }),
135093
135093
 
135094
+ /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalForm/description.md":
135095
+ /*!***************************************************************************************************!*\
135096
+ !*** ./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalForm/description.md ***!
135097
+ \***************************************************************************************************/
135098
+ /***/ ((module) => {
135099
+
135100
+ 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```";
135101
+
135102
+ /***/ }),
135103
+
135094
135104
  /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalFormCancel/description.md":
135095
135105
  /*!*********************************************************************************************************!*\
135096
135106
  !*** ./Generator/src/generators/markupGenerator/ElementProcessors/Modal/ModalFormCancel/description.md ***!
@@ -135121,16 +135131,6 @@ module.exports = "Обязательно должен содержать <modalf
135121
135131
 
135122
135132
  /***/ }),
135123
135133
 
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
135134
  /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/FilterDateRange/example.md":
135135
135135
  /*!*************************************************************************************************************!*\
135136
135136
  !*** ./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/FilterDateRange/example.md ***!