@kontur.candy/generator 4.236.0-nightly.5jlmo → 4.237.0-extended-errorlog.1
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.
- package/dist/index.js +858 -1277
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2577,6 +2577,24 @@ webpackContext.id = "./Generator/src/generators/markupGenerator/ElementProcessor
|
|
|
2577
2577
|
|
|
2578
2578
|
/***/ }),
|
|
2579
2579
|
|
|
2580
|
+
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/TaxRebate sync recursive .md$":
|
|
2581
|
+
/*!******************************************************************************************************!*\
|
|
2582
|
+
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/TaxRebate/ sync .md$ ***!
|
|
2583
|
+
\******************************************************************************************************/
|
|
2584
|
+
/***/ ((module) => {
|
|
2585
|
+
|
|
2586
|
+
function webpackEmptyContext(req) {
|
|
2587
|
+
var e = new Error("Cannot find module '" + req + "'");
|
|
2588
|
+
e.code = 'MODULE_NOT_FOUND';
|
|
2589
|
+
throw e;
|
|
2590
|
+
}
|
|
2591
|
+
webpackEmptyContext.keys = () => ([]);
|
|
2592
|
+
webpackEmptyContext.resolve = webpackEmptyContext;
|
|
2593
|
+
webpackEmptyContext.id = "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/TaxRebate sync recursive .md$";
|
|
2594
|
+
module.exports = webpackEmptyContext;
|
|
2595
|
+
|
|
2596
|
+
/***/ }),
|
|
2597
|
+
|
|
2580
2598
|
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Textarea sync recursive .md$":
|
|
2581
2599
|
/*!*****************************************************************************************************!*\
|
|
2582
2600
|
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Textarea/ sync .md$ ***!
|
|
@@ -279913,293 +279931,6 @@ class CompositionOperandContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPO
|
|
|
279913
279931
|
|
|
279914
279932
|
/***/ }),
|
|
279915
279933
|
|
|
279916
|
-
/***/ "./Generator/src/common/KCLang/IKCLangExpressionVisitor.ts":
|
|
279917
|
-
/*!*****************************************************************!*\
|
|
279918
|
-
!*** ./Generator/src/common/KCLang/IKCLangExpressionVisitor.ts ***!
|
|
279919
|
-
\*****************************************************************/
|
|
279920
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
279921
|
-
|
|
279922
|
-
"use strict";
|
|
279923
|
-
__webpack_require__.r(__webpack_exports__);
|
|
279924
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
279925
|
-
/* harmony export */ "traverseKCLangExpression": () => (/* binding */ traverseKCLangExpression),
|
|
279926
|
-
/* harmony export */ "DefaultKCLangExpressionVisitor": () => (/* binding */ DefaultKCLangExpressionVisitor)
|
|
279927
|
-
/* harmony export */ });
|
|
279928
|
-
/* harmony import */ var _Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../Common/TypingUtils */ "./Common/TypingUtils.ts");
|
|
279929
|
-
|
|
279930
|
-
// tslint:disable-next-line:cyclomatic-complexity
|
|
279931
|
-
function traverseKCLangExpression(node, visitor) {
|
|
279932
|
-
switch (node.type) {
|
|
279933
|
-
case "cast":
|
|
279934
|
-
traverseKCLangExpression(node.expression, visitor);
|
|
279935
|
-
visitor.visitCastExpressionKCLangNode(node);
|
|
279936
|
-
break;
|
|
279937
|
-
|
|
279938
|
-
case "oneof":
|
|
279939
|
-
traverseKCLangExpression(node.testExpression, visitor);
|
|
279940
|
-
visitor.visitOneOfExpressionKCLangNode(node);
|
|
279941
|
-
break;
|
|
279942
|
-
|
|
279943
|
-
case "abs":
|
|
279944
|
-
traverseKCLangExpression(node.expression, visitor);
|
|
279945
|
-
visitor.visitAbsKCLangNode(node);
|
|
279946
|
-
break;
|
|
279947
|
-
|
|
279948
|
-
case "xabs":
|
|
279949
|
-
traverseKCLangExpression(node.expression, visitor);
|
|
279950
|
-
visitor.visitXAbsKCLangNode(node);
|
|
279951
|
-
break;
|
|
279952
|
-
|
|
279953
|
-
case "exists":
|
|
279954
|
-
visitor.visitExistsKCLangNode(node);
|
|
279955
|
-
break;
|
|
279956
|
-
|
|
279957
|
-
case "length":
|
|
279958
|
-
traverseKCLangExpression(node.expression, visitor);
|
|
279959
|
-
visitor.visitLengthKCLangNode(node);
|
|
279960
|
-
break;
|
|
279961
|
-
|
|
279962
|
-
case "and":
|
|
279963
|
-
for (const expression of node.expressions) {
|
|
279964
|
-
traverseKCLangExpression(expression, visitor);
|
|
279965
|
-
}
|
|
279966
|
-
|
|
279967
|
-
visitor.visitAndKCLangNode(node);
|
|
279968
|
-
break;
|
|
279969
|
-
|
|
279970
|
-
case "sum":
|
|
279971
|
-
visitor.visitSumKCLangNode(node);
|
|
279972
|
-
break;
|
|
279973
|
-
|
|
279974
|
-
case "gt":
|
|
279975
|
-
case "ge":
|
|
279976
|
-
case "lt":
|
|
279977
|
-
case "le":
|
|
279978
|
-
case "eq":
|
|
279979
|
-
case "noteq":
|
|
279980
|
-
for (const expression of node.expressions) {
|
|
279981
|
-
traverseKCLangExpression(expression, visitor);
|
|
279982
|
-
}
|
|
279983
|
-
|
|
279984
|
-
visitor.visitComparisonKCLangNode(node);
|
|
279985
|
-
break;
|
|
279986
|
-
|
|
279987
|
-
case "division":
|
|
279988
|
-
case "multiply":
|
|
279989
|
-
for (const expression of node.expressions) {
|
|
279990
|
-
traverseKCLangExpression(expression, visitor);
|
|
279991
|
-
}
|
|
279992
|
-
|
|
279993
|
-
visitor.visitMultiplyKCLangNode(node);
|
|
279994
|
-
break;
|
|
279995
|
-
|
|
279996
|
-
case "minus":
|
|
279997
|
-
traverseKCLangExpression(node.expression, visitor);
|
|
279998
|
-
visitor.visitMinusKCLangNode(node);
|
|
279999
|
-
break;
|
|
280000
|
-
|
|
280001
|
-
case "not":
|
|
280002
|
-
traverseKCLangExpression(node.expression, visitor);
|
|
280003
|
-
visitor.visitNotKCLangNode(node);
|
|
280004
|
-
break;
|
|
280005
|
-
|
|
280006
|
-
case "round":
|
|
280007
|
-
traverseKCLangExpression(node.expression, visitor);
|
|
280008
|
-
visitor.visitRoundKCLangNode(node);
|
|
280009
|
-
break;
|
|
280010
|
-
|
|
280011
|
-
case "choose":
|
|
280012
|
-
traverseKCLangExpression(node.if, visitor);
|
|
280013
|
-
traverseKCLangExpression(node.else, visitor);
|
|
280014
|
-
traverseKCLangExpression(node.then, visitor);
|
|
280015
|
-
visitor.visitChooseKCLangNode(node);
|
|
280016
|
-
break;
|
|
280017
|
-
|
|
280018
|
-
case "const":
|
|
280019
|
-
visitor.visitConstKCLangNode(node);
|
|
280020
|
-
break;
|
|
280021
|
-
|
|
280022
|
-
case "argument":
|
|
280023
|
-
visitor.visitArgumentKCLangNode(node);
|
|
280024
|
-
break;
|
|
280025
|
-
|
|
280026
|
-
case "or":
|
|
280027
|
-
for (const expression of node.expressions) {
|
|
280028
|
-
traverseKCLangExpression(expression, visitor);
|
|
280029
|
-
}
|
|
280030
|
-
|
|
280031
|
-
visitor.visitOrKCLangNode(node);
|
|
280032
|
-
break;
|
|
280033
|
-
|
|
280034
|
-
case "multySum":
|
|
280035
|
-
visitor.visitMultySumKCLangNode(node);
|
|
280036
|
-
break;
|
|
280037
|
-
|
|
280038
|
-
case "substring":
|
|
280039
|
-
traverseKCLangExpression(node.expression, visitor);
|
|
280040
|
-
visitor.visitSubstringKCLangNode(node);
|
|
280041
|
-
break;
|
|
280042
|
-
|
|
280043
|
-
case "regexMatch":
|
|
280044
|
-
traverseKCLangExpression(node.expression, visitor);
|
|
280045
|
-
visitor.visitRegexMatchKCLangNode(node);
|
|
280046
|
-
break;
|
|
280047
|
-
|
|
280048
|
-
default:
|
|
280049
|
-
(0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__.ensureNever)(node);
|
|
280050
|
-
break;
|
|
280051
|
-
}
|
|
280052
|
-
}
|
|
280053
|
-
class DefaultKCLangExpressionVisitor {
|
|
280054
|
-
visitAbsKCLangNode(node) {// default empty implementation
|
|
280055
|
-
}
|
|
280056
|
-
|
|
280057
|
-
visitAndKCLangNode(node) {// default empty implementation
|
|
280058
|
-
}
|
|
280059
|
-
|
|
280060
|
-
visitArgumentKCLangNode(node) {// default empty implementation
|
|
280061
|
-
}
|
|
280062
|
-
|
|
280063
|
-
visitCastExpressionKCLangNode(node) {// default empty implementation
|
|
280064
|
-
}
|
|
280065
|
-
|
|
280066
|
-
visitChooseKCLangNode(node) {// default empty implementation
|
|
280067
|
-
}
|
|
280068
|
-
|
|
280069
|
-
visitComparisonKCLangNode(node) {// default empty implementation
|
|
280070
|
-
}
|
|
280071
|
-
|
|
280072
|
-
visitConstKCLangNode(node) {// default empty implementation
|
|
280073
|
-
}
|
|
280074
|
-
|
|
280075
|
-
visitExistsKCLangNode(node) {// default empty implementation
|
|
280076
|
-
}
|
|
280077
|
-
|
|
280078
|
-
visitLengthKCLangNode(node) {// default empty implementation
|
|
280079
|
-
}
|
|
280080
|
-
|
|
280081
|
-
visitMinusKCLangNode(node) {// default empty implementation
|
|
280082
|
-
}
|
|
280083
|
-
|
|
280084
|
-
visitMultiplyKCLangNode(node) {// default empty implementation
|
|
280085
|
-
}
|
|
280086
|
-
|
|
280087
|
-
visitMultySumKCLangNode(node) {// default empty implementation
|
|
280088
|
-
}
|
|
280089
|
-
|
|
280090
|
-
visitNotKCLangNode(node) {// default empty implementation
|
|
280091
|
-
}
|
|
280092
|
-
|
|
280093
|
-
visitOneOfExpressionKCLangNode(node) {// default empty implementation
|
|
280094
|
-
}
|
|
280095
|
-
|
|
280096
|
-
visitOrKCLangNode(node) {// default empty implementation
|
|
280097
|
-
}
|
|
280098
|
-
|
|
280099
|
-
visitRegexMatchKCLangNode(node) {// default empty implementation
|
|
280100
|
-
}
|
|
280101
|
-
|
|
280102
|
-
visitRoundKCLangNode(node) {// default empty implementation
|
|
280103
|
-
}
|
|
280104
|
-
|
|
280105
|
-
visitSubstringKCLangNode(node) {// default empty implementation
|
|
280106
|
-
}
|
|
280107
|
-
|
|
280108
|
-
visitSumKCLangNode(node) {// default empty implementation
|
|
280109
|
-
}
|
|
280110
|
-
|
|
280111
|
-
visitXAbsKCLangNode(node) {// default empty implementation
|
|
280112
|
-
}
|
|
280113
|
-
|
|
280114
|
-
}
|
|
280115
|
-
|
|
280116
|
-
/***/ }),
|
|
280117
|
-
|
|
280118
|
-
/***/ "./Generator/src/common/KCLang/KCLangDescriptionGrammar.ts":
|
|
280119
|
-
/*!*****************************************************************!*\
|
|
280120
|
-
!*** ./Generator/src/common/KCLang/KCLangDescriptionGrammar.ts ***!
|
|
280121
|
-
\*****************************************************************/
|
|
280122
|
-
/***/ ((module) => {
|
|
280123
|
-
|
|
280124
|
-
// this file was prevaled
|
|
280125
|
-
|
|
280126
|
-
/* eslint-disable */
|
|
280127
|
-
// @ts-ignore
|
|
280128
|
-
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})()";
|
|
280129
|
-
|
|
280130
|
-
/***/ }),
|
|
280131
|
-
|
|
280132
|
-
/***/ "./Generator/src/common/KCLang/KCLangDescriptionParser.ts":
|
|
280133
|
-
/*!****************************************************************!*\
|
|
280134
|
-
!*** ./Generator/src/common/KCLang/KCLangDescriptionParser.ts ***!
|
|
280135
|
-
\****************************************************************/
|
|
280136
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
280137
|
-
|
|
280138
|
-
"use strict";
|
|
280139
|
-
__webpack_require__.r(__webpack_exports__);
|
|
280140
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
280141
|
-
/* harmony export */ "KCLangDescriptionParser": () => (/* binding */ KCLangDescriptionParser)
|
|
280142
|
-
/* harmony export */ });
|
|
280143
|
-
/* harmony import */ var _KCLangDescriptionGrammar__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./KCLangDescriptionGrammar */ "./Generator/src/common/KCLang/KCLangDescriptionGrammar.ts");
|
|
280144
|
-
/* harmony import */ var _KCLangDescriptionGrammar__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_KCLangDescriptionGrammar__WEBPACK_IMPORTED_MODULE_0__);
|
|
280145
|
-
// @ts-ignore
|
|
280146
|
-
// tslint:disable-next-line no-eval no-unsafe-any
|
|
280147
|
-
|
|
280148
|
-
const evalParse = eval((_KCLangDescriptionGrammar__WEBPACK_IMPORTED_MODULE_0___default())).parse;
|
|
280149
|
-
class KCLangDescriptionParser {
|
|
280150
|
-
static getOrCreateParser() {
|
|
280151
|
-
return evalParse;
|
|
280152
|
-
}
|
|
280153
|
-
|
|
280154
|
-
static parse(code) {
|
|
280155
|
-
const parser = this.getOrCreateParser();
|
|
280156
|
-
return parser(code);
|
|
280157
|
-
}
|
|
280158
|
-
|
|
280159
|
-
}
|
|
280160
|
-
|
|
280161
|
-
/***/ }),
|
|
280162
|
-
|
|
280163
|
-
/***/ "./Generator/src/common/KCLang/KCLangNodes.ts":
|
|
280164
|
-
/*!****************************************************!*\
|
|
280165
|
-
!*** ./Generator/src/common/KCLang/KCLangNodes.ts ***!
|
|
280166
|
-
\****************************************************/
|
|
280167
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
280168
|
-
|
|
280169
|
-
"use strict";
|
|
280170
|
-
__webpack_require__.r(__webpack_exports__);
|
|
280171
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
280172
|
-
/* harmony export */ "isFormulaStatement": () => (/* binding */ isFormulaStatement),
|
|
280173
|
-
/* harmony export */ "isBlockStatement": () => (/* binding */ isBlockStatement),
|
|
280174
|
-
/* harmony export */ "isEnsureStatement": () => (/* binding */ isEnsureStatement),
|
|
280175
|
-
/* harmony export */ "isConditionalStatement": () => (/* binding */ isConditionalStatement),
|
|
280176
|
-
/* harmony export */ "isDescribeStatement": () => (/* binding */ isDescribeStatement),
|
|
280177
|
-
/* harmony export */ "andKCLangNode": () => (/* binding */ andKCLangNode)
|
|
280178
|
-
/* harmony export */ });
|
|
280179
|
-
function isFormulaStatement(node) {
|
|
280180
|
-
return node.type === "formula";
|
|
280181
|
-
}
|
|
280182
|
-
function isBlockStatement(node) {
|
|
280183
|
-
return node.type === "block";
|
|
280184
|
-
}
|
|
280185
|
-
function isEnsureStatement(node) {
|
|
280186
|
-
return node.type === "ensure";
|
|
280187
|
-
}
|
|
280188
|
-
function isConditionalStatement(node) {
|
|
280189
|
-
return node.type === "if";
|
|
280190
|
-
}
|
|
280191
|
-
function isDescribeStatement(node) {
|
|
280192
|
-
return node.type === "describe";
|
|
280193
|
-
}
|
|
280194
|
-
function andKCLangNode(...expressions) {
|
|
280195
|
-
return {
|
|
280196
|
-
type: "and",
|
|
280197
|
-
expressions: expressions
|
|
280198
|
-
};
|
|
280199
|
-
}
|
|
280200
|
-
|
|
280201
|
-
/***/ }),
|
|
280202
|
-
|
|
280203
279934
|
/***/ "./Generator/src/common/KCLang/KCLangToJsTranspiler.ts":
|
|
280204
279935
|
/*!*************************************************************!*\
|
|
280205
279936
|
!*** ./Generator/src/common/KCLang/KCLangToJsTranspiler.ts ***!
|
|
@@ -280497,345 +280228,6 @@ class KCLangToJsTranspiler {
|
|
|
280497
280228
|
|
|
280498
280229
|
/***/ }),
|
|
280499
280230
|
|
|
280500
|
-
/***/ "./Generator/src/common/KCLang/KCLangToXmlTranspiler.ts":
|
|
280501
|
-
/*!**************************************************************!*\
|
|
280502
|
-
!*** ./Generator/src/common/KCLang/KCLangToXmlTranspiler.ts ***!
|
|
280503
|
-
\**************************************************************/
|
|
280504
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
280505
|
-
|
|
280506
|
-
"use strict";
|
|
280507
|
-
__webpack_require__.r(__webpack_exports__);
|
|
280508
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
280509
|
-
/* harmony export */ "KCLangToXmlTranspiler": () => (/* binding */ KCLangToXmlTranspiler),
|
|
280510
|
-
/* harmony export */ "kclang": () => (/* binding */ kclang)
|
|
280511
|
-
/* harmony export */ });
|
|
280512
|
-
/* harmony import */ var _Common_Errors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../Common/Errors */ "./Common/Errors.ts");
|
|
280513
|
-
/* harmony import */ var _Common_TypingUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../Common/TypingUtils */ "./Common/TypingUtils.ts");
|
|
280514
|
-
/* harmony import */ var _IKCLangExpressionVisitor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./IKCLangExpressionVisitor */ "./Generator/src/common/KCLang/IKCLangExpressionVisitor.ts");
|
|
280515
|
-
/* harmony import */ var _KCLangDescriptionParser__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./KCLangDescriptionParser */ "./Generator/src/common/KCLang/KCLangDescriptionParser.ts");
|
|
280516
|
-
/* harmony import */ var _KCLangNodes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./KCLangNodes */ "./Generator/src/common/KCLang/KCLangNodes.ts");
|
|
280517
|
-
/* harmony import */ var _Utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Utils */ "./Generator/src/common/KCLang/Utils.ts");
|
|
280518
|
-
/* harmony import */ var _Antlr_KCLangAntlrParser__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Antlr/KCLangAntlrParser */ "./Generator/src/common/KCLang/Antlr/KCLangAntlrParser.ts");
|
|
280519
|
-
|
|
280520
|
-
|
|
280521
|
-
|
|
280522
|
-
|
|
280523
|
-
|
|
280524
|
-
|
|
280525
|
-
// tslint:disable-next-line:cyclomatic-complexity
|
|
280526
|
-
|
|
280527
|
-
function generateKCXmlExpression(expression) {
|
|
280528
|
-
switch (expression.type) {
|
|
280529
|
-
case "abs":
|
|
280530
|
-
case "xabs":
|
|
280531
|
-
case "length":
|
|
280532
|
-
return [`<m:${expression.type}>`, (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlExpression(expression.expression), 1), `</m:${expression.type}>`].join("\n");
|
|
280533
|
-
|
|
280534
|
-
case "exists":
|
|
280535
|
-
case "multySum":
|
|
280536
|
-
return `<m:${expression.type} select="${expression.select}" />`;
|
|
280537
|
-
|
|
280538
|
-
case "cast":
|
|
280539
|
-
if (expression.expression.type === "argument") {
|
|
280540
|
-
return `<m:argument select="${expression.expression.select}" type="${expression.targetType}" />`;
|
|
280541
|
-
}
|
|
280542
|
-
|
|
280543
|
-
throw new Error("Cast supports only for argument");
|
|
280544
|
-
|
|
280545
|
-
case "and":
|
|
280546
|
-
case "or":
|
|
280547
|
-
return [`<m:${expression.type}>`, ...expression.expressions.map(generateKCXmlExpression).map(x => (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(x, 1)), `</m:${expression.type}>`].join("\n");
|
|
280548
|
-
|
|
280549
|
-
case "sum":
|
|
280550
|
-
return [`<m:sum>`, ...expression.operands.map(operand => {
|
|
280551
|
-
if (operand.operator === "+") {
|
|
280552
|
-
return generateKCXmlExpression(operand.expression);
|
|
280553
|
-
}
|
|
280554
|
-
|
|
280555
|
-
return [`<m:minus>`, (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlExpression(operand.expression), 1), `</m:minus>`].join("\n");
|
|
280556
|
-
}).map(x => (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(x, 1)), `</m:sum>`].join("\n");
|
|
280557
|
-
|
|
280558
|
-
case "gt":
|
|
280559
|
-
case "ge":
|
|
280560
|
-
case "lt":
|
|
280561
|
-
case "le":
|
|
280562
|
-
case "eq":
|
|
280563
|
-
case "multiply":
|
|
280564
|
-
case "division":
|
|
280565
|
-
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");
|
|
280566
|
-
|
|
280567
|
-
case "noteq":
|
|
280568
|
-
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");
|
|
280569
|
-
|
|
280570
|
-
case "minus":
|
|
280571
|
-
case "not":
|
|
280572
|
-
return [`<m:${expression.type}>`, (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlExpression(expression.expression), 1), `</m:${expression.type}>`].join("\n");
|
|
280573
|
-
break;
|
|
280574
|
-
break;
|
|
280575
|
-
|
|
280576
|
-
case "round":
|
|
280577
|
-
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");
|
|
280578
|
-
|
|
280579
|
-
case "substring":
|
|
280580
|
-
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");
|
|
280581
|
-
|
|
280582
|
-
case "regexMatch":
|
|
280583
|
-
return [`<m:regexMatch pattern="${expression.pattern}">`, (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlExpression(expression.expression), 1), `</m:regexMatch>`].join("\n");
|
|
280584
|
-
|
|
280585
|
-
case "choose":
|
|
280586
|
-
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");
|
|
280587
|
-
break;
|
|
280588
|
-
|
|
280589
|
-
case "const":
|
|
280590
|
-
if (expression.value.type === "decimal") {
|
|
280591
|
-
return `<m:const value="${expression.value.value}" type="decimal" />`;
|
|
280592
|
-
}
|
|
280593
|
-
|
|
280594
|
-
if (expression.value.type === "string") {
|
|
280595
|
-
return `<m:const value="${expression.value.value}" type="string" />`;
|
|
280596
|
-
}
|
|
280597
|
-
|
|
280598
|
-
throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_0__.NotImplementedError();
|
|
280599
|
-
|
|
280600
|
-
case "argument":
|
|
280601
|
-
return `<m:argument select="${expression.select}" />`;
|
|
280602
|
-
|
|
280603
|
-
case "oneof":
|
|
280604
|
-
{
|
|
280605
|
-
const testExpr = generateKCXmlExpression(expression.testExpression);
|
|
280606
|
-
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");
|
|
280607
|
-
}
|
|
280608
|
-
|
|
280609
|
-
default:
|
|
280610
|
-
// @ts-ignore
|
|
280611
|
-
throw new Error(`Expression of type '${expression.type}' is not supported`);
|
|
280612
|
-
}
|
|
280613
|
-
}
|
|
280614
|
-
|
|
280615
|
-
function formatDescribeStatement(ast, matchPath, describe) {
|
|
280616
|
-
return _KCLangDescriptionParser__WEBPACK_IMPORTED_MODULE_3__.KCLangDescriptionParser.parse(describe.text).map(item => {
|
|
280617
|
-
if (typeof item === "string") {
|
|
280618
|
-
return item;
|
|
280619
|
-
} else {
|
|
280620
|
-
return `{{link ref=${item.src}}}${item.text.join(" ")}{{/link}}`;
|
|
280621
|
-
}
|
|
280622
|
-
}).join(" ");
|
|
280623
|
-
}
|
|
280624
|
-
|
|
280625
|
-
function generateKCXmlFormula(ast, matchPath, describe) {
|
|
280626
|
-
const descriptionAttr = describe != undefined ? ` description="${formatDescribeStatement(ast, matchPath, describe)}"` : "";
|
|
280627
|
-
return `<m:formula match="${matchPath}" target="${ast.target}"${descriptionAttr}>\n` + (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlExpression(ast.expression), 1) + "\n" + `</m:formula>`;
|
|
280628
|
-
}
|
|
280629
|
-
|
|
280630
|
-
function removeTrailingSlash(inputStr) {
|
|
280631
|
-
if (inputStr.endsWith("/")) {
|
|
280632
|
-
return inputStr.substring(0, inputStr.length - 1);
|
|
280633
|
-
}
|
|
280634
|
-
|
|
280635
|
-
return inputStr;
|
|
280636
|
-
}
|
|
280637
|
-
|
|
280638
|
-
function joinPaths(paths) {
|
|
280639
|
-
return paths.map(removeTrailingSlash).join("/");
|
|
280640
|
-
}
|
|
280641
|
-
|
|
280642
|
-
function generateBlockKCXmlFormulas(block, parents) {
|
|
280643
|
-
const matchPath = joinPaths([...(parents !== null && parents !== void 0 ? parents : []).map(x => x.path), block.path]);
|
|
280644
|
-
const result = [];
|
|
280645
|
-
let lastDescribeStatement;
|
|
280646
|
-
|
|
280647
|
-
for (const statement of block.statements) {
|
|
280648
|
-
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_4__.isFormulaStatement)(statement)) {
|
|
280649
|
-
result.push(generateKCXmlFormula(statement, matchPath, lastDescribeStatement));
|
|
280650
|
-
lastDescribeStatement = undefined;
|
|
280651
|
-
}
|
|
280652
|
-
|
|
280653
|
-
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_4__.isEnsureStatement)(statement)) {
|
|
280654
|
-
lastDescribeStatement = undefined;
|
|
280655
|
-
}
|
|
280656
|
-
|
|
280657
|
-
if (lastDescribeStatement != undefined) {
|
|
280658
|
-
throw new Error("Describe should be placed before assign of ensure statements");
|
|
280659
|
-
}
|
|
280660
|
-
|
|
280661
|
-
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_4__.isDescribeStatement)(statement)) {
|
|
280662
|
-
lastDescribeStatement = statement;
|
|
280663
|
-
}
|
|
280664
|
-
|
|
280665
|
-
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_4__.isBlockStatement)(statement)) {
|
|
280666
|
-
result.push(generateBlockKCXmlFormulas(statement, [...(parents !== null && parents !== void 0 ? parents : []), block]));
|
|
280667
|
-
}
|
|
280668
|
-
}
|
|
280669
|
-
|
|
280670
|
-
return result.join("\n");
|
|
280671
|
-
}
|
|
280672
|
-
|
|
280673
|
-
function guessConditionTarget(condition) {
|
|
280674
|
-
let result;
|
|
280675
|
-
|
|
280676
|
-
class GuessConditionTargetVisitor extends _IKCLangExpressionVisitor__WEBPACK_IMPORTED_MODULE_2__.DefaultKCLangExpressionVisitor {
|
|
280677
|
-
visitExistsKCLangNode(node) {
|
|
280678
|
-
if (result == undefined) {
|
|
280679
|
-
result = node.select;
|
|
280680
|
-
}
|
|
280681
|
-
}
|
|
280682
|
-
|
|
280683
|
-
visitArgumentKCLangNode(node) {
|
|
280684
|
-
if (result == undefined) {
|
|
280685
|
-
result = node.select;
|
|
280686
|
-
}
|
|
280687
|
-
}
|
|
280688
|
-
|
|
280689
|
-
}
|
|
280690
|
-
|
|
280691
|
-
(0,_IKCLangExpressionVisitor__WEBPACK_IMPORTED_MODULE_2__.traverseKCLangExpression)(condition.expression, new GuessConditionTargetVisitor());
|
|
280692
|
-
return result;
|
|
280693
|
-
}
|
|
280694
|
-
|
|
280695
|
-
function generateKCXmlCondition(ast, matchPath, parentConditions, describe) {
|
|
280696
|
-
const levelAttr = ast.level === "error" ? ` errorLevel="Error"` : "";
|
|
280697
|
-
const descriptionAttr = describe != undefined ? ` description="${formatDescribeStatement(ast, matchPath, describe)}"` : "";
|
|
280698
|
-
const guessedTarget = guessConditionTarget(ast);
|
|
280699
|
-
const targetAttr = guessedTarget != undefined ? ` target="${guessedTarget}"` : "";
|
|
280700
|
-
|
|
280701
|
-
if (parentConditions != undefined && (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_1__.arrayIsNotEmpty)(parentConditions)) {
|
|
280702
|
-
var _parentConditions$map;
|
|
280703
|
-
|
|
280704
|
-
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 : []));
|
|
280705
|
-
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>`;
|
|
280706
|
-
}
|
|
280707
|
-
|
|
280708
|
-
return `<m:condition match="${matchPath}"${descriptionAttr}${levelAttr}${targetAttr}>\n` + (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlExpression(ast.expression), 1) + "\n" + `</m:condition>`;
|
|
280709
|
-
}
|
|
280710
|
-
|
|
280711
|
-
function generateBlockKCXmlConditions(block, parents, parentConditions) {
|
|
280712
|
-
const matchPath = joinPaths([...(parents !== null && parents !== void 0 ? parents : []).map(x => x.path), block.path]);
|
|
280713
|
-
const result = [];
|
|
280714
|
-
let lastDescribeStatement;
|
|
280715
|
-
|
|
280716
|
-
for (const statement of block.statements) {
|
|
280717
|
-
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_4__.isFormulaStatement)(statement)) {
|
|
280718
|
-
lastDescribeStatement = undefined;
|
|
280719
|
-
}
|
|
280720
|
-
|
|
280721
|
-
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_4__.isEnsureStatement)(statement)) {
|
|
280722
|
-
result.push(generateKCXmlCondition(statement, matchPath, parentConditions, lastDescribeStatement));
|
|
280723
|
-
lastDescribeStatement = undefined;
|
|
280724
|
-
}
|
|
280725
|
-
|
|
280726
|
-
if (lastDescribeStatement != undefined) {
|
|
280727
|
-
throw new Error("Describe should be placed before assign of ensure statements");
|
|
280728
|
-
}
|
|
280729
|
-
|
|
280730
|
-
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_4__.isDescribeStatement)(statement)) {
|
|
280731
|
-
lastDescribeStatement = statement;
|
|
280732
|
-
}
|
|
280733
|
-
|
|
280734
|
-
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_4__.isConditionalStatement)(statement)) {
|
|
280735
|
-
result.push(generateConditionalConditions(statement, [...(parents !== null && parents !== void 0 ? parents : []), block], parentConditions));
|
|
280736
|
-
}
|
|
280737
|
-
|
|
280738
|
-
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_4__.isBlockStatement)(statement)) {
|
|
280739
|
-
result.push(generateBlockKCXmlConditions(statement, [...(parents !== null && parents !== void 0 ? parents : []), block], parentConditions));
|
|
280740
|
-
}
|
|
280741
|
-
}
|
|
280742
|
-
|
|
280743
|
-
return result.join("\n");
|
|
280744
|
-
}
|
|
280745
|
-
|
|
280746
|
-
function generateConditionalConditions(conditionalStatement, parents, parentConditions) {
|
|
280747
|
-
const matchPath = joinPaths([...(parents !== null && parents !== void 0 ? parents : []).map(x => x.path)]);
|
|
280748
|
-
const result = [];
|
|
280749
|
-
let lastDescribeStatement;
|
|
280750
|
-
|
|
280751
|
-
for (const x of conditionalStatement.statements) {
|
|
280752
|
-
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_4__.isEnsureStatement)(x)) {
|
|
280753
|
-
result.push(generateKCXmlCondition(x, matchPath, [...(parentConditions !== null && parentConditions !== void 0 ? parentConditions : []), conditionalStatement], lastDescribeStatement));
|
|
280754
|
-
lastDescribeStatement = undefined;
|
|
280755
|
-
}
|
|
280756
|
-
|
|
280757
|
-
if (lastDescribeStatement != undefined) {
|
|
280758
|
-
throw new Error("Describe should be placed before assign of ensure statements");
|
|
280759
|
-
}
|
|
280760
|
-
|
|
280761
|
-
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_4__.isDescribeStatement)(x)) {
|
|
280762
|
-
lastDescribeStatement = x;
|
|
280763
|
-
}
|
|
280764
|
-
|
|
280765
|
-
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_4__.isConditionalStatement)(x)) {
|
|
280766
|
-
result.push(generateConditionalConditions(x, parents, [...(parentConditions !== null && parentConditions !== void 0 ? parentConditions : []), conditionalStatement]));
|
|
280767
|
-
}
|
|
280768
|
-
|
|
280769
|
-
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_4__.isBlockStatement)(x)) {
|
|
280770
|
-
result.push(generateBlockKCXmlConditions(x, parents, [...(parentConditions !== null && parentConditions !== void 0 ? parentConditions : []), conditionalStatement]));
|
|
280771
|
-
}
|
|
280772
|
-
}
|
|
280773
|
-
|
|
280774
|
-
return result.join("\n");
|
|
280775
|
-
}
|
|
280776
|
-
|
|
280777
|
-
function generateKCXmlFormulas(blocks) {
|
|
280778
|
-
const formulas = Iterator.from(blocks).map(generateBlockKCXmlFormulas).toArray();
|
|
280779
|
-
|
|
280780
|
-
if (formulas.filter(x => x !== "").length > 0) {
|
|
280781
|
-
return `<m:formulas>\n` + (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(formulas.join("\n"), 1) + "\n" + `</m:formulas>\n`;
|
|
280782
|
-
} else {
|
|
280783
|
-
return "";
|
|
280784
|
-
}
|
|
280785
|
-
}
|
|
280786
|
-
|
|
280787
|
-
function generateKCXmlConditions(blocks) {
|
|
280788
|
-
const conditions = Iterator.from(blocks).map(generateBlockKCXmlConditions).toArray();
|
|
280789
|
-
|
|
280790
|
-
if (conditions.filter(x => x !== "").length > 0) {
|
|
280791
|
-
return `<m:conditions>\n` + (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(conditions.join("\n"), 1) + "\n" + `</m:conditions>\n`;
|
|
280792
|
-
} else {
|
|
280793
|
-
return "";
|
|
280794
|
-
}
|
|
280795
|
-
}
|
|
280796
|
-
|
|
280797
|
-
function generateKCXml(blocks) {
|
|
280798
|
-
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>`;
|
|
280799
|
-
}
|
|
280800
|
-
|
|
280801
|
-
class KCLangToXmlTranspiler {
|
|
280802
|
-
static transpile(kcLang, customParser) {
|
|
280803
|
-
const parser = customParser !== null && customParser !== void 0 ? customParser : _Antlr_KCLangAntlrParser__WEBPACK_IMPORTED_MODULE_6__.KCLangAntlrParser.parse;
|
|
280804
|
-
const kcxml = generateKCXml(parser(kcLang).blocks);
|
|
280805
|
-
return kcxml;
|
|
280806
|
-
}
|
|
280807
|
-
|
|
280808
|
-
}
|
|
280809
|
-
function kclang(str) {
|
|
280810
|
-
return KCLangToXmlTranspiler.transpile(str.join(""));
|
|
280811
|
-
}
|
|
280812
|
-
|
|
280813
|
-
/***/ }),
|
|
280814
|
-
|
|
280815
|
-
/***/ "./Generator/src/common/KCLang/Utils.ts":
|
|
280816
|
-
/*!**********************************************!*\
|
|
280817
|
-
!*** ./Generator/src/common/KCLang/Utils.ts ***!
|
|
280818
|
-
\**********************************************/
|
|
280819
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
280820
|
-
|
|
280821
|
-
"use strict";
|
|
280822
|
-
__webpack_require__.r(__webpack_exports__);
|
|
280823
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
280824
|
-
/* harmony export */ "indent": () => (/* binding */ indent)
|
|
280825
|
-
/* harmony export */ });
|
|
280826
|
-
function indent(str, count) {
|
|
280827
|
-
const indentStr = new Array(count * 2).fill(" ").join("");
|
|
280828
|
-
return str.split("\n").map(x => {
|
|
280829
|
-
if (x === "") {
|
|
280830
|
-
return x;
|
|
280831
|
-
}
|
|
280832
|
-
|
|
280833
|
-
return indentStr + x;
|
|
280834
|
-
}).join("\n");
|
|
280835
|
-
}
|
|
280836
|
-
|
|
280837
|
-
/***/ }),
|
|
280838
|
-
|
|
280839
280231
|
/***/ "./Generator/src/common/RequireContext/LoadDocumentationFileFormContext.ts":
|
|
280840
280232
|
/*!*********************************************************************************!*\
|
|
280841
280233
|
!*** ./Generator/src/common/RequireContext/LoadDocumentationFileFormContext.ts ***!
|
|
@@ -285009,6 +284401,50 @@ function convertHtmlCommentsToJsxComments(xmlString) {
|
|
|
285009
284401
|
|
|
285010
284402
|
/***/ }),
|
|
285011
284403
|
|
|
284404
|
+
/***/ "./Generator/src/generators/AttachmentPaths/AttachmentPathsGenerator.ts":
|
|
284405
|
+
/*!******************************************************************************!*\
|
|
284406
|
+
!*** ./Generator/src/generators/AttachmentPaths/AttachmentPathsGenerator.ts ***!
|
|
284407
|
+
\******************************************************************************/
|
|
284408
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
284409
|
+
|
|
284410
|
+
"use strict";
|
|
284411
|
+
__webpack_require__.r(__webpack_exports__);
|
|
284412
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
284413
|
+
/* harmony export */ "AttachmentPathsGenerator": () => (/* binding */ AttachmentPathsGenerator)
|
|
284414
|
+
/* harmony export */ });
|
|
284415
|
+
/* harmony import */ var _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../markupGenerator/Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
284416
|
+
/* harmony import */ var _markupGenerator_AllConverters__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../markupGenerator/AllConverters */ "./Generator/src/generators/markupGenerator/AllConverters.ts");
|
|
284417
|
+
/* harmony import */ var _Common_TypingUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../Common/TypingUtils */ "./Common/TypingUtils.ts");
|
|
284418
|
+
|
|
284419
|
+
|
|
284420
|
+
|
|
284421
|
+
class AttachmentPathsGenerator {
|
|
284422
|
+
generate(sugarNode) {
|
|
284423
|
+
var _getConverterByNodeCl;
|
|
284424
|
+
|
|
284425
|
+
(_getConverterByNodeCl = (0,_markupGenerator_AllConverters__WEBPACK_IMPORTED_MODULE_1__.getConverterByNodeClass)((0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.getNodeClass)(sugarNode))) !== null && _getConverterByNodeCl !== void 0 ? _getConverterByNodeCl : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_2__.reject)(`Converter for root node must be defined`);
|
|
284426
|
+
return Iterator.from(this.generateInternal(sugarNode)).map(x => x.toLegacyPath()).toArray();
|
|
284427
|
+
}
|
|
284428
|
+
|
|
284429
|
+
*generateInternal(sugarNode) {
|
|
284430
|
+
const converterType = (0,_markupGenerator_AllConverters__WEBPACK_IMPORTED_MODULE_1__.getConverterByNodeClass)((0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_0__.getNodeClass)(sugarNode));
|
|
284431
|
+
|
|
284432
|
+
if (converterType == undefined) {
|
|
284433
|
+
return;
|
|
284434
|
+
}
|
|
284435
|
+
|
|
284436
|
+
const converter = new converterType(sugarNode);
|
|
284437
|
+
yield* converter.getAttachmentPaths();
|
|
284438
|
+
|
|
284439
|
+
for (const child of converter.traverseChildren()) {
|
|
284440
|
+
yield* this.generateInternal(child);
|
|
284441
|
+
}
|
|
284442
|
+
}
|
|
284443
|
+
|
|
284444
|
+
}
|
|
284445
|
+
|
|
284446
|
+
/***/ }),
|
|
284447
|
+
|
|
285012
284448
|
/***/ "./Generator/src/generators/AutoCalculationsGenerator/AdditionalAutoCalculationParser.ts":
|
|
285013
284449
|
/*!***********************************************************************************************!*\
|
|
285014
284450
|
!*** ./Generator/src/generators/AutoCalculationsGenerator/AdditionalAutoCalculationParser.ts ***!
|
|
@@ -286065,7 +285501,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
286065
285501
|
|
|
286066
285502
|
|
|
286067
285503
|
class FormulasAutoCalculationsGenerator {
|
|
286068
|
-
generate(
|
|
285504
|
+
generate(formulaContainer, schemaRng, dataDeclarationHelper) {
|
|
285505
|
+
const formulas = formulaContainer.formulas == undefined || formulaContainer.formulas.items == undefined ? [] : formulaContainer.formulas.items;
|
|
286069
285506
|
const formulaAutoCalculations = formulas.map(formula => this.buildFormulaAutoCalculation(formula, schemaRng, dataDeclarationHelper)).flat();
|
|
286070
285507
|
return this.mergeFormulaAutoCalculations(formulaAutoCalculations);
|
|
286071
285508
|
}
|
|
@@ -286791,73 +286228,35 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
286791
286228
|
/* harmony export */ });
|
|
286792
286229
|
/* harmony import */ var _common_XmlParser_XmlParser__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../common/XmlParser/XmlParser */ "./Generator/src/common/XmlParser/XmlParser.ts");
|
|
286793
286230
|
/* harmony import */ var _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../markupGenerator/Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
286794
|
-
/* harmony import */ var
|
|
286795
|
-
/* harmony import */ var _Formula__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Formula */ "./Generator/src/generators/AutoCalculationsGenerator/AutoCalculationsFromFormulas/KCXmlContract/Formula.ts");
|
|
286796
|
-
|
|
286231
|
+
/* harmony import */ var _Formula__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Formula */ "./Generator/src/generators/AutoCalculationsGenerator/AutoCalculationsFromFormulas/KCXmlContract/Formula.ts");
|
|
286797
286232
|
|
|
286798
286233
|
|
|
286799
286234
|
|
|
286800
286235
|
class FormulaReader {
|
|
286801
|
-
readFormulas(
|
|
286236
|
+
readFormulas(kcxmlSource) {
|
|
286802
286237
|
const serializer = this.createFormulaSerializer();
|
|
286803
|
-
const result =
|
|
286804
|
-
|
|
286805
|
-
for (const kcxmlSource of kcxmlSources) {
|
|
286806
|
-
const rootNode = serializer.deserializeFromSugarXmlNode((0,_common_XmlParser_XmlParser__WEBPACK_IMPORTED_MODULE_0__.parseXml)(kcxmlSource));
|
|
286238
|
+
const result = serializer.deserializeFromSugarXmlNode((0,_common_XmlParser_XmlParser__WEBPACK_IMPORTED_MODULE_0__.parseXml)(kcxmlSource));
|
|
286807
286239
|
|
|
286808
|
-
|
|
286809
|
-
|
|
286810
|
-
|
|
286811
|
-
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 : []));
|
|
286812
|
-
}
|
|
286813
|
-
}
|
|
286814
|
-
|
|
286815
|
-
for (const kclangSource of kclangSources) {
|
|
286816
|
-
const rootNode = serializer.deserializeFromSugarXmlNode((0,_common_XmlParser_XmlParser__WEBPACK_IMPORTED_MODULE_0__.parseXml)(_common_KCLang_KCLangToXmlTranspiler__WEBPACK_IMPORTED_MODULE_2__.KCLangToXmlTranspiler.transpile(kclangSource)));
|
|
286817
|
-
|
|
286818
|
-
if (rootNode instanceof _Formula__WEBPACK_IMPORTED_MODULE_3__.MathContainer) {
|
|
286819
|
-
var _rootNode$formulas$it2, _rootNode$formulas2;
|
|
286820
|
-
|
|
286821
|
-
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 : []));
|
|
286822
|
-
}
|
|
286240
|
+
if (result instanceof _Formula__WEBPACK_IMPORTED_MODULE_2__.DummyContent) {
|
|
286241
|
+
return this.createEmptyMathContainer();
|
|
286823
286242
|
}
|
|
286824
286243
|
|
|
286825
286244
|
return result;
|
|
286826
286245
|
}
|
|
286827
286246
|
|
|
286828
|
-
|
|
286829
|
-
const
|
|
286830
|
-
|
|
286831
|
-
|
|
286832
|
-
|
|
286833
|
-
const rootNode = serializer.deserializeFromSugarXmlNode((0,_common_XmlParser_XmlParser__WEBPACK_IMPORTED_MODULE_0__.parseXml)(kcxmlSource));
|
|
286834
|
-
|
|
286835
|
-
if (rootNode instanceof _Formula__WEBPACK_IMPORTED_MODULE_3__.MathContainer) {
|
|
286836
|
-
var _rootNode$conditions$, _rootNode$conditions;
|
|
286837
|
-
|
|
286838
|
-
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$ : []));
|
|
286839
|
-
}
|
|
286840
|
-
}
|
|
286841
|
-
|
|
286842
|
-
for (const kclangSource of kclangSources) {
|
|
286843
|
-
const rootNode = serializer.deserializeFromSugarXmlNode((0,_common_XmlParser_XmlParser__WEBPACK_IMPORTED_MODULE_0__.parseXml)(_common_KCLang_KCLangToXmlTranspiler__WEBPACK_IMPORTED_MODULE_2__.KCLangToXmlTranspiler.transpile(kclangSource)));
|
|
286844
|
-
|
|
286845
|
-
if (rootNode instanceof _Formula__WEBPACK_IMPORTED_MODULE_3__.MathContainer) {
|
|
286846
|
-
var _rootNode$conditions$2, _rootNode$conditions2;
|
|
286847
|
-
|
|
286848
|
-
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 : []));
|
|
286849
|
-
}
|
|
286850
|
-
}
|
|
286851
|
-
|
|
286852
|
-
return result;
|
|
286247
|
+
createEmptyMathContainer() {
|
|
286248
|
+
const mathContainer = new _Formula__WEBPACK_IMPORTED_MODULE_2__.MathContainer();
|
|
286249
|
+
mathContainer.formulas = new _Formula__WEBPACK_IMPORTED_MODULE_2__.Formulas();
|
|
286250
|
+
mathContainer.formulas.items = [];
|
|
286251
|
+
return mathContainer;
|
|
286853
286252
|
}
|
|
286854
286253
|
|
|
286855
286254
|
createFormulaSerializer() {
|
|
286856
286255
|
const result = new _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.SugarSerializer();
|
|
286857
|
-
result.registerNode(
|
|
286858
|
-
result.registerNode(
|
|
286256
|
+
result.registerNode(_Formula__WEBPACK_IMPORTED_MODULE_2__.DummyContent);
|
|
286257
|
+
result.registerNode(_Formula__WEBPACK_IMPORTED_MODULE_2__.MathContainer);
|
|
286859
286258
|
|
|
286860
|
-
for (const formulaExpression of
|
|
286259
|
+
for (const formulaExpression of _Formula__WEBPACK_IMPORTED_MODULE_2__.formulaExpressions) {
|
|
286861
286260
|
result.registerNode(formulaExpression);
|
|
286862
286261
|
}
|
|
286863
286262
|
|
|
@@ -287149,6 +286548,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
287149
286548
|
/* harmony import */ var _Common_TypingUtils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../Common/TypingUtils */ "./Common/TypingUtils.ts");
|
|
287150
286549
|
/* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
|
|
287151
286550
|
/* harmony import */ var _markupGenerator_getBindingPath__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../markupGenerator/getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
|
|
286551
|
+
/* 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");
|
|
286552
|
+
|
|
287152
286553
|
|
|
287153
286554
|
|
|
287154
286555
|
|
|
@@ -287223,7 +286624,7 @@ class DataDeclarationGenerationContext {
|
|
|
287223
286624
|
return this.mergeDataDeclaration(...childrenDataDeclaration);
|
|
287224
286625
|
}
|
|
287225
286626
|
|
|
287226
|
-
addVisibilityPathDeclEntryNew(node) {
|
|
286627
|
+
addVisibilityPathDeclEntryNew(node, requisite) {
|
|
287227
286628
|
var _node$parent;
|
|
287228
286629
|
|
|
287229
286630
|
if (node.visibilityPath == undefined || node.visibilityPath === "") {
|
|
@@ -287231,10 +286632,10 @@ class DataDeclarationGenerationContext {
|
|
|
287231
286632
|
}
|
|
287232
286633
|
|
|
287233
286634
|
const declEntry = {};
|
|
287234
|
-
const nodePath = ((_node$parent = node.parent) !== null && _node$parent !== void 0 ? _node$parent : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_5__.reject)()).getFullPathForChildren().joinWith(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.ModelPath.createFromMask(node.visibilityPath, "auto", _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.PathTokens.each))
|
|
287235
|
-
declEntry.section = this.getSections(node
|
|
286635
|
+
const nodePath = ((_node$parent = node.parent) !== null && _node$parent !== void 0 ? _node$parent : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_5__.reject)()).getFullPathForChildren().joinWith(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.ModelPath.createFromMask(node.visibilityPath, "auto", _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.PathTokens.each));
|
|
286636
|
+
declEntry.section = this.getSections(node, requisite);
|
|
287236
286637
|
return {
|
|
287237
|
-
[nodePath]: declEntry
|
|
286638
|
+
[nodePath.normalize().toLegacyPath()]: declEntry
|
|
287238
286639
|
};
|
|
287239
286640
|
}
|
|
287240
286641
|
|
|
@@ -287274,20 +286675,18 @@ class DataDeclarationGenerationContext {
|
|
|
287274
286675
|
};
|
|
287275
286676
|
}
|
|
287276
286677
|
|
|
287277
|
-
addPathSectionDeclarationEntry(sugarNode, skipRequisitesSection = false) {
|
|
286678
|
+
addPathSectionDeclarationEntry(sugarNode, requisite, skipRequisitesSection = false) {
|
|
287278
286679
|
const declEntry = {};
|
|
287279
286680
|
const requisitesMode = skipRequisitesSection ? RequisiteSectionMode.ForceSkip : RequisiteSectionMode.AsRequisiteAttribute;
|
|
287280
|
-
declEntry.section = this.getSections(sugarNode
|
|
286681
|
+
declEntry.section = this.getSections(sugarNode, requisite, requisitesMode);
|
|
287281
286682
|
return {
|
|
287282
286683
|
[(0,_markupGenerator_getBindingPath__WEBPACK_IMPORTED_MODULE_7__.getResolvedBindingPath)(sugarNode)]: declEntry
|
|
287283
286684
|
};
|
|
287284
|
-
return {};
|
|
287285
286685
|
}
|
|
287286
286686
|
|
|
287287
|
-
addChildPathSectionDeclarationEntry(sugarNode, childPath,
|
|
286687
|
+
addChildPathSectionDeclarationEntry(sugarNode, childPath, requisite) {
|
|
287288
286688
|
const declEntry = {};
|
|
287289
|
-
|
|
287290
|
-
declEntry.section = this.getSections(sugarNode.sourceXmlNode, requisitesMode);
|
|
286689
|
+
declEntry.section = this.getSections(sugarNode, requisite);
|
|
287291
286690
|
|
|
287292
286691
|
if ((0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.isModelPath)(childPath)) {
|
|
287293
286692
|
return {
|
|
@@ -287305,13 +286704,13 @@ class DataDeclarationGenerationContext {
|
|
|
287305
286704
|
return lodash_mergewith__WEBPACK_IMPORTED_MODULE_0___default()({}, ...items.filter(x => Boolean(x)), this.declarationCustomizer);
|
|
287306
286705
|
}
|
|
287307
286706
|
|
|
287308
|
-
addChildrenPathDeclEntry(node, pathAttr, optional) {
|
|
286707
|
+
addChildrenPathDeclEntry(node, pathAttr, optional, requisite) {
|
|
287309
286708
|
if (pathAttr && pathAttr.includes("*")) {
|
|
287310
286709
|
const declEntry = {};
|
|
287311
286710
|
const childrenIndex = (0,_markupGenerator_getBindingPath__WEBPACK_IMPORTED_MODULE_7__.getResolvedBindingPath)(node).lastIndexOf("*");
|
|
287312
286711
|
const childrenPath = (0,_markupGenerator_getBindingPath__WEBPACK_IMPORTED_MODULE_7__.getResolvedBindingPath)(node).slice(0, childrenIndex - 1);
|
|
287313
286712
|
declEntry.children = this.initSequenceFactory.children(optional);
|
|
287314
|
-
declEntry.section = this.getSections(node
|
|
286713
|
+
declEntry.section = this.getSections(node, requisite);
|
|
287315
286714
|
return {
|
|
287316
286715
|
[childrenPath]: declEntry
|
|
287317
286716
|
};
|
|
@@ -287320,7 +286719,7 @@ class DataDeclarationGenerationContext {
|
|
|
287320
286719
|
return {};
|
|
287321
286720
|
}
|
|
287322
286721
|
|
|
287323
|
-
addChildrenPathDeclEntryForChild(node, optional, pathAttrValue, childPath) {
|
|
286722
|
+
addChildrenPathDeclEntryForChild(node, optional, pathAttrValue, childPath, requisite) {
|
|
287324
286723
|
const pathAttr = (pathAttrValue !== null && pathAttrValue !== void 0 ? pathAttrValue : "") + "/" + childPath;
|
|
287325
286724
|
|
|
287326
286725
|
if (pathAttr && pathAttr.includes("*")) {
|
|
@@ -287329,7 +286728,7 @@ class DataDeclarationGenerationContext {
|
|
|
287329
286728
|
const childrenIndex = resolvedBindingPath.lastIndexOf("*");
|
|
287330
286729
|
const childrenPath = resolvedBindingPath.slice(0, childrenIndex - 1);
|
|
287331
286730
|
declEntry.children = this.initSequenceFactory.children(optional);
|
|
287332
|
-
declEntry.section = this.getSections(node
|
|
286731
|
+
declEntry.section = this.getSections(node, requisite);
|
|
287333
286732
|
return {
|
|
287334
286733
|
[childrenPath]: declEntry
|
|
287335
286734
|
};
|
|
@@ -287338,33 +286737,27 @@ class DataDeclarationGenerationContext {
|
|
|
287338
286737
|
return {};
|
|
287339
286738
|
}
|
|
287340
286739
|
|
|
287341
|
-
getSections(node, requisite = RequisiteSectionMode.AsRequisiteAttribute) {
|
|
287342
|
-
const page = node.
|
|
287343
|
-
|
|
287344
|
-
|
|
287345
|
-
if (node.name !== "page") {
|
|
287346
|
-
if (page != undefined) {
|
|
287347
|
-
pageName = page.attrAsString("id");
|
|
286740
|
+
getSections(node, requisite, requisiteMode = RequisiteSectionMode.AsRequisiteAttribute) {
|
|
286741
|
+
const page = node instanceof _markupGenerator_ElementProcessors_FormParts_Page_PageNode__WEBPACK_IMPORTED_MODULE_8__.PageNode ? node : node.findParentOfType(_markupGenerator_ElementProcessors_FormParts_Page_PageNode__WEBPACK_IMPORTED_MODULE_8__.PageNode);
|
|
286742
|
+
const pageName = page === null || page === void 0 ? void 0 : page.id;
|
|
287348
286743
|
|
|
287349
|
-
|
|
287350
|
-
|
|
287351
|
-
|
|
287352
|
-
}
|
|
287353
|
-
}
|
|
286744
|
+
if (!(node instanceof _markupGenerator_ElementProcessors_FormParts_Page_PageNode__WEBPACK_IMPORTED_MODULE_8__.PageNode)) {
|
|
286745
|
+
if (page != undefined && page.multiple) {
|
|
286746
|
+
return [{
|
|
286747
|
+
fn: `#getSectionFunction('${pageName}')#`
|
|
286748
|
+
}];
|
|
287354
286749
|
}
|
|
287355
|
-
} else {
|
|
287356
|
-
pageName = node.attrAsString("id");
|
|
287357
286750
|
}
|
|
287358
286751
|
|
|
287359
286752
|
const sections = pageName != undefined ? [pageName] : [];
|
|
287360
286753
|
|
|
287361
|
-
if (
|
|
287362
|
-
if (
|
|
286754
|
+
if (requisiteMode === RequisiteSectionMode.AsRequisiteAttribute) {
|
|
286755
|
+
if (requisite) {
|
|
287363
286756
|
sections.push(_Common_CommonConstants_SectionNames__WEBPACK_IMPORTED_MODULE_4__.SectionNames.requisitesSection);
|
|
287364
286757
|
}
|
|
287365
286758
|
}
|
|
287366
286759
|
|
|
287367
|
-
if (
|
|
286760
|
+
if (requisiteMode === RequisiteSectionMode.ForceAdd) {
|
|
287368
286761
|
sections.push(_Common_CommonConstants_SectionNames__WEBPACK_IMPORTED_MODULE_4__.SectionNames.requisitesSection);
|
|
287369
286762
|
}
|
|
287370
286763
|
|
|
@@ -287405,19 +286798,18 @@ class DataDeclarationGenerationContext {
|
|
|
287405
286798
|
}
|
|
287406
286799
|
|
|
287407
286800
|
addCustomControlPathDeclEntry(sugarNode, customControl) {
|
|
287408
|
-
const node = sugarNode.sourceXmlNode;
|
|
287409
286801
|
const declEntry = {};
|
|
287410
|
-
declEntry["value"] = this.initSequenceFactory.
|
|
286802
|
+
declEntry["value"] = this.initSequenceFactory.dataValue(sugarNode, sugarNode.disabled);
|
|
287411
286803
|
|
|
287412
|
-
if (
|
|
286804
|
+
if (sugarNode.optional) {
|
|
287413
286805
|
declEntry.optional = [true];
|
|
287414
286806
|
}
|
|
287415
286807
|
|
|
287416
|
-
if (
|
|
286808
|
+
if (sugarNode.disabled) {
|
|
287417
286809
|
declEntry.disabled = [true];
|
|
287418
286810
|
}
|
|
287419
286811
|
|
|
287420
|
-
declEntry.section = this.getSections(sugarNode.
|
|
286812
|
+
declEntry.section = this.getSections(sugarNode, sugarNode.requisite);
|
|
287421
286813
|
return {
|
|
287422
286814
|
[(0,_markupGenerator_getBindingPath__WEBPACK_IMPORTED_MODULE_7__.getResolvedBindingPath)(sugarNode)]: declEntry
|
|
287423
286815
|
};
|
|
@@ -287642,151 +287034,56 @@ class DataDeclarationInitSourceSequenceFactory {
|
|
|
287642
287034
|
this.fetchFunctions = fetchFunctions;
|
|
287643
287035
|
}
|
|
287644
287036
|
|
|
287645
|
-
|
|
287646
|
-
var
|
|
287647
|
-
|
|
287648
|
-
const fetchFn = this.fetchFunctions.getFetchFunction(node.attr("fetchfn"), "value");
|
|
287649
|
-
const result = [];
|
|
287650
|
-
|
|
287651
|
-
if (!node.boolAttr("disabled") && !node.boolAttr("settings")) {
|
|
287652
|
-
result.push({
|
|
287653
|
-
model: true
|
|
287654
|
-
});
|
|
287655
|
-
}
|
|
287656
|
-
|
|
287657
|
-
if (fetchFn) {
|
|
287658
|
-
result.push({
|
|
287659
|
-
fn: fetchFn
|
|
287660
|
-
});
|
|
287661
|
-
}
|
|
287037
|
+
dataValue(node, disabled, defaultValue) {
|
|
287038
|
+
var _ref3;
|
|
287662
287039
|
|
|
287663
|
-
if (node.
|
|
287664
|
-
|
|
287665
|
-
model: true
|
|
287666
|
-
});
|
|
287667
|
-
}
|
|
287668
|
-
|
|
287669
|
-
result.push((_node$attrAsString = node.attrAsString("defaultValue")) !== null && _node$attrAsString !== void 0 ? _node$attrAsString : "");
|
|
287670
|
-
return result;
|
|
287671
|
-
}
|
|
287672
|
-
|
|
287673
|
-
checkboxValue(node) {
|
|
287674
|
-
var _node$dataBinding$def;
|
|
287675
|
-
|
|
287676
|
-
let defaultValue = (_node$dataBinding$def = node.dataBinding.defaultValue) !== null && _node$dataBinding$def !== void 0 ? _node$dataBinding$def : "";
|
|
287677
|
-
|
|
287678
|
-
if (defaultValue) {
|
|
287679
|
-
if (defaultValue === "checked") {
|
|
287680
|
-
var _node$checkedValue;
|
|
287681
|
-
|
|
287682
|
-
defaultValue = (_node$checkedValue = node.checkedValue) !== null && _node$checkedValue !== void 0 ? _node$checkedValue : true;
|
|
287683
|
-
} else {
|
|
287684
|
-
var _node$uncheckedValue;
|
|
287685
|
-
|
|
287686
|
-
defaultValue = (_node$uncheckedValue = node.uncheckedValue) !== null && _node$uncheckedValue !== void 0 ? _node$uncheckedValue : false;
|
|
287687
|
-
}
|
|
287688
|
-
}
|
|
287689
|
-
|
|
287690
|
-
const fetchFn = this.fetchFunctions.getFetchFunction(node.dataBinding.fetchfn, "value");
|
|
287691
|
-
const result = [];
|
|
287692
|
-
|
|
287693
|
-
if (!node.dataBinding.settings) {
|
|
287694
|
-
result.push({
|
|
287695
|
-
model: true
|
|
287696
|
-
});
|
|
287697
|
-
}
|
|
287698
|
-
|
|
287699
|
-
if (fetchFn) {
|
|
287700
|
-
result.push({
|
|
287701
|
-
fn: fetchFn
|
|
287702
|
-
});
|
|
287703
|
-
}
|
|
287704
|
-
|
|
287705
|
-
if (node.dataBinding.settings) {
|
|
287706
|
-
result.push({
|
|
287707
|
-
model: true
|
|
287708
|
-
});
|
|
287709
|
-
}
|
|
287710
|
-
|
|
287711
|
-
result.push(defaultValue);
|
|
287712
|
-
return result;
|
|
287713
|
-
}
|
|
287714
|
-
|
|
287715
|
-
dataValue(node, disabled) {
|
|
287716
|
-
var _node$defaultValue;
|
|
287717
|
-
|
|
287718
|
-
const defaultValue = (_node$defaultValue = node.defaultValue) !== null && _node$defaultValue !== void 0 ? _node$defaultValue : "";
|
|
287719
|
-
const fetchFn = this.fetchFunctions.getFetchFunction(node.fetchfn, "value");
|
|
287720
|
-
const result = [];
|
|
287040
|
+
if (node.settings) {
|
|
287041
|
+
var _ref;
|
|
287721
287042
|
|
|
287722
|
-
|
|
287723
|
-
result.push({
|
|
287724
|
-
model: true
|
|
287725
|
-
});
|
|
287043
|
+
return [...this.takeFromFetchFunctionIfExists(node.fetchfn, "value"), ...this.takeFromModel(), ...this.setValueUnconditionally((_ref = defaultValue !== null && defaultValue !== void 0 ? defaultValue : node.defaultValue) !== null && _ref !== void 0 ? _ref : "")];
|
|
287726
287044
|
}
|
|
287727
287045
|
|
|
287728
|
-
if (
|
|
287729
|
-
|
|
287730
|
-
fn: fetchFn
|
|
287731
|
-
});
|
|
287732
|
-
}
|
|
287046
|
+
if (disabled) {
|
|
287047
|
+
var _ref2;
|
|
287733
287048
|
|
|
287734
|
-
|
|
287735
|
-
result.push({
|
|
287736
|
-
model: true
|
|
287737
|
-
});
|
|
287049
|
+
return [...this.takeFromFetchFunctionIfExists(node.fetchfn, "value"), ...this.setValueUnconditionally((_ref2 = defaultValue !== null && defaultValue !== void 0 ? defaultValue : node.defaultValue) !== null && _ref2 !== void 0 ? _ref2 : "")];
|
|
287738
287050
|
}
|
|
287739
287051
|
|
|
287740
|
-
|
|
287741
|
-
return result;
|
|
287742
|
-
}
|
|
287743
|
-
|
|
287744
|
-
takeFromModel() {
|
|
287745
|
-
return [{
|
|
287746
|
-
model: true
|
|
287747
|
-
}];
|
|
287052
|
+
return [...this.takeFromModel(), ...this.takeFromFetchFunctionIfExists(node.fetchfn, "value"), ...this.setValueUnconditionally((_ref3 = defaultValue !== null && defaultValue !== void 0 ? defaultValue : node.defaultValue) !== null && _ref3 !== void 0 ? _ref3 : "")];
|
|
287748
287053
|
}
|
|
287749
287054
|
|
|
287750
287055
|
takeFromFetchFunctionOrDefault(fetchFnName, fieldName, defaultValue) {
|
|
287751
|
-
|
|
287752
|
-
return [{
|
|
287753
|
-
fn: fetchFn
|
|
287754
|
-
}, defaultValue !== null && defaultValue !== void 0 ? defaultValue : ""];
|
|
287056
|
+
return [...this.takeFromFetchFunction(fetchFnName, fieldName), ...this.setValueUnconditionally(defaultValue !== null && defaultValue !== void 0 ? defaultValue : "")];
|
|
287755
287057
|
}
|
|
287756
287058
|
|
|
287757
287059
|
takeFromModelOrDefaultValue(defaultValue) {
|
|
287758
|
-
return [
|
|
287759
|
-
model: true
|
|
287760
|
-
}, defaultValue !== null && defaultValue !== void 0 ? defaultValue : ""];
|
|
287060
|
+
return [...this.takeFromModel(), ...this.setValueUnconditionally(defaultValue !== null && defaultValue !== void 0 ? defaultValue : "")];
|
|
287761
287061
|
}
|
|
287762
287062
|
|
|
287763
287063
|
children(optional, defaultChildren) {
|
|
287764
|
-
return [
|
|
287765
|
-
model: true
|
|
287766
|
-
}, defaultChildren !== null && defaultChildren !== void 0 ? defaultChildren : optional ? [] : ["0"]];
|
|
287064
|
+
return [...this.takeFromModel(), ...this.setValueUnconditionally(defaultChildren !== null && defaultChildren !== void 0 ? defaultChildren : optional ? [] : ["0"])];
|
|
287767
287065
|
}
|
|
287768
287066
|
|
|
287769
287067
|
takeFromModelOrFetchFn(fieldName, fetchFnName) {
|
|
287770
|
-
|
|
287771
|
-
return fetchFn ? [{
|
|
287772
|
-
model: true
|
|
287773
|
-
}, {
|
|
287774
|
-
fn: fetchFn
|
|
287775
|
-
}] : [{
|
|
287776
|
-
model: true
|
|
287777
|
-
}];
|
|
287068
|
+
return [...this.takeFromModel(), ...this.takeFromFetchFunctionIfExists(fetchFnName, fieldName)];
|
|
287778
287069
|
}
|
|
287779
287070
|
|
|
287780
287071
|
disabled() {
|
|
287781
|
-
return [
|
|
287782
|
-
model: true
|
|
287783
|
-
}, false];
|
|
287072
|
+
return [...this.takeFromModel(), ...this.setValueUnconditionally(false)];
|
|
287784
287073
|
}
|
|
287785
287074
|
|
|
287786
287075
|
visible() {
|
|
287076
|
+
return [...this.takeFromModel(), ...this.setValueUnconditionally(true)];
|
|
287077
|
+
}
|
|
287078
|
+
|
|
287079
|
+
setValueUnconditionally(value) {
|
|
287080
|
+
return [value];
|
|
287081
|
+
}
|
|
287082
|
+
|
|
287083
|
+
takeFromModel() {
|
|
287787
287084
|
return [{
|
|
287788
287085
|
model: true
|
|
287789
|
-
}
|
|
287086
|
+
}];
|
|
287790
287087
|
}
|
|
287791
287088
|
|
|
287792
287089
|
takeFromFetchFunction(fetchFnName, fieldName) {
|
|
@@ -287796,6 +287093,18 @@ class DataDeclarationInitSourceSequenceFactory {
|
|
|
287796
287093
|
}];
|
|
287797
287094
|
}
|
|
287798
287095
|
|
|
287096
|
+
takeFromFetchFunctionIfExists(fetchFnName, fieldName) {
|
|
287097
|
+
const fetchFn = this.fetchFunctions.getFetchFunction(fetchFnName, fieldName);
|
|
287098
|
+
|
|
287099
|
+
if (fetchFn) {
|
|
287100
|
+
return [{
|
|
287101
|
+
fn: fetchFn
|
|
287102
|
+
}];
|
|
287103
|
+
}
|
|
287104
|
+
|
|
287105
|
+
return [];
|
|
287106
|
+
}
|
|
287107
|
+
|
|
287799
287108
|
}
|
|
287800
287109
|
|
|
287801
287110
|
/***/ }),
|
|
@@ -288562,9 +287871,11 @@ class KCXmlValidationGenerator {
|
|
|
288562
287871
|
const conditionReader = new _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_FormulaReader__WEBPACK_IMPORTED_MODULE_2__.FormulaReader();
|
|
288563
287872
|
|
|
288564
287873
|
for (const file of importedKcXmlValidations) {
|
|
288565
|
-
const
|
|
287874
|
+
const math = conditionReader.readFormulas(file);
|
|
287875
|
+
|
|
287876
|
+
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 : []) {
|
|
287877
|
+
var _math$conditions$item, _math$conditions;
|
|
288566
287878
|
|
|
288567
|
-
for (const condition of conditions) {
|
|
288568
287879
|
compiledConditions.push(this.compileCondition(condition));
|
|
288569
287880
|
}
|
|
288570
287881
|
}
|
|
@@ -288714,6 +288025,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
288714
288025
|
/* harmony import */ var _RequisiteLIst_requisiteList__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./RequisiteLIst/requisiteList */ "./Generator/src/generators/RequisiteLIst/requisiteList.ts");
|
|
288715
288026
|
/* harmony import */ var _ServerSideFLangNormalization_NormalizationRulesGenerator__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./ServerSideFLangNormalization/NormalizationRulesGenerator */ "./Generator/src/generators/ServerSideFLangNormalization/NormalizationRulesGenerator.ts");
|
|
288716
288027
|
/* harmony import */ var _DataDeclarationGenerator_DataDeclarationGenerationTimeHelper__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./DataDeclarationGenerator/DataDeclarationGenerationTimeHelper */ "./Generator/src/generators/DataDeclarationGenerator/DataDeclarationGenerationTimeHelper.ts");
|
|
288028
|
+
/* harmony import */ var _AttachmentPaths_AttachmentPathsGenerator__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./AttachmentPaths/AttachmentPathsGenerator */ "./Generator/src/generators/AttachmentPaths/AttachmentPathsGenerator.ts");
|
|
288029
|
+
|
|
288717
288030
|
|
|
288718
288031
|
|
|
288719
288032
|
|
|
@@ -288747,7 +288060,7 @@ function processSugar(formSugarContent, additionalContent, generationOptions) {
|
|
|
288747
288060
|
const sugarAst = (0,_common_SugarXmlParser_SugarParser__WEBPACK_IMPORTED_MODULE_4__.parseSugar)(formSugarContent, additionalContent.preprocessor || {});
|
|
288748
288061
|
const serializer = (0,_markupGenerator_SugarNodes_DefaultSugarSerializer__WEBPACK_IMPORTED_MODULE_12__.createDefaultSugarSerializer)();
|
|
288749
288062
|
const sugarRoot = (0,_markupGenerator_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_13__.strictCastNode)(serializer.deserializeFromSugarXmlNode(sugarAst), _markupGenerator_ElementProcessors_FormParts_Form_FormNode__WEBPACK_IMPORTED_MODULE_10__.FormNode);
|
|
288750
|
-
const formulas = new _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_FormulaReader__WEBPACK_IMPORTED_MODULE_16__.FormulaReader().readFormulas(additionalContent.kcJsXmlContent
|
|
288063
|
+
const formulas = new _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_FormulaReader__WEBPACK_IMPORTED_MODULE_16__.FormulaReader().readFormulas(additionalContent.kcJsXmlContent);
|
|
288751
288064
|
const schemaRng = (0,_common_XmlParser_XmlParser__WEBPACK_IMPORTED_MODULE_5__.parseXml)(additionalContent.schemaRngContent);
|
|
288752
288065
|
const formSchemaRng = _common_SchemaRng_FormSchemaRng__WEBPACK_IMPORTED_MODULE_3__.FormSchemaRng.createFromSchemaRng(additionalContent.schemaRngContent);
|
|
288753
288066
|
const typeRegistry = (0,_validationGenerator_TypesRegistry__WEBPACK_IMPORTED_MODULE_14__.buildTypesRegistry)(sugarRoot);
|
|
@@ -288780,6 +288093,9 @@ function processSugar(formSugarContent, additionalContent, generationOptions) {
|
|
|
288780
288093
|
builder.addServerSideResource("ServerSide.normalize", normalizationRules);
|
|
288781
288094
|
}
|
|
288782
288095
|
|
|
288096
|
+
const attachmentPathsGenerator = new _AttachmentPaths_AttachmentPathsGenerator__WEBPACK_IMPORTED_MODULE_26__.AttachmentPathsGenerator();
|
|
288097
|
+
const attachmentPaths = attachmentPathsGenerator.generate(sugarRoot);
|
|
288098
|
+
builder.addServerSideResource(`AttachmentPaths.json`, JSON.stringify(attachmentPaths));
|
|
288783
288099
|
const validationFunctionsContent = validationGenerator.generate();
|
|
288784
288100
|
builder.addResource("validationFunctions.js", validationFunctionsContent);
|
|
288785
288101
|
const importedKcXmlValidations = getImportedKcXmlValidations(sugarRoot, additionalContent);
|
|
@@ -288872,17 +288188,20 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
288872
288188
|
/* harmony import */ var fs__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(fs__WEBPACK_IMPORTED_MODULE_0__);
|
|
288873
288189
|
/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! path */ "path");
|
|
288874
288190
|
/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(path__WEBPACK_IMPORTED_MODULE_1__);
|
|
288875
|
-
/* harmony import */ var
|
|
288876
|
-
/* harmony import */ var
|
|
288877
|
-
/* harmony import */ var
|
|
288878
|
-
/* harmony import */ var
|
|
288879
|
-
/* harmony import */ var
|
|
288880
|
-
/* harmony import */ var
|
|
288881
|
-
/* harmony import */ var
|
|
288882
|
-
/* harmony import */ var
|
|
288883
|
-
/* harmony import */ var
|
|
288884
|
-
/* harmony import */ var
|
|
288885
|
-
/* harmony import */ var
|
|
288191
|
+
/* harmony import */ var util__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! util */ "util");
|
|
288192
|
+
/* harmony import */ var util__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(util__WEBPACK_IMPORTED_MODULE_2__);
|
|
288193
|
+
/* harmony import */ var chalk__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! chalk */ "./node_modules/chalk/source/index.js");
|
|
288194
|
+
/* harmony import */ var chalk__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(chalk__WEBPACK_IMPORTED_MODULE_3__);
|
|
288195
|
+
/* harmony import */ var fs_extra__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! fs-extra */ "./node_modules/fs-extra/lib/index.js");
|
|
288196
|
+
/* harmony import */ var fs_extra__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(fs_extra__WEBPACK_IMPORTED_MODULE_4__);
|
|
288197
|
+
/* harmony import */ var md5__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! md5 */ "./node_modules/md5/md5.js");
|
|
288198
|
+
/* harmony import */ var md5__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(md5__WEBPACK_IMPORTED_MODULE_5__);
|
|
288199
|
+
/* harmony import */ var md5_file__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! md5-file */ "./node_modules/md5-file/index.js");
|
|
288200
|
+
/* harmony import */ var md5_file__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(md5_file__WEBPACK_IMPORTED_MODULE_6__);
|
|
288201
|
+
/* harmony import */ var recursive_readdir__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! recursive-readdir */ "./node_modules/recursive-readdir/index.js");
|
|
288202
|
+
/* harmony import */ var recursive_readdir__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(recursive_readdir__WEBPACK_IMPORTED_MODULE_7__);
|
|
288203
|
+
/* harmony import */ var _common_ExtractSugarReferences__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../common/ExtractSugarReferences */ "./Generator/src/common/ExtractSugarReferences.ts");
|
|
288204
|
+
|
|
288886
288205
|
|
|
288887
288206
|
|
|
288888
288207
|
|
|
@@ -288891,6 +288210,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
288891
288210
|
|
|
288892
288211
|
|
|
288893
288212
|
|
|
288213
|
+
const statAsync = (0,util__WEBPACK_IMPORTED_MODULE_2__.promisify)(fs__WEBPACK_IMPORTED_MODULE_0__.stat);
|
|
288214
|
+
const readFileAsync = (0,util__WEBPACK_IMPORTED_MODULE_2__.promisify)(fs__WEBPACK_IMPORTED_MODULE_0__.readFile);
|
|
288215
|
+
const readdirAsync = (0,util__WEBPACK_IMPORTED_MODULE_2__.promisify)(fs__WEBPACK_IMPORTED_MODULE_0__.readdir);
|
|
288894
288216
|
async function readFormSources(formSourcesPath, farmDirectory) {
|
|
288895
288217
|
var _JSON$parse$settings;
|
|
288896
288218
|
|
|
@@ -288902,9 +288224,9 @@ async function readFormSources(formSourcesPath, farmDirectory) {
|
|
|
288902
288224
|
|
|
288903
288225
|
if (sugarReferences.fetchFunctionFiles.length === 0) {
|
|
288904
288226
|
// eslint-disable-next-line no-console
|
|
288905
|
-
console.warn(
|
|
288227
|
+
console.warn(chalk__WEBPACK_IMPORTED_MODULE_3___default().yellow(`[WARN] Форма не содержит ссылок на fetch-функции. Будут автоматически подключены функции из каталога legacyfetchfuctions\n` + `[WARN] В будущем необходимо явно прописывать ссылки на используемые fetch-функции`));
|
|
288906
288228
|
const legacyfetchfunctionsDirectory = path__WEBPACK_IMPORTED_MODULE_1___default().join(farmDirectory, "legacyfetchfunctions");
|
|
288907
|
-
sugarReferences.fetchFunctionFiles = (await (
|
|
288229
|
+
sugarReferences.fetchFunctionFiles = (await readdirAsync(legacyfetchfunctionsDirectory)).map(x => path__WEBPACK_IMPORTED_MODULE_1___default().resolve(legacyfetchfunctionsDirectory, x));
|
|
288908
288230
|
}
|
|
288909
288231
|
|
|
288910
288232
|
const result = {
|
|
@@ -288914,12 +288236,11 @@ async function readFormSources(formSourcesPath, farmDirectory) {
|
|
|
288914
288236
|
formSourcesPath: formSourcesPath,
|
|
288915
288237
|
formJsonSettings: (_JSON$parse$settings = JSON.parse(await readFileSource(formSourcesPath, "form.json", "{}"))["settings"]) !== null && _JSON$parse$settings !== void 0 ? _JSON$parse$settings : {},
|
|
288916
288238
|
additionalSettings: await readFileSource(formSourcesPath, "settings.json", "{}"),
|
|
288917
|
-
autocalcsContent: await
|
|
288239
|
+
autocalcsContent: await readAutoCalcFiles(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "autocalc")),
|
|
288918
288240
|
helpersContent: await readJavaScriptFilesWithNames(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "helpers")),
|
|
288919
288241
|
validationsContent: await readJavaScriptFilesWithNames(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "validations")),
|
|
288920
288242
|
schemaRngContent: await readSchemaRngFile(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "schemas"), formName),
|
|
288921
|
-
kcJsXmlContent: await
|
|
288922
|
-
kclangAutocaclulationsContent: await readFilesFromDir(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "autocalc"), /\.kclang$/),
|
|
288243
|
+
kcJsXmlContent: (await readFileSource(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "autocalc"), `${formName}.КС.candy.js.xml`, "<dummy/>")) || "",
|
|
288923
288244
|
tourSteps: await readFileSource(path__WEBPACK_IMPORTED_MODULE_1___default().join(rootPath, "tour"), "tour.js", "{}"),
|
|
288924
288245
|
hooksContent: await readHooksFile(formSourcesPath),
|
|
288925
288246
|
customControlsContent: await readCustomControlsFiles(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "controls")),
|
|
@@ -288963,7 +288284,7 @@ function evalModule(moduleCode) {
|
|
|
288963
288284
|
|
|
288964
288285
|
async function isDirectoryExists(directoryPath) {
|
|
288965
288286
|
try {
|
|
288966
|
-
const dirStat = await (
|
|
288287
|
+
const dirStat = await statAsync(directoryPath);
|
|
288967
288288
|
return dirStat.isDirectory();
|
|
288968
288289
|
} catch (ignoreError) {
|
|
288969
288290
|
return false;
|
|
@@ -288974,27 +288295,27 @@ async function readFiles(filePaths) {
|
|
|
288974
288295
|
const result = [];
|
|
288975
288296
|
|
|
288976
288297
|
for (const filePath of filePaths) {
|
|
288977
|
-
result.push(await (
|
|
288298
|
+
result.push(await readFileAsync(filePath, "utf-8"));
|
|
288978
288299
|
}
|
|
288979
288300
|
|
|
288980
288301
|
return result;
|
|
288981
288302
|
}
|
|
288982
288303
|
|
|
288983
288304
|
async function extractReferences(formSugarDirectoryPath) {
|
|
288984
|
-
const indexContent = await (
|
|
288985
|
-
return (0,
|
|
288305
|
+
const indexContent = await readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSugarDirectoryPath, "index.sugar.xml"), "utf-8");
|
|
288306
|
+
return (0,_common_ExtractSugarReferences__WEBPACK_IMPORTED_MODULE_8__.extractSugarReferences)(indexContent, filePath => readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSugarDirectoryPath, filePath), "utf-8"));
|
|
288986
288307
|
}
|
|
288987
288308
|
|
|
288988
288309
|
async function getAllFilePathsInDirectory(directoryPath, _filelist) {
|
|
288989
|
-
if (!(await (0,
|
|
288310
|
+
if (!(await (0,fs_extra__WEBPACK_IMPORTED_MODULE_4__.pathExists)(directoryPath))) {
|
|
288990
288311
|
return [];
|
|
288991
288312
|
}
|
|
288992
288313
|
|
|
288993
|
-
const files = await (
|
|
288314
|
+
const files = await readdirAsync(directoryPath);
|
|
288994
288315
|
let filelist = _filelist || [];
|
|
288995
288316
|
|
|
288996
288317
|
for (const file of files) {
|
|
288997
|
-
if ((await (
|
|
288318
|
+
if ((await statAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(directoryPath, file))).isDirectory()) {
|
|
288998
288319
|
filelist = await getAllFilePathsInDirectory(path__WEBPACK_IMPORTED_MODULE_1___default().join(directoryPath, file), filelist);
|
|
288999
288320
|
} else {
|
|
289000
288321
|
filelist.push(path__WEBPACK_IMPORTED_MODULE_1___default().join(directoryPath, file));
|
|
@@ -289005,7 +288326,7 @@ async function getAllFilePathsInDirectory(directoryPath, _filelist) {
|
|
|
289005
288326
|
}
|
|
289006
288327
|
|
|
289007
288328
|
async function checkFileExists(filePath) {
|
|
289008
|
-
if (!(await (0,
|
|
288329
|
+
if (!(await (0,fs_extra__WEBPACK_IMPORTED_MODULE_4__.pathExists)(filePath))) {
|
|
289009
288330
|
return [];
|
|
289010
288331
|
}
|
|
289011
288332
|
|
|
@@ -289018,7 +288339,7 @@ async function getAllDependencies(formSourcesPath, farmDirectory) {
|
|
|
289018
288339
|
|
|
289019
288340
|
if (sugarReferences.fetchFunctionFiles.length === 0) {
|
|
289020
288341
|
const legacyfetchfunctionsDirectory = path__WEBPACK_IMPORTED_MODULE_1___default().join(farmDirectory, "legacyfetchfunctions");
|
|
289021
|
-
sugarReferences.fetchFunctionFiles = (await (
|
|
288342
|
+
sugarReferences.fetchFunctionFiles = (await readdirAsync(legacyfetchfunctionsDirectory)).map(x => path__WEBPACK_IMPORTED_MODULE_1___default().resolve(legacyfetchfunctionsDirectory, x));
|
|
289022
288343
|
}
|
|
289023
288344
|
|
|
289024
288345
|
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")))];
|
|
@@ -289031,23 +288352,23 @@ function normalizeLineEndings(content) {
|
|
|
289031
288352
|
async function getAllDependenciesHash(formSourcesPath, farmDirectory) {
|
|
289032
288353
|
const allDeps = await getAllDependencies(formSourcesPath, farmDirectory);
|
|
289033
288354
|
const hashes = await Promise.all(allDeps.map(async depFilePath => {
|
|
289034
|
-
if ([".js", ".
|
|
289035
|
-
let content = await (
|
|
288355
|
+
if ([".js", ".xml", ".xslt", ".json"].some(ext => depFilePath.endsWith(ext))) {
|
|
288356
|
+
let content = await readFileAsync(depFilePath, "utf-8");
|
|
289036
288357
|
content = normalizeLineEndings(content);
|
|
289037
|
-
return
|
|
288358
|
+
return md5__WEBPACK_IMPORTED_MODULE_5___default()(content);
|
|
289038
288359
|
}
|
|
289039
288360
|
|
|
289040
|
-
return
|
|
288361
|
+
return md5_file__WEBPACK_IMPORTED_MODULE_6___default()(depFilePath);
|
|
289041
288362
|
}));
|
|
289042
|
-
return
|
|
288363
|
+
return md5__WEBPACK_IMPORTED_MODULE_5___default()(hashes.join(""));
|
|
289043
288364
|
}
|
|
289044
288365
|
async function readSugarFiles(formSugarDirectoryPath, references) {
|
|
289045
288366
|
const result = {
|
|
289046
|
-
"./index": await (
|
|
288367
|
+
"./index": await readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSugarDirectoryPath, "index.sugar.xml"), "utf-8")
|
|
289047
288368
|
};
|
|
289048
288369
|
|
|
289049
288370
|
for (const sugarPath of references.sugarFiles) {
|
|
289050
|
-
const sugarModuleContent = await (
|
|
288371
|
+
const sugarModuleContent = await readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSugarDirectoryPath, sugarPath + ".sugar.xml"), "utf-8");
|
|
289051
288372
|
result[sugarPath] = sugarModuleContent;
|
|
289052
288373
|
}
|
|
289053
288374
|
|
|
@@ -289059,11 +288380,11 @@ async function readCustomControlsFiles(formSugarDirectoryPath) {
|
|
|
289059
288380
|
return {};
|
|
289060
288381
|
}
|
|
289061
288382
|
|
|
289062
|
-
const fileNames = await
|
|
288383
|
+
const fileNames = await recursive_readdir__WEBPACK_IMPORTED_MODULE_7___default()(formSugarDirectoryPath);
|
|
289063
288384
|
const result = {};
|
|
289064
288385
|
|
|
289065
288386
|
for (const fileName of fileNames) {
|
|
289066
|
-
const sugarModuleContent = await (
|
|
288387
|
+
const sugarModuleContent = await readFileAsync(fileName, "utf-8");
|
|
289067
288388
|
const relativeFileName = ("controls\\" + fileName.replace(formSugarDirectoryPath + "\\", "")).replace(/\\/g, "/");
|
|
289068
288389
|
result[relativeFileName] = sugarModuleContent;
|
|
289069
288390
|
}
|
|
@@ -289071,23 +288392,23 @@ async function readCustomControlsFiles(formSugarDirectoryPath) {
|
|
|
289071
288392
|
return result;
|
|
289072
288393
|
}
|
|
289073
288394
|
|
|
289074
|
-
async function
|
|
289075
|
-
|
|
288395
|
+
async function readAutoCalcFiles(formAutoCalcPath) {
|
|
288396
|
+
try {
|
|
288397
|
+
const files = await readdirAsync(formAutoCalcPath);
|
|
288398
|
+
const jsFiles = files.filter(filename => /\.js$/.test(filename));
|
|
288399
|
+
return Promise.all(jsFiles.map(filename => readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formAutoCalcPath, filename), "utf-8")));
|
|
288400
|
+
} catch (ignoreError) {
|
|
289076
288401
|
return [];
|
|
289077
288402
|
}
|
|
289078
|
-
|
|
289079
|
-
const files = await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readdir)(directoryPath);
|
|
289080
|
-
const jsFiles = files.filter(filename => fileNameTest.test(filename));
|
|
289081
|
-
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")));
|
|
289082
288403
|
}
|
|
289083
288404
|
|
|
289084
288405
|
async function readImportedFiles(rootPath) {
|
|
289085
288406
|
try {
|
|
289086
288407
|
const result = {};
|
|
289087
|
-
const files = await (
|
|
288408
|
+
const files = await readdirAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(rootPath, "validations"));
|
|
289088
288409
|
|
|
289089
288410
|
for (const fileName of files) {
|
|
289090
|
-
result["../validations/" + fileName] = await (
|
|
288411
|
+
result["../validations/" + fileName] = await readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(rootPath, "validations", fileName), "utf-8");
|
|
289091
288412
|
}
|
|
289092
288413
|
|
|
289093
288414
|
return result;
|
|
@@ -289098,11 +288419,11 @@ async function readImportedFiles(rootPath) {
|
|
|
289098
288419
|
|
|
289099
288420
|
async function readJavaScriptFilesWithNames(formJavaScriptFilesPath) {
|
|
289100
288421
|
try {
|
|
289101
|
-
const files = await (
|
|
288422
|
+
const files = await readdirAsync(formJavaScriptFilesPath);
|
|
289102
288423
|
const jsFiles = files.filter(filename => /\.js$/.test(filename));
|
|
289103
288424
|
return Promise.all(jsFiles.map(async filename => ({
|
|
289104
288425
|
filename: path__WEBPACK_IMPORTED_MODULE_1___default().parse(filename).name,
|
|
289105
|
-
content: await (
|
|
288426
|
+
content: await readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formJavaScriptFilesPath, filename), "utf-8")
|
|
289106
288427
|
})));
|
|
289107
288428
|
} catch (ignoreError) {
|
|
289108
288429
|
return [];
|
|
@@ -289113,7 +288434,7 @@ async function connectJSFilesWithNames(formJavaScriptFilesPath) {
|
|
|
289113
288434
|
let jsFiles;
|
|
289114
288435
|
|
|
289115
288436
|
try {
|
|
289116
|
-
const files = await (
|
|
288437
|
+
const files = await readdirAsync(formJavaScriptFilesPath);
|
|
289117
288438
|
jsFiles = files.filter(filename => /\.js$/.test(filename));
|
|
289118
288439
|
const result = [];
|
|
289119
288440
|
|
|
@@ -289121,7 +288442,7 @@ async function connectJSFilesWithNames(formJavaScriptFilesPath) {
|
|
|
289121
288442
|
result.push({
|
|
289122
288443
|
filename: path__WEBPACK_IMPORTED_MODULE_1___default().parse(filename).name,
|
|
289123
288444
|
// tslint:disable-next-line no-unsafe-any
|
|
289124
|
-
content: evalModule(await (
|
|
288445
|
+
content: evalModule(await readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formJavaScriptFilesPath, filename), "utf-8"))
|
|
289125
288446
|
});
|
|
289126
288447
|
}
|
|
289127
288448
|
|
|
@@ -289132,16 +288453,16 @@ async function connectJSFilesWithNames(formJavaScriptFilesPath) {
|
|
|
289132
288453
|
}
|
|
289133
288454
|
|
|
289134
288455
|
function readSchemaRngFile(formSchemasPath, gfv) {
|
|
289135
|
-
return (
|
|
288456
|
+
return readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSchemasPath, `${gfv}.rng.xml`), "utf-8");
|
|
289136
288457
|
}
|
|
289137
288458
|
|
|
289138
288459
|
function readHooksFile(formDirectoryPath) {
|
|
289139
|
-
return (
|
|
288460
|
+
return readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formDirectoryPath, "hooks.js"), "utf-8").catch(() => "");
|
|
289140
288461
|
}
|
|
289141
288462
|
|
|
289142
288463
|
async function readFileSource(filePath, filename, defaultValue) {
|
|
289143
288464
|
try {
|
|
289144
|
-
return await (
|
|
288465
|
+
return await readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(filePath, filename), "utf-8");
|
|
289145
288466
|
} catch (ingoreError) {
|
|
289146
288467
|
return defaultValue;
|
|
289147
288468
|
}
|
|
@@ -289696,18 +289017,18 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
289696
289017
|
|
|
289697
289018
|
|
|
289698
289019
|
class NormalizationRulesGenerator {
|
|
289699
|
-
constructor(sugarRoot, dataDeclarationHelper, formSchemaRng,
|
|
289020
|
+
constructor(sugarRoot, dataDeclarationHelper, formSchemaRng, mathContainer, typesRegistry, useSchemaValidations, controlCustomizationContext) {
|
|
289700
289021
|
this.sugarRoot = void 0;
|
|
289701
289022
|
this.dataDeclarationHelper = void 0;
|
|
289702
289023
|
this.formSchemaRng = void 0;
|
|
289703
|
-
this.
|
|
289024
|
+
this.mathContainer = void 0;
|
|
289704
289025
|
this.typesRegistry = void 0;
|
|
289705
289026
|
this.controlCustomizationContext = void 0;
|
|
289706
289027
|
this.useSchemaValidations = void 0;
|
|
289707
289028
|
this.sugarRoot = sugarRoot;
|
|
289708
289029
|
this.dataDeclarationHelper = dataDeclarationHelper;
|
|
289709
289030
|
this.formSchemaRng = formSchemaRng;
|
|
289710
|
-
this.
|
|
289031
|
+
this.mathContainer = mathContainer;
|
|
289711
289032
|
this.typesRegistry = typesRegistry;
|
|
289712
289033
|
this.useSchemaValidations = useSchemaValidations;
|
|
289713
289034
|
this.controlCustomizationContext = controlCustomizationContext;
|
|
@@ -289737,7 +289058,9 @@ class NormalizationRulesGenerator {
|
|
|
289737
289058
|
}
|
|
289738
289059
|
|
|
289739
289060
|
*buildFormulaFLangRules() {
|
|
289740
|
-
for (const formula of this.formulas) {
|
|
289061
|
+
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 : []) {
|
|
289062
|
+
var _this$mathContainer$f, _this$mathContainer, _this$mathContainer$f2;
|
|
289063
|
+
|
|
289741
289064
|
yield* this.buildFormulaFlashRule(formula);
|
|
289742
289065
|
}
|
|
289743
289066
|
}
|
|
@@ -290305,6 +289628,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
290305
289628
|
/* 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");
|
|
290306
289629
|
/* 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");
|
|
290307
289630
|
/* 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");
|
|
289631
|
+
/* 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");
|
|
289632
|
+
|
|
290308
289633
|
|
|
290309
289634
|
|
|
290310
289635
|
|
|
@@ -290413,7 +289738,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
290413
289738
|
let convertersFromNodeClassMap;
|
|
290414
289739
|
|
|
290415
289740
|
function buildConvertersFromNodeClassMap() {
|
|
290416
|
-
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];
|
|
289741
|
+
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];
|
|
290417
289742
|
return new Map(converters.map(converterClass => [converterClass.getAcceptNodeClass(), converterClass]));
|
|
290418
289743
|
}
|
|
290419
289744
|
|
|
@@ -292364,7 +291689,7 @@ class ChoiceConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.S
|
|
|
292364
291689
|
return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["value", context.initSequenceFactory.dataValue(node.dataBinding, node.disabled)]]), context.addSpecialFieldsEntry(node, {
|
|
292365
291690
|
optional: node.dataBinding.optional,
|
|
292366
291691
|
disabled: node.disabled
|
|
292367
|
-
}), context.addPathSectionDeclarationEntry(node), context.addVisibilityPathDeclEntryNew(node));
|
|
291692
|
+
}), context.addPathSectionDeclarationEntry(node, node.dataBinding.requisite), context.addVisibilityPathDeclEntryNew(node, node.dataBinding.requisite));
|
|
292368
291693
|
}
|
|
292369
291694
|
|
|
292370
291695
|
buildChildrenDataDeclaration(context) {
|
|
@@ -298601,8 +297926,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
298601
297926
|
/* harmony import */ var _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../Serializer/DeprecationReason */ "./Generator/src/generators/markupGenerator/Serializer/DeprecationReason.ts");
|
|
298602
297927
|
/* harmony import */ var _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../Serializer/SugarNodeWithLegacyVisibility */ "./Generator/src/generators/markupGenerator/Serializer/SugarNodeWithLegacyVisibility.ts");
|
|
298603
297928
|
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
298604
|
-
|
|
298605
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _dec24, _class4, _class5, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _dec25, _dec26, _class7, _class8, _descriptor23, _dec27, _dec28, _class10, _class11, _descriptor24, _dec29, _dec30, _dec31, _dec32, _dec33, _dec34, _dec35, _dec36, _class13, _class14, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31;
|
|
297929
|
+
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _class4, _class5, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _dec24, _dec25, _class7, _class8, _descriptor22, _dec26, _dec27, _class10, _class11, _descriptor23, _dec28, _dec29, _dec30, _dec31, _dec32, _dec33, _dec34, _dec35, _class13, _class14, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30;
|
|
298606
297930
|
|
|
298607
297931
|
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 }); }
|
|
298608
297932
|
|
|
@@ -298614,8 +297938,7 @@ function _initializerWarningHelper(descriptor, context) { throw new Error('Decor
|
|
|
298614
297938
|
|
|
298615
297939
|
|
|
298616
297940
|
|
|
298617
|
-
|
|
298618
|
-
let SimpleTableColumnNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("column", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Layout/SimpleTable sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_0__.DataBindingScopeMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("multiple", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Множественная колонка: можно добавлять несколько строк внутри одной колонки`), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("disabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Отключить редактирование для множественной колонки. Работает только если multiple=true`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("disabled2", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.javascriptExpression, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_4__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_4__.javaScriptExpressionLink)} для условного задизейбливания контрола`), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("hintOnAdd", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, `Хинт на кнопке добавления строки в множественной колонке`), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("titles", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.array(_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string), ``), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("colspan", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, `Количество объединенных колонок`), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("empty", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Рисует "x" в колонке`), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("rowspan", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, `Количество объединенных строк`), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("horizontalAlign", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("center", "left", "right"), `Выравнивание по горизонтали`), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("requiredempty", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("indent", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, `Отступ от левого края. Кратен 12px. Тоесть indent="2" -- отступ 24px`), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.lengthUnit, `Ширина колонки`), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("textTopPadding", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Добавляет фиксированный отступ от верхнего края. Работает только при использовании в grid 'top'. Применяется, если в grid есть контролы, которые могут неадекватно выравниваться по базовой линии (например, textarea)`), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("size", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, `Размер ячейки в относительных единицах`), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)(), _dec(_class = (_class2 = class SimpleTableColumnNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_2__.SugarNodeWithLegacyVisibility {
|
|
297941
|
+
let SimpleTableColumnNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("column", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Layout/SimpleTable sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_0__.DataBindingScopeMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("multiple", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Множественная колонка: можно добавлять несколько строк внутри одной колонки`), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("disabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Отключить редактирование для множественной колонки. Работает только если multiple=true`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("hintOnAdd", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, `Хинт на кнопке добавления строки в множественной колонке`), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("titles", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.array(_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string), ``), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("colspan", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, `Количество объединенных колонок`), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("empty", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Рисует "x" в колонке`), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("rowspan", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, `Количество объединенных строк`), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("horizontalAlign", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("center", "left", "right"), `Выравнивание по горизонтали`), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("requiredempty", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("indent", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, `Отступ от левого края. Кратен 12px. Тоесть indent="2" -- отступ 24px`), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.lengthUnit, `Ширина колонки`), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("textTopPadding", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Добавляет фиксированный отступ от верхнего края. Работает только при использовании в grid 'top'. Применяется, если в grid есть контролы, которые могут неадекватно выравниваться по базовой линии (например, textarea)`), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("size", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, `Размер ячейки в относительных единицах`), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)(), _dec(_class = (_class2 = class SimpleTableColumnNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_2__.SugarNodeWithLegacyVisibility {
|
|
298619
297942
|
constructor(...args) {
|
|
298620
297943
|
super(...args);
|
|
298621
297944
|
|
|
@@ -298625,31 +297948,29 @@ let SimpleTableColumnNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPO
|
|
|
298625
297948
|
|
|
298626
297949
|
_initializerDefineProperty(this, "disabled", _descriptor3, this);
|
|
298627
297950
|
|
|
298628
|
-
_initializerDefineProperty(this, "
|
|
298629
|
-
|
|
298630
|
-
_initializerDefineProperty(this, "hintOnAdd", _descriptor5, this);
|
|
297951
|
+
_initializerDefineProperty(this, "hintOnAdd", _descriptor4, this);
|
|
298631
297952
|
|
|
298632
|
-
_initializerDefineProperty(this, "titles",
|
|
297953
|
+
_initializerDefineProperty(this, "titles", _descriptor5, this);
|
|
298633
297954
|
|
|
298634
|
-
_initializerDefineProperty(this, "colspan",
|
|
297955
|
+
_initializerDefineProperty(this, "colspan", _descriptor6, this);
|
|
298635
297956
|
|
|
298636
|
-
_initializerDefineProperty(this, "empty",
|
|
297957
|
+
_initializerDefineProperty(this, "empty", _descriptor7, this);
|
|
298637
297958
|
|
|
298638
|
-
_initializerDefineProperty(this, "rowspan",
|
|
297959
|
+
_initializerDefineProperty(this, "rowspan", _descriptor8, this);
|
|
298639
297960
|
|
|
298640
|
-
_initializerDefineProperty(this, "horizontalAlign",
|
|
297961
|
+
_initializerDefineProperty(this, "horizontalAlign", _descriptor9, this);
|
|
298641
297962
|
|
|
298642
|
-
_initializerDefineProperty(this, "requiredempty",
|
|
297963
|
+
_initializerDefineProperty(this, "requiredempty", _descriptor10, this);
|
|
298643
297964
|
|
|
298644
|
-
_initializerDefineProperty(this, "indent",
|
|
297965
|
+
_initializerDefineProperty(this, "indent", _descriptor11, this);
|
|
298645
297966
|
|
|
298646
|
-
_initializerDefineProperty(this, "width",
|
|
297967
|
+
_initializerDefineProperty(this, "width", _descriptor12, this);
|
|
298647
297968
|
|
|
298648
|
-
_initializerDefineProperty(this, "textTopPadding",
|
|
297969
|
+
_initializerDefineProperty(this, "textTopPadding", _descriptor13, this);
|
|
298649
297970
|
|
|
298650
|
-
_initializerDefineProperty(this, "size",
|
|
297971
|
+
_initializerDefineProperty(this, "size", _descriptor14, this);
|
|
298651
297972
|
|
|
298652
|
-
_initializerDefineProperty(this, "children",
|
|
297973
|
+
_initializerDefineProperty(this, "children", _descriptor15, this);
|
|
298653
297974
|
}
|
|
298654
297975
|
|
|
298655
297976
|
getOwnPath() {
|
|
@@ -298677,167 +297998,162 @@ let SimpleTableColumnNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPO
|
|
|
298677
297998
|
enumerable: true,
|
|
298678
297999
|
writable: true,
|
|
298679
298000
|
initializer: null
|
|
298680
|
-
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
298001
|
+
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "hintOnAdd", [_dec5], {
|
|
298681
298002
|
configurable: true,
|
|
298682
298003
|
enumerable: true,
|
|
298683
298004
|
writable: true,
|
|
298684
298005
|
initializer: null
|
|
298685
|
-
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
298006
|
+
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "titles", [_dec6], {
|
|
298686
298007
|
configurable: true,
|
|
298687
298008
|
enumerable: true,
|
|
298688
298009
|
writable: true,
|
|
298689
298010
|
initializer: null
|
|
298690
|
-
}), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
298011
|
+
}), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "colspan", [_dec7], {
|
|
298691
298012
|
configurable: true,
|
|
298692
298013
|
enumerable: true,
|
|
298693
298014
|
writable: true,
|
|
298694
298015
|
initializer: null
|
|
298695
|
-
}), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
298016
|
+
}), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, "empty", [_dec8], {
|
|
298696
298017
|
configurable: true,
|
|
298697
298018
|
enumerable: true,
|
|
298698
298019
|
writable: true,
|
|
298699
298020
|
initializer: null
|
|
298700
|
-
}), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
298021
|
+
}), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "rowspan", [_dec9], {
|
|
298701
298022
|
configurable: true,
|
|
298702
298023
|
enumerable: true,
|
|
298703
298024
|
writable: true,
|
|
298704
298025
|
initializer: null
|
|
298705
|
-
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
298026
|
+
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "horizontalAlign", [_dec10], {
|
|
298706
298027
|
configurable: true,
|
|
298707
298028
|
enumerable: true,
|
|
298708
298029
|
writable: true,
|
|
298709
298030
|
initializer: null
|
|
298710
|
-
}), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
298031
|
+
}), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, "requiredempty", [_dec11], {
|
|
298711
298032
|
configurable: true,
|
|
298712
298033
|
enumerable: true,
|
|
298713
298034
|
writable: true,
|
|
298714
298035
|
initializer: null
|
|
298715
|
-
}), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
298036
|
+
}), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, "indent", [_dec12], {
|
|
298716
298037
|
configurable: true,
|
|
298717
298038
|
enumerable: true,
|
|
298718
298039
|
writable: true,
|
|
298719
298040
|
initializer: null
|
|
298720
|
-
}), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
298041
|
+
}), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, "width", [_dec13], {
|
|
298721
298042
|
configurable: true,
|
|
298722
298043
|
enumerable: true,
|
|
298723
298044
|
writable: true,
|
|
298724
298045
|
initializer: null
|
|
298725
|
-
}), _descriptor13 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
298046
|
+
}), _descriptor13 = _applyDecoratedDescriptor(_class2.prototype, "textTopPadding", [_dec14], {
|
|
298726
298047
|
configurable: true,
|
|
298727
298048
|
enumerable: true,
|
|
298728
298049
|
writable: true,
|
|
298729
298050
|
initializer: null
|
|
298730
|
-
}), _descriptor14 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
298051
|
+
}), _descriptor14 = _applyDecoratedDescriptor(_class2.prototype, "size", [_dec15], {
|
|
298731
298052
|
configurable: true,
|
|
298732
298053
|
enumerable: true,
|
|
298733
298054
|
writable: true,
|
|
298734
298055
|
initializer: null
|
|
298735
|
-
}), _descriptor15 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
298736
|
-
configurable: true,
|
|
298737
|
-
enumerable: true,
|
|
298738
|
-
writable: true,
|
|
298739
|
-
initializer: null
|
|
298740
|
-
}), _descriptor16 = _applyDecoratedDescriptor(_class2.prototype, "children", [_dec17], {
|
|
298056
|
+
}), _descriptor15 = _applyDecoratedDescriptor(_class2.prototype, "children", [_dec16], {
|
|
298741
298057
|
configurable: true,
|
|
298742
298058
|
enumerable: true,
|
|
298743
298059
|
writable: true,
|
|
298744
298060
|
initializer: null
|
|
298745
298061
|
})), _class2)) || _class);
|
|
298746
|
-
let SimpleTableRowNode = (
|
|
298062
|
+
let SimpleTableRowNode = (_dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("row", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Layout/SimpleTable sync recursive .md$")), _dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_0__.DataBindingScopeMixinNode), _dec19 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec20 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.deprecatedAttr)("borderBottom", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.InvalidUsage), _dec21 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("kind", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("head", "hr"), ``), _dec22 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("subkind", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("numbers"), ``), _dec23 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)("column", [SimpleTableColumnNode]), _dec17(_class4 = (_class5 = class SimpleTableRowNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
298747
298063
|
constructor(...args) {
|
|
298748
298064
|
super(...args);
|
|
298749
298065
|
|
|
298750
|
-
_initializerDefineProperty(this, "dataScope",
|
|
298066
|
+
_initializerDefineProperty(this, "dataScope", _descriptor16, this);
|
|
298751
298067
|
|
|
298752
|
-
_initializerDefineProperty(this, "optional",
|
|
298068
|
+
_initializerDefineProperty(this, "optional", _descriptor17, this);
|
|
298753
298069
|
|
|
298754
|
-
_initializerDefineProperty(this, "borderBottom",
|
|
298070
|
+
_initializerDefineProperty(this, "borderBottom", _descriptor18, this);
|
|
298755
298071
|
|
|
298756
|
-
_initializerDefineProperty(this, "kind",
|
|
298072
|
+
_initializerDefineProperty(this, "kind", _descriptor19, this);
|
|
298757
298073
|
|
|
298758
|
-
_initializerDefineProperty(this, "subkind",
|
|
298074
|
+
_initializerDefineProperty(this, "subkind", _descriptor20, this);
|
|
298759
298075
|
|
|
298760
|
-
_initializerDefineProperty(this, "columns",
|
|
298076
|
+
_initializerDefineProperty(this, "columns", _descriptor21, this);
|
|
298761
298077
|
}
|
|
298762
298078
|
|
|
298763
298079
|
getOwnPath() {
|
|
298764
298080
|
return this.dataScope.getOwnPath();
|
|
298765
298081
|
}
|
|
298766
298082
|
|
|
298767
|
-
}, (
|
|
298083
|
+
}, (_descriptor16 = _applyDecoratedDescriptor(_class5.prototype, "dataScope", [_dec18], {
|
|
298768
298084
|
configurable: true,
|
|
298769
298085
|
enumerable: true,
|
|
298770
298086
|
writable: true,
|
|
298771
298087
|
initializer: null
|
|
298772
|
-
}),
|
|
298088
|
+
}), _descriptor17 = _applyDecoratedDescriptor(_class5.prototype, "optional", [_dec19], {
|
|
298773
298089
|
configurable: true,
|
|
298774
298090
|
enumerable: true,
|
|
298775
298091
|
writable: true,
|
|
298776
298092
|
initializer: null
|
|
298777
|
-
}),
|
|
298093
|
+
}), _descriptor18 = _applyDecoratedDescriptor(_class5.prototype, "borderBottom", [_dec20], {
|
|
298778
298094
|
configurable: true,
|
|
298779
298095
|
enumerable: true,
|
|
298780
298096
|
writable: true,
|
|
298781
298097
|
initializer: null
|
|
298782
|
-
}),
|
|
298098
|
+
}), _descriptor19 = _applyDecoratedDescriptor(_class5.prototype, "kind", [_dec21], {
|
|
298783
298099
|
configurable: true,
|
|
298784
298100
|
enumerable: true,
|
|
298785
298101
|
writable: true,
|
|
298786
298102
|
initializer: null
|
|
298787
|
-
}),
|
|
298103
|
+
}), _descriptor20 = _applyDecoratedDescriptor(_class5.prototype, "subkind", [_dec22], {
|
|
298788
298104
|
configurable: true,
|
|
298789
298105
|
enumerable: true,
|
|
298790
298106
|
writable: true,
|
|
298791
298107
|
initializer: null
|
|
298792
|
-
}),
|
|
298108
|
+
}), _descriptor21 = _applyDecoratedDescriptor(_class5.prototype, "columns", [_dec23], {
|
|
298793
298109
|
configurable: true,
|
|
298794
298110
|
enumerable: true,
|
|
298795
298111
|
writable: true,
|
|
298796
298112
|
initializer: null
|
|
298797
298113
|
})), _class5)) || _class4);
|
|
298798
|
-
let SimpleTableColgroupColumnNode = (
|
|
298114
|
+
let SimpleTableColgroupColumnNode = (_dec24 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("col", ``), _dec25 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.lengthUnit, ``), _dec24(_class7 = (_class8 = class SimpleTableColgroupColumnNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
298799
298115
|
constructor(...args) {
|
|
298800
298116
|
super(...args);
|
|
298801
298117
|
|
|
298802
|
-
_initializerDefineProperty(this, "width",
|
|
298118
|
+
_initializerDefineProperty(this, "width", _descriptor22, this);
|
|
298803
298119
|
}
|
|
298804
298120
|
|
|
298805
|
-
}, (
|
|
298121
|
+
}, (_descriptor22 = _applyDecoratedDescriptor(_class8.prototype, "width", [_dec25], {
|
|
298806
298122
|
configurable: true,
|
|
298807
298123
|
enumerable: true,
|
|
298808
298124
|
writable: true,
|
|
298809
298125
|
initializer: null
|
|
298810
298126
|
})), _class8)) || _class7);
|
|
298811
|
-
let SimpleTableColgroupNode = (
|
|
298127
|
+
let SimpleTableColgroupNode = (_dec26 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("colgroup", ``), _dec27 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)("col", [SimpleTableColgroupColumnNode]), _dec26(_class10 = (_class11 = class SimpleTableColgroupNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
298812
298128
|
constructor(...args) {
|
|
298813
298129
|
super(...args);
|
|
298814
298130
|
|
|
298815
|
-
_initializerDefineProperty(this, "cols",
|
|
298131
|
+
_initializerDefineProperty(this, "cols", _descriptor23, this);
|
|
298816
298132
|
}
|
|
298817
298133
|
|
|
298818
|
-
}, (
|
|
298134
|
+
}, (_descriptor23 = _applyDecoratedDescriptor(_class11.prototype, "cols", [_dec27], {
|
|
298819
298135
|
configurable: true,
|
|
298820
298136
|
enumerable: true,
|
|
298821
298137
|
writable: true,
|
|
298822
298138
|
initializer: null
|
|
298823
298139
|
})), _class11)) || _class10);
|
|
298824
|
-
let SimpleTableNode = (
|
|
298140
|
+
let SimpleTableNode = (_dec28 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("table", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Layout/SimpleTable sync recursive .md$"), x => !(x.boolAttr("sticky") || x.getFirstChild("multiline") != undefined) && !x.boolAttr("crossfit")), _dec29 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("stickyHeader", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec30 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_0__.DataBindingScopeMixinNode), _dec31 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec32 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("grayColumn", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, ``), _dec33 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("align", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("baseline", "sub", "super", "text-bottom", "text-top", "middle", "top", "bottom"), ``), _dec34 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.singleChild)("colgroup", [SimpleTableColgroupNode]), _dec35 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)("row", [SimpleTableRowNode]), _dec28(_class13 = (_class14 = class SimpleTableNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_2__.SugarNodeWithLegacyVisibility {
|
|
298825
298141
|
constructor(...args) {
|
|
298826
298142
|
super(...args);
|
|
298827
298143
|
|
|
298828
|
-
_initializerDefineProperty(this, "stickyHeader",
|
|
298144
|
+
_initializerDefineProperty(this, "stickyHeader", _descriptor24, this);
|
|
298829
298145
|
|
|
298830
|
-
_initializerDefineProperty(this, "dataScope",
|
|
298146
|
+
_initializerDefineProperty(this, "dataScope", _descriptor25, this);
|
|
298831
298147
|
|
|
298832
|
-
_initializerDefineProperty(this, "optional",
|
|
298148
|
+
_initializerDefineProperty(this, "optional", _descriptor26, this);
|
|
298833
298149
|
|
|
298834
|
-
_initializerDefineProperty(this, "grayColumn",
|
|
298150
|
+
_initializerDefineProperty(this, "grayColumn", _descriptor27, this);
|
|
298835
298151
|
|
|
298836
|
-
_initializerDefineProperty(this, "align",
|
|
298152
|
+
_initializerDefineProperty(this, "align", _descriptor28, this);
|
|
298837
298153
|
|
|
298838
|
-
_initializerDefineProperty(this, "colgroup",
|
|
298154
|
+
_initializerDefineProperty(this, "colgroup", _descriptor29, this);
|
|
298839
298155
|
|
|
298840
|
-
_initializerDefineProperty(this, "rows",
|
|
298156
|
+
_initializerDefineProperty(this, "rows", _descriptor30, this);
|
|
298841
298157
|
}
|
|
298842
298158
|
|
|
298843
298159
|
getOwnPath() {
|
|
@@ -298852,37 +298168,37 @@ let SimpleTableNode = (_dec29 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED
|
|
|
298852
298168
|
return this.rows.filter(row => row.kind == undefined || row.kind === "hr");
|
|
298853
298169
|
}
|
|
298854
298170
|
|
|
298855
|
-
}, (
|
|
298171
|
+
}, (_descriptor24 = _applyDecoratedDescriptor(_class14.prototype, "stickyHeader", [_dec29], {
|
|
298856
298172
|
configurable: true,
|
|
298857
298173
|
enumerable: true,
|
|
298858
298174
|
writable: true,
|
|
298859
298175
|
initializer: null
|
|
298860
|
-
}),
|
|
298176
|
+
}), _descriptor25 = _applyDecoratedDescriptor(_class14.prototype, "dataScope", [_dec30], {
|
|
298861
298177
|
configurable: true,
|
|
298862
298178
|
enumerable: true,
|
|
298863
298179
|
writable: true,
|
|
298864
298180
|
initializer: null
|
|
298865
|
-
}),
|
|
298181
|
+
}), _descriptor26 = _applyDecoratedDescriptor(_class14.prototype, "optional", [_dec31], {
|
|
298866
298182
|
configurable: true,
|
|
298867
298183
|
enumerable: true,
|
|
298868
298184
|
writable: true,
|
|
298869
298185
|
initializer: null
|
|
298870
|
-
}),
|
|
298186
|
+
}), _descriptor27 = _applyDecoratedDescriptor(_class14.prototype, "grayColumn", [_dec32], {
|
|
298871
298187
|
configurable: true,
|
|
298872
298188
|
enumerable: true,
|
|
298873
298189
|
writable: true,
|
|
298874
298190
|
initializer: null
|
|
298875
|
-
}),
|
|
298191
|
+
}), _descriptor28 = _applyDecoratedDescriptor(_class14.prototype, "align", [_dec33], {
|
|
298876
298192
|
configurable: true,
|
|
298877
298193
|
enumerable: true,
|
|
298878
298194
|
writable: true,
|
|
298879
298195
|
initializer: null
|
|
298880
|
-
}),
|
|
298196
|
+
}), _descriptor29 = _applyDecoratedDescriptor(_class14.prototype, "colgroup", [_dec34], {
|
|
298881
298197
|
configurable: true,
|
|
298882
298198
|
enumerable: true,
|
|
298883
298199
|
writable: true,
|
|
298884
298200
|
initializer: null
|
|
298885
|
-
}),
|
|
298201
|
+
}), _descriptor30 = _applyDecoratedDescriptor(_class14.prototype, "rows", [_dec35], {
|
|
298886
298202
|
configurable: true,
|
|
298887
298203
|
enumerable: true,
|
|
298888
298204
|
writable: true,
|
|
@@ -300193,8 +299509,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
300193
299509
|
/* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
|
|
300194
299510
|
/* harmony import */ var _Multilinefield_GetPluralTitles__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Multilinefield/GetPluralTitles */ "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/Multilinefield/GetPluralTitles.ts");
|
|
300195
299511
|
/* harmony import */ var _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../common/XmlParser/XmlNode */ "./Generator/src/common/XmlParser/XmlNode.ts");
|
|
300196
|
-
/* harmony import */ var _SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../SugarNodes/SugarNodeUtils */ "./Generator/src/generators/markupGenerator/SugarNodes/SugarNodeUtils.ts");
|
|
300197
|
-
|
|
300198
299512
|
|
|
300199
299513
|
|
|
300200
299514
|
|
|
@@ -300221,15 +299535,6 @@ class ColumnConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.S
|
|
|
300221
299535
|
multiLineFieldMarkupBuilder.prop(x => x.backgroundColor).set("#f3f3f3");
|
|
300222
299536
|
multiLineFieldMarkupBuilder.prop(x => x.hintOnAdd).set(node.hintOnAdd);
|
|
300223
299537
|
multiLineFieldMarkupBuilder.prop(x => x.disableButtons).set(node.disabled);
|
|
300224
|
-
|
|
300225
|
-
if (node.disabled2 != undefined) {
|
|
300226
|
-
multiLineFieldMarkupBuilder.prop(x => x.disableButtons2).set((0,_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_5__.buildExpressionPropValue)(node.disabled2));
|
|
300227
|
-
|
|
300228
|
-
if (this.getLegacyNode().getParent() != undefined) {
|
|
300229
|
-
multiLineFieldMarkupBuilder.prop(x => x.evaluatorsContextPath).set(this.getEvaluatorsContextPathExpression());
|
|
300230
|
-
}
|
|
300231
|
-
}
|
|
300232
|
-
|
|
300233
299538
|
return multiLineFieldMarkupBuilder.buildConverterResult();
|
|
300234
299539
|
} else {
|
|
300235
299540
|
if (node.disabled != undefined) {
|
|
@@ -300926,7 +300231,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
300926
300231
|
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
300927
300232
|
/* harmony import */ var _Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../Commons/DocumentationLinks */ "./Generator/src/generators/markupGenerator/ElementProcessors/Commons/DocumentationLinks.ts");
|
|
300928
300233
|
/* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
|
|
300929
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20,
|
|
300234
|
+
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _dec21, _dec22, _dec23, _dec24, _class4, _class5, _descriptor20, _descriptor21, _descriptor22, _dec25, _dec26, _dec27, _dec28, _dec29, _dec30, _dec31, _dec32, _dec33, _dec34, _dec35, _dec36, _dec37, _dec38, _class7, _class8, _descriptor23, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _dec39, _dec40, _dec41, _class10, _class11, _descriptor36, _descriptor37, _dec42, _dec43, _dec44, _dec45, _dec46, _dec47, _class13, _class14, _descriptor38, _descriptor39, _descriptor40, _descriptor41, _descriptor42, _dec48, _dec49, _class16, _class17, _descriptor43, _dec50, _dec51, _class19, _class20, _descriptor44, _dec52, _dec53, _class22, _class23, _descriptor45, _dec54, _dec55, _dec56, _dec57, _dec58, _dec59, _dec60, _dec61, _dec62, _dec63, _dec64, _dec65, _dec66, _dec67, _dec68, _dec69, _dec70, _dec71, _dec72, _dec73, _dec74, _class25, _class26, _descriptor46, _descriptor47, _descriptor48, _descriptor49, _descriptor50, _descriptor51, _descriptor52, _descriptor53, _descriptor54, _descriptor55, _descriptor56, _descriptor57, _descriptor58, _descriptor59, _descriptor60, _descriptor61, _descriptor62, _descriptor63, _descriptor64, _descriptor65;
|
|
300930
300235
|
|
|
300931
300236
|
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 }); }
|
|
300932
300237
|
|
|
@@ -300940,7 +300245,7 @@ function _initializerWarningHelper(descriptor, context) { throw new Error('Decor
|
|
|
300940
300245
|
|
|
300941
300246
|
|
|
300942
300247
|
|
|
300943
|
-
let CrossfitTableColumnNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("column", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/CrossfitTable sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_0__.DataBindingScopeMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("multiple", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("disabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Отключить редактирование для множественной колонки. Работает только если multiple=true`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.
|
|
300248
|
+
let CrossfitTableColumnNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("column", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/CrossfitTable sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_0__.DataBindingScopeMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("multiple", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("disabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Отключить редактирование для множественной колонки. Работает только если multiple=true`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.deprecatedAttr)("className", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.Removed), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.deprecatedAttr)("widths", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.Typo), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("titles", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.array(_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string), ``), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("hintOnAdd", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, ``), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("groupText", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, ``), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("key", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, ``), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("colspan", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, ``), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("hiddenGroup", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, ``), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("empty", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.lengthUnit, ``), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("rowspan", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, ``), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("horizontalAlign", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("center", "left", "right"), ``), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("requiredempty", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("indent", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("1", "2", "3", "4", "5"), ``), _dec19 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("grouped", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, `Поле генериться в препроцессоре`), _dec20 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)(), _dec(_class = (_class2 = class CrossfitTableColumnNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
300944
300249
|
constructor(...args) {
|
|
300945
300250
|
super(...args);
|
|
300946
300251
|
|
|
@@ -300950,39 +300255,37 @@ let CrossfitTableColumnNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IM
|
|
|
300950
300255
|
|
|
300951
300256
|
_initializerDefineProperty(this, "disabled", _descriptor3, this);
|
|
300952
300257
|
|
|
300953
|
-
_initializerDefineProperty(this, "
|
|
300954
|
-
|
|
300955
|
-
_initializerDefineProperty(this, "className", _descriptor5, this);
|
|
300258
|
+
_initializerDefineProperty(this, "className", _descriptor4, this);
|
|
300956
300259
|
|
|
300957
|
-
_initializerDefineProperty(this, "widths",
|
|
300260
|
+
_initializerDefineProperty(this, "widths", _descriptor5, this);
|
|
300958
300261
|
|
|
300959
|
-
_initializerDefineProperty(this, "titles",
|
|
300262
|
+
_initializerDefineProperty(this, "titles", _descriptor6, this);
|
|
300960
300263
|
|
|
300961
|
-
_initializerDefineProperty(this, "hintOnAdd",
|
|
300264
|
+
_initializerDefineProperty(this, "hintOnAdd", _descriptor7, this);
|
|
300962
300265
|
|
|
300963
|
-
_initializerDefineProperty(this, "groupText",
|
|
300266
|
+
_initializerDefineProperty(this, "groupText", _descriptor8, this);
|
|
300964
300267
|
|
|
300965
|
-
_initializerDefineProperty(this, "key",
|
|
300268
|
+
_initializerDefineProperty(this, "key", _descriptor9, this);
|
|
300966
300269
|
|
|
300967
|
-
_initializerDefineProperty(this, "colspan",
|
|
300270
|
+
_initializerDefineProperty(this, "colspan", _descriptor10, this);
|
|
300968
300271
|
|
|
300969
|
-
_initializerDefineProperty(this, "hiddenGroup",
|
|
300272
|
+
_initializerDefineProperty(this, "hiddenGroup", _descriptor11, this);
|
|
300970
300273
|
|
|
300971
|
-
_initializerDefineProperty(this, "empty",
|
|
300274
|
+
_initializerDefineProperty(this, "empty", _descriptor12, this);
|
|
300972
300275
|
|
|
300973
|
-
_initializerDefineProperty(this, "width",
|
|
300276
|
+
_initializerDefineProperty(this, "width", _descriptor13, this);
|
|
300974
300277
|
|
|
300975
|
-
_initializerDefineProperty(this, "rowspan",
|
|
300278
|
+
_initializerDefineProperty(this, "rowspan", _descriptor14, this);
|
|
300976
300279
|
|
|
300977
|
-
_initializerDefineProperty(this, "horizontalAlign",
|
|
300280
|
+
_initializerDefineProperty(this, "horizontalAlign", _descriptor15, this);
|
|
300978
300281
|
|
|
300979
|
-
_initializerDefineProperty(this, "requiredempty",
|
|
300282
|
+
_initializerDefineProperty(this, "requiredempty", _descriptor16, this);
|
|
300980
300283
|
|
|
300981
|
-
_initializerDefineProperty(this, "indent",
|
|
300284
|
+
_initializerDefineProperty(this, "indent", _descriptor17, this);
|
|
300982
300285
|
|
|
300983
|
-
_initializerDefineProperty(this, "grouped",
|
|
300286
|
+
_initializerDefineProperty(this, "grouped", _descriptor18, this);
|
|
300984
300287
|
|
|
300985
|
-
_initializerDefineProperty(this, "children",
|
|
300288
|
+
_initializerDefineProperty(this, "children", _descriptor19, this);
|
|
300986
300289
|
}
|
|
300987
300290
|
|
|
300988
300291
|
getOwnPath() {
|
|
@@ -301010,148 +300313,143 @@ let CrossfitTableColumnNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IM
|
|
|
301010
300313
|
enumerable: true,
|
|
301011
300314
|
writable: true,
|
|
301012
300315
|
initializer: null
|
|
301013
|
-
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
301014
|
-
configurable: true,
|
|
301015
|
-
enumerable: true,
|
|
301016
|
-
writable: true,
|
|
301017
|
-
initializer: null
|
|
301018
|
-
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "className", [_dec6], {
|
|
300316
|
+
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "className", [_dec5], {
|
|
301019
300317
|
configurable: true,
|
|
301020
300318
|
enumerable: true,
|
|
301021
300319
|
writable: true,
|
|
301022
300320
|
initializer: null
|
|
301023
|
-
}),
|
|
300321
|
+
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "widths", [_dec6], {
|
|
301024
300322
|
configurable: true,
|
|
301025
300323
|
enumerable: true,
|
|
301026
300324
|
writable: true,
|
|
301027
300325
|
initializer: null
|
|
301028
|
-
}),
|
|
300326
|
+
}), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "titles", [_dec7], {
|
|
301029
300327
|
configurable: true,
|
|
301030
300328
|
enumerable: true,
|
|
301031
300329
|
writable: true,
|
|
301032
300330
|
initializer: null
|
|
301033
|
-
}),
|
|
300331
|
+
}), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, "hintOnAdd", [_dec8], {
|
|
301034
300332
|
configurable: true,
|
|
301035
300333
|
enumerable: true,
|
|
301036
300334
|
writable: true,
|
|
301037
300335
|
initializer: null
|
|
301038
|
-
}),
|
|
300336
|
+
}), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "groupText", [_dec9], {
|
|
301039
300337
|
configurable: true,
|
|
301040
300338
|
enumerable: true,
|
|
301041
300339
|
writable: true,
|
|
301042
300340
|
initializer: null
|
|
301043
|
-
}),
|
|
300341
|
+
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "key", [_dec10], {
|
|
301044
300342
|
configurable: true,
|
|
301045
300343
|
enumerable: true,
|
|
301046
300344
|
writable: true,
|
|
301047
300345
|
initializer: null
|
|
301048
|
-
}),
|
|
300346
|
+
}), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, "colspan", [_dec11], {
|
|
301049
300347
|
configurable: true,
|
|
301050
300348
|
enumerable: true,
|
|
301051
300349
|
writable: true,
|
|
301052
300350
|
initializer: null
|
|
301053
|
-
}),
|
|
300351
|
+
}), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, "hiddenGroup", [_dec12], {
|
|
301054
300352
|
configurable: true,
|
|
301055
300353
|
enumerable: true,
|
|
301056
300354
|
writable: true,
|
|
301057
300355
|
initializer: null
|
|
301058
|
-
}),
|
|
300356
|
+
}), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, "empty", [_dec13], {
|
|
301059
300357
|
configurable: true,
|
|
301060
300358
|
enumerable: true,
|
|
301061
300359
|
writable: true,
|
|
301062
300360
|
initializer: null
|
|
301063
|
-
}),
|
|
300361
|
+
}), _descriptor13 = _applyDecoratedDescriptor(_class2.prototype, "width", [_dec14], {
|
|
301064
300362
|
configurable: true,
|
|
301065
300363
|
enumerable: true,
|
|
301066
300364
|
writable: true,
|
|
301067
300365
|
initializer: null
|
|
301068
|
-
}),
|
|
300366
|
+
}), _descriptor14 = _applyDecoratedDescriptor(_class2.prototype, "rowspan", [_dec15], {
|
|
301069
300367
|
configurable: true,
|
|
301070
300368
|
enumerable: true,
|
|
301071
300369
|
writable: true,
|
|
301072
300370
|
initializer: null
|
|
301073
|
-
}),
|
|
300371
|
+
}), _descriptor15 = _applyDecoratedDescriptor(_class2.prototype, "horizontalAlign", [_dec16], {
|
|
301074
300372
|
configurable: true,
|
|
301075
300373
|
enumerable: true,
|
|
301076
300374
|
writable: true,
|
|
301077
300375
|
initializer: null
|
|
301078
|
-
}),
|
|
300376
|
+
}), _descriptor16 = _applyDecoratedDescriptor(_class2.prototype, "requiredempty", [_dec17], {
|
|
301079
300377
|
configurable: true,
|
|
301080
300378
|
enumerable: true,
|
|
301081
300379
|
writable: true,
|
|
301082
300380
|
initializer: null
|
|
301083
|
-
}),
|
|
300381
|
+
}), _descriptor17 = _applyDecoratedDescriptor(_class2.prototype, "indent", [_dec18], {
|
|
301084
300382
|
configurable: true,
|
|
301085
300383
|
enumerable: true,
|
|
301086
300384
|
writable: true,
|
|
301087
300385
|
initializer: null
|
|
301088
|
-
}),
|
|
300386
|
+
}), _descriptor18 = _applyDecoratedDescriptor(_class2.prototype, "grouped", [_dec19], {
|
|
301089
300387
|
configurable: true,
|
|
301090
300388
|
enumerable: true,
|
|
301091
300389
|
writable: true,
|
|
301092
300390
|
initializer: null
|
|
301093
|
-
}),
|
|
300391
|
+
}), _descriptor19 = _applyDecoratedDescriptor(_class2.prototype, "children", [_dec20], {
|
|
301094
300392
|
configurable: true,
|
|
301095
300393
|
enumerable: true,
|
|
301096
300394
|
writable: true,
|
|
301097
300395
|
initializer: null
|
|
301098
300396
|
})), _class2)) || _class);
|
|
301099
|
-
let CrossfitTableRowNode = (
|
|
300397
|
+
let CrossfitTableRowNode = (_dec21 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("row", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/CrossfitTable sync recursive .md$")), _dec22 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("kind", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("head"), `kind="head" - шапка таблицы`), _dec23 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("subkind", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("numbers"), `subkind="numbers" - строка с нумерацией столбцов`), _dec24 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)("column", [CrossfitTableColumnNode]), _dec21(_class4 = (_class5 = class CrossfitTableRowNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
301100
300398
|
constructor(...args) {
|
|
301101
300399
|
super(...args);
|
|
301102
300400
|
|
|
301103
|
-
_initializerDefineProperty(this, "kind",
|
|
300401
|
+
_initializerDefineProperty(this, "kind", _descriptor20, this);
|
|
301104
300402
|
|
|
301105
|
-
_initializerDefineProperty(this, "subkind",
|
|
300403
|
+
_initializerDefineProperty(this, "subkind", _descriptor21, this);
|
|
301106
300404
|
|
|
301107
|
-
_initializerDefineProperty(this, "columns",
|
|
300405
|
+
_initializerDefineProperty(this, "columns", _descriptor22, this);
|
|
301108
300406
|
}
|
|
301109
300407
|
|
|
301110
|
-
}, (
|
|
300408
|
+
}, (_descriptor20 = _applyDecoratedDescriptor(_class5.prototype, "kind", [_dec22], {
|
|
301111
300409
|
configurable: true,
|
|
301112
300410
|
enumerable: true,
|
|
301113
300411
|
writable: true,
|
|
301114
300412
|
initializer: null
|
|
301115
|
-
}),
|
|
300413
|
+
}), _descriptor21 = _applyDecoratedDescriptor(_class5.prototype, "subkind", [_dec23], {
|
|
301116
300414
|
configurable: true,
|
|
301117
300415
|
enumerable: true,
|
|
301118
300416
|
writable: true,
|
|
301119
300417
|
initializer: null
|
|
301120
|
-
}),
|
|
300418
|
+
}), _descriptor22 = _applyDecoratedDescriptor(_class5.prototype, "columns", [_dec24], {
|
|
301121
300419
|
configurable: true,
|
|
301122
300420
|
enumerable: true,
|
|
301123
300421
|
writable: true,
|
|
301124
300422
|
initializer: null
|
|
301125
300423
|
})), _class5)) || _class4);
|
|
301126
|
-
let MultilineNode = (
|
|
300424
|
+
let MultilineNode = (_dec25 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("multiline", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/CrossfitTable sync recursive .md$")), _dec26 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_0__.DataBindingScopeMixinNode), _dec27 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec28 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("defaultChildren", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.arrayLiteral(), ``), _dec29 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.deprecatedAttr)("focusByHotkey", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.InvalidUsage), _dec30 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.deprecatedAttr)("instancesPerPage", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.Removed), _dec31 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.deprecatedAttr)("pageStep", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.InvalidUsage), _dec32 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("removebutton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `false - чтобы слева от раздела не было кнопки "Удалить"`), _dec33 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("rowmenu", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec34 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)("row", [CrossfitTableRowNode]), _dec35 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("addbutton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.localizedString, `Название кнопки при добавлении множественности`), _dec36 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("addType", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("button", "link"), `Добавить строку м.б. как кнопка "button" или ссылка "link"`), _dec37 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("usepager", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `false - без пейджера (1-11, 12-22 - этого нет внизу страницы)`), _dec38 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("storeFilters", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Будут ли сохраняться фильтры для этого мультилайна между обнолениями страницы. По умолчанию -- нет`), _dec25(_class7 = (_class8 = class MultilineNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_2__.SugarNodeWithLegacyVisibility {
|
|
301127
300425
|
constructor(...args) {
|
|
301128
300426
|
super(...args);
|
|
301129
300427
|
|
|
301130
|
-
_initializerDefineProperty(this, "dataScope",
|
|
300428
|
+
_initializerDefineProperty(this, "dataScope", _descriptor23, this);
|
|
301131
300429
|
|
|
301132
|
-
_initializerDefineProperty(this, "optional",
|
|
300430
|
+
_initializerDefineProperty(this, "optional", _descriptor24, this);
|
|
301133
300431
|
|
|
301134
|
-
_initializerDefineProperty(this, "defaultChildren",
|
|
300432
|
+
_initializerDefineProperty(this, "defaultChildren", _descriptor25, this);
|
|
301135
300433
|
|
|
301136
|
-
_initializerDefineProperty(this, "focusByHotkey",
|
|
300434
|
+
_initializerDefineProperty(this, "focusByHotkey", _descriptor26, this);
|
|
301137
300435
|
|
|
301138
|
-
_initializerDefineProperty(this, "instancesPerPage",
|
|
300436
|
+
_initializerDefineProperty(this, "instancesPerPage", _descriptor27, this);
|
|
301139
300437
|
|
|
301140
|
-
_initializerDefineProperty(this, "pageStep",
|
|
300438
|
+
_initializerDefineProperty(this, "pageStep", _descriptor28, this);
|
|
301141
300439
|
|
|
301142
|
-
_initializerDefineProperty(this, "removebutton",
|
|
300440
|
+
_initializerDefineProperty(this, "removebutton", _descriptor29, this);
|
|
301143
300441
|
|
|
301144
|
-
_initializerDefineProperty(this, "rowmenu",
|
|
300442
|
+
_initializerDefineProperty(this, "rowmenu", _descriptor30, this);
|
|
301145
300443
|
|
|
301146
|
-
_initializerDefineProperty(this, "rows",
|
|
300444
|
+
_initializerDefineProperty(this, "rows", _descriptor31, this);
|
|
301147
300445
|
|
|
301148
|
-
_initializerDefineProperty(this, "addbutton",
|
|
300446
|
+
_initializerDefineProperty(this, "addbutton", _descriptor32, this);
|
|
301149
300447
|
|
|
301150
|
-
_initializerDefineProperty(this, "addType",
|
|
300448
|
+
_initializerDefineProperty(this, "addType", _descriptor33, this);
|
|
301151
300449
|
|
|
301152
|
-
_initializerDefineProperty(this, "usepager",
|
|
300450
|
+
_initializerDefineProperty(this, "usepager", _descriptor34, this);
|
|
301153
300451
|
|
|
301154
|
-
_initializerDefineProperty(this, "storeFilters",
|
|
300452
|
+
_initializerDefineProperty(this, "storeFilters", _descriptor35, this);
|
|
301155
300453
|
}
|
|
301156
300454
|
|
|
301157
300455
|
getOwnPath() {
|
|
@@ -301162,219 +300460,219 @@ let MultilineNode = (_dec26 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_M
|
|
|
301162
300460
|
return true;
|
|
301163
300461
|
}
|
|
301164
300462
|
|
|
301165
|
-
}, (
|
|
300463
|
+
}, (_descriptor23 = _applyDecoratedDescriptor(_class8.prototype, "dataScope", [_dec26], {
|
|
301166
300464
|
configurable: true,
|
|
301167
300465
|
enumerable: true,
|
|
301168
300466
|
writable: true,
|
|
301169
300467
|
initializer: null
|
|
301170
|
-
}),
|
|
300468
|
+
}), _descriptor24 = _applyDecoratedDescriptor(_class8.prototype, "optional", [_dec27], {
|
|
301171
300469
|
configurable: true,
|
|
301172
300470
|
enumerable: true,
|
|
301173
300471
|
writable: true,
|
|
301174
300472
|
initializer: null
|
|
301175
|
-
}),
|
|
300473
|
+
}), _descriptor25 = _applyDecoratedDescriptor(_class8.prototype, "defaultChildren", [_dec28], {
|
|
301176
300474
|
configurable: true,
|
|
301177
300475
|
enumerable: true,
|
|
301178
300476
|
writable: true,
|
|
301179
300477
|
initializer: null
|
|
301180
|
-
}),
|
|
300478
|
+
}), _descriptor26 = _applyDecoratedDescriptor(_class8.prototype, "focusByHotkey", [_dec29], {
|
|
301181
300479
|
configurable: true,
|
|
301182
300480
|
enumerable: true,
|
|
301183
300481
|
writable: true,
|
|
301184
300482
|
initializer: null
|
|
301185
|
-
}),
|
|
300483
|
+
}), _descriptor27 = _applyDecoratedDescriptor(_class8.prototype, "instancesPerPage", [_dec30], {
|
|
301186
300484
|
configurable: true,
|
|
301187
300485
|
enumerable: true,
|
|
301188
300486
|
writable: true,
|
|
301189
300487
|
initializer: null
|
|
301190
|
-
}),
|
|
300488
|
+
}), _descriptor28 = _applyDecoratedDescriptor(_class8.prototype, "pageStep", [_dec31], {
|
|
301191
300489
|
configurable: true,
|
|
301192
300490
|
enumerable: true,
|
|
301193
300491
|
writable: true,
|
|
301194
300492
|
initializer: null
|
|
301195
|
-
}),
|
|
300493
|
+
}), _descriptor29 = _applyDecoratedDescriptor(_class8.prototype, "removebutton", [_dec32], {
|
|
301196
300494
|
configurable: true,
|
|
301197
300495
|
enumerable: true,
|
|
301198
300496
|
writable: true,
|
|
301199
300497
|
initializer: null
|
|
301200
|
-
}),
|
|
300498
|
+
}), _descriptor30 = _applyDecoratedDescriptor(_class8.prototype, "rowmenu", [_dec33], {
|
|
301201
300499
|
configurable: true,
|
|
301202
300500
|
enumerable: true,
|
|
301203
300501
|
writable: true,
|
|
301204
300502
|
initializer: null
|
|
301205
|
-
}),
|
|
300503
|
+
}), _descriptor31 = _applyDecoratedDescriptor(_class8.prototype, "rows", [_dec34], {
|
|
301206
300504
|
configurable: true,
|
|
301207
300505
|
enumerable: true,
|
|
301208
300506
|
writable: true,
|
|
301209
300507
|
initializer: null
|
|
301210
|
-
}),
|
|
300508
|
+
}), _descriptor32 = _applyDecoratedDescriptor(_class8.prototype, "addbutton", [_dec35], {
|
|
301211
300509
|
configurable: true,
|
|
301212
300510
|
enumerable: true,
|
|
301213
300511
|
writable: true,
|
|
301214
300512
|
initializer: null
|
|
301215
|
-
}),
|
|
300513
|
+
}), _descriptor33 = _applyDecoratedDescriptor(_class8.prototype, "addType", [_dec36], {
|
|
301216
300514
|
configurable: true,
|
|
301217
300515
|
enumerable: true,
|
|
301218
300516
|
writable: true,
|
|
301219
300517
|
initializer: null
|
|
301220
|
-
}),
|
|
300518
|
+
}), _descriptor34 = _applyDecoratedDescriptor(_class8.prototype, "usepager", [_dec37], {
|
|
301221
300519
|
configurable: true,
|
|
301222
300520
|
enumerable: true,
|
|
301223
300521
|
writable: true,
|
|
301224
300522
|
initializer: null
|
|
301225
|
-
}),
|
|
300523
|
+
}), _descriptor35 = _applyDecoratedDescriptor(_class8.prototype, "storeFilters", [_dec38], {
|
|
301226
300524
|
configurable: true,
|
|
301227
300525
|
enumerable: true,
|
|
301228
300526
|
writable: true,
|
|
301229
300527
|
initializer: null
|
|
301230
300528
|
})), _class8)) || _class7);
|
|
301231
|
-
let CrossfitTableHeaderNode = (
|
|
300529
|
+
let CrossfitTableHeaderNode = (_dec39 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("header", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/CrossfitTable sync recursive .md$")), _dec40 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("align", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("right"), ``), _dec41 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)(), _dec39(_class10 = (_class11 = class CrossfitTableHeaderNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
301232
300530
|
constructor(...args) {
|
|
301233
300531
|
super(...args);
|
|
301234
300532
|
|
|
301235
|
-
_initializerDefineProperty(this, "align",
|
|
300533
|
+
_initializerDefineProperty(this, "align", _descriptor36, this);
|
|
301236
300534
|
|
|
301237
|
-
_initializerDefineProperty(this, "children",
|
|
300535
|
+
_initializerDefineProperty(this, "children", _descriptor37, this);
|
|
301238
300536
|
}
|
|
301239
300537
|
|
|
301240
|
-
}, (
|
|
300538
|
+
}, (_descriptor36 = _applyDecoratedDescriptor(_class11.prototype, "align", [_dec40], {
|
|
301241
300539
|
configurable: true,
|
|
301242
300540
|
enumerable: true,
|
|
301243
300541
|
writable: true,
|
|
301244
300542
|
initializer: null
|
|
301245
|
-
}),
|
|
300543
|
+
}), _descriptor37 = _applyDecoratedDescriptor(_class11.prototype, "children", [_dec41], {
|
|
301246
300544
|
configurable: true,
|
|
301247
300545
|
enumerable: true,
|
|
301248
300546
|
writable: true,
|
|
301249
300547
|
initializer: null
|
|
301250
300548
|
})), _class11)) || _class10);
|
|
301251
|
-
let FilterInfoNode = (
|
|
300549
|
+
let FilterInfoNode = (_dec42 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("filterinfo", `path - путь до multiline, по которому фильтруем`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/CrossfitTable sync recursive .md$")), _dec43 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_0__.DataReferenceMixinNode), _dec44 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("multilinePath", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, ``), _dec45 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, `путь до multiline, по которому фильтруем`), _dec46 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("titles", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.stringArray, `массив строк для склонения единицы поиска (для корректного вывода с количеством найденных)`), _dec47 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("notFoundText", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.localizedString, ` текст, который будет выводится, если после фильтрации ничего не найдено`), _dec42(_class13 = (_class14 = class FilterInfoNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
301252
300550
|
constructor(...args) {
|
|
301253
300551
|
super(...args);
|
|
301254
300552
|
|
|
301255
|
-
_initializerDefineProperty(this, "dataReference",
|
|
300553
|
+
_initializerDefineProperty(this, "dataReference", _descriptor38, this);
|
|
301256
300554
|
|
|
301257
|
-
_initializerDefineProperty(this, "multilinePath",
|
|
300555
|
+
_initializerDefineProperty(this, "multilinePath", _descriptor39, this);
|
|
301258
300556
|
|
|
301259
|
-
_initializerDefineProperty(this, "path",
|
|
300557
|
+
_initializerDefineProperty(this, "path", _descriptor40, this);
|
|
301260
300558
|
|
|
301261
|
-
_initializerDefineProperty(this, "titles",
|
|
300559
|
+
_initializerDefineProperty(this, "titles", _descriptor41, this);
|
|
301262
300560
|
|
|
301263
|
-
_initializerDefineProperty(this, "notFoundText",
|
|
300561
|
+
_initializerDefineProperty(this, "notFoundText", _descriptor42, this);
|
|
301264
300562
|
}
|
|
301265
300563
|
|
|
301266
300564
|
getOwnPath() {
|
|
301267
300565
|
return this.dataReference.getOwnPath();
|
|
301268
300566
|
}
|
|
301269
300567
|
|
|
301270
|
-
}, (
|
|
300568
|
+
}, (_descriptor38 = _applyDecoratedDescriptor(_class14.prototype, "dataReference", [_dec43], {
|
|
301271
300569
|
configurable: true,
|
|
301272
300570
|
enumerable: true,
|
|
301273
300571
|
writable: true,
|
|
301274
300572
|
initializer: null
|
|
301275
|
-
}),
|
|
300573
|
+
}), _descriptor39 = _applyDecoratedDescriptor(_class14.prototype, "multilinePath", [_dec44], {
|
|
301276
300574
|
configurable: true,
|
|
301277
300575
|
enumerable: true,
|
|
301278
300576
|
writable: true,
|
|
301279
300577
|
initializer: null
|
|
301280
|
-
}),
|
|
300578
|
+
}), _descriptor40 = _applyDecoratedDescriptor(_class14.prototype, "path", [_dec45], {
|
|
301281
300579
|
configurable: true,
|
|
301282
300580
|
enumerable: true,
|
|
301283
300581
|
writable: true,
|
|
301284
300582
|
initializer: null
|
|
301285
|
-
}),
|
|
300583
|
+
}), _descriptor41 = _applyDecoratedDescriptor(_class14.prototype, "titles", [_dec46], {
|
|
301286
300584
|
configurable: true,
|
|
301287
300585
|
enumerable: true,
|
|
301288
300586
|
writable: true,
|
|
301289
300587
|
initializer: null
|
|
301290
|
-
}),
|
|
300588
|
+
}), _descriptor42 = _applyDecoratedDescriptor(_class14.prototype, "notFoundText", [_dec47], {
|
|
301291
300589
|
configurable: true,
|
|
301292
300590
|
enumerable: true,
|
|
301293
300591
|
writable: true,
|
|
301294
300592
|
initializer: null
|
|
301295
300593
|
})), _class14)) || _class13);
|
|
301296
|
-
let CrossfitTableFooterNode = (
|
|
300594
|
+
let CrossfitTableFooterNode = (_dec48 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("footer", ``), _dec49 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)(), _dec48(_class16 = (_class17 = class CrossfitTableFooterNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
301297
300595
|
constructor(...args) {
|
|
301298
300596
|
super(...args);
|
|
301299
300597
|
|
|
301300
|
-
_initializerDefineProperty(this, "children",
|
|
300598
|
+
_initializerDefineProperty(this, "children", _descriptor43, this);
|
|
301301
300599
|
}
|
|
301302
300600
|
|
|
301303
|
-
}, (
|
|
300601
|
+
}, (_descriptor43 = _applyDecoratedDescriptor(_class17.prototype, "children", [_dec49], {
|
|
301304
300602
|
configurable: true,
|
|
301305
300603
|
enumerable: true,
|
|
301306
300604
|
writable: true,
|
|
301307
300605
|
initializer: null
|
|
301308
300606
|
})), _class17)) || _class16);
|
|
301309
|
-
let CrossfitTableColgroupColumnNode = (
|
|
300607
|
+
let CrossfitTableColgroupColumnNode = (_dec50 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("col", ``), _dec51 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.lengthUnit, ``), _dec50(_class19 = (_class20 = class CrossfitTableColgroupColumnNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
301310
300608
|
constructor(...args) {
|
|
301311
300609
|
super(...args);
|
|
301312
300610
|
|
|
301313
|
-
_initializerDefineProperty(this, "width",
|
|
300611
|
+
_initializerDefineProperty(this, "width", _descriptor44, this);
|
|
301314
300612
|
}
|
|
301315
300613
|
|
|
301316
|
-
}, (
|
|
300614
|
+
}, (_descriptor44 = _applyDecoratedDescriptor(_class20.prototype, "width", [_dec51], {
|
|
301317
300615
|
configurable: true,
|
|
301318
300616
|
enumerable: true,
|
|
301319
300617
|
writable: true,
|
|
301320
300618
|
initializer: null
|
|
301321
300619
|
})), _class20)) || _class19);
|
|
301322
|
-
let CrossfitTableColgroupNode = (
|
|
300620
|
+
let CrossfitTableColgroupNode = (_dec52 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("colgroup", ``), _dec53 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)("col", [CrossfitTableColgroupColumnNode]), _dec52(_class22 = (_class23 = class CrossfitTableColgroupNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
301323
300621
|
constructor(...args) {
|
|
301324
300622
|
super(...args);
|
|
301325
300623
|
|
|
301326
|
-
_initializerDefineProperty(this, "cols",
|
|
300624
|
+
_initializerDefineProperty(this, "cols", _descriptor45, this);
|
|
301327
300625
|
}
|
|
301328
300626
|
|
|
301329
|
-
}, (
|
|
300627
|
+
}, (_descriptor45 = _applyDecoratedDescriptor(_class23.prototype, "cols", [_dec53], {
|
|
301330
300628
|
configurable: true,
|
|
301331
300629
|
enumerable: true,
|
|
301332
300630
|
writable: true,
|
|
301333
300631
|
initializer: null
|
|
301334
300632
|
})), _class23)) || _class22);
|
|
301335
|
-
let CrossfitTableNode = (
|
|
300633
|
+
let CrossfitTableNode = (_dec54 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("table", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/CrossfitTable sync recursive .md$"), x => x.boolAttr("crossfit")), _dec55 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.bindingPath, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_4__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_4__.bindingPathLink)} данного элемента. Опционально, если не указан, то будет отображаться текст заданный внутри данного элемента`), _dec56 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `необязательность`), _dec57 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.deprecatedAttr)("offsetBottom", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.InvalidUsage), _dec58 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("grayColumn", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, ``), _dec59 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("sidebar", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec60 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("crossfit", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec61 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("side", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, ``), _dec62 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("rowmenu", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec63 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("removebutton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `\"false\" - чтобы слева от раздела не было кнопки "Удалить"`), _dec64 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("sticky", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec65 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("doNotCopyPaths", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.stringArray, ``), _dec66 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)(["row", "multiline"], [CrossfitTableRowNode, MultilineNode]), _dec67 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.singleChild)("header", [CrossfitTableHeaderNode]), _dec68 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.singleChild)("colgroup", [CrossfitTableColgroupNode]), _dec69 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.singleChild)("filterinfo", [FilterInfoNode]), _dec70 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("loader", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.localizedString, ``), _dec71 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("align", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("baseline", "top"), ``), _dec72 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("columnGrouping", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.object, ``), _dec73 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("hiddenGroups", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.object, ``), _dec74 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.singleChild)("footer", [CrossfitTableFooterNode]), _dec54(_class25 = (_class26 = class CrossfitTableNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_2__.SugarNodeWithLegacyVisibility {
|
|
301336
300634
|
constructor(...args) {
|
|
301337
300635
|
super(...args);
|
|
301338
300636
|
|
|
301339
|
-
_initializerDefineProperty(this, "path",
|
|
300637
|
+
_initializerDefineProperty(this, "path", _descriptor46, this);
|
|
301340
300638
|
|
|
301341
|
-
_initializerDefineProperty(this, "optional",
|
|
300639
|
+
_initializerDefineProperty(this, "optional", _descriptor47, this);
|
|
301342
300640
|
|
|
301343
|
-
_initializerDefineProperty(this, "offsetBottom",
|
|
300641
|
+
_initializerDefineProperty(this, "offsetBottom", _descriptor48, this);
|
|
301344
300642
|
|
|
301345
|
-
_initializerDefineProperty(this, "grayColumn",
|
|
300643
|
+
_initializerDefineProperty(this, "grayColumn", _descriptor49, this);
|
|
301346
300644
|
|
|
301347
|
-
_initializerDefineProperty(this, "sidebar",
|
|
300645
|
+
_initializerDefineProperty(this, "sidebar", _descriptor50, this);
|
|
301348
300646
|
|
|
301349
|
-
_initializerDefineProperty(this, "crossfit",
|
|
300647
|
+
_initializerDefineProperty(this, "crossfit", _descriptor51, this);
|
|
301350
300648
|
|
|
301351
|
-
_initializerDefineProperty(this, "side",
|
|
300649
|
+
_initializerDefineProperty(this, "side", _descriptor52, this);
|
|
301352
300650
|
|
|
301353
|
-
_initializerDefineProperty(this, "rowmenu",
|
|
300651
|
+
_initializerDefineProperty(this, "rowmenu", _descriptor53, this);
|
|
301354
300652
|
|
|
301355
|
-
_initializerDefineProperty(this, "removebutton",
|
|
300653
|
+
_initializerDefineProperty(this, "removebutton", _descriptor54, this);
|
|
301356
300654
|
|
|
301357
|
-
_initializerDefineProperty(this, "sticky",
|
|
300655
|
+
_initializerDefineProperty(this, "sticky", _descriptor55, this);
|
|
301358
300656
|
|
|
301359
|
-
_initializerDefineProperty(this, "doNotCopyPaths",
|
|
300657
|
+
_initializerDefineProperty(this, "doNotCopyPaths", _descriptor56, this);
|
|
301360
300658
|
|
|
301361
|
-
_initializerDefineProperty(this, "rows",
|
|
300659
|
+
_initializerDefineProperty(this, "rows", _descriptor57, this);
|
|
301362
300660
|
|
|
301363
|
-
_initializerDefineProperty(this, "header",
|
|
300661
|
+
_initializerDefineProperty(this, "header", _descriptor58, this);
|
|
301364
300662
|
|
|
301365
|
-
_initializerDefineProperty(this, "colgroup",
|
|
300663
|
+
_initializerDefineProperty(this, "colgroup", _descriptor59, this);
|
|
301366
300664
|
|
|
301367
|
-
_initializerDefineProperty(this, "filterinfo",
|
|
300665
|
+
_initializerDefineProperty(this, "filterinfo", _descriptor60, this);
|
|
301368
300666
|
|
|
301369
|
-
_initializerDefineProperty(this, "loader",
|
|
300667
|
+
_initializerDefineProperty(this, "loader", _descriptor61, this);
|
|
301370
300668
|
|
|
301371
|
-
_initializerDefineProperty(this, "align",
|
|
300669
|
+
_initializerDefineProperty(this, "align", _descriptor62, this);
|
|
301372
300670
|
|
|
301373
|
-
_initializerDefineProperty(this, "columnGrouping",
|
|
300671
|
+
_initializerDefineProperty(this, "columnGrouping", _descriptor63, this);
|
|
301374
300672
|
|
|
301375
|
-
_initializerDefineProperty(this, "hiddenGroups",
|
|
300673
|
+
_initializerDefineProperty(this, "hiddenGroups", _descriptor64, this);
|
|
301376
300674
|
|
|
301377
|
-
_initializerDefineProperty(this, "footer",
|
|
300675
|
+
_initializerDefineProperty(this, "footer", _descriptor65, this);
|
|
301378
300676
|
}
|
|
301379
300677
|
|
|
301380
300678
|
getOwnPath() {
|
|
@@ -301407,102 +300705,102 @@ let CrossfitTableNode = (_dec55 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORT
|
|
|
301407
300705
|
return (_this$sticky = this.sticky) !== null && _this$sticky !== void 0 ? _this$sticky : true;
|
|
301408
300706
|
}
|
|
301409
300707
|
|
|
301410
|
-
}, (
|
|
300708
|
+
}, (_descriptor46 = _applyDecoratedDescriptor(_class26.prototype, "path", [_dec55], {
|
|
301411
300709
|
configurable: true,
|
|
301412
300710
|
enumerable: true,
|
|
301413
300711
|
writable: true,
|
|
301414
300712
|
initializer: null
|
|
301415
|
-
}),
|
|
300713
|
+
}), _descriptor47 = _applyDecoratedDescriptor(_class26.prototype, "optional", [_dec56], {
|
|
301416
300714
|
configurable: true,
|
|
301417
300715
|
enumerable: true,
|
|
301418
300716
|
writable: true,
|
|
301419
300717
|
initializer: null
|
|
301420
|
-
}),
|
|
300718
|
+
}), _descriptor48 = _applyDecoratedDescriptor(_class26.prototype, "offsetBottom", [_dec57], {
|
|
301421
300719
|
configurable: true,
|
|
301422
300720
|
enumerable: true,
|
|
301423
300721
|
writable: true,
|
|
301424
300722
|
initializer: null
|
|
301425
|
-
}),
|
|
300723
|
+
}), _descriptor49 = _applyDecoratedDescriptor(_class26.prototype, "grayColumn", [_dec58], {
|
|
301426
300724
|
configurable: true,
|
|
301427
300725
|
enumerable: true,
|
|
301428
300726
|
writable: true,
|
|
301429
300727
|
initializer: null
|
|
301430
|
-
}),
|
|
300728
|
+
}), _descriptor50 = _applyDecoratedDescriptor(_class26.prototype, "sidebar", [_dec59], {
|
|
301431
300729
|
configurable: true,
|
|
301432
300730
|
enumerable: true,
|
|
301433
300731
|
writable: true,
|
|
301434
300732
|
initializer: null
|
|
301435
|
-
}),
|
|
300733
|
+
}), _descriptor51 = _applyDecoratedDescriptor(_class26.prototype, "crossfit", [_dec60], {
|
|
301436
300734
|
configurable: true,
|
|
301437
300735
|
enumerable: true,
|
|
301438
300736
|
writable: true,
|
|
301439
300737
|
initializer: null
|
|
301440
|
-
}),
|
|
300738
|
+
}), _descriptor52 = _applyDecoratedDescriptor(_class26.prototype, "side", [_dec61], {
|
|
301441
300739
|
configurable: true,
|
|
301442
300740
|
enumerable: true,
|
|
301443
300741
|
writable: true,
|
|
301444
300742
|
initializer: null
|
|
301445
|
-
}),
|
|
300743
|
+
}), _descriptor53 = _applyDecoratedDescriptor(_class26.prototype, "rowmenu", [_dec62], {
|
|
301446
300744
|
configurable: true,
|
|
301447
300745
|
enumerable: true,
|
|
301448
300746
|
writable: true,
|
|
301449
300747
|
initializer: null
|
|
301450
|
-
}),
|
|
300748
|
+
}), _descriptor54 = _applyDecoratedDescriptor(_class26.prototype, "removebutton", [_dec63], {
|
|
301451
300749
|
configurable: true,
|
|
301452
300750
|
enumerable: true,
|
|
301453
300751
|
writable: true,
|
|
301454
300752
|
initializer: null
|
|
301455
|
-
}),
|
|
300753
|
+
}), _descriptor55 = _applyDecoratedDescriptor(_class26.prototype, "sticky", [_dec64], {
|
|
301456
300754
|
configurable: true,
|
|
301457
300755
|
enumerable: true,
|
|
301458
300756
|
writable: true,
|
|
301459
300757
|
initializer: null
|
|
301460
|
-
}),
|
|
300758
|
+
}), _descriptor56 = _applyDecoratedDescriptor(_class26.prototype, "doNotCopyPaths", [_dec65], {
|
|
301461
300759
|
configurable: true,
|
|
301462
300760
|
enumerable: true,
|
|
301463
300761
|
writable: true,
|
|
301464
300762
|
initializer: null
|
|
301465
|
-
}),
|
|
300763
|
+
}), _descriptor57 = _applyDecoratedDescriptor(_class26.prototype, "rows", [_dec66], {
|
|
301466
300764
|
configurable: true,
|
|
301467
300765
|
enumerable: true,
|
|
301468
300766
|
writable: true,
|
|
301469
300767
|
initializer: null
|
|
301470
|
-
}),
|
|
300768
|
+
}), _descriptor58 = _applyDecoratedDescriptor(_class26.prototype, "header", [_dec67], {
|
|
301471
300769
|
configurable: true,
|
|
301472
300770
|
enumerable: true,
|
|
301473
300771
|
writable: true,
|
|
301474
300772
|
initializer: null
|
|
301475
|
-
}),
|
|
300773
|
+
}), _descriptor59 = _applyDecoratedDescriptor(_class26.prototype, "colgroup", [_dec68], {
|
|
301476
300774
|
configurable: true,
|
|
301477
300775
|
enumerable: true,
|
|
301478
300776
|
writable: true,
|
|
301479
300777
|
initializer: null
|
|
301480
|
-
}),
|
|
300778
|
+
}), _descriptor60 = _applyDecoratedDescriptor(_class26.prototype, "filterinfo", [_dec69], {
|
|
301481
300779
|
configurable: true,
|
|
301482
300780
|
enumerable: true,
|
|
301483
300781
|
writable: true,
|
|
301484
300782
|
initializer: null
|
|
301485
|
-
}),
|
|
300783
|
+
}), _descriptor61 = _applyDecoratedDescriptor(_class26.prototype, "loader", [_dec70], {
|
|
301486
300784
|
configurable: true,
|
|
301487
300785
|
enumerable: true,
|
|
301488
300786
|
writable: true,
|
|
301489
300787
|
initializer: null
|
|
301490
|
-
}),
|
|
300788
|
+
}), _descriptor62 = _applyDecoratedDescriptor(_class26.prototype, "align", [_dec71], {
|
|
301491
300789
|
configurable: true,
|
|
301492
300790
|
enumerable: true,
|
|
301493
300791
|
writable: true,
|
|
301494
300792
|
initializer: null
|
|
301495
|
-
}),
|
|
300793
|
+
}), _descriptor63 = _applyDecoratedDescriptor(_class26.prototype, "columnGrouping", [_dec72], {
|
|
301496
300794
|
configurable: true,
|
|
301497
300795
|
enumerable: true,
|
|
301498
300796
|
writable: true,
|
|
301499
300797
|
initializer: null
|
|
301500
|
-
}),
|
|
300798
|
+
}), _descriptor64 = _applyDecoratedDescriptor(_class26.prototype, "hiddenGroups", [_dec73], {
|
|
301501
300799
|
configurable: true,
|
|
301502
300800
|
enumerable: true,
|
|
301503
300801
|
writable: true,
|
|
301504
300802
|
initializer: null
|
|
301505
|
-
}),
|
|
300803
|
+
}), _descriptor65 = _applyDecoratedDescriptor(_class26.prototype, "footer", [_dec74], {
|
|
301506
300804
|
configurable: true,
|
|
301507
300805
|
enumerable: true,
|
|
301508
300806
|
writable: true,
|
|
@@ -302884,7 +302182,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
302884
302182
|
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
302885
302183
|
/* harmony import */ var _Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../Commons/DocumentationLinks */ "./Generator/src/generators/markupGenerator/ElementProcessors/Commons/DocumentationLinks.ts");
|
|
302886
302184
|
/* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
|
|
302887
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17,
|
|
302185
|
+
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _dec18, _dec19, _dec20, _class4, _class5, _descriptor17, _descriptor18, _dec21, _dec22, _dec23, _dec24, _dec25, _dec26, _dec27, _dec28, _dec29, _dec30, _dec31, _dec32, _dec33, _dec34, _dec35, _dec36, _dec37, _dec38, _dec39, _dec40, _dec41, _class7, _class8, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _descriptor36, _descriptor37, _descriptor38, _dec42, _dec43, _dec44, _dec45, _dec46, _dec47, _dec48, _class10, _class11, _descriptor39, _descriptor40, _descriptor41, _descriptor42, _descriptor43, _descriptor44, _dec49, _dec50, _dec51, _class13, _class14, _descriptor45, _descriptor46, _dec52, _dec53, _dec54, _class16, _class17, _descriptor47, _descriptor48, _dec55, _dec56, _class19, _class20, _descriptor49, _dec57, _dec58, _class22, _class23, _descriptor50, _dec59, _dec60, _dec61, _dec62, _dec63, _dec64, _dec65, _dec66, _dec67, _dec68, _dec69, _dec70, _dec71, _dec72, _dec73, _dec74, _dec75, _dec76, _class25, _class26, _descriptor51, _descriptor52, _descriptor53, _descriptor54, _descriptor55, _descriptor56, _descriptor57, _descriptor58, _descriptor59, _descriptor60, _descriptor61, _descriptor62, _descriptor63, _descriptor64, _descriptor65, _descriptor66, _descriptor67;
|
|
302888
302186
|
|
|
302889
302187
|
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 }); }
|
|
302890
302188
|
|
|
@@ -302899,7 +302197,7 @@ function _initializerWarningHelper(descriptor, context) { throw new Error('Decor
|
|
|
302899
302197
|
|
|
302900
302198
|
|
|
302901
302199
|
|
|
302902
|
-
let StickyTableColumnNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("column", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/StickyTable sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_0__.DataBindingScopeMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("multiple", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("disabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Отключить редактирование для множественной колонки. Работает только если multiple=true`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("
|
|
302200
|
+
let StickyTableColumnNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("column", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/StickyTable sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_0__.DataBindingScopeMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("multiple", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("disabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Отключить редактирование для множественной колонки. Работает только если multiple=true`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("hintOnAdd", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, ``), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("titles", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.array(_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string), ``), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("colspan", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.number, ``), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("empty", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.lengthUnit, ``), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("rowspan", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.number, ``), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("textalign", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.InvalidUsage), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("horizontalAlign", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("center", "left", "right"), ``), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("paddingTop", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.lengthUnit, ``), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("requiredempty", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("indent", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("1", "2", "3", "4", "5", "6"), ``), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("textTopPadding", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)(), _dec(_class = (_class2 = class StickyTableColumnNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.SugarNodeBase {
|
|
302903
302201
|
constructor(...args) {
|
|
302904
302202
|
super(...args);
|
|
302905
302203
|
|
|
@@ -302909,33 +302207,31 @@ let StickyTableColumnNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPO
|
|
|
302909
302207
|
|
|
302910
302208
|
_initializerDefineProperty(this, "disabled", _descriptor3, this);
|
|
302911
302209
|
|
|
302912
|
-
_initializerDefineProperty(this, "
|
|
302210
|
+
_initializerDefineProperty(this, "hintOnAdd", _descriptor4, this);
|
|
302913
302211
|
|
|
302914
|
-
_initializerDefineProperty(this, "
|
|
302915
|
-
|
|
302916
|
-
_initializerDefineProperty(this, "titles", _descriptor6, this);
|
|
302212
|
+
_initializerDefineProperty(this, "titles", _descriptor5, this);
|
|
302917
302213
|
|
|
302918
|
-
_initializerDefineProperty(this, "colspan",
|
|
302214
|
+
_initializerDefineProperty(this, "colspan", _descriptor6, this);
|
|
302919
302215
|
|
|
302920
|
-
_initializerDefineProperty(this, "empty",
|
|
302216
|
+
_initializerDefineProperty(this, "empty", _descriptor7, this);
|
|
302921
302217
|
|
|
302922
|
-
_initializerDefineProperty(this, "width",
|
|
302218
|
+
_initializerDefineProperty(this, "width", _descriptor8, this);
|
|
302923
302219
|
|
|
302924
|
-
_initializerDefineProperty(this, "rowspan",
|
|
302220
|
+
_initializerDefineProperty(this, "rowspan", _descriptor9, this);
|
|
302925
302221
|
|
|
302926
|
-
_initializerDefineProperty(this, "textalign",
|
|
302222
|
+
_initializerDefineProperty(this, "textalign", _descriptor10, this);
|
|
302927
302223
|
|
|
302928
|
-
_initializerDefineProperty(this, "horizontalAlign",
|
|
302224
|
+
_initializerDefineProperty(this, "horizontalAlign", _descriptor11, this);
|
|
302929
302225
|
|
|
302930
|
-
_initializerDefineProperty(this, "paddingTop",
|
|
302226
|
+
_initializerDefineProperty(this, "paddingTop", _descriptor12, this);
|
|
302931
302227
|
|
|
302932
|
-
_initializerDefineProperty(this, "requiredempty",
|
|
302228
|
+
_initializerDefineProperty(this, "requiredempty", _descriptor13, this);
|
|
302933
302229
|
|
|
302934
|
-
_initializerDefineProperty(this, "indent",
|
|
302230
|
+
_initializerDefineProperty(this, "indent", _descriptor14, this);
|
|
302935
302231
|
|
|
302936
|
-
_initializerDefineProperty(this, "textTopPadding",
|
|
302232
|
+
_initializerDefineProperty(this, "textTopPadding", _descriptor15, this);
|
|
302937
302233
|
|
|
302938
|
-
_initializerDefineProperty(this, "children",
|
|
302234
|
+
_initializerDefineProperty(this, "children", _descriptor16, this);
|
|
302939
302235
|
}
|
|
302940
302236
|
|
|
302941
302237
|
getOwnPath() {
|
|
@@ -302963,140 +302259,135 @@ let StickyTableColumnNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPO
|
|
|
302963
302259
|
enumerable: true,
|
|
302964
302260
|
writable: true,
|
|
302965
302261
|
initializer: null
|
|
302966
|
-
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
302262
|
+
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "hintOnAdd", [_dec5], {
|
|
302967
302263
|
configurable: true,
|
|
302968
302264
|
enumerable: true,
|
|
302969
302265
|
writable: true,
|
|
302970
302266
|
initializer: null
|
|
302971
|
-
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
302267
|
+
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "titles", [_dec6], {
|
|
302972
302268
|
configurable: true,
|
|
302973
302269
|
enumerable: true,
|
|
302974
302270
|
writable: true,
|
|
302975
302271
|
initializer: null
|
|
302976
|
-
}), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
302272
|
+
}), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "colspan", [_dec7], {
|
|
302977
302273
|
configurable: true,
|
|
302978
302274
|
enumerable: true,
|
|
302979
302275
|
writable: true,
|
|
302980
302276
|
initializer: null
|
|
302981
|
-
}), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
302277
|
+
}), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, "empty", [_dec8], {
|
|
302982
302278
|
configurable: true,
|
|
302983
302279
|
enumerable: true,
|
|
302984
302280
|
writable: true,
|
|
302985
302281
|
initializer: null
|
|
302986
|
-
}), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
302987
|
-
configurable: true,
|
|
302988
|
-
enumerable: true,
|
|
302989
|
-
writable: true,
|
|
302990
|
-
initializer: null
|
|
302991
|
-
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "width", [_dec10], {
|
|
302282
|
+
}), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "width", [_dec9], {
|
|
302992
302283
|
configurable: true,
|
|
302993
302284
|
enumerable: true,
|
|
302994
302285
|
writable: true,
|
|
302995
302286
|
initializer: null
|
|
302996
|
-
}),
|
|
302287
|
+
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "rowspan", [_dec10], {
|
|
302997
302288
|
configurable: true,
|
|
302998
302289
|
enumerable: true,
|
|
302999
302290
|
writable: true,
|
|
303000
302291
|
initializer: null
|
|
303001
|
-
}),
|
|
302292
|
+
}), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, "textalign", [_dec11], {
|
|
303002
302293
|
configurable: true,
|
|
303003
302294
|
enumerable: true,
|
|
303004
302295
|
writable: true,
|
|
303005
302296
|
initializer: null
|
|
303006
|
-
}),
|
|
302297
|
+
}), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, "horizontalAlign", [_dec12], {
|
|
303007
302298
|
configurable: true,
|
|
303008
302299
|
enumerable: true,
|
|
303009
302300
|
writable: true,
|
|
303010
302301
|
initializer: null
|
|
303011
|
-
}),
|
|
302302
|
+
}), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, "paddingTop", [_dec13], {
|
|
303012
302303
|
configurable: true,
|
|
303013
302304
|
enumerable: true,
|
|
303014
302305
|
writable: true,
|
|
303015
302306
|
initializer: null
|
|
303016
|
-
}),
|
|
302307
|
+
}), _descriptor13 = _applyDecoratedDescriptor(_class2.prototype, "requiredempty", [_dec14], {
|
|
303017
302308
|
configurable: true,
|
|
303018
302309
|
enumerable: true,
|
|
303019
302310
|
writable: true,
|
|
303020
302311
|
initializer: null
|
|
303021
|
-
}),
|
|
302312
|
+
}), _descriptor14 = _applyDecoratedDescriptor(_class2.prototype, "indent", [_dec15], {
|
|
303022
302313
|
configurable: true,
|
|
303023
302314
|
enumerable: true,
|
|
303024
302315
|
writable: true,
|
|
303025
302316
|
initializer: null
|
|
303026
|
-
}),
|
|
302317
|
+
}), _descriptor15 = _applyDecoratedDescriptor(_class2.prototype, "textTopPadding", [_dec16], {
|
|
303027
302318
|
configurable: true,
|
|
303028
302319
|
enumerable: true,
|
|
303029
302320
|
writable: true,
|
|
303030
302321
|
initializer: null
|
|
303031
|
-
}),
|
|
302322
|
+
}), _descriptor16 = _applyDecoratedDescriptor(_class2.prototype, "children", [_dec17], {
|
|
303032
302323
|
configurable: true,
|
|
303033
302324
|
enumerable: true,
|
|
303034
302325
|
writable: true,
|
|
303035
302326
|
initializer: null
|
|
303036
302327
|
})), _class2)) || _class);
|
|
303037
|
-
let StickyTableMultilineRowNode = (
|
|
302328
|
+
let StickyTableMultilineRowNode = (_dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("row", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/StickyTable sync recursive .md$")), _dec19 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)("column", [StickyTableColumnNode]), _dec20 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("borderBottom", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Серая черта под строкой`), _dec18(_class4 = (_class5 = class StickyTableMultilineRowNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.SugarNodeBase {
|
|
303038
302329
|
constructor(...args) {
|
|
303039
302330
|
super(...args);
|
|
303040
302331
|
|
|
303041
|
-
_initializerDefineProperty(this, "columns",
|
|
302332
|
+
_initializerDefineProperty(this, "columns", _descriptor17, this);
|
|
303042
302333
|
|
|
303043
|
-
_initializerDefineProperty(this, "borderBottom",
|
|
302334
|
+
_initializerDefineProperty(this, "borderBottom", _descriptor18, this);
|
|
303044
302335
|
}
|
|
303045
302336
|
|
|
303046
|
-
}, (
|
|
302337
|
+
}, (_descriptor17 = _applyDecoratedDescriptor(_class5.prototype, "columns", [_dec19], {
|
|
303047
302338
|
configurable: true,
|
|
303048
302339
|
enumerable: true,
|
|
303049
302340
|
writable: true,
|
|
303050
302341
|
initializer: null
|
|
303051
|
-
}),
|
|
302342
|
+
}), _descriptor18 = _applyDecoratedDescriptor(_class5.prototype, "borderBottom", [_dec20], {
|
|
303052
302343
|
configurable: true,
|
|
303053
302344
|
enumerable: true,
|
|
303054
302345
|
writable: true,
|
|
303055
302346
|
initializer: null
|
|
303056
302347
|
})), _class5)) || _class4);
|
|
303057
|
-
let StickyTableMultilineNode = (
|
|
302348
|
+
let StickyTableMultilineNode = (_dec21 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("multiline", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/StickyTable sync recursive .md$")), _dec22 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.bindingPath, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.bindingPathLink)} данного элемента. Опционально, если не указан, то будет оторажаться текст заданный внутри данного элемента`), _dec23 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("instancesPerPage", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.Removed), _dec24 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec25 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("defaultChildren", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.arrayLiteral(), ``), _dec26 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("removebutton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `\"false\" - крестики не рисовать`), _dec27 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("rowmenu", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec28 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("className", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.Removed), _dec29 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("customProperty", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.UntypedUsage), _dec30 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("addButtonText", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.InvalidUsage), _dec31 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("offsetLeft", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.InvalidUsage), _dec32 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("offsetTop", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.InvalidUsage), _dec33 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("focusByHotkey", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Если добавишь больше 90 строк, то пейджер сворачивается и по focusByHotkey можно сфокусироваться`), _dec34 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)("row", [StickyTableMultilineRowNode]), _dec35 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("addbutton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString, `\"false\" - не нужна кнопка для добавления множественного блока`), _dec36 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("doNotCopyPaths", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.stringArray, ``), _dec37 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("addType", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString, ``), _dec38 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("usepager", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `\"false\" - без пейджера (1-11, 12-22 - этого нет внизу страницы)`), _dec39 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("show-row-border", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec40 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("override", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.customControl, ``), _dec41 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("storeFilters", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Будут ли сохраняться фильтры для этого мультилайна между обнолениями страницы. По умолчанию -- нет`), _dec21(_class7 = (_class8 = class StickyTableMultilineNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_3__.SugarNodeWithLegacyVisibility {
|
|
303058
302349
|
constructor(...args) {
|
|
303059
302350
|
super(...args);
|
|
303060
302351
|
|
|
303061
|
-
_initializerDefineProperty(this, "path",
|
|
302352
|
+
_initializerDefineProperty(this, "path", _descriptor19, this);
|
|
303062
302353
|
|
|
303063
|
-
_initializerDefineProperty(this, "instancesPerPage",
|
|
302354
|
+
_initializerDefineProperty(this, "instancesPerPage", _descriptor20, this);
|
|
303064
302355
|
|
|
303065
|
-
_initializerDefineProperty(this, "optional",
|
|
302356
|
+
_initializerDefineProperty(this, "optional", _descriptor21, this);
|
|
303066
302357
|
|
|
303067
|
-
_initializerDefineProperty(this, "defaultChildren",
|
|
302358
|
+
_initializerDefineProperty(this, "defaultChildren", _descriptor22, this);
|
|
303068
302359
|
|
|
303069
|
-
_initializerDefineProperty(this, "removebutton",
|
|
302360
|
+
_initializerDefineProperty(this, "removebutton", _descriptor23, this);
|
|
303070
302361
|
|
|
303071
|
-
_initializerDefineProperty(this, "rowmenu",
|
|
302362
|
+
_initializerDefineProperty(this, "rowmenu", _descriptor24, this);
|
|
303072
302363
|
|
|
303073
|
-
_initializerDefineProperty(this, "className",
|
|
302364
|
+
_initializerDefineProperty(this, "className", _descriptor25, this);
|
|
303074
302365
|
|
|
303075
|
-
_initializerDefineProperty(this, "customProperty",
|
|
302366
|
+
_initializerDefineProperty(this, "customProperty", _descriptor26, this);
|
|
303076
302367
|
|
|
303077
|
-
_initializerDefineProperty(this, "addButtonText",
|
|
302368
|
+
_initializerDefineProperty(this, "addButtonText", _descriptor27, this);
|
|
303078
302369
|
|
|
303079
|
-
_initializerDefineProperty(this, "offsetLeft",
|
|
302370
|
+
_initializerDefineProperty(this, "offsetLeft", _descriptor28, this);
|
|
303080
302371
|
|
|
303081
|
-
_initializerDefineProperty(this, "offsetTop",
|
|
302372
|
+
_initializerDefineProperty(this, "offsetTop", _descriptor29, this);
|
|
303082
302373
|
|
|
303083
|
-
_initializerDefineProperty(this, "focusByHotkey",
|
|
302374
|
+
_initializerDefineProperty(this, "focusByHotkey", _descriptor30, this);
|
|
303084
302375
|
|
|
303085
|
-
_initializerDefineProperty(this, "rows",
|
|
302376
|
+
_initializerDefineProperty(this, "rows", _descriptor31, this);
|
|
303086
302377
|
|
|
303087
|
-
_initializerDefineProperty(this, "addbutton",
|
|
302378
|
+
_initializerDefineProperty(this, "addbutton", _descriptor32, this);
|
|
303088
302379
|
|
|
303089
|
-
_initializerDefineProperty(this, "doNotCopyPaths",
|
|
302380
|
+
_initializerDefineProperty(this, "doNotCopyPaths", _descriptor33, this);
|
|
303090
302381
|
|
|
303091
|
-
_initializerDefineProperty(this, "addType",
|
|
302382
|
+
_initializerDefineProperty(this, "addType", _descriptor34, this);
|
|
303092
302383
|
|
|
303093
|
-
_initializerDefineProperty(this, "usepager",
|
|
302384
|
+
_initializerDefineProperty(this, "usepager", _descriptor35, this);
|
|
303094
302385
|
|
|
303095
|
-
_initializerDefineProperty(this, "showRowBorder",
|
|
302386
|
+
_initializerDefineProperty(this, "showRowBorder", _descriptor36, this);
|
|
303096
302387
|
|
|
303097
|
-
_initializerDefineProperty(this, "override",
|
|
302388
|
+
_initializerDefineProperty(this, "override", _descriptor37, this);
|
|
303098
302389
|
|
|
303099
|
-
_initializerDefineProperty(this, "storeFilters",
|
|
302390
|
+
_initializerDefineProperty(this, "storeFilters", _descriptor38, this);
|
|
303100
302391
|
}
|
|
303101
302392
|
|
|
303102
302393
|
getOwnPath() {
|
|
@@ -303107,186 +302398,186 @@ let StickyTableMultilineNode = (_dec22 = (0,_Serializer_SugarSerializer__WEBPACK
|
|
|
303107
302398
|
return true;
|
|
303108
302399
|
}
|
|
303109
302400
|
|
|
303110
|
-
}, (
|
|
302401
|
+
}, (_descriptor19 = _applyDecoratedDescriptor(_class8.prototype, "path", [_dec22], {
|
|
303111
302402
|
configurable: true,
|
|
303112
302403
|
enumerable: true,
|
|
303113
302404
|
writable: true,
|
|
303114
302405
|
initializer: null
|
|
303115
|
-
}),
|
|
302406
|
+
}), _descriptor20 = _applyDecoratedDescriptor(_class8.prototype, "instancesPerPage", [_dec23], {
|
|
303116
302407
|
configurable: true,
|
|
303117
302408
|
enumerable: true,
|
|
303118
302409
|
writable: true,
|
|
303119
302410
|
initializer: null
|
|
303120
|
-
}),
|
|
302411
|
+
}), _descriptor21 = _applyDecoratedDescriptor(_class8.prototype, "optional", [_dec24], {
|
|
303121
302412
|
configurable: true,
|
|
303122
302413
|
enumerable: true,
|
|
303123
302414
|
writable: true,
|
|
303124
302415
|
initializer: null
|
|
303125
|
-
}),
|
|
302416
|
+
}), _descriptor22 = _applyDecoratedDescriptor(_class8.prototype, "defaultChildren", [_dec25], {
|
|
303126
302417
|
configurable: true,
|
|
303127
302418
|
enumerable: true,
|
|
303128
302419
|
writable: true,
|
|
303129
302420
|
initializer: null
|
|
303130
|
-
}),
|
|
302421
|
+
}), _descriptor23 = _applyDecoratedDescriptor(_class8.prototype, "removebutton", [_dec26], {
|
|
303131
302422
|
configurable: true,
|
|
303132
302423
|
enumerable: true,
|
|
303133
302424
|
writable: true,
|
|
303134
302425
|
initializer: null
|
|
303135
|
-
}),
|
|
302426
|
+
}), _descriptor24 = _applyDecoratedDescriptor(_class8.prototype, "rowmenu", [_dec27], {
|
|
303136
302427
|
configurable: true,
|
|
303137
302428
|
enumerable: true,
|
|
303138
302429
|
writable: true,
|
|
303139
302430
|
initializer: null
|
|
303140
|
-
}),
|
|
302431
|
+
}), _descriptor25 = _applyDecoratedDescriptor(_class8.prototype, "className", [_dec28], {
|
|
303141
302432
|
configurable: true,
|
|
303142
302433
|
enumerable: true,
|
|
303143
302434
|
writable: true,
|
|
303144
302435
|
initializer: null
|
|
303145
|
-
}),
|
|
302436
|
+
}), _descriptor26 = _applyDecoratedDescriptor(_class8.prototype, "customProperty", [_dec29], {
|
|
303146
302437
|
configurable: true,
|
|
303147
302438
|
enumerable: true,
|
|
303148
302439
|
writable: true,
|
|
303149
302440
|
initializer: null
|
|
303150
|
-
}),
|
|
302441
|
+
}), _descriptor27 = _applyDecoratedDescriptor(_class8.prototype, "addButtonText", [_dec30], {
|
|
303151
302442
|
configurable: true,
|
|
303152
302443
|
enumerable: true,
|
|
303153
302444
|
writable: true,
|
|
303154
302445
|
initializer: null
|
|
303155
|
-
}),
|
|
302446
|
+
}), _descriptor28 = _applyDecoratedDescriptor(_class8.prototype, "offsetLeft", [_dec31], {
|
|
303156
302447
|
configurable: true,
|
|
303157
302448
|
enumerable: true,
|
|
303158
302449
|
writable: true,
|
|
303159
302450
|
initializer: null
|
|
303160
|
-
}),
|
|
302451
|
+
}), _descriptor29 = _applyDecoratedDescriptor(_class8.prototype, "offsetTop", [_dec32], {
|
|
303161
302452
|
configurable: true,
|
|
303162
302453
|
enumerable: true,
|
|
303163
302454
|
writable: true,
|
|
303164
302455
|
initializer: null
|
|
303165
|
-
}),
|
|
302456
|
+
}), _descriptor30 = _applyDecoratedDescriptor(_class8.prototype, "focusByHotkey", [_dec33], {
|
|
303166
302457
|
configurable: true,
|
|
303167
302458
|
enumerable: true,
|
|
303168
302459
|
writable: true,
|
|
303169
302460
|
initializer: null
|
|
303170
|
-
}),
|
|
302461
|
+
}), _descriptor31 = _applyDecoratedDescriptor(_class8.prototype, "rows", [_dec34], {
|
|
303171
302462
|
configurable: true,
|
|
303172
302463
|
enumerable: true,
|
|
303173
302464
|
writable: true,
|
|
303174
302465
|
initializer: null
|
|
303175
|
-
}),
|
|
302466
|
+
}), _descriptor32 = _applyDecoratedDescriptor(_class8.prototype, "addbutton", [_dec35], {
|
|
303176
302467
|
configurable: true,
|
|
303177
302468
|
enumerable: true,
|
|
303178
302469
|
writable: true,
|
|
303179
302470
|
initializer: null
|
|
303180
|
-
}),
|
|
302471
|
+
}), _descriptor33 = _applyDecoratedDescriptor(_class8.prototype, "doNotCopyPaths", [_dec36], {
|
|
303181
302472
|
configurable: true,
|
|
303182
302473
|
enumerable: true,
|
|
303183
302474
|
writable: true,
|
|
303184
302475
|
initializer: null
|
|
303185
|
-
}),
|
|
302476
|
+
}), _descriptor34 = _applyDecoratedDescriptor(_class8.prototype, "addType", [_dec37], {
|
|
303186
302477
|
configurable: true,
|
|
303187
302478
|
enumerable: true,
|
|
303188
302479
|
writable: true,
|
|
303189
302480
|
initializer: null
|
|
303190
|
-
}),
|
|
302481
|
+
}), _descriptor35 = _applyDecoratedDescriptor(_class8.prototype, "usepager", [_dec38], {
|
|
303191
302482
|
configurable: true,
|
|
303192
302483
|
enumerable: true,
|
|
303193
302484
|
writable: true,
|
|
303194
302485
|
initializer: null
|
|
303195
|
-
}),
|
|
302486
|
+
}), _descriptor36 = _applyDecoratedDescriptor(_class8.prototype, "showRowBorder", [_dec39], {
|
|
303196
302487
|
configurable: true,
|
|
303197
302488
|
enumerable: true,
|
|
303198
302489
|
writable: true,
|
|
303199
302490
|
initializer: null
|
|
303200
|
-
}),
|
|
302491
|
+
}), _descriptor37 = _applyDecoratedDescriptor(_class8.prototype, "override", [_dec40], {
|
|
303201
302492
|
configurable: true,
|
|
303202
302493
|
enumerable: true,
|
|
303203
302494
|
writable: true,
|
|
303204
302495
|
initializer: null
|
|
303205
|
-
}),
|
|
302496
|
+
}), _descriptor38 = _applyDecoratedDescriptor(_class8.prototype, "storeFilters", [_dec41], {
|
|
303206
302497
|
configurable: true,
|
|
303207
302498
|
enumerable: true,
|
|
303208
302499
|
writable: true,
|
|
303209
302500
|
initializer: null
|
|
303210
302501
|
})), _class8)) || _class7);
|
|
303211
|
-
let StickyTableRowNode = (
|
|
302502
|
+
let StickyTableRowNode = (_dec42 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("row", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/StickyTable sync recursive .md$")), _dec43 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_0__.DataBindingScopeMixinNode), _dec44 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec45 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("kind", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("head"), `Шапка таблицы`), _dec46 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("subkind", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("numbers"), `Строка с нумерацией столбцов`), _dec47 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)(["column", "multiline"], [StickyTableColumnNode, StickyTableMultilineNode]), _dec48 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("borderBottom", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Серая черта под строкой`), _dec42(_class10 = (_class11 = class StickyTableRowNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.SugarNodeBase {
|
|
303212
302503
|
constructor(...args) {
|
|
303213
302504
|
super(...args);
|
|
303214
302505
|
|
|
303215
|
-
_initializerDefineProperty(this, "dataScope",
|
|
302506
|
+
_initializerDefineProperty(this, "dataScope", _descriptor39, this);
|
|
303216
302507
|
|
|
303217
|
-
_initializerDefineProperty(this, "optional",
|
|
302508
|
+
_initializerDefineProperty(this, "optional", _descriptor40, this);
|
|
303218
302509
|
|
|
303219
|
-
_initializerDefineProperty(this, "kind",
|
|
302510
|
+
_initializerDefineProperty(this, "kind", _descriptor41, this);
|
|
303220
302511
|
|
|
303221
|
-
_initializerDefineProperty(this, "subkind",
|
|
302512
|
+
_initializerDefineProperty(this, "subkind", _descriptor42, this);
|
|
303222
302513
|
|
|
303223
|
-
_initializerDefineProperty(this, "columns",
|
|
302514
|
+
_initializerDefineProperty(this, "columns", _descriptor43, this);
|
|
303224
302515
|
|
|
303225
|
-
_initializerDefineProperty(this, "borderBottom",
|
|
302516
|
+
_initializerDefineProperty(this, "borderBottom", _descriptor44, this);
|
|
303226
302517
|
}
|
|
303227
302518
|
|
|
303228
302519
|
getOwnPath() {
|
|
303229
302520
|
return this.dataScope.getOwnPath();
|
|
303230
302521
|
}
|
|
303231
302522
|
|
|
303232
|
-
}, (
|
|
302523
|
+
}, (_descriptor39 = _applyDecoratedDescriptor(_class11.prototype, "dataScope", [_dec43], {
|
|
303233
302524
|
configurable: true,
|
|
303234
302525
|
enumerable: true,
|
|
303235
302526
|
writable: true,
|
|
303236
302527
|
initializer: null
|
|
303237
|
-
}),
|
|
302528
|
+
}), _descriptor40 = _applyDecoratedDescriptor(_class11.prototype, "optional", [_dec44], {
|
|
303238
302529
|
configurable: true,
|
|
303239
302530
|
enumerable: true,
|
|
303240
302531
|
writable: true,
|
|
303241
302532
|
initializer: null
|
|
303242
|
-
}),
|
|
302533
|
+
}), _descriptor41 = _applyDecoratedDescriptor(_class11.prototype, "kind", [_dec45], {
|
|
303243
302534
|
configurable: true,
|
|
303244
302535
|
enumerable: true,
|
|
303245
302536
|
writable: true,
|
|
303246
302537
|
initializer: null
|
|
303247
|
-
}),
|
|
302538
|
+
}), _descriptor42 = _applyDecoratedDescriptor(_class11.prototype, "subkind", [_dec46], {
|
|
303248
302539
|
configurable: true,
|
|
303249
302540
|
enumerable: true,
|
|
303250
302541
|
writable: true,
|
|
303251
302542
|
initializer: null
|
|
303252
|
-
}),
|
|
302543
|
+
}), _descriptor43 = _applyDecoratedDescriptor(_class11.prototype, "columns", [_dec47], {
|
|
303253
302544
|
configurable: true,
|
|
303254
302545
|
enumerable: true,
|
|
303255
302546
|
writable: true,
|
|
303256
302547
|
initializer: null
|
|
303257
|
-
}),
|
|
302548
|
+
}), _descriptor44 = _applyDecoratedDescriptor(_class11.prototype, "borderBottom", [_dec48], {
|
|
303258
302549
|
configurable: true,
|
|
303259
302550
|
enumerable: true,
|
|
303260
302551
|
writable: true,
|
|
303261
302552
|
initializer: null
|
|
303262
302553
|
})), _class11)) || _class10);
|
|
303263
|
-
let StickyTableHeaderNode = (
|
|
302554
|
+
let StickyTableHeaderNode = (_dec49 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("header", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/StickyTable sync recursive .md$")), _dec50 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("align", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("right"), ``), _dec51 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)(), _dec49(_class13 = (_class14 = class StickyTableHeaderNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.SugarNodeBase {
|
|
303264
302555
|
constructor(...args) {
|
|
303265
302556
|
super(...args);
|
|
303266
302557
|
|
|
303267
|
-
_initializerDefineProperty(this, "align",
|
|
302558
|
+
_initializerDefineProperty(this, "align", _descriptor45, this);
|
|
303268
302559
|
|
|
303269
|
-
_initializerDefineProperty(this, "children",
|
|
302560
|
+
_initializerDefineProperty(this, "children", _descriptor46, this);
|
|
303270
302561
|
}
|
|
303271
302562
|
|
|
303272
|
-
}, (
|
|
302563
|
+
}, (_descriptor45 = _applyDecoratedDescriptor(_class14.prototype, "align", [_dec50], {
|
|
303273
302564
|
configurable: true,
|
|
303274
302565
|
enumerable: true,
|
|
303275
302566
|
writable: true,
|
|
303276
302567
|
initializer: null
|
|
303277
|
-
}),
|
|
302568
|
+
}), _descriptor46 = _applyDecoratedDescriptor(_class14.prototype, "children", [_dec51], {
|
|
303278
302569
|
configurable: true,
|
|
303279
302570
|
enumerable: true,
|
|
303280
302571
|
writable: true,
|
|
303281
302572
|
initializer: null
|
|
303282
302573
|
})), _class14)) || _class13);
|
|
303283
|
-
let StickyTableFooterNode = (
|
|
302574
|
+
let StickyTableFooterNode = (_dec52 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("footer", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/StickyTable sync recursive .md$")), _dec53 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)(["row"], [StickyTableRowNode]), _dec54 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)("column", [StickyTableColumnNode]), _dec52(_class16 = (_class17 = class StickyTableFooterNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.SugarNodeBase {
|
|
303284
302575
|
constructor(...args) {
|
|
303285
302576
|
super(...args);
|
|
303286
302577
|
|
|
303287
|
-
_initializerDefineProperty(this, "rows",
|
|
302578
|
+
_initializerDefineProperty(this, "rows", _descriptor47, this);
|
|
303288
302579
|
|
|
303289
|
-
_initializerDefineProperty(this, "columns",
|
|
302580
|
+
_initializerDefineProperty(this, "columns", _descriptor48, this);
|
|
303290
302581
|
}
|
|
303291
302582
|
|
|
303292
302583
|
getColumnLists() {
|
|
@@ -303299,80 +302590,80 @@ let StickyTableFooterNode = (_dec53 = (0,_Serializer_SugarSerializer__WEBPACK_IM
|
|
|
303299
302590
|
return footerColumnsLists;
|
|
303300
302591
|
}
|
|
303301
302592
|
|
|
303302
|
-
}, (
|
|
302593
|
+
}, (_descriptor47 = _applyDecoratedDescriptor(_class17.prototype, "rows", [_dec53], {
|
|
303303
302594
|
configurable: true,
|
|
303304
302595
|
enumerable: true,
|
|
303305
302596
|
writable: true,
|
|
303306
302597
|
initializer: null
|
|
303307
|
-
}),
|
|
302598
|
+
}), _descriptor48 = _applyDecoratedDescriptor(_class17.prototype, "columns", [_dec54], {
|
|
303308
302599
|
configurable: true,
|
|
303309
302600
|
enumerable: true,
|
|
303310
302601
|
writable: true,
|
|
303311
302602
|
initializer: null
|
|
303312
302603
|
})), _class17)) || _class16);
|
|
303313
|
-
let StickyTableColgroupColumnNode = (
|
|
302604
|
+
let StickyTableColgroupColumnNode = (_dec55 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("col", ``), _dec56 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.lengthUnit, ``), _dec55(_class19 = (_class20 = class StickyTableColgroupColumnNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.SugarNodeBase {
|
|
303314
302605
|
constructor(...args) {
|
|
303315
302606
|
super(...args);
|
|
303316
302607
|
|
|
303317
|
-
_initializerDefineProperty(this, "width",
|
|
302608
|
+
_initializerDefineProperty(this, "width", _descriptor49, this);
|
|
303318
302609
|
}
|
|
303319
302610
|
|
|
303320
|
-
}, (
|
|
302611
|
+
}, (_descriptor49 = _applyDecoratedDescriptor(_class20.prototype, "width", [_dec56], {
|
|
303321
302612
|
configurable: true,
|
|
303322
302613
|
enumerable: true,
|
|
303323
302614
|
writable: true,
|
|
303324
302615
|
initializer: null
|
|
303325
302616
|
})), _class20)) || _class19);
|
|
303326
|
-
let StickyTableColgroupNode = (
|
|
302617
|
+
let StickyTableColgroupNode = (_dec57 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("colgroup", ``), _dec58 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)("col", [StickyTableColgroupColumnNode]), _dec57(_class22 = (_class23 = class StickyTableColgroupNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.SugarNodeBase {
|
|
303327
302618
|
constructor(...args) {
|
|
303328
302619
|
super(...args);
|
|
303329
302620
|
|
|
303330
|
-
_initializerDefineProperty(this, "cols",
|
|
302621
|
+
_initializerDefineProperty(this, "cols", _descriptor50, this);
|
|
303331
302622
|
}
|
|
303332
302623
|
|
|
303333
|
-
}, (
|
|
302624
|
+
}, (_descriptor50 = _applyDecoratedDescriptor(_class23.prototype, "cols", [_dec58], {
|
|
303334
302625
|
configurable: true,
|
|
303335
302626
|
enumerable: true,
|
|
303336
302627
|
writable: true,
|
|
303337
302628
|
initializer: null
|
|
303338
302629
|
})), _class23)) || _class22);
|
|
303339
|
-
let StickyTableNode = (
|
|
302630
|
+
let StickyTableNode = (_dec59 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("table", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/StickyTable sync recursive .md$"), x => x.boolAttr("sticky") || x.getFirstChild("multiline") != undefined), _dec60 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.bindingPath, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.bindingPathLink)} данного элемента. Опционально, если не указан, то будет оторажаться текст заданный внутри данного элемента`), _dec61 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec62 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("align", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("baseline", "top"), ``), _dec63 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("removebutton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `\"false\" - крестики не рисовать`), _dec64 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("sticky", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec65 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("stickyHeader", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Залипающая шапка`), _dec66 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("grayColumn", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.number, `Буквы во второй колонке серым цветом`), _dec67 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("side", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.number, ``), _dec68 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("className", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, ``), _dec69 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.singleChild)("colgroup", [StickyTableColgroupNode]), _dec70 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)(["row", "multiline"], [StickyTableRowNode, StickyTableMultilineNode]), _dec71 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.singleChild)("header", [StickyTableHeaderNode]), _dec72 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.singleChild)("footer", [StickyTableFooterNode]), _dec73 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("deprecated-diadoc-width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.number, ``), _dec74 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.number, `Ширина таблицы`), _dec75 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("tid", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, ``), _dec76 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("columnGrouping", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `Только вместе с crossfit="true". {"start": "4", "end": "5", "text": ["Испр. с-ф", "040 и 050" ]} - Устанавливает колонки в которых ячейки скрыты под карандаш. В text записываются текстовки, которыми будут заменены тексты в шапке. Если для этих ячеек rowspan > 1, то нужно добавить на каждую пустую строку "". { start: 4, end: 11, showText: "Свернуть столбцы 040-110", hideText: "Столбцы 040-110" } - Устанавливает колонки, которые можно скрывать кнопкой. showText и hideText устанавливаю тексты в подсказке при наведении.`), _dec59(_class25 = (_class26 = class StickyTableNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_3__.SugarNodeWithLegacyVisibility {
|
|
303340
302631
|
constructor(...args) {
|
|
303341
302632
|
super(...args);
|
|
303342
302633
|
|
|
303343
|
-
_initializerDefineProperty(this, "path",
|
|
302634
|
+
_initializerDefineProperty(this, "path", _descriptor51, this);
|
|
303344
302635
|
|
|
303345
|
-
_initializerDefineProperty(this, "optional",
|
|
302636
|
+
_initializerDefineProperty(this, "optional", _descriptor52, this);
|
|
303346
302637
|
|
|
303347
|
-
_initializerDefineProperty(this, "align",
|
|
302638
|
+
_initializerDefineProperty(this, "align", _descriptor53, this);
|
|
303348
302639
|
|
|
303349
|
-
_initializerDefineProperty(this, "removeButton",
|
|
302640
|
+
_initializerDefineProperty(this, "removeButton", _descriptor54, this);
|
|
303350
302641
|
|
|
303351
|
-
_initializerDefineProperty(this, "sticky",
|
|
302642
|
+
_initializerDefineProperty(this, "sticky", _descriptor55, this);
|
|
303352
302643
|
|
|
303353
|
-
_initializerDefineProperty(this, "stickyHeader",
|
|
302644
|
+
_initializerDefineProperty(this, "stickyHeader", _descriptor56, this);
|
|
303354
302645
|
|
|
303355
|
-
_initializerDefineProperty(this, "grayColumn",
|
|
302646
|
+
_initializerDefineProperty(this, "grayColumn", _descriptor57, this);
|
|
303356
302647
|
|
|
303357
|
-
_initializerDefineProperty(this, "side",
|
|
302648
|
+
_initializerDefineProperty(this, "side", _descriptor58, this);
|
|
303358
302649
|
|
|
303359
|
-
_initializerDefineProperty(this, "className",
|
|
302650
|
+
_initializerDefineProperty(this, "className", _descriptor59, this);
|
|
303360
302651
|
|
|
303361
|
-
_initializerDefineProperty(this, "colgroup",
|
|
302652
|
+
_initializerDefineProperty(this, "colgroup", _descriptor60, this);
|
|
303362
302653
|
|
|
303363
|
-
_initializerDefineProperty(this, "rows",
|
|
302654
|
+
_initializerDefineProperty(this, "rows", _descriptor61, this);
|
|
303364
302655
|
|
|
303365
|
-
_initializerDefineProperty(this, "header",
|
|
302656
|
+
_initializerDefineProperty(this, "header", _descriptor62, this);
|
|
303366
302657
|
|
|
303367
|
-
_initializerDefineProperty(this, "footer",
|
|
302658
|
+
_initializerDefineProperty(this, "footer", _descriptor63, this);
|
|
303368
302659
|
|
|
303369
|
-
_initializerDefineProperty(this, "deprecatedDiadocWidth",
|
|
302660
|
+
_initializerDefineProperty(this, "deprecatedDiadocWidth", _descriptor64, this);
|
|
303370
302661
|
|
|
303371
|
-
_initializerDefineProperty(this, "width",
|
|
302662
|
+
_initializerDefineProperty(this, "width", _descriptor65, this);
|
|
303372
302663
|
|
|
303373
|
-
_initializerDefineProperty(this, "tid",
|
|
302664
|
+
_initializerDefineProperty(this, "tid", _descriptor66, this);
|
|
303374
302665
|
|
|
303375
|
-
_initializerDefineProperty(this, "columnGrouping",
|
|
302666
|
+
_initializerDefineProperty(this, "columnGrouping", _descriptor67, this);
|
|
303376
302667
|
}
|
|
303377
302668
|
|
|
303378
302669
|
getOwnPath() {
|
|
@@ -303383,87 +302674,87 @@ let StickyTableNode = (_dec60 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED
|
|
|
303383
302674
|
return this.rows.filter(isRowNode).filter(row => row.kind === "head");
|
|
303384
302675
|
}
|
|
303385
302676
|
|
|
303386
|
-
}, (
|
|
302677
|
+
}, (_descriptor51 = _applyDecoratedDescriptor(_class26.prototype, "path", [_dec60], {
|
|
303387
302678
|
configurable: true,
|
|
303388
302679
|
enumerable: true,
|
|
303389
302680
|
writable: true,
|
|
303390
302681
|
initializer: null
|
|
303391
|
-
}),
|
|
302682
|
+
}), _descriptor52 = _applyDecoratedDescriptor(_class26.prototype, "optional", [_dec61], {
|
|
303392
302683
|
configurable: true,
|
|
303393
302684
|
enumerable: true,
|
|
303394
302685
|
writable: true,
|
|
303395
302686
|
initializer: null
|
|
303396
|
-
}),
|
|
302687
|
+
}), _descriptor53 = _applyDecoratedDescriptor(_class26.prototype, "align", [_dec62], {
|
|
303397
302688
|
configurable: true,
|
|
303398
302689
|
enumerable: true,
|
|
303399
302690
|
writable: true,
|
|
303400
302691
|
initializer: null
|
|
303401
|
-
}),
|
|
302692
|
+
}), _descriptor54 = _applyDecoratedDescriptor(_class26.prototype, "removeButton", [_dec63], {
|
|
303402
302693
|
configurable: true,
|
|
303403
302694
|
enumerable: true,
|
|
303404
302695
|
writable: true,
|
|
303405
302696
|
initializer: null
|
|
303406
|
-
}),
|
|
302697
|
+
}), _descriptor55 = _applyDecoratedDescriptor(_class26.prototype, "sticky", [_dec64], {
|
|
303407
302698
|
configurable: true,
|
|
303408
302699
|
enumerable: true,
|
|
303409
302700
|
writable: true,
|
|
303410
302701
|
initializer: null
|
|
303411
|
-
}),
|
|
302702
|
+
}), _descriptor56 = _applyDecoratedDescriptor(_class26.prototype, "stickyHeader", [_dec65], {
|
|
303412
302703
|
configurable: true,
|
|
303413
302704
|
enumerable: true,
|
|
303414
302705
|
writable: true,
|
|
303415
302706
|
initializer: null
|
|
303416
|
-
}),
|
|
302707
|
+
}), _descriptor57 = _applyDecoratedDescriptor(_class26.prototype, "grayColumn", [_dec66], {
|
|
303417
302708
|
configurable: true,
|
|
303418
302709
|
enumerable: true,
|
|
303419
302710
|
writable: true,
|
|
303420
302711
|
initializer: null
|
|
303421
|
-
}),
|
|
302712
|
+
}), _descriptor58 = _applyDecoratedDescriptor(_class26.prototype, "side", [_dec67], {
|
|
303422
302713
|
configurable: true,
|
|
303423
302714
|
enumerable: true,
|
|
303424
302715
|
writable: true,
|
|
303425
302716
|
initializer: null
|
|
303426
|
-
}),
|
|
302717
|
+
}), _descriptor59 = _applyDecoratedDescriptor(_class26.prototype, "className", [_dec68], {
|
|
303427
302718
|
configurable: true,
|
|
303428
302719
|
enumerable: true,
|
|
303429
302720
|
writable: true,
|
|
303430
302721
|
initializer: null
|
|
303431
|
-
}),
|
|
302722
|
+
}), _descriptor60 = _applyDecoratedDescriptor(_class26.prototype, "colgroup", [_dec69], {
|
|
303432
302723
|
configurable: true,
|
|
303433
302724
|
enumerable: true,
|
|
303434
302725
|
writable: true,
|
|
303435
302726
|
initializer: null
|
|
303436
|
-
}),
|
|
302727
|
+
}), _descriptor61 = _applyDecoratedDescriptor(_class26.prototype, "rows", [_dec70], {
|
|
303437
302728
|
configurable: true,
|
|
303438
302729
|
enumerable: true,
|
|
303439
302730
|
writable: true,
|
|
303440
302731
|
initializer: null
|
|
303441
|
-
}),
|
|
302732
|
+
}), _descriptor62 = _applyDecoratedDescriptor(_class26.prototype, "header", [_dec71], {
|
|
303442
302733
|
configurable: true,
|
|
303443
302734
|
enumerable: true,
|
|
303444
302735
|
writable: true,
|
|
303445
302736
|
initializer: null
|
|
303446
|
-
}),
|
|
302737
|
+
}), _descriptor63 = _applyDecoratedDescriptor(_class26.prototype, "footer", [_dec72], {
|
|
303447
302738
|
configurable: true,
|
|
303448
302739
|
enumerable: true,
|
|
303449
302740
|
writable: true,
|
|
303450
302741
|
initializer: null
|
|
303451
|
-
}),
|
|
302742
|
+
}), _descriptor64 = _applyDecoratedDescriptor(_class26.prototype, "deprecatedDiadocWidth", [_dec73], {
|
|
303452
302743
|
configurable: true,
|
|
303453
302744
|
enumerable: true,
|
|
303454
302745
|
writable: true,
|
|
303455
302746
|
initializer: null
|
|
303456
|
-
}),
|
|
302747
|
+
}), _descriptor65 = _applyDecoratedDescriptor(_class26.prototype, "width", [_dec74], {
|
|
303457
302748
|
configurable: true,
|
|
303458
302749
|
enumerable: true,
|
|
303459
302750
|
writable: true,
|
|
303460
302751
|
initializer: null
|
|
303461
|
-
}),
|
|
302752
|
+
}), _descriptor66 = _applyDecoratedDescriptor(_class26.prototype, "tid", [_dec75], {
|
|
303462
302753
|
configurable: true,
|
|
303463
302754
|
enumerable: true,
|
|
303464
302755
|
writable: true,
|
|
303465
302756
|
initializer: null
|
|
303466
|
-
}),
|
|
302757
|
+
}), _descriptor67 = _applyDecoratedDescriptor(_class26.prototype, "columnGrouping", [_dec76], {
|
|
303467
302758
|
configurable: true,
|
|
303468
302759
|
enumerable: true,
|
|
303469
302760
|
writable: true,
|
|
@@ -306397,9 +305688,29 @@ class CheckboxConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__
|
|
|
306397
305688
|
|
|
306398
305689
|
doBuildDataDeclaration(context) {
|
|
306399
305690
|
const node = this.getCurrentNodeAs(_CheckboxNode__WEBPACK_IMPORTED_MODULE_5__.CheckboxNode);
|
|
306400
|
-
return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["value", context.initSequenceFactory.
|
|
305691
|
+
return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["value", context.initSequenceFactory.dataValue(node.dataBinding, false, this.getDefaultValue(node))]]), context.addSpecialFieldsEntry(node, {
|
|
306401
305692
|
optional: node.dataBinding.optional
|
|
306402
|
-
}), context.addPathSectionDeclarationEntry(node), context.addVisibilityPathDeclEntryNew(node));
|
|
305693
|
+
}), context.addPathSectionDeclarationEntry(node, node.dataBinding.requisite), context.addVisibilityPathDeclEntryNew(node, node.dataBinding.requisite));
|
|
305694
|
+
}
|
|
305695
|
+
|
|
305696
|
+
getDefaultValue(node) {
|
|
305697
|
+
var _node$dataBinding$def;
|
|
305698
|
+
|
|
305699
|
+
const defaultValue = (_node$dataBinding$def = node.dataBinding.defaultValue) !== null && _node$dataBinding$def !== void 0 ? _node$dataBinding$def : "";
|
|
305700
|
+
|
|
305701
|
+
if (defaultValue) {
|
|
305702
|
+
if (defaultValue === "checked") {
|
|
305703
|
+
var _node$checkedValue;
|
|
305704
|
+
|
|
305705
|
+
return (_node$checkedValue = node.checkedValue) !== null && _node$checkedValue !== void 0 ? _node$checkedValue : true;
|
|
305706
|
+
} else {
|
|
305707
|
+
var _node$uncheckedValue;
|
|
305708
|
+
|
|
305709
|
+
return (_node$uncheckedValue = node.uncheckedValue) !== null && _node$uncheckedValue !== void 0 ? _node$uncheckedValue : false;
|
|
305710
|
+
}
|
|
305711
|
+
}
|
|
305712
|
+
|
|
305713
|
+
return defaultValue;
|
|
306403
305714
|
}
|
|
306404
305715
|
|
|
306405
305716
|
buildChildrenDataDeclaration(context) {
|
|
@@ -306598,7 +305909,7 @@ class ComboBoxConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__
|
|
|
306598
305909
|
return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["value", context.initSequenceFactory.dataValue(node.dataBinding, node.disabled)], node.disabled ? undefined : ["disabled", context.initSequenceFactory.disabled()]]), context.addSpecialFieldsEntry(node, {
|
|
306599
305910
|
optional: node.dataBinding.optional,
|
|
306600
305911
|
disabled: node.disabled
|
|
306601
|
-
}), context.addPathSectionDeclarationEntry(node), context.addVisibilityPathDeclEntryNew(node));
|
|
305912
|
+
}), context.addPathSectionDeclarationEntry(node, node.dataBinding.requisite), context.addVisibilityPathDeclEntryNew(node, node.dataBinding.requisite));
|
|
306602
305913
|
}
|
|
306603
305914
|
|
|
306604
305915
|
buildChildrenDataDeclaration(context) {
|
|
@@ -307101,7 +306412,7 @@ class DateConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.Sug
|
|
|
307101
306412
|
return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["value", context.initSequenceFactory.dataValue(node.dataBinding, node.disabled)]]), context.addSpecialFieldsEntry(node, {
|
|
307102
306413
|
optional: node.dataBinding.optional,
|
|
307103
306414
|
disabled: node.disabled
|
|
307104
|
-
}), context.addPathSectionDeclarationEntry(node), context.addVisibilityPathDeclEntryNew(node));
|
|
306415
|
+
}), context.addPathSectionDeclarationEntry(node, node.dataBinding.requisite), context.addVisibilityPathDeclEntryNew(node, node.dataBinding.requisite));
|
|
307105
306416
|
}
|
|
307106
306417
|
|
|
307107
306418
|
buildChildrenDataDeclaration(context) {
|
|
@@ -307312,7 +306623,7 @@ class DiadocSuggestComboBoxConverter extends _SugarNodeConverter__WEBPACK_IMPORT
|
|
|
307312
306623
|
const node = this.getCurrentNodeAs(_DiadocSuggestComboBoxNode__WEBPACK_IMPORTED_MODULE_5__.DiadocSuggestComboBoxNode);
|
|
307313
306624
|
return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["value", context.initSequenceFactory.dataValue(node.dataBinding, false)], ["disabled", context.initSequenceFactory.disabled()]]), context.addSpecialFieldsEntry(node, {
|
|
307314
306625
|
optional: node.dataBinding.optional
|
|
307315
|
-
}), context.addPathSectionDeclarationEntry(node), context.addVisibilityPathDeclEntryNew(node));
|
|
306626
|
+
}), context.addPathSectionDeclarationEntry(node, node.dataBinding.requisite), context.addVisibilityPathDeclEntryNew(node, node.dataBinding.requisite));
|
|
307316
306627
|
}
|
|
307317
306628
|
|
|
307318
306629
|
buildChildrenDataDeclaration(context) {
|
|
@@ -307681,7 +306992,7 @@ class FiasFnsConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.
|
|
|
307681
306992
|
|
|
307682
306993
|
doBuildDataDeclaration(context) {
|
|
307683
306994
|
const node = this.getCurrentNodeAs(_FiasFnsNode__WEBPACK_IMPORTED_MODULE_4__.FiasFnsNode);
|
|
307684
|
-
return context.mergeDataDeclaration(context.addPathSectionDeclarationEntry(node), context.addChildPathSectionDeclarationEntry(node, "InternalFiasId"), context.addChildPathSectionDeclarationEntry(node, "ИдНом"), context.addChildPathSectionDeclarationEntry(node, "Регион"), context.addChildPathSectionDeclarationEntry(node, "МуниципРайон/ВидКод"), context.addChildPathSectionDeclarationEntry(node, "МуниципРайон/Наим"), context.addChildPathSectionDeclarationEntry(node, "ГородСелПоселен/ВидКод"), context.addChildPathSectionDeclarationEntry(node, "ГородСелПоселен/Наим"), context.addChildPathSectionDeclarationEntry(node, "НаселенПункт/Вид"), context.addChildPathSectionDeclarationEntry(node, "НаселенПункт/Наим"), context.addChildPathSectionDeclarationEntry(node, "ЭлПланСтруктур/Тип"), context.addChildPathSectionDeclarationEntry(node, "ЭлПланСтруктур/Наим"), context.addChildPathSectionDeclarationEntry(node, "ЭлУлДорСети/Тип"), context.addChildPathSectionDeclarationEntry(node, "ЭлУлДорСети/Наим"), context.addChildPathSectionDeclarationEntry(node, "ЗемелУчасток"), context.addChildrenPathDeclEntryForChild(node, true, node.dataBinding.path, "Здание/*"), context.addChildPathSectionDeclarationEntry(node, "Здание/*/Тип"), context.addChildPathSectionDeclarationEntry(node, "Здание/*/Номер"), context.addChildPathSectionDeclarationEntry(node, "ПомещЗдания/Тип"), context.addChildPathSectionDeclarationEntry(node, "ПомещЗдания/Номер"), context.addChildPathSectionDeclarationEntry(node, "ПомещКвартиры/Тип"), context.addChildPathSectionDeclarationEntry(node, "ПомещКвартиры/Номер"));
|
|
306995
|
+
return context.mergeDataDeclaration(context.addPathSectionDeclarationEntry(node, node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "InternalFiasId", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "ИдНом", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "Регион", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "МуниципРайон/ВидКод", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "МуниципРайон/Наим", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "ГородСелПоселен/ВидКод", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "ГородСелПоселен/Наим", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "НаселенПункт/Вид", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "НаселенПункт/Наим", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "ЭлПланСтруктур/Тип", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "ЭлПланСтруктур/Наим", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "ЭлУлДорСети/Тип", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "ЭлУлДорСети/Наим", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "ЗемелУчасток", node.dataBinding.requisite), context.addChildrenPathDeclEntryForChild(node, true, node.dataBinding.path, "Здание/*", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "Здание/*/Тип", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "Здание/*/Номер", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "ПомещЗдания/Тип", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "ПомещЗдания/Номер", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "ПомещКвартиры/Тип", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "ПомещКвартиры/Номер", node.dataBinding.requisite));
|
|
307685
306996
|
}
|
|
307686
306997
|
|
|
307687
306998
|
buildChildrenDataDeclaration(context) {
|
|
@@ -307781,7 +307092,7 @@ class FiasMvdConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.
|
|
|
307781
307092
|
|
|
307782
307093
|
doBuildDataDeclaration(context) {
|
|
307783
307094
|
const node = this.getCurrentNodeAs(_FiasMvdNode__WEBPACK_IMPORTED_MODULE_4__.FiasMvdNode);
|
|
307784
|
-
return context.mergeDataDeclaration(context.addPathSectionDeclarationEntry(node), context.addChildPathSectionDeclarationEntry(node, "InternalFiasId"), context.addChildPathSectionDeclarationEntry(node, "addressObjectString"), context.addChildrenPathDeclEntryForChild(node, true, node.dataBinding.path, "housing/*"), context.addChildPathSectionDeclarationEntry(node, "housing/*/type"), context.addChildPathSectionDeclarationEntry(node, "housing/*/type/type"), context.addChildPathSectionDeclarationEntry(node, "housing/*/type/element"), context.addChildPathSectionDeclarationEntry(node, "housing/*/type/value"), context.addChildPathSectionDeclarationEntry(node, "housing/*/value"));
|
|
307095
|
+
return context.mergeDataDeclaration(context.addPathSectionDeclarationEntry(node, node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "InternalFiasId", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "addressObjectString", node.dataBinding.requisite), context.addChildrenPathDeclEntryForChild(node, true, node.dataBinding.path, "housing/*", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "housing/*/type", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "housing/*/type/type", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "housing/*/type/element", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "housing/*/type/value", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "housing/*/value", node.dataBinding.requisite));
|
|
307785
307096
|
}
|
|
307786
307097
|
|
|
307787
307098
|
buildChildrenDataDeclaration(context) {
|
|
@@ -307883,6 +307194,17 @@ class FileLoaderConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_4
|
|
|
307883
307194
|
return _FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode;
|
|
307884
307195
|
}
|
|
307885
307196
|
|
|
307197
|
+
*getAttachmentPaths() {
|
|
307198
|
+
const node = this.getCurrentNodeAs(_FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode);
|
|
307199
|
+
const multiple = !node.single;
|
|
307200
|
+
|
|
307201
|
+
if (multiple) {
|
|
307202
|
+
yield node.getFullPath().joinWith(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.PathTokens.each).joinWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_7__.AttachmentInfoPath);
|
|
307203
|
+
} else {
|
|
307204
|
+
yield node.getFullPath().joinWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_7__.AttachmentInfoPath);
|
|
307205
|
+
}
|
|
307206
|
+
}
|
|
307207
|
+
|
|
307886
307208
|
doBuildNodeValidations(validationGenerator) {
|
|
307887
307209
|
const node = this.getCurrentNodeAs(_FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode);
|
|
307888
307210
|
validationGenerator.processValidations(this.getResolvedBindingPath(node), node.validationInfo.optional, validationGenerator.getTypeNode(node.validationInfo), undefined, node.validationInfo.emptydescription, {
|
|
@@ -307976,7 +307298,7 @@ class FileLoaderConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_4
|
|
|
307976
307298
|
[fileLoaderPath.toLegacyPath()]: {
|
|
307977
307299
|
fnsConvertFileExtentions: attachmentType === null || attachmentType === void 0 ? void 0 : attachmentType.fnsConvertFileExtentions
|
|
307978
307300
|
}
|
|
307979
|
-
}, context.addChildPathSectionDeclarationEntry(fileLoader, additionalPath));
|
|
307301
|
+
}, context.addChildPathSectionDeclarationEntry(fileLoader, additionalPath, false));
|
|
307980
307302
|
}
|
|
307981
307303
|
|
|
307982
307304
|
convertChildren(context, nodes = []) {
|
|
@@ -308426,7 +307748,7 @@ class INNConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.Suga
|
|
|
308426
307748
|
|
|
308427
307749
|
doBuildDataDeclaration(context) {
|
|
308428
307750
|
const node = this.getCurrentNodeAs(_INNNode__WEBPACK_IMPORTED_MODULE_3__.INNNode);
|
|
308429
|
-
return context.mergeDataDeclaration(context.addPathSectionDeclarationEntry(node), context.addVisibilityPathDeclEntryNew(node));
|
|
307751
|
+
return context.mergeDataDeclaration(context.addPathSectionDeclarationEntry(node, node.dataBinding.requisite), context.addVisibilityPathDeclEntryNew(node, node.dataBinding.requisite));
|
|
308430
307752
|
}
|
|
308431
307753
|
|
|
308432
307754
|
buildChildrenDataDeclaration(context) {
|
|
@@ -308585,7 +307907,7 @@ class InputConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_4__.Su
|
|
|
308585
307907
|
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, {
|
|
308586
307908
|
optional: node.dataBinding.optional,
|
|
308587
307909
|
disabled: node.disabled
|
|
308588
|
-
}), context.addPathSectionDeclarationEntry(node), context.addVisibilityPathDeclEntryNew(node));
|
|
307910
|
+
}), context.addPathSectionDeclarationEntry(node, node.dataBinding.requisite), context.addVisibilityPathDeclEntryNew(node, node.dataBinding.requisite));
|
|
308589
307911
|
}
|
|
308590
307912
|
|
|
308591
307913
|
doBuildNormalizeRules(builder) {
|
|
@@ -309312,7 +308634,7 @@ class KladrConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_5__.Su
|
|
|
309312
308634
|
const node = this.getCurrentNodeAs(_KladrNode__WEBPACK_IMPORTED_MODULE_7__.KladrNode);
|
|
309313
308635
|
return context.mergeDataDeclaration(node.kind === "stat" ? context.addPathDeclEntry(node, [["value", context.initSequenceFactory.dataValue(node.dataBinding, false)], ["index", context.initSequenceFactory.takeFromModelOrFetchFn("index", node.dataBinding.fetchfn)], ["regionCode", context.initSequenceFactory.takeFromModelOrFetchFn("regionCode", node.dataBinding.fetchfn)], ["district", context.initSequenceFactory.takeFromModelOrFetchFn("district", node.dataBinding.fetchfn)], ["city", context.initSequenceFactory.takeFromModelOrFetchFn("city", node.dataBinding.fetchfn)], ["settlement", context.initSequenceFactory.takeFromModelOrFetchFn("settlement", node.dataBinding.fetchfn)], ["street", context.initSequenceFactory.takeFromModelOrFetchFn("street", node.dataBinding.fetchfn)], ["house", context.initSequenceFactory.takeFromModelOrFetchFn("house", node.dataBinding.fetchfn)], ["building", context.initSequenceFactory.takeFromModelOrFetchFn("building", node.dataBinding.fetchfn)], ["room", context.initSequenceFactory.takeFromModelOrFetchFn("room", node.dataBinding.fetchfn)]]) : _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_2__.emptyDataDeclarationCollection, context.addSpecialFieldsEntry(node, {
|
|
309314
308636
|
optional: node.dataBinding.optional
|
|
309315
|
-
}), context.addPathSectionDeclarationEntry(node), context.addVisibilityPathDeclEntryNew(node));
|
|
308637
|
+
}), context.addPathSectionDeclarationEntry(node, node.dataBinding.requisite), context.addVisibilityPathDeclEntryNew(node, node.dataBinding.requisite));
|
|
309316
308638
|
}
|
|
309317
308639
|
|
|
309318
308640
|
buildChildrenDataDeclaration(context) {
|
|
@@ -309619,7 +308941,7 @@ class PicklistConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__
|
|
|
309619
308941
|
const node = this.getCurrentNodeAs(_PicklistNode__WEBPACK_IMPORTED_MODULE_6__.PicklistNode);
|
|
309620
308942
|
return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["value", context.initSequenceFactory.dataValue(node.dataBinding, false)]]), context.addSpecialFieldsEntry(node, {
|
|
309621
308943
|
optional: node.dataBinding.optional
|
|
309622
|
-
}), context.addPathSectionDeclarationEntry(node), context.addVisibilityPathDeclEntryNew(node), context.addChildrenPathDeclEntry(node, node.dataBinding.path, (_node$dataBinding$opt2 = node.dataBinding.optional) !== null && _node$dataBinding$opt2 !== void 0 ? _node$dataBinding$opt2 : false));
|
|
308944
|
+
}), context.addPathSectionDeclarationEntry(node, node.dataBinding.requisite), context.addVisibilityPathDeclEntryNew(node, node.dataBinding.requisite), context.addChildrenPathDeclEntry(node, node.dataBinding.path, (_node$dataBinding$opt2 = node.dataBinding.optional) !== null && _node$dataBinding$opt2 !== void 0 ? _node$dataBinding$opt2 : false, node.dataBinding.requisite));
|
|
309623
308945
|
}
|
|
309624
308946
|
|
|
309625
308947
|
get nodePaths() {
|
|
@@ -310062,7 +309384,7 @@ class RadioGroupConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1
|
|
|
310062
309384
|
const node = this.getCurrentNodeAs(_RadioGroupNode__WEBPACK_IMPORTED_MODULE_4__.RadioGroupNode);
|
|
310063
309385
|
return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["value", context.initSequenceFactory.dataValue(node.dataBinding, false)]]), context.addSpecialFieldsEntry(node, {
|
|
310064
309386
|
optional: node.dataBinding.optional
|
|
310065
|
-
}), context.addPathSectionDeclarationEntry(node), context.addVisibilityPathDeclEntryNew(node));
|
|
309387
|
+
}), context.addPathSectionDeclarationEntry(node, node.dataBinding.requisite), context.addVisibilityPathDeclEntryNew(node, node.dataBinding.requisite));
|
|
310066
309388
|
}
|
|
310067
309389
|
|
|
310068
309390
|
buildChildrenDataDeclaration(context) {
|
|
@@ -310415,7 +309737,7 @@ class SelectConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__.S
|
|
|
310415
309737
|
return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["value", context.initSequenceFactory.dataValue(node.dataBinding, node.disabled)], node.disabled ? undefined : ["disabled", context.initSequenceFactory.disabled()]]), context.addSpecialFieldsEntry(node, {
|
|
310416
309738
|
optional: node.dataBinding.optional,
|
|
310417
309739
|
disabled: node.disabled
|
|
310418
|
-
}), context.addPathSectionDeclarationEntry(node), context.addVisibilityPathDeclEntryNew(node));
|
|
309740
|
+
}), context.addPathSectionDeclarationEntry(node, node.dataBinding.requisite), context.addVisibilityPathDeclEntryNew(node, node.dataBinding.requisite));
|
|
310419
309741
|
}
|
|
310420
309742
|
|
|
310421
309743
|
buildChildrenDataDeclaration(context) {
|
|
@@ -310747,6 +310069,222 @@ let SelectNode = (_dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODUL
|
|
|
310747
310069
|
|
|
310748
310070
|
/***/ }),
|
|
310749
310071
|
|
|
310072
|
+
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/TaxRebate/TaxRebateConverter.ts":
|
|
310073
|
+
/*!*****************************************************************************************************************!*\
|
|
310074
|
+
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/TaxRebate/TaxRebateConverter.ts ***!
|
|
310075
|
+
\*****************************************************************************************************************/
|
|
310076
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
310077
|
+
|
|
310078
|
+
"use strict";
|
|
310079
|
+
__webpack_require__.r(__webpack_exports__);
|
|
310080
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
310081
|
+
/* harmony export */ "TaxRebateConverter": () => (/* binding */ TaxRebateConverter)
|
|
310082
|
+
/* harmony export */ });
|
|
310083
|
+
/* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
|
|
310084
|
+
/* harmony import */ var _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../DataDeclarationGenerator/DataDeclarationGenerationContext */ "./Generator/src/generators/DataDeclarationGenerator/DataDeclarationGenerationContext.ts");
|
|
310085
|
+
/* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
|
|
310086
|
+
/* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
|
|
310087
|
+
/* harmony import */ var _CommonNodeProperties_TooltipProperties_SetTooltipSettingsProps__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../CommonNodeProperties/TooltipProperties/SetTooltipSettingsProps */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/TooltipProperties/SetTooltipSettingsProps.ts");
|
|
310088
|
+
/* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
|
|
310089
|
+
/* harmony import */ var _SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../SugarNodes/SugarNodeUtils */ "./Generator/src/generators/markupGenerator/SugarNodes/SugarNodeUtils.ts");
|
|
310090
|
+
/* harmony import */ var _TaxRebateNode__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./TaxRebateNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/TaxRebate/TaxRebateNode.ts");
|
|
310091
|
+
|
|
310092
|
+
|
|
310093
|
+
|
|
310094
|
+
|
|
310095
|
+
|
|
310096
|
+
|
|
310097
|
+
|
|
310098
|
+
|
|
310099
|
+
class TaxRebateConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__.SugarNodeConverterBase {
|
|
310100
|
+
static getAcceptNodeClass() {
|
|
310101
|
+
return _TaxRebateNode__WEBPACK_IMPORTED_MODULE_7__.TaxRebateNode;
|
|
310102
|
+
}
|
|
310103
|
+
|
|
310104
|
+
get nodePaths() {
|
|
310105
|
+
const node = this.getCurrentNodeAs(_TaxRebateNode__WEBPACK_IMPORTED_MODULE_7__.TaxRebateNode);
|
|
310106
|
+
return [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_5__.getNewBindingPathExpression)(node)];
|
|
310107
|
+
}
|
|
310108
|
+
|
|
310109
|
+
doBuildFLangValidations(buildContext) {
|
|
310110
|
+
const node = this.getCurrentNodeAs(_TaxRebateNode__WEBPACK_IMPORTED_MODULE_7__.TaxRebateNode);
|
|
310111
|
+
const targetPath = _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.AbsoluteModelPath.createAbsoluteFromMask(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.PathTokens.each);
|
|
310112
|
+
const typeNode = buildContext.getTypeNode(node.validationInfo);
|
|
310113
|
+
const schemaTypeNode = buildContext.getSchemaTypeInfo(targetPath);
|
|
310114
|
+
|
|
310115
|
+
if (typeNode == undefined && schemaTypeNode == undefined) {
|
|
310116
|
+
return [];
|
|
310117
|
+
}
|
|
310118
|
+
|
|
310119
|
+
return buildContext.buildBasicValidations(targetPath, typeNode, schemaTypeNode, node.validationInfo.optional);
|
|
310120
|
+
}
|
|
310121
|
+
|
|
310122
|
+
doBuildNodeValidations(validationGenerator) {
|
|
310123
|
+
const node = this.getCurrentNodeAs(_TaxRebateNode__WEBPACK_IMPORTED_MODULE_7__.TaxRebateNode);
|
|
310124
|
+
validationGenerator.processValidations(this.getResolvedBindingPath(node), node.validationInfo.optional, validationGenerator.getTypeNode(node.validationInfo), undefined, node.validationInfo.emptydescription);
|
|
310125
|
+
}
|
|
310126
|
+
|
|
310127
|
+
doBuildDataDeclaration(context) {
|
|
310128
|
+
const node = this.getCurrentNodeAs(_TaxRebateNode__WEBPACK_IMPORTED_MODULE_7__.TaxRebateNode);
|
|
310129
|
+
return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["value", context.initSequenceFactory.dataValue(node.dataBinding, undefined)]]), context.addSpecialFieldsEntry(node, {
|
|
310130
|
+
optional: node.dataBinding.optional
|
|
310131
|
+
}), context.addPathSectionDeclarationEntry(node));
|
|
310132
|
+
}
|
|
310133
|
+
|
|
310134
|
+
doBuildNormalizeRules(builder) {
|
|
310135
|
+
const node = this.getCurrentNodeAs(_TaxRebateNode__WEBPACK_IMPORTED_MODULE_7__.TaxRebateNode);
|
|
310136
|
+
return [builder.valueInitializer(node, node.dataBinding, undefined), ...builder.specialFieldsInitializer(node, {
|
|
310137
|
+
optional: node.dataBinding.optional
|
|
310138
|
+
})];
|
|
310139
|
+
}
|
|
310140
|
+
|
|
310141
|
+
buildChildrenDataDeclaration(context) {
|
|
310142
|
+
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_1__.emptyDataDeclarationCollection;
|
|
310143
|
+
}
|
|
310144
|
+
|
|
310145
|
+
*doTraverseChildren() {// no children
|
|
310146
|
+
}
|
|
310147
|
+
|
|
310148
|
+
doConvert(context) {
|
|
310149
|
+
var _node$columnNames$cod, _node$columnNames, _node$columnNames$nam, _node$columnNames2, _node$columnNames$law, _node$columnNames3, _node$width;
|
|
310150
|
+
|
|
310151
|
+
const node = this.getCurrentNodeAs(_TaxRebateNode__WEBPACK_IMPORTED_MODULE_7__.TaxRebateNode);
|
|
310152
|
+
this.ensurePathExists(node, node.dataBinding.path);
|
|
310153
|
+
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__.componentMarkupBuilder)("TaxRebate");
|
|
310154
|
+
markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_5__.getNewBindingPathExpression)(node));
|
|
310155
|
+
markupBuilder.prop(x => x.placeholder).set(node.placeholder);
|
|
310156
|
+
markupBuilder.prop(x => x.gId).set(node.gId);
|
|
310157
|
+
markupBuilder.prop(x => x.codesWithLawReference).set(node.codesWithLawReference);
|
|
310158
|
+
markupBuilder.prop(x => x.columnNamesMap).set({
|
|
310159
|
+
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",
|
|
310160
|
+
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",
|
|
310161
|
+
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"
|
|
310162
|
+
});
|
|
310163
|
+
|
|
310164
|
+
if (node.disabled != undefined) {
|
|
310165
|
+
markupBuilder.prop(x => x.disabled).set((0,_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_6__.buildExpressionPropValue)(node.disabled));
|
|
310166
|
+
|
|
310167
|
+
if (this.getLegacyNode().getParent() != undefined) {
|
|
310168
|
+
markupBuilder.prop(x => x.evaluatorsContextPath).set(this.getEvaluatorsContextPathExpression());
|
|
310169
|
+
}
|
|
310170
|
+
}
|
|
310171
|
+
|
|
310172
|
+
markupBuilder.prop(x => x.width).set((_node$width = node.width) !== null && _node$width !== void 0 ? _node$width : "100%");
|
|
310173
|
+
(0,_CommonNodeProperties_TooltipProperties_SetTooltipSettingsProps__WEBPACK_IMPORTED_MODULE_4__.setTooltipSettingsProps)(markupBuilder, node.tooltipSettings);
|
|
310174
|
+
return markupBuilder.buildConverterResult();
|
|
310175
|
+
}
|
|
310176
|
+
|
|
310177
|
+
}
|
|
310178
|
+
|
|
310179
|
+
/***/ }),
|
|
310180
|
+
|
|
310181
|
+
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/TaxRebate/TaxRebateNode.ts":
|
|
310182
|
+
/*!************************************************************************************************************!*\
|
|
310183
|
+
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/TaxRebate/TaxRebateNode.ts ***!
|
|
310184
|
+
\************************************************************************************************************/
|
|
310185
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
310186
|
+
|
|
310187
|
+
"use strict";
|
|
310188
|
+
__webpack_require__.r(__webpack_exports__);
|
|
310189
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
310190
|
+
/* harmony export */ "TaxRebateNode": () => (/* binding */ TaxRebateNode)
|
|
310191
|
+
/* harmony export */ });
|
|
310192
|
+
/* harmony import */ var _CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../CommonNodeProperties/DataBindingMixinNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/DataBindingMixinNode.ts");
|
|
310193
|
+
/* harmony import */ var _CommonNodeProperties_ValidationInfoNode__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../CommonNodeProperties/ValidationInfoNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/ValidationInfoNode.ts");
|
|
310194
|
+
/* harmony import */ var _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../Serializer/SugarNodeWithLegacyVisibility */ "./Generator/src/generators/markupGenerator/Serializer/SugarNodeWithLegacyVisibility.ts");
|
|
310195
|
+
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
310196
|
+
/* harmony import */ var _Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../Commons/DocumentationLinks */ "./Generator/src/generators/markupGenerator/ElementProcessors/Commons/DocumentationLinks.ts");
|
|
310197
|
+
/* harmony import */ var _CommonNodeProperties_TooltipProperties_TooltipSettingsNode__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../CommonNodeProperties/TooltipProperties/TooltipSettingsNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/TooltipProperties/TooltipSettingsNode.ts");
|
|
310198
|
+
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9;
|
|
310199
|
+
|
|
310200
|
+
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 }); }
|
|
310201
|
+
|
|
310202
|
+
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; }
|
|
310203
|
+
|
|
310204
|
+
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.'); }
|
|
310205
|
+
|
|
310206
|
+
|
|
310207
|
+
|
|
310208
|
+
|
|
310209
|
+
|
|
310210
|
+
|
|
310211
|
+
|
|
310212
|
+
let TaxRebateNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("taxrebate", `Редактор для кода налоговой льготы. Для случаем льготы без указания статьи ведёт себя как комбобокс, а при необходимости показывает редактор ссылки.`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/TaxRebate sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_ValidationInfoNode__WEBPACK_IMPORTED_MODULE_1__.ValidationInfoNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_0__.DataBindingMixinNode), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_TooltipProperties_TooltipSettingsNode__WEBPACK_IMPORTED_MODULE_5__.TooltipSettingsNode), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("placeholder", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.localizedString, ""), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("gId", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string.required, `Глобальный идентификатор справочника`), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("columnNamesMap", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.objectLiteral(), `Поле дает возможность указать колонки для пиклиста соотв. полям налоговой льготы (code, name, lawReferenceRequired).`), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("codesWithLawReference", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.stringArray, `Коды налоговых льгот, для которых требуется указачение ссылки на Налоговый Кодекс.`), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("disabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.javascriptExpression, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_4__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_4__.javaScriptExpressionLink)} для условного задизейбливания контрола`), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.lengthUnit, "Ширина поля"), _dec(_class = (_class2 = class TaxRebateNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_2__.SugarNodeWithLegacyVisibility {
|
|
310213
|
+
constructor(...args) {
|
|
310214
|
+
super(...args);
|
|
310215
|
+
|
|
310216
|
+
_initializerDefineProperty(this, "validationInfo", _descriptor, this);
|
|
310217
|
+
|
|
310218
|
+
_initializerDefineProperty(this, "dataBinding", _descriptor2, this);
|
|
310219
|
+
|
|
310220
|
+
_initializerDefineProperty(this, "tooltipSettings", _descriptor3, this);
|
|
310221
|
+
|
|
310222
|
+
_initializerDefineProperty(this, "placeholder", _descriptor4, this);
|
|
310223
|
+
|
|
310224
|
+
_initializerDefineProperty(this, "gId", _descriptor5, this);
|
|
310225
|
+
|
|
310226
|
+
_initializerDefineProperty(this, "columnNames", _descriptor6, this);
|
|
310227
|
+
|
|
310228
|
+
_initializerDefineProperty(this, "codesWithLawReference", _descriptor7, this);
|
|
310229
|
+
|
|
310230
|
+
_initializerDefineProperty(this, "disabled", _descriptor8, this);
|
|
310231
|
+
|
|
310232
|
+
_initializerDefineProperty(this, "width", _descriptor9, this);
|
|
310233
|
+
}
|
|
310234
|
+
|
|
310235
|
+
getOwnPath() {
|
|
310236
|
+
return this.dataBinding.getOwnPath();
|
|
310237
|
+
}
|
|
310238
|
+
|
|
310239
|
+
}, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "validationInfo", [_dec2], {
|
|
310240
|
+
configurable: true,
|
|
310241
|
+
enumerable: true,
|
|
310242
|
+
writable: true,
|
|
310243
|
+
initializer: null
|
|
310244
|
+
}), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, "dataBinding", [_dec3], {
|
|
310245
|
+
configurable: true,
|
|
310246
|
+
enumerable: true,
|
|
310247
|
+
writable: true,
|
|
310248
|
+
initializer: null
|
|
310249
|
+
}), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, "tooltipSettings", [_dec4], {
|
|
310250
|
+
configurable: true,
|
|
310251
|
+
enumerable: true,
|
|
310252
|
+
writable: true,
|
|
310253
|
+
initializer: null
|
|
310254
|
+
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "placeholder", [_dec5], {
|
|
310255
|
+
configurable: true,
|
|
310256
|
+
enumerable: true,
|
|
310257
|
+
writable: true,
|
|
310258
|
+
initializer: null
|
|
310259
|
+
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "gId", [_dec6], {
|
|
310260
|
+
configurable: true,
|
|
310261
|
+
enumerable: true,
|
|
310262
|
+
writable: true,
|
|
310263
|
+
initializer: null
|
|
310264
|
+
}), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "columnNames", [_dec7], {
|
|
310265
|
+
configurable: true,
|
|
310266
|
+
enumerable: true,
|
|
310267
|
+
writable: true,
|
|
310268
|
+
initializer: null
|
|
310269
|
+
}), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, "codesWithLawReference", [_dec8], {
|
|
310270
|
+
configurable: true,
|
|
310271
|
+
enumerable: true,
|
|
310272
|
+
writable: true,
|
|
310273
|
+
initializer: null
|
|
310274
|
+
}), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "disabled", [_dec9], {
|
|
310275
|
+
configurable: true,
|
|
310276
|
+
enumerable: true,
|
|
310277
|
+
writable: true,
|
|
310278
|
+
initializer: null
|
|
310279
|
+
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "width", [_dec10], {
|
|
310280
|
+
configurable: true,
|
|
310281
|
+
enumerable: true,
|
|
310282
|
+
writable: true,
|
|
310283
|
+
initializer: null
|
|
310284
|
+
})), _class2)) || _class);
|
|
310285
|
+
|
|
310286
|
+
/***/ }),
|
|
310287
|
+
|
|
310750
310288
|
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Textarea/TextAreaConverter.ts":
|
|
310751
310289
|
/*!***************************************************************************************************************!*\
|
|
310752
310290
|
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Textarea/TextAreaConverter.ts ***!
|
|
@@ -310789,7 +310327,7 @@ class TextAreaConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__
|
|
|
310789
310327
|
return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["value", context.initSequenceFactory.dataValue(node.dataBinding, node.disabled)]]), context.addSpecialFieldsEntry(node, {
|
|
310790
310328
|
optional: node.dataBinding.optional,
|
|
310791
310329
|
disabled: node.disabled
|
|
310792
|
-
}), context.addPathSectionDeclarationEntry(node), context.addVisibilityPathDeclEntryNew(node));
|
|
310330
|
+
}), context.addPathSectionDeclarationEntry(node, node.dataBinding.requisite), context.addVisibilityPathDeclEntryNew(node, node.dataBinding.requisite));
|
|
310793
310331
|
}
|
|
310794
310332
|
|
|
310795
310333
|
buildChildrenDataDeclaration(context) {
|
|
@@ -311054,7 +310592,7 @@ class PopupTextAreaConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODUL
|
|
|
311054
310592
|
return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["value", context.initSequenceFactory.dataValue(node.dataBinding, node.disabled)]]), context.addSpecialFieldsEntry(node, {
|
|
311055
310593
|
optional: node.dataBinding.optional,
|
|
311056
310594
|
disabled: node.disabled
|
|
311057
|
-
}), context.addPathSectionDeclarationEntry(node), context.addVisibilityPathDeclEntryNew(node));
|
|
310595
|
+
}), context.addPathSectionDeclarationEntry(node, node.dataBinding.requisite), context.addVisibilityPathDeclEntryNew(node, node.dataBinding.requisite));
|
|
311058
310596
|
}
|
|
311059
310597
|
|
|
311060
310598
|
buildChildrenDataDeclaration(context) {
|
|
@@ -311478,7 +311016,7 @@ class FIOConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__.Suga
|
|
|
311478
311016
|
|
|
311479
311017
|
const node = this.getCurrentNodeAs(_FIONode__WEBPACK_IMPORTED_MODULE_5__.FIONode);
|
|
311480
311018
|
const hasBossAndAgent = (_node$fetchfn$include = (_node$fetchfn = node.fetchfn) === null || _node$fetchfn === void 0 ? void 0 : _node$fetchfn.includes("sign")) !== null && _node$fetchfn$include !== void 0 ? _node$fetchfn$include : false;
|
|
311481
|
-
return context.mergeDataDeclaration(context.addPathSectionDeclarationEntry(node,
|
|
311019
|
+
return context.mergeDataDeclaration(context.addPathSectionDeclarationEntry(node, false), context.addVisibilityPathDeclEntryNew(node, node.dataBinding.requisite), {
|
|
311482
311020
|
[(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_4__.getBindingPathWithSuffix)(node, "Фамилия")]: {
|
|
311483
311021
|
value: context.initSequenceFactory.takeFromFetchFunctionOrDefault(node.fetchfn + "surname", "value", ""),
|
|
311484
311022
|
...(hasBossAndAgent ? {
|
|
@@ -311898,7 +311436,7 @@ class TextConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__.Sug
|
|
|
311898
311436
|
return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["value", context.initSequenceFactory.dataValue(node.dataBinding, node.disabled)], fetchfn !== null && fetchfn !== void 0 && fetchfn.includes("sign") ? ["bossValue", context.initSequenceFactory.takeFromFetchFunction(fetchfn, "bossValue")] : undefined, fetchfn !== null && fetchfn !== void 0 && fetchfn.includes("sign") ? ["agentValue", context.initSequenceFactory.takeFromFetchFunction(fetchfn, "agentValue")] : undefined, fetchfn === "sendername" ? ["senderInn", context.initSequenceFactory.takeFromFetchFunction(fetchfn, "senderInn")] : undefined, fetchfn === "editablenameorg" || fetchfn === "formsclientinfo_editablenameorg" ? ["nameorg", context.initSequenceFactory.takeFromFetchFunction(fetchfn, "nameorg")] : undefined]), context.addSpecialFieldsEntry(node, {
|
|
311899
311437
|
optional: node.dataBinding.optional,
|
|
311900
311438
|
disabled: node.disabled
|
|
311901
|
-
}), node.dataBinding.path && context.addPathSectionDeclarationEntry(node), context.addVisibilityPathDeclEntryNew(node));
|
|
311439
|
+
}), node.dataBinding.path && context.addPathSectionDeclarationEntry(node, node.dataBinding.requisite), context.addVisibilityPathDeclEntryNew(node, node.dataBinding.requisite));
|
|
311902
311440
|
}
|
|
311903
311441
|
|
|
311904
311442
|
buildChildrenDataDeclaration(context) {
|
|
@@ -314199,6 +313737,16 @@ class SugarNodeBase {
|
|
|
314199
313737
|
return this.parent.findParentOfTypeStrict(nodeClass);
|
|
314200
313738
|
}
|
|
314201
313739
|
|
|
313740
|
+
findParentOfType(nodeClass) {
|
|
313741
|
+
var _this$parent;
|
|
313742
|
+
|
|
313743
|
+
if (this.parent instanceof nodeClass) {
|
|
313744
|
+
return this.parent;
|
|
313745
|
+
}
|
|
313746
|
+
|
|
313747
|
+
return (_this$parent = this.parent) === null || _this$parent === void 0 ? void 0 : _this$parent.findParentOfType(nodeClass);
|
|
313748
|
+
}
|
|
313749
|
+
|
|
314202
313750
|
getFullPath() {
|
|
314203
313751
|
if (this.parent == undefined) {
|
|
314204
313752
|
const ownPath = this.getOwnPath();
|
|
@@ -314243,9 +313791,36 @@ class UnknownSugarNode extends SugarNodeBase {
|
|
|
314243
313791
|
this.name = name;
|
|
314244
313792
|
}
|
|
314245
313793
|
|
|
313794
|
+
get path() {
|
|
313795
|
+
return this.sourceXmlNode.attrAsString("path");
|
|
313796
|
+
}
|
|
313797
|
+
|
|
313798
|
+
get optional() {
|
|
313799
|
+
return this.sourceXmlNode.attrAsBoolean("optional");
|
|
313800
|
+
}
|
|
313801
|
+
|
|
313802
|
+
get fetchfn() {
|
|
313803
|
+
return this.sourceXmlNode.attrAsString("fetchfn");
|
|
313804
|
+
}
|
|
313805
|
+
|
|
313806
|
+
get defaultValue() {
|
|
313807
|
+
return this.sourceXmlNode.attrAsString("defaultValue");
|
|
313808
|
+
}
|
|
313809
|
+
|
|
313810
|
+
get requisite() {
|
|
313811
|
+
return this.sourceXmlNode.attrAsBoolean("requisite");
|
|
313812
|
+
}
|
|
313813
|
+
|
|
313814
|
+
get settings() {
|
|
313815
|
+
return this.sourceXmlNode.attrAsBoolean("settings");
|
|
313816
|
+
}
|
|
313817
|
+
|
|
313818
|
+
get disabled() {
|
|
313819
|
+
return this.sourceXmlNode.attrAsBoolean("disabled");
|
|
313820
|
+
}
|
|
313821
|
+
|
|
314246
313822
|
getOwnPath() {
|
|
314247
|
-
|
|
314248
|
-
return pathAttributeValue != undefined ? _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_3__.ModelPath.createFromMask(pathAttributeValue, "auto", _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_3__.PathTokens.each) : undefined;
|
|
313823
|
+
return this.path != undefined ? _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_3__.ModelPath.createFromMask(this.path, "auto", _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_3__.PathTokens.each) : undefined;
|
|
314249
313824
|
}
|
|
314250
313825
|
|
|
314251
313826
|
}
|
|
@@ -314475,6 +314050,9 @@ class SugarNodeConverterBase {
|
|
|
314475
314050
|
this.buildChildrenValidations(validationGenerator);
|
|
314476
314051
|
}
|
|
314477
314052
|
|
|
314053
|
+
*getAttachmentPaths() {// no paths by default
|
|
314054
|
+
}
|
|
314055
|
+
|
|
314478
314056
|
*buildFLangValidations(buildContext) {
|
|
314479
314057
|
yield* this.doBuildFLangValidations(buildContext);
|
|
314480
314058
|
yield* this.buildChildrenFLangValidations(buildContext);
|
|
@@ -314748,6 +314326,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
314748
314326
|
/* harmony import */ var _ElementProcessors_Action_ExcelPastePanel_ExcelPastePanelNode__WEBPACK_IMPORTED_MODULE_106__ = __webpack_require__(/*! ../ElementProcessors/Action/ExcelPastePanel/ExcelPastePanelNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Action/ExcelPastePanel/ExcelPastePanelNode.ts");
|
|
314749
314327
|
/* 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");
|
|
314750
314328
|
/* 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");
|
|
314329
|
+
/* 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");
|
|
314330
|
+
|
|
314751
314331
|
|
|
314752
314332
|
|
|
314753
314333
|
|
|
@@ -314958,6 +314538,7 @@ function registerDefaultSugarNodes(result) {
|
|
|
314958
314538
|
result.registerNode(_ElementProcessors_Action_ExcelPastePanel_ExcelPastePanelNode__WEBPACK_IMPORTED_MODULE_106__.ExcelPastePanelNode);
|
|
314959
314539
|
result.registerNode(_ElementProcessors_ValueEditors_ReferencedFields_ReferencedFieldsNode__WEBPACK_IMPORTED_MODULE_107__.ReferencedFieldsNode);
|
|
314960
314540
|
result.registerNode(_ElementProcessors_FormParts_UserPicklist_UserPicklistNode__WEBPACK_IMPORTED_MODULE_108__.UserPicklistNode);
|
|
314541
|
+
result.registerNode(_ElementProcessors_ValueEditors_TaxRebate_TaxRebateNode__WEBPACK_IMPORTED_MODULE_109__.TaxRebateNode);
|
|
314961
314542
|
}
|
|
314962
314543
|
|
|
314963
314544
|
function createDefaultSugarSerializer() {
|
|
@@ -314971,7 +314552,7 @@ function getAllSugarValidationNodeClasses() {
|
|
|
314971
314552
|
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__.MininclusiveTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.MaxinclusiveTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.ForcedTypeChecksNode];
|
|
314972
314553
|
}
|
|
314973
314554
|
function getAllSugarNodeClasses() {
|
|
314974
|
-
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];
|
|
314555
|
+
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];
|
|
314975
314556
|
}
|
|
314976
314557
|
|
|
314977
314558
|
/***/ }),
|