@kontur.candy/generator 4.235.0-nightly.5g7e9 → 4.235.3
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 +460 -1121
- 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 =
|
|
286176
|
+
const result = serializer.deserializeFromSugarXmlNode((0,_common_XmlParser_XmlParser__WEBPACK_IMPORTED_MODULE_0__.parseXml)(kcxmlSource));
|
|
286804
286177
|
|
|
286805
|
-
|
|
286806
|
-
|
|
286807
|
-
|
|
286808
|
-
if (rootNode instanceof _Formula__WEBPACK_IMPORTED_MODULE_3__.MathContainer) {
|
|
286809
|
-
var _rootNode$formulas$it, _rootNode$formulas;
|
|
286810
|
-
|
|
286811
|
-
result.push(...((_rootNode$formulas$it = (_rootNode$formulas = rootNode.formulas) === null || _rootNode$formulas === void 0 ? void 0 : _rootNode$formulas.items) !== null && _rootNode$formulas$it !== void 0 ? _rootNode$formulas$it : []));
|
|
286812
|
-
}
|
|
286813
|
-
}
|
|
286814
|
-
|
|
286815
|
-
for (const kclangSource of kclangSources) {
|
|
286816
|
-
const rootNode = serializer.deserializeFromSugarXmlNode((0,_common_XmlParser_XmlParser__WEBPACK_IMPORTED_MODULE_0__.parseXml)(_common_KCLang_KCLangToXmlTranspiler__WEBPACK_IMPORTED_MODULE_2__.KCLangToXmlTranspiler.transpile(kclangSource)));
|
|
286817
|
-
|
|
286818
|
-
if (rootNode instanceof _Formula__WEBPACK_IMPORTED_MODULE_3__.MathContainer) {
|
|
286819
|
-
var _rootNode$formulas$it2, _rootNode$formulas2;
|
|
286820
|
-
|
|
286821
|
-
result.push(...((_rootNode$formulas$it2 = (_rootNode$formulas2 = rootNode.formulas) === null || _rootNode$formulas2 === void 0 ? void 0 : _rootNode$formulas2.items) !== null && _rootNode$formulas$it2 !== void 0 ? _rootNode$formulas$it2 : []));
|
|
286822
|
-
}
|
|
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
|
}
|
|
@@ -293203,14 +292549,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
293203
292549
|
/* harmony import */ var _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../DataDeclarationGenerator/DataDeclarationGenerationContext */ "./Generator/src/generators/DataDeclarationGenerator/DataDeclarationGenerationContext.ts");
|
|
293204
292550
|
/* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
|
|
293205
292551
|
/* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
|
|
293206
|
-
/* harmony import */ var
|
|
292552
|
+
/* harmony import */ var _Common_TypingUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../Common/TypingUtils */ "./Common/TypingUtils.ts");
|
|
292553
|
+
/* harmony import */ var _AddPageButtonNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./AddPageButtonNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/AddPageButton/AddPageButtonNode.ts");
|
|
292554
|
+
|
|
293207
292555
|
|
|
293208
292556
|
|
|
293209
292557
|
|
|
293210
292558
|
|
|
293211
292559
|
class AddPageButtonConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.SugarNodeConverterBase {
|
|
293212
292560
|
static getAcceptNodeClass() {
|
|
293213
|
-
return
|
|
292561
|
+
return _AddPageButtonNode__WEBPACK_IMPORTED_MODULE_4__.AddPageButtonNode;
|
|
293214
292562
|
}
|
|
293215
292563
|
|
|
293216
292564
|
*doTraverseChildren() {// no children
|
|
@@ -293225,16 +292573,11 @@ class AddPageButtonConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODUL
|
|
|
293225
292573
|
}
|
|
293226
292574
|
|
|
293227
292575
|
doConvert(context) {
|
|
293228
|
-
|
|
293229
|
-
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("AddPageButton");
|
|
293230
|
-
const page = this.getParentPage();
|
|
293231
|
-
|
|
293232
|
-
if (page != undefined) {
|
|
293233
|
-
markupBuilder.prop(x => x.tid).set(`${page.id}_add_page_button`);
|
|
293234
|
-
} else {
|
|
293235
|
-
throw new Error("Sugar element `addPageButton` should be used inside `page` element");
|
|
293236
|
-
}
|
|
292576
|
+
var _this$getParentPage$i, _this$getParentPage;
|
|
293237
292577
|
|
|
292578
|
+
const node = this.getCurrentNodeAs(_AddPageButtonNode__WEBPACK_IMPORTED_MODULE_4__.AddPageButtonNode);
|
|
292579
|
+
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("AddPageButton");
|
|
292580
|
+
markupBuilder.prop(x => x.unitId).set((_this$getParentPage$i = (_this$getParentPage = this.getParentPage()) === null || _this$getParentPage === void 0 ? void 0 : _this$getParentPage.id) !== null && _this$getParentPage$i !== void 0 ? _this$getParentPage$i : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_3__.reject)("Sugar element `addPageButton` should be used inside `page` element"));
|
|
293238
292581
|
markupBuilder.appendChild(context.convertChildNodes(node.children));
|
|
293239
292582
|
return markupBuilder.buildConverterResult();
|
|
293240
292583
|
}
|
|
@@ -298604,8 +297947,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
298604
297947
|
/* harmony import */ var _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../Serializer/DeprecationReason */ "./Generator/src/generators/markupGenerator/Serializer/DeprecationReason.ts");
|
|
298605
297948
|
/* harmony import */ var _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../Serializer/SugarNodeWithLegacyVisibility */ "./Generator/src/generators/markupGenerator/Serializer/SugarNodeWithLegacyVisibility.ts");
|
|
298606
297949
|
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
298607
|
-
|
|
298608
|
-
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;
|
|
298609
297951
|
|
|
298610
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 }); }
|
|
298611
297953
|
|
|
@@ -298617,8 +297959,7 @@ function _initializerWarningHelper(descriptor, context) { throw new Error('Decor
|
|
|
298617
297959
|
|
|
298618
297960
|
|
|
298619
297961
|
|
|
298620
|
-
|
|
298621
|
-
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 {
|
|
298622
297963
|
constructor(...args) {
|
|
298623
297964
|
super(...args);
|
|
298624
297965
|
|
|
@@ -298628,31 +297969,29 @@ let SimpleTableColumnNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPO
|
|
|
298628
297969
|
|
|
298629
297970
|
_initializerDefineProperty(this, "disabled", _descriptor3, this);
|
|
298630
297971
|
|
|
298631
|
-
_initializerDefineProperty(this, "
|
|
298632
|
-
|
|
298633
|
-
_initializerDefineProperty(this, "hintOnAdd", _descriptor5, this);
|
|
297972
|
+
_initializerDefineProperty(this, "hintOnAdd", _descriptor4, this);
|
|
298634
297973
|
|
|
298635
|
-
_initializerDefineProperty(this, "titles",
|
|
297974
|
+
_initializerDefineProperty(this, "titles", _descriptor5, this);
|
|
298636
297975
|
|
|
298637
|
-
_initializerDefineProperty(this, "colspan",
|
|
297976
|
+
_initializerDefineProperty(this, "colspan", _descriptor6, this);
|
|
298638
297977
|
|
|
298639
|
-
_initializerDefineProperty(this, "empty",
|
|
297978
|
+
_initializerDefineProperty(this, "empty", _descriptor7, this);
|
|
298640
297979
|
|
|
298641
|
-
_initializerDefineProperty(this, "rowspan",
|
|
297980
|
+
_initializerDefineProperty(this, "rowspan", _descriptor8, this);
|
|
298642
297981
|
|
|
298643
|
-
_initializerDefineProperty(this, "horizontalAlign",
|
|
297982
|
+
_initializerDefineProperty(this, "horizontalAlign", _descriptor9, this);
|
|
298644
297983
|
|
|
298645
|
-
_initializerDefineProperty(this, "requiredempty",
|
|
297984
|
+
_initializerDefineProperty(this, "requiredempty", _descriptor10, this);
|
|
298646
297985
|
|
|
298647
|
-
_initializerDefineProperty(this, "indent",
|
|
297986
|
+
_initializerDefineProperty(this, "indent", _descriptor11, this);
|
|
298648
297987
|
|
|
298649
|
-
_initializerDefineProperty(this, "width",
|
|
297988
|
+
_initializerDefineProperty(this, "width", _descriptor12, this);
|
|
298650
297989
|
|
|
298651
|
-
_initializerDefineProperty(this, "textTopPadding",
|
|
297990
|
+
_initializerDefineProperty(this, "textTopPadding", _descriptor13, this);
|
|
298652
297991
|
|
|
298653
|
-
_initializerDefineProperty(this, "size",
|
|
297992
|
+
_initializerDefineProperty(this, "size", _descriptor14, this);
|
|
298654
297993
|
|
|
298655
|
-
_initializerDefineProperty(this, "children",
|
|
297994
|
+
_initializerDefineProperty(this, "children", _descriptor15, this);
|
|
298656
297995
|
}
|
|
298657
297996
|
|
|
298658
297997
|
getOwnPath() {
|
|
@@ -298680,167 +298019,162 @@ let SimpleTableColumnNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPO
|
|
|
298680
298019
|
enumerable: true,
|
|
298681
298020
|
writable: true,
|
|
298682
298021
|
initializer: null
|
|
298683
|
-
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
298684
|
-
configurable: true,
|
|
298685
|
-
enumerable: true,
|
|
298686
|
-
writable: true,
|
|
298687
|
-
initializer: null
|
|
298688
|
-
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "hintOnAdd", [_dec6], {
|
|
298022
|
+
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "hintOnAdd", [_dec5], {
|
|
298689
298023
|
configurable: true,
|
|
298690
298024
|
enumerable: true,
|
|
298691
298025
|
writable: true,
|
|
298692
298026
|
initializer: null
|
|
298693
|
-
}),
|
|
298027
|
+
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "titles", [_dec6], {
|
|
298694
298028
|
configurable: true,
|
|
298695
298029
|
enumerable: true,
|
|
298696
298030
|
writable: true,
|
|
298697
298031
|
initializer: null
|
|
298698
|
-
}),
|
|
298032
|
+
}), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "colspan", [_dec7], {
|
|
298699
298033
|
configurable: true,
|
|
298700
298034
|
enumerable: true,
|
|
298701
298035
|
writable: true,
|
|
298702
298036
|
initializer: null
|
|
298703
|
-
}),
|
|
298037
|
+
}), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, "empty", [_dec8], {
|
|
298704
298038
|
configurable: true,
|
|
298705
298039
|
enumerable: true,
|
|
298706
298040
|
writable: true,
|
|
298707
298041
|
initializer: null
|
|
298708
|
-
}),
|
|
298042
|
+
}), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "rowspan", [_dec9], {
|
|
298709
298043
|
configurable: true,
|
|
298710
298044
|
enumerable: true,
|
|
298711
298045
|
writable: true,
|
|
298712
298046
|
initializer: null
|
|
298713
|
-
}),
|
|
298047
|
+
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "horizontalAlign", [_dec10], {
|
|
298714
298048
|
configurable: true,
|
|
298715
298049
|
enumerable: true,
|
|
298716
298050
|
writable: true,
|
|
298717
298051
|
initializer: null
|
|
298718
|
-
}),
|
|
298052
|
+
}), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, "requiredempty", [_dec11], {
|
|
298719
298053
|
configurable: true,
|
|
298720
298054
|
enumerable: true,
|
|
298721
298055
|
writable: true,
|
|
298722
298056
|
initializer: null
|
|
298723
|
-
}),
|
|
298057
|
+
}), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, "indent", [_dec12], {
|
|
298724
298058
|
configurable: true,
|
|
298725
298059
|
enumerable: true,
|
|
298726
298060
|
writable: true,
|
|
298727
298061
|
initializer: null
|
|
298728
|
-
}),
|
|
298062
|
+
}), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, "width", [_dec13], {
|
|
298729
298063
|
configurable: true,
|
|
298730
298064
|
enumerable: true,
|
|
298731
298065
|
writable: true,
|
|
298732
298066
|
initializer: null
|
|
298733
|
-
}),
|
|
298067
|
+
}), _descriptor13 = _applyDecoratedDescriptor(_class2.prototype, "textTopPadding", [_dec14], {
|
|
298734
298068
|
configurable: true,
|
|
298735
298069
|
enumerable: true,
|
|
298736
298070
|
writable: true,
|
|
298737
298071
|
initializer: null
|
|
298738
|
-
}),
|
|
298072
|
+
}), _descriptor14 = _applyDecoratedDescriptor(_class2.prototype, "size", [_dec15], {
|
|
298739
298073
|
configurable: true,
|
|
298740
298074
|
enumerable: true,
|
|
298741
298075
|
writable: true,
|
|
298742
298076
|
initializer: null
|
|
298743
|
-
}),
|
|
298077
|
+
}), _descriptor15 = _applyDecoratedDescriptor(_class2.prototype, "children", [_dec16], {
|
|
298744
298078
|
configurable: true,
|
|
298745
298079
|
enumerable: true,
|
|
298746
298080
|
writable: true,
|
|
298747
298081
|
initializer: null
|
|
298748
298082
|
})), _class2)) || _class);
|
|
298749
|
-
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 {
|
|
298750
298084
|
constructor(...args) {
|
|
298751
298085
|
super(...args);
|
|
298752
298086
|
|
|
298753
|
-
_initializerDefineProperty(this, "dataScope",
|
|
298087
|
+
_initializerDefineProperty(this, "dataScope", _descriptor16, this);
|
|
298754
298088
|
|
|
298755
|
-
_initializerDefineProperty(this, "optional",
|
|
298089
|
+
_initializerDefineProperty(this, "optional", _descriptor17, this);
|
|
298756
298090
|
|
|
298757
|
-
_initializerDefineProperty(this, "borderBottom",
|
|
298091
|
+
_initializerDefineProperty(this, "borderBottom", _descriptor18, this);
|
|
298758
298092
|
|
|
298759
|
-
_initializerDefineProperty(this, "kind",
|
|
298093
|
+
_initializerDefineProperty(this, "kind", _descriptor19, this);
|
|
298760
298094
|
|
|
298761
|
-
_initializerDefineProperty(this, "subkind",
|
|
298095
|
+
_initializerDefineProperty(this, "subkind", _descriptor20, this);
|
|
298762
298096
|
|
|
298763
|
-
_initializerDefineProperty(this, "columns",
|
|
298097
|
+
_initializerDefineProperty(this, "columns", _descriptor21, this);
|
|
298764
298098
|
}
|
|
298765
298099
|
|
|
298766
298100
|
getOwnPath() {
|
|
298767
298101
|
return this.dataScope.getOwnPath();
|
|
298768
298102
|
}
|
|
298769
298103
|
|
|
298770
|
-
}, (
|
|
298104
|
+
}, (_descriptor16 = _applyDecoratedDescriptor(_class5.prototype, "dataScope", [_dec18], {
|
|
298771
298105
|
configurable: true,
|
|
298772
298106
|
enumerable: true,
|
|
298773
298107
|
writable: true,
|
|
298774
298108
|
initializer: null
|
|
298775
|
-
}),
|
|
298109
|
+
}), _descriptor17 = _applyDecoratedDescriptor(_class5.prototype, "optional", [_dec19], {
|
|
298776
298110
|
configurable: true,
|
|
298777
298111
|
enumerable: true,
|
|
298778
298112
|
writable: true,
|
|
298779
298113
|
initializer: null
|
|
298780
|
-
}),
|
|
298114
|
+
}), _descriptor18 = _applyDecoratedDescriptor(_class5.prototype, "borderBottom", [_dec20], {
|
|
298781
298115
|
configurable: true,
|
|
298782
298116
|
enumerable: true,
|
|
298783
298117
|
writable: true,
|
|
298784
298118
|
initializer: null
|
|
298785
|
-
}),
|
|
298119
|
+
}), _descriptor19 = _applyDecoratedDescriptor(_class5.prototype, "kind", [_dec21], {
|
|
298786
298120
|
configurable: true,
|
|
298787
298121
|
enumerable: true,
|
|
298788
298122
|
writable: true,
|
|
298789
298123
|
initializer: null
|
|
298790
|
-
}),
|
|
298124
|
+
}), _descriptor20 = _applyDecoratedDescriptor(_class5.prototype, "subkind", [_dec22], {
|
|
298791
298125
|
configurable: true,
|
|
298792
298126
|
enumerable: true,
|
|
298793
298127
|
writable: true,
|
|
298794
298128
|
initializer: null
|
|
298795
|
-
}),
|
|
298129
|
+
}), _descriptor21 = _applyDecoratedDescriptor(_class5.prototype, "columns", [_dec23], {
|
|
298796
298130
|
configurable: true,
|
|
298797
298131
|
enumerable: true,
|
|
298798
298132
|
writable: true,
|
|
298799
298133
|
initializer: null
|
|
298800
298134
|
})), _class5)) || _class4);
|
|
298801
|
-
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 {
|
|
298802
298136
|
constructor(...args) {
|
|
298803
298137
|
super(...args);
|
|
298804
298138
|
|
|
298805
|
-
_initializerDefineProperty(this, "width",
|
|
298139
|
+
_initializerDefineProperty(this, "width", _descriptor22, this);
|
|
298806
298140
|
}
|
|
298807
298141
|
|
|
298808
|
-
}, (
|
|
298142
|
+
}, (_descriptor22 = _applyDecoratedDescriptor(_class8.prototype, "width", [_dec25], {
|
|
298809
298143
|
configurable: true,
|
|
298810
298144
|
enumerable: true,
|
|
298811
298145
|
writable: true,
|
|
298812
298146
|
initializer: null
|
|
298813
298147
|
})), _class8)) || _class7);
|
|
298814
|
-
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 {
|
|
298815
298149
|
constructor(...args) {
|
|
298816
298150
|
super(...args);
|
|
298817
298151
|
|
|
298818
|
-
_initializerDefineProperty(this, "cols",
|
|
298152
|
+
_initializerDefineProperty(this, "cols", _descriptor23, this);
|
|
298819
298153
|
}
|
|
298820
298154
|
|
|
298821
|
-
}, (
|
|
298155
|
+
}, (_descriptor23 = _applyDecoratedDescriptor(_class11.prototype, "cols", [_dec27], {
|
|
298822
298156
|
configurable: true,
|
|
298823
298157
|
enumerable: true,
|
|
298824
298158
|
writable: true,
|
|
298825
298159
|
initializer: null
|
|
298826
298160
|
})), _class11)) || _class10);
|
|
298827
|
-
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 {
|
|
298828
298162
|
constructor(...args) {
|
|
298829
298163
|
super(...args);
|
|
298830
298164
|
|
|
298831
|
-
_initializerDefineProperty(this, "stickyHeader",
|
|
298165
|
+
_initializerDefineProperty(this, "stickyHeader", _descriptor24, this);
|
|
298832
298166
|
|
|
298833
|
-
_initializerDefineProperty(this, "dataScope",
|
|
298167
|
+
_initializerDefineProperty(this, "dataScope", _descriptor25, this);
|
|
298834
298168
|
|
|
298835
|
-
_initializerDefineProperty(this, "optional",
|
|
298169
|
+
_initializerDefineProperty(this, "optional", _descriptor26, this);
|
|
298836
298170
|
|
|
298837
|
-
_initializerDefineProperty(this, "grayColumn",
|
|
298171
|
+
_initializerDefineProperty(this, "grayColumn", _descriptor27, this);
|
|
298838
298172
|
|
|
298839
|
-
_initializerDefineProperty(this, "align",
|
|
298173
|
+
_initializerDefineProperty(this, "align", _descriptor28, this);
|
|
298840
298174
|
|
|
298841
|
-
_initializerDefineProperty(this, "colgroup",
|
|
298175
|
+
_initializerDefineProperty(this, "colgroup", _descriptor29, this);
|
|
298842
298176
|
|
|
298843
|
-
_initializerDefineProperty(this, "rows",
|
|
298177
|
+
_initializerDefineProperty(this, "rows", _descriptor30, this);
|
|
298844
298178
|
}
|
|
298845
298179
|
|
|
298846
298180
|
getOwnPath() {
|
|
@@ -298855,37 +298189,37 @@ let SimpleTableNode = (_dec29 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED
|
|
|
298855
298189
|
return this.rows.filter(row => row.kind == undefined || row.kind === "hr");
|
|
298856
298190
|
}
|
|
298857
298191
|
|
|
298858
|
-
}, (
|
|
298192
|
+
}, (_descriptor24 = _applyDecoratedDescriptor(_class14.prototype, "stickyHeader", [_dec29], {
|
|
298859
298193
|
configurable: true,
|
|
298860
298194
|
enumerable: true,
|
|
298861
298195
|
writable: true,
|
|
298862
298196
|
initializer: null
|
|
298863
|
-
}),
|
|
298197
|
+
}), _descriptor25 = _applyDecoratedDescriptor(_class14.prototype, "dataScope", [_dec30], {
|
|
298864
298198
|
configurable: true,
|
|
298865
298199
|
enumerable: true,
|
|
298866
298200
|
writable: true,
|
|
298867
298201
|
initializer: null
|
|
298868
|
-
}),
|
|
298202
|
+
}), _descriptor26 = _applyDecoratedDescriptor(_class14.prototype, "optional", [_dec31], {
|
|
298869
298203
|
configurable: true,
|
|
298870
298204
|
enumerable: true,
|
|
298871
298205
|
writable: true,
|
|
298872
298206
|
initializer: null
|
|
298873
|
-
}),
|
|
298207
|
+
}), _descriptor27 = _applyDecoratedDescriptor(_class14.prototype, "grayColumn", [_dec32], {
|
|
298874
298208
|
configurable: true,
|
|
298875
298209
|
enumerable: true,
|
|
298876
298210
|
writable: true,
|
|
298877
298211
|
initializer: null
|
|
298878
|
-
}),
|
|
298212
|
+
}), _descriptor28 = _applyDecoratedDescriptor(_class14.prototype, "align", [_dec33], {
|
|
298879
298213
|
configurable: true,
|
|
298880
298214
|
enumerable: true,
|
|
298881
298215
|
writable: true,
|
|
298882
298216
|
initializer: null
|
|
298883
|
-
}),
|
|
298217
|
+
}), _descriptor29 = _applyDecoratedDescriptor(_class14.prototype, "colgroup", [_dec34], {
|
|
298884
298218
|
configurable: true,
|
|
298885
298219
|
enumerable: true,
|
|
298886
298220
|
writable: true,
|
|
298887
298221
|
initializer: null
|
|
298888
|
-
}),
|
|
298222
|
+
}), _descriptor30 = _applyDecoratedDescriptor(_class14.prototype, "rows", [_dec35], {
|
|
298889
298223
|
configurable: true,
|
|
298890
298224
|
enumerable: true,
|
|
298891
298225
|
writable: true,
|
|
@@ -300196,8 +299530,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
300196
299530
|
/* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
|
|
300197
299531
|
/* harmony import */ var _Multilinefield_GetPluralTitles__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Multilinefield/GetPluralTitles */ "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/Multilinefield/GetPluralTitles.ts");
|
|
300198
299532
|
/* harmony import */ var _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../common/XmlParser/XmlNode */ "./Generator/src/common/XmlParser/XmlNode.ts");
|
|
300199
|
-
/* harmony import */ var _SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../SugarNodes/SugarNodeUtils */ "./Generator/src/generators/markupGenerator/SugarNodes/SugarNodeUtils.ts");
|
|
300200
|
-
|
|
300201
299533
|
|
|
300202
299534
|
|
|
300203
299535
|
|
|
@@ -300224,15 +299556,6 @@ class ColumnConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.S
|
|
|
300224
299556
|
multiLineFieldMarkupBuilder.prop(x => x.backgroundColor).set("#f3f3f3");
|
|
300225
299557
|
multiLineFieldMarkupBuilder.prop(x => x.hintOnAdd).set(node.hintOnAdd);
|
|
300226
299558
|
multiLineFieldMarkupBuilder.prop(x => x.disableButtons).set(node.disabled);
|
|
300227
|
-
|
|
300228
|
-
if (node.disabled2 != undefined) {
|
|
300229
|
-
multiLineFieldMarkupBuilder.prop(x => x.disableButtons2).set((0,_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_5__.buildExpressionPropValue)(node.disabled2));
|
|
300230
|
-
|
|
300231
|
-
if (this.getLegacyNode().getParent() != undefined) {
|
|
300232
|
-
multiLineFieldMarkupBuilder.prop(x => x.evaluatorsContextPath).set(this.getEvaluatorsContextPathExpression());
|
|
300233
|
-
}
|
|
300234
|
-
}
|
|
300235
|
-
|
|
300236
299559
|
return multiLineFieldMarkupBuilder.buildConverterResult();
|
|
300237
299560
|
} else {
|
|
300238
299561
|
if (node.disabled != undefined) {
|
|
@@ -300929,7 +300252,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
300929
300252
|
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
300930
300253
|
/* harmony import */ var _Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../Commons/DocumentationLinks */ "./Generator/src/generators/markupGenerator/ElementProcessors/Commons/DocumentationLinks.ts");
|
|
300931
300254
|
/* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
|
|
300932
|
-
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;
|
|
300933
300256
|
|
|
300934
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 }); }
|
|
300935
300258
|
|
|
@@ -300943,7 +300266,7 @@ function _initializerWarningHelper(descriptor, context) { throw new Error('Decor
|
|
|
300943
300266
|
|
|
300944
300267
|
|
|
300945
300268
|
|
|
300946
|
-
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 {
|
|
300947
300270
|
constructor(...args) {
|
|
300948
300271
|
super(...args);
|
|
300949
300272
|
|
|
@@ -300953,39 +300276,37 @@ let CrossfitTableColumnNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IM
|
|
|
300953
300276
|
|
|
300954
300277
|
_initializerDefineProperty(this, "disabled", _descriptor3, this);
|
|
300955
300278
|
|
|
300956
|
-
_initializerDefineProperty(this, "
|
|
300957
|
-
|
|
300958
|
-
_initializerDefineProperty(this, "className", _descriptor5, this);
|
|
300279
|
+
_initializerDefineProperty(this, "className", _descriptor4, this);
|
|
300959
300280
|
|
|
300960
|
-
_initializerDefineProperty(this, "widths",
|
|
300281
|
+
_initializerDefineProperty(this, "widths", _descriptor5, this);
|
|
300961
300282
|
|
|
300962
|
-
_initializerDefineProperty(this, "titles",
|
|
300283
|
+
_initializerDefineProperty(this, "titles", _descriptor6, this);
|
|
300963
300284
|
|
|
300964
|
-
_initializerDefineProperty(this, "hintOnAdd",
|
|
300285
|
+
_initializerDefineProperty(this, "hintOnAdd", _descriptor7, this);
|
|
300965
300286
|
|
|
300966
|
-
_initializerDefineProperty(this, "groupText",
|
|
300287
|
+
_initializerDefineProperty(this, "groupText", _descriptor8, this);
|
|
300967
300288
|
|
|
300968
|
-
_initializerDefineProperty(this, "key",
|
|
300289
|
+
_initializerDefineProperty(this, "key", _descriptor9, this);
|
|
300969
300290
|
|
|
300970
|
-
_initializerDefineProperty(this, "colspan",
|
|
300291
|
+
_initializerDefineProperty(this, "colspan", _descriptor10, this);
|
|
300971
300292
|
|
|
300972
|
-
_initializerDefineProperty(this, "hiddenGroup",
|
|
300293
|
+
_initializerDefineProperty(this, "hiddenGroup", _descriptor11, this);
|
|
300973
300294
|
|
|
300974
|
-
_initializerDefineProperty(this, "empty",
|
|
300295
|
+
_initializerDefineProperty(this, "empty", _descriptor12, this);
|
|
300975
300296
|
|
|
300976
|
-
_initializerDefineProperty(this, "width",
|
|
300297
|
+
_initializerDefineProperty(this, "width", _descriptor13, this);
|
|
300977
300298
|
|
|
300978
|
-
_initializerDefineProperty(this, "rowspan",
|
|
300299
|
+
_initializerDefineProperty(this, "rowspan", _descriptor14, this);
|
|
300979
300300
|
|
|
300980
|
-
_initializerDefineProperty(this, "horizontalAlign",
|
|
300301
|
+
_initializerDefineProperty(this, "horizontalAlign", _descriptor15, this);
|
|
300981
300302
|
|
|
300982
|
-
_initializerDefineProperty(this, "requiredempty",
|
|
300303
|
+
_initializerDefineProperty(this, "requiredempty", _descriptor16, this);
|
|
300983
300304
|
|
|
300984
|
-
_initializerDefineProperty(this, "indent",
|
|
300305
|
+
_initializerDefineProperty(this, "indent", _descriptor17, this);
|
|
300985
300306
|
|
|
300986
|
-
_initializerDefineProperty(this, "grouped",
|
|
300307
|
+
_initializerDefineProperty(this, "grouped", _descriptor18, this);
|
|
300987
300308
|
|
|
300988
|
-
_initializerDefineProperty(this, "children",
|
|
300309
|
+
_initializerDefineProperty(this, "children", _descriptor19, this);
|
|
300989
300310
|
}
|
|
300990
300311
|
|
|
300991
300312
|
getOwnPath() {
|
|
@@ -301013,148 +300334,143 @@ let CrossfitTableColumnNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IM
|
|
|
301013
300334
|
enumerable: true,
|
|
301014
300335
|
writable: true,
|
|
301015
300336
|
initializer: null
|
|
301016
|
-
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
301017
|
-
configurable: true,
|
|
301018
|
-
enumerable: true,
|
|
301019
|
-
writable: true,
|
|
301020
|
-
initializer: null
|
|
301021
|
-
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "className", [_dec6], {
|
|
300337
|
+
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "className", [_dec5], {
|
|
301022
300338
|
configurable: true,
|
|
301023
300339
|
enumerable: true,
|
|
301024
300340
|
writable: true,
|
|
301025
300341
|
initializer: null
|
|
301026
|
-
}),
|
|
300342
|
+
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "widths", [_dec6], {
|
|
301027
300343
|
configurable: true,
|
|
301028
300344
|
enumerable: true,
|
|
301029
300345
|
writable: true,
|
|
301030
300346
|
initializer: null
|
|
301031
|
-
}),
|
|
300347
|
+
}), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "titles", [_dec7], {
|
|
301032
300348
|
configurable: true,
|
|
301033
300349
|
enumerable: true,
|
|
301034
300350
|
writable: true,
|
|
301035
300351
|
initializer: null
|
|
301036
|
-
}),
|
|
300352
|
+
}), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, "hintOnAdd", [_dec8], {
|
|
301037
300353
|
configurable: true,
|
|
301038
300354
|
enumerable: true,
|
|
301039
300355
|
writable: true,
|
|
301040
300356
|
initializer: null
|
|
301041
|
-
}),
|
|
300357
|
+
}), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "groupText", [_dec9], {
|
|
301042
300358
|
configurable: true,
|
|
301043
300359
|
enumerable: true,
|
|
301044
300360
|
writable: true,
|
|
301045
300361
|
initializer: null
|
|
301046
|
-
}),
|
|
300362
|
+
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "key", [_dec10], {
|
|
301047
300363
|
configurable: true,
|
|
301048
300364
|
enumerable: true,
|
|
301049
300365
|
writable: true,
|
|
301050
300366
|
initializer: null
|
|
301051
|
-
}),
|
|
300367
|
+
}), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, "colspan", [_dec11], {
|
|
301052
300368
|
configurable: true,
|
|
301053
300369
|
enumerable: true,
|
|
301054
300370
|
writable: true,
|
|
301055
300371
|
initializer: null
|
|
301056
|
-
}),
|
|
300372
|
+
}), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, "hiddenGroup", [_dec12], {
|
|
301057
300373
|
configurable: true,
|
|
301058
300374
|
enumerable: true,
|
|
301059
300375
|
writable: true,
|
|
301060
300376
|
initializer: null
|
|
301061
|
-
}),
|
|
300377
|
+
}), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, "empty", [_dec13], {
|
|
301062
300378
|
configurable: true,
|
|
301063
300379
|
enumerable: true,
|
|
301064
300380
|
writable: true,
|
|
301065
300381
|
initializer: null
|
|
301066
|
-
}),
|
|
300382
|
+
}), _descriptor13 = _applyDecoratedDescriptor(_class2.prototype, "width", [_dec14], {
|
|
301067
300383
|
configurable: true,
|
|
301068
300384
|
enumerable: true,
|
|
301069
300385
|
writable: true,
|
|
301070
300386
|
initializer: null
|
|
301071
|
-
}),
|
|
300387
|
+
}), _descriptor14 = _applyDecoratedDescriptor(_class2.prototype, "rowspan", [_dec15], {
|
|
301072
300388
|
configurable: true,
|
|
301073
300389
|
enumerable: true,
|
|
301074
300390
|
writable: true,
|
|
301075
300391
|
initializer: null
|
|
301076
|
-
}),
|
|
300392
|
+
}), _descriptor15 = _applyDecoratedDescriptor(_class2.prototype, "horizontalAlign", [_dec16], {
|
|
301077
300393
|
configurable: true,
|
|
301078
300394
|
enumerable: true,
|
|
301079
300395
|
writable: true,
|
|
301080
300396
|
initializer: null
|
|
301081
|
-
}),
|
|
300397
|
+
}), _descriptor16 = _applyDecoratedDescriptor(_class2.prototype, "requiredempty", [_dec17], {
|
|
301082
300398
|
configurable: true,
|
|
301083
300399
|
enumerable: true,
|
|
301084
300400
|
writable: true,
|
|
301085
300401
|
initializer: null
|
|
301086
|
-
}),
|
|
300402
|
+
}), _descriptor17 = _applyDecoratedDescriptor(_class2.prototype, "indent", [_dec18], {
|
|
301087
300403
|
configurable: true,
|
|
301088
300404
|
enumerable: true,
|
|
301089
300405
|
writable: true,
|
|
301090
300406
|
initializer: null
|
|
301091
|
-
}),
|
|
300407
|
+
}), _descriptor18 = _applyDecoratedDescriptor(_class2.prototype, "grouped", [_dec19], {
|
|
301092
300408
|
configurable: true,
|
|
301093
300409
|
enumerable: true,
|
|
301094
300410
|
writable: true,
|
|
301095
300411
|
initializer: null
|
|
301096
|
-
}),
|
|
300412
|
+
}), _descriptor19 = _applyDecoratedDescriptor(_class2.prototype, "children", [_dec20], {
|
|
301097
300413
|
configurable: true,
|
|
301098
300414
|
enumerable: true,
|
|
301099
300415
|
writable: true,
|
|
301100
300416
|
initializer: null
|
|
301101
300417
|
})), _class2)) || _class);
|
|
301102
|
-
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 {
|
|
301103
300419
|
constructor(...args) {
|
|
301104
300420
|
super(...args);
|
|
301105
300421
|
|
|
301106
|
-
_initializerDefineProperty(this, "kind",
|
|
300422
|
+
_initializerDefineProperty(this, "kind", _descriptor20, this);
|
|
301107
300423
|
|
|
301108
|
-
_initializerDefineProperty(this, "subkind",
|
|
300424
|
+
_initializerDefineProperty(this, "subkind", _descriptor21, this);
|
|
301109
300425
|
|
|
301110
|
-
_initializerDefineProperty(this, "columns",
|
|
300426
|
+
_initializerDefineProperty(this, "columns", _descriptor22, this);
|
|
301111
300427
|
}
|
|
301112
300428
|
|
|
301113
|
-
}, (
|
|
300429
|
+
}, (_descriptor20 = _applyDecoratedDescriptor(_class5.prototype, "kind", [_dec22], {
|
|
301114
300430
|
configurable: true,
|
|
301115
300431
|
enumerable: true,
|
|
301116
300432
|
writable: true,
|
|
301117
300433
|
initializer: null
|
|
301118
|
-
}),
|
|
300434
|
+
}), _descriptor21 = _applyDecoratedDescriptor(_class5.prototype, "subkind", [_dec23], {
|
|
301119
300435
|
configurable: true,
|
|
301120
300436
|
enumerable: true,
|
|
301121
300437
|
writable: true,
|
|
301122
300438
|
initializer: null
|
|
301123
|
-
}),
|
|
300439
|
+
}), _descriptor22 = _applyDecoratedDescriptor(_class5.prototype, "columns", [_dec24], {
|
|
301124
300440
|
configurable: true,
|
|
301125
300441
|
enumerable: true,
|
|
301126
300442
|
writable: true,
|
|
301127
300443
|
initializer: null
|
|
301128
300444
|
})), _class5)) || _class4);
|
|
301129
|
-
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 {
|
|
301130
300446
|
constructor(...args) {
|
|
301131
300447
|
super(...args);
|
|
301132
300448
|
|
|
301133
|
-
_initializerDefineProperty(this, "dataScope",
|
|
300449
|
+
_initializerDefineProperty(this, "dataScope", _descriptor23, this);
|
|
301134
300450
|
|
|
301135
|
-
_initializerDefineProperty(this, "optional",
|
|
300451
|
+
_initializerDefineProperty(this, "optional", _descriptor24, this);
|
|
301136
300452
|
|
|
301137
|
-
_initializerDefineProperty(this, "defaultChildren",
|
|
300453
|
+
_initializerDefineProperty(this, "defaultChildren", _descriptor25, this);
|
|
301138
300454
|
|
|
301139
|
-
_initializerDefineProperty(this, "focusByHotkey",
|
|
300455
|
+
_initializerDefineProperty(this, "focusByHotkey", _descriptor26, this);
|
|
301140
300456
|
|
|
301141
|
-
_initializerDefineProperty(this, "instancesPerPage",
|
|
300457
|
+
_initializerDefineProperty(this, "instancesPerPage", _descriptor27, this);
|
|
301142
300458
|
|
|
301143
|
-
_initializerDefineProperty(this, "pageStep",
|
|
300459
|
+
_initializerDefineProperty(this, "pageStep", _descriptor28, this);
|
|
301144
300460
|
|
|
301145
|
-
_initializerDefineProperty(this, "removebutton",
|
|
300461
|
+
_initializerDefineProperty(this, "removebutton", _descriptor29, this);
|
|
301146
300462
|
|
|
301147
|
-
_initializerDefineProperty(this, "rowmenu",
|
|
300463
|
+
_initializerDefineProperty(this, "rowmenu", _descriptor30, this);
|
|
301148
300464
|
|
|
301149
|
-
_initializerDefineProperty(this, "rows",
|
|
300465
|
+
_initializerDefineProperty(this, "rows", _descriptor31, this);
|
|
301150
300466
|
|
|
301151
|
-
_initializerDefineProperty(this, "addbutton",
|
|
300467
|
+
_initializerDefineProperty(this, "addbutton", _descriptor32, this);
|
|
301152
300468
|
|
|
301153
|
-
_initializerDefineProperty(this, "addType",
|
|
300469
|
+
_initializerDefineProperty(this, "addType", _descriptor33, this);
|
|
301154
300470
|
|
|
301155
|
-
_initializerDefineProperty(this, "usepager",
|
|
300471
|
+
_initializerDefineProperty(this, "usepager", _descriptor34, this);
|
|
301156
300472
|
|
|
301157
|
-
_initializerDefineProperty(this, "storeFilters",
|
|
300473
|
+
_initializerDefineProperty(this, "storeFilters", _descriptor35, this);
|
|
301158
300474
|
}
|
|
301159
300475
|
|
|
301160
300476
|
getOwnPath() {
|
|
@@ -301165,219 +300481,219 @@ let MultilineNode = (_dec26 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_M
|
|
|
301165
300481
|
return true;
|
|
301166
300482
|
}
|
|
301167
300483
|
|
|
301168
|
-
}, (
|
|
300484
|
+
}, (_descriptor23 = _applyDecoratedDescriptor(_class8.prototype, "dataScope", [_dec26], {
|
|
301169
300485
|
configurable: true,
|
|
301170
300486
|
enumerable: true,
|
|
301171
300487
|
writable: true,
|
|
301172
300488
|
initializer: null
|
|
301173
|
-
}),
|
|
300489
|
+
}), _descriptor24 = _applyDecoratedDescriptor(_class8.prototype, "optional", [_dec27], {
|
|
301174
300490
|
configurable: true,
|
|
301175
300491
|
enumerable: true,
|
|
301176
300492
|
writable: true,
|
|
301177
300493
|
initializer: null
|
|
301178
|
-
}),
|
|
300494
|
+
}), _descriptor25 = _applyDecoratedDescriptor(_class8.prototype, "defaultChildren", [_dec28], {
|
|
301179
300495
|
configurable: true,
|
|
301180
300496
|
enumerable: true,
|
|
301181
300497
|
writable: true,
|
|
301182
300498
|
initializer: null
|
|
301183
|
-
}),
|
|
300499
|
+
}), _descriptor26 = _applyDecoratedDescriptor(_class8.prototype, "focusByHotkey", [_dec29], {
|
|
301184
300500
|
configurable: true,
|
|
301185
300501
|
enumerable: true,
|
|
301186
300502
|
writable: true,
|
|
301187
300503
|
initializer: null
|
|
301188
|
-
}),
|
|
300504
|
+
}), _descriptor27 = _applyDecoratedDescriptor(_class8.prototype, "instancesPerPage", [_dec30], {
|
|
301189
300505
|
configurable: true,
|
|
301190
300506
|
enumerable: true,
|
|
301191
300507
|
writable: true,
|
|
301192
300508
|
initializer: null
|
|
301193
|
-
}),
|
|
300509
|
+
}), _descriptor28 = _applyDecoratedDescriptor(_class8.prototype, "pageStep", [_dec31], {
|
|
301194
300510
|
configurable: true,
|
|
301195
300511
|
enumerable: true,
|
|
301196
300512
|
writable: true,
|
|
301197
300513
|
initializer: null
|
|
301198
|
-
}),
|
|
300514
|
+
}), _descriptor29 = _applyDecoratedDescriptor(_class8.prototype, "removebutton", [_dec32], {
|
|
301199
300515
|
configurable: true,
|
|
301200
300516
|
enumerable: true,
|
|
301201
300517
|
writable: true,
|
|
301202
300518
|
initializer: null
|
|
301203
|
-
}),
|
|
300519
|
+
}), _descriptor30 = _applyDecoratedDescriptor(_class8.prototype, "rowmenu", [_dec33], {
|
|
301204
300520
|
configurable: true,
|
|
301205
300521
|
enumerable: true,
|
|
301206
300522
|
writable: true,
|
|
301207
300523
|
initializer: null
|
|
301208
|
-
}),
|
|
300524
|
+
}), _descriptor31 = _applyDecoratedDescriptor(_class8.prototype, "rows", [_dec34], {
|
|
301209
300525
|
configurable: true,
|
|
301210
300526
|
enumerable: true,
|
|
301211
300527
|
writable: true,
|
|
301212
300528
|
initializer: null
|
|
301213
|
-
}),
|
|
300529
|
+
}), _descriptor32 = _applyDecoratedDescriptor(_class8.prototype, "addbutton", [_dec35], {
|
|
301214
300530
|
configurable: true,
|
|
301215
300531
|
enumerable: true,
|
|
301216
300532
|
writable: true,
|
|
301217
300533
|
initializer: null
|
|
301218
|
-
}),
|
|
300534
|
+
}), _descriptor33 = _applyDecoratedDescriptor(_class8.prototype, "addType", [_dec36], {
|
|
301219
300535
|
configurable: true,
|
|
301220
300536
|
enumerable: true,
|
|
301221
300537
|
writable: true,
|
|
301222
300538
|
initializer: null
|
|
301223
|
-
}),
|
|
300539
|
+
}), _descriptor34 = _applyDecoratedDescriptor(_class8.prototype, "usepager", [_dec37], {
|
|
301224
300540
|
configurable: true,
|
|
301225
300541
|
enumerable: true,
|
|
301226
300542
|
writable: true,
|
|
301227
300543
|
initializer: null
|
|
301228
|
-
}),
|
|
300544
|
+
}), _descriptor35 = _applyDecoratedDescriptor(_class8.prototype, "storeFilters", [_dec38], {
|
|
301229
300545
|
configurable: true,
|
|
301230
300546
|
enumerable: true,
|
|
301231
300547
|
writable: true,
|
|
301232
300548
|
initializer: null
|
|
301233
300549
|
})), _class8)) || _class7);
|
|
301234
|
-
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 {
|
|
301235
300551
|
constructor(...args) {
|
|
301236
300552
|
super(...args);
|
|
301237
300553
|
|
|
301238
|
-
_initializerDefineProperty(this, "align",
|
|
300554
|
+
_initializerDefineProperty(this, "align", _descriptor36, this);
|
|
301239
300555
|
|
|
301240
|
-
_initializerDefineProperty(this, "children",
|
|
300556
|
+
_initializerDefineProperty(this, "children", _descriptor37, this);
|
|
301241
300557
|
}
|
|
301242
300558
|
|
|
301243
|
-
}, (
|
|
300559
|
+
}, (_descriptor36 = _applyDecoratedDescriptor(_class11.prototype, "align", [_dec40], {
|
|
301244
300560
|
configurable: true,
|
|
301245
300561
|
enumerable: true,
|
|
301246
300562
|
writable: true,
|
|
301247
300563
|
initializer: null
|
|
301248
|
-
}),
|
|
300564
|
+
}), _descriptor37 = _applyDecoratedDescriptor(_class11.prototype, "children", [_dec41], {
|
|
301249
300565
|
configurable: true,
|
|
301250
300566
|
enumerable: true,
|
|
301251
300567
|
writable: true,
|
|
301252
300568
|
initializer: null
|
|
301253
300569
|
})), _class11)) || _class10);
|
|
301254
|
-
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 {
|
|
301255
300571
|
constructor(...args) {
|
|
301256
300572
|
super(...args);
|
|
301257
300573
|
|
|
301258
|
-
_initializerDefineProperty(this, "dataReference",
|
|
300574
|
+
_initializerDefineProperty(this, "dataReference", _descriptor38, this);
|
|
301259
300575
|
|
|
301260
|
-
_initializerDefineProperty(this, "multilinePath",
|
|
300576
|
+
_initializerDefineProperty(this, "multilinePath", _descriptor39, this);
|
|
301261
300577
|
|
|
301262
|
-
_initializerDefineProperty(this, "path",
|
|
300578
|
+
_initializerDefineProperty(this, "path", _descriptor40, this);
|
|
301263
300579
|
|
|
301264
|
-
_initializerDefineProperty(this, "titles",
|
|
300580
|
+
_initializerDefineProperty(this, "titles", _descriptor41, this);
|
|
301265
300581
|
|
|
301266
|
-
_initializerDefineProperty(this, "notFoundText",
|
|
300582
|
+
_initializerDefineProperty(this, "notFoundText", _descriptor42, this);
|
|
301267
300583
|
}
|
|
301268
300584
|
|
|
301269
300585
|
getOwnPath() {
|
|
301270
300586
|
return this.dataReference.getOwnPath();
|
|
301271
300587
|
}
|
|
301272
300588
|
|
|
301273
|
-
}, (
|
|
300589
|
+
}, (_descriptor38 = _applyDecoratedDescriptor(_class14.prototype, "dataReference", [_dec43], {
|
|
301274
300590
|
configurable: true,
|
|
301275
300591
|
enumerable: true,
|
|
301276
300592
|
writable: true,
|
|
301277
300593
|
initializer: null
|
|
301278
|
-
}),
|
|
300594
|
+
}), _descriptor39 = _applyDecoratedDescriptor(_class14.prototype, "multilinePath", [_dec44], {
|
|
301279
300595
|
configurable: true,
|
|
301280
300596
|
enumerable: true,
|
|
301281
300597
|
writable: true,
|
|
301282
300598
|
initializer: null
|
|
301283
|
-
}),
|
|
300599
|
+
}), _descriptor40 = _applyDecoratedDescriptor(_class14.prototype, "path", [_dec45], {
|
|
301284
300600
|
configurable: true,
|
|
301285
300601
|
enumerable: true,
|
|
301286
300602
|
writable: true,
|
|
301287
300603
|
initializer: null
|
|
301288
|
-
}),
|
|
300604
|
+
}), _descriptor41 = _applyDecoratedDescriptor(_class14.prototype, "titles", [_dec46], {
|
|
301289
300605
|
configurable: true,
|
|
301290
300606
|
enumerable: true,
|
|
301291
300607
|
writable: true,
|
|
301292
300608
|
initializer: null
|
|
301293
|
-
}),
|
|
300609
|
+
}), _descriptor42 = _applyDecoratedDescriptor(_class14.prototype, "notFoundText", [_dec47], {
|
|
301294
300610
|
configurable: true,
|
|
301295
300611
|
enumerable: true,
|
|
301296
300612
|
writable: true,
|
|
301297
300613
|
initializer: null
|
|
301298
300614
|
})), _class14)) || _class13);
|
|
301299
|
-
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 {
|
|
301300
300616
|
constructor(...args) {
|
|
301301
300617
|
super(...args);
|
|
301302
300618
|
|
|
301303
|
-
_initializerDefineProperty(this, "children",
|
|
300619
|
+
_initializerDefineProperty(this, "children", _descriptor43, this);
|
|
301304
300620
|
}
|
|
301305
300621
|
|
|
301306
|
-
}, (
|
|
300622
|
+
}, (_descriptor43 = _applyDecoratedDescriptor(_class17.prototype, "children", [_dec49], {
|
|
301307
300623
|
configurable: true,
|
|
301308
300624
|
enumerable: true,
|
|
301309
300625
|
writable: true,
|
|
301310
300626
|
initializer: null
|
|
301311
300627
|
})), _class17)) || _class16);
|
|
301312
|
-
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 {
|
|
301313
300629
|
constructor(...args) {
|
|
301314
300630
|
super(...args);
|
|
301315
300631
|
|
|
301316
|
-
_initializerDefineProperty(this, "width",
|
|
300632
|
+
_initializerDefineProperty(this, "width", _descriptor44, this);
|
|
301317
300633
|
}
|
|
301318
300634
|
|
|
301319
|
-
}, (
|
|
300635
|
+
}, (_descriptor44 = _applyDecoratedDescriptor(_class20.prototype, "width", [_dec51], {
|
|
301320
300636
|
configurable: true,
|
|
301321
300637
|
enumerable: true,
|
|
301322
300638
|
writable: true,
|
|
301323
300639
|
initializer: null
|
|
301324
300640
|
})), _class20)) || _class19);
|
|
301325
|
-
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 {
|
|
301326
300642
|
constructor(...args) {
|
|
301327
300643
|
super(...args);
|
|
301328
300644
|
|
|
301329
|
-
_initializerDefineProperty(this, "cols",
|
|
300645
|
+
_initializerDefineProperty(this, "cols", _descriptor45, this);
|
|
301330
300646
|
}
|
|
301331
300647
|
|
|
301332
|
-
}, (
|
|
300648
|
+
}, (_descriptor45 = _applyDecoratedDescriptor(_class23.prototype, "cols", [_dec53], {
|
|
301333
300649
|
configurable: true,
|
|
301334
300650
|
enumerable: true,
|
|
301335
300651
|
writable: true,
|
|
301336
300652
|
initializer: null
|
|
301337
300653
|
})), _class23)) || _class22);
|
|
301338
|
-
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 {
|
|
301339
300655
|
constructor(...args) {
|
|
301340
300656
|
super(...args);
|
|
301341
300657
|
|
|
301342
|
-
_initializerDefineProperty(this, "path",
|
|
300658
|
+
_initializerDefineProperty(this, "path", _descriptor46, this);
|
|
301343
300659
|
|
|
301344
|
-
_initializerDefineProperty(this, "optional",
|
|
300660
|
+
_initializerDefineProperty(this, "optional", _descriptor47, this);
|
|
301345
300661
|
|
|
301346
|
-
_initializerDefineProperty(this, "offsetBottom",
|
|
300662
|
+
_initializerDefineProperty(this, "offsetBottom", _descriptor48, this);
|
|
301347
300663
|
|
|
301348
|
-
_initializerDefineProperty(this, "grayColumn",
|
|
300664
|
+
_initializerDefineProperty(this, "grayColumn", _descriptor49, this);
|
|
301349
300665
|
|
|
301350
|
-
_initializerDefineProperty(this, "sidebar",
|
|
300666
|
+
_initializerDefineProperty(this, "sidebar", _descriptor50, this);
|
|
301351
300667
|
|
|
301352
|
-
_initializerDefineProperty(this, "crossfit",
|
|
300668
|
+
_initializerDefineProperty(this, "crossfit", _descriptor51, this);
|
|
301353
300669
|
|
|
301354
|
-
_initializerDefineProperty(this, "side",
|
|
300670
|
+
_initializerDefineProperty(this, "side", _descriptor52, this);
|
|
301355
300671
|
|
|
301356
|
-
_initializerDefineProperty(this, "rowmenu",
|
|
300672
|
+
_initializerDefineProperty(this, "rowmenu", _descriptor53, this);
|
|
301357
300673
|
|
|
301358
|
-
_initializerDefineProperty(this, "removebutton",
|
|
300674
|
+
_initializerDefineProperty(this, "removebutton", _descriptor54, this);
|
|
301359
300675
|
|
|
301360
|
-
_initializerDefineProperty(this, "sticky",
|
|
300676
|
+
_initializerDefineProperty(this, "sticky", _descriptor55, this);
|
|
301361
300677
|
|
|
301362
|
-
_initializerDefineProperty(this, "doNotCopyPaths",
|
|
300678
|
+
_initializerDefineProperty(this, "doNotCopyPaths", _descriptor56, this);
|
|
301363
300679
|
|
|
301364
|
-
_initializerDefineProperty(this, "rows",
|
|
300680
|
+
_initializerDefineProperty(this, "rows", _descriptor57, this);
|
|
301365
300681
|
|
|
301366
|
-
_initializerDefineProperty(this, "header",
|
|
300682
|
+
_initializerDefineProperty(this, "header", _descriptor58, this);
|
|
301367
300683
|
|
|
301368
|
-
_initializerDefineProperty(this, "colgroup",
|
|
300684
|
+
_initializerDefineProperty(this, "colgroup", _descriptor59, this);
|
|
301369
300685
|
|
|
301370
|
-
_initializerDefineProperty(this, "filterinfo",
|
|
300686
|
+
_initializerDefineProperty(this, "filterinfo", _descriptor60, this);
|
|
301371
300687
|
|
|
301372
|
-
_initializerDefineProperty(this, "loader",
|
|
300688
|
+
_initializerDefineProperty(this, "loader", _descriptor61, this);
|
|
301373
300689
|
|
|
301374
|
-
_initializerDefineProperty(this, "align",
|
|
300690
|
+
_initializerDefineProperty(this, "align", _descriptor62, this);
|
|
301375
300691
|
|
|
301376
|
-
_initializerDefineProperty(this, "columnGrouping",
|
|
300692
|
+
_initializerDefineProperty(this, "columnGrouping", _descriptor63, this);
|
|
301377
300693
|
|
|
301378
|
-
_initializerDefineProperty(this, "hiddenGroups",
|
|
300694
|
+
_initializerDefineProperty(this, "hiddenGroups", _descriptor64, this);
|
|
301379
300695
|
|
|
301380
|
-
_initializerDefineProperty(this, "footer",
|
|
300696
|
+
_initializerDefineProperty(this, "footer", _descriptor65, this);
|
|
301381
300697
|
}
|
|
301382
300698
|
|
|
301383
300699
|
getOwnPath() {
|
|
@@ -301410,102 +300726,102 @@ let CrossfitTableNode = (_dec55 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORT
|
|
|
301410
300726
|
return (_this$sticky = this.sticky) !== null && _this$sticky !== void 0 ? _this$sticky : true;
|
|
301411
300727
|
}
|
|
301412
300728
|
|
|
301413
|
-
}, (
|
|
300729
|
+
}, (_descriptor46 = _applyDecoratedDescriptor(_class26.prototype, "path", [_dec55], {
|
|
301414
300730
|
configurable: true,
|
|
301415
300731
|
enumerable: true,
|
|
301416
300732
|
writable: true,
|
|
301417
300733
|
initializer: null
|
|
301418
|
-
}),
|
|
300734
|
+
}), _descriptor47 = _applyDecoratedDescriptor(_class26.prototype, "optional", [_dec56], {
|
|
301419
300735
|
configurable: true,
|
|
301420
300736
|
enumerable: true,
|
|
301421
300737
|
writable: true,
|
|
301422
300738
|
initializer: null
|
|
301423
|
-
}),
|
|
300739
|
+
}), _descriptor48 = _applyDecoratedDescriptor(_class26.prototype, "offsetBottom", [_dec57], {
|
|
301424
300740
|
configurable: true,
|
|
301425
300741
|
enumerable: true,
|
|
301426
300742
|
writable: true,
|
|
301427
300743
|
initializer: null
|
|
301428
|
-
}),
|
|
300744
|
+
}), _descriptor49 = _applyDecoratedDescriptor(_class26.prototype, "grayColumn", [_dec58], {
|
|
301429
300745
|
configurable: true,
|
|
301430
300746
|
enumerable: true,
|
|
301431
300747
|
writable: true,
|
|
301432
300748
|
initializer: null
|
|
301433
|
-
}),
|
|
300749
|
+
}), _descriptor50 = _applyDecoratedDescriptor(_class26.prototype, "sidebar", [_dec59], {
|
|
301434
300750
|
configurable: true,
|
|
301435
300751
|
enumerable: true,
|
|
301436
300752
|
writable: true,
|
|
301437
300753
|
initializer: null
|
|
301438
|
-
}),
|
|
300754
|
+
}), _descriptor51 = _applyDecoratedDescriptor(_class26.prototype, "crossfit", [_dec60], {
|
|
301439
300755
|
configurable: true,
|
|
301440
300756
|
enumerable: true,
|
|
301441
300757
|
writable: true,
|
|
301442
300758
|
initializer: null
|
|
301443
|
-
}),
|
|
300759
|
+
}), _descriptor52 = _applyDecoratedDescriptor(_class26.prototype, "side", [_dec61], {
|
|
301444
300760
|
configurable: true,
|
|
301445
300761
|
enumerable: true,
|
|
301446
300762
|
writable: true,
|
|
301447
300763
|
initializer: null
|
|
301448
|
-
}),
|
|
300764
|
+
}), _descriptor53 = _applyDecoratedDescriptor(_class26.prototype, "rowmenu", [_dec62], {
|
|
301449
300765
|
configurable: true,
|
|
301450
300766
|
enumerable: true,
|
|
301451
300767
|
writable: true,
|
|
301452
300768
|
initializer: null
|
|
301453
|
-
}),
|
|
300769
|
+
}), _descriptor54 = _applyDecoratedDescriptor(_class26.prototype, "removebutton", [_dec63], {
|
|
301454
300770
|
configurable: true,
|
|
301455
300771
|
enumerable: true,
|
|
301456
300772
|
writable: true,
|
|
301457
300773
|
initializer: null
|
|
301458
|
-
}),
|
|
300774
|
+
}), _descriptor55 = _applyDecoratedDescriptor(_class26.prototype, "sticky", [_dec64], {
|
|
301459
300775
|
configurable: true,
|
|
301460
300776
|
enumerable: true,
|
|
301461
300777
|
writable: true,
|
|
301462
300778
|
initializer: null
|
|
301463
|
-
}),
|
|
300779
|
+
}), _descriptor56 = _applyDecoratedDescriptor(_class26.prototype, "doNotCopyPaths", [_dec65], {
|
|
301464
300780
|
configurable: true,
|
|
301465
300781
|
enumerable: true,
|
|
301466
300782
|
writable: true,
|
|
301467
300783
|
initializer: null
|
|
301468
|
-
}),
|
|
300784
|
+
}), _descriptor57 = _applyDecoratedDescriptor(_class26.prototype, "rows", [_dec66], {
|
|
301469
300785
|
configurable: true,
|
|
301470
300786
|
enumerable: true,
|
|
301471
300787
|
writable: true,
|
|
301472
300788
|
initializer: null
|
|
301473
|
-
}),
|
|
300789
|
+
}), _descriptor58 = _applyDecoratedDescriptor(_class26.prototype, "header", [_dec67], {
|
|
301474
300790
|
configurable: true,
|
|
301475
300791
|
enumerable: true,
|
|
301476
300792
|
writable: true,
|
|
301477
300793
|
initializer: null
|
|
301478
|
-
}),
|
|
300794
|
+
}), _descriptor59 = _applyDecoratedDescriptor(_class26.prototype, "colgroup", [_dec68], {
|
|
301479
300795
|
configurable: true,
|
|
301480
300796
|
enumerable: true,
|
|
301481
300797
|
writable: true,
|
|
301482
300798
|
initializer: null
|
|
301483
|
-
}),
|
|
300799
|
+
}), _descriptor60 = _applyDecoratedDescriptor(_class26.prototype, "filterinfo", [_dec69], {
|
|
301484
300800
|
configurable: true,
|
|
301485
300801
|
enumerable: true,
|
|
301486
300802
|
writable: true,
|
|
301487
300803
|
initializer: null
|
|
301488
|
-
}),
|
|
300804
|
+
}), _descriptor61 = _applyDecoratedDescriptor(_class26.prototype, "loader", [_dec70], {
|
|
301489
300805
|
configurable: true,
|
|
301490
300806
|
enumerable: true,
|
|
301491
300807
|
writable: true,
|
|
301492
300808
|
initializer: null
|
|
301493
|
-
}),
|
|
300809
|
+
}), _descriptor62 = _applyDecoratedDescriptor(_class26.prototype, "align", [_dec71], {
|
|
301494
300810
|
configurable: true,
|
|
301495
300811
|
enumerable: true,
|
|
301496
300812
|
writable: true,
|
|
301497
300813
|
initializer: null
|
|
301498
|
-
}),
|
|
300814
|
+
}), _descriptor63 = _applyDecoratedDescriptor(_class26.prototype, "columnGrouping", [_dec72], {
|
|
301499
300815
|
configurable: true,
|
|
301500
300816
|
enumerable: true,
|
|
301501
300817
|
writable: true,
|
|
301502
300818
|
initializer: null
|
|
301503
|
-
}),
|
|
300819
|
+
}), _descriptor64 = _applyDecoratedDescriptor(_class26.prototype, "hiddenGroups", [_dec73], {
|
|
301504
300820
|
configurable: true,
|
|
301505
300821
|
enumerable: true,
|
|
301506
300822
|
writable: true,
|
|
301507
300823
|
initializer: null
|
|
301508
|
-
}),
|
|
300824
|
+
}), _descriptor65 = _applyDecoratedDescriptor(_class26.prototype, "footer", [_dec74], {
|
|
301509
300825
|
configurable: true,
|
|
301510
300826
|
enumerable: true,
|
|
301511
300827
|
writable: true,
|
|
@@ -302887,7 +302203,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
302887
302203
|
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
302888
302204
|
/* harmony import */ var _Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../Commons/DocumentationLinks */ "./Generator/src/generators/markupGenerator/ElementProcessors/Commons/DocumentationLinks.ts");
|
|
302889
302205
|
/* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
|
|
302890
|
-
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;
|
|
302891
302207
|
|
|
302892
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 }); }
|
|
302893
302209
|
|
|
@@ -302902,7 +302218,7 @@ function _initializerWarningHelper(descriptor, context) { throw new Error('Decor
|
|
|
302902
302218
|
|
|
302903
302219
|
|
|
302904
302220
|
|
|
302905
|
-
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 {
|
|
302906
302222
|
constructor(...args) {
|
|
302907
302223
|
super(...args);
|
|
302908
302224
|
|
|
@@ -302912,33 +302228,31 @@ let StickyTableColumnNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPO
|
|
|
302912
302228
|
|
|
302913
302229
|
_initializerDefineProperty(this, "disabled", _descriptor3, this);
|
|
302914
302230
|
|
|
302915
|
-
_initializerDefineProperty(this, "
|
|
302916
|
-
|
|
302917
|
-
_initializerDefineProperty(this, "hintOnAdd", _descriptor5, this);
|
|
302231
|
+
_initializerDefineProperty(this, "hintOnAdd", _descriptor4, this);
|
|
302918
302232
|
|
|
302919
|
-
_initializerDefineProperty(this, "titles",
|
|
302233
|
+
_initializerDefineProperty(this, "titles", _descriptor5, this);
|
|
302920
302234
|
|
|
302921
|
-
_initializerDefineProperty(this, "colspan",
|
|
302235
|
+
_initializerDefineProperty(this, "colspan", _descriptor6, this);
|
|
302922
302236
|
|
|
302923
|
-
_initializerDefineProperty(this, "empty",
|
|
302237
|
+
_initializerDefineProperty(this, "empty", _descriptor7, this);
|
|
302924
302238
|
|
|
302925
|
-
_initializerDefineProperty(this, "width",
|
|
302239
|
+
_initializerDefineProperty(this, "width", _descriptor8, this);
|
|
302926
302240
|
|
|
302927
|
-
_initializerDefineProperty(this, "rowspan",
|
|
302241
|
+
_initializerDefineProperty(this, "rowspan", _descriptor9, this);
|
|
302928
302242
|
|
|
302929
|
-
_initializerDefineProperty(this, "textalign",
|
|
302243
|
+
_initializerDefineProperty(this, "textalign", _descriptor10, this);
|
|
302930
302244
|
|
|
302931
|
-
_initializerDefineProperty(this, "horizontalAlign",
|
|
302245
|
+
_initializerDefineProperty(this, "horizontalAlign", _descriptor11, this);
|
|
302932
302246
|
|
|
302933
|
-
_initializerDefineProperty(this, "paddingTop",
|
|
302247
|
+
_initializerDefineProperty(this, "paddingTop", _descriptor12, this);
|
|
302934
302248
|
|
|
302935
|
-
_initializerDefineProperty(this, "requiredempty",
|
|
302249
|
+
_initializerDefineProperty(this, "requiredempty", _descriptor13, this);
|
|
302936
302250
|
|
|
302937
|
-
_initializerDefineProperty(this, "indent",
|
|
302251
|
+
_initializerDefineProperty(this, "indent", _descriptor14, this);
|
|
302938
302252
|
|
|
302939
|
-
_initializerDefineProperty(this, "textTopPadding",
|
|
302253
|
+
_initializerDefineProperty(this, "textTopPadding", _descriptor15, this);
|
|
302940
302254
|
|
|
302941
|
-
_initializerDefineProperty(this, "children",
|
|
302255
|
+
_initializerDefineProperty(this, "children", _descriptor16, this);
|
|
302942
302256
|
}
|
|
302943
302257
|
|
|
302944
302258
|
getOwnPath() {
|
|
@@ -302966,140 +302280,135 @@ let StickyTableColumnNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPO
|
|
|
302966
302280
|
enumerable: true,
|
|
302967
302281
|
writable: true,
|
|
302968
302282
|
initializer: null
|
|
302969
|
-
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
302970
|
-
configurable: true,
|
|
302971
|
-
enumerable: true,
|
|
302972
|
-
writable: true,
|
|
302973
|
-
initializer: null
|
|
302974
|
-
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "hintOnAdd", [_dec6], {
|
|
302283
|
+
}), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "hintOnAdd", [_dec5], {
|
|
302975
302284
|
configurable: true,
|
|
302976
302285
|
enumerable: true,
|
|
302977
302286
|
writable: true,
|
|
302978
302287
|
initializer: null
|
|
302979
|
-
}),
|
|
302288
|
+
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "titles", [_dec6], {
|
|
302980
302289
|
configurable: true,
|
|
302981
302290
|
enumerable: true,
|
|
302982
302291
|
writable: true,
|
|
302983
302292
|
initializer: null
|
|
302984
|
-
}),
|
|
302293
|
+
}), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "colspan", [_dec7], {
|
|
302985
302294
|
configurable: true,
|
|
302986
302295
|
enumerable: true,
|
|
302987
302296
|
writable: true,
|
|
302988
302297
|
initializer: null
|
|
302989
|
-
}),
|
|
302298
|
+
}), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, "empty", [_dec8], {
|
|
302990
302299
|
configurable: true,
|
|
302991
302300
|
enumerable: true,
|
|
302992
302301
|
writable: true,
|
|
302993
302302
|
initializer: null
|
|
302994
|
-
}),
|
|
302303
|
+
}), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "width", [_dec9], {
|
|
302995
302304
|
configurable: true,
|
|
302996
302305
|
enumerable: true,
|
|
302997
302306
|
writable: true,
|
|
302998
302307
|
initializer: null
|
|
302999
|
-
}),
|
|
302308
|
+
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "rowspan", [_dec10], {
|
|
303000
302309
|
configurable: true,
|
|
303001
302310
|
enumerable: true,
|
|
303002
302311
|
writable: true,
|
|
303003
302312
|
initializer: null
|
|
303004
|
-
}),
|
|
302313
|
+
}), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, "textalign", [_dec11], {
|
|
303005
302314
|
configurable: true,
|
|
303006
302315
|
enumerable: true,
|
|
303007
302316
|
writable: true,
|
|
303008
302317
|
initializer: null
|
|
303009
|
-
}),
|
|
302318
|
+
}), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, "horizontalAlign", [_dec12], {
|
|
303010
302319
|
configurable: true,
|
|
303011
302320
|
enumerable: true,
|
|
303012
302321
|
writable: true,
|
|
303013
302322
|
initializer: null
|
|
303014
|
-
}),
|
|
302323
|
+
}), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, "paddingTop", [_dec13], {
|
|
303015
302324
|
configurable: true,
|
|
303016
302325
|
enumerable: true,
|
|
303017
302326
|
writable: true,
|
|
303018
302327
|
initializer: null
|
|
303019
|
-
}),
|
|
302328
|
+
}), _descriptor13 = _applyDecoratedDescriptor(_class2.prototype, "requiredempty", [_dec14], {
|
|
303020
302329
|
configurable: true,
|
|
303021
302330
|
enumerable: true,
|
|
303022
302331
|
writable: true,
|
|
303023
302332
|
initializer: null
|
|
303024
|
-
}),
|
|
302333
|
+
}), _descriptor14 = _applyDecoratedDescriptor(_class2.prototype, "indent", [_dec15], {
|
|
303025
302334
|
configurable: true,
|
|
303026
302335
|
enumerable: true,
|
|
303027
302336
|
writable: true,
|
|
303028
302337
|
initializer: null
|
|
303029
|
-
}),
|
|
302338
|
+
}), _descriptor15 = _applyDecoratedDescriptor(_class2.prototype, "textTopPadding", [_dec16], {
|
|
303030
302339
|
configurable: true,
|
|
303031
302340
|
enumerable: true,
|
|
303032
302341
|
writable: true,
|
|
303033
302342
|
initializer: null
|
|
303034
|
-
}),
|
|
302343
|
+
}), _descriptor16 = _applyDecoratedDescriptor(_class2.prototype, "children", [_dec17], {
|
|
303035
302344
|
configurable: true,
|
|
303036
302345
|
enumerable: true,
|
|
303037
302346
|
writable: true,
|
|
303038
302347
|
initializer: null
|
|
303039
302348
|
})), _class2)) || _class);
|
|
303040
|
-
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 {
|
|
303041
302350
|
constructor(...args) {
|
|
303042
302351
|
super(...args);
|
|
303043
302352
|
|
|
303044
|
-
_initializerDefineProperty(this, "columns",
|
|
302353
|
+
_initializerDefineProperty(this, "columns", _descriptor17, this);
|
|
303045
302354
|
|
|
303046
|
-
_initializerDefineProperty(this, "borderBottom",
|
|
302355
|
+
_initializerDefineProperty(this, "borderBottom", _descriptor18, this);
|
|
303047
302356
|
}
|
|
303048
302357
|
|
|
303049
|
-
}, (
|
|
302358
|
+
}, (_descriptor17 = _applyDecoratedDescriptor(_class5.prototype, "columns", [_dec19], {
|
|
303050
302359
|
configurable: true,
|
|
303051
302360
|
enumerable: true,
|
|
303052
302361
|
writable: true,
|
|
303053
302362
|
initializer: null
|
|
303054
|
-
}),
|
|
302363
|
+
}), _descriptor18 = _applyDecoratedDescriptor(_class5.prototype, "borderBottom", [_dec20], {
|
|
303055
302364
|
configurable: true,
|
|
303056
302365
|
enumerable: true,
|
|
303057
302366
|
writable: true,
|
|
303058
302367
|
initializer: null
|
|
303059
302368
|
})), _class5)) || _class4);
|
|
303060
|
-
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 {
|
|
303061
302370
|
constructor(...args) {
|
|
303062
302371
|
super(...args);
|
|
303063
302372
|
|
|
303064
|
-
_initializerDefineProperty(this, "path",
|
|
302373
|
+
_initializerDefineProperty(this, "path", _descriptor19, this);
|
|
303065
302374
|
|
|
303066
|
-
_initializerDefineProperty(this, "instancesPerPage",
|
|
302375
|
+
_initializerDefineProperty(this, "instancesPerPage", _descriptor20, this);
|
|
303067
302376
|
|
|
303068
|
-
_initializerDefineProperty(this, "optional",
|
|
302377
|
+
_initializerDefineProperty(this, "optional", _descriptor21, this);
|
|
303069
302378
|
|
|
303070
|
-
_initializerDefineProperty(this, "defaultChildren",
|
|
302379
|
+
_initializerDefineProperty(this, "defaultChildren", _descriptor22, this);
|
|
303071
302380
|
|
|
303072
|
-
_initializerDefineProperty(this, "removebutton",
|
|
302381
|
+
_initializerDefineProperty(this, "removebutton", _descriptor23, this);
|
|
303073
302382
|
|
|
303074
|
-
_initializerDefineProperty(this, "rowmenu",
|
|
302383
|
+
_initializerDefineProperty(this, "rowmenu", _descriptor24, this);
|
|
303075
302384
|
|
|
303076
|
-
_initializerDefineProperty(this, "className",
|
|
302385
|
+
_initializerDefineProperty(this, "className", _descriptor25, this);
|
|
303077
302386
|
|
|
303078
|
-
_initializerDefineProperty(this, "customProperty",
|
|
302387
|
+
_initializerDefineProperty(this, "customProperty", _descriptor26, this);
|
|
303079
302388
|
|
|
303080
|
-
_initializerDefineProperty(this, "addButtonText",
|
|
302389
|
+
_initializerDefineProperty(this, "addButtonText", _descriptor27, this);
|
|
303081
302390
|
|
|
303082
|
-
_initializerDefineProperty(this, "offsetLeft",
|
|
302391
|
+
_initializerDefineProperty(this, "offsetLeft", _descriptor28, this);
|
|
303083
302392
|
|
|
303084
|
-
_initializerDefineProperty(this, "offsetTop",
|
|
302393
|
+
_initializerDefineProperty(this, "offsetTop", _descriptor29, this);
|
|
303085
302394
|
|
|
303086
|
-
_initializerDefineProperty(this, "focusByHotkey",
|
|
302395
|
+
_initializerDefineProperty(this, "focusByHotkey", _descriptor30, this);
|
|
303087
302396
|
|
|
303088
|
-
_initializerDefineProperty(this, "rows",
|
|
302397
|
+
_initializerDefineProperty(this, "rows", _descriptor31, this);
|
|
303089
302398
|
|
|
303090
|
-
_initializerDefineProperty(this, "addbutton",
|
|
302399
|
+
_initializerDefineProperty(this, "addbutton", _descriptor32, this);
|
|
303091
302400
|
|
|
303092
|
-
_initializerDefineProperty(this, "doNotCopyPaths",
|
|
302401
|
+
_initializerDefineProperty(this, "doNotCopyPaths", _descriptor33, this);
|
|
303093
302402
|
|
|
303094
|
-
_initializerDefineProperty(this, "addType",
|
|
302403
|
+
_initializerDefineProperty(this, "addType", _descriptor34, this);
|
|
303095
302404
|
|
|
303096
|
-
_initializerDefineProperty(this, "usepager",
|
|
302405
|
+
_initializerDefineProperty(this, "usepager", _descriptor35, this);
|
|
303097
302406
|
|
|
303098
|
-
_initializerDefineProperty(this, "showRowBorder",
|
|
302407
|
+
_initializerDefineProperty(this, "showRowBorder", _descriptor36, this);
|
|
303099
302408
|
|
|
303100
|
-
_initializerDefineProperty(this, "override",
|
|
302409
|
+
_initializerDefineProperty(this, "override", _descriptor37, this);
|
|
303101
302410
|
|
|
303102
|
-
_initializerDefineProperty(this, "storeFilters",
|
|
302411
|
+
_initializerDefineProperty(this, "storeFilters", _descriptor38, this);
|
|
303103
302412
|
}
|
|
303104
302413
|
|
|
303105
302414
|
getOwnPath() {
|
|
@@ -303110,186 +302419,186 @@ let StickyTableMultilineNode = (_dec22 = (0,_Serializer_SugarSerializer__WEBPACK
|
|
|
303110
302419
|
return true;
|
|
303111
302420
|
}
|
|
303112
302421
|
|
|
303113
|
-
}, (
|
|
302422
|
+
}, (_descriptor19 = _applyDecoratedDescriptor(_class8.prototype, "path", [_dec22], {
|
|
303114
302423
|
configurable: true,
|
|
303115
302424
|
enumerable: true,
|
|
303116
302425
|
writable: true,
|
|
303117
302426
|
initializer: null
|
|
303118
|
-
}),
|
|
302427
|
+
}), _descriptor20 = _applyDecoratedDescriptor(_class8.prototype, "instancesPerPage", [_dec23], {
|
|
303119
302428
|
configurable: true,
|
|
303120
302429
|
enumerable: true,
|
|
303121
302430
|
writable: true,
|
|
303122
302431
|
initializer: null
|
|
303123
|
-
}),
|
|
302432
|
+
}), _descriptor21 = _applyDecoratedDescriptor(_class8.prototype, "optional", [_dec24], {
|
|
303124
302433
|
configurable: true,
|
|
303125
302434
|
enumerable: true,
|
|
303126
302435
|
writable: true,
|
|
303127
302436
|
initializer: null
|
|
303128
|
-
}),
|
|
302437
|
+
}), _descriptor22 = _applyDecoratedDescriptor(_class8.prototype, "defaultChildren", [_dec25], {
|
|
303129
302438
|
configurable: true,
|
|
303130
302439
|
enumerable: true,
|
|
303131
302440
|
writable: true,
|
|
303132
302441
|
initializer: null
|
|
303133
|
-
}),
|
|
302442
|
+
}), _descriptor23 = _applyDecoratedDescriptor(_class8.prototype, "removebutton", [_dec26], {
|
|
303134
302443
|
configurable: true,
|
|
303135
302444
|
enumerable: true,
|
|
303136
302445
|
writable: true,
|
|
303137
302446
|
initializer: null
|
|
303138
|
-
}),
|
|
302447
|
+
}), _descriptor24 = _applyDecoratedDescriptor(_class8.prototype, "rowmenu", [_dec27], {
|
|
303139
302448
|
configurable: true,
|
|
303140
302449
|
enumerable: true,
|
|
303141
302450
|
writable: true,
|
|
303142
302451
|
initializer: null
|
|
303143
|
-
}),
|
|
302452
|
+
}), _descriptor25 = _applyDecoratedDescriptor(_class8.prototype, "className", [_dec28], {
|
|
303144
302453
|
configurable: true,
|
|
303145
302454
|
enumerable: true,
|
|
303146
302455
|
writable: true,
|
|
303147
302456
|
initializer: null
|
|
303148
|
-
}),
|
|
302457
|
+
}), _descriptor26 = _applyDecoratedDescriptor(_class8.prototype, "customProperty", [_dec29], {
|
|
303149
302458
|
configurable: true,
|
|
303150
302459
|
enumerable: true,
|
|
303151
302460
|
writable: true,
|
|
303152
302461
|
initializer: null
|
|
303153
|
-
}),
|
|
302462
|
+
}), _descriptor27 = _applyDecoratedDescriptor(_class8.prototype, "addButtonText", [_dec30], {
|
|
303154
302463
|
configurable: true,
|
|
303155
302464
|
enumerable: true,
|
|
303156
302465
|
writable: true,
|
|
303157
302466
|
initializer: null
|
|
303158
|
-
}),
|
|
302467
|
+
}), _descriptor28 = _applyDecoratedDescriptor(_class8.prototype, "offsetLeft", [_dec31], {
|
|
303159
302468
|
configurable: true,
|
|
303160
302469
|
enumerable: true,
|
|
303161
302470
|
writable: true,
|
|
303162
302471
|
initializer: null
|
|
303163
|
-
}),
|
|
302472
|
+
}), _descriptor29 = _applyDecoratedDescriptor(_class8.prototype, "offsetTop", [_dec32], {
|
|
303164
302473
|
configurable: true,
|
|
303165
302474
|
enumerable: true,
|
|
303166
302475
|
writable: true,
|
|
303167
302476
|
initializer: null
|
|
303168
|
-
}),
|
|
302477
|
+
}), _descriptor30 = _applyDecoratedDescriptor(_class8.prototype, "focusByHotkey", [_dec33], {
|
|
303169
302478
|
configurable: true,
|
|
303170
302479
|
enumerable: true,
|
|
303171
302480
|
writable: true,
|
|
303172
302481
|
initializer: null
|
|
303173
|
-
}),
|
|
302482
|
+
}), _descriptor31 = _applyDecoratedDescriptor(_class8.prototype, "rows", [_dec34], {
|
|
303174
302483
|
configurable: true,
|
|
303175
302484
|
enumerable: true,
|
|
303176
302485
|
writable: true,
|
|
303177
302486
|
initializer: null
|
|
303178
|
-
}),
|
|
302487
|
+
}), _descriptor32 = _applyDecoratedDescriptor(_class8.prototype, "addbutton", [_dec35], {
|
|
303179
302488
|
configurable: true,
|
|
303180
302489
|
enumerable: true,
|
|
303181
302490
|
writable: true,
|
|
303182
302491
|
initializer: null
|
|
303183
|
-
}),
|
|
302492
|
+
}), _descriptor33 = _applyDecoratedDescriptor(_class8.prototype, "doNotCopyPaths", [_dec36], {
|
|
303184
302493
|
configurable: true,
|
|
303185
302494
|
enumerable: true,
|
|
303186
302495
|
writable: true,
|
|
303187
302496
|
initializer: null
|
|
303188
|
-
}),
|
|
302497
|
+
}), _descriptor34 = _applyDecoratedDescriptor(_class8.prototype, "addType", [_dec37], {
|
|
303189
302498
|
configurable: true,
|
|
303190
302499
|
enumerable: true,
|
|
303191
302500
|
writable: true,
|
|
303192
302501
|
initializer: null
|
|
303193
|
-
}),
|
|
302502
|
+
}), _descriptor35 = _applyDecoratedDescriptor(_class8.prototype, "usepager", [_dec38], {
|
|
303194
302503
|
configurable: true,
|
|
303195
302504
|
enumerable: true,
|
|
303196
302505
|
writable: true,
|
|
303197
302506
|
initializer: null
|
|
303198
|
-
}),
|
|
302507
|
+
}), _descriptor36 = _applyDecoratedDescriptor(_class8.prototype, "showRowBorder", [_dec39], {
|
|
303199
302508
|
configurable: true,
|
|
303200
302509
|
enumerable: true,
|
|
303201
302510
|
writable: true,
|
|
303202
302511
|
initializer: null
|
|
303203
|
-
}),
|
|
302512
|
+
}), _descriptor37 = _applyDecoratedDescriptor(_class8.prototype, "override", [_dec40], {
|
|
303204
302513
|
configurable: true,
|
|
303205
302514
|
enumerable: true,
|
|
303206
302515
|
writable: true,
|
|
303207
302516
|
initializer: null
|
|
303208
|
-
}),
|
|
302517
|
+
}), _descriptor38 = _applyDecoratedDescriptor(_class8.prototype, "storeFilters", [_dec41], {
|
|
303209
302518
|
configurable: true,
|
|
303210
302519
|
enumerable: true,
|
|
303211
302520
|
writable: true,
|
|
303212
302521
|
initializer: null
|
|
303213
302522
|
})), _class8)) || _class7);
|
|
303214
|
-
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 {
|
|
303215
302524
|
constructor(...args) {
|
|
303216
302525
|
super(...args);
|
|
303217
302526
|
|
|
303218
|
-
_initializerDefineProperty(this, "dataScope",
|
|
302527
|
+
_initializerDefineProperty(this, "dataScope", _descriptor39, this);
|
|
303219
302528
|
|
|
303220
|
-
_initializerDefineProperty(this, "optional",
|
|
302529
|
+
_initializerDefineProperty(this, "optional", _descriptor40, this);
|
|
303221
302530
|
|
|
303222
|
-
_initializerDefineProperty(this, "kind",
|
|
302531
|
+
_initializerDefineProperty(this, "kind", _descriptor41, this);
|
|
303223
302532
|
|
|
303224
|
-
_initializerDefineProperty(this, "subkind",
|
|
302533
|
+
_initializerDefineProperty(this, "subkind", _descriptor42, this);
|
|
303225
302534
|
|
|
303226
|
-
_initializerDefineProperty(this, "columns",
|
|
302535
|
+
_initializerDefineProperty(this, "columns", _descriptor43, this);
|
|
303227
302536
|
|
|
303228
|
-
_initializerDefineProperty(this, "borderBottom",
|
|
302537
|
+
_initializerDefineProperty(this, "borderBottom", _descriptor44, this);
|
|
303229
302538
|
}
|
|
303230
302539
|
|
|
303231
302540
|
getOwnPath() {
|
|
303232
302541
|
return this.dataScope.getOwnPath();
|
|
303233
302542
|
}
|
|
303234
302543
|
|
|
303235
|
-
}, (
|
|
302544
|
+
}, (_descriptor39 = _applyDecoratedDescriptor(_class11.prototype, "dataScope", [_dec43], {
|
|
303236
302545
|
configurable: true,
|
|
303237
302546
|
enumerable: true,
|
|
303238
302547
|
writable: true,
|
|
303239
302548
|
initializer: null
|
|
303240
|
-
}),
|
|
302549
|
+
}), _descriptor40 = _applyDecoratedDescriptor(_class11.prototype, "optional", [_dec44], {
|
|
303241
302550
|
configurable: true,
|
|
303242
302551
|
enumerable: true,
|
|
303243
302552
|
writable: true,
|
|
303244
302553
|
initializer: null
|
|
303245
|
-
}),
|
|
302554
|
+
}), _descriptor41 = _applyDecoratedDescriptor(_class11.prototype, "kind", [_dec45], {
|
|
303246
302555
|
configurable: true,
|
|
303247
302556
|
enumerable: true,
|
|
303248
302557
|
writable: true,
|
|
303249
302558
|
initializer: null
|
|
303250
|
-
}),
|
|
302559
|
+
}), _descriptor42 = _applyDecoratedDescriptor(_class11.prototype, "subkind", [_dec46], {
|
|
303251
302560
|
configurable: true,
|
|
303252
302561
|
enumerable: true,
|
|
303253
302562
|
writable: true,
|
|
303254
302563
|
initializer: null
|
|
303255
|
-
}),
|
|
302564
|
+
}), _descriptor43 = _applyDecoratedDescriptor(_class11.prototype, "columns", [_dec47], {
|
|
303256
302565
|
configurable: true,
|
|
303257
302566
|
enumerable: true,
|
|
303258
302567
|
writable: true,
|
|
303259
302568
|
initializer: null
|
|
303260
|
-
}),
|
|
302569
|
+
}), _descriptor44 = _applyDecoratedDescriptor(_class11.prototype, "borderBottom", [_dec48], {
|
|
303261
302570
|
configurable: true,
|
|
303262
302571
|
enumerable: true,
|
|
303263
302572
|
writable: true,
|
|
303264
302573
|
initializer: null
|
|
303265
302574
|
})), _class11)) || _class10);
|
|
303266
|
-
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 {
|
|
303267
302576
|
constructor(...args) {
|
|
303268
302577
|
super(...args);
|
|
303269
302578
|
|
|
303270
|
-
_initializerDefineProperty(this, "align",
|
|
302579
|
+
_initializerDefineProperty(this, "align", _descriptor45, this);
|
|
303271
302580
|
|
|
303272
|
-
_initializerDefineProperty(this, "children",
|
|
302581
|
+
_initializerDefineProperty(this, "children", _descriptor46, this);
|
|
303273
302582
|
}
|
|
303274
302583
|
|
|
303275
|
-
}, (
|
|
302584
|
+
}, (_descriptor45 = _applyDecoratedDescriptor(_class14.prototype, "align", [_dec50], {
|
|
303276
302585
|
configurable: true,
|
|
303277
302586
|
enumerable: true,
|
|
303278
302587
|
writable: true,
|
|
303279
302588
|
initializer: null
|
|
303280
|
-
}),
|
|
302589
|
+
}), _descriptor46 = _applyDecoratedDescriptor(_class14.prototype, "children", [_dec51], {
|
|
303281
302590
|
configurable: true,
|
|
303282
302591
|
enumerable: true,
|
|
303283
302592
|
writable: true,
|
|
303284
302593
|
initializer: null
|
|
303285
302594
|
})), _class14)) || _class13);
|
|
303286
|
-
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 {
|
|
303287
302596
|
constructor(...args) {
|
|
303288
302597
|
super(...args);
|
|
303289
302598
|
|
|
303290
|
-
_initializerDefineProperty(this, "rows",
|
|
302599
|
+
_initializerDefineProperty(this, "rows", _descriptor47, this);
|
|
303291
302600
|
|
|
303292
|
-
_initializerDefineProperty(this, "columns",
|
|
302601
|
+
_initializerDefineProperty(this, "columns", _descriptor48, this);
|
|
303293
302602
|
}
|
|
303294
302603
|
|
|
303295
302604
|
getColumnLists() {
|
|
@@ -303302,80 +302611,80 @@ let StickyTableFooterNode = (_dec53 = (0,_Serializer_SugarSerializer__WEBPACK_IM
|
|
|
303302
302611
|
return footerColumnsLists;
|
|
303303
302612
|
}
|
|
303304
302613
|
|
|
303305
|
-
}, (
|
|
302614
|
+
}, (_descriptor47 = _applyDecoratedDescriptor(_class17.prototype, "rows", [_dec53], {
|
|
303306
302615
|
configurable: true,
|
|
303307
302616
|
enumerable: true,
|
|
303308
302617
|
writable: true,
|
|
303309
302618
|
initializer: null
|
|
303310
|
-
}),
|
|
302619
|
+
}), _descriptor48 = _applyDecoratedDescriptor(_class17.prototype, "columns", [_dec54], {
|
|
303311
302620
|
configurable: true,
|
|
303312
302621
|
enumerable: true,
|
|
303313
302622
|
writable: true,
|
|
303314
302623
|
initializer: null
|
|
303315
302624
|
})), _class17)) || _class16);
|
|
303316
|
-
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 {
|
|
303317
302626
|
constructor(...args) {
|
|
303318
302627
|
super(...args);
|
|
303319
302628
|
|
|
303320
|
-
_initializerDefineProperty(this, "width",
|
|
302629
|
+
_initializerDefineProperty(this, "width", _descriptor49, this);
|
|
303321
302630
|
}
|
|
303322
302631
|
|
|
303323
|
-
}, (
|
|
302632
|
+
}, (_descriptor49 = _applyDecoratedDescriptor(_class20.prototype, "width", [_dec56], {
|
|
303324
302633
|
configurable: true,
|
|
303325
302634
|
enumerable: true,
|
|
303326
302635
|
writable: true,
|
|
303327
302636
|
initializer: null
|
|
303328
302637
|
})), _class20)) || _class19);
|
|
303329
|
-
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 {
|
|
303330
302639
|
constructor(...args) {
|
|
303331
302640
|
super(...args);
|
|
303332
302641
|
|
|
303333
|
-
_initializerDefineProperty(this, "cols",
|
|
302642
|
+
_initializerDefineProperty(this, "cols", _descriptor50, this);
|
|
303334
302643
|
}
|
|
303335
302644
|
|
|
303336
|
-
}, (
|
|
302645
|
+
}, (_descriptor50 = _applyDecoratedDescriptor(_class23.prototype, "cols", [_dec58], {
|
|
303337
302646
|
configurable: true,
|
|
303338
302647
|
enumerable: true,
|
|
303339
302648
|
writable: true,
|
|
303340
302649
|
initializer: null
|
|
303341
302650
|
})), _class23)) || _class22);
|
|
303342
|
-
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 {
|
|
303343
302652
|
constructor(...args) {
|
|
303344
302653
|
super(...args);
|
|
303345
302654
|
|
|
303346
|
-
_initializerDefineProperty(this, "path",
|
|
302655
|
+
_initializerDefineProperty(this, "path", _descriptor51, this);
|
|
303347
302656
|
|
|
303348
|
-
_initializerDefineProperty(this, "optional",
|
|
302657
|
+
_initializerDefineProperty(this, "optional", _descriptor52, this);
|
|
303349
302658
|
|
|
303350
|
-
_initializerDefineProperty(this, "align",
|
|
302659
|
+
_initializerDefineProperty(this, "align", _descriptor53, this);
|
|
303351
302660
|
|
|
303352
|
-
_initializerDefineProperty(this, "removeButton",
|
|
302661
|
+
_initializerDefineProperty(this, "removeButton", _descriptor54, this);
|
|
303353
302662
|
|
|
303354
|
-
_initializerDefineProperty(this, "sticky",
|
|
302663
|
+
_initializerDefineProperty(this, "sticky", _descriptor55, this);
|
|
303355
302664
|
|
|
303356
|
-
_initializerDefineProperty(this, "stickyHeader",
|
|
302665
|
+
_initializerDefineProperty(this, "stickyHeader", _descriptor56, this);
|
|
303357
302666
|
|
|
303358
|
-
_initializerDefineProperty(this, "grayColumn",
|
|
302667
|
+
_initializerDefineProperty(this, "grayColumn", _descriptor57, this);
|
|
303359
302668
|
|
|
303360
|
-
_initializerDefineProperty(this, "side",
|
|
302669
|
+
_initializerDefineProperty(this, "side", _descriptor58, this);
|
|
303361
302670
|
|
|
303362
|
-
_initializerDefineProperty(this, "className",
|
|
302671
|
+
_initializerDefineProperty(this, "className", _descriptor59, this);
|
|
303363
302672
|
|
|
303364
|
-
_initializerDefineProperty(this, "colgroup",
|
|
302673
|
+
_initializerDefineProperty(this, "colgroup", _descriptor60, this);
|
|
303365
302674
|
|
|
303366
|
-
_initializerDefineProperty(this, "rows",
|
|
302675
|
+
_initializerDefineProperty(this, "rows", _descriptor61, this);
|
|
303367
302676
|
|
|
303368
|
-
_initializerDefineProperty(this, "header",
|
|
302677
|
+
_initializerDefineProperty(this, "header", _descriptor62, this);
|
|
303369
302678
|
|
|
303370
|
-
_initializerDefineProperty(this, "footer",
|
|
302679
|
+
_initializerDefineProperty(this, "footer", _descriptor63, this);
|
|
303371
302680
|
|
|
303372
|
-
_initializerDefineProperty(this, "deprecatedDiadocWidth",
|
|
302681
|
+
_initializerDefineProperty(this, "deprecatedDiadocWidth", _descriptor64, this);
|
|
303373
302682
|
|
|
303374
|
-
_initializerDefineProperty(this, "width",
|
|
302683
|
+
_initializerDefineProperty(this, "width", _descriptor65, this);
|
|
303375
302684
|
|
|
303376
|
-
_initializerDefineProperty(this, "tid",
|
|
302685
|
+
_initializerDefineProperty(this, "tid", _descriptor66, this);
|
|
303377
302686
|
|
|
303378
|
-
_initializerDefineProperty(this, "columnGrouping",
|
|
302687
|
+
_initializerDefineProperty(this, "columnGrouping", _descriptor67, this);
|
|
303379
302688
|
}
|
|
303380
302689
|
|
|
303381
302690
|
getOwnPath() {
|
|
@@ -303386,87 +302695,87 @@ let StickyTableNode = (_dec60 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED
|
|
|
303386
302695
|
return this.rows.filter(isRowNode).filter(row => row.kind === "head");
|
|
303387
302696
|
}
|
|
303388
302697
|
|
|
303389
|
-
}, (
|
|
302698
|
+
}, (_descriptor51 = _applyDecoratedDescriptor(_class26.prototype, "path", [_dec60], {
|
|
303390
302699
|
configurable: true,
|
|
303391
302700
|
enumerable: true,
|
|
303392
302701
|
writable: true,
|
|
303393
302702
|
initializer: null
|
|
303394
|
-
}),
|
|
302703
|
+
}), _descriptor52 = _applyDecoratedDescriptor(_class26.prototype, "optional", [_dec61], {
|
|
303395
302704
|
configurable: true,
|
|
303396
302705
|
enumerable: true,
|
|
303397
302706
|
writable: true,
|
|
303398
302707
|
initializer: null
|
|
303399
|
-
}),
|
|
302708
|
+
}), _descriptor53 = _applyDecoratedDescriptor(_class26.prototype, "align", [_dec62], {
|
|
303400
302709
|
configurable: true,
|
|
303401
302710
|
enumerable: true,
|
|
303402
302711
|
writable: true,
|
|
303403
302712
|
initializer: null
|
|
303404
|
-
}),
|
|
302713
|
+
}), _descriptor54 = _applyDecoratedDescriptor(_class26.prototype, "removeButton", [_dec63], {
|
|
303405
302714
|
configurable: true,
|
|
303406
302715
|
enumerable: true,
|
|
303407
302716
|
writable: true,
|
|
303408
302717
|
initializer: null
|
|
303409
|
-
}),
|
|
302718
|
+
}), _descriptor55 = _applyDecoratedDescriptor(_class26.prototype, "sticky", [_dec64], {
|
|
303410
302719
|
configurable: true,
|
|
303411
302720
|
enumerable: true,
|
|
303412
302721
|
writable: true,
|
|
303413
302722
|
initializer: null
|
|
303414
|
-
}),
|
|
302723
|
+
}), _descriptor56 = _applyDecoratedDescriptor(_class26.prototype, "stickyHeader", [_dec65], {
|
|
303415
302724
|
configurable: true,
|
|
303416
302725
|
enumerable: true,
|
|
303417
302726
|
writable: true,
|
|
303418
302727
|
initializer: null
|
|
303419
|
-
}),
|
|
302728
|
+
}), _descriptor57 = _applyDecoratedDescriptor(_class26.prototype, "grayColumn", [_dec66], {
|
|
303420
302729
|
configurable: true,
|
|
303421
302730
|
enumerable: true,
|
|
303422
302731
|
writable: true,
|
|
303423
302732
|
initializer: null
|
|
303424
|
-
}),
|
|
302733
|
+
}), _descriptor58 = _applyDecoratedDescriptor(_class26.prototype, "side", [_dec67], {
|
|
303425
302734
|
configurable: true,
|
|
303426
302735
|
enumerable: true,
|
|
303427
302736
|
writable: true,
|
|
303428
302737
|
initializer: null
|
|
303429
|
-
}),
|
|
302738
|
+
}), _descriptor59 = _applyDecoratedDescriptor(_class26.prototype, "className", [_dec68], {
|
|
303430
302739
|
configurable: true,
|
|
303431
302740
|
enumerable: true,
|
|
303432
302741
|
writable: true,
|
|
303433
302742
|
initializer: null
|
|
303434
|
-
}),
|
|
302743
|
+
}), _descriptor60 = _applyDecoratedDescriptor(_class26.prototype, "colgroup", [_dec69], {
|
|
303435
302744
|
configurable: true,
|
|
303436
302745
|
enumerable: true,
|
|
303437
302746
|
writable: true,
|
|
303438
302747
|
initializer: null
|
|
303439
|
-
}),
|
|
302748
|
+
}), _descriptor61 = _applyDecoratedDescriptor(_class26.prototype, "rows", [_dec70], {
|
|
303440
302749
|
configurable: true,
|
|
303441
302750
|
enumerable: true,
|
|
303442
302751
|
writable: true,
|
|
303443
302752
|
initializer: null
|
|
303444
|
-
}),
|
|
302753
|
+
}), _descriptor62 = _applyDecoratedDescriptor(_class26.prototype, "header", [_dec71], {
|
|
303445
302754
|
configurable: true,
|
|
303446
302755
|
enumerable: true,
|
|
303447
302756
|
writable: true,
|
|
303448
302757
|
initializer: null
|
|
303449
|
-
}),
|
|
302758
|
+
}), _descriptor63 = _applyDecoratedDescriptor(_class26.prototype, "footer", [_dec72], {
|
|
303450
302759
|
configurable: true,
|
|
303451
302760
|
enumerable: true,
|
|
303452
302761
|
writable: true,
|
|
303453
302762
|
initializer: null
|
|
303454
|
-
}),
|
|
302763
|
+
}), _descriptor64 = _applyDecoratedDescriptor(_class26.prototype, "deprecatedDiadocWidth", [_dec73], {
|
|
303455
302764
|
configurable: true,
|
|
303456
302765
|
enumerable: true,
|
|
303457
302766
|
writable: true,
|
|
303458
302767
|
initializer: null
|
|
303459
|
-
}),
|
|
302768
|
+
}), _descriptor65 = _applyDecoratedDescriptor(_class26.prototype, "width", [_dec74], {
|
|
303460
302769
|
configurable: true,
|
|
303461
302770
|
enumerable: true,
|
|
303462
302771
|
writable: true,
|
|
303463
302772
|
initializer: null
|
|
303464
|
-
}),
|
|
302773
|
+
}), _descriptor66 = _applyDecoratedDescriptor(_class26.prototype, "tid", [_dec75], {
|
|
303465
302774
|
configurable: true,
|
|
303466
302775
|
enumerable: true,
|
|
303467
302776
|
writable: true,
|
|
303468
302777
|
initializer: null
|
|
303469
|
-
}),
|
|
302778
|
+
}), _descriptor67 = _applyDecoratedDescriptor(_class26.prototype, "columnGrouping", [_dec76], {
|
|
303470
302779
|
configurable: true,
|
|
303471
302780
|
enumerable: true,
|
|
303472
302781
|
writable: true,
|
|
@@ -310767,7 +310076,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
310767
310076
|
/* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
|
|
310768
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");
|
|
310769
310078
|
/* harmony import */ var _SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../SugarNodes/SugarNodeUtils */ "./Generator/src/generators/markupGenerator/SugarNodes/SugarNodeUtils.ts");
|
|
310770
|
-
/* 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
|
+
|
|
310771
310082
|
|
|
310772
310083
|
|
|
310773
310084
|
|
|
@@ -310777,16 +310088,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
310777
310088
|
|
|
310778
310089
|
class TextAreaConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.SugarNodeConverterBase {
|
|
310779
310090
|
static getAcceptNodeClass() {
|
|
310780
|
-
return
|
|
310091
|
+
return _TextAreaNode__WEBPACK_IMPORTED_MODULE_7__.TextAreaNode;
|
|
310781
310092
|
}
|
|
310782
310093
|
|
|
310783
310094
|
doBuildNodeValidations(validationGenerator) {
|
|
310784
|
-
const node = this.getCurrentNodeAs(
|
|
310095
|
+
const node = this.getCurrentNodeAs(_TextAreaNode__WEBPACK_IMPORTED_MODULE_7__.TextAreaNode);
|
|
310785
310096
|
validationGenerator.processValidations(this.getResolvedBindingPath(node), node.validationInfo.optional, validationGenerator.getTypeNode(node.validationInfo), undefined, node.validationInfo.emptydescription);
|
|
310786
310097
|
}
|
|
310787
310098
|
|
|
310788
310099
|
doBuildDataDeclaration(context) {
|
|
310789
|
-
const node = this.getCurrentNodeAs(
|
|
310100
|
+
const node = this.getCurrentNodeAs(_TextAreaNode__WEBPACK_IMPORTED_MODULE_7__.TextAreaNode);
|
|
310790
310101
|
return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["value", context.initSequenceFactory.dataValue(node.dataBinding, node.disabled)]]), context.addSpecialFieldsEntry(node, {
|
|
310791
310102
|
optional: node.dataBinding.optional,
|
|
310792
310103
|
disabled: node.disabled
|
|
@@ -310794,22 +310105,22 @@ class TextAreaConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__
|
|
|
310794
310105
|
}
|
|
310795
310106
|
|
|
310796
310107
|
buildChildrenDataDeclaration(context) {
|
|
310797
|
-
const node = this.getCurrentNodeAs(
|
|
310108
|
+
const node = this.getCurrentNodeAs(_TextAreaNode__WEBPACK_IMPORTED_MODULE_7__.TextAreaNode);
|
|
310798
310109
|
return context.processChildrenDataDeclaration(node.helpNodes);
|
|
310799
310110
|
}
|
|
310800
310111
|
|
|
310801
310112
|
*doTraverseChildren() {
|
|
310802
|
-
const node = this.getCurrentNodeAs(
|
|
310113
|
+
const node = this.getCurrentNodeAs(_TextAreaNode__WEBPACK_IMPORTED_MODULE_7__.TextAreaNode);
|
|
310803
310114
|
yield* node.helpNodes;
|
|
310804
310115
|
}
|
|
310805
310116
|
|
|
310806
310117
|
get nodePaths() {
|
|
310807
|
-
const node = this.getCurrentNodeAs(
|
|
310118
|
+
const node = this.getCurrentNodeAs(_TextAreaNode__WEBPACK_IMPORTED_MODULE_7__.TextAreaNode);
|
|
310808
310119
|
return [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_3__.getNewBindingPathExpression)(node)];
|
|
310809
310120
|
}
|
|
310810
310121
|
|
|
310811
310122
|
doConvert(context) {
|
|
310812
|
-
const node = this.getCurrentNodeAs(
|
|
310123
|
+
const node = this.getCurrentNodeAs(_TextAreaNode__WEBPACK_IMPORTED_MODULE_7__.TextAreaNode);
|
|
310813
310124
|
this.ensurePathExists(node, node.dataBinding.path);
|
|
310814
310125
|
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__.componentMarkupBuilder)("TextArea");
|
|
310815
310126
|
|
|
@@ -310825,6 +310136,12 @@ class TextAreaConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__
|
|
|
310825
310136
|
markupBuilder.prop(x => x.resize).set(node.resize);
|
|
310826
310137
|
markupBuilder.prop(x => x.autoResize).set(node.autoResize);
|
|
310827
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
|
+
|
|
310828
310145
|
if (node.disabled2 != undefined) {
|
|
310829
310146
|
markupBuilder.prop(x => x.disabled2).set((0,_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_5__.buildExpressionPropValue)(node.disabled2));
|
|
310830
310147
|
|
|
@@ -310837,6 +310154,14 @@ class TextAreaConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__
|
|
|
310837
310154
|
return markupBuilder.buildConverterResultWithHelp(node, context);
|
|
310838
310155
|
}
|
|
310839
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
|
+
|
|
310840
310165
|
}
|
|
310841
310166
|
|
|
310842
310167
|
/***/ }),
|
|
@@ -310860,7 +310185,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
310860
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");
|
|
310861
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");
|
|
310862
310187
|
/* harmony import */ var _Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../Commons/DocumentationLinks */ "./Generator/src/generators/markupGenerator/ElementProcessors/Commons/DocumentationLinks.ts");
|
|
310863
|
-
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;
|
|
310864
310189
|
|
|
310865
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 }); }
|
|
310866
310191
|
|
|
@@ -310876,7 +310201,7 @@ function _initializerWarningHelper(descriptor, context) { throw new Error('Decor
|
|
|
310876
310201
|
|
|
310877
310202
|
|
|
310878
310203
|
|
|
310879
|
-
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 {
|
|
310880
310205
|
constructor(...args) {
|
|
310881
310206
|
super(...args);
|
|
310882
310207
|
|
|
@@ -310907,6 +310232,10 @@ let TextAreaNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODU
|
|
|
310907
310232
|
_initializerDefineProperty(this, "help", _descriptor13, this);
|
|
310908
310233
|
|
|
310909
310234
|
_initializerDefineProperty(this, "helpNodes", _descriptor14, this);
|
|
310235
|
+
|
|
310236
|
+
_initializerDefineProperty(this, "useLengthLimit", _descriptor15, this);
|
|
310237
|
+
|
|
310238
|
+
_initializerDefineProperty(this, "maxTextLength", _descriptor16, this);
|
|
310910
310239
|
}
|
|
310911
310240
|
|
|
310912
310241
|
getOwnPath() {
|
|
@@ -310983,6 +310312,16 @@ let TextAreaNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODU
|
|
|
310983
310312
|
enumerable: true,
|
|
310984
310313
|
writable: true,
|
|
310985
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
|
|
310986
310325
|
})), _class2)) || _class);
|
|
310987
310326
|
|
|
310988
310327
|
/***/ }),
|