@crystaldesign/diva-core 25.8.0-beta.24 → 25.8.0-beta.26

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-34f65e84.js';
1
+ import { i as styleInject, u as useDivaCoreContext } from './index-7ac36f45.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';
@@ -1,4 +1,4 @@
1
- import { u as useDivaCoreContext, A as AuthButton, s as socialButton, g as google, m as microsoft, t as titlecontainer, e as error, a as getLogger, b as separator, I as Input, l as link, c as success, d as auth, f as loginBox, h as logoContainer } from './index-34f65e84.js';
1
+ import { u as useDivaCoreContext, A as AuthButton, s as socialButton, g as google, m as microsoft, t as titlecontainer, e as error, a as getLogger, b as separator, I as Input, l as link, c as success, d as auth, f as loginBox, h as logoContainer } from './index-7ac36f45.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';
@@ -46,7 +46,7 @@ import { actions } from '@storybook/addon-actions';
46
46
  import * as Styles from '@mui/styles';
47
47
 
48
48
  (function() {
49
- const env = {"STAGE":"production","VERSION":"25.8.0-beta.24"};
49
+ const env = {"STAGE":"production","VERSION":"25.8.0-beta.26"};
50
50
  try {
51
51
  if (process) {
52
52
  process.env = Object.assign({}, process.env);
@@ -884,12 +884,12 @@ var ConfigurationStore = /*#__PURE__*/function () {
884
884
  }, {
885
885
  key: "navigation",
886
886
  get: function get() {
887
- var _this$_configuration10, _this$_configuration11, _this$_configuration12, _this$_configuration13, _this$_configuration14, _this$_configuration15, _this$_configuration16, _this$_configuration17, _this$_configuration18, _this$_configuration19, _this$_configuration20, _this$_configuration21, _this$_configuration22, _this$_configuration23, _this$_configuration24, _this$_configuration25, _this$_configuration26, _this$_configuration27, _this$root$dataStore$, _this$_configuration28;
887
+ var _this$_configuration10, _this$_configuration11, _this$_configuration$, _this$_configuration12, _this$_configuration$2, _this$_configuration13, _this$_configuration14, _this$_configuration15, _this$_configuration16, _this$_configuration17, _this$_configuration18, _this$_configuration19, _this$_configuration20, _this$_configuration21, _this$_configuration22, _this$_configuration23, _this$_configuration24, _this$_configuration25, _this$_configuration26, _this$_configuration27, _this$root$dataStore$, _this$_configuration28;
888
888
  return {
889
889
  buttons: ((_this$_configuration10 = this._configuration) === null || _this$_configuration10 === void 0 || (_this$_configuration10 = _this$_configuration10.navigation) === null || _this$_configuration10 === void 0 ? void 0 : _this$_configuration10.buttons) || [],
890
890
  imprintUrl: (_this$_configuration11 = this._configuration) === null || _this$_configuration11 === void 0 || (_this$_configuration11 = _this$_configuration11.navigation) === null || _this$_configuration11 === void 0 ? void 0 : _this$_configuration11.imprintUrl,
891
- privacyUrl: (_this$_configuration12 = this._configuration) === null || _this$_configuration12 === void 0 || (_this$_configuration12 = _this$_configuration12.navigation) === null || _this$_configuration12 === void 0 ? void 0 : _this$_configuration12.privacyUrl,
892
- tosUrl: (_this$_configuration13 = this._configuration) === null || _this$_configuration13 === void 0 || (_this$_configuration13 = _this$_configuration13.navigation) === null || _this$_configuration13 === void 0 ? void 0 : _this$_configuration13.tosUrl,
891
+ privacyUrl: (_this$_configuration$ = (_this$_configuration12 = this._configuration) === null || _this$_configuration12 === void 0 || (_this$_configuration12 = _this$_configuration12.navigation) === null || _this$_configuration12 === void 0 ? void 0 : _this$_configuration12.privacyUrl) !== null && _this$_configuration$ !== void 0 ? _this$_configuration$ : 'https://www.diva-portal.de/datenschutz',
892
+ tosUrl: (_this$_configuration$2 = (_this$_configuration13 = this._configuration) === null || _this$_configuration13 === void 0 || (_this$_configuration13 = _this$_configuration13.navigation) === null || _this$_configuration13 === void 0 ? void 0 : _this$_configuration13.tosUrl) !== null && _this$_configuration$2 !== void 0 ? _this$_configuration$2 : 'https://www.diva-portal.de/agb',
893
893
  conditionsUrl: (_this$_configuration14 = this._configuration) === null || _this$_configuration14 === void 0 || (_this$_configuration14 = _this$_configuration14.navigation) === null || _this$_configuration14 === void 0 ? void 0 : _this$_configuration14.conditionsUrl,
894
894
  supportUrl: (_this$_configuration15 = this._configuration) === null || _this$_configuration15 === void 0 || (_this$_configuration15 = _this$_configuration15.navigation) === null || _this$_configuration15 === void 0 ? void 0 : _this$_configuration15.supportUrl,
895
895
  feedbackUrl: (_this$_configuration16 = this._configuration) === null || _this$_configuration16 === void 0 || (_this$_configuration16 = _this$_configuration16.navigation) === null || _this$_configuration16 === void 0 ? void 0 : _this$_configuration16.feedbackUrl,
@@ -939,8 +939,8 @@ var ConfigurationStore = /*#__PURE__*/function () {
939
939
  }, {
940
940
  key: "authentication",
941
941
  get: function get() {
942
- var _this$_configuration$, _this$_configuration37, _this$_configuration38, _this$_configuration39, _this$_configuration40, _this$_configuration41, _this$_configuration42, _this$_configuration43, _this$_configuration44, _this$_configuration45, _this$_configuration$2, _this$_configuration46;
943
- return _objectSpread$f(_objectSpread$f({}, (_this$_configuration$ = (_this$_configuration37 = this._configuration) === null || _this$_configuration37 === void 0 ? void 0 : _this$_configuration37.authentication) !== null && _this$_configuration$ !== void 0 ? _this$_configuration$ : {}), {}, {
942
+ var _this$_configuration$3, _this$_configuration37, _this$_configuration38, _this$_configuration39, _this$_configuration40, _this$_configuration41, _this$_configuration42, _this$_configuration43, _this$_configuration44, _this$_configuration45, _this$_configuration$4, _this$_configuration46;
943
+ return _objectSpread$f(_objectSpread$f({}, (_this$_configuration$3 = (_this$_configuration37 = this._configuration) === null || _this$_configuration37 === void 0 ? void 0 : _this$_configuration37.authentication) !== null && _this$_configuration$3 !== void 0 ? _this$_configuration$3 : {}), {}, {
944
944
  loginMethods: {
945
945
  google: (_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.google : true,
946
946
  microsoft: (_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.microsoft : true,
@@ -949,7 +949,7 @@ var ConfigurationStore = /*#__PURE__*/function () {
949
949
  },
950
950
  contentBox: (_this$_configuration45 = this._configuration) === null || _this$_configuration45 === void 0 || (_this$_configuration45 = _this$_configuration45.authentication) === null || _this$_configuration45 === void 0 ? void 0 : _this$_configuration45.contentBox,
951
951
  resetPassword: {
952
- returnToLogin: (_this$_configuration$2 = (_this$_configuration46 = this._configuration) === null || _this$_configuration46 === void 0 || (_this$_configuration46 = _this$_configuration46.authentication) === null || _this$_configuration46 === void 0 || (_this$_configuration46 = _this$_configuration46.resetPassword) === null || _this$_configuration46 === void 0 ? void 0 : _this$_configuration46.returnToLogin) !== null && _this$_configuration$2 !== void 0 ? _this$_configuration$2 : true
952
+ returnToLogin: (_this$_configuration$4 = (_this$_configuration46 = this._configuration) === null || _this$_configuration46 === void 0 || (_this$_configuration46 = _this$_configuration46.authentication) === null || _this$_configuration46 === void 0 || (_this$_configuration46 = _this$_configuration46.resetPassword) === null || _this$_configuration46 === void 0 ? void 0 : _this$_configuration46.returnToLogin) !== null && _this$_configuration$4 !== void 0 ? _this$_configuration$4 : true
953
953
  }
954
954
  });
955
955
  }
@@ -1001,8 +1001,8 @@ var ConfigurationStore = /*#__PURE__*/function () {
1001
1001
  }, {
1002
1002
  key: "applicationEnvironment",
1003
1003
  get: function get() {
1004
- var _this$_configuration$3, _this$_configuration54;
1005
- return (_this$_configuration$3 = (_this$_configuration54 = this._configuration) === null || _this$_configuration54 === void 0 ? void 0 : _this$_configuration54.applicationEnvironment) !== null && _this$_configuration$3 !== void 0 ? _this$_configuration$3 : 'SELLER';
1004
+ var _this$_configuration$5, _this$_configuration54;
1005
+ return (_this$_configuration$5 = (_this$_configuration54 = this._configuration) === null || _this$_configuration54 === void 0 ? void 0 : _this$_configuration54.applicationEnvironment) !== null && _this$_configuration$5 !== void 0 ? _this$_configuration$5 : 'SELLER';
1006
1006
  }
1007
1007
  }, {
1008
1008
  key: "priceFormat",
@@ -9620,7 +9620,7 @@ var SideMenu$1 = observer(SideMenu);
9620
9620
  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; }
9621
9621
  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; }
9622
9622
  var LazyModals$1 = /*#__PURE__*/React.lazy(function () {
9623
- return import('./ModalsWrapper-5931ad68.js');
9623
+ return import('./ModalsWrapper-31fc5b35.js');
9624
9624
  });
9625
9625
  function Fullscreen(_ref) {
9626
9626
  var inAbsoluteFullscreen = _ref.inAbsoluteFullscreen;
@@ -10078,10 +10078,10 @@ function ownKeys$3(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymb
10078
10078
  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; }
10079
10079
  var LOG$2 = getLogger('Framework', 'Root');
10080
10080
  var LazyAuth = /*#__PURE__*/React.lazy(function () {
10081
- return import('./index-dfb1ae6d.js');
10081
+ return import('./index-4af8ba4d.js');
10082
10082
  });
10083
10083
  var LazyModals = /*#__PURE__*/React.lazy(function () {
10084
- return import('./ModalsWrapper-5931ad68.js');
10084
+ return import('./ModalsWrapper-31fc5b35.js');
10085
10085
  });
10086
10086
  function ContentComponent() {
10087
10087
  var context = useDivaCoreContext();
@@ -1,4 +1,4 @@
1
- export { n as AnalyticsHandler, k as AuthorizationHandler, p as ClientArticleHandler, C as Content, q as DivaMockProvider, H as HelpButton, O as ONE_DAY_UNIX, o as OrganizationHandler, P as ProductHandler, R as RequestStatus, S as SupportHandler, D as default, a as getLogger, r as storyBookCoreMock, j as useDivaCore } from './index-34f65e84.js';
1
+ export { n as AnalyticsHandler, k as AuthorizationHandler, p as ClientArticleHandler, C as Content, q as DivaMockProvider, H as HelpButton, O as ONE_DAY_UNIX, o as OrganizationHandler, P as ProductHandler, R as RequestStatus, S as SupportHandler, D as default, a as getLogger, r as storyBookCoreMock, j as useDivaCore } from './index-7ac36f45.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';