@crystaldesign/diva-core 25.5.0-beta.4 → 25.5.0-beta.6
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-58e77b11.js → ModalsWrapper-5968187d.js} +1 -1
- package/build/esm/{index-f92430bc.js → index-86d4e1f5.js} +64 -63
- package/build/esm/{index-3a64d58f.js → index-a288bde3.js} +1 -1
- package/build/esm/index.js +1 -1
- package/build/types/core/src/store/ConfigurationStore.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/diva-core.umd.min.js +1 -1
- package/build/umd/report.html +1 -1
- package/package.json +10 -10
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as styleInject, u as useDivaCoreContext } from './index-
|
|
1
|
+
import { i as styleInject, u as useDivaCoreContext } from './index-86d4e1f5.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';
|
|
@@ -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.6"};
|
|
50
50
|
try {
|
|
51
51
|
if (process) {
|
|
52
52
|
process.env = Object.assign({}, process.env);
|
|
@@ -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,125 +886,126 @@ 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$g(_objectSpread$g({}, (_this$_configuration$ = (_this$
|
|
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$g(_objectSpread$g({}, (_this$
|
|
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;
|
|
@@ -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",
|
|
@@ -9632,7 +9633,7 @@ var SideMenu$1 = observer(SideMenu);
|
|
|
9632
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; }
|
|
9633
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; }
|
|
9634
9635
|
var LazyModals$1 = /*#__PURE__*/React.lazy(function () {
|
|
9635
|
-
return import('./ModalsWrapper-
|
|
9636
|
+
return import('./ModalsWrapper-5968187d.js');
|
|
9636
9637
|
});
|
|
9637
9638
|
function Fullscreen(_ref) {
|
|
9638
9639
|
var inAbsoluteFullscreen = _ref.inAbsoluteFullscreen;
|
|
@@ -10090,10 +10091,10 @@ function ownKeys$3(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymb
|
|
|
10090
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; }
|
|
10091
10092
|
var LOG$2 = getLogger('Framework', 'Root');
|
|
10092
10093
|
var LazyAuth = /*#__PURE__*/React.lazy(function () {
|
|
10093
|
-
return import('./index-
|
|
10094
|
+
return import('./index-a288bde3.js');
|
|
10094
10095
|
});
|
|
10095
10096
|
var LazyModals = /*#__PURE__*/React.lazy(function () {
|
|
10096
|
-
return import('./ModalsWrapper-
|
|
10097
|
+
return import('./ModalsWrapper-5968187d.js');
|
|
10097
10098
|
});
|
|
10098
10099
|
function ContentComponent() {
|
|
10099
10100
|
var context = useDivaCoreContext();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as useDivaCoreContext, A as AuthButton, s as socialButton, g as google, m as microsoft, t as titlecontainer, e as error, a as getLogger, b as separator, I as Input, l as link, c as success, d as auth, f as loginBox, h as logoContainer } from './index-
|
|
1
|
+
import { u as useDivaCoreContext, A as AuthButton, s as socialButton, g as google, m as microsoft, t as titlecontainer, e as error, a as getLogger, b as separator, I as Input, l as link, c as success, d as auth, f as loginBox, h as logoContainer } from './index-86d4e1f5.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';
|
package/build/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { n as AnalyticsHandler, k as AuthorizationHandler, p as ClientArticleHandler, C as Content, q as DivaMockProvider, H as HelpButton, O as ONE_DAY_UNIX, o as OrganizationHandler, P as ProductHandler, R as RequestStatus, S as SupportHandler, D as default, a as getLogger, r as storyBookCoreMock, j as useDivaCore } from './index-
|
|
1
|
+
export { n as AnalyticsHandler, k as AuthorizationHandler, p as ClientArticleHandler, C as Content, q as DivaMockProvider, H as HelpButton, O as ONE_DAY_UNIX, o as OrganizationHandler, P as ProductHandler, R as RequestStatus, S as SupportHandler, D as default, a as getLogger, r as storyBookCoreMock, j as useDivaCore } from './index-86d4e1f5.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';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfigurationStore.d.ts","sourceRoot":"","sources":["../../../../../src/store/ConfigurationStore.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,SAAS,EACT,eAAe,EACf,2BAA2B,EAC3B,2BAA2B,EAC3B,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EACjB,MAAM,UAAU,CAAC;AAGlB,OAAO,SAAS,MAAM,aAAa,CAAC;AAMpC,MAAM,CAAC,OAAO,OAAO,kBAAkB;IAMnC,OAAO,CAAC,IAAI;IACZ,OAAO,CAAC,UAAU;IAClB,OAAO,CAAC,gBAAgB,CAAC;IACzB,OAAO,CAAC,MAAM,CAAC;IARjB,OAAO,CAAC,cAAc,CAAC,CAA4B;IACnD,OAAO,CAAC,kBAAkB,CAA+B;IAClD,uBAAuB,CAAC,EAAE;QAAE,YAAY,EAAE;YAAE,YAAY,EAAE,OAAO,CAAA;SAAE,CAAC;QAAC,UAAU,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAa;gBAGjH,IAAI,EAAE,SAAS,EACf,UAAU,EAAE,MAAM,EAClB,gBAAgB,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,YAAA,EAC3C,MAAM,CAAC,EAAE,MAAM,YAAA;IASzB,IAAI,aAAa,CAAC,MAAM,EAAE,aAAa,EAGtC;IAED,IAAI,aAAa,IALS,aAAa,CAOtC;IAED,IAAI,aAAa,aAEhB;IAED,IAAI,kBAAkB,yBAOrB;IAED,IAAI,UAAU,gDAEb;IAED,IAAI,gBAAgB,6CAQnB;IAED,IAAI,OAAO,2CAEV;IAED,IAAI,OAAO,+CAEV;IAED,IAAI,KAAK;;;;;;;;;;;;;;;;;;;;;;;MA2BR;IAED,IAAI,UAAU,IAAI,2BAA2B,
|
|
1
|
+
{"version":3,"file":"ConfigurationStore.d.ts","sourceRoot":"","sources":["../../../../../src/store/ConfigurationStore.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,SAAS,EACT,eAAe,EACf,2BAA2B,EAC3B,2BAA2B,EAC3B,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EACjB,MAAM,UAAU,CAAC;AAGlB,OAAO,SAAS,MAAM,aAAa,CAAC;AAMpC,MAAM,CAAC,OAAO,OAAO,kBAAkB;IAMnC,OAAO,CAAC,IAAI;IACZ,OAAO,CAAC,UAAU;IAClB,OAAO,CAAC,gBAAgB,CAAC;IACzB,OAAO,CAAC,MAAM,CAAC;IARjB,OAAO,CAAC,cAAc,CAAC,CAA4B;IACnD,OAAO,CAAC,kBAAkB,CAA+B;IAClD,uBAAuB,CAAC,EAAE;QAAE,YAAY,EAAE;YAAE,YAAY,EAAE,OAAO,CAAA;SAAE,CAAC;QAAC,UAAU,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAa;gBAGjH,IAAI,EAAE,SAAS,EACf,UAAU,EAAE,MAAM,EAClB,gBAAgB,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,YAAA,EAC3C,MAAM,CAAC,EAAE,MAAM,YAAA;IASzB,IAAI,aAAa,CAAC,MAAM,EAAE,aAAa,EAGtC;IAED,IAAI,a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