@commercetools-frontend/application-shell 20.11.0 → 20.12.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{application-entry-point-ffe525a6.cjs.prod.js → application-entry-point-32ba21e8.cjs.prod.js} +36 -78
- package/dist/{application-entry-point-18770bfb.cjs.dev.js → application-entry-point-ca79642e.cjs.dev.js} +36 -78
- package/dist/{application-entry-point-3f374457.esm.js → application-entry-point-caba3fcf.esm.js} +14 -52
- package/dist/commercetools-frontend-application-shell.cjs.dev.js +9 -4
- package/dist/commercetools-frontend-application-shell.cjs.prod.js +9 -4
- package/dist/commercetools-frontend-application-shell.esm.js +7 -4
- package/dist/constants-33a16227.esm.js +46 -0
- package/dist/constants-745aeeca.cjs.prod.js +54 -0
- package/dist/constants-fdbe0e9d.cjs.dev.js +54 -0
- package/dist/declarations/src/apollo-links/utils.d.ts +1 -1
- package/dist/declarations/src/components/application-shell/helpers.d.ts +1 -0
- package/dist/declarations/src/components/locale-switcher/locale-switcher.d.ts +3 -4
- package/dist/declarations/src/hooks/use-is-served-by-proxy/index.d.ts +1 -0
- package/dist/declarations/src/hooks/use-is-served-by-proxy/use-is-served-by-proxy.d.ts +2 -0
- package/dist/declarations/src/index.d.ts +1 -1
- package/dist/declarations/src/ssr/index.d.ts +2 -0
- package/dist/declarations/src/utils/formatters.d.ts +8 -0
- package/dist/declarations/src/utils/index.d.ts +1 -0
- package/dist/declarations/src/{components/authenticated/helpers.d.ts → utils/oidc.d.ts} +0 -0
- package/dist/{index-76c4413b.cjs.prod.js → index-0428cf83.cjs.prod.js} +117 -101
- package/dist/{index-e6679632.cjs.dev.js → index-1a8b5b91.cjs.dev.js} +123 -107
- package/dist/{index-f9fabc3f.esm.js → index-dd13496f.esm.js} +82 -66
- package/dist/oidc-7e7761de.cjs.dev.js +94 -0
- package/dist/oidc-8e05c00e.esm.js +84 -0
- package/dist/oidc-be09bd90.cjs.prod.js +94 -0
- package/dist/{project-expired-76545cc5.cjs.dev.js → project-expired-1c83f3b0.cjs.dev.js} +7 -4
- package/dist/{project-expired-ca9b4abf.esm.js → project-expired-633f1944.esm.js} +7 -4
- package/dist/{project-expired-add920ff.cjs.prod.js → project-expired-da4386e2.cjs.prod.js} +7 -4
- package/dist/{project-not-found-705141ee.esm.js → project-not-found-ba7eb62f.esm.js} +7 -4
- package/dist/{project-not-found-ecbab238.cjs.prod.js → project-not-found-d28a8381.cjs.prod.js} +7 -4
- package/dist/{project-not-found-9b444972.cjs.dev.js → project-not-found-fa0d0fed.cjs.dev.js} +7 -4
- package/dist/{project-not-initialized-aa2e0406.cjs.prod.js → project-not-initialized-3bb6a35a.cjs.prod.js} +7 -4
- package/dist/{project-not-initialized-43c3480b.cjs.dev.js → project-not-initialized-75d542c8.cjs.dev.js} +7 -4
- package/dist/{project-not-initialized-c75f1950.esm.js → project-not-initialized-b5aa1292.esm.js} +7 -4
- package/dist/{project-suspended-c851af31.esm.js → project-suspended-a7b9d722.esm.js} +7 -4
- package/dist/{project-suspended-d70929a8.cjs.prod.js → project-suspended-d498f169.cjs.prod.js} +7 -4
- package/dist/{project-suspended-d476386a.cjs.dev.js → project-suspended-ed1a8044.cjs.dev.js} +7 -4
- package/dist/{quick-access-0a46f8a1.cjs.prod.js → quick-access-5133c280.cjs.prod.js} +5 -2
- package/dist/{quick-access-3c16727c.cjs.dev.js → quick-access-53014796.cjs.dev.js} +5 -2
- package/dist/{quick-access-11f02492.esm.js → quick-access-612dc2d7.esm.js} +5 -2
- package/dist/{service-page-project-switcher-6ec976d5.cjs.prod.js → service-page-project-switcher-08c6c7d5.cjs.prod.js} +1 -1
- package/dist/{service-page-project-switcher-087d711d.esm.js → service-page-project-switcher-4893264d.esm.js} +1 -1
- package/dist/{service-page-project-switcher-e22f7891.cjs.dev.js → service-page-project-switcher-dfbbe4c1.cjs.dev.js} +1 -1
- package/package.json +63 -57
- package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.d.ts +1 -0
- package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.dev.js +16 -0
- package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.js +7 -0
- package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.prod.js +16 -0
- package/ssr/dist/commercetools-frontend-application-shell-ssr.esm.js +6 -0
- package/ssr/package.json +4 -0
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.dev.js +3 -1
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.prod.js +3 -1
- package/test-utils/dist/commercetools-frontend-application-shell-test-utils.esm.js +3 -1
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var _mapInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/map');
|
|
4
|
+
var upperFirst = require('lodash/upperFirst');
|
|
5
|
+
var _toConsumableArray = require('@babel/runtime-corejs3/helpers/toConsumableArray');
|
|
6
|
+
var _concatInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/concat');
|
|
7
|
+
var constants = require('./constants-fdbe0e9d.cjs.dev.js');
|
|
8
|
+
|
|
9
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
10
|
+
|
|
11
|
+
var _mapInstanceProperty__default = /*#__PURE__*/_interopDefault(_mapInstanceProperty);
|
|
12
|
+
var upperFirst__default = /*#__PURE__*/_interopDefault(upperFirst);
|
|
13
|
+
var _concatInstanceProperty__default = /*#__PURE__*/_interopDefault(_concatInstanceProperty);
|
|
14
|
+
|
|
15
|
+
// removing special characters except underscore.
|
|
16
|
+
// It makes the first character of the string and the next character after a special character an uppercase.
|
|
17
|
+
// It replaces hyphen(-) with a forward slash(/) if the hyphen(-) is followed by a number.
|
|
18
|
+
// Examples:
|
|
19
|
+
// input: foo-bar result: FooBar
|
|
20
|
+
// input: foo_bar result: Foo_Bar
|
|
21
|
+
// input: foo-1bar result: Foo/1bar
|
|
22
|
+
|
|
23
|
+
var formatEntryPointUriPathToResourceAccessKey = function formatEntryPointUriPathToResourceAccessKey(entryPointUriPath) {
|
|
24
|
+
var _context, _context2;
|
|
25
|
+
|
|
26
|
+
return _mapInstanceProperty__default["default"](_context = _mapInstanceProperty__default["default"](_context2 = entryPointUriPath //Splits the string by underscore.
|
|
27
|
+
.split('_') // Uppercase the first character of each word split.
|
|
28
|
+
).call(_context2, function (word) {
|
|
29
|
+
return upperFirst__default["default"](word);
|
|
30
|
+
}) // Join the words by an underscore.
|
|
31
|
+
.join('_') // Each word is split by a hyphen.
|
|
32
|
+
.split('-')).call(_context, function (word, i) {
|
|
33
|
+
// Regex below checking if the character is numeric.
|
|
34
|
+
// If the word after the hyphen is numeric, replace the hyphen with a forward slash.
|
|
35
|
+
// If not, omit the hyphen and uppercase the first character
|
|
36
|
+
if (i > 0 && /^-?\d+$/.test(word[0])) {
|
|
37
|
+
return '/' + word;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
return upperFirst__default["default"](word);
|
|
41
|
+
}).join('');
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
var entryPointUriPathToResourceAccesses = function entryPointUriPathToResourceAccesses(entryPointUriPath) {
|
|
45
|
+
var convertedEntryPointUriPath = formatEntryPointUriPathToResourceAccessKey(entryPointUriPath);
|
|
46
|
+
return {
|
|
47
|
+
view: "view".concat(convertedEntryPointUriPath),
|
|
48
|
+
manage: "manage".concat(convertedEntryPointUriPath)
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
var entryPointUriPathToPermissionKeys = function entryPointUriPathToPermissionKeys(entryPointUriPath) {
|
|
52
|
+
var resourceAccesses = entryPointUriPathToResourceAccesses(entryPointUriPath);
|
|
53
|
+
return {
|
|
54
|
+
View: upperFirst__default["default"](resourceAccesses.view),
|
|
55
|
+
Manage: upperFirst__default["default"](resourceAccesses.manage)
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
var buildOidcScope = function buildOidcScope(options) {
|
|
60
|
+
var _context7;
|
|
61
|
+
|
|
62
|
+
var claims = [];
|
|
63
|
+
|
|
64
|
+
if (options.projectKey) {
|
|
65
|
+
var _context, _context2, _options$oAuthScopes$, _options$oAuthScopes, _context4, _options$oAuthScopes$2, _options$oAuthScopes2;
|
|
66
|
+
|
|
67
|
+
claims.push(_concatInstanceProperty__default["default"](_context = "".concat(constants.OIDC_CLAIMS.PROJECT_KEY, ":")).call(_context, options.projectKey));
|
|
68
|
+
claims.push.apply(claims, _toConsumableArray(_mapInstanceProperty__default["default"](_context2 = (_options$oAuthScopes$ = (_options$oAuthScopes = options.oAuthScopes) === null || _options$oAuthScopes === void 0 ? void 0 : _options$oAuthScopes.view) !== null && _options$oAuthScopes$ !== void 0 ? _options$oAuthScopes$ : []).call(_context2, function (scope) {
|
|
69
|
+
var _context3;
|
|
70
|
+
|
|
71
|
+
return _concatInstanceProperty__default["default"](_context3 = "".concat(constants.OIDC_CLAIMS.VIEW, ":")).call(_context3, scope);
|
|
72
|
+
})));
|
|
73
|
+
claims.push.apply(claims, _toConsumableArray(_mapInstanceProperty__default["default"](_context4 = (_options$oAuthScopes$2 = (_options$oAuthScopes2 = options.oAuthScopes) === null || _options$oAuthScopes2 === void 0 ? void 0 : _options$oAuthScopes2.manage) !== null && _options$oAuthScopes$2 !== void 0 ? _options$oAuthScopes$2 : []).call(_context4, function (scope) {
|
|
74
|
+
var _context5;
|
|
75
|
+
|
|
76
|
+
return _concatInstanceProperty__default["default"](_context5 = "".concat(constants.OIDC_CLAIMS.MANAGE, ":")).call(_context5, scope);
|
|
77
|
+
})));
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
var teamId = options.teamId;
|
|
81
|
+
|
|
82
|
+
if (teamId) {
|
|
83
|
+
var _context6;
|
|
84
|
+
|
|
85
|
+
claims.push(_concatInstanceProperty__default["default"](_context6 = "".concat(constants.OIDC_CLAIMS.TEAM_ID, ":")).call(_context6, teamId));
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
return _concatInstanceProperty__default["default"](_context7 = [// This is required as per OIDC spec.
|
|
89
|
+
constants.OIDC_CLAIMS.OPEN_ID]).call(_context7, claims).join(' ');
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
exports.buildOidcScope = buildOidcScope;
|
|
93
|
+
exports.entryPointUriPathToPermissionKeys = entryPointUriPathToPermissionKeys;
|
|
94
|
+
exports.entryPointUriPathToResourceAccesses = entryPointUriPathToResourceAccesses;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import _mapInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/map';
|
|
2
|
+
import upperFirst from 'lodash/upperFirst';
|
|
3
|
+
import _toConsumableArray from '@babel/runtime-corejs3/helpers/esm/toConsumableArray';
|
|
4
|
+
import _concatInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/concat';
|
|
5
|
+
import { O as OIDC_CLAIMS } from './constants-33a16227.esm.js';
|
|
6
|
+
|
|
7
|
+
// removing special characters except underscore.
|
|
8
|
+
// It makes the first character of the string and the next character after a special character an uppercase.
|
|
9
|
+
// It replaces hyphen(-) with a forward slash(/) if the hyphen(-) is followed by a number.
|
|
10
|
+
// Examples:
|
|
11
|
+
// input: foo-bar result: FooBar
|
|
12
|
+
// input: foo_bar result: Foo_Bar
|
|
13
|
+
// input: foo-1bar result: Foo/1bar
|
|
14
|
+
|
|
15
|
+
var formatEntryPointUriPathToResourceAccessKey = function formatEntryPointUriPathToResourceAccessKey(entryPointUriPath) {
|
|
16
|
+
var _context, _context2;
|
|
17
|
+
|
|
18
|
+
return _mapInstanceProperty(_context = _mapInstanceProperty(_context2 = entryPointUriPath //Splits the string by underscore.
|
|
19
|
+
.split('_') // Uppercase the first character of each word split.
|
|
20
|
+
).call(_context2, function (word) {
|
|
21
|
+
return upperFirst(word);
|
|
22
|
+
}) // Join the words by an underscore.
|
|
23
|
+
.join('_') // Each word is split by a hyphen.
|
|
24
|
+
.split('-')).call(_context, function (word, i) {
|
|
25
|
+
// Regex below checking if the character is numeric.
|
|
26
|
+
// If the word after the hyphen is numeric, replace the hyphen with a forward slash.
|
|
27
|
+
// If not, omit the hyphen and uppercase the first character
|
|
28
|
+
if (i > 0 && /^-?\d+$/.test(word[0])) {
|
|
29
|
+
return '/' + word;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
return upperFirst(word);
|
|
33
|
+
}).join('');
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
var entryPointUriPathToResourceAccesses = function entryPointUriPathToResourceAccesses(entryPointUriPath) {
|
|
37
|
+
var convertedEntryPointUriPath = formatEntryPointUriPathToResourceAccessKey(entryPointUriPath);
|
|
38
|
+
return {
|
|
39
|
+
view: "view".concat(convertedEntryPointUriPath),
|
|
40
|
+
manage: "manage".concat(convertedEntryPointUriPath)
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
var entryPointUriPathToPermissionKeys = function entryPointUriPathToPermissionKeys(entryPointUriPath) {
|
|
44
|
+
var resourceAccesses = entryPointUriPathToResourceAccesses(entryPointUriPath);
|
|
45
|
+
return {
|
|
46
|
+
View: upperFirst(resourceAccesses.view),
|
|
47
|
+
Manage: upperFirst(resourceAccesses.manage)
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
var buildOidcScope = function buildOidcScope(options) {
|
|
52
|
+
var _context7;
|
|
53
|
+
|
|
54
|
+
var claims = [];
|
|
55
|
+
|
|
56
|
+
if (options.projectKey) {
|
|
57
|
+
var _context, _context2, _options$oAuthScopes$, _options$oAuthScopes, _context4, _options$oAuthScopes$2, _options$oAuthScopes2;
|
|
58
|
+
|
|
59
|
+
claims.push(_concatInstanceProperty(_context = "".concat(OIDC_CLAIMS.PROJECT_KEY, ":")).call(_context, options.projectKey));
|
|
60
|
+
claims.push.apply(claims, _toConsumableArray(_mapInstanceProperty(_context2 = (_options$oAuthScopes$ = (_options$oAuthScopes = options.oAuthScopes) === null || _options$oAuthScopes === void 0 ? void 0 : _options$oAuthScopes.view) !== null && _options$oAuthScopes$ !== void 0 ? _options$oAuthScopes$ : []).call(_context2, function (scope) {
|
|
61
|
+
var _context3;
|
|
62
|
+
|
|
63
|
+
return _concatInstanceProperty(_context3 = "".concat(OIDC_CLAIMS.VIEW, ":")).call(_context3, scope);
|
|
64
|
+
})));
|
|
65
|
+
claims.push.apply(claims, _toConsumableArray(_mapInstanceProperty(_context4 = (_options$oAuthScopes$2 = (_options$oAuthScopes2 = options.oAuthScopes) === null || _options$oAuthScopes2 === void 0 ? void 0 : _options$oAuthScopes2.manage) !== null && _options$oAuthScopes$2 !== void 0 ? _options$oAuthScopes$2 : []).call(_context4, function (scope) {
|
|
66
|
+
var _context5;
|
|
67
|
+
|
|
68
|
+
return _concatInstanceProperty(_context5 = "".concat(OIDC_CLAIMS.MANAGE, ":")).call(_context5, scope);
|
|
69
|
+
})));
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
var teamId = options.teamId;
|
|
73
|
+
|
|
74
|
+
if (teamId) {
|
|
75
|
+
var _context6;
|
|
76
|
+
|
|
77
|
+
claims.push(_concatInstanceProperty(_context6 = "".concat(OIDC_CLAIMS.TEAM_ID, ":")).call(_context6, teamId));
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
return _concatInstanceProperty(_context7 = [// This is required as per OIDC spec.
|
|
81
|
+
OIDC_CLAIMS.OPEN_ID]).call(_context7, claims).join(' ');
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
export { entryPointUriPathToResourceAccesses as a, buildOidcScope as b, entryPointUriPathToPermissionKeys as e };
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var _mapInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/map');
|
|
4
|
+
var upperFirst = require('lodash/upperFirst');
|
|
5
|
+
var _toConsumableArray = require('@babel/runtime-corejs3/helpers/toConsumableArray');
|
|
6
|
+
var _concatInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/concat');
|
|
7
|
+
var constants = require('./constants-745aeeca.cjs.prod.js');
|
|
8
|
+
|
|
9
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
10
|
+
|
|
11
|
+
var _mapInstanceProperty__default = /*#__PURE__*/_interopDefault(_mapInstanceProperty);
|
|
12
|
+
var upperFirst__default = /*#__PURE__*/_interopDefault(upperFirst);
|
|
13
|
+
var _concatInstanceProperty__default = /*#__PURE__*/_interopDefault(_concatInstanceProperty);
|
|
14
|
+
|
|
15
|
+
// removing special characters except underscore.
|
|
16
|
+
// It makes the first character of the string and the next character after a special character an uppercase.
|
|
17
|
+
// It replaces hyphen(-) with a forward slash(/) if the hyphen(-) is followed by a number.
|
|
18
|
+
// Examples:
|
|
19
|
+
// input: foo-bar result: FooBar
|
|
20
|
+
// input: foo_bar result: Foo_Bar
|
|
21
|
+
// input: foo-1bar result: Foo/1bar
|
|
22
|
+
|
|
23
|
+
var formatEntryPointUriPathToResourceAccessKey = function formatEntryPointUriPathToResourceAccessKey(entryPointUriPath) {
|
|
24
|
+
var _context, _context2;
|
|
25
|
+
|
|
26
|
+
return _mapInstanceProperty__default["default"](_context = _mapInstanceProperty__default["default"](_context2 = entryPointUriPath //Splits the string by underscore.
|
|
27
|
+
.split('_') // Uppercase the first character of each word split.
|
|
28
|
+
).call(_context2, function (word) {
|
|
29
|
+
return upperFirst__default["default"](word);
|
|
30
|
+
}) // Join the words by an underscore.
|
|
31
|
+
.join('_') // Each word is split by a hyphen.
|
|
32
|
+
.split('-')).call(_context, function (word, i) {
|
|
33
|
+
// Regex below checking if the character is numeric.
|
|
34
|
+
// If the word after the hyphen is numeric, replace the hyphen with a forward slash.
|
|
35
|
+
// If not, omit the hyphen and uppercase the first character
|
|
36
|
+
if (i > 0 && /^-?\d+$/.test(word[0])) {
|
|
37
|
+
return '/' + word;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
return upperFirst__default["default"](word);
|
|
41
|
+
}).join('');
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
var entryPointUriPathToResourceAccesses = function entryPointUriPathToResourceAccesses(entryPointUriPath) {
|
|
45
|
+
var convertedEntryPointUriPath = formatEntryPointUriPathToResourceAccessKey(entryPointUriPath);
|
|
46
|
+
return {
|
|
47
|
+
view: "view".concat(convertedEntryPointUriPath),
|
|
48
|
+
manage: "manage".concat(convertedEntryPointUriPath)
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
var entryPointUriPathToPermissionKeys = function entryPointUriPathToPermissionKeys(entryPointUriPath) {
|
|
52
|
+
var resourceAccesses = entryPointUriPathToResourceAccesses(entryPointUriPath);
|
|
53
|
+
return {
|
|
54
|
+
View: upperFirst__default["default"](resourceAccesses.view),
|
|
55
|
+
Manage: upperFirst__default["default"](resourceAccesses.manage)
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
var buildOidcScope = function buildOidcScope(options) {
|
|
60
|
+
var _context7;
|
|
61
|
+
|
|
62
|
+
var claims = [];
|
|
63
|
+
|
|
64
|
+
if (options.projectKey) {
|
|
65
|
+
var _context, _context2, _options$oAuthScopes$, _options$oAuthScopes, _context4, _options$oAuthScopes$2, _options$oAuthScopes2;
|
|
66
|
+
|
|
67
|
+
claims.push(_concatInstanceProperty__default["default"](_context = "".concat(constants.OIDC_CLAIMS.PROJECT_KEY, ":")).call(_context, options.projectKey));
|
|
68
|
+
claims.push.apply(claims, _toConsumableArray(_mapInstanceProperty__default["default"](_context2 = (_options$oAuthScopes$ = (_options$oAuthScopes = options.oAuthScopes) === null || _options$oAuthScopes === void 0 ? void 0 : _options$oAuthScopes.view) !== null && _options$oAuthScopes$ !== void 0 ? _options$oAuthScopes$ : []).call(_context2, function (scope) {
|
|
69
|
+
var _context3;
|
|
70
|
+
|
|
71
|
+
return _concatInstanceProperty__default["default"](_context3 = "".concat(constants.OIDC_CLAIMS.VIEW, ":")).call(_context3, scope);
|
|
72
|
+
})));
|
|
73
|
+
claims.push.apply(claims, _toConsumableArray(_mapInstanceProperty__default["default"](_context4 = (_options$oAuthScopes$2 = (_options$oAuthScopes2 = options.oAuthScopes) === null || _options$oAuthScopes2 === void 0 ? void 0 : _options$oAuthScopes2.manage) !== null && _options$oAuthScopes$2 !== void 0 ? _options$oAuthScopes$2 : []).call(_context4, function (scope) {
|
|
74
|
+
var _context5;
|
|
75
|
+
|
|
76
|
+
return _concatInstanceProperty__default["default"](_context5 = "".concat(constants.OIDC_CLAIMS.MANAGE, ":")).call(_context5, scope);
|
|
77
|
+
})));
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
var teamId = options.teamId;
|
|
81
|
+
|
|
82
|
+
if (teamId) {
|
|
83
|
+
var _context6;
|
|
84
|
+
|
|
85
|
+
claims.push(_concatInstanceProperty__default["default"](_context6 = "".concat(constants.OIDC_CLAIMS.TEAM_ID, ":")).call(_context6, teamId));
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
return _concatInstanceProperty__default["default"](_context7 = [// This is required as per OIDC spec.
|
|
89
|
+
constants.OIDC_CLAIMS.OPEN_ID]).call(_context7, claims).join(' ');
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
exports.buildOidcScope = buildOidcScope;
|
|
93
|
+
exports.entryPointUriPathToPermissionKeys = entryPointUriPathToPermissionKeys;
|
|
94
|
+
exports.entryPointUriPathToResourceAccesses = entryPointUriPathToResourceAccesses;
|
|
@@ -12,13 +12,13 @@ var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
|
|
|
12
12
|
var reactIntl = require('react-intl');
|
|
13
13
|
var ProjectExpiredSVG = require('@commercetools-frontend/assets/images/hourglass.svg');
|
|
14
14
|
var applicationComponents = require('@commercetools-frontend/application-components');
|
|
15
|
-
var servicePageProjectSwitcher = require('./service-page-project-switcher-
|
|
15
|
+
var servicePageProjectSwitcher = require('./service-page-project-switcher-dfbbe4c1.cjs.dev.js');
|
|
16
16
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
17
17
|
require('@emotion/styled/base');
|
|
18
18
|
require('react-router-dom');
|
|
19
19
|
require('@commercetools-frontend/application-shell-connectors');
|
|
20
|
-
require('./index-
|
|
21
|
-
require('./application-entry-point-
|
|
20
|
+
require('./index-1a8b5b91.cjs.dev.js');
|
|
21
|
+
require('./application-entry-point-ca79642e.cjs.dev.js');
|
|
22
22
|
require('@babel/runtime-corejs3/helpers/toConsumableArray');
|
|
23
23
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
24
24
|
require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
@@ -32,6 +32,7 @@ require('omit-empty-es');
|
|
|
32
32
|
require('@commercetools-frontend/notifications');
|
|
33
33
|
require('@commercetools-frontend/sdk');
|
|
34
34
|
require('@commercetools-frontend/constants');
|
|
35
|
+
require('./constants-fdbe0e9d.cjs.dev.js');
|
|
35
36
|
require('@commercetools-frontend/react-notifications');
|
|
36
37
|
require('@babel/runtime-corejs3/core-js-stable/instance/starts-with');
|
|
37
38
|
require('@babel/runtime-corejs3/core-js-stable/instance/includes');
|
|
@@ -43,6 +44,8 @@ require('@babel/runtime-corejs3/core-js-stable/instance/index-of');
|
|
|
43
44
|
require('@babel/runtime-corejs3/core-js-stable/instance/slice');
|
|
44
45
|
require('@commercetools-frontend/sentry');
|
|
45
46
|
require('@babel/runtime-corejs3/core-js-stable/url');
|
|
47
|
+
require('@babel/runtime-corejs3/core-js-stable/instance/map');
|
|
48
|
+
require('lodash/upperFirst');
|
|
46
49
|
require('@babel/runtime-corejs3/core-js-stable/instance/find');
|
|
47
50
|
require('@apollo/client');
|
|
48
51
|
require('@commercetools/http-user-agent');
|
|
@@ -55,7 +58,6 @@ require('@apollo/client/link/error');
|
|
|
55
58
|
require('@commercetools-frontend/browser-history');
|
|
56
59
|
require('@babel/runtime-corejs3/core-js-stable/instance/some');
|
|
57
60
|
require('@babel/runtime-corejs3/core-js-stable/object/values');
|
|
58
|
-
require('@babel/runtime-corejs3/core-js-stable/instance/map');
|
|
59
61
|
require('uuid');
|
|
60
62
|
require('@babel/runtime-corejs3/core-js-stable/json/stringify');
|
|
61
63
|
require('@apollo/client/link/retry');
|
|
@@ -69,6 +71,7 @@ require('@babel/runtime-corejs3/helpers/typeof');
|
|
|
69
71
|
require('@babel/runtime-corejs3/core-js-stable/instance/reverse');
|
|
70
72
|
require('lodash/camelCase');
|
|
71
73
|
require('@apollo/client/react');
|
|
74
|
+
require('./oidc-7e7761de.cjs.dev.js');
|
|
72
75
|
require('qss');
|
|
73
76
|
require('jwt-decode');
|
|
74
77
|
require('@commercetools-frontend/assets/images/locked-diamond.svg');
|
|
@@ -10,13 +10,13 @@ import _defineProperty from '@babel/runtime-corejs3/helpers/esm/defineProperty';
|
|
|
10
10
|
import { defineMessages, useIntl, FormattedMessage } from 'react-intl';
|
|
11
11
|
import ProjectExpiredSVG from '@commercetools-frontend/assets/images/hourglass.svg';
|
|
12
12
|
import { MaintenancePageLayout } from '@commercetools-frontend/application-components';
|
|
13
|
-
import { S as ServicePageProjectSwitcher } from './service-page-project-switcher-
|
|
13
|
+
import { S as ServicePageProjectSwitcher } from './service-page-project-switcher-4893264d.esm.js';
|
|
14
14
|
import { jsx } from '@emotion/react/jsx-runtime';
|
|
15
15
|
import '@emotion/styled/base';
|
|
16
16
|
import 'react-router-dom';
|
|
17
17
|
import '@commercetools-frontend/application-shell-connectors';
|
|
18
|
-
import './index-
|
|
19
|
-
import './application-entry-point-
|
|
18
|
+
import './index-dd13496f.esm.js';
|
|
19
|
+
import './application-entry-point-caba3fcf.esm.js';
|
|
20
20
|
import '@babel/runtime-corejs3/helpers/toConsumableArray';
|
|
21
21
|
import '@babel/runtime-corejs3/helpers/slicedToArray';
|
|
22
22
|
import '@babel/runtime-corejs3/core-js-stable/instance/reduce';
|
|
@@ -30,6 +30,7 @@ import 'omit-empty-es';
|
|
|
30
30
|
import '@commercetools-frontend/notifications';
|
|
31
31
|
import '@commercetools-frontend/sdk';
|
|
32
32
|
import '@commercetools-frontend/constants';
|
|
33
|
+
import './constants-33a16227.esm.js';
|
|
33
34
|
import '@commercetools-frontend/react-notifications';
|
|
34
35
|
import '@babel/runtime-corejs3/core-js-stable/instance/starts-with';
|
|
35
36
|
import '@babel/runtime-corejs3/core-js-stable/instance/includes';
|
|
@@ -41,6 +42,8 @@ import '@babel/runtime-corejs3/core-js-stable/instance/index-of';
|
|
|
41
42
|
import '@babel/runtime-corejs3/core-js-stable/instance/slice';
|
|
42
43
|
import '@commercetools-frontend/sentry';
|
|
43
44
|
import '@babel/runtime-corejs3/core-js-stable/url';
|
|
45
|
+
import '@babel/runtime-corejs3/core-js-stable/instance/map';
|
|
46
|
+
import 'lodash/upperFirst';
|
|
44
47
|
import '@babel/runtime-corejs3/core-js-stable/instance/find';
|
|
45
48
|
import '@apollo/client';
|
|
46
49
|
import '@commercetools/http-user-agent';
|
|
@@ -53,7 +56,6 @@ import '@apollo/client/link/error';
|
|
|
53
56
|
import '@commercetools-frontend/browser-history';
|
|
54
57
|
import '@babel/runtime-corejs3/core-js-stable/instance/some';
|
|
55
58
|
import '@babel/runtime-corejs3/core-js-stable/object/values';
|
|
56
|
-
import '@babel/runtime-corejs3/core-js-stable/instance/map';
|
|
57
59
|
import 'uuid';
|
|
58
60
|
import '@babel/runtime-corejs3/core-js-stable/json/stringify';
|
|
59
61
|
import '@apollo/client/link/retry';
|
|
@@ -67,6 +69,7 @@ import '@babel/runtime-corejs3/helpers/typeof';
|
|
|
67
69
|
import '@babel/runtime-corejs3/core-js-stable/instance/reverse';
|
|
68
70
|
import 'lodash/camelCase';
|
|
69
71
|
import '@apollo/client/react';
|
|
72
|
+
import './oidc-8e05c00e.esm.js';
|
|
70
73
|
import 'qss';
|
|
71
74
|
import 'jwt-decode';
|
|
72
75
|
import '@commercetools-frontend/assets/images/locked-diamond.svg';
|
|
@@ -12,13 +12,13 @@ var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
|
|
|
12
12
|
var reactIntl = require('react-intl');
|
|
13
13
|
var ProjectExpiredSVG = require('@commercetools-frontend/assets/images/hourglass.svg');
|
|
14
14
|
var applicationComponents = require('@commercetools-frontend/application-components');
|
|
15
|
-
var servicePageProjectSwitcher = require('./service-page-project-switcher-
|
|
15
|
+
var servicePageProjectSwitcher = require('./service-page-project-switcher-08c6c7d5.cjs.prod.js');
|
|
16
16
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
17
17
|
require('@emotion/styled/base');
|
|
18
18
|
require('react-router-dom');
|
|
19
19
|
require('@commercetools-frontend/application-shell-connectors');
|
|
20
|
-
require('./index-
|
|
21
|
-
require('./application-entry-point-
|
|
20
|
+
require('./index-0428cf83.cjs.prod.js');
|
|
21
|
+
require('./application-entry-point-32ba21e8.cjs.prod.js');
|
|
22
22
|
require('@babel/runtime-corejs3/helpers/toConsumableArray');
|
|
23
23
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
24
24
|
require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
@@ -32,6 +32,7 @@ require('omit-empty-es');
|
|
|
32
32
|
require('@commercetools-frontend/notifications');
|
|
33
33
|
require('@commercetools-frontend/sdk');
|
|
34
34
|
require('@commercetools-frontend/constants');
|
|
35
|
+
require('./constants-745aeeca.cjs.prod.js');
|
|
35
36
|
require('@commercetools-frontend/react-notifications');
|
|
36
37
|
require('@babel/runtime-corejs3/core-js-stable/instance/starts-with');
|
|
37
38
|
require('@babel/runtime-corejs3/core-js-stable/instance/includes');
|
|
@@ -43,6 +44,8 @@ require('@babel/runtime-corejs3/core-js-stable/instance/index-of');
|
|
|
43
44
|
require('@babel/runtime-corejs3/core-js-stable/instance/slice');
|
|
44
45
|
require('@commercetools-frontend/sentry');
|
|
45
46
|
require('@babel/runtime-corejs3/core-js-stable/url');
|
|
47
|
+
require('@babel/runtime-corejs3/core-js-stable/instance/map');
|
|
48
|
+
require('lodash/upperFirst');
|
|
46
49
|
require('@babel/runtime-corejs3/core-js-stable/instance/find');
|
|
47
50
|
require('@apollo/client');
|
|
48
51
|
require('@commercetools/http-user-agent');
|
|
@@ -55,7 +58,6 @@ require('@apollo/client/link/error');
|
|
|
55
58
|
require('@commercetools-frontend/browser-history');
|
|
56
59
|
require('@babel/runtime-corejs3/core-js-stable/instance/some');
|
|
57
60
|
require('@babel/runtime-corejs3/core-js-stable/object/values');
|
|
58
|
-
require('@babel/runtime-corejs3/core-js-stable/instance/map');
|
|
59
61
|
require('uuid');
|
|
60
62
|
require('@babel/runtime-corejs3/core-js-stable/json/stringify');
|
|
61
63
|
require('@apollo/client/link/retry');
|
|
@@ -69,6 +71,7 @@ require('@babel/runtime-corejs3/helpers/typeof');
|
|
|
69
71
|
require('@babel/runtime-corejs3/core-js-stable/instance/reverse');
|
|
70
72
|
require('lodash/camelCase');
|
|
71
73
|
require('@apollo/client/react');
|
|
74
|
+
require('./oidc-be09bd90.cjs.prod.js');
|
|
72
75
|
require('qss');
|
|
73
76
|
require('jwt-decode');
|
|
74
77
|
require('@commercetools-frontend/assets/images/locked-diamond.svg');
|
|
@@ -10,13 +10,13 @@ import _defineProperty from '@babel/runtime-corejs3/helpers/esm/defineProperty';
|
|
|
10
10
|
import { defineMessages, useIntl, FormattedMessage } from 'react-intl';
|
|
11
11
|
import FailedAuthorizationSVG from '@commercetools-frontend/assets/images/folder-full-locked.svg';
|
|
12
12
|
import { MaintenancePageLayout } from '@commercetools-frontend/application-components';
|
|
13
|
-
import { S as ServicePageProjectSwitcher } from './service-page-project-switcher-
|
|
13
|
+
import { S as ServicePageProjectSwitcher } from './service-page-project-switcher-4893264d.esm.js';
|
|
14
14
|
import { jsx } from '@emotion/react/jsx-runtime';
|
|
15
15
|
import '@emotion/styled/base';
|
|
16
16
|
import 'react-router-dom';
|
|
17
17
|
import '@commercetools-frontend/application-shell-connectors';
|
|
18
|
-
import './index-
|
|
19
|
-
import './application-entry-point-
|
|
18
|
+
import './index-dd13496f.esm.js';
|
|
19
|
+
import './application-entry-point-caba3fcf.esm.js';
|
|
20
20
|
import '@babel/runtime-corejs3/helpers/toConsumableArray';
|
|
21
21
|
import '@babel/runtime-corejs3/helpers/slicedToArray';
|
|
22
22
|
import '@babel/runtime-corejs3/core-js-stable/instance/reduce';
|
|
@@ -30,6 +30,7 @@ import 'omit-empty-es';
|
|
|
30
30
|
import '@commercetools-frontend/notifications';
|
|
31
31
|
import '@commercetools-frontend/sdk';
|
|
32
32
|
import '@commercetools-frontend/constants';
|
|
33
|
+
import './constants-33a16227.esm.js';
|
|
33
34
|
import '@commercetools-frontend/react-notifications';
|
|
34
35
|
import '@babel/runtime-corejs3/core-js-stable/instance/starts-with';
|
|
35
36
|
import '@babel/runtime-corejs3/core-js-stable/instance/includes';
|
|
@@ -41,6 +42,8 @@ import '@babel/runtime-corejs3/core-js-stable/instance/index-of';
|
|
|
41
42
|
import '@babel/runtime-corejs3/core-js-stable/instance/slice';
|
|
42
43
|
import '@commercetools-frontend/sentry';
|
|
43
44
|
import '@babel/runtime-corejs3/core-js-stable/url';
|
|
45
|
+
import '@babel/runtime-corejs3/core-js-stable/instance/map';
|
|
46
|
+
import 'lodash/upperFirst';
|
|
44
47
|
import '@babel/runtime-corejs3/core-js-stable/instance/find';
|
|
45
48
|
import '@apollo/client';
|
|
46
49
|
import '@commercetools/http-user-agent';
|
|
@@ -53,7 +56,6 @@ import '@apollo/client/link/error';
|
|
|
53
56
|
import '@commercetools-frontend/browser-history';
|
|
54
57
|
import '@babel/runtime-corejs3/core-js-stable/instance/some';
|
|
55
58
|
import '@babel/runtime-corejs3/core-js-stable/object/values';
|
|
56
|
-
import '@babel/runtime-corejs3/core-js-stable/instance/map';
|
|
57
59
|
import 'uuid';
|
|
58
60
|
import '@babel/runtime-corejs3/core-js-stable/json/stringify';
|
|
59
61
|
import '@apollo/client/link/retry';
|
|
@@ -67,6 +69,7 @@ import '@babel/runtime-corejs3/helpers/typeof';
|
|
|
67
69
|
import '@babel/runtime-corejs3/core-js-stable/instance/reverse';
|
|
68
70
|
import 'lodash/camelCase';
|
|
69
71
|
import '@apollo/client/react';
|
|
72
|
+
import './oidc-8e05c00e.esm.js';
|
|
70
73
|
import 'qss';
|
|
71
74
|
import 'jwt-decode';
|
|
72
75
|
import '@commercetools-frontend/assets/images/locked-diamond.svg';
|
package/dist/{project-not-found-ecbab238.cjs.prod.js → project-not-found-d28a8381.cjs.prod.js}
RENAMED
|
@@ -12,13 +12,13 @@ var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
|
|
|
12
12
|
var reactIntl = require('react-intl');
|
|
13
13
|
var FailedAuthorizationSVG = require('@commercetools-frontend/assets/images/folder-full-locked.svg');
|
|
14
14
|
var applicationComponents = require('@commercetools-frontend/application-components');
|
|
15
|
-
var servicePageProjectSwitcher = require('./service-page-project-switcher-
|
|
15
|
+
var servicePageProjectSwitcher = require('./service-page-project-switcher-08c6c7d5.cjs.prod.js');
|
|
16
16
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
17
17
|
require('@emotion/styled/base');
|
|
18
18
|
require('react-router-dom');
|
|
19
19
|
require('@commercetools-frontend/application-shell-connectors');
|
|
20
|
-
require('./index-
|
|
21
|
-
require('./application-entry-point-
|
|
20
|
+
require('./index-0428cf83.cjs.prod.js');
|
|
21
|
+
require('./application-entry-point-32ba21e8.cjs.prod.js');
|
|
22
22
|
require('@babel/runtime-corejs3/helpers/toConsumableArray');
|
|
23
23
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
24
24
|
require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
@@ -32,6 +32,7 @@ require('omit-empty-es');
|
|
|
32
32
|
require('@commercetools-frontend/notifications');
|
|
33
33
|
require('@commercetools-frontend/sdk');
|
|
34
34
|
require('@commercetools-frontend/constants');
|
|
35
|
+
require('./constants-745aeeca.cjs.prod.js');
|
|
35
36
|
require('@commercetools-frontend/react-notifications');
|
|
36
37
|
require('@babel/runtime-corejs3/core-js-stable/instance/starts-with');
|
|
37
38
|
require('@babel/runtime-corejs3/core-js-stable/instance/includes');
|
|
@@ -43,6 +44,8 @@ require('@babel/runtime-corejs3/core-js-stable/instance/index-of');
|
|
|
43
44
|
require('@babel/runtime-corejs3/core-js-stable/instance/slice');
|
|
44
45
|
require('@commercetools-frontend/sentry');
|
|
45
46
|
require('@babel/runtime-corejs3/core-js-stable/url');
|
|
47
|
+
require('@babel/runtime-corejs3/core-js-stable/instance/map');
|
|
48
|
+
require('lodash/upperFirst');
|
|
46
49
|
require('@babel/runtime-corejs3/core-js-stable/instance/find');
|
|
47
50
|
require('@apollo/client');
|
|
48
51
|
require('@commercetools/http-user-agent');
|
|
@@ -55,7 +58,6 @@ require('@apollo/client/link/error');
|
|
|
55
58
|
require('@commercetools-frontend/browser-history');
|
|
56
59
|
require('@babel/runtime-corejs3/core-js-stable/instance/some');
|
|
57
60
|
require('@babel/runtime-corejs3/core-js-stable/object/values');
|
|
58
|
-
require('@babel/runtime-corejs3/core-js-stable/instance/map');
|
|
59
61
|
require('uuid');
|
|
60
62
|
require('@babel/runtime-corejs3/core-js-stable/json/stringify');
|
|
61
63
|
require('@apollo/client/link/retry');
|
|
@@ -69,6 +71,7 @@ require('@babel/runtime-corejs3/helpers/typeof');
|
|
|
69
71
|
require('@babel/runtime-corejs3/core-js-stable/instance/reverse');
|
|
70
72
|
require('lodash/camelCase');
|
|
71
73
|
require('@apollo/client/react');
|
|
74
|
+
require('./oidc-be09bd90.cjs.prod.js');
|
|
72
75
|
require('qss');
|
|
73
76
|
require('jwt-decode');
|
|
74
77
|
require('@commercetools-frontend/assets/images/locked-diamond.svg');
|
package/dist/{project-not-found-9b444972.cjs.dev.js → project-not-found-fa0d0fed.cjs.dev.js}
RENAMED
|
@@ -12,13 +12,13 @@ var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
|
|
|
12
12
|
var reactIntl = require('react-intl');
|
|
13
13
|
var FailedAuthorizationSVG = require('@commercetools-frontend/assets/images/folder-full-locked.svg');
|
|
14
14
|
var applicationComponents = require('@commercetools-frontend/application-components');
|
|
15
|
-
var servicePageProjectSwitcher = require('./service-page-project-switcher-
|
|
15
|
+
var servicePageProjectSwitcher = require('./service-page-project-switcher-dfbbe4c1.cjs.dev.js');
|
|
16
16
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
17
17
|
require('@emotion/styled/base');
|
|
18
18
|
require('react-router-dom');
|
|
19
19
|
require('@commercetools-frontend/application-shell-connectors');
|
|
20
|
-
require('./index-
|
|
21
|
-
require('./application-entry-point-
|
|
20
|
+
require('./index-1a8b5b91.cjs.dev.js');
|
|
21
|
+
require('./application-entry-point-ca79642e.cjs.dev.js');
|
|
22
22
|
require('@babel/runtime-corejs3/helpers/toConsumableArray');
|
|
23
23
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
24
24
|
require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
@@ -32,6 +32,7 @@ require('omit-empty-es');
|
|
|
32
32
|
require('@commercetools-frontend/notifications');
|
|
33
33
|
require('@commercetools-frontend/sdk');
|
|
34
34
|
require('@commercetools-frontend/constants');
|
|
35
|
+
require('./constants-fdbe0e9d.cjs.dev.js');
|
|
35
36
|
require('@commercetools-frontend/react-notifications');
|
|
36
37
|
require('@babel/runtime-corejs3/core-js-stable/instance/starts-with');
|
|
37
38
|
require('@babel/runtime-corejs3/core-js-stable/instance/includes');
|
|
@@ -43,6 +44,8 @@ require('@babel/runtime-corejs3/core-js-stable/instance/index-of');
|
|
|
43
44
|
require('@babel/runtime-corejs3/core-js-stable/instance/slice');
|
|
44
45
|
require('@commercetools-frontend/sentry');
|
|
45
46
|
require('@babel/runtime-corejs3/core-js-stable/url');
|
|
47
|
+
require('@babel/runtime-corejs3/core-js-stable/instance/map');
|
|
48
|
+
require('lodash/upperFirst');
|
|
46
49
|
require('@babel/runtime-corejs3/core-js-stable/instance/find');
|
|
47
50
|
require('@apollo/client');
|
|
48
51
|
require('@commercetools/http-user-agent');
|
|
@@ -55,7 +58,6 @@ require('@apollo/client/link/error');
|
|
|
55
58
|
require('@commercetools-frontend/browser-history');
|
|
56
59
|
require('@babel/runtime-corejs3/core-js-stable/instance/some');
|
|
57
60
|
require('@babel/runtime-corejs3/core-js-stable/object/values');
|
|
58
|
-
require('@babel/runtime-corejs3/core-js-stable/instance/map');
|
|
59
61
|
require('uuid');
|
|
60
62
|
require('@babel/runtime-corejs3/core-js-stable/json/stringify');
|
|
61
63
|
require('@apollo/client/link/retry');
|
|
@@ -69,6 +71,7 @@ require('@babel/runtime-corejs3/helpers/typeof');
|
|
|
69
71
|
require('@babel/runtime-corejs3/core-js-stable/instance/reverse');
|
|
70
72
|
require('lodash/camelCase');
|
|
71
73
|
require('@apollo/client/react');
|
|
74
|
+
require('./oidc-7e7761de.cjs.dev.js');
|
|
72
75
|
require('qss');
|
|
73
76
|
require('jwt-decode');
|
|
74
77
|
require('@commercetools-frontend/assets/images/locked-diamond.svg');
|
|
@@ -12,13 +12,13 @@ var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
|
|
|
12
12
|
var reactIntl = require('react-intl');
|
|
13
13
|
var ProjectExpiredSVG = require('@commercetools-frontend/assets/images/hourglass.svg');
|
|
14
14
|
var applicationComponents = require('@commercetools-frontend/application-components');
|
|
15
|
-
var servicePageProjectSwitcher = require('./service-page-project-switcher-
|
|
15
|
+
var servicePageProjectSwitcher = require('./service-page-project-switcher-08c6c7d5.cjs.prod.js');
|
|
16
16
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
17
17
|
require('@emotion/styled/base');
|
|
18
18
|
require('react-router-dom');
|
|
19
19
|
require('@commercetools-frontend/application-shell-connectors');
|
|
20
|
-
require('./index-
|
|
21
|
-
require('./application-entry-point-
|
|
20
|
+
require('./index-0428cf83.cjs.prod.js');
|
|
21
|
+
require('./application-entry-point-32ba21e8.cjs.prod.js');
|
|
22
22
|
require('@babel/runtime-corejs3/helpers/toConsumableArray');
|
|
23
23
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
24
24
|
require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
@@ -32,6 +32,7 @@ require('omit-empty-es');
|
|
|
32
32
|
require('@commercetools-frontend/notifications');
|
|
33
33
|
require('@commercetools-frontend/sdk');
|
|
34
34
|
require('@commercetools-frontend/constants');
|
|
35
|
+
require('./constants-745aeeca.cjs.prod.js');
|
|
35
36
|
require('@commercetools-frontend/react-notifications');
|
|
36
37
|
require('@babel/runtime-corejs3/core-js-stable/instance/starts-with');
|
|
37
38
|
require('@babel/runtime-corejs3/core-js-stable/instance/includes');
|
|
@@ -43,6 +44,8 @@ require('@babel/runtime-corejs3/core-js-stable/instance/index-of');
|
|
|
43
44
|
require('@babel/runtime-corejs3/core-js-stable/instance/slice');
|
|
44
45
|
require('@commercetools-frontend/sentry');
|
|
45
46
|
require('@babel/runtime-corejs3/core-js-stable/url');
|
|
47
|
+
require('@babel/runtime-corejs3/core-js-stable/instance/map');
|
|
48
|
+
require('lodash/upperFirst');
|
|
46
49
|
require('@babel/runtime-corejs3/core-js-stable/instance/find');
|
|
47
50
|
require('@apollo/client');
|
|
48
51
|
require('@commercetools/http-user-agent');
|
|
@@ -55,7 +58,6 @@ require('@apollo/client/link/error');
|
|
|
55
58
|
require('@commercetools-frontend/browser-history');
|
|
56
59
|
require('@babel/runtime-corejs3/core-js-stable/instance/some');
|
|
57
60
|
require('@babel/runtime-corejs3/core-js-stable/object/values');
|
|
58
|
-
require('@babel/runtime-corejs3/core-js-stable/instance/map');
|
|
59
61
|
require('uuid');
|
|
60
62
|
require('@babel/runtime-corejs3/core-js-stable/json/stringify');
|
|
61
63
|
require('@apollo/client/link/retry');
|
|
@@ -69,6 +71,7 @@ require('@babel/runtime-corejs3/helpers/typeof');
|
|
|
69
71
|
require('@babel/runtime-corejs3/core-js-stable/instance/reverse');
|
|
70
72
|
require('lodash/camelCase');
|
|
71
73
|
require('@apollo/client/react');
|
|
74
|
+
require('./oidc-be09bd90.cjs.prod.js');
|
|
72
75
|
require('qss');
|
|
73
76
|
require('jwt-decode');
|
|
74
77
|
require('@commercetools-frontend/assets/images/locked-diamond.svg');
|