@kontur.candy/generator 4.235.0-nightly.5d98a → 4.235.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +421 -1108
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -279913,293 +279913,6 @@ class CompositionOperandContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPO
|
|
|
279913
279913
|
|
|
279914
279914
|
/***/ }),
|
|
279915
279915
|
|
|
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
279916
|
/***/ "./Generator/src/common/KCLang/KCLangToJsTranspiler.ts":
|
|
280204
279917
|
/*!*************************************************************!*\
|
|
280205
279918
|
!*** ./Generator/src/common/KCLang/KCLangToJsTranspiler.ts ***!
|
|
@@ -280497,345 +280210,6 @@ class KCLangToJsTranspiler {
|
|
|
280497
280210
|
|
|
280498
280211
|
/***/ }),
|
|
280499
280212
|
|
|
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
280213
|
/***/ "./Generator/src/common/RequireContext/LoadDocumentationFileFormContext.ts":
|
|
280840
280214
|
/*!*********************************************************************************!*\
|
|
280841
280215
|
!*** ./Generator/src/common/RequireContext/LoadDocumentationFileFormContext.ts ***!
|
|
@@ -286061,7 +285435,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
286061
285435
|
|
|
286062
285436
|
|
|
286063
285437
|
class FormulasAutoCalculationsGenerator {
|
|
286064
|
-
generate(
|
|
285438
|
+
generate(formulaContainer, schemaRng, dataDeclarationHelper) {
|
|
285439
|
+
const formulas = formulaContainer.formulas == undefined || formulaContainer.formulas.items == undefined ? [] : formulaContainer.formulas.items;
|
|
286065
285440
|
const formulaAutoCalculations = formulas.map(formula => this.buildFormulaAutoCalculation(formula, schemaRng, dataDeclarationHelper)).flat();
|
|
286066
285441
|
return this.mergeFormulaAutoCalculations(formulaAutoCalculations);
|
|
286067
285442
|
}
|
|
@@ -286787,73 +286162,35 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
286787
286162
|
/* harmony export */ });
|
|
286788
286163
|
/* harmony import */ var _common_XmlParser_XmlParser__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../common/XmlParser/XmlParser */ "./Generator/src/common/XmlParser/XmlParser.ts");
|
|
286789
286164
|
/* harmony import */ var _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../markupGenerator/Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
286790
|
-
/* harmony import */ var
|
|
286791
|
-
/* harmony import */ var _Formula__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Formula */ "./Generator/src/generators/AutoCalculationsGenerator/AutoCalculationsFromFormulas/KCXmlContract/Formula.ts");
|
|
286792
|
-
|
|
286165
|
+
/* harmony import */ var _Formula__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Formula */ "./Generator/src/generators/AutoCalculationsGenerator/AutoCalculationsFromFormulas/KCXmlContract/Formula.ts");
|
|
286793
286166
|
|
|
286794
286167
|
|
|
286795
286168
|
|
|
286796
286169
|
class FormulaReader {
|
|
286797
|
-
readFormulas(
|
|
286170
|
+
readFormulas(kcxmlSource) {
|
|
286798
286171
|
const serializer = this.createFormulaSerializer();
|
|
286799
|
-
const result =
|
|
286800
|
-
|
|
286801
|
-
for (const kcxmlSource of kcxmlSources) {
|
|
286802
|
-
const rootNode = serializer.deserializeFromSugarXmlNode((0,_common_XmlParser_XmlParser__WEBPACK_IMPORTED_MODULE_0__.parseXml)(kcxmlSource));
|
|
286803
|
-
|
|
286804
|
-
if (rootNode instanceof _Formula__WEBPACK_IMPORTED_MODULE_3__.MathContainer) {
|
|
286805
|
-
var _rootNode$formulas$it, _rootNode$formulas;
|
|
286806
|
-
|
|
286807
|
-
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 : []));
|
|
286808
|
-
}
|
|
286809
|
-
}
|
|
286172
|
+
const result = serializer.deserializeFromSugarXmlNode((0,_common_XmlParser_XmlParser__WEBPACK_IMPORTED_MODULE_0__.parseXml)(kcxmlSource));
|
|
286810
286173
|
|
|
286811
|
-
|
|
286812
|
-
|
|
286813
|
-
|
|
286814
|
-
if (rootNode instanceof _Formula__WEBPACK_IMPORTED_MODULE_3__.MathContainer) {
|
|
286815
|
-
var _rootNode$formulas$it2, _rootNode$formulas2;
|
|
286816
|
-
|
|
286817
|
-
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 : []));
|
|
286818
|
-
}
|
|
286174
|
+
if (result instanceof _Formula__WEBPACK_IMPORTED_MODULE_2__.DummyContent) {
|
|
286175
|
+
return this.createEmptyMathContainer();
|
|
286819
286176
|
}
|
|
286820
286177
|
|
|
286821
286178
|
return result;
|
|
286822
286179
|
}
|
|
286823
286180
|
|
|
286824
|
-
|
|
286825
|
-
const
|
|
286826
|
-
|
|
286827
|
-
|
|
286828
|
-
|
|
286829
|
-
const rootNode = serializer.deserializeFromSugarXmlNode((0,_common_XmlParser_XmlParser__WEBPACK_IMPORTED_MODULE_0__.parseXml)(kcxmlSource));
|
|
286830
|
-
|
|
286831
|
-
if (rootNode instanceof _Formula__WEBPACK_IMPORTED_MODULE_3__.MathContainer) {
|
|
286832
|
-
var _rootNode$conditions$, _rootNode$conditions;
|
|
286833
|
-
|
|
286834
|
-
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$ : []));
|
|
286835
|
-
}
|
|
286836
|
-
}
|
|
286837
|
-
|
|
286838
|
-
for (const kclangSource of kclangSources) {
|
|
286839
|
-
const rootNode = serializer.deserializeFromSugarXmlNode((0,_common_XmlParser_XmlParser__WEBPACK_IMPORTED_MODULE_0__.parseXml)(_common_KCLang_KCLangToXmlTranspiler__WEBPACK_IMPORTED_MODULE_2__.KCLangToXmlTranspiler.transpile(kclangSource)));
|
|
286840
|
-
|
|
286841
|
-
if (rootNode instanceof _Formula__WEBPACK_IMPORTED_MODULE_3__.MathContainer) {
|
|
286842
|
-
var _rootNode$conditions$2, _rootNode$conditions2;
|
|
286843
|
-
|
|
286844
|
-
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 : []));
|
|
286845
|
-
}
|
|
286846
|
-
}
|
|
286847
|
-
|
|
286848
|
-
return result;
|
|
286181
|
+
createEmptyMathContainer() {
|
|
286182
|
+
const mathContainer = new _Formula__WEBPACK_IMPORTED_MODULE_2__.MathContainer();
|
|
286183
|
+
mathContainer.formulas = new _Formula__WEBPACK_IMPORTED_MODULE_2__.Formulas();
|
|
286184
|
+
mathContainer.formulas.items = [];
|
|
286185
|
+
return mathContainer;
|
|
286849
286186
|
}
|
|
286850
286187
|
|
|
286851
286188
|
createFormulaSerializer() {
|
|
286852
286189
|
const result = new _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.SugarSerializer();
|
|
286853
|
-
result.registerNode(
|
|
286854
|
-
result.registerNode(
|
|
286190
|
+
result.registerNode(_Formula__WEBPACK_IMPORTED_MODULE_2__.DummyContent);
|
|
286191
|
+
result.registerNode(_Formula__WEBPACK_IMPORTED_MODULE_2__.MathContainer);
|
|
286855
286192
|
|
|
286856
|
-
for (const formulaExpression of
|
|
286193
|
+
for (const formulaExpression of _Formula__WEBPACK_IMPORTED_MODULE_2__.formulaExpressions) {
|
|
286857
286194
|
result.registerNode(formulaExpression);
|
|
286858
286195
|
}
|
|
286859
286196
|
|
|
@@ -288548,9 +287885,11 @@ class KCXmlValidationGenerator {
|
|
|
288548
287885
|
const conditionReader = new _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_FormulaReader__WEBPACK_IMPORTED_MODULE_2__.FormulaReader();
|
|
288549
287886
|
|
|
288550
287887
|
for (const file of importedKcXmlValidations) {
|
|
288551
|
-
const
|
|
287888
|
+
const math = conditionReader.readFormulas(file);
|
|
287889
|
+
|
|
287890
|
+
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 : []) {
|
|
287891
|
+
var _math$conditions$item, _math$conditions;
|
|
288552
287892
|
|
|
288553
|
-
for (const condition of conditions) {
|
|
288554
287893
|
compiledConditions.push(this.compileCondition(condition));
|
|
288555
287894
|
}
|
|
288556
287895
|
}
|
|
@@ -288733,7 +288072,7 @@ function processSugar(formSugarContent, additionalContent, generationOptions) {
|
|
|
288733
288072
|
const sugarAst = (0,_common_SugarXmlParser_SugarParser__WEBPACK_IMPORTED_MODULE_4__.parseSugar)(formSugarContent, additionalContent.preprocessor || {});
|
|
288734
288073
|
const serializer = (0,_markupGenerator_SugarNodes_DefaultSugarSerializer__WEBPACK_IMPORTED_MODULE_12__.createDefaultSugarSerializer)();
|
|
288735
288074
|
const sugarRoot = (0,_markupGenerator_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_13__.strictCastNode)(serializer.deserializeFromSugarXmlNode(sugarAst), _markupGenerator_ElementProcessors_FormParts_Form_FormNode__WEBPACK_IMPORTED_MODULE_10__.FormNode);
|
|
288736
|
-
const formulas = new _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_FormulaReader__WEBPACK_IMPORTED_MODULE_16__.FormulaReader().readFormulas(additionalContent.kcJsXmlContent
|
|
288075
|
+
const formulas = new _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_FormulaReader__WEBPACK_IMPORTED_MODULE_16__.FormulaReader().readFormulas(additionalContent.kcJsXmlContent);
|
|
288737
288076
|
const schemaRng = (0,_common_XmlParser_XmlParser__WEBPACK_IMPORTED_MODULE_5__.parseXml)(additionalContent.schemaRngContent);
|
|
288738
288077
|
const formSchemaRng = _common_SchemaRng_FormSchemaRng__WEBPACK_IMPORTED_MODULE_3__.FormSchemaRng.createFromSchemaRng(additionalContent.schemaRngContent);
|
|
288739
288078
|
const typeRegistry = (0,_validationGenerator_TypesRegistry__WEBPACK_IMPORTED_MODULE_14__.buildTypesRegistry)(sugarRoot);
|
|
@@ -288858,17 +288197,19 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
288858
288197
|
/* harmony import */ var fs__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(fs__WEBPACK_IMPORTED_MODULE_0__);
|
|
288859
288198
|
/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! path */ "path");
|
|
288860
288199
|
/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(path__WEBPACK_IMPORTED_MODULE_1__);
|
|
288861
|
-
/* harmony import */ var
|
|
288862
|
-
/* harmony import */ var
|
|
288863
|
-
/* harmony import */ var
|
|
288864
|
-
/* harmony import */ var
|
|
288865
|
-
/* harmony import */ var
|
|
288866
|
-
/* harmony import */ var
|
|
288867
|
-
/* harmony import */ var
|
|
288868
|
-
/* harmony import */ var
|
|
288869
|
-
/* harmony import */ var
|
|
288870
|
-
/* harmony import */ var
|
|
288871
|
-
/* harmony import */ var
|
|
288200
|
+
/* harmony import */ var util__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! util */ "util");
|
|
288201
|
+
/* harmony import */ var util__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(util__WEBPACK_IMPORTED_MODULE_2__);
|
|
288202
|
+
/* harmony import */ var chalk__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! chalk */ "./node_modules/chalk/source/index.js");
|
|
288203
|
+
/* harmony import */ var chalk__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(chalk__WEBPACK_IMPORTED_MODULE_3__);
|
|
288204
|
+
/* harmony import */ var fs_extra__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! fs-extra */ "./node_modules/fs-extra/lib/index.js");
|
|
288205
|
+
/* harmony import */ var fs_extra__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(fs_extra__WEBPACK_IMPORTED_MODULE_4__);
|
|
288206
|
+
/* harmony import */ var md5__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! md5 */ "./node_modules/md5/md5.js");
|
|
288207
|
+
/* harmony import */ var md5__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(md5__WEBPACK_IMPORTED_MODULE_5__);
|
|
288208
|
+
/* harmony import */ var md5_file__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! md5-file */ "./node_modules/md5-file/index.js");
|
|
288209
|
+
/* harmony import */ var md5_file__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(md5_file__WEBPACK_IMPORTED_MODULE_6__);
|
|
288210
|
+
/* harmony import */ var recursive_readdir__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! recursive-readdir */ "./node_modules/recursive-readdir/index.js");
|
|
288211
|
+
/* harmony import */ var recursive_readdir__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(recursive_readdir__WEBPACK_IMPORTED_MODULE_7__);
|
|
288212
|
+
/* harmony import */ var _common_ExtractSugarReferences__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../common/ExtractSugarReferences */ "./Generator/src/common/ExtractSugarReferences.ts");
|
|
288872
288213
|
|
|
288873
288214
|
|
|
288874
288215
|
|
|
@@ -288877,6 +288218,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
288877
288218
|
|
|
288878
288219
|
|
|
288879
288220
|
|
|
288221
|
+
|
|
288222
|
+
const statAsync = (0,util__WEBPACK_IMPORTED_MODULE_2__.promisify)(fs__WEBPACK_IMPORTED_MODULE_0__.stat);
|
|
288223
|
+
const readFileAsync = (0,util__WEBPACK_IMPORTED_MODULE_2__.promisify)(fs__WEBPACK_IMPORTED_MODULE_0__.readFile);
|
|
288224
|
+
const readdirAsync = (0,util__WEBPACK_IMPORTED_MODULE_2__.promisify)(fs__WEBPACK_IMPORTED_MODULE_0__.readdir);
|
|
288880
288225
|
async function readFormSources(formSourcesPath, farmDirectory) {
|
|
288881
288226
|
var _JSON$parse$settings;
|
|
288882
288227
|
|
|
@@ -288888,9 +288233,9 @@ async function readFormSources(formSourcesPath, farmDirectory) {
|
|
|
288888
288233
|
|
|
288889
288234
|
if (sugarReferences.fetchFunctionFiles.length === 0) {
|
|
288890
288235
|
// eslint-disable-next-line no-console
|
|
288891
|
-
console.warn(
|
|
288236
|
+
console.warn(chalk__WEBPACK_IMPORTED_MODULE_3___default().yellow(`[WARN] Форма не содержит ссылок на fetch-функции. Будут автоматически подключены функции из каталога legacyfetchfuctions\n` + `[WARN] В будущем необходимо явно прописывать ссылки на используемые fetch-функции`));
|
|
288892
288237
|
const legacyfetchfunctionsDirectory = path__WEBPACK_IMPORTED_MODULE_1___default().join(farmDirectory, "legacyfetchfunctions");
|
|
288893
|
-
sugarReferences.fetchFunctionFiles = (await (
|
|
288238
|
+
sugarReferences.fetchFunctionFiles = (await readdirAsync(legacyfetchfunctionsDirectory)).map(x => path__WEBPACK_IMPORTED_MODULE_1___default().resolve(legacyfetchfunctionsDirectory, x));
|
|
288894
288239
|
}
|
|
288895
288240
|
|
|
288896
288241
|
const result = {
|
|
@@ -288900,12 +288245,11 @@ async function readFormSources(formSourcesPath, farmDirectory) {
|
|
|
288900
288245
|
formSourcesPath: formSourcesPath,
|
|
288901
288246
|
formJsonSettings: (_JSON$parse$settings = JSON.parse(await readFileSource(formSourcesPath, "form.json", "{}"))["settings"]) !== null && _JSON$parse$settings !== void 0 ? _JSON$parse$settings : {},
|
|
288902
288247
|
additionalSettings: await readFileSource(formSourcesPath, "settings.json", "{}"),
|
|
288903
|
-
autocalcsContent: await
|
|
288248
|
+
autocalcsContent: await readAutoCalcFiles(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "autocalc")),
|
|
288904
288249
|
helpersContent: await readJavaScriptFilesWithNames(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "helpers")),
|
|
288905
288250
|
validationsContent: await readJavaScriptFilesWithNames(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "validations")),
|
|
288906
288251
|
schemaRngContent: await readSchemaRngFile(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "schemas"), formName),
|
|
288907
|
-
kcJsXmlContent: await
|
|
288908
|
-
kclangAutocaclulationsContent: await readFilesFromDir(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "autocalc"), /\.kclang$/),
|
|
288252
|
+
kcJsXmlContent: (await readFileSource(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "autocalc"), `${formName}.КС.candy.js.xml`, "<dummy/>")) || "",
|
|
288909
288253
|
tourSteps: await readFileSource(path__WEBPACK_IMPORTED_MODULE_1___default().join(rootPath, "tour"), "tour.js", "{}"),
|
|
288910
288254
|
hooksContent: await readHooksFile(formSourcesPath),
|
|
288911
288255
|
customControlsContent: await readCustomControlsFiles(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "controls")),
|
|
@@ -288949,7 +288293,7 @@ function evalModule(moduleCode) {
|
|
|
288949
288293
|
|
|
288950
288294
|
async function isDirectoryExists(directoryPath) {
|
|
288951
288295
|
try {
|
|
288952
|
-
const dirStat = await (
|
|
288296
|
+
const dirStat = await statAsync(directoryPath);
|
|
288953
288297
|
return dirStat.isDirectory();
|
|
288954
288298
|
} catch (ignoreError) {
|
|
288955
288299
|
return false;
|
|
@@ -288960,27 +288304,27 @@ async function readFiles(filePaths) {
|
|
|
288960
288304
|
const result = [];
|
|
288961
288305
|
|
|
288962
288306
|
for (const filePath of filePaths) {
|
|
288963
|
-
result.push(await (
|
|
288307
|
+
result.push(await readFileAsync(filePath, "utf-8"));
|
|
288964
288308
|
}
|
|
288965
288309
|
|
|
288966
288310
|
return result;
|
|
288967
288311
|
}
|
|
288968
288312
|
|
|
288969
288313
|
async function extractReferences(formSugarDirectoryPath) {
|
|
288970
|
-
const indexContent = await (
|
|
288971
|
-
return (0,
|
|
288314
|
+
const indexContent = await readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSugarDirectoryPath, "index.sugar.xml"), "utf-8");
|
|
288315
|
+
return (0,_common_ExtractSugarReferences__WEBPACK_IMPORTED_MODULE_8__.extractSugarReferences)(indexContent, filePath => readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSugarDirectoryPath, filePath), "utf-8"));
|
|
288972
288316
|
}
|
|
288973
288317
|
|
|
288974
288318
|
async function getAllFilePathsInDirectory(directoryPath, _filelist) {
|
|
288975
|
-
if (!(await (0,
|
|
288319
|
+
if (!(await (0,fs_extra__WEBPACK_IMPORTED_MODULE_4__.pathExists)(directoryPath))) {
|
|
288976
288320
|
return [];
|
|
288977
288321
|
}
|
|
288978
288322
|
|
|
288979
|
-
const files = await (
|
|
288323
|
+
const files = await readdirAsync(directoryPath);
|
|
288980
288324
|
let filelist = _filelist || [];
|
|
288981
288325
|
|
|
288982
288326
|
for (const file of files) {
|
|
288983
|
-
if ((await (
|
|
288327
|
+
if ((await statAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(directoryPath, file))).isDirectory()) {
|
|
288984
288328
|
filelist = await getAllFilePathsInDirectory(path__WEBPACK_IMPORTED_MODULE_1___default().join(directoryPath, file), filelist);
|
|
288985
288329
|
} else {
|
|
288986
288330
|
filelist.push(path__WEBPACK_IMPORTED_MODULE_1___default().join(directoryPath, file));
|
|
@@ -288991,7 +288335,7 @@ async function getAllFilePathsInDirectory(directoryPath, _filelist) {
|
|
|
288991
288335
|
}
|
|
288992
288336
|
|
|
288993
288337
|
async function checkFileExists(filePath) {
|
|
288994
|
-
if (!(await (0,
|
|
288338
|
+
if (!(await (0,fs_extra__WEBPACK_IMPORTED_MODULE_4__.pathExists)(filePath))) {
|
|
288995
288339
|
return [];
|
|
288996
288340
|
}
|
|
288997
288341
|
|
|
@@ -289004,7 +288348,7 @@ async function getAllDependencies(formSourcesPath, farmDirectory) {
|
|
|
289004
288348
|
|
|
289005
288349
|
if (sugarReferences.fetchFunctionFiles.length === 0) {
|
|
289006
288350
|
const legacyfetchfunctionsDirectory = path__WEBPACK_IMPORTED_MODULE_1___default().join(farmDirectory, "legacyfetchfunctions");
|
|
289007
|
-
sugarReferences.fetchFunctionFiles = (await (
|
|
288351
|
+
sugarReferences.fetchFunctionFiles = (await readdirAsync(legacyfetchfunctionsDirectory)).map(x => path__WEBPACK_IMPORTED_MODULE_1___default().resolve(legacyfetchfunctionsDirectory, x));
|
|
289008
288352
|
}
|
|
289009
288353
|
|
|
289010
288354
|
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")))];
|
|
@@ -289018,22 +288362,22 @@ async function getAllDependenciesHash(formSourcesPath, farmDirectory) {
|
|
|
289018
288362
|
const allDeps = await getAllDependencies(formSourcesPath, farmDirectory);
|
|
289019
288363
|
const hashes = await Promise.all(allDeps.map(async depFilePath => {
|
|
289020
288364
|
if ([".js", ".xml", ".xslt", ".json"].some(ext => depFilePath.endsWith(ext))) {
|
|
289021
|
-
let content = await (
|
|
288365
|
+
let content = await readFileAsync(depFilePath, "utf-8");
|
|
289022
288366
|
content = normalizeLineEndings(content);
|
|
289023
|
-
return
|
|
288367
|
+
return md5__WEBPACK_IMPORTED_MODULE_5___default()(content);
|
|
289024
288368
|
}
|
|
289025
288369
|
|
|
289026
|
-
return
|
|
288370
|
+
return md5_file__WEBPACK_IMPORTED_MODULE_6___default()(depFilePath);
|
|
289027
288371
|
}));
|
|
289028
|
-
return
|
|
288372
|
+
return md5__WEBPACK_IMPORTED_MODULE_5___default()(hashes.join(""));
|
|
289029
288373
|
}
|
|
289030
288374
|
async function readSugarFiles(formSugarDirectoryPath, references) {
|
|
289031
288375
|
const result = {
|
|
289032
|
-
"./index": await (
|
|
288376
|
+
"./index": await readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSugarDirectoryPath, "index.sugar.xml"), "utf-8")
|
|
289033
288377
|
};
|
|
289034
288378
|
|
|
289035
288379
|
for (const sugarPath of references.sugarFiles) {
|
|
289036
|
-
const sugarModuleContent = await (
|
|
288380
|
+
const sugarModuleContent = await readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSugarDirectoryPath, sugarPath + ".sugar.xml"), "utf-8");
|
|
289037
288381
|
result[sugarPath] = sugarModuleContent;
|
|
289038
288382
|
}
|
|
289039
288383
|
|
|
@@ -289045,11 +288389,11 @@ async function readCustomControlsFiles(formSugarDirectoryPath) {
|
|
|
289045
288389
|
return {};
|
|
289046
288390
|
}
|
|
289047
288391
|
|
|
289048
|
-
const fileNames = await
|
|
288392
|
+
const fileNames = await recursive_readdir__WEBPACK_IMPORTED_MODULE_7___default()(formSugarDirectoryPath);
|
|
289049
288393
|
const result = {};
|
|
289050
288394
|
|
|
289051
288395
|
for (const fileName of fileNames) {
|
|
289052
|
-
const sugarModuleContent = await (
|
|
288396
|
+
const sugarModuleContent = await readFileAsync(fileName, "utf-8");
|
|
289053
288397
|
const relativeFileName = ("controls\\" + fileName.replace(formSugarDirectoryPath + "\\", "")).replace(/\\/g, "/");
|
|
289054
288398
|
result[relativeFileName] = sugarModuleContent;
|
|
289055
288399
|
}
|
|
@@ -289057,19 +288401,23 @@ async function readCustomControlsFiles(formSugarDirectoryPath) {
|
|
|
289057
288401
|
return result;
|
|
289058
288402
|
}
|
|
289059
288403
|
|
|
289060
|
-
async function
|
|
289061
|
-
|
|
289062
|
-
|
|
289063
|
-
|
|
288404
|
+
async function readAutoCalcFiles(formAutoCalcPath) {
|
|
288405
|
+
try {
|
|
288406
|
+
const files = await readdirAsync(formAutoCalcPath);
|
|
288407
|
+
const jsFiles = files.filter(filename => /\.js$/.test(filename));
|
|
288408
|
+
return Promise.all(jsFiles.map(filename => readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formAutoCalcPath, filename), "utf-8")));
|
|
288409
|
+
} catch (ignoreError) {
|
|
288410
|
+
return [];
|
|
288411
|
+
}
|
|
289064
288412
|
}
|
|
289065
288413
|
|
|
289066
288414
|
async function readImportedFiles(rootPath) {
|
|
289067
288415
|
try {
|
|
289068
288416
|
const result = {};
|
|
289069
|
-
const files = await (
|
|
288417
|
+
const files = await readdirAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(rootPath, "validations"));
|
|
289070
288418
|
|
|
289071
288419
|
for (const fileName of files) {
|
|
289072
|
-
result["../validations/" + fileName] = await (
|
|
288420
|
+
result["../validations/" + fileName] = await readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(rootPath, "validations", fileName), "utf-8");
|
|
289073
288421
|
}
|
|
289074
288422
|
|
|
289075
288423
|
return result;
|
|
@@ -289080,11 +288428,11 @@ async function readImportedFiles(rootPath) {
|
|
|
289080
288428
|
|
|
289081
288429
|
async function readJavaScriptFilesWithNames(formJavaScriptFilesPath) {
|
|
289082
288430
|
try {
|
|
289083
|
-
const files = await (
|
|
288431
|
+
const files = await readdirAsync(formJavaScriptFilesPath);
|
|
289084
288432
|
const jsFiles = files.filter(filename => /\.js$/.test(filename));
|
|
289085
288433
|
return Promise.all(jsFiles.map(async filename => ({
|
|
289086
288434
|
filename: path__WEBPACK_IMPORTED_MODULE_1___default().parse(filename).name,
|
|
289087
|
-
content: await (
|
|
288435
|
+
content: await readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formJavaScriptFilesPath, filename), "utf-8")
|
|
289088
288436
|
})));
|
|
289089
288437
|
} catch (ignoreError) {
|
|
289090
288438
|
return [];
|
|
@@ -289095,7 +288443,7 @@ async function connectJSFilesWithNames(formJavaScriptFilesPath) {
|
|
|
289095
288443
|
let jsFiles;
|
|
289096
288444
|
|
|
289097
288445
|
try {
|
|
289098
|
-
const files = await (
|
|
288446
|
+
const files = await readdirAsync(formJavaScriptFilesPath);
|
|
289099
288447
|
jsFiles = files.filter(filename => /\.js$/.test(filename));
|
|
289100
288448
|
const result = [];
|
|
289101
288449
|
|
|
@@ -289103,7 +288451,7 @@ async function connectJSFilesWithNames(formJavaScriptFilesPath) {
|
|
|
289103
288451
|
result.push({
|
|
289104
288452
|
filename: path__WEBPACK_IMPORTED_MODULE_1___default().parse(filename).name,
|
|
289105
288453
|
// tslint:disable-next-line no-unsafe-any
|
|
289106
|
-
content: evalModule(await (
|
|
288454
|
+
content: evalModule(await readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formJavaScriptFilesPath, filename), "utf-8"))
|
|
289107
288455
|
});
|
|
289108
288456
|
}
|
|
289109
288457
|
|
|
@@ -289114,16 +288462,16 @@ async function connectJSFilesWithNames(formJavaScriptFilesPath) {
|
|
|
289114
288462
|
}
|
|
289115
288463
|
|
|
289116
288464
|
function readSchemaRngFile(formSchemasPath, gfv) {
|
|
289117
|
-
return (
|
|
288465
|
+
return readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSchemasPath, `${gfv}.rng.xml`), "utf-8");
|
|
289118
288466
|
}
|
|
289119
288467
|
|
|
289120
288468
|
function readHooksFile(formDirectoryPath) {
|
|
289121
|
-
return (
|
|
288469
|
+
return readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formDirectoryPath, "hooks.js"), "utf-8").catch(() => "");
|
|
289122
288470
|
}
|
|
289123
288471
|
|
|
289124
288472
|
async function readFileSource(filePath, filename, defaultValue) {
|
|
289125
288473
|
try {
|
|
289126
|
-
return await (
|
|
288474
|
+
return await readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(filePath, filename), "utf-8");
|
|
289127
288475
|
} catch (ingoreError) {
|
|
289128
288476
|
return defaultValue;
|
|
289129
288477
|
}
|
|
@@ -289678,18 +289026,18 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
289678
289026
|
|
|
289679
289027
|
|
|
289680
289028
|
class NormalizationRulesGenerator {
|
|
289681
|
-
constructor(sugarRoot, dataDeclarationHelper, formSchemaRng,
|
|
289029
|
+
constructor(sugarRoot, dataDeclarationHelper, formSchemaRng, mathContainer, typesRegistry, useSchemaValidations, controlCustomizationContext) {
|
|
289682
289030
|
this.sugarRoot = void 0;
|
|
289683
289031
|
this.dataDeclarationHelper = void 0;
|
|
289684
289032
|
this.formSchemaRng = void 0;
|
|
289685
|
-
this.
|
|
289033
|
+
this.mathContainer = void 0;
|
|
289686
289034
|
this.typesRegistry = void 0;
|
|
289687
289035
|
this.controlCustomizationContext = void 0;
|
|
289688
289036
|
this.useSchemaValidations = void 0;
|
|
289689
289037
|
this.sugarRoot = sugarRoot;
|
|
289690
289038
|
this.dataDeclarationHelper = dataDeclarationHelper;
|
|
289691
289039
|
this.formSchemaRng = formSchemaRng;
|
|
289692
|
-
this.
|
|
289040
|
+
this.mathContainer = mathContainer;
|
|
289693
289041
|
this.typesRegistry = typesRegistry;
|
|
289694
289042
|
this.useSchemaValidations = useSchemaValidations;
|
|
289695
289043
|
this.controlCustomizationContext = controlCustomizationContext;
|
|
@@ -289719,7 +289067,9 @@ class NormalizationRulesGenerator {
|
|
|
289719
289067
|
}
|
|
289720
289068
|
|
|
289721
289069
|
*buildFormulaFLangRules() {
|
|
289722
|
-
for (const formula of this.formulas) {
|
|
289070
|
+
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 : []) {
|
|
289071
|
+
var _this$mathContainer$f, _this$mathContainer, _this$mathContainer$f2;
|
|
289072
|
+
|
|
289723
289073
|
yield* this.buildFormulaFlashRule(formula);
|
|
289724
289074
|
}
|
|
289725
289075
|
}
|
|
@@ -293185,14 +292535,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
293185
292535
|
/* harmony import */ var _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../DataDeclarationGenerator/DataDeclarationGenerationContext */ "./Generator/src/generators/DataDeclarationGenerator/DataDeclarationGenerationContext.ts");
|
|
293186
292536
|
/* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
|
|
293187
292537
|
/* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
|
|
293188
|
-
/* harmony import */ var
|
|
292538
|
+
/* harmony import */ var _Common_TypingUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../Common/TypingUtils */ "./Common/TypingUtils.ts");
|
|
292539
|
+
/* harmony import */ var _AddPageButtonNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./AddPageButtonNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/AddPageButton/AddPageButtonNode.ts");
|
|
292540
|
+
|
|
293189
292541
|
|
|
293190
292542
|
|
|
293191
292543
|
|
|
293192
292544
|
|
|
293193
292545
|
class AddPageButtonConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.SugarNodeConverterBase {
|
|
293194
292546
|
static getAcceptNodeClass() {
|
|
293195
|
-
return
|
|
292547
|
+
return _AddPageButtonNode__WEBPACK_IMPORTED_MODULE_4__.AddPageButtonNode;
|
|
293196
292548
|
}
|
|
293197
292549
|
|
|
293198
292550
|
*doTraverseChildren() {// no children
|
|
@@ -293207,16 +292559,11 @@ class AddPageButtonConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODUL
|
|
|
293207
292559
|
}
|
|
293208
292560
|
|
|
293209
292561
|
doConvert(context) {
|
|
293210
|
-
|
|
293211
|
-
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("AddPageButton");
|
|
293212
|
-
const page = this.getParentPage();
|
|
293213
|
-
|
|
293214
|
-
if (page != undefined) {
|
|
293215
|
-
markupBuilder.prop(x => x.tid).set(`${page.id}_add_page_button`);
|
|
293216
|
-
} else {
|
|
293217
|
-
throw new Error("Sugar element `addPageButton` should be used inside `page` element");
|
|
293218
|
-
}
|
|
292562
|
+
var _this$getParentPage$i, _this$getParentPage;
|
|
293219
292563
|
|
|
292564
|
+
const node = this.getCurrentNodeAs(_AddPageButtonNode__WEBPACK_IMPORTED_MODULE_4__.AddPageButtonNode);
|
|
292565
|
+
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("AddPageButton");
|
|
292566
|
+
markupBuilder.prop(x => x.unitId).set((_this$getParentPage$i = (_this$getParentPage = this.getParentPage()) === null || _this$getParentPage === void 0 ? void 0 : _this$getParentPage.id) !== null && _this$getParentPage$i !== void 0 ? _this$getParentPage$i : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_3__.reject)("Sugar element `addPageButton` should be used inside `page` element"));
|
|
293220
292567
|
markupBuilder.appendChild(context.convertChildNodes(node.children));
|
|
293221
292568
|
return markupBuilder.buildConverterResult();
|
|
293222
292569
|
}
|
|
@@ -298586,8 +297933,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
298586
297933
|
/* harmony import */ var _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../Serializer/DeprecationReason */ "./Generator/src/generators/markupGenerator/Serializer/DeprecationReason.ts");
|
|
298587
297934
|
/* harmony import */ var _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../Serializer/SugarNodeWithLegacyVisibility */ "./Generator/src/generators/markupGenerator/Serializer/SugarNodeWithLegacyVisibility.ts");
|
|
298588
297935
|
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
298589
|
-
|
|
298590
|
-
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;
|
|
297936
|
+
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;
|
|
298591
297937
|
|
|
298592
297938
|
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 }); }
|
|
298593
297939
|
|
|
@@ -298599,8 +297945,7 @@ function _initializerWarningHelper(descriptor, context) { throw new Error('Decor
|
|
|
298599
297945
|
|
|
298600
297946
|
|
|
298601
297947
|
|
|
298602
|
-
|
|
298603
|
-
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 {
|
|
297948
|
+
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 {
|
|
298604
297949
|
constructor(...args) {
|
|
298605
297950
|
super(...args);
|
|
298606
297951
|
|
|
@@ -298610,31 +297955,29 @@ let SimpleTableColumnNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPO
|
|
|
298610
297955
|
|
|
298611
297956
|
_initializerDefineProperty(this, "disabled", _descriptor3, this);
|
|
298612
297957
|
|
|
298613
|
-
_initializerDefineProperty(this, "
|
|
297958
|
+
_initializerDefineProperty(this, "hintOnAdd", _descriptor4, this);
|
|
298614
297959
|
|
|
298615
|
-
_initializerDefineProperty(this, "
|
|
297960
|
+
_initializerDefineProperty(this, "titles", _descriptor5, this);
|
|
298616
297961
|
|
|
298617
|
-
_initializerDefineProperty(this, "
|
|
297962
|
+
_initializerDefineProperty(this, "colspan", _descriptor6, this);
|
|
298618
297963
|
|
|
298619
|
-
_initializerDefineProperty(this, "
|
|
297964
|
+
_initializerDefineProperty(this, "empty", _descriptor7, this);
|
|
298620
297965
|
|
|
298621
|
-
_initializerDefineProperty(this, "
|
|
297966
|
+
_initializerDefineProperty(this, "rowspan", _descriptor8, this);
|
|
298622
297967
|
|
|
298623
|
-
_initializerDefineProperty(this, "
|
|
297968
|
+
_initializerDefineProperty(this, "horizontalAlign", _descriptor9, this);
|
|
298624
297969
|
|
|
298625
|
-
_initializerDefineProperty(this, "
|
|
297970
|
+
_initializerDefineProperty(this, "requiredempty", _descriptor10, this);
|
|
298626
297971
|
|
|
298627
|
-
_initializerDefineProperty(this, "
|
|
297972
|
+
_initializerDefineProperty(this, "indent", _descriptor11, this);
|
|
298628
297973
|
|
|
298629
|
-
_initializerDefineProperty(this, "
|
|
297974
|
+
_initializerDefineProperty(this, "width", _descriptor12, this);
|
|
298630
297975
|
|
|
298631
|
-
_initializerDefineProperty(this, "
|
|
297976
|
+
_initializerDefineProperty(this, "textTopPadding", _descriptor13, this);
|
|
298632
297977
|
|
|
298633
|
-
_initializerDefineProperty(this, "
|
|
297978
|
+
_initializerDefineProperty(this, "size", _descriptor14, this);
|
|
298634
297979
|
|
|
298635
|
-
_initializerDefineProperty(this, "
|
|
298636
|
-
|
|
298637
|
-
_initializerDefineProperty(this, "children", _descriptor16, this);
|
|
297980
|
+
_initializerDefineProperty(this, "children", _descriptor15, this);
|
|
298638
297981
|
}
|
|
298639
297982
|
|
|
298640
297983
|
getOwnPath() {
|
|
@@ -298662,167 +298005,162 @@ let SimpleTableColumnNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPO
|
|
|
298662
298005
|
enumerable: true,
|
|
298663
298006
|
writable: true,
|
|
298664
298007
|
initializer: null
|
|
298665
|
-
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
298666
|
-
configurable: true,
|
|
298667
|
-
enumerable: true,
|
|
298668
|
-
writable: true,
|
|
298669
|
-
initializer: null
|
|
298670
|
-
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "hintOnAdd", [_dec6], {
|
|
298008
|
+
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "hintOnAdd", [_dec5], {
|
|
298671
298009
|
configurable: true,
|
|
298672
298010
|
enumerable: true,
|
|
298673
298011
|
writable: true,
|
|
298674
298012
|
initializer: null
|
|
298675
|
-
}),
|
|
298013
|
+
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "titles", [_dec6], {
|
|
298676
298014
|
configurable: true,
|
|
298677
298015
|
enumerable: true,
|
|
298678
298016
|
writable: true,
|
|
298679
298017
|
initializer: null
|
|
298680
|
-
}),
|
|
298018
|
+
}), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "colspan", [_dec7], {
|
|
298681
298019
|
configurable: true,
|
|
298682
298020
|
enumerable: true,
|
|
298683
298021
|
writable: true,
|
|
298684
298022
|
initializer: null
|
|
298685
|
-
}),
|
|
298023
|
+
}), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, "empty", [_dec8], {
|
|
298686
298024
|
configurable: true,
|
|
298687
298025
|
enumerable: true,
|
|
298688
298026
|
writable: true,
|
|
298689
298027
|
initializer: null
|
|
298690
|
-
}),
|
|
298028
|
+
}), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "rowspan", [_dec9], {
|
|
298691
298029
|
configurable: true,
|
|
298692
298030
|
enumerable: true,
|
|
298693
298031
|
writable: true,
|
|
298694
298032
|
initializer: null
|
|
298695
|
-
}),
|
|
298033
|
+
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "horizontalAlign", [_dec10], {
|
|
298696
298034
|
configurable: true,
|
|
298697
298035
|
enumerable: true,
|
|
298698
298036
|
writable: true,
|
|
298699
298037
|
initializer: null
|
|
298700
|
-
}),
|
|
298038
|
+
}), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, "requiredempty", [_dec11], {
|
|
298701
298039
|
configurable: true,
|
|
298702
298040
|
enumerable: true,
|
|
298703
298041
|
writable: true,
|
|
298704
298042
|
initializer: null
|
|
298705
|
-
}),
|
|
298043
|
+
}), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, "indent", [_dec12], {
|
|
298706
298044
|
configurable: true,
|
|
298707
298045
|
enumerable: true,
|
|
298708
298046
|
writable: true,
|
|
298709
298047
|
initializer: null
|
|
298710
|
-
}),
|
|
298048
|
+
}), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, "width", [_dec13], {
|
|
298711
298049
|
configurable: true,
|
|
298712
298050
|
enumerable: true,
|
|
298713
298051
|
writable: true,
|
|
298714
298052
|
initializer: null
|
|
298715
|
-
}),
|
|
298053
|
+
}), _descriptor13 = _applyDecoratedDescriptor(_class2.prototype, "textTopPadding", [_dec14], {
|
|
298716
298054
|
configurable: true,
|
|
298717
298055
|
enumerable: true,
|
|
298718
298056
|
writable: true,
|
|
298719
298057
|
initializer: null
|
|
298720
|
-
}),
|
|
298058
|
+
}), _descriptor14 = _applyDecoratedDescriptor(_class2.prototype, "size", [_dec15], {
|
|
298721
298059
|
configurable: true,
|
|
298722
298060
|
enumerable: true,
|
|
298723
298061
|
writable: true,
|
|
298724
298062
|
initializer: null
|
|
298725
|
-
}),
|
|
298063
|
+
}), _descriptor15 = _applyDecoratedDescriptor(_class2.prototype, "children", [_dec16], {
|
|
298726
298064
|
configurable: true,
|
|
298727
298065
|
enumerable: true,
|
|
298728
298066
|
writable: true,
|
|
298729
298067
|
initializer: null
|
|
298730
298068
|
})), _class2)) || _class);
|
|
298731
|
-
let SimpleTableRowNode = (
|
|
298069
|
+
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 {
|
|
298732
298070
|
constructor(...args) {
|
|
298733
298071
|
super(...args);
|
|
298734
298072
|
|
|
298735
|
-
_initializerDefineProperty(this, "dataScope",
|
|
298073
|
+
_initializerDefineProperty(this, "dataScope", _descriptor16, this);
|
|
298736
298074
|
|
|
298737
|
-
_initializerDefineProperty(this, "optional",
|
|
298075
|
+
_initializerDefineProperty(this, "optional", _descriptor17, this);
|
|
298738
298076
|
|
|
298739
|
-
_initializerDefineProperty(this, "borderBottom",
|
|
298077
|
+
_initializerDefineProperty(this, "borderBottom", _descriptor18, this);
|
|
298740
298078
|
|
|
298741
|
-
_initializerDefineProperty(this, "kind",
|
|
298079
|
+
_initializerDefineProperty(this, "kind", _descriptor19, this);
|
|
298742
298080
|
|
|
298743
|
-
_initializerDefineProperty(this, "subkind",
|
|
298081
|
+
_initializerDefineProperty(this, "subkind", _descriptor20, this);
|
|
298744
298082
|
|
|
298745
|
-
_initializerDefineProperty(this, "columns",
|
|
298083
|
+
_initializerDefineProperty(this, "columns", _descriptor21, this);
|
|
298746
298084
|
}
|
|
298747
298085
|
|
|
298748
298086
|
getOwnPath() {
|
|
298749
298087
|
return this.dataScope.getOwnPath();
|
|
298750
298088
|
}
|
|
298751
298089
|
|
|
298752
|
-
}, (
|
|
298090
|
+
}, (_descriptor16 = _applyDecoratedDescriptor(_class5.prototype, "dataScope", [_dec18], {
|
|
298753
298091
|
configurable: true,
|
|
298754
298092
|
enumerable: true,
|
|
298755
298093
|
writable: true,
|
|
298756
298094
|
initializer: null
|
|
298757
|
-
}),
|
|
298095
|
+
}), _descriptor17 = _applyDecoratedDescriptor(_class5.prototype, "optional", [_dec19], {
|
|
298758
298096
|
configurable: true,
|
|
298759
298097
|
enumerable: true,
|
|
298760
298098
|
writable: true,
|
|
298761
298099
|
initializer: null
|
|
298762
|
-
}),
|
|
298100
|
+
}), _descriptor18 = _applyDecoratedDescriptor(_class5.prototype, "borderBottom", [_dec20], {
|
|
298763
298101
|
configurable: true,
|
|
298764
298102
|
enumerable: true,
|
|
298765
298103
|
writable: true,
|
|
298766
298104
|
initializer: null
|
|
298767
|
-
}),
|
|
298105
|
+
}), _descriptor19 = _applyDecoratedDescriptor(_class5.prototype, "kind", [_dec21], {
|
|
298768
298106
|
configurable: true,
|
|
298769
298107
|
enumerable: true,
|
|
298770
298108
|
writable: true,
|
|
298771
298109
|
initializer: null
|
|
298772
|
-
}),
|
|
298110
|
+
}), _descriptor20 = _applyDecoratedDescriptor(_class5.prototype, "subkind", [_dec22], {
|
|
298773
298111
|
configurable: true,
|
|
298774
298112
|
enumerable: true,
|
|
298775
298113
|
writable: true,
|
|
298776
298114
|
initializer: null
|
|
298777
|
-
}),
|
|
298115
|
+
}), _descriptor21 = _applyDecoratedDescriptor(_class5.prototype, "columns", [_dec23], {
|
|
298778
298116
|
configurable: true,
|
|
298779
298117
|
enumerable: true,
|
|
298780
298118
|
writable: true,
|
|
298781
298119
|
initializer: null
|
|
298782
298120
|
})), _class5)) || _class4);
|
|
298783
|
-
let SimpleTableColgroupColumnNode = (
|
|
298121
|
+
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 {
|
|
298784
298122
|
constructor(...args) {
|
|
298785
298123
|
super(...args);
|
|
298786
298124
|
|
|
298787
|
-
_initializerDefineProperty(this, "width",
|
|
298125
|
+
_initializerDefineProperty(this, "width", _descriptor22, this);
|
|
298788
298126
|
}
|
|
298789
298127
|
|
|
298790
|
-
}, (
|
|
298128
|
+
}, (_descriptor22 = _applyDecoratedDescriptor(_class8.prototype, "width", [_dec25], {
|
|
298791
298129
|
configurable: true,
|
|
298792
298130
|
enumerable: true,
|
|
298793
298131
|
writable: true,
|
|
298794
298132
|
initializer: null
|
|
298795
298133
|
})), _class8)) || _class7);
|
|
298796
|
-
let SimpleTableColgroupNode = (
|
|
298134
|
+
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 {
|
|
298797
298135
|
constructor(...args) {
|
|
298798
298136
|
super(...args);
|
|
298799
298137
|
|
|
298800
|
-
_initializerDefineProperty(this, "cols",
|
|
298138
|
+
_initializerDefineProperty(this, "cols", _descriptor23, this);
|
|
298801
298139
|
}
|
|
298802
298140
|
|
|
298803
|
-
}, (
|
|
298141
|
+
}, (_descriptor23 = _applyDecoratedDescriptor(_class11.prototype, "cols", [_dec27], {
|
|
298804
298142
|
configurable: true,
|
|
298805
298143
|
enumerable: true,
|
|
298806
298144
|
writable: true,
|
|
298807
298145
|
initializer: null
|
|
298808
298146
|
})), _class11)) || _class10);
|
|
298809
|
-
let SimpleTableNode = (
|
|
298147
|
+
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 {
|
|
298810
298148
|
constructor(...args) {
|
|
298811
298149
|
super(...args);
|
|
298812
298150
|
|
|
298813
|
-
_initializerDefineProperty(this, "stickyHeader",
|
|
298151
|
+
_initializerDefineProperty(this, "stickyHeader", _descriptor24, this);
|
|
298814
298152
|
|
|
298815
|
-
_initializerDefineProperty(this, "dataScope",
|
|
298153
|
+
_initializerDefineProperty(this, "dataScope", _descriptor25, this);
|
|
298816
298154
|
|
|
298817
|
-
_initializerDefineProperty(this, "optional",
|
|
298155
|
+
_initializerDefineProperty(this, "optional", _descriptor26, this);
|
|
298818
298156
|
|
|
298819
|
-
_initializerDefineProperty(this, "grayColumn",
|
|
298157
|
+
_initializerDefineProperty(this, "grayColumn", _descriptor27, this);
|
|
298820
298158
|
|
|
298821
|
-
_initializerDefineProperty(this, "align",
|
|
298159
|
+
_initializerDefineProperty(this, "align", _descriptor28, this);
|
|
298822
298160
|
|
|
298823
|
-
_initializerDefineProperty(this, "colgroup",
|
|
298161
|
+
_initializerDefineProperty(this, "colgroup", _descriptor29, this);
|
|
298824
298162
|
|
|
298825
|
-
_initializerDefineProperty(this, "rows",
|
|
298163
|
+
_initializerDefineProperty(this, "rows", _descriptor30, this);
|
|
298826
298164
|
}
|
|
298827
298165
|
|
|
298828
298166
|
getOwnPath() {
|
|
@@ -298837,37 +298175,37 @@ let SimpleTableNode = (_dec29 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED
|
|
|
298837
298175
|
return this.rows.filter(row => row.kind == undefined || row.kind === "hr");
|
|
298838
298176
|
}
|
|
298839
298177
|
|
|
298840
|
-
}, (
|
|
298178
|
+
}, (_descriptor24 = _applyDecoratedDescriptor(_class14.prototype, "stickyHeader", [_dec29], {
|
|
298841
298179
|
configurable: true,
|
|
298842
298180
|
enumerable: true,
|
|
298843
298181
|
writable: true,
|
|
298844
298182
|
initializer: null
|
|
298845
|
-
}),
|
|
298183
|
+
}), _descriptor25 = _applyDecoratedDescriptor(_class14.prototype, "dataScope", [_dec30], {
|
|
298846
298184
|
configurable: true,
|
|
298847
298185
|
enumerable: true,
|
|
298848
298186
|
writable: true,
|
|
298849
298187
|
initializer: null
|
|
298850
|
-
}),
|
|
298188
|
+
}), _descriptor26 = _applyDecoratedDescriptor(_class14.prototype, "optional", [_dec31], {
|
|
298851
298189
|
configurable: true,
|
|
298852
298190
|
enumerable: true,
|
|
298853
298191
|
writable: true,
|
|
298854
298192
|
initializer: null
|
|
298855
|
-
}),
|
|
298193
|
+
}), _descriptor27 = _applyDecoratedDescriptor(_class14.prototype, "grayColumn", [_dec32], {
|
|
298856
298194
|
configurable: true,
|
|
298857
298195
|
enumerable: true,
|
|
298858
298196
|
writable: true,
|
|
298859
298197
|
initializer: null
|
|
298860
|
-
}),
|
|
298198
|
+
}), _descriptor28 = _applyDecoratedDescriptor(_class14.prototype, "align", [_dec33], {
|
|
298861
298199
|
configurable: true,
|
|
298862
298200
|
enumerable: true,
|
|
298863
298201
|
writable: true,
|
|
298864
298202
|
initializer: null
|
|
298865
|
-
}),
|
|
298203
|
+
}), _descriptor29 = _applyDecoratedDescriptor(_class14.prototype, "colgroup", [_dec34], {
|
|
298866
298204
|
configurable: true,
|
|
298867
298205
|
enumerable: true,
|
|
298868
298206
|
writable: true,
|
|
298869
298207
|
initializer: null
|
|
298870
|
-
}),
|
|
298208
|
+
}), _descriptor30 = _applyDecoratedDescriptor(_class14.prototype, "rows", [_dec35], {
|
|
298871
298209
|
configurable: true,
|
|
298872
298210
|
enumerable: true,
|
|
298873
298211
|
writable: true,
|
|
@@ -300178,8 +299516,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
300178
299516
|
/* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
|
|
300179
299517
|
/* harmony import */ var _Multilinefield_GetPluralTitles__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Multilinefield/GetPluralTitles */ "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/Multilinefield/GetPluralTitles.ts");
|
|
300180
299518
|
/* harmony import */ var _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../common/XmlParser/XmlNode */ "./Generator/src/common/XmlParser/XmlNode.ts");
|
|
300181
|
-
/* harmony import */ var _SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../SugarNodes/SugarNodeUtils */ "./Generator/src/generators/markupGenerator/SugarNodes/SugarNodeUtils.ts");
|
|
300182
|
-
|
|
300183
299519
|
|
|
300184
299520
|
|
|
300185
299521
|
|
|
@@ -300206,15 +299542,6 @@ class ColumnConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.S
|
|
|
300206
299542
|
multiLineFieldMarkupBuilder.prop(x => x.backgroundColor).set("#f3f3f3");
|
|
300207
299543
|
multiLineFieldMarkupBuilder.prop(x => x.hintOnAdd).set(node.hintOnAdd);
|
|
300208
299544
|
multiLineFieldMarkupBuilder.prop(x => x.disableButtons).set(node.disabled);
|
|
300209
|
-
|
|
300210
|
-
if (node.disabled2 != undefined) {
|
|
300211
|
-
multiLineFieldMarkupBuilder.prop(x => x.disableButtons2).set((0,_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_5__.buildExpressionPropValue)(node.disabled2));
|
|
300212
|
-
|
|
300213
|
-
if (this.getLegacyNode().getParent() != undefined) {
|
|
300214
|
-
multiLineFieldMarkupBuilder.prop(x => x.evaluatorsContextPath).set(this.getEvaluatorsContextPathExpression());
|
|
300215
|
-
}
|
|
300216
|
-
}
|
|
300217
|
-
|
|
300218
299545
|
return multiLineFieldMarkupBuilder.buildConverterResult();
|
|
300219
299546
|
} else {
|
|
300220
299547
|
if (node.disabled != undefined) {
|
|
@@ -300911,7 +300238,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
300911
300238
|
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
300912
300239
|
/* harmony import */ var _Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../Commons/DocumentationLinks */ "./Generator/src/generators/markupGenerator/ElementProcessors/Commons/DocumentationLinks.ts");
|
|
300913
300240
|
/* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
|
|
300914
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20,
|
|
300241
|
+
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;
|
|
300915
300242
|
|
|
300916
300243
|
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 }); }
|
|
300917
300244
|
|
|
@@ -300925,7 +300252,7 @@ function _initializerWarningHelper(descriptor, context) { throw new Error('Decor
|
|
|
300925
300252
|
|
|
300926
300253
|
|
|
300927
300254
|
|
|
300928
|
-
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__.
|
|
300255
|
+
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 {
|
|
300929
300256
|
constructor(...args) {
|
|
300930
300257
|
super(...args);
|
|
300931
300258
|
|
|
@@ -300935,39 +300262,37 @@ let CrossfitTableColumnNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IM
|
|
|
300935
300262
|
|
|
300936
300263
|
_initializerDefineProperty(this, "disabled", _descriptor3, this);
|
|
300937
300264
|
|
|
300938
|
-
_initializerDefineProperty(this, "
|
|
300265
|
+
_initializerDefineProperty(this, "className", _descriptor4, this);
|
|
300939
300266
|
|
|
300940
|
-
_initializerDefineProperty(this, "
|
|
300267
|
+
_initializerDefineProperty(this, "widths", _descriptor5, this);
|
|
300941
300268
|
|
|
300942
|
-
_initializerDefineProperty(this, "
|
|
300269
|
+
_initializerDefineProperty(this, "titles", _descriptor6, this);
|
|
300943
300270
|
|
|
300944
|
-
_initializerDefineProperty(this, "
|
|
300271
|
+
_initializerDefineProperty(this, "hintOnAdd", _descriptor7, this);
|
|
300945
300272
|
|
|
300946
|
-
_initializerDefineProperty(this, "
|
|
300273
|
+
_initializerDefineProperty(this, "groupText", _descriptor8, this);
|
|
300947
300274
|
|
|
300948
|
-
_initializerDefineProperty(this, "
|
|
300275
|
+
_initializerDefineProperty(this, "key", _descriptor9, this);
|
|
300949
300276
|
|
|
300950
|
-
_initializerDefineProperty(this, "
|
|
300277
|
+
_initializerDefineProperty(this, "colspan", _descriptor10, this);
|
|
300951
300278
|
|
|
300952
|
-
_initializerDefineProperty(this, "
|
|
300279
|
+
_initializerDefineProperty(this, "hiddenGroup", _descriptor11, this);
|
|
300953
300280
|
|
|
300954
|
-
_initializerDefineProperty(this, "
|
|
300281
|
+
_initializerDefineProperty(this, "empty", _descriptor12, this);
|
|
300955
300282
|
|
|
300956
|
-
_initializerDefineProperty(this, "
|
|
300957
|
-
|
|
300958
|
-
_initializerDefineProperty(this, "width", _descriptor14, this);
|
|
300283
|
+
_initializerDefineProperty(this, "width", _descriptor13, this);
|
|
300959
300284
|
|
|
300960
|
-
_initializerDefineProperty(this, "rowspan",
|
|
300285
|
+
_initializerDefineProperty(this, "rowspan", _descriptor14, this);
|
|
300961
300286
|
|
|
300962
|
-
_initializerDefineProperty(this, "horizontalAlign",
|
|
300287
|
+
_initializerDefineProperty(this, "horizontalAlign", _descriptor15, this);
|
|
300963
300288
|
|
|
300964
|
-
_initializerDefineProperty(this, "requiredempty",
|
|
300289
|
+
_initializerDefineProperty(this, "requiredempty", _descriptor16, this);
|
|
300965
300290
|
|
|
300966
|
-
_initializerDefineProperty(this, "indent",
|
|
300291
|
+
_initializerDefineProperty(this, "indent", _descriptor17, this);
|
|
300967
300292
|
|
|
300968
|
-
_initializerDefineProperty(this, "grouped",
|
|
300293
|
+
_initializerDefineProperty(this, "grouped", _descriptor18, this);
|
|
300969
300294
|
|
|
300970
|
-
_initializerDefineProperty(this, "children",
|
|
300295
|
+
_initializerDefineProperty(this, "children", _descriptor19, this);
|
|
300971
300296
|
}
|
|
300972
300297
|
|
|
300973
300298
|
getOwnPath() {
|
|
@@ -300995,148 +300320,143 @@ let CrossfitTableColumnNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IM
|
|
|
300995
300320
|
enumerable: true,
|
|
300996
300321
|
writable: true,
|
|
300997
300322
|
initializer: null
|
|
300998
|
-
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
300999
|
-
configurable: true,
|
|
301000
|
-
enumerable: true,
|
|
301001
|
-
writable: true,
|
|
301002
|
-
initializer: null
|
|
301003
|
-
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "className", [_dec6], {
|
|
300323
|
+
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "className", [_dec5], {
|
|
301004
300324
|
configurable: true,
|
|
301005
300325
|
enumerable: true,
|
|
301006
300326
|
writable: true,
|
|
301007
300327
|
initializer: null
|
|
301008
|
-
}),
|
|
300328
|
+
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "widths", [_dec6], {
|
|
301009
300329
|
configurable: true,
|
|
301010
300330
|
enumerable: true,
|
|
301011
300331
|
writable: true,
|
|
301012
300332
|
initializer: null
|
|
301013
|
-
}),
|
|
300333
|
+
}), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "titles", [_dec7], {
|
|
301014
300334
|
configurable: true,
|
|
301015
300335
|
enumerable: true,
|
|
301016
300336
|
writable: true,
|
|
301017
300337
|
initializer: null
|
|
301018
|
-
}),
|
|
300338
|
+
}), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, "hintOnAdd", [_dec8], {
|
|
301019
300339
|
configurable: true,
|
|
301020
300340
|
enumerable: true,
|
|
301021
300341
|
writable: true,
|
|
301022
300342
|
initializer: null
|
|
301023
|
-
}),
|
|
300343
|
+
}), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "groupText", [_dec9], {
|
|
301024
300344
|
configurable: true,
|
|
301025
300345
|
enumerable: true,
|
|
301026
300346
|
writable: true,
|
|
301027
300347
|
initializer: null
|
|
301028
|
-
}),
|
|
300348
|
+
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "key", [_dec10], {
|
|
301029
300349
|
configurable: true,
|
|
301030
300350
|
enumerable: true,
|
|
301031
300351
|
writable: true,
|
|
301032
300352
|
initializer: null
|
|
301033
|
-
}),
|
|
300353
|
+
}), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, "colspan", [_dec11], {
|
|
301034
300354
|
configurable: true,
|
|
301035
300355
|
enumerable: true,
|
|
301036
300356
|
writable: true,
|
|
301037
300357
|
initializer: null
|
|
301038
|
-
}),
|
|
300358
|
+
}), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, "hiddenGroup", [_dec12], {
|
|
301039
300359
|
configurable: true,
|
|
301040
300360
|
enumerable: true,
|
|
301041
300361
|
writable: true,
|
|
301042
300362
|
initializer: null
|
|
301043
|
-
}),
|
|
300363
|
+
}), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, "empty", [_dec13], {
|
|
301044
300364
|
configurable: true,
|
|
301045
300365
|
enumerable: true,
|
|
301046
300366
|
writable: true,
|
|
301047
300367
|
initializer: null
|
|
301048
|
-
}),
|
|
300368
|
+
}), _descriptor13 = _applyDecoratedDescriptor(_class2.prototype, "width", [_dec14], {
|
|
301049
300369
|
configurable: true,
|
|
301050
300370
|
enumerable: true,
|
|
301051
300371
|
writable: true,
|
|
301052
300372
|
initializer: null
|
|
301053
|
-
}),
|
|
300373
|
+
}), _descriptor14 = _applyDecoratedDescriptor(_class2.prototype, "rowspan", [_dec15], {
|
|
301054
300374
|
configurable: true,
|
|
301055
300375
|
enumerable: true,
|
|
301056
300376
|
writable: true,
|
|
301057
300377
|
initializer: null
|
|
301058
|
-
}),
|
|
300378
|
+
}), _descriptor15 = _applyDecoratedDescriptor(_class2.prototype, "horizontalAlign", [_dec16], {
|
|
301059
300379
|
configurable: true,
|
|
301060
300380
|
enumerable: true,
|
|
301061
300381
|
writable: true,
|
|
301062
300382
|
initializer: null
|
|
301063
|
-
}),
|
|
300383
|
+
}), _descriptor16 = _applyDecoratedDescriptor(_class2.prototype, "requiredempty", [_dec17], {
|
|
301064
300384
|
configurable: true,
|
|
301065
300385
|
enumerable: true,
|
|
301066
300386
|
writable: true,
|
|
301067
300387
|
initializer: null
|
|
301068
|
-
}),
|
|
300388
|
+
}), _descriptor17 = _applyDecoratedDescriptor(_class2.prototype, "indent", [_dec18], {
|
|
301069
300389
|
configurable: true,
|
|
301070
300390
|
enumerable: true,
|
|
301071
300391
|
writable: true,
|
|
301072
300392
|
initializer: null
|
|
301073
|
-
}),
|
|
300393
|
+
}), _descriptor18 = _applyDecoratedDescriptor(_class2.prototype, "grouped", [_dec19], {
|
|
301074
300394
|
configurable: true,
|
|
301075
300395
|
enumerable: true,
|
|
301076
300396
|
writable: true,
|
|
301077
300397
|
initializer: null
|
|
301078
|
-
}),
|
|
300398
|
+
}), _descriptor19 = _applyDecoratedDescriptor(_class2.prototype, "children", [_dec20], {
|
|
301079
300399
|
configurable: true,
|
|
301080
300400
|
enumerable: true,
|
|
301081
300401
|
writable: true,
|
|
301082
300402
|
initializer: null
|
|
301083
300403
|
})), _class2)) || _class);
|
|
301084
|
-
let CrossfitTableRowNode = (
|
|
300404
|
+
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 {
|
|
301085
300405
|
constructor(...args) {
|
|
301086
300406
|
super(...args);
|
|
301087
300407
|
|
|
301088
|
-
_initializerDefineProperty(this, "kind",
|
|
300408
|
+
_initializerDefineProperty(this, "kind", _descriptor20, this);
|
|
301089
300409
|
|
|
301090
|
-
_initializerDefineProperty(this, "subkind",
|
|
300410
|
+
_initializerDefineProperty(this, "subkind", _descriptor21, this);
|
|
301091
300411
|
|
|
301092
|
-
_initializerDefineProperty(this, "columns",
|
|
300412
|
+
_initializerDefineProperty(this, "columns", _descriptor22, this);
|
|
301093
300413
|
}
|
|
301094
300414
|
|
|
301095
|
-
}, (
|
|
300415
|
+
}, (_descriptor20 = _applyDecoratedDescriptor(_class5.prototype, "kind", [_dec22], {
|
|
301096
300416
|
configurable: true,
|
|
301097
300417
|
enumerable: true,
|
|
301098
300418
|
writable: true,
|
|
301099
300419
|
initializer: null
|
|
301100
|
-
}),
|
|
300420
|
+
}), _descriptor21 = _applyDecoratedDescriptor(_class5.prototype, "subkind", [_dec23], {
|
|
301101
300421
|
configurable: true,
|
|
301102
300422
|
enumerable: true,
|
|
301103
300423
|
writable: true,
|
|
301104
300424
|
initializer: null
|
|
301105
|
-
}),
|
|
300425
|
+
}), _descriptor22 = _applyDecoratedDescriptor(_class5.prototype, "columns", [_dec24], {
|
|
301106
300426
|
configurable: true,
|
|
301107
300427
|
enumerable: true,
|
|
301108
300428
|
writable: true,
|
|
301109
300429
|
initializer: null
|
|
301110
300430
|
})), _class5)) || _class4);
|
|
301111
|
-
let MultilineNode = (
|
|
300431
|
+
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 {
|
|
301112
300432
|
constructor(...args) {
|
|
301113
300433
|
super(...args);
|
|
301114
300434
|
|
|
301115
|
-
_initializerDefineProperty(this, "dataScope",
|
|
300435
|
+
_initializerDefineProperty(this, "dataScope", _descriptor23, this);
|
|
301116
300436
|
|
|
301117
|
-
_initializerDefineProperty(this, "optional",
|
|
300437
|
+
_initializerDefineProperty(this, "optional", _descriptor24, this);
|
|
301118
300438
|
|
|
301119
|
-
_initializerDefineProperty(this, "defaultChildren",
|
|
300439
|
+
_initializerDefineProperty(this, "defaultChildren", _descriptor25, this);
|
|
301120
300440
|
|
|
301121
|
-
_initializerDefineProperty(this, "focusByHotkey",
|
|
300441
|
+
_initializerDefineProperty(this, "focusByHotkey", _descriptor26, this);
|
|
301122
300442
|
|
|
301123
|
-
_initializerDefineProperty(this, "instancesPerPage",
|
|
300443
|
+
_initializerDefineProperty(this, "instancesPerPage", _descriptor27, this);
|
|
301124
300444
|
|
|
301125
|
-
_initializerDefineProperty(this, "pageStep",
|
|
300445
|
+
_initializerDefineProperty(this, "pageStep", _descriptor28, this);
|
|
301126
300446
|
|
|
301127
|
-
_initializerDefineProperty(this, "removebutton",
|
|
300447
|
+
_initializerDefineProperty(this, "removebutton", _descriptor29, this);
|
|
301128
300448
|
|
|
301129
|
-
_initializerDefineProperty(this, "rowmenu",
|
|
300449
|
+
_initializerDefineProperty(this, "rowmenu", _descriptor30, this);
|
|
301130
300450
|
|
|
301131
|
-
_initializerDefineProperty(this, "rows",
|
|
300451
|
+
_initializerDefineProperty(this, "rows", _descriptor31, this);
|
|
301132
300452
|
|
|
301133
|
-
_initializerDefineProperty(this, "addbutton",
|
|
300453
|
+
_initializerDefineProperty(this, "addbutton", _descriptor32, this);
|
|
301134
300454
|
|
|
301135
|
-
_initializerDefineProperty(this, "addType",
|
|
300455
|
+
_initializerDefineProperty(this, "addType", _descriptor33, this);
|
|
301136
300456
|
|
|
301137
|
-
_initializerDefineProperty(this, "usepager",
|
|
300457
|
+
_initializerDefineProperty(this, "usepager", _descriptor34, this);
|
|
301138
300458
|
|
|
301139
|
-
_initializerDefineProperty(this, "storeFilters",
|
|
300459
|
+
_initializerDefineProperty(this, "storeFilters", _descriptor35, this);
|
|
301140
300460
|
}
|
|
301141
300461
|
|
|
301142
300462
|
getOwnPath() {
|
|
@@ -301147,219 +300467,219 @@ let MultilineNode = (_dec26 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_M
|
|
|
301147
300467
|
return true;
|
|
301148
300468
|
}
|
|
301149
300469
|
|
|
301150
|
-
}, (
|
|
300470
|
+
}, (_descriptor23 = _applyDecoratedDescriptor(_class8.prototype, "dataScope", [_dec26], {
|
|
301151
300471
|
configurable: true,
|
|
301152
300472
|
enumerable: true,
|
|
301153
300473
|
writable: true,
|
|
301154
300474
|
initializer: null
|
|
301155
|
-
}),
|
|
300475
|
+
}), _descriptor24 = _applyDecoratedDescriptor(_class8.prototype, "optional", [_dec27], {
|
|
301156
300476
|
configurable: true,
|
|
301157
300477
|
enumerable: true,
|
|
301158
300478
|
writable: true,
|
|
301159
300479
|
initializer: null
|
|
301160
|
-
}),
|
|
300480
|
+
}), _descriptor25 = _applyDecoratedDescriptor(_class8.prototype, "defaultChildren", [_dec28], {
|
|
301161
300481
|
configurable: true,
|
|
301162
300482
|
enumerable: true,
|
|
301163
300483
|
writable: true,
|
|
301164
300484
|
initializer: null
|
|
301165
|
-
}),
|
|
300485
|
+
}), _descriptor26 = _applyDecoratedDescriptor(_class8.prototype, "focusByHotkey", [_dec29], {
|
|
301166
300486
|
configurable: true,
|
|
301167
300487
|
enumerable: true,
|
|
301168
300488
|
writable: true,
|
|
301169
300489
|
initializer: null
|
|
301170
|
-
}),
|
|
300490
|
+
}), _descriptor27 = _applyDecoratedDescriptor(_class8.prototype, "instancesPerPage", [_dec30], {
|
|
301171
300491
|
configurable: true,
|
|
301172
300492
|
enumerable: true,
|
|
301173
300493
|
writable: true,
|
|
301174
300494
|
initializer: null
|
|
301175
|
-
}),
|
|
300495
|
+
}), _descriptor28 = _applyDecoratedDescriptor(_class8.prototype, "pageStep", [_dec31], {
|
|
301176
300496
|
configurable: true,
|
|
301177
300497
|
enumerable: true,
|
|
301178
300498
|
writable: true,
|
|
301179
300499
|
initializer: null
|
|
301180
|
-
}),
|
|
300500
|
+
}), _descriptor29 = _applyDecoratedDescriptor(_class8.prototype, "removebutton", [_dec32], {
|
|
301181
300501
|
configurable: true,
|
|
301182
300502
|
enumerable: true,
|
|
301183
300503
|
writable: true,
|
|
301184
300504
|
initializer: null
|
|
301185
|
-
}),
|
|
300505
|
+
}), _descriptor30 = _applyDecoratedDescriptor(_class8.prototype, "rowmenu", [_dec33], {
|
|
301186
300506
|
configurable: true,
|
|
301187
300507
|
enumerable: true,
|
|
301188
300508
|
writable: true,
|
|
301189
300509
|
initializer: null
|
|
301190
|
-
}),
|
|
300510
|
+
}), _descriptor31 = _applyDecoratedDescriptor(_class8.prototype, "rows", [_dec34], {
|
|
301191
300511
|
configurable: true,
|
|
301192
300512
|
enumerable: true,
|
|
301193
300513
|
writable: true,
|
|
301194
300514
|
initializer: null
|
|
301195
|
-
}),
|
|
300515
|
+
}), _descriptor32 = _applyDecoratedDescriptor(_class8.prototype, "addbutton", [_dec35], {
|
|
301196
300516
|
configurable: true,
|
|
301197
300517
|
enumerable: true,
|
|
301198
300518
|
writable: true,
|
|
301199
300519
|
initializer: null
|
|
301200
|
-
}),
|
|
300520
|
+
}), _descriptor33 = _applyDecoratedDescriptor(_class8.prototype, "addType", [_dec36], {
|
|
301201
300521
|
configurable: true,
|
|
301202
300522
|
enumerable: true,
|
|
301203
300523
|
writable: true,
|
|
301204
300524
|
initializer: null
|
|
301205
|
-
}),
|
|
300525
|
+
}), _descriptor34 = _applyDecoratedDescriptor(_class8.prototype, "usepager", [_dec37], {
|
|
301206
300526
|
configurable: true,
|
|
301207
300527
|
enumerable: true,
|
|
301208
300528
|
writable: true,
|
|
301209
300529
|
initializer: null
|
|
301210
|
-
}),
|
|
300530
|
+
}), _descriptor35 = _applyDecoratedDescriptor(_class8.prototype, "storeFilters", [_dec38], {
|
|
301211
300531
|
configurable: true,
|
|
301212
300532
|
enumerable: true,
|
|
301213
300533
|
writable: true,
|
|
301214
300534
|
initializer: null
|
|
301215
300535
|
})), _class8)) || _class7);
|
|
301216
|
-
let CrossfitTableHeaderNode = (
|
|
300536
|
+
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 {
|
|
301217
300537
|
constructor(...args) {
|
|
301218
300538
|
super(...args);
|
|
301219
300539
|
|
|
301220
|
-
_initializerDefineProperty(this, "align",
|
|
300540
|
+
_initializerDefineProperty(this, "align", _descriptor36, this);
|
|
301221
300541
|
|
|
301222
|
-
_initializerDefineProperty(this, "children",
|
|
300542
|
+
_initializerDefineProperty(this, "children", _descriptor37, this);
|
|
301223
300543
|
}
|
|
301224
300544
|
|
|
301225
|
-
}, (
|
|
300545
|
+
}, (_descriptor36 = _applyDecoratedDescriptor(_class11.prototype, "align", [_dec40], {
|
|
301226
300546
|
configurable: true,
|
|
301227
300547
|
enumerable: true,
|
|
301228
300548
|
writable: true,
|
|
301229
300549
|
initializer: null
|
|
301230
|
-
}),
|
|
300550
|
+
}), _descriptor37 = _applyDecoratedDescriptor(_class11.prototype, "children", [_dec41], {
|
|
301231
300551
|
configurable: true,
|
|
301232
300552
|
enumerable: true,
|
|
301233
300553
|
writable: true,
|
|
301234
300554
|
initializer: null
|
|
301235
300555
|
})), _class11)) || _class10);
|
|
301236
|
-
let FilterInfoNode = (
|
|
300556
|
+
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 {
|
|
301237
300557
|
constructor(...args) {
|
|
301238
300558
|
super(...args);
|
|
301239
300559
|
|
|
301240
|
-
_initializerDefineProperty(this, "dataReference",
|
|
300560
|
+
_initializerDefineProperty(this, "dataReference", _descriptor38, this);
|
|
301241
300561
|
|
|
301242
|
-
_initializerDefineProperty(this, "multilinePath",
|
|
300562
|
+
_initializerDefineProperty(this, "multilinePath", _descriptor39, this);
|
|
301243
300563
|
|
|
301244
|
-
_initializerDefineProperty(this, "path",
|
|
300564
|
+
_initializerDefineProperty(this, "path", _descriptor40, this);
|
|
301245
300565
|
|
|
301246
|
-
_initializerDefineProperty(this, "titles",
|
|
300566
|
+
_initializerDefineProperty(this, "titles", _descriptor41, this);
|
|
301247
300567
|
|
|
301248
|
-
_initializerDefineProperty(this, "notFoundText",
|
|
300568
|
+
_initializerDefineProperty(this, "notFoundText", _descriptor42, this);
|
|
301249
300569
|
}
|
|
301250
300570
|
|
|
301251
300571
|
getOwnPath() {
|
|
301252
300572
|
return this.dataReference.getOwnPath();
|
|
301253
300573
|
}
|
|
301254
300574
|
|
|
301255
|
-
}, (
|
|
300575
|
+
}, (_descriptor38 = _applyDecoratedDescriptor(_class14.prototype, "dataReference", [_dec43], {
|
|
301256
300576
|
configurable: true,
|
|
301257
300577
|
enumerable: true,
|
|
301258
300578
|
writable: true,
|
|
301259
300579
|
initializer: null
|
|
301260
|
-
}),
|
|
300580
|
+
}), _descriptor39 = _applyDecoratedDescriptor(_class14.prototype, "multilinePath", [_dec44], {
|
|
301261
300581
|
configurable: true,
|
|
301262
300582
|
enumerable: true,
|
|
301263
300583
|
writable: true,
|
|
301264
300584
|
initializer: null
|
|
301265
|
-
}),
|
|
300585
|
+
}), _descriptor40 = _applyDecoratedDescriptor(_class14.prototype, "path", [_dec45], {
|
|
301266
300586
|
configurable: true,
|
|
301267
300587
|
enumerable: true,
|
|
301268
300588
|
writable: true,
|
|
301269
300589
|
initializer: null
|
|
301270
|
-
}),
|
|
300590
|
+
}), _descriptor41 = _applyDecoratedDescriptor(_class14.prototype, "titles", [_dec46], {
|
|
301271
300591
|
configurable: true,
|
|
301272
300592
|
enumerable: true,
|
|
301273
300593
|
writable: true,
|
|
301274
300594
|
initializer: null
|
|
301275
|
-
}),
|
|
300595
|
+
}), _descriptor42 = _applyDecoratedDescriptor(_class14.prototype, "notFoundText", [_dec47], {
|
|
301276
300596
|
configurable: true,
|
|
301277
300597
|
enumerable: true,
|
|
301278
300598
|
writable: true,
|
|
301279
300599
|
initializer: null
|
|
301280
300600
|
})), _class14)) || _class13);
|
|
301281
|
-
let CrossfitTableFooterNode = (
|
|
300601
|
+
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 {
|
|
301282
300602
|
constructor(...args) {
|
|
301283
300603
|
super(...args);
|
|
301284
300604
|
|
|
301285
|
-
_initializerDefineProperty(this, "children",
|
|
300605
|
+
_initializerDefineProperty(this, "children", _descriptor43, this);
|
|
301286
300606
|
}
|
|
301287
300607
|
|
|
301288
|
-
}, (
|
|
300608
|
+
}, (_descriptor43 = _applyDecoratedDescriptor(_class17.prototype, "children", [_dec49], {
|
|
301289
300609
|
configurable: true,
|
|
301290
300610
|
enumerable: true,
|
|
301291
300611
|
writable: true,
|
|
301292
300612
|
initializer: null
|
|
301293
300613
|
})), _class17)) || _class16);
|
|
301294
|
-
let CrossfitTableColgroupColumnNode = (
|
|
300614
|
+
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 {
|
|
301295
300615
|
constructor(...args) {
|
|
301296
300616
|
super(...args);
|
|
301297
300617
|
|
|
301298
|
-
_initializerDefineProperty(this, "width",
|
|
300618
|
+
_initializerDefineProperty(this, "width", _descriptor44, this);
|
|
301299
300619
|
}
|
|
301300
300620
|
|
|
301301
|
-
}, (
|
|
300621
|
+
}, (_descriptor44 = _applyDecoratedDescriptor(_class20.prototype, "width", [_dec51], {
|
|
301302
300622
|
configurable: true,
|
|
301303
300623
|
enumerable: true,
|
|
301304
300624
|
writable: true,
|
|
301305
300625
|
initializer: null
|
|
301306
300626
|
})), _class20)) || _class19);
|
|
301307
|
-
let CrossfitTableColgroupNode = (
|
|
300627
|
+
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 {
|
|
301308
300628
|
constructor(...args) {
|
|
301309
300629
|
super(...args);
|
|
301310
300630
|
|
|
301311
|
-
_initializerDefineProperty(this, "cols",
|
|
300631
|
+
_initializerDefineProperty(this, "cols", _descriptor45, this);
|
|
301312
300632
|
}
|
|
301313
300633
|
|
|
301314
|
-
}, (
|
|
300634
|
+
}, (_descriptor45 = _applyDecoratedDescriptor(_class23.prototype, "cols", [_dec53], {
|
|
301315
300635
|
configurable: true,
|
|
301316
300636
|
enumerable: true,
|
|
301317
300637
|
writable: true,
|
|
301318
300638
|
initializer: null
|
|
301319
300639
|
})), _class23)) || _class22);
|
|
301320
|
-
let CrossfitTableNode = (
|
|
300640
|
+
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 {
|
|
301321
300641
|
constructor(...args) {
|
|
301322
300642
|
super(...args);
|
|
301323
300643
|
|
|
301324
|
-
_initializerDefineProperty(this, "path",
|
|
300644
|
+
_initializerDefineProperty(this, "path", _descriptor46, this);
|
|
301325
300645
|
|
|
301326
|
-
_initializerDefineProperty(this, "optional",
|
|
300646
|
+
_initializerDefineProperty(this, "optional", _descriptor47, this);
|
|
301327
300647
|
|
|
301328
|
-
_initializerDefineProperty(this, "offsetBottom",
|
|
300648
|
+
_initializerDefineProperty(this, "offsetBottom", _descriptor48, this);
|
|
301329
300649
|
|
|
301330
|
-
_initializerDefineProperty(this, "grayColumn",
|
|
300650
|
+
_initializerDefineProperty(this, "grayColumn", _descriptor49, this);
|
|
301331
300651
|
|
|
301332
|
-
_initializerDefineProperty(this, "sidebar",
|
|
300652
|
+
_initializerDefineProperty(this, "sidebar", _descriptor50, this);
|
|
301333
300653
|
|
|
301334
|
-
_initializerDefineProperty(this, "crossfit",
|
|
300654
|
+
_initializerDefineProperty(this, "crossfit", _descriptor51, this);
|
|
301335
300655
|
|
|
301336
|
-
_initializerDefineProperty(this, "side",
|
|
300656
|
+
_initializerDefineProperty(this, "side", _descriptor52, this);
|
|
301337
300657
|
|
|
301338
|
-
_initializerDefineProperty(this, "rowmenu",
|
|
300658
|
+
_initializerDefineProperty(this, "rowmenu", _descriptor53, this);
|
|
301339
300659
|
|
|
301340
|
-
_initializerDefineProperty(this, "removebutton",
|
|
300660
|
+
_initializerDefineProperty(this, "removebutton", _descriptor54, this);
|
|
301341
300661
|
|
|
301342
|
-
_initializerDefineProperty(this, "sticky",
|
|
300662
|
+
_initializerDefineProperty(this, "sticky", _descriptor55, this);
|
|
301343
300663
|
|
|
301344
|
-
_initializerDefineProperty(this, "doNotCopyPaths",
|
|
300664
|
+
_initializerDefineProperty(this, "doNotCopyPaths", _descriptor56, this);
|
|
301345
300665
|
|
|
301346
|
-
_initializerDefineProperty(this, "rows",
|
|
300666
|
+
_initializerDefineProperty(this, "rows", _descriptor57, this);
|
|
301347
300667
|
|
|
301348
|
-
_initializerDefineProperty(this, "header",
|
|
300668
|
+
_initializerDefineProperty(this, "header", _descriptor58, this);
|
|
301349
300669
|
|
|
301350
|
-
_initializerDefineProperty(this, "colgroup",
|
|
300670
|
+
_initializerDefineProperty(this, "colgroup", _descriptor59, this);
|
|
301351
300671
|
|
|
301352
|
-
_initializerDefineProperty(this, "filterinfo",
|
|
300672
|
+
_initializerDefineProperty(this, "filterinfo", _descriptor60, this);
|
|
301353
300673
|
|
|
301354
|
-
_initializerDefineProperty(this, "loader",
|
|
300674
|
+
_initializerDefineProperty(this, "loader", _descriptor61, this);
|
|
301355
300675
|
|
|
301356
|
-
_initializerDefineProperty(this, "align",
|
|
300676
|
+
_initializerDefineProperty(this, "align", _descriptor62, this);
|
|
301357
300677
|
|
|
301358
|
-
_initializerDefineProperty(this, "columnGrouping",
|
|
300678
|
+
_initializerDefineProperty(this, "columnGrouping", _descriptor63, this);
|
|
301359
300679
|
|
|
301360
|
-
_initializerDefineProperty(this, "hiddenGroups",
|
|
300680
|
+
_initializerDefineProperty(this, "hiddenGroups", _descriptor64, this);
|
|
301361
300681
|
|
|
301362
|
-
_initializerDefineProperty(this, "footer",
|
|
300682
|
+
_initializerDefineProperty(this, "footer", _descriptor65, this);
|
|
301363
300683
|
}
|
|
301364
300684
|
|
|
301365
300685
|
getOwnPath() {
|
|
@@ -301392,102 +300712,102 @@ let CrossfitTableNode = (_dec55 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORT
|
|
|
301392
300712
|
return (_this$sticky = this.sticky) !== null && _this$sticky !== void 0 ? _this$sticky : true;
|
|
301393
300713
|
}
|
|
301394
300714
|
|
|
301395
|
-
}, (
|
|
300715
|
+
}, (_descriptor46 = _applyDecoratedDescriptor(_class26.prototype, "path", [_dec55], {
|
|
301396
300716
|
configurable: true,
|
|
301397
300717
|
enumerable: true,
|
|
301398
300718
|
writable: true,
|
|
301399
300719
|
initializer: null
|
|
301400
|
-
}),
|
|
300720
|
+
}), _descriptor47 = _applyDecoratedDescriptor(_class26.prototype, "optional", [_dec56], {
|
|
301401
300721
|
configurable: true,
|
|
301402
300722
|
enumerable: true,
|
|
301403
300723
|
writable: true,
|
|
301404
300724
|
initializer: null
|
|
301405
|
-
}),
|
|
300725
|
+
}), _descriptor48 = _applyDecoratedDescriptor(_class26.prototype, "offsetBottom", [_dec57], {
|
|
301406
300726
|
configurable: true,
|
|
301407
300727
|
enumerable: true,
|
|
301408
300728
|
writable: true,
|
|
301409
300729
|
initializer: null
|
|
301410
|
-
}),
|
|
300730
|
+
}), _descriptor49 = _applyDecoratedDescriptor(_class26.prototype, "grayColumn", [_dec58], {
|
|
301411
300731
|
configurable: true,
|
|
301412
300732
|
enumerable: true,
|
|
301413
300733
|
writable: true,
|
|
301414
300734
|
initializer: null
|
|
301415
|
-
}),
|
|
300735
|
+
}), _descriptor50 = _applyDecoratedDescriptor(_class26.prototype, "sidebar", [_dec59], {
|
|
301416
300736
|
configurable: true,
|
|
301417
300737
|
enumerable: true,
|
|
301418
300738
|
writable: true,
|
|
301419
300739
|
initializer: null
|
|
301420
|
-
}),
|
|
300740
|
+
}), _descriptor51 = _applyDecoratedDescriptor(_class26.prototype, "crossfit", [_dec60], {
|
|
301421
300741
|
configurable: true,
|
|
301422
300742
|
enumerable: true,
|
|
301423
300743
|
writable: true,
|
|
301424
300744
|
initializer: null
|
|
301425
|
-
}),
|
|
300745
|
+
}), _descriptor52 = _applyDecoratedDescriptor(_class26.prototype, "side", [_dec61], {
|
|
301426
300746
|
configurable: true,
|
|
301427
300747
|
enumerable: true,
|
|
301428
300748
|
writable: true,
|
|
301429
300749
|
initializer: null
|
|
301430
|
-
}),
|
|
300750
|
+
}), _descriptor53 = _applyDecoratedDescriptor(_class26.prototype, "rowmenu", [_dec62], {
|
|
301431
300751
|
configurable: true,
|
|
301432
300752
|
enumerable: true,
|
|
301433
300753
|
writable: true,
|
|
301434
300754
|
initializer: null
|
|
301435
|
-
}),
|
|
300755
|
+
}), _descriptor54 = _applyDecoratedDescriptor(_class26.prototype, "removebutton", [_dec63], {
|
|
301436
300756
|
configurable: true,
|
|
301437
300757
|
enumerable: true,
|
|
301438
300758
|
writable: true,
|
|
301439
300759
|
initializer: null
|
|
301440
|
-
}),
|
|
300760
|
+
}), _descriptor55 = _applyDecoratedDescriptor(_class26.prototype, "sticky", [_dec64], {
|
|
301441
300761
|
configurable: true,
|
|
301442
300762
|
enumerable: true,
|
|
301443
300763
|
writable: true,
|
|
301444
300764
|
initializer: null
|
|
301445
|
-
}),
|
|
300765
|
+
}), _descriptor56 = _applyDecoratedDescriptor(_class26.prototype, "doNotCopyPaths", [_dec65], {
|
|
301446
300766
|
configurable: true,
|
|
301447
300767
|
enumerable: true,
|
|
301448
300768
|
writable: true,
|
|
301449
300769
|
initializer: null
|
|
301450
|
-
}),
|
|
300770
|
+
}), _descriptor57 = _applyDecoratedDescriptor(_class26.prototype, "rows", [_dec66], {
|
|
301451
300771
|
configurable: true,
|
|
301452
300772
|
enumerable: true,
|
|
301453
300773
|
writable: true,
|
|
301454
300774
|
initializer: null
|
|
301455
|
-
}),
|
|
300775
|
+
}), _descriptor58 = _applyDecoratedDescriptor(_class26.prototype, "header", [_dec67], {
|
|
301456
300776
|
configurable: true,
|
|
301457
300777
|
enumerable: true,
|
|
301458
300778
|
writable: true,
|
|
301459
300779
|
initializer: null
|
|
301460
|
-
}),
|
|
300780
|
+
}), _descriptor59 = _applyDecoratedDescriptor(_class26.prototype, "colgroup", [_dec68], {
|
|
301461
300781
|
configurable: true,
|
|
301462
300782
|
enumerable: true,
|
|
301463
300783
|
writable: true,
|
|
301464
300784
|
initializer: null
|
|
301465
|
-
}),
|
|
300785
|
+
}), _descriptor60 = _applyDecoratedDescriptor(_class26.prototype, "filterinfo", [_dec69], {
|
|
301466
300786
|
configurable: true,
|
|
301467
300787
|
enumerable: true,
|
|
301468
300788
|
writable: true,
|
|
301469
300789
|
initializer: null
|
|
301470
|
-
}),
|
|
300790
|
+
}), _descriptor61 = _applyDecoratedDescriptor(_class26.prototype, "loader", [_dec70], {
|
|
301471
300791
|
configurable: true,
|
|
301472
300792
|
enumerable: true,
|
|
301473
300793
|
writable: true,
|
|
301474
300794
|
initializer: null
|
|
301475
|
-
}),
|
|
300795
|
+
}), _descriptor62 = _applyDecoratedDescriptor(_class26.prototype, "align", [_dec71], {
|
|
301476
300796
|
configurable: true,
|
|
301477
300797
|
enumerable: true,
|
|
301478
300798
|
writable: true,
|
|
301479
300799
|
initializer: null
|
|
301480
|
-
}),
|
|
300800
|
+
}), _descriptor63 = _applyDecoratedDescriptor(_class26.prototype, "columnGrouping", [_dec72], {
|
|
301481
300801
|
configurable: true,
|
|
301482
300802
|
enumerable: true,
|
|
301483
300803
|
writable: true,
|
|
301484
300804
|
initializer: null
|
|
301485
|
-
}),
|
|
300805
|
+
}), _descriptor64 = _applyDecoratedDescriptor(_class26.prototype, "hiddenGroups", [_dec73], {
|
|
301486
300806
|
configurable: true,
|
|
301487
300807
|
enumerable: true,
|
|
301488
300808
|
writable: true,
|
|
301489
300809
|
initializer: null
|
|
301490
|
-
}),
|
|
300810
|
+
}), _descriptor65 = _applyDecoratedDescriptor(_class26.prototype, "footer", [_dec74], {
|
|
301491
300811
|
configurable: true,
|
|
301492
300812
|
enumerable: true,
|
|
301493
300813
|
writable: true,
|
|
@@ -302859,7 +302179,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
302859
302179
|
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
302860
302180
|
/* harmony import */ var _Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../Commons/DocumentationLinks */ "./Generator/src/generators/markupGenerator/ElementProcessors/Commons/DocumentationLinks.ts");
|
|
302861
302181
|
/* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
|
|
302862
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17,
|
|
302182
|
+
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;
|
|
302863
302183
|
|
|
302864
302184
|
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 }); }
|
|
302865
302185
|
|
|
@@ -302874,7 +302194,7 @@ function _initializerWarningHelper(descriptor, context) { throw new Error('Decor
|
|
|
302874
302194
|
|
|
302875
302195
|
|
|
302876
302196
|
|
|
302877
|
-
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)("
|
|
302197
|
+
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 {
|
|
302878
302198
|
constructor(...args) {
|
|
302879
302199
|
super(...args);
|
|
302880
302200
|
|
|
@@ -302884,33 +302204,31 @@ let StickyTableColumnNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPO
|
|
|
302884
302204
|
|
|
302885
302205
|
_initializerDefineProperty(this, "disabled", _descriptor3, this);
|
|
302886
302206
|
|
|
302887
|
-
_initializerDefineProperty(this, "
|
|
302888
|
-
|
|
302889
|
-
_initializerDefineProperty(this, "hintOnAdd", _descriptor5, this);
|
|
302207
|
+
_initializerDefineProperty(this, "hintOnAdd", _descriptor4, this);
|
|
302890
302208
|
|
|
302891
|
-
_initializerDefineProperty(this, "titles",
|
|
302209
|
+
_initializerDefineProperty(this, "titles", _descriptor5, this);
|
|
302892
302210
|
|
|
302893
|
-
_initializerDefineProperty(this, "colspan",
|
|
302211
|
+
_initializerDefineProperty(this, "colspan", _descriptor6, this);
|
|
302894
302212
|
|
|
302895
|
-
_initializerDefineProperty(this, "empty",
|
|
302213
|
+
_initializerDefineProperty(this, "empty", _descriptor7, this);
|
|
302896
302214
|
|
|
302897
|
-
_initializerDefineProperty(this, "width",
|
|
302215
|
+
_initializerDefineProperty(this, "width", _descriptor8, this);
|
|
302898
302216
|
|
|
302899
|
-
_initializerDefineProperty(this, "rowspan",
|
|
302217
|
+
_initializerDefineProperty(this, "rowspan", _descriptor9, this);
|
|
302900
302218
|
|
|
302901
|
-
_initializerDefineProperty(this, "textalign",
|
|
302219
|
+
_initializerDefineProperty(this, "textalign", _descriptor10, this);
|
|
302902
302220
|
|
|
302903
|
-
_initializerDefineProperty(this, "horizontalAlign",
|
|
302221
|
+
_initializerDefineProperty(this, "horizontalAlign", _descriptor11, this);
|
|
302904
302222
|
|
|
302905
|
-
_initializerDefineProperty(this, "paddingTop",
|
|
302223
|
+
_initializerDefineProperty(this, "paddingTop", _descriptor12, this);
|
|
302906
302224
|
|
|
302907
|
-
_initializerDefineProperty(this, "requiredempty",
|
|
302225
|
+
_initializerDefineProperty(this, "requiredempty", _descriptor13, this);
|
|
302908
302226
|
|
|
302909
|
-
_initializerDefineProperty(this, "indent",
|
|
302227
|
+
_initializerDefineProperty(this, "indent", _descriptor14, this);
|
|
302910
302228
|
|
|
302911
|
-
_initializerDefineProperty(this, "textTopPadding",
|
|
302229
|
+
_initializerDefineProperty(this, "textTopPadding", _descriptor15, this);
|
|
302912
302230
|
|
|
302913
|
-
_initializerDefineProperty(this, "children",
|
|
302231
|
+
_initializerDefineProperty(this, "children", _descriptor16, this);
|
|
302914
302232
|
}
|
|
302915
302233
|
|
|
302916
302234
|
getOwnPath() {
|
|
@@ -302938,140 +302256,135 @@ let StickyTableColumnNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPO
|
|
|
302938
302256
|
enumerable: true,
|
|
302939
302257
|
writable: true,
|
|
302940
302258
|
initializer: null
|
|
302941
|
-
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
302942
|
-
configurable: true,
|
|
302943
|
-
enumerable: true,
|
|
302944
|
-
writable: true,
|
|
302945
|
-
initializer: null
|
|
302946
|
-
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "hintOnAdd", [_dec6], {
|
|
302259
|
+
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "hintOnAdd", [_dec5], {
|
|
302947
302260
|
configurable: true,
|
|
302948
302261
|
enumerable: true,
|
|
302949
302262
|
writable: true,
|
|
302950
302263
|
initializer: null
|
|
302951
|
-
}),
|
|
302264
|
+
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "titles", [_dec6], {
|
|
302952
302265
|
configurable: true,
|
|
302953
302266
|
enumerable: true,
|
|
302954
302267
|
writable: true,
|
|
302955
302268
|
initializer: null
|
|
302956
|
-
}),
|
|
302269
|
+
}), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "colspan", [_dec7], {
|
|
302957
302270
|
configurable: true,
|
|
302958
302271
|
enumerable: true,
|
|
302959
302272
|
writable: true,
|
|
302960
302273
|
initializer: null
|
|
302961
|
-
}),
|
|
302274
|
+
}), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, "empty", [_dec8], {
|
|
302962
302275
|
configurable: true,
|
|
302963
302276
|
enumerable: true,
|
|
302964
302277
|
writable: true,
|
|
302965
302278
|
initializer: null
|
|
302966
|
-
}),
|
|
302279
|
+
}), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "width", [_dec9], {
|
|
302967
302280
|
configurable: true,
|
|
302968
302281
|
enumerable: true,
|
|
302969
302282
|
writable: true,
|
|
302970
302283
|
initializer: null
|
|
302971
|
-
}),
|
|
302284
|
+
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "rowspan", [_dec10], {
|
|
302972
302285
|
configurable: true,
|
|
302973
302286
|
enumerable: true,
|
|
302974
302287
|
writable: true,
|
|
302975
302288
|
initializer: null
|
|
302976
|
-
}),
|
|
302289
|
+
}), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, "textalign", [_dec11], {
|
|
302977
302290
|
configurable: true,
|
|
302978
302291
|
enumerable: true,
|
|
302979
302292
|
writable: true,
|
|
302980
302293
|
initializer: null
|
|
302981
|
-
}),
|
|
302294
|
+
}), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, "horizontalAlign", [_dec12], {
|
|
302982
302295
|
configurable: true,
|
|
302983
302296
|
enumerable: true,
|
|
302984
302297
|
writable: true,
|
|
302985
302298
|
initializer: null
|
|
302986
|
-
}),
|
|
302299
|
+
}), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, "paddingTop", [_dec13], {
|
|
302987
302300
|
configurable: true,
|
|
302988
302301
|
enumerable: true,
|
|
302989
302302
|
writable: true,
|
|
302990
302303
|
initializer: null
|
|
302991
|
-
}),
|
|
302304
|
+
}), _descriptor13 = _applyDecoratedDescriptor(_class2.prototype, "requiredempty", [_dec14], {
|
|
302992
302305
|
configurable: true,
|
|
302993
302306
|
enumerable: true,
|
|
302994
302307
|
writable: true,
|
|
302995
302308
|
initializer: null
|
|
302996
|
-
}),
|
|
302309
|
+
}), _descriptor14 = _applyDecoratedDescriptor(_class2.prototype, "indent", [_dec15], {
|
|
302997
302310
|
configurable: true,
|
|
302998
302311
|
enumerable: true,
|
|
302999
302312
|
writable: true,
|
|
303000
302313
|
initializer: null
|
|
303001
|
-
}),
|
|
302314
|
+
}), _descriptor15 = _applyDecoratedDescriptor(_class2.prototype, "textTopPadding", [_dec16], {
|
|
303002
302315
|
configurable: true,
|
|
303003
302316
|
enumerable: true,
|
|
303004
302317
|
writable: true,
|
|
303005
302318
|
initializer: null
|
|
303006
|
-
}),
|
|
302319
|
+
}), _descriptor16 = _applyDecoratedDescriptor(_class2.prototype, "children", [_dec17], {
|
|
303007
302320
|
configurable: true,
|
|
303008
302321
|
enumerable: true,
|
|
303009
302322
|
writable: true,
|
|
303010
302323
|
initializer: null
|
|
303011
302324
|
})), _class2)) || _class);
|
|
303012
|
-
let StickyTableMultilineRowNode = (
|
|
302325
|
+
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 {
|
|
303013
302326
|
constructor(...args) {
|
|
303014
302327
|
super(...args);
|
|
303015
302328
|
|
|
303016
|
-
_initializerDefineProperty(this, "columns",
|
|
302329
|
+
_initializerDefineProperty(this, "columns", _descriptor17, this);
|
|
303017
302330
|
|
|
303018
|
-
_initializerDefineProperty(this, "borderBottom",
|
|
302331
|
+
_initializerDefineProperty(this, "borderBottom", _descriptor18, this);
|
|
303019
302332
|
}
|
|
303020
302333
|
|
|
303021
|
-
}, (
|
|
302334
|
+
}, (_descriptor17 = _applyDecoratedDescriptor(_class5.prototype, "columns", [_dec19], {
|
|
303022
302335
|
configurable: true,
|
|
303023
302336
|
enumerable: true,
|
|
303024
302337
|
writable: true,
|
|
303025
302338
|
initializer: null
|
|
303026
|
-
}),
|
|
302339
|
+
}), _descriptor18 = _applyDecoratedDescriptor(_class5.prototype, "borderBottom", [_dec20], {
|
|
303027
302340
|
configurable: true,
|
|
303028
302341
|
enumerable: true,
|
|
303029
302342
|
writable: true,
|
|
303030
302343
|
initializer: null
|
|
303031
302344
|
})), _class5)) || _class4);
|
|
303032
|
-
let StickyTableMultilineNode = (
|
|
302345
|
+
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 {
|
|
303033
302346
|
constructor(...args) {
|
|
303034
302347
|
super(...args);
|
|
303035
302348
|
|
|
303036
|
-
_initializerDefineProperty(this, "path",
|
|
302349
|
+
_initializerDefineProperty(this, "path", _descriptor19, this);
|
|
303037
302350
|
|
|
303038
|
-
_initializerDefineProperty(this, "instancesPerPage",
|
|
302351
|
+
_initializerDefineProperty(this, "instancesPerPage", _descriptor20, this);
|
|
303039
302352
|
|
|
303040
|
-
_initializerDefineProperty(this, "optional",
|
|
302353
|
+
_initializerDefineProperty(this, "optional", _descriptor21, this);
|
|
303041
302354
|
|
|
303042
|
-
_initializerDefineProperty(this, "defaultChildren",
|
|
302355
|
+
_initializerDefineProperty(this, "defaultChildren", _descriptor22, this);
|
|
303043
302356
|
|
|
303044
|
-
_initializerDefineProperty(this, "removebutton",
|
|
302357
|
+
_initializerDefineProperty(this, "removebutton", _descriptor23, this);
|
|
303045
302358
|
|
|
303046
|
-
_initializerDefineProperty(this, "rowmenu",
|
|
302359
|
+
_initializerDefineProperty(this, "rowmenu", _descriptor24, this);
|
|
303047
302360
|
|
|
303048
|
-
_initializerDefineProperty(this, "className",
|
|
302361
|
+
_initializerDefineProperty(this, "className", _descriptor25, this);
|
|
303049
302362
|
|
|
303050
|
-
_initializerDefineProperty(this, "customProperty",
|
|
302363
|
+
_initializerDefineProperty(this, "customProperty", _descriptor26, this);
|
|
303051
302364
|
|
|
303052
|
-
_initializerDefineProperty(this, "addButtonText",
|
|
302365
|
+
_initializerDefineProperty(this, "addButtonText", _descriptor27, this);
|
|
303053
302366
|
|
|
303054
|
-
_initializerDefineProperty(this, "offsetLeft",
|
|
302367
|
+
_initializerDefineProperty(this, "offsetLeft", _descriptor28, this);
|
|
303055
302368
|
|
|
303056
|
-
_initializerDefineProperty(this, "offsetTop",
|
|
302369
|
+
_initializerDefineProperty(this, "offsetTop", _descriptor29, this);
|
|
303057
302370
|
|
|
303058
|
-
_initializerDefineProperty(this, "focusByHotkey",
|
|
302371
|
+
_initializerDefineProperty(this, "focusByHotkey", _descriptor30, this);
|
|
303059
302372
|
|
|
303060
|
-
_initializerDefineProperty(this, "rows",
|
|
302373
|
+
_initializerDefineProperty(this, "rows", _descriptor31, this);
|
|
303061
302374
|
|
|
303062
|
-
_initializerDefineProperty(this, "addbutton",
|
|
302375
|
+
_initializerDefineProperty(this, "addbutton", _descriptor32, this);
|
|
303063
302376
|
|
|
303064
|
-
_initializerDefineProperty(this, "doNotCopyPaths",
|
|
302377
|
+
_initializerDefineProperty(this, "doNotCopyPaths", _descriptor33, this);
|
|
303065
302378
|
|
|
303066
|
-
_initializerDefineProperty(this, "addType",
|
|
302379
|
+
_initializerDefineProperty(this, "addType", _descriptor34, this);
|
|
303067
302380
|
|
|
303068
|
-
_initializerDefineProperty(this, "usepager",
|
|
302381
|
+
_initializerDefineProperty(this, "usepager", _descriptor35, this);
|
|
303069
302382
|
|
|
303070
|
-
_initializerDefineProperty(this, "showRowBorder",
|
|
302383
|
+
_initializerDefineProperty(this, "showRowBorder", _descriptor36, this);
|
|
303071
302384
|
|
|
303072
|
-
_initializerDefineProperty(this, "override",
|
|
302385
|
+
_initializerDefineProperty(this, "override", _descriptor37, this);
|
|
303073
302386
|
|
|
303074
|
-
_initializerDefineProperty(this, "storeFilters",
|
|
302387
|
+
_initializerDefineProperty(this, "storeFilters", _descriptor38, this);
|
|
303075
302388
|
}
|
|
303076
302389
|
|
|
303077
302390
|
getOwnPath() {
|
|
@@ -303082,186 +302395,186 @@ let StickyTableMultilineNode = (_dec22 = (0,_Serializer_SugarSerializer__WEBPACK
|
|
|
303082
302395
|
return true;
|
|
303083
302396
|
}
|
|
303084
302397
|
|
|
303085
|
-
}, (
|
|
302398
|
+
}, (_descriptor19 = _applyDecoratedDescriptor(_class8.prototype, "path", [_dec22], {
|
|
303086
302399
|
configurable: true,
|
|
303087
302400
|
enumerable: true,
|
|
303088
302401
|
writable: true,
|
|
303089
302402
|
initializer: null
|
|
303090
|
-
}),
|
|
302403
|
+
}), _descriptor20 = _applyDecoratedDescriptor(_class8.prototype, "instancesPerPage", [_dec23], {
|
|
303091
302404
|
configurable: true,
|
|
303092
302405
|
enumerable: true,
|
|
303093
302406
|
writable: true,
|
|
303094
302407
|
initializer: null
|
|
303095
|
-
}),
|
|
302408
|
+
}), _descriptor21 = _applyDecoratedDescriptor(_class8.prototype, "optional", [_dec24], {
|
|
303096
302409
|
configurable: true,
|
|
303097
302410
|
enumerable: true,
|
|
303098
302411
|
writable: true,
|
|
303099
302412
|
initializer: null
|
|
303100
|
-
}),
|
|
302413
|
+
}), _descriptor22 = _applyDecoratedDescriptor(_class8.prototype, "defaultChildren", [_dec25], {
|
|
303101
302414
|
configurable: true,
|
|
303102
302415
|
enumerable: true,
|
|
303103
302416
|
writable: true,
|
|
303104
302417
|
initializer: null
|
|
303105
|
-
}),
|
|
302418
|
+
}), _descriptor23 = _applyDecoratedDescriptor(_class8.prototype, "removebutton", [_dec26], {
|
|
303106
302419
|
configurable: true,
|
|
303107
302420
|
enumerable: true,
|
|
303108
302421
|
writable: true,
|
|
303109
302422
|
initializer: null
|
|
303110
|
-
}),
|
|
302423
|
+
}), _descriptor24 = _applyDecoratedDescriptor(_class8.prototype, "rowmenu", [_dec27], {
|
|
303111
302424
|
configurable: true,
|
|
303112
302425
|
enumerable: true,
|
|
303113
302426
|
writable: true,
|
|
303114
302427
|
initializer: null
|
|
303115
|
-
}),
|
|
302428
|
+
}), _descriptor25 = _applyDecoratedDescriptor(_class8.prototype, "className", [_dec28], {
|
|
303116
302429
|
configurable: true,
|
|
303117
302430
|
enumerable: true,
|
|
303118
302431
|
writable: true,
|
|
303119
302432
|
initializer: null
|
|
303120
|
-
}),
|
|
302433
|
+
}), _descriptor26 = _applyDecoratedDescriptor(_class8.prototype, "customProperty", [_dec29], {
|
|
303121
302434
|
configurable: true,
|
|
303122
302435
|
enumerable: true,
|
|
303123
302436
|
writable: true,
|
|
303124
302437
|
initializer: null
|
|
303125
|
-
}),
|
|
302438
|
+
}), _descriptor27 = _applyDecoratedDescriptor(_class8.prototype, "addButtonText", [_dec30], {
|
|
303126
302439
|
configurable: true,
|
|
303127
302440
|
enumerable: true,
|
|
303128
302441
|
writable: true,
|
|
303129
302442
|
initializer: null
|
|
303130
|
-
}),
|
|
302443
|
+
}), _descriptor28 = _applyDecoratedDescriptor(_class8.prototype, "offsetLeft", [_dec31], {
|
|
303131
302444
|
configurable: true,
|
|
303132
302445
|
enumerable: true,
|
|
303133
302446
|
writable: true,
|
|
303134
302447
|
initializer: null
|
|
303135
|
-
}),
|
|
302448
|
+
}), _descriptor29 = _applyDecoratedDescriptor(_class8.prototype, "offsetTop", [_dec32], {
|
|
303136
302449
|
configurable: true,
|
|
303137
302450
|
enumerable: true,
|
|
303138
302451
|
writable: true,
|
|
303139
302452
|
initializer: null
|
|
303140
|
-
}),
|
|
302453
|
+
}), _descriptor30 = _applyDecoratedDescriptor(_class8.prototype, "focusByHotkey", [_dec33], {
|
|
303141
302454
|
configurable: true,
|
|
303142
302455
|
enumerable: true,
|
|
303143
302456
|
writable: true,
|
|
303144
302457
|
initializer: null
|
|
303145
|
-
}),
|
|
302458
|
+
}), _descriptor31 = _applyDecoratedDescriptor(_class8.prototype, "rows", [_dec34], {
|
|
303146
302459
|
configurable: true,
|
|
303147
302460
|
enumerable: true,
|
|
303148
302461
|
writable: true,
|
|
303149
302462
|
initializer: null
|
|
303150
|
-
}),
|
|
302463
|
+
}), _descriptor32 = _applyDecoratedDescriptor(_class8.prototype, "addbutton", [_dec35], {
|
|
303151
302464
|
configurable: true,
|
|
303152
302465
|
enumerable: true,
|
|
303153
302466
|
writable: true,
|
|
303154
302467
|
initializer: null
|
|
303155
|
-
}),
|
|
302468
|
+
}), _descriptor33 = _applyDecoratedDescriptor(_class8.prototype, "doNotCopyPaths", [_dec36], {
|
|
303156
302469
|
configurable: true,
|
|
303157
302470
|
enumerable: true,
|
|
303158
302471
|
writable: true,
|
|
303159
302472
|
initializer: null
|
|
303160
|
-
}),
|
|
302473
|
+
}), _descriptor34 = _applyDecoratedDescriptor(_class8.prototype, "addType", [_dec37], {
|
|
303161
302474
|
configurable: true,
|
|
303162
302475
|
enumerable: true,
|
|
303163
302476
|
writable: true,
|
|
303164
302477
|
initializer: null
|
|
303165
|
-
}),
|
|
302478
|
+
}), _descriptor35 = _applyDecoratedDescriptor(_class8.prototype, "usepager", [_dec38], {
|
|
303166
302479
|
configurable: true,
|
|
303167
302480
|
enumerable: true,
|
|
303168
302481
|
writable: true,
|
|
303169
302482
|
initializer: null
|
|
303170
|
-
}),
|
|
302483
|
+
}), _descriptor36 = _applyDecoratedDescriptor(_class8.prototype, "showRowBorder", [_dec39], {
|
|
303171
302484
|
configurable: true,
|
|
303172
302485
|
enumerable: true,
|
|
303173
302486
|
writable: true,
|
|
303174
302487
|
initializer: null
|
|
303175
|
-
}),
|
|
302488
|
+
}), _descriptor37 = _applyDecoratedDescriptor(_class8.prototype, "override", [_dec40], {
|
|
303176
302489
|
configurable: true,
|
|
303177
302490
|
enumerable: true,
|
|
303178
302491
|
writable: true,
|
|
303179
302492
|
initializer: null
|
|
303180
|
-
}),
|
|
302493
|
+
}), _descriptor38 = _applyDecoratedDescriptor(_class8.prototype, "storeFilters", [_dec41], {
|
|
303181
302494
|
configurable: true,
|
|
303182
302495
|
enumerable: true,
|
|
303183
302496
|
writable: true,
|
|
303184
302497
|
initializer: null
|
|
303185
302498
|
})), _class8)) || _class7);
|
|
303186
|
-
let StickyTableRowNode = (
|
|
302499
|
+
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 {
|
|
303187
302500
|
constructor(...args) {
|
|
303188
302501
|
super(...args);
|
|
303189
302502
|
|
|
303190
|
-
_initializerDefineProperty(this, "dataScope",
|
|
302503
|
+
_initializerDefineProperty(this, "dataScope", _descriptor39, this);
|
|
303191
302504
|
|
|
303192
|
-
_initializerDefineProperty(this, "optional",
|
|
302505
|
+
_initializerDefineProperty(this, "optional", _descriptor40, this);
|
|
303193
302506
|
|
|
303194
|
-
_initializerDefineProperty(this, "kind",
|
|
302507
|
+
_initializerDefineProperty(this, "kind", _descriptor41, this);
|
|
303195
302508
|
|
|
303196
|
-
_initializerDefineProperty(this, "subkind",
|
|
302509
|
+
_initializerDefineProperty(this, "subkind", _descriptor42, this);
|
|
303197
302510
|
|
|
303198
|
-
_initializerDefineProperty(this, "columns",
|
|
302511
|
+
_initializerDefineProperty(this, "columns", _descriptor43, this);
|
|
303199
302512
|
|
|
303200
|
-
_initializerDefineProperty(this, "borderBottom",
|
|
302513
|
+
_initializerDefineProperty(this, "borderBottom", _descriptor44, this);
|
|
303201
302514
|
}
|
|
303202
302515
|
|
|
303203
302516
|
getOwnPath() {
|
|
303204
302517
|
return this.dataScope.getOwnPath();
|
|
303205
302518
|
}
|
|
303206
302519
|
|
|
303207
|
-
}, (
|
|
302520
|
+
}, (_descriptor39 = _applyDecoratedDescriptor(_class11.prototype, "dataScope", [_dec43], {
|
|
303208
302521
|
configurable: true,
|
|
303209
302522
|
enumerable: true,
|
|
303210
302523
|
writable: true,
|
|
303211
302524
|
initializer: null
|
|
303212
|
-
}),
|
|
302525
|
+
}), _descriptor40 = _applyDecoratedDescriptor(_class11.prototype, "optional", [_dec44], {
|
|
303213
302526
|
configurable: true,
|
|
303214
302527
|
enumerable: true,
|
|
303215
302528
|
writable: true,
|
|
303216
302529
|
initializer: null
|
|
303217
|
-
}),
|
|
302530
|
+
}), _descriptor41 = _applyDecoratedDescriptor(_class11.prototype, "kind", [_dec45], {
|
|
303218
302531
|
configurable: true,
|
|
303219
302532
|
enumerable: true,
|
|
303220
302533
|
writable: true,
|
|
303221
302534
|
initializer: null
|
|
303222
|
-
}),
|
|
302535
|
+
}), _descriptor42 = _applyDecoratedDescriptor(_class11.prototype, "subkind", [_dec46], {
|
|
303223
302536
|
configurable: true,
|
|
303224
302537
|
enumerable: true,
|
|
303225
302538
|
writable: true,
|
|
303226
302539
|
initializer: null
|
|
303227
|
-
}),
|
|
302540
|
+
}), _descriptor43 = _applyDecoratedDescriptor(_class11.prototype, "columns", [_dec47], {
|
|
303228
302541
|
configurable: true,
|
|
303229
302542
|
enumerable: true,
|
|
303230
302543
|
writable: true,
|
|
303231
302544
|
initializer: null
|
|
303232
|
-
}),
|
|
302545
|
+
}), _descriptor44 = _applyDecoratedDescriptor(_class11.prototype, "borderBottom", [_dec48], {
|
|
303233
302546
|
configurable: true,
|
|
303234
302547
|
enumerable: true,
|
|
303235
302548
|
writable: true,
|
|
303236
302549
|
initializer: null
|
|
303237
302550
|
})), _class11)) || _class10);
|
|
303238
|
-
let StickyTableHeaderNode = (
|
|
302551
|
+
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 {
|
|
303239
302552
|
constructor(...args) {
|
|
303240
302553
|
super(...args);
|
|
303241
302554
|
|
|
303242
|
-
_initializerDefineProperty(this, "align",
|
|
302555
|
+
_initializerDefineProperty(this, "align", _descriptor45, this);
|
|
303243
302556
|
|
|
303244
|
-
_initializerDefineProperty(this, "children",
|
|
302557
|
+
_initializerDefineProperty(this, "children", _descriptor46, this);
|
|
303245
302558
|
}
|
|
303246
302559
|
|
|
303247
|
-
}, (
|
|
302560
|
+
}, (_descriptor45 = _applyDecoratedDescriptor(_class14.prototype, "align", [_dec50], {
|
|
303248
302561
|
configurable: true,
|
|
303249
302562
|
enumerable: true,
|
|
303250
302563
|
writable: true,
|
|
303251
302564
|
initializer: null
|
|
303252
|
-
}),
|
|
302565
|
+
}), _descriptor46 = _applyDecoratedDescriptor(_class14.prototype, "children", [_dec51], {
|
|
303253
302566
|
configurable: true,
|
|
303254
302567
|
enumerable: true,
|
|
303255
302568
|
writable: true,
|
|
303256
302569
|
initializer: null
|
|
303257
302570
|
})), _class14)) || _class13);
|
|
303258
|
-
let StickyTableFooterNode = (
|
|
302571
|
+
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 {
|
|
303259
302572
|
constructor(...args) {
|
|
303260
302573
|
super(...args);
|
|
303261
302574
|
|
|
303262
|
-
_initializerDefineProperty(this, "rows",
|
|
302575
|
+
_initializerDefineProperty(this, "rows", _descriptor47, this);
|
|
303263
302576
|
|
|
303264
|
-
_initializerDefineProperty(this, "columns",
|
|
302577
|
+
_initializerDefineProperty(this, "columns", _descriptor48, this);
|
|
303265
302578
|
}
|
|
303266
302579
|
|
|
303267
302580
|
getColumnLists() {
|
|
@@ -303274,80 +302587,80 @@ let StickyTableFooterNode = (_dec53 = (0,_Serializer_SugarSerializer__WEBPACK_IM
|
|
|
303274
302587
|
return footerColumnsLists;
|
|
303275
302588
|
}
|
|
303276
302589
|
|
|
303277
|
-
}, (
|
|
302590
|
+
}, (_descriptor47 = _applyDecoratedDescriptor(_class17.prototype, "rows", [_dec53], {
|
|
303278
302591
|
configurable: true,
|
|
303279
302592
|
enumerable: true,
|
|
303280
302593
|
writable: true,
|
|
303281
302594
|
initializer: null
|
|
303282
|
-
}),
|
|
302595
|
+
}), _descriptor48 = _applyDecoratedDescriptor(_class17.prototype, "columns", [_dec54], {
|
|
303283
302596
|
configurable: true,
|
|
303284
302597
|
enumerable: true,
|
|
303285
302598
|
writable: true,
|
|
303286
302599
|
initializer: null
|
|
303287
302600
|
})), _class17)) || _class16);
|
|
303288
|
-
let StickyTableColgroupColumnNode = (
|
|
302601
|
+
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 {
|
|
303289
302602
|
constructor(...args) {
|
|
303290
302603
|
super(...args);
|
|
303291
302604
|
|
|
303292
|
-
_initializerDefineProperty(this, "width",
|
|
302605
|
+
_initializerDefineProperty(this, "width", _descriptor49, this);
|
|
303293
302606
|
}
|
|
303294
302607
|
|
|
303295
|
-
}, (
|
|
302608
|
+
}, (_descriptor49 = _applyDecoratedDescriptor(_class20.prototype, "width", [_dec56], {
|
|
303296
302609
|
configurable: true,
|
|
303297
302610
|
enumerable: true,
|
|
303298
302611
|
writable: true,
|
|
303299
302612
|
initializer: null
|
|
303300
302613
|
})), _class20)) || _class19);
|
|
303301
|
-
let StickyTableColgroupNode = (
|
|
302614
|
+
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 {
|
|
303302
302615
|
constructor(...args) {
|
|
303303
302616
|
super(...args);
|
|
303304
302617
|
|
|
303305
|
-
_initializerDefineProperty(this, "cols",
|
|
302618
|
+
_initializerDefineProperty(this, "cols", _descriptor50, this);
|
|
303306
302619
|
}
|
|
303307
302620
|
|
|
303308
|
-
}, (
|
|
302621
|
+
}, (_descriptor50 = _applyDecoratedDescriptor(_class23.prototype, "cols", [_dec58], {
|
|
303309
302622
|
configurable: true,
|
|
303310
302623
|
enumerable: true,
|
|
303311
302624
|
writable: true,
|
|
303312
302625
|
initializer: null
|
|
303313
302626
|
})), _class23)) || _class22);
|
|
303314
|
-
let StickyTableNode = (
|
|
302627
|
+
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 {
|
|
303315
302628
|
constructor(...args) {
|
|
303316
302629
|
super(...args);
|
|
303317
302630
|
|
|
303318
|
-
_initializerDefineProperty(this, "path",
|
|
302631
|
+
_initializerDefineProperty(this, "path", _descriptor51, this);
|
|
303319
302632
|
|
|
303320
|
-
_initializerDefineProperty(this, "optional",
|
|
302633
|
+
_initializerDefineProperty(this, "optional", _descriptor52, this);
|
|
303321
302634
|
|
|
303322
|
-
_initializerDefineProperty(this, "align",
|
|
302635
|
+
_initializerDefineProperty(this, "align", _descriptor53, this);
|
|
303323
302636
|
|
|
303324
|
-
_initializerDefineProperty(this, "removeButton",
|
|
302637
|
+
_initializerDefineProperty(this, "removeButton", _descriptor54, this);
|
|
303325
302638
|
|
|
303326
|
-
_initializerDefineProperty(this, "sticky",
|
|
302639
|
+
_initializerDefineProperty(this, "sticky", _descriptor55, this);
|
|
303327
302640
|
|
|
303328
|
-
_initializerDefineProperty(this, "stickyHeader",
|
|
302641
|
+
_initializerDefineProperty(this, "stickyHeader", _descriptor56, this);
|
|
303329
302642
|
|
|
303330
|
-
_initializerDefineProperty(this, "grayColumn",
|
|
302643
|
+
_initializerDefineProperty(this, "grayColumn", _descriptor57, this);
|
|
303331
302644
|
|
|
303332
|
-
_initializerDefineProperty(this, "side",
|
|
302645
|
+
_initializerDefineProperty(this, "side", _descriptor58, this);
|
|
303333
302646
|
|
|
303334
|
-
_initializerDefineProperty(this, "className",
|
|
302647
|
+
_initializerDefineProperty(this, "className", _descriptor59, this);
|
|
303335
302648
|
|
|
303336
|
-
_initializerDefineProperty(this, "colgroup",
|
|
302649
|
+
_initializerDefineProperty(this, "colgroup", _descriptor60, this);
|
|
303337
302650
|
|
|
303338
|
-
_initializerDefineProperty(this, "rows",
|
|
302651
|
+
_initializerDefineProperty(this, "rows", _descriptor61, this);
|
|
303339
302652
|
|
|
303340
|
-
_initializerDefineProperty(this, "header",
|
|
302653
|
+
_initializerDefineProperty(this, "header", _descriptor62, this);
|
|
303341
302654
|
|
|
303342
|
-
_initializerDefineProperty(this, "footer",
|
|
302655
|
+
_initializerDefineProperty(this, "footer", _descriptor63, this);
|
|
303343
302656
|
|
|
303344
|
-
_initializerDefineProperty(this, "deprecatedDiadocWidth",
|
|
302657
|
+
_initializerDefineProperty(this, "deprecatedDiadocWidth", _descriptor64, this);
|
|
303345
302658
|
|
|
303346
|
-
_initializerDefineProperty(this, "width",
|
|
302659
|
+
_initializerDefineProperty(this, "width", _descriptor65, this);
|
|
303347
302660
|
|
|
303348
|
-
_initializerDefineProperty(this, "tid",
|
|
302661
|
+
_initializerDefineProperty(this, "tid", _descriptor66, this);
|
|
303349
302662
|
|
|
303350
|
-
_initializerDefineProperty(this, "columnGrouping",
|
|
302663
|
+
_initializerDefineProperty(this, "columnGrouping", _descriptor67, this);
|
|
303351
302664
|
}
|
|
303352
302665
|
|
|
303353
302666
|
getOwnPath() {
|
|
@@ -303358,87 +302671,87 @@ let StickyTableNode = (_dec60 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED
|
|
|
303358
302671
|
return this.rows.filter(isRowNode).filter(row => row.kind === "head");
|
|
303359
302672
|
}
|
|
303360
302673
|
|
|
303361
|
-
}, (
|
|
302674
|
+
}, (_descriptor51 = _applyDecoratedDescriptor(_class26.prototype, "path", [_dec60], {
|
|
303362
302675
|
configurable: true,
|
|
303363
302676
|
enumerable: true,
|
|
303364
302677
|
writable: true,
|
|
303365
302678
|
initializer: null
|
|
303366
|
-
}),
|
|
302679
|
+
}), _descriptor52 = _applyDecoratedDescriptor(_class26.prototype, "optional", [_dec61], {
|
|
303367
302680
|
configurable: true,
|
|
303368
302681
|
enumerable: true,
|
|
303369
302682
|
writable: true,
|
|
303370
302683
|
initializer: null
|
|
303371
|
-
}),
|
|
302684
|
+
}), _descriptor53 = _applyDecoratedDescriptor(_class26.prototype, "align", [_dec62], {
|
|
303372
302685
|
configurable: true,
|
|
303373
302686
|
enumerable: true,
|
|
303374
302687
|
writable: true,
|
|
303375
302688
|
initializer: null
|
|
303376
|
-
}),
|
|
302689
|
+
}), _descriptor54 = _applyDecoratedDescriptor(_class26.prototype, "removeButton", [_dec63], {
|
|
303377
302690
|
configurable: true,
|
|
303378
302691
|
enumerable: true,
|
|
303379
302692
|
writable: true,
|
|
303380
302693
|
initializer: null
|
|
303381
|
-
}),
|
|
302694
|
+
}), _descriptor55 = _applyDecoratedDescriptor(_class26.prototype, "sticky", [_dec64], {
|
|
303382
302695
|
configurable: true,
|
|
303383
302696
|
enumerable: true,
|
|
303384
302697
|
writable: true,
|
|
303385
302698
|
initializer: null
|
|
303386
|
-
}),
|
|
302699
|
+
}), _descriptor56 = _applyDecoratedDescriptor(_class26.prototype, "stickyHeader", [_dec65], {
|
|
303387
302700
|
configurable: true,
|
|
303388
302701
|
enumerable: true,
|
|
303389
302702
|
writable: true,
|
|
303390
302703
|
initializer: null
|
|
303391
|
-
}),
|
|
302704
|
+
}), _descriptor57 = _applyDecoratedDescriptor(_class26.prototype, "grayColumn", [_dec66], {
|
|
303392
302705
|
configurable: true,
|
|
303393
302706
|
enumerable: true,
|
|
303394
302707
|
writable: true,
|
|
303395
302708
|
initializer: null
|
|
303396
|
-
}),
|
|
302709
|
+
}), _descriptor58 = _applyDecoratedDescriptor(_class26.prototype, "side", [_dec67], {
|
|
303397
302710
|
configurable: true,
|
|
303398
302711
|
enumerable: true,
|
|
303399
302712
|
writable: true,
|
|
303400
302713
|
initializer: null
|
|
303401
|
-
}),
|
|
302714
|
+
}), _descriptor59 = _applyDecoratedDescriptor(_class26.prototype, "className", [_dec68], {
|
|
303402
302715
|
configurable: true,
|
|
303403
302716
|
enumerable: true,
|
|
303404
302717
|
writable: true,
|
|
303405
302718
|
initializer: null
|
|
303406
|
-
}),
|
|
302719
|
+
}), _descriptor60 = _applyDecoratedDescriptor(_class26.prototype, "colgroup", [_dec69], {
|
|
303407
302720
|
configurable: true,
|
|
303408
302721
|
enumerable: true,
|
|
303409
302722
|
writable: true,
|
|
303410
302723
|
initializer: null
|
|
303411
|
-
}),
|
|
302724
|
+
}), _descriptor61 = _applyDecoratedDescriptor(_class26.prototype, "rows", [_dec70], {
|
|
303412
302725
|
configurable: true,
|
|
303413
302726
|
enumerable: true,
|
|
303414
302727
|
writable: true,
|
|
303415
302728
|
initializer: null
|
|
303416
|
-
}),
|
|
302729
|
+
}), _descriptor62 = _applyDecoratedDescriptor(_class26.prototype, "header", [_dec71], {
|
|
303417
302730
|
configurable: true,
|
|
303418
302731
|
enumerable: true,
|
|
303419
302732
|
writable: true,
|
|
303420
302733
|
initializer: null
|
|
303421
|
-
}),
|
|
302734
|
+
}), _descriptor63 = _applyDecoratedDescriptor(_class26.prototype, "footer", [_dec72], {
|
|
303422
302735
|
configurable: true,
|
|
303423
302736
|
enumerable: true,
|
|
303424
302737
|
writable: true,
|
|
303425
302738
|
initializer: null
|
|
303426
|
-
}),
|
|
302739
|
+
}), _descriptor64 = _applyDecoratedDescriptor(_class26.prototype, "deprecatedDiadocWidth", [_dec73], {
|
|
303427
302740
|
configurable: true,
|
|
303428
302741
|
enumerable: true,
|
|
303429
302742
|
writable: true,
|
|
303430
302743
|
initializer: null
|
|
303431
|
-
}),
|
|
302744
|
+
}), _descriptor65 = _applyDecoratedDescriptor(_class26.prototype, "width", [_dec74], {
|
|
303432
302745
|
configurable: true,
|
|
303433
302746
|
enumerable: true,
|
|
303434
302747
|
writable: true,
|
|
303435
302748
|
initializer: null
|
|
303436
|
-
}),
|
|
302749
|
+
}), _descriptor66 = _applyDecoratedDescriptor(_class26.prototype, "tid", [_dec75], {
|
|
303437
302750
|
configurable: true,
|
|
303438
302751
|
enumerable: true,
|
|
303439
302752
|
writable: true,
|
|
303440
302753
|
initializer: null
|
|
303441
|
-
}),
|
|
302754
|
+
}), _descriptor67 = _applyDecoratedDescriptor(_class26.prototype, "columnGrouping", [_dec76], {
|
|
303442
302755
|
configurable: true,
|
|
303443
302756
|
enumerable: true,
|
|
303444
302757
|
writable: true,
|