@crystaldesign/diva-core 24.13.0-rc.8 → 24.13.0

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-5b349ad8.js';
1
+ import { i as styleInject, u as useDivaCoreContext } from './index-cb66b2e7.js';
2
2
  import { useState, useEffect, useCallback } from 'react';
3
3
  import { observer } from 'mobx-react-lite';
4
4
  import Button from '@material-ui/core/Button';
@@ -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-5b349ad8.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-cb66b2e7.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';
@@ -43,7 +43,7 @@ import { actions } from '@storybook/addon-actions';
43
43
  import * as Styles from '@material-ui/styles';
44
44
 
45
45
  (function() {
46
- const env = {"STAGE":"production","VERSION":"24.13.0-rc.8"};
46
+ const env = {"STAGE":"production","VERSION":"24.13.0"};
47
47
  try {
48
48
  if (process) {
49
49
  process.env = Object.assign({}, process.env);
@@ -4364,7 +4364,7 @@ var AuthorizationStore = /*#__PURE__*/function () {
4364
4364
  key: "autorize",
4365
4365
  value: /*#__PURE__*/_regeneratorRuntime.mark(function autorize(organizationId, nToken) {
4366
4366
  var _this$state, _this$state2;
4367
- var _this$state3, authorizationData;
4367
+ var _this$state3, authorizationData, _e$custom;
4368
4368
  return _regeneratorRuntime.wrap(function autorize$(_context3) {
4369
4369
  while (1) switch (_context3.prev = _context3.next) {
4370
4370
  case 0:
@@ -4401,7 +4401,7 @@ var AuthorizationStore = /*#__PURE__*/function () {
4401
4401
  case 18:
4402
4402
  return _context3.abrupt("return", _context3.sent);
4403
4403
  case 21:
4404
- if (!(_context3.t0 instanceof DivaError && _context3.t0.name == 'CORE_0003')) {
4404
+ if (!(_context3.t0 instanceof DivaError && _context3.t0.name == 'CORE_0003' && !((_e$custom = _context3.t0.custom) !== null && _e$custom !== void 0 && _e$custom.requestedOrganizationId))) {
4405
4405
  _context3.next = 26;
4406
4406
  break;
4407
4407
  }
@@ -9436,7 +9436,7 @@ var SideMenu$1 = observer(SideMenu);
9436
9436
  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; }
9437
9437
  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; }
9438
9438
  var LazyModals$1 = /*#__PURE__*/React.lazy(function () {
9439
- return import('./ModalsWrapper-1667735f.js');
9439
+ return import('./ModalsWrapper-4443ce75.js');
9440
9440
  });
9441
9441
  function Fullscreen() {
9442
9442
  var _useDivaCoreContext = useDivaCoreContext(),
@@ -9883,10 +9883,10 @@ function ownKeys$3(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymb
9883
9883
  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; }
9884
9884
  var LOG$2 = getLogger('Framework', 'Root');
9885
9885
  var LazyAuth = /*#__PURE__*/React.lazy(function () {
9886
- return import('./index-272d79d9.js');
9886
+ return import('./index-6810cc9a.js');
9887
9887
  });
9888
9888
  var LazyModals = /*#__PURE__*/React.lazy(function () {
9889
- return import('./ModalsWrapper-1667735f.js');
9889
+ return import('./ModalsWrapper-4443ce75.js');
9890
9890
  });
9891
9891
  function ContentComponent() {
9892
9892
  var context = useDivaCoreContext();
@@ -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-5b349ad8.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-cb66b2e7.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';