@crystaldesign/diva-core 24.12.0-beta.2 → 24.12.0-beta.21
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/{ModalsWrapper-22e4e38b.js → ModalsWrapper-2433ff18.js} +3 -3
- package/build/esm/{index-29ff23ed.js → index-2323fd44.js} +3 -3
- package/build/esm/{index-0cffd4c0.js → index-dde4414d.js} +84 -83
- package/build/esm/index.js +3 -3
- package/build/types/core/src/Content.d.ts +2 -1
- package/build/types/core/src/Content.d.ts.map +1 -1
- package/build/types/core/src/DivaCore.d.ts +1 -1
- package/build/types/core/src/DivaCore.d.ts.map +1 -1
- package/build/types/core/src/elements/Auth/Button/index.d.ts +1 -1
- package/build/types/core/src/elements/Auth/Button/index.d.ts.map +1 -1
- package/build/types/core/src/elements/Auth/ChangePassword/Errormessage.d.ts +2 -1
- package/build/types/core/src/elements/Auth/ChangePassword/Errormessage.d.ts.map +1 -1
- package/build/types/core/src/elements/Auth/ChangePassword/index.d.ts +2 -1
- package/build/types/core/src/elements/Auth/ChangePassword/index.d.ts.map +1 -1
- package/build/types/core/src/elements/Auth/Input/index.d.ts +1 -1
- package/build/types/core/src/elements/Auth/Login/index.d.ts +2 -1
- package/build/types/core/src/elements/Auth/Login/index.d.ts.map +1 -1
- package/build/types/core/src/elements/Auth/OpenId/index.d.ts +2 -1
- package/build/types/core/src/elements/Auth/OpenId/index.d.ts.map +1 -1
- package/build/types/core/src/elements/Auth/Register/index.d.ts +2 -1
- package/build/types/core/src/elements/Auth/Register/index.d.ts.map +1 -1
- package/build/types/core/src/elements/Auth/RequestNewPassword/index.d.ts +2 -1
- package/build/types/core/src/elements/Auth/RequestNewPassword/index.d.ts.map +1 -1
- package/build/types/core/src/elements/Auth/WelcomeScreen/index.d.ts +2 -1
- package/build/types/core/src/elements/Auth/WelcomeScreen/index.d.ts.map +1 -1
- package/build/types/core/src/elements/Auth/index.d.ts +2 -1
- package/build/types/core/src/elements/Auth/index.d.ts.map +1 -1
- package/build/types/core/src/elements/Banner/index.d.ts +2 -1
- package/build/types/core/src/elements/Banner/index.d.ts.map +1 -1
- package/build/types/core/src/elements/Barrier/SimpleLogin.d.ts +2 -1
- package/build/types/core/src/elements/Barrier/SimpleLogin.d.ts.map +1 -1
- package/build/types/core/src/elements/Barrier/index.d.ts +2 -1
- package/build/types/core/src/elements/Barrier/index.d.ts.map +1 -1
- package/build/types/core/src/elements/ErrorBoundary.d.ts +1 -1
- package/build/types/core/src/elements/ErrorBoundary.d.ts.map +1 -1
- package/build/types/core/src/elements/ErrorDisplay/index.d.ts +2 -1
- package/build/types/core/src/elements/ErrorDisplay/index.d.ts.map +1 -1
- package/build/types/core/src/elements/Fallback.d.ts +2 -1
- package/build/types/core/src/elements/Fallback.d.ts.map +1 -1
- package/build/types/core/src/elements/Fullscreen/index.d.ts +2 -1
- package/build/types/core/src/elements/Fullscreen/index.d.ts.map +1 -1
- package/build/types/core/src/elements/HelpButton/index.d.ts +2 -1
- package/build/types/core/src/elements/HelpButton/index.d.ts.map +1 -1
- package/build/types/core/src/elements/Modal/index.d.ts +2 -1
- package/build/types/core/src/elements/Modal/index.d.ts.map +1 -1
- package/build/types/core/src/elements/ModalsWrapper.d.ts +2 -1
- package/build/types/core/src/elements/ModalsWrapper.d.ts.map +1 -1
- package/build/types/core/src/elements/Progress/index.d.ts +2 -1
- package/build/types/core/src/elements/Progress/index.d.ts.map +1 -1
- package/build/types/core/src/elements/SideMenu/index.d.ts +2 -1
- package/build/types/core/src/elements/SideMenu/index.d.ts.map +1 -1
- package/build/types/core/src/elements/SnackBar/index.d.ts +2 -1
- package/build/types/core/src/elements/SnackBar/index.d.ts.map +1 -1
- package/build/types/core/src/elements/Spinner/index.d.ts +2 -1
- package/build/types/core/src/elements/Spinner/index.d.ts.map +1 -1
- package/build/types/core/src/externalTypes.d.ts +0 -1
- package/build/types/core/src/externalTypes.d.ts.map +1 -1
- package/build/types/core/src/handler/AnalyticsHandler/index.d.ts +2 -2
- package/build/types/core/src/handler/AnalyticsHandler/index.d.ts.map +1 -1
- package/build/types/core/src/handler/InternalApiHandler.d.ts +0 -1
- package/build/types/core/src/handler/InternalApiHandler.d.ts.map +1 -1
- package/build/types/core/src/handler/OrganizationHandler/index.d.ts +4 -5
- package/build/types/core/src/handler/OrganizationHandler/index.d.ts.map +1 -1
- package/build/types/core/src/store/ConfigurationStore.d.ts +3 -4
- package/build/types/core/src/store/ConfigurationStore.d.ts.map +1 -1
- package/build/types/core/src/store/ContentStore.d.ts.map +1 -1
- package/build/types/core/src/store/DataStore.d.ts +4 -2
- package/build/types/core/src/store/DataStore.d.ts.map +1 -1
- package/build/types/core/src/store/LoadingAndErrorStore.d.ts +2 -2
- package/build/types/core/src/store/LoadingAndErrorStore.d.ts.map +1 -1
- package/build/types/core/src/store/RootStore.d.ts +1 -1
- package/build/types/core/src/store/RootStore.d.ts.map +1 -1
- package/build/types/core/src/store/index.d.ts +2 -2
- package/build/types/core/src/store/index.d.ts.map +1 -1
- package/build/types/core/src/store/mock/divaCoreMockProvider.d.ts +1 -1
- package/build/types/core/src/store/mock/divaCoreMockProvider.d.ts.map +1 -1
- package/build/types/core/src/store/mock/index.d.ts +1 -1
- package/build/types/core/src/store/mock/index.d.ts.map +1 -1
- package/build/types/core/src/types.d.ts +0 -2
- package/build/types/core/src/types.d.ts.map +1 -1
- package/build/types/core/src/utils/loadDependency.d.ts +0 -1
- package/build/types/core/src/utils/loadDependency.d.ts.map +1 -1
- package/build/umd/145.diva-core.umd.min.js +2 -0
- package/build/umd/145.diva-core.umd.min.js.LICENSE.txt +1 -0
- package/build/umd/163.diva-core.umd.min.js +2 -0
- package/build/umd/163.diva-core.umd.min.js.LICENSE.txt +1 -0
- package/build/umd/266.diva-core.umd.min.js +2 -0
- package/build/umd/266.diva-core.umd.min.js.LICENSE.txt +1 -0
- package/build/umd/28.diva-core.umd.min.js +2 -0
- package/build/umd/28.diva-core.umd.min.js.LICENSE.txt +1 -0
- package/build/umd/337.diva-core.umd.min.js +2 -0
- package/build/umd/337.diva-core.umd.min.js.LICENSE.txt +1 -0
- package/build/umd/437.diva-core.umd.min.js +2 -0
- package/build/umd/437.diva-core.umd.min.js.LICENSE.txt +1 -0
- package/build/umd/467.diva-core.umd.min.js +2 -0
- package/build/umd/467.diva-core.umd.min.js.LICENSE.txt +1 -0
- package/build/umd/535.diva-core.umd.min.js +2 -0
- package/build/umd/535.diva-core.umd.min.js.LICENSE.txt +1 -0
- package/build/umd/617.diva-core.umd.min.js +2 -0
- package/build/umd/617.diva-core.umd.min.js.LICENSE.txt +1 -0
- package/build/umd/721.diva-core.umd.min.js +408 -0
- package/build/umd/{781.diva-core.umd.min.js.LICENSE.txt → 721.diva-core.umd.min.js.LICENSE.txt} +1 -1
- package/build/umd/944.diva-core.umd.min.js +2 -0
- package/build/umd/{692.diva-core.umd.min.js.LICENSE.txt → 944.diva-core.umd.min.js.LICENSE.txt} +2 -2
- package/build/umd/969.diva-core.umd.min.js +2 -0
- package/build/umd/969.diva-core.umd.min.js.LICENSE.txt +1 -0
- package/build/umd/diva-core.umd.min.js +1 -1
- package/build/umd/diva-core.umd.min.js.LICENSE.txt +40 -33
- package/build/umd/report.html +1 -1
- package/package.json +28 -27
- package/build/umd/15.diva-core.umd.min.js +0 -2
- package/build/umd/15.diva-core.umd.min.js.LICENSE.txt +0 -1
- package/build/umd/311.diva-core.umd.min.js +0 -2
- package/build/umd/311.diva-core.umd.min.js.LICENSE.txt +0 -1
- package/build/umd/319.diva-core.umd.min.js +0 -2
- package/build/umd/319.diva-core.umd.min.js.LICENSE.txt +0 -1
- package/build/umd/397.diva-core.umd.min.js +0 -2
- package/build/umd/397.diva-core.umd.min.js.LICENSE.txt +0 -1
- package/build/umd/40.diva-core.umd.min.js +0 -2
- package/build/umd/40.diva-core.umd.min.js.LICENSE.txt +0 -1
- package/build/umd/455.diva-core.umd.min.js +0 -2
- package/build/umd/455.diva-core.umd.min.js.LICENSE.txt +0 -1
- package/build/umd/546.diva-core.umd.min.js +0 -2
- package/build/umd/546.diva-core.umd.min.js.LICENSE.txt +0 -1
- package/build/umd/692.diva-core.umd.min.js +0 -2
- package/build/umd/781.diva-core.umd.min.js +0 -408
- package/build/umd/82.diva-core.umd.min.js +0 -2
- package/build/umd/82.diva-core.umd.min.js.LICENSE.txt +0 -1
- package/build/umd/84.diva-core.umd.min.js +0 -2
- package/build/umd/84.diva-core.umd.min.js.LICENSE.txt +0 -1
- package/build/umd/89.diva-core.umd.min.js +0 -2
- package/build/umd/89.diva-core.umd.min.js.LICENSE.txt +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as styleInject, u as useDivaCoreContext } from './index-
|
|
1
|
+
import { i as styleInject, u as useDivaCoreContext } from './index-dde4414d.js';
|
|
2
2
|
import { useState, useEffect, useCallback } from 'react';
|
|
3
3
|
import { observer } from 'mobx-react-lite';
|
|
4
4
|
import Button from '@material-ui/core/Button';
|
|
@@ -17,13 +17,13 @@ import '@babel/runtime/helpers/createClass';
|
|
|
17
17
|
import '@babel/runtime/helpers/defineProperty';
|
|
18
18
|
import '@elastic/apm-rum';
|
|
19
19
|
import '@crystaldesign/diva-utils';
|
|
20
|
-
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
21
20
|
import '@babel/runtime/helpers/possibleConstructorReturn';
|
|
22
21
|
import '@babel/runtime/helpers/getPrototypeOf';
|
|
23
22
|
import '@babel/runtime/helpers/inherits';
|
|
24
23
|
import '@babel/runtime/helpers/wrapNativeSuper';
|
|
25
24
|
import 'react-dom';
|
|
26
25
|
import '@babel/runtime/helpers/asyncToGenerator';
|
|
26
|
+
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
27
27
|
import '@babel/runtime/regenerator';
|
|
28
28
|
import 'mobx';
|
|
29
29
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
@@ -36,7 +36,7 @@ import '@elastic/apm-rum-react';
|
|
|
36
36
|
import '@material-ui/core/Typography';
|
|
37
37
|
import 'classnames';
|
|
38
38
|
import '@crystaldesign/basket-model';
|
|
39
|
-
import 'lodash';
|
|
39
|
+
import 'lodash/debounce';
|
|
40
40
|
import 'axios';
|
|
41
41
|
import '@crystaldesign/product-handler';
|
|
42
42
|
import 'react-swipeable';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as useDivaCoreContext, B as Button, s as socialButton, g as google, m as microsoft, a as getLogger, e as error, b as separator, I as Input, r as resetInput, l as link, c as success, d as auth, f as loginBox, h as logoContainer } from './index-
|
|
1
|
+
import { u as useDivaCoreContext, B as Button, s as socialButton, g as google, m as microsoft, a as getLogger, e as error, b as separator, I as Input, r as resetInput, l as link, c as success, d as auth, f as loginBox, h as logoContainer } from './index-dde4414d.js';
|
|
2
2
|
import { useState, useRef, useEffect, useMemo } from 'react';
|
|
3
3
|
import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
|
|
4
4
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
@@ -16,12 +16,12 @@ import '@babel/runtime/helpers/classCallCheck';
|
|
|
16
16
|
import '@babel/runtime/helpers/createClass';
|
|
17
17
|
import '@babel/runtime/helpers/defineProperty';
|
|
18
18
|
import '@elastic/apm-rum';
|
|
19
|
-
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
20
19
|
import '@babel/runtime/helpers/possibleConstructorReturn';
|
|
21
20
|
import '@babel/runtime/helpers/getPrototypeOf';
|
|
22
21
|
import '@babel/runtime/helpers/inherits';
|
|
23
22
|
import '@babel/runtime/helpers/wrapNativeSuper';
|
|
24
23
|
import 'react-dom';
|
|
24
|
+
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
25
25
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
26
26
|
import 'mobile-detect';
|
|
27
27
|
import 'i18next';
|
|
@@ -31,7 +31,7 @@ import '@material-ui/core/locale';
|
|
|
31
31
|
import '@elastic/apm-rum-react';
|
|
32
32
|
import '@material-ui/core/Typography';
|
|
33
33
|
import '@crystaldesign/basket-model';
|
|
34
|
-
import 'lodash';
|
|
34
|
+
import 'lodash/debounce';
|
|
35
35
|
import 'axios';
|
|
36
36
|
import '@crystaldesign/product-handler';
|
|
37
37
|
import 'react-swipeable';
|
|
@@ -4,7 +4,6 @@ import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
|
4
4
|
import { init as init$2 } from '@elastic/apm-rum';
|
|
5
5
|
import DivaUtils, { nanoid, DivaError, md5 } from '@crystaldesign/diva-utils';
|
|
6
6
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
7
|
-
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
8
7
|
import _possibleConstructorReturn from '@babel/runtime/helpers/possibleConstructorReturn';
|
|
9
8
|
import _getPrototypeOf from '@babel/runtime/helpers/getPrototypeOf';
|
|
10
9
|
import _inherits from '@babel/runtime/helpers/inherits';
|
|
@@ -13,6 +12,7 @@ import ReactDOM from 'react-dom';
|
|
|
13
12
|
import React, { forwardRef, useState, useEffect, useCallback, Suspense, createContext, useMemo, useImperativeHandle, useRef } from 'react';
|
|
14
13
|
import { observer } from 'mobx-react-lite';
|
|
15
14
|
import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
|
|
15
|
+
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
16
16
|
import _regeneratorRuntime from '@babel/runtime/regenerator';
|
|
17
17
|
import { makeAutoObservable, flow, flowResult, toJS, observable, computed, reaction, autorun, action, makeObservable, runInAction } from 'mobx';
|
|
18
18
|
import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
|
|
@@ -28,7 +28,7 @@ import { useTranslation, Trans, I18nextProvider } from 'react-i18next';
|
|
|
28
28
|
import classnames from 'classnames';
|
|
29
29
|
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
30
30
|
import '@crystaldesign/basket-model';
|
|
31
|
-
import
|
|
31
|
+
import debounce from 'lodash/debounce';
|
|
32
32
|
import axios from 'axios';
|
|
33
33
|
import { ProductHandlerAbstract } from '@crystaldesign/product-handler';
|
|
34
34
|
import { useSwipeable } from 'react-swipeable';
|
|
@@ -43,7 +43,7 @@ import { actions } from '@storybook/addon-actions';
|
|
|
43
43
|
import * as Styles from '@material-ui/styles';
|
|
44
44
|
|
|
45
45
|
(function() {
|
|
46
|
-
const env = {"STAGE":"production","VERSION":"24.12.0-beta.
|
|
46
|
+
const env = {"STAGE":"production","VERSION":"24.12.0-beta.21"};
|
|
47
47
|
try {
|
|
48
48
|
if (process) {
|
|
49
49
|
process.env = Object.assign({}, process.env);
|
|
@@ -430,7 +430,6 @@ if (typeof __webpack_public_path__ !== 'undefined') {
|
|
|
430
430
|
}
|
|
431
431
|
}
|
|
432
432
|
|
|
433
|
-
var _excluded$7 = ["children"];
|
|
434
433
|
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; }
|
|
435
434
|
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; }
|
|
436
435
|
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)); }
|
|
@@ -633,9 +632,7 @@ var DivaFramework = /*#__PURE__*/function (_HTMLElement) {
|
|
|
633
632
|
}
|
|
634
633
|
}]);
|
|
635
634
|
}(/*#__PURE__*/_wrapNativeSuper(HTMLElement));
|
|
636
|
-
var CoreWrapper = /*#__PURE__*/forwardRef(function (
|
|
637
|
-
_ref.children;
|
|
638
|
-
var props = _objectWithoutProperties(_ref, _excluded$7);
|
|
635
|
+
var CoreWrapper = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
639
636
|
var _useState = useState(),
|
|
640
637
|
_useState2 = _slicedToArray(_useState, 2),
|
|
641
638
|
components = _useState2[0],
|
|
@@ -833,17 +830,11 @@ var ConfigurationStore = /*#__PURE__*/function () {
|
|
|
833
830
|
var _this$_configuration7;
|
|
834
831
|
return (_this$_configuration7 = this._configuration) === null || _this$_configuration7 === void 0 ? void 0 : _this$_configuration7.spinner;
|
|
835
832
|
}
|
|
836
|
-
}, {
|
|
837
|
-
key: "tinyMceApiKey",
|
|
838
|
-
get: function get() {
|
|
839
|
-
var _this$_configuration8;
|
|
840
|
-
return (_this$_configuration8 = this._configuration) === null || _this$_configuration8 === void 0 ? void 0 : _this$_configuration8.tinyMceApiKey;
|
|
841
|
-
}
|
|
842
833
|
}, {
|
|
843
834
|
key: "theme",
|
|
844
835
|
get: function get() {
|
|
845
|
-
var _this$
|
|
846
|
-
var theme = (_this$
|
|
836
|
+
var _this$_configuration8, _theme$palette$primar, _theme$palette, _theme$palette$primar2, _theme$palette2, _theme$palette$primar3, _theme$palette3, _theme$palette$primar4, _theme$palette4, _ref, _theme$palette$second, _theme$palette5, _theme$palette6, _ref2, _theme$palette$second2, _theme$palette7, _theme$palette8, _ref3, _theme$palette$second3, _theme$palette9, _theme$palette10, _ref4, _theme$palette$second4, _theme$palette11, _theme$palette12, _theme$palette$text$p, _theme$palette13, _theme$palette$text$s, _theme$palette14, _theme$typography$fon, _theme$typography;
|
|
837
|
+
var theme = (_this$_configuration8 = this._configuration) === null || _this$_configuration8 === void 0 ? void 0 : _this$_configuration8.theme;
|
|
847
838
|
return {
|
|
848
839
|
palette: {
|
|
849
840
|
primary: {
|
|
@@ -871,128 +862,128 @@ var ConfigurationStore = /*#__PURE__*/function () {
|
|
|
871
862
|
}, {
|
|
872
863
|
key: "navigation",
|
|
873
864
|
get: function get() {
|
|
874
|
-
var _this$_configuration10, _this$_configuration11, _this$_configuration12, _this$_configuration13, _this$_configuration14, _this$_configuration15, _this$_configuration16, _this$_configuration17, _this$_configuration18, _this$_configuration19, _this$_configuration20, _this$_configuration21, _this$_configuration22, _this$_configuration23
|
|
865
|
+
var _this$_configuration9, _this$_configuration10, _this$_configuration11, _this$_configuration12, _this$_configuration13, _this$_configuration14, _this$_configuration15, _this$_configuration16, _this$_configuration17, _this$_configuration18, _this$_configuration19, _this$_configuration20, _this$_configuration21, _this$_configuration22, _this$_configuration23;
|
|
875
866
|
return {
|
|
876
|
-
buttons: ((_this$
|
|
877
|
-
imprintUrl: (_this$
|
|
878
|
-
privacyUrl: (_this$
|
|
879
|
-
tosUrl: (_this$
|
|
880
|
-
conditionsUrl: (_this$
|
|
881
|
-
supportUrl: (_this$
|
|
882
|
-
logoUrl: (_this$
|
|
883
|
-
logoAction: (_this$
|
|
884
|
-
enableMobile: (_this$
|
|
885
|
-
hideHeader: (_this$
|
|
886
|
-
welcomeText: (_this$
|
|
887
|
-
showOrgName: (_this$
|
|
888
|
-
showUserName: (_this$
|
|
889
|
-
showDescription: (_this$
|
|
890
|
-
qrCodeScanner: (_this$
|
|
867
|
+
buttons: ((_this$_configuration9 = this._configuration) === null || _this$_configuration9 === void 0 || (_this$_configuration9 = _this$_configuration9.navigation) === null || _this$_configuration9 === void 0 ? void 0 : _this$_configuration9.buttons) || [],
|
|
868
|
+
imprintUrl: (_this$_configuration10 = this._configuration) === null || _this$_configuration10 === void 0 || (_this$_configuration10 = _this$_configuration10.navigation) === null || _this$_configuration10 === void 0 ? void 0 : _this$_configuration10.imprintUrl,
|
|
869
|
+
privacyUrl: (_this$_configuration11 = this._configuration) === null || _this$_configuration11 === void 0 || (_this$_configuration11 = _this$_configuration11.navigation) === null || _this$_configuration11 === void 0 ? void 0 : _this$_configuration11.privacyUrl,
|
|
870
|
+
tosUrl: (_this$_configuration12 = this._configuration) === null || _this$_configuration12 === void 0 || (_this$_configuration12 = _this$_configuration12.navigation) === null || _this$_configuration12 === void 0 ? void 0 : _this$_configuration12.tosUrl,
|
|
871
|
+
conditionsUrl: (_this$_configuration13 = this._configuration) === null || _this$_configuration13 === void 0 || (_this$_configuration13 = _this$_configuration13.navigation) === null || _this$_configuration13 === void 0 ? void 0 : _this$_configuration13.conditionsUrl,
|
|
872
|
+
supportUrl: (_this$_configuration14 = this._configuration) === null || _this$_configuration14 === void 0 || (_this$_configuration14 = _this$_configuration14.navigation) === null || _this$_configuration14 === void 0 ? void 0 : _this$_configuration14.supportUrl,
|
|
873
|
+
logoUrl: (_this$_configuration15 = this._configuration) === null || _this$_configuration15 === void 0 || (_this$_configuration15 = _this$_configuration15.navigation) === null || _this$_configuration15 === void 0 ? void 0 : _this$_configuration15.logoUrl,
|
|
874
|
+
logoAction: (_this$_configuration16 = this._configuration) === null || _this$_configuration16 === void 0 || (_this$_configuration16 = _this$_configuration16.navigation) === null || _this$_configuration16 === void 0 ? void 0 : _this$_configuration16.logoAction,
|
|
875
|
+
enableMobile: (_this$_configuration17 = this._configuration) === null || _this$_configuration17 === void 0 || (_this$_configuration17 = _this$_configuration17.navigation) === null || _this$_configuration17 === void 0 ? void 0 : _this$_configuration17.enableMobile,
|
|
876
|
+
hideHeader: (_this$_configuration18 = this._configuration) === null || _this$_configuration18 === void 0 || (_this$_configuration18 = _this$_configuration18.navigation) === null || _this$_configuration18 === void 0 ? void 0 : _this$_configuration18.hideHeader,
|
|
877
|
+
welcomeText: (_this$_configuration19 = this._configuration) === null || _this$_configuration19 === void 0 || (_this$_configuration19 = _this$_configuration19.navigation) === null || _this$_configuration19 === void 0 ? void 0 : _this$_configuration19.welcomeText,
|
|
878
|
+
showOrgName: (_this$_configuration20 = this._configuration) === null || _this$_configuration20 === void 0 || (_this$_configuration20 = _this$_configuration20.navigation) === null || _this$_configuration20 === void 0 ? void 0 : _this$_configuration20.showOrgName,
|
|
879
|
+
showUserName: (_this$_configuration21 = this._configuration) === null || _this$_configuration21 === void 0 || (_this$_configuration21 = _this$_configuration21.navigation) === null || _this$_configuration21 === void 0 ? void 0 : _this$_configuration21.showUserName,
|
|
880
|
+
showDescription: (_this$_configuration22 = this._configuration) === null || _this$_configuration22 === void 0 || (_this$_configuration22 = _this$_configuration22.navigation) === null || _this$_configuration22 === void 0 ? void 0 : _this$_configuration22.showDescription,
|
|
881
|
+
qrCodeScanner: (_this$_configuration23 = this._configuration) === null || _this$_configuration23 === void 0 || (_this$_configuration23 = _this$_configuration23.navigation) === null || _this$_configuration23 === void 0 ? void 0 : _this$_configuration23.qrCodeScanner
|
|
891
882
|
};
|
|
892
883
|
}
|
|
893
884
|
}, {
|
|
894
885
|
key: "googleMapsconfig",
|
|
895
886
|
get: function get() {
|
|
896
|
-
var _this$
|
|
887
|
+
var _this$_configuration24, _this$_configuration25, _this$_configuration26, _this$_configuration27;
|
|
897
888
|
return {
|
|
898
|
-
id: (_this$
|
|
899
|
-
googleMapsApiKey: (_this$
|
|
900
|
-
language: (_this$
|
|
901
|
-
region: (_this$
|
|
889
|
+
id: (_this$_configuration24 = this._configuration) === null || _this$_configuration24 === void 0 || (_this$_configuration24 = _this$_configuration24.googleMapsConfig) === null || _this$_configuration24 === void 0 ? void 0 : _this$_configuration24.id,
|
|
890
|
+
googleMapsApiKey: (_this$_configuration25 = this._configuration) === null || _this$_configuration25 === void 0 || (_this$_configuration25 = _this$_configuration25.googleMapsConfig) === null || _this$_configuration25 === void 0 ? void 0 : _this$_configuration25.googleMapsApiKey,
|
|
891
|
+
language: (_this$_configuration26 = this._configuration) === null || _this$_configuration26 === void 0 || (_this$_configuration26 = _this$_configuration26.googleMapsConfig) === null || _this$_configuration26 === void 0 ? void 0 : _this$_configuration26.language,
|
|
892
|
+
region: (_this$_configuration27 = this._configuration) === null || _this$_configuration27 === void 0 || (_this$_configuration27 = _this$_configuration27.googleMapsConfig) === null || _this$_configuration27 === void 0 ? void 0 : _this$_configuration27.region
|
|
902
893
|
};
|
|
903
894
|
}
|
|
904
895
|
}, {
|
|
905
896
|
key: "cometchatConfig",
|
|
906
897
|
get: function get() {
|
|
907
|
-
var _this$
|
|
898
|
+
var _this$_configuration28, _this$_configuration29, _this$_configuration30;
|
|
908
899
|
return {
|
|
909
|
-
app_id: (_this$
|
|
910
|
-
app_region: (_this$
|
|
911
|
-
listener_id: (_this$
|
|
900
|
+
app_id: (_this$_configuration28 = this._configuration) === null || _this$_configuration28 === void 0 || (_this$_configuration28 = _this$_configuration28.cometChatConfig) === null || _this$_configuration28 === void 0 ? void 0 : _this$_configuration28.app_id,
|
|
901
|
+
app_region: (_this$_configuration29 = this._configuration) === null || _this$_configuration29 === void 0 || (_this$_configuration29 = _this$_configuration29.cometChatConfig) === null || _this$_configuration29 === void 0 ? void 0 : _this$_configuration29.app_region,
|
|
902
|
+
listener_id: (_this$_configuration30 = this._configuration) === null || _this$_configuration30 === void 0 || (_this$_configuration30 = _this$_configuration30.cometChatConfig) === null || _this$_configuration30 === void 0 ? void 0 : _this$_configuration30.listener_id
|
|
912
903
|
};
|
|
913
904
|
}
|
|
914
905
|
}, {
|
|
915
906
|
key: "hasAuthentication",
|
|
916
907
|
get: function get() {
|
|
917
|
-
var _this$
|
|
918
|
-
return !!((_this$
|
|
908
|
+
var _this$_configuration31;
|
|
909
|
+
return !!((_this$_configuration31 = this._configuration) !== null && _this$_configuration31 !== void 0 && _this$_configuration31.authentication);
|
|
919
910
|
}
|
|
920
911
|
}, {
|
|
921
912
|
key: "authentication",
|
|
922
913
|
get: function get() {
|
|
923
|
-
var _this$_configuration$, _this$_configuration33, _this$_configuration34, _this$_configuration35, _this$_configuration36, _this$_configuration37, _this$_configuration38, _this$_configuration39, _this$_configuration40, _this$
|
|
924
|
-
return _objectSpread$f(_objectSpread$f({}, (_this$_configuration$ = (_this$
|
|
914
|
+
var _this$_configuration$, _this$_configuration32, _this$_configuration33, _this$_configuration34, _this$_configuration35, _this$_configuration36, _this$_configuration37, _this$_configuration38, _this$_configuration39, _this$_configuration40, _this$_configuration$2, _this$_configuration41;
|
|
915
|
+
return _objectSpread$f(_objectSpread$f({}, (_this$_configuration$ = (_this$_configuration32 = this._configuration) === null || _this$_configuration32 === void 0 ? void 0 : _this$_configuration32.authentication) !== null && _this$_configuration$ !== void 0 ? _this$_configuration$ : {}), {}, {
|
|
925
916
|
loginMethods: {
|
|
926
|
-
google: (_this$
|
|
927
|
-
microsoft: (_this$
|
|
928
|
-
standard: (_this$
|
|
929
|
-
generic: (_this$
|
|
917
|
+
google: (_this$_configuration33 = this._configuration) !== null && _this$_configuration33 !== void 0 && (_this$_configuration33 = _this$_configuration33.authentication) !== null && _this$_configuration33 !== void 0 && _this$_configuration33.loginMethods ? (_this$_configuration34 = this._configuration) === null || _this$_configuration34 === void 0 || (_this$_configuration34 = _this$_configuration34.authentication) === null || _this$_configuration34 === void 0 ? void 0 : _this$_configuration34.loginMethods.google : true,
|
|
918
|
+
microsoft: (_this$_configuration35 = this._configuration) !== null && _this$_configuration35 !== void 0 && (_this$_configuration35 = _this$_configuration35.authentication) !== null && _this$_configuration35 !== void 0 && _this$_configuration35.loginMethods ? (_this$_configuration36 = this._configuration) === null || _this$_configuration36 === void 0 || (_this$_configuration36 = _this$_configuration36.authentication) === null || _this$_configuration36 === void 0 ? void 0 : _this$_configuration36.loginMethods.microsoft : true,
|
|
919
|
+
standard: (_this$_configuration37 = this._configuration) !== null && _this$_configuration37 !== void 0 && (_this$_configuration37 = _this$_configuration37.authentication) !== null && _this$_configuration37 !== void 0 && _this$_configuration37.loginMethods ? (_this$_configuration38 = this._configuration) === null || _this$_configuration38 === void 0 || (_this$_configuration38 = _this$_configuration38.authentication) === null || _this$_configuration38 === void 0 ? void 0 : _this$_configuration38.loginMethods.standard : true,
|
|
920
|
+
generic: (_this$_configuration39 = this._configuration) !== null && _this$_configuration39 !== void 0 && (_this$_configuration39 = _this$_configuration39.authentication) !== null && _this$_configuration39 !== void 0 && _this$_configuration39.loginMethods ? this._configuration.authentication.loginMethods.generic : false
|
|
930
921
|
},
|
|
931
|
-
contentBox: (_this$
|
|
922
|
+
contentBox: (_this$_configuration40 = this._configuration) === null || _this$_configuration40 === void 0 || (_this$_configuration40 = _this$_configuration40.authentication) === null || _this$_configuration40 === void 0 ? void 0 : _this$_configuration40.contentBox,
|
|
932
923
|
resetPassword: {
|
|
933
|
-
returnToLogin: (_this$_configuration$2 = (_this$
|
|
924
|
+
returnToLogin: (_this$_configuration$2 = (_this$_configuration41 = this._configuration) === null || _this$_configuration41 === void 0 || (_this$_configuration41 = _this$_configuration41.authentication) === null || _this$_configuration41 === void 0 || (_this$_configuration41 = _this$_configuration41.resetPassword) === null || _this$_configuration41 === void 0 ? void 0 : _this$_configuration41.returnToLogin) !== null && _this$_configuration$2 !== void 0 ? _this$_configuration$2 : true
|
|
934
925
|
}
|
|
935
926
|
});
|
|
936
927
|
}
|
|
937
928
|
}, {
|
|
938
929
|
key: "enableRouting",
|
|
939
930
|
get: function get() {
|
|
940
|
-
var _this$
|
|
941
|
-
return (_this$
|
|
931
|
+
var _this$_configuration42;
|
|
932
|
+
return (_this$_configuration42 = this._configuration) === null || _this$_configuration42 === void 0 ? void 0 : _this$_configuration42.enableRouting;
|
|
942
933
|
}
|
|
943
934
|
}, {
|
|
944
935
|
key: "enableStorage",
|
|
945
936
|
get: function get() {
|
|
946
|
-
var _this$
|
|
947
|
-
return (_this$
|
|
937
|
+
var _this$_configuration43;
|
|
938
|
+
return (_this$_configuration43 = this._configuration) === null || _this$_configuration43 === void 0 ? void 0 : _this$_configuration43.enableStorage;
|
|
948
939
|
}
|
|
949
940
|
}, {
|
|
950
941
|
key: "telemetrySettings",
|
|
951
942
|
get: function get() {
|
|
952
|
-
var _this$
|
|
953
|
-
return (_this$
|
|
943
|
+
var _this$_configuration44;
|
|
944
|
+
return (_this$_configuration44 = this._configuration) === null || _this$_configuration44 === void 0 ? void 0 : _this$_configuration44.telemetry;
|
|
954
945
|
}
|
|
955
946
|
}, {
|
|
956
947
|
key: "enableModals",
|
|
957
948
|
get: function get() {
|
|
958
|
-
var _this$
|
|
959
|
-
return !((_this$
|
|
949
|
+
var _this$_configuration45;
|
|
950
|
+
return !((_this$_configuration45 = this._configuration) !== null && _this$_configuration45 !== void 0 && _this$_configuration45.disableModals);
|
|
960
951
|
}
|
|
961
952
|
}, {
|
|
962
953
|
key: "enableSupport",
|
|
963
954
|
get: function get() {
|
|
964
|
-
var _this$
|
|
965
|
-
return (_this$
|
|
955
|
+
var _this$_configuration46;
|
|
956
|
+
return (_this$_configuration46 = this._configuration) === null || _this$_configuration46 === void 0 ? void 0 : _this$_configuration46.enableSupport;
|
|
966
957
|
}
|
|
967
958
|
}, {
|
|
968
959
|
key: "showInitWarnBanner",
|
|
969
960
|
get: function get() {
|
|
970
|
-
var _this$defaultApiConfi, _this$defaultApiConfi2, _this$defaultApiConfi3, _this$
|
|
961
|
+
var _this$defaultApiConfi, _this$defaultApiConfi2, _this$defaultApiConfi3, _this$_configuration47;
|
|
971
962
|
if (!((_this$defaultApiConfi = this.defaultApiConfig) !== null && _this$defaultApiConfi !== void 0 && _this$defaultApiConfi.showInitWarnBanner) || ((_this$defaultApiConfi2 = this.defaultApiConfig) === null || _this$defaultApiConfi2 === void 0 ? void 0 : _this$defaultApiConfi2.showInitWarnBanner) === 'false') {
|
|
972
963
|
localStorage.removeItem('bannerViews');
|
|
973
964
|
}
|
|
974
|
-
return ((_this$defaultApiConfi3 = this.defaultApiConfig) === null || _this$defaultApiConfi3 === void 0 ? void 0 : _this$defaultApiConfi3.showInitWarnBanner) === 'true' && ((_this$
|
|
965
|
+
return ((_this$defaultApiConfi3 = this.defaultApiConfig) === null || _this$defaultApiConfi3 === void 0 ? void 0 : _this$defaultApiConfi3.showInitWarnBanner) === 'true' && ((_this$_configuration47 = this._configuration) === null || _this$_configuration47 === void 0 ? void 0 : _this$_configuration47.showInitWarnBanner);
|
|
975
966
|
}
|
|
976
967
|
}, {
|
|
977
968
|
key: "apiConfig",
|
|
978
969
|
get: function get() {
|
|
979
|
-
var _this$
|
|
980
|
-
return parseApiConfig((_this$
|
|
970
|
+
var _this$_configuration48;
|
|
971
|
+
return parseApiConfig((_this$_configuration48 = this._configuration) === null || _this$_configuration48 === void 0 ? void 0 : _this$_configuration48.api, this.defaultApiConfig, this.root.dataStore.organization);
|
|
981
972
|
}
|
|
982
973
|
}, {
|
|
983
974
|
key: "applicationEnvironment",
|
|
984
975
|
get: function get() {
|
|
985
|
-
var _this$_configuration$3, _this$
|
|
986
|
-
return (_this$_configuration$3 = (_this$
|
|
976
|
+
var _this$_configuration$3, _this$_configuration49;
|
|
977
|
+
return (_this$_configuration$3 = (_this$_configuration49 = this._configuration) === null || _this$_configuration49 === void 0 ? void 0 : _this$_configuration49.applicationEnvironment) !== null && _this$_configuration$3 !== void 0 ? _this$_configuration$3 : 'SELLER';
|
|
987
978
|
}
|
|
988
979
|
}, {
|
|
989
980
|
key: "priceFormat",
|
|
990
981
|
get: function get() {
|
|
991
|
-
var _this$
|
|
992
|
-
if ((_this$
|
|
993
|
-
var _this$
|
|
994
|
-
return _objectSpread$f(_objectSpread$f({}, (_this$
|
|
995
|
-
currency: (_this$root$dataStore$ = (_this$root$dataStore$2 = this.root.dataStore.organization) === null || _this$root$dataStore$2 === void 0 ? void 0 : _this$root$dataStore$2.settings.defaultCurrency) !== null && _this$root$dataStore$ !== void 0 ? _this$root$dataStore$ : (_this$
|
|
982
|
+
var _this$_configuration50;
|
|
983
|
+
if ((_this$_configuration50 = this._configuration) !== null && _this$_configuration50 !== void 0 && _this$_configuration50.priceFormat) {
|
|
984
|
+
var _this$_configuration51, _this$root$dataStore$, _this$root$dataStore$2, _this$_configuration52;
|
|
985
|
+
return _objectSpread$f(_objectSpread$f({}, (_this$_configuration51 = this._configuration) === null || _this$_configuration51 === void 0 ? void 0 : _this$_configuration51.priceFormat), {}, {
|
|
986
|
+
currency: (_this$root$dataStore$ = (_this$root$dataStore$2 = this.root.dataStore.organization) === null || _this$root$dataStore$2 === void 0 ? void 0 : _this$root$dataStore$2.settings.defaultCurrency) !== null && _this$root$dataStore$ !== void 0 ? _this$root$dataStore$ : (_this$_configuration52 = this._configuration) === null || _this$_configuration52 === void 0 ? void 0 : _this$_configuration52.priceFormat.currency
|
|
996
987
|
});
|
|
997
988
|
} else {
|
|
998
989
|
var _this$root$dataStore$3, _this$root$dataStore$4;
|
|
@@ -1004,17 +995,17 @@ var ConfigurationStore = /*#__PURE__*/function () {
|
|
|
1004
995
|
}, {
|
|
1005
996
|
key: "countryCodesFile",
|
|
1006
997
|
get: function get() {
|
|
1007
|
-
var _this$
|
|
1008
|
-
return (_this$
|
|
998
|
+
var _this$_configuration53;
|
|
999
|
+
return (_this$_configuration53 = this._configuration) === null || _this$_configuration53 === void 0 ? void 0 : _this$_configuration53.countryCodesFile;
|
|
1009
1000
|
}
|
|
1010
1001
|
}, {
|
|
1011
1002
|
key: "allowedOrganizationTypes",
|
|
1012
1003
|
get: function get() {
|
|
1013
|
-
var _this$
|
|
1014
|
-
if (!((_this$
|
|
1004
|
+
var _this$_configuration54, _this$_configuration55, _this$_configuration56, _this$_configuration57;
|
|
1005
|
+
if (!((_this$_configuration54 = this._configuration) !== null && _this$_configuration54 !== void 0 && _this$_configuration54.allowedOrganizationTypes)) {
|
|
1015
1006
|
return ['RETAILER'];
|
|
1016
1007
|
}
|
|
1017
|
-
return Array.isArray((_this$
|
|
1008
|
+
return Array.isArray((_this$_configuration55 = this._configuration) === null || _this$_configuration55 === void 0 ? void 0 : _this$_configuration55.allowedOrganizationTypes) ? (_this$_configuration56 = this._configuration) === null || _this$_configuration56 === void 0 ? void 0 : _this$_configuration56.allowedOrganizationTypes : [(_this$_configuration57 = this._configuration) === null || _this$_configuration57 === void 0 ? void 0 : _this$_configuration57.allowedOrganizationTypes];
|
|
1018
1009
|
}
|
|
1019
1010
|
}, {
|
|
1020
1011
|
key: "resetConfigurationCache",
|
|
@@ -1235,6 +1226,7 @@ var DataStore = /*#__PURE__*/function () {
|
|
|
1235
1226
|
_defineProperty(this, "_organization", undefined);
|
|
1236
1227
|
_defineProperty(this, "_user", undefined);
|
|
1237
1228
|
_defineProperty(this, "_isMobile", void 0);
|
|
1229
|
+
_defineProperty(this, "_isFirefox", void 0);
|
|
1238
1230
|
_defineProperty(this, "_sessionGuids", {});
|
|
1239
1231
|
_defineProperty(this, "_permissions", []);
|
|
1240
1232
|
_defineProperty(this, "_parentOrganizations", []);
|
|
@@ -1244,12 +1236,20 @@ var DataStore = /*#__PURE__*/function () {
|
|
|
1244
1236
|
getSessionGuidFlow: flow
|
|
1245
1237
|
});
|
|
1246
1238
|
this._isMobile = userAgentIsMobile();
|
|
1239
|
+
var userAgent = navigator.userAgent.toLowerCase();
|
|
1240
|
+
var isFirefox = userAgent.includes('fxios') || userAgent.includes('firefox');
|
|
1241
|
+
this._isFirefox = isFirefox;
|
|
1247
1242
|
}
|
|
1248
1243
|
return _createClass(DataStore, [{
|
|
1249
1244
|
key: "isMobile",
|
|
1250
1245
|
get: function get() {
|
|
1251
1246
|
return this._isMobile;
|
|
1252
1247
|
}
|
|
1248
|
+
}, {
|
|
1249
|
+
key: "isFirefox",
|
|
1250
|
+
get: function get() {
|
|
1251
|
+
return this._isFirefox;
|
|
1252
|
+
}
|
|
1253
1253
|
}, {
|
|
1254
1254
|
key: "organization",
|
|
1255
1255
|
get: function get() {
|
|
@@ -8979,6 +8979,7 @@ var DivaCoreProvider = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
8979
8979
|
},
|
|
8980
8980
|
state: toJS({
|
|
8981
8981
|
isMobile: store.dataStore.isMobile,
|
|
8982
|
+
isFirefox: store.dataStore.isFirefox,
|
|
8982
8983
|
availableComponents: store.contentStore.availableComponentList,
|
|
8983
8984
|
availableLanguages: ((_store$configurationS = store.configurationStore.locales) === null || _store$configurationS === void 0 ? void 0 : _store$configurationS.available) || [],
|
|
8984
8985
|
organization: store.dataStore.organization,
|
|
@@ -9010,8 +9011,7 @@ var DivaCoreProvider = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
9010
9011
|
googleMapsConfig: store.configurationStore.googleMapsconfig,
|
|
9011
9012
|
cometChatConfig: store.configurationStore.cometchatConfig,
|
|
9012
9013
|
defaultComponent: store.configurationStore.defaultComponent,
|
|
9013
|
-
currentComponent: store.contentStore.currentComponent
|
|
9014
|
-
tinyMceApiKey: store.configurationStore.tinyMceApiKey
|
|
9014
|
+
currentComponent: store.contentStore.currentComponent
|
|
9015
9015
|
}),
|
|
9016
9016
|
handler: {
|
|
9017
9017
|
productHandler: store.productHandler,
|
|
@@ -9079,6 +9079,7 @@ var DivaCoreProvider = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
9079
9079
|
jwt: store.authorizationStore.zToken,
|
|
9080
9080
|
nToken: store.authorizationStore.nToken,
|
|
9081
9081
|
isMobile: store.dataStore.isMobile,
|
|
9082
|
+
isFirefox: store.dataStore.isFirefox,
|
|
9082
9083
|
googleMapsConfig: store.configurationStore.googleMapsconfig,
|
|
9083
9084
|
cometChatConfig: store.configurationStore.cometchatConfig,
|
|
9084
9085
|
navigationConfiguration: _objectSpread$5(_objectSpread$5({}, store.configurationStore.navigation), {}, {
|
|
@@ -9103,8 +9104,7 @@ var DivaCoreProvider = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
9103
9104
|
isFullscreenComponent: store.contentStore.isFullscreenComponentDefined,
|
|
9104
9105
|
enableSupport: !!store.configurationStore.enableSupport,
|
|
9105
9106
|
defaultComponent: store.configurationStore.defaultComponent,
|
|
9106
|
-
currentComponent: store.contentStore.currentComponent
|
|
9107
|
-
tinyMceApiKey: store.configurationStore.tinyMceApiKey
|
|
9107
|
+
currentComponent: store.contentStore.currentComponent
|
|
9108
9108
|
}),
|
|
9109
9109
|
handler: {
|
|
9110
9110
|
productHandler: store.productHandler,
|
|
@@ -9441,7 +9441,7 @@ var SideMenu$1 = observer(SideMenu);
|
|
|
9441
9441
|
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; }
|
|
9442
9442
|
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; }
|
|
9443
9443
|
var LazyModals$1 = /*#__PURE__*/React.lazy(function () {
|
|
9444
|
-
return import('./ModalsWrapper-
|
|
9444
|
+
return import('./ModalsWrapper-2433ff18.js');
|
|
9445
9445
|
});
|
|
9446
9446
|
function Fullscreen() {
|
|
9447
9447
|
var _useDivaCoreContext = useDivaCoreContext(),
|
|
@@ -9888,10 +9888,10 @@ function ownKeys$2(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymb
|
|
|
9888
9888
|
function _objectSpread$2(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
9889
9889
|
var LOG$2 = getLogger('Framework', 'Root');
|
|
9890
9890
|
var LazyAuth = /*#__PURE__*/React.lazy(function () {
|
|
9891
|
-
return import('./index-
|
|
9891
|
+
return import('./index-2323fd44.js');
|
|
9892
9892
|
});
|
|
9893
9893
|
var LazyModals = /*#__PURE__*/React.lazy(function () {
|
|
9894
|
-
return import('./ModalsWrapper-
|
|
9894
|
+
return import('./ModalsWrapper-2433ff18.js');
|
|
9895
9895
|
});
|
|
9896
9896
|
function ContentComponent() {
|
|
9897
9897
|
var context = useDivaCoreContext();
|
|
@@ -10680,6 +10680,7 @@ var MockedRootStore = /*#__PURE__*/function () {
|
|
|
10680
10680
|
hidePrices: (_this$data$hidePrices = this.data.hidePrices) !== null && _this$data$hidePrices !== void 0 ? _this$data$hidePrices : false,
|
|
10681
10681
|
dimensions: this.dimensions,
|
|
10682
10682
|
isMobile: this.dimensions.isMobile,
|
|
10683
|
+
isFirefox: !!this.data.isFirefox,
|
|
10683
10684
|
headerInfos: this.headerInfos,
|
|
10684
10685
|
theme: this.theme,
|
|
10685
10686
|
applicationEnvironment: (_this$data$applicatio = this.data.applicationEnvironment) !== null && _this$data$applicatio !== void 0 ? _this$data$applicatio : 'WEB',
|
package/build/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { k as AnalyticsHandler, A as AuthorizationHandler, o as ClientArticleHandler, C as Content, p as DivaMockProvider, H as HelpButton, O as ONE_DAY_UNIX, n as OrganizationHandler, P as ProductHandler, R as RequestStatus, S as SupportHandler, D as default, a as getLogger, q as storyBookCoreMock, j as useDivaCore } from './index-
|
|
1
|
+
export { k as AnalyticsHandler, A as AuthorizationHandler, o as ClientArticleHandler, C as Content, p as DivaMockProvider, H as HelpButton, O as ONE_DAY_UNIX, n as OrganizationHandler, P as ProductHandler, R as RequestStatus, S as SupportHandler, D as default, a as getLogger, q as storyBookCoreMock, j as useDivaCore } from './index-dde4414d.js';
|
|
2
2
|
export { DivaError, default as DivaUtils } from '@crystaldesign/diva-utils';
|
|
3
3
|
export { Trans, useTranslation } from 'react-i18next';
|
|
4
4
|
export * from '@crystaldesign/basket-model';
|
|
@@ -7,7 +7,6 @@ import '@babel/runtime/helpers/createClass';
|
|
|
7
7
|
import '@babel/runtime/helpers/defineProperty';
|
|
8
8
|
import '@elastic/apm-rum';
|
|
9
9
|
import '@babel/runtime/helpers/slicedToArray';
|
|
10
|
-
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
11
10
|
import '@babel/runtime/helpers/possibleConstructorReturn';
|
|
12
11
|
import '@babel/runtime/helpers/getPrototypeOf';
|
|
13
12
|
import '@babel/runtime/helpers/inherits';
|
|
@@ -16,6 +15,7 @@ import 'react-dom';
|
|
|
16
15
|
import 'react';
|
|
17
16
|
import 'mobx-react-lite';
|
|
18
17
|
import '@babel/runtime/helpers/asyncToGenerator';
|
|
18
|
+
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
19
19
|
import '@babel/runtime/regenerator';
|
|
20
20
|
import 'mobx';
|
|
21
21
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
@@ -28,7 +28,7 @@ import '@elastic/apm-rum-react';
|
|
|
28
28
|
import '@material-ui/core/Typography';
|
|
29
29
|
import 'classnames';
|
|
30
30
|
import 'react/jsx-runtime';
|
|
31
|
-
import 'lodash';
|
|
31
|
+
import 'lodash/debounce';
|
|
32
32
|
import 'axios';
|
|
33
33
|
import '@crystaldesign/product-handler';
|
|
34
34
|
import 'react-swipeable';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Content.d.ts","sourceRoot":"","sources":["../../../../src/Content.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Content.d.ts","sourceRoot":"","sources":["../../../../src/Content.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAmBnD,iBAAS,gBAAgB,sBAqDxB;AAED,eAAO,MAAM,OAAO;;CAA6B,CAAC"}
|
|
@@ -8,7 +8,7 @@ export * from '@crystaldesign/basket-model';
|
|
|
8
8
|
export type { DivaCoreState } from './store';
|
|
9
9
|
export { Content, useDivaCore, DivaUtils };
|
|
10
10
|
export declare const DivaCore: React.ForwardRefExoticComponent<DivaCoreProps & {
|
|
11
|
-
children?: React.ReactElement
|
|
11
|
+
children?: React.ReactElement;
|
|
12
12
|
} & React.RefAttributes<{
|
|
13
13
|
invoke: (event: Event) => void;
|
|
14
14
|
}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DivaCore.d.ts","sourceRoot":"","sources":["../../../../src/DivaCore.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4C,MAAM,OAAO,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,aAAa,EAAwC,WAAW,EAAE,MAAM,SAAS,CAAC;AAK3F,OAAO,SAAS,MAAM,2BAA2B,CAAC;AAGlD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGhC,YAAY,EACV,mBAAmB,EACnB,cAAc,EACd,KAAK,EACL,QAAQ,EACR,SAAS,EACT,MAAM,EACN,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,EAChB,KAAK,EACL,gBAAgB,EAChB,SAAS,GACV,MAAM,SAAS,CAAC;AACjB,cAAc,6BAA6B,CAAC;AAE5C,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,CAAC;AAI3C,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"DivaCore.d.ts","sourceRoot":"","sources":["../../../../src/DivaCore.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4C,MAAM,OAAO,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,aAAa,EAAwC,WAAW,EAAE,MAAM,SAAS,CAAC;AAK3F,OAAO,SAAS,MAAM,2BAA2B,CAAC;AAGlD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGhC,YAAY,EACV,mBAAmB,EACnB,cAAc,EACd,KAAK,EACL,QAAQ,EACR,SAAS,EACT,MAAM,EACN,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,EAChB,KAAK,EACL,gBAAgB,EAChB,SAAS,GACV,MAAM,SAAS,CAAC;AACjB,cAAc,6BAA6B,CAAC;AAE5C,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,CAAC;AAI3C,eAAO,MAAM,QAAQ;eAGN,KAAK,CAAC,YAAY;;YAFrB,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI;GAgBhC,CAAC;AACH,eAAe,QAAQ,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { DetailedHTMLProps } from 'react';
|
|
2
2
|
export default function ({ className, disabled, children, ...props }: DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> & {
|
|
3
3
|
disabled?: boolean;
|
|
4
|
-
}): JSX.Element;
|
|
4
|
+
}): React.JSX.Element;
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/elements/Auth/Button/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAIjD,MAAM,CAAC,OAAO,WAAW,EACvB,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,iBAAiB,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,cAAc,CAAC,GAAG;IAC3E,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/elements/Auth/Button/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAIjD,MAAM,CAAC,OAAO,WAAW,EACvB,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,iBAAiB,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,cAAc,CAAC,GAAG;IAC3E,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,qBAMA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Errormessage.d.ts","sourceRoot":"","sources":["../../../../../../../src/elements/Auth/ChangePassword/Errormessage.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Errormessage.d.ts","sourceRoot":"","sources":["../../../../../../../src/elements/Auth/ChangePassword/Errormessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,CAAC,OAAO,WAAW,EAAE,QAAQ,EAAE,WAAW,EAAE,EAAE;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,qBAS7F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/elements/Auth/ChangePassword/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/elements/Auth/ChangePassword/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAW3D,MAAM,CAAC,OAAO,WAAW,EAAE,KAAK,EAAE,EAAE;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,qBAyGpD"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
declare const _default: React.ForwardRefExoticComponent<
|
|
2
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
3
3
|
export default _default;
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/elements/Auth/Login/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/elements/Auth/Login/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAcxC,iBAAS,KAAK,sBA+Ib;;;;AAED,wBAA+B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/elements/Auth/OpenId/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/elements/Auth/OpenId/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,MAAM,CAAC,OAAO,gCA0Db"}
|