@kontur.candy/generator 5.94.0-sum-in-menu.0 → 5.94.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 +316 -354
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -45841,7 +45841,7 @@ __webpack_require__.r(__webpack_exports__);
45841
45841
  /* harmony export */ });
45842
45842
  const contextualActions = ["userPicklist.AddToReference", "referencedfields.ClearFields", "referencedfields.SwitchToManual", "referencedfields.SwitchToReferenced", "referencedfields.SelectFromReference", "modalInstanceUnit.Open", "modalInstanceUnit.Close"];
45843
45843
  function isValidContextualActionName(value) {
45844
- return contextualActions.some(x => value);
45844
+ return contextualActions.some(() => value);
45845
45845
  }
45846
45846
  function isContextualActionName(handlerName) {
45847
45847
  return handlerName.includes(".");
@@ -45905,7 +45905,7 @@ function getRngSchemaFileExtension(formSchemasDirPath, gfv) {
45905
45905
  return ".rng.xml";
45906
45906
  }
45907
45907
  return `.${maxSubversion}.rng.xml`;
45908
- } catch (e) {
45908
+ } catch {
45909
45909
  // eslint-disable-next-line no-console
45910
45910
  console.log(`Folder does not exist. ${formSchemasDirPath}`);
45911
45911
  return ".rng.xml";
@@ -46754,7 +46754,7 @@ class Map2 {
46754
46754
  this.setOrUpdate(key, () => value, () => value);
46755
46755
  }
46756
46756
  getOrSet(key, defaultValueFactory) {
46757
- return this.setOrUpdate(key, defaultValueFactory, (k, v) => v);
46757
+ return this.setOrUpdate(key, defaultValueFactory, (_, v) => v);
46758
46758
  }
46759
46759
  get(key) {
46760
46760
  var _this$getEntryOrUndef;
@@ -46767,7 +46767,7 @@ class Map2 {
46767
46767
  const hash = this.getKeyHash(key);
46768
46768
  const list = this.hashMap.get(hash);
46769
46769
  if (list != undefined) {
46770
- const removingEntry = Iterator.from(_IterableUtils__WEBPACK_IMPORTED_MODULE_1__.IterUtils.iterateEntries(list)).find(([index, [itemKey, itemValue]]) => this.areKeyEqual(itemKey, key));
46770
+ const removingEntry = Iterator.from(_IterableUtils__WEBPACK_IMPORTED_MODULE_1__.IterUtils.iterateEntries(list)).find(([_, [itemKey]]) => this.areKeyEqual(itemKey, key));
46771
46771
  if (removingEntry != undefined) {
46772
46772
  list.splice(removingEntry[0], 1);
46773
46773
  return true;
@@ -47673,7 +47673,6 @@ __webpack_require__.r(__webpack_exports__);
47673
47673
  /* harmony export */ OptionalElementsExistenceFieldName: () => (/* binding */ OptionalElementsExistenceFieldName),
47674
47674
  /* harmony export */ OptionalSectionFilledFieldName: () => (/* binding */ OptionalSectionFilledFieldName),
47675
47675
  /* harmony export */ TruthyTechnicalFieldValue: () => (/* binding */ TruthyTechnicalFieldValue),
47676
- /* harmony export */ UnitItemExtraInfoPath: () => (/* binding */ UnitItemExtraInfoPath),
47677
47676
  /* harmony export */ UnitLabelPath: () => (/* binding */ UnitLabelPath),
47678
47677
  /* harmony export */ reservedForTechnicalUsageFields: () => (/* binding */ reservedForTechnicalUsageFields)
47679
47678
  /* harmony export */ });
@@ -47681,7 +47680,6 @@ __webpack_require__.r(__webpack_exports__);
47681
47680
 
47682
47681
  const UnitLabelPath = (0,_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.createRelativeResolvedModelPath)("label");
47683
47682
  const AttachmentInfoPath = (0,_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.createRelativeResolvedModelPath)("attachment");
47684
- const UnitItemExtraInfoPath = (0,_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.createRelativeResolvedModelPath)("unitextrainfo");
47685
47683
  const TruthyTechnicalFieldValue = "1";
47686
47684
  const FalsyTechnicalFieldValue = null;
47687
47685
  const OptionalSectionFilledFieldName = "isFilledOptional";
@@ -47810,7 +47808,7 @@ function ensureArrayLengthGreaterThenOrEqual(items, length) {
47810
47808
  throw new Error(`Array must have minimal length ${length}`);
47811
47809
  }
47812
47810
  }
47813
- function ensureNever(neverArgument) {
47811
+ function ensureNever(_neverArgument) {
47814
47812
  // noop
47815
47813
  }
47816
47814
  function ensureAndGetString(neverArgument) {
@@ -47832,7 +47830,7 @@ function isNullOrWhiteSpace(input) {
47832
47830
  function trimLastSlash(url) {
47833
47831
  return url.slice(-1) === "/" ? url.slice(0, -1) : url;
47834
47832
  }
47835
- function assertIs(value) {
47833
+ function assertIs(_) {
47836
47834
  // noop
47837
47835
  }
47838
47836
 
@@ -49540,7 +49538,7 @@ class CompileFilterExpressionTransduceVisitor extends FilterExpressionTransduceV
49540
49538
  return condition.value;
49541
49539
  }
49542
49540
  transformByInstancesExpression(expression) {
49543
- return (getModelValuesFn, getInstanceFn) => {
49541
+ return (_, getInstanceFn) => {
49544
49542
  const instance = getInstanceFn(expression.condition.dataPath);
49545
49543
  return expression.condition.instances.some(x => x === instance);
49546
49544
  };
@@ -49735,8 +49733,7 @@ __webpack_require__.r(__webpack_exports__);
49735
49733
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
49736
49734
  /* harmony export */ safeCast: () => (/* binding */ safeCast),
49737
49735
  /* harmony export */ strictCast: () => (/* binding */ strictCast),
49738
- /* harmony export */ tryCast: () => (/* binding */ tryCast),
49739
- /* harmony export */ tryParseAttachmentUnitPaths: () => (/* binding */ tryParseAttachmentUnitPaths)
49736
+ /* harmony export */ tryCast: () => (/* binding */ tryCast)
49740
49737
  /* harmony export */ });
49741
49738
  function tryCast(input, type) {
49742
49739
  if (input == undefined) {
@@ -49762,13 +49759,6 @@ function strictCast(input, type) {
49762
49759
  // @ts-ignore
49763
49760
  return result;
49764
49761
  }
49765
- function tryParseAttachmentUnitPaths(input) {
49766
- try {
49767
- return JSON.parse(input);
49768
- } catch (e) {
49769
- return input;
49770
- }
49771
- }
49772
49762
 
49773
49763
  /***/ }),
49774
49764
 
@@ -51272,7 +51262,7 @@ class KCLangAntlrVisitor {
51272
51262
  }
51273
51263
  return targetContext.accept(this);
51274
51264
  }
51275
- visitGlobalVariable(ctx) {
51265
+ visitGlobalVariable() {
51276
51266
  throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_1__.NotSupportedError("visitGlobalVariable not supported");
51277
51267
  }
51278
51268
 
@@ -51384,12 +51374,12 @@ class KCLangAntlrVisitor {
51384
51374
  body: ctx.body().accept(this)
51385
51375
  };
51386
51376
  }
51387
- visitElsePart(ctx) {
51377
+ visitElsePart() {
51388
51378
  throw Error("ElsePart not used");
51389
51379
  }
51390
51380
 
51391
51381
  // Expression
51392
- visitExpression(ctx) {
51382
+ visitExpression() {
51393
51383
  throw Error("visitExpression not used");
51394
51384
  }
51395
51385
  visitArray(ctx) {
@@ -51435,10 +51425,10 @@ class KCLangAntlrVisitor {
51435
51425
  }).flat()
51436
51426
  };
51437
51427
  }
51438
- visitVarName(ctx) {
51428
+ visitVarName() {
51439
51429
  throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_1__.NotSupportedError("visitVarName not supported");
51440
51430
  }
51441
- visitVarExpression(ctx) {
51431
+ visitVarExpression() {
51442
51432
  throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_1__.NotSupportedError("visitVarExpression not supported");
51443
51433
  }
51444
51434
  visitBrackets(ctx) {
@@ -51544,10 +51534,10 @@ class KCLangAntlrVisitor {
51544
51534
  }
51545
51535
 
51546
51536
  // Property
51547
- visitPropertyExpression(ctx) {
51537
+ visitPropertyExpression() {
51548
51538
  throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_1__.NotSupportedError("visitPropertyExpression not supported");
51549
51539
  }
51550
- visitPropertyVariable(ctx) {
51540
+ visitPropertyVariable() {
51551
51541
  throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_1__.NotSupportedError("visitPropertyVariable not supported");
51552
51542
  }
51553
51543
 
@@ -51775,19 +51765,19 @@ class KCLangAntlrVisitor {
51775
51765
  }
51776
51766
 
51777
51767
  // Other
51778
- visit(tree) {
51768
+ visit() {
51779
51769
  throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_1__.NotSupportedError("visit not supported");
51780
51770
  }
51781
- visitLocalVariable(ctx) {
51771
+ visitLocalVariable() {
51782
51772
  throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_1__.NotSupportedError("visitLocalVariable not supported");
51783
51773
  }
51784
- visitLabel(ctx) {
51774
+ visitLabel() {
51785
51775
  throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_1__.NotSupportedError("visitLabel is not supported");
51786
51776
  }
51787
- visitTerminal(node) {
51777
+ visitTerminal() {
51788
51778
  throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_1__.NotSupportedError("visitTerminal not supported");
51789
51779
  }
51790
- visitErrorNode(node) {
51780
+ visitErrorNode() {
51791
51781
  throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_1__.NotSupportedError("visitErrorNode not implemented");
51792
51782
  }
51793
51783
  visitChildren(node) {
@@ -59591,7 +59581,7 @@ class ErrorListener {
59591
59581
  get errorMessages() {
59592
59582
  return this.innerErrorMessages;
59593
59583
  }
59594
- syntaxError(recognizer, offendingSymbol, line, charPositionInLine, msg, e) {
59584
+ syntaxError(_, __, line, charPositionInLine, msg) {
59595
59585
  this.innerErrorMessages.push(`Parsing error at [${line}, ${charPositionInLine}]. Message: ${msg}`);
59596
59586
  }
59597
59587
  }
@@ -59630,11 +59620,9 @@ __webpack_require__.r(__webpack_exports__);
59630
59620
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
59631
59621
  /* harmony export */ BinaryExpression: () => (/* binding */ BinaryExpression)
59632
59622
  /* harmony export */ });
59633
- /* harmony import */ var _KCLangUtils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./KCLangUtils */ "./Generator/src/common/KCLang/CodeDom/KCLangUtils.ts");
59634
- /* harmony import */ var _KCLangExpression__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./KCLangExpression */ "./Generator/src/common/KCLang/CodeDom/KCLangExpression.ts");
59635
-
59623
+ /* harmony import */ var _KCLangExpression__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./KCLangExpression */ "./Generator/src/common/KCLang/CodeDom/KCLangExpression.ts");
59636
59624
 
59637
- class BinaryExpression extends _KCLangExpression__WEBPACK_IMPORTED_MODULE_1__.KCLangExpression {
59625
+ class BinaryExpression extends _KCLangExpression__WEBPACK_IMPORTED_MODULE_0__.KCLangExpression {
59638
59626
  constructor(left, right) {
59639
59627
  super();
59640
59628
  this.left = void 0;
@@ -59642,10 +59630,10 @@ class BinaryExpression extends _KCLangExpression__WEBPACK_IMPORTED_MODULE_1__.KC
59642
59630
  this.left = left;
59643
59631
  this.right = right;
59644
59632
  }
59645
- needAddBraces(child) {
59633
+ needAddBraces(_) {
59646
59634
  return true;
59647
59635
  }
59648
- toString(indentSize = _KCLangUtils__WEBPACK_IMPORTED_MODULE_0__.defaultIndentSize) {
59636
+ toString() {
59649
59637
  const leftExpr = this.needAddBraces(this.left) ? `(${this.left.toString()})` : this.left.toString();
59650
59638
  const rightExpr = this.needAddBraces(this.right) ? `(${this.right.toString()})` : this.right.toString();
59651
59639
  return `${leftExpr} ${this.operatorToString()} ${rightExpr}`;
@@ -59734,9 +59722,7 @@ __webpack_require__.r(__webpack_exports__);
59734
59722
  /* harmony export */ });
59735
59723
  /* harmony import */ var big_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! big.js */ "./node_modules/big.js/big.mjs");
59736
59724
  /* harmony import */ var _KCLangExpression__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./KCLangExpression */ "./Generator/src/common/KCLang/CodeDom/KCLangExpression.ts");
59737
- /* harmony import */ var _KCLangUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./KCLangUtils */ "./Generator/src/common/KCLang/CodeDom/KCLangUtils.ts");
59738
- /* harmony import */ var _KCLangType__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./KCLangType */ "./Generator/src/common/KCLang/CodeDom/KCLangType.ts");
59739
-
59725
+ /* harmony import */ var _KCLangType__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./KCLangType */ "./Generator/src/common/KCLang/CodeDom/KCLangType.ts");
59740
59726
 
59741
59727
 
59742
59728
 
@@ -59747,9 +59733,9 @@ class DecimalConstExpression extends _KCLangExpression__WEBPACK_IMPORTED_MODULE_
59747
59733
  this.value = (0,big_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value);
59748
59734
  }
59749
59735
  getType() {
59750
- return _KCLangType__WEBPACK_IMPORTED_MODULE_3__.DecimalType.default;
59736
+ return _KCLangType__WEBPACK_IMPORTED_MODULE_2__.DecimalType.default;
59751
59737
  }
59752
- toString(indentSize = _KCLangUtils__WEBPACK_IMPORTED_MODULE_2__.defaultIndentSize) {
59738
+ toString() {
59753
59739
  return this.value.toFixed();
59754
59740
  }
59755
59741
  }
@@ -59775,7 +59761,7 @@ class DescriptionText extends _KCLangBase__WEBPACK_IMPORTED_MODULE_0__.KCLangBas
59775
59761
  this.value = void 0;
59776
59762
  this.value = value;
59777
59763
  }
59778
- toString(indentSize) {
59764
+ toString() {
59779
59765
  return this.value;
59780
59766
  }
59781
59767
  }
@@ -60171,12 +60157,12 @@ __webpack_require__.r(__webpack_exports__);
60171
60157
 
60172
60158
 
60173
60159
  class PathElementFilter extends _KCLangBase__WEBPACK_IMPORTED_MODULE_2__.KCLangBase {
60174
- toString(indentSize) {
60160
+ toString(_indentSize) {
60175
60161
  return "";
60176
60162
  }
60177
60163
  }
60178
60164
  class PathElementCollation extends _KCLangBase__WEBPACK_IMPORTED_MODULE_2__.KCLangBase {
60179
- toString(indentSize) {
60165
+ toString(_indentSize) {
60180
60166
  return "";
60181
60167
  }
60182
60168
  }
@@ -60255,7 +60241,7 @@ class KCLangRawStringExpression extends _KCLangExpression__WEBPACK_IMPORTED_MODU
60255
60241
  getType() {
60256
60242
  return this.result;
60257
60243
  }
60258
- toString(indentSize) {
60244
+ toString() {
60259
60245
  return `${this.value}`;
60260
60246
  }
60261
60247
  }
@@ -60678,8 +60664,6 @@ __webpack_require__.r(__webpack_exports__);
60678
60664
  /* harmony export */ });
60679
60665
  /* harmony import */ var _KCLangExpression__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./KCLangExpression */ "./Generator/src/common/KCLang/CodeDom/KCLangExpression.ts");
60680
60666
  /* harmony import */ var _KCLangType__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./KCLangType */ "./Generator/src/common/KCLang/CodeDom/KCLangType.ts");
60681
- /* harmony import */ var _KCLangUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./KCLangUtils */ "./Generator/src/common/KCLang/CodeDom/KCLangUtils.ts");
60682
-
60683
60667
 
60684
60668
 
60685
60669
  class StringArrayConstExpression extends _KCLangExpression__WEBPACK_IMPORTED_MODULE_0__.KCLangExpression {
@@ -60691,7 +60675,7 @@ class StringArrayConstExpression extends _KCLangExpression__WEBPACK_IMPORTED_MOD
60691
60675
  getType() {
60692
60676
  return _KCLangType__WEBPACK_IMPORTED_MODULE_1__.StringArrayType.default;
60693
60677
  }
60694
- toString(indentSize = _KCLangUtils__WEBPACK_IMPORTED_MODULE_2__.defaultIndentSize) {
60678
+ toString() {
60695
60679
  return `[${this.values.map(x => x.toString()).join(", ")}]`;
60696
60680
  }
60697
60681
  }
@@ -60710,12 +60694,10 @@ __webpack_require__.r(__webpack_exports__);
60710
60694
  /* harmony export */ StringConstExpression: () => (/* binding */ StringConstExpression)
60711
60695
  /* harmony export */ });
60712
60696
  /* harmony import */ var _KCLangExpression__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./KCLangExpression */ "./Generator/src/common/KCLang/CodeDom/KCLangExpression.ts");
60713
- /* harmony import */ var _KCLangUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./KCLangUtils */ "./Generator/src/common/KCLang/CodeDom/KCLangUtils.ts");
60714
- /* harmony import */ var _KCLangType__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./KCLangType */ "./Generator/src/common/KCLang/CodeDom/KCLangType.ts");
60697
+ /* harmony import */ var _KCLangType__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./KCLangType */ "./Generator/src/common/KCLang/CodeDom/KCLangType.ts");
60715
60698
  var _StringConstExpression;
60716
60699
 
60717
60700
 
60718
-
60719
60701
  class StringConstExpression extends _KCLangExpression__WEBPACK_IMPORTED_MODULE_0__.KCLangExpression {
60720
60702
  constructor(value) {
60721
60703
  super();
@@ -60723,9 +60705,9 @@ class StringConstExpression extends _KCLangExpression__WEBPACK_IMPORTED_MODULE_0
60723
60705
  this.value = value;
60724
60706
  }
60725
60707
  getType() {
60726
- return _KCLangType__WEBPACK_IMPORTED_MODULE_2__.StringType.default;
60708
+ return _KCLangType__WEBPACK_IMPORTED_MODULE_1__.StringType.default;
60727
60709
  }
60728
- toString(indentSize = _KCLangUtils__WEBPACK_IMPORTED_MODULE_1__.defaultIndentSize) {
60710
+ toString() {
60729
60711
  return `"${this.value.toString().replace(/"/g, '\\"')}"`;
60730
60712
  }
60731
60713
  }
@@ -61035,178 +61017,178 @@ function traverseKCLangExpression(node, visitor) {
61035
61017
  }
61036
61018
  }
61037
61019
  class DefaultKCLangExpressionVisitor {
61038
- visitAbsKCLangNode(node) {
61020
+ visitAbsKCLangNode(_node) {
61039
61021
  // default empty implementation
61040
61022
  }
61041
- visitArrayKCLangNode(node) {
61023
+ visitArrayKCLangNode(_node) {
61042
61024
  // default empty implementation
61043
61025
  }
61044
- visitFirstOrDefaultKCLangNode(node) {
61026
+ visitFirstOrDefaultKCLangNode(_node) {
61045
61027
  // default empty implementation
61046
61028
  }
61047
- visitHashSetKCLangNode(node) {
61029
+ visitHashSetKCLangNode(_node) {
61048
61030
  // default empty implementation
61049
61031
  }
61050
- visitNoDepsKCLangNode(node) {
61032
+ visitNoDepsKCLangNode(_node) {
61051
61033
  // default empty implementation
61052
61034
  }
61053
- visitGetPicklistValuesKCLangNode(node) {
61035
+ visitGetPicklistValuesKCLangNode(_node) {
61054
61036
  // default empty implementation
61055
61037
  }
61056
- visitAndKCLangNode(node) {
61038
+ visitAndKCLangNode(_node) {
61057
61039
  // default empty implementation
61058
61040
  }
61059
- visitArgumentKCLangNode(node) {
61041
+ visitArgumentKCLangNode(_node) {
61060
61042
  // default empty implementation
61061
61043
  }
61062
- visitCastExpressionKCLangNode(node) {
61044
+ visitCastExpressionKCLangNode(_node) {
61063
61045
  // default empty implementation
61064
61046
  }
61065
- visitChooseKCLangNode(node) {
61047
+ visitChooseKCLangNode(_node) {
61066
61048
  // default empty implementation
61067
61049
  }
61068
- visitComparisonKCLangNode(node) {
61050
+ visitComparisonKCLangNode(_node) {
61069
61051
  // default empty implementation
61070
61052
  }
61071
- visitConstKCLangNode(node) {
61053
+ visitConstKCLangNode(_node) {
61072
61054
  // default empty implementation
61073
61055
  }
61074
- visitExistsKCLangNode(node) {
61056
+ visitExistsKCLangNode(_node) {
61075
61057
  // default empty implementation
61076
61058
  }
61077
- visitIsSnilsKCLangNode(node) {
61059
+ visitIsSnilsKCLangNode(_node) {
61078
61060
  // default empty implementation
61079
61061
  }
61080
- visitIsRegNumSfrKCLangNode(node) {
61062
+ visitIsRegNumSfrKCLangNode(_node) {
61081
61063
  // default empty implementation
61082
61064
  }
61083
- visitIsInnKCLangNode(node) {
61065
+ visitIsInnKCLangNode(_node) {
61084
61066
  // default empty implementation
61085
61067
  }
61086
- visitIsOgrnKCLangNode(node) {
61068
+ visitIsOgrnKCLangNode(_node) {
61087
61069
  // default empty implementation
61088
61070
  }
61089
- visitIsValidAccountNumberNode(node) {
61071
+ visitIsValidAccountNumberNode(_node) {
61090
61072
  // default empty implementation
61091
61073
  }
61092
- visitIsValidMirCardNumberNode(node) {
61074
+ visitIsValidMirCardNumberNode(_node) {
61093
61075
  // default empty implementation
61094
61076
  }
61095
- visitLengthKCLangNode(node) {
61077
+ visitLengthKCLangNode(_node) {
61096
61078
  // default empty implementation
61097
61079
  }
61098
- visitMinusKCLangNode(node) {
61080
+ visitMinusKCLangNode(_node) {
61099
61081
  // default empty implementation
61100
61082
  }
61101
- visitMultiplyKCLangNode(node) {
61083
+ visitMultiplyKCLangNode(_node) {
61102
61084
  // default empty implementation
61103
61085
  }
61104
- visitMultySumKCLangNode(node) {
61086
+ visitMultySumKCLangNode(_node) {
61105
61087
  // default empty implementation
61106
61088
  }
61107
- visitGroupSumKCLangNode(node) {
61089
+ visitGroupSumKCLangNode(_node) {
61108
61090
  // default empty implementation
61109
61091
  }
61110
- visitGroupCountKCLangNode(node) {
61092
+ visitGroupCountKCLangNode(_node) {
61111
61093
  // default empty implementation
61112
61094
  }
61113
- visitNotKCLangNode(node) {
61095
+ visitNotKCLangNode(_node) {
61114
61096
  // default empty implementation
61115
61097
  }
61116
- visitOneOfExpressionKCLangNode(node) {
61098
+ visitOneOfExpressionKCLangNode(_node) {
61117
61099
  // default empty implementation
61118
61100
  }
61119
- visitOrKCLangNode(node) {
61101
+ visitOrKCLangNode(_node) {
61120
61102
  // default empty implementation
61121
61103
  }
61122
- visitRegexMatchKCLangNode(node) {
61104
+ visitRegexMatchKCLangNode(_node) {
61123
61105
  // default empty implementation
61124
61106
  }
61125
- visitConcatKCLangNode(node) {
61107
+ visitConcatKCLangNode(_node) {
61126
61108
  // default empty implementation
61127
61109
  }
61128
- visitRoundKCLangNode(node) {
61110
+ visitRoundKCLangNode(_node) {
61129
61111
  // default empty implementation
61130
61112
  }
61131
- visitFloorKCLangNode(node) {
61113
+ visitFloorKCLangNode(_node) {
61132
61114
  // default empty implementation
61133
61115
  }
61134
- visitCountKCLangNode(node) {
61116
+ visitCountKCLangNode(_node) {
61135
61117
  // default empty implementation
61136
61118
  }
61137
- visitInstanceCountKCLangNode(node) {
61119
+ visitInstanceCountKCLangNode(_node) {
61138
61120
  // default empty implementation
61139
61121
  }
61140
- visitIsEqualToAutoCalculatedKCLangNode(node) {
61122
+ visitIsEqualToAutoCalculatedKCLangNode(_node) {
61141
61123
  // default empty implementation
61142
61124
  }
61143
- visitSubstringKCLangNode(node) {
61125
+ visitSubstringKCLangNode(_node) {
61144
61126
  // default empty implementation
61145
61127
  }
61146
- visitSumKCLangNode(node) {
61128
+ visitSumKCLangNode(_node) {
61147
61129
  // default empty implementation
61148
61130
  }
61149
- visitXAbsKCLangNode(node) {
61131
+ visitXAbsKCLangNode(_node) {
61150
61132
  // default empty implementation
61151
61133
  }
61152
- visitNewLineKCLangNode(node) {
61134
+ visitNewLineKCLangNode(_node) {
61153
61135
  // default empty implementation
61154
61136
  }
61155
- visitDateNowKCLangNode(node) {
61137
+ visitDateNowKCLangNode(_node) {
61156
61138
  // default empty implementation
61157
61139
  }
61158
- visitGetDaysInMonthKCLangNode(node) {
61140
+ visitGetDaysInMonthKCLangNode(_node) {
61159
61141
  // default empty implementation
61160
61142
  }
61161
- visitGetDayKCLangNode(node) {
61143
+ visitGetDayKCLangNode(_node) {
61162
61144
  // default empty implementation
61163
61145
  }
61164
- visitGetMonthKCLangNode(node) {
61146
+ visitGetMonthKCLangNode(_node) {
61165
61147
  // default empty implementation
61166
61148
  }
61167
- visitGetYearKCLangNode(node) {
61149
+ visitGetYearKCLangNode(_node) {
61168
61150
  // default empty implementation
61169
61151
  }
61170
- visitIsDateKCLangNode(node) {
61152
+ visitIsDateKCLangNode(_node) {
61171
61153
  // default empty implementation
61172
61154
  }
61173
- visitDifferenceInMonthsKCLangNode(node) {
61155
+ visitDifferenceInMonthsKCLangNode(_node) {
61174
61156
  // default empty implementation
61175
61157
  }
61176
- visitDifferenceInDaysKCLangNode(node) {
61158
+ visitDifferenceInDaysKCLangNode(_node) {
61177
61159
  // default empty implementation
61178
61160
  }
61179
- visitAddDaysKCLangNode(node) {
61161
+ visitAddDaysKCLangNode(_node) {
61180
61162
  // default empty implementation
61181
61163
  }
61182
- visitAddMonthsKCLangNode(node) {
61164
+ visitAddMonthsKCLangNode(_node) {
61183
61165
  // default empty implementation
61184
61166
  }
61185
- visitAddYearsKCLangNode(node) {
61167
+ visitAddYearsKCLangNode(_node) {
61186
61168
  // default empty implementation
61187
61169
  }
61188
- visitDateToStringKCLangNode(node) {
61170
+ visitDateToStringKCLangNode(_node) {
61189
61171
  // default empty implementation
61190
61172
  }
61191
- visitDateTimeKCLangNode(node) {
61173
+ visitDateTimeKCLangNode(_node) {
61192
61174
  // default empty implementation
61193
61175
  }
61194
- visitSumOfDayWeightsKCLangNode(node) {
61176
+ visitSumOfDayWeightsKCLangNode(_node) {
61195
61177
  // default empty implementation
61196
61178
  }
61197
- visitHasAutoFlagKCLangNode(node) {
61179
+ visitHasAutoFlagKCLangNode(_node) {
61198
61180
  // default empty implementation
61199
61181
  }
61200
- visitGetSumByKeysKCLangNode(node) {
61182
+ visitGetSumByKeysKCLangNode(_node) {
61201
61183
  // default empty implementation
61202
61184
  }
61203
- visitMakeDictKCLangNode(node) {
61185
+ visitMakeDictKCLangNode(_node) {
61204
61186
  // default empty implementation
61205
61187
  }
61206
- visitJoinKCLangNode(node) {
61188
+ visitJoinKCLangNode(_node) {
61207
61189
  // default empty implementation
61208
61190
  }
61209
- visitGetPropertyByNameNode(node) {
61191
+ visitGetPropertyByNameNode(_node) {
61210
61192
  // default empty implementation
61211
61193
  }
61212
61194
  }
@@ -61520,7 +61502,7 @@ const getGenerateJsExpressionFunc = options => {
61520
61502
  }
61521
61503
  case "cast":
61522
61504
  {
61523
- const castFunc = innerExpr => {
61505
+ const castFunc = () => {
61524
61506
  switch (expression.targetType) {
61525
61507
  case "decimal":
61526
61508
  {
@@ -61541,7 +61523,7 @@ const getGenerateJsExpressionFunc = options => {
61541
61523
  throw new Error("Unreachable code error!");
61542
61524
  }
61543
61525
  };
61544
- return castFunc(expression.expression);
61526
+ return castFunc();
61545
61527
  }
61546
61528
  case "round":
61547
61529
  {
@@ -61790,7 +61772,7 @@ function isPathPrefix(contextBlock) {
61790
61772
  function isCondition(contextBlock) {
61791
61773
  return contextBlock.type === "Condition";
61792
61774
  }
61793
- function formatDescribeStatement(ast, matchPath, describe) {
61775
+ function formatDescribeStatement(describe) {
61794
61776
  return _KCLangDescriptionParser__WEBPACK_IMPORTED_MODULE_6__.KCLangDescriptionParser.parse(describe.text).map(item => {
61795
61777
  if (typeof item === "string") {
61796
61778
  return item;
@@ -61804,7 +61786,7 @@ function generateKCXmlFormula(ast, parents, describe) {
61804
61786
  throw new Error("Formulas cannot be a child of conditional statement");
61805
61787
  }
61806
61788
  const matchPath = joinPaths([...parents.filter(isPathPrefix).map(x => x.path)]);
61807
- const descriptionAttr = describe != undefined ? ` description="${escapeHtmlCharacters(formatDescribeStatement(ast, matchPath, describe))}"` : "";
61789
+ const descriptionAttr = describe != undefined ? ` description="${escapeHtmlCharacters(formatDescribeStatement(describe))}"` : "";
61808
61790
  return `<m:formula match="${matchPath}" target="${ast.target}"${descriptionAttr}>\n` + (0,_Common_IndentString__WEBPACK_IMPORTED_MODULE_2__.indent)(generateKCXmlExpression(ast.expression), 1) + "\n" + `</m:formula>`;
61809
61791
  }
61810
61792
  function removeTrailingSlash(inputStr) {
@@ -61987,7 +61969,7 @@ function generateKCXmlCondition(ast, parentContexts, describe) {
61987
61969
  var _ref, _inferConditionTarget;
61988
61970
  const matchPath = joinPaths([...parentContexts.filter(isPathPrefix).map(x => x.path)]);
61989
61971
  const levelAttr = ast.level === undefined ? "" : ` errorLevel="${(0,_StringUtils__WEBPACK_IMPORTED_MODULE_3__.capitalizeFirstLetter)(ast.level)}"`;
61990
- const descriptionAttr = describe != undefined ? ` description="${escapeHtmlCharacters(formatDescribeStatement(ast, matchPath, describe))}"` : "";
61972
+ const descriptionAttr = describe != undefined ? ` description="${escapeHtmlCharacters(formatDescribeStatement(describe))}"` : "";
61991
61973
  const guessedTarget = (_ref = (_inferConditionTarget = inferConditionTarget(ast, ast.target)) !== null && _inferConditionTarget !== void 0 ? _inferConditionTarget : ast.target) !== null && _ref !== void 0 ? _ref : guessConditionTarget(ast);
61992
61974
  const targetAttr = guessedTarget != undefined ? ` target="${guessedTarget}"` : "";
61993
61975
  const conditions = [];
@@ -63343,7 +63325,7 @@ __webpack_require__.r(__webpack_exports__);
63343
63325
  /* harmony import */ var _ExtractTextsFromSugar__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ExtractTextsFromSugar */ "./Generator/src/common/SugarExtractor/ExtractTextsFromSugar.ts");
63344
63326
 
63345
63327
 
63346
- async function getSugarTexts(formSourcesPath, farmDirectory, hlFarmDirectoryPath) {
63328
+ async function getSugarTexts(formSourcesPath, farmDirectory) {
63347
63329
  const sources = await (0,_generators_ReadFormSources__WEBPACK_IMPORTED_MODULE_0__.readFormSources)(formSourcesPath, farmDirectory);
63348
63330
  const extractor = new _ExtractTextsFromSugar__WEBPACK_IMPORTED_MODULE_1__.TextFromSugarExtractor(sources);
63349
63331
  extractor.extractSugarTextsFromSugarXml();
@@ -64167,7 +64149,7 @@ class EvaluateTemplateVisitor {
64167
64149
  try {
64168
64150
  (0,_XmlParser_XmlParser__WEBPACK_IMPORTED_MODULE_4__.parseXml)(value);
64169
64151
  return true;
64170
- } catch (e) {
64152
+ } catch {
64171
64153
  return false;
64172
64154
  }
64173
64155
  }
@@ -64470,7 +64452,7 @@ __webpack_require__.r(__webpack_exports__);
64470
64452
  function areEqualAttributesExpectWidth(nodes) {
64471
64453
  const attributesExpectWidth = nodes.map(x => x.attributes).map(x => {
64472
64454
  const {
64473
- width,
64455
+ width: _,
64474
64456
  ...restAttrs
64475
64457
  } = x;
64476
64458
  return restAttrs;
@@ -64598,7 +64580,7 @@ function modifyToGroupedColumns(normalizedCols, row, columnGrouping, rowIndex) {
64598
64580
  // eslint-disable-next-line @typescript-eslint/no-shadow
64599
64581
  ({
64600
64582
  attributes: {
64601
- colspan,
64583
+ colspan: _,
64602
64584
  ...restAttributes
64603
64585
  },
64604
64586
  children
@@ -67149,7 +67131,7 @@ class FormulaAutoCalculation {
67149
67131
  varDeclaration
67150
67132
  } = this.buildArgumentExtraction();
67151
67133
  const defaultValue = _babel_types__WEBPACK_IMPORTED_MODULE_1__.stringLiteral(this.defaultValue);
67152
- const results = _babel_types__WEBPACK_IMPORTED_MODULE_1__.arrayExpression(this.results.map((x, index) => _babel_types__WEBPACK_IMPORTED_MODULE_1__.arrayExpression([_babel_types__WEBPACK_IMPORTED_MODULE_1__.stringLiteral(x.target.toRelativeOf(this.match).toString()), _babel_types__WEBPACK_IMPORTED_MODULE_1__.stringLiteral(x.targetField),
67134
+ const results = _babel_types__WEBPACK_IMPORTED_MODULE_1__.arrayExpression(this.results.map(x => _babel_types__WEBPACK_IMPORTED_MODULE_1__.arrayExpression([_babel_types__WEBPACK_IMPORTED_MODULE_1__.stringLiteral(x.target.toRelativeOf(this.match).toString()), _babel_types__WEBPACK_IMPORTED_MODULE_1__.stringLiteral(x.targetField),
67153
67135
  // Используется только result, а не resultExpression
67154
67136
  _babel_types__WEBPACK_IMPORTED_MODULE_1__.identifier("result")])));
67155
67137
  const funcCall = this.buildFunctionCall(argsRequest, defaultValue, varDeclaration, (_this$results$0$resul = (_this$results$2 = this.results[0]) === null || _this$results$2 === void 0 ? void 0 : _this$results$2.resultExpression) !== null && _this$results$0$resul !== void 0 ? _this$results$0$resul : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_2__.reject)(), results);
@@ -67419,42 +67401,42 @@ class FormulaProcessor {
67419
67401
  const resultExpression = this.popExpressions(1)[0];
67420
67402
  return [...this.additionalAutocalculations, this.buildFormula(resultExpression)];
67421
67403
  }
67422
- beforeArgumentExpression(expression) {
67404
+ beforeArgumentExpression() {
67423
67405
  // noop
67424
67406
  }
67425
67407
  afterArgumentExpression(expression) {
67426
67408
  const argumentName = this.addDependency(expression.select, expression.type);
67427
67409
  this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.identifier(argumentName));
67428
67410
  }
67429
- beforeCountExpression(expression) {
67411
+ beforeCountExpression() {
67430
67412
  // noop
67431
67413
  }
67432
67414
  afterCountExpression(expression) {
67433
67415
  const argumentName = this.addDependency(expression.select);
67434
67416
  this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.identifier(argumentName));
67435
67417
  }
67436
- beforeInstanceCountExpression(expression) {
67418
+ beforeInstanceCountExpression() {
67437
67419
  // noop
67438
67420
  }
67439
67421
  afterInstanceCountExpression(expression) {
67440
67422
  const argumentName = this.addDependency(expression.select);
67441
67423
  this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.identifier(argumentName));
67442
67424
  }
67443
- beforeIsEqualToAutoCalculatedExpression(expression) {
67425
+ beforeIsEqualToAutoCalculatedExpression() {
67444
67426
  // noop
67445
67427
  }
67446
67428
  afterIsEqualToAutoCalculatedExpression(expression) {
67447
67429
  const argumentName = this.addDependency(expression.select);
67448
67430
  this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.identifier(argumentName));
67449
67431
  }
67450
- beforeMultySumExpression(expression) {
67432
+ beforeMultySumExpression() {
67451
67433
  // noop
67452
67434
  }
67453
67435
  afterMultySumExpression(expression) {
67454
67436
  const argumentName = this.addDependency(expression.select);
67455
67437
  this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.identifier(argumentName));
67456
67438
  }
67457
- beforeConstExpression(expression) {
67439
+ beforeConstExpression() {
67458
67440
  // noop
67459
67441
  }
67460
67442
  afterConstExpression(expression) {
@@ -67471,7 +67453,7 @@ class FormulaProcessor {
67471
67453
  throw new Error(`Const type '${type}' unsupported`);
67472
67454
  }
67473
67455
  }
67474
- beforeSubstringExpression(expression) {
67456
+ beforeSubstringExpression() {
67475
67457
  this.pushExpressions();
67476
67458
  }
67477
67459
  afterSubstringExpression(expression) {
@@ -67481,7 +67463,7 @@ class FormulaProcessor {
67481
67463
  }
67482
67464
  this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.callExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.memberExpression(child[0], _babel_types__WEBPACK_IMPORTED_MODULE_0__.identifier("substr")), [_babel_types__WEBPACK_IMPORTED_MODULE_0__.numericLiteral(expression.start), _babel_types__WEBPACK_IMPORTED_MODULE_0__.numericLiteral(expression.length)]));
67483
67465
  }
67484
- beforeCastExpression(expression) {
67466
+ beforeCastExpression() {
67485
67467
  this.pushExpressions();
67486
67468
  }
67487
67469
  afterCastExpression(expression) {
@@ -67501,25 +67483,25 @@ class FormulaProcessor {
67501
67483
  throw new Error(`Cast type '${expression.type}' unsupported`);
67502
67484
  }
67503
67485
  }
67504
- beforeDateNowExpression(expression) {
67486
+ beforeDateNowExpression() {
67505
67487
  // noop
67506
67488
  }
67507
- afterDateNowExpression(expression) {
67489
+ afterDateNowExpression() {
67508
67490
  const createDate = _babel_types__WEBPACK_IMPORTED_MODULE_0__.newExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.identifier("Date"), []);
67509
67491
  const date = _babel_types__WEBPACK_IMPORTED_MODULE_0__.callExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.memberExpression(createDate, _babel_types__WEBPACK_IMPORTED_MODULE_0__.identifier("toLocaleDateString")), [_babel_types__WEBPACK_IMPORTED_MODULE_0__.stringLiteral("ru-RU")]);
67510
67492
  this.returnExpression(date);
67511
67493
  }
67512
- beforeGtExpression(expression) {
67494
+ beforeGtExpression() {
67513
67495
  this.pushExpressions();
67514
67496
  }
67515
- afterGtExpression(expression) {
67497
+ afterGtExpression() {
67516
67498
  const [leftExpression, rightExpression] = this.popExpressions(2);
67517
67499
  this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.callExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.memberExpression(leftExpression, _babel_types__WEBPACK_IMPORTED_MODULE_0__.identifier("gt")), [rightExpression]));
67518
67500
  }
67519
- beforeAndExpression(expression) {
67501
+ beforeAndExpression() {
67520
67502
  this.pushExpressions();
67521
67503
  }
67522
- afterAndExpression(expression) {
67504
+ afterAndExpression() {
67523
67505
  const [firstExpression, ...restExpressions] = this.popExpressions(1);
67524
67506
  let result = firstExpression;
67525
67507
  for (const child of restExpressions) {
@@ -67531,10 +67513,10 @@ class FormulaProcessor {
67531
67513
  }
67532
67514
  this.returnExpression(result);
67533
67515
  }
67534
- beforeOrExpression(expression) {
67516
+ beforeOrExpression() {
67535
67517
  this.pushExpressions();
67536
67518
  }
67537
- afterOrExpression(expression) {
67519
+ afterOrExpression() {
67538
67520
  const [firstExpression, ...restExpressions] = this.popExpressions(1);
67539
67521
  let result = firstExpression;
67540
67522
  for (const child of restExpressions) {
@@ -67546,38 +67528,38 @@ class FormulaProcessor {
67546
67528
  }
67547
67529
  this.returnExpression(result);
67548
67530
  }
67549
- beforeNotExpression(expression) {
67531
+ beforeNotExpression() {
67550
67532
  this.pushExpressions();
67551
67533
  }
67552
- afterNotExpression(expression) {
67534
+ afterNotExpression() {
67553
67535
  const [childExpression] = this.popExpressions(1);
67554
67536
  this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.unaryExpression("!", childExpression));
67555
67537
  }
67556
- beforeLtExpression(expression) {
67538
+ beforeLtExpression() {
67557
67539
  this.pushExpressions();
67558
67540
  }
67559
- afterLtExpression(expression) {
67541
+ afterLtExpression() {
67560
67542
  const [leftExpression, rightExpression] = this.popExpressions(2);
67561
67543
  this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.callExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.memberExpression(leftExpression, _babel_types__WEBPACK_IMPORTED_MODULE_0__.identifier("lt")), [rightExpression]));
67562
67544
  }
67563
- beforeGeExpression(expression) {
67545
+ beforeGeExpression() {
67564
67546
  this.pushExpressions();
67565
67547
  }
67566
- afterGeExpression(expression) {
67548
+ afterGeExpression() {
67567
67549
  const [leftExpression, rightExpression] = this.popExpressions(2);
67568
67550
  this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.callExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.memberExpression(leftExpression, _babel_types__WEBPACK_IMPORTED_MODULE_0__.identifier("gte")), [rightExpression]));
67569
67551
  }
67570
- beforeLeExpression(expression) {
67552
+ beforeLeExpression() {
67571
67553
  this.pushExpressions();
67572
67554
  }
67573
- afterLeExpression(expression) {
67555
+ afterLeExpression() {
67574
67556
  const [leftExpression, rightExpression] = this.popExpressions(2);
67575
67557
  this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.callExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.memberExpression(leftExpression, _babel_types__WEBPACK_IMPORTED_MODULE_0__.identifier("lte")), [rightExpression]));
67576
67558
  }
67577
- beforeEqExpression(expression) {
67559
+ beforeEqExpression() {
67578
67560
  this.pushExpressions();
67579
67561
  }
67580
- afterEqExpression(expression) {
67562
+ afterEqExpression() {
67581
67563
  const [leftExpression, rightExpression] = this.popExpressions(2);
67582
67564
  if (this.isStringExpression(leftExpression) && this.isStringExpression(rightExpression)) {
67583
67565
  this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.binaryExpression("===", leftExpression, rightExpression));
@@ -67585,17 +67567,17 @@ class FormulaProcessor {
67585
67567
  this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.callExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.memberExpression(leftExpression, _babel_types__WEBPACK_IMPORTED_MODULE_0__.identifier("eq")), [rightExpression]));
67586
67568
  }
67587
67569
  }
67588
- beforeChooseExpression(expression) {
67570
+ beforeChooseExpression() {
67589
67571
  this.pushExpressions();
67590
67572
  }
67591
- afterChooseExpression(expression) {
67573
+ afterChooseExpression() {
67592
67574
  const [ifExpression, thenExpression, elseExpression] = this.popExpressions(3);
67593
67575
  this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.conditionalExpression(ifExpression, thenExpression, elseExpression));
67594
67576
  }
67595
- beforeSumExpression(expression) {
67577
+ beforeSumExpression() {
67596
67578
  this.pushExpressions();
67597
67579
  }
67598
- afterSumExpression(expression) {
67580
+ afterSumExpression() {
67599
67581
  const [firstExpression, ...restExpressions] = this.popExpressions(1);
67600
67582
  let result = firstExpression;
67601
67583
  for (const child of restExpressions) {
@@ -67607,7 +67589,7 @@ class FormulaProcessor {
67607
67589
  }
67608
67590
  this.returnExpression(result);
67609
67591
  }
67610
- beforeRoundExpression(expression) {
67592
+ beforeRoundExpression() {
67611
67593
  this.pushExpressions();
67612
67594
  }
67613
67595
  afterRoundExpression(expression) {
@@ -67617,27 +67599,27 @@ class FormulaProcessor {
67617
67599
  }
67618
67600
  this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.callExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.memberExpression(child[0], _babel_types__WEBPACK_IMPORTED_MODULE_0__.identifier("round")), [_babel_types__WEBPACK_IMPORTED_MODULE_0__.unaryExpression("+", _babel_types__WEBPACK_IMPORTED_MODULE_0__.stringLiteral(expression.fractionalDigits.toString()))]));
67619
67601
  }
67620
- beforeFloorExpression(expression) {
67602
+ beforeFloorExpression() {
67621
67603
  this.pushExpressions();
67622
67604
  }
67623
- afterFloorExpression(expression) {
67605
+ afterFloorExpression() {
67624
67606
  const child = this.popExpressions(1);
67625
67607
  if (child.length !== 1) {
67626
67608
  throw new Error("Выражение floor должно содержать ровно одно подвыражение");
67627
67609
  }
67628
67610
  this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.callExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.memberExpression(child[0], _babel_types__WEBPACK_IMPORTED_MODULE_0__.identifier("floor")), []));
67629
67611
  }
67630
- beforeAbsExpression(expression) {
67612
+ beforeAbsExpression() {
67631
67613
  this.pushExpressions();
67632
67614
  }
67633
- afterAbsExpression(expression) {
67615
+ afterAbsExpression() {
67634
67616
  const child = this.popExpressions(1);
67635
67617
  if (child.length !== 1) {
67636
67618
  throw new Error("Выражение abs должно содержать ровно одно подвыражение");
67637
67619
  }
67638
67620
  this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.callExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.memberExpression(child[0], _babel_types__WEBPACK_IMPORTED_MODULE_0__.identifier("abs")), []));
67639
67621
  }
67640
- beforeDivisionExpression(expression) {
67622
+ beforeDivisionExpression() {
67641
67623
  this.pushExpressions();
67642
67624
  }
67643
67625
  afterDivisionExpression(expression) {
@@ -67650,20 +67632,20 @@ class FormulaProcessor {
67650
67632
  }
67651
67633
  this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.callExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.memberExpression(child[0], _babel_types__WEBPACK_IMPORTED_MODULE_0__.identifier("div")), [child[1]]));
67652
67634
  }
67653
- beforeMinusExpression(expression) {
67635
+ beforeMinusExpression() {
67654
67636
  this.pushExpressions();
67655
67637
  }
67656
- afterMinusExpression(expression) {
67638
+ afterMinusExpression() {
67657
67639
  const child = this.popExpressions(1);
67658
67640
  if (child.length !== 1) {
67659
67641
  throw new Error("Выражение minus должно содержать ровно одно подвыражение");
67660
67642
  }
67661
67643
  this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.callExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.memberExpression(child[0], _babel_types__WEBPACK_IMPORTED_MODULE_0__.identifier("times")), [_babel_types__WEBPACK_IMPORTED_MODULE_0__.numericLiteral(-1)]));
67662
67644
  }
67663
- beforeMultiplyExpression(expression) {
67645
+ beforeMultiplyExpression() {
67664
67646
  this.pushExpressions();
67665
67647
  }
67666
- afterMultiplyExpression(expression) {
67648
+ afterMultiplyExpression() {
67667
67649
  const [firstExpression, ...restExpressions] = this.popExpressions(1);
67668
67650
  let result = firstExpression;
67669
67651
  for (const child of restExpressions) {
@@ -67685,7 +67667,7 @@ class FormulaProcessor {
67685
67667
  var _this$findDependencyB;
67686
67668
  return _babel_types__WEBPACK_IMPORTED_MODULE_0__.isStringLiteral(expression) || _babel_types__WEBPACK_IMPORTED_MODULE_0__.isIdentifier(expression) && ((_this$findDependencyB = this.findDependencyByName(expression.name)) === null || _this$findDependencyB === void 0 ? void 0 : _this$findDependencyB.variableType) === "string";
67687
67669
  }
67688
- buildFormula(resultExpression, countFormula = false) {
67670
+ buildFormula(resultExpression) {
67689
67671
  const suffix = this.getLegacyExpressionTypeForFunctionName(this.formula.expression);
67690
67672
  const functionName = `${this.getNameByPath(`${this.formula.match}/${this.formula.target}`)}_${suffix}`;
67691
67673
  const targetPath = this.resolveFormulaPathToEnginePath(`${this.formula.match}/${this.formula.target}`);
@@ -67876,7 +67858,7 @@ class FormulasAutoCalculationsGenerator {
67876
67858
  try {
67877
67859
  const generator = new _FormulaProcessing_FormulaProcessor__WEBPACK_IMPORTED_MODULE_3__.FormulaProcessor(formula, schemaRng, dataDeclarationHelper);
67878
67860
  return generator.buildAutoCalculation();
67879
- } catch (e) {
67861
+ } catch {
67880
67862
  // eslint-disable-next-line no-console
67881
67863
  console.warn(chalk__WEBPACK_IMPORTED_MODULE_0___default().yellow(`[WARN] Can not generate autocalc for formula with target:`));
67882
67864
  // eslint-disable-next-line no-console
@@ -69642,7 +69624,7 @@ class DataDeclarationGenerationContext {
69642
69624
  processChildrenDataDeclaration(children, nodeProcessor) {
69643
69625
  const childrenDataDeclaration = [];
69644
69626
  for (const child of children) {
69645
- childrenDataDeclaration.push(this.buildNodeDataDeclaration(child, this.initSequenceFactory, nodeProcessor));
69627
+ childrenDataDeclaration.push(this.buildNodeDataDeclaration(child, nodeProcessor));
69646
69628
  }
69647
69629
  return this.mergeDataDeclaration(...childrenDataDeclaration);
69648
69630
  }
@@ -69682,7 +69664,6 @@ class DataDeclarationGenerationContext {
69682
69664
  };
69683
69665
  }
69684
69666
  addSpecialFieldsEntry(node, {
69685
- multiple,
69686
69667
  optional,
69687
69668
  disabled
69688
69669
  }) {
@@ -69796,7 +69777,7 @@ class DataDeclarationGenerationContext {
69796
69777
  sections.push(_Common_CommonConstants_SectionNames__WEBPACK_IMPORTED_MODULE_2__.SectionNames.defaultSection);
69797
69778
  return sections;
69798
69779
  }
69799
- buildNodeDataDeclaration(child, fieldNameToDeclInfo, nodeProcessor) {
69780
+ buildNodeDataDeclaration(child, nodeProcessor) {
69800
69781
  const controlConverterClass = (0,_markupGenerator_AllConverters__WEBPACK_IMPORTED_MODULE_6__.getConverterByNodeClass)((0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_9__.getNodeClass)(child));
69801
69782
  if (controlConverterClass == undefined) {
69802
69783
  if (child instanceof _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_9__.UnknownSugarNode && child.name === "type") {
@@ -69806,7 +69787,7 @@ class DataDeclarationGenerationContext {
69806
69787
  const customControl = this.controlCustomizationContext.tryGetCustomRegularControl(child.name);
69807
69788
  if (customControl != undefined) {
69808
69789
  const hasBindingPath = customControl.properties.find(x => x.name === "path" && x.type === "bindingPath");
69809
- return hasBindingPath ? this.addCustomControlPathDeclEntry(child, customControl) : emptyDataDeclarationCollection;
69790
+ return hasBindingPath ? this.addCustomControlPathDeclEntry(child) : emptyDataDeclarationCollection;
69810
69791
  }
69811
69792
  }
69812
69793
  const result = nodeProcessor === null || nodeProcessor === void 0 ? void 0 : nodeProcessor(child);
@@ -69820,7 +69801,7 @@ class DataDeclarationGenerationContext {
69820
69801
  const converter = new controlConverterClass(child);
69821
69802
  return converter.buildDataDeclaration(this);
69822
69803
  }
69823
- addCustomControlPathDeclEntry(sugarNode, customControl) {
69804
+ addCustomControlPathDeclEntry(sugarNode) {
69824
69805
  const declEntry = {};
69825
69806
  declEntry["value"] = this.initSequenceFactory.dataValue(sugarNode, sugarNode.disabled);
69826
69807
  if (sugarNode.optional) {
@@ -70237,7 +70218,7 @@ __webpack_require__.r(__webpack_exports__);
70237
70218
 
70238
70219
 
70239
70220
 
70240
- function adjustPathMultiplicityComplex(path, formSchemaRng, dataDeclarationHelper) {
70221
+ function adjustPathMultiplicityComplex(path, dataDeclarationHelper) {
70241
70222
  const result = new _Common_ModelPath_ModelPathBuilder__WEBPACK_IMPORTED_MODULE_3__.ModelPathBuilder(true);
70242
70223
  for (const pathToken of path.getPathParts()) {
70243
70224
  if (_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.PathTokens.isMultiToken(pathToken)) {
@@ -70335,7 +70316,7 @@ function isFileExists(directoryPath) {
70335
70316
  try {
70336
70317
  const dirStat = (0,fs__WEBPACK_IMPORTED_MODULE_0__.statSync)(directoryPath);
70337
70318
  return dirStat.isFile();
70338
- } catch (ignoreError) {
70319
+ } catch {
70339
70320
  return false;
70340
70321
  }
70341
70322
  }
@@ -70629,7 +70610,7 @@ function buildSugarNodeDocumentation(sugarNodeClass) {
70629
70610
  children,
70630
70611
  singleChild,
70631
70612
  availableAnyChildren
70632
- } = buildAvailableChildrenInfo(propertySerializers, documentationFilesContext);
70613
+ } = buildAvailableChildrenInfo(propertySerializers);
70633
70614
  const imagesPromise = getPathImagesFromContext(documentationFilesContext);
70634
70615
  const images = {};
70635
70616
  // В соседней ветке переезжаю на nodejs22, надо бы тут убрать магию с промисом и заюзать нативный globSync в getPathImagesFromContext
@@ -70658,23 +70639,23 @@ function buildSugarNodeDocumentation(sugarNodeClass) {
70658
70639
  images: images
70659
70640
  };
70660
70641
  }
70661
- function buildAvailableChildrenInfo(propertySerializers, documentationFilesContext) {
70642
+ function buildAvailableChildrenInfo(propertySerializers) {
70662
70643
  if (propertySerializers.length === 0) {
70663
70644
  return {
70664
70645
  children: [],
70665
70646
  singleChild: []
70666
70647
  };
70667
70648
  }
70668
- const children = propertySerializers.map(x => buildAvailableChildrenDocs(x, documentationFilesContext)).flat();
70669
- const singleChild = propertySerializers.map(x => buildAvailableSingleChildDocs(x, documentationFilesContext)).flat();
70670
- const availableAnyChildren = propertySerializers.map(x => buildAvailableSugarChildrenDocs(x, documentationFilesContext)).some(x => x === true);
70649
+ const children = propertySerializers.map(x => buildAvailableChildrenDocs(x)).flat();
70650
+ const singleChild = propertySerializers.map(x => buildAvailableSingleChildDocs(x)).flat();
70651
+ const availableAnyChildren = propertySerializers.map(x => buildAvailableSugarChildrenDocs(x)).some(x => x === true);
70671
70652
  return {
70672
70653
  children: children,
70673
70654
  singleChild: singleChild,
70674
70655
  availableAnyChildren: availableAnyChildren
70675
70656
  };
70676
70657
  }
70677
- function buildAvailableChildrenDocs(propertyDeserializer, documentationFilesContext) {
70658
+ function buildAvailableChildrenDocs(propertyDeserializer) {
70678
70659
  if (!(propertyDeserializer instanceof _markupGenerator_Serializer_Properties_SinglePropertyDeserializer__WEBPACK_IMPORTED_MODULE_7__.SinglePropertyDeserializer)) {
70679
70660
  return [];
70680
70661
  }
@@ -70687,7 +70668,7 @@ function buildAvailableChildrenDocs(propertyDeserializer, documentationFilesCont
70687
70668
  }
70688
70669
  return [];
70689
70670
  }
70690
- function buildAvailableSugarChildrenDocs(propertyDeserializer, documentationFilesContext) {
70671
+ function buildAvailableSugarChildrenDocs(propertyDeserializer) {
70691
70672
  if (!(propertyDeserializer instanceof _markupGenerator_Serializer_Properties_SinglePropertyDeserializer__WEBPACK_IMPORTED_MODULE_7__.SinglePropertyDeserializer)) {
70692
70673
  return false;
70693
70674
  }
@@ -70696,7 +70677,7 @@ function buildAvailableSugarChildrenDocs(propertyDeserializer, documentationFile
70696
70677
  }
70697
70678
  return false;
70698
70679
  }
70699
- function buildAvailableSingleChildDocs(propertyDeserializer, documentationFilesContext) {
70680
+ function buildAvailableSingleChildDocs(propertyDeserializer) {
70700
70681
  if (!(propertyDeserializer instanceof _markupGenerator_Serializer_Properties_SinglePropertyDeserializer__WEBPACK_IMPORTED_MODULE_7__.SinglePropertyDeserializer)) {
70701
70682
  return [];
70702
70683
  }
@@ -71143,7 +71124,7 @@ async function isDirectoryExists(directoryPath) {
71143
71124
  try {
71144
71125
  const dirStat = await statAsync(directoryPath);
71145
71126
  return dirStat.isDirectory();
71146
- } catch (ignoreError) {
71127
+ } catch {
71147
71128
  return false;
71148
71129
  }
71149
71130
  }
@@ -71151,7 +71132,7 @@ function isDirectoryExistsSync(directoryPath) {
71151
71132
  try {
71152
71133
  const dirStat = fs__WEBPACK_IMPORTED_MODULE_0__.statSync(directoryPath);
71153
71134
  return dirStat.isDirectory();
71154
- } catch (ignoreError) {
71135
+ } catch {
71155
71136
  return false;
71156
71137
  }
71157
71138
  }
@@ -72307,7 +72288,7 @@ function processSugar(formSugarContent, additionalContent, generationOptions) {
72307
72288
  const lazyLoadGenerator = new _LazyLoadDeclarationGenerator_LazyLoadDeclarationGenerator__WEBPACK_IMPORTED_MODULE_30__.LazyLoadDeclarationGenerator(sugarRoot, formSchemaRng);
72308
72289
  const lazyLoadGeneratorResult = lazyLoadGenerator.generate();
72309
72290
  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");
72310
- const formulaExprConverter = new _ServerSideFLangNormalization_FormulaExpressionToFlangExpressionConverter__WEBPACK_IMPORTED_MODULE_35__.FormulaExpressionToFlangExpressionConverter(path => (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_36__.adjustPathMultiplicityComplex)(path, formSchemaRng, dataDeclarationHelper), {
72291
+ const formulaExprConverter = new _ServerSideFLangNormalization_FormulaExpressionToFlangExpressionConverter__WEBPACK_IMPORTED_MODULE_35__.FormulaExpressionToFlangExpressionConverter(path => (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_36__.adjustPathMultiplicityComplex)(path, dataDeclarationHelper), {
72311
72292
  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
72312
72293
  });
72313
72294
  const formulaRulesBuilder = new _ServerSideFLangNormalization_RuleBuilders_FormulaRulesBuilder__WEBPACK_IMPORTED_MODULE_37__.FormulaRulesBuilder(formSchemaRng, formulas, dataDeclarationHelper, formulaExprConverter, {
@@ -72316,7 +72297,7 @@ function processSugar(formSugarContent, additionalContent, generationOptions) {
72316
72297
  const initializationRulesBuilder = new _ServerSideFLangNormalization_RuleBuilders_InitializationRulesBuilder__WEBPACK_IMPORTED_MODULE_38__.InitializationRulesBuilder(sugarRoot, resourcesHash);
72317
72298
  const lazyLoadingRulesBuilder = new _ServerSideFLangNormalization_RuleBuilders_LazyLoadingRulesBuilder__WEBPACK_IMPORTED_MODULE_39__.LazyLoadingRulesBuilder(sugarRoot, lazyLoadGeneratorResult.declaration);
72318
72299
  const sugarRulesBuilder = new _ServerSideFLangNormalization_RuleBuilders_SugarRulesBuilder__WEBPACK_IMPORTED_MODULE_40__.SugarRulesBuilder(sugarRoot, formSchemaRng, controlCustomizationContext, fetchFunctions, dataDeclarationHelper, typeRegistry, useSchemaValidations);
72319
- const validationRulesBuilder = new _ServerSideFLangNormalization_RuleBuilders_ValidationRulesBuilder__WEBPACK_IMPORTED_MODULE_41__.ValidationRulesBuilder(dataDeclarationHelper, formSchemaRng, formulaExprConverter, kcXmlConditions);
72300
+ const validationRulesBuilder = new _ServerSideFLangNormalization_RuleBuilders_ValidationRulesBuilder__WEBPACK_IMPORTED_MODULE_41__.ValidationRulesBuilder(dataDeclarationHelper, formulaExprConverter, kcXmlConditions);
72320
72301
  const optionalSectionRuleBuilder = new _ServerSideFLangNormalization_RuleBuilders_OptionalSectionRulesBuilder__WEBPACK_IMPORTED_MODULE_34__.OptionalSectionRulesBuilder(sugarRoot, dataDeclarationHelper);
72321
72302
  const optionalElementsRulesBuilder = new _ServerSideFLangNormalization_RuleBuilders_OptionalElementsRulesBuilder__WEBPACK_IMPORTED_MODULE_52__.OptionalElementsRulesBuilder(formSchemaRng, dataDeclarationHelper);
72322
72303
  const optionalBlocksRulesBuilder = new _ServerSideFLangNormalization_RuleBuilders_OptionalBlocksRulesBuilder__WEBPACK_IMPORTED_MODULE_53__.OptionalBlocksRulesBuilder(dataDeclarationHelper);
@@ -72691,7 +72672,7 @@ async function readAutoCalcFiles(formAutoCalcPath) {
72691
72672
  const files = await readdirAsync(formAutoCalcPath);
72692
72673
  const jsFiles = files.filter(filename => /\.js$/.test(filename));
72693
72674
  return Promise.all(jsFiles.map(filename => readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formAutoCalcPath, filename), "utf-8")));
72694
- } catch (ignoreError) {
72675
+ } catch {
72695
72676
  return [];
72696
72677
  }
72697
72678
  }
@@ -72703,7 +72684,7 @@ async function readImportedFiles(rootPath) {
72703
72684
  result["../validations/" + fileName] = await readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(rootPath, "validations", fileName), "utf-8");
72704
72685
  }
72705
72686
  return result;
72706
- } catch (ignoreError) {
72687
+ } catch {
72707
72688
  return {};
72708
72689
  }
72709
72690
  }
@@ -72736,7 +72717,7 @@ async function readJavaScriptFilesWithNames(formJavaScriptFilesPath) {
72736
72717
  filename: path__WEBPACK_IMPORTED_MODULE_1___default().parse(filename).name,
72737
72718
  content: await readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formJavaScriptFilesPath, filename), "utf-8")
72738
72719
  })));
72739
- } catch (ignoreError) {
72720
+ } catch {
72740
72721
  return [];
72741
72722
  }
72742
72723
  }
@@ -72753,7 +72734,7 @@ async function connectJSFilesWithNames(formJavaScriptFilesPath) {
72753
72734
  });
72754
72735
  }
72755
72736
  return result;
72756
- } catch (ignoreErrors) {
72737
+ } catch {
72757
72738
  return [];
72758
72739
  }
72759
72740
  }
@@ -72766,7 +72747,7 @@ function readHooksFile(formDirectoryPath) {
72766
72747
  async function readFileSource(filePath, filename, defaultValue) {
72767
72748
  try {
72768
72749
  return await readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(filePath, filename), "utf-8");
72769
- } catch (ignoreError) {
72750
+ } catch {
72770
72751
  return defaultValue;
72771
72752
  }
72772
72753
  }
@@ -72936,7 +72917,7 @@ class CustomKCLangToFlangRuleGenerator {
72936
72917
  return result;
72937
72918
  }
72938
72919
  adjustPathMultiplicity(path) {
72939
- return (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_2__.adjustPathMultiplicityComplex)(path, this.formSchemaRng, this.dataDeclarationHelper);
72920
+ return (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_2__.adjustPathMultiplicityComplex)(path, this.dataDeclarationHelper);
72940
72921
  }
72941
72922
  }
72942
72923
 
@@ -73157,7 +73138,7 @@ class BinaryExpression extends FLangExpression {
73157
73138
  this.right = right;
73158
73139
  this.left = left;
73159
73140
  }
73160
- needAddBraces(child) {
73141
+ needAddBraces(_) {
73161
73142
  return false;
73162
73143
  }
73163
73144
  *getChildNodes() {
@@ -73181,7 +73162,7 @@ class UnaryExpression extends FLangExpression {
73181
73162
  this.operand = void 0;
73182
73163
  this.operand = operand;
73183
73164
  }
73184
- needAddBraces(child) {
73165
+ needAddBraces(_) {
73185
73166
  return false;
73186
73167
  }
73187
73168
  *getChildNodes() {
@@ -75035,7 +75016,7 @@ class FormulaExpressionToFlangExpressionConverter {
75035
75016
  return this.compiledInstanceCountExpression(prefix, target, expression.select, addPrecalculationRule);
75036
75017
  }
75037
75018
  if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_0__.FormulaIsEqualToAutoCalculatedExpression) {
75038
- return this.compileIsEqualToAutoCalculatedExpression(prefix, target, expression.select, expression.type, addPrecalculationRule);
75019
+ return this.compileIsEqualToAutoCalculatedExpression(prefix, target, expression.select, expression.type);
75039
75020
  }
75040
75021
  if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_0__.FormulaLengthExpression) {
75041
75022
  return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.LenExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_8__.castOperandToStringIfNeed)(this.compileExpressionToFlangExpressionInternal(expression.argument, prefix, target, addPrecalculationRule)));
@@ -75225,7 +75206,7 @@ class FormulaExpressionToFlangExpressionConverter {
75225
75206
  const sourceKeyPath = this.preparePathAndAdjustMultiplicity(prefix, expression.expression.select);
75226
75207
  const sourceValueExpression = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.DecimalLiteralExpression(1);
75227
75208
  const dictPathWithField = this.makeDictNameFromKeyAndValue(splitInfo.matchedPath, sourceKeyPath, sourceValueExpression);
75228
- const dictExpression = this.compileMakeDictExpressionImpl(prefix, dictPathWithField, sourceKeyPath, sourceValueExpression, addPrecalculationRule);
75209
+ const dictExpression = this.compileMakeDictExpressionImpl(dictPathWithField, sourceKeyPath, sourceValueExpression);
75229
75210
  const dictStatement = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.SetStatement(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.ValueReferenceExpression(dictPathWithField.path, "value"), dictExpression);
75230
75211
  addPrecalculationRule(dictStatement);
75231
75212
  return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.MakeHashSetFromDictExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.DictLiteralExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.ValueReferenceExpression(dictPathWithField.path.toCurrentIteration(), "value")));
@@ -75244,7 +75225,7 @@ class FormulaExpressionToFlangExpressionConverter {
75244
75225
  const hashSetExpression = this.compileExpressionToFlangExpressionInternal(expression.expression, prefix, target, addPrecalculationRule);
75245
75226
  return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.HashSetExpression(hashSetExpression);
75246
75227
  }
75247
- compileMakeDictExpressionImpl(prefix, target, sourceKeyPath, sourceValueExpression, addPrecalculationRule) {
75228
+ compileMakeDictExpressionImpl(target, sourceKeyPath, sourceValueExpression) {
75248
75229
  const getOldSourceValueExpression = () => {
75249
75230
  if (sourceValueExpression instanceof _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.ValueReferenceExpression) {
75250
75231
  return (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_8__.makeGetOld)(sourceValueExpression);
@@ -75271,7 +75252,7 @@ class FormulaExpressionToFlangExpressionConverter {
75271
75252
  compileMakeDictExpression(prefix, target, expression, addPrecalculationRule) {
75272
75253
  const sourceKeyPath = this.preparePathAndAdjustMultiplicity(prefix, expression.sourceKeyPath);
75273
75254
  const sourceValueExpression = this.compileExpressionToFlangExpressionInternal(expression.sourceValueExpression, prefix, new _Common_ModelPath_AbsoluteModelFieldPath__WEBPACK_IMPORTED_MODULE_7__.AbsoluteModelFieldPath(sourceKeyPath, "value"), addPrecalculationRule);
75274
- const reduceExpression = this.compileMakeDictExpressionImpl(prefix, target, sourceKeyPath, sourceValueExpression, addPrecalculationRule);
75255
+ const reduceExpression = this.compileMakeDictExpressionImpl(target, sourceKeyPath, sourceValueExpression);
75275
75256
  return reduceExpression;
75276
75257
  }
75277
75258
  compileArrayOfTargetKeys(prefix, target, targetKeys, addPrecalculationRule) {
@@ -75284,7 +75265,7 @@ class FormulaExpressionToFlangExpressionConverter {
75284
75265
  }), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.BoolLiteralExpression(true));
75285
75266
  return deserializedKeys;
75286
75267
  }
75287
- compileGetSumByKeysExpressionImpl(prefix, target, dictPath, targetKeys, addPrecalculationRule) {
75268
+ compileGetSumByKeysExpressionImpl(dictPath, targetKeys) {
75288
75269
  const finalValueExpression = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.GetSumByKeysExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.DictLiteralExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.ValueReferenceExpression(dictPath, "value")), targetKeys);
75289
75270
  return finalValueExpression;
75290
75271
  }
@@ -75292,7 +75273,7 @@ class FormulaExpressionToFlangExpressionConverter {
75292
75273
  const dictPath = this.preparePathAndAdjustMultiplicity(prefix, expression.dictPath);
75293
75274
  const targetKeys = expression.targetKeys;
75294
75275
  const deserializedKeys = this.compileArrayOfTargetKeys(prefix, target, targetKeys.items, addPrecalculationRule);
75295
- return this.compileGetSumByKeysExpressionImpl(prefix, target, dictPath, deserializedKeys, addPrecalculationRule);
75276
+ return this.compileGetSumByKeysExpressionImpl(dictPath, deserializedKeys);
75296
75277
  }
75297
75278
  compileGroupSumExpressionWithPersistentDictionary(prefix, target, targetKeys, sourceKeyPath, sourceValueExpression, addPrecalculationRule) {
75298
75279
  const matchPaths = (0,_Common_ModelPath_PathSplitHelper__WEBPACK_IMPORTED_MODULE_5__.getMatchedAndDifferentModelPaths)(target.path, sourceKeyPath);
@@ -75310,10 +75291,8 @@ class FormulaExpressionToFlangExpressionConverter {
75310
75291
  if (finalIterPath.isEmpty()) {
75311
75292
  throw new Error("Error occurred while trying parse path for reduce: " + firstPart.toLegacyPath());
75312
75293
  }
75313
- const basePathForDict = finalIterPath;
75314
75294
  const dictPathWithField = this.makeDictNameFromKeyAndValue(finalIterPath, sourceKeyPath, sourceValueExpression);
75315
- const basePathForDictPrefix = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.createAbsoluteFromTokens)(Iterator.from(basePathForDict.getPathParts()).filter(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.PathTokens.isSimpleToken).toArray());
75316
- const dictExpression = this.compileMakeDictExpressionImpl(basePathForDictPrefix, dictPathWithField, sourceKeyPath, sourceValueExpression, addPrecalculationRule);
75295
+ const dictExpression = this.compileMakeDictExpressionImpl(dictPathWithField, sourceKeyPath, sourceValueExpression);
75317
75296
  const dictStatement = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.SetStatement(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.ValueReferenceExpression(dictPathWithField.path, "value"), dictExpression);
75318
75297
  addPrecalculationRule(dictStatement);
75319
75298
  const deserializedKeys = this.compileArrayOfTargetKeys(prefix, target, targetKeys, addPrecalculationRule);
@@ -75423,7 +75402,7 @@ class FormulaExpressionToFlangExpressionConverter {
75423
75402
  throw new Error(`Instance count with nested multiplicity is not supported: target: ${target.path}, select path: ${selectPath}}`);
75424
75403
  }
75425
75404
  }
75426
- compileIsEqualToAutoCalculatedExpression(prefix, target, selectPath, selectType, addPrecalculationRule) {
75405
+ compileIsEqualToAutoCalculatedExpression(prefix, target, selectPath, selectType) {
75427
75406
  const adjustedSelectPath = this.preparePathAndAdjustMultiplicity(prefix, selectPath);
75428
75407
  const splitInfo = (0,_Common_ModelPath_PathSplitHelper__WEBPACK_IMPORTED_MODULE_5__.getMatchedAndDifferentModelPaths)(target.path, adjustedSelectPath);
75429
75408
  if (!splitInfo.differentPath.isContainIteration()) {
@@ -75801,7 +75780,7 @@ class FormulaOnlyNormalizationRuleGenerator {
75801
75780
  return result;
75802
75781
  }
75803
75782
  adjustPathMultiplicity(path) {
75804
- return (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_1__.adjustPathMultiplicityComplex)(path, this.formSchemaRng, this.dataDeclarationHelper);
75783
+ return (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_1__.adjustPathMultiplicityComplex)(path, this.dataDeclarationHelper);
75805
75784
  }
75806
75785
  }
75807
75786
 
@@ -75951,7 +75930,7 @@ class FormulaRulesBuilder extends _BaseRuleBuilder__WEBPACK_IMPORTED_MODULE_6__.
75951
75930
  var _this$formSchemaRng$g;
75952
75931
  const prefix = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.createModelPath)(formula.match.replace(/\@/g, ""), true).normalize();
75953
75932
  const target = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.createModelPath)(formula.target.replace(/\@/g, ""), false);
75954
- const fullTarget = (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_2__.adjustPathMultiplicityComplex)(prefix.joinWith(target).normalize(), this.formSchemaRng, this.dataDeclarationHelper);
75933
+ const fullTarget = (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_2__.adjustPathMultiplicityComplex)(prefix.joinWith(target).normalize(), this.dataDeclarationHelper);
75955
75934
  const defaultValue = this.dataDeclarationHelper.getDefaultValue(fullTarget.toLegacyPath());
75956
75935
  const precalculationRules = [];
75957
75936
  const isTargetAutoField = this.dataDeclarationHelper.isNodeHasAutoFlagEntry(fullTarget.toAbsolute());
@@ -75990,7 +75969,7 @@ class FormulaRulesBuilder extends _BaseRuleBuilder__WEBPACK_IMPORTED_MODULE_6__.
75990
75969
  return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.SetStatement(valueRef, new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.ConditionalExpression(combinedCondition, getFormulaExpression("value"), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.NullCoalesceExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.ValueReferenceExpression(fullTarget.toCurrentIteration(), "value"), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.StringLiteralExpression(defaultValue))));
75991
75970
  }
75992
75971
  adjustPathMultiplicity(path) {
75993
- return (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_2__.adjustPathMultiplicityComplex)(path, this.formSchemaRng, this.dataDeclarationHelper);
75972
+ return (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_2__.adjustPathMultiplicityComplex)(path, this.dataDeclarationHelper);
75994
75973
  }
75995
75974
  }
75996
75975
 
@@ -76768,15 +76747,13 @@ __webpack_require__.r(__webpack_exports__);
76768
76747
 
76769
76748
 
76770
76749
  class ValidationRulesBuilder extends _BaseRuleBuilder__WEBPACK_IMPORTED_MODULE_10__.BaseRuleBuilder {
76771
- constructor(dataDeclarationHelper, formSchemaRng, formulaExprConverter, conditions) {
76750
+ constructor(dataDeclarationHelper, formulaExprConverter, conditions) {
76772
76751
  super();
76773
76752
  this.dataDeclarationHelper = void 0;
76774
- this.formSchemaRng = void 0;
76775
76753
  this.conditions = void 0;
76776
76754
  this.formulaExprConverter = void 0;
76777
76755
  this.conditions = conditions;
76778
76756
  this.formulaExprConverter = formulaExprConverter;
76779
- this.formSchemaRng = formSchemaRng;
76780
76757
  this.dataDeclarationHelper = dataDeclarationHelper;
76781
76758
  }
76782
76759
  buildRulesInternal() {
@@ -76893,7 +76870,7 @@ class ValidationRulesBuilder extends _BaseRuleBuilder__WEBPACK_IMPORTED_MODULE_1
76893
76870
  return rules;
76894
76871
  }
76895
76872
  adjustPathMultiplicity(path) {
76896
- return (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_5__.adjustPathMultiplicityComplex)(path, this.formSchemaRng, this.dataDeclarationHelper);
76873
+ return (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_5__.adjustPathMultiplicityComplex)(path, this.dataDeclarationHelper);
76897
76874
  }
76898
76875
  }
76899
76876
 
@@ -78508,10 +78485,10 @@ class DownloadExcelButtonConverter extends _SugarNodeConverter__WEBPACK_IMPORTED
78508
78485
  const node = this.getCurrentNodeAs(_DownloadExcelButtonNode__WEBPACK_IMPORTED_MODULE_4__.DownloadExcelButtonNode);
78509
78486
  return [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_3__.getNewBindingPathExpression)(node)];
78510
78487
  }
78511
- doBuildDataDeclaration(context) {
78488
+ doBuildDataDeclaration() {
78512
78489
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
78513
78490
  }
78514
- buildChildrenDataDeclaration(context) {
78491
+ buildChildrenDataDeclaration() {
78515
78492
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
78516
78493
  }
78517
78494
  *doTraverseChildren() {
@@ -78668,10 +78645,10 @@ class DropDownButtonLoadExcelConverter extends _SugarNodeConverter__WEBPACK_IMPO
78668
78645
  const node = this.getCurrentNodeAs(_DropDownButtonLoadExcelNode__WEBPACK_IMPORTED_MODULE_6__.DropDownButtonLoadExcelNode);
78669
78646
  return [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_3__.getNewBindingPathExpression)(node)];
78670
78647
  }
78671
- doBuildDataDeclaration(context) {
78648
+ doBuildDataDeclaration() {
78672
78649
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
78673
78650
  }
78674
- buildChildrenDataDeclaration(context) {
78651
+ buildChildrenDataDeclaration() {
78675
78652
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
78676
78653
  }
78677
78654
  *doTraverseChildren() {
@@ -78860,7 +78837,7 @@ class DropdownButtonConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODU
78860
78837
  const node = this.getCurrentNodeAs(_DropdownButtonNode__WEBPACK_IMPORTED_MODULE_5__.DropdownButtonNode);
78861
78838
  return [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_3__.getNewBindingPathExpression)(node)];
78862
78839
  }
78863
- doBuildDataDeclaration(context) {
78840
+ doBuildDataDeclaration() {
78864
78841
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
78865
78842
  }
78866
78843
  buildChildrenDataDeclaration(context) {
@@ -79014,16 +78991,16 @@ class ExcelPastePanelConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MOD
79014
78991
  static getAcceptNodeClass() {
79015
78992
  return _ExcelPastePanelNode__WEBPACK_IMPORTED_MODULE_3__.ExcelPastePanelNode;
79016
78993
  }
79017
- doBuildDataDeclaration(context) {
78994
+ doBuildDataDeclaration() {
79018
78995
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
79019
78996
  }
79020
- buildChildrenDataDeclaration(context) {
78997
+ buildChildrenDataDeclaration() {
79021
78998
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
79022
78999
  }
79023
79000
  *doTraverseChildren() {
79024
79001
  // no children
79025
79002
  }
79026
- doConvert(context) {
79003
+ doConvert() {
79027
79004
  const node = this.getCurrentNodeAs(_ExcelPastePanelNode__WEBPACK_IMPORTED_MODULE_3__.ExcelPastePanelNode);
79028
79005
  const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("ExcelPastePanel");
79029
79006
  markupBuilder.prop(x => x.templateHref).set(node.templateHref);
@@ -79103,7 +79080,7 @@ class KebabConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_0__.Su
79103
79080
  const node = this.getCurrentNodeAs(_KebabNode__WEBPACK_IMPORTED_MODULE_6__.KebabNode);
79104
79081
  return [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_1__.getNewBindingPathExpression)(node)];
79105
79082
  }
79106
- doBuildDataDeclaration(context) {
79083
+ doBuildDataDeclaration() {
79107
79084
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_3__.emptyDataDeclarationCollection;
79108
79085
  }
79109
79086
  buildChildrenDataDeclaration(context) {
@@ -79923,7 +79900,7 @@ class FillHintConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__
79923
79900
  static getAcceptNodeClass() {
79924
79901
  return _FillHintNode__WEBPACK_IMPORTED_MODULE_3__.FillHintNode;
79925
79902
  }
79926
- doBuildDataDeclaration(context) {
79903
+ doBuildDataDeclaration() {
79927
79904
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
79928
79905
  }
79929
79906
  buildChildrenDataDeclaration(context) {
@@ -80004,7 +79981,7 @@ class LongConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_0__.Sug
80004
79981
  static getAcceptNodeClass() {
80005
79982
  return _LongNode__WEBPACK_IMPORTED_MODULE_3__.LongNode;
80006
79983
  }
80007
- doBuildDataDeclaration(context) {
79984
+ doBuildDataDeclaration() {
80008
79985
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_1__.emptyDataDeclarationCollection;
80009
79986
  }
80010
79987
  buildChildrenDataDeclaration(context) {
@@ -80085,7 +80062,7 @@ class ShortConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Su
80085
80062
  static getAcceptNodeClass() {
80086
80063
  return _ShortNode__WEBPACK_IMPORTED_MODULE_3__.ShortNode;
80087
80064
  }
80088
- doBuildDataDeclaration(context) {
80065
+ doBuildDataDeclaration() {
80089
80066
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
80090
80067
  }
80091
80068
  buildChildrenDataDeclaration(context) {
@@ -80372,7 +80349,7 @@ class IfConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Sugar
80372
80349
  }
80373
80350
  return node.condition;
80374
80351
  }
80375
- doBuildDataDeclaration(context) {
80352
+ doBuildDataDeclaration() {
80376
80353
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
80377
80354
  }
80378
80355
  buildChildrenDataDeclaration(context) {
@@ -80744,7 +80721,7 @@ class OtherwiseConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2_
80744
80721
  static getAcceptNodeClass() {
80745
80722
  return _OtherwiseNode__WEBPACK_IMPORTED_MODULE_3__.OtherwiseNode;
80746
80723
  }
80747
- doBuildDataDeclaration(context) {
80724
+ doBuildDataDeclaration() {
80748
80725
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
80749
80726
  }
80750
80727
  buildChildrenDataDeclaration(context) {
@@ -80851,7 +80828,7 @@ class SwitchConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.S
80851
80828
  const node = this.getCurrentNodeAs(_SwitchNode__WEBPACK_IMPORTED_MODULE_14__.SwitchNode);
80852
80829
  return node.cases.flatMap(x => (0,_RequisiteLIst_requisiteList__WEBPACK_IMPORTED_MODULE_6__.getRequisitesFromEvaluableProps)(x.condition));
80853
80830
  }
80854
- doBuildDataDeclaration(context) {
80831
+ doBuildDataDeclaration() {
80855
80832
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
80856
80833
  }
80857
80834
  buildChildrenDataDeclaration(context) {
@@ -81141,7 +81118,7 @@ class WhenConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Sug
81141
81118
  static getAcceptNodeClass() {
81142
81119
  return _WhenNode__WEBPACK_IMPORTED_MODULE_3__.WhenNode;
81143
81120
  }
81144
- doBuildDataDeclaration(context) {
81121
+ doBuildDataDeclaration() {
81145
81122
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
81146
81123
  }
81147
81124
  buildChildrenDataDeclaration(context) {
@@ -81234,10 +81211,10 @@ class AddPageButtonConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODUL
81234
81211
  *doTraverseChildren() {
81235
81212
  // no children
81236
81213
  }
81237
- doBuildDataDeclaration(context) {
81214
+ doBuildDataDeclaration() {
81238
81215
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
81239
81216
  }
81240
- buildChildrenDataDeclaration(context) {
81217
+ buildChildrenDataDeclaration() {
81241
81218
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
81242
81219
  }
81243
81220
  doConvert(context) {
@@ -81332,10 +81309,10 @@ class AttachmentFormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODU
81332
81309
  const node = this.getCurrentNodeAs(_AttachmentFormNode__WEBPACK_IMPORTED_MODULE_9__.AttachmentFormNode);
81333
81310
  yield [node.gfv, (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.createAbsolute)(node.path).joinWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_4__.AttachmentInfoPath)];
81334
81311
  }
81335
- doBuildDataDeclaration(context) {
81312
+ doBuildDataDeclaration() {
81336
81313
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
81337
81314
  }
81338
- buildChildrenDataDeclaration(context) {
81315
+ buildChildrenDataDeclaration() {
81339
81316
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
81340
81317
  }
81341
81318
  *doTraverseChildren() {
@@ -81386,7 +81363,7 @@ __webpack_require__.r(__webpack_exports__);
81386
81363
 
81387
81364
 
81388
81365
 
81389
- var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12;
81366
+ var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11;
81390
81367
 
81391
81368
 
81392
81369
 
@@ -81416,7 +81393,7 @@ let AttachmentFormNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTE
81416
81393
  tid?: string;
81417
81394
  handler?: string;
81418
81395
  };
81419
- `), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("attachmentUnitItemInfoPaths", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, `Путь до поля в приложение для прокидывания значения в левое меню`), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)(), _dec(_class = (_class2 = class AttachmentFormNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
81396
+ `), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)(), _dec(_class = (_class2 = class AttachmentFormNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
81420
81397
  constructor(...args) {
81421
81398
  super(...args);
81422
81399
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "gfv", _descriptor, this);
@@ -81429,8 +81406,7 @@ let AttachmentFormNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTE
81429
81406
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "optional", _descriptor8, this);
81430
81407
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "pageActions", _descriptor9, this);
81431
81408
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "extraPageActions", _descriptor10, this);
81432
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "attachmentUnitItemInfoPaths", _descriptor11, this);
81433
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor12, this);
81409
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor11, this);
81434
81410
  }
81435
81411
  getOwnPath() {
81436
81412
  return this.path != undefined ? (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_4__.createFromMask)(this.path, "auto", _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_4__.PathTokens.each) : undefined;
@@ -81485,12 +81461,7 @@ let AttachmentFormNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTE
81485
81461
  enumerable: true,
81486
81462
  writable: true,
81487
81463
  initializer: null
81488
- }), _descriptor11 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "attachmentUnitItemInfoPaths", [_dec12], {
81489
- configurable: true,
81490
- enumerable: true,
81491
- writable: true,
81492
- initializer: null
81493
- }), _descriptor12 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec13], {
81464
+ }), _descriptor11 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec12], {
81494
81465
  configurable: true,
81495
81466
  enumerable: true,
81496
81467
  writable: true,
@@ -81965,16 +81936,16 @@ class CrossConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Su
81965
81936
  static getAcceptNodeClass() {
81966
81937
  return _CrossNode__WEBPACK_IMPORTED_MODULE_3__.CrossNode;
81967
81938
  }
81968
- doBuildDataDeclaration(context) {
81939
+ doBuildDataDeclaration() {
81969
81940
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
81970
81941
  }
81971
- buildChildrenDataDeclaration(context) {
81942
+ buildChildrenDataDeclaration() {
81972
81943
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
81973
81944
  }
81974
81945
  *doTraverseChildren() {
81975
81946
  // no children
81976
81947
  }
81977
- doConvert(context) {
81948
+ doConvert() {
81978
81949
  const node = this.getCurrentNodeAs(_CrossNode__WEBPACK_IMPORTED_MODULE_3__.CrossNode);
81979
81950
  const crossBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("Cross");
81980
81951
  crossBuilder.prop(x => x.text).set(node.text);
@@ -82042,7 +82013,7 @@ class DefaultContentConverter extends _Content_ContentConverter__WEBPACK_IMPORTE
82042
82013
  static getAcceptNodeClass() {
82043
82014
  return _DefaultContentNode__WEBPACK_IMPORTED_MODULE_2__.DefaultContentNode;
82044
82015
  }
82045
- doBuildDataDeclaration(context) {
82016
+ doBuildDataDeclaration() {
82046
82017
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
82047
82018
  }
82048
82019
  buildChildrenDataDeclaration(context) {
@@ -82145,11 +82116,7 @@ __webpack_require__.r(__webpack_exports__);
82145
82116
  /* harmony import */ var _Common_KCLangRuntimeUtils__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../../../../../../../Common/KCLangRuntimeUtils */ "./Common/KCLangRuntimeUtils.ts");
82146
82117
  /* harmony import */ var _ComponentMarkupBuilder_PathHelper__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/PathHelper */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/PathHelper.ts");
82147
82118
  /* harmony import */ var _Common_PathConstants__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../../../../../../../Common/PathConstants */ "./Common/PathConstants.ts");
82148
- /* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
82149
- /* harmony import */ var _common_CastUtils__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ../../../../../common/CastUtils */ "./Generator/src/common/CastUtils.ts");
82150
- /* harmony import */ var _FormNode__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./FormNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/FormNode.ts");
82151
-
82152
-
82119
+ /* harmony import */ var _FormNode__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./FormNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/FormNode.ts");
82153
82120
 
82154
82121
 
82155
82122
 
@@ -82175,10 +82142,10 @@ __webpack_require__.r(__webpack_exports__);
82175
82142
 
82176
82143
  class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.SugarNodeConverterBase {
82177
82144
  static getAcceptNodeClass() {
82178
- return _FormNode__WEBPACK_IMPORTED_MODULE_24__.FormNode;
82145
+ return _FormNode__WEBPACK_IMPORTED_MODULE_22__.FormNode;
82179
82146
  }
82180
- doBuildDataDeclaration(context) {
82181
- const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_24__.FormNode);
82147
+ doBuildDataDeclaration() {
82148
+ const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_22__.FormNode);
82182
82149
  const rootPath = (0,_getRootPath__WEBPACK_IMPORTED_MODULE_3__.getRootPath)(node);
82183
82150
  const entrySections = ["default"];
82184
82151
  const optionalSections = this.findOptionalSections(node);
@@ -82205,11 +82172,11 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
82205
82172
  return result;
82206
82173
  }
82207
82174
  buildChildrenDataDeclaration(context) {
82208
- const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_24__.FormNode);
82175
+ const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_22__.FormNode);
82209
82176
  return context.processChildrenDataDeclaration(node.pages);
82210
82177
  }
82211
82178
  *doTraverseChildren() {
82212
- const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_24__.FormNode);
82179
+ const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_22__.FormNode);
82213
82180
  yield* node.pages;
82214
82181
  if (node.attachmentForms) {
82215
82182
  yield* node.attachmentForms;
@@ -82222,7 +82189,7 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
82222
82189
  }
82223
82190
  }
82224
82191
  doConvert(context) {
82225
- const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_24__.FormNode);
82192
+ const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_22__.FormNode);
82226
82193
  if (node.simple) {
82227
82194
  return this.buildSimpleForm(context, node);
82228
82195
  } else if (node.plain) {
@@ -82521,11 +82488,6 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
82521
82488
  dependencies: compiledCondition === null || compiledCondition === void 0 ? void 0 : compiledCondition.dependencies
82522
82489
  });
82523
82490
  }
82524
- if (attachmentFormNode.attachmentUnitItemInfoPaths != undefined) {
82525
- const parsedPaths = (0,_common_CastUtils__WEBPACK_IMPORTED_MODULE_23__.tryParseAttachmentUnitPaths)(attachmentFormNode.attachmentUnitItemInfoPaths);
82526
- const resolvePaths = Array.isArray(parsedPaths) ? parsedPaths.map(path => (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_22__.createModelPath)(path, true)) : (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_22__.createModelPath)(parsedPaths, true);
82527
- markupBuilder.prop(x => x.attachmentUnitItemInfoPaths).set(resolvePaths);
82528
- }
82529
82491
  markupBuilder.appendChild(context.convertChildNodes(attachmentFormNode.children));
82530
82492
  return markupBuilder;
82531
82493
  }
@@ -83225,16 +83187,16 @@ class FormInfoConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__
83225
83187
  static getAcceptNodeClass() {
83226
83188
  return _FormInfoNode__WEBPACK_IMPORTED_MODULE_3__.FormInfoNode;
83227
83189
  }
83228
- doBuildDataDeclaration(context) {
83190
+ doBuildDataDeclaration() {
83229
83191
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
83230
83192
  }
83231
- buildChildrenDataDeclaration(context) {
83193
+ buildChildrenDataDeclaration() {
83232
83194
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
83233
83195
  }
83234
83196
  *doTraverseChildren() {
83235
83197
  // no children
83236
83198
  }
83237
- doConvert(context) {
83199
+ doConvert() {
83238
83200
  const node = this.getCurrentNodeAs(_FormInfoNode__WEBPACK_IMPORTED_MODULE_3__.FormInfoNode);
83239
83201
  const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__.componentMarkupBuilder)("FormInfo");
83240
83202
  markupBuilder.prop(x => x.name).set(node.name);
@@ -83304,10 +83266,10 @@ class GlobalModalsConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE
83304
83266
  static getAcceptNodeClass() {
83305
83267
  return _GlobalModalsNode__WEBPACK_IMPORTED_MODULE_3__.GlobalModalsNode;
83306
83268
  }
83307
- doBuildDataDeclaration(context) {
83269
+ doBuildDataDeclaration() {
83308
83270
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
83309
83271
  }
83310
- buildChildrenDataDeclaration(context) {
83272
+ buildChildrenDataDeclaration() {
83311
83273
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
83312
83274
  }
83313
83275
  *doTraverseChildren() {
@@ -83479,10 +83441,10 @@ class ModalHeaderConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_
83479
83441
  static getAcceptNodeClass() {
83480
83442
  return _ModalHeaderNode__WEBPACK_IMPORTED_MODULE_3__.ModalHeaderNode;
83481
83443
  }
83482
- doBuildDataDeclaration(context) {
83444
+ doBuildDataDeclaration() {
83483
83445
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
83484
83446
  }
83485
- buildChildrenDataDeclaration(context) {
83447
+ buildChildrenDataDeclaration() {
83486
83448
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
83487
83449
  }
83488
83450
  *doTraverseChildren() {
@@ -84058,10 +84020,10 @@ class TourConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_6__.Sug
84058
84020
  const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("Tour");
84059
84021
  return markupBuilder.buildConverterResult();
84060
84022
  }
84061
- doBuildDataDeclaration(context) {
84023
+ doBuildDataDeclaration() {
84062
84024
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_2__.emptyDataDeclarationCollection;
84063
84025
  }
84064
- buildChildrenDataDeclaration(context) {
84026
+ buildChildrenDataDeclaration() {
84065
84027
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_2__.emptyDataDeclarationCollection;
84066
84028
  }
84067
84029
  *doTraverseChildren() {
@@ -84261,10 +84223,10 @@ class UnitItemConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__
84261
84223
  static getAcceptNodeClass() {
84262
84224
  return _UnitItemNode__WEBPACK_IMPORTED_MODULE_5__.UnitItemNode;
84263
84225
  }
84264
- doBuildDataDeclaration(context) {
84226
+ doBuildDataDeclaration() {
84265
84227
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
84266
84228
  }
84267
- buildChildrenDataDeclaration(context) {
84229
+ buildChildrenDataDeclaration() {
84268
84230
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
84269
84231
  }
84270
84232
  *doTraverseChildren() {
@@ -84399,10 +84361,10 @@ class UnitListConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__
84399
84361
  static getAcceptNodeClass() {
84400
84362
  return _UnitListNode__WEBPACK_IMPORTED_MODULE_3__.UnitListNode;
84401
84363
  }
84402
- doBuildDataDeclaration(context) {
84364
+ doBuildDataDeclaration() {
84403
84365
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
84404
84366
  }
84405
- buildChildrenDataDeclaration(context) {
84367
+ buildChildrenDataDeclaration() {
84406
84368
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
84407
84369
  }
84408
84370
  *doTraverseChildren() {
@@ -84523,13 +84485,13 @@ class UserPicklistConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE
84523
84485
  applyVisibilityPathProcessing() {
84524
84486
  return false;
84525
84487
  }
84526
- *doBuildNormalizeRules(builder) {
84488
+ *doBuildNormalizeRules() {
84527
84489
  // no rules
84528
84490
  }
84529
- doBuildDataDeclaration(context) {
84491
+ doBuildDataDeclaration() {
84530
84492
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_2__.emptyDataDeclarationCollection;
84531
84493
  }
84532
- buildChildrenDataDeclaration(context) {
84494
+ buildChildrenDataDeclaration() {
84533
84495
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_2__.emptyDataDeclarationCollection;
84534
84496
  }
84535
84497
  *doTraverseChildren() {
@@ -85040,7 +85002,7 @@ class HelpInfoConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__
85040
85002
  yield node.children[0];
85041
85003
  }
85042
85004
  }
85043
- doConvert(context) {
85005
+ doConvert() {
85044
85006
  var _node$content, _node$header, _node$positions;
85045
85007
  const node = this.getCurrentNodeAs(_HelpInfoNode__WEBPACK_IMPORTED_MODULE_5__.HelpInfoNode);
85046
85008
  const mb = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("HelpInfo");
@@ -85172,16 +85134,16 @@ class NormativeHelpConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODUL
85172
85134
  static getAcceptNodeClass() {
85173
85135
  return _NormativeHelpNode__WEBPACK_IMPORTED_MODULE_3__.NormativeHelpNode;
85174
85136
  }
85175
- doBuildDataDeclaration(context) {
85137
+ doBuildDataDeclaration() {
85176
85138
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
85177
85139
  }
85178
- buildChildrenDataDeclaration(context) {
85140
+ buildChildrenDataDeclaration() {
85179
85141
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
85180
85142
  }
85181
85143
  *doTraverseChildren() {
85182
85144
  // no children
85183
85145
  }
85184
- doConvert(context) {
85146
+ doConvert() {
85185
85147
  const node = this.getCurrentNodeAs(_NormativeHelpNode__WEBPACK_IMPORTED_MODULE_3__.NormativeHelpNode);
85186
85148
  const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("NormativeHelp");
85187
85149
  markupBuilder.prop(x => x.helpUrl).set(this.getNormativeUrl(node));
@@ -85409,16 +85371,16 @@ class BrConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Sugar
85409
85371
  static getAcceptNodeClass() {
85410
85372
  return _BrNode__WEBPACK_IMPORTED_MODULE_3__.BrNode;
85411
85373
  }
85412
- doBuildDataDeclaration(context) {
85374
+ doBuildDataDeclaration() {
85413
85375
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
85414
85376
  }
85415
- buildChildrenDataDeclaration(context) {
85377
+ buildChildrenDataDeclaration() {
85416
85378
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
85417
85379
  }
85418
85380
  *doTraverseChildren() {
85419
85381
  // no children
85420
85382
  }
85421
- doConvert(context) {
85383
+ doConvert() {
85422
85384
  this.getCurrentNodeAs(_BrNode__WEBPACK_IMPORTED_MODULE_3__.BrNode);
85423
85385
  const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("Br");
85424
85386
  return markupBuilder.buildConverterResult();
@@ -86500,13 +86462,13 @@ class HrConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Sugar
86500
86462
  const node = this.getCurrentNodeAs(_HrNode__WEBPACK_IMPORTED_MODULE_3__.HrNode);
86501
86463
  return context.addVisibilityPathDeclEntryNew(node);
86502
86464
  }
86503
- buildChildrenDataDeclaration(context) {
86465
+ buildChildrenDataDeclaration() {
86504
86466
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
86505
86467
  }
86506
86468
  *doTraverseChildren() {
86507
86469
  // no children
86508
86470
  }
86509
- doConvert(context) {
86471
+ doConvert() {
86510
86472
  const node = this.getCurrentNodeAs(_HrNode__WEBPACK_IMPORTED_MODULE_3__.HrNode);
86511
86473
  const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("Hr");
86512
86474
  markupBuilder.prop(x => x.width).set(node.width);
@@ -86616,7 +86578,7 @@ class ImgConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_6__.Suga
86616
86578
  const node = this.getCurrentNodeAs(_ImgNode__WEBPACK_IMPORTED_MODULE_8__.ImgNode);
86617
86579
  return context.addVisibilityPathDeclEntryNew(node);
86618
86580
  }
86619
- buildChildrenDataDeclaration(context) {
86581
+ buildChildrenDataDeclaration() {
86620
86582
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_4__.emptyDataDeclarationCollection;
86621
86583
  }
86622
86584
  *doTraverseChildren() {
@@ -86721,16 +86683,16 @@ class InnertextConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2_
86721
86683
  static getAcceptNodeClass() {
86722
86684
  return _InnertextNode__WEBPACK_IMPORTED_MODULE_3__.InnertextNode;
86723
86685
  }
86724
- doBuildDataDeclaration(context) {
86686
+ doBuildDataDeclaration() {
86725
86687
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
86726
86688
  }
86727
- buildChildrenDataDeclaration(context) {
86689
+ buildChildrenDataDeclaration() {
86728
86690
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
86729
86691
  }
86730
86692
  *doTraverseChildren() {
86731
86693
  // no children
86732
86694
  }
86733
- doConvert(context) {
86695
+ doConvert() {
86734
86696
  const node = this.getCurrentNodeAs(_InnertextNode__WEBPACK_IMPORTED_MODULE_3__.InnertextNode);
86735
86697
  if (node.innertext == undefined) {
86736
86698
  return new _ConverterResults_ConverterResult__WEBPACK_IMPORTED_MODULE_1__.ConverterResult(``);
@@ -87392,7 +87354,7 @@ class PencilConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.S
87392
87354
  applyVisibilityPathProcessing() {
87393
87355
  return false;
87394
87356
  }
87395
- doBuildDataDeclaration(context) {
87357
+ doBuildDataDeclaration() {
87396
87358
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
87397
87359
  }
87398
87360
  buildChildrenDataDeclaration(context) {
@@ -88405,7 +88367,7 @@ class BodyConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Sug
88405
88367
  static getAcceptNodeClass() {
88406
88368
  return _BodyNode__WEBPACK_IMPORTED_MODULE_3__.BodyNode;
88407
88369
  }
88408
- doBuildDataDeclaration(context) {
88370
+ doBuildDataDeclaration() {
88409
88371
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
88410
88372
  }
88411
88373
  buildChildrenDataDeclaration(context) {
@@ -88497,7 +88459,7 @@ class FooterConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.S
88497
88459
  static getAcceptNodeClass() {
88498
88460
  return _FooterNode__WEBPACK_IMPORTED_MODULE_3__.FooterNode;
88499
88461
  }
88500
- doBuildDataDeclaration(context) {
88462
+ doBuildDataDeclaration() {
88501
88463
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
88502
88464
  }
88503
88465
  buildChildrenDataDeclaration(context) {
@@ -88746,7 +88708,7 @@ class ModalFormCancelConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MOD
88746
88708
  applyVisibilityPathProcessing() {
88747
88709
  return false;
88748
88710
  }
88749
- doBuildDataDeclaration(context) {
88711
+ doBuildDataDeclaration() {
88750
88712
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
88751
88713
  }
88752
88714
  buildChildrenDataDeclaration(context) {
@@ -88832,7 +88794,7 @@ class ModalFormConfirmConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MO
88832
88794
  applyVisibilityPathProcessing() {
88833
88795
  return false;
88834
88796
  }
88835
- doBuildDataDeclaration(context) {
88797
+ doBuildDataDeclaration() {
88836
88798
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
88837
88799
  }
88838
88800
  buildChildrenDataDeclaration(context) {
@@ -89095,7 +89057,7 @@ class AddRowButtonConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE
89095
89057
  }
89096
89058
  return pathDeclarations.length > 0 ? context.mergeDataDeclaration(...pathDeclarations) : _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_1__.emptyDataDeclarationCollection;
89097
89059
  }
89098
- buildChildrenDataDeclaration(context) {
89060
+ buildChildrenDataDeclaration() {
89099
89061
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_1__.emptyDataDeclarationCollection;
89100
89062
  }
89101
89063
  *doTraverseChildren() {
@@ -89258,7 +89220,7 @@ class ColgroupButtonConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODU
89258
89220
  static getAcceptNodeClass() {
89259
89221
  return _ColgroupButtonNode__WEBPACK_IMPORTED_MODULE_4__.ColgroupButtonNode;
89260
89222
  }
89261
- doBuildDataDeclaration(context) {
89223
+ doBuildDataDeclaration() {
89262
89224
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
89263
89225
  }
89264
89226
  buildChildrenDataDeclaration(context) {
@@ -90615,16 +90577,16 @@ class FilterDateRangeConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MOD
90615
90577
  static getAcceptNodeClass() {
90616
90578
  return _FilterDateRangeNode__WEBPACK_IMPORTED_MODULE_4__.FilterDateRangeNode;
90617
90579
  }
90618
- doBuildDataDeclaration(context) {
90580
+ doBuildDataDeclaration() {
90619
90581
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
90620
90582
  }
90621
- buildChildrenDataDeclaration(context) {
90583
+ buildChildrenDataDeclaration() {
90622
90584
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
90623
90585
  }
90624
90586
  *doTraverseChildren() {
90625
90587
  // no children
90626
90588
  }
90627
- doConvert(context) {
90589
+ doConvert() {
90628
90590
  const node = this.getCurrentNodeAs(_FilterDateRangeNode__WEBPACK_IMPORTED_MODULE_4__.FilterDateRangeNode);
90629
90591
  const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__.componentMarkupBuilder)("FilterDateRange");
90630
90592
  markupBuilder.prop(x => x.dataPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_1__.getNewBindingPathExpression)(node, node.dataPath));
@@ -90704,16 +90666,16 @@ class FilterInputConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_
90704
90666
  static getAcceptNodeClass() {
90705
90667
  return _FilterInputNode__WEBPACK_IMPORTED_MODULE_4__.FilterInputNode;
90706
90668
  }
90707
- doBuildDataDeclaration(context) {
90669
+ doBuildDataDeclaration() {
90708
90670
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
90709
90671
  }
90710
- buildChildrenDataDeclaration(context) {
90672
+ buildChildrenDataDeclaration() {
90711
90673
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
90712
90674
  }
90713
90675
  *doTraverseChildren() {
90714
90676
  // no children
90715
90677
  }
90716
- doConvert(context) {
90678
+ doConvert() {
90717
90679
  const node = this.getCurrentNodeAs(_FilterInputNode__WEBPACK_IMPORTED_MODULE_4__.FilterInputNode);
90718
90680
  const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__.componentMarkupBuilder)("FilterInput");
90719
90681
  if (node.multilinePath != undefined) {
@@ -90851,16 +90813,16 @@ class FilterListConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3
90851
90813
  static getAcceptNodeClass() {
90852
90814
  return _FilterListNode__WEBPACK_IMPORTED_MODULE_5__.FilterListNode;
90853
90815
  }
90854
- doBuildDataDeclaration(context) {
90816
+ doBuildDataDeclaration() {
90855
90817
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
90856
90818
  }
90857
- buildChildrenDataDeclaration(context) {
90819
+ buildChildrenDataDeclaration() {
90858
90820
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
90859
90821
  }
90860
90822
  *doTraverseChildren() {
90861
90823
  // no children
90862
90824
  }
90863
- doConvert(context) {
90825
+ doConvert() {
90864
90826
  const node = this.getCurrentNodeAs(_FilterListNode__WEBPACK_IMPORTED_MODULE_5__.FilterListNode);
90865
90827
  const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__.componentMarkupBuilder)("FilterList");
90866
90828
  markupBuilder.prop(x => x.gId).set(node.gId);
@@ -90995,16 +90957,16 @@ class FilterSelectConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE
90995
90957
  static getAcceptNodeClass() {
90996
90958
  return _FilterSelectNode__WEBPACK_IMPORTED_MODULE_9__.FilterSelectNode;
90997
90959
  }
90998
- doBuildDataDeclaration(context) {
90960
+ doBuildDataDeclaration() {
90999
90961
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_3__.emptyDataDeclarationCollection;
91000
90962
  }
91001
- buildChildrenDataDeclaration(context) {
90963
+ buildChildrenDataDeclaration() {
91002
90964
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_3__.emptyDataDeclarationCollection;
91003
90965
  }
91004
90966
  *doTraverseChildren() {
91005
90967
  // noop
91006
90968
  }
91007
- doConvert(context) {
90969
+ doConvert() {
91008
90970
  const node = this.getCurrentNodeAs(_FilterSelectNode__WEBPACK_IMPORTED_MODULE_9__.FilterSelectNode);
91009
90971
  const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_5__.componentMarkupBuilder)("FilterSelect");
91010
90972
  if (node.multilinePath != undefined) {
@@ -91265,7 +91227,7 @@ class HeaderMenuConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2
91265
91227
  static getAcceptNodeClass() {
91266
91228
  return _HeaderMenuNode__WEBPACK_IMPORTED_MODULE_4__.HeaderMenuNode;
91267
91229
  }
91268
- doBuildDataDeclaration(context) {
91230
+ doBuildDataDeclaration() {
91269
91231
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
91270
91232
  }
91271
91233
  buildChildrenDataDeclaration(context) {
@@ -91382,7 +91344,7 @@ class InstanceNumberConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODU
91382
91344
  static getAcceptNodeClass() {
91383
91345
  return _InstanceNumberNode__WEBPACK_IMPORTED_MODULE_4__.InstanceNumberNode;
91384
91346
  }
91385
- doBuildDataDeclaration(context) {
91347
+ doBuildDataDeclaration() {
91386
91348
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
91387
91349
  }
91388
91350
  buildChildrenDataDeclaration() {
@@ -91815,16 +91777,16 @@ class RemoveRowButtonConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MOD
91815
91777
  static getAcceptNodeClass() {
91816
91778
  return _RemoveRowButtonNode__WEBPACK_IMPORTED_MODULE_3__.RemoveRowButtonNode;
91817
91779
  }
91818
- doBuildDataDeclaration(context) {
91780
+ doBuildDataDeclaration() {
91819
91781
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
91820
91782
  }
91821
- buildChildrenDataDeclaration(context) {
91783
+ buildChildrenDataDeclaration() {
91822
91784
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
91823
91785
  }
91824
91786
  *doTraverseChildren() {
91825
91787
  // no children
91826
91788
  }
91827
- doConvert(context) {
91789
+ doConvert() {
91828
91790
  var _node$clearLastInstan;
91829
91791
  const node = this.getCurrentNodeAs(_RemoveRowButtonNode__WEBPACK_IMPORTED_MODULE_3__.RemoveRowButtonNode);
91830
91792
  const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("RemoveRowButton");
@@ -91911,10 +91873,10 @@ class SortRadioGroupConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODU
91911
91873
  static getAcceptNodeClass() {
91912
91874
  return _SortRadioGroupNode__WEBPACK_IMPORTED_MODULE_4__.SortRadioGroupNode;
91913
91875
  }
91914
- doBuildDataDeclaration(context) {
91876
+ doBuildDataDeclaration() {
91915
91877
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
91916
91878
  }
91917
- buildChildrenDataDeclaration(context) {
91879
+ buildChildrenDataDeclaration() {
91918
91880
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
91919
91881
  }
91920
91882
  *doTraverseChildren() {
@@ -93684,7 +93646,7 @@ class TableCellConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2_
93684
93646
  static getAcceptNodeClass() {
93685
93647
  return _TableCellNode__WEBPACK_IMPORTED_MODULE_3__.TableCellNode;
93686
93648
  }
93687
- doBuildDataDeclaration(context) {
93649
+ doBuildDataDeclaration() {
93688
93650
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
93689
93651
  }
93690
93652
  buildChildrenDataDeclaration(context) {
@@ -94336,7 +94298,7 @@ class BoldConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Sug
94336
94298
  static getAcceptNodeClass() {
94337
94299
  return _BoldNode__WEBPACK_IMPORTED_MODULE_3__.BoldNode;
94338
94300
  }
94339
- doBuildDataDeclaration(context) {
94301
+ doBuildDataDeclaration() {
94340
94302
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
94341
94303
  }
94342
94304
  buildChildrenDataDeclaration(context) {
@@ -94436,21 +94398,21 @@ class EntityConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.S
94436
94398
  static getAcceptNodeClass() {
94437
94399
  return _EntityNode__WEBPACK_IMPORTED_MODULE_3__.EntityNode;
94438
94400
  }
94439
- doBuildDataDeclaration(context) {
94401
+ doBuildDataDeclaration() {
94440
94402
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
94441
94403
  }
94442
- buildChildrenDataDeclaration(context) {
94404
+ buildChildrenDataDeclaration() {
94443
94405
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
94444
94406
  }
94445
94407
  *doTraverseChildren() {
94446
94408
  // no children
94447
94409
  }
94448
- doConvert(context) {
94410
+ doConvert() {
94449
94411
  const node = this.getCurrentNodeAs(_EntityNode__WEBPACK_IMPORTED_MODULE_3__.EntityNode);
94450
94412
  if (node.value === "#32") {
94451
94413
  /* NOTE
94452
- * Странная исптория: почему-то &#32; старло прилетать в компонент в виде null-а.
94453
- * Такие испраление всё чинит, не знаю надолго ли.
94414
+ * Странная история: почему-то &#32; стало прилетать в компонент в виде null-а.
94415
+ * Такое исправление всё чинит, не знаю надолго ли.
94454
94416
  */
94455
94417
  return _ConverterResults_ConverterResult__WEBPACK_IMPORTED_MODULE_1__.ConverterResult.fromConverterResults([], `{" "}`);
94456
94418
  }
@@ -94737,7 +94699,7 @@ __webpack_require__.r(__webpack_exports__);
94737
94699
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
94738
94700
  /* harmony export */ getIconName: () => (/* binding */ getIconName)
94739
94701
  /* harmony export */ });
94740
- function getIconName(node, iconName) {
94702
+ function getIconName(_node, iconName) {
94741
94703
  // @ts-ignore Не хочу зависеть от иконок в генераторе, может быть собраться и заиспользовать babel-preeval
94742
94704
  const iconNameWeakCasted = iconName;
94743
94705
  return iconNameWeakCasted;
@@ -94776,7 +94738,7 @@ class IconConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Sug
94776
94738
  const node = this.getCurrentNodeAs(_IconNode__WEBPACK_IMPORTED_MODULE_4__.IconNode);
94777
94739
  return context.addVisibilityPathDeclEntryNew(node);
94778
94740
  }
94779
- buildChildrenDataDeclaration(context) {
94741
+ buildChildrenDataDeclaration() {
94780
94742
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
94781
94743
  }
94782
94744
  *doTraverseChildren() {
@@ -95284,7 +95246,7 @@ class HeaderPanelConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_
95284
95246
  static getAcceptNodeClass() {
95285
95247
  return _HeaderPanelNode__WEBPACK_IMPORTED_MODULE_3__.HeaderPanelNode;
95286
95248
  }
95287
- doBuildDataDeclaration(context) {
95249
+ doBuildDataDeclaration() {
95288
95250
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
95289
95251
  }
95290
95252
  buildChildrenDataDeclaration(context) {
@@ -96405,7 +96367,7 @@ class DiadocSuggestComboBoxConverter extends _SugarNodeConverter__WEBPACK_IMPORT
96405
96367
  optional: node.dataBinding.optional
96406
96368
  }), context.addPathSectionDeclarationEntry(node, node.dataBinding.requisite), context.addVisibilityPathDeclEntryNew(node, node.dataBinding.requisite));
96407
96369
  }
96408
- buildChildrenDataDeclaration(context) {
96370
+ buildChildrenDataDeclaration() {
96409
96371
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
96410
96372
  }
96411
96373
  *doTraverseChildren() {
@@ -96756,13 +96718,13 @@ class FiasConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Sug
96756
96718
  }
96757
96719
  return context.mergeDataDeclaration(context.addPathSectionDeclarationEntry(node, node.dataBinding.requisite), ...PathDeclarations);
96758
96720
  }
96759
- buildChildrenDataDeclaration(context) {
96721
+ buildChildrenDataDeclaration() {
96760
96722
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_3__.emptyDataDeclarationCollection;
96761
96723
  }
96762
96724
  *doTraverseChildren() {
96763
96725
  // no children
96764
96726
  }
96765
- doConvert(context) {
96727
+ doConvert() {
96766
96728
  var _node$title, _node$withSteads, _node$division, _node$searchToAddress;
96767
96729
  const node = this.getCurrentNodeAs(_FiasNode__WEBPACK_IMPORTED_MODULE_5__.FiasNode);
96768
96730
  const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("Fias");
@@ -97515,7 +97477,7 @@ class FileLoaderConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_4
97515
97477
  static getAcceptNodeClass() {
97516
97478
  return _FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode;
97517
97479
  }
97518
- *getAttachmentPaths(context) {
97480
+ *getAttachmentPaths() {
97519
97481
  const node = this.getCurrentNodeAs(_FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode);
97520
97482
  const multipleNode = !node.single;
97521
97483
  if (multipleNode) {
@@ -97524,7 +97486,7 @@ class FileLoaderConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_4
97524
97486
  yield node.getFullPath().joinWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_7__.AttachmentInfoPath);
97525
97487
  }
97526
97488
  }
97527
- doBuildNodeValidations(validationGenerator, context) {
97489
+ doBuildNodeValidations(validationGenerator) {
97528
97490
  const node = this.getCurrentNodeAs(_FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode);
97529
97491
  const multipleNode = !node.single;
97530
97492
  validationGenerator.processValidations(this.getResolvedBindingPath(node), node.validationInfo.optional, validationGenerator.getTypeNode(node.validationInfo), undefined, node.validationInfo.emptydescription, {
@@ -99774,13 +99736,13 @@ class RelativesComboBoxConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_M
99774
99736
  markupBuilder.prop(x => x.queryFilter).set(node.queryFilter);
99775
99737
  return markupBuilder.buildConverterResult();
99776
99738
  }
99777
- buildChildrenDataDeclaration(context) {
99739
+ buildChildrenDataDeclaration() {
99778
99740
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_1__.emptyDataDeclarationCollection;
99779
99741
  }
99780
99742
  *doTraverseChildren() {
99781
99743
  // no children
99782
99744
  }
99783
- doBuildDataDeclaration(context) {
99745
+ doBuildDataDeclaration() {
99784
99746
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_1__.emptyDataDeclarationCollection;
99785
99747
  }
99786
99748
  }
@@ -100304,10 +100266,10 @@ class SelectAllCheckboxConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_M
100304
100266
  const node = this.getCurrentNodeAs(_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_6__.SelectAllCheckboxNode);
100305
100267
  return [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_3__.getNewBindingPathExpression)(node)];
100306
100268
  }
100307
- doBuildDataDeclaration(context) {
100269
+ doBuildDataDeclaration() {
100308
100270
  return {};
100309
100271
  }
100310
- doBuildNormalizeRules(builder, formSchemaRng) {
100272
+ doBuildNormalizeRules() {
100311
100273
  var _node$pathToChecked;
100312
100274
  const node = this.getCurrentNodeAs(_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_6__.SelectAllCheckboxNode);
100313
100275
  const pathToCheckedArray = (0,_Engine_src_Controls_FastSelectAllCheckboxesHelper__WEBPACK_IMPORTED_MODULE_0__.buildDirtyPathForMultiplicityAndCheckboxPath)(node.getFullPath(), (_node$pathToChecked = node.pathToChecked) !== null && _node$pathToChecked !== void 0 ? _node$pathToChecked : "checked");
@@ -100726,13 +100688,13 @@ class TaxRebateConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3_
100726
100688
  const node = this.getCurrentNodeAs(_TaxRebateNode__WEBPACK_IMPORTED_MODULE_7__.TaxRebateNode);
100727
100689
  return [builder.valueInitializer(node, node.dataBinding, undefined), ...builder.specialFieldsInitializer(node, {})];
100728
100690
  }
100729
- buildChildrenDataDeclaration(context) {
100691
+ buildChildrenDataDeclaration() {
100730
100692
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_1__.emptyDataDeclarationCollection;
100731
100693
  }
100732
100694
  *doTraverseChildren() {
100733
100695
  // no children
100734
100696
  }
100735
- doConvert(context) {
100697
+ doConvert() {
100736
100698
  var _node$gId, _node$columnNames$cod, _node$columnNames, _node$columnNames$nam, _node$columnNames2, _node$columnNames$law, _node$columnNames3, _node$width;
100737
100699
  const node = this.getCurrentNodeAs(_TaxRebateNode__WEBPACK_IMPORTED_MODULE_7__.TaxRebateNode);
100738
100700
  this.ensurePathExists(node, node.dataBinding.path);
@@ -101926,7 +101888,7 @@ class RadioConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__.Su
101926
101888
  static getAcceptNodeClass() {
101927
101889
  return _RadioNode__WEBPACK_IMPORTED_MODULE_4__.RadioNode;
101928
101890
  }
101929
- doBuildDataDeclaration(context) {
101891
+ doBuildDataDeclaration() {
101930
101892
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
101931
101893
  }
101932
101894
  buildChildrenDataDeclaration(context) {
@@ -102040,10 +102002,10 @@ class DateViewConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__
102040
102002
  static getAcceptNodeClass() {
102041
102003
  return _DateViewNode__WEBPACK_IMPORTED_MODULE_5__.DateViewNode;
102042
102004
  }
102043
- doBuildDataDeclaration(context) {
102005
+ doBuildDataDeclaration() {
102044
102006
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_3__.emptyDataDeclarationCollection;
102045
102007
  }
102046
- buildChildrenDataDeclaration(context) {
102008
+ buildChildrenDataDeclaration() {
102047
102009
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_3__.emptyDataDeclarationCollection;
102048
102010
  }
102049
102011
  *doTraverseChildren() {
@@ -102053,7 +102015,7 @@ class DateViewConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__
102053
102015
  const node = this.getCurrentNodeAs(_DateViewNode__WEBPACK_IMPORTED_MODULE_5__.DateViewNode);
102054
102016
  return [node.getFullPath()];
102055
102017
  }
102056
- doConvert(context) {
102018
+ doConvert() {
102057
102019
  const node = this.getCurrentNodeAs(_DateViewNode__WEBPACK_IMPORTED_MODULE_5__.DateViewNode);
102058
102020
  const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("DateView");
102059
102021
  markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_0__.getNewBindingPathExpression)(node));
@@ -102159,7 +102121,7 @@ class FIOConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__.Suga
102159
102121
  static getAcceptNodeClass() {
102160
102122
  return _FIONode__WEBPACK_IMPORTED_MODULE_7__.FIONode;
102161
102123
  }
102162
- doConvert(context) {
102124
+ doConvert() {
102163
102125
  var _node$quotes$, _node$quotes, _node$quotes$2, _node$quotes2;
102164
102126
  const node = this.getCurrentNodeAs(_FIONode__WEBPACK_IMPORTED_MODULE_7__.FIONode);
102165
102127
  const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__.componentMarkupBuilder)("FIO");
@@ -102503,7 +102465,7 @@ class LinetextConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__
102503
102465
  static getAcceptNodeClass() {
102504
102466
  return _LineTextNode__WEBPACK_IMPORTED_MODULE_3__.LineTextNode;
102505
102467
  }
102506
- doBuildNodeValidations(validationGenerator) {
102468
+ doBuildNodeValidations() {
102507
102469
  // no validations
102508
102470
  }
102509
102471
  doBuildDataDeclaration(context) {
@@ -103045,13 +103007,13 @@ class ValueLengthConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_
103045
103007
  const node = this.getCurrentNodeAs(_ValueLengthNode__WEBPACK_IMPORTED_MODULE_4__.ValueLengthNode);
103046
103008
  return context.mergeDataDeclaration(context.addVisibilityPathDeclEntryNew(node));
103047
103009
  }
103048
- buildChildrenDataDeclaration(context) {
103010
+ buildChildrenDataDeclaration() {
103049
103011
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
103050
103012
  }
103051
103013
  *doTraverseChildren() {
103052
103014
  // no children
103053
103015
  }
103054
- doConvert(context) {
103016
+ doConvert() {
103055
103017
  const node = this.getCurrentNodeAs(_ValueLengthNode__WEBPACK_IMPORTED_MODULE_4__.ValueLengthNode);
103056
103018
  const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("ValueLength");
103057
103019
  markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_3__.getNewBindingPathExpression)(node));
@@ -104434,7 +104396,7 @@ class AttributeValueSource {
104434
104396
  this.attrName = attrName;
104435
104397
  this.valueParser = valueParser;
104436
104398
  }
104437
- extractValue(sugarXmlNode, serializer, tracer) {
104399
+ extractValue(sugarXmlNode, _serializer, tracer) {
104438
104400
  try {
104439
104401
  const attributeNodes = sugarXmlNode.getChildren().filter(x => _SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.SugarSerializer.isAttributeValueNode(x, sugarXmlNode)).filter(x => _SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.SugarSerializer.getAttributeNameFromValueNode(x, sugarXmlNode) === this.attrName.toLowerCase());
104440
104402
  const getAttributeValueFromSingleChildNodeWithoutMarkup = childNode => {
@@ -104758,7 +104720,7 @@ class SugarNodeMetadata extends PropertiesContainerMetadataBase {
104758
104720
  }
104759
104721
  return false;
104760
104722
  }
104761
- fillFromSugarXmlNode(targetNode, sourceXmlNode, serializer, tracer) {
104723
+ fillFromSugarXmlNode(targetNode, sourceXmlNode, serializer) {
104762
104724
  const usedAttributes = new Set();
104763
104725
  const usedChildren = new Set();
104764
104726
  const usedChildElementsTracer = childElement => {
@@ -104961,7 +104923,7 @@ function sugarNode(nodeName, description, docFilesContext, canDeserialize) {
104961
104923
  (0,_ClassMetadataAccess__WEBPACK_IMPORTED_MODULE_4__.setSugarNodeMetadata)(target, sugarNodeMetadata);
104962
104924
  };
104963
104925
  }
104964
- function attrMixinNode(description, docFilesLocation) {
104926
+ function attrMixinNode() {
104965
104927
  return target => {
104966
104928
  const sugarNodeMetadata = new _SugarNodeMetadata__WEBPACK_IMPORTED_MODULE_22__.SugarAttributesMixinMetadata();
104967
104929
  for (const propertyDeserializer of (0,_ClassMetadataAccess__WEBPACK_IMPORTED_MODULE_4__.getPropertyDeserializers)(target)) {
@@ -105279,7 +105241,7 @@ class SugarNodeConverterBase {
105279
105241
  buildSugarAutoCalculations() {
105280
105242
  return Iterator.from([]);
105281
105243
  }
105282
- buildLazyLoadingDeclaration(schemaRng) {
105244
+ buildLazyLoadingDeclaration() {
105283
105245
  return [];
105284
105246
  }
105285
105247
  getParentStrictAs(nodeClass) {
@@ -105369,7 +105331,7 @@ class SugarNodeConverterBase {
105369
105331
  this.doBuildNodeValidations(validationGenerator, context);
105370
105332
  this.buildChildrenValidations(validationGenerator, context);
105371
105333
  }
105372
- *getAttachmentPaths(context) {
105334
+ *getAttachmentPaths(_context) {
105373
105335
  // no paths by default
105374
105336
  }
105375
105337
  *getAttachmentPathsWithGfvs() {
@@ -105390,7 +105352,7 @@ class SugarNodeConverterBase {
105390
105352
  }
105391
105353
  return result;
105392
105354
  }
105393
- doBuildNodeValidations(validationGenerator, context) {
105355
+ doBuildNodeValidations(_, __) {
105394
105356
  // noop
105395
105357
  }
105396
105358
  getResolvedBindingPath(node) {
@@ -105447,7 +105409,7 @@ class SugarNodeConverterBase {
105447
105409
  }
105448
105410
  }
105449
105411
  }
105450
- doBuildNormalizeRules(builder, formSchemaRng) {
105412
+ doBuildNormalizeRules(_, __) {
105451
105413
  return [];
105452
105414
  }
105453
105415
  getNodeAs(nodeClass, sourceXmlNode) {
@@ -105512,7 +105474,7 @@ class SugarNodeConverterBase {
105512
105474
  processFocusManagementAttributes(converterResult) {
105513
105475
  return _FocusManagementProcessor__WEBPACK_IMPORTED_MODULE_17__.FocusManagementProcessor.processFocusManagementAttributes(this.node, converterResult);
105514
105476
  }
105515
- doBuildKCLangValidations(buildContext, formSchemaRng) {
105477
+ doBuildKCLangValidations(_buildContext, _formSchemaRng) {
105516
105478
  return [];
105517
105479
  }
105518
105480
  }
@@ -106225,10 +106187,10 @@ class ControlCustomizationContext {
106225
106187
  }
106226
106188
  }
106227
106189
  class EmptyControlCustomizationContext {
106228
- tryGetCustomRegularControl(controlName) {
106190
+ tryGetCustomRegularControl() {
106229
106191
  return undefined;
106230
106192
  }
106231
- getControlCustomizationInfo(multiline1, overrideControl) {
106193
+ getControlCustomizationInfo() {
106232
106194
  throw new Error("");
106233
106195
  }
106234
106196
  }
@@ -106860,7 +106822,7 @@ class AttachmentsValueValidatorGenerator extends _TypeBasedValidatorGenerator__W
106860
106822
  static acceptNode(node) {
106861
106823
  return node instanceof _Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.AttachmentsTypeCheckNode;
106862
106824
  }
106863
- static createFromNode(node) {
106825
+ static createFromNode() {
106864
106826
  return new AttachmentsValueValidatorGenerator();
106865
106827
  }
106866
106828
  acceptNodeForGroup(node) {
@@ -106923,7 +106885,7 @@ class CustomValidationValueValidatorGenerator extends _TypeBasedValidatorGenerat
106923
106885
  acceptNodeForGroup(node) {
106924
106886
  return node instanceof _Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.CustomValidationTypeCheckNode && node.value === this.name;
106925
106887
  }
106926
- generatorValidator(typeNode, gId, customValidations) {
106888
+ generatorValidator(typeNode, _gId, customValidations) {
106927
106889
  var _customValidations$cu, _customValidationNode, _customValidationNode2;
106928
106890
  const customValidationNode = typeNode.getValidations(_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.CustomValidationTypeCheckNode).find(x => x.value === this.name);
106929
106891
  if (customValidationNode == undefined || customValidations == undefined) {