@commercetools-frontend/application-shell 22.36.0 → 22.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/dist/{application-entry-point-547561a2.cjs.dev.js → application-entry-point-83140459.cjs.dev.js} +7 -3
  2. package/dist/{application-entry-point-54a9664f.esm.js → application-entry-point-bf13611d.esm.js} +7 -3
  3. package/dist/commercetools-frontend-application-shell.cjs.dev.js +1 -1
  4. package/dist/commercetools-frontend-application-shell.cjs.prod.js +1 -1
  5. package/dist/commercetools-frontend-application-shell.esm.js +1 -1
  6. package/dist/{custom-view-dev-host-cd2ee607.esm.js → custom-view-dev-host-28296b93.esm.js} +1 -1
  7. package/dist/{custom-view-dev-host-8856a4de.cjs.prod.js → custom-view-dev-host-c3553291.cjs.prod.js} +1 -1
  8. package/dist/{custom-view-dev-host-db714f3b.cjs.dev.js → custom-view-dev-host-dc096f4b.cjs.dev.js} +1 -1
  9. package/dist/declarations/src/components/application-page-title/application-page-title.d.ts +2 -3
  10. package/dist/declarations/src/components/inject-reducers/inject-reducers.d.ts +2 -3
  11. package/dist/declarations/src/components/navbar/menu-items.d.ts +3 -5
  12. package/dist/{error-apologizer-f6793491.cjs.dev.js → error-apologizer-1f6f7df4.cjs.prod.js} +4 -4
  13. package/dist/{error-apologizer-84dc825c.cjs.prod.js → error-apologizer-3c7ded7d.cjs.dev.js} +4 -4
  14. package/dist/{error-apologizer-76f087f4.esm.js → error-apologizer-8a4b7078.esm.js} +4 -4
  15. package/dist/{index-7792b59f.cjs.dev.js → index-4d2cd8af.cjs.dev.js} +38 -45
  16. package/dist/{index-7ee1cb4b.cjs.prod.js → index-658a8571.cjs.prod.js} +38 -45
  17. package/dist/{index-3af11528.esm.js → index-b8d7b0f7.esm.js} +38 -45
  18. package/dist/{navbar-1465f182.cjs.prod.js → navbar-471b2d55.cjs.prod.js} +25 -21
  19. package/dist/{navbar-62d10e1c.cjs.dev.js → navbar-4b46fe69.cjs.dev.js} +28 -24
  20. package/dist/{navbar-7b53adec.esm.js → navbar-7bdb6674.esm.js} +28 -24
  21. package/dist/{oidc-callback-4240ba65.cjs.dev.js → oidc-callback-145f9bfd.cjs.dev.js} +1 -1
  22. package/dist/{oidc-callback-b2115e6e.esm.js → oidc-callback-6930da2f.esm.js} +1 -1
  23. package/dist/{oidc-callback-4ec72b1c.cjs.prod.js → oidc-callback-d181b6b4.cjs.prod.js} +1 -1
  24. package/dist/{project-container-c33aaff1.cjs.prod.js → project-container-3751ad22.cjs.prod.js} +12 -15
  25. package/dist/{project-container-8a9f08a9.cjs.dev.js → project-container-4324878f.cjs.dev.js} +13 -16
  26. package/dist/{project-container-2a140726.esm.js → project-container-c811c1fb.esm.js} +13 -16
  27. package/dist/{project-expired-9491c103.cjs.dev.js → project-expired-573cb808.cjs.dev.js} +6 -6
  28. package/dist/{project-expired-88adde7c.esm.js → project-expired-94f17c78.esm.js} +6 -6
  29. package/dist/{project-expired-21868dbd.cjs.prod.js → project-expired-ea81591f.cjs.prod.js} +6 -6
  30. package/dist/{project-not-found-1845a2f5.cjs.dev.js → project-not-found-5e4d9b8e.cjs.dev.js} +8 -8
  31. package/dist/{project-not-found-73e79bd2.cjs.prod.js → project-not-found-65f14725.cjs.prod.js} +8 -8
  32. package/dist/{project-not-found-469cab02.esm.js → project-not-found-e8dc2e03.esm.js} +8 -8
  33. package/dist/{project-not-initialized-1be1e704.esm.js → project-not-initialized-1e6886b0.esm.js} +6 -6
  34. package/dist/{project-not-initialized-8e6f8fdd.cjs.dev.js → project-not-initialized-41623b2a.cjs.dev.js} +6 -6
  35. package/dist/{project-not-initialized-a1a80608.cjs.prod.js → project-not-initialized-7d020d44.cjs.prod.js} +6 -6
  36. package/dist/{project-suspended-98d40369.cjs.dev.js → project-suspended-6c0fdc26.cjs.dev.js} +8 -8
  37. package/dist/{project-suspended-e5c1a691.cjs.prod.js → project-suspended-bd697466.cjs.prod.js} +8 -8
  38. package/dist/{project-suspended-020c34de.esm.js → project-suspended-f1951de9.esm.js} +8 -8
  39. package/dist/{quick-access-5028688d.cjs.dev.js → quick-access-249a0084.cjs.dev.js} +123 -123
  40. package/dist/{quick-access-f9a5cb61.esm.js → quick-access-4fe70e35.esm.js} +123 -123
  41. package/dist/{quick-access-66a23e36.cjs.prod.js → quick-access-91e915f9.cjs.prod.js} +123 -123
  42. package/dist/{redirect-to-logout-094bbd95.cjs.dev.js → redirect-to-logout-339b312b.cjs.dev.js} +1 -1
  43. package/dist/{redirect-to-logout-97d5d294.esm.js → redirect-to-logout-384d200e.esm.js} +1 -1
  44. package/dist/{redirect-to-logout-6c113cef.cjs.prod.js → redirect-to-logout-923481be.cjs.prod.js} +1 -1
  45. package/dist/{requests-in-flight-loader-5737b1e8.cjs.dev.js → requests-in-flight-loader-37572fc9.cjs.dev.js} +3 -4
  46. package/dist/{requests-in-flight-loader-b3195773.cjs.prod.js → requests-in-flight-loader-6623cdb0.cjs.prod.js} +3 -4
  47. package/dist/{requests-in-flight-loader-59c524d0.esm.js → requests-in-flight-loader-fdb9c655.esm.js} +3 -4
  48. package/dist/{service-page-project-switcher-5ecc5252.cjs.prod.js → service-page-project-switcher-89ced286.cjs.prod.js} +1 -1
  49. package/dist/{service-page-project-switcher-774f933f.cjs.dev.js → service-page-project-switcher-a7386e47.cjs.dev.js} +1 -1
  50. package/dist/{service-page-project-switcher-76726e49.esm.js → service-page-project-switcher-c6e2df4d.esm.js} +1 -1
  51. package/dist/{user-settings-menu-dc94ceb2.esm.js → user-settings-menu-15c0d82b.esm.js} +12 -18
  52. package/dist/{user-settings-menu-a0813186.cjs.dev.js → user-settings-menu-4ff11354.cjs.dev.js} +12 -18
  53. package/dist/{user-settings-menu-ead5fed2.cjs.prod.js → user-settings-menu-9c195d53.cjs.prod.js} +12 -18
  54. package/package.json +17 -17
  55. package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.dev.js +1 -1
  56. package/test-utils/dist/commercetools-frontend-application-shell-test-utils.esm.js +1 -1
@@ -78,9 +78,13 @@ const ApplicationEntryPoint = props => {
78
78
  process.env.NODE_ENV === 'production' ? null : jsxRuntime.jsx(reactRouterDom.Route, {
79
79
  exact: true,
80
80
  path: "/:projectKey",
81
- render: () => jsxRuntime.jsx(reactRouterDom.Redirect, {
82
- to: `/:projectKey/${entryPointUriPath}`
83
- })
81
+ render: _ref => {
82
+ let match = _ref.match;
83
+ const projectKey = match.params.projectKey;
84
+ return jsxRuntime.jsx(reactRouterDom.Redirect, {
85
+ to: `/${projectKey}/${entryPointUriPath}`
86
+ });
87
+ }
84
88
  }), jsxRuntime.jsx(reactRouterDom.Route, {
85
89
  path: `/:projectKey/${entryPointUriPath}`,
86
90
  children: jsxRuntime.jsx(ApplicationRoute, _objectSpread({}, props))
@@ -63,9 +63,13 @@ const ApplicationEntryPoint = props => {
63
63
  process.env.NODE_ENV === 'production' ? null : jsx(Route, {
64
64
  exact: true,
65
65
  path: "/:projectKey",
66
- render: () => jsx(Redirect, {
67
- to: `/:projectKey/${entryPointUriPath}`
68
- })
66
+ render: _ref => {
67
+ let match = _ref.match;
68
+ const projectKey = match.params.projectKey;
69
+ return jsx(Redirect, {
70
+ to: `/${projectKey}/${entryPointUriPath}`
71
+ });
72
+ }
69
73
  }), jsx(Route, {
70
74
  path: `/:projectKey/${entryPointUriPath}`,
71
75
  children: jsx(ApplicationRoute, _objectSpread({}, props))
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var dist_commercetoolsFrontendApplicationShell = require('./index-7792b59f.cjs.dev.js');
5
+ var dist_commercetoolsFrontendApplicationShell = require('./index-4d2cd8af.cjs.dev.js');
6
6
  var index = require('./index-b1476d46.cjs.dev.js');
7
7
  var applicationShellConnectors = require('@commercetools-frontend/application-shell-connectors');
8
8
  var ssr = require('@commercetools-frontend/application-config/ssr');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var dist_commercetoolsFrontendApplicationShell = require('./index-7ee1cb4b.cjs.prod.js');
5
+ var dist_commercetoolsFrontendApplicationShell = require('./index-658a8571.cjs.prod.js');
6
6
  var index = require('./index-91985d64.cjs.prod.js');
7
7
  var applicationShellConnectors = require('@commercetools-frontend/application-shell-connectors');
8
8
  var ssr = require('@commercetools-frontend/application-config/ssr');
@@ -1,4 +1,4 @@
1
- export { f as ApplicationPageTitle, A as ApplicationShell, e as ApplicationShellProvider, C as ConfigureIntlProvider, h as CustomViewShell, j as ErrorApologizer, i as FetchUser, I as InjectReducers, R as RedirectToLogin, k as RedirectToLogout, S as SetupFlopFlipProvider, l as SuspendedRoute, g as getBrowserLocale, m as getPreviousProjectKey, s as setupGlobalErrorListener, u as useRoutesCreator, v as version } from './index-3af11528.esm.js';
1
+ export { f as ApplicationPageTitle, A as ApplicationShell, e as ApplicationShellProvider, C as ConfigureIntlProvider, h as CustomViewShell, j as ErrorApologizer, i as FetchUser, I as InjectReducers, R as RedirectToLogin, k as RedirectToLogout, S as SetupFlopFlipProvider, l as SuspendedRoute, g as getBrowserLocale, m as getPreviousProjectKey, s as setupGlobalErrorListener, u as useRoutesCreator, v as version } from './index-b8d7b0f7.esm.js';
2
2
  export { R as RouteCatchAll, a as applyDefaultMiddlewares } from './index-b6081c20.esm.js';
3
3
  export { buildApiUrl, createApolloClient, createApolloContextForProxyForwardTo, createHttpClientOptions, executeHttpClientRequest, getMcApiUrl, selectProjectKeyFromUrl, selectUserId, useMcLazyQuery, useMcMutation, useMcQuery } from '@commercetools-frontend/application-shell-connectors';
4
4
  export { entryPointUriPathToPermissionKeys, entryPointUriPathToResourceAccesses } from '@commercetools-frontend/application-config/ssr';
@@ -9,7 +9,7 @@ import Constraints from '@commercetools-uikit/constraints';
9
9
  import PrimaryButton from '@commercetools-uikit/primary-button';
10
10
  import Spacings from '@commercetools-uikit/spacings';
11
11
  import Text from '@commercetools-uikit/text';
12
- import { A as ApplicationShell } from './index-3af11528.esm.js';
12
+ import { A as ApplicationShell } from './index-b8d7b0f7.esm.js';
13
13
  import { jsx, jsxs, Fragment } from '@emotion/react/jsx-runtime';
14
14
  import './index-b6081c20.esm.js';
15
15
  import '@babel/runtime-corejs3/core-js-stable/object/keys';
@@ -11,7 +11,7 @@ var Constraints = require('@commercetools-uikit/constraints');
11
11
  var PrimaryButton = require('@commercetools-uikit/primary-button');
12
12
  var Spacings = require('@commercetools-uikit/spacings');
13
13
  var Text = require('@commercetools-uikit/text');
14
- var dist_commercetoolsFrontendApplicationShell = require('./index-7ee1cb4b.cjs.prod.js');
14
+ var dist_commercetoolsFrontendApplicationShell = require('./index-658a8571.cjs.prod.js');
15
15
  var jsxRuntime = require('@emotion/react/jsx-runtime');
16
16
  require('./index-91985d64.cjs.prod.js');
17
17
  require('@babel/runtime-corejs3/core-js-stable/object/keys');
@@ -11,7 +11,7 @@ var Constraints = require('@commercetools-uikit/constraints');
11
11
  var PrimaryButton = require('@commercetools-uikit/primary-button');
12
12
  var Spacings = require('@commercetools-uikit/spacings');
13
13
  var Text = require('@commercetools-uikit/text');
14
- var dist_commercetoolsFrontendApplicationShell = require('./index-7792b59f.cjs.dev.js');
14
+ var dist_commercetoolsFrontendApplicationShell = require('./index-4d2cd8af.cjs.dev.js');
15
15
  var jsxRuntime = require('@emotion/react/jsx-runtime');
16
16
  require('./index-b1476d46.cjs.dev.js');
17
17
  require('@babel/runtime-corejs3/core-js-stable/object/keys');
@@ -15,11 +15,10 @@ type TApplicationPageTitleProps = {
15
15
  * <ApplicationPageTitle additionalParts={['T-Shirt red']} />
16
16
  * // T-Shirt red - Products - my-shop - Merchant Center
17
17
  */
18
- additionalParts: string[];
18
+ additionalParts?: string[];
19
19
  };
20
20
  declare const ApplicationPageTitle: {
21
- (props: TApplicationPageTitleProps): null;
21
+ ({ additionalParts, }: TApplicationPageTitleProps): null;
22
22
  displayName: string;
23
- defaultProps: TApplicationPageTitleProps;
24
23
  };
25
24
  export default ApplicationPageTitle;
@@ -3,12 +3,11 @@ import type { ReducersMapObject } from 'redux';
3
3
  type Props = {
4
4
  id: string;
5
5
  reducers: ReducersMapObject;
6
- shouldCleanUpOnUnmount: boolean;
6
+ shouldCleanUpOnUnmount?: boolean;
7
7
  children: ReactNode;
8
8
  };
9
9
  declare const InjectReducers: {
10
- (props: Props): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element | null;
10
+ ({ shouldCleanUpOnUnmount, ...props }: Props): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element | null;
11
11
  displayName: string;
12
- defaultProps: Pick<Props, "shouldCleanUpOnUnmount">;
13
12
  };
14
13
  export default InjectReducers;
@@ -55,7 +55,7 @@ declare const MenuItem: {
55
55
  };
56
56
  export type MenuItemLinkProps = {
57
57
  linkTo?: string;
58
- exactMatch: boolean;
58
+ exactMatch?: boolean;
59
59
  children: ReactNode;
60
60
  onClick?: (event: SyntheticEvent<HTMLAnchorElement>) => void;
61
61
  useFullRedirectsForLinks?: boolean;
@@ -63,9 +63,8 @@ export type MenuItemLinkProps = {
63
63
  isSubmenuFocused?: boolean;
64
64
  };
65
65
  declare const MenuItemLink: {
66
- (props: MenuItemLinkProps): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
66
+ ({ exactMatch, ...props }: MenuItemLinkProps): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
67
67
  displayName: string;
68
- defaultProps: Pick<MenuItemLinkProps, "exactMatch">;
69
68
  };
70
69
  type RestrictedMenuItemProps = {
71
70
  featureToggle?: string;
@@ -79,9 +78,8 @@ type RestrictedMenuItemProps = {
79
78
  children: ReactNode;
80
79
  };
81
80
  declare const RestrictedMenuItem: {
82
- (props: RestrictedMenuItemProps): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element | null;
81
+ ({ permissions, ...props }: RestrictedMenuItemProps): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element | null;
83
82
  displayName: string;
84
- defaultProps: Pick<RestrictedMenuItemProps, "permissions">;
85
83
  };
86
84
  type MenuLabelProps = {
87
85
  labelAllLocales: TLocalizedField[];
@@ -28,12 +28,12 @@ var UnexpectedErrorSVG__default = /*#__PURE__*/_interopDefault(UnexpectedErrorSV
28
28
 
29
29
  var messages = reactIntl.defineMessages({
30
30
  title: {
31
- id: 'ErrorApologizer.title',
32
- defaultMessage: 'Sorry! An unexpected error occured.'
31
+ id: "ErrorApologizer.title",
32
+ defaultMessage: "Sorry! An unexpected error occured."
33
33
  },
34
34
  notifiedTeam: {
35
- id: 'ErrorApologizer.notifiedTeam',
36
- defaultMessage: 'Our team has been notified about this issue.'
35
+ id: "ErrorApologizer.notifiedTeam",
36
+ defaultMessage: "Our team has been notified about this issue."
37
37
  }
38
38
  });
39
39
 
@@ -28,12 +28,12 @@ var UnexpectedErrorSVG__default = /*#__PURE__*/_interopDefault(UnexpectedErrorSV
28
28
 
29
29
  var messages = reactIntl.defineMessages({
30
30
  title: {
31
- id: 'ErrorApologizer.title',
32
- defaultMessage: 'Sorry! An unexpected error occured.'
31
+ id: "ErrorApologizer.title",
32
+ defaultMessage: "Sorry! An unexpected error occured."
33
33
  },
34
34
  notifiedTeam: {
35
- id: 'ErrorApologizer.notifiedTeam',
36
- defaultMessage: 'Our team has been notified about this issue.'
35
+ id: "ErrorApologizer.notifiedTeam",
36
+ defaultMessage: "Our team has been notified about this issue."
37
37
  }
38
38
  });
39
39
 
@@ -14,12 +14,12 @@ import { jsx } from '@emotion/react/jsx-runtime';
14
14
 
15
15
  var messages = defineMessages({
16
16
  title: {
17
- id: 'ErrorApologizer.title',
18
- defaultMessage: 'Sorry! An unexpected error occured.'
17
+ id: "ErrorApologizer.title",
18
+ defaultMessage: "Sorry! An unexpected error occured."
19
19
  },
20
20
  notifiedTeam: {
21
- id: 'ErrorApologizer.notifiedTeam',
22
- defaultMessage: 'Our team has been notified about this issue.'
21
+ id: "ErrorApologizer.notifiedTeam",
22
+ defaultMessage: "Our team has been notified about this issue."
23
23
  }
24
24
  });
25
25
 
@@ -111,9 +111,9 @@ var _JSON$stringify__default = /*#__PURE__*/_interopDefault(_JSON$stringify);
111
111
  var _someInstanceProperty__default = /*#__PURE__*/_interopDefault(_someInstanceProperty);
112
112
 
113
113
  // NOTE: This string will be replaced on build time with the package version.
114
- var version = "22.36.0";
114
+ var version = "22.38.0";
115
115
 
116
- const RequestsInFlightLoader = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./requests-in-flight-loader-5737b1e8.cjs.dev.js' /* webpackChunkName: "requests-in-flight-loader" */); }));
116
+ const RequestsInFlightLoader = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./requests-in-flight-loader-37572fc9.cjs.dev.js' /* webpackChunkName: "requests-in-flight-loader" */); }));
117
117
 
118
118
  // Attempt to load the `projectKey` from localStorage
119
119
  function selectProjectKeyFromLocalStorage() {
@@ -129,8 +129,8 @@ const getPreviousProjectKey = defaultProjectKeyOfUser => {
129
129
 
130
130
  var messages$1 = reactIntl.defineMessages({
131
131
  backToProjectLink: {
132
- id: 'AppBar.backToProjectLink',
133
- defaultMessage: 'Back to project'
132
+ id: "AppBar.backToProjectLink",
133
+ defaultMessage: "Back to project"
134
134
  }
135
135
  });
136
136
 
@@ -231,33 +231,28 @@ LoadingPlaceholder.displayName = 'LoadingPlaceholder';
231
231
 
232
232
  var messages = reactIntl.defineMessages({
233
233
  projectsLabel: {
234
- id: 'ProjectSwitcher.projectsLabel',
235
- description: 'The label for project dropdown switcher',
236
- defaultMessage: 'Projects'
234
+ id: "ProjectSwitcher.projectsLabel",
235
+ defaultMessage: "Projects"
237
236
  },
238
237
  searchPlaceholder: {
239
- id: 'ProjectSwitcher.searchPlaceholder',
240
- description: 'Projects filter search input placeholder',
241
- defaultMessage: 'Search for a project'
238
+ id: "ProjectSwitcher.searchPlaceholder",
239
+ defaultMessage: "Search for a project"
242
240
  },
243
241
  noResults: {
244
- id: 'ProjectSwitcher.noResults',
245
- description: 'Projects filter no results text',
246
- defaultMessage: 'Sorry, but there are no projects that match your search.'
242
+ id: "ProjectSwitcher.noResults",
243
+ defaultMessage: "Sorry, but there are no projects that match your search."
247
244
  },
248
245
  suspended: {
249
- id: 'ProjectSwitcher.suspended',
250
- description: 'Label for a suspended project',
251
- defaultMessage: 'Suspended'
246
+ id: "ProjectSwitcher.suspended",
247
+ defaultMessage: "Suspended"
252
248
  },
253
249
  expired: {
254
- id: 'ProjectSwitcher.expired',
255
- description: 'Label for a suspended project',
256
- defaultMessage: 'Expired'
250
+ id: "ProjectSwitcher.expired",
251
+ defaultMessage: "Expired"
257
252
  }
258
253
  });
259
254
 
260
- const _excluded = ["children"];
255
+ const _excluded$1 = ["children"];
261
256
  function ownKeys$8(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
262
257
  function _objectSpread$8(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context = ownKeys$8(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context2 = ownKeys$8(Object(t))).call(_context2, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
263
258
  function _EMOTION_STRINGIFIED_CSS_ERROR__$4() { 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)."; }
@@ -265,7 +260,7 @@ var ProjectsQuery = { kind: "Document", definitions: [{ kind: "OperationDefiniti
265
260
  const PROJECT_SWITCHER_LABEL_ID = 'project-switcher-label';
266
261
  const ValueContainer = _ref2 => {
267
262
  let children = _ref2.children,
268
- restProps = _objectWithoutProperties(_ref2, _excluded);
263
+ restProps = _objectWithoutProperties(_ref2, _excluded$1);
269
264
  return jsxRuntime.jsx(Text__default["default"].Body, {
270
265
  fontWeight: "medium",
271
266
  as: "span",
@@ -402,7 +397,7 @@ ProjectSwitcher.displayName = 'ProjectSwitcher';
402
397
  // eslint-disable-next-line import/prefer-default-export
403
398
  const REQUESTS_IN_FLIGHT_LOADER_DOM_ID = 'loader-for-requests-in-flight';
404
399
 
405
- const UserSettingsMenu = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./user-settings-menu-a0813186.cjs.dev.js' /* webpackChunkName: "user-settings-menu" */); }));
400
+ const UserSettingsMenu = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./user-settings-menu-4ff11354.cjs.dev.js' /* webpackChunkName: "user-settings-menu" */); }));
406
401
 
407
402
  function _EMOTION_STRINGIFIED_CSS_ERROR__$3() { 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)."; }
408
403
  var _ref$1 = process.env.NODE_ENV === "production" ? {
@@ -557,7 +552,7 @@ ConfigureIntlProvider.propTypes = process.env.NODE_ENV !== "production" ? {
557
552
  } : {};
558
553
  ConfigureIntlProvider.displayName = 'ConfigureIntlProvider';
559
554
 
560
- const ErrorApologizer = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./error-apologizer-f6793491.cjs.dev.js' /* webpackChunkName: "error-apologizer" */); }));
555
+ const ErrorApologizer = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./error-apologizer-3c7ded7d.cjs.dev.js' /* webpackChunkName: "error-apologizer" */); }));
561
556
 
562
557
  var ProjectQuery = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchProject" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "projectKey" } }, type: { kind: "NamedType", name: { kind: "Name", value: "String" } }, directives: [] }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "project" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "key" }, value: { kind: "Variable", name: { kind: "Name", value: "projectKey" } } }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "key" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "version" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "countries" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "currencies" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "languages" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "initialized" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "expiry" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "isActive" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "daysLeft" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "suspension" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "isActive" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "reason" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "isProductionProject" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "allAppliedPermissions" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "allAppliedActionRights" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "group" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "allAppliedDataFences" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "StoreDataFence" } }, directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "type" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "group" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "__typename" }, arguments: [], directives: [] }] } }] } }, { kind: "Field", name: { kind: "Name", value: "allPermissionsForAllApplications" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "allAppliedPermissions" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "allAppliedActionRights" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "group" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "allAppliedMenuVisibilities" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "allAppliedDataFences" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "StoreDataFence" } }, directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "type" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "group" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "__typename" }, arguments: [], directives: [] }] } }] } }] } }, { kind: "Field", name: { kind: "Name", value: "owner" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "sampleDataImportDataset" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "isUserAdminOfCurrentProject" }, arguments: [], directives: [] }] } }] } }], loc: { start: 0, end: 1081, source: { body: "query FetchProject($projectKey: String) {\n project(key: $projectKey) {\n key\n version\n name\n countries\n currencies\n languages\n initialized\n expiry {\n isActive\n daysLeft\n }\n suspension {\n isActive\n reason\n }\n isProductionProject\n allAppliedPermissions {\n name\n value\n }\n allAppliedActionRights {\n group\n name\n value\n }\n allAppliedDataFences {\n ... on StoreDataFence {\n type\n name\n value\n group\n __typename\n }\n }\n allPermissionsForAllApplications {\n allAppliedPermissions {\n name\n value\n }\n allAppliedActionRights {\n group\n name\n value\n }\n allAppliedMenuVisibilities {\n name\n value\n }\n allAppliedDataFences {\n ... on StoreDataFence {\n type\n name\n value\n group\n __typename\n }\n }\n }\n owner {\n id\n name\n }\n sampleDataImportDataset\n isUserAdminOfCurrentProject\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
563
558
  const FetchProject = props => {
@@ -613,9 +608,9 @@ FetchUser.propTypes = {
613
608
  };
614
609
  FetchUser.displayName = 'FetchUser';
615
610
 
616
- const Navbar = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./navbar-62d10e1c.cjs.dev.js' /* webpackChunkName: "navbar" */); }));
611
+ const Navbar = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./navbar-4b46fe69.cjs.dev.js' /* webpackChunkName: "navbar" */); }));
617
612
 
618
- const ProjectContainer = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./project-container-8a9f08a9.cjs.dev.js' /* webpackChunkName: "project-container" */); }));
613
+ const ProjectContainer = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./project-container-4324878f.cjs.dev.js' /* webpackChunkName: "project-container" */); }));
619
614
 
620
615
  const getSelectedDataLocaleForProject = projectLocales => {
621
616
  const cachedDataLocale = window.localStorage.getItem(constants.STORAGE_KEYS.SELECTED_DATA_LOCALE);
@@ -739,7 +734,7 @@ var pimIndexerStates = {
739
734
  NOT_INDEXED: 'NOT_INDEXED'
740
735
  };
741
736
 
742
- const QuickAccess = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./quick-access-5028688d.cjs.dev.js' /* webpackChunkName: "quick-access" */); }));
737
+ const QuickAccess = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./quick-access-249a0084.cjs.dev.js' /* webpackChunkName: "quick-access" */); }));
743
738
  const QuickAccessTrigger = props => {
744
739
  const _useState = react.useState(false),
745
740
  _useState2 = _slicedToArray(_useState, 2),
@@ -827,7 +822,7 @@ QuickAccessTrigger.propTypes = process.env.NODE_ENV !== "production" ? {
827
822
  } : {};
828
823
  QuickAccessTrigger.displayName = 'QuickAccessTrigger';
829
824
 
830
- const RedirectToLogout = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./redirect-to-logout-094bbd95.cjs.dev.js' /* webpackChunkName: "redirect-to-logout" */); }));
825
+ const RedirectToLogout = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./redirect-to-logout-339b312b.cjs.dev.js' /* webpackChunkName: "redirect-to-logout" */); }));
831
826
 
832
827
  const RedirectToProjectCreate = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./redirect-to-project-create-f4f01842.cjs.dev.js' /* webpackChunkName: "redirect-to-project-create" */); }));
833
828
 
@@ -1299,9 +1294,6 @@ ApplicationShellAuthenticated.displayName = 'ApplicationShellAuthenticated';
1299
1294
 
1300
1295
  const maxTitleCharLength = 24;
1301
1296
  const staticPaths = ['account', 'login'];
1302
- const defaultProps$1 = {
1303
- additionalParts: []
1304
- };
1305
1297
  const getPageTitle = (pathname, additionalParts) => {
1306
1298
  const _pathname$split = pathname.split('/'),
1307
1299
  _pathname$split2 = _slicedToArray(_pathname$split, 3),
@@ -1318,19 +1310,20 @@ const getPageTitle = (pathname, additionalParts) => {
1318
1310
  }
1319
1311
  return [...(customTitleParts || []), entryPointUriPath, projectKeyOrStaticPath, 'Merchant Center'].join(' - ');
1320
1312
  };
1321
- const ApplicationPageTitle = props => {
1313
+ const ApplicationPageTitle = _ref => {
1314
+ let _ref$additionalParts = _ref.additionalParts,
1315
+ additionalParts = _ref$additionalParts === void 0 ? [] : _ref$additionalParts;
1322
1316
  const location = reactRouterDom.useLocation();
1323
1317
  react.useLayoutEffect(() => {
1324
- const pageTitle = getPageTitle(location.pathname, props.additionalParts);
1318
+ const pageTitle = getPageTitle(location.pathname, additionalParts);
1325
1319
  document.title = pageTitle;
1326
- }, [location.pathname, props.additionalParts]);
1320
+ }, [location.pathname, additionalParts]);
1327
1321
  return null;
1328
1322
  };
1329
1323
  ApplicationPageTitle.propTypes = {
1330
- additionalParts: _pt__default["default"].arrayOf(_pt__default["default"].string).isRequired
1324
+ additionalParts: _pt__default["default"].arrayOf(_pt__default["default"].string)
1331
1325
  };
1332
1326
  ApplicationPageTitle.displayName = 'ApplicationPageTitle';
1333
- ApplicationPageTitle.defaultProps = defaultProps$1;
1334
1327
 
1335
1328
  function ownKeys$5(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
1336
1329
  function _objectSpread$5(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context = ownKeys$5(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context2 = ownKeys$5(Object(t))).call(_context2, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
@@ -1473,7 +1466,7 @@ const hasCachedAuthenticationState = () => {
1473
1466
  return window.localStorage.getItem(constants.STORAGE_KEYS.IS_AUTHENTICATED) === 'true';
1474
1467
  };
1475
1468
 
1476
- const OidcCallback = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./oidc-callback-4240ba65.cjs.dev.js' /* webpackChunkName: "oidc-callback" */); }));
1469
+ const OidcCallback = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./oidc-callback-145f9bfd.cjs.dev.js' /* webpackChunkName: "oidc-callback" */); }));
1477
1470
 
1478
1471
  function ownKeys$4(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
1479
1472
  function _objectSpread$4(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context = ownKeys$4(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context2 = ownKeys$4(Object(t))).call(_context2, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
@@ -1706,7 +1699,7 @@ ApplicationShell.propTypes = process.env.NODE_ENV !== "production" ? {
1706
1699
  ApplicationShell.displayName = 'ApplicationShell';
1707
1700
  ApplicationShell.version = version;
1708
1701
 
1709
- const CustomViewDevHost = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./custom-view-dev-host-db714f3b.cjs.dev.js' /* webpackChunkName: "custom-view-dev-host" */); }));
1702
+ const CustomViewDevHost = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./custom-view-dev-host-dc096f4b.cjs.dev.js' /* webpackChunkName: "custom-view-dev-host" */); }));
1710
1703
 
1711
1704
  function CustomViewFlopFlipProvider(props) {
1712
1705
  const adapterArgs = react.useMemo(() => ({
@@ -2058,10 +2051,11 @@ CustomViewShellWrapper.propTypes = process.env.NODE_ENV !== "production" ? {
2058
2051
  children: _pt__default["default"].node.isRequired
2059
2052
  } : {};
2060
2053
 
2061
- const defaultProps = {
2062
- shouldCleanUpOnUnmount: true
2063
- };
2064
- const InjectReducers = props => {
2054
+ const _excluded = ["shouldCleanUpOnUnmount"];
2055
+ const InjectReducers = _ref => {
2056
+ let _ref$shouldCleanUpOnU = _ref.shouldCleanUpOnUnmount,
2057
+ shouldCleanUpOnUnmount = _ref$shouldCleanUpOnU === void 0 ? true : _ref$shouldCleanUpOnU,
2058
+ props = _objectWithoutProperties(_ref, _excluded);
2065
2059
  const _useState = react.useState(false),
2066
2060
  _useState2 = _slicedToArray(_useState, 2),
2067
2061
  areReducersInjected = _useState2[0],
@@ -2074,13 +2068,13 @@ const InjectReducers = props => {
2074
2068
  });
2075
2069
  setAreReducersInjected(true);
2076
2070
  return () => {
2077
- if (props.shouldCleanUpOnUnmount) {
2071
+ if (shouldCleanUpOnUnmount) {
2078
2072
  store.removeReducers({
2079
2073
  id: props.id
2080
2074
  });
2081
2075
  }
2082
2076
  };
2083
- }, [props.id, props.reducers, props.shouldCleanUpOnUnmount, store]);
2077
+ }, [props.id, props.reducers, shouldCleanUpOnUnmount, store]);
2084
2078
 
2085
2079
  // Render children only when the plugin reducers have been injected
2086
2080
  if (areReducersInjected) return jsxRuntime.jsx(jsxRuntime.Fragment, {
@@ -2091,11 +2085,10 @@ const InjectReducers = props => {
2091
2085
  InjectReducers.propTypes = {
2092
2086
  id: _pt__default["default"].string.isRequired,
2093
2087
  reducers: _pt__default["default"].any.isRequired,
2094
- shouldCleanUpOnUnmount: _pt__default["default"].bool.isRequired,
2088
+ shouldCleanUpOnUnmount: _pt__default["default"].bool,
2095
2089
  children: _pt__default["default"].node.isRequired
2096
2090
  };
2097
2091
  InjectReducers.displayName = 'InjectReducers';
2098
- InjectReducers.defaultProps = defaultProps;
2099
2092
 
2100
2093
  const errorMessageIgnoreList = [/ResizeObserver loop (limit exceeded|completed with undelivered notifications)/i];
2101
2094