@crystaldesign/diva-core 25.5.0-beta.1 → 25.5.0-beta.11
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-b9b8e163.js → ModalsWrapper-390a97c0.js} +1 -1
- package/build/esm/{index-6cde445b.js → index-05bf1074.js} +107 -99
- package/build/esm/{index-01a3657d.js → index-ccb1878e.js} +15 -14
- package/build/esm/index.js +1 -1
- package/build/types/core/src/elements/Auth/Button/index.d.ts +3 -2
- package/build/types/core/src/elements/Auth/Button/index.d.ts.map +1 -1
- package/build/types/core/src/store/ConfigurationStore.d.ts.map +1 -1
- package/build/types/core/src/store/RootStore.d.ts.map +1 -1
- package/build/types/core/src/types.d.ts +1 -0
- package/build/types/core/src/types.d.ts.map +1 -1
- package/build/umd/210.diva-core.umd.min.js +1 -1
- package/build/umd/959.diva-core.umd.min.js +2 -0
- package/build/umd/959.diva-core.umd.min.js.LICENSE.txt +1 -0
- package/build/umd/diva-core.umd.min.js +3 -3
- package/build/umd/report.html +1 -1
- package/package.json +10 -10
- package/build/umd/135.diva-core.umd.min.js +0 -2
- package/build/umd/135.diva-core.umd.min.js.LICENSE.txt +0 -1
- package/build/umd/263.diva-core.umd.min.js +0 -2
- package/build/umd/263.diva-core.umd.min.js.LICENSE.txt +0 -1
- package/build/umd/700.diva-core.umd.min.js +0 -2
- package/build/umd/700.diva-core.umd.min.js.LICENSE.txt +0 -1
- package/build/umd/800.diva-core.umd.min.js +0 -2
- package/build/umd/800.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-05bf1074.js';
|
|
2
2
|
import { useState, useEffect, useCallback } from 'react';
|
|
3
3
|
import { observer } from 'mobx-react-lite';
|
|
4
4
|
import Button from '@mui/material/Button';
|
|
@@ -27,7 +27,7 @@ import { withTransaction } from '@elastic/apm-rum-react';
|
|
|
27
27
|
import Typography from '@mui/material/Typography';
|
|
28
28
|
import { useTranslation, Trans, I18nextProvider } from 'react-i18next';
|
|
29
29
|
import classnames from 'classnames';
|
|
30
|
-
import Button
|
|
30
|
+
import Button from '@mui/material/Button';
|
|
31
31
|
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
32
32
|
import { ArrowBack } from '@mui/icons-material';
|
|
33
33
|
import '@crystaldesign/basket-model';
|
|
@@ -36,7 +36,7 @@ import axios from 'axios';
|
|
|
36
36
|
import { ProductHandlerAbstract } from '@crystaldesign/product-handler';
|
|
37
37
|
import { useSwipeable } from 'react-swipeable';
|
|
38
38
|
import { ContentBoxComponent } from '@crystaldesign/content-box';
|
|
39
|
-
import { Button as Button$
|
|
39
|
+
import { Button as Button$1, Snackbar, SnackbarContent, IconButton, Card, CardHeader, CardContent } from '@mui/material';
|
|
40
40
|
import { useTranslation as useTranslation$1, useDivaCore as useDivaCore$1 } from '@crystaldesign/diva-core';
|
|
41
41
|
import QRCode from 'react-qr-code';
|
|
42
42
|
import CloseIcon from '@mui/icons-material/Close';
|
|
@@ -46,7 +46,7 @@ import { actions } from '@storybook/addon-actions';
|
|
|
46
46
|
import * as Styles from '@mui/styles';
|
|
47
47
|
|
|
48
48
|
(function() {
|
|
49
|
-
const env = {"STAGE":"production","VERSION":"25.5.0-beta.
|
|
49
|
+
const env = {"STAGE":"production","VERSION":"25.5.0-beta.11"};
|
|
50
50
|
try {
|
|
51
51
|
if (process) {
|
|
52
52
|
process.env = Object.assign({}, process.env);
|
|
@@ -123,8 +123,8 @@ function baseUrl() {
|
|
|
123
123
|
return urlParts[urlParts.length - 2] + '.' + urlParts[urlParts.length - 1];
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
function ownKeys$
|
|
127
|
-
function _objectSpread$
|
|
126
|
+
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; }
|
|
127
|
+
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; }
|
|
128
128
|
var _existingLogger = new Map();
|
|
129
129
|
var _apmInitialized = false;
|
|
130
130
|
var _onErrorEvent = function _onErrorEvent() {};
|
|
@@ -205,9 +205,9 @@ var ApplicationLogger = /*#__PURE__*/function () {
|
|
|
205
205
|
this.transactions["delete"](eventId);
|
|
206
206
|
event.end = end;
|
|
207
207
|
var cleanLabels = this.cleanLabels(labels);
|
|
208
|
-
event.event.labels = _objectSpread$
|
|
208
|
+
event.event.labels = _objectSpread$i(_objectSpread$i({}, event.event.labels), cleanLabels);
|
|
209
209
|
if (event.event.span) {
|
|
210
|
-
event.event.span.addLabels(_objectSpread$
|
|
210
|
+
event.event.span.addLabels(_objectSpread$i(_objectSpread$i(_objectSpread$i({}, event.event.labels), cleanLabels), {}, {
|
|
211
211
|
eventId: eventId
|
|
212
212
|
}));
|
|
213
213
|
event.event.span.end();
|
|
@@ -215,7 +215,7 @@ var ApplicationLogger = /*#__PURE__*/function () {
|
|
|
215
215
|
clearTimeout(event.event.warningTimeout);
|
|
216
216
|
clearTimeout(event.event.errorTimeout);
|
|
217
217
|
this.debug("Transaction ".concat(event.event.type, " (").concat(event.event.message, ") took ").concat(Math.floor(end - event.start), "ms"));
|
|
218
|
-
DivaUtils.businessMetrics.logEvent(event.event.type, this.module, event.event.message, _objectSpread$
|
|
218
|
+
DivaUtils.businessMetrics.logEvent(event.event.type, this.module, event.event.message, _objectSpread$i(_objectSpread$i(_objectSpread$i({}, event.event.labels), cleanLabels), {}, {
|
|
219
219
|
eventId: eventId,
|
|
220
220
|
status: event.event.timeout ? 'TIMEOUT' : 'SUCCESS',
|
|
221
221
|
eventDuration: Math.floor(end - event.start),
|
|
@@ -250,9 +250,9 @@ var ApplicationLogger = /*#__PURE__*/function () {
|
|
|
250
250
|
}
|
|
251
251
|
event.end = end;
|
|
252
252
|
var cleanLabels = this.cleanLabels(labels);
|
|
253
|
-
event.event.labels = _objectSpread$
|
|
253
|
+
event.event.labels = _objectSpread$i(_objectSpread$i({}, event.event.labels), cleanLabels);
|
|
254
254
|
if (event.event.span) {
|
|
255
|
-
event.event.span.addLabels(_objectSpread$
|
|
255
|
+
event.event.span.addLabels(_objectSpread$i(_objectSpread$i(_objectSpread$i({}, event.event.labels), cleanLabels), {}, {
|
|
256
256
|
eventId: eventId
|
|
257
257
|
}));
|
|
258
258
|
event.event.span.end();
|
|
@@ -260,7 +260,7 @@ var ApplicationLogger = /*#__PURE__*/function () {
|
|
|
260
260
|
clearTimeout(event.event.warningTimeout);
|
|
261
261
|
clearTimeout(event.event.errorTimeout);
|
|
262
262
|
this.debug("Transaction ".concat(event.event.type, " (").concat(event.event.message, ") failed after ").concat(Math.floor(end - event.start), "ms"));
|
|
263
|
-
DivaUtils.businessMetrics.logEvent(event.event.type, this.module, event.event.message, _objectSpread$
|
|
263
|
+
DivaUtils.businessMetrics.logEvent(event.event.type, this.module, event.event.message, _objectSpread$i(_objectSpread$i(_objectSpread$i({}, event.event.labels), cleanLabels), {}, {
|
|
264
264
|
error: code,
|
|
265
265
|
errorMessage: message,
|
|
266
266
|
eventId: eventId,
|
|
@@ -359,7 +359,7 @@ var ApplicationLogger = /*#__PURE__*/function () {
|
|
|
359
359
|
_onErrorEvent(_error.message, _error.name);
|
|
360
360
|
|
|
361
361
|
//for apm we spread the custom object directly on the error object, so that the are added to APM as custom attributes
|
|
362
|
-
var forApm = _objectSpread$
|
|
362
|
+
var forApm = _objectSpread$i(_objectSpread$i({}, _error), _error.custom);
|
|
363
363
|
(_getApmInstance = getApmInstance()) === null || _getApmInstance === void 0 || _getApmInstance.captureError(forApm);
|
|
364
364
|
}
|
|
365
365
|
}, {
|
|
@@ -433,8 +433,8 @@ if (typeof __webpack_public_path__ !== 'undefined') {
|
|
|
433
433
|
}
|
|
434
434
|
}
|
|
435
435
|
|
|
436
|
-
function ownKeys$
|
|
437
|
-
function _objectSpread$
|
|
436
|
+
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; }
|
|
437
|
+
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; }
|
|
438
438
|
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)); }
|
|
439
439
|
function _isNativeReflectConstruct$2() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct$2 = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
440
440
|
var LOG$e = getLogger('Framework', 'webcomponent');
|
|
@@ -658,14 +658,14 @@ var CoreWrapper = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
658
658
|
if (!components) {
|
|
659
659
|
return /*#__PURE__*/jsx(Fragment, {});
|
|
660
660
|
}
|
|
661
|
-
return /*#__PURE__*/jsx(DivaCore, _objectSpread$
|
|
661
|
+
return /*#__PURE__*/jsx(DivaCore, _objectSpread$h(_objectSpread$h({}, props), {}, {
|
|
662
662
|
components: components,
|
|
663
663
|
ref: ref
|
|
664
664
|
}));
|
|
665
665
|
});
|
|
666
666
|
|
|
667
667
|
//we have to externalize the materialUI styling here, so that also in UMD the same instance is used
|
|
668
|
-
window.MaterialUIStyles = _objectSpread$
|
|
668
|
+
window.MaterialUIStyles = _objectSpread$h(_objectSpread$h({}, Styles), CoreStyles);
|
|
669
669
|
if (!window.customElements.get('diva-framework')) {
|
|
670
670
|
window.customElements.define('diva-framework', DivaFramework);
|
|
671
671
|
}
|
|
@@ -768,8 +768,8 @@ var defaultTheme = {
|
|
|
768
768
|
}
|
|
769
769
|
};
|
|
770
770
|
|
|
771
|
-
function ownKeys$
|
|
772
|
-
function _objectSpread$
|
|
771
|
+
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; }
|
|
772
|
+
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; }
|
|
773
773
|
var LOG$d = getLogger('Framework', 'ConfigurationStore');
|
|
774
774
|
var ConfigurationStore = /*#__PURE__*/function () {
|
|
775
775
|
function ConfigurationStore(root, identifier, defaultApiConfig, domain) {
|
|
@@ -878,7 +878,7 @@ var ConfigurationStore = /*#__PURE__*/function () {
|
|
|
878
878
|
}, {
|
|
879
879
|
key: "navigation",
|
|
880
880
|
get: function get() {
|
|
881
|
-
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, _this$_configuration24, _this$_configuration25, _this$root$dataStore$, _this$
|
|
881
|
+
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, _this$_configuration24, _this$_configuration25, _this$_configuration26, _this$root$dataStore$, _this$_configuration27;
|
|
882
882
|
return {
|
|
883
883
|
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) || [],
|
|
884
884
|
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,
|
|
@@ -886,129 +886,130 @@ var ConfigurationStore = /*#__PURE__*/function () {
|
|
|
886
886
|
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,
|
|
887
887
|
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,
|
|
888
888
|
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,
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
889
|
+
feedbackUrl: (_this$_configuration15 = this._configuration) === null || _this$_configuration15 === void 0 || (_this$_configuration15 = _this$_configuration15.navigation) === null || _this$_configuration15 === void 0 ? void 0 : _this$_configuration15.feedbackUrl,
|
|
890
|
+
logoUrl: (_this$_configuration16 = this._configuration) === null || _this$_configuration16 === void 0 || (_this$_configuration16 = _this$_configuration16.navigation) === null || _this$_configuration16 === void 0 ? void 0 : _this$_configuration16.logoUrl,
|
|
891
|
+
logoAction: (_this$_configuration17 = this._configuration) === null || _this$_configuration17 === void 0 || (_this$_configuration17 = _this$_configuration17.navigation) === null || _this$_configuration17 === void 0 ? void 0 : _this$_configuration17.logoAction,
|
|
892
|
+
enableMobile: (_this$_configuration18 = this._configuration) === null || _this$_configuration18 === void 0 || (_this$_configuration18 = _this$_configuration18.navigation) === null || _this$_configuration18 === void 0 ? void 0 : _this$_configuration18.enableMobile,
|
|
893
|
+
hideHeader: (_this$_configuration19 = this._configuration) === null || _this$_configuration19 === void 0 || (_this$_configuration19 = _this$_configuration19.navigation) === null || _this$_configuration19 === void 0 ? void 0 : _this$_configuration19.hideHeader,
|
|
894
|
+
welcomeText: (_this$_configuration20 = this._configuration) === null || _this$_configuration20 === void 0 || (_this$_configuration20 = _this$_configuration20.navigation) === null || _this$_configuration20 === void 0 ? void 0 : _this$_configuration20.welcomeText,
|
|
895
|
+
showOrgName: (_this$_configuration21 = this._configuration) === null || _this$_configuration21 === void 0 || (_this$_configuration21 = _this$_configuration21.navigation) === null || _this$_configuration21 === void 0 ? void 0 : _this$_configuration21.showOrgName,
|
|
896
|
+
showUserName: (_this$_configuration22 = this._configuration) === null || _this$_configuration22 === void 0 || (_this$_configuration22 = _this$_configuration22.navigation) === null || _this$_configuration22 === void 0 ? void 0 : _this$_configuration22.showUserName,
|
|
897
|
+
showDescription: (_this$_configuration23 = this._configuration) === null || _this$_configuration23 === void 0 || (_this$_configuration23 = _this$_configuration23.navigation) === null || _this$_configuration23 === void 0 ? void 0 : _this$_configuration23.showDescription,
|
|
898
|
+
qrCodeScanner: (_this$_configuration24 = this._configuration) === null || _this$_configuration24 === void 0 || (_this$_configuration24 = _this$_configuration24.navigation) === null || _this$_configuration24 === void 0 ? void 0 : _this$_configuration24.qrCodeScanner,
|
|
899
|
+
greetingsText: (_this$_configuration25 = this._configuration) === null || _this$_configuration25 === void 0 || (_this$_configuration25 = _this$_configuration25.navigation) === null || _this$_configuration25 === void 0 ? void 0 : _this$_configuration25.greetingsText,
|
|
900
|
+
showSnow: (_this$_configuration26 = this._configuration) === null || _this$_configuration26 === void 0 || (_this$_configuration26 = _this$_configuration26.navigation) === null || _this$_configuration26 === void 0 ? void 0 : _this$_configuration26.showSnow,
|
|
901
|
+
pricePreviewActive: ((_this$root$dataStore$ = this.root.dataStore.organization) === null || _this$root$dataStore$ === void 0 || (_this$root$dataStore$ = _this$root$dataStore$.settings) === null || _this$root$dataStore$ === void 0 ? void 0 : _this$root$dataStore$.pricePreview) && this.root.dataStore.organization.settings.pricePreview !== 'off' || ((_this$_configuration27 = this._configuration) === null || _this$_configuration27 === void 0 || (_this$_configuration27 = _this$_configuration27.components.available) === null || _this$_configuration27 === void 0 || (_this$_configuration27 = _this$_configuration27.find(function (c) {
|
|
901
902
|
return c.type === 'DIVA_WEBPLANNER';
|
|
902
|
-
})) === null || _this$
|
|
903
|
+
})) === null || _this$_configuration27 === void 0 || (_this$_configuration27 = _this$_configuration27.settings) === null || _this$_configuration27 === void 0 || (_this$_configuration27 = _this$_configuration27.ViewConfig) === null || _this$_configuration27 === void 0 ? void 0 : _this$_configuration27.pricePreview)
|
|
903
904
|
};
|
|
904
905
|
}
|
|
905
906
|
}, {
|
|
906
907
|
key: "googleMapsconfig",
|
|
907
908
|
get: function get() {
|
|
908
|
-
var _this$
|
|
909
|
+
var _this$_configuration28, _this$_configuration29, _this$_configuration30, _this$_configuration31;
|
|
909
910
|
return {
|
|
910
|
-
id: (_this$
|
|
911
|
-
googleMapsApiKey: (_this$
|
|
912
|
-
language: (_this$
|
|
913
|
-
region: (_this$
|
|
911
|
+
id: (_this$_configuration28 = this._configuration) === null || _this$_configuration28 === void 0 || (_this$_configuration28 = _this$_configuration28.googleMapsConfig) === null || _this$_configuration28 === void 0 ? void 0 : _this$_configuration28.id,
|
|
912
|
+
googleMapsApiKey: (_this$_configuration29 = this._configuration) === null || _this$_configuration29 === void 0 || (_this$_configuration29 = _this$_configuration29.googleMapsConfig) === null || _this$_configuration29 === void 0 ? void 0 : _this$_configuration29.googleMapsApiKey,
|
|
913
|
+
language: (_this$_configuration30 = this._configuration) === null || _this$_configuration30 === void 0 || (_this$_configuration30 = _this$_configuration30.googleMapsConfig) === null || _this$_configuration30 === void 0 ? void 0 : _this$_configuration30.language,
|
|
914
|
+
region: (_this$_configuration31 = this._configuration) === null || _this$_configuration31 === void 0 || (_this$_configuration31 = _this$_configuration31.googleMapsConfig) === null || _this$_configuration31 === void 0 ? void 0 : _this$_configuration31.region
|
|
914
915
|
};
|
|
915
916
|
}
|
|
916
917
|
}, {
|
|
917
918
|
key: "cometchatConfig",
|
|
918
919
|
get: function get() {
|
|
919
|
-
var _this$
|
|
920
|
+
var _this$_configuration32, _this$_configuration33, _this$_configuration34;
|
|
920
921
|
return {
|
|
921
|
-
app_id: (_this$
|
|
922
|
-
app_region: (_this$
|
|
923
|
-
listener_id: (_this$
|
|
922
|
+
app_id: (_this$_configuration32 = this._configuration) === null || _this$_configuration32 === void 0 || (_this$_configuration32 = _this$_configuration32.cometChatConfig) === null || _this$_configuration32 === void 0 ? void 0 : _this$_configuration32.app_id,
|
|
923
|
+
app_region: (_this$_configuration33 = this._configuration) === null || _this$_configuration33 === void 0 || (_this$_configuration33 = _this$_configuration33.cometChatConfig) === null || _this$_configuration33 === void 0 ? void 0 : _this$_configuration33.app_region,
|
|
924
|
+
listener_id: (_this$_configuration34 = this._configuration) === null || _this$_configuration34 === void 0 || (_this$_configuration34 = _this$_configuration34.cometChatConfig) === null || _this$_configuration34 === void 0 ? void 0 : _this$_configuration34.listener_id
|
|
924
925
|
};
|
|
925
926
|
}
|
|
926
927
|
}, {
|
|
927
928
|
key: "hasAuthentication",
|
|
928
929
|
get: function get() {
|
|
929
|
-
var _this$
|
|
930
|
-
return !!((_this$
|
|
930
|
+
var _this$_configuration35;
|
|
931
|
+
return !!((_this$_configuration35 = this._configuration) !== null && _this$_configuration35 !== void 0 && _this$_configuration35.authentication);
|
|
931
932
|
}
|
|
932
933
|
}, {
|
|
933
934
|
key: "authentication",
|
|
934
935
|
get: function get() {
|
|
935
|
-
var _this$_configuration$, _this$
|
|
936
|
-
return _objectSpread$
|
|
936
|
+
var _this$_configuration$, _this$_configuration36, _this$_configuration37, _this$_configuration38, _this$_configuration39, _this$_configuration40, _this$_configuration41, _this$_configuration42, _this$_configuration43, _this$_configuration44, _this$_configuration$2, _this$_configuration45;
|
|
937
|
+
return _objectSpread$g(_objectSpread$g({}, (_this$_configuration$ = (_this$_configuration36 = this._configuration) === null || _this$_configuration36 === void 0 ? void 0 : _this$_configuration36.authentication) !== null && _this$_configuration$ !== void 0 ? _this$_configuration$ : {}), {}, {
|
|
937
938
|
loginMethods: {
|
|
938
|
-
google: (_this$
|
|
939
|
-
microsoft: (_this$
|
|
940
|
-
standard: (_this$
|
|
941
|
-
generic: (_this$
|
|
939
|
+
google: (_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.google : true,
|
|
940
|
+
microsoft: (_this$_configuration39 = this._configuration) !== null && _this$_configuration39 !== void 0 && (_this$_configuration39 = _this$_configuration39.authentication) !== null && _this$_configuration39 !== void 0 && _this$_configuration39.loginMethods ? (_this$_configuration40 = this._configuration) === null || _this$_configuration40 === void 0 || (_this$_configuration40 = _this$_configuration40.authentication) === null || _this$_configuration40 === void 0 ? void 0 : _this$_configuration40.loginMethods.microsoft : true,
|
|
941
|
+
standard: (_this$_configuration41 = this._configuration) !== null && _this$_configuration41 !== void 0 && (_this$_configuration41 = _this$_configuration41.authentication) !== null && _this$_configuration41 !== void 0 && _this$_configuration41.loginMethods ? (_this$_configuration42 = this._configuration) === null || _this$_configuration42 === void 0 || (_this$_configuration42 = _this$_configuration42.authentication) === null || _this$_configuration42 === void 0 ? void 0 : _this$_configuration42.loginMethods.standard : true,
|
|
942
|
+
generic: (_this$_configuration43 = this._configuration) !== null && _this$_configuration43 !== void 0 && (_this$_configuration43 = _this$_configuration43.authentication) !== null && _this$_configuration43 !== void 0 && _this$_configuration43.loginMethods ? this._configuration.authentication.loginMethods.generic : false
|
|
942
943
|
},
|
|
943
|
-
contentBox: (_this$
|
|
944
|
+
contentBox: (_this$_configuration44 = this._configuration) === null || _this$_configuration44 === void 0 || (_this$_configuration44 = _this$_configuration44.authentication) === null || _this$_configuration44 === void 0 ? void 0 : _this$_configuration44.contentBox,
|
|
944
945
|
resetPassword: {
|
|
945
|
-
returnToLogin: (_this$_configuration$2 = (_this$
|
|
946
|
+
returnToLogin: (_this$_configuration$2 = (_this$_configuration45 = this._configuration) === null || _this$_configuration45 === void 0 || (_this$_configuration45 = _this$_configuration45.authentication) === null || _this$_configuration45 === void 0 || (_this$_configuration45 = _this$_configuration45.resetPassword) === null || _this$_configuration45 === void 0 ? void 0 : _this$_configuration45.returnToLogin) !== null && _this$_configuration$2 !== void 0 ? _this$_configuration$2 : true
|
|
946
947
|
}
|
|
947
948
|
});
|
|
948
949
|
}
|
|
949
950
|
}, {
|
|
950
951
|
key: "enableRouting",
|
|
951
952
|
get: function get() {
|
|
952
|
-
var _this$
|
|
953
|
-
return (_this$
|
|
953
|
+
var _this$_configuration46;
|
|
954
|
+
return (_this$_configuration46 = this._configuration) === null || _this$_configuration46 === void 0 ? void 0 : _this$_configuration46.enableRouting;
|
|
954
955
|
}
|
|
955
956
|
}, {
|
|
956
957
|
key: "enableStorage",
|
|
957
958
|
get: function get() {
|
|
958
|
-
var _this$
|
|
959
|
-
return (_this$
|
|
959
|
+
var _this$_configuration47;
|
|
960
|
+
return (_this$_configuration47 = this._configuration) === null || _this$_configuration47 === void 0 ? void 0 : _this$_configuration47.enableStorage;
|
|
960
961
|
}
|
|
961
962
|
}, {
|
|
962
963
|
key: "telemetrySettings",
|
|
963
964
|
get: function get() {
|
|
964
|
-
var _this$
|
|
965
|
-
return (_this$
|
|
965
|
+
var _this$_configuration48;
|
|
966
|
+
return (_this$_configuration48 = this._configuration) === null || _this$_configuration48 === void 0 ? void 0 : _this$_configuration48.telemetry;
|
|
966
967
|
}
|
|
967
968
|
}, {
|
|
968
969
|
key: "enableModals",
|
|
969
970
|
get: function get() {
|
|
970
|
-
var _this$
|
|
971
|
-
return !((_this$
|
|
971
|
+
var _this$_configuration49;
|
|
972
|
+
return !((_this$_configuration49 = this._configuration) !== null && _this$_configuration49 !== void 0 && _this$_configuration49.disableModals);
|
|
972
973
|
}
|
|
973
974
|
}, {
|
|
974
975
|
key: "enableSupport",
|
|
975
976
|
get: function get() {
|
|
976
|
-
var _this$
|
|
977
|
-
return (_this$
|
|
977
|
+
var _this$_configuration50;
|
|
978
|
+
return (_this$_configuration50 = this._configuration) === null || _this$_configuration50 === void 0 ? void 0 : _this$_configuration50.enableSupport;
|
|
978
979
|
}
|
|
979
980
|
}, {
|
|
980
981
|
key: "showInitWarnBanner",
|
|
981
982
|
get: function get() {
|
|
982
|
-
var _this$defaultApiConfi, _this$defaultApiConfi2, _this$defaultApiConfi3, _this$
|
|
983
|
+
var _this$defaultApiConfi, _this$defaultApiConfi2, _this$defaultApiConfi3, _this$_configuration51;
|
|
983
984
|
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') {
|
|
984
985
|
localStorage.removeItem('bannerViews');
|
|
985
986
|
}
|
|
986
|
-
return ((_this$defaultApiConfi3 = this.defaultApiConfig) === null || _this$defaultApiConfi3 === void 0 ? void 0 : _this$defaultApiConfi3.showInitWarnBanner) === 'true' && ((_this$
|
|
987
|
+
return ((_this$defaultApiConfi3 = this.defaultApiConfig) === null || _this$defaultApiConfi3 === void 0 ? void 0 : _this$defaultApiConfi3.showInitWarnBanner) === 'true' && ((_this$_configuration51 = this._configuration) === null || _this$_configuration51 === void 0 ? void 0 : _this$_configuration51.showInitWarnBanner);
|
|
987
988
|
}
|
|
988
989
|
}, {
|
|
989
990
|
key: "apiConfig",
|
|
990
991
|
get: function get() {
|
|
991
|
-
var _this$
|
|
992
|
-
return parseApiConfig((_this$
|
|
992
|
+
var _this$_configuration52;
|
|
993
|
+
return parseApiConfig((_this$_configuration52 = this._configuration) === null || _this$_configuration52 === void 0 ? void 0 : _this$_configuration52.api, this.defaultApiConfig, this.root.dataStore.organization);
|
|
993
994
|
}
|
|
994
995
|
}, {
|
|
995
996
|
key: "applicationEnvironment",
|
|
996
997
|
get: function get() {
|
|
997
|
-
var _this$_configuration$3, _this$
|
|
998
|
-
return (_this$_configuration$3 = (_this$
|
|
998
|
+
var _this$_configuration$3, _this$_configuration53;
|
|
999
|
+
return (_this$_configuration$3 = (_this$_configuration53 = this._configuration) === null || _this$_configuration53 === void 0 ? void 0 : _this$_configuration53.applicationEnvironment) !== null && _this$_configuration$3 !== void 0 ? _this$_configuration$3 : 'SELLER';
|
|
999
1000
|
}
|
|
1000
1001
|
}, {
|
|
1001
1002
|
key: "priceFormat",
|
|
1002
1003
|
get: function get() {
|
|
1003
|
-
var _this$
|
|
1004
|
-
if ((_this$
|
|
1005
|
-
var _this$
|
|
1006
|
-
return _objectSpread$
|
|
1007
|
-
currency: (_this$root$dataStore$2 = (_this$root$dataStore$3 = this.root.dataStore.organization) === null || _this$root$dataStore$3 === void 0 ? void 0 : _this$root$dataStore$3.settings.defaultCurrency) !== null && _this$root$dataStore$2 !== void 0 ? _this$root$dataStore$2 : (_this$
|
|
1004
|
+
var _this$_configuration54;
|
|
1005
|
+
if ((_this$_configuration54 = this._configuration) !== null && _this$_configuration54 !== void 0 && _this$_configuration54.priceFormat) {
|
|
1006
|
+
var _this$_configuration55, _this$root$dataStore$2, _this$root$dataStore$3, _this$_configuration56;
|
|
1007
|
+
return _objectSpread$g(_objectSpread$g({}, (_this$_configuration55 = this._configuration) === null || _this$_configuration55 === void 0 ? void 0 : _this$_configuration55.priceFormat), {}, {
|
|
1008
|
+
currency: (_this$root$dataStore$2 = (_this$root$dataStore$3 = this.root.dataStore.organization) === null || _this$root$dataStore$3 === void 0 ? void 0 : _this$root$dataStore$3.settings.defaultCurrency) !== null && _this$root$dataStore$2 !== void 0 ? _this$root$dataStore$2 : (_this$_configuration56 = this._configuration) === null || _this$_configuration56 === void 0 ? void 0 : _this$_configuration56.priceFormat.currency
|
|
1008
1009
|
});
|
|
1009
1010
|
} else {
|
|
1010
1011
|
var _this$root$dataStore$4, _this$root$dataStore$5;
|
|
1011
|
-
return _objectSpread$
|
|
1012
|
+
return _objectSpread$g(_objectSpread$g({}, DivaUtils.defaultPriceFormat), {}, {
|
|
1012
1013
|
currency: (_this$root$dataStore$4 = (_this$root$dataStore$5 = this.root.dataStore.organization) === null || _this$root$dataStore$5 === void 0 ? void 0 : _this$root$dataStore$5.settings.defaultCurrency) !== null && _this$root$dataStore$4 !== void 0 ? _this$root$dataStore$4 : DivaUtils.defaultPriceFormat.currency
|
|
1013
1014
|
});
|
|
1014
1015
|
}
|
|
@@ -1016,17 +1017,17 @@ var ConfigurationStore = /*#__PURE__*/function () {
|
|
|
1016
1017
|
}, {
|
|
1017
1018
|
key: "countryCodesFile",
|
|
1018
1019
|
get: function get() {
|
|
1019
|
-
var _this$
|
|
1020
|
-
return (_this$
|
|
1020
|
+
var _this$_configuration57;
|
|
1021
|
+
return (_this$_configuration57 = this._configuration) === null || _this$_configuration57 === void 0 ? void 0 : _this$_configuration57.countryCodesFile;
|
|
1021
1022
|
}
|
|
1022
1023
|
}, {
|
|
1023
1024
|
key: "allowedOrganizationTypes",
|
|
1024
1025
|
get: function get() {
|
|
1025
|
-
var _this$
|
|
1026
|
-
if (!((_this$
|
|
1026
|
+
var _this$_configuration58, _this$_configuration59, _this$_configuration60, _this$_configuration61;
|
|
1027
|
+
if (!((_this$_configuration58 = this._configuration) !== null && _this$_configuration58 !== void 0 && _this$_configuration58.allowedOrganizationTypes)) {
|
|
1027
1028
|
return ['RETAILER'];
|
|
1028
1029
|
}
|
|
1029
|
-
return Array.isArray((_this$
|
|
1030
|
+
return Array.isArray((_this$_configuration59 = this._configuration) === null || _this$_configuration59 === void 0 ? void 0 : _this$_configuration59.allowedOrganizationTypes) ? (_this$_configuration60 = this._configuration) === null || _this$_configuration60 === void 0 ? void 0 : _this$_configuration60.allowedOrganizationTypes : [(_this$_configuration61 = this._configuration) === null || _this$_configuration61 === void 0 ? void 0 : _this$_configuration61.allowedOrganizationTypes];
|
|
1030
1031
|
}
|
|
1031
1032
|
}, {
|
|
1032
1033
|
key: "resetConfigurationCache",
|
|
@@ -1219,8 +1220,8 @@ function isIpadOS() {
|
|
|
1219
1220
|
return navigator.maxTouchPoints && navigator.maxTouchPoints > 2 && /MacIntel/.test(navigator.platform);
|
|
1220
1221
|
}
|
|
1221
1222
|
|
|
1222
|
-
function ownKeys$
|
|
1223
|
-
function _objectSpread$
|
|
1223
|
+
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; }
|
|
1224
|
+
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; }
|
|
1224
1225
|
var LOG$c = getLogger('Framework', 'DataStore');
|
|
1225
1226
|
var DataStore = /*#__PURE__*/function () {
|
|
1226
1227
|
function DataStore(root) {
|
|
@@ -1258,8 +1259,8 @@ var DataStore = /*#__PURE__*/function () {
|
|
|
1258
1259
|
key: "organization",
|
|
1259
1260
|
get: function get() {
|
|
1260
1261
|
var _settings$defaultCurr, _settings;
|
|
1261
|
-
return this._organization ? _objectSpread$
|
|
1262
|
-
settings: _objectSpread$
|
|
1262
|
+
return this._organization ? _objectSpread$f(_objectSpread$f({}, this._organization), {}, {
|
|
1263
|
+
settings: _objectSpread$f(_objectSpread$f({}, this._organization.settings), {}, {
|
|
1263
1264
|
defaultCurrency: (_settings$defaultCurr = (_settings = this._organization.settings) === null || _settings === void 0 ? void 0 : _settings.defaultCurrency) !== null && _settings$defaultCurr !== void 0 ? _settings$defaultCurr : '€'
|
|
1264
1265
|
})
|
|
1265
1266
|
}) : this._organization;
|
|
@@ -1300,7 +1301,7 @@ var DataStore = /*#__PURE__*/function () {
|
|
|
1300
1301
|
return [].concat(_toConsumableArray(((_this$_organization$p = (_this$_organization$p2 = this._organization.parentOrganizations) === null || _this$_organization$p2 === void 0 ? void 0 : _this$_organization$p2.filter(function (org) {
|
|
1301
1302
|
return _this._parentOrganizations.includes(org._id);
|
|
1302
1303
|
})) !== null && _this$_organization$p !== void 0 ? _this$_organization$p : []).map(function (org) {
|
|
1303
|
-
return _objectSpread$
|
|
1304
|
+
return _objectSpread$f(_objectSpread$f({}, org), {}, {
|
|
1304
1305
|
type: org.type != 'SUPPLIER' ? org.parentType : undefined //supplier should not be accessed directly, only its children, so the simpliest solution is to remove here the type
|
|
1305
1306
|
});
|
|
1306
1307
|
}).reverse()), [{
|
|
@@ -1739,22 +1740,29 @@ var separator = "separator-Hg6fH";
|
|
|
1739
1740
|
var input = "input--Dl8e";
|
|
1740
1741
|
var readonly = "readonly-uw66l";
|
|
1741
1742
|
var link = "link-s-Rcm";
|
|
1742
|
-
var css_248z$6 = ".titlecontainer-LeRMj {\n text-align: center;\n color: #474747;\n}\n\n.auth-y9j9- {\n height: 100%;\n width: 100%;\n display: flex;\n background-color: rgba(255, 255, 255);\n z-index: 3;\n overflow: auto;\n justify-content: center;\n align-items: center;\n position: absolute;\n}\n\n.login-box-Zu-QM {\n padding: 20px;\n width: 400px;\n margin: 50px auto auto auto;\n position: relative;\n}\n\n@media (max-height: 450px) {\n .login-box-Zu-QM {\n margin: auto;\n }\n}\n\n.logo-container-Gujpy {\n background-repeat: no-repeat;\n background-position: center;\n background-size: contain;\n margin-bottom: 50px;\n}\n\n.success-7n9-D {\n width: 100%;\n padding: 12px;\n border-radius: 4px;\n margin: 15px 0;\n box-sizing: border-box;\n background-color: rgb(228, 244, 228);\n color: rgb(17, 97, 73);\n border: rgb(195, 231, 202) solid 1px;\n border-left: solid 4px;\n line-height: 20px;\n font-size: 16px;\n position: relative;\n}\n\n.success-7n9-D span {\n width: 30px;\n height: 100%;\n float: left;\n background-repeat: no-repeat;\n background-image: url(\"data:image/svg+xml,%3Csvg fill%3D%22rgb(19%2C 170%2C 82)%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 height%3D%2230px%22 width%3D%2230px%22 viewBox%3D%220 0 24 24%22 %3E%3Cpath fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M8 15A7 7 0 108 1a7 7 0 000 14zm2.448-10.104a.997.997 0 111.508 1.306l-4.572 5.28a1 1 0 01-1.64-.07l-1.82-2.868a1 1 0 111.69-1.07l1.1 1.734 3.734-4.312z%22 fill%3D%22currentColor%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E\");\n position: absolute;\n}\n\n.success-7n9-D div {\n text-align: justify;\n margin-left: 30px;\n}\n\n[dir=\"ltr\"] .error-gJyOw {\n text-align: left;\n}\n\n[dir=\"rtl\"] .error-gJyOw {\n text-align: right;\n}\n\n.error-gJyOw {\n border-left: 4px solid red !important;\n}\n\n.error-gJyOw {\n border-radius: 4px;\n padding: 10px;\n display: flex;\n align-items: center;\n}\n\n.auth-button-nvUhU {\n width: 100%;\n padding: 12px;\n border-radius: 4px;\n margin: 15px 0;\n opacity: 0.85;\n font-size: 17px;\n line-height: 22px;\n cursor: pointer;\n box-sizing: border-box;\n background-color: var(--diva-theme-palette-primary-main);\n text-align: center;\n color: var(--diva-theme-palette-primary-contrast-text);\n}\n\n.auth-button-nvUhU:hover {\n opacity: 1;\n}\n\n.button-disabled-GS-ox {\n opacity: 0.3;\n cursor: auto;\n cursor: initial;\n}\n.button-disabled-GS-ox:hover {\n opacity: 0.3;\n}\n\n.social-button-p5pUa div {\n width: 30px;\n height: 22px;\n float: left;\n background-repeat: no-repeat;\n background-size: contain;\n background-position: center;\n}\n\n.google-WhFJU,\n.microsoft-e3GYR {\n font-size: medium;\n margin-top: 16px;\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 12px;\n background-color: white;\n color: #333;\n border: 1px solid #ddd;\n border-radius: 4px;\n font-weight: 600;\n padding: 12px;\n transition: all 0.3s ease-in-out;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n}\n\n.google-WhFJU:hover,\n.microsoft-e3GYR:hover {\n background-color: #f8f9fa;\n border-color: #bbb;\n box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);\n}\n.google-WhFJU div {\n background-image: url(\"data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22utf-8%22%3F%3E%3C!-- Uploaded to%3A SVG Repo%2C www.svgrepo.com%2C Generator%3A SVG Repo Mixer Tools --%3E%3Csvg width%3D%22800px%22 height%3D%22800px%22 viewBox%3D%22-3 0 262 262%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 preserveAspectRatio%3D%22xMidYMid%22%3E%3Cpath d%3D%22M255.878 133.451c0-10.734-.871-18.567-2.756-26.69H130.55v48.448h71.947c-1.45 12.04-9.283 30.172-26.69 42.356l-.244 1.622 38.755 30.023 2.685.268c24.659-22.774 38.875-56.282 38.875-96.027%22 fill%3D%22%234285F4%22%2F%3E%3Cpath d%3D%22M130.55 261.1c35.248 0 64.839-11.605 86.453-31.622l-41.196-31.913c-11.024 7.688-25.82 13.055-45.257 13.055-34.523 0-63.824-22.773-74.269-54.25l-1.531.13-40.298 31.187-.527 1.465C35.393 231.798 79.49 261.1 130.55 261.1%22 fill%3D%22%2334A853%22%2F%3E%3Cpath d%3D%22M56.281 156.37c-2.756-8.123-4.351-16.827-4.351-25.82 0-8.994 1.595-17.697 4.206-25.82l-.073-1.73L15.26 71.312l-1.335.635C5.077 89.644 0 109.517 0 130.55s5.077 40.905 13.925 58.602l42.356-32.782%22 fill%3D%22%23FBBC05%22%2F%3E%3Cpath d%3D%22M130.55 50.479c24.514 0 41.05 10.589 50.479 19.438l36.844-35.974C195.245 12.91 165.798 0 130.55 0 79.49 0 35.393 29.301 13.925 71.947l42.211 32.783c10.59-31.477 39.891-54.251 74.414-54.251%22 fill%3D%22%23EB4335%22%2F%3E%3C%2Fsvg%3E\");\n}\n.microsoft-e3GYR div {\n background-image: url(\"data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22utf-8%22%3F%3E%3C!-- Uploaded to%3A SVG Repo%2C www.svgrepo.com%2C Generator%3A SVG Repo Mixer Tools --%3E%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22aria-label%3D%22Microsoft%22 role%3D%22img%22viewBox%3D%220 0 512 512%22%3E%3Crectwidth%3D%22512%22 height%3D%22512%22rx%3D%2215%25%22fill%3D%22%23ffffff%22%2F%3E%3Cpathd%3D%22M75 75v171h171v-171z%22 fill%3D%22%23f25022%22%2F%3E%3Cpathd%3D%22M266 75v171h171v-171z%22 fill%3D%22%237fba00%22%2F%3E%3Cpathd%3D%22M75 266v171h171v-171z%22 fill%3D%22%2300a4ef%22%2F%3E%3Cpathd%3D%22M266 266v171h171v-171z%22 fill%3D%22%23ffb900%22%2F%3E%3C%2Fsvg%3E\");\n}\n\n.separator-Hg6fH {\n display: flex;\n align-items: center;\n text-align: center;\n color: rgb(184, 196, 194);\n}\n\n.separator-Hg6fH::before,\n.separator-Hg6fH::after {\n content: '';\n flex: 1;\n border-bottom: 1px solid rgb(184, 196, 194);\n}\n\n.separator-Hg6fH:not(:empty)::before {\n margin-right: 0.25em;\n}\n\n.separator-Hg6fH:not(:empty)::after {\n margin-left: 0.25em;\n}\n\n.input--Dl8e {\n width: 100%;\n padding: 1em;\n border: solid 1px rgba(0, 0, 0, 0.1);\n border-radius: 0.3em;\n outline: none;\n margin: 15px 0;\n box-sizing: border-box;\n}\n\n.input--Dl8e:hover,\n.input--Dl8e:focus,\n.input--Dl8e:active {\n border: solid 1px var(--diva-theme-palette-primary-main);\n}\n\n.input--Dl8e::-moz-placeholder {\n color: rgba(0, 0, 0, 0.25);\n}\n\n.input--Dl8e::placeholder {\n color: rgba(0, 0, 0, 0.25);\n}\n\n.input--Dl8e.readonly-uw66l {\n border: solid 1px rgba(0, 0, 0, 0.1);\n color: rgba(0, 0, 0, 0.25);\n}\n\n.reset-input-ERpB4 {\n position: relative;\n}\n\n.reset-input-ERpB4:after {\n content: '';\n position: absolute;\n right: 10px;\n top: 0;\n bottom: 0;\n width: 20px;\n background: url(\"data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 %3F%3E%3C!DOCTYPE svg PUBLIC '-%2F%2FW3C%2F%2FDTD SVG 1.1%2F%2FEN' 'http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd'%3E%3Csvg id%3D%22Layer_1%22 style%3D%22enable-background%3Anew 0 0 512 512%3B%22 version%3D%221.1%22 viewBox%3D%220 0 512 512%22 width%3D%22512px%22 xml%3Aspace%3D%22preserve%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%3Cg%3E%3Cpath d%3D%22M256%2C33C132.3%2C33%2C32%2C133.3%2C32%2C257c0%2C123.7%2C100.3%2C224%2C224%2C224c123.7%2C0%2C224-100.3%2C224-224C480%2C133.3%2C379.7%2C33%2C256%2C33z M364.3%2C332.5c1.5%2C1.5%2C2.3%2C3.5%2C2.3%2C5.6c0%2C2.1-0.8%2C4.2-2.3%2C5.6l-21.6%2C21.7c-1.6%2C1.6-3.6%2C2.3-5.6%2C2.3c-2%2C0-4.1-0.8-5.6-2.3L256%2C289.8 l-75.4%2C75.7c-1.5%2C1.6-3.6%2C2.3-5.6%2C2.3c-2%2C0-4.1-0.8-5.6-2.3l-21.6-21.7c-1.5-1.5-2.3-3.5-2.3-5.6c0-2.1%2C0.8-4.2%2C2.3-5.6l75.7-76 l-75.9-75c-3.1-3.1-3.1-8.2%2C0-11.3l21.6-21.7c1.5-1.5%2C3.5-2.3%2C5.6-2.3c2.1%2C0%2C4.1%2C0.8%2C5.6%2C2.3l75.7%2C74.7l75.7-74.7 c1.5-1.5%2C3.5-2.3%2C5.6-2.3c2.1%2C0%2C4.1%2C0.8%2C5.6%2C2.3l21.6%2C21.7c3.1%2C3.1%2C3.1%2C8.2%2C0%2C11.3l-75.9%2C75L364.3%2C332.5z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E\") center / contain no-repeat;\n cursor: pointer;\n opacity: 0.7;\n}\n\n.link-s-Rcm {\n color: var(--diva-theme-palette-primary-main);\n cursor: pointer;\n display: inline-block;\n}\n";
|
|
1743
|
+
var css_248z$6 = ".titlecontainer-LeRMj {\n text-align: center;\n color: #474747;\n}\n\n.auth-y9j9- {\n height: 100%;\n width: 100%;\n display: flex;\n background-color: rgba(255, 255, 255);\n z-index: 3;\n overflow: auto;\n justify-content: center;\n align-items: center;\n position: absolute;\n}\n\n.login-box-Zu-QM {\n padding: 20px;\n width: 400px;\n margin: 50px auto auto auto;\n position: relative;\n}\n\n@media (max-height: 450px) {\n .login-box-Zu-QM {\n margin: auto;\n }\n}\n\n.logo-container-Gujpy {\n background-repeat: no-repeat;\n background-position: center;\n background-size: contain;\n margin-bottom: 50px;\n}\n\n.success-7n9-D {\n width: 100%;\n padding: 12px;\n border-radius: 4px;\n margin: 15px 0;\n box-sizing: border-box;\n background-color: rgb(228, 244, 228);\n color: rgb(17, 97, 73);\n border: rgb(195, 231, 202) solid 1px;\n border-left: solid 4px;\n line-height: 20px;\n font-size: 16px;\n position: relative;\n}\n\n.success-7n9-D span {\n width: 30px;\n height: 100%;\n float: left;\n background-repeat: no-repeat;\n background-image: url(\"data:image/svg+xml,%3Csvg fill%3D%22rgb(19%2C 170%2C 82)%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 height%3D%2230px%22 width%3D%2230px%22 viewBox%3D%220 0 24 24%22 %3E%3Cpath fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M8 15A7 7 0 108 1a7 7 0 000 14zm2.448-10.104a.997.997 0 111.508 1.306l-4.572 5.28a1 1 0 01-1.64-.07l-1.82-2.868a1 1 0 111.69-1.07l1.1 1.734 3.734-4.312z%22 fill%3D%22currentColor%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E\");\n position: absolute;\n}\n\n.success-7n9-D div {\n text-align: justify;\n margin-left: 30px;\n}\n\n[dir=\"ltr\"] .error-gJyOw {\n text-align: left;\n}\n\n[dir=\"rtl\"] .error-gJyOw {\n text-align: right;\n}\n\n.error-gJyOw {\n border-left: 4px solid red !important;\n}\n\n.error-gJyOw {\n border-radius: 4px;\n padding: 10px;\n display: flex;\n align-items: center;\n}\n\n.auth-button-nvUhU {\n width: 100%;\n padding: 12px;\n border-radius: 4px;\n margin: 15px 0;\n opacity: 0.85;\n font-size: 17px;\n line-height: 22px;\n cursor: pointer;\n box-sizing: border-box;\n background-color: var(--diva-theme-palette-primary-main);\n text-align: center;\n color: var(--diva-theme-palette-primary-contrast-text);\n}\n\n.auth-button-nvUhU:hover {\n opacity: 1;\n}\n\n.button-disabled-GS-ox {\n opacity: 0.3;\n cursor: auto;\n cursor: initial;\n}\n.button-disabled-GS-ox:hover {\n opacity: 0.3;\n}\n\n.social-button-p5pUa {\n justify-content: space-around;\n text-transform: none;\n}\n\n.social-button-p5pUa div {\n width: 30px;\n height: 22px;\n float: left;\n background-repeat: no-repeat;\n background-size: contain;\n background-position: center;\n}\n\n.google-WhFJU,\n.microsoft-e3GYR {\n font-size: medium;\n margin-top: 16px;\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 12px;\n background-color: white;\n color: #333;\n border: 1px solid #ddd;\n border-radius: 4px;\n font-weight: 600;\n padding: 12px;\n transition: all 0.3s ease-in-out;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n}\n\n.google-WhFJU:hover,\n.microsoft-e3GYR:hover {\n background-color: #f8f9fa;\n border-color: #bbb;\n box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);\n}\n.google-WhFJU div {\n background-image: url(\"data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22utf-8%22%3F%3E%3C!-- Uploaded to%3A SVG Repo%2C www.svgrepo.com%2C Generator%3A SVG Repo Mixer Tools --%3E%3Csvg width%3D%22800px%22 height%3D%22800px%22 viewBox%3D%22-3 0 262 262%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 preserveAspectRatio%3D%22xMidYMid%22%3E%3Cpath d%3D%22M255.878 133.451c0-10.734-.871-18.567-2.756-26.69H130.55v48.448h71.947c-1.45 12.04-9.283 30.172-26.69 42.356l-.244 1.622 38.755 30.023 2.685.268c24.659-22.774 38.875-56.282 38.875-96.027%22 fill%3D%22%234285F4%22%2F%3E%3Cpath d%3D%22M130.55 261.1c35.248 0 64.839-11.605 86.453-31.622l-41.196-31.913c-11.024 7.688-25.82 13.055-45.257 13.055-34.523 0-63.824-22.773-74.269-54.25l-1.531.13-40.298 31.187-.527 1.465C35.393 231.798 79.49 261.1 130.55 261.1%22 fill%3D%22%2334A853%22%2F%3E%3Cpath d%3D%22M56.281 156.37c-2.756-8.123-4.351-16.827-4.351-25.82 0-8.994 1.595-17.697 4.206-25.82l-.073-1.73L15.26 71.312l-1.335.635C5.077 89.644 0 109.517 0 130.55s5.077 40.905 13.925 58.602l42.356-32.782%22 fill%3D%22%23FBBC05%22%2F%3E%3Cpath d%3D%22M130.55 50.479c24.514 0 41.05 10.589 50.479 19.438l36.844-35.974C195.245 12.91 165.798 0 130.55 0 79.49 0 35.393 29.301 13.925 71.947l42.211 32.783c10.59-31.477 39.891-54.251 74.414-54.251%22 fill%3D%22%23EB4335%22%2F%3E%3C%2Fsvg%3E\");\n}\n.microsoft-e3GYR div {\n background-image: url(\"data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22utf-8%22%3F%3E%3C!-- Uploaded to%3A SVG Repo%2C www.svgrepo.com%2C Generator%3A SVG Repo Mixer Tools --%3E%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22aria-label%3D%22Microsoft%22 role%3D%22img%22viewBox%3D%220 0 512 512%22%3E%3Crectwidth%3D%22512%22 height%3D%22512%22rx%3D%2215%25%22fill%3D%22%23ffffff%22%2F%3E%3Cpathd%3D%22M75 75v171h171v-171z%22 fill%3D%22%23f25022%22%2F%3E%3Cpathd%3D%22M266 75v171h171v-171z%22 fill%3D%22%237fba00%22%2F%3E%3Cpathd%3D%22M75 266v171h171v-171z%22 fill%3D%22%2300a4ef%22%2F%3E%3Cpathd%3D%22M266 266v171h171v-171z%22 fill%3D%22%23ffb900%22%2F%3E%3C%2Fsvg%3E\");\n}\n\n.separator-Hg6fH {\n display: flex;\n align-items: center;\n text-align: center;\n color: rgb(184, 196, 194);\n}\n\n.separator-Hg6fH::before,\n.separator-Hg6fH::after {\n content: '';\n flex: 1;\n border-bottom: 1px solid rgb(184, 196, 194);\n}\n\n.separator-Hg6fH:not(:empty)::before {\n margin-right: 0.25em;\n}\n\n.separator-Hg6fH:not(:empty)::after {\n margin-left: 0.25em;\n}\n\n.input--Dl8e {\n width: 100%;\n padding: 1em;\n border: solid 1px rgba(0, 0, 0, 0.1);\n border-radius: 0.3em;\n outline: none;\n margin: 15px 0;\n box-sizing: border-box;\n}\n\n.input--Dl8e:hover,\n.input--Dl8e:focus,\n.input--Dl8e:active {\n border: solid 1px var(--diva-theme-palette-primary-main);\n}\n\n.input--Dl8e::-moz-placeholder {\n color: rgba(0, 0, 0, 0.25);\n}\n\n.input--Dl8e::placeholder {\n color: rgba(0, 0, 0, 0.25);\n}\n\n.input--Dl8e.readonly-uw66l {\n border: solid 1px rgba(0, 0, 0, 0.1);\n color: rgba(0, 0, 0, 0.25);\n}\n\n.reset-input-ERpB4 {\n position: relative;\n}\n\n.reset-input-ERpB4:after {\n content: '';\n position: absolute;\n right: 10px;\n top: 0;\n bottom: 0;\n width: 20px;\n background: url(\"data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 %3F%3E%3C!DOCTYPE svg PUBLIC '-%2F%2FW3C%2F%2FDTD SVG 1.1%2F%2FEN' 'http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd'%3E%3Csvg id%3D%22Layer_1%22 style%3D%22enable-background%3Anew 0 0 512 512%3B%22 version%3D%221.1%22 viewBox%3D%220 0 512 512%22 width%3D%22512px%22 xml%3Aspace%3D%22preserve%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%3Cg%3E%3Cpath d%3D%22M256%2C33C132.3%2C33%2C32%2C133.3%2C32%2C257c0%2C123.7%2C100.3%2C224%2C224%2C224c123.7%2C0%2C224-100.3%2C224-224C480%2C133.3%2C379.7%2C33%2C256%2C33z M364.3%2C332.5c1.5%2C1.5%2C2.3%2C3.5%2C2.3%2C5.6c0%2C2.1-0.8%2C4.2-2.3%2C5.6l-21.6%2C21.7c-1.6%2C1.6-3.6%2C2.3-5.6%2C2.3c-2%2C0-4.1-0.8-5.6-2.3L256%2C289.8 l-75.4%2C75.7c-1.5%2C1.6-3.6%2C2.3-5.6%2C2.3c-2%2C0-4.1-0.8-5.6-2.3l-21.6-21.7c-1.5-1.5-2.3-3.5-2.3-5.6c0-2.1%2C0.8-4.2%2C2.3-5.6l75.7-76 l-75.9-75c-3.1-3.1-3.1-8.2%2C0-11.3l21.6-21.7c1.5-1.5%2C3.5-2.3%2C5.6-2.3c2.1%2C0%2C4.1%2C0.8%2C5.6%2C2.3l75.7%2C74.7l75.7-74.7 c1.5-1.5%2C3.5-2.3%2C5.6-2.3c2.1%2C0%2C4.1%2C0.8%2C5.6%2C2.3l21.6%2C21.7c3.1%2C3.1%2C3.1%2C8.2%2C0%2C11.3l-75.9%2C75L364.3%2C332.5z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E\") center / contain no-repeat;\n cursor: pointer;\n opacity: 0.7;\n}\n\n.link-s-Rcm {\n color: var(--diva-theme-palette-primary-main);\n cursor: pointer;\n display: inline-block;\n}\n";
|
|
1743
1744
|
styleInject(css_248z$6);
|
|
1744
1745
|
|
|
1745
|
-
|
|
1746
|
+
var _excluded$7 = ["className", "disabled", "children", "onClick", "style"];
|
|
1747
|
+
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; }
|
|
1748
|
+
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; }
|
|
1749
|
+
function AuthButton(_ref) {
|
|
1746
1750
|
var className = _ref.className,
|
|
1747
1751
|
disabled = _ref.disabled,
|
|
1748
1752
|
children = _ref.children,
|
|
1749
|
-
onClick = _ref.onClick
|
|
1750
|
-
|
|
1753
|
+
onClick = _ref.onClick,
|
|
1754
|
+
style = _ref.style,
|
|
1755
|
+
props = _objectWithoutProperties(_ref, _excluded$7);
|
|
1756
|
+
return /*#__PURE__*/jsx(Button, _objectSpread$e(_objectSpread$e({
|
|
1751
1757
|
id: "submit",
|
|
1752
1758
|
variant: "contained",
|
|
1753
1759
|
disabled: disabled,
|
|
1754
1760
|
onClick: onClick,
|
|
1755
1761
|
className: classnames(authButton, className, disabled ? buttonDisabled : undefined),
|
|
1762
|
+
style: style
|
|
1763
|
+
}, props), {}, {
|
|
1756
1764
|
children: children
|
|
1757
|
-
});
|
|
1765
|
+
}));
|
|
1758
1766
|
}
|
|
1759
1767
|
|
|
1760
1768
|
var _excluded$6 = ["className", "readOnly", "resetInput"];
|
|
@@ -1894,7 +1902,7 @@ function Barrier (_ref) {
|
|
|
1894
1902
|
tos: tosChecked,
|
|
1895
1903
|
setTos: setTosChecked
|
|
1896
1904
|
}), actions === null || actions === void 0 ? void 0 : actions.map(function (a, index) {
|
|
1897
|
-
return /*#__PURE__*/jsx(
|
|
1905
|
+
return /*#__PURE__*/jsx(AuthButton, {
|
|
1898
1906
|
"data-test-id": "barrier-action-button",
|
|
1899
1907
|
className: a.className,
|
|
1900
1908
|
disabled: disabledActions === null || disabledActions === void 0 ? void 0 : disabledActions[index],
|
|
@@ -4943,7 +4951,7 @@ var ApiHandler = /*#__PURE__*/function () {
|
|
|
4943
4951
|
});
|
|
4944
4952
|
case 7:
|
|
4945
4953
|
response = _context2.sent;
|
|
4946
|
-
if (!(response.status ==
|
|
4954
|
+
if (!(response.status == 200)) {
|
|
4947
4955
|
_context2.next = 10;
|
|
4948
4956
|
break;
|
|
4949
4957
|
}
|
|
@@ -8807,7 +8815,7 @@ var RootStore = /*#__PURE__*/function () {
|
|
|
8807
8815
|
var _configuration$enviro2;
|
|
8808
8816
|
var myUserAgentInfo = getUserAgentInfo();
|
|
8809
8817
|
DivaUtils.businessMetrics.init("production" != 'development', // true, - to local test on PETERPC
|
|
8810
|
-
(_configuration$enviro2 = configuration.environment) !== null && _configuration$enviro2 !== void 0 ? _configuration$enviro2 : 'PROD', window.DIVA_VERSION, _this4.apiConfig.analyticsService, _this4.jwt, telemetrySettings === null || telemetrySettings === void 0 ? void 0 : telemetrySettings.personalData, myUserAgentInfo.family, myUserAgentInfo.os, myUserAgentInfo.deviceName, myUserAgentInfo.browser, myUserAgentInfo.screenWidth, myUserAgentInfo.screenHeight, myUserAgentInfo.osVersion, configuration.applicationEnvironment);
|
|
8818
|
+
(_configuration$enviro2 = configuration.environment) !== null && _configuration$enviro2 !== void 0 ? _configuration$enviro2 : 'PROD', window.DIVA_VERSION, _this4.apiConfig.analyticsService, _this4.jwt, telemetrySettings === null || telemetrySettings === void 0 ? void 0 : telemetrySettings.personalData, myUserAgentInfo.family, myUserAgentInfo.os, myUserAgentInfo.deviceName, myUserAgentInfo.browser, myUserAgentInfo.screenWidth, myUserAgentInfo.screenHeight, myUserAgentInfo.osVersion, configuration.applicationEnvironment, language);
|
|
8811
8819
|
}
|
|
8812
8820
|
});
|
|
8813
8821
|
} else {
|
|
@@ -8815,7 +8823,7 @@ var RootStore = /*#__PURE__*/function () {
|
|
|
8815
8823
|
if (enableBusinessMetrics) {
|
|
8816
8824
|
myUserAgentInfo = getUserAgentInfo();
|
|
8817
8825
|
DivaUtils.businessMetrics.init("production" != 'development', // true, - to local test on PETERPC
|
|
8818
|
-
(_configuration$enviro4 = configuration.environment) !== null && _configuration$enviro4 !== void 0 ? _configuration$enviro4 : 'PROD', window.DIVA_VERSION, this.apiConfig.analyticsService, this.jwt, telemetrySettings === null || telemetrySettings === void 0 ? void 0 : telemetrySettings.personalData, myUserAgentInfo.family, myUserAgentInfo.os, myUserAgentInfo.deviceName, myUserAgentInfo.browser, myUserAgentInfo.screenWidth, myUserAgentInfo.screenHeight, myUserAgentInfo.osVersion, configuration.applicationEnvironment);
|
|
8826
|
+
(_configuration$enviro4 = configuration.environment) !== null && _configuration$enviro4 !== void 0 ? _configuration$enviro4 : 'PROD', window.DIVA_VERSION, this.apiConfig.analyticsService, this.jwt, telemetrySettings === null || telemetrySettings === void 0 ? void 0 : telemetrySettings.personalData, myUserAgentInfo.family, myUserAgentInfo.os, myUserAgentInfo.deviceName, myUserAgentInfo.browser, myUserAgentInfo.screenWidth, myUserAgentInfo.screenHeight, myUserAgentInfo.osVersion, configuration.applicationEnvironment, language);
|
|
8819
8827
|
}
|
|
8820
8828
|
}
|
|
8821
8829
|
apmIsInitalized();
|
|
@@ -9625,7 +9633,7 @@ var SideMenu$1 = observer(SideMenu);
|
|
|
9625
9633
|
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; }
|
|
9626
9634
|
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; }
|
|
9627
9635
|
var LazyModals$1 = /*#__PURE__*/React.lazy(function () {
|
|
9628
|
-
return import('./ModalsWrapper-
|
|
9636
|
+
return import('./ModalsWrapper-390a97c0.js');
|
|
9629
9637
|
});
|
|
9630
9638
|
function Fullscreen(_ref) {
|
|
9631
9639
|
var inAbsoluteFullscreen = _ref.inAbsoluteFullscreen;
|
|
@@ -9900,7 +9908,7 @@ function ErrorDisplay() {
|
|
|
9900
9908
|
children: [loadingAndErrorStore.divaErrorCode ? loadingAndErrorStore.divaErrorCode + ': ' : '', " ", loadingAndErrorStore.error]
|
|
9901
9909
|
}), /*#__PURE__*/jsxs("div", {
|
|
9902
9910
|
className: actionButtons,
|
|
9903
|
-
children: [loadingAndErrorStore.fallbackModule && /*#__PURE__*/jsx(Button$
|
|
9911
|
+
children: [loadingAndErrorStore.fallbackModule && /*#__PURE__*/jsx(Button$1, {
|
|
9904
9912
|
color: "primary",
|
|
9905
9913
|
variant: "contained",
|
|
9906
9914
|
onClick: function onClick() {
|
|
@@ -9910,14 +9918,14 @@ function ErrorDisplay() {
|
|
|
9910
9918
|
});
|
|
9911
9919
|
},
|
|
9912
9920
|
children: (_loadingAndErrorStore5 = loadingAndErrorStore.fallbackModule.text) !== null && _loadingAndErrorStore5 !== void 0 ? _loadingAndErrorStore5 : t('portal.error.gotodefaultmodule') + ' (' + loadingAndErrorStore.fallbackModule.route.replace('/', '') + ')'
|
|
9913
|
-
}), configurationStore.applicationEnvironment !== 'WEB' && loadingAndErrorStore.showLogout && /*#__PURE__*/jsx(Button$
|
|
9921
|
+
}), configurationStore.applicationEnvironment !== 'WEB' && loadingAndErrorStore.showLogout && /*#__PURE__*/jsx(Button$1, {
|
|
9914
9922
|
color: "primary",
|
|
9915
9923
|
variant: "contained",
|
|
9916
9924
|
onClick: function onClick() {
|
|
9917
9925
|
return authorizationStore.logout();
|
|
9918
9926
|
},
|
|
9919
9927
|
children: "Logout"
|
|
9920
|
-
}), showReload && /*#__PURE__*/jsx(Button$
|
|
9928
|
+
}), showReload && /*#__PURE__*/jsx(Button$1, {
|
|
9921
9929
|
color: "primary",
|
|
9922
9930
|
variant: "contained",
|
|
9923
9931
|
onClick: function onClick() {
|
|
@@ -10083,10 +10091,10 @@ function ownKeys$3(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymb
|
|
|
10083
10091
|
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; }
|
|
10084
10092
|
var LOG$2 = getLogger('Framework', 'Root');
|
|
10085
10093
|
var LazyAuth = /*#__PURE__*/React.lazy(function () {
|
|
10086
|
-
return import('./index-
|
|
10094
|
+
return import('./index-ccb1878e.js');
|
|
10087
10095
|
});
|
|
10088
10096
|
var LazyModals = /*#__PURE__*/React.lazy(function () {
|
|
10089
|
-
return import('./ModalsWrapper-
|
|
10097
|
+
return import('./ModalsWrapper-390a97c0.js');
|
|
10090
10098
|
});
|
|
10091
10099
|
function ContentComponent() {
|
|
10092
10100
|
var context = useDivaCoreContext();
|
|
@@ -11082,4 +11090,4 @@ LOG.startTransaction({
|
|
|
11082
11090
|
});
|
|
11083
11091
|
window.DIVA_VERSION = "v".concat(process.env.VERSION);
|
|
11084
11092
|
|
|
11085
|
-
export {
|
|
11093
|
+
export { AuthButton as A, Content as C, DivaCore as D, HelpButton as H, Input as I, ONE_DAY_UNIX as O, ProductHandler as P, RequestStatus as R, SupportHandler as S, getLogger as a, separator as b, success as c, auth as d, error as e, loginBox as f, google as g, logoContainer as h, styleInject as i, useDivaCore as j, AuthorizationHandler as k, link as l, microsoft as m, AnalyticsHandler as n, OrganizationHandler as o, ClientArticleHandler as p, DivaMockProvider as q, storyBookCoreMock as r, socialButton as s, titlecontainer as t, useDivaCoreContext as u };
|