@kontur.candy/generator 5.115.1-enhanced-server-filters.1 → 5.116.0-fs-9118-contractors-widget.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 +132 -406
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -49480,7 +49480,6 @@ __webpack_require__.r(__webpack_exports__);
49480
49480
  /* harmony export */ isValidDate: () => (/* binding */ isValidDate),
49481
49481
  /* harmony export */ isValidStringDate: () => (/* binding */ isValidStringDate),
49482
49482
  /* harmony export */ parseDateString: () => (/* binding */ parseDateString),
49483
- /* harmony export */ parseDateStringAsDate: () => (/* binding */ parseDateStringAsDate),
49484
49483
  /* harmony export */ tryGetValidDateShape: () => (/* binding */ tryGetValidDateShape)
49485
49484
  /* harmony export */ });
49486
49485
  /* harmony import */ var _Engine_ValidationHelper_ValidationHelper__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Engine/ValidationHelper/ValidationHelper */ "./Engine/src/Engine/ValidationHelper/ValidationHelper.ts");
@@ -49515,10 +49514,6 @@ function tryGetValidDateShape(x) {
49515
49514
  }
49516
49515
  return undefined;
49517
49516
  }
49518
- function parseDateStringAsDate(value) {
49519
- const shape = tryGetValidDateShape(parseDateString(value));
49520
- return shape != undefined ? new Date(Date.UTC(shape.year, shape.month, shape.date)) : undefined;
49521
- }
49522
49517
  const comparator = (a, b) => {
49523
49518
  if (a.year < b.year) {
49524
49519
  return -1;
@@ -49662,9 +49657,7 @@ __webpack_require__.r(__webpack_exports__);
49662
49657
  /* harmony export */ });
49663
49658
  /* harmony import */ var _Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../Common/TypingUtils */ "./Common/TypingUtils.ts");
49664
49659
  /* harmony import */ var _DateHelpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../DateHelpers */ "./Engine/src/Helpers/DateHelpers.ts");
49665
- /* harmony import */ var _AutocalcCommonFunctions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../AutocalcCommonFunctions */ "./Engine/src/Helpers/AutocalcCommonFunctions.ts");
49666
- /* harmony import */ var _FilterExpression__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./FilterExpression */ "./Engine/src/Helpers/FilterExpressions/FilterExpression.ts");
49667
-
49660
+ /* harmony import */ var _FilterExpression__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./FilterExpression */ "./Engine/src/Helpers/FilterExpressions/FilterExpression.ts");
49668
49661
 
49669
49662
 
49670
49663
 
@@ -49675,26 +49668,22 @@ function compileFilterExpression(expression) {
49675
49668
  class FilterExpressionTransduceVisitor {
49676
49669
  transformExpression(expression) {
49677
49670
  switch (expression.operator) {
49678
- case _FilterExpression__WEBPACK_IMPORTED_MODULE_3__.OperatorType.Or:
49671
+ case _FilterExpression__WEBPACK_IMPORTED_MODULE_2__.OperatorType.Or:
49679
49672
  return this.transformOrExpression(expression);
49680
- case _FilterExpression__WEBPACK_IMPORTED_MODULE_3__.OperatorType.And:
49673
+ case _FilterExpression__WEBPACK_IMPORTED_MODULE_2__.OperatorType.And:
49681
49674
  return this.transformAndExpression(expression);
49682
- case _FilterExpression__WEBPACK_IMPORTED_MODULE_3__.OperatorType.Equal:
49675
+ case _FilterExpression__WEBPACK_IMPORTED_MODULE_2__.OperatorType.Equal:
49683
49676
  return this.transformEqualExpression(expression);
49684
- case _FilterExpression__WEBPACK_IMPORTED_MODULE_3__.OperatorType.StartDate:
49677
+ case _FilterExpression__WEBPACK_IMPORTED_MODULE_2__.OperatorType.StartDate:
49685
49678
  return this.transformStartDateExpression(expression);
49686
- case _FilterExpression__WEBPACK_IMPORTED_MODULE_3__.OperatorType.EndDate:
49679
+ case _FilterExpression__WEBPACK_IMPORTED_MODULE_2__.OperatorType.EndDate:
49687
49680
  return this.transformEndDateExpression(expression);
49688
- case _FilterExpression__WEBPACK_IMPORTED_MODULE_3__.OperatorType.Substring:
49681
+ case _FilterExpression__WEBPACK_IMPORTED_MODULE_2__.OperatorType.Substring:
49689
49682
  return this.transformSubstringExpression(expression);
49690
- case _FilterExpression__WEBPACK_IMPORTED_MODULE_3__.OperatorType.UnaryNot:
49683
+ case _FilterExpression__WEBPACK_IMPORTED_MODULE_2__.OperatorType.UnaryNot:
49691
49684
  return this.transformUnaryNotExpression(expression);
49692
- case _FilterExpression__WEBPACK_IMPORTED_MODULE_3__.OperatorType.ByInstances:
49685
+ case _FilterExpression__WEBPACK_IMPORTED_MODULE_2__.OperatorType.ByInstances:
49693
49686
  return this.transformByInstancesExpression(expression);
49694
- case _FilterExpression__WEBPACK_IMPORTED_MODULE_3__.OperatorType.LessOrEqual:
49695
- return this.transformLessOrEqualExpression(expression);
49696
- case _FilterExpression__WEBPACK_IMPORTED_MODULE_3__.OperatorType.GreaterOrEqual:
49697
- return this.transformGreaterOrEqualExpression(expression);
49698
49687
  default:
49699
49688
  (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__.ensureNever)(expression);
49700
49689
  return this.createDefaultResult();
@@ -49742,20 +49731,6 @@ class CompileFilterExpressionTransduceVisitor extends FilterExpressionTransduceV
49742
49731
  return expression.condition.instances.some(x => x === instance);
49743
49732
  };
49744
49733
  }
49745
- transformLessOrEqualExpression(expression) {
49746
- const conditionValue = (0,_AutocalcCommonFunctions__WEBPACK_IMPORTED_MODULE_2__.wrapDecimalOrUndefined)(this.transformConditionValueExpression(expression.condition));
49747
- return getModelValuesFn => getModelValuesFn(expression.condition.dataPath).some(x => {
49748
- const typedDataPathValue = (0,_AutocalcCommonFunctions__WEBPACK_IMPORTED_MODULE_2__.wrapDecimalOrUndefined)(x);
49749
- return conditionValue != undefined && typedDataPathValue != undefined ? typedDataPathValue.lte(conditionValue) : false;
49750
- });
49751
- }
49752
- transformGreaterOrEqualExpression(expression) {
49753
- const conditionValue = (0,_AutocalcCommonFunctions__WEBPACK_IMPORTED_MODULE_2__.wrapDecimalOrUndefined)(this.transformConditionValueExpression(expression.condition));
49754
- return getModelValuesFn => getModelValuesFn(expression.condition.dataPath).some(x => {
49755
- const typedDataPathValue = (0,_AutocalcCommonFunctions__WEBPACK_IMPORTED_MODULE_2__.wrapDecimalOrUndefined)(x);
49756
- return conditionValue != undefined && typedDataPathValue != undefined ? typedDataPathValue.gte(conditionValue) : false;
49757
- });
49758
- }
49759
49734
  }
49760
49735
  function stringNormalize(str) {
49761
49736
  return str.trim().toLocaleLowerCase();
@@ -49812,8 +49787,6 @@ let OperatorType = /*#__PURE__*/function (OperatorType) {
49812
49787
  OperatorType["EndDate"] = "endDate";
49813
49788
  OperatorType["Substring"] = "substring";
49814
49789
  OperatorType["ByInstances"] = "byInstances";
49815
- OperatorType["LessOrEqual"] = "lessOrEqual";
49816
- OperatorType["GreaterOrEqual"] = "greaterOrEqual";
49817
49790
  return OperatorType;
49818
49791
  }({});
49819
49792
  let FilterType = /*#__PURE__*/function (FilterType) {
@@ -49912,24 +49885,6 @@ class FilterExpressionResolveBindingPaths extends _CompileFilterExpression__WEBP
49912
49885
  condition: this.transformExpression(expression.condition)
49913
49886
  };
49914
49887
  }
49915
- transformLessOrEqualExpression(expression) {
49916
- return {
49917
- ...expression,
49918
- condition: {
49919
- ...expression.condition,
49920
- dataPath: this.pathResolver(expression.condition.dataPath)
49921
- }
49922
- };
49923
- }
49924
- transformGreaterOrEqualExpression(expression) {
49925
- return {
49926
- ...expression,
49927
- condition: {
49928
- ...expression.condition,
49929
- dataPath: this.pathResolver(expression.condition.dataPath)
49930
- }
49931
- };
49932
- }
49933
49888
  }
49934
49889
 
49935
49890
  /***/ }),
@@ -50611,7 +50566,6 @@ __webpack_require__.r(__webpack_exports__);
50611
50566
  /* harmony export */ existsKCLangFunction: () => (/* binding */ existsKCLangFunction),
50612
50567
  /* harmony export */ firstOrDefaultKCLangFunction: () => (/* binding */ firstOrDefaultKCLangFunction),
50613
50568
  /* harmony export */ floorKCLangFunction: () => (/* binding */ floorKCLangFunction),
50614
- /* harmony export */ getDateTimeTicksKCLangFunction: () => (/* binding */ getDateTimeTicksKCLangFunction),
50615
50569
  /* harmony export */ getDayKCLangFunction: () => (/* binding */ getDayKCLangFunction),
50616
50570
  /* harmony export */ getDaysInMonthKCLangFunction: () => (/* binding */ getDaysInMonthKCLangFunction),
50617
50571
  /* harmony export */ getMonthKCLangFunction: () => (/* binding */ getMonthKCLangFunction),
@@ -51400,22 +51354,6 @@ const joinKCLangFunction = params => {
51400
51354
  array: arrayParam
51401
51355
  };
51402
51356
  };
51403
- const getDateTimeTicksKCLangFunction = params => {
51404
- var _params$56;
51405
- const errors = Array.from(validateParams(params, 1));
51406
- if (errors.length > 0) {
51407
- return new FunctionValidationErrorCollection(errors);
51408
- }
51409
- const expr = (_params$56 = params[0]) === null || _params$56 === void 0 ? void 0 : _params$56.value;
51410
- if (expr == undefined) {
51411
- const argumentsValidationError = new ArgumentValidationError("Invalid arguments expression");
51412
- return new FunctionValidationErrorCollection([argumentsValidationError]);
51413
- }
51414
- return {
51415
- type: "getDateTimeTicks",
51416
- expression: expr
51417
- };
51418
- };
51419
51357
 
51420
51358
  /***/ }),
51421
51359
 
@@ -51493,8 +51431,7 @@ const getKCLangGlobalFunctionBuilders = () => ({
51493
51431
  makeDict: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_7__.makeDictKCLangFunction],
51494
51432
  getSumByKeys: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_7__.getSumByKeysKCLangFunction],
51495
51433
  join: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_7__.joinKCLangFunction],
51496
- isEqualToAutoCalculated: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_7__.isEqualToAutoCalculatedFunction],
51497
- getDateTimeTicks: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_7__.getDateTimeTicksKCLangFunction]
51434
+ isEqualToAutoCalculated: [_KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_7__.isEqualToAutoCalculatedFunction]
51498
51435
  });
51499
51436
  class KCLangAntlrParser {
51500
51437
  static parse(code) {
@@ -51889,7 +51826,7 @@ class KCLangAntlrVisitor {
51889
51826
  dataType = "array";
51890
51827
  break;
51891
51828
  default:
51892
- throw Error(`visitType syntax incorrect: ${contextName} is not supported!`);
51829
+ throw Error("visitType syntax incorrect");
51893
51830
  }
51894
51831
  return {
51895
51832
  type: "CastDataTypeNode",
@@ -60191,32 +60128,6 @@ class FunctionCall extends _KCLangExpression__WEBPACK_IMPORTED_MODULE_0__.KCLang
60191
60128
 
60192
60129
  /***/ }),
60193
60130
 
60194
- /***/ "./Generator/src/common/KCLang/CodeDom/Functions/DateTimeFunctionCall.ts":
60195
- /*!*******************************************************************************!*\
60196
- !*** ./Generator/src/common/KCLang/CodeDom/Functions/DateTimeFunctionCall.ts ***!
60197
- \*******************************************************************************/
60198
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
60199
-
60200
- "use strict";
60201
- __webpack_require__.r(__webpack_exports__);
60202
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
60203
- /* harmony export */ DateTimeFunctionCall: () => (/* binding */ DateTimeFunctionCall)
60204
- /* harmony export */ });
60205
- /* harmony import */ var _FunctionCall__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../FunctionCall */ "./Generator/src/common/KCLang/CodeDom/FunctionCall.ts");
60206
- /* harmony import */ var _KCLangType__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../KCLangType */ "./Generator/src/common/KCLang/CodeDom/KCLangType.ts");
60207
-
60208
-
60209
- class DateTimeFunctionCall extends _FunctionCall__WEBPACK_IMPORTED_MODULE_0__.FunctionCall {
60210
- constructor(expr) {
60211
- super("dateTime", [expr]);
60212
- }
60213
- getType() {
60214
- return _KCLangType__WEBPACK_IMPORTED_MODULE_1__.DateType.default;
60215
- }
60216
- }
60217
-
60218
- /***/ }),
60219
-
60220
60131
  /***/ "./Generator/src/common/KCLang/CodeDom/Functions/ExistsFunctionCall.ts":
60221
60132
  /*!*****************************************************************************!*\
60222
60133
  !*** ./Generator/src/common/KCLang/CodeDom/Functions/ExistsFunctionCall.ts ***!
@@ -60243,32 +60154,6 @@ class ExistsFunctionCall extends _FunctionCall__WEBPACK_IMPORTED_MODULE_0__.Func
60243
60154
 
60244
60155
  /***/ }),
60245
60156
 
60246
- /***/ "./Generator/src/common/KCLang/CodeDom/Functions/GetDateTimeTicksFunctionCall.ts":
60247
- /*!***************************************************************************************!*\
60248
- !*** ./Generator/src/common/KCLang/CodeDom/Functions/GetDateTimeTicksFunctionCall.ts ***!
60249
- \***************************************************************************************/
60250
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
60251
-
60252
- "use strict";
60253
- __webpack_require__.r(__webpack_exports__);
60254
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
60255
- /* harmony export */ GetDateTimeTicksFunctionCall: () => (/* binding */ GetDateTimeTicksFunctionCall)
60256
- /* harmony export */ });
60257
- /* harmony import */ var _FunctionCall__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../FunctionCall */ "./Generator/src/common/KCLang/CodeDom/FunctionCall.ts");
60258
- /* harmony import */ var _KCLangType__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../KCLangType */ "./Generator/src/common/KCLang/CodeDom/KCLangType.ts");
60259
-
60260
-
60261
- class GetDateTimeTicksFunctionCall extends _FunctionCall__WEBPACK_IMPORTED_MODULE_0__.FunctionCall {
60262
- constructor(expr) {
60263
- super("getDateTimeTicks", [expr]);
60264
- }
60265
- getType() {
60266
- return _KCLangType__WEBPACK_IMPORTED_MODULE_1__.DecimalType.default;
60267
- }
60268
- }
60269
-
60270
- /***/ }),
60271
-
60272
60157
  /***/ "./Generator/src/common/KCLang/CodeDom/Functions/GetPicklistValuesFunctionCall.ts":
60273
60158
  /*!****************************************************************************************!*\
60274
60159
  !*** ./Generator/src/common/KCLang/CodeDom/Functions/GetPicklistValuesFunctionCall.ts ***!
@@ -62153,10 +62038,9 @@ function generateKCXmlExpression(expression, prefixPath = "") {
62153
62038
  throw new Error(`One of supports only array literal on the right`);
62154
62039
  }
62155
62040
  }
62156
- case "getDateTimeTicks":
62157
- return [`<m:getDateTimeTicks>`, (0,_Common_IndentString__WEBPACK_IMPORTED_MODULE_2__.indent)(generateKCXmlExpression(expression.expression, prefixPath), 1), `</m:getDateTimeTicks>`].join("\n");
62158
62041
  default:
62159
- return (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_1__.reject)(`Expression '${expression}' is not supported`);
62042
+ // @ts-ignore
62043
+ throw new Error(`Expression of type '${expression.type}' is not supported`);
62160
62044
  }
62161
62045
  }
62162
62046
  function isPathPrefix(contextBlock) {
@@ -68296,7 +68180,6 @@ __webpack_require__.r(__webpack_exports__);
68296
68180
  /* harmony export */ FormulaFirstOrDefaultExpression: () => (/* binding */ FormulaFirstOrDefaultExpression),
68297
68181
  /* harmony export */ FormulaFloorExpression: () => (/* binding */ FormulaFloorExpression),
68298
68182
  /* harmony export */ FormulaGeExpression: () => (/* binding */ FormulaGeExpression),
68299
- /* harmony export */ FormulaGetDateTimeTicksExpression: () => (/* binding */ FormulaGetDateTimeTicksExpression),
68300
68183
  /* harmony export */ FormulaGetDayExpression: () => (/* binding */ FormulaGetDayExpression),
68301
68184
  /* harmony export */ FormulaGetDaysInMonthExpression: () => (/* binding */ FormulaGetDaysInMonthExpression),
68302
68185
  /* harmony export */ FormulaGetMonthExpression: () => (/* binding */ FormulaGetMonthExpression),
@@ -68357,7 +68240,7 @@ __webpack_require__.r(__webpack_exports__);
68357
68240
 
68358
68241
 
68359
68242
 
68360
- 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;
68243
+ 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;
68361
68244
 
68362
68245
 
68363
68246
 
@@ -69488,21 +69371,7 @@ let FormulaGroupCountExpression = (_dec183 = (0,_markupGenerator_Serializer_Suga
69488
69371
  writable: true,
69489
69372
  initializer: null
69490
69373
  }), _class153)) || _class152);
69491
- let FormulaGetDateTimeTicksExpression = (_dec186 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("getdatetimeticks", `Получить количество тиков от 01.01.0001`), _dec187 = (0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)(), _dec186(_class154 = (_class155 = class FormulaGetDateTimeTicksExpression extends FormulaExpression {
69492
- constructor(...args) {
69493
- super(...args);
69494
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "expression", _descriptor108, this);
69495
- }
69496
- getLegacyExpressionTypeForFunctionName() {
69497
- return "getDateTimeTicks";
69498
- }
69499
- }, _descriptor108 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class155.prototype, "expression", [_dec187], {
69500
- configurable: true,
69501
- enumerable: true,
69502
- writable: true,
69503
- initializer: null
69504
- }), _class155)) || _class154);
69505
- 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, FormulaGetDateTimeTicksExpression];
69374
+ 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];
69506
69375
 
69507
69376
  /***/ }),
69508
69377
 
@@ -72203,9 +72072,6 @@ class KCXmlGeneratorBase {
72203
72072
  if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_1__.FormulaSumOfDayWeightsExpression) {
72204
72073
  return "null";
72205
72074
  }
72206
- if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_1__.FormulaGetDateTimeTicksExpression) {
72207
- return "null";
72208
- }
72209
72075
  // -----
72210
72076
 
72211
72077
  throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_5__.NotSupportedError(`Unsupported node type: ${expression.constructor.name}`);
@@ -73414,7 +73280,6 @@ __webpack_require__.r(__webpack_exports__);
73414
73280
  /* harmony export */ FloorExpression: () => (/* binding */ FloorExpression),
73415
73281
  /* harmony export */ FractionalLenExpression: () => (/* binding */ FractionalLenExpression),
73416
73282
  /* harmony export */ GeExpression: () => (/* binding */ GeExpression),
73417
- /* harmony export */ GetDateTimeTicksExpression: () => (/* binding */ GetDateTimeTicksExpression),
73418
73283
  /* harmony export */ GetDayExpression: () => (/* binding */ GetDayExpression),
73419
73284
  /* harmony export */ GetDaysInMonthExpression: () => (/* binding */ GetDaysInMonthExpression),
73420
73285
  /* harmony export */ GetExternalInfoExpression: () => (/* binding */ GetExternalInfoExpression),
@@ -74139,19 +74004,6 @@ class RoundExpression extends FLangDecimalExpression {
74139
74004
  return `round(${this.expression.convertToString()}, ${fractionalPart})`;
74140
74005
  }
74141
74006
  }
74142
- class GetDateTimeTicksExpression extends FLangDecimalExpression {
74143
- constructor(expression) {
74144
- super();
74145
- this.expression = void 0;
74146
- this.expression = expression;
74147
- }
74148
- *getChildNodes() {
74149
- yield this.expression;
74150
- }
74151
- convertToString() {
74152
- return `getDateTimeTicks(${this.expression.convertToString()})`;
74153
- }
74154
- }
74155
74007
  class FloorExpression extends FLangDecimalExpression {
74156
74008
  constructor(expression) {
74157
74009
  super();
@@ -74918,7 +74770,6 @@ __webpack_require__.r(__webpack_exports__);
74918
74770
  /* harmony export */ combineByOrFlangExpr: () => (/* binding */ combineByOrFlangExpr),
74919
74771
  /* harmony export */ combineRulesWithOptionalSectionChecking: () => (/* binding */ combineRulesWithOptionalSectionChecking),
74920
74772
  /* harmony export */ composeFlangExpressionsByOr: () => (/* binding */ composeFlangExpressionsByOr),
74921
- /* harmony export */ decimalFieldNameSuffix: () => (/* binding */ decimalFieldNameSuffix),
74922
74773
  /* harmony export */ decimalWrapper: () => (/* binding */ decimalWrapper),
74923
74774
  /* harmony export */ dictFieldNameSuffix: () => (/* binding */ dictFieldNameSuffix),
74924
74775
  /* harmony export */ ensureCorrectFieldNameByExpressionType: () => (/* binding */ ensureCorrectFieldNameByExpressionType),
@@ -74953,7 +74804,6 @@ __webpack_require__.r(__webpack_exports__);
74953
74804
 
74954
74805
 
74955
74806
 
74956
- const decimalFieldNameSuffix = "_decimal";
74957
74807
  const dictFieldNameSuffix = "_dict";
74958
74808
  const arrayFieldNameSuffix = "_array";
74959
74809
  const hashSetFieldNameSuffix = "_hashSet";
@@ -75048,8 +74898,8 @@ function tryExtractValueReferenceAsStringFromDecimal(expression) {
75048
74898
  }
75049
74899
  return expression;
75050
74900
  }
75051
- function castFinalExpressionToStringIfNeed(operandExpression, enableTypedExpression, fullTarget, decimalFormat = "G29") {
75052
- 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))) {
74901
+ function castFinalExpressionToStringIfNeed(operandExpression, enableTypedExpression, decimalFormat = "G29") {
74902
+ 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)) {
75053
74903
  return operandExpression;
75054
74904
  }
75055
74905
  return castOperandToStringIfNeed(operandExpression, decimalFormat);
@@ -75170,11 +75020,8 @@ function ensureCorrectFieldNameByExpressionType(statement) {
75170
75020
  if (statement.right.getType() === _FLangCodeDom__WEBPACK_IMPORTED_MODULE_6__.BuildInTypeExpression.array && !lastStringPart.endsWith(arrayFieldNameSuffix)) {
75171
75021
  throw new Error(`Suffix of path ${statement.left.modePath.toString()} must be "${arrayFieldNameSuffix}"`);
75172
75022
  }
75173
- if (statement.right.getType() === _FLangCodeDom__WEBPACK_IMPORTED_MODULE_6__.BuildInTypeExpression.decimal && !lastStringPart.endsWith(decimalFieldNameSuffix)) {
75174
- throw new Error(`Suffix of path ${statement.left.modePath.toString()} must be "${decimalFieldNameSuffix}"`);
75175
- }
75176
- if (statement.right.getType() === _FLangCodeDom__WEBPACK_IMPORTED_MODULE_6__.BuildInTypeExpression.string && (lastStringPart.endsWith(arrayFieldNameSuffix) || lastStringPart.endsWith(hashSetFieldNameSuffix) || lastStringPart.endsWith(dictFieldNameSuffix) || lastStringPart.endsWith(decimalFieldNameSuffix))) {
75177
- throw new Error(`Suffix of path ${statement.left.modePath.toString()} must NOT be "${arrayFieldNameSuffix}", "${hashSetFieldNameSuffix}", "${decimalFieldNameSuffix}" or "${dictFieldNameSuffix}"`);
75023
+ if (statement.right.getType() === _FLangCodeDom__WEBPACK_IMPORTED_MODULE_6__.BuildInTypeExpression.string && (lastStringPart.endsWith(arrayFieldNameSuffix) || lastStringPart.endsWith(hashSetFieldNameSuffix) || lastStringPart.endsWith(dictFieldNameSuffix))) {
75024
+ throw new Error(`Suffix of path ${statement.left.modePath.toString()} must NOT be "${arrayFieldNameSuffix}", "${hashSetFieldNameSuffix}" or "${dictFieldNameSuffix}"`);
75178
75025
  }
75179
75026
  }
75180
75027
  }
@@ -75688,10 +75535,6 @@ class FormulaExpressionToFlangExpressionConverter {
75688
75535
  const arg = (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_8__.castOperandToStringIfNeed)(this.compileExpressionToFlangExpressionInternal(expression.expression, prefix, target, addPrecalculationRule));
75689
75536
  return (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_8__.castOperandIfNeed)(arg, targetType);
75690
75537
  }
75691
- if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_0__.FormulaGetDateTimeTicksExpression) {
75692
- const arg = this.compileExpressionToFlangExpressionInternal(expression.expression, prefix, target, addPrecalculationRule);
75693
- return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.GetDateTimeTicksExpression(arg);
75694
- }
75695
75538
  throw new Error(`Unsupported type of node: ${expression.constructor.name}, ${expression.sourceXmlNode.name}`);
75696
75539
  }
75697
75540
  castOperandForComparisonExpression(formulaExpression, flangExpression) {
@@ -76282,7 +76125,7 @@ class FormulaOnlyNormalizationRuleGenerator {
76282
76125
  const defaultValue = this.dataDeclarationHelper.getDefaultValue(fullTarget.toLegacyPath());
76283
76126
  const isTargetAutoField = this.dataDeclarationHelper.isNodeHasAutoFlagEntry(fullTarget.toAbsolute());
76284
76127
  const getFormulaExpression = field => {
76285
- 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");
76128
+ 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");
76286
76129
  const resultType = result.getType();
76287
76130
  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;
76288
76131
  };
@@ -76453,7 +76296,7 @@ class FormulaRulesBuilder extends _BaseRuleBuilder__WEBPACK_IMPORTED_MODULE_6__.
76453
76296
  const isDisabled = this.dataDeclarationHelper.isNodeHasDisabledEntry(fullTarget.toAbsolute());
76454
76297
  const isDecimal = ((_this$formSchemaRng$g = this.formSchemaRng.getTypeNodeByPath(fullTarget.toAbsolute())) === null || _this$formSchemaRng$g === void 0 ? void 0 : _this$formSchemaRng$g.baseType) === "decimal";
76455
76298
  const getFormulaExpression = targetField => {
76456
- 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");
76299
+ 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");
76457
76300
  const resultType = result.getType();
76458
76301
  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;
76459
76302
  };
@@ -92075,29 +91918,7 @@ __webpack_require__.r(__webpack_exports__);
92075
91918
  /* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
92076
91919
  /* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
92077
91920
  /* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
92078
- /* harmony import */ var _common_SchemaRng_FormSchemaRng__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../common/SchemaRng/FormSchemaRng */ "./Generator/src/common/SchemaRng/FormSchemaRng.ts");
92079
- /* harmony import */ var _Common_TypingUtils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../../../Common/TypingUtils */ "./Common/TypingUtils.ts");
92080
- /* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
92081
- /* harmony import */ var _common_KCLang_CodeDom_CheckStatement__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../../common/KCLang/CodeDom/CheckStatement */ "./Generator/src/common/KCLang/CodeDom/CheckStatement.ts");
92082
- /* harmony import */ var _common_KCLang_CodeDom_ValueReferenceExpression__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../../common/KCLang/CodeDom/ValueReferenceExpression */ "./Generator/src/common/KCLang/CodeDom/ValueReferenceExpression.ts");
92083
- /* harmony import */ var _common_KCLang_CodeDom_KCLangPath__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../../../common/KCLang/CodeDom/KCLangPath */ "./Generator/src/common/KCLang/CodeDom/KCLangPath.ts");
92084
- /* harmony import */ var _common_KCLang_CodeDom_FormulaStatement__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../../../common/KCLang/CodeDom/FormulaStatement */ "./Generator/src/common/KCLang/CodeDom/FormulaStatement.ts");
92085
- /* harmony import */ var _common_KCLang_CodeDom_CastExpression__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../../../common/KCLang/CodeDom/CastExpression */ "./Generator/src/common/KCLang/CodeDom/CastExpression.ts");
92086
- /* harmony import */ var _common_KCLang_CodeDom_KCLangType__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../../../common/KCLang/CodeDom/KCLangType */ "./Generator/src/common/KCLang/CodeDom/KCLangType.ts");
92087
- /* 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");
92088
- /* 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");
92089
- /* harmony import */ var _FilterDateRangeNode__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./FilterDateRangeNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/FilterDateRange/FilterDateRangeNode.ts");
92090
-
92091
-
92092
-
92093
-
92094
-
92095
-
92096
-
92097
-
92098
-
92099
-
92100
-
91921
+ /* harmony import */ var _FilterDateRangeNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./FilterDateRangeNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/FilterDateRange/FilterDateRangeNode.ts");
92101
91922
 
92102
91923
 
92103
91924
 
@@ -92105,7 +91926,7 @@ __webpack_require__.r(__webpack_exports__);
92105
91926
 
92106
91927
  class FilterDateRangeConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__.SugarNodeConverterBase {
92107
91928
  static getAcceptNodeClass() {
92108
- return _FilterDateRangeNode__WEBPACK_IMPORTED_MODULE_15__.FilterDateRangeNode;
91929
+ return _FilterDateRangeNode__WEBPACK_IMPORTED_MODULE_4__.FilterDateRangeNode;
92109
91930
  }
92110
91931
  doBuildDataDeclaration() {
92111
91932
  return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
@@ -92116,45 +91937,11 @@ class FilterDateRangeConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MOD
92116
91937
  *doTraverseChildren() {
92117
91938
  // no children
92118
91939
  }
92119
- getServerFiltersIsUsed(formSchemaRng) {
92120
- const node = this.getCurrentNodeAs(_FilterDateRangeNode__WEBPACK_IMPORTED_MODULE_15__.FilterDateRangeNode);
92121
- const multilinePath = (0,_getBindingPath__WEBPACK_IMPORTED_MODULE_1__.getNewBindingPathExpression)(node);
92122
- const multilineElementSchemaInfo = formSchemaRng.getElementByPath(multilinePath);
92123
- const useServerFilters = multilineElementSchemaInfo instanceof _common_SchemaRng_FormSchemaRng__WEBPACK_IMPORTED_MODULE_4__.FormSchemaRngElement && multilineElementSchemaInfo.useServerFilters == true;
92124
- return useServerFilters;
92125
- }
92126
- getNameForExtraField(fieldName) {
92127
- return `cf_${fieldName}_decimal`;
92128
- }
92129
- getExtraFieldDataPath(dataPath) {
92130
- var _tokens;
92131
- const tokens = dataPath.getPathPartsAsArray();
92132
- const tokensWithoutLastToken = tokens.slice(0, tokens.length - 1);
92133
- const lastToken = (_tokens = tokens[tokens.length - 1]) !== null && _tokens !== void 0 ? _tokens : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_5__.reject)();
92134
- const lastTokenAsDecimal = this.getNameForExtraField(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.PathTokens.isSimpleToken(lastToken) ? lastToken : "this");
92135
- 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]);
92136
- // @ts-ignore
92137
- return extraFilteringFieldPath;
92138
- }
92139
- doBuildKCLangCalculations(_buildContext, formSchemaRng, _prefixPath) {
92140
- const node = this.getCurrentNodeAs(_FilterDateRangeNode__WEBPACK_IMPORTED_MODULE_15__.FilterDateRangeNode);
92141
- const useServerFilters = this.getServerFiltersIsUsed(formSchemaRng);
92142
- if (useServerFilters) {
92143
- const dataPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.createRelativeFromMask)(node.dataPath, _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.PathTokens.each).getPathWithoutIterations();
92144
- const extraFilteringFieldPath = this.getExtraFieldDataPath(dataPath).getPathWithoutIterations();
92145
- 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)))));
92146
- return [extraFieldStatement];
92147
- }
92148
- return [];
92149
- }
92150
- doConvert(context) {
92151
- const node = this.getCurrentNodeAs(_FilterDateRangeNode__WEBPACK_IMPORTED_MODULE_15__.FilterDateRangeNode);
92152
- const useServerFilters = this.getServerFiltersIsUsed(context.schemaRng);
92153
- 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);
91940
+ doConvert() {
91941
+ const node = this.getCurrentNodeAs(_FilterDateRangeNode__WEBPACK_IMPORTED_MODULE_4__.FilterDateRangeNode);
92154
91942
  const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__.componentMarkupBuilder)("FilterDateRange");
92155
- markupBuilder.prop(x => x.dataPath).set(dataPath);
91943
+ markupBuilder.prop(x => x.dataPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_1__.getNewBindingPathExpression)(node, node.dataPath));
92156
91944
  markupBuilder.prop(x => x.filteredUniqKey).set(node.filteredUniqKey);
92157
- markupBuilder.prop(x => x.convertDateToTicksInFilterExpression).set(useServerFilters);
92158
91945
  return markupBuilder.buildConverterResult();
92159
91946
  }
92160
91947
  }
@@ -97237,11 +97024,7 @@ __webpack_require__.r(__webpack_exports__);
97237
97024
  /* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
97238
97025
  /* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
97239
97026
  /* harmony import */ var _Typography_Icon_GetIconName__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../Typography/Icon/GetIconName */ "./Generator/src/generators/markupGenerator/ElementProcessors/Typography/Icon/GetIconName.ts");
97240
- /* harmony import */ var _binding__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../binding */ "./Generator/src/generators/markupGenerator/binding.ts");
97241
- /* harmony import */ var _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../../../common/XmlParser/XmlNode */ "./Generator/src/common/XmlParser/XmlNode.ts");
97242
- /* harmony import */ var _ComboBoxNode__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./ComboBoxNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Combobox/ComboBoxNode.ts");
97243
-
97244
-
97027
+ /* harmony import */ var _ComboBoxNode__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./ComboBoxNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Combobox/ComboBoxNode.ts");
97245
97028
 
97246
97029
 
97247
97030
 
@@ -97253,38 +97036,35 @@ __webpack_require__.r(__webpack_exports__);
97253
97036
 
97254
97037
  class ComboBoxConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.SugarNodeConverterBase {
97255
97038
  static getAcceptNodeClass() {
97256
- return _ComboBoxNode__WEBPACK_IMPORTED_MODULE_10__.ComboBoxNode;
97039
+ return _ComboBoxNode__WEBPACK_IMPORTED_MODULE_8__.ComboBoxNode;
97257
97040
  }
97258
97041
  doBuildNodeValidations(validationGenerator) {
97259
- const node = this.getCurrentNodeAs(_ComboBoxNode__WEBPACK_IMPORTED_MODULE_10__.ComboBoxNode);
97042
+ const node = this.getCurrentNodeAs(_ComboBoxNode__WEBPACK_IMPORTED_MODULE_8__.ComboBoxNode);
97260
97043
  validationGenerator.processValidations(this.getResolvedBindingPath(node), node.validationInfo.optional, validationGenerator.getTypeNode(node.validationInfo), node.gId, node.validationInfo.emptydescription, undefined);
97261
97044
  }
97262
97045
  doGetRequisites() {
97263
- const node = this.getCurrentNodeAs(_ComboBoxNode__WEBPACK_IMPORTED_MODULE_10__.ComboBoxNode);
97046
+ const node = this.getCurrentNodeAs(_ComboBoxNode__WEBPACK_IMPORTED_MODULE_8__.ComboBoxNode);
97264
97047
  return (0,_RequisiteLIst_requisiteList__WEBPACK_IMPORTED_MODULE_0__.getRequisitesFromEvaluableProps)(node.filter, node.mostLikelyFilter, node.emptyValueFilter);
97265
97048
  }
97266
97049
  get nodePaths() {
97267
- var _node$binding$map, _node$binding;
97268
- const node = this.getCurrentNodeAs(_ComboBoxNode__WEBPACK_IMPORTED_MODULE_10__.ComboBoxNode);
97269
- const paths = (_node$binding$map = (_node$binding = node.binding) === null || _node$binding === void 0 ? void 0 : _node$binding.map(([path]) => (0,_getBindingPath__WEBPACK_IMPORTED_MODULE_5__.getNewRelativePathExpression)(node, path))) !== null && _node$binding$map !== void 0 ? _node$binding$map : [];
97270
- paths.push((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_5__.getNewBindingPathExpression)(node));
97271
- return paths;
97050
+ const node = this.getCurrentNodeAs(_ComboBoxNode__WEBPACK_IMPORTED_MODULE_8__.ComboBoxNode);
97051
+ return [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_5__.getNewBindingPathExpression)(node)];
97272
97052
  }
97273
97053
  doBuildDataDeclaration(context) {
97274
- const node = this.getCurrentNodeAs(_ComboBoxNode__WEBPACK_IMPORTED_MODULE_10__.ComboBoxNode);
97054
+ const node = this.getCurrentNodeAs(_ComboBoxNode__WEBPACK_IMPORTED_MODULE_8__.ComboBoxNode);
97275
97055
  return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["value", context.initSequenceFactory.dataValue(node.dataBinding, node.disabled)], node.auto ? ["autoFlag", context.initSequenceFactory.takeFromModel()] : undefined, node.auto ? ["autoValue", context.initSequenceFactory.takeFromModelOrDefaultValue(node.dataBinding.defaultValue)] : undefined]), context.addSpecialFieldsEntry(node, {
97276
97056
  optional: node.dataBinding.optional,
97277
97057
  disabled: node.disabled
97278
97058
  }), context.addPathSectionDeclarationEntry(node, node.dataBinding.requisite), context.addVisibilityPathDeclEntryNew(node, node.dataBinding.requisite));
97279
97059
  }
97280
97060
  doBuildNormalizeRules(builder) {
97281
- const node = this.getCurrentNodeAs(_ComboBoxNode__WEBPACK_IMPORTED_MODULE_10__.ComboBoxNode);
97061
+ const node = this.getCurrentNodeAs(_ComboBoxNode__WEBPACK_IMPORTED_MODULE_8__.ComboBoxNode);
97282
97062
  return [builder.valueInitializer(node, node.dataBinding, node.disabled), ...builder.specialFieldsInitializer(node, {
97283
97063
  disabled: node.disabled
97284
97064
  })];
97285
97065
  }
97286
- *doBuildKCLangCalculations(buildContext, formSchemaRng, prefixPath) {
97287
- const node = this.getCurrentNodeAs(_ComboBoxNode__WEBPACK_IMPORTED_MODULE_10__.ComboBoxNode);
97066
+ *doBuildKCLangValidations(buildContext, formSchemaRng, prefixPath) {
97067
+ const node = this.getCurrentNodeAs(_ComboBoxNode__WEBPACK_IMPORTED_MODULE_8__.ComboBoxNode);
97288
97068
  const element = formSchemaRng.getElementByPath(node.getFullPath());
97289
97069
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.PathTokens.each);
97290
97070
  const typeNode = buildContext.getTypeNode(node.validationInfo);
@@ -97296,15 +97076,15 @@ class ComboBoxConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__
97296
97076
  yield* buildContext.buildBasicValidations(ownPath, targetPath, prefixPath, typeNode, schemaTypeNode, node.validationInfo.optional == undefined ? element === null || element === void 0 ? void 0 : element.isOptional() : node.validationInfo.optional, node.gId, node.validationInfo.emptydescription);
97297
97077
  }
97298
97078
  buildChildrenDataDeclaration(context) {
97299
- const node = this.getCurrentNodeAs(_ComboBoxNode__WEBPACK_IMPORTED_MODULE_10__.ComboBoxNode);
97079
+ const node = this.getCurrentNodeAs(_ComboBoxNode__WEBPACK_IMPORTED_MODULE_8__.ComboBoxNode);
97300
97080
  return context.processChildrenDataDeclaration(node.helpNodes);
97301
97081
  }
97302
97082
  *doTraverseChildren() {
97303
- const node = this.getCurrentNodeAs(_ComboBoxNode__WEBPACK_IMPORTED_MODULE_10__.ComboBoxNode);
97083
+ const node = this.getCurrentNodeAs(_ComboBoxNode__WEBPACK_IMPORTED_MODULE_8__.ComboBoxNode);
97304
97084
  yield* node.helpNodes;
97305
97085
  }
97306
97086
  doConvert(context) {
97307
- const node = this.getCurrentNodeAs(_ComboBoxNode__WEBPACK_IMPORTED_MODULE_10__.ComboBoxNode);
97087
+ const node = this.getCurrentNodeAs(_ComboBoxNode__WEBPACK_IMPORTED_MODULE_8__.ComboBoxNode);
97308
97088
  this.ensurePathExists(node, node.dataBinding.path);
97309
97089
  const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("ComboBox");
97310
97090
  markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_5__.getNewBindingPathExpression)(node));
@@ -97321,21 +97101,6 @@ class ComboBoxConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__
97321
97101
  markupBuilder.prop(x => x.valueToSaveColumnName).set(node.valueToSaveColumnName);
97322
97102
  markupBuilder.prop(x => x.isEnableCaseIndependentValidation).set(node.isEnableCaseIndependentValidation);
97323
97103
  markupBuilder.prop(x => x.greyPicklistValues).set(node.greyPicklistValues);
97324
- const binding = node.binding;
97325
- if (binding) {
97326
- markupBuilder.prop(x => x.mapChangesField).set(binding.map(([_path, field]) => (0,_binding__WEBPACK_IMPORTED_MODULE_8__.getBindingSourceField)(field)));
97327
- const dependencies = binding === null || binding === void 0 ? void 0 : binding.map(([path, field]) => ({
97328
- path: (0,_getBindingPath__WEBPACK_IMPORTED_MODULE_5__.getNewRelativePathExpression)(node, path),
97329
- field: (0,_binding__WEBPACK_IMPORTED_MODULE_8__.getBindingSourceField)(field),
97330
- value: (0,_binding__WEBPACK_IMPORTED_MODULE_8__.getBindingSourceValue)(field)
97331
- }));
97332
- markupBuilder.prop(x => x.dependencies).set(dependencies);
97333
- const nodePath = this.getLegacyNode().attrAsStringStrict("path");
97334
- const bindingForCurrentPath = binding.find(([path, _field]) => path === nodePath);
97335
- if (bindingForCurrentPath == undefined) {
97336
- throw new _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_9__.SugarAttributeReadError("Значение пути в атрибуте binding должно в точности совпадать со значнием в path", node, "binding");
97337
- }
97338
- }
97339
97104
  const reference = (0,_Select_PicklistReference__WEBPACK_IMPORTED_MODULE_3__.extractPicklistReference)(node);
97340
97105
  if (reference != undefined && reference.type === _Select_PicklistReference__WEBPACK_IMPORTED_MODULE_3__.PicklistReferenceType.GlobalPicklist) {
97341
97106
  markupBuilder.prop(x => x.gId).set(reference.id);
@@ -97447,7 +97212,7 @@ __webpack_require__.r(__webpack_exports__);
97447
97212
 
97448
97213
 
97449
97214
 
97450
- var _dec, _dec2, _dec3, _dec4, _class, _class2, _descriptor, _descriptor2, _descriptor3, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _dec24, _dec25, _dec26, _dec27, _dec28, _dec29, _dec30, _dec31, _dec32, _dec33, _dec34, _dec35, _dec36, _dec37, _dec38, _dec39, _dec40, _dec41, _dec42, _dec43, _dec44, _dec45, _dec46, _dec47, _dec48, _dec49, _dec50, _dec51, _dec52, _dec53, _dec54, _dec55, _class3, _class4, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _descriptor36, _descriptor37, _descriptor38, _descriptor39, _descriptor40, _descriptor41, _descriptor42, _descriptor43, _descriptor44, _descriptor45, _descriptor46, _descriptor47, _descriptor48, _descriptor49, _descriptor50, _descriptor51, _descriptor52, _descriptor53;
97215
+ var _dec, _dec2, _dec3, _dec4, _class, _class2, _descriptor, _descriptor2, _descriptor3, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _dec24, _dec25, _dec26, _dec27, _dec28, _dec29, _dec30, _dec31, _dec32, _dec33, _dec34, _dec35, _dec36, _dec37, _dec38, _dec39, _dec40, _dec41, _dec42, _dec43, _dec44, _dec45, _dec46, _dec47, _dec48, _dec49, _dec50, _dec51, _dec52, _dec53, _dec54, _class3, _class4, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _descriptor36, _descriptor37, _descriptor38, _descriptor39, _descriptor40, _descriptor41, _descriptor42, _descriptor43, _descriptor44, _descriptor45, _descriptor46, _descriptor47, _descriptor48, _descriptor49, _descriptor50, _descriptor51, _descriptor52;
97451
97216
 
97452
97217
 
97453
97218
 
@@ -97486,7 +97251,7 @@ let ComboboxEnumerationItem = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IM
97486
97251
  let ComboBoxNode = (_dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.sugarNode)("combobox", `Комбобокс`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Combobox sync recursive .md$")), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrMixin)(_CommonNodeProperties_ValidationInfoNode__WEBPACK_IMPORTED_MODULE_5__.ValidationInfoNode), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_4__.DataBindingMixinNode), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("disabled2", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.javascriptExpression, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_11__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_11__.javaScriptExpressionLink)} для условного задизейбливания контрола`), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("tid", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.string, "Возможность установки произвольных data-tid атрибутов, может пригодиться другим командам, или для идентификации элемента в тестах"), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrMixin)(_CommonNodeProperties_TooltipProperties_TooltipSettingsNode__WEBPACK_IMPORTED_MODULE_10__.TooltipSettingsNode), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrMixin)(_CommonNodeProperties_FocusManagementNode__WEBPACK_IMPORTED_MODULE_12__.FocusManagementNode), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.deprecatedAttr)("maxLength", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_6__.DeprecationReason.InvalidUsage), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.deprecatedAttr)("caption", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_6__.DeprecationReason.InvalidUsage), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.deprecatedAttr)("openbutton", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_6__.DeprecationReason.InvalidUsage), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.deprecatedAttr)("rngAttribute", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_6__.DeprecationReason.InvalidUsage), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.deprecatedAttr)("kind", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_6__.DeprecationReason.InvalidUsage), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.deprecatedAttr)("title", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_6__.DeprecationReason.InvalidUsage), _dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.deprecatedAttr)("useIncorrectValue", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_6__.DeprecationReason.Typo), _dec19 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.deprecatedAttr)("controlVersion", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_6__.DeprecationReason.Removed), _dec20 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("type", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.typeName, "Тип для валидации значений"), _dec21 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.singleChild)("type", [_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_3__.TypeNode]), _dec22 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("gId", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.string, `Глобальный идентификатор справочника`), _dec23 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("limit", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.number, `Количество значений в выпадающем списке`), _dec24 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("display", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.string, `В каком виде отобразится выбранное значение в инпуте: значение/название/полностью (value/name/item).
97487
97252
  Также можно отображать кастомные колонки по названию.`), _dec25 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("disabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.boolean, ``), _dec26 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("greyPicklistValues", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.boolean, `Красить значения в выпадашке пиклиста в серый цвет`), _dec27 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("displayItem", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.enum("value", "name"), `В каком виде отобразится занчение в списке: значение/название`), _dec28 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("gPath", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.string, ``), _dec29 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("gPaths", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.delimitedStringArray, ``), _dec30 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("savedescription", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.boolean, ``), _dec31 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("useincorrectvalue", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.boolean, `Для валидации введенного значения. если false - то только из справочника должно быть значение`), _dec32 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("placeholder", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.localizedString.default("Начните вводить код или название"), `Когда в input-e пусто, то рисуется этот текст`), _dec33 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.lengthUnit, ``), _dec34 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("menuAlign", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.enum("left", "right"), `Определяет, в какую сторону будет открываться выпадающий список. Значения: \`left\`, \`right\`. Значение по умолчанию: \`left\``), _dec35 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("filter", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.javascriptExpression, ``), _dec36 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("mostLikelyFilter", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.javascriptExpression, `Фильтр для популярных значений`), _dec37 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("mostLikelyCaption", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.string, `Подпись для раздела с популярными значениями`), _dec38 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("notFoundText", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.string, `Надпись при отсутствии значений по фильтру`), _dec39 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("keyColumnName", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.string, `Поле дает возможность указать произвольное значение из объекта пиклиста, вместо дефолтного \`code\`, данный ключ будет выведен в первой колонке комбобокса`), _dec40 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("valueColumnName", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.string, `Поле дает возможность указать произвольное значение из объекта пиклиста, вместо дефолтного \`value\`, данный ключ будет выведен во второй колонке комбобокса`), _dec41 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("searchcolumnnames", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.stringArray, `Поля справочника, используемые для поиска`), _dec42 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("valueToSaveColumnName", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.string, `Название колонки, значение из которой хотим сохранить в иннере`), _dec43 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("emptyValueFilter", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.javascriptExpression, `Фильтр показываемые поля, если вводимое значение пусто`), _dec44 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("help", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.string, ``), _dec45 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.children)("enumeration", [ComboboxEnumerationItem]), _dec46 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.children)("help", [_Helpers_Help_HelpNode__WEBPACK_IMPORTED_MODULE_9__.HelpNode]), _dec47 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("auto", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.boolean, "Подключен авторасчет"), _dec48 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.markupAttr)("formula", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.string, "Подсказка для автозначения"), _dec49 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("autoValue", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.string, "Значение авторасчета. Код, элемент которого будет показываться как автозначение. Использовать в тестах, заменяет получение из калькуляций."), _dec50 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("useAutoIcon", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.string, "Какую иконку использовать при использовании авторасчета (работает только с auto = true). Имя иконки смотреть тут - https://ui.gitlab-pages.kontur.host/docs/#/react-icons"), _dec51 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("isEnableCaseIndependentValidation", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.boolean, `Включить регистронезависимую валидацию. Если написан этот атрибут, то в type надо дописать isCaseIndependentValid=true.`), _dec52 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("callHelperOnBlur", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.helperFunctionName, "Вызов helper функции на onBlur контролла"), _dec53 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("callHelperOnChange", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.helperFunctionName, "Вызов helper функции на onChange контролла"), _dec54 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("filterCallback", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.helperFunctionName, `Helper-функция, которая фильтрует массив элементов. Принимает массив args (третий аргумент в хелпере), должна сделать return массива с таким же контрактом.
97488
97253
  При использовании нужно установить максимальный limit, т.к. ответственность за работу с массивом передается коллбэку.
97489
- Также может некорректно работать mostLikelyFilter.`), _dec55 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attr)("binding", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_8__.attrType.objectLiteral(), `Связывание значения из справочника с полем (полями) в модели кенди (иннере).`), _dec5(_class3 = (_class4 = class ComboBoxNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_7__.SugarNodeWithLegacyVisibility {
97254
+ Также может некорректно работать mostLikelyFilter.`), _dec5(_class3 = (_class4 = class ComboBoxNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_7__.SugarNodeWithLegacyVisibility {
97490
97255
  constructor(...args) {
97491
97256
  super(...args);
97492
97257
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "validationInfo", _descriptor4, this);
@@ -97538,7 +97303,6 @@ let ComboBoxNode = (_dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MOD
97538
97303
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "callHelperOnBlur", _descriptor50, this);
97539
97304
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "callHelperOnChange", _descriptor51, this);
97540
97305
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filterCallback", _descriptor52, this);
97541
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "binding", _descriptor53, this);
97542
97306
  }
97543
97307
  getOwnPath() {
97544
97308
  return this.dataBinding.getOwnPath();
@@ -97791,11 +97555,6 @@ let ComboBoxNode = (_dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MOD
97791
97555
  enumerable: true,
97792
97556
  writable: true,
97793
97557
  initializer: null
97794
- }), _descriptor53 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "binding", [_dec55], {
97795
- configurable: true,
97796
- enumerable: true,
97797
- writable: true,
97798
- initializer: null
97799
97558
  }), _class4)) || _class3);
97800
97559
 
97801
97560
  /***/ }),
@@ -97829,7 +97588,7 @@ class DateConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.Sug
97829
97588
  static getAcceptNodeClass() {
97830
97589
  return _DateNode__WEBPACK_IMPORTED_MODULE_6__.DateNode;
97831
97590
  }
97832
- *doBuildKCLangCalculations(buildContext, formSchemaRng, prefixPath) {
97591
+ *doBuildKCLangValidations(buildContext, formSchemaRng, prefixPath) {
97833
97592
  const node = this.getCurrentNodeAs(_DateNode__WEBPACK_IMPORTED_MODULE_6__.DateNode);
97834
97593
  const element = formSchemaRng.getElementByPath(node.getFullPath());
97835
97594
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_2__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_2__.PathTokens.each);
@@ -98091,7 +97850,7 @@ class DiadocSuggestComboBoxConverter extends _SugarNodeConverter__WEBPACK_IMPORT
98091
97850
  const node = this.getCurrentNodeAs(_DiadocSuggestComboBoxNode__WEBPACK_IMPORTED_MODULE_7__.DiadocSuggestComboBoxNode);
98092
97851
  validationGenerator.processValidations(this.getResolvedBindingPath(node), node.validationInfo.optional, validationGenerator.getTypeNode(node.validationInfo), undefined, node.validationInfo.emptydescription, undefined);
98093
97852
  }
98094
- *doBuildKCLangCalculations(buildContext, formSchemaRng, prefixPath) {
97853
+ *doBuildKCLangValidations(buildContext, formSchemaRng, prefixPath) {
98095
97854
  const node = this.getCurrentNodeAs(_DiadocSuggestComboBoxNode__WEBPACK_IMPORTED_MODULE_7__.DiadocSuggestComboBoxNode);
98096
97855
  const element = formSchemaRng.getElementByPath(node.getFullPath());
98097
97856
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.PathTokens.each);
@@ -99630,7 +99389,7 @@ class InputConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Su
99630
99389
  const node = this.getCurrentNodeAs(_InputNode__WEBPACK_IMPORTED_MODULE_8__.InputNode);
99631
99390
  return [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_4__.getNewBindingPathExpression)(node)];
99632
99391
  }
99633
- *doBuildKCLangCalculations(buildContext, formSchemaRng, prefixPath) {
99392
+ *doBuildKCLangValidations(buildContext, formSchemaRng, prefixPath) {
99634
99393
  const node = this.getCurrentNodeAs(_InputNode__WEBPACK_IMPORTED_MODULE_8__.InputNode);
99635
99394
  const element = formSchemaRng.getElementByPath(node.getFullPath());
99636
99395
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.PathTokens.each);
@@ -100403,7 +100162,7 @@ class KladrConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_5__.Su
100403
100162
  static getAcceptNodeClass() {
100404
100163
  return _KladrNode__WEBPACK_IMPORTED_MODULE_8__.KladrNode;
100405
100164
  }
100406
- *doBuildKCLangCalculations(buildContext, formSchemaRng, prefixPath) {
100165
+ *doBuildKCLangValidations(buildContext, formSchemaRng, prefixPath) {
100407
100166
  const node = this.getCurrentNodeAs(_KladrNode__WEBPACK_IMPORTED_MODULE_8__.KladrNode);
100408
100167
  const element = formSchemaRng.getElementByPath(node.getFullPath());
100409
100168
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_7__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_7__.PathTokens.each);
@@ -100696,9 +100455,7 @@ __webpack_require__.r(__webpack_exports__);
100696
100455
  /* harmony import */ var _Select_PicklistReference__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Select/PicklistReference */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Select/PicklistReference.ts");
100697
100456
  /* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
100698
100457
  /* harmony import */ var _SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../SugarNodes/SugarNodeUtils */ "./Generator/src/generators/markupGenerator/SugarNodes/SugarNodeUtils.ts");
100699
- /* harmony import */ var _binding__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../binding */ "./Generator/src/generators/markupGenerator/binding.ts");
100700
- /* harmony import */ var _PicklistNode__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./PicklistNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Picklist/PicklistNode.ts");
100701
-
100458
+ /* harmony import */ var _PicklistNode__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./PicklistNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Picklist/PicklistNode.ts");
100702
100459
 
100703
100460
 
100704
100461
 
@@ -100709,10 +100466,10 @@ __webpack_require__.r(__webpack_exports__);
100709
100466
 
100710
100467
  class PicklistConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__.SugarNodeConverterBase {
100711
100468
  static getAcceptNodeClass() {
100712
- return _PicklistNode__WEBPACK_IMPORTED_MODULE_8__.PicklistNode;
100469
+ return _PicklistNode__WEBPACK_IMPORTED_MODULE_7__.PicklistNode;
100713
100470
  }
100714
- *doBuildKCLangCalculations(buildContext, formSchemaRng, prefixPath) {
100715
- const node = this.getCurrentNodeAs(_PicklistNode__WEBPACK_IMPORTED_MODULE_8__.PicklistNode);
100471
+ *doBuildKCLangValidations(buildContext, formSchemaRng, prefixPath) {
100472
+ const node = this.getCurrentNodeAs(_PicklistNode__WEBPACK_IMPORTED_MODULE_7__.PicklistNode);
100716
100473
  const element = formSchemaRng.getElementByPath(node.getFullPath());
100717
100474
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.PathTokens.each);
100718
100475
  const typeNode = buildContext.getTypeNode(node.validationInfo);
@@ -100725,12 +100482,12 @@ class PicklistConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__
100725
100482
  yield* buildContext.buildBasicValidations(ownPathFixed, targetPath, prefixPath, typeNode, schemaTypeNode, node.validationInfo.optional == undefined ? element === null || element === void 0 ? void 0 : element.isOptional() : node.validationInfo.optional, node.gId);
100726
100483
  }
100727
100484
  doBuildNodeValidations(validationGenerator) {
100728
- const node = this.getCurrentNodeAs(_PicklistNode__WEBPACK_IMPORTED_MODULE_8__.PicklistNode);
100485
+ const node = this.getCurrentNodeAs(_PicklistNode__WEBPACK_IMPORTED_MODULE_7__.PicklistNode);
100729
100486
  validationGenerator.processValidations(this.getResolvedBindingPath(node), node.validationInfo.optional, validationGenerator.getTypeNode(node.validationInfo), node.gId, node.validationInfo.emptydescription, undefined);
100730
100487
  }
100731
100488
  *doBuildNormalizeRules(builder, formSchemaRng) {
100732
100489
  var _ref;
100733
- const node = this.getCurrentNodeAs(_PicklistNode__WEBPACK_IMPORTED_MODULE_8__.PicklistNode);
100490
+ const node = this.getCurrentNodeAs(_PicklistNode__WEBPACK_IMPORTED_MODULE_7__.PicklistNode);
100734
100491
  const element = formSchemaRng.getElementByPath(node.getFullPath());
100735
100492
  yield builder.valueInitializer(node, node.dataBinding, false);
100736
100493
  const isOptional = (_ref = node.dataBinding.optional == undefined ? element === null || element === void 0 ? void 0 : element.isOptional() : node.dataBinding.optional) !== null && _ref !== void 0 ? _ref : false;
@@ -100741,29 +100498,29 @@ class PicklistConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__
100741
100498
  }
100742
100499
  doBuildDataDeclaration(context) {
100743
100500
  var _node$dataBinding$opt;
100744
- const node = this.getCurrentNodeAs(_PicklistNode__WEBPACK_IMPORTED_MODULE_8__.PicklistNode);
100501
+ const node = this.getCurrentNodeAs(_PicklistNode__WEBPACK_IMPORTED_MODULE_7__.PicklistNode);
100745
100502
  return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["value", context.initSequenceFactory.dataValue(node.dataBinding, false)]]), context.addSpecialFieldsEntry(node, {
100746
100503
  optional: node.dataBinding.optional
100747
100504
  }), context.addPathSectionDeclarationEntry(node, node.dataBinding.requisite), context.addVisibilityPathDeclEntryNew(node, node.dataBinding.requisite), context.addChildrenPathDeclEntry(node, node.dataBinding.path, (_node$dataBinding$opt = node.dataBinding.optional) !== null && _node$dataBinding$opt !== void 0 ? _node$dataBinding$opt : false, node.dataBinding.requisite));
100748
100505
  }
100749
100506
  get nodePaths() {
100750
100507
  var _node$binding$map, _node$binding;
100751
- const node = this.getCurrentNodeAs(_PicklistNode__WEBPACK_IMPORTED_MODULE_8__.PicklistNode);
100508
+ const node = this.getCurrentNodeAs(_PicklistNode__WEBPACK_IMPORTED_MODULE_7__.PicklistNode);
100752
100509
  const paths = (_node$binding$map = (_node$binding = node.binding) === null || _node$binding === void 0 ? void 0 : _node$binding.map(([path]) => (0,_getBindingPath__WEBPACK_IMPORTED_MODULE_1__.getNewRelativePathExpression)(node, path))) !== null && _node$binding$map !== void 0 ? _node$binding$map : [];
100753
100510
  paths.push((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_1__.getNewBindingPathExpression)(node));
100754
100511
  return paths;
100755
100512
  }
100756
100513
  buildChildrenDataDeclaration(context) {
100757
- const node = this.getCurrentNodeAs(_PicklistNode__WEBPACK_IMPORTED_MODULE_8__.PicklistNode);
100514
+ const node = this.getCurrentNodeAs(_PicklistNode__WEBPACK_IMPORTED_MODULE_7__.PicklistNode);
100758
100515
  return context.processChildrenDataDeclaration(node.helpNodes);
100759
100516
  }
100760
100517
  *doTraverseChildren() {
100761
- const node = this.getCurrentNodeAs(_PicklistNode__WEBPACK_IMPORTED_MODULE_8__.PicklistNode);
100518
+ const node = this.getCurrentNodeAs(_PicklistNode__WEBPACK_IMPORTED_MODULE_7__.PicklistNode);
100762
100519
  yield* node.helpNodes;
100763
100520
  }
100764
100521
  doConvert(context) {
100765
100522
  var _node$descriptionInMo;
100766
- const node = this.getCurrentNodeAs(_PicklistNode__WEBPACK_IMPORTED_MODULE_8__.PicklistNode);
100523
+ const node = this.getCurrentNodeAs(_PicklistNode__WEBPACK_IMPORTED_MODULE_7__.PicklistNode);
100767
100524
  this.ensurePathExists(node, node.dataBinding.path);
100768
100525
  const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__.componentMarkupBuilder)("Picklist");
100769
100526
  markupBuilder.prop(x => x.limit).set(node.limit);
@@ -100804,18 +100561,18 @@ class PicklistConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__
100804
100561
  }
100805
100562
  const nodePath = this.getLegacyNode().attrAsStringStrict("path");
100806
100563
  const binding = node.binding || [[nodePath, "code"]];
100807
- markupBuilder.prop(x => x.mapChangesField).set(binding.map(([_path, field]) => (0,_binding__WEBPACK_IMPORTED_MODULE_7__.getBindingSourceField)(field)));
100564
+ markupBuilder.prop(x => x.mapChangesField).set(binding.map(([_path, field]) => this.getBindingSourceField(field)));
100808
100565
  const bindingForCurrentPath = binding.find(([path, _field]) => path === nodePath);
100809
100566
  if (bindingForCurrentPath == undefined) {
100810
100567
  throw new _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_0__.SugarAttributeReadError("Значение пути в атрибуте binding должно в точности совпадать со значнием в path", node, "binding");
100811
100568
  }
100812
100569
  const searchByField = bindingForCurrentPath[1];
100813
- markupBuilder.prop(x => x.searchByField).set((0,_binding__WEBPACK_IMPORTED_MODULE_7__.getBindingSourceField)(searchByField));
100570
+ markupBuilder.prop(x => x.searchByField).set(this.getBindingSourceField(searchByField));
100814
100571
  markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_1__.getNewBindingPathExpression)(node));
100815
- const dependencies = binding === null || binding === void 0 ? void 0 : binding.map(([path, field]) => ({
100572
+ const dependencies = binding.map(([path, field]) => ({
100816
100573
  path: (0,_getBindingPath__WEBPACK_IMPORTED_MODULE_1__.getNewRelativePathExpression)(node, path),
100817
- field: (0,_binding__WEBPACK_IMPORTED_MODULE_7__.getBindingSourceField)(field),
100818
- value: (0,_binding__WEBPACK_IMPORTED_MODULE_7__.getBindingSourceValue)(field)
100574
+ field: this.getBindingSourceField(field),
100575
+ value: this.getBindingSourceValue(field)
100819
100576
  }));
100820
100577
  markupBuilder.prop(x => x.dependencies).set(dependencies);
100821
100578
  if (node.kind === "group") {
@@ -100839,6 +100596,15 @@ class PicklistConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__
100839
100596
  }
100840
100597
  return markupBuilder.buildConverterResultWithHelp(node, context);
100841
100598
  }
100599
+ getBindingSourceField(x) {
100600
+ return typeof x === "string" ? x : x.field;
100601
+ }
100602
+ getBindingSourceValue(x) {
100603
+ if (typeof x === "string" || x.value == undefined) {
100604
+ return "value";
100605
+ }
100606
+ return x.value;
100607
+ }
100842
100608
  }
100843
100609
 
100844
100610
  /***/ }),
@@ -101180,7 +100946,7 @@ class RadioGroupConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1
101180
100946
  const node = this.getCurrentNodeAs(_RadioGroupNode__WEBPACK_IMPORTED_MODULE_6__.RadioGroupNode);
101181
100947
  validationGenerator.processValidations(this.getResolvedBindingPath(node), node.validationInfo.optional, validationGenerator.getTypeNode(node.validationInfo), undefined, node.validationInfo.emptydescription, undefined);
101182
100948
  }
101183
- *doBuildKCLangCalculations(buildContext, formSchemaRng, prefixPath) {
100949
+ *doBuildKCLangValidations(buildContext, formSchemaRng, prefixPath) {
101184
100950
  const node = this.getCurrentNodeAs(_RadioGroupNode__WEBPACK_IMPORTED_MODULE_6__.RadioGroupNode);
101185
100951
  const element = formSchemaRng.getElementByPath(node.getFullPath());
101186
100952
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.PathTokens.each);
@@ -101699,7 +101465,7 @@ class SelectConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__.S
101699
101465
  disabled: node.disabled
101700
101466
  }), context.addPathSectionDeclarationEntry(node, node.dataBinding.requisite), context.addVisibilityPathDeclEntryNew(node, node.dataBinding.requisite));
101701
101467
  }
101702
- *doBuildKCLangCalculations(buildContext, formSchemaRng, prefixPath) {
101468
+ *doBuildKCLangValidations(buildContext, formSchemaRng, prefixPath) {
101703
101469
  const node = this.getCurrentNodeAs(_SelectNode__WEBPACK_IMPORTED_MODULE_6__.SelectNode);
101704
101470
  const element = formSchemaRng.getElementByPath(node.getFullPath());
101705
101471
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.PathTokens.each);
@@ -102448,7 +102214,7 @@ class TaxRebateConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3_
102448
102214
  const node = this.getCurrentNodeAs(_TaxRebateNode__WEBPACK_IMPORTED_MODULE_7__.TaxRebateNode);
102449
102215
  return [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_5__.getNewBindingPathExpression)(node)];
102450
102216
  }
102451
- *doBuildKCLangCalculations(buildContext, formSchemaRng, prefixPath) {
102217
+ *doBuildKCLangValidations(buildContext, formSchemaRng, prefixPath) {
102452
102218
  const node = this.getCurrentNodeAs(_TaxRebateNode__WEBPACK_IMPORTED_MODULE_7__.TaxRebateNode);
102453
102219
  const element = formSchemaRng.getElementByPath(node.getFullPath());
102454
102220
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.PathTokens.each);
@@ -102705,7 +102471,7 @@ class TextAreaConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__
102705
102471
  const node = this.getCurrentNodeAs(_TextAreaNode__WEBPACK_IMPORTED_MODULE_8__.TextAreaNode);
102706
102472
  validationGenerator.processValidations(this.getResolvedBindingPath(node), node.validationInfo.optional, validationGenerator.getTypeNode(node.validationInfo), undefined, node.validationInfo.emptydescription, undefined);
102707
102473
  }
102708
- *doBuildKCLangCalculations(buildContext, formSchemaRng, prefixPath) {
102474
+ *doBuildKCLangValidations(buildContext, formSchemaRng, prefixPath) {
102709
102475
  const node = this.getCurrentNodeAs(_TextAreaNode__WEBPACK_IMPORTED_MODULE_8__.TextAreaNode);
102710
102476
  const element = formSchemaRng.getElementByPath(node.getFullPath());
102711
102477
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.PathTokens.each);
@@ -103080,9 +102846,7 @@ __webpack_require__.r(__webpack_exports__);
103080
102846
  /* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
103081
102847
  /* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
103082
102848
  /* harmony import */ var _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../common/XmlParser/XmlNode */ "./Generator/src/common/XmlParser/XmlNode.ts");
103083
- /* harmony import */ var _binding__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../binding */ "./Generator/src/generators/markupGenerator/binding.ts");
103084
- /* harmony import */ var _TreePicklistNode__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./TreePicklistNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/TreePicklist/TreePicklistNode.ts");
103085
-
102849
+ /* harmony import */ var _TreePicklistNode__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./TreePicklistNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/TreePicklist/TreePicklistNode.ts");
103086
102850
 
103087
102851
 
103088
102852
 
@@ -103091,10 +102855,10 @@ __webpack_require__.r(__webpack_exports__);
103091
102855
 
103092
102856
  class TreePicklistConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.SugarNodeConverterBase {
103093
102857
  static getAcceptNodeClass() {
103094
- return _TreePicklistNode__WEBPACK_IMPORTED_MODULE_6__.TreePicklistNode;
102858
+ return _TreePicklistNode__WEBPACK_IMPORTED_MODULE_5__.TreePicklistNode;
103095
102859
  }
103096
102860
  doBuildFLangValidations(buildContext, formSchemaRng) {
103097
- const node = this.getCurrentNodeAs(_TreePicklistNode__WEBPACK_IMPORTED_MODULE_6__.TreePicklistNode);
102861
+ const node = this.getCurrentNodeAs(_TreePicklistNode__WEBPACK_IMPORTED_MODULE_5__.TreePicklistNode);
103098
102862
  const element = formSchemaRng.getElementByPath(node.getFullPath());
103099
102863
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_3__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_3__.PathTokens.each);
103100
102864
  const typeNode = buildContext.getTypeNode(node.validationInfo);
@@ -103105,12 +102869,12 @@ class TreePicklistConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE
103105
102869
  return buildContext.buildBasicValidations(targetPath, typeNode, schemaTypeNode, node.validationInfo.optional == undefined ? element === null || element === void 0 ? void 0 : element.isOptional() : node.validationInfo.optional, undefined, node.gId);
103106
102870
  }
103107
102871
  doBuildNodeValidations(validationGenerator) {
103108
- const node = this.getCurrentNodeAs(_TreePicklistNode__WEBPACK_IMPORTED_MODULE_6__.TreePicklistNode);
102872
+ const node = this.getCurrentNodeAs(_TreePicklistNode__WEBPACK_IMPORTED_MODULE_5__.TreePicklistNode);
103109
102873
  validationGenerator.processValidations(this.getResolvedBindingPath(node), node.validationInfo.optional, validationGenerator.getTypeNode(node.validationInfo), node.gId, node.validationInfo.emptydescription, undefined);
103110
102874
  }
103111
102875
  *doBuildNormalizeRules(builder, formSchemaRng) {
103112
102876
  var _ref;
103113
- const node = this.getCurrentNodeAs(_TreePicklistNode__WEBPACK_IMPORTED_MODULE_6__.TreePicklistNode);
102877
+ const node = this.getCurrentNodeAs(_TreePicklistNode__WEBPACK_IMPORTED_MODULE_5__.TreePicklistNode);
103114
102878
  const element = formSchemaRng.getElementByPath(node.getFullPath());
103115
102879
  yield builder.valueInitializer(node, node.dataBinding, false);
103116
102880
  const isOptional = (_ref = node.dataBinding.optional == undefined ? element === null || element === void 0 ? void 0 : element.isOptional() : node.dataBinding.optional) !== null && _ref !== void 0 ? _ref : false;
@@ -103121,26 +102885,26 @@ class TreePicklistConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE
103121
102885
  }
103122
102886
  doBuildDataDeclaration(context) {
103123
102887
  var _node$dataBinding$opt;
103124
- const node = this.getCurrentNodeAs(_TreePicklistNode__WEBPACK_IMPORTED_MODULE_6__.TreePicklistNode);
102888
+ const node = this.getCurrentNodeAs(_TreePicklistNode__WEBPACK_IMPORTED_MODULE_5__.TreePicklistNode);
103125
102889
  return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["value", context.initSequenceFactory.dataValue(node.dataBinding, false)]]), context.addSpecialFieldsEntry(node, {
103126
102890
  optional: node.dataBinding.optional
103127
102891
  }), context.addPathSectionDeclarationEntry(node, node.dataBinding.requisite), context.addVisibilityPathDeclEntryNew(node, node.dataBinding.requisite), context.addChildrenPathDeclEntry(node, node.dataBinding.path, (_node$dataBinding$opt = node.dataBinding.optional) !== null && _node$dataBinding$opt !== void 0 ? _node$dataBinding$opt : false, node.dataBinding.requisite));
103128
102892
  }
103129
102893
  get nodePaths() {
103130
- const node = this.getCurrentNodeAs(_TreePicklistNode__WEBPACK_IMPORTED_MODULE_6__.TreePicklistNode);
102894
+ const node = this.getCurrentNodeAs(_TreePicklistNode__WEBPACK_IMPORTED_MODULE_5__.TreePicklistNode);
103131
102895
  return [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_0__.getNewBindingPathExpression)(node)];
103132
102896
  }
103133
102897
  buildChildrenDataDeclaration(context) {
103134
- const node = this.getCurrentNodeAs(_TreePicklistNode__WEBPACK_IMPORTED_MODULE_6__.TreePicklistNode);
102898
+ const node = this.getCurrentNodeAs(_TreePicklistNode__WEBPACK_IMPORTED_MODULE_5__.TreePicklistNode);
103135
102899
  return context.processChildrenDataDeclaration(node.helpNodes);
103136
102900
  }
103137
102901
  *doTraverseChildren() {
103138
- const node = this.getCurrentNodeAs(_TreePicklistNode__WEBPACK_IMPORTED_MODULE_6__.TreePicklistNode);
102902
+ const node = this.getCurrentNodeAs(_TreePicklistNode__WEBPACK_IMPORTED_MODULE_5__.TreePicklistNode);
103139
102903
  yield* node.helpNodes;
103140
102904
  }
103141
102905
  doConvert(context) {
103142
102906
  var _node$descriptionInMo, _node$title, _node$width, _node$fields, _node$display, _node$childColumnName, _node$parentColumnNam, _node$tooltipPosition;
103143
- const node = this.getCurrentNodeAs(_TreePicklistNode__WEBPACK_IMPORTED_MODULE_6__.TreePicklistNode);
102907
+ const node = this.getCurrentNodeAs(_TreePicklistNode__WEBPACK_IMPORTED_MODULE_5__.TreePicklistNode);
103144
102908
  this.ensurePathExists(node, node.dataBinding.path);
103145
102909
  const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("TreePicklist");
103146
102910
  markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_0__.getNewBindingPathExpression)(node));
@@ -103148,10 +102912,10 @@ class TreePicklistConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE
103148
102912
  const binding = node.binding || [[nodePath, "code"]];
103149
102913
  const dependencies = binding.map(([path, field]) => ({
103150
102914
  path: (0,_getBindingPath__WEBPACK_IMPORTED_MODULE_0__.getNewRelativePathExpression)(node, path),
103151
- field: (0,_binding__WEBPACK_IMPORTED_MODULE_5__.getBindingSourceField)(field),
103152
- value: (0,_binding__WEBPACK_IMPORTED_MODULE_5__.getBindingSourceValue)(field)
102915
+ field: this.getBindingSourceField(field),
102916
+ value: this.getBindingSourceValue(field)
103153
102917
  }));
103154
- markupBuilder.prop(x => x.mapChangesField).set(binding.map(([_path, field]) => (0,_binding__WEBPACK_IMPORTED_MODULE_5__.getBindingSourceField)(field)));
102918
+ markupBuilder.prop(x => x.mapChangesField).set(binding.map(([_path, field]) => this.getBindingSourceField(field)));
103155
102919
  markupBuilder.prop(x => x.descriptionInModal).set((_node$descriptionInMo = node.descriptionInModal) !== null && _node$descriptionInMo !== void 0 ? _node$descriptionInMo : "");
103156
102920
  markupBuilder.prop(x => x.hintFields).set(node.hintFields);
103157
102921
  markupBuilder.prop(x => x.hintWidth).set(node.hintWidth);
@@ -103176,7 +102940,7 @@ class TreePicklistConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE
103176
102940
  throw new _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_4__.SugarAttributeReadError("Значение пути в атрибуте binding должно в точности совпадать со значнием в path", node, "binding");
103177
102941
  }
103178
102942
  const searchByField = bindingForCurrentPath[1];
103179
- markupBuilder.prop(x => x.searchByField).set((0,_binding__WEBPACK_IMPORTED_MODULE_5__.getBindingSourceField)(searchByField));
102943
+ markupBuilder.prop(x => x.searchByField).set(this.getBindingSourceField(searchByField));
103180
102944
  if (node.filter !== undefined) {
103181
102945
  markupBuilder.prop(x => x.filter).set({
103182
102946
  type: "Expression",
@@ -103186,6 +102950,15 @@ class TreePicklistConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE
103186
102950
  markupBuilder.prop(x => x.tooltipPosition).set((_node$tooltipPosition = node.tooltipPosition) !== null && _node$tooltipPosition !== void 0 ? _node$tooltipPosition : "top center");
103187
102951
  return markupBuilder.buildConverterResultWithHelp(node, context);
103188
102952
  }
102953
+ getBindingSourceValue(x) {
102954
+ if (typeof x === "string" || x.value == undefined) {
102955
+ return "value";
102956
+ }
102957
+ return x.value;
102958
+ }
102959
+ getBindingSourceField(x) {
102960
+ return typeof x === "string" ? x : x.field;
102961
+ }
103189
102962
  }
103190
102963
 
103191
102964
  /***/ }),
@@ -103396,9 +103169,7 @@ __webpack_require__.r(__webpack_exports__);
103396
103169
  /* harmony import */ var _CommonNodeProperties_TooltipProperties_SetTooltipSettingsProps__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../CommonNodeProperties/TooltipProperties/SetTooltipSettingsProps */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/TooltipProperties/SetTooltipSettingsProps.ts");
103397
103170
  /* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
103398
103171
  /* harmony import */ var _SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../SugarNodes/SugarNodeUtils */ "./Generator/src/generators/markupGenerator/SugarNodes/SugarNodeUtils.ts");
103399
- /* harmony import */ var _Typography_Icon_GetIconName__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../Typography/Icon/GetIconName */ "./Generator/src/generators/markupGenerator/ElementProcessors/Typography/Icon/GetIconName.ts");
103400
- /* harmony import */ var _PopupTextAreaNode__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./PopupTextAreaNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/popupTextArea/PopupTextAreaNode.ts");
103401
-
103172
+ /* harmony import */ var _PopupTextAreaNode__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./PopupTextAreaNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/popupTextArea/PopupTextAreaNode.ts");
103402
103173
 
103403
103174
 
103404
103175
 
@@ -103409,14 +103180,14 @@ __webpack_require__.r(__webpack_exports__);
103409
103180
 
103410
103181
  class PopupTextAreaConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.SugarNodeConverterBase {
103411
103182
  static getAcceptNodeClass() {
103412
- return _PopupTextAreaNode__WEBPACK_IMPORTED_MODULE_8__.PopupTextAreaNode;
103183
+ return _PopupTextAreaNode__WEBPACK_IMPORTED_MODULE_7__.PopupTextAreaNode;
103413
103184
  }
103414
103185
  doBuildNodeValidations(validationGenerator) {
103415
- const node = this.getCurrentNodeAs(_PopupTextAreaNode__WEBPACK_IMPORTED_MODULE_8__.PopupTextAreaNode);
103186
+ const node = this.getCurrentNodeAs(_PopupTextAreaNode__WEBPACK_IMPORTED_MODULE_7__.PopupTextAreaNode);
103416
103187
  validationGenerator.processValidations(this.getResolvedBindingPath(node), node.validationInfo.optional, validationGenerator.getTypeNode(node.validationInfo), undefined, node.validationInfo.emptydescription, undefined);
103417
103188
  }
103418
- *doBuildKCLangCalculations(buildContext, formSchemaRng, prefixPath) {
103419
- const node = this.getCurrentNodeAs(_PopupTextAreaNode__WEBPACK_IMPORTED_MODULE_8__.PopupTextAreaNode);
103189
+ *doBuildKCLangValidations(buildContext, formSchemaRng, prefixPath) {
103190
+ const node = this.getCurrentNodeAs(_PopupTextAreaNode__WEBPACK_IMPORTED_MODULE_7__.PopupTextAreaNode);
103420
103191
  const element = formSchemaRng.getElementByPath(node.getFullPath());
103421
103192
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.PathTokens.each);
103422
103193
  const typeNode = buildContext.getTypeNode(node.validationInfo);
@@ -103428,26 +103199,26 @@ class PopupTextAreaConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODUL
103428
103199
  yield* buildContext.buildBasicValidations(ownPath, targetPath, prefixPath, typeNode, schemaTypeNode, node.validationInfo.optional == undefined ? element === null || element === void 0 ? void 0 : element.isOptional() : node.validationInfo.optional);
103429
103200
  }
103430
103201
  doBuildDataDeclaration(context) {
103431
- const node = this.getCurrentNodeAs(_PopupTextAreaNode__WEBPACK_IMPORTED_MODULE_8__.PopupTextAreaNode);
103432
- return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["value", context.initSequenceFactory.dataValue(node.dataBinding, node.disabled)], node.auto ? ["autoFlag", context.initSequenceFactory.takeFromModel()] : undefined, node.auto ? ["autoValue", context.initSequenceFactory.takeFromModelOrDefaultValue(node.dataBinding.defaultValue)] : undefined]), context.addSpecialFieldsEntry(node, {
103202
+ const node = this.getCurrentNodeAs(_PopupTextAreaNode__WEBPACK_IMPORTED_MODULE_7__.PopupTextAreaNode);
103203
+ return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["value", context.initSequenceFactory.dataValue(node.dataBinding, node.disabled)]]), context.addSpecialFieldsEntry(node, {
103433
103204
  optional: node.dataBinding.optional,
103434
103205
  disabled: node.disabled
103435
103206
  }), context.addPathSectionDeclarationEntry(node, node.dataBinding.requisite), context.addVisibilityPathDeclEntryNew(node, node.dataBinding.requisite));
103436
103207
  }
103437
103208
  buildChildrenDataDeclaration(context) {
103438
- const node = this.getCurrentNodeAs(_PopupTextAreaNode__WEBPACK_IMPORTED_MODULE_8__.PopupTextAreaNode);
103209
+ const node = this.getCurrentNodeAs(_PopupTextAreaNode__WEBPACK_IMPORTED_MODULE_7__.PopupTextAreaNode);
103439
103210
  return context.processChildrenDataDeclaration(node.helpNodes);
103440
103211
  }
103441
103212
  *doTraverseChildren() {
103442
- const node = this.getCurrentNodeAs(_PopupTextAreaNode__WEBPACK_IMPORTED_MODULE_8__.PopupTextAreaNode);
103213
+ const node = this.getCurrentNodeAs(_PopupTextAreaNode__WEBPACK_IMPORTED_MODULE_7__.PopupTextAreaNode);
103443
103214
  yield* node.helpNodes;
103444
103215
  }
103445
103216
  get nodePaths() {
103446
- const node = this.getCurrentNodeAs(_PopupTextAreaNode__WEBPACK_IMPORTED_MODULE_8__.PopupTextAreaNode);
103217
+ const node = this.getCurrentNodeAs(_PopupTextAreaNode__WEBPACK_IMPORTED_MODULE_7__.PopupTextAreaNode);
103447
103218
  return [(0,_getBindingPath__WEBPACK_IMPORTED_MODULE_3__.getNewBindingPathExpression)(node)];
103448
103219
  }
103449
103220
  doConvert(context) {
103450
- const node = this.getCurrentNodeAs(_PopupTextAreaNode__WEBPACK_IMPORTED_MODULE_8__.PopupTextAreaNode);
103221
+ const node = this.getCurrentNodeAs(_PopupTextAreaNode__WEBPACK_IMPORTED_MODULE_7__.PopupTextAreaNode);
103451
103222
  const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__.componentMarkupBuilder)("PopupTextArea");
103452
103223
  markupBuilder.prop(x => x.width).set(node.width || "100%");
103453
103224
  markupBuilder.prop("data-tid").set(node.tid);
@@ -103469,9 +103240,6 @@ class PopupTextAreaConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODUL
103469
103240
  markupBuilder.prop(x => x.evaluatorsContextPath).set(this.getEvaluatorsContextPathExpression());
103470
103241
  }
103471
103242
  }
103472
- markupBuilder.prop(x => x.auto).set(node.auto);
103473
- markupBuilder.prop(x => x.autoValue).set(node.autoValue);
103474
- markupBuilder.prop(x => x.useAutoIcon).set((0,_Typography_Icon_GetIconName__WEBPACK_IMPORTED_MODULE_7__.getIconName)(node, node.useAutoIcon));
103475
103243
  (0,_CommonNodeProperties_TooltipProperties_SetTooltipSettingsProps__WEBPACK_IMPORTED_MODULE_4__.setTooltipSettingsProps)(markupBuilder, node.tooltipSettings);
103476
103244
  return markupBuilder.buildConverterResultWithHelp(node, context);
103477
103245
  }
@@ -103513,7 +103281,7 @@ __webpack_require__.r(__webpack_exports__);
103513
103281
 
103514
103282
 
103515
103283
 
103516
- var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22;
103284
+ var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19;
103517
103285
 
103518
103286
 
103519
103287
 
@@ -103522,7 +103290,7 @@ var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11
103522
103290
 
103523
103291
 
103524
103292
 
103525
- let PopupTextAreaNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.sugarNode)("popuptextarea", `Иконка`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/popupTextArea sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__.DataBindingMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrMixin)(_CommonNodeProperties_ValidationInfoNode__WEBPACK_IMPORTED_MODULE_4__.ValidationInfoNode), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrMixin)(_CommonNodeProperties_TooltipProperties_TooltipSettingsNode__WEBPACK_IMPORTED_MODULE_9__.TooltipSettingsNode), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.lengthUnit, `Ширина`), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("popupWidth", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.lengthUnit, `Ширина всплывающей textarea. не может быть меньше 250`), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("excelPastePrevent", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, `При значении true вставка в popuptextarea будет перехвачена в пользу вставки таблички, скопрированной из excel как таблички. При значении false все скопированное попадет в value`), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("placeholder", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.localizedString, ``), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("tid", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, "Возможность установки произвольных data-tid атрибутов, может пригодиться другим командам, или для идентификации элемента в тестах"), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("disabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, ``), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("disabled2", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.javascriptExpression, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_10__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_10__.javaScriptExpressionLink)} для условного задизейбливания контрола`), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("autoResize", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, ``), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("auto", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, "Подключен авторассчет"), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("autoValue", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, "Значение авторасчета. Код, элемент которого будет показываться как автозначение. Использовать в тестах, заменяет получение из калькуляций."), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("useAutoIcon", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, "Какую иконку использовать при использовании авторасчета (работает только с auto = true). Имя иконки смотреть тут - https://ui.gitlab-pages.kontur.host/docs/#/react-icons"), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("useLengthLimit", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, `Включает отображение счётчик длины текста`), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("maxTextLength", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.number, `Задаёт максимальное кол-во символов для счётчика длины текста. Если не указано, значение будет братся из валидации или схемы`), _dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("rows", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.number, ``), _dec19 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.deprecatedAttr)("row", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.Typo), _dec20 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("resize", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.enum("-moz-initial", "inherit", "initial", "revert", "unset", "block", "both", "horizontal", "inline", "none", "vertical"), ``), _dec21 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.bindingPath, ``), _dec22 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("help", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, ``), _dec23 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.children)("help", [_Helpers_Help_HelpNode__WEBPACK_IMPORTED_MODULE_8__.HelpNode]), _dec(_class = (_class2 = class PopupTextAreaNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_6__.SugarNodeWithLegacyVisibility {
103293
+ let PopupTextAreaNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.sugarNode)("popuptextarea", `Иконка`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/popupTextArea sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__.DataBindingMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrMixin)(_CommonNodeProperties_ValidationInfoNode__WEBPACK_IMPORTED_MODULE_4__.ValidationInfoNode), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrMixin)(_CommonNodeProperties_TooltipProperties_TooltipSettingsNode__WEBPACK_IMPORTED_MODULE_9__.TooltipSettingsNode), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.lengthUnit, `Ширина`), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("popupWidth", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.lengthUnit, `Ширина всплывающей textarea. не может быть меньше 250`), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("excelPastePrevent", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, `При значении true вставка в popuptextarea будет перехвачена в пользу вставки таблички, скопрированной из excel как таблички. При значении false все скопированное попадет в value`), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("placeholder", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.localizedString, ``), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("tid", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, "Возможность установки произвольных data-tid атрибутов, может пригодиться другим командам, или для идентификации элемента в тестах"), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("disabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, ``), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("disabled2", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.javascriptExpression, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_10__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_10__.javaScriptExpressionLink)} для условного задизейбливания контрола`), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("autoResize", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, ``), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("useLengthLimit", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, `Включает отображение счётчик длины текста`), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("maxTextLength", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.number, `Задаёт максимальное кол-во символов для счётчика длины текста. Если не указано, значение будет братся из валидации или схемы`), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("rows", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.number, ``), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.deprecatedAttr)("row", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.Typo), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("resize", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.enum("-moz-initial", "inherit", "initial", "revert", "unset", "block", "both", "horizontal", "inline", "none", "vertical"), ``), _dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.bindingPath, ``), _dec19 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("help", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, ``), _dec20 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.children)("help", [_Helpers_Help_HelpNode__WEBPACK_IMPORTED_MODULE_8__.HelpNode]), _dec(_class = (_class2 = class PopupTextAreaNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_6__.SugarNodeWithLegacyVisibility {
103526
103294
  constructor(...args) {
103527
103295
  super(...args);
103528
103296
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataBinding", _descriptor, this);
@@ -103536,17 +103304,14 @@ let PopupTextAreaNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED
103536
103304
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "disabled", _descriptor9, this);
103537
103305
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "disabled2", _descriptor10, this);
103538
103306
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "autoResize", _descriptor11, this);
103539
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "auto", _descriptor12, this);
103540
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "autoValue", _descriptor13, this);
103541
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "useAutoIcon", _descriptor14, this);
103542
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "useLengthLimit", _descriptor15, this);
103543
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "maxTextLength", _descriptor16, this);
103544
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "rows", _descriptor17, this);
103545
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "row", _descriptor18, this);
103546
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "resize", _descriptor19, this);
103547
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "path", _descriptor20, this);
103548
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "help", _descriptor21, this);
103549
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "helpNodes", _descriptor22, this);
103307
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "useLengthLimit", _descriptor12, this);
103308
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "maxTextLength", _descriptor13, this);
103309
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "rows", _descriptor14, this);
103310
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "row", _descriptor15, this);
103311
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "resize", _descriptor16, this);
103312
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "path", _descriptor17, this);
103313
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "help", _descriptor18, this);
103314
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "helpNodes", _descriptor19, this);
103550
103315
  }
103551
103316
  getOwnPath() {
103552
103317
  return this.dataBinding.getOwnPath();
@@ -103606,57 +103371,42 @@ let PopupTextAreaNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED
103606
103371
  enumerable: true,
103607
103372
  writable: true,
103608
103373
  initializer: null
103609
- }), _descriptor12 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "auto", [_dec13], {
103610
- configurable: true,
103611
- enumerable: true,
103612
- writable: true,
103613
- initializer: null
103614
- }), _descriptor13 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "autoValue", [_dec14], {
103615
- configurable: true,
103616
- enumerable: true,
103617
- writable: true,
103618
- initializer: null
103619
- }), _descriptor14 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "useAutoIcon", [_dec15], {
103620
- configurable: true,
103621
- enumerable: true,
103622
- writable: true,
103623
- initializer: null
103624
- }), _descriptor15 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "useLengthLimit", [_dec16], {
103374
+ }), _descriptor12 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "useLengthLimit", [_dec13], {
103625
103375
  configurable: true,
103626
103376
  enumerable: true,
103627
103377
  writable: true,
103628
103378
  initializer: null
103629
- }), _descriptor16 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "maxTextLength", [_dec17], {
103379
+ }), _descriptor13 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "maxTextLength", [_dec14], {
103630
103380
  configurable: true,
103631
103381
  enumerable: true,
103632
103382
  writable: true,
103633
103383
  initializer: null
103634
- }), _descriptor17 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "rows", [_dec18], {
103384
+ }), _descriptor14 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "rows", [_dec15], {
103635
103385
  configurable: true,
103636
103386
  enumerable: true,
103637
103387
  writable: true,
103638
103388
  initializer: null
103639
- }), _descriptor18 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "row", [_dec19], {
103389
+ }), _descriptor15 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "row", [_dec16], {
103640
103390
  configurable: true,
103641
103391
  enumerable: true,
103642
103392
  writable: true,
103643
103393
  initializer: null
103644
- }), _descriptor19 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "resize", [_dec20], {
103394
+ }), _descriptor16 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "resize", [_dec17], {
103645
103395
  configurable: true,
103646
103396
  enumerable: true,
103647
103397
  writable: true,
103648
103398
  initializer: null
103649
- }), _descriptor20 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "path", [_dec21], {
103399
+ }), _descriptor17 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "path", [_dec18], {
103650
103400
  configurable: true,
103651
103401
  enumerable: true,
103652
103402
  writable: true,
103653
103403
  initializer: null
103654
- }), _descriptor21 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "help", [_dec22], {
103404
+ }), _descriptor18 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "help", [_dec19], {
103655
103405
  configurable: true,
103656
103406
  enumerable: true,
103657
103407
  writable: true,
103658
103408
  initializer: null
103659
- }), _descriptor22 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "helpNodes", [_dec23], {
103409
+ }), _descriptor19 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "helpNodes", [_dec20], {
103660
103410
  configurable: true,
103661
103411
  enumerable: true,
103662
103412
  writable: true,
@@ -104001,7 +103751,7 @@ class FIOConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__.Suga
104001
103751
  pathSuffix: "Отчество"
104002
103752
  })];
104003
103753
  }
104004
- doBuildKCLangCalculations(buildContext, formSchemaRng, prefixPath) {
103754
+ doBuildKCLangValidations(buildContext, formSchemaRng, prefixPath) {
104005
103755
  var _node$getOwnPathForKC;
104006
103756
  const node = this.getCurrentNodeAs(_FIONode__WEBPACK_IMPORTED_MODULE_7__.FIONode);
104007
103757
  const minlengthTypeCheckNode = new _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_1__.MinlengthTypeCheckNode();
@@ -104340,7 +104090,7 @@ class TextConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__.Sug
104340
104090
  const node = this.getCurrentNodeAs(_TextNode__WEBPACK_IMPORTED_MODULE_7__.TextNode);
104341
104091
  validationGenerator.processValidations(this.getResolvedBindingPath(node), node.validationInfo.optional, validationGenerator.getTypeNode(node.validationInfo), undefined, node.validationInfo.emptydescription, undefined);
104342
104092
  }
104343
- *doBuildKCLangCalculations(buildContext, formSchemaRng, prefixPath) {
104093
+ *doBuildKCLangValidations(buildContext, formSchemaRng, prefixPath) {
104344
104094
  const node = this.getCurrentNodeAs(_TextNode__WEBPACK_IMPORTED_MODULE_7__.TextNode);
104345
104095
  const element = formSchemaRng.getElementByPath(node.getFullPath());
104346
104096
  const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_4__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_4__.PathTokens.each);
@@ -105069,11 +104819,11 @@ class MarkupBuildingContext {
105069
104819
  this.formSourcesPath = void 0;
105070
104820
  this.helpers = void 0;
105071
104821
  this.pathsContext = void 0;
104822
+ this.schemaRng = void 0;
105072
104823
  this.useSchemaValidations = void 0;
105073
104824
  this.dataDeclarationHelper = void 0;
105074
104825
  this.typesRegistry = void 0;
105075
104826
  this.uniqueControlIdIncrement = new Map();
105076
- this.schemaRng = void 0;
105077
104827
  this.controlCustomizationContext = void 0;
105078
104828
  this.tourSteps = void 0;
105079
104829
  this.dataDeclarationHelper = dataDeclarationHelper;
@@ -107175,7 +106925,7 @@ class SugarNodeConverterBase {
107175
106925
  }
107176
106926
  buildSugarKCLangCalculations(buildContext, formSchemaRng, prefixPath) {
107177
106927
  const result = [];
107178
- result.push(...this.doBuildKCLangCalculations(buildContext, formSchemaRng, prefixPath));
106928
+ result.push(...this.doBuildKCLangValidations(buildContext, formSchemaRng, prefixPath));
107179
106929
  const children = this.buildChildrenKCLangValidations(buildContext, formSchemaRng);
107180
106930
  const childrenArray = Iterator.from(children).toArray();
107181
106931
  const ownPath = this.node.getOwnPathForKCLang();
@@ -107311,7 +107061,7 @@ class SugarNodeConverterBase {
107311
107061
  processFocusManagementAttributes(converterResult) {
107312
107062
  return _FocusManagementProcessor__WEBPACK_IMPORTED_MODULE_11__.FocusManagementProcessor.processFocusManagementAttributes(this.node, converterResult);
107313
107063
  }
107314
- doBuildKCLangCalculations(_buildContext, _formSchemaRng, _prefixPath) {
107064
+ doBuildKCLangValidations(_buildContext, _formSchemaRng, _prefixPath) {
107315
107065
  return [];
107316
107066
  }
107317
107067
  }
@@ -107921,30 +107671,6 @@ class VisibilityProcessor {
107921
107671
 
107922
107672
  /***/ }),
107923
107673
 
107924
- /***/ "./Generator/src/generators/markupGenerator/binding.ts":
107925
- /*!*************************************************************!*\
107926
- !*** ./Generator/src/generators/markupGenerator/binding.ts ***!
107927
- \*************************************************************/
107928
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
107929
-
107930
- "use strict";
107931
- __webpack_require__.r(__webpack_exports__);
107932
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
107933
- /* harmony export */ getBindingSourceField: () => (/* binding */ getBindingSourceField),
107934
- /* harmony export */ getBindingSourceValue: () => (/* binding */ getBindingSourceValue)
107935
- /* harmony export */ });
107936
- function getBindingSourceField(x) {
107937
- return typeof x === "string" ? x : x.field;
107938
- }
107939
- function getBindingSourceValue(x) {
107940
- if (typeof x === "string" || x.value == undefined) {
107941
- return "value";
107942
- }
107943
- return x.value;
107944
- }
107945
-
107946
- /***/ }),
107947
-
107948
107674
  /***/ "./Generator/src/generators/markupGenerator/controlCustomization/ControlCustomizationContextBuilder.ts":
107949
107675
  /*!*************************************************************************************************************!*\
107950
107676
  !*** ./Generator/src/generators/markupGenerator/controlCustomization/ControlCustomizationContextBuilder.ts ***!
@@ -137876,7 +137602,7 @@ module.exports = "### Опциональность мультилайна и т
137876
137602
  \*********************************************************************************************************/
137877
137603
  /***/ ((module) => {
137878
137604
 
137879
- module.exports = "<h4>Атрибут emptyValueFilter</h4>\nЕсли нет введеного значения, то фильтрует выпадающий список значения.\nСинтаксис аналогичен атрибуту `filter`. Смотри описание к picklist. \n<br>\n<br>\nПример фильтрации по первым двум цифрам инн из @formsClientInfo/currentAccount:\n```\nemptyValueFilter=\"by.column('code').startWith(path('@formsClientInfo/currentAccount/inn').slice(0, 2))\"\n```\n\n<h4>Атрибут binding</h4>\n\nИспользуется для записи значений полей справочника в указанные поля в иннере.\nНапример, можно сохранить выбранное значение из колонки name в одноименное поле:\n```\n<combobox \n path=\"combobox1\" \n gId=\"3436\" \n binding={[[\"combobox1\", \"code\"], [\"combobox1/name\", \"name\"], [\"combobox1/description\", \"name\"]]} \n width=\"200\" />\n```\nТ.о. значение колонки code справочника сохранится по пути combobox1.value, а значение из колонки name сохранится в поля combobox1/name.value и combobox1/description.value в иннере.\n```\n\"Root/comboboxWithBinding/combobox1.value\": \"8\",\n\"Root/comboboxWithBinding/combobox1/name.value\": \"Август\",\n\"Root/comboboxWithBinding/combobox1/description.value\": \"Август\",\n```\nМожно сохранять не в .value, а в другое поле. Пример:\n```\n<combobox \n path=\"combobox2\" \n gId=\"3436\" \n binding={[[\"combobox2\", \"code\"], [\"combobox2\", { \"value\": \"description\", \"field\": \"name\" }]]} \n width=\"200\" />\n```\nЗдесь значение колонки name справочника выгрузится в поле combobox2.description.\n```\n\"Root/comboboxWithBinding/combobox2.value\": \"6\",\n\"Root/comboboxWithBinding/combobox2.description\": \"Июнь\",\n```";
137605
+ module.exports = "<h4>Атрибут emptyValueFilter</h4>\nЕсли нет введеного значения, то фильтрует выпадающий список значения.\nСинтаксис аналогичен атрибуту `filter`. Смотри описание к picklist. \n<br>\n<br>\nПример фильтрации по первым двум цифрам инн из @formsClientInfo/currentAccount:\n```\nemptyValueFilter=\"by.column('code').startWith(path('@formsClientInfo/currentAccount/inn').slice(0, 2))\"\n```\n";
137880
137606
 
137881
137607
  /***/ }),
137882
137608