@kontur.candy/generator 5.79.1 → 5.81.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.
- package/dist/index.js +410 -137
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -46861,10 +46861,10 @@ class PathTokens {
|
|
|
46861
46861
|
return typeof part === "string";
|
|
46862
46862
|
}
|
|
46863
46863
|
static isInstanceToken(part) {
|
|
46864
|
-
return typeof part === "string" && /^\d
|
|
46864
|
+
return typeof part === "string" && /^\d+$/.test(part);
|
|
46865
46865
|
}
|
|
46866
46866
|
static isInstanceTokenOrInstancesSpec(part) {
|
|
46867
|
-
return typeof part === "string" && (/^\d
|
|
46867
|
+
return typeof part === "string" && (/^\d+$/.test(part) || /^\[(\d+\,?)+\]$/i.test(part));
|
|
46868
46868
|
}
|
|
46869
46869
|
}
|
|
46870
46870
|
PathTokens.each = EachSymbol;
|
|
@@ -47021,6 +47021,10 @@ class ModelPathImpl {
|
|
|
47021
47021
|
joinWith(...path) {
|
|
47022
47022
|
return joinModelPaths(this, ...path);
|
|
47023
47023
|
}
|
|
47024
|
+
getFirstMultiplicityInstanceNumber() {
|
|
47025
|
+
const firstIndex = this.tokens.find(PathTokens.isInstanceToken);
|
|
47026
|
+
return firstIndex ? Number(firstIndex) : -1;
|
|
47027
|
+
}
|
|
47024
47028
|
isResolved() {
|
|
47025
47029
|
return isAllTokensResolved(this.tokens);
|
|
47026
47030
|
}
|
|
@@ -47255,6 +47259,16 @@ class ModelPathImpl {
|
|
|
47255
47259
|
}
|
|
47256
47260
|
return this;
|
|
47257
47261
|
}
|
|
47262
|
+
trimFirstStarIfLastToken() {
|
|
47263
|
+
const firstItem = _IterableUtils__WEBPACK_IMPORTED_MODULE_0__.IterUtils.first(this.tokens);
|
|
47264
|
+
if (firstItem != undefined && PathTokens.isMultiToken(firstItem)) {
|
|
47265
|
+
return new ModelPathImpl(this.tokens.slice(1), this.absolute);
|
|
47266
|
+
}
|
|
47267
|
+
return this;
|
|
47268
|
+
}
|
|
47269
|
+
getSuffixPathFrom(modelFieldPath) {
|
|
47270
|
+
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()));
|
|
47271
|
+
}
|
|
47258
47272
|
getParentPath() {
|
|
47259
47273
|
const result = new _ModelPathBuilder__WEBPACK_IMPORTED_MODULE_3__.ModelPathBuilder(this.absolute);
|
|
47260
47274
|
for (const token of _IterableUtils__WEBPACK_IMPORTED_MODULE_0__.IterUtils.skipLast(this.getPathParts(), 1)) {
|
|
@@ -61433,7 +61447,7 @@ class FormSchemaRngAttribute {
|
|
|
61433
61447
|
}
|
|
61434
61448
|
const RootParent = Symbol.for("__ROOT_ELEMENT_PARENT__");
|
|
61435
61449
|
class FormSchemaRngElement {
|
|
61436
|
-
constructor(name, parent, optional, multiple, nillable, maxOccurs, lazyLoadMode, lazyLoadAggregations, errorAndWarningCountRequired, lazyLoadingThreshold, disableValueAutoInit, editorOnly) {
|
|
61450
|
+
constructor(name, parent, optional, multiple, nillable, maxOccurs, lazyLoadMode, lazyLoadAggregations, errorAndWarningCountRequired, lazyLoadingThreshold, disableValueAutoInit, editorOnly, useServerFilters) {
|
|
61437
61451
|
this.name = void 0;
|
|
61438
61452
|
this.multiple = void 0;
|
|
61439
61453
|
this.lazyLoadMode = void 0;
|
|
@@ -61444,6 +61458,7 @@ class FormSchemaRngElement {
|
|
|
61444
61458
|
this.innerTextType = void 0;
|
|
61445
61459
|
this.children = new Map();
|
|
61446
61460
|
this.maxOccurs = void 0;
|
|
61461
|
+
this.useServerFilters = void 0;
|
|
61447
61462
|
this.attributes = new Map();
|
|
61448
61463
|
this.parent = void 0;
|
|
61449
61464
|
this.optional = void 0;
|
|
@@ -61461,6 +61476,7 @@ class FormSchemaRngElement {
|
|
|
61461
61476
|
this.lazyLoadingThreshold = lazyLoadingThreshold;
|
|
61462
61477
|
this.disableValueAutoInit = disableValueAutoInit;
|
|
61463
61478
|
this.editorOnly = editorOnly;
|
|
61479
|
+
this.useServerFilters = useServerFilters;
|
|
61464
61480
|
}
|
|
61465
61481
|
addElement(element) {
|
|
61466
61482
|
this.children.set(element.name, element);
|
|
@@ -61494,6 +61510,9 @@ class FormSchemaRngElement {
|
|
|
61494
61510
|
var _this$disableValueAut2;
|
|
61495
61511
|
return (_this$disableValueAut2 = this.disableValueAutoInit) !== null && _this$disableValueAut2 !== void 0 ? _this$disableValueAut2 : this.parent instanceof FormSchemaRngElement ? this.parent.isIgnoreForcedValueSet() : false;
|
|
61496
61512
|
}
|
|
61513
|
+
getUseServerFilters() {
|
|
61514
|
+
return this.useServerFilters;
|
|
61515
|
+
}
|
|
61497
61516
|
}
|
|
61498
61517
|
class FormSchemaRng {
|
|
61499
61518
|
constructor(rootElement) {
|
|
@@ -61509,7 +61528,7 @@ class FormSchemaRng {
|
|
|
61509
61528
|
return new FormSchemaRng(this.convertSchemaRngElement(schemaRngElement, RootParent));
|
|
61510
61529
|
}
|
|
61511
61530
|
static convertSchemaRngElement(schemaRngElement, parent) {
|
|
61512
|
-
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);
|
|
61531
|
+
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);
|
|
61513
61532
|
if (schemaRngElement.innerText != undefined) {
|
|
61514
61533
|
if (schemaRngElement.innerText.type != undefined) {
|
|
61515
61534
|
result.setInnerTextType(this.buildTypeInfo(schemaRngElement.innerText.type));
|
|
@@ -61808,7 +61827,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
61808
61827
|
|
|
61809
61828
|
|
|
61810
61829
|
|
|
61811
|
-
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;
|
|
61830
|
+
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;
|
|
61812
61831
|
|
|
61813
61832
|
class SchemaRngTypeCheck extends _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {}
|
|
61814
61833
|
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 {
|
|
@@ -62055,7 +62074,7 @@ let SchemaRngElement = (_dec43 = (0,_generators_markupGenerator_Serializer_Sugar
|
|
|
62055
62074
|
- deferred: ставится на коллекцию, которую хотим получать частями; например, в 6-НДФЛ при открытии одной справки, загрузятся все данные по ней
|
|
62056
62075
|
- initial: данные загружаются всегда; например, данные для фильтров
|
|
62057
62076
|
- request: загрузка по запросу с фронта; используется для постраничного отображения списков; например, видимые пользователю поля в таблице
|
|
62058
|
-
`), _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`),
|
|
62077
|
+
`), _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,
|
|
62059
62078
|
полученное из ФУФа, даже если оно пустое`), _dec43(_class31 = (_class32 = class SchemaRngElement extends _generators_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
62060
62079
|
constructor(...args) {
|
|
62061
62080
|
super(...args);
|
|
@@ -62073,8 +62092,9 @@ let SchemaRngElement = (_dec43 = (0,_generators_markupGenerator_Serializer_Sugar
|
|
|
62073
62092
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "lazyLoadAggregations", _descriptor39, this);
|
|
62074
62093
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "lazyLoadMode", _descriptor40, this);
|
|
62075
62094
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "errorAndWarningCountRequired", _descriptor41, this);
|
|
62076
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
62077
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
62095
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "useServerFilters", _descriptor42, this);
|
|
62096
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "lazyLoadingThreshold", _descriptor43, this);
|
|
62097
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "disableValueAutoInit", _descriptor44, this);
|
|
62078
62098
|
}
|
|
62079
62099
|
}, _descriptor28 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class32.prototype, "name", [_dec44], {
|
|
62080
62100
|
configurable: true,
|
|
@@ -62146,12 +62166,17 @@ let SchemaRngElement = (_dec43 = (0,_generators_markupGenerator_Serializer_Sugar
|
|
|
62146
62166
|
enumerable: true,
|
|
62147
62167
|
writable: true,
|
|
62148
62168
|
initializer: null
|
|
62149
|
-
}), _descriptor42 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class32.prototype, "
|
|
62169
|
+
}), _descriptor42 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class32.prototype, "useServerFilters", [_dec58], {
|
|
62150
62170
|
configurable: true,
|
|
62151
62171
|
enumerable: true,
|
|
62152
62172
|
writable: true,
|
|
62153
62173
|
initializer: null
|
|
62154
|
-
}), _descriptor43 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class32.prototype, "
|
|
62174
|
+
}), _descriptor43 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class32.prototype, "lazyLoadingThreshold", [_dec59], {
|
|
62175
|
+
configurable: true,
|
|
62176
|
+
enumerable: true,
|
|
62177
|
+
writable: true,
|
|
62178
|
+
initializer: null
|
|
62179
|
+
}), _descriptor44 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class32.prototype, "disableValueAutoInit", [_dec60], {
|
|
62155
62180
|
configurable: true,
|
|
62156
62181
|
enumerable: true,
|
|
62157
62182
|
writable: true,
|
|
@@ -69283,6 +69308,9 @@ class DataDeclarationGenerator {
|
|
|
69283
69308
|
if (entry instanceof _common_SchemaRng_FormSchemaRng__WEBPACK_IMPORTED_MODULE_6__.FormSchemaRngElement && entry.errorAndWarningCountRequired != undefined) {
|
|
69284
69309
|
declarationEntry.errorAndWarningCountRequired = [entry.errorAndWarningCountRequired];
|
|
69285
69310
|
}
|
|
69311
|
+
if (entry instanceof _common_SchemaRng_FormSchemaRng__WEBPACK_IMPORTED_MODULE_6__.FormSchemaRngElement && entry.useServerFilters != undefined) {
|
|
69312
|
+
declarationEntry.useServerFilters = entry.useServerFilters;
|
|
69313
|
+
}
|
|
69286
69314
|
if (entry.disableValueAutoInit != undefined) {
|
|
69287
69315
|
declarationEntry.disableValueAutoInit = entry.disableValueAutoInit;
|
|
69288
69316
|
}
|
|
@@ -71204,7 +71232,9 @@ class LazyLoadDeclarationGenerator {
|
|
|
71204
71232
|
}
|
|
71205
71233
|
}
|
|
71206
71234
|
*processElement(path, element) {
|
|
71207
|
-
|
|
71235
|
+
var _element$useServerFil;
|
|
71236
|
+
const useServerFilters = (_element$useServerFil = element.useServerFilters) !== null && _element$useServerFil !== void 0 ? _element$useServerFil : false;
|
|
71237
|
+
if (element.lazyLoadMode != undefined && (!useServerFilters || element.lazyLoadMode === "deferred")) {
|
|
71208
71238
|
const adjustedPath = this.formSchemaRng.adjustPathMultiplicity(path.joinWith(element.name));
|
|
71209
71239
|
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")];
|
|
71210
71240
|
const items = currentPaths.map(currentPath => {
|
|
@@ -71225,32 +71255,38 @@ class LazyLoadDeclarationGenerator {
|
|
|
71225
71255
|
lazyLoadMode: "initial"
|
|
71226
71256
|
}));
|
|
71227
71257
|
yield* additionalItems;
|
|
71228
|
-
|
|
71229
|
-
|
|
71230
|
-
|
|
71231
|
-
|
|
71232
|
-
|
|
71233
|
-
|
|
71234
|
-
|
|
71235
|
-
|
|
71258
|
+
if (!useServerFilters) {
|
|
71259
|
+
yield {
|
|
71260
|
+
path: this.formSchemaRng.adjustPathMultiplicity(path.joinWith(element.name).joinWith(".errorsCount")),
|
|
71261
|
+
lazyLoadMode: "initial"
|
|
71262
|
+
};
|
|
71263
|
+
yield {
|
|
71264
|
+
path: this.formSchemaRng.adjustPathMultiplicity(path.joinWith(element.name).joinWith(".warningsCount")),
|
|
71265
|
+
lazyLoadMode: "initial"
|
|
71266
|
+
};
|
|
71267
|
+
}
|
|
71236
71268
|
} else {
|
|
71237
|
-
|
|
71238
|
-
|
|
71239
|
-
|
|
71240
|
-
|
|
71241
|
-
|
|
71242
|
-
|
|
71243
|
-
|
|
71244
|
-
|
|
71269
|
+
if (!useServerFilters) {
|
|
71270
|
+
yield {
|
|
71271
|
+
path: this.formSchemaRng.adjustPathMultiplicity(path.joinWith(element.name + ".errorsCount")),
|
|
71272
|
+
lazyLoadMode: "request"
|
|
71273
|
+
};
|
|
71274
|
+
yield {
|
|
71275
|
+
path: this.formSchemaRng.adjustPathMultiplicity(path.joinWith(element.name + ".warningsCount")),
|
|
71276
|
+
lazyLoadMode: "request"
|
|
71277
|
+
};
|
|
71278
|
+
}
|
|
71245
71279
|
}
|
|
71246
71280
|
}
|
|
71247
71281
|
for (const attr of element.attributes.values()) {
|
|
71248
|
-
if (
|
|
71249
|
-
|
|
71250
|
-
|
|
71251
|
-
|
|
71252
|
-
|
|
71253
|
-
|
|
71282
|
+
if (!useServerFilters) {
|
|
71283
|
+
if (attr.lazyLoadMode != undefined) {
|
|
71284
|
+
const currentPath = path.joinWith(element.name, attr.name + ".value");
|
|
71285
|
+
yield {
|
|
71286
|
+
path: this.formSchemaRng.adjustPathMultiplicity(currentPath),
|
|
71287
|
+
lazyLoadMode: attr.lazyLoadMode
|
|
71288
|
+
};
|
|
71289
|
+
}
|
|
71254
71290
|
}
|
|
71255
71291
|
if (attr.lazyLoadMode != undefined && attr.lazyLoadAggregations) {
|
|
71256
71292
|
const baseAggregationPath = this.formSchemaRng.adjustPathMultiplicity(path.joinWith(element.name)).trimLastStarIfLastToken().joinWith(attr.name);
|
|
@@ -75936,6 +75972,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
75936
75972
|
/* harmony import */ var _ElementProcessors_ValueEditors_RelativesComboBox_RelativesComboBoxConverter__WEBPACK_IMPORTED_MODULE_119__ = __webpack_require__(/*! ./ElementProcessors/ValueEditors/RelativesComboBox/RelativesComboBoxConverter */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/RelativesComboBox/RelativesComboBoxConverter.ts");
|
|
75937
75973
|
/* harmony import */ var _ElementProcessors_ValueEditors_SelectCheckbox_SelectCheckboxConverter__WEBPACK_IMPORTED_MODULE_120__ = __webpack_require__(/*! ./ElementProcessors/ValueEditors/SelectCheckbox/SelectCheckboxConverter */ "./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/SelectCheckbox/SelectCheckboxConverter.ts");
|
|
75938
75974
|
/* harmony import */ var _ElementProcessors_FormParts_ModalHeader_ModalHeaderConverter__WEBPACK_IMPORTED_MODULE_121__ = __webpack_require__(/*! ./ElementProcessors/FormParts/ModalHeader/ModalHeaderConverter */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/ModalHeader/ModalHeaderConverter.ts");
|
|
75975
|
+
/* harmony import */ var _ElementProcessors_FormParts_GlobalModal_GlobalModalsConverter__WEBPACK_IMPORTED_MODULE_122__ = __webpack_require__(/*! ./ElementProcessors/FormParts/GlobalModal/GlobalModalsConverter */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/GlobalModal/GlobalModalsConverter.ts");
|
|
75976
|
+
|
|
75939
75977
|
|
|
75940
75978
|
|
|
75941
75979
|
|
|
@@ -76060,7 +76098,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
76060
76098
|
|
|
76061
76099
|
let convertersFromNodeClassMap;
|
|
76062
76100
|
function buildConvertersFromNodeClassMap() {
|
|
76063
|
-
const converters = [_ElementProcessors_FormParts_AddPageButton_AddPageButtonConverter__WEBPACK_IMPORTED_MODULE_8__.AddPageButtonConverter, _ElementProcessors_MultiControls_AddRowButton_AddRowButtonConverter__WEBPACK_IMPORTED_MODULE_9__.AddRowButtonConverter, _ElementProcessors_FormParts_AttachmentForm_AttachmentFormConverter__WEBPACK_IMPORTED_MODULE_117__.AttachmentFormConverter, _ElementProcessors_Layout_Block_BlockConverter__WEBPACK_IMPORTED_MODULE_10__.BlockConverter, _ElementProcessors_Layout_Minitour_MinitourConverter__WEBPACK_IMPORTED_MODULE_11__.MinitourConverter, _ElementProcessors_Typography_Bold_BoldConverter__WEBPACK_IMPORTED_MODULE_13__.BoldConverter, _ElementProcessors_Layout_Br_BrConverter__WEBPACK_IMPORTED_MODULE_14__.BrConverter, _ElementProcessors_FormParts_Caption_CaptionConverter__WEBPACK_IMPORTED_MODULE_18__.CaptionConverter, _ElementProcessors_ValueEditors_Checkbox_CheckboxConverter__WEBPACK_IMPORTED_MODULE_19__.CheckboxConverter, _ElementProcessors_ControlFlow_Choice_ChoiceConverter__WEBPACK_IMPORTED_MODULE_20__.ChoiceConverter, _ElementProcessors_MultiControls_TableCell_TableCellConverter__WEBPACK_IMPORTED_MODULE_85__.TableCellConverter, _ElementProcessors_ValueEditors_Toggle_ToggleConverter__WEBPACK_IMPORTED_MODULE_88__.ToggleConverter, _ElementProcessors_ValueEditors_Combobox_ComboBoxConverter__WEBPACK_IMPORTED_MODULE_21__.ComboBoxConverter, _ElementProcessors_FormParts_Content_ContentConverter__WEBPACK_IMPORTED_MODULE_22__.ContentConverter, _ElementProcessors_FormParts_Cross_CrossConverter__WEBPACK_IMPORTED_MODULE_23__.CrossConverter, _ElementProcessors_MultiControls_ColgroupButton_ColgroupButtonConverter__WEBPACK_IMPORTED_MODULE_97__.ColgroupButtonConverter, _ElementProcessors_ValueEditors_Date_DateConverter__WEBPACK_IMPORTED_MODULE_24__.DateConverter, _ElementProcessors_FormParts_DefaultContent_DefaultContentConverter__WEBPACK_IMPORTED_MODULE_25__.DefaultContentConverter, _ElementProcessors_ValueEditors_DiadocSuggestComboBox_DiadocSuggestComboBoxConverter__WEBPACK_IMPORTED_MODULE_26__.DiadocSuggestComboBoxConverter, _ElementProcessors_ValueEditors_RelativesComboBox_RelativesComboBoxConverter__WEBPACK_IMPORTED_MODULE_119__.RelativesComboBoxConverter, _ElementProcessors_Typography_Entity_EntityConverter__WEBPACK_IMPORTED_MODULE_27__.EntityConverter, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteConverter__WEBPACK_IMPORTED_MODULE_28__.ExpertNoteConverter, _ElementProcessors_ValueEditors_FileLoader_FileLoaderConverter__WEBPACK_IMPORTED_MODULE_29__.FileLoaderConverter, _ElementProcessors_MultiControls_FilterDateRange_FilterDateRangeConverter__WEBPACK_IMPORTED_MODULE_30__.FilterDateRangeConverter, _ElementProcessors_MultiControls_FilterInput_FilterInputConverter__WEBPACK_IMPORTED_MODULE_31__.FilterInputConverter, _ElementProcessors_MultiControls_FilterList_FilterListConverter__WEBPACK_IMPORTED_MODULE_32__.FilterListConverter, _ElementProcessors_ValueViewers_FIO_FIOConverter__WEBPACK_IMPORTED_MODULE_33__.FIOConverter, _ElementProcessors_Layout_Flexbox_FlexboxConverter__WEBPACK_IMPORTED_MODULE_34__.FlexboxConverter, _ElementProcessors_FormParts_Form_FormConverter__WEBPACK_IMPORTED_MODULE_36__.FormConverter, _ElementProcessors_FormParts_FormInfo_FormInfoConverter__WEBPACK_IMPORTED_MODULE_37__.FormInfoConverter, _ElementProcessors_Typography_Gray_GrayConverter__WEBPACK_IMPORTED_MODULE_38__.GrayConverter, _ElementProcessors_Layout_GridCol_GridColConverter__WEBPACK_IMPORTED_MODULE_39__.GridColConverter, _ElementProcessors_Layout_GridRow_GridRowConverter__WEBPACK_IMPORTED_MODULE_40__.GridRowConverter, _ElementProcessors_FormParts_Header_HeaderConverter__WEBPACK_IMPORTED_MODULE_41__.HeaderConverter, _ElementProcessors_MultiControls_HeaderMenu_HeaderMenuConverter__WEBPACK_IMPORTED_MODULE_42__.HeaderMenuConverter, _ElementProcessors_Helpers_Help_HelpConverter__WEBPACK_IMPORTED_MODULE_43__.HelpConverter, _ElementProcessors_Helpers_Helpinfo_HelpInfoConverter__WEBPACK_IMPORTED_MODULE_44__.HelpInfoConverter, _ElementProcessors_Typography_Highlight_HighlightConverter__WEBPACK_IMPORTED_MODULE_45__.HighlightConverter, _ElementProcessors_Layout_Hr_HrConverter__WEBPACK_IMPORTED_MODULE_46__.HrConverter, _ElementProcessors_Typography_Icon_IconConverter__WEBPACK_IMPORTED_MODULE_47__.IconConverter, _ElementProcessors_ControlFlow_Captions_Short_ShortConverter__WEBPACK_IMPORTED_MODULE_110__.ShortConverter, _ElementProcessors_ControlFlow_Captions_Long_LongConverter__WEBPACK_IMPORTED_MODULE_111__.LongConverter, _ElementProcessors_ControlFlow_Captions_FillHint_FillHintConverter__WEBPACK_IMPORTED_MODULE_112__.FillHintConverter, _ElementProcessors_ControlFlow_If_IfConverter__WEBPACK_IMPORTED_MODULE_48__.IfConverter, _ElementProcessors_Layout_Img_ImgConverter__WEBPACK_IMPORTED_MODULE_49__.ImgConverter, _ElementProcessors_ValueEditors_INN_INNConverter__WEBPACK_IMPORTED_MODULE_50__.INNConverter, _ElementProcessors_ValueEditors_Input_InputConverter__WEBPACK_IMPORTED_MODULE_51__.InputConverter, _ElementProcessors_Typography_Italic_ItalicConverter__WEBPACK_IMPORTED_MODULE_52__.ItalicConverter, _ElementProcessors_Layout_ListItem_ListItemConverter__WEBPACK_IMPORTED_MODULE_53__.ListItemConverter, _ElementProcessors_ValueEditors_Kladr_KladrConverter__WEBPACK_IMPORTED_MODULE_54__.KladrConverter, _ElementProcessors_ValueViewers_Linetext_LinetextConverter__WEBPACK_IMPORTED_MODULE_55__.LinetextConverter, _ElementProcessors_Action_Link_LinkConverter__WEBPACK_IMPORTED_MODULE_56__.LinkConverter, _ElementProcessors_Layout_List_ListConverter__WEBPACK_IMPORTED_MODULE_57__.ListConverter, _ElementProcessors_Modal_ModalForm_ModalFormConverter__WEBPACK_IMPORTED_MODULE_58__.ModalFormConverter, _ElementProcessors_Modal_ModalFormLabel_ModalFormLabelConverter__WEBPACK_IMPORTED_MODULE_61__.ModalFormLabelConverter, _ElementProcessors_MultiControls_Multilinefield_MultilineFieldConverter__WEBPACK_IMPORTED_MODULE_62__.MultilineFieldConverter, _ElementProcessors_Helpers_Normativehelp_NormativeHelpConverter__WEBPACK_IMPORTED_MODULE_63__.NormativeHelpConverter, _ElementProcessors_FormParts_Page_PageConverter__WEBPACK_IMPORTED_MODULE_65__.PageConverter, _ElementProcessors_Layout_Pencil_PencilConverter__WEBPACK_IMPORTED_MODULE_66__.PencilConverter, _ElementProcessors_ValueEditors_Picklist_PicklistConverter__WEBPACK_IMPORTED_MODULE_67__.PicklistConverter, _ElementProcessors_ValueEditors_TreePicklist_TreePicklistConverter__WEBPACK_IMPORTED_MODULE_118__.TreePicklistConverter, _ElementProcessors_ValueEditors_radio_RadioConverter__WEBPACK_IMPORTED_MODULE_68__.RadioConverter, _ElementProcessors_ValueEditors_RadioGroup_RadioGroupConverter__WEBPACK_IMPORTED_MODULE_69__.RadioGroupConverter, _ElementProcessors_MultiControls_RemoveRowButton_RemoveRowButtonConverter__WEBPACK_IMPORTED_MODULE_70__.RemoveRowButtonConverter, _ElementProcessors_ValueEditors_Select_SelectConverter__WEBPACK_IMPORTED_MODULE_71__.SelectConverter, _ElementProcessors_MultiControls_SortRadioGroup_SortRadioGroupConverter__WEBPACK_IMPORTED_MODULE_72__.SortRadioGroupConverter, _ElementProcessors_Layout_Spoiler_SpoilerConverter__WEBPACK_IMPORTED_MODULE_73__.SpoilerConverter, _ElementProcessors_Typography_Strong_StrongConverter__WEBPACK_IMPORTED_MODULE_74__.StrongConverter, _ElementProcessors_Typography_Sub_SubConverter__WEBPACK_IMPORTED_MODULE_75__.SubConverter, _ElementProcessors_Layout_Subheader_SubheaderConverter__WEBPACK_IMPORTED_MODULE_76__.SubheaderConverter, _ElementProcessors_Typography_Sup_SupConverter__WEBPACK_IMPORTED_MODULE_77__.SupConverter, _ElementProcessors_ValueViewers_Text_TextConverter__WEBPACK_IMPORTED_MODULE_86__.TextConverter, _ElementProcessors_ValueEditors_Textarea_TextAreaConverter__WEBPACK_IMPORTED_MODULE_87__.TextAreaConverter, _ElementProcessors_ValueEditors_popupTextArea_PopupTextAreaConverter__WEBPACK_IMPORTED_MODULE_96__.PopupTextAreaConverter, _ElementProcessors_ValueViewers_ValueLength_ValueLengthConverter__WEBPACK_IMPORTED_MODULE_92__.ValueLengthConverter, _ElementProcessors_ControlFlow_VisibilityBlock_VisibilityBlockConverter__WEBPACK_IMPORTED_MODULE_93__.VisibilityBlockConverter, _ElementProcessors_Layout_Warning_WarningConverter__WEBPACK_IMPORTED_MODULE_94__.WarningConverter, _ElementProcessors_Layout_InnerText_InnertextConverter__WEBPACK_IMPORTED_MODULE_7__.InnertextConverter, _ElementProcessors_ControlFlow_Otherwise_OtherwiseConverter__WEBPACK_IMPORTED_MODULE_64__.OtherwiseConverter, _ElementProcessors_ControlFlow_When_WhenConverter__WEBPACK_IMPORTED_MODULE_95__.WhenConverter, _ElementProcessors_FormParts_UnitList_UnitListConverter__WEBPACK_IMPORTED_MODULE_91__.UnitListConverter, _ElementProcessors_FormParts_UnitItem_UnitItemConverter__WEBPACK_IMPORTED_MODULE_90__.UnitItemConverter, _ElementProcessors_Modal_Body_BodyConverter__WEBPACK_IMPORTED_MODULE_12__.BodyConverter, _ElementProcessors_Modal_Footer_FooterConverter__WEBPACK_IMPORTED_MODULE_35__.FooterConverter, _ElementProcessors_Modal_ModalFormConfirm_ModalFormConfirmConverter__WEBPACK_IMPORTED_MODULE_60__.ModalFormConfirmConverter, _ElementProcessors_Modal_ModalFormCancel_ModalFormCancelConverter__WEBPACK_IMPORTED_MODULE_59__.ModalFormCancelConverter, _ElementProcessors_Action_Button_ButtonConverter__WEBPACK_IMPORTED_MODULE_15__.ButtonConverter, _ElementProcessors_Action_DownloadExcelButton_DownloadExcelButtonConverter__WEBPACK_IMPORTED_MODULE_16__.DownloadExcelButtonConverter, _ElementProcessors_Action_DropDownButtonLoadExcel_DropDownButtonLoadExcelConverter__WEBPACK_IMPORTED_MODULE_17__.DropDownButtonLoadExcelConverter, _ElementProcessors_FormParts_Tour_TourConverter__WEBPACK_IMPORTED_MODULE_89__.TourConverter, _ElementProcessors_ControlFlow_Switch_SwitchConverter__WEBPACK_IMPORTED_MODULE_78__.SwitchConverter, _ElementProcessors_MultiControls_StickyTable_StickyTableColumnConverter__WEBPACK_IMPORTED_MODULE_83__.StickyTableColumnConverter, _ElementProcessors_MultiControls_CrossfitTable_CrossfitTableColumnConverter__WEBPACK_IMPORTED_MODULE_79__.CrossfitTableColumnConverter, _ElementProcessors_Layout_SimpleTable_SimpleTableColumnConverter__WEBPACK_IMPORTED_MODULE_81__.SimpleTableColumnConverter, _ElementProcessors_MultiControls_CrossfitTable_CrossfitTableConverter__WEBPACK_IMPORTED_MODULE_80__.CrossfitTableConverter, _ElementProcessors_Layout_SimpleTable_SimpleTableConverter__WEBPACK_IMPORTED_MODULE_82__.SimpleTableConverter, _ElementProcessors_MultiControls_StickyTable_StickyTableWithMultilineConverter__WEBPACK_IMPORTED_MODULE_84__.StickyTableWithMultilineConverter, _ElementProcessors_Layout_Stack_StackConverter__WEBPACK_IMPORTED_MODULE_2__.StackConverter, _ElementProcessors_Layout_Grid_GridConverter__WEBPACK_IMPORTED_MODULE_1__.GridConverter, _ElementProcessors_UnitParts_HeaderPanel_HeaderPanelConverter__WEBPACK_IMPORTED_MODULE_6__.HeaderPanelConverter, _ElementProcessors_MultiControls_Tabs_TabsConverter__WEBPACK_IMPORTED_MODULE_5__.TabsConverter, _ElementProcessors_Action_DropdownButton_DropdownButtonConverter__WEBPACK_IMPORTED_MODULE_101__.DropdownButtonConverter, _ElementProcessors_ValueEditors_Fias_FiasConverter__WEBPACK_IMPORTED_MODULE_0__.FiasConverter, _ElementProcessors_MultiControls_FilterSelect_FilterSelectConverter__WEBPACK_IMPORTED_MODULE_3__.FilterSelectConverter, _ElementProcessors_MultiControls_Table2_Table2Converter__WEBPACK_IMPORTED_MODULE_4__.Table2Converter, _ElementProcessors_MultiControls_Table2_Table2RowConverter__WEBPACK_IMPORTED_MODULE_100__.Table2RowConverter, _ElementProcessors_MultiControls_Table2_Table2MultirowConverter__WEBPACK_IMPORTED_MODULE_99__.Table2MultirowConverter, _ElementProcessors_MultiControls_Table2_Table2Converter__WEBPACK_IMPORTED_MODULE_4__.Table2ColumnConverter, _ElementProcessors_MultiControls_Table2_Table2Converter__WEBPACK_IMPORTED_MODULE_4__.Table2VerticalColumnConverter, _ElementProcessors_Layout_FixedTabs_FixedTabsConverter__WEBPACK_IMPORTED_MODULE_103__.FixedTabsConverter, _ElementProcessors_Layout_FixedTabs_FixedTabConverter__WEBPACK_IMPORTED_MODULE_102__.FixedTabConverter, _ElementProcessors_MultiControls_Multiple_MultipleConverter__WEBPACK_IMPORTED_MODULE_104__.MultipleConverter, _ElementProcessors_Action_ExcelPastePanel_ExcelPastePanelConverter__WEBPACK_IMPORTED_MODULE_105__.ExcelPastePanelConverter, _ElementProcessors_ValueEditors_ReferencedFields_ReferencedFieldsConverter__WEBPACK_IMPORTED_MODULE_106__.ReferencedFieldsConverter, _ElementProcessors_FormParts_UserPicklist_UserPicklistConverter__WEBPACK_IMPORTED_MODULE_107__.UserPicklistConverter, _ElementProcessors_ValueEditors_TaxRebate_TaxRebateConverter__WEBPACK_IMPORTED_MODULE_108__.TaxRebateConverter, _ElementProcessors_FormParts_Banner_BannerConverter__WEBPACK_IMPORTED_MODULE_109__.BannerConverter, _ElementProcessors_ValueViewers_DateView_DateViewConverter__WEBPACK_IMPORTED_MODULE_113__.DateViewConverter, _ElementProcessors_Action_Kebab_KebabConverter__WEBPACK_IMPORTED_MODULE_114__.KebabConverter, _ElementProcessors_Helpers_Clue_InfoBlockConverter__WEBPACK_IMPORTED_MODULE_115__.InfoBlockConverter, _ElementProcessors_ValueEditors_SelectAllCheckbox_SelectAllCheckboxConverter__WEBPACK_IMPORTED_MODULE_116__.SelectAllCheckboxConverter, _ElementProcessors_ValueEditors_SelectCheckbox_SelectCheckboxConverter__WEBPACK_IMPORTED_MODULE_120__.SelectCheckboxConverter, _ElementProcessors_FormParts_ModalHeader_ModalHeaderConverter__WEBPACK_IMPORTED_MODULE_121__.ModalHeaderConverter];
|
|
76101
|
+
const converters = [_ElementProcessors_FormParts_AddPageButton_AddPageButtonConverter__WEBPACK_IMPORTED_MODULE_8__.AddPageButtonConverter, _ElementProcessors_MultiControls_AddRowButton_AddRowButtonConverter__WEBPACK_IMPORTED_MODULE_9__.AddRowButtonConverter, _ElementProcessors_FormParts_AttachmentForm_AttachmentFormConverter__WEBPACK_IMPORTED_MODULE_117__.AttachmentFormConverter, _ElementProcessors_Layout_Block_BlockConverter__WEBPACK_IMPORTED_MODULE_10__.BlockConverter, _ElementProcessors_Layout_Minitour_MinitourConverter__WEBPACK_IMPORTED_MODULE_11__.MinitourConverter, _ElementProcessors_Typography_Bold_BoldConverter__WEBPACK_IMPORTED_MODULE_13__.BoldConverter, _ElementProcessors_Layout_Br_BrConverter__WEBPACK_IMPORTED_MODULE_14__.BrConverter, _ElementProcessors_FormParts_Caption_CaptionConverter__WEBPACK_IMPORTED_MODULE_18__.CaptionConverter, _ElementProcessors_ValueEditors_Checkbox_CheckboxConverter__WEBPACK_IMPORTED_MODULE_19__.CheckboxConverter, _ElementProcessors_ControlFlow_Choice_ChoiceConverter__WEBPACK_IMPORTED_MODULE_20__.ChoiceConverter, _ElementProcessors_MultiControls_TableCell_TableCellConverter__WEBPACK_IMPORTED_MODULE_85__.TableCellConverter, _ElementProcessors_ValueEditors_Toggle_ToggleConverter__WEBPACK_IMPORTED_MODULE_88__.ToggleConverter, _ElementProcessors_ValueEditors_Combobox_ComboBoxConverter__WEBPACK_IMPORTED_MODULE_21__.ComboBoxConverter, _ElementProcessors_FormParts_Content_ContentConverter__WEBPACK_IMPORTED_MODULE_22__.ContentConverter, _ElementProcessors_FormParts_Cross_CrossConverter__WEBPACK_IMPORTED_MODULE_23__.CrossConverter, _ElementProcessors_MultiControls_ColgroupButton_ColgroupButtonConverter__WEBPACK_IMPORTED_MODULE_97__.ColgroupButtonConverter, _ElementProcessors_ValueEditors_Date_DateConverter__WEBPACK_IMPORTED_MODULE_24__.DateConverter, _ElementProcessors_FormParts_DefaultContent_DefaultContentConverter__WEBPACK_IMPORTED_MODULE_25__.DefaultContentConverter, _ElementProcessors_ValueEditors_DiadocSuggestComboBox_DiadocSuggestComboBoxConverter__WEBPACK_IMPORTED_MODULE_26__.DiadocSuggestComboBoxConverter, _ElementProcessors_ValueEditors_RelativesComboBox_RelativesComboBoxConverter__WEBPACK_IMPORTED_MODULE_119__.RelativesComboBoxConverter, _ElementProcessors_Typography_Entity_EntityConverter__WEBPACK_IMPORTED_MODULE_27__.EntityConverter, _ElementProcessors_ValueEditors_ExpertNote_ExpertNoteConverter__WEBPACK_IMPORTED_MODULE_28__.ExpertNoteConverter, _ElementProcessors_ValueEditors_FileLoader_FileLoaderConverter__WEBPACK_IMPORTED_MODULE_29__.FileLoaderConverter, _ElementProcessors_MultiControls_FilterDateRange_FilterDateRangeConverter__WEBPACK_IMPORTED_MODULE_30__.FilterDateRangeConverter, _ElementProcessors_MultiControls_FilterInput_FilterInputConverter__WEBPACK_IMPORTED_MODULE_31__.FilterInputConverter, _ElementProcessors_MultiControls_FilterList_FilterListConverter__WEBPACK_IMPORTED_MODULE_32__.FilterListConverter, _ElementProcessors_ValueViewers_FIO_FIOConverter__WEBPACK_IMPORTED_MODULE_33__.FIOConverter, _ElementProcessors_Layout_Flexbox_FlexboxConverter__WEBPACK_IMPORTED_MODULE_34__.FlexboxConverter, _ElementProcessors_FormParts_Form_FormConverter__WEBPACK_IMPORTED_MODULE_36__.FormConverter, _ElementProcessors_FormParts_FormInfo_FormInfoConverter__WEBPACK_IMPORTED_MODULE_37__.FormInfoConverter, _ElementProcessors_Typography_Gray_GrayConverter__WEBPACK_IMPORTED_MODULE_38__.GrayConverter, _ElementProcessors_Layout_GridCol_GridColConverter__WEBPACK_IMPORTED_MODULE_39__.GridColConverter, _ElementProcessors_Layout_GridRow_GridRowConverter__WEBPACK_IMPORTED_MODULE_40__.GridRowConverter, _ElementProcessors_FormParts_Header_HeaderConverter__WEBPACK_IMPORTED_MODULE_41__.HeaderConverter, _ElementProcessors_MultiControls_HeaderMenu_HeaderMenuConverter__WEBPACK_IMPORTED_MODULE_42__.HeaderMenuConverter, _ElementProcessors_Helpers_Help_HelpConverter__WEBPACK_IMPORTED_MODULE_43__.HelpConverter, _ElementProcessors_Helpers_Helpinfo_HelpInfoConverter__WEBPACK_IMPORTED_MODULE_44__.HelpInfoConverter, _ElementProcessors_Typography_Highlight_HighlightConverter__WEBPACK_IMPORTED_MODULE_45__.HighlightConverter, _ElementProcessors_Layout_Hr_HrConverter__WEBPACK_IMPORTED_MODULE_46__.HrConverter, _ElementProcessors_Typography_Icon_IconConverter__WEBPACK_IMPORTED_MODULE_47__.IconConverter, _ElementProcessors_ControlFlow_Captions_Short_ShortConverter__WEBPACK_IMPORTED_MODULE_110__.ShortConverter, _ElementProcessors_ControlFlow_Captions_Long_LongConverter__WEBPACK_IMPORTED_MODULE_111__.LongConverter, _ElementProcessors_ControlFlow_Captions_FillHint_FillHintConverter__WEBPACK_IMPORTED_MODULE_112__.FillHintConverter, _ElementProcessors_ControlFlow_If_IfConverter__WEBPACK_IMPORTED_MODULE_48__.IfConverter, _ElementProcessors_Layout_Img_ImgConverter__WEBPACK_IMPORTED_MODULE_49__.ImgConverter, _ElementProcessors_ValueEditors_INN_INNConverter__WEBPACK_IMPORTED_MODULE_50__.INNConverter, _ElementProcessors_ValueEditors_Input_InputConverter__WEBPACK_IMPORTED_MODULE_51__.InputConverter, _ElementProcessors_Typography_Italic_ItalicConverter__WEBPACK_IMPORTED_MODULE_52__.ItalicConverter, _ElementProcessors_Layout_ListItem_ListItemConverter__WEBPACK_IMPORTED_MODULE_53__.ListItemConverter, _ElementProcessors_ValueEditors_Kladr_KladrConverter__WEBPACK_IMPORTED_MODULE_54__.KladrConverter, _ElementProcessors_ValueViewers_Linetext_LinetextConverter__WEBPACK_IMPORTED_MODULE_55__.LinetextConverter, _ElementProcessors_Action_Link_LinkConverter__WEBPACK_IMPORTED_MODULE_56__.LinkConverter, _ElementProcessors_Layout_List_ListConverter__WEBPACK_IMPORTED_MODULE_57__.ListConverter, _ElementProcessors_Modal_ModalForm_ModalFormConverter__WEBPACK_IMPORTED_MODULE_58__.ModalFormConverter, _ElementProcessors_Modal_ModalFormLabel_ModalFormLabelConverter__WEBPACK_IMPORTED_MODULE_61__.ModalFormLabelConverter, _ElementProcessors_MultiControls_Multilinefield_MultilineFieldConverter__WEBPACK_IMPORTED_MODULE_62__.MultilineFieldConverter, _ElementProcessors_Helpers_Normativehelp_NormativeHelpConverter__WEBPACK_IMPORTED_MODULE_63__.NormativeHelpConverter, _ElementProcessors_FormParts_Page_PageConverter__WEBPACK_IMPORTED_MODULE_65__.PageConverter, _ElementProcessors_Layout_Pencil_PencilConverter__WEBPACK_IMPORTED_MODULE_66__.PencilConverter, _ElementProcessors_ValueEditors_Picklist_PicklistConverter__WEBPACK_IMPORTED_MODULE_67__.PicklistConverter, _ElementProcessors_ValueEditors_TreePicklist_TreePicklistConverter__WEBPACK_IMPORTED_MODULE_118__.TreePicklistConverter, _ElementProcessors_ValueEditors_radio_RadioConverter__WEBPACK_IMPORTED_MODULE_68__.RadioConverter, _ElementProcessors_ValueEditors_RadioGroup_RadioGroupConverter__WEBPACK_IMPORTED_MODULE_69__.RadioGroupConverter, _ElementProcessors_MultiControls_RemoveRowButton_RemoveRowButtonConverter__WEBPACK_IMPORTED_MODULE_70__.RemoveRowButtonConverter, _ElementProcessors_ValueEditors_Select_SelectConverter__WEBPACK_IMPORTED_MODULE_71__.SelectConverter, _ElementProcessors_MultiControls_SortRadioGroup_SortRadioGroupConverter__WEBPACK_IMPORTED_MODULE_72__.SortRadioGroupConverter, _ElementProcessors_Layout_Spoiler_SpoilerConverter__WEBPACK_IMPORTED_MODULE_73__.SpoilerConverter, _ElementProcessors_Typography_Strong_StrongConverter__WEBPACK_IMPORTED_MODULE_74__.StrongConverter, _ElementProcessors_Typography_Sub_SubConverter__WEBPACK_IMPORTED_MODULE_75__.SubConverter, _ElementProcessors_Layout_Subheader_SubheaderConverter__WEBPACK_IMPORTED_MODULE_76__.SubheaderConverter, _ElementProcessors_Typography_Sup_SupConverter__WEBPACK_IMPORTED_MODULE_77__.SupConverter, _ElementProcessors_ValueViewers_Text_TextConverter__WEBPACK_IMPORTED_MODULE_86__.TextConverter, _ElementProcessors_ValueEditors_Textarea_TextAreaConverter__WEBPACK_IMPORTED_MODULE_87__.TextAreaConverter, _ElementProcessors_ValueEditors_popupTextArea_PopupTextAreaConverter__WEBPACK_IMPORTED_MODULE_96__.PopupTextAreaConverter, _ElementProcessors_ValueViewers_ValueLength_ValueLengthConverter__WEBPACK_IMPORTED_MODULE_92__.ValueLengthConverter, _ElementProcessors_ControlFlow_VisibilityBlock_VisibilityBlockConverter__WEBPACK_IMPORTED_MODULE_93__.VisibilityBlockConverter, _ElementProcessors_Layout_Warning_WarningConverter__WEBPACK_IMPORTED_MODULE_94__.WarningConverter, _ElementProcessors_Layout_InnerText_InnertextConverter__WEBPACK_IMPORTED_MODULE_7__.InnertextConverter, _ElementProcessors_ControlFlow_Otherwise_OtherwiseConverter__WEBPACK_IMPORTED_MODULE_64__.OtherwiseConverter, _ElementProcessors_ControlFlow_When_WhenConverter__WEBPACK_IMPORTED_MODULE_95__.WhenConverter, _ElementProcessors_FormParts_UnitList_UnitListConverter__WEBPACK_IMPORTED_MODULE_91__.UnitListConverter, _ElementProcessors_FormParts_UnitItem_UnitItemConverter__WEBPACK_IMPORTED_MODULE_90__.UnitItemConverter, _ElementProcessors_Modal_Body_BodyConverter__WEBPACK_IMPORTED_MODULE_12__.BodyConverter, _ElementProcessors_Modal_Footer_FooterConverter__WEBPACK_IMPORTED_MODULE_35__.FooterConverter, _ElementProcessors_Modal_ModalFormConfirm_ModalFormConfirmConverter__WEBPACK_IMPORTED_MODULE_60__.ModalFormConfirmConverter, _ElementProcessors_Modal_ModalFormCancel_ModalFormCancelConverter__WEBPACK_IMPORTED_MODULE_59__.ModalFormCancelConverter, _ElementProcessors_Action_Button_ButtonConverter__WEBPACK_IMPORTED_MODULE_15__.ButtonConverter, _ElementProcessors_Action_DownloadExcelButton_DownloadExcelButtonConverter__WEBPACK_IMPORTED_MODULE_16__.DownloadExcelButtonConverter, _ElementProcessors_Action_DropDownButtonLoadExcel_DropDownButtonLoadExcelConverter__WEBPACK_IMPORTED_MODULE_17__.DropDownButtonLoadExcelConverter, _ElementProcessors_FormParts_Tour_TourConverter__WEBPACK_IMPORTED_MODULE_89__.TourConverter, _ElementProcessors_ControlFlow_Switch_SwitchConverter__WEBPACK_IMPORTED_MODULE_78__.SwitchConverter, _ElementProcessors_MultiControls_StickyTable_StickyTableColumnConverter__WEBPACK_IMPORTED_MODULE_83__.StickyTableColumnConverter, _ElementProcessors_MultiControls_CrossfitTable_CrossfitTableColumnConverter__WEBPACK_IMPORTED_MODULE_79__.CrossfitTableColumnConverter, _ElementProcessors_Layout_SimpleTable_SimpleTableColumnConverter__WEBPACK_IMPORTED_MODULE_81__.SimpleTableColumnConverter, _ElementProcessors_MultiControls_CrossfitTable_CrossfitTableConverter__WEBPACK_IMPORTED_MODULE_80__.CrossfitTableConverter, _ElementProcessors_Layout_SimpleTable_SimpleTableConverter__WEBPACK_IMPORTED_MODULE_82__.SimpleTableConverter, _ElementProcessors_MultiControls_StickyTable_StickyTableWithMultilineConverter__WEBPACK_IMPORTED_MODULE_84__.StickyTableWithMultilineConverter, _ElementProcessors_Layout_Stack_StackConverter__WEBPACK_IMPORTED_MODULE_2__.StackConverter, _ElementProcessors_Layout_Grid_GridConverter__WEBPACK_IMPORTED_MODULE_1__.GridConverter, _ElementProcessors_UnitParts_HeaderPanel_HeaderPanelConverter__WEBPACK_IMPORTED_MODULE_6__.HeaderPanelConverter, _ElementProcessors_MultiControls_Tabs_TabsConverter__WEBPACK_IMPORTED_MODULE_5__.TabsConverter, _ElementProcessors_Action_DropdownButton_DropdownButtonConverter__WEBPACK_IMPORTED_MODULE_101__.DropdownButtonConverter, _ElementProcessors_ValueEditors_Fias_FiasConverter__WEBPACK_IMPORTED_MODULE_0__.FiasConverter, _ElementProcessors_MultiControls_FilterSelect_FilterSelectConverter__WEBPACK_IMPORTED_MODULE_3__.FilterSelectConverter, _ElementProcessors_MultiControls_Table2_Table2Converter__WEBPACK_IMPORTED_MODULE_4__.Table2Converter, _ElementProcessors_MultiControls_Table2_Table2RowConverter__WEBPACK_IMPORTED_MODULE_100__.Table2RowConverter, _ElementProcessors_MultiControls_Table2_Table2MultirowConverter__WEBPACK_IMPORTED_MODULE_99__.Table2MultirowConverter, _ElementProcessors_MultiControls_Table2_Table2Converter__WEBPACK_IMPORTED_MODULE_4__.Table2ColumnConverter, _ElementProcessors_MultiControls_Table2_Table2Converter__WEBPACK_IMPORTED_MODULE_4__.Table2VerticalColumnConverter, _ElementProcessors_Layout_FixedTabs_FixedTabsConverter__WEBPACK_IMPORTED_MODULE_103__.FixedTabsConverter, _ElementProcessors_Layout_FixedTabs_FixedTabConverter__WEBPACK_IMPORTED_MODULE_102__.FixedTabConverter, _ElementProcessors_MultiControls_Multiple_MultipleConverter__WEBPACK_IMPORTED_MODULE_104__.MultipleConverter, _ElementProcessors_Action_ExcelPastePanel_ExcelPastePanelConverter__WEBPACK_IMPORTED_MODULE_105__.ExcelPastePanelConverter, _ElementProcessors_ValueEditors_ReferencedFields_ReferencedFieldsConverter__WEBPACK_IMPORTED_MODULE_106__.ReferencedFieldsConverter, _ElementProcessors_FormParts_UserPicklist_UserPicklistConverter__WEBPACK_IMPORTED_MODULE_107__.UserPicklistConverter, _ElementProcessors_ValueEditors_TaxRebate_TaxRebateConverter__WEBPACK_IMPORTED_MODULE_108__.TaxRebateConverter, _ElementProcessors_FormParts_Banner_BannerConverter__WEBPACK_IMPORTED_MODULE_109__.BannerConverter, _ElementProcessors_ValueViewers_DateView_DateViewConverter__WEBPACK_IMPORTED_MODULE_113__.DateViewConverter, _ElementProcessors_Action_Kebab_KebabConverter__WEBPACK_IMPORTED_MODULE_114__.KebabConverter, _ElementProcessors_Helpers_Clue_InfoBlockConverter__WEBPACK_IMPORTED_MODULE_115__.InfoBlockConverter, _ElementProcessors_ValueEditors_SelectAllCheckbox_SelectAllCheckboxConverter__WEBPACK_IMPORTED_MODULE_116__.SelectAllCheckboxConverter, _ElementProcessors_ValueEditors_SelectCheckbox_SelectCheckboxConverter__WEBPACK_IMPORTED_MODULE_120__.SelectCheckboxConverter, _ElementProcessors_FormParts_ModalHeader_ModalHeaderConverter__WEBPACK_IMPORTED_MODULE_121__.ModalHeaderConverter, _ElementProcessors_FormParts_GlobalModal_GlobalModalsConverter__WEBPACK_IMPORTED_MODULE_122__.GlobalModalsConverter];
|
|
76064
76102
|
return new Map(converters.map(converterClass => [converterClass.getAcceptNodeClass(), converterClass]));
|
|
76065
76103
|
}
|
|
76066
76104
|
function getConverterByNodeClass(nodeClass) {
|
|
@@ -79207,6 +79245,10 @@ function naiveConvertJsConditionToKCLangCondition(condition) {
|
|
|
79207
79245
|
applyReplacements([/path\('@settings\/isIndividual'\)\s*!==?\s*false/g, "1 == 2"]);
|
|
79208
79246
|
applyReplacements([/path\('@settings\/isIndividual'\)\s*!==?\s*'false'/g, "1 == 2"]);
|
|
79209
79247
|
applyReplacements([/path\('@settings\/isIndividual'\)/g, "'false'"]);
|
|
79248
|
+
applyReplacements([/path\('@settings\/isFormInFormNds'\)\s*===?\s*true/g, "1 == 1"]);
|
|
79249
|
+
applyReplacements([/path\('@settings\/isFormInFormNds'\)\s*===?\s*'true'/g, "1 == 1"]);
|
|
79250
|
+
applyReplacements([/path\('@settings\/isFormInFormNds'\)\s*===?\s*false/g, "0 == 1"]);
|
|
79251
|
+
applyReplacements([/path\('@settings\/isFormInFormNds'\)\s*===?\s*'false'/g, "0 == 1"]);
|
|
79210
79252
|
applyReplacements([/path\('([^']*?)'\)\s*===?\s*'/g, "($1 as string) == '"]);
|
|
79211
79253
|
applyReplacements([/path\('([^']*?)'\)\s*!==?\s*'/g, "($1 as string) != '"]);
|
|
79212
79254
|
applyReplacements([/path\('([^']*?)'\)\s*===?\s*(\d)/g, "$1 == $2"]);
|
|
@@ -79892,7 +79934,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
79892
79934
|
/* harmony import */ var _Common_PathConstants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../../../Common/PathConstants */ "./Common/PathConstants.ts");
|
|
79893
79935
|
/* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
|
|
79894
79936
|
/* harmony import */ var _getBindingPath__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
|
|
79895
|
-
/* harmony import */ var
|
|
79937
|
+
/* harmony import */ var _validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../validationGenerator/Nodes/TypeNode */ "./Generator/src/generators/validationGenerator/Nodes/TypeNode.ts");
|
|
79938
|
+
/* harmony import */ var _DefaultContent_DefaultContentNode__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../DefaultContent/DefaultContentNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/DefaultContent/DefaultContentNode.ts");
|
|
79939
|
+
/* harmony import */ var _AttachmentFormNode__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./AttachmentFormNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/AttachmentForm/AttachmentFormNode.ts");
|
|
79940
|
+
|
|
79941
|
+
|
|
79896
79942
|
|
|
79897
79943
|
|
|
79898
79944
|
|
|
@@ -79903,14 +79949,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
79903
79949
|
|
|
79904
79950
|
class AttachmentFormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.SugarNodeConverterBase {
|
|
79905
79951
|
static getAcceptNodeClass() {
|
|
79906
|
-
return
|
|
79952
|
+
return _AttachmentFormNode__WEBPACK_IMPORTED_MODULE_9__.AttachmentFormNode;
|
|
79907
79953
|
}
|
|
79908
79954
|
*getAttachmentPaths() {
|
|
79909
|
-
const node = this.getCurrentNodeAs(
|
|
79955
|
+
const node = this.getCurrentNodeAs(_AttachmentFormNode__WEBPACK_IMPORTED_MODULE_9__.AttachmentFormNode);
|
|
79910
79956
|
yield (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.createAbsolute)(node.path).joinWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_4__.AttachmentInfoPath);
|
|
79911
79957
|
}
|
|
79912
79958
|
*getAttachmentPathsWithGfvs() {
|
|
79913
|
-
const node = this.getCurrentNodeAs(
|
|
79959
|
+
const node = this.getCurrentNodeAs(_AttachmentFormNode__WEBPACK_IMPORTED_MODULE_9__.AttachmentFormNode);
|
|
79914
79960
|
yield [node.gfv, (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_5__.createAbsolute)(node.path).joinWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_4__.AttachmentInfoPath)];
|
|
79915
79961
|
}
|
|
79916
79962
|
doBuildDataDeclaration(context) {
|
|
@@ -79923,14 +79969,21 @@ class AttachmentFormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODU
|
|
|
79923
79969
|
// no children
|
|
79924
79970
|
}
|
|
79925
79971
|
doConvert(context) {
|
|
79926
|
-
const attachmentFormNode = this.getCurrentNodeAs(
|
|
79927
|
-
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("
|
|
79928
|
-
markupBuilder.prop("data-tid").set("attachment
|
|
79929
|
-
markupBuilder.prop(x => x.unitId).set((0,_Engine_src_Controls_FormParts_Unit_UnitId_UnitId__WEBPACK_IMPORTED_MODULE_3__.createUnitId)("attachment
|
|
79972
|
+
const attachmentFormNode = this.getCurrentNodeAs(_AttachmentFormNode__WEBPACK_IMPORTED_MODULE_9__.AttachmentFormNode);
|
|
79973
|
+
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("AttachmentUnit");
|
|
79974
|
+
markupBuilder.prop("data-tid").set("attachment" + attachmentFormNode.gfv);
|
|
79975
|
+
markupBuilder.prop(x => x.unitId).set((0,_Engine_src_Controls_FormParts_Unit_UnitId_UnitId__WEBPACK_IMPORTED_MODULE_3__.createUnitId)("attachment" + attachmentFormNode.gfv));
|
|
79930
79976
|
markupBuilder.prop(x => x.gfv).set(attachmentFormNode.gfv);
|
|
79931
79977
|
markupBuilder.prop(x => x.caption).set(attachmentFormNode.name);
|
|
79932
79978
|
markupBuilder.prop(x => x.description).set(attachmentFormNode.description);
|
|
79933
79979
|
markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_6__.getNewBindingPathExpression)(attachmentFormNode, attachmentFormNode.path));
|
|
79980
|
+
const defaultContentNode = attachmentFormNode.children.find((0,_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_7__.ofType)(_DefaultContent_DefaultContentNode__WEBPACK_IMPORTED_MODULE_8__.DefaultContentNode));
|
|
79981
|
+
if (defaultContentNode != undefined) {
|
|
79982
|
+
const markupBuilderDefault = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("PageFilledConditional");
|
|
79983
|
+
markupBuilderDefault.prop(x => x.visibleIfFilled).set(false);
|
|
79984
|
+
markupBuilderDefault.appendChild(context.convertChildNodes([defaultContentNode]));
|
|
79985
|
+
markupBuilder.appendChild(markupBuilder);
|
|
79986
|
+
}
|
|
79934
79987
|
return markupBuilder.buildConverterResult();
|
|
79935
79988
|
}
|
|
79936
79989
|
}
|
|
@@ -79955,22 +80008,58 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
79955
80008
|
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/initializerWarningHelper */ "./node_modules/@babel/runtime/helpers/initializerWarningHelper.js");
|
|
79956
80009
|
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
|
|
79957
80010
|
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
79958
|
-
/* harmony import */ var
|
|
80011
|
+
/* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
|
|
80012
|
+
/* harmony import */ var _Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../Commons/DocumentationLinks */ "./Generator/src/generators/markupGenerator/ElementProcessors/Commons/DocumentationLinks.ts");
|
|
79959
80013
|
|
|
79960
80014
|
|
|
79961
80015
|
|
|
79962
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6;
|
|
80016
|
+
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11;
|
|
80017
|
+
|
|
80018
|
+
|
|
80019
|
+
|
|
80020
|
+
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__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.boolean, `Опциональный раздел`), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("pageActions", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.objectLiteral(), `Атрибут для кастомизации действий с разделом.
|
|
80021
|
+
|
|
80022
|
+
Объект с опциональным полями: caption: string, disableButton: boolean, hideButton: boolean,
|
|
80023
|
+
showInsertButtons: boolean, lastButtonName: string, intermediateButtonName: string,
|
|
80024
|
+
actions: {}.
|
|
80025
|
+
|
|
80026
|
+
actions: {
|
|
80027
|
+
[actionName: string]: {
|
|
80028
|
+
description?: string;
|
|
80029
|
+
disableAction?: boolean;
|
|
80030
|
+
hideAction?: boolean;
|
|
80031
|
+
};
|
|
80032
|
+
};
|
|
80033
|
+
|
|
80034
|
+
actionName: enableAutoValues, clear, remove, copy
|
|
80035
|
+
`), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("extraPageActions", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.objectLiteral(), `Атрибут для дополнительных действий.
|
|
79963
80036
|
|
|
80037
|
+
Объект с набором действий:
|
|
79964
80038
|
|
|
79965
|
-
|
|
80039
|
+
[actionName: string]: {
|
|
80040
|
+
description?: string;
|
|
80041
|
+
disableAction?: boolean;
|
|
80042
|
+
hideAction?: boolean;
|
|
80043
|
+
tid?: string;
|
|
80044
|
+
handler?: string;
|
|
80045
|
+
};
|
|
80046
|
+
`), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)(), _dec(_class = (_class2 = class AttachmentFormNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
79966
80047
|
constructor(...args) {
|
|
79967
80048
|
super(...args);
|
|
79968
80049
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "gfv", _descriptor, this);
|
|
79969
80050
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "name", _descriptor2, this);
|
|
79970
80051
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "description", _descriptor3, this);
|
|
79971
80052
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "path", _descriptor4, this);
|
|
79972
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
79973
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
80053
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "navigationLimit", _descriptor5, this);
|
|
80054
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "multiple", _descriptor6, this);
|
|
80055
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "visible", _descriptor7, this);
|
|
80056
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "optional", _descriptor8, this);
|
|
80057
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "pageActions", _descriptor9, this);
|
|
80058
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "extraPageActions", _descriptor10, this);
|
|
80059
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor11, this);
|
|
80060
|
+
}
|
|
80061
|
+
getOwnPath() {
|
|
80062
|
+
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;
|
|
79974
80063
|
}
|
|
79975
80064
|
}, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "gfv", [_dec2], {
|
|
79976
80065
|
configurable: true,
|
|
@@ -79992,12 +80081,37 @@ let AttachmentFormNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTE
|
|
|
79992
80081
|
enumerable: true,
|
|
79993
80082
|
writable: true,
|
|
79994
80083
|
initializer: null
|
|
79995
|
-
}), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "
|
|
80084
|
+
}), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "navigationLimit", [_dec6], {
|
|
80085
|
+
configurable: true,
|
|
80086
|
+
enumerable: true,
|
|
80087
|
+
writable: true,
|
|
80088
|
+
initializer: null
|
|
80089
|
+
}), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "multiple", [_dec7], {
|
|
80090
|
+
configurable: true,
|
|
80091
|
+
enumerable: true,
|
|
80092
|
+
writable: true,
|
|
80093
|
+
initializer: null
|
|
80094
|
+
}), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "visible", [_dec8], {
|
|
80095
|
+
configurable: true,
|
|
80096
|
+
enumerable: true,
|
|
80097
|
+
writable: true,
|
|
80098
|
+
initializer: null
|
|
80099
|
+
}), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "optional", [_dec9], {
|
|
80100
|
+
configurable: true,
|
|
80101
|
+
enumerable: true,
|
|
80102
|
+
writable: true,
|
|
80103
|
+
initializer: null
|
|
80104
|
+
}), _descriptor9 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "pageActions", [_dec10], {
|
|
80105
|
+
configurable: true,
|
|
80106
|
+
enumerable: true,
|
|
80107
|
+
writable: true,
|
|
80108
|
+
initializer: null
|
|
80109
|
+
}), _descriptor10 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "extraPageActions", [_dec11], {
|
|
79996
80110
|
configurable: true,
|
|
79997
80111
|
enumerable: true,
|
|
79998
80112
|
writable: true,
|
|
79999
80113
|
initializer: null
|
|
80000
|
-
}),
|
|
80114
|
+
}), _descriptor11 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec12], {
|
|
80001
80115
|
configurable: true,
|
|
80002
80116
|
enumerable: true,
|
|
80003
80117
|
writable: true,
|
|
@@ -80729,7 +80843,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
80729
80843
|
/* harmony import */ var _common_ConditionUtils__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../../../../../common/ConditionUtils */ "./Generator/src/common/ConditionUtils.ts");
|
|
80730
80844
|
/* harmony import */ var _Common_KCLangRuntimeUtils__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../../../../../../../Common/KCLangRuntimeUtils */ "./Common/KCLangRuntimeUtils.ts");
|
|
80731
80845
|
/* harmony import */ var _ComponentMarkupBuilder_PathHelper__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/PathHelper */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/PathHelper.ts");
|
|
80732
|
-
/* harmony import */ var
|
|
80846
|
+
/* harmony import */ var _Common_PathConstants__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../../../../../../../Common/PathConstants */ "./Common/PathConstants.ts");
|
|
80847
|
+
/* harmony import */ var _FormNode__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./FormNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/FormNode.ts");
|
|
80848
|
+
|
|
80733
80849
|
|
|
80734
80850
|
|
|
80735
80851
|
|
|
@@ -80754,14 +80870,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
80754
80870
|
|
|
80755
80871
|
class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.SugarNodeConverterBase {
|
|
80756
80872
|
static getAcceptNodeClass() {
|
|
80757
|
-
return
|
|
80873
|
+
return _FormNode__WEBPACK_IMPORTED_MODULE_22__.FormNode;
|
|
80758
80874
|
}
|
|
80759
80875
|
doBuildDataDeclaration(context) {
|
|
80760
|
-
const node = this.getCurrentNodeAs(
|
|
80876
|
+
const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_22__.FormNode);
|
|
80761
80877
|
const rootPath = (0,_getRootPath__WEBPACK_IMPORTED_MODULE_3__.getRootPath)(node);
|
|
80762
80878
|
const entrySections = ["default"];
|
|
80763
80879
|
const optionalSections = this.findOptionalSections(node);
|
|
80764
80880
|
const allSections = this.findAllSingleSections(node);
|
|
80881
|
+
const allAttachmentSections = this.findAllAttachmentSections(node);
|
|
80765
80882
|
if (node.requisite) {
|
|
80766
80883
|
entrySections.push(_Common_CommonConstants_SectionNames__WEBPACK_IMPORTED_MODULE_12__.SectionNames.requisitesSection);
|
|
80767
80884
|
}
|
|
@@ -80775,14 +80892,19 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
|
|
|
80775
80892
|
allSingleSections: allSections
|
|
80776
80893
|
}
|
|
80777
80894
|
};
|
|
80895
|
+
allAttachmentSections.forEach(attachmentSection => {
|
|
80896
|
+
result[`${attachmentSection.path}/${_Common_PathConstants__WEBPACK_IMPORTED_MODULE_21__.AttachmentInfoPath.toLegacyPath()}`] = {
|
|
80897
|
+
section: [attachmentSection.id]
|
|
80898
|
+
};
|
|
80899
|
+
});
|
|
80778
80900
|
return result;
|
|
80779
80901
|
}
|
|
80780
80902
|
buildChildrenDataDeclaration(context) {
|
|
80781
|
-
const node = this.getCurrentNodeAs(
|
|
80903
|
+
const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_22__.FormNode);
|
|
80782
80904
|
return context.processChildrenDataDeclaration(node.pages);
|
|
80783
80905
|
}
|
|
80784
80906
|
*doTraverseChildren() {
|
|
80785
|
-
const node = this.getCurrentNodeAs(
|
|
80907
|
+
const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_22__.FormNode);
|
|
80786
80908
|
yield* node.pages;
|
|
80787
80909
|
if (node.attachmentForms) {
|
|
80788
80910
|
yield* node.attachmentForms;
|
|
@@ -80790,9 +80912,12 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
|
|
|
80790
80912
|
if (node.modalheader) {
|
|
80791
80913
|
yield* [node.modalheader];
|
|
80792
80914
|
}
|
|
80915
|
+
if (node.globalmodals) {
|
|
80916
|
+
yield* [node.globalmodals];
|
|
80917
|
+
}
|
|
80793
80918
|
}
|
|
80794
80919
|
doConvert(context) {
|
|
80795
|
-
const node = this.getCurrentNodeAs(
|
|
80920
|
+
const node = this.getCurrentNodeAs(_FormNode__WEBPACK_IMPORTED_MODULE_22__.FormNode);
|
|
80796
80921
|
if (node.simple) {
|
|
80797
80922
|
return this.buildSimpleForm(context, node);
|
|
80798
80923
|
} else if (node.plain) {
|
|
@@ -80826,7 +80951,22 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
|
|
|
80826
80951
|
dependsOnSection: this.findNearestOptionalSection(page.id, allSinglePagesWithParent)
|
|
80827
80952
|
};
|
|
80828
80953
|
}).filter(x => (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__.isNotNullOrUndefined)(x.id)).toArray();
|
|
80829
|
-
|
|
80954
|
+
const attachmentForms = this.findAllAttachmentSections(node);
|
|
80955
|
+
return pages.concat(attachmentForms);
|
|
80956
|
+
}
|
|
80957
|
+
findAllAttachmentSections(node) {
|
|
80958
|
+
if (!node.attachmentForms) {
|
|
80959
|
+
return [];
|
|
80960
|
+
}
|
|
80961
|
+
return node.attachmentForms.map(attachmentForm => {
|
|
80962
|
+
var _attachmentForm$optio;
|
|
80963
|
+
return {
|
|
80964
|
+
id: this.getAttachmentFormId(attachmentForm),
|
|
80965
|
+
path: attachmentForm.getFullPath().toLegacyPath(),
|
|
80966
|
+
optional: (_attachmentForm$optio = attachmentForm.optional) !== null && _attachmentForm$optio !== void 0 ? _attachmentForm$optio : false,
|
|
80967
|
+
dependsOnSection: undefined
|
|
80968
|
+
};
|
|
80969
|
+
}).filter(x => (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__.isNotNullOrUndefined)(x.id));
|
|
80830
80970
|
}
|
|
80831
80971
|
getAllPages(pages, parentPage) {
|
|
80832
80972
|
const allPages = pages.flatMap(page => this.getAllPages(page.pages, page)).map(x => ({
|
|
@@ -80935,6 +81075,9 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
|
|
|
80935
81075
|
} else {
|
|
80936
81076
|
hiddenPanelBuilder.appendChild(_Tour_TourConverter__WEBPACK_IMPORTED_MODULE_11__.TourConverter.getNoTourMarkup());
|
|
80937
81077
|
}
|
|
81078
|
+
if (node.globalmodals) {
|
|
81079
|
+
hiddenPanelBuilder.appendChild(context.convertChildNodes([node.globalmodals]));
|
|
81080
|
+
}
|
|
80938
81081
|
hiddenPanelBuilder.createChild("HiddenPanelContent").appendChild(this.buildRegularFormContent(node, context));
|
|
80939
81082
|
hiddenPanelBuilder.createChild("HiddenPanelMenu").appendChild(this.buildRegularFormPanel(context, node));
|
|
80940
81083
|
return this.buildBaseFormWithContent(context, hiddenPanelBuilder, node);
|
|
@@ -81034,14 +81177,32 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
|
|
|
81034
81177
|
return markupBuilder;
|
|
81035
81178
|
}
|
|
81036
81179
|
buildAttachmentFormUnit(node, attachmentFormNode, context) {
|
|
81037
|
-
|
|
81038
|
-
markupBuilder.
|
|
81039
|
-
markupBuilder.prop(
|
|
81180
|
+
var _attachmentFormNode$o;
|
|
81181
|
+
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_5__.componentMarkupBuilder)("AttachmentUnit");
|
|
81182
|
+
markupBuilder.prop("data-tid").set(this.getAttachmentFormId(attachmentFormNode));
|
|
81183
|
+
markupBuilder.prop(x => x.unitId).set((0,_Engine_src_Controls_FormParts_Unit_UnitId_UnitId__WEBPACK_IMPORTED_MODULE_13__.createUnitId)(this.getAttachmentFormId(attachmentFormNode)));
|
|
81040
81184
|
markupBuilder.prop(x => x.gfv).set(attachmentFormNode.gfv);
|
|
81041
81185
|
markupBuilder.prop(x => x.caption).set(attachmentFormNode.name);
|
|
81042
81186
|
markupBuilder.prop(x => x.description).set(attachmentFormNode.description);
|
|
81043
|
-
markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_15__.getNewBindingPathExpression)(attachmentFormNode
|
|
81187
|
+
markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_15__.getNewBindingPathExpression)(attachmentFormNode));
|
|
81188
|
+
markupBuilder.prop(x => x.multiple).set(attachmentFormNode.multiple);
|
|
81189
|
+
markupBuilder.prop(x => x.optional).set((_attachmentFormNode$o = attachmentFormNode.optional) !== null && _attachmentFormNode$o !== void 0 ? _attachmentFormNode$o : false);
|
|
81044
81190
|
markupBuilder.prop(x => x.evaluatorsContextPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_15__.getNewBindingPathExpression)(attachmentFormNode));
|
|
81191
|
+
if (attachmentFormNode.pageActions != undefined) {
|
|
81192
|
+
markupBuilder.prop(x => x.pageActions).set(attachmentFormNode.pageActions);
|
|
81193
|
+
}
|
|
81194
|
+
if (attachmentFormNode.extraPageActions != undefined) {
|
|
81195
|
+
const extraPageActions = attachmentFormNode.extraPageActions.map(action => {
|
|
81196
|
+
var _action$disableAction;
|
|
81197
|
+
return {
|
|
81198
|
+
tid: action.tid,
|
|
81199
|
+
description: action.description,
|
|
81200
|
+
handler: context.generateHelperFunctionExpressionWithoutContext(node, "handler", action.handler),
|
|
81201
|
+
disabled: (_action$disableAction = action.disableAction) !== null && _action$disableAction !== void 0 ? _action$disableAction : false
|
|
81202
|
+
};
|
|
81203
|
+
});
|
|
81204
|
+
markupBuilder.prop(x => x.extraPageActions).set(extraPageActions);
|
|
81205
|
+
}
|
|
81045
81206
|
const compiledCondition = generateKcLangOrJsCondition(attachmentFormNode);
|
|
81046
81207
|
if (attachmentFormNode.visible != undefined) {
|
|
81047
81208
|
markupBuilder.prop(x => x.visible).set({
|
|
@@ -81050,6 +81211,7 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
|
|
|
81050
81211
|
dependencies: compiledCondition === null || compiledCondition === void 0 ? void 0 : compiledCondition.dependencies
|
|
81051
81212
|
});
|
|
81052
81213
|
}
|
|
81214
|
+
markupBuilder.appendChild(context.convertChildNodes(attachmentFormNode.children));
|
|
81053
81215
|
return markupBuilder;
|
|
81054
81216
|
}
|
|
81055
81217
|
isPageContainsTableWithStickyElements(pageNode) {
|
|
@@ -81080,6 +81242,9 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
|
|
|
81080
81242
|
} else {
|
|
81081
81243
|
simpleFormBuilder.appendChild(_Tour_TourConverter__WEBPACK_IMPORTED_MODULE_11__.TourConverter.getNoTourMarkup());
|
|
81082
81244
|
}
|
|
81245
|
+
if (node.globalmodals) {
|
|
81246
|
+
simpleFormBuilder.appendChild(context.convertChildNodes([node.globalmodals]));
|
|
81247
|
+
}
|
|
81083
81248
|
return this.buildBaseFormWithContent(context, simpleFormBuilder, node);
|
|
81084
81249
|
}
|
|
81085
81250
|
buildNavigationFromPages(formNode, context) {
|
|
@@ -81090,18 +81255,36 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
|
|
|
81090
81255
|
}
|
|
81091
81256
|
return unitListBuilder;
|
|
81092
81257
|
}
|
|
81258
|
+
getAttachmentFormId(attachmentForm) {
|
|
81259
|
+
return "attachment" + attachmentForm.gfv;
|
|
81260
|
+
}
|
|
81093
81261
|
buildUnitItemsFromAttachmentForms(formNode, attachmentFormNodes) {
|
|
81094
81262
|
const unitItemBuilders = [];
|
|
81095
81263
|
for (const attachmentForm of attachmentFormNodes) {
|
|
81264
|
+
var _attachmentForm$optio2, _attachmentForm$multi;
|
|
81096
81265
|
const unitItemBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_5__.componentMarkupBuilder)("UnitItem");
|
|
81097
|
-
|
|
81098
|
-
unitItemBuilder.prop(
|
|
81266
|
+
const attachmentFormId = this.getAttachmentFormId(attachmentForm);
|
|
81267
|
+
unitItemBuilder.prop("data-tid").set(attachmentFormId);
|
|
81268
|
+
unitItemBuilder.prop(x => x.id).set((0,_Engine_src_Controls_FormParts_Unit_UnitId_UnitId__WEBPACK_IMPORTED_MODULE_13__.createUnitId)(attachmentFormId));
|
|
81099
81269
|
unitItemBuilder.prop(x => x.name).set(attachmentForm.name);
|
|
81100
|
-
unitItemBuilder.prop(x => x.optional).set(
|
|
81101
|
-
unitItemBuilder.prop(x => x.multiple).set(false);
|
|
81270
|
+
unitItemBuilder.prop(x => x.optional).set((_attachmentForm$optio2 = attachmentForm.optional) !== null && _attachmentForm$optio2 !== void 0 ? _attachmentForm$optio2 : false);
|
|
81271
|
+
unitItemBuilder.prop(x => x.multiple).set((_attachmentForm$multi = attachmentForm.multiple) !== null && _attachmentForm$multi !== void 0 ? _attachmentForm$multi : false);
|
|
81102
81272
|
unitItemBuilder.prop(x => x.pages).set([]);
|
|
81103
81273
|
unitItemBuilder.prop(x => x.clearConfirmationSettings).set({});
|
|
81274
|
+
unitItemBuilder.prop(x => x.hasAttachment).set(true);
|
|
81275
|
+
if (attachmentForm.path != undefined) {
|
|
81276
|
+
unitItemBuilder.prop(x => x.unitPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_15__.getNewBindingPathExpression)(attachmentForm));
|
|
81277
|
+
}
|
|
81104
81278
|
unitItemBuilder.prop(x => x.evaluatorsContextPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_15__.getNewBindingPathExpression)(formNode));
|
|
81279
|
+
if (attachmentForm.multiple) {
|
|
81280
|
+
const navigationLimit = attachmentForm.navigationLimit != undefined ? attachmentForm.navigationLimit : formNode.navigationLimit != undefined ? formNode.navigationLimit : undefined;
|
|
81281
|
+
if (navigationLimit != undefined) {
|
|
81282
|
+
unitItemBuilder.prop(x => x.navigationLimit).set(navigationLimit);
|
|
81283
|
+
}
|
|
81284
|
+
}
|
|
81285
|
+
if (attachmentForm.pageActions != undefined) {
|
|
81286
|
+
unitItemBuilder.prop(x => x.pageActions).set(attachmentForm.pageActions);
|
|
81287
|
+
}
|
|
81105
81288
|
const compiledCondition = generateKcLangOrJsCondition(attachmentForm);
|
|
81106
81289
|
if (attachmentForm.visible != undefined) {
|
|
81107
81290
|
unitItemBuilder.prop(x => x.visible).set({
|
|
@@ -81207,12 +81390,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
81207
81390
|
/* harmony import */ var _Common_Enums_ButtonSettingsTypeEnum__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../../../../../Common/Enums/ButtonSettingsTypeEnum */ "./Common/Enums/ButtonSettingsTypeEnum.ts");
|
|
81208
81391
|
/* harmony import */ var _ZeroReportOptions_ZeroReportOptionsNode__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../ZeroReportOptions/ZeroReportOptionsNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/ZeroReportOptions/ZeroReportOptionsNode.ts");
|
|
81209
81392
|
/* harmony import */ var _ModalHeader_ModalHeaderNode__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../ModalHeader/ModalHeaderNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/ModalHeader/ModalHeaderNode.ts");
|
|
81210
|
-
/* harmony import */ var
|
|
81211
|
-
/* harmony import */ var
|
|
81393
|
+
/* harmony import */ var _GlobalModal_GlobalModalsNode__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../GlobalModal/GlobalModalsNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/GlobalModal/GlobalModalsNode.ts");
|
|
81394
|
+
/* harmony import */ var _Nodes_PanelNode__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./Nodes/PanelNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/Nodes/PanelNode.ts");
|
|
81395
|
+
/* harmony import */ var _TypeListNode__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./TypeListNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form/TypeListNode.ts");
|
|
81212
81396
|
|
|
81213
81397
|
|
|
81214
81398
|
|
|
81215
|
-
var _dec, _dec2, _class, _class2, _descriptor, _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, _dec31, _dec32, _dec33, _dec34, _dec35, _dec36, _dec37, _dec38, _dec39, _dec40, _dec41, _dec42, _dec43, _dec44, _dec45, _dec46, _dec47, _dec48, _class3, _class4, _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, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _descriptor36, _descriptor37, _descriptor38, _descriptor39, _descriptor40, _descriptor41, _descriptor42, _descriptor43, _descriptor44, _descriptor45, _descriptor46;
|
|
81399
|
+
var _dec, _dec2, _class, _class2, _descriptor, _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, _dec31, _dec32, _dec33, _dec34, _dec35, _dec36, _dec37, _dec38, _dec39, _dec40, _dec41, _dec42, _dec43, _dec44, _dec45, _dec46, _dec47, _dec48, _dec49, _class3, _class4, _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, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _descriptor36, _descriptor37, _descriptor38, _descriptor39, _descriptor40, _descriptor41, _descriptor42, _descriptor43, _descriptor44, _descriptor45, _descriptor46, _descriptor47;
|
|
81400
|
+
|
|
81216
81401
|
|
|
81217
81402
|
|
|
81218
81403
|
|
|
@@ -81238,8 +81423,8 @@ let FetchFunctionsReferenceNode = (_dec = (0,_Serializer_SugarSerializer__WEBPAC
|
|
|
81238
81423
|
writable: true,
|
|
81239
81424
|
initializer: null
|
|
81240
81425
|
}), _class2)) || _class);
|
|
81241
|
-
let FormNode = (_dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.sugarNode)("form", `Корневой элемент формы.`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form sync recursive .md$")), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_4__.DataBindingScopeMixinNode), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("userpicklist", [_UserPicklist_UserPicklistNode__WEBPACK_IMPORTED_MODULE_11__.UserPicklistNode]), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("tour", [_Tour_TourNode__WEBPACK_IMPORTED_MODULE_10__.TourNode]), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("fetchfunctions", [FetchFunctionsReferenceNode]), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("modalIE8", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.Removed), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("m", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("uf", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("forceNavigate", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("hideUnitsAdder", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("hasRegionalForms", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.UntypedUsage), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("controls"), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("modalheader", [_ModalHeader_ModalHeaderNode__WEBPACK_IMPORTED_MODULE_14__.ModalHeaderNode]), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("import", [_SugarNodes_Nodes_ImportNode__WEBPACK_IMPORTED_MODULE_7__.ImportNode]),
|
|
81242
|
-
После проверки фокус падает на невалидное поле, если это возможно. Например на input`),
|
|
81426
|
+
let FormNode = (_dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.sugarNode)("form", `Корневой элемент формы.`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form sync recursive .md$")), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_4__.DataBindingScopeMixinNode), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("userpicklist", [_UserPicklist_UserPicklistNode__WEBPACK_IMPORTED_MODULE_11__.UserPicklistNode]), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("tour", [_Tour_TourNode__WEBPACK_IMPORTED_MODULE_10__.TourNode]), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("fetchfunctions", [FetchFunctionsReferenceNode]), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("modalIE8", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.Removed), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("m", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("uf", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("forceNavigate", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("hideUnitsAdder", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("hasRegionalForms", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.UntypedUsage), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("controls"), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("modalheader", [_ModalHeader_ModalHeaderNode__WEBPACK_IMPORTED_MODULE_14__.ModalHeaderNode]), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("globalmodals", [_GlobalModal_GlobalModalsNode__WEBPACK_IMPORTED_MODULE_15__.GlobalModalsNode]), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("import", [_SugarNodes_Nodes_ImportNode__WEBPACK_IMPORTED_MODULE_7__.ImportNode]), _dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("panel", [_Nodes_PanelNode__WEBPACK_IMPORTED_MODULE_16__.PanelNode]), _dec19 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("zeroreportoptions", [_ZeroReportOptions_ZeroReportOptionsNode__WEBPACK_IMPORTED_MODULE_13__.ZeroReportOptionsNode]), _dec20 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("page", [_Page_PageNode__WEBPACK_IMPORTED_MODULE_8__.PageNode]), _dec21 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("attachmentform", [_AttachmentForm_AttachmentFormNode__WEBPACK_IMPORTED_MODULE_9__.AttachmentFormNode]), _dec22 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("simple", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, ``), _dec23 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("doNotValidateFormOnStart", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Не запускать валидацию формы на старте по умолчанию. Настройка может быть переопределена, при запуске формы startForm`), _dec24 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("schemaValidations", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Валидации из схемы. По умолчанию true. Отключены старым формам `), _dec25 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("isReadOnly", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, "Отобразить форму в режиме чтения - все редактирование будет отключено (включая интерактивные элементы - валидации, фокус, подсветки тултипы и тд)"), _dec26 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("ieDeprecationWarningEnabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, "Отображать окно с предупреждением, что некоторые функции в ie не работают, с предложением скачать другие браузеры. Не блокирует взаимодействие"), _dec27 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("compactActionPanel", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.Removed), _dec28 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("enableCustomizationButton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, "Включить кнопку настройки оформления"), _dec29 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("ieSizeLimitation", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Это флаг включает отображение заглушки для IE, если фуф больше определенного размера`), _dec30 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("templates", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Управляет влючение возможность создавать и применять шаблоны keweb-а (кнопка в меню)`), _dec31 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("plain", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Форма без боковой панели, которая будет содержать один раздел`), _dec32 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("requisite", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Есть подозрение что это свойство не используется`), _dec33 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, ``), _dec34 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("cssWidth", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string, `Более преоритетный чем обычный width, задается как css`), _dec35 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("buttonSettingsType", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.enum(_Common_Enums_ButtonSettingsTypeEnum__WEBPACK_IMPORTED_MODULE_12__.ButtonSettingsTypeEnum.Revise, _Common_Enums_ButtonSettingsTypeEnum__WEBPACK_IMPORTED_MODULE_12__.ButtonSettingsTypeEnum.DigitalWarrant), `Разные настройки кнопок отправить и действий с формой. Сейчас есть только ${_Common_Enums_ButtonSettingsTypeEnum__WEBPACK_IMPORTED_MODULE_12__.ButtonSettingsTypeEnum.Revise} / ${_Common_Enums_ButtonSettingsTypeEnum__WEBPACK_IMPORTED_MODULE_12__.ButtonSettingsTypeEnum.DigitalWarrant} который будет делать кнопки в плашке для simple form как у ИОН или Сверке ФСС`), _dec36 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("isEnableTemplates", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Включить отображение кнопки шаблонов`), _dec37 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("validationBeforeSend", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Локальная проверка, которая не даст отправить форму, если есть невалидные поля.\n
|
|
81427
|
+
После проверки фокус падает на невалидное поле, если это возможно. Например на input`), _dec38 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("padding", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.lengthUnit, ``), _dec39 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("maxunitscount", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, `По дефолту 15. Если количество разделов превышает \`maxunitscount\`, начинает работать частичный рендеринг. Отрисовывается столько разделов вниз от текущего, сколько задано в настройке, а при скроллинге вниз рендерятся следующие. Используется для больших форм с множественными разделами (напр, ЕНВД, Прибыль), помогает облегчить загрузку редактора`), _dec40 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("onExternalInitSection", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.helperFunctionName, `Выполнение хелпер функции при вызове keweb-ого лайтбокса от внешних ребят. Когда редактор открывается из Контур Бухагалтерии или ТО. Чтобы вызвать - надо в query params передать initSectionLightbox="Path" где Path - путь до раздела`), _dec41 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("unitscount", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, ``), _dec42 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("transferText", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.localizedString, `Текст в лайтбоксе, который появляется по кнопке "Перенести данные"`), _dec43 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("navigationLimit", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, `Количество множественных разделов при котором навигация сворачивается (в левой колонке отображаются не все экземпляры), как выглядит можешь посмотреть в ЕНВД при количестве разделов 2 больше 15`), _dec44 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("uploadFufButtonEnabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Включает кнопку загрузить отчет в "Другие действия" в панели слева.`), _dec45 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.markupAttr)("fufSizeTooLargeErrorText", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string, `Описание ошибки для большого размера файла`), _dec46 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("uploadFufLightboxHideDemandNameButton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Отключает кнопку "Показать имя требования" внутри лайтбокса Загрузки файла.`), _dec47 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("defaultUnitsCountForPaging", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, `Количество инстансов множественного раздела на котором включается паджинация раздела`), _dec48 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("type", [_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_3__.TypeNode]), _dec49 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("types", [_TypeListNode__WEBPACK_IMPORTED_MODULE_17__.TypeListNode]), _dec3(_class3 = (_class4 = class FormNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.SugarNodeBase {
|
|
81243
81428
|
constructor(...args) {
|
|
81244
81429
|
super(...args);
|
|
81245
81430
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataScope", _descriptor2, this);
|
|
@@ -81254,39 +81439,40 @@ let FormNode = (_dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_
|
|
|
81254
81439
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "hasRegionalForms", _descriptor11, this);
|
|
81255
81440
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "controls", _descriptor12, this);
|
|
81256
81441
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "modalheader", _descriptor13, this);
|
|
81257
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81258
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81259
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81260
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81261
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81262
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81263
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81264
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81265
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81266
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81267
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81268
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81269
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81270
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81271
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81272
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81273
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81274
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81275
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81276
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81277
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81278
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81279
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81280
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81281
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81282
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81283
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81284
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81285
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81286
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81287
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81288
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81289
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
81442
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "globalmodals", _descriptor14, this);
|
|
81443
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "imports", _descriptor15, this);
|
|
81444
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "panel", _descriptor16, this);
|
|
81445
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "zeroreportoptions", _descriptor17, this);
|
|
81446
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "pages", _descriptor18, this);
|
|
81447
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "attachmentForms", _descriptor19, this);
|
|
81448
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "simple", _descriptor20, this);
|
|
81449
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "doNotValidateFormOnStart", _descriptor21, this);
|
|
81450
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "schemaValidations", _descriptor22, this);
|
|
81451
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "isReadOnly", _descriptor23, this);
|
|
81452
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "ieDeprecationWarningEnabled", _descriptor24, this);
|
|
81453
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "compactActionPanel", _descriptor25, this);
|
|
81454
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "enableCustomizationButton", _descriptor26, this);
|
|
81455
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "ieSizeLimitation", _descriptor27, this);
|
|
81456
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "templates", _descriptor28, this);
|
|
81457
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "plain", _descriptor29, this);
|
|
81458
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "requisite", _descriptor30, this);
|
|
81459
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "width", _descriptor31, this);
|
|
81460
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "cssWidth", _descriptor32, this);
|
|
81461
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "buttonSettingsType", _descriptor33, this);
|
|
81462
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "isEnableTemplates", _descriptor34, this);
|
|
81463
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "validationBeforeSend", _descriptor35, this);
|
|
81464
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "padding", _descriptor36, this);
|
|
81465
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "maxUnitsCount", _descriptor37, this);
|
|
81466
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "onExternalInitSection", _descriptor38, this);
|
|
81467
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "unitsCount", _descriptor39, this);
|
|
81468
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "transferText", _descriptor40, this);
|
|
81469
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "navigationLimit", _descriptor41, this);
|
|
81470
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "uploadFufButtonEnabled", _descriptor42, this);
|
|
81471
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "fufSizeTooLargeErrorText", _descriptor43, this);
|
|
81472
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "uploadFufLightboxHideDemandNameButton", _descriptor44, this);
|
|
81473
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "defaultUnitsCountForPaging", _descriptor45, this);
|
|
81474
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "types", _descriptor46, this);
|
|
81475
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "typeLists", _descriptor47, this);
|
|
81290
81476
|
}
|
|
81291
81477
|
getOwnPath() {
|
|
81292
81478
|
return this.dataScope.getOwnPath();
|
|
@@ -81357,167 +81543,172 @@ let FormNode = (_dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_
|
|
|
81357
81543
|
enumerable: true,
|
|
81358
81544
|
writable: true,
|
|
81359
81545
|
initializer: null
|
|
81360
|
-
}), _descriptor14 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
81546
|
+
}), _descriptor14 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "globalmodals", [_dec16], {
|
|
81361
81547
|
configurable: true,
|
|
81362
81548
|
enumerable: true,
|
|
81363
81549
|
writable: true,
|
|
81364
81550
|
initializer: null
|
|
81365
|
-
}), _descriptor15 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
81551
|
+
}), _descriptor15 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "imports", [_dec17], {
|
|
81366
81552
|
configurable: true,
|
|
81367
81553
|
enumerable: true,
|
|
81368
81554
|
writable: true,
|
|
81369
81555
|
initializer: null
|
|
81370
|
-
}), _descriptor16 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
81556
|
+
}), _descriptor16 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "panel", [_dec18], {
|
|
81371
81557
|
configurable: true,
|
|
81372
81558
|
enumerable: true,
|
|
81373
81559
|
writable: true,
|
|
81374
81560
|
initializer: null
|
|
81375
|
-
}), _descriptor17 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
81561
|
+
}), _descriptor17 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "zeroreportoptions", [_dec19], {
|
|
81376
81562
|
configurable: true,
|
|
81377
81563
|
enumerable: true,
|
|
81378
81564
|
writable: true,
|
|
81379
81565
|
initializer: null
|
|
81380
|
-
}), _descriptor18 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
81566
|
+
}), _descriptor18 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "pages", [_dec20], {
|
|
81381
81567
|
configurable: true,
|
|
81382
81568
|
enumerable: true,
|
|
81383
81569
|
writable: true,
|
|
81384
81570
|
initializer: null
|
|
81385
|
-
}), _descriptor19 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
81571
|
+
}), _descriptor19 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "attachmentForms", [_dec21], {
|
|
81386
81572
|
configurable: true,
|
|
81387
81573
|
enumerable: true,
|
|
81388
81574
|
writable: true,
|
|
81389
81575
|
initializer: null
|
|
81390
|
-
}), _descriptor20 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
81576
|
+
}), _descriptor20 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "simple", [_dec22], {
|
|
81391
81577
|
configurable: true,
|
|
81392
81578
|
enumerable: true,
|
|
81393
81579
|
writable: true,
|
|
81394
81580
|
initializer: null
|
|
81395
|
-
}), _descriptor21 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
81581
|
+
}), _descriptor21 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "doNotValidateFormOnStart", [_dec23], {
|
|
81396
81582
|
configurable: true,
|
|
81397
81583
|
enumerable: true,
|
|
81398
81584
|
writable: true,
|
|
81399
81585
|
initializer: null
|
|
81400
|
-
}), _descriptor22 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
81586
|
+
}), _descriptor22 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "schemaValidations", [_dec24], {
|
|
81401
81587
|
configurable: true,
|
|
81402
81588
|
enumerable: true,
|
|
81403
81589
|
writable: true,
|
|
81404
81590
|
initializer: null
|
|
81405
|
-
}), _descriptor23 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
81591
|
+
}), _descriptor23 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "isReadOnly", [_dec25], {
|
|
81406
81592
|
configurable: true,
|
|
81407
81593
|
enumerable: true,
|
|
81408
81594
|
writable: true,
|
|
81409
81595
|
initializer: null
|
|
81410
|
-
}), _descriptor24 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
81596
|
+
}), _descriptor24 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "ieDeprecationWarningEnabled", [_dec26], {
|
|
81411
81597
|
configurable: true,
|
|
81412
81598
|
enumerable: true,
|
|
81413
81599
|
writable: true,
|
|
81414
81600
|
initializer: null
|
|
81415
|
-
}), _descriptor25 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
81601
|
+
}), _descriptor25 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "compactActionPanel", [_dec27], {
|
|
81416
81602
|
configurable: true,
|
|
81417
81603
|
enumerable: true,
|
|
81418
81604
|
writable: true,
|
|
81419
81605
|
initializer: null
|
|
81420
|
-
}), _descriptor26 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
81606
|
+
}), _descriptor26 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "enableCustomizationButton", [_dec28], {
|
|
81421
81607
|
configurable: true,
|
|
81422
81608
|
enumerable: true,
|
|
81423
81609
|
writable: true,
|
|
81424
81610
|
initializer: null
|
|
81425
|
-
}), _descriptor27 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
81611
|
+
}), _descriptor27 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "ieSizeLimitation", [_dec29], {
|
|
81426
81612
|
configurable: true,
|
|
81427
81613
|
enumerable: true,
|
|
81428
81614
|
writable: true,
|
|
81429
81615
|
initializer: null
|
|
81430
|
-
}), _descriptor28 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
81616
|
+
}), _descriptor28 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "templates", [_dec30], {
|
|
81431
81617
|
configurable: true,
|
|
81432
81618
|
enumerable: true,
|
|
81433
81619
|
writable: true,
|
|
81434
81620
|
initializer: null
|
|
81435
|
-
}), _descriptor29 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
81621
|
+
}), _descriptor29 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "plain", [_dec31], {
|
|
81436
81622
|
configurable: true,
|
|
81437
81623
|
enumerable: true,
|
|
81438
81624
|
writable: true,
|
|
81439
81625
|
initializer: null
|
|
81440
|
-
}), _descriptor30 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "
|
|
81626
|
+
}), _descriptor30 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "requisite", [_dec32], {
|
|
81627
|
+
configurable: true,
|
|
81628
|
+
enumerable: true,
|
|
81629
|
+
writable: true,
|
|
81630
|
+
initializer: null
|
|
81631
|
+
}), _descriptor31 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "width", [_dec33], {
|
|
81441
81632
|
configurable: true,
|
|
81442
81633
|
enumerable: true,
|
|
81443
81634
|
writable: true,
|
|
81444
81635
|
initializer: null
|
|
81445
|
-
}),
|
|
81636
|
+
}), _descriptor32 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "cssWidth", [_dec34], {
|
|
81446
81637
|
configurable: true,
|
|
81447
81638
|
enumerable: true,
|
|
81448
81639
|
writable: true,
|
|
81449
81640
|
initializer: null
|
|
81450
|
-
}),
|
|
81641
|
+
}), _descriptor33 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "buttonSettingsType", [_dec35], {
|
|
81451
81642
|
configurable: true,
|
|
81452
81643
|
enumerable: true,
|
|
81453
81644
|
writable: true,
|
|
81454
81645
|
initializer: null
|
|
81455
|
-
}),
|
|
81646
|
+
}), _descriptor34 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "isEnableTemplates", [_dec36], {
|
|
81456
81647
|
configurable: true,
|
|
81457
81648
|
enumerable: true,
|
|
81458
81649
|
writable: true,
|
|
81459
81650
|
initializer: null
|
|
81460
|
-
}),
|
|
81651
|
+
}), _descriptor35 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "validationBeforeSend", [_dec37], {
|
|
81461
81652
|
configurable: true,
|
|
81462
81653
|
enumerable: true,
|
|
81463
81654
|
writable: true,
|
|
81464
81655
|
initializer: null
|
|
81465
|
-
}),
|
|
81656
|
+
}), _descriptor36 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "padding", [_dec38], {
|
|
81466
81657
|
configurable: true,
|
|
81467
81658
|
enumerable: true,
|
|
81468
81659
|
writable: true,
|
|
81469
81660
|
initializer: null
|
|
81470
|
-
}),
|
|
81661
|
+
}), _descriptor37 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "maxUnitsCount", [_dec39], {
|
|
81471
81662
|
configurable: true,
|
|
81472
81663
|
enumerable: true,
|
|
81473
81664
|
writable: true,
|
|
81474
81665
|
initializer: null
|
|
81475
|
-
}),
|
|
81666
|
+
}), _descriptor38 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "onExternalInitSection", [_dec40], {
|
|
81476
81667
|
configurable: true,
|
|
81477
81668
|
enumerable: true,
|
|
81478
81669
|
writable: true,
|
|
81479
81670
|
initializer: null
|
|
81480
|
-
}),
|
|
81671
|
+
}), _descriptor39 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "unitsCount", [_dec41], {
|
|
81481
81672
|
configurable: true,
|
|
81482
81673
|
enumerable: true,
|
|
81483
81674
|
writable: true,
|
|
81484
81675
|
initializer: null
|
|
81485
|
-
}),
|
|
81676
|
+
}), _descriptor40 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "transferText", [_dec42], {
|
|
81486
81677
|
configurable: true,
|
|
81487
81678
|
enumerable: true,
|
|
81488
81679
|
writable: true,
|
|
81489
81680
|
initializer: null
|
|
81490
|
-
}),
|
|
81681
|
+
}), _descriptor41 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "navigationLimit", [_dec43], {
|
|
81491
81682
|
configurable: true,
|
|
81492
81683
|
enumerable: true,
|
|
81493
81684
|
writable: true,
|
|
81494
81685
|
initializer: null
|
|
81495
|
-
}),
|
|
81686
|
+
}), _descriptor42 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "uploadFufButtonEnabled", [_dec44], {
|
|
81496
81687
|
configurable: true,
|
|
81497
81688
|
enumerable: true,
|
|
81498
81689
|
writable: true,
|
|
81499
81690
|
initializer: null
|
|
81500
|
-
}),
|
|
81691
|
+
}), _descriptor43 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "fufSizeTooLargeErrorText", [_dec45], {
|
|
81501
81692
|
configurable: true,
|
|
81502
81693
|
enumerable: true,
|
|
81503
81694
|
writable: true,
|
|
81504
81695
|
initializer: null
|
|
81505
|
-
}),
|
|
81696
|
+
}), _descriptor44 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "uploadFufLightboxHideDemandNameButton", [_dec46], {
|
|
81506
81697
|
configurable: true,
|
|
81507
81698
|
enumerable: true,
|
|
81508
81699
|
writable: true,
|
|
81509
81700
|
initializer: null
|
|
81510
|
-
}),
|
|
81701
|
+
}), _descriptor45 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "defaultUnitsCountForPaging", [_dec47], {
|
|
81511
81702
|
configurable: true,
|
|
81512
81703
|
enumerable: true,
|
|
81513
81704
|
writable: true,
|
|
81514
81705
|
initializer: null
|
|
81515
|
-
}),
|
|
81706
|
+
}), _descriptor46 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "types", [_dec48], {
|
|
81516
81707
|
configurable: true,
|
|
81517
81708
|
enumerable: true,
|
|
81518
81709
|
writable: true,
|
|
81519
81710
|
initializer: null
|
|
81520
|
-
}),
|
|
81711
|
+
}), _descriptor47 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class4.prototype, "typeLists", [_dec49], {
|
|
81521
81712
|
configurable: true,
|
|
81522
81713
|
enumerable: true,
|
|
81523
81714
|
writable: true,
|
|
@@ -81684,6 +81875,88 @@ let TypeListNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODU
|
|
|
81684
81875
|
|
|
81685
81876
|
/***/ }),
|
|
81686
81877
|
|
|
81878
|
+
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/GlobalModal/GlobalModalsConverter.ts":
|
|
81879
|
+
/*!*******************************************************************************************************************!*\
|
|
81880
|
+
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/GlobalModal/GlobalModalsConverter.ts ***!
|
|
81881
|
+
\*******************************************************************************************************************/
|
|
81882
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
81883
|
+
|
|
81884
|
+
"use strict";
|
|
81885
|
+
__webpack_require__.r(__webpack_exports__);
|
|
81886
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
81887
|
+
/* harmony export */ GlobalModalsConverter: () => (/* binding */ GlobalModalsConverter)
|
|
81888
|
+
/* harmony export */ });
|
|
81889
|
+
/* harmony import */ var _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../DataDeclarationGenerator/DataDeclarationGenerationContext */ "./Generator/src/generators/DataDeclarationGenerator/DataDeclarationGenerationContext.ts");
|
|
81890
|
+
/* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
|
|
81891
|
+
/* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
|
|
81892
|
+
/* harmony import */ var _GlobalModalsNode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./GlobalModalsNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/GlobalModal/GlobalModalsNode.ts");
|
|
81893
|
+
|
|
81894
|
+
|
|
81895
|
+
|
|
81896
|
+
|
|
81897
|
+
class GlobalModalsConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.SugarNodeConverterBase {
|
|
81898
|
+
static getAcceptNodeClass() {
|
|
81899
|
+
return _GlobalModalsNode__WEBPACK_IMPORTED_MODULE_3__.GlobalModalsNode;
|
|
81900
|
+
}
|
|
81901
|
+
doBuildDataDeclaration(context) {
|
|
81902
|
+
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
81903
|
+
}
|
|
81904
|
+
buildChildrenDataDeclaration(context) {
|
|
81905
|
+
return _DataDeclarationGenerator_DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_0__.emptyDataDeclarationCollection;
|
|
81906
|
+
}
|
|
81907
|
+
*doTraverseChildren() {
|
|
81908
|
+
const node = this.getCurrentNodeAs(_GlobalModalsNode__WEBPACK_IMPORTED_MODULE_3__.GlobalModalsNode);
|
|
81909
|
+
if (node.children) {
|
|
81910
|
+
yield* node.children;
|
|
81911
|
+
}
|
|
81912
|
+
}
|
|
81913
|
+
doConvert(context) {
|
|
81914
|
+
const node = this.getCurrentNodeAs(_GlobalModalsNode__WEBPACK_IMPORTED_MODULE_3__.GlobalModalsNode);
|
|
81915
|
+
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("GlobalModals");
|
|
81916
|
+
markupBuilder.appendChild(context.convertChildNodes(node.children));
|
|
81917
|
+
return markupBuilder.buildConverterResult();
|
|
81918
|
+
}
|
|
81919
|
+
}
|
|
81920
|
+
|
|
81921
|
+
/***/ }),
|
|
81922
|
+
|
|
81923
|
+
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/GlobalModal/GlobalModalsNode.ts":
|
|
81924
|
+
/*!**************************************************************************************************************!*\
|
|
81925
|
+
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/GlobalModal/GlobalModalsNode.ts ***!
|
|
81926
|
+
\**************************************************************************************************************/
|
|
81927
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
81928
|
+
|
|
81929
|
+
"use strict";
|
|
81930
|
+
__webpack_require__.r(__webpack_exports__);
|
|
81931
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
81932
|
+
/* harmony export */ GlobalModalsNode: () => (/* binding */ GlobalModalsNode)
|
|
81933
|
+
/* harmony export */ });
|
|
81934
|
+
/* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/initializerDefineProperty */ "./node_modules/@babel/runtime/helpers/initializerDefineProperty.js");
|
|
81935
|
+
/* harmony import */ var _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0__);
|
|
81936
|
+
/* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/applyDecoratedDescriptor */ "./node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js");
|
|
81937
|
+
/* harmony import */ var _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1__);
|
|
81938
|
+
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/initializerWarningHelper */ "./node_modules/@babel/runtime/helpers/initializerWarningHelper.js");
|
|
81939
|
+
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
|
|
81940
|
+
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
81941
|
+
|
|
81942
|
+
|
|
81943
|
+
|
|
81944
|
+
var _dec, _dec2, _class, _class2, _descriptor;
|
|
81945
|
+
|
|
81946
|
+
let GlobalModalsNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("globalmodals", `Контейнер для модалок, которые могут вызываться из любого компонента в форме`), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)(), _dec(_class = (_class2 = class GlobalModalsNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
81947
|
+
constructor(...args) {
|
|
81948
|
+
super(...args);
|
|
81949
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor, this);
|
|
81950
|
+
}
|
|
81951
|
+
}, _descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec2], {
|
|
81952
|
+
configurable: true,
|
|
81953
|
+
enumerable: true,
|
|
81954
|
+
writable: true,
|
|
81955
|
+
initializer: null
|
|
81956
|
+
}), _class2)) || _class);
|
|
81957
|
+
|
|
81958
|
+
/***/ }),
|
|
81959
|
+
|
|
81687
81960
|
/***/ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Header/HeaderConverter.ts":
|
|
81688
81961
|
/*!********************************************************************************************************!*\
|
|
81689
81962
|
!*** ./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Header/HeaderConverter.ts ***!
|
|
@@ -94890,7 +95163,7 @@ let FiasValueSources = (_dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED
|
|
|
94890
95163
|
writable: true,
|
|
94891
95164
|
initializer: null
|
|
94892
95165
|
}), _class4)) || _class3);
|
|
94893
|
-
let FiasExtendedField = (_dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("fiasfield", "Описание дополнительных полей для фиаса"), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString.required, `По этому пути в иннер будет сетится полученное значение`), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("type", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("string", "guid", "kladr", "index"), `Тип для поля, string - строка значение из ответа фиаса, guid, kladr - уникальный адресный идентификатор`), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("description", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString.required, `Описание поля - будет выводиться на полях "Заполнить вручную"`), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("display", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Будет ли пользователю выводиться эта строчка при просмотре адреса`), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("setToModel", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Будет ли это поле сетиться в иннер. По умолчанию: true"`), _dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("showInModal", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Будет ли значение показываться в модальном окне ручного ввода. По умолчанию: true`), _dec19 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Опциональность элемента, работает для индекса в ФСС`), _dec20 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("prefix", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString, `Префикс для значения из иннера. Если значение есть - применяется префикс`), _dec21 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.singleChild)("valuesources", [FiasValueSources]), _dec22 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("parentGuid", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("region", "district", "city", "street", "garhouse", "room"), `Выгрузка родительского элемента GUID-a, применимо только к полям c type: guid`), _dec23 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("convertToShow", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum(_Engine_src_Controls_ValueEditors_Fias_FiasInput_Utils_Convertations_Types__WEBPACK_IMPORTED_MODULE_6__.fiasConvertationToShowMethods.getMunicipalDistrictTypeShortName, _Engine_src_Controls_ValueEditors_Fias_FiasInput_Utils_Convertations_Types__WEBPACK_IMPORTED_MODULE_6__.fiasConvertationToShowMethods.getUrbanSettlementTypeShortName, _Engine_src_Controls_ValueEditors_Fias_FiasInput_Utils_Convertations_Types__WEBPACK_IMPORTED_MODULE_6__.fiasConvertationToShowMethods.getRegionNameByCode), `Метода для конвертации
|
|
95166
|
+
let FiasExtendedField = (_dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("fiasfield", "Описание дополнительных полей для фиаса"), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString.required, `По этому пути в иннер будет сетится полученное значение`), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("type", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("string", "guid", "kladr", "index"), `Тип для поля, string - строка значение из ответа фиаса, guid, kladr - уникальный адресный идентификатор`), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("description", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString.required, `Описание поля - будет выводиться на полях "Заполнить вручную"`), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("display", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Будет ли пользователю выводиться эта строчка при просмотре адреса`), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("setToModel", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Будет ли это поле сетиться в иннер. По умолчанию: true"`), _dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("showInModal", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Будет ли значение показываться в модальном окне ручного ввода. По умолчанию: true`), _dec19 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Опциональность элемента, работает для индекса в ФСС`), _dec20 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("prefix", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString, `Префикс для значения из иннера. Если значение есть - применяется префикс`), _dec21 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.singleChild)("valuesources", [FiasValueSources]), _dec22 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("parentGuid", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum("region", "district", "city", "street", "garhouse", "room"), `Выгрузка родительского элемента GUID-a, применимо только к полям c type: guid`), _dec23 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("convertToShow", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.enum(_Engine_src_Controls_ValueEditors_Fias_FiasInput_Utils_Convertations_Types__WEBPACK_IMPORTED_MODULE_6__.fiasConvertationToShowMethods.getMunicipalDistrictTypeShortName, _Engine_src_Controls_ValueEditors_Fias_FiasInput_Utils_Convertations_Types__WEBPACK_IMPORTED_MODULE_6__.fiasConvertationToShowMethods.getUrbanSettlementTypeShortName, _Engine_src_Controls_ValueEditors_Fias_FiasInput_Utils_Convertations_Types__WEBPACK_IMPORTED_MODULE_6__.fiasConvertationToShowMethods.getRegionNameByCode), `Метода для конвертации данных из модели для отображения пользователю`), _dec24 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("child", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, `Является ли данный path - частью children`), _dec25 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("clearSubstring", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString, "Подстрока, которую нужно удалить перед показом пользователю"), _dec12(_class5 = (_class6 = class FiasExtendedField extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.SugarNodeBase {
|
|
94894
95167
|
constructor(...args) {
|
|
94895
95168
|
super(...args);
|
|
94896
95169
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "path", _descriptor10, this);
|
|
@@ -94973,7 +95246,7 @@ let FiasExtendedField = (_dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORT
|
|
|
94973
95246
|
writable: true,
|
|
94974
95247
|
initializer: null
|
|
94975
95248
|
}), _class6)) || _class5);
|
|
94976
|
-
let FiasChildren = (_dec26 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("childrenoptions", `Описание наполнения множественных полей по фиасу. Обязательно для адекватного засечивания множественности в фуф`), _dec27 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.
|
|
95249
|
+
let FiasChildren = (_dec26 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("childrenoptions", `Описание наполнения множественных полей по фиасу. Обязательно для адекватного засечивания множественности в фуф`), _dec27 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.deprecatedAttr)("childrenInStack", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.Removed), _dec28 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString, "По какому пути будут засечены children-ы"), _dec26(_class7 = (_class8 = class FiasChildren extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.SugarNodeBase {
|
|
94977
95250
|
constructor(...args) {
|
|
94978
95251
|
super(...args);
|
|
94979
95252
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "childrenInStack", _descriptor23, this);
|