@kontur.candy/generator 4.235.1 → 4.236.0-nightly.5jl79
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 +1100 -412
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -279913,6 +279913,293 @@ 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
|
+
|
|
279916
280203
|
/***/ "./Generator/src/common/KCLang/KCLangToJsTranspiler.ts":
|
|
279917
280204
|
/*!*************************************************************!*\
|
|
279918
280205
|
!*** ./Generator/src/common/KCLang/KCLangToJsTranspiler.ts ***!
|
|
@@ -280210,6 +280497,345 @@ class KCLangToJsTranspiler {
|
|
|
280210
280497
|
|
|
280211
280498
|
/***/ }),
|
|
280212
280499
|
|
|
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
|
+
|
|
280213
280839
|
/***/ "./Generator/src/common/RequireContext/LoadDocumentationFileFormContext.ts":
|
|
280214
280840
|
/*!*********************************************************************************!*\
|
|
280215
280841
|
!*** ./Generator/src/common/RequireContext/LoadDocumentationFileFormContext.ts ***!
|
|
@@ -285439,8 +286065,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
285439
286065
|
|
|
285440
286066
|
|
|
285441
286067
|
class FormulasAutoCalculationsGenerator {
|
|
285442
|
-
generate(
|
|
285443
|
-
const formulas = formulaContainer.formulas == undefined || formulaContainer.formulas.items == undefined ? [] : formulaContainer.formulas.items;
|
|
286068
|
+
generate(formulas, schemaRng, dataDeclarationHelper) {
|
|
285444
286069
|
const formulaAutoCalculations = formulas.map(formula => this.buildFormulaAutoCalculation(formula, schemaRng, dataDeclarationHelper)).flat();
|
|
285445
286070
|
return this.mergeFormulaAutoCalculations(formulaAutoCalculations);
|
|
285446
286071
|
}
|
|
@@ -286166,35 +286791,73 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
286166
286791
|
/* harmony export */ });
|
|
286167
286792
|
/* harmony import */ var _common_XmlParser_XmlParser__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../common/XmlParser/XmlParser */ "./Generator/src/common/XmlParser/XmlParser.ts");
|
|
286168
286793
|
/* harmony import */ var _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../markupGenerator/Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
286169
|
-
/* harmony import */ var
|
|
286794
|
+
/* harmony import */ var _common_KCLang_KCLangToXmlTranspiler__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../common/KCLang/KCLangToXmlTranspiler */ "./Generator/src/common/KCLang/KCLangToXmlTranspiler.ts");
|
|
286795
|
+
/* harmony import */ var _Formula__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Formula */ "./Generator/src/generators/AutoCalculationsGenerator/AutoCalculationsFromFormulas/KCXmlContract/Formula.ts");
|
|
286796
|
+
|
|
286170
286797
|
|
|
286171
286798
|
|
|
286172
286799
|
|
|
286173
286800
|
class FormulaReader {
|
|
286174
|
-
readFormulas(
|
|
286801
|
+
readFormulas(kcxmlSources, kclangSources) {
|
|
286175
286802
|
const serializer = this.createFormulaSerializer();
|
|
286176
|
-
const result =
|
|
286803
|
+
const result = [];
|
|
286804
|
+
|
|
286805
|
+
for (const kcxmlSource of kcxmlSources) {
|
|
286806
|
+
const rootNode = serializer.deserializeFromSugarXmlNode((0,_common_XmlParser_XmlParser__WEBPACK_IMPORTED_MODULE_0__.parseXml)(kcxmlSource));
|
|
286177
286807
|
|
|
286178
|
-
|
|
286179
|
-
|
|
286808
|
+
if (rootNode instanceof _Formula__WEBPACK_IMPORTED_MODULE_3__.MathContainer) {
|
|
286809
|
+
var _rootNode$formulas$it, _rootNode$formulas;
|
|
286810
|
+
|
|
286811
|
+
result.push(...((_rootNode$formulas$it = (_rootNode$formulas = rootNode.formulas) === null || _rootNode$formulas === void 0 ? void 0 : _rootNode$formulas.items) !== null && _rootNode$formulas$it !== void 0 ? _rootNode$formulas$it : []));
|
|
286812
|
+
}
|
|
286813
|
+
}
|
|
286814
|
+
|
|
286815
|
+
for (const kclangSource of kclangSources) {
|
|
286816
|
+
const rootNode = serializer.deserializeFromSugarXmlNode((0,_common_XmlParser_XmlParser__WEBPACK_IMPORTED_MODULE_0__.parseXml)(_common_KCLang_KCLangToXmlTranspiler__WEBPACK_IMPORTED_MODULE_2__.KCLangToXmlTranspiler.transpile(kclangSource)));
|
|
286817
|
+
|
|
286818
|
+
if (rootNode instanceof _Formula__WEBPACK_IMPORTED_MODULE_3__.MathContainer) {
|
|
286819
|
+
var _rootNode$formulas$it2, _rootNode$formulas2;
|
|
286820
|
+
|
|
286821
|
+
result.push(...((_rootNode$formulas$it2 = (_rootNode$formulas2 = rootNode.formulas) === null || _rootNode$formulas2 === void 0 ? void 0 : _rootNode$formulas2.items) !== null && _rootNode$formulas$it2 !== void 0 ? _rootNode$formulas$it2 : []));
|
|
286822
|
+
}
|
|
286180
286823
|
}
|
|
286181
286824
|
|
|
286182
286825
|
return result;
|
|
286183
286826
|
}
|
|
286184
286827
|
|
|
286185
|
-
|
|
286186
|
-
const
|
|
286187
|
-
|
|
286188
|
-
|
|
286189
|
-
|
|
286828
|
+
readConditions(kcxmlSources, kclangSources) {
|
|
286829
|
+
const serializer = this.createFormulaSerializer();
|
|
286830
|
+
const result = [];
|
|
286831
|
+
|
|
286832
|
+
for (const kcxmlSource of kcxmlSources) {
|
|
286833
|
+
const rootNode = serializer.deserializeFromSugarXmlNode((0,_common_XmlParser_XmlParser__WEBPACK_IMPORTED_MODULE_0__.parseXml)(kcxmlSource));
|
|
286834
|
+
|
|
286835
|
+
if (rootNode instanceof _Formula__WEBPACK_IMPORTED_MODULE_3__.MathContainer) {
|
|
286836
|
+
var _rootNode$conditions$, _rootNode$conditions;
|
|
286837
|
+
|
|
286838
|
+
result.push(...((_rootNode$conditions$ = (_rootNode$conditions = rootNode.conditions) === null || _rootNode$conditions === void 0 ? void 0 : _rootNode$conditions.items) !== null && _rootNode$conditions$ !== void 0 ? _rootNode$conditions$ : []));
|
|
286839
|
+
}
|
|
286840
|
+
}
|
|
286841
|
+
|
|
286842
|
+
for (const kclangSource of kclangSources) {
|
|
286843
|
+
const rootNode = serializer.deserializeFromSugarXmlNode((0,_common_XmlParser_XmlParser__WEBPACK_IMPORTED_MODULE_0__.parseXml)(_common_KCLang_KCLangToXmlTranspiler__WEBPACK_IMPORTED_MODULE_2__.KCLangToXmlTranspiler.transpile(kclangSource)));
|
|
286844
|
+
|
|
286845
|
+
if (rootNode instanceof _Formula__WEBPACK_IMPORTED_MODULE_3__.MathContainer) {
|
|
286846
|
+
var _rootNode$conditions$2, _rootNode$conditions2;
|
|
286847
|
+
|
|
286848
|
+
result.push(...((_rootNode$conditions$2 = (_rootNode$conditions2 = rootNode.conditions) === null || _rootNode$conditions2 === void 0 ? void 0 : _rootNode$conditions2.items) !== null && _rootNode$conditions$2 !== void 0 ? _rootNode$conditions$2 : []));
|
|
286849
|
+
}
|
|
286850
|
+
}
|
|
286851
|
+
|
|
286852
|
+
return result;
|
|
286190
286853
|
}
|
|
286191
286854
|
|
|
286192
286855
|
createFormulaSerializer() {
|
|
286193
286856
|
const result = new _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.SugarSerializer();
|
|
286194
|
-
result.registerNode(
|
|
286195
|
-
result.registerNode(
|
|
286857
|
+
result.registerNode(_Formula__WEBPACK_IMPORTED_MODULE_3__.DummyContent);
|
|
286858
|
+
result.registerNode(_Formula__WEBPACK_IMPORTED_MODULE_3__.MathContainer);
|
|
286196
286859
|
|
|
286197
|
-
for (const formulaExpression of
|
|
286860
|
+
for (const formulaExpression of _Formula__WEBPACK_IMPORTED_MODULE_3__.formulaExpressions) {
|
|
286198
286861
|
result.registerNode(formulaExpression);
|
|
286199
286862
|
}
|
|
286200
286863
|
|
|
@@ -287899,11 +288562,9 @@ class KCXmlValidationGenerator {
|
|
|
287899
288562
|
const conditionReader = new _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_FormulaReader__WEBPACK_IMPORTED_MODULE_2__.FormulaReader();
|
|
287900
288563
|
|
|
287901
288564
|
for (const file of importedKcXmlValidations) {
|
|
287902
|
-
const
|
|
287903
|
-
|
|
287904
|
-
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 : []) {
|
|
287905
|
-
var _math$conditions$item, _math$conditions;
|
|
288565
|
+
const conditions = conditionReader.readConditions([file], []);
|
|
287906
288566
|
|
|
288567
|
+
for (const condition of conditions) {
|
|
287907
288568
|
compiledConditions.push(this.compileCondition(condition));
|
|
287908
288569
|
}
|
|
287909
288570
|
}
|
|
@@ -288086,7 +288747,7 @@ function processSugar(formSugarContent, additionalContent, generationOptions) {
|
|
|
288086
288747
|
const sugarAst = (0,_common_SugarXmlParser_SugarParser__WEBPACK_IMPORTED_MODULE_4__.parseSugar)(formSugarContent, additionalContent.preprocessor || {});
|
|
288087
288748
|
const serializer = (0,_markupGenerator_SugarNodes_DefaultSugarSerializer__WEBPACK_IMPORTED_MODULE_12__.createDefaultSugarSerializer)();
|
|
288088
288749
|
const sugarRoot = (0,_markupGenerator_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_13__.strictCastNode)(serializer.deserializeFromSugarXmlNode(sugarAst), _markupGenerator_ElementProcessors_FormParts_Form_FormNode__WEBPACK_IMPORTED_MODULE_10__.FormNode);
|
|
288089
|
-
const formulas = new _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_FormulaReader__WEBPACK_IMPORTED_MODULE_16__.FormulaReader().readFormulas(additionalContent.kcJsXmlContent);
|
|
288750
|
+
const formulas = new _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_FormulaReader__WEBPACK_IMPORTED_MODULE_16__.FormulaReader().readFormulas(additionalContent.kcJsXmlContent, additionalContent.kclangAutocaclulationsContent);
|
|
288090
288751
|
const schemaRng = (0,_common_XmlParser_XmlParser__WEBPACK_IMPORTED_MODULE_5__.parseXml)(additionalContent.schemaRngContent);
|
|
288091
288752
|
const formSchemaRng = _common_SchemaRng_FormSchemaRng__WEBPACK_IMPORTED_MODULE_3__.FormSchemaRng.createFromSchemaRng(additionalContent.schemaRngContent);
|
|
288092
288753
|
const typeRegistry = (0,_validationGenerator_TypesRegistry__WEBPACK_IMPORTED_MODULE_14__.buildTypesRegistry)(sugarRoot);
|
|
@@ -288211,20 +288872,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
288211
288872
|
/* harmony import */ var fs__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(fs__WEBPACK_IMPORTED_MODULE_0__);
|
|
288212
288873
|
/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! path */ "path");
|
|
288213
288874
|
/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(path__WEBPACK_IMPORTED_MODULE_1__);
|
|
288214
|
-
/* harmony import */ var
|
|
288215
|
-
/* harmony import */ var
|
|
288216
|
-
/* harmony import */ var
|
|
288217
|
-
/* harmony import */ var
|
|
288218
|
-
/* harmony import */ var
|
|
288219
|
-
/* harmony import */ var
|
|
288220
|
-
/* harmony import */ var
|
|
288221
|
-
/* harmony import */ var
|
|
288222
|
-
/* harmony import */ var
|
|
288223
|
-
/* harmony import */ var
|
|
288224
|
-
/* harmony import */ var
|
|
288225
|
-
/* harmony import */ var recursive_readdir__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(recursive_readdir__WEBPACK_IMPORTED_MODULE_7__);
|
|
288226
|
-
/* harmony import */ var _common_ExtractSugarReferences__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../common/ExtractSugarReferences */ "./Generator/src/common/ExtractSugarReferences.ts");
|
|
288227
|
-
|
|
288875
|
+
/* harmony import */ var chalk__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! chalk */ "./node_modules/chalk/source/index.js");
|
|
288876
|
+
/* harmony import */ var chalk__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(chalk__WEBPACK_IMPORTED_MODULE_2__);
|
|
288877
|
+
/* harmony import */ var fs_extra__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! fs-extra */ "./node_modules/fs-extra/lib/index.js");
|
|
288878
|
+
/* harmony import */ var fs_extra__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(fs_extra__WEBPACK_IMPORTED_MODULE_3__);
|
|
288879
|
+
/* harmony import */ var md5__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! md5 */ "./node_modules/md5/md5.js");
|
|
288880
|
+
/* harmony import */ var md5__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(md5__WEBPACK_IMPORTED_MODULE_4__);
|
|
288881
|
+
/* harmony import */ var md5_file__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! md5-file */ "./node_modules/md5-file/index.js");
|
|
288882
|
+
/* harmony import */ var md5_file__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(md5_file__WEBPACK_IMPORTED_MODULE_5__);
|
|
288883
|
+
/* harmony import */ var recursive_readdir__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! recursive-readdir */ "./node_modules/recursive-readdir/index.js");
|
|
288884
|
+
/* harmony import */ var recursive_readdir__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(recursive_readdir__WEBPACK_IMPORTED_MODULE_6__);
|
|
288885
|
+
/* harmony import */ var _common_ExtractSugarReferences__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../common/ExtractSugarReferences */ "./Generator/src/common/ExtractSugarReferences.ts");
|
|
288228
288886
|
|
|
288229
288887
|
|
|
288230
288888
|
|
|
@@ -288233,9 +288891,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
288233
288891
|
|
|
288234
288892
|
|
|
288235
288893
|
|
|
288236
|
-
const statAsync = (0,util__WEBPACK_IMPORTED_MODULE_2__.promisify)(fs__WEBPACK_IMPORTED_MODULE_0__.stat);
|
|
288237
|
-
const readFileAsync = (0,util__WEBPACK_IMPORTED_MODULE_2__.promisify)(fs__WEBPACK_IMPORTED_MODULE_0__.readFile);
|
|
288238
|
-
const readdirAsync = (0,util__WEBPACK_IMPORTED_MODULE_2__.promisify)(fs__WEBPACK_IMPORTED_MODULE_0__.readdir);
|
|
288239
288894
|
async function readFormSources(formSourcesPath, farmDirectory) {
|
|
288240
288895
|
var _JSON$parse$settings;
|
|
288241
288896
|
|
|
@@ -288247,9 +288902,9 @@ async function readFormSources(formSourcesPath, farmDirectory) {
|
|
|
288247
288902
|
|
|
288248
288903
|
if (sugarReferences.fetchFunctionFiles.length === 0) {
|
|
288249
288904
|
// eslint-disable-next-line no-console
|
|
288250
|
-
console.warn(
|
|
288905
|
+
console.warn(chalk__WEBPACK_IMPORTED_MODULE_2___default().yellow(`[WARN] Форма не содержит ссылок на fetch-функции. Будут автоматически подключены функции из каталога legacyfetchfuctions\n` + `[WARN] В будущем необходимо явно прописывать ссылки на используемые fetch-функции`));
|
|
288251
288906
|
const legacyfetchfunctionsDirectory = path__WEBPACK_IMPORTED_MODULE_1___default().join(farmDirectory, "legacyfetchfunctions");
|
|
288252
|
-
sugarReferences.fetchFunctionFiles = (await
|
|
288907
|
+
sugarReferences.fetchFunctionFiles = (await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readdir)(legacyfetchfunctionsDirectory)).map(x => path__WEBPACK_IMPORTED_MODULE_1___default().resolve(legacyfetchfunctionsDirectory, x));
|
|
288253
288908
|
}
|
|
288254
288909
|
|
|
288255
288910
|
const result = {
|
|
@@ -288259,11 +288914,12 @@ async function readFormSources(formSourcesPath, farmDirectory) {
|
|
|
288259
288914
|
formSourcesPath: formSourcesPath,
|
|
288260
288915
|
formJsonSettings: (_JSON$parse$settings = JSON.parse(await readFileSource(formSourcesPath, "form.json", "{}"))["settings"]) !== null && _JSON$parse$settings !== void 0 ? _JSON$parse$settings : {},
|
|
288261
288916
|
additionalSettings: await readFileSource(formSourcesPath, "settings.json", "{}"),
|
|
288262
|
-
autocalcsContent: await
|
|
288917
|
+
autocalcsContent: await readFilesFromDir(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "autocalc"), /\.js$/),
|
|
288263
288918
|
helpersContent: await readJavaScriptFilesWithNames(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "helpers")),
|
|
288264
288919
|
validationsContent: await readJavaScriptFilesWithNames(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "validations")),
|
|
288265
288920
|
schemaRngContent: await readSchemaRngFile(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "schemas"), formName),
|
|
288266
|
-
kcJsXmlContent:
|
|
288921
|
+
kcJsXmlContent: await readFilesFromDir(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "autocalc"), /\.(KC|КС|КC|KС|КС\.candy\.js).xml$/),
|
|
288922
|
+
kclangAutocaclulationsContent: await readFilesFromDir(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "autocalc"), /\.kclang$/),
|
|
288267
288923
|
tourSteps: await readFileSource(path__WEBPACK_IMPORTED_MODULE_1___default().join(rootPath, "tour"), "tour.js", "{}"),
|
|
288268
288924
|
hooksContent: await readHooksFile(formSourcesPath),
|
|
288269
288925
|
customControlsContent: await readCustomControlsFiles(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "controls")),
|
|
@@ -288307,7 +288963,7 @@ function evalModule(moduleCode) {
|
|
|
288307
288963
|
|
|
288308
288964
|
async function isDirectoryExists(directoryPath) {
|
|
288309
288965
|
try {
|
|
288310
|
-
const dirStat = await
|
|
288966
|
+
const dirStat = await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.stat)(directoryPath);
|
|
288311
288967
|
return dirStat.isDirectory();
|
|
288312
288968
|
} catch (ignoreError) {
|
|
288313
288969
|
return false;
|
|
@@ -288318,27 +288974,27 @@ async function readFiles(filePaths) {
|
|
|
288318
288974
|
const result = [];
|
|
288319
288975
|
|
|
288320
288976
|
for (const filePath of filePaths) {
|
|
288321
|
-
result.push(await
|
|
288977
|
+
result.push(await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readFile)(filePath, "utf-8"));
|
|
288322
288978
|
}
|
|
288323
288979
|
|
|
288324
288980
|
return result;
|
|
288325
288981
|
}
|
|
288326
288982
|
|
|
288327
288983
|
async function extractReferences(formSugarDirectoryPath) {
|
|
288328
|
-
const indexContent = await
|
|
288329
|
-
return (0,
|
|
288984
|
+
const indexContent = await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readFile)(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSugarDirectoryPath, "index.sugar.xml"), "utf-8");
|
|
288985
|
+
return (0,_common_ExtractSugarReferences__WEBPACK_IMPORTED_MODULE_7__.extractSugarReferences)(indexContent, filePath => (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readFile)(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSugarDirectoryPath, filePath), "utf-8"));
|
|
288330
288986
|
}
|
|
288331
288987
|
|
|
288332
288988
|
async function getAllFilePathsInDirectory(directoryPath, _filelist) {
|
|
288333
|
-
if (!(await (0,
|
|
288989
|
+
if (!(await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.pathExists)(directoryPath))) {
|
|
288334
288990
|
return [];
|
|
288335
288991
|
}
|
|
288336
288992
|
|
|
288337
|
-
const files = await
|
|
288993
|
+
const files = await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readdir)(directoryPath);
|
|
288338
288994
|
let filelist = _filelist || [];
|
|
288339
288995
|
|
|
288340
288996
|
for (const file of files) {
|
|
288341
|
-
if ((await
|
|
288997
|
+
if ((await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.stat)(path__WEBPACK_IMPORTED_MODULE_1___default().join(directoryPath, file))).isDirectory()) {
|
|
288342
288998
|
filelist = await getAllFilePathsInDirectory(path__WEBPACK_IMPORTED_MODULE_1___default().join(directoryPath, file), filelist);
|
|
288343
288999
|
} else {
|
|
288344
289000
|
filelist.push(path__WEBPACK_IMPORTED_MODULE_1___default().join(directoryPath, file));
|
|
@@ -288349,7 +289005,7 @@ async function getAllFilePathsInDirectory(directoryPath, _filelist) {
|
|
|
288349
289005
|
}
|
|
288350
289006
|
|
|
288351
289007
|
async function checkFileExists(filePath) {
|
|
288352
|
-
if (!(await (0,
|
|
289008
|
+
if (!(await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.pathExists)(filePath))) {
|
|
288353
289009
|
return [];
|
|
288354
289010
|
}
|
|
288355
289011
|
|
|
@@ -288362,7 +289018,7 @@ async function getAllDependencies(formSourcesPath, farmDirectory) {
|
|
|
288362
289018
|
|
|
288363
289019
|
if (sugarReferences.fetchFunctionFiles.length === 0) {
|
|
288364
289020
|
const legacyfetchfunctionsDirectory = path__WEBPACK_IMPORTED_MODULE_1___default().join(farmDirectory, "legacyfetchfunctions");
|
|
288365
|
-
sugarReferences.fetchFunctionFiles = (await
|
|
289021
|
+
sugarReferences.fetchFunctionFiles = (await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readdir)(legacyfetchfunctionsDirectory)).map(x => path__WEBPACK_IMPORTED_MODULE_1___default().resolve(legacyfetchfunctionsDirectory, x));
|
|
288366
289022
|
}
|
|
288367
289023
|
|
|
288368
289024
|
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")))];
|
|
@@ -288375,23 +289031,23 @@ function normalizeLineEndings(content) {
|
|
|
288375
289031
|
async function getAllDependenciesHash(formSourcesPath, farmDirectory) {
|
|
288376
289032
|
const allDeps = await getAllDependencies(formSourcesPath, farmDirectory);
|
|
288377
289033
|
const hashes = await Promise.all(allDeps.map(async depFilePath => {
|
|
288378
|
-
if ([".js", ".xml", ".xslt", ".json"].some(ext => depFilePath.endsWith(ext))) {
|
|
288379
|
-
let content = await
|
|
289034
|
+
if ([".js", ".kclang", ".xml", ".xslt", ".json"].some(ext => depFilePath.endsWith(ext))) {
|
|
289035
|
+
let content = await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readFile)(depFilePath, "utf-8");
|
|
288380
289036
|
content = normalizeLineEndings(content);
|
|
288381
|
-
return
|
|
289037
|
+
return md5__WEBPACK_IMPORTED_MODULE_4___default()(content);
|
|
288382
289038
|
}
|
|
288383
289039
|
|
|
288384
|
-
return
|
|
289040
|
+
return md5_file__WEBPACK_IMPORTED_MODULE_5___default()(depFilePath);
|
|
288385
289041
|
}));
|
|
288386
|
-
return
|
|
289042
|
+
return md5__WEBPACK_IMPORTED_MODULE_4___default()(hashes.join(""));
|
|
288387
289043
|
}
|
|
288388
289044
|
async function readSugarFiles(formSugarDirectoryPath, references) {
|
|
288389
289045
|
const result = {
|
|
288390
|
-
"./index": await
|
|
289046
|
+
"./index": await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readFile)(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSugarDirectoryPath, "index.sugar.xml"), "utf-8")
|
|
288391
289047
|
};
|
|
288392
289048
|
|
|
288393
289049
|
for (const sugarPath of references.sugarFiles) {
|
|
288394
|
-
const sugarModuleContent = await
|
|
289050
|
+
const sugarModuleContent = await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readFile)(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSugarDirectoryPath, sugarPath + ".sugar.xml"), "utf-8");
|
|
288395
289051
|
result[sugarPath] = sugarModuleContent;
|
|
288396
289052
|
}
|
|
288397
289053
|
|
|
@@ -288403,11 +289059,11 @@ async function readCustomControlsFiles(formSugarDirectoryPath) {
|
|
|
288403
289059
|
return {};
|
|
288404
289060
|
}
|
|
288405
289061
|
|
|
288406
|
-
const fileNames = await
|
|
289062
|
+
const fileNames = await recursive_readdir__WEBPACK_IMPORTED_MODULE_6___default()(formSugarDirectoryPath);
|
|
288407
289063
|
const result = {};
|
|
288408
289064
|
|
|
288409
289065
|
for (const fileName of fileNames) {
|
|
288410
|
-
const sugarModuleContent = await
|
|
289066
|
+
const sugarModuleContent = await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readFile)(fileName, "utf-8");
|
|
288411
289067
|
const relativeFileName = ("controls\\" + fileName.replace(formSugarDirectoryPath + "\\", "")).replace(/\\/g, "/");
|
|
288412
289068
|
result[relativeFileName] = sugarModuleContent;
|
|
288413
289069
|
}
|
|
@@ -288415,23 +289071,23 @@ async function readCustomControlsFiles(formSugarDirectoryPath) {
|
|
|
288415
289071
|
return result;
|
|
288416
289072
|
}
|
|
288417
289073
|
|
|
288418
|
-
async function
|
|
288419
|
-
|
|
288420
|
-
const files = await readdirAsync(formAutoCalcPath);
|
|
288421
|
-
const jsFiles = files.filter(filename => /\.js$/.test(filename));
|
|
288422
|
-
return Promise.all(jsFiles.map(filename => readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formAutoCalcPath, filename), "utf-8")));
|
|
288423
|
-
} catch (ignoreError) {
|
|
289074
|
+
async function readFilesFromDir(directoryPath, fileNameTest) {
|
|
289075
|
+
if (!(await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.pathExists)(directoryPath))) {
|
|
288424
289076
|
return [];
|
|
288425
289077
|
}
|
|
289078
|
+
|
|
289079
|
+
const files = await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readdir)(directoryPath);
|
|
289080
|
+
const jsFiles = files.filter(filename => fileNameTest.test(filename));
|
|
289081
|
+
return Promise.all(jsFiles.map(filename => (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readFile)(path__WEBPACK_IMPORTED_MODULE_1___default().join(directoryPath, filename), "utf-8")));
|
|
288426
289082
|
}
|
|
288427
289083
|
|
|
288428
289084
|
async function readImportedFiles(rootPath) {
|
|
288429
289085
|
try {
|
|
288430
289086
|
const result = {};
|
|
288431
|
-
const files = await
|
|
289087
|
+
const files = await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readdir)(path__WEBPACK_IMPORTED_MODULE_1___default().join(rootPath, "validations"));
|
|
288432
289088
|
|
|
288433
289089
|
for (const fileName of files) {
|
|
288434
|
-
result["../validations/" + fileName] = await
|
|
289090
|
+
result["../validations/" + fileName] = await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readFile)(path__WEBPACK_IMPORTED_MODULE_1___default().join(rootPath, "validations", fileName), "utf-8");
|
|
288435
289091
|
}
|
|
288436
289092
|
|
|
288437
289093
|
return result;
|
|
@@ -288442,11 +289098,11 @@ async function readImportedFiles(rootPath) {
|
|
|
288442
289098
|
|
|
288443
289099
|
async function readJavaScriptFilesWithNames(formJavaScriptFilesPath) {
|
|
288444
289100
|
try {
|
|
288445
|
-
const files = await
|
|
289101
|
+
const files = await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readdir)(formJavaScriptFilesPath);
|
|
288446
289102
|
const jsFiles = files.filter(filename => /\.js$/.test(filename));
|
|
288447
289103
|
return Promise.all(jsFiles.map(async filename => ({
|
|
288448
289104
|
filename: path__WEBPACK_IMPORTED_MODULE_1___default().parse(filename).name,
|
|
288449
|
-
content: await
|
|
289105
|
+
content: await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readFile)(path__WEBPACK_IMPORTED_MODULE_1___default().join(formJavaScriptFilesPath, filename), "utf-8")
|
|
288450
289106
|
})));
|
|
288451
289107
|
} catch (ignoreError) {
|
|
288452
289108
|
return [];
|
|
@@ -288457,7 +289113,7 @@ async function connectJSFilesWithNames(formJavaScriptFilesPath) {
|
|
|
288457
289113
|
let jsFiles;
|
|
288458
289114
|
|
|
288459
289115
|
try {
|
|
288460
|
-
const files = await
|
|
289116
|
+
const files = await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readdir)(formJavaScriptFilesPath);
|
|
288461
289117
|
jsFiles = files.filter(filename => /\.js$/.test(filename));
|
|
288462
289118
|
const result = [];
|
|
288463
289119
|
|
|
@@ -288465,7 +289121,7 @@ async function connectJSFilesWithNames(formJavaScriptFilesPath) {
|
|
|
288465
289121
|
result.push({
|
|
288466
289122
|
filename: path__WEBPACK_IMPORTED_MODULE_1___default().parse(filename).name,
|
|
288467
289123
|
// tslint:disable-next-line no-unsafe-any
|
|
288468
|
-
content: evalModule(await
|
|
289124
|
+
content: evalModule(await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readFile)(path__WEBPACK_IMPORTED_MODULE_1___default().join(formJavaScriptFilesPath, filename), "utf-8"))
|
|
288469
289125
|
});
|
|
288470
289126
|
}
|
|
288471
289127
|
|
|
@@ -288476,16 +289132,16 @@ async function connectJSFilesWithNames(formJavaScriptFilesPath) {
|
|
|
288476
289132
|
}
|
|
288477
289133
|
|
|
288478
289134
|
function readSchemaRngFile(formSchemasPath, gfv) {
|
|
288479
|
-
return
|
|
289135
|
+
return (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readFile)(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSchemasPath, `${gfv}.rng.xml`), "utf-8");
|
|
288480
289136
|
}
|
|
288481
289137
|
|
|
288482
289138
|
function readHooksFile(formDirectoryPath) {
|
|
288483
|
-
return
|
|
289139
|
+
return (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readFile)(path__WEBPACK_IMPORTED_MODULE_1___default().join(formDirectoryPath, "hooks.js"), "utf-8").catch(() => "");
|
|
288484
289140
|
}
|
|
288485
289141
|
|
|
288486
289142
|
async function readFileSource(filePath, filename, defaultValue) {
|
|
288487
289143
|
try {
|
|
288488
|
-
return await
|
|
289144
|
+
return await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readFile)(path__WEBPACK_IMPORTED_MODULE_1___default().join(filePath, filename), "utf-8");
|
|
288489
289145
|
} catch (ingoreError) {
|
|
288490
289146
|
return defaultValue;
|
|
288491
289147
|
}
|
|
@@ -289040,18 +289696,18 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
289040
289696
|
|
|
289041
289697
|
|
|
289042
289698
|
class NormalizationRulesGenerator {
|
|
289043
|
-
constructor(sugarRoot, dataDeclarationHelper, formSchemaRng,
|
|
289699
|
+
constructor(sugarRoot, dataDeclarationHelper, formSchemaRng, formulas, typesRegistry, useSchemaValidations, controlCustomizationContext) {
|
|
289044
289700
|
this.sugarRoot = void 0;
|
|
289045
289701
|
this.dataDeclarationHelper = void 0;
|
|
289046
289702
|
this.formSchemaRng = void 0;
|
|
289047
|
-
this.
|
|
289703
|
+
this.formulas = void 0;
|
|
289048
289704
|
this.typesRegistry = void 0;
|
|
289049
289705
|
this.controlCustomizationContext = void 0;
|
|
289050
289706
|
this.useSchemaValidations = void 0;
|
|
289051
289707
|
this.sugarRoot = sugarRoot;
|
|
289052
289708
|
this.dataDeclarationHelper = dataDeclarationHelper;
|
|
289053
289709
|
this.formSchemaRng = formSchemaRng;
|
|
289054
|
-
this.
|
|
289710
|
+
this.formulas = formulas;
|
|
289055
289711
|
this.typesRegistry = typesRegistry;
|
|
289056
289712
|
this.useSchemaValidations = useSchemaValidations;
|
|
289057
289713
|
this.controlCustomizationContext = controlCustomizationContext;
|
|
@@ -289081,9 +289737,7 @@ class NormalizationRulesGenerator {
|
|
|
289081
289737
|
}
|
|
289082
289738
|
|
|
289083
289739
|
*buildFormulaFLangRules() {
|
|
289084
|
-
for (const formula of
|
|
289085
|
-
var _this$mathContainer$f, _this$mathContainer, _this$mathContainer$f2;
|
|
289086
|
-
|
|
289740
|
+
for (const formula of this.formulas) {
|
|
289087
289741
|
yield* this.buildFormulaFlashRule(formula);
|
|
289088
289742
|
}
|
|
289089
289743
|
}
|
|
@@ -297947,7 +298601,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
297947
298601
|
/* harmony import */ var _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../Serializer/DeprecationReason */ "./Generator/src/generators/markupGenerator/Serializer/DeprecationReason.ts");
|
|
297948
298602
|
/* harmony import */ var _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../Serializer/SugarNodeWithLegacyVisibility */ "./Generator/src/generators/markupGenerator/Serializer/SugarNodeWithLegacyVisibility.ts");
|
|
297949
298603
|
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
297950
|
-
|
|
298604
|
+
/* harmony import */ var _Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../Commons/DocumentationLinks */ "./Generator/src/generators/markupGenerator/ElementProcessors/Commons/DocumentationLinks.ts");
|
|
298605
|
+
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _dec24, _class4, _class5, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _dec25, _dec26, _class7, _class8, _descriptor23, _dec27, _dec28, _class10, _class11, _descriptor24, _dec29, _dec30, _dec31, _dec32, _dec33, _dec34, _dec35, _dec36, _class13, _class14, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31;
|
|
297951
298606
|
|
|
297952
298607
|
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 }); }
|
|
297953
298608
|
|
|
@@ -297959,7 +298614,8 @@ function _initializerWarningHelper(descriptor, context) { throw new Error('Decor
|
|
|
297959
298614
|
|
|
297960
298615
|
|
|
297961
298616
|
|
|
297962
|
-
|
|
298617
|
+
|
|
298618
|
+
let SimpleTableColumnNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("column", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Layout/SimpleTable sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_0__.DataBindingScopeMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("multiple", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Множественная колонка: можно добавлять несколько строк внутри одной колонки`), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("disabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Отключить редактирование для множественной колонки. Работает только если multiple=true`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("disabled2", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.javascriptExpression, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_4__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_4__.javaScriptExpressionLink)} для условного задизейбливания контрола`), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("hintOnAdd", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, `Хинт на кнопке добавления строки в множественной колонке`), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("titles", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.array(_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string), ``), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("colspan", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, `Количество объединенных колонок`), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("empty", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Рисует "x" в колонке`), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("rowspan", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, `Количество объединенных строк`), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("horizontalAlign", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("center", "left", "right"), `Выравнивание по горизонтали`), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("requiredempty", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("indent", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, `Отступ от левого края. Кратен 12px. Тоесть indent="2" -- отступ 24px`), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.lengthUnit, `Ширина колонки`), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("textTopPadding", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Добавляет фиксированный отступ от верхнего края. Работает только при использовании в grid 'top'. Применяется, если в grid есть контролы, которые могут неадекватно выравниваться по базовой линии (например, textarea)`), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("size", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, `Размер ячейки в относительных единицах`), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)(), _dec(_class = (_class2 = class SimpleTableColumnNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_2__.SugarNodeWithLegacyVisibility {
|
|
297963
298619
|
constructor(...args) {
|
|
297964
298620
|
super(...args);
|
|
297965
298621
|
|
|
@@ -297969,29 +298625,31 @@ let SimpleTableColumnNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPO
|
|
|
297969
298625
|
|
|
297970
298626
|
_initializerDefineProperty(this, "disabled", _descriptor3, this);
|
|
297971
298627
|
|
|
297972
|
-
_initializerDefineProperty(this, "
|
|
298628
|
+
_initializerDefineProperty(this, "disabled2", _descriptor4, this);
|
|
298629
|
+
|
|
298630
|
+
_initializerDefineProperty(this, "hintOnAdd", _descriptor5, this);
|
|
297973
298631
|
|
|
297974
|
-
_initializerDefineProperty(this, "titles",
|
|
298632
|
+
_initializerDefineProperty(this, "titles", _descriptor6, this);
|
|
297975
298633
|
|
|
297976
|
-
_initializerDefineProperty(this, "colspan",
|
|
298634
|
+
_initializerDefineProperty(this, "colspan", _descriptor7, this);
|
|
297977
298635
|
|
|
297978
|
-
_initializerDefineProperty(this, "empty",
|
|
298636
|
+
_initializerDefineProperty(this, "empty", _descriptor8, this);
|
|
297979
298637
|
|
|
297980
|
-
_initializerDefineProperty(this, "rowspan",
|
|
298638
|
+
_initializerDefineProperty(this, "rowspan", _descriptor9, this);
|
|
297981
298639
|
|
|
297982
|
-
_initializerDefineProperty(this, "horizontalAlign",
|
|
298640
|
+
_initializerDefineProperty(this, "horizontalAlign", _descriptor10, this);
|
|
297983
298641
|
|
|
297984
|
-
_initializerDefineProperty(this, "requiredempty",
|
|
298642
|
+
_initializerDefineProperty(this, "requiredempty", _descriptor11, this);
|
|
297985
298643
|
|
|
297986
|
-
_initializerDefineProperty(this, "indent",
|
|
298644
|
+
_initializerDefineProperty(this, "indent", _descriptor12, this);
|
|
297987
298645
|
|
|
297988
|
-
_initializerDefineProperty(this, "width",
|
|
298646
|
+
_initializerDefineProperty(this, "width", _descriptor13, this);
|
|
297989
298647
|
|
|
297990
|
-
_initializerDefineProperty(this, "textTopPadding",
|
|
298648
|
+
_initializerDefineProperty(this, "textTopPadding", _descriptor14, this);
|
|
297991
298649
|
|
|
297992
|
-
_initializerDefineProperty(this, "size",
|
|
298650
|
+
_initializerDefineProperty(this, "size", _descriptor15, this);
|
|
297993
298651
|
|
|
297994
|
-
_initializerDefineProperty(this, "children",
|
|
298652
|
+
_initializerDefineProperty(this, "children", _descriptor16, this);
|
|
297995
298653
|
}
|
|
297996
298654
|
|
|
297997
298655
|
getOwnPath() {
|
|
@@ -298019,162 +298677,167 @@ let SimpleTableColumnNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPO
|
|
|
298019
298677
|
enumerable: true,
|
|
298020
298678
|
writable: true,
|
|
298021
298679
|
initializer: null
|
|
298022
|
-
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
298680
|
+
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "disabled2", [_dec5], {
|
|
298023
298681
|
configurable: true,
|
|
298024
298682
|
enumerable: true,
|
|
298025
298683
|
writable: true,
|
|
298026
298684
|
initializer: null
|
|
298027
|
-
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
298685
|
+
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "hintOnAdd", [_dec6], {
|
|
298028
298686
|
configurable: true,
|
|
298029
298687
|
enumerable: true,
|
|
298030
298688
|
writable: true,
|
|
298031
298689
|
initializer: null
|
|
298032
|
-
}), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
298690
|
+
}), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "titles", [_dec7], {
|
|
298033
298691
|
configurable: true,
|
|
298034
298692
|
enumerable: true,
|
|
298035
298693
|
writable: true,
|
|
298036
298694
|
initializer: null
|
|
298037
|
-
}), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
298695
|
+
}), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, "colspan", [_dec8], {
|
|
298038
298696
|
configurable: true,
|
|
298039
298697
|
enumerable: true,
|
|
298040
298698
|
writable: true,
|
|
298041
298699
|
initializer: null
|
|
298042
|
-
}), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
298700
|
+
}), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "empty", [_dec9], {
|
|
298043
298701
|
configurable: true,
|
|
298044
298702
|
enumerable: true,
|
|
298045
298703
|
writable: true,
|
|
298046
298704
|
initializer: null
|
|
298047
|
-
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
298705
|
+
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "rowspan", [_dec10], {
|
|
298048
298706
|
configurable: true,
|
|
298049
298707
|
enumerable: true,
|
|
298050
298708
|
writable: true,
|
|
298051
298709
|
initializer: null
|
|
298052
|
-
}), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
298710
|
+
}), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, "horizontalAlign", [_dec11], {
|
|
298053
298711
|
configurable: true,
|
|
298054
298712
|
enumerable: true,
|
|
298055
298713
|
writable: true,
|
|
298056
298714
|
initializer: null
|
|
298057
|
-
}), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
298715
|
+
}), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, "requiredempty", [_dec12], {
|
|
298058
298716
|
configurable: true,
|
|
298059
298717
|
enumerable: true,
|
|
298060
298718
|
writable: true,
|
|
298061
298719
|
initializer: null
|
|
298062
|
-
}), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
298720
|
+
}), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, "indent", [_dec13], {
|
|
298063
298721
|
configurable: true,
|
|
298064
298722
|
enumerable: true,
|
|
298065
298723
|
writable: true,
|
|
298066
298724
|
initializer: null
|
|
298067
|
-
}), _descriptor13 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
298725
|
+
}), _descriptor13 = _applyDecoratedDescriptor(_class2.prototype, "width", [_dec14], {
|
|
298068
298726
|
configurable: true,
|
|
298069
298727
|
enumerable: true,
|
|
298070
298728
|
writable: true,
|
|
298071
298729
|
initializer: null
|
|
298072
|
-
}), _descriptor14 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
298730
|
+
}), _descriptor14 = _applyDecoratedDescriptor(_class2.prototype, "textTopPadding", [_dec15], {
|
|
298073
298731
|
configurable: true,
|
|
298074
298732
|
enumerable: true,
|
|
298075
298733
|
writable: true,
|
|
298076
298734
|
initializer: null
|
|
298077
|
-
}), _descriptor15 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
298735
|
+
}), _descriptor15 = _applyDecoratedDescriptor(_class2.prototype, "size", [_dec16], {
|
|
298736
|
+
configurable: true,
|
|
298737
|
+
enumerable: true,
|
|
298738
|
+
writable: true,
|
|
298739
|
+
initializer: null
|
|
298740
|
+
}), _descriptor16 = _applyDecoratedDescriptor(_class2.prototype, "children", [_dec17], {
|
|
298078
298741
|
configurable: true,
|
|
298079
298742
|
enumerable: true,
|
|
298080
298743
|
writable: true,
|
|
298081
298744
|
initializer: null
|
|
298082
298745
|
})), _class2)) || _class);
|
|
298083
|
-
let SimpleTableRowNode = (
|
|
298746
|
+
let SimpleTableRowNode = (_dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("row", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Layout/SimpleTable sync recursive .md$")), _dec19 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_0__.DataBindingScopeMixinNode), _dec20 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec21 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.deprecatedAttr)("borderBottom", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.InvalidUsage), _dec22 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("kind", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("head", "hr"), ``), _dec23 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("subkind", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("numbers"), ``), _dec24 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)("column", [SimpleTableColumnNode]), _dec18(_class4 = (_class5 = class SimpleTableRowNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
298084
298747
|
constructor(...args) {
|
|
298085
298748
|
super(...args);
|
|
298086
298749
|
|
|
298087
|
-
_initializerDefineProperty(this, "dataScope",
|
|
298750
|
+
_initializerDefineProperty(this, "dataScope", _descriptor17, this);
|
|
298088
298751
|
|
|
298089
|
-
_initializerDefineProperty(this, "optional",
|
|
298752
|
+
_initializerDefineProperty(this, "optional", _descriptor18, this);
|
|
298090
298753
|
|
|
298091
|
-
_initializerDefineProperty(this, "borderBottom",
|
|
298754
|
+
_initializerDefineProperty(this, "borderBottom", _descriptor19, this);
|
|
298092
298755
|
|
|
298093
|
-
_initializerDefineProperty(this, "kind",
|
|
298756
|
+
_initializerDefineProperty(this, "kind", _descriptor20, this);
|
|
298094
298757
|
|
|
298095
|
-
_initializerDefineProperty(this, "subkind",
|
|
298758
|
+
_initializerDefineProperty(this, "subkind", _descriptor21, this);
|
|
298096
298759
|
|
|
298097
|
-
_initializerDefineProperty(this, "columns",
|
|
298760
|
+
_initializerDefineProperty(this, "columns", _descriptor22, this);
|
|
298098
298761
|
}
|
|
298099
298762
|
|
|
298100
298763
|
getOwnPath() {
|
|
298101
298764
|
return this.dataScope.getOwnPath();
|
|
298102
298765
|
}
|
|
298103
298766
|
|
|
298104
|
-
}, (
|
|
298767
|
+
}, (_descriptor17 = _applyDecoratedDescriptor(_class5.prototype, "dataScope", [_dec19], {
|
|
298105
298768
|
configurable: true,
|
|
298106
298769
|
enumerable: true,
|
|
298107
298770
|
writable: true,
|
|
298108
298771
|
initializer: null
|
|
298109
|
-
}),
|
|
298772
|
+
}), _descriptor18 = _applyDecoratedDescriptor(_class5.prototype, "optional", [_dec20], {
|
|
298110
298773
|
configurable: true,
|
|
298111
298774
|
enumerable: true,
|
|
298112
298775
|
writable: true,
|
|
298113
298776
|
initializer: null
|
|
298114
|
-
}),
|
|
298777
|
+
}), _descriptor19 = _applyDecoratedDescriptor(_class5.prototype, "borderBottom", [_dec21], {
|
|
298115
298778
|
configurable: true,
|
|
298116
298779
|
enumerable: true,
|
|
298117
298780
|
writable: true,
|
|
298118
298781
|
initializer: null
|
|
298119
|
-
}),
|
|
298782
|
+
}), _descriptor20 = _applyDecoratedDescriptor(_class5.prototype, "kind", [_dec22], {
|
|
298120
298783
|
configurable: true,
|
|
298121
298784
|
enumerable: true,
|
|
298122
298785
|
writable: true,
|
|
298123
298786
|
initializer: null
|
|
298124
|
-
}),
|
|
298787
|
+
}), _descriptor21 = _applyDecoratedDescriptor(_class5.prototype, "subkind", [_dec23], {
|
|
298125
298788
|
configurable: true,
|
|
298126
298789
|
enumerable: true,
|
|
298127
298790
|
writable: true,
|
|
298128
298791
|
initializer: null
|
|
298129
|
-
}),
|
|
298792
|
+
}), _descriptor22 = _applyDecoratedDescriptor(_class5.prototype, "columns", [_dec24], {
|
|
298130
298793
|
configurable: true,
|
|
298131
298794
|
enumerable: true,
|
|
298132
298795
|
writable: true,
|
|
298133
298796
|
initializer: null
|
|
298134
298797
|
})), _class5)) || _class4);
|
|
298135
|
-
let SimpleTableColgroupColumnNode = (
|
|
298798
|
+
let SimpleTableColgroupColumnNode = (_dec25 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("col", ``), _dec26 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.lengthUnit, ``), _dec25(_class7 = (_class8 = class SimpleTableColgroupColumnNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
298136
298799
|
constructor(...args) {
|
|
298137
298800
|
super(...args);
|
|
298138
298801
|
|
|
298139
|
-
_initializerDefineProperty(this, "width",
|
|
298802
|
+
_initializerDefineProperty(this, "width", _descriptor23, this);
|
|
298140
298803
|
}
|
|
298141
298804
|
|
|
298142
|
-
}, (
|
|
298805
|
+
}, (_descriptor23 = _applyDecoratedDescriptor(_class8.prototype, "width", [_dec26], {
|
|
298143
298806
|
configurable: true,
|
|
298144
298807
|
enumerable: true,
|
|
298145
298808
|
writable: true,
|
|
298146
298809
|
initializer: null
|
|
298147
298810
|
})), _class8)) || _class7);
|
|
298148
|
-
let SimpleTableColgroupNode = (
|
|
298811
|
+
let SimpleTableColgroupNode = (_dec27 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("colgroup", ``), _dec28 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)("col", [SimpleTableColgroupColumnNode]), _dec27(_class10 = (_class11 = class SimpleTableColgroupNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
298149
298812
|
constructor(...args) {
|
|
298150
298813
|
super(...args);
|
|
298151
298814
|
|
|
298152
|
-
_initializerDefineProperty(this, "cols",
|
|
298815
|
+
_initializerDefineProperty(this, "cols", _descriptor24, this);
|
|
298153
298816
|
}
|
|
298154
298817
|
|
|
298155
|
-
}, (
|
|
298818
|
+
}, (_descriptor24 = _applyDecoratedDescriptor(_class11.prototype, "cols", [_dec28], {
|
|
298156
298819
|
configurable: true,
|
|
298157
298820
|
enumerable: true,
|
|
298158
298821
|
writable: true,
|
|
298159
298822
|
initializer: null
|
|
298160
298823
|
})), _class11)) || _class10);
|
|
298161
|
-
let SimpleTableNode = (
|
|
298824
|
+
let SimpleTableNode = (_dec29 = (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")), _dec30 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("stickyHeader", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec31 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_0__.DataBindingScopeMixinNode), _dec32 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec33 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("grayColumn", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, ``), _dec34 = (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"), ``), _dec35 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.singleChild)("colgroup", [SimpleTableColgroupNode]), _dec36 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)("row", [SimpleTableRowNode]), _dec29(_class13 = (_class14 = class SimpleTableNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_2__.SugarNodeWithLegacyVisibility {
|
|
298162
298825
|
constructor(...args) {
|
|
298163
298826
|
super(...args);
|
|
298164
298827
|
|
|
298165
|
-
_initializerDefineProperty(this, "stickyHeader",
|
|
298828
|
+
_initializerDefineProperty(this, "stickyHeader", _descriptor25, this);
|
|
298166
298829
|
|
|
298167
|
-
_initializerDefineProperty(this, "dataScope",
|
|
298830
|
+
_initializerDefineProperty(this, "dataScope", _descriptor26, this);
|
|
298168
298831
|
|
|
298169
|
-
_initializerDefineProperty(this, "optional",
|
|
298832
|
+
_initializerDefineProperty(this, "optional", _descriptor27, this);
|
|
298170
298833
|
|
|
298171
|
-
_initializerDefineProperty(this, "grayColumn",
|
|
298834
|
+
_initializerDefineProperty(this, "grayColumn", _descriptor28, this);
|
|
298172
298835
|
|
|
298173
|
-
_initializerDefineProperty(this, "align",
|
|
298836
|
+
_initializerDefineProperty(this, "align", _descriptor29, this);
|
|
298174
298837
|
|
|
298175
|
-
_initializerDefineProperty(this, "colgroup",
|
|
298838
|
+
_initializerDefineProperty(this, "colgroup", _descriptor30, this);
|
|
298176
298839
|
|
|
298177
|
-
_initializerDefineProperty(this, "rows",
|
|
298840
|
+
_initializerDefineProperty(this, "rows", _descriptor31, this);
|
|
298178
298841
|
}
|
|
298179
298842
|
|
|
298180
298843
|
getOwnPath() {
|
|
@@ -298189,37 +298852,37 @@ let SimpleTableNode = (_dec28 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED
|
|
|
298189
298852
|
return this.rows.filter(row => row.kind == undefined || row.kind === "hr");
|
|
298190
298853
|
}
|
|
298191
298854
|
|
|
298192
|
-
}, (
|
|
298855
|
+
}, (_descriptor25 = _applyDecoratedDescriptor(_class14.prototype, "stickyHeader", [_dec30], {
|
|
298193
298856
|
configurable: true,
|
|
298194
298857
|
enumerable: true,
|
|
298195
298858
|
writable: true,
|
|
298196
298859
|
initializer: null
|
|
298197
|
-
}),
|
|
298860
|
+
}), _descriptor26 = _applyDecoratedDescriptor(_class14.prototype, "dataScope", [_dec31], {
|
|
298198
298861
|
configurable: true,
|
|
298199
298862
|
enumerable: true,
|
|
298200
298863
|
writable: true,
|
|
298201
298864
|
initializer: null
|
|
298202
|
-
}),
|
|
298865
|
+
}), _descriptor27 = _applyDecoratedDescriptor(_class14.prototype, "optional", [_dec32], {
|
|
298203
298866
|
configurable: true,
|
|
298204
298867
|
enumerable: true,
|
|
298205
298868
|
writable: true,
|
|
298206
298869
|
initializer: null
|
|
298207
|
-
}),
|
|
298870
|
+
}), _descriptor28 = _applyDecoratedDescriptor(_class14.prototype, "grayColumn", [_dec33], {
|
|
298208
298871
|
configurable: true,
|
|
298209
298872
|
enumerable: true,
|
|
298210
298873
|
writable: true,
|
|
298211
298874
|
initializer: null
|
|
298212
|
-
}),
|
|
298875
|
+
}), _descriptor29 = _applyDecoratedDescriptor(_class14.prototype, "align", [_dec34], {
|
|
298213
298876
|
configurable: true,
|
|
298214
298877
|
enumerable: true,
|
|
298215
298878
|
writable: true,
|
|
298216
298879
|
initializer: null
|
|
298217
|
-
}),
|
|
298880
|
+
}), _descriptor30 = _applyDecoratedDescriptor(_class14.prototype, "colgroup", [_dec35], {
|
|
298218
298881
|
configurable: true,
|
|
298219
298882
|
enumerable: true,
|
|
298220
298883
|
writable: true,
|
|
298221
298884
|
initializer: null
|
|
298222
|
-
}),
|
|
298885
|
+
}), _descriptor31 = _applyDecoratedDescriptor(_class14.prototype, "rows", [_dec36], {
|
|
298223
298886
|
configurable: true,
|
|
298224
298887
|
enumerable: true,
|
|
298225
298888
|
writable: true,
|
|
@@ -299530,6 +300193,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
299530
300193
|
/* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
|
|
299531
300194
|
/* harmony import */ var _Multilinefield_GetPluralTitles__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Multilinefield/GetPluralTitles */ "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/Multilinefield/GetPluralTitles.ts");
|
|
299532
300195
|
/* harmony import */ var _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../common/XmlParser/XmlNode */ "./Generator/src/common/XmlParser/XmlNode.ts");
|
|
300196
|
+
/* harmony import */ var _SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../SugarNodes/SugarNodeUtils */ "./Generator/src/generators/markupGenerator/SugarNodes/SugarNodeUtils.ts");
|
|
300197
|
+
|
|
299533
300198
|
|
|
299534
300199
|
|
|
299535
300200
|
|
|
@@ -299556,6 +300221,15 @@ class ColumnConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.S
|
|
|
299556
300221
|
multiLineFieldMarkupBuilder.prop(x => x.backgroundColor).set("#f3f3f3");
|
|
299557
300222
|
multiLineFieldMarkupBuilder.prop(x => x.hintOnAdd).set(node.hintOnAdd);
|
|
299558
300223
|
multiLineFieldMarkupBuilder.prop(x => x.disableButtons).set(node.disabled);
|
|
300224
|
+
|
|
300225
|
+
if (node.disabled2 != undefined) {
|
|
300226
|
+
multiLineFieldMarkupBuilder.prop(x => x.disableButtons2).set((0,_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_5__.buildExpressionPropValue)(node.disabled2));
|
|
300227
|
+
|
|
300228
|
+
if (this.getLegacyNode().getParent() != undefined) {
|
|
300229
|
+
multiLineFieldMarkupBuilder.prop(x => x.evaluatorsContextPath).set(this.getEvaluatorsContextPathExpression());
|
|
300230
|
+
}
|
|
300231
|
+
}
|
|
300232
|
+
|
|
299559
300233
|
return multiLineFieldMarkupBuilder.buildConverterResult();
|
|
299560
300234
|
} else {
|
|
299561
300235
|
if (node.disabled != undefined) {
|
|
@@ -300252,7 +300926,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
300252
300926
|
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
300253
300927
|
/* harmony import */ var _Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../Commons/DocumentationLinks */ "./Generator/src/generators/markupGenerator/ElementProcessors/Commons/DocumentationLinks.ts");
|
|
300254
300928
|
/* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
|
|
300255
|
-
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,
|
|
300929
|
+
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _dec22, _dec23, _dec24, _dec25, _class4, _class5, _descriptor21, _descriptor22, _descriptor23, _dec26, _dec27, _dec28, _dec29, _dec30, _dec31, _dec32, _dec33, _dec34, _dec35, _dec36, _dec37, _dec38, _dec39, _class7, _class8, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _descriptor36, _dec40, _dec41, _dec42, _class10, _class11, _descriptor37, _descriptor38, _dec43, _dec44, _dec45, _dec46, _dec47, _dec48, _class13, _class14, _descriptor39, _descriptor40, _descriptor41, _descriptor42, _descriptor43, _dec49, _dec50, _class16, _class17, _descriptor44, _dec51, _dec52, _class19, _class20, _descriptor45, _dec53, _dec54, _class22, _class23, _descriptor46, _dec55, _dec56, _dec57, _dec58, _dec59, _dec60, _dec61, _dec62, _dec63, _dec64, _dec65, _dec66, _dec67, _dec68, _dec69, _dec70, _dec71, _dec72, _dec73, _dec74, _dec75, _class25, _class26, _descriptor47, _descriptor48, _descriptor49, _descriptor50, _descriptor51, _descriptor52, _descriptor53, _descriptor54, _descriptor55, _descriptor56, _descriptor57, _descriptor58, _descriptor59, _descriptor60, _descriptor61, _descriptor62, _descriptor63, _descriptor64, _descriptor65, _descriptor66;
|
|
300256
300930
|
|
|
300257
300931
|
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 }); }
|
|
300258
300932
|
|
|
@@ -300266,7 +300940,7 @@ function _initializerWarningHelper(descriptor, context) { throw new Error('Decor
|
|
|
300266
300940
|
|
|
300267
300941
|
|
|
300268
300942
|
|
|
300269
|
-
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),
|
|
300943
|
+
let CrossfitTableColumnNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("column", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/CrossfitTable sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_0__.DataBindingScopeMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("multiple", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("disabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Отключить редактирование для множественной колонки. Работает только если multiple=true`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.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__.deprecatedAttr)("className", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.Removed), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.deprecatedAttr)("widths", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.Typo), _dec8 = (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), ``), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("hintOnAdd", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, ``), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("groupText", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, ``), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("key", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, ``), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("colspan", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, ``), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("hiddenGroup", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, ``), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("empty", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.lengthUnit, ``), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("rowspan", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, ``), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("horizontalAlign", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("center", "left", "right"), ``), _dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("requiredempty", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec19 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("indent", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("1", "2", "3", "4", "5"), ``), _dec20 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("grouped", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, `Поле генериться в препроцессоре`), _dec21 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)(), _dec(_class = (_class2 = class CrossfitTableColumnNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
300270
300944
|
constructor(...args) {
|
|
300271
300945
|
super(...args);
|
|
300272
300946
|
|
|
@@ -300276,37 +300950,39 @@ let CrossfitTableColumnNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IM
|
|
|
300276
300950
|
|
|
300277
300951
|
_initializerDefineProperty(this, "disabled", _descriptor3, this);
|
|
300278
300952
|
|
|
300279
|
-
_initializerDefineProperty(this, "
|
|
300953
|
+
_initializerDefineProperty(this, "disabled2", _descriptor4, this);
|
|
300280
300954
|
|
|
300281
|
-
_initializerDefineProperty(this, "
|
|
300955
|
+
_initializerDefineProperty(this, "className", _descriptor5, this);
|
|
300282
300956
|
|
|
300283
|
-
_initializerDefineProperty(this, "
|
|
300957
|
+
_initializerDefineProperty(this, "widths", _descriptor6, this);
|
|
300284
300958
|
|
|
300285
|
-
_initializerDefineProperty(this, "
|
|
300959
|
+
_initializerDefineProperty(this, "titles", _descriptor7, this);
|
|
300286
300960
|
|
|
300287
|
-
_initializerDefineProperty(this, "
|
|
300961
|
+
_initializerDefineProperty(this, "hintOnAdd", _descriptor8, this);
|
|
300288
300962
|
|
|
300289
|
-
_initializerDefineProperty(this, "
|
|
300963
|
+
_initializerDefineProperty(this, "groupText", _descriptor9, this);
|
|
300290
300964
|
|
|
300291
|
-
_initializerDefineProperty(this, "
|
|
300965
|
+
_initializerDefineProperty(this, "key", _descriptor10, this);
|
|
300292
300966
|
|
|
300293
|
-
_initializerDefineProperty(this, "
|
|
300967
|
+
_initializerDefineProperty(this, "colspan", _descriptor11, this);
|
|
300294
300968
|
|
|
300295
|
-
_initializerDefineProperty(this, "
|
|
300969
|
+
_initializerDefineProperty(this, "hiddenGroup", _descriptor12, this);
|
|
300296
300970
|
|
|
300297
|
-
_initializerDefineProperty(this, "
|
|
300971
|
+
_initializerDefineProperty(this, "empty", _descriptor13, this);
|
|
300298
300972
|
|
|
300299
|
-
_initializerDefineProperty(this, "
|
|
300973
|
+
_initializerDefineProperty(this, "width", _descriptor14, this);
|
|
300300
300974
|
|
|
300301
|
-
_initializerDefineProperty(this, "
|
|
300975
|
+
_initializerDefineProperty(this, "rowspan", _descriptor15, this);
|
|
300302
300976
|
|
|
300303
|
-
_initializerDefineProperty(this, "
|
|
300977
|
+
_initializerDefineProperty(this, "horizontalAlign", _descriptor16, this);
|
|
300304
300978
|
|
|
300305
|
-
_initializerDefineProperty(this, "
|
|
300979
|
+
_initializerDefineProperty(this, "requiredempty", _descriptor17, this);
|
|
300306
300980
|
|
|
300307
|
-
_initializerDefineProperty(this, "
|
|
300981
|
+
_initializerDefineProperty(this, "indent", _descriptor18, this);
|
|
300308
300982
|
|
|
300309
|
-
_initializerDefineProperty(this, "
|
|
300983
|
+
_initializerDefineProperty(this, "grouped", _descriptor19, this);
|
|
300984
|
+
|
|
300985
|
+
_initializerDefineProperty(this, "children", _descriptor20, this);
|
|
300310
300986
|
}
|
|
300311
300987
|
|
|
300312
300988
|
getOwnPath() {
|
|
@@ -300334,143 +301010,148 @@ let CrossfitTableColumnNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IM
|
|
|
300334
301010
|
enumerable: true,
|
|
300335
301011
|
writable: true,
|
|
300336
301012
|
initializer: null
|
|
300337
|
-
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
301013
|
+
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "disabled2", [_dec5], {
|
|
300338
301014
|
configurable: true,
|
|
300339
301015
|
enumerable: true,
|
|
300340
301016
|
writable: true,
|
|
300341
301017
|
initializer: null
|
|
300342
|
-
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
301018
|
+
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "className", [_dec6], {
|
|
300343
301019
|
configurable: true,
|
|
300344
301020
|
enumerable: true,
|
|
300345
301021
|
writable: true,
|
|
300346
301022
|
initializer: null
|
|
300347
|
-
}), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
301023
|
+
}), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "widths", [_dec7], {
|
|
300348
301024
|
configurable: true,
|
|
300349
301025
|
enumerable: true,
|
|
300350
301026
|
writable: true,
|
|
300351
301027
|
initializer: null
|
|
300352
|
-
}), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
301028
|
+
}), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, "titles", [_dec8], {
|
|
300353
301029
|
configurable: true,
|
|
300354
301030
|
enumerable: true,
|
|
300355
301031
|
writable: true,
|
|
300356
301032
|
initializer: null
|
|
300357
|
-
}), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
301033
|
+
}), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "hintOnAdd", [_dec9], {
|
|
300358
301034
|
configurable: true,
|
|
300359
301035
|
enumerable: true,
|
|
300360
301036
|
writable: true,
|
|
300361
301037
|
initializer: null
|
|
300362
|
-
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
301038
|
+
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "groupText", [_dec10], {
|
|
300363
301039
|
configurable: true,
|
|
300364
301040
|
enumerable: true,
|
|
300365
301041
|
writable: true,
|
|
300366
301042
|
initializer: null
|
|
300367
|
-
}), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
301043
|
+
}), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, "key", [_dec11], {
|
|
300368
301044
|
configurable: true,
|
|
300369
301045
|
enumerable: true,
|
|
300370
301046
|
writable: true,
|
|
300371
301047
|
initializer: null
|
|
300372
|
-
}), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
301048
|
+
}), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, "colspan", [_dec12], {
|
|
300373
301049
|
configurable: true,
|
|
300374
301050
|
enumerable: true,
|
|
300375
301051
|
writable: true,
|
|
300376
301052
|
initializer: null
|
|
300377
|
-
}), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
301053
|
+
}), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, "hiddenGroup", [_dec13], {
|
|
300378
301054
|
configurable: true,
|
|
300379
301055
|
enumerable: true,
|
|
300380
301056
|
writable: true,
|
|
300381
301057
|
initializer: null
|
|
300382
|
-
}), _descriptor13 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
301058
|
+
}), _descriptor13 = _applyDecoratedDescriptor(_class2.prototype, "empty", [_dec14], {
|
|
300383
301059
|
configurable: true,
|
|
300384
301060
|
enumerable: true,
|
|
300385
301061
|
writable: true,
|
|
300386
301062
|
initializer: null
|
|
300387
|
-
}), _descriptor14 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
301063
|
+
}), _descriptor14 = _applyDecoratedDescriptor(_class2.prototype, "width", [_dec15], {
|
|
300388
301064
|
configurable: true,
|
|
300389
301065
|
enumerable: true,
|
|
300390
301066
|
writable: true,
|
|
300391
301067
|
initializer: null
|
|
300392
|
-
}), _descriptor15 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
301068
|
+
}), _descriptor15 = _applyDecoratedDescriptor(_class2.prototype, "rowspan", [_dec16], {
|
|
300393
301069
|
configurable: true,
|
|
300394
301070
|
enumerable: true,
|
|
300395
301071
|
writable: true,
|
|
300396
301072
|
initializer: null
|
|
300397
|
-
}), _descriptor16 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
301073
|
+
}), _descriptor16 = _applyDecoratedDescriptor(_class2.prototype, "horizontalAlign", [_dec17], {
|
|
300398
301074
|
configurable: true,
|
|
300399
301075
|
enumerable: true,
|
|
300400
301076
|
writable: true,
|
|
300401
301077
|
initializer: null
|
|
300402
|
-
}), _descriptor17 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
301078
|
+
}), _descriptor17 = _applyDecoratedDescriptor(_class2.prototype, "requiredempty", [_dec18], {
|
|
300403
301079
|
configurable: true,
|
|
300404
301080
|
enumerable: true,
|
|
300405
301081
|
writable: true,
|
|
300406
301082
|
initializer: null
|
|
300407
|
-
}), _descriptor18 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
301083
|
+
}), _descriptor18 = _applyDecoratedDescriptor(_class2.prototype, "indent", [_dec19], {
|
|
300408
301084
|
configurable: true,
|
|
300409
301085
|
enumerable: true,
|
|
300410
301086
|
writable: true,
|
|
300411
301087
|
initializer: null
|
|
300412
|
-
}), _descriptor19 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
301088
|
+
}), _descriptor19 = _applyDecoratedDescriptor(_class2.prototype, "grouped", [_dec20], {
|
|
301089
|
+
configurable: true,
|
|
301090
|
+
enumerable: true,
|
|
301091
|
+
writable: true,
|
|
301092
|
+
initializer: null
|
|
301093
|
+
}), _descriptor20 = _applyDecoratedDescriptor(_class2.prototype, "children", [_dec21], {
|
|
300413
301094
|
configurable: true,
|
|
300414
301095
|
enumerable: true,
|
|
300415
301096
|
writable: true,
|
|
300416
301097
|
initializer: null
|
|
300417
301098
|
})), _class2)) || _class);
|
|
300418
|
-
let CrossfitTableRowNode = (
|
|
301099
|
+
let CrossfitTableRowNode = (_dec22 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("row", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/CrossfitTable sync recursive .md$")), _dec23 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("kind", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("head"), `kind="head" - шапка таблицы`), _dec24 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("subkind", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("numbers"), `subkind="numbers" - строка с нумерацией столбцов`), _dec25 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)("column", [CrossfitTableColumnNode]), _dec22(_class4 = (_class5 = class CrossfitTableRowNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
300419
301100
|
constructor(...args) {
|
|
300420
301101
|
super(...args);
|
|
300421
301102
|
|
|
300422
|
-
_initializerDefineProperty(this, "kind",
|
|
301103
|
+
_initializerDefineProperty(this, "kind", _descriptor21, this);
|
|
300423
301104
|
|
|
300424
|
-
_initializerDefineProperty(this, "subkind",
|
|
301105
|
+
_initializerDefineProperty(this, "subkind", _descriptor22, this);
|
|
300425
301106
|
|
|
300426
|
-
_initializerDefineProperty(this, "columns",
|
|
301107
|
+
_initializerDefineProperty(this, "columns", _descriptor23, this);
|
|
300427
301108
|
}
|
|
300428
301109
|
|
|
300429
|
-
}, (
|
|
301110
|
+
}, (_descriptor21 = _applyDecoratedDescriptor(_class5.prototype, "kind", [_dec23], {
|
|
300430
301111
|
configurable: true,
|
|
300431
301112
|
enumerable: true,
|
|
300432
301113
|
writable: true,
|
|
300433
301114
|
initializer: null
|
|
300434
|
-
}),
|
|
301115
|
+
}), _descriptor22 = _applyDecoratedDescriptor(_class5.prototype, "subkind", [_dec24], {
|
|
300435
301116
|
configurable: true,
|
|
300436
301117
|
enumerable: true,
|
|
300437
301118
|
writable: true,
|
|
300438
301119
|
initializer: null
|
|
300439
|
-
}),
|
|
301120
|
+
}), _descriptor23 = _applyDecoratedDescriptor(_class5.prototype, "columns", [_dec25], {
|
|
300440
301121
|
configurable: true,
|
|
300441
301122
|
enumerable: true,
|
|
300442
301123
|
writable: true,
|
|
300443
301124
|
initializer: null
|
|
300444
301125
|
})), _class5)) || _class4);
|
|
300445
|
-
let MultilineNode = (
|
|
301126
|
+
let MultilineNode = (_dec26 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("multiline", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/CrossfitTable sync recursive .md$")), _dec27 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_0__.DataBindingScopeMixinNode), _dec28 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec29 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("defaultChildren", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.arrayLiteral(), ``), _dec30 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.deprecatedAttr)("focusByHotkey", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.InvalidUsage), _dec31 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.deprecatedAttr)("instancesPerPage", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.Removed), _dec32 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.deprecatedAttr)("pageStep", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.InvalidUsage), _dec33 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("removebutton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `false - чтобы слева от раздела не было кнопки "Удалить"`), _dec34 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("rowmenu", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec35 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)("row", [CrossfitTableRowNode]), _dec36 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("addbutton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.localizedString, `Название кнопки при добавлении множественности`), _dec37 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("addType", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("button", "link"), `Добавить строку м.б. как кнопка "button" или ссылка "link"`), _dec38 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("usepager", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `false - без пейджера (1-11, 12-22 - этого нет внизу страницы)`), _dec39 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("storeFilters", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Будут ли сохраняться фильтры для этого мультилайна между обнолениями страницы. По умолчанию -- нет`), _dec26(_class7 = (_class8 = class MultilineNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_2__.SugarNodeWithLegacyVisibility {
|
|
300446
301127
|
constructor(...args) {
|
|
300447
301128
|
super(...args);
|
|
300448
301129
|
|
|
300449
|
-
_initializerDefineProperty(this, "dataScope",
|
|
301130
|
+
_initializerDefineProperty(this, "dataScope", _descriptor24, this);
|
|
300450
301131
|
|
|
300451
|
-
_initializerDefineProperty(this, "optional",
|
|
301132
|
+
_initializerDefineProperty(this, "optional", _descriptor25, this);
|
|
300452
301133
|
|
|
300453
|
-
_initializerDefineProperty(this, "defaultChildren",
|
|
301134
|
+
_initializerDefineProperty(this, "defaultChildren", _descriptor26, this);
|
|
300454
301135
|
|
|
300455
|
-
_initializerDefineProperty(this, "focusByHotkey",
|
|
301136
|
+
_initializerDefineProperty(this, "focusByHotkey", _descriptor27, this);
|
|
300456
301137
|
|
|
300457
|
-
_initializerDefineProperty(this, "instancesPerPage",
|
|
301138
|
+
_initializerDefineProperty(this, "instancesPerPage", _descriptor28, this);
|
|
300458
301139
|
|
|
300459
|
-
_initializerDefineProperty(this, "pageStep",
|
|
301140
|
+
_initializerDefineProperty(this, "pageStep", _descriptor29, this);
|
|
300460
301141
|
|
|
300461
|
-
_initializerDefineProperty(this, "removebutton",
|
|
301142
|
+
_initializerDefineProperty(this, "removebutton", _descriptor30, this);
|
|
300462
301143
|
|
|
300463
|
-
_initializerDefineProperty(this, "rowmenu",
|
|
301144
|
+
_initializerDefineProperty(this, "rowmenu", _descriptor31, this);
|
|
300464
301145
|
|
|
300465
|
-
_initializerDefineProperty(this, "rows",
|
|
301146
|
+
_initializerDefineProperty(this, "rows", _descriptor32, this);
|
|
300466
301147
|
|
|
300467
|
-
_initializerDefineProperty(this, "addbutton",
|
|
301148
|
+
_initializerDefineProperty(this, "addbutton", _descriptor33, this);
|
|
300468
301149
|
|
|
300469
|
-
_initializerDefineProperty(this, "addType",
|
|
301150
|
+
_initializerDefineProperty(this, "addType", _descriptor34, this);
|
|
300470
301151
|
|
|
300471
|
-
_initializerDefineProperty(this, "usepager",
|
|
301152
|
+
_initializerDefineProperty(this, "usepager", _descriptor35, this);
|
|
300472
301153
|
|
|
300473
|
-
_initializerDefineProperty(this, "storeFilters",
|
|
301154
|
+
_initializerDefineProperty(this, "storeFilters", _descriptor36, this);
|
|
300474
301155
|
}
|
|
300475
301156
|
|
|
300476
301157
|
getOwnPath() {
|
|
@@ -300481,219 +301162,219 @@ let MultilineNode = (_dec25 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_M
|
|
|
300481
301162
|
return true;
|
|
300482
301163
|
}
|
|
300483
301164
|
|
|
300484
|
-
}, (
|
|
301165
|
+
}, (_descriptor24 = _applyDecoratedDescriptor(_class8.prototype, "dataScope", [_dec27], {
|
|
300485
301166
|
configurable: true,
|
|
300486
301167
|
enumerable: true,
|
|
300487
301168
|
writable: true,
|
|
300488
301169
|
initializer: null
|
|
300489
|
-
}),
|
|
301170
|
+
}), _descriptor25 = _applyDecoratedDescriptor(_class8.prototype, "optional", [_dec28], {
|
|
300490
301171
|
configurable: true,
|
|
300491
301172
|
enumerable: true,
|
|
300492
301173
|
writable: true,
|
|
300493
301174
|
initializer: null
|
|
300494
|
-
}),
|
|
301175
|
+
}), _descriptor26 = _applyDecoratedDescriptor(_class8.prototype, "defaultChildren", [_dec29], {
|
|
300495
301176
|
configurable: true,
|
|
300496
301177
|
enumerable: true,
|
|
300497
301178
|
writable: true,
|
|
300498
301179
|
initializer: null
|
|
300499
|
-
}),
|
|
301180
|
+
}), _descriptor27 = _applyDecoratedDescriptor(_class8.prototype, "focusByHotkey", [_dec30], {
|
|
300500
301181
|
configurable: true,
|
|
300501
301182
|
enumerable: true,
|
|
300502
301183
|
writable: true,
|
|
300503
301184
|
initializer: null
|
|
300504
|
-
}),
|
|
301185
|
+
}), _descriptor28 = _applyDecoratedDescriptor(_class8.prototype, "instancesPerPage", [_dec31], {
|
|
300505
301186
|
configurable: true,
|
|
300506
301187
|
enumerable: true,
|
|
300507
301188
|
writable: true,
|
|
300508
301189
|
initializer: null
|
|
300509
|
-
}),
|
|
301190
|
+
}), _descriptor29 = _applyDecoratedDescriptor(_class8.prototype, "pageStep", [_dec32], {
|
|
300510
301191
|
configurable: true,
|
|
300511
301192
|
enumerable: true,
|
|
300512
301193
|
writable: true,
|
|
300513
301194
|
initializer: null
|
|
300514
|
-
}),
|
|
301195
|
+
}), _descriptor30 = _applyDecoratedDescriptor(_class8.prototype, "removebutton", [_dec33], {
|
|
300515
301196
|
configurable: true,
|
|
300516
301197
|
enumerable: true,
|
|
300517
301198
|
writable: true,
|
|
300518
301199
|
initializer: null
|
|
300519
|
-
}),
|
|
301200
|
+
}), _descriptor31 = _applyDecoratedDescriptor(_class8.prototype, "rowmenu", [_dec34], {
|
|
300520
301201
|
configurable: true,
|
|
300521
301202
|
enumerable: true,
|
|
300522
301203
|
writable: true,
|
|
300523
301204
|
initializer: null
|
|
300524
|
-
}),
|
|
301205
|
+
}), _descriptor32 = _applyDecoratedDescriptor(_class8.prototype, "rows", [_dec35], {
|
|
300525
301206
|
configurable: true,
|
|
300526
301207
|
enumerable: true,
|
|
300527
301208
|
writable: true,
|
|
300528
301209
|
initializer: null
|
|
300529
|
-
}),
|
|
301210
|
+
}), _descriptor33 = _applyDecoratedDescriptor(_class8.prototype, "addbutton", [_dec36], {
|
|
300530
301211
|
configurable: true,
|
|
300531
301212
|
enumerable: true,
|
|
300532
301213
|
writable: true,
|
|
300533
301214
|
initializer: null
|
|
300534
|
-
}),
|
|
301215
|
+
}), _descriptor34 = _applyDecoratedDescriptor(_class8.prototype, "addType", [_dec37], {
|
|
300535
301216
|
configurable: true,
|
|
300536
301217
|
enumerable: true,
|
|
300537
301218
|
writable: true,
|
|
300538
301219
|
initializer: null
|
|
300539
|
-
}),
|
|
301220
|
+
}), _descriptor35 = _applyDecoratedDescriptor(_class8.prototype, "usepager", [_dec38], {
|
|
300540
301221
|
configurable: true,
|
|
300541
301222
|
enumerable: true,
|
|
300542
301223
|
writable: true,
|
|
300543
301224
|
initializer: null
|
|
300544
|
-
}),
|
|
301225
|
+
}), _descriptor36 = _applyDecoratedDescriptor(_class8.prototype, "storeFilters", [_dec39], {
|
|
300545
301226
|
configurable: true,
|
|
300546
301227
|
enumerable: true,
|
|
300547
301228
|
writable: true,
|
|
300548
301229
|
initializer: null
|
|
300549
301230
|
})), _class8)) || _class7);
|
|
300550
|
-
let CrossfitTableHeaderNode = (
|
|
301231
|
+
let CrossfitTableHeaderNode = (_dec40 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("header", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/CrossfitTable sync recursive .md$")), _dec41 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("align", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("right"), ``), _dec42 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)(), _dec40(_class10 = (_class11 = class CrossfitTableHeaderNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
300551
301232
|
constructor(...args) {
|
|
300552
301233
|
super(...args);
|
|
300553
301234
|
|
|
300554
|
-
_initializerDefineProperty(this, "align",
|
|
301235
|
+
_initializerDefineProperty(this, "align", _descriptor37, this);
|
|
300555
301236
|
|
|
300556
|
-
_initializerDefineProperty(this, "children",
|
|
301237
|
+
_initializerDefineProperty(this, "children", _descriptor38, this);
|
|
300557
301238
|
}
|
|
300558
301239
|
|
|
300559
|
-
}, (
|
|
301240
|
+
}, (_descriptor37 = _applyDecoratedDescriptor(_class11.prototype, "align", [_dec41], {
|
|
300560
301241
|
configurable: true,
|
|
300561
301242
|
enumerable: true,
|
|
300562
301243
|
writable: true,
|
|
300563
301244
|
initializer: null
|
|
300564
|
-
}),
|
|
301245
|
+
}), _descriptor38 = _applyDecoratedDescriptor(_class11.prototype, "children", [_dec42], {
|
|
300565
301246
|
configurable: true,
|
|
300566
301247
|
enumerable: true,
|
|
300567
301248
|
writable: true,
|
|
300568
301249
|
initializer: null
|
|
300569
301250
|
})), _class11)) || _class10);
|
|
300570
|
-
let FilterInfoNode = (
|
|
301251
|
+
let FilterInfoNode = (_dec43 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("filterinfo", `path - путь до multiline, по которому фильтруем`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/CrossfitTable sync recursive .md$")), _dec44 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_0__.DataReferenceMixinNode), _dec45 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("multilinePath", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, ``), _dec46 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, `путь до multiline, по которому фильтруем`), _dec47 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("titles", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.stringArray, `массив строк для склонения единицы поиска (для корректного вывода с количеством найденных)`), _dec48 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("notFoundText", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.localizedString, ` текст, который будет выводится, если после фильтрации ничего не найдено`), _dec43(_class13 = (_class14 = class FilterInfoNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
300571
301252
|
constructor(...args) {
|
|
300572
301253
|
super(...args);
|
|
300573
301254
|
|
|
300574
|
-
_initializerDefineProperty(this, "dataReference",
|
|
301255
|
+
_initializerDefineProperty(this, "dataReference", _descriptor39, this);
|
|
300575
301256
|
|
|
300576
|
-
_initializerDefineProperty(this, "multilinePath",
|
|
301257
|
+
_initializerDefineProperty(this, "multilinePath", _descriptor40, this);
|
|
300577
301258
|
|
|
300578
|
-
_initializerDefineProperty(this, "path",
|
|
301259
|
+
_initializerDefineProperty(this, "path", _descriptor41, this);
|
|
300579
301260
|
|
|
300580
|
-
_initializerDefineProperty(this, "titles",
|
|
301261
|
+
_initializerDefineProperty(this, "titles", _descriptor42, this);
|
|
300581
301262
|
|
|
300582
|
-
_initializerDefineProperty(this, "notFoundText",
|
|
301263
|
+
_initializerDefineProperty(this, "notFoundText", _descriptor43, this);
|
|
300583
301264
|
}
|
|
300584
301265
|
|
|
300585
301266
|
getOwnPath() {
|
|
300586
301267
|
return this.dataReference.getOwnPath();
|
|
300587
301268
|
}
|
|
300588
301269
|
|
|
300589
|
-
}, (
|
|
301270
|
+
}, (_descriptor39 = _applyDecoratedDescriptor(_class14.prototype, "dataReference", [_dec44], {
|
|
300590
301271
|
configurable: true,
|
|
300591
301272
|
enumerable: true,
|
|
300592
301273
|
writable: true,
|
|
300593
301274
|
initializer: null
|
|
300594
|
-
}),
|
|
301275
|
+
}), _descriptor40 = _applyDecoratedDescriptor(_class14.prototype, "multilinePath", [_dec45], {
|
|
300595
301276
|
configurable: true,
|
|
300596
301277
|
enumerable: true,
|
|
300597
301278
|
writable: true,
|
|
300598
301279
|
initializer: null
|
|
300599
|
-
}),
|
|
301280
|
+
}), _descriptor41 = _applyDecoratedDescriptor(_class14.prototype, "path", [_dec46], {
|
|
300600
301281
|
configurable: true,
|
|
300601
301282
|
enumerable: true,
|
|
300602
301283
|
writable: true,
|
|
300603
301284
|
initializer: null
|
|
300604
|
-
}),
|
|
301285
|
+
}), _descriptor42 = _applyDecoratedDescriptor(_class14.prototype, "titles", [_dec47], {
|
|
300605
301286
|
configurable: true,
|
|
300606
301287
|
enumerable: true,
|
|
300607
301288
|
writable: true,
|
|
300608
301289
|
initializer: null
|
|
300609
|
-
}),
|
|
301290
|
+
}), _descriptor43 = _applyDecoratedDescriptor(_class14.prototype, "notFoundText", [_dec48], {
|
|
300610
301291
|
configurable: true,
|
|
300611
301292
|
enumerable: true,
|
|
300612
301293
|
writable: true,
|
|
300613
301294
|
initializer: null
|
|
300614
301295
|
})), _class14)) || _class13);
|
|
300615
|
-
let CrossfitTableFooterNode = (
|
|
301296
|
+
let CrossfitTableFooterNode = (_dec49 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("footer", ``), _dec50 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)(), _dec49(_class16 = (_class17 = class CrossfitTableFooterNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
300616
301297
|
constructor(...args) {
|
|
300617
301298
|
super(...args);
|
|
300618
301299
|
|
|
300619
|
-
_initializerDefineProperty(this, "children",
|
|
301300
|
+
_initializerDefineProperty(this, "children", _descriptor44, this);
|
|
300620
301301
|
}
|
|
300621
301302
|
|
|
300622
|
-
}, (
|
|
301303
|
+
}, (_descriptor44 = _applyDecoratedDescriptor(_class17.prototype, "children", [_dec50], {
|
|
300623
301304
|
configurable: true,
|
|
300624
301305
|
enumerable: true,
|
|
300625
301306
|
writable: true,
|
|
300626
301307
|
initializer: null
|
|
300627
301308
|
})), _class17)) || _class16);
|
|
300628
|
-
let CrossfitTableColgroupColumnNode = (
|
|
301309
|
+
let CrossfitTableColgroupColumnNode = (_dec51 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("col", ``), _dec52 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.lengthUnit, ``), _dec51(_class19 = (_class20 = class CrossfitTableColgroupColumnNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
300629
301310
|
constructor(...args) {
|
|
300630
301311
|
super(...args);
|
|
300631
301312
|
|
|
300632
|
-
_initializerDefineProperty(this, "width",
|
|
301313
|
+
_initializerDefineProperty(this, "width", _descriptor45, this);
|
|
300633
301314
|
}
|
|
300634
301315
|
|
|
300635
|
-
}, (
|
|
301316
|
+
}, (_descriptor45 = _applyDecoratedDescriptor(_class20.prototype, "width", [_dec52], {
|
|
300636
301317
|
configurable: true,
|
|
300637
301318
|
enumerable: true,
|
|
300638
301319
|
writable: true,
|
|
300639
301320
|
initializer: null
|
|
300640
301321
|
})), _class20)) || _class19);
|
|
300641
|
-
let CrossfitTableColgroupNode = (
|
|
301322
|
+
let CrossfitTableColgroupNode = (_dec53 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("colgroup", ``), _dec54 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)("col", [CrossfitTableColgroupColumnNode]), _dec53(_class22 = (_class23 = class CrossfitTableColgroupNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
300642
301323
|
constructor(...args) {
|
|
300643
301324
|
super(...args);
|
|
300644
301325
|
|
|
300645
|
-
_initializerDefineProperty(this, "cols",
|
|
301326
|
+
_initializerDefineProperty(this, "cols", _descriptor46, this);
|
|
300646
301327
|
}
|
|
300647
301328
|
|
|
300648
|
-
}, (
|
|
301329
|
+
}, (_descriptor46 = _applyDecoratedDescriptor(_class23.prototype, "cols", [_dec54], {
|
|
300649
301330
|
configurable: true,
|
|
300650
301331
|
enumerable: true,
|
|
300651
301332
|
writable: true,
|
|
300652
301333
|
initializer: null
|
|
300653
301334
|
})), _class23)) || _class22);
|
|
300654
|
-
let CrossfitTableNode = (
|
|
301335
|
+
let CrossfitTableNode = (_dec55 = (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")), _dec56 = (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)} данного элемента. Опционально, если не указан, то будет отображаться текст заданный внутри данного элемента`), _dec57 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `необязательность`), _dec58 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.deprecatedAttr)("offsetBottom", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.InvalidUsage), _dec59 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("grayColumn", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, ``), _dec60 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("sidebar", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec61 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("crossfit", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec62 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("side", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, ``), _dec63 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("rowmenu", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec64 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("removebutton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `\"false\" - чтобы слева от раздела не было кнопки "Удалить"`), _dec65 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("sticky", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec66 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("doNotCopyPaths", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.stringArray, ``), _dec67 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)(["row", "multiline"], [CrossfitTableRowNode, MultilineNode]), _dec68 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.singleChild)("header", [CrossfitTableHeaderNode]), _dec69 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.singleChild)("colgroup", [CrossfitTableColgroupNode]), _dec70 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.singleChild)("filterinfo", [FilterInfoNode]), _dec71 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("loader", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.localizedString, ``), _dec72 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("align", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("baseline", "top"), ``), _dec73 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("columnGrouping", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.object, ``), _dec74 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("hiddenGroups", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.object, ``), _dec75 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.singleChild)("footer", [CrossfitTableFooterNode]), _dec55(_class25 = (_class26 = class CrossfitTableNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_2__.SugarNodeWithLegacyVisibility {
|
|
300655
301336
|
constructor(...args) {
|
|
300656
301337
|
super(...args);
|
|
300657
301338
|
|
|
300658
|
-
_initializerDefineProperty(this, "path",
|
|
301339
|
+
_initializerDefineProperty(this, "path", _descriptor47, this);
|
|
300659
301340
|
|
|
300660
|
-
_initializerDefineProperty(this, "optional",
|
|
301341
|
+
_initializerDefineProperty(this, "optional", _descriptor48, this);
|
|
300661
301342
|
|
|
300662
|
-
_initializerDefineProperty(this, "offsetBottom",
|
|
301343
|
+
_initializerDefineProperty(this, "offsetBottom", _descriptor49, this);
|
|
300663
301344
|
|
|
300664
|
-
_initializerDefineProperty(this, "grayColumn",
|
|
301345
|
+
_initializerDefineProperty(this, "grayColumn", _descriptor50, this);
|
|
300665
301346
|
|
|
300666
|
-
_initializerDefineProperty(this, "sidebar",
|
|
301347
|
+
_initializerDefineProperty(this, "sidebar", _descriptor51, this);
|
|
300667
301348
|
|
|
300668
|
-
_initializerDefineProperty(this, "crossfit",
|
|
301349
|
+
_initializerDefineProperty(this, "crossfit", _descriptor52, this);
|
|
300669
301350
|
|
|
300670
|
-
_initializerDefineProperty(this, "side",
|
|
301351
|
+
_initializerDefineProperty(this, "side", _descriptor53, this);
|
|
300671
301352
|
|
|
300672
|
-
_initializerDefineProperty(this, "rowmenu",
|
|
301353
|
+
_initializerDefineProperty(this, "rowmenu", _descriptor54, this);
|
|
300673
301354
|
|
|
300674
|
-
_initializerDefineProperty(this, "removebutton",
|
|
301355
|
+
_initializerDefineProperty(this, "removebutton", _descriptor55, this);
|
|
300675
301356
|
|
|
300676
|
-
_initializerDefineProperty(this, "sticky",
|
|
301357
|
+
_initializerDefineProperty(this, "sticky", _descriptor56, this);
|
|
300677
301358
|
|
|
300678
|
-
_initializerDefineProperty(this, "doNotCopyPaths",
|
|
301359
|
+
_initializerDefineProperty(this, "doNotCopyPaths", _descriptor57, this);
|
|
300679
301360
|
|
|
300680
|
-
_initializerDefineProperty(this, "rows",
|
|
301361
|
+
_initializerDefineProperty(this, "rows", _descriptor58, this);
|
|
300681
301362
|
|
|
300682
|
-
_initializerDefineProperty(this, "header",
|
|
301363
|
+
_initializerDefineProperty(this, "header", _descriptor59, this);
|
|
300683
301364
|
|
|
300684
|
-
_initializerDefineProperty(this, "colgroup",
|
|
301365
|
+
_initializerDefineProperty(this, "colgroup", _descriptor60, this);
|
|
300685
301366
|
|
|
300686
|
-
_initializerDefineProperty(this, "filterinfo",
|
|
301367
|
+
_initializerDefineProperty(this, "filterinfo", _descriptor61, this);
|
|
300687
301368
|
|
|
300688
|
-
_initializerDefineProperty(this, "loader",
|
|
301369
|
+
_initializerDefineProperty(this, "loader", _descriptor62, this);
|
|
300689
301370
|
|
|
300690
|
-
_initializerDefineProperty(this, "align",
|
|
301371
|
+
_initializerDefineProperty(this, "align", _descriptor63, this);
|
|
300691
301372
|
|
|
300692
|
-
_initializerDefineProperty(this, "columnGrouping",
|
|
301373
|
+
_initializerDefineProperty(this, "columnGrouping", _descriptor64, this);
|
|
300693
301374
|
|
|
300694
|
-
_initializerDefineProperty(this, "hiddenGroups",
|
|
301375
|
+
_initializerDefineProperty(this, "hiddenGroups", _descriptor65, this);
|
|
300695
301376
|
|
|
300696
|
-
_initializerDefineProperty(this, "footer",
|
|
301377
|
+
_initializerDefineProperty(this, "footer", _descriptor66, this);
|
|
300697
301378
|
}
|
|
300698
301379
|
|
|
300699
301380
|
getOwnPath() {
|
|
@@ -300726,102 +301407,102 @@ let CrossfitTableNode = (_dec54 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORT
|
|
|
300726
301407
|
return (_this$sticky = this.sticky) !== null && _this$sticky !== void 0 ? _this$sticky : true;
|
|
300727
301408
|
}
|
|
300728
301409
|
|
|
300729
|
-
}, (
|
|
301410
|
+
}, (_descriptor47 = _applyDecoratedDescriptor(_class26.prototype, "path", [_dec56], {
|
|
300730
301411
|
configurable: true,
|
|
300731
301412
|
enumerable: true,
|
|
300732
301413
|
writable: true,
|
|
300733
301414
|
initializer: null
|
|
300734
|
-
}),
|
|
301415
|
+
}), _descriptor48 = _applyDecoratedDescriptor(_class26.prototype, "optional", [_dec57], {
|
|
300735
301416
|
configurable: true,
|
|
300736
301417
|
enumerable: true,
|
|
300737
301418
|
writable: true,
|
|
300738
301419
|
initializer: null
|
|
300739
|
-
}),
|
|
301420
|
+
}), _descriptor49 = _applyDecoratedDescriptor(_class26.prototype, "offsetBottom", [_dec58], {
|
|
300740
301421
|
configurable: true,
|
|
300741
301422
|
enumerable: true,
|
|
300742
301423
|
writable: true,
|
|
300743
301424
|
initializer: null
|
|
300744
|
-
}),
|
|
301425
|
+
}), _descriptor50 = _applyDecoratedDescriptor(_class26.prototype, "grayColumn", [_dec59], {
|
|
300745
301426
|
configurable: true,
|
|
300746
301427
|
enumerable: true,
|
|
300747
301428
|
writable: true,
|
|
300748
301429
|
initializer: null
|
|
300749
|
-
}),
|
|
301430
|
+
}), _descriptor51 = _applyDecoratedDescriptor(_class26.prototype, "sidebar", [_dec60], {
|
|
300750
301431
|
configurable: true,
|
|
300751
301432
|
enumerable: true,
|
|
300752
301433
|
writable: true,
|
|
300753
301434
|
initializer: null
|
|
300754
|
-
}),
|
|
301435
|
+
}), _descriptor52 = _applyDecoratedDescriptor(_class26.prototype, "crossfit", [_dec61], {
|
|
300755
301436
|
configurable: true,
|
|
300756
301437
|
enumerable: true,
|
|
300757
301438
|
writable: true,
|
|
300758
301439
|
initializer: null
|
|
300759
|
-
}),
|
|
301440
|
+
}), _descriptor53 = _applyDecoratedDescriptor(_class26.prototype, "side", [_dec62], {
|
|
300760
301441
|
configurable: true,
|
|
300761
301442
|
enumerable: true,
|
|
300762
301443
|
writable: true,
|
|
300763
301444
|
initializer: null
|
|
300764
|
-
}),
|
|
301445
|
+
}), _descriptor54 = _applyDecoratedDescriptor(_class26.prototype, "rowmenu", [_dec63], {
|
|
300765
301446
|
configurable: true,
|
|
300766
301447
|
enumerable: true,
|
|
300767
301448
|
writable: true,
|
|
300768
301449
|
initializer: null
|
|
300769
|
-
}),
|
|
301450
|
+
}), _descriptor55 = _applyDecoratedDescriptor(_class26.prototype, "removebutton", [_dec64], {
|
|
300770
301451
|
configurable: true,
|
|
300771
301452
|
enumerable: true,
|
|
300772
301453
|
writable: true,
|
|
300773
301454
|
initializer: null
|
|
300774
|
-
}),
|
|
301455
|
+
}), _descriptor56 = _applyDecoratedDescriptor(_class26.prototype, "sticky", [_dec65], {
|
|
300775
301456
|
configurable: true,
|
|
300776
301457
|
enumerable: true,
|
|
300777
301458
|
writable: true,
|
|
300778
301459
|
initializer: null
|
|
300779
|
-
}),
|
|
301460
|
+
}), _descriptor57 = _applyDecoratedDescriptor(_class26.prototype, "doNotCopyPaths", [_dec66], {
|
|
300780
301461
|
configurable: true,
|
|
300781
301462
|
enumerable: true,
|
|
300782
301463
|
writable: true,
|
|
300783
301464
|
initializer: null
|
|
300784
|
-
}),
|
|
301465
|
+
}), _descriptor58 = _applyDecoratedDescriptor(_class26.prototype, "rows", [_dec67], {
|
|
300785
301466
|
configurable: true,
|
|
300786
301467
|
enumerable: true,
|
|
300787
301468
|
writable: true,
|
|
300788
301469
|
initializer: null
|
|
300789
|
-
}),
|
|
301470
|
+
}), _descriptor59 = _applyDecoratedDescriptor(_class26.prototype, "header", [_dec68], {
|
|
300790
301471
|
configurable: true,
|
|
300791
301472
|
enumerable: true,
|
|
300792
301473
|
writable: true,
|
|
300793
301474
|
initializer: null
|
|
300794
|
-
}),
|
|
301475
|
+
}), _descriptor60 = _applyDecoratedDescriptor(_class26.prototype, "colgroup", [_dec69], {
|
|
300795
301476
|
configurable: true,
|
|
300796
301477
|
enumerable: true,
|
|
300797
301478
|
writable: true,
|
|
300798
301479
|
initializer: null
|
|
300799
|
-
}),
|
|
301480
|
+
}), _descriptor61 = _applyDecoratedDescriptor(_class26.prototype, "filterinfo", [_dec70], {
|
|
300800
301481
|
configurable: true,
|
|
300801
301482
|
enumerable: true,
|
|
300802
301483
|
writable: true,
|
|
300803
301484
|
initializer: null
|
|
300804
|
-
}),
|
|
301485
|
+
}), _descriptor62 = _applyDecoratedDescriptor(_class26.prototype, "loader", [_dec71], {
|
|
300805
301486
|
configurable: true,
|
|
300806
301487
|
enumerable: true,
|
|
300807
301488
|
writable: true,
|
|
300808
301489
|
initializer: null
|
|
300809
|
-
}),
|
|
301490
|
+
}), _descriptor63 = _applyDecoratedDescriptor(_class26.prototype, "align", [_dec72], {
|
|
300810
301491
|
configurable: true,
|
|
300811
301492
|
enumerable: true,
|
|
300812
301493
|
writable: true,
|
|
300813
301494
|
initializer: null
|
|
300814
|
-
}),
|
|
301495
|
+
}), _descriptor64 = _applyDecoratedDescriptor(_class26.prototype, "columnGrouping", [_dec73], {
|
|
300815
301496
|
configurable: true,
|
|
300816
301497
|
enumerable: true,
|
|
300817
301498
|
writable: true,
|
|
300818
301499
|
initializer: null
|
|
300819
|
-
}),
|
|
301500
|
+
}), _descriptor65 = _applyDecoratedDescriptor(_class26.prototype, "hiddenGroups", [_dec74], {
|
|
300820
301501
|
configurable: true,
|
|
300821
301502
|
enumerable: true,
|
|
300822
301503
|
writable: true,
|
|
300823
301504
|
initializer: null
|
|
300824
|
-
}),
|
|
301505
|
+
}), _descriptor66 = _applyDecoratedDescriptor(_class26.prototype, "footer", [_dec75], {
|
|
300825
301506
|
configurable: true,
|
|
300826
301507
|
enumerable: true,
|
|
300827
301508
|
writable: true,
|
|
@@ -302203,7 +302884,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
302203
302884
|
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
302204
302885
|
/* harmony import */ var _Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../Commons/DocumentationLinks */ "./Generator/src/generators/markupGenerator/ElementProcessors/Commons/DocumentationLinks.ts");
|
|
302205
302886
|
/* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
|
|
302206
|
-
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,
|
|
302887
|
+
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _dec19, _dec20, _dec21, _class4, _class5, _descriptor18, _descriptor19, _dec22, _dec23, _dec24, _dec25, _dec26, _dec27, _dec28, _dec29, _dec30, _dec31, _dec32, _dec33, _dec34, _dec35, _dec36, _dec37, _dec38, _dec39, _dec40, _dec41, _dec42, _class7, _class8, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _descriptor36, _descriptor37, _descriptor38, _descriptor39, _dec43, _dec44, _dec45, _dec46, _dec47, _dec48, _dec49, _class10, _class11, _descriptor40, _descriptor41, _descriptor42, _descriptor43, _descriptor44, _descriptor45, _dec50, _dec51, _dec52, _class13, _class14, _descriptor46, _descriptor47, _dec53, _dec54, _dec55, _class16, _class17, _descriptor48, _descriptor49, _dec56, _dec57, _class19, _class20, _descriptor50, _dec58, _dec59, _class22, _class23, _descriptor51, _dec60, _dec61, _dec62, _dec63, _dec64, _dec65, _dec66, _dec67, _dec68, _dec69, _dec70, _dec71, _dec72, _dec73, _dec74, _dec75, _dec76, _dec77, _class25, _class26, _descriptor52, _descriptor53, _descriptor54, _descriptor55, _descriptor56, _descriptor57, _descriptor58, _descriptor59, _descriptor60, _descriptor61, _descriptor62, _descriptor63, _descriptor64, _descriptor65, _descriptor66, _descriptor67, _descriptor68;
|
|
302207
302888
|
|
|
302208
302889
|
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 }); }
|
|
302209
302890
|
|
|
@@ -302218,7 +302899,7 @@ function _initializerWarningHelper(descriptor, context) { throw new Error('Decor
|
|
|
302218
302899
|
|
|
302219
302900
|
|
|
302220
302901
|
|
|
302221
|
-
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, ``),
|
|
302902
|
+
let StickyTableColumnNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("column", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/StickyTable sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_0__.DataBindingScopeMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("multiple", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("disabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Отключить редактирование для множественной колонки. Работает только если multiple=true`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("disabled2", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.javascriptExpression, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.javaScriptExpressionLink)} для условного задизейбливания контрола`), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("hintOnAdd", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, ``), _dec7 = (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), ``), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("colspan", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.number, ``), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("empty", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.lengthUnit, ``), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("rowspan", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.number, ``), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("textalign", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.InvalidUsage), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("horizontalAlign", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("center", "left", "right"), ``), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("paddingTop", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.lengthUnit, ``), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("requiredempty", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("indent", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("1", "2", "3", "4", "5", "6"), ``), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("textTopPadding", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)(), _dec(_class = (_class2 = class StickyTableColumnNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.SugarNodeBase {
|
|
302222
302903
|
constructor(...args) {
|
|
302223
302904
|
super(...args);
|
|
302224
302905
|
|
|
@@ -302228,31 +302909,33 @@ let StickyTableColumnNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPO
|
|
|
302228
302909
|
|
|
302229
302910
|
_initializerDefineProperty(this, "disabled", _descriptor3, this);
|
|
302230
302911
|
|
|
302231
|
-
_initializerDefineProperty(this, "
|
|
302912
|
+
_initializerDefineProperty(this, "disabled2", _descriptor4, this);
|
|
302232
302913
|
|
|
302233
|
-
_initializerDefineProperty(this, "
|
|
302914
|
+
_initializerDefineProperty(this, "hintOnAdd", _descriptor5, this);
|
|
302234
302915
|
|
|
302235
|
-
_initializerDefineProperty(this, "
|
|
302916
|
+
_initializerDefineProperty(this, "titles", _descriptor6, this);
|
|
302236
302917
|
|
|
302237
|
-
_initializerDefineProperty(this, "
|
|
302918
|
+
_initializerDefineProperty(this, "colspan", _descriptor7, this);
|
|
302238
302919
|
|
|
302239
|
-
_initializerDefineProperty(this, "
|
|
302920
|
+
_initializerDefineProperty(this, "empty", _descriptor8, this);
|
|
302240
302921
|
|
|
302241
|
-
_initializerDefineProperty(this, "
|
|
302922
|
+
_initializerDefineProperty(this, "width", _descriptor9, this);
|
|
302242
302923
|
|
|
302243
|
-
_initializerDefineProperty(this, "
|
|
302924
|
+
_initializerDefineProperty(this, "rowspan", _descriptor10, this);
|
|
302244
302925
|
|
|
302245
|
-
_initializerDefineProperty(this, "
|
|
302926
|
+
_initializerDefineProperty(this, "textalign", _descriptor11, this);
|
|
302246
302927
|
|
|
302247
|
-
_initializerDefineProperty(this, "
|
|
302928
|
+
_initializerDefineProperty(this, "horizontalAlign", _descriptor12, this);
|
|
302248
302929
|
|
|
302249
|
-
_initializerDefineProperty(this, "
|
|
302930
|
+
_initializerDefineProperty(this, "paddingTop", _descriptor13, this);
|
|
302250
302931
|
|
|
302251
|
-
_initializerDefineProperty(this, "
|
|
302932
|
+
_initializerDefineProperty(this, "requiredempty", _descriptor14, this);
|
|
302252
302933
|
|
|
302253
|
-
_initializerDefineProperty(this, "
|
|
302934
|
+
_initializerDefineProperty(this, "indent", _descriptor15, this);
|
|
302254
302935
|
|
|
302255
|
-
_initializerDefineProperty(this, "
|
|
302936
|
+
_initializerDefineProperty(this, "textTopPadding", _descriptor16, this);
|
|
302937
|
+
|
|
302938
|
+
_initializerDefineProperty(this, "children", _descriptor17, this);
|
|
302256
302939
|
}
|
|
302257
302940
|
|
|
302258
302941
|
getOwnPath() {
|
|
@@ -302280,135 +302963,140 @@ let StickyTableColumnNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPO
|
|
|
302280
302963
|
enumerable: true,
|
|
302281
302964
|
writable: true,
|
|
302282
302965
|
initializer: null
|
|
302283
|
-
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
302966
|
+
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "disabled2", [_dec5], {
|
|
302284
302967
|
configurable: true,
|
|
302285
302968
|
enumerable: true,
|
|
302286
302969
|
writable: true,
|
|
302287
302970
|
initializer: null
|
|
302288
|
-
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
302971
|
+
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "hintOnAdd", [_dec6], {
|
|
302289
302972
|
configurable: true,
|
|
302290
302973
|
enumerable: true,
|
|
302291
302974
|
writable: true,
|
|
302292
302975
|
initializer: null
|
|
302293
|
-
}), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
302976
|
+
}), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "titles", [_dec7], {
|
|
302294
302977
|
configurable: true,
|
|
302295
302978
|
enumerable: true,
|
|
302296
302979
|
writable: true,
|
|
302297
302980
|
initializer: null
|
|
302298
|
-
}), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
302981
|
+
}), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, "colspan", [_dec8], {
|
|
302299
302982
|
configurable: true,
|
|
302300
302983
|
enumerable: true,
|
|
302301
302984
|
writable: true,
|
|
302302
302985
|
initializer: null
|
|
302303
|
-
}), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
302986
|
+
}), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "empty", [_dec9], {
|
|
302304
302987
|
configurable: true,
|
|
302305
302988
|
enumerable: true,
|
|
302306
302989
|
writable: true,
|
|
302307
302990
|
initializer: null
|
|
302308
|
-
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
302991
|
+
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "width", [_dec10], {
|
|
302309
302992
|
configurable: true,
|
|
302310
302993
|
enumerable: true,
|
|
302311
302994
|
writable: true,
|
|
302312
302995
|
initializer: null
|
|
302313
|
-
}), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
302996
|
+
}), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, "rowspan", [_dec11], {
|
|
302314
302997
|
configurable: true,
|
|
302315
302998
|
enumerable: true,
|
|
302316
302999
|
writable: true,
|
|
302317
303000
|
initializer: null
|
|
302318
|
-
}), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
303001
|
+
}), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, "textalign", [_dec12], {
|
|
302319
303002
|
configurable: true,
|
|
302320
303003
|
enumerable: true,
|
|
302321
303004
|
writable: true,
|
|
302322
303005
|
initializer: null
|
|
302323
|
-
}), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
303006
|
+
}), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, "horizontalAlign", [_dec13], {
|
|
302324
303007
|
configurable: true,
|
|
302325
303008
|
enumerable: true,
|
|
302326
303009
|
writable: true,
|
|
302327
303010
|
initializer: null
|
|
302328
|
-
}), _descriptor13 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
303011
|
+
}), _descriptor13 = _applyDecoratedDescriptor(_class2.prototype, "paddingTop", [_dec14], {
|
|
302329
303012
|
configurable: true,
|
|
302330
303013
|
enumerable: true,
|
|
302331
303014
|
writable: true,
|
|
302332
303015
|
initializer: null
|
|
302333
|
-
}), _descriptor14 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
303016
|
+
}), _descriptor14 = _applyDecoratedDescriptor(_class2.prototype, "requiredempty", [_dec15], {
|
|
302334
303017
|
configurable: true,
|
|
302335
303018
|
enumerable: true,
|
|
302336
303019
|
writable: true,
|
|
302337
303020
|
initializer: null
|
|
302338
|
-
}), _descriptor15 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
303021
|
+
}), _descriptor15 = _applyDecoratedDescriptor(_class2.prototype, "indent", [_dec16], {
|
|
302339
303022
|
configurable: true,
|
|
302340
303023
|
enumerable: true,
|
|
302341
303024
|
writable: true,
|
|
302342
303025
|
initializer: null
|
|
302343
|
-
}), _descriptor16 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
303026
|
+
}), _descriptor16 = _applyDecoratedDescriptor(_class2.prototype, "textTopPadding", [_dec17], {
|
|
303027
|
+
configurable: true,
|
|
303028
|
+
enumerable: true,
|
|
303029
|
+
writable: true,
|
|
303030
|
+
initializer: null
|
|
303031
|
+
}), _descriptor17 = _applyDecoratedDescriptor(_class2.prototype, "children", [_dec18], {
|
|
302344
303032
|
configurable: true,
|
|
302345
303033
|
enumerable: true,
|
|
302346
303034
|
writable: true,
|
|
302347
303035
|
initializer: null
|
|
302348
303036
|
})), _class2)) || _class);
|
|
302349
|
-
let StickyTableMultilineRowNode = (
|
|
303037
|
+
let StickyTableMultilineRowNode = (_dec19 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("row", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/StickyTable sync recursive .md$")), _dec20 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)("column", [StickyTableColumnNode]), _dec21 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("borderBottom", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Серая черта под строкой`), _dec19(_class4 = (_class5 = class StickyTableMultilineRowNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.SugarNodeBase {
|
|
302350
303038
|
constructor(...args) {
|
|
302351
303039
|
super(...args);
|
|
302352
303040
|
|
|
302353
|
-
_initializerDefineProperty(this, "columns",
|
|
303041
|
+
_initializerDefineProperty(this, "columns", _descriptor18, this);
|
|
302354
303042
|
|
|
302355
|
-
_initializerDefineProperty(this, "borderBottom",
|
|
303043
|
+
_initializerDefineProperty(this, "borderBottom", _descriptor19, this);
|
|
302356
303044
|
}
|
|
302357
303045
|
|
|
302358
|
-
}, (
|
|
303046
|
+
}, (_descriptor18 = _applyDecoratedDescriptor(_class5.prototype, "columns", [_dec20], {
|
|
302359
303047
|
configurable: true,
|
|
302360
303048
|
enumerable: true,
|
|
302361
303049
|
writable: true,
|
|
302362
303050
|
initializer: null
|
|
302363
|
-
}),
|
|
303051
|
+
}), _descriptor19 = _applyDecoratedDescriptor(_class5.prototype, "borderBottom", [_dec21], {
|
|
302364
303052
|
configurable: true,
|
|
302365
303053
|
enumerable: true,
|
|
302366
303054
|
writable: true,
|
|
302367
303055
|
initializer: null
|
|
302368
303056
|
})), _class5)) || _class4);
|
|
302369
|
-
let StickyTableMultilineNode = (
|
|
303057
|
+
let StickyTableMultilineNode = (_dec22 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("multiline", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/StickyTable sync recursive .md$")), _dec23 = (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)} данного элемента. Опционально, если не указан, то будет оторажаться текст заданный внутри данного элемента`), _dec24 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("instancesPerPage", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.Removed), _dec25 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec26 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("defaultChildren", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.arrayLiteral(), ``), _dec27 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("removebutton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `\"false\" - крестики не рисовать`), _dec28 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("rowmenu", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec29 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("className", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.Removed), _dec30 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("customProperty", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.UntypedUsage), _dec31 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("addButtonText", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.InvalidUsage), _dec32 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("offsetLeft", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.InvalidUsage), _dec33 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("offsetTop", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.InvalidUsage), _dec34 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("focusByHotkey", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Если добавишь больше 90 строк, то пейджер сворачивается и по focusByHotkey можно сфокусироваться`), _dec35 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)("row", [StickyTableMultilineRowNode]), _dec36 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("addbutton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString, `\"false\" - не нужна кнопка для добавления множественного блока`), _dec37 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("doNotCopyPaths", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.stringArray, ``), _dec38 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("addType", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString, ``), _dec39 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("usepager", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `\"false\" - без пейджера (1-11, 12-22 - этого нет внизу страницы)`), _dec40 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("show-row-border", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec41 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("override", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.customControl, ``), _dec42 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("storeFilters", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Будут ли сохраняться фильтры для этого мультилайна между обнолениями страницы. По умолчанию -- нет`), _dec22(_class7 = (_class8 = class StickyTableMultilineNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_3__.SugarNodeWithLegacyVisibility {
|
|
302370
303058
|
constructor(...args) {
|
|
302371
303059
|
super(...args);
|
|
302372
303060
|
|
|
302373
|
-
_initializerDefineProperty(this, "path",
|
|
303061
|
+
_initializerDefineProperty(this, "path", _descriptor20, this);
|
|
302374
303062
|
|
|
302375
|
-
_initializerDefineProperty(this, "instancesPerPage",
|
|
303063
|
+
_initializerDefineProperty(this, "instancesPerPage", _descriptor21, this);
|
|
302376
303064
|
|
|
302377
|
-
_initializerDefineProperty(this, "optional",
|
|
303065
|
+
_initializerDefineProperty(this, "optional", _descriptor22, this);
|
|
302378
303066
|
|
|
302379
|
-
_initializerDefineProperty(this, "defaultChildren",
|
|
303067
|
+
_initializerDefineProperty(this, "defaultChildren", _descriptor23, this);
|
|
302380
303068
|
|
|
302381
|
-
_initializerDefineProperty(this, "removebutton",
|
|
303069
|
+
_initializerDefineProperty(this, "removebutton", _descriptor24, this);
|
|
302382
303070
|
|
|
302383
|
-
_initializerDefineProperty(this, "rowmenu",
|
|
303071
|
+
_initializerDefineProperty(this, "rowmenu", _descriptor25, this);
|
|
302384
303072
|
|
|
302385
|
-
_initializerDefineProperty(this, "className",
|
|
303073
|
+
_initializerDefineProperty(this, "className", _descriptor26, this);
|
|
302386
303074
|
|
|
302387
|
-
_initializerDefineProperty(this, "customProperty",
|
|
303075
|
+
_initializerDefineProperty(this, "customProperty", _descriptor27, this);
|
|
302388
303076
|
|
|
302389
|
-
_initializerDefineProperty(this, "addButtonText",
|
|
303077
|
+
_initializerDefineProperty(this, "addButtonText", _descriptor28, this);
|
|
302390
303078
|
|
|
302391
|
-
_initializerDefineProperty(this, "offsetLeft",
|
|
303079
|
+
_initializerDefineProperty(this, "offsetLeft", _descriptor29, this);
|
|
302392
303080
|
|
|
302393
|
-
_initializerDefineProperty(this, "offsetTop",
|
|
303081
|
+
_initializerDefineProperty(this, "offsetTop", _descriptor30, this);
|
|
302394
303082
|
|
|
302395
|
-
_initializerDefineProperty(this, "focusByHotkey",
|
|
303083
|
+
_initializerDefineProperty(this, "focusByHotkey", _descriptor31, this);
|
|
302396
303084
|
|
|
302397
|
-
_initializerDefineProperty(this, "rows",
|
|
303085
|
+
_initializerDefineProperty(this, "rows", _descriptor32, this);
|
|
302398
303086
|
|
|
302399
|
-
_initializerDefineProperty(this, "addbutton",
|
|
303087
|
+
_initializerDefineProperty(this, "addbutton", _descriptor33, this);
|
|
302400
303088
|
|
|
302401
|
-
_initializerDefineProperty(this, "doNotCopyPaths",
|
|
303089
|
+
_initializerDefineProperty(this, "doNotCopyPaths", _descriptor34, this);
|
|
302402
303090
|
|
|
302403
|
-
_initializerDefineProperty(this, "addType",
|
|
303091
|
+
_initializerDefineProperty(this, "addType", _descriptor35, this);
|
|
302404
303092
|
|
|
302405
|
-
_initializerDefineProperty(this, "usepager",
|
|
303093
|
+
_initializerDefineProperty(this, "usepager", _descriptor36, this);
|
|
302406
303094
|
|
|
302407
|
-
_initializerDefineProperty(this, "showRowBorder",
|
|
303095
|
+
_initializerDefineProperty(this, "showRowBorder", _descriptor37, this);
|
|
302408
303096
|
|
|
302409
|
-
_initializerDefineProperty(this, "override",
|
|
303097
|
+
_initializerDefineProperty(this, "override", _descriptor38, this);
|
|
302410
303098
|
|
|
302411
|
-
_initializerDefineProperty(this, "storeFilters",
|
|
303099
|
+
_initializerDefineProperty(this, "storeFilters", _descriptor39, this);
|
|
302412
303100
|
}
|
|
302413
303101
|
|
|
302414
303102
|
getOwnPath() {
|
|
@@ -302419,186 +303107,186 @@ let StickyTableMultilineNode = (_dec21 = (0,_Serializer_SugarSerializer__WEBPACK
|
|
|
302419
303107
|
return true;
|
|
302420
303108
|
}
|
|
302421
303109
|
|
|
302422
|
-
}, (
|
|
303110
|
+
}, (_descriptor20 = _applyDecoratedDescriptor(_class8.prototype, "path", [_dec23], {
|
|
302423
303111
|
configurable: true,
|
|
302424
303112
|
enumerable: true,
|
|
302425
303113
|
writable: true,
|
|
302426
303114
|
initializer: null
|
|
302427
|
-
}),
|
|
303115
|
+
}), _descriptor21 = _applyDecoratedDescriptor(_class8.prototype, "instancesPerPage", [_dec24], {
|
|
302428
303116
|
configurable: true,
|
|
302429
303117
|
enumerable: true,
|
|
302430
303118
|
writable: true,
|
|
302431
303119
|
initializer: null
|
|
302432
|
-
}),
|
|
303120
|
+
}), _descriptor22 = _applyDecoratedDescriptor(_class8.prototype, "optional", [_dec25], {
|
|
302433
303121
|
configurable: true,
|
|
302434
303122
|
enumerable: true,
|
|
302435
303123
|
writable: true,
|
|
302436
303124
|
initializer: null
|
|
302437
|
-
}),
|
|
303125
|
+
}), _descriptor23 = _applyDecoratedDescriptor(_class8.prototype, "defaultChildren", [_dec26], {
|
|
302438
303126
|
configurable: true,
|
|
302439
303127
|
enumerable: true,
|
|
302440
303128
|
writable: true,
|
|
302441
303129
|
initializer: null
|
|
302442
|
-
}),
|
|
303130
|
+
}), _descriptor24 = _applyDecoratedDescriptor(_class8.prototype, "removebutton", [_dec27], {
|
|
302443
303131
|
configurable: true,
|
|
302444
303132
|
enumerable: true,
|
|
302445
303133
|
writable: true,
|
|
302446
303134
|
initializer: null
|
|
302447
|
-
}),
|
|
303135
|
+
}), _descriptor25 = _applyDecoratedDescriptor(_class8.prototype, "rowmenu", [_dec28], {
|
|
302448
303136
|
configurable: true,
|
|
302449
303137
|
enumerable: true,
|
|
302450
303138
|
writable: true,
|
|
302451
303139
|
initializer: null
|
|
302452
|
-
}),
|
|
303140
|
+
}), _descriptor26 = _applyDecoratedDescriptor(_class8.prototype, "className", [_dec29], {
|
|
302453
303141
|
configurable: true,
|
|
302454
303142
|
enumerable: true,
|
|
302455
303143
|
writable: true,
|
|
302456
303144
|
initializer: null
|
|
302457
|
-
}),
|
|
303145
|
+
}), _descriptor27 = _applyDecoratedDescriptor(_class8.prototype, "customProperty", [_dec30], {
|
|
302458
303146
|
configurable: true,
|
|
302459
303147
|
enumerable: true,
|
|
302460
303148
|
writable: true,
|
|
302461
303149
|
initializer: null
|
|
302462
|
-
}),
|
|
303150
|
+
}), _descriptor28 = _applyDecoratedDescriptor(_class8.prototype, "addButtonText", [_dec31], {
|
|
302463
303151
|
configurable: true,
|
|
302464
303152
|
enumerable: true,
|
|
302465
303153
|
writable: true,
|
|
302466
303154
|
initializer: null
|
|
302467
|
-
}),
|
|
303155
|
+
}), _descriptor29 = _applyDecoratedDescriptor(_class8.prototype, "offsetLeft", [_dec32], {
|
|
302468
303156
|
configurable: true,
|
|
302469
303157
|
enumerable: true,
|
|
302470
303158
|
writable: true,
|
|
302471
303159
|
initializer: null
|
|
302472
|
-
}),
|
|
303160
|
+
}), _descriptor30 = _applyDecoratedDescriptor(_class8.prototype, "offsetTop", [_dec33], {
|
|
302473
303161
|
configurable: true,
|
|
302474
303162
|
enumerable: true,
|
|
302475
303163
|
writable: true,
|
|
302476
303164
|
initializer: null
|
|
302477
|
-
}),
|
|
303165
|
+
}), _descriptor31 = _applyDecoratedDescriptor(_class8.prototype, "focusByHotkey", [_dec34], {
|
|
302478
303166
|
configurable: true,
|
|
302479
303167
|
enumerable: true,
|
|
302480
303168
|
writable: true,
|
|
302481
303169
|
initializer: null
|
|
302482
|
-
}),
|
|
303170
|
+
}), _descriptor32 = _applyDecoratedDescriptor(_class8.prototype, "rows", [_dec35], {
|
|
302483
303171
|
configurable: true,
|
|
302484
303172
|
enumerable: true,
|
|
302485
303173
|
writable: true,
|
|
302486
303174
|
initializer: null
|
|
302487
|
-
}),
|
|
303175
|
+
}), _descriptor33 = _applyDecoratedDescriptor(_class8.prototype, "addbutton", [_dec36], {
|
|
302488
303176
|
configurable: true,
|
|
302489
303177
|
enumerable: true,
|
|
302490
303178
|
writable: true,
|
|
302491
303179
|
initializer: null
|
|
302492
|
-
}),
|
|
303180
|
+
}), _descriptor34 = _applyDecoratedDescriptor(_class8.prototype, "doNotCopyPaths", [_dec37], {
|
|
302493
303181
|
configurable: true,
|
|
302494
303182
|
enumerable: true,
|
|
302495
303183
|
writable: true,
|
|
302496
303184
|
initializer: null
|
|
302497
|
-
}),
|
|
303185
|
+
}), _descriptor35 = _applyDecoratedDescriptor(_class8.prototype, "addType", [_dec38], {
|
|
302498
303186
|
configurable: true,
|
|
302499
303187
|
enumerable: true,
|
|
302500
303188
|
writable: true,
|
|
302501
303189
|
initializer: null
|
|
302502
|
-
}),
|
|
303190
|
+
}), _descriptor36 = _applyDecoratedDescriptor(_class8.prototype, "usepager", [_dec39], {
|
|
302503
303191
|
configurable: true,
|
|
302504
303192
|
enumerable: true,
|
|
302505
303193
|
writable: true,
|
|
302506
303194
|
initializer: null
|
|
302507
|
-
}),
|
|
303195
|
+
}), _descriptor37 = _applyDecoratedDescriptor(_class8.prototype, "showRowBorder", [_dec40], {
|
|
302508
303196
|
configurable: true,
|
|
302509
303197
|
enumerable: true,
|
|
302510
303198
|
writable: true,
|
|
302511
303199
|
initializer: null
|
|
302512
|
-
}),
|
|
303200
|
+
}), _descriptor38 = _applyDecoratedDescriptor(_class8.prototype, "override", [_dec41], {
|
|
302513
303201
|
configurable: true,
|
|
302514
303202
|
enumerable: true,
|
|
302515
303203
|
writable: true,
|
|
302516
303204
|
initializer: null
|
|
302517
|
-
}),
|
|
303205
|
+
}), _descriptor39 = _applyDecoratedDescriptor(_class8.prototype, "storeFilters", [_dec42], {
|
|
302518
303206
|
configurable: true,
|
|
302519
303207
|
enumerable: true,
|
|
302520
303208
|
writable: true,
|
|
302521
303209
|
initializer: null
|
|
302522
303210
|
})), _class8)) || _class7);
|
|
302523
|
-
let StickyTableRowNode = (
|
|
303211
|
+
let StickyTableRowNode = (_dec43 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("row", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/StickyTable sync recursive .md$")), _dec44 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_0__.DataBindingScopeMixinNode), _dec45 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec46 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("kind", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("head"), `Шапка таблицы`), _dec47 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("subkind", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("numbers"), `Строка с нумерацией столбцов`), _dec48 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)(["column", "multiline"], [StickyTableColumnNode, StickyTableMultilineNode]), _dec49 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("borderBottom", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Серая черта под строкой`), _dec43(_class10 = (_class11 = class StickyTableRowNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.SugarNodeBase {
|
|
302524
303212
|
constructor(...args) {
|
|
302525
303213
|
super(...args);
|
|
302526
303214
|
|
|
302527
|
-
_initializerDefineProperty(this, "dataScope",
|
|
303215
|
+
_initializerDefineProperty(this, "dataScope", _descriptor40, this);
|
|
302528
303216
|
|
|
302529
|
-
_initializerDefineProperty(this, "optional",
|
|
303217
|
+
_initializerDefineProperty(this, "optional", _descriptor41, this);
|
|
302530
303218
|
|
|
302531
|
-
_initializerDefineProperty(this, "kind",
|
|
303219
|
+
_initializerDefineProperty(this, "kind", _descriptor42, this);
|
|
302532
303220
|
|
|
302533
|
-
_initializerDefineProperty(this, "subkind",
|
|
303221
|
+
_initializerDefineProperty(this, "subkind", _descriptor43, this);
|
|
302534
303222
|
|
|
302535
|
-
_initializerDefineProperty(this, "columns",
|
|
303223
|
+
_initializerDefineProperty(this, "columns", _descriptor44, this);
|
|
302536
303224
|
|
|
302537
|
-
_initializerDefineProperty(this, "borderBottom",
|
|
303225
|
+
_initializerDefineProperty(this, "borderBottom", _descriptor45, this);
|
|
302538
303226
|
}
|
|
302539
303227
|
|
|
302540
303228
|
getOwnPath() {
|
|
302541
303229
|
return this.dataScope.getOwnPath();
|
|
302542
303230
|
}
|
|
302543
303231
|
|
|
302544
|
-
}, (
|
|
303232
|
+
}, (_descriptor40 = _applyDecoratedDescriptor(_class11.prototype, "dataScope", [_dec44], {
|
|
302545
303233
|
configurable: true,
|
|
302546
303234
|
enumerable: true,
|
|
302547
303235
|
writable: true,
|
|
302548
303236
|
initializer: null
|
|
302549
|
-
}),
|
|
303237
|
+
}), _descriptor41 = _applyDecoratedDescriptor(_class11.prototype, "optional", [_dec45], {
|
|
302550
303238
|
configurable: true,
|
|
302551
303239
|
enumerable: true,
|
|
302552
303240
|
writable: true,
|
|
302553
303241
|
initializer: null
|
|
302554
|
-
}),
|
|
303242
|
+
}), _descriptor42 = _applyDecoratedDescriptor(_class11.prototype, "kind", [_dec46], {
|
|
302555
303243
|
configurable: true,
|
|
302556
303244
|
enumerable: true,
|
|
302557
303245
|
writable: true,
|
|
302558
303246
|
initializer: null
|
|
302559
|
-
}),
|
|
303247
|
+
}), _descriptor43 = _applyDecoratedDescriptor(_class11.prototype, "subkind", [_dec47], {
|
|
302560
303248
|
configurable: true,
|
|
302561
303249
|
enumerable: true,
|
|
302562
303250
|
writable: true,
|
|
302563
303251
|
initializer: null
|
|
302564
|
-
}),
|
|
303252
|
+
}), _descriptor44 = _applyDecoratedDescriptor(_class11.prototype, "columns", [_dec48], {
|
|
302565
303253
|
configurable: true,
|
|
302566
303254
|
enumerable: true,
|
|
302567
303255
|
writable: true,
|
|
302568
303256
|
initializer: null
|
|
302569
|
-
}),
|
|
303257
|
+
}), _descriptor45 = _applyDecoratedDescriptor(_class11.prototype, "borderBottom", [_dec49], {
|
|
302570
303258
|
configurable: true,
|
|
302571
303259
|
enumerable: true,
|
|
302572
303260
|
writable: true,
|
|
302573
303261
|
initializer: null
|
|
302574
303262
|
})), _class11)) || _class10);
|
|
302575
|
-
let StickyTableHeaderNode = (
|
|
303263
|
+
let StickyTableHeaderNode = (_dec50 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("header", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/StickyTable sync recursive .md$")), _dec51 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("align", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("right"), ``), _dec52 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)(), _dec50(_class13 = (_class14 = class StickyTableHeaderNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.SugarNodeBase {
|
|
302576
303264
|
constructor(...args) {
|
|
302577
303265
|
super(...args);
|
|
302578
303266
|
|
|
302579
|
-
_initializerDefineProperty(this, "align",
|
|
303267
|
+
_initializerDefineProperty(this, "align", _descriptor46, this);
|
|
302580
303268
|
|
|
302581
|
-
_initializerDefineProperty(this, "children",
|
|
303269
|
+
_initializerDefineProperty(this, "children", _descriptor47, this);
|
|
302582
303270
|
}
|
|
302583
303271
|
|
|
302584
|
-
}, (
|
|
303272
|
+
}, (_descriptor46 = _applyDecoratedDescriptor(_class14.prototype, "align", [_dec51], {
|
|
302585
303273
|
configurable: true,
|
|
302586
303274
|
enumerable: true,
|
|
302587
303275
|
writable: true,
|
|
302588
303276
|
initializer: null
|
|
302589
|
-
}),
|
|
303277
|
+
}), _descriptor47 = _applyDecoratedDescriptor(_class14.prototype, "children", [_dec52], {
|
|
302590
303278
|
configurable: true,
|
|
302591
303279
|
enumerable: true,
|
|
302592
303280
|
writable: true,
|
|
302593
303281
|
initializer: null
|
|
302594
303282
|
})), _class14)) || _class13);
|
|
302595
|
-
let StickyTableFooterNode = (
|
|
303283
|
+
let StickyTableFooterNode = (_dec53 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("footer", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/StickyTable sync recursive .md$")), _dec54 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)(["row"], [StickyTableRowNode]), _dec55 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)("column", [StickyTableColumnNode]), _dec53(_class16 = (_class17 = class StickyTableFooterNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.SugarNodeBase {
|
|
302596
303284
|
constructor(...args) {
|
|
302597
303285
|
super(...args);
|
|
302598
303286
|
|
|
302599
|
-
_initializerDefineProperty(this, "rows",
|
|
303287
|
+
_initializerDefineProperty(this, "rows", _descriptor48, this);
|
|
302600
303288
|
|
|
302601
|
-
_initializerDefineProperty(this, "columns",
|
|
303289
|
+
_initializerDefineProperty(this, "columns", _descriptor49, this);
|
|
302602
303290
|
}
|
|
302603
303291
|
|
|
302604
303292
|
getColumnLists() {
|
|
@@ -302611,80 +303299,80 @@ let StickyTableFooterNode = (_dec52 = (0,_Serializer_SugarSerializer__WEBPACK_IM
|
|
|
302611
303299
|
return footerColumnsLists;
|
|
302612
303300
|
}
|
|
302613
303301
|
|
|
302614
|
-
}, (
|
|
303302
|
+
}, (_descriptor48 = _applyDecoratedDescriptor(_class17.prototype, "rows", [_dec54], {
|
|
302615
303303
|
configurable: true,
|
|
302616
303304
|
enumerable: true,
|
|
302617
303305
|
writable: true,
|
|
302618
303306
|
initializer: null
|
|
302619
|
-
}),
|
|
303307
|
+
}), _descriptor49 = _applyDecoratedDescriptor(_class17.prototype, "columns", [_dec55], {
|
|
302620
303308
|
configurable: true,
|
|
302621
303309
|
enumerable: true,
|
|
302622
303310
|
writable: true,
|
|
302623
303311
|
initializer: null
|
|
302624
303312
|
})), _class17)) || _class16);
|
|
302625
|
-
let StickyTableColgroupColumnNode = (
|
|
303313
|
+
let StickyTableColgroupColumnNode = (_dec56 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("col", ``), _dec57 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.lengthUnit, ``), _dec56(_class19 = (_class20 = class StickyTableColgroupColumnNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.SugarNodeBase {
|
|
302626
303314
|
constructor(...args) {
|
|
302627
303315
|
super(...args);
|
|
302628
303316
|
|
|
302629
|
-
_initializerDefineProperty(this, "width",
|
|
303317
|
+
_initializerDefineProperty(this, "width", _descriptor50, this);
|
|
302630
303318
|
}
|
|
302631
303319
|
|
|
302632
|
-
}, (
|
|
303320
|
+
}, (_descriptor50 = _applyDecoratedDescriptor(_class20.prototype, "width", [_dec57], {
|
|
302633
303321
|
configurable: true,
|
|
302634
303322
|
enumerable: true,
|
|
302635
303323
|
writable: true,
|
|
302636
303324
|
initializer: null
|
|
302637
303325
|
})), _class20)) || _class19);
|
|
302638
|
-
let StickyTableColgroupNode = (
|
|
303326
|
+
let StickyTableColgroupNode = (_dec58 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("colgroup", ``), _dec59 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)("col", [StickyTableColgroupColumnNode]), _dec58(_class22 = (_class23 = class StickyTableColgroupNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.SugarNodeBase {
|
|
302639
303327
|
constructor(...args) {
|
|
302640
303328
|
super(...args);
|
|
302641
303329
|
|
|
302642
|
-
_initializerDefineProperty(this, "cols",
|
|
303330
|
+
_initializerDefineProperty(this, "cols", _descriptor51, this);
|
|
302643
303331
|
}
|
|
302644
303332
|
|
|
302645
|
-
}, (
|
|
303333
|
+
}, (_descriptor51 = _applyDecoratedDescriptor(_class23.prototype, "cols", [_dec59], {
|
|
302646
303334
|
configurable: true,
|
|
302647
303335
|
enumerable: true,
|
|
302648
303336
|
writable: true,
|
|
302649
303337
|
initializer: null
|
|
302650
303338
|
})), _class23)) || _class22);
|
|
302651
|
-
let StickyTableNode = (
|
|
303339
|
+
let StickyTableNode = (_dec60 = (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), _dec61 = (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)} данного элемента. Опционально, если не указан, то будет оторажаться текст заданный внутри данного элемента`), _dec62 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec63 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("align", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("baseline", "top"), ``), _dec64 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("removebutton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `\"false\" - крестики не рисовать`), _dec65 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("sticky", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec66 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("stickyHeader", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Залипающая шапка`), _dec67 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("grayColumn", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.number, `Буквы во второй колонке серым цветом`), _dec68 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("side", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.number, ``), _dec69 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("className", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, ``), _dec70 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.singleChild)("colgroup", [StickyTableColgroupNode]), _dec71 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)(["row", "multiline"], [StickyTableRowNode, StickyTableMultilineNode]), _dec72 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.singleChild)("header", [StickyTableHeaderNode]), _dec73 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.singleChild)("footer", [StickyTableFooterNode]), _dec74 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("deprecated-diadoc-width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.number, ``), _dec75 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.number, `Ширина таблицы`), _dec76 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("tid", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, ``), _dec77 = (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 устанавливаю тексты в подсказке при наведении.`), _dec60(_class25 = (_class26 = class StickyTableNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_3__.SugarNodeWithLegacyVisibility {
|
|
302652
303340
|
constructor(...args) {
|
|
302653
303341
|
super(...args);
|
|
302654
303342
|
|
|
302655
|
-
_initializerDefineProperty(this, "path",
|
|
303343
|
+
_initializerDefineProperty(this, "path", _descriptor52, this);
|
|
302656
303344
|
|
|
302657
|
-
_initializerDefineProperty(this, "optional",
|
|
303345
|
+
_initializerDefineProperty(this, "optional", _descriptor53, this);
|
|
302658
303346
|
|
|
302659
|
-
_initializerDefineProperty(this, "align",
|
|
303347
|
+
_initializerDefineProperty(this, "align", _descriptor54, this);
|
|
302660
303348
|
|
|
302661
|
-
_initializerDefineProperty(this, "removeButton",
|
|
303349
|
+
_initializerDefineProperty(this, "removeButton", _descriptor55, this);
|
|
302662
303350
|
|
|
302663
|
-
_initializerDefineProperty(this, "sticky",
|
|
303351
|
+
_initializerDefineProperty(this, "sticky", _descriptor56, this);
|
|
302664
303352
|
|
|
302665
|
-
_initializerDefineProperty(this, "stickyHeader",
|
|
303353
|
+
_initializerDefineProperty(this, "stickyHeader", _descriptor57, this);
|
|
302666
303354
|
|
|
302667
|
-
_initializerDefineProperty(this, "grayColumn",
|
|
303355
|
+
_initializerDefineProperty(this, "grayColumn", _descriptor58, this);
|
|
302668
303356
|
|
|
302669
|
-
_initializerDefineProperty(this, "side",
|
|
303357
|
+
_initializerDefineProperty(this, "side", _descriptor59, this);
|
|
302670
303358
|
|
|
302671
|
-
_initializerDefineProperty(this, "className",
|
|
303359
|
+
_initializerDefineProperty(this, "className", _descriptor60, this);
|
|
302672
303360
|
|
|
302673
|
-
_initializerDefineProperty(this, "colgroup",
|
|
303361
|
+
_initializerDefineProperty(this, "colgroup", _descriptor61, this);
|
|
302674
303362
|
|
|
302675
|
-
_initializerDefineProperty(this, "rows",
|
|
303363
|
+
_initializerDefineProperty(this, "rows", _descriptor62, this);
|
|
302676
303364
|
|
|
302677
|
-
_initializerDefineProperty(this, "header",
|
|
303365
|
+
_initializerDefineProperty(this, "header", _descriptor63, this);
|
|
302678
303366
|
|
|
302679
|
-
_initializerDefineProperty(this, "footer",
|
|
303367
|
+
_initializerDefineProperty(this, "footer", _descriptor64, this);
|
|
302680
303368
|
|
|
302681
|
-
_initializerDefineProperty(this, "deprecatedDiadocWidth",
|
|
303369
|
+
_initializerDefineProperty(this, "deprecatedDiadocWidth", _descriptor65, this);
|
|
302682
303370
|
|
|
302683
|
-
_initializerDefineProperty(this, "width",
|
|
303371
|
+
_initializerDefineProperty(this, "width", _descriptor66, this);
|
|
302684
303372
|
|
|
302685
|
-
_initializerDefineProperty(this, "tid",
|
|
303373
|
+
_initializerDefineProperty(this, "tid", _descriptor67, this);
|
|
302686
303374
|
|
|
302687
|
-
_initializerDefineProperty(this, "columnGrouping",
|
|
303375
|
+
_initializerDefineProperty(this, "columnGrouping", _descriptor68, this);
|
|
302688
303376
|
}
|
|
302689
303377
|
|
|
302690
303378
|
getOwnPath() {
|
|
@@ -302695,87 +303383,87 @@ let StickyTableNode = (_dec59 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED
|
|
|
302695
303383
|
return this.rows.filter(isRowNode).filter(row => row.kind === "head");
|
|
302696
303384
|
}
|
|
302697
303385
|
|
|
302698
|
-
}, (
|
|
303386
|
+
}, (_descriptor52 = _applyDecoratedDescriptor(_class26.prototype, "path", [_dec61], {
|
|
302699
303387
|
configurable: true,
|
|
302700
303388
|
enumerable: true,
|
|
302701
303389
|
writable: true,
|
|
302702
303390
|
initializer: null
|
|
302703
|
-
}),
|
|
303391
|
+
}), _descriptor53 = _applyDecoratedDescriptor(_class26.prototype, "optional", [_dec62], {
|
|
302704
303392
|
configurable: true,
|
|
302705
303393
|
enumerable: true,
|
|
302706
303394
|
writable: true,
|
|
302707
303395
|
initializer: null
|
|
302708
|
-
}),
|
|
303396
|
+
}), _descriptor54 = _applyDecoratedDescriptor(_class26.prototype, "align", [_dec63], {
|
|
302709
303397
|
configurable: true,
|
|
302710
303398
|
enumerable: true,
|
|
302711
303399
|
writable: true,
|
|
302712
303400
|
initializer: null
|
|
302713
|
-
}),
|
|
303401
|
+
}), _descriptor55 = _applyDecoratedDescriptor(_class26.prototype, "removeButton", [_dec64], {
|
|
302714
303402
|
configurable: true,
|
|
302715
303403
|
enumerable: true,
|
|
302716
303404
|
writable: true,
|
|
302717
303405
|
initializer: null
|
|
302718
|
-
}),
|
|
303406
|
+
}), _descriptor56 = _applyDecoratedDescriptor(_class26.prototype, "sticky", [_dec65], {
|
|
302719
303407
|
configurable: true,
|
|
302720
303408
|
enumerable: true,
|
|
302721
303409
|
writable: true,
|
|
302722
303410
|
initializer: null
|
|
302723
|
-
}),
|
|
303411
|
+
}), _descriptor57 = _applyDecoratedDescriptor(_class26.prototype, "stickyHeader", [_dec66], {
|
|
302724
303412
|
configurable: true,
|
|
302725
303413
|
enumerable: true,
|
|
302726
303414
|
writable: true,
|
|
302727
303415
|
initializer: null
|
|
302728
|
-
}),
|
|
303416
|
+
}), _descriptor58 = _applyDecoratedDescriptor(_class26.prototype, "grayColumn", [_dec67], {
|
|
302729
303417
|
configurable: true,
|
|
302730
303418
|
enumerable: true,
|
|
302731
303419
|
writable: true,
|
|
302732
303420
|
initializer: null
|
|
302733
|
-
}),
|
|
303421
|
+
}), _descriptor59 = _applyDecoratedDescriptor(_class26.prototype, "side", [_dec68], {
|
|
302734
303422
|
configurable: true,
|
|
302735
303423
|
enumerable: true,
|
|
302736
303424
|
writable: true,
|
|
302737
303425
|
initializer: null
|
|
302738
|
-
}),
|
|
303426
|
+
}), _descriptor60 = _applyDecoratedDescriptor(_class26.prototype, "className", [_dec69], {
|
|
302739
303427
|
configurable: true,
|
|
302740
303428
|
enumerable: true,
|
|
302741
303429
|
writable: true,
|
|
302742
303430
|
initializer: null
|
|
302743
|
-
}),
|
|
303431
|
+
}), _descriptor61 = _applyDecoratedDescriptor(_class26.prototype, "colgroup", [_dec70], {
|
|
302744
303432
|
configurable: true,
|
|
302745
303433
|
enumerable: true,
|
|
302746
303434
|
writable: true,
|
|
302747
303435
|
initializer: null
|
|
302748
|
-
}),
|
|
303436
|
+
}), _descriptor62 = _applyDecoratedDescriptor(_class26.prototype, "rows", [_dec71], {
|
|
302749
303437
|
configurable: true,
|
|
302750
303438
|
enumerable: true,
|
|
302751
303439
|
writable: true,
|
|
302752
303440
|
initializer: null
|
|
302753
|
-
}),
|
|
303441
|
+
}), _descriptor63 = _applyDecoratedDescriptor(_class26.prototype, "header", [_dec72], {
|
|
302754
303442
|
configurable: true,
|
|
302755
303443
|
enumerable: true,
|
|
302756
303444
|
writable: true,
|
|
302757
303445
|
initializer: null
|
|
302758
|
-
}),
|
|
303446
|
+
}), _descriptor64 = _applyDecoratedDescriptor(_class26.prototype, "footer", [_dec73], {
|
|
302759
303447
|
configurable: true,
|
|
302760
303448
|
enumerable: true,
|
|
302761
303449
|
writable: true,
|
|
302762
303450
|
initializer: null
|
|
302763
|
-
}),
|
|
303451
|
+
}), _descriptor65 = _applyDecoratedDescriptor(_class26.prototype, "deprecatedDiadocWidth", [_dec74], {
|
|
302764
303452
|
configurable: true,
|
|
302765
303453
|
enumerable: true,
|
|
302766
303454
|
writable: true,
|
|
302767
303455
|
initializer: null
|
|
302768
|
-
}),
|
|
303456
|
+
}), _descriptor66 = _applyDecoratedDescriptor(_class26.prototype, "width", [_dec75], {
|
|
302769
303457
|
configurable: true,
|
|
302770
303458
|
enumerable: true,
|
|
302771
303459
|
writable: true,
|
|
302772
303460
|
initializer: null
|
|
302773
|
-
}),
|
|
303461
|
+
}), _descriptor67 = _applyDecoratedDescriptor(_class26.prototype, "tid", [_dec76], {
|
|
302774
303462
|
configurable: true,
|
|
302775
303463
|
enumerable: true,
|
|
302776
303464
|
writable: true,
|
|
302777
303465
|
initializer: null
|
|
302778
|
-
}),
|
|
303466
|
+
}), _descriptor68 = _applyDecoratedDescriptor(_class26.prototype, "columnGrouping", [_dec77], {
|
|
302779
303467
|
configurable: true,
|
|
302780
303468
|
enumerable: true,
|
|
302781
303469
|
writable: true,
|