@kontur.candy/generator 4.244.3 → 4.245.0-fiasfnsupdate.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +47 -9
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -123886,9 +123886,7 @@ class ApplyTemplatesNodeVisitor {
123886
123886
  value: value
123887
123887
  });
123888
123888
  } else if (parameterInfo.type === _SugarTemplateInfo__WEBPACK_IMPORTED_MODULE_4__.SugarTemplateParameterType.Sugar) {
123889
- var _this$extractSugarMar;
123890
-
123891
- const value = (_this$extractSugarMar = this.extractSugarMarkupValue(node, parameterInfo.name)) !== null && _this$extractSugarMar !== void 0 ? _this$extractSugarMar : this.extractStringValue(node, parameterInfo.name);
123889
+ const value = this.extractSugarMarkupValue(node, parameterInfo.name);
123892
123890
  result.push({
123893
123891
  parameterInfo: parameterInfo,
123894
123892
  value: value
@@ -159476,7 +159474,12 @@ class FiasFnsConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.
159476
159474
  markupBuilder.prop(x => x.withSteads).set(node.withSteads);
159477
159475
  }
159478
159476
 
159479
- markupBuilder.prop(x => x.allAbbreviationsType).set(node.allAbbreviationsType || "long");
159477
+ markupBuilder.prop(x => x.settelementAddr).set(node.settelementAddr || "long");
159478
+ markupBuilder.prop(x => x.planingStructureAddr).set(node.planingStructureAddr || "long");
159479
+ markupBuilder.prop(x => x.streetAbbr).set(node.streetAbbr || "long");
159480
+ markupBuilder.prop(x => x.houseAbbr).set(node.houseAbbr || "long");
159481
+ markupBuilder.prop(x => x.apartmentAbbr).set(node.apartmentAbbr || "long");
159482
+ markupBuilder.prop(x => x.roomAbbr).set(node.roomAbbr || "long");
159480
159483
  return markupBuilder.buildConverterResult();
159481
159484
  }
159482
159485
 
@@ -159522,7 +159525,7 @@ __webpack_require__.r(__webpack_exports__);
159522
159525
  /* harmony import */ var _CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../CommonNodeProperties/DataBindingMixinNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/CommonNodeProperties/DataBindingMixinNode.ts");
159523
159526
  /* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
159524
159527
  /* module decorator */ module = __webpack_require__.hmd(module);
159525
- var _dec, _dec2, _dec3, _dec4, _class, _class2, _descriptor, _descriptor2, _descriptor3;
159528
+ var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8;
159526
159529
 
159527
159530
  (function () {
159528
159531
  var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
@@ -159541,7 +159544,7 @@ var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoader
159541
159544
 
159542
159545
 
159543
159546
 
159544
- 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 {
159547
+ 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)("settelementAddr", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attrType["enum"]("long", "short"), "Выгрузка в фуф абривиатуры 'населенного пункта' в длинной или короткой форме"), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attr)("planingStructureAddr", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attrType["enum"]("long", "short"), "Выгрузка в фуф абривиатуры 'элемента планировочной структуры' в длинной или короткой форме"), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attr)("streetAbbr", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attrType["enum"]("long", "short"), "Выгрузка в фуф абривиатуры 'элемента улично-дорожной сети' в длинной или короткой форме"), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attr)("houseAbbr", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attrType["enum"]("long", "short"), "Выгрузка в фуф абривиатуры 'здания/сооружения' в длинной или короткой форме"), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attr)("apartmentAbbr", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attrType["enum"]("long", "short"), "Выгрузка в фуф абривиатуры 'помещения/квартиры/машино-места' в длинной или короткой форме"), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attr)("roomAbbr", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.attrType["enum"]("long", "short"), "Выгрузка в фуф абривиатуры 'помещения в пределах квартиры' в длинной или короткой форме"), _dec(_class = (_class2 = class FiasFnsNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_1__.SugarNodeBase {
159545
159548
  constructor(...args) {
159546
159549
  super(...args);
159547
159550
 
@@ -159549,7 +159552,17 @@ let FiasFnsNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODUL
159549
159552
 
159550
159553
  _initializerDefineProperty(this, "withSteads", _descriptor2, this);
159551
159554
 
159552
- _initializerDefineProperty(this, "allAbbreviationsType", _descriptor3, this);
159555
+ _initializerDefineProperty(this, "settelementAddr", _descriptor3, this);
159556
+
159557
+ _initializerDefineProperty(this, "planingStructureAddr", _descriptor4, this);
159558
+
159559
+ _initializerDefineProperty(this, "streetAbbr", _descriptor5, this);
159560
+
159561
+ _initializerDefineProperty(this, "houseAbbr", _descriptor6, this);
159562
+
159563
+ _initializerDefineProperty(this, "apartmentAbbr", _descriptor7, this);
159564
+
159565
+ _initializerDefineProperty(this, "roomAbbr", _descriptor8, this);
159553
159566
  }
159554
159567
 
159555
159568
  getOwnPath() {
@@ -159572,7 +159585,32 @@ let FiasFnsNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODUL
159572
159585
  enumerable: true,
159573
159586
  writable: true,
159574
159587
  initializer: null
159575
- }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, "allAbbreviationsType", [_dec4], {
159588
+ }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, "settelementAddr", [_dec4], {
159589
+ configurable: true,
159590
+ enumerable: true,
159591
+ writable: true,
159592
+ initializer: null
159593
+ }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "planingStructureAddr", [_dec5], {
159594
+ configurable: true,
159595
+ enumerable: true,
159596
+ writable: true,
159597
+ initializer: null
159598
+ }), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "streetAbbr", [_dec6], {
159599
+ configurable: true,
159600
+ enumerable: true,
159601
+ writable: true,
159602
+ initializer: null
159603
+ }), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "houseAbbr", [_dec7], {
159604
+ configurable: true,
159605
+ enumerable: true,
159606
+ writable: true,
159607
+ initializer: null
159608
+ }), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, "apartmentAbbr", [_dec8], {
159609
+ configurable: true,
159610
+ enumerable: true,
159611
+ writable: true,
159612
+ initializer: null
159613
+ }), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "roomAbbr", [_dec9], {
159576
159614
  configurable: true,
159577
159615
  enumerable: true,
159578
159616
  writable: true,
@@ -159645,7 +159683,7 @@ class FiasFssConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.
159645
159683
 
159646
159684
  doBuildDataDeclaration(context) {
159647
159685
  const node = this.getCurrentNodeAs(_FiasFssNode__WEBPACK_IMPORTED_MODULE_4__.FiasFssNode);
159648
- 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));
159686
+ return context.mergeDataDeclaration(context.addPathSectionDeclarationEntry(node, node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "address/postalCode", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "address/a1", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "address/a2", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "address/a3", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "address/a4", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "address/plan", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "address/a5", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "address/house", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "address/building", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "address/flat", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "currentAddress/postalCode", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "currentAddress/a1", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "currentAddress/a2", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "currentAddress/a3", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "currentAddress/a4", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "currentAddress/plan", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "currentAddress/a5", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "currentAddress/house", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "currentAddress/building", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "currentAddress/flat", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "currentAddressFias/postalCode", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "currentAddressFias/a1", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "currentAddressFias/a2", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "currentAddressFias/a3", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "currentAddressFias/a4", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "currentAddressFias/plan", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "currentAddressFias/a5", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "currentAddressFias/house", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "currentAddressFias/building", node.dataBinding.requisite), context.addChildPathSectionDeclarationEntry(node, "currentAddressFias/flat", node.dataBinding.requisite));
159649
159687
  }
159650
159688
 
159651
159689
  buildChildrenDataDeclaration(context) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kontur.candy/generator",
3
- "version": "4.244.3",
3
+ "version": "4.245.0-fiasfnsupdate.0",
4
4
  "description": "Candy forms generator",
5
5
  "author": "SKBKontur Candy Team",
6
6
  "private": false,