@crystaldesign/diva-core 25.1.0-beta.37 → 25.1.0-beta.39
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-3bed8f79.js → ModalsWrapper-ae3b5a84.js} +27 -26
- package/build/esm/{index-1d0f6b40.js → index-54e98e1b.js} +84 -52
- package/build/esm/{index-4b223494.js → index-88a09227.js} +1 -1
- package/build/esm/index.js +1 -1
- package/build/types/core/src/elements/Modal/index.d.ts.map +1 -1
- package/build/types/core/src/store/ConfigurationStore.d.ts.map +1 -1
- package/build/types/core/src/store/ContentStore.d.ts +6 -0
- package/build/types/core/src/store/ContentStore.d.ts.map +1 -1
- package/build/types/core/src/store/index.d.ts +8 -0
- package/build/types/core/src/store/index.d.ts.map +1 -1
- package/build/types/core/src/store/mock/divaCoreMockProvider.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/969.diva-core.umd.min.js +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-54e98e1b.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';
|
|
@@ -12,6 +12,7 @@ import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
|
12
12
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
13
13
|
import { IconButton } from '@mui/material';
|
|
14
14
|
import CloseIcon from '@mui/icons-material/Close';
|
|
15
|
+
import { toJS } from 'mobx';
|
|
15
16
|
import '@babel/runtime/helpers/classCallCheck';
|
|
16
17
|
import '@babel/runtime/helpers/createClass';
|
|
17
18
|
import '@babel/runtime/helpers/defineProperty';
|
|
@@ -25,7 +26,6 @@ import 'react-dom';
|
|
|
25
26
|
import '@babel/runtime/helpers/asyncToGenerator';
|
|
26
27
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
27
28
|
import '@babel/runtime/regenerator';
|
|
28
|
-
import 'mobx';
|
|
29
29
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
30
30
|
import 'mobile-detect';
|
|
31
31
|
import 'platform';
|
|
@@ -89,7 +89,7 @@ var Progress = function Progress(_ref) {
|
|
|
89
89
|
var Progress$1 = observer(Progress);
|
|
90
90
|
|
|
91
91
|
function Modal() {
|
|
92
|
-
var
|
|
92
|
+
var _pureModal$actions;
|
|
93
93
|
var _useDivaCoreContext = useDivaCoreContext(),
|
|
94
94
|
contentStore = _useDivaCoreContext.contentStore;
|
|
95
95
|
var _useTranslation = useTranslation(),
|
|
@@ -152,46 +152,47 @@ function Modal() {
|
|
|
152
152
|
}
|
|
153
153
|
}, []);
|
|
154
154
|
if (!contentStore.modal) return /*#__PURE__*/jsx(Fragment, {});
|
|
155
|
-
var
|
|
155
|
+
var pureModal = toJS(contentStore.modal);
|
|
156
|
+
var text = typeof pureModal.text == 'string' ? t(pureModal.text) : pureModal.text;
|
|
156
157
|
var children = /*#__PURE__*/jsxs(Fragment, {
|
|
157
158
|
children: [/*#__PURE__*/jsx(DialogContent, {
|
|
158
|
-
style:
|
|
159
|
-
maxWidth:
|
|
159
|
+
style: pureModal.maxWidth ? {
|
|
160
|
+
maxWidth: pureModal.maxWidth
|
|
160
161
|
} : undefined,
|
|
161
|
-
children:
|
|
162
|
-
link:
|
|
163
|
-
}) : typeof text == 'string' &&
|
|
162
|
+
children: pureModal.iFrame ? /*#__PURE__*/jsx(IFrame, {
|
|
163
|
+
link: pureModal.iFrame
|
|
164
|
+
}) : typeof text == 'string' && pureModal.content == undefined ? /*#__PURE__*/jsx(DialogContentText, {
|
|
164
165
|
component: "div",
|
|
165
166
|
dangerouslySetInnerHTML: {
|
|
166
167
|
__html: tryDecodeURIComponent(text)
|
|
167
168
|
}
|
|
168
169
|
}) : /*#__PURE__*/jsxs(DialogContentText, {
|
|
169
170
|
component: "div",
|
|
170
|
-
children: [text,
|
|
171
|
+
children: [text, pureModal.content && pureModal.content]
|
|
171
172
|
})
|
|
172
|
-
}), (
|
|
173
|
-
children: [
|
|
173
|
+
}), (pureModal.reject || pureModal.accept) && /*#__PURE__*/jsxs(DialogActions, {
|
|
174
|
+
children: [pureModal.reject && /*#__PURE__*/jsx(Button, {
|
|
174
175
|
color: "primary",
|
|
175
176
|
onClick: onReject,
|
|
176
|
-
children: typeof
|
|
177
|
-
}),
|
|
177
|
+
children: typeof pureModal.reject == 'string' ? t(pureModal.reject) : t('modal.reject')
|
|
178
|
+
}), pureModal.accept && /*#__PURE__*/jsx(Button, {
|
|
178
179
|
color: "primary",
|
|
179
180
|
type: "submit",
|
|
180
181
|
id: "diva-dialog-submitbtn",
|
|
181
|
-
children: typeof
|
|
182
|
+
children: typeof pureModal.accept == 'string' ? t(pureModal.accept) : t('modal.accept')
|
|
182
183
|
})]
|
|
183
184
|
}), /*#__PURE__*/jsxs("div", {
|
|
184
185
|
style: {
|
|
185
186
|
margin: 10
|
|
186
187
|
},
|
|
187
|
-
children: [
|
|
188
|
-
src:
|
|
188
|
+
children: [pureModal.image && /*#__PURE__*/jsx("img", {
|
|
189
|
+
src: pureModal.image,
|
|
189
190
|
style: {
|
|
190
191
|
maxWidth: 480
|
|
191
192
|
}
|
|
192
|
-
}),
|
|
193
|
-
progress:
|
|
194
|
-
}), (
|
|
193
|
+
}), pureModal.progress !== undefined && /*#__PURE__*/jsx(Progress$1, {
|
|
194
|
+
progress: pureModal.progress
|
|
195
|
+
}), (_pureModal$actions = pureModal.actions) === null || _pureModal$actions === void 0 ? void 0 : _pureModal$actions.map(function (a) {
|
|
195
196
|
var _a$variant;
|
|
196
197
|
return /*#__PURE__*/jsx(Button, {
|
|
197
198
|
fullWidth: true,
|
|
@@ -208,7 +209,7 @@ function Modal() {
|
|
|
208
209
|
})]
|
|
209
210
|
})]
|
|
210
211
|
});
|
|
211
|
-
var isFullscreen =
|
|
212
|
+
var isFullscreen = pureModal.fullscreen === true || pureModal.fullscreen == 'mobile' && contentStore.containerDimensions.isMobile;
|
|
212
213
|
return /*#__PURE__*/jsx("div", {
|
|
213
214
|
className: overlay,
|
|
214
215
|
id: "diva-dialog",
|
|
@@ -225,13 +226,13 @@ function Modal() {
|
|
|
225
226
|
fullScreen: isFullscreen,
|
|
226
227
|
PaperProps: {
|
|
227
228
|
style: {
|
|
228
|
-
width:
|
|
229
|
-
height:
|
|
229
|
+
width: pureModal.width,
|
|
230
|
+
height: pureModal.height
|
|
230
231
|
}
|
|
231
232
|
},
|
|
232
233
|
children: [/*#__PURE__*/jsx(DialogTitle, {
|
|
233
|
-
children: typeof
|
|
234
|
-
}),
|
|
234
|
+
children: typeof pureModal.title == 'string' ? t(pureModal.title) : pureModal.title
|
|
235
|
+
}), pureModal.rejectByIcon && /*#__PURE__*/jsx(IconButton, {
|
|
235
236
|
onClick: onReject,
|
|
236
237
|
style: {
|
|
237
238
|
position: 'absolute',
|
|
@@ -241,7 +242,7 @@ function Modal() {
|
|
|
241
242
|
},
|
|
242
243
|
size: "large",
|
|
243
244
|
children: /*#__PURE__*/jsx(CloseIcon, {})
|
|
244
|
-
}),
|
|
245
|
+
}), pureModal.dontRenderForm && children, !pureModal.dontRenderForm && /*#__PURE__*/jsx("form", {
|
|
245
246
|
id: "diva-modal-form",
|
|
246
247
|
autoComplete: "off",
|
|
247
248
|
onSubmit: function onSubmit(e) {
|
|
@@ -44,7 +44,7 @@ import { actions } from '@storybook/addon-actions';
|
|
|
44
44
|
import * as Styles from '@mui/styles';
|
|
45
45
|
|
|
46
46
|
(function() {
|
|
47
|
-
const env = {"STAGE":"production","VERSION":"25.1.0-beta.
|
|
47
|
+
const env = {"STAGE":"production","VERSION":"25.1.0-beta.39"};
|
|
48
48
|
try {
|
|
49
49
|
if (process) {
|
|
50
50
|
process.env = Object.assign({}, process.env);
|
|
@@ -876,7 +876,7 @@ var ConfigurationStore = /*#__PURE__*/function () {
|
|
|
876
876
|
}, {
|
|
877
877
|
key: "navigation",
|
|
878
878
|
get: function get() {
|
|
879
|
-
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;
|
|
879
|
+
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;
|
|
880
880
|
return {
|
|
881
881
|
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) || [],
|
|
882
882
|
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,
|
|
@@ -894,112 +894,115 @@ var ConfigurationStore = /*#__PURE__*/function () {
|
|
|
894
894
|
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,
|
|
895
895
|
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,
|
|
896
896
|
greetingsText: (_this$_configuration24 = this._configuration) === null || _this$_configuration24 === void 0 || (_this$_configuration24 = _this$_configuration24.navigation) === null || _this$_configuration24 === void 0 ? void 0 : _this$_configuration24.greetingsText,
|
|
897
|
-
showSnow: (_this$_configuration25 = this._configuration) === null || _this$_configuration25 === void 0 || (_this$_configuration25 = _this$_configuration25.navigation) === null || _this$_configuration25 === void 0 ? void 0 : _this$_configuration25.showSnow
|
|
897
|
+
showSnow: (_this$_configuration25 = this._configuration) === null || _this$_configuration25 === void 0 || (_this$_configuration25 = _this$_configuration25.navigation) === null || _this$_configuration25 === void 0 ? void 0 : _this$_configuration25.showSnow,
|
|
898
|
+
pricePreviewActive: (_this$_configuration26 = this._configuration) === null || _this$_configuration26 === void 0 || (_this$_configuration26 = _this$_configuration26.components.available.find(function (c) {
|
|
899
|
+
return c.type === 'DIVA_WEBPLANNER';
|
|
900
|
+
})) === null || _this$_configuration26 === void 0 || (_this$_configuration26 = _this$_configuration26.settings) === null || _this$_configuration26 === void 0 || (_this$_configuration26 = _this$_configuration26.ViewConfig) === null || _this$_configuration26 === void 0 ? void 0 : _this$_configuration26.pricePreview
|
|
898
901
|
};
|
|
899
902
|
}
|
|
900
903
|
}, {
|
|
901
904
|
key: "googleMapsconfig",
|
|
902
905
|
get: function get() {
|
|
903
|
-
var _this$
|
|
906
|
+
var _this$_configuration27, _this$_configuration28, _this$_configuration29, _this$_configuration30;
|
|
904
907
|
return {
|
|
905
|
-
id: (_this$
|
|
906
|
-
googleMapsApiKey: (_this$
|
|
907
|
-
language: (_this$
|
|
908
|
-
region: (_this$
|
|
908
|
+
id: (_this$_configuration27 = this._configuration) === null || _this$_configuration27 === void 0 || (_this$_configuration27 = _this$_configuration27.googleMapsConfig) === null || _this$_configuration27 === void 0 ? void 0 : _this$_configuration27.id,
|
|
909
|
+
googleMapsApiKey: (_this$_configuration28 = this._configuration) === null || _this$_configuration28 === void 0 || (_this$_configuration28 = _this$_configuration28.googleMapsConfig) === null || _this$_configuration28 === void 0 ? void 0 : _this$_configuration28.googleMapsApiKey,
|
|
910
|
+
language: (_this$_configuration29 = this._configuration) === null || _this$_configuration29 === void 0 || (_this$_configuration29 = _this$_configuration29.googleMapsConfig) === null || _this$_configuration29 === void 0 ? void 0 : _this$_configuration29.language,
|
|
911
|
+
region: (_this$_configuration30 = this._configuration) === null || _this$_configuration30 === void 0 || (_this$_configuration30 = _this$_configuration30.googleMapsConfig) === null || _this$_configuration30 === void 0 ? void 0 : _this$_configuration30.region
|
|
909
912
|
};
|
|
910
913
|
}
|
|
911
914
|
}, {
|
|
912
915
|
key: "cometchatConfig",
|
|
913
916
|
get: function get() {
|
|
914
|
-
var _this$
|
|
917
|
+
var _this$_configuration31, _this$_configuration32, _this$_configuration33;
|
|
915
918
|
return {
|
|
916
|
-
app_id: (_this$
|
|
917
|
-
app_region: (_this$
|
|
918
|
-
listener_id: (_this$
|
|
919
|
+
app_id: (_this$_configuration31 = this._configuration) === null || _this$_configuration31 === void 0 || (_this$_configuration31 = _this$_configuration31.cometChatConfig) === null || _this$_configuration31 === void 0 ? void 0 : _this$_configuration31.app_id,
|
|
920
|
+
app_region: (_this$_configuration32 = this._configuration) === null || _this$_configuration32 === void 0 || (_this$_configuration32 = _this$_configuration32.cometChatConfig) === null || _this$_configuration32 === void 0 ? void 0 : _this$_configuration32.app_region,
|
|
921
|
+
listener_id: (_this$_configuration33 = this._configuration) === null || _this$_configuration33 === void 0 || (_this$_configuration33 = _this$_configuration33.cometChatConfig) === null || _this$_configuration33 === void 0 ? void 0 : _this$_configuration33.listener_id
|
|
919
922
|
};
|
|
920
923
|
}
|
|
921
924
|
}, {
|
|
922
925
|
key: "hasAuthentication",
|
|
923
926
|
get: function get() {
|
|
924
|
-
var _this$
|
|
925
|
-
return !!((_this$
|
|
927
|
+
var _this$_configuration34;
|
|
928
|
+
return !!((_this$_configuration34 = this._configuration) !== null && _this$_configuration34 !== void 0 && _this$_configuration34.authentication);
|
|
926
929
|
}
|
|
927
930
|
}, {
|
|
928
931
|
key: "authentication",
|
|
929
932
|
get: function get() {
|
|
930
|
-
var _this$_configuration$, _this$
|
|
931
|
-
return _objectSpread$g(_objectSpread$g({}, (_this$_configuration$ = (_this$
|
|
933
|
+
var _this$_configuration$, _this$_configuration35, _this$_configuration36, _this$_configuration37, _this$_configuration38, _this$_configuration39, _this$_configuration40, _this$_configuration41, _this$_configuration42, _this$_configuration43, _this$_configuration$2, _this$_configuration44;
|
|
934
|
+
return _objectSpread$g(_objectSpread$g({}, (_this$_configuration$ = (_this$_configuration35 = this._configuration) === null || _this$_configuration35 === void 0 ? void 0 : _this$_configuration35.authentication) !== null && _this$_configuration$ !== void 0 ? _this$_configuration$ : {}), {}, {
|
|
932
935
|
loginMethods: {
|
|
933
|
-
google: (_this$
|
|
934
|
-
microsoft: (_this$
|
|
935
|
-
standard: (_this$
|
|
936
|
-
generic: (_this$
|
|
936
|
+
google: (_this$_configuration36 = this._configuration) !== null && _this$_configuration36 !== void 0 && (_this$_configuration36 = _this$_configuration36.authentication) !== null && _this$_configuration36 !== void 0 && _this$_configuration36.loginMethods ? (_this$_configuration37 = this._configuration) === null || _this$_configuration37 === void 0 || (_this$_configuration37 = _this$_configuration37.authentication) === null || _this$_configuration37 === void 0 ? void 0 : _this$_configuration37.loginMethods.google : true,
|
|
937
|
+
microsoft: (_this$_configuration38 = this._configuration) !== null && _this$_configuration38 !== void 0 && (_this$_configuration38 = _this$_configuration38.authentication) !== null && _this$_configuration38 !== void 0 && _this$_configuration38.loginMethods ? (_this$_configuration39 = this._configuration) === null || _this$_configuration39 === void 0 || (_this$_configuration39 = _this$_configuration39.authentication) === null || _this$_configuration39 === void 0 ? void 0 : _this$_configuration39.loginMethods.microsoft : true,
|
|
938
|
+
standard: (_this$_configuration40 = this._configuration) !== null && _this$_configuration40 !== void 0 && (_this$_configuration40 = _this$_configuration40.authentication) !== null && _this$_configuration40 !== void 0 && _this$_configuration40.loginMethods ? (_this$_configuration41 = this._configuration) === null || _this$_configuration41 === void 0 || (_this$_configuration41 = _this$_configuration41.authentication) === null || _this$_configuration41 === void 0 ? void 0 : _this$_configuration41.loginMethods.standard : true,
|
|
939
|
+
generic: (_this$_configuration42 = this._configuration) !== null && _this$_configuration42 !== void 0 && (_this$_configuration42 = _this$_configuration42.authentication) !== null && _this$_configuration42 !== void 0 && _this$_configuration42.loginMethods ? this._configuration.authentication.loginMethods.generic : false
|
|
937
940
|
},
|
|
938
|
-
contentBox: (_this$
|
|
941
|
+
contentBox: (_this$_configuration43 = this._configuration) === null || _this$_configuration43 === void 0 || (_this$_configuration43 = _this$_configuration43.authentication) === null || _this$_configuration43 === void 0 ? void 0 : _this$_configuration43.contentBox,
|
|
939
942
|
resetPassword: {
|
|
940
|
-
returnToLogin: (_this$_configuration$2 = (_this$
|
|
943
|
+
returnToLogin: (_this$_configuration$2 = (_this$_configuration44 = this._configuration) === null || _this$_configuration44 === void 0 || (_this$_configuration44 = _this$_configuration44.authentication) === null || _this$_configuration44 === void 0 || (_this$_configuration44 = _this$_configuration44.resetPassword) === null || _this$_configuration44 === void 0 ? void 0 : _this$_configuration44.returnToLogin) !== null && _this$_configuration$2 !== void 0 ? _this$_configuration$2 : true
|
|
941
944
|
}
|
|
942
945
|
});
|
|
943
946
|
}
|
|
944
947
|
}, {
|
|
945
948
|
key: "enableRouting",
|
|
946
949
|
get: function get() {
|
|
947
|
-
var _this$
|
|
948
|
-
return (_this$
|
|
950
|
+
var _this$_configuration45;
|
|
951
|
+
return (_this$_configuration45 = this._configuration) === null || _this$_configuration45 === void 0 ? void 0 : _this$_configuration45.enableRouting;
|
|
949
952
|
}
|
|
950
953
|
}, {
|
|
951
954
|
key: "enableStorage",
|
|
952
955
|
get: function get() {
|
|
953
|
-
var _this$
|
|
954
|
-
return (_this$
|
|
956
|
+
var _this$_configuration46;
|
|
957
|
+
return (_this$_configuration46 = this._configuration) === null || _this$_configuration46 === void 0 ? void 0 : _this$_configuration46.enableStorage;
|
|
955
958
|
}
|
|
956
959
|
}, {
|
|
957
960
|
key: "telemetrySettings",
|
|
958
961
|
get: function get() {
|
|
959
|
-
var _this$
|
|
960
|
-
return (_this$
|
|
962
|
+
var _this$_configuration47;
|
|
963
|
+
return (_this$_configuration47 = this._configuration) === null || _this$_configuration47 === void 0 ? void 0 : _this$_configuration47.telemetry;
|
|
961
964
|
}
|
|
962
965
|
}, {
|
|
963
966
|
key: "enableModals",
|
|
964
967
|
get: function get() {
|
|
965
|
-
var _this$
|
|
966
|
-
return !((_this$
|
|
968
|
+
var _this$_configuration48;
|
|
969
|
+
return !((_this$_configuration48 = this._configuration) !== null && _this$_configuration48 !== void 0 && _this$_configuration48.disableModals);
|
|
967
970
|
}
|
|
968
971
|
}, {
|
|
969
972
|
key: "enableSupport",
|
|
970
973
|
get: function get() {
|
|
971
|
-
var _this$
|
|
972
|
-
return (_this$
|
|
974
|
+
var _this$_configuration49;
|
|
975
|
+
return (_this$_configuration49 = this._configuration) === null || _this$_configuration49 === void 0 ? void 0 : _this$_configuration49.enableSupport;
|
|
973
976
|
}
|
|
974
977
|
}, {
|
|
975
978
|
key: "showInitWarnBanner",
|
|
976
979
|
get: function get() {
|
|
977
|
-
var _this$defaultApiConfi, _this$defaultApiConfi2, _this$defaultApiConfi3, _this$
|
|
980
|
+
var _this$defaultApiConfi, _this$defaultApiConfi2, _this$defaultApiConfi3, _this$_configuration50;
|
|
978
981
|
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') {
|
|
979
982
|
localStorage.removeItem('bannerViews');
|
|
980
983
|
}
|
|
981
|
-
return ((_this$defaultApiConfi3 = this.defaultApiConfig) === null || _this$defaultApiConfi3 === void 0 ? void 0 : _this$defaultApiConfi3.showInitWarnBanner) === 'true' && ((_this$
|
|
984
|
+
return ((_this$defaultApiConfi3 = this.defaultApiConfig) === null || _this$defaultApiConfi3 === void 0 ? void 0 : _this$defaultApiConfi3.showInitWarnBanner) === 'true' && ((_this$_configuration50 = this._configuration) === null || _this$_configuration50 === void 0 ? void 0 : _this$_configuration50.showInitWarnBanner);
|
|
982
985
|
}
|
|
983
986
|
}, {
|
|
984
987
|
key: "apiConfig",
|
|
985
988
|
get: function get() {
|
|
986
|
-
var _this$
|
|
987
|
-
return parseApiConfig((_this$
|
|
989
|
+
var _this$_configuration51;
|
|
990
|
+
return parseApiConfig((_this$_configuration51 = this._configuration) === null || _this$_configuration51 === void 0 ? void 0 : _this$_configuration51.api, this.defaultApiConfig, this.root.dataStore.organization);
|
|
988
991
|
}
|
|
989
992
|
}, {
|
|
990
993
|
key: "applicationEnvironment",
|
|
991
994
|
get: function get() {
|
|
992
|
-
var _this$_configuration$3, _this$
|
|
993
|
-
return (_this$_configuration$3 = (_this$
|
|
995
|
+
var _this$_configuration$3, _this$_configuration52;
|
|
996
|
+
return (_this$_configuration$3 = (_this$_configuration52 = this._configuration) === null || _this$_configuration52 === void 0 ? void 0 : _this$_configuration52.applicationEnvironment) !== null && _this$_configuration$3 !== void 0 ? _this$_configuration$3 : 'SELLER';
|
|
994
997
|
}
|
|
995
998
|
}, {
|
|
996
999
|
key: "priceFormat",
|
|
997
1000
|
get: function get() {
|
|
998
|
-
var _this$
|
|
999
|
-
if ((_this$
|
|
1000
|
-
var _this$
|
|
1001
|
-
return _objectSpread$g(_objectSpread$g({}, (_this$
|
|
1002
|
-
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$
|
|
1001
|
+
var _this$_configuration53;
|
|
1002
|
+
if ((_this$_configuration53 = this._configuration) !== null && _this$_configuration53 !== void 0 && _this$_configuration53.priceFormat) {
|
|
1003
|
+
var _this$_configuration54, _this$root$dataStore$, _this$root$dataStore$2, _this$_configuration55;
|
|
1004
|
+
return _objectSpread$g(_objectSpread$g({}, (_this$_configuration54 = this._configuration) === null || _this$_configuration54 === void 0 ? void 0 : _this$_configuration54.priceFormat), {}, {
|
|
1005
|
+
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$_configuration55 = this._configuration) === null || _this$_configuration55 === void 0 ? void 0 : _this$_configuration55.priceFormat.currency
|
|
1003
1006
|
});
|
|
1004
1007
|
} else {
|
|
1005
1008
|
var _this$root$dataStore$3, _this$root$dataStore$4;
|
|
@@ -1011,17 +1014,17 @@ var ConfigurationStore = /*#__PURE__*/function () {
|
|
|
1011
1014
|
}, {
|
|
1012
1015
|
key: "countryCodesFile",
|
|
1013
1016
|
get: function get() {
|
|
1014
|
-
var _this$
|
|
1015
|
-
return (_this$
|
|
1017
|
+
var _this$_configuration56;
|
|
1018
|
+
return (_this$_configuration56 = this._configuration) === null || _this$_configuration56 === void 0 ? void 0 : _this$_configuration56.countryCodesFile;
|
|
1016
1019
|
}
|
|
1017
1020
|
}, {
|
|
1018
1021
|
key: "allowedOrganizationTypes",
|
|
1019
1022
|
get: function get() {
|
|
1020
|
-
var _this$
|
|
1021
|
-
if (!((_this$
|
|
1023
|
+
var _this$_configuration57, _this$_configuration58, _this$_configuration59, _this$_configuration60;
|
|
1024
|
+
if (!((_this$_configuration57 = this._configuration) !== null && _this$_configuration57 !== void 0 && _this$_configuration57.allowedOrganizationTypes)) {
|
|
1022
1025
|
return ['RETAILER'];
|
|
1023
1026
|
}
|
|
1024
|
-
return Array.isArray((_this$
|
|
1027
|
+
return Array.isArray((_this$_configuration58 = this._configuration) === null || _this$_configuration58 === void 0 ? void 0 : _this$_configuration58.allowedOrganizationTypes) ? (_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];
|
|
1025
1028
|
}
|
|
1026
1029
|
}, {
|
|
1027
1030
|
key: "resetConfigurationCache",
|
|
@@ -2094,6 +2097,7 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
2094
2097
|
_defineProperty(this, "customHeaderComponentMap", new Map());
|
|
2095
2098
|
_defineProperty(this, "_breadcrumbs", []);
|
|
2096
2099
|
_defineProperty(this, "_hidePrices", getLocalStorageToggle('diva-price'));
|
|
2100
|
+
_defineProperty(this, "_hideConfigPricePreview", getLocalStorageToggle('diva-additional-price'));
|
|
2097
2101
|
_defineProperty(this, "_hideSnow", getLocalStorageToggle('diva-snow'));
|
|
2098
2102
|
_defineProperty(this, "_componentChange", undefined);
|
|
2099
2103
|
_defineProperty(this, "_restrictedComponent", undefined);
|
|
@@ -2753,6 +2757,12 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
2753
2757
|
}
|
|
2754
2758
|
return this._hidePrices;
|
|
2755
2759
|
}
|
|
2760
|
+
}, {
|
|
2761
|
+
key: "hideConfigPricePreview",
|
|
2762
|
+
get: function get() {
|
|
2763
|
+
if (this.hidePrices) return true;
|
|
2764
|
+
return !!this._hideConfigPricePreview;
|
|
2765
|
+
}
|
|
2756
2766
|
|
|
2757
2767
|
/**
|
|
2758
2768
|
* Hides or shows prices
|
|
@@ -2763,6 +2773,15 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
2763
2773
|
this._hidePrices = !this.hidePrices;
|
|
2764
2774
|
window.localStorage.setItem('diva-price', this._hidePrices ? '1' : '0');
|
|
2765
2775
|
}
|
|
2776
|
+
/**
|
|
2777
|
+
* Hides or shows price preview in planner
|
|
2778
|
+
*/
|
|
2779
|
+
}, {
|
|
2780
|
+
key: "toggleHideConfigPricePreview",
|
|
2781
|
+
value: function toggleHideConfigPricePreview() {
|
|
2782
|
+
this._hideConfigPricePreview = !this.hideConfigPricePreview;
|
|
2783
|
+
window.localStorage.setItem('diva-additional-price', this._hideConfigPricePreview ? '1' : '0');
|
|
2784
|
+
}
|
|
2766
2785
|
}, {
|
|
2767
2786
|
key: "hideSnow",
|
|
2768
2787
|
get: function get() {
|
|
@@ -8974,6 +8993,7 @@ var DivaCoreProvider = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
8974
8993
|
updateCustomHeaderElement: store.contentStore.updateCustomHeaderElement.bind(store.contentStore),
|
|
8975
8994
|
updateBreadcrumbs: store.contentStore.updateBreadcrumbs.bind(store.contentStore),
|
|
8976
8995
|
toggleHidePrices: store.contentStore.toggleHidePrices.bind(store.contentStore),
|
|
8996
|
+
toggleHideConfigPricePreview: store.contentStore.toggleHideConfigPricePreview.bind(store.contentStore),
|
|
8977
8997
|
toggleHideSnow: store.contentStore.toggleHideSnow.bind(store.contentStore),
|
|
8978
8998
|
setComponentChange: store.contentStore.setComponentChange.bind(store.contentStore),
|
|
8979
8999
|
setOrganization: store.dataStore.updateOrganization.bind(store.dataStore),
|
|
@@ -9017,6 +9037,7 @@ var DivaCoreProvider = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
9017
9037
|
loginMode: store.loginMode,
|
|
9018
9038
|
loading: store.loadingAndErrorStore.isLoading,
|
|
9019
9039
|
hidePrices: store.contentStore.hidePrices,
|
|
9040
|
+
hideConfigPricePreview: store.contentStore.hideConfigPricePreview,
|
|
9020
9041
|
hideSnow: store.contentStore.hideSnow,
|
|
9021
9042
|
componentChange: store.contentStore.componentChange,
|
|
9022
9043
|
dimensions: store.contentStore.containerDimensions,
|
|
@@ -9070,6 +9091,7 @@ var DivaCoreProvider = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
9070
9091
|
updateCustomHeaderElement: store.contentStore.updateCustomHeaderElement.bind(store.contentStore),
|
|
9071
9092
|
updateBreadcrumbs: store.contentStore.updateBreadcrumbs.bind(store.contentStore),
|
|
9072
9093
|
toggleHidePrices: store.contentStore.toggleHidePrices.bind(store.contentStore),
|
|
9094
|
+
toggleHideConfigPricePreview: store.contentStore.toggleHideConfigPricePreview.bind(store.contentStore),
|
|
9073
9095
|
toggleHideSnow: store.contentStore.toggleHideSnow.bind(store.contentStore),
|
|
9074
9096
|
setComponentChange: store.contentStore.setComponentChange.bind(store.contentStore),
|
|
9075
9097
|
setOrganization: store.dataStore.updateOrganization.bind(store.dataStore),
|
|
@@ -9115,6 +9137,7 @@ var DivaCoreProvider = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
9115
9137
|
loginMode: store.loginMode,
|
|
9116
9138
|
loading: store.loadingAndErrorStore.isLoading,
|
|
9117
9139
|
hidePrices: store.contentStore.hidePrices,
|
|
9140
|
+
hideConfigPricePreview: store.contentStore.hideConfigPricePreview,
|
|
9118
9141
|
hideSnow: store.contentStore.hideSnow,
|
|
9119
9142
|
componentChange: store.contentStore.componentChange,
|
|
9120
9143
|
dimensions: store.contentStore.containerDimensions,
|
|
@@ -9473,7 +9496,7 @@ var SideMenu$1 = observer(SideMenu);
|
|
|
9473
9496
|
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; }
|
|
9474
9497
|
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; }
|
|
9475
9498
|
var LazyModals$1 = /*#__PURE__*/React.lazy(function () {
|
|
9476
|
-
return import('./ModalsWrapper-
|
|
9499
|
+
return import('./ModalsWrapper-ae3b5a84.js');
|
|
9477
9500
|
});
|
|
9478
9501
|
function Fullscreen() {
|
|
9479
9502
|
var _useDivaCoreContext = useDivaCoreContext(),
|
|
@@ -9921,10 +9944,10 @@ function ownKeys$3(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymb
|
|
|
9921
9944
|
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; }
|
|
9922
9945
|
var LOG$2 = getLogger('Framework', 'Root');
|
|
9923
9946
|
var LazyAuth = /*#__PURE__*/React.lazy(function () {
|
|
9924
|
-
return import('./index-
|
|
9947
|
+
return import('./index-88a09227.js');
|
|
9925
9948
|
});
|
|
9926
9949
|
var LazyModals = /*#__PURE__*/React.lazy(function () {
|
|
9927
|
-
return import('./ModalsWrapper-
|
|
9950
|
+
return import('./ModalsWrapper-ae3b5a84.js');
|
|
9928
9951
|
});
|
|
9929
9952
|
function ContentComponent() {
|
|
9930
9953
|
var context = useDivaCoreContext();
|
|
@@ -10199,7 +10222,7 @@ function HelpButton(_ref) {
|
|
|
10199
10222
|
|
|
10200
10223
|
function ownKeys$1(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; }
|
|
10201
10224
|
function _objectSpread$1(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
10202
|
-
var actionFunctions = ['openComponent', 'closeComponentInFullscreen', 'setAbsoluteFullScreen', 'updateBreadcrumbs', 'openModal', 'closeModal', 'sendEmail', 'updateCustomLogo', 'updateCustomHeaderElement', 'toggleHidePrices', 'toggleLoading', 'changeLanguage', 'changeLoginMode', 'onEvent', 'subscribeEvents', 'unSubscribeEvents', 'setOrganization', 'getSessionGuid', 'getApi2AuthLoginData', 'logout', 'showLoginWindow', 'userHasPermission', 'openFullscreen', 'closeFullscreen', 'openSideMenu', 'closeSideMenu', 'openBarrier', 'updateHeaderInfos', 'openBanner', 'closeBanner', 'resolveComponent', 'openSnackBar', 'setComponentChange'];
|
|
10225
|
+
var actionFunctions = ['openComponent', 'closeComponentInFullscreen', 'setAbsoluteFullScreen', 'updateBreadcrumbs', 'openModal', 'closeModal', 'sendEmail', 'updateCustomLogo', 'updateCustomHeaderElement', 'toggleHidePrices', 'toggleHideConfigPricePreview', 'toggleLoading', 'changeLanguage', 'changeLoginMode', 'onEvent', 'subscribeEvents', 'unSubscribeEvents', 'setOrganization', 'getSessionGuid', 'getApi2AuthLoginData', 'logout', 'showLoginWindow', 'userHasPermission', 'openFullscreen', 'closeFullscreen', 'openSideMenu', 'closeSideMenu', 'openBarrier', 'updateHeaderInfos', 'openBanner', 'closeBanner', 'resolveComponent', 'openSnackBar', 'setComponentChange'];
|
|
10203
10226
|
function getRender(C) {
|
|
10204
10227
|
return function (args) {
|
|
10205
10228
|
return /*#__PURE__*/jsx(DivaMockProvider, {
|
|
@@ -10615,6 +10638,7 @@ var MockedRootStore = /*#__PURE__*/function () {
|
|
|
10615
10638
|
var _this2 = this,
|
|
10616
10639
|
_this$data$loading,
|
|
10617
10640
|
_this$data$hidePrices,
|
|
10641
|
+
_this$data$hideConfig,
|
|
10618
10642
|
_this$data$applicatio,
|
|
10619
10643
|
_this$data$isFullscre,
|
|
10620
10644
|
_this$data$enableSupp;
|
|
@@ -10696,6 +10720,13 @@ var MockedRootStore = /*#__PURE__*/function () {
|
|
|
10696
10720
|
throw new Error('Method not implemented.');
|
|
10697
10721
|
}
|
|
10698
10722
|
},
|
|
10723
|
+
toggleHideConfigPricePreview: function toggleHideConfigPricePreview() {
|
|
10724
|
+
if (_this2.actions.toggleHideConfigPricePreview) {
|
|
10725
|
+
_this2.actions.toggleHideConfigPricePreview();
|
|
10726
|
+
} else {
|
|
10727
|
+
throw new Error('Method not implemented.');
|
|
10728
|
+
}
|
|
10729
|
+
},
|
|
10699
10730
|
toggleLoading: function toggleLoading(id, hidden, toggle) {
|
|
10700
10731
|
if (_this2.actions.toggleLoading) {
|
|
10701
10732
|
_this2.actions.toggleLoading(id, hidden, toggle);
|
|
@@ -10851,6 +10882,7 @@ var MockedRootStore = /*#__PURE__*/function () {
|
|
|
10851
10882
|
navigationConfiguration: this.navigationConfiguration,
|
|
10852
10883
|
loading: (_this$data$loading = this.data.loading) !== null && _this$data$loading !== void 0 ? _this$data$loading : false,
|
|
10853
10884
|
hidePrices: (_this$data$hidePrices = this.data.hidePrices) !== null && _this$data$hidePrices !== void 0 ? _this$data$hidePrices : false,
|
|
10885
|
+
hideConfigPricePreview: (_this$data$hideConfig = this.data.hideConfigPricePreview) !== null && _this$data$hideConfig !== void 0 ? _this$data$hideConfig : false,
|
|
10854
10886
|
dimensions: this.dimensions,
|
|
10855
10887
|
isMobile: userAgentIsMobile(),
|
|
10856
10888
|
isFirefox: !!this.data.isFirefox,
|
|
@@ -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-54e98e1b.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 { 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-54e98e1b.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":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/elements/Modal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/elements/Modal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiC,MAAM,OAAO,CAAC;AAgBtD,iBAAS,KAAK,sBA0Kb;;;;AAED,wBAA+B"}
|
|
@@ -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,M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;IAED,IAAI,WAAW,QAYd;IAED,IAAI,gBAAgB,uBAEnB;IAED,IAAI,wBAAwB,IAAI,gBAAgB,EAAE,CAOjD;IAED,uBAAuB;IAIjB,kBAAkB,CAAC,EACvB,UAAU,EACV,IAAI,EACJ,MAAM,EACN,cAAmD,GACpD,EAAE;QACD,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,IAAI,EAAE,MAAM,CAAC;QACb,cAAc,CAAC,EAAE,MAAM,CAAC;KACzB;IAsDA,mBAAmB;CAiBrB"}
|
|
@@ -18,6 +18,7 @@ export default class ContentStore {
|
|
|
18
18
|
private customHeaderComponentMap;
|
|
19
19
|
private _breadcrumbs;
|
|
20
20
|
private _hidePrices?;
|
|
21
|
+
private _hideConfigPricePreview?;
|
|
21
22
|
private _hideSnow?;
|
|
22
23
|
private _componentChange?;
|
|
23
24
|
private _restrictedComponent?;
|
|
@@ -105,10 +106,15 @@ export default class ContentStore {
|
|
|
105
106
|
* when _hidePrices is undefined we use the default from the config in org
|
|
106
107
|
*/
|
|
107
108
|
get hidePrices(): boolean;
|
|
109
|
+
get hideConfigPricePreview(): boolean;
|
|
108
110
|
/**
|
|
109
111
|
* Hides or shows prices
|
|
110
112
|
*/
|
|
111
113
|
toggleHidePrices(): void;
|
|
114
|
+
/**
|
|
115
|
+
* Hides or shows price preview in planner
|
|
116
|
+
*/
|
|
117
|
+
toggleHideConfigPricePreview(): void;
|
|
112
118
|
get hideSnow(): boolean;
|
|
113
119
|
/**
|
|
114
120
|
* Hides or shows snow
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentStore.d.ts","sourceRoot":"","sources":["../../../../../src/store/ContentStore.tsx"],"names":[],"mappings":"AAQA,OAAO,EACL,MAAM,EACN,UAAU,EACV,gBAAgB,EAChB,WAAW,EACX,SAAS,EACT,sBAAsB,EACtB,mBAAmB,EACnB,cAAc,EACd,SAAS,EAET,KAAK,EACL,WAAW,EAEZ,MAAM,UAAU,CAAC;AAClB,OAAO,SAAS,MAAM,aAAa,CAAC;AAKpC,OAAO,EACL,MAAM,EACN,OAAO,IAAI,WAAW,EACtB,oBAAoB,EACpB,UAAU,EACV,UAAU,EACV,wBAAwB,EACxB,QAAQ,EACR,QAAQ,EACT,MAAM,kBAAkB,CAAC;AAK1B,MAAM,CAAC,OAAO,OAAO,YAAY;
|
|
1
|
+
{"version":3,"file":"ContentStore.d.ts","sourceRoot":"","sources":["../../../../../src/store/ContentStore.tsx"],"names":[],"mappings":"AAQA,OAAO,EACL,MAAM,EACN,UAAU,EACV,gBAAgB,EAChB,WAAW,EACX,SAAS,EACT,sBAAsB,EACtB,mBAAmB,EACnB,cAAc,EACd,SAAS,EAET,KAAK,EACL,WAAW,EAEZ,MAAM,UAAU,CAAC;AAClB,OAAO,SAAS,MAAM,aAAa,CAAC;AAKpC,OAAO,EACL,MAAM,EACN,OAAO,IAAI,WAAW,EACtB,oBAAoB,EACpB,UAAU,EACV,UAAU,EACV,wBAAwB,EACxB,QAAQ,EACR,QAAQ,EACT,MAAM,kBAAkB,CAAC;AAK1B,MAAM,CAAC,OAAO,OAAO,YAAY;IA8B7B,OAAO,CAAC,IAAI;IA7Bd,OAAO,CAAC,aAAa,CAA6B;IAClD,OAAO,CAAC,KAAK,CAA0C;IACvD,OAAO,CAAC,oBAAoB,CAAC,CAAuC;IACpE,OAAO,CAAC,oBAAoB,CAAkB;IAC9C,OAAO,CAAC,MAAM,CAAC,CAAoB;IACnC,OAAO,CAAC,UAAU,CAAyC;IAC3D,OAAO,CAAC,OAAO,CAAC,CAAqB;IACrC,OAAO,CAAC,WAAW,CAAC,CAAyB;IAC7C,OAAO,CAAC,SAAS,CAAC,CAAuB;IACzC,OAAO,CAAC,YAAY,CAAmC;IACvD,OAAO,CAAC,OAAO,CAAC,CAAqB;IACrC,OAAO,CAAC,aAAa,CAAkC;IACvD,OAAO,CAAC,wBAAwB,CAA+B;IAC/D,OAAO,CAAC,YAA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C,IAAI,EAAE,MAAM,GAAG,cAAc;IAKtC;;;OAGG;IACH,SAAS,CAAC,IAAI,EAAE,MAAM;IAItB;;;OAGG;IACU,YAAY,CAAC,GAAG,EAAE,cAAc;IAS7C,OAAO,CAAC,QAAQ;IAWhB;;OAEG;IACH,IAAI,mBAAmB,6BAkBtB;IAED;;OAEG;IACH,IAAI,UAAU,UAwBb;IAED;;OAEG;IACH,IAAI,mBAAmB;;;;MAatB;IAED,IAAI,4BAA4B,YAE/B;IAED,IAAI,6BAA6B,YAEhC;IAED;;OAEG;IACH,IAAI,sBAAsB,aAEzB;IAED;;OAEG;IACH,IAAI,gBAAgB,gCAmBnB;IAED;;OAEG;IACH,IAAI,eAAe,yCAGlB;IAED;;OAEG;IACH,IAAI,mBAAmB,IAAI,UAAU,CAapC;IAED;;;OAGG;IACH,UAAU;IA2BV;;OAEG;IACH,uBAAuB;IAQvB;;;OAGG;IACH,OAAO,CAAC,sBAAsB;IAkB9B,OAAO,CAAC,SAAS;IAIjB;;;;;OAKG;IACH,OAAO,CAAC,YAAY;IAwCpB;;;;OAIG;IACH,OAAO,CAAC,OAAO;IAaf;;;OAGG;IACH,OAAO,CAAC,QAAQ;IAQhB,OAAO,CAAC,cAAc;CAiBvB"}
|
|
@@ -72,6 +72,10 @@ export interface State {
|
|
|
72
72
|
* Specifies if the prices should be displayed or not
|
|
73
73
|
*/
|
|
74
74
|
hidePrices: boolean;
|
|
75
|
+
/**
|
|
76
|
+
* Specifies if the additional prices should be displayed or not in planner
|
|
77
|
+
*/
|
|
78
|
+
hideConfigPricePreview: boolean;
|
|
75
79
|
/**
|
|
76
80
|
* Snow (winterspecial animation) is hidden or not
|
|
77
81
|
*/
|
|
@@ -176,6 +180,10 @@ export interface Actions {
|
|
|
176
180
|
* In case "allowHidePrices" is set to "hidden" or "false" for the component, this function has no effect
|
|
177
181
|
*/
|
|
178
182
|
toggleHidePrices: () => void;
|
|
183
|
+
/**
|
|
184
|
+
* Toggles the hide additional prices flag
|
|
185
|
+
*/
|
|
186
|
+
toggleHideConfigPricePreview: () => void;
|
|
179
187
|
/**
|
|
180
188
|
* Toggles the hide snowflakes
|
|
181
189
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/store/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAuF,MAAM,OAAO,CAAC;AAC5G,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,IAAI,CAAC;AAE/C,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAC5I,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AACvE,OAAO,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AACvE,OAAO,EACL,MAAM,EACN,gBAAgB,EAChB,SAAS,EACT,mBAAmB,EACnB,KAAK,EACL,uBAAuB,EACvB,KAAK,EACL,SAAS,EACT,eAAe,EACf,gBAAgB,EAChB,QAAQ,EACR,QAAQ,EACR,gBAAgB,EAChB,eAAe,EAChB,MAAM,UAAU,CAAC;AAElB,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAEnE,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,KAAK,EAAE,K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