@commercetools-frontend/application-shell 20.12.3 → 20.12.4
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-ca79642e.cjs.dev.js → application-entry-point-1531bd49.cjs.dev.js} +1 -1
- package/dist/{application-entry-point-32ba21e8.cjs.prod.js → application-entry-point-27b46a9d.cjs.prod.js} +1 -1
- package/dist/{application-entry-point-caba3fcf.esm.js → application-entry-point-9750a74f.esm.js} +1 -1
- package/dist/commercetools-frontend-application-shell.cjs.dev.js +3 -2
- package/dist/commercetools-frontend-application-shell.cjs.prod.js +3 -2
- package/dist/commercetools-frontend-application-shell.esm.js +3 -2
- package/dist/{index-0428cf83.cjs.prod.js → index-9fb026f3.cjs.prod.js} +22 -13
- package/dist/{index-dd13496f.esm.js → index-e5a993b0.esm.js} +36 -27
- package/dist/{index-1a8b5b91.cjs.dev.js → index-e8b18306.cjs.dev.js} +36 -27
- package/dist/{project-expired-da4386e2.cjs.prod.js → project-expired-0015e695.cjs.prod.js} +4 -3
- package/dist/{project-expired-1c83f3b0.cjs.dev.js → project-expired-3759ef13.cjs.dev.js} +4 -3
- package/dist/{project-expired-633f1944.esm.js → project-expired-e0881f5d.esm.js} +4 -3
- package/dist/{project-not-found-fa0d0fed.cjs.dev.js → project-not-found-2581e9da.cjs.dev.js} +4 -3
- package/dist/{project-not-found-ba7eb62f.esm.js → project-not-found-9428c0f6.esm.js} +4 -3
- package/dist/{project-not-found-d28a8381.cjs.prod.js → project-not-found-de559908.cjs.prod.js} +4 -3
- package/dist/{project-not-initialized-b5aa1292.esm.js → project-not-initialized-23176122.esm.js} +4 -3
- package/dist/{project-not-initialized-3bb6a35a.cjs.prod.js → project-not-initialized-a4cd8649.cjs.prod.js} +4 -3
- package/dist/{project-not-initialized-75d542c8.cjs.dev.js → project-not-initialized-fc705645.cjs.dev.js} +4 -3
- package/dist/{project-suspended-d498f169.cjs.prod.js → project-suspended-13c17047.cjs.prod.js} +4 -3
- package/dist/{project-suspended-ed1a8044.cjs.dev.js → project-suspended-2d044bbe.cjs.dev.js} +4 -3
- package/dist/{project-suspended-a7b9d722.esm.js → project-suspended-3292de13.esm.js} +4 -3
- package/dist/{quick-access-612dc2d7.esm.js → quick-access-5dd5bec2.esm.js} +3 -2
- package/dist/{quick-access-53014796.cjs.dev.js → quick-access-d9768abe.cjs.dev.js} +3 -2
- package/dist/{quick-access-5133c280.cjs.prod.js → quick-access-dd969ed0.cjs.prod.js} +3 -2
- package/dist/{service-page-project-switcher-08c6c7d5.cjs.prod.js → service-page-project-switcher-3b93b2f1.cjs.prod.js} +1 -1
- package/dist/{service-page-project-switcher-dfbbe4c1.cjs.dev.js → service-page-project-switcher-8c881917.cjs.dev.js} +1 -1
- package/dist/{service-page-project-switcher-4893264d.esm.js → service-page-project-switcher-f73afea1.esm.js} +1 -1
- package/package.json +2 -1
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.dev.js +1 -1
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.prod.js +1 -1
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.esm.js +1 -1
|
@@ -100,7 +100,7 @@ var _pt__default = /*#__PURE__*/_interopDefault(_pt);
|
|
|
100
100
|
var invariant__default = /*#__PURE__*/_interopDefault(invariant);
|
|
101
101
|
|
|
102
102
|
// NOTE: This string will be replaced on build time with the package version.
|
|
103
|
-
var version = "20.12.
|
|
103
|
+
var version = "20.12.4";
|
|
104
104
|
|
|
105
105
|
var isAddNotificationErrorAction = function isAddNotificationErrorAction(action) {
|
|
106
106
|
var errorAction = action;
|
|
@@ -99,7 +99,7 @@ var _JSON$stringify__default = /*#__PURE__*/_interopDefault(_JSON$stringify);
|
|
|
99
99
|
var invariant__default = /*#__PURE__*/_interopDefault(invariant);
|
|
100
100
|
|
|
101
101
|
// NOTE: This string will be replaced on build time with the package version.
|
|
102
|
-
var version = "20.12.
|
|
102
|
+
var version = "20.12.4";
|
|
103
103
|
|
|
104
104
|
var isAddNotificationErrorAction = function isAddNotificationErrorAction(action) {
|
|
105
105
|
var errorAction = action;
|
package/dist/{application-entry-point-caba3fcf.esm.js → application-entry-point-9750a74f.esm.js}
RENAMED
|
@@ -59,7 +59,7 @@ import { PageNotFound } from '@commercetools-frontend/application-components';
|
|
|
59
59
|
import { useApplicationContext } from '@commercetools-frontend/application-shell-connectors';
|
|
60
60
|
|
|
61
61
|
// NOTE: This string will be replaced on build time with the package version.
|
|
62
|
-
var version = "20.12.
|
|
62
|
+
var version = "20.12.4";
|
|
63
63
|
|
|
64
64
|
var isAddNotificationErrorAction = function isAddNotificationErrorAction(action) {
|
|
65
65
|
var errorAction = action;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var applicationEntryPoint = require('./application-entry-point-
|
|
6
|
-
var dist_commercetoolsFrontendApplicationShell = require('./index-
|
|
5
|
+
var applicationEntryPoint = require('./application-entry-point-1531bd49.cjs.dev.js');
|
|
6
|
+
var dist_commercetoolsFrontendApplicationShell = require('./index-e8b18306.cjs.dev.js');
|
|
7
7
|
require('@babel/runtime-corejs3/core-js-stable/instance/filter');
|
|
8
8
|
require('uuid');
|
|
9
9
|
require('@babel/runtime-corejs3/core-js-stable/url');
|
|
@@ -102,6 +102,7 @@ require('memoize-one');
|
|
|
102
102
|
require('@commercetools-uikit/select-input');
|
|
103
103
|
require('@babel/runtime-corejs3/helpers/taggedTemplateLiteral');
|
|
104
104
|
require('lodash/isNil');
|
|
105
|
+
require('react-select');
|
|
105
106
|
require('@babel/runtime-corejs3/helpers/asyncToGenerator');
|
|
106
107
|
require('@babel/runtime-corejs3/regenerator');
|
|
107
108
|
require('@babel/runtime-corejs3/core-js-stable/object/from-entries');
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var applicationEntryPoint = require('./application-entry-point-
|
|
6
|
-
var dist_commercetoolsFrontendApplicationShell = require('./index-
|
|
5
|
+
var applicationEntryPoint = require('./application-entry-point-27b46a9d.cjs.prod.js');
|
|
6
|
+
var dist_commercetoolsFrontendApplicationShell = require('./index-9fb026f3.cjs.prod.js');
|
|
7
7
|
require('@babel/runtime-corejs3/core-js-stable/instance/filter');
|
|
8
8
|
require('uuid');
|
|
9
9
|
require('@babel/runtime-corejs3/core-js-stable/url');
|
|
@@ -102,6 +102,7 @@ require('memoize-one');
|
|
|
102
102
|
require('@commercetools-uikit/select-input');
|
|
103
103
|
require('@babel/runtime-corejs3/helpers/taggedTemplateLiteral');
|
|
104
104
|
require('lodash/isNil');
|
|
105
|
+
require('react-select');
|
|
105
106
|
require('@babel/runtime-corejs3/helpers/asyncToGenerator');
|
|
106
107
|
require('@babel/runtime-corejs3/regenerator');
|
|
107
108
|
require('@babel/runtime-corejs3/core-js-stable/object/from-entries');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { p as RouteCatchAll, q as applyDefaultMiddlewares, f as createApolloClient, n as selectProjectKeyFromUrl, t as selectUserId, v as version } from './application-entry-point-
|
|
2
|
-
export { A as ApplicationShell, a as ApplicationShellProvider, C as ConfigureIntlProvider, G as GtmContext, b as GtmUserLogoutTracker, I as InjectReducers, S as SetupFlopFlipProvider, c as createApolloContextForProxyForwardTo, s as setupGlobalErrorListener, d as useMcLazyQuery, e as useMcMutation, u as useMcQuery } from './index-
|
|
1
|
+
export { p as RouteCatchAll, q as applyDefaultMiddlewares, f as createApolloClient, n as selectProjectKeyFromUrl, t as selectUserId, v as version } from './application-entry-point-9750a74f.esm.js';
|
|
2
|
+
export { A as ApplicationShell, a as ApplicationShellProvider, C as ConfigureIntlProvider, G as GtmContext, b as GtmUserLogoutTracker, I as InjectReducers, S as SetupFlopFlipProvider, c as createApolloContextForProxyForwardTo, s as setupGlobalErrorListener, d as useMcLazyQuery, e as useMcMutation, u as useMcQuery } from './index-e5a993b0.esm.js';
|
|
3
3
|
import '@babel/runtime-corejs3/core-js-stable/instance/filter';
|
|
4
4
|
import 'uuid';
|
|
5
5
|
import '@babel/runtime-corejs3/core-js-stable/url';
|
|
@@ -98,6 +98,7 @@ import 'memoize-one';
|
|
|
98
98
|
import '@commercetools-uikit/select-input';
|
|
99
99
|
import '@babel/runtime-corejs3/helpers/taggedTemplateLiteral';
|
|
100
100
|
import 'lodash/isNil';
|
|
101
|
+
import 'react-select';
|
|
101
102
|
import '@babel/runtime-corejs3/helpers/asyncToGenerator';
|
|
102
103
|
import '@babel/runtime-corejs3/regenerator';
|
|
103
104
|
import '@babel/runtime-corejs3/core-js-stable/object/from-entries';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var applicationEntryPoint = require('./application-entry-point-
|
|
3
|
+
var applicationEntryPoint = require('./application-entry-point-27b46a9d.cjs.prod.js');
|
|
4
4
|
var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
|
|
5
5
|
var _styled = require('@emotion/styled/base');
|
|
6
6
|
var _pt = require('prop-types');
|
|
@@ -77,6 +77,7 @@ var SelectInput = require('@commercetools-uikit/select-input');
|
|
|
77
77
|
var _taggedTemplateLiteral = require('@babel/runtime-corejs3/helpers/taggedTemplateLiteral');
|
|
78
78
|
var ReactDOM = require('react-dom');
|
|
79
79
|
var isNil = require('lodash/isNil');
|
|
80
|
+
var reactSelect = require('react-select');
|
|
80
81
|
var _asyncToGenerator = require('@babel/runtime-corejs3/helpers/asyncToGenerator');
|
|
81
82
|
var _regeneratorRuntime = require('@babel/runtime-corejs3/regenerator');
|
|
82
83
|
var _Object$fromEntries = require('@babel/runtime-corejs3/core-js-stable/object/from-entries');
|
|
@@ -2108,11 +2109,7 @@ var ProjectSwitcher = function ProjectSwitcher(props) {
|
|
|
2108
2109
|
return option.suspension.isActive || option.expiry.isActive;
|
|
2109
2110
|
},
|
|
2110
2111
|
components: {
|
|
2111
|
-
|
|
2112
|
-
Option: function Option(optionsProps) {
|
|
2113
|
-
return jsxRuntime.jsx(ProjectSwitcherOption, _objectSpread$7({}, optionsProps));
|
|
2114
|
-
},
|
|
2115
|
-
// eslint-disable-next-line react/display-name
|
|
2112
|
+
Option: ProjectSwitcherOption,
|
|
2116
2113
|
ValueContainer: function ValueContainer(valueContainerProps) {
|
|
2117
2114
|
return jsxRuntime.jsx(ProjectSwitcherValueContainer, _objectSpread$7(_objectSpread$7({}, valueContainerProps), {}, {
|
|
2118
2115
|
projectCount: data && data.user && data.user.projects.results.length || 0
|
|
@@ -2366,6 +2363,18 @@ var _SingleValue = function SingleValue(props) {
|
|
|
2366
2363
|
_SingleValue.propTypes = {};
|
|
2367
2364
|
_SingleValue.displayName = 'SingleValue';
|
|
2368
2365
|
|
|
2366
|
+
var PatchedValueContainer = function PatchedValueContainer(props) {
|
|
2367
|
+
return jsxRuntime.jsx(reactSelect.components.ValueContainer, _objectSpread$6(_objectSpread$6({}, props), {}, {
|
|
2368
|
+
innerProps: {
|
|
2369
|
+
style: {
|
|
2370
|
+
display: 'flex'
|
|
2371
|
+
}
|
|
2372
|
+
}
|
|
2373
|
+
}));
|
|
2374
|
+
};
|
|
2375
|
+
|
|
2376
|
+
PatchedValueContainer.displayName = 'PatchedValueContainer';
|
|
2377
|
+
|
|
2369
2378
|
var LocaleSwitcher = function LocaleSwitcher(props) {
|
|
2370
2379
|
var _context;
|
|
2371
2380
|
|
|
@@ -2388,12 +2397,12 @@ var LocaleSwitcher = function LocaleSwitcher(props) {
|
|
|
2388
2397
|
};
|
|
2389
2398
|
}),
|
|
2390
2399
|
components: {
|
|
2391
|
-
// eslint-disable-next-line react/display-name
|
|
2392
2400
|
SingleValue: function SingleValue(valueProps) {
|
|
2393
2401
|
return jsxRuntime.jsx(_SingleValue, _objectSpread$6(_objectSpread$6({}, valueProps), {}, {
|
|
2394
2402
|
localeCount: props.availableLocales.length
|
|
2395
2403
|
}));
|
|
2396
|
-
}
|
|
2404
|
+
},
|
|
2405
|
+
ValueContainer: PatchedValueContainer
|
|
2397
2406
|
},
|
|
2398
2407
|
isClearable: false,
|
|
2399
2408
|
backspaceRemovesValue: false,
|
|
@@ -2405,19 +2414,19 @@ var LocaleSwitcher = function LocaleSwitcher(props) {
|
|
|
2405
2414
|
LocaleSwitcher.propTypes = {};
|
|
2406
2415
|
|
|
2407
2416
|
var ProjectNotFound = /*#__PURE__*/react.lazy(function () {
|
|
2408
|
-
return Promise.resolve().then(function () { return require('./project-not-found-
|
|
2417
|
+
return Promise.resolve().then(function () { return require('./project-not-found-de559908.cjs.prod.js'
|
|
2409
2418
|
/* webpackChunkName: "project-not-found" */
|
|
2410
2419
|
); });
|
|
2411
2420
|
});
|
|
2412
2421
|
|
|
2413
2422
|
var ProjectExpired = /*#__PURE__*/react.lazy(function () {
|
|
2414
|
-
return Promise.resolve().then(function () { return require('./project-expired-
|
|
2423
|
+
return Promise.resolve().then(function () { return require('./project-expired-0015e695.cjs.prod.js'
|
|
2415
2424
|
/* webpackChunkName: "project-expired" */
|
|
2416
2425
|
); });
|
|
2417
2426
|
});
|
|
2418
2427
|
|
|
2419
2428
|
var ProjectNotInitialized = /*#__PURE__*/react.lazy(function () {
|
|
2420
|
-
return Promise.resolve().then(function () { return require('./project-not-initialized-
|
|
2429
|
+
return Promise.resolve().then(function () { return require('./project-not-initialized-a4cd8649.cjs.prod.js'
|
|
2421
2430
|
/* webpackChunkName: "project-not-initialized" */
|
|
2422
2431
|
); });
|
|
2423
2432
|
});
|
|
@@ -2464,7 +2473,7 @@ var RedirectToProjectCreate = function RedirectToProjectCreate() {
|
|
|
2464
2473
|
RedirectToProjectCreate.displayName = 'RedirectToProjectCreate';
|
|
2465
2474
|
|
|
2466
2475
|
var ProjectSuspended = /*#__PURE__*/react.lazy(function () {
|
|
2467
|
-
return Promise.resolve().then(function () { return require('./project-suspended-
|
|
2476
|
+
return Promise.resolve().then(function () { return require('./project-suspended-13c17047.cjs.prod.js'
|
|
2468
2477
|
/* webpackChunkName: "project-suspended" */
|
|
2469
2478
|
); });
|
|
2470
2479
|
});
|
|
@@ -3680,7 +3689,7 @@ var pimIndexerStates = {
|
|
|
3680
3689
|
};
|
|
3681
3690
|
|
|
3682
3691
|
var QuickAccess = /*#__PURE__*/react.lazy(function () {
|
|
3683
|
-
return Promise.resolve().then(function () { return require('./quick-access-
|
|
3692
|
+
return Promise.resolve().then(function () { return require('./quick-access-dd969ed0.cjs.prod.js'
|
|
3684
3693
|
/* webpackChunkName: "quick-access" */
|
|
3685
3694
|
); });
|
|
3686
3695
|
});
|