@commercetools-frontend/application-shell 21.0.0-rc.3 → 21.0.0-rc.4
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/dist/{application-entry-point-aeb8ef57.cjs.prod.js → application-entry-point-0480091d.cjs.prod.js} +1 -1
- package/dist/{application-entry-point-4ef2cd89.esm.js → application-entry-point-15f08ea9.esm.js} +1 -1
- package/dist/{application-entry-point-684d30f1.cjs.dev.js → application-entry-point-ff03d6cd.cjs.dev.js} +1 -1
- package/dist/commercetools-frontend-application-shell.cjs.dev.js +3 -3
- package/dist/commercetools-frontend-application-shell.cjs.prod.js +3 -3
- package/dist/commercetools-frontend-application-shell.esm.js +3 -3
- package/dist/{index-2ed9e466.esm.js → index-0e0e9b7e.esm.js} +7 -7
- package/dist/{index-7a56bcf7.cjs.prod.js → index-76603186.cjs.prod.js} +7 -7
- package/dist/{index-20accc34.cjs.dev.js → index-853d7264.cjs.dev.js} +7 -7
- package/dist/oidc-cb5c92bd.esm.js +39 -0
- package/dist/oidc-d5829556.cjs.prod.js +46 -0
- package/dist/oidc-f43cd8da.cjs.dev.js +46 -0
- package/dist/{project-expired-23986e27.cjs.prod.js → project-expired-15ecc19f.cjs.prod.js} +4 -4
- package/dist/{project-expired-636492de.esm.js → project-expired-4ee38a9e.esm.js} +4 -4
- package/dist/{project-expired-bf97d316.cjs.dev.js → project-expired-8686a3a0.cjs.dev.js} +4 -4
- package/dist/{project-not-found-f683495d.esm.js → project-not-found-4f9d158f.esm.js} +4 -4
- package/dist/{project-not-found-9cd66e2e.cjs.dev.js → project-not-found-b26113db.cjs.dev.js} +4 -4
- package/dist/{project-not-found-aed705a5.cjs.prod.js → project-not-found-c43f3bd6.cjs.prod.js} +4 -4
- package/dist/{project-not-initialized-64d7c6c4.cjs.prod.js → project-not-initialized-2e4ac3db.cjs.prod.js} +4 -4
- package/dist/{project-not-initialized-74b1d4f0.cjs.dev.js → project-not-initialized-34a6cc96.cjs.dev.js} +4 -4
- package/dist/{project-not-initialized-0dd0af36.esm.js → project-not-initialized-37a30cd5.esm.js} +4 -4
- package/dist/{project-suspended-e25053f6.cjs.dev.js → project-suspended-e5b7ec4f.cjs.dev.js} +4 -4
- package/dist/{project-suspended-cbd838b6.cjs.prod.js → project-suspended-eb81b9e8.cjs.prod.js} +4 -4
- package/dist/{project-suspended-8613f5b0.esm.js → project-suspended-f5f71734.esm.js} +4 -4
- package/dist/{quick-access-4ddb0aad.esm.js → quick-access-0a923c81.esm.js} +3 -3
- package/dist/{quick-access-099595d5.cjs.dev.js → quick-access-b88c5bed.cjs.dev.js} +3 -3
- package/dist/{quick-access-160ee728.cjs.prod.js → quick-access-b8f4ddba.cjs.prod.js} +3 -3
- package/dist/{service-page-project-switcher-f4d306ff.cjs.dev.js → service-page-project-switcher-68e04bc9.cjs.dev.js} +1 -1
- package/dist/{service-page-project-switcher-91dc2d6b.cjs.prod.js → service-page-project-switcher-902fc225.cjs.prod.js} +1 -1
- package/dist/{service-page-project-switcher-95af2b70.esm.js → service-page-project-switcher-f439d7fd.esm.js} +1 -1
- package/package.json +1 -1
- package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.dev.js +1 -1
- package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.prod.js +1 -1
- package/ssr/dist/commercetools-frontend-application-shell-ssr.esm.js +1 -1
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.dev.js +1 -1
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.prod.js +1 -1
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.esm.js +1 -1
- package/dist/oidc-0f5f3c40.esm.js +0 -39
- package/dist/oidc-96d1b0dd.cjs.dev.js +0 -46
- package/dist/oidc-f15b3576.cjs.prod.js +0 -46
|
@@ -100,7 +100,7 @@ var _JSON$stringify__default = /*#__PURE__*/_interopDefault(_JSON$stringify);
|
|
|
100
100
|
var invariant__default = /*#__PURE__*/_interopDefault(invariant);
|
|
101
101
|
|
|
102
102
|
// NOTE: This string will be replaced on build time with the package version.
|
|
103
|
-
var version = "21.0.0-rc.
|
|
103
|
+
var version = "21.0.0-rc.4";
|
|
104
104
|
|
|
105
105
|
var isAddNotificationErrorAction = function isAddNotificationErrorAction(action) {
|
|
106
106
|
var errorAction = action;
|
package/dist/{application-entry-point-4ef2cd89.esm.js → application-entry-point-15f08ea9.esm.js}
RENAMED
|
@@ -60,7 +60,7 @@ import { PageNotFound, PageUnauthorized } from '@commercetools-frontend/applicat
|
|
|
60
60
|
import { useApplicationContext } from '@commercetools-frontend/application-shell-connectors';
|
|
61
61
|
|
|
62
62
|
// NOTE: This string will be replaced on build time with the package version.
|
|
63
|
-
var version = "21.0.0-rc.
|
|
63
|
+
var version = "21.0.0-rc.4";
|
|
64
64
|
|
|
65
65
|
var isAddNotificationErrorAction = function isAddNotificationErrorAction(action) {
|
|
66
66
|
var errorAction = action;
|
|
@@ -101,7 +101,7 @@ var _pt__default = /*#__PURE__*/_interopDefault(_pt);
|
|
|
101
101
|
var invariant__default = /*#__PURE__*/_interopDefault(invariant);
|
|
102
102
|
|
|
103
103
|
// NOTE: This string will be replaced on build time with the package version.
|
|
104
|
-
var version = "21.0.0-rc.
|
|
104
|
+
var version = "21.0.0-rc.4";
|
|
105
105
|
|
|
106
106
|
var isAddNotificationErrorAction = function isAddNotificationErrorAction(action) {
|
|
107
107
|
var errorAction = action;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var applicationEntryPoint = require('./application-entry-point-
|
|
6
|
-
var dist_commercetoolsFrontendApplicationShell = require('./index-
|
|
5
|
+
var applicationEntryPoint = require('./application-entry-point-ff03d6cd.cjs.dev.js');
|
|
6
|
+
var dist_commercetoolsFrontendApplicationShell = require('./index-853d7264.cjs.dev.js');
|
|
7
7
|
require('@babel/runtime-corejs3/core-js-stable/instance/filter');
|
|
8
8
|
require('uuid');
|
|
9
9
|
require('@babel/runtime-corejs3/core-js-stable/url');
|
|
@@ -74,7 +74,7 @@ require('@babel/runtime-corejs3/helpers/typeof');
|
|
|
74
74
|
require('@babel/runtime-corejs3/core-js-stable/instance/reverse');
|
|
75
75
|
require('lodash/camelCase');
|
|
76
76
|
require('@apollo/client/react');
|
|
77
|
-
require('./oidc-
|
|
77
|
+
require('./oidc-f43cd8da.cjs.dev.js');
|
|
78
78
|
require('qss');
|
|
79
79
|
require('jwt-decode');
|
|
80
80
|
require('@commercetools-frontend/assets/images/locked-diamond.svg');
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var applicationEntryPoint = require('./application-entry-point-
|
|
6
|
-
var dist_commercetoolsFrontendApplicationShell = require('./index-
|
|
5
|
+
var applicationEntryPoint = require('./application-entry-point-0480091d.cjs.prod.js');
|
|
6
|
+
var dist_commercetoolsFrontendApplicationShell = require('./index-76603186.cjs.prod.js');
|
|
7
7
|
require('@babel/runtime-corejs3/core-js-stable/instance/filter');
|
|
8
8
|
require('uuid');
|
|
9
9
|
require('@babel/runtime-corejs3/core-js-stable/url');
|
|
@@ -74,7 +74,7 @@ require('@babel/runtime-corejs3/helpers/typeof');
|
|
|
74
74
|
require('@babel/runtime-corejs3/core-js-stable/instance/reverse');
|
|
75
75
|
require('lodash/camelCase');
|
|
76
76
|
require('@apollo/client/react');
|
|
77
|
-
require('./oidc-
|
|
77
|
+
require('./oidc-d5829556.cjs.prod.js');
|
|
78
78
|
require('qss');
|
|
79
79
|
require('jwt-decode');
|
|
80
80
|
require('@commercetools-frontend/assets/images/locked-diamond.svg');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { p as RouteCatchAll, q as applyDefaultMiddlewares, f as createApolloClient, n as selectProjectKeyFromUrl, t as selectUserId, v as version } from './application-entry-point-
|
|
2
|
-
export { A as ApplicationShell, a as ApplicationShellProvider, C as ConfigureIntlProvider, G as GtmContext, b as GtmUserLogoutTracker, I as InjectReducers, S as SetupFlopFlipProvider, c as createApolloContextForProxyForwardTo, s as setupGlobalErrorListener, d as useMcLazyQuery, e as useMcMutation, u as useMcQuery } from './index-
|
|
1
|
+
export { p as RouteCatchAll, q as applyDefaultMiddlewares, f as createApolloClient, n as selectProjectKeyFromUrl, t as selectUserId, v as version } from './application-entry-point-15f08ea9.esm.js';
|
|
2
|
+
export { A as ApplicationShell, a as ApplicationShellProvider, C as ConfigureIntlProvider, G as GtmContext, b as GtmUserLogoutTracker, I as InjectReducers, S as SetupFlopFlipProvider, c as createApolloContextForProxyForwardTo, s as setupGlobalErrorListener, d as useMcLazyQuery, e as useMcMutation, u as useMcQuery } from './index-0e0e9b7e.esm.js';
|
|
3
3
|
import '@babel/runtime-corejs3/core-js-stable/instance/filter';
|
|
4
4
|
import 'uuid';
|
|
5
5
|
import '@babel/runtime-corejs3/core-js-stable/url';
|
|
@@ -70,7 +70,7 @@ import '@babel/runtime-corejs3/helpers/typeof';
|
|
|
70
70
|
import '@babel/runtime-corejs3/core-js-stable/instance/reverse';
|
|
71
71
|
import 'lodash/camelCase';
|
|
72
72
|
import '@apollo/client/react';
|
|
73
|
-
import './oidc-
|
|
73
|
+
import './oidc-cb5c92bd.esm.js';
|
|
74
74
|
import 'qss';
|
|
75
75
|
import 'jwt-decode';
|
|
76
76
|
import '@commercetools-frontend/assets/images/locked-diamond.svg';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getMcApiUrl, l as logger, a as getActiveProjectKey, r as removeActiveProjectKey, s as setActiveProjectKey, b as getSessionScope, c as location, d as getSessionState, e as setActiveSession, f as createApolloClient, i as internalReduxStore, h as setCachedApolloClient, v as version, R as REQUESTS_IN_FLIGHT_LOADER_DOM_ID, u as useIsServedByProxy, A as ApplicationEntryPoint, j as setSessionScope, k as setSessionState, m as clearSession, n as selectProjectKeyFromUrl, o as RequestsInFlightLoader, p as RouteCatchAll } from './application-entry-point-
|
|
1
|
+
import { g as getMcApiUrl, l as logger, a as getActiveProjectKey, r as removeActiveProjectKey, s as setActiveProjectKey, b as getSessionScope, c as location, d as getSessionState, e as setActiveSession, f as createApolloClient, i as internalReduxStore, h as setCachedApolloClient, v as version, R as REQUESTS_IN_FLIGHT_LOADER_DOM_ID, u as useIsServedByProxy, A as ApplicationEntryPoint, j as setSessionScope, k as setSessionState, m as clearSession, n as selectProjectKeyFromUrl, o as RequestsInFlightLoader, p as RouteCatchAll } from './application-entry-point-15f08ea9.esm.js';
|
|
2
2
|
import _defineProperty from '@babel/runtime-corejs3/helpers/esm/defineProperty';
|
|
3
3
|
import _styled from '@emotion/styled/base';
|
|
4
4
|
import _pt from 'prop-types';
|
|
@@ -39,7 +39,7 @@ import { Provider, useStore } from 'react-redux';
|
|
|
39
39
|
import history from '@commercetools-frontend/browser-history';
|
|
40
40
|
import { IntlProvider, defineMessages, useIntl, FormattedMessage } from 'react-intl';
|
|
41
41
|
import _startsWithInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/starts-with';
|
|
42
|
-
import { b as buildOidcScope } from './oidc-
|
|
42
|
+
import { b as buildOidcScope } from './oidc-cb5c92bd.esm.js';
|
|
43
43
|
import { encode, decode } from 'qss';
|
|
44
44
|
import jwtDecode from 'jwt-decode';
|
|
45
45
|
import FailedAuthenticationSVG from '@commercetools-frontend/assets/images/locked-diamond.svg';
|
|
@@ -2365,19 +2365,19 @@ LocaleSwitcher.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2365
2365
|
} : {};
|
|
2366
2366
|
|
|
2367
2367
|
var ProjectNotFound = /*#__PURE__*/lazy(function () {
|
|
2368
|
-
return import('./project-not-found-
|
|
2368
|
+
return import('./project-not-found-4f9d158f.esm.js'
|
|
2369
2369
|
/* webpackChunkName: "project-not-found" */
|
|
2370
2370
|
);
|
|
2371
2371
|
});
|
|
2372
2372
|
|
|
2373
2373
|
var ProjectExpired = /*#__PURE__*/lazy(function () {
|
|
2374
|
-
return import('./project-expired-
|
|
2374
|
+
return import('./project-expired-4ee38a9e.esm.js'
|
|
2375
2375
|
/* webpackChunkName: "project-expired" */
|
|
2376
2376
|
);
|
|
2377
2377
|
});
|
|
2378
2378
|
|
|
2379
2379
|
var ProjectNotInitialized = /*#__PURE__*/lazy(function () {
|
|
2380
|
-
return import('./project-not-initialized-
|
|
2380
|
+
return import('./project-not-initialized-37a30cd5.esm.js'
|
|
2381
2381
|
/* webpackChunkName: "project-not-initialized" */
|
|
2382
2382
|
);
|
|
2383
2383
|
});
|
|
@@ -2424,7 +2424,7 @@ var RedirectToProjectCreate = function RedirectToProjectCreate() {
|
|
|
2424
2424
|
RedirectToProjectCreate.displayName = 'RedirectToProjectCreate';
|
|
2425
2425
|
|
|
2426
2426
|
var ProjectSuspended = /*#__PURE__*/lazy(function () {
|
|
2427
|
-
return import('./project-suspended-
|
|
2427
|
+
return import('./project-suspended-f5f71734.esm.js'
|
|
2428
2428
|
/* webpackChunkName: "project-suspended" */
|
|
2429
2429
|
);
|
|
2430
2430
|
});
|
|
@@ -3739,7 +3739,7 @@ var pimIndexerStates = {
|
|
|
3739
3739
|
};
|
|
3740
3740
|
|
|
3741
3741
|
var QuickAccess = /*#__PURE__*/lazy(function () {
|
|
3742
|
-
return import('./quick-access-
|
|
3742
|
+
return import('./quick-access-0a923c81.esm.js'
|
|
3743
3743
|
/* webpackChunkName: "quick-access" */
|
|
3744
3744
|
);
|
|
3745
3745
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var applicationEntryPoint = require('./application-entry-point-
|
|
3
|
+
var applicationEntryPoint = require('./application-entry-point-0480091d.cjs.prod.js');
|
|
4
4
|
var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
|
|
5
5
|
var _styled = require('@emotion/styled/base');
|
|
6
6
|
var _pt = require('prop-types');
|
|
@@ -41,7 +41,7 @@ var reactRedux = require('react-redux');
|
|
|
41
41
|
var history = require('@commercetools-frontend/browser-history');
|
|
42
42
|
var reactIntl = require('react-intl');
|
|
43
43
|
var _startsWithInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/starts-with');
|
|
44
|
-
var oidc = require('./oidc-
|
|
44
|
+
var oidc = require('./oidc-d5829556.cjs.prod.js');
|
|
45
45
|
var qss = require('qss');
|
|
46
46
|
var jwtDecode = require('jwt-decode');
|
|
47
47
|
var FailedAuthenticationSVG = require('@commercetools-frontend/assets/images/locked-diamond.svg');
|
|
@@ -2330,19 +2330,19 @@ var LocaleSwitcher = function LocaleSwitcher(props) {
|
|
|
2330
2330
|
LocaleSwitcher.propTypes = {};
|
|
2331
2331
|
|
|
2332
2332
|
var ProjectNotFound = /*#__PURE__*/react.lazy(function () {
|
|
2333
|
-
return Promise.resolve().then(function () { return require('./project-not-found-
|
|
2333
|
+
return Promise.resolve().then(function () { return require('./project-not-found-c43f3bd6.cjs.prod.js'
|
|
2334
2334
|
/* webpackChunkName: "project-not-found" */
|
|
2335
2335
|
); });
|
|
2336
2336
|
});
|
|
2337
2337
|
|
|
2338
2338
|
var ProjectExpired = /*#__PURE__*/react.lazy(function () {
|
|
2339
|
-
return Promise.resolve().then(function () { return require('./project-expired-
|
|
2339
|
+
return Promise.resolve().then(function () { return require('./project-expired-15ecc19f.cjs.prod.js'
|
|
2340
2340
|
/* webpackChunkName: "project-expired" */
|
|
2341
2341
|
); });
|
|
2342
2342
|
});
|
|
2343
2343
|
|
|
2344
2344
|
var ProjectNotInitialized = /*#__PURE__*/react.lazy(function () {
|
|
2345
|
-
return Promise.resolve().then(function () { return require('./project-not-initialized-
|
|
2345
|
+
return Promise.resolve().then(function () { return require('./project-not-initialized-2e4ac3db.cjs.prod.js'
|
|
2346
2346
|
/* webpackChunkName: "project-not-initialized" */
|
|
2347
2347
|
); });
|
|
2348
2348
|
});
|
|
@@ -2389,7 +2389,7 @@ var RedirectToProjectCreate = function RedirectToProjectCreate() {
|
|
|
2389
2389
|
RedirectToProjectCreate.displayName = 'RedirectToProjectCreate';
|
|
2390
2390
|
|
|
2391
2391
|
var ProjectSuspended = /*#__PURE__*/react.lazy(function () {
|
|
2392
|
-
return Promise.resolve().then(function () { return require('./project-suspended-
|
|
2392
|
+
return Promise.resolve().then(function () { return require('./project-suspended-eb81b9e8.cjs.prod.js'
|
|
2393
2393
|
/* webpackChunkName: "project-suspended" */
|
|
2394
2394
|
); });
|
|
2395
2395
|
});
|
|
@@ -3604,7 +3604,7 @@ var pimIndexerStates = {
|
|
|
3604
3604
|
};
|
|
3605
3605
|
|
|
3606
3606
|
var QuickAccess = /*#__PURE__*/react.lazy(function () {
|
|
3607
|
-
return Promise.resolve().then(function () { return require('./quick-access-
|
|
3607
|
+
return Promise.resolve().then(function () { return require('./quick-access-b8f4ddba.cjs.prod.js'
|
|
3608
3608
|
/* webpackChunkName: "quick-access" */
|
|
3609
3609
|
); });
|
|
3610
3610
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var applicationEntryPoint = require('./application-entry-point-
|
|
3
|
+
var applicationEntryPoint = require('./application-entry-point-ff03d6cd.cjs.dev.js');
|
|
4
4
|
var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
|
|
5
5
|
var _styled = require('@emotion/styled/base');
|
|
6
6
|
var _pt = require('prop-types');
|
|
@@ -41,7 +41,7 @@ var reactRedux = require('react-redux');
|
|
|
41
41
|
var history = require('@commercetools-frontend/browser-history');
|
|
42
42
|
var reactIntl = require('react-intl');
|
|
43
43
|
var _startsWithInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/starts-with');
|
|
44
|
-
var oidc = require('./oidc-
|
|
44
|
+
var oidc = require('./oidc-f43cd8da.cjs.dev.js');
|
|
45
45
|
var qss = require('qss');
|
|
46
46
|
var jwtDecode = require('jwt-decode');
|
|
47
47
|
var FailedAuthenticationSVG = require('@commercetools-frontend/assets/images/locked-diamond.svg');
|
|
@@ -2424,19 +2424,19 @@ LocaleSwitcher.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2424
2424
|
} : {};
|
|
2425
2425
|
|
|
2426
2426
|
var ProjectNotFound = /*#__PURE__*/react.lazy(function () {
|
|
2427
|
-
return Promise.resolve().then(function () { return require('./project-not-found-
|
|
2427
|
+
return Promise.resolve().then(function () { return require('./project-not-found-b26113db.cjs.dev.js'
|
|
2428
2428
|
/* webpackChunkName: "project-not-found" */
|
|
2429
2429
|
); });
|
|
2430
2430
|
});
|
|
2431
2431
|
|
|
2432
2432
|
var ProjectExpired = /*#__PURE__*/react.lazy(function () {
|
|
2433
|
-
return Promise.resolve().then(function () { return require('./project-expired-
|
|
2433
|
+
return Promise.resolve().then(function () { return require('./project-expired-8686a3a0.cjs.dev.js'
|
|
2434
2434
|
/* webpackChunkName: "project-expired" */
|
|
2435
2435
|
); });
|
|
2436
2436
|
});
|
|
2437
2437
|
|
|
2438
2438
|
var ProjectNotInitialized = /*#__PURE__*/react.lazy(function () {
|
|
2439
|
-
return Promise.resolve().then(function () { return require('./project-not-initialized-
|
|
2439
|
+
return Promise.resolve().then(function () { return require('./project-not-initialized-34a6cc96.cjs.dev.js'
|
|
2440
2440
|
/* webpackChunkName: "project-not-initialized" */
|
|
2441
2441
|
); });
|
|
2442
2442
|
});
|
|
@@ -2483,7 +2483,7 @@ var RedirectToProjectCreate = function RedirectToProjectCreate() {
|
|
|
2483
2483
|
RedirectToProjectCreate.displayName = 'RedirectToProjectCreate';
|
|
2484
2484
|
|
|
2485
2485
|
var ProjectSuspended = /*#__PURE__*/react.lazy(function () {
|
|
2486
|
-
return Promise.resolve().then(function () { return require('./project-suspended-
|
|
2486
|
+
return Promise.resolve().then(function () { return require('./project-suspended-e5b7ec4f.cjs.dev.js'
|
|
2487
2487
|
/* webpackChunkName: "project-suspended" */
|
|
2488
2488
|
); });
|
|
2489
2489
|
});
|
|
@@ -3798,7 +3798,7 @@ var pimIndexerStates = {
|
|
|
3798
3798
|
};
|
|
3799
3799
|
|
|
3800
3800
|
var QuickAccess = /*#__PURE__*/react.lazy(function () {
|
|
3801
|
-
return Promise.resolve().then(function () { return require('./quick-access-
|
|
3801
|
+
return Promise.resolve().then(function () { return require('./quick-access-b88c5bed.cjs.dev.js'
|
|
3802
3802
|
/* webpackChunkName: "quick-access" */
|
|
3803
3803
|
); });
|
|
3804
3804
|
});
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import _toConsumableArray from '@babel/runtime-corejs3/helpers/esm/toConsumableArray';
|
|
2
|
+
import _concatInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/concat';
|
|
3
|
+
import _mapInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/map';
|
|
4
|
+
import { O as OIDC_CLAIMS } from './formatters-1c23c0a9.esm.js';
|
|
5
|
+
|
|
6
|
+
var buildOidcScope = function buildOidcScope(options) {
|
|
7
|
+
var _context2, _options$oAuthScopes$, _options$oAuthScopes, _context4, _options$oAuthScopes$2, _options$oAuthScopes2, _context7;
|
|
8
|
+
|
|
9
|
+
var claims = []; // Set the projectKey
|
|
10
|
+
|
|
11
|
+
if (options.projectKey) {
|
|
12
|
+
var _context;
|
|
13
|
+
|
|
14
|
+
claims.push(_concatInstanceProperty(_context = "".concat(OIDC_CLAIMS.PROJECT_KEY, ":")).call(_context, options.projectKey));
|
|
15
|
+
} // Set the OAuth Scopes
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
claims.push.apply(claims, _toConsumableArray(_mapInstanceProperty(_context2 = (_options$oAuthScopes$ = (_options$oAuthScopes = options.oAuthScopes) === null || _options$oAuthScopes === void 0 ? void 0 : _options$oAuthScopes.view) !== null && _options$oAuthScopes$ !== void 0 ? _options$oAuthScopes$ : []).call(_context2, function (scope) {
|
|
19
|
+
var _context3;
|
|
20
|
+
|
|
21
|
+
return _concatInstanceProperty(_context3 = "".concat(OIDC_CLAIMS.VIEW, ":")).call(_context3, scope);
|
|
22
|
+
})));
|
|
23
|
+
claims.push.apply(claims, _toConsumableArray(_mapInstanceProperty(_context4 = (_options$oAuthScopes$2 = (_options$oAuthScopes2 = options.oAuthScopes) === null || _options$oAuthScopes2 === void 0 ? void 0 : _options$oAuthScopes2.manage) !== null && _options$oAuthScopes$2 !== void 0 ? _options$oAuthScopes$2 : []).call(_context4, function (scope) {
|
|
24
|
+
var _context5;
|
|
25
|
+
|
|
26
|
+
return _concatInstanceProperty(_context5 = "".concat(OIDC_CLAIMS.MANAGE, ":")).call(_context5, scope);
|
|
27
|
+
}))); // Set the teamId
|
|
28
|
+
|
|
29
|
+
if (options.teamId) {
|
|
30
|
+
var _context6;
|
|
31
|
+
|
|
32
|
+
claims.push(_concatInstanceProperty(_context6 = "".concat(OIDC_CLAIMS.TEAM_ID, ":")).call(_context6, options.teamId));
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
return _concatInstanceProperty(_context7 = [// This is required as per OIDC spec.
|
|
36
|
+
OIDC_CLAIMS.OPEN_ID]).call(_context7, claims).join(' ');
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export { buildOidcScope as b };
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var _toConsumableArray = require('@babel/runtime-corejs3/helpers/toConsumableArray');
|
|
4
|
+
var _concatInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/concat');
|
|
5
|
+
var _mapInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/map');
|
|
6
|
+
var formatters = require('./formatters-a5bb12eb.cjs.prod.js');
|
|
7
|
+
|
|
8
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
9
|
+
|
|
10
|
+
var _concatInstanceProperty__default = /*#__PURE__*/_interopDefault(_concatInstanceProperty);
|
|
11
|
+
var _mapInstanceProperty__default = /*#__PURE__*/_interopDefault(_mapInstanceProperty);
|
|
12
|
+
|
|
13
|
+
var buildOidcScope = function buildOidcScope(options) {
|
|
14
|
+
var _context2, _options$oAuthScopes$, _options$oAuthScopes, _context4, _options$oAuthScopes$2, _options$oAuthScopes2, _context7;
|
|
15
|
+
|
|
16
|
+
var claims = []; // Set the projectKey
|
|
17
|
+
|
|
18
|
+
if (options.projectKey) {
|
|
19
|
+
var _context;
|
|
20
|
+
|
|
21
|
+
claims.push(_concatInstanceProperty__default["default"](_context = "".concat(formatters.OIDC_CLAIMS.PROJECT_KEY, ":")).call(_context, options.projectKey));
|
|
22
|
+
} // Set the OAuth Scopes
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
claims.push.apply(claims, _toConsumableArray(_mapInstanceProperty__default["default"](_context2 = (_options$oAuthScopes$ = (_options$oAuthScopes = options.oAuthScopes) === null || _options$oAuthScopes === void 0 ? void 0 : _options$oAuthScopes.view) !== null && _options$oAuthScopes$ !== void 0 ? _options$oAuthScopes$ : []).call(_context2, function (scope) {
|
|
26
|
+
var _context3;
|
|
27
|
+
|
|
28
|
+
return _concatInstanceProperty__default["default"](_context3 = "".concat(formatters.OIDC_CLAIMS.VIEW, ":")).call(_context3, scope);
|
|
29
|
+
})));
|
|
30
|
+
claims.push.apply(claims, _toConsumableArray(_mapInstanceProperty__default["default"](_context4 = (_options$oAuthScopes$2 = (_options$oAuthScopes2 = options.oAuthScopes) === null || _options$oAuthScopes2 === void 0 ? void 0 : _options$oAuthScopes2.manage) !== null && _options$oAuthScopes$2 !== void 0 ? _options$oAuthScopes$2 : []).call(_context4, function (scope) {
|
|
31
|
+
var _context5;
|
|
32
|
+
|
|
33
|
+
return _concatInstanceProperty__default["default"](_context5 = "".concat(formatters.OIDC_CLAIMS.MANAGE, ":")).call(_context5, scope);
|
|
34
|
+
}))); // Set the teamId
|
|
35
|
+
|
|
36
|
+
if (options.teamId) {
|
|
37
|
+
var _context6;
|
|
38
|
+
|
|
39
|
+
claims.push(_concatInstanceProperty__default["default"](_context6 = "".concat(formatters.OIDC_CLAIMS.TEAM_ID, ":")).call(_context6, options.teamId));
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
return _concatInstanceProperty__default["default"](_context7 = [// This is required as per OIDC spec.
|
|
43
|
+
formatters.OIDC_CLAIMS.OPEN_ID]).call(_context7, claims).join(' ');
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
exports.buildOidcScope = buildOidcScope;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var _toConsumableArray = require('@babel/runtime-corejs3/helpers/toConsumableArray');
|
|
4
|
+
var _concatInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/concat');
|
|
5
|
+
var _mapInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/map');
|
|
6
|
+
var formatters = require('./formatters-e4b9b9dc.cjs.dev.js');
|
|
7
|
+
|
|
8
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
9
|
+
|
|
10
|
+
var _concatInstanceProperty__default = /*#__PURE__*/_interopDefault(_concatInstanceProperty);
|
|
11
|
+
var _mapInstanceProperty__default = /*#__PURE__*/_interopDefault(_mapInstanceProperty);
|
|
12
|
+
|
|
13
|
+
var buildOidcScope = function buildOidcScope(options) {
|
|
14
|
+
var _context2, _options$oAuthScopes$, _options$oAuthScopes, _context4, _options$oAuthScopes$2, _options$oAuthScopes2, _context7;
|
|
15
|
+
|
|
16
|
+
var claims = []; // Set the projectKey
|
|
17
|
+
|
|
18
|
+
if (options.projectKey) {
|
|
19
|
+
var _context;
|
|
20
|
+
|
|
21
|
+
claims.push(_concatInstanceProperty__default["default"](_context = "".concat(formatters.OIDC_CLAIMS.PROJECT_KEY, ":")).call(_context, options.projectKey));
|
|
22
|
+
} // Set the OAuth Scopes
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
claims.push.apply(claims, _toConsumableArray(_mapInstanceProperty__default["default"](_context2 = (_options$oAuthScopes$ = (_options$oAuthScopes = options.oAuthScopes) === null || _options$oAuthScopes === void 0 ? void 0 : _options$oAuthScopes.view) !== null && _options$oAuthScopes$ !== void 0 ? _options$oAuthScopes$ : []).call(_context2, function (scope) {
|
|
26
|
+
var _context3;
|
|
27
|
+
|
|
28
|
+
return _concatInstanceProperty__default["default"](_context3 = "".concat(formatters.OIDC_CLAIMS.VIEW, ":")).call(_context3, scope);
|
|
29
|
+
})));
|
|
30
|
+
claims.push.apply(claims, _toConsumableArray(_mapInstanceProperty__default["default"](_context4 = (_options$oAuthScopes$2 = (_options$oAuthScopes2 = options.oAuthScopes) === null || _options$oAuthScopes2 === void 0 ? void 0 : _options$oAuthScopes2.manage) !== null && _options$oAuthScopes$2 !== void 0 ? _options$oAuthScopes$2 : []).call(_context4, function (scope) {
|
|
31
|
+
var _context5;
|
|
32
|
+
|
|
33
|
+
return _concatInstanceProperty__default["default"](_context5 = "".concat(formatters.OIDC_CLAIMS.MANAGE, ":")).call(_context5, scope);
|
|
34
|
+
}))); // Set the teamId
|
|
35
|
+
|
|
36
|
+
if (options.teamId) {
|
|
37
|
+
var _context6;
|
|
38
|
+
|
|
39
|
+
claims.push(_concatInstanceProperty__default["default"](_context6 = "".concat(formatters.OIDC_CLAIMS.TEAM_ID, ":")).call(_context6, options.teamId));
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
return _concatInstanceProperty__default["default"](_context7 = [// This is required as per OIDC spec.
|
|
43
|
+
formatters.OIDC_CLAIMS.OPEN_ID]).call(_context7, claims).join(' ');
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
exports.buildOidcScope = buildOidcScope;
|
|
@@ -12,13 +12,13 @@ var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
|
|
|
12
12
|
var reactIntl = require('react-intl');
|
|
13
13
|
var ProjectExpiredSVG = require('@commercetools-frontend/assets/images/hourglass.svg');
|
|
14
14
|
var applicationComponents = require('@commercetools-frontend/application-components');
|
|
15
|
-
var servicePageProjectSwitcher = require('./service-page-project-switcher-
|
|
15
|
+
var servicePageProjectSwitcher = require('./service-page-project-switcher-902fc225.cjs.prod.js');
|
|
16
16
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
17
17
|
require('@emotion/styled/base');
|
|
18
18
|
require('react-router-dom');
|
|
19
19
|
require('@commercetools-frontend/application-shell-connectors');
|
|
20
|
-
require('./index-
|
|
21
|
-
require('./application-entry-point-
|
|
20
|
+
require('./index-76603186.cjs.prod.js');
|
|
21
|
+
require('./application-entry-point-0480091d.cjs.prod.js');
|
|
22
22
|
require('@babel/runtime-corejs3/helpers/toConsumableArray');
|
|
23
23
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
24
24
|
require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
@@ -72,7 +72,7 @@ require('@babel/runtime-corejs3/helpers/typeof');
|
|
|
72
72
|
require('@babel/runtime-corejs3/core-js-stable/instance/reverse');
|
|
73
73
|
require('lodash/camelCase');
|
|
74
74
|
require('@apollo/client/react');
|
|
75
|
-
require('./oidc-
|
|
75
|
+
require('./oidc-d5829556.cjs.prod.js');
|
|
76
76
|
require('qss');
|
|
77
77
|
require('jwt-decode');
|
|
78
78
|
require('@commercetools-frontend/assets/images/locked-diamond.svg');
|
|
@@ -10,13 +10,13 @@ import _defineProperty from '@babel/runtime-corejs3/helpers/esm/defineProperty';
|
|
|
10
10
|
import { defineMessages, useIntl, FormattedMessage } from 'react-intl';
|
|
11
11
|
import ProjectExpiredSVG from '@commercetools-frontend/assets/images/hourglass.svg';
|
|
12
12
|
import { MaintenancePageLayout } from '@commercetools-frontend/application-components';
|
|
13
|
-
import { S as ServicePageProjectSwitcher } from './service-page-project-switcher-
|
|
13
|
+
import { S as ServicePageProjectSwitcher } from './service-page-project-switcher-f439d7fd.esm.js';
|
|
14
14
|
import { jsx } from '@emotion/react/jsx-runtime';
|
|
15
15
|
import '@emotion/styled/base';
|
|
16
16
|
import 'react-router-dom';
|
|
17
17
|
import '@commercetools-frontend/application-shell-connectors';
|
|
18
|
-
import './index-
|
|
19
|
-
import './application-entry-point-
|
|
18
|
+
import './index-0e0e9b7e.esm.js';
|
|
19
|
+
import './application-entry-point-15f08ea9.esm.js';
|
|
20
20
|
import '@babel/runtime-corejs3/helpers/toConsumableArray';
|
|
21
21
|
import '@babel/runtime-corejs3/helpers/slicedToArray';
|
|
22
22
|
import '@babel/runtime-corejs3/core-js-stable/instance/reduce';
|
|
@@ -70,7 +70,7 @@ import '@babel/runtime-corejs3/helpers/typeof';
|
|
|
70
70
|
import '@babel/runtime-corejs3/core-js-stable/instance/reverse';
|
|
71
71
|
import 'lodash/camelCase';
|
|
72
72
|
import '@apollo/client/react';
|
|
73
|
-
import './oidc-
|
|
73
|
+
import './oidc-cb5c92bd.esm.js';
|
|
74
74
|
import 'qss';
|
|
75
75
|
import 'jwt-decode';
|
|
76
76
|
import '@commercetools-frontend/assets/images/locked-diamond.svg';
|
|
@@ -12,13 +12,13 @@ var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
|
|
|
12
12
|
var reactIntl = require('react-intl');
|
|
13
13
|
var ProjectExpiredSVG = require('@commercetools-frontend/assets/images/hourglass.svg');
|
|
14
14
|
var applicationComponents = require('@commercetools-frontend/application-components');
|
|
15
|
-
var servicePageProjectSwitcher = require('./service-page-project-switcher-
|
|
15
|
+
var servicePageProjectSwitcher = require('./service-page-project-switcher-68e04bc9.cjs.dev.js');
|
|
16
16
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
17
17
|
require('@emotion/styled/base');
|
|
18
18
|
require('react-router-dom');
|
|
19
19
|
require('@commercetools-frontend/application-shell-connectors');
|
|
20
|
-
require('./index-
|
|
21
|
-
require('./application-entry-point-
|
|
20
|
+
require('./index-853d7264.cjs.dev.js');
|
|
21
|
+
require('./application-entry-point-ff03d6cd.cjs.dev.js');
|
|
22
22
|
require('@babel/runtime-corejs3/helpers/toConsumableArray');
|
|
23
23
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
24
24
|
require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
@@ -72,7 +72,7 @@ require('@babel/runtime-corejs3/helpers/typeof');
|
|
|
72
72
|
require('@babel/runtime-corejs3/core-js-stable/instance/reverse');
|
|
73
73
|
require('lodash/camelCase');
|
|
74
74
|
require('@apollo/client/react');
|
|
75
|
-
require('./oidc-
|
|
75
|
+
require('./oidc-f43cd8da.cjs.dev.js');
|
|
76
76
|
require('qss');
|
|
77
77
|
require('jwt-decode');
|
|
78
78
|
require('@commercetools-frontend/assets/images/locked-diamond.svg');
|
|
@@ -10,13 +10,13 @@ import _defineProperty from '@babel/runtime-corejs3/helpers/esm/defineProperty';
|
|
|
10
10
|
import { defineMessages, useIntl, FormattedMessage } from 'react-intl';
|
|
11
11
|
import FailedAuthorizationSVG from '@commercetools-frontend/assets/images/folder-full-locked.svg';
|
|
12
12
|
import { MaintenancePageLayout } from '@commercetools-frontend/application-components';
|
|
13
|
-
import { S as ServicePageProjectSwitcher } from './service-page-project-switcher-
|
|
13
|
+
import { S as ServicePageProjectSwitcher } from './service-page-project-switcher-f439d7fd.esm.js';
|
|
14
14
|
import { jsx } from '@emotion/react/jsx-runtime';
|
|
15
15
|
import '@emotion/styled/base';
|
|
16
16
|
import 'react-router-dom';
|
|
17
17
|
import '@commercetools-frontend/application-shell-connectors';
|
|
18
|
-
import './index-
|
|
19
|
-
import './application-entry-point-
|
|
18
|
+
import './index-0e0e9b7e.esm.js';
|
|
19
|
+
import './application-entry-point-15f08ea9.esm.js';
|
|
20
20
|
import '@babel/runtime-corejs3/helpers/toConsumableArray';
|
|
21
21
|
import '@babel/runtime-corejs3/helpers/slicedToArray';
|
|
22
22
|
import '@babel/runtime-corejs3/core-js-stable/instance/reduce';
|
|
@@ -70,7 +70,7 @@ import '@babel/runtime-corejs3/helpers/typeof';
|
|
|
70
70
|
import '@babel/runtime-corejs3/core-js-stable/instance/reverse';
|
|
71
71
|
import 'lodash/camelCase';
|
|
72
72
|
import '@apollo/client/react';
|
|
73
|
-
import './oidc-
|
|
73
|
+
import './oidc-cb5c92bd.esm.js';
|
|
74
74
|
import 'qss';
|
|
75
75
|
import 'jwt-decode';
|
|
76
76
|
import '@commercetools-frontend/assets/images/locked-diamond.svg';
|
package/dist/{project-not-found-9cd66e2e.cjs.dev.js → project-not-found-b26113db.cjs.dev.js}
RENAMED
|
@@ -12,13 +12,13 @@ var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
|
|
|
12
12
|
var reactIntl = require('react-intl');
|
|
13
13
|
var FailedAuthorizationSVG = require('@commercetools-frontend/assets/images/folder-full-locked.svg');
|
|
14
14
|
var applicationComponents = require('@commercetools-frontend/application-components');
|
|
15
|
-
var servicePageProjectSwitcher = require('./service-page-project-switcher-
|
|
15
|
+
var servicePageProjectSwitcher = require('./service-page-project-switcher-68e04bc9.cjs.dev.js');
|
|
16
16
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
17
17
|
require('@emotion/styled/base');
|
|
18
18
|
require('react-router-dom');
|
|
19
19
|
require('@commercetools-frontend/application-shell-connectors');
|
|
20
|
-
require('./index-
|
|
21
|
-
require('./application-entry-point-
|
|
20
|
+
require('./index-853d7264.cjs.dev.js');
|
|
21
|
+
require('./application-entry-point-ff03d6cd.cjs.dev.js');
|
|
22
22
|
require('@babel/runtime-corejs3/helpers/toConsumableArray');
|
|
23
23
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
24
24
|
require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
@@ -72,7 +72,7 @@ require('@babel/runtime-corejs3/helpers/typeof');
|
|
|
72
72
|
require('@babel/runtime-corejs3/core-js-stable/instance/reverse');
|
|
73
73
|
require('lodash/camelCase');
|
|
74
74
|
require('@apollo/client/react');
|
|
75
|
-
require('./oidc-
|
|
75
|
+
require('./oidc-f43cd8da.cjs.dev.js');
|
|
76
76
|
require('qss');
|
|
77
77
|
require('jwt-decode');
|
|
78
78
|
require('@commercetools-frontend/assets/images/locked-diamond.svg');
|
package/dist/{project-not-found-aed705a5.cjs.prod.js → project-not-found-c43f3bd6.cjs.prod.js}
RENAMED
|
@@ -12,13 +12,13 @@ var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
|
|
|
12
12
|
var reactIntl = require('react-intl');
|
|
13
13
|
var FailedAuthorizationSVG = require('@commercetools-frontend/assets/images/folder-full-locked.svg');
|
|
14
14
|
var applicationComponents = require('@commercetools-frontend/application-components');
|
|
15
|
-
var servicePageProjectSwitcher = require('./service-page-project-switcher-
|
|
15
|
+
var servicePageProjectSwitcher = require('./service-page-project-switcher-902fc225.cjs.prod.js');
|
|
16
16
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
17
17
|
require('@emotion/styled/base');
|
|
18
18
|
require('react-router-dom');
|
|
19
19
|
require('@commercetools-frontend/application-shell-connectors');
|
|
20
|
-
require('./index-
|
|
21
|
-
require('./application-entry-point-
|
|
20
|
+
require('./index-76603186.cjs.prod.js');
|
|
21
|
+
require('./application-entry-point-0480091d.cjs.prod.js');
|
|
22
22
|
require('@babel/runtime-corejs3/helpers/toConsumableArray');
|
|
23
23
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
24
24
|
require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
@@ -72,7 +72,7 @@ require('@babel/runtime-corejs3/helpers/typeof');
|
|
|
72
72
|
require('@babel/runtime-corejs3/core-js-stable/instance/reverse');
|
|
73
73
|
require('lodash/camelCase');
|
|
74
74
|
require('@apollo/client/react');
|
|
75
|
-
require('./oidc-
|
|
75
|
+
require('./oidc-d5829556.cjs.prod.js');
|
|
76
76
|
require('qss');
|
|
77
77
|
require('jwt-decode');
|
|
78
78
|
require('@commercetools-frontend/assets/images/locked-diamond.svg');
|
|
@@ -12,13 +12,13 @@ var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
|
|
|
12
12
|
var reactIntl = require('react-intl');
|
|
13
13
|
var ProjectExpiredSVG = require('@commercetools-frontend/assets/images/hourglass.svg');
|
|
14
14
|
var applicationComponents = require('@commercetools-frontend/application-components');
|
|
15
|
-
var servicePageProjectSwitcher = require('./service-page-project-switcher-
|
|
15
|
+
var servicePageProjectSwitcher = require('./service-page-project-switcher-902fc225.cjs.prod.js');
|
|
16
16
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
17
17
|
require('@emotion/styled/base');
|
|
18
18
|
require('react-router-dom');
|
|
19
19
|
require('@commercetools-frontend/application-shell-connectors');
|
|
20
|
-
require('./index-
|
|
21
|
-
require('./application-entry-point-
|
|
20
|
+
require('./index-76603186.cjs.prod.js');
|
|
21
|
+
require('./application-entry-point-0480091d.cjs.prod.js');
|
|
22
22
|
require('@babel/runtime-corejs3/helpers/toConsumableArray');
|
|
23
23
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
24
24
|
require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
@@ -72,7 +72,7 @@ require('@babel/runtime-corejs3/helpers/typeof');
|
|
|
72
72
|
require('@babel/runtime-corejs3/core-js-stable/instance/reverse');
|
|
73
73
|
require('lodash/camelCase');
|
|
74
74
|
require('@apollo/client/react');
|
|
75
|
-
require('./oidc-
|
|
75
|
+
require('./oidc-d5829556.cjs.prod.js');
|
|
76
76
|
require('qss');
|
|
77
77
|
require('jwt-decode');
|
|
78
78
|
require('@commercetools-frontend/assets/images/locked-diamond.svg');
|
|
@@ -12,13 +12,13 @@ var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
|
|
|
12
12
|
var reactIntl = require('react-intl');
|
|
13
13
|
var ProjectExpiredSVG = require('@commercetools-frontend/assets/images/hourglass.svg');
|
|
14
14
|
var applicationComponents = require('@commercetools-frontend/application-components');
|
|
15
|
-
var servicePageProjectSwitcher = require('./service-page-project-switcher-
|
|
15
|
+
var servicePageProjectSwitcher = require('./service-page-project-switcher-68e04bc9.cjs.dev.js');
|
|
16
16
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
17
17
|
require('@emotion/styled/base');
|
|
18
18
|
require('react-router-dom');
|
|
19
19
|
require('@commercetools-frontend/application-shell-connectors');
|
|
20
|
-
require('./index-
|
|
21
|
-
require('./application-entry-point-
|
|
20
|
+
require('./index-853d7264.cjs.dev.js');
|
|
21
|
+
require('./application-entry-point-ff03d6cd.cjs.dev.js');
|
|
22
22
|
require('@babel/runtime-corejs3/helpers/toConsumableArray');
|
|
23
23
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
24
24
|
require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
@@ -72,7 +72,7 @@ require('@babel/runtime-corejs3/helpers/typeof');
|
|
|
72
72
|
require('@babel/runtime-corejs3/core-js-stable/instance/reverse');
|
|
73
73
|
require('lodash/camelCase');
|
|
74
74
|
require('@apollo/client/react');
|
|
75
|
-
require('./oidc-
|
|
75
|
+
require('./oidc-f43cd8da.cjs.dev.js');
|
|
76
76
|
require('qss');
|
|
77
77
|
require('jwt-decode');
|
|
78
78
|
require('@commercetools-frontend/assets/images/locked-diamond.svg');
|
package/dist/{project-not-initialized-0dd0af36.esm.js → project-not-initialized-37a30cd5.esm.js}
RENAMED
|
@@ -10,13 +10,13 @@ import _defineProperty from '@babel/runtime-corejs3/helpers/esm/defineProperty';
|
|
|
10
10
|
import { defineMessages, useIntl, FormattedMessage } from 'react-intl';
|
|
11
11
|
import ProjectExpiredSVG from '@commercetools-frontend/assets/images/hourglass.svg';
|
|
12
12
|
import { MaintenancePageLayout } from '@commercetools-frontend/application-components';
|
|
13
|
-
import { S as ServicePageProjectSwitcher } from './service-page-project-switcher-
|
|
13
|
+
import { S as ServicePageProjectSwitcher } from './service-page-project-switcher-f439d7fd.esm.js';
|
|
14
14
|
import { jsx } from '@emotion/react/jsx-runtime';
|
|
15
15
|
import '@emotion/styled/base';
|
|
16
16
|
import 'react-router-dom';
|
|
17
17
|
import '@commercetools-frontend/application-shell-connectors';
|
|
18
|
-
import './index-
|
|
19
|
-
import './application-entry-point-
|
|
18
|
+
import './index-0e0e9b7e.esm.js';
|
|
19
|
+
import './application-entry-point-15f08ea9.esm.js';
|
|
20
20
|
import '@babel/runtime-corejs3/helpers/toConsumableArray';
|
|
21
21
|
import '@babel/runtime-corejs3/helpers/slicedToArray';
|
|
22
22
|
import '@babel/runtime-corejs3/core-js-stable/instance/reduce';
|
|
@@ -70,7 +70,7 @@ import '@babel/runtime-corejs3/helpers/typeof';
|
|
|
70
70
|
import '@babel/runtime-corejs3/core-js-stable/instance/reverse';
|
|
71
71
|
import 'lodash/camelCase';
|
|
72
72
|
import '@apollo/client/react';
|
|
73
|
-
import './oidc-
|
|
73
|
+
import './oidc-cb5c92bd.esm.js';
|
|
74
74
|
import 'qss';
|
|
75
75
|
import 'jwt-decode';
|
|
76
76
|
import '@commercetools-frontend/assets/images/locked-diamond.svg';
|
package/dist/{project-suspended-e25053f6.cjs.dev.js → project-suspended-e5b7ec4f.cjs.dev.js}
RENAMED
|
@@ -12,13 +12,13 @@ var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
|
|
|
12
12
|
var reactIntl = require('react-intl');
|
|
13
13
|
var ProjectSuspendedSVG = require('@commercetools-frontend/assets/images/doors-closed.svg');
|
|
14
14
|
var applicationComponents = require('@commercetools-frontend/application-components');
|
|
15
|
-
var servicePageProjectSwitcher = require('./service-page-project-switcher-
|
|
15
|
+
var servicePageProjectSwitcher = require('./service-page-project-switcher-68e04bc9.cjs.dev.js');
|
|
16
16
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
17
17
|
require('@emotion/styled/base');
|
|
18
18
|
require('react-router-dom');
|
|
19
19
|
require('@commercetools-frontend/application-shell-connectors');
|
|
20
|
-
require('./index-
|
|
21
|
-
require('./application-entry-point-
|
|
20
|
+
require('./index-853d7264.cjs.dev.js');
|
|
21
|
+
require('./application-entry-point-ff03d6cd.cjs.dev.js');
|
|
22
22
|
require('@babel/runtime-corejs3/helpers/toConsumableArray');
|
|
23
23
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
24
24
|
require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
@@ -72,7 +72,7 @@ require('@babel/runtime-corejs3/helpers/typeof');
|
|
|
72
72
|
require('@babel/runtime-corejs3/core-js-stable/instance/reverse');
|
|
73
73
|
require('lodash/camelCase');
|
|
74
74
|
require('@apollo/client/react');
|
|
75
|
-
require('./oidc-
|
|
75
|
+
require('./oidc-f43cd8da.cjs.dev.js');
|
|
76
76
|
require('qss');
|
|
77
77
|
require('jwt-decode');
|
|
78
78
|
require('@commercetools-frontend/assets/images/locked-diamond.svg');
|
package/dist/{project-suspended-cbd838b6.cjs.prod.js → project-suspended-eb81b9e8.cjs.prod.js}
RENAMED
|
@@ -12,13 +12,13 @@ var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
|
|
|
12
12
|
var reactIntl = require('react-intl');
|
|
13
13
|
var ProjectSuspendedSVG = require('@commercetools-frontend/assets/images/doors-closed.svg');
|
|
14
14
|
var applicationComponents = require('@commercetools-frontend/application-components');
|
|
15
|
-
var servicePageProjectSwitcher = require('./service-page-project-switcher-
|
|
15
|
+
var servicePageProjectSwitcher = require('./service-page-project-switcher-902fc225.cjs.prod.js');
|
|
16
16
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
17
17
|
require('@emotion/styled/base');
|
|
18
18
|
require('react-router-dom');
|
|
19
19
|
require('@commercetools-frontend/application-shell-connectors');
|
|
20
|
-
require('./index-
|
|
21
|
-
require('./application-entry-point-
|
|
20
|
+
require('./index-76603186.cjs.prod.js');
|
|
21
|
+
require('./application-entry-point-0480091d.cjs.prod.js');
|
|
22
22
|
require('@babel/runtime-corejs3/helpers/toConsumableArray');
|
|
23
23
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
24
24
|
require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
@@ -72,7 +72,7 @@ require('@babel/runtime-corejs3/helpers/typeof');
|
|
|
72
72
|
require('@babel/runtime-corejs3/core-js-stable/instance/reverse');
|
|
73
73
|
require('lodash/camelCase');
|
|
74
74
|
require('@apollo/client/react');
|
|
75
|
-
require('./oidc-
|
|
75
|
+
require('./oidc-d5829556.cjs.prod.js');
|
|
76
76
|
require('qss');
|
|
77
77
|
require('jwt-decode');
|
|
78
78
|
require('@commercetools-frontend/assets/images/locked-diamond.svg');
|
|
@@ -10,13 +10,13 @@ import _defineProperty from '@babel/runtime-corejs3/helpers/esm/defineProperty';
|
|
|
10
10
|
import { defineMessages, useIntl, FormattedMessage } from 'react-intl';
|
|
11
11
|
import ProjectSuspendedSVG from '@commercetools-frontend/assets/images/doors-closed.svg';
|
|
12
12
|
import { MaintenancePageLayout } from '@commercetools-frontend/application-components';
|
|
13
|
-
import { S as ServicePageProjectSwitcher } from './service-page-project-switcher-
|
|
13
|
+
import { S as ServicePageProjectSwitcher } from './service-page-project-switcher-f439d7fd.esm.js';
|
|
14
14
|
import { jsx } from '@emotion/react/jsx-runtime';
|
|
15
15
|
import '@emotion/styled/base';
|
|
16
16
|
import 'react-router-dom';
|
|
17
17
|
import '@commercetools-frontend/application-shell-connectors';
|
|
18
|
-
import './index-
|
|
19
|
-
import './application-entry-point-
|
|
18
|
+
import './index-0e0e9b7e.esm.js';
|
|
19
|
+
import './application-entry-point-15f08ea9.esm.js';
|
|
20
20
|
import '@babel/runtime-corejs3/helpers/toConsumableArray';
|
|
21
21
|
import '@babel/runtime-corejs3/helpers/slicedToArray';
|
|
22
22
|
import '@babel/runtime-corejs3/core-js-stable/instance/reduce';
|
|
@@ -70,7 +70,7 @@ import '@babel/runtime-corejs3/helpers/typeof';
|
|
|
70
70
|
import '@babel/runtime-corejs3/core-js-stable/instance/reverse';
|
|
71
71
|
import 'lodash/camelCase';
|
|
72
72
|
import '@apollo/client/react';
|
|
73
|
-
import './oidc-
|
|
73
|
+
import './oidc-cb5c92bd.esm.js';
|
|
74
74
|
import 'qss';
|
|
75
75
|
import 'jwt-decode';
|
|
76
76
|
import '@commercetools-frontend/assets/images/locked-diamond.svg';
|
|
@@ -22,7 +22,7 @@ import debounce from 'debounce-async';
|
|
|
22
22
|
import { SUPPORT_PORTAL_URL, LOGOUT_REASONS, GRAPHQL_TARGETS, MC_API_PROXY_TARGETS } from '@commercetools-frontend/constants';
|
|
23
23
|
import { hasSomePermissions } from '@commercetools-frontend/permissions';
|
|
24
24
|
import { useApplicationContext } from '@commercetools-frontend/application-shell-connectors';
|
|
25
|
-
import { c as location } from './application-entry-point-
|
|
25
|
+
import { c as location } from './application-entry-point-15f08ea9.esm.js';
|
|
26
26
|
import _Object$keys from '@babel/runtime-corejs3/core-js-stable/object/keys';
|
|
27
27
|
import _Object$getOwnPropertySymbols from '@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols';
|
|
28
28
|
import _Object$getOwnPropertyDescriptor from '@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor';
|
|
@@ -41,7 +41,7 @@ import LoadingSpinner from '@commercetools-uikit/loading-spinner';
|
|
|
41
41
|
import { AngleThinRightIcon, SearchIcon } from '@commercetools-uikit/icons';
|
|
42
42
|
import { customProperties } from '@commercetools-uikit/design-system';
|
|
43
43
|
import { jsxs, jsx } from '@emotion/react/jsx-runtime';
|
|
44
|
-
import { B as ButlerContainer, p as pimIndexerStates } from './index-
|
|
44
|
+
import { B as ButlerContainer, p as pimIndexerStates } from './index-0e0e9b7e.esm.js';
|
|
45
45
|
import _Promise from '@babel/runtime-corejs3/core-js-stable/promise';
|
|
46
46
|
import _reduceInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/reduce';
|
|
47
47
|
import _findInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/find';
|
|
@@ -81,7 +81,7 @@ import 'perfume.js';
|
|
|
81
81
|
import '@babel/runtime-corejs3/helpers/typeof';
|
|
82
82
|
import '@babel/runtime-corejs3/core-js-stable/instance/reverse';
|
|
83
83
|
import 'lodash/camelCase';
|
|
84
|
-
import './oidc-
|
|
84
|
+
import './oidc-cb5c92bd.esm.js';
|
|
85
85
|
import 'qss';
|
|
86
86
|
import 'jwt-decode';
|
|
87
87
|
import '@commercetools-frontend/assets/images/locked-diamond.svg';
|
|
@@ -24,7 +24,7 @@ var debounce = require('debounce-async');
|
|
|
24
24
|
var constants = require('@commercetools-frontend/constants');
|
|
25
25
|
var permissions$1 = require('@commercetools-frontend/permissions');
|
|
26
26
|
var applicationShellConnectors = require('@commercetools-frontend/application-shell-connectors');
|
|
27
|
-
var applicationEntryPoint = require('./application-entry-point-
|
|
27
|
+
var applicationEntryPoint = require('./application-entry-point-ff03d6cd.cjs.dev.js');
|
|
28
28
|
var _Object$keys = require('@babel/runtime-corejs3/core-js-stable/object/keys');
|
|
29
29
|
var _Object$getOwnPropertySymbols = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
|
|
30
30
|
var _Object$getOwnPropertyDescriptor = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor');
|
|
@@ -43,7 +43,7 @@ var LoadingSpinner = require('@commercetools-uikit/loading-spinner');
|
|
|
43
43
|
var icons = require('@commercetools-uikit/icons');
|
|
44
44
|
var designSystem = require('@commercetools-uikit/design-system');
|
|
45
45
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
46
|
-
var dist_commercetoolsFrontendApplicationShell = require('./index-
|
|
46
|
+
var dist_commercetoolsFrontendApplicationShell = require('./index-853d7264.cjs.dev.js');
|
|
47
47
|
var _Promise = require('@babel/runtime-corejs3/core-js-stable/promise');
|
|
48
48
|
var _reduceInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
49
49
|
var _findInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/find');
|
|
@@ -83,7 +83,7 @@ require('perfume.js');
|
|
|
83
83
|
require('@babel/runtime-corejs3/helpers/typeof');
|
|
84
84
|
require('@babel/runtime-corejs3/core-js-stable/instance/reverse');
|
|
85
85
|
require('lodash/camelCase');
|
|
86
|
-
require('./oidc-
|
|
86
|
+
require('./oidc-f43cd8da.cjs.dev.js');
|
|
87
87
|
require('qss');
|
|
88
88
|
require('jwt-decode');
|
|
89
89
|
require('@commercetools-frontend/assets/images/locked-diamond.svg');
|
|
@@ -24,7 +24,7 @@ var debounce = require('debounce-async');
|
|
|
24
24
|
var constants = require('@commercetools-frontend/constants');
|
|
25
25
|
var permissions$1 = require('@commercetools-frontend/permissions');
|
|
26
26
|
var applicationShellConnectors = require('@commercetools-frontend/application-shell-connectors');
|
|
27
|
-
var applicationEntryPoint = require('./application-entry-point-
|
|
27
|
+
var applicationEntryPoint = require('./application-entry-point-0480091d.cjs.prod.js');
|
|
28
28
|
var _Object$keys = require('@babel/runtime-corejs3/core-js-stable/object/keys');
|
|
29
29
|
var _Object$getOwnPropertySymbols = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
|
|
30
30
|
var _Object$getOwnPropertyDescriptor = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor');
|
|
@@ -43,7 +43,7 @@ var LoadingSpinner = require('@commercetools-uikit/loading-spinner');
|
|
|
43
43
|
var icons = require('@commercetools-uikit/icons');
|
|
44
44
|
var designSystem = require('@commercetools-uikit/design-system');
|
|
45
45
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
46
|
-
var dist_commercetoolsFrontendApplicationShell = require('./index-
|
|
46
|
+
var dist_commercetoolsFrontendApplicationShell = require('./index-76603186.cjs.prod.js');
|
|
47
47
|
var _Promise = require('@babel/runtime-corejs3/core-js-stable/promise');
|
|
48
48
|
var _reduceInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
49
49
|
var _findInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/find');
|
|
@@ -83,7 +83,7 @@ require('perfume.js');
|
|
|
83
83
|
require('@babel/runtime-corejs3/helpers/typeof');
|
|
84
84
|
require('@babel/runtime-corejs3/core-js-stable/instance/reverse');
|
|
85
85
|
require('lodash/camelCase');
|
|
86
|
-
require('./oidc-
|
|
86
|
+
require('./oidc-d5829556.cjs.prod.js');
|
|
87
87
|
require('qss');
|
|
88
88
|
require('jwt-decode');
|
|
89
89
|
require('@commercetools-frontend/assets/images/locked-diamond.svg');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _styled = require('@emotion/styled/base');
|
|
4
4
|
var reactRouterDom = require('react-router-dom');
|
|
5
5
|
var applicationShellConnectors = require('@commercetools-frontend/application-shell-connectors');
|
|
6
|
-
var dist_commercetoolsFrontendApplicationShell = require('./index-
|
|
6
|
+
var dist_commercetoolsFrontendApplicationShell = require('./index-853d7264.cjs.dev.js');
|
|
7
7
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
8
8
|
|
|
9
9
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _styled = require('@emotion/styled/base');
|
|
4
4
|
var reactRouterDom = require('react-router-dom');
|
|
5
5
|
var applicationShellConnectors = require('@commercetools-frontend/application-shell-connectors');
|
|
6
|
-
var dist_commercetoolsFrontendApplicationShell = require('./index-
|
|
6
|
+
var dist_commercetoolsFrontendApplicationShell = require('./index-76603186.cjs.prod.js');
|
|
7
7
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
8
8
|
|
|
9
9
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _styled from '@emotion/styled/base';
|
|
2
2
|
import { useParams } from 'react-router-dom';
|
|
3
3
|
import { useApplicationContext } from '@commercetools-frontend/application-shell-connectors';
|
|
4
|
-
import { P as ProjectSwitcher } from './index-
|
|
4
|
+
import { P as ProjectSwitcher } from './index-0e0e9b7e.esm.js';
|
|
5
5
|
import { jsx } from '@emotion/react/jsx-runtime';
|
|
6
6
|
|
|
7
7
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/application-shell",
|
|
3
|
-
"version": "21.0.0-rc.
|
|
3
|
+
"version": "21.0.0-rc.4",
|
|
4
4
|
"description": "React component to bootstrap the general MC application logic",
|
|
5
5
|
"bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
|
|
6
6
|
"repository": {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var formatters = require('../../dist/formatters-e4b9b9dc.cjs.dev.js');
|
|
6
|
-
var oidc = require('../../dist/oidc-
|
|
6
|
+
var oidc = require('../../dist/oidc-f43cd8da.cjs.dev.js');
|
|
7
7
|
require('@babel/runtime-corejs3/core-js-stable/instance/map');
|
|
8
8
|
require('lodash/upperFirst');
|
|
9
9
|
require('@babel/runtime-corejs3/helpers/toConsumableArray');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var formatters = require('../../dist/formatters-a5bb12eb.cjs.prod.js');
|
|
6
|
-
var oidc = require('../../dist/oidc-
|
|
6
|
+
var oidc = require('../../dist/oidc-d5829556.cjs.prod.js');
|
|
7
7
|
require('@babel/runtime-corejs3/core-js-stable/instance/map');
|
|
8
8
|
require('lodash/upperFirst');
|
|
9
9
|
require('@babel/runtime-corejs3/helpers/toConsumableArray');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { e as entryPointUriPathToPermissionKeys, c as entryPointUriPathToResourceAccesses } from '../../dist/formatters-1c23c0a9.esm.js';
|
|
2
|
-
export { b as buildOidcScope } from '../../dist/oidc-
|
|
2
|
+
export { b as buildOidcScope } from '../../dist/oidc-cb5c92bd.esm.js';
|
|
3
3
|
import '@babel/runtime-corejs3/core-js-stable/instance/map';
|
|
4
4
|
import 'lodash/upperFirst';
|
|
5
5
|
import '@babel/runtime-corejs3/helpers/toConsumableArray';
|
|
@@ -35,7 +35,7 @@ var applicationShellConnectors = require('@commercetools-frontend/application-sh
|
|
|
35
35
|
var reactNotifications = require('@commercetools-frontend/react-notifications');
|
|
36
36
|
var constants = require('@commercetools-frontend/constants');
|
|
37
37
|
var testUtils = require('@commercetools-frontend/sdk/test-utils');
|
|
38
|
-
var applicationEntryPoint = require('../../dist/application-entry-point-
|
|
38
|
+
var applicationEntryPoint = require('../../dist/application-entry-point-ff03d6cd.cjs.dev.js');
|
|
39
39
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
40
40
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
41
41
|
require('@babel/runtime-corejs3/core-js-stable/object/entries');
|
|
@@ -35,7 +35,7 @@ var applicationShellConnectors = require('@commercetools-frontend/application-sh
|
|
|
35
35
|
var reactNotifications = require('@commercetools-frontend/react-notifications');
|
|
36
36
|
var constants = require('@commercetools-frontend/constants');
|
|
37
37
|
var testUtils = require('@commercetools-frontend/sdk/test-utils');
|
|
38
|
-
var applicationEntryPoint = require('../../dist/application-entry-point-
|
|
38
|
+
var applicationEntryPoint = require('../../dist/application-entry-point-0480091d.cjs.prod.js');
|
|
39
39
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
40
40
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
41
41
|
require('@babel/runtime-corejs3/core-js-stable/object/entries');
|
|
@@ -32,7 +32,7 @@ import { ApplicationContextProvider } from '@commercetools-frontend/application-
|
|
|
32
32
|
import { NotificationProviderForCustomComponent, NotificationsList } from '@commercetools-frontend/react-notifications';
|
|
33
33
|
import { DOMAINS } from '@commercetools-frontend/constants';
|
|
34
34
|
import { createTestMiddleware } from '@commercetools-frontend/sdk/test-utils';
|
|
35
|
-
import { A as ApplicationEntryPoint, w as createReduxStore, f as createApolloClient } from '../../dist/application-entry-point-
|
|
35
|
+
import { A as ApplicationEntryPoint, w as createReduxStore, f as createApolloClient } from '../../dist/application-entry-point-15f08ea9.esm.js';
|
|
36
36
|
import { jsx, Fragment, jsxs } from '@emotion/react/jsx-runtime';
|
|
37
37
|
import '@babel/runtime-corejs3/helpers/slicedToArray';
|
|
38
38
|
import '@babel/runtime-corejs3/core-js-stable/object/entries';
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import _toConsumableArray from '@babel/runtime-corejs3/helpers/esm/toConsumableArray';
|
|
2
|
-
import _concatInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/concat';
|
|
3
|
-
import _mapInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/map';
|
|
4
|
-
import { O as OIDC_CLAIMS } from './formatters-1c23c0a9.esm.js';
|
|
5
|
-
|
|
6
|
-
var buildOidcScope = function buildOidcScope(options) {
|
|
7
|
-
var _context7;
|
|
8
|
-
|
|
9
|
-
var claims = [];
|
|
10
|
-
|
|
11
|
-
if (options.projectKey) {
|
|
12
|
-
var _context, _context2, _options$oAuthScopes$, _options$oAuthScopes, _context4, _options$oAuthScopes$2, _options$oAuthScopes2;
|
|
13
|
-
|
|
14
|
-
claims.push(_concatInstanceProperty(_context = "".concat(OIDC_CLAIMS.PROJECT_KEY, ":")).call(_context, options.projectKey));
|
|
15
|
-
claims.push.apply(claims, _toConsumableArray(_mapInstanceProperty(_context2 = (_options$oAuthScopes$ = (_options$oAuthScopes = options.oAuthScopes) === null || _options$oAuthScopes === void 0 ? void 0 : _options$oAuthScopes.view) !== null && _options$oAuthScopes$ !== void 0 ? _options$oAuthScopes$ : []).call(_context2, function (scope) {
|
|
16
|
-
var _context3;
|
|
17
|
-
|
|
18
|
-
return _concatInstanceProperty(_context3 = "".concat(OIDC_CLAIMS.VIEW, ":")).call(_context3, scope);
|
|
19
|
-
})));
|
|
20
|
-
claims.push.apply(claims, _toConsumableArray(_mapInstanceProperty(_context4 = (_options$oAuthScopes$2 = (_options$oAuthScopes2 = options.oAuthScopes) === null || _options$oAuthScopes2 === void 0 ? void 0 : _options$oAuthScopes2.manage) !== null && _options$oAuthScopes$2 !== void 0 ? _options$oAuthScopes$2 : []).call(_context4, function (scope) {
|
|
21
|
-
var _context5;
|
|
22
|
-
|
|
23
|
-
return _concatInstanceProperty(_context5 = "".concat(OIDC_CLAIMS.MANAGE, ":")).call(_context5, scope);
|
|
24
|
-
})));
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
var teamId = options.teamId;
|
|
28
|
-
|
|
29
|
-
if (teamId) {
|
|
30
|
-
var _context6;
|
|
31
|
-
|
|
32
|
-
claims.push(_concatInstanceProperty(_context6 = "".concat(OIDC_CLAIMS.TEAM_ID, ":")).call(_context6, teamId));
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
return _concatInstanceProperty(_context7 = [// This is required as per OIDC spec.
|
|
36
|
-
OIDC_CLAIMS.OPEN_ID]).call(_context7, claims).join(' ');
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
export { buildOidcScope as b };
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var _toConsumableArray = require('@babel/runtime-corejs3/helpers/toConsumableArray');
|
|
4
|
-
var _concatInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/concat');
|
|
5
|
-
var _mapInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/map');
|
|
6
|
-
var formatters = require('./formatters-e4b9b9dc.cjs.dev.js');
|
|
7
|
-
|
|
8
|
-
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
9
|
-
|
|
10
|
-
var _concatInstanceProperty__default = /*#__PURE__*/_interopDefault(_concatInstanceProperty);
|
|
11
|
-
var _mapInstanceProperty__default = /*#__PURE__*/_interopDefault(_mapInstanceProperty);
|
|
12
|
-
|
|
13
|
-
var buildOidcScope = function buildOidcScope(options) {
|
|
14
|
-
var _context7;
|
|
15
|
-
|
|
16
|
-
var claims = [];
|
|
17
|
-
|
|
18
|
-
if (options.projectKey) {
|
|
19
|
-
var _context, _context2, _options$oAuthScopes$, _options$oAuthScopes, _context4, _options$oAuthScopes$2, _options$oAuthScopes2;
|
|
20
|
-
|
|
21
|
-
claims.push(_concatInstanceProperty__default["default"](_context = "".concat(formatters.OIDC_CLAIMS.PROJECT_KEY, ":")).call(_context, options.projectKey));
|
|
22
|
-
claims.push.apply(claims, _toConsumableArray(_mapInstanceProperty__default["default"](_context2 = (_options$oAuthScopes$ = (_options$oAuthScopes = options.oAuthScopes) === null || _options$oAuthScopes === void 0 ? void 0 : _options$oAuthScopes.view) !== null && _options$oAuthScopes$ !== void 0 ? _options$oAuthScopes$ : []).call(_context2, function (scope) {
|
|
23
|
-
var _context3;
|
|
24
|
-
|
|
25
|
-
return _concatInstanceProperty__default["default"](_context3 = "".concat(formatters.OIDC_CLAIMS.VIEW, ":")).call(_context3, scope);
|
|
26
|
-
})));
|
|
27
|
-
claims.push.apply(claims, _toConsumableArray(_mapInstanceProperty__default["default"](_context4 = (_options$oAuthScopes$2 = (_options$oAuthScopes2 = options.oAuthScopes) === null || _options$oAuthScopes2 === void 0 ? void 0 : _options$oAuthScopes2.manage) !== null && _options$oAuthScopes$2 !== void 0 ? _options$oAuthScopes$2 : []).call(_context4, function (scope) {
|
|
28
|
-
var _context5;
|
|
29
|
-
|
|
30
|
-
return _concatInstanceProperty__default["default"](_context5 = "".concat(formatters.OIDC_CLAIMS.MANAGE, ":")).call(_context5, scope);
|
|
31
|
-
})));
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
var teamId = options.teamId;
|
|
35
|
-
|
|
36
|
-
if (teamId) {
|
|
37
|
-
var _context6;
|
|
38
|
-
|
|
39
|
-
claims.push(_concatInstanceProperty__default["default"](_context6 = "".concat(formatters.OIDC_CLAIMS.TEAM_ID, ":")).call(_context6, teamId));
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
return _concatInstanceProperty__default["default"](_context7 = [// This is required as per OIDC spec.
|
|
43
|
-
formatters.OIDC_CLAIMS.OPEN_ID]).call(_context7, claims).join(' ');
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
exports.buildOidcScope = buildOidcScope;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var _toConsumableArray = require('@babel/runtime-corejs3/helpers/toConsumableArray');
|
|
4
|
-
var _concatInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/concat');
|
|
5
|
-
var _mapInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/map');
|
|
6
|
-
var formatters = require('./formatters-a5bb12eb.cjs.prod.js');
|
|
7
|
-
|
|
8
|
-
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
9
|
-
|
|
10
|
-
var _concatInstanceProperty__default = /*#__PURE__*/_interopDefault(_concatInstanceProperty);
|
|
11
|
-
var _mapInstanceProperty__default = /*#__PURE__*/_interopDefault(_mapInstanceProperty);
|
|
12
|
-
|
|
13
|
-
var buildOidcScope = function buildOidcScope(options) {
|
|
14
|
-
var _context7;
|
|
15
|
-
|
|
16
|
-
var claims = [];
|
|
17
|
-
|
|
18
|
-
if (options.projectKey) {
|
|
19
|
-
var _context, _context2, _options$oAuthScopes$, _options$oAuthScopes, _context4, _options$oAuthScopes$2, _options$oAuthScopes2;
|
|
20
|
-
|
|
21
|
-
claims.push(_concatInstanceProperty__default["default"](_context = "".concat(formatters.OIDC_CLAIMS.PROJECT_KEY, ":")).call(_context, options.projectKey));
|
|
22
|
-
claims.push.apply(claims, _toConsumableArray(_mapInstanceProperty__default["default"](_context2 = (_options$oAuthScopes$ = (_options$oAuthScopes = options.oAuthScopes) === null || _options$oAuthScopes === void 0 ? void 0 : _options$oAuthScopes.view) !== null && _options$oAuthScopes$ !== void 0 ? _options$oAuthScopes$ : []).call(_context2, function (scope) {
|
|
23
|
-
var _context3;
|
|
24
|
-
|
|
25
|
-
return _concatInstanceProperty__default["default"](_context3 = "".concat(formatters.OIDC_CLAIMS.VIEW, ":")).call(_context3, scope);
|
|
26
|
-
})));
|
|
27
|
-
claims.push.apply(claims, _toConsumableArray(_mapInstanceProperty__default["default"](_context4 = (_options$oAuthScopes$2 = (_options$oAuthScopes2 = options.oAuthScopes) === null || _options$oAuthScopes2 === void 0 ? void 0 : _options$oAuthScopes2.manage) !== null && _options$oAuthScopes$2 !== void 0 ? _options$oAuthScopes$2 : []).call(_context4, function (scope) {
|
|
28
|
-
var _context5;
|
|
29
|
-
|
|
30
|
-
return _concatInstanceProperty__default["default"](_context5 = "".concat(formatters.OIDC_CLAIMS.MANAGE, ":")).call(_context5, scope);
|
|
31
|
-
})));
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
var teamId = options.teamId;
|
|
35
|
-
|
|
36
|
-
if (teamId) {
|
|
37
|
-
var _context6;
|
|
38
|
-
|
|
39
|
-
claims.push(_concatInstanceProperty__default["default"](_context6 = "".concat(formatters.OIDC_CLAIMS.TEAM_ID, ":")).call(_context6, teamId));
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
return _concatInstanceProperty__default["default"](_context7 = [// This is required as per OIDC spec.
|
|
43
|
-
formatters.OIDC_CLAIMS.OPEN_ID]).call(_context7, claims).join(' ');
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
exports.buildOidcScope = buildOidcScope;
|