@kontur.candy/generator 4.244.0-imush.0 → 4.244.2
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 +17 -9
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -140337,7 +140337,7 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
|
|
|
140337
140337
|
}
|
|
140338
140338
|
|
|
140339
140339
|
buildUnitInfo(context, pageNode, node) {
|
|
140340
|
-
var _node$panel, _pageNode$multiple
|
|
140340
|
+
var _node$panel, _pageNode$multiple;
|
|
140341
140341
|
|
|
140342
140342
|
const pageContainsTableWithStickyElements = this.isPageContainsTableWithStickyElements(pageNode);
|
|
140343
140343
|
const unitList = (_node$panel = node.panel) === null || _node$panel === void 0 ? void 0 : _node$panel.unitList;
|
|
@@ -140359,10 +140359,10 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
|
|
|
140359
140359
|
},
|
|
140360
140360
|
id: pageNode.id,
|
|
140361
140361
|
multiple: (_pageNode$multiple = pageNode.multiple) !== null && _pageNode$multiple !== void 0 ? _pageNode$multiple : false,
|
|
140362
|
-
height:
|
|
140363
|
-
minHeight: pageNode.minHeight,
|
|
140362
|
+
height: pageNode.height != undefined ? pageNode.height : 1000,
|
|
140364
140363
|
enableHorizontalScrolling: (pageNode.template == undefined || pageNode.template === "default" || pageNode.template === "diadoc") && !node.simple && !pageContainsTableWithStickyElements,
|
|
140365
140364
|
navigationName: unitName,
|
|
140365
|
+
minHeight: pageNode.minHeight,
|
|
140366
140366
|
evaluatorsContextPath: (0,_getBindingPath__WEBPACK_IMPORTED_MODULE_15__.getNewBindingPathExpression)(node),
|
|
140367
140367
|
layoutKind: layoutKind,
|
|
140368
140368
|
visible: pageNode.visible != undefined ? {
|
|
@@ -140422,7 +140422,7 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
|
|
|
140422
140422
|
}
|
|
140423
140423
|
|
|
140424
140424
|
buildPageUnit(node, pageNode) {
|
|
140425
|
-
var _node$panel2
|
|
140425
|
+
var _node$panel2;
|
|
140426
140426
|
|
|
140427
140427
|
const unitList = (_node$panel2 = node.panel) === null || _node$panel2 === void 0 ? void 0 : _node$panel2.unitList;
|
|
140428
140428
|
|
|
@@ -140431,8 +140431,7 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
|
|
|
140431
140431
|
}
|
|
140432
140432
|
|
|
140433
140433
|
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_5__.componentMarkupBuilder)("Unit");
|
|
140434
|
-
markupBuilder.prop(x => x.height).set(
|
|
140435
|
-
markupBuilder.prop(x => x.minHeight).set(pageNode.minHeight);
|
|
140434
|
+
markupBuilder.prop(x => x.height).set(pageNode.height != undefined ? pageNode.height : 1000);
|
|
140436
140435
|
markupBuilder.prop("data-tid").set(pageNode.id);
|
|
140437
140436
|
markupBuilder.prop(x => x.unitId).set((0,_Engine_src_Controls_FormParts_Unit_Store_unitId__WEBPACK_IMPORTED_MODULE_13__.createUnitId)(pageNode.id));
|
|
140438
140437
|
const noContent = pageNode.children.find(x => x instanceof _Content_ContentNode__WEBPACK_IMPORTED_MODULE_14__.ContentNode) == undefined;
|
|
@@ -140454,6 +140453,7 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
|
|
|
140454
140453
|
|
|
140455
140454
|
const unitName = unitList != undefined ? this.getUnitName(unitList, pageNode.id) : pageNode.navigationName;
|
|
140456
140455
|
markupBuilder.prop(x => x.name).set(unitName);
|
|
140456
|
+
markupBuilder.prop(x => x.minHeight).set(pageNode.minHeight);
|
|
140457
140457
|
markupBuilder.prop(x => x.evaluatorsContextPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_15__.getNewBindingPathExpression)(node));
|
|
140458
140458
|
|
|
140459
140459
|
if (pageNode.visible != undefined) {
|
|
@@ -159474,6 +159474,7 @@ class FiasFnsConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.
|
|
|
159474
159474
|
markupBuilder.prop(x => x.withSteads).set(node.withSteads);
|
|
159475
159475
|
}
|
|
159476
159476
|
|
|
159477
|
+
markupBuilder.prop(x => x.allAbbreviationsType).set(node.allAbbreviationsType || "long");
|
|
159477
159478
|
return markupBuilder.buildConverterResult();
|
|
159478
159479
|
}
|
|
159479
159480
|
|
|
@@ -159519,7 +159520,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
159519
159520
|
/* harmony import */ var _CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../CommonNodeProperties/DataBindingMixinNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/DataBindingMixinNode.ts");
|
|
159520
159521
|
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
159521
159522
|
/* module decorator */ module = __webpack_require__.hmd(module);
|
|
159522
|
-
var _dec, _dec2, _dec3, _class, _class2, _descriptor, _descriptor2;
|
|
159523
|
+
var _dec, _dec2, _dec3, _dec4, _class, _class2, _descriptor, _descriptor2, _descriptor3;
|
|
159523
159524
|
|
|
159524
159525
|
(function () {
|
|
159525
159526
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
@@ -159538,13 +159539,15 @@ var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoader
|
|
|
159538
159539
|
|
|
159539
159540
|
|
|
159540
159541
|
|
|
159541
|
-
let FiasFnsNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.sugarNode)("fiasfns", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FiasFns sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_0__.DataBindingMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attr)("withSteads", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attrType.boolean, "Земельные участки для формы"), _dec(_class = (_class2 = class FiasFnsNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.SugarNodeBase {
|
|
159542
|
+
let FiasFnsNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.sugarNode)("fiasfns", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/FiasFns sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_0__.DataBindingMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attr)("withSteads", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attrType.boolean, "Земельные участки для формы"), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attr)("allAbbreviationsType", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attrType["enum"]("long", "short"), "Выгрузка в фуф всех абривиатур типа short/long. По умолчанию long"), _dec(_class = (_class2 = class FiasFnsNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.SugarNodeBase {
|
|
159542
159543
|
constructor(...args) {
|
|
159543
159544
|
super(...args);
|
|
159544
159545
|
|
|
159545
159546
|
_initializerDefineProperty(this, "dataBinding", _descriptor, this);
|
|
159546
159547
|
|
|
159547
159548
|
_initializerDefineProperty(this, "withSteads", _descriptor2, this);
|
|
159549
|
+
|
|
159550
|
+
_initializerDefineProperty(this, "allAbbreviationsType", _descriptor3, this);
|
|
159548
159551
|
}
|
|
159549
159552
|
|
|
159550
159553
|
getOwnPath() {
|
|
@@ -159567,6 +159570,11 @@ let FiasFnsNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODUL
|
|
|
159567
159570
|
enumerable: true,
|
|
159568
159571
|
writable: true,
|
|
159569
159572
|
initializer: null
|
|
159573
|
+
}), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, "allAbbreviationsType", [_dec4], {
|
|
159574
|
+
configurable: true,
|
|
159575
|
+
enumerable: true,
|
|
159576
|
+
writable: true,
|
|
159577
|
+
initializer: null
|
|
159570
159578
|
})), _class2)) || _class);
|
|
159571
159579
|
;
|
|
159572
159580
|
|
|
@@ -159635,7 +159643,7 @@ class FiasFssConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.
|
|
|
159635
159643
|
|
|
159636
159644
|
doBuildDataDeclaration(context) {
|
|
159637
159645
|
const node = this.getCurrentNodeAs(_FiasFssNode__WEBPACK_IMPORTED_MODULE_4__.FiasFssNode);
|
|
159638
|
-
return context.mergeDataDeclaration(context.addPathSectionDeclarationEntry(node, node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "
|
|
159646
|
+
return context.mergeDataDeclaration(context.addPathSectionDeclarationEntry(node, node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "countryCode", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "address/houseGuid", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "address/guid", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "address/house", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "address/building", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "currentFiasAddress/houseGuid", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "currentFiasAddress/guid", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "currentFiasAddress/house", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "currentFiasAddress/building", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "flat", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "postalCode", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "foreignAddress", node.dataBinding.requisite));
|
|
159639
159647
|
}
|
|
159640
159648
|
|
|
159641
159649
|
buildChildrenDataDeclaration(context) {
|