@kontur.candy/generator 4.236.0-nightly.5jl79 → 4.236.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +452 -1110
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -279913,293 +279913,6 @@ class CompositionOperandContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPO
|
|
|
279913
279913
|
|
|
279914
279914
|
/***/ }),
|
|
279915
279915
|
|
|
279916
|
-
/***/ "./Generator/src/common/KCLang/IKCLangExpressionVisitor.ts":
|
|
279917
|
-
/*!*****************************************************************!*\
|
|
279918
|
-
!*** ./Generator/src/common/KCLang/IKCLangExpressionVisitor.ts ***!
|
|
279919
|
-
\*****************************************************************/
|
|
279920
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
279921
|
-
|
|
279922
|
-
"use strict";
|
|
279923
|
-
__webpack_require__.r(__webpack_exports__);
|
|
279924
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
279925
|
-
/* harmony export */ "traverseKCLangExpression": () => (/* binding */ traverseKCLangExpression),
|
|
279926
|
-
/* harmony export */ "DefaultKCLangExpressionVisitor": () => (/* binding */ DefaultKCLangExpressionVisitor)
|
|
279927
|
-
/* harmony export */ });
|
|
279928
|
-
/* harmony import */ var _Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../Common/TypingUtils */ "./Common/TypingUtils.ts");
|
|
279929
|
-
|
|
279930
|
-
// tslint:disable-next-line:cyclomatic-complexity
|
|
279931
|
-
function traverseKCLangExpression(node, visitor) {
|
|
279932
|
-
switch (node.type) {
|
|
279933
|
-
case "cast":
|
|
279934
|
-
traverseKCLangExpression(node.expression, visitor);
|
|
279935
|
-
visitor.visitCastExpressionKCLangNode(node);
|
|
279936
|
-
break;
|
|
279937
|
-
|
|
279938
|
-
case "oneof":
|
|
279939
|
-
traverseKCLangExpression(node.testExpression, visitor);
|
|
279940
|
-
visitor.visitOneOfExpressionKCLangNode(node);
|
|
279941
|
-
break;
|
|
279942
|
-
|
|
279943
|
-
case "abs":
|
|
279944
|
-
traverseKCLangExpression(node.expression, visitor);
|
|
279945
|
-
visitor.visitAbsKCLangNode(node);
|
|
279946
|
-
break;
|
|
279947
|
-
|
|
279948
|
-
case "xabs":
|
|
279949
|
-
traverseKCLangExpression(node.expression, visitor);
|
|
279950
|
-
visitor.visitXAbsKCLangNode(node);
|
|
279951
|
-
break;
|
|
279952
|
-
|
|
279953
|
-
case "exists":
|
|
279954
|
-
visitor.visitExistsKCLangNode(node);
|
|
279955
|
-
break;
|
|
279956
|
-
|
|
279957
|
-
case "length":
|
|
279958
|
-
traverseKCLangExpression(node.expression, visitor);
|
|
279959
|
-
visitor.visitLengthKCLangNode(node);
|
|
279960
|
-
break;
|
|
279961
|
-
|
|
279962
|
-
case "and":
|
|
279963
|
-
for (const expression of node.expressions) {
|
|
279964
|
-
traverseKCLangExpression(expression, visitor);
|
|
279965
|
-
}
|
|
279966
|
-
|
|
279967
|
-
visitor.visitAndKCLangNode(node);
|
|
279968
|
-
break;
|
|
279969
|
-
|
|
279970
|
-
case "sum":
|
|
279971
|
-
visitor.visitSumKCLangNode(node);
|
|
279972
|
-
break;
|
|
279973
|
-
|
|
279974
|
-
case "gt":
|
|
279975
|
-
case "ge":
|
|
279976
|
-
case "lt":
|
|
279977
|
-
case "le":
|
|
279978
|
-
case "eq":
|
|
279979
|
-
case "noteq":
|
|
279980
|
-
for (const expression of node.expressions) {
|
|
279981
|
-
traverseKCLangExpression(expression, visitor);
|
|
279982
|
-
}
|
|
279983
|
-
|
|
279984
|
-
visitor.visitComparisonKCLangNode(node);
|
|
279985
|
-
break;
|
|
279986
|
-
|
|
279987
|
-
case "division":
|
|
279988
|
-
case "multiply":
|
|
279989
|
-
for (const expression of node.expressions) {
|
|
279990
|
-
traverseKCLangExpression(expression, visitor);
|
|
279991
|
-
}
|
|
279992
|
-
|
|
279993
|
-
visitor.visitMultiplyKCLangNode(node);
|
|
279994
|
-
break;
|
|
279995
|
-
|
|
279996
|
-
case "minus":
|
|
279997
|
-
traverseKCLangExpression(node.expression, visitor);
|
|
279998
|
-
visitor.visitMinusKCLangNode(node);
|
|
279999
|
-
break;
|
|
280000
|
-
|
|
280001
|
-
case "not":
|
|
280002
|
-
traverseKCLangExpression(node.expression, visitor);
|
|
280003
|
-
visitor.visitNotKCLangNode(node);
|
|
280004
|
-
break;
|
|
280005
|
-
|
|
280006
|
-
case "round":
|
|
280007
|
-
traverseKCLangExpression(node.expression, visitor);
|
|
280008
|
-
visitor.visitRoundKCLangNode(node);
|
|
280009
|
-
break;
|
|
280010
|
-
|
|
280011
|
-
case "choose":
|
|
280012
|
-
traverseKCLangExpression(node.if, visitor);
|
|
280013
|
-
traverseKCLangExpression(node.else, visitor);
|
|
280014
|
-
traverseKCLangExpression(node.then, visitor);
|
|
280015
|
-
visitor.visitChooseKCLangNode(node);
|
|
280016
|
-
break;
|
|
280017
|
-
|
|
280018
|
-
case "const":
|
|
280019
|
-
visitor.visitConstKCLangNode(node);
|
|
280020
|
-
break;
|
|
280021
|
-
|
|
280022
|
-
case "argument":
|
|
280023
|
-
visitor.visitArgumentKCLangNode(node);
|
|
280024
|
-
break;
|
|
280025
|
-
|
|
280026
|
-
case "or":
|
|
280027
|
-
for (const expression of node.expressions) {
|
|
280028
|
-
traverseKCLangExpression(expression, visitor);
|
|
280029
|
-
}
|
|
280030
|
-
|
|
280031
|
-
visitor.visitOrKCLangNode(node);
|
|
280032
|
-
break;
|
|
280033
|
-
|
|
280034
|
-
case "multySum":
|
|
280035
|
-
visitor.visitMultySumKCLangNode(node);
|
|
280036
|
-
break;
|
|
280037
|
-
|
|
280038
|
-
case "substring":
|
|
280039
|
-
traverseKCLangExpression(node.expression, visitor);
|
|
280040
|
-
visitor.visitSubstringKCLangNode(node);
|
|
280041
|
-
break;
|
|
280042
|
-
|
|
280043
|
-
case "regexMatch":
|
|
280044
|
-
traverseKCLangExpression(node.expression, visitor);
|
|
280045
|
-
visitor.visitRegexMatchKCLangNode(node);
|
|
280046
|
-
break;
|
|
280047
|
-
|
|
280048
|
-
default:
|
|
280049
|
-
(0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__.ensureNever)(node);
|
|
280050
|
-
break;
|
|
280051
|
-
}
|
|
280052
|
-
}
|
|
280053
|
-
class DefaultKCLangExpressionVisitor {
|
|
280054
|
-
visitAbsKCLangNode(node) {// default empty implementation
|
|
280055
|
-
}
|
|
280056
|
-
|
|
280057
|
-
visitAndKCLangNode(node) {// default empty implementation
|
|
280058
|
-
}
|
|
280059
|
-
|
|
280060
|
-
visitArgumentKCLangNode(node) {// default empty implementation
|
|
280061
|
-
}
|
|
280062
|
-
|
|
280063
|
-
visitCastExpressionKCLangNode(node) {// default empty implementation
|
|
280064
|
-
}
|
|
280065
|
-
|
|
280066
|
-
visitChooseKCLangNode(node) {// default empty implementation
|
|
280067
|
-
}
|
|
280068
|
-
|
|
280069
|
-
visitComparisonKCLangNode(node) {// default empty implementation
|
|
280070
|
-
}
|
|
280071
|
-
|
|
280072
|
-
visitConstKCLangNode(node) {// default empty implementation
|
|
280073
|
-
}
|
|
280074
|
-
|
|
280075
|
-
visitExistsKCLangNode(node) {// default empty implementation
|
|
280076
|
-
}
|
|
280077
|
-
|
|
280078
|
-
visitLengthKCLangNode(node) {// default empty implementation
|
|
280079
|
-
}
|
|
280080
|
-
|
|
280081
|
-
visitMinusKCLangNode(node) {// default empty implementation
|
|
280082
|
-
}
|
|
280083
|
-
|
|
280084
|
-
visitMultiplyKCLangNode(node) {// default empty implementation
|
|
280085
|
-
}
|
|
280086
|
-
|
|
280087
|
-
visitMultySumKCLangNode(node) {// default empty implementation
|
|
280088
|
-
}
|
|
280089
|
-
|
|
280090
|
-
visitNotKCLangNode(node) {// default empty implementation
|
|
280091
|
-
}
|
|
280092
|
-
|
|
280093
|
-
visitOneOfExpressionKCLangNode(node) {// default empty implementation
|
|
280094
|
-
}
|
|
280095
|
-
|
|
280096
|
-
visitOrKCLangNode(node) {// default empty implementation
|
|
280097
|
-
}
|
|
280098
|
-
|
|
280099
|
-
visitRegexMatchKCLangNode(node) {// default empty implementation
|
|
280100
|
-
}
|
|
280101
|
-
|
|
280102
|
-
visitRoundKCLangNode(node) {// default empty implementation
|
|
280103
|
-
}
|
|
280104
|
-
|
|
280105
|
-
visitSubstringKCLangNode(node) {// default empty implementation
|
|
280106
|
-
}
|
|
280107
|
-
|
|
280108
|
-
visitSumKCLangNode(node) {// default empty implementation
|
|
280109
|
-
}
|
|
280110
|
-
|
|
280111
|
-
visitXAbsKCLangNode(node) {// default empty implementation
|
|
280112
|
-
}
|
|
280113
|
-
|
|
280114
|
-
}
|
|
280115
|
-
|
|
280116
|
-
/***/ }),
|
|
280117
|
-
|
|
280118
|
-
/***/ "./Generator/src/common/KCLang/KCLangDescriptionGrammar.ts":
|
|
280119
|
-
/*!*****************************************************************!*\
|
|
280120
|
-
!*** ./Generator/src/common/KCLang/KCLangDescriptionGrammar.ts ***!
|
|
280121
|
-
\*****************************************************************/
|
|
280122
|
-
/***/ ((module) => {
|
|
280123
|
-
|
|
280124
|
-
// this file was prevaled
|
|
280125
|
-
|
|
280126
|
-
/* eslint-disable */
|
|
280127
|
-
// @ts-ignore
|
|
280128
|
-
module.exports = "/*\n * Generated by PEG.js 0.10.0.\n *\n * http://pegjs.org/\n */\n(function() {\n \"use strict\";\n\n function peg$subclass(child, parent) {\n function ctor() { this.constructor = child; }\n ctor.prototype = parent.prototype;\n child.prototype = new ctor();\n }\n\n function peg$SyntaxError(message, expected, found, location) {\n this.message = message;\n this.expected = expected;\n this.found = found;\n this.location = location;\n this.name = \"SyntaxError\";\n\n if (typeof Error.captureStackTrace === \"function\") {\n Error.captureStackTrace(this, peg$SyntaxError);\n }\n }\n\n peg$subclass(peg$SyntaxError, Error);\n\n peg$SyntaxError.buildMessage = function(expected, found) {\n var DESCRIBE_EXPECTATION_FNS = {\n literal: function(expectation) {\n return \"\\\"\" + literalEscape(expectation.text) + \"\\\"\";\n },\n\n \"class\": function(expectation) {\n var escapedParts = \"\",\n i;\n\n for (i = 0; i < expectation.parts.length; i++) {\n escapedParts += expectation.parts[i] instanceof Array\n ? classEscape(expectation.parts[i][0]) + \"-\" + classEscape(expectation.parts[i][1])\n : classEscape(expectation.parts[i]);\n }\n\n return \"[\" + (expectation.inverted ? \"^\" : \"\") + escapedParts + \"]\";\n },\n\n any: function(expectation) {\n return \"any character\";\n },\n\n end: function(expectation) {\n return \"end of input\";\n },\n\n other: function(expectation) {\n return expectation.description;\n }\n };\n\n function hex(ch) {\n return ch.charCodeAt(0).toString(16).toUpperCase();\n }\n\n function literalEscape(s) {\n return s\n .replace(/\\\\/g, '\\\\\\\\')\n .replace(/\"/g, '\\\\\"')\n .replace(/\\0/g, '\\\\0')\n .replace(/\\t/g, '\\\\t')\n .replace(/\\n/g, '\\\\n')\n .replace(/\\r/g, '\\\\r')\n .replace(/[\\x00-\\x0F]/g, function(ch) { return '\\\\x0' + hex(ch); })\n .replace(/[\\x10-\\x1F\\x7F-\\x9F]/g, function(ch) { return '\\\\x' + hex(ch); });\n }\n\n function classEscape(s) {\n return s\n .replace(/\\\\/g, '\\\\\\\\')\n .replace(/\\]/g, '\\\\]')\n .replace(/\\^/g, '\\\\^')\n .replace(/-/g, '\\\\-')\n .replace(/\\0/g, '\\\\0')\n .replace(/\\t/g, '\\\\t')\n .replace(/\\n/g, '\\\\n')\n .replace(/\\r/g, '\\\\r')\n .replace(/[\\x00-\\x0F]/g, function(ch) { return '\\\\x0' + hex(ch); })\n .replace(/[\\x10-\\x1F\\x7F-\\x9F]/g, function(ch) { return '\\\\x' + hex(ch); });\n }\n\n function describeExpectation(expectation) {\n return DESCRIBE_EXPECTATION_FNS[expectation.type](expectation);\n }\n\n function describeExpected(expected) {\n var descriptions = new Array(expected.length),\n i, j;\n\n for (i = 0; i < expected.length; i++) {\n descriptions[i] = describeExpectation(expected[i]);\n }\n\n descriptions.sort();\n\n if (descriptions.length > 0) {\n for (i = 1, j = 1; i < descriptions.length; i++) {\n if (descriptions[i - 1] !== descriptions[i]) {\n descriptions[j] = descriptions[i];\n j++;\n }\n }\n descriptions.length = j;\n }\n\n switch (descriptions.length) {\n case 1:\n return descriptions[0];\n\n case 2:\n return descriptions[0] + \" or \" + descriptions[1];\n\n default:\n return descriptions.slice(0, -1).join(\", \")\n + \", or \"\n + descriptions[descriptions.length - 1];\n }\n }\n\n function describeFound(found) {\n return found ? \"\\\"\" + literalEscape(found) + \"\\\"\" : \"end of input\";\n }\n\n return \"Expected \" + describeExpected(expected) + \" but \" + describeFound(found) + \" found.\";\n };\n\n function peg$parse(input, options) {\n options = options !== void 0 ? options : {};\n\n var peg$FAILED = {},\n\n peg$startRuleFunctions = { Text: peg$parseText },\n peg$startRuleFunction = peg$parseText,\n\n peg$c0 = function(items) {\r\n \treturn items.filter(x => x !== \"\");\r\n },\n peg$c1 = \"[\",\n peg$c2 = peg$literalExpectation(\"[\", false),\n peg$c3 = \"]\",\n peg$c4 = peg$literalExpectation(\"]\", false),\n peg$c5 = \"(\",\n peg$c6 = peg$literalExpectation(\"(\", false),\n peg$c7 = \")\",\n peg$c8 = peg$literalExpectation(\")\", false),\n peg$c9 = function(text, src) {\r\n return {\r\n \ttype: \"link\",\r\n text: text,\r\n src: src,\r\n }\r\n },\n peg$c10 = /^[^ \\]\\t\\n\\r]/,\n peg$c11 = peg$classExpectation([\" \", \"]\", \"\\t\", \"\\n\", \"\\r\"], true, false),\n peg$c12 = function(w) { return w.join(\"\") },\n peg$c13 = function(items) {\r\n return items.filter(x => x !== \"\");\r\n },\n peg$c14 = /^[^)]/,\n peg$c15 = peg$classExpectation([\")\"], true, false),\n peg$c16 = function(w) {\r\n \treturn w.join(\"\").trim()\r\n },\n peg$c17 = /^[\\n]/,\n peg$c18 = peg$classExpectation([\"\\n\"], false, false),\n peg$c19 = /^[ \\t\\n\\r]/,\n peg$c20 = peg$classExpectation([\" \", \"\\t\", \"\\n\", \"\\r\"], false, false),\n peg$c21 = function() {\r\n \treturn \"\\n\"\r\n },\n peg$c22 = /^[^ \\t\\n\\r]/,\n peg$c23 = peg$classExpectation([\" \", \"\\t\", \"\\n\", \"\\r\"], true, false),\n peg$c24 = function(w) {\r\n \treturn w.join(\"\");\r\n },\n peg$c25 = function() {\r\n \treturn \"\";\r\n },\n\n peg$currPos = 0,\n peg$savedPos = 0,\n peg$posDetailsCache = [{ line: 1, column: 1 }],\n peg$maxFailPos = 0,\n peg$maxFailExpected = [],\n peg$silentFails = 0,\n\n peg$result;\n\n if (\"startRule\" in options) {\n if (!(options.startRule in peg$startRuleFunctions)) {\n throw new Error(\"Can't start parsing from rule \\\"\" + options.startRule + \"\\\".\");\n }\n\n peg$startRuleFunction = peg$startRuleFunctions[options.startRule];\n }\n\n function text() {\n return input.substring(peg$savedPos, peg$currPos);\n }\n\n function location() {\n return peg$computeLocation(peg$savedPos, peg$currPos);\n }\n\n function expected(description, location) {\n location = location !== void 0 ? location : peg$computeLocation(peg$savedPos, peg$currPos)\n\n throw peg$buildStructuredError(\n [peg$otherExpectation(description)],\n input.substring(peg$savedPos, peg$currPos),\n location\n );\n }\n\n function error(message, location) {\n location = location !== void 0 ? location : peg$computeLocation(peg$savedPos, peg$currPos)\n\n throw peg$buildSimpleError(message, location);\n }\n\n function peg$literalExpectation(text, ignoreCase) {\n return { type: \"literal\", text: text, ignoreCase: ignoreCase };\n }\n\n function peg$classExpectation(parts, inverted, ignoreCase) {\n return { type: \"class\", parts: parts, inverted: inverted, ignoreCase: ignoreCase };\n }\n\n function peg$anyExpectation() {\n return { type: \"any\" };\n }\n\n function peg$endExpectation() {\n return { type: \"end\" };\n }\n\n function peg$otherExpectation(description) {\n return { type: \"other\", description: description };\n }\n\n function peg$computePosDetails(pos) {\n var details = peg$posDetailsCache[pos], p;\n\n if (details) {\n return details;\n } else {\n p = pos - 1;\n while (!peg$posDetailsCache[p]) {\n p--;\n }\n\n details = peg$posDetailsCache[p];\n details = {\n line: details.line,\n column: details.column\n };\n\n while (p < pos) {\n if (input.charCodeAt(p) === 10) {\n details.line++;\n details.column = 1;\n } else {\n details.column++;\n }\n\n p++;\n }\n\n peg$posDetailsCache[pos] = details;\n return details;\n }\n }\n\n function peg$computeLocation(startPos, endPos) {\n var startPosDetails = peg$computePosDetails(startPos),\n endPosDetails = peg$computePosDetails(endPos);\n\n return {\n start: {\n offset: startPos,\n line: startPosDetails.line,\n column: startPosDetails.column\n },\n end: {\n offset: endPos,\n line: endPosDetails.line,\n column: endPosDetails.column\n }\n };\n }\n\n function peg$fail(expected) {\n if (peg$currPos < peg$maxFailPos) { return; }\n\n if (peg$currPos > peg$maxFailPos) {\n peg$maxFailPos = peg$currPos;\n peg$maxFailExpected = [];\n }\n\n peg$maxFailExpected.push(expected);\n }\n\n function peg$buildSimpleError(message, location) {\n return new peg$SyntaxError(message, null, null, location);\n }\n\n function peg$buildStructuredError(expected, found, location) {\n return new peg$SyntaxError(\n peg$SyntaxError.buildMessage(expected, found),\n expected,\n found,\n location\n );\n }\n\n function peg$parseText() {\n var s0, s1, s2;\n\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$parseLink();\n if (s2 === peg$FAILED) {\n s2 = peg$parseWord();\n if (s2 === peg$FAILED) {\n s2 = peg$parseNewLine();\n if (s2 === peg$FAILED) {\n s2 = peg$parse_();\n }\n }\n }\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$parseLink();\n if (s2 === peg$FAILED) {\n s2 = peg$parseWord();\n if (s2 === peg$FAILED) {\n s2 = peg$parseNewLine();\n if (s2 === peg$FAILED) {\n s2 = peg$parse_();\n }\n }\n }\n }\n if (s1 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c0(s1);\n }\n s0 = s1;\n\n return s0;\n }\n\n function peg$parseLink() {\n var s0, s1, s2, s3, s4, s5, s6;\n\n s0 = peg$currPos;\n if (input.charCodeAt(peg$currPos) === 91) {\n s1 = peg$c1;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c2); }\n }\n if (s1 !== peg$FAILED) {\n s2 = peg$parseLinkText();\n if (s2 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 93) {\n s3 = peg$c3;\n peg$currPos++;\n } else {\n s3 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c4); }\n }\n if (s3 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 40) {\n s4 = peg$c5;\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c6); }\n }\n if (s4 !== peg$FAILED) {\n s5 = peg$parseLinkSrc();\n if (s5 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 41) {\n s6 = peg$c7;\n peg$currPos++;\n } else {\n s6 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c8); }\n }\n if (s6 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c9(s2, s5);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n\n return s0;\n }\n\n function peg$parseLinkText() {\n var s0, s1, s2, s3, s4;\n\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$currPos;\n s3 = [];\n if (peg$c10.test(input.charAt(peg$currPos))) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c11); }\n }\n if (s4 !== peg$FAILED) {\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n if (peg$c10.test(input.charAt(peg$currPos))) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c11); }\n }\n }\n } else {\n s3 = peg$FAILED;\n }\n if (s3 !== peg$FAILED) {\n peg$savedPos = s2;\n s3 = peg$c12(s3);\n }\n s2 = s3;\n if (s2 === peg$FAILED) {\n s2 = peg$parse_();\n }\n if (s2 !== peg$FAILED) {\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$currPos;\n s3 = [];\n if (peg$c10.test(input.charAt(peg$currPos))) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c11); }\n }\n if (s4 !== peg$FAILED) {\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n if (peg$c10.test(input.charAt(peg$currPos))) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c11); }\n }\n }\n } else {\n s3 = peg$FAILED;\n }\n if (s3 !== peg$FAILED) {\n peg$savedPos = s2;\n s3 = peg$c12(s3);\n }\n s2 = s3;\n if (s2 === peg$FAILED) {\n s2 = peg$parse_();\n }\n }\n } else {\n s1 = peg$FAILED;\n }\n if (s1 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c13(s1);\n }\n s0 = s1;\n\n return s0;\n }\n\n function peg$parseLinkSrc() {\n var s0, s1, s2;\n\n s0 = peg$currPos;\n s1 = [];\n if (peg$c14.test(input.charAt(peg$currPos))) {\n s2 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c15); }\n }\n if (s2 !== peg$FAILED) {\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n if (peg$c14.test(input.charAt(peg$currPos))) {\n s2 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c15); }\n }\n }\n } else {\n s1 = peg$FAILED;\n }\n if (s1 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c16(s1);\n }\n s0 = s1;\n\n return s0;\n }\n\n function peg$parseNewLine() {\n var s0, s1, s2, s3, s4;\n\n s0 = peg$currPos;\n if (peg$c17.test(input.charAt(peg$currPos))) {\n s1 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c18); }\n }\n if (s1 !== peg$FAILED) {\n if (peg$c17.test(input.charAt(peg$currPos))) {\n s2 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c18); }\n }\n if (s2 !== peg$FAILED) {\n s3 = [];\n if (peg$c19.test(input.charAt(peg$currPos))) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c20); }\n }\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n if (peg$c19.test(input.charAt(peg$currPos))) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c20); }\n }\n }\n if (s3 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c21();\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n\n return s0;\n }\n\n function peg$parseWord() {\n var s0, s1, s2;\n\n s0 = peg$currPos;\n s1 = [];\n if (peg$c22.test(input.charAt(peg$currPos))) {\n s2 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c23); }\n }\n if (s2 !== peg$FAILED) {\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n if (peg$c22.test(input.charAt(peg$currPos))) {\n s2 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c23); }\n }\n }\n } else {\n s1 = peg$FAILED;\n }\n if (s1 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c24(s1);\n }\n s0 = s1;\n\n return s0;\n }\n\n function peg$parse_() {\n var s0, s1, s2, s3, s4, s5, s6;\n\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$currPos;\n s3 = peg$currPos;\n peg$silentFails++;\n s4 = peg$currPos;\n if (peg$c17.test(input.charAt(peg$currPos))) {\n s5 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s5 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c18); }\n }\n if (s5 !== peg$FAILED) {\n if (peg$c17.test(input.charAt(peg$currPos))) {\n s6 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s6 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c18); }\n }\n if (s6 !== peg$FAILED) {\n s5 = [s5, s6];\n s4 = s5;\n } else {\n peg$currPos = s4;\n s4 = peg$FAILED;\n }\n } else {\n peg$currPos = s4;\n s4 = peg$FAILED;\n }\n peg$silentFails--;\n if (s4 === peg$FAILED) {\n s3 = void 0;\n } else {\n peg$currPos = s3;\n s3 = peg$FAILED;\n }\n if (s3 !== peg$FAILED) {\n if (peg$c19.test(input.charAt(peg$currPos))) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c20); }\n }\n if (s4 !== peg$FAILED) {\n s3 = [s3, s4];\n s2 = s3;\n } else {\n peg$currPos = s2;\n s2 = peg$FAILED;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$FAILED;\n }\n if (s2 !== peg$FAILED) {\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$currPos;\n s3 = peg$currPos;\n peg$silentFails++;\n s4 = peg$currPos;\n if (peg$c17.test(input.charAt(peg$currPos))) {\n s5 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s5 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c18); }\n }\n if (s5 !== peg$FAILED) {\n if (peg$c17.test(input.charAt(peg$currPos))) {\n s6 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s6 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c18); }\n }\n if (s6 !== peg$FAILED) {\n s5 = [s5, s6];\n s4 = s5;\n } else {\n peg$currPos = s4;\n s4 = peg$FAILED;\n }\n } else {\n peg$currPos = s4;\n s4 = peg$FAILED;\n }\n peg$silentFails--;\n if (s4 === peg$FAILED) {\n s3 = void 0;\n } else {\n peg$currPos = s3;\n s3 = peg$FAILED;\n }\n if (s3 !== peg$FAILED) {\n if (peg$c19.test(input.charAt(peg$currPos))) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n if (peg$silentFails === 0) { peg$fail(peg$c20); }\n }\n if (s4 !== peg$FAILED) {\n s3 = [s3, s4];\n s2 = s3;\n } else {\n peg$currPos = s2;\n s2 = peg$FAILED;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$FAILED;\n }\n }\n } else {\n s1 = peg$FAILED;\n }\n if (s1 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c25();\n }\n s0 = s1;\n\n return s0;\n }\n\n peg$result = peg$startRuleFunction();\n\n if (peg$result !== peg$FAILED && peg$currPos === input.length) {\n return peg$result;\n } else {\n if (peg$result !== peg$FAILED && peg$currPos < input.length) {\n peg$fail(peg$endExpectation());\n }\n\n throw peg$buildStructuredError(\n peg$maxFailExpected,\n peg$maxFailPos < input.length ? input.charAt(peg$maxFailPos) : null,\n peg$maxFailPos < input.length\n ? peg$computeLocation(peg$maxFailPos, peg$maxFailPos + 1)\n : peg$computeLocation(peg$maxFailPos, peg$maxFailPos)\n );\n }\n }\n\n return {\n SyntaxError: peg$SyntaxError,\n parse: peg$parse\n };\n})()";
|
|
280129
|
-
|
|
280130
|
-
/***/ }),
|
|
280131
|
-
|
|
280132
|
-
/***/ "./Generator/src/common/KCLang/KCLangDescriptionParser.ts":
|
|
280133
|
-
/*!****************************************************************!*\
|
|
280134
|
-
!*** ./Generator/src/common/KCLang/KCLangDescriptionParser.ts ***!
|
|
280135
|
-
\****************************************************************/
|
|
280136
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
280137
|
-
|
|
280138
|
-
"use strict";
|
|
280139
|
-
__webpack_require__.r(__webpack_exports__);
|
|
280140
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
280141
|
-
/* harmony export */ "KCLangDescriptionParser": () => (/* binding */ KCLangDescriptionParser)
|
|
280142
|
-
/* harmony export */ });
|
|
280143
|
-
/* harmony import */ var _KCLangDescriptionGrammar__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./KCLangDescriptionGrammar */ "./Generator/src/common/KCLang/KCLangDescriptionGrammar.ts");
|
|
280144
|
-
/* harmony import */ var _KCLangDescriptionGrammar__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_KCLangDescriptionGrammar__WEBPACK_IMPORTED_MODULE_0__);
|
|
280145
|
-
// @ts-ignore
|
|
280146
|
-
// tslint:disable-next-line no-eval no-unsafe-any
|
|
280147
|
-
|
|
280148
|
-
const evalParse = eval((_KCLangDescriptionGrammar__WEBPACK_IMPORTED_MODULE_0___default())).parse;
|
|
280149
|
-
class KCLangDescriptionParser {
|
|
280150
|
-
static getOrCreateParser() {
|
|
280151
|
-
return evalParse;
|
|
280152
|
-
}
|
|
280153
|
-
|
|
280154
|
-
static parse(code) {
|
|
280155
|
-
const parser = this.getOrCreateParser();
|
|
280156
|
-
return parser(code);
|
|
280157
|
-
}
|
|
280158
|
-
|
|
280159
|
-
}
|
|
280160
|
-
|
|
280161
|
-
/***/ }),
|
|
280162
|
-
|
|
280163
|
-
/***/ "./Generator/src/common/KCLang/KCLangNodes.ts":
|
|
280164
|
-
/*!****************************************************!*\
|
|
280165
|
-
!*** ./Generator/src/common/KCLang/KCLangNodes.ts ***!
|
|
280166
|
-
\****************************************************/
|
|
280167
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
280168
|
-
|
|
280169
|
-
"use strict";
|
|
280170
|
-
__webpack_require__.r(__webpack_exports__);
|
|
280171
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
280172
|
-
/* harmony export */ "isFormulaStatement": () => (/* binding */ isFormulaStatement),
|
|
280173
|
-
/* harmony export */ "isBlockStatement": () => (/* binding */ isBlockStatement),
|
|
280174
|
-
/* harmony export */ "isEnsureStatement": () => (/* binding */ isEnsureStatement),
|
|
280175
|
-
/* harmony export */ "isConditionalStatement": () => (/* binding */ isConditionalStatement),
|
|
280176
|
-
/* harmony export */ "isDescribeStatement": () => (/* binding */ isDescribeStatement),
|
|
280177
|
-
/* harmony export */ "andKCLangNode": () => (/* binding */ andKCLangNode)
|
|
280178
|
-
/* harmony export */ });
|
|
280179
|
-
function isFormulaStatement(node) {
|
|
280180
|
-
return node.type === "formula";
|
|
280181
|
-
}
|
|
280182
|
-
function isBlockStatement(node) {
|
|
280183
|
-
return node.type === "block";
|
|
280184
|
-
}
|
|
280185
|
-
function isEnsureStatement(node) {
|
|
280186
|
-
return node.type === "ensure";
|
|
280187
|
-
}
|
|
280188
|
-
function isConditionalStatement(node) {
|
|
280189
|
-
return node.type === "if";
|
|
280190
|
-
}
|
|
280191
|
-
function isDescribeStatement(node) {
|
|
280192
|
-
return node.type === "describe";
|
|
280193
|
-
}
|
|
280194
|
-
function andKCLangNode(...expressions) {
|
|
280195
|
-
return {
|
|
280196
|
-
type: "and",
|
|
280197
|
-
expressions: expressions
|
|
280198
|
-
};
|
|
280199
|
-
}
|
|
280200
|
-
|
|
280201
|
-
/***/ }),
|
|
280202
|
-
|
|
280203
279916
|
/***/ "./Generator/src/common/KCLang/KCLangToJsTranspiler.ts":
|
|
280204
279917
|
/*!*************************************************************!*\
|
|
280205
279918
|
!*** ./Generator/src/common/KCLang/KCLangToJsTranspiler.ts ***!
|
|
@@ -280497,345 +280210,6 @@ class KCLangToJsTranspiler {
|
|
|
280497
280210
|
|
|
280498
280211
|
/***/ }),
|
|
280499
280212
|
|
|
280500
|
-
/***/ "./Generator/src/common/KCLang/KCLangToXmlTranspiler.ts":
|
|
280501
|
-
/*!**************************************************************!*\
|
|
280502
|
-
!*** ./Generator/src/common/KCLang/KCLangToXmlTranspiler.ts ***!
|
|
280503
|
-
\**************************************************************/
|
|
280504
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
280505
|
-
|
|
280506
|
-
"use strict";
|
|
280507
|
-
__webpack_require__.r(__webpack_exports__);
|
|
280508
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
280509
|
-
/* harmony export */ "KCLangToXmlTranspiler": () => (/* binding */ KCLangToXmlTranspiler),
|
|
280510
|
-
/* harmony export */ "kclang": () => (/* binding */ kclang)
|
|
280511
|
-
/* harmony export */ });
|
|
280512
|
-
/* harmony import */ var _Common_Errors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../Common/Errors */ "./Common/Errors.ts");
|
|
280513
|
-
/* harmony import */ var _Common_TypingUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../Common/TypingUtils */ "./Common/TypingUtils.ts");
|
|
280514
|
-
/* harmony import */ var _IKCLangExpressionVisitor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./IKCLangExpressionVisitor */ "./Generator/src/common/KCLang/IKCLangExpressionVisitor.ts");
|
|
280515
|
-
/* harmony import */ var _KCLangDescriptionParser__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./KCLangDescriptionParser */ "./Generator/src/common/KCLang/KCLangDescriptionParser.ts");
|
|
280516
|
-
/* harmony import */ var _KCLangNodes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./KCLangNodes */ "./Generator/src/common/KCLang/KCLangNodes.ts");
|
|
280517
|
-
/* harmony import */ var _Utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Utils */ "./Generator/src/common/KCLang/Utils.ts");
|
|
280518
|
-
/* harmony import */ var _Antlr_KCLangAntlrParser__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Antlr/KCLangAntlrParser */ "./Generator/src/common/KCLang/Antlr/KCLangAntlrParser.ts");
|
|
280519
|
-
|
|
280520
|
-
|
|
280521
|
-
|
|
280522
|
-
|
|
280523
|
-
|
|
280524
|
-
|
|
280525
|
-
// tslint:disable-next-line:cyclomatic-complexity
|
|
280526
|
-
|
|
280527
|
-
function generateKCXmlExpression(expression) {
|
|
280528
|
-
switch (expression.type) {
|
|
280529
|
-
case "abs":
|
|
280530
|
-
case "xabs":
|
|
280531
|
-
case "length":
|
|
280532
|
-
return [`<m:${expression.type}>`, (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlExpression(expression.expression), 1), `</m:${expression.type}>`].join("\n");
|
|
280533
|
-
|
|
280534
|
-
case "exists":
|
|
280535
|
-
case "multySum":
|
|
280536
|
-
return `<m:${expression.type} select="${expression.select}" />`;
|
|
280537
|
-
|
|
280538
|
-
case "cast":
|
|
280539
|
-
if (expression.expression.type === "argument") {
|
|
280540
|
-
return `<m:argument select="${expression.expression.select}" type="${expression.targetType}" />`;
|
|
280541
|
-
}
|
|
280542
|
-
|
|
280543
|
-
throw new Error("Cast supports only for argument");
|
|
280544
|
-
|
|
280545
|
-
case "and":
|
|
280546
|
-
case "or":
|
|
280547
|
-
return [`<m:${expression.type}>`, ...expression.expressions.map(generateKCXmlExpression).map(x => (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(x, 1)), `</m:${expression.type}>`].join("\n");
|
|
280548
|
-
|
|
280549
|
-
case "sum":
|
|
280550
|
-
return [`<m:sum>`, ...expression.operands.map(operand => {
|
|
280551
|
-
if (operand.operator === "+") {
|
|
280552
|
-
return generateKCXmlExpression(operand.expression);
|
|
280553
|
-
}
|
|
280554
|
-
|
|
280555
|
-
return [`<m:minus>`, (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlExpression(operand.expression), 1), `</m:minus>`].join("\n");
|
|
280556
|
-
}).map(x => (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(x, 1)), `</m:sum>`].join("\n");
|
|
280557
|
-
|
|
280558
|
-
case "gt":
|
|
280559
|
-
case "ge":
|
|
280560
|
-
case "lt":
|
|
280561
|
-
case "le":
|
|
280562
|
-
case "eq":
|
|
280563
|
-
case "multiply":
|
|
280564
|
-
case "division":
|
|
280565
|
-
return [`<m:${expression.type}>`, (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlExpression(expression.expressions[0]), 1), (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlExpression(expression.expressions[1]), 1), `</m:${expression.type}>`].join("\n");
|
|
280566
|
-
|
|
280567
|
-
case "noteq":
|
|
280568
|
-
return [`<m:not>`, ` <m:eq>`, (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlExpression(expression.expressions[0]), 2), (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlExpression(expression.expressions[1]), 2), ` </m:eq>`, `</m:not>`].join("\n");
|
|
280569
|
-
|
|
280570
|
-
case "minus":
|
|
280571
|
-
case "not":
|
|
280572
|
-
return [`<m:${expression.type}>`, (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlExpression(expression.expression), 1), `</m:${expression.type}>`].join("\n");
|
|
280573
|
-
break;
|
|
280574
|
-
break;
|
|
280575
|
-
|
|
280576
|
-
case "round":
|
|
280577
|
-
return [expression.fractionalDigits != undefined ? `<m:round fractionalDigits="${expression.fractionalDigits}">` : `<m:round>`, (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlExpression(expression.expression), 1), `</m:round>`].join("\n");
|
|
280578
|
-
|
|
280579
|
-
case "substring":
|
|
280580
|
-
return [expression.length != undefined ? `<m:substring start="${expression.start}" length="${expression.length}">` : `<m:substring start="${expression.start}">`, (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlExpression(expression.expression), 1), `</m:substring>`].join("\n");
|
|
280581
|
-
|
|
280582
|
-
case "regexMatch":
|
|
280583
|
-
return [`<m:regexMatch pattern="${expression.pattern}">`, (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlExpression(expression.expression), 1), `</m:regexMatch>`].join("\n");
|
|
280584
|
-
|
|
280585
|
-
case "choose":
|
|
280586
|
-
return [`<m:choose>`, ` <m:if>`, (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlExpression(expression.if), 2), ` </m:if>`, ` <m:then>`, (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlExpression(expression.then), 2), ` </m:then>`, ` <m:else>`, (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlExpression(expression.else), 2), ` </m:else>`, `</m:choose>`].join("\n");
|
|
280587
|
-
break;
|
|
280588
|
-
|
|
280589
|
-
case "const":
|
|
280590
|
-
if (expression.value.type === "decimal") {
|
|
280591
|
-
return `<m:const value="${expression.value.value}" type="decimal" />`;
|
|
280592
|
-
}
|
|
280593
|
-
|
|
280594
|
-
if (expression.value.type === "string") {
|
|
280595
|
-
return `<m:const value="${expression.value.value}" type="string" />`;
|
|
280596
|
-
}
|
|
280597
|
-
|
|
280598
|
-
throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_0__.NotImplementedError();
|
|
280599
|
-
|
|
280600
|
-
case "argument":
|
|
280601
|
-
return `<m:argument select="${expression.select}" />`;
|
|
280602
|
-
|
|
280603
|
-
case "oneof":
|
|
280604
|
-
{
|
|
280605
|
-
const testExpr = generateKCXmlExpression(expression.testExpression);
|
|
280606
|
-
return [`<m:or>`, ...expression.expressions.items.map(x => [`<m:eq>`, (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(testExpr, 1), (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlExpression(x), 1), `</m:eq>`]).flat().map(x => (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(x, 1)), `</m:or>`].join("\n");
|
|
280607
|
-
}
|
|
280608
|
-
|
|
280609
|
-
default:
|
|
280610
|
-
// @ts-ignore
|
|
280611
|
-
throw new Error(`Expression of type '${expression.type}' is not supported`);
|
|
280612
|
-
}
|
|
280613
|
-
}
|
|
280614
|
-
|
|
280615
|
-
function formatDescribeStatement(ast, matchPath, describe) {
|
|
280616
|
-
return _KCLangDescriptionParser__WEBPACK_IMPORTED_MODULE_3__.KCLangDescriptionParser.parse(describe.text).map(item => {
|
|
280617
|
-
if (typeof item === "string") {
|
|
280618
|
-
return item;
|
|
280619
|
-
} else {
|
|
280620
|
-
return `{{link ref=${item.src}}}${item.text.join(" ")}{{/link}}`;
|
|
280621
|
-
}
|
|
280622
|
-
}).join(" ");
|
|
280623
|
-
}
|
|
280624
|
-
|
|
280625
|
-
function generateKCXmlFormula(ast, matchPath, describe) {
|
|
280626
|
-
const descriptionAttr = describe != undefined ? ` description="${formatDescribeStatement(ast, matchPath, describe)}"` : "";
|
|
280627
|
-
return `<m:formula match="${matchPath}" target="${ast.target}"${descriptionAttr}>\n` + (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlExpression(ast.expression), 1) + "\n" + `</m:formula>`;
|
|
280628
|
-
}
|
|
280629
|
-
|
|
280630
|
-
function removeTrailingSlash(inputStr) {
|
|
280631
|
-
if (inputStr.endsWith("/")) {
|
|
280632
|
-
return inputStr.substring(0, inputStr.length - 1);
|
|
280633
|
-
}
|
|
280634
|
-
|
|
280635
|
-
return inputStr;
|
|
280636
|
-
}
|
|
280637
|
-
|
|
280638
|
-
function joinPaths(paths) {
|
|
280639
|
-
return paths.map(removeTrailingSlash).join("/");
|
|
280640
|
-
}
|
|
280641
|
-
|
|
280642
|
-
function generateBlockKCXmlFormulas(block, parents) {
|
|
280643
|
-
const matchPath = joinPaths([...(parents !== null && parents !== void 0 ? parents : []).map(x => x.path), block.path]);
|
|
280644
|
-
const result = [];
|
|
280645
|
-
let lastDescribeStatement;
|
|
280646
|
-
|
|
280647
|
-
for (const statement of block.statements) {
|
|
280648
|
-
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_4__.isFormulaStatement)(statement)) {
|
|
280649
|
-
result.push(generateKCXmlFormula(statement, matchPath, lastDescribeStatement));
|
|
280650
|
-
lastDescribeStatement = undefined;
|
|
280651
|
-
}
|
|
280652
|
-
|
|
280653
|
-
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_4__.isEnsureStatement)(statement)) {
|
|
280654
|
-
lastDescribeStatement = undefined;
|
|
280655
|
-
}
|
|
280656
|
-
|
|
280657
|
-
if (lastDescribeStatement != undefined) {
|
|
280658
|
-
throw new Error("Describe should be placed before assign of ensure statements");
|
|
280659
|
-
}
|
|
280660
|
-
|
|
280661
|
-
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_4__.isDescribeStatement)(statement)) {
|
|
280662
|
-
lastDescribeStatement = statement;
|
|
280663
|
-
}
|
|
280664
|
-
|
|
280665
|
-
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_4__.isBlockStatement)(statement)) {
|
|
280666
|
-
result.push(generateBlockKCXmlFormulas(statement, [...(parents !== null && parents !== void 0 ? parents : []), block]));
|
|
280667
|
-
}
|
|
280668
|
-
}
|
|
280669
|
-
|
|
280670
|
-
return result.join("\n");
|
|
280671
|
-
}
|
|
280672
|
-
|
|
280673
|
-
function guessConditionTarget(condition) {
|
|
280674
|
-
let result;
|
|
280675
|
-
|
|
280676
|
-
class GuessConditionTargetVisitor extends _IKCLangExpressionVisitor__WEBPACK_IMPORTED_MODULE_2__.DefaultKCLangExpressionVisitor {
|
|
280677
|
-
visitExistsKCLangNode(node) {
|
|
280678
|
-
if (result == undefined) {
|
|
280679
|
-
result = node.select;
|
|
280680
|
-
}
|
|
280681
|
-
}
|
|
280682
|
-
|
|
280683
|
-
visitArgumentKCLangNode(node) {
|
|
280684
|
-
if (result == undefined) {
|
|
280685
|
-
result = node.select;
|
|
280686
|
-
}
|
|
280687
|
-
}
|
|
280688
|
-
|
|
280689
|
-
}
|
|
280690
|
-
|
|
280691
|
-
(0,_IKCLangExpressionVisitor__WEBPACK_IMPORTED_MODULE_2__.traverseKCLangExpression)(condition.expression, new GuessConditionTargetVisitor());
|
|
280692
|
-
return result;
|
|
280693
|
-
}
|
|
280694
|
-
|
|
280695
|
-
function generateKCXmlCondition(ast, matchPath, parentConditions, describe) {
|
|
280696
|
-
const levelAttr = ast.level === "error" ? ` errorLevel="Error"` : "";
|
|
280697
|
-
const descriptionAttr = describe != undefined ? ` description="${formatDescribeStatement(ast, matchPath, describe)}"` : "";
|
|
280698
|
-
const guessedTarget = guessConditionTarget(ast);
|
|
280699
|
-
const targetAttr = guessedTarget != undefined ? ` target="${guessedTarget}"` : "";
|
|
280700
|
-
|
|
280701
|
-
if (parentConditions != undefined && (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_1__.arrayIsNotEmpty)(parentConditions)) {
|
|
280702
|
-
var _parentConditions$map;
|
|
280703
|
-
|
|
280704
|
-
const condition = parentConditions.length === 1 ? parentConditions[0].condition : (0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_4__.andKCLangNode)(...((_parentConditions$map = parentConditions === null || parentConditions === void 0 ? void 0 : parentConditions.map(z => z.condition)) !== null && _parentConditions$map !== void 0 ? _parentConditions$map : []));
|
|
280705
|
-
return `<m:condition match="${matchPath}"${descriptionAttr}${levelAttr}${targetAttr}>\n` + ` <m:when>\n` + (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlExpression(condition), 2) + "\n" + (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlExpression(ast.expression), 2) + "\n" + ` </m:when>\n` + `</m:condition>`;
|
|
280706
|
-
}
|
|
280707
|
-
|
|
280708
|
-
return `<m:condition match="${matchPath}"${descriptionAttr}${levelAttr}${targetAttr}>\n` + (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlExpression(ast.expression), 1) + "\n" + `</m:condition>`;
|
|
280709
|
-
}
|
|
280710
|
-
|
|
280711
|
-
function generateBlockKCXmlConditions(block, parents, parentConditions) {
|
|
280712
|
-
const matchPath = joinPaths([...(parents !== null && parents !== void 0 ? parents : []).map(x => x.path), block.path]);
|
|
280713
|
-
const result = [];
|
|
280714
|
-
let lastDescribeStatement;
|
|
280715
|
-
|
|
280716
|
-
for (const statement of block.statements) {
|
|
280717
|
-
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_4__.isFormulaStatement)(statement)) {
|
|
280718
|
-
lastDescribeStatement = undefined;
|
|
280719
|
-
}
|
|
280720
|
-
|
|
280721
|
-
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_4__.isEnsureStatement)(statement)) {
|
|
280722
|
-
result.push(generateKCXmlCondition(statement, matchPath, parentConditions, lastDescribeStatement));
|
|
280723
|
-
lastDescribeStatement = undefined;
|
|
280724
|
-
}
|
|
280725
|
-
|
|
280726
|
-
if (lastDescribeStatement != undefined) {
|
|
280727
|
-
throw new Error("Describe should be placed before assign of ensure statements");
|
|
280728
|
-
}
|
|
280729
|
-
|
|
280730
|
-
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_4__.isDescribeStatement)(statement)) {
|
|
280731
|
-
lastDescribeStatement = statement;
|
|
280732
|
-
}
|
|
280733
|
-
|
|
280734
|
-
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_4__.isConditionalStatement)(statement)) {
|
|
280735
|
-
result.push(generateConditionalConditions(statement, [...(parents !== null && parents !== void 0 ? parents : []), block], parentConditions));
|
|
280736
|
-
}
|
|
280737
|
-
|
|
280738
|
-
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_4__.isBlockStatement)(statement)) {
|
|
280739
|
-
result.push(generateBlockKCXmlConditions(statement, [...(parents !== null && parents !== void 0 ? parents : []), block], parentConditions));
|
|
280740
|
-
}
|
|
280741
|
-
}
|
|
280742
|
-
|
|
280743
|
-
return result.join("\n");
|
|
280744
|
-
}
|
|
280745
|
-
|
|
280746
|
-
function generateConditionalConditions(conditionalStatement, parents, parentConditions) {
|
|
280747
|
-
const matchPath = joinPaths([...(parents !== null && parents !== void 0 ? parents : []).map(x => x.path)]);
|
|
280748
|
-
const result = [];
|
|
280749
|
-
let lastDescribeStatement;
|
|
280750
|
-
|
|
280751
|
-
for (const x of conditionalStatement.statements) {
|
|
280752
|
-
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_4__.isEnsureStatement)(x)) {
|
|
280753
|
-
result.push(generateKCXmlCondition(x, matchPath, [...(parentConditions !== null && parentConditions !== void 0 ? parentConditions : []), conditionalStatement], lastDescribeStatement));
|
|
280754
|
-
lastDescribeStatement = undefined;
|
|
280755
|
-
}
|
|
280756
|
-
|
|
280757
|
-
if (lastDescribeStatement != undefined) {
|
|
280758
|
-
throw new Error("Describe should be placed before assign of ensure statements");
|
|
280759
|
-
}
|
|
280760
|
-
|
|
280761
|
-
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_4__.isDescribeStatement)(x)) {
|
|
280762
|
-
lastDescribeStatement = x;
|
|
280763
|
-
}
|
|
280764
|
-
|
|
280765
|
-
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_4__.isConditionalStatement)(x)) {
|
|
280766
|
-
result.push(generateConditionalConditions(x, parents, [...(parentConditions !== null && parentConditions !== void 0 ? parentConditions : []), conditionalStatement]));
|
|
280767
|
-
}
|
|
280768
|
-
|
|
280769
|
-
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_4__.isBlockStatement)(x)) {
|
|
280770
|
-
result.push(generateBlockKCXmlConditions(x, parents, [...(parentConditions !== null && parentConditions !== void 0 ? parentConditions : []), conditionalStatement]));
|
|
280771
|
-
}
|
|
280772
|
-
}
|
|
280773
|
-
|
|
280774
|
-
return result.join("\n");
|
|
280775
|
-
}
|
|
280776
|
-
|
|
280777
|
-
function generateKCXmlFormulas(blocks) {
|
|
280778
|
-
const formulas = Iterator.from(blocks).map(generateBlockKCXmlFormulas).toArray();
|
|
280779
|
-
|
|
280780
|
-
if (formulas.filter(x => x !== "").length > 0) {
|
|
280781
|
-
return `<m:formulas>\n` + (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(formulas.join("\n"), 1) + "\n" + `</m:formulas>\n`;
|
|
280782
|
-
} else {
|
|
280783
|
-
return "";
|
|
280784
|
-
}
|
|
280785
|
-
}
|
|
280786
|
-
|
|
280787
|
-
function generateKCXmlConditions(blocks) {
|
|
280788
|
-
const conditions = Iterator.from(blocks).map(generateBlockKCXmlConditions).toArray();
|
|
280789
|
-
|
|
280790
|
-
if (conditions.filter(x => x !== "").length > 0) {
|
|
280791
|
-
return `<m:conditions>\n` + (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(conditions.join("\n"), 1) + "\n" + `</m:conditions>\n`;
|
|
280792
|
-
} else {
|
|
280793
|
-
return "";
|
|
280794
|
-
}
|
|
280795
|
-
}
|
|
280796
|
-
|
|
280797
|
-
function generateKCXml(blocks) {
|
|
280798
|
-
return `<?xml version="1.0" encoding="utf-8"?>\n` + `<m:math xmlns:m="http://www.kontur-extern.ru/ФНС 4.0/math.xsd">\n` + (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlFormulas(blocks), 1) + (0,_Utils__WEBPACK_IMPORTED_MODULE_5__.indent)(generateKCXmlConditions(blocks), 1) + `</m:math>`;
|
|
280799
|
-
}
|
|
280800
|
-
|
|
280801
|
-
class KCLangToXmlTranspiler {
|
|
280802
|
-
static transpile(kcLang, customParser) {
|
|
280803
|
-
const parser = customParser !== null && customParser !== void 0 ? customParser : _Antlr_KCLangAntlrParser__WEBPACK_IMPORTED_MODULE_6__.KCLangAntlrParser.parse;
|
|
280804
|
-
const kcxml = generateKCXml(parser(kcLang).blocks);
|
|
280805
|
-
return kcxml;
|
|
280806
|
-
}
|
|
280807
|
-
|
|
280808
|
-
}
|
|
280809
|
-
function kclang(str) {
|
|
280810
|
-
return KCLangToXmlTranspiler.transpile(str.join(""));
|
|
280811
|
-
}
|
|
280812
|
-
|
|
280813
|
-
/***/ }),
|
|
280814
|
-
|
|
280815
|
-
/***/ "./Generator/src/common/KCLang/Utils.ts":
|
|
280816
|
-
/*!**********************************************!*\
|
|
280817
|
-
!*** ./Generator/src/common/KCLang/Utils.ts ***!
|
|
280818
|
-
\**********************************************/
|
|
280819
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
280820
|
-
|
|
280821
|
-
"use strict";
|
|
280822
|
-
__webpack_require__.r(__webpack_exports__);
|
|
280823
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
280824
|
-
/* harmony export */ "indent": () => (/* binding */ indent)
|
|
280825
|
-
/* harmony export */ });
|
|
280826
|
-
function indent(str, count) {
|
|
280827
|
-
const indentStr = new Array(count * 2).fill(" ").join("");
|
|
280828
|
-
return str.split("\n").map(x => {
|
|
280829
|
-
if (x === "") {
|
|
280830
|
-
return x;
|
|
280831
|
-
}
|
|
280832
|
-
|
|
280833
|
-
return indentStr + x;
|
|
280834
|
-
}).join("\n");
|
|
280835
|
-
}
|
|
280836
|
-
|
|
280837
|
-
/***/ }),
|
|
280838
|
-
|
|
280839
280213
|
/***/ "./Generator/src/common/RequireContext/LoadDocumentationFileFormContext.ts":
|
|
280840
280214
|
/*!*********************************************************************************!*\
|
|
280841
280215
|
!*** ./Generator/src/common/RequireContext/LoadDocumentationFileFormContext.ts ***!
|
|
@@ -286065,7 +285439,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
286065
285439
|
|
|
286066
285440
|
|
|
286067
285441
|
class FormulasAutoCalculationsGenerator {
|
|
286068
|
-
generate(
|
|
285442
|
+
generate(formulaContainer, schemaRng, dataDeclarationHelper) {
|
|
285443
|
+
const formulas = formulaContainer.formulas == undefined || formulaContainer.formulas.items == undefined ? [] : formulaContainer.formulas.items;
|
|
286069
285444
|
const formulaAutoCalculations = formulas.map(formula => this.buildFormulaAutoCalculation(formula, schemaRng, dataDeclarationHelper)).flat();
|
|
286070
285445
|
return this.mergeFormulaAutoCalculations(formulaAutoCalculations);
|
|
286071
285446
|
}
|
|
@@ -286791,73 +286166,35 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
286791
286166
|
/* harmony export */ });
|
|
286792
286167
|
/* harmony import */ var _common_XmlParser_XmlParser__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../common/XmlParser/XmlParser */ "./Generator/src/common/XmlParser/XmlParser.ts");
|
|
286793
286168
|
/* harmony import */ var _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../markupGenerator/Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
286794
|
-
/* harmony import */ var
|
|
286795
|
-
/* harmony import */ var _Formula__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Formula */ "./Generator/src/generators/AutoCalculationsGenerator/AutoCalculationsFromFormulas/KCXmlContract/Formula.ts");
|
|
286796
|
-
|
|
286169
|
+
/* harmony import */ var _Formula__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Formula */ "./Generator/src/generators/AutoCalculationsGenerator/AutoCalculationsFromFormulas/KCXmlContract/Formula.ts");
|
|
286797
286170
|
|
|
286798
286171
|
|
|
286799
286172
|
|
|
286800
286173
|
class FormulaReader {
|
|
286801
|
-
readFormulas(
|
|
286174
|
+
readFormulas(kcxmlSource) {
|
|
286802
286175
|
const serializer = this.createFormulaSerializer();
|
|
286803
|
-
const result =
|
|
286804
|
-
|
|
286805
|
-
for (const kcxmlSource of kcxmlSources) {
|
|
286806
|
-
const rootNode = serializer.deserializeFromSugarXmlNode((0,_common_XmlParser_XmlParser__WEBPACK_IMPORTED_MODULE_0__.parseXml)(kcxmlSource));
|
|
286807
|
-
|
|
286808
|
-
if (rootNode instanceof _Formula__WEBPACK_IMPORTED_MODULE_3__.MathContainer) {
|
|
286809
|
-
var _rootNode$formulas$it, _rootNode$formulas;
|
|
286176
|
+
const result = serializer.deserializeFromSugarXmlNode((0,_common_XmlParser_XmlParser__WEBPACK_IMPORTED_MODULE_0__.parseXml)(kcxmlSource));
|
|
286810
286177
|
|
|
286811
|
-
|
|
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
|
-
}
|
|
286178
|
+
if (result instanceof _Formula__WEBPACK_IMPORTED_MODULE_2__.DummyContent) {
|
|
286179
|
+
return this.createEmptyMathContainer();
|
|
286823
286180
|
}
|
|
286824
286181
|
|
|
286825
286182
|
return result;
|
|
286826
286183
|
}
|
|
286827
286184
|
|
|
286828
|
-
|
|
286829
|
-
const
|
|
286830
|
-
|
|
286831
|
-
|
|
286832
|
-
|
|
286833
|
-
const rootNode = serializer.deserializeFromSugarXmlNode((0,_common_XmlParser_XmlParser__WEBPACK_IMPORTED_MODULE_0__.parseXml)(kcxmlSource));
|
|
286834
|
-
|
|
286835
|
-
if (rootNode instanceof _Formula__WEBPACK_IMPORTED_MODULE_3__.MathContainer) {
|
|
286836
|
-
var _rootNode$conditions$, _rootNode$conditions;
|
|
286837
|
-
|
|
286838
|
-
result.push(...((_rootNode$conditions$ = (_rootNode$conditions = rootNode.conditions) === null || _rootNode$conditions === void 0 ? void 0 : _rootNode$conditions.items) !== null && _rootNode$conditions$ !== void 0 ? _rootNode$conditions$ : []));
|
|
286839
|
-
}
|
|
286840
|
-
}
|
|
286841
|
-
|
|
286842
|
-
for (const kclangSource of kclangSources) {
|
|
286843
|
-
const rootNode = serializer.deserializeFromSugarXmlNode((0,_common_XmlParser_XmlParser__WEBPACK_IMPORTED_MODULE_0__.parseXml)(_common_KCLang_KCLangToXmlTranspiler__WEBPACK_IMPORTED_MODULE_2__.KCLangToXmlTranspiler.transpile(kclangSource)));
|
|
286844
|
-
|
|
286845
|
-
if (rootNode instanceof _Formula__WEBPACK_IMPORTED_MODULE_3__.MathContainer) {
|
|
286846
|
-
var _rootNode$conditions$2, _rootNode$conditions2;
|
|
286847
|
-
|
|
286848
|
-
result.push(...((_rootNode$conditions$2 = (_rootNode$conditions2 = rootNode.conditions) === null || _rootNode$conditions2 === void 0 ? void 0 : _rootNode$conditions2.items) !== null && _rootNode$conditions$2 !== void 0 ? _rootNode$conditions$2 : []));
|
|
286849
|
-
}
|
|
286850
|
-
}
|
|
286851
|
-
|
|
286852
|
-
return result;
|
|
286185
|
+
createEmptyMathContainer() {
|
|
286186
|
+
const mathContainer = new _Formula__WEBPACK_IMPORTED_MODULE_2__.MathContainer();
|
|
286187
|
+
mathContainer.formulas = new _Formula__WEBPACK_IMPORTED_MODULE_2__.Formulas();
|
|
286188
|
+
mathContainer.formulas.items = [];
|
|
286189
|
+
return mathContainer;
|
|
286853
286190
|
}
|
|
286854
286191
|
|
|
286855
286192
|
createFormulaSerializer() {
|
|
286856
286193
|
const result = new _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.SugarSerializer();
|
|
286857
|
-
result.registerNode(
|
|
286858
|
-
result.registerNode(
|
|
286194
|
+
result.registerNode(_Formula__WEBPACK_IMPORTED_MODULE_2__.DummyContent);
|
|
286195
|
+
result.registerNode(_Formula__WEBPACK_IMPORTED_MODULE_2__.MathContainer);
|
|
286859
286196
|
|
|
286860
|
-
for (const formulaExpression of
|
|
286197
|
+
for (const formulaExpression of _Formula__WEBPACK_IMPORTED_MODULE_2__.formulaExpressions) {
|
|
286861
286198
|
result.registerNode(formulaExpression);
|
|
286862
286199
|
}
|
|
286863
286200
|
|
|
@@ -288562,9 +287899,11 @@ class KCXmlValidationGenerator {
|
|
|
288562
287899
|
const conditionReader = new _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_FormulaReader__WEBPACK_IMPORTED_MODULE_2__.FormulaReader();
|
|
288563
287900
|
|
|
288564
287901
|
for (const file of importedKcXmlValidations) {
|
|
288565
|
-
const
|
|
287902
|
+
const math = conditionReader.readFormulas(file);
|
|
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;
|
|
288566
287906
|
|
|
288567
|
-
for (const condition of conditions) {
|
|
288568
287907
|
compiledConditions.push(this.compileCondition(condition));
|
|
288569
287908
|
}
|
|
288570
287909
|
}
|
|
@@ -288747,7 +288086,7 @@ function processSugar(formSugarContent, additionalContent, generationOptions) {
|
|
|
288747
288086
|
const sugarAst = (0,_common_SugarXmlParser_SugarParser__WEBPACK_IMPORTED_MODULE_4__.parseSugar)(formSugarContent, additionalContent.preprocessor || {});
|
|
288748
288087
|
const serializer = (0,_markupGenerator_SugarNodes_DefaultSugarSerializer__WEBPACK_IMPORTED_MODULE_12__.createDefaultSugarSerializer)();
|
|
288749
288088
|
const sugarRoot = (0,_markupGenerator_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_13__.strictCastNode)(serializer.deserializeFromSugarXmlNode(sugarAst), _markupGenerator_ElementProcessors_FormParts_Form_FormNode__WEBPACK_IMPORTED_MODULE_10__.FormNode);
|
|
288750
|
-
const formulas = new _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_FormulaReader__WEBPACK_IMPORTED_MODULE_16__.FormulaReader().readFormulas(additionalContent.kcJsXmlContent
|
|
288089
|
+
const formulas = new _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_FormulaReader__WEBPACK_IMPORTED_MODULE_16__.FormulaReader().readFormulas(additionalContent.kcJsXmlContent);
|
|
288751
288090
|
const schemaRng = (0,_common_XmlParser_XmlParser__WEBPACK_IMPORTED_MODULE_5__.parseXml)(additionalContent.schemaRngContent);
|
|
288752
288091
|
const formSchemaRng = _common_SchemaRng_FormSchemaRng__WEBPACK_IMPORTED_MODULE_3__.FormSchemaRng.createFromSchemaRng(additionalContent.schemaRngContent);
|
|
288753
288092
|
const typeRegistry = (0,_validationGenerator_TypesRegistry__WEBPACK_IMPORTED_MODULE_14__.buildTypesRegistry)(sugarRoot);
|
|
@@ -288872,17 +288211,19 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
288872
288211
|
/* harmony import */ var fs__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(fs__WEBPACK_IMPORTED_MODULE_0__);
|
|
288873
288212
|
/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! path */ "path");
|
|
288874
288213
|
/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(path__WEBPACK_IMPORTED_MODULE_1__);
|
|
288875
|
-
/* harmony import */ var
|
|
288876
|
-
/* harmony import */ var
|
|
288877
|
-
/* harmony import */ var
|
|
288878
|
-
/* harmony import */ var
|
|
288879
|
-
/* harmony import */ var
|
|
288880
|
-
/* harmony import */ var
|
|
288881
|
-
/* harmony import */ var
|
|
288882
|
-
/* harmony import */ var
|
|
288883
|
-
/* harmony import */ var
|
|
288884
|
-
/* harmony import */ var
|
|
288885
|
-
/* harmony import */ var
|
|
288214
|
+
/* harmony import */ var util__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! util */ "util");
|
|
288215
|
+
/* harmony import */ var util__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(util__WEBPACK_IMPORTED_MODULE_2__);
|
|
288216
|
+
/* harmony import */ var chalk__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! chalk */ "./node_modules/chalk/source/index.js");
|
|
288217
|
+
/* harmony import */ var chalk__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(chalk__WEBPACK_IMPORTED_MODULE_3__);
|
|
288218
|
+
/* harmony import */ var fs_extra__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! fs-extra */ "./node_modules/fs-extra/lib/index.js");
|
|
288219
|
+
/* harmony import */ var fs_extra__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(fs_extra__WEBPACK_IMPORTED_MODULE_4__);
|
|
288220
|
+
/* harmony import */ var md5__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! md5 */ "./node_modules/md5/md5.js");
|
|
288221
|
+
/* harmony import */ var md5__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(md5__WEBPACK_IMPORTED_MODULE_5__);
|
|
288222
|
+
/* harmony import */ var md5_file__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! md5-file */ "./node_modules/md5-file/index.js");
|
|
288223
|
+
/* harmony import */ var md5_file__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(md5_file__WEBPACK_IMPORTED_MODULE_6__);
|
|
288224
|
+
/* harmony import */ var recursive_readdir__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! recursive-readdir */ "./node_modules/recursive-readdir/index.js");
|
|
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");
|
|
288886
288227
|
|
|
288887
288228
|
|
|
288888
288229
|
|
|
@@ -288891,6 +288232,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
288891
288232
|
|
|
288892
288233
|
|
|
288893
288234
|
|
|
288235
|
+
|
|
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);
|
|
288894
288239
|
async function readFormSources(formSourcesPath, farmDirectory) {
|
|
288895
288240
|
var _JSON$parse$settings;
|
|
288896
288241
|
|
|
@@ -288902,9 +288247,9 @@ async function readFormSources(formSourcesPath, farmDirectory) {
|
|
|
288902
288247
|
|
|
288903
288248
|
if (sugarReferences.fetchFunctionFiles.length === 0) {
|
|
288904
288249
|
// eslint-disable-next-line no-console
|
|
288905
|
-
console.warn(
|
|
288250
|
+
console.warn(chalk__WEBPACK_IMPORTED_MODULE_3___default().yellow(`[WARN] Форма не содержит ссылок на fetch-функции. Будут автоматически подключены функции из каталога legacyfetchfuctions\n` + `[WARN] В будущем необходимо явно прописывать ссылки на используемые fetch-функции`));
|
|
288906
288251
|
const legacyfetchfunctionsDirectory = path__WEBPACK_IMPORTED_MODULE_1___default().join(farmDirectory, "legacyfetchfunctions");
|
|
288907
|
-
sugarReferences.fetchFunctionFiles = (await (
|
|
288252
|
+
sugarReferences.fetchFunctionFiles = (await readdirAsync(legacyfetchfunctionsDirectory)).map(x => path__WEBPACK_IMPORTED_MODULE_1___default().resolve(legacyfetchfunctionsDirectory, x));
|
|
288908
288253
|
}
|
|
288909
288254
|
|
|
288910
288255
|
const result = {
|
|
@@ -288914,12 +288259,11 @@ async function readFormSources(formSourcesPath, farmDirectory) {
|
|
|
288914
288259
|
formSourcesPath: formSourcesPath,
|
|
288915
288260
|
formJsonSettings: (_JSON$parse$settings = JSON.parse(await readFileSource(formSourcesPath, "form.json", "{}"))["settings"]) !== null && _JSON$parse$settings !== void 0 ? _JSON$parse$settings : {},
|
|
288916
288261
|
additionalSettings: await readFileSource(formSourcesPath, "settings.json", "{}"),
|
|
288917
|
-
autocalcsContent: await
|
|
288262
|
+
autocalcsContent: await readAutoCalcFiles(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "autocalc")),
|
|
288918
288263
|
helpersContent: await readJavaScriptFilesWithNames(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "helpers")),
|
|
288919
288264
|
validationsContent: await readJavaScriptFilesWithNames(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "validations")),
|
|
288920
288265
|
schemaRngContent: await readSchemaRngFile(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "schemas"), formName),
|
|
288921
|
-
kcJsXmlContent: await
|
|
288922
|
-
kclangAutocaclulationsContent: await readFilesFromDir(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "autocalc"), /\.kclang$/),
|
|
288266
|
+
kcJsXmlContent: (await readFileSource(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "autocalc"), `${formName}.КС.candy.js.xml`, "<dummy/>")) || "",
|
|
288923
288267
|
tourSteps: await readFileSource(path__WEBPACK_IMPORTED_MODULE_1___default().join(rootPath, "tour"), "tour.js", "{}"),
|
|
288924
288268
|
hooksContent: await readHooksFile(formSourcesPath),
|
|
288925
288269
|
customControlsContent: await readCustomControlsFiles(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "controls")),
|
|
@@ -288963,7 +288307,7 @@ function evalModule(moduleCode) {
|
|
|
288963
288307
|
|
|
288964
288308
|
async function isDirectoryExists(directoryPath) {
|
|
288965
288309
|
try {
|
|
288966
|
-
const dirStat = await (
|
|
288310
|
+
const dirStat = await statAsync(directoryPath);
|
|
288967
288311
|
return dirStat.isDirectory();
|
|
288968
288312
|
} catch (ignoreError) {
|
|
288969
288313
|
return false;
|
|
@@ -288974,27 +288318,27 @@ async function readFiles(filePaths) {
|
|
|
288974
288318
|
const result = [];
|
|
288975
288319
|
|
|
288976
288320
|
for (const filePath of filePaths) {
|
|
288977
|
-
result.push(await (
|
|
288321
|
+
result.push(await readFileAsync(filePath, "utf-8"));
|
|
288978
288322
|
}
|
|
288979
288323
|
|
|
288980
288324
|
return result;
|
|
288981
288325
|
}
|
|
288982
288326
|
|
|
288983
288327
|
async function extractReferences(formSugarDirectoryPath) {
|
|
288984
|
-
const indexContent = await (
|
|
288985
|
-
return (0,
|
|
288328
|
+
const indexContent = await readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSugarDirectoryPath, "index.sugar.xml"), "utf-8");
|
|
288329
|
+
return (0,_common_ExtractSugarReferences__WEBPACK_IMPORTED_MODULE_8__.extractSugarReferences)(indexContent, filePath => readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSugarDirectoryPath, filePath), "utf-8"));
|
|
288986
288330
|
}
|
|
288987
288331
|
|
|
288988
288332
|
async function getAllFilePathsInDirectory(directoryPath, _filelist) {
|
|
288989
|
-
if (!(await (0,
|
|
288333
|
+
if (!(await (0,fs_extra__WEBPACK_IMPORTED_MODULE_4__.pathExists)(directoryPath))) {
|
|
288990
288334
|
return [];
|
|
288991
288335
|
}
|
|
288992
288336
|
|
|
288993
|
-
const files = await (
|
|
288337
|
+
const files = await readdirAsync(directoryPath);
|
|
288994
288338
|
let filelist = _filelist || [];
|
|
288995
288339
|
|
|
288996
288340
|
for (const file of files) {
|
|
288997
|
-
if ((await (
|
|
288341
|
+
if ((await statAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(directoryPath, file))).isDirectory()) {
|
|
288998
288342
|
filelist = await getAllFilePathsInDirectory(path__WEBPACK_IMPORTED_MODULE_1___default().join(directoryPath, file), filelist);
|
|
288999
288343
|
} else {
|
|
289000
288344
|
filelist.push(path__WEBPACK_IMPORTED_MODULE_1___default().join(directoryPath, file));
|
|
@@ -289005,7 +288349,7 @@ async function getAllFilePathsInDirectory(directoryPath, _filelist) {
|
|
|
289005
288349
|
}
|
|
289006
288350
|
|
|
289007
288351
|
async function checkFileExists(filePath) {
|
|
289008
|
-
if (!(await (0,
|
|
288352
|
+
if (!(await (0,fs_extra__WEBPACK_IMPORTED_MODULE_4__.pathExists)(filePath))) {
|
|
289009
288353
|
return [];
|
|
289010
288354
|
}
|
|
289011
288355
|
|
|
@@ -289018,7 +288362,7 @@ async function getAllDependencies(formSourcesPath, farmDirectory) {
|
|
|
289018
288362
|
|
|
289019
288363
|
if (sugarReferences.fetchFunctionFiles.length === 0) {
|
|
289020
288364
|
const legacyfetchfunctionsDirectory = path__WEBPACK_IMPORTED_MODULE_1___default().join(farmDirectory, "legacyfetchfunctions");
|
|
289021
|
-
sugarReferences.fetchFunctionFiles = (await (
|
|
288365
|
+
sugarReferences.fetchFunctionFiles = (await readdirAsync(legacyfetchfunctionsDirectory)).map(x => path__WEBPACK_IMPORTED_MODULE_1___default().resolve(legacyfetchfunctionsDirectory, x));
|
|
289022
288366
|
}
|
|
289023
288367
|
|
|
289024
288368
|
return [path__WEBPACK_IMPORTED_MODULE_1___default().join(formSugarDirectoryPath, "index.sugar.xml"), ...sugarReferences.fetchFunctionFiles.map(x => path__WEBPACK_IMPORTED_MODULE_1___default().resolve(formSugarDirectoryPath, x)), ...sugarReferences.sugarFiles.map(x => path__WEBPACK_IMPORTED_MODULE_1___default().resolve(formSugarDirectoryPath, x + ".sugar.xml")), ...sugarReferences.resourceFiles.map(x => path__WEBPACK_IMPORTED_MODULE_1___default().resolve(formSugarDirectoryPath, x)), ...(await checkFileExists(path__WEBPACK_IMPORTED_MODULE_1___default().resolve(formSourcesPath, "settings.json"))), ...(await getAllFilePathsInDirectory(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "autocalc"))), ...(await getAllFilePathsInDirectory(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "helpers"))), ...(await getAllFilePathsInDirectory(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "validations"))), ...(await getAllFilePathsInDirectory(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "schemas"))), ...(await checkFileExists(path__WEBPACK_IMPORTED_MODULE_1___default().join(farmDirectory, "tour", "tour.js"))), ...(await getAllFilePathsInDirectory(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "controls"))), ...(await getAllFilePathsInDirectory(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "localization")))];
|
|
@@ -289031,23 +288375,23 @@ function normalizeLineEndings(content) {
|
|
|
289031
288375
|
async function getAllDependenciesHash(formSourcesPath, farmDirectory) {
|
|
289032
288376
|
const allDeps = await getAllDependencies(formSourcesPath, farmDirectory);
|
|
289033
288377
|
const hashes = await Promise.all(allDeps.map(async depFilePath => {
|
|
289034
|
-
if ([".js", ".
|
|
289035
|
-
let content = await (
|
|
288378
|
+
if ([".js", ".xml", ".xslt", ".json"].some(ext => depFilePath.endsWith(ext))) {
|
|
288379
|
+
let content = await readFileAsync(depFilePath, "utf-8");
|
|
289036
288380
|
content = normalizeLineEndings(content);
|
|
289037
|
-
return
|
|
288381
|
+
return md5__WEBPACK_IMPORTED_MODULE_5___default()(content);
|
|
289038
288382
|
}
|
|
289039
288383
|
|
|
289040
|
-
return
|
|
288384
|
+
return md5_file__WEBPACK_IMPORTED_MODULE_6___default()(depFilePath);
|
|
289041
288385
|
}));
|
|
289042
|
-
return
|
|
288386
|
+
return md5__WEBPACK_IMPORTED_MODULE_5___default()(hashes.join(""));
|
|
289043
288387
|
}
|
|
289044
288388
|
async function readSugarFiles(formSugarDirectoryPath, references) {
|
|
289045
288389
|
const result = {
|
|
289046
|
-
"./index": await (
|
|
288390
|
+
"./index": await readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSugarDirectoryPath, "index.sugar.xml"), "utf-8")
|
|
289047
288391
|
};
|
|
289048
288392
|
|
|
289049
288393
|
for (const sugarPath of references.sugarFiles) {
|
|
289050
|
-
const sugarModuleContent = await (
|
|
288394
|
+
const sugarModuleContent = await readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSugarDirectoryPath, sugarPath + ".sugar.xml"), "utf-8");
|
|
289051
288395
|
result[sugarPath] = sugarModuleContent;
|
|
289052
288396
|
}
|
|
289053
288397
|
|
|
@@ -289059,11 +288403,11 @@ async function readCustomControlsFiles(formSugarDirectoryPath) {
|
|
|
289059
288403
|
return {};
|
|
289060
288404
|
}
|
|
289061
288405
|
|
|
289062
|
-
const fileNames = await
|
|
288406
|
+
const fileNames = await recursive_readdir__WEBPACK_IMPORTED_MODULE_7___default()(formSugarDirectoryPath);
|
|
289063
288407
|
const result = {};
|
|
289064
288408
|
|
|
289065
288409
|
for (const fileName of fileNames) {
|
|
289066
|
-
const sugarModuleContent = await (
|
|
288410
|
+
const sugarModuleContent = await readFileAsync(fileName, "utf-8");
|
|
289067
288411
|
const relativeFileName = ("controls\\" + fileName.replace(formSugarDirectoryPath + "\\", "")).replace(/\\/g, "/");
|
|
289068
288412
|
result[relativeFileName] = sugarModuleContent;
|
|
289069
288413
|
}
|
|
@@ -289071,23 +288415,23 @@ async function readCustomControlsFiles(formSugarDirectoryPath) {
|
|
|
289071
288415
|
return result;
|
|
289072
288416
|
}
|
|
289073
288417
|
|
|
289074
|
-
async function
|
|
289075
|
-
|
|
288418
|
+
async function readAutoCalcFiles(formAutoCalcPath) {
|
|
288419
|
+
try {
|
|
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) {
|
|
289076
288424
|
return [];
|
|
289077
288425
|
}
|
|
289078
|
-
|
|
289079
|
-
const files = await (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readdir)(directoryPath);
|
|
289080
|
-
const jsFiles = files.filter(filename => fileNameTest.test(filename));
|
|
289081
|
-
return Promise.all(jsFiles.map(filename => (0,fs_extra__WEBPACK_IMPORTED_MODULE_3__.readFile)(path__WEBPACK_IMPORTED_MODULE_1___default().join(directoryPath, filename), "utf-8")));
|
|
289082
288426
|
}
|
|
289083
288427
|
|
|
289084
288428
|
async function readImportedFiles(rootPath) {
|
|
289085
288429
|
try {
|
|
289086
288430
|
const result = {};
|
|
289087
|
-
const files = await (
|
|
288431
|
+
const files = await readdirAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(rootPath, "validations"));
|
|
289088
288432
|
|
|
289089
288433
|
for (const fileName of files) {
|
|
289090
|
-
result["../validations/" + fileName] = await (
|
|
288434
|
+
result["../validations/" + fileName] = await readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(rootPath, "validations", fileName), "utf-8");
|
|
289091
288435
|
}
|
|
289092
288436
|
|
|
289093
288437
|
return result;
|
|
@@ -289098,11 +288442,11 @@ async function readImportedFiles(rootPath) {
|
|
|
289098
288442
|
|
|
289099
288443
|
async function readJavaScriptFilesWithNames(formJavaScriptFilesPath) {
|
|
289100
288444
|
try {
|
|
289101
|
-
const files = await (
|
|
288445
|
+
const files = await readdirAsync(formJavaScriptFilesPath);
|
|
289102
288446
|
const jsFiles = files.filter(filename => /\.js$/.test(filename));
|
|
289103
288447
|
return Promise.all(jsFiles.map(async filename => ({
|
|
289104
288448
|
filename: path__WEBPACK_IMPORTED_MODULE_1___default().parse(filename).name,
|
|
289105
|
-
content: await (
|
|
288449
|
+
content: await readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formJavaScriptFilesPath, filename), "utf-8")
|
|
289106
288450
|
})));
|
|
289107
288451
|
} catch (ignoreError) {
|
|
289108
288452
|
return [];
|
|
@@ -289113,7 +288457,7 @@ async function connectJSFilesWithNames(formJavaScriptFilesPath) {
|
|
|
289113
288457
|
let jsFiles;
|
|
289114
288458
|
|
|
289115
288459
|
try {
|
|
289116
|
-
const files = await (
|
|
288460
|
+
const files = await readdirAsync(formJavaScriptFilesPath);
|
|
289117
288461
|
jsFiles = files.filter(filename => /\.js$/.test(filename));
|
|
289118
288462
|
const result = [];
|
|
289119
288463
|
|
|
@@ -289121,7 +288465,7 @@ async function connectJSFilesWithNames(formJavaScriptFilesPath) {
|
|
|
289121
288465
|
result.push({
|
|
289122
288466
|
filename: path__WEBPACK_IMPORTED_MODULE_1___default().parse(filename).name,
|
|
289123
288467
|
// tslint:disable-next-line no-unsafe-any
|
|
289124
|
-
content: evalModule(await (
|
|
288468
|
+
content: evalModule(await readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formJavaScriptFilesPath, filename), "utf-8"))
|
|
289125
288469
|
});
|
|
289126
288470
|
}
|
|
289127
288471
|
|
|
@@ -289132,16 +288476,16 @@ async function connectJSFilesWithNames(formJavaScriptFilesPath) {
|
|
|
289132
288476
|
}
|
|
289133
288477
|
|
|
289134
288478
|
function readSchemaRngFile(formSchemasPath, gfv) {
|
|
289135
|
-
return (
|
|
288479
|
+
return readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSchemasPath, `${gfv}.rng.xml`), "utf-8");
|
|
289136
288480
|
}
|
|
289137
288481
|
|
|
289138
288482
|
function readHooksFile(formDirectoryPath) {
|
|
289139
|
-
return (
|
|
288483
|
+
return readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formDirectoryPath, "hooks.js"), "utf-8").catch(() => "");
|
|
289140
288484
|
}
|
|
289141
288485
|
|
|
289142
288486
|
async function readFileSource(filePath, filename, defaultValue) {
|
|
289143
288487
|
try {
|
|
289144
|
-
return await (
|
|
288488
|
+
return await readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(filePath, filename), "utf-8");
|
|
289145
288489
|
} catch (ingoreError) {
|
|
289146
288490
|
return defaultValue;
|
|
289147
288491
|
}
|
|
@@ -289696,18 +289040,18 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
289696
289040
|
|
|
289697
289041
|
|
|
289698
289042
|
class NormalizationRulesGenerator {
|
|
289699
|
-
constructor(sugarRoot, dataDeclarationHelper, formSchemaRng,
|
|
289043
|
+
constructor(sugarRoot, dataDeclarationHelper, formSchemaRng, mathContainer, typesRegistry, useSchemaValidations, controlCustomizationContext) {
|
|
289700
289044
|
this.sugarRoot = void 0;
|
|
289701
289045
|
this.dataDeclarationHelper = void 0;
|
|
289702
289046
|
this.formSchemaRng = void 0;
|
|
289703
|
-
this.
|
|
289047
|
+
this.mathContainer = void 0;
|
|
289704
289048
|
this.typesRegistry = void 0;
|
|
289705
289049
|
this.controlCustomizationContext = void 0;
|
|
289706
289050
|
this.useSchemaValidations = void 0;
|
|
289707
289051
|
this.sugarRoot = sugarRoot;
|
|
289708
289052
|
this.dataDeclarationHelper = dataDeclarationHelper;
|
|
289709
289053
|
this.formSchemaRng = formSchemaRng;
|
|
289710
|
-
this.
|
|
289054
|
+
this.mathContainer = mathContainer;
|
|
289711
289055
|
this.typesRegistry = typesRegistry;
|
|
289712
289056
|
this.useSchemaValidations = useSchemaValidations;
|
|
289713
289057
|
this.controlCustomizationContext = controlCustomizationContext;
|
|
@@ -289737,7 +289081,9 @@ class NormalizationRulesGenerator {
|
|
|
289737
289081
|
}
|
|
289738
289082
|
|
|
289739
289083
|
*buildFormulaFLangRules() {
|
|
289740
|
-
for (const formula of this.formulas) {
|
|
289084
|
+
for (const formula of (_this$mathContainer$f = (_this$mathContainer = this.mathContainer) === null || _this$mathContainer === void 0 ? void 0 : (_this$mathContainer$f2 = _this$mathContainer.formulas) === null || _this$mathContainer$f2 === void 0 ? void 0 : _this$mathContainer$f2.items) !== null && _this$mathContainer$f !== void 0 ? _this$mathContainer$f : []) {
|
|
289085
|
+
var _this$mathContainer$f, _this$mathContainer, _this$mathContainer$f2;
|
|
289086
|
+
|
|
289741
289087
|
yield* this.buildFormulaFlashRule(formula);
|
|
289742
289088
|
}
|
|
289743
289089
|
}
|
|
@@ -298601,8 +297947,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
298601
297947
|
/* harmony import */ var _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../Serializer/DeprecationReason */ "./Generator/src/generators/markupGenerator/Serializer/DeprecationReason.ts");
|
|
298602
297948
|
/* harmony import */ var _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../Serializer/SugarNodeWithLegacyVisibility */ "./Generator/src/generators/markupGenerator/Serializer/SugarNodeWithLegacyVisibility.ts");
|
|
298603
297949
|
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
298604
|
-
|
|
298605
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _dec24, _class4, _class5, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _dec25, _dec26, _class7, _class8, _descriptor23, _dec27, _dec28, _class10, _class11, _descriptor24, _dec29, _dec30, _dec31, _dec32, _dec33, _dec34, _dec35, _dec36, _class13, _class14, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31;
|
|
297950
|
+
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _class4, _class5, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _dec24, _dec25, _class7, _class8, _descriptor22, _dec26, _dec27, _class10, _class11, _descriptor23, _dec28, _dec29, _dec30, _dec31, _dec32, _dec33, _dec34, _dec35, _class13, _class14, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30;
|
|
298606
297951
|
|
|
298607
297952
|
function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }
|
|
298608
297953
|
|
|
@@ -298614,8 +297959,7 @@ function _initializerWarningHelper(descriptor, context) { throw new Error('Decor
|
|
|
298614
297959
|
|
|
298615
297960
|
|
|
298616
297961
|
|
|
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 {
|
|
297962
|
+
let SimpleTableColumnNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("column", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Layout/SimpleTable sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_0__.DataBindingScopeMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("multiple", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Множественная колонка: можно добавлять несколько строк внутри одной колонки`), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("disabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Отключить редактирование для множественной колонки. Работает только если multiple=true`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("hintOnAdd", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, `Хинт на кнопке добавления строки в множественной колонке`), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("titles", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.array(_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string), ``), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("colspan", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, `Количество объединенных колонок`), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("empty", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Рисует "x" в колонке`), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("rowspan", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, `Количество объединенных строк`), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("horizontalAlign", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("center", "left", "right"), `Выравнивание по горизонтали`), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("requiredempty", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("indent", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, `Отступ от левого края. Кратен 12px. Тоесть indent="2" -- отступ 24px`), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.lengthUnit, `Ширина колонки`), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("textTopPadding", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Добавляет фиксированный отступ от верхнего края. Работает только при использовании в grid 'top'. Применяется, если в grid есть контролы, которые могут неадекватно выравниваться по базовой линии (например, textarea)`), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("size", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, `Размер ячейки в относительных единицах`), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)(), _dec(_class = (_class2 = class SimpleTableColumnNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_2__.SugarNodeWithLegacyVisibility {
|
|
298619
297963
|
constructor(...args) {
|
|
298620
297964
|
super(...args);
|
|
298621
297965
|
|
|
@@ -298625,31 +297969,29 @@ let SimpleTableColumnNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPO
|
|
|
298625
297969
|
|
|
298626
297970
|
_initializerDefineProperty(this, "disabled", _descriptor3, this);
|
|
298627
297971
|
|
|
298628
|
-
_initializerDefineProperty(this, "
|
|
297972
|
+
_initializerDefineProperty(this, "hintOnAdd", _descriptor4, this);
|
|
298629
297973
|
|
|
298630
|
-
_initializerDefineProperty(this, "
|
|
297974
|
+
_initializerDefineProperty(this, "titles", _descriptor5, this);
|
|
298631
297975
|
|
|
298632
|
-
_initializerDefineProperty(this, "
|
|
297976
|
+
_initializerDefineProperty(this, "colspan", _descriptor6, this);
|
|
298633
297977
|
|
|
298634
|
-
_initializerDefineProperty(this, "
|
|
297978
|
+
_initializerDefineProperty(this, "empty", _descriptor7, this);
|
|
298635
297979
|
|
|
298636
|
-
_initializerDefineProperty(this, "
|
|
297980
|
+
_initializerDefineProperty(this, "rowspan", _descriptor8, this);
|
|
298637
297981
|
|
|
298638
|
-
_initializerDefineProperty(this, "
|
|
298639
|
-
|
|
298640
|
-
_initializerDefineProperty(this, "horizontalAlign", _descriptor10, this);
|
|
297982
|
+
_initializerDefineProperty(this, "horizontalAlign", _descriptor9, this);
|
|
298641
297983
|
|
|
298642
|
-
_initializerDefineProperty(this, "requiredempty",
|
|
297984
|
+
_initializerDefineProperty(this, "requiredempty", _descriptor10, this);
|
|
298643
297985
|
|
|
298644
|
-
_initializerDefineProperty(this, "indent",
|
|
297986
|
+
_initializerDefineProperty(this, "indent", _descriptor11, this);
|
|
298645
297987
|
|
|
298646
|
-
_initializerDefineProperty(this, "width",
|
|
297988
|
+
_initializerDefineProperty(this, "width", _descriptor12, this);
|
|
298647
297989
|
|
|
298648
|
-
_initializerDefineProperty(this, "textTopPadding",
|
|
297990
|
+
_initializerDefineProperty(this, "textTopPadding", _descriptor13, this);
|
|
298649
297991
|
|
|
298650
|
-
_initializerDefineProperty(this, "size",
|
|
297992
|
+
_initializerDefineProperty(this, "size", _descriptor14, this);
|
|
298651
297993
|
|
|
298652
|
-
_initializerDefineProperty(this, "children",
|
|
297994
|
+
_initializerDefineProperty(this, "children", _descriptor15, this);
|
|
298653
297995
|
}
|
|
298654
297996
|
|
|
298655
297997
|
getOwnPath() {
|
|
@@ -298677,167 +298019,162 @@ let SimpleTableColumnNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPO
|
|
|
298677
298019
|
enumerable: true,
|
|
298678
298020
|
writable: true,
|
|
298679
298021
|
initializer: null
|
|
298680
|
-
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
298022
|
+
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "hintOnAdd", [_dec5], {
|
|
298681
298023
|
configurable: true,
|
|
298682
298024
|
enumerable: true,
|
|
298683
298025
|
writable: true,
|
|
298684
298026
|
initializer: null
|
|
298685
|
-
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
298027
|
+
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "titles", [_dec6], {
|
|
298686
298028
|
configurable: true,
|
|
298687
298029
|
enumerable: true,
|
|
298688
298030
|
writable: true,
|
|
298689
298031
|
initializer: null
|
|
298690
|
-
}), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
298032
|
+
}), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "colspan", [_dec7], {
|
|
298691
298033
|
configurable: true,
|
|
298692
298034
|
enumerable: true,
|
|
298693
298035
|
writable: true,
|
|
298694
298036
|
initializer: null
|
|
298695
|
-
}), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
298037
|
+
}), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, "empty", [_dec8], {
|
|
298696
298038
|
configurable: true,
|
|
298697
298039
|
enumerable: true,
|
|
298698
298040
|
writable: true,
|
|
298699
298041
|
initializer: null
|
|
298700
|
-
}), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
298042
|
+
}), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "rowspan", [_dec9], {
|
|
298701
298043
|
configurable: true,
|
|
298702
298044
|
enumerable: true,
|
|
298703
298045
|
writable: true,
|
|
298704
298046
|
initializer: null
|
|
298705
|
-
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
298047
|
+
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "horizontalAlign", [_dec10], {
|
|
298706
298048
|
configurable: true,
|
|
298707
298049
|
enumerable: true,
|
|
298708
298050
|
writable: true,
|
|
298709
298051
|
initializer: null
|
|
298710
|
-
}), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
298052
|
+
}), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, "requiredempty", [_dec11], {
|
|
298711
298053
|
configurable: true,
|
|
298712
298054
|
enumerable: true,
|
|
298713
298055
|
writable: true,
|
|
298714
298056
|
initializer: null
|
|
298715
|
-
}), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
298057
|
+
}), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, "indent", [_dec12], {
|
|
298716
298058
|
configurable: true,
|
|
298717
298059
|
enumerable: true,
|
|
298718
298060
|
writable: true,
|
|
298719
298061
|
initializer: null
|
|
298720
|
-
}), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
298062
|
+
}), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, "width", [_dec13], {
|
|
298721
298063
|
configurable: true,
|
|
298722
298064
|
enumerable: true,
|
|
298723
298065
|
writable: true,
|
|
298724
298066
|
initializer: null
|
|
298725
|
-
}), _descriptor13 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
298067
|
+
}), _descriptor13 = _applyDecoratedDescriptor(_class2.prototype, "textTopPadding", [_dec14], {
|
|
298726
298068
|
configurable: true,
|
|
298727
298069
|
enumerable: true,
|
|
298728
298070
|
writable: true,
|
|
298729
298071
|
initializer: null
|
|
298730
|
-
}), _descriptor14 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
298072
|
+
}), _descriptor14 = _applyDecoratedDescriptor(_class2.prototype, "size", [_dec15], {
|
|
298731
298073
|
configurable: true,
|
|
298732
298074
|
enumerable: true,
|
|
298733
298075
|
writable: true,
|
|
298734
298076
|
initializer: null
|
|
298735
|
-
}), _descriptor15 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
298736
|
-
configurable: true,
|
|
298737
|
-
enumerable: true,
|
|
298738
|
-
writable: true,
|
|
298739
|
-
initializer: null
|
|
298740
|
-
}), _descriptor16 = _applyDecoratedDescriptor(_class2.prototype, "children", [_dec17], {
|
|
298077
|
+
}), _descriptor15 = _applyDecoratedDescriptor(_class2.prototype, "children", [_dec16], {
|
|
298741
298078
|
configurable: true,
|
|
298742
298079
|
enumerable: true,
|
|
298743
298080
|
writable: true,
|
|
298744
298081
|
initializer: null
|
|
298745
298082
|
})), _class2)) || _class);
|
|
298746
|
-
let SimpleTableRowNode = (
|
|
298083
|
+
let SimpleTableRowNode = (_dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("row", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Layout/SimpleTable sync recursive .md$")), _dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_0__.DataBindingScopeMixinNode), _dec19 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec20 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.deprecatedAttr)("borderBottom", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.InvalidUsage), _dec21 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("kind", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("head", "hr"), ``), _dec22 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("subkind", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("numbers"), ``), _dec23 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)("column", [SimpleTableColumnNode]), _dec17(_class4 = (_class5 = class SimpleTableRowNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
298747
298084
|
constructor(...args) {
|
|
298748
298085
|
super(...args);
|
|
298749
298086
|
|
|
298750
|
-
_initializerDefineProperty(this, "dataScope",
|
|
298087
|
+
_initializerDefineProperty(this, "dataScope", _descriptor16, this);
|
|
298751
298088
|
|
|
298752
|
-
_initializerDefineProperty(this, "optional",
|
|
298089
|
+
_initializerDefineProperty(this, "optional", _descriptor17, this);
|
|
298753
298090
|
|
|
298754
|
-
_initializerDefineProperty(this, "borderBottom",
|
|
298091
|
+
_initializerDefineProperty(this, "borderBottom", _descriptor18, this);
|
|
298755
298092
|
|
|
298756
|
-
_initializerDefineProperty(this, "kind",
|
|
298093
|
+
_initializerDefineProperty(this, "kind", _descriptor19, this);
|
|
298757
298094
|
|
|
298758
|
-
_initializerDefineProperty(this, "subkind",
|
|
298095
|
+
_initializerDefineProperty(this, "subkind", _descriptor20, this);
|
|
298759
298096
|
|
|
298760
|
-
_initializerDefineProperty(this, "columns",
|
|
298097
|
+
_initializerDefineProperty(this, "columns", _descriptor21, this);
|
|
298761
298098
|
}
|
|
298762
298099
|
|
|
298763
298100
|
getOwnPath() {
|
|
298764
298101
|
return this.dataScope.getOwnPath();
|
|
298765
298102
|
}
|
|
298766
298103
|
|
|
298767
|
-
}, (
|
|
298104
|
+
}, (_descriptor16 = _applyDecoratedDescriptor(_class5.prototype, "dataScope", [_dec18], {
|
|
298768
298105
|
configurable: true,
|
|
298769
298106
|
enumerable: true,
|
|
298770
298107
|
writable: true,
|
|
298771
298108
|
initializer: null
|
|
298772
|
-
}),
|
|
298109
|
+
}), _descriptor17 = _applyDecoratedDescriptor(_class5.prototype, "optional", [_dec19], {
|
|
298773
298110
|
configurable: true,
|
|
298774
298111
|
enumerable: true,
|
|
298775
298112
|
writable: true,
|
|
298776
298113
|
initializer: null
|
|
298777
|
-
}),
|
|
298114
|
+
}), _descriptor18 = _applyDecoratedDescriptor(_class5.prototype, "borderBottom", [_dec20], {
|
|
298778
298115
|
configurable: true,
|
|
298779
298116
|
enumerable: true,
|
|
298780
298117
|
writable: true,
|
|
298781
298118
|
initializer: null
|
|
298782
|
-
}),
|
|
298119
|
+
}), _descriptor19 = _applyDecoratedDescriptor(_class5.prototype, "kind", [_dec21], {
|
|
298783
298120
|
configurable: true,
|
|
298784
298121
|
enumerable: true,
|
|
298785
298122
|
writable: true,
|
|
298786
298123
|
initializer: null
|
|
298787
|
-
}),
|
|
298124
|
+
}), _descriptor20 = _applyDecoratedDescriptor(_class5.prototype, "subkind", [_dec22], {
|
|
298788
298125
|
configurable: true,
|
|
298789
298126
|
enumerable: true,
|
|
298790
298127
|
writable: true,
|
|
298791
298128
|
initializer: null
|
|
298792
|
-
}),
|
|
298129
|
+
}), _descriptor21 = _applyDecoratedDescriptor(_class5.prototype, "columns", [_dec23], {
|
|
298793
298130
|
configurable: true,
|
|
298794
298131
|
enumerable: true,
|
|
298795
298132
|
writable: true,
|
|
298796
298133
|
initializer: null
|
|
298797
298134
|
})), _class5)) || _class4);
|
|
298798
|
-
let SimpleTableColgroupColumnNode = (
|
|
298135
|
+
let SimpleTableColgroupColumnNode = (_dec24 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("col", ``), _dec25 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.lengthUnit, ``), _dec24(_class7 = (_class8 = class SimpleTableColgroupColumnNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
298799
298136
|
constructor(...args) {
|
|
298800
298137
|
super(...args);
|
|
298801
298138
|
|
|
298802
|
-
_initializerDefineProperty(this, "width",
|
|
298139
|
+
_initializerDefineProperty(this, "width", _descriptor22, this);
|
|
298803
298140
|
}
|
|
298804
298141
|
|
|
298805
|
-
}, (
|
|
298142
|
+
}, (_descriptor22 = _applyDecoratedDescriptor(_class8.prototype, "width", [_dec25], {
|
|
298806
298143
|
configurable: true,
|
|
298807
298144
|
enumerable: true,
|
|
298808
298145
|
writable: true,
|
|
298809
298146
|
initializer: null
|
|
298810
298147
|
})), _class8)) || _class7);
|
|
298811
|
-
let SimpleTableColgroupNode = (
|
|
298148
|
+
let SimpleTableColgroupNode = (_dec26 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("colgroup", ``), _dec27 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)("col", [SimpleTableColgroupColumnNode]), _dec26(_class10 = (_class11 = class SimpleTableColgroupNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
298812
298149
|
constructor(...args) {
|
|
298813
298150
|
super(...args);
|
|
298814
298151
|
|
|
298815
|
-
_initializerDefineProperty(this, "cols",
|
|
298152
|
+
_initializerDefineProperty(this, "cols", _descriptor23, this);
|
|
298816
298153
|
}
|
|
298817
298154
|
|
|
298818
|
-
}, (
|
|
298155
|
+
}, (_descriptor23 = _applyDecoratedDescriptor(_class11.prototype, "cols", [_dec27], {
|
|
298819
298156
|
configurable: true,
|
|
298820
298157
|
enumerable: true,
|
|
298821
298158
|
writable: true,
|
|
298822
298159
|
initializer: null
|
|
298823
298160
|
})), _class11)) || _class10);
|
|
298824
|
-
let SimpleTableNode = (
|
|
298161
|
+
let SimpleTableNode = (_dec28 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("table", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Layout/SimpleTable sync recursive .md$"), x => !(x.boolAttr("sticky") || x.getFirstChild("multiline") != undefined) && !x.boolAttr("crossfit")), _dec29 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("stickyHeader", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec30 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_0__.DataBindingScopeMixinNode), _dec31 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec32 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("grayColumn", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, ``), _dec33 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("align", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("baseline", "sub", "super", "text-bottom", "text-top", "middle", "top", "bottom"), ``), _dec34 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.singleChild)("colgroup", [SimpleTableColgroupNode]), _dec35 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)("row", [SimpleTableRowNode]), _dec28(_class13 = (_class14 = class SimpleTableNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_2__.SugarNodeWithLegacyVisibility {
|
|
298825
298162
|
constructor(...args) {
|
|
298826
298163
|
super(...args);
|
|
298827
298164
|
|
|
298828
|
-
_initializerDefineProperty(this, "stickyHeader",
|
|
298165
|
+
_initializerDefineProperty(this, "stickyHeader", _descriptor24, this);
|
|
298829
298166
|
|
|
298830
|
-
_initializerDefineProperty(this, "dataScope",
|
|
298167
|
+
_initializerDefineProperty(this, "dataScope", _descriptor25, this);
|
|
298831
298168
|
|
|
298832
|
-
_initializerDefineProperty(this, "optional",
|
|
298169
|
+
_initializerDefineProperty(this, "optional", _descriptor26, this);
|
|
298833
298170
|
|
|
298834
|
-
_initializerDefineProperty(this, "grayColumn",
|
|
298171
|
+
_initializerDefineProperty(this, "grayColumn", _descriptor27, this);
|
|
298835
298172
|
|
|
298836
|
-
_initializerDefineProperty(this, "align",
|
|
298173
|
+
_initializerDefineProperty(this, "align", _descriptor28, this);
|
|
298837
298174
|
|
|
298838
|
-
_initializerDefineProperty(this, "colgroup",
|
|
298175
|
+
_initializerDefineProperty(this, "colgroup", _descriptor29, this);
|
|
298839
298176
|
|
|
298840
|
-
_initializerDefineProperty(this, "rows",
|
|
298177
|
+
_initializerDefineProperty(this, "rows", _descriptor30, this);
|
|
298841
298178
|
}
|
|
298842
298179
|
|
|
298843
298180
|
getOwnPath() {
|
|
@@ -298852,37 +298189,37 @@ let SimpleTableNode = (_dec29 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED
|
|
|
298852
298189
|
return this.rows.filter(row => row.kind == undefined || row.kind === "hr");
|
|
298853
298190
|
}
|
|
298854
298191
|
|
|
298855
|
-
}, (
|
|
298192
|
+
}, (_descriptor24 = _applyDecoratedDescriptor(_class14.prototype, "stickyHeader", [_dec29], {
|
|
298856
298193
|
configurable: true,
|
|
298857
298194
|
enumerable: true,
|
|
298858
298195
|
writable: true,
|
|
298859
298196
|
initializer: null
|
|
298860
|
-
}),
|
|
298197
|
+
}), _descriptor25 = _applyDecoratedDescriptor(_class14.prototype, "dataScope", [_dec30], {
|
|
298861
298198
|
configurable: true,
|
|
298862
298199
|
enumerable: true,
|
|
298863
298200
|
writable: true,
|
|
298864
298201
|
initializer: null
|
|
298865
|
-
}),
|
|
298202
|
+
}), _descriptor26 = _applyDecoratedDescriptor(_class14.prototype, "optional", [_dec31], {
|
|
298866
298203
|
configurable: true,
|
|
298867
298204
|
enumerable: true,
|
|
298868
298205
|
writable: true,
|
|
298869
298206
|
initializer: null
|
|
298870
|
-
}),
|
|
298207
|
+
}), _descriptor27 = _applyDecoratedDescriptor(_class14.prototype, "grayColumn", [_dec32], {
|
|
298871
298208
|
configurable: true,
|
|
298872
298209
|
enumerable: true,
|
|
298873
298210
|
writable: true,
|
|
298874
298211
|
initializer: null
|
|
298875
|
-
}),
|
|
298212
|
+
}), _descriptor28 = _applyDecoratedDescriptor(_class14.prototype, "align", [_dec33], {
|
|
298876
298213
|
configurable: true,
|
|
298877
298214
|
enumerable: true,
|
|
298878
298215
|
writable: true,
|
|
298879
298216
|
initializer: null
|
|
298880
|
-
}),
|
|
298217
|
+
}), _descriptor29 = _applyDecoratedDescriptor(_class14.prototype, "colgroup", [_dec34], {
|
|
298881
298218
|
configurable: true,
|
|
298882
298219
|
enumerable: true,
|
|
298883
298220
|
writable: true,
|
|
298884
298221
|
initializer: null
|
|
298885
|
-
}),
|
|
298222
|
+
}), _descriptor30 = _applyDecoratedDescriptor(_class14.prototype, "rows", [_dec35], {
|
|
298886
298223
|
configurable: true,
|
|
298887
298224
|
enumerable: true,
|
|
298888
298225
|
writable: true,
|
|
@@ -300193,8 +299530,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
300193
299530
|
/* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
|
|
300194
299531
|
/* harmony import */ var _Multilinefield_GetPluralTitles__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Multilinefield/GetPluralTitles */ "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/Multilinefield/GetPluralTitles.ts");
|
|
300195
299532
|
/* harmony import */ var _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../common/XmlParser/XmlNode */ "./Generator/src/common/XmlParser/XmlNode.ts");
|
|
300196
|
-
/* harmony import */ var _SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../SugarNodes/SugarNodeUtils */ "./Generator/src/generators/markupGenerator/SugarNodes/SugarNodeUtils.ts");
|
|
300197
|
-
|
|
300198
299533
|
|
|
300199
299534
|
|
|
300200
299535
|
|
|
@@ -300221,15 +299556,6 @@ class ColumnConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.S
|
|
|
300221
299556
|
multiLineFieldMarkupBuilder.prop(x => x.backgroundColor).set("#f3f3f3");
|
|
300222
299557
|
multiLineFieldMarkupBuilder.prop(x => x.hintOnAdd).set(node.hintOnAdd);
|
|
300223
299558
|
multiLineFieldMarkupBuilder.prop(x => x.disableButtons).set(node.disabled);
|
|
300224
|
-
|
|
300225
|
-
if (node.disabled2 != undefined) {
|
|
300226
|
-
multiLineFieldMarkupBuilder.prop(x => x.disableButtons2).set((0,_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_5__.buildExpressionPropValue)(node.disabled2));
|
|
300227
|
-
|
|
300228
|
-
if (this.getLegacyNode().getParent() != undefined) {
|
|
300229
|
-
multiLineFieldMarkupBuilder.prop(x => x.evaluatorsContextPath).set(this.getEvaluatorsContextPathExpression());
|
|
300230
|
-
}
|
|
300231
|
-
}
|
|
300232
|
-
|
|
300233
299559
|
return multiLineFieldMarkupBuilder.buildConverterResult();
|
|
300234
299560
|
} else {
|
|
300235
299561
|
if (node.disabled != undefined) {
|
|
@@ -300926,7 +300252,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
300926
300252
|
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
300927
300253
|
/* harmony import */ var _Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../Commons/DocumentationLinks */ "./Generator/src/generators/markupGenerator/ElementProcessors/Commons/DocumentationLinks.ts");
|
|
300928
300254
|
/* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
|
|
300929
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20,
|
|
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, _dec21, _dec22, _dec23, _dec24, _class4, _class5, _descriptor20, _descriptor21, _descriptor22, _dec25, _dec26, _dec27, _dec28, _dec29, _dec30, _dec31, _dec32, _dec33, _dec34, _dec35, _dec36, _dec37, _dec38, _class7, _class8, _descriptor23, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _dec39, _dec40, _dec41, _class10, _class11, _descriptor36, _descriptor37, _dec42, _dec43, _dec44, _dec45, _dec46, _dec47, _class13, _class14, _descriptor38, _descriptor39, _descriptor40, _descriptor41, _descriptor42, _dec48, _dec49, _class16, _class17, _descriptor43, _dec50, _dec51, _class19, _class20, _descriptor44, _dec52, _dec53, _class22, _class23, _descriptor45, _dec54, _dec55, _dec56, _dec57, _dec58, _dec59, _dec60, _dec61, _dec62, _dec63, _dec64, _dec65, _dec66, _dec67, _dec68, _dec69, _dec70, _dec71, _dec72, _dec73, _dec74, _class25, _class26, _descriptor46, _descriptor47, _descriptor48, _descriptor49, _descriptor50, _descriptor51, _descriptor52, _descriptor53, _descriptor54, _descriptor55, _descriptor56, _descriptor57, _descriptor58, _descriptor59, _descriptor60, _descriptor61, _descriptor62, _descriptor63, _descriptor64, _descriptor65;
|
|
300930
300256
|
|
|
300931
300257
|
function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }
|
|
300932
300258
|
|
|
@@ -300940,7 +300266,7 @@ function _initializerWarningHelper(descriptor, context) { throw new Error('Decor
|
|
|
300940
300266
|
|
|
300941
300267
|
|
|
300942
300268
|
|
|
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__.
|
|
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), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.deprecatedAttr)("widths", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.Typo), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("titles", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.array(_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string), ``), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("hintOnAdd", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, ``), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("groupText", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, ``), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("key", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, ``), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("colspan", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, ``), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("hiddenGroup", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, ``), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("empty", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.lengthUnit, ``), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("rowspan", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, ``), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("horizontalAlign", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("center", "left", "right"), ``), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("requiredempty", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("indent", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("1", "2", "3", "4", "5"), ``), _dec19 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("grouped", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, `Поле генериться в препроцессоре`), _dec20 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)(), _dec(_class = (_class2 = class CrossfitTableColumnNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
300944
300270
|
constructor(...args) {
|
|
300945
300271
|
super(...args);
|
|
300946
300272
|
|
|
@@ -300950,39 +300276,37 @@ let CrossfitTableColumnNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IM
|
|
|
300950
300276
|
|
|
300951
300277
|
_initializerDefineProperty(this, "disabled", _descriptor3, this);
|
|
300952
300278
|
|
|
300953
|
-
_initializerDefineProperty(this, "
|
|
300954
|
-
|
|
300955
|
-
_initializerDefineProperty(this, "className", _descriptor5, this);
|
|
300279
|
+
_initializerDefineProperty(this, "className", _descriptor4, this);
|
|
300956
300280
|
|
|
300957
|
-
_initializerDefineProperty(this, "widths",
|
|
300281
|
+
_initializerDefineProperty(this, "widths", _descriptor5, this);
|
|
300958
300282
|
|
|
300959
|
-
_initializerDefineProperty(this, "titles",
|
|
300283
|
+
_initializerDefineProperty(this, "titles", _descriptor6, this);
|
|
300960
300284
|
|
|
300961
|
-
_initializerDefineProperty(this, "hintOnAdd",
|
|
300285
|
+
_initializerDefineProperty(this, "hintOnAdd", _descriptor7, this);
|
|
300962
300286
|
|
|
300963
|
-
_initializerDefineProperty(this, "groupText",
|
|
300287
|
+
_initializerDefineProperty(this, "groupText", _descriptor8, this);
|
|
300964
300288
|
|
|
300965
|
-
_initializerDefineProperty(this, "key",
|
|
300289
|
+
_initializerDefineProperty(this, "key", _descriptor9, this);
|
|
300966
300290
|
|
|
300967
|
-
_initializerDefineProperty(this, "colspan",
|
|
300291
|
+
_initializerDefineProperty(this, "colspan", _descriptor10, this);
|
|
300968
300292
|
|
|
300969
|
-
_initializerDefineProperty(this, "hiddenGroup",
|
|
300293
|
+
_initializerDefineProperty(this, "hiddenGroup", _descriptor11, this);
|
|
300970
300294
|
|
|
300971
|
-
_initializerDefineProperty(this, "empty",
|
|
300295
|
+
_initializerDefineProperty(this, "empty", _descriptor12, this);
|
|
300972
300296
|
|
|
300973
|
-
_initializerDefineProperty(this, "width",
|
|
300297
|
+
_initializerDefineProperty(this, "width", _descriptor13, this);
|
|
300974
300298
|
|
|
300975
|
-
_initializerDefineProperty(this, "rowspan",
|
|
300299
|
+
_initializerDefineProperty(this, "rowspan", _descriptor14, this);
|
|
300976
300300
|
|
|
300977
|
-
_initializerDefineProperty(this, "horizontalAlign",
|
|
300301
|
+
_initializerDefineProperty(this, "horizontalAlign", _descriptor15, this);
|
|
300978
300302
|
|
|
300979
|
-
_initializerDefineProperty(this, "requiredempty",
|
|
300303
|
+
_initializerDefineProperty(this, "requiredempty", _descriptor16, this);
|
|
300980
300304
|
|
|
300981
|
-
_initializerDefineProperty(this, "indent",
|
|
300305
|
+
_initializerDefineProperty(this, "indent", _descriptor17, this);
|
|
300982
300306
|
|
|
300983
|
-
_initializerDefineProperty(this, "grouped",
|
|
300307
|
+
_initializerDefineProperty(this, "grouped", _descriptor18, this);
|
|
300984
300308
|
|
|
300985
|
-
_initializerDefineProperty(this, "children",
|
|
300309
|
+
_initializerDefineProperty(this, "children", _descriptor19, this);
|
|
300986
300310
|
}
|
|
300987
300311
|
|
|
300988
300312
|
getOwnPath() {
|
|
@@ -301010,148 +300334,143 @@ let CrossfitTableColumnNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IM
|
|
|
301010
300334
|
enumerable: true,
|
|
301011
300335
|
writable: true,
|
|
301012
300336
|
initializer: null
|
|
301013
|
-
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
301014
|
-
configurable: true,
|
|
301015
|
-
enumerable: true,
|
|
301016
|
-
writable: true,
|
|
301017
|
-
initializer: null
|
|
301018
|
-
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "className", [_dec6], {
|
|
300337
|
+
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "className", [_dec5], {
|
|
301019
300338
|
configurable: true,
|
|
301020
300339
|
enumerable: true,
|
|
301021
300340
|
writable: true,
|
|
301022
300341
|
initializer: null
|
|
301023
|
-
}),
|
|
300342
|
+
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "widths", [_dec6], {
|
|
301024
300343
|
configurable: true,
|
|
301025
300344
|
enumerable: true,
|
|
301026
300345
|
writable: true,
|
|
301027
300346
|
initializer: null
|
|
301028
|
-
}),
|
|
300347
|
+
}), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "titles", [_dec7], {
|
|
301029
300348
|
configurable: true,
|
|
301030
300349
|
enumerable: true,
|
|
301031
300350
|
writable: true,
|
|
301032
300351
|
initializer: null
|
|
301033
|
-
}),
|
|
300352
|
+
}), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, "hintOnAdd", [_dec8], {
|
|
301034
300353
|
configurable: true,
|
|
301035
300354
|
enumerable: true,
|
|
301036
300355
|
writable: true,
|
|
301037
300356
|
initializer: null
|
|
301038
|
-
}),
|
|
300357
|
+
}), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "groupText", [_dec9], {
|
|
301039
300358
|
configurable: true,
|
|
301040
300359
|
enumerable: true,
|
|
301041
300360
|
writable: true,
|
|
301042
300361
|
initializer: null
|
|
301043
|
-
}),
|
|
300362
|
+
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "key", [_dec10], {
|
|
301044
300363
|
configurable: true,
|
|
301045
300364
|
enumerable: true,
|
|
301046
300365
|
writable: true,
|
|
301047
300366
|
initializer: null
|
|
301048
|
-
}),
|
|
300367
|
+
}), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, "colspan", [_dec11], {
|
|
301049
300368
|
configurable: true,
|
|
301050
300369
|
enumerable: true,
|
|
301051
300370
|
writable: true,
|
|
301052
300371
|
initializer: null
|
|
301053
|
-
}),
|
|
300372
|
+
}), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, "hiddenGroup", [_dec12], {
|
|
301054
300373
|
configurable: true,
|
|
301055
300374
|
enumerable: true,
|
|
301056
300375
|
writable: true,
|
|
301057
300376
|
initializer: null
|
|
301058
|
-
}),
|
|
300377
|
+
}), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, "empty", [_dec13], {
|
|
301059
300378
|
configurable: true,
|
|
301060
300379
|
enumerable: true,
|
|
301061
300380
|
writable: true,
|
|
301062
300381
|
initializer: null
|
|
301063
|
-
}),
|
|
300382
|
+
}), _descriptor13 = _applyDecoratedDescriptor(_class2.prototype, "width", [_dec14], {
|
|
301064
300383
|
configurable: true,
|
|
301065
300384
|
enumerable: true,
|
|
301066
300385
|
writable: true,
|
|
301067
300386
|
initializer: null
|
|
301068
|
-
}),
|
|
300387
|
+
}), _descriptor14 = _applyDecoratedDescriptor(_class2.prototype, "rowspan", [_dec15], {
|
|
301069
300388
|
configurable: true,
|
|
301070
300389
|
enumerable: true,
|
|
301071
300390
|
writable: true,
|
|
301072
300391
|
initializer: null
|
|
301073
|
-
}),
|
|
300392
|
+
}), _descriptor15 = _applyDecoratedDescriptor(_class2.prototype, "horizontalAlign", [_dec16], {
|
|
301074
300393
|
configurable: true,
|
|
301075
300394
|
enumerable: true,
|
|
301076
300395
|
writable: true,
|
|
301077
300396
|
initializer: null
|
|
301078
|
-
}),
|
|
300397
|
+
}), _descriptor16 = _applyDecoratedDescriptor(_class2.prototype, "requiredempty", [_dec17], {
|
|
301079
300398
|
configurable: true,
|
|
301080
300399
|
enumerable: true,
|
|
301081
300400
|
writable: true,
|
|
301082
300401
|
initializer: null
|
|
301083
|
-
}),
|
|
300402
|
+
}), _descriptor17 = _applyDecoratedDescriptor(_class2.prototype, "indent", [_dec18], {
|
|
301084
300403
|
configurable: true,
|
|
301085
300404
|
enumerable: true,
|
|
301086
300405
|
writable: true,
|
|
301087
300406
|
initializer: null
|
|
301088
|
-
}),
|
|
300407
|
+
}), _descriptor18 = _applyDecoratedDescriptor(_class2.prototype, "grouped", [_dec19], {
|
|
301089
300408
|
configurable: true,
|
|
301090
300409
|
enumerable: true,
|
|
301091
300410
|
writable: true,
|
|
301092
300411
|
initializer: null
|
|
301093
|
-
}),
|
|
300412
|
+
}), _descriptor19 = _applyDecoratedDescriptor(_class2.prototype, "children", [_dec20], {
|
|
301094
300413
|
configurable: true,
|
|
301095
300414
|
enumerable: true,
|
|
301096
300415
|
writable: true,
|
|
301097
300416
|
initializer: null
|
|
301098
300417
|
})), _class2)) || _class);
|
|
301099
|
-
let CrossfitTableRowNode = (
|
|
300418
|
+
let CrossfitTableRowNode = (_dec21 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("row", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/CrossfitTable sync recursive .md$")), _dec22 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("kind", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("head"), `kind="head" - шапка таблицы`), _dec23 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("subkind", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("numbers"), `subkind="numbers" - строка с нумерацией столбцов`), _dec24 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)("column", [CrossfitTableColumnNode]), _dec21(_class4 = (_class5 = class CrossfitTableRowNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
301100
300419
|
constructor(...args) {
|
|
301101
300420
|
super(...args);
|
|
301102
300421
|
|
|
301103
|
-
_initializerDefineProperty(this, "kind",
|
|
300422
|
+
_initializerDefineProperty(this, "kind", _descriptor20, this);
|
|
301104
300423
|
|
|
301105
|
-
_initializerDefineProperty(this, "subkind",
|
|
300424
|
+
_initializerDefineProperty(this, "subkind", _descriptor21, this);
|
|
301106
300425
|
|
|
301107
|
-
_initializerDefineProperty(this, "columns",
|
|
300426
|
+
_initializerDefineProperty(this, "columns", _descriptor22, this);
|
|
301108
300427
|
}
|
|
301109
300428
|
|
|
301110
|
-
}, (
|
|
300429
|
+
}, (_descriptor20 = _applyDecoratedDescriptor(_class5.prototype, "kind", [_dec22], {
|
|
301111
300430
|
configurable: true,
|
|
301112
300431
|
enumerable: true,
|
|
301113
300432
|
writable: true,
|
|
301114
300433
|
initializer: null
|
|
301115
|
-
}),
|
|
300434
|
+
}), _descriptor21 = _applyDecoratedDescriptor(_class5.prototype, "subkind", [_dec23], {
|
|
301116
300435
|
configurable: true,
|
|
301117
300436
|
enumerable: true,
|
|
301118
300437
|
writable: true,
|
|
301119
300438
|
initializer: null
|
|
301120
|
-
}),
|
|
300439
|
+
}), _descriptor22 = _applyDecoratedDescriptor(_class5.prototype, "columns", [_dec24], {
|
|
301121
300440
|
configurable: true,
|
|
301122
300441
|
enumerable: true,
|
|
301123
300442
|
writable: true,
|
|
301124
300443
|
initializer: null
|
|
301125
300444
|
})), _class5)) || _class4);
|
|
301126
|
-
let MultilineNode = (
|
|
300445
|
+
let MultilineNode = (_dec25 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("multiline", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/CrossfitTable sync recursive .md$")), _dec26 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_0__.DataBindingScopeMixinNode), _dec27 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec28 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("defaultChildren", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.arrayLiteral(), ``), _dec29 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.deprecatedAttr)("focusByHotkey", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.InvalidUsage), _dec30 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.deprecatedAttr)("instancesPerPage", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.Removed), _dec31 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.deprecatedAttr)("pageStep", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.InvalidUsage), _dec32 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("removebutton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `false - чтобы слева от раздела не было кнопки "Удалить"`), _dec33 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("rowmenu", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec34 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)("row", [CrossfitTableRowNode]), _dec35 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("addbutton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.localizedString, `Название кнопки при добавлении множественности`), _dec36 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("addType", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("button", "link"), `Добавить строку м.б. как кнопка "button" или ссылка "link"`), _dec37 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("usepager", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `false - без пейджера (1-11, 12-22 - этого нет внизу страницы)`), _dec38 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("storeFilters", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Будут ли сохраняться фильтры для этого мультилайна между обнолениями страницы. По умолчанию -- нет`), _dec25(_class7 = (_class8 = class MultilineNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_2__.SugarNodeWithLegacyVisibility {
|
|
301127
300446
|
constructor(...args) {
|
|
301128
300447
|
super(...args);
|
|
301129
300448
|
|
|
301130
|
-
_initializerDefineProperty(this, "dataScope",
|
|
300449
|
+
_initializerDefineProperty(this, "dataScope", _descriptor23, this);
|
|
301131
300450
|
|
|
301132
|
-
_initializerDefineProperty(this, "optional",
|
|
300451
|
+
_initializerDefineProperty(this, "optional", _descriptor24, this);
|
|
301133
300452
|
|
|
301134
|
-
_initializerDefineProperty(this, "defaultChildren",
|
|
300453
|
+
_initializerDefineProperty(this, "defaultChildren", _descriptor25, this);
|
|
301135
300454
|
|
|
301136
|
-
_initializerDefineProperty(this, "focusByHotkey",
|
|
300455
|
+
_initializerDefineProperty(this, "focusByHotkey", _descriptor26, this);
|
|
301137
300456
|
|
|
301138
|
-
_initializerDefineProperty(this, "instancesPerPage",
|
|
300457
|
+
_initializerDefineProperty(this, "instancesPerPage", _descriptor27, this);
|
|
301139
300458
|
|
|
301140
|
-
_initializerDefineProperty(this, "pageStep",
|
|
300459
|
+
_initializerDefineProperty(this, "pageStep", _descriptor28, this);
|
|
301141
300460
|
|
|
301142
|
-
_initializerDefineProperty(this, "removebutton",
|
|
300461
|
+
_initializerDefineProperty(this, "removebutton", _descriptor29, this);
|
|
301143
300462
|
|
|
301144
|
-
_initializerDefineProperty(this, "rowmenu",
|
|
300463
|
+
_initializerDefineProperty(this, "rowmenu", _descriptor30, this);
|
|
301145
300464
|
|
|
301146
|
-
_initializerDefineProperty(this, "rows",
|
|
300465
|
+
_initializerDefineProperty(this, "rows", _descriptor31, this);
|
|
301147
300466
|
|
|
301148
|
-
_initializerDefineProperty(this, "addbutton",
|
|
300467
|
+
_initializerDefineProperty(this, "addbutton", _descriptor32, this);
|
|
301149
300468
|
|
|
301150
|
-
_initializerDefineProperty(this, "addType",
|
|
300469
|
+
_initializerDefineProperty(this, "addType", _descriptor33, this);
|
|
301151
300470
|
|
|
301152
|
-
_initializerDefineProperty(this, "usepager",
|
|
300471
|
+
_initializerDefineProperty(this, "usepager", _descriptor34, this);
|
|
301153
300472
|
|
|
301154
|
-
_initializerDefineProperty(this, "storeFilters",
|
|
300473
|
+
_initializerDefineProperty(this, "storeFilters", _descriptor35, this);
|
|
301155
300474
|
}
|
|
301156
300475
|
|
|
301157
300476
|
getOwnPath() {
|
|
@@ -301162,219 +300481,219 @@ let MultilineNode = (_dec26 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_M
|
|
|
301162
300481
|
return true;
|
|
301163
300482
|
}
|
|
301164
300483
|
|
|
301165
|
-
}, (
|
|
300484
|
+
}, (_descriptor23 = _applyDecoratedDescriptor(_class8.prototype, "dataScope", [_dec26], {
|
|
301166
300485
|
configurable: true,
|
|
301167
300486
|
enumerable: true,
|
|
301168
300487
|
writable: true,
|
|
301169
300488
|
initializer: null
|
|
301170
|
-
}),
|
|
300489
|
+
}), _descriptor24 = _applyDecoratedDescriptor(_class8.prototype, "optional", [_dec27], {
|
|
301171
300490
|
configurable: true,
|
|
301172
300491
|
enumerable: true,
|
|
301173
300492
|
writable: true,
|
|
301174
300493
|
initializer: null
|
|
301175
|
-
}),
|
|
300494
|
+
}), _descriptor25 = _applyDecoratedDescriptor(_class8.prototype, "defaultChildren", [_dec28], {
|
|
301176
300495
|
configurable: true,
|
|
301177
300496
|
enumerable: true,
|
|
301178
300497
|
writable: true,
|
|
301179
300498
|
initializer: null
|
|
301180
|
-
}),
|
|
300499
|
+
}), _descriptor26 = _applyDecoratedDescriptor(_class8.prototype, "focusByHotkey", [_dec29], {
|
|
301181
300500
|
configurable: true,
|
|
301182
300501
|
enumerable: true,
|
|
301183
300502
|
writable: true,
|
|
301184
300503
|
initializer: null
|
|
301185
|
-
}),
|
|
300504
|
+
}), _descriptor27 = _applyDecoratedDescriptor(_class8.prototype, "instancesPerPage", [_dec30], {
|
|
301186
300505
|
configurable: true,
|
|
301187
300506
|
enumerable: true,
|
|
301188
300507
|
writable: true,
|
|
301189
300508
|
initializer: null
|
|
301190
|
-
}),
|
|
300509
|
+
}), _descriptor28 = _applyDecoratedDescriptor(_class8.prototype, "pageStep", [_dec31], {
|
|
301191
300510
|
configurable: true,
|
|
301192
300511
|
enumerable: true,
|
|
301193
300512
|
writable: true,
|
|
301194
300513
|
initializer: null
|
|
301195
|
-
}),
|
|
300514
|
+
}), _descriptor29 = _applyDecoratedDescriptor(_class8.prototype, "removebutton", [_dec32], {
|
|
301196
300515
|
configurable: true,
|
|
301197
300516
|
enumerable: true,
|
|
301198
300517
|
writable: true,
|
|
301199
300518
|
initializer: null
|
|
301200
|
-
}),
|
|
300519
|
+
}), _descriptor30 = _applyDecoratedDescriptor(_class8.prototype, "rowmenu", [_dec33], {
|
|
301201
300520
|
configurable: true,
|
|
301202
300521
|
enumerable: true,
|
|
301203
300522
|
writable: true,
|
|
301204
300523
|
initializer: null
|
|
301205
|
-
}),
|
|
300524
|
+
}), _descriptor31 = _applyDecoratedDescriptor(_class8.prototype, "rows", [_dec34], {
|
|
301206
300525
|
configurable: true,
|
|
301207
300526
|
enumerable: true,
|
|
301208
300527
|
writable: true,
|
|
301209
300528
|
initializer: null
|
|
301210
|
-
}),
|
|
300529
|
+
}), _descriptor32 = _applyDecoratedDescriptor(_class8.prototype, "addbutton", [_dec35], {
|
|
301211
300530
|
configurable: true,
|
|
301212
300531
|
enumerable: true,
|
|
301213
300532
|
writable: true,
|
|
301214
300533
|
initializer: null
|
|
301215
|
-
}),
|
|
300534
|
+
}), _descriptor33 = _applyDecoratedDescriptor(_class8.prototype, "addType", [_dec36], {
|
|
301216
300535
|
configurable: true,
|
|
301217
300536
|
enumerable: true,
|
|
301218
300537
|
writable: true,
|
|
301219
300538
|
initializer: null
|
|
301220
|
-
}),
|
|
300539
|
+
}), _descriptor34 = _applyDecoratedDescriptor(_class8.prototype, "usepager", [_dec37], {
|
|
301221
300540
|
configurable: true,
|
|
301222
300541
|
enumerable: true,
|
|
301223
300542
|
writable: true,
|
|
301224
300543
|
initializer: null
|
|
301225
|
-
}),
|
|
300544
|
+
}), _descriptor35 = _applyDecoratedDescriptor(_class8.prototype, "storeFilters", [_dec38], {
|
|
301226
300545
|
configurable: true,
|
|
301227
300546
|
enumerable: true,
|
|
301228
300547
|
writable: true,
|
|
301229
300548
|
initializer: null
|
|
301230
300549
|
})), _class8)) || _class7);
|
|
301231
|
-
let CrossfitTableHeaderNode = (
|
|
300550
|
+
let CrossfitTableHeaderNode = (_dec39 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("header", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/CrossfitTable sync recursive .md$")), _dec40 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("align", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("right"), ``), _dec41 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)(), _dec39(_class10 = (_class11 = class CrossfitTableHeaderNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
301232
300551
|
constructor(...args) {
|
|
301233
300552
|
super(...args);
|
|
301234
300553
|
|
|
301235
|
-
_initializerDefineProperty(this, "align",
|
|
300554
|
+
_initializerDefineProperty(this, "align", _descriptor36, this);
|
|
301236
300555
|
|
|
301237
|
-
_initializerDefineProperty(this, "children",
|
|
300556
|
+
_initializerDefineProperty(this, "children", _descriptor37, this);
|
|
301238
300557
|
}
|
|
301239
300558
|
|
|
301240
|
-
}, (
|
|
300559
|
+
}, (_descriptor36 = _applyDecoratedDescriptor(_class11.prototype, "align", [_dec40], {
|
|
301241
300560
|
configurable: true,
|
|
301242
300561
|
enumerable: true,
|
|
301243
300562
|
writable: true,
|
|
301244
300563
|
initializer: null
|
|
301245
|
-
}),
|
|
300564
|
+
}), _descriptor37 = _applyDecoratedDescriptor(_class11.prototype, "children", [_dec41], {
|
|
301246
300565
|
configurable: true,
|
|
301247
300566
|
enumerable: true,
|
|
301248
300567
|
writable: true,
|
|
301249
300568
|
initializer: null
|
|
301250
300569
|
})), _class11)) || _class10);
|
|
301251
|
-
let FilterInfoNode = (
|
|
300570
|
+
let FilterInfoNode = (_dec42 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("filterinfo", `path - путь до multiline, по которому фильтруем`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/CrossfitTable sync recursive .md$")), _dec43 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_0__.DataReferenceMixinNode), _dec44 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("multilinePath", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, ``), _dec45 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, `путь до multiline, по которому фильтруем`), _dec46 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("titles", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.stringArray, `массив строк для склонения единицы поиска (для корректного вывода с количеством найденных)`), _dec47 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("notFoundText", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.localizedString, ` текст, который будет выводится, если после фильтрации ничего не найдено`), _dec42(_class13 = (_class14 = class FilterInfoNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
301252
300571
|
constructor(...args) {
|
|
301253
300572
|
super(...args);
|
|
301254
300573
|
|
|
301255
|
-
_initializerDefineProperty(this, "dataReference",
|
|
300574
|
+
_initializerDefineProperty(this, "dataReference", _descriptor38, this);
|
|
301256
300575
|
|
|
301257
|
-
_initializerDefineProperty(this, "multilinePath",
|
|
300576
|
+
_initializerDefineProperty(this, "multilinePath", _descriptor39, this);
|
|
301258
300577
|
|
|
301259
|
-
_initializerDefineProperty(this, "path",
|
|
300578
|
+
_initializerDefineProperty(this, "path", _descriptor40, this);
|
|
301260
300579
|
|
|
301261
|
-
_initializerDefineProperty(this, "titles",
|
|
300580
|
+
_initializerDefineProperty(this, "titles", _descriptor41, this);
|
|
301262
300581
|
|
|
301263
|
-
_initializerDefineProperty(this, "notFoundText",
|
|
300582
|
+
_initializerDefineProperty(this, "notFoundText", _descriptor42, this);
|
|
301264
300583
|
}
|
|
301265
300584
|
|
|
301266
300585
|
getOwnPath() {
|
|
301267
300586
|
return this.dataReference.getOwnPath();
|
|
301268
300587
|
}
|
|
301269
300588
|
|
|
301270
|
-
}, (
|
|
300589
|
+
}, (_descriptor38 = _applyDecoratedDescriptor(_class14.prototype, "dataReference", [_dec43], {
|
|
301271
300590
|
configurable: true,
|
|
301272
300591
|
enumerable: true,
|
|
301273
300592
|
writable: true,
|
|
301274
300593
|
initializer: null
|
|
301275
|
-
}),
|
|
300594
|
+
}), _descriptor39 = _applyDecoratedDescriptor(_class14.prototype, "multilinePath", [_dec44], {
|
|
301276
300595
|
configurable: true,
|
|
301277
300596
|
enumerable: true,
|
|
301278
300597
|
writable: true,
|
|
301279
300598
|
initializer: null
|
|
301280
|
-
}),
|
|
300599
|
+
}), _descriptor40 = _applyDecoratedDescriptor(_class14.prototype, "path", [_dec45], {
|
|
301281
300600
|
configurable: true,
|
|
301282
300601
|
enumerable: true,
|
|
301283
300602
|
writable: true,
|
|
301284
300603
|
initializer: null
|
|
301285
|
-
}),
|
|
300604
|
+
}), _descriptor41 = _applyDecoratedDescriptor(_class14.prototype, "titles", [_dec46], {
|
|
301286
300605
|
configurable: true,
|
|
301287
300606
|
enumerable: true,
|
|
301288
300607
|
writable: true,
|
|
301289
300608
|
initializer: null
|
|
301290
|
-
}),
|
|
300609
|
+
}), _descriptor42 = _applyDecoratedDescriptor(_class14.prototype, "notFoundText", [_dec47], {
|
|
301291
300610
|
configurable: true,
|
|
301292
300611
|
enumerable: true,
|
|
301293
300612
|
writable: true,
|
|
301294
300613
|
initializer: null
|
|
301295
300614
|
})), _class14)) || _class13);
|
|
301296
|
-
let CrossfitTableFooterNode = (
|
|
300615
|
+
let CrossfitTableFooterNode = (_dec48 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("footer", ``), _dec49 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)(), _dec48(_class16 = (_class17 = class CrossfitTableFooterNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
301297
300616
|
constructor(...args) {
|
|
301298
300617
|
super(...args);
|
|
301299
300618
|
|
|
301300
|
-
_initializerDefineProperty(this, "children",
|
|
300619
|
+
_initializerDefineProperty(this, "children", _descriptor43, this);
|
|
301301
300620
|
}
|
|
301302
300621
|
|
|
301303
|
-
}, (
|
|
300622
|
+
}, (_descriptor43 = _applyDecoratedDescriptor(_class17.prototype, "children", [_dec49], {
|
|
301304
300623
|
configurable: true,
|
|
301305
300624
|
enumerable: true,
|
|
301306
300625
|
writable: true,
|
|
301307
300626
|
initializer: null
|
|
301308
300627
|
})), _class17)) || _class16);
|
|
301309
|
-
let CrossfitTableColgroupColumnNode = (
|
|
300628
|
+
let CrossfitTableColgroupColumnNode = (_dec50 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("col", ``), _dec51 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.lengthUnit, ``), _dec50(_class19 = (_class20 = class CrossfitTableColgroupColumnNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
301310
300629
|
constructor(...args) {
|
|
301311
300630
|
super(...args);
|
|
301312
300631
|
|
|
301313
|
-
_initializerDefineProperty(this, "width",
|
|
300632
|
+
_initializerDefineProperty(this, "width", _descriptor44, this);
|
|
301314
300633
|
}
|
|
301315
300634
|
|
|
301316
|
-
}, (
|
|
300635
|
+
}, (_descriptor44 = _applyDecoratedDescriptor(_class20.prototype, "width", [_dec51], {
|
|
301317
300636
|
configurable: true,
|
|
301318
300637
|
enumerable: true,
|
|
301319
300638
|
writable: true,
|
|
301320
300639
|
initializer: null
|
|
301321
300640
|
})), _class20)) || _class19);
|
|
301322
|
-
let CrossfitTableColgroupNode = (
|
|
300641
|
+
let CrossfitTableColgroupNode = (_dec52 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("colgroup", ``), _dec53 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)("col", [CrossfitTableColgroupColumnNode]), _dec52(_class22 = (_class23 = class CrossfitTableColgroupNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
301323
300642
|
constructor(...args) {
|
|
301324
300643
|
super(...args);
|
|
301325
300644
|
|
|
301326
|
-
_initializerDefineProperty(this, "cols",
|
|
300645
|
+
_initializerDefineProperty(this, "cols", _descriptor45, this);
|
|
301327
300646
|
}
|
|
301328
300647
|
|
|
301329
|
-
}, (
|
|
300648
|
+
}, (_descriptor45 = _applyDecoratedDescriptor(_class23.prototype, "cols", [_dec53], {
|
|
301330
300649
|
configurable: true,
|
|
301331
300650
|
enumerable: true,
|
|
301332
300651
|
writable: true,
|
|
301333
300652
|
initializer: null
|
|
301334
300653
|
})), _class23)) || _class22);
|
|
301335
|
-
let CrossfitTableNode = (
|
|
300654
|
+
let CrossfitTableNode = (_dec54 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("table", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/CrossfitTable sync recursive .md$"), x => x.boolAttr("crossfit")), _dec55 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.bindingPath, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_4__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_4__.bindingPathLink)} данного элемента. Опционально, если не указан, то будет отображаться текст заданный внутри данного элемента`), _dec56 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `необязательность`), _dec57 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.deprecatedAttr)("offsetBottom", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.InvalidUsage), _dec58 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("grayColumn", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, ``), _dec59 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("sidebar", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec60 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("crossfit", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec61 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("side", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, ``), _dec62 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("rowmenu", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec63 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("removebutton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `\"false\" - чтобы слева от раздела не было кнопки "Удалить"`), _dec64 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("sticky", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, ``), _dec65 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("doNotCopyPaths", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.stringArray, ``), _dec66 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)(["row", "multiline"], [CrossfitTableRowNode, MultilineNode]), _dec67 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.singleChild)("header", [CrossfitTableHeaderNode]), _dec68 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.singleChild)("colgroup", [CrossfitTableColgroupNode]), _dec69 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.singleChild)("filterinfo", [FilterInfoNode]), _dec70 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("loader", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.localizedString, ``), _dec71 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("align", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum("baseline", "top"), ``), _dec72 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("columnGrouping", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.object, ``), _dec73 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("hiddenGroups", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.object, ``), _dec74 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.singleChild)("footer", [CrossfitTableFooterNode]), _dec54(_class25 = (_class26 = class CrossfitTableNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_2__.SugarNodeWithLegacyVisibility {
|
|
301336
300655
|
constructor(...args) {
|
|
301337
300656
|
super(...args);
|
|
301338
300657
|
|
|
301339
|
-
_initializerDefineProperty(this, "path",
|
|
300658
|
+
_initializerDefineProperty(this, "path", _descriptor46, this);
|
|
301340
300659
|
|
|
301341
|
-
_initializerDefineProperty(this, "optional",
|
|
300660
|
+
_initializerDefineProperty(this, "optional", _descriptor47, this);
|
|
301342
300661
|
|
|
301343
|
-
_initializerDefineProperty(this, "offsetBottom",
|
|
300662
|
+
_initializerDefineProperty(this, "offsetBottom", _descriptor48, this);
|
|
301344
300663
|
|
|
301345
|
-
_initializerDefineProperty(this, "grayColumn",
|
|
300664
|
+
_initializerDefineProperty(this, "grayColumn", _descriptor49, this);
|
|
301346
300665
|
|
|
301347
|
-
_initializerDefineProperty(this, "sidebar",
|
|
300666
|
+
_initializerDefineProperty(this, "sidebar", _descriptor50, this);
|
|
301348
300667
|
|
|
301349
|
-
_initializerDefineProperty(this, "crossfit",
|
|
300668
|
+
_initializerDefineProperty(this, "crossfit", _descriptor51, this);
|
|
301350
300669
|
|
|
301351
|
-
_initializerDefineProperty(this, "side",
|
|
300670
|
+
_initializerDefineProperty(this, "side", _descriptor52, this);
|
|
301352
300671
|
|
|
301353
|
-
_initializerDefineProperty(this, "rowmenu",
|
|
300672
|
+
_initializerDefineProperty(this, "rowmenu", _descriptor53, this);
|
|
301354
300673
|
|
|
301355
|
-
_initializerDefineProperty(this, "removebutton",
|
|
300674
|
+
_initializerDefineProperty(this, "removebutton", _descriptor54, this);
|
|
301356
300675
|
|
|
301357
|
-
_initializerDefineProperty(this, "sticky",
|
|
300676
|
+
_initializerDefineProperty(this, "sticky", _descriptor55, this);
|
|
301358
300677
|
|
|
301359
|
-
_initializerDefineProperty(this, "doNotCopyPaths",
|
|
300678
|
+
_initializerDefineProperty(this, "doNotCopyPaths", _descriptor56, this);
|
|
301360
300679
|
|
|
301361
|
-
_initializerDefineProperty(this, "rows",
|
|
300680
|
+
_initializerDefineProperty(this, "rows", _descriptor57, this);
|
|
301362
300681
|
|
|
301363
|
-
_initializerDefineProperty(this, "header",
|
|
300682
|
+
_initializerDefineProperty(this, "header", _descriptor58, this);
|
|
301364
300683
|
|
|
301365
|
-
_initializerDefineProperty(this, "colgroup",
|
|
300684
|
+
_initializerDefineProperty(this, "colgroup", _descriptor59, this);
|
|
301366
300685
|
|
|
301367
|
-
_initializerDefineProperty(this, "filterinfo",
|
|
300686
|
+
_initializerDefineProperty(this, "filterinfo", _descriptor60, this);
|
|
301368
300687
|
|
|
301369
|
-
_initializerDefineProperty(this, "loader",
|
|
300688
|
+
_initializerDefineProperty(this, "loader", _descriptor61, this);
|
|
301370
300689
|
|
|
301371
|
-
_initializerDefineProperty(this, "align",
|
|
300690
|
+
_initializerDefineProperty(this, "align", _descriptor62, this);
|
|
301372
300691
|
|
|
301373
|
-
_initializerDefineProperty(this, "columnGrouping",
|
|
300692
|
+
_initializerDefineProperty(this, "columnGrouping", _descriptor63, this);
|
|
301374
300693
|
|
|
301375
|
-
_initializerDefineProperty(this, "hiddenGroups",
|
|
300694
|
+
_initializerDefineProperty(this, "hiddenGroups", _descriptor64, this);
|
|
301376
300695
|
|
|
301377
|
-
_initializerDefineProperty(this, "footer",
|
|
300696
|
+
_initializerDefineProperty(this, "footer", _descriptor65, this);
|
|
301378
300697
|
}
|
|
301379
300698
|
|
|
301380
300699
|
getOwnPath() {
|
|
@@ -301407,102 +300726,102 @@ let CrossfitTableNode = (_dec55 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORT
|
|
|
301407
300726
|
return (_this$sticky = this.sticky) !== null && _this$sticky !== void 0 ? _this$sticky : true;
|
|
301408
300727
|
}
|
|
301409
300728
|
|
|
301410
|
-
}, (
|
|
300729
|
+
}, (_descriptor46 = _applyDecoratedDescriptor(_class26.prototype, "path", [_dec55], {
|
|
301411
300730
|
configurable: true,
|
|
301412
300731
|
enumerable: true,
|
|
301413
300732
|
writable: true,
|
|
301414
300733
|
initializer: null
|
|
301415
|
-
}),
|
|
300734
|
+
}), _descriptor47 = _applyDecoratedDescriptor(_class26.prototype, "optional", [_dec56], {
|
|
301416
300735
|
configurable: true,
|
|
301417
300736
|
enumerable: true,
|
|
301418
300737
|
writable: true,
|
|
301419
300738
|
initializer: null
|
|
301420
|
-
}),
|
|
300739
|
+
}), _descriptor48 = _applyDecoratedDescriptor(_class26.prototype, "offsetBottom", [_dec57], {
|
|
301421
300740
|
configurable: true,
|
|
301422
300741
|
enumerable: true,
|
|
301423
300742
|
writable: true,
|
|
301424
300743
|
initializer: null
|
|
301425
|
-
}),
|
|
300744
|
+
}), _descriptor49 = _applyDecoratedDescriptor(_class26.prototype, "grayColumn", [_dec58], {
|
|
301426
300745
|
configurable: true,
|
|
301427
300746
|
enumerable: true,
|
|
301428
300747
|
writable: true,
|
|
301429
300748
|
initializer: null
|
|
301430
|
-
}),
|
|
300749
|
+
}), _descriptor50 = _applyDecoratedDescriptor(_class26.prototype, "sidebar", [_dec59], {
|
|
301431
300750
|
configurable: true,
|
|
301432
300751
|
enumerable: true,
|
|
301433
300752
|
writable: true,
|
|
301434
300753
|
initializer: null
|
|
301435
|
-
}),
|
|
300754
|
+
}), _descriptor51 = _applyDecoratedDescriptor(_class26.prototype, "crossfit", [_dec60], {
|
|
301436
300755
|
configurable: true,
|
|
301437
300756
|
enumerable: true,
|
|
301438
300757
|
writable: true,
|
|
301439
300758
|
initializer: null
|
|
301440
|
-
}),
|
|
300759
|
+
}), _descriptor52 = _applyDecoratedDescriptor(_class26.prototype, "side", [_dec61], {
|
|
301441
300760
|
configurable: true,
|
|
301442
300761
|
enumerable: true,
|
|
301443
300762
|
writable: true,
|
|
301444
300763
|
initializer: null
|
|
301445
|
-
}),
|
|
300764
|
+
}), _descriptor53 = _applyDecoratedDescriptor(_class26.prototype, "rowmenu", [_dec62], {
|
|
301446
300765
|
configurable: true,
|
|
301447
300766
|
enumerable: true,
|
|
301448
300767
|
writable: true,
|
|
301449
300768
|
initializer: null
|
|
301450
|
-
}),
|
|
300769
|
+
}), _descriptor54 = _applyDecoratedDescriptor(_class26.prototype, "removebutton", [_dec63], {
|
|
301451
300770
|
configurable: true,
|
|
301452
300771
|
enumerable: true,
|
|
301453
300772
|
writable: true,
|
|
301454
300773
|
initializer: null
|
|
301455
|
-
}),
|
|
300774
|
+
}), _descriptor55 = _applyDecoratedDescriptor(_class26.prototype, "sticky", [_dec64], {
|
|
301456
300775
|
configurable: true,
|
|
301457
300776
|
enumerable: true,
|
|
301458
300777
|
writable: true,
|
|
301459
300778
|
initializer: null
|
|
301460
|
-
}),
|
|
300779
|
+
}), _descriptor56 = _applyDecoratedDescriptor(_class26.prototype, "doNotCopyPaths", [_dec65], {
|
|
301461
300780
|
configurable: true,
|
|
301462
300781
|
enumerable: true,
|
|
301463
300782
|
writable: true,
|
|
301464
300783
|
initializer: null
|
|
301465
|
-
}),
|
|
300784
|
+
}), _descriptor57 = _applyDecoratedDescriptor(_class26.prototype, "rows", [_dec66], {
|
|
301466
300785
|
configurable: true,
|
|
301467
300786
|
enumerable: true,
|
|
301468
300787
|
writable: true,
|
|
301469
300788
|
initializer: null
|
|
301470
|
-
}),
|
|
300789
|
+
}), _descriptor58 = _applyDecoratedDescriptor(_class26.prototype, "header", [_dec67], {
|
|
301471
300790
|
configurable: true,
|
|
301472
300791
|
enumerable: true,
|
|
301473
300792
|
writable: true,
|
|
301474
300793
|
initializer: null
|
|
301475
|
-
}),
|
|
300794
|
+
}), _descriptor59 = _applyDecoratedDescriptor(_class26.prototype, "colgroup", [_dec68], {
|
|
301476
300795
|
configurable: true,
|
|
301477
300796
|
enumerable: true,
|
|
301478
300797
|
writable: true,
|
|
301479
300798
|
initializer: null
|
|
301480
|
-
}),
|
|
300799
|
+
}), _descriptor60 = _applyDecoratedDescriptor(_class26.prototype, "filterinfo", [_dec69], {
|
|
301481
300800
|
configurable: true,
|
|
301482
300801
|
enumerable: true,
|
|
301483
300802
|
writable: true,
|
|
301484
300803
|
initializer: null
|
|
301485
|
-
}),
|
|
300804
|
+
}), _descriptor61 = _applyDecoratedDescriptor(_class26.prototype, "loader", [_dec70], {
|
|
301486
300805
|
configurable: true,
|
|
301487
300806
|
enumerable: true,
|
|
301488
300807
|
writable: true,
|
|
301489
300808
|
initializer: null
|
|
301490
|
-
}),
|
|
300809
|
+
}), _descriptor62 = _applyDecoratedDescriptor(_class26.prototype, "align", [_dec71], {
|
|
301491
300810
|
configurable: true,
|
|
301492
300811
|
enumerable: true,
|
|
301493
300812
|
writable: true,
|
|
301494
300813
|
initializer: null
|
|
301495
|
-
}),
|
|
300814
|
+
}), _descriptor63 = _applyDecoratedDescriptor(_class26.prototype, "columnGrouping", [_dec72], {
|
|
301496
300815
|
configurable: true,
|
|
301497
300816
|
enumerable: true,
|
|
301498
300817
|
writable: true,
|
|
301499
300818
|
initializer: null
|
|
301500
|
-
}),
|
|
300819
|
+
}), _descriptor64 = _applyDecoratedDescriptor(_class26.prototype, "hiddenGroups", [_dec73], {
|
|
301501
300820
|
configurable: true,
|
|
301502
300821
|
enumerable: true,
|
|
301503
300822
|
writable: true,
|
|
301504
300823
|
initializer: null
|
|
301505
|
-
}),
|
|
300824
|
+
}), _descriptor65 = _applyDecoratedDescriptor(_class26.prototype, "footer", [_dec74], {
|
|
301506
300825
|
configurable: true,
|
|
301507
300826
|
enumerable: true,
|
|
301508
300827
|
writable: true,
|
|
@@ -302884,7 +302203,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
302884
302203
|
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
302885
302204
|
/* harmony import */ var _Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../Commons/DocumentationLinks */ "./Generator/src/generators/markupGenerator/ElementProcessors/Commons/DocumentationLinks.ts");
|
|
302886
302205
|
/* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
|
|
302887
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17,
|
|
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, _dec18, _dec19, _dec20, _class4, _class5, _descriptor17, _descriptor18, _dec21, _dec22, _dec23, _dec24, _dec25, _dec26, _dec27, _dec28, _dec29, _dec30, _dec31, _dec32, _dec33, _dec34, _dec35, _dec36, _dec37, _dec38, _dec39, _dec40, _dec41, _class7, _class8, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _descriptor36, _descriptor37, _descriptor38, _dec42, _dec43, _dec44, _dec45, _dec46, _dec47, _dec48, _class10, _class11, _descriptor39, _descriptor40, _descriptor41, _descriptor42, _descriptor43, _descriptor44, _dec49, _dec50, _dec51, _class13, _class14, _descriptor45, _descriptor46, _dec52, _dec53, _dec54, _class16, _class17, _descriptor47, _descriptor48, _dec55, _dec56, _class19, _class20, _descriptor49, _dec57, _dec58, _class22, _class23, _descriptor50, _dec59, _dec60, _dec61, _dec62, _dec63, _dec64, _dec65, _dec66, _dec67, _dec68, _dec69, _dec70, _dec71, _dec72, _dec73, _dec74, _dec75, _dec76, _class25, _class26, _descriptor51, _descriptor52, _descriptor53, _descriptor54, _descriptor55, _descriptor56, _descriptor57, _descriptor58, _descriptor59, _descriptor60, _descriptor61, _descriptor62, _descriptor63, _descriptor64, _descriptor65, _descriptor66, _descriptor67;
|
|
302888
302207
|
|
|
302889
302208
|
function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }
|
|
302890
302209
|
|
|
@@ -302899,7 +302218,7 @@ function _initializerWarningHelper(descriptor, context) { throw new Error('Decor
|
|
|
302899
302218
|
|
|
302900
302219
|
|
|
302901
302220
|
|
|
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)("
|
|
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, ``), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("titles", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.array(_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string), ``), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("colspan", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.number, ``), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("empty", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.lengthUnit, ``), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("rowspan", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.number, ``), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("textalign", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.InvalidUsage), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("horizontalAlign", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("center", "left", "right"), ``), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("paddingTop", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.lengthUnit, ``), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("requiredempty", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("indent", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("1", "2", "3", "4", "5", "6"), ``), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("textTopPadding", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)(), _dec(_class = (_class2 = class StickyTableColumnNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.SugarNodeBase {
|
|
302903
302222
|
constructor(...args) {
|
|
302904
302223
|
super(...args);
|
|
302905
302224
|
|
|
@@ -302909,33 +302228,31 @@ let StickyTableColumnNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPO
|
|
|
302909
302228
|
|
|
302910
302229
|
_initializerDefineProperty(this, "disabled", _descriptor3, this);
|
|
302911
302230
|
|
|
302912
|
-
_initializerDefineProperty(this, "
|
|
302913
|
-
|
|
302914
|
-
_initializerDefineProperty(this, "hintOnAdd", _descriptor5, this);
|
|
302231
|
+
_initializerDefineProperty(this, "hintOnAdd", _descriptor4, this);
|
|
302915
302232
|
|
|
302916
|
-
_initializerDefineProperty(this, "titles",
|
|
302233
|
+
_initializerDefineProperty(this, "titles", _descriptor5, this);
|
|
302917
302234
|
|
|
302918
|
-
_initializerDefineProperty(this, "colspan",
|
|
302235
|
+
_initializerDefineProperty(this, "colspan", _descriptor6, this);
|
|
302919
302236
|
|
|
302920
|
-
_initializerDefineProperty(this, "empty",
|
|
302237
|
+
_initializerDefineProperty(this, "empty", _descriptor7, this);
|
|
302921
302238
|
|
|
302922
|
-
_initializerDefineProperty(this, "width",
|
|
302239
|
+
_initializerDefineProperty(this, "width", _descriptor8, this);
|
|
302923
302240
|
|
|
302924
|
-
_initializerDefineProperty(this, "rowspan",
|
|
302241
|
+
_initializerDefineProperty(this, "rowspan", _descriptor9, this);
|
|
302925
302242
|
|
|
302926
|
-
_initializerDefineProperty(this, "textalign",
|
|
302243
|
+
_initializerDefineProperty(this, "textalign", _descriptor10, this);
|
|
302927
302244
|
|
|
302928
|
-
_initializerDefineProperty(this, "horizontalAlign",
|
|
302245
|
+
_initializerDefineProperty(this, "horizontalAlign", _descriptor11, this);
|
|
302929
302246
|
|
|
302930
|
-
_initializerDefineProperty(this, "paddingTop",
|
|
302247
|
+
_initializerDefineProperty(this, "paddingTop", _descriptor12, this);
|
|
302931
302248
|
|
|
302932
|
-
_initializerDefineProperty(this, "requiredempty",
|
|
302249
|
+
_initializerDefineProperty(this, "requiredempty", _descriptor13, this);
|
|
302933
302250
|
|
|
302934
|
-
_initializerDefineProperty(this, "indent",
|
|
302251
|
+
_initializerDefineProperty(this, "indent", _descriptor14, this);
|
|
302935
302252
|
|
|
302936
|
-
_initializerDefineProperty(this, "textTopPadding",
|
|
302253
|
+
_initializerDefineProperty(this, "textTopPadding", _descriptor15, this);
|
|
302937
302254
|
|
|
302938
|
-
_initializerDefineProperty(this, "children",
|
|
302255
|
+
_initializerDefineProperty(this, "children", _descriptor16, this);
|
|
302939
302256
|
}
|
|
302940
302257
|
|
|
302941
302258
|
getOwnPath() {
|
|
@@ -302963,140 +302280,135 @@ let StickyTableColumnNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPO
|
|
|
302963
302280
|
enumerable: true,
|
|
302964
302281
|
writable: true,
|
|
302965
302282
|
initializer: null
|
|
302966
|
-
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
302283
|
+
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "hintOnAdd", [_dec5], {
|
|
302967
302284
|
configurable: true,
|
|
302968
302285
|
enumerable: true,
|
|
302969
302286
|
writable: true,
|
|
302970
302287
|
initializer: null
|
|
302971
|
-
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
302288
|
+
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "titles", [_dec6], {
|
|
302972
302289
|
configurable: true,
|
|
302973
302290
|
enumerable: true,
|
|
302974
302291
|
writable: true,
|
|
302975
302292
|
initializer: null
|
|
302976
|
-
}), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
302293
|
+
}), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "colspan", [_dec7], {
|
|
302977
302294
|
configurable: true,
|
|
302978
302295
|
enumerable: true,
|
|
302979
302296
|
writable: true,
|
|
302980
302297
|
initializer: null
|
|
302981
|
-
}), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
302298
|
+
}), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, "empty", [_dec8], {
|
|
302982
302299
|
configurable: true,
|
|
302983
302300
|
enumerable: true,
|
|
302984
302301
|
writable: true,
|
|
302985
302302
|
initializer: null
|
|
302986
|
-
}), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
302987
|
-
configurable: true,
|
|
302988
|
-
enumerable: true,
|
|
302989
|
-
writable: true,
|
|
302990
|
-
initializer: null
|
|
302991
|
-
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "width", [_dec10], {
|
|
302303
|
+
}), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "width", [_dec9], {
|
|
302992
302304
|
configurable: true,
|
|
302993
302305
|
enumerable: true,
|
|
302994
302306
|
writable: true,
|
|
302995
302307
|
initializer: null
|
|
302996
|
-
}),
|
|
302308
|
+
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "rowspan", [_dec10], {
|
|
302997
302309
|
configurable: true,
|
|
302998
302310
|
enumerable: true,
|
|
302999
302311
|
writable: true,
|
|
303000
302312
|
initializer: null
|
|
303001
|
-
}),
|
|
302313
|
+
}), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, "textalign", [_dec11], {
|
|
303002
302314
|
configurable: true,
|
|
303003
302315
|
enumerable: true,
|
|
303004
302316
|
writable: true,
|
|
303005
302317
|
initializer: null
|
|
303006
|
-
}),
|
|
302318
|
+
}), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, "horizontalAlign", [_dec12], {
|
|
303007
302319
|
configurable: true,
|
|
303008
302320
|
enumerable: true,
|
|
303009
302321
|
writable: true,
|
|
303010
302322
|
initializer: null
|
|
303011
|
-
}),
|
|
302323
|
+
}), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, "paddingTop", [_dec13], {
|
|
303012
302324
|
configurable: true,
|
|
303013
302325
|
enumerable: true,
|
|
303014
302326
|
writable: true,
|
|
303015
302327
|
initializer: null
|
|
303016
|
-
}),
|
|
302328
|
+
}), _descriptor13 = _applyDecoratedDescriptor(_class2.prototype, "requiredempty", [_dec14], {
|
|
303017
302329
|
configurable: true,
|
|
303018
302330
|
enumerable: true,
|
|
303019
302331
|
writable: true,
|
|
303020
302332
|
initializer: null
|
|
303021
|
-
}),
|
|
302333
|
+
}), _descriptor14 = _applyDecoratedDescriptor(_class2.prototype, "indent", [_dec15], {
|
|
303022
302334
|
configurable: true,
|
|
303023
302335
|
enumerable: true,
|
|
303024
302336
|
writable: true,
|
|
303025
302337
|
initializer: null
|
|
303026
|
-
}),
|
|
302338
|
+
}), _descriptor15 = _applyDecoratedDescriptor(_class2.prototype, "textTopPadding", [_dec16], {
|
|
303027
302339
|
configurable: true,
|
|
303028
302340
|
enumerable: true,
|
|
303029
302341
|
writable: true,
|
|
303030
302342
|
initializer: null
|
|
303031
|
-
}),
|
|
302343
|
+
}), _descriptor16 = _applyDecoratedDescriptor(_class2.prototype, "children", [_dec17], {
|
|
303032
302344
|
configurable: true,
|
|
303033
302345
|
enumerable: true,
|
|
303034
302346
|
writable: true,
|
|
303035
302347
|
initializer: null
|
|
303036
302348
|
})), _class2)) || _class);
|
|
303037
|
-
let StickyTableMultilineRowNode = (
|
|
302349
|
+
let StickyTableMultilineRowNode = (_dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("row", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/StickyTable sync recursive .md$")), _dec19 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)("column", [StickyTableColumnNode]), _dec20 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("borderBottom", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Серая черта под строкой`), _dec18(_class4 = (_class5 = class StickyTableMultilineRowNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.SugarNodeBase {
|
|
303038
302350
|
constructor(...args) {
|
|
303039
302351
|
super(...args);
|
|
303040
302352
|
|
|
303041
|
-
_initializerDefineProperty(this, "columns",
|
|
302353
|
+
_initializerDefineProperty(this, "columns", _descriptor17, this);
|
|
303042
302354
|
|
|
303043
|
-
_initializerDefineProperty(this, "borderBottom",
|
|
302355
|
+
_initializerDefineProperty(this, "borderBottom", _descriptor18, this);
|
|
303044
302356
|
}
|
|
303045
302357
|
|
|
303046
|
-
}, (
|
|
302358
|
+
}, (_descriptor17 = _applyDecoratedDescriptor(_class5.prototype, "columns", [_dec19], {
|
|
303047
302359
|
configurable: true,
|
|
303048
302360
|
enumerable: true,
|
|
303049
302361
|
writable: true,
|
|
303050
302362
|
initializer: null
|
|
303051
|
-
}),
|
|
302363
|
+
}), _descriptor18 = _applyDecoratedDescriptor(_class5.prototype, "borderBottom", [_dec20], {
|
|
303052
302364
|
configurable: true,
|
|
303053
302365
|
enumerable: true,
|
|
303054
302366
|
writable: true,
|
|
303055
302367
|
initializer: null
|
|
303056
302368
|
})), _class5)) || _class4);
|
|
303057
|
-
let StickyTableMultilineNode = (
|
|
302369
|
+
let StickyTableMultilineNode = (_dec21 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("multiline", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/StickyTable sync recursive .md$")), _dec22 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.bindingPath, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.bindingPathLink)} данного элемента. Опционально, если не указан, то будет оторажаться текст заданный внутри данного элемента`), _dec23 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("instancesPerPage", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.Removed), _dec24 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec25 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("defaultChildren", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.arrayLiteral(), ``), _dec26 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("removebutton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `\"false\" - крестики не рисовать`), _dec27 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("rowmenu", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec28 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("className", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.Removed), _dec29 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("customProperty", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.UntypedUsage), _dec30 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("addButtonText", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.InvalidUsage), _dec31 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("offsetLeft", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.InvalidUsage), _dec32 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("offsetTop", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__.DeprecationReason.InvalidUsage), _dec33 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("focusByHotkey", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Если добавишь больше 90 строк, то пейджер сворачивается и по focusByHotkey можно сфокусироваться`), _dec34 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)("row", [StickyTableMultilineRowNode]), _dec35 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("addbutton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString, `\"false\" - не нужна кнопка для добавления множественного блока`), _dec36 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("doNotCopyPaths", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.stringArray, ``), _dec37 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("addType", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString, ``), _dec38 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("usepager", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `\"false\" - без пейджера (1-11, 12-22 - этого нет внизу страницы)`), _dec39 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("show-row-border", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec40 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("override", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.customControl, ``), _dec41 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("storeFilters", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Будут ли сохраняться фильтры для этого мультилайна между обнолениями страницы. По умолчанию -- нет`), _dec21(_class7 = (_class8 = class StickyTableMultilineNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_3__.SugarNodeWithLegacyVisibility {
|
|
303058
302370
|
constructor(...args) {
|
|
303059
302371
|
super(...args);
|
|
303060
302372
|
|
|
303061
|
-
_initializerDefineProperty(this, "path",
|
|
302373
|
+
_initializerDefineProperty(this, "path", _descriptor19, this);
|
|
303062
302374
|
|
|
303063
|
-
_initializerDefineProperty(this, "instancesPerPage",
|
|
302375
|
+
_initializerDefineProperty(this, "instancesPerPage", _descriptor20, this);
|
|
303064
302376
|
|
|
303065
|
-
_initializerDefineProperty(this, "optional",
|
|
302377
|
+
_initializerDefineProperty(this, "optional", _descriptor21, this);
|
|
303066
302378
|
|
|
303067
|
-
_initializerDefineProperty(this, "defaultChildren",
|
|
302379
|
+
_initializerDefineProperty(this, "defaultChildren", _descriptor22, this);
|
|
303068
302380
|
|
|
303069
|
-
_initializerDefineProperty(this, "removebutton",
|
|
302381
|
+
_initializerDefineProperty(this, "removebutton", _descriptor23, this);
|
|
303070
302382
|
|
|
303071
|
-
_initializerDefineProperty(this, "rowmenu",
|
|
302383
|
+
_initializerDefineProperty(this, "rowmenu", _descriptor24, this);
|
|
303072
302384
|
|
|
303073
|
-
_initializerDefineProperty(this, "className",
|
|
302385
|
+
_initializerDefineProperty(this, "className", _descriptor25, this);
|
|
303074
302386
|
|
|
303075
|
-
_initializerDefineProperty(this, "customProperty",
|
|
302387
|
+
_initializerDefineProperty(this, "customProperty", _descriptor26, this);
|
|
303076
302388
|
|
|
303077
|
-
_initializerDefineProperty(this, "addButtonText",
|
|
302389
|
+
_initializerDefineProperty(this, "addButtonText", _descriptor27, this);
|
|
303078
302390
|
|
|
303079
|
-
_initializerDefineProperty(this, "offsetLeft",
|
|
302391
|
+
_initializerDefineProperty(this, "offsetLeft", _descriptor28, this);
|
|
303080
302392
|
|
|
303081
|
-
_initializerDefineProperty(this, "offsetTop",
|
|
302393
|
+
_initializerDefineProperty(this, "offsetTop", _descriptor29, this);
|
|
303082
302394
|
|
|
303083
|
-
_initializerDefineProperty(this, "focusByHotkey",
|
|
302395
|
+
_initializerDefineProperty(this, "focusByHotkey", _descriptor30, this);
|
|
303084
302396
|
|
|
303085
|
-
_initializerDefineProperty(this, "rows",
|
|
302397
|
+
_initializerDefineProperty(this, "rows", _descriptor31, this);
|
|
303086
302398
|
|
|
303087
|
-
_initializerDefineProperty(this, "addbutton",
|
|
302399
|
+
_initializerDefineProperty(this, "addbutton", _descriptor32, this);
|
|
303088
302400
|
|
|
303089
|
-
_initializerDefineProperty(this, "doNotCopyPaths",
|
|
302401
|
+
_initializerDefineProperty(this, "doNotCopyPaths", _descriptor33, this);
|
|
303090
302402
|
|
|
303091
|
-
_initializerDefineProperty(this, "addType",
|
|
302403
|
+
_initializerDefineProperty(this, "addType", _descriptor34, this);
|
|
303092
302404
|
|
|
303093
|
-
_initializerDefineProperty(this, "usepager",
|
|
302405
|
+
_initializerDefineProperty(this, "usepager", _descriptor35, this);
|
|
303094
302406
|
|
|
303095
|
-
_initializerDefineProperty(this, "showRowBorder",
|
|
302407
|
+
_initializerDefineProperty(this, "showRowBorder", _descriptor36, this);
|
|
303096
302408
|
|
|
303097
|
-
_initializerDefineProperty(this, "override",
|
|
302409
|
+
_initializerDefineProperty(this, "override", _descriptor37, this);
|
|
303098
302410
|
|
|
303099
|
-
_initializerDefineProperty(this, "storeFilters",
|
|
302411
|
+
_initializerDefineProperty(this, "storeFilters", _descriptor38, this);
|
|
303100
302412
|
}
|
|
303101
302413
|
|
|
303102
302414
|
getOwnPath() {
|
|
@@ -303107,186 +302419,186 @@ let StickyTableMultilineNode = (_dec22 = (0,_Serializer_SugarSerializer__WEBPACK
|
|
|
303107
302419
|
return true;
|
|
303108
302420
|
}
|
|
303109
302421
|
|
|
303110
|
-
}, (
|
|
302422
|
+
}, (_descriptor19 = _applyDecoratedDescriptor(_class8.prototype, "path", [_dec22], {
|
|
303111
302423
|
configurable: true,
|
|
303112
302424
|
enumerable: true,
|
|
303113
302425
|
writable: true,
|
|
303114
302426
|
initializer: null
|
|
303115
|
-
}),
|
|
302427
|
+
}), _descriptor20 = _applyDecoratedDescriptor(_class8.prototype, "instancesPerPage", [_dec23], {
|
|
303116
302428
|
configurable: true,
|
|
303117
302429
|
enumerable: true,
|
|
303118
302430
|
writable: true,
|
|
303119
302431
|
initializer: null
|
|
303120
|
-
}),
|
|
302432
|
+
}), _descriptor21 = _applyDecoratedDescriptor(_class8.prototype, "optional", [_dec24], {
|
|
303121
302433
|
configurable: true,
|
|
303122
302434
|
enumerable: true,
|
|
303123
302435
|
writable: true,
|
|
303124
302436
|
initializer: null
|
|
303125
|
-
}),
|
|
302437
|
+
}), _descriptor22 = _applyDecoratedDescriptor(_class8.prototype, "defaultChildren", [_dec25], {
|
|
303126
302438
|
configurable: true,
|
|
303127
302439
|
enumerable: true,
|
|
303128
302440
|
writable: true,
|
|
303129
302441
|
initializer: null
|
|
303130
|
-
}),
|
|
302442
|
+
}), _descriptor23 = _applyDecoratedDescriptor(_class8.prototype, "removebutton", [_dec26], {
|
|
303131
302443
|
configurable: true,
|
|
303132
302444
|
enumerable: true,
|
|
303133
302445
|
writable: true,
|
|
303134
302446
|
initializer: null
|
|
303135
|
-
}),
|
|
302447
|
+
}), _descriptor24 = _applyDecoratedDescriptor(_class8.prototype, "rowmenu", [_dec27], {
|
|
303136
302448
|
configurable: true,
|
|
303137
302449
|
enumerable: true,
|
|
303138
302450
|
writable: true,
|
|
303139
302451
|
initializer: null
|
|
303140
|
-
}),
|
|
302452
|
+
}), _descriptor25 = _applyDecoratedDescriptor(_class8.prototype, "className", [_dec28], {
|
|
303141
302453
|
configurable: true,
|
|
303142
302454
|
enumerable: true,
|
|
303143
302455
|
writable: true,
|
|
303144
302456
|
initializer: null
|
|
303145
|
-
}),
|
|
302457
|
+
}), _descriptor26 = _applyDecoratedDescriptor(_class8.prototype, "customProperty", [_dec29], {
|
|
303146
302458
|
configurable: true,
|
|
303147
302459
|
enumerable: true,
|
|
303148
302460
|
writable: true,
|
|
303149
302461
|
initializer: null
|
|
303150
|
-
}),
|
|
302462
|
+
}), _descriptor27 = _applyDecoratedDescriptor(_class8.prototype, "addButtonText", [_dec30], {
|
|
303151
302463
|
configurable: true,
|
|
303152
302464
|
enumerable: true,
|
|
303153
302465
|
writable: true,
|
|
303154
302466
|
initializer: null
|
|
303155
|
-
}),
|
|
302467
|
+
}), _descriptor28 = _applyDecoratedDescriptor(_class8.prototype, "offsetLeft", [_dec31], {
|
|
303156
302468
|
configurable: true,
|
|
303157
302469
|
enumerable: true,
|
|
303158
302470
|
writable: true,
|
|
303159
302471
|
initializer: null
|
|
303160
|
-
}),
|
|
302472
|
+
}), _descriptor29 = _applyDecoratedDescriptor(_class8.prototype, "offsetTop", [_dec32], {
|
|
303161
302473
|
configurable: true,
|
|
303162
302474
|
enumerable: true,
|
|
303163
302475
|
writable: true,
|
|
303164
302476
|
initializer: null
|
|
303165
|
-
}),
|
|
302477
|
+
}), _descriptor30 = _applyDecoratedDescriptor(_class8.prototype, "focusByHotkey", [_dec33], {
|
|
303166
302478
|
configurable: true,
|
|
303167
302479
|
enumerable: true,
|
|
303168
302480
|
writable: true,
|
|
303169
302481
|
initializer: null
|
|
303170
|
-
}),
|
|
302482
|
+
}), _descriptor31 = _applyDecoratedDescriptor(_class8.prototype, "rows", [_dec34], {
|
|
303171
302483
|
configurable: true,
|
|
303172
302484
|
enumerable: true,
|
|
303173
302485
|
writable: true,
|
|
303174
302486
|
initializer: null
|
|
303175
|
-
}),
|
|
302487
|
+
}), _descriptor32 = _applyDecoratedDescriptor(_class8.prototype, "addbutton", [_dec35], {
|
|
303176
302488
|
configurable: true,
|
|
303177
302489
|
enumerable: true,
|
|
303178
302490
|
writable: true,
|
|
303179
302491
|
initializer: null
|
|
303180
|
-
}),
|
|
302492
|
+
}), _descriptor33 = _applyDecoratedDescriptor(_class8.prototype, "doNotCopyPaths", [_dec36], {
|
|
303181
302493
|
configurable: true,
|
|
303182
302494
|
enumerable: true,
|
|
303183
302495
|
writable: true,
|
|
303184
302496
|
initializer: null
|
|
303185
|
-
}),
|
|
302497
|
+
}), _descriptor34 = _applyDecoratedDescriptor(_class8.prototype, "addType", [_dec37], {
|
|
303186
302498
|
configurable: true,
|
|
303187
302499
|
enumerable: true,
|
|
303188
302500
|
writable: true,
|
|
303189
302501
|
initializer: null
|
|
303190
|
-
}),
|
|
302502
|
+
}), _descriptor35 = _applyDecoratedDescriptor(_class8.prototype, "usepager", [_dec38], {
|
|
303191
302503
|
configurable: true,
|
|
303192
302504
|
enumerable: true,
|
|
303193
302505
|
writable: true,
|
|
303194
302506
|
initializer: null
|
|
303195
|
-
}),
|
|
302507
|
+
}), _descriptor36 = _applyDecoratedDescriptor(_class8.prototype, "showRowBorder", [_dec39], {
|
|
303196
302508
|
configurable: true,
|
|
303197
302509
|
enumerable: true,
|
|
303198
302510
|
writable: true,
|
|
303199
302511
|
initializer: null
|
|
303200
|
-
}),
|
|
302512
|
+
}), _descriptor37 = _applyDecoratedDescriptor(_class8.prototype, "override", [_dec40], {
|
|
303201
302513
|
configurable: true,
|
|
303202
302514
|
enumerable: true,
|
|
303203
302515
|
writable: true,
|
|
303204
302516
|
initializer: null
|
|
303205
|
-
}),
|
|
302517
|
+
}), _descriptor38 = _applyDecoratedDescriptor(_class8.prototype, "storeFilters", [_dec41], {
|
|
303206
302518
|
configurable: true,
|
|
303207
302519
|
enumerable: true,
|
|
303208
302520
|
writable: true,
|
|
303209
302521
|
initializer: null
|
|
303210
302522
|
})), _class8)) || _class7);
|
|
303211
|
-
let StickyTableRowNode = (
|
|
302523
|
+
let StickyTableRowNode = (_dec42 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("row", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/StickyTable sync recursive .md$")), _dec43 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_0__.DataBindingScopeMixinNode), _dec44 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec45 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("kind", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("head"), `Шапка таблицы`), _dec46 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("subkind", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("numbers"), `Строка с нумерацией столбцов`), _dec47 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)(["column", "multiline"], [StickyTableColumnNode, StickyTableMultilineNode]), _dec48 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("borderBottom", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Серая черта под строкой`), _dec42(_class10 = (_class11 = class StickyTableRowNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.SugarNodeBase {
|
|
303212
302524
|
constructor(...args) {
|
|
303213
302525
|
super(...args);
|
|
303214
302526
|
|
|
303215
|
-
_initializerDefineProperty(this, "dataScope",
|
|
302527
|
+
_initializerDefineProperty(this, "dataScope", _descriptor39, this);
|
|
303216
302528
|
|
|
303217
|
-
_initializerDefineProperty(this, "optional",
|
|
302529
|
+
_initializerDefineProperty(this, "optional", _descriptor40, this);
|
|
303218
302530
|
|
|
303219
|
-
_initializerDefineProperty(this, "kind",
|
|
302531
|
+
_initializerDefineProperty(this, "kind", _descriptor41, this);
|
|
303220
302532
|
|
|
303221
|
-
_initializerDefineProperty(this, "subkind",
|
|
302533
|
+
_initializerDefineProperty(this, "subkind", _descriptor42, this);
|
|
303222
302534
|
|
|
303223
|
-
_initializerDefineProperty(this, "columns",
|
|
302535
|
+
_initializerDefineProperty(this, "columns", _descriptor43, this);
|
|
303224
302536
|
|
|
303225
|
-
_initializerDefineProperty(this, "borderBottom",
|
|
302537
|
+
_initializerDefineProperty(this, "borderBottom", _descriptor44, this);
|
|
303226
302538
|
}
|
|
303227
302539
|
|
|
303228
302540
|
getOwnPath() {
|
|
303229
302541
|
return this.dataScope.getOwnPath();
|
|
303230
302542
|
}
|
|
303231
302543
|
|
|
303232
|
-
}, (
|
|
302544
|
+
}, (_descriptor39 = _applyDecoratedDescriptor(_class11.prototype, "dataScope", [_dec43], {
|
|
303233
302545
|
configurable: true,
|
|
303234
302546
|
enumerable: true,
|
|
303235
302547
|
writable: true,
|
|
303236
302548
|
initializer: null
|
|
303237
|
-
}),
|
|
302549
|
+
}), _descriptor40 = _applyDecoratedDescriptor(_class11.prototype, "optional", [_dec44], {
|
|
303238
302550
|
configurable: true,
|
|
303239
302551
|
enumerable: true,
|
|
303240
302552
|
writable: true,
|
|
303241
302553
|
initializer: null
|
|
303242
|
-
}),
|
|
302554
|
+
}), _descriptor41 = _applyDecoratedDescriptor(_class11.prototype, "kind", [_dec45], {
|
|
303243
302555
|
configurable: true,
|
|
303244
302556
|
enumerable: true,
|
|
303245
302557
|
writable: true,
|
|
303246
302558
|
initializer: null
|
|
303247
|
-
}),
|
|
302559
|
+
}), _descriptor42 = _applyDecoratedDescriptor(_class11.prototype, "subkind", [_dec46], {
|
|
303248
302560
|
configurable: true,
|
|
303249
302561
|
enumerable: true,
|
|
303250
302562
|
writable: true,
|
|
303251
302563
|
initializer: null
|
|
303252
|
-
}),
|
|
302564
|
+
}), _descriptor43 = _applyDecoratedDescriptor(_class11.prototype, "columns", [_dec47], {
|
|
303253
302565
|
configurable: true,
|
|
303254
302566
|
enumerable: true,
|
|
303255
302567
|
writable: true,
|
|
303256
302568
|
initializer: null
|
|
303257
|
-
}),
|
|
302569
|
+
}), _descriptor44 = _applyDecoratedDescriptor(_class11.prototype, "borderBottom", [_dec48], {
|
|
303258
302570
|
configurable: true,
|
|
303259
302571
|
enumerable: true,
|
|
303260
302572
|
writable: true,
|
|
303261
302573
|
initializer: null
|
|
303262
302574
|
})), _class11)) || _class10);
|
|
303263
|
-
let StickyTableHeaderNode = (
|
|
302575
|
+
let StickyTableHeaderNode = (_dec49 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("header", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/StickyTable sync recursive .md$")), _dec50 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("align", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("right"), ``), _dec51 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)(), _dec49(_class13 = (_class14 = class StickyTableHeaderNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.SugarNodeBase {
|
|
303264
302576
|
constructor(...args) {
|
|
303265
302577
|
super(...args);
|
|
303266
302578
|
|
|
303267
|
-
_initializerDefineProperty(this, "align",
|
|
302579
|
+
_initializerDefineProperty(this, "align", _descriptor45, this);
|
|
303268
302580
|
|
|
303269
|
-
_initializerDefineProperty(this, "children",
|
|
302581
|
+
_initializerDefineProperty(this, "children", _descriptor46, this);
|
|
303270
302582
|
}
|
|
303271
302583
|
|
|
303272
|
-
}, (
|
|
302584
|
+
}, (_descriptor45 = _applyDecoratedDescriptor(_class14.prototype, "align", [_dec50], {
|
|
303273
302585
|
configurable: true,
|
|
303274
302586
|
enumerable: true,
|
|
303275
302587
|
writable: true,
|
|
303276
302588
|
initializer: null
|
|
303277
|
-
}),
|
|
302589
|
+
}), _descriptor46 = _applyDecoratedDescriptor(_class14.prototype, "children", [_dec51], {
|
|
303278
302590
|
configurable: true,
|
|
303279
302591
|
enumerable: true,
|
|
303280
302592
|
writable: true,
|
|
303281
302593
|
initializer: null
|
|
303282
302594
|
})), _class14)) || _class13);
|
|
303283
|
-
let StickyTableFooterNode = (
|
|
302595
|
+
let StickyTableFooterNode = (_dec52 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("footer", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/StickyTable sync recursive .md$")), _dec53 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)(["row"], [StickyTableRowNode]), _dec54 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)("column", [StickyTableColumnNode]), _dec52(_class16 = (_class17 = class StickyTableFooterNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.SugarNodeBase {
|
|
303284
302596
|
constructor(...args) {
|
|
303285
302597
|
super(...args);
|
|
303286
302598
|
|
|
303287
|
-
_initializerDefineProperty(this, "rows",
|
|
302599
|
+
_initializerDefineProperty(this, "rows", _descriptor47, this);
|
|
303288
302600
|
|
|
303289
|
-
_initializerDefineProperty(this, "columns",
|
|
302601
|
+
_initializerDefineProperty(this, "columns", _descriptor48, this);
|
|
303290
302602
|
}
|
|
303291
302603
|
|
|
303292
302604
|
getColumnLists() {
|
|
@@ -303299,80 +302611,80 @@ let StickyTableFooterNode = (_dec53 = (0,_Serializer_SugarSerializer__WEBPACK_IM
|
|
|
303299
302611
|
return footerColumnsLists;
|
|
303300
302612
|
}
|
|
303301
302613
|
|
|
303302
|
-
}, (
|
|
302614
|
+
}, (_descriptor47 = _applyDecoratedDescriptor(_class17.prototype, "rows", [_dec53], {
|
|
303303
302615
|
configurable: true,
|
|
303304
302616
|
enumerable: true,
|
|
303305
302617
|
writable: true,
|
|
303306
302618
|
initializer: null
|
|
303307
|
-
}),
|
|
302619
|
+
}), _descriptor48 = _applyDecoratedDescriptor(_class17.prototype, "columns", [_dec54], {
|
|
303308
302620
|
configurable: true,
|
|
303309
302621
|
enumerable: true,
|
|
303310
302622
|
writable: true,
|
|
303311
302623
|
initializer: null
|
|
303312
302624
|
})), _class17)) || _class16);
|
|
303313
|
-
let StickyTableColgroupColumnNode = (
|
|
302625
|
+
let StickyTableColgroupColumnNode = (_dec55 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("col", ``), _dec56 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.lengthUnit, ``), _dec55(_class19 = (_class20 = class StickyTableColgroupColumnNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.SugarNodeBase {
|
|
303314
302626
|
constructor(...args) {
|
|
303315
302627
|
super(...args);
|
|
303316
302628
|
|
|
303317
|
-
_initializerDefineProperty(this, "width",
|
|
302629
|
+
_initializerDefineProperty(this, "width", _descriptor49, this);
|
|
303318
302630
|
}
|
|
303319
302631
|
|
|
303320
|
-
}, (
|
|
302632
|
+
}, (_descriptor49 = _applyDecoratedDescriptor(_class20.prototype, "width", [_dec56], {
|
|
303321
302633
|
configurable: true,
|
|
303322
302634
|
enumerable: true,
|
|
303323
302635
|
writable: true,
|
|
303324
302636
|
initializer: null
|
|
303325
302637
|
})), _class20)) || _class19);
|
|
303326
|
-
let StickyTableColgroupNode = (
|
|
302638
|
+
let StickyTableColgroupNode = (_dec57 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("colgroup", ``), _dec58 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)("col", [StickyTableColgroupColumnNode]), _dec57(_class22 = (_class23 = class StickyTableColgroupNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.SugarNodeBase {
|
|
303327
302639
|
constructor(...args) {
|
|
303328
302640
|
super(...args);
|
|
303329
302641
|
|
|
303330
|
-
_initializerDefineProperty(this, "cols",
|
|
302642
|
+
_initializerDefineProperty(this, "cols", _descriptor50, this);
|
|
303331
302643
|
}
|
|
303332
302644
|
|
|
303333
|
-
}, (
|
|
302645
|
+
}, (_descriptor50 = _applyDecoratedDescriptor(_class23.prototype, "cols", [_dec58], {
|
|
303334
302646
|
configurable: true,
|
|
303335
302647
|
enumerable: true,
|
|
303336
302648
|
writable: true,
|
|
303337
302649
|
initializer: null
|
|
303338
302650
|
})), _class23)) || _class22);
|
|
303339
|
-
let StickyTableNode = (
|
|
302651
|
+
let StickyTableNode = (_dec59 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("table", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/StickyTable sync recursive .md$"), x => x.boolAttr("sticky") || x.getFirstChild("multiline") != undefined), _dec60 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.bindingPath, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.bindingPathLink)} данного элемента. Опционально, если не указан, то будет оторажаться текст заданный внутри данного элемента`), _dec61 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec62 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("align", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("baseline", "top"), ``), _dec63 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("removebutton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `\"false\" - крестики не рисовать`), _dec64 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("sticky", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec65 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("stickyHeader", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Залипающая шапка`), _dec66 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("grayColumn", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.number, `Буквы во второй колонке серым цветом`), _dec67 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("side", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.number, ``), _dec68 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("className", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, ``), _dec69 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.singleChild)("colgroup", [StickyTableColgroupNode]), _dec70 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)(["row", "multiline"], [StickyTableRowNode, StickyTableMultilineNode]), _dec71 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.singleChild)("header", [StickyTableHeaderNode]), _dec72 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.singleChild)("footer", [StickyTableFooterNode]), _dec73 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("deprecated-diadoc-width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.number, ``), _dec74 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.number, `Ширина таблицы`), _dec75 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("tid", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, ``), _dec76 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("columnGrouping", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, `Только вместе с crossfit="true". {"start": "4", "end": "5", "text": ["Испр. с-ф", "040 и 050" ]} - Устанавливает колонки в которых ячейки скрыты под карандаш. В text записываются текстовки, которыми будут заменены тексты в шапке. Если для этих ячеек rowspan > 1, то нужно добавить на каждую пустую строку "". { start: 4, end: 11, showText: "Свернуть столбцы 040-110", hideText: "Столбцы 040-110" } - Устанавливает колонки, которые можно скрывать кнопкой. showText и hideText устанавливаю тексты в подсказке при наведении.`), _dec59(_class25 = (_class26 = class StickyTableNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_3__.SugarNodeWithLegacyVisibility {
|
|
303340
302652
|
constructor(...args) {
|
|
303341
302653
|
super(...args);
|
|
303342
302654
|
|
|
303343
|
-
_initializerDefineProperty(this, "path",
|
|
302655
|
+
_initializerDefineProperty(this, "path", _descriptor51, this);
|
|
303344
302656
|
|
|
303345
|
-
_initializerDefineProperty(this, "optional",
|
|
302657
|
+
_initializerDefineProperty(this, "optional", _descriptor52, this);
|
|
303346
302658
|
|
|
303347
|
-
_initializerDefineProperty(this, "align",
|
|
302659
|
+
_initializerDefineProperty(this, "align", _descriptor53, this);
|
|
303348
302660
|
|
|
303349
|
-
_initializerDefineProperty(this, "removeButton",
|
|
302661
|
+
_initializerDefineProperty(this, "removeButton", _descriptor54, this);
|
|
303350
302662
|
|
|
303351
|
-
_initializerDefineProperty(this, "sticky",
|
|
302663
|
+
_initializerDefineProperty(this, "sticky", _descriptor55, this);
|
|
303352
302664
|
|
|
303353
|
-
_initializerDefineProperty(this, "stickyHeader",
|
|
302665
|
+
_initializerDefineProperty(this, "stickyHeader", _descriptor56, this);
|
|
303354
302666
|
|
|
303355
|
-
_initializerDefineProperty(this, "grayColumn",
|
|
302667
|
+
_initializerDefineProperty(this, "grayColumn", _descriptor57, this);
|
|
303356
302668
|
|
|
303357
|
-
_initializerDefineProperty(this, "side",
|
|
302669
|
+
_initializerDefineProperty(this, "side", _descriptor58, this);
|
|
303358
302670
|
|
|
303359
|
-
_initializerDefineProperty(this, "className",
|
|
302671
|
+
_initializerDefineProperty(this, "className", _descriptor59, this);
|
|
303360
302672
|
|
|
303361
|
-
_initializerDefineProperty(this, "colgroup",
|
|
302673
|
+
_initializerDefineProperty(this, "colgroup", _descriptor60, this);
|
|
303362
302674
|
|
|
303363
|
-
_initializerDefineProperty(this, "rows",
|
|
302675
|
+
_initializerDefineProperty(this, "rows", _descriptor61, this);
|
|
303364
302676
|
|
|
303365
|
-
_initializerDefineProperty(this, "header",
|
|
302677
|
+
_initializerDefineProperty(this, "header", _descriptor62, this);
|
|
303366
302678
|
|
|
303367
|
-
_initializerDefineProperty(this, "footer",
|
|
302679
|
+
_initializerDefineProperty(this, "footer", _descriptor63, this);
|
|
303368
302680
|
|
|
303369
|
-
_initializerDefineProperty(this, "deprecatedDiadocWidth",
|
|
302681
|
+
_initializerDefineProperty(this, "deprecatedDiadocWidth", _descriptor64, this);
|
|
303370
302682
|
|
|
303371
|
-
_initializerDefineProperty(this, "width",
|
|
302683
|
+
_initializerDefineProperty(this, "width", _descriptor65, this);
|
|
303372
302684
|
|
|
303373
|
-
_initializerDefineProperty(this, "tid",
|
|
302685
|
+
_initializerDefineProperty(this, "tid", _descriptor66, this);
|
|
303374
302686
|
|
|
303375
|
-
_initializerDefineProperty(this, "columnGrouping",
|
|
302687
|
+
_initializerDefineProperty(this, "columnGrouping", _descriptor67, this);
|
|
303376
302688
|
}
|
|
303377
302689
|
|
|
303378
302690
|
getOwnPath() {
|
|
@@ -303383,87 +302695,87 @@ let StickyTableNode = (_dec60 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED
|
|
|
303383
302695
|
return this.rows.filter(isRowNode).filter(row => row.kind === "head");
|
|
303384
302696
|
}
|
|
303385
302697
|
|
|
303386
|
-
}, (
|
|
302698
|
+
}, (_descriptor51 = _applyDecoratedDescriptor(_class26.prototype, "path", [_dec60], {
|
|
303387
302699
|
configurable: true,
|
|
303388
302700
|
enumerable: true,
|
|
303389
302701
|
writable: true,
|
|
303390
302702
|
initializer: null
|
|
303391
|
-
}),
|
|
302703
|
+
}), _descriptor52 = _applyDecoratedDescriptor(_class26.prototype, "optional", [_dec61], {
|
|
303392
302704
|
configurable: true,
|
|
303393
302705
|
enumerable: true,
|
|
303394
302706
|
writable: true,
|
|
303395
302707
|
initializer: null
|
|
303396
|
-
}),
|
|
302708
|
+
}), _descriptor53 = _applyDecoratedDescriptor(_class26.prototype, "align", [_dec62], {
|
|
303397
302709
|
configurable: true,
|
|
303398
302710
|
enumerable: true,
|
|
303399
302711
|
writable: true,
|
|
303400
302712
|
initializer: null
|
|
303401
|
-
}),
|
|
302713
|
+
}), _descriptor54 = _applyDecoratedDescriptor(_class26.prototype, "removeButton", [_dec63], {
|
|
303402
302714
|
configurable: true,
|
|
303403
302715
|
enumerable: true,
|
|
303404
302716
|
writable: true,
|
|
303405
302717
|
initializer: null
|
|
303406
|
-
}),
|
|
302718
|
+
}), _descriptor55 = _applyDecoratedDescriptor(_class26.prototype, "sticky", [_dec64], {
|
|
303407
302719
|
configurable: true,
|
|
303408
302720
|
enumerable: true,
|
|
303409
302721
|
writable: true,
|
|
303410
302722
|
initializer: null
|
|
303411
|
-
}),
|
|
302723
|
+
}), _descriptor56 = _applyDecoratedDescriptor(_class26.prototype, "stickyHeader", [_dec65], {
|
|
303412
302724
|
configurable: true,
|
|
303413
302725
|
enumerable: true,
|
|
303414
302726
|
writable: true,
|
|
303415
302727
|
initializer: null
|
|
303416
|
-
}),
|
|
302728
|
+
}), _descriptor57 = _applyDecoratedDescriptor(_class26.prototype, "grayColumn", [_dec66], {
|
|
303417
302729
|
configurable: true,
|
|
303418
302730
|
enumerable: true,
|
|
303419
302731
|
writable: true,
|
|
303420
302732
|
initializer: null
|
|
303421
|
-
}),
|
|
302733
|
+
}), _descriptor58 = _applyDecoratedDescriptor(_class26.prototype, "side", [_dec67], {
|
|
303422
302734
|
configurable: true,
|
|
303423
302735
|
enumerable: true,
|
|
303424
302736
|
writable: true,
|
|
303425
302737
|
initializer: null
|
|
303426
|
-
}),
|
|
302738
|
+
}), _descriptor59 = _applyDecoratedDescriptor(_class26.prototype, "className", [_dec68], {
|
|
303427
302739
|
configurable: true,
|
|
303428
302740
|
enumerable: true,
|
|
303429
302741
|
writable: true,
|
|
303430
302742
|
initializer: null
|
|
303431
|
-
}),
|
|
302743
|
+
}), _descriptor60 = _applyDecoratedDescriptor(_class26.prototype, "colgroup", [_dec69], {
|
|
303432
302744
|
configurable: true,
|
|
303433
302745
|
enumerable: true,
|
|
303434
302746
|
writable: true,
|
|
303435
302747
|
initializer: null
|
|
303436
|
-
}),
|
|
302748
|
+
}), _descriptor61 = _applyDecoratedDescriptor(_class26.prototype, "rows", [_dec70], {
|
|
303437
302749
|
configurable: true,
|
|
303438
302750
|
enumerable: true,
|
|
303439
302751
|
writable: true,
|
|
303440
302752
|
initializer: null
|
|
303441
|
-
}),
|
|
302753
|
+
}), _descriptor62 = _applyDecoratedDescriptor(_class26.prototype, "header", [_dec71], {
|
|
303442
302754
|
configurable: true,
|
|
303443
302755
|
enumerable: true,
|
|
303444
302756
|
writable: true,
|
|
303445
302757
|
initializer: null
|
|
303446
|
-
}),
|
|
302758
|
+
}), _descriptor63 = _applyDecoratedDescriptor(_class26.prototype, "footer", [_dec72], {
|
|
303447
302759
|
configurable: true,
|
|
303448
302760
|
enumerable: true,
|
|
303449
302761
|
writable: true,
|
|
303450
302762
|
initializer: null
|
|
303451
|
-
}),
|
|
302763
|
+
}), _descriptor64 = _applyDecoratedDescriptor(_class26.prototype, "deprecatedDiadocWidth", [_dec73], {
|
|
303452
302764
|
configurable: true,
|
|
303453
302765
|
enumerable: true,
|
|
303454
302766
|
writable: true,
|
|
303455
302767
|
initializer: null
|
|
303456
|
-
}),
|
|
302768
|
+
}), _descriptor65 = _applyDecoratedDescriptor(_class26.prototype, "width", [_dec74], {
|
|
303457
302769
|
configurable: true,
|
|
303458
302770
|
enumerable: true,
|
|
303459
302771
|
writable: true,
|
|
303460
302772
|
initializer: null
|
|
303461
|
-
}),
|
|
302773
|
+
}), _descriptor66 = _applyDecoratedDescriptor(_class26.prototype, "tid", [_dec75], {
|
|
303462
302774
|
configurable: true,
|
|
303463
302775
|
enumerable: true,
|
|
303464
302776
|
writable: true,
|
|
303465
302777
|
initializer: null
|
|
303466
|
-
}),
|
|
302778
|
+
}), _descriptor67 = _applyDecoratedDescriptor(_class26.prototype, "columnGrouping", [_dec76], {
|
|
303467
302779
|
configurable: true,
|
|
303468
302780
|
enumerable: true,
|
|
303469
302781
|
writable: true,
|
|
@@ -310764,7 +310076,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
310764
310076
|
/* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
|
|
310765
310077
|
/* harmony import */ var _CommonNodeProperties_TooltipProperties_SetTooltipSettingsProps__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../CommonNodeProperties/TooltipProperties/SetTooltipSettingsProps */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/TooltipProperties/SetTooltipSettingsProps.ts");
|
|
310766
310078
|
/* harmony import */ var _SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../SugarNodes/SugarNodeUtils */ "./Generator/src/generators/markupGenerator/SugarNodes/SugarNodeUtils.ts");
|
|
310767
|
-
/* harmony import */ var
|
|
310079
|
+
/* harmony import */ var _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../validationGenerator/Nodes/TypeNode */ "./Generator/src/generators/validationGenerator/Nodes/TypeNode.ts");
|
|
310080
|
+
/* harmony import */ var _TextAreaNode__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./TextAreaNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Textarea/TextAreaNode.ts");
|
|
310081
|
+
|
|
310768
310082
|
|
|
310769
310083
|
|
|
310770
310084
|
|
|
@@ -310774,16 +310088,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
310774
310088
|
|
|
310775
310089
|
class TextAreaConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.SugarNodeConverterBase {
|
|
310776
310090
|
static getAcceptNodeClass() {
|
|
310777
|
-
return
|
|
310091
|
+
return _TextAreaNode__WEBPACK_IMPORTED_MODULE_7__.TextAreaNode;
|
|
310778
310092
|
}
|
|
310779
310093
|
|
|
310780
310094
|
doBuildNodeValidations(validationGenerator) {
|
|
310781
|
-
const node = this.getCurrentNodeAs(
|
|
310095
|
+
const node = this.getCurrentNodeAs(_TextAreaNode__WEBPACK_IMPORTED_MODULE_7__.TextAreaNode);
|
|
310782
310096
|
validationGenerator.processValidations(this.getResolvedBindingPath(node), node.validationInfo.optional, validationGenerator.getTypeNode(node.validationInfo), undefined, node.validationInfo.emptydescription);
|
|
310783
310097
|
}
|
|
310784
310098
|
|
|
310785
310099
|
doBuildDataDeclaration(context) {
|
|
310786
|
-
const node = this.getCurrentNodeAs(
|
|
310100
|
+
const node = this.getCurrentNodeAs(_TextAreaNode__WEBPACK_IMPORTED_MODULE_7__.TextAreaNode);
|
|
310787
310101
|
return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["value", context.initSequenceFactory.dataValue(node.dataBinding, node.disabled)]]), context.addSpecialFieldsEntry(node, {
|
|
310788
310102
|
optional: node.dataBinding.optional,
|
|
310789
310103
|
disabled: node.disabled
|
|
@@ -310791,22 +310105,22 @@ class TextAreaConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__
|
|
|
310791
310105
|
}
|
|
310792
310106
|
|
|
310793
310107
|
buildChildrenDataDeclaration(context) {
|
|
310794
|
-
const node = this.getCurrentNodeAs(
|
|
310108
|
+
const node = this.getCurrentNodeAs(_TextAreaNode__WEBPACK_IMPORTED_MODULE_7__.TextAreaNode);
|
|
310795
310109
|
return context.processChildrenDataDeclaration(node.helpNodes);
|
|
310796
310110
|
}
|
|
310797
310111
|
|
|
310798
310112
|
*doTraverseChildren() {
|
|
310799
|
-
const node = this.getCurrentNodeAs(
|
|
310113
|
+
const node = this.getCurrentNodeAs(_TextAreaNode__WEBPACK_IMPORTED_MODULE_7__.TextAreaNode);
|
|
310800
310114
|
yield* node.helpNodes;
|
|
310801
310115
|
}
|
|
310802
310116
|
|
|
310803
310117
|
get nodePaths() {
|
|
310804
|
-
const node = this.getCurrentNodeAs(
|
|
310118
|
+
const node = this.getCurrentNodeAs(_TextAreaNode__WEBPACK_IMPORTED_MODULE_7__.TextAreaNode);
|
|
310805
310119
|
return [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_3__.getNewBindingPathExpression)(node)];
|
|
310806
310120
|
}
|
|
310807
310121
|
|
|
310808
310122
|
doConvert(context) {
|
|
310809
|
-
const node = this.getCurrentNodeAs(
|
|
310123
|
+
const node = this.getCurrentNodeAs(_TextAreaNode__WEBPACK_IMPORTED_MODULE_7__.TextAreaNode);
|
|
310810
310124
|
this.ensurePathExists(node, node.dataBinding.path);
|
|
310811
310125
|
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__.componentMarkupBuilder)("TextArea");
|
|
310812
310126
|
|
|
@@ -310822,6 +310136,12 @@ class TextAreaConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__
|
|
|
310822
310136
|
markupBuilder.prop(x => x.resize).set(node.resize);
|
|
310823
310137
|
markupBuilder.prop(x => x.autoResize).set(node.autoResize);
|
|
310824
310138
|
|
|
310139
|
+
if (node.useLengthLimit) {
|
|
310140
|
+
var _node$maxTextLength;
|
|
310141
|
+
|
|
310142
|
+
markupBuilder.prop(x => x.textMaxLength).set((_node$maxTextLength = node.maxTextLength) !== null && _node$maxTextLength !== void 0 ? _node$maxTextLength : this.getTextMaxLength(context, node, node.validationInfo));
|
|
310143
|
+
}
|
|
310144
|
+
|
|
310825
310145
|
if (node.disabled2 != undefined) {
|
|
310826
310146
|
markupBuilder.prop(x => x.disabled2).set((0,_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_5__.buildExpressionPropValue)(node.disabled2));
|
|
310827
310147
|
|
|
@@ -310834,6 +310154,14 @@ class TextAreaConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__
|
|
|
310834
310154
|
return markupBuilder.buildConverterResultWithHelp(node, context);
|
|
310835
310155
|
}
|
|
310836
310156
|
|
|
310157
|
+
getTextMaxLength(context, node, nodeValidationInfo) {
|
|
310158
|
+
var _ref, _ref2, _typeNode$flattenType, _typeNode$flattenType2, _typeNode$flattenType3;
|
|
310159
|
+
|
|
310160
|
+
const typeNode = context.getTypeNode(nodeValidationInfo);
|
|
310161
|
+
const schemaTypeInfo = context.getSchemaTypeInfo(node.getFullPath());
|
|
310162
|
+
return (_ref = (_ref2 = (_typeNode$flattenType = typeNode === null || typeNode === void 0 ? void 0 : (_typeNode$flattenType2 = typeNode.flattenTypeCheckNodes().find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_6__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_6__.LengthTypeCheckNode))) === null || _typeNode$flattenType2 === void 0 ? void 0 : _typeNode$flattenType2.value) !== null && _typeNode$flattenType !== void 0 ? _typeNode$flattenType : schemaTypeInfo === null || schemaTypeInfo === void 0 ? void 0 : schemaTypeInfo.length) !== null && _ref2 !== void 0 ? _ref2 : typeNode === null || typeNode === void 0 ? void 0 : (_typeNode$flattenType3 = typeNode.flattenTypeCheckNodes().find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_6__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_6__.MaxlengthTypeCheckNode))) === null || _typeNode$flattenType3 === void 0 ? void 0 : _typeNode$flattenType3.value) !== null && _ref !== void 0 ? _ref : schemaTypeInfo === null || schemaTypeInfo === void 0 ? void 0 : schemaTypeInfo.maxLength;
|
|
310163
|
+
}
|
|
310164
|
+
|
|
310837
310165
|
}
|
|
310838
310166
|
|
|
310839
310167
|
/***/ }),
|
|
@@ -310857,7 +310185,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
310857
310185
|
/* harmony import */ var _Helpers_Help_HelpNode__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../Helpers/Help/HelpNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Helpers/Help/HelpNode.ts");
|
|
310858
310186
|
/* harmony import */ var _CommonNodeProperties_TooltipProperties_TooltipSettingsNode__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../CommonNodeProperties/TooltipProperties/TooltipSettingsNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/TooltipProperties/TooltipSettingsNode.ts");
|
|
310859
310187
|
/* harmony import */ var _Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../Commons/DocumentationLinks */ "./Generator/src/generators/markupGenerator/ElementProcessors/Commons/DocumentationLinks.ts");
|
|
310860
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14;
|
|
310188
|
+
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;
|
|
310861
310189
|
|
|
310862
310190
|
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 }); }
|
|
310863
310191
|
|
|
@@ -310873,7 +310201,7 @@ function _initializerWarningHelper(descriptor, context) { throw new Error('Decor
|
|
|
310873
310201
|
|
|
310874
310202
|
|
|
310875
310203
|
|
|
310876
|
-
let TextAreaNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("textarea", `Расширяющееся поле`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Textarea sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_0__.DataBindingMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_ValidationInfoNode__WEBPACK_IMPORTED_MODULE_1__.ValidationInfoNode), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_TooltipProperties_TooltipSettingsNode__WEBPACK_IMPORTED_MODULE_6__.TooltipSettingsNode), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.lengthUnit, `Ширина. Не может быть меньше 250`), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("placeholder", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString, ``), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("disabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("disabled2", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.javascriptExpression, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_7__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_7__.javaScriptExpressionLink)} для условного задизейбливания контрола`), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("autoResize", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("rows", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.number, ``), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("row", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.Typo), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("resize", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("-moz-initial", "inherit", "initial", "revert", "unset", "block", "both", "horizontal", "inline", "none", "vertical"), ``), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.bindingPath, ``), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("help", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, ``), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)("help", [_Helpers_Help_HelpNode__WEBPACK_IMPORTED_MODULE_5__.HelpNode]), _dec(_class = (_class2 = class TextAreaNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_3__.SugarNodeWithLegacyVisibility {
|
|
310204
|
+
let TextAreaNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("textarea", `Расширяющееся поле`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Textarea sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_0__.DataBindingMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_ValidationInfoNode__WEBPACK_IMPORTED_MODULE_1__.ValidationInfoNode), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_TooltipProperties_TooltipSettingsNode__WEBPACK_IMPORTED_MODULE_6__.TooltipSettingsNode), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.lengthUnit, `Ширина. Не может быть меньше 250`), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("placeholder", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString, ``), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("disabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("disabled2", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.javascriptExpression, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_7__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_7__.javaScriptExpressionLink)} для условного задизейбливания контрола`), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("autoResize", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, ``), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("rows", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.number, ``), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("row", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_2__.DeprecationReason.Typo), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("resize", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("-moz-initial", "inherit", "initial", "revert", "unset", "block", "both", "horizontal", "inline", "none", "vertical"), ``), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.bindingPath, ``), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("help", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string, ``), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.children)("help", [_Helpers_Help_HelpNode__WEBPACK_IMPORTED_MODULE_5__.HelpNode]), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("useLengthLimit", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Включает отображение счётчик длины текста`), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("maxTextLength", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.number, `Задаёт максимальное кол-во символов для счётчика длины текста. Если не указано, значение будет братся из валидации или схемы`), _dec(_class = (_class2 = class TextAreaNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_3__.SugarNodeWithLegacyVisibility {
|
|
310877
310205
|
constructor(...args) {
|
|
310878
310206
|
super(...args);
|
|
310879
310207
|
|
|
@@ -310904,6 +310232,10 @@ let TextAreaNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODU
|
|
|
310904
310232
|
_initializerDefineProperty(this, "help", _descriptor13, this);
|
|
310905
310233
|
|
|
310906
310234
|
_initializerDefineProperty(this, "helpNodes", _descriptor14, this);
|
|
310235
|
+
|
|
310236
|
+
_initializerDefineProperty(this, "useLengthLimit", _descriptor15, this);
|
|
310237
|
+
|
|
310238
|
+
_initializerDefineProperty(this, "maxTextLength", _descriptor16, this);
|
|
310907
310239
|
}
|
|
310908
310240
|
|
|
310909
310241
|
getOwnPath() {
|
|
@@ -310980,6 +310312,16 @@ let TextAreaNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODU
|
|
|
310980
310312
|
enumerable: true,
|
|
310981
310313
|
writable: true,
|
|
310982
310314
|
initializer: null
|
|
310315
|
+
}), _descriptor15 = _applyDecoratedDescriptor(_class2.prototype, "useLengthLimit", [_dec16], {
|
|
310316
|
+
configurable: true,
|
|
310317
|
+
enumerable: true,
|
|
310318
|
+
writable: true,
|
|
310319
|
+
initializer: null
|
|
310320
|
+
}), _descriptor16 = _applyDecoratedDescriptor(_class2.prototype, "maxTextLength", [_dec17], {
|
|
310321
|
+
configurable: true,
|
|
310322
|
+
enumerable: true,
|
|
310323
|
+
writable: true,
|
|
310324
|
+
initializer: null
|
|
310983
310325
|
})), _class2)) || _class);
|
|
310984
310326
|
|
|
310985
310327
|
/***/ }),
|