@commercetools-frontend/application-shell 22.37.0 → 22.38.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 (52) hide show
  1. package/dist/commercetools-frontend-application-shell.cjs.dev.js +1 -1
  2. package/dist/commercetools-frontend-application-shell.cjs.prod.js +1 -1
  3. package/dist/commercetools-frontend-application-shell.esm.js +1 -1
  4. package/dist/{custom-view-dev-host-785f2683.cjs.dev.js → custom-view-dev-host-2f9cb1eb.cjs.dev.js} +1 -1
  5. package/dist/{custom-view-dev-host-4ffa028a.esm.js → custom-view-dev-host-a954c257.esm.js} +1 -1
  6. package/dist/{custom-view-dev-host-b9b860f1.cjs.prod.js → custom-view-dev-host-cdd6c4ab.cjs.prod.js} +1 -1
  7. package/dist/declarations/src/components/application-page-title/application-page-title.d.ts +2 -3
  8. package/dist/declarations/src/components/inject-reducers/inject-reducers.d.ts +2 -3
  9. package/dist/declarations/src/components/navbar/menu-items.d.ts +3 -5
  10. package/dist/{error-apologizer-84dc825c.cjs.prod.js → error-apologizer-1f6f7df4.cjs.prod.js} +4 -4
  11. package/dist/{error-apologizer-f6793491.cjs.dev.js → error-apologizer-3c7ded7d.cjs.dev.js} +4 -4
  12. package/dist/{error-apologizer-76f087f4.esm.js → error-apologizer-8a4b7078.esm.js} +4 -4
  13. package/dist/{index-937169c0.cjs.prod.js → index-13c77c78.cjs.prod.js} +38 -45
  14. package/dist/{index-5e00785a.cjs.dev.js → index-9d3e0d9f.cjs.dev.js} +38 -45
  15. package/dist/{index-bdd71e4c.esm.js → index-b8ab4ddf.esm.js} +38 -45
  16. package/dist/{navbar-1465f182.cjs.prod.js → navbar-471b2d55.cjs.prod.js} +25 -21
  17. package/dist/{navbar-62d10e1c.cjs.dev.js → navbar-4b46fe69.cjs.dev.js} +28 -24
  18. package/dist/{navbar-7b53adec.esm.js → navbar-7bdb6674.esm.js} +28 -24
  19. package/dist/{oidc-callback-75bd9ce0.cjs.prod.js → oidc-callback-1098b4ec.cjs.prod.js} +1 -1
  20. package/dist/{oidc-callback-4dc1c13f.esm.js → oidc-callback-577eed60.esm.js} +1 -1
  21. package/dist/{oidc-callback-88818ecc.cjs.dev.js → oidc-callback-5b63c825.cjs.dev.js} +1 -1
  22. package/dist/{project-container-0a3ddb21.cjs.prod.js → project-container-0d389540.cjs.prod.js} +12 -15
  23. package/dist/{project-container-ac9ffbf7.esm.js → project-container-55ef2732.esm.js} +12 -15
  24. package/dist/{project-container-f3698c44.cjs.dev.js → project-container-e9e5bb67.cjs.dev.js} +12 -15
  25. package/dist/{project-expired-7d2fab4d.cjs.dev.js → project-expired-7acc38fa.cjs.dev.js} +6 -6
  26. package/dist/{project-expired-25c363cd.cjs.prod.js → project-expired-b07366c0.cjs.prod.js} +6 -6
  27. package/dist/{project-expired-054375d0.esm.js → project-expired-b35f55c4.esm.js} +6 -6
  28. package/dist/{project-not-found-e3a64bcc.esm.js → project-not-found-65a9d43e.esm.js} +8 -8
  29. package/dist/{project-not-found-555741b8.cjs.prod.js → project-not-found-84b462fe.cjs.prod.js} +8 -8
  30. package/dist/{project-not-found-f488a2e1.cjs.dev.js → project-not-found-fb746854.cjs.dev.js} +8 -8
  31. package/dist/{project-not-initialized-11f193fe.cjs.dev.js → project-not-initialized-612f4438.cjs.dev.js} +6 -6
  32. package/dist/{project-not-initialized-3e7cb9fb.esm.js → project-not-initialized-82be112b.esm.js} +6 -6
  33. package/dist/{project-not-initialized-4932ab18.cjs.prod.js → project-not-initialized-cdf015d1.cjs.prod.js} +6 -6
  34. package/dist/{project-suspended-1340f99e.cjs.prod.js → project-suspended-0461d2d9.cjs.prod.js} +8 -8
  35. package/dist/{project-suspended-5a8b040e.esm.js → project-suspended-4af37579.esm.js} +8 -8
  36. package/dist/{project-suspended-5e840d00.cjs.dev.js → project-suspended-a8abe9e0.cjs.dev.js} +8 -8
  37. package/dist/{quick-access-59946146.cjs.dev.js → quick-access-1a877ffe.cjs.dev.js} +123 -123
  38. package/dist/{quick-access-b183c7bd.cjs.prod.js → quick-access-865ffb39.cjs.prod.js} +123 -123
  39. package/dist/{quick-access-ef9f6828.esm.js → quick-access-b439c19f.esm.js} +123 -123
  40. package/dist/{redirect-to-logout-4f59c9b7.cjs.prod.js → redirect-to-logout-2344c069.cjs.prod.js} +1 -1
  41. package/dist/{redirect-to-logout-ddf6cdac.esm.js → redirect-to-logout-ad4aa270.esm.js} +1 -1
  42. package/dist/{redirect-to-logout-0f4a8317.cjs.dev.js → redirect-to-logout-f80bab18.cjs.dev.js} +1 -1
  43. package/dist/{requests-in-flight-loader-4f45b8ce.cjs.prod.js → requests-in-flight-loader-53867cf0.cjs.prod.js} +3 -4
  44. package/dist/{requests-in-flight-loader-c8b1d4e1.esm.js → requests-in-flight-loader-c31e1e4a.esm.js} +3 -4
  45. package/dist/{requests-in-flight-loader-28b03925.cjs.dev.js → requests-in-flight-loader-c64170fb.cjs.dev.js} +3 -4
  46. package/dist/{service-page-project-switcher-5fb3181e.cjs.prod.js → service-page-project-switcher-921da15d.cjs.prod.js} +1 -1
  47. package/dist/{service-page-project-switcher-66a1d372.cjs.dev.js → service-page-project-switcher-d55b36bf.cjs.dev.js} +1 -1
  48. package/dist/{service-page-project-switcher-da22aefc.esm.js → service-page-project-switcher-d86d70b5.esm.js} +1 -1
  49. package/dist/{user-settings-menu-dc94ceb2.esm.js → user-settings-menu-15c0d82b.esm.js} +12 -18
  50. package/dist/{user-settings-menu-a0813186.cjs.dev.js → user-settings-menu-4ff11354.cjs.dev.js} +12 -18
  51. package/dist/{user-settings-menu-ead5fed2.cjs.prod.js → user-settings-menu-9c195d53.cjs.prod.js} +12 -18
  52. package/package.json +17 -17
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var dist_commercetoolsFrontendApplicationShell = require('./index-5e00785a.cjs.dev.js');
5
+ var dist_commercetoolsFrontendApplicationShell = require('./index-9d3e0d9f.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-937169c0.cjs.prod.js');
5
+ var dist_commercetoolsFrontendApplicationShell = require('./index-13c77c78.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-bdd71e4c.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-b8ab4ddf.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';
@@ -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-5e00785a.cjs.dev.js');
14
+ var dist_commercetoolsFrontendApplicationShell = require('./index-9d3e0d9f.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');
@@ -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-bdd71e4c.esm.js';
12
+ import { A as ApplicationShell } from './index-b8ab4ddf.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-937169c0.cjs.prod.js');
14
+ var dist_commercetoolsFrontendApplicationShell = require('./index-13c77c78.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');
@@ -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.37.0";
114
+ var version = "22.38.1";
115
115
 
116
- const RequestsInFlightLoader = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./requests-in-flight-loader-4f45b8ce.cjs.prod.js' /* webpackChunkName: "requests-in-flight-loader" */); }));
116
+ const RequestsInFlightLoader = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./requests-in-flight-loader-53867cf0.cjs.prod.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
 
@@ -228,40 +228,35 @@ LoadingPlaceholder.displayName = 'LoadingPlaceholder';
228
228
 
229
229
  var messages = reactIntl.defineMessages({
230
230
  projectsLabel: {
231
- id: 'ProjectSwitcher.projectsLabel',
232
- description: 'The label for project dropdown switcher',
233
- defaultMessage: 'Projects'
231
+ id: "ProjectSwitcher.projectsLabel",
232
+ defaultMessage: "Projects"
234
233
  },
235
234
  searchPlaceholder: {
236
- id: 'ProjectSwitcher.searchPlaceholder',
237
- description: 'Projects filter search input placeholder',
238
- defaultMessage: 'Search for a project'
235
+ id: "ProjectSwitcher.searchPlaceholder",
236
+ defaultMessage: "Search for a project"
239
237
  },
240
238
  noResults: {
241
- id: 'ProjectSwitcher.noResults',
242
- description: 'Projects filter no results text',
243
- defaultMessage: 'Sorry, but there are no projects that match your search.'
239
+ id: "ProjectSwitcher.noResults",
240
+ defaultMessage: "Sorry, but there are no projects that match your search."
244
241
  },
245
242
  suspended: {
246
- id: 'ProjectSwitcher.suspended',
247
- description: 'Label for a suspended project',
248
- defaultMessage: 'Suspended'
243
+ id: "ProjectSwitcher.suspended",
244
+ defaultMessage: "Suspended"
249
245
  },
250
246
  expired: {
251
- id: 'ProjectSwitcher.expired',
252
- description: 'Label for a suspended project',
253
- defaultMessage: 'Expired'
247
+ id: "ProjectSwitcher.expired",
248
+ defaultMessage: "Expired"
254
249
  }
255
250
  });
256
251
 
257
- const _excluded = ["children"];
252
+ const _excluded$1 = ["children"];
258
253
  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; }
259
254
  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; }
260
255
  var ProjectsQuery = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchUserProjects" }, variableDefinitions: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", alias: { kind: "Name", value: "user" }, name: { kind: "Name", value: "me" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "projects" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "total" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "results" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "key" }, 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: "expiry" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "isActive" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "isProductionProject" }, arguments: [], directives: [] }] } }] } }] } }] } }], loc: { start: 0, end: 258, source: { body: "query FetchUserProjects {\n user: me {\n id\n projects {\n total\n results {\n name\n key\n suspension {\n isActive\n }\n expiry {\n isActive\n }\n isProductionProject\n }\n }\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
261
256
  const PROJECT_SWITCHER_LABEL_ID = 'project-switcher-label';
262
257
  const ValueContainer = _ref2 => {
263
258
  let children = _ref2.children,
264
- restProps = _objectWithoutProperties(_ref2, _excluded);
259
+ restProps = _objectWithoutProperties(_ref2, _excluded$1);
265
260
  return jsxRuntime.jsx(Text__default["default"].Body, {
266
261
  fontWeight: "medium",
267
262
  as: "span",
@@ -393,7 +388,7 @@ ProjectSwitcher.displayName = 'ProjectSwitcher';
393
388
  // eslint-disable-next-line import/prefer-default-export
394
389
  const REQUESTS_IN_FLIGHT_LOADER_DOM_ID = 'loader-for-requests-in-flight';
395
390
 
396
- const UserSettingsMenu = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./user-settings-menu-ead5fed2.cjs.prod.js' /* webpackChunkName: "user-settings-menu" */); }));
391
+ const UserSettingsMenu = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./user-settings-menu-9c195d53.cjs.prod.js' /* webpackChunkName: "user-settings-menu" */); }));
397
392
 
398
393
  var _ref$1 = {
399
394
  name: "zjik7",
@@ -529,7 +524,7 @@ const ConfigureIntlProvider = props => {
529
524
  ConfigureIntlProvider.propTypes = {};
530
525
  ConfigureIntlProvider.displayName = 'ConfigureIntlProvider';
531
526
 
532
- const ErrorApologizer = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./error-apologizer-84dc825c.cjs.prod.js' /* webpackChunkName: "error-apologizer" */); }));
527
+ const ErrorApologizer = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./error-apologizer-1f6f7df4.cjs.prod.js' /* webpackChunkName: "error-apologizer" */); }));
533
528
 
534
529
  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 } } } };
535
530
  const FetchProject = props => {
@@ -585,9 +580,9 @@ FetchUser.propTypes = {
585
580
  };
586
581
  FetchUser.displayName = 'FetchUser';
587
582
 
588
- const Navbar = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./navbar-1465f182.cjs.prod.js' /* webpackChunkName: "navbar" */); }));
583
+ const Navbar = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./navbar-471b2d55.cjs.prod.js' /* webpackChunkName: "navbar" */); }));
589
584
 
590
- const ProjectContainer = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./project-container-0a3ddb21.cjs.prod.js' /* webpackChunkName: "project-container" */); }));
585
+ const ProjectContainer = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./project-container-0d389540.cjs.prod.js' /* webpackChunkName: "project-container" */); }));
591
586
 
592
587
  const getSelectedDataLocaleForProject = projectLocales => {
593
588
  const cachedDataLocale = window.localStorage.getItem(constants.STORAGE_KEYS.SELECTED_DATA_LOCALE);
@@ -699,7 +694,7 @@ var pimIndexerStates = {
699
694
  NOT_INDEXED: 'NOT_INDEXED'
700
695
  };
701
696
 
702
- const QuickAccess = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./quick-access-b183c7bd.cjs.prod.js' /* webpackChunkName: "quick-access" */); }));
697
+ const QuickAccess = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./quick-access-865ffb39.cjs.prod.js' /* webpackChunkName: "quick-access" */); }));
703
698
  const QuickAccessTrigger = props => {
704
699
  const _useState = react.useState(false),
705
700
  _useState2 = _slicedToArray(_useState, 2),
@@ -785,7 +780,7 @@ const QuickAccessTrigger = props => {
785
780
  QuickAccessTrigger.propTypes = {};
786
781
  QuickAccessTrigger.displayName = 'QuickAccessTrigger';
787
782
 
788
- const RedirectToLogout = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./redirect-to-logout-4f59c9b7.cjs.prod.js' /* webpackChunkName: "redirect-to-logout" */); }));
783
+ const RedirectToLogout = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./redirect-to-logout-2344c069.cjs.prod.js' /* webpackChunkName: "redirect-to-logout" */); }));
789
784
 
790
785
  const RedirectToProjectCreate = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./redirect-to-project-create-e4ff7797.cjs.prod.js' /* webpackChunkName: "redirect-to-project-create" */); }));
791
786
 
@@ -1197,9 +1192,6 @@ ApplicationShellAuthenticated.displayName = 'ApplicationShellAuthenticated';
1197
1192
 
1198
1193
  const maxTitleCharLength = 24;
1199
1194
  const staticPaths = ['account', 'login'];
1200
- const defaultProps$1 = {
1201
- additionalParts: []
1202
- };
1203
1195
  const getPageTitle = (pathname, additionalParts) => {
1204
1196
  const _pathname$split = pathname.split('/'),
1205
1197
  _pathname$split2 = _slicedToArray(_pathname$split, 3),
@@ -1216,19 +1208,20 @@ const getPageTitle = (pathname, additionalParts) => {
1216
1208
  }
1217
1209
  return [...(customTitleParts || []), entryPointUriPath, projectKeyOrStaticPath, 'Merchant Center'].join(' - ');
1218
1210
  };
1219
- const ApplicationPageTitle = props => {
1211
+ const ApplicationPageTitle = _ref => {
1212
+ let _ref$additionalParts = _ref.additionalParts,
1213
+ additionalParts = _ref$additionalParts === void 0 ? [] : _ref$additionalParts;
1220
1214
  const location = reactRouterDom.useLocation();
1221
1215
  react.useLayoutEffect(() => {
1222
- const pageTitle = getPageTitle(location.pathname, props.additionalParts);
1216
+ const pageTitle = getPageTitle(location.pathname, additionalParts);
1223
1217
  document.title = pageTitle;
1224
- }, [location.pathname, props.additionalParts]);
1218
+ }, [location.pathname, additionalParts]);
1225
1219
  return null;
1226
1220
  };
1227
1221
  ApplicationPageTitle.propTypes = {
1228
- additionalParts: _pt__default["default"].arrayOf(_pt__default["default"].string).isRequired
1222
+ additionalParts: _pt__default["default"].arrayOf(_pt__default["default"].string)
1229
1223
  };
1230
1224
  ApplicationPageTitle.displayName = 'ApplicationPageTitle';
1231
- ApplicationPageTitle.defaultProps = defaultProps$1;
1232
1225
 
1233
1226
  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; }
1234
1227
  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; }
@@ -1371,7 +1364,7 @@ const hasCachedAuthenticationState = () => {
1371
1364
  return window.localStorage.getItem(constants.STORAGE_KEYS.IS_AUTHENTICATED) === 'true';
1372
1365
  };
1373
1366
 
1374
- const OidcCallback = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./oidc-callback-75bd9ce0.cjs.prod.js' /* webpackChunkName: "oidc-callback" */); }));
1367
+ const OidcCallback = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./oidc-callback-1098b4ec.cjs.prod.js' /* webpackChunkName: "oidc-callback" */); }));
1375
1368
 
1376
1369
  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; }
1377
1370
  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; }
@@ -1582,7 +1575,7 @@ ApplicationShell.propTypes = {};
1582
1575
  ApplicationShell.displayName = 'ApplicationShell';
1583
1576
  ApplicationShell.version = version;
1584
1577
 
1585
- const CustomViewDevHost = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./custom-view-dev-host-b9b860f1.cjs.prod.js' /* webpackChunkName: "custom-view-dev-host" */); }));
1578
+ const CustomViewDevHost = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./custom-view-dev-host-cdd6c4ab.cjs.prod.js' /* webpackChunkName: "custom-view-dev-host" */); }));
1586
1579
 
1587
1580
  function CustomViewFlopFlipProvider(props) {
1588
1581
  const adapterArgs = react.useMemo(() => ({
@@ -1904,10 +1897,11 @@ const CustomViewShellWrapper = props => {
1904
1897
  };
1905
1898
  CustomViewShellWrapper.propTypes = {};
1906
1899
 
1907
- const defaultProps = {
1908
- shouldCleanUpOnUnmount: true
1909
- };
1910
- const InjectReducers = props => {
1900
+ const _excluded = ["shouldCleanUpOnUnmount"];
1901
+ const InjectReducers = _ref => {
1902
+ let _ref$shouldCleanUpOnU = _ref.shouldCleanUpOnUnmount,
1903
+ shouldCleanUpOnUnmount = _ref$shouldCleanUpOnU === void 0 ? true : _ref$shouldCleanUpOnU,
1904
+ props = _objectWithoutProperties(_ref, _excluded);
1911
1905
  const _useState = react.useState(false),
1912
1906
  _useState2 = _slicedToArray(_useState, 2),
1913
1907
  areReducersInjected = _useState2[0],
@@ -1920,13 +1914,13 @@ const InjectReducers = props => {
1920
1914
  });
1921
1915
  setAreReducersInjected(true);
1922
1916
  return () => {
1923
- if (props.shouldCleanUpOnUnmount) {
1917
+ if (shouldCleanUpOnUnmount) {
1924
1918
  store.removeReducers({
1925
1919
  id: props.id
1926
1920
  });
1927
1921
  }
1928
1922
  };
1929
- }, [props.id, props.reducers, props.shouldCleanUpOnUnmount, store]);
1923
+ }, [props.id, props.reducers, shouldCleanUpOnUnmount, store]);
1930
1924
 
1931
1925
  // Render children only when the plugin reducers have been injected
1932
1926
  if (areReducersInjected) return jsxRuntime.jsx(jsxRuntime.Fragment, {
@@ -1937,11 +1931,10 @@ const InjectReducers = props => {
1937
1931
  InjectReducers.propTypes = {
1938
1932
  id: _pt__default["default"].string.isRequired,
1939
1933
  reducers: _pt__default["default"].any.isRequired,
1940
- shouldCleanUpOnUnmount: _pt__default["default"].bool.isRequired,
1934
+ shouldCleanUpOnUnmount: _pt__default["default"].bool,
1941
1935
  children: _pt__default["default"].node.isRequired
1942
1936
  };
1943
1937
  InjectReducers.displayName = 'InjectReducers';
1944
- InjectReducers.defaultProps = defaultProps;
1945
1938
 
1946
1939
  const errorMessageIgnoreList = [/ResizeObserver loop (limit exceeded|completed with undelivered notifications)/i];
1947
1940