@kontur.candy/generator 4.296.0-finalerrorlogapi.0 → 4.296.0-new-selectall-checkbox.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +806 -53
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2707,6 +2707,24 @@ module.exports = webpackEmptyContext;
|
|
|
2707
2707
|
|
|
2708
2708
|
/***/ }),
|
|
2709
2709
|
|
|
2710
|
+
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectAllCheckbox sync recursive .md$":
|
|
2711
|
+
/*!**************************************************************************************************************!*\
|
|
2712
|
+
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectAllCheckbox/ sync .md$ ***!
|
|
2713
|
+
\**************************************************************************************************************/
|
|
2714
|
+
/***/ ((module) => {
|
|
2715
|
+
|
|
2716
|
+
function webpackEmptyContext(req) {
|
|
2717
|
+
var e = new Error("Cannot find module '" + req + "'");
|
|
2718
|
+
e.code = 'MODULE_NOT_FOUND';
|
|
2719
|
+
throw e;
|
|
2720
|
+
}
|
|
2721
|
+
webpackEmptyContext.keys = () => ([]);
|
|
2722
|
+
webpackEmptyContext.resolve = webpackEmptyContext;
|
|
2723
|
+
webpackEmptyContext.id = "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectAllCheckbox sync recursive .md$";
|
|
2724
|
+
module.exports = webpackEmptyContext;
|
|
2725
|
+
|
|
2726
|
+
/***/ }),
|
|
2727
|
+
|
|
2710
2728
|
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Select sync recursive .md$":
|
|
2711
2729
|
/*!***************************************************************************************************!*\
|
|
2712
2730
|
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Select/ sync .md$ ***!
|
|
@@ -113051,6 +113069,10 @@ class AbsoluteModelFieldPath {
|
|
|
113051
113069
|
return new AbsoluteModelFieldPath(createAbsoluteFromMask(pathWithFieldName, multiplicitySymbol), "value");
|
|
113052
113070
|
}
|
|
113053
113071
|
|
|
113072
|
+
toString() {
|
|
113073
|
+
return `${this.path.toLegacyPath()}.${this.field}`;
|
|
113074
|
+
}
|
|
113075
|
+
|
|
113054
113076
|
}
|
|
113055
113077
|
|
|
113056
113078
|
function isAllTokensResolved(tokens) {
|
|
@@ -121659,6 +121681,422 @@ class CompositionOperandContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPO
|
|
|
121659
121681
|
|
|
121660
121682
|
/***/ }),
|
|
121661
121683
|
|
|
121684
|
+
/***/ "./Generator/src/common/KCLang/CodeDom/KCLangDom.ts":
|
|
121685
|
+
/*!**********************************************************!*\
|
|
121686
|
+
!*** ./Generator/src/common/KCLang/CodeDom/KCLangDom.ts ***!
|
|
121687
|
+
\**********************************************************/
|
|
121688
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
121689
|
+
|
|
121690
|
+
"use strict";
|
|
121691
|
+
__webpack_require__.r(__webpack_exports__);
|
|
121692
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
121693
|
+
/* harmony export */ "KCLangType": () => (/* binding */ KCLangType),
|
|
121694
|
+
/* harmony export */ "StringType": () => (/* binding */ StringType),
|
|
121695
|
+
/* harmony export */ "DecimalType": () => (/* binding */ DecimalType),
|
|
121696
|
+
/* harmony export */ "DateType": () => (/* binding */ DateType),
|
|
121697
|
+
/* harmony export */ "BoolType": () => (/* binding */ BoolType),
|
|
121698
|
+
/* harmony export */ "KCLangBase": () => (/* binding */ KCLangBase),
|
|
121699
|
+
/* harmony export */ "KCLangExpression": () => (/* binding */ KCLangExpression),
|
|
121700
|
+
/* harmony export */ "InBlock": () => (/* binding */ InBlock),
|
|
121701
|
+
/* harmony export */ "IfStatement": () => (/* binding */ IfStatement),
|
|
121702
|
+
/* harmony export */ "CheckStatement": () => (/* binding */ CheckStatement),
|
|
121703
|
+
/* harmony export */ "WithBlock": () => (/* binding */ WithBlock),
|
|
121704
|
+
/* harmony export */ "FormulaStatement": () => (/* binding */ FormulaStatement),
|
|
121705
|
+
/* harmony export */ "BinaryExpression": () => (/* binding */ BinaryExpression),
|
|
121706
|
+
/* harmony export */ "LogicalExpression": () => (/* binding */ LogicalExpression),
|
|
121707
|
+
/* harmony export */ "EqExpression": () => (/* binding */ EqExpression),
|
|
121708
|
+
/* harmony export */ "NotEqExpression": () => (/* binding */ NotEqExpression),
|
|
121709
|
+
/* harmony export */ "GtExpression": () => (/* binding */ GtExpression),
|
|
121710
|
+
/* harmony export */ "GeExpression": () => (/* binding */ GeExpression),
|
|
121711
|
+
/* harmony export */ "LtExpression": () => (/* binding */ LtExpression),
|
|
121712
|
+
/* harmony export */ "LeExpression": () => (/* binding */ LeExpression),
|
|
121713
|
+
/* harmony export */ "OrExpression": () => (/* binding */ OrExpression),
|
|
121714
|
+
/* harmony export */ "AndExpression": () => (/* binding */ AndExpression),
|
|
121715
|
+
/* harmony export */ "ArithmeticalBinaryExpression": () => (/* binding */ ArithmeticalBinaryExpression),
|
|
121716
|
+
/* harmony export */ "MultiplyExpression": () => (/* binding */ MultiplyExpression),
|
|
121717
|
+
/* harmony export */ "SumExpression": () => (/* binding */ SumExpression),
|
|
121718
|
+
/* harmony export */ "MinusExpression": () => (/* binding */ MinusExpression),
|
|
121719
|
+
/* harmony export */ "DivExpression": () => (/* binding */ DivExpression),
|
|
121720
|
+
/* harmony export */ "NullCoalesceExpression": () => (/* binding */ NullCoalesceExpression),
|
|
121721
|
+
/* harmony export */ "ValueReferenceExpression": () => (/* binding */ ValueReferenceExpression),
|
|
121722
|
+
/* harmony export */ "ConditionalExpression": () => (/* binding */ ConditionalExpression),
|
|
121723
|
+
/* harmony export */ "DecimalConstExpression": () => (/* binding */ DecimalConstExpression),
|
|
121724
|
+
/* harmony export */ "StringConstExpression": () => (/* binding */ StringConstExpression),
|
|
121725
|
+
/* harmony export */ "BoolConstExpression": () => (/* binding */ BoolConstExpression),
|
|
121726
|
+
/* harmony export */ "CastExpression": () => (/* binding */ CastExpression),
|
|
121727
|
+
/* harmony export */ "castToDecimal": () => (/* binding */ castToDecimal),
|
|
121728
|
+
/* harmony export */ "castToString": () => (/* binding */ castToString)
|
|
121729
|
+
/* harmony export */ });
|
|
121730
|
+
/* harmony import */ var big_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! big.js */ "./node_modules/big.js/big.mjs");
|
|
121731
|
+
/* harmony import */ var _Common_IndentString__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../Common/IndentString */ "./Common/IndentString.ts");
|
|
121732
|
+
/* harmony import */ var _Common_TypingUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../Common/TypingUtils */ "./Common/TypingUtils.ts");
|
|
121733
|
+
|
|
121734
|
+
|
|
121735
|
+
|
|
121736
|
+
const newline = "\n";
|
|
121737
|
+
const emptyline = "";
|
|
121738
|
+
const defaultIndentSize = 2;
|
|
121739
|
+
class KCLangType {
|
|
121740
|
+
// eslint-disable-next-line no-useless-constructor
|
|
121741
|
+
constructor() {// protected for all descendants
|
|
121742
|
+
|
|
121743
|
+
this.isBaseType = () => true;
|
|
121744
|
+
}
|
|
121745
|
+
|
|
121746
|
+
}
|
|
121747
|
+
class StringType extends KCLangType {
|
|
121748
|
+
constructor(...args) {
|
|
121749
|
+
super(...args);
|
|
121750
|
+
|
|
121751
|
+
this.isStringType = () => true;
|
|
121752
|
+
|
|
121753
|
+
this.getTypeName = () => "string";
|
|
121754
|
+
}
|
|
121755
|
+
|
|
121756
|
+
}
|
|
121757
|
+
StringType.default = new StringType();
|
|
121758
|
+
class DecimalType extends KCLangType {
|
|
121759
|
+
constructor(...args) {
|
|
121760
|
+
super(...args);
|
|
121761
|
+
|
|
121762
|
+
this.isDecimalType = () => true;
|
|
121763
|
+
|
|
121764
|
+
this.getTypeName = () => "decimal";
|
|
121765
|
+
}
|
|
121766
|
+
|
|
121767
|
+
}
|
|
121768
|
+
DecimalType.default = new DecimalType();
|
|
121769
|
+
class DateType extends KCLangType {
|
|
121770
|
+
constructor(...args) {
|
|
121771
|
+
super(...args);
|
|
121772
|
+
|
|
121773
|
+
this.isDateType = () => true;
|
|
121774
|
+
|
|
121775
|
+
this.getTypeName = () => "date";
|
|
121776
|
+
}
|
|
121777
|
+
|
|
121778
|
+
}
|
|
121779
|
+
DateType.default = new DateType();
|
|
121780
|
+
class BoolType extends KCLangType {
|
|
121781
|
+
constructor(...args) {
|
|
121782
|
+
super(...args);
|
|
121783
|
+
|
|
121784
|
+
this.isBoolType = () => true;
|
|
121785
|
+
|
|
121786
|
+
this.getTypeName = () => (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_2__.reject)("KCLang does not support explicit bool type");
|
|
121787
|
+
}
|
|
121788
|
+
|
|
121789
|
+
}
|
|
121790
|
+
BoolType.default = new BoolType();
|
|
121791
|
+
class KCLangBase {
|
|
121792
|
+
getPathString(path) {
|
|
121793
|
+
const legacyPath = path.toLegacyPath();
|
|
121794
|
+
return legacyPath[0] == "/" ? legacyPath.slice(1) : legacyPath;
|
|
121795
|
+
}
|
|
121796
|
+
|
|
121797
|
+
}
|
|
121798
|
+
class KCLangExpression extends KCLangBase {}
|
|
121799
|
+
class InBlock extends KCLangBase {
|
|
121800
|
+
constructor(path, ...statements) {
|
|
121801
|
+
super();
|
|
121802
|
+
this.path = void 0;
|
|
121803
|
+
this.statements = void 0;
|
|
121804
|
+
this.statements = statements;
|
|
121805
|
+
this.path = path;
|
|
121806
|
+
}
|
|
121807
|
+
|
|
121808
|
+
toString(indentSize = defaultIndentSize) {
|
|
121809
|
+
return `in ${this.getPathString(this.path)}` + newline + `{` + newline + (0,_Common_IndentString__WEBPACK_IMPORTED_MODULE_1__.indent)(this.statements.map(st => st.toString()).join(newline), indentSize) + newline + "}";
|
|
121810
|
+
}
|
|
121811
|
+
|
|
121812
|
+
}
|
|
121813
|
+
class IfStatement extends KCLangBase {
|
|
121814
|
+
constructor(expression, ...statements) {
|
|
121815
|
+
super();
|
|
121816
|
+
this.statements = void 0;
|
|
121817
|
+
this.expression = void 0;
|
|
121818
|
+
this.expression = expression;
|
|
121819
|
+
this.statements = statements;
|
|
121820
|
+
}
|
|
121821
|
+
|
|
121822
|
+
toString(indentSize = defaultIndentSize) {
|
|
121823
|
+
return `if (${this.expression.toString()}) {` + newline + (0,_Common_IndentString__WEBPACK_IMPORTED_MODULE_1__.indent)(this.statements.map(st => st.toString()).join(newline), indentSize) + newline + "}";
|
|
121824
|
+
}
|
|
121825
|
+
|
|
121826
|
+
}
|
|
121827
|
+
class CheckStatement extends KCLangBase {
|
|
121828
|
+
constructor(rule, ...withBlocks) {
|
|
121829
|
+
super();
|
|
121830
|
+
this.rule = void 0;
|
|
121831
|
+
this.withBlocks = void 0;
|
|
121832
|
+
this.withBlocks = withBlocks;
|
|
121833
|
+
this.rule = rule;
|
|
121834
|
+
}
|
|
121835
|
+
|
|
121836
|
+
toString(indentSize = defaultIndentSize) {
|
|
121837
|
+
const withBlocksText = this.withBlocks.length > 0 ? newline + (0,_Common_IndentString__WEBPACK_IMPORTED_MODULE_1__.indent)(this.withBlocks.map(block => block.toString()).join(newline), indentSize) : emptyline;
|
|
121838
|
+
return `check ${this.rule.toString()}${withBlocksText};`;
|
|
121839
|
+
}
|
|
121840
|
+
|
|
121841
|
+
}
|
|
121842
|
+
class WithBlock extends KCLangBase {
|
|
121843
|
+
constructor(name, value) {
|
|
121844
|
+
super();
|
|
121845
|
+
this.name = void 0;
|
|
121846
|
+
this.value = void 0;
|
|
121847
|
+
this.name = name;
|
|
121848
|
+
this.value = value;
|
|
121849
|
+
}
|
|
121850
|
+
|
|
121851
|
+
toString(indentSize) {
|
|
121852
|
+
const quotedValue = this.value.replace(/\`/g, "\\`");
|
|
121853
|
+
return `with ${this.name} \`\`\`${quotedValue}\`\`\``;
|
|
121854
|
+
}
|
|
121855
|
+
|
|
121856
|
+
}
|
|
121857
|
+
class FormulaStatement extends KCLangBase {
|
|
121858
|
+
constructor(target, expression) {
|
|
121859
|
+
super();
|
|
121860
|
+
this.target = void 0;
|
|
121861
|
+
this.expression = void 0;
|
|
121862
|
+
this.target = target;
|
|
121863
|
+
this.expression = expression;
|
|
121864
|
+
}
|
|
121865
|
+
|
|
121866
|
+
toString(indentSize = defaultIndentSize) {
|
|
121867
|
+
return `${this.getPathString(this.target)} === ${this.expression.toString()}`;
|
|
121868
|
+
}
|
|
121869
|
+
|
|
121870
|
+
}
|
|
121871
|
+
class BinaryExpression extends KCLangExpression {
|
|
121872
|
+
constructor(left, right) {
|
|
121873
|
+
super();
|
|
121874
|
+
this.left = void 0;
|
|
121875
|
+
this.right = void 0;
|
|
121876
|
+
this.left = left;
|
|
121877
|
+
this.right = right;
|
|
121878
|
+
}
|
|
121879
|
+
|
|
121880
|
+
needAddBraces(child) {
|
|
121881
|
+
return true;
|
|
121882
|
+
}
|
|
121883
|
+
|
|
121884
|
+
toString(indentSize = defaultIndentSize) {
|
|
121885
|
+
const leftExpr = this.needAddBraces(this.left) ? `(${this.left.toString()})` : this.left.toString();
|
|
121886
|
+
const rightExpr = this.needAddBraces(this.right) ? `(${this.right.toString()})` : this.right.toString();
|
|
121887
|
+
return `${leftExpr} ${this.operatorToString()} ${rightExpr}`;
|
|
121888
|
+
}
|
|
121889
|
+
|
|
121890
|
+
}
|
|
121891
|
+
class LogicalExpression extends BinaryExpression {
|
|
121892
|
+
getType() {
|
|
121893
|
+
return BoolType.default;
|
|
121894
|
+
}
|
|
121895
|
+
|
|
121896
|
+
}
|
|
121897
|
+
class EqExpression extends LogicalExpression {
|
|
121898
|
+
operatorToString() {
|
|
121899
|
+
return "==";
|
|
121900
|
+
}
|
|
121901
|
+
|
|
121902
|
+
}
|
|
121903
|
+
class NotEqExpression extends LogicalExpression {
|
|
121904
|
+
operatorToString() {
|
|
121905
|
+
return "!=";
|
|
121906
|
+
}
|
|
121907
|
+
|
|
121908
|
+
}
|
|
121909
|
+
class GtExpression extends LogicalExpression {
|
|
121910
|
+
operatorToString() {
|
|
121911
|
+
return ">";
|
|
121912
|
+
}
|
|
121913
|
+
|
|
121914
|
+
}
|
|
121915
|
+
class GeExpression extends LogicalExpression {
|
|
121916
|
+
operatorToString() {
|
|
121917
|
+
return ">=";
|
|
121918
|
+
}
|
|
121919
|
+
|
|
121920
|
+
}
|
|
121921
|
+
class LtExpression extends LogicalExpression {
|
|
121922
|
+
operatorToString() {
|
|
121923
|
+
return "<";
|
|
121924
|
+
}
|
|
121925
|
+
|
|
121926
|
+
}
|
|
121927
|
+
class LeExpression extends LogicalExpression {
|
|
121928
|
+
operatorToString() {
|
|
121929
|
+
return "<=";
|
|
121930
|
+
}
|
|
121931
|
+
|
|
121932
|
+
}
|
|
121933
|
+
class OrExpression extends LogicalExpression {
|
|
121934
|
+
operatorToString() {
|
|
121935
|
+
return "or";
|
|
121936
|
+
}
|
|
121937
|
+
|
|
121938
|
+
}
|
|
121939
|
+
class AndExpression extends LogicalExpression {
|
|
121940
|
+
operatorToString() {
|
|
121941
|
+
return "and";
|
|
121942
|
+
}
|
|
121943
|
+
|
|
121944
|
+
}
|
|
121945
|
+
class ArithmeticalBinaryExpression extends BinaryExpression {
|
|
121946
|
+
getType() {
|
|
121947
|
+
return DecimalType.default;
|
|
121948
|
+
}
|
|
121949
|
+
|
|
121950
|
+
}
|
|
121951
|
+
class MultiplyExpression extends ArithmeticalBinaryExpression {
|
|
121952
|
+
operatorToString() {
|
|
121953
|
+
return "*";
|
|
121954
|
+
}
|
|
121955
|
+
|
|
121956
|
+
}
|
|
121957
|
+
class SumExpression extends ArithmeticalBinaryExpression {
|
|
121958
|
+
operatorToString() {
|
|
121959
|
+
return "+";
|
|
121960
|
+
}
|
|
121961
|
+
|
|
121962
|
+
}
|
|
121963
|
+
class MinusExpression extends ArithmeticalBinaryExpression {
|
|
121964
|
+
operatorToString() {
|
|
121965
|
+
return "-";
|
|
121966
|
+
}
|
|
121967
|
+
|
|
121968
|
+
}
|
|
121969
|
+
class DivExpression extends ArithmeticalBinaryExpression {
|
|
121970
|
+
operatorToString() {
|
|
121971
|
+
return "/";
|
|
121972
|
+
}
|
|
121973
|
+
|
|
121974
|
+
}
|
|
121975
|
+
class NullCoalesceExpression extends BinaryExpression {
|
|
121976
|
+
getType() {
|
|
121977
|
+
return this.left.getType();
|
|
121978
|
+
}
|
|
121979
|
+
|
|
121980
|
+
operatorToString() {
|
|
121981
|
+
return "??";
|
|
121982
|
+
}
|
|
121983
|
+
|
|
121984
|
+
}
|
|
121985
|
+
class ValueReferenceExpression extends KCLangExpression {
|
|
121986
|
+
constructor(path) {
|
|
121987
|
+
super();
|
|
121988
|
+
this.path = void 0;
|
|
121989
|
+
this.path = path;
|
|
121990
|
+
}
|
|
121991
|
+
|
|
121992
|
+
getType() {
|
|
121993
|
+
return DecimalType.default;
|
|
121994
|
+
}
|
|
121995
|
+
|
|
121996
|
+
toString(indentSize = defaultIndentSize) {
|
|
121997
|
+
return this.getPathString(this.path);
|
|
121998
|
+
}
|
|
121999
|
+
|
|
122000
|
+
}
|
|
122001
|
+
class ConditionalExpression extends KCLangExpression {
|
|
122002
|
+
constructor(condition, trueResult, elseResult) {
|
|
122003
|
+
super();
|
|
122004
|
+
this.condition = void 0;
|
|
122005
|
+
this.trueResult = void 0;
|
|
122006
|
+
this.elseResult = void 0;
|
|
122007
|
+
this.condition = condition;
|
|
122008
|
+
this.trueResult = trueResult;
|
|
122009
|
+
this.elseResult = elseResult;
|
|
122010
|
+
}
|
|
122011
|
+
|
|
122012
|
+
toString(indentSize = defaultIndentSize) {
|
|
122013
|
+
return `${this.condition.toString()} ? ${this.trueResult.toString()} : ${this.elseResult}`;
|
|
122014
|
+
}
|
|
122015
|
+
|
|
122016
|
+
getType() {
|
|
122017
|
+
return this.trueResult.getType();
|
|
122018
|
+
}
|
|
122019
|
+
|
|
122020
|
+
}
|
|
122021
|
+
class DecimalConstExpression extends KCLangExpression {
|
|
122022
|
+
constructor(value) {
|
|
122023
|
+
super();
|
|
122024
|
+
this.value = void 0;
|
|
122025
|
+
this.value = (0,big_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value);
|
|
122026
|
+
}
|
|
122027
|
+
|
|
122028
|
+
getType() {
|
|
122029
|
+
return DecimalType.default;
|
|
122030
|
+
}
|
|
122031
|
+
|
|
122032
|
+
toString(indentSize = defaultIndentSize) {
|
|
122033
|
+
return this.value.toFixed();
|
|
122034
|
+
}
|
|
122035
|
+
|
|
122036
|
+
}
|
|
122037
|
+
class StringConstExpression extends KCLangExpression {
|
|
122038
|
+
constructor(value) {
|
|
122039
|
+
super();
|
|
122040
|
+
this.value = void 0;
|
|
122041
|
+
this.value = value;
|
|
122042
|
+
}
|
|
122043
|
+
|
|
122044
|
+
getType() {
|
|
122045
|
+
return StringType.default;
|
|
122046
|
+
}
|
|
122047
|
+
|
|
122048
|
+
toString(indentSize = defaultIndentSize) {
|
|
122049
|
+
return `"${this.value.toString()}"`;
|
|
122050
|
+
}
|
|
122051
|
+
|
|
122052
|
+
}
|
|
122053
|
+
StringConstExpression.empty = new StringConstExpression("");
|
|
122054
|
+
StringConstExpression.true = new StringConstExpression("true");
|
|
122055
|
+
StringConstExpression.false = new StringConstExpression("false");
|
|
122056
|
+
class BoolConstExpression extends KCLangExpression {
|
|
122057
|
+
constructor(value) {
|
|
122058
|
+
super();
|
|
122059
|
+
this.value = void 0;
|
|
122060
|
+
this.value = value;
|
|
122061
|
+
}
|
|
122062
|
+
|
|
122063
|
+
getType() {
|
|
122064
|
+
return BoolType.default;
|
|
122065
|
+
}
|
|
122066
|
+
|
|
122067
|
+
toString(indentSize = defaultIndentSize) {
|
|
122068
|
+
return `${this.value.toString()}`;
|
|
122069
|
+
}
|
|
122070
|
+
|
|
122071
|
+
}
|
|
122072
|
+
class CastExpression extends KCLangExpression {
|
|
122073
|
+
constructor(operand, type) {
|
|
122074
|
+
super();
|
|
122075
|
+
this.operand = void 0;
|
|
122076
|
+
this.type = void 0;
|
|
122077
|
+
this.operand = operand;
|
|
122078
|
+
this.type = type;
|
|
122079
|
+
}
|
|
122080
|
+
|
|
122081
|
+
getType() {
|
|
122082
|
+
return this.type;
|
|
122083
|
+
}
|
|
122084
|
+
|
|
122085
|
+
toString(indentSize) {
|
|
122086
|
+
const operandText = this.operand.toString(indentSize);
|
|
122087
|
+
return this.operand instanceof ValueReferenceExpression ? `${operandText} as ${this.type.getTypeName()}` : `(${operandText}) as ${this.type.getTypeName()}`;
|
|
122088
|
+
}
|
|
122089
|
+
|
|
122090
|
+
}
|
|
122091
|
+
function castToDecimal(expression) {
|
|
122092
|
+
return expression.getType() === DecimalType.default ? expression : new CastExpression(expression, DecimalType.default);
|
|
122093
|
+
}
|
|
122094
|
+
function castToString(expression) {
|
|
122095
|
+
return expression.getType() === StringType.default ? expression : new CastExpression(expression, StringType.default);
|
|
122096
|
+
}
|
|
122097
|
+
|
|
122098
|
+
/***/ }),
|
|
122099
|
+
|
|
121662
122100
|
/***/ "./Generator/src/common/KCLang/IKCLangExpressionVisitor.ts":
|
|
121663
122101
|
/*!*****************************************************************!*\
|
|
121664
122102
|
!*** ./Generator/src/common/KCLang/IKCLangExpressionVisitor.ts ***!
|
|
@@ -122391,10 +122829,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
122391
122829
|
/* harmony import */ var _Common_TypingUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../Common/TypingUtils */ "./Common/TypingUtils.ts");
|
|
122392
122830
|
/* harmony import */ var _Common_IndentString__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../Common/IndentString */ "./Common/IndentString.ts");
|
|
122393
122831
|
/* harmony import */ var _StringUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../StringUtils */ "./Generator/src/common/StringUtils.ts");
|
|
122394
|
-
/* harmony import */ var
|
|
122395
|
-
/* harmony import */ var
|
|
122396
|
-
/* harmony import */ var
|
|
122397
|
-
/* harmony import */ var
|
|
122832
|
+
/* harmony import */ var _generators_AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_FormulaReader__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../generators/AutoCalculationsGenerator/AutoCalculationsFromFormulas/KCXmlContract/FormulaReader */ "./Generator/src/generators/AutoCalculationsGenerator/AutoCalculationsFromFormulas/KCXmlContract/FormulaReader.ts");
|
|
122833
|
+
/* harmony import */ var _IKCLangExpressionVisitor__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./IKCLangExpressionVisitor */ "./Generator/src/common/KCLang/IKCLangExpressionVisitor.ts");
|
|
122834
|
+
/* harmony import */ var _KCLangDescriptionParser__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./KCLangDescriptionParser */ "./Generator/src/common/KCLang/KCLangDescriptionParser.ts");
|
|
122835
|
+
/* harmony import */ var _KCLangNodes__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./KCLangNodes */ "./Generator/src/common/KCLang/KCLangNodes.ts");
|
|
122836
|
+
/* harmony import */ var _Antlr_KCLangAntlrParser__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./Antlr/KCLangAntlrParser */ "./Generator/src/common/KCLang/Antlr/KCLangAntlrParser.ts");
|
|
122837
|
+
|
|
122398
122838
|
|
|
122399
122839
|
|
|
122400
122840
|
|
|
@@ -122519,7 +122959,7 @@ function generateKCXmlExpression(expression) {
|
|
|
122519
122959
|
}
|
|
122520
122960
|
|
|
122521
122961
|
function formatDescribeStatement(ast, matchPath, describe) {
|
|
122522
|
-
return
|
|
122962
|
+
return _KCLangDescriptionParser__WEBPACK_IMPORTED_MODULE_6__.KCLangDescriptionParser.parse(describe.text).map(item => {
|
|
122523
122963
|
if (typeof item === "string") {
|
|
122524
122964
|
return item;
|
|
122525
122965
|
} else {
|
|
@@ -122551,12 +122991,12 @@ function generateBlockKCXmlFormulas(block, parents) {
|
|
|
122551
122991
|
let lastDescribeStatement;
|
|
122552
122992
|
|
|
122553
122993
|
for (const statement of block.statements) {
|
|
122554
|
-
if ((0,
|
|
122994
|
+
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_7__.isFormulaStatement)(statement)) {
|
|
122555
122995
|
result.push(generateKCXmlFormula(statement, matchPath, lastDescribeStatement));
|
|
122556
122996
|
lastDescribeStatement = undefined;
|
|
122557
122997
|
}
|
|
122558
122998
|
|
|
122559
|
-
if ((0,
|
|
122999
|
+
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_7__.isEnsureStatement)(statement)) {
|
|
122560
123000
|
lastDescribeStatement = undefined;
|
|
122561
123001
|
}
|
|
122562
123002
|
|
|
@@ -122564,11 +123004,11 @@ function generateBlockKCXmlFormulas(block, parents) {
|
|
|
122564
123004
|
throw new Error("Describe should be placed before assign of ensure statements");
|
|
122565
123005
|
}
|
|
122566
123006
|
|
|
122567
|
-
if ((0,
|
|
123007
|
+
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_7__.isDescribeStatement)(statement)) {
|
|
122568
123008
|
lastDescribeStatement = statement;
|
|
122569
123009
|
}
|
|
122570
123010
|
|
|
122571
|
-
if ((0,
|
|
123011
|
+
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_7__.isBlockStatement)(statement)) {
|
|
122572
123012
|
result.push(generateBlockKCXmlFormulas(statement, [...(parents !== null && parents !== void 0 ? parents : []), block]));
|
|
122573
123013
|
}
|
|
122574
123014
|
}
|
|
@@ -122579,7 +123019,7 @@ function generateBlockKCXmlFormulas(block, parents) {
|
|
|
122579
123019
|
function guessConditionTarget(condition) {
|
|
122580
123020
|
let result;
|
|
122581
123021
|
|
|
122582
|
-
class GuessConditionTargetVisitor extends
|
|
123022
|
+
class GuessConditionTargetVisitor extends _IKCLangExpressionVisitor__WEBPACK_IMPORTED_MODULE_5__.DefaultKCLangExpressionVisitor {
|
|
122583
123023
|
visitExistsKCLangNode(node) {
|
|
122584
123024
|
if (result == undefined) {
|
|
122585
123025
|
result = node.select;
|
|
@@ -122624,7 +123064,7 @@ function guessConditionTarget(condition) {
|
|
|
122624
123064
|
|
|
122625
123065
|
}
|
|
122626
123066
|
|
|
122627
|
-
(0,
|
|
123067
|
+
(0,_IKCLangExpressionVisitor__WEBPACK_IMPORTED_MODULE_5__.traverseKCLangExpression)(condition.expression, new GuessConditionTargetVisitor());
|
|
122628
123068
|
return result;
|
|
122629
123069
|
}
|
|
122630
123070
|
|
|
@@ -122639,7 +123079,7 @@ function generateKCXmlCondition(ast, matchPath, parentConditions, describe) {
|
|
|
122639
123079
|
if (parentConditions != undefined && (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_1__.arrayIsNotEmpty)(parentConditions)) {
|
|
122640
123080
|
var _parentConditions$map;
|
|
122641
123081
|
|
|
122642
|
-
const condition = parentConditions.length === 1 ? parentConditions[0].condition : (0,
|
|
123082
|
+
const condition = parentConditions.length === 1 ? parentConditions[0].condition : (0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_7__.andKCLangNode)(...((_parentConditions$map = parentConditions === null || parentConditions === void 0 ? void 0 : parentConditions.map(z => z.condition)) !== null && _parentConditions$map !== void 0 ? _parentConditions$map : []));
|
|
122643
123083
|
return `<m:condition match="${matchPath}"${descriptionAttr}${levelAttr}${targetAttr}>\n` + ` <m:when>\n` + (0,_Common_IndentString__WEBPACK_IMPORTED_MODULE_2__.indent)(generateKCXmlExpression(condition), 2) + "\n" + (0,_Common_IndentString__WEBPACK_IMPORTED_MODULE_2__.indent)(generateKCXmlExpression(ast.expression), 2) + "\n" + ` </m:when>\n` + `</m:condition>`;
|
|
122644
123084
|
}
|
|
122645
123085
|
|
|
@@ -122652,11 +123092,11 @@ function generateBlockKCXmlConditions(block, parents, parentConditions) {
|
|
|
122652
123092
|
let lastDescribeStatement;
|
|
122653
123093
|
|
|
122654
123094
|
for (const statement of block.statements) {
|
|
122655
|
-
if ((0,
|
|
123095
|
+
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_7__.isFormulaStatement)(statement)) {
|
|
122656
123096
|
lastDescribeStatement = undefined;
|
|
122657
123097
|
}
|
|
122658
123098
|
|
|
122659
|
-
if ((0,
|
|
123099
|
+
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_7__.isEnsureStatement)(statement)) {
|
|
122660
123100
|
result.push(generateKCXmlCondition(statement, matchPath, parentConditions, lastDescribeStatement));
|
|
122661
123101
|
lastDescribeStatement = undefined;
|
|
122662
123102
|
}
|
|
@@ -122665,15 +123105,15 @@ function generateBlockKCXmlConditions(block, parents, parentConditions) {
|
|
|
122665
123105
|
throw new Error("Describe should be placed before assign of ensure statements");
|
|
122666
123106
|
}
|
|
122667
123107
|
|
|
122668
|
-
if ((0,
|
|
123108
|
+
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_7__.isDescribeStatement)(statement)) {
|
|
122669
123109
|
lastDescribeStatement = statement;
|
|
122670
123110
|
}
|
|
122671
123111
|
|
|
122672
|
-
if ((0,
|
|
123112
|
+
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_7__.isConditionalStatement)(statement)) {
|
|
122673
123113
|
result.push(generateConditionalConditions(statement, [...(parents !== null && parents !== void 0 ? parents : []), block], parentConditions));
|
|
122674
123114
|
}
|
|
122675
123115
|
|
|
122676
|
-
if ((0,
|
|
123116
|
+
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_7__.isBlockStatement)(statement)) {
|
|
122677
123117
|
result.push(generateBlockKCXmlConditions(statement, [...(parents !== null && parents !== void 0 ? parents : []), block], parentConditions));
|
|
122678
123118
|
}
|
|
122679
123119
|
}
|
|
@@ -122687,7 +123127,7 @@ function generateConditionalConditions(conditionalStatement, parents, parentCond
|
|
|
122687
123127
|
let lastDescribeStatement;
|
|
122688
123128
|
|
|
122689
123129
|
for (const x of conditionalStatement.statements) {
|
|
122690
|
-
if ((0,
|
|
123130
|
+
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_7__.isEnsureStatement)(x)) {
|
|
122691
123131
|
result.push(generateKCXmlCondition(x, matchPath, [...(parentConditions !== null && parentConditions !== void 0 ? parentConditions : []), conditionalStatement], lastDescribeStatement));
|
|
122692
123132
|
lastDescribeStatement = undefined;
|
|
122693
123133
|
}
|
|
@@ -122696,15 +123136,15 @@ function generateConditionalConditions(conditionalStatement, parents, parentCond
|
|
|
122696
123136
|
throw new Error("Describe should be placed before assign of ensure statements");
|
|
122697
123137
|
}
|
|
122698
123138
|
|
|
122699
|
-
if ((0,
|
|
123139
|
+
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_7__.isDescribeStatement)(x)) {
|
|
122700
123140
|
lastDescribeStatement = x;
|
|
122701
123141
|
}
|
|
122702
123142
|
|
|
122703
|
-
if ((0,
|
|
123143
|
+
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_7__.isConditionalStatement)(x)) {
|
|
122704
123144
|
result.push(generateConditionalConditions(x, parents, [...(parentConditions !== null && parentConditions !== void 0 ? parentConditions : []), conditionalStatement]));
|
|
122705
123145
|
}
|
|
122706
123146
|
|
|
122707
|
-
if ((0,
|
|
123147
|
+
if ((0,_KCLangNodes__WEBPACK_IMPORTED_MODULE_7__.isBlockStatement)(x)) {
|
|
122708
123148
|
result.push(generateBlockKCXmlConditions(x, parents, [...(parentConditions !== null && parentConditions !== void 0 ? parentConditions : []), conditionalStatement]));
|
|
122709
123149
|
}
|
|
122710
123150
|
}
|
|
@@ -122738,11 +123178,16 @@ function generateKCXml(blocks) {
|
|
|
122738
123178
|
|
|
122739
123179
|
class KCLangToXmlTranspiler {
|
|
122740
123180
|
static transpile(kcLang, customParser) {
|
|
122741
|
-
const parser = customParser !== null && customParser !== void 0 ? customParser :
|
|
123181
|
+
const parser = customParser !== null && customParser !== void 0 ? customParser : _Antlr_KCLangAntlrParser__WEBPACK_IMPORTED_MODULE_8__.KCLangAntlrParser.parse;
|
|
122742
123182
|
const kcxml = generateKCXml(parser(kcLang).blocks);
|
|
122743
123183
|
return kcxml;
|
|
122744
123184
|
}
|
|
122745
123185
|
|
|
123186
|
+
static transpileAsMathContainer(kcLang, customParser) {
|
|
123187
|
+
const formulaReader = new _generators_AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_FormulaReader__WEBPACK_IMPORTED_MODULE_4__.FormulaReader();
|
|
123188
|
+
return formulaReader.readFormulas(KCLangToXmlTranspiler.transpile(kcLang, customParser));
|
|
123189
|
+
}
|
|
123190
|
+
|
|
122746
123191
|
}
|
|
122747
123192
|
function kclang(str) {
|
|
122748
123193
|
return KCLangToXmlTranspiler.transpile(str.join(""));
|
|
@@ -123821,7 +124266,7 @@ class StringTypeMessageGenerator {
|
|
|
123821
124266
|
}
|
|
123822
124267
|
|
|
123823
124268
|
if (constraints.patterns != undefined && (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_2__.arrayHasLength)(constraints.patterns, 1)) {
|
|
123824
|
-
const uniqValues = Iterator.from(unique(this.generateRegexValues(constraints.patterns[0],
|
|
124269
|
+
const uniqValues = Iterator.from(unique(this.generateRegexValues(constraints.patterns[0], 20))).toArray();
|
|
123825
124270
|
(0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_2__.ensureArrayIsNotEmpty)(uniqValues);
|
|
123826
124271
|
const isNumbersOnly = /^0+$/.test(uniqValues[0]);
|
|
123827
124272
|
|
|
@@ -132013,16 +132458,60 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
132013
132458
|
/* harmony import */ var _Common_IterableUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../Common/IterableUtils */ "./Common/IterableUtils.ts");
|
|
132014
132459
|
/* harmony import */ var _DataDeclarationGenerator_placeholders__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../DataDeclarationGenerator/placeholders */ "./Generator/src/generators/DataDeclarationGenerator/placeholders.js");
|
|
132015
132460
|
/* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
|
|
132461
|
+
/* harmony import */ var _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../markupGenerator/Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
132462
|
+
/* harmony import */ var _markupGenerator_AllConverters__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../markupGenerator/AllConverters */ "./Generator/src/generators/markupGenerator/AllConverters.ts");
|
|
132463
|
+
|
|
132464
|
+
|
|
132016
132465
|
|
|
132017
132466
|
|
|
132018
132467
|
|
|
132019
132468
|
|
|
132020
132469
|
class LazyLoadDeclarationGenerator {
|
|
132021
|
-
constructor(formSchemaRng) {
|
|
132470
|
+
constructor(sugarRoot, formSchemaRng) {
|
|
132022
132471
|
this.formSchemaRng = void 0;
|
|
132472
|
+
this.sugarRoot = void 0;
|
|
132473
|
+
this.sugarRoot = sugarRoot;
|
|
132023
132474
|
this.formSchemaRng = formSchemaRng;
|
|
132024
132475
|
}
|
|
132025
132476
|
|
|
132477
|
+
generate() {
|
|
132478
|
+
const declaration = {};
|
|
132479
|
+
const resultItems = _Common_IterableUtils__WEBPACK_IMPORTED_MODULE_1__.IterUtils.concat(this.processElement((0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_3__.emptyAbsoluteModelPath)(), this.formSchemaRng.getRootElement()), this.extractLazyLoadingDeclarationFromSugar(this.sugarRoot));
|
|
132480
|
+
|
|
132481
|
+
for (const lazyLoadingNodeDeclaration of resultItems) {
|
|
132482
|
+
const legacyPathWithField = lazyLoadingNodeDeclaration.path instanceof _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_3__.ModelPathImpl ? lazyLoadingNodeDeclaration.path.toLegacyPath() : lazyLoadingNodeDeclaration.path.toString();
|
|
132483
|
+
declaration[legacyPathWithField] = {
|
|
132484
|
+
lazyLoadMode: lazyLoadingNodeDeclaration.lazyLoadMode,
|
|
132485
|
+
thresholdValue: lazyLoadingNodeDeclaration.thresholdValue
|
|
132486
|
+
};
|
|
132487
|
+
}
|
|
132488
|
+
|
|
132489
|
+
const result = this.replaceHolder(`
|
|
132490
|
+
export default function lazyLoadDeclaration() {
|
|
132491
|
+
return ${serialize_javascript__WEBPACK_IMPORTED_MODULE_0___default()(declaration, {
|
|
132492
|
+
space: " "
|
|
132493
|
+
})};
|
|
132494
|
+
};`);
|
|
132495
|
+
const content = unescape(result.replace(/(\\)(u[\dA-Fa-f]{4})/g, "%$2"));
|
|
132496
|
+
return {
|
|
132497
|
+
content: content,
|
|
132498
|
+
declaration: declaration
|
|
132499
|
+
};
|
|
132500
|
+
}
|
|
132501
|
+
|
|
132502
|
+
*extractLazyLoadingDeclarationFromSugar(sugarRoot) {
|
|
132503
|
+
const controlConverterClass = (0,_markupGenerator_AllConverters__WEBPACK_IMPORTED_MODULE_5__.getConverterByNodeClass)((0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.getNodeClass)(sugarRoot));
|
|
132504
|
+
|
|
132505
|
+
if (controlConverterClass != undefined) {
|
|
132506
|
+
const converter = new controlConverterClass(sugarRoot);
|
|
132507
|
+
yield* converter.buildLazyLoadingDeclaration(this.formSchemaRng);
|
|
132508
|
+
|
|
132509
|
+
for (const child of converter.traverseChildren()) {
|
|
132510
|
+
yield* this.extractLazyLoadingDeclarationFromSugar(child);
|
|
132511
|
+
}
|
|
132512
|
+
}
|
|
132513
|
+
}
|
|
132514
|
+
|
|
132026
132515
|
*processElement(path, element) {
|
|
132027
132516
|
if (element.lazyLoadMode != undefined) {
|
|
132028
132517
|
const currentPath = element.multiple ? path.joinWith(element.name) : path.joinWith(element.name + ".value");
|
|
@@ -132092,30 +132581,6 @@ class LazyLoadDeclarationGenerator {
|
|
|
132092
132581
|
}
|
|
132093
132582
|
}
|
|
132094
132583
|
|
|
132095
|
-
generate() {
|
|
132096
|
-
const declaration = {};
|
|
132097
|
-
const resultItems = this.processElement((0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_3__.emptyAbsoluteModelPath)(), this.formSchemaRng.getRootElement());
|
|
132098
|
-
|
|
132099
|
-
for (const lazyLoadingNodeDeclaration of resultItems) {
|
|
132100
|
-
declaration[lazyLoadingNodeDeclaration.path.toLegacyPath()] = {
|
|
132101
|
-
lazyLoadMode: lazyLoadingNodeDeclaration.lazyLoadMode,
|
|
132102
|
-
thresholdValue: lazyLoadingNodeDeclaration.thresholdValue
|
|
132103
|
-
};
|
|
132104
|
-
}
|
|
132105
|
-
|
|
132106
|
-
const result = this.replaceHolder(`
|
|
132107
|
-
export default function lazyLoadDeclaration() {
|
|
132108
|
-
return ${serialize_javascript__WEBPACK_IMPORTED_MODULE_0___default()(declaration, {
|
|
132109
|
-
space: " "
|
|
132110
|
-
})};
|
|
132111
|
-
};`);
|
|
132112
|
-
const content = unescape(result.replace(/(\\)(u[\dA-Fa-f]{4})/g, "%$2"));
|
|
132113
|
-
return {
|
|
132114
|
-
content: content,
|
|
132115
|
-
declaration: declaration
|
|
132116
|
-
};
|
|
132117
|
-
}
|
|
132118
|
-
|
|
132119
132584
|
replaceHolder(decl) {
|
|
132120
132585
|
let replacedDecl = decl;
|
|
132121
132586
|
|
|
@@ -132146,7 +132611,8 @@ class LazyLoadDeclarationGenerator {
|
|
|
132146
132611
|
"use strict";
|
|
132147
132612
|
__webpack_require__.r(__webpack_exports__);
|
|
132148
132613
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
132149
|
-
/* harmony export */ "processSugar": () => (/* binding */ processSugar)
|
|
132614
|
+
/* harmony export */ "processSugar": () => (/* binding */ processSugar),
|
|
132615
|
+
/* harmony export */ "extractFormulasFromSugarKCLang": () => (/* binding */ extractFormulasFromSugarKCLang)
|
|
132150
132616
|
/* harmony export */ });
|
|
132151
132617
|
/* harmony import */ var _Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../Common/TypingUtils */ "./Common/TypingUtils.ts");
|
|
132152
132618
|
/* harmony import */ var _common_Errors_ProcessSugarErrors__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../common/Errors/ProcessSugarErrors */ "./Generator/src/common/Errors/ProcessSugarErrors.ts");
|
|
@@ -132191,6 +132657,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
132191
132657
|
/* harmony import */ var _ServerSideFLangNormalization_RuleBuilders_ValidationRulesBuilder__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./ServerSideFLangNormalization/RuleBuilders/ValidationRulesBuilder */ "./Generator/src/generators/ServerSideFLangNormalization/RuleBuilders/ValidationRulesBuilder.ts");
|
|
132192
132658
|
/* harmony import */ var _ServerSideFLangNormalization_FormulaAndInitOnlyNormalizationRuleGenerator__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./ServerSideFLangNormalization/FormulaAndInitOnlyNormalizationRuleGenerator */ "./Generator/src/generators/ServerSideFLangNormalization/FormulaAndInitOnlyNormalizationRuleGenerator.ts");
|
|
132193
132659
|
/* harmony import */ var _ServerSideFLangNormalization_CustomKCLangToFlangRuleGenerator__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./ServerSideFLangNormalization/CustomKCLangToFlangRuleGenerator */ "./Generator/src/generators/ServerSideFLangNormalization/CustomKCLangToFlangRuleGenerator.ts");
|
|
132660
|
+
/* harmony import */ var _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./markupGenerator/Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
132661
|
+
/* harmony import */ var _markupGenerator_AllConverters__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./markupGenerator/AllConverters */ "./Generator/src/generators/markupGenerator/AllConverters.ts");
|
|
132662
|
+
|
|
132663
|
+
|
|
132194
132664
|
|
|
132195
132665
|
|
|
132196
132666
|
|
|
@@ -132244,7 +132714,8 @@ function processSugar(formSugarContent, additionalContent, generationOptions) {
|
|
|
132244
132714
|
const formulaReader = new _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_FormulaReader__WEBPACK_IMPORTED_MODULE_17__.FormulaReader();
|
|
132245
132715
|
const kcLangMathContainer = formulaReader.readFormulas(_common_KCLang_KCLangToXmlTranspiler__WEBPACK_IMPORTED_MODULE_6__.KCLangToXmlTranspiler.transpile(additionalContent.kcLangContent));
|
|
132246
132716
|
const kxXmlMathContainer = new _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_FormulaReader__WEBPACK_IMPORTED_MODULE_17__.FormulaReader().readFormulas(additionalContent.kcJsXmlContent);
|
|
132247
|
-
const
|
|
132717
|
+
const formulasFromSugar = extractFormulasFromSugarKCLang(sugarRoot);
|
|
132718
|
+
const formulas = ((_kxXmlMathContainer$f = kxXmlMathContainer === null || kxXmlMathContainer === void 0 ? void 0 : (_kxXmlMathContainer$f2 = kxXmlMathContainer.formulas) === null || _kxXmlMathContainer$f2 === void 0 ? void 0 : _kxXmlMathContainer$f2.items) !== null && _kxXmlMathContainer$f !== void 0 ? _kxXmlMathContainer$f : []).concat((_kcLangMathContainer$ = kcLangMathContainer === null || kcLangMathContainer === void 0 ? void 0 : (_kcLangMathContainer$2 = kcLangMathContainer.formulas) === null || _kcLangMathContainer$2 === void 0 ? void 0 : _kcLangMathContainer$2.items) !== null && _kcLangMathContainer$ !== void 0 ? _kcLangMathContainer$ : []).concat([...formulasFromSugar]);
|
|
132248
132719
|
const useCalculator2 = ((_additionalContent$fo = additionalContent.formJsonSettings) === null || _additionalContent$fo === void 0 ? void 0 : _additionalContent$fo.autoCalculationCalculatorImpl) === "calculator2" || ((_additionalContent$fo2 = additionalContent.formJsonSettings) === null || _additionalContent$fo2 === void 0 ? void 0 : _additionalContent$fo2.useServerSideFLangNormalization);
|
|
132249
132720
|
const kcXmlConditions = (_Iterator$from$map$fl = Iterator.from(getImportedKcXmlValidations(sugarRoot, additionalContent)).map(x => {
|
|
132250
132721
|
var _container$conditions, _container$conditions2;
|
|
@@ -132268,7 +132739,7 @@ function processSugar(formSugarContent, additionalContent, generationOptions) {
|
|
|
132268
132739
|
} = dataDeclarationGenerator.generate();
|
|
132269
132740
|
const dataDeclarationHelper = new _DataDeclarationGenerator_DataDeclarationGenerationTimeHelper__WEBPACK_IMPORTED_MODULE_26__.DataDeclarationGenerationTimeHelper(dataDeclaration);
|
|
132270
132741
|
const validationGenerator = new _validationGenerator_ValidationGenerator__WEBPACK_IMPORTED_MODULE_16__.ValidationGenerator(sugarRoot, typeRegistry, controlCustomizationContext, formSchemaRng, (_sugarRoot$schemaVali2 = sugarRoot.schemaValidations) !== null && _sugarRoot$schemaVali2 !== void 0 ? _sugarRoot$schemaVali2 : false, additionalContent.validationsContent);
|
|
132271
|
-
const lazyLoadGenerator = new _LazyLoadDeclarationGenerator_LazyLoadDeclarationGenerator__WEBPACK_IMPORTED_MODULE_29__.LazyLoadDeclarationGenerator(formSchemaRng);
|
|
132742
|
+
const lazyLoadGenerator = new _LazyLoadDeclarationGenerator_LazyLoadDeclarationGenerator__WEBPACK_IMPORTED_MODULE_29__.LazyLoadDeclarationGenerator(sugarRoot, formSchemaRng);
|
|
132272
132743
|
const lazyLoadGeneratorResult = lazyLoadGenerator.generate();
|
|
132273
132744
|
const resourcesHash = (_generationOptions$re = generationOptions === null || generationOptions === void 0 ? void 0 : generationOptions.resourcesHash) !== null && _generationOptions$re !== void 0 ? _generationOptions$re : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__.reject)("Current generator version requires resources hash");
|
|
132274
132745
|
const formulaExprConverter = new _ServerSideFLangNormalization_FormulaExpressionToFlangExpressionConverter__WEBPACK_IMPORTED_MODULE_34__.FormulaExpressionToFlangExpressionConverter(path => (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_35__.adjustPathMultiplicityComplex)(path, formSchemaRng, dataDeclarationHelper));
|
|
@@ -132426,6 +132897,24 @@ function* getImportedKcXmlValidations(formNode, additionalContent) {
|
|
|
132426
132897
|
}
|
|
132427
132898
|
}
|
|
132428
132899
|
|
|
132900
|
+
function* extractFormulasFromSugarKCLang(sugarRoot) {
|
|
132901
|
+
const controlConverterClass = (0,_markupGenerator_AllConverters__WEBPACK_IMPORTED_MODULE_44__.getConverterByNodeClass)((0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_43__.getNodeClass)(sugarRoot));
|
|
132902
|
+
|
|
132903
|
+
if (controlConverterClass != undefined) {
|
|
132904
|
+
const converter = new controlConverterClass(sugarRoot);
|
|
132905
|
+
const result = Iterator.from(converter.buildSugarKCLangCalculations()).map(kclangDom => {
|
|
132906
|
+
var _KCLangToXmlTranspile, _KCLangToXmlTranspile2, _KCLangToXmlTranspile3;
|
|
132907
|
+
|
|
132908
|
+
return (_KCLangToXmlTranspile = (_KCLangToXmlTranspile2 = _common_KCLang_KCLangToXmlTranspiler__WEBPACK_IMPORTED_MODULE_6__.KCLangToXmlTranspiler.transpileAsMathContainer(kclangDom.toString())) === null || _KCLangToXmlTranspile2 === void 0 ? void 0 : (_KCLangToXmlTranspile3 = _KCLangToXmlTranspile2.formulas) === null || _KCLangToXmlTranspile3 === void 0 ? void 0 : _KCLangToXmlTranspile3.items) !== null && _KCLangToXmlTranspile !== void 0 ? _KCLangToXmlTranspile : [];
|
|
132909
|
+
}).flatMap(x => x);
|
|
132910
|
+
yield* result;
|
|
132911
|
+
|
|
132912
|
+
for (const child of converter.traverseChildren()) {
|
|
132913
|
+
yield* extractFormulasFromSugarKCLang(child);
|
|
132914
|
+
}
|
|
132915
|
+
}
|
|
132916
|
+
}
|
|
132917
|
+
|
|
132429
132918
|
/***/ }),
|
|
132430
132919
|
|
|
132431
132920
|
/***/ "./Generator/src/generators/ReadFormSources.ts":
|
|
@@ -136307,6 +136796,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
136307
136796
|
/* harmony import */ var _ElementProcessors_ValueViewers_DateView_DateViewConverter__WEBPACK_IMPORTED_MODULE_111__ = __webpack_require__(/*! ./ElementProcessors/ValueViewers/DateView/DateViewConverter */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueViewers/DateView/DateViewConverter.ts");
|
|
136308
136797
|
/* harmony import */ var _ElementProcessors_Action_Kebab_KebabConverter__WEBPACK_IMPORTED_MODULE_112__ = __webpack_require__(/*! ./ElementProcessors/Action/Kebab/KebabConverter */ "./Generator/src/generators/markupGenerator/ElementProcessors/Action/Kebab/KebabConverter.ts");
|
|
136309
136798
|
/* harmony import */ var _ElementProcessors_Helpers_Clue_InfoBlockConverter__WEBPACK_IMPORTED_MODULE_113__ = __webpack_require__(/*! ./ElementProcessors/Helpers/Clue/InfoBlockConverter */ "./Generator/src/generators/markupGenerator/ElementProcessors/Helpers/Clue/InfoBlockConverter.ts");
|
|
136799
|
+
/* harmony import */ var _ElementProcessors_ValueEditors_SelectAllCheckbox_SelectAllCheckboxConverter__WEBPACK_IMPORTED_MODULE_114__ = __webpack_require__(/*! ./ElementProcessors/ValueEditors/SelectAllCheckbox/SelectAllCheckboxConverter */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectAllCheckbox/SelectAllCheckboxConverter.ts");
|
|
136800
|
+
|
|
136310
136801
|
|
|
136311
136802
|
|
|
136312
136803
|
|
|
@@ -136424,7 +136915,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
136424
136915
|
let convertersFromNodeClassMap;
|
|
136425
136916
|
|
|
136426
136917
|
function buildConvertersFromNodeClassMap() {
|
|
136427
|
-
const converters = [_ElementProcessors_FormParts_AddPageButton_AddPageButtonConverter__WEBPACK_IMPORTED_MODULE_8__.AddPageButtonConverter, _ElementProcessors_MultiControls_AddRowButton_AddRowButtonConverter__WEBPACK_IMPORTED_MODULE_9__.AddRowButtonConverter, _ElementProcessors_Layout_Block_BlockConverter__WEBPACK_IMPORTED_MODULE_10__.BlockConverter, _ElementProcessors_Layout_Minitour_MinitourConverter__WEBPACK_IMPORTED_MODULE_11__.MinitourConverter, _ElementProcessors_Typography_Bold_BoldConverter__WEBPACK_IMPORTED_MODULE_13__.BoldConverter, _ElementProcessors_Layout_Br_BrConverter__WEBPACK_IMPORTED_MODULE_14__.BrConverter, _ElementProcessors_FormParts_Caption_CaptionConverter__WEBPACK_IMPORTED_MODULE_17__.CaptionConverter, _ElementProcessors_ValueEditors_Checkbox_CheckboxConverter__WEBPACK_IMPORTED_MODULE_18__.CheckboxConverter, _ElementProcessors_ControlFlow_Choice_ChoiceConverter__WEBPACK_IMPORTED_MODULE_19__.ChoiceConverter, _ElementProcessors_MultiControls_TableCell_TableCellConverter__WEBPACK_IMPORTED_MODULE_84__.TableCellConverter, _ElementProcessors_ValueEditors_Combobox_ComboBoxConverter__WEBPACK_IMPORTED_MODULE_20__.ComboBoxConverter, _ElementProcessors_FormParts_Content_ContentConverter__WEBPACK_IMPORTED_MODULE_21__.ContentConverter, _ElementProcessors_FormParts_Cross_CrossConverter__WEBPACK_IMPORTED_MODULE_22__.CrossConverter, _ElementProcessors_MultiControls_ColgroupButton_ColgroupButtonConverter__WEBPACK_IMPORTED_MODULE_95__.ColgroupButtonConverter, _ElementProcessors_ValueEditors_Date_DateConverter__WEBPACK_IMPORTED_MODULE_23__.DateConverter, _ElementProcessors_FormParts_DefaultContent_DefaultContentConverter__WEBPACK_IMPORTED_MODULE_24__.DefaultContentConverter, _ElementProcessors_ValueEditors_DiadocSuggestComboBox_DiadocSuggestComboBoxConverter__WEBPACK_IMPORTED_MODULE_25__.DiadocSuggestComboBoxConverter, _ElementProcessors_Typography_Entity_EntityConverter__WEBPACK_IMPORTED_MODULE_26__.EntityConverter, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteConverter__WEBPACK_IMPORTED_MODULE_27__.ExpertNoteConverter, _ElementProcessors_ValueEditors_FileLoader_FileLoaderConverter__WEBPACK_IMPORTED_MODULE_28__.FileLoaderConverter, _ElementProcessors_MultiControls_FilterDateRange_FilterDateRangeConverter__WEBPACK_IMPORTED_MODULE_29__.FilterDateRangeConverter, _ElementProcessors_MultiControls_FilterInput_FilterInputConverter__WEBPACK_IMPORTED_MODULE_30__.FilterInputConverter, _ElementProcessors_MultiControls_FilterList_FilterListConverter__WEBPACK_IMPORTED_MODULE_31__.FilterListConverter, _ElementProcessors_ValueViewers_FIO_FIOConverter__WEBPACK_IMPORTED_MODULE_32__.FIOConverter, _ElementProcessors_Layout_Flexbox_FlexboxConverter__WEBPACK_IMPORTED_MODULE_33__.FlexboxConverter, _ElementProcessors_FormParts_Form_FormConverter__WEBPACK_IMPORTED_MODULE_35__.FormConverter, _ElementProcessors_FormParts_FormInfo_FormInfoConverter__WEBPACK_IMPORTED_MODULE_36__.FormInfoConverter, _ElementProcessors_Typography_Gray_GrayConverter__WEBPACK_IMPORTED_MODULE_37__.GrayConverter, _ElementProcessors_Layout_GridCol_GridColConverter__WEBPACK_IMPORTED_MODULE_38__.GridColConverter, _ElementProcessors_Layout_GridRow_GridRowConverter__WEBPACK_IMPORTED_MODULE_39__.GridRowConverter, _ElementProcessors_FormParts_Header_HeaderConverter__WEBPACK_IMPORTED_MODULE_40__.HeaderConverter, _ElementProcessors_MultiControls_HeaderMenu_HeaderMenuConverter__WEBPACK_IMPORTED_MODULE_41__.HeaderMenuConverter, _ElementProcessors_Helpers_Help_HelpConverter__WEBPACK_IMPORTED_MODULE_42__.HelpConverter, _ElementProcessors_Helpers_Helpinfo_HelpInfoConverter__WEBPACK_IMPORTED_MODULE_43__.HelpInfoConverter, _ElementProcessors_Typography_Highlight_HighlightConverter__WEBPACK_IMPORTED_MODULE_44__.HighlightConverter, _ElementProcessors_Layout_Hr_HrConverter__WEBPACK_IMPORTED_MODULE_45__.HrConverter, _ElementProcessors_Typography_Icon_IconConverter__WEBPACK_IMPORTED_MODULE_46__.IconConverter, _ElementProcessors_ControlFlow_Captions_Short_ShortConverter__WEBPACK_IMPORTED_MODULE_108__.ShortConverter, _ElementProcessors_ControlFlow_Captions_Long_LongConverter__WEBPACK_IMPORTED_MODULE_109__.LongConverter, _ElementProcessors_ControlFlow_Captions_FillHint_FillHintConverter__WEBPACK_IMPORTED_MODULE_110__.FillHintConverter, _ElementProcessors_ControlFlow_If_IfConverter__WEBPACK_IMPORTED_MODULE_47__.IfConverter, _ElementProcessors_Layout_Img_ImgConverter__WEBPACK_IMPORTED_MODULE_48__.ImgConverter, _ElementProcessors_ValueEditors_INN_INNConverter__WEBPACK_IMPORTED_MODULE_49__.INNConverter, _ElementProcessors_ValueEditors_Input_InputConverter__WEBPACK_IMPORTED_MODULE_50__.InputConverter, _ElementProcessors_Typography_Italic_ItalicConverter__WEBPACK_IMPORTED_MODULE_51__.ItalicConverter, _ElementProcessors_Layout_ListItem_ListItemConverter__WEBPACK_IMPORTED_MODULE_52__.ListItemConverter, _ElementProcessors_ValueEditors_Kladr_KladrConverter__WEBPACK_IMPORTED_MODULE_53__.KladrConverter, _ElementProcessors_ValueViewers_Linetext_LinetextConverter__WEBPACK_IMPORTED_MODULE_54__.LinetextConverter, _ElementProcessors_Action_Link_LinkConverter__WEBPACK_IMPORTED_MODULE_55__.LinkConverter, _ElementProcessors_Layout_List_ListConverter__WEBPACK_IMPORTED_MODULE_56__.ListConverter, _ElementProcessors_Modal_ModalForm_ModalFormConverter__WEBPACK_IMPORTED_MODULE_57__.ModalFormConverter, _ElementProcessors_Modal_ModalFormLabel_ModalFormLabelConverter__WEBPACK_IMPORTED_MODULE_60__.ModalFormLabelConverter, _ElementProcessors_MultiControls_Multilinefield_MultilineFieldConverter__WEBPACK_IMPORTED_MODULE_61__.MultilineFieldConverter, _ElementProcessors_Helpers_Normativehelp_NormativeHelpConverter__WEBPACK_IMPORTED_MODULE_62__.NormativeHelpConverter, _ElementProcessors_FormParts_Page_PageConverter__WEBPACK_IMPORTED_MODULE_64__.PageConverter, _ElementProcessors_Layout_Pencil_PencilConverter__WEBPACK_IMPORTED_MODULE_65__.PencilConverter, _ElementProcessors_ValueEditors_Picklist_PicklistConverter__WEBPACK_IMPORTED_MODULE_66__.PicklistConverter, _ElementProcessors_ValueEditors_radio_RadioConverter__WEBPACK_IMPORTED_MODULE_67__.RadioConverter, _ElementProcessors_ValueEditors_RadioGroup_RadioGroupConverter__WEBPACK_IMPORTED_MODULE_68__.RadioGroupConverter, _ElementProcessors_MultiControls_RemoveRowButton_RemoveRowButtonConverter__WEBPACK_IMPORTED_MODULE_69__.RemoveRowButtonConverter, _ElementProcessors_ValueEditors_Select_SelectConverter__WEBPACK_IMPORTED_MODULE_70__.SelectConverter, _ElementProcessors_MultiControls_SortRadioGroup_SortRadioGroupConverter__WEBPACK_IMPORTED_MODULE_71__.SortRadioGroupConverter, _ElementProcessors_Layout_Spoiler_SpoilerConverter__WEBPACK_IMPORTED_MODULE_72__.SpoilerConverter, _ElementProcessors_Typography_Strong_StrongConverter__WEBPACK_IMPORTED_MODULE_73__.StrongConverter, _ElementProcessors_Typography_Sub_SubConverter__WEBPACK_IMPORTED_MODULE_74__.SubConverter, _ElementProcessors_Layout_Subheader_SubheaderConverter__WEBPACK_IMPORTED_MODULE_75__.SubheaderConverter, _ElementProcessors_Typography_Sup_SupConverter__WEBPACK_IMPORTED_MODULE_76__.SupConverter, _ElementProcessors_ValueViewers_Text_TextConverter__WEBPACK_IMPORTED_MODULE_85__.TextConverter, _ElementProcessors_ValueEditors_Textarea_TextAreaConverter__WEBPACK_IMPORTED_MODULE_86__.TextAreaConverter, _ElementProcessors_ValueEditors_popupTextArea_PopupTextAreaConverter__WEBPACK_IMPORTED_MODULE_94__.PopupTextAreaConverter, _ElementProcessors_ValueViewers_ValueLength_ValueLengthConverter__WEBPACK_IMPORTED_MODULE_90__.ValueLengthConverter, _ElementProcessors_ControlFlow_VisibilityBlock_VisibilityBlockConverter__WEBPACK_IMPORTED_MODULE_91__.VisibilityBlockConverter, _ElementProcessors_Layout_Warning_WarningConverter__WEBPACK_IMPORTED_MODULE_92__.WarningConverter, _ElementProcessors_Layout_InnerText_InnertextConverter__WEBPACK_IMPORTED_MODULE_7__.InnertextConverter, _ElementProcessors_ControlFlow_Otherwise_OtherwiseConverter__WEBPACK_IMPORTED_MODULE_63__.OtherwiseConverter, _ElementProcessors_ControlFlow_When_WhenConverter__WEBPACK_IMPORTED_MODULE_93__.WhenConverter, _ElementProcessors_FormParts_UnitList_UnitListConverter__WEBPACK_IMPORTED_MODULE_89__.UnitListConverter, _ElementProcessors_FormParts_UnitItem_UnitItemConverter__WEBPACK_IMPORTED_MODULE_88__.UnitItemConverter, _ElementProcessors_Modal_Body_BodyConverter__WEBPACK_IMPORTED_MODULE_12__.BodyConverter, _ElementProcessors_Modal_Footer_FooterConverter__WEBPACK_IMPORTED_MODULE_34__.FooterConverter, _ElementProcessors_Modal_ModalFormConfirm_ModalFormConfirmConverter__WEBPACK_IMPORTED_MODULE_59__.ModalFormConfirmConverter, _ElementProcessors_Modal_ModalFormCancel_ModalFormCancelConverter__WEBPACK_IMPORTED_MODULE_58__.ModalFormCancelConverter, _ElementProcessors_Action_Button_ButtonConverter__WEBPACK_IMPORTED_MODULE_15__.ButtonConverter, _ElementProcessors_Action_DownloadExcelButton_DownloadExcelButtonConverter__WEBPACK_IMPORTED_MODULE_16__.DownloadExcelButtonConverter, _ElementProcessors_FormParts_Tour_TourConverter__WEBPACK_IMPORTED_MODULE_87__.TourConverter, _ElementProcessors_ControlFlow_Switch_SwitchConverter__WEBPACK_IMPORTED_MODULE_77__.SwitchConverter, _ElementProcessors_MultiControls_StickyTable_StickyTableColumnConverter__WEBPACK_IMPORTED_MODULE_82__.StickyTableColumnConverter, _ElementProcessors_MultiControls_CrossfitTable_CrossfitTableColumnConverter__WEBPACK_IMPORTED_MODULE_78__.CrossfitTableColumnConverter, _ElementProcessors_Layout_SimpleTable_SimpleTableColumnConverter__WEBPACK_IMPORTED_MODULE_80__.SimpleTableColumnConverter, _ElementProcessors_MultiControls_CrossfitTable_CrossfitTableConverter__WEBPACK_IMPORTED_MODULE_79__.CrossfitTableConverter, _ElementProcessors_Layout_SimpleTable_SimpleTableConverter__WEBPACK_IMPORTED_MODULE_81__.SimpleTableConverter, _ElementProcessors_MultiControls_StickyTable_StickyTableWithMultilineConverter__WEBPACK_IMPORTED_MODULE_83__.StickyTableWithMultilineConverter, _ElementProcessors_Layout_Stack_StackConverter__WEBPACK_IMPORTED_MODULE_2__.StackConverter, _ElementProcessors_Layout_Grid_GridConverter__WEBPACK_IMPORTED_MODULE_1__.GridConverter, _ElementProcessors_UnitParts_HeaderPanel_HeaderPanelConverter__WEBPACK_IMPORTED_MODULE_6__.HeaderPanelConverter, _ElementProcessors_MultiControls_Tabs_TabsConverter__WEBPACK_IMPORTED_MODULE_5__.TabsConverter, _ElementProcessors_Action_DropdownButton_DropdownButtonConverter__WEBPACK_IMPORTED_MODULE_99__.DropdownButtonConverter, _ElementProcessors_ValueEditors_Fias_FiasConverter__WEBPACK_IMPORTED_MODULE_0__.FiasConverter, _ElementProcessors_MultiControls_FilterSelect_FilterSelectConverter__WEBPACK_IMPORTED_MODULE_3__.FilterSelectConverter, _ElementProcessors_MultiControls_Table2_Table2Converter__WEBPACK_IMPORTED_MODULE_4__.Table2Converter, _ElementProcessors_MultiControls_Table2_Table2RowConverter__WEBPACK_IMPORTED_MODULE_98__.Table2RowConverter, _ElementProcessors_MultiControls_Table2_Table2MultirowConverter__WEBPACK_IMPORTED_MODULE_97__.Table2MultirowConverter, _ElementProcessors_MultiControls_Table2_Table2Converter__WEBPACK_IMPORTED_MODULE_4__.Table2ColumnConverter, _ElementProcessors_MultiControls_Table2_Table2Converter__WEBPACK_IMPORTED_MODULE_4__.Table2VerticalColumnConverter, _ElementProcessors_Layout_FixedTabs_FixedTabsConverter__WEBPACK_IMPORTED_MODULE_101__.FixedTabsConverter, _ElementProcessors_Layout_FixedTabs_FixedTabConverter__WEBPACK_IMPORTED_MODULE_100__.FixedTabConverter, _ElementProcessors_MultiControls_Multiple_MultipleConverter__WEBPACK_IMPORTED_MODULE_102__.MultipleConverter, _ElementProcessors_Action_ExcelPastePanel_ExcelPastePanelConverter__WEBPACK_IMPORTED_MODULE_103__.ExcelPastePanelConverter, _ElementProcessors_ValueEditors_ReferencedFields_ReferencedFieldsConverter__WEBPACK_IMPORTED_MODULE_104__.ReferencedFieldsConverter, _ElementProcessors_FormParts_UserPicklist_UserPicklistConverter__WEBPACK_IMPORTED_MODULE_105__.UserPicklistConverter, _ElementProcessors_ValueEditors_TaxRebate_TaxRebateConverter__WEBPACK_IMPORTED_MODULE_106__.TaxRebateConverter, _ElementProcessors_FormParts_Banner_BannerConverter__WEBPACK_IMPORTED_MODULE_107__.BannerConverter, _ElementProcessors_ValueViewers_DateView_DateViewConverter__WEBPACK_IMPORTED_MODULE_111__.DateViewConverter, _ElementProcessors_Action_Kebab_KebabConverter__WEBPACK_IMPORTED_MODULE_112__.KebabConverter, _ElementProcessors_Helpers_Clue_InfoBlockConverter__WEBPACK_IMPORTED_MODULE_113__.InfoBlockConverter];
|
|
136918
|
+
const converters = [_ElementProcessors_FormParts_AddPageButton_AddPageButtonConverter__WEBPACK_IMPORTED_MODULE_8__.AddPageButtonConverter, _ElementProcessors_MultiControls_AddRowButton_AddRowButtonConverter__WEBPACK_IMPORTED_MODULE_9__.AddRowButtonConverter, _ElementProcessors_Layout_Block_BlockConverter__WEBPACK_IMPORTED_MODULE_10__.BlockConverter, _ElementProcessors_Layout_Minitour_MinitourConverter__WEBPACK_IMPORTED_MODULE_11__.MinitourConverter, _ElementProcessors_Typography_Bold_BoldConverter__WEBPACK_IMPORTED_MODULE_13__.BoldConverter, _ElementProcessors_Layout_Br_BrConverter__WEBPACK_IMPORTED_MODULE_14__.BrConverter, _ElementProcessors_FormParts_Caption_CaptionConverter__WEBPACK_IMPORTED_MODULE_17__.CaptionConverter, _ElementProcessors_ValueEditors_Checkbox_CheckboxConverter__WEBPACK_IMPORTED_MODULE_18__.CheckboxConverter, _ElementProcessors_ControlFlow_Choice_ChoiceConverter__WEBPACK_IMPORTED_MODULE_19__.ChoiceConverter, _ElementProcessors_MultiControls_TableCell_TableCellConverter__WEBPACK_IMPORTED_MODULE_84__.TableCellConverter, _ElementProcessors_ValueEditors_Combobox_ComboBoxConverter__WEBPACK_IMPORTED_MODULE_20__.ComboBoxConverter, _ElementProcessors_FormParts_Content_ContentConverter__WEBPACK_IMPORTED_MODULE_21__.ContentConverter, _ElementProcessors_FormParts_Cross_CrossConverter__WEBPACK_IMPORTED_MODULE_22__.CrossConverter, _ElementProcessors_MultiControls_ColgroupButton_ColgroupButtonConverter__WEBPACK_IMPORTED_MODULE_95__.ColgroupButtonConverter, _ElementProcessors_ValueEditors_Date_DateConverter__WEBPACK_IMPORTED_MODULE_23__.DateConverter, _ElementProcessors_FormParts_DefaultContent_DefaultContentConverter__WEBPACK_IMPORTED_MODULE_24__.DefaultContentConverter, _ElementProcessors_ValueEditors_DiadocSuggestComboBox_DiadocSuggestComboBoxConverter__WEBPACK_IMPORTED_MODULE_25__.DiadocSuggestComboBoxConverter, _ElementProcessors_Typography_Entity_EntityConverter__WEBPACK_IMPORTED_MODULE_26__.EntityConverter, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteConverter__WEBPACK_IMPORTED_MODULE_27__.ExpertNoteConverter, _ElementProcessors_ValueEditors_FileLoader_FileLoaderConverter__WEBPACK_IMPORTED_MODULE_28__.FileLoaderConverter, _ElementProcessors_MultiControls_FilterDateRange_FilterDateRangeConverter__WEBPACK_IMPORTED_MODULE_29__.FilterDateRangeConverter, _ElementProcessors_MultiControls_FilterInput_FilterInputConverter__WEBPACK_IMPORTED_MODULE_30__.FilterInputConverter, _ElementProcessors_MultiControls_FilterList_FilterListConverter__WEBPACK_IMPORTED_MODULE_31__.FilterListConverter, _ElementProcessors_ValueViewers_FIO_FIOConverter__WEBPACK_IMPORTED_MODULE_32__.FIOConverter, _ElementProcessors_Layout_Flexbox_FlexboxConverter__WEBPACK_IMPORTED_MODULE_33__.FlexboxConverter, _ElementProcessors_FormParts_Form_FormConverter__WEBPACK_IMPORTED_MODULE_35__.FormConverter, _ElementProcessors_FormParts_FormInfo_FormInfoConverter__WEBPACK_IMPORTED_MODULE_36__.FormInfoConverter, _ElementProcessors_Typography_Gray_GrayConverter__WEBPACK_IMPORTED_MODULE_37__.GrayConverter, _ElementProcessors_Layout_GridCol_GridColConverter__WEBPACK_IMPORTED_MODULE_38__.GridColConverter, _ElementProcessors_Layout_GridRow_GridRowConverter__WEBPACK_IMPORTED_MODULE_39__.GridRowConverter, _ElementProcessors_FormParts_Header_HeaderConverter__WEBPACK_IMPORTED_MODULE_40__.HeaderConverter, _ElementProcessors_MultiControls_HeaderMenu_HeaderMenuConverter__WEBPACK_IMPORTED_MODULE_41__.HeaderMenuConverter, _ElementProcessors_Helpers_Help_HelpConverter__WEBPACK_IMPORTED_MODULE_42__.HelpConverter, _ElementProcessors_Helpers_Helpinfo_HelpInfoConverter__WEBPACK_IMPORTED_MODULE_43__.HelpInfoConverter, _ElementProcessors_Typography_Highlight_HighlightConverter__WEBPACK_IMPORTED_MODULE_44__.HighlightConverter, _ElementProcessors_Layout_Hr_HrConverter__WEBPACK_IMPORTED_MODULE_45__.HrConverter, _ElementProcessors_Typography_Icon_IconConverter__WEBPACK_IMPORTED_MODULE_46__.IconConverter, _ElementProcessors_ControlFlow_Captions_Short_ShortConverter__WEBPACK_IMPORTED_MODULE_108__.ShortConverter, _ElementProcessors_ControlFlow_Captions_Long_LongConverter__WEBPACK_IMPORTED_MODULE_109__.LongConverter, _ElementProcessors_ControlFlow_Captions_FillHint_FillHintConverter__WEBPACK_IMPORTED_MODULE_110__.FillHintConverter, _ElementProcessors_ControlFlow_If_IfConverter__WEBPACK_IMPORTED_MODULE_47__.IfConverter, _ElementProcessors_Layout_Img_ImgConverter__WEBPACK_IMPORTED_MODULE_48__.ImgConverter, _ElementProcessors_ValueEditors_INN_INNConverter__WEBPACK_IMPORTED_MODULE_49__.INNConverter, _ElementProcessors_ValueEditors_Input_InputConverter__WEBPACK_IMPORTED_MODULE_50__.InputConverter, _ElementProcessors_Typography_Italic_ItalicConverter__WEBPACK_IMPORTED_MODULE_51__.ItalicConverter, _ElementProcessors_Layout_ListItem_ListItemConverter__WEBPACK_IMPORTED_MODULE_52__.ListItemConverter, _ElementProcessors_ValueEditors_Kladr_KladrConverter__WEBPACK_IMPORTED_MODULE_53__.KladrConverter, _ElementProcessors_ValueViewers_Linetext_LinetextConverter__WEBPACK_IMPORTED_MODULE_54__.LinetextConverter, _ElementProcessors_Action_Link_LinkConverter__WEBPACK_IMPORTED_MODULE_55__.LinkConverter, _ElementProcessors_Layout_List_ListConverter__WEBPACK_IMPORTED_MODULE_56__.ListConverter, _ElementProcessors_Modal_ModalForm_ModalFormConverter__WEBPACK_IMPORTED_MODULE_57__.ModalFormConverter, _ElementProcessors_Modal_ModalFormLabel_ModalFormLabelConverter__WEBPACK_IMPORTED_MODULE_60__.ModalFormLabelConverter, _ElementProcessors_MultiControls_Multilinefield_MultilineFieldConverter__WEBPACK_IMPORTED_MODULE_61__.MultilineFieldConverter, _ElementProcessors_Helpers_Normativehelp_NormativeHelpConverter__WEBPACK_IMPORTED_MODULE_62__.NormativeHelpConverter, _ElementProcessors_FormParts_Page_PageConverter__WEBPACK_IMPORTED_MODULE_64__.PageConverter, _ElementProcessors_Layout_Pencil_PencilConverter__WEBPACK_IMPORTED_MODULE_65__.PencilConverter, _ElementProcessors_ValueEditors_Picklist_PicklistConverter__WEBPACK_IMPORTED_MODULE_66__.PicklistConverter, _ElementProcessors_ValueEditors_radio_RadioConverter__WEBPACK_IMPORTED_MODULE_67__.RadioConverter, _ElementProcessors_ValueEditors_RadioGroup_RadioGroupConverter__WEBPACK_IMPORTED_MODULE_68__.RadioGroupConverter, _ElementProcessors_MultiControls_RemoveRowButton_RemoveRowButtonConverter__WEBPACK_IMPORTED_MODULE_69__.RemoveRowButtonConverter, _ElementProcessors_ValueEditors_Select_SelectConverter__WEBPACK_IMPORTED_MODULE_70__.SelectConverter, _ElementProcessors_MultiControls_SortRadioGroup_SortRadioGroupConverter__WEBPACK_IMPORTED_MODULE_71__.SortRadioGroupConverter, _ElementProcessors_Layout_Spoiler_SpoilerConverter__WEBPACK_IMPORTED_MODULE_72__.SpoilerConverter, _ElementProcessors_Typography_Strong_StrongConverter__WEBPACK_IMPORTED_MODULE_73__.StrongConverter, _ElementProcessors_Typography_Sub_SubConverter__WEBPACK_IMPORTED_MODULE_74__.SubConverter, _ElementProcessors_Layout_Subheader_SubheaderConverter__WEBPACK_IMPORTED_MODULE_75__.SubheaderConverter, _ElementProcessors_Typography_Sup_SupConverter__WEBPACK_IMPORTED_MODULE_76__.SupConverter, _ElementProcessors_ValueViewers_Text_TextConverter__WEBPACK_IMPORTED_MODULE_85__.TextConverter, _ElementProcessors_ValueEditors_Textarea_TextAreaConverter__WEBPACK_IMPORTED_MODULE_86__.TextAreaConverter, _ElementProcessors_ValueEditors_popupTextArea_PopupTextAreaConverter__WEBPACK_IMPORTED_MODULE_94__.PopupTextAreaConverter, _ElementProcessors_ValueViewers_ValueLength_ValueLengthConverter__WEBPACK_IMPORTED_MODULE_90__.ValueLengthConverter, _ElementProcessors_ControlFlow_VisibilityBlock_VisibilityBlockConverter__WEBPACK_IMPORTED_MODULE_91__.VisibilityBlockConverter, _ElementProcessors_Layout_Warning_WarningConverter__WEBPACK_IMPORTED_MODULE_92__.WarningConverter, _ElementProcessors_Layout_InnerText_InnertextConverter__WEBPACK_IMPORTED_MODULE_7__.InnertextConverter, _ElementProcessors_ControlFlow_Otherwise_OtherwiseConverter__WEBPACK_IMPORTED_MODULE_63__.OtherwiseConverter, _ElementProcessors_ControlFlow_When_WhenConverter__WEBPACK_IMPORTED_MODULE_93__.WhenConverter, _ElementProcessors_FormParts_UnitList_UnitListConverter__WEBPACK_IMPORTED_MODULE_89__.UnitListConverter, _ElementProcessors_FormParts_UnitItem_UnitItemConverter__WEBPACK_IMPORTED_MODULE_88__.UnitItemConverter, _ElementProcessors_Modal_Body_BodyConverter__WEBPACK_IMPORTED_MODULE_12__.BodyConverter, _ElementProcessors_Modal_Footer_FooterConverter__WEBPACK_IMPORTED_MODULE_34__.FooterConverter, _ElementProcessors_Modal_ModalFormConfirm_ModalFormConfirmConverter__WEBPACK_IMPORTED_MODULE_59__.ModalFormConfirmConverter, _ElementProcessors_Modal_ModalFormCancel_ModalFormCancelConverter__WEBPACK_IMPORTED_MODULE_58__.ModalFormCancelConverter, _ElementProcessors_Action_Button_ButtonConverter__WEBPACK_IMPORTED_MODULE_15__.ButtonConverter, _ElementProcessors_Action_DownloadExcelButton_DownloadExcelButtonConverter__WEBPACK_IMPORTED_MODULE_16__.DownloadExcelButtonConverter, _ElementProcessors_FormParts_Tour_TourConverter__WEBPACK_IMPORTED_MODULE_87__.TourConverter, _ElementProcessors_ControlFlow_Switch_SwitchConverter__WEBPACK_IMPORTED_MODULE_77__.SwitchConverter, _ElementProcessors_MultiControls_StickyTable_StickyTableColumnConverter__WEBPACK_IMPORTED_MODULE_82__.StickyTableColumnConverter, _ElementProcessors_MultiControls_CrossfitTable_CrossfitTableColumnConverter__WEBPACK_IMPORTED_MODULE_78__.CrossfitTableColumnConverter, _ElementProcessors_Layout_SimpleTable_SimpleTableColumnConverter__WEBPACK_IMPORTED_MODULE_80__.SimpleTableColumnConverter, _ElementProcessors_MultiControls_CrossfitTable_CrossfitTableConverter__WEBPACK_IMPORTED_MODULE_79__.CrossfitTableConverter, _ElementProcessors_Layout_SimpleTable_SimpleTableConverter__WEBPACK_IMPORTED_MODULE_81__.SimpleTableConverter, _ElementProcessors_MultiControls_StickyTable_StickyTableWithMultilineConverter__WEBPACK_IMPORTED_MODULE_83__.StickyTableWithMultilineConverter, _ElementProcessors_Layout_Stack_StackConverter__WEBPACK_IMPORTED_MODULE_2__.StackConverter, _ElementProcessors_Layout_Grid_GridConverter__WEBPACK_IMPORTED_MODULE_1__.GridConverter, _ElementProcessors_UnitParts_HeaderPanel_HeaderPanelConverter__WEBPACK_IMPORTED_MODULE_6__.HeaderPanelConverter, _ElementProcessors_MultiControls_Tabs_TabsConverter__WEBPACK_IMPORTED_MODULE_5__.TabsConverter, _ElementProcessors_Action_DropdownButton_DropdownButtonConverter__WEBPACK_IMPORTED_MODULE_99__.DropdownButtonConverter, _ElementProcessors_ValueEditors_Fias_FiasConverter__WEBPACK_IMPORTED_MODULE_0__.FiasConverter, _ElementProcessors_MultiControls_FilterSelect_FilterSelectConverter__WEBPACK_IMPORTED_MODULE_3__.FilterSelectConverter, _ElementProcessors_MultiControls_Table2_Table2Converter__WEBPACK_IMPORTED_MODULE_4__.Table2Converter, _ElementProcessors_MultiControls_Table2_Table2RowConverter__WEBPACK_IMPORTED_MODULE_98__.Table2RowConverter, _ElementProcessors_MultiControls_Table2_Table2MultirowConverter__WEBPACK_IMPORTED_MODULE_97__.Table2MultirowConverter, _ElementProcessors_MultiControls_Table2_Table2Converter__WEBPACK_IMPORTED_MODULE_4__.Table2ColumnConverter, _ElementProcessors_MultiControls_Table2_Table2Converter__WEBPACK_IMPORTED_MODULE_4__.Table2VerticalColumnConverter, _ElementProcessors_Layout_FixedTabs_FixedTabsConverter__WEBPACK_IMPORTED_MODULE_101__.FixedTabsConverter, _ElementProcessors_Layout_FixedTabs_FixedTabConverter__WEBPACK_IMPORTED_MODULE_100__.FixedTabConverter, _ElementProcessors_MultiControls_Multiple_MultipleConverter__WEBPACK_IMPORTED_MODULE_102__.MultipleConverter, _ElementProcessors_Action_ExcelPastePanel_ExcelPastePanelConverter__WEBPACK_IMPORTED_MODULE_103__.ExcelPastePanelConverter, _ElementProcessors_ValueEditors_ReferencedFields_ReferencedFieldsConverter__WEBPACK_IMPORTED_MODULE_104__.ReferencedFieldsConverter, _ElementProcessors_FormParts_UserPicklist_UserPicklistConverter__WEBPACK_IMPORTED_MODULE_105__.UserPicklistConverter, _ElementProcessors_ValueEditors_TaxRebate_TaxRebateConverter__WEBPACK_IMPORTED_MODULE_106__.TaxRebateConverter, _ElementProcessors_FormParts_Banner_BannerConverter__WEBPACK_IMPORTED_MODULE_107__.BannerConverter, _ElementProcessors_ValueViewers_DateView_DateViewConverter__WEBPACK_IMPORTED_MODULE_111__.DateViewConverter, _ElementProcessors_Action_Kebab_KebabConverter__WEBPACK_IMPORTED_MODULE_112__.KebabConverter, _ElementProcessors_Helpers_Clue_InfoBlockConverter__WEBPACK_IMPORTED_MODULE_113__.InfoBlockConverter, _ElementProcessors_ValueEditors_SelectAllCheckbox_SelectAllCheckboxConverter__WEBPACK_IMPORTED_MODULE_114__.SelectAllCheckboxConverter];
|
|
136428
136919
|
return new Map(converters.map(converterClass => [converterClass.getAcceptNodeClass(), converterClass]));
|
|
136429
136920
|
}
|
|
136430
136921
|
|
|
@@ -159703,6 +160194,257 @@ let ReferencedFieldsNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPOR
|
|
|
159703
160194
|
|
|
159704
160195
|
/***/ }),
|
|
159705
160196
|
|
|
160197
|
+
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectAllCheckbox/SelectAllCheckboxConverter.ts":
|
|
160198
|
+
/*!*********************************************************************************************************************************!*\
|
|
160199
|
+
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectAllCheckbox/SelectAllCheckboxConverter.ts ***!
|
|
160200
|
+
\*********************************************************************************************************************************/
|
|
160201
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
160202
|
+
|
|
160203
|
+
"use strict";
|
|
160204
|
+
__webpack_require__.r(__webpack_exports__);
|
|
160205
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
160206
|
+
/* harmony export */ "SelectAllCheckboxConverter": () => (/* binding */ SelectAllCheckboxConverter)
|
|
160207
|
+
/* harmony export */ });
|
|
160208
|
+
/* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
|
|
160209
|
+
/* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
|
|
160210
|
+
/* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
|
|
160211
|
+
/* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
|
|
160212
|
+
/* harmony import */ var _SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../SugarNodes/SugarNodeUtils */ "./Generator/src/generators/markupGenerator/SugarNodes/SugarNodeUtils.ts");
|
|
160213
|
+
/* harmony import */ var _Common_IterableUtils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../../../Common/IterableUtils */ "./Common/IterableUtils.ts");
|
|
160214
|
+
/* harmony import */ var _common_KCLang_CodeDom_KCLangDom__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../common/KCLang/CodeDom/KCLangDom */ "./Generator/src/common/KCLang/CodeDom/KCLangDom.ts");
|
|
160215
|
+
/* harmony import */ var _Common_TypingUtils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../../../../Common/TypingUtils */ "./Common/TypingUtils.ts");
|
|
160216
|
+
/* harmony import */ var _SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./SelectAllCheckboxNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectAllCheckbox/SelectAllCheckboxNode.ts");
|
|
160217
|
+
|
|
160218
|
+
|
|
160219
|
+
|
|
160220
|
+
|
|
160221
|
+
|
|
160222
|
+
|
|
160223
|
+
|
|
160224
|
+
|
|
160225
|
+
|
|
160226
|
+
class SelectAllCheckboxConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.SugarNodeConverterBase {
|
|
160227
|
+
static getAcceptNodeClass() {
|
|
160228
|
+
return _SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_8__.SelectAllCheckboxNode;
|
|
160229
|
+
}
|
|
160230
|
+
|
|
160231
|
+
get nodePaths() {
|
|
160232
|
+
const node = this.getCurrentNodeAs(_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_8__.SelectAllCheckboxNode);
|
|
160233
|
+
return [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_2__.getNewBindingPathExpression)(node)];
|
|
160234
|
+
}
|
|
160235
|
+
|
|
160236
|
+
doBuildDataDeclaration(context) {
|
|
160237
|
+
return {};
|
|
160238
|
+
}
|
|
160239
|
+
|
|
160240
|
+
buildSugarKCLangCalculations() {
|
|
160241
|
+
var _IterUtils$last, _IterUtils$last2, _IterUtils$last3, _node$checkedValue;
|
|
160242
|
+
|
|
160243
|
+
// Тут мы добавляем 2 АР:
|
|
160244
|
+
// Первый вычисляет для каждого чекбокса значение 1 или 0 в зависимости от того выбран он или нет (counterInstanceFieldName).
|
|
160245
|
+
// Второй АР считает сумму по всем значениеям первого АР. Это будет количество выбраных галочек (counterFieldName).
|
|
160246
|
+
// Сумма эта располагается в модели над множественностью.
|
|
160247
|
+
const node = this.getCurrentNodeAs(_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_8__.SelectAllCheckboxNode);
|
|
160248
|
+
const multiplicityName = (_IterUtils$last = _Common_IterableUtils__WEBPACK_IMPORTED_MODULE_5__.IterUtils.last(Iterator.from((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_2__.getNewBindingPathExpression)(node).getPathParts()).filter(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_3__.PathTokens.isSimpleToken))) !== null && _IterUtils$last !== void 0 ? _IterUtils$last : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_7__.reject)();
|
|
160249
|
+
const counterPath = this.getPathToCheckedCount(node).getPathPartsAsArray().filter(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_3__.PathTokens.isSimpleToken);
|
|
160250
|
+
const counterPathParent = this.getPathToCheckedCount(node).getParentPath().getPathPartsAsArray().filter(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_3__.PathTokens.isSimpleToken);
|
|
160251
|
+
const counterFieldName = (_IterUtils$last2 = _Common_IterableUtils__WEBPACK_IMPORTED_MODULE_5__.IterUtils.last(counterPath)) !== null && _IterUtils$last2 !== void 0 ? _IterUtils$last2 : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_7__.reject)();
|
|
160252
|
+
const counterInstancePath = this.getPathToCheckedWithCondition(node).getPathPartsAsArray().filter(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_3__.PathTokens.isSimpleToken);
|
|
160253
|
+
const counterInstanceFieldName = (_IterUtils$last3 = _Common_IterableUtils__WEBPACK_IMPORTED_MODULE_5__.IterUtils.last(counterInstancePath)) !== null && _IterUtils$last3 !== void 0 ? _IterUtils$last3 : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_7__.reject)();
|
|
160254
|
+
const checkedValue = (_node$checkedValue = node.checkedValue) !== null && _node$checkedValue !== void 0 ? _node$checkedValue : "true";
|
|
160255
|
+
const kclangDom = new _common_KCLang_CodeDom_KCLangDom__WEBPACK_IMPORTED_MODULE_6__.InBlock((0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_3__.createModelPath)(counterPathParent.join("/"), "auto"), new _common_KCLang_CodeDom_KCLangDom__WEBPACK_IMPORTED_MODULE_6__.CheckStatement(new _common_KCLang_CodeDom_KCLangDom__WEBPACK_IMPORTED_MODULE_6__.FormulaStatement((0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_3__.createModelPath)(counterFieldName, false), new _common_KCLang_CodeDom_KCLangDom__WEBPACK_IMPORTED_MODULE_6__.ValueReferenceExpression((0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_3__.createModelPath)(`${multiplicityName}/${counterInstanceFieldName}`, "auto")))), new _common_KCLang_CodeDom_KCLangDom__WEBPACK_IMPORTED_MODULE_6__.InBlock((0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_3__.createModelPath)(multiplicityName, "auto"), new _common_KCLang_CodeDom_KCLangDom__WEBPACK_IMPORTED_MODULE_6__.CheckStatement(new _common_KCLang_CodeDom_KCLangDom__WEBPACK_IMPORTED_MODULE_6__.FormulaStatement((0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_3__.createModelPath)(counterInstanceFieldName, false), new _common_KCLang_CodeDom_KCLangDom__WEBPACK_IMPORTED_MODULE_6__.ConditionalExpression(new _common_KCLang_CodeDom_KCLangDom__WEBPACK_IMPORTED_MODULE_6__.EqExpression((0,_common_KCLang_CodeDom_KCLangDom__WEBPACK_IMPORTED_MODULE_6__.castToString)(new _common_KCLang_CodeDom_KCLangDom__WEBPACK_IMPORTED_MODULE_6__.ValueReferenceExpression((0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_3__.createModelPath)(node.getPathToChecked(), false))), new _common_KCLang_CodeDom_KCLangDom__WEBPACK_IMPORTED_MODULE_6__.StringConstExpression(checkedValue)), new _common_KCLang_CodeDom_KCLangDom__WEBPACK_IMPORTED_MODULE_6__.DecimalConstExpression(1), new _common_KCLang_CodeDom_KCLangDom__WEBPACK_IMPORTED_MODULE_6__.DecimalConstExpression(0))))));
|
|
160256
|
+
return [kclangDom];
|
|
160257
|
+
}
|
|
160258
|
+
|
|
160259
|
+
buildLazyLoadingDeclaration(schemaRng) {
|
|
160260
|
+
// Необходимо добавить в конфигурацию частичной загрузки те данные,
|
|
160261
|
+
// которые добавлены контролом и требуются для корректной работы авторасчётов
|
|
160262
|
+
const node = this.getCurrentNodeAs(_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_8__.SelectAllCheckboxNode);
|
|
160263
|
+
const multiplicityDeclaration = schemaRng.getElementByPath((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_2__.getNewBindingPathExpression)(node));
|
|
160264
|
+
|
|
160265
|
+
if ((multiplicityDeclaration === null || multiplicityDeclaration === void 0 ? void 0 : multiplicityDeclaration.lazyLoadMode) === "deferred") {
|
|
160266
|
+
const counterInstancePath = new _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_3__.AbsoluteModelFieldPath(this.getPathToCheckedWithCondition(node), "value");
|
|
160267
|
+
return [{
|
|
160268
|
+
lazyLoadMode: "initial",
|
|
160269
|
+
path: counterInstancePath
|
|
160270
|
+
}];
|
|
160271
|
+
}
|
|
160272
|
+
|
|
160273
|
+
return [];
|
|
160274
|
+
}
|
|
160275
|
+
|
|
160276
|
+
buildChildrenDataDeclaration(context) {
|
|
160277
|
+
const node = this.getCurrentNodeAs(_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_8__.SelectAllCheckboxNode);
|
|
160278
|
+
return context.processChildrenDataDeclaration(node.children);
|
|
160279
|
+
}
|
|
160280
|
+
|
|
160281
|
+
*doTraverseChildren() {
|
|
160282
|
+
const node = this.getCurrentNodeAs(_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_8__.SelectAllCheckboxNode);
|
|
160283
|
+
yield* node.children;
|
|
160284
|
+
}
|
|
160285
|
+
|
|
160286
|
+
getPathToCheckedCount(node) {
|
|
160287
|
+
const fullPath = (0,_getBindingPath__WEBPACK_IMPORTED_MODULE_2__.getNewBindingPathExpression)(node);
|
|
160288
|
+
const lastPart = _Common_IterableUtils__WEBPACK_IMPORTED_MODULE_5__.IterUtils.last(Iterator.from(fullPath.getPathParts()).filter(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_3__.PathTokens.isSimpleToken));
|
|
160289
|
+
const counterPathToken = `Candy_SelectAll_${lastPart}_${node.getPathToChecked()}`;
|
|
160290
|
+
return (0,_getBindingPath__WEBPACK_IMPORTED_MODULE_2__.getNewBindingPathExpression)(node).getParentPath().joinWith(counterPathToken).normalize();
|
|
160291
|
+
}
|
|
160292
|
+
|
|
160293
|
+
getPathToCheckedWithCondition(node) {
|
|
160294
|
+
const counterPathToken = `Candy_SelectAll_${node.getPathToChecked()}_Counter`;
|
|
160295
|
+
return (0,_getBindingPath__WEBPACK_IMPORTED_MODULE_2__.getNewBindingPathExpression)(node).joinWith(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_3__.PathTokens.each).joinWith(counterPathToken).normalize();
|
|
160296
|
+
}
|
|
160297
|
+
|
|
160298
|
+
doConvert(context) {
|
|
160299
|
+
const node = this.getCurrentNodeAs(_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_8__.SelectAllCheckboxNode);
|
|
160300
|
+
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__.componentMarkupBuilder)("SelectAllCheckbox");
|
|
160301
|
+
markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_2__.getNewBindingPathExpression)(node));
|
|
160302
|
+
markupBuilder.prop(x => x.pathToChecked).set(node.getPathToChecked());
|
|
160303
|
+
markupBuilder.prop(x => x.pathToCheckedCount).set(this.getPathToCheckedCount(node));
|
|
160304
|
+
markupBuilder.prop("data-tid").set(node.tid);
|
|
160305
|
+
markupBuilder.prop(x => x.filteredUniqKey).set(node.filteredUniqKey);
|
|
160306
|
+
markupBuilder.prop(x => x.uncheckedValue).set(node.uncheckedValue);
|
|
160307
|
+
markupBuilder.prop(x => x.checkedValue).set(node.checkedValue);
|
|
160308
|
+
|
|
160309
|
+
if (node.disabled2 != undefined) {
|
|
160310
|
+
markupBuilder.prop(x => x.disabled2).set((0,_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_4__.buildExpressionPropValue)(node.disabled2));
|
|
160311
|
+
|
|
160312
|
+
if (this.getLegacyNode().getParent() != undefined) {
|
|
160313
|
+
markupBuilder.prop(x => x.evaluatorsContextPath).set(this.getEvaluatorsContextPathExpression());
|
|
160314
|
+
}
|
|
160315
|
+
}
|
|
160316
|
+
|
|
160317
|
+
markupBuilder.appendChild(context.convertChildNodes(node.children));
|
|
160318
|
+
return markupBuilder.buildConverterResult();
|
|
160319
|
+
}
|
|
160320
|
+
|
|
160321
|
+
}
|
|
160322
|
+
|
|
160323
|
+
/***/ }),
|
|
160324
|
+
|
|
160325
|
+
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectAllCheckbox/SelectAllCheckboxNode.ts":
|
|
160326
|
+
/*!****************************************************************************************************************************!*\
|
|
160327
|
+
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectAllCheckbox/SelectAllCheckboxNode.ts ***!
|
|
160328
|
+
\****************************************************************************************************************************/
|
|
160329
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
160330
|
+
|
|
160331
|
+
"use strict";
|
|
160332
|
+
__webpack_require__.r(__webpack_exports__);
|
|
160333
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
160334
|
+
/* harmony export */ "SelectAllCheckboxNode": () => (/* binding */ SelectAllCheckboxNode)
|
|
160335
|
+
/* harmony export */ });
|
|
160336
|
+
/* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/initializerDefineProperty */ "./node_modules/@babel/runtime/helpers/initializerDefineProperty.js");
|
|
160337
|
+
/* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__);
|
|
160338
|
+
/* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/applyDecoratedDescriptor */ "./node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js");
|
|
160339
|
+
/* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__);
|
|
160340
|
+
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/initializerWarningHelper */ "./node_modules/@babel/runtime/helpers/initializerWarningHelper.js");
|
|
160341
|
+
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
|
|
160342
|
+
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
160343
|
+
/* harmony import */ var _CommonNodeProperties_TooltipProperties_TooltipSettingsNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../CommonNodeProperties/TooltipProperties/TooltipSettingsNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/TooltipProperties/TooltipSettingsNode.ts");
|
|
160344
|
+
/* harmony import */ var _Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../Commons/DocumentationLinks */ "./Generator/src/generators/markupGenerator/ElementProcessors/Commons/DocumentationLinks.ts");
|
|
160345
|
+
/* harmony import */ var _CommonNodeProperties_FocusManagementNode__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../CommonNodeProperties/FocusManagementNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/FocusManagementNode.ts");
|
|
160346
|
+
/* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
|
|
160347
|
+
|
|
160348
|
+
|
|
160349
|
+
|
|
160350
|
+
|
|
160351
|
+
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10;
|
|
160352
|
+
|
|
160353
|
+
|
|
160354
|
+
|
|
160355
|
+
|
|
160356
|
+
|
|
160357
|
+
|
|
160358
|
+
let SelectAllCheckboxNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("selectallcheckbox", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectAllCheckbox sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.bindingPath.required, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.bindingPathLink)} данного элемента. Должен указывать на множественный элемент, в котором проставляются галочки.`), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("pathToChecked", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.bindingPath, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.bindingPathLink)} относительного пути (от текущего значения в path) до поля с галочкой. По умолчанию значение 'checked'`), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_FocusManagementNode__WEBPACK_IMPORTED_MODULE_6__.FocusManagementNode), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("disabled2", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.javascriptExpression, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.javaScriptExpressionLink)} для условного задизейбливания контрола`), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("tid", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, "Возможность установки произвольных data-tid атрибутов, может пригодиться другим командам, или для идентификации элемента в тестах"), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_TooltipProperties_TooltipSettingsNode__WEBPACK_IMPORTED_MODULE_4__.TooltipSettingsNode), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("filteredUniqKey", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, `Уникальный ключ фильтрации multiline, используется, для фильтраций одних и тех же путей иннера
|
|
160359
|
+
разными фильтрами. Задается произвольной строкой. Фильтры с одинаковым ключем фильтрации получают одинаковый результат фильтрации`), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("checkedValue", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, `Значение, которое будет проставлено всем чекбоксам во включенном состоянии. По-умолчанию, "true"`), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("uncheckedValue", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, `Значение, которое будет проставлено всем чекбоксам в выключенном состоянии. По-умолчанию, "false"`), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)(undefined, undefined, ["type"]), _dec(_class = (_class2 = class SelectAllCheckboxNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
160360
|
+
constructor(...args) {
|
|
160361
|
+
super(...args);
|
|
160362
|
+
|
|
160363
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "path", _descriptor, this);
|
|
160364
|
+
|
|
160365
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "pathToChecked", _descriptor2, this);
|
|
160366
|
+
|
|
160367
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "focusManagement", _descriptor3, this);
|
|
160368
|
+
|
|
160369
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "disabled2", _descriptor4, this);
|
|
160370
|
+
|
|
160371
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "tid", _descriptor5, this);
|
|
160372
|
+
|
|
160373
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "tooltipSettings", _descriptor6, this);
|
|
160374
|
+
|
|
160375
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filteredUniqKey", _descriptor7, this);
|
|
160376
|
+
|
|
160377
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "checkedValue", _descriptor8, this);
|
|
160378
|
+
|
|
160379
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "uncheckedValue", _descriptor9, this);
|
|
160380
|
+
|
|
160381
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor10, this);
|
|
160382
|
+
}
|
|
160383
|
+
|
|
160384
|
+
getOwnPath() {
|
|
160385
|
+
return this.path != undefined ? (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_7__.createFromMask)(this.path, "auto", _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_7__.PathTokens.each) : undefined;
|
|
160386
|
+
}
|
|
160387
|
+
|
|
160388
|
+
getPathToChecked() {
|
|
160389
|
+
var _this$pathToChecked;
|
|
160390
|
+
|
|
160391
|
+
return (_this$pathToChecked = this.pathToChecked) !== null && _this$pathToChecked !== void 0 ? _this$pathToChecked : "checked";
|
|
160392
|
+
}
|
|
160393
|
+
|
|
160394
|
+
}, (_descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "path", [_dec2], {
|
|
160395
|
+
configurable: true,
|
|
160396
|
+
enumerable: true,
|
|
160397
|
+
writable: true,
|
|
160398
|
+
initializer: null
|
|
160399
|
+
}), _descriptor2 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "pathToChecked", [_dec3], {
|
|
160400
|
+
configurable: true,
|
|
160401
|
+
enumerable: true,
|
|
160402
|
+
writable: true,
|
|
160403
|
+
initializer: null
|
|
160404
|
+
}), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "focusManagement", [_dec4], {
|
|
160405
|
+
configurable: true,
|
|
160406
|
+
enumerable: true,
|
|
160407
|
+
writable: true,
|
|
160408
|
+
initializer: null
|
|
160409
|
+
}), _descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "disabled2", [_dec5], {
|
|
160410
|
+
configurable: true,
|
|
160411
|
+
enumerable: true,
|
|
160412
|
+
writable: true,
|
|
160413
|
+
initializer: null
|
|
160414
|
+
}), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "tid", [_dec6], {
|
|
160415
|
+
configurable: true,
|
|
160416
|
+
enumerable: true,
|
|
160417
|
+
writable: true,
|
|
160418
|
+
initializer: null
|
|
160419
|
+
}), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "tooltipSettings", [_dec7], {
|
|
160420
|
+
configurable: true,
|
|
160421
|
+
enumerable: true,
|
|
160422
|
+
writable: true,
|
|
160423
|
+
initializer: null
|
|
160424
|
+
}), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "filteredUniqKey", [_dec8], {
|
|
160425
|
+
configurable: true,
|
|
160426
|
+
enumerable: true,
|
|
160427
|
+
writable: true,
|
|
160428
|
+
initializer: null
|
|
160429
|
+
}), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "checkedValue", [_dec9], {
|
|
160430
|
+
configurable: true,
|
|
160431
|
+
enumerable: true,
|
|
160432
|
+
writable: true,
|
|
160433
|
+
initializer: null
|
|
160434
|
+
}), _descriptor9 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "uncheckedValue", [_dec10], {
|
|
160435
|
+
configurable: true,
|
|
160436
|
+
enumerable: true,
|
|
160437
|
+
writable: true,
|
|
160438
|
+
initializer: null
|
|
160439
|
+
}), _descriptor10 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec11], {
|
|
160440
|
+
configurable: true,
|
|
160441
|
+
enumerable: true,
|
|
160442
|
+
writable: true,
|
|
160443
|
+
initializer: null
|
|
160444
|
+
})), _class2)) || _class);
|
|
160445
|
+
|
|
160446
|
+
/***/ }),
|
|
160447
|
+
|
|
159706
160448
|
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Select/PicklistReference.ts":
|
|
159707
160449
|
/*!*************************************************************************************************************!*\
|
|
159708
160450
|
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Select/PicklistReference.ts ***!
|
|
@@ -164468,6 +165210,14 @@ class SugarNodeConverterBase {
|
|
|
164468
165210
|
return Iterator.from([]);
|
|
164469
165211
|
}
|
|
164470
165212
|
|
|
165213
|
+
buildSugarKCLangCalculations() {
|
|
165214
|
+
return [];
|
|
165215
|
+
}
|
|
165216
|
+
|
|
165217
|
+
buildLazyLoadingDeclaration(schemaRng) {
|
|
165218
|
+
return [];
|
|
165219
|
+
}
|
|
165220
|
+
|
|
164471
165221
|
getParentStrictAs(nodeClass) {
|
|
164472
165222
|
const node = this.node.sourceXmlNode;
|
|
164473
165223
|
const parent = node.getParentStrict();
|
|
@@ -164849,6 +165599,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
164849
165599
|
/* harmony import */ var _ElementProcessors_Action_Common_ActionNode__WEBPACK_IMPORTED_MODULE_116__ = __webpack_require__(/*! ../ElementProcessors/Action/Common/ActionNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Action/Common/ActionNode.ts");
|
|
164850
165600
|
/* harmony import */ var _ElementProcessors_Action_Kebab_KebabNode__WEBPACK_IMPORTED_MODULE_117__ = __webpack_require__(/*! ../ElementProcessors/Action/Kebab/KebabNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Action/Kebab/KebabNode.ts");
|
|
164851
165601
|
/* harmony import */ var _ElementProcessors_Helpers_Clue_InfoBlockNode__WEBPACK_IMPORTED_MODULE_118__ = __webpack_require__(/*! ../ElementProcessors/Helpers/Clue/InfoBlockNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Helpers/Clue/InfoBlockNode.ts");
|
|
165602
|
+
/* harmony import */ var _ElementProcessors_ValueEditors_SelectAllCheckbox_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_119__ = __webpack_require__(/*! ../ElementProcessors/ValueEditors/SelectAllCheckbox/SelectAllCheckboxNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectAllCheckbox/SelectAllCheckboxNode.ts");
|
|
165603
|
+
|
|
164852
165604
|
|
|
164853
165605
|
|
|
164854
165606
|
|
|
@@ -165078,6 +165830,7 @@ function registerDefaultSugarNodes(result) {
|
|
|
165078
165830
|
result.registerNode(_ElementProcessors_ValueViewers_DateView_DateViewNode__WEBPACK_IMPORTED_MODULE_115__.DateViewNode);
|
|
165079
165831
|
result.registerNode(_ElementProcessors_Action_Kebab_KebabNode__WEBPACK_IMPORTED_MODULE_117__.KebabNode);
|
|
165080
165832
|
result.registerNode(_ElementProcessors_Helpers_Clue_InfoBlockNode__WEBPACK_IMPORTED_MODULE_118__.InfoBlockNode);
|
|
165833
|
+
result.registerNode(_ElementProcessors_ValueEditors_SelectAllCheckbox_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_119__.SelectAllCheckboxNode);
|
|
165081
165834
|
}
|
|
165082
165835
|
|
|
165083
165836
|
function createDefaultSugarSerializer() {
|
|
@@ -165091,7 +165844,7 @@ function getAllSugarValidationNodeClasses() {
|
|
|
165091
165844
|
return [_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.TypeNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.CustomValidationTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.PatternTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.EnumerationTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.AttachmentsTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.LengthTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.MinlengthTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.MaxlengthTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.TotaldigitsTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.IntegerdigitsTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.FractiondigitsTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.DigestcheckTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.DigestConditionTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.MininclusiveTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.MaxinclusiveTypeCheckNode, _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.ForcedTypeChecksNode];
|
|
165092
165845
|
}
|
|
165093
165846
|
function getAllSugarNodeClasses() {
|
|
165094
|
-
return [_ElementProcessors_ValueViewers_Text_TextNode__WEBPACK_IMPORTED_MODULE_94__.TextNode, _ElementProcessors_ControlFlow_Switch_SwitchNode__WEBPACK_IMPORTED_MODULE_89__.SwitchNode, _ElementProcessors_ControlFlow_Switch_SwitchNode__WEBPACK_IMPORTED_MODULE_89__.SwitchDefaultNode, _ElementProcessors_ControlFlow_Switch_SwitchNode__WEBPACK_IMPORTED_MODULE_89__.SwitchCaseNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_AddButtonNode__WEBPACK_IMPORTED_MODULE_30__.AddButtonNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_AddLineNode__WEBPACK_IMPORTED_MODULE_31__.AddLineNode, _ElementProcessors_FormParts_AddPageButton_AddPageButtonNode__WEBPACK_IMPORTED_MODULE_10__.AddPageButtonNode, _ElementProcessors_MultiControls_AddRowButton_AddRowButtonNode__WEBPACK_IMPORTED_MODULE_11__.AddRowButtonNode, _ElementProcessors_Layout_Block_BlockNode__WEBPACK_IMPORTED_MODULE_12__.BlockNode, _ElementProcessors_Layout_Minitour_MinitourNode__WEBPACK_IMPORTED_MODULE_13__.MinitourNode, _ElementProcessors_Modal_Body_BodyNode__WEBPACK_IMPORTED_MODULE_14__.BodyNode, _ElementProcessors_Typography_Bold_BoldNode__WEBPACK_IMPORTED_MODULE_15__.BoldNode, _ElementProcessors_Layout_Br_BrNode__WEBPACK_IMPORTED_MODULE_16__.BrNode, _ElementProcessors_Action_Button_ButtonNode__WEBPACK_IMPORTED_MODULE_17__.ButtonNode, _ElementProcessors_Action_DownloadExcelButton_DownloadExcelButtonNode__WEBPACK_IMPORTED_MODULE_18__.DownloadExcelButtonNode, _ElementProcessors_FormParts_Caption_CaptionNode__WEBPACK_IMPORTED_MODULE_19__.CaptionNode, _ElementProcessors_ValueEditors_Checkbox_CheckboxNode__WEBPACK_IMPORTED_MODULE_20__.CheckboxNode, _ElementProcessors_ControlFlow_Choice_ChoiceNode__WEBPACK_IMPORTED_MODULE_21__.ChoiceNode, _ElementProcessors_ValueEditors_Combobox_ComboBoxNode__WEBPACK_IMPORTED_MODULE_22__.ComboBoxNode, _ElementProcessors_FormParts_Content_ContentNode__WEBPACK_IMPORTED_MODULE_23__.ContentNode, _ElementProcessors_MultiControls_CrossfitTable_CrossfitTableNode__WEBPACK_IMPORTED_MODULE_90__.CrossfitTableNode, _ElementProcessors_FormParts_Cross_CrossNode__WEBPACK_IMPORTED_MODULE_24__.CrossNode, _ElementProcessors_ValueEditors_Date_DateNode__WEBPACK_IMPORTED_MODULE_25__.DateNode, _ElementProcessors_ValueEditors_DiadocSuggestComboBox_DiadocSuggestComboBoxNode__WEBPACK_IMPORTED_MODULE_27__.DiadocSuggestComboBoxNode, _ElementProcessors_Typography_Entity_EntityNode__WEBPACK_IMPORTED_MODULE_28__.EntityNode, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteNode__WEBPACK_IMPORTED_MODULE_29__.ExpertNoteNode, _ElementProcessors_ValueEditors_FileLoader_FileLoaderNode__WEBPACK_IMPORTED_MODULE_37__.FileLoaderNode, _ElementProcessors_MultiControls_FilterDateRange_FilterDateRangeNode__WEBPACK_IMPORTED_MODULE_38__.FilterDateRangeNode, _ElementProcessors_MultiControls_FilterInput_FilterInputNode__WEBPACK_IMPORTED_MODULE_39__.FilterInputNode, _ElementProcessors_MultiControls_FilterList_FilterListNode__WEBPACK_IMPORTED_MODULE_40__.FilterListNode, _ElementProcessors_ValueViewers_FIO_FIONode__WEBPACK_IMPORTED_MODULE_41__.FIONode, _ElementProcessors_Layout_Flexbox_FlexboxNode__WEBPACK_IMPORTED_MODULE_42__.FlexboxNode, _ElementProcessors_Modal_Footer_FooterNode__WEBPACK_IMPORTED_MODULE_43__.FooterNode, _ElementProcessors_FormParts_FormInfo_FormInfoNode__WEBPACK_IMPORTED_MODULE_48__.FormInfoNode, _ElementProcessors_FormParts_Form_FormNode__WEBPACK_IMPORTED_MODULE_44__.FormNode, _ElementProcessors_Typography_Gray_GrayNode__WEBPACK_IMPORTED_MODULE_49__.GrayNode, _ElementProcessors_Layout_GridCol_GridColNode__WEBPACK_IMPORTED_MODULE_50__.GridColNode, _ElementProcessors_Layout_GridRow_GridRowNode__WEBPACK_IMPORTED_MODULE_51__.GridRowNode, _ElementProcessors_MultiControls_HeaderMenu_HeaderMenuNode__WEBPACK_IMPORTED_MODULE_53__.HeaderMenuNode, _ElementProcessors_FormParts_Header_HeaderNode__WEBPACK_IMPORTED_MODULE_52__.HeaderNode, _ElementProcessors_Helpers_Helpinfo_HelpInfoNode__WEBPACK_IMPORTED_MODULE_55__.HelpInfoNode, _ElementProcessors_Helpers_Help_HelpNode__WEBPACK_IMPORTED_MODULE_54__.HelpNode, _ElementProcessors_Typography_Highlight_HighlightNode__WEBPACK_IMPORTED_MODULE_56__.HighlightNode, _ElementProcessors_Layout_Hr_HrNode__WEBPACK_IMPORTED_MODULE_57__.HrNode, _ElementProcessors_Typography_Icon_IconNode__WEBPACK_IMPORTED_MODULE_58__.IconNode, _ElementProcessors_Layout_Img_ImgNode__WEBPACK_IMPORTED_MODULE_60__.ImgNode, _ElementProcessors_Layout_InnerText_InnertextNode__WEBPACK_IMPORTED_MODULE_9__.InnertextNode, _ElementProcessors_ValueEditors_INN_INNNode__WEBPACK_IMPORTED_MODULE_61__.INNNode, _ElementProcessors_ValueEditors_Input_InputNode__WEBPACK_IMPORTED_MODULE_62__.InputNode, _ElementProcessors_Typography_Italic_ItalicNode__WEBPACK_IMPORTED_MODULE_63__.ItalicNode, _ElementProcessors_ValueEditors_Kladr_KladrNode__WEBPACK_IMPORTED_MODULE_65__.KladrNode, _ElementProcessors_Action_Link_LinkNode__WEBPACK_IMPORTED_MODULE_67__.LinkNode, _ElementProcessors_Layout_ListItem_ListItemNode__WEBPACK_IMPORTED_MODULE_64__.ListItemNode, _ElementProcessors_Layout_List_ListNode__WEBPACK_IMPORTED_MODULE_68__.ListNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_MenuNode__WEBPACK_IMPORTED_MODULE_32__.MenuNode, _ElementProcessors_Modal_ModalFormCancel_ModalFormCancelNode__WEBPACK_IMPORTED_MODULE_70__.ModalFormCancelNode, _ElementProcessors_Modal_ModalFormConfirm_ModalFormConfirmNode__WEBPACK_IMPORTED_MODULE_71__.ModalFormConfirmNode, _ElementProcessors_Modal_ModalFormLabel_ModalFormLabelNode__WEBPACK_IMPORTED_MODULE_72__.ModalFormLabelNode, _ElementProcessors_Modal_ModalForm_ModalFormNode__WEBPACK_IMPORTED_MODULE_69__.ModalFormNode, _ElementProcessors_MultiControls_Multilinefield_MultilineFieldNode__WEBPACK_IMPORTED_MODULE_73__.MultilineFieldNode, _ElementProcessors_Helpers_Normativehelp_NormativeHelpNode__WEBPACK_IMPORTED_MODULE_74__.NormativeHelpNode, _ElementProcessors_ControlFlow_Otherwise_OtherwiseNode__WEBPACK_IMPORTED_MODULE_75__.OtherwiseNode, _ElementProcessors_FormParts_Page_PageNode__WEBPACK_IMPORTED_MODULE_76__.PageNode, _ElementProcessors_FormParts_Form_Nodes_PanelNode__WEBPACK_IMPORTED_MODULE_47__.PanelNode, _ElementProcessors_Layout_Pencil_PencilNode__WEBPACK_IMPORTED_MODULE_77__.PencilNode, _ElementProcessors_ValueEditors_Picklist_PicklistNode__WEBPACK_IMPORTED_MODULE_78__.PicklistNode, _ElementProcessors_ValueEditors_radio_RadioNode__WEBPACK_IMPORTED_MODULE_79__.RadioNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_RemoveButtonNode__WEBPACK_IMPORTED_MODULE_33__.RemoveButtonNode, _ElementProcessors_MultiControls_RemoveRowButton_RemoveRowButtonNode__WEBPACK_IMPORTED_MODULE_81__.RemoveRowButtonNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_ReplaceButtonNode__WEBPACK_IMPORTED_MODULE_34__.ReplaceButtonNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_ReplaceLineNode__WEBPACK_IMPORTED_MODULE_35__.ReplaceLineNode, _ElementProcessors_ValueEditors_Select_SelectNode__WEBPACK_IMPORTED_MODULE_82__.SelectNode, _ElementProcessors_Layout_SimpleTable_SimpleTableNode__WEBPACK_IMPORTED_MODULE_91__.SimpleTableNode, _ElementProcessors_MultiControls_SortRadioGroup_SortRadioGroupNode__WEBPACK_IMPORTED_MODULE_83__.SortRadioGroupNode, _ElementProcessors_ValueEditors_RadioGroup_RadioGroupNode__WEBPACK_IMPORTED_MODULE_80__.RadioGroupNode, _ElementProcessors_Layout_Spoiler_SpoilerNode__WEBPACK_IMPORTED_MODULE_84__.SpoilerNode, _ElementProcessors_MultiControls_StickyTable_StickyTableNode__WEBPACK_IMPORTED_MODULE_92__.StickyTableNode, _ElementProcessors_Typography_Strong_StrongNode__WEBPACK_IMPORTED_MODULE_85__.StrongNode, _ElementProcessors_Layout_Subheader_SubheaderNode__WEBPACK_IMPORTED_MODULE_87__.SubheaderNode, _ElementProcessors_Typography_Sub_SubNode__WEBPACK_IMPORTED_MODULE_86__.SubNode, _ElementProcessors_Typography_Sup_SupNode__WEBPACK_IMPORTED_MODULE_88__.SupNode, _ElementProcessors_ValueEditors_Textarea_TextAreaNode__WEBPACK_IMPORTED_MODULE_95__.TextAreaNode, _ElementProcessors_ValueEditors_popupTextArea_PopupTextAreaNode__WEBPACK_IMPORTED_MODULE_102__.PopupTextAreaNode, _ElementProcessors_FormParts_UnitItem_UnitItemNode__WEBPACK_IMPORTED_MODULE_96__.UnitItemNode, _ElementProcessors_FormParts_UnitList_UnitListNode__WEBPACK_IMPORTED_MODULE_97__.UnitListNode, _ElementProcessors_ValueViewers_ValueLength_ValueLengthNode__WEBPACK_IMPORTED_MODULE_98__.ValueLengthNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_ViewFileNode__WEBPACK_IMPORTED_MODULE_36__.ViewFileNode, _ElementProcessors_ControlFlow_VisibilityBlock_VisibilityBlockNode__WEBPACK_IMPORTED_MODULE_99__.VisibilityBlockNode, _ElementProcessors_Layout_Warning_WarningNode__WEBPACK_IMPORTED_MODULE_100__.WarningNode, _ElementProcessors_ControlFlow_When_WhenNode__WEBPACK_IMPORTED_MODULE_101__.WhenNode, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteNode__WEBPACK_IMPORTED_MODULE_29__.ExpertNoteNode, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteNode__WEBPACK_IMPORTED_MODULE_29__.MessageBoxNode, _ElementProcessors_Action_Link_LinkNode__WEBPACK_IMPORTED_MODULE_67__.LinkNode, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteNode__WEBPACK_IMPORTED_MODULE_29__.NameNode, _ElementProcessors_ValueViewers_Linetext_LineTextNode__WEBPACK_IMPORTED_MODULE_66__.LineTextNode, _ElementProcessors_ControlFlow_Captions_Short_ShortNode__WEBPACK_IMPORTED_MODULE_113__.ShortNode, _ElementProcessors_ControlFlow_Captions_Long_LongNode__WEBPACK_IMPORTED_MODULE_112__.LongNode, _ElementProcessors_ControlFlow_Captions_FillHint_FillHintNode__WEBPACK_IMPORTED_MODULE_114__.FillHintNode, _ElementProcessors_ControlFlow_If_IfNode__WEBPACK_IMPORTED_MODULE_59__.IfNode, _ElementProcessors_ControlFlow_If_IfNode__WEBPACK_IMPORTED_MODULE_59__.ElseNode, _ElementProcessors_ControlFlow_If_IfNode__WEBPACK_IMPORTED_MODULE_59__.ThenNode, _ElementProcessors_Layout_SimpleTable_SimpleTableNode__WEBPACK_IMPORTED_MODULE_91__.SimpleTableRowNode, _ElementProcessors_Layout_SimpleTable_SimpleTableNode__WEBPACK_IMPORTED_MODULE_91__.SimpleTableColumnNode, _ElementProcessors_Layout_Stack_StackNode__WEBPACK_IMPORTED_MODULE_4__.StackNode, _ElementProcessors_Layout_Grid_GridNode__WEBPACK_IMPORTED_MODULE_3__.GridNode, _ElementProcessors_MultiControls_StickyTable_StickyTableNode__WEBPACK_IMPORTED_MODULE_92__.StickyTableMultilineNode, _ElementProcessors_UnitParts_HeaderPanel_HeaderPanelNode__WEBPACK_IMPORTED_MODULE_8__.HeaderPanelNode, _ElementProcessors_Action_DropdownButton_DropdownButtonNode__WEBPACK_IMPORTED_MODULE_2__.DropdownButtonNode, _ElementProcessors_Action_Common_ActionNode__WEBPACK_IMPORTED_MODULE_116__.ActionNode, _ElementProcessors_MultiControls_Tabs_TabsNode__WEBPACK_IMPORTED_MODULE_7__.TabsNode, _ElementProcessors_ValueEditors_Fias_FiasNode__WEBPACK_IMPORTED_MODULE_0__.FiasNode, _ElementProcessors_MultiControls_FilterSelect_FilterSelectNode__WEBPACK_IMPORTED_MODULE_5__.FilterSelectNode, _ElementProcessors_MultiControls_Table2_Table2Node__WEBPACK_IMPORTED_MODULE_6__.Table2Node, _ElementProcessors_Layout_FixedTabs_FixedTabsNode__WEBPACK_IMPORTED_MODULE_105__.FixedTabsNode, _ElementProcessors_Layout_FixedTabs_FixedTabsNode__WEBPACK_IMPORTED_MODULE_105__.FixedTabNode, _ElementProcessors_MultiControls_Multiple_MultipleNode__WEBPACK_IMPORTED_MODULE_106__.MultipleNode, _ElementProcessors_Action_ExcelPastePanel_ExcelPastePanelNode__WEBPACK_IMPORTED_MODULE_107__.ExcelPastePanelNode, _ElementProcessors_ValueEditors_ReferencedFields_ReferencedFieldsNode__WEBPACK_IMPORTED_MODULE_108__.ReferencedFieldsNode, _ElementProcessors_FormParts_UserPicklist_UserPicklistNode__WEBPACK_IMPORTED_MODULE_109__.UserPicklistNode, _ElementProcessors_ValueEditors_TaxRebate_TaxRebateNode__WEBPACK_IMPORTED_MODULE_110__.TaxRebateNode, _ElementProcessors_FormParts_Banner_BannerNode__WEBPACK_IMPORTED_MODULE_111__.BannerNode, _ElementProcessors_ValueViewers_DateView_DateViewNode__WEBPACK_IMPORTED_MODULE_115__.DateViewNode, _ElementProcessors_Action_Kebab_KebabNode__WEBPACK_IMPORTED_MODULE_117__.KebabNode, _ElementProcessors_Helpers_Clue_InfoBlockNode__WEBPACK_IMPORTED_MODULE_118__.InfoBlockNode];
|
|
165847
|
+
return [_ElementProcessors_ValueViewers_Text_TextNode__WEBPACK_IMPORTED_MODULE_94__.TextNode, _ElementProcessors_ControlFlow_Switch_SwitchNode__WEBPACK_IMPORTED_MODULE_89__.SwitchNode, _ElementProcessors_ControlFlow_Switch_SwitchNode__WEBPACK_IMPORTED_MODULE_89__.SwitchDefaultNode, _ElementProcessors_ControlFlow_Switch_SwitchNode__WEBPACK_IMPORTED_MODULE_89__.SwitchCaseNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_AddButtonNode__WEBPACK_IMPORTED_MODULE_30__.AddButtonNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_AddLineNode__WEBPACK_IMPORTED_MODULE_31__.AddLineNode, _ElementProcessors_FormParts_AddPageButton_AddPageButtonNode__WEBPACK_IMPORTED_MODULE_10__.AddPageButtonNode, _ElementProcessors_MultiControls_AddRowButton_AddRowButtonNode__WEBPACK_IMPORTED_MODULE_11__.AddRowButtonNode, _ElementProcessors_Layout_Block_BlockNode__WEBPACK_IMPORTED_MODULE_12__.BlockNode, _ElementProcessors_Layout_Minitour_MinitourNode__WEBPACK_IMPORTED_MODULE_13__.MinitourNode, _ElementProcessors_Modal_Body_BodyNode__WEBPACK_IMPORTED_MODULE_14__.BodyNode, _ElementProcessors_Typography_Bold_BoldNode__WEBPACK_IMPORTED_MODULE_15__.BoldNode, _ElementProcessors_Layout_Br_BrNode__WEBPACK_IMPORTED_MODULE_16__.BrNode, _ElementProcessors_Action_Button_ButtonNode__WEBPACK_IMPORTED_MODULE_17__.ButtonNode, _ElementProcessors_Action_DownloadExcelButton_DownloadExcelButtonNode__WEBPACK_IMPORTED_MODULE_18__.DownloadExcelButtonNode, _ElementProcessors_FormParts_Caption_CaptionNode__WEBPACK_IMPORTED_MODULE_19__.CaptionNode, _ElementProcessors_ValueEditors_Checkbox_CheckboxNode__WEBPACK_IMPORTED_MODULE_20__.CheckboxNode, _ElementProcessors_ControlFlow_Choice_ChoiceNode__WEBPACK_IMPORTED_MODULE_21__.ChoiceNode, _ElementProcessors_ValueEditors_Combobox_ComboBoxNode__WEBPACK_IMPORTED_MODULE_22__.ComboBoxNode, _ElementProcessors_FormParts_Content_ContentNode__WEBPACK_IMPORTED_MODULE_23__.ContentNode, _ElementProcessors_MultiControls_CrossfitTable_CrossfitTableNode__WEBPACK_IMPORTED_MODULE_90__.CrossfitTableNode, _ElementProcessors_FormParts_Cross_CrossNode__WEBPACK_IMPORTED_MODULE_24__.CrossNode, _ElementProcessors_ValueEditors_Date_DateNode__WEBPACK_IMPORTED_MODULE_25__.DateNode, _ElementProcessors_ValueEditors_DiadocSuggestComboBox_DiadocSuggestComboBoxNode__WEBPACK_IMPORTED_MODULE_27__.DiadocSuggestComboBoxNode, _ElementProcessors_Typography_Entity_EntityNode__WEBPACK_IMPORTED_MODULE_28__.EntityNode, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteNode__WEBPACK_IMPORTED_MODULE_29__.ExpertNoteNode, _ElementProcessors_ValueEditors_FileLoader_FileLoaderNode__WEBPACK_IMPORTED_MODULE_37__.FileLoaderNode, _ElementProcessors_MultiControls_FilterDateRange_FilterDateRangeNode__WEBPACK_IMPORTED_MODULE_38__.FilterDateRangeNode, _ElementProcessors_MultiControls_FilterInput_FilterInputNode__WEBPACK_IMPORTED_MODULE_39__.FilterInputNode, _ElementProcessors_MultiControls_FilterList_FilterListNode__WEBPACK_IMPORTED_MODULE_40__.FilterListNode, _ElementProcessors_ValueViewers_FIO_FIONode__WEBPACK_IMPORTED_MODULE_41__.FIONode, _ElementProcessors_Layout_Flexbox_FlexboxNode__WEBPACK_IMPORTED_MODULE_42__.FlexboxNode, _ElementProcessors_Modal_Footer_FooterNode__WEBPACK_IMPORTED_MODULE_43__.FooterNode, _ElementProcessors_FormParts_FormInfo_FormInfoNode__WEBPACK_IMPORTED_MODULE_48__.FormInfoNode, _ElementProcessors_FormParts_Form_FormNode__WEBPACK_IMPORTED_MODULE_44__.FormNode, _ElementProcessors_Typography_Gray_GrayNode__WEBPACK_IMPORTED_MODULE_49__.GrayNode, _ElementProcessors_Layout_GridCol_GridColNode__WEBPACK_IMPORTED_MODULE_50__.GridColNode, _ElementProcessors_Layout_GridRow_GridRowNode__WEBPACK_IMPORTED_MODULE_51__.GridRowNode, _ElementProcessors_MultiControls_HeaderMenu_HeaderMenuNode__WEBPACK_IMPORTED_MODULE_53__.HeaderMenuNode, _ElementProcessors_FormParts_Header_HeaderNode__WEBPACK_IMPORTED_MODULE_52__.HeaderNode, _ElementProcessors_Helpers_Helpinfo_HelpInfoNode__WEBPACK_IMPORTED_MODULE_55__.HelpInfoNode, _ElementProcessors_Helpers_Help_HelpNode__WEBPACK_IMPORTED_MODULE_54__.HelpNode, _ElementProcessors_Typography_Highlight_HighlightNode__WEBPACK_IMPORTED_MODULE_56__.HighlightNode, _ElementProcessors_Layout_Hr_HrNode__WEBPACK_IMPORTED_MODULE_57__.HrNode, _ElementProcessors_Typography_Icon_IconNode__WEBPACK_IMPORTED_MODULE_58__.IconNode, _ElementProcessors_Layout_Img_ImgNode__WEBPACK_IMPORTED_MODULE_60__.ImgNode, _ElementProcessors_Layout_InnerText_InnertextNode__WEBPACK_IMPORTED_MODULE_9__.InnertextNode, _ElementProcessors_ValueEditors_INN_INNNode__WEBPACK_IMPORTED_MODULE_61__.INNNode, _ElementProcessors_ValueEditors_Input_InputNode__WEBPACK_IMPORTED_MODULE_62__.InputNode, _ElementProcessors_Typography_Italic_ItalicNode__WEBPACK_IMPORTED_MODULE_63__.ItalicNode, _ElementProcessors_ValueEditors_Kladr_KladrNode__WEBPACK_IMPORTED_MODULE_65__.KladrNode, _ElementProcessors_Action_Link_LinkNode__WEBPACK_IMPORTED_MODULE_67__.LinkNode, _ElementProcessors_Layout_ListItem_ListItemNode__WEBPACK_IMPORTED_MODULE_64__.ListItemNode, _ElementProcessors_Layout_List_ListNode__WEBPACK_IMPORTED_MODULE_68__.ListNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_MenuNode__WEBPACK_IMPORTED_MODULE_32__.MenuNode, _ElementProcessors_Modal_ModalFormCancel_ModalFormCancelNode__WEBPACK_IMPORTED_MODULE_70__.ModalFormCancelNode, _ElementProcessors_Modal_ModalFormConfirm_ModalFormConfirmNode__WEBPACK_IMPORTED_MODULE_71__.ModalFormConfirmNode, _ElementProcessors_Modal_ModalFormLabel_ModalFormLabelNode__WEBPACK_IMPORTED_MODULE_72__.ModalFormLabelNode, _ElementProcessors_Modal_ModalForm_ModalFormNode__WEBPACK_IMPORTED_MODULE_69__.ModalFormNode, _ElementProcessors_MultiControls_Multilinefield_MultilineFieldNode__WEBPACK_IMPORTED_MODULE_73__.MultilineFieldNode, _ElementProcessors_Helpers_Normativehelp_NormativeHelpNode__WEBPACK_IMPORTED_MODULE_74__.NormativeHelpNode, _ElementProcessors_ControlFlow_Otherwise_OtherwiseNode__WEBPACK_IMPORTED_MODULE_75__.OtherwiseNode, _ElementProcessors_FormParts_Page_PageNode__WEBPACK_IMPORTED_MODULE_76__.PageNode, _ElementProcessors_FormParts_Form_Nodes_PanelNode__WEBPACK_IMPORTED_MODULE_47__.PanelNode, _ElementProcessors_Layout_Pencil_PencilNode__WEBPACK_IMPORTED_MODULE_77__.PencilNode, _ElementProcessors_ValueEditors_Picklist_PicklistNode__WEBPACK_IMPORTED_MODULE_78__.PicklistNode, _ElementProcessors_ValueEditors_radio_RadioNode__WEBPACK_IMPORTED_MODULE_79__.RadioNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_RemoveButtonNode__WEBPACK_IMPORTED_MODULE_33__.RemoveButtonNode, _ElementProcessors_MultiControls_RemoveRowButton_RemoveRowButtonNode__WEBPACK_IMPORTED_MODULE_81__.RemoveRowButtonNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_ReplaceButtonNode__WEBPACK_IMPORTED_MODULE_34__.ReplaceButtonNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_ReplaceLineNode__WEBPACK_IMPORTED_MODULE_35__.ReplaceLineNode, _ElementProcessors_ValueEditors_Select_SelectNode__WEBPACK_IMPORTED_MODULE_82__.SelectNode, _ElementProcessors_Layout_SimpleTable_SimpleTableNode__WEBPACK_IMPORTED_MODULE_91__.SimpleTableNode, _ElementProcessors_MultiControls_SortRadioGroup_SortRadioGroupNode__WEBPACK_IMPORTED_MODULE_83__.SortRadioGroupNode, _ElementProcessors_ValueEditors_RadioGroup_RadioGroupNode__WEBPACK_IMPORTED_MODULE_80__.RadioGroupNode, _ElementProcessors_Layout_Spoiler_SpoilerNode__WEBPACK_IMPORTED_MODULE_84__.SpoilerNode, _ElementProcessors_MultiControls_StickyTable_StickyTableNode__WEBPACK_IMPORTED_MODULE_92__.StickyTableNode, _ElementProcessors_Typography_Strong_StrongNode__WEBPACK_IMPORTED_MODULE_85__.StrongNode, _ElementProcessors_Layout_Subheader_SubheaderNode__WEBPACK_IMPORTED_MODULE_87__.SubheaderNode, _ElementProcessors_Typography_Sub_SubNode__WEBPACK_IMPORTED_MODULE_86__.SubNode, _ElementProcessors_Typography_Sup_SupNode__WEBPACK_IMPORTED_MODULE_88__.SupNode, _ElementProcessors_ValueEditors_Textarea_TextAreaNode__WEBPACK_IMPORTED_MODULE_95__.TextAreaNode, _ElementProcessors_ValueEditors_popupTextArea_PopupTextAreaNode__WEBPACK_IMPORTED_MODULE_102__.PopupTextAreaNode, _ElementProcessors_FormParts_UnitItem_UnitItemNode__WEBPACK_IMPORTED_MODULE_96__.UnitItemNode, _ElementProcessors_FormParts_UnitList_UnitListNode__WEBPACK_IMPORTED_MODULE_97__.UnitListNode, _ElementProcessors_ValueViewers_ValueLength_ValueLengthNode__WEBPACK_IMPORTED_MODULE_98__.ValueLengthNode, _ElementProcessors_ValueEditors_FileLoader_FileLoader_ViewFileNode__WEBPACK_IMPORTED_MODULE_36__.ViewFileNode, _ElementProcessors_ControlFlow_VisibilityBlock_VisibilityBlockNode__WEBPACK_IMPORTED_MODULE_99__.VisibilityBlockNode, _ElementProcessors_Layout_Warning_WarningNode__WEBPACK_IMPORTED_MODULE_100__.WarningNode, _ElementProcessors_ControlFlow_When_WhenNode__WEBPACK_IMPORTED_MODULE_101__.WhenNode, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteNode__WEBPACK_IMPORTED_MODULE_29__.ExpertNoteNode, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteNode__WEBPACK_IMPORTED_MODULE_29__.MessageBoxNode, _ElementProcessors_Action_Link_LinkNode__WEBPACK_IMPORTED_MODULE_67__.LinkNode, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteNode__WEBPACK_IMPORTED_MODULE_29__.NameNode, _ElementProcessors_ValueViewers_Linetext_LineTextNode__WEBPACK_IMPORTED_MODULE_66__.LineTextNode, _ElementProcessors_ControlFlow_Captions_Short_ShortNode__WEBPACK_IMPORTED_MODULE_113__.ShortNode, _ElementProcessors_ControlFlow_Captions_Long_LongNode__WEBPACK_IMPORTED_MODULE_112__.LongNode, _ElementProcessors_ControlFlow_Captions_FillHint_FillHintNode__WEBPACK_IMPORTED_MODULE_114__.FillHintNode, _ElementProcessors_ControlFlow_If_IfNode__WEBPACK_IMPORTED_MODULE_59__.IfNode, _ElementProcessors_ControlFlow_If_IfNode__WEBPACK_IMPORTED_MODULE_59__.ElseNode, _ElementProcessors_ControlFlow_If_IfNode__WEBPACK_IMPORTED_MODULE_59__.ThenNode, _ElementProcessors_Layout_SimpleTable_SimpleTableNode__WEBPACK_IMPORTED_MODULE_91__.SimpleTableRowNode, _ElementProcessors_Layout_SimpleTable_SimpleTableNode__WEBPACK_IMPORTED_MODULE_91__.SimpleTableColumnNode, _ElementProcessors_Layout_Stack_StackNode__WEBPACK_IMPORTED_MODULE_4__.StackNode, _ElementProcessors_Layout_Grid_GridNode__WEBPACK_IMPORTED_MODULE_3__.GridNode, _ElementProcessors_MultiControls_StickyTable_StickyTableNode__WEBPACK_IMPORTED_MODULE_92__.StickyTableMultilineNode, _ElementProcessors_UnitParts_HeaderPanel_HeaderPanelNode__WEBPACK_IMPORTED_MODULE_8__.HeaderPanelNode, _ElementProcessors_Action_DropdownButton_DropdownButtonNode__WEBPACK_IMPORTED_MODULE_2__.DropdownButtonNode, _ElementProcessors_Action_Common_ActionNode__WEBPACK_IMPORTED_MODULE_116__.ActionNode, _ElementProcessors_MultiControls_Tabs_TabsNode__WEBPACK_IMPORTED_MODULE_7__.TabsNode, _ElementProcessors_ValueEditors_Fias_FiasNode__WEBPACK_IMPORTED_MODULE_0__.FiasNode, _ElementProcessors_MultiControls_FilterSelect_FilterSelectNode__WEBPACK_IMPORTED_MODULE_5__.FilterSelectNode, _ElementProcessors_MultiControls_Table2_Table2Node__WEBPACK_IMPORTED_MODULE_6__.Table2Node, _ElementProcessors_Layout_FixedTabs_FixedTabsNode__WEBPACK_IMPORTED_MODULE_105__.FixedTabsNode, _ElementProcessors_Layout_FixedTabs_FixedTabsNode__WEBPACK_IMPORTED_MODULE_105__.FixedTabNode, _ElementProcessors_MultiControls_Multiple_MultipleNode__WEBPACK_IMPORTED_MODULE_106__.MultipleNode, _ElementProcessors_Action_ExcelPastePanel_ExcelPastePanelNode__WEBPACK_IMPORTED_MODULE_107__.ExcelPastePanelNode, _ElementProcessors_ValueEditors_ReferencedFields_ReferencedFieldsNode__WEBPACK_IMPORTED_MODULE_108__.ReferencedFieldsNode, _ElementProcessors_FormParts_UserPicklist_UserPicklistNode__WEBPACK_IMPORTED_MODULE_109__.UserPicklistNode, _ElementProcessors_ValueEditors_TaxRebate_TaxRebateNode__WEBPACK_IMPORTED_MODULE_110__.TaxRebateNode, _ElementProcessors_FormParts_Banner_BannerNode__WEBPACK_IMPORTED_MODULE_111__.BannerNode, _ElementProcessors_ValueViewers_DateView_DateViewNode__WEBPACK_IMPORTED_MODULE_115__.DateViewNode, _ElementProcessors_Action_Kebab_KebabNode__WEBPACK_IMPORTED_MODULE_117__.KebabNode, _ElementProcessors_Helpers_Clue_InfoBlockNode__WEBPACK_IMPORTED_MODULE_118__.InfoBlockNode, _ElementProcessors_ValueEditors_SelectAllCheckbox_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_119__.SelectAllCheckboxNode];
|
|
165095
165848
|
}
|
|
165096
165849
|
|
|
165097
165850
|
/***/ }),
|