@commercetools-frontend/application-shell 21.20.5 → 21.21.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.
- package/dist/{application-entry-point-bdab17cb.cjs.prod.js → application-entry-point-27b3556f.cjs.prod.js} +1 -1
- package/dist/{application-entry-point-d00f7f17.cjs.dev.js → application-entry-point-da8b6cf3.cjs.dev.js} +1 -1
- package/dist/{application-entry-point-6cfa13d7.esm.js → application-entry-point-e4a1d54d.esm.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/declarations/src/utils/oidc.d.ts +1 -0
- package/dist/{index-38fd167c.cjs.prod.js → index-04ba50dc.cjs.prod.js} +14 -12
- package/dist/{index-eb4f399f.esm.js → index-40c0d1f1.esm.js} +14 -12
- package/dist/{index-c5e597b3.cjs.dev.js → index-c4563bff.cjs.dev.js} +14 -12
- package/dist/{oidc-8f79eea8.cjs.prod.js → oidc-2de78d6b.cjs.prod.js} +27 -6
- package/dist/{oidc-6c75da08.cjs.dev.js → oidc-3bed1dca.cjs.dev.js} +27 -6
- package/dist/{oidc-78a9ec10.esm.js → oidc-889aab26.esm.js} +26 -6
- package/dist/{project-expired-1c266521.cjs.dev.js → project-expired-4956a75a.cjs.dev.js} +4 -4
- package/dist/{project-expired-0eda0957.esm.js → project-expired-b4657bfc.esm.js} +4 -4
- package/dist/{project-expired-d702fd62.cjs.prod.js → project-expired-ecd5b320.cjs.prod.js} +4 -4
- package/dist/{project-not-found-4e08ea77.esm.js → project-not-found-9a21c225.esm.js} +4 -4
- package/dist/{project-not-found-4626022a.cjs.dev.js → project-not-found-a381bb68.cjs.dev.js} +4 -4
- package/dist/{project-not-found-df11e4d3.cjs.prod.js → project-not-found-e0c29f6a.cjs.prod.js} +4 -4
- package/dist/{project-not-initialized-1ee10f31.cjs.dev.js → project-not-initialized-37755f67.cjs.dev.js} +4 -4
- package/dist/{project-not-initialized-c18f6bc0.esm.js → project-not-initialized-c929fca1.esm.js} +4 -4
- package/dist/{project-not-initialized-2e9bb109.cjs.prod.js → project-not-initialized-f9a7f36f.cjs.prod.js} +4 -4
- package/dist/{project-suspended-1e56fb25.cjs.dev.js → project-suspended-55a512e2.cjs.dev.js} +4 -4
- package/dist/{project-suspended-4eff23d2.esm.js → project-suspended-63eab95d.esm.js} +4 -4
- package/dist/{project-suspended-48564659.cjs.prod.js → project-suspended-a59892f1.cjs.prod.js} +4 -4
- package/dist/{quick-access-f3c549cd.cjs.dev.js → quick-access-228cb42a.cjs.dev.js} +3 -3
- package/dist/{quick-access-40335b74.cjs.prod.js → quick-access-40df7c6e.cjs.prod.js} +3 -3
- package/dist/{quick-access-40f74bd1.esm.js → quick-access-c17c5d53.esm.js} +3 -3
- package/dist/{service-page-project-switcher-9f3b68f7.esm.js → service-page-project-switcher-452b32ab.esm.js} +1 -1
- package/dist/{service-page-project-switcher-d3729259.cjs.dev.js → service-page-project-switcher-6c775c3f.cjs.dev.js} +1 -1
- package/dist/{service-page-project-switcher-a5639b00.cjs.prod.js → service-page-project-switcher-f06cb1bc.cjs.prod.js} +1 -1
- package/package.json +16 -16
- package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.dev.js +2 -1
- package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.prod.js +2 -1
- package/ssr/dist/commercetools-frontend-application-shell-ssr.esm.js +2 -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
|
@@ -112,7 +112,7 @@ var _regeneratorRuntime__default = /*#__PURE__*/_interopDefault(_regeneratorRunt
|
|
|
112
112
|
var invariant__default = /*#__PURE__*/_interopDefault(invariant);
|
|
113
113
|
|
|
114
114
|
// NOTE: This string will be replaced on build time with the package version.
|
|
115
|
-
var version = "21.
|
|
115
|
+
var version = "21.21.0";
|
|
116
116
|
|
|
117
117
|
var isAddNotificationErrorAction = function isAddNotificationErrorAction(action) {
|
|
118
118
|
var errorAction = action;
|
|
@@ -113,7 +113,7 @@ var _pt__default = /*#__PURE__*/_interopDefault(_pt);
|
|
|
113
113
|
var invariant__default = /*#__PURE__*/_interopDefault(invariant);
|
|
114
114
|
|
|
115
115
|
// NOTE: This string will be replaced on build time with the package version.
|
|
116
|
-
var version = "21.
|
|
116
|
+
var version = "21.21.0";
|
|
117
117
|
|
|
118
118
|
var isAddNotificationErrorAction = function isAddNotificationErrorAction(action) {
|
|
119
119
|
var errorAction = action;
|
package/dist/{application-entry-point-6cfa13d7.esm.js → application-entry-point-e4a1d54d.esm.js}
RENAMED
|
@@ -70,7 +70,7 @@ import { entryPointUriPathToPermissionKeys } from '@commercetools-frontend/appli
|
|
|
70
70
|
import { useApplicationContext } from '@commercetools-frontend/application-shell-connectors';
|
|
71
71
|
|
|
72
72
|
// NOTE: This string will be replaced on build time with the package version.
|
|
73
|
-
var version = "21.
|
|
73
|
+
var version = "21.21.0";
|
|
74
74
|
|
|
75
75
|
var isAddNotificationErrorAction = function isAddNotificationErrorAction(action) {
|
|
76
76
|
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-da8b6cf3.cjs.dev.js');
|
|
6
|
+
var dist_commercetoolsFrontendApplicationShell = require('./index-c4563bff.cjs.dev.js');
|
|
7
7
|
require('@babel/runtime-corejs3/core-js-stable/instance/filter');
|
|
8
8
|
require('uuid');
|
|
9
9
|
var ssr = require('@commercetools-frontend/application-config/ssr');
|
|
@@ -83,7 +83,7 @@ require('perfume.js');
|
|
|
83
83
|
require('@babel/runtime-corejs3/core-js-stable/instance/reverse');
|
|
84
84
|
require('lodash/camelCase');
|
|
85
85
|
require('@apollo/client/react');
|
|
86
|
-
require('./oidc-
|
|
86
|
+
require('./oidc-3bed1dca.cjs.dev.js');
|
|
87
87
|
require('qss');
|
|
88
88
|
require('jwt-decode');
|
|
89
89
|
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-27b3556f.cjs.prod.js');
|
|
6
|
+
var dist_commercetoolsFrontendApplicationShell = require('./index-04ba50dc.cjs.prod.js');
|
|
7
7
|
require('@babel/runtime-corejs3/core-js-stable/instance/filter');
|
|
8
8
|
require('uuid');
|
|
9
9
|
var ssr = require('@commercetools-frontend/application-config/ssr');
|
|
@@ -83,7 +83,7 @@ require('perfume.js');
|
|
|
83
83
|
require('@babel/runtime-corejs3/core-js-stable/instance/reverse');
|
|
84
84
|
require('lodash/camelCase');
|
|
85
85
|
require('@apollo/client/react');
|
|
86
|
-
require('./oidc-
|
|
86
|
+
require('./oidc-2de78d6b.cjs.prod.js');
|
|
87
87
|
require('qss');
|
|
88
88
|
require('jwt-decode');
|
|
89
89
|
require('@commercetools-frontend/assets/images/locked-diamond.svg');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { p as RouteCatchAll, q as applyDefaultMiddlewares, w as buildApiUrl, f as createApolloClient, x as createHttpClientOptions, y as executeHttpClientRequest, g as getMcApiUrl, n as selectProjectKeyFromUrl, t as selectUserId, v as version } from './application-entry-point-
|
|
2
|
-
export { b as ApplicationPageTitle, A as ApplicationShell, a as ApplicationShellProvider, C as ConfigureIntlProvider, G as GtmContext, d as GtmUserLogoutTracker, I as InjectReducers, S as SetupFlopFlipProvider, e as SuspendedRoute, c as createApolloContextForProxyForwardTo, s as setupGlobalErrorListener, f as useMcLazyQuery, g as useMcMutation, u as useMcQuery } from './index-
|
|
1
|
+
export { p as RouteCatchAll, q as applyDefaultMiddlewares, w as buildApiUrl, f as createApolloClient, x as createHttpClientOptions, y as executeHttpClientRequest, g as getMcApiUrl, n as selectProjectKeyFromUrl, t as selectUserId, v as version } from './application-entry-point-e4a1d54d.esm.js';
|
|
2
|
+
export { b as ApplicationPageTitle, A as ApplicationShell, a as ApplicationShellProvider, C as ConfigureIntlProvider, G as GtmContext, d as GtmUserLogoutTracker, I as InjectReducers, S as SetupFlopFlipProvider, e as SuspendedRoute, c as createApolloContextForProxyForwardTo, s as setupGlobalErrorListener, f as useMcLazyQuery, g as useMcMutation, u as useMcQuery } from './index-40c0d1f1.esm.js';
|
|
3
3
|
import '@babel/runtime-corejs3/core-js-stable/instance/filter';
|
|
4
4
|
import 'uuid';
|
|
5
5
|
export { entryPointUriPathToPermissionKeys, entryPointUriPathToResourceAccesses } from '@commercetools-frontend/application-config/ssr';
|
|
@@ -79,7 +79,7 @@ import 'perfume.js';
|
|
|
79
79
|
import '@babel/runtime-corejs3/core-js-stable/instance/reverse';
|
|
80
80
|
import 'lodash/camelCase';
|
|
81
81
|
import '@apollo/client/react';
|
|
82
|
-
import './oidc-
|
|
82
|
+
import './oidc-889aab26.esm.js';
|
|
83
83
|
import 'qss';
|
|
84
84
|
import 'jwt-decode';
|
|
85
85
|
import '@commercetools-frontend/assets/images/locked-diamond.svg';
|
|
@@ -2,6 +2,7 @@ import type { ApplicationOidcForDevelopmentConfig } from '@commercetools-fronten
|
|
|
2
2
|
declare type BuilOidcScopeOptions = {
|
|
3
3
|
projectKey?: ApplicationOidcForDevelopmentConfig['initialProjectKey'];
|
|
4
4
|
oAuthScopes?: ApplicationOidcForDevelopmentConfig['oAuthScopes'];
|
|
5
|
+
additionalOAuthScopes?: ApplicationOidcForDevelopmentConfig['additionalOAuthScopes'];
|
|
5
6
|
teamId?: ApplicationOidcForDevelopmentConfig['teamId'];
|
|
6
7
|
};
|
|
7
8
|
declare const buildOidcScope: (options: BuilOidcScopeOptions) => string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var applicationEntryPoint = require('./application-entry-point-
|
|
3
|
+
var applicationEntryPoint = require('./application-entry-point-27b3556f.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');
|
|
@@ -38,7 +38,7 @@ var reactRedux = require('react-redux');
|
|
|
38
38
|
var history = require('@commercetools-frontend/browser-history');
|
|
39
39
|
var reactIntl = require('react-intl');
|
|
40
40
|
var _startsWithInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/starts-with');
|
|
41
|
-
var oidc = require('./oidc-
|
|
41
|
+
var oidc = require('./oidc-2de78d6b.cjs.prod.js');
|
|
42
42
|
var qss = require('qss');
|
|
43
43
|
var jwtDecode = require('jwt-decode');
|
|
44
44
|
var FailedAuthenticationSVG = require('@commercetools-frontend/assets/images/locked-diamond.svg');
|
|
@@ -638,7 +638,7 @@ var hasCachedAuthenticationState = function hasCachedAuthenticationState() {
|
|
|
638
638
|
|
|
639
639
|
if ((_window$app$__DEVELOP = window.app.__DEVELOPMENT__) !== null && _window$app$__DEVELOP !== void 0 && (_window$app$__DEVELOP2 = _window$app$__DEVELOP.oidc) !== null && _window$app$__DEVELOP2 !== void 0 && _window$app$__DEVELOP2.authorizeUrl) {
|
|
640
640
|
try {
|
|
641
|
-
var _window$app$__DEVELOP9, _window$app$__DEVELOP10, _window$app$__DEVELOP11, _window$app$__DEVELOP12;
|
|
641
|
+
var _window$app$__DEVELOP9, _window$app$__DEVELOP10, _window$app$__DEVELOP11, _window$app$__DEVELOP12, _window$app$__DEVELOP13, _window$app$__DEVELOP14;
|
|
642
642
|
|
|
643
643
|
var activeProjectKey = applicationEntryPoint.getActiveProjectKey();
|
|
644
644
|
|
|
@@ -679,7 +679,8 @@ var hasCachedAuthenticationState = function hasCachedAuthenticationState() {
|
|
|
679
679
|
var requestedScope = oidc.buildOidcScope({
|
|
680
680
|
projectKey: activeProjectKey !== null && activeProjectKey !== void 0 ? activeProjectKey : undefined,
|
|
681
681
|
oAuthScopes: (_window$app$__DEVELOP9 = window.app.__DEVELOPMENT__) === null || _window$app$__DEVELOP9 === void 0 ? void 0 : (_window$app$__DEVELOP10 = _window$app$__DEVELOP9.oidc) === null || _window$app$__DEVELOP10 === void 0 ? void 0 : _window$app$__DEVELOP10.oAuthScopes,
|
|
682
|
-
|
|
682
|
+
additionalOAuthScopes: (_window$app$__DEVELOP11 = window.app.__DEVELOPMENT__) === null || _window$app$__DEVELOP11 === void 0 ? void 0 : (_window$app$__DEVELOP12 = _window$app$__DEVELOP11.oidc) === null || _window$app$__DEVELOP12 === void 0 ? void 0 : _window$app$__DEVELOP12.additionalOAuthScopes,
|
|
683
|
+
teamId: (_window$app$__DEVELOP13 = window.app.__DEVELOPMENT__) === null || _window$app$__DEVELOP13 === void 0 ? void 0 : (_window$app$__DEVELOP14 = _window$app$__DEVELOP13.oidc) === null || _window$app$__DEVELOP14 === void 0 ? void 0 : _window$app$__DEVELOP14.teamId
|
|
683
684
|
}); // Omit the project key from the check. This allows to switch projects
|
|
684
685
|
// without having to log in again.
|
|
685
686
|
|
|
@@ -2391,19 +2392,19 @@ var LocaleSwitcher = function LocaleSwitcher(props) {
|
|
|
2391
2392
|
LocaleSwitcher.propTypes = {};
|
|
2392
2393
|
|
|
2393
2394
|
var ProjectNotFound = /*#__PURE__*/react.lazy(function () {
|
|
2394
|
-
return Promise.resolve().then(function () { return require('./project-not-found-
|
|
2395
|
+
return Promise.resolve().then(function () { return require('./project-not-found-e0c29f6a.cjs.prod.js'
|
|
2395
2396
|
/* webpackChunkName: "project-not-found" */
|
|
2396
2397
|
); });
|
|
2397
2398
|
});
|
|
2398
2399
|
|
|
2399
2400
|
var ProjectExpired = /*#__PURE__*/react.lazy(function () {
|
|
2400
|
-
return Promise.resolve().then(function () { return require('./project-expired-
|
|
2401
|
+
return Promise.resolve().then(function () { return require('./project-expired-ecd5b320.cjs.prod.js'
|
|
2401
2402
|
/* webpackChunkName: "project-expired" */
|
|
2402
2403
|
); });
|
|
2403
2404
|
});
|
|
2404
2405
|
|
|
2405
2406
|
var ProjectNotInitialized = /*#__PURE__*/react.lazy(function () {
|
|
2406
|
-
return Promise.resolve().then(function () { return require('./project-not-initialized-
|
|
2407
|
+
return Promise.resolve().then(function () { return require('./project-not-initialized-f9a7f36f.cjs.prod.js'
|
|
2407
2408
|
/* webpackChunkName: "project-not-initialized" */
|
|
2408
2409
|
); });
|
|
2409
2410
|
});
|
|
@@ -2450,7 +2451,7 @@ var RedirectToProjectCreate = function RedirectToProjectCreate() {
|
|
|
2450
2451
|
RedirectToProjectCreate.displayName = 'RedirectToProjectCreate';
|
|
2451
2452
|
|
|
2452
2453
|
var ProjectSuspended = /*#__PURE__*/react.lazy(function () {
|
|
2453
|
-
return Promise.resolve().then(function () { return require('./project-suspended-
|
|
2454
|
+
return Promise.resolve().then(function () { return require('./project-suspended-a59892f1.cjs.prod.js'
|
|
2454
2455
|
/* webpackChunkName: "project-suspended" */
|
|
2455
2456
|
); });
|
|
2456
2457
|
});
|
|
@@ -3783,7 +3784,7 @@ var pimIndexerStates = {
|
|
|
3783
3784
|
};
|
|
3784
3785
|
|
|
3785
3786
|
var QuickAccess = /*#__PURE__*/react.lazy(function () {
|
|
3786
|
-
return Promise.resolve().then(function () { return require('./quick-access-
|
|
3787
|
+
return Promise.resolve().then(function () { return require('./quick-access-40df7c6e.cjs.prod.js'
|
|
3787
3788
|
/* webpackChunkName: "quick-access" */
|
|
3788
3789
|
); });
|
|
3789
3790
|
});
|
|
@@ -3944,7 +3945,7 @@ var RedirectToLogin = function RedirectToLogin() {
|
|
|
3944
3945
|
var servedByProxy = applicationEntryPoint.useIsServedByProxy();
|
|
3945
3946
|
|
|
3946
3947
|
if ((_window$app$__DEVELOP = window.app.__DEVELOPMENT__) !== null && _window$app$__DEVELOP !== void 0 && (_window$app$__DEVELOP2 = _window$app$__DEVELOP.oidc) !== null && _window$app$__DEVELOP2 !== void 0 && _window$app$__DEVELOP2.authorizeUrl) {
|
|
3947
|
-
var _window$app$__DEVELOP3, _window$app$__DEVELOP4, _window$app$__DEVELOP5, _window$app$__DEVELOP6, _window$app$__DEVELOP7, _window$app$__DEVELOP8;
|
|
3948
|
+
var _window$app$__DEVELOP3, _window$app$__DEVELOP4, _window$app$__DEVELOP5, _window$app$__DEVELOP6, _window$app$__DEVELOP7, _window$app$__DEVELOP8, _window$app$__DEVELOP9, _window$app$__DEVELOP10;
|
|
3948
3949
|
|
|
3949
3950
|
// We pick the project key from local storage. This assumes that the value
|
|
3950
3951
|
// as been previously set when the application starts up.
|
|
@@ -3969,7 +3970,8 @@ var RedirectToLogin = function RedirectToLogin() {
|
|
|
3969
3970
|
var requestedScope = oidc.buildOidcScope({
|
|
3970
3971
|
projectKey: nextProjectKey !== null && nextProjectKey !== void 0 ? nextProjectKey : undefined,
|
|
3971
3972
|
oAuthScopes: (_window$app$__DEVELOP3 = window.app.__DEVELOPMENT__) === null || _window$app$__DEVELOP3 === void 0 ? void 0 : (_window$app$__DEVELOP4 = _window$app$__DEVELOP3.oidc) === null || _window$app$__DEVELOP4 === void 0 ? void 0 : _window$app$__DEVELOP4.oAuthScopes,
|
|
3972
|
-
|
|
3973
|
+
additionalOAuthScopes: (_window$app$__DEVELOP5 = window.app.__DEVELOPMENT__) === null || _window$app$__DEVELOP5 === void 0 ? void 0 : (_window$app$__DEVELOP6 = _window$app$__DEVELOP5.oidc) === null || _window$app$__DEVELOP6 === void 0 ? void 0 : _window$app$__DEVELOP6.additionalOAuthScopes,
|
|
3974
|
+
teamId: (_window$app$__DEVELOP7 = window.app.__DEVELOPMENT__) === null || _window$app$__DEVELOP7 === void 0 ? void 0 : (_window$app$__DEVELOP8 = _window$app$__DEVELOP7.oidc) === null || _window$app$__DEVELOP8 === void 0 ? void 0 : _window$app$__DEVELOP8.teamId
|
|
3973
3975
|
}); // Store session scopes, to be able to detect if requested scopes changed
|
|
3974
3976
|
// in the application config and invalidate the session.
|
|
3975
3977
|
// This is only valid for local development.
|
|
@@ -3977,7 +3979,7 @@ var RedirectToLogin = function RedirectToLogin() {
|
|
|
3977
3979
|
applicationEntryPoint.setSessionScope(requestedScope);
|
|
3978
3980
|
return jsxRuntime.jsx(Redirector, {
|
|
3979
3981
|
to: "",
|
|
3980
|
-
origin: (_window$app$
|
|
3982
|
+
origin: (_window$app$__DEVELOP9 = window.app.__DEVELOPMENT__) === null || _window$app$__DEVELOP9 === void 0 ? void 0 : (_window$app$__DEVELOP10 = _window$app$__DEVELOP9.oidc) === null || _window$app$__DEVELOP10 === void 0 ? void 0 : _window$app$__DEVELOP10.authorizeUrl,
|
|
3981
3983
|
location: location,
|
|
3982
3984
|
queryParams: {
|
|
3983
3985
|
reason: constants$1.LOGOUT_REASONS.UNAUTHORIZED,
|
|
@@ -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-e4a1d54d.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';
|
|
@@ -36,7 +36,7 @@ import { Provider, useStore } from 'react-redux';
|
|
|
36
36
|
import history from '@commercetools-frontend/browser-history';
|
|
37
37
|
import { IntlProvider, defineMessages, useIntl, FormattedMessage } from 'react-intl';
|
|
38
38
|
import _startsWithInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/starts-with';
|
|
39
|
-
import { b as buildOidcScope } from './oidc-
|
|
39
|
+
import { b as buildOidcScope } from './oidc-889aab26.esm.js';
|
|
40
40
|
import { encode, decode } from 'qss';
|
|
41
41
|
import jwtDecode from 'jwt-decode';
|
|
42
42
|
import FailedAuthenticationSVG from '@commercetools-frontend/assets/images/locked-diamond.svg';
|
|
@@ -579,7 +579,7 @@ var hasCachedAuthenticationState = function hasCachedAuthenticationState() {
|
|
|
579
579
|
|
|
580
580
|
if ((_window$app$__DEVELOP = window.app.__DEVELOPMENT__) !== null && _window$app$__DEVELOP !== void 0 && (_window$app$__DEVELOP2 = _window$app$__DEVELOP.oidc) !== null && _window$app$__DEVELOP2 !== void 0 && _window$app$__DEVELOP2.authorizeUrl) {
|
|
581
581
|
try {
|
|
582
|
-
var _window$app$__DEVELOP9, _window$app$__DEVELOP10, _window$app$__DEVELOP11, _window$app$__DEVELOP12;
|
|
582
|
+
var _window$app$__DEVELOP9, _window$app$__DEVELOP10, _window$app$__DEVELOP11, _window$app$__DEVELOP12, _window$app$__DEVELOP13, _window$app$__DEVELOP14;
|
|
583
583
|
|
|
584
584
|
var activeProjectKey = getActiveProjectKey();
|
|
585
585
|
|
|
@@ -620,7 +620,8 @@ var hasCachedAuthenticationState = function hasCachedAuthenticationState() {
|
|
|
620
620
|
var requestedScope = buildOidcScope({
|
|
621
621
|
projectKey: activeProjectKey !== null && activeProjectKey !== void 0 ? activeProjectKey : undefined,
|
|
622
622
|
oAuthScopes: (_window$app$__DEVELOP9 = window.app.__DEVELOPMENT__) === null || _window$app$__DEVELOP9 === void 0 ? void 0 : (_window$app$__DEVELOP10 = _window$app$__DEVELOP9.oidc) === null || _window$app$__DEVELOP10 === void 0 ? void 0 : _window$app$__DEVELOP10.oAuthScopes,
|
|
623
|
-
|
|
623
|
+
additionalOAuthScopes: (_window$app$__DEVELOP11 = window.app.__DEVELOPMENT__) === null || _window$app$__DEVELOP11 === void 0 ? void 0 : (_window$app$__DEVELOP12 = _window$app$__DEVELOP11.oidc) === null || _window$app$__DEVELOP12 === void 0 ? void 0 : _window$app$__DEVELOP12.additionalOAuthScopes,
|
|
624
|
+
teamId: (_window$app$__DEVELOP13 = window.app.__DEVELOPMENT__) === null || _window$app$__DEVELOP13 === void 0 ? void 0 : (_window$app$__DEVELOP14 = _window$app$__DEVELOP13.oidc) === null || _window$app$__DEVELOP14 === void 0 ? void 0 : _window$app$__DEVELOP14.teamId
|
|
624
625
|
}); // Omit the project key from the check. This allows to switch projects
|
|
625
626
|
// without having to log in again.
|
|
626
627
|
|
|
@@ -2417,19 +2418,19 @@ LocaleSwitcher.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2417
2418
|
} : {};
|
|
2418
2419
|
|
|
2419
2420
|
var ProjectNotFound = /*#__PURE__*/lazy(function () {
|
|
2420
|
-
return import('./project-not-found-
|
|
2421
|
+
return import('./project-not-found-9a21c225.esm.js'
|
|
2421
2422
|
/* webpackChunkName: "project-not-found" */
|
|
2422
2423
|
);
|
|
2423
2424
|
});
|
|
2424
2425
|
|
|
2425
2426
|
var ProjectExpired = /*#__PURE__*/lazy(function () {
|
|
2426
|
-
return import('./project-expired-
|
|
2427
|
+
return import('./project-expired-b4657bfc.esm.js'
|
|
2427
2428
|
/* webpackChunkName: "project-expired" */
|
|
2428
2429
|
);
|
|
2429
2430
|
});
|
|
2430
2431
|
|
|
2431
2432
|
var ProjectNotInitialized = /*#__PURE__*/lazy(function () {
|
|
2432
|
-
return import('./project-not-initialized-
|
|
2433
|
+
return import('./project-not-initialized-c929fca1.esm.js'
|
|
2433
2434
|
/* webpackChunkName: "project-not-initialized" */
|
|
2434
2435
|
);
|
|
2435
2436
|
});
|
|
@@ -2476,7 +2477,7 @@ var RedirectToProjectCreate = function RedirectToProjectCreate() {
|
|
|
2476
2477
|
RedirectToProjectCreate.displayName = 'RedirectToProjectCreate';
|
|
2477
2478
|
|
|
2478
2479
|
var ProjectSuspended = /*#__PURE__*/lazy(function () {
|
|
2479
|
-
return import('./project-suspended-
|
|
2480
|
+
return import('./project-suspended-63eab95d.esm.js'
|
|
2480
2481
|
/* webpackChunkName: "project-suspended" */
|
|
2481
2482
|
);
|
|
2482
2483
|
});
|
|
@@ -3910,7 +3911,7 @@ var pimIndexerStates = {
|
|
|
3910
3911
|
};
|
|
3911
3912
|
|
|
3912
3913
|
var QuickAccess = /*#__PURE__*/lazy(function () {
|
|
3913
|
-
return import('./quick-access-
|
|
3914
|
+
return import('./quick-access-c17c5d53.esm.js'
|
|
3914
3915
|
/* webpackChunkName: "quick-access" */
|
|
3915
3916
|
);
|
|
3916
3917
|
});
|
|
@@ -4073,7 +4074,7 @@ var RedirectToLogin = function RedirectToLogin() {
|
|
|
4073
4074
|
var servedByProxy = useIsServedByProxy();
|
|
4074
4075
|
|
|
4075
4076
|
if ((_window$app$__DEVELOP = window.app.__DEVELOPMENT__) !== null && _window$app$__DEVELOP !== void 0 && (_window$app$__DEVELOP2 = _window$app$__DEVELOP.oidc) !== null && _window$app$__DEVELOP2 !== void 0 && _window$app$__DEVELOP2.authorizeUrl) {
|
|
4076
|
-
var _window$app$__DEVELOP3, _window$app$__DEVELOP4, _window$app$__DEVELOP5, _window$app$__DEVELOP6, _window$app$__DEVELOP7, _window$app$__DEVELOP8;
|
|
4077
|
+
var _window$app$__DEVELOP3, _window$app$__DEVELOP4, _window$app$__DEVELOP5, _window$app$__DEVELOP6, _window$app$__DEVELOP7, _window$app$__DEVELOP8, _window$app$__DEVELOP9, _window$app$__DEVELOP10;
|
|
4077
4078
|
|
|
4078
4079
|
// We pick the project key from local storage. This assumes that the value
|
|
4079
4080
|
// as been previously set when the application starts up.
|
|
@@ -4098,7 +4099,8 @@ var RedirectToLogin = function RedirectToLogin() {
|
|
|
4098
4099
|
var requestedScope = buildOidcScope({
|
|
4099
4100
|
projectKey: nextProjectKey !== null && nextProjectKey !== void 0 ? nextProjectKey : undefined,
|
|
4100
4101
|
oAuthScopes: (_window$app$__DEVELOP3 = window.app.__DEVELOPMENT__) === null || _window$app$__DEVELOP3 === void 0 ? void 0 : (_window$app$__DEVELOP4 = _window$app$__DEVELOP3.oidc) === null || _window$app$__DEVELOP4 === void 0 ? void 0 : _window$app$__DEVELOP4.oAuthScopes,
|
|
4101
|
-
|
|
4102
|
+
additionalOAuthScopes: (_window$app$__DEVELOP5 = window.app.__DEVELOPMENT__) === null || _window$app$__DEVELOP5 === void 0 ? void 0 : (_window$app$__DEVELOP6 = _window$app$__DEVELOP5.oidc) === null || _window$app$__DEVELOP6 === void 0 ? void 0 : _window$app$__DEVELOP6.additionalOAuthScopes,
|
|
4103
|
+
teamId: (_window$app$__DEVELOP7 = window.app.__DEVELOPMENT__) === null || _window$app$__DEVELOP7 === void 0 ? void 0 : (_window$app$__DEVELOP8 = _window$app$__DEVELOP7.oidc) === null || _window$app$__DEVELOP8 === void 0 ? void 0 : _window$app$__DEVELOP8.teamId
|
|
4102
4104
|
}); // Store session scopes, to be able to detect if requested scopes changed
|
|
4103
4105
|
// in the application config and invalidate the session.
|
|
4104
4106
|
// This is only valid for local development.
|
|
@@ -4106,7 +4108,7 @@ var RedirectToLogin = function RedirectToLogin() {
|
|
|
4106
4108
|
setSessionScope(requestedScope);
|
|
4107
4109
|
return jsx(Redirector, {
|
|
4108
4110
|
to: "",
|
|
4109
|
-
origin: (_window$app$
|
|
4111
|
+
origin: (_window$app$__DEVELOP9 = window.app.__DEVELOPMENT__) === null || _window$app$__DEVELOP9 === void 0 ? void 0 : (_window$app$__DEVELOP10 = _window$app$__DEVELOP9.oidc) === null || _window$app$__DEVELOP10 === void 0 ? void 0 : _window$app$__DEVELOP10.authorizeUrl,
|
|
4110
4112
|
location: location,
|
|
4111
4113
|
queryParams: {
|
|
4112
4114
|
reason: LOGOUT_REASONS.UNAUTHORIZED,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var applicationEntryPoint = require('./application-entry-point-
|
|
3
|
+
var applicationEntryPoint = require('./application-entry-point-da8b6cf3.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');
|
|
@@ -38,7 +38,7 @@ var reactRedux = require('react-redux');
|
|
|
38
38
|
var history = require('@commercetools-frontend/browser-history');
|
|
39
39
|
var reactIntl = require('react-intl');
|
|
40
40
|
var _startsWithInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/starts-with');
|
|
41
|
-
var oidc = require('./oidc-
|
|
41
|
+
var oidc = require('./oidc-3bed1dca.cjs.dev.js');
|
|
42
42
|
var qss = require('qss');
|
|
43
43
|
var jwtDecode = require('jwt-decode');
|
|
44
44
|
var FailedAuthenticationSVG = require('@commercetools-frontend/assets/images/locked-diamond.svg');
|
|
@@ -641,7 +641,7 @@ var hasCachedAuthenticationState = function hasCachedAuthenticationState() {
|
|
|
641
641
|
|
|
642
642
|
if ((_window$app$__DEVELOP = window.app.__DEVELOPMENT__) !== null && _window$app$__DEVELOP !== void 0 && (_window$app$__DEVELOP2 = _window$app$__DEVELOP.oidc) !== null && _window$app$__DEVELOP2 !== void 0 && _window$app$__DEVELOP2.authorizeUrl) {
|
|
643
643
|
try {
|
|
644
|
-
var _window$app$__DEVELOP9, _window$app$__DEVELOP10, _window$app$__DEVELOP11, _window$app$__DEVELOP12;
|
|
644
|
+
var _window$app$__DEVELOP9, _window$app$__DEVELOP10, _window$app$__DEVELOP11, _window$app$__DEVELOP12, _window$app$__DEVELOP13, _window$app$__DEVELOP14;
|
|
645
645
|
|
|
646
646
|
var activeProjectKey = applicationEntryPoint.getActiveProjectKey();
|
|
647
647
|
|
|
@@ -682,7 +682,8 @@ var hasCachedAuthenticationState = function hasCachedAuthenticationState() {
|
|
|
682
682
|
var requestedScope = oidc.buildOidcScope({
|
|
683
683
|
projectKey: activeProjectKey !== null && activeProjectKey !== void 0 ? activeProjectKey : undefined,
|
|
684
684
|
oAuthScopes: (_window$app$__DEVELOP9 = window.app.__DEVELOPMENT__) === null || _window$app$__DEVELOP9 === void 0 ? void 0 : (_window$app$__DEVELOP10 = _window$app$__DEVELOP9.oidc) === null || _window$app$__DEVELOP10 === void 0 ? void 0 : _window$app$__DEVELOP10.oAuthScopes,
|
|
685
|
-
|
|
685
|
+
additionalOAuthScopes: (_window$app$__DEVELOP11 = window.app.__DEVELOPMENT__) === null || _window$app$__DEVELOP11 === void 0 ? void 0 : (_window$app$__DEVELOP12 = _window$app$__DEVELOP11.oidc) === null || _window$app$__DEVELOP12 === void 0 ? void 0 : _window$app$__DEVELOP12.additionalOAuthScopes,
|
|
686
|
+
teamId: (_window$app$__DEVELOP13 = window.app.__DEVELOPMENT__) === null || _window$app$__DEVELOP13 === void 0 ? void 0 : (_window$app$__DEVELOP14 = _window$app$__DEVELOP13.oidc) === null || _window$app$__DEVELOP14 === void 0 ? void 0 : _window$app$__DEVELOP14.teamId
|
|
686
687
|
}); // Omit the project key from the check. This allows to switch projects
|
|
687
688
|
// without having to log in again.
|
|
688
689
|
|
|
@@ -2479,19 +2480,19 @@ LocaleSwitcher.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2479
2480
|
} : {};
|
|
2480
2481
|
|
|
2481
2482
|
var ProjectNotFound = /*#__PURE__*/react.lazy(function () {
|
|
2482
|
-
return Promise.resolve().then(function () { return require('./project-not-found-
|
|
2483
|
+
return Promise.resolve().then(function () { return require('./project-not-found-a381bb68.cjs.dev.js'
|
|
2483
2484
|
/* webpackChunkName: "project-not-found" */
|
|
2484
2485
|
); });
|
|
2485
2486
|
});
|
|
2486
2487
|
|
|
2487
2488
|
var ProjectExpired = /*#__PURE__*/react.lazy(function () {
|
|
2488
|
-
return Promise.resolve().then(function () { return require('./project-expired-
|
|
2489
|
+
return Promise.resolve().then(function () { return require('./project-expired-4956a75a.cjs.dev.js'
|
|
2489
2490
|
/* webpackChunkName: "project-expired" */
|
|
2490
2491
|
); });
|
|
2491
2492
|
});
|
|
2492
2493
|
|
|
2493
2494
|
var ProjectNotInitialized = /*#__PURE__*/react.lazy(function () {
|
|
2494
|
-
return Promise.resolve().then(function () { return require('./project-not-initialized-
|
|
2495
|
+
return Promise.resolve().then(function () { return require('./project-not-initialized-37755f67.cjs.dev.js'
|
|
2495
2496
|
/* webpackChunkName: "project-not-initialized" */
|
|
2496
2497
|
); });
|
|
2497
2498
|
});
|
|
@@ -2538,7 +2539,7 @@ var RedirectToProjectCreate = function RedirectToProjectCreate() {
|
|
|
2538
2539
|
RedirectToProjectCreate.displayName = 'RedirectToProjectCreate';
|
|
2539
2540
|
|
|
2540
2541
|
var ProjectSuspended = /*#__PURE__*/react.lazy(function () {
|
|
2541
|
-
return Promise.resolve().then(function () { return require('./project-suspended-
|
|
2542
|
+
return Promise.resolve().then(function () { return require('./project-suspended-55a512e2.cjs.dev.js'
|
|
2542
2543
|
/* webpackChunkName: "project-suspended" */
|
|
2543
2544
|
); });
|
|
2544
2545
|
});
|
|
@@ -3972,7 +3973,7 @@ var pimIndexerStates = {
|
|
|
3972
3973
|
};
|
|
3973
3974
|
|
|
3974
3975
|
var QuickAccess = /*#__PURE__*/react.lazy(function () {
|
|
3975
|
-
return Promise.resolve().then(function () { return require('./quick-access-
|
|
3976
|
+
return Promise.resolve().then(function () { return require('./quick-access-228cb42a.cjs.dev.js'
|
|
3976
3977
|
/* webpackChunkName: "quick-access" */
|
|
3977
3978
|
); });
|
|
3978
3979
|
});
|
|
@@ -4135,7 +4136,7 @@ var RedirectToLogin = function RedirectToLogin() {
|
|
|
4135
4136
|
var servedByProxy = applicationEntryPoint.useIsServedByProxy();
|
|
4136
4137
|
|
|
4137
4138
|
if ((_window$app$__DEVELOP = window.app.__DEVELOPMENT__) !== null && _window$app$__DEVELOP !== void 0 && (_window$app$__DEVELOP2 = _window$app$__DEVELOP.oidc) !== null && _window$app$__DEVELOP2 !== void 0 && _window$app$__DEVELOP2.authorizeUrl) {
|
|
4138
|
-
var _window$app$__DEVELOP3, _window$app$__DEVELOP4, _window$app$__DEVELOP5, _window$app$__DEVELOP6, _window$app$__DEVELOP7, _window$app$__DEVELOP8;
|
|
4139
|
+
var _window$app$__DEVELOP3, _window$app$__DEVELOP4, _window$app$__DEVELOP5, _window$app$__DEVELOP6, _window$app$__DEVELOP7, _window$app$__DEVELOP8, _window$app$__DEVELOP9, _window$app$__DEVELOP10;
|
|
4139
4140
|
|
|
4140
4141
|
// We pick the project key from local storage. This assumes that the value
|
|
4141
4142
|
// as been previously set when the application starts up.
|
|
@@ -4160,7 +4161,8 @@ var RedirectToLogin = function RedirectToLogin() {
|
|
|
4160
4161
|
var requestedScope = oidc.buildOidcScope({
|
|
4161
4162
|
projectKey: nextProjectKey !== null && nextProjectKey !== void 0 ? nextProjectKey : undefined,
|
|
4162
4163
|
oAuthScopes: (_window$app$__DEVELOP3 = window.app.__DEVELOPMENT__) === null || _window$app$__DEVELOP3 === void 0 ? void 0 : (_window$app$__DEVELOP4 = _window$app$__DEVELOP3.oidc) === null || _window$app$__DEVELOP4 === void 0 ? void 0 : _window$app$__DEVELOP4.oAuthScopes,
|
|
4163
|
-
|
|
4164
|
+
additionalOAuthScopes: (_window$app$__DEVELOP5 = window.app.__DEVELOPMENT__) === null || _window$app$__DEVELOP5 === void 0 ? void 0 : (_window$app$__DEVELOP6 = _window$app$__DEVELOP5.oidc) === null || _window$app$__DEVELOP6 === void 0 ? void 0 : _window$app$__DEVELOP6.additionalOAuthScopes,
|
|
4165
|
+
teamId: (_window$app$__DEVELOP7 = window.app.__DEVELOPMENT__) === null || _window$app$__DEVELOP7 === void 0 ? void 0 : (_window$app$__DEVELOP8 = _window$app$__DEVELOP7.oidc) === null || _window$app$__DEVELOP8 === void 0 ? void 0 : _window$app$__DEVELOP8.teamId
|
|
4164
4166
|
}); // Store session scopes, to be able to detect if requested scopes changed
|
|
4165
4167
|
// in the application config and invalidate the session.
|
|
4166
4168
|
// This is only valid for local development.
|
|
@@ -4168,7 +4170,7 @@ var RedirectToLogin = function RedirectToLogin() {
|
|
|
4168
4170
|
applicationEntryPoint.setSessionScope(requestedScope);
|
|
4169
4171
|
return jsxRuntime.jsx(Redirector, {
|
|
4170
4172
|
to: "",
|
|
4171
|
-
origin: (_window$app$
|
|
4173
|
+
origin: (_window$app$__DEVELOP9 = window.app.__DEVELOPMENT__) === null || _window$app$__DEVELOP9 === void 0 ? void 0 : (_window$app$__DEVELOP10 = _window$app$__DEVELOP9.oidc) === null || _window$app$__DEVELOP10 === void 0 ? void 0 : _window$app$__DEVELOP10.authorizeUrl,
|
|
4172
4174
|
location: location,
|
|
4173
4175
|
queryParams: {
|
|
4174
4176
|
reason: constants$1.LOGOUT_REASONS.UNAUTHORIZED,
|
|
@@ -3,15 +3,17 @@
|
|
|
3
3
|
var _toConsumableArray = require('@babel/runtime-corejs3/helpers/toConsumableArray');
|
|
4
4
|
var _concatInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/concat');
|
|
5
5
|
var _mapInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/map');
|
|
6
|
+
var _forEachInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/for-each');
|
|
6
7
|
var constants = require('./constants-d3b01ef6.cjs.prod.js');
|
|
7
8
|
|
|
8
9
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
9
10
|
|
|
10
11
|
var _concatInstanceProperty__default = /*#__PURE__*/_interopDefault(_concatInstanceProperty);
|
|
11
12
|
var _mapInstanceProperty__default = /*#__PURE__*/_interopDefault(_mapInstanceProperty);
|
|
13
|
+
var _forEachInstanceProperty__default = /*#__PURE__*/_interopDefault(_forEachInstanceProperty);
|
|
12
14
|
|
|
13
15
|
var buildOidcScope = function buildOidcScope(options) {
|
|
14
|
-
var _context2, _options$oAuthScopes$, _options$oAuthScopes, _context4, _options$oAuthScopes$2, _options$oAuthScopes2,
|
|
16
|
+
var _context2, _options$oAuthScopes$, _options$oAuthScopes, _context4, _options$oAuthScopes$2, _options$oAuthScopes2, _context13;
|
|
15
17
|
|
|
16
18
|
var claims = []; // Set the projectKey
|
|
17
19
|
|
|
@@ -31,16 +33,35 @@ var buildOidcScope = function buildOidcScope(options) {
|
|
|
31
33
|
var _context5;
|
|
32
34
|
|
|
33
35
|
return _concatInstanceProperty__default["default"](_context5 = "".concat(constants.OIDC_CLAIMS.MANAGE, ":")).call(_context5, scope);
|
|
34
|
-
}))); // Set
|
|
36
|
+
}))); // Set additional OAuth scopes
|
|
35
37
|
|
|
36
|
-
if (options.
|
|
38
|
+
if (options !== null && options !== void 0 && options.additionalOAuthScopes) {
|
|
37
39
|
var _context6;
|
|
38
40
|
|
|
39
|
-
|
|
41
|
+
_forEachInstanceProperty__default["default"](_context6 = options.additionalOAuthScopes).call(_context6, function (additionalOAuthScope) {
|
|
42
|
+
var _context7, _context8, _additionalOAuthScope, _context10, _additionalOAuthScope2;
|
|
43
|
+
|
|
44
|
+
claims.push.apply(claims, _concatInstanceProperty__default["default"](_context7 = _toConsumableArray(_mapInstanceProperty__default["default"](_context8 = (_additionalOAuthScope = additionalOAuthScope.view) !== null && _additionalOAuthScope !== void 0 ? _additionalOAuthScope : []).call(_context8, function (viewOAuthScope) {
|
|
45
|
+
var _context9;
|
|
46
|
+
|
|
47
|
+
return _concatInstanceProperty__default["default"](_context9 = "view/".concat(additionalOAuthScope.name, ":")).call(_context9, viewOAuthScope);
|
|
48
|
+
}))).call(_context7, _toConsumableArray(_mapInstanceProperty__default["default"](_context10 = (_additionalOAuthScope2 = additionalOAuthScope.manage) !== null && _additionalOAuthScope2 !== void 0 ? _additionalOAuthScope2 : []).call(_context10, function (manageOAuthScope) {
|
|
49
|
+
var _context11;
|
|
50
|
+
|
|
51
|
+
return _concatInstanceProperty__default["default"](_context11 = "manage/".concat(additionalOAuthScope.name, ":")).call(_context11, manageOAuthScope);
|
|
52
|
+
}))));
|
|
53
|
+
});
|
|
54
|
+
} // Set the teamId
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
if (options.teamId) {
|
|
58
|
+
var _context12;
|
|
59
|
+
|
|
60
|
+
claims.push(_concatInstanceProperty__default["default"](_context12 = "".concat(constants.OIDC_CLAIMS.TEAM_ID, ":")).call(_context12, options.teamId));
|
|
40
61
|
}
|
|
41
62
|
|
|
42
|
-
return _concatInstanceProperty__default["default"](
|
|
43
|
-
constants.OIDC_CLAIMS.OPEN_ID]).call(
|
|
63
|
+
return _concatInstanceProperty__default["default"](_context13 = [// This is required as per OIDC spec.
|
|
64
|
+
constants.OIDC_CLAIMS.OPEN_ID]).call(_context13, claims).join(' ');
|
|
44
65
|
};
|
|
45
66
|
|
|
46
67
|
exports.buildOidcScope = buildOidcScope;
|
|
@@ -3,15 +3,17 @@
|
|
|
3
3
|
var _toConsumableArray = require('@babel/runtime-corejs3/helpers/toConsumableArray');
|
|
4
4
|
var _concatInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/concat');
|
|
5
5
|
var _mapInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/map');
|
|
6
|
+
var _forEachInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/for-each');
|
|
6
7
|
var constants = require('./constants-22e3b93b.cjs.dev.js');
|
|
7
8
|
|
|
8
9
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
9
10
|
|
|
10
11
|
var _concatInstanceProperty__default = /*#__PURE__*/_interopDefault(_concatInstanceProperty);
|
|
11
12
|
var _mapInstanceProperty__default = /*#__PURE__*/_interopDefault(_mapInstanceProperty);
|
|
13
|
+
var _forEachInstanceProperty__default = /*#__PURE__*/_interopDefault(_forEachInstanceProperty);
|
|
12
14
|
|
|
13
15
|
var buildOidcScope = function buildOidcScope(options) {
|
|
14
|
-
var _context2, _options$oAuthScopes$, _options$oAuthScopes, _context4, _options$oAuthScopes$2, _options$oAuthScopes2,
|
|
16
|
+
var _context2, _options$oAuthScopes$, _options$oAuthScopes, _context4, _options$oAuthScopes$2, _options$oAuthScopes2, _context13;
|
|
15
17
|
|
|
16
18
|
var claims = []; // Set the projectKey
|
|
17
19
|
|
|
@@ -31,16 +33,35 @@ var buildOidcScope = function buildOidcScope(options) {
|
|
|
31
33
|
var _context5;
|
|
32
34
|
|
|
33
35
|
return _concatInstanceProperty__default["default"](_context5 = "".concat(constants.OIDC_CLAIMS.MANAGE, ":")).call(_context5, scope);
|
|
34
|
-
}))); // Set
|
|
36
|
+
}))); // Set additional OAuth scopes
|
|
35
37
|
|
|
36
|
-
if (options.
|
|
38
|
+
if (options !== null && options !== void 0 && options.additionalOAuthScopes) {
|
|
37
39
|
var _context6;
|
|
38
40
|
|
|
39
|
-
|
|
41
|
+
_forEachInstanceProperty__default["default"](_context6 = options.additionalOAuthScopes).call(_context6, function (additionalOAuthScope) {
|
|
42
|
+
var _context7, _context8, _additionalOAuthScope, _context10, _additionalOAuthScope2;
|
|
43
|
+
|
|
44
|
+
claims.push.apply(claims, _concatInstanceProperty__default["default"](_context7 = _toConsumableArray(_mapInstanceProperty__default["default"](_context8 = (_additionalOAuthScope = additionalOAuthScope.view) !== null && _additionalOAuthScope !== void 0 ? _additionalOAuthScope : []).call(_context8, function (viewOAuthScope) {
|
|
45
|
+
var _context9;
|
|
46
|
+
|
|
47
|
+
return _concatInstanceProperty__default["default"](_context9 = "view/".concat(additionalOAuthScope.name, ":")).call(_context9, viewOAuthScope);
|
|
48
|
+
}))).call(_context7, _toConsumableArray(_mapInstanceProperty__default["default"](_context10 = (_additionalOAuthScope2 = additionalOAuthScope.manage) !== null && _additionalOAuthScope2 !== void 0 ? _additionalOAuthScope2 : []).call(_context10, function (manageOAuthScope) {
|
|
49
|
+
var _context11;
|
|
50
|
+
|
|
51
|
+
return _concatInstanceProperty__default["default"](_context11 = "manage/".concat(additionalOAuthScope.name, ":")).call(_context11, manageOAuthScope);
|
|
52
|
+
}))));
|
|
53
|
+
});
|
|
54
|
+
} // Set the teamId
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
if (options.teamId) {
|
|
58
|
+
var _context12;
|
|
59
|
+
|
|
60
|
+
claims.push(_concatInstanceProperty__default["default"](_context12 = "".concat(constants.OIDC_CLAIMS.TEAM_ID, ":")).call(_context12, options.teamId));
|
|
40
61
|
}
|
|
41
62
|
|
|
42
|
-
return _concatInstanceProperty__default["default"](
|
|
43
|
-
constants.OIDC_CLAIMS.OPEN_ID]).call(
|
|
63
|
+
return _concatInstanceProperty__default["default"](_context13 = [// This is required as per OIDC spec.
|
|
64
|
+
constants.OIDC_CLAIMS.OPEN_ID]).call(_context13, claims).join(' ');
|
|
44
65
|
};
|
|
45
66
|
|
|
46
67
|
exports.buildOidcScope = buildOidcScope;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import _toConsumableArray from '@babel/runtime-corejs3/helpers/esm/toConsumableArray';
|
|
2
2
|
import _concatInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/concat';
|
|
3
3
|
import _mapInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/map';
|
|
4
|
+
import _forEachInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/for-each';
|
|
4
5
|
import { O as OIDC_CLAIMS } from './constants-84bfc123.esm.js';
|
|
5
6
|
|
|
6
7
|
var buildOidcScope = function buildOidcScope(options) {
|
|
7
|
-
var _context2, _options$oAuthScopes$, _options$oAuthScopes, _context4, _options$oAuthScopes$2, _options$oAuthScopes2,
|
|
8
|
+
var _context2, _options$oAuthScopes$, _options$oAuthScopes, _context4, _options$oAuthScopes$2, _options$oAuthScopes2, _context13;
|
|
8
9
|
|
|
9
10
|
var claims = []; // Set the projectKey
|
|
10
11
|
|
|
@@ -24,16 +25,35 @@ var buildOidcScope = function buildOidcScope(options) {
|
|
|
24
25
|
var _context5;
|
|
25
26
|
|
|
26
27
|
return _concatInstanceProperty(_context5 = "".concat(OIDC_CLAIMS.MANAGE, ":")).call(_context5, scope);
|
|
27
|
-
}))); // Set
|
|
28
|
+
}))); // Set additional OAuth scopes
|
|
28
29
|
|
|
29
|
-
if (options.
|
|
30
|
+
if (options !== null && options !== void 0 && options.additionalOAuthScopes) {
|
|
30
31
|
var _context6;
|
|
31
32
|
|
|
32
|
-
|
|
33
|
+
_forEachInstanceProperty(_context6 = options.additionalOAuthScopes).call(_context6, function (additionalOAuthScope) {
|
|
34
|
+
var _context7, _context8, _additionalOAuthScope, _context10, _additionalOAuthScope2;
|
|
35
|
+
|
|
36
|
+
claims.push.apply(claims, _concatInstanceProperty(_context7 = _toConsumableArray(_mapInstanceProperty(_context8 = (_additionalOAuthScope = additionalOAuthScope.view) !== null && _additionalOAuthScope !== void 0 ? _additionalOAuthScope : []).call(_context8, function (viewOAuthScope) {
|
|
37
|
+
var _context9;
|
|
38
|
+
|
|
39
|
+
return _concatInstanceProperty(_context9 = "view/".concat(additionalOAuthScope.name, ":")).call(_context9, viewOAuthScope);
|
|
40
|
+
}))).call(_context7, _toConsumableArray(_mapInstanceProperty(_context10 = (_additionalOAuthScope2 = additionalOAuthScope.manage) !== null && _additionalOAuthScope2 !== void 0 ? _additionalOAuthScope2 : []).call(_context10, function (manageOAuthScope) {
|
|
41
|
+
var _context11;
|
|
42
|
+
|
|
43
|
+
return _concatInstanceProperty(_context11 = "manage/".concat(additionalOAuthScope.name, ":")).call(_context11, manageOAuthScope);
|
|
44
|
+
}))));
|
|
45
|
+
});
|
|
46
|
+
} // Set the teamId
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
if (options.teamId) {
|
|
50
|
+
var _context12;
|
|
51
|
+
|
|
52
|
+
claims.push(_concatInstanceProperty(_context12 = "".concat(OIDC_CLAIMS.TEAM_ID, ":")).call(_context12, options.teamId));
|
|
33
53
|
}
|
|
34
54
|
|
|
35
|
-
return _concatInstanceProperty(
|
|
36
|
-
OIDC_CLAIMS.OPEN_ID]).call(
|
|
55
|
+
return _concatInstanceProperty(_context13 = [// This is required as per OIDC spec.
|
|
56
|
+
OIDC_CLAIMS.OPEN_ID]).call(_context13, claims).join(' ');
|
|
37
57
|
};
|
|
38
58
|
|
|
39
59
|
export { buildOidcScope as b };
|
|
@@ -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-6c775c3f.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-c4563bff.cjs.dev.js');
|
|
21
|
+
require('./application-entry-point-da8b6cf3.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');
|
|
@@ -81,7 +81,7 @@ require('perfume.js');
|
|
|
81
81
|
require('@babel/runtime-corejs3/core-js-stable/instance/reverse');
|
|
82
82
|
require('lodash/camelCase');
|
|
83
83
|
require('@apollo/client/react');
|
|
84
|
-
require('./oidc-
|
|
84
|
+
require('./oidc-3bed1dca.cjs.dev.js');
|
|
85
85
|
require('qss');
|
|
86
86
|
require('jwt-decode');
|
|
87
87
|
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-452b32ab.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-40c0d1f1.esm.js';
|
|
19
|
+
import './application-entry-point-e4a1d54d.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';
|
|
@@ -79,7 +79,7 @@ import 'perfume.js';
|
|
|
79
79
|
import '@babel/runtime-corejs3/core-js-stable/instance/reverse';
|
|
80
80
|
import 'lodash/camelCase';
|
|
81
81
|
import '@apollo/client/react';
|
|
82
|
-
import './oidc-
|
|
82
|
+
import './oidc-889aab26.esm.js';
|
|
83
83
|
import 'qss';
|
|
84
84
|
import 'jwt-decode';
|
|
85
85
|
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-f06cb1bc.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-04ba50dc.cjs.prod.js');
|
|
21
|
+
require('./application-entry-point-27b3556f.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');
|
|
@@ -81,7 +81,7 @@ require('perfume.js');
|
|
|
81
81
|
require('@babel/runtime-corejs3/core-js-stable/instance/reverse');
|
|
82
82
|
require('lodash/camelCase');
|
|
83
83
|
require('@apollo/client/react');
|
|
84
|
-
require('./oidc-
|
|
84
|
+
require('./oidc-2de78d6b.cjs.prod.js');
|
|
85
85
|
require('qss');
|
|
86
86
|
require('jwt-decode');
|
|
87
87
|
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-452b32ab.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-40c0d1f1.esm.js';
|
|
19
|
+
import './application-entry-point-e4a1d54d.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';
|
|
@@ -79,7 +79,7 @@ import 'perfume.js';
|
|
|
79
79
|
import '@babel/runtime-corejs3/core-js-stable/instance/reverse';
|
|
80
80
|
import 'lodash/camelCase';
|
|
81
81
|
import '@apollo/client/react';
|
|
82
|
-
import './oidc-
|
|
82
|
+
import './oidc-889aab26.esm.js';
|
|
83
83
|
import 'qss';
|
|
84
84
|
import 'jwt-decode';
|
|
85
85
|
import '@commercetools-frontend/assets/images/locked-diamond.svg';
|
package/dist/{project-not-found-4626022a.cjs.dev.js → project-not-found-a381bb68.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-6c775c3f.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-c4563bff.cjs.dev.js');
|
|
21
|
+
require('./application-entry-point-da8b6cf3.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');
|
|
@@ -81,7 +81,7 @@ require('perfume.js');
|
|
|
81
81
|
require('@babel/runtime-corejs3/core-js-stable/instance/reverse');
|
|
82
82
|
require('lodash/camelCase');
|
|
83
83
|
require('@apollo/client/react');
|
|
84
|
-
require('./oidc-
|
|
84
|
+
require('./oidc-3bed1dca.cjs.dev.js');
|
|
85
85
|
require('qss');
|
|
86
86
|
require('jwt-decode');
|
|
87
87
|
require('@commercetools-frontend/assets/images/locked-diamond.svg');
|
package/dist/{project-not-found-df11e4d3.cjs.prod.js → project-not-found-e0c29f6a.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-f06cb1bc.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-04ba50dc.cjs.prod.js');
|
|
21
|
+
require('./application-entry-point-27b3556f.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');
|
|
@@ -81,7 +81,7 @@ require('perfume.js');
|
|
|
81
81
|
require('@babel/runtime-corejs3/core-js-stable/instance/reverse');
|
|
82
82
|
require('lodash/camelCase');
|
|
83
83
|
require('@apollo/client/react');
|
|
84
|
-
require('./oidc-
|
|
84
|
+
require('./oidc-2de78d6b.cjs.prod.js');
|
|
85
85
|
require('qss');
|
|
86
86
|
require('jwt-decode');
|
|
87
87
|
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-6c775c3f.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-c4563bff.cjs.dev.js');
|
|
21
|
+
require('./application-entry-point-da8b6cf3.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');
|
|
@@ -81,7 +81,7 @@ require('perfume.js');
|
|
|
81
81
|
require('@babel/runtime-corejs3/core-js-stable/instance/reverse');
|
|
82
82
|
require('lodash/camelCase');
|
|
83
83
|
require('@apollo/client/react');
|
|
84
|
-
require('./oidc-
|
|
84
|
+
require('./oidc-3bed1dca.cjs.dev.js');
|
|
85
85
|
require('qss');
|
|
86
86
|
require('jwt-decode');
|
|
87
87
|
require('@commercetools-frontend/assets/images/locked-diamond.svg');
|
package/dist/{project-not-initialized-c18f6bc0.esm.js → project-not-initialized-c929fca1.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-452b32ab.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-40c0d1f1.esm.js';
|
|
19
|
+
import './application-entry-point-e4a1d54d.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';
|
|
@@ -79,7 +79,7 @@ import 'perfume.js';
|
|
|
79
79
|
import '@babel/runtime-corejs3/core-js-stable/instance/reverse';
|
|
80
80
|
import 'lodash/camelCase';
|
|
81
81
|
import '@apollo/client/react';
|
|
82
|
-
import './oidc-
|
|
82
|
+
import './oidc-889aab26.esm.js';
|
|
83
83
|
import 'qss';
|
|
84
84
|
import 'jwt-decode';
|
|
85
85
|
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-f06cb1bc.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-04ba50dc.cjs.prod.js');
|
|
21
|
+
require('./application-entry-point-27b3556f.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');
|
|
@@ -81,7 +81,7 @@ require('perfume.js');
|
|
|
81
81
|
require('@babel/runtime-corejs3/core-js-stable/instance/reverse');
|
|
82
82
|
require('lodash/camelCase');
|
|
83
83
|
require('@apollo/client/react');
|
|
84
|
-
require('./oidc-
|
|
84
|
+
require('./oidc-2de78d6b.cjs.prod.js');
|
|
85
85
|
require('qss');
|
|
86
86
|
require('jwt-decode');
|
|
87
87
|
require('@commercetools-frontend/assets/images/locked-diamond.svg');
|
package/dist/{project-suspended-1e56fb25.cjs.dev.js → project-suspended-55a512e2.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-6c775c3f.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-c4563bff.cjs.dev.js');
|
|
21
|
+
require('./application-entry-point-da8b6cf3.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');
|
|
@@ -81,7 +81,7 @@ require('perfume.js');
|
|
|
81
81
|
require('@babel/runtime-corejs3/core-js-stable/instance/reverse');
|
|
82
82
|
require('lodash/camelCase');
|
|
83
83
|
require('@apollo/client/react');
|
|
84
|
-
require('./oidc-
|
|
84
|
+
require('./oidc-3bed1dca.cjs.dev.js');
|
|
85
85
|
require('qss');
|
|
86
86
|
require('jwt-decode');
|
|
87
87
|
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-452b32ab.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-40c0d1f1.esm.js';
|
|
19
|
+
import './application-entry-point-e4a1d54d.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';
|
|
@@ -79,7 +79,7 @@ import 'perfume.js';
|
|
|
79
79
|
import '@babel/runtime-corejs3/core-js-stable/instance/reverse';
|
|
80
80
|
import 'lodash/camelCase';
|
|
81
81
|
import '@apollo/client/react';
|
|
82
|
-
import './oidc-
|
|
82
|
+
import './oidc-889aab26.esm.js';
|
|
83
83
|
import 'qss';
|
|
84
84
|
import 'jwt-decode';
|
|
85
85
|
import '@commercetools-frontend/assets/images/locked-diamond.svg';
|
package/dist/{project-suspended-48564659.cjs.prod.js → project-suspended-a59892f1.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-f06cb1bc.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-04ba50dc.cjs.prod.js');
|
|
21
|
+
require('./application-entry-point-27b3556f.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');
|
|
@@ -81,7 +81,7 @@ require('perfume.js');
|
|
|
81
81
|
require('@babel/runtime-corejs3/core-js-stable/instance/reverse');
|
|
82
82
|
require('lodash/camelCase');
|
|
83
83
|
require('@apollo/client/react');
|
|
84
|
-
require('./oidc-
|
|
84
|
+
require('./oidc-2de78d6b.cjs.prod.js');
|
|
85
85
|
require('qss');
|
|
86
86
|
require('jwt-decode');
|
|
87
87
|
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-da8b6cf3.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-c4563bff.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');
|
|
@@ -90,7 +90,7 @@ require('@commercetools-frontend/i18n');
|
|
|
90
90
|
require('perfume.js');
|
|
91
91
|
require('@babel/runtime-corejs3/core-js-stable/instance/reverse');
|
|
92
92
|
require('lodash/camelCase');
|
|
93
|
-
require('./oidc-
|
|
93
|
+
require('./oidc-3bed1dca.cjs.dev.js');
|
|
94
94
|
require('qss');
|
|
95
95
|
require('jwt-decode');
|
|
96
96
|
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-27b3556f.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-04ba50dc.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');
|
|
@@ -90,7 +90,7 @@ require('@commercetools-frontend/i18n');
|
|
|
90
90
|
require('perfume.js');
|
|
91
91
|
require('@babel/runtime-corejs3/core-js-stable/instance/reverse');
|
|
92
92
|
require('lodash/camelCase');
|
|
93
|
-
require('./oidc-
|
|
93
|
+
require('./oidc-2de78d6b.cjs.prod.js');
|
|
94
94
|
require('qss');
|
|
95
95
|
require('jwt-decode');
|
|
96
96
|
require('@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-e4a1d54d.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-40c0d1f1.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';
|
|
@@ -88,7 +88,7 @@ import '@commercetools-frontend/i18n';
|
|
|
88
88
|
import 'perfume.js';
|
|
89
89
|
import '@babel/runtime-corejs3/core-js-stable/instance/reverse';
|
|
90
90
|
import 'lodash/camelCase';
|
|
91
|
-
import './oidc-
|
|
91
|
+
import './oidc-889aab26.esm.js';
|
|
92
92
|
import 'qss';
|
|
93
93
|
import 'jwt-decode';
|
|
94
94
|
import '@commercetools-frontend/assets/images/locked-diamond.svg';
|
|
@@ -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-40c0d1f1.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)."; }
|
|
@@ -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-c4563bff.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-04ba50dc.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 }; }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/application-shell",
|
|
3
|
-
"version": "21.
|
|
3
|
+
"version": "21.21.0",
|
|
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": {
|
|
@@ -33,21 +33,21 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@babel/runtime": "^7.19.0",
|
|
35
35
|
"@babel/runtime-corejs3": "^7.19.0",
|
|
36
|
-
"@commercetools-frontend/actions-global": "21.
|
|
37
|
-
"@commercetools-frontend/application-components": "21.
|
|
38
|
-
"@commercetools-frontend/application-config": "21.
|
|
39
|
-
"@commercetools-frontend/application-shell-connectors": "21.
|
|
40
|
-
"@commercetools-frontend/assets": "21.
|
|
41
|
-
"@commercetools-frontend/browser-history": "21.
|
|
42
|
-
"@commercetools-frontend/constants": "21.
|
|
43
|
-
"@commercetools-frontend/i18n": "21.
|
|
44
|
-
"@commercetools-frontend/l10n": "21.
|
|
45
|
-
"@commercetools-frontend/notifications": "21.
|
|
46
|
-
"@commercetools-frontend/permissions": "21.
|
|
47
|
-
"@commercetools-frontend/react-notifications": "21.
|
|
48
|
-
"@commercetools-frontend/sdk": "21.
|
|
49
|
-
"@commercetools-frontend/sentry": "21.
|
|
50
|
-
"@commercetools-frontend/url-utils": "21.
|
|
36
|
+
"@commercetools-frontend/actions-global": "21.21.0",
|
|
37
|
+
"@commercetools-frontend/application-components": "21.21.0",
|
|
38
|
+
"@commercetools-frontend/application-config": "21.21.0",
|
|
39
|
+
"@commercetools-frontend/application-shell-connectors": "21.21.0",
|
|
40
|
+
"@commercetools-frontend/assets": "21.21.0",
|
|
41
|
+
"@commercetools-frontend/browser-history": "21.21.0",
|
|
42
|
+
"@commercetools-frontend/constants": "21.21.0",
|
|
43
|
+
"@commercetools-frontend/i18n": "21.21.0",
|
|
44
|
+
"@commercetools-frontend/l10n": "21.21.0",
|
|
45
|
+
"@commercetools-frontend/notifications": "21.21.0",
|
|
46
|
+
"@commercetools-frontend/permissions": "21.21.0",
|
|
47
|
+
"@commercetools-frontend/react-notifications": "21.21.0",
|
|
48
|
+
"@commercetools-frontend/sdk": "21.21.0",
|
|
49
|
+
"@commercetools-frontend/sentry": "21.21.0",
|
|
50
|
+
"@commercetools-frontend/url-utils": "21.21.0",
|
|
51
51
|
"@commercetools-uikit/accessible-hidden": "^15.6.0",
|
|
52
52
|
"@commercetools-uikit/avatar": "^15.6.0",
|
|
53
53
|
"@commercetools-uikit/card": "^15.6.0",
|
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var ssr = require('@commercetools-frontend/application-config/ssr');
|
|
6
|
-
var oidc = require('../../dist/oidc-
|
|
6
|
+
var oidc = require('../../dist/oidc-3bed1dca.cjs.dev.js');
|
|
7
7
|
require('@babel/runtime-corejs3/helpers/toConsumableArray');
|
|
8
8
|
require('@babel/runtime-corejs3/core-js-stable/instance/concat');
|
|
9
9
|
require('@babel/runtime-corejs3/core-js-stable/instance/map');
|
|
10
|
+
require('@babel/runtime-corejs3/core-js-stable/instance/for-each');
|
|
10
11
|
require('../../dist/constants-22e3b93b.cjs.dev.js');
|
|
11
12
|
|
|
12
13
|
|
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var ssr = require('@commercetools-frontend/application-config/ssr');
|
|
6
|
-
var oidc = require('../../dist/oidc-
|
|
6
|
+
var oidc = require('../../dist/oidc-2de78d6b.cjs.prod.js');
|
|
7
7
|
require('@babel/runtime-corejs3/helpers/toConsumableArray');
|
|
8
8
|
require('@babel/runtime-corejs3/core-js-stable/instance/concat');
|
|
9
9
|
require('@babel/runtime-corejs3/core-js-stable/instance/map');
|
|
10
|
+
require('@babel/runtime-corejs3/core-js-stable/instance/for-each');
|
|
10
11
|
require('../../dist/constants-d3b01ef6.cjs.prod.js');
|
|
11
12
|
|
|
12
13
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { entryPointUriPathToPermissionKeys, entryPointUriPathToResourceAccesses } from '@commercetools-frontend/application-config/ssr';
|
|
2
|
-
export { b as buildOidcScope } from '../../dist/oidc-
|
|
2
|
+
export { b as buildOidcScope } from '../../dist/oidc-889aab26.esm.js';
|
|
3
3
|
import '@babel/runtime-corejs3/helpers/toConsumableArray';
|
|
4
4
|
import '@babel/runtime-corejs3/core-js-stable/instance/concat';
|
|
5
5
|
import '@babel/runtime-corejs3/core-js-stable/instance/map';
|
|
6
|
+
import '@babel/runtime-corejs3/core-js-stable/instance/for-each';
|
|
6
7
|
import '../../dist/constants-84bfc123.esm.js';
|
|
@@ -36,7 +36,7 @@ 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
38
|
var ssr = require('@commercetools-frontend/application-config/ssr');
|
|
39
|
-
var applicationEntryPoint = require('../../dist/application-entry-point-
|
|
39
|
+
var applicationEntryPoint = require('../../dist/application-entry-point-da8b6cf3.cjs.dev.js');
|
|
40
40
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
41
41
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
42
42
|
require('@babel/runtime-corejs3/core-js-stable/object/entries');
|
|
@@ -36,7 +36,7 @@ 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
38
|
var ssr = require('@commercetools-frontend/application-config/ssr');
|
|
39
|
-
var applicationEntryPoint = require('../../dist/application-entry-point-
|
|
39
|
+
var applicationEntryPoint = require('../../dist/application-entry-point-27b3556f.cjs.prod.js');
|
|
40
40
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
41
41
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
42
42
|
require('@babel/runtime-corejs3/core-js-stable/object/entries');
|
|
@@ -33,7 +33,7 @@ import { NotificationProviderForCustomComponent, NotificationsList } from '@comm
|
|
|
33
33
|
import { DOMAINS } from '@commercetools-frontend/constants';
|
|
34
34
|
import { createTestMiddleware } from '@commercetools-frontend/sdk/test-utils';
|
|
35
35
|
import { entryPointUriPathToPermissionKeys } from '@commercetools-frontend/application-config/ssr';
|
|
36
|
-
import { A as ApplicationEntryPoint, z as createReduxStore, f as createApolloClient } from '../../dist/application-entry-point-
|
|
36
|
+
import { A as ApplicationEntryPoint, z as createReduxStore, f as createApolloClient } from '../../dist/application-entry-point-e4a1d54d.esm.js';
|
|
37
37
|
import { jsx, Fragment, jsxs } from '@emotion/react/jsx-runtime';
|
|
38
38
|
import '@babel/runtime-corejs3/helpers/slicedToArray';
|
|
39
39
|
import '@babel/runtime-corejs3/core-js-stable/object/entries';
|