@kontur.candy/generator 5.127.0-test-new-npm-token.1 → 5.128.0-fs-9167-error-list-in-control-protocol.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 +44 -286
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -47473,7 +47473,7 @@ class ModelPathImpl {
47473
47473
  }
47474
47474
  return this;
47475
47475
  }
47476
- trimFirstStarIfFirstToken() {
47476
+ trimFirstStarIfLastToken() {
47477
47477
  const firstItem = _IterableUtils__WEBPACK_IMPORTED_MODULE_0__.IterUtils.first(this.tokens);
47478
47478
  if (firstItem != undefined && PathTokens.isMultiToken(firstItem)) {
47479
47479
  return new ModelPathImpl(this.tokens.slice(1), this.absolute);
@@ -47512,26 +47512,6 @@ class ModelPathImpl {
47512
47512
  // @ts-expect-error
47513
47513
  return result.toPath();
47514
47514
  }
47515
- applyCommonInstancesFromAnotherPath(modelPath) {
47516
- const anotherTokens = modelPath.getPathPartsAsArray();
47517
- const updatedTokens = this.tokens.reduce((acc, token, index) => {
47518
- const anotherToken = anotherTokens[index];
47519
- const nextTokenInfo = acc.matching && (PathTokens.isMultiToken(token) && PathTokens.isInstanceToken(anotherToken) || PathTokens.isSimpleToken(token) && PathTokens.isSimpleToken(anotherToken) && token === anotherToken) ? {
47520
- nextToken: anotherToken,
47521
- matching: true
47522
- } : {
47523
- nextToken: token,
47524
- matching: false
47525
- };
47526
- acc.matching = nextTokenInfo.matching;
47527
- acc.tokens[index] = nextTokenInfo.nextToken;
47528
- return acc;
47529
- }, {
47530
- tokens: Array.from(this.tokens),
47531
- matching: true
47532
- }).tokens;
47533
- return new ModelPathImpl(updatedTokens, this.absolute);
47534
- }
47535
47515
  pathPartToString(pathPart) {
47536
47516
  if (typeof pathPart === "string") {
47537
47517
  return pathPart;
@@ -49711,7 +49691,6 @@ __webpack_require__.r(__webpack_exports__);
49711
49691
  /* harmony export */ isValidDate: () => (/* binding */ isValidDate),
49712
49692
  /* harmony export */ isValidStringDate: () => (/* binding */ isValidStringDate),
49713
49693
  /* harmony export */ parseDateString: () => (/* binding */ parseDateString),
49714
- /* harmony export */ parseDateStringAsDate: () => (/* binding */ parseDateStringAsDate),
49715
49694
  /* harmony export */ tryGetValidDateShape: () => (/* binding */ tryGetValidDateShape)
49716
49695
  /* harmony export */ });
49717
49696
  /* harmony import */ var _Engine_ValidationHelper_ValidationHelper__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Engine/ValidationHelper/ValidationHelper */ "./Engine/src/Engine/ValidationHelper/ValidationHelper.ts");
@@ -49746,10 +49725,6 @@ function tryGetValidDateShape(x) {
49746
49725
  }
49747
49726
  return undefined;
49748
49727
  }
49749
- function parseDateStringAsDate(value) {
49750
- const shape = tryGetValidDateShape(parseDateString(value));
49751
- return shape != undefined ? new Date(Date.UTC(shape.year, shape.month, shape.date)) : undefined;
49752
- }
49753
49728
  const comparator = (a, b) => {
49754
49729
  if (a.year < b.year) {
49755
49730
  return -1;
@@ -49893,9 +49868,7 @@ __webpack_require__.r(__webpack_exports__);
49893
49868
  /* harmony export */ });
49894
49869
  /* harmony import */ var _Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../Common/TypingUtils */ "./Common/TypingUtils.ts");
49895
49870
  /* harmony import */ var _DateHelpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../DateHelpers */ "./Engine/src/Helpers/DateHelpers.ts");
49896
- /* harmony import */ var _AutocalcCommonFunctions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../AutocalcCommonFunctions */ "./Engine/src/Helpers/AutocalcCommonFunctions.ts");
49897
- /* harmony import */ var _FilterExpression__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./FilterExpression */ "./Engine/src/Helpers/FilterExpressions/FilterExpression.ts");
49898
-
49871
+ /* harmony import */ var _FilterExpression__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./FilterExpression */ "./Engine/src/Helpers/FilterExpressions/FilterExpression.ts");
49899
49872
 
49900
49873
 
49901
49874
 
@@ -49906,26 +49879,22 @@ function compileFilterExpression(expression) {
49906
49879
  class FilterExpressionTransduceVisitor {
49907
49880
  transformExpression(expression) {
49908
49881
  switch (expression.operator) {
49909
- case _FilterExpression__WEBPACK_IMPORTED_MODULE_3__.OperatorType.Or:
49882
+ case _FilterExpression__WEBPACK_IMPORTED_MODULE_2__.OperatorType.Or:
49910
49883
  return this.transformOrExpression(expression);
49911
- case _FilterExpression__WEBPACK_IMPORTED_MODULE_3__.OperatorType.And:
49884
+ case _FilterExpression__WEBPACK_IMPORTED_MODULE_2__.OperatorType.And:
49912
49885
  return this.transformAndExpression(expression);
49913
- case _FilterExpression__WEBPACK_IMPORTED_MODULE_3__.OperatorType.Equal:
49886
+ case _FilterExpression__WEBPACK_IMPORTED_MODULE_2__.OperatorType.Equal:
49914
49887
  return this.transformEqualExpression(expression);
49915
- case _FilterExpression__WEBPACK_IMPORTED_MODULE_3__.OperatorType.StartDate:
49888
+ case _FilterExpression__WEBPACK_IMPORTED_MODULE_2__.OperatorType.StartDate:
49916
49889
  return this.transformStartDateExpression(expression);
49917
- case _FilterExpression__WEBPACK_IMPORTED_MODULE_3__.OperatorType.EndDate:
49890
+ case _FilterExpression__WEBPACK_IMPORTED_MODULE_2__.OperatorType.EndDate:
49918
49891
  return this.transformEndDateExpression(expression);
49919
- case _FilterExpression__WEBPACK_IMPORTED_MODULE_3__.OperatorType.Substring:
49892
+ case _FilterExpression__WEBPACK_IMPORTED_MODULE_2__.OperatorType.Substring:
49920
49893
  return this.transformSubstringExpression(expression);
49921
- case _FilterExpression__WEBPACK_IMPORTED_MODULE_3__.OperatorType.UnaryNot:
49894
+ case _FilterExpression__WEBPACK_IMPORTED_MODULE_2__.OperatorType.UnaryNot:
49922
49895
  return this.transformUnaryNotExpression(expression);
49923
- case _FilterExpression__WEBPACK_IMPORTED_MODULE_3__.OperatorType.ByInstances:
49896
+ case _FilterExpression__WEBPACK_IMPORTED_MODULE_2__.OperatorType.ByInstances:
49924
49897
  return this.transformByInstancesExpression(expression);
49925
- case _FilterExpression__WEBPACK_IMPORTED_MODULE_3__.OperatorType.LessOrEqual:
49926
- return this.transformLessOrEqualExpression(expression);
49927
- case _FilterExpression__WEBPACK_IMPORTED_MODULE_3__.OperatorType.GreaterOrEqual:
49928
- return this.transformGreaterOrEqualExpression(expression);
49929
49898
  default:
49930
49899
  (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__.ensureNever)(expression);
49931
49900
  return this.createDefaultResult();
@@ -49973,20 +49942,6 @@ class CompileFilterExpressionTransduceVisitor extends FilterExpressionTransduceV
49973
49942
  return expression.condition.instances.some(x => x === instance);
49974
49943
  };
49975
49944
  }
49976
- transformLessOrEqualExpression(expression) {
49977
- const conditionValue = (0,_AutocalcCommonFunctions__WEBPACK_IMPORTED_MODULE_2__.wrapDecimalOrUndefined)(this.transformConditionValueExpression(expression.condition));
49978
- return getModelValuesFn => getModelValuesFn(expression.condition.dataPath).some(x => {
49979
- const typedDataPathValue = (0,_AutocalcCommonFunctions__WEBPACK_IMPORTED_MODULE_2__.wrapDecimalOrUndefined)(x);
49980
- return conditionValue != undefined && typedDataPathValue != undefined ? typedDataPathValue.lte(conditionValue) : false;
49981
- });
49982
- }
49983
- transformGreaterOrEqualExpression(expression) {
49984
- const conditionValue = (0,_AutocalcCommonFunctions__WEBPACK_IMPORTED_MODULE_2__.wrapDecimalOrUndefined)(this.transformConditionValueExpression(expression.condition));
49985
- return getModelValuesFn => getModelValuesFn(expression.condition.dataPath).some(x => {
49986
- const typedDataPathValue = (0,_AutocalcCommonFunctions__WEBPACK_IMPORTED_MODULE_2__.wrapDecimalOrUndefined)(x);
49987
- return conditionValue != undefined && typedDataPathValue != undefined ? typedDataPathValue.gte(conditionValue) : false;
49988
- });
49989
- }
49990
49945
  }
49991
49946
  function stringNormalize(str) {
49992
49947
  return str.trim().toLocaleLowerCase();
@@ -50043,8 +49998,6 @@ let OperatorType = /*#__PURE__*/function (OperatorType) {
50043
49998
  OperatorType["EndDate"] = "endDate";
50044
49999
  OperatorType["Substring"] = "substring";
50045
50000
  OperatorType["ByInstances"] = "byInstances";
50046
- OperatorType["LessOrEqual"] = "lessOrEqual";
50047
- OperatorType["GreaterOrEqual"] = "greaterOrEqual";
50048
50001
  return OperatorType;
50049
50002
  }({});
50050
50003
  let FilterType = /*#__PURE__*/function (FilterType) {
@@ -50143,24 +50096,6 @@ class FilterExpressionResolveBindingPaths extends _CompileFilterExpression__WEBP
50143
50096
  condition: this.transformExpression(expression.condition)
50144
50097
  };
50145
50098
  }
50146
- transformLessOrEqualExpression(expression) {
50147
- return {
50148
- ...expression,
50149
- condition: {
50150
- ...expression.condition,
50151
- dataPath: this.pathResolver(expression.condition.dataPath)
50152
- }
50153
- };
50154
- }
50155
- transformGreaterOrEqualExpression(expression) {
50156
- return {
50157
- ...expression,
50158
- condition: {
50159
- ...expression.condition,
50160
- dataPath: this.pathResolver(expression.condition.dataPath)
50161
- }
50162
- };
50163
- }
50164
50099
  }
50165
50100
 
50166
50101
  /***/ }),
@@ -50843,7 +50778,6 @@ __webpack_require__.r(__webpack_exports__);
50843
50778
  /* harmony export */ existsKCLangFunction: () => (/* binding */ existsKCLangFunction),
50844
50779
  /* harmony export */ firstOrDefaultKCLangFunction: () => (/* binding */ firstOrDefaultKCLangFunction),
50845
50780
  /* harmony export */ floorKCLangFunction: () => (/* binding */ floorKCLangFunction),
50846
- /* harmony export */ getDateTimeTicksKCLangFunction: () => (/* binding */ getDateTimeTicksKCLangFunction),
50847
50781
  /* harmony export */ getDayKCLangFunction: () => (/* binding */ getDayKCLangFunction),
50848
50782
  /* harmony export */ getDaysInMonthKCLangFunction: () => (/* binding */ getDaysInMonthKCLangFunction),
50849
50783
  /* harmony export */ getMonthKCLangFunction: () => (/* binding */ getMonthKCLangFunction),
@@ -51663,22 +51597,6 @@ const denominatorKCLangFunction = params => {
51663
51597
  expression: param
51664
51598
  };
51665
51599
  };
51666
- const getDateTimeTicksKCLangFunction = params => {
51667
- var _params$58;
51668
- const errors = Array.from(validateParams(params, 1));
51669
- if (errors.length > 0) {
51670
- return new FunctionValidationErrorCollection(errors);
51671
- }
51672
- const expr = (_params$58 = params[0]) === null || _params$58 === void 0 ? void 0 : _params$58.value;
51673
- if (expr == undefined) {
51674
- const argumentsValidationError = new ArgumentValidationError("Invalid arguments expression");
51675
- return new FunctionValidationErrorCollection([argumentsValidationError]);
51676
- }
51677
- return {
51678
- type: "getDateTimeTicks",
51679
- expression: expr
51680
- };
51681
- };
51682
51600
 
51683
51601
  /***/ }),
51684
51602
 
@@ -51758,8 +51676,7 @@ const getKCLangGlobalFunctionBuilders = () => ({
51758
51676
  join: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_7__.joinKCLangFunction],
51759
51677
  isEqualToAutoCalculated: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_7__.isEqualToAutoCalculatedFunction],
51760
51678
  numerator: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_7__.numeratorKCLangFunction],
51761
- denominator: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_7__.denominatorKCLangFunction],
51762
- getDateTimeTicks: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_7__.getDateTimeTicksKCLangFunction]
51679
+ denominator: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_7__.denominatorKCLangFunction]
51763
51680
  });
51764
51681
  class KCLangAntlrParser {
51765
51682
  static parse(code) {
@@ -52154,7 +52071,7 @@ class KCLangAntlrVisitor {
52154
52071
  dataType = "array";
52155
52072
  break;
52156
52073
  default:
52157
- throw Error(`visitType syntax incorrect: ${contextName} is not supported!`);
52074
+ throw Error("visitType syntax incorrect");
52158
52075
  }
52159
52076
  return {
52160
52077
  type: "CastDataTypeNode",
@@ -60456,32 +60373,6 @@ class FunctionCall extends _KCLangExpression__WEBPACK_IMPORTED_MODULE_0__.KCLang
60456
60373
 
60457
60374
  /***/ }),
60458
60375
 
60459
- /***/ "./Generator/src/common/KCLang/CodeDom/Functions/DateTimeFunctionCall.ts":
60460
- /*!*******************************************************************************!*\
60461
- !*** ./Generator/src/common/KCLang/CodeDom/Functions/DateTimeFunctionCall.ts ***!
60462
- \*******************************************************************************/
60463
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
60464
-
60465
- "use strict";
60466
- __webpack_require__.r(__webpack_exports__);
60467
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
60468
- /* harmony export */ DateTimeFunctionCall: () => (/* binding */ DateTimeFunctionCall)
60469
- /* harmony export */ });
60470
- /* harmony import */ var _FunctionCall__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../FunctionCall */ "./Generator/src/common/KCLang/CodeDom/FunctionCall.ts");
60471
- /* harmony import */ var _KCLangType__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../KCLangType */ "./Generator/src/common/KCLang/CodeDom/KCLangType.ts");
60472
-
60473
-
60474
- class DateTimeFunctionCall extends _FunctionCall__WEBPACK_IMPORTED_MODULE_0__.FunctionCall {
60475
- constructor(expr) {
60476
- super("dateTime", [expr]);
60477
- }
60478
- getType() {
60479
- return _KCLangType__WEBPACK_IMPORTED_MODULE_1__.DateType.default;
60480
- }
60481
- }
60482
-
60483
- /***/ }),
60484
-
60485
60376
  /***/ "./Generator/src/common/KCLang/CodeDom/Functions/ExistsFunctionCall.ts":
60486
60377
  /*!*****************************************************************************!*\
60487
60378
  !*** ./Generator/src/common/KCLang/CodeDom/Functions/ExistsFunctionCall.ts ***!
@@ -60508,32 +60399,6 @@ class ExistsFunctionCall extends _FunctionCall__WEBPACK_IMPORTED_MODULE_0__.Func
60508
60399
 
60509
60400
  /***/ }),
60510
60401
 
60511
- /***/ "./Generator/src/common/KCLang/CodeDom/Functions/GetDateTimeTicksFunctionCall.ts":
60512
- /*!***************************************************************************************!*\
60513
- !*** ./Generator/src/common/KCLang/CodeDom/Functions/GetDateTimeTicksFunctionCall.ts ***!
60514
- \***************************************************************************************/
60515
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
60516
-
60517
- "use strict";
60518
- __webpack_require__.r(__webpack_exports__);
60519
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
60520
- /* harmony export */ GetDateTimeTicksFunctionCall: () => (/* binding */ GetDateTimeTicksFunctionCall)
60521
- /* harmony export */ });
60522
- /* harmony import */ var _FunctionCall__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../FunctionCall */ "./Generator/src/common/KCLang/CodeDom/FunctionCall.ts");
60523
- /* harmony import */ var _KCLangType__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../KCLangType */ "./Generator/src/common/KCLang/CodeDom/KCLangType.ts");
60524
-
60525
-
60526
- class GetDateTimeTicksFunctionCall extends _FunctionCall__WEBPACK_IMPORTED_MODULE_0__.FunctionCall {
60527
- constructor(expr) {
60528
- super("getDateTimeTicks", [expr]);
60529
- }
60530
- getType() {
60531
- return _KCLangType__WEBPACK_IMPORTED_MODULE_1__.DecimalType.default;
60532
- }
60533
- }
60534
-
60535
- /***/ }),
60536
-
60537
60402
  /***/ "./Generator/src/common/KCLang/CodeDom/Functions/GetPicklistValuesFunctionCall.ts":
60538
60403
  /*!****************************************************************************************!*\
60539
60404
  !*** ./Generator/src/common/KCLang/CodeDom/Functions/GetPicklistValuesFunctionCall.ts ***!
@@ -61718,9 +61583,6 @@ function traverseKCLangExpression(node, visitor) {
61718
61583
  case "denominator":
61719
61584
  visitor.visitDenominatorKCLangNode(node);
61720
61585
  break;
61721
- case "getDateTimeTicks":
61722
- visitor.visitGetDateTimeTicksNode(node);
61723
- break;
61724
61586
  default:
61725
61587
  (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__.ensureNever)(node);
61726
61588
  break;
@@ -61730,9 +61592,6 @@ class DefaultKCLangExpressionVisitor {
61730
61592
  visitAbsKCLangNode(_node) {
61731
61593
  // default empty implementation
61732
61594
  }
61733
- visitGetDateTimeTicksNode(_node) {
61734
- // default empty implementation
61735
- }
61736
61595
  visitArrayKCLangNode(_node) {
61737
61596
  // default empty implementation
61738
61597
  }
@@ -62253,7 +62112,6 @@ const getGenerateJsExpressionFunc = options => {
62253
62112
  case "makeDict":
62254
62113
  case "getSumByKeys":
62255
62114
  case "join":
62256
- case "getDateTimeTicks":
62257
62115
  throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_1__.NotImplementedError();
62258
62116
  default:
62259
62117
  (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__.ensureNever)(expression);
@@ -62445,10 +62303,9 @@ function generateKCXmlExpression(expression, prefixPath = "") {
62445
62303
  throw new Error(`One of supports only array literal on the right`);
62446
62304
  }
62447
62305
  }
62448
- case "getDateTimeTicks":
62449
- return [`<m:getDateTimeTicks>`, (0,_Common_IndentString__WEBPACK_IMPORTED_MODULE_2__.indent)(generateKCXmlExpression(expression.expression, prefixPath), 1), `</m:getDateTimeTicks>`].join("\n");
62450
62306
  default:
62451
- return (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_1__.reject)(`Expression '${expression}' is not supported`);
62307
+ // @ts-ignore
62308
+ throw new Error(`Expression of type '${expression.type}' is not supported`);
62452
62309
  }
62453
62310
  }
62454
62311
  function isPathPrefix(contextBlock) {
@@ -68590,7 +68447,6 @@ __webpack_require__.r(__webpack_exports__);
68590
68447
  /* harmony export */ FormulaFirstOrDefaultExpression: () => (/* binding */ FormulaFirstOrDefaultExpression),
68591
68448
  /* harmony export */ FormulaFloorExpression: () => (/* binding */ FormulaFloorExpression),
68592
68449
  /* harmony export */ FormulaGeExpression: () => (/* binding */ FormulaGeExpression),
68593
- /* harmony export */ FormulaGetDateTimeTicksExpression: () => (/* binding */ FormulaGetDateTimeTicksExpression),
68594
68450
  /* harmony export */ FormulaGetDayExpression: () => (/* binding */ FormulaGetDayExpression),
68595
68451
  /* harmony export */ FormulaGetDaysInMonthExpression: () => (/* binding */ FormulaGetDaysInMonthExpression),
68596
68452
  /* harmony export */ FormulaGetMonthExpression: () => (/* binding */ FormulaGetMonthExpression),
@@ -68652,7 +68508,7 @@ __webpack_require__.r(__webpack_exports__);
68652
68508
 
68653
68509
 
68654
68510
 
68655
- var _dec, _dec2, _class, _class2, _descriptor, _dec3, _class3, _dec4, _dec5, _class4, _class5, _descriptor2, _dec6, _dec7, _class6, _class7, _descriptor3, _dec8, _dec9, _class8, _class9, _descriptor4, _dec10, _dec11, _class10, _class11, _descriptor5, _dec12, _dec13, _class12, _class13, _descriptor6, _dec14, _dec15, _dec16, _class14, _class15, _descriptor7, _descriptor8, _dec17, _dec18, _dec19, _class16, _class17, _descriptor9, _descriptor10, _dec20, _dec21, _class18, _class19, _descriptor11, _dec22, _dec23, _class20, _class21, _descriptor12, _dec24, _dec25, _class22, _class23, _descriptor13, _dec26, _dec27, _class24, _class25, _descriptor14, _dec28, _dec29, _class26, _class27, _descriptor15, _dec30, _dec31, _class28, _class29, _descriptor16, _dec32, _dec33, _class30, _class31, _descriptor17, _dec34, _dec35, _class32, _class33, _descriptor18, _dec36, _dec37, _class34, _class35, _descriptor19, _dec38, _dec39, _dec40, _dec41, _class36, _class37, _descriptor20, _descriptor21, _descriptor22, _dec42, _dec43, _class38, _class39, _descriptor23, _dec44, _dec45, _class40, _class41, _descriptor24, _dec46, _dec47, _dec48, _class42, _class43, _descriptor25, _descriptor26, _dec49, _dec50, _class44, _class45, _descriptor27, _dec51, _dec52, _class46, _class47, _descriptor28, _dec53, _dec54, _class48, _class49, _descriptor29, _dec55, _dec56, _class50, _class51, _descriptor30, _dec57, _dec58, _dec59, _class52, _class53, _descriptor31, _descriptor32, _dec60, _dec61, _dec62, _dec63, _class54, _class55, _descriptor33, _descriptor34, _descriptor35, _dec64, _dec65, _dec66, _class56, _class57, _descriptor36, _descriptor37, _dec67, _class58, _dec68, _dec69, _class59, _class60, _descriptor38, _dec70, _dec71, _class61, _class62, _descriptor39, _dec72, _dec73, _class63, _class64, _descriptor40, _dec74, _dec75, _class65, _class66, _descriptor41, _dec76, _dec77, _class67, _class68, _descriptor42, _dec78, _dec79, _class69, _class70, _descriptor43, _dec80, _dec81, _class71, _class72, _descriptor44, _dec82, _dec83, _class73, _class74, _descriptor45, _dec84, _dec85, _dec86, _class75, _class76, _descriptor46, _descriptor47, _dec87, _dec88, _dec89, _class77, _class78, _descriptor48, _descriptor49, _dec90, _dec91, _dec92, _class79, _class80, _descriptor50, _descriptor51, _dec93, _dec94, _dec95, _class81, _class82, _descriptor52, _descriptor53, _dec96, _dec97, _class83, _class84, _descriptor54, _dec98, _dec99, _class85, _class86, _descriptor55, _dec100, _dec101, _class87, _class88, _descriptor56, _dec102, _dec103, _class89, _class90, _descriptor57, _dec104, _dec105, _class91, _class92, _descriptor58, _dec106, _dec107, _class93, _class94, _descriptor59, _dec108, _dec109, _class95, _class96, _descriptor60, _dec110, _dec111, _class97, _class98, _descriptor61, _dec112, _dec113, _class99, _class100, _descriptor62, _dec114, _dec115, _dec116, _class101, _class102, _descriptor63, _descriptor64, _dec117, _dec118, _dec119, _class103, _class104, _descriptor65, _descriptor66, _dec120, _dec121, _class105, _class106, _descriptor67, _dec122, _dec123, _class107, _class108, _descriptor68, _dec124, _dec125, _class109, _class110, _descriptor69, _dec126, _dec127, _dec128, _dec129, _dec130, _class111, _class112, _descriptor70, _descriptor71, _descriptor72, _descriptor73, _dec131, _dec132, _class113, _class114, _descriptor74, _dec133, _dec134, _class115, _class116, _descriptor75, _dec135, _dec136, _class117, _class118, _descriptor76, _dec137, _dec138, _class119, _class120, _descriptor77, _dec139, _dec140, _dec141, _class121, _class122, _descriptor78, _descriptor79, _dec142, _dec143, _class123, _class124, _descriptor80, _dec144, _dec145, _dec146, _class125, _class126, _descriptor81, _descriptor82, _dec147, _dec148, _class127, _class128, _descriptor83, _dec149, _dec150, _class129, _class130, _descriptor84, _dec151, _dec152, _class131, _class132, _descriptor85, _dec153, _class133, _dec154, _dec155, _dec156, _dec157, _class134, _class135, _descriptor86, _descriptor87, _descriptor88, _dec158, _dec159, _class136, _class137, _descriptor89, _dec160, _dec161, _class138, _class139, _descriptor90, _dec162, _dec163, _dec164, _dec165, _dec166, _dec167, _class140, _class141, _descriptor91, _descriptor92, _descriptor93, _descriptor94, _descriptor95, _dec168, _dec169, _class142, _class143, _descriptor96, _dec170, _dec171, _dec172, _class144, _class145, _descriptor97, _descriptor98, _dec173, _dec174, _dec175, _class146, _class147, _descriptor99, _descriptor100, _dec176, _dec177, _dec178, _class148, _class149, _descriptor101, _descriptor102, _dec179, _dec180, _dec181, _dec182, _class150, _class151, _descriptor103, _descriptor104, _descriptor105, _dec183, _dec184, _dec185, _class152, _class153, _descriptor106, _descriptor107, _dec186, _dec187, _class154, _class155, _descriptor108, _dec188, _dec189, _class156, _class157, _descriptor109, _dec190, _dec191, _class158, _class159, _descriptor110;
68511
+ var _dec, _dec2, _class, _class2, _descriptor, _dec3, _class3, _dec4, _dec5, _class4, _class5, _descriptor2, _dec6, _dec7, _class6, _class7, _descriptor3, _dec8, _dec9, _class8, _class9, _descriptor4, _dec10, _dec11, _class10, _class11, _descriptor5, _dec12, _dec13, _class12, _class13, _descriptor6, _dec14, _dec15, _dec16, _class14, _class15, _descriptor7, _descriptor8, _dec17, _dec18, _dec19, _class16, _class17, _descriptor9, _descriptor10, _dec20, _dec21, _class18, _class19, _descriptor11, _dec22, _dec23, _class20, _class21, _descriptor12, _dec24, _dec25, _class22, _class23, _descriptor13, _dec26, _dec27, _class24, _class25, _descriptor14, _dec28, _dec29, _class26, _class27, _descriptor15, _dec30, _dec31, _class28, _class29, _descriptor16, _dec32, _dec33, _class30, _class31, _descriptor17, _dec34, _dec35, _class32, _class33, _descriptor18, _dec36, _dec37, _class34, _class35, _descriptor19, _dec38, _dec39, _dec40, _dec41, _class36, _class37, _descriptor20, _descriptor21, _descriptor22, _dec42, _dec43, _class38, _class39, _descriptor23, _dec44, _dec45, _class40, _class41, _descriptor24, _dec46, _dec47, _dec48, _class42, _class43, _descriptor25, _descriptor26, _dec49, _dec50, _class44, _class45, _descriptor27, _dec51, _dec52, _class46, _class47, _descriptor28, _dec53, _dec54, _class48, _class49, _descriptor29, _dec55, _dec56, _class50, _class51, _descriptor30, _dec57, _dec58, _dec59, _class52, _class53, _descriptor31, _descriptor32, _dec60, _dec61, _dec62, _dec63, _class54, _class55, _descriptor33, _descriptor34, _descriptor35, _dec64, _dec65, _dec66, _class56, _class57, _descriptor36, _descriptor37, _dec67, _class58, _dec68, _dec69, _class59, _class60, _descriptor38, _dec70, _dec71, _class61, _class62, _descriptor39, _dec72, _dec73, _class63, _class64, _descriptor40, _dec74, _dec75, _class65, _class66, _descriptor41, _dec76, _dec77, _class67, _class68, _descriptor42, _dec78, _dec79, _class69, _class70, _descriptor43, _dec80, _dec81, _class71, _class72, _descriptor44, _dec82, _dec83, _class73, _class74, _descriptor45, _dec84, _dec85, _dec86, _class75, _class76, _descriptor46, _descriptor47, _dec87, _dec88, _dec89, _class77, _class78, _descriptor48, _descriptor49, _dec90, _dec91, _dec92, _class79, _class80, _descriptor50, _descriptor51, _dec93, _dec94, _dec95, _class81, _class82, _descriptor52, _descriptor53, _dec96, _dec97, _class83, _class84, _descriptor54, _dec98, _dec99, _class85, _class86, _descriptor55, _dec100, _dec101, _class87, _class88, _descriptor56, _dec102, _dec103, _class89, _class90, _descriptor57, _dec104, _dec105, _class91, _class92, _descriptor58, _dec106, _dec107, _class93, _class94, _descriptor59, _dec108, _dec109, _class95, _class96, _descriptor60, _dec110, _dec111, _class97, _class98, _descriptor61, _dec112, _dec113, _class99, _class100, _descriptor62, _dec114, _dec115, _dec116, _class101, _class102, _descriptor63, _descriptor64, _dec117, _dec118, _dec119, _class103, _class104, _descriptor65, _descriptor66, _dec120, _dec121, _class105, _class106, _descriptor67, _dec122, _dec123, _class107, _class108, _descriptor68, _dec124, _dec125, _class109, _class110, _descriptor69, _dec126, _dec127, _dec128, _dec129, _dec130, _class111, _class112, _descriptor70, _descriptor71, _descriptor72, _descriptor73, _dec131, _dec132, _class113, _class114, _descriptor74, _dec133, _dec134, _class115, _class116, _descriptor75, _dec135, _dec136, _class117, _class118, _descriptor76, _dec137, _dec138, _class119, _class120, _descriptor77, _dec139, _dec140, _dec141, _class121, _class122, _descriptor78, _descriptor79, _dec142, _dec143, _class123, _class124, _descriptor80, _dec144, _dec145, _dec146, _class125, _class126, _descriptor81, _descriptor82, _dec147, _dec148, _class127, _class128, _descriptor83, _dec149, _dec150, _class129, _class130, _descriptor84, _dec151, _dec152, _class131, _class132, _descriptor85, _dec153, _class133, _dec154, _dec155, _dec156, _dec157, _class134, _class135, _descriptor86, _descriptor87, _descriptor88, _dec158, _dec159, _class136, _class137, _descriptor89, _dec160, _dec161, _class138, _class139, _descriptor90, _dec162, _dec163, _dec164, _dec165, _dec166, _dec167, _class140, _class141, _descriptor91, _descriptor92, _descriptor93, _descriptor94, _descriptor95, _dec168, _dec169, _class142, _class143, _descriptor96, _dec170, _dec171, _dec172, _class144, _class145, _descriptor97, _descriptor98, _dec173, _dec174, _dec175, _class146, _class147, _descriptor99, _descriptor100, _dec176, _dec177, _dec178, _class148, _class149, _descriptor101, _descriptor102, _dec179, _dec180, _dec181, _dec182, _class150, _class151, _descriptor103, _descriptor104, _descriptor105, _dec183, _dec184, _dec185, _class152, _class153, _descriptor106, _descriptor107, _dec186, _dec187, _class154, _class155, _descriptor108, _dec188, _dec189, _class156, _class157, _descriptor109;
68656
68512
 
68657
68513
 
68658
68514
 
@@ -69805,21 +69661,7 @@ let FormulaDenominatorExpression = (_dec188 = (0,_markupGenerator_Serializer_Sug
69805
69661
  writable: true,
69806
69662
  initializer: null
69807
69663
  }), _class157)) || _class156);
69808
- let FormulaGetDateTimeTicksExpression = (_dec190 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("getdatetimeticks", `Получить количество тиков от 01.01.0001`), _dec191 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec190(_class158 = (_class159 = class FormulaGetDateTimeTicksExpression extends FormulaExpression {
69809
- constructor(...args) {
69810
- super(...args);
69811
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor110, this);
69812
- }
69813
- getLegacyExpressionTypeForFunctionName() {
69814
- return "getDateTimeTicks";
69815
- }
69816
- }, _descriptor110 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class159.prototype, "expression", [_dec191], {
69817
- configurable: true,
69818
- enumerable: true,
69819
- writable: true,
69820
- initializer: null
69821
- }), _class159)) || _class158);
69822
- const formulaExpressions = [FormulaSumExpression, FormulaArgumentExpression, FormulaConstExpression, FormulaMultySumExpression, FormulaRoundExpression, FormulaFloorExpression, FormulaAbsExpression, FormulaDivisionExpression, FormulaMinusExpression, FormulaMultiplyExpression, FormulaChooseExpression, FormulaEqExpression, FormulaGtExpression, FormulaLtExpression, FormulaGeExpression, FormulaLeExpression, FormulaAndExpression, FormulaOrExpression, FormulaNotExpression, FormulaRegexMatchExpression, FormulaSubstringExpression, FormulaXAbsExpression, FormulaExistsExpression, FormulaLengthExpression, FormulaWhenExpression, FormulaCountExpression, FormulaInstanceCountExpression, FormulaIsEqualToAutoCalculatedExpression, FormulaDateNowExpression, FormulaGetDaysInMonthExpression, FormulaGetDayExpression, FormulaGetMonthExpression, FormulaGetYearExpression, FormulaIsDateExpression, FormulaDifferenceInMonthsExpression, FormulaDifferenceInDaysExpression, FormulaAddDaysExpression, FormulaAddMonthsExpression, FormulaAddYearsExpression, FormulaDateToStringExpression, FormulaDateTimeExpression, FormulaSumOfDayWeightsExpression, FormulaIsSnilsExpression, FormulaIsRegNumSfrExpression, FormulaIsInnExpression, FormulaIsOgrnExpression, FormulaIsValidAccountNumberExpression, FormulaIsValidMirCardNumberExpression, FormulaCastExpression, FormulaConcatExpression, FormulaGroupSumExpression, FormulaGroupCountExpression, FormulaNewLineExpression, FormulaOneOfExpression, FormulaGetPicklistValuesExpression, FormulaArrayExpression, FormulaFirstOrDefaultExpression, FormulaHashSetExpression, FormulaFilterColumnExpression, FormulaFilterKeyExpression, FormulaNoDepsNode, FormulaHasAutoFlagExpression, FormulaMakeDictExpression, FormulaGetSumByKeysExpression, FormulaJoinExpression, FormulaPropertyByNameExpression, FormulaNumeratorExpression, FormulaDenominatorExpression, FormulaGetDateTimeTicksExpression];
69664
+ const formulaExpressions = [FormulaSumExpression, FormulaArgumentExpression, FormulaConstExpression, FormulaMultySumExpression, FormulaRoundExpression, FormulaFloorExpression, FormulaAbsExpression, FormulaDivisionExpression, FormulaMinusExpression, FormulaMultiplyExpression, FormulaChooseExpression, FormulaEqExpression, FormulaGtExpression, FormulaLtExpression, FormulaGeExpression, FormulaLeExpression, FormulaAndExpression, FormulaOrExpression, FormulaNotExpression, FormulaRegexMatchExpression, FormulaSubstringExpression, FormulaXAbsExpression, FormulaExistsExpression, FormulaLengthExpression, FormulaWhenExpression, FormulaCountExpression, FormulaInstanceCountExpression, FormulaIsEqualToAutoCalculatedExpression, FormulaDateNowExpression, FormulaGetDaysInMonthExpression, FormulaGetDayExpression, FormulaGetMonthExpression, FormulaGetYearExpression, FormulaIsDateExpression, FormulaDifferenceInMonthsExpression, FormulaDifferenceInDaysExpression, FormulaAddDaysExpression, FormulaAddMonthsExpression, FormulaAddYearsExpression, FormulaDateToStringExpression, FormulaDateTimeExpression, FormulaSumOfDayWeightsExpression, FormulaIsSnilsExpression, FormulaIsRegNumSfrExpression, FormulaIsInnExpression, FormulaIsOgrnExpression, FormulaIsValidAccountNumberExpression, FormulaIsValidMirCardNumberExpression, FormulaCastExpression, FormulaConcatExpression, FormulaGroupSumExpression, FormulaGroupCountExpression, FormulaNewLineExpression, FormulaOneOfExpression, FormulaGetPicklistValuesExpression, FormulaArrayExpression, FormulaFirstOrDefaultExpression, FormulaHashSetExpression, FormulaFilterColumnExpression, FormulaFilterKeyExpression, FormulaNoDepsNode, FormulaHasAutoFlagExpression, FormulaMakeDictExpression, FormulaGetSumByKeysExpression, FormulaJoinExpression, FormulaPropertyByNameExpression, FormulaNumeratorExpression, FormulaDenominatorExpression];
69823
69665
 
69824
69666
  /***/ }),
69825
69667
 
@@ -72527,9 +72369,6 @@ class KCXmlGeneratorBase {
72527
72369
  if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_1__.FormulaSumOfDayWeightsExpression) {
72528
72370
  return "null";
72529
72371
  }
72530
- if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_1__.FormulaGetDateTimeTicksExpression) {
72531
- return "null";
72532
- }
72533
72372
  // -----
72534
72373
 
72535
72374
  throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_5__.NotSupportedError(`Unsupported node type: ${expression.constructor.name}`);
@@ -73765,7 +73604,6 @@ __webpack_require__.r(__webpack_exports__);
73765
73604
  /* harmony export */ FloorExpression: () => (/* binding */ FloorExpression),
73766
73605
  /* harmony export */ FractionalLenExpression: () => (/* binding */ FractionalLenExpression),
73767
73606
  /* harmony export */ GeExpression: () => (/* binding */ GeExpression),
73768
- /* harmony export */ GetDateTimeTicksExpression: () => (/* binding */ GetDateTimeTicksExpression),
73769
73607
  /* harmony export */ GetDayExpression: () => (/* binding */ GetDayExpression),
73770
73608
  /* harmony export */ GetDaysInMonthExpression: () => (/* binding */ GetDaysInMonthExpression),
73771
73609
  /* harmony export */ GetExternalInfoExpression: () => (/* binding */ GetExternalInfoExpression),
@@ -74491,19 +74329,6 @@ class RoundExpression extends FLangDecimalExpression {
74491
74329
  return `round(${this.expression.convertToString()}, ${fractionalPart})`;
74492
74330
  }
74493
74331
  }
74494
- class GetDateTimeTicksExpression extends FLangDecimalExpression {
74495
- constructor(expression) {
74496
- super();
74497
- this.expression = void 0;
74498
- this.expression = expression;
74499
- }
74500
- *getChildNodes() {
74501
- yield this.expression;
74502
- }
74503
- convertToString() {
74504
- return `getDateTimeTicks(${this.expression.convertToString()})`;
74505
- }
74506
- }
74507
74332
  class FloorExpression extends FLangDecimalExpression {
74508
74333
  constructor(expression) {
74509
74334
  super();
@@ -75280,7 +75105,6 @@ __webpack_require__.r(__webpack_exports__);
75280
75105
  /* harmony export */ combineByOrFlangExpr: () => (/* binding */ combineByOrFlangExpr),
75281
75106
  /* harmony export */ combineRulesWithOptionalSectionChecking: () => (/* binding */ combineRulesWithOptionalSectionChecking),
75282
75107
  /* harmony export */ composeFlangExpressionsByOr: () => (/* binding */ composeFlangExpressionsByOr),
75283
- /* harmony export */ decimalFieldNameSuffix: () => (/* binding */ decimalFieldNameSuffix),
75284
75108
  /* harmony export */ decimalWrapper: () => (/* binding */ decimalWrapper),
75285
75109
  /* harmony export */ dictFieldNameSuffix: () => (/* binding */ dictFieldNameSuffix),
75286
75110
  /* harmony export */ ensureCorrectFieldNameByExpressionType: () => (/* binding */ ensureCorrectFieldNameByExpressionType),
@@ -75315,7 +75139,6 @@ __webpack_require__.r(__webpack_exports__);
75315
75139
 
75316
75140
 
75317
75141
 
75318
- const decimalFieldNameSuffix = "_decimal";
75319
75142
  const dictFieldNameSuffix = "_dict";
75320
75143
  const arrayFieldNameSuffix = "_array";
75321
75144
  const hashSetFieldNameSuffix = "_hashSet";
@@ -75410,8 +75233,8 @@ function tryExtractValueReferenceAsStringFromDecimal(expression) {
75410
75233
  }
75411
75234
  return expression;
75412
75235
  }
75413
- function castFinalExpressionToStringIfNeed(operandExpression, enableTypedExpression, fullTarget, decimalFormat = "G29") {
75414
- if (enableTypedExpression && (operandExpression.getType() === _FLangCodeDom__WEBPACK_IMPORTED_MODULE_6__.BuildInTypeExpression.dict || operandExpression.getType() === _FLangCodeDom__WEBPACK_IMPORTED_MODULE_6__.BuildInTypeExpression.array || operandExpression.getType() === _FLangCodeDom__WEBPACK_IMPORTED_MODULE_6__.BuildInTypeExpression.hashSet || operandExpression.getType() === _FLangCodeDom__WEBPACK_IMPORTED_MODULE_6__.BuildInTypeExpression.decimal && fullTarget.toString().endsWith(decimalFieldNameSuffix))) {
75236
+ function castFinalExpressionToStringIfNeed(operandExpression, enableTypedExpression, decimalFormat = "G29") {
75237
+ if (enableTypedExpression && (operandExpression.getType() === _FLangCodeDom__WEBPACK_IMPORTED_MODULE_6__.BuildInTypeExpression.dict || operandExpression.getType() === _FLangCodeDom__WEBPACK_IMPORTED_MODULE_6__.BuildInTypeExpression.array || operandExpression.getType() === _FLangCodeDom__WEBPACK_IMPORTED_MODULE_6__.BuildInTypeExpression.hashSet)) {
75415
75238
  return operandExpression;
75416
75239
  }
75417
75240
  return castOperandToStringIfNeed(operandExpression, decimalFormat);
@@ -75532,11 +75355,8 @@ function ensureCorrectFieldNameByExpressionType(statement) {
75532
75355
  if (statement.right.getType() === _FLangCodeDom__WEBPACK_IMPORTED_MODULE_6__.BuildInTypeExpression.array && !lastStringPart.endsWith(arrayFieldNameSuffix)) {
75533
75356
  throw new Error(`Suffix of path ${statement.left.modePath.toString()} must be "${arrayFieldNameSuffix}"`);
75534
75357
  }
75535
- if (statement.right.getType() === _FLangCodeDom__WEBPACK_IMPORTED_MODULE_6__.BuildInTypeExpression.decimal && !lastStringPart.endsWith(decimalFieldNameSuffix)) {
75536
- throw new Error(`Suffix of path ${statement.left.modePath.toString()} must be "${decimalFieldNameSuffix}"`);
75537
- }
75538
- if (statement.right.getType() === _FLangCodeDom__WEBPACK_IMPORTED_MODULE_6__.BuildInTypeExpression.string && (lastStringPart.endsWith(arrayFieldNameSuffix) || lastStringPart.endsWith(hashSetFieldNameSuffix) || lastStringPart.endsWith(dictFieldNameSuffix) || lastStringPart.endsWith(decimalFieldNameSuffix))) {
75539
- throw new Error(`Suffix of path ${statement.left.modePath.toString()} must NOT be "${arrayFieldNameSuffix}", "${hashSetFieldNameSuffix}", "${decimalFieldNameSuffix}" or "${dictFieldNameSuffix}"`);
75358
+ if (statement.right.getType() === _FLangCodeDom__WEBPACK_IMPORTED_MODULE_6__.BuildInTypeExpression.string && (lastStringPart.endsWith(arrayFieldNameSuffix) || lastStringPart.endsWith(hashSetFieldNameSuffix) || lastStringPart.endsWith(dictFieldNameSuffix))) {
75359
+ throw new Error(`Suffix of path ${statement.left.modePath.toString()} must NOT be "${arrayFieldNameSuffix}", "${hashSetFieldNameSuffix}" or "${dictFieldNameSuffix}"`);
75540
75360
  }
75541
75361
  }
75542
75362
  }
@@ -76056,10 +75876,6 @@ class FormulaExpressionToFlangExpressionConverter {
76056
75876
  if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_0__.FormulaDenominatorExpression) {
76057
75877
  return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.DenominatorExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_8__.castOperandToStringIfNeed)(this.compileExpressionToFlangExpressionInternal(expression.expression, prefix, target, addPrecalculationRule)));
76058
75878
  }
76059
- if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_0__.FormulaGetDateTimeTicksExpression) {
76060
- const arg = this.compileExpressionToFlangExpressionInternal(expression.expression, prefix, target, addPrecalculationRule);
76061
- return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.GetDateTimeTicksExpression(arg);
76062
- }
76063
75879
  throw new Error(`Unsupported type of node: ${expression.constructor.name}, ${expression.sourceXmlNode.name}`);
76064
75880
  }
76065
75881
  castOperandForComparisonExpression(formulaExpression, flangExpression) {
@@ -76651,7 +76467,7 @@ class FormulaOnlyNormalizationRuleGenerator {
76651
76467
  const defaultValue = this.dataDeclarationHelper.getDefaultValue(fullTarget.toLegacyPath());
76652
76468
  const isTargetAutoField = this.dataDeclarationHelper.isNodeHasAutoFlagEntry(fullTarget.toAbsolute());
76653
76469
  const getFormulaExpression = field => {
76654
- const result = (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_5__.castFinalExpressionToStringIfNeed)(this.formulaExprConverter.compileExpressionToFlangExpression(formula.expression, prefix, new _Common_ModelPath_AbsoluteModelFieldPath__WEBPACK_IMPORTED_MODULE_3__.AbsoluteModelFieldPath(fullTarget, field), x => precalculationRules.push(x)), this.options.enableTypedFlang, fullTarget, "G29");
76470
+ const result = (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_5__.castFinalExpressionToStringIfNeed)(this.formulaExprConverter.compileExpressionToFlangExpression(formula.expression, prefix, new _Common_ModelPath_AbsoluteModelFieldPath__WEBPACK_IMPORTED_MODULE_3__.AbsoluteModelFieldPath(fullTarget, field), x => precalculationRules.push(x)), this.options.enableTypedFlang, "G29");
76655
76471
  const resultType = result.getType();
76656
76472
  return resultType === _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_4__.BuildInTypeExpression.string ? new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_4__.NullCoalesceExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_5__.wrapWithArgumentsCondition)(result), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_4__.StringLiteralExpression(defaultValue)) : result;
76657
76473
  };
@@ -76822,7 +76638,7 @@ class FormulaRulesBuilder extends _BaseRuleBuilder__WEBPACK_IMPORTED_MODULE_6__.
76822
76638
  const isDisabled = this.dataDeclarationHelper.isNodeHasDisabledEntry(fullTarget.toAbsolute());
76823
76639
  const isDecimal = ((_this$formSchemaRng$g = this.formSchemaRng.getTypeNodeByPath(fullTarget.toAbsolute())) === null || _this$formSchemaRng$g === void 0 ? void 0 : _this$formSchemaRng$g.baseType) === "decimal";
76824
76640
  const getFormulaExpression = targetField => {
76825
- const result = (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_3__.castFinalExpressionToStringIfNeed)(this.formulaExprConverter.compileExpressionToFlangExpression(formula.expression, prefix, new _Common_ModelPath_AbsoluteModelFieldPath__WEBPACK_IMPORTED_MODULE_4__.AbsoluteModelFieldPath(fullTarget, targetField), x => precalculationRules.push(x)), this.options.enableTypedFlang, fullTarget, "G29");
76641
+ const result = (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_3__.castFinalExpressionToStringIfNeed)(this.formulaExprConverter.compileExpressionToFlangExpression(formula.expression, prefix, new _Common_ModelPath_AbsoluteModelFieldPath__WEBPACK_IMPORTED_MODULE_4__.AbsoluteModelFieldPath(fullTarget, targetField), x => precalculationRules.push(x)), this.options.enableTypedFlang, "G29");
76826
76642
  const resultType = result.getType();
76827
76643
  return resultType === _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.BuildInTypeExpression.string ? new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.NullCoalesceExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_3__.wrapWithArgumentsCondition)(result), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.StringLiteralExpression(defaultValue)) : result;
76828
76644
  };
@@ -92460,29 +92276,7 @@ __webpack_require__.r(__webpack_exports__);
92460
92276
  /* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
92461
92277
  /* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
92462
92278
  /* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
92463
- /* harmony import */ var _common_SchemaRng_FormSchemaRng__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../common/SchemaRng/FormSchemaRng */ "./Generator/src/common/SchemaRng/FormSchemaRng.ts");
92464
- /* harmony import */ var _Common_TypingUtils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../../../Common/TypingUtils */ "./Common/TypingUtils.ts");
92465
- /* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
92466
- /* harmony import */ var _common_KCLang_CodeDom_CheckStatement__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../../common/KCLang/CodeDom/CheckStatement */ "./Generator/src/common/KCLang/CodeDom/CheckStatement.ts");
92467
- /* harmony import */ var _common_KCLang_CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../../common/KCLang/CodeDom/ValueReferenceExpression */ "./Generator/src/common/KCLang/CodeDom/ValueReferenceExpression.ts");
92468
- /* harmony import */ var _common_KCLang_CodeDom_KCLangPath__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../../../common/KCLang/CodeDom/KCLangPath */ "./Generator/src/common/KCLang/CodeDom/KCLangPath.ts");
92469
- /* harmony import */ var _common_KCLang_CodeDom_FormulaStatement__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../../../common/KCLang/CodeDom/FormulaStatement */ "./Generator/src/common/KCLang/CodeDom/FormulaStatement.ts");
92470
- /* harmony import */ var _common_KCLang_CodeDom_CastExpression__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../../../common/KCLang/CodeDom/CastExpression */ "./Generator/src/common/KCLang/CodeDom/CastExpression.ts");
92471
- /* harmony import */ var _common_KCLang_CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../../../common/KCLang/CodeDom/KCLangType */ "./Generator/src/common/KCLang/CodeDom/KCLangType.ts");
92472
- /* harmony import */ var _common_KCLang_CodeDom_Functions_GetDateTimeTicksFunctionCall__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../../../../common/KCLang/CodeDom/Functions/GetDateTimeTicksFunctionCall */ "./Generator/src/common/KCLang/CodeDom/Functions/GetDateTimeTicksFunctionCall.ts");
92473
- /* harmony import */ var _common_KCLang_CodeDom_Functions_DateTimeFunctionCall__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../../../../common/KCLang/CodeDom/Functions/DateTimeFunctionCall */ "./Generator/src/common/KCLang/CodeDom/Functions/DateTimeFunctionCall.ts");
92474
- /* harmony import */ var _FilterDateRangeNode__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./FilterDateRangeNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/FilterDateRange/FilterDateRangeNode.ts");
92475
-
92476
-
92477
-
92478
-
92479
-
92480
-
92481
-
92482
-
92483
-
92484
-
92485
-
92279
+ /* harmony import */ var _FilterDateRangeNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./FilterDateRangeNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/FilterDateRange/FilterDateRangeNode.ts");
92486
92280
 
92487
92281
 
92488
92282
 
@@ -92490,7 +92284,7 @@ __webpack_require__.r(__webpack_exports__);
92490
92284
 
92491
92285
  class FilterDateRangeConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__.SugarNodeConverterBase {
92492
92286
  static getAcceptNodeClass() {
92493
- return _FilterDateRangeNode__WEBPACK_IMPORTED_MODULE_15__.FilterDateRangeNode;
92287
+ return _FilterDateRangeNode__WEBPACK_IMPORTED_MODULE_4__.FilterDateRangeNode;
92494
92288
  }
92495
92289
  doBuildDataDeclaration() {
92496
92290
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
@@ -92501,47 +92295,11 @@ class FilterDateRangeConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MOD
92501
92295
  *doTraverseChildren() {
92502
92296
  // no children
92503
92297
  }
92504
- getServerFiltersIsUsed(formSchemaRng) {
92505
- const node = this.getCurrentNodeAs(_FilterDateRangeNode__WEBPACK_IMPORTED_MODULE_15__.FilterDateRangeNode);
92506
- const multilinePath = (0,_getBindingPath__WEBPACK_IMPORTED_MODULE_1__.getNewBindingPathExpression)(node);
92507
- const multilineElementSchemaInfo = formSchemaRng.getElementByPath(multilinePath);
92508
- const useServerFilters = multilineElementSchemaInfo instanceof _common_SchemaRng_FormSchemaRng__WEBPACK_IMPORTED_MODULE_4__.FormSchemaRngElement && multilineElementSchemaInfo.useServerFilters == true;
92509
- return useServerFilters;
92510
- }
92511
- getNameForExtraField(fieldName) {
92512
- return `cf_${fieldName}_decimal`;
92513
- }
92514
- getExtraFieldDataPath(dataPath) {
92515
- var _tokens;
92516
- const tokens = dataPath.getPathPartsAsArray();
92517
- const tokensWithoutLastToken = tokens.slice(0, tokens.length - 1);
92518
- const lastToken = (_tokens = tokens[tokens.length - 1]) !== null && _tokens !== void 0 ? _tokens : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_5__.reject)();
92519
- const lastTokenAsDecimal = this.getNameForExtraField(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.PathTokens.isSimpleToken(lastToken) ? lastToken : "this");
92520
- const extraFilteringFieldPath = dataPath.isAbsolute() ? (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.createAbsoluteFromTokens)([...tokensWithoutLastToken, lastTokenAsDecimal]) : (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.createRelativeFromTokens)([...tokensWithoutLastToken, lastTokenAsDecimal]);
92521
- // @ts-ignore
92522
- return extraFilteringFieldPath;
92523
- }
92524
- doBuildKCLangCalculations(_buildContext, formSchemaRng, _prefixPath) {
92525
- const node = this.getCurrentNodeAs(_FilterDateRangeNode__WEBPACK_IMPORTED_MODULE_15__.FilterDateRangeNode);
92526
- const useServerFilters = this.getServerFiltersIsUsed(formSchemaRng);
92527
- if (useServerFilters) {
92528
- const dataPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.createRelativeFromMask)(node.dataPath, _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.PathTokens.each).getPathWithoutIterations();
92529
- const extraFilteringFieldPath = this.getExtraFieldDataPath(dataPath).getPathWithoutIterations();
92530
- const extraFieldStatement = new _common_KCLang_CodeDom_CheckStatement__WEBPACK_IMPORTED_MODULE_7__.CheckStatement(new _common_KCLang_CodeDom_FormulaStatement__WEBPACK_IMPORTED_MODULE_10__.FormulaStatement(_common_KCLang_CodeDom_KCLangPath__WEBPACK_IMPORTED_MODULE_9__.KCLangPath.fromModelPath(extraFilteringFieldPath), new _common_KCLang_CodeDom_Functions_GetDateTimeTicksFunctionCall__WEBPACK_IMPORTED_MODULE_13__.GetDateTimeTicksFunctionCall(new _common_KCLang_CodeDom_Functions_DateTimeFunctionCall__WEBPACK_IMPORTED_MODULE_14__.DateTimeFunctionCall(new _common_KCLang_CodeDom_CastExpression__WEBPACK_IMPORTED_MODULE_11__.CastExpression(new _common_KCLang_CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_8__.ValueReferenceExpression(_common_KCLang_CodeDom_KCLangPath__WEBPACK_IMPORTED_MODULE_9__.KCLangPath.fromModelPath(dataPath)), _common_KCLang_CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_12__.StringType.default)))));
92531
- return [extraFieldStatement];
92532
- }
92533
- return [];
92534
- }
92535
- doConvert(context) {
92536
- const node = this.getCurrentNodeAs(_FilterDateRangeNode__WEBPACK_IMPORTED_MODULE_15__.FilterDateRangeNode);
92537
- const useServerFilters = this.getServerFiltersIsUsed(context.schemaRng);
92538
- const dataPath = useServerFilters ? this.getExtraFieldDataPath((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_1__.getNewBindingPathExpression)(node, node.dataPath)) : (0,_getBindingPath__WEBPACK_IMPORTED_MODULE_1__.getNewBindingPathExpression)(node, node.dataPath);
92298
+ doConvert() {
92299
+ const node = this.getCurrentNodeAs(_FilterDateRangeNode__WEBPACK_IMPORTED_MODULE_4__.FilterDateRangeNode);
92539
92300
  const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__.componentMarkupBuilder)("FilterDateRange");
92540
- markupBuilder.prop(x => x.dataPath).set(dataPath);
92301
+ markupBuilder.prop(x => x.dataPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_1__.getNewBindingPathExpression)(node, node.dataPath));
92541
92302
  markupBuilder.prop(x => x.filteredUniqKey).set(node.filteredUniqKey);
92542
- if (useServerFilters) {
92543
- markupBuilder.prop(x => x.convertDateToTicksInFilterExpression).set(useServerFilters);
92544
- }
92545
92303
  return markupBuilder.buildConverterResult();
92546
92304
  }
92547
92305
  }
@@ -97672,7 +97430,7 @@ class ComboBoxConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__
97672
97430
  disabled: node.disabled
97673
97431
  })];
97674
97432
  }
97675
- *doBuildKCLangCalculations(buildContext, formSchemaRng, prefixPath) {
97433
+ *doBuildKCLangValidations(buildContext, formSchemaRng, prefixPath) {
97676
97434
  const node = this.getCurrentNodeAs(_ComboBoxNode__WEBPACK_IMPORTED_MODULE_10__.ComboBoxNode);
97677
97435
  const element = formSchemaRng.getElementByPath(node.getFullPath());
97678
97436
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.PathTokens.each);
@@ -98218,7 +97976,7 @@ class DateConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.Sug
98218
97976
  static getAcceptNodeClass() {
98219
97977
  return _DateNode__WEBPACK_IMPORTED_MODULE_6__.DateNode;
98220
97978
  }
98221
- *doBuildKCLangCalculations(buildContext, formSchemaRng, prefixPath) {
97979
+ *doBuildKCLangValidations(buildContext, formSchemaRng, prefixPath) {
98222
97980
  const node = this.getCurrentNodeAs(_DateNode__WEBPACK_IMPORTED_MODULE_6__.DateNode);
98223
97981
  const element = formSchemaRng.getElementByPath(node.getFullPath());
98224
97982
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_2__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_2__.PathTokens.each);
@@ -98480,7 +98238,7 @@ class DiadocSuggestComboBoxConverter extends _SugarNodeConverter__WEBPACK_IMPORT
98480
98238
  const node = this.getCurrentNodeAs(_DiadocSuggestComboBoxNode__WEBPACK_IMPORTED_MODULE_7__.DiadocSuggestComboBoxNode);
98481
98239
  validationGenerator.processValidations(this.getResolvedBindingPath(node), node.validationInfo.optional, validationGenerator.getTypeNode(node.validationInfo), undefined, node.validationInfo.emptydescription, undefined);
98482
98240
  }
98483
- *doBuildKCLangCalculations(buildContext, formSchemaRng, prefixPath) {
98241
+ *doBuildKCLangValidations(buildContext, formSchemaRng, prefixPath) {
98484
98242
  const node = this.getCurrentNodeAs(_DiadocSuggestComboBoxNode__WEBPACK_IMPORTED_MODULE_7__.DiadocSuggestComboBoxNode);
98485
98243
  const element = formSchemaRng.getElementByPath(node.getFullPath());
98486
98244
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.PathTokens.each);
@@ -98910,7 +98668,7 @@ class FiasConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Sug
98910
98668
  markupBuilder.prop(x => x.extendedFields).set(parsedExtendFields);
98911
98669
  return markupBuilder.buildConverterResult();
98912
98670
  }
98913
- *doBuildKCLangCalculations(buildContext, formSchemaRng, prefixPath) {
98671
+ *doBuildKCLangValidations(buildContext, formSchemaRng, prefixPath) {
98914
98672
  const node = this.getCurrentNodeAs(_FiasNode__WEBPACK_IMPORTED_MODULE_6__.FiasNode);
98915
98673
  const element = formSchemaRng.getElementByPath(node.getFullPath());
98916
98674
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_4__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_4__.PathTokens.each);
@@ -100146,7 +99904,7 @@ class InputConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Su
100146
99904
  const node = this.getCurrentNodeAs(_InputNode__WEBPACK_IMPORTED_MODULE_8__.InputNode);
100147
99905
  return [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_4__.getNewBindingPathExpression)(node)];
100148
99906
  }
100149
- *doBuildKCLangCalculations(buildContext, formSchemaRng, prefixPath) {
99907
+ *doBuildKCLangValidations(buildContext, formSchemaRng, prefixPath) {
100150
99908
  const node = this.getCurrentNodeAs(_InputNode__WEBPACK_IMPORTED_MODULE_8__.InputNode);
100151
99909
  const element = formSchemaRng.getElementByPath(node.getFullPath());
100152
99910
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.PathTokens.each);
@@ -100919,7 +100677,7 @@ class KladrConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_5__.Su
100919
100677
  static getAcceptNodeClass() {
100920
100678
  return _KladrNode__WEBPACK_IMPORTED_MODULE_8__.KladrNode;
100921
100679
  }
100922
- *doBuildKCLangCalculations(buildContext, formSchemaRng, prefixPath) {
100680
+ *doBuildKCLangValidations(buildContext, formSchemaRng, prefixPath) {
100923
100681
  const node = this.getCurrentNodeAs(_KladrNode__WEBPACK_IMPORTED_MODULE_8__.KladrNode);
100924
100682
  const element = formSchemaRng.getElementByPath(node.getFullPath());
100925
100683
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_7__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_7__.PathTokens.each);
@@ -101227,7 +100985,7 @@ class PicklistConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__
101227
100985
  static getAcceptNodeClass() {
101228
100986
  return _PicklistNode__WEBPACK_IMPORTED_MODULE_8__.PicklistNode;
101229
100987
  }
101230
- *doBuildKCLangCalculations(buildContext, formSchemaRng, prefixPath) {
100988
+ *doBuildKCLangValidations(buildContext, formSchemaRng, prefixPath) {
101231
100989
  const node = this.getCurrentNodeAs(_PicklistNode__WEBPACK_IMPORTED_MODULE_8__.PicklistNode);
101232
100990
  const element = formSchemaRng.getElementByPath(node.getFullPath());
101233
100991
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.PathTokens.each);
@@ -101696,7 +101454,7 @@ class RadioGroupConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1
101696
101454
  const node = this.getCurrentNodeAs(_RadioGroupNode__WEBPACK_IMPORTED_MODULE_6__.RadioGroupNode);
101697
101455
  validationGenerator.processValidations(this.getResolvedBindingPath(node), node.validationInfo.optional, validationGenerator.getTypeNode(node.validationInfo), undefined, node.validationInfo.emptydescription, undefined);
101698
101456
  }
101699
- *doBuildKCLangCalculations(buildContext, formSchemaRng, prefixPath) {
101457
+ *doBuildKCLangValidations(buildContext, formSchemaRng, prefixPath) {
101700
101458
  const node = this.getCurrentNodeAs(_RadioGroupNode__WEBPACK_IMPORTED_MODULE_6__.RadioGroupNode);
101701
101459
  const element = formSchemaRng.getElementByPath(node.getFullPath());
101702
101460
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.PathTokens.each);
@@ -102215,7 +101973,7 @@ class SelectConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__.S
102215
101973
  disabled: node.disabled
102216
101974
  }), context.addPathSectionDeclarationEntry(node, node.dataBinding.requisite), context.addVisibilityPathDeclEntryNew(node, node.dataBinding.requisite));
102217
101975
  }
102218
- *doBuildKCLangCalculations(buildContext, formSchemaRng, prefixPath) {
101976
+ *doBuildKCLangValidations(buildContext, formSchemaRng, prefixPath) {
102219
101977
  const node = this.getCurrentNodeAs(_SelectNode__WEBPACK_IMPORTED_MODULE_6__.SelectNode);
102220
101978
  const element = formSchemaRng.getElementByPath(node.getFullPath());
102221
101979
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.PathTokens.each);
@@ -102964,7 +102722,7 @@ class TaxRebateConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3_
102964
102722
  const node = this.getCurrentNodeAs(_TaxRebateNode__WEBPACK_IMPORTED_MODULE_7__.TaxRebateNode);
102965
102723
  return [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_5__.getNewBindingPathExpression)(node)];
102966
102724
  }
102967
- *doBuildKCLangCalculations(buildContext, formSchemaRng, prefixPath) {
102725
+ *doBuildKCLangValidations(buildContext, formSchemaRng, prefixPath) {
102968
102726
  const node = this.getCurrentNodeAs(_TaxRebateNode__WEBPACK_IMPORTED_MODULE_7__.TaxRebateNode);
102969
102727
  const element = formSchemaRng.getElementByPath(node.getFullPath());
102970
102728
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.PathTokens.each);
@@ -103221,7 +102979,7 @@ class TextAreaConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__
103221
102979
  const node = this.getCurrentNodeAs(_TextAreaNode__WEBPACK_IMPORTED_MODULE_8__.TextAreaNode);
103222
102980
  validationGenerator.processValidations(this.getResolvedBindingPath(node), node.validationInfo.optional, validationGenerator.getTypeNode(node.validationInfo), undefined, node.validationInfo.emptydescription, undefined);
103223
102981
  }
103224
- *doBuildKCLangCalculations(buildContext, formSchemaRng, prefixPath) {
102982
+ *doBuildKCLangValidations(buildContext, formSchemaRng, prefixPath) {
103225
102983
  const node = this.getCurrentNodeAs(_TextAreaNode__WEBPACK_IMPORTED_MODULE_8__.TextAreaNode);
103226
102984
  const element = formSchemaRng.getElementByPath(node.getFullPath());
103227
102985
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.PathTokens.each);
@@ -103944,7 +103702,7 @@ class PopupTextAreaConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODUL
103944
103702
  disabled: node.disabled
103945
103703
  })];
103946
103704
  }
103947
- *doBuildKCLangCalculations(buildContext, formSchemaRng, prefixPath) {
103705
+ *doBuildKCLangValidations(buildContext, formSchemaRng, prefixPath) {
103948
103706
  const node = this.getCurrentNodeAs(_PopupTextAreaNode__WEBPACK_IMPORTED_MODULE_8__.PopupTextAreaNode);
103949
103707
  const element = formSchemaRng.getElementByPath(node.getFullPath());
103950
103708
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.PathTokens.each);
@@ -104530,7 +104288,7 @@ class FIOConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__.Suga
104530
104288
  pathSuffix: "Отчество"
104531
104289
  })];
104532
104290
  }
104533
- doBuildKCLangCalculations(buildContext, formSchemaRng, prefixPath) {
104291
+ doBuildKCLangValidations(buildContext, formSchemaRng, prefixPath) {
104534
104292
  var _node$getOwnPathForKC;
104535
104293
  const node = this.getCurrentNodeAs(_FIONode__WEBPACK_IMPORTED_MODULE_7__.FIONode);
104536
104294
  const minlengthTypeCheckNode = new _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.MinlengthTypeCheckNode();
@@ -104869,7 +104627,7 @@ class TextConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__.Sug
104869
104627
  const node = this.getCurrentNodeAs(_TextNode__WEBPACK_IMPORTED_MODULE_7__.TextNode);
104870
104628
  validationGenerator.processValidations(this.getResolvedBindingPath(node), node.validationInfo.optional, validationGenerator.getTypeNode(node.validationInfo), undefined, node.validationInfo.emptydescription, undefined);
104871
104629
  }
104872
- *doBuildKCLangCalculations(buildContext, formSchemaRng, prefixPath) {
104630
+ *doBuildKCLangValidations(buildContext, formSchemaRng, prefixPath) {
104873
104631
  const node = this.getCurrentNodeAs(_TextNode__WEBPACK_IMPORTED_MODULE_7__.TextNode);
104874
104632
  const element = formSchemaRng.getElementByPath(node.getFullPath());
104875
104633
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_4__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_4__.PathTokens.each);
@@ -105601,11 +105359,11 @@ class MarkupBuildingContext {
105601
105359
  this.formSourcesPath = void 0;
105602
105360
  this.helpers = void 0;
105603
105361
  this.pathsContext = void 0;
105362
+ this.schemaRng = void 0;
105604
105363
  this.useSchemaValidations = void 0;
105605
105364
  this.dataDeclarationHelper = void 0;
105606
105365
  this.typesRegistry = void 0;
105607
105366
  this.uniqueControlIdIncrement = new Map();
105608
- this.schemaRng = void 0;
105609
105367
  this.controlCustomizationContext = void 0;
105610
105368
  this.tourSteps = void 0;
105611
105369
  this.dataDeclarationHelper = dataDeclarationHelper;
@@ -107711,7 +107469,7 @@ class SugarNodeConverterBase {
107711
107469
  }
107712
107470
  buildSugarKCLangCalculations(buildContext, formSchemaRng, prefixPath) {
107713
107471
  const result = [];
107714
- result.push(...this.doBuildKCLangCalculations(buildContext, formSchemaRng, prefixPath));
107472
+ result.push(...this.doBuildKCLangValidations(buildContext, formSchemaRng, prefixPath));
107715
107473
  const children = this.buildChildrenKCLangValidations(buildContext, formSchemaRng);
107716
107474
  const childrenArray = Iterator.from(children).toArray();
107717
107475
  const ownPath = this.node.getOwnPathForKCLang();
@@ -107847,7 +107605,7 @@ class SugarNodeConverterBase {
107847
107605
  processFocusManagementAttributes(converterResult) {
107848
107606
  return _FocusManagementProcessor__WEBPACK_IMPORTED_MODULE_11__.FocusManagementProcessor.processFocusManagementAttributes(this.node, converterResult);
107849
107607
  }
107850
- doBuildKCLangCalculations(_buildContext, _formSchemaRng, _prefixPath) {
107608
+ doBuildKCLangValidations(_buildContext, _formSchemaRng, _prefixPath) {
107851
107609
  return [];
107852
107610
  }
107853
107611
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kontur.candy/generator",
3
- "version": "5.127.0-test-new-npm-token.1",
3
+ "version": "5.128.0-fs-9167-error-list-in-control-protocol.0",
4
4
  "description": "Candy forms generator",
5
5
  "author": "SKBKontur Candy Team",
6
6
  "private": false,