@commercetools-frontend/application-shell 24.13.0 → 25.1.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-1b23fb6b.esm.js → application-entry-point-10a5e1a5.esm.js} +4 -6
- package/dist/{application-entry-point-74a06151.cjs.prod.js → application-entry-point-8c4b8e53.cjs.prod.js} +3 -4
- package/dist/{application-entry-point-18d8fba0.cjs.dev.js → application-entry-point-c87294b0.cjs.dev.js} +4 -7
- package/dist/commercetools-frontend-application-shell.cjs.dev.js +4 -5
- package/dist/commercetools-frontend-application-shell.cjs.prod.js +4 -5
- package/dist/commercetools-frontend-application-shell.esm.js +4 -5
- package/dist/{custom-view-dev-host-f688743e.cjs.dev.js → custom-view-dev-host-5350eda4.cjs.dev.js} +10 -15
- package/dist/{custom-view-dev-host-bf11de47.cjs.prod.js → custom-view-dev-host-9d70ed5a.cjs.prod.js} +10 -15
- package/dist/{custom-view-dev-host-b4f856d8.esm.js → custom-view-dev-host-d5c02c31.esm.js} +10 -14
- package/dist/{index-52c724ed.cjs.prod.js → index-245e2980.cjs.prod.js} +2 -2
- package/dist/{index-dcd3d8a3.cjs.dev.js → index-2b8a5370.cjs.dev.js} +108 -132
- package/dist/{index-242af4d2.cjs.prod.js → index-3ce8bcb0.cjs.prod.js} +108 -132
- package/dist/{index-25183095.cjs.dev.js → index-614accc4.cjs.dev.js} +2 -2
- package/dist/{index-5aaa33bb.esm.js → index-86039df7.esm.js} +2 -2
- package/dist/{index-d8c26ca0.esm.js → index-c8c7dc44.esm.js} +108 -131
- package/dist/{navbar-0bad8bc8.esm.js → navbar-9a40ead9.esm.js} +89 -104
- package/dist/{navbar-d4189469.cjs.dev.js → navbar-c51e0607.cjs.dev.js} +89 -105
- package/dist/{navbar-7653417f.cjs.prod.js → navbar-e287ce25.cjs.prod.js} +89 -105
- package/dist/oidc-8827f9fe.cjs.dev.js +98 -0
- package/dist/oidc-b2520905.esm.js +84 -0
- package/dist/{oidc-callback-11dae6b7.cjs.dev.js → oidc-callback-10369351.cjs.dev.js} +8 -10
- package/dist/{oidc-callback-82aa6be5.esm.js → oidc-callback-43725da4.esm.js} +8 -10
- package/dist/{oidc-callback-300966ee.cjs.prod.js → oidc-callback-d0f0ab00.cjs.prod.js} +8 -10
- package/dist/oidc-d74e6aa2.cjs.prod.js +98 -0
- package/dist/{project-container-991a64a8.cjs.dev.js → project-container-1ee088eb.cjs.dev.js} +11 -14
- package/dist/{project-container-2f98a9d6.cjs.prod.js → project-container-64823e34.cjs.prod.js} +11 -14
- package/dist/{project-container-ce0f6228.esm.js → project-container-da53bf6d.esm.js} +11 -14
- package/dist/{project-expired-f753ba58.cjs.prod.js → project-expired-b3656692.cjs.prod.js} +5 -6
- package/dist/{project-expired-49e78c8c.esm.js → project-expired-c5239755.esm.js} +5 -6
- package/dist/{project-expired-fa4a86df.cjs.dev.js → project-expired-cd366d1f.cjs.dev.js} +5 -6
- package/dist/{project-not-found-d594db71.cjs.prod.js → project-not-found-278f33b4.cjs.prod.js} +4 -5
- package/dist/{project-not-found-ac82676b.esm.js → project-not-found-329638a6.esm.js} +4 -5
- package/dist/{project-not-found-261f37e8.cjs.dev.js → project-not-found-e7381918.cjs.dev.js} +4 -5
- package/dist/{project-not-initialized-4c02d4b2.esm.js → project-not-initialized-80b21ac8.esm.js} +5 -6
- package/dist/{project-not-initialized-c3a87ba6.cjs.dev.js → project-not-initialized-9e5f45ed.cjs.dev.js} +5 -6
- package/dist/{project-not-initialized-5a77d844.cjs.prod.js → project-not-initialized-df5f697e.cjs.prod.js} +5 -6
- package/dist/{project-suspended-cd66814e.esm.js → project-suspended-41550cb8.esm.js} +4 -5
- package/dist/{project-suspended-42a90ea6.cjs.dev.js → project-suspended-9eb2139a.cjs.dev.js} +4 -5
- package/dist/{project-suspended-dccadfd7.cjs.prod.js → project-suspended-defdb3bb.cjs.prod.js} +4 -5
- package/dist/{redirect-to-login-3e4a6434.cjs.prod.js → redirect-to-login-12f467b8.cjs.prod.js} +10 -13
- package/dist/{redirect-to-login-edbfacbc.esm.js → redirect-to-login-2944c890.esm.js} +10 -13
- package/dist/{redirect-to-login-66ea895a.cjs.dev.js → redirect-to-login-3bee13ba.cjs.dev.js} +10 -13
- package/dist/{redirect-to-logout-99db4db7.cjs.prod.js → redirect-to-logout-4c6e4cb5.cjs.prod.js} +6 -8
- package/dist/{redirect-to-logout-ba40d106.esm.js → redirect-to-logout-a6daf354.esm.js} +6 -8
- package/dist/{redirect-to-logout-ab0c374b.cjs.dev.js → redirect-to-logout-bb92fd28.cjs.dev.js} +6 -8
- package/dist/{redirector-c858d578.cjs.prod.js → redirector-0c72d0a4.cjs.prod.js} +3 -4
- package/dist/{redirector-0efdd994.cjs.dev.js → redirector-72ccfbc2.cjs.dev.js} +3 -4
- package/dist/{redirector-656c6ee7.esm.js → redirector-d856975f.esm.js} +3 -4
- package/dist/{requests-in-flight-loader-64a40481.esm.js → requests-in-flight-loader-32ab77e4.esm.js} +4 -5
- package/dist/{requests-in-flight-loader-df9d1de3.cjs.prod.js → requests-in-flight-loader-59388ad8.cjs.prod.js} +4 -5
- package/dist/{requests-in-flight-loader-878840c1.cjs.dev.js → requests-in-flight-loader-98a1e540.cjs.dev.js} +4 -5
- package/dist/{service-page-project-switcher-532df57f.cjs.prod.js → service-page-project-switcher-9405f62f.cjs.prod.js} +1 -1
- package/dist/{service-page-project-switcher-0f1c1d7f.cjs.dev.js → service-page-project-switcher-b9a7c9d6.cjs.dev.js} +1 -1
- package/dist/{service-page-project-switcher-aca41b09.esm.js → service-page-project-switcher-bb959b99.esm.js} +1 -1
- package/dist/{use-applications-menu-21c7420b.cjs.prod.js → use-applications-menu-8984efa1.cjs.prod.js} +39 -47
- package/dist/{use-applications-menu-8ff2d130.esm.js → use-applications-menu-bc2b9a66.esm.js} +37 -44
- package/dist/{use-applications-menu-7a85c3ee.cjs.dev.js → use-applications-menu-bd718ac8.cjs.dev.js} +39 -47
- package/dist/{user-settings-menu-2d3bfa75.cjs.prod.js → user-settings-menu-013f0041.cjs.prod.js} +22 -29
- package/dist/{user-settings-menu-31e6bb38.esm.js → user-settings-menu-16e8d020.esm.js} +22 -29
- package/dist/{user-settings-menu-c37b343f.cjs.dev.js → user-settings-menu-dc598434.cjs.dev.js} +22 -29
- package/package.json +18 -19
- package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.dev.js +1 -2
- package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.prod.js +1 -2
- package/ssr/dist/commercetools-frontend-application-shell-ssr.esm.js +1 -2
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.dev.js +22 -26
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.prod.js +22 -26
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.esm.js +17 -20
- package/dist/oidc-258fc018.cjs.prod.js +0 -115
- package/dist/oidc-35e8e62a.esm.js +0 -100
- package/dist/oidc-87d116c1.cjs.dev.js +0 -115
|
@@ -5,7 +5,7 @@ import jwtDecode from 'jwt-decode';
|
|
|
5
5
|
import { decode } from 'qss';
|
|
6
6
|
import { useHistory, useLocation } from 'react-router-dom';
|
|
7
7
|
import { oidcStorage } from '@commercetools-frontend/application-shell-connectors';
|
|
8
|
-
import { u as useRedirector } from './redirector-
|
|
8
|
+
import { u as useRedirector } from './redirector-d856975f.esm.js';
|
|
9
9
|
import _styled from '@emotion/styled/base';
|
|
10
10
|
import { themesOverrides, PublicPageLayout } from '@commercetools-frontend/application-components';
|
|
11
11
|
import FailedAuthenticationSVG from '@commercetools-frontend/assets/images/doors-closed.svg';
|
|
@@ -18,7 +18,7 @@ import { AngleLeftIcon } from '@commercetools-uikit/icons';
|
|
|
18
18
|
import { ContentNotification } from '@commercetools-uikit/notifications';
|
|
19
19
|
import Spacings from '@commercetools-uikit/spacings';
|
|
20
20
|
import Text from '@commercetools-uikit/text';
|
|
21
|
-
import { C as ConfigureIntlProvider } from './index-
|
|
21
|
+
import { C as ConfigureIntlProvider } from './index-c8c7dc44.esm.js';
|
|
22
22
|
import { jsx, jsxs } from '@emotion/react/jsx-runtime';
|
|
23
23
|
import '@babel/runtime-corejs3/core-js-stable/object/keys';
|
|
24
24
|
import '@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols';
|
|
@@ -30,7 +30,7 @@ import '@babel/runtime-corejs3/core-js-stable/object/define-properties';
|
|
|
30
30
|
import '@babel/runtime-corejs3/core-js-stable/object/define-property';
|
|
31
31
|
import '@babel/runtime-corejs3/helpers/defineProperty';
|
|
32
32
|
import './location-f21dbc25.esm.js';
|
|
33
|
-
import './index-
|
|
33
|
+
import './index-86039df7.esm.js';
|
|
34
34
|
import '@babel/runtime-corejs3/core-js-stable/instance/reduce';
|
|
35
35
|
import '@babel/runtime-corejs3/core-js-stable/object/entries';
|
|
36
36
|
import '@babel/runtime-corejs3/core-js-stable/instance/concat';
|
|
@@ -53,10 +53,9 @@ import 'redux-logger';
|
|
|
53
53
|
import '@babel/runtime-corejs3/core-js-stable/instance/find';
|
|
54
54
|
import '@babel/runtime-corejs3/core-js-stable/array/is-array';
|
|
55
55
|
import '@emotion/react';
|
|
56
|
-
import './oidc-
|
|
56
|
+
import './oidc-b2520905.esm.js';
|
|
57
57
|
import '@babel/runtime-corejs3/core-js-stable/instance/map';
|
|
58
58
|
import 'react-intl';
|
|
59
|
-
import '@babel/runtime-corejs3/helpers/taggedTemplateLiteral';
|
|
60
59
|
import '@babel/runtime-corejs3/helpers/objectWithoutProperties';
|
|
61
60
|
import 'memoize-one';
|
|
62
61
|
import 'react-select';
|
|
@@ -187,9 +186,8 @@ const OidcCallback = props => {
|
|
|
187
186
|
}
|
|
188
187
|
}
|
|
189
188
|
if (!errorMessage) {
|
|
190
|
-
|
|
191
|
-
const
|
|
192
|
-
const hasValidApplicationId = window.app.applicationId === (sessionState === null || sessionState === void 0 ? void 0 : sessionState.applicationId);
|
|
189
|
+
const hasValidSessionId = decodedSessionToken?.nonce === fragments.state;
|
|
190
|
+
const hasValidApplicationId = window.app.applicationId === sessionState?.applicationId;
|
|
193
191
|
if (!sessionState || !hasValidSessionId || !hasValidApplicationId) {
|
|
194
192
|
errorMessage = 'Invalid client session';
|
|
195
193
|
}
|
|
@@ -199,7 +197,7 @@ const OidcCallback = props => {
|
|
|
199
197
|
} else {
|
|
200
198
|
oidcStorage.setActiveSession(sessionToken);
|
|
201
199
|
oidcStorage.removeSessionState(fragments.state);
|
|
202
|
-
if (sessionState
|
|
200
|
+
if (sessionState?.query.redirectTo) {
|
|
203
201
|
try {
|
|
204
202
|
const redirectToUrl = new _URL(sessionState.query.redirectTo);
|
|
205
203
|
redirector({
|
|
@@ -207,7 +205,7 @@ const OidcCallback = props => {
|
|
|
207
205
|
});
|
|
208
206
|
return;
|
|
209
207
|
} catch (error) {
|
|
210
|
-
console.warn(
|
|
208
|
+
console.warn(`Invalid "redirectTo" URL`, sessionState.query.redirectTo);
|
|
211
209
|
// ignore
|
|
212
210
|
}
|
|
213
211
|
}
|
|
@@ -7,7 +7,7 @@ var jwtDecode = require('jwt-decode');
|
|
|
7
7
|
var qss = require('qss');
|
|
8
8
|
var reactRouterDom = require('react-router-dom');
|
|
9
9
|
var applicationShellConnectors = require('@commercetools-frontend/application-shell-connectors');
|
|
10
|
-
var redirector = require('./redirector-
|
|
10
|
+
var redirector = require('./redirector-0c72d0a4.cjs.prod.js');
|
|
11
11
|
var _styled = require('@emotion/styled/base');
|
|
12
12
|
var applicationComponents = require('@commercetools-frontend/application-components');
|
|
13
13
|
var FailedAuthenticationSVG = require('@commercetools-frontend/assets/images/doors-closed.svg');
|
|
@@ -20,7 +20,7 @@ var icons = require('@commercetools-uikit/icons');
|
|
|
20
20
|
var notifications = require('@commercetools-uikit/notifications');
|
|
21
21
|
var Spacings = require('@commercetools-uikit/spacings');
|
|
22
22
|
var Text = require('@commercetools-uikit/text');
|
|
23
|
-
var dist_commercetoolsFrontendApplicationShell = require('./index-
|
|
23
|
+
var dist_commercetoolsFrontendApplicationShell = require('./index-3ce8bcb0.cjs.prod.js');
|
|
24
24
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
25
25
|
require('@babel/runtime-corejs3/core-js-stable/object/keys');
|
|
26
26
|
require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
|
|
@@ -32,7 +32,7 @@ require('@babel/runtime-corejs3/core-js-stable/object/define-properties');
|
|
|
32
32
|
require('@babel/runtime-corejs3/core-js-stable/object/define-property');
|
|
33
33
|
require('@babel/runtime-corejs3/helpers/defineProperty');
|
|
34
34
|
require('./location-537e0660.cjs.prod.js');
|
|
35
|
-
require('./index-
|
|
35
|
+
require('./index-245e2980.cjs.prod.js');
|
|
36
36
|
require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
37
37
|
require('@babel/runtime-corejs3/core-js-stable/object/entries');
|
|
38
38
|
require('@babel/runtime-corejs3/core-js-stable/instance/concat');
|
|
@@ -55,10 +55,9 @@ require('redux-logger');
|
|
|
55
55
|
require('@babel/runtime-corejs3/core-js-stable/instance/find');
|
|
56
56
|
require('@babel/runtime-corejs3/core-js-stable/array/is-array');
|
|
57
57
|
require('@emotion/react');
|
|
58
|
-
require('./oidc-
|
|
58
|
+
require('./oidc-d74e6aa2.cjs.prod.js');
|
|
59
59
|
require('@babel/runtime-corejs3/core-js-stable/instance/map');
|
|
60
60
|
require('react-intl');
|
|
61
|
-
require('@babel/runtime-corejs3/helpers/taggedTemplateLiteral');
|
|
62
61
|
require('@babel/runtime-corejs3/helpers/objectWithoutProperties');
|
|
63
62
|
require('memoize-one');
|
|
64
63
|
require('react-select');
|
|
@@ -198,9 +197,8 @@ const OidcCallback = props => {
|
|
|
198
197
|
}
|
|
199
198
|
}
|
|
200
199
|
if (!errorMessage) {
|
|
201
|
-
|
|
202
|
-
const
|
|
203
|
-
const hasValidApplicationId = window.app.applicationId === (sessionState === null || sessionState === void 0 ? void 0 : sessionState.applicationId);
|
|
200
|
+
const hasValidSessionId = decodedSessionToken?.nonce === fragments.state;
|
|
201
|
+
const hasValidApplicationId = window.app.applicationId === sessionState?.applicationId;
|
|
204
202
|
if (!sessionState || !hasValidSessionId || !hasValidApplicationId) {
|
|
205
203
|
errorMessage = 'Invalid client session';
|
|
206
204
|
}
|
|
@@ -210,7 +208,7 @@ const OidcCallback = props => {
|
|
|
210
208
|
} else {
|
|
211
209
|
applicationShellConnectors.oidcStorage.setActiveSession(sessionToken);
|
|
212
210
|
applicationShellConnectors.oidcStorage.removeSessionState(fragments.state);
|
|
213
|
-
if (sessionState
|
|
211
|
+
if (sessionState?.query.redirectTo) {
|
|
214
212
|
try {
|
|
215
213
|
const redirectToUrl = new _URL__default["default"](sessionState.query.redirectTo);
|
|
216
214
|
redirector$1({
|
|
@@ -218,7 +216,7 @@ const OidcCallback = props => {
|
|
|
218
216
|
});
|
|
219
217
|
return;
|
|
220
218
|
} catch (error) {
|
|
221
|
-
console.warn(
|
|
219
|
+
console.warn(`Invalid "redirectTo" URL`, sessionState.query.redirectTo);
|
|
222
220
|
// ignore
|
|
223
221
|
}
|
|
224
222
|
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var _mapInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/map');
|
|
4
|
+
var _forEachInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/for-each');
|
|
5
|
+
|
|
6
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
7
|
+
|
|
8
|
+
var _mapInstanceProperty__default = /*#__PURE__*/_interopDefault(_mapInstanceProperty);
|
|
9
|
+
var _forEachInstanceProperty__default = /*#__PURE__*/_interopDefault(_forEachInstanceProperty);
|
|
10
|
+
|
|
11
|
+
const DIMENSIONS = {
|
|
12
|
+
header: '56px'
|
|
13
|
+
};
|
|
14
|
+
const NAVBAR = {
|
|
15
|
+
expanderHeight: '50px',
|
|
16
|
+
expanderSize: '40px',
|
|
17
|
+
iconSize: '24px',
|
|
18
|
+
iconSizeHover: '28px',
|
|
19
|
+
itemSize: '48px',
|
|
20
|
+
itemHeight: '56px',
|
|
21
|
+
sublistIndentationWhenCollapsed: '72px',
|
|
22
|
+
sublistIndentationWhenExpanded: '248px',
|
|
23
|
+
sublistItemMinHeight: '50px',
|
|
24
|
+
sublistWidth: '272px',
|
|
25
|
+
leftNavigationTransition: 'all 150ms cubic-bezier(1, 0, 0.58, 1)',
|
|
26
|
+
widthLeftNavigation: '80px',
|
|
27
|
+
widthLeftNavigationWhenExpanded: '256px'
|
|
28
|
+
};
|
|
29
|
+
const WINDOW_SIZES = {
|
|
30
|
+
STANDARD: 1024,
|
|
31
|
+
WIDE: 1200
|
|
32
|
+
};
|
|
33
|
+
const CONTAINERS = {
|
|
34
|
+
LOCALE_SWITCHER: 'locale-switcher-container',
|
|
35
|
+
LEFT_OF_PROFILE: 'left-of-profile'
|
|
36
|
+
};
|
|
37
|
+
const SUSPENSION_REASONS = {
|
|
38
|
+
TEMPORARY_MAINTENANCE: 'TemporaryMaintenance',
|
|
39
|
+
PAYMENT: 'Payment',
|
|
40
|
+
OTHER: 'Other'
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
// OIDC params
|
|
44
|
+
const OIDC_RESPONSE_TYPES = {
|
|
45
|
+
ID_TOKEN: 'id_token'
|
|
46
|
+
};
|
|
47
|
+
const OIDC_CLAIMS = {
|
|
48
|
+
OPEN_ID: 'openid',
|
|
49
|
+
PROJECT_KEY: 'project_key',
|
|
50
|
+
TEAM_ID: 'team_id',
|
|
51
|
+
APPLICATION_ID: 'application_id',
|
|
52
|
+
VIEW: 'view',
|
|
53
|
+
MANAGE: 'manage'
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
const buildOidcScope = options => {
|
|
57
|
+
var _context, _context2;
|
|
58
|
+
const claims = [];
|
|
59
|
+
|
|
60
|
+
// Set the projectKey
|
|
61
|
+
if (options.projectKey) {
|
|
62
|
+
claims.push(`${OIDC_CLAIMS.PROJECT_KEY}:${options.projectKey}`);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
// Set the OAuth Scopes
|
|
66
|
+
claims.push(..._mapInstanceProperty__default["default"](_context = options.oAuthScopes?.view ?? []).call(_context, scope => `${OIDC_CLAIMS.VIEW}:${scope}`));
|
|
67
|
+
claims.push(..._mapInstanceProperty__default["default"](_context2 = options.oAuthScopes?.manage ?? []).call(_context2, scope => `${OIDC_CLAIMS.MANAGE}:${scope}`));
|
|
68
|
+
// Set additional OAuth scopes
|
|
69
|
+
if (options?.additionalOAuthScopes) {
|
|
70
|
+
var _context3;
|
|
71
|
+
_forEachInstanceProperty__default["default"](_context3 = options.additionalOAuthScopes).call(_context3, additionalOAuthScope => {
|
|
72
|
+
var _context4, _context5;
|
|
73
|
+
claims.push(..._mapInstanceProperty__default["default"](_context4 = additionalOAuthScope.view ?? []).call(_context4, viewOAuthScope => `view/${additionalOAuthScope.name}:${viewOAuthScope}`), ..._mapInstanceProperty__default["default"](_context5 = additionalOAuthScope.manage ?? []).call(_context5, manageOAuthScope => `manage/${additionalOAuthScope.name}:${manageOAuthScope}`));
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
// Set the teamId and applicationId
|
|
78
|
+
if (options.teamId) {
|
|
79
|
+
claims.push(`${OIDC_CLAIMS.TEAM_ID}:${options.teamId}`);
|
|
80
|
+
if (options.applicationId) {
|
|
81
|
+
claims.push(`${OIDC_CLAIMS.APPLICATION_ID}:${options.applicationId}`);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return [
|
|
85
|
+
// This is required as per OIDC spec.
|
|
86
|
+
OIDC_CLAIMS.OPEN_ID,
|
|
87
|
+
// Custom claims
|
|
88
|
+
...claims].join(' ');
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
exports.CONTAINERS = CONTAINERS;
|
|
92
|
+
exports.DIMENSIONS = DIMENSIONS;
|
|
93
|
+
exports.NAVBAR = NAVBAR;
|
|
94
|
+
exports.OIDC_CLAIMS = OIDC_CLAIMS;
|
|
95
|
+
exports.OIDC_RESPONSE_TYPES = OIDC_RESPONSE_TYPES;
|
|
96
|
+
exports.SUSPENSION_REASONS = SUSPENSION_REASONS;
|
|
97
|
+
exports.WINDOW_SIZES = WINDOW_SIZES;
|
|
98
|
+
exports.buildOidcScope = buildOidcScope;
|
package/dist/{project-container-991a64a8.cjs.dev.js → project-container-1ee088eb.cjs.dev.js}
RENAMED
|
@@ -9,9 +9,9 @@ var reactRouterDom = require('react-router-dom');
|
|
|
9
9
|
var applicationShellConnectors = require('@commercetools-frontend/application-shell-connectors');
|
|
10
10
|
var constants = require('@commercetools-frontend/constants');
|
|
11
11
|
var reactNotifications = require('@commercetools-frontend/react-notifications');
|
|
12
|
-
var oidc = require('./oidc-
|
|
13
|
-
var applicationEntryPoint = require('./application-entry-point-
|
|
14
|
-
var dist_commercetoolsFrontendApplicationShell = require('./index-
|
|
12
|
+
var oidc = require('./oidc-8827f9fe.cjs.dev.js');
|
|
13
|
+
var applicationEntryPoint = require('./application-entry-point-c87294b0.cjs.dev.js');
|
|
14
|
+
var dist_commercetoolsFrontendApplicationShell = require('./index-2b8a5370.cjs.dev.js');
|
|
15
15
|
var _Object$keys = require('@babel/runtime-corejs3/core-js-stable/object/keys');
|
|
16
16
|
var _Object$getOwnPropertySymbols = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
|
|
17
17
|
var _filterInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/filter');
|
|
@@ -34,13 +34,13 @@ var Spacings = require('@commercetools-uikit/spacings');
|
|
|
34
34
|
var Text = require('@commercetools-uikit/text');
|
|
35
35
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
36
36
|
var _includesInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/includes');
|
|
37
|
-
require('@babel/runtime-corejs3/core-js-stable/instance/concat');
|
|
38
37
|
require('tiny-invariant');
|
|
39
38
|
require('@commercetools-frontend/application-config/ssr');
|
|
40
39
|
require('@commercetools-frontend/permissions');
|
|
41
|
-
require('./index-
|
|
40
|
+
require('./index-614accc4.cjs.dev.js');
|
|
42
41
|
require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
43
42
|
require('@babel/runtime-corejs3/core-js-stable/object/entries');
|
|
43
|
+
require('@babel/runtime-corejs3/core-js-stable/instance/concat');
|
|
44
44
|
require('@babel/runtime-corejs3/core-js-stable/reflect/has');
|
|
45
45
|
require('@reduxjs/toolkit');
|
|
46
46
|
require('lodash/mapValues');
|
|
@@ -62,7 +62,6 @@ require('@commercetools-frontend/i18n');
|
|
|
62
62
|
require('@babel/runtime-corejs3/core-js-stable/url');
|
|
63
63
|
require('@commercetools-uikit/flat-button');
|
|
64
64
|
require('./location-c835b8df.cjs.dev.js');
|
|
65
|
-
require('@babel/runtime-corejs3/helpers/taggedTemplateLiteral');
|
|
66
65
|
require('memoize-one');
|
|
67
66
|
require('@commercetools-frontend/assets/images/ct-logo.svg');
|
|
68
67
|
require('@commercetools-uikit/loading-spinner');
|
|
@@ -270,13 +269,13 @@ const ProjectDataLocale = props => {
|
|
|
270
269
|
};
|
|
271
270
|
ProjectDataLocale.displayName = 'ProjectDataLocale';
|
|
272
271
|
|
|
273
|
-
const ProjectExpired = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./project-expired-
|
|
272
|
+
const ProjectExpired = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./project-expired-cd366d1f.cjs.dev.js' /* webpackChunkName: "project-expired" */); }));
|
|
274
273
|
|
|
275
|
-
const ProjectNotFound = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./project-not-found-
|
|
274
|
+
const ProjectNotFound = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./project-not-found-e7381918.cjs.dev.js' /* webpackChunkName: "project-not-found" */); }));
|
|
276
275
|
|
|
277
|
-
const ProjectNotInitialized = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./project-not-initialized-
|
|
276
|
+
const ProjectNotInitialized = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./project-not-initialized-9e5f45ed.cjs.dev.js' /* webpackChunkName: "project-not-initialized" */); }));
|
|
278
277
|
|
|
279
|
-
const ProjectSuspended = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./project-suspended-
|
|
278
|
+
const ProjectSuspended = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./project-suspended-9eb2139a.cjs.dev.js' /* webpackChunkName: "project-suspended" */); }));
|
|
280
279
|
|
|
281
280
|
var messages = reactIntl.defineMessages({
|
|
282
281
|
trialDaysLeft: {
|
|
@@ -327,11 +326,10 @@ const ProjectContainer = props => {
|
|
|
327
326
|
}, [projectKey]);
|
|
328
327
|
const hasNoProjects = props.user && props.user.projects.results.length === 0;
|
|
329
328
|
if (hasNoProjects) {
|
|
330
|
-
var _props$render;
|
|
331
329
|
return jsxRuntime.jsxs(reactRouterDom.Switch, {
|
|
332
330
|
children: [jsxRuntime.jsx(reactRouterDom.Route, {
|
|
333
331
|
path: "/account",
|
|
334
|
-
children:
|
|
332
|
+
children: props.render?.()
|
|
335
333
|
}), jsxRuntime.jsx(reactRouterDom.Route, {
|
|
336
334
|
children: jsxRuntime.jsx(dist_commercetoolsFrontendApplicationShell.RedirectToProjectCreate, {})
|
|
337
335
|
})]
|
|
@@ -368,7 +366,6 @@ const ProjectContainer = props => {
|
|
|
368
366
|
return jsxRuntime.jsx(ProjectDataLocale, {
|
|
369
367
|
locales: project.languages,
|
|
370
368
|
children: _ref2 => {
|
|
371
|
-
var _project$expiry$daysL;
|
|
372
369
|
let locale = _ref2.locale,
|
|
373
370
|
setProjectDataLocale = _ref2.setProjectDataLocale;
|
|
374
371
|
return jsxRuntime.jsx(applicationShellConnectors.ApplicationContextProvider, {
|
|
@@ -377,7 +374,7 @@ const ProjectContainer = props => {
|
|
|
377
374
|
projectDataLocale: locale,
|
|
378
375
|
environment: props.environment,
|
|
379
376
|
children: jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
380
|
-
children: [shouldShowNotificationForTrialExpired(
|
|
377
|
+
children: [shouldShowNotificationForTrialExpired(project.expiry.daysLeft ?? undefined) && jsxRuntime.jsx(reactNotifications.Notifier, {
|
|
381
378
|
kind: "warning",
|
|
382
379
|
domain: constants.DOMAINS.GLOBAL,
|
|
383
380
|
text: intl.formatMessage(messages.trialDaysLeft, {
|
package/dist/{project-container-2f98a9d6.cjs.prod.js → project-container-64823e34.cjs.prod.js}
RENAMED
|
@@ -9,9 +9,9 @@ var reactRouterDom = require('react-router-dom');
|
|
|
9
9
|
var applicationShellConnectors = require('@commercetools-frontend/application-shell-connectors');
|
|
10
10
|
var constants = require('@commercetools-frontend/constants');
|
|
11
11
|
var reactNotifications = require('@commercetools-frontend/react-notifications');
|
|
12
|
-
var oidc = require('./oidc-
|
|
13
|
-
var applicationEntryPoint = require('./application-entry-point-
|
|
14
|
-
var dist_commercetoolsFrontendApplicationShell = require('./index-
|
|
12
|
+
var oidc = require('./oidc-d74e6aa2.cjs.prod.js');
|
|
13
|
+
var applicationEntryPoint = require('./application-entry-point-8c4b8e53.cjs.prod.js');
|
|
14
|
+
var dist_commercetoolsFrontendApplicationShell = require('./index-3ce8bcb0.cjs.prod.js');
|
|
15
15
|
var _Object$keys = require('@babel/runtime-corejs3/core-js-stable/object/keys');
|
|
16
16
|
var _Object$getOwnPropertySymbols = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
|
|
17
17
|
var _filterInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/filter');
|
|
@@ -34,13 +34,13 @@ var Spacings = require('@commercetools-uikit/spacings');
|
|
|
34
34
|
var Text = require('@commercetools-uikit/text');
|
|
35
35
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
36
36
|
var _includesInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/includes');
|
|
37
|
-
require('@babel/runtime-corejs3/core-js-stable/instance/concat');
|
|
38
37
|
require('tiny-invariant');
|
|
39
38
|
require('@commercetools-frontend/application-config/ssr');
|
|
40
39
|
require('@commercetools-frontend/permissions');
|
|
41
|
-
require('./index-
|
|
40
|
+
require('./index-245e2980.cjs.prod.js');
|
|
42
41
|
require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
43
42
|
require('@babel/runtime-corejs3/core-js-stable/object/entries');
|
|
43
|
+
require('@babel/runtime-corejs3/core-js-stable/instance/concat');
|
|
44
44
|
require('@babel/runtime-corejs3/core-js-stable/reflect/has');
|
|
45
45
|
require('@reduxjs/toolkit');
|
|
46
46
|
require('lodash/mapValues');
|
|
@@ -62,7 +62,6 @@ require('@commercetools-frontend/i18n');
|
|
|
62
62
|
require('@babel/runtime-corejs3/core-js-stable/url');
|
|
63
63
|
require('@commercetools-uikit/flat-button');
|
|
64
64
|
require('./location-537e0660.cjs.prod.js');
|
|
65
|
-
require('@babel/runtime-corejs3/helpers/taggedTemplateLiteral');
|
|
66
65
|
require('memoize-one');
|
|
67
66
|
require('@commercetools-frontend/assets/images/ct-logo.svg');
|
|
68
67
|
require('@commercetools-uikit/loading-spinner');
|
|
@@ -270,13 +269,13 @@ const ProjectDataLocale = props => {
|
|
|
270
269
|
};
|
|
271
270
|
ProjectDataLocale.displayName = 'ProjectDataLocale';
|
|
272
271
|
|
|
273
|
-
const ProjectExpired = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./project-expired-
|
|
272
|
+
const ProjectExpired = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./project-expired-b3656692.cjs.prod.js' /* webpackChunkName: "project-expired" */); }));
|
|
274
273
|
|
|
275
|
-
const ProjectNotFound = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./project-not-found-
|
|
274
|
+
const ProjectNotFound = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./project-not-found-278f33b4.cjs.prod.js' /* webpackChunkName: "project-not-found" */); }));
|
|
276
275
|
|
|
277
|
-
const ProjectNotInitialized = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./project-not-initialized-
|
|
276
|
+
const ProjectNotInitialized = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./project-not-initialized-df5f697e.cjs.prod.js' /* webpackChunkName: "project-not-initialized" */); }));
|
|
278
277
|
|
|
279
|
-
const ProjectSuspended = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./project-suspended-
|
|
278
|
+
const ProjectSuspended = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./project-suspended-defdb3bb.cjs.prod.js' /* webpackChunkName: "project-suspended" */); }));
|
|
280
279
|
|
|
281
280
|
var messages = reactIntl.defineMessages({
|
|
282
281
|
trialDaysLeft: {
|
|
@@ -327,11 +326,10 @@ const ProjectContainer = props => {
|
|
|
327
326
|
}, [projectKey]);
|
|
328
327
|
const hasNoProjects = props.user && props.user.projects.results.length === 0;
|
|
329
328
|
if (hasNoProjects) {
|
|
330
|
-
var _props$render;
|
|
331
329
|
return jsxRuntime.jsxs(reactRouterDom.Switch, {
|
|
332
330
|
children: [jsxRuntime.jsx(reactRouterDom.Route, {
|
|
333
331
|
path: "/account",
|
|
334
|
-
children:
|
|
332
|
+
children: props.render?.()
|
|
335
333
|
}), jsxRuntime.jsx(reactRouterDom.Route, {
|
|
336
334
|
children: jsxRuntime.jsx(dist_commercetoolsFrontendApplicationShell.RedirectToProjectCreate, {})
|
|
337
335
|
})]
|
|
@@ -368,7 +366,6 @@ const ProjectContainer = props => {
|
|
|
368
366
|
return jsxRuntime.jsx(ProjectDataLocale, {
|
|
369
367
|
locales: project.languages,
|
|
370
368
|
children: _ref2 => {
|
|
371
|
-
var _project$expiry$daysL;
|
|
372
369
|
let locale = _ref2.locale,
|
|
373
370
|
setProjectDataLocale = _ref2.setProjectDataLocale;
|
|
374
371
|
return jsxRuntime.jsx(applicationShellConnectors.ApplicationContextProvider, {
|
|
@@ -377,7 +374,7 @@ const ProjectContainer = props => {
|
|
|
377
374
|
projectDataLocale: locale,
|
|
378
375
|
environment: props.environment,
|
|
379
376
|
children: jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
380
|
-
children: [shouldShowNotificationForTrialExpired(
|
|
377
|
+
children: [shouldShowNotificationForTrialExpired(project.expiry.daysLeft ?? undefined) && jsxRuntime.jsx(reactNotifications.Notifier, {
|
|
381
378
|
kind: "warning",
|
|
382
379
|
domain: constants.DOMAINS.GLOBAL,
|
|
383
380
|
text: intl.formatMessage(messages.trialDaysLeft, {
|
|
@@ -7,9 +7,9 @@ import { useLocation, useRouteMatch, Switch, Route } from 'react-router-dom';
|
|
|
7
7
|
import { ApplicationContextProvider } from '@commercetools-frontend/application-shell-connectors';
|
|
8
8
|
import { STORAGE_KEYS, DOMAINS } from '@commercetools-frontend/constants';
|
|
9
9
|
import { Notifier } from '@commercetools-frontend/react-notifications';
|
|
10
|
-
import { C as CONTAINERS, S as SUSPENSION_REASONS } from './oidc-
|
|
11
|
-
import { A as ApplicationEntryPoint } from './application-entry-point-
|
|
12
|
-
import { a as RedirectToProjectCreate, E as ErrorBoundary, b as ApplicationLoader, F as FetchProject } from './index-
|
|
10
|
+
import { C as CONTAINERS, S as SUSPENSION_REASONS } from './oidc-b2520905.esm.js';
|
|
11
|
+
import { A as ApplicationEntryPoint } from './application-entry-point-10a5e1a5.esm.js';
|
|
12
|
+
import { a as RedirectToProjectCreate, E as ErrorBoundary, b as ApplicationLoader, F as FetchProject } from './index-c8c7dc44.esm.js';
|
|
13
13
|
import _Object$keys from '@babel/runtime-corejs3/core-js-stable/object/keys';
|
|
14
14
|
import _Object$getOwnPropertySymbols from '@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols';
|
|
15
15
|
import _filterInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/filter';
|
|
@@ -32,13 +32,13 @@ import Spacings from '@commercetools-uikit/spacings';
|
|
|
32
32
|
import Text from '@commercetools-uikit/text';
|
|
33
33
|
import { jsx, jsxs, Fragment } from '@emotion/react/jsx-runtime';
|
|
34
34
|
import _includesInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/includes';
|
|
35
|
-
import '@babel/runtime-corejs3/core-js-stable/instance/concat';
|
|
36
35
|
import 'tiny-invariant';
|
|
37
36
|
import '@commercetools-frontend/application-config/ssr';
|
|
38
37
|
import '@commercetools-frontend/permissions';
|
|
39
|
-
import './index-
|
|
38
|
+
import './index-86039df7.esm.js';
|
|
40
39
|
import '@babel/runtime-corejs3/core-js-stable/instance/reduce';
|
|
41
40
|
import '@babel/runtime-corejs3/core-js-stable/object/entries';
|
|
41
|
+
import '@babel/runtime-corejs3/core-js-stable/instance/concat';
|
|
42
42
|
import '@babel/runtime-corejs3/core-js-stable/reflect/has';
|
|
43
43
|
import '@reduxjs/toolkit';
|
|
44
44
|
import 'lodash/mapValues';
|
|
@@ -60,7 +60,6 @@ import '@commercetools-frontend/i18n';
|
|
|
60
60
|
import '@babel/runtime-corejs3/core-js-stable/url';
|
|
61
61
|
import '@commercetools-uikit/flat-button';
|
|
62
62
|
import './location-f21dbc25.esm.js';
|
|
63
|
-
import '@babel/runtime-corejs3/helpers/taggedTemplateLiteral';
|
|
64
63
|
import 'memoize-one';
|
|
65
64
|
import '@commercetools-frontend/assets/images/ct-logo.svg';
|
|
66
65
|
import '@commercetools-uikit/loading-spinner';
|
|
@@ -248,13 +247,13 @@ const ProjectDataLocale = props => {
|
|
|
248
247
|
};
|
|
249
248
|
ProjectDataLocale.displayName = 'ProjectDataLocale';
|
|
250
249
|
|
|
251
|
-
const ProjectExpired = /*#__PURE__*/lazy(() => import('./project-expired-
|
|
250
|
+
const ProjectExpired = /*#__PURE__*/lazy(() => import('./project-expired-c5239755.esm.js' /* webpackChunkName: "project-expired" */));
|
|
252
251
|
|
|
253
|
-
const ProjectNotFound = /*#__PURE__*/lazy(() => import('./project-not-found-
|
|
252
|
+
const ProjectNotFound = /*#__PURE__*/lazy(() => import('./project-not-found-329638a6.esm.js' /* webpackChunkName: "project-not-found" */));
|
|
254
253
|
|
|
255
|
-
const ProjectNotInitialized = /*#__PURE__*/lazy(() => import('./project-not-initialized-
|
|
254
|
+
const ProjectNotInitialized = /*#__PURE__*/lazy(() => import('./project-not-initialized-80b21ac8.esm.js' /* webpackChunkName: "project-not-initialized" */));
|
|
256
255
|
|
|
257
|
-
const ProjectSuspended = /*#__PURE__*/lazy(() => import('./project-suspended-
|
|
256
|
+
const ProjectSuspended = /*#__PURE__*/lazy(() => import('./project-suspended-41550cb8.esm.js' /* webpackChunkName: "project-suspended" */));
|
|
258
257
|
|
|
259
258
|
var messages = defineMessages({
|
|
260
259
|
trialDaysLeft: {
|
|
@@ -305,11 +304,10 @@ const ProjectContainer = props => {
|
|
|
305
304
|
}, [projectKey]);
|
|
306
305
|
const hasNoProjects = props.user && props.user.projects.results.length === 0;
|
|
307
306
|
if (hasNoProjects) {
|
|
308
|
-
var _props$render;
|
|
309
307
|
return jsxs(Switch, {
|
|
310
308
|
children: [jsx(Route, {
|
|
311
309
|
path: "/account",
|
|
312
|
-
children:
|
|
310
|
+
children: props.render?.()
|
|
313
311
|
}), jsx(Route, {
|
|
314
312
|
children: jsx(RedirectToProjectCreate, {})
|
|
315
313
|
})]
|
|
@@ -346,7 +344,6 @@ const ProjectContainer = props => {
|
|
|
346
344
|
return jsx(ProjectDataLocale, {
|
|
347
345
|
locales: project.languages,
|
|
348
346
|
children: _ref2 => {
|
|
349
|
-
var _project$expiry$daysL;
|
|
350
347
|
let locale = _ref2.locale,
|
|
351
348
|
setProjectDataLocale = _ref2.setProjectDataLocale;
|
|
352
349
|
return jsx(ApplicationContextProvider, {
|
|
@@ -355,7 +352,7 @@ const ProjectContainer = props => {
|
|
|
355
352
|
projectDataLocale: locale,
|
|
356
353
|
environment: props.environment,
|
|
357
354
|
children: jsxs(Fragment, {
|
|
358
|
-
children: [shouldShowNotificationForTrialExpired(
|
|
355
|
+
children: [shouldShowNotificationForTrialExpired(project.expiry.daysLeft ?? undefined) && jsx(Notifier, {
|
|
359
356
|
kind: "warning",
|
|
360
357
|
domain: DOMAINS.GLOBAL,
|
|
361
358
|
text: intl.formatMessage(messages.trialDaysLeft, {
|
|
@@ -12,14 +12,14 @@ var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
|
|
|
12
12
|
var reactIntl = require('react-intl');
|
|
13
13
|
var applicationComponents = require('@commercetools-frontend/application-components');
|
|
14
14
|
var ProjectExpiredIllustration = require('@commercetools-frontend/assets/images/hourglass.svg');
|
|
15
|
-
var servicePageProjectSwitcher = require('./service-page-project-switcher-
|
|
15
|
+
var servicePageProjectSwitcher = require('./service-page-project-switcher-9405f62f.cjs.prod.js');
|
|
16
16
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
17
17
|
require('@emotion/styled/base');
|
|
18
18
|
require('react-router-dom');
|
|
19
19
|
require('@commercetools-frontend/application-shell-connectors');
|
|
20
|
-
require('./index-
|
|
20
|
+
require('./index-3ce8bcb0.cjs.prod.js');
|
|
21
21
|
require('react');
|
|
22
|
-
require('./index-
|
|
22
|
+
require('./index-245e2980.cjs.prod.js');
|
|
23
23
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
24
24
|
require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
25
25
|
require('@babel/runtime-corejs3/core-js-stable/object/entries');
|
|
@@ -44,7 +44,7 @@ require('@babel/runtime-corejs3/core-js-stable/instance/find');
|
|
|
44
44
|
require('@babel/runtime-corejs3/core-js-stable/array/is-array');
|
|
45
45
|
require('@emotion/react');
|
|
46
46
|
require('@commercetools-frontend/i18n');
|
|
47
|
-
require('./oidc-
|
|
47
|
+
require('./oidc-d74e6aa2.cjs.prod.js');
|
|
48
48
|
require('@babel/runtime-corejs3/core-js-stable/instance/map');
|
|
49
49
|
require('@babel/runtime-corejs3/core-js-stable/url');
|
|
50
50
|
require('@commercetools-uikit/design-system');
|
|
@@ -52,7 +52,6 @@ require('@commercetools-uikit/spacings');
|
|
|
52
52
|
require('@commercetools-uikit/flat-button');
|
|
53
53
|
require('@commercetools-uikit/icons');
|
|
54
54
|
require('./location-537e0660.cjs.prod.js');
|
|
55
|
-
require('@babel/runtime-corejs3/helpers/taggedTemplateLiteral');
|
|
56
55
|
require('@babel/runtime-corejs3/helpers/objectWithoutProperties');
|
|
57
56
|
require('memoize-one');
|
|
58
57
|
require('react-select');
|
|
@@ -113,7 +112,7 @@ function ownKeys(e, r) { var t = _Object$keys__default["default"](e); if (_Objec
|
|
|
113
112
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context = ownKeys(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context2 = ownKeys(Object(t))).call(_context2, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
|
|
114
113
|
const salesEmail = 'sales@commercetools.com';
|
|
115
114
|
const EmailLink = props => jsxRuntime.jsx("a", {
|
|
116
|
-
href:
|
|
115
|
+
href: `mailto:${props.email}`,
|
|
117
116
|
children: props.email
|
|
118
117
|
});
|
|
119
118
|
EmailLink.displayName = 'EmailLink';
|
|
@@ -10,14 +10,14 @@ import _defineProperty from '@babel/runtime-corejs3/helpers/esm/defineProperty';
|
|
|
10
10
|
import { defineMessages, useIntl, FormattedMessage } from 'react-intl';
|
|
11
11
|
import { MaintenancePageLayout } from '@commercetools-frontend/application-components';
|
|
12
12
|
import ProjectExpiredIllustration from '@commercetools-frontend/assets/images/hourglass.svg';
|
|
13
|
-
import { S as ServicePageProjectSwitcher } from './service-page-project-switcher-
|
|
13
|
+
import { S as ServicePageProjectSwitcher } from './service-page-project-switcher-bb959b99.esm.js';
|
|
14
14
|
import { jsx } from '@emotion/react/jsx-runtime';
|
|
15
15
|
import '@emotion/styled/base';
|
|
16
16
|
import 'react-router-dom';
|
|
17
17
|
import '@commercetools-frontend/application-shell-connectors';
|
|
18
|
-
import './index-
|
|
18
|
+
import './index-c8c7dc44.esm.js';
|
|
19
19
|
import 'react';
|
|
20
|
-
import './index-
|
|
20
|
+
import './index-86039df7.esm.js';
|
|
21
21
|
import '@babel/runtime-corejs3/helpers/slicedToArray';
|
|
22
22
|
import '@babel/runtime-corejs3/core-js-stable/instance/reduce';
|
|
23
23
|
import '@babel/runtime-corejs3/core-js-stable/object/entries';
|
|
@@ -42,7 +42,7 @@ import '@babel/runtime-corejs3/core-js-stable/instance/find';
|
|
|
42
42
|
import '@babel/runtime-corejs3/core-js-stable/array/is-array';
|
|
43
43
|
import '@emotion/react';
|
|
44
44
|
import '@commercetools-frontend/i18n';
|
|
45
|
-
import './oidc-
|
|
45
|
+
import './oidc-b2520905.esm.js';
|
|
46
46
|
import '@babel/runtime-corejs3/core-js-stable/instance/map';
|
|
47
47
|
import '@babel/runtime-corejs3/core-js-stable/url';
|
|
48
48
|
import '@commercetools-uikit/design-system';
|
|
@@ -50,7 +50,6 @@ import '@commercetools-uikit/spacings';
|
|
|
50
50
|
import '@commercetools-uikit/flat-button';
|
|
51
51
|
import '@commercetools-uikit/icons';
|
|
52
52
|
import './location-f21dbc25.esm.js';
|
|
53
|
-
import '@babel/runtime-corejs3/helpers/taggedTemplateLiteral';
|
|
54
53
|
import '@babel/runtime-corejs3/helpers/objectWithoutProperties';
|
|
55
54
|
import 'memoize-one';
|
|
56
55
|
import 'react-select';
|
|
@@ -99,7 +98,7 @@ function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymb
|
|
|
99
98
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
100
99
|
const salesEmail = 'sales@commercetools.com';
|
|
101
100
|
const EmailLink = props => jsx("a", {
|
|
102
|
-
href:
|
|
101
|
+
href: `mailto:${props.email}`,
|
|
103
102
|
children: props.email
|
|
104
103
|
});
|
|
105
104
|
EmailLink.displayName = 'EmailLink';
|
|
@@ -12,14 +12,14 @@ var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
|
|
|
12
12
|
var reactIntl = require('react-intl');
|
|
13
13
|
var applicationComponents = require('@commercetools-frontend/application-components');
|
|
14
14
|
var ProjectExpiredIllustration = require('@commercetools-frontend/assets/images/hourglass.svg');
|
|
15
|
-
var servicePageProjectSwitcher = require('./service-page-project-switcher-
|
|
15
|
+
var servicePageProjectSwitcher = require('./service-page-project-switcher-b9a7c9d6.cjs.dev.js');
|
|
16
16
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
17
17
|
require('@emotion/styled/base');
|
|
18
18
|
require('react-router-dom');
|
|
19
19
|
require('@commercetools-frontend/application-shell-connectors');
|
|
20
|
-
require('./index-
|
|
20
|
+
require('./index-2b8a5370.cjs.dev.js');
|
|
21
21
|
require('react');
|
|
22
|
-
require('./index-
|
|
22
|
+
require('./index-614accc4.cjs.dev.js');
|
|
23
23
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
24
24
|
require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
25
25
|
require('@babel/runtime-corejs3/core-js-stable/object/entries');
|
|
@@ -44,7 +44,7 @@ require('@babel/runtime-corejs3/core-js-stable/instance/find');
|
|
|
44
44
|
require('@babel/runtime-corejs3/core-js-stable/array/is-array');
|
|
45
45
|
require('@emotion/react');
|
|
46
46
|
require('@commercetools-frontend/i18n');
|
|
47
|
-
require('./oidc-
|
|
47
|
+
require('./oidc-8827f9fe.cjs.dev.js');
|
|
48
48
|
require('@babel/runtime-corejs3/core-js-stable/instance/map');
|
|
49
49
|
require('@babel/runtime-corejs3/core-js-stable/url');
|
|
50
50
|
require('@commercetools-uikit/design-system');
|
|
@@ -52,7 +52,6 @@ require('@commercetools-uikit/spacings');
|
|
|
52
52
|
require('@commercetools-uikit/flat-button');
|
|
53
53
|
require('@commercetools-uikit/icons');
|
|
54
54
|
require('./location-c835b8df.cjs.dev.js');
|
|
55
|
-
require('@babel/runtime-corejs3/helpers/taggedTemplateLiteral');
|
|
56
55
|
require('@babel/runtime-corejs3/helpers/objectWithoutProperties');
|
|
57
56
|
require('memoize-one');
|
|
58
57
|
require('react-select');
|
|
@@ -113,7 +112,7 @@ function ownKeys(e, r) { var t = _Object$keys__default["default"](e); if (_Objec
|
|
|
113
112
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context = ownKeys(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context2 = ownKeys(Object(t))).call(_context2, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
|
|
114
113
|
const salesEmail = 'sales@commercetools.com';
|
|
115
114
|
const EmailLink = props => jsxRuntime.jsx("a", {
|
|
116
|
-
href:
|
|
115
|
+
href: `mailto:${props.email}`,
|
|
117
116
|
children: props.email
|
|
118
117
|
});
|
|
119
118
|
EmailLink.displayName = 'EmailLink';
|