@commercetools-frontend/application-shell 27.5.2 → 27.5.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-c87294b0.cjs.dev.js → application-entry-point-BA5VbxIc.cjs.dev.js} +5 -5
- package/dist/{application-entry-point-10a5e1a5.esm.js → application-entry-point-ClzPzijC.esm.js} +2 -2
- package/dist/{application-entry-point-8c4b8e53.cjs.prod.js → application-entry-point-DCc9mzT_.cjs.prod.js} +5 -5
- package/dist/{box-4857aa65.cjs.dev.js → box-4tJmU3_W.cjs.dev.js} +4 -4
- package/dist/{box-09bf50e1.cjs.prod.js → box-4tJmU3_W.cjs.prod.js} +4 -4
- package/dist/{box-9cf180c1.esm.js → box-BXyJiuSa.esm.js} +1 -1
- package/dist/{cart-b0044279.cjs.dev.js → cart-729S0a9t.cjs.dev.js} +4 -4
- package/dist/{cart-645074db.cjs.prod.js → cart-729S0a9t.cjs.prod.js} +4 -4
- package/dist/{cart-bb491ca1.esm.js → cart-xlAkv0aT.esm.js} +1 -1
- package/dist/commercetools-frontend-application-shell.cjs.dev.js +30 -32
- package/dist/commercetools-frontend-application-shell.cjs.prod.js +30 -32
- package/dist/commercetools-frontend-application-shell.esm.js +4 -4
- package/dist/{connected-square-2d046cb8.cjs.prod.js → connected-square-C1WU9BVu.cjs.dev.js} +4 -4
- package/dist/{connected-square-a2fea344.cjs.dev.js → connected-square-C1WU9BVu.cjs.prod.js} +4 -4
- package/dist/{connected-square-fe6a790f.esm.js → connected-square-Cbji-E55.esm.js} +1 -1
- package/dist/{custom-view-dev-host-1987d589.esm.js → custom-view-dev-host-CBMjNmL_.esm.js} +4 -4
- package/dist/{custom-view-dev-host-f49e6555.cjs.dev.js → custom-view-dev-host-CIp-w2vx.cjs.prod.js} +18 -18
- package/dist/{custom-view-dev-host-104801a8.cjs.prod.js → custom-view-dev-host-DVUsQqxA.cjs.dev.js} +18 -18
- package/dist/{error-apologizer-84dc825c.cjs.prod.js → error-apologizer-BOXlzr0J.cjs.dev.js} +5 -5
- package/dist/{error-apologizer-f6793491.cjs.dev.js → error-apologizer-BOXlzr0J.cjs.prod.js} +5 -5
- package/dist/{error-apologizer-76f087f4.esm.js → error-apologizer-BZx6w4kU.esm.js} +1 -1
- package/dist/{gear-ee90ba83.esm.js → gear-3UwANbiU.esm.js} +1 -1
- package/dist/{gear-4f7cde98.cjs.prod.js → gear-ChG3hBKf.cjs.dev.js} +4 -4
- package/dist/{gear-f2668579.cjs.dev.js → gear-ChG3hBKf.cjs.prod.js} +4 -4
- package/dist/{get-mc-origin-8f7a578c.cjs.prod.js → get-mc-origin-_NmCItC0.cjs.dev.js} +4 -4
- package/dist/{get-mc-origin-a86dff20.cjs.dev.js → get-mc-origin-_NmCItC0.cjs.prod.js} +4 -4
- package/dist/{heart-01f01038.cjs.prod.js → heart-NMdIq3_v.cjs.dev.js} +4 -4
- package/dist/{heart-e49dd92a.cjs.dev.js → heart-NMdIq3_v.cjs.prod.js} +4 -4
- package/dist/{heart-86f780f3.esm.js → heart-wVW-_6g7.esm.js} +1 -1
- package/dist/{index-86039df7.esm.js → index-A1guGz9o.esm.js} +4 -4
- package/dist/{index-245e2980.cjs.prod.js → index-B1qlvYs8.cjs.prod.js} +15 -15
- package/dist/{index-a93ddc7f.cjs.dev.js → index-B8BEzpzJ.cjs.dev.js} +77 -77
- package/dist/{index-614accc4.cjs.dev.js → index-Di6my-Pi.cjs.dev.js} +15 -15
- package/dist/{index-88d480f4.cjs.prod.js → index-TsSkBxMJ.cjs.prod.js} +77 -77
- package/dist/{index-c5f240e9.esm.js → index-_uv48GB6.esm.js} +26 -26
- package/dist/{list-with-search-d2901e34.esm.js → list-with-search-BR2LHaVL.esm.js} +1 -1
- package/dist/{list-with-search-027ab8eb.cjs.dev.js → list-with-search-D5MULvFD.cjs.dev.js} +4 -4
- package/dist/{list-with-search-6462447e.cjs.prod.js → list-with-search-D5MULvFD.cjs.prod.js} +4 -4
- package/dist/{navbar-9a40ead9.esm.js → navbar-Ce_9gl4P.esm.js} +23 -23
- package/dist/{navbar-c51e0607.cjs.dev.js → navbar-DQrQNRTd.cjs.dev.js} +89 -89
- package/dist/{navbar-e287ce25.cjs.prod.js → navbar-pofzN_Jd.cjs.prod.js} +89 -89
- package/dist/{oidc-8827f9fe.cjs.dev.js → oidc-CB4raOTc.cjs.dev.js} +6 -11
- package/dist/{oidc-d74e6aa2.cjs.prod.js → oidc-CB4raOTc.cjs.prod.js} +6 -11
- package/dist/{oidc-b2520905.esm.js → oidc-L-d-DX4J.esm.js} +2 -7
- package/dist/{oidc-callback-0812457e.cjs.prod.js → oidc-callback-BnmeifSC.cjs.prod.js} +21 -21
- package/dist/{oidc-callback-305d2be2.cjs.dev.js → oidc-callback-DF_a_cff.cjs.dev.js} +21 -21
- package/dist/{oidc-callback-43a07d31.esm.js → oidc-callback-DelrTHRw.esm.js} +6 -6
- package/dist/{paperclip-a820ee87.esm.js → paperclip-C015tsHx.esm.js} +1 -1
- package/dist/{paperclip-005ec544.cjs.dev.js → paperclip-C0p8mWla.cjs.dev.js} +4 -4
- package/dist/{paperclip-fe72a70d.cjs.prod.js → paperclip-C0p8mWla.cjs.prod.js} +4 -4
- package/dist/{plugin-81ae1044.cjs.prod.js → plugin-BTWLp3pQ.cjs.dev.js} +4 -4
- package/dist/{plugin-feb22442.cjs.dev.js → plugin-BTWLp3pQ.cjs.prod.js} +4 -4
- package/dist/{plugin-c7bf9e53.esm.js → plugin-CbdhEahs.esm.js} +1 -1
- package/dist/{project-container-470573ac.esm.js → project-container-03Va5HMJ.esm.js} +10 -10
- package/dist/{project-container-6b164f33.cjs.prod.js → project-container-BtTcmn5s.cjs.prod.js} +25 -25
- package/dist/{project-container-65592fba.cjs.dev.js → project-container-ByreXOSS.cjs.dev.js} +25 -25
- package/dist/{project-expired-0dad5adb.esm.js → project-expired-CwhVvrjd.esm.js} +6 -6
- package/dist/{project-expired-81ffae97.cjs.dev.js → project-expired-DbygFsRt.cjs.dev.js} +10 -10
- package/dist/{project-expired-b6ad00e2.cjs.prod.js → project-expired-DxbSAzc-.cjs.prod.js} +10 -10
- package/dist/{project-not-found-703959cb.cjs.dev.js → project-not-found-B382v9g8.cjs.prod.js} +10 -10
- package/dist/{project-not-found-fad7841a.cjs.prod.js → project-not-found-B_ZX0KSF.cjs.dev.js} +10 -10
- package/dist/{project-not-found-ea6452ad.esm.js → project-not-found-EyzSEDMi.esm.js} +6 -6
- package/dist/{project-not-initialized-cba458ba.cjs.dev.js → project-not-initialized-BrIsrCcH.cjs.prod.js} +10 -10
- package/dist/{project-not-initialized-4d79acfc.cjs.prod.js → project-not-initialized-CE0RpJOi.cjs.dev.js} +10 -10
- package/dist/{project-not-initialized-5a4d3bb1.esm.js → project-not-initialized-Yi5ArENH.esm.js} +6 -6
- package/dist/{project-suspended-05090a5b.cjs.dev.js → project-suspended-CFgux6uB.cjs.dev.js} +10 -10
- package/dist/{project-suspended-369f304b.esm.js → project-suspended-DVtTPzYM.esm.js} +6 -6
- package/dist/{project-suspended-b858e02c.cjs.prod.js → project-suspended-DYWgwhSp.cjs.prod.js} +10 -10
- package/dist/{redirect-to-login-3bee13ba.cjs.dev.js → redirect-to-login-BUzKQvHB.cjs.dev.js} +6 -6
- package/dist/{redirect-to-login-2944c890.esm.js → redirect-to-login-C7e206Ly.esm.js} +5 -5
- package/dist/{redirect-to-login-12f467b8.cjs.prod.js → redirect-to-login-CSibA2cS.cjs.prod.js} +6 -6
- package/dist/{redirect-to-logout-7966338e.cjs.prod.js → redirect-to-logout-BCoXrLcq.cjs.prod.js} +11 -11
- package/dist/{redirect-to-logout-169f4905.cjs.dev.js → redirect-to-logout-DEzFWiQg.cjs.dev.js} +11 -11
- package/dist/{redirect-to-logout-c32da780.esm.js → redirect-to-logout-DWVTmFvG.esm.js} +8 -8
- package/dist/{redirect-to-project-create-9249e554.esm.js → redirect-to-project-create-C3T20NCC.esm.js} +3 -3
- package/dist/{redirect-to-project-create-f4f01842.cjs.dev.js → redirect-to-project-create-Cm_YLQ6s.cjs.dev.js} +10 -10
- package/dist/{redirect-to-project-create-e4ff7797.cjs.prod.js → redirect-to-project-create-fdOEP1JY.cjs.prod.js} +10 -10
- package/dist/{redirector-72ccfbc2.cjs.dev.js → redirector-BJKhr_2m.cjs.dev.js} +5 -5
- package/dist/{redirector-d856975f.esm.js → redirector-C43H-HmU.esm.js} +2 -2
- package/dist/{redirector-0c72d0a4.cjs.prod.js → redirector-kEZK2yk2.cjs.prod.js} +5 -5
- package/dist/{requests-in-flight-loader-2d97cc85.cjs.dev.js → requests-in-flight-loader-CMjFLaV7.cjs.dev.js} +9 -9
- package/dist/{requests-in-flight-loader-81f45371.cjs.prod.js → requests-in-flight-loader-ClSkyZTE.cjs.prod.js} +9 -9
- package/dist/{requests-in-flight-loader-c72ab3ed.esm.js → requests-in-flight-loader-DTptkPmL.esm.js} +5 -5
- package/dist/{rocket-3372731a.cjs.dev.js → rocket-MzQlvF-e.cjs.dev.js} +4 -4
- package/dist/{rocket-cb99be06.cjs.prod.js → rocket-MzQlvF-e.cjs.prod.js} +4 -4
- package/dist/{rocket-bacf24be.esm.js → rocket-n2pUnnN1.esm.js} +1 -1
- package/dist/{route-catch-all-b979e1fd.cjs.dev.js → route-catch-all-Bd3kJTWo.cjs.dev.js} +3 -3
- package/dist/{route-catch-all-7803b1fd.esm.js → route-catch-all-CFVFzkJy.esm.js} +2 -2
- package/dist/{route-catch-all-8e71a93c.cjs.prod.js → route-catch-all-CS-vK6G9.cjs.prod.js} +3 -3
- package/dist/{service-page-project-switcher-d36dc705.cjs.dev.js → service-page-project-switcher-CUpN-hB_.cjs.dev.js} +3 -3
- package/dist/{service-page-project-switcher-035cbf1d.esm.js → service-page-project-switcher-Cbyw7uBi.esm.js} +1 -1
- package/dist/{service-page-project-switcher-523be257.cjs.prod.js → service-page-project-switcher-DM8mXygs.cjs.prod.js} +3 -3
- package/dist/{speedometer-26f52e73.cjs.prod.js → speedometer-CkbhtRm7.cjs.dev.js} +4 -4
- package/dist/{speedometer-c1ec5a1d.cjs.dev.js → speedometer-CkbhtRm7.cjs.prod.js} +4 -4
- package/dist/{speedometer-4c8e0b9c.esm.js → speedometer-qTE8jlw4.esm.js} +1 -1
- package/dist/{star-6b9a91d2.cjs.dev.js → star-CHXVXKAZ.cjs.dev.js} +4 -4
- package/dist/{star-e4902bbb.cjs.prod.js → star-CHXVXKAZ.cjs.prod.js} +4 -4
- package/dist/{star-af90a9c6.esm.js → star-Cd7NpXow.esm.js} +1 -1
- package/dist/{tag-multi-4c2742de.esm.js → tag-multi-CaoK1Txv.esm.js} +1 -1
- package/dist/{tag-multi-1c065f61.cjs.prod.js → tag-multi-DHz3Ss3I.cjs.dev.js} +4 -4
- package/dist/{tag-multi-abef3e15.cjs.dev.js → tag-multi-DHz3Ss3I.cjs.prod.js} +4 -4
- package/dist/{tree-structure-ca0498a0.esm.js → tree-structure-C4ljezCR.esm.js} +1 -1
- package/dist/{tree-structure-3ec98cce.cjs.prod.js → tree-structure-T11as8Tg.cjs.dev.js} +4 -4
- package/dist/{tree-structure-96ab0b7e.cjs.dev.js → tree-structure-T11as8Tg.cjs.prod.js} +4 -4
- package/dist/{use-applications-menu-bc2b9a66.esm.js → use-applications-menu-D5WOUztt.esm.js} +1 -1
- package/dist/{use-applications-menu-8984efa1.cjs.prod.js → use-applications-menu-GILf-qBs.cjs.dev.js} +8 -8
- package/dist/{use-applications-menu-bd718ac8.cjs.dev.js → use-applications-menu-GILf-qBs.cjs.prod.js} +8 -8
- package/dist/{user-filled-61d8a81b.esm.js → user-filled-Bm7DCxqD.esm.js} +1 -1
- package/dist/{user-filled-26f333b2.cjs.prod.js → user-filled-BtKs1mdQ.cjs.dev.js} +4 -4
- package/dist/{user-filled-34aeebcc.cjs.dev.js → user-filled-BtKs1mdQ.cjs.prod.js} +4 -4
- package/dist/{user-settings-menu-dc598434.cjs.dev.js → user-settings-menu--OOZgMo-.cjs.dev.js} +23 -23
- package/dist/{user-settings-menu-013f0041.cjs.prod.js → user-settings-menu-Bx9uqAX5.cjs.prod.js} +23 -23
- package/dist/{user-settings-menu-16e8d020.esm.js → user-settings-menu-FUjp-WcB.esm.js} +3 -3
- package/dist/{world-523efd61.esm.js → world-CFOYmDBy.esm.js} +1 -1
- package/dist/{world-22189397.cjs.prod.js → world-KIE1y9HU.cjs.dev.js} +4 -4
- package/dist/{world-500baeb2.cjs.dev.js → world-KIE1y9HU.cjs.prod.js} +4 -4
- package/package.json +16 -16
- package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.dev.js +3 -5
- package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.prod.js +3 -5
- package/ssr/dist/commercetools-frontend-application-shell-ssr.esm.js +1 -1
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.dev.js +21 -22
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.prod.js +21 -22
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.esm.js +7 -6
- /package/dist/{get-mc-origin-fecfee07.esm.js → get-mc-origin-gelxhmON.esm.js} +0 -0
- /package/dist/{location-537e0660.cjs.prod.js → location-Bie7DUXJ.cjs.dev.js} +0 -0
- /package/dist/{location-c835b8df.cjs.dev.js → location-Bie7DUXJ.cjs.prod.js} +0 -0
- /package/dist/{location-f21dbc25.esm.js → location-CvWExDW6.esm.js} +0 -0
- /package/dist/{use-is-served-by-proxy-28f19a6f.cjs.dev.js → use-is-served-by-proxy-BPtJn8Xe.cjs.dev.js} +0 -0
- /package/dist/{use-is-served-by-proxy-480e8de8.cjs.prod.js → use-is-served-by-proxy-BPtJn8Xe.cjs.prod.js} +0 -0
- /package/dist/{use-is-served-by-proxy-a383da4b.esm.js → use-is-served-by-proxy-CqFqj_JM.esm.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { lazy, useEffect, useMemo, useRef, useLayoutEffect, Suspense, Component, StrictMode, useState, useCallback } from 'react';
|
|
2
2
|
import { useLocation, Switch, Route, Redirect, Router, useRouteMatch, useHistory, generatePath } from 'react-router-dom';
|
|
3
|
-
import { R as RouteCatchAll, i as internalReduxStore } from './index-
|
|
3
|
+
import { R as RouteCatchAll, i as internalReduxStore } from './index-A1guGz9o.esm.js';
|
|
4
4
|
import _defineProperty from '@babel/runtime-corejs3/helpers/esm/defineProperty';
|
|
5
5
|
import _styled from '@emotion/styled/base';
|
|
6
6
|
import _findInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/find';
|
|
@@ -21,14 +21,14 @@ import { STORAGE_KEYS, GRAPHQL_TARGETS, featureFlags, LOGOUT_REASONS, DOMAINS, C
|
|
|
21
21
|
import { AsyncLocaleData } from '@commercetools-frontend/i18n';
|
|
22
22
|
import { NotificationsList } from '@commercetools-frontend/react-notifications';
|
|
23
23
|
import { reportErrorToSentry, SentryUserTracker, boot } from '@commercetools-frontend/sentry';
|
|
24
|
-
import {
|
|
24
|
+
import { C as CONTAINERS, D as DIMENSIONS, N as NAVBAR, b as buildOidcScope, a as OIDC_CLAIMS } from './oidc-L-d-DX4J.esm.js';
|
|
25
25
|
import '@babel/runtime-corejs3/core-js-stable/url';
|
|
26
26
|
import { customProperties, designTokens, ThemeProvider } from '@commercetools-uikit/design-system';
|
|
27
27
|
import Spacings from '@commercetools-uikit/spacings';
|
|
28
28
|
import { defineMessages, useIntl, FormattedMessage, IntlProvider } from 'react-intl';
|
|
29
29
|
import FlatButton from '@commercetools-uikit/flat-button';
|
|
30
30
|
import { AngleLeftIcon } from '@commercetools-uikit/icons';
|
|
31
|
-
import { l as location } from './location-
|
|
31
|
+
import { l as location } from './location-CvWExDW6.esm.js';
|
|
32
32
|
import { jsx, jsxs, Fragment } from '@emotion/react/jsx-runtime';
|
|
33
33
|
import _objectWithoutProperties from '@babel/runtime-corejs3/helpers/esm/objectWithoutProperties';
|
|
34
34
|
import _mapInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/map';
|
|
@@ -70,9 +70,9 @@ import _someInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instanc
|
|
|
70
70
|
import { showUnexpectedErrorNotification } from '@commercetools-frontend/actions-global';
|
|
71
71
|
|
|
72
72
|
// NOTE: This string will be replaced on build time with the package version.
|
|
73
|
-
var version = "27.5.
|
|
73
|
+
var version = "27.5.3";
|
|
74
74
|
|
|
75
|
-
const RequestsInFlightLoader = /*#__PURE__*/lazy(() => import('./requests-in-flight-loader-
|
|
75
|
+
const RequestsInFlightLoader = /*#__PURE__*/lazy(() => import('./requests-in-flight-loader-DTptkPmL.esm.js' /* webpackChunkName: "requests-in-flight-loader" */));
|
|
76
76
|
|
|
77
77
|
// Attempt to load the `projectKey` from localStorage
|
|
78
78
|
function selectProjectKeyFromLocalStorage() {
|
|
@@ -218,7 +218,7 @@ var messages = defineMessages({
|
|
|
218
218
|
|
|
219
219
|
const _excluded$3 = ["children"];
|
|
220
220
|
function ownKeys$a(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; }
|
|
221
|
-
function _objectSpread$a(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$a(Object(t),
|
|
221
|
+
function _objectSpread$a(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$a(Object(t), true)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$a(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
222
222
|
function _EMOTION_STRINGIFIED_CSS_ERROR__$3() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
223
223
|
var ProjectsQuery = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchUserProjects" }, variableDefinitions: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", alias: { kind: "Name", value: "user" }, name: { kind: "Name", value: "me" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "projects" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "total" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "results" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "key" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "suspension" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "isActive" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "expiry" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "isActive" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "isProductionProject" }, arguments: [], directives: [] }] } }] } }] } }] } }], loc: { start: 0, end: 258, source: { body: "query FetchUserProjects {\n user: me {\n id\n projects {\n total\n results {\n name\n key\n suspension {\n isActive\n }\n expiry {\n isActive\n }\n isProductionProject\n }\n }\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
|
|
224
224
|
const PROJECT_SWITCHER_LABEL_ID = 'project-switcher-label';
|
|
@@ -359,7 +359,7 @@ ProjectSwitcher.displayName = 'ProjectSwitcher';
|
|
|
359
359
|
// eslint-disable-next-line import/prefer-default-export
|
|
360
360
|
const REQUESTS_IN_FLIGHT_LOADER_DOM_ID = 'loader-for-requests-in-flight';
|
|
361
361
|
|
|
362
|
-
const UserSettingsMenu = /*#__PURE__*/lazy(() => import('./user-settings-menu-
|
|
362
|
+
const UserSettingsMenu = /*#__PURE__*/lazy(() => import('./user-settings-menu-FUjp-WcB.esm.js' /* webpackChunkName: "user-settings-menu" */));
|
|
363
363
|
|
|
364
364
|
function _EMOTION_STRINGIFIED_CSS_ERROR__$2() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
365
365
|
var _ref$1 = process.env.NODE_ENV === "production" ? {
|
|
@@ -507,7 +507,7 @@ const ConfigureIntlProvider = props => {
|
|
|
507
507
|
};
|
|
508
508
|
ConfigureIntlProvider.displayName = 'ConfigureIntlProvider';
|
|
509
509
|
|
|
510
|
-
const ErrorApologizer = /*#__PURE__*/lazy(() => import('./error-apologizer-
|
|
510
|
+
const ErrorApologizer = /*#__PURE__*/lazy(() => import('./error-apologizer-BZx6w4kU.esm.js' /* webpackChunkName: "error-apologizer" */));
|
|
511
511
|
|
|
512
512
|
var ProjectQuery = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchProject" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "projectKey" } }, type: { kind: "NamedType", name: { kind: "Name", value: "String" } }, directives: [] }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "project" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "key" }, value: { kind: "Variable", name: { kind: "Name", value: "projectKey" } } }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "key" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "version" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "countries" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "currencies" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "languages" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "initialized" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "expiry" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "isActive" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "daysLeft" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "suspension" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "isActive" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "reason" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "isProductionProject" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "allAppliedPermissions" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "allAppliedActionRights" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "group" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "allAppliedDataFences" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "StoreDataFence" } }, directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "type" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "group" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "__typename" }, arguments: [], directives: [] }] } }] } }, { kind: "Field", name: { kind: "Name", value: "allPermissionsForAllApplications" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "allAppliedPermissions" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "allAppliedActionRights" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "group" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "allAppliedDataFences" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "StoreDataFence" } }, directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "type" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "group" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "__typename" }, arguments: [], directives: [] }] } }] } }] } }, { kind: "Field", name: { kind: "Name", value: "owner" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "sampleDataImportDataset" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "isUserAdminOfCurrentProject" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "productCatalogModel" }, arguments: [], directives: [] }] } }] } }], loc: { start: 0, end: 1035, source: { body: "query FetchProject($projectKey: String) {\n project(key: $projectKey) {\n key\n version\n name\n countries\n currencies\n languages\n initialized\n expiry {\n isActive\n daysLeft\n }\n suspension {\n isActive\n reason\n }\n isProductionProject\n allAppliedPermissions {\n name\n value\n }\n allAppliedActionRights {\n group\n name\n value\n }\n allAppliedDataFences {\n ... on StoreDataFence {\n type\n name\n value\n group\n __typename\n }\n }\n allPermissionsForAllApplications {\n allAppliedPermissions {\n name\n value\n }\n allAppliedActionRights {\n group\n name\n value\n }\n allAppliedDataFences {\n ... on StoreDataFence {\n type\n name\n value\n group\n __typename\n }\n }\n }\n owner {\n id\n name\n }\n sampleDataImportDataset\n isUserAdminOfCurrentProject\n productCatalogModel\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
|
|
513
513
|
const FetchProject = props => {
|
|
@@ -555,16 +555,16 @@ const FetchUser = props => {
|
|
|
555
555
|
};
|
|
556
556
|
FetchUser.displayName = 'FetchUser';
|
|
557
557
|
|
|
558
|
-
const Navbar = /*#__PURE__*/lazy(() => import('./navbar-
|
|
558
|
+
const Navbar = /*#__PURE__*/lazy(() => import('./navbar-Ce_9gl4P.esm.js' /* webpackChunkName: "navbar" */));
|
|
559
559
|
|
|
560
|
-
const ProjectContainer = /*#__PURE__*/lazy(() => import('./project-container-
|
|
560
|
+
const ProjectContainer = /*#__PURE__*/lazy(() => import('./project-container-03Va5HMJ.esm.js' /* webpackChunkName: "project-container" */));
|
|
561
561
|
|
|
562
|
-
const RedirectToLogout = /*#__PURE__*/lazy(() => import('./redirect-to-logout-
|
|
562
|
+
const RedirectToLogout = /*#__PURE__*/lazy(() => import('./redirect-to-logout-DWVTmFvG.esm.js' /* webpackChunkName: "redirect-to-logout" */));
|
|
563
563
|
|
|
564
|
-
const RedirectToProjectCreate = /*#__PURE__*/lazy(() => import('./redirect-to-project-create-
|
|
564
|
+
const RedirectToProjectCreate = /*#__PURE__*/lazy(() => import('./redirect-to-project-create-C3T20NCC.esm.js' /* webpackChunkName: "redirect-to-project-create" */));
|
|
565
565
|
|
|
566
566
|
function ownKeys$9(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; }
|
|
567
|
-
function _objectSpread$9(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context2 = ownKeys$9(Object(t),
|
|
567
|
+
function _objectSpread$9(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context2 = ownKeys$9(Object(t), true)).call(_context2, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context3 = ownKeys$9(Object(t))).call(_context3, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
568
568
|
var AllFeaturesQuery = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "AllFeatures" }, variableDefinitions: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "allFeatures" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "reason" }, arguments: [], directives: [] }] } }] } }], loc: { start: 0, end: 72, source: { body: "query AllFeatures {\n allFeatures {\n name\n value\n reason\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
|
|
569
569
|
// This value is hard-coded here because we want to make sure that the
|
|
570
570
|
// app uses our account of LD. The value is meant to be public, so there
|
|
@@ -690,7 +690,7 @@ const ThemeSwitcher = () => {
|
|
|
690
690
|
};
|
|
691
691
|
|
|
692
692
|
function ownKeys$8(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; }
|
|
693
|
-
function _objectSpread$8(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context2 = ownKeys$8(Object(t),
|
|
693
|
+
function _objectSpread$8(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context2 = ownKeys$8(Object(t), true)).call(_context2, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context3 = ownKeys$8(Object(t))).call(_context3, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
694
694
|
function _EMOTION_STRINGIFIED_CSS_ERROR__$1() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
695
695
|
const getHasUnauthorizedError = graphQLErrors => _findInstanceProperty(graphQLErrors).call(graphQLErrors, gqlError => gqlError.extensions && gqlError.extensions.code && gqlError.extensions.code === 'UNAUTHENTICATED');
|
|
696
696
|
const getHasUserBeenDeletedError = graphQLErrors => _findInstanceProperty(graphQLErrors).call(graphQLErrors, gqlError => {
|
|
@@ -1014,7 +1014,7 @@ const ApplicationPageTitle = _ref => {
|
|
|
1014
1014
|
ApplicationPageTitle.displayName = 'ApplicationPageTitle';
|
|
1015
1015
|
|
|
1016
1016
|
function ownKeys$7(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; }
|
|
1017
|
-
function _objectSpread$7(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$7(Object(t),
|
|
1017
|
+
function _objectSpread$7(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$7(Object(t), true)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$7(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1018
1018
|
const SuspendedRoute = props => jsx(Route, _objectSpread$7(_objectSpread$7({}, props), {}, {
|
|
1019
1019
|
children: jsx(Suspense, {
|
|
1020
1020
|
fallback: jsx(LoadingSpinner, {}),
|
|
@@ -1025,7 +1025,7 @@ SuspendedRoute.displayName = 'SuspendedRoute';
|
|
|
1025
1025
|
|
|
1026
1026
|
const _excluded$2 = ["condition", "fallback", "children"];
|
|
1027
1027
|
function ownKeys$6(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; }
|
|
1028
|
-
function _objectSpread$6(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$6(Object(t),
|
|
1028
|
+
function _objectSpread$6(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$6(Object(t), true)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$6(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1029
1029
|
const ProtectedRoute = _ref => {
|
|
1030
1030
|
let condition = _ref.condition,
|
|
1031
1031
|
_ref$fallback = _ref.fallback,
|
|
@@ -1041,7 +1041,7 @@ const ProtectedRoute = _ref => {
|
|
|
1041
1041
|
|
|
1042
1042
|
const _excluded$1 = ["loading", "fallback"];
|
|
1043
1043
|
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; }
|
|
1044
|
-
function _objectSpread$5(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$5(Object(t),
|
|
1044
|
+
function _objectSpread$5(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$5(Object(t), true)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$5(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1045
1045
|
const SuspendedProtectedRoute = _ref => {
|
|
1046
1046
|
let _ref$loading = _ref.loading,
|
|
1047
1047
|
loading = _ref$loading === void 0 ? jsx(LoadingSpinner, {}) : _ref$loading,
|
|
@@ -1187,10 +1187,10 @@ const hasCachedAuthenticationState = () => {
|
|
|
1187
1187
|
return window.localStorage.getItem(STORAGE_KEYS.IS_AUTHENTICATED) === 'true';
|
|
1188
1188
|
};
|
|
1189
1189
|
|
|
1190
|
-
const OidcCallback = /*#__PURE__*/lazy(() => import('./oidc-callback-
|
|
1190
|
+
const OidcCallback = /*#__PURE__*/lazy(() => import('./oidc-callback-DelrTHRw.esm.js' /* webpackChunkName: "oidc-callback" */));
|
|
1191
1191
|
|
|
1192
1192
|
function ownKeys$4(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; }
|
|
1193
|
-
function _objectSpread$4(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$4(Object(t),
|
|
1193
|
+
function _objectSpread$4(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$4(Object(t), true)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$4(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1194
1194
|
const Authenticated = props => {
|
|
1195
1195
|
// We attempt to see if the user was already authenticated by looking
|
|
1196
1196
|
// at the "cached" flag in local storage.
|
|
@@ -1294,7 +1294,7 @@ let ErrorBoundary = /*#__PURE__*/function (_Component) {
|
|
|
1294
1294
|
}(Component);
|
|
1295
1295
|
|
|
1296
1296
|
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; }
|
|
1297
|
-
function _objectSpread$3(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context2 = ownKeys$3(Object(t),
|
|
1297
|
+
function _objectSpread$3(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context2 = ownKeys$3(Object(t), true)).call(_context2, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context3 = ownKeys$3(Object(t))).call(_context3, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1298
1298
|
/**
|
|
1299
1299
|
* NOTE:
|
|
1300
1300
|
* This function try-catches around a `JSON.parse` and return
|
|
@@ -1389,7 +1389,7 @@ const ApplicationShellProvider = props => {
|
|
|
1389
1389
|
};
|
|
1390
1390
|
ApplicationShellProvider.displayName = 'ApplicationShellProvider';
|
|
1391
1391
|
|
|
1392
|
-
const RedirectToLogin = /*#__PURE__*/lazy(() => import('./redirect-to-login-
|
|
1392
|
+
const RedirectToLogin = /*#__PURE__*/lazy(() => import('./redirect-to-login-C7e206Ly.esm.js' /* webpackChunkName: "redirect-to-login" */));
|
|
1393
1393
|
|
|
1394
1394
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
1395
1395
|
const styles = process.env.NODE_ENV === "production" ? {
|
|
@@ -1457,7 +1457,7 @@ const ApplicationShell = props => {
|
|
|
1457
1457
|
ApplicationShell.displayName = 'ApplicationShell';
|
|
1458
1458
|
ApplicationShell.version = version;
|
|
1459
1459
|
|
|
1460
|
-
const CustomViewDevHost = /*#__PURE__*/lazy(() => import('./custom-view-dev-host-
|
|
1460
|
+
const CustomViewDevHost = /*#__PURE__*/lazy(() => import('./custom-view-dev-host-CBMjNmL_.esm.js' /* webpackChunkName: "custom-view-dev-host" */));
|
|
1461
1461
|
|
|
1462
1462
|
function CustomViewFlopFlipProvider(props) {
|
|
1463
1463
|
const adapterArgs = useMemo(() => ({
|
|
@@ -1474,7 +1474,7 @@ function CustomViewFlopFlipProvider(props) {
|
|
|
1474
1474
|
}
|
|
1475
1475
|
|
|
1476
1476
|
function ownKeys$2(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; }
|
|
1477
|
-
function _objectSpread$2(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$2(Object(t),
|
|
1477
|
+
function _objectSpread$2(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys$2(Object(t), true)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys$2(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1478
1478
|
const CustomViewWithPermissionCheck = props => {
|
|
1479
1479
|
const permissionKeys = entryPointUriPathToPermissionKeys(CUSTOM_VIEW_HOST_ENTRY_POINT_URI_PATH);
|
|
1480
1480
|
|
|
@@ -1571,7 +1571,7 @@ const customViewsThemesOverrides = {
|
|
|
1571
1571
|
};
|
|
1572
1572
|
|
|
1573
1573
|
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; }
|
|
1574
|
-
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),
|
|
1574
|
+
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), true)).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; }
|
|
1575
1575
|
const browserLocale = getBrowserLocale(window);
|
|
1576
1576
|
function NotificationsContainer(props) {
|
|
1577
1577
|
return jsxs(Fragment, {
|
|
@@ -1868,7 +1868,7 @@ function setupGlobalErrorListener() {
|
|
|
1868
1868
|
}
|
|
1869
1869
|
|
|
1870
1870
|
function ownKeys(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; }
|
|
1871
|
-
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),
|
|
1871
|
+
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), true)).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; }
|
|
1872
1872
|
|
|
1873
1873
|
/**
|
|
1874
1874
|
* The route path to match. Usually it starts with `/:projectKey/my-entry-point`.
|
|
@@ -1907,4 +1907,4 @@ function useRoutesCreator() {
|
|
|
1907
1907
|
};
|
|
1908
1908
|
}
|
|
1909
1909
|
|
|
1910
|
-
export { ApplicationShell as A, ConfigureIntlProvider as C, ErrorBoundary as E, FetchProject as F, InjectReducers as I, ProjectSwitcher as P, RedirectToLogin as R, SetupFlopFlipProvider as S,
|
|
1910
|
+
export { ApplicationShell as A, ConfigureIntlProvider as C, ErrorBoundary as E, FetchProject as F, InjectReducers as I, ProjectSwitcher as P, RedirectToLogin as R, SetupFlopFlipProvider as S, REQUESTS_IN_FLIGHT_LOADER_DOM_ID as a, RedirectToProjectCreate as b, ApplicationLoader as c, ApplicationPageTitle as d, ApplicationShellProvider as e, CustomViewShellWrapper as f, ErrorApologizer as g, FetchUser as h, ProtectedRoute as i, RedirectToLogout as j, SuspendedProtectedRoute as k, SuspendedRoute as l, getBrowserLocale as m, getPreviousProjectKey as n, setupGlobalErrorListener as s, useRoutesCreator as u, version as v };
|
|
@@ -11,7 +11,7 @@ import { ListWithSearchIcon } from '@commercetools-uikit/icons';
|
|
|
11
11
|
import { jsx } from '@emotion/react/jsx-runtime';
|
|
12
12
|
|
|
13
13
|
function ownKeys(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; }
|
|
14
|
-
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),
|
|
14
|
+
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), true)).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; }
|
|
15
15
|
const Icon = props => jsx(ListWithSearchIcon, _objectSpread({}, props));
|
|
16
16
|
|
|
17
17
|
export { Icon as default };
|
|
@@ -12,7 +12,7 @@ var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
|
|
|
12
12
|
var icons = require('@commercetools-uikit/icons');
|
|
13
13
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
14
14
|
|
|
15
|
-
function _interopDefault (e) { return e && e.__esModule ? e : {
|
|
15
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
16
16
|
|
|
17
17
|
var _Object$keys__default = /*#__PURE__*/_interopDefault(_Object$keys);
|
|
18
18
|
var _Object$getOwnPropertySymbols__default = /*#__PURE__*/_interopDefault(_Object$getOwnPropertySymbols);
|
|
@@ -23,8 +23,8 @@ var _Object$getOwnPropertyDescriptors__default = /*#__PURE__*/_interopDefault(_O
|
|
|
23
23
|
var _Object$defineProperties__default = /*#__PURE__*/_interopDefault(_Object$defineProperties);
|
|
24
24
|
var _Object$defineProperty__default = /*#__PURE__*/_interopDefault(_Object$defineProperty);
|
|
25
25
|
|
|
26
|
-
function ownKeys(e, r) { var t = _Object$keys__default
|
|
27
|
-
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
|
|
26
|
+
function ownKeys(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; }
|
|
27
|
+
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), true)).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; }
|
|
28
28
|
const Icon = props => jsxRuntime.jsx(icons.ListWithSearchIcon, _objectSpread({}, props));
|
|
29
29
|
|
|
30
|
-
exports
|
|
30
|
+
exports.default = Icon;
|
package/dist/{list-with-search-6462447e.cjs.prod.js → list-with-search-D5MULvFD.cjs.prod.js}
RENAMED
|
@@ -12,7 +12,7 @@ var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
|
|
|
12
12
|
var icons = require('@commercetools-uikit/icons');
|
|
13
13
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
14
14
|
|
|
15
|
-
function _interopDefault (e) { return e && e.__esModule ? e : {
|
|
15
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
16
16
|
|
|
17
17
|
var _Object$keys__default = /*#__PURE__*/_interopDefault(_Object$keys);
|
|
18
18
|
var _Object$getOwnPropertySymbols__default = /*#__PURE__*/_interopDefault(_Object$getOwnPropertySymbols);
|
|
@@ -23,8 +23,8 @@ var _Object$getOwnPropertyDescriptors__default = /*#__PURE__*/_interopDefault(_O
|
|
|
23
23
|
var _Object$defineProperties__default = /*#__PURE__*/_interopDefault(_Object$defineProperties);
|
|
24
24
|
var _Object$defineProperty__default = /*#__PURE__*/_interopDefault(_Object$defineProperty);
|
|
25
25
|
|
|
26
|
-
function ownKeys(e, r) { var t = _Object$keys__default
|
|
27
|
-
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
|
|
26
|
+
function ownKeys(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; }
|
|
27
|
+
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), true)).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; }
|
|
28
28
|
const Icon = props => jsxRuntime.jsx(icons.ListWithSearchIcon, _objectSpread({}, props));
|
|
29
29
|
|
|
30
|
-
exports
|
|
30
|
+
exports.default = Icon;
|
|
@@ -17,16 +17,16 @@ import { forwardRef, Fragment as Fragment$1, lazy, useRef, useReducer, useCallba
|
|
|
17
17
|
import snakeCase from 'lodash/snakeCase';
|
|
18
18
|
import { defineMessages, useIntl, FormattedMessage } from 'react-intl';
|
|
19
19
|
import { NavLink, matchPath, useLocation } from 'react-router-dom';
|
|
20
|
-
import { useMcQuery,
|
|
20
|
+
import { useMcQuery, normalizeAllAppliedDataFences, normalizeAllAppliedActionRights, normalizeAllAppliedPermissions } from '@commercetools-frontend/application-shell-connectors';
|
|
21
21
|
import LogoSVG from '@commercetools-frontend/assets/logos/commercetools_small-logo.svg';
|
|
22
22
|
import { NO_VALUE_FALLBACK, GRAPHQL_TARGETS, STORAGE_KEYS, SUPPORT_PORTAL_URL } from '@commercetools-frontend/constants';
|
|
23
23
|
import { SidebarCollapseIcon, SidebarExpandIcon, SupportIcon } from '@commercetools-uikit/icons';
|
|
24
24
|
import Spacings from '@commercetools-uikit/spacings';
|
|
25
25
|
import _styled from '@emotion/styled/base';
|
|
26
|
-
import {
|
|
26
|
+
import { css, keyframes, Global } from '@emotion/react';
|
|
27
27
|
import { designTokens as designTokens$1 } from '@commercetools-frontend/application-components';
|
|
28
28
|
import { designTokens } from '@commercetools-uikit/design-system';
|
|
29
|
-
import { N as NAVBAR, D as DIMENSIONS, W as WINDOW_SIZES } from './oidc-
|
|
29
|
+
import { N as NAVBAR, D as DIMENSIONS, W as WINDOW_SIZES } from './oidc-L-d-DX4J.esm.js';
|
|
30
30
|
import _objectWithoutProperties from '@babel/runtime-corejs3/helpers/esm/objectWithoutProperties';
|
|
31
31
|
import _includesInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/includes';
|
|
32
32
|
import { useFlagVariation } from '@flopflip/react-broadcast';
|
|
@@ -34,13 +34,13 @@ import classnames from 'classnames';
|
|
|
34
34
|
import MissingImageSvg from '@commercetools-frontend/assets/images/diagonal-line.svg';
|
|
35
35
|
import { RestrictedByPermissions } from '@commercetools-frontend/permissions';
|
|
36
36
|
import InlineSvg from '@commercetools-uikit/icons/inline-svg';
|
|
37
|
-
import { l as location } from './location-
|
|
37
|
+
import { l as location } from './location-CvWExDW6.esm.js';
|
|
38
38
|
import { jsx, Fragment, jsxs } from '@emotion/react/jsx-runtime';
|
|
39
39
|
import _keysInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/keys';
|
|
40
40
|
import _sortInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/sort';
|
|
41
41
|
import isNil from 'lodash/isNil';
|
|
42
42
|
import throttle from 'lodash/throttle';
|
|
43
|
-
import { u as useApplicationsMenu } from './use-applications-menu-
|
|
43
|
+
import { u as useApplicationsMenu } from './use-applications-menu-D5WOUztt.esm.js';
|
|
44
44
|
import '@apollo/client';
|
|
45
45
|
import '@commercetools-frontend/l10n';
|
|
46
46
|
|
|
@@ -300,22 +300,22 @@ const _excluded = ["icon"],
|
|
|
300
300
|
_excluded2 = ["exactMatch"],
|
|
301
301
|
_excluded3 = ["permissions"];
|
|
302
302
|
function ownKeys$2(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; }
|
|
303
|
-
function _objectSpread$2(e) { for (var r = 1; r < arguments.length; r++) { var _context3, _context4; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context3 = ownKeys$2(Object(t),
|
|
304
|
-
const HeartIcon = /*#__PURE__*/lazy(() => import('./heart-
|
|
305
|
-
const PaperclipIcon = /*#__PURE__*/lazy(() => import('./paperclip-
|
|
306
|
-
const PluginIcon = /*#__PURE__*/lazy(() => import('./plugin-
|
|
307
|
-
const RocketIcon = /*#__PURE__*/lazy(() => import('./rocket-
|
|
308
|
-
const StarIcon = /*#__PURE__*/lazy(() => import('./star-
|
|
309
|
-
const ConnectedSquareIcon = /*#__PURE__*/lazy(() => import('./connected-square-
|
|
310
|
-
const WorldIcon = /*#__PURE__*/lazy(() => import('./world-
|
|
311
|
-
const TreeStructureIcon = /*#__PURE__*/lazy(() => import('./tree-structure-
|
|
312
|
-
const UserFilledIcon = /*#__PURE__*/lazy(() => import('./user-filled-
|
|
313
|
-
const SpeedometerIcon = /*#__PURE__*/lazy(() => import('./speedometer-
|
|
314
|
-
const TagMultiIcon = /*#__PURE__*/lazy(() => import('./tag-multi-
|
|
315
|
-
const CartIcon = /*#__PURE__*/lazy(() => import('./cart-
|
|
316
|
-
const BoxIcon = /*#__PURE__*/lazy(() => import('./box-
|
|
317
|
-
const GearIcon = /*#__PURE__*/lazy(() => import('./gear-
|
|
318
|
-
const ListWithSearchIcon = /*#__PURE__*/lazy(() => import('./list-with-search-
|
|
303
|
+
function _objectSpread$2(e) { for (var r = 1; r < arguments.length; r++) { var _context3, _context4; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context3 = ownKeys$2(Object(t), true)).call(_context3, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context4 = ownKeys$2(Object(t))).call(_context4, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
304
|
+
const HeartIcon = /*#__PURE__*/lazy(() => import('./heart-wVW-_6g7.esm.js'));
|
|
305
|
+
const PaperclipIcon = /*#__PURE__*/lazy(() => import('./paperclip-C015tsHx.esm.js'));
|
|
306
|
+
const PluginIcon = /*#__PURE__*/lazy(() => import('./plugin-CbdhEahs.esm.js'));
|
|
307
|
+
const RocketIcon = /*#__PURE__*/lazy(() => import('./rocket-n2pUnnN1.esm.js'));
|
|
308
|
+
const StarIcon = /*#__PURE__*/lazy(() => import('./star-Cd7NpXow.esm.js'));
|
|
309
|
+
const ConnectedSquareIcon = /*#__PURE__*/lazy(() => import('./connected-square-Cbji-E55.esm.js'));
|
|
310
|
+
const WorldIcon = /*#__PURE__*/lazy(() => import('./world-CFOYmDBy.esm.js'));
|
|
311
|
+
const TreeStructureIcon = /*#__PURE__*/lazy(() => import('./tree-structure-C4ljezCR.esm.js'));
|
|
312
|
+
const UserFilledIcon = /*#__PURE__*/lazy(() => import('./user-filled-Bm7DCxqD.esm.js'));
|
|
313
|
+
const SpeedometerIcon = /*#__PURE__*/lazy(() => import('./speedometer-qTE8jlw4.esm.js'));
|
|
314
|
+
const TagMultiIcon = /*#__PURE__*/lazy(() => import('./tag-multi-CaoK1Txv.esm.js'));
|
|
315
|
+
const CartIcon = /*#__PURE__*/lazy(() => import('./cart-xlAkv0aT.esm.js'));
|
|
316
|
+
const BoxIcon = /*#__PURE__*/lazy(() => import('./box-BXyJiuSa.esm.js'));
|
|
317
|
+
const GearIcon = /*#__PURE__*/lazy(() => import('./gear-3UwANbiU.esm.js'));
|
|
318
|
+
const ListWithSearchIcon = /*#__PURE__*/lazy(() => import('./list-with-search-BR2LHaVL.esm.js'));
|
|
319
319
|
// The icon is expected to be the `svg` document as a string.
|
|
320
320
|
// For backwards compatibility purposes, we still support the legacy "icon name",
|
|
321
321
|
// which we then map to one of the pre-defined icons.
|
|
@@ -708,7 +708,7 @@ function nonNullable(value) {
|
|
|
708
708
|
}
|
|
709
709
|
|
|
710
710
|
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; }
|
|
711
|
-
function _objectSpread$1(e) { for (var r = 1; r < arguments.length; r++) { var _context6, _context7; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context6 = ownKeys$1(Object(t),
|
|
711
|
+
function _objectSpread$1(e) { for (var r = 1; r < arguments.length; r++) { var _context6, _context7; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context6 = ownKeys$1(Object(t), true)).call(_context6, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context7 = ownKeys$1(Object(t))).call(_context7, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
712
712
|
var FetchProjectExtensionsNavbar = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchProjectExtensionsNavbar" }, variableDefinitions: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "projectExtension" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "installedApplications" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "application" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "entryPointUriPath" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "icon" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "mainMenuLink" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "permissions" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "defaultLabel" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "labelAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }] } }, { kind: "Field", name: { kind: "Name", value: "submenuLinks" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "uriPath" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "permissions" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "defaultLabel" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "labelAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }] } }] } }] } }] } }] } }], loc: { start: 0, end: 537, source: { body: "query FetchProjectExtensionsNavbar {\n projectExtension {\n id\n installedApplications {\n application {\n id\n entryPointUriPath\n icon\n mainMenuLink {\n id\n permissions\n defaultLabel\n labelAllLocales {\n locale\n value\n }\n }\n submenuLinks {\n id\n uriPath\n permissions\n defaultLabel\n labelAllLocales {\n locale\n value\n }\n }\n }\n }\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
|
|
713
713
|
const getInitialState = isForcedMenuOpen => ({
|
|
714
714
|
isExpanderVisible: true,
|
|
@@ -936,7 +936,7 @@ const useNavbarStateManager = props => {
|
|
|
936
936
|
};
|
|
937
937
|
|
|
938
938
|
function ownKeys(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; }
|
|
939
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context3, _context4; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context3 = ownKeys(Object(t),
|
|
939
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context3, _context4; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context3 = ownKeys(Object(t), true)).call(_context3, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context4 = ownKeys(Object(t))).call(_context4, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
940
940
|
// Helper function to extract accessible label from menu objects
|
|
941
941
|
const getMenuAccessibleLabel = (labelAllLocales, defaultLabel, applicationLocale) => {
|
|
942
942
|
const localizedLabel = _findInstanceProperty(labelAllLocales).call(labelAllLocales, loc => _startsWithInstanceProperty(applicationLocale).call(applicationLocale, loc.locale));
|