@commercetools-frontend/application-shell 22.14.2 → 22.14.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/commercetools-frontend-application-shell.cjs.dev.js +1 -1
- package/dist/commercetools-frontend-application-shell.cjs.prod.js +1 -1
- package/dist/commercetools-frontend-application-shell.esm.js +1 -1
- package/dist/{custom-view-dev-host-263f2c1a.cjs.dev.js → custom-view-dev-host-52595f60.cjs.dev.js} +1 -1
- package/dist/{custom-view-dev-host-c295f899.esm.js → custom-view-dev-host-945f058b.esm.js} +1 -1
- package/dist/custom-view-dev-host-98e7ce7d.cjs.prod.js +203 -0
- package/dist/{index-ae1eae7e.cjs.dev.js → index-0d0e6d8b.cjs.dev.js} +61 -52
- package/dist/{index-315660b0.esm.js → index-35f9f7c2.esm.js} +61 -52
- package/dist/{index-a7493b61.cjs.prod.js → index-c29f8aa0.cjs.prod.js} +77 -50
- package/dist/{oidc-callback-b397bd00.cjs.prod.js → oidc-callback-25005367.cjs.prod.js} +1 -1
- package/dist/{oidc-callback-77adc650.cjs.dev.js → oidc-callback-6aa0b446.cjs.dev.js} +1 -1
- package/dist/{oidc-callback-f120d63c.esm.js → oidc-callback-860db268.esm.js} +1 -1
- package/dist/{project-container-9cfe3aa6.cjs.prod.js → project-container-0b7034a5.cjs.prod.js} +5 -5
- package/dist/{project-container-c014c0c5.cjs.dev.js → project-container-22dd3ee8.cjs.dev.js} +5 -5
- package/dist/{project-container-68403e75.esm.js → project-container-8a000259.esm.js} +5 -5
- package/dist/{project-expired-2f27ca0a.esm.js → project-expired-175f09e7.esm.js} +2 -2
- package/dist/{project-expired-be7a7c1e.cjs.dev.js → project-expired-7e9f4a37.cjs.dev.js} +2 -2
- package/dist/{project-expired-9b37e7be.cjs.prod.js → project-expired-abde10a9.cjs.prod.js} +2 -2
- package/dist/{project-not-found-43dadcef.esm.js → project-not-found-89cc6d97.esm.js} +2 -2
- package/dist/{project-not-found-a2e74c89.cjs.prod.js → project-not-found-aeb6b4e5.cjs.prod.js} +2 -2
- package/dist/{project-not-found-96cdb368.cjs.dev.js → project-not-found-fcb9f62d.cjs.dev.js} +2 -2
- package/dist/{project-not-initialized-8e84d5c7.esm.js → project-not-initialized-1e4f45dc.esm.js} +2 -2
- package/dist/{project-not-initialized-362155ca.cjs.dev.js → project-not-initialized-718a18d0.cjs.dev.js} +2 -2
- package/dist/{project-not-initialized-ffaffeb0.cjs.prod.js → project-not-initialized-e8c5fae6.cjs.prod.js} +2 -2
- package/dist/{project-suspended-c03a9e61.esm.js → project-suspended-0d49681f.esm.js} +2 -2
- package/dist/{project-suspended-37db98bf.cjs.prod.js → project-suspended-1f94c722.cjs.prod.js} +2 -2
- package/dist/{project-suspended-61e02b61.cjs.dev.js → project-suspended-d028eced.cjs.dev.js} +2 -2
- package/dist/{quick-access-68c00be3.cjs.dev.js → quick-access-08a2f835.cjs.dev.js} +1 -1
- package/dist/{quick-access-6226709e.esm.js → quick-access-11418f11.esm.js} +1 -1
- package/dist/{quick-access-cffc290d.cjs.prod.js → quick-access-ecbaedf9.cjs.prod.js} +1 -1
- package/dist/{redirect-to-logout-22708e37.cjs.prod.js → redirect-to-logout-2418d058.cjs.prod.js} +1 -1
- package/dist/{redirect-to-logout-aa665ef1.esm.js → redirect-to-logout-7fb8c085.esm.js} +1 -1
- package/dist/{redirect-to-logout-fa06e640.cjs.dev.js → redirect-to-logout-8cbbf5b3.cjs.dev.js} +1 -1
- package/dist/{requests-in-flight-loader-df11d5fc.cjs.dev.js → requests-in-flight-loader-41d05ebb.cjs.dev.js} +1 -1
- package/dist/{requests-in-flight-loader-2f004196.cjs.prod.js → requests-in-flight-loader-7580242c.cjs.prod.js} +1 -1
- package/dist/{requests-in-flight-loader-c30b0762.esm.js → requests-in-flight-loader-9400ad17.esm.js} +1 -1
- package/dist/{service-page-project-switcher-4818f8e5.cjs.prod.js → service-page-project-switcher-3343ea60.cjs.prod.js} +1 -1
- package/dist/{service-page-project-switcher-ae6d1775.cjs.dev.js → service-page-project-switcher-c2446f31.cjs.dev.js} +1 -1
- package/dist/{service-page-project-switcher-65c553fa.esm.js → service-page-project-switcher-f7058ef7.esm.js} +1 -1
- package/dist/{version-tracker-e5b7b2ae.cjs.dev.js → version-tracker-0c067072.cjs.dev.js} +1 -1
- package/dist/{version-tracker-a3a9dd53.cjs.prod.js → version-tracker-abf7b029.cjs.prod.js} +1 -1
- package/dist/{version-tracker-4b5032f1.esm.js → version-tracker-d3961598.esm.js} +1 -1
- package/package.json +16 -16
|
@@ -72,9 +72,9 @@ import _someInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instanc
|
|
|
72
72
|
import { showUnexpectedErrorNotification } from '@commercetools-frontend/actions-global';
|
|
73
73
|
|
|
74
74
|
// NOTE: This string will be replaced on build time with the package version.
|
|
75
|
-
var applicationShellVersion = "22.14.
|
|
75
|
+
var applicationShellVersion = "22.14.3";
|
|
76
76
|
|
|
77
|
-
const RequestsInFlightLoader = /*#__PURE__*/lazy(() => import('./requests-in-flight-loader-
|
|
77
|
+
const RequestsInFlightLoader = /*#__PURE__*/lazy(() => import('./requests-in-flight-loader-9400ad17.esm.js' /* webpackChunkName: "requests-in-flight-loader" */));
|
|
78
78
|
|
|
79
79
|
// Attempt to load the `projectKey` from localStorage
|
|
80
80
|
function selectProjectKeyFromLocalStorage() {
|
|
@@ -554,7 +554,7 @@ FetchUser.displayName = 'FetchUser';
|
|
|
554
554
|
|
|
555
555
|
const Navbar = /*#__PURE__*/lazy(() => import('./navbar-e4559c93.esm.js' /* webpackChunkName: "navbar" */));
|
|
556
556
|
|
|
557
|
-
const ProjectContainer = /*#__PURE__*/lazy(() => import('./project-container-
|
|
557
|
+
const ProjectContainer = /*#__PURE__*/lazy(() => import('./project-container-8a000259.esm.js' /* webpackChunkName: "project-container" */));
|
|
558
558
|
|
|
559
559
|
const getSelectedDataLocaleForProject = projectLocales => {
|
|
560
560
|
const cachedDataLocale = window.localStorage.getItem(STORAGE_KEYS.SELECTED_DATA_LOCALE);
|
|
@@ -678,7 +678,7 @@ var pimIndexerStates = {
|
|
|
678
678
|
NOT_INDEXED: 'NOT_INDEXED'
|
|
679
679
|
};
|
|
680
680
|
|
|
681
|
-
const QuickAccess = /*#__PURE__*/lazy(() => import('./quick-access-
|
|
681
|
+
const QuickAccess = /*#__PURE__*/lazy(() => import('./quick-access-11418f11.esm.js' /* webpackChunkName: "quick-access" */));
|
|
682
682
|
|
|
683
683
|
const QuickAccessTrigger = props => {
|
|
684
684
|
const _useState = useState(false),
|
|
@@ -767,7 +767,7 @@ QuickAccessTrigger.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
767
767
|
} : {};
|
|
768
768
|
QuickAccessTrigger.displayName = 'QuickAccessTrigger';
|
|
769
769
|
|
|
770
|
-
const RedirectToLogout = /*#__PURE__*/lazy(() => import('./redirect-to-logout-
|
|
770
|
+
const RedirectToLogout = /*#__PURE__*/lazy(() => import('./redirect-to-logout-7fb8c085.esm.js' /* webpackChunkName: "redirect-to-logout" */));
|
|
771
771
|
|
|
772
772
|
const RedirectToProjectCreate = /*#__PURE__*/lazy(() => import('./redirect-to-project-create-c5323504.esm.js' /* webpackChunkName: "redirect-to-project-create" */));
|
|
773
773
|
|
|
@@ -917,7 +917,7 @@ const ThemeSwitcher = () => {
|
|
|
917
917
|
});
|
|
918
918
|
};
|
|
919
919
|
|
|
920
|
-
const VersionTracker = /*#__PURE__*/lazy(() => import('./version-tracker-
|
|
920
|
+
const VersionTracker = /*#__PURE__*/lazy(() => import('./version-tracker-d3961598.esm.js' /* webpackChunkName: "version-tracker" */));
|
|
921
921
|
|
|
922
922
|
function ownKeys$5(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
923
923
|
function _objectSpread$5(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context2 = ownKeys$5(Object(t), !0)).call(_context2, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context3 = ownKeys$5(Object(t))).call(_context3, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -1422,7 +1422,7 @@ const hasCachedAuthenticationState = () => {
|
|
|
1422
1422
|
return window.localStorage.getItem(STORAGE_KEYS.IS_AUTHENTICATED) === 'true';
|
|
1423
1423
|
};
|
|
1424
1424
|
|
|
1425
|
-
const OidcCallback = /*#__PURE__*/lazy(() => import('./oidc-callback-
|
|
1425
|
+
const OidcCallback = /*#__PURE__*/lazy(() => import('./oidc-callback-860db268.esm.js' /* webpackChunkName: "oidc-callback" */));
|
|
1426
1426
|
|
|
1427
1427
|
function ownKeys$3(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
1428
1428
|
function _objectSpread$3(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$3(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$3(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -1660,7 +1660,7 @@ ApplicationShell.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
1660
1660
|
ApplicationShell.displayName = 'ApplicationShell';
|
|
1661
1661
|
ApplicationShell.version = applicationShellVersion;
|
|
1662
1662
|
|
|
1663
|
-
const CustomViewDevHost = /*#__PURE__*/lazy(() => import('./custom-view-dev-host-
|
|
1663
|
+
const CustomViewDevHost = /*#__PURE__*/lazy(() => import('./custom-view-dev-host-945f058b.esm.js' /* webpackChunkName: "custom-view-dev-host" */));
|
|
1664
1664
|
|
|
1665
1665
|
function ownKeys$1(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
1666
1666
|
function _objectSpread$1(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$1(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$1(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -1790,10 +1790,17 @@ function StrictModeEnablement(props) {
|
|
|
1790
1790
|
});
|
|
1791
1791
|
}
|
|
1792
1792
|
}
|
|
1793
|
+
|
|
1794
|
+
/*
|
|
1795
|
+
During e2e tests, the Custom View template is built in production mode but still runs on localhost.
|
|
1796
|
+
Checking for local production mode is necessary for applying the development host URL,
|
|
1797
|
+
creating an environment for testing interaction with the Custom View template.
|
|
1798
|
+
*/
|
|
1793
1799
|
StrictModeEnablement.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1794
1800
|
enableReactStrictMode: _pt.bool,
|
|
1795
1801
|
children: _pt.node
|
|
1796
1802
|
} : {};
|
|
1803
|
+
const isLocalProdMode = process.env.NODE_ENV === 'production' && window.app.env === 'development';
|
|
1797
1804
|
function CustomViewShell(props) {
|
|
1798
1805
|
var _window$app$__DEVELOP;
|
|
1799
1806
|
const _useState = useState(),
|
|
@@ -1850,52 +1857,54 @@ function CustomViewShell(props) {
|
|
|
1850
1857
|
showLogo: true
|
|
1851
1858
|
});
|
|
1852
1859
|
}
|
|
1853
|
-
const hostUrl = process.env.NODE_ENV === 'development' ? (_window$app$__DEVELOP = window.app.__DEVELOPMENT__) === null || _window$app$__DEVELOP === void 0 ? void 0 : _window$app$__DEVELOP.customViewHostUrl : hostContext.hostUrl;
|
|
1854
|
-
return
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
children: jsxs(CustomViewShellAuthenticated, {
|
|
1866
|
-
dataLocale: hostContext.dataLocale,
|
|
1867
|
-
environment: window.app,
|
|
1868
|
-
messages: props.applicationMessages,
|
|
1869
|
-
projectKey: hostContext.projectKey,
|
|
1860
|
+
const hostUrl = process.env.NODE_ENV === 'development' || isLocalProdMode ? (_window$app$__DEVELOP = window.app.__DEVELOPMENT__) === null || _window$app$__DEVELOP === void 0 ? void 0 : _window$app$__DEVELOP.customViewHostUrl : hostContext.hostUrl;
|
|
1861
|
+
return jsxs(Fragment, {
|
|
1862
|
+
children: [jsx(GlobalStyles, {}), jsx(ApplicationShellProvider, {
|
|
1863
|
+
environment: window.app,
|
|
1864
|
+
applicationMessages: props.applicationMessages,
|
|
1865
|
+
apolloClient: props.apolloClient,
|
|
1866
|
+
children: _ref => {
|
|
1867
|
+
let isAuthenticated = _ref.isAuthenticated;
|
|
1868
|
+
if (isAuthenticated) {
|
|
1869
|
+
var _context;
|
|
1870
|
+
return jsx(CustomViewContextProvider, {
|
|
1871
|
+
hostUrl: hostUrl,
|
|
1870
1872
|
customViewConfig: hostContext.customViewConfig,
|
|
1871
|
-
children:
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
let locale = _ref2.locale,
|
|
1890
|
-
messages = _ref2.messages;
|
|
1891
|
-
return jsx(ConfigureIntlProvider, {
|
|
1892
|
-
locale: locale,
|
|
1893
|
-
messages: messages,
|
|
1894
|
-
children: jsx(PageUnauthorized, {})
|
|
1873
|
+
children: jsxs(CustomViewShellAuthenticated, {
|
|
1874
|
+
dataLocale: hostContext.dataLocale,
|
|
1875
|
+
environment: window.app,
|
|
1876
|
+
messages: props.applicationMessages,
|
|
1877
|
+
projectKey: hostContext.projectKey,
|
|
1878
|
+
customViewConfig: hostContext.customViewConfig,
|
|
1879
|
+
children: [jsx(PortalsContainer
|
|
1880
|
+
// @ts-ignore
|
|
1881
|
+
, {
|
|
1882
|
+
ref: layoutRefs
|
|
1883
|
+
}), jsx(NotificationsContainer, {
|
|
1884
|
+
notificationsGlobalRef: notificationsGlobalRef,
|
|
1885
|
+
notificationsPageRef: notificationsPageRef
|
|
1886
|
+
}), jsx(Route, {
|
|
1887
|
+
path: _concatInstanceProperty(_context = "/custom-views/".concat(hostContext.customViewConfig.id, "/projects/")).call(_context, hostContext.projectKey),
|
|
1888
|
+
children: props.children
|
|
1889
|
+
})]
|
|
1890
|
+
})
|
|
1895
1891
|
});
|
|
1896
1892
|
}
|
|
1897
|
-
|
|
1898
|
-
|
|
1893
|
+
return jsx(AsyncLocaleData, {
|
|
1894
|
+
locale: browserLocale,
|
|
1895
|
+
applicationMessages: props.applicationMessages,
|
|
1896
|
+
children: _ref2 => {
|
|
1897
|
+
let locale = _ref2.locale,
|
|
1898
|
+
messages = _ref2.messages;
|
|
1899
|
+
return jsx(ConfigureIntlProvider, {
|
|
1900
|
+
locale: locale,
|
|
1901
|
+
messages: messages,
|
|
1902
|
+
children: jsx(PageUnauthorized, {})
|
|
1903
|
+
});
|
|
1904
|
+
}
|
|
1905
|
+
});
|
|
1906
|
+
}
|
|
1907
|
+
})]
|
|
1899
1908
|
});
|
|
1900
1909
|
}
|
|
1901
1910
|
CustomViewShell.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
@@ -1905,7 +1914,7 @@ CustomViewShell.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
1905
1914
|
children: _pt.node.isRequired
|
|
1906
1915
|
} : {};
|
|
1907
1916
|
const CustomViewShellWrapper = props => {
|
|
1908
|
-
if (process.env.NODE_ENV === 'development' && !props.disableDevHost) {
|
|
1917
|
+
if ((process.env.NODE_ENV === 'development' || isLocalProdMode) && !props.disableDevHost) {
|
|
1909
1918
|
return jsx(StrictModeEnablement, {
|
|
1910
1919
|
enableReactStrictMode: props.enableReactStrictMode,
|
|
1911
1920
|
children: jsx(Suspense, {
|
|
@@ -112,9 +112,9 @@ var _JSON$stringify__default = /*#__PURE__*/_interopDefault(_JSON$stringify);
|
|
|
112
112
|
var _someInstanceProperty__default = /*#__PURE__*/_interopDefault(_someInstanceProperty);
|
|
113
113
|
|
|
114
114
|
// NOTE: This string will be replaced on build time with the package version.
|
|
115
|
-
var applicationShellVersion = "22.14.
|
|
115
|
+
var applicationShellVersion = "22.14.3";
|
|
116
116
|
|
|
117
|
-
const RequestsInFlightLoader = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./requests-in-flight-loader-
|
|
117
|
+
const RequestsInFlightLoader = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./requests-in-flight-loader-7580242c.cjs.prod.js' /* webpackChunkName: "requests-in-flight-loader" */); }));
|
|
118
118
|
|
|
119
119
|
// Attempt to load the `projectKey` from localStorage
|
|
120
120
|
function selectProjectKeyFromLocalStorage() {
|
|
@@ -561,7 +561,7 @@ FetchUser.displayName = 'FetchUser';
|
|
|
561
561
|
|
|
562
562
|
const Navbar = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./navbar-be902d73.cjs.prod.js' /* webpackChunkName: "navbar" */); }));
|
|
563
563
|
|
|
564
|
-
const ProjectContainer = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./project-container-
|
|
564
|
+
const ProjectContainer = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./project-container-0b7034a5.cjs.prod.js' /* webpackChunkName: "project-container" */); }));
|
|
565
565
|
|
|
566
566
|
const getSelectedDataLocaleForProject = projectLocales => {
|
|
567
567
|
const cachedDataLocale = window.localStorage.getItem(constants.STORAGE_KEYS.SELECTED_DATA_LOCALE);
|
|
@@ -673,7 +673,7 @@ var pimIndexerStates = {
|
|
|
673
673
|
NOT_INDEXED: 'NOT_INDEXED'
|
|
674
674
|
};
|
|
675
675
|
|
|
676
|
-
const QuickAccess = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./quick-access-
|
|
676
|
+
const QuickAccess = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./quick-access-ecbaedf9.cjs.prod.js' /* webpackChunkName: "quick-access" */); }));
|
|
677
677
|
|
|
678
678
|
const QuickAccessTrigger = props => {
|
|
679
679
|
const _useState = react.useState(false),
|
|
@@ -760,7 +760,7 @@ const QuickAccessTrigger = props => {
|
|
|
760
760
|
QuickAccessTrigger.propTypes = {};
|
|
761
761
|
QuickAccessTrigger.displayName = 'QuickAccessTrigger';
|
|
762
762
|
|
|
763
|
-
const RedirectToLogout = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./redirect-to-logout-
|
|
763
|
+
const RedirectToLogout = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./redirect-to-logout-2418d058.cjs.prod.js' /* webpackChunkName: "redirect-to-logout" */); }));
|
|
764
764
|
|
|
765
765
|
const RedirectToProjectCreate = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./redirect-to-project-create-2266c427.cjs.prod.js' /* webpackChunkName: "redirect-to-project-create" */); }));
|
|
766
766
|
|
|
@@ -886,7 +886,7 @@ const ThemeSwitcher = () => {
|
|
|
886
886
|
});
|
|
887
887
|
};
|
|
888
888
|
|
|
889
|
-
const VersionTracker = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./version-tracker-
|
|
889
|
+
const VersionTracker = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./version-tracker-abf7b029.cjs.prod.js' /* webpackChunkName: "version-tracker" */); }));
|
|
890
890
|
|
|
891
891
|
function ownKeys$5(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
892
892
|
function _objectSpread$5(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context2 = ownKeys$5(Object(t), !0)).call(_context2, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context3 = ownKeys$5(Object(t))).call(_context3, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
|
|
@@ -1355,7 +1355,7 @@ const hasCachedAuthenticationState = () => {
|
|
|
1355
1355
|
return window.localStorage.getItem(constants.STORAGE_KEYS.IS_AUTHENTICATED) === 'true';
|
|
1356
1356
|
};
|
|
1357
1357
|
|
|
1358
|
-
const OidcCallback = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./oidc-callback-
|
|
1358
|
+
const OidcCallback = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./oidc-callback-25005367.cjs.prod.js' /* webpackChunkName: "oidc-callback" */); }));
|
|
1359
1359
|
|
|
1360
1360
|
function ownKeys$3(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
1361
1361
|
function _objectSpread$3(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$3(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$3(Object(t))).call(_context2, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
|
|
@@ -1571,6 +1571,8 @@ ApplicationShell.propTypes = {};
|
|
|
1571
1571
|
ApplicationShell.displayName = 'ApplicationShell';
|
|
1572
1572
|
ApplicationShell.version = applicationShellVersion;
|
|
1573
1573
|
|
|
1574
|
+
const CustomViewDevHost = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./custom-view-dev-host-98e7ce7d.cjs.prod.js' /* webpackChunkName: "custom-view-dev-host" */); }));
|
|
1575
|
+
|
|
1574
1576
|
function ownKeys$1(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
1575
1577
|
function _objectSpread$1(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$1(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$1(Object(t))).call(_context2, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
|
|
1576
1578
|
const CustomViewWithPermissionCheck = props => {
|
|
@@ -1689,8 +1691,16 @@ function StrictModeEnablement(props) {
|
|
|
1689
1691
|
});
|
|
1690
1692
|
}
|
|
1691
1693
|
}
|
|
1694
|
+
|
|
1695
|
+
/*
|
|
1696
|
+
During e2e tests, the Custom View template is built in production mode but still runs on localhost.
|
|
1697
|
+
Checking for local production mode is necessary for applying the development host URL,
|
|
1698
|
+
creating an environment for testing interaction with the Custom View template.
|
|
1699
|
+
*/
|
|
1692
1700
|
StrictModeEnablement.propTypes = {};
|
|
1701
|
+
const isLocalProdMode = window.app.env === 'development';
|
|
1693
1702
|
function CustomViewShell(props) {
|
|
1703
|
+
var _window$app$__DEVELOP;
|
|
1694
1704
|
const _useState = react.useState(),
|
|
1695
1705
|
_useState2 = _slicedToArray(_useState, 2),
|
|
1696
1706
|
hostContext = _useState2[0],
|
|
@@ -1745,56 +1755,73 @@ function CustomViewShell(props) {
|
|
|
1745
1755
|
showLogo: true
|
|
1746
1756
|
});
|
|
1747
1757
|
}
|
|
1748
|
-
const hostUrl = hostContext.hostUrl;
|
|
1749
|
-
return jsxRuntime.
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
children: jsxRuntime.jsxs(CustomViewShellAuthenticated, {
|
|
1761
|
-
dataLocale: hostContext.dataLocale,
|
|
1762
|
-
environment: window.app,
|
|
1763
|
-
messages: props.applicationMessages,
|
|
1764
|
-
projectKey: hostContext.projectKey,
|
|
1758
|
+
const hostUrl = isLocalProdMode ? (_window$app$__DEVELOP = window.app.__DEVELOPMENT__) === null || _window$app$__DEVELOP === void 0 ? void 0 : _window$app$__DEVELOP.customViewHostUrl : hostContext.hostUrl;
|
|
1759
|
+
return jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
1760
|
+
children: [jsxRuntime.jsx(GlobalStyles, {}), jsxRuntime.jsx(ApplicationShellProvider, {
|
|
1761
|
+
environment: window.app,
|
|
1762
|
+
applicationMessages: props.applicationMessages,
|
|
1763
|
+
apolloClient: props.apolloClient,
|
|
1764
|
+
children: _ref => {
|
|
1765
|
+
let isAuthenticated = _ref.isAuthenticated;
|
|
1766
|
+
if (isAuthenticated) {
|
|
1767
|
+
var _context;
|
|
1768
|
+
return jsxRuntime.jsx(applicationShellConnectors.CustomViewContextProvider, {
|
|
1769
|
+
hostUrl: hostUrl,
|
|
1765
1770
|
customViewConfig: hostContext.customViewConfig,
|
|
1766
|
-
children:
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
let locale = _ref2.locale,
|
|
1785
|
-
messages = _ref2.messages;
|
|
1786
|
-
return jsxRuntime.jsx(ConfigureIntlProvider, {
|
|
1787
|
-
locale: locale,
|
|
1788
|
-
messages: messages,
|
|
1789
|
-
children: jsxRuntime.jsx(applicationComponents.PageUnauthorized, {})
|
|
1771
|
+
children: jsxRuntime.jsxs(CustomViewShellAuthenticated, {
|
|
1772
|
+
dataLocale: hostContext.dataLocale,
|
|
1773
|
+
environment: window.app,
|
|
1774
|
+
messages: props.applicationMessages,
|
|
1775
|
+
projectKey: hostContext.projectKey,
|
|
1776
|
+
customViewConfig: hostContext.customViewConfig,
|
|
1777
|
+
children: [jsxRuntime.jsx(applicationComponents.PortalsContainer
|
|
1778
|
+
// @ts-ignore
|
|
1779
|
+
, {
|
|
1780
|
+
ref: layoutRefs
|
|
1781
|
+
}), jsxRuntime.jsx(NotificationsContainer, {
|
|
1782
|
+
notificationsGlobalRef: notificationsGlobalRef,
|
|
1783
|
+
notificationsPageRef: notificationsPageRef
|
|
1784
|
+
}), jsxRuntime.jsx(reactRouterDom.Route, {
|
|
1785
|
+
path: _concatInstanceProperty__default["default"](_context = "/custom-views/".concat(hostContext.customViewConfig.id, "/projects/")).call(_context, hostContext.projectKey),
|
|
1786
|
+
children: props.children
|
|
1787
|
+
})]
|
|
1788
|
+
})
|
|
1790
1789
|
});
|
|
1791
1790
|
}
|
|
1792
|
-
|
|
1793
|
-
|
|
1791
|
+
return jsxRuntime.jsx(i18n.AsyncLocaleData, {
|
|
1792
|
+
locale: browserLocale,
|
|
1793
|
+
applicationMessages: props.applicationMessages,
|
|
1794
|
+
children: _ref2 => {
|
|
1795
|
+
let locale = _ref2.locale,
|
|
1796
|
+
messages = _ref2.messages;
|
|
1797
|
+
return jsxRuntime.jsx(ConfigureIntlProvider, {
|
|
1798
|
+
locale: locale,
|
|
1799
|
+
messages: messages,
|
|
1800
|
+
children: jsxRuntime.jsx(applicationComponents.PageUnauthorized, {})
|
|
1801
|
+
});
|
|
1802
|
+
}
|
|
1803
|
+
});
|
|
1804
|
+
}
|
|
1805
|
+
})]
|
|
1794
1806
|
});
|
|
1795
1807
|
}
|
|
1796
1808
|
CustomViewShell.propTypes = {};
|
|
1797
1809
|
const CustomViewShellWrapper = props => {
|
|
1810
|
+
if ((isLocalProdMode) && !props.disableDevHost) {
|
|
1811
|
+
return jsxRuntime.jsx(StrictModeEnablement, {
|
|
1812
|
+
enableReactStrictMode: props.enableReactStrictMode,
|
|
1813
|
+
children: jsxRuntime.jsx(react.Suspense, {
|
|
1814
|
+
fallback: jsxRuntime.jsx(ApplicationLoader, {}),
|
|
1815
|
+
children: jsxRuntime.jsx(CustomViewDevHost, {
|
|
1816
|
+
applicationMessages: props.applicationMessages,
|
|
1817
|
+
children: jsxRuntime.jsx(CustomViewShell, {
|
|
1818
|
+
applicationMessages: props.applicationMessages,
|
|
1819
|
+
children: props.children
|
|
1820
|
+
})
|
|
1821
|
+
})
|
|
1822
|
+
})
|
|
1823
|
+
});
|
|
1824
|
+
}
|
|
1798
1825
|
return jsxRuntime.jsx(StrictModeEnablement, {
|
|
1799
1826
|
enableReactStrictMode: props.enableReactStrictMode,
|
|
1800
1827
|
children: jsxRuntime.jsx(CustomViewShell, {
|
|
@@ -18,7 +18,7 @@ var icons = require('@commercetools-uikit/icons');
|
|
|
18
18
|
var notifications = require('@commercetools-uikit/notifications');
|
|
19
19
|
var Spacings = require('@commercetools-uikit/spacings');
|
|
20
20
|
var Text = require('@commercetools-uikit/text');
|
|
21
|
-
var dist_commercetoolsFrontendApplicationShell = require('./index-
|
|
21
|
+
var dist_commercetoolsFrontendApplicationShell = require('./index-c29f8aa0.cjs.prod.js');
|
|
22
22
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
23
23
|
require('@babel/runtime-corejs3/core-js-stable/object/keys');
|
|
24
24
|
require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
|
|
@@ -18,7 +18,7 @@ var icons = require('@commercetools-uikit/icons');
|
|
|
18
18
|
var notifications = require('@commercetools-uikit/notifications');
|
|
19
19
|
var Spacings = require('@commercetools-uikit/spacings');
|
|
20
20
|
var Text = require('@commercetools-uikit/text');
|
|
21
|
-
var dist_commercetoolsFrontendApplicationShell = require('./index-
|
|
21
|
+
var dist_commercetoolsFrontendApplicationShell = require('./index-0d0e6d8b.cjs.dev.js');
|
|
22
22
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
23
23
|
require('@babel/runtime-corejs3/core-js-stable/object/keys');
|
|
24
24
|
require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
|
|
@@ -16,7 +16,7 @@ import { AngleLeftIcon } from '@commercetools-uikit/icons';
|
|
|
16
16
|
import { ContentNotification } from '@commercetools-uikit/notifications';
|
|
17
17
|
import Spacings from '@commercetools-uikit/spacings';
|
|
18
18
|
import Text from '@commercetools-uikit/text';
|
|
19
|
-
import { C as ConfigureIntlProvider } from './index-
|
|
19
|
+
import { C as ConfigureIntlProvider } from './index-35f9f7c2.esm.js';
|
|
20
20
|
import { jsx, jsxs } from '@emotion/react/jsx-runtime';
|
|
21
21
|
import '@babel/runtime-corejs3/core-js-stable/object/keys';
|
|
22
22
|
import '@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols';
|
package/dist/{project-container-9cfe3aa6.cjs.prod.js → project-container-0b7034a5.cjs.prod.js}
RENAMED
|
@@ -12,7 +12,7 @@ var constants = require('@commercetools-frontend/constants');
|
|
|
12
12
|
var reactNotifications = require('@commercetools-frontend/react-notifications');
|
|
13
13
|
var oidc = require('./oidc-b070ff6c.cjs.prod.js');
|
|
14
14
|
var applicationEntryPoint = require('./application-entry-point-bde45acf.cjs.prod.js');
|
|
15
|
-
var dist_commercetoolsFrontendApplicationShell = require('./index-
|
|
15
|
+
var dist_commercetoolsFrontendApplicationShell = require('./index-c29f8aa0.cjs.prod.js');
|
|
16
16
|
var _Object$keys = require('@babel/runtime-corejs3/core-js-stable/object/keys');
|
|
17
17
|
var _Object$getOwnPropertySymbols = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
|
|
18
18
|
var _filterInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/filter');
|
|
@@ -180,13 +180,13 @@ const LocaleSwitcher = props => {
|
|
|
180
180
|
};
|
|
181
181
|
LocaleSwitcher.propTypes = {};
|
|
182
182
|
|
|
183
|
-
const ProjectExpired = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./project-expired-
|
|
183
|
+
const ProjectExpired = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./project-expired-abde10a9.cjs.prod.js' /* webpackChunkName: "project-expired" */); }));
|
|
184
184
|
|
|
185
|
-
const ProjectNotFound = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./project-not-found-
|
|
185
|
+
const ProjectNotFound = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./project-not-found-aeb6b4e5.cjs.prod.js' /* webpackChunkName: "project-not-found" */); }));
|
|
186
186
|
|
|
187
|
-
const ProjectNotInitialized = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./project-not-initialized-
|
|
187
|
+
const ProjectNotInitialized = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./project-not-initialized-e8c5fae6.cjs.prod.js' /* webpackChunkName: "project-not-initialized" */); }));
|
|
188
188
|
|
|
189
|
-
const ProjectSuspended = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./project-suspended-
|
|
189
|
+
const ProjectSuspended = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./project-suspended-1f94c722.cjs.prod.js' /* webpackChunkName: "project-suspended" */); }));
|
|
190
190
|
|
|
191
191
|
var messages = reactIntl.defineMessages({
|
|
192
192
|
trialDaysLeft: {
|
package/dist/{project-container-c014c0c5.cjs.dev.js → project-container-22dd3ee8.cjs.dev.js}
RENAMED
|
@@ -12,7 +12,7 @@ var constants = require('@commercetools-frontend/constants');
|
|
|
12
12
|
var reactNotifications = require('@commercetools-frontend/react-notifications');
|
|
13
13
|
var oidc = require('./oidc-7c48215c.cjs.dev.js');
|
|
14
14
|
var applicationEntryPoint = require('./application-entry-point-fd6f9973.cjs.dev.js');
|
|
15
|
-
var dist_commercetoolsFrontendApplicationShell = require('./index-
|
|
15
|
+
var dist_commercetoolsFrontendApplicationShell = require('./index-0d0e6d8b.cjs.dev.js');
|
|
16
16
|
var _Object$keys = require('@babel/runtime-corejs3/core-js-stable/object/keys');
|
|
17
17
|
var _Object$getOwnPropertySymbols = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
|
|
18
18
|
var _filterInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/filter');
|
|
@@ -191,13 +191,13 @@ LocaleSwitcher.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
191
191
|
availableLocales: _pt__default["default"].arrayOf(_pt__default["default"].string).isRequired
|
|
192
192
|
} : {};
|
|
193
193
|
|
|
194
|
-
const ProjectExpired = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./project-expired-
|
|
194
|
+
const ProjectExpired = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./project-expired-7e9f4a37.cjs.dev.js' /* webpackChunkName: "project-expired" */); }));
|
|
195
195
|
|
|
196
|
-
const ProjectNotFound = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./project-not-found-
|
|
196
|
+
const ProjectNotFound = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./project-not-found-fcb9f62d.cjs.dev.js' /* webpackChunkName: "project-not-found" */); }));
|
|
197
197
|
|
|
198
|
-
const ProjectNotInitialized = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./project-not-initialized-
|
|
198
|
+
const ProjectNotInitialized = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./project-not-initialized-718a18d0.cjs.dev.js' /* webpackChunkName: "project-not-initialized" */); }));
|
|
199
199
|
|
|
200
|
-
const ProjectSuspended = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./project-suspended-
|
|
200
|
+
const ProjectSuspended = /*#__PURE__*/react.lazy(() => Promise.resolve().then(function () { return require('./project-suspended-d028eced.cjs.dev.js' /* webpackChunkName: "project-suspended" */); }));
|
|
201
201
|
|
|
202
202
|
var messages = reactIntl.defineMessages({
|
|
203
203
|
trialDaysLeft: {
|
|
@@ -10,7 +10,7 @@ import { STORAGE_KEYS, LOGOUT_REASONS, DOMAINS } from '@commercetools-frontend/c
|
|
|
10
10
|
import { Notifier } from '@commercetools-frontend/react-notifications';
|
|
11
11
|
import { C as CONTAINERS, S as SUSPENSION_REASONS } from './oidc-da8526e3.esm.js';
|
|
12
12
|
import { A as ApplicationEntryPoint } from './application-entry-point-3613e4a5.esm.js';
|
|
13
|
-
import { a as RedirectToProjectCreate, E as ErrorBoundary, b as ApplicationLoader, F as FetchProject, P as ProjectDataLocale } from './index-
|
|
13
|
+
import { a as RedirectToProjectCreate, E as ErrorBoundary, b as ApplicationLoader, F as FetchProject, P as ProjectDataLocale } from './index-35f9f7c2.esm.js';
|
|
14
14
|
import _Object$keys from '@babel/runtime-corejs3/core-js-stable/object/keys';
|
|
15
15
|
import _Object$getOwnPropertySymbols from '@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols';
|
|
16
16
|
import _filterInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/filter';
|
|
@@ -172,13 +172,13 @@ LocaleSwitcher.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
172
172
|
availableLocales: _pt.arrayOf(_pt.string).isRequired
|
|
173
173
|
} : {};
|
|
174
174
|
|
|
175
|
-
const ProjectExpired = /*#__PURE__*/lazy(() => import('./project-expired-
|
|
175
|
+
const ProjectExpired = /*#__PURE__*/lazy(() => import('./project-expired-175f09e7.esm.js' /* webpackChunkName: "project-expired" */));
|
|
176
176
|
|
|
177
|
-
const ProjectNotFound = /*#__PURE__*/lazy(() => import('./project-not-found-
|
|
177
|
+
const ProjectNotFound = /*#__PURE__*/lazy(() => import('./project-not-found-89cc6d97.esm.js' /* webpackChunkName: "project-not-found" */));
|
|
178
178
|
|
|
179
|
-
const ProjectNotInitialized = /*#__PURE__*/lazy(() => import('./project-not-initialized-
|
|
179
|
+
const ProjectNotInitialized = /*#__PURE__*/lazy(() => import('./project-not-initialized-1e4f45dc.esm.js' /* webpackChunkName: "project-not-initialized" */));
|
|
180
180
|
|
|
181
|
-
const ProjectSuspended = /*#__PURE__*/lazy(() => import('./project-suspended-
|
|
181
|
+
const ProjectSuspended = /*#__PURE__*/lazy(() => import('./project-suspended-0d49681f.esm.js' /* webpackChunkName: "project-suspended" */));
|
|
182
182
|
|
|
183
183
|
var messages = defineMessages({
|
|
184
184
|
trialDaysLeft: {
|
|
@@ -10,12 +10,12 @@ 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-f7058ef7.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-35f9f7c2.esm.js';
|
|
19
19
|
import 'prop-types';
|
|
20
20
|
import 'react';
|
|
21
21
|
import './index-89e5711a.esm.js';
|
|
@@ -12,12 +12,12 @@ 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-c2446f31.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-0d0e6d8b.cjs.dev.js');
|
|
21
21
|
require('prop-types');
|
|
22
22
|
require('react');
|
|
23
23
|
require('./index-37a25e51.cjs.dev.js');
|
|
@@ -12,12 +12,12 @@ 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-3343ea60.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-c29f8aa0.cjs.prod.js');
|
|
21
21
|
require('prop-types');
|
|
22
22
|
require('react');
|
|
23
23
|
require('./index-6cd618cc.cjs.prod.js');
|
|
@@ -10,12 +10,12 @@ 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 ProjectNotFoundSVG from '@commercetools-frontend/assets/images/folder-full-locked.svg';
|
|
13
|
-
import { S as ServicePageProjectSwitcher } from './service-page-project-switcher-
|
|
13
|
+
import { S as ServicePageProjectSwitcher } from './service-page-project-switcher-f7058ef7.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-35f9f7c2.esm.js';
|
|
19
19
|
import 'prop-types';
|
|
20
20
|
import 'react';
|
|
21
21
|
import './index-89e5711a.esm.js';
|
package/dist/{project-not-found-a2e74c89.cjs.prod.js → project-not-found-aeb6b4e5.cjs.prod.js}
RENAMED
|
@@ -12,12 +12,12 @@ 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 ProjectNotFoundSVG = require('@commercetools-frontend/assets/images/folder-full-locked.svg');
|
|
15
|
-
var servicePageProjectSwitcher = require('./service-page-project-switcher-
|
|
15
|
+
var servicePageProjectSwitcher = require('./service-page-project-switcher-3343ea60.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-c29f8aa0.cjs.prod.js');
|
|
21
21
|
require('prop-types');
|
|
22
22
|
require('react');
|
|
23
23
|
require('./index-6cd618cc.cjs.prod.js');
|
package/dist/{project-not-found-96cdb368.cjs.dev.js → project-not-found-fcb9f62d.cjs.dev.js}
RENAMED
|
@@ -12,12 +12,12 @@ 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 ProjectNotFoundSVG = require('@commercetools-frontend/assets/images/folder-full-locked.svg');
|
|
15
|
-
var servicePageProjectSwitcher = require('./service-page-project-switcher-
|
|
15
|
+
var servicePageProjectSwitcher = require('./service-page-project-switcher-c2446f31.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-0d0e6d8b.cjs.dev.js');
|
|
21
21
|
require('prop-types');
|
|
22
22
|
require('react');
|
|
23
23
|
require('./index-37a25e51.cjs.dev.js');
|