@kontur.candy/generator 4.297.0-upload-excel-button.2 → 4.297.0-upload-excel-button.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.
Files changed (2) hide show
  1. package/dist/index.js +22 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -111802,7 +111802,8 @@ exports.XPathWildcardElement = XPathWildcardElement;
111802
111802
  "use strict";
111803
111803
  __webpack_require__.r(__webpack_exports__);
111804
111804
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
111805
- /* harmony export */ "FufCombineMethod": () => (/* binding */ FufCombineMethod)
111805
+ /* harmony export */ "FufCombineMethod": () => (/* binding */ FufCombineMethod),
111806
+ /* harmony export */ "CombinatorType": () => (/* binding */ CombinatorType)
111806
111807
  /* harmony export */ });
111807
111808
  let FufCombineMethod;
111808
111809
 
@@ -111812,6 +111813,13 @@ let FufCombineMethod;
111812
111813
  FufCombineMethod["Replace"] = "Replace";
111813
111814
  })(FufCombineMethod || (FufCombineMethod = {}));
111814
111815
 
111816
+ let CombinatorType;
111817
+
111818
+ (function (CombinatorType) {
111819
+ CombinatorType["Default"] = "Default";
111820
+ CombinatorType["XmlCombinatorByPath"] = "XmlCombinatorByPath";
111821
+ })(CombinatorType || (CombinatorType = {}));
111822
+
111815
111823
  /***/ }),
111816
111824
 
111817
111825
  /***/ "./Common/CommonConstants/SectionNames.ts":
@@ -137939,7 +137947,7 @@ class DropDownButtonLoadExcelConverter extends _SugarNodeConverter__WEBPACK_IMPO
137939
137947
  }
137940
137948
 
137941
137949
  doConvert(context) {
137942
- var _node$text, _node$textInLoading, _node$combineType;
137950
+ var _node$text, _node$textInLoading, _node$combineType, _node$combinatorType;
137943
137951
 
137944
137952
  const node = this.getCurrentNodeAs(_DropDownButtonLoadExcelNode__WEBPACK_IMPORTED_MODULE_5__.DropDownButtonLoadExcelNode);
137945
137953
  const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("DropDownButtonLoadExcel");
@@ -137952,6 +137960,7 @@ class DropDownButtonLoadExcelConverter extends _SugarNodeConverter__WEBPACK_IMPO
137952
137960
  markupBuilder.prop(x => x.textInLoading).set((_node$textInLoading = node.textInLoading) !== null && _node$textInLoading !== void 0 ? _node$textInLoading : "Скачиваем");
137953
137961
  markupBuilder.prop(x => x.tableType).set(node.tableType);
137954
137962
  markupBuilder.prop(x => x.combineType).set((_node$combineType = node.combineType) !== null && _node$combineType !== void 0 ? _node$combineType : _Common_CandyApiClient_Types_DraftActions_CombineFufResult__WEBPACK_IMPORTED_MODULE_4__.FufCombineMethod.AddToEnd);
137963
+ markupBuilder.prop(x => x.combinatorType).set((_node$combinatorType = node.combinatorType) !== null && _node$combinatorType !== void 0 ? _node$combinatorType : _Common_CandyApiClient_Types_DraftActions_CombineFufResult__WEBPACK_IMPORTED_MODULE_4__.CombinatorType.XmlCombinatorByPath);
137955
137964
  return markupBuilder.buildConverterResult();
137956
137965
  }
137957
137966
 
@@ -137983,7 +137992,7 @@ __webpack_require__.r(__webpack_exports__);
137983
137992
 
137984
137993
 
137985
137994
 
137986
- var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9;
137995
+ var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10;
137987
137996
 
137988
137997
 
137989
137998
 
@@ -137996,6 +138005,9 @@ let DropDownButtonLoadExcelNode = (_dec = (0,_Serializer_SugarSerializer__WEBPAC
137996
138005
  AddToEnd - добавляет в конец данные, даже если есть повторяющиеся.
137997
138006
  Merge - по умному мерджит данные с одинаковыми полями (нужно спрашивать реализовано ли такое, пока что только для ПСВ).
137998
138007
  По умолчанию - AddToEnd.
138008
+ `), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("combinatorType", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType["enum"](_Common_CandyApiClient_Types_DraftActions_CombineFufResult__WEBPACK_IMPORTED_MODULE_4__.CombinatorType.Default, _Common_CandyApiClient_Types_DraftActions_CombineFufResult__WEBPACK_IMPORTED_MODULE_4__.CombinatorType.XmlCombinatorByPath), `В какой комбинатор идти за преобразованиями.
138009
+ Default - умный, умеет Replace, AddToEnd, Merge. Написан силами флешей, что бы узнать написан для такой комбинатор для формы нужно спросить у них.
138010
+ XmlCombinatorByPath - тупой, умеет Replace, AddToEnd. Написан универасльно для всех форм, по умолчанию ходим в него.
137999
138011
  `), _dec(_class = (_class2 = class DropDownButtonLoadExcelNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
138000
138012
  constructor(...args) {
138001
138013
  super(...args);
@@ -138017,6 +138029,8 @@ let DropDownButtonLoadExcelNode = (_dec = (0,_Serializer_SugarSerializer__WEBPAC
138017
138029
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "tableType", _descriptor8, this);
138018
138030
 
138019
138031
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "combineType", _descriptor9, this);
138032
+
138033
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "combinatorType", _descriptor10, this);
138020
138034
  }
138021
138035
 
138022
138036
  }, (_descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "pathToTable", [_dec2], {
@@ -138064,6 +138078,11 @@ let DropDownButtonLoadExcelNode = (_dec = (0,_Serializer_SugarSerializer__WEBPAC
138064
138078
  enumerable: true,
138065
138079
  writable: true,
138066
138080
  initializer: null
138081
+ }), _descriptor10 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "combinatorType", [_dec11], {
138082
+ configurable: true,
138083
+ enumerable: true,
138084
+ writable: true,
138085
+ initializer: null
138067
138086
  })), _class2)) || _class);
138068
138087
 
138069
138088
  /***/ }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kontur.candy/generator",
3
- "version": "4.297.0-upload-excel-button.2",
3
+ "version": "4.297.0-upload-excel-button.3",
4
4
  "description": "Candy forms generator",
5
5
  "author": "SKBKontur Candy Team",
6
6
  "private": false,