@kontur.candy/generator 5.93.0-aggregation-query.5 → 5.93.0-aggregation-query.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 +425 -407
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -45917,7 +45917,7 @@ __webpack_require__.r(__webpack_exports__);
45917
45917
  /* harmony export */ });
45918
45918
  const contextualActions = ["userPicklist.AddToReference", "referencedfields.ClearFields", "referencedfields.SwitchToManual", "referencedfields.SwitchToReferenced", "referencedfields.SelectFromReference", "modalInstanceUnit.Open", "modalInstanceUnit.Close"];
45919
45919
  function isValidContextualActionName(value) {
45920
- return contextualActions.some(x => value);
45920
+ return contextualActions.some(() => value);
45921
45921
  }
45922
45922
  function isContextualActionName(handlerName) {
45923
45923
  return handlerName.includes(".");
@@ -45981,7 +45981,7 @@ function getRngSchemaFileExtension(formSchemasDirPath, gfv) {
45981
45981
  return ".rng.xml";
45982
45982
  }
45983
45983
  return `.${maxSubversion}.rng.xml`;
45984
- } catch (e) {
45984
+ } catch {
45985
45985
  // eslint-disable-next-line no-console
45986
45986
  console.log(`Folder does not exist. ${formSchemasDirPath}`);
45987
45987
  return ".rng.xml";
@@ -46360,7 +46360,7 @@ __webpack_require__.r(__webpack_exports__);
46360
46360
  /* harmony export */ KCLangRuntimeUtils: () => (/* binding */ KCLangRuntimeUtils)
46361
46361
  /* harmony export */ });
46362
46362
  /* harmony import */ var big_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! big.js */ "./node_modules/big.js/big.mjs");
46363
- /* harmony import */ var _Engine_src_Engine_ValidationHelper__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Engine/src/Engine/ValidationHelper */ "./Engine/src/Engine/ValidationHelper.ts");
46363
+ /* harmony import */ var _Engine_src_Engine_ValidationHelper_ValidationHelper__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Engine/src/Engine/ValidationHelper/ValidationHelper */ "./Engine/src/Engine/ValidationHelper/ValidationHelper.ts");
46364
46364
  /* harmony import */ var _Engine_src_Helpers_AutocalcCommonFunctions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Engine/src/Helpers/AutocalcCommonFunctions */ "./Engine/src/Helpers/AutocalcCommonFunctions.ts");
46365
46365
  /* harmony import */ var _Engine_src_Helpers_DateHelpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Engine/src/Helpers/DateHelpers */ "./Engine/src/Helpers/DateHelpers.ts");
46366
46366
  /* harmony import */ var _TypingUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./TypingUtils */ "./Common/TypingUtils.ts");
@@ -46519,7 +46519,7 @@ class KCLangRuntimeUtils {
46519
46519
  if ((0,_TypingUtils__WEBPACK_IMPORTED_MODULE_4__.isNullOrWhiteSpace)(normalizedSnils)) {
46520
46520
  return false;
46521
46521
  }
46522
- const result = _Engine_src_Engine_ValidationHelper__WEBPACK_IMPORTED_MODULE_1__.ValidationHelper.isSnils(normalizedSnils);
46522
+ const result = _Engine_src_Engine_ValidationHelper_ValidationHelper__WEBPACK_IMPORTED_MODULE_1__.ValidationHelper.isSnils(normalizedSnils);
46523
46523
  return result;
46524
46524
  }
46525
46525
  isRegNumSfr(valueSelector, path) {
@@ -46531,7 +46531,7 @@ class KCLangRuntimeUtils {
46531
46531
  if ((0,_TypingUtils__WEBPACK_IMPORTED_MODULE_4__.isNullOrWhiteSpace)(normalizedRegNum)) {
46532
46532
  return false;
46533
46533
  }
46534
- const result = _Engine_src_Engine_ValidationHelper__WEBPACK_IMPORTED_MODULE_1__.ValidationHelper.isRegNumSfr(normalizedRegNum);
46534
+ const result = _Engine_src_Engine_ValidationHelper_ValidationHelper__WEBPACK_IMPORTED_MODULE_1__.ValidationHelper.isRegNumSfr(normalizedRegNum);
46535
46535
  return result;
46536
46536
  }
46537
46537
  isInn(valueSelector, path) {
@@ -46543,7 +46543,7 @@ class KCLangRuntimeUtils {
46543
46543
  if ((0,_TypingUtils__WEBPACK_IMPORTED_MODULE_4__.isNullOrWhiteSpace)(normalizedSnils)) {
46544
46544
  return false;
46545
46545
  }
46546
- const result = _Engine_src_Engine_ValidationHelper__WEBPACK_IMPORTED_MODULE_1__.ValidationHelper.isInn(normalizedSnils);
46546
+ const result = _Engine_src_Engine_ValidationHelper_ValidationHelper__WEBPACK_IMPORTED_MODULE_1__.ValidationHelper.isInn(normalizedSnils);
46547
46547
  return result;
46548
46548
  }
46549
46549
  isOgrn(valueSelector, path) {
@@ -46555,7 +46555,7 @@ class KCLangRuntimeUtils {
46555
46555
  if ((0,_TypingUtils__WEBPACK_IMPORTED_MODULE_4__.isNullOrWhiteSpace)(normalizedOgrn)) {
46556
46556
  return false;
46557
46557
  }
46558
- const result = _Engine_src_Engine_ValidationHelper__WEBPACK_IMPORTED_MODULE_1__.ValidationHelper.isOgrn(normalizedOgrn);
46558
+ const result = _Engine_src_Engine_ValidationHelper_ValidationHelper__WEBPACK_IMPORTED_MODULE_1__.ValidationHelper.isOgrn(normalizedOgrn);
46559
46559
  return result;
46560
46560
  }
46561
46561
  isValidAccountNumber(valueSelector, bik, account) {
@@ -46567,7 +46567,7 @@ class KCLangRuntimeUtils {
46567
46567
  if ((0,_TypingUtils__WEBPACK_IMPORTED_MODULE_4__.isNullOrWhiteSpace)(bikValue) || (0,_TypingUtils__WEBPACK_IMPORTED_MODULE_4__.isNullOrWhiteSpace)(accountValue)) {
46568
46568
  return false;
46569
46569
  }
46570
- const result = _Engine_src_Engine_ValidationHelper__WEBPACK_IMPORTED_MODULE_1__.ValidationHelper.isValidAccountNumber(bikValue, accountValue);
46570
+ const result = _Engine_src_Engine_ValidationHelper_ValidationHelper__WEBPACK_IMPORTED_MODULE_1__.ValidationHelper.isValidAccountNumber(bikValue, accountValue);
46571
46571
  return result;
46572
46572
  }
46573
46573
  isValidMirCardNumber(valueSelector, path) {
@@ -46578,7 +46578,7 @@ class KCLangRuntimeUtils {
46578
46578
  if ((0,_TypingUtils__WEBPACK_IMPORTED_MODULE_4__.isNullOrWhiteSpace)(value)) {
46579
46579
  return false;
46580
46580
  }
46581
- const result = _Engine_src_Engine_ValidationHelper__WEBPACK_IMPORTED_MODULE_1__.ValidationHelper.isValidMirCardNumber(value);
46581
+ const result = _Engine_src_Engine_ValidationHelper_ValidationHelper__WEBPACK_IMPORTED_MODULE_1__.ValidationHelper.isValidMirCardNumber(value);
46582
46582
  return result;
46583
46583
  }
46584
46584
  convertToDecimal(argument) {
@@ -46833,7 +46833,7 @@ class Map2 {
46833
46833
  this.setOrUpdate(key, () => value, () => value);
46834
46834
  }
46835
46835
  getOrSet(key, defaultValueFactory) {
46836
- return this.setOrUpdate(key, defaultValueFactory, (k, v) => v);
46836
+ return this.setOrUpdate(key, defaultValueFactory, (_, v) => v);
46837
46837
  }
46838
46838
  get(key) {
46839
46839
  var _this$getEntryOrUndef;
@@ -46846,7 +46846,7 @@ class Map2 {
46846
46846
  const hash = this.getKeyHash(key);
46847
46847
  const list = this.hashMap.get(hash);
46848
46848
  if (list != undefined) {
46849
- const removingEntry = Iterator.from(_IterableUtils__WEBPACK_IMPORTED_MODULE_1__.IterUtils.iterateEntries(list)).find(([index, [itemKey, itemValue]]) => this.areKeyEqual(itemKey, key));
46849
+ const removingEntry = Iterator.from(_IterableUtils__WEBPACK_IMPORTED_MODULE_1__.IterUtils.iterateEntries(list)).find(([_, [itemKey]]) => this.areKeyEqual(itemKey, key));
46850
46850
  if (removingEntry != undefined) {
46851
46851
  list.splice(removingEntry[0], 1);
46852
46852
  return true;
@@ -47496,7 +47496,6 @@ __webpack_require__.r(__webpack_exports__);
47496
47496
  /* harmony export */ getMask: () => (/* binding */ getMask),
47497
47497
  /* harmony export */ getMaskWithInstances: () => (/* binding */ getMaskWithInstances),
47498
47498
  /* harmony export */ isAggregationPath: () => (/* binding */ isAggregationPath),
47499
- /* harmony export */ isParentOf: () => (/* binding */ isParentOf),
47500
47499
  /* harmony export */ replaceInstancesWithMultiplicity: () => (/* binding */ replaceInstancesWithMultiplicity)
47501
47500
  /* harmony export */ });
47502
47501
  /* harmony import */ var _PathConstants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../PathConstants */ "./Common/PathConstants.ts");
@@ -47535,19 +47534,6 @@ function replaceInstancesWithMultiplicity(path, replaceToken = _ModelPath__WEBPA
47535
47534
  function checkIsReservedPath(path) {
47536
47535
  return _PathConstants__WEBPACK_IMPORTED_MODULE_0__.reservedForTechnicalUsageFields.some(field => path.endsWith((0,_ModelPath__WEBPACK_IMPORTED_MODULE_1__.createModelPath)(field, false)));
47537
47536
  }
47538
- function isParentOf(parent, childPath) {
47539
- const parentPathParts = [...parent.getPathParts()];
47540
- const childPathParts = [...childPath.getPathParts()];
47541
- if (parentPathParts.length >= childPathParts.length) {
47542
- return false;
47543
- }
47544
- for (let i = 0; i < parentPathParts.length; i++) {
47545
- if (parentPathParts[i] !== childPathParts[i]) {
47546
- return false;
47547
- }
47548
- }
47549
- return true;
47550
- }
47551
47537
 
47552
47538
  /***/ }),
47553
47539
 
@@ -47766,6 +47752,7 @@ __webpack_require__.r(__webpack_exports__);
47766
47752
  /* harmony export */ OptionalElementsExistenceFieldName: () => (/* binding */ OptionalElementsExistenceFieldName),
47767
47753
  /* harmony export */ OptionalSectionFilledFieldName: () => (/* binding */ OptionalSectionFilledFieldName),
47768
47754
  /* harmony export */ TruthyTechnicalFieldValue: () => (/* binding */ TruthyTechnicalFieldValue),
47755
+ /* harmony export */ UnitItemExtraInfoPath: () => (/* binding */ UnitItemExtraInfoPath),
47769
47756
  /* harmony export */ UnitLabelPath: () => (/* binding */ UnitLabelPath),
47770
47757
  /* harmony export */ reservedForTechnicalUsageFields: () => (/* binding */ reservedForTechnicalUsageFields)
47771
47758
  /* harmony export */ });
@@ -47773,6 +47760,7 @@ __webpack_require__.r(__webpack_exports__);
47773
47760
 
47774
47761
  const UnitLabelPath = (0,_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.createRelativeResolvedModelPath)("label");
47775
47762
  const AttachmentInfoPath = (0,_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.createRelativeResolvedModelPath)("attachment");
47763
+ const UnitItemExtraInfoPath = (0,_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.createRelativeResolvedModelPath)("unitextrainfo");
47776
47764
  const TruthyTechnicalFieldValue = "1";
47777
47765
  const FalsyTechnicalFieldValue = null;
47778
47766
  const OptionalSectionFilledFieldName = "isFilledOptional";
@@ -47901,7 +47889,7 @@ function ensureArrayLengthGreaterThenOrEqual(items, length) {
47901
47889
  throw new Error(`Array must have minimal length ${length}`);
47902
47890
  }
47903
47891
  }
47904
- function ensureNever(neverArgument) {
47892
+ function ensureNever(_neverArgument) {
47905
47893
  // noop
47906
47894
  }
47907
47895
  function ensureAndGetString(neverArgument) {
@@ -47923,7 +47911,7 @@ function isNullOrWhiteSpace(input) {
47923
47911
  function trimLastSlash(url) {
47924
47912
  return url.slice(-1) === "/" ? url.slice(0, -1) : url;
47925
47913
  }
47926
- function assertIs(value) {
47914
+ function assertIs(_) {
47927
47915
  // noop
47928
47916
  }
47929
47917
 
@@ -49017,10 +49005,10 @@ class PathUtils {
49017
49005
 
49018
49006
  /***/ }),
49019
49007
 
49020
- /***/ "./Engine/src/Engine/ValidationHelper.ts":
49021
- /*!***********************************************!*\
49022
- !*** ./Engine/src/Engine/ValidationHelper.ts ***!
49023
- \***********************************************/
49008
+ /***/ "./Engine/src/Engine/ValidationHelper/ValidationHelper.ts":
49009
+ /*!****************************************************************!*\
49010
+ !*** ./Engine/src/Engine/ValidationHelper/ValidationHelper.ts ***!
49011
+ \****************************************************************/
49024
49012
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
49025
49013
 
49026
49014
  "use strict";
@@ -49028,7 +49016,7 @@ __webpack_require__.r(__webpack_exports__);
49028
49016
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
49029
49017
  /* harmony export */ ValidationHelper: () => (/* binding */ ValidationHelper)
49030
49018
  /* harmony export */ });
49031
- /* harmony import */ var _Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../Common/TypingUtils */ "./Common/TypingUtils.ts");
49019
+ /* harmony import */ var _Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../Common/TypingUtils */ "./Common/TypingUtils.ts");
49032
49020
 
49033
49021
  class ValidationHelper {
49034
49022
  static isBlank(str) {
@@ -49409,7 +49397,7 @@ __webpack_require__.r(__webpack_exports__);
49409
49397
  /* harmony export */ parseDateString: () => (/* binding */ parseDateString),
49410
49398
  /* harmony export */ tryGetValidDateShape: () => (/* binding */ tryGetValidDateShape)
49411
49399
  /* harmony export */ });
49412
- /* harmony import */ var _Engine_ValidationHelper__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Engine/ValidationHelper */ "./Engine/src/Engine/ValidationHelper.ts");
49400
+ /* harmony import */ var _Engine_ValidationHelper_ValidationHelper__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Engine/ValidationHelper/ValidationHelper */ "./Engine/src/Engine/ValidationHelper/ValidationHelper.ts");
49413
49401
  /* harmony import */ var _Common_TypingUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../Common/TypingUtils */ "./Common/TypingUtils.ts");
49414
49402
 
49415
49403
 
@@ -49548,7 +49536,7 @@ function convertDate(dateValue) {
49548
49536
  return dateValue;
49549
49537
  }
49550
49538
  // dd.MM.yyyy
49551
- if (_Engine_ValidationHelper__WEBPACK_IMPORTED_MODULE_0__.ValidationHelper.isDateFormat(dateValue)) {
49539
+ if (_Engine_ValidationHelper_ValidationHelper__WEBPACK_IMPORTED_MODULE_0__.ValidationHelper.isDateFormat(dateValue)) {
49552
49540
  var _v$, _v$2, _v$3;
49553
49541
  const v = dateValue.split(".");
49554
49542
  const d = parseInt((_v$ = v[0]) !== null && _v$ !== void 0 ? _v$ : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_1__.reject)(), 10);
@@ -49558,7 +49546,7 @@ function convertDate(dateValue) {
49558
49546
  }
49559
49547
 
49560
49548
  // yyyy-MM-dd
49561
- if (_Engine_ValidationHelper__WEBPACK_IMPORTED_MODULE_0__.ValidationHelper.isDateFormatIso(dateValue)) {
49549
+ if (_Engine_ValidationHelper_ValidationHelper__WEBPACK_IMPORTED_MODULE_0__.ValidationHelper.isDateFormatIso(dateValue)) {
49562
49550
  return new Date(dateValue);
49563
49551
  }
49564
49552
  return null;
@@ -49653,7 +49641,7 @@ class CompileFilterExpressionTransduceVisitor extends FilterExpressionTransduceV
49653
49641
  return condition.value;
49654
49642
  }
49655
49643
  transformByInstancesExpression(expression) {
49656
- return (getModelValuesFn, getInstanceFn) => {
49644
+ return (_, getInstanceFn) => {
49657
49645
  const instance = getInstanceFn(expression.condition.dataPath);
49658
49646
  return expression.condition.instances.some(x => x === instance);
49659
49647
  };
@@ -49961,7 +49949,8 @@ __webpack_require__.r(__webpack_exports__);
49961
49949
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
49962
49950
  /* harmony export */ safeCast: () => (/* binding */ safeCast),
49963
49951
  /* harmony export */ strictCast: () => (/* binding */ strictCast),
49964
- /* harmony export */ tryCast: () => (/* binding */ tryCast)
49952
+ /* harmony export */ tryCast: () => (/* binding */ tryCast),
49953
+ /* harmony export */ tryParseAttachmentUnitPaths: () => (/* binding */ tryParseAttachmentUnitPaths)
49965
49954
  /* harmony export */ });
49966
49955
  function tryCast(input, type) {
49967
49956
  if (input == undefined) {
@@ -49987,6 +49976,14 @@ function strictCast(input, type) {
49987
49976
  // @ts-ignore
49988
49977
  return result;
49989
49978
  }
49979
+ function tryParseAttachmentUnitPaths(input) {
49980
+ try {
49981
+ return JSON.parse(input);
49982
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
49983
+ } catch (e) {
49984
+ return input;
49985
+ }
49986
+ }
49990
49987
 
49991
49988
  /***/ }),
49992
49989
 
@@ -51490,7 +51487,7 @@ class KCLangAntlrVisitor {
51490
51487
  }
51491
51488
  return targetContext.accept(this);
51492
51489
  }
51493
- visitGlobalVariable(ctx) {
51490
+ visitGlobalVariable() {
51494
51491
  throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_1__.NotSupportedError("visitGlobalVariable not supported");
51495
51492
  }
51496
51493
 
@@ -51602,12 +51599,12 @@ class KCLangAntlrVisitor {
51602
51599
  body: ctx.body().accept(this)
51603
51600
  };
51604
51601
  }
51605
- visitElsePart(ctx) {
51602
+ visitElsePart() {
51606
51603
  throw Error("ElsePart not used");
51607
51604
  }
51608
51605
 
51609
51606
  // Expression
51610
- visitExpression(ctx) {
51607
+ visitExpression() {
51611
51608
  throw Error("visitExpression not used");
51612
51609
  }
51613
51610
  visitArray(ctx) {
@@ -51653,10 +51650,10 @@ class KCLangAntlrVisitor {
51653
51650
  }).flat()
51654
51651
  };
51655
51652
  }
51656
- visitVarName(ctx) {
51653
+ visitVarName() {
51657
51654
  throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_1__.NotSupportedError("visitVarName not supported");
51658
51655
  }
51659
- visitVarExpression(ctx) {
51656
+ visitVarExpression() {
51660
51657
  throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_1__.NotSupportedError("visitVarExpression not supported");
51661
51658
  }
51662
51659
  visitBrackets(ctx) {
@@ -51762,10 +51759,10 @@ class KCLangAntlrVisitor {
51762
51759
  }
51763
51760
 
51764
51761
  // Property
51765
- visitPropertyExpression(ctx) {
51762
+ visitPropertyExpression() {
51766
51763
  throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_1__.NotSupportedError("visitPropertyExpression not supported");
51767
51764
  }
51768
- visitPropertyVariable(ctx) {
51765
+ visitPropertyVariable() {
51769
51766
  throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_1__.NotSupportedError("visitPropertyVariable not supported");
51770
51767
  }
51771
51768
 
@@ -51993,19 +51990,19 @@ class KCLangAntlrVisitor {
51993
51990
  }
51994
51991
 
51995
51992
  // Other
51996
- visit(tree) {
51993
+ visit() {
51997
51994
  throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_1__.NotSupportedError("visit not supported");
51998
51995
  }
51999
- visitLocalVariable(ctx) {
51996
+ visitLocalVariable() {
52000
51997
  throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_1__.NotSupportedError("visitLocalVariable not supported");
52001
51998
  }
52002
- visitLabel(ctx) {
51999
+ visitLabel() {
52003
52000
  throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_1__.NotSupportedError("visitLabel is not supported");
52004
52001
  }
52005
- visitTerminal(node) {
52002
+ visitTerminal() {
52006
52003
  throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_1__.NotSupportedError("visitTerminal not supported");
52007
52004
  }
52008
- visitErrorNode(node) {
52005
+ visitErrorNode() {
52009
52006
  throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_1__.NotSupportedError("visitErrorNode not implemented");
52010
52007
  }
52011
52008
  visitChildren(node) {
@@ -59809,7 +59806,7 @@ class ErrorListener {
59809
59806
  get errorMessages() {
59810
59807
  return this.innerErrorMessages;
59811
59808
  }
59812
- syntaxError(recognizer, offendingSymbol, line, charPositionInLine, msg, e) {
59809
+ syntaxError(_, __, line, charPositionInLine, msg) {
59813
59810
  this.innerErrorMessages.push(`Parsing error at [${line}, ${charPositionInLine}]. Message: ${msg}`);
59814
59811
  }
59815
59812
  }
@@ -59848,11 +59845,9 @@ __webpack_require__.r(__webpack_exports__);
59848
59845
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
59849
59846
  /* harmony export */ BinaryExpression: () => (/* binding */ BinaryExpression)
59850
59847
  /* harmony export */ });
59851
- /* harmony import */ var _KCLangUtils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./KCLangUtils */ "./Generator/src/common/KCLang/CodeDom/KCLangUtils.ts");
59852
- /* harmony import */ var _KCLangExpression__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./KCLangExpression */ "./Generator/src/common/KCLang/CodeDom/KCLangExpression.ts");
59853
-
59848
+ /* harmony import */ var _KCLangExpression__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./KCLangExpression */ "./Generator/src/common/KCLang/CodeDom/KCLangExpression.ts");
59854
59849
 
59855
- class BinaryExpression extends _KCLangExpression__WEBPACK_IMPORTED_MODULE_1__.KCLangExpression {
59850
+ class BinaryExpression extends _KCLangExpression__WEBPACK_IMPORTED_MODULE_0__.KCLangExpression {
59856
59851
  constructor(left, right) {
59857
59852
  super();
59858
59853
  this.left = void 0;
@@ -59860,10 +59855,10 @@ class BinaryExpression extends _KCLangExpression__WEBPACK_IMPORTED_MODULE_1__.KC
59860
59855
  this.left = left;
59861
59856
  this.right = right;
59862
59857
  }
59863
- needAddBraces(child) {
59858
+ needAddBraces(_) {
59864
59859
  return true;
59865
59860
  }
59866
- toString(indentSize = _KCLangUtils__WEBPACK_IMPORTED_MODULE_0__.defaultIndentSize) {
59861
+ toString() {
59867
59862
  const leftExpr = this.needAddBraces(this.left) ? `(${this.left.toString()})` : this.left.toString();
59868
59863
  const rightExpr = this.needAddBraces(this.right) ? `(${this.right.toString()})` : this.right.toString();
59869
59864
  return `${leftExpr} ${this.operatorToString()} ${rightExpr}`;
@@ -59952,9 +59947,7 @@ __webpack_require__.r(__webpack_exports__);
59952
59947
  /* harmony export */ });
59953
59948
  /* harmony import */ var big_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! big.js */ "./node_modules/big.js/big.mjs");
59954
59949
  /* harmony import */ var _KCLangExpression__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./KCLangExpression */ "./Generator/src/common/KCLang/CodeDom/KCLangExpression.ts");
59955
- /* harmony import */ var _KCLangUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./KCLangUtils */ "./Generator/src/common/KCLang/CodeDom/KCLangUtils.ts");
59956
- /* harmony import */ var _KCLangType__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./KCLangType */ "./Generator/src/common/KCLang/CodeDom/KCLangType.ts");
59957
-
59950
+ /* harmony import */ var _KCLangType__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./KCLangType */ "./Generator/src/common/KCLang/CodeDom/KCLangType.ts");
59958
59951
 
59959
59952
 
59960
59953
 
@@ -59965,9 +59958,9 @@ class DecimalConstExpression extends _KCLangExpression__WEBPACK_IMPORTED_MODULE_
59965
59958
  this.value = (0,big_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value);
59966
59959
  }
59967
59960
  getType() {
59968
- return _KCLangType__WEBPACK_IMPORTED_MODULE_3__.DecimalType.default;
59961
+ return _KCLangType__WEBPACK_IMPORTED_MODULE_2__.DecimalType.default;
59969
59962
  }
59970
- toString(indentSize = _KCLangUtils__WEBPACK_IMPORTED_MODULE_2__.defaultIndentSize) {
59963
+ toString() {
59971
59964
  return this.value.toFixed();
59972
59965
  }
59973
59966
  }
@@ -59993,7 +59986,7 @@ class DescriptionText extends _KCLangBase__WEBPACK_IMPORTED_MODULE_0__.KCLangBas
59993
59986
  this.value = void 0;
59994
59987
  this.value = value;
59995
59988
  }
59996
- toString(indentSize) {
59989
+ toString() {
59997
59990
  return this.value;
59998
59991
  }
59999
59992
  }
@@ -60410,12 +60403,12 @@ __webpack_require__.r(__webpack_exports__);
60410
60403
 
60411
60404
 
60412
60405
  class PathElementFilter extends _KCLangBase__WEBPACK_IMPORTED_MODULE_2__.KCLangBase {
60413
- toString(indentSize) {
60406
+ toString(_indentSize) {
60414
60407
  return "";
60415
60408
  }
60416
60409
  }
60417
60410
  class PathElementCollation extends _KCLangBase__WEBPACK_IMPORTED_MODULE_2__.KCLangBase {
60418
- toString(indentSize) {
60411
+ toString(_indentSize) {
60419
60412
  return "";
60420
60413
  }
60421
60414
  }
@@ -60494,7 +60487,7 @@ class KCLangRawStringExpression extends _KCLangExpression__WEBPACK_IMPORTED_MODU
60494
60487
  getType() {
60495
60488
  return this.result;
60496
60489
  }
60497
- toString(indentSize) {
60490
+ toString() {
60498
60491
  return `${this.value}`;
60499
60492
  }
60500
60493
  }
@@ -60938,8 +60931,6 @@ __webpack_require__.r(__webpack_exports__);
60938
60931
  /* harmony export */ });
60939
60932
  /* harmony import */ var _KCLangExpression__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./KCLangExpression */ "./Generator/src/common/KCLang/CodeDom/KCLangExpression.ts");
60940
60933
  /* harmony import */ var _KCLangType__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./KCLangType */ "./Generator/src/common/KCLang/CodeDom/KCLangType.ts");
60941
- /* harmony import */ var _KCLangUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./KCLangUtils */ "./Generator/src/common/KCLang/CodeDom/KCLangUtils.ts");
60942
-
60943
60934
 
60944
60935
 
60945
60936
  class StringArrayConstExpression extends _KCLangExpression__WEBPACK_IMPORTED_MODULE_0__.KCLangExpression {
@@ -60951,7 +60942,7 @@ class StringArrayConstExpression extends _KCLangExpression__WEBPACK_IMPORTED_MOD
60951
60942
  getType() {
60952
60943
  return _KCLangType__WEBPACK_IMPORTED_MODULE_1__.StringArrayType.default;
60953
60944
  }
60954
- toString(indentSize = _KCLangUtils__WEBPACK_IMPORTED_MODULE_2__.defaultIndentSize) {
60945
+ toString() {
60955
60946
  return `[${this.values.map(x => x.toString()).join(", ")}]`;
60956
60947
  }
60957
60948
  }
@@ -60970,12 +60961,10 @@ __webpack_require__.r(__webpack_exports__);
60970
60961
  /* harmony export */ StringConstExpression: () => (/* binding */ StringConstExpression)
60971
60962
  /* harmony export */ });
60972
60963
  /* harmony import */ var _KCLangExpression__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./KCLangExpression */ "./Generator/src/common/KCLang/CodeDom/KCLangExpression.ts");
60973
- /* harmony import */ var _KCLangUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./KCLangUtils */ "./Generator/src/common/KCLang/CodeDom/KCLangUtils.ts");
60974
- /* harmony import */ var _KCLangType__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./KCLangType */ "./Generator/src/common/KCLang/CodeDom/KCLangType.ts");
60964
+ /* harmony import */ var _KCLangType__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./KCLangType */ "./Generator/src/common/KCLang/CodeDom/KCLangType.ts");
60975
60965
  var _StringConstExpression;
60976
60966
 
60977
60967
 
60978
-
60979
60968
  class StringConstExpression extends _KCLangExpression__WEBPACK_IMPORTED_MODULE_0__.KCLangExpression {
60980
60969
  constructor(value) {
60981
60970
  super();
@@ -60983,9 +60972,9 @@ class StringConstExpression extends _KCLangExpression__WEBPACK_IMPORTED_MODULE_0
60983
60972
  this.value = value;
60984
60973
  }
60985
60974
  getType() {
60986
- return _KCLangType__WEBPACK_IMPORTED_MODULE_2__.StringType.default;
60975
+ return _KCLangType__WEBPACK_IMPORTED_MODULE_1__.StringType.default;
60987
60976
  }
60988
- toString(indentSize = _KCLangUtils__WEBPACK_IMPORTED_MODULE_1__.defaultIndentSize) {
60977
+ toString() {
60989
60978
  return `"${this.value.toString().replace(/"/g, '\\"')}"`;
60990
60979
  }
60991
60980
  }
@@ -61295,178 +61284,178 @@ function traverseKCLangExpression(node, visitor) {
61295
61284
  }
61296
61285
  }
61297
61286
  class DefaultKCLangExpressionVisitor {
61298
- visitAbsKCLangNode(node) {
61287
+ visitAbsKCLangNode(_node) {
61299
61288
  // default empty implementation
61300
61289
  }
61301
- visitArrayKCLangNode(node) {
61290
+ visitArrayKCLangNode(_node) {
61302
61291
  // default empty implementation
61303
61292
  }
61304
- visitFirstOrDefaultKCLangNode(node) {
61293
+ visitFirstOrDefaultKCLangNode(_node) {
61305
61294
  // default empty implementation
61306
61295
  }
61307
- visitHashSetKCLangNode(node) {
61296
+ visitHashSetKCLangNode(_node) {
61308
61297
  // default empty implementation
61309
61298
  }
61310
- visitNoDepsKCLangNode(node) {
61299
+ visitNoDepsKCLangNode(_node) {
61311
61300
  // default empty implementation
61312
61301
  }
61313
- visitGetPicklistValuesKCLangNode(node) {
61302
+ visitGetPicklistValuesKCLangNode(_node) {
61314
61303
  // default empty implementation
61315
61304
  }
61316
- visitAndKCLangNode(node) {
61305
+ visitAndKCLangNode(_node) {
61317
61306
  // default empty implementation
61318
61307
  }
61319
- visitArgumentKCLangNode(node) {
61308
+ visitArgumentKCLangNode(_node) {
61320
61309
  // default empty implementation
61321
61310
  }
61322
- visitCastExpressionKCLangNode(node) {
61311
+ visitCastExpressionKCLangNode(_node) {
61323
61312
  // default empty implementation
61324
61313
  }
61325
- visitChooseKCLangNode(node) {
61314
+ visitChooseKCLangNode(_node) {
61326
61315
  // default empty implementation
61327
61316
  }
61328
- visitComparisonKCLangNode(node) {
61317
+ visitComparisonKCLangNode(_node) {
61329
61318
  // default empty implementation
61330
61319
  }
61331
- visitConstKCLangNode(node) {
61320
+ visitConstKCLangNode(_node) {
61332
61321
  // default empty implementation
61333
61322
  }
61334
- visitExistsKCLangNode(node) {
61323
+ visitExistsKCLangNode(_node) {
61335
61324
  // default empty implementation
61336
61325
  }
61337
- visitIsSnilsKCLangNode(node) {
61326
+ visitIsSnilsKCLangNode(_node) {
61338
61327
  // default empty implementation
61339
61328
  }
61340
- visitIsRegNumSfrKCLangNode(node) {
61329
+ visitIsRegNumSfrKCLangNode(_node) {
61341
61330
  // default empty implementation
61342
61331
  }
61343
- visitIsInnKCLangNode(node) {
61332
+ visitIsInnKCLangNode(_node) {
61344
61333
  // default empty implementation
61345
61334
  }
61346
- visitIsOgrnKCLangNode(node) {
61335
+ visitIsOgrnKCLangNode(_node) {
61347
61336
  // default empty implementation
61348
61337
  }
61349
- visitIsValidAccountNumberNode(node) {
61338
+ visitIsValidAccountNumberNode(_node) {
61350
61339
  // default empty implementation
61351
61340
  }
61352
- visitIsValidMirCardNumberNode(node) {
61341
+ visitIsValidMirCardNumberNode(_node) {
61353
61342
  // default empty implementation
61354
61343
  }
61355
- visitLengthKCLangNode(node) {
61344
+ visitLengthKCLangNode(_node) {
61356
61345
  // default empty implementation
61357
61346
  }
61358
- visitMinusKCLangNode(node) {
61347
+ visitMinusKCLangNode(_node) {
61359
61348
  // default empty implementation
61360
61349
  }
61361
- visitMultiplyKCLangNode(node) {
61350
+ visitMultiplyKCLangNode(_node) {
61362
61351
  // default empty implementation
61363
61352
  }
61364
- visitMultySumKCLangNode(node) {
61353
+ visitMultySumKCLangNode(_node) {
61365
61354
  // default empty implementation
61366
61355
  }
61367
- visitGroupSumKCLangNode(node) {
61356
+ visitGroupSumKCLangNode(_node) {
61368
61357
  // default empty implementation
61369
61358
  }
61370
- visitGroupCountKCLangNode(node) {
61359
+ visitGroupCountKCLangNode(_node) {
61371
61360
  // default empty implementation
61372
61361
  }
61373
- visitNotKCLangNode(node) {
61362
+ visitNotKCLangNode(_node) {
61374
61363
  // default empty implementation
61375
61364
  }
61376
- visitOneOfExpressionKCLangNode(node) {
61365
+ visitOneOfExpressionKCLangNode(_node) {
61377
61366
  // default empty implementation
61378
61367
  }
61379
- visitOrKCLangNode(node) {
61368
+ visitOrKCLangNode(_node) {
61380
61369
  // default empty implementation
61381
61370
  }
61382
- visitRegexMatchKCLangNode(node) {
61371
+ visitRegexMatchKCLangNode(_node) {
61383
61372
  // default empty implementation
61384
61373
  }
61385
- visitConcatKCLangNode(node) {
61374
+ visitConcatKCLangNode(_node) {
61386
61375
  // default empty implementation
61387
61376
  }
61388
- visitRoundKCLangNode(node) {
61377
+ visitRoundKCLangNode(_node) {
61389
61378
  // default empty implementation
61390
61379
  }
61391
- visitFloorKCLangNode(node) {
61380
+ visitFloorKCLangNode(_node) {
61392
61381
  // default empty implementation
61393
61382
  }
61394
- visitCountKCLangNode(node) {
61383
+ visitCountKCLangNode(_node) {
61395
61384
  // default empty implementation
61396
61385
  }
61397
- visitInstanceCountKCLangNode(node) {
61386
+ visitInstanceCountKCLangNode(_node) {
61398
61387
  // default empty implementation
61399
61388
  }
61400
- visitIsEqualToAutoCalculatedKCLangNode(node) {
61389
+ visitIsEqualToAutoCalculatedKCLangNode(_node) {
61401
61390
  // default empty implementation
61402
61391
  }
61403
- visitSubstringKCLangNode(node) {
61392
+ visitSubstringKCLangNode(_node) {
61404
61393
  // default empty implementation
61405
61394
  }
61406
- visitSumKCLangNode(node) {
61395
+ visitSumKCLangNode(_node) {
61407
61396
  // default empty implementation
61408
61397
  }
61409
- visitXAbsKCLangNode(node) {
61398
+ visitXAbsKCLangNode(_node) {
61410
61399
  // default empty implementation
61411
61400
  }
61412
- visitNewLineKCLangNode(node) {
61401
+ visitNewLineKCLangNode(_node) {
61413
61402
  // default empty implementation
61414
61403
  }
61415
- visitDateNowKCLangNode(node) {
61404
+ visitDateNowKCLangNode(_node) {
61416
61405
  // default empty implementation
61417
61406
  }
61418
- visitGetDaysInMonthKCLangNode(node) {
61407
+ visitGetDaysInMonthKCLangNode(_node) {
61419
61408
  // default empty implementation
61420
61409
  }
61421
- visitGetDayKCLangNode(node) {
61410
+ visitGetDayKCLangNode(_node) {
61422
61411
  // default empty implementation
61423
61412
  }
61424
- visitGetMonthKCLangNode(node) {
61413
+ visitGetMonthKCLangNode(_node) {
61425
61414
  // default empty implementation
61426
61415
  }
61427
- visitGetYearKCLangNode(node) {
61416
+ visitGetYearKCLangNode(_node) {
61428
61417
  // default empty implementation
61429
61418
  }
61430
- visitIsDateKCLangNode(node) {
61419
+ visitIsDateKCLangNode(_node) {
61431
61420
  // default empty implementation
61432
61421
  }
61433
- visitDifferenceInMonthsKCLangNode(node) {
61422
+ visitDifferenceInMonthsKCLangNode(_node) {
61434
61423
  // default empty implementation
61435
61424
  }
61436
- visitDifferenceInDaysKCLangNode(node) {
61425
+ visitDifferenceInDaysKCLangNode(_node) {
61437
61426
  // default empty implementation
61438
61427
  }
61439
- visitAddDaysKCLangNode(node) {
61428
+ visitAddDaysKCLangNode(_node) {
61440
61429
  // default empty implementation
61441
61430
  }
61442
- visitAddMonthsKCLangNode(node) {
61431
+ visitAddMonthsKCLangNode(_node) {
61443
61432
  // default empty implementation
61444
61433
  }
61445
- visitAddYearsKCLangNode(node) {
61434
+ visitAddYearsKCLangNode(_node) {
61446
61435
  // default empty implementation
61447
61436
  }
61448
- visitDateToStringKCLangNode(node) {
61437
+ visitDateToStringKCLangNode(_node) {
61449
61438
  // default empty implementation
61450
61439
  }
61451
- visitDateTimeKCLangNode(node) {
61440
+ visitDateTimeKCLangNode(_node) {
61452
61441
  // default empty implementation
61453
61442
  }
61454
- visitSumOfDayWeightsKCLangNode(node) {
61443
+ visitSumOfDayWeightsKCLangNode(_node) {
61455
61444
  // default empty implementation
61456
61445
  }
61457
- visitHasAutoFlagKCLangNode(node) {
61446
+ visitHasAutoFlagKCLangNode(_node) {
61458
61447
  // default empty implementation
61459
61448
  }
61460
- visitGetSumByKeysKCLangNode(node) {
61449
+ visitGetSumByKeysKCLangNode(_node) {
61461
61450
  // default empty implementation
61462
61451
  }
61463
- visitMakeDictKCLangNode(node) {
61452
+ visitMakeDictKCLangNode(_node) {
61464
61453
  // default empty implementation
61465
61454
  }
61466
- visitJoinKCLangNode(node) {
61455
+ visitJoinKCLangNode(_node) {
61467
61456
  // default empty implementation
61468
61457
  }
61469
- visitGetPropertyByNameNode(node) {
61458
+ visitGetPropertyByNameNode(_node) {
61470
61459
  // default empty implementation
61471
61460
  }
61472
61461
  }
@@ -61780,7 +61769,7 @@ const getGenerateJsExpressionFunc = options => {
61780
61769
  }
61781
61770
  case "cast":
61782
61771
  {
61783
- const castFunc = innerExpr => {
61772
+ const castFunc = () => {
61784
61773
  switch (expression.targetType) {
61785
61774
  case "decimal":
61786
61775
  {
@@ -61801,7 +61790,7 @@ const getGenerateJsExpressionFunc = options => {
61801
61790
  throw new Error("Unreachable code error!");
61802
61791
  }
61803
61792
  };
61804
- return castFunc(expression.expression);
61793
+ return castFunc();
61805
61794
  }
61806
61795
  case "round":
61807
61796
  {
@@ -62050,7 +62039,7 @@ function isPathPrefix(contextBlock) {
62050
62039
  function isCondition(contextBlock) {
62051
62040
  return contextBlock.type === "Condition";
62052
62041
  }
62053
- function formatDescribeStatement(ast, matchPath, describe) {
62042
+ function formatDescribeStatement(describe) {
62054
62043
  return _KCLangDescriptionParser__WEBPACK_IMPORTED_MODULE_6__.KCLangDescriptionParser.parse(describe.text).map(item => {
62055
62044
  if (typeof item === "string") {
62056
62045
  return item;
@@ -62064,7 +62053,7 @@ function generateKCXmlFormula(ast, parents, describe) {
62064
62053
  throw new Error("Formulas cannot be a child of conditional statement");
62065
62054
  }
62066
62055
  const matchPath = joinPaths([...parents.filter(isPathPrefix).map(x => x.path)]);
62067
- const descriptionAttr = describe != undefined ? ` description="${escapeHtmlCharacters(formatDescribeStatement(ast, matchPath, describe))}"` : "";
62056
+ const descriptionAttr = describe != undefined ? ` description="${escapeHtmlCharacters(formatDescribeStatement(describe))}"` : "";
62068
62057
  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>`;
62069
62058
  }
62070
62059
  function removeTrailingSlash(inputStr) {
@@ -62247,7 +62236,7 @@ function generateKCXmlCondition(ast, parentContexts, describe) {
62247
62236
  var _ref, _inferConditionTarget;
62248
62237
  const matchPath = joinPaths([...parentContexts.filter(isPathPrefix).map(x => x.path)]);
62249
62238
  const levelAttr = ast.level === undefined ? "" : ` errorLevel="${(0,_StringUtils__WEBPACK_IMPORTED_MODULE_3__.capitalizeFirstLetter)(ast.level)}"`;
62250
- const descriptionAttr = describe != undefined ? ` description="${escapeHtmlCharacters(formatDescribeStatement(ast, matchPath, describe))}"` : "";
62239
+ const descriptionAttr = describe != undefined ? ` description="${escapeHtmlCharacters(formatDescribeStatement(describe))}"` : "";
62251
62240
  const guessedTarget = (_ref = (_inferConditionTarget = inferConditionTarget(ast, ast.target)) !== null && _inferConditionTarget !== void 0 ? _inferConditionTarget : ast.target) !== null && _ref !== void 0 ? _ref : guessConditionTarget(ast);
62252
62241
  const targetAttr = guessedTarget != undefined ? ` target="${guessedTarget}"` : "";
62253
62242
  const conditions = [];
@@ -63639,7 +63628,7 @@ __webpack_require__.r(__webpack_exports__);
63639
63628
  /* harmony import */ var _ExtractTextsFromSugar__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ExtractTextsFromSugar */ "./Generator/src/common/SugarExtractor/ExtractTextsFromSugar.ts");
63640
63629
 
63641
63630
 
63642
- async function getSugarTexts(formSourcesPath, farmDirectory, hlFarmDirectoryPath) {
63631
+ async function getSugarTexts(formSourcesPath, farmDirectory) {
63643
63632
  const sources = await (0,_generators_ReadFormSources__WEBPACK_IMPORTED_MODULE_0__.readFormSources)(formSourcesPath, farmDirectory);
63644
63633
  const extractor = new _ExtractTextsFromSugar__WEBPACK_IMPORTED_MODULE_1__.TextFromSugarExtractor(sources);
63645
63634
  extractor.extractSugarTextsFromSugarXml();
@@ -64463,7 +64452,7 @@ class EvaluateTemplateVisitor {
64463
64452
  try {
64464
64453
  (0,_XmlParser_XmlParser__WEBPACK_IMPORTED_MODULE_4__.parseXml)(value);
64465
64454
  return true;
64466
- } catch (e) {
64455
+ } catch {
64467
64456
  return false;
64468
64457
  }
64469
64458
  }
@@ -64766,7 +64755,7 @@ __webpack_require__.r(__webpack_exports__);
64766
64755
  function areEqualAttributesExpectWidth(nodes) {
64767
64756
  const attributesExpectWidth = nodes.map(x => x.attributes).map(x => {
64768
64757
  const {
64769
- width,
64758
+ width: _,
64770
64759
  ...restAttrs
64771
64760
  } = x;
64772
64761
  return restAttrs;
@@ -64894,7 +64883,7 @@ function modifyToGroupedColumns(normalizedCols, row, columnGrouping, rowIndex) {
64894
64883
  // eslint-disable-next-line @typescript-eslint/no-shadow
64895
64884
  ({
64896
64885
  attributes: {
64897
- colspan,
64886
+ colspan: _,
64898
64887
  ...restAttributes
64899
64888
  },
64900
64889
  children
@@ -67445,7 +67434,7 @@ class FormulaAutoCalculation {
67445
67434
  varDeclaration
67446
67435
  } = this.buildArgumentExtraction();
67447
67436
  const defaultValue = _babel_types__WEBPACK_IMPORTED_MODULE_1__.stringLiteral(this.defaultValue);
67448
- 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),
67437
+ 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),
67449
67438
  // Используется только result, а не resultExpression
67450
67439
  _babel_types__WEBPACK_IMPORTED_MODULE_1__.identifier("result")])));
67451
67440
  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);
@@ -67715,42 +67704,42 @@ class FormulaProcessor {
67715
67704
  const resultExpression = this.popExpressions(1)[0];
67716
67705
  return [...this.additionalAutocalculations, this.buildFormula(resultExpression)];
67717
67706
  }
67718
- beforeArgumentExpression(expression) {
67707
+ beforeArgumentExpression() {
67719
67708
  // noop
67720
67709
  }
67721
67710
  afterArgumentExpression(expression) {
67722
67711
  const argumentName = this.addDependency(expression.select, expression.type);
67723
67712
  this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.identifier(argumentName));
67724
67713
  }
67725
- beforeCountExpression(expression) {
67714
+ beforeCountExpression() {
67726
67715
  // noop
67727
67716
  }
67728
67717
  afterCountExpression(expression) {
67729
67718
  const argumentName = this.addDependency(expression.select);
67730
67719
  this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.identifier(argumentName));
67731
67720
  }
67732
- beforeInstanceCountExpression(expression) {
67721
+ beforeInstanceCountExpression() {
67733
67722
  // noop
67734
67723
  }
67735
67724
  afterInstanceCountExpression(expression) {
67736
67725
  const argumentName = this.addDependency(expression.select);
67737
67726
  this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.identifier(argumentName));
67738
67727
  }
67739
- beforeIsEqualToAutoCalculatedExpression(expression) {
67728
+ beforeIsEqualToAutoCalculatedExpression() {
67740
67729
  // noop
67741
67730
  }
67742
67731
  afterIsEqualToAutoCalculatedExpression(expression) {
67743
67732
  const argumentName = this.addDependency(expression.select);
67744
67733
  this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.identifier(argumentName));
67745
67734
  }
67746
- beforeMultySumExpression(expression) {
67735
+ beforeMultySumExpression() {
67747
67736
  // noop
67748
67737
  }
67749
67738
  afterMultySumExpression(expression) {
67750
67739
  const argumentName = this.addDependency(expression.select);
67751
67740
  this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.identifier(argumentName));
67752
67741
  }
67753
- beforeConstExpression(expression) {
67742
+ beforeConstExpression() {
67754
67743
  // noop
67755
67744
  }
67756
67745
  afterConstExpression(expression) {
@@ -67767,7 +67756,7 @@ class FormulaProcessor {
67767
67756
  throw new Error(`Const type '${type}' unsupported`);
67768
67757
  }
67769
67758
  }
67770
- beforeSubstringExpression(expression) {
67759
+ beforeSubstringExpression() {
67771
67760
  this.pushExpressions();
67772
67761
  }
67773
67762
  afterSubstringExpression(expression) {
@@ -67777,7 +67766,7 @@ class FormulaProcessor {
67777
67766
  }
67778
67767
  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)]));
67779
67768
  }
67780
- beforeCastExpression(expression) {
67769
+ beforeCastExpression() {
67781
67770
  this.pushExpressions();
67782
67771
  }
67783
67772
  afterCastExpression(expression) {
@@ -67797,25 +67786,25 @@ class FormulaProcessor {
67797
67786
  throw new Error(`Cast type '${expression.type}' unsupported`);
67798
67787
  }
67799
67788
  }
67800
- beforeDateNowExpression(expression) {
67789
+ beforeDateNowExpression() {
67801
67790
  // noop
67802
67791
  }
67803
- afterDateNowExpression(expression) {
67792
+ afterDateNowExpression() {
67804
67793
  const createDate = _babel_types__WEBPACK_IMPORTED_MODULE_0__.newExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.identifier("Date"), []);
67805
67794
  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")]);
67806
67795
  this.returnExpression(date);
67807
67796
  }
67808
- beforeGtExpression(expression) {
67797
+ beforeGtExpression() {
67809
67798
  this.pushExpressions();
67810
67799
  }
67811
- afterGtExpression(expression) {
67800
+ afterGtExpression() {
67812
67801
  const [leftExpression, rightExpression] = this.popExpressions(2);
67813
67802
  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]));
67814
67803
  }
67815
- beforeAndExpression(expression) {
67804
+ beforeAndExpression() {
67816
67805
  this.pushExpressions();
67817
67806
  }
67818
- afterAndExpression(expression) {
67807
+ afterAndExpression() {
67819
67808
  const [firstExpression, ...restExpressions] = this.popExpressions(1);
67820
67809
  let result = firstExpression;
67821
67810
  for (const child of restExpressions) {
@@ -67827,10 +67816,10 @@ class FormulaProcessor {
67827
67816
  }
67828
67817
  this.returnExpression(result);
67829
67818
  }
67830
- beforeOrExpression(expression) {
67819
+ beforeOrExpression() {
67831
67820
  this.pushExpressions();
67832
67821
  }
67833
- afterOrExpression(expression) {
67822
+ afterOrExpression() {
67834
67823
  const [firstExpression, ...restExpressions] = this.popExpressions(1);
67835
67824
  let result = firstExpression;
67836
67825
  for (const child of restExpressions) {
@@ -67842,38 +67831,38 @@ class FormulaProcessor {
67842
67831
  }
67843
67832
  this.returnExpression(result);
67844
67833
  }
67845
- beforeNotExpression(expression) {
67834
+ beforeNotExpression() {
67846
67835
  this.pushExpressions();
67847
67836
  }
67848
- afterNotExpression(expression) {
67837
+ afterNotExpression() {
67849
67838
  const [childExpression] = this.popExpressions(1);
67850
67839
  this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.unaryExpression("!", childExpression));
67851
67840
  }
67852
- beforeLtExpression(expression) {
67841
+ beforeLtExpression() {
67853
67842
  this.pushExpressions();
67854
67843
  }
67855
- afterLtExpression(expression) {
67844
+ afterLtExpression() {
67856
67845
  const [leftExpression, rightExpression] = this.popExpressions(2);
67857
67846
  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]));
67858
67847
  }
67859
- beforeGeExpression(expression) {
67848
+ beforeGeExpression() {
67860
67849
  this.pushExpressions();
67861
67850
  }
67862
- afterGeExpression(expression) {
67851
+ afterGeExpression() {
67863
67852
  const [leftExpression, rightExpression] = this.popExpressions(2);
67864
67853
  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]));
67865
67854
  }
67866
- beforeLeExpression(expression) {
67855
+ beforeLeExpression() {
67867
67856
  this.pushExpressions();
67868
67857
  }
67869
- afterLeExpression(expression) {
67858
+ afterLeExpression() {
67870
67859
  const [leftExpression, rightExpression] = this.popExpressions(2);
67871
67860
  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]));
67872
67861
  }
67873
- beforeEqExpression(expression) {
67862
+ beforeEqExpression() {
67874
67863
  this.pushExpressions();
67875
67864
  }
67876
- afterEqExpression(expression) {
67865
+ afterEqExpression() {
67877
67866
  const [leftExpression, rightExpression] = this.popExpressions(2);
67878
67867
  if (this.isStringExpression(leftExpression) && this.isStringExpression(rightExpression)) {
67879
67868
  this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.binaryExpression("===", leftExpression, rightExpression));
@@ -67881,17 +67870,17 @@ class FormulaProcessor {
67881
67870
  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]));
67882
67871
  }
67883
67872
  }
67884
- beforeChooseExpression(expression) {
67873
+ beforeChooseExpression() {
67885
67874
  this.pushExpressions();
67886
67875
  }
67887
- afterChooseExpression(expression) {
67876
+ afterChooseExpression() {
67888
67877
  const [ifExpression, thenExpression, elseExpression] = this.popExpressions(3);
67889
67878
  this.returnExpression(_babel_types__WEBPACK_IMPORTED_MODULE_0__.conditionalExpression(ifExpression, thenExpression, elseExpression));
67890
67879
  }
67891
- beforeSumExpression(expression) {
67880
+ beforeSumExpression() {
67892
67881
  this.pushExpressions();
67893
67882
  }
67894
- afterSumExpression(expression) {
67883
+ afterSumExpression() {
67895
67884
  const [firstExpression, ...restExpressions] = this.popExpressions(1);
67896
67885
  let result = firstExpression;
67897
67886
  for (const child of restExpressions) {
@@ -67903,7 +67892,7 @@ class FormulaProcessor {
67903
67892
  }
67904
67893
  this.returnExpression(result);
67905
67894
  }
67906
- beforeRoundExpression(expression) {
67895
+ beforeRoundExpression() {
67907
67896
  this.pushExpressions();
67908
67897
  }
67909
67898
  afterRoundExpression(expression) {
@@ -67913,27 +67902,27 @@ class FormulaProcessor {
67913
67902
  }
67914
67903
  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()))]));
67915
67904
  }
67916
- beforeFloorExpression(expression) {
67905
+ beforeFloorExpression() {
67917
67906
  this.pushExpressions();
67918
67907
  }
67919
- afterFloorExpression(expression) {
67908
+ afterFloorExpression() {
67920
67909
  const child = this.popExpressions(1);
67921
67910
  if (child.length !== 1) {
67922
67911
  throw new Error("Выражение floor должно содержать ровно одно подвыражение");
67923
67912
  }
67924
67913
  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")), []));
67925
67914
  }
67926
- beforeAbsExpression(expression) {
67915
+ beforeAbsExpression() {
67927
67916
  this.pushExpressions();
67928
67917
  }
67929
- afterAbsExpression(expression) {
67918
+ afterAbsExpression() {
67930
67919
  const child = this.popExpressions(1);
67931
67920
  if (child.length !== 1) {
67932
67921
  throw new Error("Выражение abs должно содержать ровно одно подвыражение");
67933
67922
  }
67934
67923
  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")), []));
67935
67924
  }
67936
- beforeDivisionExpression(expression) {
67925
+ beforeDivisionExpression() {
67937
67926
  this.pushExpressions();
67938
67927
  }
67939
67928
  afterDivisionExpression(expression) {
@@ -67946,20 +67935,20 @@ class FormulaProcessor {
67946
67935
  }
67947
67936
  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]]));
67948
67937
  }
67949
- beforeMinusExpression(expression) {
67938
+ beforeMinusExpression() {
67950
67939
  this.pushExpressions();
67951
67940
  }
67952
- afterMinusExpression(expression) {
67941
+ afterMinusExpression() {
67953
67942
  const child = this.popExpressions(1);
67954
67943
  if (child.length !== 1) {
67955
67944
  throw new Error("Выражение minus должно содержать ровно одно подвыражение");
67956
67945
  }
67957
67946
  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)]));
67958
67947
  }
67959
- beforeMultiplyExpression(expression) {
67948
+ beforeMultiplyExpression() {
67960
67949
  this.pushExpressions();
67961
67950
  }
67962
- afterMultiplyExpression(expression) {
67951
+ afterMultiplyExpression() {
67963
67952
  const [firstExpression, ...restExpressions] = this.popExpressions(1);
67964
67953
  let result = firstExpression;
67965
67954
  for (const child of restExpressions) {
@@ -67981,7 +67970,7 @@ class FormulaProcessor {
67981
67970
  var _this$findDependencyB;
67982
67971
  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";
67983
67972
  }
67984
- buildFormula(resultExpression, countFormula = false) {
67973
+ buildFormula(resultExpression) {
67985
67974
  const suffix = this.getLegacyExpressionTypeForFunctionName(this.formula.expression);
67986
67975
  const functionName = `${this.getNameByPath(`${this.formula.match}/${this.formula.target}`)}_${suffix}`;
67987
67976
  const targetPath = this.resolveFormulaPathToEnginePath(`${this.formula.match}/${this.formula.target}`);
@@ -68172,7 +68161,7 @@ class FormulasAutoCalculationsGenerator {
68172
68161
  try {
68173
68162
  const generator = new _FormulaProcessing_FormulaProcessor__WEBPACK_IMPORTED_MODULE_3__.FormulaProcessor(formula, schemaRng, dataDeclarationHelper);
68174
68163
  return generator.buildAutoCalculation();
68175
- } catch (e) {
68164
+ } catch {
68176
68165
  // eslint-disable-next-line no-console
68177
68166
  console.warn(chalk__WEBPACK_IMPORTED_MODULE_0___default().yellow(`[WARN] Can not generate autocalc for formula with target:`));
68178
68167
  // eslint-disable-next-line no-console
@@ -69938,7 +69927,7 @@ class DataDeclarationGenerationContext {
69938
69927
  processChildrenDataDeclaration(children, nodeProcessor) {
69939
69928
  const childrenDataDeclaration = [];
69940
69929
  for (const child of children) {
69941
- childrenDataDeclaration.push(this.buildNodeDataDeclaration(child, this.initSequenceFactory, nodeProcessor));
69930
+ childrenDataDeclaration.push(this.buildNodeDataDeclaration(child, nodeProcessor));
69942
69931
  }
69943
69932
  return this.mergeDataDeclaration(...childrenDataDeclaration);
69944
69933
  }
@@ -69978,7 +69967,6 @@ class DataDeclarationGenerationContext {
69978
69967
  };
69979
69968
  }
69980
69969
  addSpecialFieldsEntry(node, {
69981
- multiple,
69982
69970
  optional,
69983
69971
  disabled
69984
69972
  }) {
@@ -70092,7 +70080,7 @@ class DataDeclarationGenerationContext {
70092
70080
  sections.push(_Common_CommonConstants_SectionNames__WEBPACK_IMPORTED_MODULE_2__.SectionNames.defaultSection);
70093
70081
  return sections;
70094
70082
  }
70095
- buildNodeDataDeclaration(child, fieldNameToDeclInfo, nodeProcessor) {
70083
+ buildNodeDataDeclaration(child, nodeProcessor) {
70096
70084
  const controlConverterClass = (0,_markupGenerator_AllConverters__WEBPACK_IMPORTED_MODULE_6__.getConverterByNodeClass)((0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_9__.getNodeClass)(child));
70097
70085
  if (controlConverterClass == undefined) {
70098
70086
  if (child instanceof _markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_9__.UnknownSugarNode && child.name === "type") {
@@ -70102,7 +70090,7 @@ class DataDeclarationGenerationContext {
70102
70090
  const customControl = this.controlCustomizationContext.tryGetCustomRegularControl(child.name);
70103
70091
  if (customControl != undefined) {
70104
70092
  const hasBindingPath = customControl.properties.find(x => x.name === "path" && x.type === "bindingPath");
70105
- return hasBindingPath ? this.addCustomControlPathDeclEntry(child, customControl) : emptyDataDeclarationCollection;
70093
+ return hasBindingPath ? this.addCustomControlPathDeclEntry(child) : emptyDataDeclarationCollection;
70106
70094
  }
70107
70095
  }
70108
70096
  const result = nodeProcessor === null || nodeProcessor === void 0 ? void 0 : nodeProcessor(child);
@@ -70116,7 +70104,7 @@ class DataDeclarationGenerationContext {
70116
70104
  const converter = new controlConverterClass(child);
70117
70105
  return converter.buildDataDeclaration(this);
70118
70106
  }
70119
- addCustomControlPathDeclEntry(sugarNode, customControl) {
70107
+ addCustomControlPathDeclEntry(sugarNode) {
70120
70108
  const declEntry = {};
70121
70109
  declEntry["value"] = this.initSequenceFactory.dataValue(sugarNode, sugarNode.disabled);
70122
70110
  if (sugarNode.optional) {
@@ -70151,8 +70139,6 @@ __webpack_require__.r(__webpack_exports__);
70151
70139
  /* harmony import */ var _Common_TypingUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../Common/TypingUtils */ "./Common/TypingUtils.ts");
70152
70140
  /* harmony import */ var _Common_ModelPath_Set_Set2__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../Common/ModelPath/Set/Set2 */ "./Common/ModelPath/Set/Set2.ts");
70153
70141
  /* harmony import */ var _Common_PathConstants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../Common/PathConstants */ "./Common/PathConstants.ts");
70154
- /* harmony import */ var _Common_ModelPath_ModelPathHelper__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../Common/ModelPath/ModelPathHelper */ "./Common/ModelPath/ModelPathHelper.ts");
70155
-
70156
70142
 
70157
70143
 
70158
70144
 
@@ -70250,7 +70236,7 @@ class DataDeclarationGenerationTimeHelper {
70250
70236
  *getAllNestedPaths(nodePath) {
70251
70237
  for (const key of (0,_Common_IterableUtils__WEBPACK_IMPORTED_MODULE_0__.iterateKeys)(this.dataDeclaration)) {
70252
70238
  const path = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.createAbsoluteFromMask)(key, _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.PathTokens.each);
70253
- if ((0,_Common_ModelPath_ModelPathHelper__WEBPACK_IMPORTED_MODULE_6__.isParentOf)(nodePath, path)) {
70239
+ if (path.startsWith(nodePath)) {
70254
70240
  yield path;
70255
70241
  }
70256
70242
  }
@@ -70543,7 +70529,7 @@ __webpack_require__.r(__webpack_exports__);
70543
70529
 
70544
70530
 
70545
70531
 
70546
- function adjustPathMultiplicityComplex(path, formSchemaRng, dataDeclarationHelper) {
70532
+ function adjustPathMultiplicityComplex(path, dataDeclarationHelper) {
70547
70533
  const result = new _Common_ModelPath_ModelPathBuilder__WEBPACK_IMPORTED_MODULE_3__.ModelPathBuilder(true);
70548
70534
  for (const pathToken of path.getPathParts()) {
70549
70535
  if (_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.PathTokens.isMultiToken(pathToken)) {
@@ -70641,7 +70627,7 @@ function isFileExists(directoryPath) {
70641
70627
  try {
70642
70628
  const dirStat = (0,fs__WEBPACK_IMPORTED_MODULE_0__.statSync)(directoryPath);
70643
70629
  return dirStat.isFile();
70644
- } catch (ignoreError) {
70630
+ } catch {
70645
70631
  return false;
70646
70632
  }
70647
70633
  }
@@ -70935,7 +70921,7 @@ function buildSugarNodeDocumentation(sugarNodeClass) {
70935
70921
  children,
70936
70922
  singleChild,
70937
70923
  availableAnyChildren
70938
- } = buildAvailableChildrenInfo(propertySerializers, documentationFilesContext);
70924
+ } = buildAvailableChildrenInfo(propertySerializers);
70939
70925
  const imagesPromise = getPathImagesFromContext(documentationFilesContext);
70940
70926
  const images = {};
70941
70927
  // В соседней ветке переезжаю на nodejs22, надо бы тут убрать магию с промисом и заюзать нативный globSync в getPathImagesFromContext
@@ -70964,23 +70950,23 @@ function buildSugarNodeDocumentation(sugarNodeClass) {
70964
70950
  images: images
70965
70951
  };
70966
70952
  }
70967
- function buildAvailableChildrenInfo(propertySerializers, documentationFilesContext) {
70953
+ function buildAvailableChildrenInfo(propertySerializers) {
70968
70954
  if (propertySerializers.length === 0) {
70969
70955
  return {
70970
70956
  children: [],
70971
70957
  singleChild: []
70972
70958
  };
70973
70959
  }
70974
- const children = propertySerializers.map(x => buildAvailableChildrenDocs(x, documentationFilesContext)).flat();
70975
- const singleChild = propertySerializers.map(x => buildAvailableSingleChildDocs(x, documentationFilesContext)).flat();
70976
- const availableAnyChildren = propertySerializers.map(x => buildAvailableSugarChildrenDocs(x, documentationFilesContext)).some(x => x === true);
70960
+ const children = propertySerializers.map(x => buildAvailableChildrenDocs(x)).flat();
70961
+ const singleChild = propertySerializers.map(x => buildAvailableSingleChildDocs(x)).flat();
70962
+ const availableAnyChildren = propertySerializers.map(x => buildAvailableSugarChildrenDocs(x)).some(x => x === true);
70977
70963
  return {
70978
70964
  children: children,
70979
70965
  singleChild: singleChild,
70980
70966
  availableAnyChildren: availableAnyChildren
70981
70967
  };
70982
70968
  }
70983
- function buildAvailableChildrenDocs(propertyDeserializer, documentationFilesContext) {
70969
+ function buildAvailableChildrenDocs(propertyDeserializer) {
70984
70970
  if (!(propertyDeserializer instanceof _markupGenerator_Serializer_Properties_SinglePropertyDeserializer__WEBPACK_IMPORTED_MODULE_7__.SinglePropertyDeserializer)) {
70985
70971
  return [];
70986
70972
  }
@@ -70993,7 +70979,7 @@ function buildAvailableChildrenDocs(propertyDeserializer, documentationFilesCont
70993
70979
  }
70994
70980
  return [];
70995
70981
  }
70996
- function buildAvailableSugarChildrenDocs(propertyDeserializer, documentationFilesContext) {
70982
+ function buildAvailableSugarChildrenDocs(propertyDeserializer) {
70997
70983
  if (!(propertyDeserializer instanceof _markupGenerator_Serializer_Properties_SinglePropertyDeserializer__WEBPACK_IMPORTED_MODULE_7__.SinglePropertyDeserializer)) {
70998
70984
  return false;
70999
70985
  }
@@ -71002,7 +70988,7 @@ function buildAvailableSugarChildrenDocs(propertyDeserializer, documentationFile
71002
70988
  }
71003
70989
  return false;
71004
70990
  }
71005
- function buildAvailableSingleChildDocs(propertyDeserializer, documentationFilesContext) {
70991
+ function buildAvailableSingleChildDocs(propertyDeserializer) {
71006
70992
  if (!(propertyDeserializer instanceof _markupGenerator_Serializer_Properties_SinglePropertyDeserializer__WEBPACK_IMPORTED_MODULE_7__.SinglePropertyDeserializer)) {
71007
70993
  return [];
71008
70994
  }
@@ -71449,7 +71435,7 @@ async function isDirectoryExists(directoryPath) {
71449
71435
  try {
71450
71436
  const dirStat = await statAsync(directoryPath);
71451
71437
  return dirStat.isDirectory();
71452
- } catch (ignoreError) {
71438
+ } catch {
71453
71439
  return false;
71454
71440
  }
71455
71441
  }
@@ -71457,7 +71443,7 @@ function isDirectoryExistsSync(directoryPath) {
71457
71443
  try {
71458
71444
  const dirStat = fs__WEBPACK_IMPORTED_MODULE_0__.statSync(directoryPath);
71459
71445
  return dirStat.isDirectory();
71460
- } catch (ignoreError) {
71446
+ } catch {
71461
71447
  return false;
71462
71448
  }
71463
71449
  }
@@ -72613,7 +72599,7 @@ function processSugar(formSugarContent, additionalContent, generationOptions) {
72613
72599
  const lazyLoadGenerator = new _LazyLoadDeclarationGenerator_LazyLoadDeclarationGenerator__WEBPACK_IMPORTED_MODULE_30__.LazyLoadDeclarationGenerator(sugarRoot, formSchemaRng);
72614
72600
  const lazyLoadGeneratorResult = lazyLoadGenerator.generate();
72615
72601
  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");
72616
- const formulaExprConverter = new _ServerSideFLangNormalization_FormulaExpressionToFlangExpressionConverter__WEBPACK_IMPORTED_MODULE_35__.FormulaExpressionToFlangExpressionConverter(path => (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_36__.adjustPathMultiplicityComplex)(path, formSchemaRng, dataDeclarationHelper), {
72602
+ const formulaExprConverter = new _ServerSideFLangNormalization_FormulaExpressionToFlangExpressionConverter__WEBPACK_IMPORTED_MODULE_35__.FormulaExpressionToFlangExpressionConverter(path => (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_36__.adjustPathMultiplicityComplex)(path, dataDeclarationHelper), {
72617
72603
  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
72618
72604
  });
72619
72605
  const formulaRulesBuilder = new _ServerSideFLangNormalization_RuleBuilders_FormulaRulesBuilder__WEBPACK_IMPORTED_MODULE_37__.FormulaRulesBuilder(formSchemaRng, formulas, dataDeclarationHelper, formulaExprConverter, {
@@ -72622,7 +72608,7 @@ function processSugar(formSugarContent, additionalContent, generationOptions) {
72622
72608
  const initializationRulesBuilder = new _ServerSideFLangNormalization_RuleBuilders_InitializationRulesBuilder__WEBPACK_IMPORTED_MODULE_38__.InitializationRulesBuilder(sugarRoot, resourcesHash);
72623
72609
  const lazyLoadingRulesBuilder = new _ServerSideFLangNormalization_RuleBuilders_LazyLoadingRulesBuilder__WEBPACK_IMPORTED_MODULE_39__.LazyLoadingRulesBuilder(sugarRoot, lazyLoadGeneratorResult.declaration);
72624
72610
  const sugarRulesBuilder = new _ServerSideFLangNormalization_RuleBuilders_SugarRulesBuilder__WEBPACK_IMPORTED_MODULE_40__.SugarRulesBuilder(sugarRoot, formSchemaRng, controlCustomizationContext, fetchFunctions, dataDeclarationHelper, typeRegistry, useSchemaValidations);
72625
- const validationRulesBuilder = new _ServerSideFLangNormalization_RuleBuilders_ValidationRulesBuilder__WEBPACK_IMPORTED_MODULE_41__.ValidationRulesBuilder(dataDeclarationHelper, formSchemaRng, formulaExprConverter, kcXmlConditions);
72611
+ const validationRulesBuilder = new _ServerSideFLangNormalization_RuleBuilders_ValidationRulesBuilder__WEBPACK_IMPORTED_MODULE_41__.ValidationRulesBuilder(dataDeclarationHelper, formulaExprConverter, kcXmlConditions);
72626
72612
  const optionalSectionRuleBuilder = new _ServerSideFLangNormalization_RuleBuilders_OptionalSectionRulesBuilder__WEBPACK_IMPORTED_MODULE_34__.OptionalSectionRulesBuilder(sugarRoot, dataDeclarationHelper);
72627
72613
  const optionalElementsRulesBuilder = new _ServerSideFLangNormalization_RuleBuilders_OptionalElementsRulesBuilder__WEBPACK_IMPORTED_MODULE_52__.OptionalElementsRulesBuilder(formSchemaRng, dataDeclarationHelper);
72628
72614
  const optionalBlocksRulesBuilder = new _ServerSideFLangNormalization_RuleBuilders_OptionalBlocksRulesBuilder__WEBPACK_IMPORTED_MODULE_53__.OptionalBlocksRulesBuilder(dataDeclarationHelper);
@@ -72997,7 +72983,7 @@ async function readAutoCalcFiles(formAutoCalcPath) {
72997
72983
  const files = await readdirAsync(formAutoCalcPath);
72998
72984
  const jsFiles = files.filter(filename => /\.js$/.test(filename));
72999
72985
  return Promise.all(jsFiles.map(filename => readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formAutoCalcPath, filename), "utf-8")));
73000
- } catch (ignoreError) {
72986
+ } catch {
73001
72987
  return [];
73002
72988
  }
73003
72989
  }
@@ -73009,7 +72995,7 @@ async function readImportedFiles(rootPath) {
73009
72995
  result["../validations/" + fileName] = await readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(rootPath, "validations", fileName), "utf-8");
73010
72996
  }
73011
72997
  return result;
73012
- } catch (ignoreError) {
72998
+ } catch {
73013
72999
  return {};
73014
73000
  }
73015
73001
  }
@@ -73042,7 +73028,7 @@ async function readJavaScriptFilesWithNames(formJavaScriptFilesPath) {
73042
73028
  filename: path__WEBPACK_IMPORTED_MODULE_1___default().parse(filename).name,
73043
73029
  content: await readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formJavaScriptFilesPath, filename), "utf-8")
73044
73030
  })));
73045
- } catch (ignoreError) {
73031
+ } catch {
73046
73032
  return [];
73047
73033
  }
73048
73034
  }
@@ -73059,7 +73045,7 @@ async function connectJSFilesWithNames(formJavaScriptFilesPath) {
73059
73045
  });
73060
73046
  }
73061
73047
  return result;
73062
- } catch (ignoreErrors) {
73048
+ } catch {
73063
73049
  return [];
73064
73050
  }
73065
73051
  }
@@ -73072,7 +73058,7 @@ function readHooksFile(formDirectoryPath) {
73072
73058
  async function readFileSource(filePath, filename, defaultValue) {
73073
73059
  try {
73074
73060
  return await readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(filePath, filename), "utf-8");
73075
- } catch (ignoreError) {
73061
+ } catch {
73076
73062
  return defaultValue;
73077
73063
  }
73078
73064
  }
@@ -73242,7 +73228,7 @@ class CustomKCLangToFlangRuleGenerator {
73242
73228
  return result;
73243
73229
  }
73244
73230
  adjustPathMultiplicity(path) {
73245
- return (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_2__.adjustPathMultiplicityComplex)(path, this.formSchemaRng, this.dataDeclarationHelper);
73231
+ return (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_2__.adjustPathMultiplicityComplex)(path, this.dataDeclarationHelper);
73246
73232
  }
73247
73233
  }
73248
73234
 
@@ -73463,7 +73449,7 @@ class BinaryExpression extends FLangExpression {
73463
73449
  this.right = right;
73464
73450
  this.left = left;
73465
73451
  }
73466
- needAddBraces(child) {
73452
+ needAddBraces(_) {
73467
73453
  return false;
73468
73454
  }
73469
73455
  *getChildNodes() {
@@ -73487,7 +73473,7 @@ class UnaryExpression extends FLangExpression {
73487
73473
  this.operand = void 0;
73488
73474
  this.operand = operand;
73489
73475
  }
73490
- needAddBraces(child) {
73476
+ needAddBraces(_) {
73491
73477
  return false;
73492
73478
  }
73493
73479
  *getChildNodes() {
@@ -75341,7 +75327,7 @@ class FormulaExpressionToFlangExpressionConverter {
75341
75327
  return this.compiledInstanceCountExpression(prefix, target, expression.select, addPrecalculationRule);
75342
75328
  }
75343
75329
  if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_0__.FormulaIsEqualToAutoCalculatedExpression) {
75344
- return this.compileIsEqualToAutoCalculatedExpression(prefix, target, expression.select, expression.type, addPrecalculationRule);
75330
+ return this.compileIsEqualToAutoCalculatedExpression(prefix, target, expression.select, expression.type);
75345
75331
  }
75346
75332
  if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_0__.FormulaLengthExpression) {
75347
75333
  return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.LenExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_8__.castOperandToStringIfNeed)(this.compileExpressionToFlangExpressionInternal(expression.argument, prefix, target, addPrecalculationRule)));
@@ -75531,7 +75517,7 @@ class FormulaExpressionToFlangExpressionConverter {
75531
75517
  const sourceKeyPath = this.preparePathAndAdjustMultiplicity(prefix, expression.expression.select);
75532
75518
  const sourceValueExpression = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.DecimalLiteralExpression(1);
75533
75519
  const dictPathWithField = this.makeDictNameFromKeyAndValue(splitInfo.matchedPath, sourceKeyPath, sourceValueExpression);
75534
- const dictExpression = this.compileMakeDictExpressionImpl(prefix, dictPathWithField, sourceKeyPath, sourceValueExpression, addPrecalculationRule);
75520
+ const dictExpression = this.compileMakeDictExpressionImpl(dictPathWithField, sourceKeyPath, sourceValueExpression);
75535
75521
  const dictStatement = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.SetStatement(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.ValueReferenceExpression(dictPathWithField.path, "value"), dictExpression);
75536
75522
  addPrecalculationRule(dictStatement);
75537
75523
  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")));
@@ -75550,7 +75536,7 @@ class FormulaExpressionToFlangExpressionConverter {
75550
75536
  const hashSetExpression = this.compileExpressionToFlangExpressionInternal(expression.expression, prefix, target, addPrecalculationRule);
75551
75537
  return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.HashSetExpression(hashSetExpression);
75552
75538
  }
75553
- compileMakeDictExpressionImpl(prefix, target, sourceKeyPath, sourceValueExpression, addPrecalculationRule) {
75539
+ compileMakeDictExpressionImpl(target, sourceKeyPath, sourceValueExpression) {
75554
75540
  const getOldSourceValueExpression = () => {
75555
75541
  if (sourceValueExpression instanceof _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.ValueReferenceExpression) {
75556
75542
  return (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_8__.makeGetOld)(sourceValueExpression);
@@ -75577,7 +75563,7 @@ class FormulaExpressionToFlangExpressionConverter {
75577
75563
  compileMakeDictExpression(prefix, target, expression, addPrecalculationRule) {
75578
75564
  const sourceKeyPath = this.preparePathAndAdjustMultiplicity(prefix, expression.sourceKeyPath);
75579
75565
  const sourceValueExpression = this.compileExpressionToFlangExpressionInternal(expression.sourceValueExpression, prefix, new _Common_ModelPath_AbsoluteModelFieldPath__WEBPACK_IMPORTED_MODULE_7__.AbsoluteModelFieldPath(sourceKeyPath, "value"), addPrecalculationRule);
75580
- const reduceExpression = this.compileMakeDictExpressionImpl(prefix, target, sourceKeyPath, sourceValueExpression, addPrecalculationRule);
75566
+ const reduceExpression = this.compileMakeDictExpressionImpl(target, sourceKeyPath, sourceValueExpression);
75581
75567
  return reduceExpression;
75582
75568
  }
75583
75569
  compileArrayOfTargetKeys(prefix, target, targetKeys, addPrecalculationRule) {
@@ -75590,7 +75576,7 @@ class FormulaExpressionToFlangExpressionConverter {
75590
75576
  }), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.BoolLiteralExpression(true));
75591
75577
  return deserializedKeys;
75592
75578
  }
75593
- compileGetSumByKeysExpressionImpl(prefix, target, dictPath, targetKeys, addPrecalculationRule) {
75579
+ compileGetSumByKeysExpressionImpl(dictPath, targetKeys) {
75594
75580
  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);
75595
75581
  return finalValueExpression;
75596
75582
  }
@@ -75598,7 +75584,7 @@ class FormulaExpressionToFlangExpressionConverter {
75598
75584
  const dictPath = this.preparePathAndAdjustMultiplicity(prefix, expression.dictPath);
75599
75585
  const targetKeys = expression.targetKeys;
75600
75586
  const deserializedKeys = this.compileArrayOfTargetKeys(prefix, target, targetKeys.items, addPrecalculationRule);
75601
- return this.compileGetSumByKeysExpressionImpl(prefix, target, dictPath, deserializedKeys, addPrecalculationRule);
75587
+ return this.compileGetSumByKeysExpressionImpl(dictPath, deserializedKeys);
75602
75588
  }
75603
75589
  compileGroupSumExpressionWithPersistentDictionary(prefix, target, targetKeys, sourceKeyPath, sourceValueExpression, addPrecalculationRule) {
75604
75590
  const matchPaths = (0,_Common_ModelPath_PathSplitHelper__WEBPACK_IMPORTED_MODULE_5__.getMatchedAndDifferentModelPaths)(target.path, sourceKeyPath);
@@ -75616,10 +75602,8 @@ class FormulaExpressionToFlangExpressionConverter {
75616
75602
  if (finalIterPath.isEmpty()) {
75617
75603
  throw new Error("Error occurred while trying parse path for reduce: " + firstPart.toLegacyPath());
75618
75604
  }
75619
- const basePathForDict = finalIterPath;
75620
75605
  const dictPathWithField = this.makeDictNameFromKeyAndValue(finalIterPath, sourceKeyPath, sourceValueExpression);
75621
- 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());
75622
- const dictExpression = this.compileMakeDictExpressionImpl(basePathForDictPrefix, dictPathWithField, sourceKeyPath, sourceValueExpression, addPrecalculationRule);
75606
+ const dictExpression = this.compileMakeDictExpressionImpl(dictPathWithField, sourceKeyPath, sourceValueExpression);
75623
75607
  const dictStatement = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.SetStatement(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.ValueReferenceExpression(dictPathWithField.path, "value"), dictExpression);
75624
75608
  addPrecalculationRule(dictStatement);
75625
75609
  const deserializedKeys = this.compileArrayOfTargetKeys(prefix, target, targetKeys, addPrecalculationRule);
@@ -75729,7 +75713,7 @@ class FormulaExpressionToFlangExpressionConverter {
75729
75713
  throw new Error(`Instance count with nested multiplicity is not supported: target: ${target.path}, select path: ${selectPath}}`);
75730
75714
  }
75731
75715
  }
75732
- compileIsEqualToAutoCalculatedExpression(prefix, target, selectPath, selectType, addPrecalculationRule) {
75716
+ compileIsEqualToAutoCalculatedExpression(prefix, target, selectPath, selectType) {
75733
75717
  const adjustedSelectPath = this.preparePathAndAdjustMultiplicity(prefix, selectPath);
75734
75718
  const splitInfo = (0,_Common_ModelPath_PathSplitHelper__WEBPACK_IMPORTED_MODULE_5__.getMatchedAndDifferentModelPaths)(target.path, adjustedSelectPath);
75735
75719
  if (!splitInfo.differentPath.isContainIteration()) {
@@ -76107,7 +76091,7 @@ class FormulaOnlyNormalizationRuleGenerator {
76107
76091
  return result;
76108
76092
  }
76109
76093
  adjustPathMultiplicity(path) {
76110
- return (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_1__.adjustPathMultiplicityComplex)(path, this.formSchemaRng, this.dataDeclarationHelper);
76094
+ return (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_1__.adjustPathMultiplicityComplex)(path, this.dataDeclarationHelper);
76111
76095
  }
76112
76096
  }
76113
76097
 
@@ -76257,7 +76241,7 @@ class FormulaRulesBuilder extends _BaseRuleBuilder__WEBPACK_IMPORTED_MODULE_6__.
76257
76241
  var _this$formSchemaRng$g;
76258
76242
  const prefix = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.createModelPath)(formula.match.replace(/\@/g, ""), true).normalize();
76259
76243
  const target = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.createModelPath)(formula.target.replace(/\@/g, ""), false);
76260
- const fullTarget = (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_2__.adjustPathMultiplicityComplex)(prefix.joinWith(target).normalize(), this.formSchemaRng, this.dataDeclarationHelper);
76244
+ const fullTarget = (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_2__.adjustPathMultiplicityComplex)(prefix.joinWith(target).normalize(), this.dataDeclarationHelper);
76261
76245
  const defaultValue = this.dataDeclarationHelper.getDefaultValue(fullTarget.toLegacyPath());
76262
76246
  const precalculationRules = [];
76263
76247
  const isTargetAutoField = this.dataDeclarationHelper.isNodeHasAutoFlagEntry(fullTarget.toAbsolute());
@@ -76296,7 +76280,7 @@ class FormulaRulesBuilder extends _BaseRuleBuilder__WEBPACK_IMPORTED_MODULE_6__.
76296
76280
  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))));
76297
76281
  }
76298
76282
  adjustPathMultiplicity(path) {
76299
- return (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_2__.adjustPathMultiplicityComplex)(path, this.formSchemaRng, this.dataDeclarationHelper);
76283
+ return (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_2__.adjustPathMultiplicityComplex)(path, this.dataDeclarationHelper);
76300
76284
  }
76301
76285
  }
76302
76286
 
@@ -77074,15 +77058,13 @@ __webpack_require__.r(__webpack_exports__);
77074
77058
 
77075
77059
 
77076
77060
  class ValidationRulesBuilder extends _BaseRuleBuilder__WEBPACK_IMPORTED_MODULE_10__.BaseRuleBuilder {
77077
- constructor(dataDeclarationHelper, formSchemaRng, formulaExprConverter, conditions) {
77061
+ constructor(dataDeclarationHelper, formulaExprConverter, conditions) {
77078
77062
  super();
77079
77063
  this.dataDeclarationHelper = void 0;
77080
- this.formSchemaRng = void 0;
77081
77064
  this.conditions = void 0;
77082
77065
  this.formulaExprConverter = void 0;
77083
77066
  this.conditions = conditions;
77084
77067
  this.formulaExprConverter = formulaExprConverter;
77085
- this.formSchemaRng = formSchemaRng;
77086
77068
  this.dataDeclarationHelper = dataDeclarationHelper;
77087
77069
  }
77088
77070
  buildRulesInternal() {
@@ -77199,7 +77181,7 @@ class ValidationRulesBuilder extends _BaseRuleBuilder__WEBPACK_IMPORTED_MODULE_1
77199
77181
  return rules;
77200
77182
  }
77201
77183
  adjustPathMultiplicity(path) {
77202
- return (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_5__.adjustPathMultiplicityComplex)(path, this.formSchemaRng, this.dataDeclarationHelper);
77184
+ return (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_5__.adjustPathMultiplicityComplex)(path, this.dataDeclarationHelper);
77203
77185
  }
77204
77186
  }
77205
77187
 
@@ -78826,10 +78808,10 @@ class DownloadExcelButtonConverter extends _SugarNodeConverter__WEBPACK_IMPORTED
78826
78808
  const node = this.getCurrentNodeAs(_DownloadExcelButtonNode__WEBPACK_IMPORTED_MODULE_4__.DownloadExcelButtonNode);
78827
78809
  return [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_3__.getNewBindingPathExpression)(node)];
78828
78810
  }
78829
- doBuildDataDeclaration(context) {
78811
+ doBuildDataDeclaration() {
78830
78812
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
78831
78813
  }
78832
- buildChildrenDataDeclaration(context) {
78814
+ buildChildrenDataDeclaration() {
78833
78815
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
78834
78816
  }
78835
78817
  *doTraverseChildren() {
@@ -78986,10 +78968,10 @@ class DropDownButtonLoadExcelConverter extends _SugarNodeConverter__WEBPACK_IMPO
78986
78968
  const node = this.getCurrentNodeAs(_DropDownButtonLoadExcelNode__WEBPACK_IMPORTED_MODULE_6__.DropDownButtonLoadExcelNode);
78987
78969
  return [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_3__.getNewBindingPathExpression)(node)];
78988
78970
  }
78989
- doBuildDataDeclaration(context) {
78971
+ doBuildDataDeclaration() {
78990
78972
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
78991
78973
  }
78992
- buildChildrenDataDeclaration(context) {
78974
+ buildChildrenDataDeclaration() {
78993
78975
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
78994
78976
  }
78995
78977
  *doTraverseChildren() {
@@ -79182,7 +79164,7 @@ class DropdownButtonConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODU
79182
79164
  const node = this.getCurrentNodeAs(_DropdownButtonNode__WEBPACK_IMPORTED_MODULE_7__.DropdownButtonNode);
79183
79165
  return [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_3__.getNewBindingPathExpression)(node)];
79184
79166
  }
79185
- doBuildDataDeclaration(context) {
79167
+ doBuildDataDeclaration() {
79186
79168
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
79187
79169
  }
79188
79170
  buildChildrenDataDeclaration(context) {
@@ -79343,16 +79325,16 @@ class ExcelPastePanelConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MOD
79343
79325
  static getAcceptNodeClass() {
79344
79326
  return _ExcelPastePanelNode__WEBPACK_IMPORTED_MODULE_3__.ExcelPastePanelNode;
79345
79327
  }
79346
- doBuildDataDeclaration(context) {
79328
+ doBuildDataDeclaration() {
79347
79329
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
79348
79330
  }
79349
- buildChildrenDataDeclaration(context) {
79331
+ buildChildrenDataDeclaration() {
79350
79332
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
79351
79333
  }
79352
79334
  *doTraverseChildren() {
79353
79335
  // no children
79354
79336
  }
79355
- doConvert(context) {
79337
+ doConvert() {
79356
79338
  const node = this.getCurrentNodeAs(_ExcelPastePanelNode__WEBPACK_IMPORTED_MODULE_3__.ExcelPastePanelNode);
79357
79339
  const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("ExcelPastePanel");
79358
79340
  markupBuilder.prop(x => x.templateHref).set(node.templateHref);
@@ -79432,7 +79414,7 @@ class KebabConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_0__.Su
79432
79414
  const node = this.getCurrentNodeAs(_KebabNode__WEBPACK_IMPORTED_MODULE_6__.KebabNode);
79433
79415
  return [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_1__.getNewBindingPathExpression)(node)];
79434
79416
  }
79435
- doBuildDataDeclaration(context) {
79417
+ doBuildDataDeclaration() {
79436
79418
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_3__.emptyDataDeclarationCollection;
79437
79419
  }
79438
79420
  buildChildrenDataDeclaration(context) {
@@ -79632,7 +79614,11 @@ __webpack_require__.r(__webpack_exports__);
79632
79614
  /* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
79633
79615
  /* harmony import */ var _Typography_Icon_GetIconName__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../Typography/Icon/GetIconName */ "./Generator/src/generators/markupGenerator/ElementProcessors/Typography/Icon/GetIconName.ts");
79634
79616
  /* harmony import */ var _SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../SugarNodes/SugarNodeUtils */ "./Generator/src/generators/markupGenerator/SugarNodes/SugarNodeUtils.ts");
79635
- /* harmony import */ var _LinkNode__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./LinkNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Action/Link/LinkNode.ts");
79617
+ /* harmony import */ var _Common_KCLangRuntimeUtils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../../../../Common/KCLangRuntimeUtils */ "./Common/KCLangRuntimeUtils.ts");
79618
+ /* harmony import */ var _common_ConditionUtils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../../common/ConditionUtils */ "./Generator/src/common/ConditionUtils.ts");
79619
+ /* harmony import */ var _LinkNode__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./LinkNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Action/Link/LinkNode.ts");
79620
+
79621
+
79636
79622
 
79637
79623
 
79638
79624
 
@@ -79643,24 +79629,24 @@ __webpack_require__.r(__webpack_exports__);
79643
79629
 
79644
79630
  class LinkConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__.SugarNodeConverterBase {
79645
79631
  static getAcceptNodeClass() {
79646
- return _LinkNode__WEBPACK_IMPORTED_MODULE_7__.LinkNode;
79632
+ return _LinkNode__WEBPACK_IMPORTED_MODULE_9__.LinkNode;
79647
79633
  }
79648
79634
  doBuildDataDeclaration(context) {
79649
- const node = this.getCurrentNodeAs(_LinkNode__WEBPACK_IMPORTED_MODULE_7__.LinkNode);
79635
+ const node = this.getCurrentNodeAs(_LinkNode__WEBPACK_IMPORTED_MODULE_9__.LinkNode);
79650
79636
  return context.mergeDataDeclaration(node.path ? context.addPathDeclEntry(node, [["value", context.initSequenceFactory.takeFromModelOrDefaultValue(node.defaultValue)]]) : _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_1__.emptyDataDeclarationCollection, context.addSpecialFieldsEntry(node, {
79651
79637
  optional: node.optional
79652
79638
  }), node.path ? context.addPathSectionDeclarationEntry(node) : _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_1__.emptyDataDeclarationCollection, context.addVisibilityPathDeclEntryNew(node));
79653
79639
  }
79654
79640
  buildChildrenDataDeclaration(context) {
79655
- const node = this.getCurrentNodeAs(_LinkNode__WEBPACK_IMPORTED_MODULE_7__.LinkNode);
79641
+ const node = this.getCurrentNodeAs(_LinkNode__WEBPACK_IMPORTED_MODULE_9__.LinkNode);
79656
79642
  return context.processChildrenDataDeclaration(node.children);
79657
79643
  }
79658
79644
  *doTraverseChildren() {
79659
- const node = this.getCurrentNodeAs(_LinkNode__WEBPACK_IMPORTED_MODULE_7__.LinkNode);
79645
+ const node = this.getCurrentNodeAs(_LinkNode__WEBPACK_IMPORTED_MODULE_9__.LinkNode);
79660
79646
  yield* node.children;
79661
79647
  }
79662
79648
  doConvert(context) {
79663
- const node = this.getCurrentNodeAs(_LinkNode__WEBPACK_IMPORTED_MODULE_7__.LinkNode);
79649
+ const node = this.getCurrentNodeAs(_LinkNode__WEBPACK_IMPORTED_MODULE_9__.LinkNode);
79664
79650
  if (node.path != undefined && node.onClick == undefined) {
79665
79651
  throw new _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_0__.SugarAttributeReadError(`onClick is required when path attribute specified`, node, "path");
79666
79652
  }
@@ -79679,7 +79665,9 @@ class LinkConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__.Sug
79679
79665
  markupBuilder.prop(x => x.stopPropagation).set(node.stopPropagation);
79680
79666
  if (node.disabled2 != undefined) {
79681
79667
  markupBuilder.prop(x => x.disabled2).set((0,_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_6__.buildExpressionPropValue)(node.disabled2));
79682
- if (this.getLegacyNode().getParent() != undefined) {
79668
+ }
79669
+ if (this.getLegacyNode().getParent() != undefined) {
79670
+ if (node.disabled2 != undefined) {
79683
79671
  markupBuilder.prop(x => x.evaluatorsContextPath).set(this.getEvaluatorsContextPathExpression());
79684
79672
  }
79685
79673
  }
@@ -79697,7 +79685,13 @@ class LinkConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__.Sug
79697
79685
  markupBuilder.prop(x => x.stopPropagation).set(node.stopPropagation);
79698
79686
  if (node.disabled2 != undefined) {
79699
79687
  markupBuilder.prop(x => x.disabled2).set((0,_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_6__.buildExpressionPropValue)(node.disabled2));
79700
- if (this.getLegacyNode().getParent() != undefined) {
79688
+ }
79689
+ if (node.hrefExpression != undefined) {
79690
+ const conditionWithDependencies = (0,_common_ConditionUtils__WEBPACK_IMPORTED_MODULE_8__.convertConditionToJsOrFailWithFriendlySugarError)(node.hrefExpression, "path", "count", _Common_KCLangRuntimeUtils__WEBPACK_IMPORTED_MODULE_7__.KCLangRuntimeUtils.kcLangUtilsName, node, "condition");
79691
+ markupBuilder.prop(x => x.hrefExpression).set((0,_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_6__.buildExpressionPropValue)(conditionWithDependencies.condition, conditionWithDependencies.dependencies));
79692
+ }
79693
+ if (this.getLegacyNode().getParent() != undefined) {
79694
+ if (node.disabled2 != undefined || node.hrefExpression != undefined) {
79701
79695
  markupBuilder.prop(x => x.evaluatorsContextPath).set(this.getEvaluatorsContextPathExpression());
79702
79696
  }
79703
79697
  }
@@ -79733,30 +79727,31 @@ __webpack_require__.r(__webpack_exports__);
79733
79727
 
79734
79728
 
79735
79729
 
79736
- var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15;
79730
+ var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16;
79737
79731
 
79738
79732
 
79739
79733
 
79740
79734
 
79741
79735
 
79742
- let LinkNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("link", `Ссылка`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Action/Link sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.bindingPath, "Путь в модели"), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.deprecatedAttr)("optional", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_3__.DeprecationReason.UntypedUsage), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("defaultValue", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string, ``), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("tid", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string, "Возможность установки произвольных data-tid атрибутов, может пригодиться другим командам, или для идентификации элемента в тестах"), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.markupAttr)("hint", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string, "Всплывающая подсказка при наведении"), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.deprecatedAttr)("default", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_3__.DeprecationReason.InvalidUsage), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.deprecatedAttr)("color", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_3__.DeprecationReason.Removed), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("onClick", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.helperFunctionName, "Имя кастомной helpers функции, которая вызовется при клике"), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("use", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.enum("default", "success", "danger", "grayed"), "Тип, влияет на цвет. см. в retail-ui"), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("href", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string, "Ссылка. URL с кириллическими символами так и пишется, например, https://www.kontur-extern.ru/info/38137-zapolnit_razdel_2_efs_1#:~:text=Данные указываются по,проставлять нули (0)."), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("icon", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string, `Название иконки можно посмотреть по ссылке https://ui.gitlab-pages.kontur.host/docs/#/icons`), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("stopPropagation", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string, `Прекращает дальнейшую передачу собития клика https://developer.mozilla.org/ru/docs/Web/API/Event/stopPropagation`), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("disabled2", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.javascriptExpression, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_7__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_7__.javaScriptExpressionLink)} для условного задизейбливания контрола`), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("metrics-id", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string, "Идентификатор ссылки, который будет отправлен вместе с метриками по этой ссылке"), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec(_class = (_class2 = class LinkNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_4__.SugarNodeWithLegacyVisibility {
79736
+ let LinkNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("link", `Ссылка`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Action/Link sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.bindingPath, "Путь в модели"), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("hrefExpression", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string, "Выражение для url-а на kclang"), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.deprecatedAttr)("optional", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_3__.DeprecationReason.UntypedUsage), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("defaultValue", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string, ``), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("tid", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string, "Возможность установки произвольных data-tid атрибутов, может пригодиться другим командам, или для идентификации элемента в тестах"), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.markupAttr)("hint", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string, "Всплывающая подсказка при наведении"), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.deprecatedAttr)("default", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_3__.DeprecationReason.InvalidUsage), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.deprecatedAttr)("color", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_3__.DeprecationReason.Removed), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("onClick", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.helperFunctionName, "Имя кастомной helpers функции, которая вызовется при клике"), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("use", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.enum("default", "success", "danger", "grayed"), "Тип, влияет на цвет. см. в retail-ui"), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("href", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string, "Ссылка. URL с кириллическими символами так и пишется, например, https://www.kontur-extern.ru/info/38137-zapolnit_razdel_2_efs_1#:~:text=Данные указываются по,проставлять нули (0)."), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("icon", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string, `Название иконки можно посмотреть по ссылке https://ui.gitlab-pages.kontur.host/docs/#/icons`), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("stopPropagation", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string, `Прекращает дальнейшую передачу собития клика https://developer.mozilla.org/ru/docs/Web/API/Event/stopPropagation`), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("disabled2", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.javascriptExpression, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_7__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_7__.javaScriptExpressionLink)} для условного задизейбливания контрола`), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("metrics-id", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string, "Идентификатор ссылки, который будет отправлен вместе с метриками по этой ссылке"), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec(_class = (_class2 = class LinkNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_4__.SugarNodeWithLegacyVisibility {
79743
79737
  constructor(...args) {
79744
79738
  super(...args);
79745
79739
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "path", _descriptor, this);
79746
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "optional", _descriptor2, this);
79747
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "defaultValue", _descriptor3, this);
79748
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "tid", _descriptor4, this);
79749
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "hint", _descriptor5, this);
79750
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "default", _descriptor6, this);
79751
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "color", _descriptor7, this);
79752
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "onClick", _descriptor8, this);
79753
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "use", _descriptor9, this);
79754
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "href", _descriptor10, this);
79755
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "icon", _descriptor11, this);
79756
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "stopPropagation", _descriptor12, this);
79757
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "disabled2", _descriptor13, this);
79758
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "metricsId", _descriptor14, this);
79759
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor15, this);
79740
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "hrefExpression", _descriptor2, this);
79741
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "optional", _descriptor3, this);
79742
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "defaultValue", _descriptor4, this);
79743
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "tid", _descriptor5, this);
79744
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "hint", _descriptor6, this);
79745
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "default", _descriptor7, this);
79746
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "color", _descriptor8, this);
79747
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "onClick", _descriptor9, this);
79748
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "use", _descriptor10, this);
79749
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "href", _descriptor11, this);
79750
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "icon", _descriptor12, this);
79751
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "stopPropagation", _descriptor13, this);
79752
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "disabled2", _descriptor14, this);
79753
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "metricsId", _descriptor15, this);
79754
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor16, this);
79760
79755
  }
79761
79756
  getOwnPath() {
79762
79757
  return this.path != undefined ? (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.createFromMask)(this.path, "auto", _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.PathTokens.each) : undefined;
@@ -79766,72 +79761,77 @@ let LinkNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5
79766
79761
  enumerable: true,
79767
79762
  writable: true,
79768
79763
  initializer: null
79769
- }), _descriptor2 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "optional", [_dec3], {
79764
+ }), _descriptor2 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "hrefExpression", [_dec3], {
79770
79765
  configurable: true,
79771
79766
  enumerable: true,
79772
79767
  writable: true,
79773
79768
  initializer: null
79774
- }), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "defaultValue", [_dec4], {
79769
+ }), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "optional", [_dec4], {
79775
79770
  configurable: true,
79776
79771
  enumerable: true,
79777
79772
  writable: true,
79778
79773
  initializer: null
79779
- }), _descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "tid", [_dec5], {
79774
+ }), _descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "defaultValue", [_dec5], {
79780
79775
  configurable: true,
79781
79776
  enumerable: true,
79782
79777
  writable: true,
79783
79778
  initializer: null
79784
- }), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "hint", [_dec6], {
79779
+ }), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "tid", [_dec6], {
79785
79780
  configurable: true,
79786
79781
  enumerable: true,
79787
79782
  writable: true,
79788
79783
  initializer: null
79789
- }), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "default", [_dec7], {
79784
+ }), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "hint", [_dec7], {
79790
79785
  configurable: true,
79791
79786
  enumerable: true,
79792
79787
  writable: true,
79793
79788
  initializer: null
79794
- }), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "color", [_dec8], {
79789
+ }), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "default", [_dec8], {
79795
79790
  configurable: true,
79796
79791
  enumerable: true,
79797
79792
  writable: true,
79798
79793
  initializer: null
79799
- }), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "onClick", [_dec9], {
79794
+ }), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "color", [_dec9], {
79800
79795
  configurable: true,
79801
79796
  enumerable: true,
79802
79797
  writable: true,
79803
79798
  initializer: null
79804
- }), _descriptor9 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "use", [_dec10], {
79799
+ }), _descriptor9 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "onClick", [_dec10], {
79805
79800
  configurable: true,
79806
79801
  enumerable: true,
79807
79802
  writable: true,
79808
79803
  initializer: null
79809
- }), _descriptor10 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "href", [_dec11], {
79804
+ }), _descriptor10 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "use", [_dec11], {
79810
79805
  configurable: true,
79811
79806
  enumerable: true,
79812
79807
  writable: true,
79813
79808
  initializer: null
79814
- }), _descriptor11 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "icon", [_dec12], {
79809
+ }), _descriptor11 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "href", [_dec12], {
79810
+ configurable: true,
79811
+ enumerable: true,
79812
+ writable: true,
79813
+ initializer: null
79814
+ }), _descriptor12 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "icon", [_dec13], {
79815
79815
  configurable: true,
79816
79816
  enumerable: true,
79817
79817
  writable: true,
79818
79818
  initializer: null
79819
- }), _descriptor12 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "stopPropagation", [_dec13], {
79819
+ }), _descriptor13 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "stopPropagation", [_dec14], {
79820
79820
  configurable: true,
79821
79821
  enumerable: true,
79822
79822
  writable: true,
79823
79823
  initializer: null
79824
- }), _descriptor13 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "disabled2", [_dec14], {
79824
+ }), _descriptor14 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "disabled2", [_dec15], {
79825
79825
  configurable: true,
79826
79826
  enumerable: true,
79827
79827
  writable: true,
79828
79828
  initializer: null
79829
- }), _descriptor14 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "metricsId", [_dec15], {
79829
+ }), _descriptor15 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "metricsId", [_dec16], {
79830
79830
  configurable: true,
79831
79831
  enumerable: true,
79832
79832
  writable: true,
79833
79833
  initializer: null
79834
- }), _descriptor15 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec16], {
79834
+ }), _descriptor16 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec17], {
79835
79835
  configurable: true,
79836
79836
  enumerable: true,
79837
79837
  writable: true,
@@ -80252,7 +80252,7 @@ class FillHintConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__
80252
80252
  static getAcceptNodeClass() {
80253
80253
  return _FillHintNode__WEBPACK_IMPORTED_MODULE_3__.FillHintNode;
80254
80254
  }
80255
- doBuildDataDeclaration(context) {
80255
+ doBuildDataDeclaration() {
80256
80256
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
80257
80257
  }
80258
80258
  buildChildrenDataDeclaration(context) {
@@ -80333,7 +80333,7 @@ class LongConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_0__.Sug
80333
80333
  static getAcceptNodeClass() {
80334
80334
  return _LongNode__WEBPACK_IMPORTED_MODULE_3__.LongNode;
80335
80335
  }
80336
- doBuildDataDeclaration(context) {
80336
+ doBuildDataDeclaration() {
80337
80337
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_1__.emptyDataDeclarationCollection;
80338
80338
  }
80339
80339
  buildChildrenDataDeclaration(context) {
@@ -80414,7 +80414,7 @@ class ShortConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Su
80414
80414
  static getAcceptNodeClass() {
80415
80415
  return _ShortNode__WEBPACK_IMPORTED_MODULE_3__.ShortNode;
80416
80416
  }
80417
- doBuildDataDeclaration(context) {
80417
+ doBuildDataDeclaration() {
80418
80418
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
80419
80419
  }
80420
80420
  buildChildrenDataDeclaration(context) {
@@ -80701,7 +80701,7 @@ class IfConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Sugar
80701
80701
  }
80702
80702
  return node.condition;
80703
80703
  }
80704
- doBuildDataDeclaration(context) {
80704
+ doBuildDataDeclaration() {
80705
80705
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
80706
80706
  }
80707
80707
  buildChildrenDataDeclaration(context) {
@@ -80964,6 +80964,8 @@ const predefinedJsConditions = {
80964
80964
  "'false'": "(1 == 0)",
80965
80965
  "": "(1 == 0)",
80966
80966
  "''": "(1 == 0)",
80967
+ true: "(1 == 1)",
80968
+ false: "(1 == 0)",
80967
80969
  "path('A') == 'true'": "(A as string)== 'true'",
80968
80970
  "Number(path('Value1')) < 2": "Value1 < 2",
80969
80971
  "Number(path('Value1')) < 5": "Value1 < 5",
@@ -81075,7 +81077,7 @@ class JoinBlockConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3_
81075
81077
  static getAcceptNodeClass() {
81076
81078
  return _JoinBlockNode__WEBPACK_IMPORTED_MODULE_4__.JoinBlockNode;
81077
81079
  }
81078
- doBuildDataDeclaration(context) {
81080
+ doBuildDataDeclaration(_context) {
81079
81081
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
81080
81082
  }
81081
81083
  buildChildrenDataDeclaration(context) {
@@ -81177,7 +81179,7 @@ class JoinItemConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__
81177
81179
  static getAcceptNodeClass() {
81178
81180
  return _JoinItemNode__WEBPACK_IMPORTED_MODULE_3__.JoinItemNode;
81179
81181
  }
81180
- doBuildDataDeclaration(context) {
81182
+ doBuildDataDeclaration(_context) {
81181
81183
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
81182
81184
  }
81183
81185
  buildChildrenDataDeclaration(context) {
@@ -81270,7 +81272,7 @@ class OtherwiseConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2_
81270
81272
  static getAcceptNodeClass() {
81271
81273
  return _OtherwiseNode__WEBPACK_IMPORTED_MODULE_3__.OtherwiseNode;
81272
81274
  }
81273
- doBuildDataDeclaration(context) {
81275
+ doBuildDataDeclaration() {
81274
81276
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
81275
81277
  }
81276
81278
  buildChildrenDataDeclaration(context) {
@@ -81377,7 +81379,7 @@ class SwitchConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.S
81377
81379
  const node = this.getCurrentNodeAs(_SwitchNode__WEBPACK_IMPORTED_MODULE_14__.SwitchNode);
81378
81380
  return node.cases.flatMap(x => (0,_RequisiteLIst_requisiteList__WEBPACK_IMPORTED_MODULE_6__.getRequisitesFromEvaluableProps)(x.condition));
81379
81381
  }
81380
- doBuildDataDeclaration(context) {
81382
+ doBuildDataDeclaration() {
81381
81383
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
81382
81384
  }
81383
81385
  buildChildrenDataDeclaration(context) {
@@ -81667,7 +81669,7 @@ class WhenConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Sug
81667
81669
  static getAcceptNodeClass() {
81668
81670
  return _WhenNode__WEBPACK_IMPORTED_MODULE_3__.WhenNode;
81669
81671
  }
81670
- doBuildDataDeclaration(context) {
81672
+ doBuildDataDeclaration() {
81671
81673
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
81672
81674
  }
81673
81675
  buildChildrenDataDeclaration(context) {
@@ -81760,10 +81762,10 @@ class AddPageButtonConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODUL
81760
81762
  *doTraverseChildren() {
81761
81763
  // no children
81762
81764
  }
81763
- doBuildDataDeclaration(context) {
81765
+ doBuildDataDeclaration() {
81764
81766
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
81765
81767
  }
81766
- buildChildrenDataDeclaration(context) {
81768
+ buildChildrenDataDeclaration() {
81767
81769
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
81768
81770
  }
81769
81771
  doConvert(context) {
@@ -81858,10 +81860,10 @@ class AttachmentFormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODU
81858
81860
  const node = this.getCurrentNodeAs(_AttachmentFormNode__WEBPACK_IMPORTED_MODULE_9__.AttachmentFormNode);
81859
81861
  yield [node.gfv, (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.createAbsolute)(node.path).joinWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_4__.AttachmentInfoPath)];
81860
81862
  }
81861
- doBuildDataDeclaration(context) {
81863
+ doBuildDataDeclaration() {
81862
81864
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
81863
81865
  }
81864
- buildChildrenDataDeclaration(context) {
81866
+ buildChildrenDataDeclaration() {
81865
81867
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
81866
81868
  }
81867
81869
  *doTraverseChildren() {
@@ -81912,7 +81914,7 @@ __webpack_require__.r(__webpack_exports__);
81912
81914
 
81913
81915
 
81914
81916
 
81915
- 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;
81917
+ 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;
81916
81918
 
81917
81919
 
81918
81920
 
@@ -81942,7 +81944,7 @@ let AttachmentFormNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTE
81942
81944
  tid?: string;
81943
81945
  handler?: string;
81944
81946
  };
81945
- `), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)(), _dec(_class = (_class2 = class AttachmentFormNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
81947
+ `), _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 {
81946
81948
  constructor(...args) {
81947
81949
  super(...args);
81948
81950
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "gfv", _descriptor, this);
@@ -81955,7 +81957,8 @@ let AttachmentFormNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTE
81955
81957
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "optional", _descriptor8, this);
81956
81958
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "pageActions", _descriptor9, this);
81957
81959
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "extraPageActions", _descriptor10, this);
81958
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor11, this);
81960
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "attachmentUnitItemInfoPaths", _descriptor11, this);
81961
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor12, this);
81959
81962
  }
81960
81963
  getOwnPath() {
81961
81964
  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;
@@ -82010,7 +82013,12 @@ let AttachmentFormNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTE
82010
82013
  enumerable: true,
82011
82014
  writable: true,
82012
82015
  initializer: null
82013
- }), _descriptor11 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec12], {
82016
+ }), _descriptor11 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "attachmentUnitItemInfoPaths", [_dec12], {
82017
+ configurable: true,
82018
+ enumerable: true,
82019
+ writable: true,
82020
+ initializer: null
82021
+ }), _descriptor12 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec13], {
82014
82022
  configurable: true,
82015
82023
  enumerable: true,
82016
82024
  writable: true,
@@ -82485,16 +82493,16 @@ class CrossConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Su
82485
82493
  static getAcceptNodeClass() {
82486
82494
  return _CrossNode__WEBPACK_IMPORTED_MODULE_3__.CrossNode;
82487
82495
  }
82488
- doBuildDataDeclaration(context) {
82496
+ doBuildDataDeclaration() {
82489
82497
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
82490
82498
  }
82491
- buildChildrenDataDeclaration(context) {
82499
+ buildChildrenDataDeclaration() {
82492
82500
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
82493
82501
  }
82494
82502
  *doTraverseChildren() {
82495
82503
  // no children
82496
82504
  }
82497
- doConvert(context) {
82505
+ doConvert() {
82498
82506
  const node = this.getCurrentNodeAs(_CrossNode__WEBPACK_IMPORTED_MODULE_3__.CrossNode);
82499
82507
  const crossBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("Cross");
82500
82508
  crossBuilder.prop(x => x.text).set(node.text);
@@ -82562,7 +82570,7 @@ class DefaultContentConverter extends _Content_ContentConverter__WEBPACK_IMPORTE
82562
82570
  static getAcceptNodeClass() {
82563
82571
  return _DefaultContentNode__WEBPACK_IMPORTED_MODULE_2__.DefaultContentNode;
82564
82572
  }
82565
- doBuildDataDeclaration(context) {
82573
+ doBuildDataDeclaration() {
82566
82574
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
82567
82575
  }
82568
82576
  buildChildrenDataDeclaration(context) {
@@ -82665,7 +82673,11 @@ __webpack_require__.r(__webpack_exports__);
82665
82673
  /* harmony import */ var _Common_KCLangRuntimeUtils__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../../../../../../../Common/KCLangRuntimeUtils */ "./Common/KCLangRuntimeUtils.ts");
82666
82674
  /* harmony import */ var _ComponentMarkupBuilder_PathHelper__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/PathHelper */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/PathHelper.ts");
82667
82675
  /* harmony import */ var _Common_PathConstants__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../../../../../../../Common/PathConstants */ "./Common/PathConstants.ts");
82668
- /* harmony import */ var _FormNode__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./FormNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/FormNode.ts");
82676
+ /* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
82677
+ /* harmony import */ var _common_CastUtils__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ../../../../../common/CastUtils */ "./Generator/src/common/CastUtils.ts");
82678
+ /* harmony import */ var _FormNode__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./FormNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/FormNode.ts");
82679
+
82680
+
82669
82681
 
82670
82682
 
82671
82683
 
@@ -82691,10 +82703,10 @@ __webpack_require__.r(__webpack_exports__);
82691
82703
 
82692
82704
  class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.SugarNodeConverterBase {
82693
82705
  static getAcceptNodeClass() {
82694
- return _FormNode__WEBPACK_IMPORTED_MODULE_22__.FormNode;
82706
+ return _FormNode__WEBPACK_IMPORTED_MODULE_24__.FormNode;
82695
82707
  }
82696
- doBuildDataDeclaration(context) {
82697
- const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_22__.FormNode);
82708
+ doBuildDataDeclaration() {
82709
+ const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_24__.FormNode);
82698
82710
  const rootPath = (0,_getRootPath__WEBPACK_IMPORTED_MODULE_3__.getRootPath)(node);
82699
82711
  const entrySections = ["default"];
82700
82712
  const optionalSections = this.findOptionalSections(node);
@@ -82721,11 +82733,11 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
82721
82733
  return result;
82722
82734
  }
82723
82735
  buildChildrenDataDeclaration(context) {
82724
- const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_22__.FormNode);
82736
+ const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_24__.FormNode);
82725
82737
  return context.processChildrenDataDeclaration(node.pages);
82726
82738
  }
82727
82739
  *doTraverseChildren() {
82728
- const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_22__.FormNode);
82740
+ const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_24__.FormNode);
82729
82741
  yield* node.pages;
82730
82742
  if (node.attachmentForms) {
82731
82743
  yield* node.attachmentForms;
@@ -82738,7 +82750,7 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
82738
82750
  }
82739
82751
  }
82740
82752
  doConvert(context) {
82741
- const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_22__.FormNode);
82753
+ const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_24__.FormNode);
82742
82754
  if (node.simple) {
82743
82755
  return this.buildSimpleForm(context, node);
82744
82756
  } else if (node.plain) {
@@ -83037,6 +83049,11 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
83037
83049
  dependencies: compiledCondition === null || compiledCondition === void 0 ? void 0 : compiledCondition.dependencies
83038
83050
  });
83039
83051
  }
83052
+ if (attachmentFormNode.attachmentUnitItemInfoPaths != undefined) {
83053
+ const parsedPaths = (0,_common_CastUtils__WEBPACK_IMPORTED_MODULE_23__.tryParseAttachmentUnitPaths)(attachmentFormNode.attachmentUnitItemInfoPaths);
83054
+ 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);
83055
+ markupBuilder.prop(x => x.attachmentUnitItemInfoPaths).set(resolvePaths);
83056
+ }
83040
83057
  markupBuilder.appendChild(context.convertChildNodes(attachmentFormNode.children));
83041
83058
  return markupBuilder;
83042
83059
  }
@@ -83736,16 +83753,16 @@ class FormInfoConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__
83736
83753
  static getAcceptNodeClass() {
83737
83754
  return _FormInfoNode__WEBPACK_IMPORTED_MODULE_3__.FormInfoNode;
83738
83755
  }
83739
- doBuildDataDeclaration(context) {
83756
+ doBuildDataDeclaration() {
83740
83757
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
83741
83758
  }
83742
- buildChildrenDataDeclaration(context) {
83759
+ buildChildrenDataDeclaration() {
83743
83760
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
83744
83761
  }
83745
83762
  *doTraverseChildren() {
83746
83763
  // no children
83747
83764
  }
83748
- doConvert(context) {
83765
+ doConvert() {
83749
83766
  const node = this.getCurrentNodeAs(_FormInfoNode__WEBPACK_IMPORTED_MODULE_3__.FormInfoNode);
83750
83767
  const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__.componentMarkupBuilder)("FormInfo");
83751
83768
  markupBuilder.prop(x => x.name).set(node.name);
@@ -83815,10 +83832,10 @@ class GlobalModalsConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE
83815
83832
  static getAcceptNodeClass() {
83816
83833
  return _GlobalModalsNode__WEBPACK_IMPORTED_MODULE_3__.GlobalModalsNode;
83817
83834
  }
83818
- doBuildDataDeclaration(context) {
83835
+ doBuildDataDeclaration() {
83819
83836
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
83820
83837
  }
83821
- buildChildrenDataDeclaration(context) {
83838
+ buildChildrenDataDeclaration() {
83822
83839
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
83823
83840
  }
83824
83841
  *doTraverseChildren() {
@@ -83990,10 +84007,10 @@ class ModalHeaderConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_
83990
84007
  static getAcceptNodeClass() {
83991
84008
  return _ModalHeaderNode__WEBPACK_IMPORTED_MODULE_3__.ModalHeaderNode;
83992
84009
  }
83993
- doBuildDataDeclaration(context) {
84010
+ doBuildDataDeclaration() {
83994
84011
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
83995
84012
  }
83996
- buildChildrenDataDeclaration(context) {
84013
+ buildChildrenDataDeclaration() {
83997
84014
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
83998
84015
  }
83999
84016
  *doTraverseChildren() {
@@ -84569,10 +84586,10 @@ class TourConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_6__.Sug
84569
84586
  const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("Tour");
84570
84587
  return markupBuilder.buildConverterResult();
84571
84588
  }
84572
- doBuildDataDeclaration(context) {
84589
+ doBuildDataDeclaration() {
84573
84590
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_2__.emptyDataDeclarationCollection;
84574
84591
  }
84575
- buildChildrenDataDeclaration(context) {
84592
+ buildChildrenDataDeclaration() {
84576
84593
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_2__.emptyDataDeclarationCollection;
84577
84594
  }
84578
84595
  *doTraverseChildren() {
@@ -84772,10 +84789,10 @@ class UnitItemConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__
84772
84789
  static getAcceptNodeClass() {
84773
84790
  return _UnitItemNode__WEBPACK_IMPORTED_MODULE_5__.UnitItemNode;
84774
84791
  }
84775
- doBuildDataDeclaration(context) {
84792
+ doBuildDataDeclaration() {
84776
84793
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
84777
84794
  }
84778
- buildChildrenDataDeclaration(context) {
84795
+ buildChildrenDataDeclaration() {
84779
84796
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
84780
84797
  }
84781
84798
  *doTraverseChildren() {
@@ -84910,10 +84927,10 @@ class UnitListConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__
84910
84927
  static getAcceptNodeClass() {
84911
84928
  return _UnitListNode__WEBPACK_IMPORTED_MODULE_3__.UnitListNode;
84912
84929
  }
84913
- doBuildDataDeclaration(context) {
84930
+ doBuildDataDeclaration() {
84914
84931
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
84915
84932
  }
84916
- buildChildrenDataDeclaration(context) {
84933
+ buildChildrenDataDeclaration() {
84917
84934
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
84918
84935
  }
84919
84936
  *doTraverseChildren() {
@@ -85034,13 +85051,13 @@ class UserPicklistConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE
85034
85051
  applyVisibilityPathProcessing() {
85035
85052
  return false;
85036
85053
  }
85037
- *doBuildNormalizeRules(builder) {
85054
+ *doBuildNormalizeRules() {
85038
85055
  // no rules
85039
85056
  }
85040
- doBuildDataDeclaration(context) {
85057
+ doBuildDataDeclaration() {
85041
85058
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_2__.emptyDataDeclarationCollection;
85042
85059
  }
85043
- buildChildrenDataDeclaration(context) {
85060
+ buildChildrenDataDeclaration() {
85044
85061
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_2__.emptyDataDeclarationCollection;
85045
85062
  }
85046
85063
  *doTraverseChildren() {
@@ -85558,7 +85575,7 @@ class HelpInfoConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__
85558
85575
  yield node.children[0];
85559
85576
  }
85560
85577
  }
85561
- doConvert(context) {
85578
+ doConvert() {
85562
85579
  var _node$content, _node$header, _node$positions;
85563
85580
  const node = this.getCurrentNodeAs(_HelpInfoNode__WEBPACK_IMPORTED_MODULE_5__.HelpInfoNode);
85564
85581
  const mb = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("HelpInfo");
@@ -85690,16 +85707,16 @@ class NormativeHelpConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODUL
85690
85707
  static getAcceptNodeClass() {
85691
85708
  return _NormativeHelpNode__WEBPACK_IMPORTED_MODULE_3__.NormativeHelpNode;
85692
85709
  }
85693
- doBuildDataDeclaration(context) {
85710
+ doBuildDataDeclaration() {
85694
85711
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
85695
85712
  }
85696
- buildChildrenDataDeclaration(context) {
85713
+ buildChildrenDataDeclaration() {
85697
85714
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
85698
85715
  }
85699
85716
  *doTraverseChildren() {
85700
85717
  // no children
85701
85718
  }
85702
- doConvert(context) {
85719
+ doConvert() {
85703
85720
  const node = this.getCurrentNodeAs(_NormativeHelpNode__WEBPACK_IMPORTED_MODULE_3__.NormativeHelpNode);
85704
85721
  const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("NormativeHelp");
85705
85722
  markupBuilder.prop(x => x.helpUrl).set(this.getNormativeUrl(node));
@@ -85927,16 +85944,16 @@ class BrConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Sugar
85927
85944
  static getAcceptNodeClass() {
85928
85945
  return _BrNode__WEBPACK_IMPORTED_MODULE_3__.BrNode;
85929
85946
  }
85930
- doBuildDataDeclaration(context) {
85947
+ doBuildDataDeclaration() {
85931
85948
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
85932
85949
  }
85933
- buildChildrenDataDeclaration(context) {
85950
+ buildChildrenDataDeclaration() {
85934
85951
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
85935
85952
  }
85936
85953
  *doTraverseChildren() {
85937
85954
  // no children
85938
85955
  }
85939
- doConvert(context) {
85956
+ doConvert() {
85940
85957
  this.getCurrentNodeAs(_BrNode__WEBPACK_IMPORTED_MODULE_3__.BrNode);
85941
85958
  const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("Br");
85942
85959
  return markupBuilder.buildConverterResult();
@@ -87018,13 +87035,13 @@ class HrConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Sugar
87018
87035
  const node = this.getCurrentNodeAs(_HrNode__WEBPACK_IMPORTED_MODULE_3__.HrNode);
87019
87036
  return context.addVisibilityPathDeclEntryNew(node);
87020
87037
  }
87021
- buildChildrenDataDeclaration(context) {
87038
+ buildChildrenDataDeclaration() {
87022
87039
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
87023
87040
  }
87024
87041
  *doTraverseChildren() {
87025
87042
  // no children
87026
87043
  }
87027
- doConvert(context) {
87044
+ doConvert() {
87028
87045
  const node = this.getCurrentNodeAs(_HrNode__WEBPACK_IMPORTED_MODULE_3__.HrNode);
87029
87046
  const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("Hr");
87030
87047
  markupBuilder.prop(x => x.width).set(node.width);
@@ -87134,7 +87151,7 @@ class ImgConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_6__.Suga
87134
87151
  const node = this.getCurrentNodeAs(_ImgNode__WEBPACK_IMPORTED_MODULE_8__.ImgNode);
87135
87152
  return context.addVisibilityPathDeclEntryNew(node);
87136
87153
  }
87137
- buildChildrenDataDeclaration(context) {
87154
+ buildChildrenDataDeclaration() {
87138
87155
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_4__.emptyDataDeclarationCollection;
87139
87156
  }
87140
87157
  *doTraverseChildren() {
@@ -87239,16 +87256,16 @@ class InnertextConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2_
87239
87256
  static getAcceptNodeClass() {
87240
87257
  return _InnertextNode__WEBPACK_IMPORTED_MODULE_3__.InnertextNode;
87241
87258
  }
87242
- doBuildDataDeclaration(context) {
87259
+ doBuildDataDeclaration() {
87243
87260
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
87244
87261
  }
87245
- buildChildrenDataDeclaration(context) {
87262
+ buildChildrenDataDeclaration() {
87246
87263
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
87247
87264
  }
87248
87265
  *doTraverseChildren() {
87249
87266
  // no children
87250
87267
  }
87251
- doConvert(context) {
87268
+ doConvert() {
87252
87269
  const node = this.getCurrentNodeAs(_InnertextNode__WEBPACK_IMPORTED_MODULE_3__.InnertextNode);
87253
87270
  if (node.innertext == undefined) {
87254
87271
  return new _ConverterResults_ConverterResult__WEBPACK_IMPORTED_MODULE_1__.ConverterResult(``);
@@ -87926,7 +87943,7 @@ class PencilConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.S
87926
87943
  applyVisibilityPathProcessing() {
87927
87944
  return false;
87928
87945
  }
87929
- doBuildDataDeclaration(context) {
87946
+ doBuildDataDeclaration() {
87930
87947
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
87931
87948
  }
87932
87949
  buildChildrenDataDeclaration(context) {
@@ -88939,7 +88956,7 @@ class BodyConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Sug
88939
88956
  static getAcceptNodeClass() {
88940
88957
  return _BodyNode__WEBPACK_IMPORTED_MODULE_3__.BodyNode;
88941
88958
  }
88942
- doBuildDataDeclaration(context) {
88959
+ doBuildDataDeclaration() {
88943
88960
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
88944
88961
  }
88945
88962
  buildChildrenDataDeclaration(context) {
@@ -89033,7 +89050,7 @@ class ErrorBlockConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3
89033
89050
  static getAcceptNodeClass() {
89034
89051
  return _ErrorBlockNode__WEBPACK_IMPORTED_MODULE_4__.ErrorBlockNode;
89035
89052
  }
89036
- doBuildDataDeclaration(context) {
89053
+ doBuildDataDeclaration(_context) {
89037
89054
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
89038
89055
  }
89039
89056
  buildChildrenDataDeclaration(context) {
@@ -89127,7 +89144,7 @@ class FooterConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.S
89127
89144
  static getAcceptNodeClass() {
89128
89145
  return _FooterNode__WEBPACK_IMPORTED_MODULE_3__.FooterNode;
89129
89146
  }
89130
- doBuildDataDeclaration(context) {
89147
+ doBuildDataDeclaration() {
89131
89148
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
89132
89149
  }
89133
89150
  buildChildrenDataDeclaration(context) {
@@ -89376,7 +89393,7 @@ class ModalFormCancelConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MOD
89376
89393
  applyVisibilityPathProcessing() {
89377
89394
  return false;
89378
89395
  }
89379
- doBuildDataDeclaration(context) {
89396
+ doBuildDataDeclaration() {
89380
89397
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
89381
89398
  }
89382
89399
  buildChildrenDataDeclaration(context) {
@@ -89462,7 +89479,7 @@ class ModalFormConfirmConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MO
89462
89479
  applyVisibilityPathProcessing() {
89463
89480
  return false;
89464
89481
  }
89465
- doBuildDataDeclaration(context) {
89482
+ doBuildDataDeclaration() {
89466
89483
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
89467
89484
  }
89468
89485
  buildChildrenDataDeclaration(context) {
@@ -89725,7 +89742,7 @@ class AddRowButtonConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE
89725
89742
  }
89726
89743
  return pathDeclarations.length > 0 ? context.mergeDataDeclaration(...pathDeclarations) : _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_1__.emptyDataDeclarationCollection;
89727
89744
  }
89728
- buildChildrenDataDeclaration(context) {
89745
+ buildChildrenDataDeclaration() {
89729
89746
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_1__.emptyDataDeclarationCollection;
89730
89747
  }
89731
89748
  *doTraverseChildren() {
@@ -89898,7 +89915,7 @@ class AggregationQueryConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MO
89898
89915
  static getAcceptNodeClass() {
89899
89916
  return _AggregationQueryNode__WEBPACK_IMPORTED_MODULE_9__.AggregationQueryNode;
89900
89917
  }
89901
- doBuildDataDeclaration(context) {
89918
+ doBuildDataDeclaration(_context) {
89902
89919
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_1__.emptyDataDeclarationCollection;
89903
89920
  }
89904
89921
  buildChildrenDataDeclaration(context) {
@@ -90114,7 +90131,7 @@ class ColgroupButtonConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODU
90114
90131
  static getAcceptNodeClass() {
90115
90132
  return _ColgroupButtonNode__WEBPACK_IMPORTED_MODULE_4__.ColgroupButtonNode;
90116
90133
  }
90117
- doBuildDataDeclaration(context) {
90134
+ doBuildDataDeclaration() {
90118
90135
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
90119
90136
  }
90120
90137
  buildChildrenDataDeclaration(context) {
@@ -90299,16 +90316,16 @@ class ExprEvalConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_0__
90299
90316
  static getAcceptNodeClass() {
90300
90317
  return _ExprEvalNode__WEBPACK_IMPORTED_MODULE_7__.ExprEvalNode;
90301
90318
  }
90302
- doBuildDataDeclaration(context) {
90319
+ doBuildDataDeclaration() {
90303
90320
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_1__.emptyDataDeclarationCollection;
90304
90321
  }
90305
- buildChildrenDataDeclaration(context) {
90322
+ buildChildrenDataDeclaration() {
90306
90323
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_1__.emptyDataDeclarationCollection;
90307
90324
  }
90308
90325
  *doTraverseChildren() {
90309
90326
  // no children
90310
90327
  }
90311
- doConvert(context) {
90328
+ doConvert(_context) {
90312
90329
  var _node$expression;
90313
90330
  const node = this.getCurrentNodeAs(_ExprEvalNode__WEBPACK_IMPORTED_MODULE_7__.ExprEvalNode);
90314
90331
  const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__.componentMarkupBuilder)("ExprEval");
@@ -91561,16 +91578,16 @@ class FilterDateRangeConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MOD
91561
91578
  static getAcceptNodeClass() {
91562
91579
  return _FilterDateRangeNode__WEBPACK_IMPORTED_MODULE_4__.FilterDateRangeNode;
91563
91580
  }
91564
- doBuildDataDeclaration(context) {
91581
+ doBuildDataDeclaration() {
91565
91582
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
91566
91583
  }
91567
- buildChildrenDataDeclaration(context) {
91584
+ buildChildrenDataDeclaration() {
91568
91585
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
91569
91586
  }
91570
91587
  *doTraverseChildren() {
91571
91588
  // no children
91572
91589
  }
91573
- doConvert(context) {
91590
+ doConvert() {
91574
91591
  const node = this.getCurrentNodeAs(_FilterDateRangeNode__WEBPACK_IMPORTED_MODULE_4__.FilterDateRangeNode);
91575
91592
  const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__.componentMarkupBuilder)("FilterDateRange");
91576
91593
  markupBuilder.prop(x => x.dataPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_1__.getNewBindingPathExpression)(node, node.dataPath));
@@ -91650,16 +91667,16 @@ class FilterInputConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_
91650
91667
  static getAcceptNodeClass() {
91651
91668
  return _FilterInputNode__WEBPACK_IMPORTED_MODULE_4__.FilterInputNode;
91652
91669
  }
91653
- doBuildDataDeclaration(context) {
91670
+ doBuildDataDeclaration() {
91654
91671
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
91655
91672
  }
91656
- buildChildrenDataDeclaration(context) {
91673
+ buildChildrenDataDeclaration() {
91657
91674
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
91658
91675
  }
91659
91676
  *doTraverseChildren() {
91660
91677
  // no children
91661
91678
  }
91662
- doConvert(context) {
91679
+ doConvert() {
91663
91680
  const node = this.getCurrentNodeAs(_FilterInputNode__WEBPACK_IMPORTED_MODULE_4__.FilterInputNode);
91664
91681
  const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__.componentMarkupBuilder)("FilterInput");
91665
91682
  if (node.multilinePath != undefined) {
@@ -91797,16 +91814,16 @@ class FilterListConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3
91797
91814
  static getAcceptNodeClass() {
91798
91815
  return _FilterListNode__WEBPACK_IMPORTED_MODULE_5__.FilterListNode;
91799
91816
  }
91800
- doBuildDataDeclaration(context) {
91817
+ doBuildDataDeclaration() {
91801
91818
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
91802
91819
  }
91803
- buildChildrenDataDeclaration(context) {
91820
+ buildChildrenDataDeclaration() {
91804
91821
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
91805
91822
  }
91806
91823
  *doTraverseChildren() {
91807
91824
  // no children
91808
91825
  }
91809
- doConvert(context) {
91826
+ doConvert() {
91810
91827
  const node = this.getCurrentNodeAs(_FilterListNode__WEBPACK_IMPORTED_MODULE_5__.FilterListNode);
91811
91828
  const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__.componentMarkupBuilder)("FilterList");
91812
91829
  markupBuilder.prop(x => x.gId).set(node.gId);
@@ -91939,16 +91956,16 @@ class FilterSelectConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE
91939
91956
  static getAcceptNodeClass() {
91940
91957
  return _FilterSelectNode__WEBPACK_IMPORTED_MODULE_8__.FilterSelectNode;
91941
91958
  }
91942
- doBuildDataDeclaration(context) {
91959
+ doBuildDataDeclaration() {
91943
91960
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_1__.emptyDataDeclarationCollection;
91944
91961
  }
91945
- buildChildrenDataDeclaration(context) {
91962
+ buildChildrenDataDeclaration() {
91946
91963
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_1__.emptyDataDeclarationCollection;
91947
91964
  }
91948
91965
  *doTraverseChildren() {
91949
91966
  // noop
91950
91967
  }
91951
- doConvert(context) {
91968
+ doConvert() {
91952
91969
  const node = this.getCurrentNodeAs(_FilterSelectNode__WEBPACK_IMPORTED_MODULE_8__.FilterSelectNode);
91953
91970
  const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_3__.componentMarkupBuilder)("FilterSelect");
91954
91971
  if (node.multilinePath != undefined) {
@@ -92136,7 +92153,7 @@ class HeaderMenuConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2
92136
92153
  static getAcceptNodeClass() {
92137
92154
  return _HeaderMenuNode__WEBPACK_IMPORTED_MODULE_4__.HeaderMenuNode;
92138
92155
  }
92139
- doBuildDataDeclaration(context) {
92156
+ doBuildDataDeclaration() {
92140
92157
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
92141
92158
  }
92142
92159
  buildChildrenDataDeclaration(context) {
@@ -92253,7 +92270,7 @@ class InstanceNumberConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODU
92253
92270
  static getAcceptNodeClass() {
92254
92271
  return _InstanceNumberNode__WEBPACK_IMPORTED_MODULE_4__.InstanceNumberNode;
92255
92272
  }
92256
- doBuildDataDeclaration(context) {
92273
+ doBuildDataDeclaration() {
92257
92274
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
92258
92275
  }
92259
92276
  buildChildrenDataDeclaration() {
@@ -92686,16 +92703,16 @@ class RemoveRowButtonConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MOD
92686
92703
  static getAcceptNodeClass() {
92687
92704
  return _RemoveRowButtonNode__WEBPACK_IMPORTED_MODULE_3__.RemoveRowButtonNode;
92688
92705
  }
92689
- doBuildDataDeclaration(context) {
92706
+ doBuildDataDeclaration() {
92690
92707
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
92691
92708
  }
92692
- buildChildrenDataDeclaration(context) {
92709
+ buildChildrenDataDeclaration() {
92693
92710
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
92694
92711
  }
92695
92712
  *doTraverseChildren() {
92696
92713
  // no children
92697
92714
  }
92698
- doConvert(context) {
92715
+ doConvert() {
92699
92716
  var _node$clearLastInstan;
92700
92717
  const node = this.getCurrentNodeAs(_RemoveRowButtonNode__WEBPACK_IMPORTED_MODULE_3__.RemoveRowButtonNode);
92701
92718
  const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("RemoveRowButton");
@@ -92789,10 +92806,10 @@ class SortRadioGroupConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODU
92789
92806
  static getAcceptNodeClass() {
92790
92807
  return _SortRadioGroupNode__WEBPACK_IMPORTED_MODULE_4__.SortRadioGroupNode;
92791
92808
  }
92792
- doBuildDataDeclaration(context) {
92809
+ doBuildDataDeclaration() {
92793
92810
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
92794
92811
  }
92795
- buildChildrenDataDeclaration(context) {
92812
+ buildChildrenDataDeclaration() {
92796
92813
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
92797
92814
  }
92798
92815
  *doTraverseChildren() {
@@ -94614,7 +94631,7 @@ class TableCellConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2_
94614
94631
  static getAcceptNodeClass() {
94615
94632
  return _TableCellNode__WEBPACK_IMPORTED_MODULE_3__.TableCellNode;
94616
94633
  }
94617
- doBuildDataDeclaration(context) {
94634
+ doBuildDataDeclaration() {
94618
94635
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
94619
94636
  }
94620
94637
  buildChildrenDataDeclaration(context) {
@@ -95290,7 +95307,7 @@ class BoldConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Sug
95290
95307
  static getAcceptNodeClass() {
95291
95308
  return _BoldNode__WEBPACK_IMPORTED_MODULE_3__.BoldNode;
95292
95309
  }
95293
- doBuildDataDeclaration(context) {
95310
+ doBuildDataDeclaration() {
95294
95311
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
95295
95312
  }
95296
95313
  buildChildrenDataDeclaration(context) {
@@ -95390,21 +95407,21 @@ class EntityConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.S
95390
95407
  static getAcceptNodeClass() {
95391
95408
  return _EntityNode__WEBPACK_IMPORTED_MODULE_3__.EntityNode;
95392
95409
  }
95393
- doBuildDataDeclaration(context) {
95410
+ doBuildDataDeclaration() {
95394
95411
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
95395
95412
  }
95396
- buildChildrenDataDeclaration(context) {
95413
+ buildChildrenDataDeclaration() {
95397
95414
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
95398
95415
  }
95399
95416
  *doTraverseChildren() {
95400
95417
  // no children
95401
95418
  }
95402
- doConvert(context) {
95419
+ doConvert() {
95403
95420
  const node = this.getCurrentNodeAs(_EntityNode__WEBPACK_IMPORTED_MODULE_3__.EntityNode);
95404
95421
  if (node.value === "#32") {
95405
95422
  /* NOTE
95406
- * Странная исптория: почему-то &#32; старло прилетать в компонент в виде null-а.
95407
- * Такие испраление всё чинит, не знаю надолго ли.
95423
+ * Странная история: почему-то &#32; стало прилетать в компонент в виде null-а.
95424
+ * Такое исправление всё чинит, не знаю надолго ли.
95408
95425
  */
95409
95426
  return _ConverterResults_ConverterResult__WEBPACK_IMPORTED_MODULE_1__.ConverterResult.fromConverterResults([], `{" "}`);
95410
95427
  }
@@ -95691,7 +95708,7 @@ __webpack_require__.r(__webpack_exports__);
95691
95708
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
95692
95709
  /* harmony export */ getIconName: () => (/* binding */ getIconName)
95693
95710
  /* harmony export */ });
95694
- function getIconName(node, iconName) {
95711
+ function getIconName(_node, iconName) {
95695
95712
  // @ts-ignore Не хочу зависеть от иконок в генераторе, может быть собраться и заиспользовать babel-preeval
95696
95713
  const iconNameWeakCasted = iconName;
95697
95714
  return iconNameWeakCasted;
@@ -95730,7 +95747,7 @@ class IconConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Sug
95730
95747
  const node = this.getCurrentNodeAs(_IconNode__WEBPACK_IMPORTED_MODULE_4__.IconNode);
95731
95748
  return context.addVisibilityPathDeclEntryNew(node);
95732
95749
  }
95733
- buildChildrenDataDeclaration(context) {
95750
+ buildChildrenDataDeclaration() {
95734
95751
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
95735
95752
  }
95736
95753
  *doTraverseChildren() {
@@ -96238,7 +96255,7 @@ class HeaderPanelConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_
96238
96255
  static getAcceptNodeClass() {
96239
96256
  return _HeaderPanelNode__WEBPACK_IMPORTED_MODULE_3__.HeaderPanelNode;
96240
96257
  }
96241
- doBuildDataDeclaration(context) {
96258
+ doBuildDataDeclaration() {
96242
96259
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
96243
96260
  }
96244
96261
  buildChildrenDataDeclaration(context) {
@@ -96605,7 +96622,7 @@ class ComboBoxConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__
96605
96622
  if (typeNode == undefined && schemaTypeNode == undefined || ownPath == undefined) {
96606
96623
  return;
96607
96624
  }
96608
- yield* buildContext.buildBasicValidations(ownPath, targetPath, typeNode, schemaTypeNode, node.validationInfo.optional == undefined ? element === null || element === void 0 ? void 0 : element.isOptional() : node.validationInfo.optional, node.gId);
96625
+ yield* buildContext.buildBasicValidations(ownPath, targetPath, typeNode, schemaTypeNode, node.validationInfo.optional == undefined ? element === null || element === void 0 ? void 0 : element.isOptional() : node.validationInfo.optional, node.gId, node.validationInfo.emptydescription);
96609
96626
  }
96610
96627
  buildChildrenDataDeclaration(context) {
96611
96628
  const node = this.getCurrentNodeAs(_ComboBoxNode__WEBPACK_IMPORTED_MODULE_8__.ComboBoxNode);
@@ -97389,7 +97406,7 @@ class DiadocSuggestComboBoxConverter extends _SugarNodeConverter__WEBPACK_IMPORT
97389
97406
  optional: node.dataBinding.optional
97390
97407
  }), context.addPathSectionDeclarationEntry(node, node.dataBinding.requisite), context.addVisibilityPathDeclEntryNew(node, node.dataBinding.requisite));
97391
97408
  }
97392
- buildChildrenDataDeclaration(context) {
97409
+ buildChildrenDataDeclaration() {
97393
97410
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
97394
97411
  }
97395
97412
  *doTraverseChildren() {
@@ -97754,13 +97771,13 @@ class FiasConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Sug
97754
97771
  }
97755
97772
  return context.mergeDataDeclaration(context.addPathSectionDeclarationEntry(node, node.dataBinding.requisite), ...PathDeclarations);
97756
97773
  }
97757
- buildChildrenDataDeclaration(context) {
97774
+ buildChildrenDataDeclaration() {
97758
97775
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_3__.emptyDataDeclarationCollection;
97759
97776
  }
97760
97777
  *doTraverseChildren() {
97761
97778
  // no children
97762
97779
  }
97763
- doConvert(context) {
97780
+ doConvert() {
97764
97781
  var _node$title, _node$withSteads, _node$division, _node$searchToAddress;
97765
97782
  const node = this.getCurrentNodeAs(_FiasNode__WEBPACK_IMPORTED_MODULE_5__.FiasNode);
97766
97783
  const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("Fias");
@@ -98513,7 +98530,7 @@ class FileLoaderConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_4
98513
98530
  static getAcceptNodeClass() {
98514
98531
  return _FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode;
98515
98532
  }
98516
- *getAttachmentPaths(context) {
98533
+ *getAttachmentPaths() {
98517
98534
  const node = this.getCurrentNodeAs(_FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode);
98518
98535
  const multipleNode = !node.single;
98519
98536
  if (multipleNode) {
@@ -98522,7 +98539,7 @@ class FileLoaderConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_4
98522
98539
  yield node.getFullPath().joinWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_7__.AttachmentInfoPath);
98523
98540
  }
98524
98541
  }
98525
- doBuildNodeValidations(validationGenerator, context) {
98542
+ doBuildNodeValidations(validationGenerator) {
98526
98543
  const node = this.getCurrentNodeAs(_FileLoaderNode__WEBPACK_IMPORTED_MODULE_10__.FileLoaderNode);
98527
98544
  const multipleNode = !node.single;
98528
98545
  validationGenerator.processValidations(this.getResolvedBindingPath(node), node.validationInfo.optional, validationGenerator.getTypeNode(node.validationInfo), undefined, node.validationInfo.emptydescription, {
@@ -99009,6 +99026,7 @@ class InputConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Su
99009
99026
  });
99010
99027
  }
99011
99028
  markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_4__.getNewBindingPathExpression)(node));
99029
+ markupBuilder.prop(x => x.placeholder).set(node.placeholder);
99012
99030
  markupBuilder.prop(x => x.hint).set(this.getConverterResultFromAttributeWithMarkup(context, node.hint));
99013
99031
  markupBuilder.prop(x => x.disabled).set(node.disabled);
99014
99032
  markupBuilder.prop(x => x.showNegativeAsBrackets).set(node.showNegativeAsBrackets);
@@ -100772,13 +100790,13 @@ class RelativesComboBoxConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_M
100772
100790
  markupBuilder.prop(x => x.queryFilter).set(node.queryFilter);
100773
100791
  return markupBuilder.buildConverterResult();
100774
100792
  }
100775
- buildChildrenDataDeclaration(context) {
100793
+ buildChildrenDataDeclaration() {
100776
100794
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_1__.emptyDataDeclarationCollection;
100777
100795
  }
100778
100796
  *doTraverseChildren() {
100779
100797
  // no children
100780
100798
  }
100781
- doBuildDataDeclaration(context) {
100799
+ doBuildDataDeclaration() {
100782
100800
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_1__.emptyDataDeclarationCollection;
100783
100801
  }
100784
100802
  }
@@ -101302,10 +101320,10 @@ class SelectAllCheckboxConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_M
101302
101320
  const node = this.getCurrentNodeAs(_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_6__.SelectAllCheckboxNode);
101303
101321
  return [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_3__.getNewBindingPathExpression)(node)];
101304
101322
  }
101305
- doBuildDataDeclaration(context) {
101323
+ doBuildDataDeclaration() {
101306
101324
  return {};
101307
101325
  }
101308
- doBuildNormalizeRules(builder, formSchemaRng) {
101326
+ doBuildNormalizeRules() {
101309
101327
  var _node$pathToChecked;
101310
101328
  const node = this.getCurrentNodeAs(_SelectAllCheckboxNode__WEBPACK_IMPORTED_MODULE_6__.SelectAllCheckboxNode);
101311
101329
  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");
@@ -101724,13 +101742,13 @@ class TaxRebateConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3_
101724
101742
  const node = this.getCurrentNodeAs(_TaxRebateNode__WEBPACK_IMPORTED_MODULE_7__.TaxRebateNode);
101725
101743
  return [builder.valueInitializer(node, node.dataBinding, undefined), ...builder.specialFieldsInitializer(node, {})];
101726
101744
  }
101727
- buildChildrenDataDeclaration(context) {
101745
+ buildChildrenDataDeclaration() {
101728
101746
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_1__.emptyDataDeclarationCollection;
101729
101747
  }
101730
101748
  *doTraverseChildren() {
101731
101749
  // no children
101732
101750
  }
101733
- doConvert(context) {
101751
+ doConvert() {
101734
101752
  var _node$gId, _node$columnNames$cod, _node$columnNames, _node$columnNames$nam, _node$columnNames2, _node$columnNames$law, _node$columnNames3, _node$width;
101735
101753
  const node = this.getCurrentNodeAs(_TaxRebateNode__WEBPACK_IMPORTED_MODULE_7__.TaxRebateNode);
101736
101754
  this.ensurePathExists(node, node.dataBinding.path);
@@ -102924,7 +102942,7 @@ class RadioConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__.Su
102924
102942
  static getAcceptNodeClass() {
102925
102943
  return _RadioNode__WEBPACK_IMPORTED_MODULE_4__.RadioNode;
102926
102944
  }
102927
- doBuildDataDeclaration(context) {
102945
+ doBuildDataDeclaration() {
102928
102946
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
102929
102947
  }
102930
102948
  buildChildrenDataDeclaration(context) {
@@ -103038,10 +103056,10 @@ class DateViewConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__
103038
103056
  static getAcceptNodeClass() {
103039
103057
  return _DateViewNode__WEBPACK_IMPORTED_MODULE_5__.DateViewNode;
103040
103058
  }
103041
- doBuildDataDeclaration(context) {
103059
+ doBuildDataDeclaration() {
103042
103060
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_3__.emptyDataDeclarationCollection;
103043
103061
  }
103044
- buildChildrenDataDeclaration(context) {
103062
+ buildChildrenDataDeclaration() {
103045
103063
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_3__.emptyDataDeclarationCollection;
103046
103064
  }
103047
103065
  *doTraverseChildren() {
@@ -103051,7 +103069,7 @@ class DateViewConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__
103051
103069
  const node = this.getCurrentNodeAs(_DateViewNode__WEBPACK_IMPORTED_MODULE_5__.DateViewNode);
103052
103070
  return [node.getFullPath()];
103053
103071
  }
103054
- doConvert(context) {
103072
+ doConvert() {
103055
103073
  const node = this.getCurrentNodeAs(_DateViewNode__WEBPACK_IMPORTED_MODULE_5__.DateViewNode);
103056
103074
  const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("DateView");
103057
103075
  markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_0__.getNewBindingPathExpression)(node));
@@ -103157,7 +103175,7 @@ class FIOConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__.Suga
103157
103175
  static getAcceptNodeClass() {
103158
103176
  return _FIONode__WEBPACK_IMPORTED_MODULE_7__.FIONode;
103159
103177
  }
103160
- doConvert(context) {
103178
+ doConvert() {
103161
103179
  var _node$quotes$, _node$quotes, _node$quotes$2, _node$quotes2;
103162
103180
  const node = this.getCurrentNodeAs(_FIONode__WEBPACK_IMPORTED_MODULE_7__.FIONode);
103163
103181
  const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__.componentMarkupBuilder)("FIO");
@@ -103501,7 +103519,7 @@ class LinetextConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__
103501
103519
  static getAcceptNodeClass() {
103502
103520
  return _LineTextNode__WEBPACK_IMPORTED_MODULE_3__.LineTextNode;
103503
103521
  }
103504
- doBuildNodeValidations(validationGenerator) {
103522
+ doBuildNodeValidations() {
103505
103523
  // no validations
103506
103524
  }
103507
103525
  doBuildDataDeclaration(context) {
@@ -104043,13 +104061,13 @@ class ValueLengthConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_
104043
104061
  const node = this.getCurrentNodeAs(_ValueLengthNode__WEBPACK_IMPORTED_MODULE_4__.ValueLengthNode);
104044
104062
  return context.mergeDataDeclaration(context.addVisibilityPathDeclEntryNew(node));
104045
104063
  }
104046
- buildChildrenDataDeclaration(context) {
104064
+ buildChildrenDataDeclaration() {
104047
104065
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
104048
104066
  }
104049
104067
  *doTraverseChildren() {
104050
104068
  // no children
104051
104069
  }
104052
- doConvert(context) {
104070
+ doConvert() {
104053
104071
  const node = this.getCurrentNodeAs(_ValueLengthNode__WEBPACK_IMPORTED_MODULE_4__.ValueLengthNode);
104054
104072
  const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("ValueLength");
104055
104073
  markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_3__.getNewBindingPathExpression)(node));
@@ -105455,7 +105473,7 @@ class AttributeValueSource {
105455
105473
  this.attrName = attrName;
105456
105474
  this.valueParser = valueParser;
105457
105475
  }
105458
- extractValue(sugarXmlNode, serializer, tracer) {
105476
+ extractValue(sugarXmlNode, _serializer, tracer) {
105459
105477
  try {
105460
105478
  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());
105461
105479
  const getAttributeValueFromSingleChildNodeWithoutMarkup = childNode => {
@@ -105779,7 +105797,7 @@ class SugarNodeMetadata extends PropertiesContainerMetadataBase {
105779
105797
  }
105780
105798
  return false;
105781
105799
  }
105782
- fillFromSugarXmlNode(targetNode, sourceXmlNode, serializer, tracer) {
105800
+ fillFromSugarXmlNode(targetNode, sourceXmlNode, serializer) {
105783
105801
  const usedAttributes = new Set();
105784
105802
  const usedChildren = new Set();
105785
105803
  const usedChildElementsTracer = childElement => {
@@ -105982,7 +106000,7 @@ function sugarNode(nodeName, description, docFilesContext, canDeserialize) {
105982
106000
  (0,_ClassMetadataAccess__WEBPACK_IMPORTED_MODULE_4__.setSugarNodeMetadata)(target, sugarNodeMetadata);
105983
106001
  };
105984
106002
  }
105985
- function attrMixinNode(description, docFilesLocation) {
106003
+ function attrMixinNode() {
105986
106004
  return target => {
105987
106005
  const sugarNodeMetadata = new _SugarNodeMetadata__WEBPACK_IMPORTED_MODULE_22__.SugarAttributesMixinMetadata();
105988
106006
  for (const propertyDeserializer of (0,_ClassMetadataAccess__WEBPACK_IMPORTED_MODULE_4__.getPropertyDeserializers)(target)) {
@@ -106298,7 +106316,7 @@ class SugarNodeConverterBase {
106298
106316
  buildSugarAutoCalculations() {
106299
106317
  return Iterator.from([]);
106300
106318
  }
106301
- buildLazyLoadingDeclaration(schemaRng) {
106319
+ buildLazyLoadingDeclaration() {
106302
106320
  return [];
106303
106321
  }
106304
106322
  getParentStrictAs(nodeClass) {
@@ -106391,7 +106409,7 @@ class SugarNodeConverterBase {
106391
106409
  this.doBuildNodeValidations(validationGenerator, context);
106392
106410
  this.buildChildrenValidations(validationGenerator, context);
106393
106411
  }
106394
- *getAttachmentPaths(context) {
106412
+ *getAttachmentPaths(_context) {
106395
106413
  // no paths by default
106396
106414
  }
106397
106415
  *getAttachmentPathsWithGfvs() {
@@ -106412,7 +106430,7 @@ class SugarNodeConverterBase {
106412
106430
  }
106413
106431
  return result;
106414
106432
  }
106415
- doBuildNodeValidations(validationGenerator, context) {
106433
+ doBuildNodeValidations(_, __) {
106416
106434
  // noop
106417
106435
  }
106418
106436
  getResolvedBindingPath(node) {
@@ -106469,7 +106487,7 @@ class SugarNodeConverterBase {
106469
106487
  }
106470
106488
  }
106471
106489
  }
106472
- doBuildNormalizeRules(builder, formSchemaRng) {
106490
+ doBuildNormalizeRules(_, __) {
106473
106491
  return [];
106474
106492
  }
106475
106493
  getNodeAs(nodeClass, sourceXmlNode) {
@@ -106534,7 +106552,7 @@ class SugarNodeConverterBase {
106534
106552
  processFocusManagementAttributes(converterResult) {
106535
106553
  return _FocusManagementProcessor__WEBPACK_IMPORTED_MODULE_11__.FocusManagementProcessor.processFocusManagementAttributes(this.node, converterResult);
106536
106554
  }
106537
- doBuildKCLangValidations(buildContext, formSchemaRng) {
106555
+ doBuildKCLangValidations(_buildContext, _formSchemaRng) {
106538
106556
  return [];
106539
106557
  }
106540
106558
  }
@@ -107265,10 +107283,10 @@ class ControlCustomizationContext {
107265
107283
  }
107266
107284
  }
107267
107285
  class EmptyControlCustomizationContext {
107268
- tryGetCustomRegularControl(controlName) {
107286
+ tryGetCustomRegularControl() {
107269
107287
  return undefined;
107270
107288
  }
107271
- getControlCustomizationInfo(multiline1, overrideControl) {
107289
+ getControlCustomizationInfo() {
107272
107290
  throw new Error("");
107273
107291
  }
107274
107292
  }
@@ -107926,7 +107944,7 @@ class AttachmentsValueValidatorGenerator extends _TypeBasedValidatorGenerator__W
107926
107944
  static acceptNode(node) {
107927
107945
  return node instanceof _Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.AttachmentsTypeCheckNode;
107928
107946
  }
107929
- static createFromNode(node) {
107947
+ static createFromNode() {
107930
107948
  return new AttachmentsValueValidatorGenerator();
107931
107949
  }
107932
107950
  acceptNodeForGroup(node) {
@@ -107989,7 +108007,7 @@ class CustomValidationValueValidatorGenerator extends _TypeBasedValidatorGenerat
107989
108007
  acceptNodeForGroup(node) {
107990
108008
  return node instanceof _Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.CustomValidationTypeCheckNode && node.value === this.name;
107991
108009
  }
107992
- generatorValidator(typeNode, gId, customValidations) {
108010
+ generatorValidator(typeNode, _gId, customValidations) {
107993
108011
  var _customValidations$cu, _customValidationNode, _customValidationNode2;
107994
108012
  const customValidationNode = typeNode.getValidations(_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_2__.CustomValidationTypeCheckNode).find(x => x.value === this.name);
107995
108013
  if (customValidationNode == undefined || customValidations == undefined) {