@crystaldesign/diva-backoffice 24.11.0-beta.36 → 24.11.0-beta.37

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/build/esm/index.js +120 -120
  2. package/package.json +3 -3
@@ -561,7 +561,7 @@ var _default$d = /*#__PURE__*/function () {
561
561
  }, {
562
562
  key: "update",
563
563
  value: function () {
564
- var _update = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(data, original, mapping) {
564
+ var _update = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(data, original, mapping) {
565
565
  var _this$_rootStore;
566
566
  var match, finalUrl, finalData, jwt, response;
567
567
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
@@ -630,8 +630,8 @@ var _default$d = /*#__PURE__*/function () {
630
630
  'Content-Type': 'application/json'
631
631
  }),
632
632
  body: finalData ? JSON.stringify(finalData) : undefined
633
- }).then( /*#__PURE__*/function () {
634
- var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(r) {
633
+ }).then(/*#__PURE__*/function () {
634
+ var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(r) {
635
635
  var error, code, err;
636
636
  return _regeneratorRuntime.wrap(function _callee$(_context) {
637
637
  while (1) switch (_context.prev = _context.next) {
@@ -692,7 +692,7 @@ var _default$d = /*#__PURE__*/function () {
692
692
  }, {
693
693
  key: "create",
694
694
  value: function () {
695
- var _create = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee4(data, mapping, mappingData, formData, sessionGuid) {
695
+ var _create = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(data, mapping, mappingData, formData, sessionGuid) {
696
696
  var _this$_rootStore2;
697
697
  var url, createData, jwt, header, match, response;
698
698
  return _regeneratorRuntime.wrap(function _callee4$(_context4) {
@@ -754,8 +754,8 @@ var _default$d = /*#__PURE__*/function () {
754
754
  method: this._createMethod,
755
755
  headers: header,
756
756
  body: createData
757
- }).then( /*#__PURE__*/function () {
758
- var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(r) {
757
+ }).then(/*#__PURE__*/function () {
758
+ var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(r) {
759
759
  var error, code, err;
760
760
  return _regeneratorRuntime.wrap(function _callee3$(_context3) {
761
761
  while (1) switch (_context3.prev = _context3.next) {
@@ -816,7 +816,7 @@ var _default$d = /*#__PURE__*/function () {
816
816
  }, {
817
817
  key: "delete",
818
818
  value: function () {
819
- var _delete2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee6(id, mapping, mappingData, isApi2) {
819
+ var _delete2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6(id, mapping, mappingData, isApi2) {
820
820
  var _this$_rootStore3, _url, _ref6, _response$numItemsDel;
821
821
  var jwt, url, response;
822
822
  return _regeneratorRuntime.wrap(function _callee6$(_context6) {
@@ -863,8 +863,8 @@ var _default$d = /*#__PURE__*/function () {
863
863
  headers: _objectSpread$M({}, jwt ? {
864
864
  Authorization: 'Bearer ' + jwt
865
865
  } : {})
866
- }).then( /*#__PURE__*/function () {
867
- var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee5(r) {
866
+ }).then(/*#__PURE__*/function () {
867
+ var _ref5 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5(r) {
868
868
  var code, error, err;
869
869
  return _regeneratorRuntime.wrap(function _callee5$(_context5) {
870
870
  while (1) switch (_context5.prev = _context5.next) {
@@ -925,7 +925,7 @@ var _default$d = /*#__PURE__*/function () {
925
925
  }, {
926
926
  key: "read",
927
927
  value: function () {
928
- var _read = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee7(mapping, mappingData, sessionGuid) {
928
+ var _read = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee7(mapping, mappingData, sessionGuid) {
929
929
  var _this$_rootStore4;
930
930
  var jwt, response;
931
931
  return _regeneratorRuntime.wrap(function _callee7$(_context7) {
@@ -964,7 +964,7 @@ var _default$d = /*#__PURE__*/function () {
964
964
  }, {
965
965
  key: "readList",
966
966
  value: function () {
967
- var _readList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee8(mapping, mappingData, filterServerSide, sessionGuID, prefilter) {
967
+ var _readList = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee8(mapping, mappingData, filterServerSide, sessionGuID, prefilter) {
968
968
  var _this$_rootStore5,
969
969
  _this2 = this;
970
970
  var jwt, url, response;
@@ -1039,7 +1039,7 @@ var _default$d = /*#__PURE__*/function () {
1039
1039
  }, {
1040
1040
  key: "readInternal",
1041
1041
  value: function () {
1042
- var _readInternal = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee9(baseUrl, jwt, sessionGuid, mapping, mappingData) {
1042
+ var _readInternal = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee9(baseUrl, jwt, sessionGuid, mapping, mappingData) {
1043
1043
  var url, headers, response;
1044
1044
  return _regeneratorRuntime.wrap(function _callee9$(_context9) {
1045
1045
  while (1) switch (_context9.prev = _context9.next) {
@@ -1141,7 +1141,7 @@ var _default$d = /*#__PURE__*/function () {
1141
1141
 
1142
1142
  function _callSuper$6(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$6() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
1143
1143
  function _isNativeReflectConstruct$6() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct$6 = function _isNativeReflectConstruct() { return !!t; })(); }
1144
- function _superPropGet$3(t, e, r, o) { var p = _get(_getPrototypeOf(1 & o ? t.prototype : t), e, r); return 2 & o ? function (t) { return p.apply(r, t); } : p; }
1144
+ function _superPropGet$3(t, e, o, r) { var p = _get(_getPrototypeOf(1 & r ? t.prototype : t), e, o); return 2 & r && "function" == typeof p ? function (t) { return p.apply(o, t); } : p; }
1145
1145
  var _default$c = /*#__PURE__*/function (_ApiHandler) {
1146
1146
  function _default(configuration, root) {
1147
1147
  _classCallCheck(this, _default);
@@ -1151,7 +1151,7 @@ var _default$c = /*#__PURE__*/function (_ApiHandler) {
1151
1151
  return _createClass(_default, [{
1152
1152
  key: "update",
1153
1153
  value: function () {
1154
- var _update = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(data) {
1154
+ var _update = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(data) {
1155
1155
  var result, index, element;
1156
1156
  return _regeneratorRuntime.wrap(function _callee$(_context) {
1157
1157
  while (1) switch (_context.prev = _context.next) {
@@ -1190,7 +1190,7 @@ var _default$c = /*#__PURE__*/function (_ApiHandler) {
1190
1190
  }, {
1191
1191
  key: "create",
1192
1192
  value: function () {
1193
- var _create = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(data, mapping, mappingData) {
1193
+ var _create = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(data, mapping, mappingData) {
1194
1194
  var result, index, element;
1195
1195
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
1196
1196
  while (1) switch (_context2.prev = _context2.next) {
@@ -1262,7 +1262,7 @@ var _default$b = /*#__PURE__*/function (_ApiHandler) {
1262
1262
  }, {
1263
1263
  key: "read",
1264
1264
  value: function () {
1265
- var _read = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(mapping, mappingData) {
1265
+ var _read = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(mapping, mappingData) {
1266
1266
  var _targetMapping, _targetMapping2, data, response, urlField, refField;
1267
1267
  return _regeneratorRuntime.wrap(function _callee$(_context) {
1268
1268
  while (1) switch (_context.prev = _context.next) {
@@ -1313,7 +1313,7 @@ var _default$b = /*#__PURE__*/function (_ApiHandler) {
1313
1313
  }, {
1314
1314
  key: "create",
1315
1315
  value: function () {
1316
- var _create = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(data, mapping, mappingData) {
1316
+ var _create = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(data, mapping, mappingData) {
1317
1317
  var _this$_rootStore;
1318
1318
  var jwt, response, _data;
1319
1319
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
@@ -1375,7 +1375,7 @@ var _default$b = /*#__PURE__*/function (_ApiHandler) {
1375
1375
  }, {
1376
1376
  key: "delete",
1377
1377
  value: function () {
1378
- var _delete2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(id, mapping, mappingData) {
1378
+ var _delete2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(id, mapping, mappingData) {
1379
1379
  var data;
1380
1380
  return _regeneratorRuntime.wrap(function _callee3$(_context3) {
1381
1381
  while (1) switch (_context3.prev = _context3.next) {
@@ -1448,7 +1448,7 @@ var _default$a = /*#__PURE__*/function (_ApiHandler) {
1448
1448
 
1449
1449
  function _callSuper$3(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$3() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
1450
1450
  function _isNativeReflectConstruct$3() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct$3 = function _isNativeReflectConstruct() { return !!t; })(); }
1451
- function _superPropGet$2(t, e, r, o) { var p = _get(_getPrototypeOf(1 & o ? t.prototype : t), e, r); return 2 & o ? function (t) { return p.apply(r, t); } : p; }
1451
+ function _superPropGet$2(t, e, o, r) { var p = _get(_getPrototypeOf(1 & r ? t.prototype : t), e, o); return 2 & r && "function" == typeof p ? function (t) { return p.apply(o, t); } : p; }
1452
1452
  var _default$9 = /*#__PURE__*/function (_ApiHandler) {
1453
1453
  function _default(configuration, rootStore) {
1454
1454
  var _this;
@@ -1504,7 +1504,7 @@ var _default$9 = /*#__PURE__*/function (_ApiHandler) {
1504
1504
 
1505
1505
  function _callSuper$2(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$2() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
1506
1506
  function _isNativeReflectConstruct$2() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct$2 = function _isNativeReflectConstruct() { return !!t; })(); }
1507
- function _superPropGet$1(t, e, r, o) { var p = _get(_getPrototypeOf(1 & o ? t.prototype : t), e, r); return 2 & o ? function (t) { return p.apply(r, t); } : p; }
1507
+ function _superPropGet$1(t, e, o, r) { var p = _get(_getPrototypeOf(1 & r ? t.prototype : t), e, o); return 2 & r && "function" == typeof p ? function (t) { return p.apply(o, t); } : p; }
1508
1508
  var _default$8 = /*#__PURE__*/function (_ApiHandler) {
1509
1509
  function _default(configuration, rootStore) {
1510
1510
  var _this;
@@ -1518,7 +1518,7 @@ var _default$8 = /*#__PURE__*/function (_ApiHandler) {
1518
1518
  return _createClass(_default, [{
1519
1519
  key: "create",
1520
1520
  value: function () {
1521
- var _create = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(data, mapping, mappingData) {
1521
+ var _create = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(data, mapping, mappingData) {
1522
1522
  var _this2 = this;
1523
1523
  var dataWithIds, isSingle, singleData, arrayData, newData, newEntries, index;
1524
1524
  return _regeneratorRuntime.wrap(function _callee$(_context) {
@@ -1620,7 +1620,7 @@ var _default$8 = /*#__PURE__*/function (_ApiHandler) {
1620
1620
  }, {
1621
1621
  key: "update",
1622
1622
  value: function () {
1623
- var _update = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
1623
+ var _update = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
1624
1624
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
1625
1625
  while (1) switch (_context2.prev = _context2.next) {
1626
1626
  case 0:
@@ -1639,7 +1639,7 @@ var _default$8 = /*#__PURE__*/function (_ApiHandler) {
1639
1639
  }, {
1640
1640
  key: "read",
1641
1641
  value: function () {
1642
- var _read = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(mapping, mappingData) {
1642
+ var _read = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(mapping, mappingData) {
1643
1643
  return _regeneratorRuntime.wrap(function _callee3$(_context3) {
1644
1644
  while (1) switch (_context3.prev = _context3.next) {
1645
1645
  case 0:
@@ -1658,7 +1658,7 @@ var _default$8 = /*#__PURE__*/function (_ApiHandler) {
1658
1658
  }, {
1659
1659
  key: "readList",
1660
1660
  value: function () {
1661
- var _readList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee4(mapping, mappingData, filterServerSide) {
1661
+ var _readList = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(mapping, mappingData, filterServerSide) {
1662
1662
  return _regeneratorRuntime.wrap(function _callee4$(_context4) {
1663
1663
  while (1) switch (_context4.prev = _context4.next) {
1664
1664
  case 0:
@@ -12490,7 +12490,7 @@ var _default$5 = /*#__PURE__*/function () {
12490
12490
  }, {
12491
12491
  key: "getApi2SessionGuid",
12492
12492
  value: function () {
12493
- var _getApi2SessionGuid = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(organizationId, api2Location) {
12493
+ var _getApi2SessionGuid = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(organizationId, api2Location) {
12494
12494
  return _regeneratorRuntime.wrap(function _callee$(_context) {
12495
12495
  while (1) switch (_context.prev = _context.next) {
12496
12496
  case 0:
@@ -12509,7 +12509,7 @@ var _default$5 = /*#__PURE__*/function () {
12509
12509
  }, {
12510
12510
  key: "getApi2AuthLoginData",
12511
12511
  value: function () {
12512
- var _getApi2AuthLoginData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(organizationId, api2Location) {
12512
+ var _getApi2AuthLoginData = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(organizationId, api2Location) {
12513
12513
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
12514
12514
  while (1) switch (_context2.prev = _context2.next) {
12515
12515
  case 0:
@@ -12641,7 +12641,7 @@ var DownloadStore = /*#__PURE__*/function () {
12641
12641
  _classCallCheck(this, DownloadStore);
12642
12642
  this._rootStore = _rootStore;
12643
12643
  _defineProperty(this, "executeDownload", /*#__PURE__*/function () {
12644
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(_ref) {
12644
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(_ref) {
12645
12645
  var data, action, catalogCodex, dealerId, currentUrl, _iterator, _step, _loop, download;
12646
12646
  return _regeneratorRuntime.wrap(function _callee$(_context2) {
12647
12647
  while (1) switch (_context2.prev = _context2.next) {
@@ -12764,7 +12764,7 @@ var DownloadStore = /*#__PURE__*/function () {
12764
12764
  return _createClass(DownloadStore, [{
12765
12765
  key: "donwloadFile",
12766
12766
  value: function () {
12767
- var _donwloadFile = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(url, name) {
12767
+ var _donwloadFile = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(url, name) {
12768
12768
  var _this$_rootStore;
12769
12769
  var file, blob;
12770
12770
  return _regeneratorRuntime.wrap(function _callee2$(_context3) {
@@ -12800,7 +12800,7 @@ var DownloadStore = /*#__PURE__*/function () {
12800
12800
  }, {
12801
12801
  key: "connectionFile",
12802
12802
  value: function () {
12803
- var _connectionFile = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(download, data, url, catalogCodex, dealerId) {
12803
+ var _connectionFile = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(download, data, url, catalogCodex, dealerId) {
12804
12804
  var supplierData, fileName, fileContent, retailData;
12805
12805
  return _regeneratorRuntime.wrap(function _callee3$(_context4) {
12806
12806
  while (1) switch (_context4.prev = _context4.next) {
@@ -12840,7 +12840,7 @@ var DownloadStore = /*#__PURE__*/function () {
12840
12840
  }, {
12841
12841
  key: "getConnectionData",
12842
12842
  value: function () {
12843
- var _getConnectionData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee4(data, type) {
12843
+ var _getConnectionData = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(data, type) {
12844
12844
  var validTypes, orgData, _yield$this$_rootStor, zToken;
12845
12845
  return _regeneratorRuntime.wrap(function _callee4$(_context5) {
12846
12846
  while (1) switch (_context5.prev = _context5.next) {
@@ -12904,7 +12904,7 @@ var DownloadStore = /*#__PURE__*/function () {
12904
12904
  }, {
12905
12905
  key: "downloadRequest",
12906
12906
  value: function () {
12907
- var _downloadRequest = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee5(download, data) {
12907
+ var _downloadRequest = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5(download, data) {
12908
12908
  var _this$_rootStore2;
12909
12909
  var url, result, base64File, a, mimeType, res;
12910
12910
  return _regeneratorRuntime.wrap(function _callee5$(_context6) {
@@ -12971,7 +12971,7 @@ var DownloadStore = /*#__PURE__*/function () {
12971
12971
  }, {
12972
12972
  key: "openDownload",
12973
12973
  value: function () {
12974
- var _openDownload = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee6(props) {
12974
+ var _openDownload = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6(props) {
12975
12975
  var _props$data;
12976
12976
  var promises, _iterator2, _step2, dt;
12977
12977
  return _regeneratorRuntime.wrap(function _callee6$(_context7) {
@@ -13443,7 +13443,7 @@ function useFormData (_ref) {
13443
13443
  }));
13444
13444
  }, [loadedData]);
13445
13445
  var apiCall = /*#__PURE__*/function () {
13446
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(newData) {
13446
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(newData) {
13447
13447
  var response, i, original, _newData;
13448
13448
  return _regeneratorRuntime.wrap(function _callee$(_context) {
13449
13449
  while (1) switch (_context.prev = _context.next) {
@@ -13528,7 +13528,7 @@ function useFormData (_ref) {
13528
13528
  var _useDivaCore2 = useDivaCore(),
13529
13529
  mediaHandler = _useDivaCore2.handler.mediaHandler;
13530
13530
  var onSave = /*#__PURE__*/function () {
13531
- var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(values) {
13531
+ var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(values) {
13532
13532
  var newData, finalData, response, i, _configuration$additi, additional, additionalApi, data, errorCode, item;
13533
13533
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
13534
13534
  while (1) switch (_context2.prev = _context2.next) {
@@ -13715,13 +13715,13 @@ function useFormData (_ref) {
13715
13715
  return _setDynamicFields.apply(this, arguments);
13716
13716
  }
13717
13717
  function _setDynamicFields() {
13718
- _setDynamicFields = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee4(oldData, newData) {
13718
+ _setDynamicFields = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(oldData, newData) {
13719
13719
  var items, getDynamicValue, _getDynamicValue, _iterator3, _step3, item, oldDynamicValue, newDynamicValue;
13720
13720
  return _regeneratorRuntime.wrap(function _callee4$(_context4) {
13721
13721
  while (1) switch (_context4.prev = _context4.next) {
13722
13722
  case 0:
13723
13723
  _getDynamicValue = function _getDynamicValue3() {
13724
- _getDynamicValue = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(dynamic, data) {
13724
+ _getDynamicValue = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(dynamic, data) {
13725
13725
  var val, scene, accessorie, room;
13726
13726
  return _regeneratorRuntime.wrap(function _callee3$(_context3) {
13727
13727
  while (1) switch (_context3.prev = _context3.next) {
@@ -14137,7 +14137,7 @@ function useButtonData (_ref) {
14137
14137
  }
14138
14138
  }, [loading]);
14139
14139
  var onClick = /*#__PURE__*/function () {
14140
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
14140
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
14141
14141
  var result, _ref3, _result$error, newData;
14142
14142
  return _regeneratorRuntime.wrap(function _callee$(_context) {
14143
14143
  while (1) switch (_context.prev = _context.next) {
@@ -14604,7 +14604,7 @@ var RichTextEditor = function RichTextEditor(_ref) {
14604
14604
 
14605
14605
  function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
14606
14606
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
14607
- function _superPropGet(t, e, r, o) { var p = _get(_getPrototypeOf(1 & o ? t.prototype : t), e, r); return 2 & o ? function (t) { return p.apply(r, t); } : p; }
14607
+ function _superPropGet(t, e, o, r) { var p = _get(_getPrototypeOf(1 & r ? t.prototype : t), e, o); return 2 & r && "function" == typeof p ? function (t) { return p.apply(o, t); } : p; }
14608
14608
  var _default = /*#__PURE__*/function (_ApiHandler) {
14609
14609
  function _default(configuration, rootStore) {
14610
14610
  var _this;
@@ -14619,7 +14619,7 @@ var _default = /*#__PURE__*/function (_ApiHandler) {
14619
14619
  return _createClass(_default, [{
14620
14620
  key: "getSession",
14621
14621
  value: function () {
14622
- var _getSession = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(organizationId) {
14622
+ var _getSession = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(organizationId) {
14623
14623
  var sessionData;
14624
14624
  return _regeneratorRuntime.wrap(function _callee$(_context) {
14625
14625
  while (1) switch (_context.prev = _context.next) {
@@ -14651,7 +14651,7 @@ var _default = /*#__PURE__*/function (_ApiHandler) {
14651
14651
  }, {
14652
14652
  key: "readAccountList",
14653
14653
  value: function () {
14654
- var _readAccountList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(organizationId, sessionGuid) {
14654
+ var _readAccountList = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(organizationId, sessionGuid) {
14655
14655
  var _this$_api2Location, _response$Accounts;
14656
14656
  var sessionData, url, response;
14657
14657
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
@@ -14708,7 +14708,7 @@ var _default = /*#__PURE__*/function (_ApiHandler) {
14708
14708
  }, {
14709
14709
  key: "readCatalogs",
14710
14710
  value: function () {
14711
- var _readCatalogs = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(accountGuid, mySessionGuid) {
14711
+ var _readCatalogs = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(accountGuid, mySessionGuid) {
14712
14712
  var _yield$this$getCatalo, _yield$this$getCatalo2, data;
14713
14713
  return _regeneratorRuntime.wrap(function _callee3$(_context3) {
14714
14714
  while (1) switch (_context3.prev = _context3.next) {
@@ -14816,7 +14816,7 @@ var _default = /*#__PURE__*/function (_ApiHandler) {
14816
14816
  }, {
14817
14817
  key: "readSupplierData",
14818
14818
  value: function () {
14819
- var _readSupplierData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee4(accountGuid) {
14819
+ var _readSupplierData = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(accountGuid) {
14820
14820
  var response, opts, optsData, key, opvs, opvsData, _key;
14821
14821
  return _regeneratorRuntime.wrap(function _callee4$(_context4) {
14822
14822
  while (1) switch (_context4.prev = _context4.next) {
@@ -14867,7 +14867,7 @@ var _default = /*#__PURE__*/function (_ApiHandler) {
14867
14867
  }, {
14868
14868
  key: "getSessionGuid",
14869
14869
  value: function () {
14870
- var _getSessionGuid = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee5(organizationId) {
14870
+ var _getSessionGuid = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5(organizationId) {
14871
14871
  var sessionGuid, supplierGuid, api2Location, result, _organization$api2Loc, _organization$api2Loc2, _organization$api2Loc3, _organization$api2Loc4, _organization$api2Loc5, organization, _result;
14872
14872
  return _regeneratorRuntime.wrap(function _callee5$(_context5) {
14873
14873
  while (1) switch (_context5.prev = _context5.next) {
@@ -14929,7 +14929,7 @@ var _default = /*#__PURE__*/function (_ApiHandler) {
14929
14929
  }, {
14930
14930
  key: "getAccountSessionGuid",
14931
14931
  value: function () {
14932
- var _getAccountSessionGuid = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee6(accountGuid) {
14932
+ var _getAccountSessionGuid = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6(accountGuid) {
14933
14933
  var _this$_api2Location2;
14934
14934
  var url, response;
14935
14935
  return _regeneratorRuntime.wrap(function _callee6$(_context6) {
@@ -14979,7 +14979,7 @@ var _default = /*#__PURE__*/function (_ApiHandler) {
14979
14979
  }, {
14980
14980
  key: "getCatalogList",
14981
14981
  value: function () {
14982
- var _getCatalogList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee7(accountSessionGuid, dealerCodex) {
14982
+ var _getCatalogList = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee7(accountSessionGuid, dealerCodex) {
14983
14983
  var _this$_api2Location3;
14984
14984
  var url, response;
14985
14985
  return _regeneratorRuntime.wrap(function _callee7$(_context7) {
@@ -15023,7 +15023,7 @@ var _default = /*#__PURE__*/function (_ApiHandler) {
15023
15023
  }, {
15024
15024
  key: "getCatalogListSupplier",
15025
15025
  value: function () {
15026
- var _getCatalogListSupplier = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee8(accountSessionGuid) {
15026
+ var _getCatalogListSupplier = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee8(accountSessionGuid) {
15027
15027
  var _this$_api2Location4;
15028
15028
  var url, response;
15029
15029
  return _regeneratorRuntime.wrap(function _callee8$(_context8) {
@@ -15061,7 +15061,7 @@ var _default = /*#__PURE__*/function (_ApiHandler) {
15061
15061
  }, {
15062
15062
  key: "getJsonCatalogData",
15063
15063
  value: function () {
15064
- var _getJsonCatalogData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee9(catalogCodex) {
15064
+ var _getJsonCatalogData = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee9(catalogCodex) {
15065
15065
  var url, response;
15066
15066
  return _regeneratorRuntime.wrap(function _callee9$(_context9) {
15067
15067
  while (1) switch (_context9.prev = _context9.next) {
@@ -15104,7 +15104,7 @@ var _default = /*#__PURE__*/function (_ApiHandler) {
15104
15104
  }, {
15105
15105
  key: "getSupplierOptions",
15106
15106
  value: function () {
15107
- var _getSupplierOptions = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee10(accountSesssionGuid) {
15107
+ var _getSupplierOptions = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee10(accountSesssionGuid) {
15108
15108
  var url, response;
15109
15109
  return _regeneratorRuntime.wrap(function _callee10$(_context10) {
15110
15110
  while (1) switch (_context10.prev = _context10.next) {
@@ -15146,7 +15146,7 @@ var _default = /*#__PURE__*/function (_ApiHandler) {
15146
15146
  }, {
15147
15147
  key: "getSupplierOptionValues",
15148
15148
  value: function () {
15149
- var _getSupplierOptionValues = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee11(accountSesssionGuid) {
15149
+ var _getSupplierOptionValues = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee11(accountSesssionGuid) {
15150
15150
  var url, response;
15151
15151
  return _regeneratorRuntime.wrap(function _callee11$(_context11) {
15152
15152
  while (1) switch (_context11.prev = _context11.next) {
@@ -15239,7 +15239,7 @@ function useSelectClientRelationCatalog (_ref) {
15239
15239
  setInitialized = _useState14[1];
15240
15240
  useEffect(function () {
15241
15241
  var fetch = /*#__PURE__*/function () {
15242
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
15242
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
15243
15243
  var data, catalogList;
15244
15244
  return _regeneratorRuntime.wrap(function _callee$(_context) {
15245
15245
  while (1) switch (_context.prev = _context.next) {
@@ -15304,7 +15304,7 @@ function useSelectClientRelationCatalog (_ref) {
15304
15304
  }
15305
15305
  }, [supplier]);
15306
15306
  var onSelectSupplier = /*#__PURE__*/function () {
15307
- var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(id, catalogId) {
15307
+ var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(id, catalogId) {
15308
15308
  var _catalogList$, _selectedSupplier, catalogList, supplierData;
15309
15309
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
15310
15310
  while (1) switch (_context2.prev = _context2.next) {
@@ -15381,7 +15381,7 @@ function useSelectClientRelationCatalog (_ref) {
15381
15381
  }();
15382
15382
  useEffect(function () {
15383
15383
  if (selectedCatalog) onLoadingCatalog === null || onLoadingCatalog === void 0 || onLoadingCatalog();
15384
- _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {
15384
+ _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {
15385
15385
  var catalog, catalogData;
15386
15386
  return _regeneratorRuntime.wrap(function _callee3$(_context3) {
15387
15387
  while (1) switch (_context3.prev = _context3.next) {
@@ -15746,7 +15746,7 @@ function useSelectData (_ref) {
15746
15746
  }
15747
15747
  }
15748
15748
  var loadOptions = /*#__PURE__*/function () {
15749
- var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(value) {
15749
+ var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(value) {
15750
15750
  var fetchId, newOptions, serverSideParams;
15751
15751
  return _regeneratorRuntime.wrap(function _callee$(_context) {
15752
15752
  while (1) switch (_context.prev = _context.next) {
@@ -16083,7 +16083,7 @@ function useTranslationHook (item, state) {
16083
16083
  };
16084
16084
  });
16085
16085
  var autoTranslate = /*#__PURE__*/function () {
16086
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
16086
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
16087
16087
  var itemsToTranslate, i, _itemsToTranslate$i, name, value, translation, lang;
16088
16088
  return _regeneratorRuntime.wrap(function _callee$(_context) {
16089
16089
  while (1) switch (_context.prev = _context.next) {
@@ -16179,7 +16179,7 @@ function useTranslationHook (item, state) {
16179
16179
  return itemsToTranslate;
16180
16180
  };
16181
16181
  var getTranslation = /*#__PURE__*/function () {
16182
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(lang, value) {
16182
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(lang, value) {
16183
16183
  var result;
16184
16184
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
16185
16185
  while (1) switch (_context2.prev = _context2.next) {
@@ -16655,7 +16655,7 @@ var Presets = function Presets(_ref) {
16655
16655
  });
16656
16656
  };
16657
16657
  var getPresets = /*#__PURE__*/function () {
16658
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
16658
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
16659
16659
  var res, ids, preset;
16660
16660
  return _regeneratorRuntime.wrap(function _callee$(_context) {
16661
16661
  while (1) switch (_context.prev = _context.next) {
@@ -16848,7 +16848,7 @@ var FormWrapper$1 = function FormWrapper(_ref, ref) {
16848
16848
  });
16849
16849
  };
16850
16850
  var onFinish = /*#__PURE__*/function () {
16851
- var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(values) {
16851
+ var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(values) {
16852
16852
  var newData;
16853
16853
  return _regeneratorRuntime.wrap(function _callee$(_context) {
16854
16854
  while (1) switch (_context.prev = _context.next) {
@@ -17036,7 +17036,7 @@ function useRoleSelectorData (_ref) {
17036
17036
  _useMemo.configuration;
17037
17037
  useEffect(function () {
17038
17038
  var effect = /*#__PURE__*/function () {
17039
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
17039
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
17040
17040
  var newOptions, newSelected, roleData;
17041
17041
  return _regeneratorRuntime.wrap(function _callee$(_context) {
17042
17042
  while (1) switch (_context.prev = _context.next) {
@@ -17093,7 +17093,7 @@ function useRoleSelectorData (_ref) {
17093
17093
  effect();
17094
17094
  }, []);
17095
17095
  var onChangeCascader = /*#__PURE__*/function () {
17096
- var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(value, newRoles) {
17096
+ var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(value, newRoles) {
17097
17097
  var organiztaions, organizationId, updatedRoles;
17098
17098
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
17099
17099
  while (1) switch (_context2.prev = _context2.next) {
@@ -17119,7 +17119,7 @@ function useRoleSelectorData (_ref) {
17119
17119
  };
17120
17120
  }();
17121
17121
  var loadData = /*#__PURE__*/function () {
17122
- var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(selectedOptions) {
17122
+ var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(selectedOptions) {
17123
17123
  var targetOption;
17124
17124
  return _regeneratorRuntime.wrap(function _callee3$(_context3) {
17125
17125
  while (1) switch (_context3.prev = _context3.next) {
@@ -17178,7 +17178,7 @@ function useRoleSelectorData (_ref) {
17178
17178
  }
17179
17179
  };
17180
17180
  var onChangeSelection = /*#__PURE__*/function () {
17181
- var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee4(value) {
17181
+ var _ref5 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(value) {
17182
17182
  var newRoles, newAdded, newRemoved, selectedWithoutAll, organizationId;
17183
17183
  return _regeneratorRuntime.wrap(function _callee4$(_context4) {
17184
17184
  while (1) switch (_context4.prev = _context4.next) {
@@ -17280,7 +17280,7 @@ function useRoleSelectorData (_ref) {
17280
17280
  };
17281
17281
  }();
17282
17282
  var save = /*#__PURE__*/function () {
17283
- var _ref6 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee5() {
17283
+ var _ref6 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5() {
17284
17284
  var _iterator2, _step2, role, _iterator4, _step4, organization, _iterator3, _step3, _role, _iterator5, _step5, _organization;
17285
17285
  return _regeneratorRuntime.wrap(function _callee5$(_context5) {
17286
17286
  while (1) switch (_context5.prev = _context5.next) {
@@ -17411,7 +17411,7 @@ function updateRoles(_x5, _x6, _x7, _x8, _x9, _x10, _x11) {
17411
17411
  return _updateRoles.apply(this, arguments);
17412
17412
  }
17413
17413
  function _updateRoles() {
17414
- _updateRoles = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee6(apiHandler, userId, roles, addedRoles, removedRoles, organizationIds, currentOrganization) {
17414
+ _updateRoles = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6(apiHandler, userId, roles, addedRoles, removedRoles, organizationIds, currentOrganization) {
17415
17415
  var newRoles, userRoles, _iterator6, _step6, _loop2;
17416
17416
  return _regeneratorRuntime.wrap(function _callee6$(_context7) {
17417
17417
  while (1) switch (_context7.prev = _context7.next) {
@@ -17517,7 +17517,7 @@ function addUserRole(_x12, _x13, _x14, _x15) {
17517
17517
  return _addUserRole.apply(this, arguments);
17518
17518
  }
17519
17519
  function _addUserRole() {
17520
- _addUserRole = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee7(apiHandler, userId, roleId, organizationId) {
17520
+ _addUserRole = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee7(apiHandler, userId, roleId, organizationId) {
17521
17521
  var mapping;
17522
17522
  return _regeneratorRuntime.wrap(function _callee7$(_context8) {
17523
17523
  while (1) switch (_context8.prev = _context8.next) {
@@ -17554,7 +17554,7 @@ function deleteUserRole(_x16, _x17, _x18, _x19) {
17554
17554
  return _deleteUserRole.apply(this, arguments);
17555
17555
  }
17556
17556
  function _deleteUserRole() {
17557
- _deleteUserRole = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee8(apiHandler, userId, roleId, organizationId) {
17557
+ _deleteUserRole = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee8(apiHandler, userId, roleId, organizationId) {
17558
17558
  var mapping;
17559
17559
  return _regeneratorRuntime.wrap(function _callee8$(_context9) {
17560
17560
  while (1) switch (_context9.prev = _context9.next) {
@@ -17591,7 +17591,7 @@ function fetchUserRoles(_x20, _x21, _x22) {
17591
17591
  return _fetchUserRoles.apply(this, arguments);
17592
17592
  }
17593
17593
  function _fetchUserRoles() {
17594
- _fetchUserRoles = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee9(apiHandler, userId, organizationId) {
17594
+ _fetchUserRoles = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee9(apiHandler, userId, organizationId) {
17595
17595
  var mapping, result;
17596
17596
  return _regeneratorRuntime.wrap(function _callee9$(_context10) {
17597
17597
  while (1) switch (_context10.prev = _context10.next) {
@@ -17626,7 +17626,7 @@ function fetchOptions(_x23, _x24, _x25) {
17626
17626
  return _fetchOptions.apply(this, arguments);
17627
17627
  }
17628
17628
  function _fetchOptions() {
17629
- _fetchOptions = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee10(apiHandler, userId, selectedOption) {
17629
+ _fetchOptions = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee10(apiHandler, userId, selectedOption) {
17630
17630
  var _selectedOption$value;
17631
17631
  var map, result, options;
17632
17632
  return _regeneratorRuntime.wrap(function _callee10$(_context11) {
@@ -17766,7 +17766,7 @@ function generateCSV(_x, _x2) {
17766
17766
  return _generateCSV.apply(this, arguments);
17767
17767
  }
17768
17768
  function _generateCSV() {
17769
- _generateCSV = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(exportParams, csvData) {
17769
+ _generateCSV = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(exportParams, csvData) {
17770
17770
  var count, current, total, filterServerSide, res, data, _iterator, _step, parent, line, _iterator2, _step2, field;
17771
17771
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
17772
17772
  while (1) switch (_context2.prev = _context2.next) {
@@ -17850,7 +17850,7 @@ function _generateCSV() {
17850
17850
  return _generateCSV.apply(this, arguments);
17851
17851
  }
17852
17852
  var generateCSVData = /*#__PURE__*/function () {
17853
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(exportParam) {
17853
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(exportParam) {
17854
17854
  var csvData;
17855
17855
  return _regeneratorRuntime.wrap(function _callee$(_context) {
17856
17856
  while (1) switch (_context.prev = _context.next) {
@@ -17953,7 +17953,7 @@ function useRelationSelectorData (_ref) {
17953
17953
  }, []);
17954
17954
  useEffect(function () {}, [items]);
17955
17955
  var getActiveItem = /*#__PURE__*/function () {
17956
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(filter) {
17956
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(filter) {
17957
17957
  var currPage, acItems, query, loadedItems;
17958
17958
  return _regeneratorRuntime.wrap(function _callee$(_context) {
17959
17959
  while (1) switch (_context.prev = _context.next) {
@@ -17998,7 +17998,7 @@ function useRelationSelectorData (_ref) {
17998
17998
  return _searchItems.apply(this, arguments);
17999
17999
  }
18000
18000
  function _searchItems() {
18001
- _searchItems = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(search) {
18001
+ _searchItems = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(search) {
18002
18002
  var _configuration$filter2;
18003
18003
  var roles, filter, _iterator3, _step3, searchField, _yield$apiHandler$get, _configuration$search, _configuration$search2, _mapToCascaderData;
18004
18004
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
@@ -18119,7 +18119,7 @@ function useRelationSelectorData (_ref) {
18119
18119
  return _getSplittedItems.apply(this, arguments);
18120
18120
  }
18121
18121
  function _getSplittedItems() {
18122
- _getSplittedItems = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(data) {
18122
+ _getSplittedItems = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(data) {
18123
18123
  var _configuration$split, _configuration$split2;
18124
18124
  var current,
18125
18125
  _data$configuration$s,
@@ -18359,7 +18359,7 @@ function useRelationSelectorData (_ref) {
18359
18359
  return _save.apply(this, arguments);
18360
18360
  }
18361
18361
  function _save() {
18362
- _save = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee4() {
18362
+ _save = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4() {
18363
18363
  var index, _deletedObjects$index, relatedId, _configuration$split4, _index;
18364
18364
  return _regeneratorRuntime.wrap(function _callee4$(_context4) {
18365
18365
  while (1) switch (_context4.prev = _context4.next) {
@@ -18454,7 +18454,7 @@ function useRelationSelectorData (_ref) {
18454
18454
  return _generateExcel.apply(this, arguments);
18455
18455
  }
18456
18456
  function _generateExcel() {
18457
- _generateExcel = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee5() {
18457
+ _generateExcel = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5() {
18458
18458
  var _configuration$split5;
18459
18459
  return _regeneratorRuntime.wrap(function _callee5$(_context5) {
18460
18460
  while (1) switch (_context5.prev = _context5.next) {
@@ -18572,7 +18572,7 @@ function ActionButton (_ref) {
18572
18572
  }
18573
18573
  }, []);
18574
18574
  var onClick = /*#__PURE__*/function () {
18575
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
18575
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
18576
18576
  var apiInterface, response, toSwitch, _iterator2, _step2, element, result;
18577
18577
  return _regeneratorRuntime.wrap(function _callee$(_context) {
18578
18578
  while (1) switch (_context.prev = _context.next) {
@@ -18782,7 +18782,7 @@ function simpleChangeValue(_x, _x2, _x3) {
18782
18782
  return _simpleChangeValue.apply(this, arguments);
18783
18783
  }
18784
18784
  function _simpleChangeValue() {
18785
- _simpleChangeValue = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(action, data, root) {
18785
+ _simpleChangeValue = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(action, data, root) {
18786
18786
  var apiInterface, response, fieldsToUpdate, i;
18787
18787
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
18788
18788
  while (1) switch (_context2.prev = _context2.next) {
@@ -19308,7 +19308,7 @@ function useFormListData (_ref) {
19308
19308
  })) || []);
19309
19309
  }, [data]);
19310
19310
  var onChange = /*#__PURE__*/function () {
19311
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(index, data) {
19311
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(index, data) {
19312
19312
  var _response, response, newState, _e$message;
19313
19313
  return _regeneratorRuntime.wrap(function _callee$(_context) {
19314
19314
  while (1) switch (_context.prev = _context.next) {
@@ -19555,7 +19555,7 @@ function useSelectOrCreateData (_ref) {
19555
19555
  };
19556
19556
  var fetch = React.useMemo(function () {
19557
19557
  var loadOptions = /*#__PURE__*/function () {
19558
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(value) {
19558
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(value) {
19559
19559
  var _configuration$select3, _configuration$select4, fetchId, newOptions;
19560
19560
  return _regeneratorRuntime.wrap(function _callee$(_context) {
19561
19561
  while (1) switch (_context.prev = _context.next) {
@@ -19644,7 +19644,7 @@ function useSelectOrCreateData (_ref) {
19644
19644
  }
19645
19645
  };
19646
19646
  var onChangeInternal = /*#__PURE__*/function () {
19647
- var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(data) {
19647
+ var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(data) {
19648
19648
  var returnData, i, _configuration$additi, additional, additionalApi, _data;
19649
19649
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
19650
19650
  while (1) switch (_context2.prev = _context2.next) {
@@ -19914,7 +19914,7 @@ function useListData (_ref) {
19914
19914
  updatedObject = _useState8[0],
19915
19915
  setUpdatedObject = _useState8[1];
19916
19916
  useEffect(function () {
19917
- _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
19917
+ _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
19918
19918
  var result, initData;
19919
19919
  return _regeneratorRuntime.wrap(function _callee$(_context) {
19920
19920
  while (1) switch (_context.prev = _context.next) {
@@ -20030,7 +20030,7 @@ function useListData (_ref) {
20030
20030
  return _save.apply(this, arguments);
20031
20031
  }
20032
20032
  function _save() {
20033
- _save = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
20033
+ _save = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
20034
20034
  var i, relatedId, _i, _configuration$itemMa8, itemUpdate, parts, key, j, obj, comparedata;
20035
20035
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
20036
20036
  while (1) switch (_context2.prev = _context2.next) {
@@ -20141,7 +20141,7 @@ var ListWrapper = function ListWrapper(props, ref) {
20141
20141
  var actions = [];
20142
20142
  if (item.itemUpdate) {
20143
20143
  if (item.itemUpdate.type === 'boolean') {
20144
- actions.push( /*#__PURE__*/jsx(Checkbox, {
20144
+ actions.push(/*#__PURE__*/jsx(Checkbox, {
20145
20145
  checked: item.itemUpdate.value,
20146
20146
  disabled: !item.itemUpdate.multiselect && item.itemUpdate.value,
20147
20147
  onChange: function onChange(e) {
@@ -20152,7 +20152,7 @@ var ListWrapper = function ListWrapper(props, ref) {
20152
20152
  }
20153
20153
  }
20154
20154
  if (configuration.canDelete) {
20155
- actions.push( /*#__PURE__*/jsx(DeleteOutlined, {
20155
+ actions.push(/*#__PURE__*/jsx(DeleteOutlined, {
20156
20156
  onClick: function onClick() {
20157
20157
  return deleteItem(item, index);
20158
20158
  }
@@ -20255,7 +20255,7 @@ function useJsonEditorData (id, setCanSave, onChange, onError) {
20255
20255
  return _save.apply(this, arguments);
20256
20256
  }
20257
20257
  function _save() {
20258
- _save = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(original) {
20258
+ _save = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(original) {
20259
20259
  var data;
20260
20260
  return _regeneratorRuntime.wrap(function _callee$(_context) {
20261
20261
  while (1) switch (_context.prev = _context.next) {
@@ -20304,7 +20304,7 @@ function useJsonEditorData (id, setCanSave, onChange, onError) {
20304
20304
  return _previewMode.apply(this, arguments);
20305
20305
  }
20306
20306
  function _previewMode() {
20307
- _previewMode = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
20307
+ _previewMode = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
20308
20308
  var response;
20309
20309
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
20310
20310
  while (1) switch (_context2.prev = _context2.next) {
@@ -20343,7 +20343,7 @@ function useJsonEditorData (id, setCanSave, onChange, onError) {
20343
20343
  return _editMode.apply(this, arguments);
20344
20344
  }
20345
20345
  function _editMode() {
20346
- _editMode = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {
20346
+ _editMode = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {
20347
20347
  return _regeneratorRuntime.wrap(function _callee3$(_context3) {
20348
20348
  while (1) switch (_context3.prev = _context3.next) {
20349
20349
  case 0:
@@ -20472,7 +20472,7 @@ function canvasPreview(_x, _x2, _x3) {
20472
20472
  return _canvasPreview.apply(this, arguments);
20473
20473
  }
20474
20474
  function _canvasPreview() {
20475
- _canvasPreview = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(image, canvas, crop) {
20475
+ _canvasPreview = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(image, canvas, crop) {
20476
20476
  var scale,
20477
20477
  rotate,
20478
20478
  ctx,
@@ -20596,7 +20596,7 @@ var ImageCropper = function ImageCropper(_ref, ref) {
20596
20596
  return _getFile.apply(this, arguments);
20597
20597
  }
20598
20598
  function _getFile() {
20599
- _getFile = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
20599
+ _getFile = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
20600
20600
  var blob;
20601
20601
  return _regeneratorRuntime.wrap(function _callee$(_context) {
20602
20602
  while (1) switch (_context.prev = _context.next) {
@@ -20618,7 +20618,7 @@ var ImageCropper = function ImageCropper(_ref, ref) {
20618
20618
  return _save.apply(this, arguments);
20619
20619
  }
20620
20620
  function _save() {
20621
- _save = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
20621
+ _save = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
20622
20622
  var renderjob, file, fd;
20623
20623
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
20624
20624
  while (1) switch (_context2.prev = _context2.next) {
@@ -20758,8 +20758,8 @@ function useDescriptions (_ref) {
20758
20758
  setDisplayData = _useState6[1];
20759
20759
  useEffect(function () {
20760
20760
  setLoading(true);
20761
- apiHandler.read(configuration.mapping).then( /*#__PURE__*/function () {
20762
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(data) {
20761
+ apiHandler.read(configuration.mapping).then(/*#__PURE__*/function () {
20762
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(data) {
20763
20763
  return _regeneratorRuntime.wrap(function _callee$(_context) {
20764
20764
  while (1) switch (_context.prev = _context.next) {
20765
20765
  case 0:
@@ -20783,7 +20783,7 @@ function useDescriptions (_ref) {
20783
20783
  }());
20784
20784
  }, [root.dataStore.selectedOrganizationId]);
20785
20785
  var onUpdate = /*#__PURE__*/function () {
20786
- var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(data) {
20786
+ var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(data) {
20787
20787
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
20788
20788
  while (1) switch (_context2.prev = _context2.next) {
20789
20789
  case 0:
@@ -20820,7 +20820,7 @@ function getDisplayData(_x3, _x4, _x5) {
20820
20820
  return _getDisplayData.apply(this, arguments);
20821
20821
  }
20822
20822
  function _getDisplayData() {
20823
- _getDisplayData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(items, data, root) {
20823
+ _getDisplayData = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(items, data, root) {
20824
20824
  var displayData, _iterator, _step, _loop;
20825
20825
  return _regeneratorRuntime.wrap(function _callee3$(_context4) {
20826
20826
  while (1) switch (_context4.prev = _context4.next) {
@@ -20997,8 +20997,8 @@ var FileUploadWrapper = function FileUploadWrapper(_ref) {
20997
20997
  themeType: root.contentStore.theme,
20998
20998
  createRef: false,
20999
20999
  disabled: !organizations.length,
21000
- onChange: ( /*#__PURE__*/function () {
21001
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(file) {
21000
+ onChange: (/*#__PURE__*/function () {
21001
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(file) {
21002
21002
  var _iterator, _step, _save, _ref3, organization;
21003
21003
  return _regeneratorRuntime.wrap(function _callee$(_context) {
21004
21004
  while (1) switch (_context.prev = _context.next) {
@@ -21275,7 +21275,7 @@ var useMediaUpload = function useMediaUpload(_ref) {
21275
21275
  });
21276
21276
  }, [root.dataStore.selectedOrganizationId]);
21277
21277
  var onRemove = /*#__PURE__*/function () {
21278
- var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
21278
+ var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
21279
21279
  var file;
21280
21280
  return _regeneratorRuntime.wrap(function _callee$(_context) {
21281
21281
  while (1) switch (_context.prev = _context.next) {
@@ -21306,7 +21306,7 @@ var useMediaUpload = function useMediaUpload(_ref) {
21306
21306
  };
21307
21307
  }();
21308
21308
  var customRequest = /*#__PURE__*/function () {
21309
- var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(_ref4) {
21309
+ var _ref5 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(_ref4) {
21310
21310
  var file, formData, mediaitem, response;
21311
21311
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
21312
21312
  while (1) switch (_context2.prev = _context2.next) {
@@ -21905,7 +21905,7 @@ var UtilStore = /*#__PURE__*/function () {
21905
21905
  return _createClass(UtilStore, null, [{
21906
21906
  key: "setArViewerSettings",
21907
21907
  value: function () {
21908
- var _setArViewerSettings = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(handler) {
21908
+ var _setArViewerSettings = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(handler) {
21909
21909
  return _regeneratorRuntime.wrap(function _callee$(_context) {
21910
21910
  while (1) switch (_context.prev = _context.next) {
21911
21911
  case 0:
@@ -22101,7 +22101,7 @@ var CustomCell = function CustomCell(_ref2) {
22101
22101
  restProps = _objectWithoutProperties(_ref2, _excluded2);
22102
22102
  var form = useContext(EditableContext);
22103
22103
  var save = /*#__PURE__*/function () {
22104
- var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
22104
+ var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
22105
22105
  var values;
22106
22106
  return _regeneratorRuntime.wrap(function _callee$(_context) {
22107
22107
  while (1) switch (_context.prev = _context.next) {
@@ -22236,7 +22236,7 @@ function useAGHistogram (_ref) {
22236
22236
  fetch();
22237
22237
  }, [globalFilter, isExpandable]);
22238
22238
  var parseDate = /*#__PURE__*/function () {
22239
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(data) {
22239
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(data) {
22240
22240
  var i, date;
22241
22241
  return _regeneratorRuntime.wrap(function _callee$(_context) {
22242
22242
  while (1) switch (_context.prev = _context.next) {
@@ -22259,7 +22259,7 @@ function useAGHistogram (_ref) {
22259
22259
  };
22260
22260
  }();
22261
22261
  var fetch = /*#__PURE__*/function () {
22262
- var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
22262
+ var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
22263
22263
  var mappingData, i, rawData;
22264
22264
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
22265
22265
  while (1) switch (_context2.prev = _context2.next) {
@@ -22332,7 +22332,7 @@ function useAGHistogram (_ref) {
22332
22332
  };
22333
22333
  }();
22334
22334
  var getDataMappingValues = /*#__PURE__*/function () {
22335
- var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(key, value) {
22335
+ var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(key, value) {
22336
22336
  var _globalFilter$select, _globalFilter$timeSta, _globalFilter$timeSta2, _globalFilter$select2, _globalFilter$select3, _globalFilter$select4;
22337
22337
  return _regeneratorRuntime.wrap(function _callee3$(_context3) {
22338
22338
  while (1) switch (_context3.prev = _context3.next) {
@@ -22904,7 +22904,7 @@ function CopyButton(_ref3) {
22904
22904
  type: 'Table'
22905
22905
  }, root);
22906
22906
  var onCopy = /*#__PURE__*/function () {
22907
- var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
22907
+ var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
22908
22908
  var _state$configuration$22;
22909
22909
  var copyAction, _iterator3, _step3, selectedRow;
22910
22910
  return _regeneratorRuntime.wrap(function _callee$(_context) {
@@ -22945,7 +22945,7 @@ function CopyButton(_ref3) {
22945
22945
  };
22946
22946
  }();
22947
22947
  var onCopyAction = /*#__PURE__*/function () {
22948
- var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {
22948
+ var _ref5 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {
22949
22949
  var _state$configuration$23, _state$configuration$24;
22950
22950
  var copyAction, id, filter, data;
22951
22951
  return _regeneratorRuntime.wrap(function _callee3$(_context3) {
@@ -22985,7 +22985,7 @@ function CopyButton(_ref3) {
22985
22985
  mapping: (_state$configuration$24 = state.configuration.createAction) === null || _state$configuration$24 === void 0 ? void 0 : _state$configuration$24.mapping,
22986
22986
  mappingData: data.data[0],
22987
22987
  callback: function () {
22988
- var _callback = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(e) {
22988
+ var _callback = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(e) {
22989
22989
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
22990
22990
  while (1) switch (_context2.prev = _context2.next) {
22991
22991
  case 0:
@@ -23111,7 +23111,7 @@ function BulkAction(_ref6) {
23111
23111
  return true;
23112
23112
  };
23113
23113
  var callback = /*#__PURE__*/function () {
23114
- var _ref7 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee4(updatedData) {
23114
+ var _ref7 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(updatedData) {
23115
23115
  var _action$callback;
23116
23116
  var apiInterface, data, i, dataEntry;
23117
23117
  return _regeneratorRuntime.wrap(function _callee4$(_context4) {
@@ -24131,7 +24131,7 @@ function useTableData$1 (_ref) {
24131
24131
  }));
24132
24132
  };
24133
24133
  var onDelete = /*#__PURE__*/function () {
24134
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
24134
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
24135
24135
  var newData, deleted, _loop, mappingData, index, total, pages, current, data;
24136
24136
  return _regeneratorRuntime.wrap(function _callee$(_context2) {
24137
24137
  while (1) switch (_context2.prev = _context2.next) {
@@ -24426,7 +24426,7 @@ function useTableData (_ref) {
24426
24426
  });
24427
24427
  var filterServerSide = _typeof(configuration.apiInterface) == 'object' && _typeof(configuration.apiInterface.read) == 'object' ? (_configuration$apiInt = configuration.apiInterface.read) === null || _configuration$apiInt === void 0 ? void 0 : _configuration$apiInt.filterServerSide : false;
24428
24428
  var apiCreate = /*#__PURE__*/function () {
24429
- var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(newData) {
24429
+ var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(newData) {
24430
24430
  var response, fd;
24431
24431
  return _regeneratorRuntime.wrap(function _callee$(_context) {
24432
24432
  while (1) switch (_context.prev = _context.next) {
@@ -24596,7 +24596,7 @@ function useTableData (_ref) {
24596
24596
  return title;
24597
24597
  }, [configuration.title, parentData]);
24598
24598
  var onChange = /*#__PURE__*/function () {
24599
- var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(p) {
24599
+ var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(p) {
24600
24600
  var _configuration$filter9, _configuration$filter10, _configuration$filter11, _prefilter$select, _configuration$filter12, _configuration$filter13;
24601
24601
  var prefilter,
24602
24602
  refresh,
@@ -24707,7 +24707,7 @@ function useTableData (_ref) {
24707
24707
  }));
24708
24708
  };
24709
24709
  var onDelete = /*#__PURE__*/function () {
24710
- var _ref7 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {
24710
+ var _ref7 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {
24711
24711
  var _configuration$apiInt2;
24712
24712
  var newData, newInitData, deleted, userPermissions, _loop, mappingData, deleteResult, _ret, index, total, pages, current, _configuration$filter15, _configuration$filter16, data;
24713
24713
  return _regeneratorRuntime.wrap(function _callee3$(_context4) {
@@ -25067,7 +25067,7 @@ function useAGGrid (_ref) {
25067
25067
  return _readProperties.apply(this, arguments);
25068
25068
  }
25069
25069
  function _readProperties() {
25070
- _readProperties = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(newCatalog) {
25070
+ _readProperties = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(newCatalog) {
25071
25071
  var res, rdat, _iterator, _step, mergeEntry, i, merged, first, _iterator2, _step2, element, val;
25072
25072
  return _regeneratorRuntime.wrap(function _callee$(_context) {
25073
25073
  while (1) switch (_context.prev = _context.next) {
@@ -26350,7 +26350,7 @@ function useTransformJson (_ref) {
26350
26350
  apiHandler = _useMemo.apiHandler,
26351
26351
  configuration = _useMemo.configuration;
26352
26352
  var onDelete = /*#__PURE__*/function () {
26353
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
26353
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
26354
26354
  return _regeneratorRuntime.wrap(function _callee$(_context) {
26355
26355
  while (1) switch (_context.prev = _context.next) {
26356
26356
  case 0:
@@ -26908,7 +26908,7 @@ function useCatalogEditor (id) {
26908
26908
  return _getSessionGuid.apply(this, arguments);
26909
26909
  }
26910
26910
  function _getSessionGuid() {
26911
- _getSessionGuid = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
26911
+ _getSessionGuid = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
26912
26912
  var result;
26913
26913
  return _regeneratorRuntime.wrap(function _callee$(_context) {
26914
26914
  while (1) switch (_context.prev = _context.next) {
@@ -26943,7 +26943,7 @@ function useCatalogEditor (id) {
26943
26943
  return _exportOptionTree.apply(this, arguments);
26944
26944
  }
26945
26945
  function _exportOptionTree() {
26946
- _exportOptionTree = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(catalogId, onlyOptAndOpvs) {
26946
+ _exportOptionTree = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(catalogId, onlyOptAndOpvs) {
26947
26947
  var onlyOptAndOpvsString, url, body;
26948
26948
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
26949
26949
  while (1) switch (_context2.prev = _context2.next) {
@@ -26982,7 +26982,7 @@ function useCatalogEditor (id) {
26982
26982
  return _startImport.apply(this, arguments);
26983
26983
  }
26984
26984
  function _startImport() {
26985
- _startImport = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(fileName, catalogId, deleteExistingOPVChilds, deleteDataNotExistingInExcel) {
26985
+ _startImport = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(fileName, catalogId, deleteExistingOPVChilds, deleteDataNotExistingInExcel) {
26986
26986
  var formData;
26987
26987
  return _regeneratorRuntime.wrap(function _callee3$(_context3) {
26988
26988
  while (1) switch (_context3.prev = _context3.next) {
@@ -27092,7 +27092,7 @@ function DragDropUpload(_ref) {
27092
27092
  return _onClickImport.apply(this, arguments);
27093
27093
  }
27094
27094
  function _onClickImport() {
27095
- _onClickImport = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
27095
+ _onClickImport = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
27096
27096
  var result;
27097
27097
  return _regeneratorRuntime.wrap(function _callee$(_context) {
27098
27098
  while (1) switch (_context.prev = _context.next) {
@@ -27206,7 +27206,7 @@ function CatalogEditor(_ref) {
27206
27206
  return _startExport.apply(this, arguments);
27207
27207
  }
27208
27208
  function _startExport() {
27209
- _startExport = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
27209
+ _startExport = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
27210
27210
  var result;
27211
27211
  return _regeneratorRuntime.wrap(function _callee$(_context) {
27212
27212
  while (1) switch (_context.prev = _context.next) {
@@ -27417,7 +27417,7 @@ function TablePackages () {
27417
27417
  icon: /*#__PURE__*/jsx(UploadOutlined$1, {}),
27418
27418
  name: t('backoffice.idmEnricher.packages.label.publish'),
27419
27419
  action: function () {
27420
- var _action = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(_ref3) {
27420
+ var _action = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(_ref3) {
27421
27421
  var selectedNodes, context;
27422
27422
  return _regeneratorRuntime.wrap(function _callee$(_context) {
27423
27423
  while (1) switch (_context.prev = _context.next) {
@@ -29929,7 +29929,7 @@ function useWysiwyg$1(_ref) {
29929
29929
  if (visible) setDoReset(true);
29930
29930
  }, [visible]);
29931
29931
  var loadMask = /*#__PURE__*/function () {
29932
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(id) {
29932
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(id) {
29933
29933
  var jwt, d;
29934
29934
  return _regeneratorRuntime.wrap(function _callee$(_context) {
29935
29935
  while (1) switch (_context.prev = _context.next) {
@@ -29978,7 +29978,7 @@ function useWysiwyg$1(_ref) {
29978
29978
  }
29979
29979
  }, [tool.parameters.packageId]);
29980
29980
  var onEventCalled = /*#__PURE__*/function () {
29981
- var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(e) {
29981
+ var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(e) {
29982
29982
  var _articles$, catalogData, articles, key, article;
29983
29983
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
29984
29984
  while (1) switch (_context2.prev = _context2.next) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-backoffice",
3
- "version": "24.11.0-beta.36",
3
+ "version": "24.11.0-beta.37",
4
4
  "license": "COMMERCIAL",
5
5
  "devDependencies": {
6
6
  "@testing-library/jest-dom": "^5.15.0",
@@ -16,7 +16,7 @@
16
16
  "@ant-design/icons": "5.0.1",
17
17
  "@babel/runtime": "7.18.0",
18
18
  "@crystaldesign/content-item": "24.11.0-beta.10",
19
- "@crystaldesign/spreadsheet": "24.11.0-beta.36",
19
+ "@crystaldesign/spreadsheet": "24.11.0-beta.37",
20
20
  "@google/model-viewer": "3.4.0",
21
21
  "@tinymce/tinymce-react": "^3.13.0",
22
22
  "ag-charts-community": "^9.3.1",
@@ -53,5 +53,5 @@
53
53
  },
54
54
  "module": "build/esm/index.js",
55
55
  "types": "./build/types/backoffice/src/index.d.ts",
56
- "gitHead": "b833e445399575635b9f6a5c6952ebded19853ef"
56
+ "gitHead": "5d97d8aefbfe3433ca9884a39d60174a9ffc2db5"
57
57
  }