@commercetools-frontend/application-shell 21.21.0 → 21.21.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-e4a1d54d.esm.js → application-entry-point-695b1486.esm.js} +2 -2
- package/dist/{application-entry-point-da8b6cf3.cjs.dev.js → application-entry-point-93af6416.cjs.dev.js} +2 -2
- package/dist/{application-entry-point-27b3556f.cjs.prod.js → application-entry-point-cf074479.cjs.prod.js} +2 -2
- package/dist/commercetools-frontend-application-shell.cjs.dev.js +4 -4
- package/dist/commercetools-frontend-application-shell.cjs.prod.js +4 -4
- package/dist/commercetools-frontend-application-shell.esm.js +4 -4
- package/dist/{constants-84bfc123.esm.js → constants-69249abd.esm.js} +2 -1
- package/dist/{constants-d3b01ef6.cjs.prod.js → constants-88fb9ef8.cjs.prod.js} +2 -1
- package/dist/{constants-22e3b93b.cjs.dev.js → constants-c2d56f3d.cjs.dev.js} +2 -1
- package/dist/declarations/src/components/navbar/compiled/navbar.css.json.d.ts +1 -1
- package/dist/declarations/src/components/navbar/navbar.d.ts +0 -1
- package/dist/declarations/src/components/user-settings-menu/user-settings-menu.d.ts +1 -1
- package/dist/declarations/src/constants.d.ts +2 -1
- package/dist/declarations/src/types/generated/mc.d.ts +0 -1
- package/dist/{index-40c0d1f1.esm.js → index-5c6dbdfa.esm.js} +167 -94
- package/dist/{index-c4563bff.cjs.dev.js → index-77efad83.cjs.dev.js} +165 -92
- package/dist/{index-04ba50dc.cjs.prod.js → index-876a55eb.cjs.prod.js} +145 -76
- package/dist/{oidc-2de78d6b.cjs.prod.js → oidc-1c91f5ee.cjs.prod.js} +1 -1
- package/dist/{oidc-3bed1dca.cjs.dev.js → oidc-5b2e4f8f.cjs.dev.js} +1 -1
- package/dist/{oidc-889aab26.esm.js → oidc-77749f1b.esm.js} +1 -1
- package/dist/{project-expired-b4657bfc.esm.js → project-expired-14501b25.esm.js} +5 -5
- package/dist/{project-expired-ecd5b320.cjs.prod.js → project-expired-46d763df.cjs.prod.js} +5 -5
- package/dist/{project-expired-4956a75a.cjs.dev.js → project-expired-d065b32f.cjs.dev.js} +5 -5
- package/dist/{project-not-found-a381bb68.cjs.dev.js → project-not-found-da7bf0af.cjs.dev.js} +5 -5
- package/dist/{project-not-found-9a21c225.esm.js → project-not-found-eb5ac53a.esm.js} +5 -5
- package/dist/{project-not-found-e0c29f6a.cjs.prod.js → project-not-found-fd9646ff.cjs.prod.js} +5 -5
- package/dist/{project-not-initialized-f9a7f36f.cjs.prod.js → project-not-initialized-27d454ef.cjs.prod.js} +5 -5
- package/dist/{project-not-initialized-37755f67.cjs.dev.js → project-not-initialized-2cb96dd2.cjs.dev.js} +5 -5
- package/dist/{project-not-initialized-c929fca1.esm.js → project-not-initialized-6cf53027.esm.js} +5 -5
- package/dist/{project-suspended-63eab95d.esm.js → project-suspended-1174dd05.esm.js} +5 -5
- package/dist/{project-suspended-a59892f1.cjs.prod.js → project-suspended-6dc1fe9f.cjs.prod.js} +5 -5
- package/dist/{project-suspended-55a512e2.cjs.dev.js → project-suspended-f00b868e.cjs.dev.js} +5 -5
- package/dist/{quick-access-40df7c6e.cjs.prod.js → quick-access-7636e343.cjs.prod.js} +4 -4
- package/dist/{quick-access-228cb42a.cjs.dev.js → quick-access-a8a42c97.cjs.dev.js} +4 -4
- package/dist/{quick-access-c17c5d53.esm.js → quick-access-eecafb29.esm.js} +4 -4
- package/dist/{service-page-project-switcher-6c775c3f.cjs.dev.js → service-page-project-switcher-8331c5ae.cjs.dev.js} +1 -1
- package/dist/{service-page-project-switcher-f06cb1bc.cjs.prod.js → service-page-project-switcher-df86219d.cjs.prod.js} +1 -1
- package/dist/{service-page-project-switcher-452b32ab.esm.js → service-page-project-switcher-f20dbe48.esm.js} +1 -1
- package/package.json +16 -16
- package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.dev.js +2 -2
- package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.prod.js +2 -2
- package/ssr/dist/commercetools-frontend-application-shell-ssr.esm.js +2 -2
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.dev.js +3 -123
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.prod.js +3 -123
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.esm.js +3 -123
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/application-shell",
|
|
3
|
-
"version": "21.21.
|
|
3
|
+
"version": "21.21.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": "
|
|
37
|
-
"@commercetools-frontend/application-components": "
|
|
38
|
-
"@commercetools-frontend/application-config": "
|
|
39
|
-
"@commercetools-frontend/application-shell-connectors": "
|
|
40
|
-
"@commercetools-frontend/assets": "
|
|
41
|
-
"@commercetools-frontend/browser-history": "
|
|
42
|
-
"@commercetools-frontend/constants": "
|
|
43
|
-
"@commercetools-frontend/i18n": "
|
|
44
|
-
"@commercetools-frontend/l10n": "
|
|
45
|
-
"@commercetools-frontend/notifications": "
|
|
46
|
-
"@commercetools-frontend/permissions": "
|
|
47
|
-
"@commercetools-frontend/react-notifications": "
|
|
48
|
-
"@commercetools-frontend/sdk": "
|
|
49
|
-
"@commercetools-frontend/sentry": "
|
|
50
|
-
"@commercetools-frontend/url-utils": "
|
|
36
|
+
"@commercetools-frontend/actions-global": "workspace:*",
|
|
37
|
+
"@commercetools-frontend/application-components": "workspace:*",
|
|
38
|
+
"@commercetools-frontend/application-config": "workspace:*",
|
|
39
|
+
"@commercetools-frontend/application-shell-connectors": "workspace:*",
|
|
40
|
+
"@commercetools-frontend/assets": "workspace:*",
|
|
41
|
+
"@commercetools-frontend/browser-history": "workspace:*",
|
|
42
|
+
"@commercetools-frontend/constants": "workspace:*",
|
|
43
|
+
"@commercetools-frontend/i18n": "workspace:*",
|
|
44
|
+
"@commercetools-frontend/l10n": "workspace:*",
|
|
45
|
+
"@commercetools-frontend/notifications": "workspace:*",
|
|
46
|
+
"@commercetools-frontend/permissions": "workspace:*",
|
|
47
|
+
"@commercetools-frontend/react-notifications": "workspace:*",
|
|
48
|
+
"@commercetools-frontend/sdk": "workspace:*",
|
|
49
|
+
"@commercetools-frontend/sentry": "workspace:*",
|
|
50
|
+
"@commercetools-frontend/url-utils": "workspace:*",
|
|
51
51
|
"@commercetools-uikit/accessible-hidden": "^15.6.0",
|
|
52
52
|
"@commercetools-uikit/avatar": "^15.6.0",
|
|
53
53
|
"@commercetools-uikit/card": "^15.6.0",
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var ssr = require('@commercetools-frontend/application-config/ssr');
|
|
6
|
-
var oidc = require('../../dist/oidc-
|
|
6
|
+
var oidc = require('../../dist/oidc-5b2e4f8f.cjs.dev.js');
|
|
7
7
|
require('@babel/runtime-corejs3/helpers/toConsumableArray');
|
|
8
8
|
require('@babel/runtime-corejs3/core-js-stable/instance/concat');
|
|
9
9
|
require('@babel/runtime-corejs3/core-js-stable/instance/map');
|
|
10
10
|
require('@babel/runtime-corejs3/core-js-stable/instance/for-each');
|
|
11
|
-
require('../../dist/constants-
|
|
11
|
+
require('../../dist/constants-c2d56f3d.cjs.dev.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var ssr = require('@commercetools-frontend/application-config/ssr');
|
|
6
|
-
var oidc = require('../../dist/oidc-
|
|
6
|
+
var oidc = require('../../dist/oidc-1c91f5ee.cjs.prod.js');
|
|
7
7
|
require('@babel/runtime-corejs3/helpers/toConsumableArray');
|
|
8
8
|
require('@babel/runtime-corejs3/core-js-stable/instance/concat');
|
|
9
9
|
require('@babel/runtime-corejs3/core-js-stable/instance/map');
|
|
10
10
|
require('@babel/runtime-corejs3/core-js-stable/instance/for-each');
|
|
11
|
-
require('../../dist/constants-
|
|
11
|
+
require('../../dist/constants-88fb9ef8.cjs.prod.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { entryPointUriPathToPermissionKeys, entryPointUriPathToResourceAccesses } from '@commercetools-frontend/application-config/ssr';
|
|
2
|
-
export { b as buildOidcScope } from '../../dist/oidc-
|
|
2
|
+
export { b as buildOidcScope } from '../../dist/oidc-77749f1b.esm.js';
|
|
3
3
|
import '@babel/runtime-corejs3/helpers/toConsumableArray';
|
|
4
4
|
import '@babel/runtime-corejs3/core-js-stable/instance/concat';
|
|
5
5
|
import '@babel/runtime-corejs3/core-js-stable/instance/map';
|
|
6
6
|
import '@babel/runtime-corejs3/core-js-stable/instance/for-each';
|
|
7
|
-
import '../../dist/constants-
|
|
7
|
+
import '../../dist/constants-69249abd.esm.js';
|
|
@@ -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-93af6416.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');
|
|
@@ -47,7 +47,7 @@ require('redux-thunk');
|
|
|
47
47
|
require('omit-empty-es');
|
|
48
48
|
require('@commercetools-frontend/notifications');
|
|
49
49
|
require('@commercetools-frontend/sdk');
|
|
50
|
-
require('../../dist/constants-
|
|
50
|
+
require('../../dist/constants-c2d56f3d.cjs.dev.js');
|
|
51
51
|
require('@babel/runtime-corejs3/core-js-stable/instance/starts-with');
|
|
52
52
|
require('@babel/runtime-corejs3/core-js-stable/instance/includes');
|
|
53
53
|
require('redux-logger');
|
|
@@ -122,125 +122,6 @@ 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
|
-
|
|
244
125
|
var _excluded = ["children"],
|
|
245
126
|
_excluded2 = ["children"];
|
|
246
127
|
|
|
@@ -296,8 +177,7 @@ var defaultUser = {
|
|
|
296
177
|
launchdarklyTrackingSubgroup: 'dev',
|
|
297
178
|
launchdarklyTrackingId: '111',
|
|
298
179
|
launchdarklyTrackingTeam: undefined,
|
|
299
|
-
launchdarklyTrackingTenant: 'gcp-eu'
|
|
300
|
-
verificationStatus: TVerificationStatus.Verified
|
|
180
|
+
launchdarklyTrackingTenant: 'gcp-eu'
|
|
301
181
|
};
|
|
302
182
|
var defaultEnvironment = {
|
|
303
183
|
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-cf074479.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');
|
|
@@ -47,7 +47,7 @@ require('redux-thunk');
|
|
|
47
47
|
require('omit-empty-es');
|
|
48
48
|
require('@commercetools-frontend/notifications');
|
|
49
49
|
require('@commercetools-frontend/sdk');
|
|
50
|
-
require('../../dist/constants-
|
|
50
|
+
require('../../dist/constants-88fb9ef8.cjs.prod.js');
|
|
51
51
|
require('@babel/runtime-corejs3/core-js-stable/instance/starts-with');
|
|
52
52
|
require('@babel/runtime-corejs3/core-js-stable/instance/includes');
|
|
53
53
|
require('redux-logger');
|
|
@@ -121,125 +121,6 @@ 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
|
-
|
|
243
124
|
var _excluded = ["children"],
|
|
244
125
|
_excluded2 = ["children"];
|
|
245
126
|
|
|
@@ -295,8 +176,7 @@ var defaultUser = {
|
|
|
295
176
|
launchdarklyTrackingSubgroup: 'dev',
|
|
296
177
|
launchdarklyTrackingId: '111',
|
|
297
178
|
launchdarklyTrackingTeam: undefined,
|
|
298
|
-
launchdarklyTrackingTenant: 'gcp-eu'
|
|
299
|
-
verificationStatus: TVerificationStatus.Verified
|
|
179
|
+
launchdarklyTrackingTenant: 'gcp-eu'
|
|
300
180
|
};
|
|
301
181
|
var defaultEnvironment = {
|
|
302
182
|
applicationId: '__local',
|
|
@@ -33,7 +33,7 @@ import { NotificationProviderForCustomComponent, NotificationsList } from '@comm
|
|
|
33
33
|
import { DOMAINS } from '@commercetools-frontend/constants';
|
|
34
34
|
import { createTestMiddleware } from '@commercetools-frontend/sdk/test-utils';
|
|
35
35
|
import { entryPointUriPathToPermissionKeys } from '@commercetools-frontend/application-config/ssr';
|
|
36
|
-
import { A as ApplicationEntryPoint, z as createReduxStore, f as createApolloClient } from '../../dist/application-entry-point-
|
|
36
|
+
import { A as ApplicationEntryPoint, z as createReduxStore, f as createApolloClient } from '../../dist/application-entry-point-695b1486.esm.js';
|
|
37
37
|
import { jsx, Fragment, jsxs } from '@emotion/react/jsx-runtime';
|
|
38
38
|
import '@babel/runtime-corejs3/helpers/slicedToArray';
|
|
39
39
|
import '@babel/runtime-corejs3/core-js-stable/object/entries';
|
|
@@ -44,7 +44,7 @@ import 'redux-thunk';
|
|
|
44
44
|
import 'omit-empty-es';
|
|
45
45
|
import '@commercetools-frontend/notifications';
|
|
46
46
|
import '@commercetools-frontend/sdk';
|
|
47
|
-
import '../../dist/constants-
|
|
47
|
+
import '../../dist/constants-69249abd.esm.js';
|
|
48
48
|
import '@babel/runtime-corejs3/core-js-stable/instance/starts-with';
|
|
49
49
|
import '@babel/runtime-corejs3/core-js-stable/instance/includes';
|
|
50
50
|
import 'redux-logger';
|
|
@@ -81,125 +81,6 @@ import '@apollo/client/link/retry';
|
|
|
81
81
|
import '@commercetools-frontend/permissions';
|
|
82
82
|
import '@commercetools-frontend/application-components';
|
|
83
83
|
|
|
84
|
-
/** All built-in and custom scalars, mapped to their actual values */
|
|
85
|
-
var TInvitationStatus;
|
|
86
|
-
|
|
87
|
-
(function (TInvitationStatus) {
|
|
88
|
-
TInvitationStatus["InvitationFailure"] = "InvitationFailure";
|
|
89
|
-
TInvitationStatus["InvitationSent"] = "InvitationSent";
|
|
90
|
-
TInvitationStatus["PendingRegistration"] = "PendingRegistration";
|
|
91
|
-
})(TInvitationStatus || (TInvitationStatus = {}));
|
|
92
|
-
|
|
93
|
-
var TPermissionScope;
|
|
94
|
-
|
|
95
|
-
(function (TPermissionScope) {
|
|
96
|
-
TPermissionScope["CreateAnonymousToken"] = "create_anonymous_token";
|
|
97
|
-
TPermissionScope["GetPermissionForAnyProject"] = "get_permission_for_any_project";
|
|
98
|
-
TPermissionScope["IntrospectOauthTokens"] = "introspect_oauth_tokens";
|
|
99
|
-
TPermissionScope["ManageApiClients"] = "manage_api_clients";
|
|
100
|
-
TPermissionScope["ManageAttributeGroups"] = "manage_attribute_groups";
|
|
101
|
-
TPermissionScope["ManageAuditLog"] = "manage_audit_log";
|
|
102
|
-
TPermissionScope["ManageBusinessUnits"] = "manage_business_units";
|
|
103
|
-
TPermissionScope["ManageCartDiscounts"] = "manage_cart_discounts";
|
|
104
|
-
TPermissionScope["ManageCategories"] = "manage_categories";
|
|
105
|
-
TPermissionScope["ManageChangeHistory"] = "manage_change_history";
|
|
106
|
-
TPermissionScope["ManageCustomerGroups"] = "manage_customer_groups";
|
|
107
|
-
TPermissionScope["ManageCustomers"] = "manage_customers";
|
|
108
|
-
TPermissionScope["ManageDiscountCodes"] = "manage_discount_codes";
|
|
109
|
-
TPermissionScope["ManageExtensions"] = "manage_extensions";
|
|
110
|
-
TPermissionScope["ManageGlobalSubscriptions"] = "manage_global_subscriptions";
|
|
111
|
-
TPermissionScope["ManageImportContainers"] = "manage_import_containers";
|
|
112
|
-
TPermissionScope["ManageImportSinks"] = "manage_import_sinks";
|
|
113
|
-
TPermissionScope["ManageKeyValueDocuments"] = "manage_key_value_documents";
|
|
114
|
-
TPermissionScope["ManageMyBusinessUnits"] = "manage_my_business_units";
|
|
115
|
-
TPermissionScope["ManageMyOrders"] = "manage_my_orders";
|
|
116
|
-
TPermissionScope["ManageMyPayments"] = "manage_my_payments";
|
|
117
|
-
TPermissionScope["ManageMyProfile"] = "manage_my_profile";
|
|
118
|
-
TPermissionScope["ManageMyQuoteRequests"] = "manage_my_quote_requests";
|
|
119
|
-
TPermissionScope["ManageMyQuotes"] = "manage_my_quotes";
|
|
120
|
-
TPermissionScope["ManageMyShoppingLists"] = "manage_my_shopping_lists";
|
|
121
|
-
TPermissionScope["ManageOrderEdits"] = "manage_order_edits";
|
|
122
|
-
TPermissionScope["ManageOrders"] = "manage_orders";
|
|
123
|
-
TPermissionScope["ManagePayments"] = "manage_payments";
|
|
124
|
-
TPermissionScope["ManageProductSelections"] = "manage_product_selections";
|
|
125
|
-
TPermissionScope["ManageProducts"] = "manage_products";
|
|
126
|
-
TPermissionScope["ManageProject"] = "manage_project";
|
|
127
|
-
TPermissionScope["ManageProjectSettings"] = "manage_project_settings";
|
|
128
|
-
TPermissionScope["ManageQuoteRequests"] = "manage_quote_requests";
|
|
129
|
-
TPermissionScope["ManageQuotes"] = "manage_quotes";
|
|
130
|
-
TPermissionScope["ManageShippingMethods"] = "manage_shipping_methods";
|
|
131
|
-
TPermissionScope["ManageShoppingLists"] = "manage_shopping_lists";
|
|
132
|
-
TPermissionScope["ManageStagedQuotes"] = "manage_staged_quotes";
|
|
133
|
-
TPermissionScope["ManageStandalonePrices"] = "manage_standalone_prices";
|
|
134
|
-
TPermissionScope["ManageStates"] = "manage_states";
|
|
135
|
-
TPermissionScope["ManageStores"] = "manage_stores";
|
|
136
|
-
TPermissionScope["ManageSubscriptions"] = "manage_subscriptions";
|
|
137
|
-
TPermissionScope["ManageTaxCategories"] = "manage_tax_categories";
|
|
138
|
-
TPermissionScope["ManageTypes"] = "manage_types";
|
|
139
|
-
TPermissionScope["ViewApiClients"] = "view_api_clients";
|
|
140
|
-
TPermissionScope["ViewAttributeGroups"] = "view_attribute_groups";
|
|
141
|
-
TPermissionScope["ViewAuditLog"] = "view_audit_log";
|
|
142
|
-
TPermissionScope["ViewBusinessUnits"] = "view_business_units";
|
|
143
|
-
TPermissionScope["ViewCartDiscounts"] = "view_cart_discounts";
|
|
144
|
-
TPermissionScope["ViewCategories"] = "view_categories";
|
|
145
|
-
TPermissionScope["ViewChangeHistory"] = "view_change_history";
|
|
146
|
-
TPermissionScope["ViewCustomerGroups"] = "view_customer_groups";
|
|
147
|
-
TPermissionScope["ViewCustomers"] = "view_customers";
|
|
148
|
-
TPermissionScope["ViewDiscountCodes"] = "view_discount_codes";
|
|
149
|
-
TPermissionScope["ViewImportContainers"] = "view_import_containers";
|
|
150
|
-
TPermissionScope["ViewImportSinks"] = "view_import_sinks";
|
|
151
|
-
TPermissionScope["ViewKeyValueDocuments"] = "view_key_value_documents";
|
|
152
|
-
TPermissionScope["ViewMessages"] = "view_messages";
|
|
153
|
-
TPermissionScope["ViewOrderEdits"] = "view_order_edits";
|
|
154
|
-
TPermissionScope["ViewOrders"] = "view_orders";
|
|
155
|
-
TPermissionScope["ViewPayments"] = "view_payments";
|
|
156
|
-
TPermissionScope["ViewProductSelections"] = "view_product_selections";
|
|
157
|
-
TPermissionScope["ViewProducts"] = "view_products";
|
|
158
|
-
TPermissionScope["ViewProjectSettings"] = "view_project_settings";
|
|
159
|
-
TPermissionScope["ViewProjects"] = "view_projects";
|
|
160
|
-
TPermissionScope["ViewPublishedProducts"] = "view_published_products";
|
|
161
|
-
TPermissionScope["ViewQuoteRequests"] = "view_quote_requests";
|
|
162
|
-
TPermissionScope["ViewQuotes"] = "view_quotes";
|
|
163
|
-
TPermissionScope["ViewShippingMethods"] = "view_shipping_methods";
|
|
164
|
-
TPermissionScope["ViewShoppingLists"] = "view_shopping_lists";
|
|
165
|
-
TPermissionScope["ViewStagedQuotes"] = "view_staged_quotes";
|
|
166
|
-
TPermissionScope["ViewStandalonePrices"] = "view_standalone_prices";
|
|
167
|
-
TPermissionScope["ViewStates"] = "view_states";
|
|
168
|
-
TPermissionScope["ViewStores"] = "view_stores";
|
|
169
|
-
TPermissionScope["ViewTaxCategories"] = "view_tax_categories";
|
|
170
|
-
TPermissionScope["ViewTypes"] = "view_types";
|
|
171
|
-
})(TPermissionScope || (TPermissionScope = {}));
|
|
172
|
-
|
|
173
|
-
var TProjectSuspensionReason;
|
|
174
|
-
|
|
175
|
-
(function (TProjectSuspensionReason) {
|
|
176
|
-
TProjectSuspensionReason["Other"] = "Other";
|
|
177
|
-
TProjectSuspensionReason["Payment"] = "Payment";
|
|
178
|
-
TProjectSuspensionReason["TemporaryMaintenance"] = "TemporaryMaintenance";
|
|
179
|
-
})(TProjectSuspensionReason || (TProjectSuspensionReason = {}));
|
|
180
|
-
|
|
181
|
-
var TReleaseOrigin;
|
|
182
|
-
|
|
183
|
-
(function (TReleaseOrigin) {
|
|
184
|
-
TReleaseOrigin["Ctp"] = "ctp";
|
|
185
|
-
TReleaseOrigin["Mc"] = "mc";
|
|
186
|
-
})(TReleaseOrigin || (TReleaseOrigin = {}));
|
|
187
|
-
|
|
188
|
-
var TShippingRateType;
|
|
189
|
-
|
|
190
|
-
(function (TShippingRateType) {
|
|
191
|
-
TShippingRateType["CartClassification"] = "CartClassification";
|
|
192
|
-
TShippingRateType["CartScore"] = "CartScore";
|
|
193
|
-
TShippingRateType["CartValue"] = "CartValue";
|
|
194
|
-
})(TShippingRateType || (TShippingRateType = {}));
|
|
195
|
-
|
|
196
|
-
var TVerificationStatus;
|
|
197
|
-
|
|
198
|
-
(function (TVerificationStatus) {
|
|
199
|
-
TVerificationStatus["Unverified"] = "Unverified";
|
|
200
|
-
TVerificationStatus["Verified"] = "Verified";
|
|
201
|
-
})(TVerificationStatus || (TVerificationStatus = {}));
|
|
202
|
-
|
|
203
84
|
var _excluded = ["children"],
|
|
204
85
|
_excluded2 = ["children"];
|
|
205
86
|
|
|
@@ -255,8 +136,7 @@ var defaultUser = {
|
|
|
255
136
|
launchdarklyTrackingSubgroup: 'dev',
|
|
256
137
|
launchdarklyTrackingId: '111',
|
|
257
138
|
launchdarklyTrackingTeam: undefined,
|
|
258
|
-
launchdarklyTrackingTenant: 'gcp-eu'
|
|
259
|
-
verificationStatus: TVerificationStatus.Verified
|
|
139
|
+
launchdarklyTrackingTenant: 'gcp-eu'
|
|
260
140
|
};
|
|
261
141
|
var defaultEnvironment = {
|
|
262
142
|
applicationId: '__local',
|