@commercetools-frontend/application-shell 20.9.4 → 20.10.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{application-entry-point-211fb17a.cjs.dev.js → application-entry-point-4b134bcb.cjs.dev.js} +4 -7
- package/dist/{application-entry-point-7b4ee9ee.cjs.prod.js → application-entry-point-83ea80e3.cjs.prod.js} +4 -7
- package/dist/{application-entry-point-5f0f015e.esm.js → application-entry-point-b7c5325e.esm.js} +4 -7
- package/dist/commercetools-frontend-application-shell.cjs.dev.js +2 -2
- package/dist/commercetools-frontend-application-shell.cjs.prod.js +2 -2
- package/dist/commercetools-frontend-application-shell.esm.js +2 -2
- package/dist/declarations/src/apollo-links/error-link.d.ts +2 -2
- package/dist/declarations/src/apollo-links/header-link.d.ts +3 -3
- package/dist/declarations/src/apollo-links/index.d.ts +4 -4
- package/dist/declarations/src/apollo-links/token-retry-link.d.ts +3 -3
- package/dist/declarations/src/apollo-links/utils.d.ts +10 -10
- package/dist/declarations/src/components/app-bar/app-bar.d.ts +12 -12
- package/dist/declarations/src/components/app-bar/index.d.ts +1 -1
- package/dist/declarations/src/components/application-entry-point/application-entry-point.d.ts +9 -9
- package/dist/declarations/src/components/application-entry-point/index.d.ts +1 -1
- package/dist/declarations/src/components/application-loader/application-loader.d.ts +8 -8
- package/dist/declarations/src/components/application-loader/index.d.ts +1 -1
- package/dist/declarations/src/components/application-shell/application-shell.d.ts +39 -39
- package/dist/declarations/src/components/application-shell/index.d.ts +1 -1
- package/dist/declarations/src/components/application-shell/redirect-to-login.d.ts +5 -5
- package/dist/declarations/src/components/application-shell/redirect-to-logout.d.ts +6 -6
- package/dist/declarations/src/components/application-shell-provider/application-shell-provider.d.ts +22 -22
- package/dist/declarations/src/components/application-shell-provider/global-styles.d.ts +2 -2
- package/dist/declarations/src/components/application-shell-provider/index.d.ts +1 -1
- package/dist/declarations/src/components/application-shell-provider/use-coerced-environment-values.d.ts +28 -28
- package/dist/declarations/src/components/application-shell-provider/utils.d.ts +1 -1
- package/dist/declarations/src/components/authenticated/am-i-logged-in.d.ts +13 -13
- package/dist/declarations/src/components/authenticated/authenticated.d.ts +16 -16
- package/dist/declarations/src/components/authenticated/has-cached-authentication-state.d.ts +2 -2
- package/dist/declarations/src/components/authenticated/helpers.d.ts +8 -8
- package/dist/declarations/src/components/authenticated/index.d.ts +1 -1
- package/dist/declarations/src/components/authenticated/oidc-callback-error-page.d.ts +12 -12
- package/dist/declarations/src/components/authenticated/oidc-callback.d.ts +11 -11
- package/dist/declarations/src/components/authenticated/types.d.ts +6 -6
- package/dist/declarations/src/components/back-to-project/back-to-project.d.ts +8 -8
- package/dist/declarations/src/components/back-to-project/index.d.ts +1 -1
- package/dist/declarations/src/components/back-to-project/messages.d.ts +7 -7
- package/dist/declarations/src/components/configure-intl-provider/configure-intl-provider.d.ts +12 -12
- package/dist/declarations/src/components/configure-intl-provider/index.d.ts +1 -1
- package/dist/declarations/src/components/error-apologizer/error-apologizer.d.ts +5 -5
- package/dist/declarations/src/components/error-apologizer/index.d.ts +1 -1
- package/dist/declarations/src/components/error-apologizer/messages.d.ts +11 -11
- package/dist/declarations/src/components/error-boundary/error-boundary.d.ts +20 -20
- package/dist/declarations/src/components/error-boundary/index.d.ts +1 -1
- package/dist/declarations/src/components/fetch-project/fetch-project.d.ts +18 -18
- package/dist/declarations/src/components/fetch-project/index.d.ts +1 -1
- package/dist/declarations/src/components/fetch-user/fetch-user.d.ts +16 -16
- package/dist/declarations/src/components/fetch-user/index.d.ts +1 -1
- package/dist/declarations/src/components/gtm-application-tracker/gtm-application-tracker.d.ts +10 -10
- package/dist/declarations/src/components/gtm-application-tracker/index.d.ts +1 -1
- package/dist/declarations/src/components/gtm-booter/gtm-booter.d.ts +20 -20
- package/dist/declarations/src/components/gtm-booter/index.d.ts +2 -2
- package/dist/declarations/src/components/gtm-user-logout-tracker/gtm-user-logout-tracker.d.ts +5 -5
- package/dist/declarations/src/components/gtm-user-logout-tracker/index.d.ts +1 -1
- package/dist/declarations/src/components/gtm-user-tracker/gtm-user-tracker.d.ts +10 -10
- package/dist/declarations/src/components/gtm-user-tracker/index.d.ts +1 -1
- package/dist/declarations/src/components/inject-reducers/index.d.ts +1 -1
- package/dist/declarations/src/components/inject-reducers/inject-reducers.d.ts +14 -14
- package/dist/declarations/src/components/loading-placeholder/index.d.ts +1 -1
- package/dist/declarations/src/components/loading-placeholder/loading-placeholder.d.ts +10 -10
- package/dist/declarations/src/components/locale-switcher/index.d.ts +1 -1
- package/dist/declarations/src/components/locale-switcher/locale-switcher.d.ts +23 -23
- package/dist/declarations/src/components/navbar/index.d.ts +1 -1
- package/dist/declarations/src/components/navbar/messages.d.ts +7 -7
- package/dist/declarations/src/components/navbar/navbar.d.ts +29 -29
- package/dist/declarations/src/components/navbar/non-nullable.d.ts +1 -1
- package/dist/declarations/src/components/navbar/use-loading-menu-layout-effect.d.ts +2 -2
- package/dist/declarations/src/components/navbar/use-navbar-state-manager.d.ts +67 -67
- package/dist/declarations/src/components/project-container/index.d.ts +1 -1
- package/dist/declarations/src/components/project-container/messages.d.ts +7 -7
- package/dist/declarations/src/components/project-container/project-container.d.ts +18 -18
- package/dist/declarations/src/components/project-data-locale/index.d.ts +1 -1
- package/dist/declarations/src/components/project-data-locale/project-data-locale.d.ts +14 -14
- package/dist/declarations/src/components/project-expired/index.d.ts +6 -6
- package/dist/declarations/src/components/project-expired/messages.d.ts +11 -11
- package/dist/declarations/src/components/project-expired/project-expired.d.ts +5 -5
- package/dist/declarations/src/components/project-not-found/index.d.ts +6 -6
- package/dist/declarations/src/components/project-not-found/messages.d.ts +15 -15
- package/dist/declarations/src/components/project-not-found/project-not-found.d.ts +5 -5
- package/dist/declarations/src/components/project-not-initialized/index.d.ts +6 -6
- package/dist/declarations/src/components/project-not-initialized/messages.d.ts +11 -11
- package/dist/declarations/src/components/project-not-initialized/project-not-initialized.d.ts +5 -5
- package/dist/declarations/src/components/project-suspended/index.d.ts +8 -8
- package/dist/declarations/src/components/project-suspended/messages.d.ts +15 -15
- package/dist/declarations/src/components/project-suspended/project-suspended.d.ts +8 -8
- package/dist/declarations/src/components/project-switcher/index.d.ts +1 -1
- package/dist/declarations/src/components/project-switcher/messages.d.ts +28 -28
- package/dist/declarations/src/components/project-switcher/project-switcher.d.ts +18 -18
- package/dist/declarations/src/components/quick-access/butler/butler.d.ts +14 -14
- package/dist/declarations/src/components/quick-access/butler/index.d.ts +1 -1
- package/dist/declarations/src/components/quick-access/butler-command/butler-command.d.ts +24 -24
- package/dist/declarations/src/components/quick-access/butler-command/index.d.ts +1 -1
- package/dist/declarations/src/components/quick-access/butler-container/butler-container.d.ts +6 -6
- package/dist/declarations/src/components/quick-access/butler-container/index.d.ts +1 -1
- package/dist/declarations/src/components/quick-access/constants.d.ts +24 -24
- package/dist/declarations/src/components/quick-access/create-commands.d.ts +13 -13
- package/dist/declarations/src/components/quick-access/history-entries.d.ts +3 -3
- package/dist/declarations/src/components/quick-access/index.d.ts +8 -8
- package/dist/declarations/src/components/quick-access/messages.d.ts +247 -247
- package/dist/declarations/src/components/quick-access/pim-indexer-states.d.ts +6 -6
- package/dist/declarations/src/components/quick-access/quick-access.d.ts +12 -12
- package/dist/declarations/src/components/quick-access/sub-commands.d.ts +17 -17
- package/dist/declarations/src/components/quick-access/tracking-events.d.ts +8 -8
- package/dist/declarations/src/components/quick-access/types.d.ts +31 -31
- package/dist/declarations/src/components/quick-access/utils.d.ts +5 -5
- package/dist/declarations/src/components/redirect-to-project-create/index.d.ts +1 -1
- package/dist/declarations/src/components/redirect-to-project-create/redirect-to-project-create.d.ts +5 -5
- package/dist/declarations/src/components/redirector/index.d.ts +1 -1
- package/dist/declarations/src/components/redirector/redirector.d.ts +22 -22
- package/dist/declarations/src/components/requests-in-flight-loader/constants.d.ts +1 -1
- package/dist/declarations/src/components/requests-in-flight-loader/index.d.ts +2 -2
- package/dist/declarations/src/components/requests-in-flight-loader/messages.d.ts +8 -8
- package/dist/declarations/src/components/requests-in-flight-loader/reducer.d.ts +4 -4
- package/dist/declarations/src/components/requests-in-flight-loader/requests-in-flight-loader.d.ts +6 -6
- package/dist/declarations/src/components/requests-in-flight-loader/types.d.ts +9 -9
- package/dist/declarations/src/components/route-catch-all/index.d.ts +1 -1
- package/dist/declarations/src/components/route-catch-all/route-catch-all.d.ts +2 -2
- package/dist/declarations/src/components/service-page-project-switcher/index.d.ts +1 -1
- package/dist/declarations/src/components/service-page-project-switcher/service-page-project-switcher.d.ts +5 -5
- package/dist/declarations/src/components/setup-flop-flip-provider/index.d.ts +1 -1
- package/dist/declarations/src/components/setup-flop-flip-provider/setup-flop-flip-provider.d.ts +17 -17
- package/dist/declarations/src/components/user-settings-menu/index.d.ts +1 -1
- package/dist/declarations/src/components/user-settings-menu/messages.d.ts +28 -28
- package/dist/declarations/src/components/user-settings-menu/user-settings-menu.d.ts +23 -23
- package/dist/declarations/src/components/version-tracker/actions.d.ts +4 -4
- package/dist/declarations/src/components/version-tracker/index.d.ts +1 -1
- package/dist/declarations/src/components/version-tracker/version-tracker.d.ts +5 -5
- package/dist/declarations/src/configure-apollo.d.ts +7 -7
- package/dist/declarations/src/configure-store.d.ts +19 -19
- package/dist/declarations/src/constants.d.ts +46 -46
- package/dist/declarations/src/feature-toggles.d.ts +1 -1
- package/dist/declarations/src/hooks/apollo-hooks/apollo-hooks.d.ts +13 -13
- package/dist/declarations/src/hooks/apollo-hooks/index.d.ts +1 -1
- package/dist/declarations/src/hooks/use-all-menu-feature-toggles/index.d.ts +1 -1
- package/dist/declarations/src/hooks/use-all-menu-feature-toggles/use-all-menu-feature-toggles.d.ts +11 -11
- package/dist/declarations/src/hooks/use-applications-menu/index.d.ts +1 -1
- package/dist/declarations/src/hooks/use-applications-menu/use-applications-menu.d.ts +14 -14
- package/dist/declarations/src/index.d.ts +16 -16
- package/dist/declarations/src/middleware/hide-notifications.d.ts +3 -3
- package/dist/declarations/src/middleware/logger.d.ts +3 -3
- package/dist/declarations/src/test-utils/index.d.ts +1 -1
- package/dist/declarations/src/test-utils/test-utils.d.ts +68 -68
- package/dist/declarations/src/track-performance.d.ts +2 -2
- package/dist/declarations/src/tracking-event-list.d.ts +19 -19
- package/dist/declarations/src/types/generated/ctp.d.ts +9582 -9273
- package/dist/declarations/src/types/generated/mc.d.ts +746 -746
- package/dist/declarations/src/types/generated/proxy.d.ts +148 -148
- package/dist/declarations/src/types/generated/settings.d.ts +3258 -3258
- package/dist/declarations/src/utils/apollo-client-runtime-cache.d.ts +5 -5
- package/dist/declarations/src/utils/apollo-context.d.ts +23 -23
- package/dist/declarations/src/utils/get-correlation-id/get-correlation-id.d.ts +3 -3
- package/dist/declarations/src/utils/get-correlation-id/index.d.ts +1 -1
- package/dist/declarations/src/utils/get-mc-api-url/get-mc-api-url.d.ts +8 -8
- package/dist/declarations/src/utils/get-mc-api-url/index.d.ts +1 -1
- package/dist/declarations/src/utils/get-previous-project-key/get-previous-project-key.d.ts +2 -2
- package/dist/declarations/src/utils/get-previous-project-key/index.d.ts +1 -1
- package/dist/declarations/src/utils/gtm.d.ts +27 -27
- package/dist/declarations/src/utils/index.d.ts +8 -8
- package/dist/declarations/src/utils/location/index.d.ts +1 -1
- package/dist/declarations/src/utils/location/location.d.ts +5 -5
- package/dist/declarations/src/utils/logger.d.ts +10 -10
- package/dist/declarations/src/utils/oidc-storage.d.ts +11 -11
- package/dist/declarations/src/utils/select-project-key-from-local-storage/index.d.ts +1 -1
- package/dist/declarations/src/utils/select-project-key-from-local-storage/select-project-key-from-local-storage.d.ts +1 -1
- package/dist/declarations/src/utils/select-project-key-from-url/index.d.ts +1 -1
- package/dist/declarations/src/utils/select-project-key-from-url/select-project-key-from-url.d.ts +1 -1
- package/dist/declarations/src/utils/select-team-id-from-local-storage/index.d.ts +1 -1
- package/dist/declarations/src/utils/select-team-id-from-local-storage/select-team-id-from-local-storage.d.ts +1 -1
- package/dist/declarations/src/utils/select-user-id/index.d.ts +1 -1
- package/dist/declarations/src/utils/select-user-id/select-user-id.d.ts +1 -1
- package/dist/declarations/src/utils/setup-global-error-listener/index.d.ts +1 -1
- package/dist/declarations/src/utils/setup-global-error-listener/setup-global-error-listener.d.ts +1 -1
- package/dist/declarations/src/version.d.ts +2 -2
- package/dist/{index-b47dceae.esm.js → index-577c7a43.esm.js} +47 -40
- package/dist/{index-dcdc1fa1.cjs.dev.js → index-82a5ea23.cjs.dev.js} +46 -39
- package/dist/{index-a3f44394.cjs.prod.js → index-8605a9e1.cjs.prod.js} +36 -29
- package/dist/{project-expired-e3f298fe.cjs.dev.js → project-expired-4a4db9c8.cjs.dev.js} +3 -3
- package/dist/{project-expired-ebc3e633.esm.js → project-expired-55c51196.esm.js} +3 -3
- package/dist/{project-expired-71eaf3ac.cjs.prod.js → project-expired-5603cf9b.cjs.prod.js} +3 -3
- package/dist/{project-not-found-bd416369.cjs.dev.js → project-not-found-33567915.cjs.dev.js} +3 -3
- package/dist/{project-not-found-8e9e186b.esm.js → project-not-found-efa7e5a7.esm.js} +3 -3
- package/dist/{project-not-found-471a350c.cjs.prod.js → project-not-found-f325728d.cjs.prod.js} +3 -3
- package/dist/{project-not-initialized-f0707436.esm.js → project-not-initialized-36c1617d.esm.js} +3 -3
- package/dist/{project-not-initialized-22679d64.cjs.prod.js → project-not-initialized-68192fda.cjs.prod.js} +3 -3
- package/dist/{project-not-initialized-49d5d546.cjs.dev.js → project-not-initialized-d396896e.cjs.dev.js} +3 -3
- package/dist/{project-suspended-5d927085.cjs.dev.js → project-suspended-61a15b65.cjs.dev.js} +3 -3
- package/dist/{project-suspended-925bc5a1.esm.js → project-suspended-69502d1e.esm.js} +3 -3
- package/dist/{project-suspended-f34ad2ab.cjs.prod.js → project-suspended-e43ce7c2.cjs.prod.js} +3 -3
- package/dist/{quick-access-3466d7a2.esm.js → quick-access-1f9e885b.esm.js} +2 -2
- package/dist/{quick-access-2fa543f8.cjs.prod.js → quick-access-2e6398f7.cjs.prod.js} +2 -2
- package/dist/{quick-access-6b1fa05c.cjs.dev.js → quick-access-57979158.cjs.dev.js} +2 -2
- package/dist/{service-page-project-switcher-67fe65c2.esm.js → service-page-project-switcher-013404f5.esm.js} +1 -1
- package/dist/{service-page-project-switcher-daec9d91.cjs.prod.js → service-page-project-switcher-8efe2817.cjs.prod.js} +1 -1
- package/dist/{service-page-project-switcher-c320f886.cjs.dev.js → service-page-project-switcher-ef90ae95.cjs.dev.js} +1 -1
- package/package.json +34 -34
- 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,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var applicationEntryPoint = require('./application-entry-point-
|
|
3
|
+
var applicationEntryPoint = require('./application-entry-point-83ea80e3.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');
|
|
@@ -825,7 +825,7 @@ var Redirector = function Redirector(props) {
|
|
|
825
825
|
var searchQuery = _objectSpread$e(_objectSpread$e({}, (_props$queryParams = props.queryParams) !== null && _props$queryParams !== void 0 ? _props$queryParams : {}), (_enhancedLocation$que = enhancedLocation.query) !== null && _enhancedLocation$que !== void 0 ? _enhancedLocation$que : {});
|
|
826
826
|
|
|
827
827
|
var targetUrlObject = new _URL__default['default'](originUrl);
|
|
828
|
-
targetUrlObject.pathname = props.to;
|
|
828
|
+
targetUrlObject.pathname = props.to || targetUrlObject.pathname;
|
|
829
829
|
targetUrlObject.search = "?".concat(qss.encode(searchQuery));
|
|
830
830
|
var targetUrl = targetUrlObject.toString();
|
|
831
831
|
react.useEffect(function () {
|
|
@@ -921,7 +921,11 @@ var OidcCallback = function OidcCallback(props) {
|
|
|
921
921
|
errorMessage = 'Invalid client session (missing sessionToken)';
|
|
922
922
|
}
|
|
923
923
|
} catch (err) {
|
|
924
|
-
|
|
924
|
+
if (err instanceof Error) {
|
|
925
|
+
errorMessage = err.message;
|
|
926
|
+
} else {
|
|
927
|
+
errorMessage = 'Unknown error';
|
|
928
|
+
}
|
|
925
929
|
}
|
|
926
930
|
|
|
927
931
|
if (!errorMessage) {
|
|
@@ -2425,19 +2429,19 @@ var LocaleSwitcher = function LocaleSwitcher(props) {
|
|
|
2425
2429
|
LocaleSwitcher.propTypes = {};
|
|
2426
2430
|
|
|
2427
2431
|
var ProjectNotFound = /*#__PURE__*/react.lazy(function () {
|
|
2428
|
-
return Promise.resolve().then(function () { return require('./project-not-found-
|
|
2432
|
+
return Promise.resolve().then(function () { return require('./project-not-found-f325728d.cjs.prod.js'
|
|
2429
2433
|
/* webpackChunkName: "project-not-found" */
|
|
2430
2434
|
); });
|
|
2431
2435
|
});
|
|
2432
2436
|
|
|
2433
2437
|
var ProjectExpired = /*#__PURE__*/react.lazy(function () {
|
|
2434
|
-
return Promise.resolve().then(function () { return require('./project-expired-
|
|
2438
|
+
return Promise.resolve().then(function () { return require('./project-expired-5603cf9b.cjs.prod.js'
|
|
2435
2439
|
/* webpackChunkName: "project-expired" */
|
|
2436
2440
|
); });
|
|
2437
2441
|
});
|
|
2438
2442
|
|
|
2439
2443
|
var ProjectNotInitialized = /*#__PURE__*/react.lazy(function () {
|
|
2440
|
-
return Promise.resolve().then(function () { return require('./project-not-initialized-
|
|
2444
|
+
return Promise.resolve().then(function () { return require('./project-not-initialized-68192fda.cjs.prod.js'
|
|
2441
2445
|
/* webpackChunkName: "project-not-initialized" */
|
|
2442
2446
|
); });
|
|
2443
2447
|
});
|
|
@@ -2486,7 +2490,7 @@ var RedirectToProjectCreate = function RedirectToProjectCreate() {
|
|
|
2486
2490
|
RedirectToProjectCreate.displayName = 'RedirectToProjectCreate';
|
|
2487
2491
|
|
|
2488
2492
|
var ProjectSuspended = /*#__PURE__*/react.lazy(function () {
|
|
2489
|
-
return Promise.resolve().then(function () { return require('./project-suspended-
|
|
2493
|
+
return Promise.resolve().then(function () { return require('./project-suspended-e43ce7c2.cjs.prod.js'
|
|
2490
2494
|
/* webpackChunkName: "project-suspended" */
|
|
2491
2495
|
); });
|
|
2492
2496
|
});
|
|
@@ -3212,7 +3216,8 @@ var IconSwitcher = function IconSwitcher(_ref) {
|
|
|
3212
3216
|
|
|
3213
3217
|
default:
|
|
3214
3218
|
return jsxRuntime.jsx("img", {
|
|
3215
|
-
src: MissingImageSvg__default['default']
|
|
3219
|
+
src: MissingImageSvg__default['default'],
|
|
3220
|
+
alt: "missing icon"
|
|
3216
3221
|
});
|
|
3217
3222
|
}
|
|
3218
3223
|
};
|
|
@@ -3419,22 +3424,24 @@ MenuLabel.propTypes = {
|
|
|
3419
3424
|
};
|
|
3420
3425
|
|
|
3421
3426
|
var ApplicationMenu = function ApplicationMenu(props) {
|
|
3422
|
-
var _context6, _context7;
|
|
3427
|
+
var _context5, _context6, _context7;
|
|
3423
3428
|
|
|
3429
|
+
var isMainMenuRouteActive = Boolean(reactRouterDom.matchPath(props.location.pathname, {
|
|
3430
|
+
path: _concatInstanceProperty__default['default'](_context5 = "/".concat(props.projectKey, "/")).call(_context5, props.menu.uriPath),
|
|
3431
|
+
exact: false,
|
|
3432
|
+
strict: false
|
|
3433
|
+
}));
|
|
3424
3434
|
var hasSubmenu = _Array$isArray__default['default'](props.menu.submenu) && props.menu.submenu.length > 0;
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3435
|
+
react.useEffect(function () {
|
|
3436
|
+
// On first render, check which menu is active for the current application and expand
|
|
3437
|
+
// the submenu automatically unless the all navbar is collapsed or there are no submenu links.
|
|
3438
|
+
if (props.isMenuOpen && isMainMenuRouteActive && hasSubmenu) {
|
|
3439
|
+
props.handleToggleItem();
|
|
3440
|
+
} // eslint-disable-next-line react-hooks/exhaustive-deps
|
|
3429
3441
|
|
|
3430
|
-
|
|
3431
|
-
path: _concatInstanceProperty__default['default'](_context5 = "/".concat(props.projectKey, "/")).call(_context5, link),
|
|
3432
|
-
exact: false,
|
|
3433
|
-
strict: false
|
|
3434
|
-
});
|
|
3435
|
-
return Boolean(match);
|
|
3436
|
-
};
|
|
3442
|
+
}, [props.isMenuOpen]); // <-- (re)run this only when the all menu expands
|
|
3437
3443
|
|
|
3444
|
+
var namesOfMenuVisibilitiesOfAllSubmenus = hasSubmenu ? getMenuVisibilitiesOfSubmenus(props.menu) : getMenuVisibilityOfMainmenu(props.menu);
|
|
3438
3445
|
var isMainMenuItemALink = // 1. When the navbar is collapsed
|
|
3439
3446
|
!props.isMenuOpen || // 2. When there is no submenu
|
|
3440
3447
|
!hasSubmenu || // 3. When the submenu group is active/visible
|
|
@@ -3467,7 +3474,7 @@ var ApplicationMenu = function ApplicationMenu(props) {
|
|
|
3467
3474
|
children: jsxRuntime.jsx(IconSwitcher, {
|
|
3468
3475
|
icon: props.menu.icon,
|
|
3469
3476
|
size: "scale",
|
|
3470
|
-
color: getIconColor(props.isActive || isMainMenuRouteActive
|
|
3477
|
+
color: getIconColor(props.isActive || isMainMenuRouteActive, Boolean(props.menu.shouldRenderDivider))
|
|
3471
3478
|
})
|
|
3472
3479
|
}), jsxRuntime.jsx("div", {
|
|
3473
3480
|
className: styles.title,
|
|
@@ -3696,7 +3703,7 @@ var pimIndexerStates = {
|
|
|
3696
3703
|
};
|
|
3697
3704
|
|
|
3698
3705
|
var QuickAccess = /*#__PURE__*/react.lazy(function () {
|
|
3699
|
-
return Promise.resolve().then(function () { return require('./quick-access-
|
|
3706
|
+
return Promise.resolve().then(function () { return require('./quick-access-2e6398f7.cjs.prod.js'
|
|
3700
3707
|
/* webpackChunkName: "quick-access" */
|
|
3701
3708
|
); });
|
|
3702
3709
|
});
|
|
@@ -3844,7 +3851,7 @@ var RedirectToLogin = function RedirectToLogin() {
|
|
|
3844
3851
|
|
|
3845
3852
|
applicationEntryPoint.setSessionScope(requestedScope);
|
|
3846
3853
|
return jsxRuntime.jsx(Redirector, {
|
|
3847
|
-
to: "
|
|
3854
|
+
to: "",
|
|
3848
3855
|
origin: (_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.authorizeUrl,
|
|
3849
3856
|
location: location,
|
|
3850
3857
|
queryParams: {
|
|
@@ -3935,8 +3942,8 @@ var MainContainer = _styled__default['default']("main", {
|
|
|
3935
3942
|
} );
|
|
3936
3943
|
|
|
3937
3944
|
var _ref2 = {
|
|
3938
|
-
name: "
|
|
3939
|
-
styles: "flex-grow:1;display:flex;flex-direction:column
|
|
3945
|
+
name: "tlwzvn",
|
|
3946
|
+
styles: "flex-grow:1;display:flex;flex-direction:column;position:relative;>*:not(:first-of-type){flex-grow:1;display:flex;flex-direction:column;}"
|
|
3940
3947
|
} ;
|
|
3941
3948
|
|
|
3942
3949
|
var _ref3 = {
|
|
@@ -4136,13 +4143,13 @@ var RestrictedApplication = function RestrictedApplication(props) {
|
|
|
4136
4143
|
children: jsxRuntime.jsx(ApplicationLoader, {})
|
|
4137
4144
|
}) : jsxRuntime.jsxs(MainContainer, {
|
|
4138
4145
|
role: "main",
|
|
4139
|
-
children: [jsxRuntime.jsx(
|
|
4146
|
+
children: [jsxRuntime.jsx(reactNotifications.NotificationsList, {
|
|
4140
4147
|
domain: constants.DOMAINS.PAGE
|
|
4141
4148
|
}), jsxRuntime.jsx(reactNotifications.NotificationsList, {
|
|
4142
4149
|
domain: constants.DOMAINS.SIDE
|
|
4143
|
-
}), jsxRuntime.
|
|
4150
|
+
}), jsxRuntime.jsxs("div", {
|
|
4144
4151
|
css: _ref2,
|
|
4145
|
-
children: jsxRuntime.jsxs(reactRouterDom.Switch, {
|
|
4152
|
+
children: [jsxRuntime.jsx(applicationComponents.PortalsContainer, {}), jsxRuntime.jsxs(reactRouterDom.Switch, {
|
|
4146
4153
|
children: [jsxRuntime.jsx(reactRouterDom.Redirect, {
|
|
4147
4154
|
from: "/profile",
|
|
4148
4155
|
to: "/account/profile"
|
|
@@ -4198,7 +4205,7 @@ var RestrictedApplication = function RestrictedApplication(props) {
|
|
|
4198
4205
|
});
|
|
4199
4206
|
}
|
|
4200
4207
|
})]
|
|
4201
|
-
})
|
|
4208
|
+
})]
|
|
4202
4209
|
})]
|
|
4203
4210
|
})]
|
|
4204
4211
|
})]
|
|
@@ -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-ef90ae95.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-82a5ea23.cjs.dev.js');
|
|
21
|
+
require('./application-entry-point-4b134bcb.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');
|
|
@@ -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-013404f5.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-577c7a43.esm.js';
|
|
19
|
+
import './application-entry-point-b7c5325e.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-8efe2817.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-8605a9e1.cjs.prod.js');
|
|
21
|
+
require('./application-entry-point-83ea80e3.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-not-found-bd416369.cjs.dev.js → project-not-found-33567915.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-ef90ae95.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-82a5ea23.cjs.dev.js');
|
|
21
|
+
require('./application-entry-point-4b134bcb.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');
|
|
@@ -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-013404f5.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-577c7a43.esm.js';
|
|
19
|
+
import './application-entry-point-b7c5325e.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-found-471a350c.cjs.prod.js → project-not-found-f325728d.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-8efe2817.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-8605a9e1.cjs.prod.js');
|
|
21
|
+
require('./application-entry-point-83ea80e3.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-not-initialized-f0707436.esm.js → project-not-initialized-36c1617d.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-013404f5.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-577c7a43.esm.js';
|
|
19
|
+
import './application-entry-point-b7c5325e.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-8efe2817.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-8605a9e1.cjs.prod.js');
|
|
21
|
+
require('./application-entry-point-83ea80e3.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-ef90ae95.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-82a5ea23.cjs.dev.js');
|
|
21
|
+
require('./application-entry-point-4b134bcb.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-suspended-5d927085.cjs.dev.js → project-suspended-61a15b65.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-ef90ae95.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-82a5ea23.cjs.dev.js');
|
|
21
|
+
require('./application-entry-point-4b134bcb.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');
|
|
@@ -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-013404f5.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-577c7a43.esm.js';
|
|
19
|
+
import './application-entry-point-b7c5325e.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-f34ad2ab.cjs.prod.js → project-suspended-e43ce7c2.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-8efe2817.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-8605a9e1.cjs.prod.js');
|
|
21
|
+
require('./application-entry-point-83ea80e3.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');
|
|
@@ -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-b7c5325e.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-577c7a43.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';
|
|
@@ -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-83ea80e3.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-8605a9e1.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-4b134bcb.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-82a5ea23.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');
|
|
@@ -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-577c7a43.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-8605a9e1.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 }; }
|
|
@@ -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-82a5ea23.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 }; }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/application-shell",
|
|
3
|
-
"version": "20.
|
|
3
|
+
"version": "20.10.4",
|
|
4
4
|
"description": "React component to bootstrap the general MC application logic",
|
|
5
5
|
"bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
|
|
6
6
|
"repository": {
|
|
@@ -26,22 +26,22 @@
|
|
|
26
26
|
"compile-css-modules": "./scripts/compile-styles.js"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@babel/runtime": "7.
|
|
30
|
-
"@babel/runtime-corejs3": "7.
|
|
31
|
-
"@commercetools-frontend/actions-global": "20.
|
|
32
|
-
"@commercetools-frontend/application-components": "20.
|
|
33
|
-
"@commercetools-frontend/application-shell-connectors": "20.
|
|
34
|
-
"@commercetools-frontend/assets": "20.
|
|
35
|
-
"@commercetools-frontend/browser-history": "20.
|
|
36
|
-
"@commercetools-frontend/constants": "20.
|
|
37
|
-
"@commercetools-frontend/i18n": "20.
|
|
38
|
-
"@commercetools-frontend/l10n": "20.
|
|
39
|
-
"@commercetools-frontend/notifications": "20.
|
|
40
|
-
"@commercetools-frontend/permissions": "20.
|
|
41
|
-
"@commercetools-frontend/react-notifications": "20.
|
|
42
|
-
"@commercetools-frontend/sdk": "20.
|
|
43
|
-
"@commercetools-frontend/sentry": "20.
|
|
44
|
-
"@commercetools-frontend/url-utils": "20.
|
|
29
|
+
"@babel/runtime": "7.15.4",
|
|
30
|
+
"@babel/runtime-corejs3": "7.15.4",
|
|
31
|
+
"@commercetools-frontend/actions-global": "20.10.4",
|
|
32
|
+
"@commercetools-frontend/application-components": "20.10.4",
|
|
33
|
+
"@commercetools-frontend/application-shell-connectors": "20.10.4",
|
|
34
|
+
"@commercetools-frontend/assets": "20.10.1",
|
|
35
|
+
"@commercetools-frontend/browser-history": "20.10.1",
|
|
36
|
+
"@commercetools-frontend/constants": "20.10.1",
|
|
37
|
+
"@commercetools-frontend/i18n": "20.10.4",
|
|
38
|
+
"@commercetools-frontend/l10n": "20.10.4",
|
|
39
|
+
"@commercetools-frontend/notifications": "20.10.1",
|
|
40
|
+
"@commercetools-frontend/permissions": "20.10.4",
|
|
41
|
+
"@commercetools-frontend/react-notifications": "20.10.4",
|
|
42
|
+
"@commercetools-frontend/sdk": "20.10.4",
|
|
43
|
+
"@commercetools-frontend/sentry": "20.10.4",
|
|
44
|
+
"@commercetools-frontend/url-utils": "20.10.1",
|
|
45
45
|
"@commercetools-uikit/avatar": "^12.2.2",
|
|
46
46
|
"@commercetools-uikit/card": "^12.2.2",
|
|
47
47
|
"@commercetools-uikit/design-system": "^12.2.2",
|
|
@@ -53,13 +53,13 @@
|
|
|
53
53
|
"@commercetools-uikit/spacings": "^12.2.2",
|
|
54
54
|
"@commercetools-uikit/text": "^12.2.2",
|
|
55
55
|
"@commercetools/http-user-agent": "2.1.2",
|
|
56
|
-
"@emotion/react": "11.
|
|
56
|
+
"@emotion/react": "11.5.0",
|
|
57
57
|
"@emotion/styled": "11.3.0",
|
|
58
|
-
"@flopflip/combine-adapters": "0.0.
|
|
59
|
-
"@flopflip/http-adapter": "0.0.
|
|
60
|
-
"@flopflip/launchdarkly-adapter": "5.0.
|
|
61
|
-
"@flopflip/react-broadcast": "12.2.
|
|
62
|
-
"@flopflip/types": "4.1.
|
|
58
|
+
"@flopflip/combine-adapters": "0.0.25",
|
|
59
|
+
"@flopflip/http-adapter": "0.0.15",
|
|
60
|
+
"@flopflip/launchdarkly-adapter": "5.0.19",
|
|
61
|
+
"@flopflip/react-broadcast": "12.2.10",
|
|
62
|
+
"@flopflip/types": "4.1.18",
|
|
63
63
|
"@types/classnames": "2.3.1",
|
|
64
64
|
"@types/common-tags": "^1.8.0",
|
|
65
65
|
"@types/history": "4.7.9",
|
|
@@ -77,9 +77,9 @@
|
|
|
77
77
|
"classnames": "^2.2.6",
|
|
78
78
|
"common-tags": "1.8.0",
|
|
79
79
|
"debounce-async": "0.0.2",
|
|
80
|
-
"downshift": "6.1.
|
|
80
|
+
"downshift": "6.1.7",
|
|
81
81
|
"fuse.js": "6.4.6",
|
|
82
|
-
"graphql": "15.
|
|
82
|
+
"graphql": "15.6.1",
|
|
83
83
|
"history": "4.10.1",
|
|
84
84
|
"is-retina": "1.0.3",
|
|
85
85
|
"jwt-decode": "3.1.2",
|
|
@@ -88,26 +88,26 @@
|
|
|
88
88
|
"moment": "^2.29.1",
|
|
89
89
|
"moment-timezone": "^0.5.32",
|
|
90
90
|
"omit-empty-es": "1.1.3",
|
|
91
|
-
"perfume.js": "6.
|
|
91
|
+
"perfume.js": "6.3.0",
|
|
92
92
|
"prop-types": "15.7.2",
|
|
93
93
|
"qss": "2.0.3",
|
|
94
94
|
"react-required-if": "1.0.3",
|
|
95
95
|
"redux-logger": "3.0.6",
|
|
96
|
-
"redux-thunk": "2.
|
|
96
|
+
"redux-thunk": "2.4.0",
|
|
97
97
|
"tiny-invariant": "1.1.0",
|
|
98
98
|
"unfetch": "4.2.0",
|
|
99
99
|
"uuid": "8.3.2"
|
|
100
100
|
},
|
|
101
101
|
"devDependencies": {
|
|
102
|
-
"@apollo/client": "3.4.
|
|
103
|
-
"@testing-library/react": "12.
|
|
104
|
-
"@testing-library/react-hooks": "7.0.
|
|
105
|
-
"msw": "0.
|
|
102
|
+
"@apollo/client": "3.4.16",
|
|
103
|
+
"@testing-library/react": "12.1.2",
|
|
104
|
+
"@testing-library/react-hooks": "7.0.2",
|
|
105
|
+
"msw": "0.35.0",
|
|
106
106
|
"react": "17.0.2",
|
|
107
107
|
"react-dom": "17.0.2",
|
|
108
|
-
"react-intl": "5.
|
|
109
|
-
"react-redux": "7.2.
|
|
110
|
-
"react-router-dom": "5.
|
|
108
|
+
"react-intl": "5.21.0",
|
|
109
|
+
"react-redux": "7.2.6",
|
|
110
|
+
"react-router-dom": "5.3.0",
|
|
111
111
|
"redux": "4.1.1",
|
|
112
112
|
"wait-for-observables": "1.0.3"
|
|
113
113
|
},
|
|
@@ -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-4b134bcb.cjs.dev.js');
|
|
39
39
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
40
40
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
41
41
|
require('@babel/runtime-corejs3/core-js-stable/object/entries');
|
|
@@ -35,7 +35,7 @@ var applicationShellConnectors = require('@commercetools-frontend/application-sh
|
|
|
35
35
|
var reactNotifications = require('@commercetools-frontend/react-notifications');
|
|
36
36
|
var constants = require('@commercetools-frontend/constants');
|
|
37
37
|
var testUtils = require('@commercetools-frontend/sdk/test-utils');
|
|
38
|
-
var applicationEntryPoint = require('../../dist/application-entry-point-
|
|
38
|
+
var applicationEntryPoint = require('../../dist/application-entry-point-83ea80e3.cjs.prod.js');
|
|
39
39
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
40
40
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
41
41
|
require('@babel/runtime-corejs3/core-js-stable/object/entries');
|