@kontur.candy/generator 5.27.0-ss-doc-import.16 → 5.27.0-ss-doc-import.18

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 +68 -14
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -60364,6 +60364,7 @@ __webpack_require__.r(__webpack_exports__);
60364
60364
  /* harmony export */ getAllUnitIdInstances: () => (/* binding */ getAllUnitIdInstances),
60365
60365
  /* harmony export */ isUnitIdEquals: () => (/* binding */ isUnitIdEquals),
60366
60366
  /* harmony export */ sectionNameToUnitId: () => (/* binding */ sectionNameToUnitId),
60367
+ /* harmony export */ sectionNameToUnitIdForNavigation: () => (/* binding */ sectionNameToUnitIdForNavigation),
60367
60368
  /* harmony export */ unitIdToLegacyUnitId: () => (/* binding */ unitIdToLegacyUnitId),
60368
60369
  /* harmony export */ unitIdWithInstance: () => (/* binding */ unitIdWithInstance),
60369
60370
  /* harmony export */ unitWithoutInstance: () => (/* binding */ unitWithoutInstance)
@@ -60415,6 +60416,20 @@ function sectionNameToUnitId(sectionName) {
60415
60416
  };
60416
60417
  }
60417
60418
  }
60419
+ function sectionNameToUnitIdForNavigation(sectionName) {
60420
+ const [id, ...instances] = sectionName.split("-");
60421
+ if (instances.length === 0) {
60422
+ return {
60423
+ pageId: id !== null && id !== void 0 ? id : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_1__.reject)()
60424
+ };
60425
+ } else {
60426
+ var _instances$2;
60427
+ return {
60428
+ pageId: id !== null && id !== void 0 ? id : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_1__.reject)(),
60429
+ instance: (_instances$2 = instances[0]) !== null && _instances$2 !== void 0 ? _instances$2 : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_1__.reject)()
60430
+ };
60431
+ }
60432
+ }
60418
60433
  function getAllUnitIdInstances(unitId) {
60419
60434
  var _unitId$parentInstanc, _unitId$instance;
60420
60435
  return ((_unitId$parentInstanc = unitId.parentInstances) !== null && _unitId$parentInstanc !== void 0 ? _unitId$parentInstanc : []).concat((_unitId$instance = unitId.instance) !== null && _unitId$instance !== void 0 ? _unitId$instance : []);
@@ -60952,7 +60967,8 @@ __webpack_require__.r(__webpack_exports__);
60952
60967
  /* harmony export */ getAsyncTextResultHandler: () => (/* binding */ getAsyncTextResultHandler),
60953
60968
  /* harmony export */ getOperands: () => (/* binding */ getOperands),
60954
60969
  /* harmony export */ getSum: () => (/* binding */ getSum),
60955
- /* harmony export */ wrapDecimalOperand: () => (/* binding */ wrapDecimalOperand)
60970
+ /* harmony export */ wrapDecimalOperand: () => (/* binding */ wrapDecimalOperand),
60971
+ /* harmony export */ wrapDecimalOrUndefined: () => (/* binding */ wrapDecimalOrUndefined)
60956
60972
  /* harmony export */ });
60957
60973
  /* harmony import */ var big_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! big.js */ "./node_modules/big.js/big.mjs");
60958
60974
  /* harmony import */ var _Common_IterableUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../Common/IterableUtils */ "./Common/IterableUtils.ts");
@@ -61042,6 +61058,18 @@ function wrapDecimalOperand(value) {
61042
61058
  }
61043
61059
  return new big_js__WEBPACK_IMPORTED_MODULE_0__["default"](0);
61044
61060
  }
61061
+ function wrapDecimalOrUndefined(value) {
61062
+ if (typeof value === "number" && isFinite(value)) {
61063
+ return new big_js__WEBPACK_IMPORTED_MODULE_0__["default"](value);
61064
+ }
61065
+ if (typeof value === "string" && /^-?\d+[.]?\d*$/.test(value)) {
61066
+ return new big_js__WEBPACK_IMPORTED_MODULE_0__["default"](value);
61067
+ }
61068
+ if (value instanceof big_js__WEBPACK_IMPORTED_MODULE_0__["default"]) {
61069
+ return value;
61070
+ }
61071
+ return undefined;
61072
+ }
61045
61073
  function getSum(values) {
61046
61074
  let allValuesIsEmpty = true;
61047
61075
  if (values.length === 0) {
@@ -77765,6 +77793,13 @@ class DataDeclarationGenerationContext {
77765
77793
  }
77766
77794
  return undefined;
77767
77795
  }
77796
+ addTypeNode(node) {
77797
+ var _this$formSchemaRng$g;
77798
+ const baseType = (_this$formSchemaRng$g = this.formSchemaRng.getTypeNodeByPath(node.getFullPath())) === null || _this$formSchemaRng$g === void 0 ? void 0 : _this$formSchemaRng$g.baseType;
77799
+ return baseType ? {
77800
+ type: baseType
77801
+ } : {};
77802
+ }
77768
77803
  processChildrenDataDeclaration(children, nodeProcessor) {
77769
77804
  const childrenDataDeclaration = [];
77770
77805
  for (const child of children) {
@@ -77803,7 +77838,7 @@ class DataDeclarationGenerationContext {
77803
77838
  declEntry[fieldName] = option;
77804
77839
  }
77805
77840
  return {
77806
- [(0,_markupGenerator_getBindingPath__WEBPACK_IMPORTED_MODULE_7__.getResolvedBindingPath)(sugarNode)]: declEntry
77841
+ [(0,_markupGenerator_getBindingPath__WEBPACK_IMPORTED_MODULE_7__.getResolvedBindingPath)(sugarNode)]: lodash_mergewith__WEBPACK_IMPORTED_MODULE_0___default()(declEntry, this.addTypeNode(sugarNode))
77807
77842
  };
77808
77843
  }
77809
77844
  addSpecialFieldsEntry(node, {
@@ -80952,7 +80987,8 @@ class FLangValidationBuildContext {
80952
80987
  }
80953
80988
  const valueEqlAutoValueErrorLevel = (_ref5 = (_typeNode$children$fi4 = typeNode === null || typeNode === void 0 ? void 0 : (_typeNode$children11 = typeNode.children) === null || _typeNode$children11 === void 0 ? void 0 : (_typeNode$children11$ = _typeNode$children11.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_0__.ofType)(_common_SchemaRng_Nodes_SchemaRngRoot__WEBPACK_IMPORTED_MODULE_12__.ValueEqlAutoValueTypeCheck))) === null || _typeNode$children11$ === void 0 ? void 0 : _typeNode$children11$.level) !== null && _typeNode$children$fi4 !== void 0 ? _typeNode$children$fi4 : typeNode === null || typeNode === void 0 ? void 0 : (_typeNode$children12 = typeNode.children) === null || _typeNode$children12 === void 0 ? void 0 : (_typeNode$children12$ = _typeNode$children12.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_0__.ofType)(_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_0__.ValueEqlAutoValueTypeCheckNode))) === null || _typeNode$children12$ === void 0 ? void 0 : _typeNode$children12$.level) !== null && _ref5 !== void 0 ? _ref5 : schemaTypeNode === null || schemaTypeNode === void 0 ? void 0 : schemaTypeNode.valueEqlAutoValue;
80954
80989
  if (valueEqlAutoValueErrorLevel != undefined) {
80955
- const condition = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_14__.NegateUnaryExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_14__.IsEqualsBinaryExpression(valueReference, autoValueReference));
80990
+ const isDecimal = (schemaTypeNode === null || schemaTypeNode === void 0 ? void 0 : schemaTypeNode.baseType) === "decimal";
80991
+ const condition = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_14__.NegateUnaryExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_14__.IsEqualsBinaryExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_13__.decimalWrapper)(valueReference, isDecimal), (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_13__.decimalWrapper)(autoValueReference, isDecimal)));
80956
80992
  yield {
80957
80993
  condition: condition,
80958
80994
  message: makeMessage({
@@ -82398,6 +82434,7 @@ __webpack_require__.r(__webpack_exports__);
82398
82434
  /* harmony export */ combineByAndFlangExpr: () => (/* binding */ combineByAndFlangExpr),
82399
82435
  /* harmony export */ combineByOrFlangExpr: () => (/* binding */ combineByOrFlangExpr),
82400
82436
  /* harmony export */ combineRulesWithOptionalSectionChecking: () => (/* binding */ combineRulesWithOptionalSectionChecking),
82437
+ /* harmony export */ decimalWrapper: () => (/* binding */ decimalWrapper),
82401
82438
  /* harmony export */ ensureOperandsOfTypeOrNull: () => (/* binding */ ensureOperandsOfTypeOrNull),
82402
82439
  /* harmony export */ getAllExpressionChildren: () => (/* binding */ getAllExpressionChildren),
82403
82440
  /* harmony export */ nullCoalesceWithTypeCheck: () => (/* binding */ nullCoalesceWithTypeCheck),
@@ -82443,7 +82480,7 @@ function tryExtractValueReferenceAsStringFromDecimal(expression) {
82443
82480
  }
82444
82481
  return expression;
82445
82482
  }
82446
- function castOperandToStringIfNeed(operandExpression, decimalFormat) {
82483
+ function castOperandToStringIfNeed(operandExpression, decimalFormat = "G29") {
82447
82484
  if (operandExpression instanceof _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.DateTimeExpression || operandExpression instanceof _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.DateNowExpression) {
82448
82485
  return new _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.DateToStringExpression(operandExpression, new _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.StringLiteralExpression("dd.MM.yyyy"));
82449
82486
  }
@@ -82458,6 +82495,7 @@ function castOperandToBoolIfNeed(operandExpression) {
82458
82495
  function castOperandToDecimalIfNeed(operandExpression, defaultValue) {
82459
82496
  return operandExpression.getType() !== _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.BuildInTypeExpression.decimal ? new _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.CastExpression(operandExpression, _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.BuildInTypeExpression.decimal, defaultValue != undefined ? new _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.DecimalLiteralExpression(defaultValue) : undefined) : operandExpression;
82460
82497
  }
82498
+ const decimalWrapper = (ex, needWrapped) => needWrapped ? new _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.CastExpression(ex, _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.BuildInTypeExpression.decimal) : ex;
82461
82499
  function castOperandToDateTimeIfNeed(operandExpression) {
82462
82500
  return operandExpression.getType() != _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.BuildInTypeExpression.dateTime ? new _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.CastExpression(operandExpression, _FLangCodeDom__WEBPACK_IMPORTED_MODULE_2__.BuildInTypeExpression.dateTime) : operandExpression;
82463
82501
  }
@@ -83113,9 +83151,10 @@ class FormulaExpressionToFlangExpressionConverter {
83113
83151
  return (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_7__.wrapWithArgumentsCondition)(result);
83114
83152
  }
83115
83153
  compileDivisionExpression(expression, prefix, target, addPrecalculationRule) {
83154
+ const makeDivision = (numerator, denominator) => new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.ConditionalExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.NotEqExpression(denominator, new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.DecimalLiteralExpression(0)), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.DivisionBinaryExpression(numerator, denominator), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.NullLiteralExpression());
83116
83155
  const result = expression.arguments.reduce((acc, curr) => {
83117
83156
  const currExpr = (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_7__.castOperandToDecimalIfNeed)(this.compileExpressionToFlangExpressionInternal(curr, prefix, target, addPrecalculationRule), 0);
83118
- return acc != undefined ? new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_8__.DivisionBinaryExpression(acc, currExpr) : currExpr;
83157
+ return acc != undefined ? makeDivision(acc, currExpr) : currExpr;
83119
83158
  }, undefined);
83120
83159
  if (result == undefined) {
83121
83160
  throw new _Common_Errors__WEBPACK_IMPORTED_MODULE_2__.InvalidProgramStateError();
@@ -83363,6 +83402,7 @@ class FormulaRulesBuilder extends _BaseRuleBuilder__WEBPACK_IMPORTED_MODULE_6__.
83363
83402
  }
83364
83403
  }
83365
83404
  buildFormulaFlashRule(formula) {
83405
+ var _this$formSchemaRng$g;
83366
83406
  const prefix = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.createModelPath)(formula.match.replace(/\@/g, ""), true).normalize();
83367
83407
  const target = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.createModelPath)(formula.target.replace(/\@/g, ""), false);
83368
83408
  const fullTarget = (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_2__.adjustPathMultiplicityComplex)(prefix.joinWith(target).normalize(), this.formSchemaRng, this.dataDeclarationHelper);
@@ -83370,10 +83410,11 @@ class FormulaRulesBuilder extends _BaseRuleBuilder__WEBPACK_IMPORTED_MODULE_6__.
83370
83410
  const precalculationRules = [];
83371
83411
  const isTargetAutoField = this.dataDeclarationHelper.isNodeHasAutoFlagEntry(fullTarget.toAbsolute());
83372
83412
  const isDisabled = this.dataDeclarationHelper.isNodeHasDisabledEntry(fullTarget.toAbsolute());
83413
+ const isDecimal = ((_this$formSchemaRng$g = this.formSchemaRng.getTypeNodeByPath(fullTarget.toAbsolute())) === null || _this$formSchemaRng$g === void 0 ? void 0 : _this$formSchemaRng$g.baseType) === "decimal";
83373
83414
  const getFormulaExpression = targetField => new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.NullCoalesceExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_3__.wrapWithArgumentsCondition)((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_3__.castOperandToStringIfNeed)(this.formulaExprConverter.compileExpressionToFlangExpression(formula.expression, prefix, new _Common_ModelPath_AbsoluteModelFieldPath__WEBPACK_IMPORTED_MODULE_4__.AbsoluteModelFieldPath(fullTarget, targetField), x => precalculationRules.push(x)), "G29")), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.StringLiteralExpression(defaultValue));
83374
83415
  const valueRule = isTargetAutoField ? isDisabled ? this.createValueRuleForDisabledAutoField(fullTarget, getFormulaExpression) : this.createValueRuleForAutoField(fullTarget, defaultValue, getFormulaExpression) : this.createRegularValueRule(fullTarget, getFormulaExpression);
83375
83416
  const autoValueRule = isTargetAutoField ? this.createAutoValueRule(fullTarget, getFormulaExpression) : undefined;
83376
- const autoFlagRule = isTargetAutoField ? this.createAutoFlagRule(fullTarget) : undefined;
83417
+ const autoFlagRule = isTargetAutoField ? this.createAutoFlagRule(fullTarget, isDecimal) : undefined;
83377
83418
  const result = [autoValueRule, autoFlagRule, valueRule].concat(...precalculationRules).filter(_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_5__.isNotNullOrUndefined);
83378
83419
  return result;
83379
83420
  }
@@ -83383,8 +83424,8 @@ class FormulaRulesBuilder extends _BaseRuleBuilder__WEBPACK_IMPORTED_MODULE_6__.
83383
83424
  createRegularValueRule(fullTarget, getFormulaExpression) {
83384
83425
  return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.SetStatement(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.ValueReferenceExpression(fullTarget, "value"), getFormulaExpression("value"));
83385
83426
  }
83386
- createAutoFlagRule(fullTarget) {
83387
- return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.SetStatement(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.ValueReferenceExpression(fullTarget, "autoFlag"), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.ConditionalExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.OrBinaryExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.IsEqualsBinaryExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.ValueReferenceExpression(fullTarget.toCurrentIteration(), "autoFlag"), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.NullLiteralExpression()), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.IsEqualsBinaryExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.ValueReferenceExpression(fullTarget.toCurrentIteration(), "autoFlag"), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.StringLiteralExpression("false"))), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.CastExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.IsEqualsBinaryExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.ValueReferenceExpression(fullTarget.toCurrentIteration(), "value"), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.ValueReferenceExpression(fullTarget.toCurrentIteration(), "autoValue")), _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.BuildInTypeExpression.string), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.NoDepsExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.ValueReferenceExpression(fullTarget.toCurrentIteration(), "autoFlag"))));
83427
+ createAutoFlagRule(fullTarget, isDecimal) {
83428
+ return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.SetStatement(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.ValueReferenceExpression(fullTarget, "autoFlag"), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.ConditionalExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.OrBinaryExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.IsEqualsBinaryExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.ValueReferenceExpression(fullTarget.toCurrentIteration(), "autoFlag"), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.NullLiteralExpression()), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.IsEqualsBinaryExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.ValueReferenceExpression(fullTarget.toCurrentIteration(), "autoFlag"), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.StringLiteralExpression("false"))), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.CastExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.IsEqualsBinaryExpression((0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_3__.decimalWrapper)(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.ValueReferenceExpression(fullTarget.toCurrentIteration(), "value"), isDecimal), (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_3__.decimalWrapper)(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.ValueReferenceExpression(fullTarget.toCurrentIteration(), "autoValue"), isDecimal)), _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.BuildInTypeExpression.string), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.NoDepsExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.ValueReferenceExpression(fullTarget.toCurrentIteration(), "autoFlag"))));
83388
83429
  }
83389
83430
  createValueRuleForDisabledAutoField(fullTarget, getFormulaExpression) {
83390
83431
  return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.SetStatement(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_0__.ValueReferenceExpression(fullTarget, "value"), getFormulaExpression("value"));
@@ -86546,6 +86587,7 @@ __webpack_require__.r(__webpack_exports__);
86546
86587
  /* harmony export */ setTooltipSettingsProps: () => (/* binding */ setTooltipSettingsProps)
86547
86588
  /* harmony export */ });
86548
86589
  function setTooltipSettingsProps(markupBuilder, tooltipSettings) {
86590
+ markupBuilder.prop(x => x.tooltip).set(tooltipSettings.tooltip);
86549
86591
  markupBuilder.prop(x => x.tooltipWidth).set(tooltipSettings.tooltipWidth);
86550
86592
  markupBuilder.prop(x => x.tooltipPosition).set(tooltipSettings.tooltipPosition);
86551
86593
  }
@@ -86574,21 +86616,27 @@ __webpack_require__.r(__webpack_exports__);
86574
86616
 
86575
86617
 
86576
86618
 
86577
- var _dec, _dec2, _dec3, _class, _class2, _descriptor, _descriptor2;
86619
+ var _dec, _dec2, _dec3, _dec4, _class, _class2, _descriptor, _descriptor2, _descriptor3;
86578
86620
 
86579
86621
 
86580
- let TooltipSettingsNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixinNode)(), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("tooltipPosition", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum(..._Helpers_Help_PopupPosition__WEBPACK_IMPORTED_MODULE_4__.allPopupPositions), `Позиция тултипа. По умолчанию \"top left\". Возможные позиции: ${_Helpers_Help_PopupPosition__WEBPACK_IMPORTED_MODULE_4__.allPopupPositions.join(", ")}`), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("tooltipWidth", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.lengthUnit, ""), _dec(_class = (_class2 = class TooltipSettingsNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
86622
+ let TooltipSettingsNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixinNode)(), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("tooltip", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, `Текст в тултипе.`), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("tooltipPosition", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.enum(..._Helpers_Help_PopupPosition__WEBPACK_IMPORTED_MODULE_4__.allPopupPositions), `Позиция тултипа. По умолчанию \"top left\". Возможные позиции: ${_Helpers_Help_PopupPosition__WEBPACK_IMPORTED_MODULE_4__.allPopupPositions.join(", ")}`), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("tooltipWidth", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.lengthUnit, ""), _dec(_class = (_class2 = class TooltipSettingsNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
86581
86623
  constructor(...args) {
86582
86624
  super(...args);
86583
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "tooltipPosition", _descriptor, this);
86584
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "tooltipWidth", _descriptor2, this);
86625
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "tooltip", _descriptor, this);
86626
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "tooltipPosition", _descriptor2, this);
86627
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "tooltipWidth", _descriptor3, this);
86585
86628
  }
86586
- }, (_descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "tooltipPosition", [_dec2], {
86629
+ }, (_descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "tooltip", [_dec2], {
86630
+ configurable: true,
86631
+ enumerable: true,
86632
+ writable: true,
86633
+ initializer: null
86634
+ }), _descriptor2 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "tooltipPosition", [_dec3], {
86587
86635
  configurable: true,
86588
86636
  enumerable: true,
86589
86637
  writable: true,
86590
86638
  initializer: null
86591
- }), _descriptor2 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "tooltipWidth", [_dec3], {
86639
+ }), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "tooltipWidth", [_dec4], {
86592
86640
  configurable: true,
86593
86641
  enumerable: true,
86594
86642
  writable: true,
@@ -97572,6 +97620,12 @@ class StickyTableColumnConverter extends _Column_ColumnConverter__WEBPACK_IMPORT
97572
97620
  static getAcceptNodeClass() {
97573
97621
  return _StickyTableNode__WEBPACK_IMPORTED_MODULE_2__.StickyTableColumnNode;
97574
97622
  }
97623
+ *doBuildNormalizeRules(builder) {
97624
+ const node = this.getCurrentNodeAs(_StickyTableNode__WEBPACK_IMPORTED_MODULE_2__.StickyTableColumnNode);
97625
+ if (node.multiple) {
97626
+ yield* builder.childrenInitializer(node, false);
97627
+ }
97628
+ }
97575
97629
  doBuildDataDeclaration(context) {
97576
97630
  const node = this.getCurrentNodeAs(_StickyTableNode__WEBPACK_IMPORTED_MODULE_2__.StickyTableColumnNode);
97577
97631
  if (node.multiple) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kontur.candy/generator",
3
- "version": "5.27.0-ss-doc-import.16",
3
+ "version": "5.27.0-ss-doc-import.18",
4
4
  "description": "Candy forms generator",
5
5
  "author": "SKBKontur Candy Team",
6
6
  "private": false,