@kontur.candy/generator 5.105.0-optimize-engine-bundle-size.0 → 5.106.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.
Files changed (2) hide show
  1. package/dist/index.js +525 -582
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -47142,6 +47142,9 @@ class ModelPathImpl {
47142
47142
  const firstIndex = this.tokens.find(PathTokens.isInstanceToken);
47143
47143
  return firstIndex ? Number(firstIndex) : -1;
47144
47144
  }
47145
+ tokensCount() {
47146
+ return this.tokens.length;
47147
+ }
47145
47148
  isResolved() {
47146
47149
  return isAllTokensResolved(this.tokens);
47147
47150
  }
@@ -47185,6 +47188,13 @@ class ModelPathImpl {
47185
47188
  const tokensWithoutLastIteration = this.tokens.slice(0, lastIterationIndex);
47186
47189
  return new ModelPathImpl(tokensWithoutLastIteration, this.absolute);
47187
47190
  }
47191
+ getPathWithoutIterations() {
47192
+ if (!this.isContainCurrentOrEachIteration()) {
47193
+ return this;
47194
+ }
47195
+ const tokens = this.tokens.filter(x => !PathTokens.isMultiToken(x));
47196
+ return new ModelPathImpl(tokens, this.absolute);
47197
+ }
47188
47198
  getLastIndexOfCurrentOrEachIteration() {
47189
47199
  if (!this.isContainCurrentOrEachIteration()) {
47190
47200
  return -1;
@@ -50678,80 +50688,52 @@ const existsKCLangFunction = params => {
50678
50688
  throw new Error("Invalid parameters!");
50679
50689
  };
50680
50690
  const isSnilsKCLangFunction = params => {
50681
- var _params$10;
50691
+ var _params$0$value, _params$10;
50682
50692
  const errors = Array.from(validateParams(params, 1));
50683
50693
  if (errors.length > 0) {
50684
50694
  return new FunctionValidationErrorCollection(errors);
50685
50695
  }
50686
- const argumentExpr = (_params$10 = params[0]) === null || _params$10 === void 0 ? void 0 : _params$10.value;
50687
- if ((argumentExpr === null || argumentExpr === void 0 ? void 0 : argumentExpr.type) === "argument") {
50688
- const param = argumentExpr.select;
50689
- if (param == undefined) {
50690
- throw new Error("Unexpected error!");
50691
- }
50692
- return {
50693
- type: "isSnils",
50694
- select: param
50695
- };
50696
- }
50697
- throw new Error("Invalid parameters!");
50696
+ const argumentExpr = (_params$0$value = (_params$10 = params[0]) === null || _params$10 === void 0 ? void 0 : _params$10.value) !== null && _params$0$value !== void 0 ? _params$0$value : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__.reject)();
50697
+ return {
50698
+ type: "isSnils",
50699
+ expression: argumentExpr
50700
+ };
50698
50701
  };
50699
50702
  const isRegNumSfrKCLangFunction = params => {
50700
- var _params$11;
50703
+ var _params$0$value2, _params$11;
50701
50704
  const errors = Array.from(validateParams(params, 1));
50702
50705
  if (errors.length > 0) {
50703
50706
  return new FunctionValidationErrorCollection(errors);
50704
50707
  }
50705
- const argumentExpr = (_params$11 = params[0]) === null || _params$11 === void 0 ? void 0 : _params$11.value;
50706
- if ((argumentExpr === null || argumentExpr === void 0 ? void 0 : argumentExpr.type) === "argument") {
50707
- const param = argumentExpr.select;
50708
- if (param == undefined) {
50709
- throw new Error("Unexpected error!");
50710
- }
50711
- return {
50712
- type: "isRegNumSfr",
50713
- select: param
50714
- };
50715
- }
50716
- throw new Error("Invalid parameters!");
50708
+ const argumentExpr = (_params$0$value2 = (_params$11 = params[0]) === null || _params$11 === void 0 ? void 0 : _params$11.value) !== null && _params$0$value2 !== void 0 ? _params$0$value2 : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__.reject)();
50709
+ return {
50710
+ type: "isRegNumSfr",
50711
+ expression: argumentExpr
50712
+ };
50717
50713
  };
50718
50714
  const isInnKCLangFunction = params => {
50719
- var _params$12;
50715
+ var _params$0$value3, _params$12;
50720
50716
  const errors = Array.from(validateParams(params, 1));
50721
50717
  if (errors.length > 0) {
50722
50718
  return new FunctionValidationErrorCollection(errors);
50723
50719
  }
50724
- const argumentExpr = (_params$12 = params[0]) === null || _params$12 === void 0 ? void 0 : _params$12.value;
50725
- if ((argumentExpr === null || argumentExpr === void 0 ? void 0 : argumentExpr.type) === "argument") {
50726
- const param = argumentExpr.select;
50727
- if (param == undefined) {
50728
- throw new Error("Unexpected error!");
50729
- }
50730
- return {
50731
- type: "isInn",
50732
- select: param
50733
- };
50734
- }
50735
- throw new Error("Invalid parameters!");
50720
+ const argumentExpr = (_params$0$value3 = (_params$12 = params[0]) === null || _params$12 === void 0 ? void 0 : _params$12.value) !== null && _params$0$value3 !== void 0 ? _params$0$value3 : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__.reject)();
50721
+ return {
50722
+ type: "isInn",
50723
+ expression: argumentExpr
50724
+ };
50736
50725
  };
50737
50726
  const isOgrnKCLangFunction = params => {
50738
- var _params$13;
50727
+ var _params$0$value4, _params$13;
50739
50728
  const errors = Array.from(validateParams(params, 1));
50740
50729
  if (errors.length > 0) {
50741
50730
  return new FunctionValidationErrorCollection(errors);
50742
50731
  }
50743
- const argumentExpr = (_params$13 = params[0]) === null || _params$13 === void 0 ? void 0 : _params$13.value;
50744
- if ((argumentExpr === null || argumentExpr === void 0 ? void 0 : argumentExpr.type) === "argument") {
50745
- const param = argumentExpr.select;
50746
- if (param == undefined) {
50747
- throw new Error("Unexpected error!");
50748
- }
50749
- return {
50750
- type: "isOgrn",
50751
- select: param
50752
- };
50753
- }
50754
- throw new Error("Invalid parameters!");
50732
+ const argumentExpr = (_params$0$value4 = (_params$13 = params[0]) === null || _params$13 === void 0 ? void 0 : _params$13.value) !== null && _params$0$value4 !== void 0 ? _params$0$value4 : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__.reject)();
50733
+ return {
50734
+ type: "isOgrn",
50735
+ expression: argumentExpr
50736
+ };
50755
50737
  };
50756
50738
  const arrayKCLangFunction = params => {
50757
50739
  const errors = Array.from(validateParams(params, 0, Infinity));
@@ -50839,45 +50821,30 @@ const getPicklistValuesKCLangFunction = params => {
50839
50821
  };
50840
50822
  };
50841
50823
  const isValidMirCardNumberKCLangFunction = params => {
50842
- var _params$21;
50824
+ var _params$0$value5, _params$21;
50843
50825
  const errors = Array.from(validateParams(params, 1));
50844
50826
  if (errors.length > 0) {
50845
50827
  return new FunctionValidationErrorCollection(errors);
50846
50828
  }
50847
- const argumentExpr = (_params$21 = params[0]) === null || _params$21 === void 0 ? void 0 : _params$21.value;
50848
- if ((argumentExpr === null || argumentExpr === void 0 ? void 0 : argumentExpr.type) === "argument") {
50849
- const param = argumentExpr.select;
50850
- if (param == undefined) {
50851
- throw new Error("Unexpected error!");
50852
- }
50853
- return {
50854
- type: "isValidMirCardNumber",
50855
- select: param
50856
- };
50857
- }
50858
- throw new Error("Invalid parameters!");
50829
+ const argumentExpr = (_params$0$value5 = (_params$21 = params[0]) === null || _params$21 === void 0 ? void 0 : _params$21.value) !== null && _params$0$value5 !== void 0 ? _params$0$value5 : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__.reject)();
50830
+ return {
50831
+ type: "isValidMirCardNumber",
50832
+ expression: argumentExpr
50833
+ };
50859
50834
  };
50860
50835
  const isValidAccountNumberKCLangFunction = params => {
50861
- var _params$22, _params$23;
50836
+ var _params$0$value6, _params$22, _params$1$value, _params$23;
50862
50837
  const errors = Array.from(validateParams(params, 2));
50863
50838
  if (errors.length > 0) {
50864
50839
  return new FunctionValidationErrorCollection(errors);
50865
50840
  }
50866
- const bik = (_params$22 = params[0]) === null || _params$22 === void 0 ? void 0 : _params$22.value;
50867
- const account = (_params$23 = params[1]) === null || _params$23 === void 0 ? void 0 : _params$23.value;
50868
- if ((bik === null || bik === void 0 ? void 0 : bik.type) === "argument" && (account === null || account === void 0 ? void 0 : account.type) === "argument") {
50869
- const bikValue = bik.select;
50870
- const accountValue = account.select;
50871
- if (accountValue == undefined || bikValue == undefined) {
50872
- throw new Error("Unexpected error!");
50873
- }
50874
- return {
50875
- type: "isValidAccountNumber",
50876
- bik: bikValue,
50877
- account: accountValue
50878
- };
50879
- }
50880
- throw new Error("Invalid parameters!");
50841
+ const bik = (_params$0$value6 = (_params$22 = params[0]) === null || _params$22 === void 0 ? void 0 : _params$22.value) !== null && _params$0$value6 !== void 0 ? _params$0$value6 : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__.reject)();
50842
+ const account = (_params$1$value = (_params$23 = params[1]) === null || _params$23 === void 0 ? void 0 : _params$23.value) !== null && _params$1$value !== void 0 ? _params$1$value : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__.reject)();
50843
+ return {
50844
+ type: "isValidAccountNumber",
50845
+ bik: bik,
50846
+ account: account
50847
+ };
50881
50848
  };
50882
50849
  const countKCLangFunction = params => {
50883
50850
  var _params$24;
@@ -61689,37 +61656,37 @@ const getGenerateJsExpressionFunc = options => {
61689
61656
  {
61690
61657
  // eslint-disable-next-line @typescript-eslint/unbound-method
61691
61658
  const isSnilsFnName = gn(x => x.isSnils);
61692
- return `${utilsName}.${isSnilsFnName}(${pathFnName}, "${expression.select}")`;
61659
+ return `${utilsName}.${isSnilsFnName}(${pathFnName}, "${generateJsExpression(expression.expression)}")`;
61693
61660
  }
61694
61661
  case "isRegNumSfr":
61695
61662
  {
61696
61663
  // eslint-disable-next-line @typescript-eslint/unbound-method
61697
61664
  const isValidRegNumSfrFnName = gn(x => x.isRegNumSfr);
61698
- return `${utilsName}.${isValidRegNumSfrFnName}(${pathFnName}, "${expression.select}")`;
61665
+ return `${utilsName}.${isValidRegNumSfrFnName}(${pathFnName}, "${generateJsExpression(expression.expression)}")`;
61699
61666
  }
61700
61667
  case "isInn":
61701
61668
  {
61702
61669
  // eslint-disable-next-line @typescript-eslint/unbound-method
61703
61670
  const isInnFnName = gn(x => x.isInn);
61704
- return `${utilsName}.${isInnFnName}(${pathFnName}, "${expression.select}")`;
61671
+ return `${utilsName}.${isInnFnName}(${pathFnName}, "${generateJsExpression(expression.expression)}")`;
61705
61672
  }
61706
61673
  case "isOgrn":
61707
61674
  {
61708
61675
  // eslint-disable-next-line @typescript-eslint/unbound-method
61709
61676
  const isOgrnFnName = gn(x => x.isOgrn);
61710
- return `${utilsName}.${isOgrnFnName}(${pathFnName}, "${expression.select}")`;
61677
+ return `${utilsName}.${isOgrnFnName}(${pathFnName}, "${generateJsExpression(expression.expression)}")`;
61711
61678
  }
61712
61679
  case "isValidMirCardNumber":
61713
61680
  {
61714
61681
  // eslint-disable-next-line @typescript-eslint/unbound-method
61715
61682
  const isValidMirCardNumberFnName = gn(x => x.isValidMirCardNumber);
61716
- return `${utilsName}.${isValidMirCardNumberFnName}(${pathFnName}, "${expression.select}")`;
61683
+ return `${utilsName}.${isValidMirCardNumberFnName}(${pathFnName}, "${generateJsExpression(expression.expression)}")`;
61717
61684
  }
61718
61685
  case "isValidAccountNumber":
61719
61686
  {
61720
61687
  // eslint-disable-next-line @typescript-eslint/unbound-method
61721
61688
  const isValidAccountNumberFnName = gn(x => x.isValidAccountNumber);
61722
- return `${utilsName}.${isValidAccountNumberFnName}(${pathFnName}, "${expression.bik}", "${expression.account}")`;
61689
+ return `${utilsName}.${isValidAccountNumberFnName}(${pathFnName}, "${generateJsExpression(expression.bik)}", "${generateJsExpression(expression.account)}")`;
61723
61690
  }
61724
61691
  case "const":
61725
61692
  {
@@ -61900,16 +61867,17 @@ function generateKCXmlExpression(expression, prefixPath = "") {
61900
61867
  case "hashSet":
61901
61868
  case "length":
61902
61869
  return [`<m:${expression.type}>`, (0,_Common_IndentString__WEBPACK_IMPORTED_MODULE_2__.indent)(generateKCXmlExpression(expression.expression, prefixPath), 1), `</m:${expression.type}>`].join("\n");
61903
- case "exists":
61904
61870
  case "isSnils":
61905
61871
  case "isInn":
61906
61872
  case "isOgrn":
61907
61873
  case "isRegNumSfr":
61908
61874
  case "isValidMirCardNumber":
61875
+ return [`<m:${expression.type}>`, (0,_Common_IndentString__WEBPACK_IMPORTED_MODULE_2__.indent)(generateKCXmlExpression(expression.expression, prefixPath), 1), `</m:${expression.type}>`].join("\n");
61876
+ case "exists":
61909
61877
  case "multySum":
61910
61878
  return `<m:${expression.type} select="${expression.select}" />`;
61911
61879
  case "isValidAccountNumber":
61912
- return `<m:${expression.type} bik="${expression.bik}" account="${expression.account}" />`;
61880
+ return [`<m:${expression.type}>`, `<m:isvalidaccountnumberbik>`, (0,_Common_IndentString__WEBPACK_IMPORTED_MODULE_2__.indent)(generateKCXmlExpression(expression.bik, prefixPath), 1), `</m:isvalidaccountnumberbik>`, `<m:isvalidaccountnumberaccount>`, (0,_Common_IndentString__WEBPACK_IMPORTED_MODULE_2__.indent)(generateKCXmlExpression(expression.account, prefixPath), 1), `</m:isvalidaccountnumberaccount>`, `</m:${expression.type}>`].join("\n");
61913
61881
  case "makeDict":
61914
61882
  return [`<m:${expression.type} sourceKeyPath="${expression.sourceKeyPath}">`, (0,_Common_IndentString__WEBPACK_IMPORTED_MODULE_2__.indent)(generateKCXmlExpression(expression.sourceValueExpression, prefixPath), 1), `</m:${expression.type}>`].join("\n");
61915
61883
  case "getSumByKeys":
@@ -62087,6 +62055,15 @@ function generateBlockKCXmlFormulas(block, parents) {
62087
62055
  }
62088
62056
  return result.join("\n");
62089
62057
  }
62058
+ function extractSelectPathOrUndefined(expression) {
62059
+ if (expression.type == "argument") {
62060
+ return expression.select;
62061
+ }
62062
+ if (expression.type == "cast" && expression.expression.type == "argument") {
62063
+ return expression.expression.select;
62064
+ }
62065
+ return undefined;
62066
+ }
62090
62067
  function guessConditionTarget(condition) {
62091
62068
  let result;
62092
62069
  class GuessConditionTargetVisitor extends _IKCLangExpressionVisitor__WEBPACK_IMPORTED_MODULE_5__.DefaultKCLangExpressionVisitor {
@@ -62097,32 +62074,32 @@ function guessConditionTarget(condition) {
62097
62074
  }
62098
62075
  visitIsSnilsKCLangNode(node) {
62099
62076
  if (result == undefined) {
62100
- result = node.select;
62077
+ result = extractSelectPathOrUndefined(node.expression);
62101
62078
  }
62102
62079
  }
62103
62080
  visitIsRegNumSfrKCLangNode(node) {
62104
62081
  if (result == undefined) {
62105
- result = node.select;
62082
+ result = extractSelectPathOrUndefined(node.expression);
62106
62083
  }
62107
62084
  }
62108
62085
  visitIsInnKCLangNode(node) {
62109
62086
  if (result == undefined) {
62110
- result = node.select;
62087
+ result = extractSelectPathOrUndefined(node.expression);
62111
62088
  }
62112
62089
  }
62113
62090
  visitIsOgrnKCLangNode(node) {
62114
62091
  if (result == undefined) {
62115
- result = node.select;
62092
+ result = extractSelectPathOrUndefined(node.expression);
62116
62093
  }
62117
62094
  }
62118
62095
  visitIsValidMirCardNumberNode(node) {
62119
62096
  if (result == undefined) {
62120
- result = node.select;
62097
+ result = extractSelectPathOrUndefined(node.expression);
62121
62098
  }
62122
62099
  }
62123
62100
  visitIsValidAccountNumberNode(node) {
62124
62101
  if (result == undefined) {
62125
- result = node.account;
62102
+ result = extractSelectPathOrUndefined(node.account);
62126
62103
  }
62127
62104
  }
62128
62105
  visitArgumentKCLangNode(node) {
@@ -62149,82 +62126,12 @@ function guessConditionTarget(condition) {
62149
62126
  (0,_IKCLangExpressionVisitor__WEBPACK_IMPORTED_MODULE_5__.traverseKCLangExpression)(condition.expression, new GuessConditionTargetVisitor());
62150
62127
  return result;
62151
62128
  }
62152
- function inferConditionTarget(condition, targetValue) {
62153
- let result;
62154
- if (targetValue == undefined) {
62155
- return undefined;
62156
- }
62157
- class InferConditionTargetVisitor extends _IKCLangExpressionVisitor__WEBPACK_IMPORTED_MODULE_5__.DefaultKCLangExpressionVisitor {
62158
- constructor(path) {
62159
- super();
62160
- this.path = void 0;
62161
- this.path = path;
62162
- }
62163
- visitExistsKCLangNode(node) {
62164
- if (result == undefined && node.select.endsWith(this.path)) {
62165
- result = node.select;
62166
- }
62167
- }
62168
- visitIsSnilsKCLangNode(node) {
62169
- if (result == undefined && node.select.endsWith(this.path)) {
62170
- result = node.select;
62171
- }
62172
- }
62173
- visitIsRegNumSfrKCLangNode(node) {
62174
- if (result == undefined && node.select.endsWith(this.path)) {
62175
- result = node.select;
62176
- }
62177
- }
62178
- visitIsInnKCLangNode(node) {
62179
- if (result == undefined && node.select.endsWith(this.path)) {
62180
- result = node.select;
62181
- }
62182
- }
62183
- visitIsOgrnKCLangNode(node) {
62184
- if (result == undefined && node.select.endsWith(this.path)) {
62185
- result = node.select;
62186
- }
62187
- }
62188
- visitIsValidMirCardNumberNode(node) {
62189
- if (result == undefined && node.select.endsWith(this.path)) {
62190
- result = node.select;
62191
- }
62192
- }
62193
- visitIsValidAccountNumberNode(node) {
62194
- if (result == undefined && node.account.endsWith(this.path)) {
62195
- result = node.account;
62196
- }
62197
- }
62198
- visitArgumentKCLangNode(node) {
62199
- if (result == undefined && node.select.endsWith(this.path)) {
62200
- result = node.select;
62201
- }
62202
- }
62203
- visitCountKCLangNode(node) {
62204
- if (result == undefined && node.select.endsWith(this.path)) {
62205
- result = node.select;
62206
- }
62207
- }
62208
- visitInstanceCountKCLangNode(node) {
62209
- if (result == undefined && node.select.endsWith(this.path)) {
62210
- result = node.select;
62211
- }
62212
- }
62213
- visitIsEqualToAutoCalculatedKCLangNode(node) {
62214
- if (result == undefined && node.select.endsWith(this.path)) {
62215
- result = node.select;
62216
- }
62217
- }
62218
- }
62219
- (0,_IKCLangExpressionVisitor__WEBPACK_IMPORTED_MODULE_5__.traverseKCLangExpression)(condition.expression, new InferConditionTargetVisitor(targetValue));
62220
- return result;
62221
- }
62222
62129
  function generateKCXmlCondition(ast, parentContexts, describe) {
62223
- var _ref, _inferConditionTarget;
62130
+ var _ast$target;
62224
62131
  const matchPath = joinPaths([...parentContexts.filter(isPathPrefix).map(x => x.path)]);
62225
62132
  const levelAttr = ast.level === undefined ? "" : ` errorLevel="${(0,_StringUtils__WEBPACK_IMPORTED_MODULE_3__.capitalizeFirstLetter)(ast.level)}"`;
62226
62133
  const descriptionAttr = describe != undefined ? ` description="${escapeHtmlCharacters(formatDescribeStatement(describe))}"` : "";
62227
- const guessedTarget = (_ref = (_inferConditionTarget = inferConditionTarget(ast, ast.target)) !== null && _inferConditionTarget !== void 0 ? _inferConditionTarget : ast.target) !== null && _ref !== void 0 ? _ref : guessConditionTarget(ast);
62134
+ const guessedTarget = (_ast$target = ast.target) !== null && _ast$target !== void 0 ? _ast$target : guessConditionTarget(ast);
62228
62135
  const targetAttr = guessedTarget != undefined ? ` target="${guessedTarget}"` : "";
62229
62136
  const conditions = [];
62230
62137
  const pathPrefixContexts = [];
@@ -68243,6 +68150,8 @@ __webpack_require__.r(__webpack_exports__);
68243
68150
  /* harmony export */ FormulaIsOgrnExpression: () => (/* binding */ FormulaIsOgrnExpression),
68244
68151
  /* harmony export */ FormulaIsRegNumSfrExpression: () => (/* binding */ FormulaIsRegNumSfrExpression),
68245
68152
  /* harmony export */ FormulaIsSnilsExpression: () => (/* binding */ FormulaIsSnilsExpression),
68153
+ /* harmony export */ FormulaIsValidAccountNumberAccountExpression: () => (/* binding */ FormulaIsValidAccountNumberAccountExpression),
68154
+ /* harmony export */ FormulaIsValidAccountNumberBikExpression: () => (/* binding */ FormulaIsValidAccountNumberBikExpression),
68246
68155
  /* harmony export */ FormulaIsValidAccountNumberExpression: () => (/* binding */ FormulaIsValidAccountNumberExpression),
68247
68156
  /* harmony export */ FormulaIsValidMirCardNumberExpression: () => (/* binding */ FormulaIsValidMirCardNumberExpression),
68248
68157
  /* harmony export */ FormulaJoinExpression: () => (/* binding */ FormulaJoinExpression),
@@ -68283,7 +68192,7 @@ __webpack_require__.r(__webpack_exports__);
68283
68192
 
68284
68193
 
68285
68194
 
68286
- var _dec, _dec2, _class, _class2, _descriptor, _dec3, _class3, _dec4, _dec5, _class4, _class5, _descriptor2, _dec6, _dec7, _class6, _class7, _descriptor3, _dec8, _dec9, _class8, _class9, _descriptor4, _dec10, _dec11, _class10, _class11, _descriptor5, _dec12, _dec13, _class12, _class13, _descriptor6, _dec14, _dec15, _dec16, _class14, _class15, _descriptor7, _descriptor8, _dec17, _dec18, _dec19, _class16, _class17, _descriptor9, _descriptor10, _dec20, _dec21, _class18, _class19, _descriptor11, _dec22, _dec23, _class20, _class21, _descriptor12, _dec24, _dec25, _class22, _class23, _descriptor13, _dec26, _dec27, _class24, _class25, _descriptor14, _dec28, _dec29, _class26, _class27, _descriptor15, _dec30, _dec31, _class28, _class29, _descriptor16, _dec32, _dec33, _class30, _class31, _descriptor17, _dec34, _dec35, _class32, _class33, _descriptor18, _dec36, _dec37, _class34, _class35, _descriptor19, _dec38, _dec39, _dec40, _dec41, _class36, _class37, _descriptor20, _descriptor21, _descriptor22, _dec42, _dec43, _class38, _class39, _descriptor23, _dec44, _dec45, _class40, _class41, _descriptor24, _dec46, _dec47, _dec48, _class42, _class43, _descriptor25, _descriptor26, _dec49, _dec50, _class44, _class45, _descriptor27, _dec51, _dec52, _class46, _class47, _descriptor28, _dec53, _dec54, _class48, _class49, _descriptor29, _dec55, _dec56, _class50, _class51, _descriptor30, _dec57, _dec58, _dec59, _class52, _class53, _descriptor31, _descriptor32, _dec60, _dec61, _dec62, _dec63, _class54, _class55, _descriptor33, _descriptor34, _descriptor35, _dec64, _dec65, _dec66, _class56, _class57, _descriptor36, _descriptor37, _dec67, _class58, _dec68, _dec69, _class59, _class60, _descriptor38, _dec70, _dec71, _class61, _class62, _descriptor39, _dec72, _dec73, _class63, _class64, _descriptor40, _dec74, _dec75, _class65, _class66, _descriptor41, _dec76, _dec77, _class67, _class68, _descriptor42, _dec78, _dec79, _class69, _class70, _descriptor43, _dec80, _dec81, _class71, _class72, _descriptor44, _dec82, _dec83, _class73, _class74, _descriptor45, _dec84, _dec85, _dec86, _class75, _class76, _descriptor46, _descriptor47, _dec87, _dec88, _dec89, _class77, _class78, _descriptor48, _descriptor49, _dec90, _dec91, _dec92, _class79, _class80, _descriptor50, _descriptor51, _dec93, _dec94, _dec95, _class81, _class82, _descriptor52, _descriptor53, _dec96, _dec97, _class83, _class84, _descriptor54, _dec98, _dec99, _class85, _class86, _descriptor55, _dec100, _dec101, _class87, _class88, _descriptor56, _dec102, _dec103, _class89, _class90, _descriptor57, _dec104, _dec105, _class91, _class92, _descriptor58, _dec106, _dec107, _class93, _class94, _descriptor59, _dec108, _dec109, _class95, _class96, _descriptor60, _dec110, _dec111, _dec112, _class97, _class98, _descriptor61, _descriptor62, _dec113, _dec114, _dec115, _class99, _class100, _descriptor63, _descriptor64, _dec116, _dec117, _class101, _class102, _descriptor65, _dec118, _dec119, _class103, _class104, _descriptor66, _dec120, _dec121, _class105, _class106, _descriptor67, _dec122, _dec123, _dec124, _dec125, _dec126, _class107, _class108, _descriptor68, _descriptor69, _descriptor70, _descriptor71, _dec127, _dec128, _class109, _class110, _descriptor72, _dec129, _dec130, _class111, _class112, _descriptor73, _dec131, _dec132, _class113, _class114, _descriptor74, _dec133, _dec134, _class115, _class116, _descriptor75, _dec135, _dec136, _dec137, _class117, _class118, _descriptor76, _descriptor77, _dec138, _dec139, _class119, _class120, _descriptor78, _dec140, _dec141, _dec142, _class121, _class122, _descriptor79, _descriptor80, _dec143, _dec144, _class123, _class124, _descriptor81, _dec145, _dec146, _class125, _class126, _descriptor82, _dec147, _dec148, _class127, _class128, _descriptor83, _dec149, _class129, _dec150, _dec151, _dec152, _dec153, _class130, _class131, _descriptor84, _descriptor85, _descriptor86, _dec154, _dec155, _class132, _class133, _descriptor87, _dec156, _dec157, _class134, _class135, _descriptor88, _dec158, _dec159, _dec160, _dec161, _dec162, _dec163, _class136, _class137, _descriptor89, _descriptor90, _descriptor91, _descriptor92, _descriptor93, _dec164, _dec165, _class138, _class139, _descriptor94, _dec166, _dec167, _dec168, _class140, _class141, _descriptor95, _descriptor96, _dec169, _dec170, _dec171, _class142, _class143, _descriptor97, _descriptor98, _dec172, _dec173, _dec174, _class144, _class145, _descriptor99, _descriptor100, _dec175, _dec176, _dec177, _dec178, _class146, _class147, _descriptor101, _descriptor102, _descriptor103, _dec179, _dec180, _dec181, _class148, _class149, _descriptor104, _descriptor105;
68195
+ var _dec, _dec2, _class, _class2, _descriptor, _dec3, _class3, _dec4, _dec5, _class4, _class5, _descriptor2, _dec6, _dec7, _class6, _class7, _descriptor3, _dec8, _dec9, _class8, _class9, _descriptor4, _dec10, _dec11, _class10, _class11, _descriptor5, _dec12, _dec13, _class12, _class13, _descriptor6, _dec14, _dec15, _dec16, _class14, _class15, _descriptor7, _descriptor8, _dec17, _dec18, _dec19, _class16, _class17, _descriptor9, _descriptor10, _dec20, _dec21, _class18, _class19, _descriptor11, _dec22, _dec23, _class20, _class21, _descriptor12, _dec24, _dec25, _class22, _class23, _descriptor13, _dec26, _dec27, _class24, _class25, _descriptor14, _dec28, _dec29, _class26, _class27, _descriptor15, _dec30, _dec31, _class28, _class29, _descriptor16, _dec32, _dec33, _class30, _class31, _descriptor17, _dec34, _dec35, _class32, _class33, _descriptor18, _dec36, _dec37, _class34, _class35, _descriptor19, _dec38, _dec39, _dec40, _dec41, _class36, _class37, _descriptor20, _descriptor21, _descriptor22, _dec42, _dec43, _class38, _class39, _descriptor23, _dec44, _dec45, _class40, _class41, _descriptor24, _dec46, _dec47, _dec48, _class42, _class43, _descriptor25, _descriptor26, _dec49, _dec50, _class44, _class45, _descriptor27, _dec51, _dec52, _class46, _class47, _descriptor28, _dec53, _dec54, _class48, _class49, _descriptor29, _dec55, _dec56, _class50, _class51, _descriptor30, _dec57, _dec58, _dec59, _class52, _class53, _descriptor31, _descriptor32, _dec60, _dec61, _dec62, _dec63, _class54, _class55, _descriptor33, _descriptor34, _descriptor35, _dec64, _dec65, _dec66, _class56, _class57, _descriptor36, _descriptor37, _dec67, _class58, _dec68, _dec69, _class59, _class60, _descriptor38, _dec70, _dec71, _class61, _class62, _descriptor39, _dec72, _dec73, _class63, _class64, _descriptor40, _dec74, _dec75, _class65, _class66, _descriptor41, _dec76, _dec77, _class67, _class68, _descriptor42, _dec78, _dec79, _class69, _class70, _descriptor43, _dec80, _dec81, _class71, _class72, _descriptor44, _dec82, _dec83, _class73, _class74, _descriptor45, _dec84, _dec85, _dec86, _class75, _class76, _descriptor46, _descriptor47, _dec87, _dec88, _dec89, _class77, _class78, _descriptor48, _descriptor49, _dec90, _dec91, _dec92, _class79, _class80, _descriptor50, _descriptor51, _dec93, _dec94, _dec95, _class81, _class82, _descriptor52, _descriptor53, _dec96, _dec97, _class83, _class84, _descriptor54, _dec98, _dec99, _class85, _class86, _descriptor55, _dec100, _dec101, _class87, _class88, _descriptor56, _dec102, _dec103, _class89, _class90, _descriptor57, _dec104, _dec105, _class91, _class92, _descriptor58, _dec106, _dec107, _class93, _class94, _descriptor59, _dec108, _dec109, _class95, _class96, _descriptor60, _dec110, _dec111, _class97, _class98, _descriptor61, _dec112, _dec113, _class99, _class100, _descriptor62, _dec114, _dec115, _dec116, _class101, _class102, _descriptor63, _descriptor64, _dec117, _dec118, _dec119, _class103, _class104, _descriptor65, _descriptor66, _dec120, _dec121, _class105, _class106, _descriptor67, _dec122, _dec123, _class107, _class108, _descriptor68, _dec124, _dec125, _class109, _class110, _descriptor69, _dec126, _dec127, _dec128, _dec129, _dec130, _class111, _class112, _descriptor70, _descriptor71, _descriptor72, _descriptor73, _dec131, _dec132, _class113, _class114, _descriptor74, _dec133, _dec134, _class115, _class116, _descriptor75, _dec135, _dec136, _class117, _class118, _descriptor76, _dec137, _dec138, _class119, _class120, _descriptor77, _dec139, _dec140, _dec141, _class121, _class122, _descriptor78, _descriptor79, _dec142, _dec143, _class123, _class124, _descriptor80, _dec144, _dec145, _dec146, _class125, _class126, _descriptor81, _descriptor82, _dec147, _dec148, _class127, _class128, _descriptor83, _dec149, _dec150, _class129, _class130, _descriptor84, _dec151, _dec152, _class131, _class132, _descriptor85, _dec153, _class133, _dec154, _dec155, _dec156, _dec157, _class134, _class135, _descriptor86, _descriptor87, _descriptor88, _dec158, _dec159, _class136, _class137, _descriptor89, _dec160, _dec161, _class138, _class139, _descriptor90, _dec162, _dec163, _dec164, _dec165, _dec166, _dec167, _class140, _class141, _descriptor91, _descriptor92, _descriptor93, _descriptor94, _descriptor95, _dec168, _dec169, _class142, _class143, _descriptor96, _dec170, _dec171, _dec172, _class144, _class145, _descriptor97, _descriptor98, _dec173, _dec174, _dec175, _class146, _class147, _descriptor99, _descriptor100, _dec176, _dec177, _dec178, _class148, _class149, _descriptor101, _descriptor102, _dec179, _dec180, _dec181, _dec182, _class150, _class151, _descriptor103, _descriptor104, _descriptor105, _dec183, _dec184, _dec185, _class152, _class153, _descriptor106, _descriptor107;
68287
68196
 
68288
68197
 
68289
68198
 
@@ -68904,488 +68813,516 @@ let FormulaSumOfDayWeightsExpression = (_dec98 = (0,_markupGenerator_Serializer_
68904
68813
  writable: true,
68905
68814
  initializer: null
68906
68815
  }), _class86)) || _class85);
68907
- let FormulaIsSnilsExpression = (_dec100 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("issnils", `Проверка на валидность снилса`), _dec101 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("select", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec100(_class87 = (_class88 = class FormulaIsSnilsExpression extends FormulaExpression {
68816
+ let FormulaIsSnilsExpression = (_dec100 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("issnils", `Проверка на валидность снилса`), _dec101 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec100(_class87 = (_class88 = class FormulaIsSnilsExpression extends FormulaExpression {
68908
68817
  constructor(...args) {
68909
68818
  super(...args);
68910
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select", _descriptor56, this);
68819
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor56, this);
68911
68820
  }
68912
68821
  getLegacyExpressionTypeForFunctionName() {
68913
68822
  return "isSnils";
68914
68823
  }
68915
- }, _descriptor56 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class88.prototype, "select", [_dec101], {
68824
+ }, _descriptor56 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class88.prototype, "expression", [_dec101], {
68916
68825
  configurable: true,
68917
68826
  enumerable: true,
68918
68827
  writable: true,
68919
68828
  initializer: null
68920
68829
  }), _class88)) || _class87);
68921
- let FormulaIsRegNumSfrExpression = (_dec102 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("isregnumsfr", `Проверка на валидность рег-номера СФР`), _dec103 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("select", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec102(_class89 = (_class90 = class FormulaIsRegNumSfrExpression extends FormulaExpression {
68830
+ let FormulaIsRegNumSfrExpression = (_dec102 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("isregnumsfr", `Проверка на валидность рег-номера СФР`), _dec103 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec102(_class89 = (_class90 = class FormulaIsRegNumSfrExpression extends FormulaExpression {
68922
68831
  constructor(...args) {
68923
68832
  super(...args);
68924
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select", _descriptor57, this);
68833
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor57, this);
68925
68834
  }
68926
68835
  getLegacyExpressionTypeForFunctionName() {
68927
68836
  return "isRegNumSfr";
68928
68837
  }
68929
- }, _descriptor57 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class90.prototype, "select", [_dec103], {
68838
+ }, _descriptor57 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class90.prototype, "expression", [_dec103], {
68930
68839
  configurable: true,
68931
68840
  enumerable: true,
68932
68841
  writable: true,
68933
68842
  initializer: null
68934
68843
  }), _class90)) || _class89);
68935
- let FormulaIsInnExpression = (_dec104 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("isinn", `Проверка на валидность ИИН`), _dec105 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("select", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec104(_class91 = (_class92 = class FormulaIsInnExpression extends FormulaExpression {
68844
+ let FormulaIsInnExpression = (_dec104 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("isinn", `Проверка на валидность ИИН`), _dec105 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec104(_class91 = (_class92 = class FormulaIsInnExpression extends FormulaExpression {
68936
68845
  constructor(...args) {
68937
68846
  super(...args);
68938
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select", _descriptor58, this);
68847
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor58, this);
68939
68848
  }
68940
68849
  getLegacyExpressionTypeForFunctionName() {
68941
68850
  return "isInn";
68942
68851
  }
68943
- }, _descriptor58 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class92.prototype, "select", [_dec105], {
68852
+ }, _descriptor58 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class92.prototype, "expression", [_dec105], {
68944
68853
  configurable: true,
68945
68854
  enumerable: true,
68946
68855
  writable: true,
68947
68856
  initializer: null
68948
68857
  }), _class92)) || _class91);
68949
- let FormulaIsOgrnExpression = (_dec106 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("isogrn", `Проверка на валидность ОГРН`), _dec107 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("select", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec106(_class93 = (_class94 = class FormulaIsOgrnExpression extends FormulaExpression {
68858
+ let FormulaIsOgrnExpression = (_dec106 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("isogrn", `Проверка на валидность ОГРН`), _dec107 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec106(_class93 = (_class94 = class FormulaIsOgrnExpression extends FormulaExpression {
68950
68859
  constructor(...args) {
68951
68860
  super(...args);
68952
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select", _descriptor59, this);
68861
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor59, this);
68953
68862
  }
68954
68863
  getLegacyExpressionTypeForFunctionName() {
68955
68864
  return "isOgrn";
68956
68865
  }
68957
- }, _descriptor59 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class94.prototype, "select", [_dec107], {
68866
+ }, _descriptor59 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class94.prototype, "expression", [_dec107], {
68958
68867
  configurable: true,
68959
68868
  enumerable: true,
68960
68869
  writable: true,
68961
68870
  initializer: null
68962
68871
  }), _class94)) || _class93);
68963
- let FormulaIsValidMirCardNumberExpression = (_dec108 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("isvalidmircardnumber", `Проверка на валидность карты МИР`), _dec109 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("select", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec108(_class95 = (_class96 = class FormulaIsValidMirCardNumberExpression extends FormulaExpression {
68872
+ let FormulaIsValidMirCardNumberExpression = (_dec108 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("isvalidmircardnumber", `Проверка на валидность карты МИР`), _dec109 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec108(_class95 = (_class96 = class FormulaIsValidMirCardNumberExpression extends FormulaExpression {
68964
68873
  constructor(...args) {
68965
68874
  super(...args);
68966
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select", _descriptor60, this);
68875
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor60, this);
68967
68876
  }
68968
68877
  getLegacyExpressionTypeForFunctionName() {
68969
68878
  return "isValidMirCardNumber";
68970
68879
  }
68971
- }, _descriptor60 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class96.prototype, "select", [_dec109], {
68880
+ }, _descriptor60 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class96.prototype, "expression", [_dec109], {
68972
68881
  configurable: true,
68973
68882
  enumerable: true,
68974
68883
  writable: true,
68975
68884
  initializer: null
68976
68885
  }), _class96)) || _class95);
68977
- let FormulaIsValidAccountNumberExpression = (_dec110 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("isvalidaccountnumber", `Проверка на валидность карты МИР`), _dec111 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("bik", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec112 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("account", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec110(_class97 = (_class98 = class FormulaIsValidAccountNumberExpression extends FormulaExpression {
68886
+ let FormulaIsValidAccountNumberBikExpression = (_dec110 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("isvalidaccountnumberbik", `Проверка на валидность карты МИР`), _dec111 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec110(_class97 = (_class98 = class FormulaIsValidAccountNumberBikExpression extends FormulaExpression {
68978
68887
  constructor(...args) {
68979
68888
  super(...args);
68980
68889
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "bik", _descriptor61, this);
68890
+ }
68891
+ getLegacyExpressionTypeForFunctionName() {
68892
+ return "isValidAccountNumberBik";
68893
+ }
68894
+ }, _descriptor61 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class98.prototype, "bik", [_dec111], {
68895
+ configurable: true,
68896
+ enumerable: true,
68897
+ writable: true,
68898
+ initializer: null
68899
+ }), _class98)) || _class97);
68900
+ let FormulaIsValidAccountNumberAccountExpression = (_dec112 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("isvalidaccountnumberaccount", `Проверка на валидность карты МИР`), _dec113 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec112(_class99 = (_class100 = class FormulaIsValidAccountNumberAccountExpression extends FormulaExpression {
68901
+ constructor(...args) {
68902
+ super(...args);
68981
68903
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "account", _descriptor62, this);
68982
68904
  }
68905
+ getLegacyExpressionTypeForFunctionName() {
68906
+ return "isValidAccountNumberAccount";
68907
+ }
68908
+ }, _descriptor62 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class100.prototype, "account", [_dec113], {
68909
+ configurable: true,
68910
+ enumerable: true,
68911
+ writable: true,
68912
+ initializer: null
68913
+ }), _class100)) || _class99);
68914
+ let FormulaIsValidAccountNumberExpression = (_dec114 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("isvalidaccountnumber", `Проверка на валидность карты МИР`), _dec115 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("isvalidaccountnumberbik", [FormulaIsValidAccountNumberBikExpression]), _dec116 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("isvalidaccountnumberaccount", [FormulaIsValidAccountNumberAccountExpression]), _dec114(_class101 = (_class102 = class FormulaIsValidAccountNumberExpression extends FormulaExpression {
68915
+ constructor(...args) {
68916
+ super(...args);
68917
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "bik", _descriptor63, this);
68918
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "account", _descriptor64, this);
68919
+ }
68983
68920
  getLegacyExpressionTypeForFunctionName() {
68984
68921
  return "isValidAccountNumber";
68985
68922
  }
68986
- }, _descriptor61 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class98.prototype, "bik", [_dec111], {
68923
+ }, _descriptor63 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class102.prototype, "bik", [_dec115], {
68987
68924
  configurable: true,
68988
68925
  enumerable: true,
68989
68926
  writable: true,
68990
68927
  initializer: null
68991
- }), _descriptor62 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class98.prototype, "account", [_dec112], {
68928
+ }), _descriptor64 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class102.prototype, "account", [_dec116], {
68992
68929
  configurable: true,
68993
68930
  enumerable: true,
68994
68931
  writable: true,
68995
68932
  initializer: null
68996
- }), _class98)) || _class97);
68997
- let FormulaArgumentExpression = (_dec113 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("argument", `TODO`), _dec114 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("select", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec115 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("type", typeArgumentValueParser, `Тип атрибута: string или decimal (по умолчанию)`), _dec113(_class99 = (_class100 = class FormulaArgumentExpression extends FormulaExpression {
68933
+ }), _class102)) || _class101);
68934
+ let FormulaArgumentExpression = (_dec117 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("argument", `TODO`), _dec118 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("select", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec119 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("type", typeArgumentValueParser, `Тип атрибута: string или decimal (по умолчанию)`), _dec117(_class103 = (_class104 = class FormulaArgumentExpression extends FormulaExpression {
68998
68935
  constructor(...args) {
68999
68936
  super(...args);
69000
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select", _descriptor63, this);
69001
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "type", _descriptor64, this);
68937
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select", _descriptor65, this);
68938
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "type", _descriptor66, this);
69002
68939
  }
69003
- }, _descriptor63 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class100.prototype, "select", [_dec114], {
68940
+ }, _descriptor65 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class104.prototype, "select", [_dec118], {
69004
68941
  configurable: true,
69005
68942
  enumerable: true,
69006
68943
  writable: true,
69007
68944
  initializer: null
69008
- }), _descriptor64 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class100.prototype, "type", [_dec115], {
68945
+ }), _descriptor66 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class104.prototype, "type", [_dec119], {
69009
68946
  configurable: true,
69010
68947
  enumerable: true,
69011
68948
  writable: true,
69012
68949
  initializer: function () {
69013
68950
  return "decimal";
69014
68951
  }
69015
- }), _class100)) || _class99);
69016
- let FormulaArrayExpression = (_dec116 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("array", `TODO`), _dec117 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec116(_class101 = (_class102 = class FormulaArrayExpression extends FormulaExpression {
68952
+ }), _class104)) || _class103);
68953
+ let FormulaArrayExpression = (_dec120 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("array", `TODO`), _dec121 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec120(_class105 = (_class106 = class FormulaArrayExpression extends FormulaExpression {
69017
68954
  constructor(...args) {
69018
68955
  super(...args);
69019
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "items", _descriptor65, this);
68956
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "items", _descriptor67, this);
69020
68957
  }
69021
- }, _descriptor65 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class102.prototype, "items", [_dec117], {
68958
+ }, _descriptor67 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class106.prototype, "items", [_dec121], {
69022
68959
  configurable: true,
69023
68960
  enumerable: true,
69024
68961
  writable: true,
69025
68962
  initializer: null
69026
- }), _class102)) || _class101);
69027
- let FormulaFilterColumnExpression = (_dec118 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("filtercolumn", `Получить значения пиклиста по фильру`), _dec119 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec118(_class103 = (_class104 = class FormulaFilterColumnExpression extends FormulaExpression {
68963
+ }), _class106)) || _class105);
68964
+ let FormulaFilterColumnExpression = (_dec122 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("filtercolumn", `Получить значения пиклиста по фильру`), _dec123 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec122(_class107 = (_class108 = class FormulaFilterColumnExpression extends FormulaExpression {
69028
68965
  constructor(...args) {
69029
68966
  super(...args);
69030
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filterColumn", _descriptor66, this);
68967
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filterColumn", _descriptor68, this);
69031
68968
  }
69032
- }, _descriptor66 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class104.prototype, "filterColumn", [_dec119], {
68969
+ }, _descriptor68 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class108.prototype, "filterColumn", [_dec123], {
69033
68970
  configurable: true,
69034
68971
  enumerable: true,
69035
68972
  writable: true,
69036
68973
  initializer: null
69037
- }), _class104)) || _class103);
69038
- let FormulaFilterKeyExpression = (_dec120 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("filterkey", `Получить значения пиклиста по фильру`), _dec121 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec120(_class105 = (_class106 = class FormulaFilterKeyExpression extends FormulaExpression {
68974
+ }), _class108)) || _class107);
68975
+ let FormulaFilterKeyExpression = (_dec124 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("filterkey", `Получить значения пиклиста по фильру`), _dec125 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec124(_class109 = (_class110 = class FormulaFilterKeyExpression extends FormulaExpression {
69039
68976
  constructor(...args) {
69040
68977
  super(...args);
69041
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filterKey", _descriptor67, this);
68978
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filterKey", _descriptor69, this);
69042
68979
  }
69043
- }, _descriptor67 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class106.prototype, "filterKey", [_dec121], {
68980
+ }, _descriptor69 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class110.prototype, "filterKey", [_dec125], {
69044
68981
  configurable: true,
69045
68982
  enumerable: true,
69046
68983
  writable: true,
69047
68984
  initializer: null
69048
- }), _class106)) || _class105);
69049
- let FormulaGetPicklistValuesExpression = (_dec122 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("getpicklistvalues", `Получить значения пиклиста по фильру. Используется только для генерации FLANG. В калькуляторе не работает`), _dec123 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("gId", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec124 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("filtercolumn", [FormulaFilterColumnExpression]), _dec125 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("filterkey", [FormulaFilterKeyExpression]), _dec126 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("resultColumn", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec122(_class107 = (_class108 = class FormulaGetPicklistValuesExpression extends FormulaExpression {
68985
+ }), _class110)) || _class109);
68986
+ let FormulaGetPicklistValuesExpression = (_dec126 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("getpicklistvalues", `Получить значения пиклиста по фильру. Используется только для генерации FLANG. В калькуляторе не работает`), _dec127 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("gId", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec128 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("filtercolumn", [FormulaFilterColumnExpression]), _dec129 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("filterkey", [FormulaFilterKeyExpression]), _dec130 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("resultColumn", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec126(_class111 = (_class112 = class FormulaGetPicklistValuesExpression extends FormulaExpression {
69050
68987
  constructor(...args) {
69051
68988
  super(...args);
69052
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "gId", _descriptor68, this);
69053
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filterColumn", _descriptor69, this);
69054
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filterKey", _descriptor70, this);
69055
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "resultColumn", _descriptor71, this);
68989
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "gId", _descriptor70, this);
68990
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filterColumn", _descriptor71, this);
68991
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filterKey", _descriptor72, this);
68992
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "resultColumn", _descriptor73, this);
69056
68993
  }
69057
68994
  getLegacyExpressionTypeForFunctionName() {
69058
68995
  return "getPicklistValues";
69059
68996
  }
69060
- }, _descriptor68 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class108.prototype, "gId", [_dec123], {
68997
+ }, _descriptor70 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class112.prototype, "gId", [_dec127], {
69061
68998
  configurable: true,
69062
68999
  enumerable: true,
69063
69000
  writable: true,
69064
69001
  initializer: null
69065
- }), _descriptor69 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class108.prototype, "filterColumn", [_dec124], {
69002
+ }), _descriptor71 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class112.prototype, "filterColumn", [_dec128], {
69066
69003
  configurable: true,
69067
69004
  enumerable: true,
69068
69005
  writable: true,
69069
69006
  initializer: null
69070
- }), _descriptor70 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class108.prototype, "filterKey", [_dec125], {
69007
+ }), _descriptor72 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class112.prototype, "filterKey", [_dec129], {
69071
69008
  configurable: true,
69072
69009
  enumerable: true,
69073
69010
  writable: true,
69074
69011
  initializer: null
69075
- }), _descriptor71 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class108.prototype, "resultColumn", [_dec126], {
69012
+ }), _descriptor73 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class112.prototype, "resultColumn", [_dec130], {
69076
69013
  configurable: true,
69077
69014
  enumerable: true,
69078
69015
  writable: true,
69079
69016
  initializer: null
69080
- }), _class108)) || _class107);
69081
- let FormulaFirstOrDefaultExpression = (_dec127 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("firstordefault", `Взять первый элемент массива. Используется только для генерации FLANG. В калькуляторе не работает`), _dec128 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec127(_class109 = (_class110 = class FormulaFirstOrDefaultExpression extends FormulaExpression {
69017
+ }), _class112)) || _class111);
69018
+ let FormulaFirstOrDefaultExpression = (_dec131 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("firstordefault", `Взять первый элемент массива. Используется только для генерации FLANG. В калькуляторе не работает`), _dec132 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec131(_class113 = (_class114 = class FormulaFirstOrDefaultExpression extends FormulaExpression {
69082
69019
  constructor(...args) {
69083
69020
  super(...args);
69084
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor72, this);
69021
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor74, this);
69085
69022
  }
69086
- }, _descriptor72 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class110.prototype, "expression", [_dec128], {
69023
+ }, _descriptor74 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class114.prototype, "expression", [_dec132], {
69087
69024
  configurable: true,
69088
69025
  enumerable: true,
69089
69026
  writable: true,
69090
69027
  initializer: null
69091
- }), _class110)) || _class109);
69092
- let FormulaHashSetExpression = (_dec129 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("hashset", `Оставить только уникальные значения в массиве. Используется только для генерации FLANG. В калькуляторе не работает`), _dec130 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec129(_class111 = (_class112 = class FormulaHashSetExpression extends FormulaExpression {
69028
+ }), _class114)) || _class113);
69029
+ let FormulaHashSetExpression = (_dec133 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("hashset", `Оставить только уникальные значения в массиве. Используется только для генерации FLANG. В калькуляторе не работает`), _dec134 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec133(_class115 = (_class116 = class FormulaHashSetExpression extends FormulaExpression {
69093
69030
  constructor(...args) {
69094
69031
  super(...args);
69095
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor73, this);
69032
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor75, this);
69096
69033
  }
69097
- }, _descriptor73 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class112.prototype, "expression", [_dec130], {
69034
+ }, _descriptor75 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class116.prototype, "expression", [_dec134], {
69098
69035
  configurable: true,
69099
69036
  enumerable: true,
69100
69037
  writable: true,
69101
69038
  initializer: null
69102
- }), _class112)) || _class111);
69103
- let FormulaExistsExpression = (_dec131 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("exists", `TODO`), _dec132 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("select", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec131(_class113 = (_class114 = class FormulaExistsExpression extends FormulaExpression {
69039
+ }), _class116)) || _class115);
69040
+ let FormulaExistsExpression = (_dec135 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("exists", `TODO`), _dec136 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("select", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec135(_class117 = (_class118 = class FormulaExistsExpression extends FormulaExpression {
69104
69041
  constructor(...args) {
69105
69042
  super(...args);
69106
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select", _descriptor74, this);
69043
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select", _descriptor76, this);
69107
69044
  }
69108
69045
  getLegacyExpressionTypeForFunctionName() {
69109
69046
  return "exists";
69110
69047
  }
69111
- }, _descriptor74 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class114.prototype, "select", [_dec132], {
69048
+ }, _descriptor76 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class118.prototype, "select", [_dec136], {
69112
69049
  configurable: true,
69113
69050
  enumerable: true,
69114
69051
  writable: true,
69115
69052
  initializer: null
69116
- }), _class114)) || _class113);
69117
- let FormulaMultySumExpression = (_dec133 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("multysum", `TODO`), _dec134 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("select", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec133(_class115 = (_class116 = class FormulaMultySumExpression extends FormulaExpression {
69053
+ }), _class118)) || _class117);
69054
+ let FormulaMultySumExpression = (_dec137 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("multysum", `TODO`), _dec138 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("select", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec137(_class119 = (_class120 = class FormulaMultySumExpression extends FormulaExpression {
69118
69055
  constructor(...args) {
69119
69056
  super(...args);
69120
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select", _descriptor75, this);
69057
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select", _descriptor77, this);
69121
69058
  }
69122
- }, _descriptor75 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class116.prototype, "select", [_dec134], {
69059
+ }, _descriptor77 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class120.prototype, "select", [_dec138], {
69123
69060
  configurable: true,
69124
69061
  enumerable: true,
69125
69062
  writable: true,
69126
69063
  initializer: null
69127
- }), _class116)) || _class115);
69128
- let FormulaCountExpression = (_dec135 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("count", `TODO`), _dec136 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("select", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec137 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("withNullOrEmptyValues", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.boolean, `брать в расчет незаполненные экземпляры`), _dec135(_class117 = (_class118 = class FormulaCountExpression extends FormulaExpression {
69064
+ }), _class120)) || _class119);
69065
+ let FormulaCountExpression = (_dec139 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("count", `TODO`), _dec140 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("select", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec141 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("withNullOrEmptyValues", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.boolean, `брать в расчет незаполненные экземпляры`), _dec139(_class121 = (_class122 = class FormulaCountExpression extends FormulaExpression {
69129
69066
  constructor(...args) {
69130
69067
  super(...args);
69131
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select", _descriptor76, this);
69132
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "withNullOrEmptyValues", _descriptor77, this);
69068
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select", _descriptor78, this);
69069
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "withNullOrEmptyValues", _descriptor79, this);
69133
69070
  }
69134
- }, _descriptor76 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class118.prototype, "select", [_dec136], {
69071
+ }, _descriptor78 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class122.prototype, "select", [_dec140], {
69135
69072
  configurable: true,
69136
69073
  enumerable: true,
69137
69074
  writable: true,
69138
69075
  initializer: null
69139
- }), _descriptor77 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class118.prototype, "withNullOrEmptyValues", [_dec137], {
69076
+ }), _descriptor79 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class122.prototype, "withNullOrEmptyValues", [_dec141], {
69140
69077
  configurable: true,
69141
69078
  enumerable: true,
69142
69079
  writable: true,
69143
69080
  initializer: null
69144
- }), _class118)) || _class117);
69145
- let FormulaInstanceCountExpression = (_dec138 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("instancecount", `TODO`), _dec139 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("select", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec138(_class119 = (_class120 = class FormulaInstanceCountExpression extends FormulaExpression {
69081
+ }), _class122)) || _class121);
69082
+ let FormulaInstanceCountExpression = (_dec142 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("instancecount", `TODO`), _dec143 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("select", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec142(_class123 = (_class124 = class FormulaInstanceCountExpression extends FormulaExpression {
69146
69083
  constructor(...args) {
69147
69084
  super(...args);
69148
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select", _descriptor78, this);
69085
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select", _descriptor80, this);
69149
69086
  }
69150
- }, _descriptor78 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class120.prototype, "select", [_dec139], {
69087
+ }, _descriptor80 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class124.prototype, "select", [_dec143], {
69151
69088
  configurable: true,
69152
69089
  enumerable: true,
69153
69090
  writable: true,
69154
69091
  initializer: null
69155
- }), _class120)) || _class119);
69156
- let FormulaIsEqualToAutoCalculatedExpression = (_dec140 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("isequaltoautocalculated", `TODO`), _dec141 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("select", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec142 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("type", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.enum("decimal", "string"), ``), _dec140(_class121 = (_class122 = class FormulaIsEqualToAutoCalculatedExpression extends FormulaExpression {
69092
+ }), _class124)) || _class123);
69093
+ let FormulaIsEqualToAutoCalculatedExpression = (_dec144 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("isequaltoautocalculated", `TODO`), _dec145 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("select", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec146 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("type", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.enum("decimal", "string"), ``), _dec144(_class125 = (_class126 = class FormulaIsEqualToAutoCalculatedExpression extends FormulaExpression {
69157
69094
  constructor(...args) {
69158
69095
  super(...args);
69159
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select", _descriptor79, this);
69160
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "type", _descriptor80, this);
69096
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "select", _descriptor81, this);
69097
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "type", _descriptor82, this);
69161
69098
  }
69162
- }, _descriptor79 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class122.prototype, "select", [_dec141], {
69099
+ }, _descriptor81 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class126.prototype, "select", [_dec145], {
69163
69100
  configurable: true,
69164
69101
  enumerable: true,
69165
69102
  writable: true,
69166
69103
  initializer: null
69167
- }), _descriptor80 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class122.prototype, "type", [_dec142], {
69104
+ }), _descriptor82 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class126.prototype, "type", [_dec146], {
69168
69105
  configurable: true,
69169
69106
  enumerable: true,
69170
69107
  writable: true,
69171
69108
  initializer: null
69172
- }), _class122)) || _class121);
69173
- let FormulaJoinExpression = (_dec143 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("join", `TODO`), _dec144 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec143(_class123 = (_class124 = class FormulaJoinExpression extends FormulaExpression {
69109
+ }), _class126)) || _class125);
69110
+ let FormulaJoinExpression = (_dec147 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("join", `TODO`), _dec148 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec147(_class127 = (_class128 = class FormulaJoinExpression extends FormulaExpression {
69174
69111
  constructor(...args) {
69175
69112
  super(...args);
69176
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "array", _descriptor81, this);
69113
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "array", _descriptor83, this);
69177
69114
  }
69178
- }, _descriptor81 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class124.prototype, "array", [_dec144], {
69115
+ }, _descriptor83 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class128.prototype, "array", [_dec148], {
69179
69116
  configurable: true,
69180
69117
  enumerable: true,
69181
69118
  writable: true,
69182
69119
  initializer: null
69183
- }), _class124)) || _class123);
69184
- let FormulaPropertyByNameExpression = (_dec145 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("property", `TODO`), _dec146 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("name", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec145(_class125 = (_class126 = class FormulaPropertyByNameExpression extends FormulaExpression {
69120
+ }), _class128)) || _class127);
69121
+ let FormulaPropertyByNameExpression = (_dec149 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("property", `TODO`), _dec150 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("name", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec149(_class129 = (_class130 = class FormulaPropertyByNameExpression extends FormulaExpression {
69185
69122
  constructor(...args) {
69186
69123
  super(...args);
69187
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "name", _descriptor82, this);
69124
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "name", _descriptor84, this);
69188
69125
  }
69189
- }, _descriptor82 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class126.prototype, "name", [_dec146], {
69126
+ }, _descriptor84 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class130.prototype, "name", [_dec150], {
69190
69127
  configurable: true,
69191
69128
  enumerable: true,
69192
69129
  writable: true,
69193
69130
  initializer: null
69194
- }), _class126)) || _class125);
69195
- let FormulaConcatExpression = (_dec147 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("concat", `Конкатенация строк`), _dec148 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec147(_class127 = (_class128 = class FormulaConcatExpression extends FormulaExpression {
69131
+ }), _class130)) || _class129);
69132
+ let FormulaConcatExpression = (_dec151 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("concat", `Конкатенация строк`), _dec152 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec151(_class131 = (_class132 = class FormulaConcatExpression extends FormulaExpression {
69196
69133
  constructor(...args) {
69197
69134
  super(...args);
69198
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments", _descriptor83, this);
69135
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "arguments", _descriptor85, this);
69199
69136
  }
69200
- }, _descriptor83 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class128.prototype, "arguments", [_dec148], {
69137
+ }, _descriptor85 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class132.prototype, "arguments", [_dec152], {
69201
69138
  configurable: true,
69202
69139
  enumerable: true,
69203
69140
  writable: true,
69204
69141
  initializer: null
69205
- }), _class128)) || _class127);
69206
- let FormulaNewLineExpression = (_dec149 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("newline", `Перевод на новую строку`), _dec149(_class129 = class FormulaNewLineExpression extends FormulaExpression {}) || _class129);
69207
- let Formula = (_dec150 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("formula", `TODO`), _dec151 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("match", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec152 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("target", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec153 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec150(_class130 = (_class131 = class Formula extends _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.SugarNodeBase {
69142
+ }), _class132)) || _class131);
69143
+ let FormulaNewLineExpression = (_dec153 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("newline", `Перевод на новую строку`), _dec153(_class133 = class FormulaNewLineExpression extends FormulaExpression {}) || _class133);
69144
+ let Formula = (_dec154 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("formula", `TODO`), _dec155 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("match", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec156 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("target", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec157 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec154(_class134 = (_class135 = class Formula extends _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.SugarNodeBase {
69208
69145
  constructor(...args) {
69209
69146
  super(...args);
69210
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "match", _descriptor84, this);
69211
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "target", _descriptor85, this);
69212
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor86, this);
69147
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "match", _descriptor86, this);
69148
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "target", _descriptor87, this);
69149
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor88, this);
69213
69150
  }
69214
- }, _descriptor84 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class131.prototype, "match", [_dec151], {
69151
+ }, _descriptor86 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class135.prototype, "match", [_dec155], {
69215
69152
  configurable: true,
69216
69153
  enumerable: true,
69217
69154
  writable: true,
69218
69155
  initializer: null
69219
- }), _descriptor85 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class131.prototype, "target", [_dec152], {
69156
+ }), _descriptor87 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class135.prototype, "target", [_dec156], {
69220
69157
  configurable: true,
69221
69158
  enumerable: true,
69222
69159
  writable: true,
69223
69160
  initializer: null
69224
- }), _descriptor86 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class131.prototype, "expression", [_dec153], {
69161
+ }), _descriptor88 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class135.prototype, "expression", [_dec157], {
69225
69162
  configurable: true,
69226
69163
  enumerable: true,
69227
69164
  writable: true,
69228
69165
  initializer: null
69229
- }), _class131)) || _class130);
69230
- let FormulaNoDepsNode = (_dec154 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("nodeps", `Замыкает цикл пробега по зависимостям на элементе, что исключает бесконечную зацикленность. Только для серверной нормализации`), _dec155 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec154(_class132 = (_class133 = class FormulaNoDepsNode extends _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.SugarNodeBase {
69166
+ }), _class135)) || _class134);
69167
+ let FormulaNoDepsNode = (_dec158 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("nodeps", `Замыкает цикл пробега по зависимостям на элементе, что исключает бесконечную зацикленность. Только для серверной нормализации`), _dec159 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec158(_class136 = (_class137 = class FormulaNoDepsNode extends _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.SugarNodeBase {
69231
69168
  constructor(...args) {
69232
69169
  super(...args);
69233
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor87, this);
69170
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor89, this);
69234
69171
  }
69235
- }, _descriptor87 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class133.prototype, "expression", [_dec155], {
69172
+ }, _descriptor89 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class137.prototype, "expression", [_dec159], {
69236
69173
  configurable: true,
69237
69174
  enumerable: true,
69238
69175
  writable: true,
69239
69176
  initializer: null
69240
- }), _class133)) || _class132);
69241
- let Formulas = (_dec156 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("formulas", `TODO`), _dec157 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)("formula", [Formula]), _dec156(_class134 = (_class135 = class Formulas extends _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.SugarNodeBase {
69177
+ }), _class137)) || _class136);
69178
+ let Formulas = (_dec160 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("formulas", `TODO`), _dec161 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)("formula", [Formula]), _dec160(_class138 = (_class139 = class Formulas extends _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.SugarNodeBase {
69242
69179
  constructor(...args) {
69243
69180
  super(...args);
69244
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "items", _descriptor88, this);
69181
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "items", _descriptor90, this);
69245
69182
  }
69246
- }, _descriptor88 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class135.prototype, "items", [_dec157], {
69183
+ }, _descriptor90 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class139.prototype, "items", [_dec161], {
69247
69184
  configurable: true,
69248
69185
  enumerable: true,
69249
69186
  writable: true,
69250
69187
  initializer: null
69251
- }), _class135)) || _class134);
69252
- let ConditionNode = (_dec158 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("condition", `TODO`), _dec159 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("match", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec160 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("target", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec161 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("description", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec162 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("errorLevel", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.enum("Error", "Warning"), `Уровень ошибки может быть Error или Warning - параметр влияет на подсветку. Красную или Оранжевую соотвественно`), _dec163 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec158(_class136 = (_class137 = class ConditionNode extends _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.SugarNodeBase {
69188
+ }), _class139)) || _class138);
69189
+ let ConditionNode = (_dec162 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("condition", `TODO`), _dec163 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("match", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec164 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("target", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec165 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("description", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, ``), _dec166 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("errorLevel", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.enum("Error", "Warning"), `Уровень ошибки может быть Error или Warning - параметр влияет на подсветку. Красную или Оранжевую соотвественно`), _dec167 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec162(_class140 = (_class141 = class ConditionNode extends _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.SugarNodeBase {
69253
69190
  constructor(...args) {
69254
69191
  super(...args);
69255
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "match", _descriptor89, this);
69256
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "target", _descriptor90, this);
69257
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "description", _descriptor91, this);
69258
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "errorLevel", _descriptor92, this);
69259
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor93, this);
69192
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "match", _descriptor91, this);
69193
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "target", _descriptor92, this);
69194
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "description", _descriptor93, this);
69195
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "errorLevel", _descriptor94, this);
69196
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor95, this);
69260
69197
  }
69261
- }, _descriptor89 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class137.prototype, "match", [_dec159], {
69198
+ }, _descriptor91 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class141.prototype, "match", [_dec163], {
69262
69199
  configurable: true,
69263
69200
  enumerable: true,
69264
69201
  writable: true,
69265
69202
  initializer: null
69266
- }), _descriptor90 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class137.prototype, "target", [_dec160], {
69203
+ }), _descriptor92 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class141.prototype, "target", [_dec164], {
69267
69204
  configurable: true,
69268
69205
  enumerable: true,
69269
69206
  writable: true,
69270
69207
  initializer: null
69271
- }), _descriptor91 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class137.prototype, "description", [_dec161], {
69208
+ }), _descriptor93 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class141.prototype, "description", [_dec165], {
69272
69209
  configurable: true,
69273
69210
  enumerable: true,
69274
69211
  writable: true,
69275
69212
  initializer: null
69276
- }), _descriptor92 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class137.prototype, "errorLevel", [_dec162], {
69213
+ }), _descriptor94 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class141.prototype, "errorLevel", [_dec166], {
69277
69214
  configurable: true,
69278
69215
  enumerable: true,
69279
69216
  writable: true,
69280
69217
  initializer: null
69281
- }), _descriptor93 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class137.prototype, "expression", [_dec163], {
69218
+ }), _descriptor95 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class141.prototype, "expression", [_dec167], {
69282
69219
  configurable: true,
69283
69220
  enumerable: true,
69284
69221
  writable: true,
69285
69222
  initializer: null
69286
- }), _class137)) || _class136);
69287
- let ConditionsNode = (_dec164 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("conditions", `TODO`), _dec165 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)("condition", [ConditionNode]), _dec164(_class138 = (_class139 = class ConditionsNode extends _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.SugarNodeBase {
69223
+ }), _class141)) || _class140);
69224
+ let ConditionsNode = (_dec168 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("conditions", `TODO`), _dec169 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)("condition", [ConditionNode]), _dec168(_class142 = (_class143 = class ConditionsNode extends _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.SugarNodeBase {
69288
69225
  constructor(...args) {
69289
69226
  super(...args);
69290
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "items", _descriptor94, this);
69227
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "items", _descriptor96, this);
69291
69228
  }
69292
- }, _descriptor94 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class139.prototype, "items", [_dec165], {
69229
+ }, _descriptor96 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class143.prototype, "items", [_dec169], {
69293
69230
  configurable: true,
69294
69231
  enumerable: true,
69295
69232
  writable: true,
69296
69233
  initializer: null
69297
- }), _class139)) || _class138);
69298
- let MathContainer = (_dec166 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("math", `TODO`), _dec167 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("formulas", [Formulas]), _dec168 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("conditions", [ConditionsNode]), _dec166(_class140 = (_class141 = class MathContainer extends _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.SugarNodeBase {
69234
+ }), _class143)) || _class142);
69235
+ let MathContainer = (_dec170 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("math", `TODO`), _dec171 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("formulas", [Formulas]), _dec172 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("conditions", [ConditionsNode]), _dec170(_class144 = (_class145 = class MathContainer extends _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.SugarNodeBase {
69299
69236
  constructor(...args) {
69300
69237
  super(...args);
69301
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "formulas", _descriptor95, this);
69302
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "conditions", _descriptor96, this);
69238
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "formulas", _descriptor97, this);
69239
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "conditions", _descriptor98, this);
69303
69240
  }
69304
- }, _descriptor95 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class141.prototype, "formulas", [_dec167], {
69241
+ }, _descriptor97 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class145.prototype, "formulas", [_dec171], {
69305
69242
  configurable: true,
69306
69243
  enumerable: true,
69307
69244
  writable: true,
69308
69245
  initializer: null
69309
- }), _descriptor96 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class141.prototype, "conditions", [_dec168], {
69246
+ }), _descriptor98 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class145.prototype, "conditions", [_dec172], {
69310
69247
  configurable: true,
69311
69248
  enumerable: true,
69312
69249
  writable: true,
69313
69250
  initializer: null
69314
- }), _class141)) || _class140);
69315
- let FormulaMakeDictExpression = (_dec169 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("makedict", `Получение словаря по ключу-значению из иннера`), _dec170 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("sourceKeyPath", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, `Путь откуда брать ключ`), _dec171 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(undefined, [FormulaArgumentExpression, FormulaConstExpression, FormulaCastExpression], `Путь откуда брать значение или константа`), _dec169(_class142 = (_class143 = class FormulaMakeDictExpression extends FormulaExpression {
69251
+ }), _class145)) || _class144);
69252
+ let FormulaMakeDictExpression = (_dec173 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("makedict", `Получение словаря по ключу-значению из иннера`), _dec174 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("sourceKeyPath", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, `Путь откуда брать ключ`), _dec175 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(undefined, [FormulaArgumentExpression, FormulaConstExpression, FormulaCastExpression], `Путь откуда брать значение или константа`), _dec173(_class146 = (_class147 = class FormulaMakeDictExpression extends FormulaExpression {
69316
69253
  constructor(...args) {
69317
69254
  super(...args);
69318
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "sourceKeyPath", _descriptor97, this);
69319
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "sourceValueExpression", _descriptor98, this);
69255
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "sourceKeyPath", _descriptor99, this);
69256
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "sourceValueExpression", _descriptor100, this);
69320
69257
  }
69321
- }, _descriptor97 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class143.prototype, "sourceKeyPath", [_dec170], {
69258
+ }, _descriptor99 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class147.prototype, "sourceKeyPath", [_dec174], {
69322
69259
  configurable: true,
69323
69260
  enumerable: true,
69324
69261
  writable: true,
69325
69262
  initializer: null
69326
- }), _descriptor98 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class143.prototype, "sourceValueExpression", [_dec171], {
69263
+ }), _descriptor100 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class147.prototype, "sourceValueExpression", [_dec175], {
69327
69264
  configurable: true,
69328
69265
  enumerable: true,
69329
69266
  writable: true,
69330
69267
  initializer: null
69331
- }), _class143)) || _class142);
69332
- let FormulaGetSumByKeysExpression = (_dec172 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("getsumbykeys", `Вычисление суммы с группировкой в разных множественностях`), _dec173 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("dictPath", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, `Путь к словарю`), _dec174 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("array", [FormulaArrayExpression]), _dec172(_class144 = (_class145 = class FormulaGetSumByKeysExpression extends FormulaExpression {
69268
+ }), _class147)) || _class146);
69269
+ let FormulaGetSumByKeysExpression = (_dec176 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("getsumbykeys", `Вычисление суммы с группировкой в разных множественностях`), _dec177 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("dictPath", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, `Путь к словарю`), _dec178 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("array", [FormulaArrayExpression]), _dec176(_class148 = (_class149 = class FormulaGetSumByKeysExpression extends FormulaExpression {
69333
69270
  constructor(...args) {
69334
69271
  super(...args);
69335
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dictPath", _descriptor99, this);
69336
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "targetKeys", _descriptor100, this);
69272
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dictPath", _descriptor101, this);
69273
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "targetKeys", _descriptor102, this);
69337
69274
  }
69338
- }, _descriptor99 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class145.prototype, "dictPath", [_dec173], {
69275
+ }, _descriptor101 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class149.prototype, "dictPath", [_dec177], {
69339
69276
  configurable: true,
69340
69277
  enumerable: true,
69341
69278
  writable: true,
69342
69279
  initializer: null
69343
- }), _descriptor100 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class145.prototype, "targetKeys", [_dec174], {
69280
+ }), _descriptor102 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class149.prototype, "targetKeys", [_dec178], {
69344
69281
  configurable: true,
69345
69282
  enumerable: true,
69346
69283
  writable: true,
69347
69284
  initializer: null
69348
- }), _class145)) || _class144);
69349
- let FormulaGroupSumExpression = (_dec175 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("groupsum", `Вычисление суммы с группировкой в разных множественностях`), _dec176 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("array", [FormulaArrayExpression]), _dec177 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("sourceKeyPath", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, `Путь откуда брать ключ группы в суммируемой множественности`), _dec178 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("sourceValuePath", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, `Путь в суммируемой множественности откуда берем значение для свёртки`), _dec175(_class146 = (_class147 = class FormulaGroupSumExpression extends FormulaExpression {
69285
+ }), _class149)) || _class148);
69286
+ let FormulaGroupSumExpression = (_dec179 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("groupsum", `Вычисление суммы с группировкой в разных множественностях`), _dec180 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("array", [FormulaArrayExpression]), _dec181 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("sourceKeyPath", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, `Путь откуда брать ключ группы в суммируемой множественности`), _dec182 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("sourceValuePath", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, `Путь в суммируемой множественности откуда берем значение для свёртки`), _dec179(_class150 = (_class151 = class FormulaGroupSumExpression extends FormulaExpression {
69350
69287
  constructor(...args) {
69351
69288
  super(...args);
69352
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "targetKeys", _descriptor101, this);
69353
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "sourceKeyPath", _descriptor102, this);
69354
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "sourceValuePath", _descriptor103, this);
69289
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "targetKeys", _descriptor103, this);
69290
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "sourceKeyPath", _descriptor104, this);
69291
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "sourceValuePath", _descriptor105, this);
69355
69292
  }
69356
- }, _descriptor101 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class147.prototype, "targetKeys", [_dec176], {
69293
+ }, _descriptor103 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class151.prototype, "targetKeys", [_dec180], {
69357
69294
  configurable: true,
69358
69295
  enumerable: true,
69359
69296
  writable: true,
69360
69297
  initializer: null
69361
- }), _descriptor102 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class147.prototype, "sourceKeyPath", [_dec177], {
69298
+ }), _descriptor104 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class151.prototype, "sourceKeyPath", [_dec181], {
69362
69299
  configurable: true,
69363
69300
  enumerable: true,
69364
69301
  writable: true,
69365
69302
  initializer: null
69366
- }), _descriptor103 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class147.prototype, "sourceValuePath", [_dec178], {
69303
+ }), _descriptor105 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class151.prototype, "sourceValuePath", [_dec182], {
69367
69304
  configurable: true,
69368
69305
  enumerable: true,
69369
69306
  writable: true,
69370
69307
  initializer: null
69371
- }), _class147)) || _class146);
69372
- let FormulaGroupCountExpression = (_dec179 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("groupcount", `Вычисление количества элементов по группам в разных множественностях`), _dec180 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("array", [FormulaArrayExpression]), _dec181 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("sourceKeyPath", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, `Путь откуда брать ключ группы в суммируемой множественности`), _dec179(_class148 = (_class149 = class FormulaGroupCountExpression extends FormulaExpression {
69308
+ }), _class151)) || _class150);
69309
+ let FormulaGroupCountExpression = (_dec183 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("groupcount", `Вычисление количества элементов по группам в разных множественностях`), _dec184 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("array", [FormulaArrayExpression]), _dec185 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("sourceKeyPath", _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, `Путь откуда брать ключ группы в суммируемой множественности`), _dec183(_class152 = (_class153 = class FormulaGroupCountExpression extends FormulaExpression {
69373
69310
  constructor(...args) {
69374
69311
  super(...args);
69375
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "targetKeys", _descriptor104, this);
69376
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "sourceKeyPath", _descriptor105, this);
69312
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "targetKeys", _descriptor106, this);
69313
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "sourceKeyPath", _descriptor107, this);
69377
69314
  }
69378
- }, _descriptor104 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class149.prototype, "targetKeys", [_dec180], {
69315
+ }, _descriptor106 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class153.prototype, "targetKeys", [_dec184], {
69379
69316
  configurable: true,
69380
69317
  enumerable: true,
69381
69318
  writable: true,
69382
69319
  initializer: null
69383
- }), _descriptor105 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class149.prototype, "sourceKeyPath", [_dec181], {
69320
+ }), _descriptor107 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class153.prototype, "sourceKeyPath", [_dec185], {
69384
69321
  configurable: true,
69385
69322
  enumerable: true,
69386
69323
  writable: true,
69387
69324
  initializer: null
69388
- }), _class149)) || _class148);
69325
+ }), _class153)) || _class152);
69389
69326
  const formulaExpressions = [FormulaSumExpression, FormulaArgumentExpression, FormulaConstExpression, FormulaMultySumExpression, FormulaRoundExpression, FormulaFloorExpression, FormulaAbsExpression, FormulaDivisionExpression, FormulaMinusExpression, FormulaMultiplyExpression, FormulaChooseExpression, FormulaEqExpression, FormulaGtExpression, FormulaLtExpression, FormulaGeExpression, FormulaLeExpression, FormulaAndExpression, FormulaOrExpression, FormulaNotExpression, FormulaRegexMatchExpression, FormulaSubstringExpression, FormulaXAbsExpression, FormulaExistsExpression, FormulaLengthExpression, FormulaWhenExpression, FormulaCountExpression, FormulaInstanceCountExpression, FormulaIsEqualToAutoCalculatedExpression, FormulaDateNowExpression, FormulaGetDaysInMonthExpression, FormulaGetDayExpression, FormulaGetMonthExpression, FormulaGetYearExpression, FormulaIsDateExpression, FormulaDifferenceInMonthsExpression, FormulaDifferenceInDaysExpression, FormulaAddDaysExpression, FormulaAddMonthsExpression, FormulaAddYearsExpression, FormulaDateToStringExpression, FormulaDateTimeExpression, FormulaSumOfDayWeightsExpression, FormulaIsSnilsExpression, FormulaIsRegNumSfrExpression, FormulaIsInnExpression, FormulaIsOgrnExpression, FormulaIsValidAccountNumberExpression, FormulaIsValidMirCardNumberExpression, FormulaCastExpression, FormulaConcatExpression, FormulaGroupSumExpression, FormulaGroupCountExpression, FormulaNewLineExpression, FormulaOneOfExpression, FormulaGetPicklistValuesExpression, FormulaArrayExpression, FormulaFirstOrDefaultExpression, FormulaHashSetExpression, FormulaFilterColumnExpression, FormulaFilterKeyExpression, FormulaNoDepsNode, FormulaHasAutoFlagExpression, FormulaMakeDictExpression, FormulaGetSumByKeysExpression, FormulaJoinExpression, FormulaPropertyByNameExpression];
69390
69327
 
69391
69328
  /***/ }),
@@ -71806,36 +71743,29 @@ class KCXmlGeneratorBase {
71806
71743
  return gcf(x => x.exists, `"${modelPath.toLegacyPath()}"`);
71807
71744
  }
71808
71745
  if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_1__.FormulaIsSnilsExpression) {
71809
- const modelPath = (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_7__.adjustPathMultiplicity)(this.schema, this.extendedSchemaInfo, prefix.joinWith((0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.createFromMask)(this.removeAttributePrefix(this.removeMultiplicity(expression.select)), "auto", _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.PathTokens.each)).normalize());
71810
- deps.push(new RegularDependency(modelPath));
71811
- return gcf(x => x.isSnils, `"${modelPath.toLegacyPath()}"`);
71746
+ const value = this.compileExpression(prefix, targetFullPath, expression.expression, deps);
71747
+ return gcf(x => x.isSnils, value);
71812
71748
  }
71813
71749
  if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_1__.FormulaIsRegNumSfrExpression) {
71814
- const modelPath = (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_7__.adjustPathMultiplicity)(this.schema, this.extendedSchemaInfo, prefix.joinWith((0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.createFromMask)(this.removeAttributePrefix(this.removeMultiplicity(expression.select)), "auto", _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.PathTokens.each)).normalize());
71815
- deps.push(new RegularDependency(modelPath));
71816
- return gcf(x => x.isRegNumSfr, `"${modelPath.toLegacyPath()}"`);
71750
+ const value = this.compileExpression(prefix, targetFullPath, expression.expression, deps);
71751
+ return gcf(x => x.isRegNumSfr, value);
71817
71752
  }
71818
71753
  if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_1__.FormulaIsInnExpression) {
71819
- const modelPath = (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_7__.adjustPathMultiplicity)(this.schema, this.extendedSchemaInfo, prefix.joinWith((0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.createFromMask)(this.removeAttributePrefix(this.removeMultiplicity(expression.select)), "auto", _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.PathTokens.each)).normalize());
71820
- deps.push(new RegularDependency(modelPath));
71821
- return gcf(x => x.isInn, `"${modelPath.toLegacyPath()}"`);
71754
+ const value = this.compileExpression(prefix, targetFullPath, expression.expression, deps);
71755
+ return gcf(x => x.isInn, value);
71822
71756
  }
71823
71757
  if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_1__.FormulaIsOgrnExpression) {
71824
- const modelPath = (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_7__.adjustPathMultiplicity)(this.schema, this.extendedSchemaInfo, prefix.joinWith((0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.createFromMask)(this.removeAttributePrefix(this.removeMultiplicity(expression.select)), "auto", _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.PathTokens.each)).normalize());
71825
- deps.push(new RegularDependency(modelPath));
71826
- return gcf(x => x.isOgrn, `"${modelPath.toLegacyPath()}"`);
71758
+ const value = this.compileExpression(prefix, targetFullPath, expression.expression, deps);
71759
+ return gcf(x => x.isOgrn, value);
71827
71760
  }
71828
71761
  if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_1__.FormulaIsValidMirCardNumberExpression) {
71829
- const modelPath = (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_7__.adjustPathMultiplicity)(this.schema, this.extendedSchemaInfo, prefix.joinWith((0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.createFromMask)(this.removeAttributePrefix(this.removeMultiplicity(expression.select)), "auto", _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.PathTokens.each)).normalize());
71830
- deps.push(new RegularDependency(modelPath));
71831
- return gcf(x => x.isValidMirCardNumber, `"${modelPath.toLegacyPath()}"`);
71762
+ const value = this.compileExpression(prefix, targetFullPath, expression.expression, deps);
71763
+ return gcf(x => x.isValidMirCardNumber, value);
71832
71764
  }
71833
71765
  if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_1__.FormulaIsValidAccountNumberExpression) {
71834
- const bikPath = (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_7__.adjustPathMultiplicity)(this.schema, this.extendedSchemaInfo, prefix.joinWith((0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.createFromMask)(this.removeAttributePrefix(this.removeMultiplicity(expression.bik)), "auto", _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.PathTokens.each)).normalize());
71835
- const accountPath = (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_7__.adjustPathMultiplicity)(this.schema, this.extendedSchemaInfo, prefix.joinWith((0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.createFromMask)(this.removeAttributePrefix(this.removeMultiplicity(expression.account)), "auto", _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.PathTokens.each)).normalize());
71836
- deps.push(new RegularDependency(bikPath));
71837
- deps.push(new RegularDependency(accountPath));
71838
- return gcf(x => x.isValidAccountNumber, `"${bikPath.toLegacyPath()}"`, `"${accountPath.toLegacyPath()}"`);
71766
+ const bikValue = this.compileExpression(prefix, targetFullPath, expression.bik.bik, deps);
71767
+ const accountValue = this.compileExpression(prefix, targetFullPath, expression.account.account, deps);
71768
+ return gcf(x => x.isValidAccountNumber, bikValue, accountValue);
71839
71769
  }
71840
71770
  if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_1__.FormulaCountExpression) {
71841
71771
  var _expression$withNullO;
@@ -72445,52 +72375,54 @@ __webpack_require__.r(__webpack_exports__);
72445
72375
  /* harmony import */ var _common_XmlParser_XmlParser__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../common/XmlParser/XmlParser */ "./Generator/src/common/XmlParser/XmlParser.ts");
72446
72376
  /* harmony import */ var _common_KCLang_KCLangToXmlTranspiler__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../common/KCLang/KCLangToXmlTranspiler */ "./Generator/src/common/KCLang/KCLangToXmlTranspiler.ts");
72447
72377
  /* harmony import */ var _Common_SerializationUtils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../Common/SerializationUtils */ "./Common/SerializationUtils.ts");
72448
- /* harmony import */ var _localization_localization__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./localization/localization */ "./Generator/src/generators/localization/localization.ts");
72449
- /* harmony import */ var _markupGenerator_controlCustomization_ControlCustomizationContextBuilder__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./markupGenerator/controlCustomization/ControlCustomizationContextBuilder */ "./Generator/src/generators/markupGenerator/controlCustomization/ControlCustomizationContextBuilder.ts");
72450
- /* harmony import */ var _markupGenerator_getSettings__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./markupGenerator/getSettings */ "./Generator/src/generators/markupGenerator/getSettings.ts");
72451
- /* harmony import */ var _markupGenerator_IFarmFileSystem__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./markupGenerator/IFarmFileSystem */ "./Generator/src/generators/markupGenerator/IFarmFileSystem.ts");
72452
- /* harmony import */ var _markupGenerator_ElementProcessors_FormParts_Form_FormNode__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./markupGenerator/ElementProcessors/FormParts/Form/FormNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/FormNode.ts");
72453
- /* harmony import */ var _markupGenerator_MarkupGenerator__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./markupGenerator/MarkupGenerator */ "./Generator/src/generators/markupGenerator/MarkupGenerator.ts");
72454
- /* harmony import */ var _markupGenerator_SugarNodes_DefaultSugarSerializer__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./markupGenerator/SugarNodes/DefaultSugarSerializer */ "./Generator/src/generators/markupGenerator/SugarNodes/DefaultSugarSerializer.ts");
72455
- /* harmony import */ var _markupGenerator_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./markupGenerator/SugarNodes/SugarNodeUtils */ "./Generator/src/generators/markupGenerator/SugarNodes/SugarNodeUtils.ts");
72456
- /* harmony import */ var _validationGenerator_TypesRegistry__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./validationGenerator/TypesRegistry */ "./Generator/src/generators/validationGenerator/TypesRegistry.ts");
72457
- /* harmony import */ var _validationGenerator_ValidationGenerator__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./validationGenerator/ValidationGenerator */ "./Generator/src/generators/validationGenerator/ValidationGenerator.ts");
72458
- /* harmony import */ var _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_FormulaReader__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./AutoCalculationsGenerator/AutoCalculationsFromFormulas/KCXmlContract/FormulaReader */ "./Generator/src/generators/AutoCalculationsGenerator/AutoCalculationsFromFormulas/KCXmlContract/FormulaReader.ts");
72459
- /* harmony import */ var _AutoCalculationsGenerator_AutoCalculationsGenerator__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./AutoCalculationsGenerator/AutoCalculationsGenerator */ "./Generator/src/generators/AutoCalculationsGenerator/AutoCalculationsGenerator.ts");
72460
- /* harmony import */ var _DataDeclarationGenerator_DataDeclarationGenerator__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./DataDeclarationGenerator/DataDeclarationGenerator */ "./Generator/src/generators/DataDeclarationGenerator/DataDeclarationGenerator.ts");
72461
- /* harmony import */ var _DataDeclarationGenerator_DataDeclarationInitSourceSequenceFactory__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./DataDeclarationGenerator/DataDeclarationInitSourceSequenceFactory */ "./Generator/src/generators/DataDeclarationGenerator/DataDeclarationInitSourceSequenceFactory.ts");
72462
- /* harmony import */ var _FormSourcesBuilder_FormSourcesBuilder__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./FormSourcesBuilder/FormSourcesBuilder */ "./Generator/src/generators/FormSourcesBuilder/FormSourcesBuilder.ts");
72463
- /* harmony import */ var _HelperFunctionsGenerator_HelperFunctionsGenerator__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./HelperFunctionsGenerator/HelperFunctionsGenerator */ "./Generator/src/generators/HelperFunctionsGenerator/HelperFunctionsGenerator.ts");
72464
- /* harmony import */ var _KCXmlValidationGenerator_KCXmlValidationGenerator__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./KCXmlValidationGenerator/KCXmlValidationGenerator */ "./Generator/src/generators/KCXmlValidationGenerator/KCXmlValidationGenerator.ts");
72465
- /* harmony import */ var _RequisiteLIst_requisiteList__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./RequisiteLIst/requisiteList */ "./Generator/src/generators/RequisiteLIst/requisiteList.ts");
72466
- /* harmony import */ var _ServerSideFLangNormalization_Normalizers_NormalizationRulesGenerator__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./ServerSideFLangNormalization/Normalizers/NormalizationRulesGenerator */ "./Generator/src/generators/ServerSideFLangNormalization/Normalizers/NormalizationRulesGenerator.ts");
72467
- /* harmony import */ var _DataDeclarationGenerator_DataDeclarationGenerationTimeHelper__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./DataDeclarationGenerator/DataDeclarationGenerationTimeHelper */ "./Generator/src/generators/DataDeclarationGenerator/DataDeclarationGenerationTimeHelper.ts");
72468
- /* harmony import */ var _AttachmentPaths_AttachmentPathsGenerator__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./AttachmentPaths/AttachmentPathsGenerator */ "./Generator/src/generators/AttachmentPaths/AttachmentPathsGenerator.ts");
72469
- /* harmony import */ var _AutoCalculationsGenerator_AutoCalculationsFromFormulas_Calculator2_AutoCalculationsCalculator2Generator__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./AutoCalculationsGenerator/AutoCalculationsFromFormulas/Calculator2/AutoCalculationsCalculator2Generator */ "./Generator/src/generators/AutoCalculationsGenerator/AutoCalculationsFromFormulas/Calculator2/AutoCalculationsCalculator2Generator.ts");
72470
- /* harmony import */ var _LazyLoadDeclarationGenerator_LazyLoadDeclarationGenerator__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./LazyLoadDeclarationGenerator/LazyLoadDeclarationGenerator */ "./Generator/src/generators/LazyLoadDeclarationGenerator/LazyLoadDeclarationGenerator.ts");
72471
- /* harmony import */ var _ServerSideFLangNormalization_Normalizers_FormulaOnlyNormalizationRuleGenerator__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./ServerSideFLangNormalization/Normalizers/FormulaOnlyNormalizationRuleGenerator */ "./Generator/src/generators/ServerSideFLangNormalization/Normalizers/FormulaOnlyNormalizationRuleGenerator.ts");
72472
- /* harmony import */ var _HelperFunctionsGenerator_CommonHelperFunctionsGenerator__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./HelperFunctionsGenerator/CommonHelperFunctionsGenerator */ "./Generator/src/generators/HelperFunctionsGenerator/CommonHelperFunctionsGenerator.ts");
72473
- /* harmony import */ var _ServerSideFLangNormalization_AdditionalNormalizerFile__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./ServerSideFLangNormalization/AdditionalNormalizerFile */ "./Generator/src/generators/ServerSideFLangNormalization/AdditionalNormalizerFile.ts");
72474
- /* harmony import */ var _ServerSideFLangNormalization_RuleBuilders_OptionalSectionRulesBuilder__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./ServerSideFLangNormalization/RuleBuilders/OptionalSectionRulesBuilder */ "./Generator/src/generators/ServerSideFLangNormalization/RuleBuilders/OptionalSectionRulesBuilder.ts");
72475
- /* harmony import */ var _ServerSideFLangNormalization_FormulaExpressionToFlangExpressionConverter__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./ServerSideFLangNormalization/FormulaExpressionToFlangExpressionConverter */ "./Generator/src/generators/ServerSideFLangNormalization/FormulaExpressionToFlangExpressionConverter.ts");
72476
- /* harmony import */ var _DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./DataSchema/DataSchemaUtils */ "./Generator/src/generators/DataSchema/DataSchemaUtils.ts");
72477
- /* harmony import */ var _ServerSideFLangNormalization_RuleBuilders_FormulaRulesBuilder__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./ServerSideFLangNormalization/RuleBuilders/FormulaRulesBuilder */ "./Generator/src/generators/ServerSideFLangNormalization/RuleBuilders/FormulaRulesBuilder.ts");
72478
- /* harmony import */ var _ServerSideFLangNormalization_RuleBuilders_InitializationRulesBuilder__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./ServerSideFLangNormalization/RuleBuilders/InitializationRulesBuilder */ "./Generator/src/generators/ServerSideFLangNormalization/RuleBuilders/InitializationRulesBuilder.ts");
72479
- /* harmony import */ var _ServerSideFLangNormalization_RuleBuilders_LazyLoadingRulesBuilder__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./ServerSideFLangNormalization/RuleBuilders/LazyLoadingRulesBuilder */ "./Generator/src/generators/ServerSideFLangNormalization/RuleBuilders/LazyLoadingRulesBuilder.ts");
72480
- /* harmony import */ var _ServerSideFLangNormalization_RuleBuilders_SugarRulesBuilder__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./ServerSideFLangNormalization/RuleBuilders/SugarRulesBuilder */ "./Generator/src/generators/ServerSideFLangNormalization/RuleBuilders/SugarRulesBuilder.ts");
72481
- /* harmony import */ var _ServerSideFLangNormalization_RuleBuilders_ValidationRulesBuilder__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./ServerSideFLangNormalization/RuleBuilders/ValidationRulesBuilder */ "./Generator/src/generators/ServerSideFLangNormalization/RuleBuilders/ValidationRulesBuilder.ts");
72482
- /* harmony import */ var _ServerSideFLangNormalization_Normalizers_FormulaAndInitOnlyNormalizationRuleGenerator__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./ServerSideFLangNormalization/Normalizers/FormulaAndInitOnlyNormalizationRuleGenerator */ "./Generator/src/generators/ServerSideFLangNormalization/Normalizers/FormulaAndInitOnlyNormalizationRuleGenerator.ts");
72483
- /* harmony import */ var _ServerSideFLangNormalization_CustomKCLangToFlangRuleGenerator__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./ServerSideFLangNormalization/CustomKCLangToFlangRuleGenerator */ "./Generator/src/generators/ServerSideFLangNormalization/CustomKCLangToFlangRuleGenerator.ts");
72484
- /* harmony import */ var _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./markupGenerator/Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
72485
- /* harmony import */ var _markupGenerator_AllConverters__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./markupGenerator/AllConverters */ "./Generator/src/generators/markupGenerator/AllConverters.ts");
72486
- /* harmony import */ var _ServerSideFLangNormalization_Normalizers_AutoValueForValueByDefaultNormalizationRuleGenerator__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./ServerSideFLangNormalization/Normalizers/AutoValueForValueByDefaultNormalizationRuleGenerator */ "./Generator/src/generators/ServerSideFLangNormalization/Normalizers/AutoValueForValueByDefaultNormalizationRuleGenerator.ts");
72487
- /* harmony import */ var _markupGenerator_KCLangCalculationsBuildContext__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./markupGenerator/KCLangCalculationsBuildContext */ "./Generator/src/generators/markupGenerator/KCLangCalculationsBuildContext.ts");
72488
- /* harmony import */ var _ServerSideFLangNormalization_NodeTypeInfoHelper__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./ServerSideFLangNormalization/NodeTypeInfoHelper */ "./Generator/src/generators/ServerSideFLangNormalization/NodeTypeInfoHelper.ts");
72489
- /* harmony import */ var _ExtendedSchema_ExtendedSchemaInfoUtils__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./ExtendedSchema/ExtendedSchemaInfoUtils */ "./Generator/src/generators/ExtendedSchema/ExtendedSchemaInfoUtils.ts");
72490
- /* harmony import */ var _markupGenerator_ElementProcessors_Commons_NodePathsContext__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./markupGenerator/ElementProcessors/Commons/NodePathsContext */ "./Generator/src/generators/markupGenerator/ElementProcessors/Commons/NodePathsContext.ts");
72491
- /* harmony import */ var _markupGenerator_IMarkupBuildingContext__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./markupGenerator/IMarkupBuildingContext */ "./Generator/src/generators/markupGenerator/IMarkupBuildingContext.ts");
72492
- /* harmony import */ var _ServerSideFLangNormalization_RuleBuilders_OptionalElementsRulesBuilder__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./ServerSideFLangNormalization/RuleBuilders/OptionalElementsRulesBuilder */ "./Generator/src/generators/ServerSideFLangNormalization/RuleBuilders/OptionalElementsRulesBuilder.ts");
72493
- /* harmony import */ var _ServerSideFLangNormalization_RuleBuilders_OptionalBlocksRulesBuilder__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./ServerSideFLangNormalization/RuleBuilders/OptionalBlocksRulesBuilder */ "./Generator/src/generators/ServerSideFLangNormalization/RuleBuilders/OptionalBlocksRulesBuilder.ts");
72378
+ /* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
72379
+ /* harmony import */ var _localization_localization__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./localization/localization */ "./Generator/src/generators/localization/localization.ts");
72380
+ /* harmony import */ var _markupGenerator_controlCustomization_ControlCustomizationContextBuilder__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./markupGenerator/controlCustomization/ControlCustomizationContextBuilder */ "./Generator/src/generators/markupGenerator/controlCustomization/ControlCustomizationContextBuilder.ts");
72381
+ /* harmony import */ var _markupGenerator_getSettings__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./markupGenerator/getSettings */ "./Generator/src/generators/markupGenerator/getSettings.ts");
72382
+ /* harmony import */ var _markupGenerator_IFarmFileSystem__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./markupGenerator/IFarmFileSystem */ "./Generator/src/generators/markupGenerator/IFarmFileSystem.ts");
72383
+ /* harmony import */ var _markupGenerator_ElementProcessors_FormParts_Form_FormNode__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./markupGenerator/ElementProcessors/FormParts/Form/FormNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/FormNode.ts");
72384
+ /* harmony import */ var _markupGenerator_MarkupGenerator__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./markupGenerator/MarkupGenerator */ "./Generator/src/generators/markupGenerator/MarkupGenerator.ts");
72385
+ /* harmony import */ var _markupGenerator_SugarNodes_DefaultSugarSerializer__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./markupGenerator/SugarNodes/DefaultSugarSerializer */ "./Generator/src/generators/markupGenerator/SugarNodes/DefaultSugarSerializer.ts");
72386
+ /* harmony import */ var _markupGenerator_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./markupGenerator/SugarNodes/SugarNodeUtils */ "./Generator/src/generators/markupGenerator/SugarNodes/SugarNodeUtils.ts");
72387
+ /* harmony import */ var _validationGenerator_TypesRegistry__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./validationGenerator/TypesRegistry */ "./Generator/src/generators/validationGenerator/TypesRegistry.ts");
72388
+ /* harmony import */ var _validationGenerator_ValidationGenerator__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./validationGenerator/ValidationGenerator */ "./Generator/src/generators/validationGenerator/ValidationGenerator.ts");
72389
+ /* harmony import */ var _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_FormulaReader__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./AutoCalculationsGenerator/AutoCalculationsFromFormulas/KCXmlContract/FormulaReader */ "./Generator/src/generators/AutoCalculationsGenerator/AutoCalculationsFromFormulas/KCXmlContract/FormulaReader.ts");
72390
+ /* harmony import */ var _AutoCalculationsGenerator_AutoCalculationsGenerator__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./AutoCalculationsGenerator/AutoCalculationsGenerator */ "./Generator/src/generators/AutoCalculationsGenerator/AutoCalculationsGenerator.ts");
72391
+ /* harmony import */ var _DataDeclarationGenerator_DataDeclarationGenerator__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./DataDeclarationGenerator/DataDeclarationGenerator */ "./Generator/src/generators/DataDeclarationGenerator/DataDeclarationGenerator.ts");
72392
+ /* harmony import */ var _DataDeclarationGenerator_DataDeclarationInitSourceSequenceFactory__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./DataDeclarationGenerator/DataDeclarationInitSourceSequenceFactory */ "./Generator/src/generators/DataDeclarationGenerator/DataDeclarationInitSourceSequenceFactory.ts");
72393
+ /* harmony import */ var _FormSourcesBuilder_FormSourcesBuilder__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./FormSourcesBuilder/FormSourcesBuilder */ "./Generator/src/generators/FormSourcesBuilder/FormSourcesBuilder.ts");
72394
+ /* harmony import */ var _HelperFunctionsGenerator_HelperFunctionsGenerator__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./HelperFunctionsGenerator/HelperFunctionsGenerator */ "./Generator/src/generators/HelperFunctionsGenerator/HelperFunctionsGenerator.ts");
72395
+ /* harmony import */ var _KCXmlValidationGenerator_KCXmlValidationGenerator__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./KCXmlValidationGenerator/KCXmlValidationGenerator */ "./Generator/src/generators/KCXmlValidationGenerator/KCXmlValidationGenerator.ts");
72396
+ /* harmony import */ var _RequisiteLIst_requisiteList__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./RequisiteLIst/requisiteList */ "./Generator/src/generators/RequisiteLIst/requisiteList.ts");
72397
+ /* harmony import */ var _ServerSideFLangNormalization_Normalizers_NormalizationRulesGenerator__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./ServerSideFLangNormalization/Normalizers/NormalizationRulesGenerator */ "./Generator/src/generators/ServerSideFLangNormalization/Normalizers/NormalizationRulesGenerator.ts");
72398
+ /* harmony import */ var _DataDeclarationGenerator_DataDeclarationGenerationTimeHelper__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./DataDeclarationGenerator/DataDeclarationGenerationTimeHelper */ "./Generator/src/generators/DataDeclarationGenerator/DataDeclarationGenerationTimeHelper.ts");
72399
+ /* harmony import */ var _AttachmentPaths_AttachmentPathsGenerator__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./AttachmentPaths/AttachmentPathsGenerator */ "./Generator/src/generators/AttachmentPaths/AttachmentPathsGenerator.ts");
72400
+ /* harmony import */ var _AutoCalculationsGenerator_AutoCalculationsFromFormulas_Calculator2_AutoCalculationsCalculator2Generator__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./AutoCalculationsGenerator/AutoCalculationsFromFormulas/Calculator2/AutoCalculationsCalculator2Generator */ "./Generator/src/generators/AutoCalculationsGenerator/AutoCalculationsFromFormulas/Calculator2/AutoCalculationsCalculator2Generator.ts");
72401
+ /* harmony import */ var _LazyLoadDeclarationGenerator_LazyLoadDeclarationGenerator__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./LazyLoadDeclarationGenerator/LazyLoadDeclarationGenerator */ "./Generator/src/generators/LazyLoadDeclarationGenerator/LazyLoadDeclarationGenerator.ts");
72402
+ /* harmony import */ var _ServerSideFLangNormalization_Normalizers_FormulaOnlyNormalizationRuleGenerator__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./ServerSideFLangNormalization/Normalizers/FormulaOnlyNormalizationRuleGenerator */ "./Generator/src/generators/ServerSideFLangNormalization/Normalizers/FormulaOnlyNormalizationRuleGenerator.ts");
72403
+ /* harmony import */ var _HelperFunctionsGenerator_CommonHelperFunctionsGenerator__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./HelperFunctionsGenerator/CommonHelperFunctionsGenerator */ "./Generator/src/generators/HelperFunctionsGenerator/CommonHelperFunctionsGenerator.ts");
72404
+ /* harmony import */ var _ServerSideFLangNormalization_AdditionalNormalizerFile__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./ServerSideFLangNormalization/AdditionalNormalizerFile */ "./Generator/src/generators/ServerSideFLangNormalization/AdditionalNormalizerFile.ts");
72405
+ /* harmony import */ var _ServerSideFLangNormalization_RuleBuilders_OptionalSectionRulesBuilder__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./ServerSideFLangNormalization/RuleBuilders/OptionalSectionRulesBuilder */ "./Generator/src/generators/ServerSideFLangNormalization/RuleBuilders/OptionalSectionRulesBuilder.ts");
72406
+ /* harmony import */ var _ServerSideFLangNormalization_FormulaExpressionToFlangExpressionConverter__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./ServerSideFLangNormalization/FormulaExpressionToFlangExpressionConverter */ "./Generator/src/generators/ServerSideFLangNormalization/FormulaExpressionToFlangExpressionConverter.ts");
72407
+ /* harmony import */ var _DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./DataSchema/DataSchemaUtils */ "./Generator/src/generators/DataSchema/DataSchemaUtils.ts");
72408
+ /* harmony import */ var _ServerSideFLangNormalization_RuleBuilders_FormulaRulesBuilder__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./ServerSideFLangNormalization/RuleBuilders/FormulaRulesBuilder */ "./Generator/src/generators/ServerSideFLangNormalization/RuleBuilders/FormulaRulesBuilder.ts");
72409
+ /* harmony import */ var _ServerSideFLangNormalization_RuleBuilders_InitializationRulesBuilder__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./ServerSideFLangNormalization/RuleBuilders/InitializationRulesBuilder */ "./Generator/src/generators/ServerSideFLangNormalization/RuleBuilders/InitializationRulesBuilder.ts");
72410
+ /* harmony import */ var _ServerSideFLangNormalization_RuleBuilders_LazyLoadingRulesBuilder__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./ServerSideFLangNormalization/RuleBuilders/LazyLoadingRulesBuilder */ "./Generator/src/generators/ServerSideFLangNormalization/RuleBuilders/LazyLoadingRulesBuilder.ts");
72411
+ /* harmony import */ var _ServerSideFLangNormalization_RuleBuilders_SugarRulesBuilder__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./ServerSideFLangNormalization/RuleBuilders/SugarRulesBuilder */ "./Generator/src/generators/ServerSideFLangNormalization/RuleBuilders/SugarRulesBuilder.ts");
72412
+ /* harmony import */ var _ServerSideFLangNormalization_RuleBuilders_ValidationRulesBuilder__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./ServerSideFLangNormalization/RuleBuilders/ValidationRulesBuilder */ "./Generator/src/generators/ServerSideFLangNormalization/RuleBuilders/ValidationRulesBuilder.ts");
72413
+ /* harmony import */ var _ServerSideFLangNormalization_Normalizers_FormulaAndInitOnlyNormalizationRuleGenerator__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./ServerSideFLangNormalization/Normalizers/FormulaAndInitOnlyNormalizationRuleGenerator */ "./Generator/src/generators/ServerSideFLangNormalization/Normalizers/FormulaAndInitOnlyNormalizationRuleGenerator.ts");
72414
+ /* harmony import */ var _ServerSideFLangNormalization_CustomKCLangToFlangRuleGenerator__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./ServerSideFLangNormalization/CustomKCLangToFlangRuleGenerator */ "./Generator/src/generators/ServerSideFLangNormalization/CustomKCLangToFlangRuleGenerator.ts");
72415
+ /* harmony import */ var _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./markupGenerator/Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
72416
+ /* harmony import */ var _markupGenerator_AllConverters__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./markupGenerator/AllConverters */ "./Generator/src/generators/markupGenerator/AllConverters.ts");
72417
+ /* harmony import */ var _ServerSideFLangNormalization_Normalizers_AutoValueForValueByDefaultNormalizationRuleGenerator__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./ServerSideFLangNormalization/Normalizers/AutoValueForValueByDefaultNormalizationRuleGenerator */ "./Generator/src/generators/ServerSideFLangNormalization/Normalizers/AutoValueForValueByDefaultNormalizationRuleGenerator.ts");
72418
+ /* harmony import */ var _markupGenerator_KCLangCalculationsBuildContext__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./markupGenerator/KCLangCalculationsBuildContext */ "./Generator/src/generators/markupGenerator/KCLangCalculationsBuildContext.ts");
72419
+ /* harmony import */ var _ServerSideFLangNormalization_NodeTypeInfoHelper__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./ServerSideFLangNormalization/NodeTypeInfoHelper */ "./Generator/src/generators/ServerSideFLangNormalization/NodeTypeInfoHelper.ts");
72420
+ /* harmony import */ var _ExtendedSchema_ExtendedSchemaInfoUtils__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./ExtendedSchema/ExtendedSchemaInfoUtils */ "./Generator/src/generators/ExtendedSchema/ExtendedSchemaInfoUtils.ts");
72421
+ /* harmony import */ var _markupGenerator_ElementProcessors_Commons_NodePathsContext__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./markupGenerator/ElementProcessors/Commons/NodePathsContext */ "./Generator/src/generators/markupGenerator/ElementProcessors/Commons/NodePathsContext.ts");
72422
+ /* harmony import */ var _markupGenerator_IMarkupBuildingContext__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./markupGenerator/IMarkupBuildingContext */ "./Generator/src/generators/markupGenerator/IMarkupBuildingContext.ts");
72423
+ /* harmony import */ var _ServerSideFLangNormalization_RuleBuilders_OptionalElementsRulesBuilder__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./ServerSideFLangNormalization/RuleBuilders/OptionalElementsRulesBuilder */ "./Generator/src/generators/ServerSideFLangNormalization/RuleBuilders/OptionalElementsRulesBuilder.ts");
72424
+ /* harmony import */ var _ServerSideFLangNormalization_RuleBuilders_OptionalBlocksRulesBuilder__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./ServerSideFLangNormalization/RuleBuilders/OptionalBlocksRulesBuilder */ "./Generator/src/generators/ServerSideFLangNormalization/RuleBuilders/OptionalBlocksRulesBuilder.ts");
72425
+
72494
72426
 
72495
72427
 
72496
72428
 
@@ -72549,16 +72481,16 @@ function processSugar(formSugarContent, additionalContent, generationOptions) {
72549
72481
  try {
72550
72482
  var _sugarRoot$schemaVali, _kxXmlMathContainer$f, _kxXmlMathContainer$f2, _kcLangMathContainer$, _kcLangMathContainer$2, _mathContainerFromSug, _mathContainerFromSug2, _additionalContent$fo, _additionalContent$fo2, _additionalContent$fo3, _additionalContent$fo4, _Iterator$from$map$fl, _mathContainerFromSug3, _mathContainerFromSug4, _generationOptions$in, _generationOptions$in2, _generationOptions$re, _additionalContent$fo5, _additionalContent$fo6, _additionalContent$fo7, _additionalContent$fo8, _additionalContent$fo9, _additionalContent$fo10, _additionalContent$fo11, _additionalContent$fo12;
72551
72483
  const sugarAst = (0,_common_SugarXmlParser_SugarParser__WEBPACK_IMPORTED_MODULE_4__.parseSugar)(formSugarContent, additionalContent.preprocessor || {});
72552
- const serializer = (0,_markupGenerator_SugarNodes_DefaultSugarSerializer__WEBPACK_IMPORTED_MODULE_14__.createDefaultSugarSerializer)();
72553
- const sugarRoot = (0,_markupGenerator_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_15__.strictCastNode)(serializer.deserializeFromSugarXmlNode(sugarAst), _markupGenerator_ElementProcessors_FormParts_Form_FormNode__WEBPACK_IMPORTED_MODULE_12__.FormNode);
72484
+ const serializer = (0,_markupGenerator_SugarNodes_DefaultSugarSerializer__WEBPACK_IMPORTED_MODULE_15__.createDefaultSugarSerializer)();
72485
+ const sugarRoot = (0,_markupGenerator_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_16__.strictCastNode)(serializer.deserializeFromSugarXmlNode(sugarAst), _markupGenerator_ElementProcessors_FormParts_Form_FormNode__WEBPACK_IMPORTED_MODULE_13__.FormNode);
72554
72486
  const formSchemaRng = _common_SchemaRng_FormSchemaRng__WEBPACK_IMPORTED_MODULE_3__.FormSchemaRng.createFromSchemaRng(additionalContent.schemaRngContent);
72555
- const typeRegistry = (0,_validationGenerator_TypesRegistry__WEBPACK_IMPORTED_MODULE_16__.buildTypesRegistry)(sugarRoot);
72487
+ const typeRegistry = (0,_validationGenerator_TypesRegistry__WEBPACK_IMPORTED_MODULE_17__.buildTypesRegistry)(sugarRoot);
72556
72488
  const useSchemaValidations = (_sugarRoot$schemaVali = sugarRoot.schemaValidations) !== null && _sugarRoot$schemaVali !== void 0 ? _sugarRoot$schemaVali : true;
72557
- const formulaReader = new _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_FormulaReader__WEBPACK_IMPORTED_MODULE_18__.FormulaReader();
72489
+ const formulaReader = new _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_FormulaReader__WEBPACK_IMPORTED_MODULE_19__.FormulaReader();
72558
72490
  const kcLangMathContainer = formulaReader.readFormulas(_common_KCLang_KCLangToXmlTranspiler__WEBPACK_IMPORTED_MODULE_6__.KCLangToXmlTranspiler.transpile(additionalContent.kcLangContent));
72559
- const kxXmlMathContainer = new _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_FormulaReader__WEBPACK_IMPORTED_MODULE_18__.FormulaReader().readFormulas(additionalContent.kcJsXmlContent);
72560
- const kcLangFromSugar = extractKCLangFromSugar(sugarRoot, formSchemaRng, new _ServerSideFLangNormalization_NodeTypeInfoHelper__WEBPACK_IMPORTED_MODULE_48__.NodeTypeInfoHelper(formSchemaRng, typeRegistry, useSchemaValidations)).map(x => x.toString()).join("\n");
72561
- const builder = new _FormSourcesBuilder_FormSourcesBuilder__WEBPACK_IMPORTED_MODULE_22__.FormSourcesBuilder(additionalContent.formSourcesPath);
72491
+ const kxXmlMathContainer = new _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_FormulaReader__WEBPACK_IMPORTED_MODULE_19__.FormulaReader().readFormulas(additionalContent.kcJsXmlContent);
72492
+ const kcLangFromSugar = extractKCLangFromSugar(sugarRoot, formSchemaRng, new _ServerSideFLangNormalization_NodeTypeInfoHelper__WEBPACK_IMPORTED_MODULE_49__.NodeTypeInfoHelper(formSchemaRng, typeRegistry, useSchemaValidations)).map(x => x.toString()).join("\n");
72493
+ const builder = new _FormSourcesBuilder_FormSourcesBuilder__WEBPACK_IMPORTED_MODULE_23__.FormSourcesBuilder(additionalContent.formSourcesPath);
72562
72494
  builder.addBuildOutput("Sugar.generated.kclang", kcLangFromSugar);
72563
72495
  const kclangValidatios = Iterator.from(getImportedKclangValidations(sugarRoot, additionalContent)).toArray().join("\n");
72564
72496
  const fullKcLangContent = ["// KCLang User Formulas\n\n", additionalContent.kcLangContent, "// KCLang User Validations\n\n", kclangValidatios, "// KCLang Generated Sugar Rules\n\n", kcLangFromSugar].join("\n");
@@ -72574,47 +72506,47 @@ function processSugar(formSugarContent, additionalContent, generationOptions) {
72574
72506
  return (_container$conditions = (_container$conditions2 = container.conditions) === null || _container$conditions2 === void 0 ? void 0 : _container$conditions2.items) !== null && _container$conditions !== void 0 ? _container$conditions : [];
72575
72507
  }).flatMap(x => x).toArray()) !== null && _Iterator$from$map$fl !== void 0 ? _Iterator$from$map$fl : []).concat((_mathContainerFromSug3 = (_mathContainerFromSug4 = mathContainerFromSugar.conditions) === null || _mathContainerFromSug4 === void 0 ? void 0 : _mathContainerFromSug4.items) !== null && _mathContainerFromSug3 !== void 0 ? _mathContainerFromSug3 : []);
72576
72508
  const schemaRng = (0,_common_XmlParser_XmlParser__WEBPACK_IMPORTED_MODULE_5__.parseXml)(additionalContent.schemaRngContent);
72577
- const farmFileSystem = (_generationOptions$in = generationOptions === null || generationOptions === void 0 || (_generationOptions$in2 = generationOptions.internalOptions) === null || _generationOptions$in2 === void 0 ? void 0 : _generationOptions$in2.fileSystem) !== null && _generationOptions$in !== void 0 ? _generationOptions$in : new _markupGenerator_IFarmFileSystem__WEBPACK_IMPORTED_MODULE_11__.NativeFarmFileSystem();
72578
- const controlCustomizationContext = (0,_markupGenerator_controlCustomization_ControlCustomizationContextBuilder__WEBPACK_IMPORTED_MODULE_9__.buildControlCustomizationContext)(sugarRoot, additionalContent.formSourcesPath, farmFileSystem);
72509
+ const farmFileSystem = (_generationOptions$in = generationOptions === null || generationOptions === void 0 || (_generationOptions$in2 = generationOptions.internalOptions) === null || _generationOptions$in2 === void 0 ? void 0 : _generationOptions$in2.fileSystem) !== null && _generationOptions$in !== void 0 ? _generationOptions$in : new _markupGenerator_IFarmFileSystem__WEBPACK_IMPORTED_MODULE_12__.NativeFarmFileSystem();
72510
+ const controlCustomizationContext = (0,_markupGenerator_controlCustomization_ControlCustomizationContextBuilder__WEBPACK_IMPORTED_MODULE_10__.buildControlCustomizationContext)(sugarRoot, additionalContent.formSourcesPath, farmFileSystem);
72579
72511
  const referencedFetchFunctions = additionalContent.fetchFunctionSources != undefined ? getReferencedFetchFunctions(additionalContent.fetchFunctionSources) : {};
72580
72512
  const fetchFunctions = new _common_FetchFunctions__WEBPACK_IMPORTED_MODULE_2__.FetchFunctions(referencedFetchFunctions);
72581
72513
  const additionalSettings = typeof additionalContent.additionalSettings === "string" ? JSON.parse(additionalContent.additionalSettings || "{}") : additionalContent.additionalSettings;
72582
- const dataDeclarationGenerator = new _DataDeclarationGenerator_DataDeclarationGenerator__WEBPACK_IMPORTED_MODULE_20__.DataDeclarationGenerator(sugarRoot, new _DataDeclarationGenerator_DataDeclarationInitSourceSequenceFactory__WEBPACK_IMPORTED_MODULE_21__.DataDeclarationInitSourceSequenceFactory(fetchFunctions), controlCustomizationContext, typeRegistry, formSchemaRng, useSchemaValidations);
72514
+ const dataDeclarationGenerator = new _DataDeclarationGenerator_DataDeclarationGenerator__WEBPACK_IMPORTED_MODULE_21__.DataDeclarationGenerator(sugarRoot, new _DataDeclarationGenerator_DataDeclarationInitSourceSequenceFactory__WEBPACK_IMPORTED_MODULE_22__.DataDeclarationInitSourceSequenceFactory(fetchFunctions), controlCustomizationContext, typeRegistry, formSchemaRng, useSchemaValidations);
72583
72515
  const {
72584
72516
  dataDeclarationContent,
72585
72517
  dataDeclaration
72586
72518
  } = dataDeclarationGenerator.generate();
72587
- const dataDeclarationHelper = new _DataDeclarationGenerator_DataDeclarationGenerationTimeHelper__WEBPACK_IMPORTED_MODULE_27__.DataDeclarationGenerationTimeHelper(dataDeclaration, formSchemaRng);
72588
- const extendedSchemaInfo = (0,_ExtendedSchema_ExtendedSchemaInfoUtils__WEBPACK_IMPORTED_MODULE_49__.buildExtendedSchemaInfo)(dataDeclarationHelper);
72589
- const markupBuilderContext = new _markupGenerator_IMarkupBuildingContext__WEBPACK_IMPORTED_MODULE_51__.MarkupBuildingContext(new _markupGenerator_ElementProcessors_Commons_NodePathsContext__WEBPACK_IMPORTED_MODULE_50__.NodePathsContext(), additionalContent.formSourcesPath, additionalContent.helpersContent, additionalContent.tourSteps, controlCustomizationContext, typeRegistry, formSchemaRng, dataDeclarationHelper, useSchemaValidations);
72590
- const validationGenerator = new _validationGenerator_ValidationGenerator__WEBPACK_IMPORTED_MODULE_17__.ValidationGenerator(sugarRoot, typeRegistry, markupBuilderContext, controlCustomizationContext, formSchemaRng, useSchemaValidations, additionalContent.validationsContent, additionalContent.formJsonSettings);
72591
- const lazyLoadGenerator = new _LazyLoadDeclarationGenerator_LazyLoadDeclarationGenerator__WEBPACK_IMPORTED_MODULE_30__.LazyLoadDeclarationGenerator(sugarRoot, formSchemaRng);
72519
+ const dataDeclarationHelper = new _DataDeclarationGenerator_DataDeclarationGenerationTimeHelper__WEBPACK_IMPORTED_MODULE_28__.DataDeclarationGenerationTimeHelper(dataDeclaration, formSchemaRng);
72520
+ const extendedSchemaInfo = (0,_ExtendedSchema_ExtendedSchemaInfoUtils__WEBPACK_IMPORTED_MODULE_50__.buildExtendedSchemaInfo)(dataDeclarationHelper);
72521
+ const markupBuilderContext = new _markupGenerator_IMarkupBuildingContext__WEBPACK_IMPORTED_MODULE_52__.MarkupBuildingContext(new _markupGenerator_ElementProcessors_Commons_NodePathsContext__WEBPACK_IMPORTED_MODULE_51__.NodePathsContext(), additionalContent.formSourcesPath, additionalContent.helpersContent, additionalContent.tourSteps, controlCustomizationContext, typeRegistry, formSchemaRng, dataDeclarationHelper, useSchemaValidations);
72522
+ const validationGenerator = new _validationGenerator_ValidationGenerator__WEBPACK_IMPORTED_MODULE_18__.ValidationGenerator(sugarRoot, typeRegistry, markupBuilderContext, controlCustomizationContext, formSchemaRng, useSchemaValidations, additionalContent.validationsContent, additionalContent.formJsonSettings);
72523
+ const lazyLoadGenerator = new _LazyLoadDeclarationGenerator_LazyLoadDeclarationGenerator__WEBPACK_IMPORTED_MODULE_31__.LazyLoadDeclarationGenerator(sugarRoot, formSchemaRng);
72592
72524
  const lazyLoadGeneratorResult = lazyLoadGenerator.generate();
72593
72525
  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");
72594
- const formulaExprConverter = new _ServerSideFLangNormalization_FormulaExpressionToFlangExpressionConverter__WEBPACK_IMPORTED_MODULE_35__.FormulaExpressionToFlangExpressionConverter(path => (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_36__.adjustPathMultiplicityComplex)(path, dataDeclarationHelper), {
72526
+ const formulaExprConverter = new _ServerSideFLangNormalization_FormulaExpressionToFlangExpressionConverter__WEBPACK_IMPORTED_MODULE_36__.FormulaExpressionToFlangExpressionConverter(path => (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_37__.adjustPathMultiplicityComplex)(path, dataDeclarationHelper), {
72595
72527
  enableGroupSumAutoConversion: (_additionalContent$fo5 = (_additionalContent$fo6 = additionalContent.formJsonSettings) === null || _additionalContent$fo6 === void 0 ? void 0 : _additionalContent$fo6.enableTypedFlang) !== null && _additionalContent$fo5 !== void 0 ? _additionalContent$fo5 : false
72596
72528
  });
72597
- const formulaRulesBuilder = new _ServerSideFLangNormalization_RuleBuilders_FormulaRulesBuilder__WEBPACK_IMPORTED_MODULE_37__.FormulaRulesBuilder(formSchemaRng, formulas, dataDeclarationHelper, formulaExprConverter, {
72529
+ const formulaRulesBuilder = new _ServerSideFLangNormalization_RuleBuilders_FormulaRulesBuilder__WEBPACK_IMPORTED_MODULE_38__.FormulaRulesBuilder(formSchemaRng, formulas, dataDeclarationHelper, formulaExprConverter, {
72598
72530
  enableTypedFlang: (_additionalContent$fo7 = (_additionalContent$fo8 = additionalContent.formJsonSettings) === null || _additionalContent$fo8 === void 0 ? void 0 : _additionalContent$fo8.enableTypedFlang) !== null && _additionalContent$fo7 !== void 0 ? _additionalContent$fo7 : false
72599
72531
  });
72600
- const initializationRulesBuilder = new _ServerSideFLangNormalization_RuleBuilders_InitializationRulesBuilder__WEBPACK_IMPORTED_MODULE_38__.InitializationRulesBuilder(sugarRoot, resourcesHash);
72601
- const lazyLoadingRulesBuilder = new _ServerSideFLangNormalization_RuleBuilders_LazyLoadingRulesBuilder__WEBPACK_IMPORTED_MODULE_39__.LazyLoadingRulesBuilder(sugarRoot, lazyLoadGeneratorResult.declaration);
72602
- const sugarRulesBuilder = new _ServerSideFLangNormalization_RuleBuilders_SugarRulesBuilder__WEBPACK_IMPORTED_MODULE_40__.SugarRulesBuilder(sugarRoot, formSchemaRng, controlCustomizationContext, fetchFunctions, dataDeclarationHelper, typeRegistry, useSchemaValidations);
72603
- const validationRulesBuilder = new _ServerSideFLangNormalization_RuleBuilders_ValidationRulesBuilder__WEBPACK_IMPORTED_MODULE_41__.ValidationRulesBuilder(dataDeclarationHelper, formulaExprConverter, kcXmlConditions);
72604
- const optionalSectionRuleBuilder = new _ServerSideFLangNormalization_RuleBuilders_OptionalSectionRulesBuilder__WEBPACK_IMPORTED_MODULE_34__.OptionalSectionRulesBuilder(sugarRoot, dataDeclarationHelper);
72605
- const optionalElementsRulesBuilder = new _ServerSideFLangNormalization_RuleBuilders_OptionalElementsRulesBuilder__WEBPACK_IMPORTED_MODULE_52__.OptionalElementsRulesBuilder(formSchemaRng, dataDeclarationHelper);
72606
- const optionalBlocksRulesBuilder = new _ServerSideFLangNormalization_RuleBuilders_OptionalBlocksRulesBuilder__WEBPACK_IMPORTED_MODULE_53__.OptionalBlocksRulesBuilder(dataDeclarationHelper);
72607
- const normalizationRulesGenerator = new _ServerSideFLangNormalization_Normalizers_NormalizationRulesGenerator__WEBPACK_IMPORTED_MODULE_26__.NormalizationRulesGenerator(optionalSectionRuleBuilder, validationRulesBuilder, lazyLoadingRulesBuilder, sugarRulesBuilder, initializationRulesBuilder, formulaRulesBuilder, formSchemaRng, optionalElementsRulesBuilder, optionalBlocksRulesBuilder, false);
72608
- const formulaOnlyNormalizationRulesGenerator = new _ServerSideFLangNormalization_Normalizers_FormulaOnlyNormalizationRuleGenerator__WEBPACK_IMPORTED_MODULE_31__.FormulaOnlyNormalizationRuleGenerator(dataDeclarationHelper, formSchemaRng, formulas, optionalSectionRuleBuilder, formulaExprConverter, validationRulesBuilder, optionalElementsRulesBuilder, optionalBlocksRulesBuilder, {
72532
+ const initializationRulesBuilder = new _ServerSideFLangNormalization_RuleBuilders_InitializationRulesBuilder__WEBPACK_IMPORTED_MODULE_39__.InitializationRulesBuilder(sugarRoot, resourcesHash);
72533
+ const lazyLoadingRulesBuilder = new _ServerSideFLangNormalization_RuleBuilders_LazyLoadingRulesBuilder__WEBPACK_IMPORTED_MODULE_40__.LazyLoadingRulesBuilder(sugarRoot, lazyLoadGeneratorResult.declaration);
72534
+ const sugarRulesBuilder = new _ServerSideFLangNormalization_RuleBuilders_SugarRulesBuilder__WEBPACK_IMPORTED_MODULE_41__.SugarRulesBuilder(sugarRoot, formSchemaRng, controlCustomizationContext, fetchFunctions, dataDeclarationHelper, typeRegistry, useSchemaValidations);
72535
+ const validationRulesBuilder = new _ServerSideFLangNormalization_RuleBuilders_ValidationRulesBuilder__WEBPACK_IMPORTED_MODULE_42__.ValidationRulesBuilder(dataDeclarationHelper, formulaExprConverter, kcXmlConditions);
72536
+ const optionalSectionRuleBuilder = new _ServerSideFLangNormalization_RuleBuilders_OptionalSectionRulesBuilder__WEBPACK_IMPORTED_MODULE_35__.OptionalSectionRulesBuilder(sugarRoot, dataDeclarationHelper);
72537
+ const optionalElementsRulesBuilder = new _ServerSideFLangNormalization_RuleBuilders_OptionalElementsRulesBuilder__WEBPACK_IMPORTED_MODULE_53__.OptionalElementsRulesBuilder(formSchemaRng, dataDeclarationHelper);
72538
+ const optionalBlocksRulesBuilder = new _ServerSideFLangNormalization_RuleBuilders_OptionalBlocksRulesBuilder__WEBPACK_IMPORTED_MODULE_54__.OptionalBlocksRulesBuilder(dataDeclarationHelper);
72539
+ const normalizationRulesGenerator = new _ServerSideFLangNormalization_Normalizers_NormalizationRulesGenerator__WEBPACK_IMPORTED_MODULE_27__.NormalizationRulesGenerator(optionalSectionRuleBuilder, validationRulesBuilder, lazyLoadingRulesBuilder, sugarRulesBuilder, initializationRulesBuilder, formulaRulesBuilder, formSchemaRng, optionalElementsRulesBuilder, optionalBlocksRulesBuilder, false);
72540
+ const formulaOnlyNormalizationRulesGenerator = new _ServerSideFLangNormalization_Normalizers_FormulaOnlyNormalizationRuleGenerator__WEBPACK_IMPORTED_MODULE_32__.FormulaOnlyNormalizationRuleGenerator(dataDeclarationHelper, formSchemaRng, formulas, optionalSectionRuleBuilder, formulaExprConverter, validationRulesBuilder, optionalElementsRulesBuilder, optionalBlocksRulesBuilder, {
72609
72541
  enableTypedFlang: (_additionalContent$fo9 = (_additionalContent$fo10 = additionalContent.formJsonSettings) === null || _additionalContent$fo10 === void 0 ? void 0 : _additionalContent$fo10.enableTypedFlang) !== null && _additionalContent$fo9 !== void 0 ? _additionalContent$fo9 : false
72610
72542
  });
72611
- const formulaAndInitOnlyNormalizationRulesGenerator = new _ServerSideFLangNormalization_Normalizers_FormulaAndInitOnlyNormalizationRuleGenerator__WEBPACK_IMPORTED_MODULE_42__.FormulaAndInitOnlyNormalizationRuleGenerator(sugarRulesBuilder, formulaRulesBuilder, formSchemaRng, optionalSectionRuleBuilder, optionalElementsRulesBuilder, optionalBlocksRulesBuilder);
72612
- const autoValueForValueByDefaultNormalizationRuleGenerator = new _ServerSideFLangNormalization_Normalizers_AutoValueForValueByDefaultNormalizationRuleGenerator__WEBPACK_IMPORTED_MODULE_46__.AutoValueForValueByDefaultNormalizationRuleGenerator(optionalSectionRuleBuilder, validationRulesBuilder, lazyLoadingRulesBuilder, sugarRulesBuilder, initializationRulesBuilder, formulaRulesBuilder, formSchemaRng, optionalElementsRulesBuilder, optionalBlocksRulesBuilder, dataDeclarationHelper);
72613
- const markupGenerator = new _markupGenerator_MarkupGenerator__WEBPACK_IMPORTED_MODULE_13__.MarkupGenerator(markupBuilderContext);
72543
+ const formulaAndInitOnlyNormalizationRulesGenerator = new _ServerSideFLangNormalization_Normalizers_FormulaAndInitOnlyNormalizationRuleGenerator__WEBPACK_IMPORTED_MODULE_43__.FormulaAndInitOnlyNormalizationRuleGenerator(sugarRulesBuilder, formulaRulesBuilder, formSchemaRng, optionalSectionRuleBuilder, optionalElementsRulesBuilder, optionalBlocksRulesBuilder);
72544
+ const autoValueForValueByDefaultNormalizationRuleGenerator = new _ServerSideFLangNormalization_Normalizers_AutoValueForValueByDefaultNormalizationRuleGenerator__WEBPACK_IMPORTED_MODULE_47__.AutoValueForValueByDefaultNormalizationRuleGenerator(optionalSectionRuleBuilder, validationRulesBuilder, lazyLoadingRulesBuilder, sugarRulesBuilder, initializationRulesBuilder, formulaRulesBuilder, formSchemaRng, optionalElementsRulesBuilder, optionalBlocksRulesBuilder, dataDeclarationHelper);
72545
+ const markupGenerator = new _markupGenerator_MarkupGenerator__WEBPACK_IMPORTED_MODULE_14__.MarkupGenerator(markupBuilderContext);
72614
72546
  markupGenerator.generate(sugarRoot, builder);
72615
- builder.addResource("settings.js", (0,_markupGenerator_getSettings__WEBPACK_IMPORTED_MODULE_10__.getSettings)(sugarRoot, additionalContent.gfv, additionalSettings, additionalContent.formJsonSettings));
72616
- builder.addResource("requisiteList.js", (0,_RequisiteLIst_requisiteList__WEBPACK_IMPORTED_MODULE_25__.getRequisiteList)(sugarRoot, fetchFunctions));
72617
- const autocalcGenerator = new _AutoCalculationsGenerator_AutoCalculationsGenerator__WEBPACK_IMPORTED_MODULE_19__.AutoCalculationsGenerator(dataDeclarationHelper, schemaRng);
72547
+ builder.addResource("settings.js", (0,_markupGenerator_getSettings__WEBPACK_IMPORTED_MODULE_11__.getSettings)(sugarRoot, additionalContent.gfv, additionalSettings, additionalContent.formJsonSettings));
72548
+ builder.addResource("requisiteList.js", (0,_RequisiteLIst_requisiteList__WEBPACK_IMPORTED_MODULE_26__.getRequisiteList)(sugarRoot, fetchFunctions));
72549
+ const autocalcGenerator = new _AutoCalculationsGenerator_AutoCalculationsGenerator__WEBPACK_IMPORTED_MODULE_20__.AutoCalculationsGenerator(dataDeclarationHelper, schemaRng);
72618
72550
  const formulasForCalculator = useOldCalculator ? formulas : [];
72619
72551
  builder.addResource("calculationFunctions.js", autocalcGenerator.generate(sugarRoot, additionalContent.autocalcsContent, formulasForCalculator));
72620
72552
  builder.addResource("dataDeclaration.js", dataDeclarationContent);
@@ -72636,17 +72568,17 @@ function processSugar(formSugarContent, additionalContent, generationOptions) {
72636
72568
  }].filter(x => (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__.isNotNullOrEmpty)(x.content));
72637
72569
  const additionalNormalizationRules = additionalContent.additionalNormalizers ? additionalContent.additionalNormalizers.map(additionalNormalizer => {
72638
72570
  switch (additionalNormalizer.extension) {
72639
- case _ServerSideFLangNormalization_AdditionalNormalizerFile__WEBPACK_IMPORTED_MODULE_33__.NormalizerFileExtension.FLANG:
72571
+ case _ServerSideFLangNormalization_AdditionalNormalizerFile__WEBPACK_IMPORTED_MODULE_34__.NormalizerFileExtension.FLANG:
72640
72572
  {
72641
- const isDefault = additionalNormalizer.filename.toLowerCase() === _ServerSideFLangNormalization_AdditionalNormalizerFile__WEBPACK_IMPORTED_MODULE_33__.defaultNormalizerFilename.toLowerCase();
72573
+ const isDefault = additionalNormalizer.filename.toLowerCase() === _ServerSideFLangNormalization_AdditionalNormalizerFile__WEBPACK_IMPORTED_MODULE_34__.defaultNormalizerFilename.toLowerCase();
72642
72574
  return {
72643
72575
  content: additionalNormalizer.content,
72644
72576
  normalizerId: isDefault ? undefined : additionalNormalizer.filename
72645
72577
  };
72646
72578
  }
72647
- case _ServerSideFLangNormalization_AdditionalNormalizerFile__WEBPACK_IMPORTED_MODULE_33__.NormalizerFileExtension.KCLANG:
72579
+ case _ServerSideFLangNormalization_AdditionalNormalizerFile__WEBPACK_IMPORTED_MODULE_34__.NormalizerFileExtension.KCLANG:
72648
72580
  {
72649
- const customNormalizationRules = new _ServerSideFLangNormalization_CustomKCLangToFlangRuleGenerator__WEBPACK_IMPORTED_MODULE_43__.CustomKCLangToFlangRuleGenerator(additionalNormalizer.content, formulaReader, dataDeclarationHelper, formSchemaRng, formulaExprConverter);
72581
+ const customNormalizationRules = new _ServerSideFLangNormalization_CustomKCLangToFlangRuleGenerator__WEBPACK_IMPORTED_MODULE_44__.CustomKCLangToFlangRuleGenerator(additionalNormalizer.content, formulaReader, dataDeclarationHelper, formSchemaRng, formulaExprConverter);
72650
72582
  return {
72651
72583
  content: customNormalizationRules.generateRules(),
72652
72584
  normalizerId: additionalNormalizer.filename
@@ -72659,8 +72591,8 @@ function processSugar(formSugarContent, additionalContent, generationOptions) {
72659
72591
  const resultRules = combineFlangRules(defaultNormalizationRules.content, ...additionalNormalizationRules, ...customNormalizers);
72660
72592
  builder.addServerSideResource("ServerSide.normalize", resultRules);
72661
72593
  }
72662
- builder.addResource("lazyLoadDeclaration.js", _LazyLoadDeclarationGenerator_LazyLoadDeclarationGenerator__WEBPACK_IMPORTED_MODULE_30__.LazyLoadDeclarationGenerator.convertDeclarationToContent(finalLazyLoadDeclaration));
72663
- const attachmentPathsGenerator = new _AttachmentPaths_AttachmentPathsGenerator__WEBPACK_IMPORTED_MODULE_28__.AttachmentPathsGenerator(markupBuilderContext);
72594
+ builder.addResource("lazyLoadDeclaration.js", _LazyLoadDeclarationGenerator_LazyLoadDeclarationGenerator__WEBPACK_IMPORTED_MODULE_31__.LazyLoadDeclarationGenerator.convertDeclarationToContent(finalLazyLoadDeclaration));
72595
+ const attachmentPathsGenerator = new _AttachmentPaths_AttachmentPathsGenerator__WEBPACK_IMPORTED_MODULE_29__.AttachmentPathsGenerator(markupBuilderContext);
72664
72596
  const attachmentPaths = attachmentPathsGenerator.generate(sugarRoot);
72665
72597
  builder.addServerSideResource(`AttachmentPaths.json`, JSON.stringify(attachmentPaths));
72666
72598
  const attachmentPathsWithGfvs = attachmentPathsGenerator.generateWithGfvs(sugarRoot);
@@ -72672,11 +72604,11 @@ function processSugar(formSugarContent, additionalContent, generationOptions) {
72672
72604
  const rngSchemaValidationConfigurator = validationGenerator.generateRngSchemaValidationConfigurator();
72673
72605
  builder.addResource("rngSchemaValidationConfigurator.js", rngSchemaValidationConfigurator);
72674
72606
  const formulasForCalculator2 = useCalculator2 ? formulas : [];
72675
- const kcXmlAutoCalcGenerator = new _AutoCalculationsGenerator_AutoCalculationsFromFormulas_Calculator2_AutoCalculationsCalculator2Generator__WEBPACK_IMPORTED_MODULE_29__.AutoCalculationsCalculator2Generator(formSchemaRng, dataDeclarationHelper, extendedSchemaInfo);
72607
+ const kcXmlAutoCalcGenerator = new _AutoCalculationsGenerator_AutoCalculationsFromFormulas_Calculator2_AutoCalculationsCalculator2Generator__WEBPACK_IMPORTED_MODULE_30__.AutoCalculationsCalculator2Generator(formSchemaRng, dataDeclarationHelper, extendedSchemaInfo);
72676
72608
  builder.addResource("kcXmlAutoCalculationConfigurator.js", kcXmlAutoCalcGenerator.generate(formulasForCalculator2, {
72677
72609
  skipNotSupportedFunction: useServerCalculations
72678
72610
  }));
72679
- const kcXmlValidationGenerator = new _KCXmlValidationGenerator_KCXmlValidationGenerator__WEBPACK_IMPORTED_MODULE_24__.KCXmlValidationGenerator(formSchemaRng, extendedSchemaInfo);
72611
+ const kcXmlValidationGenerator = new _KCXmlValidationGenerator_KCXmlValidationGenerator__WEBPACK_IMPORTED_MODULE_25__.KCXmlValidationGenerator(formSchemaRng, extendedSchemaInfo);
72680
72612
  const kcXmlConditionsForCalculator2 = kcXmlConditions;
72681
72613
  const content = kcXmlValidationGenerator.generate(kcXmlConditionsForCalculator2, {
72682
72614
  skipNotSupportedFunction: useServerCalculations
@@ -72685,14 +72617,14 @@ function processSugar(formSugarContent, additionalContent, generationOptions) {
72685
72617
  // const importedAutoCalculations = getImportedAutoCalculations(sugarRoot);
72686
72618
  builder.addResource("autocalculationConfigurators.js", `export default []`);
72687
72619
  builder.addResource("FakeStyles.less", `// empty styles to enforce style files`);
72688
- const localizationResources = (0,_localization_localization__WEBPACK_IMPORTED_MODULE_8__.generateLocalizationResources)(additionalContent.localization);
72620
+ const localizationResources = (0,_localization_localization__WEBPACK_IMPORTED_MODULE_9__.generateLocalizationResources)(additionalContent.localization);
72689
72621
  if (localizationResources) {
72690
72622
  builder.addResource("localizationDictionary.js", localizationResources);
72691
72623
  }
72692
- const helperFunctionsContent = new _HelperFunctionsGenerator_HelperFunctionsGenerator__WEBPACK_IMPORTED_MODULE_23__.HelperFunctionsGenerator().generate(additionalContent.helpersContent);
72624
+ const helperFunctionsContent = new _HelperFunctionsGenerator_HelperFunctionsGenerator__WEBPACK_IMPORTED_MODULE_24__.HelperFunctionsGenerator().generate(additionalContent.helpersContent);
72693
72625
  if (helperFunctionsContent) {
72694
72626
  builder.addResource("helperFunctions.js", helperFunctionsContent);
72695
- const commonHelperFunctionsContent = new _HelperFunctionsGenerator_CommonHelperFunctionsGenerator__WEBPACK_IMPORTED_MODULE_32__.CommonHelperFunctionsGenerator().generate(additionalContent.commonHelpersContent);
72627
+ const commonHelperFunctionsContent = new _HelperFunctionsGenerator_CommonHelperFunctionsGenerator__WEBPACK_IMPORTED_MODULE_33__.CommonHelperFunctionsGenerator().generate(additionalContent.commonHelpersContent);
72696
72628
  if (commonHelperFunctionsContent) {
72697
72629
  builder.addResource("commonHelperFunctions.js", commonHelperFunctionsContent);
72698
72630
  }
@@ -72765,10 +72697,10 @@ function* getImportedKclangValidations(formNode, additionalContent) {
72765
72697
  }
72766
72698
  }
72767
72699
  function extractKCLangFromSugar(sugarRoot, formSchemaRng, nodeTypeInfoHelper) {
72768
- const controlConverterClass = (0,_markupGenerator_AllConverters__WEBPACK_IMPORTED_MODULE_45__.getConverterByNodeClass)((0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_44__.getNodeClass)(sugarRoot));
72700
+ const controlConverterClass = (0,_markupGenerator_AllConverters__WEBPACK_IMPORTED_MODULE_46__.getConverterByNodeClass)((0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_45__.getNodeClass)(sugarRoot));
72769
72701
  if (controlConverterClass != undefined) {
72770
72702
  const converter = new controlConverterClass(sugarRoot);
72771
- const result = converter.buildSugarKCLangCalculations(new _markupGenerator_KCLangCalculationsBuildContext__WEBPACK_IMPORTED_MODULE_47__.KCLangCalculationsBuildContext(formSchemaRng, nodeTypeInfoHelper), formSchemaRng);
72703
+ const result = converter.buildSugarKCLangCalculations(new _markupGenerator_KCLangCalculationsBuildContext__WEBPACK_IMPORTED_MODULE_48__.KCLangCalculationsBuildContext(formSchemaRng, nodeTypeInfoHelper), formSchemaRng, (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_8__.emptyAbsoluteModelPath)());
72772
72704
  return Iterator.from(result).toArray();
72773
72705
  }
72774
72706
  return [];
@@ -75444,24 +75376,24 @@ class FormulaExpressionToFlangExpressionConverter {
75444
75376
  return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.SumOfDayWeightsExpression(expressions);
75445
75377
  }
75446
75378
  if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_0__.FormulaIsSnilsExpression) {
75447
- const arg = this.compiledArgumentExpression(prefix, target, expression.select, "string", addPrecalculationRule);
75448
- return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.IsSnilsExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_8__.castOperandToStringIfNeed)(arg));
75379
+ const arg = this.compileExpressionToFlangExpression(expression.expression, prefix, target, addPrecalculationRule);
75380
+ return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.IsSnilsExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_8__.extractOriginalStringValueOrCastToStringIfNeeded)(arg));
75449
75381
  }
75450
75382
  if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_0__.FormulaIsRegNumSfrExpression) {
75451
- const arg = this.compiledArgumentExpression(prefix, target, expression.select, "string", addPrecalculationRule);
75452
- return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.IsRegNumSfrExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_8__.castOperandToStringIfNeed)(arg));
75383
+ const arg = this.compileExpressionToFlangExpression(expression.expression, prefix, target, addPrecalculationRule);
75384
+ return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.IsRegNumSfrExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_8__.extractOriginalStringValueOrCastToStringIfNeeded)(arg));
75453
75385
  }
75454
75386
  if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_0__.FormulaIsInnExpression) {
75455
- const arg = this.compiledArgumentExpression(prefix, target, expression.select, "string", addPrecalculationRule);
75456
- return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.IsInnExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_8__.castOperandToStringIfNeed)(arg));
75387
+ const arg = this.compileExpressionToFlangExpression(expression.expression, prefix, target, addPrecalculationRule);
75388
+ return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.IsInnExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_8__.extractOriginalStringValueOrCastToStringIfNeeded)(arg));
75457
75389
  }
75458
75390
  if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_0__.FormulaIsOgrnExpression) {
75459
- const arg = this.compiledArgumentExpression(prefix, target, expression.select, "string", addPrecalculationRule);
75460
- return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.IsOgrnExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_8__.castOperandToStringIfNeed)(arg));
75391
+ const arg = this.compileExpressionToFlangExpression(expression.expression, prefix, target, addPrecalculationRule);
75392
+ return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.IsOgrnExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_8__.extractOriginalStringValueOrCastToStringIfNeeded)(arg));
75461
75393
  }
75462
75394
  if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_0__.FormulaIsValidMirCardNumberExpression) {
75463
- const arg = this.compiledArgumentExpression(prefix, target, expression.select, "string", addPrecalculationRule);
75464
- return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.IsValidMirCardNumberExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_8__.castOperandToStringIfNeed)(arg));
75395
+ const arg = this.compileExpressionToFlangExpression(expression.expression, prefix, target, addPrecalculationRule);
75396
+ return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.IsValidMirCardNumberExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_8__.extractOriginalStringValueOrCastToStringIfNeeded)(arg));
75465
75397
  }
75466
75398
  if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_0__.FormulaArrayExpression) {
75467
75399
  const items = expression.items.map(arg => this.compileEnumerationItem(arg, prefix, target, addPrecalculationRule));
@@ -75483,9 +75415,9 @@ class FormulaExpressionToFlangExpressionConverter {
75483
75415
  return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.GetPicklistValuesExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.StringLiteralExpression(expression.gId), filterColumn, filterKey, new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.StringLiteralExpression(expression.resultColumn));
75484
75416
  }
75485
75417
  if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_0__.FormulaIsValidAccountNumberExpression) {
75486
- const bik = this.compiledArgumentExpression(prefix, target, expression.bik, "string", addPrecalculationRule);
75487
- const account = this.compiledArgumentExpression(prefix, target, expression.account, "string", addPrecalculationRule);
75488
- return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.IsValidAccountNumberExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_8__.castOperandToStringIfNeed)(bik), (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_8__.castOperandToStringIfNeed)(account));
75418
+ const bik = this.compileExpressionToFlangExpressionInternal(expression.bik.bik, prefix, target, addPrecalculationRule);
75419
+ const account = this.compileExpressionToFlangExpressionInternal(expression.account.account, prefix, target, addPrecalculationRule);
75420
+ return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.IsValidAccountNumberExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_8__.extractOriginalStringValueOrCastToStringIfNeeded)(bik), (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_8__.extractOriginalStringValueOrCastToStringIfNeeded)(account));
75489
75421
  }
75490
75422
  if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_0__.FormulaGroupSumExpression) {
75491
75423
  return this.compileGroupSumExpression(prefix, target, expression, addPrecalculationRule);
@@ -96795,7 +96727,7 @@ class ComboBoxConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__
96795
96727
  disabled: node.disabled
96796
96728
  })];
96797
96729
  }
96798
- *doBuildKCLangValidations(buildContext, formSchemaRng) {
96730
+ *doBuildKCLangValidations(buildContext, formSchemaRng, prefixPath) {
96799
96731
  const node = this.getCurrentNodeAs(_ComboBoxNode__WEBPACK_IMPORTED_MODULE_8__.ComboBoxNode);
96800
96732
  const element = formSchemaRng.getElementByPath(node.getFullPath());
96801
96733
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.PathTokens.each);
@@ -96805,7 +96737,7 @@ class ComboBoxConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__
96805
96737
  if (typeNode == undefined && schemaTypeNode == undefined || ownPath == undefined) {
96806
96738
  return;
96807
96739
  }
96808
- yield* buildContext.buildBasicValidations(ownPath, targetPath, typeNode, schemaTypeNode, node.validationInfo.optional == undefined ? element === null || element === void 0 ? void 0 : element.isOptional() : node.validationInfo.optional, node.gId, node.validationInfo.emptydescription);
96740
+ yield* buildContext.buildBasicValidations(ownPath, targetPath, prefixPath, typeNode, schemaTypeNode, node.validationInfo.optional == undefined ? element === null || element === void 0 ? void 0 : element.isOptional() : node.validationInfo.optional, node.gId, node.validationInfo.emptydescription);
96809
96741
  }
96810
96742
  buildChildrenDataDeclaration(context) {
96811
96743
  const node = this.getCurrentNodeAs(_ComboBoxNode__WEBPACK_IMPORTED_MODULE_8__.ComboBoxNode);
@@ -97305,7 +97237,7 @@ class DateConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.Sug
97305
97237
  static getAcceptNodeClass() {
97306
97238
  return _DateNode__WEBPACK_IMPORTED_MODULE_6__.DateNode;
97307
97239
  }
97308
- *doBuildKCLangValidations(buildContext, formSchemaRng) {
97240
+ *doBuildKCLangValidations(buildContext, formSchemaRng, prefixPath) {
97309
97241
  const node = this.getCurrentNodeAs(_DateNode__WEBPACK_IMPORTED_MODULE_6__.DateNode);
97310
97242
  const element = formSchemaRng.getElementByPath(node.getFullPath());
97311
97243
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_2__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_2__.PathTokens.each);
@@ -97315,7 +97247,7 @@ class DateConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.Sug
97315
97247
  if (typeNode == undefined && schemaTypeNode == undefined || ownPath == undefined) {
97316
97248
  return;
97317
97249
  }
97318
- yield* buildContext.buildBasicValidations(ownPath, targetPath, typeNode, schemaTypeNode, node.validationInfo.optional == undefined ? element === null || element === void 0 ? void 0 : element.isOptional() : node.validationInfo.optional);
97250
+ yield* buildContext.buildBasicValidations(ownPath, targetPath, prefixPath, typeNode, schemaTypeNode, node.validationInfo.optional == undefined ? element === null || element === void 0 ? void 0 : element.isOptional() : node.validationInfo.optional);
97319
97251
  }
97320
97252
  doBuildNodeValidations(validationGenerator) {
97321
97253
  const node = this.getCurrentNodeAs(_DateNode__WEBPACK_IMPORTED_MODULE_6__.DateNode);
@@ -97567,7 +97499,7 @@ class DiadocSuggestComboBoxConverter extends _SugarNodeConverter__WEBPACK_IMPORT
97567
97499
  const node = this.getCurrentNodeAs(_DiadocSuggestComboBoxNode__WEBPACK_IMPORTED_MODULE_7__.DiadocSuggestComboBoxNode);
97568
97500
  validationGenerator.processValidations(this.getResolvedBindingPath(node), node.validationInfo.optional, validationGenerator.getTypeNode(node.validationInfo), undefined, node.validationInfo.emptydescription, undefined);
97569
97501
  }
97570
- *doBuildKCLangValidations(buildContext, formSchemaRng) {
97502
+ *doBuildKCLangValidations(buildContext, formSchemaRng, prefixPath) {
97571
97503
  const node = this.getCurrentNodeAs(_DiadocSuggestComboBoxNode__WEBPACK_IMPORTED_MODULE_7__.DiadocSuggestComboBoxNode);
97572
97504
  const element = formSchemaRng.getElementByPath(node.getFullPath());
97573
97505
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.PathTokens.each);
@@ -97577,7 +97509,7 @@ class DiadocSuggestComboBoxConverter extends _SugarNodeConverter__WEBPACK_IMPORT
97577
97509
  if (typeNode == undefined && schemaTypeNode == undefined || ownPath == undefined) {
97578
97510
  return;
97579
97511
  }
97580
- yield* buildContext.buildBasicValidations(ownPath, targetPath, typeNode, schemaTypeNode, node.validationInfo.optional == undefined ? element === null || element === void 0 ? void 0 : element.isOptional() : node.validationInfo.optional);
97512
+ yield* buildContext.buildBasicValidations(ownPath, targetPath, prefixPath, typeNode, schemaTypeNode, node.validationInfo.optional == undefined ? element === null || element === void 0 ? void 0 : element.isOptional() : node.validationInfo.optional);
97581
97513
  }
97582
97514
  get nodePaths() {
97583
97515
  const node = this.getCurrentNodeAs(_DiadocSuggestComboBoxNode__WEBPACK_IMPORTED_MODULE_7__.DiadocSuggestComboBoxNode);
@@ -99099,7 +99031,7 @@ class InputConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Su
99099
99031
  const node = this.getCurrentNodeAs(_InputNode__WEBPACK_IMPORTED_MODULE_8__.InputNode);
99100
99032
  return [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_4__.getNewBindingPathExpression)(node)];
99101
99033
  }
99102
- *doBuildKCLangValidations(buildContext, formSchemaRng) {
99034
+ *doBuildKCLangValidations(buildContext, formSchemaRng, prefixPath) {
99103
99035
  const node = this.getCurrentNodeAs(_InputNode__WEBPACK_IMPORTED_MODULE_8__.InputNode);
99104
99036
  const element = formSchemaRng.getElementByPath(node.getFullPath());
99105
99037
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.PathTokens.each);
@@ -99109,7 +99041,7 @@ class InputConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Su
99109
99041
  if (typeNode == undefined && schemaTypeNode == undefined || ownPath == undefined) {
99110
99042
  return;
99111
99043
  }
99112
- yield* buildContext.buildBasicValidations(ownPath, targetPath, typeNode, schemaTypeNode, node.validationInfo.optional == undefined ? element === null || element === void 0 ? void 0 : element.isOptional() : node.validationInfo.optional);
99044
+ yield* buildContext.buildBasicValidations(ownPath, targetPath, prefixPath, typeNode, schemaTypeNode, node.validationInfo.optional == undefined ? element === null || element === void 0 ? void 0 : element.isOptional() : node.validationInfo.optional);
99113
99045
  }
99114
99046
  doBuildNodeValidations(validationGenerator) {
99115
99047
  const node = this.getCurrentNodeAs(_InputNode__WEBPACK_IMPORTED_MODULE_8__.InputNode);
@@ -99872,7 +99804,7 @@ class KladrConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_5__.Su
99872
99804
  static getAcceptNodeClass() {
99873
99805
  return _KladrNode__WEBPACK_IMPORTED_MODULE_8__.KladrNode;
99874
99806
  }
99875
- *doBuildKCLangValidations(buildContext, formSchemaRng) {
99807
+ *doBuildKCLangValidations(buildContext, formSchemaRng, prefixPath) {
99876
99808
  const node = this.getCurrentNodeAs(_KladrNode__WEBPACK_IMPORTED_MODULE_8__.KladrNode);
99877
99809
  const element = formSchemaRng.getElementByPath(node.getFullPath());
99878
99810
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_7__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_7__.PathTokens.each);
@@ -99882,7 +99814,7 @@ class KladrConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_5__.Su
99882
99814
  if (typeNode == undefined && schemaTypeNode == undefined || ownPath == undefined) {
99883
99815
  return;
99884
99816
  }
99885
- yield* buildContext.buildBasicValidations(ownPath, targetPath, typeNode, schemaTypeNode, node.validationInfo.optional == undefined ? element === null || element === void 0 ? void 0 : element.isOptional() : node.validationInfo.optional);
99817
+ yield* buildContext.buildBasicValidations(ownPath, targetPath, prefixPath, typeNode, schemaTypeNode, node.validationInfo.optional == undefined ? element === null || element === void 0 ? void 0 : element.isOptional() : node.validationInfo.optional);
99886
99818
  }
99887
99819
  doBuildNodeValidations(validationGenerator) {
99888
99820
  const node = this.getCurrentNodeAs(_KladrNode__WEBPACK_IMPORTED_MODULE_8__.KladrNode);
@@ -100178,7 +100110,7 @@ class PicklistConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__
100178
100110
  static getAcceptNodeClass() {
100179
100111
  return _PicklistNode__WEBPACK_IMPORTED_MODULE_7__.PicklistNode;
100180
100112
  }
100181
- *doBuildKCLangValidations(buildContext, formSchemaRng) {
100113
+ *doBuildKCLangValidations(buildContext, formSchemaRng, prefixPath) {
100182
100114
  const node = this.getCurrentNodeAs(_PicklistNode__WEBPACK_IMPORTED_MODULE_7__.PicklistNode);
100183
100115
  const element = formSchemaRng.getElementByPath(node.getFullPath());
100184
100116
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.PathTokens.each);
@@ -100189,7 +100121,7 @@ class PicklistConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__
100189
100121
  return;
100190
100122
  }
100191
100123
  const ownPathFixed = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.createRelativeFromTokens)([...ownPath.getPathParts()].filter(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.PathTokens.isSimpleToken));
100192
- yield* buildContext.buildBasicValidations(ownPathFixed, targetPath, typeNode, schemaTypeNode, node.validationInfo.optional == undefined ? element === null || element === void 0 ? void 0 : element.isOptional() : node.validationInfo.optional, node.gId);
100124
+ yield* buildContext.buildBasicValidations(ownPathFixed, targetPath, prefixPath, typeNode, schemaTypeNode, node.validationInfo.optional == undefined ? element === null || element === void 0 ? void 0 : element.isOptional() : node.validationInfo.optional, node.gId);
100193
100125
  }
100194
100126
  doBuildNodeValidations(validationGenerator) {
100195
100127
  const node = this.getCurrentNodeAs(_PicklistNode__WEBPACK_IMPORTED_MODULE_7__.PicklistNode);
@@ -100656,7 +100588,7 @@ class RadioGroupConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1
100656
100588
  const node = this.getCurrentNodeAs(_RadioGroupNode__WEBPACK_IMPORTED_MODULE_6__.RadioGroupNode);
100657
100589
  validationGenerator.processValidations(this.getResolvedBindingPath(node), node.validationInfo.optional, validationGenerator.getTypeNode(node.validationInfo), undefined, node.validationInfo.emptydescription, undefined);
100658
100590
  }
100659
- *doBuildKCLangValidations(buildContext, formSchemaRng) {
100591
+ *doBuildKCLangValidations(buildContext, formSchemaRng, prefixPath) {
100660
100592
  const node = this.getCurrentNodeAs(_RadioGroupNode__WEBPACK_IMPORTED_MODULE_6__.RadioGroupNode);
100661
100593
  const element = formSchemaRng.getElementByPath(node.getFullPath());
100662
100594
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.PathTokens.each);
@@ -100666,7 +100598,7 @@ class RadioGroupConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1
100666
100598
  if (typeNode == undefined && schemaTypeNode == undefined || ownPath == undefined) {
100667
100599
  return;
100668
100600
  }
100669
- yield* buildContext.buildBasicValidations(ownPath, targetPath, typeNode, schemaTypeNode, node.validationInfo.optional == undefined ? element === null || element === void 0 ? void 0 : element.isOptional() : node.validationInfo.optional);
100601
+ yield* buildContext.buildBasicValidations(ownPath, targetPath, prefixPath, typeNode, schemaTypeNode, node.validationInfo.optional == undefined ? element === null || element === void 0 ? void 0 : element.isOptional() : node.validationInfo.optional);
100670
100602
  }
100671
100603
  doBuildNormalizeRules(builder) {
100672
100604
  const node = this.getCurrentNodeAs(_RadioGroupNode__WEBPACK_IMPORTED_MODULE_6__.RadioGroupNode);
@@ -101175,7 +101107,7 @@ class SelectConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__.S
101175
101107
  disabled: node.disabled
101176
101108
  }), context.addPathSectionDeclarationEntry(node, node.dataBinding.requisite), context.addVisibilityPathDeclEntryNew(node, node.dataBinding.requisite));
101177
101109
  }
101178
- *doBuildKCLangValidations(buildContext, formSchemaRng) {
101110
+ *doBuildKCLangValidations(buildContext, formSchemaRng, prefixPath) {
101179
101111
  const node = this.getCurrentNodeAs(_SelectNode__WEBPACK_IMPORTED_MODULE_6__.SelectNode);
101180
101112
  const element = formSchemaRng.getElementByPath(node.getFullPath());
101181
101113
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.PathTokens.each);
@@ -101185,7 +101117,7 @@ class SelectConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__.S
101185
101117
  if (typeNode == undefined && schemaTypeNode == undefined || ownPath == undefined) {
101186
101118
  return;
101187
101119
  }
101188
- yield* buildContext.buildBasicValidations(ownPath, targetPath, typeNode, schemaTypeNode, node.validationInfo.optional == undefined ? element === null || element === void 0 ? void 0 : element.isOptional() : node.validationInfo.optional);
101120
+ yield* buildContext.buildBasicValidations(ownPath, targetPath, prefixPath, typeNode, schemaTypeNode, node.validationInfo.optional == undefined ? element === null || element === void 0 ? void 0 : element.isOptional() : node.validationInfo.optional);
101189
101121
  }
101190
101122
  doBuildNormalizeRules(builder) {
101191
101123
  const node = this.getCurrentNodeAs(_SelectNode__WEBPACK_IMPORTED_MODULE_6__.SelectNode);
@@ -101915,7 +101847,7 @@ class TaxRebateConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3_
101915
101847
  const node = this.getCurrentNodeAs(_TaxRebateNode__WEBPACK_IMPORTED_MODULE_7__.TaxRebateNode);
101916
101848
  return [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_5__.getNewBindingPathExpression)(node)];
101917
101849
  }
101918
- *doBuildKCLangValidations(buildContext, formSchemaRng) {
101850
+ *doBuildKCLangValidations(buildContext, formSchemaRng, prefixPath) {
101919
101851
  const node = this.getCurrentNodeAs(_TaxRebateNode__WEBPACK_IMPORTED_MODULE_7__.TaxRebateNode);
101920
101852
  const element = formSchemaRng.getElementByPath(node.getFullPath());
101921
101853
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.PathTokens.each);
@@ -101925,7 +101857,7 @@ class TaxRebateConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3_
101925
101857
  if (typeNode == undefined && schemaTypeNode == undefined || ownPath == undefined) {
101926
101858
  return;
101927
101859
  }
101928
- yield* buildContext.buildBasicValidations(ownPath, targetPath, typeNode, schemaTypeNode, node.validationInfo.optional == undefined ? element === null || element === void 0 ? void 0 : element.isOptional() : node.validationInfo.optional);
101860
+ yield* buildContext.buildBasicValidations(ownPath, targetPath, prefixPath, typeNode, schemaTypeNode, node.validationInfo.optional == undefined ? element === null || element === void 0 ? void 0 : element.isOptional() : node.validationInfo.optional);
101929
101861
  }
101930
101862
  doBuildNodeValidations(validationGenerator) {
101931
101863
  const node = this.getCurrentNodeAs(_TaxRebateNode__WEBPACK_IMPORTED_MODULE_7__.TaxRebateNode);
@@ -102172,7 +102104,7 @@ class TextAreaConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__
102172
102104
  const node = this.getCurrentNodeAs(_TextAreaNode__WEBPACK_IMPORTED_MODULE_8__.TextAreaNode);
102173
102105
  validationGenerator.processValidations(this.getResolvedBindingPath(node), node.validationInfo.optional, validationGenerator.getTypeNode(node.validationInfo), undefined, node.validationInfo.emptydescription, undefined);
102174
102106
  }
102175
- *doBuildKCLangValidations(buildContext, formSchemaRng) {
102107
+ *doBuildKCLangValidations(buildContext, formSchemaRng, prefixPath) {
102176
102108
  const node = this.getCurrentNodeAs(_TextAreaNode__WEBPACK_IMPORTED_MODULE_8__.TextAreaNode);
102177
102109
  const element = formSchemaRng.getElementByPath(node.getFullPath());
102178
102110
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.PathTokens.each);
@@ -102182,7 +102114,7 @@ class TextAreaConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__
102182
102114
  if (typeNode == undefined && schemaTypeNode == undefined || ownPath == undefined) {
102183
102115
  return;
102184
102116
  }
102185
- yield* buildContext.buildBasicValidations(ownPath, targetPath, typeNode, schemaTypeNode, node.validationInfo.optional == undefined ? element === null || element === void 0 ? void 0 : element.isOptional() : node.validationInfo.optional);
102117
+ yield* buildContext.buildBasicValidations(ownPath, targetPath, prefixPath, typeNode, schemaTypeNode, node.validationInfo.optional == undefined ? element === null || element === void 0 ? void 0 : element.isOptional() : node.validationInfo.optional);
102186
102118
  }
102187
102119
  doBuildNormalizeRules(builder) {
102188
102120
  const node = this.getCurrentNodeAs(_TextAreaNode__WEBPACK_IMPORTED_MODULE_8__.TextAreaNode);
@@ -102887,7 +102819,7 @@ class PopupTextAreaConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODUL
102887
102819
  const node = this.getCurrentNodeAs(_PopupTextAreaNode__WEBPACK_IMPORTED_MODULE_7__.PopupTextAreaNode);
102888
102820
  validationGenerator.processValidations(this.getResolvedBindingPath(node), node.validationInfo.optional, validationGenerator.getTypeNode(node.validationInfo), undefined, node.validationInfo.emptydescription, undefined);
102889
102821
  }
102890
- *doBuildKCLangValidations(buildContext, formSchemaRng) {
102822
+ *doBuildKCLangValidations(buildContext, formSchemaRng, prefixPath) {
102891
102823
  const node = this.getCurrentNodeAs(_PopupTextAreaNode__WEBPACK_IMPORTED_MODULE_7__.PopupTextAreaNode);
102892
102824
  const element = formSchemaRng.getElementByPath(node.getFullPath());
102893
102825
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.PathTokens.each);
@@ -102897,7 +102829,7 @@ class PopupTextAreaConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODUL
102897
102829
  if (typeNode == undefined && schemaTypeNode == undefined || ownPath == undefined) {
102898
102830
  return;
102899
102831
  }
102900
- yield* buildContext.buildBasicValidations(ownPath, targetPath, typeNode, schemaTypeNode, node.validationInfo.optional == undefined ? element === null || element === void 0 ? void 0 : element.isOptional() : node.validationInfo.optional);
102832
+ yield* buildContext.buildBasicValidations(ownPath, targetPath, prefixPath, typeNode, schemaTypeNode, node.validationInfo.optional == undefined ? element === null || element === void 0 ? void 0 : element.isOptional() : node.validationInfo.optional);
102901
102833
  }
102902
102834
  doBuildDataDeclaration(context) {
102903
102835
  const node = this.getCurrentNodeAs(_PopupTextAreaNode__WEBPACK_IMPORTED_MODULE_7__.PopupTextAreaNode);
@@ -103452,7 +103384,7 @@ class FIOConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__.Suga
103452
103384
  pathSuffix: "Отчество"
103453
103385
  })];
103454
103386
  }
103455
- doBuildKCLangValidations(buildContext, formSchemaRng) {
103387
+ doBuildKCLangValidations(buildContext, formSchemaRng, prefixPath) {
103456
103388
  var _node$getOwnPathForKC;
103457
103389
  const node = this.getCurrentNodeAs(_FIONode__WEBPACK_IMPORTED_MODULE_7__.FIONode);
103458
103390
  const minlengthTypeCheckNode = new _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.MinlengthTypeCheckNode();
@@ -103464,7 +103396,7 @@ class FIOConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__.Suga
103464
103396
  typeNode.base = "string";
103465
103397
  const ownPath = ((_node$getOwnPathForKC = node.getOwnPathForKCLang()) !== null && _node$getOwnPathForKC !== void 0 ? _node$getOwnPathForKC : (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.createRelativeFromTokens)([])).normalize();
103466
103398
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.PathTokens.each).normalize();
103467
- return _Common_IterableUtils__WEBPACK_IMPORTED_MODULE_5__.IterUtils.concat(buildContext.buildBasicValidations(ownPath.joinWith("Имя"), targetPath.joinWith("Имя"), typeNode, formSchemaRng.getTypeNodeByPath(targetPath.joinWith("Имя")), false, undefined, node.emptydescription), buildContext.buildBasicValidations(ownPath.joinWith("Фамилия"), targetPath.joinWith("Фамилия"), typeNode, formSchemaRng.getTypeNodeByPath(targetPath.joinWith("Фамилия")), false, undefined, node.emptydescription), buildContext.buildBasicValidations(ownPath.joinWith("Отчество"), targetPath.joinWith("Отчество"), typeNode, formSchemaRng.getTypeNodeByPath(targetPath.joinWith("Отчество")), true, undefined, node.emptydescription));
103399
+ return _Common_IterableUtils__WEBPACK_IMPORTED_MODULE_5__.IterUtils.concat(buildContext.buildBasicValidations(ownPath.joinWith("Имя"), targetPath.joinWith("Имя"), prefixPath, typeNode, formSchemaRng.getTypeNodeByPath(targetPath.joinWith("Имя")), false, undefined, node.emptydescription), buildContext.buildBasicValidations(ownPath.joinWith("Фамилия"), targetPath.joinWith("Фамилия"), prefixPath, typeNode, formSchemaRng.getTypeNodeByPath(targetPath.joinWith("Фамилия")), false, undefined, node.emptydescription), buildContext.buildBasicValidations(ownPath.joinWith("Отчество"), targetPath.joinWith("Отчество"), prefixPath, typeNode, formSchemaRng.getTypeNodeByPath(targetPath.joinWith("Отчество")), true, undefined, node.emptydescription));
103468
103400
  }
103469
103401
  buildChildrenDataDeclaration(context) {
103470
103402
  const node = this.getCurrentNodeAs(_FIONode__WEBPACK_IMPORTED_MODULE_7__.FIONode);
@@ -103791,7 +103723,7 @@ class TextConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__.Sug
103791
103723
  const node = this.getCurrentNodeAs(_TextNode__WEBPACK_IMPORTED_MODULE_7__.TextNode);
103792
103724
  validationGenerator.processValidations(this.getResolvedBindingPath(node), node.validationInfo.optional, validationGenerator.getTypeNode(node.validationInfo), undefined, node.validationInfo.emptydescription, undefined);
103793
103725
  }
103794
- *doBuildKCLangValidations(buildContext, formSchemaRng) {
103726
+ *doBuildKCLangValidations(buildContext, formSchemaRng, prefixPath) {
103795
103727
  const node = this.getCurrentNodeAs(_TextNode__WEBPACK_IMPORTED_MODULE_7__.TextNode);
103796
103728
  const element = formSchemaRng.getElementByPath(node.getFullPath());
103797
103729
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_4__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_4__.PathTokens.each);
@@ -103801,7 +103733,7 @@ class TextConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__.Sug
103801
103733
  if (typeNode == undefined && schemaTypeNode == undefined || ownPath == undefined) {
103802
103734
  return;
103803
103735
  }
103804
- yield* buildContext.buildBasicValidations(ownPath, targetPath, typeNode, schemaTypeNode, node.validationInfo.optional == undefined ? element === null || element === void 0 ? void 0 : element.isOptional() : node.validationInfo.optional, undefined, node.validationInfo.emptydescription);
103736
+ yield* buildContext.buildBasicValidations(ownPath, targetPath, prefixPath, typeNode, schemaTypeNode, node.validationInfo.optional == undefined ? element === null || element === void 0 ? void 0 : element.isOptional() : node.validationInfo.optional, undefined, node.validationInfo.emptydescription);
103805
103737
  }
103806
103738
  doBuildNormalizeRules(builder) {
103807
103739
  const node = this.getCurrentNodeAs(_TextNode__WEBPACK_IMPORTED_MODULE_7__.TextNode);
@@ -104667,43 +104599,43 @@ __webpack_require__.r(__webpack_exports__);
104667
104599
  /* harmony export */ combineByAndKCLangExpr: () => (/* binding */ combineByAndKCLangExpr)
104668
104600
  /* harmony export */ });
104669
104601
  /* harmony import */ var _Common_AutoValidationUtils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../Common/AutoValidationUtils */ "./Common/AutoValidationUtils.ts");
104670
- /* harmony import */ var _Common_IterableUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../Common/IterableUtils */ "./Common/IterableUtils.ts");
104671
- /* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
104672
- /* harmony import */ var _Common_ModelPath_PathSplitHelper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../Common/ModelPath/PathSplitHelper */ "./Common/ModelPath/PathSplitHelper.ts");
104673
- /* harmony import */ var _Common_TypingUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../Common/TypingUtils */ "./Common/TypingUtils.ts");
104674
- /* harmony import */ var _common_KCLang_CodeDom_AndExpression__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/AndExpression */ "./Generator/src/common/KCLang/CodeDom/AndExpression.ts");
104675
- /* harmony import */ var _common_KCLang_CodeDom_CastExpression__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/CastExpression */ "./Generator/src/common/KCLang/CodeDom/CastExpression.ts");
104676
- /* harmony import */ var _common_KCLang_CodeDom_CheckStatement__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/CheckStatement */ "./Generator/src/common/KCLang/CodeDom/CheckStatement.ts");
104677
- /* harmony import */ var _common_KCLang_CodeDom_DecimalConstExpression__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/DecimalConstExpression */ "./Generator/src/common/KCLang/CodeDom/DecimalConstExpression.ts");
104678
- /* harmony import */ var _common_KCLang_CodeDom_DescriptionText__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/DescriptionText */ "./Generator/src/common/KCLang/CodeDom/DescriptionText.ts");
104679
- /* harmony import */ var _common_KCLang_CodeDom_EqExpression__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/EqExpression */ "./Generator/src/common/KCLang/CodeDom/EqExpression.ts");
104680
- /* harmony import */ var _common_KCLang_CodeDom_Functions_ExistsFunctionCall__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/Functions/ExistsFunctionCall */ "./Generator/src/common/KCLang/CodeDom/Functions/ExistsFunctionCall.ts");
104681
- /* harmony import */ var _common_KCLang_CodeDom_Functions_GetPicklistValuesFunctionCall__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/Functions/GetPicklistValuesFunctionCall */ "./Generator/src/common/KCLang/CodeDom/Functions/GetPicklistValuesFunctionCall.ts");
104682
- /* harmony import */ var _common_KCLang_CodeDom_Functions_JoinFunctionCall__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/Functions/JoinFunctionCall */ "./Generator/src/common/KCLang/CodeDom/Functions/JoinFunctionCall.ts");
104683
- /* harmony import */ var _common_KCLang_CodeDom_Functions_LengthFunctionCall__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/Functions/LengthFunctionCall */ "./Generator/src/common/KCLang/CodeDom/Functions/LengthFunctionCall.ts");
104684
- /* harmony import */ var _common_KCLang_CodeDom_Functions_RegexMatchFunctionCall__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/Functions/RegexMatchFunctionCall */ "./Generator/src/common/KCLang/CodeDom/Functions/RegexMatchFunctionCall.ts");
104685
- /* harmony import */ var _common_KCLang_CodeDom_GeExpression__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/GeExpression */ "./Generator/src/common/KCLang/CodeDom/GeExpression.ts");
104686
- /* harmony import */ var _common_KCLang_CodeDom_IfStatement__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/IfStatement */ "./Generator/src/common/KCLang/CodeDom/IfStatement.ts");
104687
- /* harmony import */ var _common_KCLang_CodeDom_KCLangPath__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/KCLangPath */ "./Generator/src/common/KCLang/CodeDom/KCLangPath.ts");
104688
- /* harmony import */ var _common_KCLang_CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/KCLangType */ "./Generator/src/common/KCLang/CodeDom/KCLangType.ts");
104689
- /* harmony import */ var _common_KCLang_CodeDom_LeExpression__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/LeExpression */ "./Generator/src/common/KCLang/CodeDom/LeExpression.ts");
104690
- /* harmony import */ var _common_KCLang_CodeDom_NotEqExpression__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/NotEqExpression */ "./Generator/src/common/KCLang/CodeDom/NotEqExpression.ts");
104691
- /* harmony import */ var _common_KCLang_CodeDom_NotExpression__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/NotExpression */ "./Generator/src/common/KCLang/CodeDom/NotExpression.ts");
104692
- /* harmony import */ var _common_KCLang_CodeDom_OneOfExpression__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/OneOfExpression */ "./Generator/src/common/KCLang/CodeDom/OneOfExpression.ts");
104693
- /* harmony import */ var _common_KCLang_CodeDom_OrExpression__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/OrExpression */ "./Generator/src/common/KCLang/CodeDom/OrExpression.ts");
104694
- /* harmony import */ var _common_KCLang_CodeDom_StringArrayConstExpression__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/StringArrayConstExpression */ "./Generator/src/common/KCLang/CodeDom/StringArrayConstExpression.ts");
104695
- /* harmony import */ var _common_KCLang_CodeDom_StringConstExpression__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/StringConstExpression */ "./Generator/src/common/KCLang/CodeDom/StringConstExpression.ts");
104696
- /* harmony import */ var _common_KCLang_CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/ValueReferenceExpression */ "./Generator/src/common/KCLang/CodeDom/ValueReferenceExpression.ts");
104697
- /* harmony import */ var _common_KCLang_CodeDom_WithBlock__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/WithBlock */ "./Generator/src/common/KCLang/CodeDom/WithBlock.ts");
104698
- /* harmony import */ var _common_SchemaRng_FormSchemaRng__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ../../common/SchemaRng/FormSchemaRng */ "./Generator/src/common/SchemaRng/FormSchemaRng.ts");
104699
- /* harmony import */ var _common_SchemaRng_Nodes_SchemaRngRoot__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ../../common/SchemaRng/Nodes/SchemaRngRoot */ "./Generator/src/common/SchemaRng/Nodes/SchemaRngRoot.ts");
104700
- /* harmony import */ var _common_SchemaRng_StringTypeMessageGenerator__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ../../common/SchemaRng/StringTypeMessageGenerator */ "./Generator/src/common/SchemaRng/StringTypeMessageGenerator.ts");
104701
- /* harmony import */ var _validationGenerator_MaxOptionalChildrenLimit__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ../validationGenerator/MaxOptionalChildrenLimit */ "./Generator/src/generators/validationGenerator/MaxOptionalChildrenLimit.ts");
104702
- /* harmony import */ var _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ../validationGenerator/Nodes/TypeNode */ "./Generator/src/generators/validationGenerator/Nodes/TypeNode.ts");
104703
- /* harmony import */ var _common_KCLang_CodeDom_Functions_IsEqualToAutoCalculatedFunctionCall__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/Functions/IsEqualToAutoCalculatedFunctionCall */ "./Generator/src/common/KCLang/CodeDom/Functions/IsEqualToAutoCalculatedFunctionCall.ts");
104704
- /* harmony import */ var _common_KCLang_CodeDom_KCLangRawStringExpression__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/KCLangRawStringExpression */ "./Generator/src/common/KCLang/CodeDom/KCLangRawStringExpression.ts");
104705
- /* harmony import */ var _common_KCLang_CodeDom_GtExpression__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/GtExpression */ "./Generator/src/common/KCLang/CodeDom/GtExpression.ts");
104706
- /* harmony import */ var _common_KCLang_CodeDom_LtExpression__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/LtExpression */ "./Generator/src/common/KCLang/CodeDom/LtExpression.ts");
104602
+ /* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
104603
+ /* harmony import */ var _Common_ModelPath_PathSplitHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../Common/ModelPath/PathSplitHelper */ "./Common/ModelPath/PathSplitHelper.ts");
104604
+ /* harmony import */ var _Common_TypingUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../Common/TypingUtils */ "./Common/TypingUtils.ts");
104605
+ /* harmony import */ var _common_KCLang_CodeDom_AndExpression__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/AndExpression */ "./Generator/src/common/KCLang/CodeDom/AndExpression.ts");
104606
+ /* harmony import */ var _common_KCLang_CodeDom_CastExpression__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/CastExpression */ "./Generator/src/common/KCLang/CodeDom/CastExpression.ts");
104607
+ /* harmony import */ var _common_KCLang_CodeDom_CheckStatement__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/CheckStatement */ "./Generator/src/common/KCLang/CodeDom/CheckStatement.ts");
104608
+ /* harmony import */ var _common_KCLang_CodeDom_DecimalConstExpression__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/DecimalConstExpression */ "./Generator/src/common/KCLang/CodeDom/DecimalConstExpression.ts");
104609
+ /* harmony import */ var _common_KCLang_CodeDom_DescriptionText__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/DescriptionText */ "./Generator/src/common/KCLang/CodeDom/DescriptionText.ts");
104610
+ /* harmony import */ var _common_KCLang_CodeDom_EqExpression__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/EqExpression */ "./Generator/src/common/KCLang/CodeDom/EqExpression.ts");
104611
+ /* harmony import */ var _common_KCLang_CodeDom_Functions_ExistsFunctionCall__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/Functions/ExistsFunctionCall */ "./Generator/src/common/KCLang/CodeDom/Functions/ExistsFunctionCall.ts");
104612
+ /* harmony import */ var _common_KCLang_CodeDom_Functions_GetPicklistValuesFunctionCall__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/Functions/GetPicklistValuesFunctionCall */ "./Generator/src/common/KCLang/CodeDom/Functions/GetPicklistValuesFunctionCall.ts");
104613
+ /* harmony import */ var _common_KCLang_CodeDom_Functions_JoinFunctionCall__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/Functions/JoinFunctionCall */ "./Generator/src/common/KCLang/CodeDom/Functions/JoinFunctionCall.ts");
104614
+ /* harmony import */ var _common_KCLang_CodeDom_Functions_LengthFunctionCall__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/Functions/LengthFunctionCall */ "./Generator/src/common/KCLang/CodeDom/Functions/LengthFunctionCall.ts");
104615
+ /* harmony import */ var _common_KCLang_CodeDom_Functions_RegexMatchFunctionCall__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/Functions/RegexMatchFunctionCall */ "./Generator/src/common/KCLang/CodeDom/Functions/RegexMatchFunctionCall.ts");
104616
+ /* harmony import */ var _common_KCLang_CodeDom_GeExpression__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/GeExpression */ "./Generator/src/common/KCLang/CodeDom/GeExpression.ts");
104617
+ /* harmony import */ var _common_KCLang_CodeDom_IfStatement__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/IfStatement */ "./Generator/src/common/KCLang/CodeDom/IfStatement.ts");
104618
+ /* harmony import */ var _common_KCLang_CodeDom_KCLangPath__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/KCLangPath */ "./Generator/src/common/KCLang/CodeDom/KCLangPath.ts");
104619
+ /* harmony import */ var _common_KCLang_CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/KCLangType */ "./Generator/src/common/KCLang/CodeDom/KCLangType.ts");
104620
+ /* harmony import */ var _common_KCLang_CodeDom_LeExpression__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/LeExpression */ "./Generator/src/common/KCLang/CodeDom/LeExpression.ts");
104621
+ /* harmony import */ var _common_KCLang_CodeDom_NotEqExpression__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/NotEqExpression */ "./Generator/src/common/KCLang/CodeDom/NotEqExpression.ts");
104622
+ /* harmony import */ var _common_KCLang_CodeDom_NotExpression__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/NotExpression */ "./Generator/src/common/KCLang/CodeDom/NotExpression.ts");
104623
+ /* harmony import */ var _common_KCLang_CodeDom_OneOfExpression__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/OneOfExpression */ "./Generator/src/common/KCLang/CodeDom/OneOfExpression.ts");
104624
+ /* harmony import */ var _common_KCLang_CodeDom_OrExpression__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/OrExpression */ "./Generator/src/common/KCLang/CodeDom/OrExpression.ts");
104625
+ /* harmony import */ var _common_KCLang_CodeDom_StringArrayConstExpression__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/StringArrayConstExpression */ "./Generator/src/common/KCLang/CodeDom/StringArrayConstExpression.ts");
104626
+ /* harmony import */ var _common_KCLang_CodeDom_StringConstExpression__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/StringConstExpression */ "./Generator/src/common/KCLang/CodeDom/StringConstExpression.ts");
104627
+ /* harmony import */ var _common_KCLang_CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/ValueReferenceExpression */ "./Generator/src/common/KCLang/CodeDom/ValueReferenceExpression.ts");
104628
+ /* harmony import */ var _common_KCLang_CodeDom_WithBlock__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/WithBlock */ "./Generator/src/common/KCLang/CodeDom/WithBlock.ts");
104629
+ /* harmony import */ var _common_SchemaRng_FormSchemaRng__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ../../common/SchemaRng/FormSchemaRng */ "./Generator/src/common/SchemaRng/FormSchemaRng.ts");
104630
+ /* harmony import */ var _common_SchemaRng_Nodes_SchemaRngRoot__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ../../common/SchemaRng/Nodes/SchemaRngRoot */ "./Generator/src/common/SchemaRng/Nodes/SchemaRngRoot.ts");
104631
+ /* harmony import */ var _common_SchemaRng_StringTypeMessageGenerator__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ../../common/SchemaRng/StringTypeMessageGenerator */ "./Generator/src/common/SchemaRng/StringTypeMessageGenerator.ts");
104632
+ /* harmony import */ var _validationGenerator_MaxOptionalChildrenLimit__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ../validationGenerator/MaxOptionalChildrenLimit */ "./Generator/src/generators/validationGenerator/MaxOptionalChildrenLimit.ts");
104633
+ /* harmony import */ var _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ../validationGenerator/Nodes/TypeNode */ "./Generator/src/generators/validationGenerator/Nodes/TypeNode.ts");
104634
+ /* harmony import */ var _common_KCLang_CodeDom_Functions_IsEqualToAutoCalculatedFunctionCall__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/Functions/IsEqualToAutoCalculatedFunctionCall */ "./Generator/src/common/KCLang/CodeDom/Functions/IsEqualToAutoCalculatedFunctionCall.ts");
104635
+ /* harmony import */ var _common_KCLang_CodeDom_KCLangRawStringExpression__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/KCLangRawStringExpression */ "./Generator/src/common/KCLang/CodeDom/KCLangRawStringExpression.ts");
104636
+ /* harmony import */ var _common_KCLang_CodeDom_GtExpression__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/GtExpression */ "./Generator/src/common/KCLang/CodeDom/GtExpression.ts");
104637
+ /* harmony import */ var _common_KCLang_CodeDom_LtExpression__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ../../common/KCLang/CodeDom/LtExpression */ "./Generator/src/common/KCLang/CodeDom/LtExpression.ts");
104638
+ /* harmony import */ var _Common_IterableUtils__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ../../../../Common/IterableUtils */ "./Common/IterableUtils.ts");
104707
104639
  /* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
104708
104640
 
104709
104641
 
@@ -104757,7 +104689,19 @@ class KCLangCalculationsBuildContext {
104757
104689
  getSchemaTypeInfo(targetPath) {
104758
104690
  return this.nodeTypeInfoHelper.getSchemaTypeInfo(targetPath);
104759
104691
  }
104760
- *buildBasicValidations(targetPath, targetFullPath, typeNode, schemaTypeNode, optional, nodeGId, highOrderDescription) {
104692
+ buildBasicValidations(targetPath, targetFullPath, prefixPath, typeNode, schemaTypeNode, optional, nodeGId, highOrderDescription) {
104693
+ const getRelativePath = () => {
104694
+ const targetFullPathForKCLang = targetFullPath.getPathWithoutIterations();
104695
+ const suffix = prefixPath.getSuffixPathFrom(targetFullPathForKCLang);
104696
+ const amountLevelUpSteps = prefixPath.tokensCount() - (targetFullPathForKCLang.tokensCount() - suffix.tokensCount());
104697
+ const relativeFromTokens = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.createRelativeFromTokens)([...[..._Common_IterableUtils__WEBPACK_IMPORTED_MODULE_37__.IterUtils.range(amountLevelUpSteps)].map(_ => ".."), ...suffix.getPathParts()]);
104698
+ return relativeFromTokens;
104699
+ };
104700
+ const relativeTargetPath = targetPath.isAbsolute() ? getRelativePath() : targetPath;
104701
+ const checks = [...this.buildBasicValidationsInternal(relativeTargetPath, targetFullPath, typeNode, schemaTypeNode, optional, nodeGId, highOrderDescription)];
104702
+ return checks;
104703
+ }
104704
+ *buildBasicValidationsInternal(targetPath, targetFullPath, typeNode, schemaTypeNode, optional, nodeGId, highOrderDescription) {
104761
104705
  var _typeNode$base, _typeNode$description;
104762
104706
  const baseName = (_typeNode$base = typeNode === null || typeNode === void 0 ? void 0 : typeNode.base) !== null && _typeNode$base !== void 0 ? _typeNode$base : schemaTypeNode === null || schemaTypeNode === void 0 ? void 0 : schemaTypeNode.baseType;
104763
104707
  const baseDescription = (_typeNode$description = typeNode === null || typeNode === void 0 ? void 0 : typeNode.description) !== null && _typeNode$description !== void 0 ? _typeNode$description : schemaTypeNode === null || schemaTypeNode === void 0 ? void 0 : schemaTypeNode.description;
@@ -104768,27 +104712,27 @@ class KCLangCalculationsBuildContext {
104768
104712
  valueChecks.push(...Iterator.from(this.createTypeValidations(targetPath, typeNode, schemaTypeNode, nodeGId)).toArray());
104769
104713
  const schemaNode = this.schemaRng.getElementByPath(targetFullPath);
104770
104714
  if (!optional) {
104771
- var _ref, _ref2, _ref3, _ref4, _allChildrenPaths$len, _allChildrenPaths, _allChildrenPaths2, _IterUtils$last;
104715
+ var _ref, _ref2, _ref3, _ref4, _allChildrenPaths$len, _allChildrenPaths, _allChildrenPaths2;
104772
104716
  const requiredDescription = (_ref = (_ref2 = (_ref3 = (_ref4 = highOrderDescription !== null && highOrderDescription !== void 0 ? highOrderDescription : typeNode === null || typeNode === void 0 ? void 0 : typeNode.requiredDescription) !== null && _ref4 !== void 0 ? _ref4 : schemaTypeNode === null || schemaTypeNode === void 0 ? void 0 : schemaTypeNode.requiredDescription) !== null && _ref3 !== void 0 ? _ref3 : typeNode === null || typeNode === void 0 ? void 0 : typeNode.description) !== null && _ref2 !== void 0 ? _ref2 : schemaTypeNode === null || schemaTypeNode === void 0 ? void 0 : schemaTypeNode.description) !== null && _ref !== void 0 ? _ref : "Поле должно быть заполнено";
104773
104717
  const parentNode = schemaNode != undefined ? this.getFirstAcceptedParent(schemaNode) : undefined;
104774
- let allChildrenPaths = parentNode instanceof _common_SchemaRng_FormSchemaRng__WEBPACK_IMPORTED_MODULE_29__.FormSchemaRngElement ? this.schemaRng.getAllChildValueNodes(parentNode).map(x => this.schemaRng.getPath(x, _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_2__.PathTokens.each)).filter(x => !(0,_Common_ModelPath_PathSplitHelper__WEBPACK_IMPORTED_MODULE_3__.getMatchedAndDifferentModelPaths)(targetFullPath, x).differentPath.isContainIteration()) : undefined;
104775
- if (((_allChildrenPaths$len = (_allChildrenPaths = allChildrenPaths) === null || _allChildrenPaths === void 0 ? void 0 : _allChildrenPaths.length) !== null && _allChildrenPaths$len !== void 0 ? _allChildrenPaths$len : 0) > _validationGenerator_MaxOptionalChildrenLimit__WEBPACK_IMPORTED_MODULE_32__.maxOptionalChildrenLimit) {
104718
+ let allChildrenPaths = parentNode instanceof _common_SchemaRng_FormSchemaRng__WEBPACK_IMPORTED_MODULE_28__.FormSchemaRngElement ? this.schemaRng.getAllChildValueNodes(parentNode).map(x => this.schemaRng.getPath(x, _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.PathTokens.each)).filter(x => !(0,_Common_ModelPath_PathSplitHelper__WEBPACK_IMPORTED_MODULE_2__.getMatchedAndDifferentModelPaths)(targetFullPath, x).differentPath.isContainIteration()) : undefined;
104719
+ if (((_allChildrenPaths$len = (_allChildrenPaths = allChildrenPaths) === null || _allChildrenPaths === void 0 ? void 0 : _allChildrenPaths.length) !== null && _allChildrenPaths$len !== void 0 ? _allChildrenPaths$len : 0) > _validationGenerator_MaxOptionalChildrenLimit__WEBPACK_IMPORTED_MODULE_31__.maxOptionalChildrenLimit) {
104776
104720
  allChildrenPaths = undefined;
104777
104721
  }
104778
- const restChecks = (_allChildrenPaths2 = allChildrenPaths) === null || _allChildrenPaths2 === void 0 ? void 0 : _allChildrenPaths2.map(childPath => new _common_KCLang_CodeDom_AndExpression__WEBPACK_IMPORTED_MODULE_5__.AndExpression(new _common_KCLang_CodeDom_Functions_ExistsFunctionCall__WEBPACK_IMPORTED_MODULE_11__.ExistsFunctionCall(new _common_KCLang_CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_27__.ValueReferenceExpression(_common_KCLang_CodeDom_KCLangPath__WEBPACK_IMPORTED_MODULE_18__.KCLangPath.fromModelPath(childPath, true))), new _common_KCLang_CodeDom_NotEqExpression__WEBPACK_IMPORTED_MODULE_21__.NotEqExpression(new _common_KCLang_CodeDom_CastExpression__WEBPACK_IMPORTED_MODULE_6__.CastExpression(new _common_KCLang_CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_27__.ValueReferenceExpression(_common_KCLang_CodeDom_KCLangPath__WEBPACK_IMPORTED_MODULE_18__.KCLangPath.fromModelPath(childPath, true)), _common_KCLang_CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_19__.StringType.default), new _common_KCLang_CodeDom_StringConstExpression__WEBPACK_IMPORTED_MODULE_26__.StringConstExpression("")))).reduce(combineByAndKCLangExpr, undefined);
104779
- const checkRequiredStatement = new _common_KCLang_CodeDom_CheckStatement__WEBPACK_IMPORTED_MODULE_7__.CheckStatement(new _common_KCLang_CodeDom_AndExpression__WEBPACK_IMPORTED_MODULE_5__.AndExpression(new _common_KCLang_CodeDom_Functions_ExistsFunctionCall__WEBPACK_IMPORTED_MODULE_11__.ExistsFunctionCall(new _common_KCLang_CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_27__.ValueReferenceExpression(_common_KCLang_CodeDom_KCLangPath__WEBPACK_IMPORTED_MODULE_18__.KCLangPath.fromModelPath(targetPath, true))), new _common_KCLang_CodeDom_NotEqExpression__WEBPACK_IMPORTED_MODULE_21__.NotEqExpression(new _common_KCLang_CodeDom_CastExpression__WEBPACK_IMPORTED_MODULE_6__.CastExpression(new _common_KCLang_CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_27__.ValueReferenceExpression(_common_KCLang_CodeDom_KCLangPath__WEBPACK_IMPORTED_MODULE_18__.KCLangPath.fromModelPath(targetPath, true)), _common_KCLang_CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_19__.StringType.default), new _common_KCLang_CodeDom_StringConstExpression__WEBPACK_IMPORTED_MODULE_26__.StringConstExpression(""))), [new _common_KCLang_CodeDom_WithBlock__WEBPACK_IMPORTED_MODULE_28__.WithBlock("description", new _common_KCLang_CodeDom_DescriptionText__WEBPACK_IMPORTED_MODULE_9__.DescriptionText((0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_38__.omitLocalization)(requiredDescription))), new _common_KCLang_CodeDom_WithBlock__WEBPACK_IMPORTED_MODULE_28__.WithBlock("target", new _common_KCLang_CodeDom_DescriptionText__WEBPACK_IMPORTED_MODULE_9__.DescriptionText((_IterUtils$last = _Common_IterableUtils__WEBPACK_IMPORTED_MODULE_1__.IterUtils.last(Iterator.from(targetPath.getPathParts()).filter(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_2__.PathTokens.isSimpleToken))) !== null && _IterUtils$last !== void 0 ? _IterUtils$last : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_4__.reject)()))]);
104722
+ const restChecks = (_allChildrenPaths2 = allChildrenPaths) === null || _allChildrenPaths2 === void 0 ? void 0 : _allChildrenPaths2.map(childPath => new _common_KCLang_CodeDom_AndExpression__WEBPACK_IMPORTED_MODULE_4__.AndExpression(new _common_KCLang_CodeDom_Functions_ExistsFunctionCall__WEBPACK_IMPORTED_MODULE_10__.ExistsFunctionCall(new _common_KCLang_CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_26__.ValueReferenceExpression(_common_KCLang_CodeDom_KCLangPath__WEBPACK_IMPORTED_MODULE_17__.KCLangPath.fromModelPath(childPath, true))), new _common_KCLang_CodeDom_NotEqExpression__WEBPACK_IMPORTED_MODULE_20__.NotEqExpression(new _common_KCLang_CodeDom_CastExpression__WEBPACK_IMPORTED_MODULE_5__.CastExpression(new _common_KCLang_CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_26__.ValueReferenceExpression(_common_KCLang_CodeDom_KCLangPath__WEBPACK_IMPORTED_MODULE_17__.KCLangPath.fromModelPath(childPath, true)), _common_KCLang_CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_18__.StringType.default), new _common_KCLang_CodeDom_StringConstExpression__WEBPACK_IMPORTED_MODULE_25__.StringConstExpression("")))).reduce(combineByAndKCLangExpr, undefined);
104723
+ const checkRequiredStatement = new _common_KCLang_CodeDom_CheckStatement__WEBPACK_IMPORTED_MODULE_6__.CheckStatement(new _common_KCLang_CodeDom_AndExpression__WEBPACK_IMPORTED_MODULE_4__.AndExpression(new _common_KCLang_CodeDom_Functions_ExistsFunctionCall__WEBPACK_IMPORTED_MODULE_10__.ExistsFunctionCall(new _common_KCLang_CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_26__.ValueReferenceExpression(_common_KCLang_CodeDom_KCLangPath__WEBPACK_IMPORTED_MODULE_17__.KCLangPath.fromModelPath(targetPath, true))), new _common_KCLang_CodeDom_NotEqExpression__WEBPACK_IMPORTED_MODULE_20__.NotEqExpression(new _common_KCLang_CodeDom_CastExpression__WEBPACK_IMPORTED_MODULE_5__.CastExpression(new _common_KCLang_CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_26__.ValueReferenceExpression(_common_KCLang_CodeDom_KCLangPath__WEBPACK_IMPORTED_MODULE_17__.KCLangPath.fromModelPath(targetPath, true)), _common_KCLang_CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_18__.StringType.default), new _common_KCLang_CodeDom_StringConstExpression__WEBPACK_IMPORTED_MODULE_25__.StringConstExpression(""))), [new _common_KCLang_CodeDom_WithBlock__WEBPACK_IMPORTED_MODULE_27__.WithBlock("description", new _common_KCLang_CodeDom_DescriptionText__WEBPACK_IMPORTED_MODULE_8__.DescriptionText((0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_38__.omitLocalization)(requiredDescription))), new _common_KCLang_CodeDom_WithBlock__WEBPACK_IMPORTED_MODULE_27__.WithBlock("target", new _common_KCLang_CodeDom_DescriptionText__WEBPACK_IMPORTED_MODULE_8__.DescriptionText((0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.createRelativeFromTokens)(Iterator.from(targetPath.getPathParts()).filter(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.PathTokens.isSimpleToken).toArray()).toString()))]);
104780
104724
  if (restChecks != undefined) {
104781
- yield new _common_KCLang_CodeDom_IfStatement__WEBPACK_IMPORTED_MODULE_17__.IfStatement(restChecks, [checkRequiredStatement]);
104725
+ yield new _common_KCLang_CodeDom_IfStatement__WEBPACK_IMPORTED_MODULE_16__.IfStatement(restChecks, [checkRequiredStatement]);
104782
104726
  } else {
104783
104727
  yield checkRequiredStatement;
104784
104728
  }
104785
104729
  }
104786
- yield new _common_KCLang_CodeDom_IfStatement__WEBPACK_IMPORTED_MODULE_17__.IfStatement(new _common_KCLang_CodeDom_AndExpression__WEBPACK_IMPORTED_MODULE_5__.AndExpression(new _common_KCLang_CodeDom_Functions_ExistsFunctionCall__WEBPACK_IMPORTED_MODULE_11__.ExistsFunctionCall(new _common_KCLang_CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_27__.ValueReferenceExpression(_common_KCLang_CodeDom_KCLangPath__WEBPACK_IMPORTED_MODULE_18__.KCLangPath.fromModelPath(targetPath, true))), new _common_KCLang_CodeDom_NotEqExpression__WEBPACK_IMPORTED_MODULE_21__.NotEqExpression(new _common_KCLang_CodeDom_CastExpression__WEBPACK_IMPORTED_MODULE_6__.CastExpression(new _common_KCLang_CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_27__.ValueReferenceExpression(_common_KCLang_CodeDom_KCLangPath__WEBPACK_IMPORTED_MODULE_18__.KCLangPath.fromModelPath(targetPath, true)), _common_KCLang_CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_19__.StringType.default), new _common_KCLang_CodeDom_StringConstExpression__WEBPACK_IMPORTED_MODULE_26__.StringConstExpression(""))), valueChecks);
104730
+ yield new _common_KCLang_CodeDom_IfStatement__WEBPACK_IMPORTED_MODULE_16__.IfStatement(new _common_KCLang_CodeDom_AndExpression__WEBPACK_IMPORTED_MODULE_4__.AndExpression(new _common_KCLang_CodeDom_Functions_ExistsFunctionCall__WEBPACK_IMPORTED_MODULE_10__.ExistsFunctionCall(new _common_KCLang_CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_26__.ValueReferenceExpression(_common_KCLang_CodeDom_KCLangPath__WEBPACK_IMPORTED_MODULE_17__.KCLangPath.fromModelPath(targetPath, true))), new _common_KCLang_CodeDom_NotEqExpression__WEBPACK_IMPORTED_MODULE_20__.NotEqExpression(new _common_KCLang_CodeDom_CastExpression__WEBPACK_IMPORTED_MODULE_5__.CastExpression(new _common_KCLang_CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_26__.ValueReferenceExpression(_common_KCLang_CodeDom_KCLangPath__WEBPACK_IMPORTED_MODULE_17__.KCLangPath.fromModelPath(targetPath, true)), _common_KCLang_CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_18__.StringType.default), new _common_KCLang_CodeDom_StringConstExpression__WEBPACK_IMPORTED_MODULE_25__.StringConstExpression(""))), valueChecks);
104787
104731
  }
104788
104732
  getFirstAcceptedParent(schemaNode) {
104789
104733
  let parentNode = schemaNode === null || schemaNode === void 0 ? void 0 : schemaNode.parent;
104790
104734
  while (parentNode != undefined) {
104791
- if (parentNode instanceof _common_SchemaRng_FormSchemaRng__WEBPACK_IMPORTED_MODULE_29__.FormSchemaRngElement) {
104735
+ if (parentNode instanceof _common_SchemaRng_FormSchemaRng__WEBPACK_IMPORTED_MODULE_28__.FormSchemaRngElement) {
104792
104736
  var _parentNode$multiple;
104793
104737
  if ((_parentNode$multiple = parentNode.multiple) !== null && _parentNode$multiple !== void 0 ? _parentNode$multiple : false) {
104794
104738
  return parentNode;
@@ -104804,175 +104748,173 @@ class KCLangCalculationsBuildContext {
104804
104748
  return undefined;
104805
104749
  }
104806
104750
  createCheck(targetPath, condition, message, checkType) {
104807
- var _IterUtils$last2;
104808
- const withBlocks = [new _common_KCLang_CodeDom_WithBlock__WEBPACK_IMPORTED_MODULE_28__.WithBlock("description", new _common_KCLang_CodeDom_DescriptionText__WEBPACK_IMPORTED_MODULE_9__.DescriptionText(message.replace(/\[/gi, "\\[").replace(/]/gi, "\\]"))), new _common_KCLang_CodeDom_WithBlock__WEBPACK_IMPORTED_MODULE_28__.WithBlock("target", new _common_KCLang_CodeDom_DescriptionText__WEBPACK_IMPORTED_MODULE_9__.DescriptionText((_IterUtils$last2 = _Common_IterableUtils__WEBPACK_IMPORTED_MODULE_1__.IterUtils.last(Iterator.from(targetPath.getPathParts()).filter(x => _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_2__.PathTokens.isSimpleToken(x) && !_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_2__.PathTokens.isInstanceToken(x)))) !== null && _IterUtils$last2 !== void 0 ? _IterUtils$last2 : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_4__.reject)()))];
104751
+ const withBlocks = [new _common_KCLang_CodeDom_WithBlock__WEBPACK_IMPORTED_MODULE_27__.WithBlock("description", new _common_KCLang_CodeDom_DescriptionText__WEBPACK_IMPORTED_MODULE_8__.DescriptionText(message.replace(/\[/gi, "\\[").replace(/]/gi, "\\]"))), new _common_KCLang_CodeDom_WithBlock__WEBPACK_IMPORTED_MODULE_27__.WithBlock("target", new _common_KCLang_CodeDom_DescriptionText__WEBPACK_IMPORTED_MODULE_8__.DescriptionText((0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.createRelativeFromTokens)(Iterator.from(targetPath.getPathParts()).filter(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.PathTokens.isSimpleToken).toArray()).toString()))];
104809
104752
  if (checkType == "warning") {
104810
- withBlocks.push(new _common_KCLang_CodeDom_WithBlock__WEBPACK_IMPORTED_MODULE_28__.WithBlock("errorLevel", new _common_KCLang_CodeDom_DescriptionText__WEBPACK_IMPORTED_MODULE_9__.DescriptionText("Warning")));
104753
+ withBlocks.push(new _common_KCLang_CodeDom_WithBlock__WEBPACK_IMPORTED_MODULE_27__.WithBlock("errorLevel", new _common_KCLang_CodeDom_DescriptionText__WEBPACK_IMPORTED_MODULE_8__.DescriptionText("Warning")));
104811
104754
  }
104812
- return new _common_KCLang_CodeDom_CheckStatement__WEBPACK_IMPORTED_MODULE_7__.CheckStatement(condition, withBlocks);
104755
+ return new _common_KCLang_CodeDom_CheckStatement__WEBPACK_IMPORTED_MODULE_6__.CheckStatement(condition, withBlocks);
104813
104756
  }
104814
104757
  *createTypeValidations(targetPath, typeNode, schemaTypeNode, nodeGId) {
104815
104758
  var _typeNode$checkType, _typeNode$children$fi, _typeNode$children, _schemaTypeNode$enume, _digest$gId, _typeNode$children2, _typeNodeLength$value, _typeNode$children3, _typeNodeMinLength$va, _typeNode$children4, _typeNodeMaxLength$va, _typeNode$children5, _typeNodeMinInclusive, _typeNode$children6, _typeNodeMinExclusive, _typeNode$children7, _typeNodeMaxInclusive, _typeNode$children8, _typeNodeMaxExclusive, _typeNode$children9, _typeNodeTotalDigits$, _typeNode$children$fi2, _typeNode$children10, _typeNode$children11, _typeNode$children$fi3, _typeNode$children12, _schemaTypeNode$patte, _typeNode$children13, _typeNodeInteger$valu, _typeNode$children14, _typeNodeFractional$v, _ref10, _typeNode$children$fi4, _typeNode$children15, _typeNode$children16, _typeNode$base2;
104816
104759
  const checkType = (_typeNode$checkType = typeNode === null || typeNode === void 0 ? void 0 : typeNode.checkType) !== null && _typeNode$checkType !== void 0 ? _typeNode$checkType : "error";
104817
- const typeNodeEnumerations = (_typeNode$children$fi = typeNode === null || typeNode === void 0 || (_typeNode$children = typeNode.children) === null || _typeNode$children === void 0 || (_typeNode$children = _typeNode$children.filter(x => x instanceof _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_33__.EnumerationTypeCheckNode)) === null || _typeNode$children === void 0 ? void 0 : _typeNode$children.map(x => x.value)) !== null && _typeNode$children$fi !== void 0 ? _typeNode$children$fi : [];
104818
- const enumerationItems = (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_4__.arrayIsNotEmpty)(typeNodeEnumerations) ? typeNodeEnumerations : (_schemaTypeNode$enume = schemaTypeNode === null || schemaTypeNode === void 0 ? void 0 : schemaTypeNode.enumeration) !== null && _schemaTypeNode$enume !== void 0 ? _schemaTypeNode$enume : [];
104760
+ const typeNodeEnumerations = (_typeNode$children$fi = typeNode === null || typeNode === void 0 || (_typeNode$children = typeNode.children) === null || _typeNode$children === void 0 || (_typeNode$children = _typeNode$children.filter(x => x instanceof _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_32__.EnumerationTypeCheckNode)) === null || _typeNode$children === void 0 ? void 0 : _typeNode$children.map(x => x.value)) !== null && _typeNode$children$fi !== void 0 ? _typeNode$children$fi : [];
104761
+ const enumerationItems = (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_3__.arrayIsNotEmpty)(typeNodeEnumerations) ? typeNodeEnumerations : (_schemaTypeNode$enume = schemaTypeNode === null || schemaTypeNode === void 0 ? void 0 : schemaTypeNode.enumeration) !== null && _schemaTypeNode$enume !== void 0 ? _schemaTypeNode$enume : [];
104819
104762
  const makeMessage = (constraints, sugarTypeCheckDescription, sugarTypeDescription, schemaTypeDescription) => {
104820
104763
  var _ref5, _ref6, _ref7, _omitLocalization;
104821
- return (_ref5 = (_ref6 = (_ref7 = (_omitLocalization = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_38__.omitLocalization)(sugarTypeCheckDescription)) !== null && _omitLocalization !== void 0 ? _omitLocalization : (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_38__.omitLocalization)(sugarTypeDescription)) !== null && _ref7 !== void 0 ? _ref7 : (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_38__.omitLocalization)(schemaTypeDescription)) !== null && _ref6 !== void 0 ? _ref6 : _common_SchemaRng_StringTypeMessageGenerator__WEBPACK_IMPORTED_MODULE_31__.StringTypeMessageGenerator.generate(constraints !== null && constraints !== void 0 ? constraints : {})) !== null && _ref5 !== void 0 ? _ref5 : "Поле должно быть заполнено";
104764
+ return (_ref5 = (_ref6 = (_ref7 = (_omitLocalization = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_38__.omitLocalization)(sugarTypeCheckDescription)) !== null && _omitLocalization !== void 0 ? _omitLocalization : (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_38__.omitLocalization)(sugarTypeDescription)) !== null && _ref7 !== void 0 ? _ref7 : (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_38__.omitLocalization)(schemaTypeDescription)) !== null && _ref6 !== void 0 ? _ref6 : _common_SchemaRng_StringTypeMessageGenerator__WEBPACK_IMPORTED_MODULE_30__.StringTypeMessageGenerator.generate(constraints !== null && constraints !== void 0 ? constraints : {})) !== null && _ref5 !== void 0 ? _ref5 : "Поле должно быть заполнено";
104822
104765
  };
104823
- const valueReferenceExpression = new _common_KCLang_CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_27__.ValueReferenceExpression(_common_KCLang_CodeDom_KCLangPath__WEBPACK_IMPORTED_MODULE_18__.KCLangPath.fromModelPath(targetPath, true));
104824
- const stringValueReference = new _common_KCLang_CodeDom_CastExpression__WEBPACK_IMPORTED_MODULE_6__.CastExpression(valueReferenceExpression, _common_KCLang_CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_19__.StringType.default);
104825
- if ((0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_4__.arrayIsNotEmpty)(enumerationItems)) {
104826
- yield this.createCheck(targetPath, new _common_KCLang_CodeDom_OneOfExpression__WEBPACK_IMPORTED_MODULE_23__.OneOfExpression(stringValueReference, enumerationItems.map(item => new _common_KCLang_CodeDom_StringConstExpression__WEBPACK_IMPORTED_MODULE_26__.StringConstExpression(item))), makeMessage({
104766
+ const valueReferenceExpression = new _common_KCLang_CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_26__.ValueReferenceExpression(_common_KCLang_CodeDom_KCLangPath__WEBPACK_IMPORTED_MODULE_17__.KCLangPath.fromModelPath(targetPath, true));
104767
+ const stringValueReference = new _common_KCLang_CodeDom_CastExpression__WEBPACK_IMPORTED_MODULE_5__.CastExpression(valueReferenceExpression, _common_KCLang_CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_18__.StringType.default);
104768
+ if ((0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_3__.arrayIsNotEmpty)(enumerationItems)) {
104769
+ yield this.createCheck(targetPath, new _common_KCLang_CodeDom_OneOfExpression__WEBPACK_IMPORTED_MODULE_22__.OneOfExpression(stringValueReference, enumerationItems.map(item => new _common_KCLang_CodeDom_StringConstExpression__WEBPACK_IMPORTED_MODULE_25__.StringConstExpression(item))), makeMessage({
104827
104770
  enumerationAllowedValues: enumerationItems
104828
104771
  }, typeNode === null || typeNode === void 0 ? void 0 : typeNode.description, schemaTypeNode === null || schemaTypeNode === void 0 ? void 0 : schemaTypeNode.description), checkType);
104829
104772
  }
104830
- const digest = typeNode === null || typeNode === void 0 ? void 0 : typeNode.getValidations(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_33__.DigestcheckTypeCheckNode).find(x => x);
104773
+ const digest = typeNode === null || typeNode === void 0 ? void 0 : typeNode.getValidations(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_32__.DigestcheckTypeCheckNode).find(x => x);
104831
104774
  const gId = (_digest$gId = digest === null || digest === void 0 ? void 0 : digest.gId) !== null && _digest$gId !== void 0 ? _digest$gId : nodeGId;
104832
- if ((0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_4__.isNotNullOrEmpty)(gId) && digest != undefined) {
104775
+ if ((0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_3__.isNotNullOrEmpty)(gId) && digest != undefined) {
104833
104776
  var _digest$keyColumnName, _digest$keyColumnName2, _ref8, _digest$description, _ref9, _digest$checkType;
104834
104777
  // const isIgnoreCase = typeNode?.isCaseIndependentValid ?? false;
104835
- const ruleBody = new _common_KCLang_CodeDom_OrExpression__WEBPACK_IMPORTED_MODULE_24__.OrExpression(new _common_KCLang_CodeDom_OrExpression__WEBPACK_IMPORTED_MODULE_24__.OrExpression(new _common_KCLang_CodeDom_NotExpression__WEBPACK_IMPORTED_MODULE_22__.NotExpression(new _common_KCLang_CodeDom_Functions_ExistsFunctionCall__WEBPACK_IMPORTED_MODULE_11__.ExistsFunctionCall(valueReferenceExpression)), new _common_KCLang_CodeDom_EqExpression__WEBPACK_IMPORTED_MODULE_10__.EqExpression(stringValueReference, new _common_KCLang_CodeDom_StringConstExpression__WEBPACK_IMPORTED_MODULE_26__.StringConstExpression(""))), new _common_KCLang_CodeDom_NotEqExpression__WEBPACK_IMPORTED_MODULE_21__.NotEqExpression(new _common_KCLang_CodeDom_Functions_JoinFunctionCall__WEBPACK_IMPORTED_MODULE_13__.JoinFunctionCall(new _common_KCLang_CodeDom_Functions_GetPicklistValuesFunctionCall__WEBPACK_IMPORTED_MODULE_12__.GetPicklistValuesFunctionCall(gId, [(_digest$keyColumnName = digest.keyColumnName) !== null && _digest$keyColumnName !== void 0 ? _digest$keyColumnName : "code"], new _common_KCLang_CodeDom_StringArrayConstExpression__WEBPACK_IMPORTED_MODULE_25__.StringArrayConstExpression([stringValueReference]), (_digest$keyColumnName2 = digest.keyColumnName) !== null && _digest$keyColumnName2 !== void 0 ? _digest$keyColumnName2 : "code")), new _common_KCLang_CodeDom_StringConstExpression__WEBPACK_IMPORTED_MODULE_26__.StringConstExpression("")));
104778
+ const ruleBody = new _common_KCLang_CodeDom_OrExpression__WEBPACK_IMPORTED_MODULE_23__.OrExpression(new _common_KCLang_CodeDom_OrExpression__WEBPACK_IMPORTED_MODULE_23__.OrExpression(new _common_KCLang_CodeDom_NotExpression__WEBPACK_IMPORTED_MODULE_21__.NotExpression(new _common_KCLang_CodeDom_Functions_ExistsFunctionCall__WEBPACK_IMPORTED_MODULE_10__.ExistsFunctionCall(valueReferenceExpression)), new _common_KCLang_CodeDom_EqExpression__WEBPACK_IMPORTED_MODULE_9__.EqExpression(stringValueReference, new _common_KCLang_CodeDom_StringConstExpression__WEBPACK_IMPORTED_MODULE_25__.StringConstExpression(""))), new _common_KCLang_CodeDom_NotEqExpression__WEBPACK_IMPORTED_MODULE_20__.NotEqExpression(new _common_KCLang_CodeDom_Functions_JoinFunctionCall__WEBPACK_IMPORTED_MODULE_12__.JoinFunctionCall(new _common_KCLang_CodeDom_Functions_GetPicklistValuesFunctionCall__WEBPACK_IMPORTED_MODULE_11__.GetPicklistValuesFunctionCall(gId, [(_digest$keyColumnName = digest.keyColumnName) !== null && _digest$keyColumnName !== void 0 ? _digest$keyColumnName : "code"], new _common_KCLang_CodeDom_StringArrayConstExpression__WEBPACK_IMPORTED_MODULE_24__.StringArrayConstExpression([stringValueReference]), (_digest$keyColumnName2 = digest.keyColumnName) !== null && _digest$keyColumnName2 !== void 0 ? _digest$keyColumnName2 : "code")), new _common_KCLang_CodeDom_StringConstExpression__WEBPACK_IMPORTED_MODULE_25__.StringConstExpression("")));
104836
104779
  yield this.createCheck(targetPath, ruleBody, (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_38__.omitLocalization)((_ref8 = (_digest$description = digest.description) !== null && _digest$description !== void 0 ? _digest$description : typeNode === null || typeNode === void 0 ? void 0 : typeNode.description) !== null && _ref8 !== void 0 ? _ref8 : "Поле заполнено не по справочнику"), (_ref9 = (_digest$checkType = digest.checkType) !== null && _digest$checkType !== void 0 ? _digest$checkType : typeNode === null || typeNode === void 0 ? void 0 : typeNode.checkType) !== null && _ref9 !== void 0 ? _ref9 : "error");
104837
104780
  }
104838
- const typeNodeLength = typeNode === null || typeNode === void 0 || (_typeNode$children2 = typeNode.children) === null || _typeNode$children2 === void 0 ? void 0 : _typeNode$children2.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_33__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_33__.LengthTypeCheckNode));
104781
+ const typeNodeLength = typeNode === null || typeNode === void 0 || (_typeNode$children2 = typeNode.children) === null || _typeNode$children2 === void 0 ? void 0 : _typeNode$children2.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_32__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_32__.LengthTypeCheckNode));
104839
104782
  const lengthValue = (_typeNodeLength$value = typeNodeLength === null || typeNodeLength === void 0 ? void 0 : typeNodeLength.value) !== null && _typeNodeLength$value !== void 0 ? _typeNodeLength$value : schemaTypeNode === null || schemaTypeNode === void 0 ? void 0 : schemaTypeNode.length;
104840
104783
  if (lengthValue != undefined) {
104841
104784
  var _typeNodeLength$check;
104842
- yield this.createCheck(targetPath, new _common_KCLang_CodeDom_EqExpression__WEBPACK_IMPORTED_MODULE_10__.EqExpression(new _common_KCLang_CodeDom_Functions_LengthFunctionCall__WEBPACK_IMPORTED_MODULE_14__.LengthFunctionCall(stringValueReference), new _common_KCLang_CodeDom_DecimalConstExpression__WEBPACK_IMPORTED_MODULE_8__.DecimalConstExpression(lengthValue)), makeMessage({
104785
+ yield this.createCheck(targetPath, new _common_KCLang_CodeDom_EqExpression__WEBPACK_IMPORTED_MODULE_9__.EqExpression(new _common_KCLang_CodeDom_Functions_LengthFunctionCall__WEBPACK_IMPORTED_MODULE_13__.LengthFunctionCall(stringValueReference), new _common_KCLang_CodeDom_DecimalConstExpression__WEBPACK_IMPORTED_MODULE_7__.DecimalConstExpression(lengthValue)), makeMessage({
104843
104786
  length: lengthValue
104844
104787
  }, typeNodeLength === null || typeNodeLength === void 0 ? void 0 : typeNodeLength.description, typeNode === null || typeNode === void 0 ? void 0 : typeNode.description, schemaTypeNode === null || schemaTypeNode === void 0 ? void 0 : schemaTypeNode.description), (_typeNodeLength$check = typeNodeLength === null || typeNodeLength === void 0 ? void 0 : typeNodeLength.checkType) !== null && _typeNodeLength$check !== void 0 ? _typeNodeLength$check : checkType);
104845
104788
  }
104846
104789
  const valueReference = stringValueReference;
104847
104790
  const decimalValueReference = valueReferenceExpression;
104848
- const typeNodeMinLength = typeNode === null || typeNode === void 0 || (_typeNode$children3 = typeNode.children) === null || _typeNode$children3 === void 0 ? void 0 : _typeNode$children3.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_33__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_33__.MinlengthTypeCheckNode));
104791
+ const typeNodeMinLength = typeNode === null || typeNode === void 0 || (_typeNode$children3 = typeNode.children) === null || _typeNode$children3 === void 0 ? void 0 : _typeNode$children3.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_32__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_32__.MinlengthTypeCheckNode));
104849
104792
  const minLengthValue = (_typeNodeMinLength$va = typeNodeMinLength === null || typeNodeMinLength === void 0 ? void 0 : typeNodeMinLength.value) !== null && _typeNodeMinLength$va !== void 0 ? _typeNodeMinLength$va : schemaTypeNode === null || schemaTypeNode === void 0 ? void 0 : schemaTypeNode.minLength;
104850
- const typeNodeMaxLength = typeNode === null || typeNode === void 0 || (_typeNode$children4 = typeNode.children) === null || _typeNode$children4 === void 0 ? void 0 : _typeNode$children4.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_33__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_33__.MaxlengthTypeCheckNode));
104793
+ const typeNodeMaxLength = typeNode === null || typeNode === void 0 || (_typeNode$children4 = typeNode.children) === null || _typeNode$children4 === void 0 ? void 0 : _typeNode$children4.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_32__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_32__.MaxlengthTypeCheckNode));
104851
104794
  const maxLengthValue = (_typeNodeMaxLength$va = typeNodeMaxLength === null || typeNodeMaxLength === void 0 ? void 0 : typeNodeMaxLength.value) !== null && _typeNodeMaxLength$va !== void 0 ? _typeNodeMaxLength$va : schemaTypeNode === null || schemaTypeNode === void 0 ? void 0 : schemaTypeNode.maxLength;
104852
104795
  if (minLengthValue != undefined && maxLengthValue != undefined) {
104853
104796
  var _typeNodeMinLength$de;
104854
- const lengthExprRuleBody = new _common_KCLang_CodeDom_AndExpression__WEBPACK_IMPORTED_MODULE_5__.AndExpression(new _common_KCLang_CodeDom_GeExpression__WEBPACK_IMPORTED_MODULE_16__.GeExpression(new _common_KCLang_CodeDom_Functions_LengthFunctionCall__WEBPACK_IMPORTED_MODULE_14__.LengthFunctionCall(valueReference), new _common_KCLang_CodeDom_DecimalConstExpression__WEBPACK_IMPORTED_MODULE_8__.DecimalConstExpression(minLengthValue)), new _common_KCLang_CodeDom_LeExpression__WEBPACK_IMPORTED_MODULE_20__.LeExpression(new _common_KCLang_CodeDom_Functions_LengthFunctionCall__WEBPACK_IMPORTED_MODULE_14__.LengthFunctionCall(valueReference), new _common_KCLang_CodeDom_DecimalConstExpression__WEBPACK_IMPORTED_MODULE_8__.DecimalConstExpression(maxLengthValue)));
104797
+ const lengthExprRuleBody = new _common_KCLang_CodeDom_AndExpression__WEBPACK_IMPORTED_MODULE_4__.AndExpression(new _common_KCLang_CodeDom_GeExpression__WEBPACK_IMPORTED_MODULE_15__.GeExpression(new _common_KCLang_CodeDom_Functions_LengthFunctionCall__WEBPACK_IMPORTED_MODULE_13__.LengthFunctionCall(valueReference), new _common_KCLang_CodeDom_DecimalConstExpression__WEBPACK_IMPORTED_MODULE_7__.DecimalConstExpression(minLengthValue)), new _common_KCLang_CodeDom_LeExpression__WEBPACK_IMPORTED_MODULE_19__.LeExpression(new _common_KCLang_CodeDom_Functions_LengthFunctionCall__WEBPACK_IMPORTED_MODULE_13__.LengthFunctionCall(valueReference), new _common_KCLang_CodeDom_DecimalConstExpression__WEBPACK_IMPORTED_MODULE_7__.DecimalConstExpression(maxLengthValue)));
104855
104798
  yield this.createCheck(targetPath, lengthExprRuleBody, makeMessage({
104856
104799
  minLength: minLengthValue,
104857
104800
  maxLength: maxLengthValue
104858
104801
  }, (_typeNodeMinLength$de = typeNodeMinLength === null || typeNodeMinLength === void 0 ? void 0 : typeNodeMinLength.description) !== null && _typeNodeMinLength$de !== void 0 ? _typeNodeMinLength$de : typeNodeMaxLength === null || typeNodeMaxLength === void 0 ? void 0 : typeNodeMaxLength.description, typeNode === null || typeNode === void 0 ? void 0 : typeNode.description, schemaTypeNode === null || schemaTypeNode === void 0 ? void 0 : schemaTypeNode.description), checkType);
104859
104802
  } else if (minLengthValue != undefined) {
104860
- const lengthExprRuleBody = new _common_KCLang_CodeDom_GeExpression__WEBPACK_IMPORTED_MODULE_16__.GeExpression(new _common_KCLang_CodeDom_Functions_LengthFunctionCall__WEBPACK_IMPORTED_MODULE_14__.LengthFunctionCall(valueReference), new _common_KCLang_CodeDom_DecimalConstExpression__WEBPACK_IMPORTED_MODULE_8__.DecimalConstExpression(minLengthValue));
104803
+ const lengthExprRuleBody = new _common_KCLang_CodeDom_GeExpression__WEBPACK_IMPORTED_MODULE_15__.GeExpression(new _common_KCLang_CodeDom_Functions_LengthFunctionCall__WEBPACK_IMPORTED_MODULE_13__.LengthFunctionCall(valueReference), new _common_KCLang_CodeDom_DecimalConstExpression__WEBPACK_IMPORTED_MODULE_7__.DecimalConstExpression(minLengthValue));
104861
104804
  yield this.createCheck(targetPath, lengthExprRuleBody, makeMessage({
104862
104805
  minLength: minLengthValue
104863
104806
  }, typeNode === null || typeNode === void 0 ? void 0 : typeNode.description, schemaTypeNode === null || schemaTypeNode === void 0 ? void 0 : schemaTypeNode.description), checkType);
104864
104807
  } else if (maxLengthValue != undefined) {
104865
- const lengthExprRuleBody = new _common_KCLang_CodeDom_LeExpression__WEBPACK_IMPORTED_MODULE_20__.LeExpression(new _common_KCLang_CodeDom_Functions_LengthFunctionCall__WEBPACK_IMPORTED_MODULE_14__.LengthFunctionCall(valueReference), new _common_KCLang_CodeDom_DecimalConstExpression__WEBPACK_IMPORTED_MODULE_8__.DecimalConstExpression(maxLengthValue));
104808
+ const lengthExprRuleBody = new _common_KCLang_CodeDom_LeExpression__WEBPACK_IMPORTED_MODULE_19__.LeExpression(new _common_KCLang_CodeDom_Functions_LengthFunctionCall__WEBPACK_IMPORTED_MODULE_13__.LengthFunctionCall(valueReference), new _common_KCLang_CodeDom_DecimalConstExpression__WEBPACK_IMPORTED_MODULE_7__.DecimalConstExpression(maxLengthValue));
104866
104809
  yield this.createCheck(targetPath, lengthExprRuleBody, makeMessage({
104867
104810
  maxLength: maxLengthValue
104868
104811
  }, typeNode === null || typeNode === void 0 ? void 0 : typeNode.description, schemaTypeNode === null || schemaTypeNode === void 0 ? void 0 : schemaTypeNode.description), checkType);
104869
104812
  }
104870
- const typeNodeMinInclusive = typeNode === null || typeNode === void 0 || (_typeNode$children5 = typeNode.children) === null || _typeNode$children5 === void 0 ? void 0 : _typeNode$children5.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_33__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_33__.MininclusiveTypeCheckNode));
104813
+ const typeNodeMinInclusive = typeNode === null || typeNode === void 0 || (_typeNode$children5 = typeNode.children) === null || _typeNode$children5 === void 0 ? void 0 : _typeNode$children5.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_32__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_32__.MininclusiveTypeCheckNode));
104871
104814
  const minInclusiveValue = (_typeNodeMinInclusive = typeNodeMinInclusive === null || typeNodeMinInclusive === void 0 ? void 0 : typeNodeMinInclusive.value) !== null && _typeNodeMinInclusive !== void 0 ? _typeNodeMinInclusive : schemaTypeNode === null || schemaTypeNode === void 0 ? void 0 : schemaTypeNode.minInclusive;
104872
104815
  if (minInclusiveValue != undefined) {
104873
- const minInclusiveRuleBody = new _common_KCLang_CodeDom_GeExpression__WEBPACK_IMPORTED_MODULE_16__.GeExpression(decimalValueReference, new _common_KCLang_CodeDom_DecimalConstExpression__WEBPACK_IMPORTED_MODULE_8__.DecimalConstExpression(minInclusiveValue));
104816
+ const minInclusiveRuleBody = new _common_KCLang_CodeDom_GeExpression__WEBPACK_IMPORTED_MODULE_15__.GeExpression(decimalValueReference, new _common_KCLang_CodeDom_DecimalConstExpression__WEBPACK_IMPORTED_MODULE_7__.DecimalConstExpression(minInclusiveValue));
104874
104817
  yield this.createCheck(targetPath, minInclusiveRuleBody, makeMessage({
104875
104818
  minInclusive: minInclusiveValue
104876
104819
  }, typeNodeMinInclusive === null || typeNodeMinInclusive === void 0 ? void 0 : typeNodeMinInclusive.description, typeNode === null || typeNode === void 0 ? void 0 : typeNode.description, schemaTypeNode === null || schemaTypeNode === void 0 ? void 0 : schemaTypeNode.description), checkType);
104877
104820
  }
104878
- const typeNodeMinExclusive = typeNode === null || typeNode === void 0 || (_typeNode$children6 = typeNode.children) === null || _typeNode$children6 === void 0 ? void 0 : _typeNode$children6.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_33__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_33__.MinExclusiveTypeCheckNode));
104821
+ const typeNodeMinExclusive = typeNode === null || typeNode === void 0 || (_typeNode$children6 = typeNode.children) === null || _typeNode$children6 === void 0 ? void 0 : _typeNode$children6.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_32__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_32__.MinExclusiveTypeCheckNode));
104879
104822
  const minExclusiveValue = (_typeNodeMinExclusive = typeNodeMinExclusive === null || typeNodeMinExclusive === void 0 ? void 0 : typeNodeMinExclusive.value) !== null && _typeNodeMinExclusive !== void 0 ? _typeNodeMinExclusive : schemaTypeNode === null || schemaTypeNode === void 0 ? void 0 : schemaTypeNode.minExclusive;
104880
104823
  if (minExclusiveValue != undefined) {
104881
- const minExclusiveRuleBody = new _common_KCLang_CodeDom_GtExpression__WEBPACK_IMPORTED_MODULE_36__.GtExpression(decimalValueReference, new _common_KCLang_CodeDom_DecimalConstExpression__WEBPACK_IMPORTED_MODULE_8__.DecimalConstExpression(minExclusiveValue));
104824
+ const minExclusiveRuleBody = new _common_KCLang_CodeDom_GtExpression__WEBPACK_IMPORTED_MODULE_35__.GtExpression(decimalValueReference, new _common_KCLang_CodeDom_DecimalConstExpression__WEBPACK_IMPORTED_MODULE_7__.DecimalConstExpression(minExclusiveValue));
104882
104825
  yield this.createCheck(targetPath, minExclusiveRuleBody, makeMessage({
104883
104826
  minExclusive: minExclusiveValue
104884
104827
  }, typeNodeMinExclusive === null || typeNodeMinExclusive === void 0 ? void 0 : typeNodeMinExclusive.description, typeNode === null || typeNode === void 0 ? void 0 : typeNode.description, schemaTypeNode === null || schemaTypeNode === void 0 ? void 0 : schemaTypeNode.description), checkType);
104885
104828
  }
104886
- const typeNodeMaxInclusive = typeNode === null || typeNode === void 0 || (_typeNode$children7 = typeNode.children) === null || _typeNode$children7 === void 0 ? void 0 : _typeNode$children7.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_33__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_33__.MaxinclusiveTypeCheckNode));
104829
+ const typeNodeMaxInclusive = typeNode === null || typeNode === void 0 || (_typeNode$children7 = typeNode.children) === null || _typeNode$children7 === void 0 ? void 0 : _typeNode$children7.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_32__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_32__.MaxinclusiveTypeCheckNode));
104887
104830
  const maxInclusiveValue = (_typeNodeMaxInclusive = typeNodeMaxInclusive === null || typeNodeMaxInclusive === void 0 ? void 0 : typeNodeMaxInclusive.value) !== null && _typeNodeMaxInclusive !== void 0 ? _typeNodeMaxInclusive : schemaTypeNode === null || schemaTypeNode === void 0 ? void 0 : schemaTypeNode.maxInclusive;
104888
104831
  if (maxInclusiveValue != undefined) {
104889
- const maxInclusiveRuleBody = new _common_KCLang_CodeDom_LeExpression__WEBPACK_IMPORTED_MODULE_20__.LeExpression(decimalValueReference, new _common_KCLang_CodeDom_DecimalConstExpression__WEBPACK_IMPORTED_MODULE_8__.DecimalConstExpression(maxInclusiveValue));
104832
+ const maxInclusiveRuleBody = new _common_KCLang_CodeDom_LeExpression__WEBPACK_IMPORTED_MODULE_19__.LeExpression(decimalValueReference, new _common_KCLang_CodeDom_DecimalConstExpression__WEBPACK_IMPORTED_MODULE_7__.DecimalConstExpression(maxInclusiveValue));
104890
104833
  yield this.createCheck(targetPath, maxInclusiveRuleBody, makeMessage({
104891
104834
  maxInclusive: maxInclusiveValue
104892
104835
  }, typeNodeMaxInclusive === null || typeNodeMaxInclusive === void 0 ? void 0 : typeNodeMaxInclusive.description, typeNode === null || typeNode === void 0 ? void 0 : typeNode.description, schemaTypeNode === null || schemaTypeNode === void 0 ? void 0 : schemaTypeNode.description), checkType);
104893
104836
  }
104894
- const typeNodeMaxExclusive = typeNode === null || typeNode === void 0 || (_typeNode$children8 = typeNode.children) === null || _typeNode$children8 === void 0 ? void 0 : _typeNode$children8.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_33__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_33__.MaxExclusiveTypeCheckNode));
104837
+ const typeNodeMaxExclusive = typeNode === null || typeNode === void 0 || (_typeNode$children8 = typeNode.children) === null || _typeNode$children8 === void 0 ? void 0 : _typeNode$children8.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_32__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_32__.MaxExclusiveTypeCheckNode));
104895
104838
  const maxExclusiveValue = (_typeNodeMaxExclusive = typeNodeMaxExclusive === null || typeNodeMaxExclusive === void 0 ? void 0 : typeNodeMaxExclusive.value) !== null && _typeNodeMaxExclusive !== void 0 ? _typeNodeMaxExclusive : schemaTypeNode === null || schemaTypeNode === void 0 ? void 0 : schemaTypeNode.maxExclusive;
104896
104839
  if (maxExclusiveValue != undefined) {
104897
- const maxExclusiveRuleBody = new _common_KCLang_CodeDom_LtExpression__WEBPACK_IMPORTED_MODULE_37__.LtExpression(decimalValueReference, new _common_KCLang_CodeDom_DecimalConstExpression__WEBPACK_IMPORTED_MODULE_8__.DecimalConstExpression(maxExclusiveValue));
104840
+ const maxExclusiveRuleBody = new _common_KCLang_CodeDom_LtExpression__WEBPACK_IMPORTED_MODULE_36__.LtExpression(decimalValueReference, new _common_KCLang_CodeDom_DecimalConstExpression__WEBPACK_IMPORTED_MODULE_7__.DecimalConstExpression(maxExclusiveValue));
104898
104841
  yield this.createCheck(targetPath, maxExclusiveRuleBody, makeMessage({
104899
104842
  maxExclusive: maxExclusiveValue
104900
104843
  }, typeNodeMaxExclusive === null || typeNodeMaxExclusive === void 0 ? void 0 : typeNodeMaxExclusive.description, typeNode === null || typeNode === void 0 ? void 0 : typeNode.description, schemaTypeNode === null || schemaTypeNode === void 0 ? void 0 : schemaTypeNode.description), checkType);
104901
104844
  }
104902
- const isDecimalCondition = new _common_KCLang_CodeDom_Functions_RegexMatchFunctionCall__WEBPACK_IMPORTED_MODULE_15__.RegexMatchFunctionCall(valueReference, new _common_KCLang_CodeDom_StringConstExpression__WEBPACK_IMPORTED_MODULE_26__.StringConstExpression("^-?\\d+(([.]\\d+$)|($))"));
104903
- const typeNodeTotalDigits = typeNode === null || typeNode === void 0 || (_typeNode$children9 = typeNode.children) === null || _typeNode$children9 === void 0 ? void 0 : _typeNode$children9.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_33__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_33__.TotaldigitsTypeCheckNode));
104845
+ const isDecimalCondition = new _common_KCLang_CodeDom_Functions_RegexMatchFunctionCall__WEBPACK_IMPORTED_MODULE_14__.RegexMatchFunctionCall(valueReference, new _common_KCLang_CodeDom_StringConstExpression__WEBPACK_IMPORTED_MODULE_25__.StringConstExpression("^-?\\d+(([.]\\d+$)|($))"));
104846
+ const typeNodeTotalDigits = typeNode === null || typeNode === void 0 || (_typeNode$children9 = typeNode.children) === null || _typeNode$children9 === void 0 ? void 0 : _typeNode$children9.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_32__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_32__.TotaldigitsTypeCheckNode));
104904
104847
  const totalDigitsValue = (_typeNodeTotalDigits$ = typeNodeTotalDigits === null || typeNodeTotalDigits === void 0 ? void 0 : typeNodeTotalDigits.value) !== null && _typeNodeTotalDigits$ !== void 0 ? _typeNodeTotalDigits$ : schemaTypeNode === null || schemaTypeNode === void 0 ? void 0 : schemaTypeNode.totalDigits;
104905
104848
  if (totalDigitsValue != undefined) {
104906
- const totalDigitsRuleBody = new _common_KCLang_CodeDom_Functions_RegexMatchFunctionCall__WEBPACK_IMPORTED_MODULE_15__.RegexMatchFunctionCall(valueReference, new _common_KCLang_CodeDom_StringConstExpression__WEBPACK_IMPORTED_MODULE_26__.StringConstExpression("^-?(\\.?\\d){0," + totalDigitsValue.toString() + "}$"));
104907
- yield new _common_KCLang_CodeDom_IfStatement__WEBPACK_IMPORTED_MODULE_17__.IfStatement(isDecimalCondition, [this.createCheck(targetPath, totalDigitsRuleBody, makeMessage({
104849
+ const totalDigitsRuleBody = new _common_KCLang_CodeDom_Functions_RegexMatchFunctionCall__WEBPACK_IMPORTED_MODULE_14__.RegexMatchFunctionCall(valueReference, new _common_KCLang_CodeDom_StringConstExpression__WEBPACK_IMPORTED_MODULE_25__.StringConstExpression("^-?(\\.?\\d){0," + totalDigitsValue.toString() + "}$"));
104850
+ yield new _common_KCLang_CodeDom_IfStatement__WEBPACK_IMPORTED_MODULE_16__.IfStatement(isDecimalCondition, [this.createCheck(targetPath, totalDigitsRuleBody, makeMessage({
104908
104851
  totalDigitsMaxCount: totalDigitsValue
104909
104852
  }, typeNodeTotalDigits === null || typeNodeTotalDigits === void 0 ? void 0 : typeNodeTotalDigits.description, typeNode === null || typeNode === void 0 ? void 0 : typeNode.description, schemaTypeNode === null || schemaTypeNode === void 0 ? void 0 : schemaTypeNode.description), checkType)]);
104910
104853
  }
104911
- const typeNodePatterns = (_typeNode$children$fi2 = typeNode === null || typeNode === void 0 || (_typeNode$children10 = typeNode.children) === null || _typeNode$children10 === void 0 ? void 0 : _typeNode$children10.filter((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_33__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_33__.PatternTypeCheckNode)).map(x => x.value).filter(_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_4__.isNotNullOrUndefined)) !== null && _typeNode$children$fi2 !== void 0 ? _typeNode$children$fi2 : [];
104912
- const firstItemDescription = typeNode === null || typeNode === void 0 || (_typeNode$children11 = typeNode.children) === null || _typeNode$children11 === void 0 || (_typeNode$children11 = _typeNode$children11.filter((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_33__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_33__.PatternTypeCheckNode)).filter(_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_4__.isNotNullOrUndefined)) === null || _typeNode$children11 === void 0 || (_typeNode$children11 = _typeNode$children11[0]) === null || _typeNode$children11 === void 0 ? void 0 : _typeNode$children11.description;
104913
- const firstItemCheckType = (_typeNode$children$fi3 = typeNode === null || typeNode === void 0 || (_typeNode$children12 = typeNode.children) === null || _typeNode$children12 === void 0 || (_typeNode$children12 = _typeNode$children12.filter((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_33__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_33__.PatternTypeCheckNode)).filter(_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_4__.isNotNullOrUndefined)) === null || _typeNode$children12 === void 0 || (_typeNode$children12 = _typeNode$children12[0]) === null || _typeNode$children12 === void 0 ? void 0 : _typeNode$children12.checkType) !== null && _typeNode$children$fi3 !== void 0 ? _typeNode$children$fi3 : checkType;
104914
- const stringPatterns = ((0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_4__.arrayIsNotEmpty)(typeNodePatterns) ? typeNodePatterns : (_schemaTypeNode$patte = schemaTypeNode === null || schemaTypeNode === void 0 ? void 0 : schemaTypeNode.patterns) !== null && _schemaTypeNode$patte !== void 0 ? _schemaTypeNode$patte : []).filter(_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_4__.isNotNullOrUndefined);
104915
- const patterns = stringPatterns.map(pattern => new _common_KCLang_CodeDom_Functions_RegexMatchFunctionCall__WEBPACK_IMPORTED_MODULE_15__.RegexMatchFunctionCall(valueReference, new _common_KCLang_CodeDom_StringConstExpression__WEBPACK_IMPORTED_MODULE_26__.StringConstExpression(pattern))).reduce((acc, current) => acc != undefined ? new _common_KCLang_CodeDom_OrExpression__WEBPACK_IMPORTED_MODULE_24__.OrExpression(acc, current) : current, undefined);
104854
+ const typeNodePatterns = (_typeNode$children$fi2 = typeNode === null || typeNode === void 0 || (_typeNode$children10 = typeNode.children) === null || _typeNode$children10 === void 0 ? void 0 : _typeNode$children10.filter((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_32__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_32__.PatternTypeCheckNode)).map(x => x.value).filter(_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_3__.isNotNullOrUndefined)) !== null && _typeNode$children$fi2 !== void 0 ? _typeNode$children$fi2 : [];
104855
+ const firstItemDescription = typeNode === null || typeNode === void 0 || (_typeNode$children11 = typeNode.children) === null || _typeNode$children11 === void 0 || (_typeNode$children11 = _typeNode$children11.filter((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_32__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_32__.PatternTypeCheckNode)).filter(_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_3__.isNotNullOrUndefined)) === null || _typeNode$children11 === void 0 || (_typeNode$children11 = _typeNode$children11[0]) === null || _typeNode$children11 === void 0 ? void 0 : _typeNode$children11.description;
104856
+ const firstItemCheckType = (_typeNode$children$fi3 = typeNode === null || typeNode === void 0 || (_typeNode$children12 = typeNode.children) === null || _typeNode$children12 === void 0 || (_typeNode$children12 = _typeNode$children12.filter((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_32__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_32__.PatternTypeCheckNode)).filter(_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_3__.isNotNullOrUndefined)) === null || _typeNode$children12 === void 0 || (_typeNode$children12 = _typeNode$children12[0]) === null || _typeNode$children12 === void 0 ? void 0 : _typeNode$children12.checkType) !== null && _typeNode$children$fi3 !== void 0 ? _typeNode$children$fi3 : checkType;
104857
+ const stringPatterns = ((0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_3__.arrayIsNotEmpty)(typeNodePatterns) ? typeNodePatterns : (_schemaTypeNode$patte = schemaTypeNode === null || schemaTypeNode === void 0 ? void 0 : schemaTypeNode.patterns) !== null && _schemaTypeNode$patte !== void 0 ? _schemaTypeNode$patte : []).filter(_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_3__.isNotNullOrUndefined);
104858
+ const patterns = stringPatterns.map(pattern => new _common_KCLang_CodeDom_Functions_RegexMatchFunctionCall__WEBPACK_IMPORTED_MODULE_14__.RegexMatchFunctionCall(valueReference, new _common_KCLang_CodeDom_StringConstExpression__WEBPACK_IMPORTED_MODULE_25__.StringConstExpression(pattern))).reduce((acc, current) => acc != undefined ? new _common_KCLang_CodeDom_OrExpression__WEBPACK_IMPORTED_MODULE_23__.OrExpression(acc, current) : current, undefined);
104916
104859
  if (patterns != undefined) {
104917
104860
  const stringPatternsRuleBody = patterns;
104918
104861
  yield this.createCheck(targetPath, stringPatternsRuleBody, makeMessage({
104919
104862
  patterns: stringPatterns
104920
104863
  }, firstItemDescription, typeNode === null || typeNode === void 0 ? void 0 : typeNode.description, schemaTypeNode === null || schemaTypeNode === void 0 ? void 0 : schemaTypeNode.description), firstItemCheckType);
104921
104864
  }
104922
- const typeNodeInteger = typeNode === null || typeNode === void 0 || (_typeNode$children13 = typeNode.children) === null || _typeNode$children13 === void 0 ? void 0 : _typeNode$children13.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_33__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_33__.IntegerdigitsTypeCheckNode));
104865
+ const typeNodeInteger = typeNode === null || typeNode === void 0 || (_typeNode$children13 = typeNode.children) === null || _typeNode$children13 === void 0 ? void 0 : _typeNode$children13.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_32__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_32__.IntegerdigitsTypeCheckNode));
104923
104866
  const integerDigits = (_typeNodeInteger$valu = typeNodeInteger === null || typeNodeInteger === void 0 ? void 0 : typeNodeInteger.value) !== null && _typeNodeInteger$valu !== void 0 ? _typeNodeInteger$valu : schemaTypeNode === null || schemaTypeNode === void 0 ? void 0 : schemaTypeNode.integerDigits;
104924
104867
  if (integerDigits != undefined) {
104925
- const integerDigitsRuleBody = new _common_KCLang_CodeDom_Functions_RegexMatchFunctionCall__WEBPACK_IMPORTED_MODULE_15__.RegexMatchFunctionCall(valueReference, new _common_KCLang_CodeDom_StringConstExpression__WEBPACK_IMPORTED_MODULE_26__.StringConstExpression("^-?\\d{0," + integerDigits.toString() + "}(([.]\\d+$)|($))"));
104926
- yield new _common_KCLang_CodeDom_IfStatement__WEBPACK_IMPORTED_MODULE_17__.IfStatement(isDecimalCondition, [this.createCheck(targetPath, integerDigitsRuleBody, makeMessage({
104868
+ const integerDigitsRuleBody = new _common_KCLang_CodeDom_Functions_RegexMatchFunctionCall__WEBPACK_IMPORTED_MODULE_14__.RegexMatchFunctionCall(valueReference, new _common_KCLang_CodeDom_StringConstExpression__WEBPACK_IMPORTED_MODULE_25__.StringConstExpression("^-?\\d{0," + integerDigits.toString() + "}(([.]\\d+$)|($))"));
104869
+ yield new _common_KCLang_CodeDom_IfStatement__WEBPACK_IMPORTED_MODULE_16__.IfStatement(isDecimalCondition, [this.createCheck(targetPath, integerDigitsRuleBody, makeMessage({
104927
104870
  integerDigitsMaxCount: integerDigits
104928
104871
  }, typeNodeInteger === null || typeNodeInteger === void 0 ? void 0 : typeNodeInteger.description, typeNode === null || typeNode === void 0 ? void 0 : typeNode.description, schemaTypeNode === null || schemaTypeNode === void 0 ? void 0 : schemaTypeNode.description), checkType)]);
104929
104872
  }
104930
- const typeNodeFractional = typeNode === null || typeNode === void 0 || (_typeNode$children14 = typeNode.children) === null || _typeNode$children14 === void 0 ? void 0 : _typeNode$children14.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_33__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_33__.FractiondigitsTypeCheckNode));
104873
+ const typeNodeFractional = typeNode === null || typeNode === void 0 || (_typeNode$children14 = typeNode.children) === null || _typeNode$children14 === void 0 ? void 0 : _typeNode$children14.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_32__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_32__.FractiondigitsTypeCheckNode));
104931
104874
  const fractionalDigits = (_typeNodeFractional$v = typeNodeFractional === null || typeNodeFractional === void 0 ? void 0 : typeNodeFractional.value) !== null && _typeNodeFractional$v !== void 0 ? _typeNodeFractional$v : schemaTypeNode === null || schemaTypeNode === void 0 ? void 0 : schemaTypeNode.fractionDigits;
104932
104875
  if (fractionalDigits != undefined) {
104933
- const fractionalDigitsRuleBody = new _common_KCLang_CodeDom_Functions_RegexMatchFunctionCall__WEBPACK_IMPORTED_MODULE_15__.RegexMatchFunctionCall(valueReference, new _common_KCLang_CodeDom_StringConstExpression__WEBPACK_IMPORTED_MODULE_26__.StringConstExpression("^-?\\d+(([.]\\d{0," + fractionalDigits.toString() + "}$)|($))"));
104934
- yield new _common_KCLang_CodeDom_IfStatement__WEBPACK_IMPORTED_MODULE_17__.IfStatement(isDecimalCondition, [this.createCheck(targetPath, fractionalDigitsRuleBody, makeMessage({
104876
+ const fractionalDigitsRuleBody = new _common_KCLang_CodeDom_Functions_RegexMatchFunctionCall__WEBPACK_IMPORTED_MODULE_14__.RegexMatchFunctionCall(valueReference, new _common_KCLang_CodeDom_StringConstExpression__WEBPACK_IMPORTED_MODULE_25__.StringConstExpression("^-?\\d+(([.]\\d{0," + fractionalDigits.toString() + "}$)|($))"));
104877
+ yield new _common_KCLang_CodeDom_IfStatement__WEBPACK_IMPORTED_MODULE_16__.IfStatement(isDecimalCondition, [this.createCheck(targetPath, fractionalDigitsRuleBody, makeMessage({
104935
104878
  fractionalDigitsMaxCount: fractionalDigits
104936
104879
  }, typeNodeFractional === null || typeNodeFractional === void 0 ? void 0 : typeNodeFractional.description, typeNode === null || typeNode === void 0 ? void 0 : typeNode.description, schemaTypeNode === null || schemaTypeNode === void 0 ? void 0 : schemaTypeNode.description), checkType)]);
104937
104880
  }
104938
- const valueEqlAutoValueErrorLevel = (_ref10 = (_typeNode$children$fi4 = typeNode === null || typeNode === void 0 || (_typeNode$children15 = typeNode.children) === null || _typeNode$children15 === void 0 || (_typeNode$children15 = _typeNode$children15.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_33__.ofType)(_common_SchemaRng_Nodes_SchemaRngRoot__WEBPACK_IMPORTED_MODULE_30__.ValueEqlAutoValueTypeCheck))) === null || _typeNode$children15 === void 0 ? void 0 : _typeNode$children15.level) !== null && _typeNode$children$fi4 !== void 0 ? _typeNode$children$fi4 : typeNode === null || typeNode === void 0 || (_typeNode$children16 = typeNode.children) === null || _typeNode$children16 === void 0 || (_typeNode$children16 = _typeNode$children16.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_33__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_33__.ValueEqlAutoValueTypeCheckNode))) === null || _typeNode$children16 === void 0 ? void 0 : _typeNode$children16.level) !== null && _ref10 !== void 0 ? _ref10 : schemaTypeNode === null || schemaTypeNode === void 0 ? void 0 : schemaTypeNode.valueEqlAutoValue;
104881
+ const valueEqlAutoValueErrorLevel = (_ref10 = (_typeNode$children$fi4 = typeNode === null || typeNode === void 0 || (_typeNode$children15 = typeNode.children) === null || _typeNode$children15 === void 0 || (_typeNode$children15 = _typeNode$children15.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_32__.ofType)(_common_SchemaRng_Nodes_SchemaRngRoot__WEBPACK_IMPORTED_MODULE_29__.ValueEqlAutoValueTypeCheck))) === null || _typeNode$children15 === void 0 ? void 0 : _typeNode$children15.level) !== null && _typeNode$children$fi4 !== void 0 ? _typeNode$children$fi4 : typeNode === null || typeNode === void 0 || (_typeNode$children16 = typeNode.children) === null || _typeNode$children16 === void 0 || (_typeNode$children16 = _typeNode$children16.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_32__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_32__.ValueEqlAutoValueTypeCheckNode))) === null || _typeNode$children16 === void 0 ? void 0 : _typeNode$children16.level) !== null && _ref10 !== void 0 ? _ref10 : schemaTypeNode === null || schemaTypeNode === void 0 ? void 0 : schemaTypeNode.valueEqlAutoValue;
104939
104882
  const baseName = (_typeNode$base2 = typeNode === null || typeNode === void 0 ? void 0 : typeNode.base) !== null && _typeNode$base2 !== void 0 ? _typeNode$base2 : schemaTypeNode === null || schemaTypeNode === void 0 ? void 0 : schemaTypeNode.baseType;
104940
104883
  if (valueEqlAutoValueErrorLevel != undefined) {
104941
104884
  var _typeNode$children$fi5, _typeNode$children17, _typeNode$children18, _typeNode$children$fi6, _typeNode$children19, _typeNode$children20;
104942
104885
  const isDecimal = baseName == "decimal";
104943
104886
  // eslint-disable-next-line @typescript-eslint/no-unused-expressions
104944
- (_typeNode$children$fi5 = typeNode === null || typeNode === void 0 || (_typeNode$children17 = typeNode.children) === null || _typeNode$children17 === void 0 || (_typeNode$children17 = _typeNode$children17.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_33__.ofType)(_common_SchemaRng_Nodes_SchemaRngRoot__WEBPACK_IMPORTED_MODULE_30__.ValueEqlAutoValueTypeCheck))) === null || _typeNode$children17 === void 0 ? void 0 : _typeNode$children17.condition) !== null && _typeNode$children$fi5 !== void 0 ? _typeNode$children$fi5 : typeNode === null || typeNode === void 0 || (_typeNode$children18 = typeNode.children) === null || _typeNode$children18 === void 0 || (_typeNode$children18 = _typeNode$children18.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_33__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_33__.ValueEqlAutoValueTypeCheckNode))) === null || _typeNode$children18 === void 0 ? void 0 : _typeNode$children18.condition;
104945
- const validationCondition = (_typeNode$children$fi6 = typeNode === null || typeNode === void 0 || (_typeNode$children19 = typeNode.children) === null || _typeNode$children19 === void 0 || (_typeNode$children19 = _typeNode$children19.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_33__.ofType)(_common_SchemaRng_Nodes_SchemaRngRoot__WEBPACK_IMPORTED_MODULE_30__.ValueEqlAutoValueTypeCheck))) === null || _typeNode$children19 === void 0 ? void 0 : _typeNode$children19.condition) !== null && _typeNode$children$fi6 !== void 0 ? _typeNode$children$fi6 : typeNode === null || typeNode === void 0 || (_typeNode$children20 = typeNode.children) === null || _typeNode$children20 === void 0 || (_typeNode$children20 = _typeNode$children20.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_33__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_33__.ValueEqlAutoValueTypeCheckNode))) === null || _typeNode$children20 === void 0 ? void 0 : _typeNode$children20.condition;
104946
- let result = this.createCheck(targetPath, new _common_KCLang_CodeDom_Functions_IsEqualToAutoCalculatedFunctionCall__WEBPACK_IMPORTED_MODULE_34__.IsEqualToAutoCalculatedFunctionCall(isDecimal ? new _common_KCLang_CodeDom_CastExpression__WEBPACK_IMPORTED_MODULE_6__.CastExpression(valueReferenceExpression, _common_KCLang_CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_19__.DecimalType.default) : new _common_KCLang_CodeDom_CastExpression__WEBPACK_IMPORTED_MODULE_6__.CastExpression(valueReferenceExpression, _common_KCLang_CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_19__.StringType.default)), _Common_AutoValidationUtils__WEBPACK_IMPORTED_MODULE_0__.AutoValidationMessage, valueEqlAutoValueErrorLevel !== null && valueEqlAutoValueErrorLevel !== void 0 ? valueEqlAutoValueErrorLevel : checkType);
104887
+ (_typeNode$children$fi5 = typeNode === null || typeNode === void 0 || (_typeNode$children17 = typeNode.children) === null || _typeNode$children17 === void 0 || (_typeNode$children17 = _typeNode$children17.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_32__.ofType)(_common_SchemaRng_Nodes_SchemaRngRoot__WEBPACK_IMPORTED_MODULE_29__.ValueEqlAutoValueTypeCheck))) === null || _typeNode$children17 === void 0 ? void 0 : _typeNode$children17.condition) !== null && _typeNode$children$fi5 !== void 0 ? _typeNode$children$fi5 : typeNode === null || typeNode === void 0 || (_typeNode$children18 = typeNode.children) === null || _typeNode$children18 === void 0 || (_typeNode$children18 = _typeNode$children18.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_32__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_32__.ValueEqlAutoValueTypeCheckNode))) === null || _typeNode$children18 === void 0 ? void 0 : _typeNode$children18.condition;
104888
+ const validationCondition = (_typeNode$children$fi6 = typeNode === null || typeNode === void 0 || (_typeNode$children19 = typeNode.children) === null || _typeNode$children19 === void 0 || (_typeNode$children19 = _typeNode$children19.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_32__.ofType)(_common_SchemaRng_Nodes_SchemaRngRoot__WEBPACK_IMPORTED_MODULE_29__.ValueEqlAutoValueTypeCheck))) === null || _typeNode$children19 === void 0 ? void 0 : _typeNode$children19.condition) !== null && _typeNode$children$fi6 !== void 0 ? _typeNode$children$fi6 : typeNode === null || typeNode === void 0 || (_typeNode$children20 = typeNode.children) === null || _typeNode$children20 === void 0 || (_typeNode$children20 = _typeNode$children20.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_32__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_32__.ValueEqlAutoValueTypeCheckNode))) === null || _typeNode$children20 === void 0 ? void 0 : _typeNode$children20.condition;
104889
+ let result = this.createCheck(targetPath, new _common_KCLang_CodeDom_Functions_IsEqualToAutoCalculatedFunctionCall__WEBPACK_IMPORTED_MODULE_33__.IsEqualToAutoCalculatedFunctionCall(isDecimal ? new _common_KCLang_CodeDom_CastExpression__WEBPACK_IMPORTED_MODULE_5__.CastExpression(valueReferenceExpression, _common_KCLang_CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_18__.DecimalType.default) : new _common_KCLang_CodeDom_CastExpression__WEBPACK_IMPORTED_MODULE_5__.CastExpression(valueReferenceExpression, _common_KCLang_CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_18__.StringType.default)), _Common_AutoValidationUtils__WEBPACK_IMPORTED_MODULE_0__.AutoValidationMessage, valueEqlAutoValueErrorLevel !== null && valueEqlAutoValueErrorLevel !== void 0 ? valueEqlAutoValueErrorLevel : checkType);
104947
104890
  if (validationCondition != undefined) {
104948
- result = new _common_KCLang_CodeDom_IfStatement__WEBPACK_IMPORTED_MODULE_17__.IfStatement(new _common_KCLang_CodeDom_KCLangRawStringExpression__WEBPACK_IMPORTED_MODULE_35__.KCLangRawStringExpression(validationCondition, _common_KCLang_CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_19__.BoolType.default), [result]);
104891
+ result = new _common_KCLang_CodeDom_IfStatement__WEBPACK_IMPORTED_MODULE_16__.IfStatement(new _common_KCLang_CodeDom_KCLangRawStringExpression__WEBPACK_IMPORTED_MODULE_34__.KCLangRawStringExpression(validationCondition, _common_KCLang_CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_18__.BoolType.default), [result]);
104949
104892
  }
104950
104893
  yield result;
104951
104894
  }
104952
104895
  }
104953
104896
  *createBaseTypeValidation(targetPath, baseType, baseDescription) {
104954
- var _IterUtils$last3, _IterUtils$last4, _IterUtils$last5, _IterUtils$last6, _IterUtils$last7;
104955
- const targetAttributeName = Iterator.from(targetPath.getPathParts()).filter(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_2__.PathTokens.isSimpleToken);
104956
- const path = _common_KCLang_CodeDom_KCLangPath__WEBPACK_IMPORTED_MODULE_18__.KCLangPath.fromModelPath(targetPath, true);
104897
+ const checkTargetValue = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.createRelativeFromTokens)(Iterator.from(targetPath.getPathParts()).filter(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.PathTokens.isSimpleToken).toArray()).toString();
104898
+ const path = _common_KCLang_CodeDom_KCLangPath__WEBPACK_IMPORTED_MODULE_17__.KCLangPath.fromModelPath(targetPath, true);
104957
104899
  switch (baseType) {
104958
104900
  case "string":
104959
104901
  case "pattern":
104960
104902
  case "boolean":
104961
104903
  return;
104962
104904
  case "integer":
104963
- yield new _common_KCLang_CodeDom_CheckStatement__WEBPACK_IMPORTED_MODULE_7__.CheckStatement(new _common_KCLang_CodeDom_Functions_RegexMatchFunctionCall__WEBPACK_IMPORTED_MODULE_15__.RegexMatchFunctionCall(new _common_KCLang_CodeDom_CastExpression__WEBPACK_IMPORTED_MODULE_6__.CastExpression(new _common_KCLang_CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_27__.ValueReferenceExpression(path), _common_KCLang_CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_19__.StringType.default), new _common_KCLang_CodeDom_StringConstExpression__WEBPACK_IMPORTED_MODULE_26__.StringConstExpression("^-?\\d+$")), [new _common_KCLang_CodeDom_WithBlock__WEBPACK_IMPORTED_MODULE_28__.WithBlock("description", new _common_KCLang_CodeDom_DescriptionText__WEBPACK_IMPORTED_MODULE_9__.DescriptionText(baseDescription !== null && baseDescription !== void 0 ? baseDescription : _common_SchemaRng_StringTypeMessageGenerator__WEBPACK_IMPORTED_MODULE_31__.StringTypeMessageGenerator.getBaseTypeMessage(baseType))), new _common_KCLang_CodeDom_WithBlock__WEBPACK_IMPORTED_MODULE_28__.WithBlock("target", new _common_KCLang_CodeDom_DescriptionText__WEBPACK_IMPORTED_MODULE_9__.DescriptionText((_IterUtils$last3 = _Common_IterableUtils__WEBPACK_IMPORTED_MODULE_1__.IterUtils.last(targetAttributeName)) !== null && _IterUtils$last3 !== void 0 ? _IterUtils$last3 : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_4__.reject)()))]);
104905
+ yield new _common_KCLang_CodeDom_CheckStatement__WEBPACK_IMPORTED_MODULE_6__.CheckStatement(new _common_KCLang_CodeDom_Functions_RegexMatchFunctionCall__WEBPACK_IMPORTED_MODULE_14__.RegexMatchFunctionCall(new _common_KCLang_CodeDom_CastExpression__WEBPACK_IMPORTED_MODULE_5__.CastExpression(new _common_KCLang_CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_26__.ValueReferenceExpression(path), _common_KCLang_CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_18__.StringType.default), new _common_KCLang_CodeDom_StringConstExpression__WEBPACK_IMPORTED_MODULE_25__.StringConstExpression("^-?\\d+$")), [new _common_KCLang_CodeDom_WithBlock__WEBPACK_IMPORTED_MODULE_27__.WithBlock("description", new _common_KCLang_CodeDom_DescriptionText__WEBPACK_IMPORTED_MODULE_8__.DescriptionText(baseDescription !== null && baseDescription !== void 0 ? baseDescription : _common_SchemaRng_StringTypeMessageGenerator__WEBPACK_IMPORTED_MODULE_30__.StringTypeMessageGenerator.getBaseTypeMessage(baseType))), new _common_KCLang_CodeDom_WithBlock__WEBPACK_IMPORTED_MODULE_27__.WithBlock("target", new _common_KCLang_CodeDom_DescriptionText__WEBPACK_IMPORTED_MODULE_8__.DescriptionText(checkTargetValue))]);
104964
104906
  break;
104965
104907
  case "decimal":
104966
- yield new _common_KCLang_CodeDom_CheckStatement__WEBPACK_IMPORTED_MODULE_7__.CheckStatement(new _common_KCLang_CodeDom_Functions_RegexMatchFunctionCall__WEBPACK_IMPORTED_MODULE_15__.RegexMatchFunctionCall(new _common_KCLang_CodeDom_CastExpression__WEBPACK_IMPORTED_MODULE_6__.CastExpression(new _common_KCLang_CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_27__.ValueReferenceExpression(path), _common_KCLang_CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_19__.StringType.default), new _common_KCLang_CodeDom_StringConstExpression__WEBPACK_IMPORTED_MODULE_26__.StringConstExpression("^-?\\d+(([.]\\d+$)|($))")), [new _common_KCLang_CodeDom_WithBlock__WEBPACK_IMPORTED_MODULE_28__.WithBlock("description", new _common_KCLang_CodeDom_DescriptionText__WEBPACK_IMPORTED_MODULE_9__.DescriptionText(baseDescription !== null && baseDescription !== void 0 ? baseDescription : _common_SchemaRng_StringTypeMessageGenerator__WEBPACK_IMPORTED_MODULE_31__.StringTypeMessageGenerator.getBaseTypeMessage(baseType))), new _common_KCLang_CodeDom_WithBlock__WEBPACK_IMPORTED_MODULE_28__.WithBlock("target", new _common_KCLang_CodeDom_DescriptionText__WEBPACK_IMPORTED_MODULE_9__.DescriptionText((_IterUtils$last4 = _Common_IterableUtils__WEBPACK_IMPORTED_MODULE_1__.IterUtils.last(targetAttributeName)) !== null && _IterUtils$last4 !== void 0 ? _IterUtils$last4 : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_4__.reject)()))]);
104908
+ yield new _common_KCLang_CodeDom_CheckStatement__WEBPACK_IMPORTED_MODULE_6__.CheckStatement(new _common_KCLang_CodeDom_Functions_RegexMatchFunctionCall__WEBPACK_IMPORTED_MODULE_14__.RegexMatchFunctionCall(new _common_KCLang_CodeDom_CastExpression__WEBPACK_IMPORTED_MODULE_5__.CastExpression(new _common_KCLang_CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_26__.ValueReferenceExpression(path), _common_KCLang_CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_18__.StringType.default), new _common_KCLang_CodeDom_StringConstExpression__WEBPACK_IMPORTED_MODULE_25__.StringConstExpression("^-?\\d+(([.]\\d+$)|($))")), [new _common_KCLang_CodeDom_WithBlock__WEBPACK_IMPORTED_MODULE_27__.WithBlock("description", new _common_KCLang_CodeDom_DescriptionText__WEBPACK_IMPORTED_MODULE_8__.DescriptionText(baseDescription !== null && baseDescription !== void 0 ? baseDescription : _common_SchemaRng_StringTypeMessageGenerator__WEBPACK_IMPORTED_MODULE_30__.StringTypeMessageGenerator.getBaseTypeMessage(baseType))), new _common_KCLang_CodeDom_WithBlock__WEBPACK_IMPORTED_MODULE_27__.WithBlock("target", new _common_KCLang_CodeDom_DescriptionText__WEBPACK_IMPORTED_MODULE_8__.DescriptionText(checkTargetValue))]);
104967
104909
  break;
104968
104910
  case "date":
104969
- yield new _common_KCLang_CodeDom_CheckStatement__WEBPACK_IMPORTED_MODULE_7__.CheckStatement(new _common_KCLang_CodeDom_Functions_RegexMatchFunctionCall__WEBPACK_IMPORTED_MODULE_15__.RegexMatchFunctionCall(new _common_KCLang_CodeDom_CastExpression__WEBPACK_IMPORTED_MODULE_6__.CastExpression(new _common_KCLang_CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_27__.ValueReferenceExpression(path), _common_KCLang_CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_19__.StringType.default), new _common_KCLang_CodeDom_StringConstExpression__WEBPACK_IMPORTED_MODULE_26__.StringConstExpression("^(0[1-9]|[12][0-9]|3[01])\\.(0[1-9]|1[012])\\.(19|20)[0-9]{2}$")), [new _common_KCLang_CodeDom_WithBlock__WEBPACK_IMPORTED_MODULE_28__.WithBlock("description", new _common_KCLang_CodeDom_DescriptionText__WEBPACK_IMPORTED_MODULE_9__.DescriptionText(baseDescription !== null && baseDescription !== void 0 ? baseDescription : _common_SchemaRng_StringTypeMessageGenerator__WEBPACK_IMPORTED_MODULE_31__.StringTypeMessageGenerator.getBaseTypeMessage(baseType))), new _common_KCLang_CodeDom_WithBlock__WEBPACK_IMPORTED_MODULE_28__.WithBlock("target", new _common_KCLang_CodeDom_DescriptionText__WEBPACK_IMPORTED_MODULE_9__.DescriptionText((_IterUtils$last5 = _Common_IterableUtils__WEBPACK_IMPORTED_MODULE_1__.IterUtils.last(targetAttributeName)) !== null && _IterUtils$last5 !== void 0 ? _IterUtils$last5 : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_4__.reject)()))]);
104911
+ yield new _common_KCLang_CodeDom_CheckStatement__WEBPACK_IMPORTED_MODULE_6__.CheckStatement(new _common_KCLang_CodeDom_Functions_RegexMatchFunctionCall__WEBPACK_IMPORTED_MODULE_14__.RegexMatchFunctionCall(new _common_KCLang_CodeDom_CastExpression__WEBPACK_IMPORTED_MODULE_5__.CastExpression(new _common_KCLang_CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_26__.ValueReferenceExpression(path), _common_KCLang_CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_18__.StringType.default), new _common_KCLang_CodeDom_StringConstExpression__WEBPACK_IMPORTED_MODULE_25__.StringConstExpression("^(0[1-9]|[12][0-9]|3[01])\\.(0[1-9]|1[012])\\.(19|20)[0-9]{2}$")), [new _common_KCLang_CodeDom_WithBlock__WEBPACK_IMPORTED_MODULE_27__.WithBlock("description", new _common_KCLang_CodeDom_DescriptionText__WEBPACK_IMPORTED_MODULE_8__.DescriptionText(baseDescription !== null && baseDescription !== void 0 ? baseDescription : _common_SchemaRng_StringTypeMessageGenerator__WEBPACK_IMPORTED_MODULE_30__.StringTypeMessageGenerator.getBaseTypeMessage(baseType))), new _common_KCLang_CodeDom_WithBlock__WEBPACK_IMPORTED_MODULE_27__.WithBlock("target", new _common_KCLang_CodeDom_DescriptionText__WEBPACK_IMPORTED_MODULE_8__.DescriptionText(checkTargetValue))]);
104970
104912
  break;
104971
104913
  case "gYear":
104972
- yield new _common_KCLang_CodeDom_CheckStatement__WEBPACK_IMPORTED_MODULE_7__.CheckStatement(new _common_KCLang_CodeDom_Functions_RegexMatchFunctionCall__WEBPACK_IMPORTED_MODULE_15__.RegexMatchFunctionCall(new _common_KCLang_CodeDom_CastExpression__WEBPACK_IMPORTED_MODULE_6__.CastExpression(new _common_KCLang_CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_27__.ValueReferenceExpression(path), _common_KCLang_CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_19__.StringType.default), new _common_KCLang_CodeDom_StringConstExpression__WEBPACK_IMPORTED_MODULE_26__.StringConstExpression("^\\d{4}$")), [new _common_KCLang_CodeDom_WithBlock__WEBPACK_IMPORTED_MODULE_28__.WithBlock("description", new _common_KCLang_CodeDom_DescriptionText__WEBPACK_IMPORTED_MODULE_9__.DescriptionText(baseDescription !== null && baseDescription !== void 0 ? baseDescription : _common_SchemaRng_StringTypeMessageGenerator__WEBPACK_IMPORTED_MODULE_31__.StringTypeMessageGenerator.getBaseTypeMessage(baseType))), new _common_KCLang_CodeDom_WithBlock__WEBPACK_IMPORTED_MODULE_28__.WithBlock("target", new _common_KCLang_CodeDom_DescriptionText__WEBPACK_IMPORTED_MODULE_9__.DescriptionText((_IterUtils$last6 = _Common_IterableUtils__WEBPACK_IMPORTED_MODULE_1__.IterUtils.last(targetAttributeName)) !== null && _IterUtils$last6 !== void 0 ? _IterUtils$last6 : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_4__.reject)()))]);
104914
+ yield new _common_KCLang_CodeDom_CheckStatement__WEBPACK_IMPORTED_MODULE_6__.CheckStatement(new _common_KCLang_CodeDom_Functions_RegexMatchFunctionCall__WEBPACK_IMPORTED_MODULE_14__.RegexMatchFunctionCall(new _common_KCLang_CodeDom_CastExpression__WEBPACK_IMPORTED_MODULE_5__.CastExpression(new _common_KCLang_CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_26__.ValueReferenceExpression(path), _common_KCLang_CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_18__.StringType.default), new _common_KCLang_CodeDom_StringConstExpression__WEBPACK_IMPORTED_MODULE_25__.StringConstExpression("^\\d{4}$")), [new _common_KCLang_CodeDom_WithBlock__WEBPACK_IMPORTED_MODULE_27__.WithBlock("description", new _common_KCLang_CodeDom_DescriptionText__WEBPACK_IMPORTED_MODULE_8__.DescriptionText(baseDescription !== null && baseDescription !== void 0 ? baseDescription : _common_SchemaRng_StringTypeMessageGenerator__WEBPACK_IMPORTED_MODULE_30__.StringTypeMessageGenerator.getBaseTypeMessage(baseType))), new _common_KCLang_CodeDom_WithBlock__WEBPACK_IMPORTED_MODULE_27__.WithBlock("target", new _common_KCLang_CodeDom_DescriptionText__WEBPACK_IMPORTED_MODULE_8__.DescriptionText(checkTargetValue))]);
104973
104915
  break;
104974
104916
  case "gMonth":
104975
- yield new _common_KCLang_CodeDom_CheckStatement__WEBPACK_IMPORTED_MODULE_7__.CheckStatement(new _common_KCLang_CodeDom_Functions_RegexMatchFunctionCall__WEBPACK_IMPORTED_MODULE_15__.RegexMatchFunctionCall(new _common_KCLang_CodeDom_CastExpression__WEBPACK_IMPORTED_MODULE_6__.CastExpression(new _common_KCLang_CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_27__.ValueReferenceExpression(path), _common_KCLang_CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_19__.StringType.default), new _common_KCLang_CodeDom_StringConstExpression__WEBPACK_IMPORTED_MODULE_26__.StringConstExpression("^(--(0[1-9]|1[0-2]))$")), [new _common_KCLang_CodeDom_WithBlock__WEBPACK_IMPORTED_MODULE_28__.WithBlock("description", new _common_KCLang_CodeDom_DescriptionText__WEBPACK_IMPORTED_MODULE_9__.DescriptionText(baseDescription !== null && baseDescription !== void 0 ? baseDescription : _common_SchemaRng_StringTypeMessageGenerator__WEBPACK_IMPORTED_MODULE_31__.StringTypeMessageGenerator.getBaseTypeMessage(baseType))), new _common_KCLang_CodeDom_WithBlock__WEBPACK_IMPORTED_MODULE_28__.WithBlock("target", new _common_KCLang_CodeDom_DescriptionText__WEBPACK_IMPORTED_MODULE_9__.DescriptionText((_IterUtils$last7 = _Common_IterableUtils__WEBPACK_IMPORTED_MODULE_1__.IterUtils.last(targetAttributeName)) !== null && _IterUtils$last7 !== void 0 ? _IterUtils$last7 : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_4__.reject)()))]);
104917
+ yield new _common_KCLang_CodeDom_CheckStatement__WEBPACK_IMPORTED_MODULE_6__.CheckStatement(new _common_KCLang_CodeDom_Functions_RegexMatchFunctionCall__WEBPACK_IMPORTED_MODULE_14__.RegexMatchFunctionCall(new _common_KCLang_CodeDom_CastExpression__WEBPACK_IMPORTED_MODULE_5__.CastExpression(new _common_KCLang_CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_26__.ValueReferenceExpression(path), _common_KCLang_CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_18__.StringType.default), new _common_KCLang_CodeDom_StringConstExpression__WEBPACK_IMPORTED_MODULE_25__.StringConstExpression("^(--(0[1-9]|1[0-2]))$")), [new _common_KCLang_CodeDom_WithBlock__WEBPACK_IMPORTED_MODULE_27__.WithBlock("description", new _common_KCLang_CodeDom_DescriptionText__WEBPACK_IMPORTED_MODULE_8__.DescriptionText(baseDescription !== null && baseDescription !== void 0 ? baseDescription : _common_SchemaRng_StringTypeMessageGenerator__WEBPACK_IMPORTED_MODULE_30__.StringTypeMessageGenerator.getBaseTypeMessage(baseType))), new _common_KCLang_CodeDom_WithBlock__WEBPACK_IMPORTED_MODULE_27__.WithBlock("target", new _common_KCLang_CodeDom_DescriptionText__WEBPACK_IMPORTED_MODULE_8__.DescriptionText(checkTargetValue))]);
104976
104918
  break;
104977
104919
  default:
104978
104920
  throw new Error(`Unknown base type name: '${baseType}'`);
@@ -104981,7 +104923,7 @@ class KCLangCalculationsBuildContext {
104981
104923
  }
104982
104924
  }
104983
104925
  function combineByAndKCLangExpr(acc, current) {
104984
- return acc != undefined ? new _common_KCLang_CodeDom_OrExpression__WEBPACK_IMPORTED_MODULE_24__.OrExpression(acc, current) : current;
104926
+ return acc != undefined ? new _common_KCLang_CodeDom_OrExpression__WEBPACK_IMPORTED_MODULE_23__.OrExpression(acc, current) : current;
104985
104927
  }
104986
104928
 
104987
104929
  /***/ }),
@@ -106614,9 +106556,9 @@ class SugarNodeConverterBase {
106614
106556
  *getAttachmentPathsWithGfvs() {
106615
106557
  // no paths by default
106616
106558
  }
106617
- buildSugarKCLangCalculations(buildContext, formSchemaRng) {
106559
+ buildSugarKCLangCalculations(buildContext, formSchemaRng, prefixPath) {
106618
106560
  const result = [];
106619
- result.push(...this.doBuildKCLangValidations(buildContext, formSchemaRng));
106561
+ result.push(...this.doBuildKCLangValidations(buildContext, formSchemaRng, prefixPath));
106620
106562
  const children = this.buildChildrenKCLangValidations(buildContext, formSchemaRng);
106621
106563
  const childrenArray = Iterator.from(children).toArray();
106622
106564
  const ownPath = this.node.getOwnPathForKCLang();
@@ -106733,7 +106675,8 @@ class SugarNodeConverterBase {
106733
106675
  continue;
106734
106676
  }
106735
106677
  const converter = new controlConverterClass(child);
106736
- const childResults = Iterator.from(converter.buildSugarKCLangCalculations(buildContext, formSchemaRng)).toArray();
106678
+ const fullParentPath = this.node.getFullPath().getPathWithoutIterations();
106679
+ const childResults = Iterator.from(converter.buildSugarKCLangCalculations(buildContext, formSchemaRng, fullParentPath)).toArray();
106737
106680
  if (childResults.length > 0) {
106738
106681
  const pathToParent = getPathToParent(child, this.node);
106739
106682
  if (pathToParent == undefined) {
@@ -106751,7 +106694,7 @@ class SugarNodeConverterBase {
106751
106694
  processFocusManagementAttributes(converterResult) {
106752
106695
  return _FocusManagementProcessor__WEBPACK_IMPORTED_MODULE_11__.FocusManagementProcessor.processFocusManagementAttributes(this.node, converterResult);
106753
106696
  }
106754
- doBuildKCLangValidations(_buildContext, _formSchemaRng) {
106697
+ doBuildKCLangValidations(_buildContext, _formSchemaRng, _prefixPath) {
106755
106698
  return [];
106756
106699
  }
106757
106700
  }