@crystaldesign/diva-backoffice 25.5.0-beta.24 → 25.5.0-beta.25

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.
@@ -151,8 +151,8 @@ import PushpinOutlined from '@ant-design/icons/lib/icons/PushpinOutlined';
151
151
  function _createForOfIteratorHelper$n(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$n(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
152
152
  function _unsupportedIterableToArray$n(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$n(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$n(r, a) : void 0; } }
153
153
  function _arrayLikeToArray$n(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
154
- function ownKeys$Y(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
155
- function _objectSpread$Y(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$Y(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$Y(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
154
+ function ownKeys$Z(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
155
+ function _objectSpread$Z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$Z(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$Z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
156
156
  var LOG$e = getLogger('Backoffice', 'ApplyMapping');
157
157
  function applyMapping (_ref) {
158
158
  var mappable = _ref.mappable,
@@ -173,10 +173,10 @@ function applyMapping (_ref) {
173
173
  var newValue = {};
174
174
  newValue[newKey] = valueToAdd;
175
175
  if ((startValue === null || startValue === void 0 ? void 0 : startValue[newKey]) != undefined) {
176
- if (_typeof(startValue[newKey]) == 'object') startValue[newKey] = _objectSpread$Y(_objectSpread$Y({}, startValue[newKey]), valueToAdd);else startValue[newKey] = type == 'addToSourceValue' ? startValue[newKey] + valueToAdd : valueToAdd;
176
+ if (_typeof(startValue[newKey]) == 'object') startValue[newKey] = _objectSpread$Z(_objectSpread$Z({}, startValue[newKey]), valueToAdd);else startValue[newKey] = type == 'addToSourceValue' ? startValue[newKey] + valueToAdd : valueToAdd;
177
177
  return startValue;
178
178
  }
179
- if (newIdx == 1) return _objectSpread$Y(_objectSpread$Y({}, startValue), newValue);
179
+ if (newIdx == 1) return _objectSpread$Z(_objectSpread$Z({}, startValue), newValue);
180
180
  return _getTarget(idx + 1, keys, startValue, newValue);
181
181
  };
182
182
  returnValue = _getTarget(0, key.split('.'), returnValue, value);
@@ -479,8 +479,8 @@ function getLeafColumns(columns) {
479
479
  });
480
480
  }
481
481
 
482
- function ownKeys$X(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
483
- function _objectSpread$X(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$X(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$X(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
482
+ function ownKeys$Y(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
483
+ function _objectSpread$Y(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$Y(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$Y(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
484
484
  var LOG$d = getLogger('Backoffice', 'ApiHandler');
485
485
  var jp = require('jsonpath');
486
486
  var _default$d = /*#__PURE__*/function () {
@@ -659,7 +659,7 @@ var _default$d = /*#__PURE__*/function () {
659
659
  _context2.next = 20;
660
660
  return fetch(finalUrl, {
661
661
  method: this._updateMethod,
662
- headers: _objectSpread$X(_objectSpread$X({}, jwt ? {
662
+ headers: _objectSpread$Y(_objectSpread$Y({}, jwt ? {
663
663
  Authorization: 'Bearer ' + jwt
664
664
  } : {}), {}, {
665
665
  'Content-Type': 'application/json'
@@ -752,7 +752,7 @@ var _default$d = /*#__PURE__*/function () {
752
752
  rootStore: this._rootStore,
753
753
  fallBackToParams: true
754
754
  });
755
- if (data) createData = _objectSpread$X({}, data);
755
+ if (data) createData = _objectSpread$Y({}, data);
756
756
  } else if (data !== undefined) {
757
757
  createData = applyMapping({
758
758
  mappable: data,
@@ -1014,7 +1014,7 @@ var _default$d = /*#__PURE__*/function () {
1014
1014
  throw new Error('Read List endpoint is missing in configuration.');
1015
1015
  case 2:
1016
1016
  jwt = (_this$_rootStore5 = this._rootStore) === null || _this$_rootStore5 === void 0 ? void 0 : _this$_rootStore5.dataStore.jwt;
1017
- url = filterServerSide ? parseServersideFilters(_objectSpread$X(_objectSpread$X({}, filterServerSide), {}, {
1017
+ url = filterServerSide ? parseServersideFilters(_objectSpread$Y(_objectSpread$Y({}, filterServerSide), {}, {
1018
1018
  columns: this._filterFields ? filterServerSide.columns : undefined,
1019
1019
  baseUrl: this._readListUrl,
1020
1020
  prefilter: prefilter
@@ -1034,7 +1034,7 @@ var _default$d = /*#__PURE__*/function () {
1034
1034
  });
1035
1035
  case 6:
1036
1036
  response = _context8.sent;
1037
- return _context8.abrupt("return", _objectSpread$X(_objectSpread$X({}, response), {}, {
1037
+ return _context8.abrupt("return", _objectSpread$Y(_objectSpread$Y({}, response), {}, {
1038
1038
  data: response.data.map(function (d) {
1039
1039
  return _this2.aplyJsonPath(d, _this2._readJsonPath);
1040
1040
  })
@@ -1058,7 +1058,7 @@ var _default$d = /*#__PURE__*/function () {
1058
1058
  throw new Error('Read List endpoint is missing in configuration.');
1059
1059
  }
1060
1060
  (_this$_rootStore6 = this._rootStore) === null || _this$_rootStore6 === void 0 ? void 0 : _this$_rootStore6.dataStore.jwt;
1061
- var url = filterServerSide ? parseServersideFilters(_objectSpread$X(_objectSpread$X({}, filterServerSide), {}, {
1061
+ var url = filterServerSide ? parseServersideFilters(_objectSpread$Y(_objectSpread$Y({}, filterServerSide), {}, {
1062
1062
  columns: this._filterFields ? filterServerSide.columns : undefined,
1063
1063
  baseUrl: this._readListUrl,
1064
1064
  prefilter: prefilter
@@ -1265,8 +1265,8 @@ var _default$c = /*#__PURE__*/function (_ApiHandler) {
1265
1265
  }]);
1266
1266
  }(_default$d);
1267
1267
 
1268
- function ownKeys$W(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
1269
- function _objectSpread$W(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$W(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$W(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
1268
+ function ownKeys$X(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
1269
+ function _objectSpread$X(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$X(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$X(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
1270
1270
  function _callSuper$5(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$5() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
1271
1271
  function _isNativeReflectConstruct$5() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct$5 = function _isNativeReflectConstruct() { return !!t; })(); }
1272
1272
  var _default$b = /*#__PURE__*/function (_ApiHandler) {
@@ -1365,7 +1365,7 @@ var _default$b = /*#__PURE__*/function (_ApiHandler) {
1365
1365
  _context2.next = 5;
1366
1366
  return fetch(this._createUrl + '?ref=true', {
1367
1367
  method: this._createMethod,
1368
- headers: _objectSpread$W({}, jwt ? {
1368
+ headers: _objectSpread$X({}, jwt ? {
1369
1369
  Authorization: 'Bearer ' + jwt
1370
1370
  } : {}),
1371
1371
  body: data
@@ -1743,8 +1743,8 @@ var _default$8 = /*#__PURE__*/function (_ApiHandler) {
1743
1743
  }]);
1744
1744
  }(_default$d);
1745
1745
 
1746
- function ownKeys$V(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
1747
- function _objectSpread$V(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$V(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$V(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
1746
+ function ownKeys$W(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
1747
+ function _objectSpread$W(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$W(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$W(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
1748
1748
  var _default$7 = /*#__PURE__*/function () {
1749
1749
  function _default(root) {
1750
1750
  _classCallCheck(this, _default);
@@ -1780,7 +1780,7 @@ var _default$7 = /*#__PURE__*/function () {
1780
1780
  var _i$permission;
1781
1781
  return !i.permission || _this.root.actions.userHasPermission((_i$permission = i.permission) === null || _i$permission === void 0 ? void 0 : _i$permission.toLocaleLowerCase());
1782
1782
  });
1783
- config = _objectSpread$V(_objectSpread$V({}, config), {}, {
1783
+ config = _objectSpread$W(_objectSpread$W({}, config), {}, {
1784
1784
  items: filteredItems
1785
1785
  });
1786
1786
  }
@@ -12897,8 +12897,8 @@ var navMinified = "nav-minified-tSt-a";
12897
12897
  var navOverlay = "nav-overlay-rKJNC";
12898
12898
  var navSettings = "nav-settings-82cjv";
12899
12899
  var menuLabel = "menu-label-4dXQk";
12900
- var css_248z$v = ".nav-minify-button-ZX7dm {\n color: rgba(255, 255, 255, 0.65);\n background: #001529;\n cursor: pointer;\n padding: 10px;\n height: 40px;\n}\n\n.nav-minify-button-ZX7dm:hover {\n color: #fff;\n background-color: rgba(0, 0, 0, 0.06);\n}\n\n.nav-minify-button-ZX7dm .anticon {\n float: right;\n}\n\n.nav-container-JCR24 {\n display: flex;\n min-width: 30px;\n overflow: visible;\n z-index: 10001;\n}\n\n.nav-container-JCR24 .ant-layout-sider-children {\n display: flex;\n flex-direction: column;\n}\n\n.nav-minified-tSt-a {\n flex: 0 0 30px !important;\n max-width: 30px !important;\n min-width: 30px !important;\n width: 30px !important;\n}\n\n.nav-minified-tSt-a {\n /* position: absolute !important; */\n height: 100%;\n z-index: 1;\n}\n\n.nav-overlay-rKJNC {\n max-width: 200px !important;\n min-width: 200px !important;\n width: 200px !important;\n}\n\n.nav-minified-tSt-a .ant-menu-root {\n display: none;\n}\n\n.nav-overlay-rKJNC .ant-menu-root {\n display: inline !important;\n display: initial !important;\n}\n\n.nav-settings-82cjv {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin: auto 18px 55px;\n}\n\n.nav-container-JCR24 .ant-menu-title-content {\n overflow: visible;\n}\n\n.menu-label-4dXQk {\n display: flex;\n}\n\n.ant-menu .ant-menu-item .menu-label-4dXQk .anticon {\n margin-left: auto;\n margin-right: -6px;\n font-size: 10px;\n}\n\n.menu-label-4dXQk span:first-child {\n width: 120px;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n";
12901
- styleInject(css_248z$v);
12900
+ var css_248z$w = ".nav-minify-button-ZX7dm {\n color: rgba(255, 255, 255, 0.65);\n background: #001529;\n cursor: pointer;\n padding: 10px;\n height: 40px;\n}\n\n.nav-minify-button-ZX7dm:hover {\n color: #fff;\n background-color: rgba(0, 0, 0, 0.06);\n}\n\n.nav-minify-button-ZX7dm .anticon {\n float: right;\n}\n\n.nav-container-JCR24 {\n display: flex;\n min-width: 30px;\n overflow: visible;\n z-index: 10001;\n}\n\n.nav-container-JCR24 .ant-layout-sider-children {\n display: flex;\n flex-direction: column;\n}\n\n.nav-minified-tSt-a {\n flex: 0 0 30px !important;\n max-width: 30px !important;\n min-width: 30px !important;\n width: 30px !important;\n}\n\n.nav-minified-tSt-a {\n /* position: absolute !important; */\n height: 100%;\n z-index: 1;\n}\n\n.nav-overlay-rKJNC {\n max-width: 200px !important;\n min-width: 200px !important;\n width: 200px !important;\n}\n\n.nav-minified-tSt-a .ant-menu-root {\n display: none;\n}\n\n.nav-overlay-rKJNC .ant-menu-root {\n display: inline !important;\n display: initial !important;\n}\n\n.nav-settings-82cjv {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin: auto 18px 55px;\n}\n\n.nav-container-JCR24 .ant-menu-title-content {\n overflow: visible;\n}\n\n.menu-label-4dXQk {\n display: flex;\n}\n\n.ant-menu .ant-menu-item .menu-label-4dXQk .anticon {\n margin-left: auto;\n margin-right: -6px;\n font-size: 10px;\n}\n\n.menu-label-4dXQk span:first-child {\n width: 120px;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n";
12901
+ styleInject(css_248z$w);
12902
12902
 
12903
12903
  function MenuLabel (_ref) {
12904
12904
  var disabled = _ref.disabled,
@@ -13297,8 +13297,8 @@ var ToolBarStore = /*#__PURE__*/function () {
13297
13297
  }]);
13298
13298
  }();
13299
13299
 
13300
- function ownKeys$U(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
13301
- function _objectSpread$U(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$U(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$U(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
13300
+ function ownKeys$V(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
13301
+ function _objectSpread$V(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$V(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$V(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
13302
13302
  function _createForOfIteratorHelper$l(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$l(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
13303
13303
  function _unsupportedIterableToArray$l(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$l(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$l(r, a) : void 0; } }
13304
13304
  function _arrayLikeToArray$l(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
@@ -13409,7 +13409,7 @@ var _default$6 = /*#__PURE__*/function () {
13409
13409
  if (index >= 0) {
13410
13410
  this._additionalMenuElements[index] = {
13411
13411
  key: key,
13412
- element: _objectSpread$U(_objectSpread$U({}, this._additionalMenuElements[index].element), {}, {
13412
+ element: _objectSpread$V(_objectSpread$V({}, this._additionalMenuElements[index].element), {}, {
13413
13413
  items: items,
13414
13414
  selected: selected
13415
13415
  })
@@ -13460,7 +13460,7 @@ var _default$6 = /*#__PURE__*/function () {
13460
13460
  var path = this.getPath(element.menu, this._selectedMenuKeys, this.root.navigationState.searchParams);
13461
13461
  this.root.navigate('/' + path);
13462
13462
  }
13463
- this._menuElement1 = _objectSpread$U(_objectSpread$U({}, this.menuElement1), {}, {
13463
+ this._menuElement1 = _objectSpread$V(_objectSpread$V({}, this.menuElement1), {}, {
13464
13464
  selected: this._selectedMenuKeys[0]
13465
13465
  });
13466
13466
  var menu2 = (_this$_menu$find = this._menu.find(function (element) {
@@ -13716,7 +13716,7 @@ var _default$6 = /*#__PURE__*/function () {
13716
13716
  return items.filter(function (item) {
13717
13717
  return !item.permission || hasPermission(item.permission.toLocaleLowerCase());
13718
13718
  }).map(function (item) {
13719
- return _objectSpread$U(_objectSpread$U({}, item), {}, {
13719
+ return _objectSpread$V(_objectSpread$V({}, item), {}, {
13720
13720
  items: item.items ? _this5.filterMenuByPermission(hasPermission, item.items) : undefined,
13721
13721
  subMenu: item.subMenu ? _this5.filterMenuByPermission(hasPermission, item.subMenu) : undefined
13722
13722
  });
@@ -14866,8 +14866,8 @@ var _default$2 = /*#__PURE__*/function (_ApiHandler) {
14866
14866
  return _createClass(_default);
14867
14867
  }(_default$d);
14868
14868
 
14869
- function ownKeys$T(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
14870
- function _objectSpread$T(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$T(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$T(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
14869
+ function ownKeys$U(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
14870
+ function _objectSpread$U(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$U(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$U(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
14871
14871
  /**
14872
14872
  * ContextStore is a store that manages the contexts of the application.
14873
14873
  */
@@ -14900,7 +14900,7 @@ var ContextStore = /*#__PURE__*/function () {
14900
14900
  key: "updateContext",
14901
14901
  value: function updateContext(contextId, updates) {
14902
14902
  var currentState = this.contexts.get(contextId) || {};
14903
- this.contexts.set(contextId, _objectSpread$T(_objectSpread$T({}, currentState), updates));
14903
+ this.contexts.set(contextId, _objectSpread$U(_objectSpread$U({}, currentState), updates));
14904
14904
  }
14905
14905
 
14906
14906
  // Clear a context
@@ -15530,8 +15530,8 @@ var MediaItem = /*#__PURE__*/function () {
15530
15530
  }]);
15531
15531
  }();
15532
15532
 
15533
- function ownKeys$S(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
15534
- function _objectSpread$S(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$S(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$S(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
15533
+ function ownKeys$T(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
15534
+ function _objectSpread$T(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$T(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$T(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
15535
15535
  function _createForOfIteratorHelper$j(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$j(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
15536
15536
  function _unsupportedIterableToArray$j(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$j(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$j(r, a) : void 0; } }
15537
15537
  function _arrayLikeToArray$j(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
@@ -15653,7 +15653,7 @@ function useFormData (_ref) {
15653
15653
  multipleEditingData = inboundData;
15654
15654
  }
15655
15655
  return {
15656
- loadedData: _onLoadFields(_objectSpread$S({}, dt)),
15656
+ loadedData: _onLoadFields(_objectSpread$T({}, dt)),
15657
15657
  multipleEditingData: multipleEditingData
15658
15658
  };
15659
15659
  }, [inboundData, selectedItemsIndex]),
@@ -15690,7 +15690,7 @@ function useFormData (_ref) {
15690
15690
  setFieldErrors = _useState20[1];
15691
15691
  useEffect(function () {
15692
15692
  var _loadedData$_id2;
15693
- setState(_objectSpread$S(_objectSpread$S({}, state), {}, {
15693
+ setState(_objectSpread$T(_objectSpread$T({}, state), {}, {
15694
15694
  data: loadedData,
15695
15695
  origData: JSON.parse(JSON.stringify(inboundData !== null && inboundData !== void 0 ? inboundData : {})),
15696
15696
  update: !!((_loadedData$_id2 = loadedData === null || loadedData === void 0 ? void 0 : loadedData._id) !== null && _loadedData$_id2 !== void 0 ? _loadedData$_id2 : loadedData === null || loadedData === void 0 ? void 0 : loadedData.ID),
@@ -15792,7 +15792,7 @@ function useFormData (_ref) {
15792
15792
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
15793
15793
  while (1) switch (_context2.prev = _context2.next) {
15794
15794
  case 0:
15795
- newData = merge(_objectSpread$S({}, state.data), values);
15795
+ newData = merge(_objectSpread$T({}, state.data), values);
15796
15796
  if (!skipApi) {
15797
15797
  _context2.next = 3;
15798
15798
  break;
@@ -15802,7 +15802,7 @@ function useFormData (_ref) {
15802
15802
  root.actions.toggleLoading('saving_form');
15803
15803
  _context2.prev = 4;
15804
15804
  _context2.next = 7;
15805
- return setDynamicFields(_objectSpread$S({}, state.data), newData);
15805
+ return setDynamicFields(_objectSpread$T({}, state.data), newData);
15806
15806
  case 7:
15807
15807
  newData = _context2.sent;
15808
15808
  _context2.next = 10;
@@ -15817,7 +15817,7 @@ function useFormData (_ref) {
15817
15817
  root.actions.toggleLoading('saving_form');
15818
15818
  throw _context2.t0;
15819
15819
  case 17:
15820
- setState(_objectSpread$S(_objectSpread$S({}, state), {}, {
15820
+ setState(_objectSpread$T(_objectSpread$T({}, state), {}, {
15821
15821
  loading: true
15822
15822
  }));
15823
15823
  finalData = state.data;
@@ -15870,14 +15870,14 @@ function useFormData (_ref) {
15870
15870
  _context2.next = 47;
15871
15871
  break;
15872
15872
  }
15873
- setFieldErrors(_objectSpread$S(_objectSpread$S({}, fieldErrors), {}, _defineProperty({}, item.name.toString(), item.onError[errorCode])));
15873
+ setFieldErrors(_objectSpread$T(_objectSpread$T({}, fieldErrors), {}, _defineProperty({}, item.name.toString(), item.onError[errorCode])));
15874
15874
  return _context2.abrupt("return", undefined);
15875
15875
  case 47:
15876
15876
  throw _context2.t1;
15877
15877
  case 48:
15878
15878
  _context2.prev = 48;
15879
15879
  root.actions.toggleLoading('saving_form');
15880
- setState(_objectSpread$S(_objectSpread$S({}, state), {}, {
15880
+ setState(_objectSpread$T(_objectSpread$T({}, state), {}, {
15881
15881
  data: finalData,
15882
15882
  loading: false
15883
15883
  }));
@@ -15907,7 +15907,7 @@ function useFormData (_ref) {
15907
15907
  }
15908
15908
  var updateHiddenRequiredDisabled = function updateHiddenRequiredDisabled(data, changedFields) {
15909
15909
  if (!(selectedItems !== null && selectedItems !== void 0 && selectedItems.length)) return;
15910
- var wholeData = Object.assign(_objectSpread$S({}, state.data), _objectSpread$S({}, changedFields !== null && changedFields !== void 0 ? changedFields : data));
15910
+ var wholeData = Object.assign(_objectSpread$T({}, state.data), _objectSpread$T({}, changedFields !== null && changedFields !== void 0 ? changedFields : data));
15911
15911
  var newState = getHiddenRequredDisabled(wholeData, selectedItems);
15912
15912
  if (JSON.stringify(newState) !== JSON.stringify(hiddenRequiredDisabled)) {
15913
15913
  setHiddenRequiredDisabled(newState);
@@ -15920,14 +15920,14 @@ function useFormData (_ref) {
15920
15920
  }
15921
15921
  };
15922
15922
  var onInputChanged = function onInputChanged(id, value, d) {
15923
- var data = d !== null && d !== void 0 ? d : mergeWith(_objectSpread$S({}, state.data), state.form.getFieldsValue(), mergeCustomizer);
15923
+ var data = d !== null && d !== void 0 ? d : mergeWith(_objectSpread$T({}, state.data), state.form.getFieldsValue(), mergeCustomizer);
15924
15924
  if (id) {
15925
15925
  setFieldInObject(id, data, value);
15926
- var newFieldErrors = _objectSpread$S({}, fieldErrors);
15926
+ var newFieldErrors = _objectSpread$T({}, fieldErrors);
15927
15927
  delete newFieldErrors[id.toString()];
15928
15928
  setFieldErrors(newFieldErrors);
15929
15929
  }
15930
- setState(_objectSpread$S(_objectSpread$S({}, state), {}, {
15930
+ setState(_objectSpread$T(_objectSpread$T({}, state), {}, {
15931
15931
  data: data
15932
15932
  }));
15933
15933
  return data;
@@ -15959,12 +15959,12 @@ function useFormData (_ref) {
15959
15959
  var _value$value;
15960
15960
  if (((_value$value = value === null || value === void 0 ? void 0 : value.value) !== null && _value$value !== void 0 ? _value$value : value) === val) {
15961
15961
  if (configuration.itemSelectorReset) {
15962
- setState(_objectSpread$S(_objectSpread$S({}, state), {}, {
15962
+ setState(_objectSpread$T(_objectSpread$T({}, state), {}, {
15963
15963
  data: _defineProperty({}, name, val)
15964
15964
  }));
15965
15965
  } else {
15966
- setState(_objectSpread$S(_objectSpread$S({}, state), {}, {
15967
- data: _objectSpread$S(_objectSpread$S({}, state.data), {}, _defineProperty({}, name, val))
15966
+ setState(_objectSpread$T(_objectSpread$T({}, state), {}, {
15967
+ data: _objectSpread$T(_objectSpread$T({}, state.data), {}, _defineProperty({}, name, val))
15968
15968
  }));
15969
15969
  }
15970
15970
  setSelectedItemsIndex(idx);
@@ -15974,12 +15974,12 @@ function useFormData (_ref) {
15974
15974
  var val = _ref6.value;
15975
15975
  if (value === val) {
15976
15976
  if (configuration.itemSelectorReset) {
15977
- setState(_objectSpread$S(_objectSpread$S({}, state), {}, {
15977
+ setState(_objectSpread$T(_objectSpread$T({}, state), {}, {
15978
15978
  data: _defineProperty({}, name, val)
15979
15979
  }));
15980
15980
  } else {
15981
- setState(_objectSpread$S(_objectSpread$S({}, state), {}, {
15982
- data: _objectSpread$S(_objectSpread$S({}, state.data), {}, _defineProperty({}, name, val))
15981
+ setState(_objectSpread$T(_objectSpread$T({}, state), {}, {
15982
+ data: _objectSpread$T(_objectSpread$T({}, state.data), {}, _defineProperty({}, name, val))
15983
15983
  }));
15984
15984
  }
15985
15985
  setSelectedItemsIndex(idx);
@@ -16260,7 +16260,7 @@ function useFormData (_ref) {
16260
16260
  for (var i = 0; i < configuration.tools.length; i++) {
16261
16261
  var _tool$defaultOpen;
16262
16262
  var tool = configuration.tools[i];
16263
- tools.push(_objectSpread$S(_objectSpread$S({}, tool), {}, {
16263
+ tools.push(_objectSpread$T(_objectSpread$T({}, tool), {}, {
16264
16264
  parameters: {
16265
16265
  data: state.data
16266
16266
  },
@@ -16362,7 +16362,7 @@ function useFormData (_ref) {
16362
16362
  })) return;
16363
16363
  setRemovedMedias([].concat(_toConsumableArray(removedMedias), [media]));
16364
16364
  };
16365
- return _objectSpread$S(_objectSpread$S({}, state), {}, {
16365
+ return _objectSpread$T(_objectSpread$T({}, state), {}, {
16366
16366
  getIsHidden: getIsHidden,
16367
16367
  setUsedPreset: setUsedPreset,
16368
16368
  configuration: configuration,
@@ -16479,8 +16479,8 @@ var JsonEditor$2 = function JsonEditor(_ref) {
16479
16479
  };
16480
16480
 
16481
16481
  var _excluded$3 = ["key", "name"];
16482
- function ownKeys$R(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
16483
- function _objectSpread$R(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$R(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$R(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
16482
+ function ownKeys$S(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
16483
+ function _objectSpread$S(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$S(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$S(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
16484
16484
  var FormList$2 = function FormList(_ref) {
16485
16485
  var _item$initialValue;
16486
16486
  var value = _ref.value,
@@ -16533,7 +16533,7 @@ var FormList$2 = function FormList(_ref) {
16533
16533
  var aName = [].concat(_toConsumableArray(Array.isArray(absoluteName) ? absoluteName : [absoluteName]), _toConsumableArray(n));
16534
16534
  var hidden = state.getIsHidden(i, state.data, [].concat(_toConsumableArray(Array.isArray(absoluteName) ? absoluteName : [absoluteName]), [name]));
16535
16535
  if (hidden) return /*#__PURE__*/jsx(Fragment, {});
16536
- return /*#__PURE__*/createElement(Form$1.Item, _objectSpread$R(_objectSpread$R({}, restField), {}, {
16536
+ return /*#__PURE__*/createElement(Form$1.Item, _objectSpread$S(_objectSpread$S({}, restField), {}, {
16537
16537
  id: n.join(),
16538
16538
  key: n.join(),
16539
16539
  name: n,
@@ -16545,7 +16545,7 @@ var FormList$2 = function FormList(_ref) {
16545
16545
  validateStatus: !!state.fieldErrors[n.toString()] ? 'error' : undefined,
16546
16546
  help: state.fieldErrors[n.toString()],
16547
16547
  hidden: hidden
16548
- }), getElement(_objectSpread$R(_objectSpread$R({}, i), {}, {
16548
+ }), getElement(_objectSpread$S(_objectSpread$S({}, i), {}, {
16549
16549
  name: n
16550
16550
  }), setCanSave, state, aName, state.onInputChanged, onError, root, form, hidden));
16551
16551
  })
@@ -16710,8 +16710,8 @@ var Result = function Result(_ref) {
16710
16710
 
16711
16711
  var success = "success-tRJ7j";
16712
16712
  var error = "error-MtAFB";
16713
- var css_248z$u = ".success-tRJ7j {\n color: #fff !important;\n background-color: #449d44 !important;\n border-color: #398439 !important;\n}\n\n.error-MtAFB {\n color: #fff !important;\n background-color: #c9302c !important;\n border-color: #ac2925 !important;\n}\n";
16714
- styleInject(css_248z$u);
16713
+ var css_248z$v = ".success-tRJ7j {\n color: #fff !important;\n background-color: #449d44 !important;\n border-color: #398439 !important;\n}\n\n.error-MtAFB {\n color: #fff !important;\n background-color: #c9302c !important;\n border-color: #ac2925 !important;\n}\n";
16714
+ styleInject(css_248z$v);
16715
16715
 
16716
16716
  var azureIcon = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%20width%3D%2248px%22%20height%3D%2248px%22%3E%20%3ClinearGradient%20id%3D%22k8yl7~hDat~FaoWq8WjN6a%22%20x1%3D%22-1254.397%22%20x2%3D%22-1261.911%22%20y1%3D%22877.268%22%20y2%3D%22899.466%22%20gradientTransform%3D%22translate%281981.75%20-1362.063%29%20scale%281.5625%29%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%20%20%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23114a8b%22%2F%3E%20%20%3Cstop%20offset%3D%221%22%20stop-color%3D%22%230669bc%22%2F%3E%20%3C%2FlinearGradient%3E%20%3Cpath%20fill%3D%22url%28%23k8yl7~hDat~FaoWq8WjN6a%29%22%20d%3D%22M17.634%2C6h11.305L17.203%2C40.773c-0.247%2C0.733-0.934%2C1.226-1.708%2C1.226H6.697%20c-0.994%2C0-1.8-0.806-1.8-1.8c0-0.196%2C0.032-0.39%2C0.094-0.576L15.926%2C7.227C16.173%2C6.494%2C16.86%2C6%2C17.634%2C6L17.634%2C6z%22%2F%3E%20%3Cpath%20fill%3D%22%230078d4%22%20d%3D%22M34.062%2C29.324H16.135c-0.458-0.001-0.83%2C0.371-0.831%2C0.829c0%2C0.231%2C0.095%2C0.451%2C0.264%2C0.608%20l11.52%2C10.752C27.423%2C41.826%2C27.865%2C42%2C28.324%2C42h10.151L34.062%2C29.324z%22%2F%3E%20%3ClinearGradient%20id%3D%22k8yl7~hDat~FaoWq8WjN6b%22%20x1%3D%22-1252.05%22%20x2%3D%22-1253.788%22%20y1%3D%22887.612%22%20y2%3D%22888.2%22%20gradientTransform%3D%22translate%281981.75%20-1362.063%29%20scale%281.5625%29%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%20%20%3Cstop%20offset%3D%220%22%20stop-opacity%3D%22.3%22%2F%3E%20%20%3Cstop%20offset%3D%22.071%22%20stop-opacity%3D%22.2%22%2F%3E%20%20%3Cstop%20offset%3D%22.321%22%20stop-opacity%3D%22.1%22%2F%3E%20%20%3Cstop%20offset%3D%22.623%22%20stop-opacity%3D%22.05%22%2F%3E%20%20%3Cstop%20offset%3D%221%22%20stop-opacity%3D%220%22%2F%3E%20%3C%2FlinearGradient%3E%20%3Cpath%20fill%3D%22url%28%23k8yl7~hDat~FaoWq8WjN6b%29%22%20d%3D%22M17.634%2C6c-0.783-0.003-1.476%2C0.504-1.712%2C1.25L5.005%2C39.595%20c-0.335%2C0.934%2C0.151%2C1.964%2C1.085%2C2.299C6.286%2C41.964%2C6.493%2C42%2C6.702%2C42h9.026c0.684-0.122%2C1.25-0.603%2C1.481-1.259l2.177-6.416%20l7.776%2C7.253c0.326%2C0.27%2C0.735%2C0.419%2C1.158%2C0.422h10.114l-4.436-12.676l-12.931%2C0.003L28.98%2C6H17.634z%22%2F%3E%20%3ClinearGradient%20id%3D%22k8yl7~hDat~FaoWq8WjN6c%22%20x1%3D%22-1252.952%22%20x2%3D%22-1244.704%22%20y1%3D%22876.6%22%20y2%3D%22898.575%22%20gradientTransform%3D%22translate%281981.75%20-1362.063%29%20scale%281.5625%29%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%20%20%3Cstop%20offset%3D%220%22%20stop-color%3D%22%233ccbf4%22%2F%3E%20%20%3Cstop%20offset%3D%221%22%20stop-color%3D%22%232892df%22%2F%3E%20%3C%2FlinearGradient%3E%20%3Cpath%20fill%3D%22url%28%23k8yl7~hDat~FaoWq8WjN6c%29%22%20d%3D%22M32.074%2C7.225C31.827%2C6.493%2C31.141%2C6%2C30.368%2C6h-12.6c0.772%2C0%2C1.459%2C0.493%2C1.705%2C1.224%20l10.935%2C32.399c0.318%2C0.942-0.188%2C1.963-1.13%2C2.281C29.093%2C41.968%2C28.899%2C42%2C28.703%2C42h12.6c0.994%2C0%2C1.8-0.806%2C1.8-1.801%20c0-0.196-0.032-0.39-0.095-0.575L32.074%2C7.225z%22%2F%3E%3C%2Fsvg%3E";
16717
16717
 
@@ -16773,13 +16773,13 @@ var CustomButton = function CustomButton(_ref) {
16773
16773
  };
16774
16774
  var CustomButton$1 = observer(CustomButton);
16775
16775
 
16776
- var wrapper$6 = "wrapper-GVe2h";
16776
+ var wrapper$7 = "wrapper-GVe2h";
16777
16777
  var buttonGroup = "button-group-GYt-T";
16778
- var css_248z$t = ".wrapper-GVe2h {\n display: flex;\n flex-direction: row;\n gap: 12px;\n}\n\n.button-group-GYt-T {\n display: flex;\n flex-direction: row;\n gap: 12px;\n margin: 0 12px;\n}\n";
16779
- styleInject(css_248z$t);
16778
+ var css_248z$u = ".wrapper-GVe2h {\n display: flex;\n flex-direction: row;\n gap: 12px;\n}\n\n.button-group-GYt-T {\n display: flex;\n flex-direction: row;\n gap: 12px;\n margin: 0 12px;\n}\n";
16779
+ styleInject(css_248z$u);
16780
16780
 
16781
- function ownKeys$Q(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
16782
- function _objectSpread$Q(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$Q(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$Q(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
16781
+ function ownKeys$R(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
16782
+ function _objectSpread$R(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$R(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$R(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
16783
16783
  var SubTitle = function SubTitle(_ref) {
16784
16784
  var _item$orientation, _item$buttonIds;
16785
16785
  var item = _ref.item,
@@ -16788,9 +16788,9 @@ var SubTitle = function SubTitle(_ref) {
16788
16788
  t = _useTranslation.t;
16789
16789
  return /*#__PURE__*/jsx(Divider, {
16790
16790
  orientation: (_item$orientation = item.orientation) !== null && _item$orientation !== void 0 ? _item$orientation : 'left',
16791
- style: _objectSpread$Q({}, item.style),
16791
+ style: _objectSpread$R({}, item.style),
16792
16792
  children: /*#__PURE__*/jsxs("div", {
16793
- className: wrapper$6,
16793
+ className: wrapper$7,
16794
16794
  children: [Array.isArray(item.name) ? t(item.name[0].toString()) : t(item.name), ((_item$buttonIds = item.buttonIds) === null || _item$buttonIds === void 0 ? void 0 : _item$buttonIds.length) && item.buttonIds.map(function (b) {
16795
16795
  return /*#__PURE__*/jsx("div", {
16796
16796
  className: buttonGroup,
@@ -17051,13 +17051,13 @@ function parseReturnData(options, selectMapping) {
17051
17051
  return (selectMapping === null || selectMapping === void 0 ? void 0 : selectMapping.externalValue) == 'value' ? options.value : options.data;
17052
17052
  }
17053
17053
 
17054
- var wrapper$5 = "wrapper-4xyke";
17055
- var css_248z$s = ".wrapper-4xyke {\n display: flex;\n flex-direction: column;\n min-height: 50px;\n justify-content: flex-end;\n font-size: 12px;\n}\n";
17056
- styleInject(css_248z$s);
17054
+ var wrapper$6 = "wrapper-4xyke";
17055
+ var css_248z$t = ".wrapper-4xyke {\n display: flex;\n flex-direction: column;\n min-height: 50px;\n justify-content: flex-end;\n font-size: 12px;\n}\n";
17056
+ styleInject(css_248z$t);
17057
17057
 
17058
17058
  var _excluded$2 = ["apiInterface", "selectMapping", "apiMapping", "onChange", "value", "search", "options", "autoSelectFirst", "title", "sharedState"];
17059
- function ownKeys$P(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
17060
- function _objectSpread$P(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$P(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$P(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
17059
+ function ownKeys$Q(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
17060
+ function _objectSpread$Q(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$Q(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$Q(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
17061
17061
  var SelectWrapper$1 = function SelectWrapper(_ref, ref) {
17062
17062
  var apiInterface = _ref.apiInterface,
17063
17063
  selectMapping = _ref.selectMapping,
@@ -17083,8 +17083,8 @@ var SelectWrapper$1 = function SelectWrapper(_ref, ref) {
17083
17083
  });
17084
17084
  return /*#__PURE__*/jsxs("div", {
17085
17085
  ref: ref,
17086
- className: classnames(title ? wrapper$5 : undefined),
17087
- children: [title, /*#__PURE__*/jsx(Select$1, _objectSpread$P(_objectSpread$P({}, selectProps), {}, {
17086
+ className: classnames(title ? wrapper$6 : undefined),
17087
+ children: [title, /*#__PURE__*/jsx(Select$1, _objectSpread$Q(_objectSpread$Q({}, selectProps), {}, {
17088
17088
  showSearch: search,
17089
17089
  loading: state.loading,
17090
17090
  options: state.options,
@@ -17701,8 +17701,8 @@ var _default = /*#__PURE__*/function (_ApiHandler) {
17701
17701
  }]);
17702
17702
  }(_default$d);
17703
17703
 
17704
- function ownKeys$O(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
17705
- function _objectSpread$O(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$O(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$O(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
17704
+ function ownKeys$P(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
17705
+ function _objectSpread$P(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$P(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$P(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
17706
17706
  getLogger('Backoffice', 'SelectClientRelationCatalog');
17707
17707
  function useSelectClientRelationCatalog (_ref) {
17708
17708
  var onSelectedCatalog = _ref.onSelectedCatalog,
@@ -17871,7 +17871,7 @@ function useSelectClientRelationCatalog (_ref) {
17871
17871
  case 22:
17872
17872
  supplierData = _context2.sent;
17873
17873
  case 23:
17874
- onSelectedSupplier === null || onSelectedSupplier === void 0 || onSelectedSupplier(_objectSpread$O(_objectSpread$O({}, _selectedSupplier), {}, {
17874
+ onSelectedSupplier === null || onSelectedSupplier === void 0 || onSelectedSupplier(_objectSpread$P(_objectSpread$P({}, _selectedSupplier), {}, {
17875
17875
  supplierGuid: catalogList === null || catalogList === void 0 || (_catalogList$ = catalogList[0]) === null || _catalogList$ === void 0 ? void 0 : _catalogList$.Subfolder
17876
17876
  }), supplierData);
17877
17877
  if (catalogId && catalogList.find(function (c) {
@@ -17937,8 +17937,8 @@ var customSelect = "custom-select-ESUJX";
17937
17937
  var customSelectOption = "custom-select-option-dUA7N";
17938
17938
  var avatarWrapper = "avatar-wrapper-Vg-xe";
17939
17939
  var selectTextWrapper = "select-text-wrapper-hPSZW";
17940
- var css_248z$r = ".custom-select-ESUJX {\n width: 300px;\n}\n\n.custom-select-option-dUA7N.ant-select-item {\n margin: 0px 12px;\n padding: 0px;\n border-bottom: 1px solid #ddd;\n}\n\n.custom-select-option-dUA7N .ant-select-item-option-content {\n display: flex;\n align-items: center;\n}\n\n.avatar-wrapper-Vg-xe {\n margin-right: 5px;\n height: 30px;\n width: 24px;\n float: left;\n position: relative;\n}\n\n.avatar-wrapper-Vg-xe > span {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n\n.select-text-wrapper-hPSZW {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: normal;\n width: calc(100% - 29px);\n}\n";
17941
- styleInject(css_248z$r);
17940
+ var css_248z$s = ".custom-select-ESUJX {\n width: 300px;\n}\n\n.custom-select-option-dUA7N.ant-select-item {\n margin: 0px 12px;\n padding: 0px;\n border-bottom: 1px solid #ddd;\n}\n\n.custom-select-option-dUA7N .ant-select-item-option-content {\n display: flex;\n align-items: center;\n}\n\n.avatar-wrapper-Vg-xe {\n margin-right: 5px;\n height: 30px;\n width: 24px;\n float: left;\n position: relative;\n}\n\n.avatar-wrapper-Vg-xe > span {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n\n.select-text-wrapper-hPSZW {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: normal;\n width: calc(100% - 29px);\n}\n";
17941
+ styleInject(css_248z$s);
17942
17942
 
17943
17943
  var Selector = function Selector(_ref) {
17944
17944
  var items = _ref.items,
@@ -18092,8 +18092,8 @@ function SelectClientRelationCatalog (_ref) {
18092
18092
  function _createForOfIteratorHelper$h(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$h(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
18093
18093
  function _unsupportedIterableToArray$h(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$h(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$h(r, a) : void 0; } }
18094
18094
  function _arrayLikeToArray$h(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
18095
- function ownKeys$N(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
18096
- function _objectSpread$N(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$N(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$N(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
18095
+ function ownKeys$O(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
18096
+ function _objectSpread$O(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$O(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$O(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
18097
18097
  function useSelectData (_ref) {
18098
18098
  var data = _ref.data,
18099
18099
  onChange = _ref.onChange,
@@ -18276,7 +18276,7 @@ function useSelectData (_ref) {
18276
18276
  setFetching(true);
18277
18277
  serverSideParams = {
18278
18278
  filters: selectMapping !== null && selectMapping !== void 0 && selectMapping.searchField ? selectMapping === null || selectMapping === void 0 ? void 0 : selectMapping.searchField.reduce(function (filter, field) {
18279
- return _objectSpread$N(_objectSpread$N({}, filter), value !== undefined ? _defineProperty({}, field.field, [value, field.filter, true]) : {});
18279
+ return _objectSpread$O(_objectSpread$O({}, filter), value !== undefined ? _defineProperty({}, field.field, [value, field.filter, true]) : {});
18280
18280
  }, {}) : {
18281
18281
  _id: [value, 'contains']
18282
18282
  },
@@ -18482,8 +18482,8 @@ function useSelectData (_ref) {
18482
18482
  };
18483
18483
  }
18484
18484
 
18485
- var css_248z$q = ".darkmode .ant-select-selection-search-input {\n color: #fff;\n}\n";
18486
- styleInject(css_248z$q);
18485
+ var css_248z$r = ".darkmode .ant-select-selection-search-input {\n color: #fff;\n}\n";
18486
+ styleInject(css_248z$r);
18487
18487
 
18488
18488
  var SelectWrapper = function SelectWrapper(_ref) {
18489
18489
  var onChange = _ref.onChange,
@@ -18562,14 +18562,14 @@ var SelectWrapper = function SelectWrapper(_ref) {
18562
18562
  };
18563
18563
  var Select = observer(SelectWrapper);
18564
18564
 
18565
- var wrapper$4 = "wrapper-WStAk";
18565
+ var wrapper$5 = "wrapper-WStAk";
18566
18566
  var headerWrapper = "header-wrapper-gWQuH";
18567
18567
  var buttonsWrapper$1 = "buttons-wrapper-7ebR9";
18568
- var css_248z$p = ".wrapper-WStAk {\n display: flex;\n flex-direction: column;\n}\n.header-wrapper-gWQuH {\n display: flex;\n align-items: center;\n gap: 6px;\n margin-left: 64px;\n}\n\n.buttons-wrapper-7ebR9 {\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex-grow: 1;\n}\n";
18569
- styleInject(css_248z$p);
18568
+ var css_248z$q = ".wrapper-WStAk {\n display: flex;\n flex-direction: column;\n}\n.header-wrapper-gWQuH {\n display: flex;\n align-items: center;\n gap: 6px;\n margin-left: 64px;\n}\n\n.buttons-wrapper-7ebR9 {\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex-grow: 1;\n}\n";
18569
+ styleInject(css_248z$q);
18570
18570
 
18571
- function ownKeys$M(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
18572
- function _objectSpread$M(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$M(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$M(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
18571
+ function ownKeys$N(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
18572
+ function _objectSpread$N(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$N(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$N(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
18573
18573
  var LOG$9 = getLogger('Backoffice', 'Translation Form');
18574
18574
  function useTranslationHook (item, state) {
18575
18575
  var root = useStore();
@@ -18702,7 +18702,7 @@ function useTranslationHook (item, state) {
18702
18702
  case 0:
18703
18703
  _context2.next = 2;
18704
18704
  return apiHandler.create({
18705
- locales: _objectSpread$M({
18705
+ locales: _objectSpread$N({
18706
18706
  de: {},
18707
18707
  it: {},
18708
18708
  fr: {},
@@ -18751,8 +18751,8 @@ function useTranslationHook (item, state) {
18751
18751
  };
18752
18752
  }
18753
18753
 
18754
- function ownKeys$L(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
18755
- function _objectSpread$L(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$L(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$L(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
18754
+ function ownKeys$M(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
18755
+ function _objectSpread$M(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$M(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$M(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
18756
18756
  var Translation = function Translation(_ref) {
18757
18757
  var item = _ref.item,
18758
18758
  state = _ref.state,
@@ -18770,7 +18770,7 @@ var Translation = function Translation(_ref) {
18770
18770
  _onChange = _useTranslationHook.onChange,
18771
18771
  autoTranslate = _useTranslationHook.autoTranslate;
18772
18772
  return /*#__PURE__*/jsxs("div", {
18773
- className: wrapper$4,
18773
+ className: wrapper$5,
18774
18774
  children: [/*#__PURE__*/jsxs("div", {
18775
18775
  className: headerWrapper,
18776
18776
  children: [/*#__PURE__*/jsx("div", {
@@ -18802,7 +18802,7 @@ var Translation = function Translation(_ref) {
18802
18802
  var hidden = state.getIsHidden(i, data);
18803
18803
  var newAbsoluteName = absoluteName !== '' ? [].concat(_toConsumableArray(Array.isArray(absoluteName) ? absoluteName : [absoluteName]), _toConsumableArray(n)) : n;
18804
18804
  return /*#__PURE__*/jsx(React.Fragment, {
18805
- children: ['subTitle', 'array'].includes(i.type) ? getElement(_objectSpread$L(_objectSpread$L({}, i), {}, {
18805
+ children: ['subTitle', 'array'].includes(i.type) ? getElement(_objectSpread$M(_objectSpread$M({}, i), {}, {
18806
18806
  name: n
18807
18807
  }), setCanSave, state, newAbsoluteName, state.onInputChanged, onError, root, form, hidden, currentLang) : /*#__PURE__*/jsx(Form$1.Item, {
18808
18808
  id: idx.toString(),
@@ -18815,7 +18815,7 @@ var Translation = function Translation(_ref) {
18815
18815
  validateStatus: !!state.fieldErrors[n.toString()] ? 'error' : undefined,
18816
18816
  help: state.fieldErrors[n.toString()],
18817
18817
  hidden: hidden,
18818
- children: getElement(_objectSpread$L(_objectSpread$L({}, i), {}, {
18818
+ children: getElement(_objectSpread$M(_objectSpread$M({}, i), {}, {
18819
18819
  name: n
18820
18820
  }), setCanSave, state, newAbsoluteName, state.onInputChanged, onError, root, form, hidden)
18821
18821
  })
@@ -19150,8 +19150,8 @@ var Text$1 = observer(Text);
19150
19150
  function _createForOfIteratorHelper$g(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$g(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
19151
19151
  function _unsupportedIterableToArray$g(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$g(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$g(r, a) : void 0; } }
19152
19152
  function _arrayLikeToArray$g(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
19153
- function ownKeys$K(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
19154
- function _objectSpread$K(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$K(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$K(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
19153
+ function ownKeys$L(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
19154
+ function _objectSpread$L(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$L(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$L(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
19155
19155
  function getElement(item, setCanSave, state, absoluteName, _onChange, _onError, root, form, hidden, postFixName) {
19156
19156
  var _isReadonly, _state$hiddenRequired;
19157
19157
  if (hidden) return /*#__PURE__*/jsx(Fragment, {});
@@ -19186,7 +19186,7 @@ function getElement(item, setCanSave, state, absoluteName, _onChange, _onError,
19186
19186
  }
19187
19187
  });
19188
19188
  case 'selectSimple':
19189
- return /*#__PURE__*/jsx(SimpleSelect, _objectSpread$K(_objectSpread$K({}, item), {}, {
19189
+ return /*#__PURE__*/jsx(SimpleSelect, _objectSpread$L(_objectSpread$L({}, item), {}, {
19190
19190
  disabled: disabled,
19191
19191
  onChange: function onChange(value) {
19192
19192
  _onChange(absoluteName, value);
@@ -19390,7 +19390,7 @@ function getElement(item, setCanSave, state, absoluteName, _onChange, _onError,
19390
19390
  value: item.value,
19391
19391
  options: item.options.map(function (o) {
19392
19392
  var _o$disabled;
19393
- return _objectSpread$K(_objectSpread$K({}, o), {}, {
19393
+ return _objectSpread$L(_objectSpread$L({}, o), {}, {
19394
19394
  disabled: (_o$disabled = o.disabled) === null || _o$disabled === void 0 ? void 0 : _o$disabled.call(o, state.data)
19395
19395
  });
19396
19396
  }),
@@ -19411,7 +19411,7 @@ function getElement(item, setCanSave, state, absoluteName, _onChange, _onError,
19411
19411
  },
19412
19412
  icon: item.icon,
19413
19413
  callback: function callback(data) {
19414
- return form === null || form === void 0 ? void 0 : form.setFieldsValue(_objectSpread$K(_objectSpread$K({}, state.data), data));
19414
+ return form === null || form === void 0 ? void 0 : form.setFieldsValue(_objectSpread$L(_objectSpread$L({}, state.data), data));
19415
19415
  }
19416
19416
  });
19417
19417
  case 'media':
@@ -19432,7 +19432,7 @@ function getElement(item, setCanSave, state, absoluteName, _onChange, _onError,
19432
19432
  var DisplayInput = /*#__PURE__*/React.forwardRef(function (props, ref) {
19433
19433
  var _useTranslation = useTranslation(),
19434
19434
  t = _useTranslation.t;
19435
- return /*#__PURE__*/jsx(Input, _objectSpread$K(_objectSpread$K({}, props), {}, {
19435
+ return /*#__PURE__*/jsx(Input, _objectSpread$L(_objectSpread$L({}, props), {}, {
19436
19436
  ref: ref,
19437
19437
  disabled: true,
19438
19438
  value: t(props.translationPrefix + '.' + props.value)
@@ -19451,8 +19451,8 @@ function isReadonly(item, data) {
19451
19451
  return false;
19452
19452
  }
19453
19453
 
19454
- function ownKeys$J(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
19455
- function _objectSpread$J(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$J(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$J(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
19454
+ function ownKeys$K(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
19455
+ function _objectSpread$K(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$K(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$K(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
19456
19456
  function _createForOfIteratorHelper$f(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$f(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
19457
19457
  function _unsupportedIterableToArray$f(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$f(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$f(r, a) : void 0; } }
19458
19458
  function _arrayLikeToArray$f(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
@@ -19502,13 +19502,13 @@ var Presets = function Presets(_ref) {
19502
19502
  } finally {
19503
19503
  _iterator.f();
19504
19504
  }
19505
- var data = _objectSpread$J(_objectSpread$J({}, form.getFieldsValue(names)), {}, {
19505
+ var data = _objectSpread$K(_objectSpread$K({}, form.getFieldsValue(names)), {}, {
19506
19506
  newPresetName: newPresetName
19507
19507
  });
19508
19508
  data.dpi = parseInt(data.dpi);
19509
19509
  data.organization = root.getGlobalValue('organizationId');
19510
19510
  apiHandler.create({}, state.configuration.createPresetMapping, data);
19511
- var dt = _objectSpread$J(_objectSpread$J({}, form.getFieldsValue(names)), {}, {
19511
+ var dt = _objectSpread$K(_objectSpread$K({}, form.getFieldsValue(names)), {}, {
19512
19512
  name: newPresetName
19513
19513
  });
19514
19514
  setPresets({
@@ -19850,8 +19850,8 @@ function getLabel(item, t) {
19850
19850
  }
19851
19851
  var Form = observer(/*#__PURE__*/React.forwardRef(FormWrapper$1));
19852
19852
 
19853
- function ownKeys$I(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
19854
- function _objectSpread$I(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$I(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$I(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
19853
+ function ownKeys$J(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
19854
+ function _objectSpread$J(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$J(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$J(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
19855
19855
  function _createForOfIteratorHelper$e(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$e(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
19856
19856
  function _unsupportedIterableToArray$e(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$e(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$e(r, a) : void 0; } }
19857
19857
  function _arrayLikeToArray$e(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
@@ -20053,7 +20053,7 @@ function useRoleSelectorData (_ref) {
20053
20053
  roles.forEach(function (r) {
20054
20054
  //check if after the changes the role is selected
20055
20055
  if (value.includes(r._id)) {
20056
- var newValue = _objectSpread$I(_objectSpread$I({}, r), {}, {
20056
+ var newValue = _objectSpread$J(_objectSpread$J({}, r), {}, {
20057
20057
  selected: true
20058
20058
  });
20059
20059
  //add it to the new list as selected role
@@ -20089,7 +20089,7 @@ function useRoleSelectorData (_ref) {
20089
20089
  }
20090
20090
  }
20091
20091
  } else {
20092
- var _newValue = _objectSpread$I(_objectSpread$I({}, r), {}, {
20092
+ var _newValue = _objectSpread$J(_objectSpread$J({}, r), {}, {
20093
20093
  selected: false
20094
20094
  });
20095
20095
  //add it to the new list as unselected role
@@ -20293,7 +20293,7 @@ function _updateRoles() {
20293
20293
  userRole = userRoles.find(function (r) {
20294
20294
  return r._id == role._id;
20295
20295
  });
20296
- newRole = _objectSpread$I({}, role);
20296
+ newRole = _objectSpread$J({}, role);
20297
20297
  if (userRole) {
20298
20298
  newRole.selected = true;
20299
20299
  newRole.inherited = userRole.inherited;
@@ -20513,7 +20513,7 @@ function _fetchOptions() {
20513
20513
  case 4:
20514
20514
  result = _context11.sent;
20515
20515
  options = result.data.map(function (d) {
20516
- return _objectSpread$I(_objectSpread$I({}, d), {}, {
20516
+ return _objectSpread$J(_objectSpread$J({}, d), {}, {
20517
20517
  label: d.displayName,
20518
20518
  value: d._id,
20519
20519
  isLeaf: !d.hasChildren
@@ -20605,18 +20605,18 @@ var RoleSelector = function RoleSelector(_ref, ref) {
20605
20605
  var RoleSelector$1 = observer(/*#__PURE__*/React.forwardRef(RoleSelector));
20606
20606
 
20607
20607
  var permissionButton = "permission-Button-XctsZ";
20608
- var select$1 = "select-lzft-";
20608
+ var select$2 = "select-lzft-";
20609
20609
  var loadingOption = "loadingOption-qCkRw";
20610
20610
  var scroller = "scroller-lrdk9";
20611
20611
  var skeleton = "skeleton--xCI0";
20612
20612
  var filterField = "filterField-1kU1O";
20613
20613
  var parentScroll = "parent-scroll-GmaL9";
20614
20614
  var parent = "parent-NZJ3S";
20615
- var css_248z$o = ".permission-Button-XctsZ {\n position: relative;\n top: 25px;\n left: -30px;\n float: right;\n height: 20px;\n z-index: 1000;\n}\n.select-lzft- {\n width: 100%;\n}\n.loadingOption-qCkRw {\n margin-top: 11px;\n padding-left: 500px;\n}\n.scroller-lrdk9 {\n overflow: auto;\n height: 100%;\n}\n\n.skeleton--xCI0 {\n padding-left: 25px;\n padding-bottom: 10px;\n}\n.filterField-1kU1O {\n display: flex;\n gap: 10px;\n}\n.filterField-1kU1O button {\n height: 32px;\n}\n.filterField-1kU1O div {\n height: 32px;\n}\n\n.parent-scroll-GmaL9 {\n overflow: auto;\n padding: 24px;\n flex: 1;\n display: flex;\n flex-direction: column;\n}\n.parent-NZJ3S {\n overflow: auto;\n padding: 24px;\n height: 100%;\n}\n\n.parent-scroll-GmaL9 .ant-spin-container {\n height: 100%;\n}\n.parent-scroll-GmaL9 .infinite-scroll-component__outerdiv {\n height: 100%;\n}\n.parent-scroll-GmaL9 .infinite-scroll-component {\n height: 100% !important;\n}\n";
20616
- styleInject(css_248z$o);
20615
+ var css_248z$p = ".permission-Button-XctsZ {\n position: relative;\n top: 25px;\n left: -30px;\n float: right;\n height: 20px;\n z-index: 1000;\n}\n.select-lzft- {\n width: 100%;\n}\n.loadingOption-qCkRw {\n margin-top: 11px;\n padding-left: 500px;\n}\n.scroller-lrdk9 {\n overflow: auto;\n height: 100%;\n}\n\n.skeleton--xCI0 {\n padding-left: 25px;\n padding-bottom: 10px;\n}\n.filterField-1kU1O {\n display: flex;\n gap: 10px;\n}\n.filterField-1kU1O button {\n height: 32px;\n}\n.filterField-1kU1O div {\n height: 32px;\n}\n\n.parent-scroll-GmaL9 {\n overflow: auto;\n padding: 24px;\n flex: 1;\n display: flex;\n flex-direction: column;\n}\n.parent-NZJ3S {\n overflow: auto;\n padding: 24px;\n height: 100%;\n}\n\n.parent-scroll-GmaL9 .ant-spin-container {\n height: 100%;\n}\n.parent-scroll-GmaL9 .infinite-scroll-component__outerdiv {\n height: 100%;\n}\n.parent-scroll-GmaL9 .infinite-scroll-component {\n height: 100% !important;\n}\n";
20616
+ styleInject(css_248z$p);
20617
20617
 
20618
- function ownKeys$H(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
20619
- function _objectSpread$H(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$H(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$H(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
20618
+ function ownKeys$I(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
20619
+ function _objectSpread$I(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$I(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$I(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
20620
20620
  function _createForOfIteratorHelper$d(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$d(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
20621
20621
  function _unsupportedIterableToArray$d(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$d(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$d(r, a) : void 0; } }
20622
20622
  function _arrayLikeToArray$d(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
@@ -20676,8 +20676,8 @@ function _generateCSV() {
20676
20676
  break;
20677
20677
  }
20678
20678
  _context2.next = 21;
20679
- return generateCSV(_objectSpread$H(_objectSpread$H({}, exportParams.children), {}, {
20680
- mappingData: _objectSpread$H(_objectSpread$H({}, parent), {}, {
20679
+ return generateCSV(_objectSpread$I(_objectSpread$I({}, exportParams.children), {}, {
20680
+ mappingData: _objectSpread$I(_objectSpread$I({}, parent), {}, {
20681
20681
  parentId: exportParams.mappingData._id
20682
20682
  })
20683
20683
  }), csvData);
@@ -20785,8 +20785,8 @@ function _downloadFile() {
20785
20785
  return _downloadFile.apply(this, arguments);
20786
20786
  }
20787
20787
 
20788
- function ownKeys$G(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
20789
- function _objectSpread$G(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$G(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$G(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
20788
+ function ownKeys$H(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
20789
+ function _objectSpread$H(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$H(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$H(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
20790
20790
  function _createForOfIteratorHelper$c(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$c(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
20791
20791
  function _unsupportedIterableToArray$c(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$c(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$c(r, a) : void 0; } }
20792
20792
  function _arrayLikeToArray$c(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
@@ -21205,7 +21205,7 @@ function useRelationSelectorData (_ref) {
21205
21205
  var activeItem = _step.value;
21206
21206
  if ((activeItem === null || activeItem === void 0 ? void 0 : activeItem._id) === (addedData === null || addedData === void 0 ? void 0 : addedData._id)) {
21207
21207
  addedObjects.push(addedData);
21208
- getSplittedItems(_objectSpread$G(_objectSpread$G({}, activeItem), {}, {
21208
+ getSplittedItems(_objectSpread$H(_objectSpread$H({}, activeItem), {}, {
21209
21209
  userId: data === null || data === void 0 ? void 0 : data._id
21210
21210
  }));
21211
21211
  ret = true;
@@ -21410,8 +21410,8 @@ function useRelationSelectorData (_ref) {
21410
21410
  };
21411
21411
  }
21412
21412
 
21413
- function ownKeys$F(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
21414
- function _objectSpread$F(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$F(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$F(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
21413
+ function ownKeys$G(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
21414
+ function _objectSpread$G(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$G(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$G(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
21415
21415
  function _createForOfIteratorHelper$b(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$b(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
21416
21416
  function _unsupportedIterableToArray$b(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$b(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$b(r, a) : void 0; } }
21417
21417
  function _arrayLikeToArray$b(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
@@ -21544,7 +21544,7 @@ function ActionButton (_ref) {
21544
21544
  _iterator2.f();
21545
21545
  }
21546
21546
  _context.next = 19;
21547
- return apiInterface.update(_objectSpread$F(_objectSpread$F({}, data), {}, {
21547
+ return apiInterface.update(_objectSpread$G(_objectSpread$G({}, data), {}, {
21548
21548
  state: toSwitch
21549
21549
  }), data);
21550
21550
  case 19:
@@ -21701,14 +21701,14 @@ function _simpleChangeValue() {
21701
21701
  break;
21702
21702
  }
21703
21703
  for (i = 0; i < action.newValues.length; i++) {
21704
- fieldsToUpdate = _objectSpread$F(_objectSpread$F({}, fieldsToUpdate), {}, _defineProperty({}, action.newValues[i].field, action.newValues[i].value));
21704
+ fieldsToUpdate = _objectSpread$G(_objectSpread$G({}, fieldsToUpdate), {}, _defineProperty({}, action.newValues[i].field, action.newValues[i].value));
21705
21705
  }
21706
21706
  if (!apiInterface.canUpdate) {
21707
21707
  _context2.next = 9;
21708
21708
  break;
21709
21709
  }
21710
21710
  _context2.next = 7;
21711
- return apiInterface.update(_objectSpread$F({}, fieldsToUpdate), data);
21711
+ return apiInterface.update(_objectSpread$G({}, fieldsToUpdate), data);
21712
21712
  case 7:
21713
21713
  response = _context2.sent;
21714
21714
  return _context2.abrupt("return", response);
@@ -21723,7 +21723,7 @@ function _simpleChangeValue() {
21723
21723
  return _simpleChangeValue.apply(this, arguments);
21724
21724
  }
21725
21725
  function A(props) {
21726
- return /*#__PURE__*/jsx("a", _objectSpread$F({}, props));
21726
+ return /*#__PURE__*/jsx("a", _objectSpread$G({}, props));
21727
21727
  }
21728
21728
 
21729
21729
  function _createForOfIteratorHelper$a(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$a(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
@@ -21858,11 +21858,11 @@ var newscroller = "newscroller-INKeD";
21858
21858
  var antCollapseHeader = "ant-collapse-header--6FgU";
21859
21859
  var itemTitle = "item-title--BTvC";
21860
21860
  var itemDesc = "item-desc-DBiiF";
21861
- var css_248z$n = ".diva-component-DIVA_BACKOFFICE_NEW .title-cl-ZAj2y {\n color: black;\n}\n.diva-component-DIVA_BACKOFFICE_NEW .description-m3mNY {\n color: grey;\n flex: 1 1 100%;\n margin-left: 25px;\n margin-top: -25px;\n}\n.diva-component-DIVA_BACKOFFICE_NEW .item-group-xWnj- {\n /* border-bottom: 1px solid black; */\n margin-bottom: 40px;\n}\n.diva-component-DIVA_BACKOFFICE_NEW .delete-item-otdSr {\n cursor: pointer;\n position: relative;\n float: right;\n top: 13px;\n margin-right: 20px;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .newscroller-INKeD {\n overflow: auto;\n height: 400px;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .ant-collapse-header--6FgU div {\n flex-wrap: wrap !important;\n}\n.diva-component-DIVA_BACKOFFICE_NEW a .item-title--BTvC {\n padding: 0 0 0 30px;\n color: rgba(0, 0, 0, 0.85);\n}\n.diva-component-DIVA_BACKOFFICE_NEW .item-desc-DBiiF {\n padding: 0 0 0 30px;\n color: rgba(0, 0, 0, 0.45);\n}\n";
21862
- styleInject(css_248z$n);
21861
+ var css_248z$o = ".diva-component-DIVA_BACKOFFICE_NEW .title-cl-ZAj2y {\n color: black;\n}\n.diva-component-DIVA_BACKOFFICE_NEW .description-m3mNY {\n color: grey;\n flex: 1 1 100%;\n margin-left: 25px;\n margin-top: -25px;\n}\n.diva-component-DIVA_BACKOFFICE_NEW .item-group-xWnj- {\n /* border-bottom: 1px solid black; */\n margin-bottom: 40px;\n}\n.diva-component-DIVA_BACKOFFICE_NEW .delete-item-otdSr {\n cursor: pointer;\n position: relative;\n float: right;\n top: 13px;\n margin-right: 20px;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .newscroller-INKeD {\n overflow: auto;\n height: 400px;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .ant-collapse-header--6FgU div {\n flex-wrap: wrap !important;\n}\n.diva-component-DIVA_BACKOFFICE_NEW a .item-title--BTvC {\n padding: 0 0 0 30px;\n color: rgba(0, 0, 0, 0.85);\n}\n.diva-component-DIVA_BACKOFFICE_NEW .item-desc-DBiiF {\n padding: 0 0 0 30px;\n color: rgba(0, 0, 0, 0.45);\n}\n";
21862
+ styleInject(css_248z$o);
21863
21863
 
21864
- function ownKeys$E(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
21865
- function _objectSpread$E(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$E(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$E(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
21864
+ function ownKeys$F(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
21865
+ function _objectSpread$F(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$F(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$F(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
21866
21866
  var DropDown = function DropDown(_ref) {
21867
21867
  var _curItem$data$length;
21868
21868
  var split = _ref.split,
@@ -21894,7 +21894,7 @@ var DropDown = function DropDown(_ref) {
21894
21894
  });
21895
21895
  return /*#__PURE__*/jsx(Collapse, {
21896
21896
  onChange: function onChange() {
21897
- return getSplittedItems(_objectSpread$E(_objectSpread$E({}, item.item), {}, {
21897
+ return getSplittedItems(_objectSpread$F(_objectSpread$F({}, item.item), {}, {
21898
21898
  parentId: item.parentId
21899
21899
  }), 0);
21900
21900
  },
@@ -21999,7 +21999,7 @@ var RelationSelector = function RelationSelector(_ref, ref) {
21999
21999
  }, []);
22000
22000
  return /*#__PURE__*/jsxs(Fragment, {
22001
22001
  children: [relationState.configuration.search != undefined && (((_relationState$config = relationState.configuration.filter) === null || _relationState$config === void 0 ? void 0 : _relationState$config.type) === 'default' ? /*#__PURE__*/jsxs(Select$1, {
22002
- className: select$1,
22002
+ className: select$2,
22003
22003
  showSearch: true,
22004
22004
  suffixIcon: /*#__PURE__*/jsx(PlusSquareOutlined, {}),
22005
22005
  placeholder: (_relationState$config2 = (_relationState$config3 = relationState.configuration.filter) === null || _relationState$config3 === void 0 ? void 0 : _relationState$config3.searchPlaceholder) !== null && _relationState$config2 !== void 0 ? _relationState$config2 : t('backoffice.relationselector.add'),
@@ -22152,8 +22152,8 @@ var RelationSelector = function RelationSelector(_ref, ref) {
22152
22152
  };
22153
22153
  var RelationSelector$1 = observer(/*#__PURE__*/React.forwardRef(RelationSelector));
22154
22154
 
22155
- function ownKeys$D(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
22156
- function _objectSpread$D(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$D(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$D(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
22155
+ function ownKeys$E(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
22156
+ function _objectSpread$E(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$E(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$E(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
22157
22157
  function useFormListData (_ref) {
22158
22158
  var _configuration$defaul;
22159
22159
  var id = _ref.id,
@@ -22233,7 +22233,7 @@ function useFormListData (_ref) {
22233
22233
  if (updated.length == state.length) {
22234
22234
  newState = state.map(function (s, i) {
22235
22235
  var _updated$find;
22236
- return _objectSpread$D(_objectSpread$D({}, s), {}, {
22236
+ return _objectSpread$E(_objectSpread$E({}, s), {}, {
22237
22237
  data: (_updated$find = updated.find(function (u) {
22238
22238
  return u.index == i;
22239
22239
  })) === null || _updated$find === void 0 ? void 0 : _updated$find.data
@@ -22370,8 +22370,8 @@ var FormList = function FormList(_ref, ref) {
22370
22370
  };
22371
22371
  var FormList$1 = observer(/*#__PURE__*/React.forwardRef(FormList));
22372
22372
 
22373
- function ownKeys$C(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
22374
- function _objectSpread$C(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$C(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$C(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
22373
+ function ownKeys$D(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
22374
+ function _objectSpread$D(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$D(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$D(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
22375
22375
  var LOG$6 = getLogger('Backoffice', 'SelectOrCreate');
22376
22376
  function useSelectOrCreateData (_ref) {
22377
22377
  var id = _ref.id,
@@ -22468,7 +22468,7 @@ function useSelectOrCreateData (_ref) {
22468
22468
  _context.next = 7;
22469
22469
  return apiHandler.readList(configuration.readMapping, mappingData, {
22470
22470
  filters: (_configuration$select3 = configuration.selectMapping) !== null && _configuration$select3 !== void 0 && _configuration$select3.searchField ? (_configuration$select4 = configuration.selectMapping) === null || _configuration$select4 === void 0 ? void 0 : _configuration$select4.searchField.reduce(function (filter, field) {
22471
- return _objectSpread$C(_objectSpread$C({}, filter), {}, _defineProperty({}, field.field, [value, field.filter, true]));
22471
+ return _objectSpread$D(_objectSpread$D({}, filter), {}, _defineProperty({}, field.field, [value, field.filter, true]));
22472
22472
  }, {}) : {
22473
22473
  _id: [value, 'contains']
22474
22474
  },
@@ -22779,8 +22779,8 @@ var Multiple = function Multiple(_ref3) {
22779
22779
  });
22780
22780
  };
22781
22781
 
22782
- function ownKeys$B(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
22783
- function _objectSpread$B(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$B(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$B(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
22782
+ function ownKeys$C(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
22783
+ function _objectSpread$C(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$C(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$C(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
22784
22784
  function useListData (_ref) {
22785
22785
  var id = _ref.id,
22786
22786
  data = _ref.data;
@@ -22823,7 +22823,7 @@ function useListData (_ref) {
22823
22823
  case 3:
22824
22824
  result = _context.sent;
22825
22825
  setListData(result.data.map(parseField));
22826
- initData = _objectSpread$B({}, data);
22826
+ initData = _objectSpread$C({}, data);
22827
22827
  setUpdatedObject(initData);
22828
22828
  setLoading(false);
22829
22829
  case 8:
@@ -22864,7 +22864,7 @@ function useListData (_ref) {
22864
22864
  });
22865
22865
  (_configuration$itemMa7 = configuration.itemMapping.itemUpdate) === null || _configuration$itemMa7 === void 0 || _configuration$itemMa7.forEach(function (field) {
22866
22866
  var parsedField = field.field.split('.');
22867
- item.itemUpdate = _objectSpread$B(_objectSpread$B({}, field), {}, {
22867
+ item.itemUpdate = _objectSpread$C(_objectSpread$C({}, field), {}, {
22868
22868
  value: dataEntry[parsedField[parsedField.length - 1]]
22869
22869
  });
22870
22870
  });
@@ -22895,16 +22895,16 @@ function useListData (_ref) {
22895
22895
  console.error('field with more than 2 parts not allowed');
22896
22896
  return;
22897
22897
  }
22898
- var updObj = _objectSpread$B({}, updatedObject);
22898
+ var updObj = _objectSpread$C({}, updatedObject);
22899
22899
  if (fields.length === 1) {
22900
- updObj = _objectSpread$B(_objectSpread$B({}, updObj), {}, _defineProperty({}, fields[0], value));
22900
+ updObj = _objectSpread$C(_objectSpread$C({}, updObj), {}, _defineProperty({}, fields[0], value));
22901
22901
  } else if (fields.length === 2) {
22902
22902
  var updatedField = updObj[fields[0]].find(function (v) {
22903
22903
  return v.id === item.id.trim();
22904
22904
  });
22905
22905
  if (updatedField) {
22906
- var updatedFieldCopy = _objectSpread$B(_objectSpread$B({}, updatedField), {}, _defineProperty({}, fields[1], value));
22907
- updObj = _objectSpread$B(_objectSpread$B({}, updObj), {}, _defineProperty({}, fields[0], updObj[fields[0]].map(function (v) {
22906
+ var updatedFieldCopy = _objectSpread$C(_objectSpread$C({}, updatedField), {}, _defineProperty({}, fields[1], value));
22907
+ updObj = _objectSpread$C(_objectSpread$C({}, updObj), {}, _defineProperty({}, fields[0], updObj[fields[0]].map(function (v) {
22908
22908
  return v.id === item.id.trim() ? updatedFieldCopy : v;
22909
22909
  })));
22910
22910
  }
@@ -22913,11 +22913,11 @@ function useListData (_ref) {
22913
22913
  var acItems = listData;
22914
22914
  for (var i = 0; i < acItems.length; i++) {
22915
22915
  if (i == index) {
22916
- acItems[i].itemUpdate = _objectSpread$B(_objectSpread$B({}, acItems[i].itemUpdate), {}, {
22916
+ acItems[i].itemUpdate = _objectSpread$C(_objectSpread$C({}, acItems[i].itemUpdate), {}, {
22917
22917
  value: value
22918
22918
  });
22919
22919
  } else if (!acItems[i].itemUpdate.multiselect) {
22920
- acItems[i].itemUpdate = _objectSpread$B(_objectSpread$B({}, acItems[i].itemUpdate), {}, {
22920
+ acItems[i].itemUpdate = _objectSpread$C(_objectSpread$C({}, acItems[i].itemUpdate), {}, {
22921
22921
  value: !value
22922
22922
  });
22923
22923
  }
@@ -23271,8 +23271,8 @@ var jsoneditor = "jsoneditor-WMs15";
23271
23271
  var preview = "preview-9wK81";
23272
23272
  var previewButton = "preview-button-vupuG";
23273
23273
  var editButton = "edit-button-m6r3M";
23274
- var css_248z$m = ".jsoneditor-WMs15 .jsoneditor-menu .jsoneditor-transform {\n display: none;\n}\n.jsoneditor-WMs15 .jsoneditor-menu .jsoneditor-repair {\n display: none;\n}\n.jsoneditor-WMs15 .jsoneditor-menu .jsoneditor-poweredBy {\n display: none;\n}\n.jsoneditor-WMs15 .preview-9wK81 {\n background-color: #f19e34;\n}\n\n.jsoneditor-WMs15 .preview-button-vupuG {\n background-image: url(\"data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22iso-8859-1%22%3F%3E%3C!-- Generator%3A Adobe Illustrator 19.0.0%2C SVG Export Plug-In . SVG Version%3A 6.00 Build 0) --%3E%3Csvg version%3D%221.1%22 id%3D%22Layer_1%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22 x%3D%220px%22 y%3D%220px%22%09 viewBox%3D%220 0 502 502%22 style%3D%22enable-background%3Anew 0 0 502 502%3B%22 xml%3Aspace%3D%22preserve%22 fill%3D%22%23fff%22%3E%3Cg%3E%09%3Cg%3E%09%09%3Cg%3E%09%09%09%3Cpath d%3D%22M478.482%2C448.601l-101.6-101.599c8.089-15.262%2C12.339-32.29%2C12.339-49.717c0-35.689-18.182-69.164-47.804-88.743V92.53%09%09%09%09c0-2.652-1.054-5.196-2.929-7.071l-82.529-82.53C254.083%2C1.054%2C251.54%2C0%2C248.888%2C0H24.371c-5.522%2C0-10%2C4.477-10%2C10v427.735%09%09%09%09c0%2C5.523%2C4.478%2C10%2C10%2C10h307.046c5.522%2C0%2C10-4.477%2C10-10v-37.722l92.825%2C92.825c5.908%2C5.908%2C13.764%2C9.162%2C22.119%2C9.162%09%09%09%09c8.356%2C0%2C16.212-3.254%2C22.12-9.162C490.678%2C480.642%2C490.678%2C460.797%2C478.482%2C448.601z M307.276%2C82.53h-48.387V34.143%09%09%09%09l24.193%2C24.193L307.276%2C82.53z M321.417%2C396.377v31.358H34.371V20h204.517v72.53c0%2C5.523%2C4.478%2C10%2C10%2C10h72.529v95.662%09%09%09%09l0.009%2C0.014c-12.214-4.741-25.275-7.215-38.499-7.215c-58.61%2C0-106.294%2C47.683-106.294%2C106.293s47.684%2C106.293%2C106.294%2C106.293%09%09%09%09c13.224%2C0%2C26.285-2.474%2C38.499-7.215L321.417%2C396.377z M328.948%2C370.291c-0.848%2C0.536-1.706%2C1.057-2.574%2C1.563%09%09%09%09c-13.131%2C7.67-28.154%2C11.724-43.446%2C11.724c-47.583%2C0-86.294-38.711-86.294-86.293c0-47.582%2C38.711-86.293%2C86.294-86.293%09%09%09%09c15.291%2C0%2C30.315%2C4.054%2C43.447%2C11.724c26.428%2C15.435%2C42.846%2C44.008%2C42.846%2C74.569c0%2C16.35-4.595%2C32.264-13.289%2C46.022%09%09%09%09C349.097%2C354.125%2C339.766%2C363.455%2C328.948%2C370.291z M464.339%2C478.696c-2.131%2C2.131-4.964%2C3.304-7.978%2C3.304%09%09%09%09c-3.014%2C0-5.847-1.173-7.977-3.304l-98.706-98.706l-0.008-0.001c5.856-4.74%2C11.221-10.104%2C15.961-15.96l0.001%2C0.008%09%09%09%09l98.707%2C98.707C468.737%2C467.142%2C468.737%2C474.298%2C464.339%2C478.696z%22%2F%3E%09%09%09%3Cpath d%3D%22M246.838%2C238.403c-20.641%2C12.674-32.964%2C34.686-32.964%2C58.882c0%2C5.523%2C4.478%2C10%2C10%2C10c5.522%2C0%2C10-4.477%2C10-10%09%09%09%09c0-17.19%2C8.759-32.83%2C23.429-41.838c4.707-2.89%2C6.179-9.048%2C3.289-13.754C257.702%2C236.986%2C251.544%2C235.513%2C246.838%2C238.403z%22%2F%3E%09%09%09%3Cpath d%3D%22M317.708%2C237.624c-10.52-6.145-22.547-9.392-34.781-9.392c-5.522%2C0-10%2C4.477-10%2C10s4.478%2C10%2C10%2C10%09%09%09%09c8.693%2C0%2C17.232%2C2.304%2C24.693%2C6.662c1.586%2C0.926%2C3.321%2C1.367%2C5.034%2C1.367c3.438%2C0%2C6.785-1.775%2C8.645-4.958%09%09%09%09C324.085%2C246.533%2C322.477%2C240.409%2C317.708%2C237.624z%22%2F%3E%09%09%3C%2Fg%3E%09%3C%2Fg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3C%2Fsvg%3E\");\n background-size: 20px;\n background-repeat: no-repeat;\n background-position: center;\n}\n.jsoneditor-WMs15 .preview-button-vupuG:hover {\n border: 0;\n}\n.jsoneditor-WMs15 .preview-button-vupuG:disabled {\n opacity: 0.3;\n}\n\n.jsoneditor-WMs15 .edit-button-m6r3M {\n background-image: url(\"data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22iso-8859-1%22%3F%3E%3C!-- Generator%3A Adobe Illustrator 16.0.0%2C SVG Export Plug-In . SVG Version%3A 6.00 Build 0) --%3E%3C!DOCTYPE svg PUBLIC %22-%2F%2FW3C%2F%2FDTD SVG 1.1%2F%2FEN%22 %22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg version%3D%221.1%22 id%3D%22Capa_1%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22 x%3D%220px%22 y%3D%220px%22%09 width%3D%22494.936px%22 height%3D%22494.936px%22 viewBox%3D%220 0 494.936 494.936%22 style%3D%22enable-background%3Anew 0 0 494.936 494.936%3B%22%09 xml%3Aspace%3D%22preserve%22 fill%3D%22%23fff%22%3E%3Cg%3E%09%3Cg%3E%09%09%3Cpath d%3D%22M389.844%2C182.85c-6.743%2C0-12.21%2C5.467-12.21%2C12.21v222.968c0%2C23.562-19.174%2C42.735-42.736%2C42.735H67.157%09%09%09c-23.562%2C0-42.736-19.174-42.736-42.735V150.285c0-23.562%2C19.174-42.735%2C42.736-42.735h267.741c6.743%2C0%2C12.21-5.467%2C12.21-12.21%09%09%09s-5.467-12.21-12.21-12.21H67.157C30.126%2C83.13%2C0%2C113.255%2C0%2C150.285v267.743c0%2C37.029%2C30.126%2C67.155%2C67.157%2C67.155h267.741%09%09%09c37.03%2C0%2C67.156-30.126%2C67.156-67.155V195.061C402.054%2C188.318%2C396.587%2C182.85%2C389.844%2C182.85z%22%2F%3E%09%09%3Cpath d%3D%22M483.876%2C20.791c-14.72-14.72-38.669-14.714-53.377%2C0L221.352%2C229.944c-0.28%2C0.28-3.434%2C3.559-4.251%2C5.396l-28.963%2C65.069%09%09%09c-2.057%2C4.619-1.056%2C10.027%2C2.521%2C13.6c2.337%2C2.336%2C5.461%2C3.576%2C8.639%2C3.576c1.675%2C0%2C3.362-0.346%2C4.96-1.057l65.07-28.963%09%09%09c1.83-0.815%2C5.114-3.97%2C5.396-4.25L483.876%2C74.169c7.131-7.131%2C11.06-16.61%2C11.06-26.692%09%09%09C494.936%2C37.396%2C491.007%2C27.915%2C483.876%2C20.791z M466.61%2C56.897L257.457%2C266.05c-0.035%2C0.036-0.055%2C0.078-0.089%2C0.107%09%09%09l-33.989%2C15.131L238.51%2C247.3c0.03-0.036%2C0.071-0.055%2C0.107-0.09L447.765%2C38.058c5.038-5.039%2C13.819-5.033%2C18.846%2C0.005%09%09%09c2.518%2C2.51%2C3.905%2C5.855%2C3.905%2C9.414C470.516%2C51.036%2C469.127%2C54.38%2C466.61%2C56.897z%22%2F%3E%09%3C%2Fg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3C%2Fsvg%3E\");\n}\n";
23275
- styleInject(css_248z$m);
23274
+ var css_248z$n = ".jsoneditor-WMs15 .jsoneditor-menu .jsoneditor-transform {\n display: none;\n}\n.jsoneditor-WMs15 .jsoneditor-menu .jsoneditor-repair {\n display: none;\n}\n.jsoneditor-WMs15 .jsoneditor-menu .jsoneditor-poweredBy {\n display: none;\n}\n.jsoneditor-WMs15 .preview-9wK81 {\n background-color: #f19e34;\n}\n\n.jsoneditor-WMs15 .preview-button-vupuG {\n background-image: url(\"data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22iso-8859-1%22%3F%3E%3C!-- Generator%3A Adobe Illustrator 19.0.0%2C SVG Export Plug-In . SVG Version%3A 6.00 Build 0) --%3E%3Csvg version%3D%221.1%22 id%3D%22Layer_1%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22 x%3D%220px%22 y%3D%220px%22%09 viewBox%3D%220 0 502 502%22 style%3D%22enable-background%3Anew 0 0 502 502%3B%22 xml%3Aspace%3D%22preserve%22 fill%3D%22%23fff%22%3E%3Cg%3E%09%3Cg%3E%09%09%3Cg%3E%09%09%09%3Cpath d%3D%22M478.482%2C448.601l-101.6-101.599c8.089-15.262%2C12.339-32.29%2C12.339-49.717c0-35.689-18.182-69.164-47.804-88.743V92.53%09%09%09%09c0-2.652-1.054-5.196-2.929-7.071l-82.529-82.53C254.083%2C1.054%2C251.54%2C0%2C248.888%2C0H24.371c-5.522%2C0-10%2C4.477-10%2C10v427.735%09%09%09%09c0%2C5.523%2C4.478%2C10%2C10%2C10h307.046c5.522%2C0%2C10-4.477%2C10-10v-37.722l92.825%2C92.825c5.908%2C5.908%2C13.764%2C9.162%2C22.119%2C9.162%09%09%09%09c8.356%2C0%2C16.212-3.254%2C22.12-9.162C490.678%2C480.642%2C490.678%2C460.797%2C478.482%2C448.601z M307.276%2C82.53h-48.387V34.143%09%09%09%09l24.193%2C24.193L307.276%2C82.53z M321.417%2C396.377v31.358H34.371V20h204.517v72.53c0%2C5.523%2C4.478%2C10%2C10%2C10h72.529v95.662%09%09%09%09l0.009%2C0.014c-12.214-4.741-25.275-7.215-38.499-7.215c-58.61%2C0-106.294%2C47.683-106.294%2C106.293s47.684%2C106.293%2C106.294%2C106.293%09%09%09%09c13.224%2C0%2C26.285-2.474%2C38.499-7.215L321.417%2C396.377z M328.948%2C370.291c-0.848%2C0.536-1.706%2C1.057-2.574%2C1.563%09%09%09%09c-13.131%2C7.67-28.154%2C11.724-43.446%2C11.724c-47.583%2C0-86.294-38.711-86.294-86.293c0-47.582%2C38.711-86.293%2C86.294-86.293%09%09%09%09c15.291%2C0%2C30.315%2C4.054%2C43.447%2C11.724c26.428%2C15.435%2C42.846%2C44.008%2C42.846%2C74.569c0%2C16.35-4.595%2C32.264-13.289%2C46.022%09%09%09%09C349.097%2C354.125%2C339.766%2C363.455%2C328.948%2C370.291z M464.339%2C478.696c-2.131%2C2.131-4.964%2C3.304-7.978%2C3.304%09%09%09%09c-3.014%2C0-5.847-1.173-7.977-3.304l-98.706-98.706l-0.008-0.001c5.856-4.74%2C11.221-10.104%2C15.961-15.96l0.001%2C0.008%09%09%09%09l98.707%2C98.707C468.737%2C467.142%2C468.737%2C474.298%2C464.339%2C478.696z%22%2F%3E%09%09%09%3Cpath d%3D%22M246.838%2C238.403c-20.641%2C12.674-32.964%2C34.686-32.964%2C58.882c0%2C5.523%2C4.478%2C10%2C10%2C10c5.522%2C0%2C10-4.477%2C10-10%09%09%09%09c0-17.19%2C8.759-32.83%2C23.429-41.838c4.707-2.89%2C6.179-9.048%2C3.289-13.754C257.702%2C236.986%2C251.544%2C235.513%2C246.838%2C238.403z%22%2F%3E%09%09%09%3Cpath d%3D%22M317.708%2C237.624c-10.52-6.145-22.547-9.392-34.781-9.392c-5.522%2C0-10%2C4.477-10%2C10s4.478%2C10%2C10%2C10%09%09%09%09c8.693%2C0%2C17.232%2C2.304%2C24.693%2C6.662c1.586%2C0.926%2C3.321%2C1.367%2C5.034%2C1.367c3.438%2C0%2C6.785-1.775%2C8.645-4.958%09%09%09%09C324.085%2C246.533%2C322.477%2C240.409%2C317.708%2C237.624z%22%2F%3E%09%09%3C%2Fg%3E%09%3C%2Fg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3C%2Fsvg%3E\");\n background-size: 20px;\n background-repeat: no-repeat;\n background-position: center;\n}\n.jsoneditor-WMs15 .preview-button-vupuG:hover {\n border: 0;\n}\n.jsoneditor-WMs15 .preview-button-vupuG:disabled {\n opacity: 0.3;\n}\n\n.jsoneditor-WMs15 .edit-button-m6r3M {\n background-image: url(\"data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22iso-8859-1%22%3F%3E%3C!-- Generator%3A Adobe Illustrator 16.0.0%2C SVG Export Plug-In . SVG Version%3A 6.00 Build 0) --%3E%3C!DOCTYPE svg PUBLIC %22-%2F%2FW3C%2F%2FDTD SVG 1.1%2F%2FEN%22 %22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg version%3D%221.1%22 id%3D%22Capa_1%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22 x%3D%220px%22 y%3D%220px%22%09 width%3D%22494.936px%22 height%3D%22494.936px%22 viewBox%3D%220 0 494.936 494.936%22 style%3D%22enable-background%3Anew 0 0 494.936 494.936%3B%22%09 xml%3Aspace%3D%22preserve%22 fill%3D%22%23fff%22%3E%3Cg%3E%09%3Cg%3E%09%09%3Cpath d%3D%22M389.844%2C182.85c-6.743%2C0-12.21%2C5.467-12.21%2C12.21v222.968c0%2C23.562-19.174%2C42.735-42.736%2C42.735H67.157%09%09%09c-23.562%2C0-42.736-19.174-42.736-42.735V150.285c0-23.562%2C19.174-42.735%2C42.736-42.735h267.741c6.743%2C0%2C12.21-5.467%2C12.21-12.21%09%09%09s-5.467-12.21-12.21-12.21H67.157C30.126%2C83.13%2C0%2C113.255%2C0%2C150.285v267.743c0%2C37.029%2C30.126%2C67.155%2C67.157%2C67.155h267.741%09%09%09c37.03%2C0%2C67.156-30.126%2C67.156-67.155V195.061C402.054%2C188.318%2C396.587%2C182.85%2C389.844%2C182.85z%22%2F%3E%09%09%3Cpath d%3D%22M483.876%2C20.791c-14.72-14.72-38.669-14.714-53.377%2C0L221.352%2C229.944c-0.28%2C0.28-3.434%2C3.559-4.251%2C5.396l-28.963%2C65.069%09%09%09c-2.057%2C4.619-1.056%2C10.027%2C2.521%2C13.6c2.337%2C2.336%2C5.461%2C3.576%2C8.639%2C3.576c1.675%2C0%2C3.362-0.346%2C4.96-1.057l65.07-28.963%09%09%09c1.83-0.815%2C5.114-3.97%2C5.396-4.25L483.876%2C74.169c7.131-7.131%2C11.06-16.61%2C11.06-26.692%09%09%09C494.936%2C37.396%2C491.007%2C27.915%2C483.876%2C20.791z M466.61%2C56.897L257.457%2C266.05c-0.035%2C0.036-0.055%2C0.078-0.089%2C0.107%09%09%09l-33.989%2C15.131L238.51%2C247.3c0.03-0.036%2C0.071-0.055%2C0.107-0.09L447.765%2C38.058c5.038-5.039%2C13.819-5.033%2C18.846%2C0.005%09%09%09c2.518%2C2.51%2C3.905%2C5.855%2C3.905%2C9.414C470.516%2C51.036%2C469.127%2C54.38%2C466.61%2C56.897z%22%2F%3E%09%3C%2Fg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3C%2Fsvg%3E\");\n}\n";
23275
+ styleInject(css_248z$n);
23276
23276
 
23277
23277
  var JsonEditor = function JsonEditor(_ref, ref) {
23278
23278
  var id = _ref.id,
@@ -23431,8 +23431,8 @@ function calcNaturalCanvasSize(image, crop) {
23431
23431
  };
23432
23432
  }
23433
23433
 
23434
- function ownKeys$A(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
23435
- function _objectSpread$A(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$A(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$A(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
23434
+ function ownKeys$B(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
23435
+ function _objectSpread$B(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$B(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$B(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
23436
23436
  var ImageCropper = function ImageCropper(_ref, ref) {
23437
23437
  var id = _ref.id,
23438
23438
  data = _ref.data,
@@ -23540,12 +23540,12 @@ var ImageCropper = function ImageCropper(_ref, ref) {
23540
23540
  }
23541
23541
  function onEnter(e) {
23542
23542
  if (e.key != 'Enter') return;
23543
- setCrop(_objectSpread$A(_objectSpread$A({}, crop), {}, {
23543
+ setCrop(_objectSpread$B(_objectSpread$B({}, crop), {}, {
23544
23544
  unit: 'px',
23545
23545
  width: Number(widthInputElement.current.value),
23546
23546
  height: Number(heightInputElement.current.value)
23547
23547
  }));
23548
- setCompletedCrop(_objectSpread$A(_objectSpread$A({}, crop), {}, {
23548
+ setCompletedCrop(_objectSpread$B(_objectSpread$B({}, crop), {}, {
23549
23549
  unit: 'px',
23550
23550
  width: Number(widthInputElement.current.value),
23551
23551
  height: Number(heightInputElement.current.value)
@@ -23623,8 +23623,8 @@ var ImageCropper$1 = observer(/*#__PURE__*/React.forwardRef(ImageCropper));
23623
23623
  function _createForOfIteratorHelper$9(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$9(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
23624
23624
  function _unsupportedIterableToArray$9(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$9(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$9(r, a) : void 0; } }
23625
23625
  function _arrayLikeToArray$9(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
23626
- function ownKeys$z(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
23627
- function _objectSpread$z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$z(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
23626
+ function ownKeys$A(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
23627
+ function _objectSpread$A(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$A(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$A(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
23628
23628
  function useDescriptions (_ref) {
23629
23629
  var id = _ref.id;
23630
23630
  var root = useStore();
@@ -23717,7 +23717,7 @@ function _getDisplayData() {
23717
23717
  return _regeneratorRuntime.wrap(function _callee3$(_context4) {
23718
23718
  while (1) switch (_context4.prev = _context4.next) {
23719
23719
  case 0:
23720
- displayData = _objectSpread$z({}, data);
23720
+ displayData = _objectSpread$A({}, data);
23721
23721
  _iterator = _createForOfIteratorHelper$9(items);
23722
23722
  _context4.prev = 2;
23723
23723
  _loop = /*#__PURE__*/_regeneratorRuntime.mark(function _loop() {
@@ -23993,8 +23993,8 @@ var FileUploadWrapper$1 = function FileUploadWrapper(_ref) {
23993
23993
  };
23994
23994
  var FileUploadBeta = observer(FileUploadWrapper$1);
23995
23995
 
23996
- function ownKeys$y(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
23997
- function _objectSpread$y(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$y(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$y(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
23996
+ function ownKeys$z(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
23997
+ function _objectSpread$z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$z(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
23998
23998
  function useGridData (_ref) {
23999
23999
  var id = _ref.id,
24000
24000
  data = _ref.data;
@@ -24037,11 +24037,11 @@ function useGridData (_ref) {
24037
24037
  function reducer(state, action) {
24038
24038
  switch (action.type) {
24039
24039
  case 'update':
24040
- return _objectSpread$y(_objectSpread$y({}, state), {}, _defineProperty({}, action.data.divaNr, _objectSpread$y(_objectSpread$y({}, action.data), {}, {
24040
+ return _objectSpread$z(_objectSpread$z({}, state), {}, _defineProperty({}, action.data.divaNr, _objectSpread$z(_objectSpread$z({}, action.data), {}, {
24041
24041
  buffer: Buffer.from(action.data.buffer)
24042
24042
  })));
24043
24043
  case 'delete':
24044
- var newState = _objectSpread$y({}, state);
24044
+ var newState = _objectSpread$z({}, state);
24045
24045
  delete newState[action.data.divaNr];
24046
24046
  return newState;
24047
24047
  default:
@@ -24051,19 +24051,19 @@ function reducer(state, action) {
24051
24051
 
24052
24052
  var grid = "grid-sGemi";
24053
24053
  var textWrapper = "text-wrapper-xsPXE";
24054
- var css_248z$l = ".grid-sGemi {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));\n grid-auto-rows: min-content;\n grid-gap: 10px;\n}\n\n.text-wrapper-xsPXE {\n display: flex;\n justify-content: space-around;\n align-items: center;\n}\n";
24055
- styleInject(css_248z$l);
24054
+ var css_248z$m = ".grid-sGemi {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));\n grid-auto-rows: min-content;\n grid-gap: 10px;\n}\n\n.text-wrapper-xsPXE {\n display: flex;\n justify-content: space-around;\n align-items: center;\n}\n";
24055
+ styleInject(css_248z$m);
24056
24056
 
24057
- var wrapper$3 = "wrapper-p-gR3";
24057
+ var wrapper$4 = "wrapper-p-gR3";
24058
24058
  var container$5 = "container-DoZqe";
24059
- var css_248z$k = ".wrapper-p-gR3 {\n background: #ececec;\n}\n\n.container-DoZqe {\n display: flex;\n justify-content: space-between;\n}\n";
24060
- styleInject(css_248z$k);
24059
+ var css_248z$l = ".wrapper-p-gR3 {\n background: #ececec;\n}\n\n.container-DoZqe {\n display: flex;\n justify-content: space-between;\n}\n";
24060
+ styleInject(css_248z$l);
24061
24061
 
24062
24062
  var ToolTipInfo = function ToolTipInfo(props) {
24063
24063
  var _useTranslation = useTranslation(),
24064
24064
  t = _useTranslation.t;
24065
24065
  return /*#__PURE__*/jsx("div", {
24066
- className: wrapper$3,
24066
+ className: wrapper$4,
24067
24067
  children: /*#__PURE__*/jsx(Card, {
24068
24068
  title: t('backoffice.tooltipinfo.useroverview'),
24069
24069
  styles: {
@@ -24128,8 +24128,8 @@ var Grid = function Grid(_ref) {
24128
24128
  });
24129
24129
  };
24130
24130
 
24131
- function ownKeys$x(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
24132
- function _objectSpread$x(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$x(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$x(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
24131
+ function ownKeys$y(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
24132
+ function _objectSpread$y(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$y(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$y(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
24133
24133
  var useMediaUpload = function useMediaUpload(_ref) {
24134
24134
  var id = _ref.id;
24135
24135
  var root = useStore();
@@ -24248,7 +24248,7 @@ var useMediaUpload = function useMediaUpload(_ref) {
24248
24248
  onRemove: onRemove,
24249
24249
  customRequest: customRequest,
24250
24250
  fileList: fileList.map(function (f) {
24251
- return _objectSpread$x(_objectSpread$x({}, f), {}, {
24251
+ return _objectSpread$y(_objectSpread$y({}, f), {}, {
24252
24252
  url: f.url
24253
24253
  });
24254
24254
  }),
@@ -24260,8 +24260,8 @@ var useMediaUpload = function useMediaUpload(_ref) {
24260
24260
  var small = "small-NY1-k";
24261
24261
  var medium = "medium---QcO";
24262
24262
  var big = "big--E39S";
24263
- var css_248z$j = ".diva-component-DIVA_BACKOFFICE_NEW .ant-upload-wrapper {\n width: 100%;\n height: 100%;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .ant-spin-nested-loading {\n width: 100%;\n height: 100%;\n}\n.diva-component-DIVA_BACKOFFICE_NEW .ant-table-wrapper, .diva-component-DIVA_BACKOFFICE_NEW .ant-table {\n height: inherit;\n overflow: auto;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .ant-drawer-body .ant-spin-nested-loading {\n width: 100%;\n height: 80%;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .ant-spin-container {\n width: 100%;\n height: 100%;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .andt-table .ant-spin-container {\n display: flex;\n flex-direction: column;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .ant-space-item .andt-table .ant-spin-container {\n height: calc(60vh - 90px);\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .andt-table .ant-table-container {\n height: calc(100% - 80px);\n}\n.diva-component-DIVA_BACKOFFICE_NEW .ant-upload-list {\n width: 100%;\n height: 100%;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .ant-upload-list-item-container {\n width: 100% !important;\n height: 100% !important;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .ant-upload-select {\n width: 100% !important;\n height: 100% !important;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .small-NY1-k {\n width: 104px;\n height: 104px;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .medium---QcO {\n width: 200px;\n height: 200px;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .big--E39S {\n width: 400px;\n height: 400px;\n}\n";
24264
- styleInject(css_248z$j);
24263
+ var css_248z$k = ".diva-component-DIVA_BACKOFFICE_NEW .ant-upload-wrapper {\n width: 100%;\n height: 100%;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .ant-spin-nested-loading {\n width: 100%;\n height: 100%;\n}\n.diva-component-DIVA_BACKOFFICE_NEW .ant-table-wrapper, .diva-component-DIVA_BACKOFFICE_NEW .ant-table {\n height: inherit;\n overflow: auto;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .ant-drawer-body .ant-spin-nested-loading {\n width: 100%;\n height: 80%;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .ant-spin-container {\n width: 100%;\n height: 100%;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .andt-table .ant-spin-container {\n display: flex;\n flex-direction: column;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .ant-space-item .andt-table .ant-spin-container {\n height: calc(60vh - 90px);\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .andt-table .ant-table-container {\n height: calc(100% - 80px);\n}\n.diva-component-DIVA_BACKOFFICE_NEW .ant-upload-list {\n width: 100%;\n height: 100%;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .ant-upload-list-item-container {\n width: 100% !important;\n height: 100% !important;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .ant-upload-select {\n width: 100% !important;\n height: 100% !important;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .small-NY1-k {\n width: 104px;\n height: 104px;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .medium---QcO {\n width: 200px;\n height: 200px;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .big--E39S {\n width: 400px;\n height: 400px;\n}\n";
24264
+ styleInject(css_248z$k);
24265
24265
 
24266
24266
  var MediaUpload = observer(function (_ref) {
24267
24267
  var id = _ref.id;
@@ -24321,8 +24321,8 @@ var editableRow = "editable-row-9BEHi";
24321
24321
  var checkbox = "checkbox-H7R-w";
24322
24322
  var editableCellValueWrap = "editable-cell-value-wrap-ugTs4";
24323
24323
  var contentWidth = "content-width-hGyVI";
24324
- var css_248z$i = ".checkbox-readonly-0-bzT {\n cursor: default;\n}\n\n.checkbox-readonly-0-bzT .ant-checkbox-input {\n cursor: default;\n}\n\n.checkbox-readonly-0-bzT .ant-checkbox {\n cursor: default;\n}\n\n.editable-row-9BEHi:hover .checkbox-H7R-w .ant-checkbox {\n box-shadow: 0 0 5px rgba(0, 0, 0, 0.6);\n}\n\n.editable-cell-value-wrap-ugTs4 {\n padding: 5px 12px;\n cursor: pointer;\n}\n\n.editable-row-9BEHi:hover .editable-cell-value-wrap-ugTs4 {\n padding: 4px 11px;\n border: 1px solid #d9d9d9;\n border-radius: 4px;\n}\n\n.content-width-hGyVI .ant-modal-confirm-content {\n width: 100%;\n}\n";
24325
- styleInject(css_248z$i);
24324
+ var css_248z$j = ".checkbox-readonly-0-bzT {\n cursor: default;\n}\n\n.checkbox-readonly-0-bzT .ant-checkbox-input {\n cursor: default;\n}\n\n.checkbox-readonly-0-bzT .ant-checkbox {\n cursor: default;\n}\n\n.editable-row-9BEHi:hover .checkbox-H7R-w .ant-checkbox {\n box-shadow: 0 0 5px rgba(0, 0, 0, 0.6);\n}\n\n.editable-cell-value-wrap-ugTs4 {\n padding: 5px 12px;\n cursor: pointer;\n}\n\n.editable-row-9BEHi:hover .editable-cell-value-wrap-ugTs4 {\n padding: 4px 11px;\n border: 1px solid #d9d9d9;\n border-radius: 4px;\n}\n\n.content-width-hGyVI .ant-modal-confirm-content {\n width: 100%;\n}\n";
24325
+ styleInject(css_248z$j);
24326
24326
 
24327
24327
  function BooleanCell (_ref) {
24328
24328
  var children = _ref.children,
@@ -25005,8 +25005,8 @@ function LinkCell (_ref) {
25005
25005
 
25006
25006
  var _excluded$1 = ["index"],
25007
25007
  _excluded2 = ["children", "dataIndex", "record", "handleSave", "column"];
25008
- function ownKeys$w(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
25009
- function _objectSpread$w(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$w(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$w(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
25008
+ function ownKeys$x(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
25009
+ function _objectSpread$x(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$x(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$x(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
25010
25010
  var LOG$4 = getLogger('Backoffice', 'CellRenderer');
25011
25011
  var EditableContext = /*#__PURE__*/React.createContext(null);
25012
25012
  var CustomRow = function CustomRow(_ref) {
@@ -25020,7 +25020,7 @@ var CustomRow = function CustomRow(_ref) {
25020
25020
  component: false,
25021
25021
  children: /*#__PURE__*/jsx(EditableContext.Provider, {
25022
25022
  value: form,
25023
- children: /*#__PURE__*/jsx("tr", _objectSpread$w({}, props))
25023
+ children: /*#__PURE__*/jsx("tr", _objectSpread$x({}, props))
25024
25024
  })
25025
25025
  });
25026
25026
  };
@@ -25073,7 +25073,7 @@ var CustomCell = function CustomCell(_ref2) {
25073
25073
  if ((record === null || record === void 0 ? void 0 : record.ItemField) == 'LongDescription') {
25074
25074
  longDescriptionType = 'text';
25075
25075
  }
25076
- var modifiedColumn = _objectSpread$w(_objectSpread$w({}, column), {}, {
25076
+ var modifiedColumn = _objectSpread$x(_objectSpread$x({}, column), {}, {
25077
25077
  type: longDescriptionType || (column === null || column === void 0 ? void 0 : column.type)
25078
25078
  });
25079
25079
  if (column) {
@@ -25086,40 +25086,40 @@ var CustomCell = function CustomCell(_ref2) {
25086
25086
  };
25087
25087
  switch (modifiedColumn.type) {
25088
25088
  case 'boolean':
25089
- childNode = /*#__PURE__*/jsx(BooleanCell, _objectSpread$w({}, cellProps));
25089
+ childNode = /*#__PURE__*/jsx(BooleanCell, _objectSpread$x({}, cellProps));
25090
25090
  break;
25091
25091
  case 'text':
25092
- childNode = /*#__PURE__*/jsx(TextCell, _objectSpread$w({}, cellProps));
25092
+ childNode = /*#__PURE__*/jsx(TextCell, _objectSpread$x({}, cellProps));
25093
25093
  break;
25094
25094
  case 'select':
25095
- childNode = /*#__PURE__*/jsx(DropdownCell, _objectSpread$w({}, cellProps));
25095
+ childNode = /*#__PURE__*/jsx(DropdownCell, _objectSpread$x({}, cellProps));
25096
25096
  case 'media':
25097
- childNode = /*#__PURE__*/jsx(MediaViewerCell, _objectSpread$w({}, cellProps));
25097
+ childNode = /*#__PURE__*/jsx(MediaViewerCell, _objectSpread$x({}, cellProps));
25098
25098
  break;
25099
25099
  case 'mediaItem':
25100
- childNode = /*#__PURE__*/jsx(MediaItemViewerCell, _objectSpread$w({}, cellProps));
25100
+ childNode = /*#__PURE__*/jsx(MediaItemViewerCell, _objectSpread$x({}, cellProps));
25101
25101
  break;
25102
25102
  case 'unixTimeStamp':
25103
- childNode = /*#__PURE__*/jsx(UnixTimeStampCell, _objectSpread$w({}, cellProps));
25103
+ childNode = /*#__PURE__*/jsx(UnixTimeStampCell, _objectSpread$x({}, cellProps));
25104
25104
  break;
25105
25105
  case 'unixTimeStampCheck':
25106
- childNode = /*#__PURE__*/jsx(UnixTimeStampCheckCell, _objectSpread$w({}, cellProps));
25106
+ childNode = /*#__PURE__*/jsx(UnixTimeStampCheckCell, _objectSpread$x({}, cellProps));
25107
25107
  break;
25108
25108
  case 'icon':
25109
- childNode = /*#__PURE__*/jsx(IconCell, _objectSpread$w({}, cellProps));
25109
+ childNode = /*#__PURE__*/jsx(IconCell, _objectSpread$x({}, cellProps));
25110
25110
  break;
25111
25111
  case 'progress':
25112
- childNode = /*#__PURE__*/jsx(ProgressCell, _objectSpread$w({}, cellProps));
25112
+ childNode = /*#__PURE__*/jsx(ProgressCell, _objectSpread$x({}, cellProps));
25113
25113
  break;
25114
25114
  case 'link':
25115
- childNode = /*#__PURE__*/jsx(LinkCell, _objectSpread$w({}, cellProps));
25115
+ childNode = /*#__PURE__*/jsx(LinkCell, _objectSpread$x({}, cellProps));
25116
25116
  break;
25117
25117
  default:
25118
- childNode = /*#__PURE__*/jsx(StringCell, _objectSpread$w({}, cellProps));
25118
+ childNode = /*#__PURE__*/jsx(StringCell, _objectSpread$x({}, cellProps));
25119
25119
  break;
25120
25120
  }
25121
25121
  }
25122
- return /*#__PURE__*/jsx("td", _objectSpread$w(_objectSpread$w({}, restProps), {}, {
25122
+ return /*#__PURE__*/jsx("td", _objectSpread$x(_objectSpread$x({}, restProps), {}, {
25123
25123
  children: childNode
25124
25124
  }));
25125
25125
  };
@@ -25311,8 +25311,8 @@ function useAGHistogram (_ref) {
25311
25311
  var container$4 = "container-2r-OJ";
25312
25312
  var column1 = "column1-9viTK";
25313
25313
  var spinner = "spinner-00VcK";
25314
- var css_248z$h = ".container-2r-OJ {\n display: flex;\n gap: 40px; /* Distribute the columns evenly */\n}\n\n.column-yZ2Qc {\n padding: 10px;\n}\n\n.column1-9viTK .column-yZ2Qc {\n flex: 8;\n}\n\n.column2-pCnEz .column-yZ2Qc {\n flex: 1;\n}\n\n.column3-QZDVv .column-yZ2Qc {\n flex: 3;\n}\n\n.spinner-00VcK {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n";
25315
- styleInject(css_248z$h);
25314
+ var css_248z$i = ".container-2r-OJ {\n display: flex;\n gap: 40px; /* Distribute the columns evenly */\n}\n\n.column-yZ2Qc {\n padding: 10px;\n}\n\n.column1-9viTK .column-yZ2Qc {\n flex: 8;\n}\n\n.column2-pCnEz .column-yZ2Qc {\n flex: 1;\n}\n\n.column3-QZDVv .column-yZ2Qc {\n flex: 3;\n}\n\n.spinner-00VcK {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n";
25315
+ styleInject(css_248z$i);
25316
25316
 
25317
25317
  var Panel = Collapse.Panel;
25318
25318
  function AGHistogram (_ref) {
@@ -25471,8 +25471,8 @@ var SMChart = function SMChart(props) {
25471
25471
  }) : /*#__PURE__*/jsx(Fragment, {});
25472
25472
  };
25473
25473
 
25474
- function ownKeys$v(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
25475
- function _objectSpread$v(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$v(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$v(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
25474
+ function ownKeys$w(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
25475
+ function _objectSpread$w(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$w(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$w(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
25476
25476
  function _createForOfIteratorHelper$4(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$4(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
25477
25477
  function _unsupportedIterableToArray$4(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$4(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$4(r, a) : void 0; } }
25478
25478
  function _arrayLikeToArray$4(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
@@ -25667,7 +25667,7 @@ var TableWrapper = function TableWrapper(_ref) {
25667
25667
  // Convert to Dayjs
25668
25668
  (_state$globalFilter4 = state.globalFilter) !== null && _state$globalFilter4 !== void 0 && (_state$globalFilter4 = _state$globalFilter4.timeStamp) !== null && _state$globalFilter4 !== void 0 && (_state$globalFilter4 = _state$globalFilter4['toTimeStamp']) !== null && _state$globalFilter4 !== void 0 && _state$globalFilter4[0] ? dayjs((_state$globalFilter5 = state.globalFilter) === null || _state$globalFilter5 === void 0 || (_state$globalFilter5 = _state$globalFilter5.timeStamp) === null || _state$globalFilter5 === void 0 || (_state$globalFilter5 = _state$globalFilter5['toTimeStamp']) === null || _state$globalFilter5 === void 0 ? void 0 : _state$globalFilter5[0]) : dayjs(new Date()) // Convert to Dayjs
25669
25669
  ]
25670
- }), ((_state$configuration$4 = state.configuration.filter) === null || _state$configuration$4 === void 0 ? void 0 : _state$configuration$4.select) && /*#__PURE__*/jsx(SimpleSelect, _objectSpread$v(_objectSpread$v({}, (_state$configuration$5 = state.configuration.filter) === null || _state$configuration$5 === void 0 ? void 0 : _state$configuration$5.select.settings), {}, {
25670
+ }), ((_state$configuration$4 = state.configuration.filter) === null || _state$configuration$4 === void 0 ? void 0 : _state$configuration$4.select) && /*#__PURE__*/jsx(SimpleSelect, _objectSpread$w(_objectSpread$w({}, (_state$configuration$5 = state.configuration.filter) === null || _state$configuration$5 === void 0 ? void 0 : _state$configuration$5.select.settings), {}, {
25671
25671
  style: {
25672
25672
  minWidth: '200px'
25673
25673
  },
@@ -25772,7 +25772,7 @@ var TableWrapper = function TableWrapper(_ref) {
25772
25772
  },
25773
25773
  dataSource: data,
25774
25774
  loading: state.loading,
25775
- pagination: _objectSpread$v(_objectSpread$v({}, state.pagination), {}, {
25775
+ pagination: _objectSpread$w(_objectSpread$w({}, state.pagination), {}, {
25776
25776
  showTotal: function showTotal(total, range) {
25777
25777
  return "".concat(range[0], "-").concat(range[1], " of ").concat(total, " Elements");
25778
25778
  },
@@ -26079,7 +26079,7 @@ function BulkAction(_ref6) {
26079
26079
  }
26080
26080
  _context4.t0 = data;
26081
26081
  _context4.next = 11;
26082
- return apiInterface.update(_objectSpread$v(_objectSpread$v({}, dataEntry), updatedData), dataEntry, action.apiCallbackMapping);
26082
+ return apiInterface.update(_objectSpread$w(_objectSpread$w({}, dataEntry), updatedData), dataEntry, action.apiCallbackMapping);
26083
26083
  case 11:
26084
26084
  _context4.t1 = _context4.sent;
26085
26085
  _context4.t0.push.call(_context4.t0, _context4.t1);
@@ -26192,8 +26192,8 @@ function SelectionText(_ref8) {
26192
26192
  });
26193
26193
  }
26194
26194
 
26195
- function ownKeys$u(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
26196
- function _objectSpread$u(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$u(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$u(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
26195
+ function ownKeys$v(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
26196
+ function _objectSpread$v(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$v(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$v(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
26197
26197
  function getColumnFilterProps (_ref) {
26198
26198
  var filter = _ref.filter,
26199
26199
  title = _ref.title;
@@ -26556,7 +26556,7 @@ var selectProps = function selectProps(title, filter) {
26556
26556
  });
26557
26557
  },
26558
26558
  options: filter.map(function (f) {
26559
- return _objectSpread$u(_objectSpread$u({}, f), {}, {
26559
+ return _objectSpread$v(_objectSpread$v({}, f), {}, {
26560
26560
  label: t(f.label)
26561
26561
  });
26562
26562
  })
@@ -26605,7 +26605,7 @@ var multiSelectProps = function multiSelectProps(title, filter) {
26605
26605
  setDisplaySelectedvalues = _useState4[1];
26606
26606
  var options = [];
26607
26607
  options = filter.map(function (f) {
26608
- return _objectSpread$u(_objectSpread$u({}, f), {}, {
26608
+ return _objectSpread$v(_objectSpread$v({}, f), {}, {
26609
26609
  label: t(f.label)
26610
26610
  });
26611
26611
  });
@@ -26679,8 +26679,8 @@ var multiSelectProps = function multiSelectProps(title, filter) {
26679
26679
  };
26680
26680
  };
26681
26681
 
26682
- function ownKeys$t(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
26683
- function _objectSpread$t(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$t(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$t(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
26682
+ function ownKeys$u(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
26683
+ function _objectSpread$u(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$u(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$u(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
26684
26684
  function mapColumns(configuration, userHasPermission, onUpdate, data, globalFilter) {
26685
26685
  var columns = configuration.columns.filter(function (c) {
26686
26686
  if (typeof c.hidden == 'boolean' && c.hidden) {
@@ -26733,7 +26733,7 @@ function mapColumns(configuration, userHasPermission, onUpdate, data, globalFilt
26733
26733
  }
26734
26734
  function mapColumn(column, onUpdate) {
26735
26735
  var _column$field, _column$children;
26736
- return _objectSpread$t(_objectSpread$t(_objectSpread$t({}, column), {}, {
26736
+ return _objectSpread$u(_objectSpread$u(_objectSpread$u({}, column), {}, {
26737
26737
  hidden: false,
26738
26738
  width: column.width || 100,
26739
26739
  dataIndex: (_column$field = column.field) === null || _column$field === void 0 ? void 0 : _column$field.split('.'),
@@ -26783,8 +26783,8 @@ function updateData (_ref) {
26783
26783
  };
26784
26784
  }
26785
26785
 
26786
- function ownKeys$s(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
26787
- function _objectSpread$s(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$s(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$s(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
26786
+ function ownKeys$t(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
26787
+ function _objectSpread$t(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$t(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$t(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
26788
26788
  function applyFilterAndSortation (_ref) {
26789
26789
  var data = _ref.data,
26790
26790
  filters = _ref.filters,
@@ -26799,7 +26799,7 @@ function applyFilterAndSortation (_ref) {
26799
26799
  processedData = sort(sorter || [], processedData);
26800
26800
  return {
26801
26801
  data: processedData,
26802
- pagination: _objectSpread$s(_objectSpread$s({}, pagination), {}, {
26802
+ pagination: _objectSpread$t(_objectSpread$t({}, pagination), {}, {
26803
26803
  total: processedData.length
26804
26804
  })
26805
26805
  };
@@ -26884,8 +26884,8 @@ function filter(f, data) {
26884
26884
  }
26885
26885
 
26886
26886
  var _excluded = ["_id"];
26887
- function ownKeys$r(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
26888
- function _objectSpread$r(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$r(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$r(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
26887
+ function ownKeys$s(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
26888
+ function _objectSpread$s(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$s(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$s(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
26889
26889
  function useTableData$1 (_ref) {
26890
26890
  var _configuration$apiInt;
26891
26891
  var id = _ref.id;
@@ -26940,7 +26940,7 @@ function useTableData$1 (_ref) {
26940
26940
  var _configuration$create;
26941
26941
  if (!dataRow) return;
26942
26942
  var id = v4();
26943
- var processedDataRow = unflatten(_objectSpread$r({
26943
+ var processedDataRow = unflatten(_objectSpread$s({
26944
26944
  _id: id,
26945
26945
  ID: id
26946
26946
  }, dataRow));
@@ -26952,11 +26952,11 @@ function useTableData$1 (_ref) {
26952
26952
  newData = _updateData.data;
26953
26953
  _updateData.prevDataRow;
26954
26954
  _updateData.index;
26955
- var newState = _objectSpread$r(_objectSpread$r({}, state), {}, {
26955
+ var newState = _objectSpread$s(_objectSpread$s({}, state), {}, {
26956
26956
  data: newData
26957
26957
  });
26958
26958
  if (!filterServerSide) {
26959
- var res = applyFilterAndSortation(_objectSpread$r(_objectSpread$r({}, filterData), {}, {
26959
+ var res = applyFilterAndSortation(_objectSpread$s(_objectSpread$s({}, filterData), {}, {
26960
26960
  data: newData
26961
26961
  }));
26962
26962
  newState.data = res.data;
@@ -26968,33 +26968,33 @@ function useTableData$1 (_ref) {
26968
26968
  var formData = new FormData();
26969
26969
  processedDataRow._id;
26970
26970
  var value = _objectWithoutProperties(processedDataRow, _excluded);
26971
- apiHandler.create(undefined, (_configuration$create = configuration.createMapping) !== null && _configuration$create !== void 0 ? _configuration$create : configuration.mapping, _objectSpread$r(_objectSpread$r({}, catalogItem), {}, {
26971
+ apiHandler.create(undefined, (_configuration$create = configuration.createMapping) !== null && _configuration$create !== void 0 ? _configuration$create : configuration.mapping, _objectSpread$s(_objectSpread$s({}, catalogItem), {}, {
26972
26972
  filterContex: filterContex,
26973
26973
  value: JSON.stringify([value])
26974
26974
  }), formData, catalogItem === null || catalogItem === void 0 ? void 0 : catalogItem.sessionGuid).then(function (d) {
26975
26975
  if (d && d.Result && d.Result == 'Success') return;
26976
- setState(_objectSpread$r({}, oldState));
26976
+ setState(_objectSpread$s({}, oldState));
26977
26977
  });
26978
26978
  }, [state, catalogItem, filterData]);
26979
26979
  useEffect(function () {
26980
26980
  if (!catalogItem) return;
26981
- setState(_objectSpread$r(_objectSpread$r({}, state), {}, {
26981
+ setState(_objectSpread$s(_objectSpread$s({}, state), {}, {
26982
26982
  loading: true,
26983
- mappingData: _objectSpread$r(_objectSpread$r({}, catalogItem), {}, {
26983
+ mappingData: _objectSpread$s(_objectSpread$s({}, catalogItem), {}, {
26984
26984
  filterContex: filterContex
26985
26985
  })
26986
26986
  }));
26987
26987
  if (!filterServerSide) {
26988
- apiHandler.readList(configuration.mapping, _objectSpread$r(_objectSpread$r({}, catalogItem), {}, {
26988
+ apiHandler.readList(configuration.mapping, _objectSpread$s(_objectSpread$s({}, catalogItem), {}, {
26989
26989
  filterContex: filterContex
26990
26990
  }), undefined, catalogItem.sessionGuid).then(function (data) {
26991
26991
  var newData = data.data.map(function (d) {
26992
- return _objectSpread$r(_objectSpread$r({}, d), {}, {
26992
+ return _objectSpread$s(_objectSpread$s({}, d), {}, {
26993
26993
  _id: d._id || d.ID || nanoid()
26994
26994
  });
26995
26995
  });
26996
26996
  onChange({
26997
- pagination: _objectSpread$r({}, state.pagination),
26997
+ pagination: _objectSpread$s({}, state.pagination),
26998
26998
  filters: {},
26999
26999
  sorter: mapColumns(configuration, root.actions.userHasPermission, onUpdate).filter(function (c) {
27000
27000
  return c.defaultSortOrder;
@@ -27010,7 +27010,7 @@ function useTableData$1 (_ref) {
27010
27010
  });
27011
27011
  } else {
27012
27012
  onChange({
27013
- pagination: _objectSpread$r({}, state.pagination),
27013
+ pagination: _objectSpread$s({}, state.pagination),
27014
27014
  filters: {},
27015
27015
  sorter: mapColumns(configuration, root.actions.userHasPermission, onUpdate).filter(function (c) {
27016
27016
  return c.defaultSortOrder;
@@ -27026,17 +27026,17 @@ function useTableData$1 (_ref) {
27026
27026
  }
27027
27027
  }, [filterContex, catalogItem]);
27028
27028
  var onChange = function onChange(p, dataParam) {
27029
- setState(_objectSpread$r(_objectSpread$r({}, state), {}, {
27029
+ setState(_objectSpread$s(_objectSpread$s({}, state), {}, {
27030
27030
  loading: true
27031
27031
  }));
27032
27032
  if (!filterServerSide) {
27033
27033
  var unfilteredData = dataParam ? dataParam : state.unfilteredData;
27034
- var _applyFilterAndSortat = applyFilterAndSortation(_objectSpread$r(_objectSpread$r({}, p), {}, {
27034
+ var _applyFilterAndSortat = applyFilterAndSortation(_objectSpread$s(_objectSpread$s({}, p), {}, {
27035
27035
  data: unfilteredData
27036
27036
  })),
27037
27037
  data = _applyFilterAndSortat.data,
27038
27038
  pagination = _applyFilterAndSortat.pagination;
27039
- setState(_objectSpread$r(_objectSpread$r({}, state), {}, {
27039
+ setState(_objectSpread$s(_objectSpread$s({}, state), {}, {
27040
27040
  data: data,
27041
27041
  pagination: pagination,
27042
27042
  loading: false,
@@ -27047,20 +27047,20 @@ function useTableData$1 (_ref) {
27047
27047
  sorter: p.sorter
27048
27048
  });
27049
27049
  } else {
27050
- apiHandler.readList(configuration.mapping, _objectSpread$r(_objectSpread$r({}, catalogItem), {}, {
27050
+ apiHandler.readList(configuration.mapping, _objectSpread$s(_objectSpread$s({}, catalogItem), {}, {
27051
27051
  filterContex: filterContex
27052
27052
  }), p, catalogItem === null || catalogItem === void 0 ? void 0 : catalogItem.sessionGuid).then(function (data) {
27053
- setState(_objectSpread$r(_objectSpread$r({}, state), {}, {
27053
+ setState(_objectSpread$s(_objectSpread$s({}, state), {}, {
27054
27054
  data: data.data.map(function (dt) {
27055
- return _objectSpread$r(_objectSpread$r({}, dt), {}, {
27055
+ return _objectSpread$s(_objectSpread$s({}, dt), {}, {
27056
27056
  _id: dt._id || dt.ID || nanoid()
27057
27057
  });
27058
27058
  }),
27059
- pagination: _objectSpread$r(_objectSpread$r({}, p.pagination), {}, {
27059
+ pagination: _objectSpread$s(_objectSpread$s({}, p.pagination), {}, {
27060
27060
  total: data.total
27061
27061
  }),
27062
27062
  loading: false,
27063
- mappingData: _objectSpread$r(_objectSpread$r({}, catalogItem), {}, {
27063
+ mappingData: _objectSpread$s(_objectSpread$s({}, catalogItem), {}, {
27064
27064
  filterContex: filterContex
27065
27065
  })
27066
27066
  }));
@@ -27081,7 +27081,7 @@ function useTableData$1 (_ref) {
27081
27081
  filters['_id'] = [id, 'eq', false];
27082
27082
  _context.next = 4;
27083
27083
  return apiHandler.readList(configuration.mapping, {
27084
- pagination: _objectSpread$r({}, state.pagination),
27084
+ pagination: _objectSpread$s({}, state.pagination),
27085
27085
  columns: configuration.columns,
27086
27086
  filters: filters,
27087
27087
  sorter: filterData.sorter
@@ -27100,7 +27100,7 @@ function useTableData$1 (_ref) {
27100
27100
  };
27101
27101
  }();
27102
27102
  var onSelect = function onSelect(keys) {
27103
- setState(_objectSpread$r(_objectSpread$r({}, state), {}, {
27103
+ setState(_objectSpread$s(_objectSpread$s({}, state), {}, {
27104
27104
  selected: keys
27105
27105
  }));
27106
27106
  };
@@ -27110,7 +27110,7 @@ function useTableData$1 (_ref) {
27110
27110
  return _regeneratorRuntime.wrap(function _callee2$(_context3) {
27111
27111
  while (1) switch (_context3.prev = _context3.next) {
27112
27112
  case 0:
27113
- setState(_objectSpread$r(_objectSpread$r({}, state), {}, {
27113
+ setState(_objectSpread$s(_objectSpread$s({}, state), {}, {
27114
27114
  deleting: true
27115
27115
  }));
27116
27116
  newData = _toConsumableArray(state.data);
@@ -27125,7 +27125,7 @@ function useTableData$1 (_ref) {
27125
27125
  mappingData = (_newData$filter = newData.filter(function (nd) {
27126
27126
  return nd._id === state.selected[index];
27127
27127
  })) === null || _newData$filter === void 0 ? void 0 : _newData$filter[0];
27128
- mappingData = _objectSpread$r(_objectSpread$r({}, mappingData), state.mappingData);
27128
+ mappingData = _objectSpread$s(_objectSpread$s({}, mappingData), state.mappingData);
27129
27129
  _context2.next = 5;
27130
27130
  return apiHandler["delete"](id, (_configuration$delete = configuration.deleteMapping) !== null && _configuration$delete !== void 0 ? _configuration$delete : configuration.mapping, mappingData, true, catalogItem === null || catalogItem === void 0 ? void 0 : catalogItem.sessionGuid);
27131
27131
  case 5:
@@ -27175,7 +27175,7 @@ function useTableData$1 (_ref) {
27175
27175
  }
27176
27176
  _context3.next = 18;
27177
27177
  return apiHandler.readList(configuration.mapping, {
27178
- pagination: _objectSpread$r(_objectSpread$r({}, state.pagination), {}, {
27178
+ pagination: _objectSpread$s(_objectSpread$s({}, state.pagination), {}, {
27179
27179
  current: current
27180
27180
  }),
27181
27181
  columns: configuration.columns,
@@ -27187,11 +27187,11 @@ function useTableData$1 (_ref) {
27187
27187
  newData = data.data;
27188
27188
  total = data.total;
27189
27189
  case 21:
27190
- setState(_objectSpread$r(_objectSpread$r({}, state), {}, {
27190
+ setState(_objectSpread$s(_objectSpread$s({}, state), {}, {
27191
27191
  selected: [],
27192
27192
  deleting: false,
27193
27193
  data: newData,
27194
- pagination: _objectSpread$r(_objectSpread$r({}, state.pagination), {}, {
27194
+ pagination: _objectSpread$s(_objectSpread$s({}, state.pagination), {}, {
27195
27195
  current: current,
27196
27196
  total: total
27197
27197
  })
@@ -27207,12 +27207,12 @@ function useTableData$1 (_ref) {
27207
27207
  };
27208
27208
  }();
27209
27209
  function setLoading() {
27210
- setState(_objectSpread$r(_objectSpread$r({}, state), {}, {
27210
+ setState(_objectSpread$s(_objectSpread$s({}, state), {}, {
27211
27211
  loading: true
27212
27212
  }));
27213
27213
  }
27214
- return _objectSpread$r(_objectSpread$r({}, state), {}, {
27215
- configuration: _objectSpread$r(_objectSpread$r({}, configuration), {}, {
27214
+ return _objectSpread$s(_objectSpread$s({}, state), {}, {
27215
+ configuration: _objectSpread$s(_objectSpread$s({}, configuration), {}, {
27216
27216
  title: undefined
27217
27217
  }),
27218
27218
  columns: mapColumns(configuration, root.actions.userHasPermission, onUpdate),
@@ -27324,8 +27324,8 @@ function objectHash (obj) {
27324
27324
  function _createForOfIteratorHelper$3(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$3(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
27325
27325
  function _unsupportedIterableToArray$3(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$3(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$3(r, a) : void 0; } }
27326
27326
  function _arrayLikeToArray$3(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
27327
- function ownKeys$q(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
27328
- function _objectSpread$q(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$q(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$q(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
27327
+ function ownKeys$r(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
27328
+ function _objectSpread$r(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$r(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$r(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
27329
27329
  var LOG$2 = getLogger('Backoffice', 'TableData');
27330
27330
  function useTableData (_ref) {
27331
27331
  var _configuration$filter, _configuration$filter2, _configuration$filter3, _configuration$filter4, _configuration$bulkAc, _configuration$apiInt;
@@ -27384,7 +27384,7 @@ function useTableData (_ref) {
27384
27384
  var _useState13 = useState({
27385
27385
  loading: true,
27386
27386
  deleting: false,
27387
- pagination: _objectSpread$q({
27387
+ pagination: _objectSpread$r({
27388
27388
  current: 1,
27389
27389
  pageSize: 20,
27390
27390
  total: 0,
@@ -27393,7 +27393,7 @@ function useTableData (_ref) {
27393
27393
  selected: [],
27394
27394
  canDelete: !!apiHandler.canDelete,
27395
27395
  canSelect: !!apiHandler.canDelete || !!((_configuration$bulkAc = configuration.bulkActions) !== null && _configuration$bulkAc !== void 0 && _configuration$bulkAc.length),
27396
- mappingData: _objectSpread$q(_objectSpread$q({}, parentData), {}, {
27396
+ mappingData: _objectSpread$r(_objectSpread$r({}, parentData), {}, {
27397
27397
  prefilter: {
27398
27398
  select: globalFilter.select
27399
27399
  },
@@ -27404,7 +27404,7 @@ function useTableData (_ref) {
27404
27404
  _useState14 = _slicedToArray(_useState13, 2),
27405
27405
  state = _useState14[0],
27406
27406
  setState = _useState14[1];
27407
- var mappingData = _objectSpread$q(_objectSpread$q(_objectSpread$q({}, parentData), state.data), {}, {
27407
+ var mappingData = _objectSpread$r(_objectSpread$r(_objectSpread$r({}, parentData), state.data), {}, {
27408
27408
  catalogCodex: catalogItem === null || catalogItem === void 0 ? void 0 : catalogItem.codex,
27409
27409
  sessionGuID: catalogItem === null || catalogItem === void 0 ? void 0 : catalogItem.sessionGuid
27410
27410
  });
@@ -27443,7 +27443,7 @@ function useTableData (_ref) {
27443
27443
  }
27444
27444
  var dataArray = Array.isArray(data) ? data : [data];
27445
27445
  var newInitData = initData;
27446
- var newState = _objectSpread$q({}, state);
27446
+ var newState = _objectSpread$r({}, state);
27447
27447
  var selected = [];
27448
27448
  if (configuration.deselectOnUpdate == false) {
27449
27449
  selected = state.selected;
@@ -27460,7 +27460,7 @@ function useTableData (_ref) {
27460
27460
  dataRow: dataRow
27461
27461
  }),
27462
27462
  _data = _updateData.data;
27463
- newState = _objectSpread$q(_objectSpread$q({}, newState), {}, {
27463
+ newState = _objectSpread$r(_objectSpread$r({}, newState), {}, {
27464
27464
  data: _data,
27465
27465
  selected: selected
27466
27466
  });
@@ -27472,8 +27472,8 @@ function useTableData (_ref) {
27472
27472
  dataRow: dataRow
27473
27473
  }),
27474
27474
  nextInitData = _updateData2.data;
27475
- var _applyFilterAndSortat = applyFilterAndSortation(_objectSpread$q(_objectSpread$q(_objectSpread$q({}, filterData), {}, {
27476
- filters: _objectSpread$q(_objectSpread$q(_objectSpread$q(_objectSpread$q(_objectSpread$q(_objectSpread$q({}, filterData.filters), globalFilter.search), !(configuration !== null && configuration !== void 0 && (_configuration$filter6 = configuration.filter) !== null && _configuration$filter6 !== void 0 && (_configuration$filter6 = _configuration$filter6.toggle) !== null && _configuration$filter6 !== void 0 && _configuration$filter6.inQuery) ? globalFilter.toggle : undefined), globalFilter.select), globalFilter.timeStamp), globalFilter["default"])
27475
+ var _applyFilterAndSortat = applyFilterAndSortation(_objectSpread$r(_objectSpread$r(_objectSpread$r({}, filterData), {}, {
27476
+ filters: _objectSpread$r(_objectSpread$r(_objectSpread$r(_objectSpread$r(_objectSpread$r(_objectSpread$r({}, filterData.filters), globalFilter.search), !(configuration !== null && configuration !== void 0 && (_configuration$filter6 = configuration.filter) !== null && _configuration$filter6 !== void 0 && (_configuration$filter6 = _configuration$filter6.toggle) !== null && _configuration$filter6 !== void 0 && _configuration$filter6.inQuery) ? globalFilter.toggle : undefined), globalFilter.select), globalFilter.timeStamp), globalFilter["default"])
27477
27477
  }, configuration !== null && configuration !== void 0 && (_configuration$filter7 = configuration.filter) !== null && _configuration$filter7 !== void 0 && (_configuration$filter7 = _configuration$filter7.toggle) !== null && _configuration$filter7 !== void 0 && _configuration$filter7.inQuery ? {
27478
27478
  genericProps: globalFilter.toggle
27479
27479
  } : undefined), {}, {
@@ -27483,7 +27483,7 @@ function useTableData (_ref) {
27483
27483
  _data2 = _applyFilterAndSortat.data,
27484
27484
  pagination = _applyFilterAndSortat.pagination;
27485
27485
  newInitData = nextInitData;
27486
- newState = _objectSpread$q(_objectSpread$q({}, newState), {}, {
27486
+ newState = _objectSpread$r(_objectSpread$r({}, newState), {}, {
27487
27487
  pagination: pagination,
27488
27488
  data: _data2,
27489
27489
  selected: selected
@@ -27493,8 +27493,8 @@ function useTableData (_ref) {
27493
27493
  if (apiHandler.canCreate) {
27494
27494
  apiCreate(data).then(function (res) {
27495
27495
  if (!res || (res === null || res === void 0 ? void 0 : res.Error) !== undefined) {
27496
- initData && setInitData(_objectSpread$q({}, initData));
27497
- setState(_objectSpread$q({}, state));
27496
+ initData && setInitData(_objectSpread$r({}, initData));
27497
+ setState(_objectSpread$r({}, state));
27498
27498
  }
27499
27499
  });
27500
27500
  }
@@ -27507,7 +27507,7 @@ function useTableData (_ref) {
27507
27507
  var triggerRefresh = function triggerRefresh() {
27508
27508
  var _configuration$filter8;
27509
27509
  setError(undefined);
27510
- var newGlobalFilter = _objectSpread$q({}, globalFilter);
27510
+ var newGlobalFilter = _objectSpread$r({}, globalFilter);
27511
27511
  //on refresh update default filter, since global value can change
27512
27512
  if ((_configuration$filter8 = configuration.filter) !== null && _configuration$filter8 !== void 0 && _configuration$filter8["default"]) {
27513
27513
  var _configuration$filter9;
@@ -27518,7 +27518,7 @@ function useTableData (_ref) {
27518
27518
  newGlobalFilter["default"] = _defaultFilter;
27519
27519
  setGlobaFilter(newGlobalFilter);
27520
27520
  }
27521
- onChange(_objectSpread$q({
27521
+ onChange(_objectSpread$r({
27522
27522
  pagination: state.pagination
27523
27523
  }, filterData), newGlobalFilter, true);
27524
27524
  };
@@ -27536,7 +27536,7 @@ function useTableData (_ref) {
27536
27536
  order: c.defaultSortOrder
27537
27537
  };
27538
27538
  });
27539
- if (configuration.initialCall === false && !catalogItem) setState(_objectSpread$q(_objectSpread$q({}, state), {}, {
27539
+ if (configuration.initialCall === false && !catalogItem) setState(_objectSpread$r(_objectSpread$r({}, state), {}, {
27540
27540
  loading: false
27541
27541
  }));else {
27542
27542
  onChange({
@@ -27579,7 +27579,7 @@ function useTableData (_ref) {
27579
27579
  case 0:
27580
27580
  filters = {};
27581
27581
  filters['_id'] = [id, 'eq', false];
27582
- ssf = _objectSpread$q({
27582
+ ssf = _objectSpread$r({
27583
27583
  pagination: {
27584
27584
  current: 1,
27585
27585
  pageSize: 1
@@ -27590,7 +27590,7 @@ function useTableData (_ref) {
27590
27590
  genericProps: globalFilter.toggle
27591
27591
  } : undefined);
27592
27592
  _context2.next = 5;
27593
- return apiHandler.readList(parentMapping || configuration.mapping, _objectSpread$q(_objectSpread$q({}, mappingData), state.mappingData), ssf);
27593
+ return apiHandler.readList(parentMapping || configuration.mapping, _objectSpread$r(_objectSpread$r({}, mappingData), state.mappingData), ssf);
27594
27594
  case 5:
27595
27595
  data = _context2.sent;
27596
27596
  return _context2.abrupt("return", data);
@@ -27634,12 +27634,12 @@ function useTableData (_ref) {
27634
27634
  refresh = _args3.length > 2 ? _args3[2] : undefined;
27635
27635
  clearSelection = _args3.length > 3 ? _args3[3] : undefined;
27636
27636
  overwriteMappingData = _args3.length > 4 ? _args3[4] : undefined;
27637
- setState(_objectSpread$q(_objectSpread$q({}, state), {}, {
27637
+ setState(_objectSpread$r(_objectSpread$r({}, state), {}, {
27638
27638
  mappingData: overwriteMappingData !== null && overwriteMappingData !== void 0 ? overwriteMappingData : state.mappingData,
27639
27639
  loading: true
27640
27640
  }));
27641
27641
  currentData = initData;
27642
- filterData = _objectSpread$q(_objectSpread$q(_objectSpread$q(_objectSpread$q({}, prefilter.search), ((_configuration$filter11 = configuration.filter) === null || _configuration$filter11 === void 0 || (_configuration$filter11 = _configuration$filter11.select) === null || _configuration$filter11 === void 0 ? void 0 : _configuration$filter11.applyDefaultValue) !== false || ((_configuration$filter12 = configuration.filter) === null || _configuration$filter12 === void 0 || (_configuration$filter12 = _configuration$filter12.select) === null || _configuration$filter12 === void 0 ? void 0 : _configuration$filter12.defaultValue) !== ((_prefilter$select = prefilter.select) === null || _prefilter$select === void 0 || (_prefilter$select = _prefilter$select[(_configuration$filter13 = (_configuration$filter14 = configuration.filter) === null || _configuration$filter14 === void 0 || (_configuration$filter14 = _configuration$filter14.select) === null || _configuration$filter14 === void 0 ? void 0 : _configuration$filter14.filterField) !== null && _configuration$filter13 !== void 0 ? _configuration$filter13 : '']) === null || _prefilter$select === void 0 ? void 0 : _prefilter$select[0]) ? prefilter.select : undefined), prefilter.timeStamp), prefilter["default"]); //remove all null values
27642
+ filterData = _objectSpread$r(_objectSpread$r(_objectSpread$r(_objectSpread$r({}, prefilter.search), ((_configuration$filter11 = configuration.filter) === null || _configuration$filter11 === void 0 || (_configuration$filter11 = _configuration$filter11.select) === null || _configuration$filter11 === void 0 ? void 0 : _configuration$filter11.applyDefaultValue) !== false || ((_configuration$filter12 = configuration.filter) === null || _configuration$filter12 === void 0 || (_configuration$filter12 = _configuration$filter12.select) === null || _configuration$filter12 === void 0 ? void 0 : _configuration$filter12.defaultValue) !== ((_prefilter$select = prefilter.select) === null || _prefilter$select === void 0 || (_prefilter$select = _prefilter$select[(_configuration$filter13 = (_configuration$filter14 = configuration.filter) === null || _configuration$filter14 === void 0 || (_configuration$filter14 = _configuration$filter14.select) === null || _configuration$filter14 === void 0 ? void 0 : _configuration$filter14.filterField) !== null && _configuration$filter13 !== void 0 ? _configuration$filter13 : '']) === null || _prefilter$select === void 0 ? void 0 : _prefilter$select[0]) ? prefilter.select : undefined), prefilter.timeStamp), prefilter["default"]); //remove all null values
27643
27643
  filterData = Object.fromEntries(Object.entries(filterData).filter(function (_ref6) {
27644
27644
  var _ref7 = _slicedToArray(_ref6, 2);
27645
27645
  _ref7[0];
@@ -27647,7 +27647,7 @@ function useTableData (_ref) {
27647
27647
  return v != null;
27648
27648
  }));
27649
27649
  currentFilterHash = objectHash(filterData);
27650
- currentPagination = _objectSpread$q(_objectSpread$q({}, p.pagination), {}, {
27650
+ currentPagination = _objectSpread$r(_objectSpread$r({}, p.pagination), {}, {
27651
27651
  current: currentFilterHash == filterHash.current ? p.pagination.current : 1
27652
27652
  });
27653
27653
  filterHash.current = currentFilterHash;
@@ -27655,7 +27655,7 @@ function useTableData (_ref) {
27655
27655
  _context3.next = 21;
27656
27656
  break;
27657
27657
  }
27658
- ssf = _objectSpread$q({
27658
+ ssf = _objectSpread$r({
27659
27659
  pagination: currentPagination,
27660
27660
  columns: configuration.columns,
27661
27661
  filters: filterData,
@@ -27664,12 +27664,12 @@ function useTableData (_ref) {
27664
27664
  genericProps: prefilter.toggle
27665
27665
  } : undefined);
27666
27666
  _context3.next = 15;
27667
- return apiHandler.readList(parentMapping || configuration.mapping, _objectSpread$q(_objectSpread$q({}, mappingData), overwriteMappingData), ssf, catalogItem === null || catalogItem === void 0 ? void 0 : catalogItem.sessionGuid, parseFilter(!(configuration !== null && configuration !== void 0 && (_configuration$filter16 = configuration.filter) !== null && _configuration$filter16 !== void 0 && (_configuration$filter16 = _configuration$filter16.toggle) !== null && _configuration$filter16 !== void 0 && _configuration$filter16.inQuery) ? (_prefilter$toggle = prefilter.toggle) !== null && _prefilter$toggle !== void 0 ? _prefilter$toggle : {} : {}, (_parseFilter = parseFilter(p.filters, undefined)) === null || _parseFilter === void 0 ? void 0 : _parseFilter.slice(1, -1)));
27667
+ return apiHandler.readList(parentMapping || configuration.mapping, _objectSpread$r(_objectSpread$r({}, mappingData), overwriteMappingData), ssf, catalogItem === null || catalogItem === void 0 ? void 0 : catalogItem.sessionGuid, parseFilter(!(configuration !== null && configuration !== void 0 && (_configuration$filter16 = configuration.filter) !== null && _configuration$filter16 !== void 0 && (_configuration$filter16 = _configuration$filter16.toggle) !== null && _configuration$filter16 !== void 0 && _configuration$filter16.inQuery) ? (_prefilter$toggle = prefilter.toggle) !== null && _prefilter$toggle !== void 0 ? _prefilter$toggle : {} : {}, (_parseFilter = parseFilter(p.filters, undefined)) === null || _parseFilter === void 0 ? void 0 : _parseFilter.slice(1, -1)));
27668
27668
  case 15:
27669
27669
  data = _context3.sent;
27670
- currentUrl = apiHandler.getReadListUrl(parentMapping || configuration.mapping, _objectSpread$q(_objectSpread$q({}, mappingData), state.mappingData), ssf);
27670
+ currentUrl = apiHandler.getReadListUrl(parentMapping || configuration.mapping, _objectSpread$r(_objectSpread$r({}, mappingData), state.mappingData), ssf);
27671
27671
  currentData = data.data;
27672
- currentPagination = _objectSpread$q(_objectSpread$q({}, currentPagination), {}, {
27672
+ currentPagination = _objectSpread$r(_objectSpread$r({}, currentPagination), {}, {
27673
27673
  total: data.total
27674
27674
  });
27675
27675
  _context3.next = 30;
@@ -27686,7 +27686,7 @@ function useTableData (_ref) {
27686
27686
  currentData = _data3.data;
27687
27687
  setInitData(currentData);
27688
27688
  case 27:
27689
- _applyFilterAndSortat2 = applyFilterAndSortation(_objectSpread$q(_objectSpread$q({}, p), {}, {
27689
+ _applyFilterAndSortat2 = applyFilterAndSortation(_objectSpread$r(_objectSpread$r({}, p), {}, {
27690
27690
  pagination: currentPagination,
27691
27691
  filters: filterData,
27692
27692
  data: currentData,
@@ -27695,11 +27695,11 @@ function useTableData (_ref) {
27695
27695
  currentData = _data4;
27696
27696
  currentPagination = pagination;
27697
27697
  case 30:
27698
- setState(_objectSpread$q(_objectSpread$q({}, state), {}, {
27698
+ setState(_objectSpread$r(_objectSpread$r({}, state), {}, {
27699
27699
  loading: false,
27700
27700
  data: currentData,
27701
27701
  pagination: currentPagination,
27702
- mappingData: _objectSpread$q(_objectSpread$q(_objectSpread$q(_objectSpread$q({}, parentData), state.mappingData), overwriteMappingData), {}, {
27702
+ mappingData: _objectSpread$r(_objectSpread$r(_objectSpread$r(_objectSpread$r({}, parentData), state.mappingData), overwriteMappingData), {}, {
27703
27703
  prefilter: prefilter
27704
27704
  }),
27705
27705
  currentFetchUrl: currentUrl
@@ -27721,7 +27721,7 @@ function useTableData (_ref) {
27721
27721
  };
27722
27722
  }();
27723
27723
  var onSelect = function onSelect(keys) {
27724
- setState(_objectSpread$q(_objectSpread$q({}, state), {}, {
27724
+ setState(_objectSpread$r(_objectSpread$r({}, state), {}, {
27725
27725
  selected: keys
27726
27726
  }));
27727
27727
  };
@@ -27732,7 +27732,7 @@ function useTableData (_ref) {
27732
27732
  return _regeneratorRuntime.wrap(function _callee4$(_context5) {
27733
27733
  while (1) switch (_context5.prev = _context5.next) {
27734
27734
  case 0:
27735
- setState(_objectSpread$q(_objectSpread$q({}, state), {}, {
27735
+ setState(_objectSpread$r(_objectSpread$r({}, state), {}, {
27736
27736
  deleting: true
27737
27737
  }));
27738
27738
  newData = _toConsumableArray(state.data);
@@ -27772,7 +27772,7 @@ function useTableData (_ref) {
27772
27772
  } finally {
27773
27773
  _iterator.f();
27774
27774
  }
27775
- mappingData = _objectSpread$q(_objectSpread$q(_objectSpread$q({}, mappingData), state.mappingData), mapToggle);
27775
+ mappingData = _objectSpread$r(_objectSpread$r(_objectSpread$r({}, mappingData), state.mappingData), mapToggle);
27776
27776
  deleteResult = undefined;
27777
27777
  _context4.prev = 7;
27778
27778
  if (!(userPermissions && !root.actions.userHasPermission(userPermissions))) {
@@ -27862,12 +27862,12 @@ function useTableData (_ref) {
27862
27862
  break;
27863
27863
  }
27864
27864
  _context5.next = 25;
27865
- return apiHandler.readList(parentMapping || configuration.mapping, _objectSpread$q(_objectSpread$q({}, mappingData), state.mappingData), _objectSpread$q({
27866
- pagination: _objectSpread$q(_objectSpread$q({}, state.pagination), {}, {
27865
+ return apiHandler.readList(parentMapping || configuration.mapping, _objectSpread$r(_objectSpread$r({}, mappingData), state.mappingData), _objectSpread$r({
27866
+ pagination: _objectSpread$r(_objectSpread$r({}, state.pagination), {}, {
27867
27867
  current: current
27868
27868
  }),
27869
27869
  columns: configuration.columns,
27870
- filters: _objectSpread$q(_objectSpread$q(_objectSpread$q(_objectSpread$q(_objectSpread$q(_objectSpread$q({}, filterData.filters), globalFilter.search), !(configuration !== null && configuration !== void 0 && (_configuration$filter17 = configuration.filter) !== null && _configuration$filter17 !== void 0 && (_configuration$filter17 = _configuration$filter17.toggle) !== null && _configuration$filter17 !== void 0 && _configuration$filter17.inQuery) ? globalFilter.toggle : undefined), globalFilter.select), globalFilter.timeStamp), globalFilter["default"]),
27870
+ filters: _objectSpread$r(_objectSpread$r(_objectSpread$r(_objectSpread$r(_objectSpread$r(_objectSpread$r({}, filterData.filters), globalFilter.search), !(configuration !== null && configuration !== void 0 && (_configuration$filter17 = configuration.filter) !== null && _configuration$filter17 !== void 0 && (_configuration$filter17 = _configuration$filter17.toggle) !== null && _configuration$filter17 !== void 0 && _configuration$filter17.inQuery) ? globalFilter.toggle : undefined), globalFilter.select), globalFilter.timeStamp), globalFilter["default"]),
27871
27871
  sorter: filterData.sorter
27872
27872
  }, configuration !== null && configuration !== void 0 && (_configuration$filter18 = configuration.filter) !== null && _configuration$filter18 !== void 0 && (_configuration$filter18 = _configuration$filter18.toggle) !== null && _configuration$filter18 !== void 0 && _configuration$filter18.inQuery ? {
27873
27873
  genericProps: globalFilter.toggle
@@ -27878,11 +27878,11 @@ function useTableData (_ref) {
27878
27878
  total = data.total;
27879
27879
  case 28:
27880
27880
  setInitData(newInitData);
27881
- setState(_objectSpread$q(_objectSpread$q({}, state), {}, {
27881
+ setState(_objectSpread$r(_objectSpread$r({}, state), {}, {
27882
27882
  selected: [],
27883
27883
  deleting: false,
27884
27884
  data: newData,
27885
- pagination: _objectSpread$q(_objectSpread$q({}, state.pagination), {}, {
27885
+ pagination: _objectSpread$r(_objectSpread$r({}, state.pagination), {}, {
27886
27886
  current: current === 0 ? 1 : current,
27887
27887
  total: total
27888
27888
  })
@@ -27903,14 +27903,14 @@ function useTableData (_ref) {
27903
27903
  LOG$2.error(new DivaError('No global select filter defiend'));
27904
27904
  return;
27905
27905
  }
27906
- var newGlobalFilter = _objectSpread$q({}, globalFilter);
27906
+ var newGlobalFilter = _objectSpread$r({}, globalFilter);
27907
27907
  if (value !== null && value !== void 0 && value.length) {
27908
27908
  newGlobalFilter.select = _defineProperty({}, configuration.filter.select.filterField, Array.isArray(value) ? value : [value]);
27909
27909
  } else {
27910
27910
  newGlobalFilter.select = {};
27911
27911
  }
27912
27912
  setGlobaFilter(newGlobalFilter);
27913
- onChange(_objectSpread$q({
27913
+ onChange(_objectSpread$r({
27914
27914
  pagination: state.pagination
27915
27915
  }, filterData), newGlobalFilter);
27916
27916
  };
@@ -27921,16 +27921,16 @@ function useTableData (_ref) {
27921
27921
  return;
27922
27922
  }
27923
27923
  var toggleFilter = {};
27924
- var mappingData = _objectSpread$q({}, state.mappingData);
27924
+ var mappingData = _objectSpread$r({}, state.mappingData);
27925
27925
  configuration.filter.toggle.fields.forEach(function (f) {
27926
27926
  mappingData[f] = !globalFilter.toggle && configuration.filter.toggle.globalValue ? root.getGlobalValue(configuration.filter.toggle.globalValue) : undefined;
27927
27927
  toggleFilter[f] = [configuration.filter.toggle.globalValue ? root.getGlobalValue(configuration.filter.toggle.globalValue) : true, 'eq', !configuration.filter.toggle.isAnd];
27928
27928
  });
27929
- var newGlobalFilter = _objectSpread$q(_objectSpread$q({}, globalFilter), {}, {
27929
+ var newGlobalFilter = _objectSpread$r(_objectSpread$r({}, globalFilter), {}, {
27930
27930
  toggle: globalFilter.toggle ? undefined : toggleFilter
27931
27931
  });
27932
27932
  setGlobaFilter(newGlobalFilter);
27933
- onChange(_objectSpread$q({
27933
+ onChange(_objectSpread$r({
27934
27934
  pagination: state.pagination
27935
27935
  }, filterData), newGlobalFilter, true, true, mappingData);
27936
27936
  };
@@ -27943,7 +27943,7 @@ function useTableData (_ref) {
27943
27943
  LOG$2.error(new DivaError('No global search filter defiend'));
27944
27944
  return;
27945
27945
  }
27946
- var newGlobalFilter = _objectSpread$q(_objectSpread$q({}, globalFilter), {}, {
27946
+ var newGlobalFilter = _objectSpread$r(_objectSpread$r({}, globalFilter), {}, {
27947
27947
  search: {}
27948
27948
  });
27949
27949
  if (value) {
@@ -27957,7 +27957,7 @@ function useTableData (_ref) {
27957
27957
  });
27958
27958
  }
27959
27959
  setGlobaFilter(newGlobalFilter);
27960
- onChange(_objectSpread$q({
27960
+ onChange(_objectSpread$r({
27961
27961
  pagination: state.pagination
27962
27962
  }, filterData), newGlobalFilter);
27963
27963
  };
@@ -27967,20 +27967,20 @@ function useTableData (_ref) {
27967
27967
  LOG$2.error(new DivaError('No global period filter defiend'));
27968
27968
  return;
27969
27969
  }
27970
- var newGlobalFilter = _objectSpread$q({}, globalFilter);
27970
+ var newGlobalFilter = _objectSpread$r({}, globalFilter);
27971
27971
  newGlobalFilter.timeStamp = {
27972
27972
  fromTimeStamp: [from],
27973
27973
  toTimeStamp: [to]
27974
27974
  };
27975
27975
  if (!configuration.filter.period.onlyAsMappingData) setGlobaFilter(newGlobalFilter);
27976
- onChange(_objectSpread$q({
27976
+ onChange(_objectSpread$r({
27977
27977
  pagination: state.pagination
27978
- }, filterData), undefined, true, undefined, _objectSpread$q(_objectSpread$q({}, state.mappingData), {}, {
27978
+ }, filterData), undefined, true, undefined, _objectSpread$r(_objectSpread$r({}, state.mappingData), {}, {
27979
27979
  from: from,
27980
27980
  to: to
27981
27981
  }));
27982
27982
  };
27983
- return _objectSpread$q(_objectSpread$q({}, state), {}, {
27983
+ return _objectSpread$r(_objectSpread$r({}, state), {}, {
27984
27984
  title: title,
27985
27985
  configuration: configuration,
27986
27986
  columns: mapColumns(configuration, root.actions.userHasPermission, onUpdate, selectedData, globalFilter),
@@ -28022,8 +28022,8 @@ function StandardTable (_ref) {
28022
28022
  });
28023
28023
  }
28024
28024
 
28025
- function ownKeys$p(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
28026
- function _objectSpread$p(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$p(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$p(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
28025
+ function ownKeys$q(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
28026
+ function _objectSpread$q(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$q(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$q(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
28027
28027
  function Table (props) {
28028
28028
  var root = useStore();
28029
28029
  var variant = useMemo(function () {
@@ -28031,15 +28031,15 @@ function Table (props) {
28031
28031
  return config.variant;
28032
28032
  }, [props.id]);
28033
28033
  return /*#__PURE__*/jsxs(Fragment, {
28034
- children: [(variant == 'Standard' || !variant) && /*#__PURE__*/jsx(StandardTable, _objectSpread$p({}, props)), variant == 'CatalogTable' && /*#__PURE__*/jsx(CatalogTable, _objectSpread$p({}, props))]
28034
+ children: [(variant == 'Standard' || !variant) && /*#__PURE__*/jsx(StandardTable, _objectSpread$q({}, props)), variant == 'CatalogTable' && /*#__PURE__*/jsx(CatalogTable, _objectSpread$q({}, props))]
28035
28035
  });
28036
28036
  }
28037
28037
 
28038
28038
  function _createForOfIteratorHelper$2(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$2(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
28039
28039
  function _unsupportedIterableToArray$2(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$2(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$2(r, a) : void 0; } }
28040
28040
  function _arrayLikeToArray$2(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
28041
- function ownKeys$o(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
28042
- function _objectSpread$o(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$o(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$o(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
28041
+ function ownKeys$p(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
28042
+ function _objectSpread$p(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$p(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$p(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
28043
28043
  function useAGGrid (_ref) {
28044
28044
  var id = _ref.id,
28045
28045
  filter = _ref.filter,
@@ -28133,7 +28133,7 @@ function useAGGrid (_ref) {
28133
28133
  value = _ref3[1];
28134
28134
  if (_idx == 0) {
28135
28135
  var _supplierData$Options2, _supplierData$Options3, _supplierData$Optionv2, _supplierData$Optionv3;
28136
- rdat.push(_objectSpread$o(_objectSpread$o({}, rd), {}, {
28136
+ rdat.push(_objectSpread$p(_objectSpread$p({}, rd), {}, {
28137
28137
  grouping: [idx.toString()]
28138
28138
  }));
28139
28139
  var sp = key.split(':');
@@ -28273,11 +28273,11 @@ var loader = "loader-LaXZy";
28273
28273
  var flex = "flex-yQdda";
28274
28274
  var bar = "bar-Y663f";
28275
28275
  var value = "value-FCA-6";
28276
- var css_248z$g = ".overlay-lm0tm {\n position: absolute;\n z-index: 1;\n background-color: rgba(247,247,247,0.45882);\n height: 60vh;\n width: 100%;\n}\n.loader-LaXZy {\n position: absolute;\n top: 50%;\n left: 50%;\n width: 50px;\n height: 50px;\n border: 3px solid rgba(0, 0, 0, 0.3);\n border-radius: 50%;\n border-top-color: #fff;\n animation: spin-qUdpu 1s ease-in-out infinite;\n -webkit-animation: spin-qUdpu 1s ease-in-out infinite;\n}\n.flex-yQdda {\n display: flex;\n}\n\n.bar-Y663f {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: 100%;\n margin-top: 7%;\n}\n\n.value-FCA-6 {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: -moz-fit-content;\n width: fit-content;\n}\n@keyframes spin-qUdpu {\n to {\n -webkit-transform: rotate(360deg);\n }\n}\n";
28277
- styleInject(css_248z$g);
28276
+ var css_248z$h = ".overlay-lm0tm {\n position: absolute;\n z-index: 1;\n background-color: rgba(247,247,247,0.45882);\n height: 60vh;\n width: 100%;\n}\n.loader-LaXZy {\n position: absolute;\n top: 50%;\n left: 50%;\n width: 50px;\n height: 50px;\n border: 3px solid rgba(0, 0, 0, 0.3);\n border-radius: 50%;\n border-top-color: #fff;\n animation: spin-qUdpu 1s ease-in-out infinite;\n -webkit-animation: spin-qUdpu 1s ease-in-out infinite;\n}\n.flex-yQdda {\n display: flex;\n}\n\n.bar-Y663f {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: 100%;\n margin-top: 7%;\n}\n\n.value-FCA-6 {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: -moz-fit-content;\n width: fit-content;\n}\n@keyframes spin-qUdpu {\n to {\n -webkit-transform: rotate(360deg);\n }\n}\n";
28277
+ styleInject(css_248z$h);
28278
28278
 
28279
- function ownKeys$n(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
28280
- function _objectSpread$n(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$n(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$n(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
28279
+ function ownKeys$o(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
28280
+ function _objectSpread$o(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$o(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$o(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
28281
28281
  var AGChart = function AGChart(_ref) {
28282
28282
  var data = _ref.data;
28283
28283
  var groupedData = [];
@@ -28285,11 +28285,11 @@ var AGChart = function AGChart(_ref) {
28285
28285
  data.forEach(function (dt) {
28286
28286
  if (dt.count == 0) return;
28287
28287
  if (groupedData.length > dt.grouping[0]) {
28288
- groupedData[dt.grouping[0]].push(_objectSpread$n(_objectSpread$n({}, dt), {}, {
28288
+ groupedData[dt.grouping[0]].push(_objectSpread$o(_objectSpread$o({}, dt), {}, {
28289
28289
  count: Number(dt.count)
28290
28290
  }));
28291
28291
  } else {
28292
- groupedData.push([_objectSpread$n(_objectSpread$n({}, dt), {}, {
28292
+ groupedData.push([_objectSpread$o(_objectSpread$o({}, dt), {}, {
28293
28293
  count: Number(dt.count)
28294
28294
  })]);
28295
28295
  }
@@ -28330,8 +28330,8 @@ var AGChart = function AGChart(_ref) {
28330
28330
  });
28331
28331
  };
28332
28332
 
28333
- function ownKeys$m(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
28334
- function _objectSpread$m(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$m(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$m(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
28333
+ function ownKeys$n(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
28334
+ function _objectSpread$n(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$n(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$n(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
28335
28335
  var AGGrid = /*#__PURE__*/memo(function (_ref) {
28336
28336
  var id = _ref.id,
28337
28337
  filter = _ref.filter,
@@ -28424,7 +28424,7 @@ var AGGrid = /*#__PURE__*/memo(function (_ref) {
28424
28424
  });
28425
28425
  });
28426
28426
  }
28427
- return _objectSpread$m(_objectSpread$m({}, column), {}, {
28427
+ return _objectSpread$n(_objectSpread$n({}, column), {}, {
28428
28428
  cellRenderer: renderer
28429
28429
  });
28430
28430
  });
@@ -28694,8 +28694,8 @@ var CustomText = function CustomText(_ref) {
28694
28694
  };
28695
28695
  var CustomText$1 = observer(CustomText);
28696
28696
 
28697
- function ownKeys$l(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
28698
- function _objectSpread$l(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$l(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$l(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
28697
+ function ownKeys$m(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
28698
+ function _objectSpread$m(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$m(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$m(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
28699
28699
  function _createForOfIteratorHelper$1(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$1(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
28700
28700
  function _unsupportedIterableToArray$1(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$1(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$1(r, a) : void 0; } }
28701
28701
  function _arrayLikeToArray$1(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
@@ -28758,7 +28758,7 @@ function useFilterBoxData (id) {
28758
28758
  } finally {
28759
28759
  _iterator.f();
28760
28760
  }
28761
- return _objectSpread$l(_objectSpread$l({}, state), ob);
28761
+ return _objectSpread$m(_objectSpread$m({}, state), ob);
28762
28762
  }
28763
28763
  return {
28764
28764
  configuration: configuration,
@@ -28772,8 +28772,8 @@ function useFilterBoxData (id) {
28772
28772
  function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
28773
28773
  function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
28774
28774
  function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
28775
- function ownKeys$k(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
28776
- function _objectSpread$k(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$k(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$k(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
28775
+ function ownKeys$l(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
28776
+ function _objectSpread$l(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$l(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$l(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
28777
28777
  var FilterBox = /*#__PURE__*/memo(function (_ref) {
28778
28778
  var id = _ref.id,
28779
28779
  onChangeFilter = _ref.onChangeFilter,
@@ -28801,7 +28801,7 @@ var FilterBox = /*#__PURE__*/memo(function (_ref) {
28801
28801
  }), /*#__PURE__*/jsx("br", {}), /*#__PURE__*/jsx(Select, {
28802
28802
  mode: "single",
28803
28803
  apiInterface: filter.requestOptions,
28804
- wholeData: _objectSpread$k(_objectSpread$k({}, state.filter), {}, {
28804
+ wholeData: _objectSpread$l(_objectSpread$l({}, state.filter), {}, {
28805
28805
  tab: tab
28806
28806
  }),
28807
28807
  mapping: filter.requestMapping,
@@ -29033,8 +29033,8 @@ var FilterBox = /*#__PURE__*/memo(function (_ref) {
29033
29033
  return false;
29034
29034
  });
29035
29035
 
29036
- function ownKeys$j(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
29037
- function _objectSpread$j(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$j(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$j(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
29036
+ function ownKeys$k(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
29037
+ function _objectSpread$k(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$k(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$k(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
29038
29038
  function useUIBuilderData (id) {
29039
29039
  var save = undefined;
29040
29040
  var root = useStore();
@@ -29066,7 +29066,7 @@ function useUIBuilderData (id) {
29066
29066
  var configuration = _useMemo.configuration;
29067
29067
  useEffect(function () {
29068
29068
  root.dataStore.getApi2SessionGuid().then(function (res) {
29069
- return setFilter(_objectSpread$j(_objectSpread$j({}, filter), {}, {
29069
+ return setFilter(_objectSpread$k(_objectSpread$k({}, filter), {}, {
29070
29070
  sessionGuid: res
29071
29071
  }));
29072
29072
  });
@@ -29089,8 +29089,8 @@ function useUIBuilderData (id) {
29089
29089
  };
29090
29090
  }
29091
29091
 
29092
- function ownKeys$i(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
29093
- function _objectSpread$i(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$i(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$i(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
29092
+ function ownKeys$j(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
29093
+ function _objectSpread$j(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$j(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$j(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
29094
29094
  function UIBuilder(_ref) {
29095
29095
  var id = _ref.id;
29096
29096
  var state = useUIBuilderData(id);
@@ -29117,7 +29117,7 @@ function UIBuilder(_ref) {
29117
29117
  override = {
29118
29118
  value: newFilter[item.field],
29119
29119
  setValue: function setValue(newVal) {
29120
- var newFilter = _objectSpread$i({}, state.filter);
29120
+ var newFilter = _objectSpread$j({}, state.filter);
29121
29121
  newFilter[item.field] = newVal;
29122
29122
  state.setFilter(newFilter);
29123
29123
  }
@@ -29165,7 +29165,7 @@ function UIBuilder(_ref) {
29165
29165
  case 'AGGrid':
29166
29166
  return /*#__PURE__*/jsx(AGGrid, {
29167
29167
  id: item.id,
29168
- filter: _objectSpread$i({
29168
+ filter: _objectSpread$j({
29169
29169
  optionCodices: JSON.stringify(state.data)
29170
29170
  }, state.filter),
29171
29171
  override: item.id == 'AGGridTopOptionValues' ? {
@@ -29219,8 +29219,8 @@ var retailerChild = "retailer-child-5ll0K";
29219
29219
  var supplier = "supplier-8sm0I";
29220
29220
  var dealer = "dealer-xgnku";
29221
29221
  var association = "association-b8uVW";
29222
- var css_248z$f = ".label-rYNbb {\n width: 225px;\n background-color: #fff;\n cursor: pointer;\n padding: 10px 15px;\n border-radius: 5px;\n display: flex;\n gap: 12px;\n flex-direction: column;\n font-weight: 500;\n}\n\n.not-clickable-wHc5V {\n cursor: inherit;\n color: grey;\n}\n\n.selected-34dYg {\n font-weight: 630;\n}\n\n.description-iFui2 {\n font-weight: 300;\n font-size: small;\n margin-top: -8px;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .org-tree-node-label .org-tree-node-label-inner {\n padding: 0;\n padding: initial;\n}\n\n.darkmode .org-tree-container {\n background-color: rgb(20, 20, 20);\n}\n\n.org-tree-container .org-tree-node-label .ant-btn-default:disabled, .org-tree-container .org-tree-node-label .ant-btn-primary:disabled {\n border-color: #d9d9d9;\n color: rgba(0, 0, 0, 0.25);\n background-color: rgba(0, 0, 0, 0.04);\n}\n\n.retailer-YNzAh {\n border-bottom: #81c784 solid 5px;\n}\n\n.retailer-child-5ll0K {\n border-bottom: #c8e6c9 solid 5px;\n}\n\n.supplier-8sm0I {\n border-bottom: #ba68c8 solid 5px;\n}\n\n.dealer-xgnku {\n border-bottom: #e1bee7 solid 5px;\n}\n\n.association-b8uVW {\n border-bottom: #fff176 solid 5px;\n}\n";
29223
- styleInject(css_248z$f);
29222
+ var css_248z$g = ".label-rYNbb {\n width: 225px;\n background-color: #fff;\n cursor: pointer;\n padding: 10px 15px;\n border-radius: 5px;\n display: flex;\n gap: 12px;\n flex-direction: column;\n font-weight: 500;\n}\n\n.not-clickable-wHc5V {\n cursor: inherit;\n color: grey;\n}\n\n.selected-34dYg {\n font-weight: 630;\n}\n\n.description-iFui2 {\n font-weight: 300;\n font-size: small;\n margin-top: -8px;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .org-tree-node-label .org-tree-node-label-inner {\n padding: 0;\n padding: initial;\n}\n\n.darkmode .org-tree-container {\n background-color: rgb(20, 20, 20);\n}\n\n.org-tree-container .org-tree-node-label .ant-btn-default:disabled, .org-tree-container .org-tree-node-label .ant-btn-primary:disabled {\n border-color: #d9d9d9;\n color: rgba(0, 0, 0, 0.25);\n background-color: rgba(0, 0, 0, 0.04);\n}\n\n.retailer-YNzAh {\n border-bottom: #81c784 solid 5px;\n}\n\n.retailer-child-5ll0K {\n border-bottom: #c8e6c9 solid 5px;\n}\n\n.supplier-8sm0I {\n border-bottom: #ba68c8 solid 5px;\n}\n\n.dealer-xgnku {\n border-bottom: #e1bee7 solid 5px;\n}\n\n.association-b8uVW {\n border-bottom: #fff176 solid 5px;\n}\n";
29223
+ styleInject(css_248z$g);
29224
29224
 
29225
29225
  function getColorClass(data) {
29226
29226
  switch (data.type) {
@@ -29325,8 +29325,8 @@ var OrgItem = function OrgItem(_ref) {
29325
29325
  };
29326
29326
  var OrgItem$1 = observer(OrgItem);
29327
29327
 
29328
- function ownKeys$h(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
29329
- function _objectSpread$h(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$h(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$h(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
29328
+ function ownKeys$i(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
29329
+ function _objectSpread$i(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$i(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$i(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
29330
29330
  function useTransformJson (_ref) {
29331
29331
  var id = _ref.id;
29332
29332
  var _useState = useState(),
@@ -29392,7 +29392,7 @@ function useTransformJson (_ref) {
29392
29392
  }();
29393
29393
  var _transformData = function transformData(data, itemChain, parentOrgId) {
29394
29394
  var _data$children;
29395
- return _objectSpread$h(_objectSpread$h({}, data), {}, {
29395
+ return _objectSpread$i(_objectSpread$i({}, data), {}, {
29396
29396
  label: /*#__PURE__*/jsx(OrgItem$1, {
29397
29397
  data: data,
29398
29398
  configuration: configuration,
@@ -29453,8 +29453,8 @@ var openClass = "open-class--gGXs";
29453
29453
  var breadcrumb = "breadcrumb-Z0VvH";
29454
29454
  var selected = "selected-w-sfW";
29455
29455
  var disabled$2 = "disabled-0nado";
29456
- var css_248z$e = ".trigger-wrapper-OkPRc {\n width: 100%;\n padding: 12px 0px;\n display: flex;\n gap: 32px;\n}\n\n.arrow-Rd0hp {\n background-image: url(\"data:image/svg+xml,%3Csvg width%3D%228%22 height%3D%2213%22 viewBox%3D%220 0 8 13%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E %3Cpath d%3D%22M0.947266 1.14893L6.94727 6.29178L0.947266 11.9489%22 stroke%3D%22%236F6F6F%22 stroke-linecap%3D%22round%22 stroke-linejoin%3D%22round%22%2F%3E %3C%2Fsvg%3E\");\n background-repeat: no-repeat;\n background-position: center;\n background-size: contain;\n transform: rotateZ(0deg);\n transition: all 0.35s ease;\n width: 20.8px;\n height: 22.4px;\n cursor: pointer;\n}\n\n.open-class--gGXs {\n transform: rotateZ(90deg);\n}\n\n.breadcrumb-Z0VvH {\n transition: color 0.3s;\n}\n.breadcrumb-Z0VvH:hover:not(.selected-w-sfW) {\n cursor: pointer;\n color: #000;\n}\n\n.selected-w-sfW {\n color: #000;\n font-weight: 400;\n}\n\n.selected-w-sfW {\n color: #000;\n font-weight: 400;\n}\n\n.disabled-0nado {\n pointer-events: none;\n color: lightgray;\n}\n\n.darkmode .selected-w-sfW {\n color: #fff;\n font-weight: 400;\n}\n";
29457
- styleInject(css_248z$e);
29456
+ var css_248z$f = ".trigger-wrapper-OkPRc {\n width: 100%;\n padding: 12px 0px;\n display: flex;\n gap: 32px;\n}\n\n.arrow-Rd0hp {\n background-image: url(\"data:image/svg+xml,%3Csvg width%3D%228%22 height%3D%2213%22 viewBox%3D%220 0 8 13%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E %3Cpath d%3D%22M0.947266 1.14893L6.94727 6.29178L0.947266 11.9489%22 stroke%3D%22%236F6F6F%22 stroke-linecap%3D%22round%22 stroke-linejoin%3D%22round%22%2F%3E %3C%2Fsvg%3E\");\n background-repeat: no-repeat;\n background-position: center;\n background-size: contain;\n transform: rotateZ(0deg);\n transition: all 0.35s ease;\n width: 20.8px;\n height: 22.4px;\n cursor: pointer;\n}\n\n.open-class--gGXs {\n transform: rotateZ(90deg);\n}\n\n.breadcrumb-Z0VvH {\n transition: color 0.3s;\n}\n.breadcrumb-Z0VvH:hover:not(.selected-w-sfW) {\n cursor: pointer;\n color: #000;\n}\n\n.selected-w-sfW {\n color: #000;\n font-weight: 400;\n}\n\n.selected-w-sfW {\n color: #000;\n font-weight: 400;\n}\n\n.disabled-0nado {\n pointer-events: none;\n color: lightgray;\n}\n\n.darkmode .selected-w-sfW {\n color: #fff;\n font-weight: 400;\n}\n";
29457
+ styleInject(css_248z$f);
29458
29458
 
29459
29459
  var BreadCrumbsTrigger = function BreadCrumbsTrigger(_ref) {
29460
29460
  var open = _ref.open,
@@ -29487,8 +29487,8 @@ var BreadCrumbsTrigger = function BreadCrumbsTrigger(_ref) {
29487
29487
 
29488
29488
  var collapsibleInner = "collapsible-inner-rI8kI";
29489
29489
  var toolbarLeft = "toolbar-left-X9WRo";
29490
- var css_248z$d = ".collapsible-inner-rI8kI {\n overflow: auto;\n padding: 32px 0;\n position: relative;\n}\n\n.toolbar-left-X9WRo {\n position: absolute;\n right: 22px;\n top: 10px;\n display: flex;\n gap: 10px;\n}\n";
29491
- styleInject(css_248z$d);
29490
+ var css_248z$e = ".collapsible-inner-rI8kI {\n overflow: auto;\n padding: 32px 0;\n position: relative;\n}\n\n.toolbar-left-X9WRo {\n position: absolute;\n right: 22px;\n top: 10px;\n display: flex;\n gap: 10px;\n}\n";
29491
+ styleInject(css_248z$e);
29492
29492
 
29493
29493
  var Legend = function Legend(props) {
29494
29494
  return /*#__PURE__*/jsx(List$1, {
@@ -29542,8 +29542,8 @@ var Legend = function Legend(props) {
29542
29542
  var buttonsWrapper = "buttons-wrapper-Bubkr";
29543
29543
  var mask = "mask-ssagp";
29544
29544
  var transformWrapper = "transform-wrapper--8t0v";
29545
- var css_248z$c = ".buttons-wrapper-Bubkr {\n display: flex;\n gap: 6px;\n}\n\n.buttons-wrapper-Bubkr button {\n min-width: 24px;\n}\n\n.mask-ssagp {\n position: absolute;\n top: 0;\n bottom: 0;\n z-index: 1;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.45);\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n -webkit-backdrop-filter: blur(3px);\n backdrop-filter: blur(3px);\n}\n.mask-ssagp p {\n font-size: 18px;\n font-weight: bold;\n background: rgba(255, 255, 255, 0.4);\n padding: 10px;\n border-radius: 5px;\n}\n\n.transform-wrapper--8t0v .ant-modal-mask,\n.transform-wrapper--8t0v .ant-modal-wrap {\n position: absolute;\n}\n";
29546
- styleInject(css_248z$c);
29545
+ var css_248z$d = ".buttons-wrapper-Bubkr {\n display: flex;\n gap: 6px;\n}\n\n.buttons-wrapper-Bubkr button {\n min-width: 24px;\n}\n\n.mask-ssagp {\n position: absolute;\n top: 0;\n bottom: 0;\n z-index: 1;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.45);\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n -webkit-backdrop-filter: blur(3px);\n backdrop-filter: blur(3px);\n}\n.mask-ssagp p {\n font-size: 18px;\n font-weight: bold;\n background: rgba(255, 255, 255, 0.4);\n padding: 10px;\n border-radius: 5px;\n}\n\n.transform-wrapper--8t0v .ant-modal-mask,\n.transform-wrapper--8t0v .ant-modal-wrap {\n position: absolute;\n}\n";
29546
+ styleInject(css_248z$d);
29547
29547
 
29548
29548
  var ZoomWrapper = function ZoomWrapper(_ref) {
29549
29549
  var _children = _ref.children,
@@ -30053,8 +30053,8 @@ function useCatalogEditor (id) {
30053
30053
  };
30054
30054
  }
30055
30055
 
30056
- function ownKeys$g(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
30057
- function _objectSpread$g(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$g(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$g(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
30056
+ function ownKeys$h(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
30057
+ function _objectSpread$h(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$h(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$h(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
30058
30058
  function DragDropUpload(_ref) {
30059
30059
  var api2Params = _ref.api2Params,
30060
30060
  catalogId = _ref.catalogId,
@@ -30162,7 +30162,7 @@ function DragDropUpload(_ref) {
30162
30162
  children: [importStarted && /*#__PURE__*/jsx("p", {
30163
30163
  children: t('backoffice.catalogeditor.classimportstarted')
30164
30164
  }), !importStarted && /*#__PURE__*/jsxs(Fragment, {
30165
- children: [/*#__PURE__*/jsxs(Dragger, _objectSpread$g(_objectSpread$g({}, props), {}, {
30165
+ children: [/*#__PURE__*/jsxs(Dragger, _objectSpread$h(_objectSpread$h({}, props), {}, {
30166
30166
  children: [/*#__PURE__*/jsx("p", {
30167
30167
  className: "ant-upload-drag-icon",
30168
30168
  children: /*#__PURE__*/jsx(InboxOutlined, {})
@@ -30379,12 +30379,12 @@ function CatalogEditor(_ref) {
30379
30379
  }
30380
30380
  var CatalogEditor$1 = observer(CatalogEditor);
30381
30381
 
30382
- function ownKeys$f(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
30383
- function _objectSpread$f(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$f(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$f(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
30382
+ function ownKeys$g(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
30383
+ function _objectSpread$g(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$g(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$g(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
30384
30384
  var SpreadsheetWrapper = /*#__PURE__*/forwardRef(function SpreadsheetWrapper(props, ref) {
30385
30385
  var _root$contentStore$bo, _root$contentStore$ri;
30386
30386
  var root = useStore();
30387
- return /*#__PURE__*/jsx(Spreadsheet$1, _objectSpread$f(_objectSpread$f({}, props), {}, {
30387
+ return /*#__PURE__*/jsx(Spreadsheet$1, _objectSpread$g(_objectSpread$g({}, props), {}, {
30388
30388
  ref: ref,
30389
30389
  darkMode: root.contentStore.theme == 'darkmode',
30390
30390
  jwt: root.dataStore.jwt,
@@ -30395,8 +30395,8 @@ var SpreadsheetWrapper = /*#__PURE__*/forwardRef(function SpreadsheetWrapper(pro
30395
30395
  });
30396
30396
  var Spreadsheet = observer(SpreadsheetWrapper);
30397
30397
 
30398
- function ownKeys$e(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
30399
- function _objectSpread$e(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$e(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$e(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
30398
+ function ownKeys$f(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
30399
+ function _objectSpread$f(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$f(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$f(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
30400
30400
 
30401
30401
  // Type definition for the context state
30402
30402
 
@@ -30418,14 +30418,14 @@ var useEnricherContext = function useEnricherContext() {
30418
30418
  loading: loading,
30419
30419
  setOptions: function setOptions(options) {
30420
30420
  var state = root.contextStore.getContext('enricher');
30421
- root.contextStore.updateContext('enricher', _defineProperty({}, stateKey, _objectSpread$e(_objectSpread$e({}, state[stateKey]), {}, {
30421
+ root.contextStore.updateContext('enricher', _defineProperty({}, stateKey, _objectSpread$f(_objectSpread$f({}, state[stateKey]), {}, {
30422
30422
  options: options,
30423
30423
  loading: false
30424
30424
  })));
30425
30425
  },
30426
30426
  setLoading: function setLoading(loading) {
30427
30427
  var state = root.contextStore.getContext('enricher');
30428
- root.contextStore.updateContext('enricher', _defineProperty({}, stateKey, _objectSpread$e(_objectSpread$e({}, state[stateKey]), {}, {
30428
+ root.contextStore.updateContext('enricher', _defineProperty({}, stateKey, _objectSpread$f(_objectSpread$f({}, state[stateKey]), {}, {
30429
30429
  loading: loading
30430
30430
  })));
30431
30431
  }
@@ -30521,7 +30521,7 @@ var useEnricherContext = function useEnricherContext() {
30521
30521
  }, [urlPackageId, getContext().packageId, setSelectedPackage]);
30522
30522
 
30523
30523
  // Return context + handlers
30524
- return _objectSpread$e(_objectSpread$e({}, getContext()), {}, {
30524
+ return _objectSpread$f(_objectSpread$f({}, getContext()), {}, {
30525
30525
  setSelectedSerie: setSelectedSerie,
30526
30526
  setSelectedFeature: setSelectedFeature,
30527
30527
  setSelectedPackage: setSelectedPackage
@@ -30787,21 +30787,46 @@ function useModule$1 (currentModules) {
30787
30787
 
30788
30788
  useEffect(function () {
30789
30789
  var tools = [];
30790
- if (packageId) tools.push({
30791
- name: 'Konfigurator',
30792
- parameters: {
30793
- packageId: packageId
30794
- },
30795
- type: 'Configurator',
30796
- id: 'WYSIWYG',
30797
- startWidth: 600,
30798
- defaultPinned: true
30799
- });
30790
+ if (selectedPackage !== null && selectedPackage !== void 0 && selectedPackage._id) {
30791
+ if (selectedPackage.isApi) {
30792
+ tools.push({
30793
+ name: 'Konfigurator',
30794
+ parameters: {
30795
+ packageId: selectedPackage._id
30796
+ },
30797
+ type: 'Configurator',
30798
+ id: 'WYSIWYG',
30799
+ startWidth: 600,
30800
+ elementProps: {
30801
+ loadMask: true
30802
+ },
30803
+ defaultPinned: true
30804
+ });
30805
+ } else {
30806
+ tools.push({
30807
+ name: 'Konfigurator',
30808
+ parameters: {
30809
+ packageId: selectedPackage._id,
30810
+ isIDMData: '1'
30811
+ },
30812
+ type: 'Configurator',
30813
+ id: 'WYSIWYG',
30814
+ startWidth: 600,
30815
+ elementProps: {
30816
+ useEnricherService: true,
30817
+ loadPackage: true,
30818
+ packageId: selectedPackage._id,
30819
+ showCatalogSelection: true
30820
+ },
30821
+ defaultPinned: true
30822
+ });
30823
+ }
30824
+ }
30800
30825
  root.contentStore.rightToolBar.tools = tools;
30801
30826
  return function () {
30802
30827
  root.contentStore.rightToolBar.tools = [];
30803
30828
  };
30804
- }, [packageId]);
30829
+ }, [selectedPackage]);
30805
30830
  return {
30806
30831
  selectedPackage: selectedPackage,
30807
30832
  packageId: packageId,
@@ -33473,8 +33498,8 @@ var isDefaultValue = function isDefaultValue(value, type) {
33473
33498
  return value === getDefaultValue(type);
33474
33499
  };
33475
33500
 
33476
- function ownKeys$d(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
33477
- function _objectSpread$d(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$d(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$d(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
33501
+ function ownKeys$e(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
33502
+ function _objectSpread$e(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$e(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$e(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
33478
33503
  /**
33479
33504
  * Custom hook to manage price factor state and logic
33480
33505
  * @param props - Hook configuration
@@ -33511,7 +33536,7 @@ function usePriceFactor(_ref) {
33511
33536
  var updateEntries = function updateEntries(newTypeEntries) {
33512
33537
  setHasChangedCurrentType(true);
33513
33538
  setEntries(function (prev) {
33514
- return _objectSpread$d(_objectSpread$d({}, prev), {}, _defineProperty(_defineProperty({}, type, newTypeEntries), type === 'factor' ? 'discount' : 'factor', []));
33539
+ return _objectSpread$e(_objectSpread$e({}, prev), {}, _defineProperty(_defineProperty({}, type, newTypeEntries), type === 'factor' ? 'discount' : 'factor', []));
33515
33540
  });
33516
33541
  };
33517
33542
  var handleModalOpen = useCallback(function () {
@@ -33548,7 +33573,7 @@ function usePriceFactor(_ref) {
33548
33573
  // Always ensure at least one entry when switching types
33549
33574
  var newEntries = hasChangedCurrentType ? [] : entries[newType];
33550
33575
  setEntries(function (prev) {
33551
- return _objectSpread$d(_objectSpread$d({}, prev), {}, _defineProperty({}, newType, newEntries.length > 0 ? newEntries : [{
33576
+ return _objectSpread$e(_objectSpread$e({}, prev), {}, _defineProperty({}, newType, newEntries.length > 0 ? newEntries : [{
33552
33577
  value: getDefaultValue(newType),
33553
33578
  isValid: true
33554
33579
  }]));
@@ -33652,8 +33677,8 @@ var space = "space-T5Mkd";
33652
33677
  var input$1 = "input-SK-Fo";
33653
33678
  var addButton$1 = "addButton-AVN8Y";
33654
33679
  var helpText = "helpText-QYQQF";
33655
- var css_248z$b = ".cell-Noc7s {\n min-width: 50px;\n height: 100%;\n}\n\n.typeSelector-Y8Yly {\n margin-bottom: 16px;\n}\n\n.space-T5Mkd {\n width: 100%;\n}\n\n.input-SK-Fo {\n width: 120px;\n}\n\n.addButton-AVN8Y {\n margin-top: 16px;\n text-align: right;\n}\n\n.helpText-QYQQF {\n margin-top: 8px;\n font-size: 12px;\n color: #666;\n}\n";
33656
- styleInject(css_248z$b);
33680
+ var css_248z$c = ".cell-Noc7s {\n min-width: 50px;\n height: 100%;\n}\n\n.typeSelector-Y8Yly {\n margin-bottom: 16px;\n}\n\n.space-T5Mkd {\n width: 100%;\n}\n\n.input-SK-Fo {\n width: 120px;\n}\n\n.addButton-AVN8Y {\n margin-top: 16px;\n text-align: right;\n}\n\n.helpText-QYQQF {\n margin-top: 8px;\n font-size: 12px;\n color: #666;\n}\n";
33681
+ styleInject(css_248z$c);
33657
33682
 
33658
33683
  function PriceFactorCellRenderer(props) {
33659
33684
  var data = props.data,
@@ -33821,8 +33846,8 @@ var difference = "difference-xT9ZP";
33821
33846
  var differencePositive = "differencePositive-hGhZO";
33822
33847
  var differenceNegative = "differenceNegative-3CEZA";
33823
33848
  var differenceNeutral = "differenceNeutral-wx8oE";
33824
- var css_248z$a = ".container-T4Tzz {\n display: flex;\n align-items: center;\n}\n\n.price-NjOOy {\n font-weight: normal;\n}\n\n.priceManual-i7wtQ {\n font-weight: bold;\n}\n\n.originalPrice-V8MP5 {\n color: #8c8c8c;\n margin: 0 8px;\n}\n\n.difference-xT9ZP {\n margin-left: 8px;\n}\n\n.differencePositive-hGhZO {\n color: #52c41a;\n}\n\n.differenceNegative-3CEZA {\n color: #ff4d4f;\n}\n\n.differenceNeutral-wx8oE {\n color: inherit;\n}\n";
33825
- styleInject(css_248z$a);
33849
+ var css_248z$b = ".container-T4Tzz {\n display: flex;\n align-items: center;\n}\n\n.price-NjOOy {\n font-weight: normal;\n}\n\n.priceManual-i7wtQ {\n font-weight: bold;\n}\n\n.originalPrice-V8MP5 {\n color: #8c8c8c;\n margin: 0 8px;\n}\n\n.difference-xT9ZP {\n margin-left: 8px;\n}\n\n.differencePositive-hGhZO {\n color: #52c41a;\n}\n\n.differenceNegative-3CEZA {\n color: #ff4d4f;\n}\n\n.differenceNeutral-wx8oE {\n color: inherit;\n}\n";
33850
+ styleInject(css_248z$b);
33826
33851
 
33827
33852
  function PriceDisplayCellRenderer(props) {
33828
33853
  var _data$origPrices, _data$manualPrices, _currentPrice$toFixed, _origPrice$toFixed;
@@ -33912,23 +33937,23 @@ function getPriceFeatureGroups(selectedSerie, language) {
33912
33937
  return priceFeatureGroups;
33913
33938
  }
33914
33939
 
33915
- var wrapper$2 = "wrapper-5t6RT";
33940
+ var wrapper$3 = "wrapper-5t6RT";
33916
33941
  var input = "input-leHam";
33917
33942
  var disabled$1 = "disabled-Llkqu";
33918
- var css_248z$9 = ".wrapper-5t6RT {\n display: flex;\n flex-direction: column;\n min-height: 50px;\n justify-content: flex-end;\n font-size: 12px;\n}\n\n.input-leHam {\n position: relative;\n width: 200px;\n height: 32px;\n border: 1px solid #d9d9d9;\n background: #ffffff;\n padding: 0 11px;\n border-radius: 6px;\n font-size: 14px;\n line-height: 30px;\n cursor: pointer;\n}\n\n.darkmode .input-leHam {\n background: #141414;\n border: 1px solid #424242;\n}\n\n.input-leHam.disabled-Llkqu {\n cursor: default;\n color: rgba(0, 0, 0, 0.25);\n}\n\n.darkmode .input-leHam.disabled-Llkqu {\n color: rgba(255, 255, 255, 0.25);\n}\n\n.input-leHam:hover {\n border-color: #4096ff;\n}\n";
33919
- styleInject(css_248z$9);
33943
+ var css_248z$a = ".wrapper-5t6RT {\n display: flex;\n flex-direction: column;\n min-height: 50px;\n justify-content: flex-end;\n font-size: 12px;\n}\n\n.input-leHam {\n position: relative;\n width: 200px;\n height: 32px;\n border: 1px solid #d9d9d9;\n background: #ffffff;\n padding: 0 11px;\n border-radius: 6px;\n font-size: 14px;\n line-height: 30px;\n cursor: pointer;\n}\n\n.darkmode .input-leHam {\n background: #141414;\n border: 1px solid #424242;\n}\n\n.input-leHam.disabled-Llkqu {\n cursor: default;\n color: rgba(0, 0, 0, 0.25);\n}\n\n.darkmode .input-leHam.disabled-Llkqu {\n color: rgba(255, 255, 255, 0.25);\n}\n\n.input-leHam:hover {\n border-color: #4096ff;\n}\n";
33944
+ styleInject(css_248z$a);
33920
33945
 
33921
- function ownKeys$c(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
33922
- function _objectSpread$c(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$c(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$c(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
33946
+ function ownKeys$d(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
33947
+ function _objectSpread$d(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$d(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$d(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
33923
33948
  function PriceFactorInput(props) {
33924
33949
  return /*#__PURE__*/jsxs("div", {
33925
- className: classnames(wrapper$2, props.className),
33950
+ className: classnames(wrapper$3, props.className),
33926
33951
  children: [props.title, /*#__PURE__*/jsx(Tooltip$1, {
33927
33952
  title: props.tooltip,
33928
33953
  children: /*#__PURE__*/jsx("div", {
33929
33954
  id: "price-factor-input",
33930
33955
  className: classnames(input, _defineProperty({}, disabled$1, props.disabled)),
33931
- children: /*#__PURE__*/jsx(PriceFactorCellRenderer, _objectSpread$c(_objectSpread$c({}, props), {}, {
33956
+ children: /*#__PURE__*/jsx(PriceFactorCellRenderer, _objectSpread$d(_objectSpread$d({}, props), {}, {
33932
33957
  singleClick: true
33933
33958
  }))
33934
33959
  })
@@ -33938,11 +33963,11 @@ function PriceFactorInput(props) {
33938
33963
 
33939
33964
  var inputHeader = "input-header--4KDP";
33940
33965
  var factorInput = "factor-input-MX85Z";
33941
- var css_248z$8 = ".input-header--4KDP .ag-header-cell-text {\n width: 100%;\n}\n\n.factor-input-MX85Z {\n min-height: 0;\n flex: 1;\n}\n\n.factor-input-MX85Z #price-factor-input {\n width: 100%;\n background-color: var(--ag-input-background-color);\n border: var(--ag-input-border);\n border-radius: var(--ag-input-border-radius);\n color: var(--ag-input-text-color);\n height: var(--ag-input-height);\n line-height: var(--ag-input-height);\n font-size: var(--ag-font-size);\n}\n\n.factor-input-MX85Z #price-factor-input:hover {\n border-color: #4096ff;\n}\n";
33942
- styleInject(css_248z$8);
33966
+ var css_248z$9 = ".input-header--4KDP .ag-header-cell-text {\n width: 100%;\n}\n\n.factor-input-MX85Z {\n min-height: 0;\n flex: 1;\n}\n\n.factor-input-MX85Z #price-factor-input {\n width: 100%;\n background-color: var(--ag-input-background-color);\n border: var(--ag-input-border);\n border-radius: var(--ag-input-border-radius);\n color: var(--ag-input-text-color);\n height: var(--ag-input-height);\n line-height: var(--ag-input-height);\n font-size: var(--ag-font-size);\n}\n\n.factor-input-MX85Z #price-factor-input:hover {\n border-color: #4096ff;\n}\n";
33967
+ styleInject(css_248z$9);
33943
33968
 
33944
- function ownKeys$b(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
33945
- function _objectSpread$b(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$b(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$b(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
33969
+ function ownKeys$c(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
33970
+ function _objectSpread$c(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$c(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$c(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
33946
33971
  var Prices = observer(function (_ref) {
33947
33972
  var _pricelist$seriePrice;
33948
33973
  var organizationId = _ref.organizationId,
@@ -33958,8 +33983,8 @@ var Prices = observer(function (_ref) {
33958
33983
  if (!selectedSerie) return;
33959
33984
 
33960
33985
  // Create copies of the objects to modify
33961
- var newFactors = _objectSpread$b({}, pricelist.pgPricefactors);
33962
- var serieFactors = _objectSpread$b({}, newFactors[selectedSerie.serieNo]);
33986
+ var newFactors = _objectSpread$c({}, pricelist.pgPricefactors);
33987
+ var serieFactors = _objectSpread$c({}, newFactors[selectedSerie.serieNo]);
33963
33988
  if (value.length === 0) {
33964
33989
  // Remove the empty price feature group
33965
33990
  delete serieFactors[priceFeatureGroupItem];
@@ -33991,8 +34016,8 @@ var Prices = observer(function (_ref) {
33991
34016
  if (!selectedSerie) return;
33992
34017
 
33993
34018
  // Create copies of the objects to modify
33994
- var newFactors = _objectSpread$b({}, pricelist.articlePricefactors);
33995
- var serieFactors = _objectSpread$b({}, newFactors[selectedSerie.serieNo]);
34019
+ var newFactors = _objectSpread$c({}, pricelist.articlePricefactors);
34020
+ var serieFactors = _objectSpread$c({}, newFactors[selectedSerie.serieNo]);
33996
34021
  if (value.length === 0) {
33997
34022
  // Remove the empty article price factor
33998
34023
  delete serieFactors[typeNo];
@@ -34024,8 +34049,8 @@ var Prices = observer(function (_ref) {
34024
34049
  if (!selectedSerie) return;
34025
34050
 
34026
34051
  // Create copies of the objects to modify
34027
- var newFactors = _objectSpread$b({}, pricelist.typeKeyPricefactors);
34028
- var serieFactors = _objectSpread$b({}, newFactors[selectedSerie.serieNo]);
34052
+ var newFactors = _objectSpread$c({}, pricelist.typeKeyPricefactors);
34053
+ var serieFactors = _objectSpread$c({}, newFactors[selectedSerie.serieNo]);
34029
34054
  if (value.length === 0) {
34030
34055
  // Remove the empty article price factor
34031
34056
  delete serieFactors[typeKey];
@@ -34057,7 +34082,7 @@ var Prices = observer(function (_ref) {
34057
34082
  if (!selectedSerie) return;
34058
34083
 
34059
34084
  // Create a copy of the object to modify
34060
- var newFactors = _objectSpread$b({}, pricelist.seriePricefactors);
34085
+ var newFactors = _objectSpread$c({}, pricelist.seriePricefactors);
34061
34086
  if (value.length === 0) {
34062
34087
  // Remove the empty serie price factor
34063
34088
  delete newFactors[selectedSerie.serieNo];
@@ -34643,8 +34668,8 @@ function Content$3() {
34643
34668
  });
34644
34669
  }
34645
34670
 
34646
- function ownKeys$a(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
34647
- function _objectSpread$a(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$a(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$a(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
34671
+ function ownKeys$b(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
34672
+ function _objectSpread$b(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$b(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$b(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
34648
34673
  function UploadButton (_ref) {
34649
34674
  var action = _ref.action,
34650
34675
  title = _ref.title,
@@ -34789,7 +34814,7 @@ function UploadButton (_ref) {
34789
34814
  }
34790
34815
  };
34791
34816
  return /*#__PURE__*/jsx(Fragment, {
34792
- children: /*#__PURE__*/jsx(Upload$2, _objectSpread$a(_objectSpread$a({}, props), {}, {
34817
+ children: /*#__PURE__*/jsx(Upload$2, _objectSpread$b(_objectSpread$b({}, props), {}, {
34793
34818
  children: progress !== 'SUCCESS' && /*#__PURE__*/jsx(Button$1, {
34794
34819
  icon: /*#__PURE__*/jsx(UploadOutlined$1, {}),
34795
34820
  disabled: disabled,
@@ -34800,8 +34825,8 @@ function UploadButton (_ref) {
34800
34825
  }
34801
34826
 
34802
34827
  var errorDescription = "error-description-VE3n0";
34803
- var css_248z$7 = ".error-description-VE3n0 {\n max-height: 100px;\n overflow: auto;\n scrollbar-width: thin;\n}\n";
34804
- styleInject(css_248z$7);
34828
+ var css_248z$8 = ".error-description-VE3n0 {\n max-height: 100px;\n overflow: auto;\n scrollbar-width: thin;\n}\n";
34829
+ styleInject(css_248z$8);
34805
34830
 
34806
34831
  function IDMImportForm (_ref) {
34807
34832
  var idmService = _ref.idmService,
@@ -34948,8 +34973,8 @@ function OpenModalButton (_ref) {
34948
34973
  });
34949
34974
  }
34950
34975
 
34951
- function ownKeys$9(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
34952
- function _objectSpread$9(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$9(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$9(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
34976
+ function ownKeys$a(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
34977
+ function _objectSpread$a(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$a(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$a(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
34953
34978
 
34954
34979
  // Type definition for the context state
34955
34980
 
@@ -34971,14 +34996,14 @@ var useCatalogContext = function useCatalogContext() {
34971
34996
  loading: loading,
34972
34997
  setOptions: function setOptions(options) {
34973
34998
  var state = root.contextStore.getContext('catalog');
34974
- root.contextStore.updateContext('catalog', _defineProperty({}, stateKey, _objectSpread$9(_objectSpread$9({}, state[stateKey]), {}, {
34999
+ root.contextStore.updateContext('catalog', _defineProperty({}, stateKey, _objectSpread$a(_objectSpread$a({}, state[stateKey]), {}, {
34975
35000
  options: options,
34976
35001
  loading: false
34977
35002
  })));
34978
35003
  },
34979
35004
  setLoading: function setLoading(loading) {
34980
35005
  var state = root.contextStore.getContext('catalog');
34981
- root.contextStore.updateContext('catalog', _defineProperty({}, stateKey, _objectSpread$9(_objectSpread$9({}, state[stateKey]), {}, {
35006
+ root.contextStore.updateContext('catalog', _defineProperty({}, stateKey, _objectSpread$a(_objectSpread$a({}, state[stateKey]), {}, {
34982
35007
  loading: loading
34983
35008
  })));
34984
35009
  }
@@ -35065,7 +35090,7 @@ var useCatalogContext = function useCatalogContext() {
35065
35090
  }, [urlCatalogId, getContext().catalogId, setSelectedCatalog]);
35066
35091
 
35067
35092
  // Return context + handlers
35068
- return _objectSpread$9(_objectSpread$9({}, getContext()), {}, {
35093
+ return _objectSpread$a(_objectSpread$a({}, getContext()), {}, {
35069
35094
  setSelectedSerie: setSelectedSerie,
35070
35095
  setSelectedFeature: setSelectedFeature,
35071
35096
  setSelectedCatalog: setSelectedCatalog
@@ -36014,18 +36039,24 @@ function useModule (currentModules) {
36014
36039
  if (catalogId) tools.push({
36015
36040
  name: 'Konfigurator',
36016
36041
  parameters: {
36017
- packageId: catalogId
36042
+ catalogId: catalogId,
36043
+ isIDMData: '1'
36018
36044
  },
36019
36045
  type: 'Configurator',
36020
36046
  id: 'WYSIWYG',
36021
36047
  startWidth: 600,
36022
- defaultPinned: true
36048
+ defaultPinned: true,
36049
+ elementProps: {
36050
+ useIDMService: true,
36051
+ catalogId: catalogId,
36052
+ showCatalogSelection: true
36053
+ }
36023
36054
  });
36024
36055
  root.contentStore.rightToolBar.tools = tools;
36025
36056
  return function () {
36026
36057
  root.contentStore.rightToolBar.tools = [];
36027
36058
  };
36028
- }, [catalogId]);
36059
+ }, [catalogId, selectedCatalog, currentModules]);
36029
36060
  return {
36030
36061
  organizationId: organizationId,
36031
36062
  apiConfig: root.configurationStore.apiConfig,
@@ -37042,11 +37073,11 @@ var formContent = "form-content-H-AkE";
37042
37073
  var footerButtons = "footer-buttons-4cwcu";
37043
37074
  var addButton = "add-button-w-6Lk";
37044
37075
  var footerContent = "footer-content-sOrT1";
37045
- var css_248z$6 = ".container-wGptw {\n display: flex;\n flex-direction: column;\n height: 500px;\n}\n\n.scrollable-content-zRBJy {\n flex-grow: 1;\n overflow: auto;\n margin-bottom: 16px;\n}\n\n.section-title-s2qIs {\n margin-bottom: 16px;\n}\n\n.action-item-LjQVf {\n width: 100%;\n}\n\n.action-item-highlighted-pjO7e {\n background-color: #e6f7ff;\n border: 1px solid #91d5ff;\n}\n\n.form-container-gF94J {\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n\n.form-layout-Ykach {\n display: flex;\n flex-direction: column;\n flex: 1;\n}\n\n.form-content-H-AkE {\n flex-grow: 1;\n overflow: auto;\n}\n\n.footer-buttons-4cwcu {\n margin-top: auto;\n}\n\n.add-button-w-6Lk {\n width: 100%;\n}\n\n.footer-content-sOrT1 {\n text-align: center;\n padding: 8px 0;\n}\n";
37046
- styleInject(css_248z$6);
37076
+ var css_248z$7 = ".container-wGptw {\n display: flex;\n flex-direction: column;\n height: 500px;\n}\n\n.scrollable-content-zRBJy {\n flex-grow: 1;\n overflow: auto;\n margin-bottom: 16px;\n}\n\n.section-title-s2qIs {\n margin-bottom: 16px;\n}\n\n.action-item-LjQVf {\n width: 100%;\n}\n\n.action-item-highlighted-pjO7e {\n background-color: #e6f7ff;\n border: 1px solid #91d5ff;\n}\n\n.form-container-gF94J {\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n\n.form-layout-Ykach {\n display: flex;\n flex-direction: column;\n flex: 1;\n}\n\n.form-content-H-AkE {\n flex-grow: 1;\n overflow: auto;\n}\n\n.footer-buttons-4cwcu {\n margin-top: auto;\n}\n\n.add-button-w-6Lk {\n width: 100%;\n}\n\n.footer-content-sOrT1 {\n text-align: center;\n padding: 8px 0;\n}\n";
37077
+ styleInject(css_248z$7);
37047
37078
 
37048
- function ownKeys$8(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
37049
- function _objectSpread$8(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$8(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$8(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
37079
+ function ownKeys$9(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
37080
+ function _objectSpread$9(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$9(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$9(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
37050
37081
  var ACTION_TYPES = {
37051
37082
  SET_FEATURE_DEFAULT: 'SET_FEATURE_DEFAULT',
37052
37083
  SET_FEATURE_FIXED: 'SET_FEATURE_FIXED',
@@ -37084,7 +37115,7 @@ function ActionForm(_ref) {
37084
37115
  var _useTranslation = useTranslation(),
37085
37116
  t = _useTranslation.t;
37086
37117
  var defaultValues = useMemo(function () {
37087
- return _objectSpread$8({
37118
+ return _objectSpread$9({
37088
37119
  actionType: ACTION_TYPES.SET_FEATURE_DEFAULT,
37089
37120
  referenceType: REFERENCE_TYPES.OPTION_REF
37090
37121
  }, initialValues);
@@ -37536,7 +37567,8 @@ function OptionCombinations(_ref) {
37536
37567
  });
37537
37568
  }, [decision, setNodeDataValue]);
37538
37569
  var removeFeature = useCallback(function (value) {
37539
- var index = decision.featureRefs.findIndex(function (featureRef) {
37570
+ var _decision$featureRefs3;
37571
+ var index = (_decision$featureRefs3 = decision.featureRefs) === null || _decision$featureRefs3 === void 0 ? void 0 : _decision$featureRefs3.findIndex(function (featureRef) {
37540
37572
  return featureRef === value;
37541
37573
  });
37542
37574
  var newRefs = _toConsumableArray(decision.featureRefs);
@@ -37564,15 +37596,15 @@ function OptionCombinations(_ref) {
37564
37596
  };
37565
37597
  }, []);
37566
37598
  var configuration = useMemo(function () {
37567
- var _decision$featureRefs3, _decision$featureRefs4;
37599
+ var _decision$featureRefs4, _decision$featureRefs5;
37568
37600
  return {
37569
37601
  type: 'dotnetSSM',
37570
37602
  apiInterface: apiInterface,
37571
37603
  dateFormat: 'DD.MM.YYYY, HH:mm:ss',
37572
- colDef: [].concat(_toConsumableArray((_decision$featureRefs3 = (_decision$featureRefs4 = decision.featureRefs) === null || _decision$featureRefs4 === void 0 ? void 0 : _decision$featureRefs4.map(function (featureRef, i) {
37573
- var _decision$featureRefs5, _decision$featureRefs6;
37604
+ colDef: [].concat(_toConsumableArray((_decision$featureRefs4 = (_decision$featureRefs5 = decision.featureRefs) === null || _decision$featureRefs5 === void 0 ? void 0 : _decision$featureRefs5.map(function (featureRef, i) {
37605
+ var _decision$featureRefs6, _decision$featureRefs7;
37574
37606
  return {
37575
- headerName: (_decision$featureRefs5 = (_decision$featureRefs6 = decision.featureRefsDisplayTexts) === null || _decision$featureRefs6 === void 0 || (_decision$featureRefs6 = _decision$featureRefs6[i]) === null || _decision$featureRefs6 === void 0 ? void 0 : _decision$featureRefs6[i18n.language.toUpperCase()]) !== null && _decision$featureRefs5 !== void 0 ? _decision$featureRefs5 : featureRef,
37607
+ headerName: (_decision$featureRefs6 = (_decision$featureRefs7 = decision.featureRefsDisplayTexts) === null || _decision$featureRefs7 === void 0 || (_decision$featureRefs7 = _decision$featureRefs7[i]) === null || _decision$featureRefs7 === void 0 ? void 0 : _decision$featureRefs7[i18n.language.toUpperCase()]) !== null && _decision$featureRefs6 !== void 0 ? _decision$featureRefs6 : featureRef,
37576
37608
  field: "optionsSetRefs.".concat(featureRef),
37577
37609
  editable: true,
37578
37610
  isDictionary: true,
@@ -37589,7 +37621,7 @@ function OptionCombinations(_ref) {
37589
37621
  })
37590
37622
  }
37591
37623
  };
37592
- })) !== null && _decision$featureRefs3 !== void 0 ? _decision$featureRefs3 : []), [{
37624
+ })) !== null && _decision$featureRefs4 !== void 0 ? _decision$featureRefs4 : []), [{
37593
37625
  headerName: 'backoffice.idmCatalog.optionCombinations.label.newFeature',
37594
37626
  field: 'featureRefs',
37595
37627
  editable: false,
@@ -37604,8 +37636,8 @@ function OptionCombinations(_ref) {
37604
37636
  read: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/features'
37605
37637
  },
37606
37638
  filter: function filter(_, lookupData) {
37607
- var _decision$featureRefs7;
37608
- return !((_decision$featureRefs7 = decision.featureRefs) !== null && _decision$featureRefs7 !== void 0 && _decision$featureRefs7.includes(lookupData.featureNo));
37639
+ var _decision$featureRefs8;
37640
+ return !((_decision$featureRefs8 = decision.featureRefs) !== null && _decision$featureRefs8 !== void 0 && _decision$featureRefs8.includes(lookupData.featureNo));
37609
37641
  },
37610
37642
  lookupValue: 'featureText',
37611
37643
  lookupKey: 'featureNo',
@@ -38392,8 +38424,8 @@ var TablePartlists = observer(function () {
38392
38424
  });
38393
38425
  });
38394
38426
 
38395
- function ownKeys$7(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
38396
- function _objectSpread$7(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$7(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$7(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
38427
+ function ownKeys$8(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
38428
+ function _objectSpread$8(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$8(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$8(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
38397
38429
  function PriceFeatureGroupPercentageSurcharge(_ref) {
38398
38430
  var priceFeatureGroup = _ref.priceFeatureGroup,
38399
38431
  catalogId = _ref.catalogId,
@@ -38420,7 +38452,7 @@ function PriceFeatureGroupPercentageSurcharge(_ref) {
38420
38452
  var newRefsDisplayTexts = _toConsumableArray(priceFeatureGroup.featureNosDisplayTexts);
38421
38453
  newRefs.splice(index, 1);
38422
38454
  newRefsDisplayTexts.splice(index, 1);
38423
- var updatedPriceFeatureGroup = _objectSpread$7(_objectSpread$7({}, priceFeatureGroup), {}, {
38455
+ var updatedPriceFeatureGroup = _objectSpread$8(_objectSpread$8({}, priceFeatureGroup), {}, {
38424
38456
  featureNos: newRefs,
38425
38457
  featureNosDisplayTexts: newRefsDisplayTexts
38426
38458
  });
@@ -38760,8 +38792,8 @@ function PriceFeatureGroupFinishes(_ref) {
38760
38792
  }, priceFeatureGroup._id);
38761
38793
  }
38762
38794
 
38763
- function ownKeys$6(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
38764
- function _objectSpread$6(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$6(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$6(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
38795
+ function ownKeys$7(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
38796
+ function _objectSpread$7(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$7(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$7(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
38765
38797
  var TablePriceFeatureGroups = observer(function () {
38766
38798
  var _useTranslation = useTranslation(),
38767
38799
  t = _useTranslation.t;
@@ -38856,7 +38888,7 @@ var TablePriceFeatureGroups = observer(function () {
38856
38888
  return update.node.id == selectedNodeId;
38857
38889
  });
38858
38890
  if (current) {
38859
- setSelectedPriceFeatureGroup(_objectSpread$6({}, current.data));
38891
+ setSelectedPriceFeatureGroup(_objectSpread$7({}, current.data));
38860
38892
  }
38861
38893
  }
38862
38894
  };
@@ -39798,8 +39830,8 @@ var FileUploadWrapper = function FileUploadWrapper(_ref) {
39798
39830
  };
39799
39831
  var FileUploadOrders = observer(FileUploadWrapper);
39800
39832
 
39801
- function ownKeys$5(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
39802
- function _objectSpread$5(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$5(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$5(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
39833
+ function ownKeys$6(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
39834
+ function _objectSpread$6(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$6(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$6(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
39803
39835
  var ContentWrapper = function ContentWrapper(_ref) {
39804
39836
  var id = _ref.id;
39805
39837
  var root = useStore();
@@ -39872,7 +39904,7 @@ var ContentCard = observer(function (_ref3) {
39872
39904
  var root = useStore();
39873
39905
  var configuration = root.configurationStore.getConfiguration(configId);
39874
39906
  return /*#__PURE__*/jsxs("div", {
39875
- style: _objectSpread$5(_objectSpread$5({}, !inGroup ? {
39907
+ style: _objectSpread$6(_objectSpread$6({}, !inGroup ? {
39876
39908
  height: '100%'
39877
39909
  } : {
39878
39910
  maxHeight: '60vh'
@@ -39923,8 +39955,8 @@ var Content = observer(ContentWrapper);
39923
39955
  var layout = "layout-gqKsp";
39924
39956
  var contentWrapper = "content-wrapper-mQSc0";
39925
39957
  var detail = "detail-WeK8Q";
39926
- var css_248z$5 = ".layout-gqKsp {\n height: 100%;\n position: relative;\n overflow: hidden;\n}\n\n.content-wrapper-mQSc0 {\n overflow: auto;\n height: 100%;\n}\n\n.detail-WeK8Q .ant-drawer-content-wrapper {\n max-width: 100%;\n}\n\n.darkmode .ant-layout {\n background-color: rgb(20, 20, 20);\n}\n\n.lightmode .ant-layout {\n background-color: rgb(255, 255, 255);\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW #diva-header.darkmode {\n background-color: #001529 !important;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW #diva-header.darkmode .arrows {\n background-image: url(\"data:image/svg+xml,%3Csvg width%3D%2225%22 height%3D%2224%22 viewBox%3D%220 0 25 24%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath d%3D%22M10.5 7L15.5 12L10.5 17%22 stroke%3D%22%23fff%22 stroke-width%3D%221.5%22 stroke-linecap%3D%22round%22 stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E\"), linear-gradient(270deg, rgba(0, 21, 41, 1) 0%, rgba(0, 21, 41, 1) 72%, rgba(0, 21, 41, 0) 100%) !important;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW #diva-header.darkmode #Profile > div {\n border-left: 1px solid black;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW #diva-header.darkmode #welcomeText {\n border-right: 1px solid black;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW #diva-header.darkmode #Profile {\n background-color: #001529 !important;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW #diva-header.lightmode {\n background-color: #fff !important;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW #diva-header.darkmode * {\n color: rgb(255, 255, 255);\n}\n.diva-component-DIVA_BACKOFFICE_NEW #diva-header.lightmode * {\n color: rgb(0, 0, 0);\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW ::-webkit-scrollbar {\n width: 10px;\n height: 10px;\n}\n.diva-component-DIVA_BACKOFFICE_NEW .darkmode ::-webkit-scrollbar-track {\n box-shadow: inset 0 0 10px 10px #021129;\n border: solid 3px transparent;\n}\n.diva-component-DIVA_BACKOFFICE_NEW .darkmode ::-webkit-scrollbar-thumb {\n box-shadow: inset 0 0 10px 10px rgb(130, 130, 130);\n border: solid 3px transparent;\n border-radius: 10px;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .lightmode ::-webkit-scrollbar-track {\n box-shadow: inset 0 0 10px 10px #ffffff;\n border: solid 3px transparent;\n}\n.diva-component-DIVA_BACKOFFICE_NEW .lightmode ::-webkit-scrollbar-thumb {\n box-shadow: inset 0 0 10px 10px #bdbdbd;\n border: solid 3px transparent;\n border-radius: 10px;\n}\n";
39927
- styleInject(css_248z$5);
39958
+ var css_248z$6 = ".layout-gqKsp {\n height: 100%;\n position: relative;\n overflow: hidden;\n}\n\n.content-wrapper-mQSc0 {\n overflow: auto;\n height: 100%;\n}\n\n.detail-WeK8Q .ant-drawer-content-wrapper {\n max-width: 100%;\n}\n\n.darkmode .ant-layout {\n background-color: rgb(20, 20, 20);\n}\n\n.lightmode .ant-layout {\n background-color: rgb(255, 255, 255);\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW #diva-header.darkmode {\n background-color: #001529 !important;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW #diva-header.darkmode .arrows {\n background-image: url(\"data:image/svg+xml,%3Csvg width%3D%2225%22 height%3D%2224%22 viewBox%3D%220 0 25 24%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath d%3D%22M10.5 7L15.5 12L10.5 17%22 stroke%3D%22%23fff%22 stroke-width%3D%221.5%22 stroke-linecap%3D%22round%22 stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E\"), linear-gradient(270deg, rgba(0, 21, 41, 1) 0%, rgba(0, 21, 41, 1) 72%, rgba(0, 21, 41, 0) 100%) !important;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW #diva-header.darkmode #Profile > div {\n border-left: 1px solid black;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW #diva-header.darkmode #welcomeText {\n border-right: 1px solid black;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW #diva-header.darkmode #Profile {\n background-color: #001529 !important;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW #diva-header.lightmode {\n background-color: #fff !important;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW #diva-header.darkmode * {\n color: rgb(255, 255, 255);\n}\n.diva-component-DIVA_BACKOFFICE_NEW #diva-header.lightmode * {\n color: rgb(0, 0, 0);\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW ::-webkit-scrollbar {\n width: 10px;\n height: 10px;\n}\n.diva-component-DIVA_BACKOFFICE_NEW .darkmode ::-webkit-scrollbar-track {\n box-shadow: inset 0 0 10px 10px #021129;\n border: solid 3px transparent;\n}\n.diva-component-DIVA_BACKOFFICE_NEW .darkmode ::-webkit-scrollbar-thumb {\n box-shadow: inset 0 0 10px 10px rgb(130, 130, 130);\n border: solid 3px transparent;\n border-radius: 10px;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .lightmode ::-webkit-scrollbar-track {\n box-shadow: inset 0 0 10px 10px #ffffff;\n border: solid 3px transparent;\n}\n.diva-component-DIVA_BACKOFFICE_NEW .lightmode ::-webkit-scrollbar-thumb {\n box-shadow: inset 0 0 10px 10px #bdbdbd;\n border: solid 3px transparent;\n border-radius: 10px;\n}\n";
39959
+ styleInject(css_248z$6);
39928
39960
 
39929
39961
  function Detail(_ref) {
39930
39962
  var _info$description, _container$current, _info$width, _info$submitButtonTex, _info$data;
@@ -40266,8 +40298,8 @@ var Modal$1 = observer(Modal);
40266
40298
 
40267
40299
  var snow = "snow-14T01";
40268
40300
  var sun = "sun-ijIPS";
40269
- var css_248z$4 = ".snow-14T01 {\n display: none;\n position: fixed;\n font-size: 1.5rem;\n top: -1vh;\n transform: translateY(0);\n animation: fall-XG-Wo 3s linear forwards;\n background: center / contain no-repeat url(\"data:image/svg+xml,%3Csvg version%3D%221.1%22 id%3D%22Layer_1%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22 x%3D%220px%22 y%3D%220px%22%09 viewBox%3D%220 0 512 512%22 style%3D%22enable-background%3Anew 0 0 512 512%3B%22 xml%3Aspace%3D%22preserve%22%3E%3Cpath style%3D%22fill%3A%2399DDFF%3B%22 d%3D%22M512%2C256c0-9.217-7.479-16.696-16.696-16.696h-26.478l32.718-32.718%09c6.521-6.521%2C6.521-17.087%2C0-23.609s-17.087-6.521-23.609%2C0l-56.327%2C56.327h-83.813c-2.168-10.642-6.39-20.536-12.197-29.295%09l59.303-59.303h79.663c9.217%2C0%2C16.696-7.479%2C16.696-16.696s-7.479-16.696-16.696-16.696h-46.271l18.728-18.728%09c6.521-6.521%2C6.521-17.087%2C0-23.609s-17.087-6.521-23.609%2C0l-18.727%2C18.728V47.435c0-9.217-7.479-16.696-16.696-16.696%09c-9.217%2C0-16.696%2C7.479-16.696%2C16.696v79.663L301.991%2C186.4c-8.759-5.807-18.652-10.027-29.295-12.197V90.391l56.326-56.326%09c6.521-6.521%2C6.521-17.087%2C0-23.609s-17.087-6.521-23.609%2C0l-32.717%2C32.717V16.696C272.696%2C7.479%2C265.217%2C0%2C256%2C0%09s-16.696%2C7.479-16.696%2C16.696v26.478l-32.718-32.717c-6.521-6.521-17.087-6.521-23.609%2C0s-6.521%2C17.087%2C0%2C23.609l56.327%2C56.326%09v83.813c-10.642%2C2.168-20.536%2C6.39-29.295%2C12.197l-59.303-59.303V47.435c0-9.217-7.479-16.696-16.696-16.696%09s-16.696%2C7.479-16.696%2C16.696v46.271L98.587%2C74.978c-6.521-6.521-17.087-6.521-23.609%2C0s-6.521%2C17.087%2C0%2C23.609l18.728%2C18.728%09H47.435c-9.217%2C0-16.696%2C7.479-16.696%2C16.696c0%2C9.217%2C7.479%2C16.696%2C16.696%2C16.696h79.663l59.303%2C59.303%09c-5.807%2C8.759-10.027%2C18.652-12.197%2C29.295H90.391l-56.326-56.326c-6.521-6.521-17.087-6.521-23.609%2C0s-6.521%2C17.087%2C0%2C23.609%09l32.717%2C32.717H16.696C7.479%2C239.304%2C0%2C246.783%2C0%2C256s7.479%2C16.696%2C16.696%2C16.696h26.478l-32.717%2C32.718%09c-6.521%2C6.521-6.521%2C17.087%2C0%2C23.609c3.26%2C3.26%2C7.532%2C4.891%2C11.804%2C4.891s8.544-1.631%2C11.804-4.892l56.327-56.326h83.813%09c2.168%2C10.642%2C6.39%2C20.536%2C12.197%2C29.295l-59.303%2C59.303H47.435c-9.217%2C0-16.696%2C7.479-16.696%2C16.696%09c0%2C9.217%2C7.479%2C16.696%2C16.696%2C16.696h46.271l-18.728%2C18.728c-6.521%2C6.521-6.521%2C17.087%2C0%2C23.609%09c3.261%2C3.261%2C7.533%2C4.892%2C11.804%2C4.892s8.544-1.631%2C11.804-4.892l18.728-18.728v46.271c0%2C9.217%2C7.479%2C16.696%2C16.696%2C16.696%09s16.696-7.479%2C16.696-16.696v-79.663l59.303-59.303c8.759%2C5.807%2C18.652%2C10.027%2C29.295%2C12.197v83.813l-56.326%2C56.326%09c-6.521%2C6.521-6.521%2C17.087%2C0%2C23.609s17.087%2C6.521%2C23.609%2C0l32.718-32.718v26.478c0%2C9.217%2C7.479%2C16.696%2C16.696%2C16.696%09s16.696-7.479%2C16.696-16.696v-26.478l32.718%2C32.718c3.261%2C3.261%2C7.533%2C4.892%2C11.804%2C4.892s8.544-1.631%2C11.804-4.892%09c6.521-6.521%2C6.521-17.087%2C0-23.609l-56.326-56.327v-83.813c10.642-2.168%2C20.536-6.39%2C29.295-12.197l59.303%2C59.303v79.663%09c0%2C9.217%2C7.479%2C16.696%2C16.696%2C16.696c9.217%2C0%2C16.696-7.479%2C16.696-16.696v-46.271l18.728%2C18.728%09c3.261%2C3.261%2C7.533%2C4.892%2C11.804%2C4.892s8.544-1.631%2C11.804-4.892c6.521-6.521%2C6.521-17.087%2C0-23.609l-18.727-18.727h46.271%09c9.217%2C0%2C16.696-7.479%2C16.696-16.696c0-9.217-7.479-16.696-16.696-16.696h-79.663L325.6%2C301.991%09c5.807-8.759%2C10.027-18.652%2C12.197-29.295h83.813l56.326%2C56.326c3.261%2C3.261%2C7.533%2C4.892%2C11.804%2C4.892s8.544-1.631%2C11.804-4.892%09c6.521-6.521%2C6.521-17.087%2C0-23.609l-32.717-32.717h26.478C504.521%2C272.696%2C512%2C265.217%2C512%2C256z M256%2C306.087%09c-27.619%2C0-50.087-22.468-50.087-50.087s22.468-50.087%2C50.087-50.087s50.087%2C22.468%2C50.087%2C50.087S283.619%2C306.087%2C256%2C306.087z%22%2F%3E%3Cpath style%3D%22fill%3A%2373C0E6%3B%22 d%3D%22M306.087%2C256c0%2C27.619-22.468%2C50.087-50.087%2C50.087V512c9.217%2C0%2C16.696-7.479%2C16.696-16.696v-26.478%09l32.718%2C32.718c3.261%2C3.261%2C7.533%2C4.892%2C11.804%2C4.892s8.544-1.631%2C11.804-4.892c6.521-6.521%2C6.521-17.087%2C0-23.609l-56.326-56.327%09v-83.813c10.642-2.168%2C20.536-6.39%2C29.295-12.197l59.303%2C59.303v79.663c0%2C9.217%2C7.479%2C16.696%2C16.696%2C16.696%09c9.217%2C0%2C16.696-7.479%2C16.696-16.696v-46.271l18.728%2C18.728c3.261%2C3.261%2C7.533%2C4.892%2C11.804%2C4.892s8.544-1.631%2C11.804-4.892%09c6.521-6.521%2C6.521-17.087%2C0-23.609l-18.727-18.727h46.271c9.217%2C0%2C16.696-7.479%2C16.696-16.696c0-9.217-7.479-16.696-16.696-16.696%09h-79.663L325.6%2C301.991c5.807-8.759%2C10.027-18.652%2C12.197-29.295h83.813l56.326%2C56.326c3.261%2C3.261%2C7.533%2C4.892%2C11.804%2C4.892%09s8.544-1.631%2C11.804-4.892c6.521-6.521%2C6.521-17.087%2C0-23.609l-32.717-32.717h26.478c9.217%2C0%2C16.696-7.479%2C16.696-16.696%09s-7.479-16.696-16.696-16.696h-26.478l32.718-32.718c6.521-6.521%2C6.521-17.087%2C0-23.609s-17.087-6.521-23.609%2C0l-56.327%2C56.327%09h-83.813c-2.168-10.642-6.39-20.536-12.197-29.295l59.303-59.303h79.663c9.217%2C0%2C16.696-7.479%2C16.696-16.696%09s-7.479-16.696-16.696-16.696h-46.271l18.728-18.728c6.521-6.521%2C6.521-17.087%2C0-23.609s-17.087-6.521-23.609%2C0l-18.727%2C18.728%09V47.435c0-9.217-7.479-16.696-16.696-16.696c-9.217%2C0-16.696%2C7.479-16.696%2C16.696v79.663L301.991%2C186.4%09c-8.759-5.807-18.652-10.027-29.295-12.197V90.391l56.326-56.326c6.521-6.521%2C6.521-17.087%2C0-23.609s-17.087-6.521-23.609%2C0%09l-32.717%2C32.717V16.696C272.696%2C7.479%2C265.217%2C0%2C256%2C0v205.913C283.619%2C205.913%2C306.087%2C228.381%2C306.087%2C256z%22%2F%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3C%2Fsvg%3E\");\n width: 20px;\n height: 20px;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .snow-14T01 {\n display: block;\n}\n\n@keyframes fall-XG-Wo {\n from {\n transform: translateY(0vh) translateX(-10vw);\n }\n to {\n transform: translateY(105vh) translateX(10vw);\n }\n}\n\n.sun-ijIPS {\n color: rgba(255, 255, 255, 0.65);\n line-height: 40px;\n margin-left: 10px;\n cursor: pointer;\n}\n";
40270
- styleInject(css_248z$4);
40301
+ var css_248z$5 = ".snow-14T01 {\n display: none;\n position: fixed;\n font-size: 1.5rem;\n top: -1vh;\n transform: translateY(0);\n animation: fall-XG-Wo 3s linear forwards;\n background: center / contain no-repeat url(\"data:image/svg+xml,%3Csvg version%3D%221.1%22 id%3D%22Layer_1%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22 x%3D%220px%22 y%3D%220px%22%09 viewBox%3D%220 0 512 512%22 style%3D%22enable-background%3Anew 0 0 512 512%3B%22 xml%3Aspace%3D%22preserve%22%3E%3Cpath style%3D%22fill%3A%2399DDFF%3B%22 d%3D%22M512%2C256c0-9.217-7.479-16.696-16.696-16.696h-26.478l32.718-32.718%09c6.521-6.521%2C6.521-17.087%2C0-23.609s-17.087-6.521-23.609%2C0l-56.327%2C56.327h-83.813c-2.168-10.642-6.39-20.536-12.197-29.295%09l59.303-59.303h79.663c9.217%2C0%2C16.696-7.479%2C16.696-16.696s-7.479-16.696-16.696-16.696h-46.271l18.728-18.728%09c6.521-6.521%2C6.521-17.087%2C0-23.609s-17.087-6.521-23.609%2C0l-18.727%2C18.728V47.435c0-9.217-7.479-16.696-16.696-16.696%09c-9.217%2C0-16.696%2C7.479-16.696%2C16.696v79.663L301.991%2C186.4c-8.759-5.807-18.652-10.027-29.295-12.197V90.391l56.326-56.326%09c6.521-6.521%2C6.521-17.087%2C0-23.609s-17.087-6.521-23.609%2C0l-32.717%2C32.717V16.696C272.696%2C7.479%2C265.217%2C0%2C256%2C0%09s-16.696%2C7.479-16.696%2C16.696v26.478l-32.718-32.717c-6.521-6.521-17.087-6.521-23.609%2C0s-6.521%2C17.087%2C0%2C23.609l56.327%2C56.326%09v83.813c-10.642%2C2.168-20.536%2C6.39-29.295%2C12.197l-59.303-59.303V47.435c0-9.217-7.479-16.696-16.696-16.696%09s-16.696%2C7.479-16.696%2C16.696v46.271L98.587%2C74.978c-6.521-6.521-17.087-6.521-23.609%2C0s-6.521%2C17.087%2C0%2C23.609l18.728%2C18.728%09H47.435c-9.217%2C0-16.696%2C7.479-16.696%2C16.696c0%2C9.217%2C7.479%2C16.696%2C16.696%2C16.696h79.663l59.303%2C59.303%09c-5.807%2C8.759-10.027%2C18.652-12.197%2C29.295H90.391l-56.326-56.326c-6.521-6.521-17.087-6.521-23.609%2C0s-6.521%2C17.087%2C0%2C23.609%09l32.717%2C32.717H16.696C7.479%2C239.304%2C0%2C246.783%2C0%2C256s7.479%2C16.696%2C16.696%2C16.696h26.478l-32.717%2C32.718%09c-6.521%2C6.521-6.521%2C17.087%2C0%2C23.609c3.26%2C3.26%2C7.532%2C4.891%2C11.804%2C4.891s8.544-1.631%2C11.804-4.892l56.327-56.326h83.813%09c2.168%2C10.642%2C6.39%2C20.536%2C12.197%2C29.295l-59.303%2C59.303H47.435c-9.217%2C0-16.696%2C7.479-16.696%2C16.696%09c0%2C9.217%2C7.479%2C16.696%2C16.696%2C16.696h46.271l-18.728%2C18.728c-6.521%2C6.521-6.521%2C17.087%2C0%2C23.609%09c3.261%2C3.261%2C7.533%2C4.892%2C11.804%2C4.892s8.544-1.631%2C11.804-4.892l18.728-18.728v46.271c0%2C9.217%2C7.479%2C16.696%2C16.696%2C16.696%09s16.696-7.479%2C16.696-16.696v-79.663l59.303-59.303c8.759%2C5.807%2C18.652%2C10.027%2C29.295%2C12.197v83.813l-56.326%2C56.326%09c-6.521%2C6.521-6.521%2C17.087%2C0%2C23.609s17.087%2C6.521%2C23.609%2C0l32.718-32.718v26.478c0%2C9.217%2C7.479%2C16.696%2C16.696%2C16.696%09s16.696-7.479%2C16.696-16.696v-26.478l32.718%2C32.718c3.261%2C3.261%2C7.533%2C4.892%2C11.804%2C4.892s8.544-1.631%2C11.804-4.892%09c6.521-6.521%2C6.521-17.087%2C0-23.609l-56.326-56.327v-83.813c10.642-2.168%2C20.536-6.39%2C29.295-12.197l59.303%2C59.303v79.663%09c0%2C9.217%2C7.479%2C16.696%2C16.696%2C16.696c9.217%2C0%2C16.696-7.479%2C16.696-16.696v-46.271l18.728%2C18.728%09c3.261%2C3.261%2C7.533%2C4.892%2C11.804%2C4.892s8.544-1.631%2C11.804-4.892c6.521-6.521%2C6.521-17.087%2C0-23.609l-18.727-18.727h46.271%09c9.217%2C0%2C16.696-7.479%2C16.696-16.696c0-9.217-7.479-16.696-16.696-16.696h-79.663L325.6%2C301.991%09c5.807-8.759%2C10.027-18.652%2C12.197-29.295h83.813l56.326%2C56.326c3.261%2C3.261%2C7.533%2C4.892%2C11.804%2C4.892s8.544-1.631%2C11.804-4.892%09c6.521-6.521%2C6.521-17.087%2C0-23.609l-32.717-32.717h26.478C504.521%2C272.696%2C512%2C265.217%2C512%2C256z M256%2C306.087%09c-27.619%2C0-50.087-22.468-50.087-50.087s22.468-50.087%2C50.087-50.087s50.087%2C22.468%2C50.087%2C50.087S283.619%2C306.087%2C256%2C306.087z%22%2F%3E%3Cpath style%3D%22fill%3A%2373C0E6%3B%22 d%3D%22M306.087%2C256c0%2C27.619-22.468%2C50.087-50.087%2C50.087V512c9.217%2C0%2C16.696-7.479%2C16.696-16.696v-26.478%09l32.718%2C32.718c3.261%2C3.261%2C7.533%2C4.892%2C11.804%2C4.892s8.544-1.631%2C11.804-4.892c6.521-6.521%2C6.521-17.087%2C0-23.609l-56.326-56.327%09v-83.813c10.642-2.168%2C20.536-6.39%2C29.295-12.197l59.303%2C59.303v79.663c0%2C9.217%2C7.479%2C16.696%2C16.696%2C16.696%09c9.217%2C0%2C16.696-7.479%2C16.696-16.696v-46.271l18.728%2C18.728c3.261%2C3.261%2C7.533%2C4.892%2C11.804%2C4.892s8.544-1.631%2C11.804-4.892%09c6.521-6.521%2C6.521-17.087%2C0-23.609l-18.727-18.727h46.271c9.217%2C0%2C16.696-7.479%2C16.696-16.696c0-9.217-7.479-16.696-16.696-16.696%09h-79.663L325.6%2C301.991c5.807-8.759%2C10.027-18.652%2C12.197-29.295h83.813l56.326%2C56.326c3.261%2C3.261%2C7.533%2C4.892%2C11.804%2C4.892%09s8.544-1.631%2C11.804-4.892c6.521-6.521%2C6.521-17.087%2C0-23.609l-32.717-32.717h26.478c9.217%2C0%2C16.696-7.479%2C16.696-16.696%09s-7.479-16.696-16.696-16.696h-26.478l32.718-32.718c6.521-6.521%2C6.521-17.087%2C0-23.609s-17.087-6.521-23.609%2C0l-56.327%2C56.327%09h-83.813c-2.168-10.642-6.39-20.536-12.197-29.295l59.303-59.303h79.663c9.217%2C0%2C16.696-7.479%2C16.696-16.696%09s-7.479-16.696-16.696-16.696h-46.271l18.728-18.728c6.521-6.521%2C6.521-17.087%2C0-23.609s-17.087-6.521-23.609%2C0l-18.727%2C18.728%09V47.435c0-9.217-7.479-16.696-16.696-16.696c-9.217%2C0-16.696%2C7.479-16.696%2C16.696v79.663L301.991%2C186.4%09c-8.759-5.807-18.652-10.027-29.295-12.197V90.391l56.326-56.326c6.521-6.521%2C6.521-17.087%2C0-23.609s-17.087-6.521-23.609%2C0%09l-32.717%2C32.717V16.696C272.696%2C7.479%2C265.217%2C0%2C256%2C0v205.913C283.619%2C205.913%2C306.087%2C228.381%2C306.087%2C256z%22%2F%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3C%2Fsvg%3E\");\n width: 20px;\n height: 20px;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .snow-14T01 {\n display: block;\n}\n\n@keyframes fall-XG-Wo {\n from {\n transform: translateY(0vh) translateX(-10vw);\n }\n to {\n transform: translateY(105vh) translateX(10vw);\n }\n}\n\n.sun-ijIPS {\n color: rgba(255, 255, 255, 0.65);\n line-height: 40px;\n margin-left: 10px;\n cursor: pointer;\n}\n";
40302
+ styleInject(css_248z$5);
40271
40303
 
40272
40304
  var SnowAnimation = function SnowAnimation(props) {
40273
40305
  var _useState = useState(),
@@ -40432,19 +40464,21 @@ var sel = "sel-iUm8X";
40432
40464
  var button = "button-K-0KR";
40433
40465
  var toolbarLayout = "toolbar-layout-DUuBn";
40434
40466
  var toolbarContent = "toolbar-content-GxyU6";
40435
- var css_248z$3 = ".container-BucHG {\n height: 100%;\n width: 100%;\n position: relative;\n z-index: 1001;\n overflow: auto;\n}\n\n.right--XETU .container-BucHG {\n z-index: 1003;\n}\n\n.unpinned-right-tbnNb.container-BucHG {\n right: 37px;\n position: absolute;\n}\n\n.draghandle-f5b0N {\n position: absolute;\n top: 0px;\n background-color: rgba(128, 128, 128, 0.3);\n z-index: 1002;\n}\n\n.right--XETU .draghandle-f5b0N {\n height: 100%;\n width: 2px;\n left: -1px;\n cursor: ew-resize;\n z-index: 1004;\n}\n\n.bottom-cqyfS .draghandle-f5b0N {\n height: 2px;\n width: 100%;\n cursor: ns-resize;\n}\n\n.mid-handle--qh50 {\n position: absolute;\n background-color: rgba(128, 128, 128, 0.3);\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\n.right--XETU .mid-handle--qh50 {\n width: 5px;\n height: 32px;\n border-left: 2px solid grey;\n border-right: 2px solid grey;\n}\n\n.bottom-cqyfS .mid-handle--qh50 {\n height: 5px;\n width: 32px;\n border-top: 2px solid gray;\n border-bottom: 2px solid gray;\n}\n\n.tools-selector-BHV3Z {\n z-index: 1000;\n display: flex;\n position: relative;\n gap: 16px;\n align-items: center;\n background-color: #f5f5f5;\n}\n\n.darkmode .tools-selector-BHV3Z {\n background-color: #001529;\n color: rgba(255, 255, 255, 0.85);\n}\n\n.right--XETU .tools-selector-BHV3Z {\n width: 36px;\n height: 100%;\n padding-top: 16px;\n flex-direction: column;\n}\n\n.bottom-cqyfS .tools-selector-BHV3Z {\n width: 100%;\n height: 36px;\n padding-top: 0;\n flex-direction: row;\n}\n\n.tool-item-KyKgQ {\n padding: 10px;\n cursor: pointer;\n position: relative;\n}\n\n.tool-item-KyKgQ.disabled-6aIG9 {\n opacity: 0.5;\n cursor: default;\n}\n\n.right--XETU .tool-item-KyKgQ {\n writing-mode: vertical-lr;\n text-orientation: mixed;\n}\n\n.tool-item-KyKgQ::after {\n content: '';\n position: absolute;\n background-color: #0088ff;\n transition: all ease-in-out 0.2s;\n}\n\n.right--XETU .tool-item-KyKgQ::after {\n width: 3px;\n height: 0px;\n left: 1px;\n bottom: 50%;\n}\n\n.right--XETU .tool-item-KyKgQ:not(.disabled-6aIG9):hover::after,\n.right--XETU .sel-iUm8X::after {\n height: 100%;\n bottom: 0;\n}\n\n.bottom-cqyfS .tool-item-KyKgQ::after {\n width: 0px;\n height: 3px;\n bottom: 1px;\n left: 50%;\n}\n\n.bottom-cqyfS .tool-item-KyKgQ:not(.disabled-6aIG9):hover::after,\n.bottom-cqyfS .sel-iUm8X::after {\n width: 100%;\n left: 0;\n}\n\n.button-K-0KR {\n width: 40px;\n justify-content: center;\n}\n\n.toolbar-layout-DUuBn {\n height: 100%;\n width: 100%;\n}\n\n.toolbar-content-GxyU6 {\n height: 100%;\n width: 100%;\n padding: 32px;\n display: flex;\n flex-direction: column;\n}\n";
40436
- styleInject(css_248z$3);
40467
+ var css_248z$4 = ".container-BucHG {\n height: 100%;\n width: 100%;\n position: relative;\n z-index: 1001;\n overflow: auto;\n}\n\n.right--XETU .container-BucHG {\n z-index: 1003;\n}\n\n.unpinned-right-tbnNb.container-BucHG {\n right: 37px;\n position: absolute;\n}\n\n.draghandle-f5b0N {\n position: absolute;\n top: 0px;\n background-color: rgba(128, 128, 128, 0.3);\n z-index: 1002;\n}\n\n.right--XETU .draghandle-f5b0N {\n height: 100%;\n width: 2px;\n left: -1px;\n cursor: ew-resize;\n z-index: 1004;\n}\n\n.bottom-cqyfS .draghandle-f5b0N {\n height: 2px;\n width: 100%;\n cursor: ns-resize;\n}\n\n.mid-handle--qh50 {\n position: absolute;\n background-color: rgba(128, 128, 128, 0.3);\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\n.right--XETU .mid-handle--qh50 {\n width: 5px;\n height: 32px;\n border-left: 2px solid grey;\n border-right: 2px solid grey;\n}\n\n.bottom-cqyfS .mid-handle--qh50 {\n height: 5px;\n width: 32px;\n border-top: 2px solid gray;\n border-bottom: 2px solid gray;\n}\n\n.tools-selector-BHV3Z {\n z-index: 1000;\n display: flex;\n position: relative;\n gap: 16px;\n align-items: center;\n background-color: #f5f5f5;\n}\n\n.darkmode .tools-selector-BHV3Z {\n background-color: #001529;\n color: rgba(255, 255, 255, 0.85);\n}\n\n.right--XETU .tools-selector-BHV3Z {\n width: 36px;\n height: 100%;\n padding-top: 16px;\n flex-direction: column;\n}\n\n.bottom-cqyfS .tools-selector-BHV3Z {\n width: 100%;\n height: 36px;\n padding-top: 0;\n flex-direction: row;\n}\n\n.tool-item-KyKgQ {\n padding: 10px;\n cursor: pointer;\n position: relative;\n}\n\n.tool-item-KyKgQ.disabled-6aIG9 {\n opacity: 0.5;\n cursor: default;\n}\n\n.right--XETU .tool-item-KyKgQ {\n writing-mode: vertical-lr;\n text-orientation: mixed;\n}\n\n.tool-item-KyKgQ::after {\n content: '';\n position: absolute;\n background-color: #0088ff;\n transition: all ease-in-out 0.2s;\n}\n\n.right--XETU .tool-item-KyKgQ::after {\n width: 3px;\n height: 0px;\n left: 1px;\n bottom: 50%;\n}\n\n.right--XETU .tool-item-KyKgQ:not(.disabled-6aIG9):hover::after,\n.right--XETU .sel-iUm8X::after {\n height: 100%;\n bottom: 0;\n}\n\n.bottom-cqyfS .tool-item-KyKgQ::after {\n width: 0px;\n height: 3px;\n bottom: 1px;\n left: 50%;\n}\n\n.bottom-cqyfS .tool-item-KyKgQ:not(.disabled-6aIG9):hover::after,\n.bottom-cqyfS .sel-iUm8X::after {\n width: 100%;\n left: 0;\n}\n\n.button-K-0KR {\n width: 40px;\n justify-content: center;\n}\n\n.toolbar-layout-DUuBn {\n height: 100%;\n width: 100%;\n}\n\n.toolbar-content-GxyU6 {\n height: 100%;\n width: 100%;\n padding: 32px;\n display: flex;\n flex-direction: column;\n}\n";
40468
+ styleInject(css_248z$4);
40437
40469
 
40438
- var wrapper$1 = "wrapper-Q13-g";
40470
+ var wrapper$2 = "wrapper-Q13-g";
40439
40471
  var confContainer = "conf-container-Sm5LL";
40440
- var css_248z$2 = ".wrapper-Q13-g {\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n\n.conf-container-Sm5LL {\n padding-top: 10px;\n background: white;\n color: black;\n height: calc(100% - 40px);\n border-radius: 5px;\n border: 1px solid #d9d9d9;\n position: relative;\n overflow: hidden;\n}\n\n.darkmode .conf-container-Sm5LL {\n border-color: #424242;\n}\n";
40441
- styleInject(css_248z$2);
40472
+ var css_248z$3 = ".wrapper-Q13-g {\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n\n.conf-container-Sm5LL {\n padding-top: 10px;\n background: white;\n color: black;\n height: calc(100% - 40px);\n border-radius: 5px;\n border: 1px solid #d9d9d9;\n position: relative;\n overflow: hidden;\n}\n\n.darkmode .conf-container-Sm5LL {\n border-color: #424242;\n}\n";
40473
+ styleInject(css_248z$3);
40442
40474
 
40443
- var wrapper = "wrapper-IcNC5";
40444
- var select = "select-jVMz-";
40445
- var css_248z$1 = ".wrapper-IcNC5 {\n display: flex;\n gap: 16px;\n justify-content: space-between;\n margin-bottom: 8px;\n}\n\n.select-jVMz- {\n z-index: 1000;\n flex: 1;\n}\n";
40446
- styleInject(css_248z$1);
40475
+ var wrapper$1 = "wrapper-IcNC5";
40476
+ var select$1 = "select-jVMz-";
40477
+ var css_248z$2 = ".wrapper-IcNC5 {\n display: flex;\n gap: 16px;\n justify-content: space-between;\n margin-bottom: 8px;\n}\n\n.select-jVMz- {\n z-index: 1000;\n flex: 1;\n max-width: 100% - 48px;\n}\n";
40478
+ styleInject(css_248z$2);
40447
40479
 
40480
+ function ownKeys$5(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
40481
+ function _objectSpread$5(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$5(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$5(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
40448
40482
  var ArticleSelection = function ArticleSelection(_ref) {
40449
40483
  var _ref$state = _ref.state,
40450
40484
  articleList = _ref$state.articleList,
@@ -40474,19 +40508,20 @@ var ArticleSelection = function ArticleSelection(_ref) {
40474
40508
  for (var i = 0; i < articleList.length; i++) {
40475
40509
  _loop();
40476
40510
  }
40477
- return groups;
40511
+ return groups.map(function (g) {
40512
+ return _objectSpread$5(_objectSpread$5({}, g), {}, {
40513
+ label: t('configuration.group.' + g.label, g.label)
40514
+ });
40515
+ });
40478
40516
  }, [articleList]);
40479
40517
  return /*#__PURE__*/jsxs("div", {
40480
- className: wrapper,
40518
+ className: wrapper$1,
40481
40519
  children: [/*#__PURE__*/jsx(Select$1, {
40482
- style: {
40483
- maxWidth: 'calc(100% - 48px)'
40484
- },
40485
40520
  placeholder: t('backoffice.configurator.article.placeholder'),
40486
40521
  value: articleCodex,
40487
40522
  options: groupedArticles,
40488
40523
  onChange: setArticleCodex,
40489
- className: select
40524
+ className: select$1
40490
40525
  }), /*#__PURE__*/jsx(Button, {
40491
40526
  icon: /*#__PURE__*/jsx(ReloadOutlined$1, {}),
40492
40527
  onClick: function onClick() {
@@ -40500,6 +40535,7 @@ var ArticleSelection$1 = observer(ArticleSelection);
40500
40535
  function ownKeys$4(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
40501
40536
  function _objectSpread$4(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$4(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$4(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
40502
40537
  function useWysiwyg$1(_ref) {
40538
+ var _tool$parameters;
40503
40539
  var tool = _ref.tool,
40504
40540
  toolbar = _ref.toolbar;
40505
40541
  var _useDivaCore = useDivaCore(),
@@ -40513,8 +40549,8 @@ function useWysiwyg$1(_ref) {
40513
40549
  setDoReset = _useState2[1];
40514
40550
  var _useState3 = useState(),
40515
40551
  _useState4 = _slicedToArray(_useState3, 2),
40516
- pack = _useState4[0],
40517
- setPackage = _useState4[1];
40552
+ mask = _useState4[0],
40553
+ setMask = _useState4[1];
40518
40554
  var _useState5 = useState(),
40519
40555
  _useState6 = _slicedToArray(_useState5, 2),
40520
40556
  articleCodex = _useState6[0],
@@ -40523,14 +40559,24 @@ function useWysiwyg$1(_ref) {
40523
40559
  _useState8 = _slicedToArray(_useState7, 2),
40524
40560
  articleList = _useState8[0],
40525
40561
  setArticleList = _useState8[1];
40526
- var _useState9 = useState(),
40562
+ var _useState9 = useState({
40563
+ catalogCodex: (_tool$parameters = tool.parameters) === null || _tool$parameters === void 0 ? void 0 : _tool$parameters.catalogCodex
40564
+ }),
40527
40565
  _useState10 = _slicedToArray(_useState9, 2),
40528
- currentNav = _useState10[0],
40529
- setCurrentNav = _useState10[1];
40530
- var _useState11 = useState(),
40566
+ catalog = _useState10[0],
40567
+ setCatalog = _useState10[1];
40568
+ var _useState11 = useState([]),
40531
40569
  _useState12 = _slicedToArray(_useState11, 2),
40532
- doNavigate = _useState12[0],
40533
- setDoNavigate = _useState12[1];
40570
+ catalogList = _useState12[0],
40571
+ setCatalogList = _useState12[1];
40572
+ var _useState13 = useState(),
40573
+ _useState14 = _slicedToArray(_useState13, 2),
40574
+ currentNav = _useState14[0],
40575
+ setCurrentNav = _useState14[1];
40576
+ var _useState15 = useState(),
40577
+ _useState16 = _slicedToArray(_useState15, 2),
40578
+ doNavigate = _useState16[0],
40579
+ setDoNavigate = _useState16[1];
40534
40580
  useEffect(function () {
40535
40581
  if (!toolbar.hidden) setDoReset(true);
40536
40582
  }, [toolbar.hidden]);
@@ -40558,7 +40604,7 @@ function useWysiwyg$1(_ref) {
40558
40604
  });
40559
40605
  case 3:
40560
40606
  d = _context.sent;
40561
- setPackage(d);
40607
+ setMask(d);
40562
40608
  case 5:
40563
40609
  case "end":
40564
40610
  return _context.stop();
@@ -40569,14 +40615,124 @@ function useWysiwyg$1(_ref) {
40569
40615
  return _ref2.apply(this, arguments);
40570
40616
  };
40571
40617
  }();
40618
+ var loadPackage = /*#__PURE__*/function () {
40619
+ var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(id) {
40620
+ var jwt, d, s;
40621
+ return _regeneratorRuntime.wrap(function _callee2$(_context2) {
40622
+ while (1) switch (_context2.prev = _context2.next) {
40623
+ case 0:
40624
+ jwt = root.dataStore.jwt;
40625
+ _context2.next = 3;
40626
+ return fetch(root.configurationStore.apiConfig.enricherService + '/wysiwyg/v3.0/' + id + '/catalogs', {
40627
+ method: 'GET',
40628
+ headers: _objectSpread$4({}, jwt ? {
40629
+ Authorization: 'Bearer ' + jwt
40630
+ } : {})
40631
+ }).then(function (r) {
40632
+ return r.text();
40633
+ }).then(function (r) {
40634
+ try {
40635
+ return JSON.parse(r);
40636
+ } catch (_unused2) {
40637
+ return undefined;
40638
+ }
40639
+ });
40640
+ case 3:
40641
+ d = _context2.sent;
40642
+ _context2.next = 6;
40643
+ return fetch(root.configurationStore.apiConfig.enricherService + '/wysiwyg/v3.0/' + id + '/catalogs/' + d._id + '/series', {
40644
+ method: 'GET',
40645
+ headers: _objectSpread$4({}, jwt ? {
40646
+ Authorization: 'Bearer ' + jwt
40647
+ } : {})
40648
+ }).then(function (r) {
40649
+ return r.text();
40650
+ }).then(function (r) {
40651
+ try {
40652
+ return JSON.parse(r);
40653
+ } catch (_unused3) {
40654
+ return undefined;
40655
+ }
40656
+ });
40657
+ case 6:
40658
+ s = _context2.sent;
40659
+ setCatalogList(s.data);
40660
+ case 8:
40661
+ case "end":
40662
+ return _context2.stop();
40663
+ }
40664
+ }, _callee2);
40665
+ }));
40666
+ return function loadPackage(_x2) {
40667
+ return _ref3.apply(this, arguments);
40668
+ };
40669
+ }();
40670
+ var loadCatalogs = /*#__PURE__*/function () {
40671
+ var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(id) {
40672
+ var jwt, l;
40673
+ return _regeneratorRuntime.wrap(function _callee3$(_context3) {
40674
+ while (1) switch (_context3.prev = _context3.next) {
40675
+ case 0:
40676
+ jwt = root.dataStore.jwt;
40677
+ _context3.next = 3;
40678
+ return fetch((tool.elementProps.useIDMService ? root.configurationStore.apiConfig.idmService : root.configurationStore.apiConfig.enricherService) + '/v3.0/catalogs/' + id + '/series', {
40679
+ method: 'GET',
40680
+ headers: _objectSpread$4({}, jwt ? {
40681
+ Authorization: 'Bearer ' + jwt
40682
+ } : {})
40683
+ }).then(function (r) {
40684
+ return r.text();
40685
+ }).then(function (r) {
40686
+ try {
40687
+ return JSON.parse(r);
40688
+ } catch (_unused4) {
40689
+ return undefined;
40690
+ }
40691
+ });
40692
+ case 3:
40693
+ l = _context3.sent;
40694
+ setCatalogList(l.data);
40695
+ case 5:
40696
+ case "end":
40697
+ return _context3.stop();
40698
+ }
40699
+ }, _callee3);
40700
+ }));
40701
+ return function loadCatalogs(_x3) {
40702
+ return _ref4.apply(this, arguments);
40703
+ };
40704
+ }();
40572
40705
  useEffect(function () {
40573
40706
  if (doReset) {
40707
+ var _tool$elementProps, _tool$elementProps3;
40574
40708
  if (currentNav) setDoNavigate(currentNav);
40575
- loadMask(tool.parameters.packageId).then(function () {
40576
- return setDoReset(false);
40577
- });
40709
+ if ((_tool$elementProps = tool.elementProps) !== null && _tool$elementProps !== void 0 && _tool$elementProps.showCatalogSelection && !catalogList.length) {
40710
+ var _tool$elementProps2;
40711
+ if ((_tool$elementProps2 = tool.elementProps) !== null && _tool$elementProps2 !== void 0 && _tool$elementProps2.loadPackage) {
40712
+ loadPackage(tool.parameters.packageId);
40713
+ } else {
40714
+ loadCatalogs(tool.elementProps.catalogId);
40715
+ }
40716
+ }
40717
+ if ((_tool$elementProps3 = tool.elementProps) !== null && _tool$elementProps3 !== void 0 && _tool$elementProps3.loadMask) {
40718
+ loadMask(tool.parameters.packageId).then(function () {
40719
+ return setDoReset(false);
40720
+ });
40721
+ } else {
40722
+ setDoReset(false);
40723
+ }
40578
40724
  }
40579
40725
  }, [doReset]);
40726
+ useEffect(function () {
40727
+ setArticleCodex(undefined);
40728
+ if (catalog !== null && catalog !== void 0 && catalog.catalogCodex) {
40729
+ var _tool$parameters$pack;
40730
+ setMask({
40731
+ catalogCodex: catalog.catalogCodex,
40732
+ accountId: (_tool$parameters$pack = tool.parameters.packageId) !== null && _tool$parameters$pack !== void 0 ? _tool$parameters$pack : tool.parameters.catalogId
40733
+ });
40734
+ }
40735
+ }, [catalog]);
40580
40736
  useEffect(function () {
40581
40737
  if (articleCodex) {
40582
40738
  setDoReset(true);
@@ -40584,10 +40740,10 @@ function useWysiwyg$1(_ref) {
40584
40740
  }
40585
40741
  }, [tool.parameters.packageId]);
40586
40742
  var onEventCalled = /*#__PURE__*/function () {
40587
- var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(e) {
40743
+ var _ref5 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(e) {
40588
40744
  var _articles$, catalogData, articles, key, article;
40589
- return _regeneratorRuntime.wrap(function _callee2$(_context2) {
40590
- while (1) switch (_context2.prev = _context2.next) {
40745
+ return _regeneratorRuntime.wrap(function _callee4$(_context4) {
40746
+ while (1) switch (_context4.prev = _context4.next) {
40591
40747
  case 0:
40592
40748
  if (e.type === 'onArticlesLoaded') {
40593
40749
  catalogData = e.data.catalogData;
@@ -40608,12 +40764,12 @@ function useWysiwyg$1(_ref) {
40608
40764
  }
40609
40765
  case 2:
40610
40766
  case "end":
40611
- return _context2.stop();
40767
+ return _context4.stop();
40612
40768
  }
40613
- }, _callee2);
40769
+ }, _callee4);
40614
40770
  }));
40615
- return function onEventCalled(_x2) {
40616
- return _ref3.apply(this, arguments);
40771
+ return function onEventCalled(_x4) {
40772
+ return _ref5.apply(this, arguments);
40617
40773
  };
40618
40774
  }();
40619
40775
  useEffect(function () {
@@ -40623,6 +40779,7 @@ function useWysiwyg$1(_ref) {
40623
40779
  };
40624
40780
  }, [articleCodex]);
40625
40781
  var settings = useMemo(function () {
40782
+ var _tool$elementProps4, _tool$elementProps5, _tool$elementProps6;
40626
40783
  return {
40627
40784
  language: 'DE',
40628
40785
  showSelectionModeZero: true,
@@ -40631,6 +40788,7 @@ function useWysiwyg$1(_ref) {
40631
40788
  hideErrorMsg: false,
40632
40789
  errorMsg: 'WYSIWYG currently not working for this mask'
40633
40790
  },
40791
+ applicationEnvironment: 'WYSIWYG',
40634
40792
  viewConfig: {
40635
40793
  allowComma: true,
40636
40794
  tabOrientation: 'horizontal',
@@ -40672,13 +40830,16 @@ function useWysiwyg$1(_ref) {
40672
40830
  disableLandscape: true,
40673
40831
  settingsSizes: {
40674
40832
  sizeGallery: '50px',
40675
- sizeDefault: '100%'
40833
+ sizeDefault: '240px'
40676
40834
  },
40835
+ pricePreview: 'fromCurrentPrice',
40677
40836
  hideConfigFoldArrow: true,
40678
40837
  tooltipPosition: 'left-center',
40679
40838
  clientEvents: ['onWebPlanerConfigChange', 'onArticlesLoaded']
40680
40839
  },
40681
- useMask: true,
40840
+ useIDMService: (_tool$elementProps4 = tool.elementProps) === null || _tool$elementProps4 === void 0 ? void 0 : _tool$elementProps4.useIDMService,
40841
+ useEnricherService: (_tool$elementProps5 = tool.elementProps) === null || _tool$elementProps5 === void 0 ? void 0 : _tool$elementProps5.useEnricherService,
40842
+ useMask: (_tool$elementProps6 = tool.elementProps) === null || _tool$elementProps6 === void 0 ? void 0 : _tool$elementProps6.loadMask,
40682
40843
  templateConfig: {
40683
40844
  Layout: 'wysiwyg',
40684
40845
  BasketButton: 'standard',
@@ -40707,8 +40868,12 @@ function useWysiwyg$1(_ref) {
40707
40868
  setArticleList: setArticleList,
40708
40869
  articleCodex: articleCodex,
40709
40870
  setArticleCodex: setArticleCodex,
40871
+ catalogList: catalogList,
40872
+ setCatalogList: setCatalogList,
40873
+ catalog: catalog,
40874
+ setCatalog: setCatalog,
40710
40875
  settings: settings,
40711
- pack: pack,
40876
+ mask: mask,
40712
40877
  doReset: doReset,
40713
40878
  setDoReset: setDoReset,
40714
40879
  doNavigate: doNavigate
@@ -40756,10 +40921,58 @@ var FallbackComponent = function FallbackComponent(_ref2) {
40756
40921
  });
40757
40922
  };
40758
40923
 
40924
+ var wrapper = "wrapper-NYRLn";
40925
+ var select = "select-K2SWc";
40926
+ var css_248z$1 = ".wrapper-NYRLn {\n display: flex;\n gap: 16px;\n justify-content: space-between;\n margin-bottom: 8px;\n}\n\n.select-K2SWc {\n z-index: 1000;\n flex: 1;\n}\n";
40927
+ styleInject(css_248z$1);
40928
+
40929
+ var CatalogSelection = function CatalogSelection(_ref) {
40930
+ var _ref$state = _ref.state,
40931
+ catalogList = _ref$state.catalogList,
40932
+ catalog = _ref$state.catalog,
40933
+ setCatalog = _ref$state.setCatalog;
40934
+ var _useTranslation = useTranslation(),
40935
+ t = _useTranslation.t,
40936
+ language = _useTranslation.i18n.language;
40937
+ var options = useMemo(function () {
40938
+ var groups = [];
40939
+ for (var i = 0; i < catalogList.length; i++) {
40940
+ var c = catalogList[i];
40941
+ groups.push({
40942
+ value: c.serieNo.toString(),
40943
+ label: c.seriesName[language.toUpperCase()]
40944
+ });
40945
+ }
40946
+ return groups;
40947
+ }, [catalogList]);
40948
+ var onChange = function onChange(val) {
40949
+ var cat = catalogList.find(function (c) {
40950
+ return c.serieNo.toString() == val;
40951
+ });
40952
+ var catalog = cat ? {
40953
+ catalogCodex: cat.serieNo.toString(),
40954
+ serieId: cat._id,
40955
+ accountId: cat.catalogId
40956
+ } : undefined;
40957
+ setCatalog(catalog);
40958
+ };
40959
+ return /*#__PURE__*/jsx("div", {
40960
+ className: wrapper,
40961
+ children: /*#__PURE__*/jsx(Select$1, {
40962
+ placeholder: t('backoffice.configurator.serie.placeholder'),
40963
+ value: catalog === null || catalog === void 0 ? void 0 : catalog.catalogCodex,
40964
+ options: options,
40965
+ onChange: onChange,
40966
+ className: select
40967
+ })
40968
+ });
40969
+ };
40970
+ var CatalogSelection$1 = observer(CatalogSelection);
40971
+
40759
40972
  function ownKeys$3(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
40760
40973
  function _objectSpread$3(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$3(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$3(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
40761
40974
  var Wsyiwyg = function Wsyiwyg(_ref) {
40762
- var _state$articleCodex;
40975
+ var _state$catalog, _tool$parameters, _state$articleCodex, _state$catalog$catalo, _state$catalog2, _state$mask2, _state$catalog3, _state$catalog$accoun, _state$catalog4, _state$mask3;
40763
40976
  var tool = _ref.tool,
40764
40977
  toolbar = _ref.toolbar;
40765
40978
  var _useDivaCore = useDivaCore(),
@@ -40770,23 +40983,33 @@ var Wsyiwyg = function Wsyiwyg(_ref) {
40770
40983
  });
40771
40984
  var _useTranslation = useTranslation(),
40772
40985
  t = _useTranslation.t;
40773
- if (state !== null && state !== void 0 && state.pack) {
40774
- if (!state.pack.catalogCodex || !state.pack.accountId) return /*#__PURE__*/jsx(Fragment, {
40986
+ if (!((_state$catalog = state.catalog) !== null && _state$catalog !== void 0 && _state$catalog.catalogCodex)) {
40987
+ if (tool.elementProps.showCatalogSelection) {
40988
+ return /*#__PURE__*/jsx(CatalogSelection$1, {
40989
+ state: state
40990
+ });
40991
+ }
40992
+ }
40993
+ if (state !== null && state !== void 0 && state.mask) {
40994
+ var _state$mask;
40995
+ if (!((_state$mask = state.mask) !== null && _state$mask !== void 0 && _state$mask.catalogCodex) || !state.mask.accountId) return /*#__PURE__*/jsx(Fragment, {
40775
40996
  children: t('backoffice.wysiwyg.configurator.error')
40776
40997
  });
40777
40998
  }
40778
40999
  return /*#__PURE__*/jsx(ErrorBoundary, {
40779
41000
  errorCode: "BACKO_0004",
40780
41001
  children: /*#__PURE__*/jsxs("div", {
40781
- className: wrapper$1,
40782
- children: [/*#__PURE__*/jsx(ArticleSelection$1, {
41002
+ className: wrapper$2,
41003
+ children: [!!tool.elementProps.showCatalogSelection && /*#__PURE__*/jsx(CatalogSelection$1, {
41004
+ state: state
41005
+ }), /*#__PURE__*/jsx(ArticleSelection$1, {
40783
41006
  state: state
40784
- }), state.pack && !state.doReset && /*#__PURE__*/jsx("div", {
41007
+ }), state.mask && !state.doReset && /*#__PURE__*/jsx("div", {
40785
41008
  hidden: !state.articleCodex,
40786
41009
  className: confContainer,
40787
41010
  children: /*#__PURE__*/jsx(WebPlannerReact, {
40788
41011
  settings: state.settings,
40789
- parameters: _objectSpread$3(_objectSpread$3({
41012
+ parameters: _objectSpread$3(_objectSpread$3(_objectSpread$3(_objectSpread$3({}, (_tool$parameters = tool.parameters) !== null && _tool$parameters !== void 0 ? _tool$parameters : {}), {}, {
40790
41013
  articleCodexes: (_state$articleCodex = state.articleCodex) !== null && _state$articleCodex !== void 0 ? _state$articleCodex : '',
40791
41014
  variantValues: '',
40792
41015
  resetArticle: '',
@@ -40796,14 +41019,17 @@ var Wsyiwyg = function Wsyiwyg(_ref) {
40796
41019
  initMode: 'OPENCONFIGTABGROUP',
40797
41020
  opt: state.doNavigate
40798
41021
  } : {}), {}, {
40799
- catalogCodex: state.pack.catalogCodex,
40800
- accountGuid: state.pack.accountId,
41022
+ catalogCodex: (_state$catalog$catalo = (_state$catalog2 = state.catalog) === null || _state$catalog2 === void 0 ? void 0 : _state$catalog2.catalogCodex) !== null && _state$catalog$catalo !== void 0 ? _state$catalog$catalo : (_state$mask2 = state.mask) === null || _state$mask2 === void 0 ? void 0 : _state$mask2.catalogCodex
41023
+ }, (_state$catalog3 = state.catalog) !== null && _state$catalog3 !== void 0 && _state$catalog3.serieId ? {
41024
+ serieId: state.catalog.serieId
41025
+ } : {}), {}, {
41026
+ accountGuid: (_state$catalog$accoun = (_state$catalog4 = state.catalog) === null || _state$catalog4 === void 0 ? void 0 : _state$catalog4.accountId) !== null && _state$catalog$accoun !== void 0 ? _state$catalog$accoun : (_state$mask3 = state.mask) === null || _state$mask3 === void 0 ? void 0 : _state$mask3.accountId,
40801
41027
  returnTo: 'DONT_SAVE_BASKET',
40802
41028
  organizationId: organizationId,
40803
41029
  no3DConnection: 'true'
40804
41030
  }),
40805
41031
  internal: {
40806
- catalogMask: state.pack,
41032
+ catalogMask: state.mask,
40807
41033
  actions: {
40808
41034
  toggleLoading: function toggleLoading(subId, _, toggle) {
40809
41035
  return toolbar.toggleLoading(tool.id, subId, toggle);