@commercetools-frontend/application-shell 21.25.2 → 22.0.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 (87) hide show
  1. package/dist/{application-entry-point-1a8ee591.cjs.prod.js → application-entry-point-3e616b2e.cjs.prod.js} +1 -1
  2. package/dist/{application-entry-point-d95a9561.cjs.dev.js → application-entry-point-c63d1ec4.cjs.dev.js} +1 -1
  3. package/dist/{application-entry-point-b3bcec77.esm.js → application-entry-point-c89675d8.esm.js} +1 -1
  4. package/dist/commercetools-frontend-application-shell.cjs.d.ts +1 -0
  5. package/dist/commercetools-frontend-application-shell.cjs.d.ts.map +1 -0
  6. package/dist/commercetools-frontend-application-shell.cjs.dev.js +2 -7
  7. package/dist/commercetools-frontend-application-shell.cjs.prod.js +2 -7
  8. package/dist/commercetools-frontend-application-shell.esm.js +2 -5
  9. package/dist/{configure-apollo-45ac18ec.cjs.prod.js → configure-apollo-709a05c9.cjs.prod.js} +1 -2
  10. package/dist/{configure-apollo-17cc744d.cjs.dev.js → configure-apollo-f39c0788.cjs.dev.js} +1 -2
  11. package/dist/{configure-apollo-1d40c1c0.esm.js → configure-apollo-faeb9a07.esm.js} +5 -5
  12. package/dist/declarations/src/components/application-shell/application-shell.d.ts +1 -3
  13. package/dist/declarations/src/components/application-shell-authenticated/application-shell-authenticated.d.ts +1 -1
  14. package/dist/declarations/src/components/application-shell-provider/application-shell-provider.d.ts +0 -3
  15. package/dist/declarations/src/components/navbar/index.d.ts +1 -2
  16. package/dist/declarations/src/components/navbar/menu-items.d.ts +1 -1
  17. package/dist/declarations/src/components/project-container/index.d.ts +0 -1
  18. package/dist/declarations/src/index.d.ts +0 -2
  19. package/dist/{index-ca5ab60d.esm.js → index-8b1929c9.esm.js} +73 -588
  20. package/dist/{index-29e03033.cjs.prod.js → index-90509897.cjs.prod.js} +50 -569
  21. package/dist/{index-1a690bd0.cjs.dev.js → index-c5ad1971.cjs.dev.js} +68 -589
  22. package/dist/{navbar-074548aa.cjs.prod.js → navbar-153cb4ba.cjs.prod.js} +4 -9
  23. package/dist/{navbar-eed85121.cjs.dev.js → navbar-6ec7da97.cjs.dev.js} +4 -9
  24. package/dist/{navbar-1d5c0bd9.esm.js → navbar-ee6d9597.esm.js} +5 -10
  25. package/dist/{oidc-callback-a9b72d66.esm.js → oidc-callback-48bc2d46.esm.js} +2 -5
  26. package/dist/{oidc-callback-08bafc1e.cjs.dev.js → oidc-callback-d6332169.cjs.dev.js} +2 -5
  27. package/dist/{oidc-callback-3cabbbe4.cjs.prod.js → oidc-callback-dbdfdd52.cjs.prod.js} +2 -5
  28. package/dist/{project-container-37858fcc.cjs.dev.js → project-container-573e3ff5.cjs.dev.js} +11 -15
  29. package/dist/{project-container-c0fc1b58.esm.js → project-container-cb1a00c7.esm.js} +11 -15
  30. package/dist/{project-container-785342fe.cjs.prod.js → project-container-d7613e23.cjs.prod.js} +7 -11
  31. package/dist/{project-expired-dd1de938.esm.js → project-expired-073bb605.esm.js} +3 -6
  32. package/dist/{project-expired-eae0e6a1.cjs.prod.js → project-expired-42f2382b.cjs.prod.js} +3 -6
  33. package/dist/{project-expired-03193fc7.cjs.dev.js → project-expired-8811f723.cjs.dev.js} +3 -6
  34. package/dist/{project-not-found-f4d1a682.cjs.prod.js → project-not-found-2f37685f.cjs.prod.js} +3 -6
  35. package/dist/{project-not-found-110ae2dc.cjs.dev.js → project-not-found-a56e9b3b.cjs.dev.js} +3 -6
  36. package/dist/{project-not-found-17401d07.esm.js → project-not-found-cb603cdb.esm.js} +3 -6
  37. package/dist/{project-not-initialized-a67bec4a.esm.js → project-not-initialized-8ab0a195.esm.js} +3 -6
  38. package/dist/{project-not-initialized-8cf7d70b.cjs.prod.js → project-not-initialized-c9e55b2d.cjs.prod.js} +3 -6
  39. package/dist/{project-not-initialized-d9fb3355.cjs.dev.js → project-not-initialized-d7ac52c0.cjs.dev.js} +3 -6
  40. package/dist/{project-suspended-2992da58.cjs.prod.js → project-suspended-4d732cc6.cjs.prod.js} +3 -6
  41. package/dist/{project-suspended-f5e67ddd.esm.js → project-suspended-9d35e59e.esm.js} +3 -6
  42. package/dist/{project-suspended-2f17eae5.cjs.dev.js → project-suspended-af56c4a7.cjs.dev.js} +3 -6
  43. package/dist/{quick-access-09707bb3.esm.js → quick-access-bc72277b.esm.js} +2 -5
  44. package/dist/{quick-access-9375d13a.cjs.prod.js → quick-access-ca46617f.cjs.prod.js} +2 -5
  45. package/dist/{quick-access-fa740d8c.cjs.dev.js → quick-access-e0596452.cjs.dev.js} +2 -5
  46. package/dist/{redirect-to-login-b89d8b23.esm.js → redirect-to-login-6b534edc.esm.js} +1 -1
  47. package/dist/{redirect-to-login-7cc9ed4d.cjs.dev.js → redirect-to-login-a978bc81.cjs.dev.js} +1 -1
  48. package/dist/{redirect-to-login-2666e1fc.cjs.prod.js → redirect-to-login-e89133da.cjs.prod.js} +1 -1
  49. package/dist/{redirect-to-logout-3cd584da.cjs.prod.js → redirect-to-logout-90177c4e.cjs.prod.js} +2 -4
  50. package/dist/{redirect-to-logout-3bc651f2.esm.js → redirect-to-logout-b4f76ad8.esm.js} +2 -4
  51. package/dist/{redirect-to-logout-8a7a32f9.cjs.dev.js → redirect-to-logout-f5d567b2.cjs.dev.js} +2 -4
  52. package/dist/{requests-in-flight-loader-092b6a76.cjs.dev.js → requests-in-flight-loader-5bef7ee5.cjs.dev.js} +2 -5
  53. package/dist/{requests-in-flight-loader-bd92b447.cjs.prod.js → requests-in-flight-loader-cea6ef4a.cjs.prod.js} +2 -5
  54. package/dist/{requests-in-flight-loader-01d02f35.esm.js → requests-in-flight-loader-d53a4f5c.esm.js} +2 -5
  55. package/dist/{service-page-project-switcher-994c9218.cjs.prod.js → service-page-project-switcher-3470e368.cjs.prod.js} +1 -1
  56. package/dist/{service-page-project-switcher-d4433778.cjs.dev.js → service-page-project-switcher-873ecbef.cjs.dev.js} +1 -1
  57. package/dist/{service-page-project-switcher-6ee2be90.esm.js → service-page-project-switcher-cea5ef95.esm.js} +1 -1
  58. package/dist/{use-applications-menu-5d1e1f15.cjs.prod.js → use-applications-menu-306109c6.cjs.prod.js} +1 -1
  59. package/dist/{use-applications-menu-860949b7.cjs.dev.js → use-applications-menu-8b9e9cda.cjs.dev.js} +1 -1
  60. package/dist/{use-applications-menu-7907ec1a.esm.js → use-applications-menu-e349fcad.esm.js} +1 -1
  61. package/dist/{user-settings-menu-d16dbd52.cjs.dev.js → user-settings-menu-0c5c0a74.cjs.dev.js} +10 -16
  62. package/dist/{user-settings-menu-2d09fbae.esm.js → user-settings-menu-33277bec.esm.js} +10 -16
  63. package/dist/{user-settings-menu-028a53f0.cjs.prod.js → user-settings-menu-45acb005.cjs.prod.js} +3 -9
  64. package/dist/{version-tracker-02448315.cjs.prod.js → version-tracker-21764aaa.cjs.prod.js} +1 -1
  65. package/dist/{version-tracker-98782eb4.esm.js → version-tracker-7caaf7be.esm.js} +1 -1
  66. package/dist/{version-tracker-2d8cd103.cjs.dev.js → version-tracker-87f40efd.cjs.dev.js} +1 -1
  67. package/package.json +36 -37
  68. package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.d.ts +1 -0
  69. package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.d.ts.map +1 -0
  70. package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.d.ts +1 -0
  71. package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.d.ts.map +1 -0
  72. package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.dev.js +2 -2
  73. package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.prod.js +2 -2
  74. package/test-utils/dist/commercetools-frontend-application-shell-test-utils.esm.js +2 -2
  75. package/dist/declarations/src/components/gtm-application-tracker/gtm-application-tracker.d.ts +0 -10
  76. package/dist/declarations/src/components/gtm-application-tracker/index.d.ts +0 -1
  77. package/dist/declarations/src/components/gtm-booter/gtm-booter.d.ts +0 -20
  78. package/dist/declarations/src/components/gtm-booter/index.d.ts +0 -2
  79. package/dist/declarations/src/components/gtm-user-logout-tracker/gtm-user-logout-tracker.d.ts +0 -5
  80. package/dist/declarations/src/components/gtm-user-logout-tracker/index.d.ts +0 -1
  81. package/dist/declarations/src/components/gtm-user-tracker/gtm-user-tracker.d.ts +0 -10
  82. package/dist/declarations/src/components/gtm-user-tracker/index.d.ts +0 -1
  83. package/dist/declarations/src/components/navbar/tracking-events.d.ts +0 -18
  84. package/dist/declarations/src/components/quick-access/tracking-events.d.ts +0 -8
  85. package/dist/declarations/src/track-performance.d.ts +0 -2
  86. package/dist/declarations/src/tracking-event-list.d.ts +0 -19
  87. package/dist/declarations/src/utils/gtm.d.ts +0 -27
@@ -16,7 +16,7 @@ var invariant = require('tiny-invariant');
16
16
  var applicationComponents = require('@commercetools-frontend/application-components');
17
17
  var ssr = require('@commercetools-frontend/application-config/ssr');
18
18
  var permissions = require('@commercetools-frontend/permissions');
19
- var configureApollo = require('./configure-apollo-45ac18ec.cjs.prod.js');
19
+ var configureApollo = require('./configure-apollo-709a05c9.cjs.prod.js');
20
20
  var jsxRuntime = require('@emotion/react/jsx-runtime');
21
21
 
22
22
  function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
@@ -16,7 +16,7 @@ var invariant = require('tiny-invariant');
16
16
  var applicationComponents = require('@commercetools-frontend/application-components');
17
17
  var ssr = require('@commercetools-frontend/application-config/ssr');
18
18
  var permissions = require('@commercetools-frontend/permissions');
19
- var configureApollo = require('./configure-apollo-17cc744d.cjs.dev.js');
19
+ var configureApollo = require('./configure-apollo-f39c0788.cjs.dev.js');
20
20
  var jsxRuntime = require('@emotion/react/jsx-runtime');
21
21
 
22
22
  function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
@@ -14,7 +14,7 @@ import invariant from 'tiny-invariant';
14
14
  import { PageUnauthorized } from '@commercetools-frontend/application-components';
15
15
  import { entryPointUriPathToPermissionKeys } from '@commercetools-frontend/application-config/ssr';
16
16
  import { useIsAuthorized } from '@commercetools-frontend/permissions';
17
- import { R as RouteCatchAll } from './configure-apollo-1d40c1c0.esm.js';
17
+ import { R as RouteCatchAll } from './configure-apollo-faeb9a07.esm.js';
18
18
  import { jsxs, jsx, Fragment } from '@emotion/react/jsx-runtime';
19
19
 
20
20
  function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object); enumerableOnly && (symbols = _filterInstanceProperty(symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
@@ -1 +1,2 @@
1
1
  export * from "./declarations/src/index";
2
+ //# sourceMappingURL=commercetools-frontend-application-shell.cjs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"commercetools-frontend-application-shell.cjs.d.ts","sourceRoot":"","sources":["./declarations/src/index.d.ts"],"names":[],"mappings":"AAAA"}
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var configureApollo = require('./configure-apollo-17cc744d.cjs.dev.js');
6
- var dist_commercetoolsFrontendApplicationShell = require('./index-1a690bd0.cjs.dev.js');
5
+ var configureApollo = require('./configure-apollo-f39c0788.cjs.dev.js');
6
+ var dist_commercetoolsFrontendApplicationShell = require('./index-c5ad1971.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');
@@ -83,8 +83,6 @@ require('@apollo/client/react');
83
83
  require('@commercetools-frontend/assets/images/ct-logo.svg');
84
84
  require('@commercetools-uikit/loading-spinner');
85
85
  require('@commercetools-frontend/l10n');
86
- require('@babel/runtime-corejs3/core-js-stable/instance/reverse');
87
- require('lodash/camelCase');
88
86
  require('@babel/runtime-corejs3/core-js-stable/array/from');
89
87
  require('@babel/runtime-corejs3/core-js-stable/instance/every');
90
88
  require('classnames');
@@ -96,7 +94,6 @@ require('@babel/runtime-corejs3/core-js-stable/object/from-entries');
96
94
  require('@babel/runtime-corejs3/core-js-stable/instance/flags');
97
95
  require('@flopflip/combine-adapters');
98
96
  require('@flopflip/http-adapter');
99
- require('perfume.js');
100
97
  require('react-redux');
101
98
  require('lodash/upperFirst');
102
99
  require('./oidc-0638d0c8.cjs.dev.js');
@@ -123,8 +120,6 @@ exports.ApplicationPageTitle = dist_commercetoolsFrontendApplicationShell.Applic
123
120
  exports.ApplicationShell = dist_commercetoolsFrontendApplicationShell.ApplicationShell;
124
121
  exports.ApplicationShellProvider = dist_commercetoolsFrontendApplicationShell.ApplicationShellProvider;
125
122
  exports.ConfigureIntlProvider = dist_commercetoolsFrontendApplicationShell.ConfigureIntlProvider;
126
- exports.GtmContext = dist_commercetoolsFrontendApplicationShell.GtmContext;
127
- exports.GtmUserLogoutTracker = dist_commercetoolsFrontendApplicationShell.GtmUserLogoutTracker;
128
123
  exports.InjectReducers = dist_commercetoolsFrontendApplicationShell.InjectReducers;
129
124
  exports.SetupFlopFlipProvider = dist_commercetoolsFrontendApplicationShell.SetupFlopFlipProvider;
130
125
  exports.SuspendedRoute = dist_commercetoolsFrontendApplicationShell.SuspendedRoute;
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var configureApollo = require('./configure-apollo-45ac18ec.cjs.prod.js');
6
- var dist_commercetoolsFrontendApplicationShell = require('./index-29e03033.cjs.prod.js');
5
+ var configureApollo = require('./configure-apollo-709a05c9.cjs.prod.js');
6
+ var dist_commercetoolsFrontendApplicationShell = require('./index-90509897.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');
@@ -83,8 +83,6 @@ require('@apollo/client/react');
83
83
  require('@commercetools-frontend/assets/images/ct-logo.svg');
84
84
  require('@commercetools-uikit/loading-spinner');
85
85
  require('@commercetools-frontend/l10n');
86
- require('@babel/runtime-corejs3/core-js-stable/instance/reverse');
87
- require('lodash/camelCase');
88
86
  require('@babel/runtime-corejs3/core-js-stable/array/from');
89
87
  require('@babel/runtime-corejs3/core-js-stable/instance/every');
90
88
  require('classnames');
@@ -96,7 +94,6 @@ require('@babel/runtime-corejs3/core-js-stable/object/from-entries');
96
94
  require('@babel/runtime-corejs3/core-js-stable/instance/flags');
97
95
  require('@flopflip/combine-adapters');
98
96
  require('@flopflip/http-adapter');
99
- require('perfume.js');
100
97
  require('react-redux');
101
98
  require('lodash/upperFirst');
102
99
  require('./oidc-540a091a.cjs.prod.js');
@@ -123,8 +120,6 @@ exports.ApplicationPageTitle = dist_commercetoolsFrontendApplicationShell.Applic
123
120
  exports.ApplicationShell = dist_commercetoolsFrontendApplicationShell.ApplicationShell;
124
121
  exports.ApplicationShellProvider = dist_commercetoolsFrontendApplicationShell.ApplicationShellProvider;
125
122
  exports.ConfigureIntlProvider = dist_commercetoolsFrontendApplicationShell.ConfigureIntlProvider;
126
- exports.GtmContext = dist_commercetoolsFrontendApplicationShell.GtmContext;
127
- exports.GtmUserLogoutTracker = dist_commercetoolsFrontendApplicationShell.GtmUserLogoutTracker;
128
123
  exports.InjectReducers = dist_commercetoolsFrontendApplicationShell.InjectReducers;
129
124
  exports.SetupFlopFlipProvider = dist_commercetoolsFrontendApplicationShell.SetupFlopFlipProvider;
130
125
  exports.SuspendedRoute = dist_commercetoolsFrontendApplicationShell.SuspendedRoute;
@@ -1,5 +1,5 @@
1
- export { R as RouteCatchAll, h as applyDefaultMiddlewares, k as buildApiUrl, d as createApolloClient, m as createHttpClientOptions, n as executeHttpClientRequest, g as getMcApiUrl, a as selectProjectKeyFromUrl, j as selectUserId, f as version } from './configure-apollo-1d40c1c0.esm.js';
2
- export { m as ApplicationPageTitle, k as ApplicationShell, l as ApplicationShellProvider, C as ConfigureIntlProvider, G as GtmContext, q as GtmUserLogoutTracker, n as InjectReducers, S as SetupFlopFlipProvider, r as SuspendedRoute, o as createApolloContextForProxyForwardTo, s as setupGlobalErrorListener, v as useMcLazyQuery, w as useMcMutation, u as useMcQuery, x as useRoutesCreator } from './index-ca5ab60d.esm.js';
1
+ export { R as RouteCatchAll, h as applyDefaultMiddlewares, k as buildApiUrl, d as createApolloClient, l as createHttpClientOptions, m as executeHttpClientRequest, g as getMcApiUrl, a as selectProjectKeyFromUrl, j as selectUserId, f as version } from './configure-apollo-faeb9a07.esm.js';
2
+ export { m as ApplicationPageTitle, k as ApplicationShell, l as ApplicationShellProvider, C as ConfigureIntlProvider, n as InjectReducers, S as SetupFlopFlipProvider, q as SuspendedRoute, o as createApolloContextForProxyForwardTo, s as setupGlobalErrorListener, r as useMcLazyQuery, t as useMcMutation, u as useMcQuery, v as useRoutesCreator } from './index-8b1929c9.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';
@@ -79,8 +79,6 @@ import '@apollo/client/react';
79
79
  import '@commercetools-frontend/assets/images/ct-logo.svg';
80
80
  import '@commercetools-uikit/loading-spinner';
81
81
  import '@commercetools-frontend/l10n';
82
- import '@babel/runtime-corejs3/core-js-stable/instance/reverse';
83
- import 'lodash/camelCase';
84
82
  import '@babel/runtime-corejs3/core-js-stable/array/from';
85
83
  import '@babel/runtime-corejs3/core-js-stable/instance/every';
86
84
  import 'classnames';
@@ -92,7 +90,6 @@ import '@babel/runtime-corejs3/core-js-stable/object/from-entries';
92
90
  import '@babel/runtime-corejs3/core-js-stable/instance/flags';
93
91
  import '@flopflip/combine-adapters';
94
92
  import '@flopflip/http-adapter';
95
- import 'perfume.js';
96
93
  import 'react-redux';
97
94
  import 'lodash/upperFirst';
98
95
  import './oidc-10fa96f0.esm.js';
@@ -87,7 +87,7 @@ var _Reflect$construct__default = /*#__PURE__*/_interopDefault(_Reflect$construc
87
87
  var _JSON$stringify__default = /*#__PURE__*/_interopDefault(_JSON$stringify);
88
88
 
89
89
  // NOTE: This string will be replaced on build time with the package version.
90
- var applicationShellVersion = "21.25.2";
90
+ var applicationShellVersion = "22.0.1";
91
91
 
92
92
  const isShowRequestInFlightAction = action => action.type === constants.SHOW_LOADING;
93
93
 
@@ -911,7 +911,6 @@ exports.getMcApiUrl = getMcApiUrl;
911
911
  exports.getSessionScope = getSessionScope;
912
912
  exports.getSessionState = getSessionState;
913
913
  exports.internalReduxStore = internalReduxStore;
914
- exports.logger = logger;
915
914
  exports.removeActiveProjectKey = removeActiveProjectKey;
916
915
  exports.selectProjectKeyFromUrl = selectProjectKeyFromUrl;
917
916
  exports.selectUserId = selectUserId;
@@ -87,7 +87,7 @@ var _Reflect$construct__default = /*#__PURE__*/_interopDefault(_Reflect$construc
87
87
  var _JSON$stringify__default = /*#__PURE__*/_interopDefault(_JSON$stringify);
88
88
 
89
89
  // NOTE: This string will be replaced on build time with the package version.
90
- var applicationShellVersion = "21.25.2";
90
+ var applicationShellVersion = "22.0.1";
91
91
 
92
92
  const isShowRequestInFlightAction = action => action.type === constants.SHOW_LOADING;
93
93
 
@@ -919,7 +919,6 @@ exports.getMcApiUrl = getMcApiUrl;
919
919
  exports.getSessionScope = getSessionScope;
920
920
  exports.getSessionState = getSessionState;
921
921
  exports.internalReduxStore = internalReduxStore;
922
- exports.logger = logger;
923
922
  exports.removeActiveProjectKey = removeActiveProjectKey;
924
923
  exports.selectProjectKeyFromUrl = selectProjectKeyFromUrl;
925
924
  exports.selectUserId = selectUserId;
@@ -15,8 +15,8 @@ import { applyMiddleware, configureStore, combineReducers } from '@reduxjs/toolk
15
15
  import mapValues from 'lodash/mapValues';
16
16
  import omitEmpty from 'omit-empty-es';
17
17
  import thunk from 'redux-thunk';
18
- import { SHOW_LOADING, HIDE_LOADING, HIDE_ALL_PAGE_NOTIFICATIONS, NOTIFICATION_KINDS_PAGE, GRAPHQL_TARGETS, STATUS_CODES, LOGOUT_REASONS } from '@commercetools-frontend/constants';
19
- import { ADD_NOTIFICATION, removeNotification, REMOVE_NOTIFICATION, reducer, middleware } from '@commercetools-frontend/notifications';
18
+ import { SHOW_LOADING, HIDE_LOADING, NOTIFICATION_KINDS_PAGE, HIDE_ALL_PAGE_NOTIFICATIONS, GRAPHQL_TARGETS, STATUS_CODES, LOGOUT_REASONS } from '@commercetools-frontend/constants';
19
+ import { removeNotification, ADD_NOTIFICATION, REMOVE_NOTIFICATION, middleware, reducer } from '@commercetools-frontend/notifications';
20
20
  import { createMiddleware } from '@commercetools-frontend/sdk';
21
21
  import { lazy } from 'react';
22
22
  import _indexOfInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/index-of';
@@ -30,7 +30,7 @@ import { createLogger } from 'redux-logger';
30
30
  import _URL from '@babel/runtime-corejs3/core-js-stable/url';
31
31
  import _concatInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/concat';
32
32
  import _findInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/find';
33
- import { ApolloLink, createHttpLink, ApolloClient, from, InMemoryCache } from '@apollo/client';
33
+ import { ApolloLink, createHttpLink, ApolloClient, InMemoryCache, from } from '@apollo/client';
34
34
  import loggerLink from 'apollo-link-logger';
35
35
  import { onError } from '@apollo/client/link/error';
36
36
  import history from '@commercetools-frontend/browser-history';
@@ -52,7 +52,7 @@ import _JSON$stringify from '@babel/runtime-corejs3/core-js-stable/json/stringif
52
52
  import { RetryLink } from '@apollo/client/link/retry';
53
53
 
54
54
  // NOTE: This string will be replaced on build time with the package version.
55
- var applicationShellVersion = "21.25.2";
55
+ var applicationShellVersion = "22.0.1";
56
56
 
57
57
  const isShowRequestInFlightAction = action => action.type === SHOW_LOADING;
58
58
 
@@ -870,4 +870,4 @@ const createApolloClient = function () {
870
870
  });
871
871
  };
872
872
 
873
- export { RouteCatchAll as R, selectProjectKeyFromUrl as a, getActiveProjectKey as b, getSessionScope as c, createApolloClient as d, setCachedApolloClient as e, applicationShellVersion as f, getMcApiUrl as g, applyDefaultMiddlewares as h, internalReduxStore as i, selectUserId as j, buildApiUrl as k, logger as l, createHttpClientOptions as m, executeHttpClientRequest as n, createReduxStore as o, setSessionScope as p, setSessionState as q, removeActiveProjectKey as r, setActiveProjectKey as s, clearSession as t, getSessionState as u, setActiveSession as v };
873
+ export { RouteCatchAll as R, selectProjectKeyFromUrl as a, getActiveProjectKey as b, getSessionScope as c, createApolloClient as d, setCachedApolloClient as e, applicationShellVersion as f, getMcApiUrl as g, applyDefaultMiddlewares as h, internalReduxStore as i, selectUserId as j, buildApiUrl as k, createHttpClientOptions as l, executeHttpClientRequest as m, createReduxStore as n, setSessionScope as o, setSessionState as p, clearSession as q, removeActiveProjectKey as r, setActiveProjectKey as s, getSessionState as t, setActiveSession as u };
@@ -5,18 +5,16 @@ import type { TFlags } from '@flopflip/types';
5
5
  import type { Dispatch } from 'redux';
6
6
  import type { TApplicationContext } from '@commercetools-frontend/application-shell-connectors';
7
7
  import type { TAsyncLocaleDataProps } from '@commercetools-frontend/i18n';
8
- import type { TrackingList } from '../../utils/gtm';
9
8
  type TApplicationShellProps = {
10
9
  apolloClient?: ApolloClient<NormalizedCacheObject>;
11
10
  environment: TApplicationContext<{}>['environment'];
12
11
  featureFlags?: TFlags;
13
12
  defaultFeatureFlags?: TFlags;
14
- trackingEventList?: TrackingList;
15
13
  applicationMessages: TAsyncLocaleDataProps['applicationMessages'];
16
14
  onRegisterErrorListeners?: (args: {
17
15
  dispatch: Dispatch;
18
16
  }) => void;
19
- onMenuItemClick?: <TrackFn>(event: SyntheticEvent<HTMLAnchorElement>, track: TrackFn) => void;
17
+ onMenuItemClick?: (event: SyntheticEvent<HTMLAnchorElement>) => void;
20
18
  disableRoutePermissionCheck?: boolean;
21
19
  render?: () => JSX.Element;
22
20
  children?: ReactNode;
@@ -5,7 +5,7 @@ type TApplicationShellAuthenticationProps = {
5
5
  featureFlags?: TFlags;
6
6
  defaultFeatureFlags?: TFlags;
7
7
  applicationMessages: TAsyncLocaleDataProps['applicationMessages'];
8
- onMenuItemClick?: <TrackFn>(event: SyntheticEvent<HTMLAnchorElement>, track: TrackFn) => void;
8
+ onMenuItemClick?: (event: SyntheticEvent<HTMLAnchorElement>) => void;
9
9
  disableRoutePermissionCheck?: boolean;
10
10
  render?: () => JSX.Element;
11
11
  children?: ReactNode;
@@ -1,13 +1,10 @@
1
1
  /// <reference types="react" />
2
- import '../../track-performance';
3
2
  import { ApolloClient, type NormalizedCacheObject } from '@apollo/client';
4
3
  import { type TApplicationContext } from '@commercetools-frontend/application-shell-connectors';
5
4
  import type { TAsyncLocaleDataProps } from '@commercetools-frontend/i18n';
6
- import type { TrackingList } from '../../utils/gtm';
7
5
  type TApplicationShellProviderProps = {
8
6
  apolloClient?: ApolloClient<NormalizedCacheObject>;
9
7
  environment: TApplicationContext<{}>['environment'];
10
- trackingEventList?: TrackingList;
11
8
  applicationMessages: TAsyncLocaleDataProps['applicationMessages'];
12
9
  children: (args: {
13
10
  isAuthenticated: boolean;
@@ -18,7 +18,6 @@ declare const Navbar: import("react").LazyExoticComponent<{
18
18
  servedByProxy: boolean;
19
19
  ldClientSideId?: string | undefined;
20
20
  trackingSentry?: string | undefined;
21
- trackingGtm?: string | undefined;
22
21
  __DEVELOPMENT__?: {
23
22
  oidc?: import("@commercetools-frontend/constants").ApplicationOidcForDevelopmentConfig | undefined;
24
23
  menuLinks?: import("@commercetools-frontend/constants").ApplicationMenuLinksForDevelopmentConfig | undefined;
@@ -93,7 +92,7 @@ declare const Navbar: import("react").LazyExoticComponent<{
93
92
  name: string;
94
93
  };
95
94
  } | null | undefined;
96
- onMenuItemClick?: (<TrackFn>(event: import("react").SyntheticEvent<HTMLAnchorElement, Event>, track: TrackFn) => void) | undefined;
95
+ onMenuItemClick?: ((event: import("react").SyntheticEvent<HTMLAnchorElement, Event>) => void) | undefined;
97
96
  }): import("@emotion/react/jsx-runtime").JSX.Element;
98
97
  displayName: string;
99
98
  }>;
@@ -58,7 +58,7 @@ export type MenuItemLinkProps = {
58
58
  linkTo?: string;
59
59
  exactMatch: boolean;
60
60
  children: ReactNode;
61
- onClick?: <TrackFn>(event: SyntheticEvent<HTMLAnchorElement>, track: TrackFn) => void;
61
+ onClick?: (event: SyntheticEvent<HTMLAnchorElement>) => void;
62
62
  useFullRedirectsForLinks?: boolean;
63
63
  };
64
64
  declare const MenuItemLink: {
@@ -63,7 +63,6 @@ declare const ProjectContainer: import("react").LazyExoticComponent<{
63
63
  servedByProxy: boolean;
64
64
  ldClientSideId?: string | undefined;
65
65
  trackingSentry?: string | undefined;
66
- trackingGtm?: string | undefined;
67
66
  __DEVELOPMENT__?: {
68
67
  oidc?: import("@commercetools-frontend/constants").ApplicationOidcForDevelopmentConfig | undefined;
69
68
  menuLinks?: import("@commercetools-frontend/constants").ApplicationMenuLinksForDevelopmentConfig | undefined;
@@ -9,8 +9,6 @@ export { default as InjectReducers } from './components/inject-reducers';
9
9
  export { default as RouteCatchAll } from './components/route-catch-all';
10
10
  export { default as setupGlobalErrorListener } from './utils/setup-global-error-listener';
11
11
  export { getMcApiUrl, selectUserId, selectProjectKeyFromUrl, createApolloContextForProxyForwardTo, } from './utils';
12
- export { GtmContext } from './components/gtm-booter';
13
- export { default as GtmUserLogoutTracker } from './components/gtm-user-logout-tracker';
14
12
  export { default as SetupFlopFlipProvider } from './components/setup-flop-flip-provider';
15
13
  export { default as ConfigureIntlProvider } from './components/configure-intl-provider';
16
14
  export { default as SuspendedRoute } from './components/suspended-route';