@kontur.candy/generator 4.240.0-compact-ui.7 → 4.240.0-nightly.6apcf

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 +1461 -811
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -592,60 +592,6 @@ module.exports = webpackEmptyContext;
592
592
 
593
593
  /***/ }),
594
594
 
595
- /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ControlFlow/Captions/FillHint sync recursive .md$":
596
- /*!*************************************************************************************************************!*\
597
- !*** ./Generator/src/generators/markupGenerator/ElementProcessors/ControlFlow/Captions/FillHint/ sync .md$ ***!
598
- \*************************************************************************************************************/
599
- /***/ ((module) => {
600
-
601
- function webpackEmptyContext(req) {
602
- var e = new Error("Cannot find module '" + req + "'");
603
- e.code = 'MODULE_NOT_FOUND';
604
- throw e;
605
- }
606
- webpackEmptyContext.keys = () => ([]);
607
- webpackEmptyContext.resolve = webpackEmptyContext;
608
- webpackEmptyContext.id = "./Generator/src/generators/markupGenerator/ElementProcessors/ControlFlow/Captions/FillHint sync recursive .md$";
609
- module.exports = webpackEmptyContext;
610
-
611
- /***/ }),
612
-
613
- /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ControlFlow/Captions/Long sync recursive .md$":
614
- /*!*********************************************************************************************************!*\
615
- !*** ./Generator/src/generators/markupGenerator/ElementProcessors/ControlFlow/Captions/Long/ sync .md$ ***!
616
- \*********************************************************************************************************/
617
- /***/ ((module) => {
618
-
619
- function webpackEmptyContext(req) {
620
- var e = new Error("Cannot find module '" + req + "'");
621
- e.code = 'MODULE_NOT_FOUND';
622
- throw e;
623
- }
624
- webpackEmptyContext.keys = () => ([]);
625
- webpackEmptyContext.resolve = webpackEmptyContext;
626
- webpackEmptyContext.id = "./Generator/src/generators/markupGenerator/ElementProcessors/ControlFlow/Captions/Long sync recursive .md$";
627
- module.exports = webpackEmptyContext;
628
-
629
- /***/ }),
630
-
631
- /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ControlFlow/Captions/Short sync recursive .md$":
632
- /*!**********************************************************************************************************!*\
633
- !*** ./Generator/src/generators/markupGenerator/ElementProcessors/ControlFlow/Captions/Short/ sync .md$ ***!
634
- \**********************************************************************************************************/
635
- /***/ ((module) => {
636
-
637
- function webpackEmptyContext(req) {
638
- var e = new Error("Cannot find module '" + req + "'");
639
- e.code = 'MODULE_NOT_FOUND';
640
- throw e;
641
- }
642
- webpackEmptyContext.keys = () => ([]);
643
- webpackEmptyContext.resolve = webpackEmptyContext;
644
- webpackEmptyContext.id = "./Generator/src/generators/markupGenerator/ElementProcessors/ControlFlow/Captions/Short sync recursive .md$";
645
- module.exports = webpackEmptyContext;
646
-
647
- /***/ }),
648
-
649
595
  /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ControlFlow/Choice sync recursive .md$":
650
596
  /*!**************************************************************************************************!*\
651
597
  !*** ./Generator/src/generators/markupGenerator/ElementProcessors/ControlFlow/Choice/ sync .md$ ***!
@@ -115171,7 +115117,7 @@ var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoader
115171
115117
 
115172
115118
 
115173
115119
 
115174
- const jsConditionRegexp = /path\s*?\(.*?\)|^js\:|(?!\')\s*?(true|false)\s*?(?!\')|===|\s*?\'.*?\'\s*?[\=\!]=\s*?\'.*?\'\s*?|this\.|\&\&|\|\||\[.*?\]\.includes/;
115120
+ const jsConditionRegexp = /(path|count)\s*?\(.*?\)|^js\:|(?!\')\s*?(true|false)\s*?(?!\')|===|\s*?\'.*?\'\s*?[\=\!]=\s*?\'.*?\'\s*?|this\.|\&\&|\|\||\[.*?\]\.includes/;
115175
115121
  function isJsCondition(condition) {
115176
115122
  return condition != undefined && jsConditionRegexp.test(condition);
115177
115123
  }
@@ -122080,6 +122026,394 @@ class CompositionOperandContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPO
122080
122026
 
122081
122027
  /***/ }),
122082
122028
 
122029
+ /***/ "./Generator/src/common/KCLang/IKCLangExpressionVisitor.ts":
122030
+ /*!*****************************************************************!*\
122031
+ !*** ./Generator/src/common/KCLang/IKCLangExpressionVisitor.ts ***!
122032
+ \*****************************************************************/
122033
+ /***/ ((module, __webpack_exports__, __webpack_require__) => {
122034
+
122035
+ "use strict";
122036
+ __webpack_require__.r(__webpack_exports__);
122037
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
122038
+ /* harmony export */ "traverseKCLangExpression": () => (/* binding */ traverseKCLangExpression),
122039
+ /* harmony export */ "DefaultKCLangExpressionVisitor": () => (/* binding */ DefaultKCLangExpressionVisitor)
122040
+ /* harmony export */ });
122041
+ /* harmony import */ var _Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../Common/TypingUtils */ "./Common/TypingUtils.ts");
122042
+ /* module decorator */ module = __webpack_require__.hmd(module);
122043
+ (function () {
122044
+ var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
122045
+ enterModule && enterModule(module);
122046
+ })();
122047
+
122048
+ var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
122049
+ return a;
122050
+ };
122051
+
122052
+
122053
+ // tslint:disable-next-line:cyclomatic-complexity
122054
+ function traverseKCLangExpression(node, visitor) {
122055
+ switch (node.type) {
122056
+ case "cast":
122057
+ traverseKCLangExpression(node.expression, visitor);
122058
+ visitor.visitCastExpressionKCLangNode(node);
122059
+ break;
122060
+
122061
+ case "oneof":
122062
+ traverseKCLangExpression(node.testExpression, visitor);
122063
+ visitor.visitOneOfExpressionKCLangNode(node);
122064
+ break;
122065
+
122066
+ case "abs":
122067
+ traverseKCLangExpression(node.expression, visitor);
122068
+ visitor.visitAbsKCLangNode(node);
122069
+ break;
122070
+
122071
+ case "xabs":
122072
+ traverseKCLangExpression(node.expression, visitor);
122073
+ visitor.visitXAbsKCLangNode(node);
122074
+ break;
122075
+
122076
+ case "exists":
122077
+ visitor.visitExistsKCLangNode(node);
122078
+ break;
122079
+
122080
+ case "length":
122081
+ traverseKCLangExpression(node.expression, visitor);
122082
+ visitor.visitLengthKCLangNode(node);
122083
+ break;
122084
+
122085
+ case "and":
122086
+ for (const expression of node.expressions) {
122087
+ traverseKCLangExpression(expression, visitor);
122088
+ }
122089
+
122090
+ visitor.visitAndKCLangNode(node);
122091
+ break;
122092
+
122093
+ case "sum":
122094
+ visitor.visitSumKCLangNode(node);
122095
+ break;
122096
+
122097
+ case "gt":
122098
+ case "ge":
122099
+ case "lt":
122100
+ case "le":
122101
+ case "eq":
122102
+ case "noteq":
122103
+ for (const expression of node.expressions) {
122104
+ traverseKCLangExpression(expression, visitor);
122105
+ }
122106
+
122107
+ visitor.visitComparisonKCLangNode(node);
122108
+ break;
122109
+
122110
+ case "division":
122111
+ case "multiply":
122112
+ for (const expression of node.expressions) {
122113
+ traverseKCLangExpression(expression, visitor);
122114
+ }
122115
+
122116
+ visitor.visitMultiplyKCLangNode(node);
122117
+ break;
122118
+
122119
+ case "minus":
122120
+ traverseKCLangExpression(node.expression, visitor);
122121
+ visitor.visitMinusKCLangNode(node);
122122
+ break;
122123
+
122124
+ case "not":
122125
+ traverseKCLangExpression(node.expression, visitor);
122126
+ visitor.visitNotKCLangNode(node);
122127
+ break;
122128
+
122129
+ case "round":
122130
+ traverseKCLangExpression(node.expression, visitor);
122131
+ visitor.visitRoundKCLangNode(node);
122132
+ break;
122133
+
122134
+ case "choose":
122135
+ traverseKCLangExpression(node.if, visitor);
122136
+ traverseKCLangExpression(node.else, visitor);
122137
+ traverseKCLangExpression(node.then, visitor);
122138
+ visitor.visitChooseKCLangNode(node);
122139
+ break;
122140
+
122141
+ case "const":
122142
+ visitor.visitConstKCLangNode(node);
122143
+ break;
122144
+
122145
+ case "argument":
122146
+ visitor.visitArgumentKCLangNode(node);
122147
+ break;
122148
+
122149
+ case "or":
122150
+ for (const expression of node.expressions) {
122151
+ traverseKCLangExpression(expression, visitor);
122152
+ }
122153
+
122154
+ visitor.visitOrKCLangNode(node);
122155
+ break;
122156
+
122157
+ case "multySum":
122158
+ visitor.visitMultySumKCLangNode(node);
122159
+ break;
122160
+
122161
+ case "substring":
122162
+ traverseKCLangExpression(node.expression, visitor);
122163
+ visitor.visitSubstringKCLangNode(node);
122164
+ break;
122165
+
122166
+ case "regexMatch":
122167
+ traverseKCLangExpression(node.expression, visitor);
122168
+ visitor.visitRegexMatchKCLangNode(node);
122169
+ break;
122170
+
122171
+ default:
122172
+ (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__.ensureNever)(node);
122173
+ break;
122174
+ }
122175
+ }
122176
+ class DefaultKCLangExpressionVisitor {
122177
+ visitAbsKCLangNode(node) {// default empty implementation
122178
+ }
122179
+
122180
+ visitAndKCLangNode(node) {// default empty implementation
122181
+ }
122182
+
122183
+ visitArgumentKCLangNode(node) {// default empty implementation
122184
+ }
122185
+
122186
+ visitCastExpressionKCLangNode(node) {// default empty implementation
122187
+ }
122188
+
122189
+ visitChooseKCLangNode(node) {// default empty implementation
122190
+ }
122191
+
122192
+ visitComparisonKCLangNode(node) {// default empty implementation
122193
+ }
122194
+
122195
+ visitConstKCLangNode(node) {// default empty implementation
122196
+ }
122197
+
122198
+ visitExistsKCLangNode(node) {// default empty implementation
122199
+ }
122200
+
122201
+ visitLengthKCLangNode(node) {// default empty implementation
122202
+ }
122203
+
122204
+ visitMinusKCLangNode(node) {// default empty implementation
122205
+ }
122206
+
122207
+ visitMultiplyKCLangNode(node) {// default empty implementation
122208
+ }
122209
+
122210
+ visitMultySumKCLangNode(node) {// default empty implementation
122211
+ }
122212
+
122213
+ visitNotKCLangNode(node) {// default empty implementation
122214
+ }
122215
+
122216
+ visitOneOfExpressionKCLangNode(node) {// default empty implementation
122217
+ }
122218
+
122219
+ visitOrKCLangNode(node) {// default empty implementation
122220
+ }
122221
+
122222
+ visitRegexMatchKCLangNode(node) {// default empty implementation
122223
+ }
122224
+
122225
+ visitRoundKCLangNode(node) {// default empty implementation
122226
+ }
122227
+
122228
+ visitSubstringKCLangNode(node) {// default empty implementation
122229
+ }
122230
+
122231
+ visitSumKCLangNode(node) {// default empty implementation
122232
+ }
122233
+
122234
+ visitXAbsKCLangNode(node) {// default empty implementation
122235
+ }
122236
+
122237
+ // @ts-ignore
122238
+ __reactstandin__regenerateByEval(key, code) {
122239
+ // @ts-ignore
122240
+ this[key] = eval(code);
122241
+ }
122242
+
122243
+ }
122244
+ ;
122245
+
122246
+ (function () {
122247
+ var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
122248
+
122249
+ if (!reactHotLoader) {
122250
+ return;
122251
+ }
122252
+
122253
+ reactHotLoader.register(traverseKCLangExpression, "traverseKCLangExpression", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\common\\KCLang\\IKCLangExpressionVisitor.ts");
122254
+ reactHotLoader.register(DefaultKCLangExpressionVisitor, "DefaultKCLangExpressionVisitor", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\common\\KCLang\\IKCLangExpressionVisitor.ts");
122255
+ })();
122256
+
122257
+ ;
122258
+
122259
+ (function () {
122260
+ var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
122261
+ leaveModule && leaveModule(module);
122262
+ })();
122263
+
122264
+ /***/ }),
122265
+
122266
+ /***/ "./Generator/src/common/KCLang/KCLangDescriptionGrammar.ts":
122267
+ /*!*****************************************************************!*\
122268
+ !*** ./Generator/src/common/KCLang/KCLangDescriptionGrammar.ts ***!
122269
+ \*****************************************************************/
122270
+ /***/ ((module) => {
122271
+
122272
+ var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
122273
+ return a;
122274
+ };
122275
+
122276
+ // this file was prevaled
122277
+
122278
+ /* eslint-disable */
122279
+ // @ts-ignore
122280
+ 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})()";
122281
+
122282
+ /***/ }),
122283
+
122284
+ /***/ "./Generator/src/common/KCLang/KCLangDescriptionParser.ts":
122285
+ /*!****************************************************************!*\
122286
+ !*** ./Generator/src/common/KCLang/KCLangDescriptionParser.ts ***!
122287
+ \****************************************************************/
122288
+ /***/ ((module, __webpack_exports__, __webpack_require__) => {
122289
+
122290
+ "use strict";
122291
+ __webpack_require__.r(__webpack_exports__);
122292
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
122293
+ /* harmony export */ "KCLangDescriptionParser": () => (/* binding */ KCLangDescriptionParser)
122294
+ /* harmony export */ });
122295
+ /* harmony import */ var _KCLangDescriptionGrammar__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./KCLangDescriptionGrammar */ "./Generator/src/common/KCLang/KCLangDescriptionGrammar.ts");
122296
+ /* harmony import */ var _KCLangDescriptionGrammar__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_KCLangDescriptionGrammar__WEBPACK_IMPORTED_MODULE_0__);
122297
+ /* module decorator */ module = __webpack_require__.hmd(module);
122298
+ (function () {
122299
+ var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
122300
+ enterModule && enterModule(module);
122301
+ })();
122302
+
122303
+ var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
122304
+ return a;
122305
+ };
122306
+
122307
+ // @ts-ignore
122308
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
122309
+
122310
+ const evalParse = eval((_KCLangDescriptionGrammar__WEBPACK_IMPORTED_MODULE_0___default())).parse;
122311
+ class KCLangDescriptionParser {
122312
+ static getOrCreateParser() {
122313
+ return evalParse;
122314
+ }
122315
+
122316
+ static parse(code) {
122317
+ const parser = this.getOrCreateParser();
122318
+ return parser(code);
122319
+ }
122320
+
122321
+ }
122322
+ ;
122323
+
122324
+ (function () {
122325
+ var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
122326
+
122327
+ if (!reactHotLoader) {
122328
+ return;
122329
+ }
122330
+
122331
+ reactHotLoader.register(evalParse, "evalParse", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\common\\KCLang\\KCLangDescriptionParser.ts");
122332
+ reactHotLoader.register(KCLangDescriptionParser, "KCLangDescriptionParser", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\common\\KCLang\\KCLangDescriptionParser.ts");
122333
+ })();
122334
+
122335
+ ;
122336
+
122337
+ (function () {
122338
+ var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
122339
+ leaveModule && leaveModule(module);
122340
+ })();
122341
+
122342
+ /***/ }),
122343
+
122344
+ /***/ "./Generator/src/common/KCLang/KCLangNodes.ts":
122345
+ /*!****************************************************!*\
122346
+ !*** ./Generator/src/common/KCLang/KCLangNodes.ts ***!
122347
+ \****************************************************/
122348
+ /***/ ((module, __webpack_exports__, __webpack_require__) => {
122349
+
122350
+ "use strict";
122351
+ __webpack_require__.r(__webpack_exports__);
122352
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
122353
+ /* harmony export */ "isFormulaStatement": () => (/* binding */ isFormulaStatement),
122354
+ /* harmony export */ "isBlockStatement": () => (/* binding */ isBlockStatement),
122355
+ /* harmony export */ "isEnsureStatement": () => (/* binding */ isEnsureStatement),
122356
+ /* harmony export */ "isConditionalStatement": () => (/* binding */ isConditionalStatement),
122357
+ /* harmony export */ "isDescribeStatement": () => (/* binding */ isDescribeStatement),
122358
+ /* harmony export */ "andKCLangNode": () => (/* binding */ andKCLangNode)
122359
+ /* harmony export */ });
122360
+ /* module decorator */ module = __webpack_require__.hmd(module);
122361
+ (function () {
122362
+ var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
122363
+ enterModule && enterModule(module);
122364
+ })();
122365
+
122366
+ var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
122367
+ return a;
122368
+ };
122369
+
122370
+ function isFormulaStatement(node) {
122371
+ return node.type === "formula";
122372
+ }
122373
+ function isBlockStatement(node) {
122374
+ return node.type === "block";
122375
+ }
122376
+ function isEnsureStatement(node) {
122377
+ return node.type === "ensure";
122378
+ }
122379
+ function isConditionalStatement(node) {
122380
+ return node.type === "if";
122381
+ }
122382
+ function isDescribeStatement(node) {
122383
+ return node.type === "describe";
122384
+ }
122385
+ function andKCLangNode(...expressions) {
122386
+ return {
122387
+ type: "and",
122388
+ expressions: expressions
122389
+ };
122390
+ }
122391
+ ;
122392
+
122393
+ (function () {
122394
+ var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
122395
+
122396
+ if (!reactHotLoader) {
122397
+ return;
122398
+ }
122399
+
122400
+ reactHotLoader.register(isFormulaStatement, "isFormulaStatement", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\common\\KCLang\\KCLangNodes.ts");
122401
+ reactHotLoader.register(isBlockStatement, "isBlockStatement", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\common\\KCLang\\KCLangNodes.ts");
122402
+ reactHotLoader.register(isEnsureStatement, "isEnsureStatement", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\common\\KCLang\\KCLangNodes.ts");
122403
+ reactHotLoader.register(isConditionalStatement, "isConditionalStatement", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\common\\KCLang\\KCLangNodes.ts");
122404
+ reactHotLoader.register(isDescribeStatement, "isDescribeStatement", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\common\\KCLang\\KCLangNodes.ts");
122405
+ reactHotLoader.register(andKCLangNode, "andKCLangNode", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\common\\KCLang\\KCLangNodes.ts");
122406
+ })();
122407
+
122408
+ ;
122409
+
122410
+ (function () {
122411
+ var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
122412
+ leaveModule && leaveModule(module);
122413
+ })();
122414
+
122415
+ /***/ }),
122416
+
122083
122417
  /***/ "./Generator/src/common/KCLang/KCLangToJsTranspiler.ts":
122084
122418
  /*!*************************************************************!*\
122085
122419
  !*** ./Generator/src/common/KCLang/KCLangToJsTranspiler.ts ***!
@@ -122408,6 +122742,421 @@ class KCLangToJsTranspiler {
122408
122742
 
122409
122743
  /***/ }),
122410
122744
 
122745
+ /***/ "./Generator/src/common/KCLang/KCLangToXmlTranspiler.ts":
122746
+ /*!**************************************************************!*\
122747
+ !*** ./Generator/src/common/KCLang/KCLangToXmlTranspiler.ts ***!
122748
+ \**************************************************************/
122749
+ /***/ ((module, __webpack_exports__, __webpack_require__) => {
122750
+
122751
+ "use strict";
122752
+ __webpack_require__.r(__webpack_exports__);
122753
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
122754
+ /* harmony export */ "KCLangToXmlTranspiler": () => (/* binding */ KCLangToXmlTranspiler),
122755
+ /* harmony export */ "kclang": () => (/* binding */ kclang)
122756
+ /* harmony export */ });
122757
+ /* harmony import */ var _Common_Errors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../Common/Errors */ "./Common/Errors.ts");
122758
+ /* harmony import */ var _Common_TypingUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../Common/TypingUtils */ "./Common/TypingUtils.ts");
122759
+ /* harmony import */ var _IKCLangExpressionVisitor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./IKCLangExpressionVisitor */ "./Generator/src/common/KCLang/IKCLangExpressionVisitor.ts");
122760
+ /* harmony import */ var _KCLangDescriptionParser__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./KCLangDescriptionParser */ "./Generator/src/common/KCLang/KCLangDescriptionParser.ts");
122761
+ /* harmony import */ var _KCLangNodes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./KCLangNodes */ "./Generator/src/common/KCLang/KCLangNodes.ts");
122762
+ /* harmony import */ var _Utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Utils */ "./Generator/src/common/KCLang/Utils.ts");
122763
+ /* harmony import */ var _Antlr_KCLangAntlrParser__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Antlr/KCLangAntlrParser */ "./Generator/src/common/KCLang/Antlr/KCLangAntlrParser.ts");
122764
+ /* module decorator */ module = __webpack_require__.hmd(module);
122765
+ (function () {
122766
+ var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
122767
+ enterModule && enterModule(module);
122768
+ })();
122769
+
122770
+ var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
122771
+ return a;
122772
+ };
122773
+
122774
+
122775
+
122776
+
122777
+
122778
+
122779
+
122780
+ // tslint:disable-next-line:cyclomatic-complexity
122781
+
122782
+ function generateKCXmlExpression(expression) {
122783
+ switch (expression.type) {
122784
+ case "abs":
122785
+ case "xabs":
122786
+ case "length":
122787
+ return [`<m:${expression.type}>`, (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlExpression(expression.expression), 1), `</m:${expression.type}>`].join("\n");
122788
+
122789
+ case "exists":
122790
+ case "multySum":
122791
+ return `<m:${expression.type} select="${expression.select}" />`;
122792
+
122793
+ case "cast":
122794
+ if (expression.expression.type === "argument") {
122795
+ return `<m:argument select="${expression.expression.select}" type="${expression.targetType}" />`;
122796
+ }
122797
+
122798
+ throw new Error("Cast supports only for argument");
122799
+
122800
+ case "and":
122801
+ case "or":
122802
+ return [`<m:${expression.type}>`, ...expression.expressions.map(generateKCXmlExpression).map(x => (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(x, 1)), `</m:${expression.type}>`].join("\n");
122803
+
122804
+ case "sum":
122805
+ return [`<m:sum>`, ...expression.operands.map(operand => {
122806
+ if (operand.operator === "+") {
122807
+ return generateKCXmlExpression(operand.expression);
122808
+ }
122809
+
122810
+ return [`<m:minus>`, (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlExpression(operand.expression), 1), `</m:minus>`].join("\n");
122811
+ }).map(x => (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(x, 1)), `</m:sum>`].join("\n");
122812
+
122813
+ case "gt":
122814
+ case "ge":
122815
+ case "lt":
122816
+ case "le":
122817
+ case "eq":
122818
+ case "multiply":
122819
+ case "division":
122820
+ return [`<m:${expression.type}>`, (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlExpression(expression.expressions[0]), 1), (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlExpression(expression.expressions[1]), 1), `</m:${expression.type}>`].join("\n");
122821
+
122822
+ case "noteq":
122823
+ return [`<m:not>`, ` <m:eq>`, (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlExpression(expression.expressions[0]), 2), (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlExpression(expression.expressions[1]), 2), ` </m:eq>`, `</m:not>`].join("\n");
122824
+
122825
+ case "minus":
122826
+ case "not":
122827
+ return [`<m:${expression.type}>`, (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlExpression(expression.expression), 1), `</m:${expression.type}>`].join("\n");
122828
+ break;
122829
+ break;
122830
+
122831
+ case "round":
122832
+ return [expression.fractionalDigits != undefined ? `<m:round fractionalDigits="${expression.fractionalDigits}">` : `<m:round>`, (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlExpression(expression.expression), 1), `</m:round>`].join("\n");
122833
+
122834
+ case "substring":
122835
+ return [expression.length != undefined ? `<m:substring start="${expression.start}" length="${expression.length}">` : `<m:substring start="${expression.start}">`, (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlExpression(expression.expression), 1), `</m:substring>`].join("\n");
122836
+
122837
+ case "regexMatch":
122838
+ return [`<m:regexMatch pattern="${expression.pattern}">`, (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlExpression(expression.expression), 1), `</m:regexMatch>`].join("\n");
122839
+
122840
+ case "choose":
122841
+ return [`<m:choose>`, ` <m:if>`, (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlExpression(expression.if), 2), ` </m:if>`, ` <m:then>`, (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlExpression(expression.then), 2), ` </m:then>`, ` <m:else>`, (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlExpression(expression.else), 2), ` </m:else>`, `</m:choose>`].join("\n");
122842
+ break;
122843
+
122844
+ case "const":
122845
+ if (expression.value.type === "decimal") {
122846
+ return `<m:const value="${expression.value.value}" type="decimal" />`;
122847
+ }
122848
+
122849
+ if (expression.value.type === "string") {
122850
+ return `<m:const value="${expression.value.value}" type="string" />`;
122851
+ }
122852
+
122853
+ throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_0__.NotImplementedError();
122854
+
122855
+ case "argument":
122856
+ return `<m:argument select="${expression.select}" />`;
122857
+
122858
+ case "oneof":
122859
+ {
122860
+ const testExpr = generateKCXmlExpression(expression.testExpression);
122861
+ return [`<m:or>`, ...expression.expressions.items.map(x => [`<m:eq>`, (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(testExpr, 1), (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlExpression(x), 1), `</m:eq>`]).flat().map(x => (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(x, 1)), `</m:or>`].join("\n");
122862
+ }
122863
+
122864
+ default:
122865
+ // @ts-ignore
122866
+ throw new Error(`Expression of type '${expression.type}' is not supported`);
122867
+ }
122868
+ }
122869
+
122870
+ function formatDescribeStatement(ast, matchPath, describe) {
122871
+ return _KCLangDescriptionParser__WEBPACK_IMPORTED_MODULE_3__.KCLangDescriptionParser.parse(describe.text).map(item => {
122872
+ if (typeof item === "string") {
122873
+ return item;
122874
+ } else {
122875
+ return `{{link ref=${item.src}}}${item.text.join(" ")}{{/link}}`;
122876
+ }
122877
+ }).join(" ");
122878
+ }
122879
+
122880
+ function generateKCXmlFormula(ast, matchPath, describe) {
122881
+ const descriptionAttr = describe != undefined ? ` description="${formatDescribeStatement(ast, matchPath, describe)}"` : "";
122882
+ return `<m:formula match="${matchPath}" target="${ast.target}"${descriptionAttr}>\n` + (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlExpression(ast.expression), 1) + "\n" + `</m:formula>`;
122883
+ }
122884
+
122885
+ function removeTrailingSlash(inputStr) {
122886
+ if (inputStr.endsWith("/")) {
122887
+ return inputStr.substring(0, inputStr.length - 1);
122888
+ }
122889
+
122890
+ return inputStr;
122891
+ }
122892
+
122893
+ function joinPaths(paths) {
122894
+ return paths.map(removeTrailingSlash).join("/");
122895
+ }
122896
+
122897
+ function generateBlockKCXmlFormulas(block, parents) {
122898
+ const matchPath = joinPaths([...(parents !== null && parents !== void 0 ? parents : []).map(x => x.path), block.path]);
122899
+ const result = [];
122900
+ let lastDescribeStatement;
122901
+
122902
+ for (const statement of block.statements) {
122903
+ if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_4__.isFormulaStatement)(statement)) {
122904
+ result.push(generateKCXmlFormula(statement, matchPath, lastDescribeStatement));
122905
+ lastDescribeStatement = undefined;
122906
+ }
122907
+
122908
+ if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_4__.isEnsureStatement)(statement)) {
122909
+ lastDescribeStatement = undefined;
122910
+ }
122911
+
122912
+ if (lastDescribeStatement != undefined) {
122913
+ throw new Error("Describe should be placed before assign of ensure statements");
122914
+ }
122915
+
122916
+ if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_4__.isDescribeStatement)(statement)) {
122917
+ lastDescribeStatement = statement;
122918
+ }
122919
+
122920
+ if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_4__.isBlockStatement)(statement)) {
122921
+ result.push(generateBlockKCXmlFormulas(statement, [...(parents !== null && parents !== void 0 ? parents : []), block]));
122922
+ }
122923
+ }
122924
+
122925
+ return result.join("\n");
122926
+ }
122927
+
122928
+ function guessConditionTarget(condition) {
122929
+ let result;
122930
+
122931
+ class GuessConditionTargetVisitor extends _IKCLangExpressionVisitor__WEBPACK_IMPORTED_MODULE_2__.DefaultKCLangExpressionVisitor {
122932
+ visitExistsKCLangNode(node) {
122933
+ if (result == undefined) {
122934
+ result = node.select;
122935
+ }
122936
+ }
122937
+
122938
+ visitArgumentKCLangNode(node) {
122939
+ if (result == undefined) {
122940
+ result = node.select;
122941
+ }
122942
+ }
122943
+
122944
+ // @ts-ignore
122945
+ __reactstandin__regenerateByEval(key, code) {
122946
+ // @ts-ignore
122947
+ this[key] = eval(code);
122948
+ }
122949
+
122950
+ }
122951
+
122952
+ (0,_IKCLangExpressionVisitor__WEBPACK_IMPORTED_MODULE_2__.traverseKCLangExpression)(condition.expression, new GuessConditionTargetVisitor());
122953
+ return result;
122954
+ }
122955
+
122956
+ function generateKCXmlCondition(ast, matchPath, parentConditions, describe) {
122957
+ const levelAttr = ast.level === "error" ? ` errorLevel="Error"` : "";
122958
+ const descriptionAttr = describe != undefined ? ` description="${formatDescribeStatement(ast, matchPath, describe)}"` : "";
122959
+ const guessedTarget = guessConditionTarget(ast);
122960
+ const targetAttr = guessedTarget != undefined ? ` target="${guessedTarget}"` : "";
122961
+
122962
+ if (parentConditions != undefined && (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_1__.arrayIsNotEmpty)(parentConditions)) {
122963
+ var _parentConditions$map;
122964
+
122965
+ const condition = parentConditions.length === 1 ? parentConditions[0].condition : (0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_4__.andKCLangNode)(...((_parentConditions$map = parentConditions === null || parentConditions === void 0 ? void 0 : parentConditions.map(z => z.condition)) !== null && _parentConditions$map !== void 0 ? _parentConditions$map : []));
122966
+ return `<m:condition match="${matchPath}"${descriptionAttr}${levelAttr}${targetAttr}>\n` + ` <m:when>\n` + (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlExpression(condition), 2) + "\n" + (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlExpression(ast.expression), 2) + "\n" + ` </m:when>\n` + `</m:condition>`;
122967
+ }
122968
+
122969
+ return `<m:condition match="${matchPath}"${descriptionAttr}${levelAttr}${targetAttr}>\n` + (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlExpression(ast.expression), 1) + "\n" + `</m:condition>`;
122970
+ }
122971
+
122972
+ function generateBlockKCXmlConditions(block, parents, parentConditions) {
122973
+ const matchPath = joinPaths([...(parents !== null && parents !== void 0 ? parents : []).map(x => x.path), block.path]);
122974
+ const result = [];
122975
+ let lastDescribeStatement;
122976
+
122977
+ for (const statement of block.statements) {
122978
+ if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_4__.isFormulaStatement)(statement)) {
122979
+ lastDescribeStatement = undefined;
122980
+ }
122981
+
122982
+ if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_4__.isEnsureStatement)(statement)) {
122983
+ result.push(generateKCXmlCondition(statement, matchPath, parentConditions, lastDescribeStatement));
122984
+ lastDescribeStatement = undefined;
122985
+ }
122986
+
122987
+ if (lastDescribeStatement != undefined) {
122988
+ throw new Error("Describe should be placed before assign of ensure statements");
122989
+ }
122990
+
122991
+ if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_4__.isDescribeStatement)(statement)) {
122992
+ lastDescribeStatement = statement;
122993
+ }
122994
+
122995
+ if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_4__.isConditionalStatement)(statement)) {
122996
+ result.push(generateConditionalConditions(statement, [...(parents !== null && parents !== void 0 ? parents : []), block], parentConditions));
122997
+ }
122998
+
122999
+ if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_4__.isBlockStatement)(statement)) {
123000
+ result.push(generateBlockKCXmlConditions(statement, [...(parents !== null && parents !== void 0 ? parents : []), block], parentConditions));
123001
+ }
123002
+ }
123003
+
123004
+ return result.join("\n");
123005
+ }
123006
+
123007
+ function generateConditionalConditions(conditionalStatement, parents, parentConditions) {
123008
+ const matchPath = joinPaths([...(parents !== null && parents !== void 0 ? parents : []).map(x => x.path)]);
123009
+ const result = [];
123010
+ let lastDescribeStatement;
123011
+
123012
+ for (const x of conditionalStatement.statements) {
123013
+ if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_4__.isEnsureStatement)(x)) {
123014
+ result.push(generateKCXmlCondition(x, matchPath, [...(parentConditions !== null && parentConditions !== void 0 ? parentConditions : []), conditionalStatement], lastDescribeStatement));
123015
+ lastDescribeStatement = undefined;
123016
+ }
123017
+
123018
+ if (lastDescribeStatement != undefined) {
123019
+ throw new Error("Describe should be placed before assign of ensure statements");
123020
+ }
123021
+
123022
+ if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_4__.isDescribeStatement)(x)) {
123023
+ lastDescribeStatement = x;
123024
+ }
123025
+
123026
+ if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_4__.isConditionalStatement)(x)) {
123027
+ result.push(generateConditionalConditions(x, parents, [...(parentConditions !== null && parentConditions !== void 0 ? parentConditions : []), conditionalStatement]));
123028
+ }
123029
+
123030
+ if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_4__.isBlockStatement)(x)) {
123031
+ result.push(generateBlockKCXmlConditions(x, parents, [...(parentConditions !== null && parentConditions !== void 0 ? parentConditions : []), conditionalStatement]));
123032
+ }
123033
+ }
123034
+
123035
+ return result.join("\n");
123036
+ }
123037
+
123038
+ function generateKCXmlFormulas(blocks) {
123039
+ const formulas = Iterator.from(blocks).map(generateBlockKCXmlFormulas).toArray();
123040
+
123041
+ if (formulas.filter(x => x !== "").length > 0) {
123042
+ return `<m:formulas>\n` + (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(formulas.join("\n"), 1) + "\n" + `</m:formulas>\n`;
123043
+ } else {
123044
+ return "";
123045
+ }
123046
+ }
123047
+
123048
+ function generateKCXmlConditions(blocks) {
123049
+ const conditions = Iterator.from(blocks).map(generateBlockKCXmlConditions).toArray();
123050
+
123051
+ if (conditions.filter(x => x !== "").length > 0) {
123052
+ return `<m:conditions>\n` + (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(conditions.join("\n"), 1) + "\n" + `</m:conditions>\n`;
123053
+ } else {
123054
+ return "";
123055
+ }
123056
+ }
123057
+
123058
+ function generateKCXml(blocks) {
123059
+ return `<?xml version="1.0" encoding="utf-8"?>\n` + `<m:math xmlns:m="http://www.kontur-extern.ru/ФНС 4.0/math.xsd">\n` + (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlFormulas(blocks), 1) + (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlConditions(blocks), 1) + `</m:math>`;
123060
+ }
123061
+
123062
+ class KCLangToXmlTranspiler {
123063
+ static transpile(kcLang, customParser) {
123064
+ const parser = customParser !== null && customParser !== void 0 ? customParser : _Antlr_KCLangAntlrParser__WEBPACK_IMPORTED_MODULE_6__.KCLangAntlrParser.parse;
123065
+ const kcxml = generateKCXml(parser(kcLang).blocks);
123066
+ return kcxml;
123067
+ }
123068
+
123069
+ }
123070
+ function kclang(str) {
123071
+ return KCLangToXmlTranspiler.transpile(str.join(""));
123072
+ }
123073
+ ;
123074
+
123075
+ (function () {
123076
+ var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
123077
+
123078
+ if (!reactHotLoader) {
123079
+ return;
123080
+ }
123081
+
123082
+ reactHotLoader.register(generateKCXmlExpression, "generateKCXmlExpression", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\common\\KCLang\\KCLangToXmlTranspiler.ts");
123083
+ reactHotLoader.register(formatDescribeStatement, "formatDescribeStatement", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\common\\KCLang\\KCLangToXmlTranspiler.ts");
123084
+ reactHotLoader.register(generateKCXmlFormula, "generateKCXmlFormula", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\common\\KCLang\\KCLangToXmlTranspiler.ts");
123085
+ reactHotLoader.register(removeTrailingSlash, "removeTrailingSlash", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\common\\KCLang\\KCLangToXmlTranspiler.ts");
123086
+ reactHotLoader.register(joinPaths, "joinPaths", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\common\\KCLang\\KCLangToXmlTranspiler.ts");
123087
+ reactHotLoader.register(generateBlockKCXmlFormulas, "generateBlockKCXmlFormulas", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\common\\KCLang\\KCLangToXmlTranspiler.ts");
123088
+ reactHotLoader.register(guessConditionTarget, "guessConditionTarget", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\common\\KCLang\\KCLangToXmlTranspiler.ts");
123089
+ reactHotLoader.register(generateKCXmlCondition, "generateKCXmlCondition", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\common\\KCLang\\KCLangToXmlTranspiler.ts");
123090
+ reactHotLoader.register(generateBlockKCXmlConditions, "generateBlockKCXmlConditions", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\common\\KCLang\\KCLangToXmlTranspiler.ts");
123091
+ reactHotLoader.register(generateConditionalConditions, "generateConditionalConditions", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\common\\KCLang\\KCLangToXmlTranspiler.ts");
123092
+ reactHotLoader.register(generateKCXmlFormulas, "generateKCXmlFormulas", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\common\\KCLang\\KCLangToXmlTranspiler.ts");
123093
+ reactHotLoader.register(generateKCXmlConditions, "generateKCXmlConditions", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\common\\KCLang\\KCLangToXmlTranspiler.ts");
123094
+ reactHotLoader.register(generateKCXml, "generateKCXml", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\common\\KCLang\\KCLangToXmlTranspiler.ts");
123095
+ reactHotLoader.register(KCLangToXmlTranspiler, "KCLangToXmlTranspiler", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\common\\KCLang\\KCLangToXmlTranspiler.ts");
123096
+ reactHotLoader.register(kclang, "kclang", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\common\\KCLang\\KCLangToXmlTranspiler.ts");
123097
+ })();
123098
+
123099
+ ;
123100
+
123101
+ (function () {
123102
+ var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
123103
+ leaveModule && leaveModule(module);
123104
+ })();
123105
+
123106
+ /***/ }),
123107
+
123108
+ /***/ "./Generator/src/common/KCLang/Utils.ts":
123109
+ /*!**********************************************!*\
123110
+ !*** ./Generator/src/common/KCLang/Utils.ts ***!
123111
+ \**********************************************/
123112
+ /***/ ((module, __webpack_exports__, __webpack_require__) => {
123113
+
123114
+ "use strict";
123115
+ __webpack_require__.r(__webpack_exports__);
123116
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
123117
+ /* harmony export */ "indent": () => (/* binding */ indent)
123118
+ /* harmony export */ });
123119
+ /* module decorator */ module = __webpack_require__.hmd(module);
123120
+ (function () {
123121
+ var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
123122
+ enterModule && enterModule(module);
123123
+ })();
123124
+
123125
+ var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
123126
+ return a;
123127
+ };
123128
+
123129
+ function indent(str, count) {
123130
+ const indentStr = new Array(count * 2).fill(" ").join("");
123131
+ return str.split("\n").map(x => {
123132
+ if (x === "") {
123133
+ return x;
123134
+ }
123135
+
123136
+ return indentStr + x;
123137
+ }).join("\n");
123138
+ }
123139
+ ;
123140
+
123141
+ (function () {
123142
+ var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
123143
+
123144
+ if (!reactHotLoader) {
123145
+ return;
123146
+ }
123147
+
123148
+ reactHotLoader.register(indent, "indent", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\common\\KCLang\\Utils.ts");
123149
+ })();
123150
+
123151
+ ;
123152
+
123153
+ (function () {
123154
+ var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
123155
+ leaveModule && leaveModule(module);
123156
+ })();
123157
+
123158
+ /***/ }),
123159
+
122411
123160
  /***/ "./Generator/src/common/RequireContext/LoadDocumentationFileFormContext.ts":
122412
123161
  /*!*********************************************************************************!*\
122413
123162
  !*** ./Generator/src/common/RequireContext/LoadDocumentationFileFormContext.ts ***!
@@ -123257,7 +124006,7 @@ let MaxinclusiveTypeCheck = (_dec19 = (0,_generators_markupGenerator_Serializer_
123257
124006
  writable: true,
123258
124007
  initializer: null
123259
124008
  })), _class29)) || _class28);
123260
- let SchemaRngType = (_dec21 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.sugarNode)("type", ``), _dec22 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.attr)("base", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.attrType["enum"]("string", "pattern", "integer", "decimal", "date", "gYear", "dateTime", "int", "boolean", "double"), ``), _dec23 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.attr)("description", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.attrType.string, ``), _dec24 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.attr)("requiredDescription", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.attrType.string, ``), _dec25 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.children)(undefined, [PatternTypeCheck, EnumerationTypeCheck, LengthTypeCheck, MinlengthTypeCheck, MaxlengthTypeCheck, TotaldigitsTypeCheck, IntegerdigitsTypeCheck, FractiondigitsTypeCheck, MininclusiveTypeCheck, MaxinclusiveTypeCheck]), _dec21(_class31 = (_class32 = class SchemaRngType extends _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.SugarNodeBase {
124009
+ let SchemaRngType = (_dec21 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.sugarNode)("type", ``), _dec22 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.attr)("base", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.attrType["enum"]("string", "pattern", "integer", "decimal", "date", "gYear", "gMonth", "dateTime", "int", "boolean", "double"), ``), _dec23 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.attr)("description", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.attrType.string, ``), _dec24 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.attr)("requiredDescription", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.attrType.string, ``), _dec25 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.children)(undefined, [PatternTypeCheck, EnumerationTypeCheck, LengthTypeCheck, MinlengthTypeCheck, MaxlengthTypeCheck, TotaldigitsTypeCheck, IntegerdigitsTypeCheck, FractiondigitsTypeCheck, MininclusiveTypeCheck, MaxinclusiveTypeCheck]), _dec21(_class31 = (_class32 = class SchemaRngType extends _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.SugarNodeBase {
123261
124010
  constructor(...args) {
123262
124011
  super(...args);
123263
124012
 
@@ -129456,8 +130205,7 @@ var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoader
129456
130205
 
129457
130206
 
129458
130207
  class FormulasAutoCalculationsGenerator {
129459
- generate(formulaContainer, schemaRng, dataDeclarationHelper) {
129460
- const formulas = formulaContainer.formulas == undefined || formulaContainer.formulas.items == undefined ? [] : formulaContainer.formulas.items;
130208
+ generate(formulas, schemaRng, dataDeclarationHelper) {
129461
130209
  const formulaAutoCalculations = formulas.map(formula => this.buildFormulaAutoCalculation(formula, schemaRng, dataDeclarationHelper)).flat();
129462
130210
  return this.mergeFormulaAutoCalculations(formulaAutoCalculations);
129463
130211
  }
@@ -130467,7 +131215,8 @@ __webpack_require__.r(__webpack_exports__);
130467
131215
  /* harmony export */ });
130468
131216
  /* harmony import */ var _common_XmlParser_XmlParser__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../common/XmlParser/XmlParser */ "./Generator/src/common/XmlParser/XmlParser.ts");
130469
131217
  /* harmony import */ var _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../markupGenerator/Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
130470
- /* harmony import */ var _Formula__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Formula */ "./Generator/src/generators/AutoCalculationsGenerator/AutoCalculationsFromFormulas/KCXmlContract/Formula.ts");
131218
+ /* harmony import */ var _common_KCLang_KCLangToXmlTranspiler__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../common/KCLang/KCLangToXmlTranspiler */ "./Generator/src/common/KCLang/KCLangToXmlTranspiler.ts");
131219
+ /* harmony import */ var _Formula__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Formula */ "./Generator/src/generators/AutoCalculationsGenerator/AutoCalculationsFromFormulas/KCXmlContract/Formula.ts");
130471
131220
  /* module decorator */ module = __webpack_require__.hmd(module);
130472
131221
  (function () {
130473
131222
  var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
@@ -130481,31 +131230,68 @@ var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoader
130481
131230
 
130482
131231
 
130483
131232
 
131233
+
130484
131234
  class FormulaReader {
130485
- readFormulas(kcxmlSource) {
131235
+ readFormulas(kcxmlSources, kclangSources) {
130486
131236
  const serializer = this.createFormulaSerializer();
130487
- const result = serializer.deserializeFromSugarXmlNode((0,_common_XmlParser_XmlParser__WEBPACK_IMPORTED_MODULE_0__.parseXml)(kcxmlSource));
131237
+ const result = [];
131238
+
131239
+ for (const kcxmlSource of kcxmlSources) {
131240
+ const rootNode = serializer.deserializeFromSugarXmlNode((0,_common_XmlParser_XmlParser__WEBPACK_IMPORTED_MODULE_0__.parseXml)(kcxmlSource));
131241
+
131242
+ if (rootNode instanceof _Formula__WEBPACK_IMPORTED_MODULE_3__.MathContainer) {
131243
+ var _rootNode$formulas$it, _rootNode$formulas;
130488
131244
 
130489
- if (result instanceof _Formula__WEBPACK_IMPORTED_MODULE_2__.DummyContent) {
130490
- return this.createEmptyMathContainer();
131245
+ result.push(...((_rootNode$formulas$it = (_rootNode$formulas = rootNode.formulas) === null || _rootNode$formulas === void 0 ? void 0 : _rootNode$formulas.items) !== null && _rootNode$formulas$it !== void 0 ? _rootNode$formulas$it : []));
131246
+ }
131247
+ }
131248
+
131249
+ for (const kclangSource of kclangSources) {
131250
+ const rootNode = serializer.deserializeFromSugarXmlNode((0,_common_XmlParser_XmlParser__WEBPACK_IMPORTED_MODULE_0__.parseXml)(_common_KCLang_KCLangToXmlTranspiler__WEBPACK_IMPORTED_MODULE_2__.KCLangToXmlTranspiler.transpile(kclangSource)));
131251
+
131252
+ if (rootNode instanceof _Formula__WEBPACK_IMPORTED_MODULE_3__.MathContainer) {
131253
+ var _rootNode$formulas$it2, _rootNode$formulas2;
131254
+
131255
+ result.push(...((_rootNode$formulas$it2 = (_rootNode$formulas2 = rootNode.formulas) === null || _rootNode$formulas2 === void 0 ? void 0 : _rootNode$formulas2.items) !== null && _rootNode$formulas$it2 !== void 0 ? _rootNode$formulas$it2 : []));
131256
+ }
130491
131257
  }
130492
131258
 
130493
131259
  return result;
130494
131260
  }
130495
131261
 
130496
- createEmptyMathContainer() {
130497
- const mathContainer = new _Formula__WEBPACK_IMPORTED_MODULE_2__.MathContainer();
130498
- mathContainer.formulas = new _Formula__WEBPACK_IMPORTED_MODULE_2__.Formulas();
130499
- mathContainer.formulas.items = [];
130500
- return mathContainer;
131262
+ readConditions(kcxmlSources, kclangSources) {
131263
+ const serializer = this.createFormulaSerializer();
131264
+ const result = [];
131265
+
131266
+ for (const kcxmlSource of kcxmlSources) {
131267
+ const rootNode = serializer.deserializeFromSugarXmlNode((0,_common_XmlParser_XmlParser__WEBPACK_IMPORTED_MODULE_0__.parseXml)(kcxmlSource));
131268
+
131269
+ if (rootNode instanceof _Formula__WEBPACK_IMPORTED_MODULE_3__.MathContainer) {
131270
+ var _rootNode$conditions$, _rootNode$conditions;
131271
+
131272
+ result.push(...((_rootNode$conditions$ = (_rootNode$conditions = rootNode.conditions) === null || _rootNode$conditions === void 0 ? void 0 : _rootNode$conditions.items) !== null && _rootNode$conditions$ !== void 0 ? _rootNode$conditions$ : []));
131273
+ }
131274
+ }
131275
+
131276
+ for (const kclangSource of kclangSources) {
131277
+ const rootNode = serializer.deserializeFromSugarXmlNode((0,_common_XmlParser_XmlParser__WEBPACK_IMPORTED_MODULE_0__.parseXml)(_common_KCLang_KCLangToXmlTranspiler__WEBPACK_IMPORTED_MODULE_2__.KCLangToXmlTranspiler.transpile(kclangSource)));
131278
+
131279
+ if (rootNode instanceof _Formula__WEBPACK_IMPORTED_MODULE_3__.MathContainer) {
131280
+ var _rootNode$conditions$2, _rootNode$conditions2;
131281
+
131282
+ result.push(...((_rootNode$conditions$2 = (_rootNode$conditions2 = rootNode.conditions) === null || _rootNode$conditions2 === void 0 ? void 0 : _rootNode$conditions2.items) !== null && _rootNode$conditions$2 !== void 0 ? _rootNode$conditions$2 : []));
131283
+ }
131284
+ }
131285
+
131286
+ return result;
130501
131287
  }
130502
131288
 
130503
131289
  createFormulaSerializer() {
130504
131290
  const result = new _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.SugarSerializer();
130505
- result.registerNode(_Formula__WEBPACK_IMPORTED_MODULE_2__.DummyContent);
130506
- result.registerNode(_Formula__WEBPACK_IMPORTED_MODULE_2__.MathContainer);
131291
+ result.registerNode(_Formula__WEBPACK_IMPORTED_MODULE_3__.DummyContent);
131292
+ result.registerNode(_Formula__WEBPACK_IMPORTED_MODULE_3__.MathContainer);
130507
131293
 
130508
- for (const formulaExpression of _Formula__WEBPACK_IMPORTED_MODULE_2__.formulaExpressions) {
131294
+ for (const formulaExpression of _Formula__WEBPACK_IMPORTED_MODULE_3__.formulaExpressions) {
130509
131295
  result.registerNode(formulaExpression);
130510
131296
  }
130511
131297
 
@@ -130946,6 +131732,7 @@ __webpack_require__.r(__webpack_exports__);
130946
131732
  /* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
130947
131733
  /* harmony import */ var _markupGenerator_getBindingPath__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../markupGenerator/getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
130948
131734
  /* harmony import */ var _markupGenerator_ElementProcessors_FormParts_Page_PageNode__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../markupGenerator/ElementProcessors/FormParts/Page/PageNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Page/PageNode.ts");
131735
+ /* harmony import */ var _common_SchemaRng_FormSchemaRng__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../common/SchemaRng/FormSchemaRng */ "./Generator/src/common/SchemaRng/FormSchemaRng.ts");
130949
131736
  /* module decorator */ module = __webpack_require__.hmd(module);
130950
131737
  (function () {
130951
131738
  var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
@@ -130965,6 +131752,7 @@ var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoader
130965
131752
 
130966
131753
 
130967
131754
 
131755
+
130968
131756
  var RequisiteSectionMode;
130969
131757
 
130970
131758
  (function (RequisiteSectionMode) {
@@ -130975,8 +131763,10 @@ var RequisiteSectionMode;
130975
131763
 
130976
131764
  const emptyDataDeclarationCollection = {};
130977
131765
  class DataDeclarationGenerationContext {
130978
- constructor(initSequenceFactory, controlCustomizationContext, typesRegistry) {
131766
+ constructor(initSequenceFactory, controlCustomizationContext, typesRegistry, formSchemaRng, schemeValidations) {
130979
131767
  this.initSequenceFactory = void 0;
131768
+ this.formSchemaRng = void 0;
131769
+ this.schemeValidations = void 0;
130980
131770
  this.controlCustomizationContext = void 0;
130981
131771
  this.typesRegistry = void 0;
130982
131772
 
@@ -131006,11 +131796,29 @@ class DataDeclarationGenerationContext {
131006
131796
  return undefined;
131007
131797
  };
131008
131798
 
131799
+ this.formSchemaRng = formSchemaRng;
131800
+ this.schemeValidations = schemeValidations;
131009
131801
  this.initSequenceFactory = initSequenceFactory;
131010
131802
  this.controlCustomizationContext = controlCustomizationContext;
131011
131803
  this.typesRegistry = typesRegistry;
131012
131804
  }
131013
131805
 
131806
+ isMultipleNodeOptionalFromScheme(path) {
131807
+ if (!this.schemeValidations) {
131808
+ return undefined;
131809
+ }
131810
+
131811
+ const schemaNode = this.formSchemaRng.getElementByPath(path);
131812
+
131813
+ if (schemaNode instanceof _common_SchemaRng_FormSchemaRng__WEBPACK_IMPORTED_MODULE_9__.FormSchemaRngElement) {
131814
+ var _schemaNode$optional;
131815
+
131816
+ return (_schemaNode$optional = schemaNode.optional) !== null && _schemaNode$optional !== void 0 ? _schemaNode$optional : false;
131817
+ }
131818
+
131819
+ return undefined;
131820
+ }
131821
+
131014
131822
  getTypeNode(node) {
131015
131823
  if (node.anonymousType != undefined) {
131016
131824
  return node.anonymousType;
@@ -131388,11 +132196,15 @@ var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoader
131388
132196
 
131389
132197
 
131390
132198
  class DataDeclarationGenerator {
131391
- constructor(sugarRoot, initSequenceFactory, controlCustomizationContext, typesRegistry) {
132199
+ constructor(sugarRoot, initSequenceFactory, controlCustomizationContext, typesRegistry, formSchemaRng, schemeValidations) {
131392
132200
  this.sugarRoot = void 0;
131393
132201
  this.initSequenceFactory = void 0;
132202
+ this.formSchemaRng = void 0;
132203
+ this.schemeValidations = void 0;
131394
132204
  this.controlCustomizationContext = void 0;
131395
132205
  this.typesRegistry = void 0;
132206
+ this.formSchemaRng = formSchemaRng;
132207
+ this.schemeValidations = schemeValidations;
131396
132208
  this.sugarRoot = sugarRoot;
131397
132209
  this.initSequenceFactory = initSequenceFactory;
131398
132210
  this.controlCustomizationContext = controlCustomizationContext;
@@ -131404,7 +132216,7 @@ class DataDeclarationGenerator {
131404
132216
 
131405
132217
  const converterClass = (_getConverterByNodeCl = (0,_markupGenerator_AllConverters__WEBPACK_IMPORTED_MODULE_4__.getConverterByNodeClass)((0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.getNodeClass)(this.sugarRoot))) !== null && _getConverterByNodeCl !== void 0 ? _getConverterByNodeCl : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_5__.reject)();
131406
132218
  const converter = new converterClass(this.sugarRoot);
131407
- const context = new _DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_7__.DataDeclarationGenerationContext(this.initSequenceFactory, this.controlCustomizationContext, this.typesRegistry);
132219
+ const context = new _DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_7__.DataDeclarationGenerationContext(this.initSequenceFactory, this.controlCustomizationContext, this.typesRegistry, this.formSchemaRng, this.schemeValidations);
131408
132220
  const dataDeclaration = converter.buildDataDeclaration(context);
131409
132221
  const orderedDataDeclaration = this.sortDataDeclarationKeys(dataDeclaration);
131410
132222
  const result = this.replaceHolder(`
@@ -131438,7 +132250,7 @@ class DataDeclarationGenerator {
131438
132250
 
131439
132251
  const converterClass = (_getConverterByNodeCl2 = (0,_markupGenerator_AllConverters__WEBPACK_IMPORTED_MODULE_4__.getConverterByNodeClass)((0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.getNodeClass)(this.sugarRoot))) !== null && _getConverterByNodeCl2 !== void 0 ? _getConverterByNodeCl2 : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_5__.reject)();
131440
132252
  const converter = new converterClass(this.sugarRoot);
131441
- const context = new _DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_7__.DataDeclarationGenerationContext(this.initSequenceFactory, this.controlCustomizationContext, this.typesRegistry);
132253
+ const context = new _DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_7__.DataDeclarationGenerationContext(this.initSequenceFactory, this.controlCustomizationContext, this.typesRegistry, this.formSchemaRng, this.schemeValidations);
131442
132254
  const dataDeclaration = converter.buildDataDeclaration(context);
131443
132255
  const orderedDataDeclaration = this.sortDataDeclarationKeys(dataDeclaration);
131444
132256
  return `
@@ -132434,6 +133246,9 @@ window.CF.entryPoint[gfv] = function(container, { renderForm, ...settings }) {
132434
133246
  settings: {
132435
133247
  ...defaultSettings,
132436
133248
  ...settings,
133249
+ isDisabledCleanForm: defaultSettings.isDisabledCleanForm || settings.isDisabledCleanForm,
133250
+ isDisabledCloseButton: defaultSettings.isDisabledCloseButton || settings.isDisabledCloseButton,
133251
+ isDisabledCloseAndSaveButton: defaultSettings.isDisabledCloseAndSaveButton || settings.isDisabledCloseAndSaveButton,
132437
133252
  }
132438
133253
  }
132439
133254
  return renderForm(Form, resources, container)
@@ -132695,11 +133510,9 @@ class KCXmlValidationGenerator {
132695
133510
  const conditionReader = new _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_FormulaReader__WEBPACK_IMPORTED_MODULE_2__.FormulaReader();
132696
133511
 
132697
133512
  for (const file of importedKcXmlValidations) {
132698
- const math = conditionReader.readFormulas(file);
132699
-
132700
- for (const condition of (_math$conditions$item = math === null || math === void 0 ? void 0 : (_math$conditions = math.conditions) === null || _math$conditions === void 0 ? void 0 : _math$conditions.items) !== null && _math$conditions$item !== void 0 ? _math$conditions$item : []) {
132701
- var _math$conditions$item, _math$conditions;
133513
+ const conditions = conditionReader.readConditions([file], []);
132702
133514
 
133515
+ for (const condition of conditions) {
132703
133516
  compiledConditions.push(this.compileCondition(condition));
132704
133517
  }
132705
133518
  }
@@ -132914,12 +133727,12 @@ var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoader
132914
133727
 
132915
133728
  function processSugar(formSugarContent, additionalContent, generationOptions) {
132916
133729
  try {
132917
- var _generationOptions$in, _generationOptions$in2, _sugarRoot$schemaVali, _sugarRoot$deepOption, _sugarRoot$schemaVali2, _generationOptions$re, _sugarRoot$schemaVali3, _additionalContent$fo, _additionalContent$fo2;
133730
+ var _generationOptions$in, _generationOptions$in2, _sugarRoot$schemaVali, _sugarRoot$schemaVali2, _sugarRoot$deepOption, _sugarRoot$schemaVali3, _generationOptions$re, _sugarRoot$schemaVali4, _additionalContent$fo, _additionalContent$fo2;
132918
133731
 
132919
133732
  const sugarAst = (0,_common_SugarXmlParser_SugarParser__WEBPACK_IMPORTED_MODULE_4__.parseSugar)(formSugarContent, additionalContent.preprocessor || {});
132920
133733
  const serializer = (0,_markupGenerator_SugarNodes_DefaultSugarSerializer__WEBPACK_IMPORTED_MODULE_12__.createDefaultSugarSerializer)();
132921
133734
  const sugarRoot = (0,_markupGenerator_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_13__.strictCastNode)(serializer.deserializeFromSugarXmlNode(sugarAst), _markupGenerator_ElementProcessors_FormParts_Form_FormNode__WEBPACK_IMPORTED_MODULE_10__.FormNode);
132922
- const formulas = new _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_FormulaReader__WEBPACK_IMPORTED_MODULE_16__.FormulaReader().readFormulas(additionalContent.kcJsXmlContent);
133735
+ const formulas = new _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_FormulaReader__WEBPACK_IMPORTED_MODULE_16__.FormulaReader().readFormulas(additionalContent.kcJsXmlContent, additionalContent.kclangAutocaclulationsContent);
132923
133736
  const schemaRng = (0,_common_XmlParser_XmlParser__WEBPACK_IMPORTED_MODULE_5__.parseXml)(additionalContent.schemaRngContent);
132924
133737
  const formSchemaRng = _common_SchemaRng_FormSchemaRng__WEBPACK_IMPORTED_MODULE_3__.FormSchemaRng.createFromSchemaRng(additionalContent.schemaRngContent);
132925
133738
  const typeRegistry = (0,_validationGenerator_TypesRegistry__WEBPACK_IMPORTED_MODULE_14__.buildTypesRegistry)(sugarRoot);
@@ -132929,17 +133742,17 @@ function processSugar(formSugarContent, additionalContent, generationOptions) {
132929
133742
  const fetchFunctions = new _common_FetchFunctions__WEBPACK_IMPORTED_MODULE_2__.FetchFunctions(referencedFetchFunctions); // tslint:disable-next-line no-unsafe-any
132930
133743
 
132931
133744
  const additionalSettings = JSON.parse(additionalContent.additionalSettings || "{}");
132932
- const dataDeclarationGenerator = new _DataDeclarationGenerator_DataDeclarationGenerator__WEBPACK_IMPORTED_MODULE_18__.DataDeclarationGenerator(sugarRoot, new _DataDeclarationGenerator_DataDeclarationInitSourceSequenceFactory__WEBPACK_IMPORTED_MODULE_19__.DataDeclarationInitSourceSequenceFactory(fetchFunctions), controlCustomizationContext, typeRegistry);
133745
+ const dataDeclarationGenerator = new _DataDeclarationGenerator_DataDeclarationGenerator__WEBPACK_IMPORTED_MODULE_18__.DataDeclarationGenerator(sugarRoot, new _DataDeclarationGenerator_DataDeclarationInitSourceSequenceFactory__WEBPACK_IMPORTED_MODULE_19__.DataDeclarationInitSourceSequenceFactory(fetchFunctions), controlCustomizationContext, typeRegistry, formSchemaRng, (_sugarRoot$schemaVali = sugarRoot.schemaValidations) !== null && _sugarRoot$schemaVali !== void 0 ? _sugarRoot$schemaVali : false);
132933
133746
  const {
132934
133747
  dataDeclarationContent,
132935
133748
  dataDeclaration
132936
133749
  } = dataDeclarationGenerator.generate();
132937
133750
  const dataDeclarationHelper = new _DataDeclarationGenerator_DataDeclarationGenerationTimeHelper__WEBPACK_IMPORTED_MODULE_25__.DataDeclarationGenerationTimeHelper(dataDeclaration);
132938
- const validationGenerator = new _validationGenerator_ValidationGenerator__WEBPACK_IMPORTED_MODULE_15__.ValidationGenerator(sugarRoot, typeRegistry, controlCustomizationContext, formSchemaRng, (_sugarRoot$schemaVali = sugarRoot.schemaValidations) !== null && _sugarRoot$schemaVali !== void 0 ? _sugarRoot$schemaVali : false, (_sugarRoot$deepOption = sugarRoot.deepOptionalSchemaValidations) !== null && _sugarRoot$deepOption !== void 0 ? _sugarRoot$deepOption : false, additionalContent.validationsContent);
132939
- const normalizationRulesGenerator = new _ServerSideFLangNormalization_NormalizationRulesGenerator__WEBPACK_IMPORTED_MODULE_24__.NormalizationRulesGenerator(sugarRoot, dataDeclarationHelper, formSchemaRng, formulas, typeRegistry, (_sugarRoot$schemaVali2 = sugarRoot.schemaValidations) !== null && _sugarRoot$schemaVali2 !== void 0 ? _sugarRoot$schemaVali2 : false, controlCustomizationContext);
133751
+ const validationGenerator = new _validationGenerator_ValidationGenerator__WEBPACK_IMPORTED_MODULE_15__.ValidationGenerator(sugarRoot, typeRegistry, controlCustomizationContext, formSchemaRng, (_sugarRoot$schemaVali2 = sugarRoot.schemaValidations) !== null && _sugarRoot$schemaVali2 !== void 0 ? _sugarRoot$schemaVali2 : false, (_sugarRoot$deepOption = sugarRoot.deepOptionalSchemaValidations) !== null && _sugarRoot$deepOption !== void 0 ? _sugarRoot$deepOption : false, additionalContent.validationsContent);
133752
+ const normalizationRulesGenerator = new _ServerSideFLangNormalization_NormalizationRulesGenerator__WEBPACK_IMPORTED_MODULE_24__.NormalizationRulesGenerator(sugarRoot, dataDeclarationHelper, formSchemaRng, formulas, typeRegistry, (_sugarRoot$schemaVali3 = sugarRoot.schemaValidations) !== null && _sugarRoot$schemaVali3 !== void 0 ? _sugarRoot$schemaVali3 : false, controlCustomizationContext);
132940
133753
  const resourcesHash = (_generationOptions$re = generationOptions === null || generationOptions === void 0 ? void 0 : generationOptions.resourcesHash) !== null && _generationOptions$re !== void 0 ? _generationOptions$re : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__.reject)("Current generator version requires resources hash");
132941
133754
  const builder = new _FormSourcesBuilder_FormSourcesBuilder__WEBPACK_IMPORTED_MODULE_20__.FormSourcesBuilder(additionalContent.formSourcesPath);
132942
- const markupGenerator = new _markupGenerator_MarkupGenerator__WEBPACK_IMPORTED_MODULE_11__.MarkupGenerator(additionalContent.formSourcesPath, additionalContent.helpersContent, additionalContent.tourSteps, controlCustomizationContext, typeRegistry, formSchemaRng, dataDeclarationHelper, (_sugarRoot$schemaVali3 = sugarRoot.schemaValidations) !== null && _sugarRoot$schemaVali3 !== void 0 ? _sugarRoot$schemaVali3 : false);
133755
+ const markupGenerator = new _markupGenerator_MarkupGenerator__WEBPACK_IMPORTED_MODULE_11__.MarkupGenerator(additionalContent.formSourcesPath, additionalContent.helpersContent, additionalContent.tourSteps, controlCustomizationContext, typeRegistry, formSchemaRng, dataDeclarationHelper, (_sugarRoot$schemaVali4 = sugarRoot.schemaValidations) !== null && _sugarRoot$schemaVali4 !== void 0 ? _sugarRoot$schemaVali4 : false);
132943
133756
  markupGenerator.generate(sugarRoot, builder);
132944
133757
  builder.addResource("settings.js", (0,_markupGenerator_getSettings__WEBPACK_IMPORTED_MODULE_8__.getSettings)(sugarRoot, additionalContent.gfv, additionalSettings));
132945
133758
  builder.addResource("requisiteList.js", (0,_RequisiteLIst_requisiteList__WEBPACK_IMPORTED_MODULE_23__.getRequisiteList)(sugarRoot, fetchFunctions));
@@ -133072,19 +133885,17 @@ __webpack_require__.r(__webpack_exports__);
133072
133885
  /* harmony import */ var fs__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(fs__WEBPACK_IMPORTED_MODULE_0__);
133073
133886
  /* harmony import */ var path__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! path */ "path");
133074
133887
  /* harmony import */ var path__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(path__WEBPACK_IMPORTED_MODULE_1__);
133075
- /* harmony import */ var util__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! util */ "util");
133076
- /* harmony import */ var util__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(util__WEBPACK_IMPORTED_MODULE_2__);
133077
- /* harmony import */ var chalk__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! chalk */ "./node_modules/chalk/source/index.js");
133078
- /* harmony import */ var chalk__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(chalk__WEBPACK_IMPORTED_MODULE_3__);
133079
- /* harmony import */ var fs_extra__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! fs-extra */ "./node_modules/fs-extra/lib/index.js");
133080
- /* harmony import */ var fs_extra__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(fs_extra__WEBPACK_IMPORTED_MODULE_4__);
133081
- /* harmony import */ var md5__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! md5 */ "./node_modules/md5/md5.js");
133082
- /* harmony import */ var md5__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(md5__WEBPACK_IMPORTED_MODULE_5__);
133083
- /* harmony import */ var md5_file__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! md5-file */ "./node_modules/md5-file/index.js");
133084
- /* harmony import */ var md5_file__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(md5_file__WEBPACK_IMPORTED_MODULE_6__);
133085
- /* harmony import */ var recursive_readdir__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! recursive-readdir */ "./node_modules/recursive-readdir/index.js");
133086
- /* harmony import */ var recursive_readdir__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(recursive_readdir__WEBPACK_IMPORTED_MODULE_7__);
133087
- /* harmony import */ var _common_ExtractSugarReferences__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../common/ExtractSugarReferences */ "./Generator/src/common/ExtractSugarReferences.ts");
133888
+ /* harmony import */ var chalk__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! chalk */ "./node_modules/chalk/source/index.js");
133889
+ /* harmony import */ var chalk__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(chalk__WEBPACK_IMPORTED_MODULE_2__);
133890
+ /* harmony import */ var fs_extra__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! fs-extra */ "./node_modules/fs-extra/lib/index.js");
133891
+ /* harmony import */ var fs_extra__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(fs_extra__WEBPACK_IMPORTED_MODULE_3__);
133892
+ /* harmony import */ var md5__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! md5 */ "./node_modules/md5/md5.js");
133893
+ /* harmony import */ var md5__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(md5__WEBPACK_IMPORTED_MODULE_4__);
133894
+ /* harmony import */ var md5_file__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! md5-file */ "./node_modules/md5-file/index.js");
133895
+ /* harmony import */ var md5_file__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(md5_file__WEBPACK_IMPORTED_MODULE_5__);
133896
+ /* harmony import */ var recursive_readdir__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! recursive-readdir */ "./node_modules/recursive-readdir/index.js");
133897
+ /* harmony import */ var recursive_readdir__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(recursive_readdir__WEBPACK_IMPORTED_MODULE_6__);
133898
+ /* harmony import */ var _common_ExtractSugarReferences__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../common/ExtractSugarReferences */ "./Generator/src/common/ExtractSugarReferences.ts");
133088
133899
  /* module decorator */ module = __webpack_require__.hmd(module);
133089
133900
  (function () {
133090
133901
  var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
@@ -133103,10 +133914,6 @@ var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoader
133103
133914
 
133104
133915
 
133105
133916
 
133106
-
133107
- const statAsync = (0,util__WEBPACK_IMPORTED_MODULE_2__.promisify)(fs__WEBPACK_IMPORTED_MODULE_0__.stat);
133108
- const readFileAsync = (0,util__WEBPACK_IMPORTED_MODULE_2__.promisify)(fs__WEBPACK_IMPORTED_MODULE_0__.readFile);
133109
- const readdirAsync = (0,util__WEBPACK_IMPORTED_MODULE_2__.promisify)(fs__WEBPACK_IMPORTED_MODULE_0__.readdir);
133110
133917
  async function readFormSources(formSourcesPath, farmDirectory) {
133111
133918
  var _JSON$parse$settings;
133112
133919
 
@@ -133118,9 +133925,9 @@ async function readFormSources(formSourcesPath, farmDirectory) {
133118
133925
 
133119
133926
  if (sugarReferences.fetchFunctionFiles.length === 0) {
133120
133927
  // eslint-disable-next-line no-console
133121
- console.warn(chalk__WEBPACK_IMPORTED_MODULE_3___default().yellow(`[WARN] Форма не содержит ссылок на fetch-функции. Будут автоматически подключены функции из каталога legacyfetchfuctions\n` + `[WARN] В будущем необходимо явно прописывать ссылки на используемые fetch-функции`));
133928
+ console.warn(chalk__WEBPACK_IMPORTED_MODULE_2___default().yellow(`[WARN] Форма не содержит ссылок на fetch-функции. Будут автоматически подключены функции из каталога legacyfetchfuctions\n` + `[WARN] В будущем необходимо явно прописывать ссылки на используемые fetch-функции`));
133122
133929
  const legacyfetchfunctionsDirectory = path__WEBPACK_IMPORTED_MODULE_1___default().join(farmDirectory, "legacyfetchfunctions");
133123
- sugarReferences.fetchFunctionFiles = (await readdirAsync(legacyfetchfunctionsDirectory)).map(x => path__WEBPACK_IMPORTED_MODULE_1___default().resolve(legacyfetchfunctionsDirectory, x));
133930
+ sugarReferences.fetchFunctionFiles = (await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readdir)(legacyfetchfunctionsDirectory)).map(x => path__WEBPACK_IMPORTED_MODULE_1___default().resolve(legacyfetchfunctionsDirectory, x));
133124
133931
  }
133125
133932
 
133126
133933
  const result = {
@@ -133130,11 +133937,12 @@ async function readFormSources(formSourcesPath, farmDirectory) {
133130
133937
  formSourcesPath: formSourcesPath,
133131
133938
  formJsonSettings: (_JSON$parse$settings = JSON.parse(await readFileSource(formSourcesPath, "form.json", "{}"))["settings"]) !== null && _JSON$parse$settings !== void 0 ? _JSON$parse$settings : {},
133132
133939
  additionalSettings: await readFileSource(formSourcesPath, "settings.json", "{}"),
133133
- autocalcsContent: await readAutoCalcFiles(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "autocalc")),
133940
+ autocalcsContent: await readFilesFromDir(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "autocalc"), /\.js$/),
133134
133941
  helpersContent: await readJavaScriptFilesWithNames(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "helpers")),
133135
133942
  validationsContent: await readJavaScriptFilesWithNames(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "validations")),
133136
133943
  schemaRngContent: await readSchemaRngFile(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "schemas"), formName),
133137
- kcJsXmlContent: (await readFileSource(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "autocalc"), `${formName}.КС.candy.js.xml`, "<dummy/>")) || "",
133944
+ kcJsXmlContent: await readFilesFromDir(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "autocalc"), /\.(KC|КС|КC|KС|КС\.candy\.js).xml$/),
133945
+ kclangAutocaclulationsContent: await readFilesFromDir(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "autocalc"), /\.kclang$/),
133138
133946
  tourSteps: await readFileSource(path__WEBPACK_IMPORTED_MODULE_1___default().join(rootPath, "tour"), "tour.js", "{}"),
133139
133947
  hooksContent: await readHooksFile(formSourcesPath),
133140
133948
  customControlsContent: await readCustomControlsFiles(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "controls")),
@@ -133178,7 +133986,7 @@ function evalModule(moduleCode) {
133178
133986
 
133179
133987
  async function isDirectoryExists(directoryPath) {
133180
133988
  try {
133181
- const dirStat = await statAsync(directoryPath);
133989
+ const dirStat = await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.stat)(directoryPath);
133182
133990
  return dirStat.isDirectory();
133183
133991
  } catch (ignoreError) {
133184
133992
  return false;
@@ -133189,27 +133997,27 @@ async function readFiles(filePaths) {
133189
133997
  const result = [];
133190
133998
 
133191
133999
  for (const filePath of filePaths) {
133192
- result.push(await readFileAsync(filePath, "utf-8"));
134000
+ result.push(await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readFile)(filePath, "utf-8"));
133193
134001
  }
133194
134002
 
133195
134003
  return result;
133196
134004
  }
133197
134005
 
133198
134006
  async function extractReferences(formSugarDirectoryPath) {
133199
- const indexContent = await readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSugarDirectoryPath, "index.sugar.xml"), "utf-8");
133200
- return (0,_common_ExtractSugarReferences__WEBPACK_IMPORTED_MODULE_8__.extractSugarReferences)(indexContent, filePath => readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSugarDirectoryPath, filePath), "utf-8"));
134007
+ const indexContent = await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readFile)(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSugarDirectoryPath, "index.sugar.xml"), "utf-8");
134008
+ return (0,_common_ExtractSugarReferences__WEBPACK_IMPORTED_MODULE_7__.extractSugarReferences)(indexContent, filePath => (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readFile)(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSugarDirectoryPath, filePath), "utf-8"));
133201
134009
  }
133202
134010
 
133203
134011
  async function getAllFilePathsInDirectory(directoryPath, _filelist) {
133204
- if (!(await (0,fs_extra__WEBPACK_IMPORTED_MODULE_4__.pathExists)(directoryPath))) {
134012
+ if (!(await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.pathExists)(directoryPath))) {
133205
134013
  return [];
133206
134014
  }
133207
134015
 
133208
- const files = await readdirAsync(directoryPath);
134016
+ const files = await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readdir)(directoryPath);
133209
134017
  let filelist = _filelist || [];
133210
134018
 
133211
134019
  for (const file of files) {
133212
- if ((await statAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(directoryPath, file))).isDirectory()) {
134020
+ if ((await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.stat)(path__WEBPACK_IMPORTED_MODULE_1___default().join(directoryPath, file))).isDirectory()) {
133213
134021
  filelist = await getAllFilePathsInDirectory(path__WEBPACK_IMPORTED_MODULE_1___default().join(directoryPath, file), filelist);
133214
134022
  } else {
133215
134023
  filelist.push(path__WEBPACK_IMPORTED_MODULE_1___default().join(directoryPath, file));
@@ -133220,7 +134028,7 @@ async function getAllFilePathsInDirectory(directoryPath, _filelist) {
133220
134028
  }
133221
134029
 
133222
134030
  async function checkFileExists(filePath) {
133223
- if (!(await (0,fs_extra__WEBPACK_IMPORTED_MODULE_4__.pathExists)(filePath))) {
134031
+ if (!(await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.pathExists)(filePath))) {
133224
134032
  return [];
133225
134033
  }
133226
134034
 
@@ -133233,7 +134041,7 @@ async function getAllDependencies(formSourcesPath, farmDirectory) {
133233
134041
 
133234
134042
  if (sugarReferences.fetchFunctionFiles.length === 0) {
133235
134043
  const legacyfetchfunctionsDirectory = path__WEBPACK_IMPORTED_MODULE_1___default().join(farmDirectory, "legacyfetchfunctions");
133236
- sugarReferences.fetchFunctionFiles = (await readdirAsync(legacyfetchfunctionsDirectory)).map(x => path__WEBPACK_IMPORTED_MODULE_1___default().resolve(legacyfetchfunctionsDirectory, x));
134044
+ sugarReferences.fetchFunctionFiles = (await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readdir)(legacyfetchfunctionsDirectory)).map(x => path__WEBPACK_IMPORTED_MODULE_1___default().resolve(legacyfetchfunctionsDirectory, x));
133237
134045
  }
133238
134046
 
133239
134047
  return [path__WEBPACK_IMPORTED_MODULE_1___default().join(formSugarDirectoryPath, "index.sugar.xml"), ...sugarReferences.fetchFunctionFiles.map(x => path__WEBPACK_IMPORTED_MODULE_1___default().resolve(formSugarDirectoryPath, x)), ...sugarReferences.sugarFiles.map(x => path__WEBPACK_IMPORTED_MODULE_1___default().resolve(formSugarDirectoryPath, x + ".sugar.xml")), ...sugarReferences.resourceFiles.map(x => path__WEBPACK_IMPORTED_MODULE_1___default().resolve(formSugarDirectoryPath, x)), ...(await checkFileExists(path__WEBPACK_IMPORTED_MODULE_1___default().resolve(formSourcesPath, "settings.json"))), ...(await getAllFilePathsInDirectory(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "autocalc"))), ...(await getAllFilePathsInDirectory(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "helpers"))), ...(await getAllFilePathsInDirectory(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "validations"))), ...(await getAllFilePathsInDirectory(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "schemas"))), ...(await checkFileExists(path__WEBPACK_IMPORTED_MODULE_1___default().join(farmDirectory, "tour", "tour.js"))), ...(await getAllFilePathsInDirectory(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "controls"))), ...(await getAllFilePathsInDirectory(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "localization")))];
@@ -133246,23 +134054,23 @@ function normalizeLineEndings(content) {
133246
134054
  async function getAllDependenciesHash(formSourcesPath, farmDirectory) {
133247
134055
  const allDeps = await getAllDependencies(formSourcesPath, farmDirectory);
133248
134056
  const hashes = await Promise.all(allDeps.map(async depFilePath => {
133249
- if ([".js", ".xml", ".xslt", ".json"].some(ext => depFilePath.endsWith(ext))) {
133250
- let content = await readFileAsync(depFilePath, "utf-8");
134057
+ if ([".js", ".kclang", ".xml", ".xslt", ".json"].some(ext => depFilePath.endsWith(ext))) {
134058
+ let content = await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readFile)(depFilePath, "utf-8");
133251
134059
  content = normalizeLineEndings(content);
133252
- return md5__WEBPACK_IMPORTED_MODULE_5___default()(content);
134060
+ return md5__WEBPACK_IMPORTED_MODULE_4___default()(content);
133253
134061
  }
133254
134062
 
133255
- return md5_file__WEBPACK_IMPORTED_MODULE_6___default()(depFilePath);
134063
+ return md5_file__WEBPACK_IMPORTED_MODULE_5___default()(depFilePath);
133256
134064
  }));
133257
- return md5__WEBPACK_IMPORTED_MODULE_5___default()(hashes.join(""));
134065
+ return md5__WEBPACK_IMPORTED_MODULE_4___default()(hashes.join(""));
133258
134066
  }
133259
134067
  async function readSugarFiles(formSugarDirectoryPath, references) {
133260
134068
  const result = {
133261
- "./index": await readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSugarDirectoryPath, "index.sugar.xml"), "utf-8")
134069
+ "./index": await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readFile)(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSugarDirectoryPath, "index.sugar.xml"), "utf-8")
133262
134070
  };
133263
134071
 
133264
134072
  for (const sugarPath of references.sugarFiles) {
133265
- const sugarModuleContent = await readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSugarDirectoryPath, sugarPath + ".sugar.xml"), "utf-8");
134073
+ const sugarModuleContent = await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readFile)(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSugarDirectoryPath, sugarPath + ".sugar.xml"), "utf-8");
133266
134074
  result[sugarPath] = sugarModuleContent;
133267
134075
  }
133268
134076
 
@@ -133274,11 +134082,11 @@ async function readCustomControlsFiles(formSugarDirectoryPath) {
133274
134082
  return {};
133275
134083
  }
133276
134084
 
133277
- const fileNames = await recursive_readdir__WEBPACK_IMPORTED_MODULE_7___default()(formSugarDirectoryPath);
134085
+ const fileNames = await recursive_readdir__WEBPACK_IMPORTED_MODULE_6___default()(formSugarDirectoryPath);
133278
134086
  const result = {};
133279
134087
 
133280
134088
  for (const fileName of fileNames) {
133281
- const sugarModuleContent = await readFileAsync(fileName, "utf-8");
134089
+ const sugarModuleContent = await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readFile)(fileName, "utf-8");
133282
134090
  const relativeFileName = ("controls\\" + fileName.replace(formSugarDirectoryPath + "\\", "")).replace(/\\/g, "/");
133283
134091
  result[relativeFileName] = sugarModuleContent;
133284
134092
  }
@@ -133286,23 +134094,23 @@ async function readCustomControlsFiles(formSugarDirectoryPath) {
133286
134094
  return result;
133287
134095
  }
133288
134096
 
133289
- async function readAutoCalcFiles(formAutoCalcPath) {
133290
- try {
133291
- const files = await readdirAsync(formAutoCalcPath);
133292
- const jsFiles = files.filter(filename => /\.js$/.test(filename));
133293
- return Promise.all(jsFiles.map(filename => readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formAutoCalcPath, filename), "utf-8")));
133294
- } catch (ignoreError) {
134097
+ async function readFilesFromDir(directoryPath, fileNameTest) {
134098
+ if (!(await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.pathExists)(directoryPath))) {
133295
134099
  return [];
133296
134100
  }
134101
+
134102
+ const files = await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readdir)(directoryPath);
134103
+ const jsFiles = files.filter(filename => fileNameTest.test(filename));
134104
+ return Promise.all(jsFiles.map(filename => (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readFile)(path__WEBPACK_IMPORTED_MODULE_1___default().join(directoryPath, filename), "utf-8")));
133297
134105
  }
133298
134106
 
133299
134107
  async function readImportedFiles(rootPath) {
133300
134108
  try {
133301
134109
  const result = {};
133302
- const files = await readdirAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(rootPath, "validations"));
134110
+ const files = await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readdir)(path__WEBPACK_IMPORTED_MODULE_1___default().join(rootPath, "validations"));
133303
134111
 
133304
134112
  for (const fileName of files) {
133305
- result["../validations/" + fileName] = await readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(rootPath, "validations", fileName), "utf-8");
134113
+ result["../validations/" + fileName] = await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readFile)(path__WEBPACK_IMPORTED_MODULE_1___default().join(rootPath, "validations", fileName), "utf-8");
133306
134114
  }
133307
134115
 
133308
134116
  return result;
@@ -133313,11 +134121,11 @@ async function readImportedFiles(rootPath) {
133313
134121
 
133314
134122
  async function readJavaScriptFilesWithNames(formJavaScriptFilesPath) {
133315
134123
  try {
133316
- const files = await readdirAsync(formJavaScriptFilesPath);
134124
+ const files = await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readdir)(formJavaScriptFilesPath);
133317
134125
  const jsFiles = files.filter(filename => /\.js$/.test(filename));
133318
134126
  return Promise.all(jsFiles.map(async filename => ({
133319
134127
  filename: path__WEBPACK_IMPORTED_MODULE_1___default().parse(filename).name,
133320
- content: await readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formJavaScriptFilesPath, filename), "utf-8")
134128
+ content: await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readFile)(path__WEBPACK_IMPORTED_MODULE_1___default().join(formJavaScriptFilesPath, filename), "utf-8")
133321
134129
  })));
133322
134130
  } catch (ignoreError) {
133323
134131
  return [];
@@ -133328,7 +134136,7 @@ async function connectJSFilesWithNames(formJavaScriptFilesPath) {
133328
134136
  let jsFiles;
133329
134137
 
133330
134138
  try {
133331
- const files = await readdirAsync(formJavaScriptFilesPath);
134139
+ const files = await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readdir)(formJavaScriptFilesPath);
133332
134140
  jsFiles = files.filter(filename => /\.js$/.test(filename));
133333
134141
  const result = [];
133334
134142
 
@@ -133336,7 +134144,7 @@ async function connectJSFilesWithNames(formJavaScriptFilesPath) {
133336
134144
  result.push({
133337
134145
  filename: path__WEBPACK_IMPORTED_MODULE_1___default().parse(filename).name,
133338
134146
  // tslint:disable-next-line no-unsafe-any
133339
- content: evalModule(await readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formJavaScriptFilesPath, filename), "utf-8"))
134147
+ content: evalModule(await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readFile)(path__WEBPACK_IMPORTED_MODULE_1___default().join(formJavaScriptFilesPath, filename), "utf-8"))
133340
134148
  });
133341
134149
  }
133342
134150
 
@@ -133347,16 +134155,16 @@ async function connectJSFilesWithNames(formJavaScriptFilesPath) {
133347
134155
  }
133348
134156
 
133349
134157
  function readSchemaRngFile(formSchemasPath, gfv) {
133350
- return readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSchemasPath, `${gfv}.rng.xml`), "utf-8");
134158
+ return (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readFile)(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSchemasPath, `${gfv}.rng.xml`), "utf-8");
133351
134159
  }
133352
134160
 
133353
134161
  function readHooksFile(formDirectoryPath) {
133354
- return readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formDirectoryPath, "hooks.js"), "utf-8").catch(() => "");
134162
+ return (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readFile)(path__WEBPACK_IMPORTED_MODULE_1___default().join(formDirectoryPath, "hooks.js"), "utf-8").catch(() => "");
133355
134163
  }
133356
134164
 
133357
134165
  async function readFileSource(filePath, filename, defaultValue) {
133358
134166
  try {
133359
- return await readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(filePath, filename), "utf-8");
134167
+ return await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readFile)(path__WEBPACK_IMPORTED_MODULE_1___default().join(filePath, filename), "utf-8");
133360
134168
  } catch (ingoreError) {
133361
134169
  return defaultValue;
133362
134170
  }
@@ -133371,9 +134179,6 @@ async function readFileSource(filePath, filename, defaultValue) {
133371
134179
  return;
133372
134180
  }
133373
134181
 
133374
- reactHotLoader.register(statAsync, "statAsync", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\generators\\ReadFormSources.ts");
133375
- reactHotLoader.register(readFileAsync, "readFileAsync", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\generators\\ReadFormSources.ts");
133376
- reactHotLoader.register(readdirAsync, "readdirAsync", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\generators\\ReadFormSources.ts");
133377
134182
  reactHotLoader.register(readFormSources, "readFormSources", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\generators\\ReadFormSources.ts");
133378
134183
  reactHotLoader.register(evalModule, "evalModule", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\generators\\ReadFormSources.ts");
133379
134184
  reactHotLoader.register(isDirectoryExists, "isDirectoryExists", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\generators\\ReadFormSources.ts");
@@ -133386,7 +134191,7 @@ async function readFileSource(filePath, filename, defaultValue) {
133386
134191
  reactHotLoader.register(getAllDependenciesHash, "getAllDependenciesHash", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\generators\\ReadFormSources.ts");
133387
134192
  reactHotLoader.register(readSugarFiles, "readSugarFiles", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\generators\\ReadFormSources.ts");
133388
134193
  reactHotLoader.register(readCustomControlsFiles, "readCustomControlsFiles", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\generators\\ReadFormSources.ts");
133389
- reactHotLoader.register(readAutoCalcFiles, "readAutoCalcFiles", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\generators\\ReadFormSources.ts");
134194
+ reactHotLoader.register(readFilesFromDir, "readFilesFromDir", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\generators\\ReadFormSources.ts");
133390
134195
  reactHotLoader.register(readImportedFiles, "readImportedFiles", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\generators\\ReadFormSources.ts");
133391
134196
  reactHotLoader.register(readJavaScriptFilesWithNames, "readJavaScriptFilesWithNames", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\generators\\ReadFormSources.ts");
133392
134197
  reactHotLoader.register(connectJSFilesWithNames, "connectJSFilesWithNames", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\generators\\ReadFormSources.ts");
@@ -133582,6 +134387,11 @@ class FLangValidationBuildContext {
133582
134387
  return [new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_3__.NegateUnaryExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_3__.CallExpression("regexMatch", [valueReference, new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_3__.StringLiteralExpression("^\\d{4}$")])), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_3__.StringLiteralExpression('["Значение должно быть корректным годом длиной 4 знака"]')];
133583
134388
  }
133584
134389
 
134390
+ case "gMonth":
134391
+ {
134392
+ return [new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_3__.NegateUnaryExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_3__.CallExpression("regexMatch", [valueReference, new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_3__.StringLiteralExpression("^(0|1|2|3|4|5|6|7|8|9|10|11|12)$")])), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_3__.StringLiteralExpression('["Значение должно быть корректным месяцем от 1 до 12"]')];
134393
+ }
134394
+
133585
134395
  default:
133586
134396
  throw new Error(`Unknown base type name: '${baseType}'`);
133587
134397
  }
@@ -134208,18 +135018,18 @@ var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoader
134208
135018
 
134209
135019
 
134210
135020
  class NormalizationRulesGenerator {
134211
- constructor(sugarRoot, dataDeclarationHelper, formSchemaRng, mathContainer, typesRegistry, useSchemaValidations, controlCustomizationContext) {
135021
+ constructor(sugarRoot, dataDeclarationHelper, formSchemaRng, formulas, typesRegistry, useSchemaValidations, controlCustomizationContext) {
134212
135022
  this.sugarRoot = void 0;
134213
135023
  this.dataDeclarationHelper = void 0;
134214
135024
  this.formSchemaRng = void 0;
134215
- this.mathContainer = void 0;
135025
+ this.formulas = void 0;
134216
135026
  this.typesRegistry = void 0;
134217
135027
  this.controlCustomizationContext = void 0;
134218
135028
  this.useSchemaValidations = void 0;
134219
135029
  this.sugarRoot = sugarRoot;
134220
135030
  this.dataDeclarationHelper = dataDeclarationHelper;
134221
135031
  this.formSchemaRng = formSchemaRng;
134222
- this.mathContainer = mathContainer;
135032
+ this.formulas = formulas;
134223
135033
  this.typesRegistry = typesRegistry;
134224
135034
  this.useSchemaValidations = useSchemaValidations;
134225
135035
  this.controlCustomizationContext = controlCustomizationContext;
@@ -134249,9 +135059,7 @@ class NormalizationRulesGenerator {
134249
135059
  }
134250
135060
 
134251
135061
  *buildFormulaFLangRules() {
134252
- for (const formula of (_this$mathContainer$f = (_this$mathContainer = this.mathContainer) === null || _this$mathContainer === void 0 ? void 0 : (_this$mathContainer$f2 = _this$mathContainer.formulas) === null || _this$mathContainer$f2 === void 0 ? void 0 : _this$mathContainer$f2.items) !== null && _this$mathContainer$f !== void 0 ? _this$mathContainer$f : []) {
134253
- var _this$mathContainer$f, _this$mathContainer, _this$mathContainer$f2;
134254
-
135062
+ for (const formula of this.formulas) {
134255
135063
  yield* this.buildFormulaFlashRule(formula);
134256
135064
  }
134257
135065
  }
@@ -135017,9 +135825,9 @@ __webpack_require__.r(__webpack_exports__);
135017
135825
  /* harmony import */ var _ElementProcessors_Layout_FixedTabs_FixedTabsConverter__WEBPACK_IMPORTED_MODULE_100__ = __webpack_require__(/*! ./ElementProcessors/Layout/FixedTabs/FixedTabsConverter */ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/FixedTabs/FixedTabsConverter.ts");
135018
135826
  /* harmony import */ var _ElementProcessors_MultiControls_Multiple_MultipleConverter__WEBPACK_IMPORTED_MODULE_101__ = __webpack_require__(/*! ./ElementProcessors/MultiControls/Multiple/MultipleConverter */ "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/Multiple/MultipleConverter.ts");
135019
135827
  /* harmony import */ var _ElementProcessors_Action_ExcelPastePanel_ExcelPastePanelConverter__WEBPACK_IMPORTED_MODULE_102__ = __webpack_require__(/*! ./ElementProcessors/Action/ExcelPastePanel/ExcelPastePanelConverter */ "./Generator/src/generators/markupGenerator/ElementProcessors/Action/ExcelPastePanel/ExcelPastePanelConverter.ts");
135020
- /* harmony import */ var _ElementProcessors_ControlFlow_Captions_Short_ShortConverter__WEBPACK_IMPORTED_MODULE_103__ = __webpack_require__(/*! ./ElementProcessors/ControlFlow/Captions/Short/ShortConverter */ "./Generator/src/generators/markupGenerator/ElementProcessors/ControlFlow/Captions/Short/ShortConverter.ts");
135021
- /* harmony import */ var _ElementProcessors_ControlFlow_Captions_Long_LongConverter__WEBPACK_IMPORTED_MODULE_104__ = __webpack_require__(/*! ./ElementProcessors/ControlFlow/Captions/Long/LongConverter */ "./Generator/src/generators/markupGenerator/ElementProcessors/ControlFlow/Captions/Long/LongConverter.ts");
135022
- /* harmony import */ var _ElementProcessors_ControlFlow_Captions_FillHint_FillHintConverter__WEBPACK_IMPORTED_MODULE_105__ = __webpack_require__(/*! ./ElementProcessors/ControlFlow/Captions/FillHint/FillHintConverter */ "./Generator/src/generators/markupGenerator/ElementProcessors/ControlFlow/Captions/FillHint/FillHintConverter.ts");
135828
+ /* harmony import */ var _ElementProcessors_ValueEditors_ReferencedFields_ReferencedFieldsConverter__WEBPACK_IMPORTED_MODULE_103__ = __webpack_require__(/*! ./ElementProcessors/ValueEditors/ReferencedFields/ReferencedFieldsConverter */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/ReferencedFields/ReferencedFieldsConverter.ts");
135829
+ /* harmony import */ var _ElementProcessors_FormParts_UserPicklist_UserPicklistConverter__WEBPACK_IMPORTED_MODULE_104__ = __webpack_require__(/*! ./ElementProcessors/FormParts/UserPicklist/UserPicklistConverter */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/UserPicklist/UserPicklistConverter.ts");
135830
+ /* harmony import */ var _ElementProcessors_ValueEditors_TaxRebate_TaxRebateConverter__WEBPACK_IMPORTED_MODULE_105__ = __webpack_require__(/*! ./ElementProcessors/ValueEditors/TaxRebate/TaxRebateConverter */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/TaxRebate/TaxRebateConverter.ts");
135023
135831
  /* module decorator */ module = __webpack_require__.hmd(module);
135024
135832
  (function () {
135025
135833
  var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
@@ -135139,7 +135947,7 @@ var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoader
135139
135947
  let convertersFromNodeClassMap;
135140
135948
 
135141
135949
  function buildConvertersFromNodeClassMap() {
135142
- const converters = [_ElementProcessors_FormParts_AddPageButton_AddPageButtonConverter__WEBPACK_IMPORTED_MODULE_9__.AddPageButtonConverter, _ElementProcessors_MultiControls_AddRowButton_AddRowButtonConverter__WEBPACK_IMPORTED_MODULE_10__.AddRowButtonConverter, _ElementProcessors_Layout_Block_BlockConverter__WEBPACK_IMPORTED_MODULE_11__.BlockConverter, _ElementProcessors_Typography_Bold_BoldConverter__WEBPACK_IMPORTED_MODULE_13__.BoldConverter, _ElementProcessors_Layout_Br_BrConverter__WEBPACK_IMPORTED_MODULE_14__.BrConverter, _ElementProcessors_FormParts_Caption_CaptionConverter__WEBPACK_IMPORTED_MODULE_16__.CaptionConverter, _ElementProcessors_ValueEditors_Checkbox_CheckboxConverter__WEBPACK_IMPORTED_MODULE_17__.CheckboxConverter, _ElementProcessors_ControlFlow_Choice_ChoiceConverter__WEBPACK_IMPORTED_MODULE_18__.ChoiceConverter, _ElementProcessors_MultiControls_TableCell_TableCellConverter__WEBPACK_IMPORTED_MODULE_83__.TableCellConverter, _ElementProcessors_ValueEditors_Combobox_ComboBoxConverter__WEBPACK_IMPORTED_MODULE_19__.ComboBoxConverter, _ElementProcessors_FormParts_Content_ContentConverter__WEBPACK_IMPORTED_MODULE_20__.ContentConverter, _ElementProcessors_FormParts_Cross_CrossConverter__WEBPACK_IMPORTED_MODULE_21__.CrossConverter, _ElementProcessors_MultiControls_ColgroupButton_ColgroupButtonConverter__WEBPACK_IMPORTED_MODULE_94__.ColgroupButtonConverter, _ElementProcessors_ValueEditors_Date_DateConverter__WEBPACK_IMPORTED_MODULE_22__.DateConverter, _ElementProcessors_FormParts_DefaultContent_DefaultContentConverter__WEBPACK_IMPORTED_MODULE_23__.DefaultContentConverter, _ElementProcessors_ValueEditors_DiadocSuggestComboBox_DiadocSuggestComboBoxConverter__WEBPACK_IMPORTED_MODULE_24__.DiadocSuggestComboBoxConverter, _ElementProcessors_Typography_Entity_EntityConverter__WEBPACK_IMPORTED_MODULE_25__.EntityConverter, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteConverter__WEBPACK_IMPORTED_MODULE_26__.ExpertNoteConverter, _ElementProcessors_ValueEditors_FileLoader_FileLoaderConverter__WEBPACK_IMPORTED_MODULE_27__.FileLoaderConverter, _ElementProcessors_MultiControls_FilterDateRange_FilterDateRangeConverter__WEBPACK_IMPORTED_MODULE_28__.FilterDateRangeConverter, _ElementProcessors_MultiControls_FilterInput_FilterInputConverter__WEBPACK_IMPORTED_MODULE_29__.FilterInputConverter, _ElementProcessors_MultiControls_FilterList_FilterListConverter__WEBPACK_IMPORTED_MODULE_30__.FilterListConverter, _ElementProcessors_ValueViewers_FIO_FIOConverter__WEBPACK_IMPORTED_MODULE_31__.FIOConverter, _ElementProcessors_Layout_Flexbox_FlexboxConverter__WEBPACK_IMPORTED_MODULE_32__.FlexboxConverter, _ElementProcessors_FormParts_Form_FormConverter__WEBPACK_IMPORTED_MODULE_34__.FormConverter, _ElementProcessors_FormParts_FormInfo_FormInfoConverter__WEBPACK_IMPORTED_MODULE_35__.FormInfoConverter, _ElementProcessors_Typography_Gray_GrayConverter__WEBPACK_IMPORTED_MODULE_36__.GrayConverter, _ElementProcessors_Layout_GridCol_GridColConverter__WEBPACK_IMPORTED_MODULE_37__.GridColConverter, _ElementProcessors_Layout_GridRow_GridRowConverter__WEBPACK_IMPORTED_MODULE_38__.GridRowConverter, _ElementProcessors_FormParts_Header_HeaderConverter__WEBPACK_IMPORTED_MODULE_39__.HeaderConverter, _ElementProcessors_MultiControls_HeaderMenu_HeaderMenuConverter__WEBPACK_IMPORTED_MODULE_40__.HeaderMenuConverter, _ElementProcessors_Helpers_Help_HelpConverter__WEBPACK_IMPORTED_MODULE_41__.HelpConverter, _ElementProcessors_Helpers_Helpinfo_HelpInfoConverter__WEBPACK_IMPORTED_MODULE_42__.HelpInfoConverter, _ElementProcessors_Typography_Highlight_HighlightConverter__WEBPACK_IMPORTED_MODULE_43__.HighlightConverter, _ElementProcessors_Layout_Hr_HrConverter__WEBPACK_IMPORTED_MODULE_44__.HrConverter, _ElementProcessors_Typography_Icon_IconConverter__WEBPACK_IMPORTED_MODULE_45__.IconConverter, _ElementProcessors_ControlFlow_Captions_Short_ShortConverter__WEBPACK_IMPORTED_MODULE_103__.ShortConverter, _ElementProcessors_ControlFlow_Captions_Long_LongConverter__WEBPACK_IMPORTED_MODULE_104__.LongConverter, _ElementProcessors_ControlFlow_Captions_FillHint_FillHintConverter__WEBPACK_IMPORTED_MODULE_105__.FillHintConverter, _ElementProcessors_ControlFlow_If_IfConverter__WEBPACK_IMPORTED_MODULE_46__.IfConverter, _ElementProcessors_Layout_Img_ImgConverter__WEBPACK_IMPORTED_MODULE_47__.ImgConverter, _ElementProcessors_ValueEditors_INN_INNConverter__WEBPACK_IMPORTED_MODULE_48__.INNConverter, _ElementProcessors_ValueEditors_Input_InputConverter__WEBPACK_IMPORTED_MODULE_49__.InputConverter, _ElementProcessors_Typography_Italic_ItalicConverter__WEBPACK_IMPORTED_MODULE_50__.ItalicConverter, _ElementProcessors_Layout_ListItem_ListItemConverter__WEBPACK_IMPORTED_MODULE_51__.ListItemConverter, _ElementProcessors_ValueEditors_Kladr_KladrConverter__WEBPACK_IMPORTED_MODULE_52__.KladrConverter, _ElementProcessors_ValueViewers_Linetext_LinetextConverter__WEBPACK_IMPORTED_MODULE_53__.LinetextConverter, _ElementProcessors_Action_Link_LinkConverter__WEBPACK_IMPORTED_MODULE_54__.LinkConverter, _ElementProcessors_Layout_List_ListConverter__WEBPACK_IMPORTED_MODULE_55__.ListConverter, _ElementProcessors_Modal_ModalForm_ModalFormConverter__WEBPACK_IMPORTED_MODULE_56__.ModalFormConverter, _ElementProcessors_Modal_ModalFormLabel_ModalFormLabelConverter__WEBPACK_IMPORTED_MODULE_59__.ModalFormLabelConverter, _ElementProcessors_MultiControls_Multilinefield_MultilineFieldConverter__WEBPACK_IMPORTED_MODULE_60__.MultilineFieldConverter, _ElementProcessors_Helpers_Normativehelp_NormativeHelpConverter__WEBPACK_IMPORTED_MODULE_61__.NormativeHelpConverter, _ElementProcessors_FormParts_Page_PageConverter__WEBPACK_IMPORTED_MODULE_63__.PageConverter, _ElementProcessors_Layout_Pencil_PencilConverter__WEBPACK_IMPORTED_MODULE_64__.PencilConverter, _ElementProcessors_ValueEditors_Picklist_PicklistConverter__WEBPACK_IMPORTED_MODULE_65__.PicklistConverter, _ElementProcessors_ValueEditors_radio_RadioConverter__WEBPACK_IMPORTED_MODULE_66__.RadioConverter, _ElementProcessors_ValueEditors_RadioGroup_RadioGroupConverter__WEBPACK_IMPORTED_MODULE_67__.RadioGroupConverter, _ElementProcessors_MultiControls_RemoveRowButton_RemoveRowButtonConverter__WEBPACK_IMPORTED_MODULE_68__.RemoveRowButtonConverter, _ElementProcessors_ValueEditors_Select_SelectConverter__WEBPACK_IMPORTED_MODULE_69__.SelectConverter, _ElementProcessors_MultiControls_SortRadioGroup_SortRadioGroupConverter__WEBPACK_IMPORTED_MODULE_70__.SortRadioGroupConverter, _ElementProcessors_Layout_Spoiler_SpoilerConverter__WEBPACK_IMPORTED_MODULE_71__.SpoilerConverter, _ElementProcessors_Typography_Strong_StrongConverter__WEBPACK_IMPORTED_MODULE_72__.StrongConverter, _ElementProcessors_Typography_Sub_SubConverter__WEBPACK_IMPORTED_MODULE_73__.SubConverter, _ElementProcessors_Layout_Subheader_SubheaderConverter__WEBPACK_IMPORTED_MODULE_74__.SubheaderConverter, _ElementProcessors_Typography_Sup_SupConverter__WEBPACK_IMPORTED_MODULE_75__.SupConverter, _ElementProcessors_ValueViewers_Text_TextConverter__WEBPACK_IMPORTED_MODULE_84__.TextConverter, _ElementProcessors_ValueEditors_Textarea_TextAreaConverter__WEBPACK_IMPORTED_MODULE_85__.TextAreaConverter, _ElementProcessors_ValueEditors_popupTextArea_PopupTextAreaConverter__WEBPACK_IMPORTED_MODULE_93__.PopupTextAreaConverter, _ElementProcessors_ValueViewers_ValueLength_ValueLengthConverter__WEBPACK_IMPORTED_MODULE_89__.ValueLengthConverter, _ElementProcessors_ControlFlow_VisibilityBlock_VisibilityBlockConverter__WEBPACK_IMPORTED_MODULE_90__.VisibilityBlockConverter, _ElementProcessors_Layout_Warning_WarningConverter__WEBPACK_IMPORTED_MODULE_91__.WarningConverter, _ElementProcessors_Layout_InnerText_InnertextConverter__WEBPACK_IMPORTED_MODULE_8__.InnertextConverter, _ElementProcessors_ControlFlow_Otherwise_OtherwiseConverter__WEBPACK_IMPORTED_MODULE_62__.OtherwiseConverter, _ElementProcessors_ControlFlow_When_WhenConverter__WEBPACK_IMPORTED_MODULE_92__.WhenConverter, _ElementProcessors_FormParts_UnitList_UnitListConverter__WEBPACK_IMPORTED_MODULE_88__.UnitListConverter, _ElementProcessors_FormParts_UnitItem_UnitItemConverter__WEBPACK_IMPORTED_MODULE_87__.UnitItemConverter, _ElementProcessors_Modal_Body_BodyConverter__WEBPACK_IMPORTED_MODULE_12__.BodyConverter, _ElementProcessors_Modal_Footer_FooterConverter__WEBPACK_IMPORTED_MODULE_33__.FooterConverter, _ElementProcessors_Modal_ModalFormConfirm_ModalFormConfirmConverter__WEBPACK_IMPORTED_MODULE_58__.ModalFormConfirmConverter, _ElementProcessors_Modal_ModalFormCancel_ModalFormCancelConverter__WEBPACK_IMPORTED_MODULE_57__.ModalFormCancelConverter, _ElementProcessors_Action_Button_ButtonConverter__WEBPACK_IMPORTED_MODULE_15__.ButtonConverter, _ElementProcessors_FormParts_Tour_TourConverter__WEBPACK_IMPORTED_MODULE_86__.TourConverter, _ElementProcessors_ControlFlow_Switch_SwitchConverter__WEBPACK_IMPORTED_MODULE_76__.SwitchConverter, _ElementProcessors_ControlFlow_Switch_SwitchConverter__WEBPACK_IMPORTED_MODULE_76__.SwitchCaseConverter, _ElementProcessors_ControlFlow_Switch_SwitchConverter__WEBPACK_IMPORTED_MODULE_76__.SwitchDefaultConverter, _ElementProcessors_MultiControls_StickyTable_StickyTableColumnConverter__WEBPACK_IMPORTED_MODULE_81__.StickyTableColumnConverter, _ElementProcessors_MultiControls_CrossfitTable_CrossfitTableColumnConverter__WEBPACK_IMPORTED_MODULE_77__.CrossfitTableColumnConverter, _ElementProcessors_Layout_SimpleTable_SimpleTableColumnConverter__WEBPACK_IMPORTED_MODULE_79__.SimpleTableColumnConverter, _ElementProcessors_MultiControls_CrossfitTable_CrossfitTableConverter__WEBPACK_IMPORTED_MODULE_78__.CrossfitTableConverter, _ElementProcessors_Layout_SimpleTable_SimpleTableConverter__WEBPACK_IMPORTED_MODULE_80__.SimpleTableConverter, _ElementProcessors_MultiControls_StickyTable_StickyTableWithMultilineConverter__WEBPACK_IMPORTED_MODULE_82__.StickyTableWithMultilineConverter, _ElementProcessors_Layout_Stack_StackConverter__WEBPACK_IMPORTED_MODULE_3__.StackConverter, _ElementProcessors_Layout_Grid_GridConverter__WEBPACK_IMPORTED_MODULE_2__.GridConverter, _ElementProcessors_UnitParts_HeaderPanel_HeaderPanelConverter__WEBPACK_IMPORTED_MODULE_7__.HeaderPanelConverter, _ElementProcessors_MultiControls_Tabs_TabsConverter__WEBPACK_IMPORTED_MODULE_6__.TabsConverter, _ElementProcessors_Action_DropdownButton_DropdownButtonConverter__WEBPACK_IMPORTED_MODULE_98__.DropdownButtonConverter, _ElementProcessors_ValueEditors_FiasMvd_FiasMvdConverter__WEBPACK_IMPORTED_MODULE_1__.FiasMvdConverter, _ElementProcessors_ValueEditors_FiasFns_FiasFnsConverter__WEBPACK_IMPORTED_MODULE_0__.FiasFnsConverter, _ElementProcessors_MultiControls_FilterSelect_FilterSelectConverter__WEBPACK_IMPORTED_MODULE_4__.FilterSelectConverter, _ElementProcessors_MultiControls_Table2_Table2Converter__WEBPACK_IMPORTED_MODULE_5__.Table2Converter, _ElementProcessors_MultiControls_Table2_Table2RowConverter__WEBPACK_IMPORTED_MODULE_97__.Table2RowConverter, _ElementProcessors_MultiControls_Table2_Table2MultirowConverter__WEBPACK_IMPORTED_MODULE_96__.Table2MultirowConverter, _ElementProcessors_MultiControls_Table2_Table2Converter__WEBPACK_IMPORTED_MODULE_5__.Table2ColumnConverter, _ElementProcessors_MultiControls_Table2_Table2Converter__WEBPACK_IMPORTED_MODULE_5__.Table2VerticalColumnConverter, _ElementProcessors_Layout_FixedTabs_FixedTabsConverter__WEBPACK_IMPORTED_MODULE_100__.FixedTabsConverter, _ElementProcessors_Layout_FixedTabs_FixedTabConverter__WEBPACK_IMPORTED_MODULE_99__.FixedTabConverter, _ElementProcessors_MultiControls_Multiple_MultipleConverter__WEBPACK_IMPORTED_MODULE_101__.MultipleConverter, _ElementProcessors_Action_ExcelPastePanel_ExcelPastePanelConverter__WEBPACK_IMPORTED_MODULE_102__.ExcelPastePanelConverter];
135950
+ const converters = [_ElementProcessors_FormParts_AddPageButton_AddPageButtonConverter__WEBPACK_IMPORTED_MODULE_9__.AddPageButtonConverter, _ElementProcessors_MultiControls_AddRowButton_AddRowButtonConverter__WEBPACK_IMPORTED_MODULE_10__.AddRowButtonConverter, _ElementProcessors_Layout_Block_BlockConverter__WEBPACK_IMPORTED_MODULE_11__.BlockConverter, _ElementProcessors_Typography_Bold_BoldConverter__WEBPACK_IMPORTED_MODULE_13__.BoldConverter, _ElementProcessors_Layout_Br_BrConverter__WEBPACK_IMPORTED_MODULE_14__.BrConverter, _ElementProcessors_FormParts_Caption_CaptionConverter__WEBPACK_IMPORTED_MODULE_16__.CaptionConverter, _ElementProcessors_ValueEditors_Checkbox_CheckboxConverter__WEBPACK_IMPORTED_MODULE_17__.CheckboxConverter, _ElementProcessors_ControlFlow_Choice_ChoiceConverter__WEBPACK_IMPORTED_MODULE_18__.ChoiceConverter, _ElementProcessors_MultiControls_TableCell_TableCellConverter__WEBPACK_IMPORTED_MODULE_83__.TableCellConverter, _ElementProcessors_ValueEditors_Combobox_ComboBoxConverter__WEBPACK_IMPORTED_MODULE_19__.ComboBoxConverter, _ElementProcessors_FormParts_Content_ContentConverter__WEBPACK_IMPORTED_MODULE_20__.ContentConverter, _ElementProcessors_FormParts_Cross_CrossConverter__WEBPACK_IMPORTED_MODULE_21__.CrossConverter, _ElementProcessors_MultiControls_ColgroupButton_ColgroupButtonConverter__WEBPACK_IMPORTED_MODULE_94__.ColgroupButtonConverter, _ElementProcessors_ValueEditors_Date_DateConverter__WEBPACK_IMPORTED_MODULE_22__.DateConverter, _ElementProcessors_FormParts_DefaultContent_DefaultContentConverter__WEBPACK_IMPORTED_MODULE_23__.DefaultContentConverter, _ElementProcessors_ValueEditors_DiadocSuggestComboBox_DiadocSuggestComboBoxConverter__WEBPACK_IMPORTED_MODULE_24__.DiadocSuggestComboBoxConverter, _ElementProcessors_Typography_Entity_EntityConverter__WEBPACK_IMPORTED_MODULE_25__.EntityConverter, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteConverter__WEBPACK_IMPORTED_MODULE_26__.ExpertNoteConverter, _ElementProcessors_ValueEditors_FileLoader_FileLoaderConverter__WEBPACK_IMPORTED_MODULE_27__.FileLoaderConverter, _ElementProcessors_MultiControls_FilterDateRange_FilterDateRangeConverter__WEBPACK_IMPORTED_MODULE_28__.FilterDateRangeConverter, _ElementProcessors_MultiControls_FilterInput_FilterInputConverter__WEBPACK_IMPORTED_MODULE_29__.FilterInputConverter, _ElementProcessors_MultiControls_FilterList_FilterListConverter__WEBPACK_IMPORTED_MODULE_30__.FilterListConverter, _ElementProcessors_ValueViewers_FIO_FIOConverter__WEBPACK_IMPORTED_MODULE_31__.FIOConverter, _ElementProcessors_Layout_Flexbox_FlexboxConverter__WEBPACK_IMPORTED_MODULE_32__.FlexboxConverter, _ElementProcessors_FormParts_Form_FormConverter__WEBPACK_IMPORTED_MODULE_34__.FormConverter, _ElementProcessors_FormParts_FormInfo_FormInfoConverter__WEBPACK_IMPORTED_MODULE_35__.FormInfoConverter, _ElementProcessors_Typography_Gray_GrayConverter__WEBPACK_IMPORTED_MODULE_36__.GrayConverter, _ElementProcessors_Layout_GridCol_GridColConverter__WEBPACK_IMPORTED_MODULE_37__.GridColConverter, _ElementProcessors_Layout_GridRow_GridRowConverter__WEBPACK_IMPORTED_MODULE_38__.GridRowConverter, _ElementProcessors_FormParts_Header_HeaderConverter__WEBPACK_IMPORTED_MODULE_39__.HeaderConverter, _ElementProcessors_MultiControls_HeaderMenu_HeaderMenuConverter__WEBPACK_IMPORTED_MODULE_40__.HeaderMenuConverter, _ElementProcessors_Helpers_Help_HelpConverter__WEBPACK_IMPORTED_MODULE_41__.HelpConverter, _ElementProcessors_Helpers_Helpinfo_HelpInfoConverter__WEBPACK_IMPORTED_MODULE_42__.HelpInfoConverter, _ElementProcessors_Typography_Highlight_HighlightConverter__WEBPACK_IMPORTED_MODULE_43__.HighlightConverter, _ElementProcessors_Layout_Hr_HrConverter__WEBPACK_IMPORTED_MODULE_44__.HrConverter, _ElementProcessors_Typography_Icon_IconConverter__WEBPACK_IMPORTED_MODULE_45__.IconConverter, _ElementProcessors_ControlFlow_If_IfConverter__WEBPACK_IMPORTED_MODULE_46__.IfConverter, _ElementProcessors_Layout_Img_ImgConverter__WEBPACK_IMPORTED_MODULE_47__.ImgConverter, _ElementProcessors_ValueEditors_INN_INNConverter__WEBPACK_IMPORTED_MODULE_48__.INNConverter, _ElementProcessors_ValueEditors_Input_InputConverter__WEBPACK_IMPORTED_MODULE_49__.InputConverter, _ElementProcessors_Typography_Italic_ItalicConverter__WEBPACK_IMPORTED_MODULE_50__.ItalicConverter, _ElementProcessors_Layout_ListItem_ListItemConverter__WEBPACK_IMPORTED_MODULE_51__.ListItemConverter, _ElementProcessors_ValueEditors_Kladr_KladrConverter__WEBPACK_IMPORTED_MODULE_52__.KladrConverter, _ElementProcessors_ValueViewers_Linetext_LinetextConverter__WEBPACK_IMPORTED_MODULE_53__.LinetextConverter, _ElementProcessors_Action_Link_LinkConverter__WEBPACK_IMPORTED_MODULE_54__.LinkConverter, _ElementProcessors_Layout_List_ListConverter__WEBPACK_IMPORTED_MODULE_55__.ListConverter, _ElementProcessors_Modal_ModalForm_ModalFormConverter__WEBPACK_IMPORTED_MODULE_56__.ModalFormConverter, _ElementProcessors_Modal_ModalFormLabel_ModalFormLabelConverter__WEBPACK_IMPORTED_MODULE_59__.ModalFormLabelConverter, _ElementProcessors_MultiControls_Multilinefield_MultilineFieldConverter__WEBPACK_IMPORTED_MODULE_60__.MultilineFieldConverter, _ElementProcessors_Helpers_Normativehelp_NormativeHelpConverter__WEBPACK_IMPORTED_MODULE_61__.NormativeHelpConverter, _ElementProcessors_FormParts_Page_PageConverter__WEBPACK_IMPORTED_MODULE_63__.PageConverter, _ElementProcessors_Layout_Pencil_PencilConverter__WEBPACK_IMPORTED_MODULE_64__.PencilConverter, _ElementProcessors_ValueEditors_Picklist_PicklistConverter__WEBPACK_IMPORTED_MODULE_65__.PicklistConverter, _ElementProcessors_ValueEditors_radio_RadioConverter__WEBPACK_IMPORTED_MODULE_66__.RadioConverter, _ElementProcessors_ValueEditors_RadioGroup_RadioGroupConverter__WEBPACK_IMPORTED_MODULE_67__.RadioGroupConverter, _ElementProcessors_MultiControls_RemoveRowButton_RemoveRowButtonConverter__WEBPACK_IMPORTED_MODULE_68__.RemoveRowButtonConverter, _ElementProcessors_ValueEditors_Select_SelectConverter__WEBPACK_IMPORTED_MODULE_69__.SelectConverter, _ElementProcessors_MultiControls_SortRadioGroup_SortRadioGroupConverter__WEBPACK_IMPORTED_MODULE_70__.SortRadioGroupConverter, _ElementProcessors_Layout_Spoiler_SpoilerConverter__WEBPACK_IMPORTED_MODULE_71__.SpoilerConverter, _ElementProcessors_Typography_Strong_StrongConverter__WEBPACK_IMPORTED_MODULE_72__.StrongConverter, _ElementProcessors_Typography_Sub_SubConverter__WEBPACK_IMPORTED_MODULE_73__.SubConverter, _ElementProcessors_Layout_Subheader_SubheaderConverter__WEBPACK_IMPORTED_MODULE_74__.SubheaderConverter, _ElementProcessors_Typography_Sup_SupConverter__WEBPACK_IMPORTED_MODULE_75__.SupConverter, _ElementProcessors_ValueViewers_Text_TextConverter__WEBPACK_IMPORTED_MODULE_84__.TextConverter, _ElementProcessors_ValueEditors_Textarea_TextAreaConverter__WEBPACK_IMPORTED_MODULE_85__.TextAreaConverter, _ElementProcessors_ValueEditors_popupTextArea_PopupTextAreaConverter__WEBPACK_IMPORTED_MODULE_93__.PopupTextAreaConverter, _ElementProcessors_ValueViewers_ValueLength_ValueLengthConverter__WEBPACK_IMPORTED_MODULE_89__.ValueLengthConverter, _ElementProcessors_ControlFlow_VisibilityBlock_VisibilityBlockConverter__WEBPACK_IMPORTED_MODULE_90__.VisibilityBlockConverter, _ElementProcessors_Layout_Warning_WarningConverter__WEBPACK_IMPORTED_MODULE_91__.WarningConverter, _ElementProcessors_Layout_InnerText_InnertextConverter__WEBPACK_IMPORTED_MODULE_8__.InnertextConverter, _ElementProcessors_ControlFlow_Otherwise_OtherwiseConverter__WEBPACK_IMPORTED_MODULE_62__.OtherwiseConverter, _ElementProcessors_ControlFlow_When_WhenConverter__WEBPACK_IMPORTED_MODULE_92__.WhenConverter, _ElementProcessors_FormParts_UnitList_UnitListConverter__WEBPACK_IMPORTED_MODULE_88__.UnitListConverter, _ElementProcessors_FormParts_UnitItem_UnitItemConverter__WEBPACK_IMPORTED_MODULE_87__.UnitItemConverter, _ElementProcessors_Modal_Body_BodyConverter__WEBPACK_IMPORTED_MODULE_12__.BodyConverter, _ElementProcessors_Modal_Footer_FooterConverter__WEBPACK_IMPORTED_MODULE_33__.FooterConverter, _ElementProcessors_Modal_ModalFormConfirm_ModalFormConfirmConverter__WEBPACK_IMPORTED_MODULE_58__.ModalFormConfirmConverter, _ElementProcessors_Modal_ModalFormCancel_ModalFormCancelConverter__WEBPACK_IMPORTED_MODULE_57__.ModalFormCancelConverter, _ElementProcessors_Action_Button_ButtonConverter__WEBPACK_IMPORTED_MODULE_15__.ButtonConverter, _ElementProcessors_FormParts_Tour_TourConverter__WEBPACK_IMPORTED_MODULE_86__.TourConverter, _ElementProcessors_ControlFlow_Switch_SwitchConverter__WEBPACK_IMPORTED_MODULE_76__.SwitchConverter, _ElementProcessors_ControlFlow_Switch_SwitchConverter__WEBPACK_IMPORTED_MODULE_76__.SwitchCaseConverter, _ElementProcessors_ControlFlow_Switch_SwitchConverter__WEBPACK_IMPORTED_MODULE_76__.SwitchDefaultConverter, _ElementProcessors_MultiControls_StickyTable_StickyTableColumnConverter__WEBPACK_IMPORTED_MODULE_81__.StickyTableColumnConverter, _ElementProcessors_MultiControls_CrossfitTable_CrossfitTableColumnConverter__WEBPACK_IMPORTED_MODULE_77__.CrossfitTableColumnConverter, _ElementProcessors_Layout_SimpleTable_SimpleTableColumnConverter__WEBPACK_IMPORTED_MODULE_79__.SimpleTableColumnConverter, _ElementProcessors_MultiControls_CrossfitTable_CrossfitTableConverter__WEBPACK_IMPORTED_MODULE_78__.CrossfitTableConverter, _ElementProcessors_Layout_SimpleTable_SimpleTableConverter__WEBPACK_IMPORTED_MODULE_80__.SimpleTableConverter, _ElementProcessors_MultiControls_StickyTable_StickyTableWithMultilineConverter__WEBPACK_IMPORTED_MODULE_82__.StickyTableWithMultilineConverter, _ElementProcessors_Layout_Stack_StackConverter__WEBPACK_IMPORTED_MODULE_3__.StackConverter, _ElementProcessors_Layout_Grid_GridConverter__WEBPACK_IMPORTED_MODULE_2__.GridConverter, _ElementProcessors_UnitParts_HeaderPanel_HeaderPanelConverter__WEBPACK_IMPORTED_MODULE_7__.HeaderPanelConverter, _ElementProcessors_MultiControls_Tabs_TabsConverter__WEBPACK_IMPORTED_MODULE_6__.TabsConverter, _ElementProcessors_Action_DropdownButton_DropdownButtonConverter__WEBPACK_IMPORTED_MODULE_98__.DropdownButtonConverter, _ElementProcessors_ValueEditors_FiasMvd_FiasMvdConverter__WEBPACK_IMPORTED_MODULE_1__.FiasMvdConverter, _ElementProcessors_ValueEditors_FiasFns_FiasFnsConverter__WEBPACK_IMPORTED_MODULE_0__.FiasFnsConverter, _ElementProcessors_MultiControls_FilterSelect_FilterSelectConverter__WEBPACK_IMPORTED_MODULE_4__.FilterSelectConverter, _ElementProcessors_MultiControls_Table2_Table2Converter__WEBPACK_IMPORTED_MODULE_5__.Table2Converter, _ElementProcessors_MultiControls_Table2_Table2RowConverter__WEBPACK_IMPORTED_MODULE_97__.Table2RowConverter, _ElementProcessors_MultiControls_Table2_Table2MultirowConverter__WEBPACK_IMPORTED_MODULE_96__.Table2MultirowConverter, _ElementProcessors_MultiControls_Table2_Table2Converter__WEBPACK_IMPORTED_MODULE_5__.Table2ColumnConverter, _ElementProcessors_MultiControls_Table2_Table2Converter__WEBPACK_IMPORTED_MODULE_5__.Table2VerticalColumnConverter, _ElementProcessors_Layout_FixedTabs_FixedTabsConverter__WEBPACK_IMPORTED_MODULE_100__.FixedTabsConverter, _ElementProcessors_Layout_FixedTabs_FixedTabConverter__WEBPACK_IMPORTED_MODULE_99__.FixedTabConverter, _ElementProcessors_MultiControls_Multiple_MultipleConverter__WEBPACK_IMPORTED_MODULE_101__.MultipleConverter, _ElementProcessors_Action_ExcelPastePanel_ExcelPastePanelConverter__WEBPACK_IMPORTED_MODULE_102__.ExcelPastePanelConverter, _ElementProcessors_ValueEditors_ReferencedFields_ReferencedFieldsConverter__WEBPACK_IMPORTED_MODULE_103__.ReferencedFieldsConverter, _ElementProcessors_FormParts_UserPicklist_UserPicklistConverter__WEBPACK_IMPORTED_MODULE_104__.UserPicklistConverter, _ElementProcessors_ValueEditors_TaxRebate_TaxRebateConverter__WEBPACK_IMPORTED_MODULE_105__.TaxRebateConverter];
135143
135951
  return new Map(converters.map(converterClass => [converterClass.getAcceptNodeClass(), converterClass]));
135144
135952
  }
135145
135953
 
@@ -137904,468 +138712,6 @@ class NodePathsContext {
137904
138712
 
137905
138713
  /***/ }),
137906
138714
 
137907
- /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ControlFlow/Captions/FillHint/FillHintConverter.ts":
137908
- /*!***********************************************************************************************************************!*\
137909
- !*** ./Generator/src/generators/markupGenerator/ElementProcessors/ControlFlow/Captions/FillHint/FillHintConverter.ts ***!
137910
- \***********************************************************************************************************************/
137911
- /***/ ((module, __webpack_exports__, __webpack_require__) => {
137912
-
137913
- "use strict";
137914
- __webpack_require__.r(__webpack_exports__);
137915
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
137916
- /* harmony export */ "FillHintConverter": () => (/* binding */ FillHintConverter)
137917
- /* harmony export */ });
137918
- /* harmony import */ var _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../DataDeclarationGenerator/DataDeclarationGenerationContext */ "./Generator/src/generators/DataDeclarationGenerator/DataDeclarationGenerationContext.ts");
137919
- /* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
137920
- /* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
137921
- /* harmony import */ var _FillHintNode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./FillHintNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ControlFlow/Captions/FillHint/FillHintNode.ts");
137922
- /* module decorator */ module = __webpack_require__.hmd(module);
137923
- (function () {
137924
- var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
137925
- enterModule && enterModule(module);
137926
- })();
137927
-
137928
- var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
137929
- return a;
137930
- };
137931
-
137932
-
137933
-
137934
-
137935
-
137936
- class FillHintConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.SugarNodeConverterBase {
137937
- static getAcceptNodeClass() {
137938
- return _FillHintNode__WEBPACK_IMPORTED_MODULE_3__.FillHintNode;
137939
- }
137940
-
137941
- doBuildDataDeclaration(context) {
137942
- return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
137943
- }
137944
-
137945
- buildChildrenDataDeclaration(context) {
137946
- const node = this.getCurrentNodeAs(_FillHintNode__WEBPACK_IMPORTED_MODULE_3__.FillHintNode);
137947
- return context.processChildrenDataDeclaration(node.children);
137948
- }
137949
-
137950
- *doTraverseChildren() {
137951
- const node = this.getCurrentNodeAs(_FillHintNode__WEBPACK_IMPORTED_MODULE_3__.FillHintNode);
137952
- yield* node.children;
137953
- }
137954
-
137955
- doConvert(context) {
137956
- const node = this.getCurrentNodeAs(_FillHintNode__WEBPACK_IMPORTED_MODULE_3__.FillHintNode);
137957
- const builder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("FillHint");
137958
- builder.appendChild(context.convertChildNodes(node.children));
137959
- return builder.buildConverterResult();
137960
- }
137961
-
137962
- // @ts-ignore
137963
- __reactstandin__regenerateByEval(key, code) {
137964
- // @ts-ignore
137965
- this[key] = eval(code);
137966
- }
137967
-
137968
- }
137969
- ;
137970
-
137971
- (function () {
137972
- var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
137973
-
137974
- if (!reactHotLoader) {
137975
- return;
137976
- }
137977
-
137978
- reactHotLoader.register(FillHintConverter, "FillHintConverter", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\generators\\markupGenerator\\ElementProcessors\\ControlFlow\\Captions\\FillHint\\FillHintConverter.ts");
137979
- })();
137980
-
137981
- ;
137982
-
137983
- (function () {
137984
- var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
137985
- leaveModule && leaveModule(module);
137986
- })();
137987
-
137988
- /***/ }),
137989
-
137990
- /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ControlFlow/Captions/FillHint/FillHintNode.ts":
137991
- /*!******************************************************************************************************************!*\
137992
- !*** ./Generator/src/generators/markupGenerator/ElementProcessors/ControlFlow/Captions/FillHint/FillHintNode.ts ***!
137993
- \******************************************************************************************************************/
137994
- /***/ ((module, __webpack_exports__, __webpack_require__) => {
137995
-
137996
- "use strict";
137997
- __webpack_require__.r(__webpack_exports__);
137998
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
137999
- /* harmony export */ "FillHintNode": () => (/* binding */ FillHintNode)
138000
- /* harmony export */ });
138001
- /* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
138002
- /* module decorator */ module = __webpack_require__.hmd(module);
138003
- var _dec, _dec2, _class, _class2, _descriptor;
138004
-
138005
- (function () {
138006
- var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
138007
- enterModule && enterModule(module);
138008
- })();
138009
-
138010
- function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }
138011
-
138012
- function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
138013
-
138014
- function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }
138015
-
138016
- var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
138017
- return a;
138018
- };
138019
-
138020
-
138021
- let FillHintNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.sugarNode)("fillhint", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ControlFlow/Captions/FillHint sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.children)(), _dec(_class = (_class2 = class FillHintNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.SugarNodeBase {
138022
- constructor(...args) {
138023
- super(...args);
138024
-
138025
- _initializerDefineProperty(this, "children", _descriptor, this);
138026
- }
138027
-
138028
- // @ts-ignore
138029
- __reactstandin__regenerateByEval(key, code) {
138030
- // @ts-ignore
138031
- this[key] = eval(code);
138032
- }
138033
-
138034
- }, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "children", [_dec2], {
138035
- configurable: true,
138036
- enumerable: true,
138037
- writable: true,
138038
- initializer: null
138039
- })), _class2)) || _class);
138040
- ;
138041
-
138042
- (function () {
138043
- var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
138044
-
138045
- if (!reactHotLoader) {
138046
- return;
138047
- }
138048
-
138049
- reactHotLoader.register(FillHintNode, "FillHintNode", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\generators\\markupGenerator\\ElementProcessors\\ControlFlow\\Captions\\FillHint\\FillHintNode.ts");
138050
- })();
138051
-
138052
- ;
138053
-
138054
- (function () {
138055
- var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
138056
- leaveModule && leaveModule(module);
138057
- })();
138058
-
138059
- /***/ }),
138060
-
138061
- /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ControlFlow/Captions/Long/LongConverter.ts":
138062
- /*!***************************************************************************************************************!*\
138063
- !*** ./Generator/src/generators/markupGenerator/ElementProcessors/ControlFlow/Captions/Long/LongConverter.ts ***!
138064
- \***************************************************************************************************************/
138065
- /***/ ((module, __webpack_exports__, __webpack_require__) => {
138066
-
138067
- "use strict";
138068
- __webpack_require__.r(__webpack_exports__);
138069
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
138070
- /* harmony export */ "LongConverter": () => (/* binding */ LongConverter)
138071
- /* harmony export */ });
138072
- /* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
138073
- /* harmony import */ var _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../DataDeclarationGenerator/DataDeclarationGenerationContext */ "./Generator/src/generators/DataDeclarationGenerator/DataDeclarationGenerationContext.ts");
138074
- /* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
138075
- /* harmony import */ var _LongNode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./LongNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ControlFlow/Captions/Long/LongNode.ts");
138076
- /* module decorator */ module = __webpack_require__.hmd(module);
138077
- (function () {
138078
- var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
138079
- enterModule && enterModule(module);
138080
- })();
138081
-
138082
- var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
138083
- return a;
138084
- };
138085
-
138086
-
138087
-
138088
-
138089
-
138090
- class LongConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_0__.SugarNodeConverterBase {
138091
- static getAcceptNodeClass() {
138092
- return _LongNode__WEBPACK_IMPORTED_MODULE_3__.LongNode;
138093
- }
138094
-
138095
- doBuildDataDeclaration(context) {
138096
- return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_1__.emptyDataDeclarationCollection;
138097
- }
138098
-
138099
- buildChildrenDataDeclaration(context) {
138100
- const node = this.getCurrentNodeAs(_LongNode__WEBPACK_IMPORTED_MODULE_3__.LongNode);
138101
- return context.processChildrenDataDeclaration(node.children);
138102
- }
138103
-
138104
- *doTraverseChildren() {
138105
- const node = this.getCurrentNodeAs(_LongNode__WEBPACK_IMPORTED_MODULE_3__.LongNode);
138106
- yield* node.children;
138107
- }
138108
-
138109
- doConvert(context) {
138110
- const node = this.getCurrentNodeAs(_LongNode__WEBPACK_IMPORTED_MODULE_3__.LongNode);
138111
- const builder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__.componentMarkupBuilder)("Long");
138112
- builder.appendChild(context.convertChildNodes(node.children));
138113
- return builder.buildConverterResult();
138114
- }
138115
-
138116
- // @ts-ignore
138117
- __reactstandin__regenerateByEval(key, code) {
138118
- // @ts-ignore
138119
- this[key] = eval(code);
138120
- }
138121
-
138122
- }
138123
- ;
138124
-
138125
- (function () {
138126
- var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
138127
-
138128
- if (!reactHotLoader) {
138129
- return;
138130
- }
138131
-
138132
- reactHotLoader.register(LongConverter, "LongConverter", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\generators\\markupGenerator\\ElementProcessors\\ControlFlow\\Captions\\Long\\LongConverter.ts");
138133
- })();
138134
-
138135
- ;
138136
-
138137
- (function () {
138138
- var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
138139
- leaveModule && leaveModule(module);
138140
- })();
138141
-
138142
- /***/ }),
138143
-
138144
- /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ControlFlow/Captions/Long/LongNode.ts":
138145
- /*!**********************************************************************************************************!*\
138146
- !*** ./Generator/src/generators/markupGenerator/ElementProcessors/ControlFlow/Captions/Long/LongNode.ts ***!
138147
- \**********************************************************************************************************/
138148
- /***/ ((module, __webpack_exports__, __webpack_require__) => {
138149
-
138150
- "use strict";
138151
- __webpack_require__.r(__webpack_exports__);
138152
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
138153
- /* harmony export */ "LongNode": () => (/* binding */ LongNode)
138154
- /* harmony export */ });
138155
- /* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
138156
- /* module decorator */ module = __webpack_require__.hmd(module);
138157
- var _dec, _dec2, _class, _class2, _descriptor;
138158
-
138159
- (function () {
138160
- var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
138161
- enterModule && enterModule(module);
138162
- })();
138163
-
138164
- function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }
138165
-
138166
- function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
138167
-
138168
- function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }
138169
-
138170
- var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
138171
- return a;
138172
- };
138173
-
138174
-
138175
- let LongNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.sugarNode)("long", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ControlFlow/Captions/Long sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.children)(), _dec(_class = (_class2 = class LongNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.SugarNodeBase {
138176
- constructor(...args) {
138177
- super(...args);
138178
-
138179
- _initializerDefineProperty(this, "children", _descriptor, this);
138180
- }
138181
-
138182
- // @ts-ignore
138183
- __reactstandin__regenerateByEval(key, code) {
138184
- // @ts-ignore
138185
- this[key] = eval(code);
138186
- }
138187
-
138188
- }, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "children", [_dec2], {
138189
- configurable: true,
138190
- enumerable: true,
138191
- writable: true,
138192
- initializer: null
138193
- })), _class2)) || _class);
138194
- ;
138195
-
138196
- (function () {
138197
- var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
138198
-
138199
- if (!reactHotLoader) {
138200
- return;
138201
- }
138202
-
138203
- reactHotLoader.register(LongNode, "LongNode", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\generators\\markupGenerator\\ElementProcessors\\ControlFlow\\Captions\\Long\\LongNode.ts");
138204
- })();
138205
-
138206
- ;
138207
-
138208
- (function () {
138209
- var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
138210
- leaveModule && leaveModule(module);
138211
- })();
138212
-
138213
- /***/ }),
138214
-
138215
- /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ControlFlow/Captions/Short/ShortConverter.ts":
138216
- /*!*****************************************************************************************************************!*\
138217
- !*** ./Generator/src/generators/markupGenerator/ElementProcessors/ControlFlow/Captions/Short/ShortConverter.ts ***!
138218
- \*****************************************************************************************************************/
138219
- /***/ ((module, __webpack_exports__, __webpack_require__) => {
138220
-
138221
- "use strict";
138222
- __webpack_require__.r(__webpack_exports__);
138223
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
138224
- /* harmony export */ "ShortConverter": () => (/* binding */ ShortConverter)
138225
- /* harmony export */ });
138226
- /* harmony import */ var _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../DataDeclarationGenerator/DataDeclarationGenerationContext */ "./Generator/src/generators/DataDeclarationGenerator/DataDeclarationGenerationContext.ts");
138227
- /* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
138228
- /* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
138229
- /* harmony import */ var _ShortNode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ShortNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ControlFlow/Captions/Short/ShortNode.ts");
138230
- /* module decorator */ module = __webpack_require__.hmd(module);
138231
- (function () {
138232
- var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
138233
- enterModule && enterModule(module);
138234
- })();
138235
-
138236
- var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
138237
- return a;
138238
- };
138239
-
138240
-
138241
-
138242
-
138243
-
138244
- class ShortConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.SugarNodeConverterBase {
138245
- static getAcceptNodeClass() {
138246
- return _ShortNode__WEBPACK_IMPORTED_MODULE_3__.ShortNode;
138247
- }
138248
-
138249
- doBuildDataDeclaration(context) {
138250
- return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
138251
- }
138252
-
138253
- buildChildrenDataDeclaration(context) {
138254
- const node = this.getCurrentNodeAs(_ShortNode__WEBPACK_IMPORTED_MODULE_3__.ShortNode);
138255
- return context.processChildrenDataDeclaration(node.children);
138256
- }
138257
-
138258
- *doTraverseChildren() {
138259
- const node = this.getCurrentNodeAs(_ShortNode__WEBPACK_IMPORTED_MODULE_3__.ShortNode);
138260
- yield* node.children;
138261
- }
138262
-
138263
- doConvert(context) {
138264
- const node = this.getCurrentNodeAs(_ShortNode__WEBPACK_IMPORTED_MODULE_3__.ShortNode);
138265
- const builder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("Short");
138266
- builder.appendChild(context.convertChildNodes(node.children));
138267
- return builder.buildConverterResult();
138268
- }
138269
-
138270
- // @ts-ignore
138271
- __reactstandin__regenerateByEval(key, code) {
138272
- // @ts-ignore
138273
- this[key] = eval(code);
138274
- }
138275
-
138276
- }
138277
- ;
138278
-
138279
- (function () {
138280
- var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
138281
-
138282
- if (!reactHotLoader) {
138283
- return;
138284
- }
138285
-
138286
- reactHotLoader.register(ShortConverter, "ShortConverter", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\generators\\markupGenerator\\ElementProcessors\\ControlFlow\\Captions\\Short\\ShortConverter.ts");
138287
- })();
138288
-
138289
- ;
138290
-
138291
- (function () {
138292
- var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
138293
- leaveModule && leaveModule(module);
138294
- })();
138295
-
138296
- /***/ }),
138297
-
138298
- /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ControlFlow/Captions/Short/ShortNode.ts":
138299
- /*!************************************************************************************************************!*\
138300
- !*** ./Generator/src/generators/markupGenerator/ElementProcessors/ControlFlow/Captions/Short/ShortNode.ts ***!
138301
- \************************************************************************************************************/
138302
- /***/ ((module, __webpack_exports__, __webpack_require__) => {
138303
-
138304
- "use strict";
138305
- __webpack_require__.r(__webpack_exports__);
138306
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
138307
- /* harmony export */ "ShortNode": () => (/* binding */ ShortNode)
138308
- /* harmony export */ });
138309
- /* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
138310
- /* module decorator */ module = __webpack_require__.hmd(module);
138311
- var _dec, _dec2, _class, _class2, _descriptor;
138312
-
138313
- (function () {
138314
- var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
138315
- enterModule && enterModule(module);
138316
- })();
138317
-
138318
- function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }
138319
-
138320
- function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
138321
-
138322
- function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }
138323
-
138324
- var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
138325
- return a;
138326
- };
138327
-
138328
-
138329
- let ShortNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.sugarNode)("short", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ControlFlow/Captions/Short sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.children)(), _dec(_class = (_class2 = class ShortNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.SugarNodeBase {
138330
- constructor(...args) {
138331
- super(...args);
138332
-
138333
- _initializerDefineProperty(this, "children", _descriptor, this);
138334
- }
138335
-
138336
- // @ts-ignore
138337
- __reactstandin__regenerateByEval(key, code) {
138338
- // @ts-ignore
138339
- this[key] = eval(code);
138340
- }
138341
-
138342
- }, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "children", [_dec2], {
138343
- configurable: true,
138344
- enumerable: true,
138345
- writable: true,
138346
- initializer: null
138347
- })), _class2)) || _class);
138348
- ;
138349
-
138350
- (function () {
138351
- var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
138352
-
138353
- if (!reactHotLoader) {
138354
- return;
138355
- }
138356
-
138357
- reactHotLoader.register(ShortNode, "ShortNode", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\generators\\markupGenerator\\ElementProcessors\\ControlFlow\\Captions\\Short\\ShortNode.ts");
138358
- })();
138359
-
138360
- ;
138361
-
138362
- (function () {
138363
- var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
138364
- leaveModule && leaveModule(module);
138365
- })();
138366
-
138367
- /***/ }),
138368
-
138369
138715
  /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ControlFlow/Choice/ChoiceConverter.ts":
138370
138716
  /*!**********************************************************************************************************!*\
138371
138717
  !*** ./Generator/src/generators/markupGenerator/ElementProcessors/ControlFlow/Choice/ChoiceConverter.ts ***!
@@ -138569,9 +138915,10 @@ __webpack_require__.r(__webpack_exports__);
138569
138915
  /* harmony import */ var _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../common/XmlParser/XmlNode */ "./Generator/src/common/XmlParser/XmlNode.ts");
138570
138916
  /* harmony import */ var _common_ConditionUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../common/ConditionUtils */ "./Generator/src/common/ConditionUtils.ts");
138571
138917
  /* harmony import */ var _Common_KCLangRuntimeUtils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../../../Common/KCLangRuntimeUtils */ "./Common/KCLangRuntimeUtils.ts");
138572
- /* harmony import */ var _ComponentMarkupBuilder_PathHelper__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/PathHelper */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/PathHelper.ts");
138573
- /* harmony import */ var _RequisiteLIst_requisiteList__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../RequisiteLIst/requisiteList */ "./Generator/src/generators/RequisiteLIst/requisiteList.ts");
138574
- /* harmony import */ var _IfNode__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./IfNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ControlFlow/If/IfNode.ts");
138918
+ /* harmony import */ var _RequisiteLIst_requisiteList__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../RequisiteLIst/requisiteList */ "./Generator/src/generators/RequisiteLIst/requisiteList.ts");
138919
+ /* harmony import */ var _SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../SugarNodes/SugarNodeUtils */ "./Generator/src/generators/markupGenerator/SugarNodes/SugarNodeUtils.ts");
138920
+ /* harmony import */ var _Common_TypingUtils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../../../../Common/TypingUtils */ "./Common/TypingUtils.ts");
138921
+ /* harmony import */ var _IfNode__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./IfNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ControlFlow/If/IfNode.ts");
138575
138922
  /* module decorator */ module = __webpack_require__.hmd(module);
138576
138923
  (function () {
138577
138924
  var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
@@ -138591,14 +138938,15 @@ var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoader
138591
138938
 
138592
138939
 
138593
138940
 
138941
+
138594
138942
  class IfConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.SugarNodeConverterBase {
138595
138943
  static getAcceptNodeClass() {
138596
- return _IfNode__WEBPACK_IMPORTED_MODULE_8__.IfNode;
138944
+ return _IfNode__WEBPACK_IMPORTED_MODULE_9__.IfNode;
138597
138945
  }
138598
138946
 
138599
138947
  doGetRequisites() {
138600
- const node = this.getCurrentNodeAs(_IfNode__WEBPACK_IMPORTED_MODULE_8__.IfNode);
138601
- return (0,_RequisiteLIst_requisiteList__WEBPACK_IMPORTED_MODULE_7__.getRequisitesFromEvaluableProps)(node.condition);
138948
+ const node = this.getCurrentNodeAs(_IfNode__WEBPACK_IMPORTED_MODULE_9__.IfNode);
138949
+ return (0,_RequisiteLIst_requisiteList__WEBPACK_IMPORTED_MODULE_6__.getRequisitesFromEvaluableProps)(node.condition);
138602
138950
  }
138603
138951
 
138604
138952
  doBuildDataDeclaration(context) {
@@ -138606,13 +138954,13 @@ class IfConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Sugar
138606
138954
  }
138607
138955
 
138608
138956
  buildChildrenDataDeclaration(context) {
138609
- const node = this.getCurrentNodeAs(_IfNode__WEBPACK_IMPORTED_MODULE_8__.IfNode);
138957
+ const node = this.getCurrentNodeAs(_IfNode__WEBPACK_IMPORTED_MODULE_9__.IfNode);
138610
138958
  return context.processChildrenDataDeclaration(node.children, x => {
138611
- if (x instanceof _IfNode__WEBPACK_IMPORTED_MODULE_8__.ThenNode) {
138959
+ if (x instanceof _IfNode__WEBPACK_IMPORTED_MODULE_9__.ThenNode) {
138612
138960
  return context.processChildrenDataDeclaration(x.children);
138613
138961
  }
138614
138962
 
138615
- if (x instanceof _IfNode__WEBPACK_IMPORTED_MODULE_8__.ElseNode) {
138963
+ if (x instanceof _IfNode__WEBPACK_IMPORTED_MODULE_9__.ElseNode) {
138616
138964
  return context.processChildrenDataDeclaration(x.children);
138617
138965
  }
138618
138966
 
@@ -138621,12 +138969,12 @@ class IfConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Sugar
138621
138969
  }
138622
138970
 
138623
138971
  *doTraverseChildren() {
138624
- const node = this.getCurrentNodeAs(_IfNode__WEBPACK_IMPORTED_MODULE_8__.IfNode);
138972
+ const node = this.getCurrentNodeAs(_IfNode__WEBPACK_IMPORTED_MODULE_9__.IfNode);
138625
138973
 
138626
138974
  for (const child of node.children) {
138627
- if (child instanceof _IfNode__WEBPACK_IMPORTED_MODULE_8__.ThenNode) {
138975
+ if (child instanceof _IfNode__WEBPACK_IMPORTED_MODULE_9__.ThenNode) {
138628
138976
  yield* child.children;
138629
- } else if (child instanceof _IfNode__WEBPACK_IMPORTED_MODULE_8__.ElseNode) {
138977
+ } else if (child instanceof _IfNode__WEBPACK_IMPORTED_MODULE_9__.ElseNode) {
138630
138978
  yield* child.children;
138631
138979
  } else {
138632
138980
  yield child;
@@ -138637,42 +138985,30 @@ class IfConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Sugar
138637
138985
  doConvert(context) {
138638
138986
  var _node$then, _node$else;
138639
138987
 
138640
- const node = this.getCurrentNodeAs(_IfNode__WEBPACK_IMPORTED_MODULE_8__.IfNode);
138988
+ const node = this.getCurrentNodeAs(_IfNode__WEBPACK_IMPORTED_MODULE_9__.IfNode);
138641
138989
  const builder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("If");
138642
138990
 
138643
- if (node.isIndividual === undefined && node.condition === undefined) {
138644
- throw new _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_3__.SugarAttributeReadError(`ifnode должна иметь свойство condition или isIndividual`, node, "ifNode");
138991
+ if (node.isIndividual == undefined && (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_8__.isNullOrWhiteSpace)(node.condition)) {
138992
+ throw new _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_3__.SugarAttributeReadError(`ifnode должна иметь свойство condition или isIndividual`, node, "condition");
138645
138993
  }
138646
138994
 
138647
- if (node.isIndividual !== undefined && node.condition !== undefined) {
138648
- throw new _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_3__.SugarAttributeReadError(`Выберите или condition или isIndividual`, node, "ifNode");
138649
- }
138650
-
138651
- if (node.condition !== undefined && node.condition === "") {
138652
- throw new _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_3__.SugarAttributeReadError(`condition не может быть пустым`, node, "ifNode");
138995
+ if (node.isIndividual != undefined && node.condition != undefined) {
138996
+ throw new _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_3__.SugarAttributeReadError(`Выберите или condition или isIndividual`, node, "condition");
138653
138997
  }
138654
138998
 
138655
138999
  const condition = node.isIndividual !== undefined ? `path("@settings/isIndividual") === '${node.isIndividual}'` : node.condition;
138656
- const conditionWithDependencies = (0,_common_ConditionUtils__WEBPACK_IMPORTED_MODULE_4__.convertConditionToJsOrFailWithFriendlySugarError)(condition, "path", _Common_KCLangRuntimeUtils__WEBPACK_IMPORTED_MODULE_5__.KCLangRuntimeUtils.kcLangUtilsName, node, (0,_ComponentMarkupBuilder_PathHelper__WEBPACK_IMPORTED_MODULE_6__.extractPath)(x => x.condition));
139000
+ const conditionWithDependencies = (0,_common_ConditionUtils__WEBPACK_IMPORTED_MODULE_4__.convertConditionToJsOrFailWithFriendlySugarError)(condition !== null && condition !== void 0 ? condition : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_8__.reject)(), "path", _Common_KCLangRuntimeUtils__WEBPACK_IMPORTED_MODULE_5__.KCLangRuntimeUtils.kcLangUtilsName, node, "condition");
138657
139001
  const thenBuilder = builder.createChild("Then");
138658
139002
  thenBuilder.appendChild(context.convertChildNodes(((_node$then = node.then) !== null && _node$then !== void 0 ? _node$then : node).children));
138659
139003
  thenBuilder.prop(x => x.evaluatorsContextPath).set(this.getEvaluatorsContextPathExpression());
138660
- thenBuilder.prop(x => x.positiveCondition).set({
138661
- type: "Expression",
138662
- expression: `{ type: "ModelDependentEvaluator", expression: (path) => ${conditionWithDependencies.condition}}`,
138663
- dependencies: conditionWithDependencies.dependencies
138664
- });
139004
+ thenBuilder.prop(x => x.positiveCondition).set((0,_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_7__.buildExpressionPropValue)(conditionWithDependencies.condition, conditionWithDependencies.dependencies));
138665
139005
 
138666
139006
  if (((_node$else = node.else) === null || _node$else === void 0 ? void 0 : _node$else.children) !== undefined) {
138667
139007
  var _node$else2;
138668
139008
 
138669
139009
  const elseBuilder = builder.createChild("Else");
138670
139010
  elseBuilder.prop(x => x.evaluatorsContextPath).set(this.getEvaluatorsContextPathExpression());
138671
- elseBuilder.prop(x => x.positiveCondition).set({
138672
- type: "Expression",
138673
- expression: `{ type: "ModelDependentEvaluator", expression: (path) => ${conditionWithDependencies.condition}}`,
138674
- dependencies: conditionWithDependencies.dependencies
138675
- });
139011
+ elseBuilder.prop(x => x.positiveCondition).set((0,_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_7__.buildExpressionPropValue)(conditionWithDependencies.condition, conditionWithDependencies.dependencies));
138676
139012
  elseBuilder.appendChild(context.convertChildNodes((_node$else2 = node.else) === null || _node$else2 === void 0 ? void 0 : _node$else2.children));
138677
139013
  }
138678
139014
 
@@ -139022,7 +139358,8 @@ __webpack_require__.r(__webpack_exports__);
139022
139358
  /* harmony import */ var _Common_KCLangRuntimeUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../../../Common/KCLangRuntimeUtils */ "./Common/KCLangRuntimeUtils.ts");
139023
139359
  /* harmony import */ var _ComponentMarkupBuilder_PathHelper__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/PathHelper */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/PathHelper.ts");
139024
139360
  /* harmony import */ var _RequisiteLIst_requisiteList__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../RequisiteLIst/requisiteList */ "./Generator/src/generators/RequisiteLIst/requisiteList.ts");
139025
- /* harmony import */ var _SwitchNode__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./SwitchNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ControlFlow/Switch/SwitchNode.ts");
139361
+ /* harmony import */ var _SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../SugarNodes/SugarNodeUtils */ "./Generator/src/generators/markupGenerator/SugarNodes/SugarNodeUtils.ts");
139362
+ /* harmony import */ var _SwitchNode__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./SwitchNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ControlFlow/Switch/SwitchNode.ts");
139026
139363
  /* module decorator */ module = __webpack_require__.hmd(module);
139027
139364
  (function () {
139028
139365
  var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
@@ -139041,9 +139378,10 @@ var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoader
139041
139378
 
139042
139379
 
139043
139380
 
139381
+
139044
139382
  class SwitchDefaultConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.SugarNodeConverterBase {
139045
139383
  static getAcceptNodeClass() {
139046
- return _SwitchNode__WEBPACK_IMPORTED_MODULE_7__.SwitchDefaultNode;
139384
+ return _SwitchNode__WEBPACK_IMPORTED_MODULE_8__.SwitchDefaultNode;
139047
139385
  }
139048
139386
 
139049
139387
  doBuildDataDeclaration(context) {
@@ -139051,17 +139389,17 @@ class SwitchDefaultConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODUL
139051
139389
  }
139052
139390
 
139053
139391
  buildChildrenDataDeclaration(context) {
139054
- const node = this.getCurrentNodeAs(_SwitchNode__WEBPACK_IMPORTED_MODULE_7__.SwitchDefaultNode);
139392
+ const node = this.getCurrentNodeAs(_SwitchNode__WEBPACK_IMPORTED_MODULE_8__.SwitchDefaultNode);
139055
139393
  return context.processChildrenDataDeclaration(node.children);
139056
139394
  }
139057
139395
 
139058
139396
  *doTraverseChildren() {
139059
- const node = this.getCurrentNodeAs(_SwitchNode__WEBPACK_IMPORTED_MODULE_7__.SwitchDefaultNode);
139397
+ const node = this.getCurrentNodeAs(_SwitchNode__WEBPACK_IMPORTED_MODULE_8__.SwitchDefaultNode);
139060
139398
  yield* node.children;
139061
139399
  }
139062
139400
 
139063
139401
  doConvert(context) {
139064
- const node = this.getCurrentNodeAs(_SwitchNode__WEBPACK_IMPORTED_MODULE_7__.SwitchDefaultNode);
139402
+ const node = this.getCurrentNodeAs(_SwitchNode__WEBPACK_IMPORTED_MODULE_8__.SwitchDefaultNode);
139065
139403
  const builder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("SwitchDefault");
139066
139404
  builder.appendChild(context.convertChildNodes(node.children));
139067
139405
  return builder.buildConverterResult();
@@ -139076,7 +139414,7 @@ class SwitchDefaultConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODUL
139076
139414
  }
139077
139415
  class SwitchCaseConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.SugarNodeConverterBase {
139078
139416
  static getAcceptNodeClass() {
139079
- return _SwitchNode__WEBPACK_IMPORTED_MODULE_7__.SwitchCaseNode;
139417
+ return _SwitchNode__WEBPACK_IMPORTED_MODULE_8__.SwitchCaseNode;
139080
139418
  }
139081
139419
 
139082
139420
  doBuildDataDeclaration(context) {
@@ -139084,29 +139422,25 @@ class SwitchCaseConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2
139084
139422
  }
139085
139423
 
139086
139424
  buildChildrenDataDeclaration(context) {
139087
- const node = this.getCurrentNodeAs(_SwitchNode__WEBPACK_IMPORTED_MODULE_7__.SwitchCaseNode);
139425
+ const node = this.getCurrentNodeAs(_SwitchNode__WEBPACK_IMPORTED_MODULE_8__.SwitchCaseNode);
139088
139426
  return context.processChildrenDataDeclaration(node.children);
139089
139427
  }
139090
139428
 
139091
139429
  doGetRequisites() {
139092
- const node = this.getCurrentNodeAs(_SwitchNode__WEBPACK_IMPORTED_MODULE_7__.SwitchCaseNode);
139430
+ const node = this.getCurrentNodeAs(_SwitchNode__WEBPACK_IMPORTED_MODULE_8__.SwitchCaseNode);
139093
139431
  return (0,_RequisiteLIst_requisiteList__WEBPACK_IMPORTED_MODULE_6__.getRequisitesFromEvaluableProps)(node.condition);
139094
139432
  }
139095
139433
 
139096
139434
  *doTraverseChildren() {
139097
- const node = this.getCurrentNodeAs(_SwitchNode__WEBPACK_IMPORTED_MODULE_7__.SwitchCaseNode);
139435
+ const node = this.getCurrentNodeAs(_SwitchNode__WEBPACK_IMPORTED_MODULE_8__.SwitchCaseNode);
139098
139436
  yield* node.children;
139099
139437
  }
139100
139438
 
139101
139439
  doConvert(context) {
139102
- const node = this.getCurrentNodeAs(_SwitchNode__WEBPACK_IMPORTED_MODULE_7__.SwitchCaseNode);
139440
+ const node = this.getCurrentNodeAs(_SwitchNode__WEBPACK_IMPORTED_MODULE_8__.SwitchCaseNode);
139103
139441
  const builder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("SwitchCase");
139104
139442
  const conditionWithDependencies = (0,_common_ConditionUtils__WEBPACK_IMPORTED_MODULE_3__.convertConditionToJsOrFailWithFriendlySugarError)(node.condition, "path", _Common_KCLangRuntimeUtils__WEBPACK_IMPORTED_MODULE_4__.KCLangRuntimeUtils.kcLangUtilsName, node, (0,_ComponentMarkupBuilder_PathHelper__WEBPACK_IMPORTED_MODULE_5__.extractPath)(x => x.condition));
139105
- builder.prop(x => x.condition).set({
139106
- type: "Expression",
139107
- expression: `{ type: "ModelDependentEvaluator", expression: (path) => ${conditionWithDependencies.condition} }`,
139108
- dependencies: conditionWithDependencies.dependencies
139109
- });
139443
+ builder.prop(x => x.condition).set((0,_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_7__.buildExpressionPropValue)(conditionWithDependencies.condition, conditionWithDependencies.dependencies));
139110
139444
  builder.prop(x => x.evaluatorsContextPath).set(this.getEvaluatorsContextPathExpression());
139111
139445
  builder.appendChild(context.convertChildNodes(node.children));
139112
139446
  return builder.buildConverterResult();
@@ -139121,11 +139455,11 @@ class SwitchCaseConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2
139121
139455
  }
139122
139456
  class SwitchConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.SugarNodeConverterBase {
139123
139457
  static getAcceptNodeClass() {
139124
- return _SwitchNode__WEBPACK_IMPORTED_MODULE_7__.SwitchNode;
139458
+ return _SwitchNode__WEBPACK_IMPORTED_MODULE_8__.SwitchNode;
139125
139459
  }
139126
139460
 
139127
139461
  doGetRequisites() {
139128
- const node = this.getCurrentNodeAs(_SwitchNode__WEBPACK_IMPORTED_MODULE_7__.SwitchNode);
139462
+ const node = this.getCurrentNodeAs(_SwitchNode__WEBPACK_IMPORTED_MODULE_8__.SwitchNode);
139129
139463
  return node.cases.flatMap(x => (0,_RequisiteLIst_requisiteList__WEBPACK_IMPORTED_MODULE_6__.getRequisitesFromEvaluableProps)(x.condition));
139130
139464
  }
139131
139465
 
@@ -139136,12 +139470,12 @@ class SwitchConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.S
139136
139470
  buildChildrenDataDeclaration(context) {
139137
139471
  var _node$default, _node$default2;
139138
139472
 
139139
- const node = this.getCurrentNodeAs(_SwitchNode__WEBPACK_IMPORTED_MODULE_7__.SwitchNode);
139473
+ const node = this.getCurrentNodeAs(_SwitchNode__WEBPACK_IMPORTED_MODULE_8__.SwitchNode);
139140
139474
  return context.mergeDataDeclaration(...node.cases.map(x => context.processChildrenDataDeclaration(x.children)).flat(), ((_node$default = node.default) === null || _node$default === void 0 ? void 0 : _node$default.children) && context.processChildrenDataDeclaration((_node$default2 = node.default) === null || _node$default2 === void 0 ? void 0 : _node$default2.children));
139141
139475
  }
139142
139476
 
139143
139477
  *doTraverseChildren() {
139144
- const node = this.getCurrentNodeAs(_SwitchNode__WEBPACK_IMPORTED_MODULE_7__.SwitchNode);
139478
+ const node = this.getCurrentNodeAs(_SwitchNode__WEBPACK_IMPORTED_MODULE_8__.SwitchNode);
139145
139479
  yield* node.cases;
139146
139480
 
139147
139481
  if (node.default != undefined) {
@@ -139150,7 +139484,7 @@ class SwitchConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.S
139150
139484
  }
139151
139485
 
139152
139486
  doConvert(context) {
139153
- const node = this.getCurrentNodeAs(_SwitchNode__WEBPACK_IMPORTED_MODULE_7__.SwitchNode);
139487
+ const node = this.getCurrentNodeAs(_SwitchNode__WEBPACK_IMPORTED_MODULE_8__.SwitchNode);
139154
139488
  const builder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("Switch");
139155
139489
  const prevConditions = [];
139156
139490
 
@@ -139158,11 +139492,7 @@ class SwitchConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.S
139158
139492
  const caseBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("SwitchCase");
139159
139493
  caseBuilder.prop(x => x.prevCaseConditions).set([...prevConditions]);
139160
139494
  const conditionWithDependencies = (0,_common_ConditionUtils__WEBPACK_IMPORTED_MODULE_3__.convertConditionToJsOrFailWithFriendlySugarError)(caseNode.condition, "path", _Common_KCLangRuntimeUtils__WEBPACK_IMPORTED_MODULE_4__.KCLangRuntimeUtils.kcLangUtilsName, node, (0,_ComponentMarkupBuilder_PathHelper__WEBPACK_IMPORTED_MODULE_5__.extractPath)(x => x.condition));
139161
- const currentCaseCondition = {
139162
- type: "Expression",
139163
- expression: `{ type: "ModelDependentEvaluator", expression: (path) => ${conditionWithDependencies.condition} }`,
139164
- dependencies: conditionWithDependencies.dependencies
139165
- };
139495
+ const currentCaseCondition = (0,_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_7__.buildExpressionPropValue)(conditionWithDependencies.condition, conditionWithDependencies.dependencies);
139166
139496
  caseBuilder.prop(x => x.condition).set(currentCaseCondition);
139167
139497
  prevConditions.push(currentCaseCondition);
139168
139498
  caseBuilder.prop(x => x.evaluatorsContextPath).set(this.getEvaluatorsContextPathExpression());
@@ -143210,7 +143540,7 @@ class UserPicklistConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE
143210
143540
  type: "Expression",
143211
143541
  expression: validationGenerator.generateValidationsFactory()
143212
143542
  });
143213
- const dataDeclarationGenerator = new _DataDeclarationGenerator_DataDeclarationGenerator__WEBPACK_IMPORTED_MODULE_10__.DataDeclarationGenerator((_findSugarNodeBases$2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.findSugarNodeBases)(node.editor)[0]) !== null && _findSugarNodeBases$2 !== void 0 ? _findSugarNodeBases$2 : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_8__.reject)(), new _DataDeclarationGenerator_DataDeclarationInitSourceSequenceFactory__WEBPACK_IMPORTED_MODULE_11__.DataDeclarationInitSourceSequenceFactory(_common_FetchFunctions__WEBPACK_IMPORTED_MODULE_12__.FetchFunctions.empty()), context.controlCustomizationContext, context.typesRegistry);
143543
+ const dataDeclarationGenerator = new _DataDeclarationGenerator_DataDeclarationGenerator__WEBPACK_IMPORTED_MODULE_10__.DataDeclarationGenerator((_findSugarNodeBases$2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.findSugarNodeBases)(node.editor)[0]) !== null && _findSugarNodeBases$2 !== void 0 ? _findSugarNodeBases$2 : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_8__.reject)(), new _DataDeclarationGenerator_DataDeclarationInitSourceSequenceFactory__WEBPACK_IMPORTED_MODULE_11__.DataDeclarationInitSourceSequenceFactory(_common_FetchFunctions__WEBPACK_IMPORTED_MODULE_12__.FetchFunctions.empty()), context.controlCustomizationContext, context.typesRegistry, _common_SchemaRng_FormSchemaRng__WEBPACK_IMPORTED_MODULE_7__.FormSchemaRng.createEmpty(), false);
143214
143544
  userPicklistDeclarationBuilder.prop(x => x.editorDataDeclaration).set({
143215
143545
  type: "Expression",
143216
143546
  expression: dataDeclarationGenerator.generateDataDeclarationFactory()
@@ -150170,10 +150500,10 @@ class CrossfitTableConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODUL
150170
150500
  }
150171
150501
 
150172
150502
  if (rowNode instanceof _CrossfitTableNode__WEBPACK_IMPORTED_MODULE_11__.MultilineNode) {
150173
- var _rowNode$optional2;
150503
+ var _ref, _rowNode$optional2;
150174
150504
 
150175
150505
  this.ensurePathExists(rowNode, rowNode.dataScope.path);
150176
- return context.mergeDataDeclaration(context.addPathDeclEntry(rowNode, [["children", context.initSequenceFactory.children((_rowNode$optional2 = rowNode.optional) !== null && _rowNode$optional2 !== void 0 ? _rowNode$optional2 : false, rowNode.defaultChildren)]]), context.addSpecialFieldsEntry(rowNode, {
150506
+ return context.mergeDataDeclaration(context.addPathDeclEntry(rowNode, [["children", context.initSequenceFactory.children((_ref = (_rowNode$optional2 = rowNode.optional) !== null && _rowNode$optional2 !== void 0 ? _rowNode$optional2 : context.isMultipleNodeOptionalFromScheme(rowNode.getFullPath())) !== null && _ref !== void 0 ? _ref : false, rowNode.defaultChildren)]]), context.addSpecialFieldsEntry(rowNode, {
150177
150507
  optional: rowNode.optional
150178
150508
  }), context.addPathSectionDeclarationEntry(rowNode), context.addVisibilityPathDeclEntryNew(rowNode), context.processChildrenDataDeclaration(rowNode.rows, rowNode2 => {
150179
150509
  if (rowNode2 instanceof _CrossfitTableNode__WEBPACK_IMPORTED_MODULE_11__.CrossfitTableRowNode) {
@@ -152581,10 +152911,10 @@ class MultilineFieldConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODU
152581
152911
  }
152582
152912
 
152583
152913
  doBuildDataDeclaration(context) {
152584
- var _node$optional;
152914
+ var _ref, _node$optional;
152585
152915
 
152586
152916
  const node = this.getCurrentNodeAs(_MultilineFieldNode__WEBPACK_IMPORTED_MODULE_3__.MultilineFieldNode);
152587
- return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["children", context.initSequenceFactory.children((_node$optional = node.optional) !== null && _node$optional !== void 0 ? _node$optional : false)]]), context.addSpecialFieldsEntry(node, {
152917
+ return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["children", context.initSequenceFactory.children((_ref = (_node$optional = node.optional) !== null && _node$optional !== void 0 ? _node$optional : context.isMultipleNodeOptionalFromScheme(node.getFullPath())) !== null && _ref !== void 0 ? _ref : false)]]), context.addSpecialFieldsEntry(node, {
152588
152918
  optional: node.optional
152589
152919
  }), context.addPathSectionDeclarationEntry(node), context.addVisibilityPathDeclEntryNew(node));
152590
152920
  }
@@ -152814,10 +153144,10 @@ class MultipleConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_0__
152814
153144
  }
152815
153145
 
152816
153146
  doBuildDataDeclaration(context) {
152817
- var _node$optional;
153147
+ var _ref, _node$optional;
152818
153148
 
152819
153149
  const node = this.getCurrentNodeAs(_MultipleNode__WEBPACK_IMPORTED_MODULE_3__.MultipleNode);
152820
- return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["children", context.initSequenceFactory.children((_node$optional = node.optional) !== null && _node$optional !== void 0 ? _node$optional : false)]]), context.addSpecialFieldsEntry(node, {
153150
+ return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["children", context.initSequenceFactory.children((_ref = (_node$optional = node.optional) !== null && _node$optional !== void 0 ? _node$optional : context.isMultipleNodeOptionalFromScheme(node.getFullPath())) !== null && _ref !== void 0 ? _ref : false)]]), context.addSpecialFieldsEntry(node, {
152821
153151
  optional: node.optional
152822
153152
  }), context.addPathSectionDeclarationEntry(node));
152823
153153
  }
@@ -154312,9 +154642,9 @@ class StickyTableWithMultilineConverter extends _SugarNodeConverter__WEBPACK_IMP
154312
154642
 
154313
154643
  processMultilineNode(context, rowNode) {
154314
154644
  if (rowNode instanceof _StickyTableNode__WEBPACK_IMPORTED_MODULE_14__.StickyTableMultilineNode) {
154315
- var _rowNode$optional;
154645
+ var _ref, _rowNode$optional;
154316
154646
 
154317
- return context.mergeDataDeclaration(context.addPathDeclEntry(rowNode, [["children", context.initSequenceFactory.children((_rowNode$optional = rowNode.optional) !== null && _rowNode$optional !== void 0 ? _rowNode$optional : false, rowNode.defaultChildren)]]), context.addSpecialFieldsEntry(rowNode, {
154647
+ return context.mergeDataDeclaration(context.addPathDeclEntry(rowNode, [["children", context.initSequenceFactory.children((_ref = (_rowNode$optional = rowNode.optional) !== null && _rowNode$optional !== void 0 ? _rowNode$optional : context.isMultipleNodeOptionalFromScheme(rowNode.getFullPath())) !== null && _ref !== void 0 ? _ref : false, rowNode.defaultChildren)]]), context.addSpecialFieldsEntry(rowNode, {
154318
154648
  optional: rowNode.optional
154319
154649
  }), context.addPathSectionDeclarationEntry(rowNode), context.addVisibilityPathDeclEntryNew(rowNode), context.processChildrenDataDeclaration(rowNode.rows, rowNode2 => this.processMultilineRowNode(context, rowNode2)));
154320
154650
  }
@@ -154387,11 +154717,11 @@ class StickyTableWithMultilineConverter extends _SugarNodeConverter__WEBPACK_IMP
154387
154717
  const sideSize = (_node$side2 = node.side) !== null && _node$side2 !== void 0 ? _node$side2 : 0;
154388
154718
 
154389
154719
  if (this.isSimpleForm()) {
154390
- var _ref, _node$deprecatedDiado;
154720
+ var _ref2, _node$deprecatedDiado;
154391
154721
 
154392
154722
  mb.prop(x => x.maxWidth).set(orientation === "landscape" ? maxWidth : undefined);
154393
154723
  mb.prop(x => x.sideSize).set(this.hasActionButton(node) && sideSize !== 0 ? sideSize + 1 : sideSize);
154394
- const width = (_ref = (_node$deprecatedDiado = node.deprecatedDiadocWidth) !== null && _node$deprecatedDiado !== void 0 ? _node$deprecatedDiado : node.width) !== null && _ref !== void 0 ? _ref : maxWidthSimpleForm;
154724
+ const width = (_ref2 = (_node$deprecatedDiado = node.deprecatedDiadocWidth) !== null && _node$deprecatedDiado !== void 0 ? _node$deprecatedDiado : node.width) !== null && _ref2 !== void 0 ? _ref2 : maxWidthSimpleForm;
154395
154725
  mb.prop(x => x.width).set(width);
154396
154726
  mb.prop(x => x.footerHeight).set(160);
154397
154727
  } else {
@@ -154674,10 +155004,10 @@ BindingPath: ${errorPath}`));
154674
155004
  if (this.isSimpleForm()) {
154675
155005
  mb.prop(x => x.buttonType).set(undefined);
154676
155006
  } else {
154677
- var _multiline$rowmenu, _ref2, _tableNode$removeButt;
155007
+ var _multiline$rowmenu, _ref3, _tableNode$removeButt;
154678
155008
 
154679
155009
  const rowMenu = (_multiline$rowmenu = multiline.rowmenu) !== null && _multiline$rowmenu !== void 0 ? _multiline$rowmenu : false;
154680
- const removebutton = (_ref2 = (_tableNode$removeButt = tableNode.removeButton) !== null && _tableNode$removeButt !== void 0 ? _tableNode$removeButt : multiline.removebutton) !== null && _ref2 !== void 0 ? _ref2 : true;
155010
+ const removebutton = (_ref3 = (_tableNode$removeButt = tableNode.removeButton) !== null && _tableNode$removeButt !== void 0 ? _tableNode$removeButt : multiline.removebutton) !== null && _ref3 !== void 0 ? _ref3 : true;
154681
155011
  mb.prop(x => x.buttonType).set(rowMenu ? "RowMenu" : removebutton ? "RemoveRowButton" : undefined);
154682
155012
  }
154683
155013
 
@@ -154690,7 +155020,7 @@ BindingPath: ${errorPath}`));
154690
155020
  }
154691
155021
 
154692
155022
  getMultiline(context, node, multiline, start, end = Infinity) {
154693
- var _ref3, _node$removeButton, _multiline$rowmenu2, _ref4, _node$removeButton2, _context$popPathsCont2;
155023
+ var _ref4, _node$removeButton, _multiline$rowmenu2, _ref5, _node$removeButton2, _context$popPathsCont2;
154694
155024
 
154695
155025
  const overrideInfo = multiline.override ? context.controlCustomizationContext.getControlCustomizationInfo("multiline", multiline.override) : undefined;
154696
155026
  const mb = overrideInfo == undefined ? (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_5__.componentMarkupBuilder)("MultiLine") : (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_5__.componentMarkupBuilder)(overrideInfo.dependencies, overrideInfo.controlName);
@@ -154703,7 +155033,7 @@ BindingPath: ${errorPath}`));
154703
155033
  mb.prop(x => x.isList).set(multiline.usepager === false ? true : undefined);
154704
155034
  mb.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_13__.getNewBindingPathExpression)(multiline));
154705
155035
  mb.prop(x => x.showRowBorder).set(multiline.showRowBorder);
154706
- const hasRemoveButton = ((_ref3 = (_node$removeButton = node.removeButton) !== null && _node$removeButton !== void 0 ? _node$removeButton : multiline.removebutton) !== null && _ref3 !== void 0 ? _ref3 : true) || ((_multiline$rowmenu2 = multiline.rowmenu) !== null && _multiline$rowmenu2 !== void 0 ? _multiline$rowmenu2 : false);
155036
+ const hasRemoveButton = ((_ref4 = (_node$removeButton = node.removeButton) !== null && _node$removeButton !== void 0 ? _node$removeButton : multiline.removebutton) !== null && _ref4 !== void 0 ? _ref4 : true) || ((_multiline$rowmenu2 = multiline.rowmenu) !== null && _multiline$rowmenu2 !== void 0 ? _multiline$rowmenu2 : false);
154707
155037
  const needAddButton = multiline.addbutton !== "false";
154708
155038
 
154709
155039
  if (this.isSimpleForm()) {
@@ -154716,7 +155046,7 @@ BindingPath: ${errorPath}`));
154716
155046
  mb.prop(x => x.removeButtonPosition).set(undefined);
154717
155047
  }
154718
155048
 
154719
- mb.prop(x => x.disableScroll).set(needAddButton || ((_ref4 = (_node$removeButton2 = node.removeButton) !== null && _node$removeButton2 !== void 0 ? _node$removeButton2 : multiline.removebutton) !== null && _ref4 !== void 0 ? _ref4 : true) ? undefined : true);
155049
+ mb.prop(x => x.disableScroll).set(needAddButton || ((_ref5 = (_node$removeButton2 = node.removeButton) !== null && _node$removeButton2 !== void 0 ? _node$removeButton2 : multiline.removebutton) !== null && _ref5 !== void 0 ? _ref5 : true) ? undefined : true);
154720
155050
  context.pushPathsContext();
154721
155051
 
154722
155052
  if ((0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_3__.arrayHasLength)(multiline.rows, 1)) {
@@ -154742,9 +155072,9 @@ BindingPath: ${errorPath}`));
154742
155072
  hasActionButton(node) {
154743
155073
  const multilines = node.rows.map(child => (0,_StickyTableNode__WEBPACK_IMPORTED_MODULE_14__.isMultilineNode)(child) ? child : child.columns.find(_StickyTableNode__WEBPACK_IMPORTED_MODULE_14__.isMultilineNode)).filter(_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_3__.isNotNullOrUndefined);
154744
155074
  return multilines.some(multiline => {
154745
- var _ref5, _node$removeButton3;
155075
+ var _ref6, _node$removeButton3;
154746
155076
 
154747
- return ((_ref5 = (_node$removeButton3 = node.removeButton) !== null && _node$removeButton3 !== void 0 ? _node$removeButton3 : multiline.removebutton) !== null && _ref5 !== void 0 ? _ref5 : true) || multiline.rowmenu;
155077
+ return ((_ref6 = (_node$removeButton3 = node.removeButton) !== null && _node$removeButton3 !== void 0 ? _node$removeButton3 : multiline.removebutton) !== null && _ref6 !== void 0 ? _ref6 : true) || multiline.rowmenu;
154748
155078
  });
154749
155079
  }
154750
155080
 
@@ -155058,10 +155388,10 @@ class Table2MultirowConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODU
155058
155388
  }
155059
155389
 
155060
155390
  doBuildDataDeclaration(context) {
155061
- var _node$optional;
155391
+ var _ref, _node$optional;
155062
155392
 
155063
155393
  const node = this.getCurrentNodeAs(_Table2Node__WEBPACK_IMPORTED_MODULE_3__.Table2MultirowNode);
155064
- return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["children", context.initSequenceFactory.children((_node$optional = node.optional) !== null && _node$optional !== void 0 ? _node$optional : false)]]), context.addPathSectionDeclarationEntry(node));
155394
+ return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["children", context.initSequenceFactory.children((_ref = (_node$optional = node.optional) !== null && _node$optional !== void 0 ? _node$optional : context.isMultipleNodeOptionalFromScheme(node.getFullPath())) !== null && _ref !== void 0 ? _ref : false)]]), context.addPathSectionDeclarationEntry(node));
155065
155395
  }
155066
155396
 
155067
155397
  buildChildrenDataDeclaration(context) {
@@ -156221,10 +156551,10 @@ class TabsConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Sug
156221
156551
  }
156222
156552
 
156223
156553
  doBuildDataDeclaration(context) {
156224
- var _node$optional;
156554
+ var _ref, _node$optional;
156225
156555
 
156226
156556
  const node = this.getCurrentNodeAs(_TabsNode__WEBPACK_IMPORTED_MODULE_4__.TabsNode);
156227
- return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["children", context.initSequenceFactory.children((_node$optional = node.optional) !== null && _node$optional !== void 0 ? _node$optional : false)]]), context.addPathSectionDeclarationEntry(node));
156557
+ return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["children", context.initSequenceFactory.children((_ref = (_node$optional = node.optional) !== null && _node$optional !== void 0 ? _node$optional : context.isMultipleNodeOptionalFromScheme(node.getFullPath())) !== null && _ref !== void 0 ? _ref : false)]]), context.addPathSectionDeclarationEntry(node));
156228
156558
  }
156229
156559
 
156230
156560
  buildChildrenDataDeclaration(context) {
@@ -158645,7 +158975,7 @@ class ComboBoxConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__
158645
158975
  if (node.disabled2 != undefined) {
158646
158976
  markupBuilder.prop(x => x.disabled2).set({
158647
158977
  type: "Expression",
158648
- expression: `{ type: "ModelDependentEvaluator", expression: (path) => ${node.disabled2} }`
158978
+ expression: `{ type: "ModelDependentEvaluator", expression: (path, count) => ${node.disabled2} }`
158649
158979
  });
158650
158980
  }
158651
158981
 
@@ -161315,15 +161645,14 @@ __webpack_require__.r(__webpack_exports__);
161315
161645
  /* harmony export */ "InputConverter": () => (/* binding */ InputConverter)
161316
161646
  /* harmony export */ });
161317
161647
  /* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
161318
- /* harmony import */ var _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../common/XmlParser/XmlNode */ "./Generator/src/common/XmlParser/XmlNode.ts");
161319
- /* harmony import */ var _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../validationGenerator/Nodes/TypeNode */ "./Generator/src/generators/validationGenerator/Nodes/TypeNode.ts");
161320
- /* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
161321
- /* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
161322
- /* harmony import */ var _CommonNodeProperties_TooltipProperties_SetTooltipSettingsProps__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../CommonNodeProperties/TooltipProperties/SetTooltipSettingsProps */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/TooltipProperties/SetTooltipSettingsProps.ts");
161323
- /* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
161324
- /* harmony import */ var _SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../SugarNodes/SugarNodeUtils */ "./Generator/src/generators/markupGenerator/SugarNodes/SugarNodeUtils.ts");
161325
- /* harmony import */ var _InputLimitations__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./InputLimitations */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Input/InputLimitations.ts");
161326
- /* harmony import */ var _InputNode__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./InputNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Input/InputNode.ts");
161648
+ /* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
161649
+ /* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
161650
+ /* harmony import */ var _CommonNodeProperties_TooltipProperties_SetTooltipSettingsProps__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../CommonNodeProperties/TooltipProperties/SetTooltipSettingsProps */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/TooltipProperties/SetTooltipSettingsProps.ts");
161651
+ /* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
161652
+ /* harmony import */ var _SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../SugarNodes/SugarNodeUtils */ "./Generator/src/generators/markupGenerator/SugarNodes/SugarNodeUtils.ts");
161653
+ /* harmony import */ var _InputLimitations__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./InputLimitations */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Input/InputLimitations.ts");
161654
+ /* harmony import */ var _InputNode__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./InputNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Input/InputNode.ts");
161655
+ /* harmony import */ var _SetCurrencyProps__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./SetCurrencyProps */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Input/SetCurrencyProps.ts");
161327
161656
  /* module decorator */ module = __webpack_require__.hmd(module);
161328
161657
  (function () {
161329
161658
  var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
@@ -161343,19 +161672,18 @@ var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoader
161343
161672
 
161344
161673
 
161345
161674
 
161346
-
161347
- class InputConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_4__.SugarNodeConverterBase {
161675
+ class InputConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.SugarNodeConverterBase {
161348
161676
  static getAcceptNodeClass() {
161349
- return _InputNode__WEBPACK_IMPORTED_MODULE_9__.InputNode;
161677
+ return _InputNode__WEBPACK_IMPORTED_MODULE_7__.InputNode;
161350
161678
  }
161351
161679
 
161352
161680
  get nodePaths() {
161353
- const node = this.getCurrentNodeAs(_InputNode__WEBPACK_IMPORTED_MODULE_9__.InputNode);
161354
- return [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_6__.getNewBindingPathExpression)(node)];
161681
+ const node = this.getCurrentNodeAs(_InputNode__WEBPACK_IMPORTED_MODULE_7__.InputNode);
161682
+ return [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_4__.getNewBindingPathExpression)(node)];
161355
161683
  }
161356
161684
 
161357
161685
  doBuildFLangValidations(buildContext) {
161358
- const node = this.getCurrentNodeAs(_InputNode__WEBPACK_IMPORTED_MODULE_9__.InputNode);
161686
+ const node = this.getCurrentNodeAs(_InputNode__WEBPACK_IMPORTED_MODULE_7__.InputNode);
161359
161687
  const targetPath = _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.AbsoluteModelPath.createAbsoluteFromMask(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.PathTokens.each);
161360
161688
  const typeNode = buildContext.getTypeNode(node.validationInfo);
161361
161689
  const schemaTypeNode = buildContext.getSchemaTypeInfo(targetPath);
@@ -161368,12 +161696,12 @@ class InputConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_4__.Su
161368
161696
  }
161369
161697
 
161370
161698
  doBuildNodeValidations(validationGenerator) {
161371
- const node = this.getCurrentNodeAs(_InputNode__WEBPACK_IMPORTED_MODULE_9__.InputNode);
161699
+ const node = this.getCurrentNodeAs(_InputNode__WEBPACK_IMPORTED_MODULE_7__.InputNode);
161372
161700
  validationGenerator.processValidations(this.getResolvedBindingPath(node), node.validationInfo.optional, validationGenerator.getTypeNode(node.validationInfo), undefined, node.validationInfo.emptydescription);
161373
161701
  }
161374
161702
 
161375
161703
  doBuildDataDeclaration(context) {
161376
- const node = this.getCurrentNodeAs(_InputNode__WEBPACK_IMPORTED_MODULE_9__.InputNode);
161704
+ const node = this.getCurrentNodeAs(_InputNode__WEBPACK_IMPORTED_MODULE_7__.InputNode);
161377
161705
  return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["value", context.initSequenceFactory.dataValue(node.dataBinding, node.disabled)], node.auto ? ["autoFlag", context.initSequenceFactory.takeFromModel()] : undefined, node.auto ? ["autoValue", context.initSequenceFactory.takeFromModelOrDefaultValue(node.dataBinding.defaultValue)] : undefined]), context.addSpecialFieldsEntry(node, {
161378
161706
  optional: node.dataBinding.optional,
161379
161707
  disabled: node.disabled
@@ -161381,7 +161709,7 @@ class InputConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_4__.Su
161381
161709
  }
161382
161710
 
161383
161711
  doBuildNormalizeRules(builder) {
161384
- const node = this.getCurrentNodeAs(_InputNode__WEBPACK_IMPORTED_MODULE_9__.InputNode);
161712
+ const node = this.getCurrentNodeAs(_InputNode__WEBPACK_IMPORTED_MODULE_7__.InputNode);
161385
161713
  return [builder.valueInitializer(node, node.dataBinding, node.disabled), ...builder.specialFieldsInitializer(node, {
161386
161714
  optional: node.dataBinding.optional,
161387
161715
  disabled: node.disabled
@@ -161389,17 +161717,17 @@ class InputConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_4__.Su
161389
161717
  }
161390
161718
 
161391
161719
  buildChildrenDataDeclaration(context) {
161392
- const node = this.getCurrentNodeAs(_InputNode__WEBPACK_IMPORTED_MODULE_9__.InputNode);
161720
+ const node = this.getCurrentNodeAs(_InputNode__WEBPACK_IMPORTED_MODULE_7__.InputNode);
161393
161721
  return context.processChildrenDataDeclaration(node.helpNodes);
161394
161722
  }
161395
161723
 
161396
161724
  *doTraverseChildren() {
161397
- const node = this.getCurrentNodeAs(_InputNode__WEBPACK_IMPORTED_MODULE_9__.InputNode);
161725
+ const node = this.getCurrentNodeAs(_InputNode__WEBPACK_IMPORTED_MODULE_7__.InputNode);
161398
161726
  yield* node.helpNodes;
161399
161727
  }
161400
161728
 
161401
161729
  doConvert(context) {
161402
- const node = this.getCurrentNodeAs(_InputNode__WEBPACK_IMPORTED_MODULE_9__.InputNode);
161730
+ const node = this.getCurrentNodeAs(_InputNode__WEBPACK_IMPORTED_MODULE_7__.InputNode);
161403
161731
  this.ensurePathExists(node, node.dataBinding.path);
161404
161732
 
161405
161733
  if (node.auto) {
@@ -161409,76 +161737,27 @@ class InputConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_4__.Su
161409
161737
  }
161410
161738
  }
161411
161739
 
161412
- setCurrencyProps(markupBuilder, context, node) {
161413
- const typeNode = context.getTypeNode(node.validationInfo);
161414
- const schemaTypeInfo = context.getSchemaTypeInfo(node.getFullPath());
161415
- markupBuilder.prop(x => x.currency).set(node.currency);
161416
-
161417
- if (node.currency) {
161418
- var _typeNode$base;
161419
-
161420
- const baseTypeName = (_typeNode$base = typeNode === null || typeNode === void 0 ? void 0 : typeNode.base) !== null && _typeNode$base !== void 0 ? _typeNode$base : schemaTypeInfo === null || schemaTypeInfo === void 0 ? void 0 : schemaTypeInfo.baseType;
161421
-
161422
- if (baseTypeName === "decimal") {
161423
- var _ref, _ref2, _ref3, _ref4, _typeNode$flattenType, _typeNode$flattenType2, _typeNode$flattenType3, _typeNode$flattenType4, _typeNode$flattenType5, _typeNode$flattenType6, _typeNode$flattenType7, _typeNode$flattenType8;
161424
-
161425
- const maxLength = (_ref = (_ref2 = (_ref3 = (_ref4 = (_typeNode$flattenType = typeNode === null || typeNode === void 0 ? void 0 : (_typeNode$flattenType2 = typeNode.flattenTypeCheckNodes().find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.LengthTypeCheckNode))) === null || _typeNode$flattenType2 === void 0 ? void 0 : _typeNode$flattenType2.value) !== null && _typeNode$flattenType !== void 0 ? _typeNode$flattenType : schemaTypeInfo === null || schemaTypeInfo === void 0 ? void 0 : schemaTypeInfo.length) !== null && _ref4 !== void 0 ? _ref4 : typeNode === null || typeNode === void 0 ? void 0 : (_typeNode$flattenType3 = typeNode.flattenTypeCheckNodes().find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.MaxlengthTypeCheckNode))) === null || _typeNode$flattenType3 === void 0 ? void 0 : _typeNode$flattenType3.value) !== null && _ref3 !== void 0 ? _ref3 : schemaTypeInfo === null || schemaTypeInfo === void 0 ? void 0 : schemaTypeInfo.maxLength) !== null && _ref2 !== void 0 ? _ref2 : typeNode === null || typeNode === void 0 ? void 0 : (_typeNode$flattenType4 = typeNode.flattenTypeCheckNodes().find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.TotaldigitsTypeCheckNode))) === null || _typeNode$flattenType4 === void 0 ? void 0 : _typeNode$flattenType4.value) !== null && _ref !== void 0 ? _ref : schemaTypeInfo === null || schemaTypeInfo === void 0 ? void 0 : schemaTypeInfo.totalDigits;
161426
- const fractionDigits = (_typeNode$flattenType5 = typeNode === null || typeNode === void 0 ? void 0 : (_typeNode$flattenType6 = typeNode.flattenTypeCheckNodes().find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.FractiondigitsTypeCheckNode))) === null || _typeNode$flattenType6 === void 0 ? void 0 : _typeNode$flattenType6.value) !== null && _typeNode$flattenType5 !== void 0 ? _typeNode$flattenType5 : schemaTypeInfo === null || schemaTypeInfo === void 0 ? void 0 : schemaTypeInfo.fractionDigits;
161427
- const integerDigits = (_typeNode$flattenType7 = typeNode === null || typeNode === void 0 ? void 0 : (_typeNode$flattenType8 = typeNode.flattenTypeCheckNodes().find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.IntegerdigitsTypeCheckNode))) === null || _typeNode$flattenType8 === void 0 ? void 0 : _typeNode$flattenType8.value) !== null && _typeNode$flattenType7 !== void 0 ? _typeNode$flattenType7 : schemaTypeInfo === null || schemaTypeInfo === void 0 ? void 0 : schemaTypeInfo.integerDigits;
161428
- markupBuilder.prop(x => x.currencyIntegerDigits).set(integerDigits);
161429
- markupBuilder.prop(x => x.currencyFractionDigits).set(fractionDigits);
161430
-
161431
- if (maxLength != undefined && fractionDigits != undefined && integerDigits == undefined) {
161432
- markupBuilder.prop(x => x.currencyIntegerDigits).set(maxLength - fractionDigits);
161433
- markupBuilder.prop(x => x.currencyFractionDigits).set(fractionDigits);
161434
- } else if (maxLength != undefined && fractionDigits == undefined && integerDigits != undefined) {
161435
- markupBuilder.prop(x => x.currencyIntegerDigits).set(integerDigits);
161436
- markupBuilder.prop(x => x.currencyFractionDigits).set(maxLength - integerDigits);
161437
- } else if (maxLength == undefined && fractionDigits != undefined && integerDigits != undefined) {
161438
- markupBuilder.prop(x => x.currencyIntegerDigits).set(integerDigits);
161439
- markupBuilder.prop(x => x.currencyFractionDigits).set(fractionDigits);
161440
- } else if (maxLength == undefined && fractionDigits != undefined && integerDigits == undefined) {
161441
- markupBuilder.prop(x => x.currencyIntegerDigits).set(undefined);
161442
- markupBuilder.prop(x => x.currencyFractionDigits).set(fractionDigits);
161443
- } else if (maxLength == undefined && fractionDigits == undefined && integerDigits == undefined) {
161444
- markupBuilder.prop(x => x.currencyIntegerDigits).set(undefined);
161445
- markupBuilder.prop(x => x.currencyFractionDigits).set(2);
161446
- } else {
161447
- throw new _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_1__.SugarAttributeReadError("Unable to use currency editor with decimal type with length, maxLength or totaldigits constraints", node, "currency");
161448
- }
161449
- } else if (baseTypeName === "integer") {
161450
- var _ref5, _typeNode$flattenType9, _typeNode$flattenType10, _ref6, _typeNode$flattenType11, _typeNode$flattenType12, _ref7, _typeNode$flattenType13, _typeNode$flattenType14;
161451
-
161452
- const maxLength = Math.max((_ref5 = (_typeNode$flattenType9 = typeNode === null || typeNode === void 0 ? void 0 : (_typeNode$flattenType10 = typeNode.flattenTypeCheckNodes().find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.LengthTypeCheckNode))) === null || _typeNode$flattenType10 === void 0 ? void 0 : _typeNode$flattenType10.value) !== null && _typeNode$flattenType9 !== void 0 ? _typeNode$flattenType9 : schemaTypeInfo === null || schemaTypeInfo === void 0 ? void 0 : schemaTypeInfo.length) !== null && _ref5 !== void 0 ? _ref5 : -1, (_ref6 = (_typeNode$flattenType11 = typeNode === null || typeNode === void 0 ? void 0 : (_typeNode$flattenType12 = typeNode.flattenTypeCheckNodes().find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.MaxlengthTypeCheckNode))) === null || _typeNode$flattenType12 === void 0 ? void 0 : _typeNode$flattenType12.value) !== null && _typeNode$flattenType11 !== void 0 ? _typeNode$flattenType11 : schemaTypeInfo === null || schemaTypeInfo === void 0 ? void 0 : schemaTypeInfo.maxLength) !== null && _ref6 !== void 0 ? _ref6 : -1, (_ref7 = (_typeNode$flattenType13 = typeNode === null || typeNode === void 0 ? void 0 : (_typeNode$flattenType14 = typeNode.flattenTypeCheckNodes().find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.TotaldigitsTypeCheckNode))) === null || _typeNode$flattenType14 === void 0 ? void 0 : _typeNode$flattenType14.value) !== null && _typeNode$flattenType13 !== void 0 ? _typeNode$flattenType13 : schemaTypeInfo === null || schemaTypeInfo === void 0 ? void 0 : schemaTypeInfo.totalDigits) !== null && _ref7 !== void 0 ? _ref7 : -1);
161453
- markupBuilder.prop(x => x.currencyIntegerDigits).set(maxLength === -1 ? undefined : maxLength);
161454
- markupBuilder.prop(x => x.currencyFractionDigits).set(0);
161455
- } else if (baseTypeName != undefined) {
161456
- throw new _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_1__.SugarAttributeReadError("Unable to use currency editor for non numberic types", node, "currency");
161457
- }
161458
- }
161459
- }
161460
-
161461
161740
  buildRegularInput(context, node) {
161462
- var _typeNode$base2, _node$maskChar, _node$width;
161741
+ var _typeNode$base, _node$maskChar, _node$width;
161463
161742
 
161464
161743
  const typeNode = context.getTypeNode(node.validationInfo);
161465
161744
  const schemaTypeInfo = context.getSchemaTypeInfo(node.getFullPath());
161466
- const typeBase = (_typeNode$base2 = typeNode === null || typeNode === void 0 ? void 0 : typeNode.base) !== null && _typeNode$base2 !== void 0 ? _typeNode$base2 : schemaTypeInfo === null || schemaTypeInfo === void 0 ? void 0 : schemaTypeInfo.baseType;
161467
- const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("Input");
161745
+ const typeBase = (_typeNode$base = typeNode === null || typeNode === void 0 ? void 0 : typeNode.base) !== null && _typeNode$base !== void 0 ? _typeNode$base : schemaTypeInfo === null || schemaTypeInfo === void 0 ? void 0 : schemaTypeInfo.baseType;
161746
+ const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("Input");
161468
161747
 
161469
161748
  if (node.visible != undefined) {
161470
161749
  markupBuilder.prop(x => x.visible).set({
161471
161750
  type: "Expression",
161472
- expression: `{ type: "ModelDependentEvaluator", expression: (path) => ${node.visible} }`
161751
+ expression: `{ type: "ModelDependentEvaluator", expression: (path, count) => ${node.visible} }`
161473
161752
  });
161474
161753
  }
161475
161754
 
161476
- markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_6__.getNewBindingPathExpression)(node));
161755
+ markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_4__.getNewBindingPathExpression)(node));
161477
161756
  markupBuilder.prop(x => x.placeholder).set(node.placeholder);
161478
161757
  markupBuilder.prop(x => x.disabled).set(node.disabled);
161479
161758
 
161480
161759
  if (node.disabled2 != undefined) {
161481
- markupBuilder.prop(x => x.disabled2).set((0,_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_7__.buildExpressionPropValue)(node.disabled2));
161760
+ markupBuilder.prop(x => x.disabled2).set((0,_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_5__.buildExpressionPropValue)(node.disabled2));
161482
161761
 
161483
161762
  if (this.getLegacyNode().getParent() != undefined) {
161484
161763
  markupBuilder.prop(x => x.evaluatorsContextPath).set(this.getEvaluatorsContextPathExpression());
@@ -161490,16 +161769,18 @@ class InputConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_4__.Su
161490
161769
  markupBuilder.prop(x => x.maskChar).set(node.mask ? (_node$maskChar = node.maskChar) !== null && _node$maskChar !== void 0 ? _node$maskChar : "_" : undefined);
161491
161770
  markupBuilder.prop(x => x.formatChars).set(node.formatChars);
161492
161771
  markupBuilder.prop(x => x.width).set((_node$width = node.width) !== null && _node$width !== void 0 ? _node$width : "100%");
161493
- this.setCurrencyProps(markupBuilder, context, node);
161772
+ (0,_SetCurrencyProps__WEBPACK_IMPORTED_MODULE_8__.setCurrencyProps)(markupBuilder, context, node);
161494
161773
  markupBuilder.prop(x => x.useMaskExtender).set(node.useMaskExtender);
161495
- (0,_CommonNodeProperties_TooltipProperties_SetTooltipSettingsProps__WEBPACK_IMPORTED_MODULE_5__.setTooltipSettingsProps)(markupBuilder, node.tooltipSettings);
161496
- const inputLimitations = (0,_InputLimitations__WEBPACK_IMPORTED_MODULE_8__.getInputLimitations)(typeNode, schemaTypeInfo);
161774
+ (0,_CommonNodeProperties_TooltipProperties_SetTooltipSettingsProps__WEBPACK_IMPORTED_MODULE_3__.setTooltipSettingsProps)(markupBuilder, node.tooltipSettings);
161775
+ const inputLimitations = (0,_InputLimitations__WEBPACK_IMPORTED_MODULE_6__.getInputLimitations)(typeNode, schemaTypeInfo);
161497
161776
 
161498
161777
  if (inputLimitations !== null) {
161499
161778
  markupBuilder.prop(x => x.inputLimit).set(inputLimitations);
161500
161779
  }
161501
161780
 
161502
- if ((typeBase === "integer" || typeBase === "decimal") && node.align !== "left" || node.align === "right") {
161781
+ if (node.align != undefined) {
161782
+ markupBuilder.prop(x => x.align).set(node.align);
161783
+ } else if (typeBase === "integer" || typeBase === "decimal") {
161503
161784
  markupBuilder.prop(x => x.align).set("right");
161504
161785
  }
161505
161786
 
@@ -161515,29 +161796,29 @@ class InputConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_4__.Su
161515
161796
  }
161516
161797
 
161517
161798
  buildFxInput(context, node) {
161518
- var _typeNode$base3, _node$width2;
161799
+ var _typeNode$base2, _node$width2;
161519
161800
 
161520
161801
  const typeNode = context.getTypeNode(node.validationInfo);
161521
161802
  const schemaTypeInfo = context.getSchemaTypeInfo(node.getFullPath());
161522
- const typeBase = (_typeNode$base3 = typeNode === null || typeNode === void 0 ? void 0 : typeNode.base) !== null && _typeNode$base3 !== void 0 ? _typeNode$base3 : schemaTypeInfo === null || schemaTypeInfo === void 0 ? void 0 : schemaTypeInfo.baseType;
161523
- const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("FxInput");
161803
+ const typeBase = (_typeNode$base2 = typeNode === null || typeNode === void 0 ? void 0 : typeNode.base) !== null && _typeNode$base2 !== void 0 ? _typeNode$base2 : schemaTypeInfo === null || schemaTypeInfo === void 0 ? void 0 : schemaTypeInfo.baseType;
161804
+ const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("FxInput");
161524
161805
 
161525
161806
  if (node.visible != undefined) {
161526
161807
  markupBuilder.prop(x => x.visible).set({
161527
161808
  type: "Expression",
161528
- expression: `{ type: "ModelDependentEvaluator", expression: (path) => ${node.visible} }`
161809
+ expression: `{ type: "ModelDependentEvaluator", expression: (path, count) => ${node.visible} }`
161529
161810
  });
161530
161811
  }
161531
161812
 
161532
- markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_6__.getNewBindingPathExpression)(node));
161813
+ markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_4__.getNewBindingPathExpression)(node));
161533
161814
  markupBuilder.prop(x => x.hint).set(this.getConverterResultFromAttributeWithMarkup(context, node.hint));
161534
161815
  markupBuilder.prop(x => x.disabled).set(node.disabled);
161535
161816
  markupBuilder.prop(x => x.disabledPure).set(node.deprecatedDisabledForRpn);
161536
161817
  markupBuilder.prop(x => x.align).set(node.align);
161537
161818
  markupBuilder.prop(x => x.width).set((_node$width2 = node.width) !== null && _node$width2 !== void 0 ? _node$width2 : "100%");
161538
- this.setCurrencyProps(markupBuilder, context, node);
161539
- (0,_CommonNodeProperties_TooltipProperties_SetTooltipSettingsProps__WEBPACK_IMPORTED_MODULE_5__.setTooltipSettingsProps)(markupBuilder, node.tooltipSettings);
161540
- const inputLimitations = (0,_InputLimitations__WEBPACK_IMPORTED_MODULE_8__.getInputLimitations)(typeNode, schemaTypeInfo);
161819
+ (0,_SetCurrencyProps__WEBPACK_IMPORTED_MODULE_8__.setCurrencyProps)(markupBuilder, context, node);
161820
+ (0,_CommonNodeProperties_TooltipProperties_SetTooltipSettingsProps__WEBPACK_IMPORTED_MODULE_3__.setTooltipSettingsProps)(markupBuilder, node.tooltipSettings);
161821
+ const inputLimitations = (0,_InputLimitations__WEBPACK_IMPORTED_MODULE_6__.getInputLimitations)(typeNode, schemaTypeInfo);
161541
161822
 
161542
161823
  if (inputLimitations !== null) {
161543
161824
  markupBuilder.prop(x => x.inputLimit).set(inputLimitations);
@@ -161560,7 +161841,7 @@ class InputConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_4__.Su
161560
161841
  if (node.formula != undefined && typeof node.formula === "string" && isTemplatedString(node.formula)) {
161561
161842
  markupBuilder.prop(x => x.formula).set({
161562
161843
  type: "Expression",
161563
- expression: `{ type: "ModelDependentEvaluator", expression: (path) => \`${node.formula}\` }`
161844
+ expression: `{ type: "ModelDependentEvaluator", expression: (path, count) => \`${node.formula}\` }`
161564
161845
  });
161565
161846
  } else {
161566
161847
  markupBuilder.prop(x => x.formula).set(this.getConverterResultFromAttributeWithMarkup(context, node.formula));
@@ -161570,7 +161851,7 @@ class InputConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_4__.Su
161570
161851
  markupBuilder.prop(x => x.prefix).set(this.getConverterResultFromAttributeWithMarkup(context, node.prefix));
161571
161852
 
161572
161853
  if (node.disabled2 != undefined) {
161573
- markupBuilder.prop(x => x.disabled2).set((0,_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_7__.buildExpressionPropValue)(node.disabled2));
161854
+ markupBuilder.prop(x => x.disabled2).set((0,_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_5__.buildExpressionPropValue)(node.disabled2));
161574
161855
 
161575
161856
  if (this.getLegacyNode().getParent() != undefined) {
161576
161857
  markupBuilder.prop(x => x.evaluatorsContextPath).set(this.getEvaluatorsContextPathExpression());
@@ -161685,7 +161966,8 @@ const regExps = {
161685
161966
  return `^[+-]?((${intCase})|(${fractCase}))$`;
161686
161967
  },
161687
161968
  date: () => "^[0-9.]{0,10}$",
161688
- gYear: () => "^\\d{0,4}$"
161969
+ gYear: () => "^\\d{0,4}$",
161970
+ gMonth: () => "^(0|1|2|3|4|5|6|7|8|9|10|11|12){0,1}$"
161689
161971
  };
161690
161972
  function getInputLimitations(typeNode, schemaTypeInfo) {
161691
161973
  var _ref4, _typeNode$flattenType7, _typeNode$flattenType8, _ref5, _typeNode$flattenType9, _typeNode$flattenType10, _ref6, _typeNode$flattenType11, _typeNode$flattenType12, _typeNode$base;
@@ -162116,6 +162398,107 @@ let InputNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_
162116
162398
 
162117
162399
  /***/ }),
162118
162400
 
162401
+ /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Input/SetCurrencyProps.ts":
162402
+ /*!***********************************************************************************************************!*\
162403
+ !*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Input/SetCurrencyProps.ts ***!
162404
+ \***********************************************************************************************************/
162405
+ /***/ ((module, __webpack_exports__, __webpack_require__) => {
162406
+
162407
+ "use strict";
162408
+ __webpack_require__.r(__webpack_exports__);
162409
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
162410
+ /* harmony export */ "setCurrencyProps": () => (/* binding */ setCurrencyProps)
162411
+ /* harmony export */ });
162412
+ /* harmony import */ var _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../validationGenerator/Nodes/TypeNode */ "./Generator/src/generators/validationGenerator/Nodes/TypeNode.ts");
162413
+ /* harmony import */ var _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../common/XmlParser/XmlNode */ "./Generator/src/common/XmlParser/XmlNode.ts");
162414
+ /* module decorator */ module = __webpack_require__.hmd(module);
162415
+ (function () {
162416
+ var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
162417
+ enterModule && enterModule(module);
162418
+ })();
162419
+
162420
+ var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
162421
+ return a;
162422
+ };
162423
+
162424
+
162425
+
162426
+ function setCurrencyProps(markupBuilder, context, node) {
162427
+ var _typeNode$base, _node$currency;
162428
+
162429
+ const typeNode = context.getTypeNode(node.validationInfo);
162430
+ const schemaTypeInfo = context.getSchemaTypeInfo(node.getFullPath());
162431
+ const baseTypeName = (_typeNode$base = typeNode === null || typeNode === void 0 ? void 0 : typeNode.base) !== null && _typeNode$base !== void 0 ? _typeNode$base : schemaTypeInfo === null || schemaTypeInfo === void 0 ? void 0 : schemaTypeInfo.baseType;
162432
+ const currency = (_node$currency = node.currency) !== null && _node$currency !== void 0 ? _node$currency : baseTypeName === "integer" || baseTypeName === "decimal";
162433
+ markupBuilder.prop(x => x.currency).set(currency);
162434
+
162435
+ if (currency) {
162436
+ if (baseTypeName === "decimal") {
162437
+ var _typeNode$flattenType, _typeNode$flattenType2, _ref, _ref2, _ref3, _ref4, _typeNode$flattenType3, _typeNode$flattenType4, _typeNode$flattenType5, _typeNode$flattenType6, _typeNode$flattenType7, _typeNode$flattenType8, _typeNode$flattenType9, _typeNode$flattenType10;
162438
+
162439
+ const totalDigits = (_typeNode$flattenType = typeNode === null || typeNode === void 0 ? void 0 : (_typeNode$flattenType2 = typeNode.flattenTypeCheckNodes().find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_0__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_0__.TotaldigitsTypeCheckNode))) === null || _typeNode$flattenType2 === void 0 ? void 0 : _typeNode$flattenType2.value) !== null && _typeNode$flattenType !== void 0 ? _typeNode$flattenType : schemaTypeInfo === null || schemaTypeInfo === void 0 ? void 0 : schemaTypeInfo.totalDigits;
162440
+ const maxLength = (_ref = (_ref2 = (_ref3 = (_ref4 = (_typeNode$flattenType3 = typeNode === null || typeNode === void 0 ? void 0 : (_typeNode$flattenType4 = typeNode.flattenTypeCheckNodes().find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_0__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_0__.LengthTypeCheckNode))) === null || _typeNode$flattenType4 === void 0 ? void 0 : _typeNode$flattenType4.value) !== null && _typeNode$flattenType3 !== void 0 ? _typeNode$flattenType3 : schemaTypeInfo === null || schemaTypeInfo === void 0 ? void 0 : schemaTypeInfo.length) !== null && _ref4 !== void 0 ? _ref4 : typeNode === null || typeNode === void 0 ? void 0 : (_typeNode$flattenType5 = typeNode.flattenTypeCheckNodes().find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_0__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_0__.MaxlengthTypeCheckNode))) === null || _typeNode$flattenType5 === void 0 ? void 0 : _typeNode$flattenType5.value) !== null && _ref3 !== void 0 ? _ref3 : schemaTypeInfo === null || schemaTypeInfo === void 0 ? void 0 : schemaTypeInfo.maxLength) !== null && _ref2 !== void 0 ? _ref2 : typeNode === null || typeNode === void 0 ? void 0 : (_typeNode$flattenType6 = typeNode.flattenTypeCheckNodes().find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_0__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_0__.TotaldigitsTypeCheckNode))) === null || _typeNode$flattenType6 === void 0 ? void 0 : _typeNode$flattenType6.value) !== null && _ref !== void 0 ? _ref : schemaTypeInfo === null || schemaTypeInfo === void 0 ? void 0 : schemaTypeInfo.totalDigits;
162441
+ const fractionDigits = (_typeNode$flattenType7 = typeNode === null || typeNode === void 0 ? void 0 : (_typeNode$flattenType8 = typeNode.flattenTypeCheckNodes().find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_0__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_0__.FractiondigitsTypeCheckNode))) === null || _typeNode$flattenType8 === void 0 ? void 0 : _typeNode$flattenType8.value) !== null && _typeNode$flattenType7 !== void 0 ? _typeNode$flattenType7 : schemaTypeInfo === null || schemaTypeInfo === void 0 ? void 0 : schemaTypeInfo.fractionDigits;
162442
+ const integerDigits = (_typeNode$flattenType9 = typeNode === null || typeNode === void 0 ? void 0 : (_typeNode$flattenType10 = typeNode.flattenTypeCheckNodes().find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_0__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_0__.IntegerdigitsTypeCheckNode))) === null || _typeNode$flattenType10 === void 0 ? void 0 : _typeNode$flattenType10.value) !== null && _typeNode$flattenType9 !== void 0 ? _typeNode$flattenType9 : schemaTypeInfo === null || schemaTypeInfo === void 0 ? void 0 : schemaTypeInfo.integerDigits;
162443
+ markupBuilder.prop(x => x.currencyIntegerDigits).set(integerDigits);
162444
+ markupBuilder.prop(x => x.currencyFractionDigits).set(fractionDigits);
162445
+
162446
+ if (maxLength != undefined && fractionDigits != undefined && integerDigits == undefined) {
162447
+ markupBuilder.prop(x => x.currencyIntegerDigits).set(maxLength - fractionDigits);
162448
+ markupBuilder.prop(x => x.currencyFractionDigits).set(fractionDigits);
162449
+ } else if (maxLength != undefined && fractionDigits == undefined && integerDigits != undefined) {
162450
+ markupBuilder.prop(x => x.currencyIntegerDigits).set(integerDigits);
162451
+ markupBuilder.prop(x => x.currencyFractionDigits).set(maxLength - integerDigits);
162452
+ } else if (maxLength == undefined && fractionDigits != undefined && integerDigits != undefined) {
162453
+ markupBuilder.prop(x => x.currencyIntegerDigits).set(integerDigits);
162454
+ markupBuilder.prop(x => x.currencyFractionDigits).set(fractionDigits);
162455
+ } else if (maxLength == undefined && fractionDigits != undefined && integerDigits == undefined) {
162456
+ markupBuilder.prop(x => x.currencyIntegerDigits).set(undefined);
162457
+ markupBuilder.prop(x => x.currencyFractionDigits).set(fractionDigits);
162458
+ } else if (maxLength == undefined && fractionDigits == undefined && integerDigits == undefined) {
162459
+ markupBuilder.prop(x => x.currencyIntegerDigits).set(undefined);
162460
+ markupBuilder.prop(x => x.currencyFractionDigits).set(2);
162461
+ } else if (maxLength != undefined && fractionDigits != undefined && integerDigits != undefined) {
162462
+ markupBuilder.prop(x => x.currencyIntegerDigits).set(integerDigits);
162463
+ markupBuilder.prop(x => x.currencyFractionDigits).set(fractionDigits);
162464
+ } else if (totalDigits != undefined && fractionDigits == undefined && integerDigits == undefined) {
162465
+ markupBuilder.prop(x => x.currencyIntegerDigits).set(totalDigits);
162466
+ markupBuilder.prop(x => x.currencyFractionDigits).set(0);
162467
+ } else {
162468
+ throw new _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_1__.SugarAttributeReadError(`Unable to use currency editor with decimal type with length, maxLength or totaldigits constraints (path: ${node.getFullPath().toString()})`, node, "currency");
162469
+ }
162470
+ } else if (baseTypeName === "integer") {
162471
+ var _ref5, _typeNode$flattenType11, _typeNode$flattenType12, _ref6, _typeNode$flattenType13, _typeNode$flattenType14, _ref7, _typeNode$flattenType15, _typeNode$flattenType16;
162472
+
162473
+ const maxLength = Math.max((_ref5 = (_typeNode$flattenType11 = typeNode === null || typeNode === void 0 ? void 0 : (_typeNode$flattenType12 = typeNode.flattenTypeCheckNodes().find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_0__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_0__.LengthTypeCheckNode))) === null || _typeNode$flattenType12 === void 0 ? void 0 : _typeNode$flattenType12.value) !== null && _typeNode$flattenType11 !== void 0 ? _typeNode$flattenType11 : schemaTypeInfo === null || schemaTypeInfo === void 0 ? void 0 : schemaTypeInfo.length) !== null && _ref5 !== void 0 ? _ref5 : -1, (_ref6 = (_typeNode$flattenType13 = typeNode === null || typeNode === void 0 ? void 0 : (_typeNode$flattenType14 = typeNode.flattenTypeCheckNodes().find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_0__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_0__.MaxlengthTypeCheckNode))) === null || _typeNode$flattenType14 === void 0 ? void 0 : _typeNode$flattenType14.value) !== null && _typeNode$flattenType13 !== void 0 ? _typeNode$flattenType13 : schemaTypeInfo === null || schemaTypeInfo === void 0 ? void 0 : schemaTypeInfo.maxLength) !== null && _ref6 !== void 0 ? _ref6 : -1, (_ref7 = (_typeNode$flattenType15 = typeNode === null || typeNode === void 0 ? void 0 : (_typeNode$flattenType16 = typeNode.flattenTypeCheckNodes().find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_0__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_0__.TotaldigitsTypeCheckNode))) === null || _typeNode$flattenType16 === void 0 ? void 0 : _typeNode$flattenType16.value) !== null && _typeNode$flattenType15 !== void 0 ? _typeNode$flattenType15 : schemaTypeInfo === null || schemaTypeInfo === void 0 ? void 0 : schemaTypeInfo.totalDigits) !== null && _ref7 !== void 0 ? _ref7 : -1);
162474
+ markupBuilder.prop(x => x.currencyIntegerDigits).set(maxLength === -1 ? undefined : maxLength);
162475
+ markupBuilder.prop(x => x.currencyFractionDigits).set(0);
162476
+ } else if (baseTypeName != undefined) {
162477
+ throw new _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_1__.SugarAttributeReadError("Unable to use currency editor for non numberic types", node, "currency");
162478
+ }
162479
+ }
162480
+ }
162481
+ ;
162482
+
162483
+ (function () {
162484
+ var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
162485
+
162486
+ if (!reactHotLoader) {
162487
+ return;
162488
+ }
162489
+
162490
+ reactHotLoader.register(setCurrencyProps, "setCurrencyProps", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\generators\\markupGenerator\\ElementProcessors\\ValueEditors\\Input\\SetCurrencyProps.ts");
162491
+ })();
162492
+
162493
+ ;
162494
+
162495
+ (function () {
162496
+ var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
162497
+ leaveModule && leaveModule(module);
162498
+ })();
162499
+
162500
+ /***/ }),
162501
+
162119
162502
  /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Kladr/KladrConverter.ts":
162120
162503
  /*!*********************************************************************************************************!*\
162121
162504
  !*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Kladr/KladrConverter.ts ***!
@@ -163278,6 +163661,105 @@ let RadioGroupNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MO
163278
163661
 
163279
163662
  /***/ }),
163280
163663
 
163664
+ /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/ReferencedFields/ReferencedFieldsConverter.ts":
163665
+ /*!*******************************************************************************************************************************!*\
163666
+ !*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/ReferencedFields/ReferencedFieldsConverter.ts ***!
163667
+ \*******************************************************************************************************************************/
163668
+ /***/ ((module, __webpack_exports__, __webpack_require__) => {
163669
+
163670
+ "use strict";
163671
+ __webpack_require__.r(__webpack_exports__);
163672
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
163673
+ /* harmony export */ "ReferencedFieldsConverter": () => (/* binding */ ReferencedFieldsConverter)
163674
+ /* harmony export */ });
163675
+ /* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
163676
+ /* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
163677
+ /* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
163678
+ /* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
163679
+ /* harmony import */ var _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../common/XmlParser/XmlNode */ "./Generator/src/common/XmlParser/XmlNode.ts");
163680
+ /* harmony import */ var _ReferencedFieldsNode__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./ReferencedFieldsNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/ReferencedFields/ReferencedFieldsNode.ts");
163681
+ /* module decorator */ module = __webpack_require__.hmd(module);
163682
+ (function () {
163683
+ var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
163684
+ enterModule && enterModule(module);
163685
+ })();
163686
+
163687
+ var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
163688
+ return a;
163689
+ };
163690
+
163691
+
163692
+
163693
+
163694
+
163695
+
163696
+
163697
+ class ReferencedFieldsConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_0__.SugarNodeConverterBase {
163698
+ static getAcceptNodeClass() {
163699
+ return _ReferencedFieldsNode__WEBPACK_IMPORTED_MODULE_5__.ReferencedFieldsNode;
163700
+ }
163701
+
163702
+ doBuildDataDeclaration(context) {
163703
+ const node = this.getCurrentNodeAs(_ReferencedFieldsNode__WEBPACK_IMPORTED_MODULE_5__.ReferencedFieldsNode);
163704
+ return context.mergeDataDeclaration(context.addPathSectionDeclarationEntry(node));
163705
+ }
163706
+
163707
+ buildChildrenDataDeclaration(context) {
163708
+ const node = this.getCurrentNodeAs(_ReferencedFieldsNode__WEBPACK_IMPORTED_MODULE_5__.ReferencedFieldsNode);
163709
+ return context.mergeDataDeclaration(context.processChildrenDataDeclaration((0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.findSugarNodeBases)(node.manual)), context.processChildrenDataDeclaration((0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.findSugarNodeBases)(node.referenced)));
163710
+ }
163711
+
163712
+ *doTraverseChildren() {
163713
+ const node = this.getCurrentNodeAs(_ReferencedFieldsNode__WEBPACK_IMPORTED_MODULE_5__.ReferencedFieldsNode);
163714
+ yield* (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.findSugarNodeBases)(node.manual);
163715
+ yield* (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.findSugarNodeBases)(node.referenced);
163716
+ }
163717
+
163718
+ doConvert(context) {
163719
+ const node = this.getCurrentNodeAs(_ReferencedFieldsNode__WEBPACK_IMPORTED_MODULE_5__.ReferencedFieldsNode);
163720
+ this.ensurePathExists(node, node.dataScope.path);
163721
+ const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__.componentMarkupBuilder)("ReferencedFields");
163722
+ markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_3__.getNewBindingPathExpression)(node));
163723
+
163724
+ if (node.reference == undefined || !node.reference.startsWith("userPicklist:")) {
163725
+ throw new _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_4__.SugarAttributeReadError(`Допустимо использование только пользовательских справочников. Имя должно начинаться с userPicklist:`, node, "reference");
163726
+ }
163727
+
163728
+ markupBuilder.prop(x => x.userPicklistName).set(node.reference.replace(/^userPicklist:/, ""));
163729
+ markupBuilder.prop(x => x.renderManualEditor).set(this.getConverterResultFromAttributeWithMarkup(context, node.manual));
163730
+ markupBuilder.prop(x => x.renderReferencedEditor).set(this.getConverterResultFromAttributeWithMarkup(context, node.referenced));
163731
+ markupBuilder.prop(x => x.mapping).set(node.mapping.map(x => [x[0], (0,_getBindingPath__WEBPACK_IMPORTED_MODULE_3__.getNewBindingPathExpression)(node, x[1])]));
163732
+ return markupBuilder.buildConverterResult();
163733
+ }
163734
+
163735
+ // @ts-ignore
163736
+ __reactstandin__regenerateByEval(key, code) {
163737
+ // @ts-ignore
163738
+ this[key] = eval(code);
163739
+ }
163740
+
163741
+ }
163742
+ ;
163743
+
163744
+ (function () {
163745
+ var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
163746
+
163747
+ if (!reactHotLoader) {
163748
+ return;
163749
+ }
163750
+
163751
+ reactHotLoader.register(ReferencedFieldsConverter, "ReferencedFieldsConverter", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\generators\\markupGenerator\\ElementProcessors\\ValueEditors\\ReferencedFields\\ReferencedFieldsConverter.ts");
163752
+ })();
163753
+
163754
+ ;
163755
+
163756
+ (function () {
163757
+ var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
163758
+ leaveModule && leaveModule(module);
163759
+ })();
163760
+
163761
+ /***/ }),
163762
+
163281
163763
  /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/ReferencedFields/ReferencedFieldsNode.ts":
163282
163764
  /*!**************************************************************************************************************************!*\
163283
163765
  !*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/ReferencedFields/ReferencedFieldsNode.ts ***!
@@ -163570,7 +164052,7 @@ class SelectConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__.S
163570
164052
  if (node.disabled2 != undefined) {
163571
164053
  markupBuilder.prop(x => x.disabled2).set({
163572
164054
  type: "Expression",
163573
- expression: `{ type: "ModelDependentEvaluator", expression: (path) => ${node.disabled2} }`
164055
+ expression: `{ type: "ModelDependentEvaluator", expression: (path, count) => ${node.disabled2} }`
163574
164056
  });
163575
164057
 
163576
164058
  if (this.getLegacyNode().getParent() != undefined) {
@@ -163910,6 +164392,149 @@ let SelectNode = (_dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODUL
163910
164392
 
163911
164393
  /***/ }),
163912
164394
 
164395
+ /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/TaxRebate/TaxRebateConverter.ts":
164396
+ /*!*****************************************************************************************************************!*\
164397
+ !*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/TaxRebate/TaxRebateConverter.ts ***!
164398
+ \*****************************************************************************************************************/
164399
+ /***/ ((module, __webpack_exports__, __webpack_require__) => {
164400
+
164401
+ "use strict";
164402
+ __webpack_require__.r(__webpack_exports__);
164403
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
164404
+ /* harmony export */ "TaxRebateConverter": () => (/* binding */ TaxRebateConverter)
164405
+ /* harmony export */ });
164406
+ /* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
164407
+ /* harmony import */ var _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../DataDeclarationGenerator/DataDeclarationGenerationContext */ "./Generator/src/generators/DataDeclarationGenerator/DataDeclarationGenerationContext.ts");
164408
+ /* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
164409
+ /* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
164410
+ /* harmony import */ var _CommonNodeProperties_TooltipProperties_SetTooltipSettingsProps__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../CommonNodeProperties/TooltipProperties/SetTooltipSettingsProps */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/TooltipProperties/SetTooltipSettingsProps.ts");
164411
+ /* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
164412
+ /* harmony import */ var _SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../SugarNodes/SugarNodeUtils */ "./Generator/src/generators/markupGenerator/SugarNodes/SugarNodeUtils.ts");
164413
+ /* harmony import */ var _TaxRebateNode__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./TaxRebateNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/TaxRebate/TaxRebateNode.ts");
164414
+ /* module decorator */ module = __webpack_require__.hmd(module);
164415
+ (function () {
164416
+ var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
164417
+ enterModule && enterModule(module);
164418
+ })();
164419
+
164420
+ var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
164421
+ return a;
164422
+ };
164423
+
164424
+
164425
+
164426
+
164427
+
164428
+
164429
+
164430
+
164431
+
164432
+ class TaxRebateConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__.SugarNodeConverterBase {
164433
+ static getAcceptNodeClass() {
164434
+ return _TaxRebateNode__WEBPACK_IMPORTED_MODULE_7__.TaxRebateNode;
164435
+ }
164436
+
164437
+ get nodePaths() {
164438
+ const node = this.getCurrentNodeAs(_TaxRebateNode__WEBPACK_IMPORTED_MODULE_7__.TaxRebateNode);
164439
+ return [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_5__.getNewBindingPathExpression)(node)];
164440
+ }
164441
+
164442
+ doBuildFLangValidations(buildContext) {
164443
+ const node = this.getCurrentNodeAs(_TaxRebateNode__WEBPACK_IMPORTED_MODULE_7__.TaxRebateNode);
164444
+ const targetPath = _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.AbsoluteModelPath.createAbsoluteFromMask(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.PathTokens.each);
164445
+ const typeNode = buildContext.getTypeNode(node.validationInfo);
164446
+ const schemaTypeNode = buildContext.getSchemaTypeInfo(targetPath);
164447
+
164448
+ if (typeNode == undefined && schemaTypeNode == undefined) {
164449
+ return [];
164450
+ }
164451
+
164452
+ return buildContext.buildBasicValidations(targetPath, typeNode, schemaTypeNode, node.validationInfo.optional);
164453
+ }
164454
+
164455
+ doBuildNodeValidations(validationGenerator) {
164456
+ const node = this.getCurrentNodeAs(_TaxRebateNode__WEBPACK_IMPORTED_MODULE_7__.TaxRebateNode);
164457
+ validationGenerator.processValidations(this.getResolvedBindingPath(node), node.validationInfo.optional, validationGenerator.getTypeNode(node.validationInfo), undefined, node.validationInfo.emptydescription);
164458
+ }
164459
+
164460
+ doBuildDataDeclaration(context) {
164461
+ const node = this.getCurrentNodeAs(_TaxRebateNode__WEBPACK_IMPORTED_MODULE_7__.TaxRebateNode);
164462
+ return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["value", context.initSequenceFactory.dataValue(node.dataBinding, undefined)]]), context.addSpecialFieldsEntry(node, {
164463
+ optional: node.dataBinding.optional
164464
+ }), context.addPathSectionDeclarationEntry(node));
164465
+ }
164466
+
164467
+ doBuildNormalizeRules(builder) {
164468
+ const node = this.getCurrentNodeAs(_TaxRebateNode__WEBPACK_IMPORTED_MODULE_7__.TaxRebateNode);
164469
+ return [builder.valueInitializer(node, node.dataBinding, undefined), ...builder.specialFieldsInitializer(node, {
164470
+ optional: node.dataBinding.optional
164471
+ })];
164472
+ }
164473
+
164474
+ buildChildrenDataDeclaration(context) {
164475
+ return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_1__.emptyDataDeclarationCollection;
164476
+ }
164477
+
164478
+ *doTraverseChildren() {// no children
164479
+ }
164480
+
164481
+ doConvert(context) {
164482
+ var _node$columnNames$cod, _node$columnNames, _node$columnNames$nam, _node$columnNames2, _node$columnNames$law, _node$columnNames3, _node$width;
164483
+
164484
+ const node = this.getCurrentNodeAs(_TaxRebateNode__WEBPACK_IMPORTED_MODULE_7__.TaxRebateNode);
164485
+ this.ensurePathExists(node, node.dataBinding.path);
164486
+ const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__.componentMarkupBuilder)("TaxRebate");
164487
+ markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_5__.getNewBindingPathExpression)(node));
164488
+ markupBuilder.prop(x => x.placeholder).set(node.placeholder);
164489
+ markupBuilder.prop(x => x.gId).set(node.gId);
164490
+ markupBuilder.prop(x => x.codesWithLawReference).set(node.codesWithLawReference);
164491
+ markupBuilder.prop(x => x.columnNamesMap).set({
164492
+ code: (_node$columnNames$cod = (_node$columnNames = node.columnNames) === null || _node$columnNames === void 0 ? void 0 : _node$columnNames.code) !== null && _node$columnNames$cod !== void 0 ? _node$columnNames$cod : "code",
164493
+ name: (_node$columnNames$nam = (_node$columnNames2 = node.columnNames) === null || _node$columnNames2 === void 0 ? void 0 : _node$columnNames2.name) !== null && _node$columnNames$nam !== void 0 ? _node$columnNames$nam : "name",
164494
+ lawReferenceRequired: (_node$columnNames$law = (_node$columnNames3 = node.columnNames) === null || _node$columnNames3 === void 0 ? void 0 : _node$columnNames3.lawReferenceRequired) !== null && _node$columnNames$law !== void 0 ? _node$columnNames$law : "lawReferenceRequired"
164495
+ });
164496
+
164497
+ if (node.disabled != undefined) {
164498
+ markupBuilder.prop(x => x.disabled).set((0,_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_6__.buildExpressionPropValue)(node.disabled));
164499
+
164500
+ if (this.getLegacyNode().getParent() != undefined) {
164501
+ markupBuilder.prop(x => x.evaluatorsContextPath).set(this.getEvaluatorsContextPathExpression());
164502
+ }
164503
+ }
164504
+
164505
+ markupBuilder.prop(x => x.width).set((_node$width = node.width) !== null && _node$width !== void 0 ? _node$width : "100%");
164506
+ (0,_CommonNodeProperties_TooltipProperties_SetTooltipSettingsProps__WEBPACK_IMPORTED_MODULE_4__.setTooltipSettingsProps)(markupBuilder, node.tooltipSettings);
164507
+ return markupBuilder.buildConverterResult();
164508
+ }
164509
+
164510
+ // @ts-ignore
164511
+ __reactstandin__regenerateByEval(key, code) {
164512
+ // @ts-ignore
164513
+ this[key] = eval(code);
164514
+ }
164515
+
164516
+ }
164517
+ ;
164518
+
164519
+ (function () {
164520
+ var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
164521
+
164522
+ if (!reactHotLoader) {
164523
+ return;
164524
+ }
164525
+
164526
+ reactHotLoader.register(TaxRebateConverter, "TaxRebateConverter", "C:\\buildAgent\\work\\8df8f1edd755969c\\Generator\\src\\generators\\markupGenerator\\ElementProcessors\\ValueEditors\\TaxRebate\\TaxRebateConverter.ts");
164527
+ })();
164528
+
164529
+ ;
164530
+
164531
+ (function () {
164532
+ var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
164533
+ leaveModule && leaveModule(module);
164534
+ })();
164535
+
164536
+ /***/ }),
164537
+
163913
164538
  /***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/TaxRebate/TaxRebateNode.ts":
163914
164539
  /*!************************************************************************************************************!*\
163915
164540
  !*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/TaxRebate/TaxRebateNode.ts ***!
@@ -165493,7 +166118,8 @@ __webpack_require__.r(__webpack_exports__);
165493
166118
  /* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
165494
166119
  /* harmony import */ var _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../common/XmlParser/XmlNode */ "./Generator/src/common/XmlParser/XmlNode.ts");
165495
166120
  /* harmony import */ var _CommonNodeProperties_FontWeight__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../CommonNodeProperties/FontWeight */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/FontWeight.ts");
165496
- /* harmony import */ var _TextNode__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./TextNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueViewers/Text/TextNode.ts");
166121
+ /* harmony import */ var _ValueEditors_Input_SetCurrencyProps__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../ValueEditors/Input/SetCurrencyProps */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Input/SetCurrencyProps.ts");
166122
+ /* harmony import */ var _TextNode__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./TextNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueViewers/Text/TextNode.ts");
165497
166123
  /* module decorator */ module = __webpack_require__.hmd(module);
165498
166124
  (function () {
165499
166125
  var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
@@ -165513,18 +166139,19 @@ var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoader
165513
166139
 
165514
166140
 
165515
166141
 
166142
+
165516
166143
  class TextConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__.SugarNodeConverterBase {
165517
166144
  static getAcceptNodeClass() {
165518
- return _TextNode__WEBPACK_IMPORTED_MODULE_8__.TextNode;
166145
+ return _TextNode__WEBPACK_IMPORTED_MODULE_9__.TextNode;
165519
166146
  }
165520
166147
 
165521
166148
  doBuildNodeValidations(validationGenerator) {
165522
- const node = this.getCurrentNodeAs(_TextNode__WEBPACK_IMPORTED_MODULE_8__.TextNode);
166149
+ const node = this.getCurrentNodeAs(_TextNode__WEBPACK_IMPORTED_MODULE_9__.TextNode);
165523
166150
  validationGenerator.processValidations(this.getResolvedBindingPath(node), node.validationInfo.optional, validationGenerator.getTypeNode(node.validationInfo), undefined, node.validationInfo.emptydescription);
165524
166151
  }
165525
166152
 
165526
166153
  doBuildNormalizeRules() {
165527
- const node = this.getCurrentNodeAs(_TextNode__WEBPACK_IMPORTED_MODULE_8__.TextNode);
166154
+ const node = this.getCurrentNodeAs(_TextNode__WEBPACK_IMPORTED_MODULE_9__.TextNode);
165528
166155
  const defaultValue = "";
165529
166156
  const targetValueReference = new _ServerSideFLangNormalization_FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_4__.ValueReferenceExpression(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.ModelPath.createFromMask(this.getResolvedBindingPath(node), true, _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.PathTokens.each), "value");
165530
166157
  const currentValueReference = new _ServerSideFLangNormalization_FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_4__.ValueReferenceExpression(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.ModelPath.createFromMask(this.getResolvedBindingPath(node), true, _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.PathTokens.current), "value");
@@ -165542,7 +166169,7 @@ class TextConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__.Sug
165542
166169
  }
165543
166170
 
165544
166171
  doBuildDataDeclaration(context) {
165545
- const node = this.getCurrentNodeAs(_TextNode__WEBPACK_IMPORTED_MODULE_8__.TextNode);
166172
+ const node = this.getCurrentNodeAs(_TextNode__WEBPACK_IMPORTED_MODULE_9__.TextNode);
165546
166173
 
165547
166174
  if (!node.dataBinding.path) {
165548
166175
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
@@ -165556,18 +166183,18 @@ class TextConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__.Sug
165556
166183
  }
165557
166184
 
165558
166185
  buildChildrenDataDeclaration(context) {
165559
- const node = this.getCurrentNodeAs(_TextNode__WEBPACK_IMPORTED_MODULE_8__.TextNode);
166186
+ const node = this.getCurrentNodeAs(_TextNode__WEBPACK_IMPORTED_MODULE_9__.TextNode);
165560
166187
  return context.processChildrenDataDeclaration([...node.helpNodes, ...node.children]);
165561
166188
  }
165562
166189
 
165563
166190
  *doTraverseChildren() {
165564
- const node = this.getCurrentNodeAs(_TextNode__WEBPACK_IMPORTED_MODULE_8__.TextNode);
166191
+ const node = this.getCurrentNodeAs(_TextNode__WEBPACK_IMPORTED_MODULE_9__.TextNode);
165565
166192
  yield* node.helpNodes;
165566
166193
  yield* node.children;
165567
166194
  }
165568
166195
 
165569
166196
  get nodePaths() {
165570
- const node = this.getCurrentNodeAs(_TextNode__WEBPACK_IMPORTED_MODULE_8__.TextNode);
166197
+ const node = this.getCurrentNodeAs(_TextNode__WEBPACK_IMPORTED_MODULE_9__.TextNode);
165571
166198
  let bindingPath;
165572
166199
 
165573
166200
  if (node.path != undefined) {
@@ -165582,7 +166209,7 @@ class TextConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__.Sug
165582
166209
  }
165583
166210
 
165584
166211
  doConvert(context) {
165585
- const node = this.getCurrentNodeAs(_TextNode__WEBPACK_IMPORTED_MODULE_8__.TextNode);
166212
+ const node = this.getCurrentNodeAs(_TextNode__WEBPACK_IMPORTED_MODULE_9__.TextNode);
165586
166213
 
165587
166214
  if (node.path != undefined) {
165588
166215
  return this.buildTextWithPathAttribute(context, node);
@@ -165640,6 +166267,12 @@ class TextConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__.Sug
165640
166267
 
165641
166268
  buildTextWithPathAttribute(context, node) {
165642
166269
  const mb = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__.componentMarkupBuilder)("Text");
166270
+ (0,_ValueEditors_Input_SetCurrencyProps__WEBPACK_IMPORTED_MODULE_8__.setCurrencyProps)(mb, context, node);
166271
+
166272
+ if (node.currency) {
166273
+ mb.prop(x => x.rouble).set(node.rouble);
166274
+ }
166275
+
165643
166276
  mb.prop(x => x.showError).set(node.showError);
165644
166277
  mb.prop(x => x.quotes).set(node.quotes);
165645
166278
  mb.prop(x => x.hint).set(node.hint);
@@ -165712,7 +166345,7 @@ __webpack_require__.r(__webpack_exports__);
165712
166345
  /* harmony import */ var _Helpers_Help_HelpNode__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../Helpers/Help/HelpNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Helpers/Help/HelpNode.ts");
165713
166346
  /* harmony import */ var _Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../Commons/DocumentationLinks */ "./Generator/src/generators/markupGenerator/ElementProcessors/Commons/DocumentationLinks.ts");
165714
166347
  /* module decorator */ module = __webpack_require__.hmd(module);
165715
- var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _dec24, _dec25, _dec26, _dec27, _dec28, _dec29, _dec30, _dec31, _dec32, _dec33, _dec34, _dec35, _dec36, _dec37, _dec38, _dec39, _dec40, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _descriptor36, _descriptor37, _descriptor38, _descriptor39;
166348
+ var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _dec24, _dec25, _dec26, _dec27, _dec28, _dec29, _dec30, _dec31, _dec32, _dec33, _dec34, _dec35, _dec36, _dec37, _dec38, _dec39, _dec40, _dec41, _dec42, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _descriptor36, _descriptor37, _descriptor38, _descriptor39, _descriptor40, _descriptor41;
165716
166349
 
165717
166350
  (function () {
165718
166351
  var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
@@ -165736,7 +166369,7 @@ var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoader
165736
166369
 
165737
166370
 
165738
166371
 
165739
- let TextNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("text", `Текст с возможностью взять значение из модели`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ValueViewers/Text sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_ValidationInfoNode__WEBPACK_IMPORTED_MODULE_1__.ValidationInfoNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_0__.DataBindingMixinNode), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("editable", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.Removed), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("auto", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("offsetLeft", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("rngAttribute", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("autoResize", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("rows", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("textOverflow", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("title", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("description", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("font", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("gId", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.UntypedUsage), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("showError", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Показывать ли ошибку, если она есть по соотв. binding path, вместо значения`), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("field", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `**Внутренне поле** Нелепое поле генерируемое препроцессором для кладра`), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("disabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Поле не редактируемое`), _dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("requisite", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `(Проставляется c disabled="true" всегда!)\tэтот атрибут говорит о том, что поле должно каждый раз подтягиваться из реквизитов и поэтому нормализуется при каждом открытии черновика. Нужен, чтобы реквизиты подтягивались из реквизитов при каждом открытии формы и при загрузке ФУФа с пустым ИНН, а не только в первый раз.`), _dec19 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("line", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Режим отображения текста: блочный или текстовый. Если line="false", то текст будет отображаться в отдельной строке`), _dec20 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("quotes", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `Поле состоящее из двух символов и соответвует кавычкам, в которые будет заключено значение. Например: \`quotes="<>"\``), _dec21 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("hint", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString, `Маленький статичный черный хинт над значением.`), _dec22 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec23 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("valueName", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `Из какого ${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__.viewModelFieldLink, "поля ViewModel")} брать значение. По умолчанию: \`value\``), _dec24 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("for", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.bindingPath, ``), _dec25 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("tooltipWidth", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.lengthUnit, `Ширина тултипа с ошибкой`), _dec26 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("color", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.color, "Цвет"), _dec27 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("marginTop", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.lengthUnit, "Отступ сверху"), _dec28 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("marginBottom", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.lengthUnit, "Отступ снизу"), _dec29 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("textalign", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType["enum"]("center", "justify", "left", "right", "start", "end"), "Выравнивание"), _dec30 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.lengthUnit, "Ширина блока"), _dec31 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("marginLeft", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.lengthUnit, "Отступ слева"), _dec32 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("marginRight", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.lengthUnit, "Отступ справа"), _dec33 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("size", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.lengthUnit, "Ширина блока"), _dec34 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("lineHeight", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, "Высота строки"), _dec35 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("fetchfn", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, "Указывается название функции, которая прокидывает реквизиты в форму"), _dec36 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("fontWeight", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType["enum"]("bold", "normal", "bolder", "lighter", "100", "200", "300", "400", "500", "600", "700"), "Толщина текста"), _dec37 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("align", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType["enum"]("baseline", "bottom", "middle", "sub", "super", "text-bottom", "text-top", "top"), "Выравнивание"), _dec38 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)(), _dec39 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("help", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `Текст для отображения ${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__.helpTooltipLink)}-а`), _dec40 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)("help", [_Helpers_Help_HelpNode__WEBPACK_IMPORTED_MODULE_5__.HelpNode]), _dec(_class = (_class2 = class TextNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_3__.SugarNodeWithLegacyVisibility {
166372
+ let TextNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("text", `Текст с возможностью взять значение из модели`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ValueViewers/Text sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_ValidationInfoNode__WEBPACK_IMPORTED_MODULE_1__.ValidationInfoNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_0__.DataBindingMixinNode), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("editable", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.Removed), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("auto", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("offsetLeft", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("rngAttribute", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("autoResize", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("rows", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("textOverflow", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("title", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("description", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("font", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.InvalidUsage), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("gId", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.UntypedUsage), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("showError", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Показывать ли ошибку, если она есть по соотв. binding path, вместо значения`), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("field", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `**Внутренне поле** Нелепое поле генерируемое препроцессором для кладра`), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("disabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Поле не редактируемое`), _dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("requisite", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `(Проставляется c disabled="true" всегда!)\tэтот атрибут говорит о том, что поле должно каждый раз подтягиваться из реквизитов и поэтому нормализуется при каждом открытии черновика. Нужен, чтобы реквизиты подтягивались из реквизитов при каждом открытии формы и при загрузке ФУФа с пустым ИНН, а не только в первый раз.`), _dec19 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("line", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Режим отображения текста: блочный или текстовый. Если line="false", то текст будет отображаться в отдельной строке`), _dec20 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("quotes", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `Поле состоящее из двух символов и соответвует кавычкам, в которые будет заключено значение. Например: \`quotes="<>"\``), _dec21 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("hint", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString, `Маленький статичный черный хинт над значением.`), _dec22 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec23 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("valueName", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `Из какого ${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__.viewModelFieldLink, "поля ViewModel")} брать значение. По умолчанию: \`value\``), _dec24 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("for", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.bindingPath, ``), _dec25 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("tooltipWidth", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.lengthUnit, `Ширина тултипа с ошибкой`), _dec26 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("color", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.color, "Цвет"), _dec27 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("marginTop", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.lengthUnit, "Отступ сверху"), _dec28 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("marginBottom", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.lengthUnit, "Отступ снизу"), _dec29 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("textalign", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType["enum"]("center", "justify", "left", "right", "start", "end"), "Выравнивание"), _dec30 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.lengthUnit, "Ширина блока"), _dec31 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("marginLeft", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.lengthUnit, "Отступ слева"), _dec32 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("marginRight", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.lengthUnit, "Отступ справа"), _dec33 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("size", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.lengthUnit, "Ширина блока"), _dec34 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("lineHeight", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, "Высота строки"), _dec35 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("fetchfn", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, "Указывается название функции, которая прокидывает реквизиты в форму"), _dec36 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("fontWeight", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType["enum"]("bold", "normal", "bolder", "lighter", "100", "200", "300", "400", "500", "600", "700"), "Толщина текста"), _dec37 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("align", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType["enum"]("baseline", "bottom", "middle", "sub", "super", "text-bottom", "text-top", "top"), "Выравнивание"), _dec38 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)(), _dec39 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("help", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `Текст для отображения ${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__.helpTooltipLink)}-а`), _dec40 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)("help", [_Helpers_Help_HelpNode__WEBPACK_IMPORTED_MODULE_5__.HelpNode]), _dec41 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("currency", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `При включении этого флага значение в поле отображается как денежное: со после запятой и пробелами между тысячами. Если значением не является числом -- будет показано неформатированное значение`), _dec42 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("rouble", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Отображать рядом с суммой знак рубля. Знак не будет показан если значение -- не число`), _dec(_class = (_class2 = class TextNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_3__.SugarNodeWithLegacyVisibility {
165740
166373
  constructor(...args) {
165741
166374
  super(...args);
165742
166375
 
@@ -165817,6 +166450,10 @@ let TextNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4
165817
166450
  _initializerDefineProperty(this, "help", _descriptor38, this);
165818
166451
 
165819
166452
  _initializerDefineProperty(this, "helpNodes", _descriptor39, this);
166453
+
166454
+ _initializerDefineProperty(this, "currency", _descriptor40, this);
166455
+
166456
+ _initializerDefineProperty(this, "rouble", _descriptor41, this);
165820
166457
  }
165821
166458
 
165822
166459
  get path() {
@@ -166028,6 +166665,16 @@ let TextNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4
166028
166665
  enumerable: true,
166029
166666
  writable: true,
166030
166667
  initializer: null
166668
+ }), _descriptor40 = _applyDecoratedDescriptor(_class2.prototype, "currency", [_dec41], {
166669
+ configurable: true,
166670
+ enumerable: true,
166671
+ writable: true,
166672
+ initializer: null
166673
+ }), _descriptor41 = _applyDecoratedDescriptor(_class2.prototype, "rouble", [_dec42], {
166674
+ configurable: true,
166675
+ enumerable: true,
166676
+ writable: true,
166677
+ initializer: null
166031
166678
  })), _class2)) || _class);
166032
166679
  ;
166033
166680
 
@@ -169688,9 +170335,6 @@ __webpack_require__.r(__webpack_exports__);
169688
170335
  /* harmony import */ var _ElementProcessors_ValueEditors_ReferencedFields_ReferencedFieldsNode__WEBPACK_IMPORTED_MODULE_107__ = __webpack_require__(/*! ../ElementProcessors/ValueEditors/ReferencedFields/ReferencedFieldsNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/ReferencedFields/ReferencedFieldsNode.ts");
169689
170336
  /* harmony import */ var _ElementProcessors_FormParts_UserPicklist_UserPicklistNode__WEBPACK_IMPORTED_MODULE_108__ = __webpack_require__(/*! ../ElementProcessors/FormParts/UserPicklist/UserPicklistNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/UserPicklist/UserPicklistNode.ts");
169690
170337
  /* harmony import */ var _ElementProcessors_ValueEditors_TaxRebate_TaxRebateNode__WEBPACK_IMPORTED_MODULE_109__ = __webpack_require__(/*! ../ElementProcessors/ValueEditors/TaxRebate/TaxRebateNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/TaxRebate/TaxRebateNode.ts");
169691
- /* harmony import */ var _ElementProcessors_ControlFlow_Captions_Long_LongNode__WEBPACK_IMPORTED_MODULE_110__ = __webpack_require__(/*! ../ElementProcessors/ControlFlow/Captions/Long/LongNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ControlFlow/Captions/Long/LongNode.ts");
169692
- /* harmony import */ var _ElementProcessors_ControlFlow_Captions_Short_ShortNode__WEBPACK_IMPORTED_MODULE_111__ = __webpack_require__(/*! ../ElementProcessors/ControlFlow/Captions/Short/ShortNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ControlFlow/Captions/Short/ShortNode.ts");
169693
- /* harmony import */ var _ElementProcessors_ControlFlow_Captions_FillHint_FillHintNode__WEBPACK_IMPORTED_MODULE_112__ = __webpack_require__(/*! ../ElementProcessors/ControlFlow/Captions/FillHint/FillHintNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ControlFlow/Captions/FillHint/FillHintNode.ts");
169694
170338
  /* module decorator */ module = __webpack_require__.hmd(module);
169695
170339
  (function () {
169696
170340
  var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
@@ -169808,9 +170452,6 @@ var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoader
169808
170452
 
169809
170453
 
169810
170454
 
169811
-
169812
-
169813
-
169814
170455
 
169815
170456
 
169816
170457
 
@@ -169843,9 +170484,6 @@ function registerDefaultSugarNodes(result) {
169843
170484
  result.registerNode(_ElementProcessors_MultiControls_StickyTable_StickyTableNode__WEBPACK_IMPORTED_MODULE_91__.StickyTableNode);
169844
170485
  result.registerNode(_ElementProcessors_Layout_SimpleTable_SimpleTableNode__WEBPACK_IMPORTED_MODULE_90__.SimpleTableNode);
169845
170486
  result.registerNode(_ElementProcessors_Layout_Warning_WarningNode__WEBPACK_IMPORTED_MODULE_99__.WarningNode);
169846
- result.registerNode(_ElementProcessors_ControlFlow_Captions_Long_LongNode__WEBPACK_IMPORTED_MODULE_110__.LongNode);
169847
- result.registerNode(_ElementProcessors_ControlFlow_Captions_Short_ShortNode__WEBPACK_IMPORTED_MODULE_111__.ShortNode);
169848
- result.registerNode(_ElementProcessors_ControlFlow_Captions_FillHint_FillHintNode__WEBPACK_IMPORTED_MODULE_112__.FillHintNode);
169849
170487
  result.registerNode(_ElementProcessors_ControlFlow_If_IfNode__WEBPACK_IMPORTED_MODULE_58__.IfNode);
169850
170488
  result.registerNode(_ElementProcessors_ControlFlow_If_IfNode__WEBPACK_IMPORTED_MODULE_58__.ThenNode);
169851
170489
  result.registerNode(_ElementProcessors_ControlFlow_If_IfNode__WEBPACK_IMPORTED_MODULE_58__.ElseNode);
@@ -169932,7 +170570,7 @@ function getAllSugarValidationNodeClasses() {
169932
170570
  return [_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.TypeNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.CustomValidationTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.PatternTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.EnumerationTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.AttachmentsTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.LengthTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.MinlengthTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.MaxlengthTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.TotaldigitsTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.IntegerdigitsTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.FractiondigitsTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.DigestcheckTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.DigestConditionTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.MininclusiveTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.MaxinclusiveTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.ForcedTypeChecksNode];
169933
170571
  }
169934
170572
  function getAllSugarNodeClasses() {
169935
- return [_ElementProcessors_ValueViewers_Text_TextNode__WEBPACK_IMPORTED_MODULE_93__.TextNode, _ElementProcessors_ControlFlow_Switch_SwitchNode__WEBPACK_IMPORTED_MODULE_88__.SwitchNode, _ElementProcessors_ControlFlow_Switch_SwitchNode__WEBPACK_IMPORTED_MODULE_88__.SwitchDefaultNode, _ElementProcessors_ControlFlow_Switch_SwitchNode__WEBPACK_IMPORTED_MODULE_88__.SwitchCaseNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_AddButtonNode__WEBPACK_IMPORTED_MODULE_29__.AddButtonNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_AddLineNode__WEBPACK_IMPORTED_MODULE_30__.AddLineNode, _ElementProcessors_FormParts_AddPageButton_AddPageButtonNode__WEBPACK_IMPORTED_MODULE_11__.AddPageButtonNode, _ElementProcessors_MultiControls_AddRowButton_AddRowButtonNode__WEBPACK_IMPORTED_MODULE_12__.AddRowButtonNode, _ElementProcessors_Layout_Block_BlockNode__WEBPACK_IMPORTED_MODULE_13__.BlockNode, _ElementProcessors_Modal_Body_BodyNode__WEBPACK_IMPORTED_MODULE_14__.BodyNode, _ElementProcessors_Typography_Bold_BoldNode__WEBPACK_IMPORTED_MODULE_15__.BoldNode, _ElementProcessors_Layout_Br_BrNode__WEBPACK_IMPORTED_MODULE_16__.BrNode, _ElementProcessors_Action_Button_ButtonNode__WEBPACK_IMPORTED_MODULE_17__.ButtonNode, _ElementProcessors_FormParts_Caption_CaptionNode__WEBPACK_IMPORTED_MODULE_18__.CaptionNode, _ElementProcessors_ValueEditors_Checkbox_CheckboxNode__WEBPACK_IMPORTED_MODULE_19__.CheckboxNode, _ElementProcessors_ControlFlow_Choice_ChoiceNode__WEBPACK_IMPORTED_MODULE_20__.ChoiceNode, _ElementProcessors_ValueEditors_Combobox_ComboBoxNode__WEBPACK_IMPORTED_MODULE_21__.ComboBoxNode, _ElementProcessors_FormParts_Content_ContentNode__WEBPACK_IMPORTED_MODULE_22__.ContentNode, _ElementProcessors_MultiControls_CrossfitTable_CrossfitTableNode__WEBPACK_IMPORTED_MODULE_89__.CrossfitTableNode, _ElementProcessors_FormParts_Cross_CrossNode__WEBPACK_IMPORTED_MODULE_23__.CrossNode, _ElementProcessors_ValueEditors_Date_DateNode__WEBPACK_IMPORTED_MODULE_24__.DateNode, _ElementProcessors_ValueEditors_DiadocSuggestComboBox_DiadocSuggestComboBoxNode__WEBPACK_IMPORTED_MODULE_26__.DiadocSuggestComboBoxNode, _ElementProcessors_Typography_Entity_EntityNode__WEBPACK_IMPORTED_MODULE_27__.EntityNode, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteNode__WEBPACK_IMPORTED_MODULE_28__.ExpertNoteNode, _ElementProcessors_ValueEditors_FileLoader_FileLoaderNode__WEBPACK_IMPORTED_MODULE_36__.FileLoaderNode, _ElementProcessors_MultiControls_FilterDateRange_FilterDateRangeNode__WEBPACK_IMPORTED_MODULE_37__.FilterDateRangeNode, _ElementProcessors_MultiControls_FilterInput_FilterInputNode__WEBPACK_IMPORTED_MODULE_38__.FilterInputNode, _ElementProcessors_MultiControls_FilterList_FilterListNode__WEBPACK_IMPORTED_MODULE_39__.FilterListNode, _ElementProcessors_ValueViewers_FIO_FIONode__WEBPACK_IMPORTED_MODULE_40__.FIONode, _ElementProcessors_Layout_Flexbox_FlexboxNode__WEBPACK_IMPORTED_MODULE_41__.FlexboxNode, _ElementProcessors_Modal_Footer_FooterNode__WEBPACK_IMPORTED_MODULE_42__.FooterNode, _ElementProcessors_FormParts_FormInfo_FormInfoNode__WEBPACK_IMPORTED_MODULE_47__.FormInfoNode, _ElementProcessors_FormParts_Form_FormNode__WEBPACK_IMPORTED_MODULE_43__.FormNode, _ElementProcessors_Typography_Gray_GrayNode__WEBPACK_IMPORTED_MODULE_48__.GrayNode, _ElementProcessors_Layout_GridCol_GridColNode__WEBPACK_IMPORTED_MODULE_49__.GridColNode, _ElementProcessors_Layout_GridRow_GridRowNode__WEBPACK_IMPORTED_MODULE_50__.GridRowNode, _ElementProcessors_MultiControls_HeaderMenu_HeaderMenuNode__WEBPACK_IMPORTED_MODULE_52__.HeaderMenuNode, _ElementProcessors_FormParts_Header_HeaderNode__WEBPACK_IMPORTED_MODULE_51__.HeaderNode, _ElementProcessors_Helpers_Helpinfo_HelpInfoNode__WEBPACK_IMPORTED_MODULE_54__.HelpInfoNode, _ElementProcessors_Helpers_Help_HelpNode__WEBPACK_IMPORTED_MODULE_53__.HelpNode, _ElementProcessors_Typography_Highlight_HighlightNode__WEBPACK_IMPORTED_MODULE_55__.HighlightNode, _ElementProcessors_Layout_Hr_HrNode__WEBPACK_IMPORTED_MODULE_56__.HrNode, _ElementProcessors_Typography_Icon_IconNode__WEBPACK_IMPORTED_MODULE_57__.IconNode, _ElementProcessors_Layout_Img_ImgNode__WEBPACK_IMPORTED_MODULE_59__.ImgNode, _ElementProcessors_Layout_InnerText_InnertextNode__WEBPACK_IMPORTED_MODULE_10__.InnertextNode, _ElementProcessors_ValueEditors_INN_INNNode__WEBPACK_IMPORTED_MODULE_60__.INNNode, _ElementProcessors_ValueEditors_Input_InputNode__WEBPACK_IMPORTED_MODULE_61__.InputNode, _ElementProcessors_Typography_Italic_ItalicNode__WEBPACK_IMPORTED_MODULE_62__.ItalicNode, _ElementProcessors_ValueEditors_Kladr_KladrNode__WEBPACK_IMPORTED_MODULE_64__.KladrNode, _ElementProcessors_Action_Link_LinkNode__WEBPACK_IMPORTED_MODULE_66__.LinkNode, _ElementProcessors_Layout_ListItem_ListItemNode__WEBPACK_IMPORTED_MODULE_63__.ListItemNode, _ElementProcessors_Layout_List_ListNode__WEBPACK_IMPORTED_MODULE_67__.ListNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_MenuNode__WEBPACK_IMPORTED_MODULE_31__.MenuNode, _ElementProcessors_Modal_ModalFormCancel_ModalFormCancelNode__WEBPACK_IMPORTED_MODULE_69__.ModalFormCancelNode, _ElementProcessors_Modal_ModalFormConfirm_ModalFormConfirmNode__WEBPACK_IMPORTED_MODULE_70__.ModalFormConfirmNode, _ElementProcessors_Modal_ModalFormLabel_ModalFormLabelNode__WEBPACK_IMPORTED_MODULE_71__.ModalFormLabelNode, _ElementProcessors_Modal_ModalForm_ModalFormNode__WEBPACK_IMPORTED_MODULE_68__.ModalFormNode, _ElementProcessors_MultiControls_Multilinefield_MultilineFieldNode__WEBPACK_IMPORTED_MODULE_72__.MultilineFieldNode, _ElementProcessors_Helpers_Normativehelp_NormativeHelpNode__WEBPACK_IMPORTED_MODULE_73__.NormativeHelpNode, _ElementProcessors_ControlFlow_Otherwise_OtherwiseNode__WEBPACK_IMPORTED_MODULE_74__.OtherwiseNode, _ElementProcessors_FormParts_Page_PageNode__WEBPACK_IMPORTED_MODULE_75__.PageNode, _ElementProcessors_FormParts_Form_Nodes_PanelNode__WEBPACK_IMPORTED_MODULE_46__.PanelNode, _ElementProcessors_Layout_Pencil_PencilNode__WEBPACK_IMPORTED_MODULE_76__.PencilNode, _ElementProcessors_ValueEditors_Picklist_PicklistNode__WEBPACK_IMPORTED_MODULE_77__.PicklistNode, _ElementProcessors_ValueEditors_radio_RadioNode__WEBPACK_IMPORTED_MODULE_78__.RadioNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_RemoveButtonNode__WEBPACK_IMPORTED_MODULE_32__.RemoveButtonNode, _ElementProcessors_MultiControls_RemoveRowButton_RemoveRowButtonNode__WEBPACK_IMPORTED_MODULE_80__.RemoveRowButtonNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_ReplaceButtonNode__WEBPACK_IMPORTED_MODULE_33__.ReplaceButtonNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_ReplaceLineNode__WEBPACK_IMPORTED_MODULE_34__.ReplaceLineNode, _ElementProcessors_ValueEditors_Select_SelectNode__WEBPACK_IMPORTED_MODULE_81__.SelectNode, _ElementProcessors_Layout_SimpleTable_SimpleTableNode__WEBPACK_IMPORTED_MODULE_90__.SimpleTableNode, _ElementProcessors_MultiControls_SortRadioGroup_SortRadioGroupNode__WEBPACK_IMPORTED_MODULE_82__.SortRadioGroupNode, _ElementProcessors_ValueEditors_RadioGroup_RadioGroupNode__WEBPACK_IMPORTED_MODULE_79__.RadioGroupNode, _ElementProcessors_Layout_Spoiler_SpoilerNode__WEBPACK_IMPORTED_MODULE_83__.SpoilerNode, _ElementProcessors_MultiControls_StickyTable_StickyTableNode__WEBPACK_IMPORTED_MODULE_91__.StickyTableNode, _ElementProcessors_Typography_Strong_StrongNode__WEBPACK_IMPORTED_MODULE_84__.StrongNode, _ElementProcessors_Layout_Subheader_SubheaderNode__WEBPACK_IMPORTED_MODULE_86__.SubheaderNode, _ElementProcessors_Typography_Sub_SubNode__WEBPACK_IMPORTED_MODULE_85__.SubNode, _ElementProcessors_Typography_Sup_SupNode__WEBPACK_IMPORTED_MODULE_87__.SupNode, _ElementProcessors_ValueEditors_Textarea_TextAreaNode__WEBPACK_IMPORTED_MODULE_94__.TextAreaNode, _ElementProcessors_ValueEditors_popupTextArea_PopupTextAreaNode__WEBPACK_IMPORTED_MODULE_101__.PopupTextAreaNode, _ElementProcessors_FormParts_UnitItem_UnitItemNode__WEBPACK_IMPORTED_MODULE_95__.UnitItemNode, _ElementProcessors_FormParts_UnitList_UnitListNode__WEBPACK_IMPORTED_MODULE_96__.UnitListNode, _ElementProcessors_ValueViewers_ValueLength_ValueLengthNode__WEBPACK_IMPORTED_MODULE_97__.ValueLengthNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_ViewFileNode__WEBPACK_IMPORTED_MODULE_35__.ViewFileNode, _ElementProcessors_ControlFlow_VisibilityBlock_VisibilityBlockNode__WEBPACK_IMPORTED_MODULE_98__.VisibilityBlockNode, _ElementProcessors_Layout_Warning_WarningNode__WEBPACK_IMPORTED_MODULE_99__.WarningNode, _ElementProcessors_ControlFlow_When_WhenNode__WEBPACK_IMPORTED_MODULE_100__.WhenNode, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteNode__WEBPACK_IMPORTED_MODULE_28__.ExpertNoteNode, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteNode__WEBPACK_IMPORTED_MODULE_28__.MessageBoxNode, _ElementProcessors_Action_Link_LinkNode__WEBPACK_IMPORTED_MODULE_66__.LinkNode, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteNode__WEBPACK_IMPORTED_MODULE_28__.NameNode, _ElementProcessors_ValueViewers_Linetext_LineTextNode__WEBPACK_IMPORTED_MODULE_65__.LineTextNode, _ElementProcessors_ControlFlow_Captions_Short_ShortNode__WEBPACK_IMPORTED_MODULE_111__.ShortNode, _ElementProcessors_ControlFlow_Captions_Long_LongNode__WEBPACK_IMPORTED_MODULE_110__.LongNode, _ElementProcessors_ControlFlow_Captions_FillHint_FillHintNode__WEBPACK_IMPORTED_MODULE_112__.FillHintNode, _ElementProcessors_ControlFlow_If_IfNode__WEBPACK_IMPORTED_MODULE_58__.IfNode, _ElementProcessors_ControlFlow_If_IfNode__WEBPACK_IMPORTED_MODULE_58__.ElseNode, _ElementProcessors_ControlFlow_If_IfNode__WEBPACK_IMPORTED_MODULE_58__.ThenNode, _ElementProcessors_Layout_SimpleTable_SimpleTableNode__WEBPACK_IMPORTED_MODULE_90__.SimpleTableRowNode, _ElementProcessors_Layout_SimpleTable_SimpleTableNode__WEBPACK_IMPORTED_MODULE_90__.SimpleTableColumnNode, _ElementProcessors_Layout_Stack_StackNode__WEBPACK_IMPORTED_MODULE_5__.StackNode, _ElementProcessors_Layout_Grid_GridNode__WEBPACK_IMPORTED_MODULE_4__.GridNode, _ElementProcessors_MultiControls_StickyTable_StickyTableNode__WEBPACK_IMPORTED_MODULE_91__.StickyTableMultilineNode, _ElementProcessors_UnitParts_HeaderPanel_HeaderPanelNode__WEBPACK_IMPORTED_MODULE_9__.HeaderPanelNode, _ElementProcessors_Action_DropdownButton_DropdownButtonNode__WEBPACK_IMPORTED_MODULE_3__.DropdownButtonNode, _ElementProcessors_Action_DropdownButton_DropdownButtonNode__WEBPACK_IMPORTED_MODULE_3__.DropdownButtonActionNode, _ElementProcessors_MultiControls_Tabs_TabsNode__WEBPACK_IMPORTED_MODULE_8__.TabsNode, _ElementProcessors_ValueEditors_FiasMvd_FiasMvdNode__WEBPACK_IMPORTED_MODULE_0__.FiasMvdNode, _ElementProcessors_ValueEditors_FiasFns_FiasFnsNode__WEBPACK_IMPORTED_MODULE_1__.FiasFnsNode, _ElementProcessors_MultiControls_FilterSelect_FilterSelectNode__WEBPACK_IMPORTED_MODULE_6__.FilterSelectNode, _ElementProcessors_MultiControls_Table2_Table2Node__WEBPACK_IMPORTED_MODULE_7__.Table2Node, _ElementProcessors_Layout_FixedTabs_FixedTabsNode__WEBPACK_IMPORTED_MODULE_104__.FixedTabsNode, _ElementProcessors_Layout_FixedTabs_FixedTabsNode__WEBPACK_IMPORTED_MODULE_104__.FixedTabNode, _ElementProcessors_MultiControls_Multiple_MultipleNode__WEBPACK_IMPORTED_MODULE_105__.MultipleNode, _ElementProcessors_Action_ExcelPastePanel_ExcelPastePanelNode__WEBPACK_IMPORTED_MODULE_106__.ExcelPastePanelNode, _ElementProcessors_ValueEditors_ReferencedFields_ReferencedFieldsNode__WEBPACK_IMPORTED_MODULE_107__.ReferencedFieldsNode, _ElementProcessors_FormParts_UserPicklist_UserPicklistNode__WEBPACK_IMPORTED_MODULE_108__.UserPicklistNode, _ElementProcessors_ValueEditors_TaxRebate_TaxRebateNode__WEBPACK_IMPORTED_MODULE_109__.TaxRebateNode];
170573
+ return [_ElementProcessors_ValueViewers_Text_TextNode__WEBPACK_IMPORTED_MODULE_93__.TextNode, _ElementProcessors_ControlFlow_Switch_SwitchNode__WEBPACK_IMPORTED_MODULE_88__.SwitchNode, _ElementProcessors_ControlFlow_Switch_SwitchNode__WEBPACK_IMPORTED_MODULE_88__.SwitchDefaultNode, _ElementProcessors_ControlFlow_Switch_SwitchNode__WEBPACK_IMPORTED_MODULE_88__.SwitchCaseNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_AddButtonNode__WEBPACK_IMPORTED_MODULE_29__.AddButtonNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_AddLineNode__WEBPACK_IMPORTED_MODULE_30__.AddLineNode, _ElementProcessors_FormParts_AddPageButton_AddPageButtonNode__WEBPACK_IMPORTED_MODULE_11__.AddPageButtonNode, _ElementProcessors_MultiControls_AddRowButton_AddRowButtonNode__WEBPACK_IMPORTED_MODULE_12__.AddRowButtonNode, _ElementProcessors_Layout_Block_BlockNode__WEBPACK_IMPORTED_MODULE_13__.BlockNode, _ElementProcessors_Modal_Body_BodyNode__WEBPACK_IMPORTED_MODULE_14__.BodyNode, _ElementProcessors_Typography_Bold_BoldNode__WEBPACK_IMPORTED_MODULE_15__.BoldNode, _ElementProcessors_Layout_Br_BrNode__WEBPACK_IMPORTED_MODULE_16__.BrNode, _ElementProcessors_Action_Button_ButtonNode__WEBPACK_IMPORTED_MODULE_17__.ButtonNode, _ElementProcessors_FormParts_Caption_CaptionNode__WEBPACK_IMPORTED_MODULE_18__.CaptionNode, _ElementProcessors_ValueEditors_Checkbox_CheckboxNode__WEBPACK_IMPORTED_MODULE_19__.CheckboxNode, _ElementProcessors_ControlFlow_Choice_ChoiceNode__WEBPACK_IMPORTED_MODULE_20__.ChoiceNode, _ElementProcessors_ValueEditors_Combobox_ComboBoxNode__WEBPACK_IMPORTED_MODULE_21__.ComboBoxNode, _ElementProcessors_FormParts_Content_ContentNode__WEBPACK_IMPORTED_MODULE_22__.ContentNode, _ElementProcessors_MultiControls_CrossfitTable_CrossfitTableNode__WEBPACK_IMPORTED_MODULE_89__.CrossfitTableNode, _ElementProcessors_FormParts_Cross_CrossNode__WEBPACK_IMPORTED_MODULE_23__.CrossNode, _ElementProcessors_ValueEditors_Date_DateNode__WEBPACK_IMPORTED_MODULE_24__.DateNode, _ElementProcessors_ValueEditors_DiadocSuggestComboBox_DiadocSuggestComboBoxNode__WEBPACK_IMPORTED_MODULE_26__.DiadocSuggestComboBoxNode, _ElementProcessors_Typography_Entity_EntityNode__WEBPACK_IMPORTED_MODULE_27__.EntityNode, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteNode__WEBPACK_IMPORTED_MODULE_28__.ExpertNoteNode, _ElementProcessors_ValueEditors_FileLoader_FileLoaderNode__WEBPACK_IMPORTED_MODULE_36__.FileLoaderNode, _ElementProcessors_MultiControls_FilterDateRange_FilterDateRangeNode__WEBPACK_IMPORTED_MODULE_37__.FilterDateRangeNode, _ElementProcessors_MultiControls_FilterInput_FilterInputNode__WEBPACK_IMPORTED_MODULE_38__.FilterInputNode, _ElementProcessors_MultiControls_FilterList_FilterListNode__WEBPACK_IMPORTED_MODULE_39__.FilterListNode, _ElementProcessors_ValueViewers_FIO_FIONode__WEBPACK_IMPORTED_MODULE_40__.FIONode, _ElementProcessors_Layout_Flexbox_FlexboxNode__WEBPACK_IMPORTED_MODULE_41__.FlexboxNode, _ElementProcessors_Modal_Footer_FooterNode__WEBPACK_IMPORTED_MODULE_42__.FooterNode, _ElementProcessors_FormParts_FormInfo_FormInfoNode__WEBPACK_IMPORTED_MODULE_47__.FormInfoNode, _ElementProcessors_FormParts_Form_FormNode__WEBPACK_IMPORTED_MODULE_43__.FormNode, _ElementProcessors_Typography_Gray_GrayNode__WEBPACK_IMPORTED_MODULE_48__.GrayNode, _ElementProcessors_Layout_GridCol_GridColNode__WEBPACK_IMPORTED_MODULE_49__.GridColNode, _ElementProcessors_Layout_GridRow_GridRowNode__WEBPACK_IMPORTED_MODULE_50__.GridRowNode, _ElementProcessors_MultiControls_HeaderMenu_HeaderMenuNode__WEBPACK_IMPORTED_MODULE_52__.HeaderMenuNode, _ElementProcessors_FormParts_Header_HeaderNode__WEBPACK_IMPORTED_MODULE_51__.HeaderNode, _ElementProcessors_Helpers_Helpinfo_HelpInfoNode__WEBPACK_IMPORTED_MODULE_54__.HelpInfoNode, _ElementProcessors_Helpers_Help_HelpNode__WEBPACK_IMPORTED_MODULE_53__.HelpNode, _ElementProcessors_Typography_Highlight_HighlightNode__WEBPACK_IMPORTED_MODULE_55__.HighlightNode, _ElementProcessors_Layout_Hr_HrNode__WEBPACK_IMPORTED_MODULE_56__.HrNode, _ElementProcessors_Typography_Icon_IconNode__WEBPACK_IMPORTED_MODULE_57__.IconNode, _ElementProcessors_Layout_Img_ImgNode__WEBPACK_IMPORTED_MODULE_59__.ImgNode, _ElementProcessors_Layout_InnerText_InnertextNode__WEBPACK_IMPORTED_MODULE_10__.InnertextNode, _ElementProcessors_ValueEditors_INN_INNNode__WEBPACK_IMPORTED_MODULE_60__.INNNode, _ElementProcessors_ValueEditors_Input_InputNode__WEBPACK_IMPORTED_MODULE_61__.InputNode, _ElementProcessors_Typography_Italic_ItalicNode__WEBPACK_IMPORTED_MODULE_62__.ItalicNode, _ElementProcessors_ValueEditors_Kladr_KladrNode__WEBPACK_IMPORTED_MODULE_64__.KladrNode, _ElementProcessors_Action_Link_LinkNode__WEBPACK_IMPORTED_MODULE_66__.LinkNode, _ElementProcessors_Layout_ListItem_ListItemNode__WEBPACK_IMPORTED_MODULE_63__.ListItemNode, _ElementProcessors_Layout_List_ListNode__WEBPACK_IMPORTED_MODULE_67__.ListNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_MenuNode__WEBPACK_IMPORTED_MODULE_31__.MenuNode, _ElementProcessors_Modal_ModalFormCancel_ModalFormCancelNode__WEBPACK_IMPORTED_MODULE_69__.ModalFormCancelNode, _ElementProcessors_Modal_ModalFormConfirm_ModalFormConfirmNode__WEBPACK_IMPORTED_MODULE_70__.ModalFormConfirmNode, _ElementProcessors_Modal_ModalFormLabel_ModalFormLabelNode__WEBPACK_IMPORTED_MODULE_71__.ModalFormLabelNode, _ElementProcessors_Modal_ModalForm_ModalFormNode__WEBPACK_IMPORTED_MODULE_68__.ModalFormNode, _ElementProcessors_MultiControls_Multilinefield_MultilineFieldNode__WEBPACK_IMPORTED_MODULE_72__.MultilineFieldNode, _ElementProcessors_Helpers_Normativehelp_NormativeHelpNode__WEBPACK_IMPORTED_MODULE_73__.NormativeHelpNode, _ElementProcessors_ControlFlow_Otherwise_OtherwiseNode__WEBPACK_IMPORTED_MODULE_74__.OtherwiseNode, _ElementProcessors_FormParts_Page_PageNode__WEBPACK_IMPORTED_MODULE_75__.PageNode, _ElementProcessors_FormParts_Form_Nodes_PanelNode__WEBPACK_IMPORTED_MODULE_46__.PanelNode, _ElementProcessors_Layout_Pencil_PencilNode__WEBPACK_IMPORTED_MODULE_76__.PencilNode, _ElementProcessors_ValueEditors_Picklist_PicklistNode__WEBPACK_IMPORTED_MODULE_77__.PicklistNode, _ElementProcessors_ValueEditors_radio_RadioNode__WEBPACK_IMPORTED_MODULE_78__.RadioNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_RemoveButtonNode__WEBPACK_IMPORTED_MODULE_32__.RemoveButtonNode, _ElementProcessors_MultiControls_RemoveRowButton_RemoveRowButtonNode__WEBPACK_IMPORTED_MODULE_80__.RemoveRowButtonNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_ReplaceButtonNode__WEBPACK_IMPORTED_MODULE_33__.ReplaceButtonNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_ReplaceLineNode__WEBPACK_IMPORTED_MODULE_34__.ReplaceLineNode, _ElementProcessors_ValueEditors_Select_SelectNode__WEBPACK_IMPORTED_MODULE_81__.SelectNode, _ElementProcessors_Layout_SimpleTable_SimpleTableNode__WEBPACK_IMPORTED_MODULE_90__.SimpleTableNode, _ElementProcessors_MultiControls_SortRadioGroup_SortRadioGroupNode__WEBPACK_IMPORTED_MODULE_82__.SortRadioGroupNode, _ElementProcessors_ValueEditors_RadioGroup_RadioGroupNode__WEBPACK_IMPORTED_MODULE_79__.RadioGroupNode, _ElementProcessors_Layout_Spoiler_SpoilerNode__WEBPACK_IMPORTED_MODULE_83__.SpoilerNode, _ElementProcessors_MultiControls_StickyTable_StickyTableNode__WEBPACK_IMPORTED_MODULE_91__.StickyTableNode, _ElementProcessors_Typography_Strong_StrongNode__WEBPACK_IMPORTED_MODULE_84__.StrongNode, _ElementProcessors_Layout_Subheader_SubheaderNode__WEBPACK_IMPORTED_MODULE_86__.SubheaderNode, _ElementProcessors_Typography_Sub_SubNode__WEBPACK_IMPORTED_MODULE_85__.SubNode, _ElementProcessors_Typography_Sup_SupNode__WEBPACK_IMPORTED_MODULE_87__.SupNode, _ElementProcessors_ValueEditors_Textarea_TextAreaNode__WEBPACK_IMPORTED_MODULE_94__.TextAreaNode, _ElementProcessors_ValueEditors_popupTextArea_PopupTextAreaNode__WEBPACK_IMPORTED_MODULE_101__.PopupTextAreaNode, _ElementProcessors_FormParts_UnitItem_UnitItemNode__WEBPACK_IMPORTED_MODULE_95__.UnitItemNode, _ElementProcessors_FormParts_UnitList_UnitListNode__WEBPACK_IMPORTED_MODULE_96__.UnitListNode, _ElementProcessors_ValueViewers_ValueLength_ValueLengthNode__WEBPACK_IMPORTED_MODULE_97__.ValueLengthNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_ViewFileNode__WEBPACK_IMPORTED_MODULE_35__.ViewFileNode, _ElementProcessors_ControlFlow_VisibilityBlock_VisibilityBlockNode__WEBPACK_IMPORTED_MODULE_98__.VisibilityBlockNode, _ElementProcessors_Layout_Warning_WarningNode__WEBPACK_IMPORTED_MODULE_99__.WarningNode, _ElementProcessors_ControlFlow_When_WhenNode__WEBPACK_IMPORTED_MODULE_100__.WhenNode, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteNode__WEBPACK_IMPORTED_MODULE_28__.ExpertNoteNode, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteNode__WEBPACK_IMPORTED_MODULE_28__.MessageBoxNode, _ElementProcessors_Action_Link_LinkNode__WEBPACK_IMPORTED_MODULE_66__.LinkNode, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteNode__WEBPACK_IMPORTED_MODULE_28__.NameNode, _ElementProcessors_ValueViewers_Linetext_LineTextNode__WEBPACK_IMPORTED_MODULE_65__.LineTextNode, _ElementProcessors_ControlFlow_If_IfNode__WEBPACK_IMPORTED_MODULE_58__.IfNode, _ElementProcessors_ControlFlow_If_IfNode__WEBPACK_IMPORTED_MODULE_58__.ElseNode, _ElementProcessors_ControlFlow_If_IfNode__WEBPACK_IMPORTED_MODULE_58__.ThenNode, _ElementProcessors_Layout_SimpleTable_SimpleTableNode__WEBPACK_IMPORTED_MODULE_90__.SimpleTableRowNode, _ElementProcessors_Layout_SimpleTable_SimpleTableNode__WEBPACK_IMPORTED_MODULE_90__.SimpleTableColumnNode, _ElementProcessors_Layout_Stack_StackNode__WEBPACK_IMPORTED_MODULE_5__.StackNode, _ElementProcessors_Layout_Grid_GridNode__WEBPACK_IMPORTED_MODULE_4__.GridNode, _ElementProcessors_MultiControls_StickyTable_StickyTableNode__WEBPACK_IMPORTED_MODULE_91__.StickyTableMultilineNode, _ElementProcessors_UnitParts_HeaderPanel_HeaderPanelNode__WEBPACK_IMPORTED_MODULE_9__.HeaderPanelNode, _ElementProcessors_Action_DropdownButton_DropdownButtonNode__WEBPACK_IMPORTED_MODULE_3__.DropdownButtonNode, _ElementProcessors_Action_DropdownButton_DropdownButtonNode__WEBPACK_IMPORTED_MODULE_3__.DropdownButtonActionNode, _ElementProcessors_MultiControls_Tabs_TabsNode__WEBPACK_IMPORTED_MODULE_8__.TabsNode, _ElementProcessors_ValueEditors_FiasMvd_FiasMvdNode__WEBPACK_IMPORTED_MODULE_0__.FiasMvdNode, _ElementProcessors_ValueEditors_FiasFns_FiasFnsNode__WEBPACK_IMPORTED_MODULE_1__.FiasFnsNode, _ElementProcessors_MultiControls_FilterSelect_FilterSelectNode__WEBPACK_IMPORTED_MODULE_6__.FilterSelectNode, _ElementProcessors_MultiControls_Table2_Table2Node__WEBPACK_IMPORTED_MODULE_7__.Table2Node, _ElementProcessors_Layout_FixedTabs_FixedTabsNode__WEBPACK_IMPORTED_MODULE_104__.FixedTabsNode, _ElementProcessors_Layout_FixedTabs_FixedTabsNode__WEBPACK_IMPORTED_MODULE_104__.FixedTabNode, _ElementProcessors_MultiControls_Multiple_MultipleNode__WEBPACK_IMPORTED_MODULE_105__.MultipleNode, _ElementProcessors_Action_ExcelPastePanel_ExcelPastePanelNode__WEBPACK_IMPORTED_MODULE_106__.ExcelPastePanelNode, _ElementProcessors_ValueEditors_ReferencedFields_ReferencedFieldsNode__WEBPACK_IMPORTED_MODULE_107__.ReferencedFieldsNode, _ElementProcessors_FormParts_UserPicklist_UserPicklistNode__WEBPACK_IMPORTED_MODULE_108__.UserPicklistNode, _ElementProcessors_ValueEditors_TaxRebate_TaxRebateNode__WEBPACK_IMPORTED_MODULE_109__.TaxRebateNode];
169936
170574
  }
169937
170575
  ;
169938
170576
 
@@ -170107,10 +170745,15 @@ function strictCastNode(node, nodeClass) {
170107
170745
 
170108
170746
  throw new Error();
170109
170747
  }
170110
- function buildExpressionPropValue(condition) {
170748
+ function buildExpressionPropValue(condition, deps = []) {
170749
+ if (condition === undefined) {
170750
+ return undefined;
170751
+ }
170752
+
170111
170753
  return {
170112
170754
  type: "Expression",
170113
- expression: `{ type: "ModelDependentEvaluator", expression: (path) => ${condition} }`
170755
+ expression: `{ type: "ModelDependentEvaluator", expression: (path, count) => ${condition} }`,
170756
+ dependencies: deps
170114
170757
  };
170115
170758
  }
170116
170759
  ;
@@ -171191,7 +171834,7 @@ let ForcedTypeChecksNode = (_dec40 = (0,_markupGenerator_Serializer_SugarSeriali
171191
171834
  writable: true,
171192
171835
  initializer: null
171193
171836
  })), _class46)) || _class45);
171194
- let TypeNode = (_dec42 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.sugarNode)("type", `Описание валидации для поля`, __webpack_require__("./Generator/src/generators/validationGenerator/Nodes sync recursive .md$")), _dec43 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attr)("base", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attrType["enum"]("string", "pattern", "integer", "decimal", "date", "gYear"), `Базовый тип, для нового типа. Автоматически задаёт валидацию (число, дата, год) и исключает ввод неверных символов`), _dec44 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attr)("name", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attrType.string, `Имя типа. Не требуется для анонимных типов. Имя типа в дальнейшем указывается в атрибуте type контрола.`), _dec45 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.deprecatedAttr)("requireDescription", _markupGenerator_Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_0__.DeprecationReason.Typo), _dec46 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attr)("requiredDescription", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attrType.localizedString, `Если значение в контроле является обязательным, то это сообщение будет отображается, если значение отсутствует. См. атрибут optional (Подсказка-всплывашка, когда поле пустое. Если не указать - будет стандартная подсказка. Появляется только для обязательного поля. Если не указан, то выводится значение из атр. description)`), _dec47 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attr)("description", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attrType.localizedString, `Сообщение, которое будет отображатся если значение не отвечает заданным в типе валидациям и соотв. валидация не имеет атрибута description (Подсказка-всплывашка, когда поле заполнено неверно. Если не указать - то подсказка построится автоматически на основании base, length, enumeration (пока что на основании pattern автоматической подсказки нет. Более того, есть баг, что если description для типа с pattern-ом не указан, валидация по паттерну не работает))`), _dec48 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attr)("checkType", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attrType["enum"]("error", "warning"), `Тип валидации. При ошибке контрол будет отображаться либо оранжевым (warning), либо красным (error).`), _dec49 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.children)(undefined, [CustomValidationTypeCheckNode, PatternTypeCheckNode, EnumerationTypeCheckNode, AttachmentsTypeCheckNode, LengthTypeCheckNode, MinlengthTypeCheckNode, MaxlengthTypeCheckNode, TotaldigitsTypeCheckNode, IntegerdigitsTypeCheckNode, FractiondigitsTypeCheckNode, DigestcheckTypeCheckNode, DigestConditionTypeCheckNode, MininclusiveTypeCheckNode, MaxinclusiveTypeCheckNode, ForcedTypeChecksNode]), _dec42(_class48 = (_class49 = class TypeNode extends _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.SugarNodeBase {
171837
+ let TypeNode = (_dec42 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.sugarNode)("type", `Описание валидации для поля`, __webpack_require__("./Generator/src/generators/validationGenerator/Nodes sync recursive .md$")), _dec43 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attr)("base", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attrType["enum"]("string", "pattern", "integer", "decimal", "date", "gYear", "gMonth"), `Базовый тип, для нового типа. Автоматически задаёт валидацию (число, дата, год) и исключает ввод неверных символов`), _dec44 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attr)("name", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attrType.string, `Имя типа. Не требуется для анонимных типов. Имя типа в дальнейшем указывается в атрибуте type контрола.`), _dec45 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.deprecatedAttr)("requireDescription", _markupGenerator_Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_0__.DeprecationReason.Typo), _dec46 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attr)("requiredDescription", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attrType.localizedString, `Если значение в контроле является обязательным, то это сообщение будет отображается, если значение отсутствует. См. атрибут optional (Подсказка-всплывашка, когда поле пустое. Если не указать - будет стандартная подсказка. Появляется только для обязательного поля. Если не указан, то выводится значение из атр. description)`), _dec47 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attr)("description", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attrType.localizedString, `Сообщение, которое будет отображатся если значение не отвечает заданным в типе валидациям и соотв. валидация не имеет атрибута description (Подсказка-всплывашка, когда поле заполнено неверно. Если не указать - то подсказка построится автоматически на основании base, length, enumeration (пока что на основании pattern автоматической подсказки нет. Более того, есть баг, что если description для типа с pattern-ом не указан, валидация по паттерну не работает))`), _dec48 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attr)("checkType", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attrType["enum"]("error", "warning"), `Тип валидации. При ошибке контрол будет отображаться либо оранжевым (warning), либо красным (error).`), _dec49 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.children)(undefined, [CustomValidationTypeCheckNode, PatternTypeCheckNode, EnumerationTypeCheckNode, AttachmentsTypeCheckNode, LengthTypeCheckNode, MinlengthTypeCheckNode, MaxlengthTypeCheckNode, TotaldigitsTypeCheckNode, IntegerdigitsTypeCheckNode, FractiondigitsTypeCheckNode, DigestcheckTypeCheckNode, DigestConditionTypeCheckNode, MininclusiveTypeCheckNode, MaxinclusiveTypeCheckNode, ForcedTypeChecksNode]), _dec42(_class48 = (_class49 = class TypeNode extends _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.SugarNodeBase {
171195
171838
  constructor(...args) {
171196
171839
  super(...args);
171197
171840
 
@@ -172743,6 +173386,13 @@ class ValidationGenerator {
172743
173386
  return result;
172744
173387
  }
172745
173388
 
173389
+ case "gMonth":
173390
+ {
173391
+ const result = (0,_common_CodeGeneration_ClassInstanceBuilder__WEBPACK_IMPORTED_MODULE_1__.instanceBuilder)("Validators.IsMonthValueValidator");
173392
+ result.set(0, description);
173393
+ return result;
173394
+ }
173395
+
172746
173396
  default:
172747
173397
  if (typeNode != undefined) {
172748
173398
  throw new _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_2__.SugarAttributeReadError("Unknown base type name", typeNode, "base");