@crystaldesign/diva-backoffice 24.4.0-beta.21 → 24.4.0-beta.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/esm/index.js +37 -54
- package/package.json +2 -2
package/build/esm/index.js
CHANGED
|
@@ -17,7 +17,6 @@ import _typeof from '@babel/runtime/helpers/typeof';
|
|
|
17
17
|
import flat, { flatten, unflatten } from 'flat';
|
|
18
18
|
import { compare } from 'fast-json-patch';
|
|
19
19
|
import { io } from 'socket.io-client';
|
|
20
|
-
import _assertThisInitialized from '@babel/runtime/helpers/assertThisInitialized';
|
|
21
20
|
import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
|
|
22
21
|
import { toJS, makeAutoObservable, observable, action, makeObservable } from 'mobx';
|
|
23
22
|
import merge from 'deepmerge';
|
|
@@ -510,7 +509,7 @@ var _default$d = /*#__PURE__*/function () {
|
|
|
510
509
|
this._socketUrl = configuration.apiInterface.socket;
|
|
511
510
|
}
|
|
512
511
|
}
|
|
513
|
-
_createClass(_default, [{
|
|
512
|
+
return _createClass(_default, [{
|
|
514
513
|
key: "canUpdate",
|
|
515
514
|
get: function get() {
|
|
516
515
|
return !!this._updateUrl;
|
|
@@ -1086,18 +1085,17 @@ var _default$d = /*#__PURE__*/function () {
|
|
|
1086
1085
|
return this._socket;
|
|
1087
1086
|
}
|
|
1088
1087
|
}]);
|
|
1089
|
-
return _default;
|
|
1090
1088
|
}();
|
|
1091
1089
|
|
|
1092
1090
|
function _callSuper$7(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$7() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
1093
1091
|
function _isNativeReflectConstruct$7() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct$7 = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
1094
1092
|
var _default$c = /*#__PURE__*/function (_ApiHandler) {
|
|
1095
|
-
_inherits(_default, _ApiHandler);
|
|
1096
1093
|
function _default(configuration, root) {
|
|
1097
1094
|
_classCallCheck(this, _default);
|
|
1098
1095
|
return _callSuper$7(this, _default, [configuration, root]);
|
|
1099
1096
|
}
|
|
1100
|
-
|
|
1097
|
+
_inherits(_default, _ApiHandler);
|
|
1098
|
+
return _createClass(_default, [{
|
|
1101
1099
|
key: "update",
|
|
1102
1100
|
value: function () {
|
|
1103
1101
|
var _update = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(data) {
|
|
@@ -1176,7 +1174,6 @@ var _default$c = /*#__PURE__*/function (_ApiHandler) {
|
|
|
1176
1174
|
return create;
|
|
1177
1175
|
}()
|
|
1178
1176
|
}]);
|
|
1179
|
-
return _default;
|
|
1180
1177
|
}(_default$d);
|
|
1181
1178
|
|
|
1182
1179
|
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; }
|
|
@@ -1184,13 +1181,12 @@ function _objectSpread$C(e) { for (var r = 1; r < arguments.length; r++) { var t
|
|
|
1184
1181
|
function _callSuper$6(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$6() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
1185
1182
|
function _isNativeReflectConstruct$6() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct$6 = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
1186
1183
|
var _default$b = /*#__PURE__*/function (_ApiHandler) {
|
|
1187
|
-
_inherits(_default, _ApiHandler);
|
|
1188
1184
|
function _default(configuration, root) {
|
|
1189
1185
|
var _this;
|
|
1190
1186
|
_classCallCheck(this, _default);
|
|
1191
1187
|
_this = _callSuper$6(this, _default, [configuration, root]);
|
|
1192
|
-
_defineProperty(
|
|
1193
|
-
_defineProperty(
|
|
1188
|
+
_defineProperty(_this, "refApiHander", void 0);
|
|
1189
|
+
_defineProperty(_this, "targetApiHandler", void 0);
|
|
1194
1190
|
_this.refApiHander = new _default$d({
|
|
1195
1191
|
apiInterface: configuration.refApiInterface,
|
|
1196
1192
|
type: 'MediaUpload'
|
|
@@ -1203,7 +1199,8 @@ var _default$b = /*#__PURE__*/function (_ApiHandler) {
|
|
|
1203
1199
|
}
|
|
1204
1200
|
return _this;
|
|
1205
1201
|
}
|
|
1206
|
-
|
|
1202
|
+
_inherits(_default, _ApiHandler);
|
|
1203
|
+
return _createClass(_default, [{
|
|
1207
1204
|
key: "canRead",
|
|
1208
1205
|
get: function get() {
|
|
1209
1206
|
var _this$targetApiHandle;
|
|
@@ -1360,20 +1357,18 @@ var _default$b = /*#__PURE__*/function (_ApiHandler) {
|
|
|
1360
1357
|
return _delete;
|
|
1361
1358
|
}()
|
|
1362
1359
|
}]);
|
|
1363
|
-
return _default;
|
|
1364
1360
|
}(_default$d);
|
|
1365
1361
|
|
|
1366
1362
|
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)); }
|
|
1367
1363
|
function _isNativeReflectConstruct$5() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct$5 = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
1368
1364
|
var _default$a = /*#__PURE__*/function (_ApiHandler) {
|
|
1369
|
-
_inherits(_default, _ApiHandler);
|
|
1370
1365
|
function _default(configuration, rootStore) {
|
|
1371
1366
|
var _this;
|
|
1372
1367
|
_classCallCheck(this, _default);
|
|
1373
1368
|
_this = _callSuper$5(this, _default, [configuration, rootStore]);
|
|
1374
|
-
_defineProperty(
|
|
1375
|
-
_defineProperty(
|
|
1376
|
-
_defineProperty(
|
|
1369
|
+
_defineProperty(_this, "searchApiHandler", void 0);
|
|
1370
|
+
_defineProperty(_this, "splittedApiHandler", void 0);
|
|
1371
|
+
_defineProperty(_this, "getSplitted", function (mapping, mappingData, filterServerSide) {
|
|
1377
1372
|
return _this.splittedApiHandler.readList(mapping, mappingData, filterServerSide);
|
|
1378
1373
|
});
|
|
1379
1374
|
_this.searchApiHandler = new _default$d({
|
|
@@ -1384,7 +1379,8 @@ var _default$a = /*#__PURE__*/function (_ApiHandler) {
|
|
|
1384
1379
|
}, rootStore);
|
|
1385
1380
|
return _this;
|
|
1386
1381
|
}
|
|
1387
|
-
|
|
1382
|
+
_inherits(_default, _ApiHandler);
|
|
1383
|
+
return _createClass(_default, [{
|
|
1388
1384
|
key: "getRelations",
|
|
1389
1385
|
value: function getRelations(mapping, mappingData, filterServerSide) {
|
|
1390
1386
|
return this.searchApiHandler.readList(mapping, mappingData, filterServerSide);
|
|
@@ -1395,19 +1391,17 @@ var _default$a = /*#__PURE__*/function (_ApiHandler) {
|
|
|
1395
1391
|
return this.splittedApiHandler["delete"](id, mapping, mappingData);
|
|
1396
1392
|
}
|
|
1397
1393
|
}]);
|
|
1398
|
-
return _default;
|
|
1399
1394
|
}(_default$d);
|
|
1400
1395
|
|
|
1401
1396
|
function _callSuper$4(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$4() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
1402
1397
|
function _isNativeReflectConstruct$4() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct$4 = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
1403
1398
|
var _default$9 = /*#__PURE__*/function (_ApiHandler) {
|
|
1404
|
-
_inherits(_default, _ApiHandler);
|
|
1405
1399
|
function _default(configuration, rootStore) {
|
|
1406
1400
|
var _this;
|
|
1407
1401
|
_classCallCheck(this, _default);
|
|
1408
1402
|
_this = _callSuper$4(this, _default, [configuration, rootStore]);
|
|
1409
|
-
_defineProperty(
|
|
1410
|
-
_defineProperty(
|
|
1403
|
+
_defineProperty(_this, "organizationApiHandler", void 0);
|
|
1404
|
+
_defineProperty(_this, "rolesApiHandler", void 0);
|
|
1411
1405
|
_this.organizationApiHandler = new _default$d({
|
|
1412
1406
|
apiInterface: configuration.organizationApiInterface
|
|
1413
1407
|
}, rootStore);
|
|
@@ -1416,7 +1410,8 @@ var _default$9 = /*#__PURE__*/function (_ApiHandler) {
|
|
|
1416
1410
|
}, rootStore);
|
|
1417
1411
|
return _this;
|
|
1418
1412
|
}
|
|
1419
|
-
|
|
1413
|
+
_inherits(_default, _ApiHandler);
|
|
1414
|
+
return _createClass(_default, [{
|
|
1420
1415
|
key: "getOrganizations",
|
|
1421
1416
|
value: function getOrganizations(mapping, mappingData, filterServerSide) {
|
|
1422
1417
|
return this.organizationApiHandler.readList(mapping, mappingData, filterServerSide);
|
|
@@ -1451,22 +1446,21 @@ var _default$9 = /*#__PURE__*/function (_ApiHandler) {
|
|
|
1451
1446
|
});
|
|
1452
1447
|
}
|
|
1453
1448
|
}]);
|
|
1454
|
-
return _default;
|
|
1455
1449
|
}(_default$d);
|
|
1456
1450
|
|
|
1457
1451
|
function _callSuper$3(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$3() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
1458
1452
|
function _isNativeReflectConstruct$3() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct$3 = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
1459
1453
|
var _default$8 = /*#__PURE__*/function (_ApiHandler) {
|
|
1460
|
-
_inherits(_default, _ApiHandler);
|
|
1461
1454
|
function _default(configuration, rootStore) {
|
|
1462
1455
|
var _this;
|
|
1463
1456
|
_classCallCheck(this, _default);
|
|
1464
1457
|
_this = _callSuper$3(this, _default, [configuration, rootStore]);
|
|
1465
|
-
_defineProperty(
|
|
1458
|
+
_defineProperty(_this, "formApiHandler", void 0);
|
|
1466
1459
|
_this.formApiHandler = rootStore.getApiHandler(configuration.formId);
|
|
1467
1460
|
return _this;
|
|
1468
1461
|
}
|
|
1469
|
-
|
|
1462
|
+
_inherits(_default, _ApiHandler);
|
|
1463
|
+
return _createClass(_default, [{
|
|
1470
1464
|
key: "create",
|
|
1471
1465
|
value: function () {
|
|
1472
1466
|
var _create = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(data, mapping, mappingData) {
|
|
@@ -1656,7 +1650,6 @@ var _default$8 = /*#__PURE__*/function (_ApiHandler) {
|
|
|
1656
1650
|
}(Object.keys(variants));
|
|
1657
1651
|
}
|
|
1658
1652
|
}]);
|
|
1659
|
-
return _default;
|
|
1660
1653
|
}(_default$d);
|
|
1661
1654
|
|
|
1662
1655
|
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; }
|
|
@@ -1672,7 +1665,7 @@ var _default$7 = /*#__PURE__*/function () {
|
|
|
1672
1665
|
fetchConfiguration: false
|
|
1673
1666
|
});
|
|
1674
1667
|
}
|
|
1675
|
-
_createClass(_default, [{
|
|
1668
|
+
return _createClass(_default, [{
|
|
1676
1669
|
key: "getConfiguration",
|
|
1677
1670
|
value: function getConfiguration(id) {
|
|
1678
1671
|
var _this$_configuration,
|
|
@@ -1734,7 +1727,6 @@ var _default$7 = /*#__PURE__*/function () {
|
|
|
1734
1727
|
return this._apiConfig;
|
|
1735
1728
|
}
|
|
1736
1729
|
}]);
|
|
1737
|
-
return _default;
|
|
1738
1730
|
}();
|
|
1739
1731
|
var replaceStuff = function replaceStuff(text, apiConfig) {
|
|
1740
1732
|
return text.replaceAll('${authService}', apiConfig.authService).replaceAll('${mediaService}', apiConfig.mediaService).replaceAll('${messageService}', apiConfig.messageService).replaceAll('${basketService}', apiConfig.basketService).replaceAll('${supportService}', apiConfig.supportService).replaceAll('${adminService}', apiConfig.adminService).replaceAll('${catalogService}', apiConfig.catalogService).replaceAll('${api2}', apiConfig.api2.ek).replaceAll('${analyticsService}', apiConfig.analyticsService).replaceAll('${reportService}', apiConfig.reportService);
|
|
@@ -10618,7 +10610,7 @@ var _default$6 = /*#__PURE__*/function () {
|
|
|
10618
10610
|
this._theme = theme;
|
|
10619
10611
|
}
|
|
10620
10612
|
}
|
|
10621
|
-
_createClass(_default, [{
|
|
10613
|
+
return _createClass(_default, [{
|
|
10622
10614
|
key: "updateMenuConfiguration",
|
|
10623
10615
|
value: function updateMenuConfiguration() {
|
|
10624
10616
|
var _this$_selectedLeaf, _getFirstItem;
|
|
@@ -10671,7 +10663,6 @@ var _default$6 = /*#__PURE__*/function () {
|
|
|
10671
10663
|
return (this._configurationId || '') + (this.root.dataStore.organizationId || '');
|
|
10672
10664
|
}
|
|
10673
10665
|
}]);
|
|
10674
|
-
return _default;
|
|
10675
10666
|
}();
|
|
10676
10667
|
function getFirstItem(items) {
|
|
10677
10668
|
return items.find(function (i) {
|
|
@@ -10707,7 +10698,7 @@ var _default$5 = /*#__PURE__*/function () {
|
|
|
10707
10698
|
setSelectedOrganizationId: action
|
|
10708
10699
|
});
|
|
10709
10700
|
}
|
|
10710
|
-
_createClass(_default, [{
|
|
10701
|
+
return _createClass(_default, [{
|
|
10711
10702
|
key: "setUserData",
|
|
10712
10703
|
value: function setUserData(jwt, ntoken, currentUser) {
|
|
10713
10704
|
this._jwt = jwt;
|
|
@@ -10811,7 +10802,6 @@ var _default$5 = /*#__PURE__*/function () {
|
|
|
10811
10802
|
return getApi2AuthLoginData;
|
|
10812
10803
|
}()
|
|
10813
10804
|
}]);
|
|
10814
|
-
return _default;
|
|
10815
10805
|
}();
|
|
10816
10806
|
|
|
10817
10807
|
var _default$4 = /*#__PURE__*/function () {
|
|
@@ -10830,7 +10820,7 @@ var _default$4 = /*#__PURE__*/function () {
|
|
|
10830
10820
|
closeRightDetail: action
|
|
10831
10821
|
});
|
|
10832
10822
|
}
|
|
10833
|
-
_createClass(_default, [{
|
|
10823
|
+
return _createClass(_default, [{
|
|
10834
10824
|
key: "openLeftDetail",
|
|
10835
10825
|
value: function openLeftDetail(detail) {
|
|
10836
10826
|
this.detailInfosLeft = [].concat(_toConsumableArray(this.detailInfosLeft), [detail]);
|
|
@@ -10863,7 +10853,6 @@ var _default$4 = /*#__PURE__*/function () {
|
|
|
10863
10853
|
return this.detailInfosRight[layer];
|
|
10864
10854
|
}
|
|
10865
10855
|
}]);
|
|
10866
|
-
return _default;
|
|
10867
10856
|
}();
|
|
10868
10857
|
|
|
10869
10858
|
var _default$3 = /*#__PURE__*/function () {
|
|
@@ -10881,7 +10870,7 @@ var _default$3 = /*#__PURE__*/function () {
|
|
|
10881
10870
|
_callback: observable.ref
|
|
10882
10871
|
});
|
|
10883
10872
|
}
|
|
10884
|
-
_createClass(_default, [{
|
|
10873
|
+
return _createClass(_default, [{
|
|
10885
10874
|
key: "openModal",
|
|
10886
10875
|
value: function openModal(_ref) {
|
|
10887
10876
|
var action = _ref.action,
|
|
@@ -10916,7 +10905,6 @@ var _default$3 = /*#__PURE__*/function () {
|
|
|
10916
10905
|
};
|
|
10917
10906
|
}
|
|
10918
10907
|
}]);
|
|
10919
|
-
return _default;
|
|
10920
10908
|
}();
|
|
10921
10909
|
|
|
10922
10910
|
function _createForOfIteratorHelper$k(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray$k(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, 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 normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
@@ -11049,7 +11037,7 @@ var DownloadStore = /*#__PURE__*/function () {
|
|
|
11049
11037
|
_mappingData: observable.ref
|
|
11050
11038
|
});
|
|
11051
11039
|
}
|
|
11052
|
-
_createClass(DownloadStore, [{
|
|
11040
|
+
return _createClass(DownloadStore, [{
|
|
11053
11041
|
key: "donwloadFile",
|
|
11054
11042
|
value: function () {
|
|
11055
11043
|
var _donwloadFile = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(url, name) {
|
|
@@ -11371,24 +11359,23 @@ var DownloadStore = /*#__PURE__*/function () {
|
|
|
11371
11359
|
DownloadStore.downloadBlob(file, filename);
|
|
11372
11360
|
}
|
|
11373
11361
|
}]);
|
|
11374
|
-
return DownloadStore;
|
|
11375
11362
|
}();
|
|
11376
11363
|
|
|
11377
11364
|
function _callSuper$2(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$2() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
11378
11365
|
function _isNativeReflectConstruct$2() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct$2 = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
11379
11366
|
var _default$2 = /*#__PURE__*/function (_ApiHandler) {
|
|
11380
|
-
_inherits(_default, _ApiHandler);
|
|
11381
11367
|
function _default(configuration, rootStore) {
|
|
11382
11368
|
var _this;
|
|
11383
11369
|
_classCallCheck(this, _default);
|
|
11384
11370
|
_this = _callSuper$2(this, _default, [configuration, rootStore]);
|
|
11385
|
-
_defineProperty(
|
|
11386
|
-
_defineProperty(
|
|
11371
|
+
_defineProperty(_this, "presetApiHandler", void 0);
|
|
11372
|
+
_defineProperty(_this, "test", '');
|
|
11387
11373
|
_this.presetApiHandler = new _default$d({
|
|
11388
11374
|
apiInterface: configuration.presetApiInterface
|
|
11389
11375
|
}, rootStore);
|
|
11390
11376
|
return _this;
|
|
11391
11377
|
}
|
|
11378
|
+
_inherits(_default, _ApiHandler);
|
|
11392
11379
|
return _createClass(_default);
|
|
11393
11380
|
}(_default$d);
|
|
11394
11381
|
|
|
@@ -11415,7 +11402,7 @@ var _default$1 = /*#__PURE__*/function () {
|
|
|
11415
11402
|
this.configurationStore = new _default$7(this);
|
|
11416
11403
|
this.downloadStore = new DownloadStore(this);
|
|
11417
11404
|
}
|
|
11418
|
-
_createClass(_default, [{
|
|
11405
|
+
return _createClass(_default, [{
|
|
11419
11406
|
key: "updateHandlers",
|
|
11420
11407
|
value: function updateHandlers(handler) {
|
|
11421
11408
|
this.handler = handler;
|
|
@@ -11480,7 +11467,6 @@ var _default$1 = /*#__PURE__*/function () {
|
|
|
11480
11467
|
}
|
|
11481
11468
|
}
|
|
11482
11469
|
}]);
|
|
11483
|
-
return _default;
|
|
11484
11470
|
}();
|
|
11485
11471
|
|
|
11486
11472
|
var storeContext = /*#__PURE__*/createContext(null);
|
|
@@ -13871,17 +13857,17 @@ var InputComponent$1 = observer(InputComponent, {
|
|
|
13871
13857
|
function _callSuper$1(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$1() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
13872
13858
|
function _isNativeReflectConstruct$1() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct$1 = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
13873
13859
|
var _default = /*#__PURE__*/function (_ApiHandler) {
|
|
13874
|
-
_inherits(_default, _ApiHandler);
|
|
13875
13860
|
function _default(configuration, rootStore) {
|
|
13876
13861
|
var _this;
|
|
13877
13862
|
_classCallCheck(this, _default);
|
|
13878
13863
|
_this = _callSuper$1(this, _default, [configuration, rootStore]);
|
|
13879
|
-
_defineProperty(
|
|
13880
|
-
_defineProperty(
|
|
13881
|
-
_defineProperty(
|
|
13864
|
+
_defineProperty(_this, "_accountSessionData", void 0);
|
|
13865
|
+
_defineProperty(_this, "_api2Location", void 0);
|
|
13866
|
+
_defineProperty(_this, "_sessionGuid", void 0);
|
|
13882
13867
|
return _this;
|
|
13883
13868
|
}
|
|
13884
|
-
|
|
13869
|
+
_inherits(_default, _ApiHandler);
|
|
13870
|
+
return _createClass(_default, [{
|
|
13885
13871
|
key: "getSession",
|
|
13886
13872
|
value: function () {
|
|
13887
13873
|
var _getSession = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(organizationId) {
|
|
@@ -14459,7 +14445,6 @@ var _default = /*#__PURE__*/function (_ApiHandler) {
|
|
|
14459
14445
|
return getSupplierOptionValues;
|
|
14460
14446
|
}()
|
|
14461
14447
|
}]);
|
|
14462
|
-
return _default;
|
|
14463
14448
|
}(_default$d);
|
|
14464
14449
|
|
|
14465
14450
|
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; }
|
|
@@ -17198,7 +17183,7 @@ var UtilStore = /*#__PURE__*/function () {
|
|
|
17198
17183
|
function UtilStore() {
|
|
17199
17184
|
_classCallCheck(this, UtilStore);
|
|
17200
17185
|
}
|
|
17201
|
-
_createClass(UtilStore, null, [{
|
|
17186
|
+
return _createClass(UtilStore, null, [{
|
|
17202
17187
|
key: "setArViewerSettings",
|
|
17203
17188
|
value: function () {
|
|
17204
17189
|
var _setArViewerSettings = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(handler) {
|
|
@@ -17228,7 +17213,6 @@ var UtilStore = /*#__PURE__*/function () {
|
|
|
17228
17213
|
return this.viewConfig.configParams.arViewerSettings;
|
|
17229
17214
|
}
|
|
17230
17215
|
}]);
|
|
17231
|
-
return UtilStore;
|
|
17232
17216
|
}();
|
|
17233
17217
|
_defineProperty(UtilStore, "viewConfig", void 0);
|
|
17234
17218
|
|
|
@@ -25698,7 +25682,6 @@ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstruct
|
|
|
25698
25682
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
25699
25683
|
var LOG$1 = getLogger('Backoffice', 'ErrorBoundary');
|
|
25700
25684
|
var ErrorBoundary = /*#__PURE__*/function (_React$Component) {
|
|
25701
|
-
_inherits(ErrorBoundary, _React$Component);
|
|
25702
25685
|
function ErrorBoundary(props) {
|
|
25703
25686
|
var _this;
|
|
25704
25687
|
_classCallCheck(this, ErrorBoundary);
|
|
@@ -25708,7 +25691,8 @@ var ErrorBoundary = /*#__PURE__*/function (_React$Component) {
|
|
|
25708
25691
|
};
|
|
25709
25692
|
return _this;
|
|
25710
25693
|
}
|
|
25711
|
-
|
|
25694
|
+
_inherits(ErrorBoundary, _React$Component);
|
|
25695
|
+
return _createClass(ErrorBoundary, [{
|
|
25712
25696
|
key: "componentDidCatch",
|
|
25713
25697
|
value: function componentDidCatch(error, errorInfo) {
|
|
25714
25698
|
LOG$1.error(error, 'BACKO_0001', errorInfo);
|
|
@@ -25733,7 +25717,6 @@ var ErrorBoundary = /*#__PURE__*/function (_React$Component) {
|
|
|
25733
25717
|
};
|
|
25734
25718
|
}
|
|
25735
25719
|
}]);
|
|
25736
|
-
return ErrorBoundary;
|
|
25737
25720
|
}(React.Component);
|
|
25738
25721
|
|
|
25739
25722
|
function Modal() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crystaldesign/diva-backoffice",
|
|
3
|
-
"version": "24.4.0-beta.
|
|
3
|
+
"version": "24.4.0-beta.23",
|
|
4
4
|
"license": "COMMERCIAL",
|
|
5
5
|
"devDependencies": {
|
|
6
6
|
"@testing-library/jest-dom": "^5.15.0",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
},
|
|
51
51
|
"module": "build/esm/index.js",
|
|
52
52
|
"types": "./build/types/backoffice/src/index.d.ts",
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "2dd577e67d929d21291a1428d922a45008442802"
|
|
54
54
|
}
|