@commercetools-frontend/application-shell 20.12.2 → 20.12.3
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-961cacf8.cjs.prod.js → application-entry-point-32ba21e8.cjs.prod.js} +26 -74
- package/dist/{application-entry-point-cde26c8c.cjs.dev.js → application-entry-point-ca79642e.cjs.dev.js} +26 -74
- package/dist/{application-entry-point-cfaa3874.esm.js → application-entry-point-caba3fcf.esm.js} +5 -48
- package/dist/commercetools-frontend-application-shell.cjs.dev.js +8 -3
- package/dist/commercetools-frontend-application-shell.cjs.prod.js +8 -3
- package/dist/commercetools-frontend-application-shell.esm.js +6 -3
- package/dist/constants-33a16227.esm.js +46 -0
- package/dist/constants-745aeeca.cjs.prod.js +54 -0
- package/dist/constants-fdbe0e9d.cjs.dev.js +54 -0
- package/dist/declarations/src/components/locale-switcher/locale-switcher.d.ts +3 -4
- package/dist/declarations/src/index.d.ts +1 -1
- package/dist/declarations/src/ssr/index.d.ts +2 -0
- package/dist/declarations/src/utils/formatters.d.ts +8 -0
- package/dist/declarations/src/utils/index.d.ts +1 -0
- package/dist/declarations/src/{components/authenticated/helpers.d.ts → utils/oidc.d.ts} +0 -0
- package/dist/{index-e8564a47.cjs.prod.js → index-0428cf83.cjs.prod.js} +53 -83
- package/dist/{index-e45779cf.cjs.dev.js → index-1a8b5b91.cjs.dev.js} +57 -87
- package/dist/{index-0b3f8556.esm.js → index-dd13496f.esm.js} +15 -45
- package/dist/oidc-7e7761de.cjs.dev.js +94 -0
- package/dist/oidc-8e05c00e.esm.js +84 -0
- package/dist/oidc-be09bd90.cjs.prod.js +94 -0
- package/dist/{project-expired-dcb82d36.cjs.dev.js → project-expired-1c83f3b0.cjs.dev.js} +7 -4
- package/dist/{project-expired-68ca2579.esm.js → project-expired-633f1944.esm.js} +7 -4
- package/dist/{project-expired-e16b9b05.cjs.prod.js → project-expired-da4386e2.cjs.prod.js} +7 -4
- package/dist/{project-not-found-d5f8ebbb.esm.js → project-not-found-ba7eb62f.esm.js} +7 -4
- package/dist/{project-not-found-26f56aed.cjs.dev.js → project-not-found-d28a8381.cjs.prod.js} +7 -4
- package/dist/{project-not-found-c7b32516.cjs.prod.js → project-not-found-fa0d0fed.cjs.dev.js} +7 -4
- package/dist/{project-not-initialized-ea0be167.cjs.prod.js → project-not-initialized-3bb6a35a.cjs.prod.js} +7 -4
- package/dist/{project-not-initialized-9bc69b1f.cjs.dev.js → project-not-initialized-75d542c8.cjs.dev.js} +7 -4
- package/dist/{project-not-initialized-473a61e8.esm.js → project-not-initialized-b5aa1292.esm.js} +7 -4
- package/dist/{project-suspended-8f98e2d7.esm.js → project-suspended-a7b9d722.esm.js} +7 -4
- package/dist/{project-suspended-c2fca68f.cjs.prod.js → project-suspended-d498f169.cjs.prod.js} +7 -4
- package/dist/{project-suspended-b46cf02d.cjs.dev.js → project-suspended-ed1a8044.cjs.dev.js} +7 -4
- package/dist/{quick-access-89a8fc45.cjs.prod.js → quick-access-5133c280.cjs.prod.js} +5 -2
- package/dist/{quick-access-b2bb3019.cjs.dev.js → quick-access-53014796.cjs.dev.js} +5 -2
- package/dist/{quick-access-f735e1dd.esm.js → quick-access-612dc2d7.esm.js} +5 -2
- package/dist/{service-page-project-switcher-23ea0c1e.cjs.prod.js → service-page-project-switcher-08c6c7d5.cjs.prod.js} +1 -1
- package/dist/{service-page-project-switcher-272fcaa0.esm.js → service-page-project-switcher-4893264d.esm.js} +1 -1
- package/dist/{service-page-project-switcher-5ff429b8.cjs.dev.js → service-page-project-switcher-dfbbe4c1.cjs.dev.js} +1 -1
- package/package.json +49 -43
- package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.d.ts +1 -0
- package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.dev.js +16 -0
- package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.js +7 -0
- package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.prod.js +16 -0
- package/ssr/dist/commercetools-frontend-application-shell-ssr.esm.js +6 -0
- package/ssr/package.json +4 -0
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.dev.js +3 -1
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.prod.js +3 -1
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.esm.js +3 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { g as getMcApiUrl, l as logger, a as getActiveProjectKey, r as removeActiveProjectKey, s as setActiveProjectKey, b as getSessionScope, c as location, d as getSessionState, e as setActiveSession, f as createApolloClient, i as internalReduxStore, h as setCachedApolloClient, v as version, R as REQUESTS_IN_FLIGHT_LOADER_DOM_ID, u as useIsServedByProxy, A as ApplicationEntryPoint, j as setSessionScope, k as setSessionState, m as clearSession, n as selectProjectKeyFromUrl, o as RequestsInFlightLoader, p as RouteCatchAll } from './application-entry-point-caba3fcf.esm.js';
|
|
2
2
|
import _defineProperty from '@babel/runtime-corejs3/helpers/esm/defineProperty';
|
|
3
3
|
import _styled from '@emotion/styled/base';
|
|
4
4
|
import _pt from 'prop-types';
|
|
@@ -23,8 +23,11 @@ import { PublicPageLayout, MaintenancePageLayout, PortalsContainer } from '@comm
|
|
|
23
23
|
import { Notifier, NotificationsList } from '@commercetools-frontend/react-notifications';
|
|
24
24
|
import { AsyncLocaleData } from '@commercetools-frontend/i18n';
|
|
25
25
|
import { v4 } from 'uuid';
|
|
26
|
+
import { S as STORAGE_KEYS, O as OIDC_CLAIMS, C as CONTAINERS, a as SUSPENSION_REASONS, b as OIDC_RESPONSE_TYPES } from './constants-33a16227.esm.js';
|
|
26
27
|
import _URL from '@babel/runtime-corejs3/core-js-stable/url';
|
|
27
28
|
import _concatInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/concat';
|
|
29
|
+
import _mapInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/map';
|
|
30
|
+
import 'lodash/upperFirst';
|
|
28
31
|
import _slicedToArray from '@babel/runtime-corejs3/helpers/esm/slicedToArray';
|
|
29
32
|
import { jsx, Fragment, jsxs } from '@emotion/react/jsx-runtime';
|
|
30
33
|
import Perfume from 'perfume.js';
|
|
@@ -36,8 +39,7 @@ import { Provider, useStore } from 'react-redux';
|
|
|
36
39
|
import history from '@commercetools-frontend/browser-history';
|
|
37
40
|
import { IntlProvider, defineMessages, useIntl, FormattedMessage } from 'react-intl';
|
|
38
41
|
import _startsWithInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/starts-with';
|
|
39
|
-
import
|
|
40
|
-
import _mapInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/map';
|
|
42
|
+
import { b as buildOidcScope } from './oidc-8e05c00e.esm.js';
|
|
41
43
|
import { encode, decode } from 'qss';
|
|
42
44
|
import jwtDecode from 'jwt-decode';
|
|
43
45
|
import FailedAuthenticationSVG from '@commercetools-frontend/assets/images/locked-diamond.svg';
|
|
@@ -80,6 +82,7 @@ import _flagsInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instan
|
|
|
80
82
|
import ldAdapter from '@flopflip/launchdarkly-adapter';
|
|
81
83
|
import httpAdapter from '@flopflip/http-adapter';
|
|
82
84
|
import combineAdapters from '@flopflip/combine-adapters';
|
|
85
|
+
import '@babel/runtime-corejs3/helpers/toConsumableArray';
|
|
83
86
|
import '@babel/runtime-corejs3/core-js-stable/instance/index-of';
|
|
84
87
|
import '@babel/runtime-corejs3/core-js-stable/instance/slice';
|
|
85
88
|
import _everyInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/every';
|
|
@@ -561,39 +564,6 @@ ConfigureIntlProvider.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
561
564
|
} : {};
|
|
562
565
|
ConfigureIntlProvider.displayName = 'ConfigureIntlProvider';
|
|
563
566
|
|
|
564
|
-
var buildOidcScope = function buildOidcScope(options) {
|
|
565
|
-
var _context7;
|
|
566
|
-
|
|
567
|
-
var claims = [];
|
|
568
|
-
|
|
569
|
-
if (options.projectKey) {
|
|
570
|
-
var _context, _context2, _options$oAuthScopes$, _options$oAuthScopes, _context4, _options$oAuthScopes$2, _options$oAuthScopes2;
|
|
571
|
-
|
|
572
|
-
claims.push(_concatInstanceProperty(_context = "".concat(OIDC_CLAIMS.PROJECT_KEY, ":")).call(_context, options.projectKey));
|
|
573
|
-
claims.push.apply(claims, _toConsumableArray(_mapInstanceProperty(_context2 = (_options$oAuthScopes$ = (_options$oAuthScopes = options.oAuthScopes) === null || _options$oAuthScopes === void 0 ? void 0 : _options$oAuthScopes.view) !== null && _options$oAuthScopes$ !== void 0 ? _options$oAuthScopes$ : []).call(_context2, function (scope) {
|
|
574
|
-
var _context3;
|
|
575
|
-
|
|
576
|
-
return _concatInstanceProperty(_context3 = "".concat(OIDC_CLAIMS.VIEW, ":")).call(_context3, scope);
|
|
577
|
-
})));
|
|
578
|
-
claims.push.apply(claims, _toConsumableArray(_mapInstanceProperty(_context4 = (_options$oAuthScopes$2 = (_options$oAuthScopes2 = options.oAuthScopes) === null || _options$oAuthScopes2 === void 0 ? void 0 : _options$oAuthScopes2.manage) !== null && _options$oAuthScopes$2 !== void 0 ? _options$oAuthScopes$2 : []).call(_context4, function (scope) {
|
|
579
|
-
var _context5;
|
|
580
|
-
|
|
581
|
-
return _concatInstanceProperty(_context5 = "".concat(OIDC_CLAIMS.MANAGE, ":")).call(_context5, scope);
|
|
582
|
-
})));
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
var teamId = options.teamId;
|
|
586
|
-
|
|
587
|
-
if (teamId) {
|
|
588
|
-
var _context6;
|
|
589
|
-
|
|
590
|
-
claims.push(_concatInstanceProperty(_context6 = "".concat(OIDC_CLAIMS.TEAM_ID, ":")).call(_context6, teamId));
|
|
591
|
-
}
|
|
592
|
-
|
|
593
|
-
return _concatInstanceProperty(_context7 = [// This is required as per OIDC spec.
|
|
594
|
-
OIDC_CLAIMS.OPEN_ID]).call(_context7, claims).join(' ');
|
|
595
|
-
};
|
|
596
|
-
|
|
597
567
|
var withoutProjectKeyClaim = function withoutProjectKeyClaim(scope) {
|
|
598
568
|
var _context;
|
|
599
569
|
|
|
@@ -2407,7 +2377,7 @@ var _ref$1 = process.env.NODE_ENV === "production" ? {
|
|
|
2407
2377
|
} : {
|
|
2408
2378
|
name: "v1qg5m-SingleValue",
|
|
2409
2379
|
styles: "flex:1;align-items:center;display:flex;label:SingleValue;",
|
|
2410
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
2380
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImxvY2FsZS1zd2l0Y2hlci50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBb0JZIiwiZmlsZSI6ImxvY2FsZS1zd2l0Y2hlci50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgdHlwZSB7IFNpbmdsZVZhbHVlUHJvcHMgfSBmcm9tICdyZWFjdC1zZWxlY3QnO1xuaW1wb3J0IHR5cGUgeyBTZWxlY3RJbnB1dE9wdGlvbiB9IGZyb20gJ0Bjb21tZXJjZXRvb2xzLXVpa2l0L3NlbGVjdC1pbnB1dCc7XG5cbmltcG9ydCB7IHVzZUNhbGxiYWNrIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IFNlbGVjdElucHV0IGZyb20gJ0Bjb21tZXJjZXRvb2xzLXVpa2l0L3NlbGVjdC1pbnB1dCc7XG5pbXBvcnQgeyBXb3JsZEljb24gfSBmcm9tICdAY29tbWVyY2V0b29scy11aWtpdC9pY29ucyc7XG5pbXBvcnQgeyBjdXN0b21Qcm9wZXJ0aWVzIH0gZnJvbSAnQGNvbW1lcmNldG9vbHMtdWlraXQvZGVzaWduLXN5c3RlbSc7XG5cbnR5cGUgQ3VzdG9tU2luZ2xlVmFsdWVQcm9wcyA9IFNpbmdsZVZhbHVlU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iAoe1xuICAgICAgICAgIGxhYmVsOiBsb2NhbGUsXG4gICAgICAgICAgdmFsdWU6IGxvY2FsZSxcbiAgICAgICAgfSkpfVxuICAgICAgICBjb21wb25lbnRzPXt7XG4gICAgICAgICAgLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIHJlYWN0L2Rpc3BsYXktbmFtZVxuICAgICAgICAgIFNpbmdsZVZhbHVlOiAoXG4gICAgICAgICAgICB2YWx1ZVByb3BzOiBTaW5nbGVWYWx1ZVByb3BzPFNlbGVjdElucHV0T3B0aW9uLCBmYWxzZT5cbiAgICAgICAgICApID0+IChcbiAgICAgICAgICAgIDxTaW5nbGVWYWx1ZVxuICAgICAgICAgICAgICB7Li4udmFsdWVQcm9wc31cbiAgICAgICAgICAgICAgbG9jYWxlQ291bnQ9e3Byb3BzLmF2YWlsYWJsZUxvY2FsZXMubGVuZ3RofVxuICAgICAgICAgICAgLz5cbiAgICAgICAgICApLFxuICAgICAgICB9fVxuICAgICAgICBpc0NsZWFyYWJsZT17ZmFsc2V9XG4gICAgICAgIGJhY2tzcGFjZVJlbW92ZXNWYWx1ZT17ZmFsc2V9XG4gICAgICAgIGlzU2VhcmNoYWJsZT17ZmFsc2V9XG4gICAgICAvPlxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgTG9jYWxlU3dpdGNoZXI7XG4iXX0= */",
|
|
2411
2381
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__$2
|
|
2412
2382
|
};
|
|
2413
2383
|
|
|
@@ -2417,10 +2387,10 @@ var _SingleValue = function SingleValue(props) {
|
|
|
2417
2387
|
children: [jsx(WorldIcon, {
|
|
2418
2388
|
size: "big"
|
|
2419
2389
|
}), jsx("span", {
|
|
2420
|
-
css: /*#__PURE__*/css("margin-left:2px;flex:1;color:", customProperties.colorAccent, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:SingleValue;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
2390
|
+
css: /*#__PURE__*/css("margin-left:2px;flex:1;color:", customProperties.colorAccent, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:SingleValue;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImxvY2FsZS1zd2l0Y2hlci50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBNEJjIiwiZmlsZSI6ImxvY2FsZS1zd2l0Y2hlci50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgdHlwZSB7IFNpbmdsZVZhbHVlUHJvcHMgfSBmcm9tICdyZWFjdC1zZWxlY3QnO1xuaW1wb3J0IHR5cGUgeyBTZWxlY3RJbnB1dE9wdGlvbiB9IGZyb20gJ0Bjb21tZXJjZXRvb2xzLXVpa2l0L3NlbGVjdC1pbnB1dCc7XG5cbmltcG9ydCB7IHVzZUNhbGxiYWNrIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IFNlbGVjdElucHV0IGZyb20gJ0Bjb21tZXJjZXRvb2xzLXVpa2l0L3NlbGVjdC1pbnB1dCc7XG5pbXBvcnQgeyBXb3JsZEljb24gfSBmcm9tICdAY29tbWVyY2V0b29scy11aWtpdC9pY29ucyc7XG5pbXBvcnQgeyBjdXN0b21Qcm9wZXJ0aWVzIH0gZnJvbSAnQGNvbW1lcmNldG9vbHMtdWlraXQvZGVzaWduLXN5c3RlbSc7XG5cbnR5cGUgQ3VzdG9tU2luZ2xlVmFsdWVQcm9wcyA9IFNpbmdsZVZhbHVlUHJvcHM8U2VsZWN0SW5wdXRPcHRpb24sIGZhbHNlPiAmIHtcbiAgbG9jYWxlQ291bnQ6IG51bWJlcjtcbn07XG50eXBlIFByb3BzID0ge1xuICBwcm9qZWN0RGF0YUxvY2FsZTogc3Rya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W50LWRpc2FibGUtbmV4dC1saW5lIHJlYWN0L2Rpc3BsYXktbmFtZVxuICAgICAgICAgIFNpbmdsZVZhbHVlOiAoXG4gICAgICAgICAgICB2YWx1ZVByb3BzOiBTaW5nbGVWYWx1ZVByb3BzPFNlbGVjdElucHV0T3B0aW9uLCBmYWxzZT5cbiAgICAgICAgICApID0+IChcbiAgICAgICAgICAgIDxTaW5nbGVWYWx1ZVxuICAgICAgICAgICAgICB7Li4udmFsdWVQcm9wc31cbiAgICAgICAgICAgICAgbG9jYWxlQ291bnQ9e3Byb3BzLmF2YWlsYWJsZUxvY2FsZXMubGVuZ3RofVxuICAgICAgICAgICAgLz5cbiAgICAgICAgICApLFxuICAgICAgICB9fVxuICAgICAgICBpc0NsZWFyYWJsZT17ZmFsc2V9XG4gICAgICAgIGJhY2tzcGFjZVJlbW92ZXNWYWx1ZT17ZmFsc2V9XG4gICAgICAgIGlzU2VhcmNoYWJsZT17ZmFsc2V9XG4gICAgICAvPlxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgTG9jYWxlU3dpdGNoZXI7XG4iXX0= */"),
|
|
2421
2391
|
children: props.children
|
|
2422
2392
|
}), jsx("span", {
|
|
2423
|
-
css: /*#__PURE__*/css("width:22px;height:22px;border-radius:100%;background:", customProperties.colorAccent40, ";color:", customProperties.colorSurface, ";font-size:0.9rem;display:flex;justify-content:center;align-items:center;" + (process.env.NODE_ENV === "production" ? "" : ";label:SingleValue;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
2393
|
+
css: /*#__PURE__*/css("width:22px;height:22px;border-radius:100%;background:", customProperties.colorAccent40, ";color:", customProperties.colorSurface, ";font-size:0.9rem;display:flex;justify-content:center;align-items:center;" + (process.env.NODE_ENV === "production" ? "" : ";label:SingleValue;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozL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ICAgICAgICApID0+IChcbiAgICAgICAgICAgIDxTaW5nbGVWYWx1ZVxuICAgICAgICAgICAgICB7Li4udmFsdWVQcm9wc31cbiAgICAgICAgICAgICAgbG9jYWxlQ291bnQ9e3Byb3BzLmF2YWlsYWJsZUxvY2FsZXMubGVuZ3RofVxuICAgICAgICAgICAgLz5cbiAgICAgICAgICApLFxuICAgICAgICB9fVxuICAgICAgICBpc0NsZWFyYWJsZT17ZmFsc2V9XG4gICAgICAgIGJhY2tzcGFjZVJlbW92ZXNWYWx1ZT17ZmFsc2V9XG4gICAgICAgIGlzU2VhcmNoYWJsZT17ZmFsc2V9XG4gICAgICAvPlxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgTG9jYWxlU3dpdGNoZXI7XG4iXX0= */"),
|
|
2424
2394
|
children: props.localeCount
|
|
2425
2395
|
})]
|
|
2426
2396
|
});
|
|
@@ -2438,7 +2408,7 @@ var LocaleSwitcher = function LocaleSwitcher(props) {
|
|
|
2438
2408
|
setProjectDataLocale(event.target.value);
|
|
2439
2409
|
}, [setProjectDataLocale]);
|
|
2440
2410
|
return jsx("div", {
|
|
2441
|
-
css: /*#__PURE__*/css("position:relative;width:", customProperties.constraint3, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:LocaleSwitcher;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
2411
|
+
css: /*#__PURE__*/css("position:relative;width:", customProperties.constraint3, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:LocaleSwitcher;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImxvY2FsZS1zd2l0Y2hlci50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBaUVjIiwiZmlsZSI6ImxvY2FsZS1zd2l0Y2hlci50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbX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ubGVuZ3RofVxuICAgICAgICAgICAgLz5cbiAgICAgICAgICApLFxuICAgICAgICB9fVxuICAgICAgICBpc0NsZWFyYWJsZT17ZmFsc2V9XG4gICAgICAgIGJhY2tzcGFjZVJlbW92ZXNWYWx1ZT17ZmFsc2V9XG4gICAgICAgIGlzU2VhcmNoYWJsZT17ZmFsc2V9XG4gICAgICAvPlxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgTG9jYWxlU3dpdGNoZXI7XG4iXX0= */"),
|
|
2442
2412
|
"data-track-component": "LocaleSwitch",
|
|
2443
2413
|
children: jsx(SelectInput, {
|
|
2444
2414
|
value: props.projectDataLocale,
|
|
@@ -2473,19 +2443,19 @@ LocaleSwitcher.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2473
2443
|
} : {};
|
|
2474
2444
|
|
|
2475
2445
|
var ProjectNotFound = /*#__PURE__*/lazy(function () {
|
|
2476
|
-
return import('./project-not-found-
|
|
2446
|
+
return import('./project-not-found-ba7eb62f.esm.js'
|
|
2477
2447
|
/* webpackChunkName: "project-not-found" */
|
|
2478
2448
|
);
|
|
2479
2449
|
});
|
|
2480
2450
|
|
|
2481
2451
|
var ProjectExpired = /*#__PURE__*/lazy(function () {
|
|
2482
|
-
return import('./project-expired-
|
|
2452
|
+
return import('./project-expired-633f1944.esm.js'
|
|
2483
2453
|
/* webpackChunkName: "project-expired" */
|
|
2484
2454
|
);
|
|
2485
2455
|
});
|
|
2486
2456
|
|
|
2487
2457
|
var ProjectNotInitialized = /*#__PURE__*/lazy(function () {
|
|
2488
|
-
return import('./project-not-initialized-
|
|
2458
|
+
return import('./project-not-initialized-b5aa1292.esm.js'
|
|
2489
2459
|
/* webpackChunkName: "project-not-initialized" */
|
|
2490
2460
|
);
|
|
2491
2461
|
});
|
|
@@ -2532,7 +2502,7 @@ var RedirectToProjectCreate = function RedirectToProjectCreate() {
|
|
|
2532
2502
|
RedirectToProjectCreate.displayName = 'RedirectToProjectCreate';
|
|
2533
2503
|
|
|
2534
2504
|
var ProjectSuspended = /*#__PURE__*/lazy(function () {
|
|
2535
|
-
return import('./project-suspended-
|
|
2505
|
+
return import('./project-suspended-a7b9d722.esm.js'
|
|
2536
2506
|
/* webpackChunkName: "project-suspended" */
|
|
2537
2507
|
);
|
|
2538
2508
|
});
|
|
@@ -3848,7 +3818,7 @@ var pimIndexerStates = {
|
|
|
3848
3818
|
};
|
|
3849
3819
|
|
|
3850
3820
|
var QuickAccess = /*#__PURE__*/lazy(function () {
|
|
3851
|
-
return import('./quick-access-
|
|
3821
|
+
return import('./quick-access-612dc2d7.esm.js'
|
|
3852
3822
|
/* webpackChunkName: "quick-access" */
|
|
3853
3823
|
);
|
|
3854
3824
|
});
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var _mapInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/map');
|
|
4
|
+
var upperFirst = require('lodash/upperFirst');
|
|
5
|
+
var _toConsumableArray = require('@babel/runtime-corejs3/helpers/toConsumableArray');
|
|
6
|
+
var _concatInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/concat');
|
|
7
|
+
var constants = require('./constants-fdbe0e9d.cjs.dev.js');
|
|
8
|
+
|
|
9
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
10
|
+
|
|
11
|
+
var _mapInstanceProperty__default = /*#__PURE__*/_interopDefault(_mapInstanceProperty);
|
|
12
|
+
var upperFirst__default = /*#__PURE__*/_interopDefault(upperFirst);
|
|
13
|
+
var _concatInstanceProperty__default = /*#__PURE__*/_interopDefault(_concatInstanceProperty);
|
|
14
|
+
|
|
15
|
+
// removing special characters except underscore.
|
|
16
|
+
// It makes the first character of the string and the next character after a special character an uppercase.
|
|
17
|
+
// It replaces hyphen(-) with a forward slash(/) if the hyphen(-) is followed by a number.
|
|
18
|
+
// Examples:
|
|
19
|
+
// input: foo-bar result: FooBar
|
|
20
|
+
// input: foo_bar result: Foo_Bar
|
|
21
|
+
// input: foo-1bar result: Foo/1bar
|
|
22
|
+
|
|
23
|
+
var formatEntryPointUriPathToResourceAccessKey = function formatEntryPointUriPathToResourceAccessKey(entryPointUriPath) {
|
|
24
|
+
var _context, _context2;
|
|
25
|
+
|
|
26
|
+
return _mapInstanceProperty__default["default"](_context = _mapInstanceProperty__default["default"](_context2 = entryPointUriPath //Splits the string by underscore.
|
|
27
|
+
.split('_') // Uppercase the first character of each word split.
|
|
28
|
+
).call(_context2, function (word) {
|
|
29
|
+
return upperFirst__default["default"](word);
|
|
30
|
+
}) // Join the words by an underscore.
|
|
31
|
+
.join('_') // Each word is split by a hyphen.
|
|
32
|
+
.split('-')).call(_context, function (word, i) {
|
|
33
|
+
// Regex below checking if the character is numeric.
|
|
34
|
+
// If the word after the hyphen is numeric, replace the hyphen with a forward slash.
|
|
35
|
+
// If not, omit the hyphen and uppercase the first character
|
|
36
|
+
if (i > 0 && /^-?\d+$/.test(word[0])) {
|
|
37
|
+
return '/' + word;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
return upperFirst__default["default"](word);
|
|
41
|
+
}).join('');
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
var entryPointUriPathToResourceAccesses = function entryPointUriPathToResourceAccesses(entryPointUriPath) {
|
|
45
|
+
var convertedEntryPointUriPath = formatEntryPointUriPathToResourceAccessKey(entryPointUriPath);
|
|
46
|
+
return {
|
|
47
|
+
view: "view".concat(convertedEntryPointUriPath),
|
|
48
|
+
manage: "manage".concat(convertedEntryPointUriPath)
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
var entryPointUriPathToPermissionKeys = function entryPointUriPathToPermissionKeys(entryPointUriPath) {
|
|
52
|
+
var resourceAccesses = entryPointUriPathToResourceAccesses(entryPointUriPath);
|
|
53
|
+
return {
|
|
54
|
+
View: upperFirst__default["default"](resourceAccesses.view),
|
|
55
|
+
Manage: upperFirst__default["default"](resourceAccesses.manage)
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
var buildOidcScope = function buildOidcScope(options) {
|
|
60
|
+
var _context7;
|
|
61
|
+
|
|
62
|
+
var claims = [];
|
|
63
|
+
|
|
64
|
+
if (options.projectKey) {
|
|
65
|
+
var _context, _context2, _options$oAuthScopes$, _options$oAuthScopes, _context4, _options$oAuthScopes$2, _options$oAuthScopes2;
|
|
66
|
+
|
|
67
|
+
claims.push(_concatInstanceProperty__default["default"](_context = "".concat(constants.OIDC_CLAIMS.PROJECT_KEY, ":")).call(_context, options.projectKey));
|
|
68
|
+
claims.push.apply(claims, _toConsumableArray(_mapInstanceProperty__default["default"](_context2 = (_options$oAuthScopes$ = (_options$oAuthScopes = options.oAuthScopes) === null || _options$oAuthScopes === void 0 ? void 0 : _options$oAuthScopes.view) !== null && _options$oAuthScopes$ !== void 0 ? _options$oAuthScopes$ : []).call(_context2, function (scope) {
|
|
69
|
+
var _context3;
|
|
70
|
+
|
|
71
|
+
return _concatInstanceProperty__default["default"](_context3 = "".concat(constants.OIDC_CLAIMS.VIEW, ":")).call(_context3, scope);
|
|
72
|
+
})));
|
|
73
|
+
claims.push.apply(claims, _toConsumableArray(_mapInstanceProperty__default["default"](_context4 = (_options$oAuthScopes$2 = (_options$oAuthScopes2 = options.oAuthScopes) === null || _options$oAuthScopes2 === void 0 ? void 0 : _options$oAuthScopes2.manage) !== null && _options$oAuthScopes$2 !== void 0 ? _options$oAuthScopes$2 : []).call(_context4, function (scope) {
|
|
74
|
+
var _context5;
|
|
75
|
+
|
|
76
|
+
return _concatInstanceProperty__default["default"](_context5 = "".concat(constants.OIDC_CLAIMS.MANAGE, ":")).call(_context5, scope);
|
|
77
|
+
})));
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
var teamId = options.teamId;
|
|
81
|
+
|
|
82
|
+
if (teamId) {
|
|
83
|
+
var _context6;
|
|
84
|
+
|
|
85
|
+
claims.push(_concatInstanceProperty__default["default"](_context6 = "".concat(constants.OIDC_CLAIMS.TEAM_ID, ":")).call(_context6, teamId));
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
return _concatInstanceProperty__default["default"](_context7 = [// This is required as per OIDC spec.
|
|
89
|
+
constants.OIDC_CLAIMS.OPEN_ID]).call(_context7, claims).join(' ');
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
exports.buildOidcScope = buildOidcScope;
|
|
93
|
+
exports.entryPointUriPathToPermissionKeys = entryPointUriPathToPermissionKeys;
|
|
94
|
+
exports.entryPointUriPathToResourceAccesses = entryPointUriPathToResourceAccesses;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import _mapInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/map';
|
|
2
|
+
import upperFirst from 'lodash/upperFirst';
|
|
3
|
+
import _toConsumableArray from '@babel/runtime-corejs3/helpers/esm/toConsumableArray';
|
|
4
|
+
import _concatInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/concat';
|
|
5
|
+
import { O as OIDC_CLAIMS } from './constants-33a16227.esm.js';
|
|
6
|
+
|
|
7
|
+
// removing special characters except underscore.
|
|
8
|
+
// It makes the first character of the string and the next character after a special character an uppercase.
|
|
9
|
+
// It replaces hyphen(-) with a forward slash(/) if the hyphen(-) is followed by a number.
|
|
10
|
+
// Examples:
|
|
11
|
+
// input: foo-bar result: FooBar
|
|
12
|
+
// input: foo_bar result: Foo_Bar
|
|
13
|
+
// input: foo-1bar result: Foo/1bar
|
|
14
|
+
|
|
15
|
+
var formatEntryPointUriPathToResourceAccessKey = function formatEntryPointUriPathToResourceAccessKey(entryPointUriPath) {
|
|
16
|
+
var _context, _context2;
|
|
17
|
+
|
|
18
|
+
return _mapInstanceProperty(_context = _mapInstanceProperty(_context2 = entryPointUriPath //Splits the string by underscore.
|
|
19
|
+
.split('_') // Uppercase the first character of each word split.
|
|
20
|
+
).call(_context2, function (word) {
|
|
21
|
+
return upperFirst(word);
|
|
22
|
+
}) // Join the words by an underscore.
|
|
23
|
+
.join('_') // Each word is split by a hyphen.
|
|
24
|
+
.split('-')).call(_context, function (word, i) {
|
|
25
|
+
// Regex below checking if the character is numeric.
|
|
26
|
+
// If the word after the hyphen is numeric, replace the hyphen with a forward slash.
|
|
27
|
+
// If not, omit the hyphen and uppercase the first character
|
|
28
|
+
if (i > 0 && /^-?\d+$/.test(word[0])) {
|
|
29
|
+
return '/' + word;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
return upperFirst(word);
|
|
33
|
+
}).join('');
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
var entryPointUriPathToResourceAccesses = function entryPointUriPathToResourceAccesses(entryPointUriPath) {
|
|
37
|
+
var convertedEntryPointUriPath = formatEntryPointUriPathToResourceAccessKey(entryPointUriPath);
|
|
38
|
+
return {
|
|
39
|
+
view: "view".concat(convertedEntryPointUriPath),
|
|
40
|
+
manage: "manage".concat(convertedEntryPointUriPath)
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
var entryPointUriPathToPermissionKeys = function entryPointUriPathToPermissionKeys(entryPointUriPath) {
|
|
44
|
+
var resourceAccesses = entryPointUriPathToResourceAccesses(entryPointUriPath);
|
|
45
|
+
return {
|
|
46
|
+
View: upperFirst(resourceAccesses.view),
|
|
47
|
+
Manage: upperFirst(resourceAccesses.manage)
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
var buildOidcScope = function buildOidcScope(options) {
|
|
52
|
+
var _context7;
|
|
53
|
+
|
|
54
|
+
var claims = [];
|
|
55
|
+
|
|
56
|
+
if (options.projectKey) {
|
|
57
|
+
var _context, _context2, _options$oAuthScopes$, _options$oAuthScopes, _context4, _options$oAuthScopes$2, _options$oAuthScopes2;
|
|
58
|
+
|
|
59
|
+
claims.push(_concatInstanceProperty(_context = "".concat(OIDC_CLAIMS.PROJECT_KEY, ":")).call(_context, options.projectKey));
|
|
60
|
+
claims.push.apply(claims, _toConsumableArray(_mapInstanceProperty(_context2 = (_options$oAuthScopes$ = (_options$oAuthScopes = options.oAuthScopes) === null || _options$oAuthScopes === void 0 ? void 0 : _options$oAuthScopes.view) !== null && _options$oAuthScopes$ !== void 0 ? _options$oAuthScopes$ : []).call(_context2, function (scope) {
|
|
61
|
+
var _context3;
|
|
62
|
+
|
|
63
|
+
return _concatInstanceProperty(_context3 = "".concat(OIDC_CLAIMS.VIEW, ":")).call(_context3, scope);
|
|
64
|
+
})));
|
|
65
|
+
claims.push.apply(claims, _toConsumableArray(_mapInstanceProperty(_context4 = (_options$oAuthScopes$2 = (_options$oAuthScopes2 = options.oAuthScopes) === null || _options$oAuthScopes2 === void 0 ? void 0 : _options$oAuthScopes2.manage) !== null && _options$oAuthScopes$2 !== void 0 ? _options$oAuthScopes$2 : []).call(_context4, function (scope) {
|
|
66
|
+
var _context5;
|
|
67
|
+
|
|
68
|
+
return _concatInstanceProperty(_context5 = "".concat(OIDC_CLAIMS.MANAGE, ":")).call(_context5, scope);
|
|
69
|
+
})));
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
var teamId = options.teamId;
|
|
73
|
+
|
|
74
|
+
if (teamId) {
|
|
75
|
+
var _context6;
|
|
76
|
+
|
|
77
|
+
claims.push(_concatInstanceProperty(_context6 = "".concat(OIDC_CLAIMS.TEAM_ID, ":")).call(_context6, teamId));
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
return _concatInstanceProperty(_context7 = [// This is required as per OIDC spec.
|
|
81
|
+
OIDC_CLAIMS.OPEN_ID]).call(_context7, claims).join(' ');
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
export { entryPointUriPathToResourceAccesses as a, buildOidcScope as b, entryPointUriPathToPermissionKeys as e };
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var _mapInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/map');
|
|
4
|
+
var upperFirst = require('lodash/upperFirst');
|
|
5
|
+
var _toConsumableArray = require('@babel/runtime-corejs3/helpers/toConsumableArray');
|
|
6
|
+
var _concatInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/concat');
|
|
7
|
+
var constants = require('./constants-745aeeca.cjs.prod.js');
|
|
8
|
+
|
|
9
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
10
|
+
|
|
11
|
+
var _mapInstanceProperty__default = /*#__PURE__*/_interopDefault(_mapInstanceProperty);
|
|
12
|
+
var upperFirst__default = /*#__PURE__*/_interopDefault(upperFirst);
|
|
13
|
+
var _concatInstanceProperty__default = /*#__PURE__*/_interopDefault(_concatInstanceProperty);
|
|
14
|
+
|
|
15
|
+
// removing special characters except underscore.
|
|
16
|
+
// It makes the first character of the string and the next character after a special character an uppercase.
|
|
17
|
+
// It replaces hyphen(-) with a forward slash(/) if the hyphen(-) is followed by a number.
|
|
18
|
+
// Examples:
|
|
19
|
+
// input: foo-bar result: FooBar
|
|
20
|
+
// input: foo_bar result: Foo_Bar
|
|
21
|
+
// input: foo-1bar result: Foo/1bar
|
|
22
|
+
|
|
23
|
+
var formatEntryPointUriPathToResourceAccessKey = function formatEntryPointUriPathToResourceAccessKey(entryPointUriPath) {
|
|
24
|
+
var _context, _context2;
|
|
25
|
+
|
|
26
|
+
return _mapInstanceProperty__default["default"](_context = _mapInstanceProperty__default["default"](_context2 = entryPointUriPath //Splits the string by underscore.
|
|
27
|
+
.split('_') // Uppercase the first character of each word split.
|
|
28
|
+
).call(_context2, function (word) {
|
|
29
|
+
return upperFirst__default["default"](word);
|
|
30
|
+
}) // Join the words by an underscore.
|
|
31
|
+
.join('_') // Each word is split by a hyphen.
|
|
32
|
+
.split('-')).call(_context, function (word, i) {
|
|
33
|
+
// Regex below checking if the character is numeric.
|
|
34
|
+
// If the word after the hyphen is numeric, replace the hyphen with a forward slash.
|
|
35
|
+
// If not, omit the hyphen and uppercase the first character
|
|
36
|
+
if (i > 0 && /^-?\d+$/.test(word[0])) {
|
|
37
|
+
return '/' + word;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
return upperFirst__default["default"](word);
|
|
41
|
+
}).join('');
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
var entryPointUriPathToResourceAccesses = function entryPointUriPathToResourceAccesses(entryPointUriPath) {
|
|
45
|
+
var convertedEntryPointUriPath = formatEntryPointUriPathToResourceAccessKey(entryPointUriPath);
|
|
46
|
+
return {
|
|
47
|
+
view: "view".concat(convertedEntryPointUriPath),
|
|
48
|
+
manage: "manage".concat(convertedEntryPointUriPath)
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
var entryPointUriPathToPermissionKeys = function entryPointUriPathToPermissionKeys(entryPointUriPath) {
|
|
52
|
+
var resourceAccesses = entryPointUriPathToResourceAccesses(entryPointUriPath);
|
|
53
|
+
return {
|
|
54
|
+
View: upperFirst__default["default"](resourceAccesses.view),
|
|
55
|
+
Manage: upperFirst__default["default"](resourceAccesses.manage)
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
var buildOidcScope = function buildOidcScope(options) {
|
|
60
|
+
var _context7;
|
|
61
|
+
|
|
62
|
+
var claims = [];
|
|
63
|
+
|
|
64
|
+
if (options.projectKey) {
|
|
65
|
+
var _context, _context2, _options$oAuthScopes$, _options$oAuthScopes, _context4, _options$oAuthScopes$2, _options$oAuthScopes2;
|
|
66
|
+
|
|
67
|
+
claims.push(_concatInstanceProperty__default["default"](_context = "".concat(constants.OIDC_CLAIMS.PROJECT_KEY, ":")).call(_context, options.projectKey));
|
|
68
|
+
claims.push.apply(claims, _toConsumableArray(_mapInstanceProperty__default["default"](_context2 = (_options$oAuthScopes$ = (_options$oAuthScopes = options.oAuthScopes) === null || _options$oAuthScopes === void 0 ? void 0 : _options$oAuthScopes.view) !== null && _options$oAuthScopes$ !== void 0 ? _options$oAuthScopes$ : []).call(_context2, function (scope) {
|
|
69
|
+
var _context3;
|
|
70
|
+
|
|
71
|
+
return _concatInstanceProperty__default["default"](_context3 = "".concat(constants.OIDC_CLAIMS.VIEW, ":")).call(_context3, scope);
|
|
72
|
+
})));
|
|
73
|
+
claims.push.apply(claims, _toConsumableArray(_mapInstanceProperty__default["default"](_context4 = (_options$oAuthScopes$2 = (_options$oAuthScopes2 = options.oAuthScopes) === null || _options$oAuthScopes2 === void 0 ? void 0 : _options$oAuthScopes2.manage) !== null && _options$oAuthScopes$2 !== void 0 ? _options$oAuthScopes$2 : []).call(_context4, function (scope) {
|
|
74
|
+
var _context5;
|
|
75
|
+
|
|
76
|
+
return _concatInstanceProperty__default["default"](_context5 = "".concat(constants.OIDC_CLAIMS.MANAGE, ":")).call(_context5, scope);
|
|
77
|
+
})));
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
var teamId = options.teamId;
|
|
81
|
+
|
|
82
|
+
if (teamId) {
|
|
83
|
+
var _context6;
|
|
84
|
+
|
|
85
|
+
claims.push(_concatInstanceProperty__default["default"](_context6 = "".concat(constants.OIDC_CLAIMS.TEAM_ID, ":")).call(_context6, teamId));
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
return _concatInstanceProperty__default["default"](_context7 = [// This is required as per OIDC spec.
|
|
89
|
+
constants.OIDC_CLAIMS.OPEN_ID]).call(_context7, claims).join(' ');
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
exports.buildOidcScope = buildOidcScope;
|
|
93
|
+
exports.entryPointUriPathToPermissionKeys = entryPointUriPathToPermissionKeys;
|
|
94
|
+
exports.entryPointUriPathToResourceAccesses = entryPointUriPathToResourceAccesses;
|
|
@@ -12,13 +12,13 @@ var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
|
|
|
12
12
|
var reactIntl = require('react-intl');
|
|
13
13
|
var ProjectExpiredSVG = require('@commercetools-frontend/assets/images/hourglass.svg');
|
|
14
14
|
var applicationComponents = require('@commercetools-frontend/application-components');
|
|
15
|
-
var servicePageProjectSwitcher = require('./service-page-project-switcher-
|
|
15
|
+
var servicePageProjectSwitcher = require('./service-page-project-switcher-dfbbe4c1.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-
|
|
21
|
-
require('./application-entry-point-
|
|
20
|
+
require('./index-1a8b5b91.cjs.dev.js');
|
|
21
|
+
require('./application-entry-point-ca79642e.cjs.dev.js');
|
|
22
22
|
require('@babel/runtime-corejs3/helpers/toConsumableArray');
|
|
23
23
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
24
24
|
require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
@@ -32,6 +32,7 @@ require('omit-empty-es');
|
|
|
32
32
|
require('@commercetools-frontend/notifications');
|
|
33
33
|
require('@commercetools-frontend/sdk');
|
|
34
34
|
require('@commercetools-frontend/constants');
|
|
35
|
+
require('./constants-fdbe0e9d.cjs.dev.js');
|
|
35
36
|
require('@commercetools-frontend/react-notifications');
|
|
36
37
|
require('@babel/runtime-corejs3/core-js-stable/instance/starts-with');
|
|
37
38
|
require('@babel/runtime-corejs3/core-js-stable/instance/includes');
|
|
@@ -43,6 +44,8 @@ require('@babel/runtime-corejs3/core-js-stable/instance/index-of');
|
|
|
43
44
|
require('@babel/runtime-corejs3/core-js-stable/instance/slice');
|
|
44
45
|
require('@commercetools-frontend/sentry');
|
|
45
46
|
require('@babel/runtime-corejs3/core-js-stable/url');
|
|
47
|
+
require('@babel/runtime-corejs3/core-js-stable/instance/map');
|
|
48
|
+
require('lodash/upperFirst');
|
|
46
49
|
require('@babel/runtime-corejs3/core-js-stable/instance/find');
|
|
47
50
|
require('@apollo/client');
|
|
48
51
|
require('@commercetools/http-user-agent');
|
|
@@ -55,7 +58,6 @@ require('@apollo/client/link/error');
|
|
|
55
58
|
require('@commercetools-frontend/browser-history');
|
|
56
59
|
require('@babel/runtime-corejs3/core-js-stable/instance/some');
|
|
57
60
|
require('@babel/runtime-corejs3/core-js-stable/object/values');
|
|
58
|
-
require('@babel/runtime-corejs3/core-js-stable/instance/map');
|
|
59
61
|
require('uuid');
|
|
60
62
|
require('@babel/runtime-corejs3/core-js-stable/json/stringify');
|
|
61
63
|
require('@apollo/client/link/retry');
|
|
@@ -69,6 +71,7 @@ require('@babel/runtime-corejs3/helpers/typeof');
|
|
|
69
71
|
require('@babel/runtime-corejs3/core-js-stable/instance/reverse');
|
|
70
72
|
require('lodash/camelCase');
|
|
71
73
|
require('@apollo/client/react');
|
|
74
|
+
require('./oidc-7e7761de.cjs.dev.js');
|
|
72
75
|
require('qss');
|
|
73
76
|
require('jwt-decode');
|
|
74
77
|
require('@commercetools-frontend/assets/images/locked-diamond.svg');
|
|
@@ -10,13 +10,13 @@ import _defineProperty from '@babel/runtime-corejs3/helpers/esm/defineProperty';
|
|
|
10
10
|
import { defineMessages, useIntl, FormattedMessage } from 'react-intl';
|
|
11
11
|
import ProjectExpiredSVG from '@commercetools-frontend/assets/images/hourglass.svg';
|
|
12
12
|
import { MaintenancePageLayout } from '@commercetools-frontend/application-components';
|
|
13
|
-
import { S as ServicePageProjectSwitcher } from './service-page-project-switcher-
|
|
13
|
+
import { S as ServicePageProjectSwitcher } from './service-page-project-switcher-4893264d.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-
|
|
19
|
-
import './application-entry-point-
|
|
18
|
+
import './index-dd13496f.esm.js';
|
|
19
|
+
import './application-entry-point-caba3fcf.esm.js';
|
|
20
20
|
import '@babel/runtime-corejs3/helpers/toConsumableArray';
|
|
21
21
|
import '@babel/runtime-corejs3/helpers/slicedToArray';
|
|
22
22
|
import '@babel/runtime-corejs3/core-js-stable/instance/reduce';
|
|
@@ -30,6 +30,7 @@ import 'omit-empty-es';
|
|
|
30
30
|
import '@commercetools-frontend/notifications';
|
|
31
31
|
import '@commercetools-frontend/sdk';
|
|
32
32
|
import '@commercetools-frontend/constants';
|
|
33
|
+
import './constants-33a16227.esm.js';
|
|
33
34
|
import '@commercetools-frontend/react-notifications';
|
|
34
35
|
import '@babel/runtime-corejs3/core-js-stable/instance/starts-with';
|
|
35
36
|
import '@babel/runtime-corejs3/core-js-stable/instance/includes';
|
|
@@ -41,6 +42,8 @@ import '@babel/runtime-corejs3/core-js-stable/instance/index-of';
|
|
|
41
42
|
import '@babel/runtime-corejs3/core-js-stable/instance/slice';
|
|
42
43
|
import '@commercetools-frontend/sentry';
|
|
43
44
|
import '@babel/runtime-corejs3/core-js-stable/url';
|
|
45
|
+
import '@babel/runtime-corejs3/core-js-stable/instance/map';
|
|
46
|
+
import 'lodash/upperFirst';
|
|
44
47
|
import '@babel/runtime-corejs3/core-js-stable/instance/find';
|
|
45
48
|
import '@apollo/client';
|
|
46
49
|
import '@commercetools/http-user-agent';
|
|
@@ -53,7 +56,6 @@ import '@apollo/client/link/error';
|
|
|
53
56
|
import '@commercetools-frontend/browser-history';
|
|
54
57
|
import '@babel/runtime-corejs3/core-js-stable/instance/some';
|
|
55
58
|
import '@babel/runtime-corejs3/core-js-stable/object/values';
|
|
56
|
-
import '@babel/runtime-corejs3/core-js-stable/instance/map';
|
|
57
59
|
import 'uuid';
|
|
58
60
|
import '@babel/runtime-corejs3/core-js-stable/json/stringify';
|
|
59
61
|
import '@apollo/client/link/retry';
|
|
@@ -67,6 +69,7 @@ import '@babel/runtime-corejs3/helpers/typeof';
|
|
|
67
69
|
import '@babel/runtime-corejs3/core-js-stable/instance/reverse';
|
|
68
70
|
import 'lodash/camelCase';
|
|
69
71
|
import '@apollo/client/react';
|
|
72
|
+
import './oidc-8e05c00e.esm.js';
|
|
70
73
|
import 'qss';
|
|
71
74
|
import 'jwt-decode';
|
|
72
75
|
import '@commercetools-frontend/assets/images/locked-diamond.svg';
|
|
@@ -12,13 +12,13 @@ var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
|
|
|
12
12
|
var reactIntl = require('react-intl');
|
|
13
13
|
var ProjectExpiredSVG = require('@commercetools-frontend/assets/images/hourglass.svg');
|
|
14
14
|
var applicationComponents = require('@commercetools-frontend/application-components');
|
|
15
|
-
var servicePageProjectSwitcher = require('./service-page-project-switcher-
|
|
15
|
+
var servicePageProjectSwitcher = require('./service-page-project-switcher-08c6c7d5.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-
|
|
21
|
-
require('./application-entry-point-
|
|
20
|
+
require('./index-0428cf83.cjs.prod.js');
|
|
21
|
+
require('./application-entry-point-32ba21e8.cjs.prod.js');
|
|
22
22
|
require('@babel/runtime-corejs3/helpers/toConsumableArray');
|
|
23
23
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
24
24
|
require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
@@ -32,6 +32,7 @@ require('omit-empty-es');
|
|
|
32
32
|
require('@commercetools-frontend/notifications');
|
|
33
33
|
require('@commercetools-frontend/sdk');
|
|
34
34
|
require('@commercetools-frontend/constants');
|
|
35
|
+
require('./constants-745aeeca.cjs.prod.js');
|
|
35
36
|
require('@commercetools-frontend/react-notifications');
|
|
36
37
|
require('@babel/runtime-corejs3/core-js-stable/instance/starts-with');
|
|
37
38
|
require('@babel/runtime-corejs3/core-js-stable/instance/includes');
|
|
@@ -43,6 +44,8 @@ require('@babel/runtime-corejs3/core-js-stable/instance/index-of');
|
|
|
43
44
|
require('@babel/runtime-corejs3/core-js-stable/instance/slice');
|
|
44
45
|
require('@commercetools-frontend/sentry');
|
|
45
46
|
require('@babel/runtime-corejs3/core-js-stable/url');
|
|
47
|
+
require('@babel/runtime-corejs3/core-js-stable/instance/map');
|
|
48
|
+
require('lodash/upperFirst');
|
|
46
49
|
require('@babel/runtime-corejs3/core-js-stable/instance/find');
|
|
47
50
|
require('@apollo/client');
|
|
48
51
|
require('@commercetools/http-user-agent');
|
|
@@ -55,7 +58,6 @@ require('@apollo/client/link/error');
|
|
|
55
58
|
require('@commercetools-frontend/browser-history');
|
|
56
59
|
require('@babel/runtime-corejs3/core-js-stable/instance/some');
|
|
57
60
|
require('@babel/runtime-corejs3/core-js-stable/object/values');
|
|
58
|
-
require('@babel/runtime-corejs3/core-js-stable/instance/map');
|
|
59
61
|
require('uuid');
|
|
60
62
|
require('@babel/runtime-corejs3/core-js-stable/json/stringify');
|
|
61
63
|
require('@apollo/client/link/retry');
|
|
@@ -69,6 +71,7 @@ require('@babel/runtime-corejs3/helpers/typeof');
|
|
|
69
71
|
require('@babel/runtime-corejs3/core-js-stable/instance/reverse');
|
|
70
72
|
require('lodash/camelCase');
|
|
71
73
|
require('@apollo/client/react');
|
|
74
|
+
require('./oidc-be09bd90.cjs.prod.js');
|
|
72
75
|
require('qss');
|
|
73
76
|
require('jwt-decode');
|
|
74
77
|
require('@commercetools-frontend/assets/images/locked-diamond.svg');
|