@crystaldesign/diva-core 24.14.0-beta.16 → 24.14.0-beta.18
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-cdfb6eba.js → ModalsWrapper-72057410.js} +1 -1
- package/build/esm/{index-a1d5e388.js → index-4c19fe05.js} +6 -6
- package/build/esm/{index-ab7db2b3.js → index-fbb43ea0.js} +1 -1
- package/build/esm/index.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-4c19fe05.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';
|
|
@@ -44,7 +44,7 @@ import { actions } from '@storybook/addon-actions';
|
|
|
44
44
|
import * as Styles from '@material-ui/styles';
|
|
45
45
|
|
|
46
46
|
(function() {
|
|
47
|
-
const env = {"STAGE":"production","VERSION":"24.14.0-beta.
|
|
47
|
+
const env = {"STAGE":"production","VERSION":"24.14.0-beta.18"};
|
|
48
48
|
try {
|
|
49
49
|
if (process) {
|
|
50
50
|
process.env = Object.assign({}, process.env);
|
|
@@ -4346,7 +4346,7 @@ var AuthorizationStore = /*#__PURE__*/function () {
|
|
|
4346
4346
|
key: "autorize",
|
|
4347
4347
|
value: /*#__PURE__*/_regeneratorRuntime.mark(function autorize(organizationId, nToken) {
|
|
4348
4348
|
var _this$state, _this$state2;
|
|
4349
|
-
var _this$state3, authorizationData;
|
|
4349
|
+
var _this$state3, authorizationData, _e$custom;
|
|
4350
4350
|
return _regeneratorRuntime.wrap(function autorize$(_context3) {
|
|
4351
4351
|
while (1) switch (_context3.prev = _context3.next) {
|
|
4352
4352
|
case 0:
|
|
@@ -4383,7 +4383,7 @@ var AuthorizationStore = /*#__PURE__*/function () {
|
|
|
4383
4383
|
case 18:
|
|
4384
4384
|
return _context3.abrupt("return", _context3.sent);
|
|
4385
4385
|
case 21:
|
|
4386
|
-
if (!(_context3.t0 instanceof DivaError && _context3.t0.name == 'CORE_0003')) {
|
|
4386
|
+
if (!(_context3.t0 instanceof DivaError && _context3.t0.name == 'CORE_0003' && !((_e$custom = _context3.t0.custom) !== null && _e$custom !== void 0 && _e$custom.requestedOrganizationId))) {
|
|
4387
4387
|
_context3.next = 26;
|
|
4388
4388
|
break;
|
|
4389
4389
|
}
|
|
@@ -9423,7 +9423,7 @@ var SideMenu$1 = observer(SideMenu);
|
|
|
9423
9423
|
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; }
|
|
9424
9424
|
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; }
|
|
9425
9425
|
var LazyModals$1 = /*#__PURE__*/React.lazy(function () {
|
|
9426
|
-
return import('./ModalsWrapper-
|
|
9426
|
+
return import('./ModalsWrapper-72057410.js');
|
|
9427
9427
|
});
|
|
9428
9428
|
function Fullscreen() {
|
|
9429
9429
|
var _useDivaCoreContext = useDivaCoreContext(),
|
|
@@ -9870,10 +9870,10 @@ function ownKeys$3(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymb
|
|
|
9870
9870
|
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; }
|
|
9871
9871
|
var LOG$2 = getLogger('Framework', 'Root');
|
|
9872
9872
|
var LazyAuth = /*#__PURE__*/React.lazy(function () {
|
|
9873
|
-
return import('./index-
|
|
9873
|
+
return import('./index-fbb43ea0.js');
|
|
9874
9874
|
});
|
|
9875
9875
|
var LazyModals = /*#__PURE__*/React.lazy(function () {
|
|
9876
|
-
return import('./ModalsWrapper-
|
|
9876
|
+
return import('./ModalsWrapper-72057410.js');
|
|
9877
9877
|
});
|
|
9878
9878
|
function ContentComponent() {
|
|
9879
9879
|
var context = useDivaCoreContext();
|
|
@@ -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-4c19fe05.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-4c19fe05.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';
|