@commercetools-frontend/application-shell 20.12.0 → 20.12.1
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-ae4c00f2.cjs.dev.js → application-entry-point-140f92f2.cjs.dev.js} +11 -5
- package/dist/{application-entry-point-a7199847.esm.js → application-entry-point-21cef8e6.esm.js} +11 -6
- package/dist/{application-entry-point-52f79266.cjs.prod.js → application-entry-point-aa870890.cjs.prod.js} +11 -5
- 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/apollo-links/utils.d.ts +1 -1
- package/dist/declarations/src/components/application-shell/helpers.d.ts +1 -0
- package/dist/declarations/src/hooks/use-is-served-by-proxy/index.d.ts +1 -0
- package/dist/declarations/src/hooks/use-is-served-by-proxy/use-is-served-by-proxy.d.ts +2 -0
- package/dist/{index-b2a644f6.cjs.prod.js → index-473958c5.cjs.prod.js} +59 -15
- package/dist/{index-fd0e0765.cjs.dev.js → index-91dc2ebb.cjs.dev.js} +60 -16
- package/dist/{index-1d2a788a.esm.js → index-eebc40b6.esm.js} +60 -16
- package/dist/{project-expired-b312aef3.esm.js → project-expired-9d8377ce.esm.js} +3 -3
- package/dist/{project-expired-6f5d474a.cjs.prod.js → project-expired-a0163148.cjs.prod.js} +3 -3
- package/dist/{project-expired-8a630330.cjs.dev.js → project-expired-d0c9a419.cjs.dev.js} +3 -3
- package/dist/{project-not-found-7bdc583e.cjs.dev.js → project-not-found-4f1e5015.cjs.dev.js} +3 -3
- package/dist/{project-not-found-19312707.cjs.prod.js → project-not-found-6bdfc28d.cjs.prod.js} +3 -3
- package/dist/{project-not-found-1c1a349f.esm.js → project-not-found-a48ca67b.esm.js} +3 -3
- package/dist/{project-not-initialized-8179abd1.esm.js → project-not-initialized-746e3f1c.esm.js} +3 -3
- package/dist/{project-not-initialized-2f2ee69f.cjs.dev.js → project-not-initialized-84372c36.cjs.dev.js} +3 -3
- package/dist/{project-not-initialized-10a1ce69.cjs.prod.js → project-not-initialized-e07d2b6b.cjs.prod.js} +3 -3
- package/dist/{project-suspended-da1d5c10.cjs.prod.js → project-suspended-08625b77.cjs.prod.js} +3 -3
- package/dist/{project-suspended-3e5b8d4f.esm.js → project-suspended-1a678884.esm.js} +3 -3
- package/dist/{project-suspended-f541ad12.cjs.dev.js → project-suspended-bee672c3.cjs.dev.js} +3 -3
- package/dist/{quick-access-592bdd5b.cjs.prod.js → quick-access-0a31b56f.cjs.prod.js} +2 -2
- package/dist/{quick-access-8e4582e8.cjs.dev.js → quick-access-a50256b3.cjs.dev.js} +2 -2
- package/dist/{quick-access-52ee94fa.esm.js → quick-access-de902fa0.esm.js} +2 -2
- package/dist/{service-page-project-switcher-283ce683.esm.js → service-page-project-switcher-454e6146.esm.js} +1 -1
- package/dist/{service-page-project-switcher-8ccd2f3c.cjs.dev.js → service-page-project-switcher-ab78eb6d.cjs.dev.js} +1 -1
- package/dist/{service-page-project-switcher-c5ba651f.cjs.prod.js → service-page-project-switcher-bf6bb20a.cjs.prod.js} +1 -1
- package/package.json +33 -33
- 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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as STORAGE_KEYS, g as getMcApiUrl, l as logger, O as OIDC_CLAIMS, 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, C as CONTAINERS, j as SUSPENSION_REASONS, A as ApplicationEntryPoint, k as setSessionScope, m as OIDC_RESPONSE_TYPES, n as setSessionState, o as clearSession, p as selectProjectKeyFromUrl, q as RequestsInFlightLoader, t as RouteCatchAll } from './application-entry-point-
|
|
1
|
+
import { S as STORAGE_KEYS, g as getMcApiUrl, l as logger, O as OIDC_CLAIMS, 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, C as CONTAINERS, u as useIsServedByProxy, j as SUSPENSION_REASONS, A as ApplicationEntryPoint, k as setSessionScope, m as OIDC_RESPONSE_TYPES, n as setSessionState, o as clearSession, p as selectProjectKeyFromUrl, q as RequestsInFlightLoader, t as RouteCatchAll } from './application-entry-point-21cef8e6.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';
|
|
@@ -2473,27 +2473,25 @@ LocaleSwitcher.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2473
2473
|
} : {};
|
|
2474
2474
|
|
|
2475
2475
|
var ProjectNotFound = /*#__PURE__*/lazy(function () {
|
|
2476
|
-
return import('./project-not-found-
|
|
2476
|
+
return import('./project-not-found-a48ca67b.esm.js'
|
|
2477
2477
|
/* webpackChunkName: "project-not-found" */
|
|
2478
2478
|
);
|
|
2479
2479
|
});
|
|
2480
2480
|
|
|
2481
2481
|
var ProjectExpired = /*#__PURE__*/lazy(function () {
|
|
2482
|
-
return import('./project-expired-
|
|
2482
|
+
return import('./project-expired-9d8377ce.esm.js'
|
|
2483
2483
|
/* webpackChunkName: "project-expired" */
|
|
2484
2484
|
);
|
|
2485
2485
|
});
|
|
2486
2486
|
|
|
2487
2487
|
var ProjectNotInitialized = /*#__PURE__*/lazy(function () {
|
|
2488
|
-
return import('./project-not-initialized-
|
|
2488
|
+
return import('./project-not-initialized-746e3f1c.esm.js'
|
|
2489
2489
|
/* webpackChunkName: "project-not-initialized" */
|
|
2490
2490
|
);
|
|
2491
2491
|
});
|
|
2492
2492
|
|
|
2493
2493
|
var RedirectToProjectCreate = function RedirectToProjectCreate() {
|
|
2494
|
-
var servedByProxy =
|
|
2495
|
-
return context.environment.servedByProxy;
|
|
2496
|
-
});
|
|
2494
|
+
var servedByProxy = useIsServedByProxy();
|
|
2497
2495
|
/**
|
|
2498
2496
|
* NOTE:
|
|
2499
2497
|
* This looks a bit unusual: redirecting in render.
|
|
@@ -2511,7 +2509,7 @@ var RedirectToProjectCreate = function RedirectToProjectCreate() {
|
|
|
2511
2509
|
}
|
|
2512
2510
|
|
|
2513
2511
|
return jsx("div", {
|
|
2514
|
-
css: /*#__PURE__*/css("align-self:center;margin-top:", customProperties.spacingXl, ";max-width:", customProperties.constraint10, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:RedirectToProjectCreate;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
2512
|
+
css: /*#__PURE__*/css("align-self:center;margin-top:", customProperties.spacingXl, ";max-width:", customProperties.constraint10, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:RedirectToProjectCreate;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJlZGlyZWN0LXRvLXByb2plY3QtY3JlYXRlLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUE2QmMiLCJmaWxlIjoicmVkaXJlY3QtdG8tcHJvamVjdC1jcmVhdGUudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IFNwYWNpbmdzIGZyb20gJ0Bjb21tZXJjZXRvb2xzLXVpa2l0L3NwYWNpbmdzJztcbmltcG9ydCB7IENvbnRlbnROb3RpZmljYXRpb24gfSBmcm9tICdAY29tbWVyY2V0b29scy11aWtpdC9ub3RpZmljYXRpb25zJztcbmltcG9ydCBUZXh0IGZyb20gJ0Bjb21tZXJjZXRvb2xzLXVpa2l0L3RleHQnO1xuaW1wb3J0IENhcmQgZnJvbSAnQGNvbW1lcmNldG9vbHMtdWlraXQvY2FyZCc7XG5pbXBvcnQgeyBjdXN0b21Qcm9wZXJ0aWVzIH0gZnJvbSAnQGNvbW1lcmNldG9vbHMtdWlraXQvZGVzaWduLXN5c3RlbSc7XG5pbXBvcnQgdXNlSXNTZXJ2ZWRCeVByb3h5IGZyb20gJy4uLy4uL2hvb2tzL3VzZS1pcy1zZXJ2ZWQtYnktcHJveHknO1xuaW1wb3J0IHsgbG9jYXRpb24gfSBmcm9tICcuLi8uLi91dGlscy9sb2NhdGlvbic7XG5cbmV4cG9ydCBjb25zdCBSZWRpcmVjdFRvUHJvamVjdENyZWF0ZSA9ICgpID0+IHtcbiAgY29uc3Qgc2VydmVkQnlQcm94eSA9IHVzZUlzU2VydmVkQnlQcm94eSgpO1xuICAvKipcbiAgICogTk9URTpcbiAgICogICBUaGlzIGxvb2tzIGEgYml0IHVudXN1YWw6IHJlZGlyZWN0aW5nIGluIHJlbmRlci5cbiAgICogICBIb3dldmVyLCB3aGVuIGRvaW5nIGl0IGluIGBjRE1gIHdlIGxvb3NlIHRpbWVcbiAgICogICB3ZSB3ZSBhY3R1YWxseSBkbyBuZXZlciB3YW50IHRvIHJlbmRlciBhbnl0aGluZyBvclxuICAgKiAgIGludGVyYWN0IHdpdGggYW55dGhpbmcgcmVuZGVyZWQuIEluc3RlYWQgd2Ugc2hvdWxkIHNob3VsZFxuICAgKiAgIHJlZGlyZWN0IGF3YXkuIFVzaW5nIGEgY29uc3RydWN0b3Igd291bGQgcmVzdWx0IGluIHRoZSBzYW1lLlxuICAgKiAgIEluIHR1cm4gdGhpcyBpbnRlbmRzIHdvIG1ha2UgZXhwbGljaXQgdGhhdCB3ZSBuZXZlciB3YW50IHRvXG4gICAqICAgcmVuZGVyIGFuZCBpbnN0ZWFkIGp1c3QgbmF2aWdhdGUgYXdheS5cbiAgICovXG4gIGlmIChzZXJ2ZWRCeVByb3h5ID09PSB0cnVlKSB7XG4gICAgbG9jYXRpb24ucmVwbGFjZSgnL2FjY291bnQvcHJvamVjdHMvbmV3Jyk7XG5cbiAgICByZXR1cm4gbnVsbDtcbiAgfVxuXG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgY3NzPXtjc3NgXG4gICAgICAgIGFsaWduLXNlbGY6IGNlbnRlcjtcbiAgICAgICAgbWFyZ2luLXRvcDogJHtjdXN0b21Qcm9wZXJ0aWVzLnNwYWNpbmdYbH07XG4gICAgICAgIG1heC13aWR0aDogJHtjdXN0b21Qcm9wZXJ0aWVzLmNvbnN0cmFpbnQxMH07XG4gICAgICBgfVxuICAgID5cbiAgICAgIDxDYXJkIHR5cGU9XCJmbGF0XCIgdGhlbWU9XCJkYXJrXCI+XG4gICAgICAgIDxTcGFjaW5ncy5TdGFjaz5cbiAgICAgICAgICA8VGV4dC5IZWFkbGluZSBhcz1cImgxXCI+UGxlYXNlIGNyZWF0ZSBhIHByb2plY3QhPC9UZXh0LkhlYWRsaW5lPlxuICAgICAgICAgIDxDb250ZW50Tm90aWZpY2F0aW9uIHR5cGU9XCJpbmZvXCI+XG4gICAgICAgICAgICBZb3UgYXJlIHJ1bm5pbmcgaW4gZGV2ZWxvcG1lbnQgbW9kZVxuICAgICAgICAgIDwvQ29udGVudE5vdGlmaWNhdGlvbj5cbiAgICAgICAgICA8VGV4dC5Cb2R5PlxuICAgICAgICAgICAgVGhlIEN1c3RvbSBBcHBsaWNhdGlvbiBpcyBub3QgcnVubmluZyBiZWhpbmQgdGhlIE1lcmNoYW50IENlbnRlclxuICAgICAgICAgICAgUHJveHkuIFRoZXJlZm9yZSwgeW91IGFyZSBub3QgYmVpbmcgcmVkaXJlY3RlZCB0byB0aGUgYWNjb3VudFxuICAgICAgICAgICAgc2VjdGlvbiB0byBjcmVhdGUgYSBuZXcgcHJvamVjdC5cbiAgICAgICAgICA8L1RleHQuQm9keT5cbiAgICAgICAgICA8VGV4dC5Cb2R5PlxuICAgICAgICAgICAgSWYgeW91IGRvIG5lZWQgdG8gY3JlYXRlIGEgcHJvamVjdCwgd2UgcmVjb21tZW5kIHRvIGdvIHRvIHRoZVxuICAgICAgICAgICAgTWVyY2hhbnQgQ2VudGVyIHByb2R1Y3Rpb24gVVJMIGFuZCBjcmVhdGUgYSBwcm9qZWN0IHRoZXJlLiBBZnRlclxuICAgICAgICAgICAgdGhhdCwgeW91IGNhbiBhY2Nlc3MgeW91ciBuZXcgcHJvamVjdCBmcm9tIHlvdXIgbG9jYWwgZW52aXJvbm1lbnQuXG4gICAgICAgICAgPC9UZXh0LkJvZHk+XG4gICAgICAgIDwvU3BhY2luZ3MuU3RhY2s+XG4gICAgICA8L0NhcmQ+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuUmVkaXJlY3RUb1Byb2plY3RDcmVhdGUuZGlzcGxheU5hbWUgPSAnUmVkaXJlY3RUb1Byb2plY3RDcmVhdGUnO1xuXG5leHBvcnQgZGVmYXVsdCBSZWRpcmVjdFRvUHJvamVjdENyZWF0ZTtcbiJdfQ== */"),
|
|
2515
2513
|
children: jsx(Card, {
|
|
2516
2514
|
type: "flat",
|
|
2517
2515
|
theme: "dark",
|
|
@@ -2534,7 +2532,7 @@ var RedirectToProjectCreate = function RedirectToProjectCreate() {
|
|
|
2534
2532
|
RedirectToProjectCreate.displayName = 'RedirectToProjectCreate';
|
|
2535
2533
|
|
|
2536
2534
|
var ProjectSuspended = /*#__PURE__*/lazy(function () {
|
|
2537
|
-
return import('./project-suspended-
|
|
2535
|
+
return import('./project-suspended-1a678884.esm.js'
|
|
2538
2536
|
/* webpackChunkName: "project-suspended" */
|
|
2539
2537
|
);
|
|
2540
2538
|
});
|
|
@@ -2693,9 +2691,7 @@ var getDefaultedFeatureToggles = function getDefaultedFeatureToggles(allFeatureT
|
|
|
2693
2691
|
};
|
|
2694
2692
|
|
|
2695
2693
|
var useAllMenuFeatureToggles = function useAllMenuFeatureToggles() {
|
|
2696
|
-
var servedByProxy =
|
|
2697
|
-
return applicationContext.environment.servedByProxy;
|
|
2698
|
-
});
|
|
2694
|
+
var servedByProxy = useIsServedByProxy();
|
|
2699
2695
|
var mcProxyApiUrl = useApplicationContext(function (applicationContext) {
|
|
2700
2696
|
return applicationContext.environment.mcProxyApiUrl;
|
|
2701
2697
|
});
|
|
@@ -3850,7 +3846,7 @@ var pimIndexerStates = {
|
|
|
3850
3846
|
};
|
|
3851
3847
|
|
|
3852
3848
|
var QuickAccess = /*#__PURE__*/lazy(function () {
|
|
3853
|
-
return import('./quick-access-
|
|
3849
|
+
return import('./quick-access-de902fa0.esm.js'
|
|
3854
3850
|
/* webpackChunkName: "quick-access" */
|
|
3855
3851
|
);
|
|
3856
3852
|
});
|
|
@@ -3949,6 +3945,51 @@ QuickAccessTrigger.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
3949
3945
|
} : {};
|
|
3950
3946
|
QuickAccessTrigger.displayName = 'QuickAccessTrigger';
|
|
3951
3947
|
|
|
3948
|
+
/**
|
|
3949
|
+
* Get the "real" Merchant Center frontend URL to redirect the user
|
|
3950
|
+
* to the login page.
|
|
3951
|
+
* We use an explicit full URL so that if a user tries to access the
|
|
3952
|
+
* Custom Applications directly to its domain, it will always redirect
|
|
3953
|
+
* the user to the login page.
|
|
3954
|
+
*
|
|
3955
|
+
* To determine the "real" URL, we need to check if the current location
|
|
3956
|
+
* is a Merchant Center domain, or if it's a custom user domain.
|
|
3957
|
+
* For the latter, we can derive the URL from the Merchant Center API URL.
|
|
3958
|
+
*
|
|
3959
|
+
* A Merchant Center hostname is composed by the following parts:
|
|
3960
|
+
* https://<mc-prefix>.<region>.<provider>.<ct-domain>.<tld>
|
|
3961
|
+
* We neeed to check if at least the first 4 parts (right-to-left) are
|
|
3962
|
+
* the same.
|
|
3963
|
+
*/
|
|
3964
|
+
function getMcOrigin(mcApiUrl) {
|
|
3965
|
+
var _context, _context2;
|
|
3966
|
+
|
|
3967
|
+
var actualWindow = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : window;
|
|
3968
|
+
var mcApiUrlObject = new _URL(mcApiUrl);
|
|
3969
|
+
|
|
3970
|
+
var _mcApiUrlObject$hostn = _reverseInstanceProperty(_context = mcApiUrlObject.hostname.split('.')).call(_context),
|
|
3971
|
+
_mcApiUrlObject$hostn2 = _slicedToArray(_mcApiUrlObject$hostn, 4),
|
|
3972
|
+
tldMcApi = _mcApiUrlObject$hostn2[0],
|
|
3973
|
+
ctDomainMcApi = _mcApiUrlObject$hostn2[1],
|
|
3974
|
+
providerMcApi = _mcApiUrlObject$hostn2[2],
|
|
3975
|
+
regionMcApi = _mcApiUrlObject$hostn2[3];
|
|
3976
|
+
|
|
3977
|
+
var _actualWindow$locatio = _reverseInstanceProperty(_context2 = actualWindow.location.hostname.split('.')).call(_context2),
|
|
3978
|
+
_actualWindow$locatio2 = _slicedToArray(_actualWindow$locatio, 4),
|
|
3979
|
+
tldMc = _actualWindow$locatio2[0],
|
|
3980
|
+
ctDomainMc = _actualWindow$locatio2[1],
|
|
3981
|
+
providerMc = _actualWindow$locatio2[2],
|
|
3982
|
+
regionMc = _actualWindow$locatio2[3];
|
|
3983
|
+
|
|
3984
|
+
var isMatching = tldMcApi === tldMc && ctDomainMcApi === ctDomainMc && providerMcApi === providerMc && regionMcApi === regionMc;
|
|
3985
|
+
|
|
3986
|
+
if (isMatching) {
|
|
3987
|
+
return actualWindow.location.origin;
|
|
3988
|
+
}
|
|
3989
|
+
|
|
3990
|
+
return mcApiUrlObject.origin.replace('mc-api', 'mc');
|
|
3991
|
+
}
|
|
3992
|
+
|
|
3952
3993
|
var generateAndCacheNonceWithState = function generateAndCacheNonceWithState(state) {
|
|
3953
3994
|
var nonce = v4(); // We store additional information within the given `nonce`
|
|
3954
3995
|
// to then retrieve it later when the IdP redirects back
|
|
@@ -3965,6 +4006,7 @@ var RedirectToLogin = function RedirectToLogin() {
|
|
|
3965
4006
|
var _window$app$__DEVELOP, _window$app$__DEVELOP2;
|
|
3966
4007
|
|
|
3967
4008
|
var location = useLocation();
|
|
4009
|
+
var servedByProxy = useIsServedByProxy();
|
|
3968
4010
|
|
|
3969
4011
|
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) {
|
|
3970
4012
|
var _window$app$__DEVELOP3, _window$app$__DEVELOP4, _window$app$__DEVELOP5, _window$app$__DEVELOP6, _window$app$__DEVELOP7, _window$app$__DEVELOP8;
|
|
@@ -4015,8 +4057,10 @@ var RedirectToLogin = function RedirectToLogin() {
|
|
|
4015
4057
|
});
|
|
4016
4058
|
}
|
|
4017
4059
|
|
|
4060
|
+
var mcOrigin = servedByProxy ? getMcOrigin(window.app.mcApiUrl) : undefined;
|
|
4018
4061
|
return jsx(Redirector, {
|
|
4019
4062
|
to: "login",
|
|
4063
|
+
origin: mcOrigin,
|
|
4020
4064
|
location: location,
|
|
4021
4065
|
queryParams: {
|
|
4022
4066
|
reason: LOGOUT_REASONS.UNAUTHORIZED,
|
|
@@ -4037,9 +4081,7 @@ var RedirectToLogout = function RedirectToLogout(props) {
|
|
|
4037
4081
|
var _window$app$__DEVELOP, _window$app$__DEVELOP2, _props$reason;
|
|
4038
4082
|
|
|
4039
4083
|
var location = useLocation();
|
|
4040
|
-
var servedByProxy =
|
|
4041
|
-
return context.environment.servedByProxy;
|
|
4042
|
-
});
|
|
4084
|
+
var servedByProxy = useIsServedByProxy();
|
|
4043
4085
|
|
|
4044
4086
|
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) {
|
|
4045
4087
|
// Remove the `sessionToken` from storage, so that the AppShell can initiate
|
|
@@ -4048,8 +4090,10 @@ var RedirectToLogout = function RedirectToLogout(props) {
|
|
|
4048
4090
|
return jsx(RedirectToLogin, {});
|
|
4049
4091
|
}
|
|
4050
4092
|
|
|
4093
|
+
var mcOrigin = servedByProxy ? getMcOrigin(window.app.mcApiUrl) : undefined;
|
|
4051
4094
|
return jsx(Redirector, {
|
|
4052
4095
|
to: "logout",
|
|
4096
|
+
origin: mcOrigin,
|
|
4053
4097
|
location: location,
|
|
4054
4098
|
queryParams: _objectSpread$1({
|
|
4055
4099
|
reason: (_props$reason = props.reason) !== null && _props$reason !== void 0 ? _props$reason : LOGOUT_REASONS.USER
|
|
@@ -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-454e6146.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-eebc40b6.esm.js';
|
|
19
|
+
import './application-entry-point-21cef8e6.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';
|
|
@@ -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-bf6bb20a.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-473958c5.cjs.prod.js');
|
|
21
|
+
require('./application-entry-point-aa870890.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');
|
|
@@ -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-ab78eb6d.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-91dc2ebb.cjs.dev.js');
|
|
21
|
+
require('./application-entry-point-140f92f2.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');
|
package/dist/{project-not-found-7bdc583e.cjs.dev.js → project-not-found-4f1e5015.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-ab78eb6d.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-91dc2ebb.cjs.dev.js');
|
|
21
|
+
require('./application-entry-point-140f92f2.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');
|
package/dist/{project-not-found-19312707.cjs.prod.js → project-not-found-6bdfc28d.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-bf6bb20a.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-473958c5.cjs.prod.js');
|
|
21
|
+
require('./application-entry-point-aa870890.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');
|
|
@@ -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-454e6146.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-eebc40b6.esm.js';
|
|
19
|
+
import './application-entry-point-21cef8e6.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';
|
package/dist/{project-not-initialized-8179abd1.esm.js → project-not-initialized-746e3f1c.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-454e6146.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-eebc40b6.esm.js';
|
|
19
|
+
import './application-entry-point-21cef8e6.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';
|
|
@@ -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-ab78eb6d.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-91dc2ebb.cjs.dev.js');
|
|
21
|
+
require('./application-entry-point-140f92f2.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');
|
|
@@ -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-bf6bb20a.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-473958c5.cjs.prod.js');
|
|
21
|
+
require('./application-entry-point-aa870890.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');
|
package/dist/{project-suspended-da1d5c10.cjs.prod.js → project-suspended-08625b77.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-bf6bb20a.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-473958c5.cjs.prod.js');
|
|
21
|
+
require('./application-entry-point-aa870890.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');
|
|
@@ -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-454e6146.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-eebc40b6.esm.js';
|
|
19
|
+
import './application-entry-point-21cef8e6.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';
|
package/dist/{project-suspended-f541ad12.cjs.dev.js → project-suspended-bee672c3.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-ab78eb6d.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-91dc2ebb.cjs.dev.js');
|
|
21
|
+
require('./application-entry-point-140f92f2.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');
|
|
@@ -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-aa870890.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-473958c5.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');
|
|
@@ -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-140f92f2.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-91dc2ebb.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');
|
|
@@ -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-21cef8e6.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-eebc40b6.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';
|
|
@@ -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-eebc40b6.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-91dc2ebb.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-473958c5.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": "20.12.
|
|
3
|
+
"version": "20.12.1",
|
|
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": {
|
|
@@ -24,22 +24,22 @@
|
|
|
24
24
|
"compile-css-modules": "./scripts/compile-styles.js"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@babel/runtime": "7.
|
|
28
|
-
"@babel/runtime-corejs3": "7.
|
|
29
|
-
"@commercetools-frontend/actions-global": "20.12.
|
|
30
|
-
"@commercetools-frontend/application-components": "20.12.
|
|
31
|
-
"@commercetools-frontend/application-shell-connectors": "20.12.
|
|
32
|
-
"@commercetools-frontend/assets": "20.12.
|
|
33
|
-
"@commercetools-frontend/browser-history": "20.
|
|
34
|
-
"@commercetools-frontend/constants": "20.12.
|
|
35
|
-
"@commercetools-frontend/i18n": "20.12.
|
|
36
|
-
"@commercetools-frontend/l10n": "20.12.
|
|
37
|
-
"@commercetools-frontend/notifications": "20.
|
|
38
|
-
"@commercetools-frontend/permissions": "20.12.
|
|
39
|
-
"@commercetools-frontend/react-notifications": "20.12.
|
|
40
|
-
"@commercetools-frontend/sdk": "20.12.
|
|
41
|
-
"@commercetools-frontend/sentry": "20.12.
|
|
42
|
-
"@commercetools-frontend/url-utils": "20.
|
|
27
|
+
"@babel/runtime": "7.16.3",
|
|
28
|
+
"@babel/runtime-corejs3": "7.16.3",
|
|
29
|
+
"@commercetools-frontend/actions-global": "20.12.1",
|
|
30
|
+
"@commercetools-frontend/application-components": "20.12.1",
|
|
31
|
+
"@commercetools-frontend/application-shell-connectors": "20.12.1",
|
|
32
|
+
"@commercetools-frontend/assets": "20.12.1",
|
|
33
|
+
"@commercetools-frontend/browser-history": "20.12.1",
|
|
34
|
+
"@commercetools-frontend/constants": "20.12.1",
|
|
35
|
+
"@commercetools-frontend/i18n": "20.12.1",
|
|
36
|
+
"@commercetools-frontend/l10n": "20.12.1",
|
|
37
|
+
"@commercetools-frontend/notifications": "20.12.1",
|
|
38
|
+
"@commercetools-frontend/permissions": "20.12.1",
|
|
39
|
+
"@commercetools-frontend/react-notifications": "20.12.1",
|
|
40
|
+
"@commercetools-frontend/sdk": "20.12.1",
|
|
41
|
+
"@commercetools-frontend/sentry": "20.12.1",
|
|
42
|
+
"@commercetools-frontend/url-utils": "20.12.1",
|
|
43
43
|
"@commercetools-uikit/avatar": "^12.2.2",
|
|
44
44
|
"@commercetools-uikit/card": "^12.2.2",
|
|
45
45
|
"@commercetools-uikit/design-system": "^12.2.2",
|
|
@@ -51,13 +51,13 @@
|
|
|
51
51
|
"@commercetools-uikit/spacings": "^12.2.2",
|
|
52
52
|
"@commercetools-uikit/text": "^12.2.2",
|
|
53
53
|
"@commercetools/http-user-agent": "2.1.2",
|
|
54
|
-
"@emotion/react": "11.
|
|
55
|
-
"@emotion/styled": "11.
|
|
56
|
-
"@flopflip/combine-adapters": "0.0.
|
|
57
|
-
"@flopflip/http-adapter": "0.0.
|
|
58
|
-
"@flopflip/launchdarkly-adapter": "5.0.
|
|
59
|
-
"@flopflip/react-broadcast": "12.2.
|
|
60
|
-
"@flopflip/types": "4.1.
|
|
54
|
+
"@emotion/react": "11.7.0",
|
|
55
|
+
"@emotion/styled": "11.6.0",
|
|
56
|
+
"@flopflip/combine-adapters": "0.0.26",
|
|
57
|
+
"@flopflip/http-adapter": "0.0.16",
|
|
58
|
+
"@flopflip/launchdarkly-adapter": "5.0.20",
|
|
59
|
+
"@flopflip/react-broadcast": "12.2.11",
|
|
60
|
+
"@flopflip/types": "4.1.19",
|
|
61
61
|
"@types/classnames": "2.3.1",
|
|
62
62
|
"@types/common-tags": "^1.8.0",
|
|
63
63
|
"@types/history": "4.7.9",
|
|
@@ -70,14 +70,14 @@
|
|
|
70
70
|
"@types/react-router-dom": "^5.1.7",
|
|
71
71
|
"@types/react-select": "^4.0.14",
|
|
72
72
|
"@types/redux-logger": "^3.0.8",
|
|
73
|
-
"@types/uuid": "8.3.
|
|
73
|
+
"@types/uuid": "8.3.3",
|
|
74
74
|
"apollo-link-logger": "2.0.0",
|
|
75
75
|
"classnames": "^2.2.6",
|
|
76
|
-
"common-tags": "1.8.
|
|
76
|
+
"common-tags": "1.8.2",
|
|
77
77
|
"debounce-async": "0.0.2",
|
|
78
78
|
"downshift": "6.1.7",
|
|
79
79
|
"fuse.js": "6.4.6",
|
|
80
|
-
"graphql": "15.
|
|
80
|
+
"graphql": "15.8.0",
|
|
81
81
|
"history": "4.10.1",
|
|
82
82
|
"is-retina": "1.0.3",
|
|
83
83
|
"jwt-decode": "3.1.2",
|
|
@@ -91,22 +91,22 @@
|
|
|
91
91
|
"qss": "2.0.3",
|
|
92
92
|
"react-required-if": "1.0.3",
|
|
93
93
|
"redux-logger": "3.0.6",
|
|
94
|
-
"redux-thunk": "2.4.
|
|
95
|
-
"tiny-invariant": "1.
|
|
94
|
+
"redux-thunk": "2.4.1",
|
|
95
|
+
"tiny-invariant": "1.2.0",
|
|
96
96
|
"unfetch": "4.2.0",
|
|
97
97
|
"uuid": "8.3.2"
|
|
98
98
|
},
|
|
99
99
|
"devDependencies": {
|
|
100
|
-
"@apollo/client": "3.
|
|
100
|
+
"@apollo/client": "3.5.6",
|
|
101
101
|
"@testing-library/react": "12.1.2",
|
|
102
102
|
"@testing-library/react-hooks": "7.0.2",
|
|
103
|
-
"msw": "0.
|
|
103
|
+
"msw": "0.36.1",
|
|
104
104
|
"react": "17.0.2",
|
|
105
105
|
"react-dom": "17.0.2",
|
|
106
|
-
"react-intl": "5.
|
|
106
|
+
"react-intl": "5.23.0",
|
|
107
107
|
"react-redux": "7.2.6",
|
|
108
108
|
"react-router-dom": "5.3.0",
|
|
109
|
-
"redux": "4.1.
|
|
109
|
+
"redux": "4.1.2",
|
|
110
110
|
"wait-for-observables": "1.0.3"
|
|
111
111
|
},
|
|
112
112
|
"peerDependencies": {
|
|
@@ -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-140f92f2.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');
|