@kontur.candy/generator 5.47.0-support-server-filters.0 → 5.48.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 +116 -124
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -44894,7 +44894,8 @@ const AutoValidationMessage = "Значение не равно вычислен
44894
44894
  __webpack_require__.r(__webpack_exports__);
44895
44895
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
44896
44896
  /* harmony export */ CombinatorType: () => (/* binding */ CombinatorType),
44897
- /* harmony export */ FufCombineMethod: () => (/* binding */ FufCombineMethod)
44897
+ /* harmony export */ FufCombineMethod: () => (/* binding */ FufCombineMethod),
44898
+ /* harmony export */ SumCombineMethod: () => (/* binding */ SumCombineMethod)
44898
44899
  /* harmony export */ });
44899
44900
  let FufCombineMethod = /*#__PURE__*/function (FufCombineMethod) {
44900
44901
  FufCombineMethod["Merge"] = "Merge";
@@ -44902,6 +44903,12 @@ let FufCombineMethod = /*#__PURE__*/function (FufCombineMethod) {
44902
44903
  FufCombineMethod["Replace"] = "Replace";
44903
44904
  return FufCombineMethod;
44904
44905
  }({});
44906
+ let SumCombineMethod = /*#__PURE__*/function (SumCombineMethod) {
44907
+ SumCombineMethod["replaceSum"] = "replaceSum";
44908
+ SumCombineMethod["addSum"] = "addSum";
44909
+ SumCombineMethod["ignoreSum"] = "ignoreSum";
44910
+ return SumCombineMethod;
44911
+ }({});
44905
44912
  let CombinatorType = /*#__PURE__*/function (CombinatorType) {
44906
44913
  CombinatorType["XmlCombinatorByPath"] = "XmlCombinatorByPath";
44907
44914
  CombinatorType["Default"] = "Default";
@@ -46386,16 +46393,6 @@ class ModelPathImpl {
46386
46393
  }
46387
46394
  return this;
46388
46395
  }
46389
- trimFirstStarIfLastToken() {
46390
- const firstItem = _IterableUtils__WEBPACK_IMPORTED_MODULE_0__.IterUtils.first(this.tokens);
46391
- if (firstItem != undefined && PathTokens.isMultiToken(firstItem)) {
46392
- return new ModelPathImpl(this.tokens.slice(1), this.absolute);
46393
- }
46394
- return this;
46395
- }
46396
- getSuffixPathFrom(modelFieldPath) {
46397
- return createRelativeFromTokens(modelFieldPath.matchFor(this).map(x => x.kind === _PathMatcher__WEBPACK_IMPORTED_MODULE_4__.MatchKind.DifferentSuffix ? x.source : undefined).filter(_TypingUtils__WEBPACK_IMPORTED_MODULE_1__.isNotNullOrUndefined).flatMap(x => x.getPathPartsAsArray()));
46398
- }
46399
46396
  getParentPath() {
46400
46397
  const result = new _ModelPathBuilder__WEBPACK_IMPORTED_MODULE_3__.ModelPathBuilder(this.absolute);
46401
46398
  for (const token of _IterableUtils__WEBPACK_IMPORTED_MODULE_0__.IterUtils.skipLast(this.getPathParts(), 1)) {
@@ -47224,11 +47221,12 @@ let UploadFileStatuses = /*#__PURE__*/function (UploadFileStatuses) {
47224
47221
  }({});
47225
47222
  let PatchFufSteps = /*#__PURE__*/function (PatchFufSteps) {
47226
47223
  PatchFufSteps[PatchFufSteps["SelectCombineFufMethod"] = 0] = "SelectCombineFufMethod";
47227
- PatchFufSteps[PatchFufSteps["SelectFiles"] = 1] = "SelectFiles";
47228
- PatchFufSteps[PatchFufSteps["ErrorMessage"] = 2] = "ErrorMessage";
47229
- PatchFufSteps[PatchFufSteps["LoadToForm"] = 3] = "LoadToForm";
47230
- PatchFufSteps[PatchFufSteps["ShowCombineResult"] = 4] = "ShowCombineResult";
47231
- PatchFufSteps[PatchFufSteps["ConfirmMerge"] = 5] = "ConfirmMerge";
47224
+ PatchFufSteps[PatchFufSteps["SelectCombineSumMethod"] = 1] = "SelectCombineSumMethod";
47225
+ PatchFufSteps[PatchFufSteps["SelectFiles"] = 2] = "SelectFiles";
47226
+ PatchFufSteps[PatchFufSteps["ErrorMessage"] = 3] = "ErrorMessage";
47227
+ PatchFufSteps[PatchFufSteps["LoadToForm"] = 4] = "LoadToForm";
47228
+ PatchFufSteps[PatchFufSteps["ShowCombineResult"] = 5] = "ShowCombineResult";
47229
+ PatchFufSteps[PatchFufSteps["ConfirmMerge"] = 6] = "ConfirmMerge";
47232
47230
  return PatchFufSteps;
47233
47231
  }({});
47234
47232
  let TableType = /*#__PURE__*/function (TableType) {
@@ -57932,7 +57930,7 @@ class FormSchemaRngAttribute {
57932
57930
  }
57933
57931
  const RootParent = Symbol.for("__ROOT_ELEMENT_PARENT__");
57934
57932
  class FormSchemaRngElement {
57935
- constructor(name, parent, optional, multiple, nillable, maxOccurs, lazyLoadMode, lazyLoadAggregations, errorAndWarningCountRequired, lazyLoadingThreshold, disableValueAutoInit, editorOnly, useServerFilters) {
57933
+ constructor(name, parent, optional, multiple, nillable, maxOccurs, lazyLoadMode, lazyLoadAggregations, errorAndWarningCountRequired, lazyLoadingThreshold, disableValueAutoInit, editorOnly) {
57936
57934
  this.name = void 0;
57937
57935
  this.multiple = void 0;
57938
57936
  this.lazyLoadMode = void 0;
@@ -57943,7 +57941,6 @@ class FormSchemaRngElement {
57943
57941
  this.innerTextType = void 0;
57944
57942
  this.children = new Map();
57945
57943
  this.maxOccurs = void 0;
57946
- this.useServerFilters = void 0;
57947
57944
  this.attributes = new Map();
57948
57945
  this.parent = void 0;
57949
57946
  this.optional = void 0;
@@ -57961,7 +57958,6 @@ class FormSchemaRngElement {
57961
57958
  this.lazyLoadingThreshold = lazyLoadingThreshold;
57962
57959
  this.disableValueAutoInit = disableValueAutoInit;
57963
57960
  this.editorOnly = editorOnly;
57964
- this.useServerFilters = useServerFilters;
57965
57961
  }
57966
57962
  addElement(element) {
57967
57963
  this.children.set(element.name, element);
@@ -57995,9 +57991,6 @@ class FormSchemaRngElement {
57995
57991
  var _this$disableValueAut2;
57996
57992
  return (_this$disableValueAut2 = this.disableValueAutoInit) !== null && _this$disableValueAut2 !== void 0 ? _this$disableValueAut2 : this.parent instanceof FormSchemaRngElement ? this.parent.isIgnoreForcedValueSet() : false;
57997
57993
  }
57998
- getUseServerFilters() {
57999
- return this.useServerFilters;
58000
- }
58001
57994
  }
58002
57995
  class FormSchemaRng {
58003
57996
  constructor(rootElement) {
@@ -58013,7 +58006,7 @@ class FormSchemaRng {
58013
58006
  return new FormSchemaRng(this.convertSchemaRngElement(schemaRngElement, RootParent));
58014
58007
  }
58015
58008
  static convertSchemaRngElement(schemaRngElement, parent) {
58016
- const result = new FormSchemaRngElement(schemaRngElement.name, parent, schemaRngElement.optional, schemaRngElement.multiple, schemaRngElement.nillable, schemaRngElement.maxOccurs, schemaRngElement.lazyLoadMode, schemaRngElement.lazyLoadAggregations, schemaRngElement.errorAndWarningCountRequired, schemaRngElement.lazyLoadingThreshold, schemaRngElement.disableValueAutoInit, schemaRngElement.editorOnly, schemaRngElement.useServerFilters);
58009
+ const result = new FormSchemaRngElement(schemaRngElement.name, parent, schemaRngElement.optional, schemaRngElement.multiple, schemaRngElement.nillable, schemaRngElement.maxOccurs, schemaRngElement.lazyLoadMode, schemaRngElement.lazyLoadAggregations, schemaRngElement.errorAndWarningCountRequired, schemaRngElement.lazyLoadingThreshold, schemaRngElement.disableValueAutoInit, schemaRngElement.editorOnly);
58017
58010
  if (schemaRngElement.innerText != undefined) {
58018
58011
  if (schemaRngElement.innerText.type != undefined) {
58019
58012
  result.setInnerTextType(this.buildTypeInfo(schemaRngElement.innerText.type));
@@ -58364,7 +58357,7 @@ __webpack_require__.r(__webpack_exports__);
58364
58357
 
58365
58358
 
58366
58359
 
58367
- var _dec, _dec2, _class, _class2, _descriptor, _dec3, _dec4, _class3, _class4, _descriptor2, _dec5, _dec6, _class5, _class6, _descriptor3, _dec7, _dec8, _class7, _class8, _descriptor4, _dec9, _dec10, _class9, _class10, _descriptor5, _dec11, _dec12, _class11, _class12, _descriptor6, _dec13, _dec14, _class13, _class14, _descriptor7, _dec15, _dec16, _class15, _class16, _descriptor8, _dec17, _dec18, _class17, _class18, _descriptor9, _dec19, _dec20, _class19, _class20, _descriptor10, _dec21, _dec22, _dec23, _class21, _class22, _descriptor11, _descriptor12, _dec24, _dec25, _dec26, _dec27, _dec28, _class23, _class24, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _dec29, _dec30, _dec31, _dec32, _dec33, _dec34, _dec35, _dec36, _dec37, _dec38, _class25, _class26, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _dec39, _dec40, _class27, _class28, _descriptor26, _dec41, _dec42, _class29, _class30, _descriptor27, _dec43, _dec44, _dec45, _dec46, _dec47, _dec48, _dec49, _dec50, _dec51, _dec52, _dec53, _dec54, _dec55, _dec56, _dec57, _dec58, _dec59, _dec60, _class31, _class32, _descriptor28, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _descriptor36, _descriptor37, _descriptor38, _descriptor39, _descriptor40, _descriptor41, _descriptor42, _descriptor43, _descriptor44;
58360
+ var _dec, _dec2, _class, _class2, _descriptor, _dec3, _dec4, _class3, _class4, _descriptor2, _dec5, _dec6, _class5, _class6, _descriptor3, _dec7, _dec8, _class7, _class8, _descriptor4, _dec9, _dec10, _class9, _class10, _descriptor5, _dec11, _dec12, _class11, _class12, _descriptor6, _dec13, _dec14, _class13, _class14, _descriptor7, _dec15, _dec16, _class15, _class16, _descriptor8, _dec17, _dec18, _class17, _class18, _descriptor9, _dec19, _dec20, _class19, _class20, _descriptor10, _dec21, _dec22, _dec23, _class21, _class22, _descriptor11, _descriptor12, _dec24, _dec25, _dec26, _dec27, _dec28, _class23, _class24, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _dec29, _dec30, _dec31, _dec32, _dec33, _dec34, _dec35, _dec36, _dec37, _dec38, _class25, _class26, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _dec39, _dec40, _class27, _class28, _descriptor26, _dec41, _dec42, _class29, _class30, _descriptor27, _dec43, _dec44, _dec45, _dec46, _dec47, _dec48, _dec49, _dec50, _dec51, _dec52, _dec53, _dec54, _dec55, _dec56, _dec57, _dec58, _dec59, _class31, _class32, _descriptor28, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _descriptor36, _descriptor37, _descriptor38, _descriptor39, _descriptor40, _descriptor41, _descriptor42, _descriptor43;
58368
58361
 
58369
58362
  class SchemaRngTypeCheck extends _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {}
58370
58363
  let PatternTypeCheck = (_dec = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("pattern", ``), _dec2 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("value", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string.required, ``), _dec(_class = (_class2 = class PatternTypeCheck extends SchemaRngTypeCheck {
@@ -58611,7 +58604,7 @@ let SchemaRngElement = (_dec43 = (0,_generators_markupGenerator_Serializer_Sugar
58611
58604
  - deferred: ставится на коллекцию, которую хотим получать частями; например, в 6-НДФЛ при открытии одной справки, загрузятся все данные по ней
58612
58605
  - initial: данные загружаются всегда; например, данные для фильтров
58613
58606
  - request: загрузка по запросу с фронта; используется для постраничного отображения списков; например, видимые пользователю поля в таблице
58614
- `), _dec57 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("errorAndWarningCountRequired", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Подсчет количества ошибок и предупреждений по элементу в множественности`), _dec58 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("useServerFilters", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, "Включает режим серверной фильтрации для коллекции"), _dec59 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("lazyLoadingThreshold", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, `Количество элементов в множественности, начиная с которого включается частичная загрузка. Не поддерживается для вложенных множественностей, только для корневой с lazyLoadMode=deferred`), _dec60 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("disableValueAutoInit", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `В значениии true запрещает при кастомной нормализации перезаписывать значение value,
58607
+ `), _dec57 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("errorAndWarningCountRequired", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Подсчет количества ошибок и предупреждений по элементу в множественности`), _dec58 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("lazyLoadingThreshold", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.number, `Количество элементов в множественности, начиная с которого включается частичная загрузка. Не поддерживается для вложенных множественностей, только для корневой с lazyLoadMode=deferred`), _dec59 = (0,_generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("disableValueAutoInit", _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `В значениии true запрещает при кастомной нормализации перезаписывать значение value,
58615
58608
  полученное из ФУФа, даже если оно пустое`), _dec43(_class31 = (_class32 = class SchemaRngElement extends _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
58616
58609
  constructor(...args) {
58617
58610
  super(...args);
@@ -58629,9 +58622,8 @@ let SchemaRngElement = (_dec43 = (0,_generators_markupGenerator_Serializer_Sugar
58629
58622
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "lazyLoadAggregations", _descriptor39, this);
58630
58623
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "lazyLoadMode", _descriptor40, this);
58631
58624
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "errorAndWarningCountRequired", _descriptor41, this);
58632
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "useServerFilters", _descriptor42, this);
58633
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "lazyLoadingThreshold", _descriptor43, this);
58634
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "disableValueAutoInit", _descriptor44, this);
58625
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "lazyLoadingThreshold", _descriptor42, this);
58626
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "disableValueAutoInit", _descriptor43, this);
58635
58627
  }
58636
58628
  }, (_descriptor28 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class32.prototype, "name", [_dec44], {
58637
58629
  configurable: true,
@@ -58703,17 +58695,12 @@ let SchemaRngElement = (_dec43 = (0,_generators_markupGenerator_Serializer_Sugar
58703
58695
  enumerable: true,
58704
58696
  writable: true,
58705
58697
  initializer: null
58706
- }), _descriptor42 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class32.prototype, "useServerFilters", [_dec58], {
58698
+ }), _descriptor42 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class32.prototype, "lazyLoadingThreshold", [_dec58], {
58707
58699
  configurable: true,
58708
58700
  enumerable: true,
58709
58701
  writable: true,
58710
58702
  initializer: null
58711
- }), _descriptor43 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class32.prototype, "lazyLoadingThreshold", [_dec59], {
58712
- configurable: true,
58713
- enumerable: true,
58714
- writable: true,
58715
- initializer: null
58716
- }), _descriptor44 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class32.prototype, "disableValueAutoInit", [_dec60], {
58703
+ }), _descriptor43 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class32.prototype, "disableValueAutoInit", [_dec59], {
58717
58704
  configurable: true,
58718
58705
  enumerable: true,
58719
58706
  writable: true,
@@ -65533,9 +65520,6 @@ class DataDeclarationGenerator {
65533
65520
  if (entry instanceof _common_SchemaRng_FormSchemaRng__WEBPACK_IMPORTED_MODULE_6__.FormSchemaRngElement && entry.errorAndWarningCountRequired != undefined) {
65534
65521
  declarationEntry.errorAndWarningCountRequired = [entry.errorAndWarningCountRequired];
65535
65522
  }
65536
- if (entry instanceof _common_SchemaRng_FormSchemaRng__WEBPACK_IMPORTED_MODULE_6__.FormSchemaRngElement && entry.useServerFilters != undefined) {
65537
- declarationEntry.useServerFilters = entry.useServerFilters;
65538
- }
65539
65523
  if (entry.disableValueAutoInit != undefined) {
65540
65524
  declarationEntry.disableValueAutoInit = entry.disableValueAutoInit;
65541
65525
  }
@@ -67196,9 +67180,7 @@ class LazyLoadDeclarationGenerator {
67196
67180
  }
67197
67181
  }
67198
67182
  *processElement(path, element) {
67199
- var _element$useServerFil;
67200
- const useServerFilters = (_element$useServerFil = element.useServerFilters) !== null && _element$useServerFil !== void 0 ? _element$useServerFil : false;
67201
- if (element.lazyLoadMode != undefined && (!useServerFilters || element.lazyLoadMode === "deferred")) {
67183
+ if (element.lazyLoadMode != undefined) {
67202
67184
  const adjustedPath = this.formSchemaRng.adjustPathMultiplicity(path.joinWith(element.name));
67203
67185
  const currentPaths = element.multiple ? [element.lazyLoadMode === "deferred" ? adjustedPath : adjustedPath.joinWith(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_3__.PathTokens.each)] : [adjustedPath.joinWith(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_3__.PathTokens.each), this.formSchemaRng.adjustPathMultiplicity(path).joinWith(element.name + ".value")];
67204
67186
  const items = currentPaths.map(currentPath => {
@@ -67219,51 +67201,45 @@ class LazyLoadDeclarationGenerator {
67219
67201
  lazyLoadMode: "initial"
67220
67202
  }));
67221
67203
  yield* additionalItems;
67222
- if (!useServerFilters) {
67223
- yield {
67224
- path: this.formSchemaRng.adjustPathMultiplicity(path.joinWith(element.name).joinWith(".errorsCount")),
67225
- lazyLoadMode: "initial"
67226
- };
67227
- yield {
67228
- path: this.formSchemaRng.adjustPathMultiplicity(path.joinWith(element.name).joinWith(".warningsCount")),
67229
- lazyLoadMode: "initial"
67230
- };
67231
- }
67204
+ yield {
67205
+ path: this.formSchemaRng.adjustPathMultiplicity(path.joinWith(element.name).joinWith(".errorsCount")),
67206
+ lazyLoadMode: "initial"
67207
+ };
67208
+ yield {
67209
+ path: this.formSchemaRng.adjustPathMultiplicity(path.joinWith(element.name).joinWith(".warningsCount")),
67210
+ lazyLoadMode: "initial"
67211
+ };
67232
67212
  } else {
67233
- if (!useServerFilters) {
67234
- yield {
67235
- path: this.formSchemaRng.adjustPathMultiplicity(path.joinWith(element.name + ".errorsCount")),
67236
- lazyLoadMode: "request"
67237
- };
67238
- yield {
67239
- path: this.formSchemaRng.adjustPathMultiplicity(path.joinWith(element.name + ".warningsCount")),
67240
- lazyLoadMode: "request"
67241
- };
67242
- }
67213
+ yield {
67214
+ path: this.formSchemaRng.adjustPathMultiplicity(path.joinWith(element.name + ".errorsCount")),
67215
+ lazyLoadMode: "request"
67216
+ };
67217
+ yield {
67218
+ path: this.formSchemaRng.adjustPathMultiplicity(path.joinWith(element.name + ".warningsCount")),
67219
+ lazyLoadMode: "request"
67220
+ };
67243
67221
  }
67244
67222
  }
67245
- if (!useServerFilters) {
67246
- for (const attr of element.attributes.values()) {
67247
- if (attr.lazyLoadMode != undefined) {
67248
- const currentPath = path.joinWith(element.name, attr.name + ".value");
67249
- yield {
67250
- path: this.formSchemaRng.adjustPathMultiplicity(currentPath),
67251
- lazyLoadMode: attr.lazyLoadMode
67252
- };
67253
- }
67254
- if (attr.lazyLoadMode != undefined && attr.lazyLoadAggregations) {
67255
- const baseAggregationPath = this.formSchemaRng.adjustPathMultiplicity(path.joinWith(element.name)).trimLastStarIfLastToken().joinWith(attr.name);
67256
- const sumPath = baseAggregationPath.joinWith("Sum.value");
67257
- yield {
67258
- path: sumPath,
67259
- lazyLoadMode: "initial"
67260
- };
67261
- const countPath = baseAggregationPath.joinWith("Count.value");
67262
- yield {
67263
- path: countPath,
67264
- lazyLoadMode: "initial"
67265
- };
67266
- }
67223
+ for (const attr of element.attributes.values()) {
67224
+ if (attr.lazyLoadMode != undefined) {
67225
+ const currentPath = path.joinWith(element.name, attr.name + ".value");
67226
+ yield {
67227
+ path: this.formSchemaRng.adjustPathMultiplicity(currentPath),
67228
+ lazyLoadMode: attr.lazyLoadMode
67229
+ };
67230
+ }
67231
+ if (attr.lazyLoadMode != undefined && attr.lazyLoadAggregations) {
67232
+ const baseAggregationPath = this.formSchemaRng.adjustPathMultiplicity(path.joinWith(element.name)).trimLastStarIfLastToken().joinWith(attr.name);
67233
+ const sumPath = baseAggregationPath.joinWith("Sum.value");
67234
+ yield {
67235
+ path: sumPath,
67236
+ lazyLoadMode: "initial"
67237
+ };
67238
+ const countPath = baseAggregationPath.joinWith("Count.value");
67239
+ yield {
67240
+ path: countPath,
67241
+ lazyLoadMode: "initial"
67242
+ };
67267
67243
  }
67268
67244
  }
67269
67245
  const nextPath = path.joinWith(element.name);
@@ -76582,7 +76558,7 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
76582
76558
  return this.buildBaseFormWithContent(context, plainFormBuilder, node);
76583
76559
  }
76584
76560
  buildUnitInfo(context, pageNode, node) {
76585
- var _node$panel, _pageNode$multiple, _pageNode$height;
76561
+ var _node$panel, _pageNode$multiple, _pageNode$height, _pageNode$enableUploa;
76586
76562
  const pageContainsTableWithStickyElements = this.isPageContainsTableWithStickyElements(pageNode);
76587
76563
  const unitList = (_node$panel = node.panel) === null || _node$panel === void 0 ? void 0 : _node$panel.unitList;
76588
76564
  const unitName = unitList != undefined ? this.getUnitName(unitList, pageNode.id) : pageNode.navigationName;
@@ -76620,7 +76596,9 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
76620
76596
  showOnDemand: pageNode.showOnDemand,
76621
76597
  onNavigateFromErrorLog: context.generateHelperFunctionExpressionWithoutContext(pageNode, "onNavigateFromErrorLog", pageNode.onNavigateFromErrorLog),
76622
76598
  onMount: context.generateHelperFunctionExpression(pageNode, "onMount", pageNode.onMount),
76623
- onUnmount: context.generateHelperFunctionExpression(pageNode, "onUnmount", pageNode.onUnmount)
76599
+ onUnmount: context.generateHelperFunctionExpression(pageNode, "onUnmount", pageNode.onUnmount),
76600
+ uploadFilesInPage: context.generateHelperFunctionExpression(pageNode, "uploadFilesInPage", pageNode.uploadFilesInPage),
76601
+ enableUploadFilesInPage: (_pageNode$enableUploa = pageNode.enableUploadFilesInPage) !== null && _pageNode$enableUploa !== void 0 ? _pageNode$enableUploa : false
76624
76602
  };
76625
76603
  return result;
76626
76604
  }
@@ -76661,7 +76639,7 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
76661
76639
  return navigationBuilder;
76662
76640
  }
76663
76641
  buildPageUnit(node, pageNode, context) {
76664
- var _node$panel2, _pageNode$clearConfir;
76642
+ var _node$panel2, _pageNode$enableUploa2, _pageNode$clearConfir;
76665
76643
  const unitList = (_node$panel2 = node.panel) === null || _node$panel2 === void 0 ? void 0 : _node$panel2.unitList;
76666
76644
  if (pageNode.navigationName == undefined && unitList == undefined) {
76667
76645
  throw new _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_2__.SugarAttributeReadError("При отсутствии unitList необходимо указание navigationName", pageNode, "navigationName");
@@ -76707,6 +76685,8 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
76707
76685
  markupBuilder.prop(x => x.optional).set(pageNode.optional);
76708
76686
  markupBuilder.prop(x => x.onMount).set(context.generateHelperFunctionExpression(pageNode, "onMount", pageNode.onMount));
76709
76687
  markupBuilder.prop(x => x.onUnmount).set(context.generateHelperFunctionExpression(pageNode, "onUnmount", pageNode.onUnmount));
76688
+ markupBuilder.prop(x => x.enableUploadFilesInPage).set((_pageNode$enableUploa2 = pageNode.enableUploadFilesInPage) !== null && _pageNode$enableUploa2 !== void 0 ? _pageNode$enableUploa2 : false);
76689
+ markupBuilder.prop(x => x.uploadFilesInPage).set(context.generateHelperFunctionExpression(pageNode, "uploadFilesInPage", pageNode.uploadFilesInPage));
76710
76690
  if (pageNode.pageActions != undefined) {
76711
76691
  markupBuilder.prop(x => x.pageActions).set(pageNode.pageActions);
76712
76692
  }
@@ -77665,14 +77645,14 @@ __webpack_require__.r(__webpack_exports__);
77665
77645
 
77666
77646
 
77667
77647
 
77668
- 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, _dec26, _dec27, _dec28, _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, _descriptor25, _descriptor26, _descriptor27;
77648
+ 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, _dec26, _dec27, _dec28, _dec29, _dec30, _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, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29;
77669
77649
 
77670
77650
 
77671
77651
 
77672
77652
 
77673
77653
 
77674
77654
 
77675
- let PageNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("page", `Страница (раздел)`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Page sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("id", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, `Уникальный идентификатор странцы. Все страницы в форме должны иметь уникальный идентификатор.`), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("template", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.enum("default", "title", "multiple", "diadoc"), 'Для множественных разделов необходимо указать `template="multiple"`, для обычных разделов `template="default"`'), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__.bindingPathLink)} данного элемента`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("headerpanel", [_UnitParts_HeaderPanel_HeaderPanelNode__WEBPACK_IMPORTED_MODULE_3__.HeaderPanelNode]), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.deprecatedAttr)("title", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_4__.DeprecationReason.Removed), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.deprecatedAttr)("formName", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_4__.DeprecationReason.Removed), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("showOnDemand", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.boolean, `Раздел не будет отображаться на странице, пока не будет вызван явно. Например, через механизм отображения раздела в разделе.`), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("onNavigateFromErrorLog", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.helperFunctionName, "Имя кастомной helpers функции, которая вызовется перед попыткой навигации в контрол внутри раздела"), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("onMount", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.helperFunctionName, "Имя кастомной helpers функции, которая вызовется после загрузки раздела"), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("onUnmount", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.helperFunctionName, "Имя кастомной helpers функции, которая вызовется перед выгрузкой раздела"), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("orientation", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.enum("landscape"), `Ориентация страницы. При значении landscape станницы займёт всю доступную ширину экрана`), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("navigationName", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.localizedString, `Название Раздела в меню, если в сахаре есть отдельное описание навигации (unitList), то указывать не нужно`), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("height", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number, `Начальная высота раздела`), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("minHeight", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number, `Минимальная высота раздела`), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("multiple", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.boolean, `Обозначение множественного раздела`), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("unitsCountForPaging", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number, `Количество инстансов множественного раздела на котором включается паджинация раздела`), _dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("multipleAppearance", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.enum("nested", "flat"), "Представление множественных разделов: вложенное или плоское"), _dec19 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.boolean, `Опциональный раздел`), _dec20 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("pageActions", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.objectLiteral(), `Атрибут для кастомизации действий с разделом.
77655
+ let PageNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("page", `Страница (раздел)`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Page sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("id", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string.required, `Уникальный идентификатор странцы. Все страницы в форме должны иметь уникальный идентификатор.`), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("template", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.enum("default", "title", "multiple", "diadoc"), 'Для множественных разделов необходимо указать `template="multiple"`, для обычных разделов `template="default"`'), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.string, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__.bindingPathLink)} данного элемента`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("headerpanel", [_UnitParts_HeaderPanel_HeaderPanelNode__WEBPACK_IMPORTED_MODULE_3__.HeaderPanelNode]), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.deprecatedAttr)("title", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_4__.DeprecationReason.Removed), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.deprecatedAttr)("formName", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_4__.DeprecationReason.Removed), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("showOnDemand", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.boolean, `Раздел не будет отображаться на странице, пока не будет вызван явно. Например, через механизм отображения раздела в разделе.`), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("onNavigateFromErrorLog", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.helperFunctionName, "Имя кастомной helpers функции, которая вызовется перед попыткой навигации в контрол внутри раздела"), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("onMount", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.helperFunctionName, "Имя кастомной helpers функции, которая вызовется после загрузки раздела"), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("onUnmount", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.helperFunctionName, "Имя кастомной helpers функции, которая вызовется перед выгрузкой раздела"), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("uploadFilesInPage", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.helperFunctionName, "Имя кастомной helpers функции, которая вызывается по клику на action 'Загрузить из файла' в 'Действия с разделом'"), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("enableUploadFilesInPage", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.boolean, "Включить показ действия 'Загрузить из файла', которое находится в кнопке 'Действия с разделом'"), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("orientation", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.enum("landscape"), `Ориентация страницы. При значении landscape станницы займёт всю доступную ширину экрана`), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("navigationName", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.localizedString, `Название Раздела в меню, если в сахаре есть отдельное описание навигации (unitList), то указывать не нужно`), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("height", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number, `Начальная высота раздела`), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("minHeight", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number, `Минимальная высота раздела`), _dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("multiple", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.boolean, `Обозначение множественного раздела`), _dec19 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("unitsCountForPaging", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number, `Количество инстансов множественного раздела на котором включается паджинация раздела`), _dec20 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("multipleAppearance", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.enum("nested", "flat"), "Представление множественных разделов: вложенное или плоское"), _dec21 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.boolean, `Опциональный раздел`), _dec22 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("pageActions", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.objectLiteral(), `Атрибут для кастомизации действий с разделом.
77676
77656
 
77677
77657
  Объект с опциональным полями: caption: string, disableButton: boolean, hideButton: boolean,
77678
77658
  showInsertButtons: boolean, lastButtonName: string, intermediateButtonName: string,
@@ -77687,10 +77667,10 @@ let PageNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5
77687
77667
  };
77688
77668
 
77689
77669
  actionName: enableAutoValues, clear, remove, copy
77690
- `), _dec21 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("clearConfirmationSettings", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.objectLiteral(), `Атрибут для кастомизации сообщений лайтбоксов очистки и удаления раздела.
77670
+ `), _dec23 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("clearConfirmationSettings", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.objectLiteral(), `Атрибут для кастомизации сообщений лайтбоксов очистки и удаления раздела.
77691
77671
  - removeChildrenText: дополнительный (красный) текст про вложенные разделы (если они есть) в лайтбоксе подтверждения удаления. По умолчанию: "Все вложенные разделы также будут удалены."
77692
77672
  - keepChildrenCustomText: название вложенных разделов и данных в радио-баттоне _Оставить_ в лайтбоксе очистки. По умолчанию: "вложенные разделы и данные в них"
77693
- - clearChildrenCustomText: название вложенных разделов в радио-баттоне _Удалить_ в лайтбоксе очистки. По умолчанию: "вложенные разделы"`), _dec22 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("hideEnableAutoValues", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.boolean, `Всегда скрывать кнопку "Включить авторасчет", даже при включенной серверной нормализации`), _dec23 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("navigationLimit", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number, `Количество экземпляров множественного раздела после которого в левом меню будет включаться компактный режим отображения разделов. По умолчанию: 15. Используется только для множественных разделов`), _dec24 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("addingHint", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.localizedString, `Подсказка на кнопке добавления раздела в боковом меню. Используется только для множественных разделов`), _dec25 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)("page"), _dec26 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec27 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("title", [_PageTitleNode__WEBPACK_IMPORTED_MODULE_8__.PageTitleNode]), _dec28 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("visible", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.javascriptExpression, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__.javaScriptExpressionLink)} для условного скрытия раздела`), _dec(_class = (_class2 = class PageNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.SugarNodeBase {
77673
+ - clearChildrenCustomText: название вложенных разделов в радио-баттоне _Удалить_ в лайтбоксе очистки. По умолчанию: "вложенные разделы"`), _dec24 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("hideEnableAutoValues", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.boolean, `Всегда скрывать кнопку "Включить авторасчет", даже при включенной серверной нормализации`), _dec25 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("navigationLimit", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.number, `Количество экземпляров множественного раздела после которого в левом меню будет включаться компактный режим отображения разделов. По умолчанию: 15. Используется только для множественных разделов`), _dec26 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("addingHint", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.localizedString, `Подсказка на кнопке добавления раздела в боковом меню. Используется только для множественных разделов`), _dec27 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)("page"), _dec28 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(), _dec29 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("title", [_PageTitleNode__WEBPACK_IMPORTED_MODULE_8__.PageTitleNode]), _dec30 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("visible", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.javascriptExpression, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_6__.javaScriptExpressionLink)} для условного скрытия раздела`), _dec(_class = (_class2 = class PageNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.SugarNodeBase {
77694
77674
  constructor(...args) {
77695
77675
  super(...args);
77696
77676
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "id", _descriptor, this);
@@ -77703,23 +77683,25 @@ let PageNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5
77703
77683
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "onNavigateFromErrorLog", _descriptor8, this);
77704
77684
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "onMount", _descriptor9, this);
77705
77685
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "onUnmount", _descriptor10, this);
77706
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "orientation", _descriptor11, this);
77707
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "navigationName", _descriptor12, this);
77708
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "height", _descriptor13, this);
77709
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "minHeight", _descriptor14, this);
77710
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "multiple", _descriptor15, this);
77711
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "unitsCountForPaging", _descriptor16, this);
77712
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "multipleAppearance", _descriptor17, this);
77713
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "optional", _descriptor18, this);
77714
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "pageActions", _descriptor19, this);
77715
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "clearConfirmationSettings", _descriptor20, this);
77716
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "hideEnableAutoValues", _descriptor21, this);
77717
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "navigationLimit", _descriptor22, this);
77718
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "addingHint", _descriptor23, this);
77719
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "pages", _descriptor24, this);
77720
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor25, this);
77721
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "title", _descriptor26, this);
77722
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "visible", _descriptor27, this);
77686
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "uploadFilesInPage", _descriptor11, this);
77687
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "enableUploadFilesInPage", _descriptor12, this);
77688
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "orientation", _descriptor13, this);
77689
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "navigationName", _descriptor14, this);
77690
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "height", _descriptor15, this);
77691
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "minHeight", _descriptor16, this);
77692
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "multiple", _descriptor17, this);
77693
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "unitsCountForPaging", _descriptor18, this);
77694
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "multipleAppearance", _descriptor19, this);
77695
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "optional", _descriptor20, this);
77696
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "pageActions", _descriptor21, this);
77697
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "clearConfirmationSettings", _descriptor22, this);
77698
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "hideEnableAutoValues", _descriptor23, this);
77699
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "navigationLimit", _descriptor24, this);
77700
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "addingHint", _descriptor25, this);
77701
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "pages", _descriptor26, this);
77702
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor27, this);
77703
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "title", _descriptor28, this);
77704
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "visible", _descriptor29, this);
77723
77705
  }
77724
77706
  getOwnPath() {
77725
77707
  return this.path != undefined ? (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_7__.createFromMask)(this.path, "auto", _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_7__.PathTokens.each) : undefined;
@@ -77778,87 +77760,97 @@ let PageNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5
77778
77760
  enumerable: true,
77779
77761
  writable: true,
77780
77762
  initializer: null
77781
- }), _descriptor11 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "orientation", [_dec12], {
77763
+ }), _descriptor11 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "uploadFilesInPage", [_dec12], {
77764
+ configurable: true,
77765
+ enumerable: true,
77766
+ writable: true,
77767
+ initializer: null
77768
+ }), _descriptor12 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "enableUploadFilesInPage", [_dec13], {
77769
+ configurable: true,
77770
+ enumerable: true,
77771
+ writable: true,
77772
+ initializer: null
77773
+ }), _descriptor13 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "orientation", [_dec14], {
77782
77774
  configurable: true,
77783
77775
  enumerable: true,
77784
77776
  writable: true,
77785
77777
  initializer: null
77786
- }), _descriptor12 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "navigationName", [_dec13], {
77778
+ }), _descriptor14 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "navigationName", [_dec15], {
77787
77779
  configurable: true,
77788
77780
  enumerable: true,
77789
77781
  writable: true,
77790
77782
  initializer: null
77791
- }), _descriptor13 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "height", [_dec14], {
77783
+ }), _descriptor15 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "height", [_dec16], {
77792
77784
  configurable: true,
77793
77785
  enumerable: true,
77794
77786
  writable: true,
77795
77787
  initializer: null
77796
- }), _descriptor14 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "minHeight", [_dec15], {
77788
+ }), _descriptor16 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "minHeight", [_dec17], {
77797
77789
  configurable: true,
77798
77790
  enumerable: true,
77799
77791
  writable: true,
77800
77792
  initializer: null
77801
- }), _descriptor15 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "multiple", [_dec16], {
77793
+ }), _descriptor17 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "multiple", [_dec18], {
77802
77794
  configurable: true,
77803
77795
  enumerable: true,
77804
77796
  writable: true,
77805
77797
  initializer: null
77806
- }), _descriptor16 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "unitsCountForPaging", [_dec17], {
77798
+ }), _descriptor18 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "unitsCountForPaging", [_dec19], {
77807
77799
  configurable: true,
77808
77800
  enumerable: true,
77809
77801
  writable: true,
77810
77802
  initializer: null
77811
- }), _descriptor17 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "multipleAppearance", [_dec18], {
77803
+ }), _descriptor19 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "multipleAppearance", [_dec20], {
77812
77804
  configurable: true,
77813
77805
  enumerable: true,
77814
77806
  writable: true,
77815
77807
  initializer: null
77816
- }), _descriptor18 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "optional", [_dec19], {
77808
+ }), _descriptor20 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "optional", [_dec21], {
77817
77809
  configurable: true,
77818
77810
  enumerable: true,
77819
77811
  writable: true,
77820
77812
  initializer: null
77821
- }), _descriptor19 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "pageActions", [_dec20], {
77813
+ }), _descriptor21 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "pageActions", [_dec22], {
77822
77814
  configurable: true,
77823
77815
  enumerable: true,
77824
77816
  writable: true,
77825
77817
  initializer: null
77826
- }), _descriptor20 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "clearConfirmationSettings", [_dec21], {
77818
+ }), _descriptor22 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "clearConfirmationSettings", [_dec23], {
77827
77819
  configurable: true,
77828
77820
  enumerable: true,
77829
77821
  writable: true,
77830
77822
  initializer: null
77831
- }), _descriptor21 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "hideEnableAutoValues", [_dec22], {
77823
+ }), _descriptor23 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "hideEnableAutoValues", [_dec24], {
77832
77824
  configurable: true,
77833
77825
  enumerable: true,
77834
77826
  writable: true,
77835
77827
  initializer: null
77836
- }), _descriptor22 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "navigationLimit", [_dec23], {
77828
+ }), _descriptor24 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "navigationLimit", [_dec25], {
77837
77829
  configurable: true,
77838
77830
  enumerable: true,
77839
77831
  writable: true,
77840
77832
  initializer: null
77841
- }), _descriptor23 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "addingHint", [_dec24], {
77833
+ }), _descriptor25 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "addingHint", [_dec26], {
77842
77834
  configurable: true,
77843
77835
  enumerable: true,
77844
77836
  writable: true,
77845
77837
  initializer: null
77846
- }), _descriptor24 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "pages", [_dec25], {
77838
+ }), _descriptor26 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "pages", [_dec27], {
77847
77839
  configurable: true,
77848
77840
  enumerable: true,
77849
77841
  writable: true,
77850
77842
  initializer: null
77851
- }), _descriptor25 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec26], {
77843
+ }), _descriptor27 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec28], {
77852
77844
  configurable: true,
77853
77845
  enumerable: true,
77854
77846
  writable: true,
77855
77847
  initializer: null
77856
- }), _descriptor26 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "title", [_dec27], {
77848
+ }), _descriptor28 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "title", [_dec29], {
77857
77849
  configurable: true,
77858
77850
  enumerable: true,
77859
77851
  writable: true,
77860
77852
  initializer: null
77861
- }), _descriptor27 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "visible", [_dec28], {
77853
+ }), _descriptor29 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "visible", [_dec30], {
77862
77854
  configurable: true,
77863
77855
  enumerable: true,
77864
77856
  writable: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kontur.candy/generator",
3
- "version": "5.47.0-support-server-filters.0",
3
+ "version": "5.48.0",
4
4
  "description": "Candy forms generator",
5
5
  "author": "SKBKontur Candy Team",
6
6
  "private": false,