@kontur.candy/generator 4.249.0 → 4.250.0-cc-widget-update.3
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 +126 -63
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -34487,7 +34487,7 @@ function highlight(code, options = {}) {
|
|
|
34487
34487
|
|
|
34488
34488
|
"use strict";
|
|
34489
34489
|
|
|
34490
|
-
const escapeStringRegexp = __webpack_require__(/*! escape-string-regexp */ "./node_modules/escape-string-regexp/index.js");
|
|
34490
|
+
const escapeStringRegexp = __webpack_require__(/*! escape-string-regexp */ "./node_modules/@babel/highlight/node_modules/escape-string-regexp/index.js");
|
|
34491
34491
|
const ansiStyles = __webpack_require__(/*! ansi-styles */ "./node_modules/ansi-styles/index.js");
|
|
34492
34492
|
const stdoutColor = (__webpack_require__(/*! supports-color */ "./node_modules/@babel/highlight/node_modules/supports-color/index.js").stdout);
|
|
34493
34493
|
|
|
@@ -34855,6 +34855,28 @@ module.exports = (chalk, tmp) => {
|
|
|
34855
34855
|
};
|
|
34856
34856
|
|
|
34857
34857
|
|
|
34858
|
+
/***/ }),
|
|
34859
|
+
|
|
34860
|
+
/***/ "./node_modules/@babel/highlight/node_modules/escape-string-regexp/index.js":
|
|
34861
|
+
/*!**********************************************************************************!*\
|
|
34862
|
+
!*** ./node_modules/@babel/highlight/node_modules/escape-string-regexp/index.js ***!
|
|
34863
|
+
\**********************************************************************************/
|
|
34864
|
+
/***/ ((module) => {
|
|
34865
|
+
|
|
34866
|
+
"use strict";
|
|
34867
|
+
|
|
34868
|
+
|
|
34869
|
+
var matchOperatorsRe = /[|\\{}()[\]^$+*?.]/g;
|
|
34870
|
+
|
|
34871
|
+
module.exports = function (str) {
|
|
34872
|
+
if (typeof str !== 'string') {
|
|
34873
|
+
throw new TypeError('Expected a string');
|
|
34874
|
+
}
|
|
34875
|
+
|
|
34876
|
+
return str.replace(matchOperatorsRe, '\\$&');
|
|
34877
|
+
};
|
|
34878
|
+
|
|
34879
|
+
|
|
34858
34880
|
/***/ }),
|
|
34859
34881
|
|
|
34860
34882
|
/***/ "./node_modules/@babel/highlight/node_modules/has-flag/index.js":
|
|
@@ -113468,6 +113490,7 @@ function assertIs(value) {// noop
|
|
|
113468
113490
|
"use strict";
|
|
113469
113491
|
__webpack_require__.r(__webpack_exports__);
|
|
113470
113492
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
113493
|
+
/* harmony export */ "unitWithoutInstance": () => (/* binding */ unitWithoutInstance),
|
|
113471
113494
|
/* harmony export */ "isUnitIdEquals": () => (/* binding */ isUnitIdEquals),
|
|
113472
113495
|
/* harmony export */ "sectionNameToUnitId": () => (/* binding */ sectionNameToUnitId),
|
|
113473
113496
|
/* harmony export */ "unitIdToLegacyUnitId": () => (/* binding */ unitIdToLegacyUnitId),
|
|
@@ -113477,8 +113500,19 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
113477
113500
|
/* harmony import */ var fbjs_lib_areEqual__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! fbjs/lib/areEqual */ "./node_modules/fbjs/lib/areEqual.js");
|
|
113478
113501
|
/* harmony import */ var fbjs_lib_areEqual__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(fbjs_lib_areEqual__WEBPACK_IMPORTED_MODULE_0__);
|
|
113479
113502
|
/* harmony import */ var _Common_TypingUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../Common/TypingUtils */ "./Common/TypingUtils.ts");
|
|
113503
|
+
/* harmony import */ var _Common_IterableUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../Common/IterableUtils */ "./Common/IterableUtils.ts");
|
|
113504
|
+
|
|
113480
113505
|
|
|
113481
113506
|
|
|
113507
|
+
function unitWithoutInstance(unitId) {
|
|
113508
|
+
if (unitId.instance == undefined) {
|
|
113509
|
+
return unitId;
|
|
113510
|
+
}
|
|
113511
|
+
|
|
113512
|
+
return { ...unitId,
|
|
113513
|
+
instance: undefined
|
|
113514
|
+
};
|
|
113515
|
+
}
|
|
113482
113516
|
function isUnitIdEquals(left, right) {
|
|
113483
113517
|
var _left$instance, _right$instance, _left$parentInstances, _right$parentInstance;
|
|
113484
113518
|
|
|
@@ -113493,11 +113527,28 @@ function isUnitIdEquals(left, right) {
|
|
|
113493
113527
|
return left.pageId === right.pageId && ((_left$instance = left.instance) !== null && _left$instance !== void 0 ? _left$instance : undefined) === ((_right$instance = right.instance) !== null && _right$instance !== void 0 ? _right$instance : undefined) && fbjs_lib_areEqual__WEBPACK_IMPORTED_MODULE_0___default()((_left$parentInstances = left.parentInstances) !== null && _left$parentInstances !== void 0 ? _left$parentInstances : [], (_right$parentInstance = right.parentInstances) !== null && _right$parentInstance !== void 0 ? _right$parentInstance : []);
|
|
113494
113528
|
}
|
|
113495
113529
|
function sectionNameToUnitId(sectionName) {
|
|
113496
|
-
const [id,
|
|
113497
|
-
|
|
113498
|
-
|
|
113499
|
-
|
|
113500
|
-
|
|
113530
|
+
const [id, ...instances] = sectionName.split("-");
|
|
113531
|
+
|
|
113532
|
+
if (instances.length === 0) {
|
|
113533
|
+
return {
|
|
113534
|
+
pageId: id !== null && id !== void 0 ? id : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_1__.reject)()
|
|
113535
|
+
};
|
|
113536
|
+
} else if (instances.length === 1) {
|
|
113537
|
+
var _instances$;
|
|
113538
|
+
|
|
113539
|
+
return {
|
|
113540
|
+
pageId: id !== null && id !== void 0 ? id : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_1__.reject)(),
|
|
113541
|
+
instance: (_instances$ = instances[0]) !== null && _instances$ !== void 0 ? _instances$ : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_1__.reject)()
|
|
113542
|
+
};
|
|
113543
|
+
} else {
|
|
113544
|
+
var _IterUtils$last;
|
|
113545
|
+
|
|
113546
|
+
return {
|
|
113547
|
+
pageId: id !== null && id !== void 0 ? id : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_1__.reject)(),
|
|
113548
|
+
parentInstances: instances.slice(0, -1),
|
|
113549
|
+
instance: (_IterUtils$last = _Common_IterableUtils__WEBPACK_IMPORTED_MODULE_2__.IterUtils.last(instances)) !== null && _IterUtils$last !== void 0 ? _IterUtils$last : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_1__.reject)()
|
|
113550
|
+
};
|
|
113551
|
+
}
|
|
113501
113552
|
}
|
|
113502
113553
|
function unitIdToLegacyUnitId(unitId) {
|
|
113503
113554
|
if (unitId == undefined) {
|
|
@@ -121302,7 +121353,7 @@ class FormSchemaRngTypeInfo {
|
|
|
121302
121353
|
const builder = (0,_CodeGeneration_ClassInstanceBuilder__WEBPACK_IMPORTED_MODULE_3__.instanceBuilder)("Validators.EnumerationValueValidator");
|
|
121303
121354
|
builder.set(0, this.enumeration);
|
|
121304
121355
|
builder.set(1, "error");
|
|
121305
|
-
builder.set(2, description
|
|
121356
|
+
builder.set(2, description);
|
|
121306
121357
|
yield builder;
|
|
121307
121358
|
}
|
|
121308
121359
|
|
|
@@ -127319,6 +127370,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
127319
127370
|
/* harmony import */ var _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../Common/ModelPath/ModelPath */ "./Common/ModelPath/ModelPath.ts");
|
|
127320
127371
|
/* harmony import */ var _markupGenerator_getBindingPath__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../markupGenerator/getBindingPath */ "./Generator/src/generators/markupGenerator/getBindingPath.ts");
|
|
127321
127372
|
/* harmony import */ var _markupGenerator_ElementProcessors_FormParts_Page_PageNode__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../markupGenerator/ElementProcessors/FormParts/Page/PageNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Page/PageNode.ts");
|
|
127373
|
+
/* harmony import */ var _common_SchemaRng_FormSchemaRng__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../common/SchemaRng/FormSchemaRng */ "./Generator/src/common/SchemaRng/FormSchemaRng.ts");
|
|
127374
|
+
|
|
127322
127375
|
|
|
127323
127376
|
|
|
127324
127377
|
|
|
@@ -127338,8 +127391,10 @@ var RequisiteSectionMode;
|
|
|
127338
127391
|
|
|
127339
127392
|
const emptyDataDeclarationCollection = {};
|
|
127340
127393
|
class DataDeclarationGenerationContext {
|
|
127341
|
-
constructor(initSequenceFactory, controlCustomizationContext, typesRegistry) {
|
|
127394
|
+
constructor(initSequenceFactory, controlCustomizationContext, typesRegistry, formSchemaRng, schemeValidations) {
|
|
127342
127395
|
this.initSequenceFactory = void 0;
|
|
127396
|
+
this.formSchemaRng = void 0;
|
|
127397
|
+
this.schemeValidations = void 0;
|
|
127343
127398
|
this.controlCustomizationContext = void 0;
|
|
127344
127399
|
this.typesRegistry = void 0;
|
|
127345
127400
|
|
|
@@ -127369,11 +127424,29 @@ class DataDeclarationGenerationContext {
|
|
|
127369
127424
|
return undefined;
|
|
127370
127425
|
};
|
|
127371
127426
|
|
|
127427
|
+
this.formSchemaRng = formSchemaRng;
|
|
127428
|
+
this.schemeValidations = schemeValidations;
|
|
127372
127429
|
this.initSequenceFactory = initSequenceFactory;
|
|
127373
127430
|
this.controlCustomizationContext = controlCustomizationContext;
|
|
127374
127431
|
this.typesRegistry = typesRegistry;
|
|
127375
127432
|
}
|
|
127376
127433
|
|
|
127434
|
+
isMultipleNodeOptionalFromScheme(path) {
|
|
127435
|
+
if (!this.schemeValidations) {
|
|
127436
|
+
return undefined;
|
|
127437
|
+
}
|
|
127438
|
+
|
|
127439
|
+
const schemaNode = this.formSchemaRng.getElementByPath(path);
|
|
127440
|
+
|
|
127441
|
+
if (schemaNode instanceof _common_SchemaRng_FormSchemaRng__WEBPACK_IMPORTED_MODULE_9__.FormSchemaRngElement) {
|
|
127442
|
+
var _schemaNode$isOptiona;
|
|
127443
|
+
|
|
127444
|
+
return (_schemaNode$isOptiona = schemaNode.isOptionalOrNillable()) !== null && _schemaNode$isOptiona !== void 0 ? _schemaNode$isOptiona : false;
|
|
127445
|
+
}
|
|
127446
|
+
|
|
127447
|
+
return undefined;
|
|
127448
|
+
}
|
|
127449
|
+
|
|
127377
127450
|
getTypeNode(node) {
|
|
127378
127451
|
if (node.anonymousType != undefined) {
|
|
127379
127452
|
return node.anonymousType;
|
|
@@ -127682,11 +127755,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
127682
127755
|
|
|
127683
127756
|
|
|
127684
127757
|
class DataDeclarationGenerator {
|
|
127685
|
-
constructor(sugarRoot, initSequenceFactory, controlCustomizationContext, typesRegistry) {
|
|
127758
|
+
constructor(sugarRoot, initSequenceFactory, controlCustomizationContext, typesRegistry, formSchemaRng, schemeValidations) {
|
|
127686
127759
|
this.sugarRoot = void 0;
|
|
127687
127760
|
this.initSequenceFactory = void 0;
|
|
127761
|
+
this.formSchemaRng = void 0;
|
|
127762
|
+
this.schemeValidations = void 0;
|
|
127688
127763
|
this.controlCustomizationContext = void 0;
|
|
127689
127764
|
this.typesRegistry = void 0;
|
|
127765
|
+
this.formSchemaRng = formSchemaRng;
|
|
127766
|
+
this.schemeValidations = schemeValidations;
|
|
127690
127767
|
this.sugarRoot = sugarRoot;
|
|
127691
127768
|
this.initSequenceFactory = initSequenceFactory;
|
|
127692
127769
|
this.controlCustomizationContext = controlCustomizationContext;
|
|
@@ -127698,7 +127775,7 @@ class DataDeclarationGenerator {
|
|
|
127698
127775
|
|
|
127699
127776
|
const converterClass = (_getConverterByNodeCl = (0,_markupGenerator_AllConverters__WEBPACK_IMPORTED_MODULE_4__.getConverterByNodeClass)((0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.getNodeClass)(this.sugarRoot))) !== null && _getConverterByNodeCl !== void 0 ? _getConverterByNodeCl : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_5__.reject)();
|
|
127700
127777
|
const converter = new converterClass(this.sugarRoot);
|
|
127701
|
-
const context = new _DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_7__.DataDeclarationGenerationContext(this.initSequenceFactory, this.controlCustomizationContext, this.typesRegistry);
|
|
127778
|
+
const context = new _DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_7__.DataDeclarationGenerationContext(this.initSequenceFactory, this.controlCustomizationContext, this.typesRegistry, this.formSchemaRng, this.schemeValidations);
|
|
127702
127779
|
const dataDeclaration = converter.buildDataDeclaration(context);
|
|
127703
127780
|
const orderedDataDeclaration = this.sortDataDeclarationKeys(dataDeclaration);
|
|
127704
127781
|
const result = this.replaceHolder(`
|
|
@@ -127732,7 +127809,7 @@ class DataDeclarationGenerator {
|
|
|
127732
127809
|
|
|
127733
127810
|
const converterClass = (_getConverterByNodeCl2 = (0,_markupGenerator_AllConverters__WEBPACK_IMPORTED_MODULE_4__.getConverterByNodeClass)((0,_markupGenerator_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.getNodeClass)(this.sugarRoot))) !== null && _getConverterByNodeCl2 !== void 0 ? _getConverterByNodeCl2 : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_5__.reject)();
|
|
127734
127811
|
const converter = new converterClass(this.sugarRoot);
|
|
127735
|
-
const context = new _DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_7__.DataDeclarationGenerationContext(this.initSequenceFactory, this.controlCustomizationContext, this.typesRegistry);
|
|
127812
|
+
const context = new _DataDeclarationGenerationContext__WEBPACK_IMPORTED_MODULE_7__.DataDeclarationGenerationContext(this.initSequenceFactory, this.controlCustomizationContext, this.typesRegistry, this.formSchemaRng, this.schemeValidations);
|
|
127736
127813
|
const dataDeclaration = converter.buildDataDeclaration(context);
|
|
127737
127814
|
const orderedDataDeclaration = this.sortDataDeclarationKeys(dataDeclaration);
|
|
127738
127815
|
return `
|
|
@@ -128856,7 +128933,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
128856
128933
|
|
|
128857
128934
|
function processSugar(formSugarContent, additionalContent, generationOptions) {
|
|
128858
128935
|
try {
|
|
128859
|
-
var _generationOptions$in, _generationOptions$in2, _sugarRoot$schemaVali, _sugarRoot$schemaVali2, _generationOptions$re, _sugarRoot$
|
|
128936
|
+
var _generationOptions$in, _generationOptions$in2, _sugarRoot$schemaVali, _sugarRoot$schemaVali2, _sugarRoot$schemaVali3, _generationOptions$re, _sugarRoot$schemaVali4, _additionalContent$fo, _additionalContent$fo2;
|
|
128860
128937
|
|
|
128861
128938
|
const sugarAst = (0,_common_SugarXmlParser_SugarParser__WEBPACK_IMPORTED_MODULE_4__.parseSugar)(formSugarContent, additionalContent.preprocessor || {});
|
|
128862
128939
|
const serializer = (0,_markupGenerator_SugarNodes_DefaultSugarSerializer__WEBPACK_IMPORTED_MODULE_12__.createDefaultSugarSerializer)();
|
|
@@ -128871,17 +128948,17 @@ function processSugar(formSugarContent, additionalContent, generationOptions) {
|
|
|
128871
128948
|
const fetchFunctions = new _common_FetchFunctions__WEBPACK_IMPORTED_MODULE_2__.FetchFunctions(referencedFetchFunctions); // tslint:disable-next-line no-unsafe-any
|
|
128872
128949
|
|
|
128873
128950
|
const additionalSettings = typeof additionalContent.additionalSettings === "string" ? JSON.parse(additionalContent.additionalSettings || "{}") : additionalContent.additionalSettings;
|
|
128874
|
-
const dataDeclarationGenerator = new _DataDeclarationGenerator_DataDeclarationGenerator__WEBPACK_IMPORTED_MODULE_18__.DataDeclarationGenerator(sugarRoot, new _DataDeclarationGenerator_DataDeclarationInitSourceSequenceFactory__WEBPACK_IMPORTED_MODULE_19__.DataDeclarationInitSourceSequenceFactory(fetchFunctions), controlCustomizationContext, typeRegistry);
|
|
128951
|
+
const dataDeclarationGenerator = new _DataDeclarationGenerator_DataDeclarationGenerator__WEBPACK_IMPORTED_MODULE_18__.DataDeclarationGenerator(sugarRoot, new _DataDeclarationGenerator_DataDeclarationInitSourceSequenceFactory__WEBPACK_IMPORTED_MODULE_19__.DataDeclarationInitSourceSequenceFactory(fetchFunctions), controlCustomizationContext, typeRegistry, formSchemaRng, (_sugarRoot$schemaVali = sugarRoot.schemaValidations) !== null && _sugarRoot$schemaVali !== void 0 ? _sugarRoot$schemaVali : false);
|
|
128875
128952
|
const {
|
|
128876
128953
|
dataDeclarationContent,
|
|
128877
128954
|
dataDeclaration
|
|
128878
128955
|
} = dataDeclarationGenerator.generate();
|
|
128879
128956
|
const dataDeclarationHelper = new _DataDeclarationGenerator_DataDeclarationGenerationTimeHelper__WEBPACK_IMPORTED_MODULE_25__.DataDeclarationGenerationTimeHelper(dataDeclaration);
|
|
128880
|
-
const validationGenerator = new _validationGenerator_ValidationGenerator__WEBPACK_IMPORTED_MODULE_15__.ValidationGenerator(sugarRoot, typeRegistry, controlCustomizationContext, formSchemaRng, (_sugarRoot$
|
|
128881
|
-
const normalizationRulesGenerator = new _ServerSideFLangNormalization_NormalizationRulesGenerator__WEBPACK_IMPORTED_MODULE_24__.NormalizationRulesGenerator(sugarRoot, dataDeclarationHelper, formSchemaRng, formulas, typeRegistry, (_sugarRoot$
|
|
128957
|
+
const validationGenerator = new _validationGenerator_ValidationGenerator__WEBPACK_IMPORTED_MODULE_15__.ValidationGenerator(sugarRoot, typeRegistry, controlCustomizationContext, formSchemaRng, (_sugarRoot$schemaVali2 = sugarRoot.schemaValidations) !== null && _sugarRoot$schemaVali2 !== void 0 ? _sugarRoot$schemaVali2 : false, additionalContent.validationsContent);
|
|
128958
|
+
const normalizationRulesGenerator = new _ServerSideFLangNormalization_NormalizationRulesGenerator__WEBPACK_IMPORTED_MODULE_24__.NormalizationRulesGenerator(sugarRoot, dataDeclarationHelper, formSchemaRng, formulas, typeRegistry, (_sugarRoot$schemaVali3 = sugarRoot.schemaValidations) !== null && _sugarRoot$schemaVali3 !== void 0 ? _sugarRoot$schemaVali3 : false, controlCustomizationContext);
|
|
128882
128959
|
const resourcesHash = (_generationOptions$re = generationOptions === null || generationOptions === void 0 ? void 0 : generationOptions.resourcesHash) !== null && _generationOptions$re !== void 0 ? _generationOptions$re : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__.reject)("Current generator version requires resources hash");
|
|
128883
128960
|
const builder = new _FormSourcesBuilder_FormSourcesBuilder__WEBPACK_IMPORTED_MODULE_20__.FormSourcesBuilder(additionalContent.formSourcesPath);
|
|
128884
|
-
const markupGenerator = new _markupGenerator_MarkupGenerator__WEBPACK_IMPORTED_MODULE_11__.MarkupGenerator(additionalContent.formSourcesPath, additionalContent.helpersContent, additionalContent.tourSteps, controlCustomizationContext, typeRegistry, formSchemaRng, dataDeclarationHelper, (_sugarRoot$
|
|
128961
|
+
const markupGenerator = new _markupGenerator_MarkupGenerator__WEBPACK_IMPORTED_MODULE_11__.MarkupGenerator(additionalContent.formSourcesPath, additionalContent.helpersContent, additionalContent.tourSteps, controlCustomizationContext, typeRegistry, formSchemaRng, dataDeclarationHelper, (_sugarRoot$schemaVali4 = sugarRoot.schemaValidations) !== null && _sugarRoot$schemaVali4 !== void 0 ? _sugarRoot$schemaVali4 : false);
|
|
128885
128962
|
markupGenerator.generate(sugarRoot, builder);
|
|
128886
128963
|
builder.addResource("settings.js", (0,_markupGenerator_getSettings__WEBPACK_IMPORTED_MODULE_8__.getSettings)(sugarRoot, additionalContent.gfv, additionalSettings));
|
|
128887
128964
|
builder.addResource("requisiteList.js", (0,_RequisiteLIst_requisiteList__WEBPACK_IMPORTED_MODULE_23__.getRequisiteList)(sugarRoot, fetchFunctions));
|
|
@@ -136015,7 +136092,7 @@ class UserPicklistConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE
|
|
|
136015
136092
|
type: "Expression",
|
|
136016
136093
|
expression: validationGenerator.generateValidationsFactory()
|
|
136017
136094
|
});
|
|
136018
|
-
const dataDeclarationGenerator = new _DataDeclarationGenerator_DataDeclarationGenerator__WEBPACK_IMPORTED_MODULE_10__.DataDeclarationGenerator((_findSugarNodeBases$2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.findSugarNodeBases)(node.editor)[0]) !== null && _findSugarNodeBases$2 !== void 0 ? _findSugarNodeBases$2 : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_8__.reject)(), new _DataDeclarationGenerator_DataDeclarationInitSourceSequenceFactory__WEBPACK_IMPORTED_MODULE_11__.DataDeclarationInitSourceSequenceFactory(_common_FetchFunctions__WEBPACK_IMPORTED_MODULE_12__.FetchFunctions.empty()), context.controlCustomizationContext, context.typesRegistry);
|
|
136095
|
+
const dataDeclarationGenerator = new _DataDeclarationGenerator_DataDeclarationGenerator__WEBPACK_IMPORTED_MODULE_10__.DataDeclarationGenerator((_findSugarNodeBases$2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.findSugarNodeBases)(node.editor)[0]) !== null && _findSugarNodeBases$2 !== void 0 ? _findSugarNodeBases$2 : (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_8__.reject)(), new _DataDeclarationGenerator_DataDeclarationInitSourceSequenceFactory__WEBPACK_IMPORTED_MODULE_11__.DataDeclarationInitSourceSequenceFactory(_common_FetchFunctions__WEBPACK_IMPORTED_MODULE_12__.FetchFunctions.empty()), context.controlCustomizationContext, context.typesRegistry, _common_SchemaRng_FormSchemaRng__WEBPACK_IMPORTED_MODULE_7__.FormSchemaRng.createEmpty(), false);
|
|
136019
136096
|
userPicklistDeclarationBuilder.prop(x => x.editorDataDeclaration).set({
|
|
136020
136097
|
type: "Expression",
|
|
136021
136098
|
expression: dataDeclarationGenerator.generateDataDeclarationFactory()
|
|
@@ -140843,10 +140920,10 @@ class CrossfitTableConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODUL
|
|
|
140843
140920
|
}
|
|
140844
140921
|
|
|
140845
140922
|
if (rowNode instanceof _CrossfitTableNode__WEBPACK_IMPORTED_MODULE_11__.MultilineNode) {
|
|
140846
|
-
var _rowNode$optional2;
|
|
140923
|
+
var _ref, _rowNode$optional2;
|
|
140847
140924
|
|
|
140848
140925
|
this.ensurePathExists(rowNode, rowNode.dataScope.path);
|
|
140849
|
-
return context.mergeDataDeclaration(context.addPathDeclEntry(rowNode, [["children", context.initSequenceFactory.children((_rowNode$optional2 = rowNode.optional) !== null && _rowNode$optional2 !== void 0 ? _rowNode$optional2 : false, rowNode.defaultChildren)]]), context.addSpecialFieldsEntry(rowNode, {
|
|
140926
|
+
return context.mergeDataDeclaration(context.addPathDeclEntry(rowNode, [["children", context.initSequenceFactory.children((_ref = (_rowNode$optional2 = rowNode.optional) !== null && _rowNode$optional2 !== void 0 ? _rowNode$optional2 : context.isMultipleNodeOptionalFromScheme(rowNode.getFullPath())) !== null && _ref !== void 0 ? _ref : false, rowNode.defaultChildren)]]), context.addSpecialFieldsEntry(rowNode, {
|
|
140850
140927
|
optional: rowNode.optional
|
|
140851
140928
|
}), context.addPathSectionDeclarationEntry(rowNode), context.addVisibilityPathDeclEntryNew(rowNode), context.processChildrenDataDeclaration(rowNode.rows, rowNode2 => {
|
|
140852
140929
|
if (rowNode2 instanceof _CrossfitTableNode__WEBPACK_IMPORTED_MODULE_11__.CrossfitTableRowNode) {
|
|
@@ -142768,10 +142845,10 @@ class MultilineFieldConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODU
|
|
|
142768
142845
|
}
|
|
142769
142846
|
|
|
142770
142847
|
doBuildDataDeclaration(context) {
|
|
142771
|
-
var _node$optional;
|
|
142848
|
+
var _ref, _node$optional;
|
|
142772
142849
|
|
|
142773
142850
|
const node = this.getCurrentNodeAs(_MultilineFieldNode__WEBPACK_IMPORTED_MODULE_3__.MultilineFieldNode);
|
|
142774
|
-
return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["children", context.initSequenceFactory.children((_node$optional = node.optional) !== null && _node$optional !== void 0 ? _node$optional : false)]]), context.addSpecialFieldsEntry(node, {
|
|
142851
|
+
return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["children", context.initSequenceFactory.children((_ref = (_node$optional = node.optional) !== null && _node$optional !== void 0 ? _node$optional : context.isMultipleNodeOptionalFromScheme(node.getFullPath())) !== null && _ref !== void 0 ? _ref : false)]]), context.addSpecialFieldsEntry(node, {
|
|
142775
142852
|
optional: node.optional
|
|
142776
142853
|
}), context.addPathSectionDeclarationEntry(node), context.addVisibilityPathDeclEntryNew(node));
|
|
142777
142854
|
}
|
|
@@ -142937,10 +143014,10 @@ class MultipleConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_0__
|
|
|
142937
143014
|
}
|
|
142938
143015
|
|
|
142939
143016
|
doBuildDataDeclaration(context) {
|
|
142940
|
-
var _node$optional;
|
|
143017
|
+
var _ref, _node$optional;
|
|
142941
143018
|
|
|
142942
143019
|
const node = this.getCurrentNodeAs(_MultipleNode__WEBPACK_IMPORTED_MODULE_3__.MultipleNode);
|
|
142943
|
-
return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["children", context.initSequenceFactory.children((_node$optional = node.optional) !== null && _node$optional !== void 0 ? _node$optional : false)]]), context.addSpecialFieldsEntry(node, {
|
|
143020
|
+
return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["children", context.initSequenceFactory.children((_ref = (_node$optional = node.optional) !== null && _node$optional !== void 0 ? _node$optional : context.isMultipleNodeOptionalFromScheme(node.getFullPath())) !== null && _ref !== void 0 ? _ref : false)]]), context.addSpecialFieldsEntry(node, {
|
|
142944
143021
|
optional: node.optional
|
|
142945
143022
|
}), context.addPathSectionDeclarationEntry(node));
|
|
142946
143023
|
}
|
|
@@ -144120,9 +144197,9 @@ class StickyTableWithMultilineConverter extends _SugarNodeConverter__WEBPACK_IMP
|
|
|
144120
144197
|
|
|
144121
144198
|
processMultilineNode(context, rowNode) {
|
|
144122
144199
|
if (rowNode instanceof _StickyTableNode__WEBPACK_IMPORTED_MODULE_14__.StickyTableMultilineNode) {
|
|
144123
|
-
var _rowNode$optional;
|
|
144200
|
+
var _ref, _rowNode$optional;
|
|
144124
144201
|
|
|
144125
|
-
return context.mergeDataDeclaration(context.addPathDeclEntry(rowNode, [["children", context.initSequenceFactory.children((_rowNode$optional = rowNode.optional) !== null && _rowNode$optional !== void 0 ? _rowNode$optional : false, rowNode.defaultChildren)]]), context.addSpecialFieldsEntry(rowNode, {
|
|
144202
|
+
return context.mergeDataDeclaration(context.addPathDeclEntry(rowNode, [["children", context.initSequenceFactory.children((_ref = (_rowNode$optional = rowNode.optional) !== null && _rowNode$optional !== void 0 ? _rowNode$optional : context.isMultipleNodeOptionalFromScheme(rowNode.getFullPath())) !== null && _ref !== void 0 ? _ref : false, rowNode.defaultChildren)]]), context.addSpecialFieldsEntry(rowNode, {
|
|
144126
144203
|
optional: rowNode.optional
|
|
144127
144204
|
}), context.addPathSectionDeclarationEntry(rowNode), context.addVisibilityPathDeclEntryNew(rowNode), context.processChildrenDataDeclaration(rowNode.rows, rowNode2 => this.processMultilineRowNode(context, rowNode2)));
|
|
144128
144205
|
}
|
|
@@ -144195,11 +144272,11 @@ class StickyTableWithMultilineConverter extends _SugarNodeConverter__WEBPACK_IMP
|
|
|
144195
144272
|
const sideSize = (_node$side2 = node.side) !== null && _node$side2 !== void 0 ? _node$side2 : 0;
|
|
144196
144273
|
|
|
144197
144274
|
if (this.isSimpleForm()) {
|
|
144198
|
-
var
|
|
144275
|
+
var _ref2, _node$deprecatedDiado;
|
|
144199
144276
|
|
|
144200
144277
|
mb.prop(x => x.maxWidth).set(orientation === "landscape" ? maxWidth : undefined);
|
|
144201
144278
|
mb.prop(x => x.sideSize).set(this.hasActionButton(node) && sideSize !== 0 ? sideSize + 1 : sideSize);
|
|
144202
|
-
const width = (
|
|
144279
|
+
const width = (_ref2 = (_node$deprecatedDiado = node.deprecatedDiadocWidth) !== null && _node$deprecatedDiado !== void 0 ? _node$deprecatedDiado : node.width) !== null && _ref2 !== void 0 ? _ref2 : maxWidthSimpleForm;
|
|
144203
144280
|
mb.prop(x => x.width).set(width);
|
|
144204
144281
|
mb.prop(x => x.footerHeight).set(160);
|
|
144205
144282
|
} else {
|
|
@@ -144482,10 +144559,10 @@ BindingPath: ${errorPath}`));
|
|
|
144482
144559
|
if (this.isSimpleForm()) {
|
|
144483
144560
|
mb.prop(x => x.buttonType).set(undefined);
|
|
144484
144561
|
} else {
|
|
144485
|
-
var _multiline$rowmenu,
|
|
144562
|
+
var _multiline$rowmenu, _ref3, _tableNode$removeButt;
|
|
144486
144563
|
|
|
144487
144564
|
const rowMenu = (_multiline$rowmenu = multiline.rowmenu) !== null && _multiline$rowmenu !== void 0 ? _multiline$rowmenu : false;
|
|
144488
|
-
const removebutton = (
|
|
144565
|
+
const removebutton = (_ref3 = (_tableNode$removeButt = tableNode.removeButton) !== null && _tableNode$removeButt !== void 0 ? _tableNode$removeButt : multiline.removebutton) !== null && _ref3 !== void 0 ? _ref3 : true;
|
|
144489
144566
|
mb.prop(x => x.buttonType).set(rowMenu ? "RowMenu" : removebutton ? "RemoveRowButton" : undefined);
|
|
144490
144567
|
}
|
|
144491
144568
|
|
|
@@ -144498,7 +144575,7 @@ BindingPath: ${errorPath}`));
|
|
|
144498
144575
|
}
|
|
144499
144576
|
|
|
144500
144577
|
getMultiline(context, node, multiline, start, end = Infinity) {
|
|
144501
|
-
var
|
|
144578
|
+
var _ref4, _node$removeButton, _multiline$rowmenu2, _ref5, _node$removeButton2, _context$popPathsCont2;
|
|
144502
144579
|
|
|
144503
144580
|
const overrideInfo = multiline.override ? context.controlCustomizationContext.getControlCustomizationInfo("multiline", multiline.override) : undefined;
|
|
144504
144581
|
const mb = overrideInfo == undefined ? (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_5__.componentMarkupBuilder)("MultiLine") : (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_5__.componentMarkupBuilder)(overrideInfo.dependencies, overrideInfo.controlName);
|
|
@@ -144511,7 +144588,7 @@ BindingPath: ${errorPath}`));
|
|
|
144511
144588
|
mb.prop(x => x.isList).set(multiline.usepager === false ? true : undefined);
|
|
144512
144589
|
mb.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_13__.getNewBindingPathExpression)(multiline));
|
|
144513
144590
|
mb.prop(x => x.showRowBorder).set(multiline.showRowBorder);
|
|
144514
|
-
const hasRemoveButton = ((
|
|
144591
|
+
const hasRemoveButton = ((_ref4 = (_node$removeButton = node.removeButton) !== null && _node$removeButton !== void 0 ? _node$removeButton : multiline.removebutton) !== null && _ref4 !== void 0 ? _ref4 : true) || ((_multiline$rowmenu2 = multiline.rowmenu) !== null && _multiline$rowmenu2 !== void 0 ? _multiline$rowmenu2 : false);
|
|
144515
144592
|
const needAddButton = multiline.addbutton !== "false";
|
|
144516
144593
|
|
|
144517
144594
|
if (this.isSimpleForm()) {
|
|
@@ -144524,7 +144601,7 @@ BindingPath: ${errorPath}`));
|
|
|
144524
144601
|
mb.prop(x => x.removeButtonPosition).set(undefined);
|
|
144525
144602
|
}
|
|
144526
144603
|
|
|
144527
|
-
mb.prop(x => x.disableScroll).set(needAddButton || ((
|
|
144604
|
+
mb.prop(x => x.disableScroll).set(needAddButton || ((_ref5 = (_node$removeButton2 = node.removeButton) !== null && _node$removeButton2 !== void 0 ? _node$removeButton2 : multiline.removebutton) !== null && _ref5 !== void 0 ? _ref5 : true) ? undefined : true);
|
|
144528
144605
|
context.pushPathsContext();
|
|
144529
144606
|
|
|
144530
144607
|
if ((0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_3__.arrayHasLength)(multiline.rows, 1)) {
|
|
@@ -144550,9 +144627,9 @@ BindingPath: ${errorPath}`));
|
|
|
144550
144627
|
hasActionButton(node) {
|
|
144551
144628
|
const multilines = node.rows.map(child => (0,_StickyTableNode__WEBPACK_IMPORTED_MODULE_14__.isMultilineNode)(child) ? child : child.columns.find(_StickyTableNode__WEBPACK_IMPORTED_MODULE_14__.isMultilineNode)).filter(_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_3__.isNotNullOrUndefined);
|
|
144552
144629
|
return multilines.some(multiline => {
|
|
144553
|
-
var
|
|
144630
|
+
var _ref6, _node$removeButton3;
|
|
144554
144631
|
|
|
144555
|
-
return ((
|
|
144632
|
+
return ((_ref6 = (_node$removeButton3 = node.removeButton) !== null && _node$removeButton3 !== void 0 ? _node$removeButton3 : multiline.removebutton) !== null && _ref6 !== void 0 ? _ref6 : true) || multiline.rowmenu;
|
|
144556
144633
|
});
|
|
144557
144634
|
}
|
|
144558
144635
|
|
|
@@ -144778,10 +144855,10 @@ class Table2MultirowConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODU
|
|
|
144778
144855
|
}
|
|
144779
144856
|
|
|
144780
144857
|
doBuildDataDeclaration(context) {
|
|
144781
|
-
var _node$optional;
|
|
144858
|
+
var _ref, _node$optional;
|
|
144782
144859
|
|
|
144783
144860
|
const node = this.getCurrentNodeAs(_Table2Node__WEBPACK_IMPORTED_MODULE_3__.Table2MultirowNode);
|
|
144784
|
-
return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["children", context.initSequenceFactory.children((_node$optional = node.optional) !== null && _node$optional !== void 0 ? _node$optional : false)]]), context.addPathSectionDeclarationEntry(node));
|
|
144861
|
+
return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["children", context.initSequenceFactory.children((_ref = (_node$optional = node.optional) !== null && _node$optional !== void 0 ? _node$optional : context.isMultipleNodeOptionalFromScheme(node.getFullPath())) !== null && _ref !== void 0 ? _ref : false)]]), context.addPathSectionDeclarationEntry(node));
|
|
144785
144862
|
}
|
|
144786
144863
|
|
|
144787
144864
|
buildChildrenDataDeclaration(context) {
|
|
@@ -145600,10 +145677,10 @@ class TabsConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Sug
|
|
|
145600
145677
|
}
|
|
145601
145678
|
|
|
145602
145679
|
doBuildDataDeclaration(context) {
|
|
145603
|
-
var _node$optional;
|
|
145680
|
+
var _ref, _node$optional;
|
|
145604
145681
|
|
|
145605
145682
|
const node = this.getCurrentNodeAs(_TabsNode__WEBPACK_IMPORTED_MODULE_4__.TabsNode);
|
|
145606
|
-
return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["children", context.initSequenceFactory.children((_node$optional = node.optional) !== null && _node$optional !== void 0 ? _node$optional : false)]]), context.addPathSectionDeclarationEntry(node));
|
|
145683
|
+
return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["children", context.initSequenceFactory.children((_ref = (_node$optional = node.optional) !== null && _node$optional !== void 0 ? _node$optional : context.isMultipleNodeOptionalFromScheme(node.getFullPath())) !== null && _ref !== void 0 ? _ref : false)]]), context.addPathSectionDeclarationEntry(node));
|
|
145607
145684
|
}
|
|
145608
145685
|
|
|
145609
145686
|
buildChildrenDataDeclaration(context) {
|
|
@@ -148384,6 +148461,7 @@ class FiasFssConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.
|
|
|
148384
148461
|
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("FiasFss");
|
|
148385
148462
|
markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_0__.getNewBindingPathExpression)(node));
|
|
148386
148463
|
markupBuilder.prop(x => x.postalTransfer).set(node.postalTransfer || false);
|
|
148464
|
+
markupBuilder.prop(x => x.optionalIndex).set(node.optionalIndex || false);
|
|
148387
148465
|
return markupBuilder.buildConverterResult();
|
|
148388
148466
|
}
|
|
148389
148467
|
|
|
@@ -148414,17 +148492,19 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
148414
148492
|
|
|
148415
148493
|
|
|
148416
148494
|
|
|
148417
|
-
var _dec, _dec2, _dec3, _class, _class2, _descriptor, _descriptor2;
|
|
148495
|
+
var _dec, _dec2, _dec3, _dec4, _class, _class2, _descriptor, _descriptor2, _descriptor3;
|
|
148418
148496
|
|
|
148419
148497
|
|
|
148420
148498
|
|
|
148421
|
-
let FiasFssNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("fiasfss", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FiasFss sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__.DataBindingMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("postalTransfer", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, "Адрес для перевода выплаты по почте"), _dec(_class = (_class2 = class FiasFssNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.SugarNodeBase {
|
|
148499
|
+
let FiasFssNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("fiasfss", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FiasFss sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__.DataBindingMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("postalTransfer", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, "Адрес для перевода выплаты по почте"), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("optionalIndex", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.boolean, "Опциональный индекс. По умолчание - false (не опциональный)"), _dec(_class = (_class2 = class FiasFssNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.SugarNodeBase {
|
|
148422
148500
|
constructor(...args) {
|
|
148423
148501
|
super(...args);
|
|
148424
148502
|
|
|
148425
148503
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataBinding", _descriptor, this);
|
|
148426
148504
|
|
|
148427
148505
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "postalTransfer", _descriptor2, this);
|
|
148506
|
+
|
|
148507
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "optionalIndex", _descriptor3, this);
|
|
148428
148508
|
}
|
|
148429
148509
|
|
|
148430
148510
|
getOwnPath() {
|
|
@@ -148441,6 +148521,11 @@ let FiasFssNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODUL
|
|
|
148441
148521
|
enumerable: true,
|
|
148442
148522
|
writable: true,
|
|
148443
148523
|
initializer: null
|
|
148524
|
+
}), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "optionalIndex", [_dec4], {
|
|
148525
|
+
configurable: true,
|
|
148526
|
+
enumerable: true,
|
|
148527
|
+
writable: true,
|
|
148528
|
+
initializer: null
|
|
148444
148529
|
})), _class2)) || _class);
|
|
148445
148530
|
|
|
148446
148531
|
/***/ }),
|
|
@@ -148585,7 +148670,7 @@ class FiasPfrConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.
|
|
|
148585
148670
|
|
|
148586
148671
|
doBuildDataDeclaration(context) {
|
|
148587
148672
|
const node = this.getCurrentNodeAs(_FiasPfrNode__WEBPACK_IMPORTED_MODULE_4__.FiasPfrNode);
|
|
148588
|
-
return context.mergeDataDeclaration(context.addPathSectionDeclarationEntry(node), context.addChildPathSectionDeclarationEntry(node, "InternalFiasId", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "ТипАдреса", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "Индекс", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "РоссийскийАдрес/Регион/ГеографическоеНазвание", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "РоссийскийАдрес/Регион/Сокращение", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "РоссийскийАдрес/Район/ГеографическоеНазвание", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "РоссийскийАдрес/Район/Сокращение", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "РоссийскийАдрес/Город/ГеографическоеНазвание", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "РоссийскийАдрес/Город/Сокращение", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "РоссийскийАдрес/НаселенныйПункт/ГеографическоеНазвание", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "РоссийскийАдрес/НаселенныйПункт/Сокращение", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "РоссийскийАдрес/Улица/ГеографическоеНазвание", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "РоссийскийАдрес/Улица/Сокращение", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "РоссийскийАдрес/Дом/Сокращение", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "РоссийскийАдрес/Дом/Номер", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "РоссийскийАдрес/Корпус/Сокращение", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "РоссийскийАдрес/Корпус/Номер", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "РоссийскийАдрес/Квартира/Сокращение", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "РоссийскийАдрес/Квартира/Номер", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "ИностранныйАдрес/КодСтраны", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "ИностранныйАдрес/НазваниеСтраны", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "ИностранныйАдрес/Адрес", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "НеструктурированныйАдрес/Адрес", node.dataBinding.requisite));
|
|
148673
|
+
return context.mergeDataDeclaration(context.addPathSectionDeclarationEntry(node), context.addChildPathSectionDeclarationEntry(node, "InternalFiasId", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "ТипАдреса", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "Индекс", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "РоссийскийАдрес/Регион/ГеографическоеНазвание", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "РоссийскийАдрес/Регион/Сокращение", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "РоссийскийАдрес/Район/ГеографическоеНазвание", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "РоссийскийАдрес/Район/Сокращение", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "РоссийскийАдрес/Город/ГеографическоеНазвание", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "РоссийскийАдрес/Город/Сокращение", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "РоссийскийАдрес/НаселенныйПункт/ГеографическоеНазвание", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "РоссийскийАдрес/НаселенныйПункт/Сокращение", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "РоссийскийАдрес/Улица/ГеографическоеНазвание", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "РоссийскийАдрес/Улица/Сокращение", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "РоссийскийАдрес/Дом/Сокращение", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "РоссийскийАдрес/Дом/Номер", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "РоссийскийАдрес/Корпус/Сокращение", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "РоссийскийАдрес/Корпус/Номер", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "РоссийскийАдрес/Квартира/Сокращение", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "РоссийскийАдрес/Квартира/Номер", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "ИностранныйАдрес/КодСтраны", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "ИностранныйАдрес/НазваниеСтраны", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "ИностранныйАдрес/Адрес", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "НеструктурированныйАдрес/Адрес", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "fullAddress", node.dataBinding.requisite));
|
|
148589
148674
|
}
|
|
148590
148675
|
|
|
148591
148676
|
buildChildrenDataDeclaration(context) {
|
|
@@ -194507,28 +194592,6 @@ module.exports = {
|
|
|
194507
194592
|
"17.0": "96"
|
|
194508
194593
|
};
|
|
194509
194594
|
|
|
194510
|
-
/***/ }),
|
|
194511
|
-
|
|
194512
|
-
/***/ "./node_modules/escape-string-regexp/index.js":
|
|
194513
|
-
/*!****************************************************!*\
|
|
194514
|
-
!*** ./node_modules/escape-string-regexp/index.js ***!
|
|
194515
|
-
\****************************************************/
|
|
194516
|
-
/***/ ((module) => {
|
|
194517
|
-
|
|
194518
|
-
"use strict";
|
|
194519
|
-
|
|
194520
|
-
|
|
194521
|
-
var matchOperatorsRe = /[|\\{}()[\]^$+*?.]/g;
|
|
194522
|
-
|
|
194523
|
-
module.exports = function (str) {
|
|
194524
|
-
if (typeof str !== 'string') {
|
|
194525
|
-
throw new TypeError('Expected a string');
|
|
194526
|
-
}
|
|
194527
|
-
|
|
194528
|
-
return str.replace(matchOperatorsRe, '\\$&');
|
|
194529
|
-
};
|
|
194530
|
-
|
|
194531
|
-
|
|
194532
194595
|
/***/ }),
|
|
194533
194596
|
|
|
194534
194597
|
/***/ "./node_modules/fbjs/lib/areEqual.js":
|