@crystaldesign/diva-core 25.1.0-beta.4 → 25.1.0-beta.41

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.
@@ -1,4 +1,4 @@
1
- import { i as styleInject, u as useDivaCoreContext } from './index-b989699d.js';
1
+ import { i as styleInject, u as useDivaCoreContext } from './index-0be1f670.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 _contentStore$modal$a;
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 text = typeof contentStore.modal.text == 'string' ? t(contentStore.modal.text) : contentStore.modal.text;
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: contentStore.modal.maxWidth ? {
159
- maxWidth: contentStore.modal.maxWidth
159
+ style: pureModal.maxWidth ? {
160
+ maxWidth: pureModal.maxWidth
160
161
  } : undefined,
161
- children: contentStore.modal.iFrame ? /*#__PURE__*/jsx(IFrame, {
162
- link: contentStore.modal.iFrame
163
- }) : typeof text == 'string' && contentStore.modal.content == undefined ? /*#__PURE__*/jsx(DialogContentText, {
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, contentStore.modal.content && contentStore.modal.content]
171
+ children: [text, pureModal.content && pureModal.content]
171
172
  })
172
- }), (contentStore.modal.reject || contentStore.modal.accept) && /*#__PURE__*/jsxs(DialogActions, {
173
- children: [contentStore.modal.reject && /*#__PURE__*/jsx(Button, {
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 contentStore.modal.reject == 'string' ? t(contentStore.modal.reject) : t('modal.reject')
177
- }), contentStore.modal.accept && /*#__PURE__*/jsx(Button, {
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 contentStore.modal.accept == 'string' ? t(contentStore.modal.accept) : t('modal.accept')
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: [contentStore.modal.image && /*#__PURE__*/jsx("img", {
188
- src: contentStore.modal.image,
188
+ children: [pureModal.image && /*#__PURE__*/jsx("img", {
189
+ src: pureModal.image,
189
190
  style: {
190
191
  maxWidth: 480
191
192
  }
192
- }), contentStore.modal.progress !== undefined && /*#__PURE__*/jsx(Progress$1, {
193
- progress: contentStore.modal.progress
194
- }), (_contentStore$modal$a = contentStore.modal.actions) === null || _contentStore$modal$a === void 0 ? void 0 : _contentStore$modal$a.map(function (a) {
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 = contentStore.modal.fullscreen === true || contentStore.modal.fullscreen == 'mobile' && contentStore.containerDimensions.isMobile;
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: contentStore.modal.width,
229
- height: contentStore.modal.height
229
+ width: pureModal.width,
230
+ height: pureModal.height
230
231
  }
231
232
  },
232
233
  children: [/*#__PURE__*/jsx(DialogTitle, {
233
- children: typeof contentStore.modal.title == 'string' ? t(contentStore.modal.title) : contentStore.modal.title
234
- }), contentStore.modal.rejectByIcon && /*#__PURE__*/jsx(IconButton, {
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
- }), contentStore.modal.dontRenderForm && children, !contentStore.modal.dontRenderForm && /*#__PURE__*/jsx("form", {
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.4"};
47
+ const env = {"STAGE":"production","VERSION":"25.1.0-beta.41"};
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$_configuration26, _this$_configuration27, _this$_configuration28, _this$_configuration29;
906
+ var _this$_configuration27, _this$_configuration28, _this$_configuration29, _this$_configuration30;
904
907
  return {
905
- id: (_this$_configuration26 = this._configuration) === null || _this$_configuration26 === void 0 || (_this$_configuration26 = _this$_configuration26.googleMapsConfig) === null || _this$_configuration26 === void 0 ? void 0 : _this$_configuration26.id,
906
- googleMapsApiKey: (_this$_configuration27 = this._configuration) === null || _this$_configuration27 === void 0 || (_this$_configuration27 = _this$_configuration27.googleMapsConfig) === null || _this$_configuration27 === void 0 ? void 0 : _this$_configuration27.googleMapsApiKey,
907
- language: (_this$_configuration28 = this._configuration) === null || _this$_configuration28 === void 0 || (_this$_configuration28 = _this$_configuration28.googleMapsConfig) === null || _this$_configuration28 === void 0 ? void 0 : _this$_configuration28.language,
908
- region: (_this$_configuration29 = this._configuration) === null || _this$_configuration29 === void 0 || (_this$_configuration29 = _this$_configuration29.googleMapsConfig) === null || _this$_configuration29 === void 0 ? void 0 : _this$_configuration29.region
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$_configuration30, _this$_configuration31, _this$_configuration32;
917
+ var _this$_configuration31, _this$_configuration32, _this$_configuration33;
915
918
  return {
916
- app_id: (_this$_configuration30 = this._configuration) === null || _this$_configuration30 === void 0 || (_this$_configuration30 = _this$_configuration30.cometChatConfig) === null || _this$_configuration30 === void 0 ? void 0 : _this$_configuration30.app_id,
917
- app_region: (_this$_configuration31 = this._configuration) === null || _this$_configuration31 === void 0 || (_this$_configuration31 = _this$_configuration31.cometChatConfig) === null || _this$_configuration31 === void 0 ? void 0 : _this$_configuration31.app_region,
918
- listener_id: (_this$_configuration32 = this._configuration) === null || _this$_configuration32 === void 0 || (_this$_configuration32 = _this$_configuration32.cometChatConfig) === null || _this$_configuration32 === void 0 ? void 0 : _this$_configuration32.listener_id
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$_configuration33;
925
- return !!((_this$_configuration33 = this._configuration) !== null && _this$_configuration33 !== void 0 && _this$_configuration33.authentication);
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$_configuration34, _this$_configuration35, _this$_configuration36, _this$_configuration37, _this$_configuration38, _this$_configuration39, _this$_configuration40, _this$_configuration41, _this$_configuration42, _this$_configuration$2, _this$_configuration43;
931
- return _objectSpread$g(_objectSpread$g({}, (_this$_configuration$ = (_this$_configuration34 = this._configuration) === null || _this$_configuration34 === void 0 ? void 0 : _this$_configuration34.authentication) !== null && _this$_configuration$ !== void 0 ? _this$_configuration$ : {}), {}, {
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$_configuration35 = this._configuration) !== null && _this$_configuration35 !== void 0 && (_this$_configuration35 = _this$_configuration35.authentication) !== null && _this$_configuration35 !== void 0 && _this$_configuration35.loginMethods ? (_this$_configuration36 = this._configuration) === null || _this$_configuration36 === void 0 || (_this$_configuration36 = _this$_configuration36.authentication) === null || _this$_configuration36 === void 0 ? void 0 : _this$_configuration36.loginMethods.google : true,
934
- microsoft: (_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.microsoft : true,
935
- standard: (_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.standard : true,
936
- generic: (_this$_configuration41 = this._configuration) !== null && _this$_configuration41 !== void 0 && (_this$_configuration41 = _this$_configuration41.authentication) !== null && _this$_configuration41 !== void 0 && _this$_configuration41.loginMethods ? this._configuration.authentication.loginMethods.generic : false
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$_configuration42 = this._configuration) === null || _this$_configuration42 === void 0 || (_this$_configuration42 = _this$_configuration42.authentication) === null || _this$_configuration42 === void 0 ? void 0 : _this$_configuration42.contentBox,
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$_configuration43 = this._configuration) === null || _this$_configuration43 === void 0 || (_this$_configuration43 = _this$_configuration43.authentication) === null || _this$_configuration43 === void 0 || (_this$_configuration43 = _this$_configuration43.resetPassword) === null || _this$_configuration43 === void 0 ? void 0 : _this$_configuration43.returnToLogin) !== null && _this$_configuration$2 !== void 0 ? _this$_configuration$2 : true
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$_configuration44;
948
- return (_this$_configuration44 = this._configuration) === null || _this$_configuration44 === void 0 ? void 0 : _this$_configuration44.enableRouting;
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$_configuration45;
954
- return (_this$_configuration45 = this._configuration) === null || _this$_configuration45 === void 0 ? void 0 : _this$_configuration45.enableStorage;
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$_configuration46;
960
- return (_this$_configuration46 = this._configuration) === null || _this$_configuration46 === void 0 ? void 0 : _this$_configuration46.telemetry;
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$_configuration47;
966
- return !((_this$_configuration47 = this._configuration) !== null && _this$_configuration47 !== void 0 && _this$_configuration47.disableModals);
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$_configuration48;
972
- return (_this$_configuration48 = this._configuration) === null || _this$_configuration48 === void 0 ? void 0 : _this$_configuration48.enableSupport;
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$_configuration49;
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$_configuration49 = this._configuration) === null || _this$_configuration49 === void 0 ? void 0 : _this$_configuration49.showInitWarnBanner);
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$_configuration50;
987
- return parseApiConfig((_this$_configuration50 = this._configuration) === null || _this$_configuration50 === void 0 ? void 0 : _this$_configuration50.api, this.defaultApiConfig, this.root.dataStore.organization);
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$_configuration51;
993
- return (_this$_configuration$3 = (_this$_configuration51 = this._configuration) === null || _this$_configuration51 === void 0 ? void 0 : _this$_configuration51.applicationEnvironment) !== null && _this$_configuration$3 !== void 0 ? _this$_configuration$3 : 'SELLER';
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$_configuration52;
999
- if ((_this$_configuration52 = this._configuration) !== null && _this$_configuration52 !== void 0 && _this$_configuration52.priceFormat) {
1000
- var _this$_configuration53, _this$root$dataStore$, _this$root$dataStore$2, _this$_configuration54;
1001
- return _objectSpread$g(_objectSpread$g({}, (_this$_configuration53 = this._configuration) === null || _this$_configuration53 === void 0 ? void 0 : _this$_configuration53.priceFormat), {}, {
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$_configuration54 = this._configuration) === null || _this$_configuration54 === void 0 ? void 0 : _this$_configuration54.priceFormat.currency
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$_configuration55;
1015
- return (_this$_configuration55 = this._configuration) === null || _this$_configuration55 === void 0 ? void 0 : _this$_configuration55.countryCodesFile;
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$_configuration56, _this$_configuration57, _this$_configuration58, _this$_configuration59;
1021
- if (!((_this$_configuration56 = this._configuration) !== null && _this$_configuration56 !== void 0 && _this$_configuration56.allowedOrganizationTypes)) {
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$_configuration57 = this._configuration) === null || _this$_configuration57 === void 0 ? void 0 : _this$_configuration57.allowedOrganizationTypes) ? (_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];
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);
@@ -2314,22 +2318,11 @@ var ContentStore = /*#__PURE__*/function () {
2314
2318
  return _context.abrupt("return");
2315
2319
  case 33:
2316
2320
  settings = undefined;
2317
- if (!config.settings) {
2318
- _context.next = 38;
2319
- break;
2321
+ if (config.settings) {
2322
+ settings = config.settings;
2323
+ } else {
2324
+ settings = {};
2320
2325
  }
2321
- settings = config.settings;
2322
- _context.next = 41;
2323
- break;
2324
- case 38:
2325
- _context.next = 40;
2326
- return this.root.configurationStore.fetchConfiguration({
2327
- identifier: config.identifier,
2328
- type: config.type
2329
- });
2330
- case 40:
2331
- settings = _context.sent;
2332
- case 41:
2333
2326
  openModuleLables = undefined;
2334
2327
  if (parameters) {
2335
2328
  _parameters = parameters, _parameters.openFrom, otherPrams = _objectWithoutProperties(_parameters, _excluded$4);
@@ -2381,7 +2374,7 @@ var ContentStore = /*#__PURE__*/function () {
2381
2374
  }
2382
2375
  this.setGlobalClass();
2383
2376
  this.root.loadingAndErrorStore.toggleLoading('openComponent');
2384
- case 59:
2377
+ case 53:
2385
2378
  case "end":
2386
2379
  return _context.stop();
2387
2380
  }
@@ -2764,6 +2757,12 @@ var ContentStore = /*#__PURE__*/function () {
2764
2757
  }
2765
2758
  return this._hidePrices;
2766
2759
  }
2760
+ }, {
2761
+ key: "hideConfigPricePreview",
2762
+ get: function get() {
2763
+ if (this.hidePrices) return true;
2764
+ return !!this._hideConfigPricePreview;
2765
+ }
2767
2766
 
2768
2767
  /**
2769
2768
  * Hides or shows prices
@@ -2774,6 +2773,15 @@ var ContentStore = /*#__PURE__*/function () {
2774
2773
  this._hidePrices = !this.hidePrices;
2775
2774
  window.localStorage.setItem('diva-price', this._hidePrices ? '1' : '0');
2776
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
+ }
2777
2785
  }, {
2778
2786
  key: "hideSnow",
2779
2787
  get: function get() {
@@ -8985,6 +8993,7 @@ var DivaCoreProvider = /*#__PURE__*/forwardRef(function (_ref, ref) {
8985
8993
  updateCustomHeaderElement: store.contentStore.updateCustomHeaderElement.bind(store.contentStore),
8986
8994
  updateBreadcrumbs: store.contentStore.updateBreadcrumbs.bind(store.contentStore),
8987
8995
  toggleHidePrices: store.contentStore.toggleHidePrices.bind(store.contentStore),
8996
+ toggleHideConfigPricePreview: store.contentStore.toggleHideConfigPricePreview.bind(store.contentStore),
8988
8997
  toggleHideSnow: store.contentStore.toggleHideSnow.bind(store.contentStore),
8989
8998
  setComponentChange: store.contentStore.setComponentChange.bind(store.contentStore),
8990
8999
  setOrganization: store.dataStore.updateOrganization.bind(store.dataStore),
@@ -9028,6 +9037,7 @@ var DivaCoreProvider = /*#__PURE__*/forwardRef(function (_ref, ref) {
9028
9037
  loginMode: store.loginMode,
9029
9038
  loading: store.loadingAndErrorStore.isLoading,
9030
9039
  hidePrices: store.contentStore.hidePrices,
9040
+ hideConfigPricePreview: store.contentStore.hideConfigPricePreview,
9031
9041
  hideSnow: store.contentStore.hideSnow,
9032
9042
  componentChange: store.contentStore.componentChange,
9033
9043
  dimensions: store.contentStore.containerDimensions,
@@ -9081,6 +9091,7 @@ var DivaCoreProvider = /*#__PURE__*/forwardRef(function (_ref, ref) {
9081
9091
  updateCustomHeaderElement: store.contentStore.updateCustomHeaderElement.bind(store.contentStore),
9082
9092
  updateBreadcrumbs: store.contentStore.updateBreadcrumbs.bind(store.contentStore),
9083
9093
  toggleHidePrices: store.contentStore.toggleHidePrices.bind(store.contentStore),
9094
+ toggleHideConfigPricePreview: store.contentStore.toggleHideConfigPricePreview.bind(store.contentStore),
9084
9095
  toggleHideSnow: store.contentStore.toggleHideSnow.bind(store.contentStore),
9085
9096
  setComponentChange: store.contentStore.setComponentChange.bind(store.contentStore),
9086
9097
  setOrganization: store.dataStore.updateOrganization.bind(store.dataStore),
@@ -9126,6 +9137,7 @@ var DivaCoreProvider = /*#__PURE__*/forwardRef(function (_ref, ref) {
9126
9137
  loginMode: store.loginMode,
9127
9138
  loading: store.loadingAndErrorStore.isLoading,
9128
9139
  hidePrices: store.contentStore.hidePrices,
9140
+ hideConfigPricePreview: store.contentStore.hideConfigPricePreview,
9129
9141
  hideSnow: store.contentStore.hideSnow,
9130
9142
  componentChange: store.contentStore.componentChange,
9131
9143
  dimensions: store.contentStore.containerDimensions,
@@ -9484,7 +9496,7 @@ var SideMenu$1 = observer(SideMenu);
9484
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; }
9485
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; }
9486
9498
  var LazyModals$1 = /*#__PURE__*/React.lazy(function () {
9487
- return import('./ModalsWrapper-2f097826.js');
9499
+ return import('./ModalsWrapper-35af3438.js');
9488
9500
  });
9489
9501
  function Fullscreen() {
9490
9502
  var _useDivaCoreContext = useDivaCoreContext(),
@@ -9932,10 +9944,10 @@ function ownKeys$3(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymb
9932
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; }
9933
9945
  var LOG$2 = getLogger('Framework', 'Root');
9934
9946
  var LazyAuth = /*#__PURE__*/React.lazy(function () {
9935
- return import('./index-abad8158.js');
9947
+ return import('./index-7eea882b.js');
9936
9948
  });
9937
9949
  var LazyModals = /*#__PURE__*/React.lazy(function () {
9938
- return import('./ModalsWrapper-2f097826.js');
9950
+ return import('./ModalsWrapper-35af3438.js');
9939
9951
  });
9940
9952
  function ContentComponent() {
9941
9953
  var context = useDivaCoreContext();
@@ -10210,7 +10222,7 @@ function HelpButton(_ref) {
10210
10222
 
10211
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; }
10212
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; }
10213
- 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'];
10214
10226
  function getRender(C) {
10215
10227
  return function (args) {
10216
10228
  return /*#__PURE__*/jsx(DivaMockProvider, {
@@ -10626,6 +10638,7 @@ var MockedRootStore = /*#__PURE__*/function () {
10626
10638
  var _this2 = this,
10627
10639
  _this$data$loading,
10628
10640
  _this$data$hidePrices,
10641
+ _this$data$hideConfig,
10629
10642
  _this$data$applicatio,
10630
10643
  _this$data$isFullscre,
10631
10644
  _this$data$enableSupp;
@@ -10707,6 +10720,13 @@ var MockedRootStore = /*#__PURE__*/function () {
10707
10720
  throw new Error('Method not implemented.');
10708
10721
  }
10709
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
+ },
10710
10730
  toggleLoading: function toggleLoading(id, hidden, toggle) {
10711
10731
  if (_this2.actions.toggleLoading) {
10712
10732
  _this2.actions.toggleLoading(id, hidden, toggle);
@@ -10862,6 +10882,7 @@ var MockedRootStore = /*#__PURE__*/function () {
10862
10882
  navigationConfiguration: this.navigationConfiguration,
10863
10883
  loading: (_this$data$loading = this.data.loading) !== null && _this$data$loading !== void 0 ? _this$data$loading : false,
10864
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,
10865
10886
  dimensions: this.dimensions,
10866
10887
  isMobile: userAgentIsMobile(),
10867
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-b989699d.js';
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-0be1f670.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';
@@ -848,7 +848,7 @@ function Register() {
848
848
  value: password,
849
849
  type: "password",
850
850
  autoFocus: true,
851
- placeholder: t('auth.input.password'),
851
+ placeholder: t('auth.input.newpassword'),
852
852
  onChange: function onChange(e) {
853
853
  return setPassword(e.target.value);
854
854
  }
@@ -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-b989699d.js';
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-0be1f670.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;AAetD,iBAAS,KAAK,sBAyKb;;;;AAED,wBAA+B"}
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,CAoB5C;IAED,IAAI,gBAAgB,IAAI,gBAAgB,CAOvC;IAED,IAAI,eAAe,IAAI,eAAe,CAMrC;IAED,IAAI,iBAAiB,YAEpB;IAED,IAAI,cAAc,IAAI,2BAA2B,CAchD;IAED,IAAI,aAAa,wBAEhB;IAED,IAAI,aAAa,wBAEhB;IAED,IAAI,iBAAiB;;;;;;;kBAEpB;IAED,IAAI,YAAY,YAEf;IAED,IAAI,aAAa,wBAEhB;IAED,IAAI,kBAAkB,wBAKrB;IAED,IAAI,SAAS,IAAI,SAAS,CAEzB;IAED,IAAI,sBAAsB,qBAEzB;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"}
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;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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?;
@@ -33,9 +34,7 @@ export default class ContentStore {
33
34
  * Checks against the configuration and opens in the expected way (e.g. new tab)
34
35
  * @param action the component or external url
35
36
  */
36
- openComponent(action: Action): Generator<Promise<any>, void, {
37
- [key: string]: any;
38
- } | undefined>;
37
+ openComponent(action: Action): Generator<never, void, unknown>;
39
38
  openComponentInFullscreen(component: Component): Generator<Promise<any>, void, {
40
39
  [key: string]: any;
41
40
  } | undefined>;
@@ -107,10 +106,15 @@ export default class ContentStore {
107
106
  * when _hidePrices is undefined we use the default from the config in org
108
107
  */
109
108
  get hidePrices(): boolean;
109
+ get hideConfigPricePreview(): boolean;
110
110
  /**
111
111
  * Hides or shows prices
112
112
  */
113
113
  toggleHidePrices(): void;
114
+ /**
115
+ * Hides or shows price preview in planner
116
+ */
117
+ toggleHideConfigPricePreview(): void;
114
118
  get hideSnow(): boolean;
115
119
  /**
116
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,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