@kontur.candy/generator 5.74.0-forminform.2 → 5.74.0-forminform.4

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 +158 -47
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -47023,6 +47023,7 @@ __webpack_require__.r(__webpack_exports__);
47023
47023
  /* harmony export */ WellKnownDirectories: () => (/* binding */ WellKnownDirectories)
47024
47024
  /* harmony export */ });
47025
47025
  class WellKnownDirectories {}
47026
+ WellKnownDirectories.ExternFormsDefaultCheckoutDirectory = "extern.forms";
47026
47027
  WellKnownDirectories.FormsDirectory = "forms";
47027
47028
  WellKnownDirectories.CandyFarmDirectory = "candy.farm";
47028
47029
  WellKnownDirectories.CandySubdirectoryName = "Candy";
@@ -69405,6 +69406,44 @@ require('./webEntry')
69405
69406
 
69406
69407
  /***/ }),
69407
69408
 
69409
+ /***/ "./Generator/src/generators/FsUtils.ts":
69410
+ /*!*********************************************!*\
69411
+ !*** ./Generator/src/generators/FsUtils.ts ***!
69412
+ \*********************************************/
69413
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
69414
+
69415
+ "use strict";
69416
+ __webpack_require__.r(__webpack_exports__);
69417
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
69418
+ /* harmony export */ isDirectoryExists: () => (/* binding */ isDirectoryExists),
69419
+ /* harmony export */ isDirectoryExistsSync: () => (/* binding */ isDirectoryExistsSync)
69420
+ /* harmony export */ });
69421
+ /* harmony import */ var fs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! fs */ "fs");
69422
+ /* harmony import */ var fs__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(fs__WEBPACK_IMPORTED_MODULE_0__);
69423
+ /* harmony import */ var util__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! util */ "util");
69424
+ /* harmony import */ var util__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(util__WEBPACK_IMPORTED_MODULE_1__);
69425
+
69426
+
69427
+ const statAsync = (0,util__WEBPACK_IMPORTED_MODULE_1__.promisify)(fs__WEBPACK_IMPORTED_MODULE_0__.stat);
69428
+ async function isDirectoryExists(directoryPath) {
69429
+ try {
69430
+ const dirStat = await statAsync(directoryPath);
69431
+ return dirStat.isDirectory();
69432
+ } catch (ignoreError) {
69433
+ return false;
69434
+ }
69435
+ }
69436
+ function isDirectoryExistsSync(directoryPath) {
69437
+ try {
69438
+ const dirStat = fs__WEBPACK_IMPORTED_MODULE_0__.statSync(directoryPath);
69439
+ return dirStat.isDirectory();
69440
+ } catch (ignoreError) {
69441
+ return false;
69442
+ }
69443
+ }
69444
+
69445
+ /***/ }),
69446
+
69408
69447
  /***/ "./Generator/src/generators/HelperFunctionsGenerator/AstToExportStatement.ts":
69409
69448
  /*!***********************************************************************************!*\
69410
69449
  !*** ./Generator/src/generators/HelperFunctionsGenerator/AstToExportStatement.ts ***!
@@ -69814,7 +69853,7 @@ class KCXmlGeneratorBase {
69814
69853
  if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_1__.FormulaInstanceCountExpression) {
69815
69854
  const modelPath = (0,_DataSchema_DataSchemaUtils__WEBPACK_IMPORTED_MODULE_7__.adjustPathMultiplicity)(this.schema, this.extendedSchemaInfo, prefix.joinWith((0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.createFromMask)(this.removeAttributePrefix(this.removeMultiplicity(expression.select)), "auto", _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.PathTokens.each)).normalize());
69816
69855
  const finalPath = modelPath.trimLastStarIfLastToken();
69817
- deps.push(new RegularDependency(finalPath));
69856
+ deps.push(new DependencyWithoutChecks(finalPath));
69818
69857
  return gcf(x => x.instanceCount, `"${finalPath.toLegacyPath()}"`);
69819
69858
  }
69820
69859
  if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_1__.FormulaWhenExpression) {
@@ -70769,8 +70808,8 @@ __webpack_require__.r(__webpack_exports__);
70769
70808
  /* harmony import */ var crypto__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(crypto__WEBPACK_IMPORTED_MODULE_3__);
70770
70809
  /* harmony import */ var chalk__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! chalk */ "./node_modules/chalk/source/index.js");
70771
70810
  /* harmony import */ var chalk__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(chalk__WEBPACK_IMPORTED_MODULE_4__);
70772
- /* harmony import */ var fs_extra__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! fs-extra */ "./node_modules/fs-extra/lib/index.js");
70773
- /* harmony import */ var fs_extra__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(fs_extra__WEBPACK_IMPORTED_MODULE_10__);
70811
+ /* harmony import */ var fs_extra__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! fs-extra */ "./node_modules/fs-extra/lib/index.js");
70812
+ /* harmony import */ var fs_extra__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(fs_extra__WEBPACK_IMPORTED_MODULE_11__);
70774
70813
  /* harmony import */ var md5__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! md5 */ "./node_modules/md5/md5.js");
70775
70814
  /* harmony import */ var md5__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(md5__WEBPACK_IMPORTED_MODULE_5__);
70776
70815
  /* harmony import */ var recursive_readdir__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! recursive-readdir */ "./node_modules/recursive-readdir/index.js");
@@ -70778,6 +70817,8 @@ __webpack_require__.r(__webpack_exports__);
70778
70817
  /* harmony import */ var _common_ExtractSugarReferences__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../common/ExtractSugarReferences */ "./Generator/src/common/ExtractSugarReferences.ts");
70779
70818
  /* harmony import */ var _Common_GetRngSchemaFileExtension__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../Common/GetRngSchemaFileExtension */ "./Common/GetRngSchemaFileExtension.ts");
70780
70819
  /* harmony import */ var _Common_FormPathUtils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../Common/FormPathUtils */ "./Common/FormPathUtils.ts");
70820
+ /* harmony import */ var _FsUtils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./FsUtils */ "./Generator/src/generators/FsUtils.ts");
70821
+
70781
70822
 
70782
70823
 
70783
70824
 
@@ -70802,7 +70843,7 @@ async function readFormSources(formSourcesPath, farmDirectory) {
70802
70843
  if (sugarReferences.fetchFunctionFiles.length === 0) {
70803
70844
  // eslint-disable-next-line no-console
70804
70845
  console.warn(chalk__WEBPACK_IMPORTED_MODULE_4___default().yellow(`[WARN] Форма не содержит ссылок на fetch-функции. Будут автоматически подключены функции из каталога legacyfetchfuctions\n` + `[WARN] В будущем необходимо явно прописывать ссылки на используемые fetch-функции`));
70805
- const legacyfetchfunctionsDirectory = (await (0,fs_extra__WEBPACK_IMPORTED_MODULE_10__.pathExists)(path__WEBPACK_IMPORTED_MODULE_1___default().join(farmDirectory, "legacyfetchfunctions"))) ? path__WEBPACK_IMPORTED_MODULE_1___default().join(farmDirectory, "legacyfetchfunctions") : path__WEBPACK_IMPORTED_MODULE_1___default().join(farmDirectory, "candy.farm", "legacyfetchfunctions");
70846
+ const legacyfetchfunctionsDirectory = (await (0,fs_extra__WEBPACK_IMPORTED_MODULE_11__.pathExists)(path__WEBPACK_IMPORTED_MODULE_1___default().join(farmDirectory, "legacyfetchfunctions"))) ? path__WEBPACK_IMPORTED_MODULE_1___default().join(farmDirectory, "legacyfetchfunctions") : path__WEBPACK_IMPORTED_MODULE_1___default().join(farmDirectory, "candy.farm", "legacyfetchfunctions");
70806
70847
  sugarReferences.fetchFunctionFiles = (await readdirAsync(legacyfetchfunctionsDirectory)).map(x => path__WEBPACK_IMPORTED_MODULE_1___default().resolve(legacyfetchfunctionsDirectory, x));
70807
70848
  }
70808
70849
  const result = {
@@ -70858,14 +70899,6 @@ function evalModule(moduleCode) {
70858
70899
  return module.exports;
70859
70900
  })()`);
70860
70901
  }
70861
- async function isDirectoryExists(directoryPath) {
70862
- try {
70863
- const dirStat = await statAsync(directoryPath);
70864
- return dirStat.isDirectory();
70865
- } catch (ignoreError) {
70866
- return false;
70867
- }
70868
- }
70869
70902
  async function readFiles(filePaths) {
70870
70903
  const result = [];
70871
70904
  for (const filePath of filePaths) {
@@ -70878,7 +70911,7 @@ async function extractReferences(formSugarDirectoryPath) {
70878
70911
  return (0,_common_ExtractSugarReferences__WEBPACK_IMPORTED_MODULE_7__.extractSugarReferences)(indexContent, filePath => readFileAsync(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSugarDirectoryPath, filePath), "utf-8"));
70879
70912
  }
70880
70913
  async function getAllFilePathsInDirectory(directoryPath, _filelist) {
70881
- if (!(await (0,fs_extra__WEBPACK_IMPORTED_MODULE_10__.pathExists)(directoryPath))) {
70914
+ if (!(await (0,fs_extra__WEBPACK_IMPORTED_MODULE_11__.pathExists)(directoryPath))) {
70882
70915
  return [];
70883
70916
  }
70884
70917
  const files = await readdirAsync(directoryPath);
@@ -70893,7 +70926,7 @@ async function getAllFilePathsInDirectory(directoryPath, _filelist) {
70893
70926
  return filelist;
70894
70927
  }
70895
70928
  async function checkFileExists(filePath) {
70896
- if (!(await (0,fs_extra__WEBPACK_IMPORTED_MODULE_10__.pathExists)(filePath))) {
70929
+ if (!(await (0,fs_extra__WEBPACK_IMPORTED_MODULE_11__.pathExists)(filePath))) {
70897
70930
  return [];
70898
70931
  }
70899
70932
  return [filePath];
@@ -70902,7 +70935,7 @@ async function getAllDependencies(formSourcesPath, farmDirectory) {
70902
70935
  const formSugarDirectoryPath = path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "sugar");
70903
70936
  const sugarReferences = await extractReferences(formSugarDirectoryPath);
70904
70937
  if (sugarReferences.fetchFunctionFiles.length === 0) {
70905
- const legacyfetchfunctionsDirectory = (await (0,fs_extra__WEBPACK_IMPORTED_MODULE_10__.pathExists)(path__WEBPACK_IMPORTED_MODULE_1___default().join(farmDirectory, "legacyfetchfunctions"))) ? path__WEBPACK_IMPORTED_MODULE_1___default().join(farmDirectory, "legacyfetchfunctions") : path__WEBPACK_IMPORTED_MODULE_1___default().join(farmDirectory, "candy.farm", "legacyfetchfunctions");
70938
+ const legacyfetchfunctionsDirectory = (await (0,fs_extra__WEBPACK_IMPORTED_MODULE_11__.pathExists)(path__WEBPACK_IMPORTED_MODULE_1___default().join(farmDirectory, "legacyfetchfunctions"))) ? path__WEBPACK_IMPORTED_MODULE_1___default().join(farmDirectory, "legacyfetchfunctions") : path__WEBPACK_IMPORTED_MODULE_1___default().join(farmDirectory, "candy.farm", "legacyfetchfunctions");
70906
70939
  sugarReferences.fetchFunctionFiles = (await readdirAsync(legacyfetchfunctionsDirectory)).map(x => path__WEBPACK_IMPORTED_MODULE_1___default().resolve(legacyfetchfunctionsDirectory, x));
70907
70940
  }
70908
70941
  return [path__WEBPACK_IMPORTED_MODULE_1___default().join(formSugarDirectoryPath, "index.sugar.xml"), ...sugarReferences.fetchFunctionFiles.map(x => path__WEBPACK_IMPORTED_MODULE_1___default().resolve(formSugarDirectoryPath, x)), ...sugarReferences.sugarFiles.map(x => path__WEBPACK_IMPORTED_MODULE_1___default().resolve(formSugarDirectoryPath, x + ".sugar.xml")), ...sugarReferences.resourceFiles.map(x => path__WEBPACK_IMPORTED_MODULE_1___default().resolve(formSugarDirectoryPath, x)), ...(await checkFileExists(path__WEBPACK_IMPORTED_MODULE_1___default().resolve(formSourcesPath, "settings.json"))), ...(await checkFileExists(path__WEBPACK_IMPORTED_MODULE_1___default().resolve(formSourcesPath, "hooks.js"))), ...(await getAllFilePathsInDirectory(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "autocalc"))), ...(await getAllFilePathsInDirectory(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "helpers"))), ...(await getAllFilePathsInDirectory(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "converters"))), ...(await getAllFilePathsInDirectory(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "mergers"))), ...(await getAllFilePathsInDirectory(path__WEBPACK_IMPORTED_MODULE_1___default().join(farmDirectory, "jsHelpers"))), ...(await getAllFilePathsInDirectory(path__WEBPACK_IMPORTED_MODULE_1___default().join(farmDirectory, "xsltTemplates"))), ...(await getAllFilePathsInDirectory(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "validations"))), ...(await getAllFilePathsInDirectory(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "schemas"))), ...(await checkFileExists(path__WEBPACK_IMPORTED_MODULE_1___default().join(farmDirectory, "tour", "tour.js"))), ...(await getAllFilePathsInDirectory(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "controls"))), ...(await getAllFilePathsInDirectory(path__WEBPACK_IMPORTED_MODULE_1___default().join(formSourcesPath, "localization")))];
@@ -70933,7 +70966,7 @@ async function readSugarFiles(formSugarDirectoryPath, references) {
70933
70966
  return result;
70934
70967
  }
70935
70968
  async function readCustomControlsFiles(formSugarDirectoryPath) {
70936
- if (!(await isDirectoryExists(formSugarDirectoryPath))) {
70969
+ if (!(await (0,_FsUtils__WEBPACK_IMPORTED_MODULE_10__.isDirectoryExists)(formSugarDirectoryPath))) {
70937
70970
  return {};
70938
70971
  }
70939
70972
  const fileNames = await recursive_readdir__WEBPACK_IMPORTED_MODULE_6___default()(formSugarDirectoryPath);
@@ -73616,9 +73649,8 @@ class FormulaExpressionToFlangExpressionConverter {
73616
73649
  const adjustedSelectPath = this.preparePathAndAdjustMultiplicity(prefix, selectPath).trimLastStarIfLastToken();
73617
73650
  const splitInfo = (0,_Common_ModelPath_PathSplitHelper__WEBPACK_IMPORTED_MODULE_5__.getMatchedAndDifferentModelPaths)(target.path, adjustedSelectPath);
73618
73651
  if (!splitInfo.differentPath.isContainIteration()) {
73619
- const childrenExpression = (0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_8__.makeStringValueReference)(adjustedSelectPath.toCurrentIteration().normalize(), "children");
73620
- return new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.LenExpression(childrenExpression);
73621
- // return new DecimalLiteralExpression();
73652
+ const childrenExpression = new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.NullCoalesceExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.ArrayLengthExpression(new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.DeserializeEnumerationExpression([(0,_FLang_FlangUtils__WEBPACK_IMPORTED_MODULE_8__.makeStringValueReference)(adjustedSelectPath.toCurrentIteration().normalize(), "children")], new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.BoolLiteralExpression(true))), new _FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_9__.DecimalLiteralExpression(0));
73653
+ return childrenExpression;
73622
73654
  } else {
73623
73655
  throw new Error(`Instance count with nested multiplicity is not supported: target: ${target.path}, select path: ${selectPath}}`);
73624
73656
  }
@@ -78336,6 +78368,8 @@ function naiveConvertJsConditionToKCLangCondition(condition) {
78336
78368
  applyReplacements([[/^false$/g, "1 == 0"]]);
78337
78369
  applyReplacements([/ === /g, " == "]);
78338
78370
  applyReplacements([/ !== /g, " != "]);
78371
+ applyReplacements([/\s!\(/g, " not ("]);
78372
+ applyReplacements([/^!\(/g, "not ("]);
78339
78373
  // const tripleEqFalse = /===\s*false/g;
78340
78374
  // applyReplacements([tripleEqFalse, "as string == 'true'"]);
78341
78375
 
@@ -79002,7 +79036,11 @@ __webpack_require__.r(__webpack_exports__);
79002
79036
  /* harmony import */ var _Common_PathConstants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../../../Common/PathConstants */ "./Common/PathConstants.ts");
79003
79037
  /* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
79004
79038
  /* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
79005
- /* harmony import */ var _AttachmentFormNode__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./AttachmentFormNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/AttachmentForm/AttachmentFormNode.ts");
79039
+ /* harmony import */ var _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../validationGenerator/Nodes/TypeNode */ "./Generator/src/generators/validationGenerator/Nodes/TypeNode.ts");
79040
+ /* harmony import */ var _DefaultContent_DefaultContentNode__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../DefaultContent/DefaultContentNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/DefaultContent/DefaultContentNode.ts");
79041
+ /* harmony import */ var _AttachmentFormNode__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./AttachmentFormNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/AttachmentForm/AttachmentFormNode.ts");
79042
+
79043
+
79006
79044
 
79007
79045
 
79008
79046
 
@@ -79013,10 +79051,10 @@ __webpack_require__.r(__webpack_exports__);
79013
79051
 
79014
79052
  class AttachmentFormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.SugarNodeConverterBase {
79015
79053
  static getAcceptNodeClass() {
79016
- return _AttachmentFormNode__WEBPACK_IMPORTED_MODULE_7__.AttachmentFormNode;
79054
+ return _AttachmentFormNode__WEBPACK_IMPORTED_MODULE_9__.AttachmentFormNode;
79017
79055
  }
79018
79056
  *getAttachmentPaths() {
79019
- const node = this.getCurrentNodeAs(_AttachmentFormNode__WEBPACK_IMPORTED_MODULE_7__.AttachmentFormNode);
79057
+ const node = this.getCurrentNodeAs(_AttachmentFormNode__WEBPACK_IMPORTED_MODULE_9__.AttachmentFormNode);
79020
79058
  yield (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.createAbsolute)(node.path).joinWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_4__.AttachmentInfoPath);
79021
79059
  }
79022
79060
  doBuildDataDeclaration(context) {
@@ -79029,7 +79067,7 @@ class AttachmentFormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODU
79029
79067
  // no children
79030
79068
  }
79031
79069
  doConvert(context) {
79032
- const attachmentFormNode = this.getCurrentNodeAs(_AttachmentFormNode__WEBPACK_IMPORTED_MODULE_7__.AttachmentFormNode);
79070
+ const attachmentFormNode = this.getCurrentNodeAs(_AttachmentFormNode__WEBPACK_IMPORTED_MODULE_9__.AttachmentFormNode);
79033
79071
  const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("AttachmentUnit");
79034
79072
  markupBuilder.prop("data-tid").set("attachment" + attachmentFormNode.gfv);
79035
79073
  markupBuilder.prop(x => x.unitId).set((0,_Engine_src_Controls_FormParts_Unit_UnitId_UnitId__WEBPACK_IMPORTED_MODULE_3__.createUnitId)("attachment" + attachmentFormNode.gfv));
@@ -79037,6 +79075,13 @@ class AttachmentFormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODU
79037
79075
  markupBuilder.prop(x => x.caption).set(attachmentFormNode.name);
79038
79076
  markupBuilder.prop(x => x.description).set(attachmentFormNode.description);
79039
79077
  markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_6__.getNewBindingPathExpression)(attachmentFormNode, attachmentFormNode.path));
79078
+ const defaultContentNode = attachmentFormNode.children.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_7__.ofType)(_DefaultContent_DefaultContentNode__WEBPACK_IMPORTED_MODULE_8__.DefaultContentNode));
79079
+ if (defaultContentNode != undefined) {
79080
+ const markupBuilderDefault = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("PageFilledConditional");
79081
+ markupBuilderDefault.prop(x => x.visibleIfFilled).set(false);
79082
+ markupBuilderDefault.appendChild(context.convertChildNodes([defaultContentNode]));
79083
+ markupBuilder.appendChild(markupBuilder);
79084
+ }
79040
79085
  return markupBuilder.buildConverterResult();
79041
79086
  }
79042
79087
  }
@@ -79062,21 +79107,25 @@ __webpack_require__.r(__webpack_exports__);
79062
79107
  /* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
79063
79108
  /* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
79064
79109
  /* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
79110
+ /* harmony import */ var _Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../Commons/DocumentationLinks */ "./Generator/src/generators/markupGenerator/ElementProcessors/Commons/DocumentationLinks.ts");
79065
79111
 
79066
79112
 
79067
79113
 
79068
- var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6;
79114
+ var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8;
79069
79115
 
79070
79116
 
79071
- let AttachmentFormNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("attachmentform", `Встроенный редактор для формализованного приложения`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/AttachmentForm sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("gfv", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string.required, `ГФВ приложения`), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("name", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string.required, `Крактое название раздела, в который поместить форму`), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("description", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string.required, `Описание формы приложения`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string.required, `Путь до поля с именем приложения`), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("multiple", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Обозначение множественного раздела`), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("navigationLimit", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, `Количество экземпляров множественного раздела после которого в левом меню будет включаться компактный режим отображения разделов. По умолчанию: 15. Используется только для множественных разделов`), _dec(_class = (_class2 = class AttachmentFormNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
79117
+
79118
+ let AttachmentFormNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("attachmentform", `Встроенный редактор для формализованного приложения`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/AttachmentForm sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("gfv", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string.required, `ГФВ приложения`), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("name", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string.required, `Крактое название раздела, в который поместить форму`), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("description", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string.required, `Описание формы приложения`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string.required, `Путь до поля с именем приложения`), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("navigationLimit", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, `Количество экземпляров множественного раздела после которого в левом меню будет включаться компактный режим отображения разделов. По умолчанию: 15. Используется только для множественных разделов`), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("multiple", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Обозначение множественного раздела`), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("visible", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.javascriptExpression, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__.javaScriptExpressionLink)} для условного скрытия раздела`), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)(), _dec(_class = (_class2 = class AttachmentFormNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
79072
79119
  constructor(...args) {
79073
79120
  super(...args);
79074
79121
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "gfv", _descriptor, this);
79075
79122
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "name", _descriptor2, this);
79076
79123
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "description", _descriptor3, this);
79077
79124
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "path", _descriptor4, this);
79078
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "multiple", _descriptor5, this);
79079
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "navigationLimit", _descriptor6, this);
79125
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "navigationLimit", _descriptor5, this);
79126
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "multiple", _descriptor6, this);
79127
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "visible", _descriptor7, this);
79128
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor8, this);
79080
79129
  }
79081
79130
  getOwnPath() {
79082
79131
  return this.path != undefined ? (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_4__.createFromMask)(this.path, "auto", _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_4__.PathTokens.each) : undefined;
@@ -79101,12 +79150,22 @@ let AttachmentFormNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTE
79101
79150
  enumerable: true,
79102
79151
  writable: true,
79103
79152
  initializer: null
79104
- }), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "multiple", [_dec6], {
79153
+ }), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "navigationLimit", [_dec6], {
79105
79154
  configurable: true,
79106
79155
  enumerable: true,
79107
79156
  writable: true,
79108
79157
  initializer: null
79109
- }), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "navigationLimit", [_dec7], {
79158
+ }), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "multiple", [_dec7], {
79159
+ configurable: true,
79160
+ enumerable: true,
79161
+ writable: true,
79162
+ initializer: null
79163
+ }), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "visible", [_dec8], {
79164
+ configurable: true,
79165
+ enumerable: true,
79166
+ writable: true,
79167
+ initializer: null
79168
+ }), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec9], {
79110
79169
  configurable: true,
79111
79170
  enumerable: true,
79112
79171
  writable: true,
@@ -80170,6 +80229,15 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
80170
80229
  markupBuilder.prop(x => x.description).set(attachmentFormNode.description);
80171
80230
  markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_15__.getNewBindingPathExpression)(attachmentFormNode));
80172
80231
  markupBuilder.prop(x => x.multiple).set(attachmentFormNode.multiple);
80232
+ markupBuilder.prop(x => x.evaluatorsContextPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_15__.getNewBindingPathExpression)(attachmentFormNode));
80233
+ const compiledCondition = generateKcLangOrJsCondition(attachmentFormNode);
80234
+ if (attachmentFormNode.visible != undefined) {
80235
+ markupBuilder.prop(x => x.visible).set({
80236
+ type: "Expression",
80237
+ expression: `{ type: "ModelDependentEvaluator", expression: (path, count) => ${compiledCondition === null || compiledCondition === void 0 ? void 0 : compiledCondition.condition} }`,
80238
+ dependencies: compiledCondition === null || compiledCondition === void 0 ? void 0 : compiledCondition.dependencies
80239
+ });
80240
+ }
80173
80241
  return markupBuilder;
80174
80242
  }
80175
80243
  isPageContainsTableWithStickyElements(pageNode) {
@@ -80239,6 +80307,14 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
80239
80307
  unitItemBuilder.prop(x => x.navigationLimit).set(navigationLimit);
80240
80308
  }
80241
80309
  }
80310
+ const compiledCondition = generateKcLangOrJsCondition(attachmentForm);
80311
+ if (attachmentForm.visible != undefined) {
80312
+ unitItemBuilder.prop(x => x.visible).set({
80313
+ type: "Expression",
80314
+ expression: `{ type: "ModelDependentEvaluator", expression: (path, count) => ${compiledCondition === null || compiledCondition === void 0 ? void 0 : compiledCondition.condition} }`,
80315
+ dependencies: compiledCondition === null || compiledCondition === void 0 ? void 0 : compiledCondition.dependencies
80316
+ });
80317
+ }
80242
80318
  unitItemBuilders.push(unitItemBuilder);
80243
80319
  }
80244
80320
  return unitItemBuilders;
@@ -93249,6 +93325,9 @@ class DateConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.Sug
93249
93325
  const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__.componentMarkupBuilder)("DatePicker");
93250
93326
  markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_3__.getNewBindingPathExpression)(node));
93251
93327
  markupBuilder.prop(x => x.dateFormat).set(node.dateFormat);
93328
+ markupBuilder.prop(x => x.menuPosHorizontal).set(node.menuPosHorizontal);
93329
+ markupBuilder.prop(x => x.menuPosVertical).set(node.menuPosVertical);
93330
+ markupBuilder.prop(x => x.enableTodayLink).set(node.enableTodayLink);
93252
93331
  markupBuilder.prop("data-tid").set(node.tid);
93253
93332
  markupBuilder.prop(x => x.width).set(node.width);
93254
93333
  (0,_CommonNodeProperties_TooltipProperties_SetTooltipSettingsProps__WEBPACK_IMPORTED_MODULE_4__.setTooltipSettingsProps)(markupBuilder, node.tooltipSettings);
@@ -93298,7 +93377,7 @@ __webpack_require__.r(__webpack_exports__);
93298
93377
 
93299
93378
 
93300
93379
 
93301
- var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15;
93380
+ var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18;
93302
93381
 
93303
93382
 
93304
93383
 
@@ -93307,7 +93386,7 @@ var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11
93307
93386
 
93308
93387
 
93309
93388
 
93310
- let DateNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.sugarNode)("date", `Контрол ввода даты`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Date 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__.deprecatedAttr)("caption", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.Removed), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("disabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, ``), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("tid", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, "Возможность установки произвольных data-tid атрибутов, может пригодиться другим командам, или для идентификации элемента в тестах"), _dec6 = (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)} для условного задизейбливания контрола`), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrMixin)(_CommonNodeProperties_ValidationInfoNode__WEBPACK_IMPORTED_MODULE_4__.ValidationInfoNode), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrMixin)(_CommonNodeProperties_TooltipProperties_TooltipSettingsNode__WEBPACK_IMPORTED_MODULE_9__.TooltipSettingsNode), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.deprecatedAttr)("placeholder", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.Removed), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.lengthUnit, `Ширина`), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("dateFormat", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.enum("fss"), `Форматы даты для сохранения в inner, в 4-ФСС указывается fss.`), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.bindingPath, ``), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("help", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, ``), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.children)("help", [_Helpers_Help_HelpNode__WEBPACK_IMPORTED_MODULE_8__.HelpNode]), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("callHelperOnChange", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.helperFunctionName, "Вызов helper функции на onChange контролла"), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("callHelperOnBlur", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.helperFunctionName, "Вызов helper функции на onBlur контролла"), _dec(_class = (_class2 = class DateNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_6__.SugarNodeWithLegacyVisibility {
93389
+ let DateNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.sugarNode)("date", `Контрол ввода даты`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/Date 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__.deprecatedAttr)("caption", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.Removed), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("disabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, ``), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("tid", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, "Возможность установки произвольных data-tid атрибутов, может пригодиться другим командам, или для идентификации элемента в тестах"), _dec6 = (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)} для условного задизейбливания контрола`), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrMixin)(_CommonNodeProperties_ValidationInfoNode__WEBPACK_IMPORTED_MODULE_4__.ValidationInfoNode), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrMixin)(_CommonNodeProperties_TooltipProperties_TooltipSettingsNode__WEBPACK_IMPORTED_MODULE_9__.TooltipSettingsNode), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.deprecatedAttr)("placeholder", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.Removed), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.lengthUnit, `Ширина`), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("dateFormat", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.enum("fss"), `Форматы даты для сохранения в inner, в 4-ФСС указывается fss.`), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.bindingPath, ``), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("help", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, ``), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.children)("help", [_Helpers_Help_HelpNode__WEBPACK_IMPORTED_MODULE_8__.HelpNode]), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("callHelperOnChange", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.helperFunctionName, "Вызов helper функции на onChange контролла"), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("callHelperOnBlur", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.helperFunctionName, "Вызов helper функции на onBlur контролла"), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("menuPosHorizontal", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.enum("left", "right"), "Отображение выпадающего окна по горизонтали."), _dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("menuPosVertical", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.enum("top", "bottom"), "Отображение выпадающего окна по вертикали."), _dec19 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("enableTodayLink", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, "Включить отображение кнопки 'Сегодня' внизу выпадающего окна."), _dec(_class = (_class2 = class DateNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_6__.SugarNodeWithLegacyVisibility {
93311
93390
  constructor(...args) {
93312
93391
  super(...args);
93313
93392
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataBinding", _descriptor, this);
@@ -93325,6 +93404,9 @@ let DateNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7
93325
93404
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "helpNodes", _descriptor13, this);
93326
93405
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "callHelperOnChange", _descriptor14, this);
93327
93406
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "callHelperOnBlur", _descriptor15, this);
93407
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "menuPosHorizontal", _descriptor16, this);
93408
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "menuPosVertical", _descriptor17, this);
93409
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "enableTodayLink", _descriptor18, this);
93328
93410
  }
93329
93411
  getOwnPath() {
93330
93412
  return this.dataBinding.getOwnPath();
@@ -93404,6 +93486,21 @@ let DateNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7
93404
93486
  enumerable: true,
93405
93487
  writable: true,
93406
93488
  initializer: null
93489
+ }), _descriptor16 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "menuPosHorizontal", [_dec17], {
93490
+ configurable: true,
93491
+ enumerable: true,
93492
+ writable: true,
93493
+ initializer: null
93494
+ }), _descriptor17 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "menuPosVertical", [_dec18], {
93495
+ configurable: true,
93496
+ enumerable: true,
93497
+ writable: true,
93498
+ initializer: null
93499
+ }), _descriptor18 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "enableTodayLink", [_dec19], {
93500
+ configurable: true,
93501
+ enumerable: true,
93502
+ writable: true,
93503
+ initializer: null
93407
93504
  })), _class2)) || _class);
93408
93505
 
93409
93506
  /***/ }),
@@ -98395,6 +98492,8 @@ class TreePicklistConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE
98395
98492
  markupBuilder.prop(x => x.fields).set((_node$fields = node.fields) !== null && _node$fields !== void 0 ? _node$fields : []);
98396
98493
  markupBuilder.prop(x => x.multiple).set(node.multiple);
98397
98494
  markupBuilder.prop(x => x.minPickLevel).set((_node$minPickLevel = node.minPickLevel) !== null && _node$minPickLevel !== void 0 ? _node$minPickLevel : Infinity);
98495
+ markupBuilder.prop(x => x.allowedToPickLevels).set(node.allowedToPickLevels);
98496
+ markupBuilder.prop(x => x.fieldToDisableElementPick).set(node.fieldToDisableElementPick);
98398
98497
  markupBuilder.prop(x => x.display).set((_node$display = node.display) !== null && _node$display !== void 0 ? _node$display : []);
98399
98498
  markupBuilder.prop(x => x.childColumnName).set((_node$childColumnName = node.childColumnName) !== null && _node$childColumnName !== void 0 ? _node$childColumnName : "childof");
98400
98499
  markupBuilder.prop(x => x.parentColumnName).set((_node$parentColumnNam = node.parentColumnName) !== null && _node$parentColumnNam !== void 0 ? _node$parentColumnNam : "code");
@@ -98456,14 +98555,14 @@ __webpack_require__.r(__webpack_exports__);
98456
98555
 
98457
98556
 
98458
98557
 
98459
- 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;
98558
+ var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _dec24, _dec25, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24;
98460
98559
 
98461
98560
 
98462
98561
 
98463
98562
 
98464
98563
 
98465
98564
 
98466
- let TreePicklistNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.sugarNode)("treepicklist", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/TreePicklist sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__.DataBindingMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrMixin)(_CommonNodeProperties_ValidationInfoNode__WEBPACK_IMPORTED_MODULE_4__.ValidationInfoNode), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("gId", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.picklistId, ``), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("multiple", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, ``), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("title", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.localizedString, ``), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.lengthUnit, ``), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("fields", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.array(_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string.required), ``), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("display", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.array(_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string).required, `Какие поля из таблицы отображать для пользователя на интерфейсе`), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("parentcolumnname", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string, `Название колонки родителя, на которую ссылается дочерний элемент. По умолчанию code`), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("hintFields", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.array(_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string), `Названия колонок для хинта (как в fields). По умолчанию name.`), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("hintWidth", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, `Ширина хинта.`), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("descriptionInModal", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string, `Текст подсказки, который покажется в модалке пиклиста над полем поиска. Поддерживает Markdown.`), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("childcolumnname", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string, `Название колонки дочернего элемента, которая ссылается на parentColumnName. По умолчанию childof`), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("filter", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.javascriptExpression, `Фильтр значений из справочника, которые можно использовать для этого поля. Подробности в описании.`), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("minPickLevel", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, `C какого минимального уровня иерархии возможен выбор значений из пиклиста. Доступен на multiple=false`), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.bindingPath, `Путь до значения`), _dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("help", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string, ``), _dec19 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("help", [_Helpers_Help_HelpNode__WEBPACK_IMPORTED_MODULE_7__.HelpNode]), _dec20 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("tooltipPosition", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.enum(..._Helpers_Help_PopupPosition__WEBPACK_IMPORTED_MODULE_8__.allPopupPositions), `Позиция тултипа.`), _dec21 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("binding", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.objectLiteral(), `Привязка какого-то значения из справочника с моделью в кенди (иннером).`), _dec22 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("tid", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string, "Возможность установки произвольных data-tid атрибутов, может пригодиться другим командам, или для идентификации элемента в тестах."), _dec23 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("callHelperOnChange", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.helperFunctionName, "Вызов helper функции на onChange контрола"), _dec(_class = (_class2 = class TreePicklistNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_5__.SugarNodeWithLegacyVisibility {
98565
+ let TreePicklistNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.sugarNode)("treepicklist", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/TreePicklist sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__.DataBindingMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrMixin)(_CommonNodeProperties_ValidationInfoNode__WEBPACK_IMPORTED_MODULE_4__.ValidationInfoNode), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("gId", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.picklistId, ``), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("multiple", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Разрешить множественный выбор элементов`), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("title", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.localizedString, ``), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.lengthUnit, ``), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("fields", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.array(_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string.required), ``), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("display", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.array(_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string).required, `Какие поля из таблицы отображать для пользователя на интерфейсе`), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("parentcolumnname", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string, `Название колонки родителя, на которую ссылается дочерний элемент. По умолчанию code`), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("hintFields", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.array(_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string), `Названия колонок для хинта (как в fields). По умолчанию name.`), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("hintWidth", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, `Ширина хинта.`), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("descriptionInModal", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string, `Текст подсказки, который покажется в модалке пиклиста над полем поиска. Поддерживает Markdown.`), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("childcolumnname", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string, `Название колонки дочернего элемента, которая ссылается на parentColumnName. По умолчанию childof`), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("filter", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.javascriptExpression, `Фильтр значений из справочника, которые можно использовать для этого поля. Подробности в описании.`), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("minPickLevel", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, `C какого минимального уровня иерархии возможен выбор значений из пиклиста. Доступен на multiple=false`), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("allowedToPickLevels", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.array(_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number), `Список уровней, разрешенных для выбора`), _dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("fieldToDisableElementPick", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string, `Название булева поля, определяющего возможность выбора элемента`), _dec19 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.bindingPath, `Путь до значения`), _dec20 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("help", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string, ``), _dec21 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("help", [_Helpers_Help_HelpNode__WEBPACK_IMPORTED_MODULE_7__.HelpNode]), _dec22 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("tooltipPosition", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.enum(..._Helpers_Help_PopupPosition__WEBPACK_IMPORTED_MODULE_8__.allPopupPositions), `Позиция тултипа.`), _dec23 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("binding", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.objectLiteral(), `Привязка какого-то значения из справочника с моделью в кенди (иннером).`), _dec24 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("tid", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string, "Возможность установки произвольных data-tid атрибутов, может пригодиться другим командам, или для идентификации элемента в тестах."), _dec25 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("callHelperOnChange", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.helperFunctionName, "Вызов helper функции на onChange контрола"), _dec(_class = (_class2 = class TreePicklistNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_5__.SugarNodeWithLegacyVisibility {
98467
98566
  constructor(...args) {
98468
98567
  super(...args);
98469
98568
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataBinding", _descriptor, this);
@@ -98481,13 +98580,15 @@ let TreePicklistNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_
98481
98580
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "childColumnName", _descriptor13, this);
98482
98581
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filter", _descriptor14, this);
98483
98582
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "minPickLevel", _descriptor15, this);
98484
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "path", _descriptor16, this);
98485
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "help", _descriptor17, this);
98486
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "helpNodes", _descriptor18, this);
98487
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "tooltipPosition", _descriptor19, this);
98488
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "binding", _descriptor20, this);
98489
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "tid", _descriptor21, this);
98490
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "callHelperOnChange", _descriptor22, this);
98583
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "allowedToPickLevels", _descriptor16, this);
98584
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "fieldToDisableElementPick", _descriptor17, this);
98585
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "path", _descriptor18, this);
98586
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "help", _descriptor19, this);
98587
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "helpNodes", _descriptor20, this);
98588
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "tooltipPosition", _descriptor21, this);
98589
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "binding", _descriptor22, this);
98590
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "tid", _descriptor23, this);
98591
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "callHelperOnChange", _descriptor24, this);
98491
98592
  }
98492
98593
  getOwnPath() {
98493
98594
  return this.dataBinding.getOwnPath();
@@ -98567,37 +98668,47 @@ let TreePicklistNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_
98567
98668
  enumerable: true,
98568
98669
  writable: true,
98569
98670
  initializer: null
98570
- }), _descriptor16 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "path", [_dec17], {
98671
+ }), _descriptor16 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "allowedToPickLevels", [_dec17], {
98571
98672
  configurable: true,
98572
98673
  enumerable: true,
98573
98674
  writable: true,
98574
98675
  initializer: null
98575
- }), _descriptor17 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "help", [_dec18], {
98676
+ }), _descriptor17 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "fieldToDisableElementPick", [_dec18], {
98576
98677
  configurable: true,
98577
98678
  enumerable: true,
98578
98679
  writable: true,
98579
98680
  initializer: null
98580
- }), _descriptor18 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "helpNodes", [_dec19], {
98681
+ }), _descriptor18 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "path", [_dec19], {
98581
98682
  configurable: true,
98582
98683
  enumerable: true,
98583
98684
  writable: true,
98584
98685
  initializer: null
98585
- }), _descriptor19 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "tooltipPosition", [_dec20], {
98686
+ }), _descriptor19 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "help", [_dec20], {
98586
98687
  configurable: true,
98587
98688
  enumerable: true,
98588
98689
  writable: true,
98589
98690
  initializer: null
98590
- }), _descriptor20 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "binding", [_dec21], {
98691
+ }), _descriptor20 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "helpNodes", [_dec21], {
98591
98692
  configurable: true,
98592
98693
  enumerable: true,
98593
98694
  writable: true,
98594
98695
  initializer: null
98595
- }), _descriptor21 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "tid", [_dec22], {
98696
+ }), _descriptor21 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "tooltipPosition", [_dec22], {
98697
+ configurable: true,
98698
+ enumerable: true,
98699
+ writable: true,
98700
+ initializer: null
98701
+ }), _descriptor22 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "binding", [_dec23], {
98702
+ configurable: true,
98703
+ enumerable: true,
98704
+ writable: true,
98705
+ initializer: null
98706
+ }), _descriptor23 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "tid", [_dec24], {
98596
98707
  configurable: true,
98597
98708
  enumerable: true,
98598
98709
  writable: true,
98599
98710
  initializer: null
98600
- }), _descriptor22 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "callHelperOnChange", [_dec23], {
98711
+ }), _descriptor24 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "callHelperOnChange", [_dec25], {
98601
98712
  configurable: true,
98602
98713
  enumerable: true,
98603
98714
  writable: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kontur.candy/generator",
3
- "version": "5.74.0-forminform.2",
3
+ "version": "5.74.0-forminform.4",
4
4
  "description": "Candy forms generator",
5
5
  "author": "SKBKontur Candy Team",
6
6
  "private": false,