@crystaldesign/diva-core 24.9.0-beta.34 → 24.9.0-beta.35
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-2a60e6a4.js → ModalsWrapper-b7d216ba.js} +1 -1
- package/build/esm/{index-f42ebb66.js → index-055cd411.js} +7 -7
- package/build/esm/{index-e9ad741a.js → index-063721e6.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-055cd411.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';
|
|
@@ -41,7 +41,7 @@ import HelpOutline from '@material-ui/icons/HelpOutline';
|
|
|
41
41
|
import * as Styles from '@material-ui/styles';
|
|
42
42
|
|
|
43
43
|
(function() {
|
|
44
|
-
const env = {"STAGE":"production","VERSION":"24.9.0-beta.
|
|
44
|
+
const env = {"STAGE":"production","VERSION":"24.9.0-beta.35"};
|
|
45
45
|
try {
|
|
46
46
|
if (process) {
|
|
47
47
|
process.env = Object.assign({}, process.env);
|
|
@@ -4395,7 +4395,7 @@ var AuthorizationStore = /*#__PURE__*/function () {
|
|
|
4395
4395
|
}, {
|
|
4396
4396
|
key: "logout",
|
|
4397
4397
|
value: /*#__PURE__*/_regeneratorRuntime.mark(function logout(relogin, skipApiLogout, currentOrganization, skipRedirect) {
|
|
4398
|
-
var redirectUrl, _logout$redirect,
|
|
4398
|
+
var redirectUrl, _logout$redirect, _logout;
|
|
4399
4399
|
return _regeneratorRuntime.wrap(function logout$(_context7) {
|
|
4400
4400
|
while (1) switch (_context7.prev = _context7.next) {
|
|
4401
4401
|
case 0:
|
|
@@ -4409,8 +4409,8 @@ var AuthorizationStore = /*#__PURE__*/function () {
|
|
|
4409
4409
|
callbackUri: redirectUrl
|
|
4410
4410
|
});
|
|
4411
4411
|
case 4:
|
|
4412
|
-
|
|
4413
|
-
redirectUrl = (_logout$redirect =
|
|
4412
|
+
_logout = _context7.sent;
|
|
4413
|
+
redirectUrl = (_logout$redirect = _logout.redirect) !== null && _logout$redirect !== void 0 ? _logout$redirect : redirectUrl;
|
|
4414
4414
|
case 6:
|
|
4415
4415
|
this.root.browserStateStore.setStoredNToken();
|
|
4416
4416
|
if (!relogin) {
|
|
@@ -9243,7 +9243,7 @@ var SideMenu$1 = observer(SideMenu);
|
|
|
9243
9243
|
function ownKeys$2(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; }
|
|
9244
9244
|
function _objectSpread$2(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
9245
9245
|
var LazyModals$1 = /*#__PURE__*/React.lazy(function () {
|
|
9246
|
-
return import('./ModalsWrapper-
|
|
9246
|
+
return import('./ModalsWrapper-b7d216ba.js');
|
|
9247
9247
|
});
|
|
9248
9248
|
function Fullscreen() {
|
|
9249
9249
|
var _useDivaCoreContext = useDivaCoreContext(),
|
|
@@ -9692,10 +9692,10 @@ function ownKeys$1(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymb
|
|
|
9692
9692
|
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; }
|
|
9693
9693
|
var LOG$4 = getLogger('Framework', 'Root');
|
|
9694
9694
|
var LazyAuth = /*#__PURE__*/React.lazy(function () {
|
|
9695
|
-
return import('./index-
|
|
9695
|
+
return import('./index-063721e6.js');
|
|
9696
9696
|
});
|
|
9697
9697
|
var LazyModals = /*#__PURE__*/React.lazy(function () {
|
|
9698
|
-
return import('./ModalsWrapper-
|
|
9698
|
+
return import('./ModalsWrapper-b7d216ba.js');
|
|
9699
9699
|
});
|
|
9700
9700
|
function Content() {
|
|
9701
9701
|
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-055cd411.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, 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, j as useDivaCore } from './index-
|
|
1
|
+
export { k as AnalyticsHandler, A as AuthorizationHandler, o as ClientArticleHandler, C as Content, 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, j as useDivaCore } from './index-055cd411.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';
|