@crystaldesign/diva-core 24.9.0-rc.15 → 24.9.0-rc.16
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-36b7fee2.js → ModalsWrapper-0b3d9eb3.js} +1 -1
- package/build/esm/{index-54803e21.js → index-a2c5aa90.js} +1 -1
- package/build/esm/{index-0c2d0f93.js → index-c122e8ca.js} +7 -7
- 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-c122e8ca.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-
|
|
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-c122e8ca.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';
|
|
@@ -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-rc.
|
|
44
|
+
const env = {"STAGE":"production","VERSION":"24.9.0-rc.16"};
|
|
45
45
|
try {
|
|
46
46
|
if (process) {
|
|
47
47
|
process.env = Object.assign({}, process.env);
|
|
@@ -4396,7 +4396,7 @@ var AuthorizationStore = /*#__PURE__*/function () {
|
|
|
4396
4396
|
}, {
|
|
4397
4397
|
key: "logout",
|
|
4398
4398
|
value: /*#__PURE__*/_regeneratorRuntime.mark(function logout(relogin, skipApiLogout, currentOrganization, skipRedirect) {
|
|
4399
|
-
var redirectUrl, _logout$redirect,
|
|
4399
|
+
var redirectUrl, _logout$redirect, _logout;
|
|
4400
4400
|
return _regeneratorRuntime.wrap(function logout$(_context7) {
|
|
4401
4401
|
while (1) switch (_context7.prev = _context7.next) {
|
|
4402
4402
|
case 0:
|
|
@@ -4410,8 +4410,8 @@ var AuthorizationStore = /*#__PURE__*/function () {
|
|
|
4410
4410
|
callbackUri: redirectUrl
|
|
4411
4411
|
});
|
|
4412
4412
|
case 4:
|
|
4413
|
-
|
|
4414
|
-
redirectUrl = (_logout$redirect =
|
|
4413
|
+
_logout = _context7.sent;
|
|
4414
|
+
redirectUrl = (_logout$redirect = _logout.redirect) !== null && _logout$redirect !== void 0 ? _logout$redirect : redirectUrl;
|
|
4415
4415
|
case 6:
|
|
4416
4416
|
this.root.browserStateStore.setStoredNToken();
|
|
4417
4417
|
if (!relogin) {
|
|
@@ -9244,7 +9244,7 @@ var SideMenu$1 = observer(SideMenu);
|
|
|
9244
9244
|
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; }
|
|
9245
9245
|
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; }
|
|
9246
9246
|
var LazyModals$1 = /*#__PURE__*/React.lazy(function () {
|
|
9247
|
-
return import('./ModalsWrapper-
|
|
9247
|
+
return import('./ModalsWrapper-0b3d9eb3.js');
|
|
9248
9248
|
});
|
|
9249
9249
|
function Fullscreen() {
|
|
9250
9250
|
var _useDivaCoreContext = useDivaCoreContext(),
|
|
@@ -9691,10 +9691,10 @@ function ownKeys$1(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymb
|
|
|
9691
9691
|
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; }
|
|
9692
9692
|
var LOG$4 = getLogger('Framework', 'Root');
|
|
9693
9693
|
var LazyAuth = /*#__PURE__*/React.lazy(function () {
|
|
9694
|
-
return import('./index-
|
|
9694
|
+
return import('./index-a2c5aa90.js');
|
|
9695
9695
|
});
|
|
9696
9696
|
var LazyModals = /*#__PURE__*/React.lazy(function () {
|
|
9697
|
-
return import('./ModalsWrapper-
|
|
9697
|
+
return import('./ModalsWrapper-0b3d9eb3.js');
|
|
9698
9698
|
});
|
|
9699
9699
|
function Content() {
|
|
9700
9700
|
var context = useDivaCoreContext();
|
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-c122e8ca.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';
|