@commercetools-frontend/application-shell 21.14.0 → 21.14.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.
Files changed (32) hide show
  1. package/dist/{application-entry-point-379ddfbf.cjs.dev.js → application-entry-point-357edcbf.cjs.dev.js} +1 -1
  2. package/dist/{application-entry-point-d7ed60b0.cjs.prod.js → application-entry-point-8914057c.cjs.prod.js} +1 -1
  3. package/dist/{application-entry-point-0de0fed2.esm.js → application-entry-point-ede05690.esm.js} +1 -1
  4. package/dist/commercetools-frontend-application-shell.cjs.dev.js +3 -2
  5. package/dist/commercetools-frontend-application-shell.cjs.prod.js +3 -2
  6. package/dist/commercetools-frontend-application-shell.esm.js +2 -2
  7. package/dist/declarations/src/index.d.ts +1 -0
  8. package/dist/{index-aee304c6.esm.js → index-33893109.esm.js} +20 -21
  9. package/dist/{index-23885269.cjs.prod.js → index-40a2f8e6.cjs.prod.js} +20 -20
  10. package/dist/{index-bf785dc5.cjs.dev.js → index-78444791.cjs.dev.js} +20 -20
  11. package/dist/{project-expired-6dd19ac5.esm.js → project-expired-008678a2.esm.js} +3 -3
  12. package/dist/{project-expired-b70d0be4.cjs.prod.js → project-expired-3052360c.cjs.prod.js} +3 -3
  13. package/dist/{project-expired-884349ac.cjs.dev.js → project-expired-e2deb0f4.cjs.dev.js} +3 -3
  14. package/dist/{project-not-found-1bb414bd.cjs.prod.js → project-not-found-7b246064.cjs.prod.js} +3 -3
  15. package/dist/{project-not-found-5c5d8978.esm.js → project-not-found-b5308ce5.esm.js} +3 -3
  16. package/dist/{project-not-found-f4588a92.cjs.dev.js → project-not-found-d6b078fe.cjs.dev.js} +3 -3
  17. package/dist/{project-not-initialized-4ffa6dfd.esm.js → project-not-initialized-779d83e9.esm.js} +3 -3
  18. package/dist/{project-not-initialized-730e8f66.cjs.prod.js → project-not-initialized-8bfb5a7f.cjs.prod.js} +3 -3
  19. package/dist/{project-not-initialized-e14aec3c.cjs.dev.js → project-not-initialized-8e0d9015.cjs.dev.js} +3 -3
  20. package/dist/{project-suspended-4586252a.esm.js → project-suspended-2ae022c3.esm.js} +3 -3
  21. package/dist/{project-suspended-021b826a.cjs.prod.js → project-suspended-531ea8d4.cjs.prod.js} +3 -3
  22. package/dist/{project-suspended-9dc74eb9.cjs.dev.js → project-suspended-6fef215f.cjs.dev.js} +3 -3
  23. package/dist/{quick-access-529bfe5e.cjs.dev.js → quick-access-0069b1d7.cjs.dev.js} +2 -2
  24. package/dist/{quick-access-06faafe4.cjs.prod.js → quick-access-126b87ae.cjs.prod.js} +2 -2
  25. package/dist/{quick-access-7e849881.esm.js → quick-access-c1bcf1d4.esm.js} +2 -2
  26. package/dist/{service-page-project-switcher-5c01b213.cjs.dev.js → service-page-project-switcher-5335c3a7.cjs.dev.js} +1 -1
  27. package/dist/{service-page-project-switcher-3faeb457.esm.js → service-page-project-switcher-83f138af.esm.js} +1 -1
  28. package/dist/{service-page-project-switcher-38236d62.cjs.prod.js → service-page-project-switcher-a788f738.cjs.prod.js} +1 -1
  29. package/package.json +17 -17
  30. package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.dev.js +1 -1
  31. package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.prod.js +1 -1
  32. package/test-utils/dist/commercetools-frontend-application-shell-test-utils.esm.js +1 -1
@@ -113,7 +113,7 @@ var _pt__default = /*#__PURE__*/_interopDefault(_pt);
113
113
  var invariant__default = /*#__PURE__*/_interopDefault(invariant);
114
114
 
115
115
  // NOTE: This string will be replaced on build time with the package version.
116
- var version = "21.14.0";
116
+ var version = "21.14.1";
117
117
 
118
118
  var isAddNotificationErrorAction = function isAddNotificationErrorAction(action) {
119
119
  var errorAction = action;
@@ -112,7 +112,7 @@ var _regeneratorRuntime__default = /*#__PURE__*/_interopDefault(_regeneratorRunt
112
112
  var invariant__default = /*#__PURE__*/_interopDefault(invariant);
113
113
 
114
114
  // NOTE: This string will be replaced on build time with the package version.
115
- var version = "21.14.0";
115
+ var version = "21.14.1";
116
116
 
117
117
  var isAddNotificationErrorAction = function isAddNotificationErrorAction(action) {
118
118
  var errorAction = action;
@@ -70,7 +70,7 @@ import { entryPointUriPathToPermissionKeys } from '@commercetools-frontend/appli
70
70
  import { useApplicationContext } from '@commercetools-frontend/application-shell-connectors';
71
71
 
72
72
  // NOTE: This string will be replaced on build time with the package version.
73
- var version = "21.14.0";
73
+ var version = "21.14.1";
74
74
 
75
75
  var isAddNotificationErrorAction = function isAddNotificationErrorAction(action) {
76
76
  var errorAction = action;
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var applicationEntryPoint = require('./application-entry-point-379ddfbf.cjs.dev.js');
6
- var dist_commercetoolsFrontendApplicationShell = require('./index-bf785dc5.cjs.dev.js');
5
+ var applicationEntryPoint = require('./application-entry-point-357edcbf.cjs.dev.js');
6
+ var dist_commercetoolsFrontendApplicationShell = require('./index-78444791.cjs.dev.js');
7
7
  require('@babel/runtime-corejs3/core-js-stable/instance/filter');
8
8
  require('uuid');
9
9
  var ssr = require('@commercetools-frontend/application-config/ssr');
@@ -136,6 +136,7 @@ exports.getMcApiUrl = applicationEntryPoint.getMcApiUrl;
136
136
  exports.selectProjectKeyFromUrl = applicationEntryPoint.selectProjectKeyFromUrl;
137
137
  exports.selectUserId = applicationEntryPoint.selectUserId;
138
138
  exports.version = applicationEntryPoint.version;
139
+ exports.ApplicationPageTitle = dist_commercetoolsFrontendApplicationShell.ApplicationPageTitle;
139
140
  exports.ApplicationShell = dist_commercetoolsFrontendApplicationShell.ApplicationShell;
140
141
  exports.ApplicationShellProvider = dist_commercetoolsFrontendApplicationShell.ApplicationShellProvider;
141
142
  exports.ConfigureIntlProvider = dist_commercetoolsFrontendApplicationShell.ConfigureIntlProvider;
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var applicationEntryPoint = require('./application-entry-point-d7ed60b0.cjs.prod.js');
6
- var dist_commercetoolsFrontendApplicationShell = require('./index-23885269.cjs.prod.js');
5
+ var applicationEntryPoint = require('./application-entry-point-8914057c.cjs.prod.js');
6
+ var dist_commercetoolsFrontendApplicationShell = require('./index-40a2f8e6.cjs.prod.js');
7
7
  require('@babel/runtime-corejs3/core-js-stable/instance/filter');
8
8
  require('uuid');
9
9
  var ssr = require('@commercetools-frontend/application-config/ssr');
@@ -136,6 +136,7 @@ exports.getMcApiUrl = applicationEntryPoint.getMcApiUrl;
136
136
  exports.selectProjectKeyFromUrl = applicationEntryPoint.selectProjectKeyFromUrl;
137
137
  exports.selectUserId = applicationEntryPoint.selectUserId;
138
138
  exports.version = applicationEntryPoint.version;
139
+ exports.ApplicationPageTitle = dist_commercetoolsFrontendApplicationShell.ApplicationPageTitle;
139
140
  exports.ApplicationShell = dist_commercetoolsFrontendApplicationShell.ApplicationShell;
140
141
  exports.ApplicationShellProvider = dist_commercetoolsFrontendApplicationShell.ApplicationShellProvider;
141
142
  exports.ConfigureIntlProvider = dist_commercetoolsFrontendApplicationShell.ConfigureIntlProvider;
@@ -1,5 +1,5 @@
1
- export { p as RouteCatchAll, q as applyDefaultMiddlewares, w as buildApiUrl, f as createApolloClient, x as createHttpClientOptions, y as executeHttpClientRequest, g as getMcApiUrl, n as selectProjectKeyFromUrl, t as selectUserId, v as version } from './application-entry-point-0de0fed2.esm.js';
2
- export { A as ApplicationShell, a as ApplicationShellProvider, C as ConfigureIntlProvider, G as GtmContext, b as GtmUserLogoutTracker, I as InjectReducers, S as SetupFlopFlipProvider, d as SuspendedRoute, c as createApolloContextForProxyForwardTo, s as setupGlobalErrorListener, e as useMcLazyQuery, f as useMcMutation, u as useMcQuery } from './index-aee304c6.esm.js';
1
+ export { p as RouteCatchAll, q as applyDefaultMiddlewares, w as buildApiUrl, f as createApolloClient, x as createHttpClientOptions, y as executeHttpClientRequest, g as getMcApiUrl, n as selectProjectKeyFromUrl, t as selectUserId, v as version } from './application-entry-point-ede05690.esm.js';
2
+ export { b as ApplicationPageTitle, A as ApplicationShell, a as ApplicationShellProvider, C as ConfigureIntlProvider, G as GtmContext, d as GtmUserLogoutTracker, I as InjectReducers, S as SetupFlopFlipProvider, e as SuspendedRoute, c as createApolloContextForProxyForwardTo, s as setupGlobalErrorListener, f as useMcLazyQuery, g as useMcMutation, u as useMcQuery } from './index-33893109.esm.js';
3
3
  import '@babel/runtime-corejs3/core-js-stable/instance/filter';
4
4
  import 'uuid';
5
5
  export { entryPointUriPathToPermissionKeys, entryPointUriPathToResourceAccesses } from '@commercetools-frontend/application-config/ssr';
@@ -2,6 +2,7 @@ export * from './export-types';
2
2
  export { default as version } from './version';
3
3
  export { default as ApplicationShell } from './components/application-shell';
4
4
  export { default as ApplicationShellProvider } from './components/application-shell-provider';
5
+ export { default as ApplicationPageTitle } from './components/application-page-title';
5
6
  export { default as createApolloClient } from './configure-apollo';
6
7
  export { applyDefaultMiddlewares } from './configure-store';
7
8
  export { default as InjectReducers } from './components/inject-reducers';
@@ -1,4 +1,4 @@
1
- import { g as getMcApiUrl, l as logger, a as getActiveProjectKey, r as removeActiveProjectKey, s as setActiveProjectKey, b as getSessionScope, c as location, d as getSessionState, e as setActiveSession, f as createApolloClient, i as internalReduxStore, h as setCachedApolloClient, v as version, R as REQUESTS_IN_FLIGHT_LOADER_DOM_ID, u as useIsServedByProxy, A as ApplicationEntryPoint, j as setSessionScope, k as setSessionState, m as clearSession, n as selectProjectKeyFromUrl, o as RequestsInFlightLoader, p as RouteCatchAll } from './application-entry-point-0de0fed2.esm.js';
1
+ import { g as getMcApiUrl, l as logger, a as getActiveProjectKey, r as removeActiveProjectKey, s as setActiveProjectKey, b as getSessionScope, c as location, d as getSessionState, e as setActiveSession, f as createApolloClient, i as internalReduxStore, h as setCachedApolloClient, v as version, R as REQUESTS_IN_FLIGHT_LOADER_DOM_ID, u as useIsServedByProxy, A as ApplicationEntryPoint, j as setSessionScope, k as setSessionState, m as clearSession, n as selectProjectKeyFromUrl, o as RequestsInFlightLoader, p as RouteCatchAll } from './application-entry-point-ede05690.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';
@@ -997,17 +997,15 @@ var defaultProps$1 = {
997
997
  additionalParts: []
998
998
  };
999
999
 
1000
- var usePageTitle = function usePageTitle(props) {
1001
- var _context, _context3;
1002
-
1003
- var location = useLocation();
1000
+ var getPageTitle = function getPageTitle(pathname, additionalParts) {
1001
+ var _context2;
1004
1002
 
1005
- var _location$pathname$sp = location.pathname.split('/'),
1006
- _location$pathname$sp2 = _slicedToArray(_location$pathname$sp, 3),
1007
- projectKeyOrStaticPath = _location$pathname$sp2[1],
1008
- entryPointUriPath = _location$pathname$sp2[2];
1003
+ var _pathname$split = pathname.split('/'),
1004
+ _pathname$split2 = _slicedToArray(_pathname$split, 3),
1005
+ projectKeyOrStaticPath = _pathname$split2[1],
1006
+ entryPointUriPath = _pathname$split2[2];
1009
1007
 
1010
- var customTitleParts = _mapInstanceProperty(_context = props.additionalParts).call(_context, function (titlePart) {
1008
+ var customTitleParts = _mapInstanceProperty(additionalParts).call(additionalParts, function (titlePart) {
1011
1009
  if (titlePart.length <= maxTitleCharLength) {
1012
1010
  return titlePart;
1013
1011
  }
@@ -1016,19 +1014,20 @@ var usePageTitle = function usePageTitle(props) {
1016
1014
  });
1017
1015
 
1018
1016
  if (_includesInstanceProperty(staticPaths).call(staticPaths, projectKeyOrStaticPath)) {
1019
- var _context2;
1017
+ var _context;
1020
1018
 
1021
- return _concatInstanceProperty(_context2 = []).call(_context2, _toConsumableArray(customTitleParts || []), [upperFirst(projectKeyOrStaticPath), 'Merchant Center']).join(' - ');
1019
+ return _concatInstanceProperty(_context = []).call(_context, _toConsumableArray(customTitleParts || []), [upperFirst(projectKeyOrStaticPath), 'Merchant Center']).join(' - ');
1022
1020
  }
1023
1021
 
1024
- return _concatInstanceProperty(_context3 = []).call(_context3, _toConsumableArray(customTitleParts || []), [upperFirst(entryPointUriPath), projectKeyOrStaticPath, 'Merchant Center']).join(' - ');
1022
+ return _concatInstanceProperty(_context2 = []).call(_context2, _toConsumableArray(customTitleParts || []), [upperFirst(entryPointUriPath), projectKeyOrStaticPath, 'Merchant Center']).join(' - ');
1025
1023
  };
1026
1024
 
1027
1025
  var ApplicationPageTitle = function ApplicationPageTitle(props) {
1028
- var pageTitle = usePageTitle(props);
1026
+ var location = useLocation();
1029
1027
  useLayoutEffect(function () {
1028
+ var pageTitle = getPageTitle(location.pathname, props.additionalParts);
1030
1029
  document.title = pageTitle;
1031
- }, [pageTitle]);
1030
+ }, [location.pathname, props.additionalParts]);
1032
1031
  return null;
1033
1032
  };
1034
1033
 
@@ -2436,19 +2435,19 @@ LocaleSwitcher.propTypes = process.env.NODE_ENV !== "production" ? {
2436
2435
  } : {};
2437
2436
 
2438
2437
  var ProjectNotFound = /*#__PURE__*/lazy(function () {
2439
- return import('./project-not-found-5c5d8978.esm.js'
2438
+ return import('./project-not-found-b5308ce5.esm.js'
2440
2439
  /* webpackChunkName: "project-not-found" */
2441
2440
  );
2442
2441
  });
2443
2442
 
2444
2443
  var ProjectExpired = /*#__PURE__*/lazy(function () {
2445
- return import('./project-expired-6dd19ac5.esm.js'
2444
+ return import('./project-expired-008678a2.esm.js'
2446
2445
  /* webpackChunkName: "project-expired" */
2447
2446
  );
2448
2447
  });
2449
2448
 
2450
2449
  var ProjectNotInitialized = /*#__PURE__*/lazy(function () {
2451
- return import('./project-not-initialized-4ffa6dfd.esm.js'
2450
+ return import('./project-not-initialized-779d83e9.esm.js'
2452
2451
  /* webpackChunkName: "project-not-initialized" */
2453
2452
  );
2454
2453
  });
@@ -2495,7 +2494,7 @@ var RedirectToProjectCreate = function RedirectToProjectCreate() {
2495
2494
  RedirectToProjectCreate.displayName = 'RedirectToProjectCreate';
2496
2495
 
2497
2496
  var ProjectSuspended = /*#__PURE__*/lazy(function () {
2498
- return import('./project-suspended-4586252a.esm.js'
2497
+ return import('./project-suspended-2ae022c3.esm.js'
2499
2498
  /* webpackChunkName: "project-suspended" */
2500
2499
  );
2501
2500
  });
@@ -3841,7 +3840,7 @@ var pimIndexerStates = {
3841
3840
  };
3842
3841
 
3843
3842
  var QuickAccess = /*#__PURE__*/lazy(function () {
3844
- return import('./quick-access-7e849881.esm.js'
3843
+ return import('./quick-access-c1bcf1d4.esm.js'
3845
3844
  /* webpackChunkName: "quick-access" */
3846
3845
  );
3847
3846
  });
@@ -4639,4 +4638,4 @@ var SuspendedRoute = function SuspendedRoute(props) {
4639
4638
 
4640
4639
  SuspendedRoute.displayName = 'SuspendedRoute';
4641
4640
 
4642
- export { ApplicationShell as A, ButlerContainer as B, ConfigureIntlProvider as C, GtmContext as G, InjectReducers as I, ProjectSwitcher as P, SetupFlopFlipProvider as S, ApplicationShellProvider as a, GtmUserLogoutTracker as b, createApolloContextForProxyForwardTo as c, SuspendedRoute as d, useMcLazyQuery as e, useMcMutation as f, pimIndexerStates as p, setupGlobalErrorListener as s, useMcQuery as u };
4641
+ export { ApplicationShell as A, ButlerContainer as B, ConfigureIntlProvider as C, GtmContext as G, InjectReducers as I, ProjectSwitcher as P, SetupFlopFlipProvider as S, ApplicationShellProvider as a, ApplicationPageTitle as b, createApolloContextForProxyForwardTo as c, GtmUserLogoutTracker as d, SuspendedRoute as e, useMcLazyQuery as f, useMcMutation as g, pimIndexerStates as p, setupGlobalErrorListener as s, useMcQuery as u };
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var applicationEntryPoint = require('./application-entry-point-d7ed60b0.cjs.prod.js');
3
+ var applicationEntryPoint = require('./application-entry-point-8914057c.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');
@@ -1053,17 +1053,15 @@ var defaultProps$1 = {
1053
1053
  additionalParts: []
1054
1054
  };
1055
1055
 
1056
- var usePageTitle = function usePageTitle(props) {
1057
- var _context, _context3;
1058
-
1059
- var location = reactRouterDom.useLocation();
1056
+ var getPageTitle = function getPageTitle(pathname, additionalParts) {
1057
+ var _context2;
1060
1058
 
1061
- var _location$pathname$sp = location.pathname.split('/'),
1062
- _location$pathname$sp2 = _slicedToArray(_location$pathname$sp, 3),
1063
- projectKeyOrStaticPath = _location$pathname$sp2[1],
1064
- entryPointUriPath = _location$pathname$sp2[2];
1059
+ var _pathname$split = pathname.split('/'),
1060
+ _pathname$split2 = _slicedToArray(_pathname$split, 3),
1061
+ projectKeyOrStaticPath = _pathname$split2[1],
1062
+ entryPointUriPath = _pathname$split2[2];
1065
1063
 
1066
- var customTitleParts = _mapInstanceProperty__default["default"](_context = props.additionalParts).call(_context, function (titlePart) {
1064
+ var customTitleParts = _mapInstanceProperty__default["default"](additionalParts).call(additionalParts, function (titlePart) {
1067
1065
  if (titlePart.length <= maxTitleCharLength) {
1068
1066
  return titlePart;
1069
1067
  }
@@ -1072,19 +1070,20 @@ var usePageTitle = function usePageTitle(props) {
1072
1070
  });
1073
1071
 
1074
1072
  if (_includesInstanceProperty__default["default"](staticPaths).call(staticPaths, projectKeyOrStaticPath)) {
1075
- var _context2;
1073
+ var _context;
1076
1074
 
1077
- return _concatInstanceProperty__default["default"](_context2 = []).call(_context2, _toConsumableArray(customTitleParts || []), [upperFirst__default["default"](projectKeyOrStaticPath), 'Merchant Center']).join(' - ');
1075
+ return _concatInstanceProperty__default["default"](_context = []).call(_context, _toConsumableArray(customTitleParts || []), [upperFirst__default["default"](projectKeyOrStaticPath), 'Merchant Center']).join(' - ');
1078
1076
  }
1079
1077
 
1080
- return _concatInstanceProperty__default["default"](_context3 = []).call(_context3, _toConsumableArray(customTitleParts || []), [upperFirst__default["default"](entryPointUriPath), projectKeyOrStaticPath, 'Merchant Center']).join(' - ');
1078
+ return _concatInstanceProperty__default["default"](_context2 = []).call(_context2, _toConsumableArray(customTitleParts || []), [upperFirst__default["default"](entryPointUriPath), projectKeyOrStaticPath, 'Merchant Center']).join(' - ');
1081
1079
  };
1082
1080
 
1083
1081
  var ApplicationPageTitle = function ApplicationPageTitle(props) {
1084
- var pageTitle = usePageTitle(props);
1082
+ var location = reactRouterDom.useLocation();
1085
1083
  react.useLayoutEffect(function () {
1084
+ var pageTitle = getPageTitle(location.pathname, props.additionalParts);
1086
1085
  document.title = pageTitle;
1087
- }, [pageTitle]);
1086
+ }, [location.pathname, props.additionalParts]);
1088
1087
  return null;
1089
1088
  };
1090
1089
 
@@ -2404,19 +2403,19 @@ var LocaleSwitcher = function LocaleSwitcher(props) {
2404
2403
  LocaleSwitcher.propTypes = {};
2405
2404
 
2406
2405
  var ProjectNotFound = /*#__PURE__*/react.lazy(function () {
2407
- return Promise.resolve().then(function () { return require('./project-not-found-1bb414bd.cjs.prod.js'
2406
+ return Promise.resolve().then(function () { return require('./project-not-found-7b246064.cjs.prod.js'
2408
2407
  /* webpackChunkName: "project-not-found" */
2409
2408
  ); });
2410
2409
  });
2411
2410
 
2412
2411
  var ProjectExpired = /*#__PURE__*/react.lazy(function () {
2413
- return Promise.resolve().then(function () { return require('./project-expired-b70d0be4.cjs.prod.js'
2412
+ return Promise.resolve().then(function () { return require('./project-expired-3052360c.cjs.prod.js'
2414
2413
  /* webpackChunkName: "project-expired" */
2415
2414
  ); });
2416
2415
  });
2417
2416
 
2418
2417
  var ProjectNotInitialized = /*#__PURE__*/react.lazy(function () {
2419
- return Promise.resolve().then(function () { return require('./project-not-initialized-730e8f66.cjs.prod.js'
2418
+ return Promise.resolve().then(function () { return require('./project-not-initialized-8bfb5a7f.cjs.prod.js'
2420
2419
  /* webpackChunkName: "project-not-initialized" */
2421
2420
  ); });
2422
2421
  });
@@ -2463,7 +2462,7 @@ var RedirectToProjectCreate = function RedirectToProjectCreate() {
2463
2462
  RedirectToProjectCreate.displayName = 'RedirectToProjectCreate';
2464
2463
 
2465
2464
  var ProjectSuspended = /*#__PURE__*/react.lazy(function () {
2466
- return Promise.resolve().then(function () { return require('./project-suspended-021b826a.cjs.prod.js'
2465
+ return Promise.resolve().then(function () { return require('./project-suspended-531ea8d4.cjs.prod.js'
2467
2466
  /* webpackChunkName: "project-suspended" */
2468
2467
  ); });
2469
2468
  });
@@ -3708,7 +3707,7 @@ var pimIndexerStates = {
3708
3707
  };
3709
3708
 
3710
3709
  var QuickAccess = /*#__PURE__*/react.lazy(function () {
3711
- return Promise.resolve().then(function () { return require('./quick-access-06faafe4.cjs.prod.js'
3710
+ return Promise.resolve().then(function () { return require('./quick-access-126b87ae.cjs.prod.js'
3712
3711
  /* webpackChunkName: "quick-access" */
3713
3712
  ); });
3714
3713
  });
@@ -4457,6 +4456,7 @@ var SuspendedRoute = function SuspendedRoute(props) {
4457
4456
 
4458
4457
  SuspendedRoute.displayName = 'SuspendedRoute';
4459
4458
 
4459
+ exports.ApplicationPageTitle = ApplicationPageTitle;
4460
4460
  exports.ApplicationShell = ApplicationShell;
4461
4461
  exports.ApplicationShellProvider = ApplicationShellProvider;
4462
4462
  exports.ButlerContainer = ButlerContainer;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var applicationEntryPoint = require('./application-entry-point-379ddfbf.cjs.dev.js');
3
+ var applicationEntryPoint = require('./application-entry-point-357edcbf.cjs.dev.js');
4
4
  var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
5
5
  var _styled = require('@emotion/styled/base');
6
6
  var _pt = require('prop-types');
@@ -1059,17 +1059,15 @@ var defaultProps$1 = {
1059
1059
  additionalParts: []
1060
1060
  };
1061
1061
 
1062
- var usePageTitle = function usePageTitle(props) {
1063
- var _context, _context3;
1064
-
1065
- var location = reactRouterDom.useLocation();
1062
+ var getPageTitle = function getPageTitle(pathname, additionalParts) {
1063
+ var _context2;
1066
1064
 
1067
- var _location$pathname$sp = location.pathname.split('/'),
1068
- _location$pathname$sp2 = _slicedToArray(_location$pathname$sp, 3),
1069
- projectKeyOrStaticPath = _location$pathname$sp2[1],
1070
- entryPointUriPath = _location$pathname$sp2[2];
1065
+ var _pathname$split = pathname.split('/'),
1066
+ _pathname$split2 = _slicedToArray(_pathname$split, 3),
1067
+ projectKeyOrStaticPath = _pathname$split2[1],
1068
+ entryPointUriPath = _pathname$split2[2];
1071
1069
 
1072
- var customTitleParts = _mapInstanceProperty__default["default"](_context = props.additionalParts).call(_context, function (titlePart) {
1070
+ var customTitleParts = _mapInstanceProperty__default["default"](additionalParts).call(additionalParts, function (titlePart) {
1073
1071
  if (titlePart.length <= maxTitleCharLength) {
1074
1072
  return titlePart;
1075
1073
  }
@@ -1078,19 +1076,20 @@ var usePageTitle = function usePageTitle(props) {
1078
1076
  });
1079
1077
 
1080
1078
  if (_includesInstanceProperty__default["default"](staticPaths).call(staticPaths, projectKeyOrStaticPath)) {
1081
- var _context2;
1079
+ var _context;
1082
1080
 
1083
- return _concatInstanceProperty__default["default"](_context2 = []).call(_context2, _toConsumableArray(customTitleParts || []), [upperFirst__default["default"](projectKeyOrStaticPath), 'Merchant Center']).join(' - ');
1081
+ return _concatInstanceProperty__default["default"](_context = []).call(_context, _toConsumableArray(customTitleParts || []), [upperFirst__default["default"](projectKeyOrStaticPath), 'Merchant Center']).join(' - ');
1084
1082
  }
1085
1083
 
1086
- return _concatInstanceProperty__default["default"](_context3 = []).call(_context3, _toConsumableArray(customTitleParts || []), [upperFirst__default["default"](entryPointUriPath), projectKeyOrStaticPath, 'Merchant Center']).join(' - ');
1084
+ return _concatInstanceProperty__default["default"](_context2 = []).call(_context2, _toConsumableArray(customTitleParts || []), [upperFirst__default["default"](entryPointUriPath), projectKeyOrStaticPath, 'Merchant Center']).join(' - ');
1087
1085
  };
1088
1086
 
1089
1087
  var ApplicationPageTitle = function ApplicationPageTitle(props) {
1090
- var pageTitle = usePageTitle(props);
1088
+ var location = reactRouterDom.useLocation();
1091
1089
  react.useLayoutEffect(function () {
1090
+ var pageTitle = getPageTitle(location.pathname, props.additionalParts);
1092
1091
  document.title = pageTitle;
1093
- }, [pageTitle]);
1092
+ }, [location.pathname, props.additionalParts]);
1094
1093
  return null;
1095
1094
  };
1096
1095
 
@@ -2498,19 +2497,19 @@ LocaleSwitcher.propTypes = process.env.NODE_ENV !== "production" ? {
2498
2497
  } : {};
2499
2498
 
2500
2499
  var ProjectNotFound = /*#__PURE__*/react.lazy(function () {
2501
- return Promise.resolve().then(function () { return require('./project-not-found-f4588a92.cjs.dev.js'
2500
+ return Promise.resolve().then(function () { return require('./project-not-found-d6b078fe.cjs.dev.js'
2502
2501
  /* webpackChunkName: "project-not-found" */
2503
2502
  ); });
2504
2503
  });
2505
2504
 
2506
2505
  var ProjectExpired = /*#__PURE__*/react.lazy(function () {
2507
- return Promise.resolve().then(function () { return require('./project-expired-884349ac.cjs.dev.js'
2506
+ return Promise.resolve().then(function () { return require('./project-expired-e2deb0f4.cjs.dev.js'
2508
2507
  /* webpackChunkName: "project-expired" */
2509
2508
  ); });
2510
2509
  });
2511
2510
 
2512
2511
  var ProjectNotInitialized = /*#__PURE__*/react.lazy(function () {
2513
- return Promise.resolve().then(function () { return require('./project-not-initialized-e14aec3c.cjs.dev.js'
2512
+ return Promise.resolve().then(function () { return require('./project-not-initialized-8e0d9015.cjs.dev.js'
2514
2513
  /* webpackChunkName: "project-not-initialized" */
2515
2514
  ); });
2516
2515
  });
@@ -2557,7 +2556,7 @@ var RedirectToProjectCreate = function RedirectToProjectCreate() {
2557
2556
  RedirectToProjectCreate.displayName = 'RedirectToProjectCreate';
2558
2557
 
2559
2558
  var ProjectSuspended = /*#__PURE__*/react.lazy(function () {
2560
- return Promise.resolve().then(function () { return require('./project-suspended-9dc74eb9.cjs.dev.js'
2559
+ return Promise.resolve().then(function () { return require('./project-suspended-6fef215f.cjs.dev.js'
2561
2560
  /* webpackChunkName: "project-suspended" */
2562
2561
  ); });
2563
2562
  });
@@ -3903,7 +3902,7 @@ var pimIndexerStates = {
3903
3902
  };
3904
3903
 
3905
3904
  var QuickAccess = /*#__PURE__*/react.lazy(function () {
3906
- return Promise.resolve().then(function () { return require('./quick-access-529bfe5e.cjs.dev.js'
3905
+ return Promise.resolve().then(function () { return require('./quick-access-0069b1d7.cjs.dev.js'
3907
3906
  /* webpackChunkName: "quick-access" */
3908
3907
  ); });
3909
3908
  });
@@ -4701,6 +4700,7 @@ var SuspendedRoute = function SuspendedRoute(props) {
4701
4700
 
4702
4701
  SuspendedRoute.displayName = 'SuspendedRoute';
4703
4702
 
4703
+ exports.ApplicationPageTitle = ApplicationPageTitle;
4704
4704
  exports.ApplicationShell = ApplicationShell;
4705
4705
  exports.ApplicationShellProvider = ApplicationShellProvider;
4706
4706
  exports.ButlerContainer = ButlerContainer;
@@ -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-3faeb457.esm.js';
13
+ import { S as ServicePageProjectSwitcher } from './service-page-project-switcher-83f138af.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-aee304c6.esm.js';
19
- import './application-entry-point-0de0fed2.esm.js';
18
+ import './index-33893109.esm.js';
19
+ import './application-entry-point-ede05690.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-38236d62.cjs.prod.js');
15
+ var servicePageProjectSwitcher = require('./service-page-project-switcher-a788f738.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-23885269.cjs.prod.js');
21
- require('./application-entry-point-d7ed60b0.cjs.prod.js');
20
+ require('./index-40a2f8e6.cjs.prod.js');
21
+ require('./application-entry-point-8914057c.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-5c01b213.cjs.dev.js');
15
+ var servicePageProjectSwitcher = require('./service-page-project-switcher-5335c3a7.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-bf785dc5.cjs.dev.js');
21
- require('./application-entry-point-379ddfbf.cjs.dev.js');
20
+ require('./index-78444791.cjs.dev.js');
21
+ require('./application-entry-point-357edcbf.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 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-38236d62.cjs.prod.js');
15
+ var servicePageProjectSwitcher = require('./service-page-project-switcher-a788f738.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-23885269.cjs.prod.js');
21
- require('./application-entry-point-d7ed60b0.cjs.prod.js');
20
+ require('./index-40a2f8e6.cjs.prod.js');
21
+ require('./application-entry-point-8914057c.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-3faeb457.esm.js';
13
+ import { S as ServicePageProjectSwitcher } from './service-page-project-switcher-83f138af.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-aee304c6.esm.js';
19
- import './application-entry-point-0de0fed2.esm.js';
18
+ import './index-33893109.esm.js';
19
+ import './application-entry-point-ede05690.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 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-5c01b213.cjs.dev.js');
15
+ var servicePageProjectSwitcher = require('./service-page-project-switcher-5335c3a7.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-bf785dc5.cjs.dev.js');
21
- require('./application-entry-point-379ddfbf.cjs.dev.js');
20
+ require('./index-78444791.cjs.dev.js');
21
+ require('./application-entry-point-357edcbf.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-3faeb457.esm.js';
13
+ import { S as ServicePageProjectSwitcher } from './service-page-project-switcher-83f138af.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-aee304c6.esm.js';
19
- import './application-entry-point-0de0fed2.esm.js';
18
+ import './index-33893109.esm.js';
19
+ import './application-entry-point-ede05690.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-38236d62.cjs.prod.js');
15
+ var servicePageProjectSwitcher = require('./service-page-project-switcher-a788f738.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-23885269.cjs.prod.js');
21
- require('./application-entry-point-d7ed60b0.cjs.prod.js');
20
+ require('./index-40a2f8e6.cjs.prod.js');
21
+ require('./application-entry-point-8914057c.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-5c01b213.cjs.dev.js');
15
+ var servicePageProjectSwitcher = require('./service-page-project-switcher-5335c3a7.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-bf785dc5.cjs.dev.js');
21
- require('./application-entry-point-379ddfbf.cjs.dev.js');
20
+ require('./index-78444791.cjs.dev.js');
21
+ require('./application-entry-point-357edcbf.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-3faeb457.esm.js';
13
+ import { S as ServicePageProjectSwitcher } from './service-page-project-switcher-83f138af.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-aee304c6.esm.js';
19
- import './application-entry-point-0de0fed2.esm.js';
18
+ import './index-33893109.esm.js';
19
+ import './application-entry-point-ede05690.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 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-38236d62.cjs.prod.js');
15
+ var servicePageProjectSwitcher = require('./service-page-project-switcher-a788f738.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-23885269.cjs.prod.js');
21
- require('./application-entry-point-d7ed60b0.cjs.prod.js');
20
+ require('./index-40a2f8e6.cjs.prod.js');
21
+ require('./application-entry-point-8914057c.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 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-5c01b213.cjs.dev.js');
15
+ var servicePageProjectSwitcher = require('./service-page-project-switcher-5335c3a7.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-bf785dc5.cjs.dev.js');
21
- require('./application-entry-point-379ddfbf.cjs.dev.js');
20
+ require('./index-78444791.cjs.dev.js');
21
+ require('./application-entry-point-357edcbf.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-379ddfbf.cjs.dev.js');
27
+ var applicationEntryPoint = require('./application-entry-point-357edcbf.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-bf785dc5.cjs.dev.js');
46
+ var dist_commercetoolsFrontendApplicationShell = require('./index-78444791.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');
@@ -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-d7ed60b0.cjs.prod.js');
27
+ var applicationEntryPoint = require('./application-entry-point-8914057c.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-23885269.cjs.prod.js');
46
+ var dist_commercetoolsFrontendApplicationShell = require('./index-40a2f8e6.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');
@@ -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-0de0fed2.esm.js';
25
+ import { c as location } from './application-entry-point-ede05690.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-aee304c6.esm.js';
44
+ import { B as ButlerContainer, p as pimIndexerStates } from './index-33893109.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';
@@ -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-bf785dc5.cjs.dev.js');
6
+ var dist_commercetoolsFrontendApplicationShell = require('./index-78444791.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 }; }
@@ -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-aee304c6.esm.js';
4
+ import { P as ProjectSwitcher } from './index-33893109.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-23885269.cjs.prod.js');
6
+ var dist_commercetoolsFrontendApplicationShell = require('./index-40a2f8e6.cjs.prod.js');
7
7
  var jsxRuntime = require('@emotion/react/jsx-runtime');
8
8
 
9
9
  function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/application-shell",
3
- "version": "21.14.0",
3
+ "version": "21.14.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": {
@@ -33,21 +33,21 @@
33
33
  "dependencies": {
34
34
  "@babel/runtime": "^7.18.6",
35
35
  "@babel/runtime-corejs3": "^7.18.6",
36
- "@commercetools-frontend/actions-global": "21.14.0",
37
- "@commercetools-frontend/application-components": "21.14.0",
38
- "@commercetools-frontend/application-config": "21.14.0",
39
- "@commercetools-frontend/application-shell-connectors": "21.14.0",
40
- "@commercetools-frontend/assets": "21.14.0",
41
- "@commercetools-frontend/browser-history": "21.14.0",
42
- "@commercetools-frontend/constants": "21.14.0",
43
- "@commercetools-frontend/i18n": "21.14.0",
44
- "@commercetools-frontend/l10n": "21.14.0",
45
- "@commercetools-frontend/notifications": "21.14.0",
46
- "@commercetools-frontend/permissions": "21.14.0",
47
- "@commercetools-frontend/react-notifications": "21.14.0",
48
- "@commercetools-frontend/sdk": "21.14.0",
49
- "@commercetools-frontend/sentry": "21.14.0",
50
- "@commercetools-frontend/url-utils": "21.14.0",
36
+ "@commercetools-frontend/actions-global": "21.14.1",
37
+ "@commercetools-frontend/application-components": "21.14.1",
38
+ "@commercetools-frontend/application-config": "21.14.1",
39
+ "@commercetools-frontend/application-shell-connectors": "21.14.1",
40
+ "@commercetools-frontend/assets": "21.14.1",
41
+ "@commercetools-frontend/browser-history": "21.14.1",
42
+ "@commercetools-frontend/constants": "21.14.1",
43
+ "@commercetools-frontend/i18n": "21.14.1",
44
+ "@commercetools-frontend/l10n": "21.14.1",
45
+ "@commercetools-frontend/notifications": "21.14.1",
46
+ "@commercetools-frontend/permissions": "21.14.1",
47
+ "@commercetools-frontend/react-notifications": "21.14.1",
48
+ "@commercetools-frontend/sdk": "21.14.1",
49
+ "@commercetools-frontend/sentry": "21.14.1",
50
+ "@commercetools-frontend/url-utils": "21.14.1",
51
51
  "@commercetools-uikit/accessible-hidden": "^15.1.0",
52
52
  "@commercetools-uikit/avatar": "^15.1.0",
53
53
  "@commercetools-uikit/card": "^15.1.0",
@@ -91,7 +91,7 @@
91
91
  "lodash": "4.17.21",
92
92
  "memoize-one": "5.2.1",
93
93
  "moment": "^2.29.4",
94
- "moment-timezone": "^0.5.34",
94
+ "moment-timezone": "^0.5.35",
95
95
  "omit-empty-es": "1.1.3",
96
96
  "perfume.js": "6.4.0",
97
97
  "prop-types": "15.8.1",
@@ -36,7 +36,7 @@ var reactNotifications = require('@commercetools-frontend/react-notifications');
36
36
  var constants = require('@commercetools-frontend/constants');
37
37
  var testUtils = require('@commercetools-frontend/sdk/test-utils');
38
38
  var ssr = require('@commercetools-frontend/application-config/ssr');
39
- var applicationEntryPoint = require('../../dist/application-entry-point-379ddfbf.cjs.dev.js');
39
+ var applicationEntryPoint = require('../../dist/application-entry-point-357edcbf.cjs.dev.js');
40
40
  var jsxRuntime = require('@emotion/react/jsx-runtime');
41
41
  require('@babel/runtime-corejs3/helpers/slicedToArray');
42
42
  require('@babel/runtime-corejs3/core-js-stable/object/entries');
@@ -36,7 +36,7 @@ var reactNotifications = require('@commercetools-frontend/react-notifications');
36
36
  var constants = require('@commercetools-frontend/constants');
37
37
  var testUtils = require('@commercetools-frontend/sdk/test-utils');
38
38
  var ssr = require('@commercetools-frontend/application-config/ssr');
39
- var applicationEntryPoint = require('../../dist/application-entry-point-d7ed60b0.cjs.prod.js');
39
+ var applicationEntryPoint = require('../../dist/application-entry-point-8914057c.cjs.prod.js');
40
40
  var jsxRuntime = require('@emotion/react/jsx-runtime');
41
41
  require('@babel/runtime-corejs3/helpers/slicedToArray');
42
42
  require('@babel/runtime-corejs3/core-js-stable/object/entries');
@@ -33,7 +33,7 @@ import { NotificationProviderForCustomComponent, NotificationsList } from '@comm
33
33
  import { DOMAINS } from '@commercetools-frontend/constants';
34
34
  import { createTestMiddleware } from '@commercetools-frontend/sdk/test-utils';
35
35
  import { entryPointUriPathToPermissionKeys } from '@commercetools-frontend/application-config/ssr';
36
- import { A as ApplicationEntryPoint, z as createReduxStore, f as createApolloClient } from '../../dist/application-entry-point-0de0fed2.esm.js';
36
+ import { A as ApplicationEntryPoint, z as createReduxStore, f as createApolloClient } from '../../dist/application-entry-point-ede05690.esm.js';
37
37
  import { jsx, Fragment, jsxs } from '@emotion/react/jsx-runtime';
38
38
  import '@babel/runtime-corejs3/helpers/slicedToArray';
39
39
  import '@babel/runtime-corejs3/core-js-stable/object/entries';