@commercetools-frontend/application-shell 22.21.0 → 22.23.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.
- package/dist/commercetools-frontend-application-shell.cjs.dev.js +1 -2
- package/dist/commercetools-frontend-application-shell.cjs.prod.js +1 -2
- package/dist/commercetools-frontend-application-shell.esm.js +1 -2
- package/dist/{custom-view-dev-host-9aa8332d.cjs.dev.js → custom-view-dev-host-00f32f75.cjs.dev.js} +1 -2
- package/dist/{custom-view-dev-host-c66c139d.cjs.prod.js → custom-view-dev-host-65a7aeef.cjs.prod.js} +1 -2
- package/dist/{custom-view-dev-host-dc5c419c.esm.js → custom-view-dev-host-f22ef884.esm.js} +1 -2
- package/dist/declarations/src/components/application-shell/application-shell.d.ts +0 -1
- package/dist/declarations/src/components/application-shell-authenticated/application-shell-authenticated.d.ts +0 -1
- package/dist/declarations/src/components/setup-flop-flip-provider/setup-flop-flip-provider.d.ts +0 -1
- package/dist/{index-2e98a616.cjs.prod.js → index-12ac0504.cjs.prod.js} +19 -61
- package/dist/{index-05477557.esm.js → index-2ec76198.esm.js} +28 -72
- package/dist/{index-b64415f1.cjs.dev.js → index-647bfe57.cjs.dev.js} +27 -72
- package/dist/{navbar-a138be79.cjs.prod.js → navbar-70ce6631.cjs.prod.js} +0 -1
- package/dist/{navbar-7645ab1b.esm.js → navbar-8ce541e6.esm.js} +0 -1
- package/dist/{navbar-bb30c5fb.cjs.dev.js → navbar-900f1217.cjs.dev.js} +0 -1
- package/dist/{oidc-callback-42f86d32.cjs.prod.js → oidc-callback-35e54011.cjs.prod.js} +3 -5
- package/dist/{oidc-callback-b7c7a98a.esm.js → oidc-callback-a3c20258.esm.js} +4 -6
- package/dist/{oidc-callback-be5197c6.cjs.dev.js → oidc-callback-c31deea5.cjs.dev.js} +4 -6
- package/dist/{project-container-48cdcffe.esm.js → project-container-24f4a6db.esm.js} +5 -6
- package/dist/{project-container-9d5ae538.cjs.dev.js → project-container-8f254abf.cjs.dev.js} +5 -6
- package/dist/{project-container-2f3f94fc.cjs.prod.js → project-container-e6e80219.cjs.prod.js} +5 -6
- package/dist/{project-expired-a49612d9.cjs.dev.js → project-expired-804051c6.cjs.dev.js} +2 -3
- package/dist/{project-expired-3bd07a4e.cjs.prod.js → project-expired-80b1b84f.cjs.prod.js} +2 -3
- package/dist/{project-expired-cfabe36d.esm.js → project-expired-cf654189.esm.js} +2 -3
- package/dist/{project-not-found-e1839676.esm.js → project-not-found-776b5f07.esm.js} +2 -3
- package/dist/{project-not-found-6181f88c.cjs.prod.js → project-not-found-a2b83190.cjs.prod.js} +2 -3
- package/dist/{project-not-found-9ada9653.cjs.dev.js → project-not-found-f211a7f0.cjs.dev.js} +2 -3
- package/dist/{project-not-initialized-74d0593e.cjs.dev.js → project-not-initialized-1cbdadad.cjs.dev.js} +2 -3
- package/dist/{project-not-initialized-7170ef94.cjs.prod.js → project-not-initialized-744ade8d.cjs.prod.js} +2 -3
- package/dist/{project-not-initialized-9a794bb0.esm.js → project-not-initialized-ae70fec1.esm.js} +2 -3
- package/dist/{project-suspended-0f0e3d4a.esm.js → project-suspended-0e309bb4.esm.js} +2 -3
- package/dist/{project-suspended-c5de3a72.cjs.dev.js → project-suspended-797280d3.cjs.dev.js} +2 -3
- package/dist/{project-suspended-ff51a709.cjs.prod.js → project-suspended-a62f987c.cjs.prod.js} +2 -3
- package/dist/{quick-access-8b451eb8.cjs.dev.js → quick-access-44ee4b11.cjs.dev.js} +1 -3
- package/dist/{quick-access-02c8e115.cjs.prod.js → quick-access-947aa642.cjs.prod.js} +1 -3
- package/dist/{quick-access-9735e4bf.esm.js → quick-access-b19ee5f3.esm.js} +1 -3
- package/dist/{redirect-to-logout-6da623df.cjs.dev.js → redirect-to-logout-2c6287d9.cjs.dev.js} +1 -2
- package/dist/{redirect-to-logout-edf6c239.esm.js → redirect-to-logout-330dc9d8.esm.js} +1 -2
- package/dist/{redirect-to-logout-cd454559.cjs.prod.js → redirect-to-logout-3bde0f08.cjs.prod.js} +1 -2
- package/dist/{requests-in-flight-loader-ec05c2ad.cjs.prod.js → requests-in-flight-loader-6616c274.cjs.prod.js} +1 -2
- package/dist/{requests-in-flight-loader-b8e69101.cjs.dev.js → requests-in-flight-loader-684d8506.cjs.dev.js} +1 -2
- package/dist/{requests-in-flight-loader-a6df5eeb.esm.js → requests-in-flight-loader-a9716a3f.esm.js} +1 -2
- package/dist/{service-page-project-switcher-207a38ca.cjs.prod.js → service-page-project-switcher-34aa3ac7.cjs.prod.js} +1 -1
- package/dist/{service-page-project-switcher-a7757d33.esm.js → service-page-project-switcher-609f89da.esm.js} +1 -1
- package/dist/{service-page-project-switcher-f0f6e524.cjs.dev.js → service-page-project-switcher-e0c723ec.cjs.dev.js} +1 -1
- package/dist/{user-settings-menu-2a9457ba.cjs.dev.js → user-settings-menu-56a9406f.cjs.dev.js} +10 -7
- package/dist/{user-settings-menu-d4c4058d.cjs.prod.js → user-settings-menu-d592fb2e.cjs.prod.js} +4 -1
- package/dist/{user-settings-menu-a4b9e9a7.esm.js → user-settings-menu-d5c30ead.esm.js} +10 -7
- package/dist/{version-tracker-6993e860.esm.js → version-tracker-1b61ce66.esm.js} +1 -2
- package/dist/{version-tracker-d0e2442f.cjs.prod.js → version-tracker-59f99aed.cjs.prod.js} +1 -2
- package/dist/{version-tracker-2a6c5d34.cjs.dev.js → version-tracker-a44e5e31.cjs.dev.js} +1 -2
- package/package.json +38 -38
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.dev.js +3 -0
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.prod.js +3 -0
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.esm.js +3 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var react = require('react');
|
|
4
4
|
var applicationShellConnectors = require('@commercetools-frontend/application-shell-connectors');
|
|
5
5
|
var sdk = require('@commercetools-frontend/sdk');
|
|
6
|
-
var dist_commercetoolsFrontendApplicationShell = require('./index-
|
|
6
|
+
var dist_commercetoolsFrontendApplicationShell = require('./index-647bfe57.cjs.dev.js');
|
|
7
7
|
var _JSON$stringify = require('@babel/runtime-corejs3/core-js-stable/json/stringify');
|
|
8
8
|
var constants = require('@commercetools-frontend/constants');
|
|
9
9
|
require('prop-types');
|
|
@@ -68,7 +68,6 @@ require('@babel/runtime-corejs3/helpers/createClass');
|
|
|
68
68
|
require('@babel/runtime-corejs3/helpers/inherits');
|
|
69
69
|
require('@babel/runtime-corejs3/helpers/possibleConstructorReturn');
|
|
70
70
|
require('@babel/runtime-corejs3/helpers/getPrototypeOf');
|
|
71
|
-
require('@babel/runtime-corejs3/core-js-stable/set-timeout');
|
|
72
71
|
require('@babel/runtime-corejs3/core-js-stable/object/from-entries');
|
|
73
72
|
require('@babel/runtime-corejs3/core-js-stable/instance/flags');
|
|
74
73
|
require('@apollo/client/react');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/application-shell",
|
|
3
|
-
"version": "22.
|
|
3
|
+
"version": "22.23.0",
|
|
4
4
|
"description": "React component to bootstrap the general MC application logic",
|
|
5
5
|
"bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
|
|
6
6
|
"repository": {
|
|
@@ -39,36 +39,36 @@
|
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@babel/runtime": "^7.22.15",
|
|
41
41
|
"@babel/runtime-corejs3": "^7.22.15",
|
|
42
|
-
"@commercetools-frontend/actions-global": "22.
|
|
43
|
-
"@commercetools-frontend/application-components": "22.
|
|
44
|
-
"@commercetools-frontend/application-config": "22.
|
|
45
|
-
"@commercetools-frontend/application-shell-connectors": "22.
|
|
46
|
-
"@commercetools-frontend/assets": "22.
|
|
47
|
-
"@commercetools-frontend/browser-history": "22.
|
|
48
|
-
"@commercetools-frontend/constants": "22.
|
|
49
|
-
"@commercetools-frontend/i18n": "22.
|
|
50
|
-
"@commercetools-frontend/l10n": "22.
|
|
51
|
-
"@commercetools-frontend/notifications": "22.
|
|
52
|
-
"@commercetools-frontend/permissions": "22.
|
|
53
|
-
"@commercetools-frontend/react-notifications": "22.
|
|
54
|
-
"@commercetools-frontend/sdk": "22.
|
|
55
|
-
"@commercetools-frontend/sentry": "22.
|
|
56
|
-
"@commercetools-frontend/url-utils": "22.
|
|
57
|
-
"@commercetools-uikit/accessible-hidden": "^
|
|
58
|
-
"@commercetools-uikit/avatar": "^
|
|
59
|
-
"@commercetools-uikit/card": "^
|
|
60
|
-
"@commercetools-uikit/constraints": "^
|
|
61
|
-
"@commercetools-uikit/design-system": "^
|
|
62
|
-
"@commercetools-uikit/flat-button": "^
|
|
63
|
-
"@commercetools-uikit/icon-button": "^
|
|
64
|
-
"@commercetools-uikit/icons": "^
|
|
65
|
-
"@commercetools-uikit/loading-spinner": "^
|
|
66
|
-
"@commercetools-uikit/notifications": "^
|
|
67
|
-
"@commercetools-uikit/primary-button": "^
|
|
68
|
-
"@commercetools-uikit/secondary-button": "^
|
|
69
|
-
"@commercetools-uikit/select-input": "^
|
|
70
|
-
"@commercetools-uikit/spacings": "^
|
|
71
|
-
"@commercetools-uikit/text": "^
|
|
42
|
+
"@commercetools-frontend/actions-global": "22.23.0",
|
|
43
|
+
"@commercetools-frontend/application-components": "22.23.0",
|
|
44
|
+
"@commercetools-frontend/application-config": "22.23.0",
|
|
45
|
+
"@commercetools-frontend/application-shell-connectors": "22.23.0",
|
|
46
|
+
"@commercetools-frontend/assets": "22.23.0",
|
|
47
|
+
"@commercetools-frontend/browser-history": "22.23.0",
|
|
48
|
+
"@commercetools-frontend/constants": "22.23.0",
|
|
49
|
+
"@commercetools-frontend/i18n": "22.23.0",
|
|
50
|
+
"@commercetools-frontend/l10n": "22.23.0",
|
|
51
|
+
"@commercetools-frontend/notifications": "22.23.0",
|
|
52
|
+
"@commercetools-frontend/permissions": "22.23.0",
|
|
53
|
+
"@commercetools-frontend/react-notifications": "22.23.0",
|
|
54
|
+
"@commercetools-frontend/sdk": "22.23.0",
|
|
55
|
+
"@commercetools-frontend/sentry": "22.23.0",
|
|
56
|
+
"@commercetools-frontend/url-utils": "22.23.0",
|
|
57
|
+
"@commercetools-uikit/accessible-hidden": "^19.0.0",
|
|
58
|
+
"@commercetools-uikit/avatar": "^19.0.0",
|
|
59
|
+
"@commercetools-uikit/card": "^19.0.0",
|
|
60
|
+
"@commercetools-uikit/constraints": "^19.0.0",
|
|
61
|
+
"@commercetools-uikit/design-system": "^19.0.0",
|
|
62
|
+
"@commercetools-uikit/flat-button": "^19.0.0",
|
|
63
|
+
"@commercetools-uikit/icon-button": "^19.0.0",
|
|
64
|
+
"@commercetools-uikit/icons": "^19.0.0",
|
|
65
|
+
"@commercetools-uikit/loading-spinner": "^19.0.0",
|
|
66
|
+
"@commercetools-uikit/notifications": "^19.0.0",
|
|
67
|
+
"@commercetools-uikit/primary-button": "^19.0.0",
|
|
68
|
+
"@commercetools-uikit/secondary-button": "^19.0.0",
|
|
69
|
+
"@commercetools-uikit/select-input": "^19.0.0",
|
|
70
|
+
"@commercetools-uikit/spacings": "^19.0.0",
|
|
71
|
+
"@commercetools-uikit/text": "^19.0.0",
|
|
72
72
|
"@emotion/react": "^11.11.4",
|
|
73
73
|
"@emotion/styled": "^11.11.0",
|
|
74
74
|
"@flopflip/combine-adapters": "13.4.1",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"@flopflip/memory-adapter": "13.4.1",
|
|
78
78
|
"@flopflip/react-broadcast": "13.4.1",
|
|
79
79
|
"@flopflip/types": "13.4.1",
|
|
80
|
-
"@reduxjs/toolkit": "1.9.
|
|
80
|
+
"@reduxjs/toolkit": "1.9.7",
|
|
81
81
|
"@types/common-tags": "^1.8.2",
|
|
82
82
|
"@types/history": "^4.7.11",
|
|
83
83
|
"@types/lodash": "^4.14.198",
|
|
@@ -102,16 +102,16 @@
|
|
|
102
102
|
"memoize-one": "5.2.1",
|
|
103
103
|
"moment": "^2.29.4",
|
|
104
104
|
"moment-timezone": "^0.5.40",
|
|
105
|
-
"omit-empty-es": "1.
|
|
105
|
+
"omit-empty-es": "1.2.0",
|
|
106
106
|
"prop-types": "15.8.1",
|
|
107
107
|
"qss": "2.0.3",
|
|
108
108
|
"react-required-if": "1.0.3",
|
|
109
109
|
"react-select": "5.8.0",
|
|
110
110
|
"redux-logger": "3.0.6",
|
|
111
111
|
"redux-thunk": "2.4.2",
|
|
112
|
-
"tiny-invariant": "1.3.
|
|
112
|
+
"tiny-invariant": "1.3.3",
|
|
113
113
|
"unfetch": "4.2.0",
|
|
114
|
-
"uuid": "9.0.
|
|
114
|
+
"uuid": "9.0.1"
|
|
115
115
|
},
|
|
116
116
|
"devDependencies": {
|
|
117
117
|
"@apollo/client": "3.7.14",
|
|
@@ -119,12 +119,12 @@
|
|
|
119
119
|
"@testing-library/react-hooks": "8.0.1",
|
|
120
120
|
"@types/jest": "^29.5.4",
|
|
121
121
|
"@types/testing-library__jest-dom": "^5.14.9",
|
|
122
|
-
"jest": "29.
|
|
123
|
-
"jest-mock": "29.
|
|
122
|
+
"jest": "29.7.0",
|
|
123
|
+
"jest-mock": "29.7.0",
|
|
124
124
|
"msw": "0.49.3",
|
|
125
125
|
"react": "17.0.2",
|
|
126
126
|
"react-dom": "17.0.2",
|
|
127
|
-
"react-intl": "^6.4.
|
|
127
|
+
"react-intl": "^6.4.7",
|
|
128
128
|
"react-redux": "7.2.9",
|
|
129
129
|
"react-router-dom": "5.3.4",
|
|
130
130
|
"redux": "4.2.1"
|
|
@@ -171,6 +171,7 @@ LoadingFallback.displayName = 'LoadingFallback';
|
|
|
171
171
|
// For backwards compatibility we need to denormalize the given `permissions` option
|
|
172
172
|
// (which is now deprecated) to `allAppliedPermissions`, in order to pass the value
|
|
173
173
|
// to the `project` prop in the application context provider.
|
|
174
|
+
|
|
174
175
|
const denormalizePermissions = permissions => {
|
|
175
176
|
var _context;
|
|
176
177
|
if (!permissions) return [];
|
|
@@ -182,6 +183,7 @@ const denormalizePermissions = permissions => {
|
|
|
182
183
|
// For backwards compatibility we need to denormalize the given `actionRights` option
|
|
183
184
|
// (which is now deprecated) to `allAppliedActionRights`, in order to pass the value
|
|
184
185
|
// to the `project` prop in the application context provider.
|
|
186
|
+
|
|
185
187
|
const denormalizeActionRights = actionRights => {
|
|
186
188
|
var _context2;
|
|
187
189
|
if (!actionRights) return [];
|
|
@@ -197,6 +199,7 @@ const denormalizeActionRights = actionRights => {
|
|
|
197
199
|
// For backwards compatibility we need to denormalize the given `dataFences` option
|
|
198
200
|
// (which is now deprecated) to `allAppliedDataFences`, in order to pass the value
|
|
199
201
|
// to the `project` prop in the application context provider.
|
|
202
|
+
|
|
200
203
|
const denormalizeDataFences = dataFences => {
|
|
201
204
|
var _context4;
|
|
202
205
|
if (!dataFences) return [];
|
|
@@ -170,6 +170,7 @@ LoadingFallback.displayName = 'LoadingFallback';
|
|
|
170
170
|
// For backwards compatibility we need to denormalize the given `permissions` option
|
|
171
171
|
// (which is now deprecated) to `allAppliedPermissions`, in order to pass the value
|
|
172
172
|
// to the `project` prop in the application context provider.
|
|
173
|
+
|
|
173
174
|
const denormalizePermissions = permissions => {
|
|
174
175
|
var _context;
|
|
175
176
|
if (!permissions) return [];
|
|
@@ -181,6 +182,7 @@ const denormalizePermissions = permissions => {
|
|
|
181
182
|
// For backwards compatibility we need to denormalize the given `actionRights` option
|
|
182
183
|
// (which is now deprecated) to `allAppliedActionRights`, in order to pass the value
|
|
183
184
|
// to the `project` prop in the application context provider.
|
|
185
|
+
|
|
184
186
|
const denormalizeActionRights = actionRights => {
|
|
185
187
|
var _context2;
|
|
186
188
|
if (!actionRights) return [];
|
|
@@ -196,6 +198,7 @@ const denormalizeActionRights = actionRights => {
|
|
|
196
198
|
// For backwards compatibility we need to denormalize the given `dataFences` option
|
|
197
199
|
// (which is now deprecated) to `allAppliedDataFences`, in order to pass the value
|
|
198
200
|
// to the `project` prop in the application context provider.
|
|
201
|
+
|
|
199
202
|
const denormalizeDataFences = dataFences => {
|
|
200
203
|
var _context4;
|
|
201
204
|
if (!dataFences) return [];
|
|
@@ -130,6 +130,7 @@ LoadingFallback.displayName = 'LoadingFallback';
|
|
|
130
130
|
// For backwards compatibility we need to denormalize the given `permissions` option
|
|
131
131
|
// (which is now deprecated) to `allAppliedPermissions`, in order to pass the value
|
|
132
132
|
// to the `project` prop in the application context provider.
|
|
133
|
+
|
|
133
134
|
const denormalizePermissions = permissions => {
|
|
134
135
|
var _context;
|
|
135
136
|
if (!permissions) return [];
|
|
@@ -141,6 +142,7 @@ const denormalizePermissions = permissions => {
|
|
|
141
142
|
// For backwards compatibility we need to denormalize the given `actionRights` option
|
|
142
143
|
// (which is now deprecated) to `allAppliedActionRights`, in order to pass the value
|
|
143
144
|
// to the `project` prop in the application context provider.
|
|
145
|
+
|
|
144
146
|
const denormalizeActionRights = actionRights => {
|
|
145
147
|
var _context2;
|
|
146
148
|
if (!actionRights) return [];
|
|
@@ -156,6 +158,7 @@ const denormalizeActionRights = actionRights => {
|
|
|
156
158
|
// For backwards compatibility we need to denormalize the given `dataFences` option
|
|
157
159
|
// (which is now deprecated) to `allAppliedDataFences`, in order to pass the value
|
|
158
160
|
// to the `project` prop in the application context provider.
|
|
161
|
+
|
|
159
162
|
const denormalizeDataFences = dataFences => {
|
|
160
163
|
var _context4;
|
|
161
164
|
if (!dataFences) return [];
|