@commercetools-frontend/application-shell 21.16.0 → 21.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{application-entry-point-3fd5f616.esm.js → application-entry-point-292e3a3e.esm.js} +1 -1
- package/dist/{application-entry-point-2c62f14c.cjs.dev.js → application-entry-point-67d8754d.cjs.dev.js} +1 -1
- package/dist/{application-entry-point-95970544.cjs.prod.js → application-entry-point-c63a6460.cjs.prod.js} +1 -1
- package/dist/commercetools-frontend-application-shell.cjs.dev.js +3 -3
- package/dist/commercetools-frontend-application-shell.cjs.prod.js +3 -3
- package/dist/commercetools-frontend-application-shell.esm.js +3 -3
- package/dist/declarations/src/components/{application-shell-provider → application-shell}/global-styles.d.ts +0 -0
- package/dist/declarations/src/types/generated/mc.d.ts +23 -0
- package/dist/{index-b349612b.cjs.dev.js → index-42368b52.cjs.dev.js} +102 -101
- package/dist/{index-66c10aaa.cjs.prod.js → index-4581e7d6.cjs.prod.js} +69 -68
- package/dist/{index-6206c6a3.esm.js → index-f19062cd.esm.js} +103 -102
- package/dist/{project-expired-050efa10.cjs.dev.js → project-expired-04bc8e74.cjs.dev.js} +4 -4
- package/dist/{project-expired-d38c0a60.cjs.prod.js → project-expired-bdefb97a.cjs.prod.js} +4 -4
- package/dist/{project-expired-c91f859c.esm.js → project-expired-fe3d9a1e.esm.js} +4 -4
- package/dist/{project-not-found-79a006bf.cjs.dev.js → project-not-found-079b6307.cjs.dev.js} +4 -4
- package/dist/{project-not-found-903e64c9.cjs.prod.js → project-not-found-28b4da26.cjs.prod.js} +4 -4
- package/dist/{project-not-found-ca9d1862.esm.js → project-not-found-730d25f7.esm.js} +4 -4
- package/dist/{project-not-initialized-ed02d6f9.cjs.prod.js → project-not-initialized-20d04d23.cjs.prod.js} +4 -4
- package/dist/{project-not-initialized-2dd9c2a5.cjs.dev.js → project-not-initialized-8d841463.cjs.dev.js} +4 -4
- package/dist/{project-not-initialized-4e75af1b.esm.js → project-not-initialized-a6d52347.esm.js} +4 -4
- package/dist/{project-suspended-9b1ce740.cjs.prod.js → project-suspended-267991e0.cjs.prod.js} +4 -4
- package/dist/{project-suspended-b28f9eae.esm.js → project-suspended-ef98c178.esm.js} +4 -4
- package/dist/{project-suspended-13202e8b.cjs.dev.js → project-suspended-f1151f09.cjs.dev.js} +4 -4
- package/dist/{quick-access-345fc2e9.esm.js → quick-access-767dd225.esm.js} +2 -2
- package/dist/{quick-access-9470f281.cjs.prod.js → quick-access-9f784445.cjs.prod.js} +2 -2
- package/dist/{quick-access-41bf815a.cjs.dev.js → quick-access-e8c01f0e.cjs.dev.js} +2 -2
- package/dist/{service-page-project-switcher-057fd049.esm.js → service-page-project-switcher-1d482ee4.esm.js} +1 -1
- package/dist/{service-page-project-switcher-c66e9c4f.cjs.prod.js → service-page-project-switcher-a2965a24.cjs.prod.js} +1 -1
- package/dist/{service-page-project-switcher-e697acc6.cjs.dev.js → service-page-project-switcher-b832958f.cjs.dev.js} +1 -1
- package/package.json +27 -27
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.dev.js +1 -1
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.prod.js +1 -1
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.esm.js +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var applicationEntryPoint = require('./application-entry-point-
|
|
3
|
+
var applicationEntryPoint = require('./application-entry-point-c63a6460.cjs.prod.js');
|
|
4
4
|
var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
|
|
5
5
|
var _styled = require('@emotion/styled/base');
|
|
6
6
|
var _pt = require('prop-types');
|
|
@@ -24,6 +24,7 @@ var applicationShellConnectors = require('@commercetools-frontend/application-sh
|
|
|
24
24
|
var applicationComponents = require('@commercetools-frontend/application-components');
|
|
25
25
|
var reactNotifications = require('@commercetools-frontend/react-notifications');
|
|
26
26
|
var i18n = require('@commercetools-frontend/i18n');
|
|
27
|
+
var designSystem = require('@commercetools-uikit/design-system');
|
|
27
28
|
var constants = require('./constants-9ffc458b.cjs.prod.js');
|
|
28
29
|
var uuid = require('uuid');
|
|
29
30
|
var _URL = require('@babel/runtime-corejs3/core-js-stable/url');
|
|
@@ -42,7 +43,6 @@ var oidc = require('./oidc-d13fc045.cjs.prod.js');
|
|
|
42
43
|
var qss = require('qss');
|
|
43
44
|
var jwtDecode = require('jwt-decode');
|
|
44
45
|
var FailedAuthenticationSVG = require('@commercetools-frontend/assets/images/locked-diamond.svg');
|
|
45
|
-
var designSystem = require('@commercetools-uikit/design-system');
|
|
46
46
|
var notifications = require('@commercetools-uikit/notifications');
|
|
47
47
|
var Spacings = require('@commercetools-uikit/spacings');
|
|
48
48
|
var Card = require('@commercetools-uikit/card');
|
|
@@ -1209,22 +1209,6 @@ var ErrorBoundary = /*#__PURE__*/function (_Component) {
|
|
|
1209
1209
|
|
|
1210
1210
|
ErrorBoundary.propTypes = {};
|
|
1211
1211
|
|
|
1212
|
-
var gridStyles = {
|
|
1213
|
-
name: "r6l3ky",
|
|
1214
|
-
styles: ".row clear:both;float:left;width:100%"
|
|
1215
|
-
} ;
|
|
1216
|
-
var resetStyles = /*#__PURE__*/react$2.css("*,*::before,*::after{box-sizing:inherit;}html,body{color:", designSystem.customProperties.colorSolid, ";font-family:'Open Sans',sans-serif;font-size:13px;margin:0;padding:0;height:100vh;}html{box-sizing:border-box;}h1,h2,h3,h4,h5,h6{margin:0;}button{cursor:pointer;}a{color:", designSystem.customProperties.colorPrimary, ";cursor:pointer;text-decoration:none;transition:color 0.2s ease-in;}p{color:", designSystem.customProperties.colorSolid, ";margin:0;}" + ("" ), "" );
|
|
1217
|
-
|
|
1218
|
-
var GlobalStyles = function GlobalStyles() {
|
|
1219
|
-
return jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
1220
|
-
children: [jsxRuntime.jsx(react$2.Global, {
|
|
1221
|
-
styles: gridStyles
|
|
1222
|
-
}), jsxRuntime.jsx(react$2.Global, {
|
|
1223
|
-
styles: resetStyles
|
|
1224
|
-
})]
|
|
1225
|
-
});
|
|
1226
|
-
};
|
|
1227
|
-
|
|
1228
1212
|
var getBrowserLocale = function getBrowserLocale(win) {
|
|
1229
1213
|
var browserLocale = win && win.navigator && win.navigator.language;
|
|
1230
1214
|
return l10n.getSupportedLocale(browserLocale);
|
|
@@ -1290,8 +1274,8 @@ var ApplicationShellProvider = function ApplicationShellProvider(props) {
|
|
|
1290
1274
|
}, [apolloClient]);
|
|
1291
1275
|
var coercedEnvironmentValues = useCoercedEnvironmentValues(props.environment);
|
|
1292
1276
|
var browserLocale = getBrowserLocale(window);
|
|
1293
|
-
return jsxRuntime.
|
|
1294
|
-
children:
|
|
1277
|
+
return jsxRuntime.jsx(jsxRuntime.Fragment, {
|
|
1278
|
+
children: jsxRuntime.jsx(ErrorBoundary, {
|
|
1295
1279
|
children: jsxRuntime.jsx(applicationShellConnectors.ApplicationContextProvider, {
|
|
1296
1280
|
environment: coercedEnvironmentValues,
|
|
1297
1281
|
children: jsxRuntime.jsx(reactRedux.Provider, {
|
|
@@ -1335,7 +1319,7 @@ var ApplicationShellProvider = function ApplicationShellProvider(props) {
|
|
|
1335
1319
|
})
|
|
1336
1320
|
})
|
|
1337
1321
|
})
|
|
1338
|
-
})
|
|
1322
|
+
})
|
|
1339
1323
|
});
|
|
1340
1324
|
};
|
|
1341
1325
|
|
|
@@ -1344,7 +1328,7 @@ ApplicationShellProvider.displayName = 'ApplicationShellProvider'; // This is us
|
|
|
1344
1328
|
|
|
1345
1329
|
ApplicationShellProvider.history = history__default["default"];
|
|
1346
1330
|
|
|
1347
|
-
var LoggedInUserQuery = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchLoggedInUser" }, 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: "email" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "gravatarHash" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "firstName" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "lastName" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "language" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "numberFormat" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "timeZone" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "launchdarklyTrackingId" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "launchdarklyTrackingGroup" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "launchdarklyTrackingSubgroup" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "launchdarklyTrackingTeam" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "launchdarklyTrackingTenant" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "defaultProjectKey" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "businessRole" }, 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: [] }] } }] } }] } }] } }] } }], loc: { start: 0, end:
|
|
1331
|
+
var LoggedInUserQuery = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchLoggedInUser" }, 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: "email" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "gravatarHash" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "firstName" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "lastName" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "language" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "numberFormat" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "timeZone" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "launchdarklyTrackingId" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "launchdarklyTrackingGroup" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "launchdarklyTrackingSubgroup" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "launchdarklyTrackingTeam" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "launchdarklyTrackingTenant" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "defaultProjectKey" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "businessRole" }, 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: "idTokenUserInfo" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "iss" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "sub" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "aud" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "exp" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "iat" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "email" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "additionalClaims" }, arguments: [], directives: [] }] } }] } }] } }], loc: { start: 0, end: 640, source: { body: "query FetchLoggedInUser {\n user: me {\n id\n email\n gravatarHash\n firstName\n lastName\n language\n numberFormat\n timeZone\n launchdarklyTrackingId\n launchdarklyTrackingGroup\n launchdarklyTrackingSubgroup\n launchdarklyTrackingTeam\n launchdarklyTrackingTenant\n defaultProjectKey\n businessRole\n projects {\n total\n results {\n name\n key\n suspension {\n isActive\n }\n expiry {\n isActive\n }\n }\n }\n idTokenUserInfo {\n iss\n sub\n aud\n exp\n iat\n email\n name\n additionalClaims\n }\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
|
|
1348
1332
|
|
|
1349
1333
|
var FetchUser = function FetchUser(props) {
|
|
1350
1334
|
var _useMcQuery = useMcQuery(LoggedInUserQuery, {
|
|
@@ -1956,7 +1940,7 @@ var _ref4$1 = {
|
|
|
1956
1940
|
styles: "flex:1"
|
|
1957
1941
|
} ;
|
|
1958
1942
|
|
|
1959
|
-
var _ref5
|
|
1943
|
+
var _ref5 = {
|
|
1960
1944
|
name: "zol16h",
|
|
1961
1945
|
styles: "display:flex;flex:1;align-items:center"
|
|
1962
1946
|
} ;
|
|
@@ -1966,7 +1950,7 @@ var ProjectSwitcherValueContainer = function ProjectSwitcherValueContainer(_ref6
|
|
|
1966
1950
|
restProps = _objectWithoutProperties(_ref6, _excluded$1);
|
|
1967
1951
|
|
|
1968
1952
|
return jsxRuntime.jsxs("div", {
|
|
1969
|
-
css: _ref5
|
|
1953
|
+
css: _ref5,
|
|
1970
1954
|
children: [jsxRuntime.jsx("div", {
|
|
1971
1955
|
css: _ref4$1,
|
|
1972
1956
|
children: jsxRuntime.jsx(SelectInput__default["default"].ValueContainer, _objectSpread$8(_objectSpread$8({}, restProps), {}, {
|
|
@@ -2403,19 +2387,19 @@ var LocaleSwitcher = function LocaleSwitcher(props) {
|
|
|
2403
2387
|
LocaleSwitcher.propTypes = {};
|
|
2404
2388
|
|
|
2405
2389
|
var ProjectNotFound = /*#__PURE__*/react.lazy(function () {
|
|
2406
|
-
return Promise.resolve().then(function () { return require('./project-not-found-
|
|
2390
|
+
return Promise.resolve().then(function () { return require('./project-not-found-28b4da26.cjs.prod.js'
|
|
2407
2391
|
/* webpackChunkName: "project-not-found" */
|
|
2408
2392
|
); });
|
|
2409
2393
|
});
|
|
2410
2394
|
|
|
2411
2395
|
var ProjectExpired = /*#__PURE__*/react.lazy(function () {
|
|
2412
|
-
return Promise.resolve().then(function () { return require('./project-expired-
|
|
2396
|
+
return Promise.resolve().then(function () { return require('./project-expired-bdefb97a.cjs.prod.js'
|
|
2413
2397
|
/* webpackChunkName: "project-expired" */
|
|
2414
2398
|
); });
|
|
2415
2399
|
});
|
|
2416
2400
|
|
|
2417
2401
|
var ProjectNotInitialized = /*#__PURE__*/react.lazy(function () {
|
|
2418
|
-
return Promise.resolve().then(function () { return require('./project-not-initialized-
|
|
2402
|
+
return Promise.resolve().then(function () { return require('./project-not-initialized-20d04d23.cjs.prod.js'
|
|
2419
2403
|
/* webpackChunkName: "project-not-initialized" */
|
|
2420
2404
|
); });
|
|
2421
2405
|
});
|
|
@@ -2462,7 +2446,7 @@ var RedirectToProjectCreate = function RedirectToProjectCreate() {
|
|
|
2462
2446
|
RedirectToProjectCreate.displayName = 'RedirectToProjectCreate';
|
|
2463
2447
|
|
|
2464
2448
|
var ProjectSuspended = /*#__PURE__*/react.lazy(function () {
|
|
2465
|
-
return Promise.resolve().then(function () { return require('./project-suspended-
|
|
2449
|
+
return Promise.resolve().then(function () { return require('./project-suspended-267991e0.cjs.prod.js'
|
|
2466
2450
|
/* webpackChunkName: "project-suspended" */
|
|
2467
2451
|
); });
|
|
2468
2452
|
});
|
|
@@ -3101,7 +3085,7 @@ function ownKeys$3(object, enumerableOnly) { var keys = _Object$keys__default["d
|
|
|
3101
3085
|
|
|
3102
3086
|
function _objectSpread$3(target) { for (var i = 1; i < arguments.length; i++) { var _context11, _context12; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty__default["default"](_context11 = ownKeys$3(Object(source), !0)).call(_context11, function (key) { _defineProperty(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](target, _Object$getOwnPropertyDescriptors__default["default"](source)) : _forEachInstanceProperty__default["default"](_context12 = ownKeys$3(Object(source))).call(_context12, function (key) { _Object$defineProperty__default["default"](target, key, _Object$getOwnPropertyDescriptor__default["default"](source, key)); }); } return target; }
|
|
3103
3087
|
var compiledStyles = {
|
|
3104
|
-
"global": ":root {\n\n /* Left navigation */\n}\n\n/* Left Nav */\n\n.navbar-mod__left-navigation___n7yUt {\n display: flex;\n flex-grow: 1;\n width: 64px;\n z-index: 19999;\n background:
|
|
3088
|
+
"global": ":root {\n\n /* Left navigation */\n}\n\n/* Left Nav */\n\n.navbar-mod__left-navigation___n7yUt {\n display: flex;\n flex-grow: 1;\n width: 64px;\n z-index: 19999;\n background: var(--color-accent);\n}\n\n.navbar-mod__list___RCV3J {\n margin: 0;\n padding: 0;\n display: flex;\n flex-direction: column;\n min-height: 0;\n flex: 1 1 0;\n}\n\n.body__menu-open .navbar-mod__scrollable-menu___64pxJ {\n flex: 1 1 0;\n overflow-x: hidden;\n overflow-y: auto;\n}\n\n.navbar-mod__list-item___MjK6t {\n width: 64px;\n height: 64px;\n background: var(--color-accent);\n margin: 0;\n list-style: none;\n cursor: pointer;\n}\n\n.navbar-mod__item-link___X2Ina {\n color: var(--color-surface);\n padding: var(--spacing-m);\n width: 100%;\n position: relative;\n display: block;\n}\n\n.navbar-mod__list-item___MjK6t .navbar-mod__item-icon-text___a-8JY {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n}\n\n.navbar-mod__list-item___MjK6t .navbar-mod__icon___bLsep {\n width: 32px;\n height: 32px;\n}\n\n.navbar-mod__list-item___MjK6t .navbar-mod__title___eRWUj {\n flex: 1;\n font-size: 1rem;\n font-weight: 100;\n color: var(--color-surface);\n display: none;\n opacity: 0;\n transition: all 0.25s ease-in-out;\n text-align: left;\n text-decoration: none;\n}\n\n.navbar-mod__title-user-voice___oOLj8 {\n font-size: 0.9em !important;\n}\n\n.navbar-mod__expander___jyAUi {\n height: 50px;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: transparent;\n}\n\n.navbar-mod__expander___jyAUi:hover {\n background: transparent !important;\n}\n\n.navbar-mod__expand-icon___BtmRa {\n background: var(--color-solid);\n align-items: center;\n border-radius: 32px;\n cursor: pointer;\n display: flex;\n height: 32px;\n justify-content: center;\n transform: translateX(0) rotateZ(180deg);\n width: 32px;\n}\n\n.navbar-mod__item--bottom___eW7nh {\n position: absolute;\n bottom: 50px;\n}\n\n.navbar-mod__list-item___MjK6t:hover {\n background-color: var(--color-accent-30);\n}\n\n.navbar-mod__item__active___lo1sr .navbar-mod__title___eRWUj {\n opacity: 1;\n display: block;\n transition: all 0.2s ease;\n}\n\n.navbar-mod__item_menu-open___zk0zh {\n height: auto !important;\n}\n\n/* NO SUBMENU */\n\n.navbar-mod__item__no-submenu___0lmiH,\n.navbar-mod__item_menu-collapsed___cluyY {\n height: 64px !important;\n}\n\n.navbar-mod__item_menu-collapsed___cluyY .navbar-mod__item-link___X2Ina {\n text-align: center;\n}\n\n.navbar-mod__item__no-submenu___0lmiH .navbar-mod__title___eRWUj {\n border-bottom: 0;\n}\n\n.navbar-mod__item__no-submenu___0lmiH .navbar-mod__sublist___os1s7 {\n padding: 45px 20px 20px;\n}\n\n/* left-nav open */\n\n.body__menu-open .navbar-mod__title___eRWUj {\n color: var(--color-surface);\n font-weight: 100;\n}\n\n.body__menu-open .navbar-mod__left-navigation___n7yUt {\n box-shadow: 6px 0 10px rgba(0, 0, 0, 0.16);\n}\n\n.body__menu-open .navbar-mod__list-item___MjK6t {\n height: auto;\n min-height: 64px;\n max-height: 0;\n transition: max-height 0.15s ease-out;\n overflow: hidden;\n}\n\n.body__menu-open .navbar-mod__left-navigation___n7yUt,\n.body__menu-open .navbar-mod__list-item___MjK6t {\n width: 200px;\n}\n\n.body__menu-open .navbar-mod__list-item___MjK6t .navbar-mod__title___eRWUj {\n display: block;\n opacity: 1;\n margin-left: var(--spacing-m);\n color: var(--color-surface);\n}\n\n.body__menu-open .navbar-mod__expand-icon___BtmRa {\n transform: translateX(65px) rotateZ(0deg);\n}\n\n.body__menu-open .navbar-mod__item__active___lo1sr {\n max-height: 500px;\n transition: max-height 0.25s ease-in;\n}\n\n.body__menu-open .navbar-mod__sublist___os1s7 {\n position: relative;\n z-index: 1;\n left: 0;\n margin: 0 0 0 calc(32px + var(--spacing-m));\n padding: var(--spacing-s) 0 0;\n background-color: transparent;\n border-top: 1px var(--color-neutral-60) solid;\n}\n\n.body__menu-open .navbar-mod__sublist___os1s7.navbar-mod__sublist-no-children___Dy-h- {\n border: 0;\n}\n\n.body__menu-open .navbar-mod__title-copy___o2y1q {\n font-size: 0.857em;\n color: white;\n text-decoration: none;\n font-weight: lighter;\n transition: all 0.15s ease;\n}\n\n.body__menu-open .navbar-mod__title-copy___o2y1q:hover {\n color: var(--color-primary-40);\n}\n\n.body__menu-open .navbar-mod__expander___jyAUi {\n min-height: 50px;\n}\n\n/* Second level menu */\n\n.navbar-mod__sublist___os1s7 {\n padding: 55px var(--spacing-m) var(--spacing-m);\n font-weight: 100;\n position: absolute;\n background-color: var(--color-accent-30);\n top: 0;\n left: 64px;\n z-index: -1;\n list-style: none;\n opacity: 0.01;\n visibility: hidden;\n}\n\n.navbar-mod__sublist__inactive___kJvf- {\n /* empty block */\n}\n\n.navbar-mod__sublist-item___gafkS {\n padding: 3px 0;\n}\n\n.navbar-mod__sublist-item___gafkS:hover {\n /* background-color: --color-accent-30; */\n color: var(--color-primary-40);\n}\n\n.navbar-mod__text___ccHEu {\n font-size: 0.857em;\n}\n\n.navbar-mod__text-link___dhtj6 {\n color: white;\n text-decoration: none;\n transition: all 0.15s ease;\n}\n\n.navbar-mod__text-link___dhtj6:hover {\n color: var(--color-primary-40);\n}\n\n.navbar-mod__title-text___5DEpd {\n font-weight: bold;\n visibility: hidden;\n opacity: 0.001;\n}\n\n/* Item active */\n\n.navbar-mod__item__active___lo1sr {\n background: var(--color-accent-30);\n}\n\n.navbar-mod__list-item___MjK6t.navbar-mod__item__active___lo1sr .navbar-mod__item-icon-text___a-8JY {\n position: absolute;\n width: 175px;\n}\n\n.body__menu-open .navbar-mod__list-item___MjK6t.navbar-mod__item__active___lo1sr .navbar-mod__item-icon-text___a-8JY {\n position: relative;\n width: auto;\n}\n\n.navbar-mod__list-item___MjK6t.navbar-mod__item__active___lo1sr .navbar-mod__item-icon-text___a-8JY .navbar-mod__title___eRWUj {\n margin-left: 30px;\n}\n\n.body__menu-open .navbar-mod__list-item___MjK6t.navbar-mod__item__active___lo1sr .navbar-mod__item-icon-text___a-8JY .navbar-mod__title___eRWUj {\n margin-left: var(--spacing-m);\n}\n\n.body__menu-open .navbar-mod__list-item___MjK6t.navbar-mod__item__active___lo1sr .navbar-mod__item-icon-text___a-8JY {\n margin-left: 0;\n}\n\n.navbar-mod__list-item___MjK6t.navbar-mod__item__active___lo1sr .navbar-mod__sublist___os1s7 {\n width: 150px;\n}\n\n.body__menu-open .navbar-mod__list-item___MjK6t.navbar-mod__item__active___lo1sr .navbar-mod__sublist___os1s7 {\n width: calc(100% - calc(32px + var(--spacing-m)));\n}\n\n.navbar-mod__sublist-expanded__active___240JK,\n.navbar-mod__sublist-collapsed__active___-9vYh {\n opacity: 1;\n visibility: visible;\n text-align: left;\n}\n\n.navbar-mod__highlighted___oJWkA {\n color: var(--color-primary-40) !important;\n}\n\n.navbar-mod__hidden___TQLSs {\n display: none;\n}\n\n.navbar-mod__divider-first-item___9Ftml {\n border-top: 1px solid var(--color-solid);\n}\n\n.navbar-mod__divider-second-item___EDS33 {\n border-top: 1px solid var(--color-accent-40);\n}\n\n.navbar-mod__loading-dot-container___G2LVb {\n width: 32px;\n height: 32px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.navbar-mod__scrollable-menu___64pxJ {\n flex: 1 1 0;\n}\n\n.navbar-mod__fixed-menu___42tD9 {\n flex: 0 0 0;\n}\n",
|
|
3105
3089
|
"jsonMap": {
|
|
3106
3090
|
"left-navigation": "navbar-mod__left-navigation___n7yUt",
|
|
3107
3091
|
"list": "navbar-mod__list___RCV3J",
|
|
@@ -3707,7 +3691,7 @@ var pimIndexerStates = {
|
|
|
3707
3691
|
};
|
|
3708
3692
|
|
|
3709
3693
|
var QuickAccess = /*#__PURE__*/react.lazy(function () {
|
|
3710
|
-
return Promise.resolve().then(function () { return require('./quick-access-
|
|
3694
|
+
return Promise.resolve().then(function () { return require('./quick-access-9f784445.cjs.prod.js'
|
|
3711
3695
|
/* webpackChunkName: "quick-access" */
|
|
3712
3696
|
); });
|
|
3713
3697
|
});
|
|
@@ -3962,6 +3946,28 @@ var RedirectToLogout = function RedirectToLogout(props) {
|
|
|
3962
3946
|
});
|
|
3963
3947
|
};
|
|
3964
3948
|
|
|
3949
|
+
var appStyles = {
|
|
3950
|
+
name: "172jsbd",
|
|
3951
|
+
styles: "#app{height:100%;}"
|
|
3952
|
+
} ;
|
|
3953
|
+
var gridStyles = {
|
|
3954
|
+
name: "r6l3ky",
|
|
3955
|
+
styles: ".row clear:both;float:left;width:100%"
|
|
3956
|
+
} ;
|
|
3957
|
+
var resetStyles = /*#__PURE__*/react$2.css("*,*::before,*::after{box-sizing:inherit;}html,body{color:", designSystem.customProperties.colorSolid, ";font-family:'Open Sans',sans-serif;font-size:13px;margin:0;padding:0;height:100vh;}html{box-sizing:border-box;}h1,h2,h3,h4,h5,h6{margin:0;}button{cursor:pointer;}a{color:", designSystem.customProperties.colorPrimary, ";cursor:pointer;text-decoration:none;transition:color 0.2s ease-in;}p{color:", designSystem.customProperties.colorSolid, ";margin:0;}" + ("" ), "" );
|
|
3958
|
+
|
|
3959
|
+
var GlobalStyles = function GlobalStyles() {
|
|
3960
|
+
return jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
3961
|
+
children: [jsxRuntime.jsx(react$2.Global, {
|
|
3962
|
+
styles: appStyles
|
|
3963
|
+
}), jsxRuntime.jsx(react$2.Global, {
|
|
3964
|
+
styles: gridStyles
|
|
3965
|
+
}), jsxRuntime.jsx(react$2.Global, {
|
|
3966
|
+
styles: resetStyles
|
|
3967
|
+
})]
|
|
3968
|
+
});
|
|
3969
|
+
};
|
|
3970
|
+
|
|
3965
3971
|
function ownKeys$1(object, enumerableOnly) { var keys = _Object$keys__default["default"](object); if (_Object$getOwnPropertySymbols__default["default"]) { var symbols = _Object$getOwnPropertySymbols__default["default"](object); enumerableOnly && (symbols = _filterInstanceProperty__default["default"](symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor__default["default"](object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3966
3972
|
|
|
3967
3973
|
function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var _context2, _context3; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty__default["default"](_context2 = ownKeys$1(Object(source), !0)).call(_context2, function (key) { _defineProperty(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](target, _Object$getOwnPropertyDescriptors__default["default"](source)) : _forEachInstanceProperty__default["default"](_context3 = ownKeys$1(Object(source))).call(_context3, function (key) { _Object$defineProperty__default["default"](target, key, _Object$getOwnPropertyDescriptor__default["default"](source, key)); }); } return target; }
|
|
@@ -3992,22 +3998,22 @@ var MainContainer = /*#__PURE__*/_styled__default["default"]("main", {
|
|
|
3992
3998
|
styles: "grid-column:2;grid-row:3;min-width:0;overflow-x:hidden;overflow-y:scroll;display:flex;flex-direction:column;position:relative"
|
|
3993
3999
|
} );
|
|
3994
4000
|
|
|
3995
|
-
var
|
|
4001
|
+
var _ref = {
|
|
3996
4002
|
name: "tlwzvn",
|
|
3997
4003
|
styles: "flex-grow:1;display:flex;flex-direction:column;position:relative;>*:not(:first-of-type){flex-grow:1;display:flex;flex-direction:column;}"
|
|
3998
4004
|
} ;
|
|
3999
4005
|
|
|
4000
|
-
var
|
|
4006
|
+
var _ref2 = {
|
|
4001
4007
|
name: "14w5yo3",
|
|
4002
4008
|
styles: "position:relative;grid-row:3;display:flex;flex-direction:column"
|
|
4003
4009
|
} ;
|
|
4004
4010
|
|
|
4005
|
-
var
|
|
4011
|
+
var _ref3 = {
|
|
4006
4012
|
name: "fqjitq",
|
|
4007
4013
|
styles: "grid-row:2;grid-column:1/3"
|
|
4008
4014
|
} ;
|
|
4009
4015
|
|
|
4010
|
-
var
|
|
4016
|
+
var _ref4 = {
|
|
4011
4017
|
name: "8bdwu0",
|
|
4012
4018
|
styles: "grid-row:1;grid-column:1/3"
|
|
4013
4019
|
} ;
|
|
@@ -4029,10 +4035,10 @@ var RestrictedApplication = function RestrictedApplication(props) {
|
|
|
4029
4035
|
notificationsPageRef: notificationsPageRef
|
|
4030
4036
|
});
|
|
4031
4037
|
return jsxRuntime.jsx(FetchUser, {
|
|
4032
|
-
children: function children(
|
|
4033
|
-
var isLoadingUser =
|
|
4034
|
-
user =
|
|
4035
|
-
error =
|
|
4038
|
+
children: function children(_ref5) {
|
|
4039
|
+
var isLoadingUser = _ref5.isLoading,
|
|
4040
|
+
user = _ref5.user,
|
|
4041
|
+
error = _ref5.error;
|
|
4036
4042
|
|
|
4037
4043
|
if (error) {
|
|
4038
4044
|
// In case there is an unauthorized error, we redirect to the login page
|
|
@@ -4055,9 +4061,9 @@ var RestrictedApplication = function RestrictedApplication(props) {
|
|
|
4055
4061
|
return jsxRuntime.jsx(i18n.AsyncLocaleData, {
|
|
4056
4062
|
locale: userLocale,
|
|
4057
4063
|
applicationMessages: props.applicationMessages,
|
|
4058
|
-
children: function children(
|
|
4059
|
-
var locale =
|
|
4060
|
-
messages =
|
|
4064
|
+
children: function children(_ref6) {
|
|
4065
|
+
var locale = _ref6.locale,
|
|
4066
|
+
messages = _ref6.messages;
|
|
4061
4067
|
sentry.reportErrorToSentry(error, {});
|
|
4062
4068
|
return jsxRuntime.jsx(ConfigureIntlProvider, {
|
|
4063
4069
|
locale: locale,
|
|
@@ -4075,12 +4081,12 @@ var RestrictedApplication = function RestrictedApplication(props) {
|
|
|
4075
4081
|
children: jsxRuntime.jsx(i18n.AsyncLocaleData, {
|
|
4076
4082
|
locale: user === null || user === void 0 ? void 0 : user.language,
|
|
4077
4083
|
applicationMessages: props.applicationMessages,
|
|
4078
|
-
children: function children(
|
|
4084
|
+
children: function children(_ref7) {
|
|
4079
4085
|
var _user$businessRole;
|
|
4080
4086
|
|
|
4081
|
-
var isLoadingLocaleData =
|
|
4082
|
-
locale =
|
|
4083
|
-
messages =
|
|
4087
|
+
var isLoadingLocaleData = _ref7.isLoading,
|
|
4088
|
+
locale = _ref7.locale,
|
|
4089
|
+
messages = _ref7.messages;
|
|
4084
4090
|
return jsxRuntime.jsx(ConfigureIntlProvider // We do not want to pass the language as long as the locale data
|
|
4085
4091
|
// is not loaded.
|
|
4086
4092
|
, _objectSpread$1(_objectSpread$1({}, isLoadingLocaleData ? {} : {
|
|
@@ -4108,7 +4114,7 @@ var RestrictedApplication = function RestrictedApplication(props) {
|
|
|
4108
4114
|
ref: notificationsGlobalRef,
|
|
4109
4115
|
role: "region",
|
|
4110
4116
|
"aria-live": "polite",
|
|
4111
|
-
css:
|
|
4117
|
+
css: _ref4,
|
|
4112
4118
|
children: jsxRuntime.jsx(reactNotifications.NotificationsList, {
|
|
4113
4119
|
domain: constants$1.DOMAINS.GLOBAL
|
|
4114
4120
|
})
|
|
@@ -4117,9 +4123,9 @@ var RestrictedApplication = function RestrictedApplication(props) {
|
|
|
4117
4123
|
if (!projectKeyFromUrl) return jsxRuntime.jsx(QuickAccessTrigger, {});
|
|
4118
4124
|
return jsxRuntime.jsx(FetchProject, {
|
|
4119
4125
|
projectKey: projectKeyFromUrl,
|
|
4120
|
-
children: function children(
|
|
4121
|
-
var isProjectLoading =
|
|
4122
|
-
project =
|
|
4126
|
+
children: function children(_ref8) {
|
|
4127
|
+
var isProjectLoading = _ref8.isLoading,
|
|
4128
|
+
project = _ref8.project;
|
|
4123
4129
|
if (isProjectLoading || !project) return null; // when used outside of a project context,
|
|
4124
4130
|
// or when the project is expired or supsended
|
|
4125
4131
|
|
|
@@ -4127,9 +4133,9 @@ var RestrictedApplication = function RestrictedApplication(props) {
|
|
|
4127
4133
|
if (!shouldUseProjectContext) return jsxRuntime.jsx(QuickAccessTrigger, {});
|
|
4128
4134
|
return jsxRuntime.jsx(ProjectDataLocale, {
|
|
4129
4135
|
locales: project.languages,
|
|
4130
|
-
children: function children(
|
|
4131
|
-
var dataLocale =
|
|
4132
|
-
setProjectDataLocale =
|
|
4136
|
+
children: function children(_ref9) {
|
|
4137
|
+
var dataLocale = _ref9.locale,
|
|
4138
|
+
setProjectDataLocale = _ref9.setProjectDataLocale;
|
|
4133
4139
|
return jsxRuntime.jsx(applicationShellConnectors.ApplicationContextProvider, {
|
|
4134
4140
|
user: user,
|
|
4135
4141
|
project: project,
|
|
@@ -4145,13 +4151,13 @@ var RestrictedApplication = function RestrictedApplication(props) {
|
|
|
4145
4151
|
});
|
|
4146
4152
|
}
|
|
4147
4153
|
}), jsxRuntime.jsx("header", {
|
|
4148
|
-
css:
|
|
4154
|
+
css: _ref3,
|
|
4149
4155
|
children: jsxRuntime.jsx(AppBar, {
|
|
4150
4156
|
user: user,
|
|
4151
4157
|
projectKeyFromUrl: projectKeyFromUrl
|
|
4152
4158
|
})
|
|
4153
4159
|
}), jsxRuntime.jsx("aside", {
|
|
4154
|
-
css:
|
|
4160
|
+
css: _ref2,
|
|
4155
4161
|
children: function () {
|
|
4156
4162
|
// The <NavBar> should only be rendered within a project
|
|
4157
4163
|
// context, therefore when there is a `projectKey`.
|
|
@@ -4166,9 +4172,9 @@ var RestrictedApplication = function RestrictedApplication(props) {
|
|
|
4166
4172
|
if (!projectKeyFromUrl) return null;
|
|
4167
4173
|
return jsxRuntime.jsx(FetchProject, {
|
|
4168
4174
|
projectKey: projectKeyFromUrl,
|
|
4169
|
-
children: function children(
|
|
4170
|
-
var isLoadingProject =
|
|
4171
|
-
project =
|
|
4175
|
+
children: function children(_ref10) {
|
|
4176
|
+
var isLoadingProject = _ref10.isLoading,
|
|
4177
|
+
project = _ref10.project;
|
|
4172
4178
|
// Render the loading navbar as long as all the data
|
|
4173
4179
|
// hasn't been loaded, or if the project does not exist.
|
|
4174
4180
|
if (isLoadingUser || isLoadingLocaleData || isLoadingProject || !locale || !project) return jsxRuntime.jsx(LoadingNavBar, {});
|
|
@@ -4202,7 +4208,7 @@ var RestrictedApplication = function RestrictedApplication(props) {
|
|
|
4202
4208
|
}), jsxRuntime.jsx(reactNotifications.NotificationsList, {
|
|
4203
4209
|
domain: constants$1.DOMAINS.SIDE
|
|
4204
4210
|
}), jsxRuntime.jsxs("div", {
|
|
4205
|
-
css:
|
|
4211
|
+
css: _ref,
|
|
4206
4212
|
children: [jsxRuntime.jsx(applicationComponents.PortalsContainer // @ts-ignore
|
|
4207
4213
|
, {
|
|
4208
4214
|
ref: layoutRefs,
|
|
@@ -4283,11 +4289,6 @@ var RestrictedApplication = function RestrictedApplication(props) {
|
|
|
4283
4289
|
};
|
|
4284
4290
|
RestrictedApplication.displayName = 'RestrictedApplication';
|
|
4285
4291
|
|
|
4286
|
-
var _ref = {
|
|
4287
|
-
name: "172jsbd",
|
|
4288
|
-
styles: "#app{height:100%;}"
|
|
4289
|
-
} ;
|
|
4290
|
-
|
|
4291
4292
|
var ApplicationShell = function ApplicationShell(props) {
|
|
4292
4293
|
react.useEffect(function () {
|
|
4293
4294
|
var _props$onRegisterErro;
|
|
@@ -4298,15 +4299,15 @@ var ApplicationShell = function ApplicationShell(props) {
|
|
|
4298
4299
|
}, []); // <-- run only once, when component mounts
|
|
4299
4300
|
|
|
4300
4301
|
return jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
4301
|
-
children: [jsxRuntime.jsx(
|
|
4302
|
-
|
|
4303
|
-
}), jsxRuntime.jsx(ApplicationShellProvider, {
|
|
4302
|
+
children: [jsxRuntime.jsx(designSystem.ThemeProvider, {
|
|
4303
|
+
theme: "default"
|
|
4304
|
+
}), jsxRuntime.jsx(GlobalStyles, {}), jsxRuntime.jsx(ApplicationShellProvider, {
|
|
4304
4305
|
apolloClient: props.apolloClient,
|
|
4305
4306
|
environment: props.environment,
|
|
4306
4307
|
trackingEventList: props.trackingEventList,
|
|
4307
4308
|
applicationMessages: props.applicationMessages,
|
|
4308
|
-
children: function children(
|
|
4309
|
-
var isAuthenticated =
|
|
4309
|
+
children: function children(_ref11) {
|
|
4310
|
+
var isAuthenticated = _ref11.isAuthenticated;
|
|
4310
4311
|
|
|
4311
4312
|
if (isAuthenticated) {
|
|
4312
4313
|
return jsxRuntime.jsxs(reactRouterDom.Switch, {
|