@commercetools-frontend/application-shell 21.16.0 → 21.18.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/{application-entry-point-2c62f14c.cjs.dev.js → application-entry-point-36b7bfe3.cjs.dev.js} +8 -2
- package/dist/{application-entry-point-3fd5f616.esm.js → application-entry-point-4e192ad3.esm.js} +8 -2
- package/dist/{application-entry-point-95970544.cjs.prod.js → application-entry-point-8d3c847a.cjs.prod.js} +8 -2
- package/dist/commercetools-frontend-application-shell.cjs.dev.js +3 -3
- package/dist/commercetools-frontend-application-shell.cjs.prod.js +3 -3
- package/dist/commercetools-frontend-application-shell.esm.js +3 -3
- package/dist/declarations/src/components/{application-shell-provider → application-shell}/global-styles.d.ts +0 -0
- package/dist/declarations/src/types/generated/mc.d.ts +29 -0
- package/dist/{index-6206c6a3.esm.js → index-19352a11.esm.js} +103 -102
- package/dist/{index-66c10aaa.cjs.prod.js → index-65b08106.cjs.prod.js} +69 -68
- package/dist/{index-b349612b.cjs.dev.js → index-7b73e413.cjs.dev.js} +102 -101
- package/dist/{project-expired-d38c0a60.cjs.prod.js → project-expired-18807c81.cjs.prod.js} +4 -4
- package/dist/{project-expired-c91f859c.esm.js → project-expired-7babdaae.esm.js} +4 -4
- package/dist/{project-expired-050efa10.cjs.dev.js → project-expired-9719af49.cjs.dev.js} +4 -4
- package/dist/{project-not-found-903e64c9.cjs.prod.js → project-not-found-8e9a3c20.cjs.prod.js} +4 -4
- package/dist/{project-not-found-ca9d1862.esm.js → project-not-found-9a20e9ac.esm.js} +4 -4
- package/dist/{project-not-found-79a006bf.cjs.dev.js → project-not-found-dba273af.cjs.dev.js} +4 -4
- package/dist/{project-not-initialized-ed02d6f9.cjs.prod.js → project-not-initialized-abbeb3cf.cjs.prod.js} +4 -4
- package/dist/{project-not-initialized-2dd9c2a5.cjs.dev.js → project-not-initialized-b7f56f43.cjs.dev.js} +4 -4
- package/dist/{project-not-initialized-4e75af1b.esm.js → project-not-initialized-f03e49bf.esm.js} +4 -4
- package/dist/{project-suspended-9b1ce740.cjs.prod.js → project-suspended-1c332b17.cjs.prod.js} +4 -4
- package/dist/{project-suspended-13202e8b.cjs.dev.js → project-suspended-66d9cec9.cjs.dev.js} +4 -4
- package/dist/{project-suspended-b28f9eae.esm.js → project-suspended-e6d3467f.esm.js} +4 -4
- package/dist/{quick-access-9470f281.cjs.prod.js → quick-access-5b13a6db.cjs.prod.js} +2 -2
- package/dist/{quick-access-41bf815a.cjs.dev.js → quick-access-82aea47e.cjs.dev.js} +2 -2
- package/dist/{quick-access-345fc2e9.esm.js → quick-access-f42413f7.esm.js} +2 -2
- package/dist/{service-page-project-switcher-e697acc6.cjs.dev.js → service-page-project-switcher-1babe7f9.cjs.dev.js} +1 -1
- package/dist/{service-page-project-switcher-c66e9c4f.cjs.prod.js → service-page-project-switcher-2f585ac7.cjs.prod.js} +1 -1
- package/dist/{service-page-project-switcher-057fd049.esm.js → service-page-project-switcher-9c3e6295.esm.js} +1 -1
- package/package.json +36 -36
- 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
|
@@ -113,7 +113,7 @@ var _pt__default = /*#__PURE__*/_interopDefault(_pt);
|
|
|
113
113
|
var invariant__default = /*#__PURE__*/_interopDefault(invariant);
|
|
114
114
|
|
|
115
115
|
// NOTE: This string will be replaced on build time with the package version.
|
|
116
|
-
var version = "21.
|
|
116
|
+
var version = "21.18.0";
|
|
117
117
|
|
|
118
118
|
var isAddNotificationErrorAction = function isAddNotificationErrorAction(action) {
|
|
119
119
|
var errorAction = action;
|
|
@@ -559,7 +559,13 @@ var createReduxStore = function createReduxStore() {
|
|
|
559
559
|
|
|
560
560
|
return _concatInstanceProperty__default["default"](_context2 = []).call(_context2, _toConsumableArray(additionalMiddlewares), [hideNotificationsMiddleware, notifications.middleware, sdkMiddleware], _toConsumableArray(getDefaultMiddleware({
|
|
561
561
|
// https://redux-toolkit.js.org/usage/usage-guide#working-with-non-serializable-data
|
|
562
|
-
serializableCheck: false
|
|
562
|
+
serializableCheck: false,
|
|
563
|
+
// This default check is logging warnings to console for some MC FE tests, probably
|
|
564
|
+
// due to lower resources when running tests on CI.
|
|
565
|
+
// We don't consider this check to be very valuable in this context so we decided
|
|
566
|
+
// to turn it off.
|
|
567
|
+
// https://redux-toolkit.js.org/api/immutabilityMiddleware
|
|
568
|
+
immutableCheck: false
|
|
563
569
|
})), [loggerMiddleware]);
|
|
564
570
|
}
|
|
565
571
|
});
|
package/dist/{application-entry-point-3fd5f616.esm.js → application-entry-point-4e192ad3.esm.js}
RENAMED
|
@@ -70,7 +70,7 @@ import { entryPointUriPathToPermissionKeys } from '@commercetools-frontend/appli
|
|
|
70
70
|
import { useApplicationContext } from '@commercetools-frontend/application-shell-connectors';
|
|
71
71
|
|
|
72
72
|
// NOTE: This string will be replaced on build time with the package version.
|
|
73
|
-
var version = "21.
|
|
73
|
+
var version = "21.18.0";
|
|
74
74
|
|
|
75
75
|
var isAddNotificationErrorAction = function isAddNotificationErrorAction(action) {
|
|
76
76
|
var errorAction = action;
|
|
@@ -516,7 +516,13 @@ var createReduxStore = function createReduxStore() {
|
|
|
516
516
|
|
|
517
517
|
return _concatInstanceProperty(_context2 = []).call(_context2, _toConsumableArray(additionalMiddlewares), [hideNotificationsMiddleware, middleware, sdkMiddleware], _toConsumableArray(getDefaultMiddleware({
|
|
518
518
|
// https://redux-toolkit.js.org/usage/usage-guide#working-with-non-serializable-data
|
|
519
|
-
serializableCheck: false
|
|
519
|
+
serializableCheck: false,
|
|
520
|
+
// This default check is logging warnings to console for some MC FE tests, probably
|
|
521
|
+
// due to lower resources when running tests on CI.
|
|
522
|
+
// We don't consider this check to be very valuable in this context so we decided
|
|
523
|
+
// to turn it off.
|
|
524
|
+
// https://redux-toolkit.js.org/api/immutabilityMiddleware
|
|
525
|
+
immutableCheck: false
|
|
520
526
|
})), [loggerMiddleware]);
|
|
521
527
|
}
|
|
522
528
|
});
|
|
@@ -112,7 +112,7 @@ var _regeneratorRuntime__default = /*#__PURE__*/_interopDefault(_regeneratorRunt
|
|
|
112
112
|
var invariant__default = /*#__PURE__*/_interopDefault(invariant);
|
|
113
113
|
|
|
114
114
|
// NOTE: This string will be replaced on build time with the package version.
|
|
115
|
-
var version = "21.
|
|
115
|
+
var version = "21.18.0";
|
|
116
116
|
|
|
117
117
|
var isAddNotificationErrorAction = function isAddNotificationErrorAction(action) {
|
|
118
118
|
var errorAction = action;
|
|
@@ -550,7 +550,13 @@ var createReduxStore = function createReduxStore() {
|
|
|
550
550
|
|
|
551
551
|
return _concatInstanceProperty__default["default"](_context2 = []).call(_context2, _toConsumableArray(additionalMiddlewares), [hideNotificationsMiddleware, notifications.middleware, sdkMiddleware], _toConsumableArray(getDefaultMiddleware({
|
|
552
552
|
// https://redux-toolkit.js.org/usage/usage-guide#working-with-non-serializable-data
|
|
553
|
-
serializableCheck: false
|
|
553
|
+
serializableCheck: false,
|
|
554
|
+
// This default check is logging warnings to console for some MC FE tests, probably
|
|
555
|
+
// due to lower resources when running tests on CI.
|
|
556
|
+
// We don't consider this check to be very valuable in this context so we decided
|
|
557
|
+
// to turn it off.
|
|
558
|
+
// https://redux-toolkit.js.org/api/immutabilityMiddleware
|
|
559
|
+
immutableCheck: false
|
|
554
560
|
})), [loggerMiddleware]);
|
|
555
561
|
}
|
|
556
562
|
});
|
|
@@ -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-36b7bfe3.cjs.dev.js');
|
|
6
|
+
var dist_commercetoolsFrontendApplicationShell = require('./index-7b73e413.cjs.dev.js');
|
|
7
7
|
require('@babel/runtime-corejs3/core-js-stable/instance/filter');
|
|
8
8
|
require('uuid');
|
|
9
9
|
var ssr = require('@commercetools-frontend/application-config/ssr');
|
|
@@ -79,6 +79,7 @@ require('@commercetools-frontend/application-shell-connectors');
|
|
|
79
79
|
require('@emotion/styled/base');
|
|
80
80
|
require('@emotion/react');
|
|
81
81
|
require('@commercetools-frontend/i18n');
|
|
82
|
+
require('@commercetools-uikit/design-system');
|
|
82
83
|
require('perfume.js');
|
|
83
84
|
require('@babel/runtime-corejs3/core-js-stable/instance/reverse');
|
|
84
85
|
require('lodash/camelCase');
|
|
@@ -87,7 +88,6 @@ require('./oidc-a2126dac.cjs.dev.js');
|
|
|
87
88
|
require('qss');
|
|
88
89
|
require('jwt-decode');
|
|
89
90
|
require('@commercetools-frontend/assets/images/locked-diamond.svg');
|
|
90
|
-
require('@commercetools-uikit/design-system');
|
|
91
91
|
require('@commercetools-uikit/notifications');
|
|
92
92
|
require('@commercetools-uikit/spacings');
|
|
93
93
|
require('@commercetools-uikit/card');
|
|
@@ -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-8d3c847a.cjs.prod.js');
|
|
6
|
+
var dist_commercetoolsFrontendApplicationShell = require('./index-65b08106.cjs.prod.js');
|
|
7
7
|
require('@babel/runtime-corejs3/core-js-stable/instance/filter');
|
|
8
8
|
require('uuid');
|
|
9
9
|
var ssr = require('@commercetools-frontend/application-config/ssr');
|
|
@@ -79,6 +79,7 @@ require('@commercetools-frontend/application-shell-connectors');
|
|
|
79
79
|
require('@emotion/styled/base');
|
|
80
80
|
require('@emotion/react');
|
|
81
81
|
require('@commercetools-frontend/i18n');
|
|
82
|
+
require('@commercetools-uikit/design-system');
|
|
82
83
|
require('perfume.js');
|
|
83
84
|
require('@babel/runtime-corejs3/core-js-stable/instance/reverse');
|
|
84
85
|
require('lodash/camelCase');
|
|
@@ -87,7 +88,6 @@ require('./oidc-d13fc045.cjs.prod.js');
|
|
|
87
88
|
require('qss');
|
|
88
89
|
require('jwt-decode');
|
|
89
90
|
require('@commercetools-frontend/assets/images/locked-diamond.svg');
|
|
90
|
-
require('@commercetools-uikit/design-system');
|
|
91
91
|
require('@commercetools-uikit/notifications');
|
|
92
92
|
require('@commercetools-uikit/spacings');
|
|
93
93
|
require('@commercetools-uikit/card');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { p as RouteCatchAll, q as applyDefaultMiddlewares, w as buildApiUrl, f as createApolloClient, x as createHttpClientOptions, y as executeHttpClientRequest, g as getMcApiUrl, n as selectProjectKeyFromUrl, t as selectUserId, v as version } from './application-entry-point-
|
|
2
|
-
export { b as ApplicationPageTitle, A as ApplicationShell, a as ApplicationShellProvider, C as ConfigureIntlProvider, G as GtmContext, d as GtmUserLogoutTracker, I as InjectReducers, S as SetupFlopFlipProvider, e as SuspendedRoute, c as createApolloContextForProxyForwardTo, s as setupGlobalErrorListener, f as useMcLazyQuery, g as useMcMutation, u as useMcQuery } from './index-
|
|
1
|
+
export { p as RouteCatchAll, q as applyDefaultMiddlewares, w as buildApiUrl, f as createApolloClient, x as createHttpClientOptions, y as executeHttpClientRequest, g as getMcApiUrl, n as selectProjectKeyFromUrl, t as selectUserId, v as version } from './application-entry-point-4e192ad3.esm.js';
|
|
2
|
+
export { b as ApplicationPageTitle, A as ApplicationShell, a as ApplicationShellProvider, C as ConfigureIntlProvider, G as GtmContext, d as GtmUserLogoutTracker, I as InjectReducers, S as SetupFlopFlipProvider, e as SuspendedRoute, c as createApolloContextForProxyForwardTo, s as setupGlobalErrorListener, f as useMcLazyQuery, g as useMcMutation, u as useMcQuery } from './index-19352a11.esm.js';
|
|
3
3
|
import '@babel/runtime-corejs3/core-js-stable/instance/filter';
|
|
4
4
|
import 'uuid';
|
|
5
5
|
export { entryPointUriPathToPermissionKeys, entryPointUriPathToResourceAccesses } from '@commercetools-frontend/application-config/ssr';
|
|
@@ -75,6 +75,7 @@ import '@commercetools-frontend/application-shell-connectors';
|
|
|
75
75
|
import '@emotion/styled/base';
|
|
76
76
|
import '@emotion/react';
|
|
77
77
|
import '@commercetools-frontend/i18n';
|
|
78
|
+
import '@commercetools-uikit/design-system';
|
|
78
79
|
import 'perfume.js';
|
|
79
80
|
import '@babel/runtime-corejs3/core-js-stable/instance/reverse';
|
|
80
81
|
import 'lodash/camelCase';
|
|
@@ -83,7 +84,6 @@ import './oidc-4c509f49.esm.js';
|
|
|
83
84
|
import 'qss';
|
|
84
85
|
import 'jwt-decode';
|
|
85
86
|
import '@commercetools-frontend/assets/images/locked-diamond.svg';
|
|
86
|
-
import '@commercetools-uikit/design-system';
|
|
87
87
|
import '@commercetools-uikit/notifications';
|
|
88
88
|
import '@commercetools-uikit/spacings';
|
|
89
89
|
import '@commercetools-uikit/card';
|
|
File without changes
|
|
@@ -84,6 +84,17 @@ export declare type TFeature = {
|
|
|
84
84
|
reason?: Maybe<Scalars['String']>;
|
|
85
85
|
value: Scalars['Boolean'];
|
|
86
86
|
};
|
|
87
|
+
export declare type TIdTokenUserInfo = {
|
|
88
|
+
__typename?: 'IdTokenUserInfo';
|
|
89
|
+
additionalClaims?: Maybe<Scalars['String']>;
|
|
90
|
+
aud: Scalars['String'];
|
|
91
|
+
email?: Maybe<Scalars['String']>;
|
|
92
|
+
exp: Scalars['Float'];
|
|
93
|
+
iat: Scalars['Float'];
|
|
94
|
+
iss: Scalars['String'];
|
|
95
|
+
name?: Maybe<Scalars['String']>;
|
|
96
|
+
sub: Scalars['String'];
|
|
97
|
+
};
|
|
87
98
|
export declare type TInvitationInput = {
|
|
88
99
|
emails: Array<Scalars['String']>;
|
|
89
100
|
organization: TInvitationOrganizationInput;
|
|
@@ -551,6 +562,7 @@ export declare type TUser = TMetaData & {
|
|
|
551
562
|
firstName: Scalars['String'];
|
|
552
563
|
gravatarHash: Scalars['String'];
|
|
553
564
|
id: Scalars['ID'];
|
|
565
|
+
idTokenUserInfo?: Maybe<TIdTokenUserInfo>;
|
|
554
566
|
language: Scalars['String'];
|
|
555
567
|
lastModifiedAt: Scalars['String'];
|
|
556
568
|
lastName: Scalars['String'];
|
|
@@ -562,6 +574,7 @@ export declare type TUser = TMetaData & {
|
|
|
562
574
|
numberFormat: Scalars['String'];
|
|
563
575
|
projects: TProjectQueryResult;
|
|
564
576
|
timeZone?: Maybe<Scalars['String']>;
|
|
577
|
+
verificationStatus: TVerificationStatus;
|
|
565
578
|
version?: Maybe<Scalars['Int']>;
|
|
566
579
|
};
|
|
567
580
|
export declare type TUserDraft = {
|
|
@@ -578,6 +591,10 @@ export declare type TUserUpdateAction = {
|
|
|
578
591
|
changePassword?: InputMaybe<TChangeUserPassword>;
|
|
579
592
|
setTimeZone?: InputMaybe<TSetUserTimeZone>;
|
|
580
593
|
};
|
|
594
|
+
export declare enum TVerificationStatus {
|
|
595
|
+
Unverified = "Unverified",
|
|
596
|
+
Verified = "Verified"
|
|
597
|
+
}
|
|
581
598
|
export declare type TAmILoggedInQueryVariables = Exact<{
|
|
582
599
|
[key: string]: never;
|
|
583
600
|
}>;
|
|
@@ -682,6 +699,7 @@ export declare type TFetchLoggedInUserQuery = {
|
|
|
682
699
|
launchdarklyTrackingTenant: string;
|
|
683
700
|
defaultProjectKey?: string | null;
|
|
684
701
|
businessRole?: string | null;
|
|
702
|
+
verificationStatus: TVerificationStatus;
|
|
685
703
|
projects: {
|
|
686
704
|
__typename?: 'ProjectQueryResult';
|
|
687
705
|
total: number;
|
|
@@ -699,6 +717,17 @@ export declare type TFetchLoggedInUserQuery = {
|
|
|
699
717
|
};
|
|
700
718
|
}>;
|
|
701
719
|
};
|
|
720
|
+
idTokenUserInfo?: {
|
|
721
|
+
__typename?: 'IdTokenUserInfo';
|
|
722
|
+
iss: string;
|
|
723
|
+
sub: string;
|
|
724
|
+
aud: string;
|
|
725
|
+
exp: number;
|
|
726
|
+
iat: number;
|
|
727
|
+
email?: string | null;
|
|
728
|
+
name?: string | null;
|
|
729
|
+
additionalClaims?: string | null;
|
|
730
|
+
} | null;
|
|
702
731
|
} | null;
|
|
703
732
|
};
|
|
704
733
|
export declare type TFetchUserProjectsQueryVariables = Exact<{
|