@commercetools-frontend/application-shell 21.17.0 → 21.18.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.
- package/dist/{application-entry-point-67d8754d.cjs.dev.js → application-entry-point-13dfd321.cjs.dev.js} +8 -2
- package/dist/{application-entry-point-c63a6460.cjs.prod.js → application-entry-point-88e60ecd.cjs.prod.js} +8 -2
- package/dist/{application-entry-point-292e3a3e.esm.js → application-entry-point-afa38a2f.esm.js} +8 -2
- package/dist/commercetools-frontend-application-shell.cjs.dev.js +2 -2
- package/dist/commercetools-frontend-application-shell.cjs.prod.js +2 -2
- package/dist/commercetools-frontend-application-shell.esm.js +2 -2
- package/dist/declarations/src/types/generated/mc.d.ts +6 -0
- package/dist/{index-42368b52.cjs.dev.js → index-09303181.cjs.dev.js} +7 -7
- package/dist/{index-f19062cd.esm.js → index-a49b2df7.esm.js} +7 -7
- package/dist/{index-4581e7d6.cjs.prod.js → index-fe68c713.cjs.prod.js} +7 -7
- package/dist/{project-expired-04bc8e74.cjs.dev.js → project-expired-0826550b.cjs.dev.js} +3 -3
- package/dist/{project-expired-bdefb97a.cjs.prod.js → project-expired-35706f6f.cjs.prod.js} +3 -3
- package/dist/{project-expired-fe3d9a1e.esm.js → project-expired-4628d284.esm.js} +3 -3
- package/dist/{project-not-found-28b4da26.cjs.prod.js → project-not-found-18ac7cda.cjs.prod.js} +3 -3
- package/dist/{project-not-found-079b6307.cjs.dev.js → project-not-found-c84c1be7.cjs.dev.js} +3 -3
- package/dist/{project-not-found-730d25f7.esm.js → project-not-found-ff3bdde2.esm.js} +3 -3
- package/dist/{project-not-initialized-20d04d23.cjs.prod.js → project-not-initialized-6b2644dc.cjs.prod.js} +3 -3
- package/dist/{project-not-initialized-a6d52347.esm.js → project-not-initialized-9339b71d.esm.js} +3 -3
- package/dist/{project-not-initialized-8d841463.cjs.dev.js → project-not-initialized-d71db5f0.cjs.dev.js} +3 -3
- package/dist/{project-suspended-267991e0.cjs.prod.js → project-suspended-3a5f6bb2.cjs.prod.js} +3 -3
- package/dist/{project-suspended-f1151f09.cjs.dev.js → project-suspended-3cdf50f0.cjs.dev.js} +3 -3
- package/dist/{project-suspended-ef98c178.esm.js → project-suspended-663a8c83.esm.js} +3 -3
- package/dist/{quick-access-9f784445.cjs.prod.js → quick-access-055999e2.cjs.prod.js} +5 -5
- package/dist/{quick-access-e8c01f0e.cjs.dev.js → quick-access-6dc0e7dc.cjs.dev.js} +5 -5
- package/dist/{quick-access-767dd225.esm.js → quick-access-762b88b6.esm.js} +5 -5
- package/dist/{service-page-project-switcher-a2965a24.cjs.prod.js → service-page-project-switcher-8c11f457.cjs.prod.js} +1 -1
- package/dist/{service-page-project-switcher-b832958f.cjs.dev.js → service-page-project-switcher-ed869de3.cjs.dev.js} +1 -1
- package/dist/{service-page-project-switcher-1d482ee4.esm.js → service-page-project-switcher-ee8dc044.esm.js} +1 -1
- package/package.json +25 -25
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.dev.js +122 -2
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.prod.js +122 -2
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.esm.js +122 -2
|
@@ -24,7 +24,7 @@ var debounce = require('debounce-async');
|
|
|
24
24
|
var constants = require('@commercetools-frontend/constants');
|
|
25
25
|
var permissions$1 = require('@commercetools-frontend/permissions');
|
|
26
26
|
var applicationShellConnectors = require('@commercetools-frontend/application-shell-connectors');
|
|
27
|
-
var applicationEntryPoint = require('./application-entry-point-
|
|
27
|
+
var applicationEntryPoint = require('./application-entry-point-88e60ecd.cjs.prod.js');
|
|
28
28
|
var _Object$keys = require('@babel/runtime-corejs3/core-js-stable/object/keys');
|
|
29
29
|
var _Object$getOwnPropertySymbols = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
|
|
30
30
|
var _Object$getOwnPropertyDescriptor = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor');
|
|
@@ -43,7 +43,7 @@ var LoadingSpinner = require('@commercetools-uikit/loading-spinner');
|
|
|
43
43
|
var icons = require('@commercetools-uikit/icons');
|
|
44
44
|
var designSystem = require('@commercetools-uikit/design-system');
|
|
45
45
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
46
|
-
var dist_commercetoolsFrontendApplicationShell = require('./index-
|
|
46
|
+
var dist_commercetoolsFrontendApplicationShell = require('./index-fe68c713.cjs.prod.js');
|
|
47
47
|
var _Promise = require('@babel/runtime-corejs3/core-js-stable/promise');
|
|
48
48
|
var _reduceInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
49
49
|
var _findInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/find');
|
|
@@ -1083,14 +1083,14 @@ var createCommands = function createCommands(_ref) {
|
|
|
1083
1083
|
keywords: ['Go to Products'],
|
|
1084
1084
|
action: {
|
|
1085
1085
|
type: actionTypes.go,
|
|
1086
|
-
to: "/".concat(applicationContext.project.key, "/products
|
|
1086
|
+
to: "/".concat(applicationContext.project.key, "/products")
|
|
1087
1087
|
},
|
|
1088
1088
|
subCommands: _filterInstanceProperty__default["default"](_context3 = [permissions$1.hasSomePermissions([permissions.ViewProducts], applicationContext.permissions) && {
|
|
1089
1089
|
id: 'go/products/list',
|
|
1090
1090
|
text: intl.formatMessage(messages.openProductList),
|
|
1091
1091
|
action: {
|
|
1092
1092
|
type: actionTypes.go,
|
|
1093
|
-
to: "/".concat(applicationContext.project.key, "/products
|
|
1093
|
+
to: "/".concat(applicationContext.project.key, "/products")
|
|
1094
1094
|
}
|
|
1095
1095
|
}, permissions$1.hasSomePermissions([permissions.ViewProducts], applicationContext.permissions) && {
|
|
1096
1096
|
id: 'go/products/modified',
|
|
@@ -1104,7 +1104,7 @@ var createCommands = function createCommands(_ref) {
|
|
|
1104
1104
|
text: intl.formatMessage(messages.openPimSearch),
|
|
1105
1105
|
action: {
|
|
1106
1106
|
type: actionTypes.go,
|
|
1107
|
-
to: "/".concat(applicationContext.project.key, "/products
|
|
1107
|
+
to: "/".concat(applicationContext.project.key, "/products")
|
|
1108
1108
|
}
|
|
1109
1109
|
}, permissions$1.hasSomePermissions([permissions.ManageProducts], applicationContext.permissions) && {
|
|
1110
1110
|
id: 'go/products/add',
|
|
@@ -24,7 +24,7 @@ var debounce = require('debounce-async');
|
|
|
24
24
|
var constants = require('@commercetools-frontend/constants');
|
|
25
25
|
var permissions$1 = require('@commercetools-frontend/permissions');
|
|
26
26
|
var applicationShellConnectors = require('@commercetools-frontend/application-shell-connectors');
|
|
27
|
-
var applicationEntryPoint = require('./application-entry-point-
|
|
27
|
+
var applicationEntryPoint = require('./application-entry-point-13dfd321.cjs.dev.js');
|
|
28
28
|
var _Object$keys = require('@babel/runtime-corejs3/core-js-stable/object/keys');
|
|
29
29
|
var _Object$getOwnPropertySymbols = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
|
|
30
30
|
var _Object$getOwnPropertyDescriptor = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor');
|
|
@@ -43,7 +43,7 @@ var LoadingSpinner = require('@commercetools-uikit/loading-spinner');
|
|
|
43
43
|
var icons = require('@commercetools-uikit/icons');
|
|
44
44
|
var designSystem = require('@commercetools-uikit/design-system');
|
|
45
45
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
46
|
-
var dist_commercetoolsFrontendApplicationShell = require('./index-
|
|
46
|
+
var dist_commercetoolsFrontendApplicationShell = require('./index-09303181.cjs.dev.js');
|
|
47
47
|
var _Promise = require('@babel/runtime-corejs3/core-js-stable/promise');
|
|
48
48
|
var _reduceInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
49
49
|
var _findInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/find');
|
|
@@ -1118,14 +1118,14 @@ var createCommands = function createCommands(_ref) {
|
|
|
1118
1118
|
keywords: ['Go to Products'],
|
|
1119
1119
|
action: {
|
|
1120
1120
|
type: actionTypes.go,
|
|
1121
|
-
to: "/".concat(applicationContext.project.key, "/products
|
|
1121
|
+
to: "/".concat(applicationContext.project.key, "/products")
|
|
1122
1122
|
},
|
|
1123
1123
|
subCommands: _filterInstanceProperty__default["default"](_context3 = [permissions$1.hasSomePermissions([permissions.ViewProducts], applicationContext.permissions) && {
|
|
1124
1124
|
id: 'go/products/list',
|
|
1125
1125
|
text: intl.formatMessage(messages.openProductList),
|
|
1126
1126
|
action: {
|
|
1127
1127
|
type: actionTypes.go,
|
|
1128
|
-
to: "/".concat(applicationContext.project.key, "/products
|
|
1128
|
+
to: "/".concat(applicationContext.project.key, "/products")
|
|
1129
1129
|
}
|
|
1130
1130
|
}, permissions$1.hasSomePermissions([permissions.ViewProducts], applicationContext.permissions) && {
|
|
1131
1131
|
id: 'go/products/modified',
|
|
@@ -1139,7 +1139,7 @@ var createCommands = function createCommands(_ref) {
|
|
|
1139
1139
|
text: intl.formatMessage(messages.openPimSearch),
|
|
1140
1140
|
action: {
|
|
1141
1141
|
type: actionTypes.go,
|
|
1142
|
-
to: "/".concat(applicationContext.project.key, "/products
|
|
1142
|
+
to: "/".concat(applicationContext.project.key, "/products")
|
|
1143
1143
|
}
|
|
1144
1144
|
}, permissions$1.hasSomePermissions([permissions.ManageProducts], applicationContext.permissions) && {
|
|
1145
1145
|
id: 'go/products/add',
|
|
@@ -22,7 +22,7 @@ import debounce from 'debounce-async';
|
|
|
22
22
|
import { SUPPORT_PORTAL_URL, LOGOUT_REASONS, GRAPHQL_TARGETS, MC_API_PROXY_TARGETS } from '@commercetools-frontend/constants';
|
|
23
23
|
import { hasSomePermissions } from '@commercetools-frontend/permissions';
|
|
24
24
|
import { useApplicationContext } from '@commercetools-frontend/application-shell-connectors';
|
|
25
|
-
import { c as location } from './application-entry-point-
|
|
25
|
+
import { c as location } from './application-entry-point-afa38a2f.esm.js';
|
|
26
26
|
import _Object$keys from '@babel/runtime-corejs3/core-js-stable/object/keys';
|
|
27
27
|
import _Object$getOwnPropertySymbols from '@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols';
|
|
28
28
|
import _Object$getOwnPropertyDescriptor from '@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor';
|
|
@@ -41,7 +41,7 @@ import LoadingSpinner from '@commercetools-uikit/loading-spinner';
|
|
|
41
41
|
import { AngleThinRightIcon, SearchIcon } from '@commercetools-uikit/icons';
|
|
42
42
|
import { customProperties } from '@commercetools-uikit/design-system';
|
|
43
43
|
import { jsxs, jsx } from '@emotion/react/jsx-runtime';
|
|
44
|
-
import { B as ButlerContainer, p as pimIndexerStates } from './index-
|
|
44
|
+
import { B as ButlerContainer, p as pimIndexerStates } from './index-a49b2df7.esm.js';
|
|
45
45
|
import _Promise from '@babel/runtime-corejs3/core-js-stable/promise';
|
|
46
46
|
import _reduceInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/reduce';
|
|
47
47
|
import _findInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/find';
|
|
@@ -1087,14 +1087,14 @@ var createCommands = function createCommands(_ref) {
|
|
|
1087
1087
|
keywords: ['Go to Products'],
|
|
1088
1088
|
action: {
|
|
1089
1089
|
type: actionTypes.go,
|
|
1090
|
-
to: "/".concat(applicationContext.project.key, "/products
|
|
1090
|
+
to: "/".concat(applicationContext.project.key, "/products")
|
|
1091
1091
|
},
|
|
1092
1092
|
subCommands: _filterInstanceProperty(_context3 = [hasSomePermissions([permissions.ViewProducts], applicationContext.permissions) && {
|
|
1093
1093
|
id: 'go/products/list',
|
|
1094
1094
|
text: intl.formatMessage(messages.openProductList),
|
|
1095
1095
|
action: {
|
|
1096
1096
|
type: actionTypes.go,
|
|
1097
|
-
to: "/".concat(applicationContext.project.key, "/products
|
|
1097
|
+
to: "/".concat(applicationContext.project.key, "/products")
|
|
1098
1098
|
}
|
|
1099
1099
|
}, hasSomePermissions([permissions.ViewProducts], applicationContext.permissions) && {
|
|
1100
1100
|
id: 'go/products/modified',
|
|
@@ -1108,7 +1108,7 @@ var createCommands = function createCommands(_ref) {
|
|
|
1108
1108
|
text: intl.formatMessage(messages.openPimSearch),
|
|
1109
1109
|
action: {
|
|
1110
1110
|
type: actionTypes.go,
|
|
1111
|
-
to: "/".concat(applicationContext.project.key, "/products
|
|
1111
|
+
to: "/".concat(applicationContext.project.key, "/products")
|
|
1112
1112
|
}
|
|
1113
1113
|
}, hasSomePermissions([permissions.ManageProducts], applicationContext.permissions) && {
|
|
1114
1114
|
id: 'go/products/add',
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _styled = require('@emotion/styled/base');
|
|
4
4
|
var reactRouterDom = require('react-router-dom');
|
|
5
5
|
var applicationShellConnectors = require('@commercetools-frontend/application-shell-connectors');
|
|
6
|
-
var dist_commercetoolsFrontendApplicationShell = require('./index-
|
|
6
|
+
var dist_commercetoolsFrontendApplicationShell = require('./index-fe68c713.cjs.prod.js');
|
|
7
7
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
8
8
|
|
|
9
9
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _styled = require('@emotion/styled/base');
|
|
4
4
|
var reactRouterDom = require('react-router-dom');
|
|
5
5
|
var applicationShellConnectors = require('@commercetools-frontend/application-shell-connectors');
|
|
6
|
-
var dist_commercetoolsFrontendApplicationShell = require('./index-
|
|
6
|
+
var dist_commercetoolsFrontendApplicationShell = require('./index-09303181.cjs.dev.js');
|
|
7
7
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
8
8
|
|
|
9
9
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _styled from '@emotion/styled/base';
|
|
2
2
|
import { useParams } from 'react-router-dom';
|
|
3
3
|
import { useApplicationContext } from '@commercetools-frontend/application-shell-connectors';
|
|
4
|
-
import { P as ProjectSwitcher } from './index-
|
|
4
|
+
import { P as ProjectSwitcher } from './index-a49b2df7.esm.js';
|
|
5
5
|
import { jsx } from '@emotion/react/jsx-runtime';
|
|
6
6
|
|
|
7
7
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/application-shell",
|
|
3
|
-
"version": "21.
|
|
3
|
+
"version": "21.18.1",
|
|
4
4
|
"description": "React component to bootstrap the general MC application logic",
|
|
5
5
|
"bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
|
|
6
6
|
"repository": {
|
|
@@ -33,21 +33,21 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@babel/runtime": "^7.19.0",
|
|
35
35
|
"@babel/runtime-corejs3": "^7.19.0",
|
|
36
|
-
"@commercetools-frontend/actions-global": "21.
|
|
37
|
-
"@commercetools-frontend/application-components": "21.
|
|
38
|
-
"@commercetools-frontend/application-config": "21.
|
|
39
|
-
"@commercetools-frontend/application-shell-connectors": "21.
|
|
40
|
-
"@commercetools-frontend/assets": "21.
|
|
41
|
-
"@commercetools-frontend/browser-history": "21.
|
|
42
|
-
"@commercetools-frontend/constants": "21.
|
|
43
|
-
"@commercetools-frontend/i18n": "21.
|
|
44
|
-
"@commercetools-frontend/l10n": "21.
|
|
45
|
-
"@commercetools-frontend/notifications": "21.
|
|
46
|
-
"@commercetools-frontend/permissions": "21.
|
|
47
|
-
"@commercetools-frontend/react-notifications": "21.
|
|
48
|
-
"@commercetools-frontend/sdk": "21.
|
|
49
|
-
"@commercetools-frontend/sentry": "21.
|
|
50
|
-
"@commercetools-frontend/url-utils": "21.
|
|
36
|
+
"@commercetools-frontend/actions-global": "21.18.1",
|
|
37
|
+
"@commercetools-frontend/application-components": "21.18.1",
|
|
38
|
+
"@commercetools-frontend/application-config": "21.18.1",
|
|
39
|
+
"@commercetools-frontend/application-shell-connectors": "21.18.1",
|
|
40
|
+
"@commercetools-frontend/assets": "21.18.1",
|
|
41
|
+
"@commercetools-frontend/browser-history": "21.18.1",
|
|
42
|
+
"@commercetools-frontend/constants": "21.18.1",
|
|
43
|
+
"@commercetools-frontend/i18n": "21.18.1",
|
|
44
|
+
"@commercetools-frontend/l10n": "21.18.1",
|
|
45
|
+
"@commercetools-frontend/notifications": "21.18.1",
|
|
46
|
+
"@commercetools-frontend/permissions": "21.18.1",
|
|
47
|
+
"@commercetools-frontend/react-notifications": "21.18.1",
|
|
48
|
+
"@commercetools-frontend/sdk": "21.18.1",
|
|
49
|
+
"@commercetools-frontend/sentry": "21.18.1",
|
|
50
|
+
"@commercetools-frontend/url-utils": "21.18.1",
|
|
51
51
|
"@commercetools-uikit/accessible-hidden": "^15.3.0",
|
|
52
52
|
"@commercetools-uikit/avatar": "^15.3.0",
|
|
53
53
|
"@commercetools-uikit/card": "^15.3.0",
|
|
@@ -62,12 +62,12 @@
|
|
|
62
62
|
"@commercetools/http-user-agent": "3.0.0",
|
|
63
63
|
"@emotion/react": "11.10.4",
|
|
64
64
|
"@emotion/styled": "11.10.4",
|
|
65
|
-
"@flopflip/combine-adapters": "
|
|
66
|
-
"@flopflip/http-adapter": "
|
|
67
|
-
"@flopflip/launchdarkly-adapter": "
|
|
68
|
-
"@flopflip/react-broadcast": "12.3.
|
|
69
|
-
"@flopflip/types": "
|
|
70
|
-
"@reduxjs/toolkit": "1.8.
|
|
65
|
+
"@flopflip/combine-adapters": "12.3.6",
|
|
66
|
+
"@flopflip/http-adapter": "12.3.6",
|
|
67
|
+
"@flopflip/launchdarkly-adapter": "12.3.6",
|
|
68
|
+
"@flopflip/react-broadcast": "12.3.6",
|
|
69
|
+
"@flopflip/types": "12.3.6",
|
|
70
|
+
"@reduxjs/toolkit": "1.8.6",
|
|
71
71
|
"@types/common-tags": "^1.8.1",
|
|
72
72
|
"@types/history": "^4.7.11",
|
|
73
73
|
"@types/lodash": "^4.14.185",
|
|
@@ -106,15 +106,15 @@
|
|
|
106
106
|
"uuid": "8.3.2"
|
|
107
107
|
},
|
|
108
108
|
"devDependencies": {
|
|
109
|
-
"@apollo/client": "3.
|
|
109
|
+
"@apollo/client": "3.7.0",
|
|
110
110
|
"@testing-library/react": "12.1.5",
|
|
111
111
|
"@testing-library/react-hooks": "8.0.1",
|
|
112
|
-
"msw": "0.47.
|
|
112
|
+
"msw": "0.47.4",
|
|
113
113
|
"react": "17.0.2",
|
|
114
114
|
"react-dom": "17.0.2",
|
|
115
115
|
"react-intl": "^5.25.1",
|
|
116
116
|
"react-redux": "7.2.9",
|
|
117
|
-
"react-router-dom": "5.3.
|
|
117
|
+
"react-router-dom": "5.3.4",
|
|
118
118
|
"redux": "4.2.0",
|
|
119
119
|
"wait-for-observables": "1.0.3"
|
|
120
120
|
},
|
|
@@ -36,7 +36,7 @@ var reactNotifications = require('@commercetools-frontend/react-notifications');
|
|
|
36
36
|
var constants = require('@commercetools-frontend/constants');
|
|
37
37
|
var testUtils = require('@commercetools-frontend/sdk/test-utils');
|
|
38
38
|
var ssr = require('@commercetools-frontend/application-config/ssr');
|
|
39
|
-
var applicationEntryPoint = require('../../dist/application-entry-point-
|
|
39
|
+
var applicationEntryPoint = require('../../dist/application-entry-point-13dfd321.cjs.dev.js');
|
|
40
40
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
41
41
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
42
42
|
require('@babel/runtime-corejs3/core-js-stable/object/entries');
|
|
@@ -122,6 +122,125 @@ var invariant__default = /*#__PURE__*/_interopDefault(invariant);
|
|
|
122
122
|
var rtl__namespace = /*#__PURE__*/_interopNamespace(rtl);
|
|
123
123
|
var rtlHooks__namespace = /*#__PURE__*/_interopNamespace(rtlHooks);
|
|
124
124
|
|
|
125
|
+
/** All built-in and custom scalars, mapped to their actual values */
|
|
126
|
+
var TInvitationStatus;
|
|
127
|
+
|
|
128
|
+
(function (TInvitationStatus) {
|
|
129
|
+
TInvitationStatus["InvitationFailure"] = "InvitationFailure";
|
|
130
|
+
TInvitationStatus["InvitationSent"] = "InvitationSent";
|
|
131
|
+
TInvitationStatus["PendingRegistration"] = "PendingRegistration";
|
|
132
|
+
})(TInvitationStatus || (TInvitationStatus = {}));
|
|
133
|
+
|
|
134
|
+
var TPermissionScope;
|
|
135
|
+
|
|
136
|
+
(function (TPermissionScope) {
|
|
137
|
+
TPermissionScope["CreateAnonymousToken"] = "create_anonymous_token";
|
|
138
|
+
TPermissionScope["GetPermissionForAnyProject"] = "get_permission_for_any_project";
|
|
139
|
+
TPermissionScope["IntrospectOauthTokens"] = "introspect_oauth_tokens";
|
|
140
|
+
TPermissionScope["ManageApiClients"] = "manage_api_clients";
|
|
141
|
+
TPermissionScope["ManageAttributeGroups"] = "manage_attribute_groups";
|
|
142
|
+
TPermissionScope["ManageAuditLog"] = "manage_audit_log";
|
|
143
|
+
TPermissionScope["ManageBusinessUnits"] = "manage_business_units";
|
|
144
|
+
TPermissionScope["ManageCartDiscounts"] = "manage_cart_discounts";
|
|
145
|
+
TPermissionScope["ManageCategories"] = "manage_categories";
|
|
146
|
+
TPermissionScope["ManageChangeHistory"] = "manage_change_history";
|
|
147
|
+
TPermissionScope["ManageCustomerGroups"] = "manage_customer_groups";
|
|
148
|
+
TPermissionScope["ManageCustomers"] = "manage_customers";
|
|
149
|
+
TPermissionScope["ManageDiscountCodes"] = "manage_discount_codes";
|
|
150
|
+
TPermissionScope["ManageExtensions"] = "manage_extensions";
|
|
151
|
+
TPermissionScope["ManageGlobalSubscriptions"] = "manage_global_subscriptions";
|
|
152
|
+
TPermissionScope["ManageImportContainers"] = "manage_import_containers";
|
|
153
|
+
TPermissionScope["ManageImportSinks"] = "manage_import_sinks";
|
|
154
|
+
TPermissionScope["ManageKeyValueDocuments"] = "manage_key_value_documents";
|
|
155
|
+
TPermissionScope["ManageMyBusinessUnits"] = "manage_my_business_units";
|
|
156
|
+
TPermissionScope["ManageMyOrders"] = "manage_my_orders";
|
|
157
|
+
TPermissionScope["ManageMyPayments"] = "manage_my_payments";
|
|
158
|
+
TPermissionScope["ManageMyProfile"] = "manage_my_profile";
|
|
159
|
+
TPermissionScope["ManageMyQuoteRequests"] = "manage_my_quote_requests";
|
|
160
|
+
TPermissionScope["ManageMyQuotes"] = "manage_my_quotes";
|
|
161
|
+
TPermissionScope["ManageMyShoppingLists"] = "manage_my_shopping_lists";
|
|
162
|
+
TPermissionScope["ManageOrderEdits"] = "manage_order_edits";
|
|
163
|
+
TPermissionScope["ManageOrders"] = "manage_orders";
|
|
164
|
+
TPermissionScope["ManagePayments"] = "manage_payments";
|
|
165
|
+
TPermissionScope["ManageProductSelections"] = "manage_product_selections";
|
|
166
|
+
TPermissionScope["ManageProducts"] = "manage_products";
|
|
167
|
+
TPermissionScope["ManageProject"] = "manage_project";
|
|
168
|
+
TPermissionScope["ManageProjectSettings"] = "manage_project_settings";
|
|
169
|
+
TPermissionScope["ManageQuoteRequests"] = "manage_quote_requests";
|
|
170
|
+
TPermissionScope["ManageQuotes"] = "manage_quotes";
|
|
171
|
+
TPermissionScope["ManageShippingMethods"] = "manage_shipping_methods";
|
|
172
|
+
TPermissionScope["ManageShoppingLists"] = "manage_shopping_lists";
|
|
173
|
+
TPermissionScope["ManageStagedQuotes"] = "manage_staged_quotes";
|
|
174
|
+
TPermissionScope["ManageStandalonePrices"] = "manage_standalone_prices";
|
|
175
|
+
TPermissionScope["ManageStates"] = "manage_states";
|
|
176
|
+
TPermissionScope["ManageStores"] = "manage_stores";
|
|
177
|
+
TPermissionScope["ManageSubscriptions"] = "manage_subscriptions";
|
|
178
|
+
TPermissionScope["ManageTaxCategories"] = "manage_tax_categories";
|
|
179
|
+
TPermissionScope["ManageTypes"] = "manage_types";
|
|
180
|
+
TPermissionScope["ViewApiClients"] = "view_api_clients";
|
|
181
|
+
TPermissionScope["ViewAttributeGroups"] = "view_attribute_groups";
|
|
182
|
+
TPermissionScope["ViewAuditLog"] = "view_audit_log";
|
|
183
|
+
TPermissionScope["ViewBusinessUnits"] = "view_business_units";
|
|
184
|
+
TPermissionScope["ViewCartDiscounts"] = "view_cart_discounts";
|
|
185
|
+
TPermissionScope["ViewCategories"] = "view_categories";
|
|
186
|
+
TPermissionScope["ViewChangeHistory"] = "view_change_history";
|
|
187
|
+
TPermissionScope["ViewCustomerGroups"] = "view_customer_groups";
|
|
188
|
+
TPermissionScope["ViewCustomers"] = "view_customers";
|
|
189
|
+
TPermissionScope["ViewDiscountCodes"] = "view_discount_codes";
|
|
190
|
+
TPermissionScope["ViewImportContainers"] = "view_import_containers";
|
|
191
|
+
TPermissionScope["ViewImportSinks"] = "view_import_sinks";
|
|
192
|
+
TPermissionScope["ViewKeyValueDocuments"] = "view_key_value_documents";
|
|
193
|
+
TPermissionScope["ViewMessages"] = "view_messages";
|
|
194
|
+
TPermissionScope["ViewOrderEdits"] = "view_order_edits";
|
|
195
|
+
TPermissionScope["ViewOrders"] = "view_orders";
|
|
196
|
+
TPermissionScope["ViewPayments"] = "view_payments";
|
|
197
|
+
TPermissionScope["ViewProductSelections"] = "view_product_selections";
|
|
198
|
+
TPermissionScope["ViewProducts"] = "view_products";
|
|
199
|
+
TPermissionScope["ViewProjectSettings"] = "view_project_settings";
|
|
200
|
+
TPermissionScope["ViewProjects"] = "view_projects";
|
|
201
|
+
TPermissionScope["ViewPublishedProducts"] = "view_published_products";
|
|
202
|
+
TPermissionScope["ViewQuoteRequests"] = "view_quote_requests";
|
|
203
|
+
TPermissionScope["ViewQuotes"] = "view_quotes";
|
|
204
|
+
TPermissionScope["ViewShippingMethods"] = "view_shipping_methods";
|
|
205
|
+
TPermissionScope["ViewShoppingLists"] = "view_shopping_lists";
|
|
206
|
+
TPermissionScope["ViewStagedQuotes"] = "view_staged_quotes";
|
|
207
|
+
TPermissionScope["ViewStandalonePrices"] = "view_standalone_prices";
|
|
208
|
+
TPermissionScope["ViewStates"] = "view_states";
|
|
209
|
+
TPermissionScope["ViewStores"] = "view_stores";
|
|
210
|
+
TPermissionScope["ViewTaxCategories"] = "view_tax_categories";
|
|
211
|
+
TPermissionScope["ViewTypes"] = "view_types";
|
|
212
|
+
})(TPermissionScope || (TPermissionScope = {}));
|
|
213
|
+
|
|
214
|
+
var TProjectSuspensionReason;
|
|
215
|
+
|
|
216
|
+
(function (TProjectSuspensionReason) {
|
|
217
|
+
TProjectSuspensionReason["Other"] = "Other";
|
|
218
|
+
TProjectSuspensionReason["Payment"] = "Payment";
|
|
219
|
+
TProjectSuspensionReason["TemporaryMaintenance"] = "TemporaryMaintenance";
|
|
220
|
+
})(TProjectSuspensionReason || (TProjectSuspensionReason = {}));
|
|
221
|
+
|
|
222
|
+
var TReleaseOrigin;
|
|
223
|
+
|
|
224
|
+
(function (TReleaseOrigin) {
|
|
225
|
+
TReleaseOrigin["Ctp"] = "ctp";
|
|
226
|
+
TReleaseOrigin["Mc"] = "mc";
|
|
227
|
+
})(TReleaseOrigin || (TReleaseOrigin = {}));
|
|
228
|
+
|
|
229
|
+
var TShippingRateType;
|
|
230
|
+
|
|
231
|
+
(function (TShippingRateType) {
|
|
232
|
+
TShippingRateType["CartClassification"] = "CartClassification";
|
|
233
|
+
TShippingRateType["CartScore"] = "CartScore";
|
|
234
|
+
TShippingRateType["CartValue"] = "CartValue";
|
|
235
|
+
})(TShippingRateType || (TShippingRateType = {}));
|
|
236
|
+
|
|
237
|
+
var TVerificationStatus;
|
|
238
|
+
|
|
239
|
+
(function (TVerificationStatus) {
|
|
240
|
+
TVerificationStatus["Unverified"] = "Unverified";
|
|
241
|
+
TVerificationStatus["Verified"] = "Verified";
|
|
242
|
+
})(TVerificationStatus || (TVerificationStatus = {}));
|
|
243
|
+
|
|
125
244
|
var _excluded = ["children"],
|
|
126
245
|
_excluded2 = ["children"];
|
|
127
246
|
|
|
@@ -177,7 +296,8 @@ var defaultUser = {
|
|
|
177
296
|
launchdarklyTrackingSubgroup: 'dev',
|
|
178
297
|
launchdarklyTrackingId: '111',
|
|
179
298
|
launchdarklyTrackingTeam: undefined,
|
|
180
|
-
launchdarklyTrackingTenant: 'gcp-eu'
|
|
299
|
+
launchdarklyTrackingTenant: 'gcp-eu',
|
|
300
|
+
verificationStatus: TVerificationStatus.Verified
|
|
181
301
|
};
|
|
182
302
|
var defaultEnvironment = {
|
|
183
303
|
applicationId: '__local',
|
|
@@ -36,7 +36,7 @@ var reactNotifications = require('@commercetools-frontend/react-notifications');
|
|
|
36
36
|
var constants = require('@commercetools-frontend/constants');
|
|
37
37
|
var testUtils = require('@commercetools-frontend/sdk/test-utils');
|
|
38
38
|
var ssr = require('@commercetools-frontend/application-config/ssr');
|
|
39
|
-
var applicationEntryPoint = require('../../dist/application-entry-point-
|
|
39
|
+
var applicationEntryPoint = require('../../dist/application-entry-point-88e60ecd.cjs.prod.js');
|
|
40
40
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
41
41
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
42
42
|
require('@babel/runtime-corejs3/core-js-stable/object/entries');
|
|
@@ -121,6 +121,125 @@ var invariant__default = /*#__PURE__*/_interopDefault(invariant);
|
|
|
121
121
|
var rtl__namespace = /*#__PURE__*/_interopNamespace(rtl);
|
|
122
122
|
var rtlHooks__namespace = /*#__PURE__*/_interopNamespace(rtlHooks);
|
|
123
123
|
|
|
124
|
+
/** All built-in and custom scalars, mapped to their actual values */
|
|
125
|
+
var TInvitationStatus;
|
|
126
|
+
|
|
127
|
+
(function (TInvitationStatus) {
|
|
128
|
+
TInvitationStatus["InvitationFailure"] = "InvitationFailure";
|
|
129
|
+
TInvitationStatus["InvitationSent"] = "InvitationSent";
|
|
130
|
+
TInvitationStatus["PendingRegistration"] = "PendingRegistration";
|
|
131
|
+
})(TInvitationStatus || (TInvitationStatus = {}));
|
|
132
|
+
|
|
133
|
+
var TPermissionScope;
|
|
134
|
+
|
|
135
|
+
(function (TPermissionScope) {
|
|
136
|
+
TPermissionScope["CreateAnonymousToken"] = "create_anonymous_token";
|
|
137
|
+
TPermissionScope["GetPermissionForAnyProject"] = "get_permission_for_any_project";
|
|
138
|
+
TPermissionScope["IntrospectOauthTokens"] = "introspect_oauth_tokens";
|
|
139
|
+
TPermissionScope["ManageApiClients"] = "manage_api_clients";
|
|
140
|
+
TPermissionScope["ManageAttributeGroups"] = "manage_attribute_groups";
|
|
141
|
+
TPermissionScope["ManageAuditLog"] = "manage_audit_log";
|
|
142
|
+
TPermissionScope["ManageBusinessUnits"] = "manage_business_units";
|
|
143
|
+
TPermissionScope["ManageCartDiscounts"] = "manage_cart_discounts";
|
|
144
|
+
TPermissionScope["ManageCategories"] = "manage_categories";
|
|
145
|
+
TPermissionScope["ManageChangeHistory"] = "manage_change_history";
|
|
146
|
+
TPermissionScope["ManageCustomerGroups"] = "manage_customer_groups";
|
|
147
|
+
TPermissionScope["ManageCustomers"] = "manage_customers";
|
|
148
|
+
TPermissionScope["ManageDiscountCodes"] = "manage_discount_codes";
|
|
149
|
+
TPermissionScope["ManageExtensions"] = "manage_extensions";
|
|
150
|
+
TPermissionScope["ManageGlobalSubscriptions"] = "manage_global_subscriptions";
|
|
151
|
+
TPermissionScope["ManageImportContainers"] = "manage_import_containers";
|
|
152
|
+
TPermissionScope["ManageImportSinks"] = "manage_import_sinks";
|
|
153
|
+
TPermissionScope["ManageKeyValueDocuments"] = "manage_key_value_documents";
|
|
154
|
+
TPermissionScope["ManageMyBusinessUnits"] = "manage_my_business_units";
|
|
155
|
+
TPermissionScope["ManageMyOrders"] = "manage_my_orders";
|
|
156
|
+
TPermissionScope["ManageMyPayments"] = "manage_my_payments";
|
|
157
|
+
TPermissionScope["ManageMyProfile"] = "manage_my_profile";
|
|
158
|
+
TPermissionScope["ManageMyQuoteRequests"] = "manage_my_quote_requests";
|
|
159
|
+
TPermissionScope["ManageMyQuotes"] = "manage_my_quotes";
|
|
160
|
+
TPermissionScope["ManageMyShoppingLists"] = "manage_my_shopping_lists";
|
|
161
|
+
TPermissionScope["ManageOrderEdits"] = "manage_order_edits";
|
|
162
|
+
TPermissionScope["ManageOrders"] = "manage_orders";
|
|
163
|
+
TPermissionScope["ManagePayments"] = "manage_payments";
|
|
164
|
+
TPermissionScope["ManageProductSelections"] = "manage_product_selections";
|
|
165
|
+
TPermissionScope["ManageProducts"] = "manage_products";
|
|
166
|
+
TPermissionScope["ManageProject"] = "manage_project";
|
|
167
|
+
TPermissionScope["ManageProjectSettings"] = "manage_project_settings";
|
|
168
|
+
TPermissionScope["ManageQuoteRequests"] = "manage_quote_requests";
|
|
169
|
+
TPermissionScope["ManageQuotes"] = "manage_quotes";
|
|
170
|
+
TPermissionScope["ManageShippingMethods"] = "manage_shipping_methods";
|
|
171
|
+
TPermissionScope["ManageShoppingLists"] = "manage_shopping_lists";
|
|
172
|
+
TPermissionScope["ManageStagedQuotes"] = "manage_staged_quotes";
|
|
173
|
+
TPermissionScope["ManageStandalonePrices"] = "manage_standalone_prices";
|
|
174
|
+
TPermissionScope["ManageStates"] = "manage_states";
|
|
175
|
+
TPermissionScope["ManageStores"] = "manage_stores";
|
|
176
|
+
TPermissionScope["ManageSubscriptions"] = "manage_subscriptions";
|
|
177
|
+
TPermissionScope["ManageTaxCategories"] = "manage_tax_categories";
|
|
178
|
+
TPermissionScope["ManageTypes"] = "manage_types";
|
|
179
|
+
TPermissionScope["ViewApiClients"] = "view_api_clients";
|
|
180
|
+
TPermissionScope["ViewAttributeGroups"] = "view_attribute_groups";
|
|
181
|
+
TPermissionScope["ViewAuditLog"] = "view_audit_log";
|
|
182
|
+
TPermissionScope["ViewBusinessUnits"] = "view_business_units";
|
|
183
|
+
TPermissionScope["ViewCartDiscounts"] = "view_cart_discounts";
|
|
184
|
+
TPermissionScope["ViewCategories"] = "view_categories";
|
|
185
|
+
TPermissionScope["ViewChangeHistory"] = "view_change_history";
|
|
186
|
+
TPermissionScope["ViewCustomerGroups"] = "view_customer_groups";
|
|
187
|
+
TPermissionScope["ViewCustomers"] = "view_customers";
|
|
188
|
+
TPermissionScope["ViewDiscountCodes"] = "view_discount_codes";
|
|
189
|
+
TPermissionScope["ViewImportContainers"] = "view_import_containers";
|
|
190
|
+
TPermissionScope["ViewImportSinks"] = "view_import_sinks";
|
|
191
|
+
TPermissionScope["ViewKeyValueDocuments"] = "view_key_value_documents";
|
|
192
|
+
TPermissionScope["ViewMessages"] = "view_messages";
|
|
193
|
+
TPermissionScope["ViewOrderEdits"] = "view_order_edits";
|
|
194
|
+
TPermissionScope["ViewOrders"] = "view_orders";
|
|
195
|
+
TPermissionScope["ViewPayments"] = "view_payments";
|
|
196
|
+
TPermissionScope["ViewProductSelections"] = "view_product_selections";
|
|
197
|
+
TPermissionScope["ViewProducts"] = "view_products";
|
|
198
|
+
TPermissionScope["ViewProjectSettings"] = "view_project_settings";
|
|
199
|
+
TPermissionScope["ViewProjects"] = "view_projects";
|
|
200
|
+
TPermissionScope["ViewPublishedProducts"] = "view_published_products";
|
|
201
|
+
TPermissionScope["ViewQuoteRequests"] = "view_quote_requests";
|
|
202
|
+
TPermissionScope["ViewQuotes"] = "view_quotes";
|
|
203
|
+
TPermissionScope["ViewShippingMethods"] = "view_shipping_methods";
|
|
204
|
+
TPermissionScope["ViewShoppingLists"] = "view_shopping_lists";
|
|
205
|
+
TPermissionScope["ViewStagedQuotes"] = "view_staged_quotes";
|
|
206
|
+
TPermissionScope["ViewStandalonePrices"] = "view_standalone_prices";
|
|
207
|
+
TPermissionScope["ViewStates"] = "view_states";
|
|
208
|
+
TPermissionScope["ViewStores"] = "view_stores";
|
|
209
|
+
TPermissionScope["ViewTaxCategories"] = "view_tax_categories";
|
|
210
|
+
TPermissionScope["ViewTypes"] = "view_types";
|
|
211
|
+
})(TPermissionScope || (TPermissionScope = {}));
|
|
212
|
+
|
|
213
|
+
var TProjectSuspensionReason;
|
|
214
|
+
|
|
215
|
+
(function (TProjectSuspensionReason) {
|
|
216
|
+
TProjectSuspensionReason["Other"] = "Other";
|
|
217
|
+
TProjectSuspensionReason["Payment"] = "Payment";
|
|
218
|
+
TProjectSuspensionReason["TemporaryMaintenance"] = "TemporaryMaintenance";
|
|
219
|
+
})(TProjectSuspensionReason || (TProjectSuspensionReason = {}));
|
|
220
|
+
|
|
221
|
+
var TReleaseOrigin;
|
|
222
|
+
|
|
223
|
+
(function (TReleaseOrigin) {
|
|
224
|
+
TReleaseOrigin["Ctp"] = "ctp";
|
|
225
|
+
TReleaseOrigin["Mc"] = "mc";
|
|
226
|
+
})(TReleaseOrigin || (TReleaseOrigin = {}));
|
|
227
|
+
|
|
228
|
+
var TShippingRateType;
|
|
229
|
+
|
|
230
|
+
(function (TShippingRateType) {
|
|
231
|
+
TShippingRateType["CartClassification"] = "CartClassification";
|
|
232
|
+
TShippingRateType["CartScore"] = "CartScore";
|
|
233
|
+
TShippingRateType["CartValue"] = "CartValue";
|
|
234
|
+
})(TShippingRateType || (TShippingRateType = {}));
|
|
235
|
+
|
|
236
|
+
var TVerificationStatus;
|
|
237
|
+
|
|
238
|
+
(function (TVerificationStatus) {
|
|
239
|
+
TVerificationStatus["Unverified"] = "Unverified";
|
|
240
|
+
TVerificationStatus["Verified"] = "Verified";
|
|
241
|
+
})(TVerificationStatus || (TVerificationStatus = {}));
|
|
242
|
+
|
|
124
243
|
var _excluded = ["children"],
|
|
125
244
|
_excluded2 = ["children"];
|
|
126
245
|
|
|
@@ -176,7 +295,8 @@ var defaultUser = {
|
|
|
176
295
|
launchdarklyTrackingSubgroup: 'dev',
|
|
177
296
|
launchdarklyTrackingId: '111',
|
|
178
297
|
launchdarklyTrackingTeam: undefined,
|
|
179
|
-
launchdarklyTrackingTenant: 'gcp-eu'
|
|
298
|
+
launchdarklyTrackingTenant: 'gcp-eu',
|
|
299
|
+
verificationStatus: TVerificationStatus.Verified
|
|
180
300
|
};
|
|
181
301
|
var defaultEnvironment = {
|
|
182
302
|
applicationId: '__local',
|