@crystaldesign/diva-core 24.12.1 → 24.12.2
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/README.md +24 -24
- package/build/esm/{ModalsWrapper-18f70ebb.js → ModalsWrapper-2268a6ea.js} +3 -3
- package/build/esm/{index-f6405e19.js → index-5a5c8a16.js} +1 -1
- package/build/esm/{index-add7eac3.js → index-f1211a71.js} +287 -287
- package/build/esm/index.js +1 -1
- package/build/types/core/src/handler/OrganizationHandler/index.d.ts.map +1 -1
- package/build/umd/145.diva-core.umd.min.js +2 -0
- package/build/umd/145.diva-core.umd.min.js.LICENSE.txt +1 -0
- package/build/umd/163.diva-core.umd.min.js +2 -0
- package/build/umd/163.diva-core.umd.min.js.LICENSE.txt +1 -0
- package/build/umd/266.diva-core.umd.min.js +2 -0
- package/build/umd/266.diva-core.umd.min.js.LICENSE.txt +1 -0
- package/build/umd/28.diva-core.umd.min.js +2 -0
- package/build/umd/28.diva-core.umd.min.js.LICENSE.txt +1 -0
- package/build/umd/337.diva-core.umd.min.js +2 -0
- package/build/umd/337.diva-core.umd.min.js.LICENSE.txt +1 -0
- package/build/umd/437.diva-core.umd.min.js +2 -0
- package/build/umd/437.diva-core.umd.min.js.LICENSE.txt +1 -0
- package/build/umd/467.diva-core.umd.min.js +2 -0
- package/build/umd/467.diva-core.umd.min.js.LICENSE.txt +1 -0
- package/build/umd/535.diva-core.umd.min.js +2 -0
- package/build/umd/535.diva-core.umd.min.js.LICENSE.txt +1 -0
- package/build/umd/617.diva-core.umd.min.js +2 -0
- package/build/umd/617.diva-core.umd.min.js.LICENSE.txt +1 -0
- package/build/umd/721.diva-core.umd.min.js +408 -0
- package/build/umd/{745.diva-core.umd.min.js.LICENSE.txt → 721.diva-core.umd.min.js.LICENSE.txt} +1 -1
- package/build/umd/944.diva-core.umd.min.js +2 -0
- package/build/umd/{366.diva-core.umd.min.js.LICENSE.txt → 944.diva-core.umd.min.js.LICENSE.txt} +1 -1
- package/build/umd/969.diva-core.umd.min.js +2 -0
- package/build/umd/969.diva-core.umd.min.js.LICENSE.txt +1 -0
- package/build/umd/diva-core.umd.min.js +1 -1
- package/build/umd/report.html +4 -5
- package/package.json +10 -10
- package/build/umd/158.diva-core.umd.min.js +0 -2
- package/build/umd/158.diva-core.umd.min.js.LICENSE.txt +0 -1
- package/build/umd/231.diva-core.umd.min.js +0 -2
- package/build/umd/231.diva-core.umd.min.js.LICENSE.txt +0 -1
- package/build/umd/244.diva-core.umd.min.js +0 -2
- package/build/umd/244.diva-core.umd.min.js.LICENSE.txt +0 -1
- package/build/umd/36.diva-core.umd.min.js +0 -2
- package/build/umd/36.diva-core.umd.min.js.LICENSE.txt +0 -1
- package/build/umd/366.diva-core.umd.min.js +0 -2
- package/build/umd/397.diva-core.umd.min.js +0 -2
- package/build/umd/397.diva-core.umd.min.js.LICENSE.txt +0 -1
- package/build/umd/495.diva-core.umd.min.js +0 -2
- package/build/umd/495.diva-core.umd.min.js.LICENSE.txt +0 -1
- package/build/umd/511.diva-core.umd.min.js +0 -2
- package/build/umd/511.diva-core.umd.min.js.LICENSE.txt +0 -1
- package/build/umd/62.diva-core.umd.min.js +0 -2
- package/build/umd/62.diva-core.umd.min.js.LICENSE.txt +0 -1
- package/build/umd/630.diva-core.umd.min.js +0 -2
- package/build/umd/630.diva-core.umd.min.js.LICENSE.txt +0 -1
- package/build/umd/633.diva-core.umd.min.js +0 -2
- package/build/umd/633.diva-core.umd.min.js.LICENSE.txt +0 -1
- package/build/umd/745.diva-core.umd.min.js +0 -408
|
@@ -43,7 +43,7 @@ import { actions } from '@storybook/addon-actions';
|
|
|
43
43
|
import * as Styles from '@material-ui/styles';
|
|
44
44
|
|
|
45
45
|
(function() {
|
|
46
|
-
const env = {"STAGE":"production","VERSION":"24.12.
|
|
46
|
+
const env = {"STAGE":"production","VERSION":"24.12.2"};
|
|
47
47
|
try {
|
|
48
48
|
if (process) {
|
|
49
49
|
process.env = Object.assign({}, process.env);
|
|
@@ -134,15 +134,15 @@ var ApplicationLogger = /*#__PURE__*/function () {
|
|
|
134
134
|
this.apiInitialized = apiInitialized;
|
|
135
135
|
_defineProperty(this, "transactions", new Map());
|
|
136
136
|
}
|
|
137
|
-
/**
|
|
138
|
-
* Start a new transaction and return the transaction id
|
|
139
|
-
* @param event The event type
|
|
140
|
-
* @param message The message to log
|
|
141
|
-
* @param labels Additional labels
|
|
142
|
-
* @param eventId An optional event ID, if not provided a new one will be generated
|
|
143
|
-
* @param warningTime An optional warning time, if the transaction takes longer than this time a warning will be logged
|
|
144
|
-
* @param errorTime An optional error time, if the transaction takes longer than this time an error will be logged
|
|
145
|
-
* @returns The transaction ID
|
|
137
|
+
/**
|
|
138
|
+
* Start a new transaction and return the transaction id
|
|
139
|
+
* @param event The event type
|
|
140
|
+
* @param message The message to log
|
|
141
|
+
* @param labels Additional labels
|
|
142
|
+
* @param eventId An optional event ID, if not provided a new one will be generated
|
|
143
|
+
* @param warningTime An optional warning time, if the transaction takes longer than this time a warning will be logged
|
|
144
|
+
* @param errorTime An optional error time, if the transaction takes longer than this time an error will be logged
|
|
145
|
+
* @returns The transaction ID
|
|
146
146
|
*/
|
|
147
147
|
return _createClass(ApplicationLogger, [{
|
|
148
148
|
key: "startTransaction",
|
|
@@ -184,10 +184,10 @@ var ApplicationLogger = /*#__PURE__*/function () {
|
|
|
184
184
|
return id;
|
|
185
185
|
}
|
|
186
186
|
|
|
187
|
-
/**
|
|
188
|
-
* End a transaction and log the duration
|
|
189
|
-
* @param eventId The transaction ID
|
|
190
|
-
* @param labels Additional labels
|
|
187
|
+
/**
|
|
188
|
+
* End a transaction and log the duration
|
|
189
|
+
* @param eventId The transaction ID
|
|
190
|
+
* @param labels Additional labels
|
|
191
191
|
*/
|
|
192
192
|
}, {
|
|
193
193
|
key: "successTransaction",
|
|
@@ -220,11 +220,11 @@ var ApplicationLogger = /*#__PURE__*/function () {
|
|
|
220
220
|
}));
|
|
221
221
|
}
|
|
222
222
|
|
|
223
|
-
/** End a transaction and log the duration and an error message
|
|
224
|
-
* @param eventId The transaction ID
|
|
225
|
-
* @param code The error code
|
|
226
|
-
* @param message The error message
|
|
227
|
-
* @param labels Additional labels
|
|
223
|
+
/** End a transaction and log the duration and an error message
|
|
224
|
+
* @param eventId The transaction ID
|
|
225
|
+
* @param code The error code
|
|
226
|
+
* @param message The error message
|
|
227
|
+
* @param labels Additional labels
|
|
228
228
|
* */
|
|
229
229
|
}, {
|
|
230
230
|
key: "errorTransaction",
|
|
@@ -266,12 +266,12 @@ var ApplicationLogger = /*#__PURE__*/function () {
|
|
|
266
266
|
timoutStatus: event.event.timeout
|
|
267
267
|
}));
|
|
268
268
|
}
|
|
269
|
-
/**
|
|
270
|
-
* Log normal business event, without transaction
|
|
271
|
-
* @param eventAction
|
|
272
|
-
* @param module
|
|
273
|
-
* @param message
|
|
274
|
-
* @param labels
|
|
269
|
+
/**
|
|
270
|
+
* Log normal business event, without transaction
|
|
271
|
+
* @param eventAction
|
|
272
|
+
* @param module
|
|
273
|
+
* @param message
|
|
274
|
+
* @param labels
|
|
275
275
|
*/
|
|
276
276
|
}, {
|
|
277
277
|
key: "businessEvent",
|
|
@@ -290,8 +290,8 @@ var ApplicationLogger = /*#__PURE__*/function () {
|
|
|
290
290
|
this.warn("Transaction ".concat(event.event.type, " (").concat(event.event.message, ") takes long and exeeded the ").concat(type, " threshold"));
|
|
291
291
|
}
|
|
292
292
|
|
|
293
|
-
/**
|
|
294
|
-
* Close all open transactions and log them as errors
|
|
293
|
+
/**
|
|
294
|
+
* Close all open transactions and log them as errors
|
|
295
295
|
*/
|
|
296
296
|
}, {
|
|
297
297
|
key: "flush",
|
|
@@ -302,8 +302,8 @@ var ApplicationLogger = /*#__PURE__*/function () {
|
|
|
302
302
|
});
|
|
303
303
|
}
|
|
304
304
|
|
|
305
|
-
/**
|
|
306
|
-
* After apm is initialized, send all transactions that were created before
|
|
305
|
+
/**
|
|
306
|
+
* After apm is initialized, send all transactions that were created before
|
|
307
307
|
*/
|
|
308
308
|
}, {
|
|
309
309
|
key: "apmInitalized",
|
|
@@ -482,8 +482,8 @@ var DivaFramework = /*#__PURE__*/function (_HTMLElement) {
|
|
|
482
482
|
return undefined;
|
|
483
483
|
}
|
|
484
484
|
|
|
485
|
-
/**
|
|
486
|
-
* @deprecated
|
|
485
|
+
/**
|
|
486
|
+
* @deprecated
|
|
487
487
|
*/,
|
|
488
488
|
set: function set(val) {
|
|
489
489
|
if (val) {
|
|
@@ -493,8 +493,8 @@ var DivaFramework = /*#__PURE__*/function (_HTMLElement) {
|
|
|
493
493
|
}, {
|
|
494
494
|
key: "configUrl",
|
|
495
495
|
get:
|
|
496
|
-
/**
|
|
497
|
-
* @deprecated
|
|
496
|
+
/**
|
|
497
|
+
* @deprecated
|
|
498
498
|
*/
|
|
499
499
|
function get() {
|
|
500
500
|
return this.getAttribute('configUrl') || undefined;
|
|
@@ -1266,8 +1266,8 @@ var DataStore = /*#__PURE__*/function () {
|
|
|
1266
1266
|
return this._currentOrganizationId || '';
|
|
1267
1267
|
}
|
|
1268
1268
|
|
|
1269
|
-
/**
|
|
1270
|
-
* Returns the full list of parent organizations including the current organization
|
|
1269
|
+
/**
|
|
1270
|
+
* Returns the full list of parent organizations including the current organization
|
|
1271
1271
|
*/
|
|
1272
1272
|
}, {
|
|
1273
1273
|
key: "fullParentList",
|
|
@@ -1278,11 +1278,11 @@ var DataStore = /*#__PURE__*/function () {
|
|
|
1278
1278
|
})) !== null && _this$organization$pa !== void 0 ? _this$organization$pa : []), [this.organizationId]);
|
|
1279
1279
|
}
|
|
1280
1280
|
|
|
1281
|
-
/**
|
|
1282
|
-
* Returns the list of parent organizations including the current organization, filtered by the valid organizations of the config and the permissions of the user
|
|
1283
|
-
* this is manly used for displaying the organization hirarchy in the header
|
|
1284
|
-
*
|
|
1285
|
-
* If you need the full parent list, use fullParentList
|
|
1281
|
+
/**
|
|
1282
|
+
* Returns the list of parent organizations including the current organization, filtered by the valid organizations of the config and the permissions of the user
|
|
1283
|
+
* this is manly used for displaying the organization hirarchy in the header
|
|
1284
|
+
*
|
|
1285
|
+
* If you need the full parent list, use fullParentList
|
|
1286
1286
|
*/
|
|
1287
1287
|
}, {
|
|
1288
1288
|
key: "organizationHirarchy",
|
|
@@ -1334,10 +1334,10 @@ var DataStore = /*#__PURE__*/function () {
|
|
|
1334
1334
|
this._parentOrganizations = organizations;
|
|
1335
1335
|
}
|
|
1336
1336
|
|
|
1337
|
-
/**
|
|
1338
|
-
* Checks if the user has a certain permissions
|
|
1339
|
-
* @param permission the permission
|
|
1340
|
-
* @returns true if the user has the permission
|
|
1337
|
+
/**
|
|
1338
|
+
* Checks if the user has a certain permissions
|
|
1339
|
+
* @param permission the permission
|
|
1340
|
+
* @returns true if the user has the permission
|
|
1341
1341
|
*/
|
|
1342
1342
|
}, {
|
|
1343
1343
|
key: "userHasPermission",
|
|
@@ -1501,8 +1501,8 @@ var DataStore = /*#__PURE__*/function () {
|
|
|
1501
1501
|
}
|
|
1502
1502
|
}, getSessionGuidFlow, this);
|
|
1503
1503
|
})
|
|
1504
|
-
/**
|
|
1505
|
-
* clears all the current saved sessionGuids
|
|
1504
|
+
/**
|
|
1505
|
+
* clears all the current saved sessionGuids
|
|
1506
1506
|
*/
|
|
1507
1507
|
}, {
|
|
1508
1508
|
key: "clearSessionGuids",
|
|
@@ -1510,9 +1510,9 @@ var DataStore = /*#__PURE__*/function () {
|
|
|
1510
1510
|
this._sessionGuids = {};
|
|
1511
1511
|
}
|
|
1512
1512
|
|
|
1513
|
-
/**
|
|
1514
|
-
* Update the currently selected organization and immediately load the organization data
|
|
1515
|
-
* @param organizationId the id of the new organization
|
|
1513
|
+
/**
|
|
1514
|
+
* Update the currently selected organization and immediately load the organization data
|
|
1515
|
+
* @param organizationId the id of the new organization
|
|
1516
1516
|
*/
|
|
1517
1517
|
}, {
|
|
1518
1518
|
key: "updateOrganizationInternal",
|
|
@@ -1734,7 +1734,7 @@ var input = "input--Dl8e";
|
|
|
1734
1734
|
var readonly = "readonly-uw66l";
|
|
1735
1735
|
var resetInput = "reset-input-ERpB4";
|
|
1736
1736
|
var link = "link-s-Rcm";
|
|
1737
|
-
var css_248z$6 = ".auth-y9j9- {\
|
|
1737
|
+
var css_248z$6 = ".auth-y9j9- {\n height: 100%;\n width: 100%;\n display: flex;\n background-color: rgba(255, 255, 255);\n z-index: 3;\n justify-content: center;\n align-items: center;\n position: absolute;\n}\n\n.login-box-Zu-QM {\n padding: 20px;\n width: 400px;\n margin: 50px auto auto auto;\n letter-spacing: 1px;\n position: relative;\n font-family: Arial, Helvetica, sans-serif;\n}\n\n.logo-container-Gujpy {\n background-repeat: no-repeat;\n background-position: center;\n background-size: contain;\n margin-bottom: 50px;\n}\n\n.success-7n9-D {\n width: 100%;\n padding: 12px;\n border-radius: 4px;\n margin: 15px 0;\n box-sizing: border-box;\n background-color: rgb(228, 244, 228);\n color: rgb(17, 97, 73);\n border: rgb(195, 231, 202) solid 1px;\n border-left: solid 4px;\n line-height: 20px;\n font-size: 16px;\n position: relative;\n}\n\n.success-7n9-D span {\n width: 30px;\n height: 100%;\n float: left;\n background-repeat: no-repeat;\n background-image: url(\"data:image/svg+xml,%3Csvg fill%3D%22rgb(19%2C 170%2C 82)%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 height%3D%2230px%22 width%3D%2230px%22 viewBox%3D%220 0 24 24%22 %3E%3Cpath fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M8 15A7 7 0 108 1a7 7 0 000 14zm2.448-10.104a.997.997 0 111.508 1.306l-4.572 5.28a1 1 0 01-1.64-.07l-1.82-2.868a1 1 0 111.69-1.07l1.1 1.734 3.734-4.312z%22 fill%3D%22currentColor%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E\");\n position: absolute;\n}\n\n.success-7n9-D div {\n text-align: justify;\n margin-left: 30px;\n}\n\n.error-gJyOw {\n width: 100%;\n padding: 12px;\n border-radius: 4px;\n margin: 15px 0;\n box-sizing: border-box;\n background-color: rgb(252, 235, 226);\n color: rgb(207, 74, 34);\n border: rgb(249, 211, 197) solid 1px;\n border-left: solid 4px;\n line-height: 20px;\n font-size: 16px;\n position: relative;\n}\n\n.error-gJyOw span {\n width: 30px;\n height: 100%;\n float: left;\n background-repeat: no-repeat;\n background-image: url(\"data:image/svg+xml,%3Csvg fill%3D%22rgb(207%2C 74%2C 34)%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 height%3D%2230px%22 width%3D%2230px%22 viewBox%3D%220 0 24 24%22 %3E%3Cpath d%3D%22M8.8639 2.51357C8.49039 1.82881 7.50961 1.82881 7.1361 2.51357L1.12218 13.5388C0.763263 14.1968 1.23814 15 1.98608 15H14.0139C14.7619 15 15.2367 14.1968 14.8778 13.5388L8.8639 2.51357ZM7 6C7 5.44772 7.44772 5 8 5C8.55228 5 9 5.44772 9 6V10C9 10.5523 8.55228 11 8 11C7.44772 11 7 10.5523 7 10V6ZM9 13C9 13.5523 8.55228 14 8 14C7.44772 14 7 13.5523 7 13C7 12.4477 7.44772 12 8 12C8.55228 12 9 12.4477 9 13Z%22 %3E%3C%2Fpath%3E%3C%2Fsvg%3E\");\n position: absolute;\n}\n\n.error-gJyOw div {\n text-align: justify;\n margin-left: 30px;\n}\n.auth-button-nvUhU {\n width: 100%;\n padding: 12px;\n border-radius: 4px;\n margin: 15px 0;\n opacity: 0.85;\n font-size: 17px;\n line-height: 22px;\n cursor: pointer;\n box-sizing: border-box;\n background-color: var(--diva-theme-palette-primary-main);\n text-align: center;\n color: var(--diva-theme-palette-primary-contrast-text);\n}\n\n.auth-button-nvUhU:hover {\n opacity: 1;\n}\n\n.button-disabled-GS-ox {\n opacity: 0.3;\n cursor: auto;\n cursor: initial;\n}\n.button-disabled-GS-ox:hover {\n opacity: 0.3;\n}\n\n.social-button-p5pUa div {\n width: 30px;\n height: 22px;\n float: left;\n background-repeat: no-repeat;\n background-size: contain;\n background-position: center;\n filter: brightness(0) invert(1);\n}\n\n.google-WhFJU {\n background-color: #dd4b39;\n color: white;\n}\n\n.google-WhFJU div {\n background-image: url(\"data:image/svg+xml,%3C%3Fxml version%3D%221.0%22%3F%3E%3Csvg fill%3D%22%23000000%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 viewBox%3D%220 0 24 24%22 %3E %3Cpath d%3D%22M12.545%2C10.239v3.821h5.445c-0.712%2C2.315-2.647%2C3.972-5.445%2C3.972c-3.332%2C0-6.033-2.701-6.033-6.032 s2.701-6.032%2C6.033-6.032c1.498%2C0%2C2.866%2C0.549%2C3.921%2C1.453l2.814-2.814C17.503%2C2.988%2C15.139%2C2%2C12.545%2C2 C7.021%2C2%2C2.543%2C6.477%2C2.543%2C12s4.478%2C10%2C10.002%2C10c8.396%2C0%2C10.249-7.85%2C9.426-11.748L12.545%2C10.239z%22%2F%3E%3C%2Fsvg%3E\");\n}\n\n.microsoft-e3GYR {\n background-color: #00a4ef;\n color: white;\n}\n\n.microsoft-e3GYR div {\n background-image: url(\"data:image/svg+xml,%3Csvg fill%3D%22%23000000%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 viewBox%3D%220 0 50 50%22%3E%3Cpath d%3D%22M19.852 7.761l-15 2.25C4.362 10.085 4 10.505 4 11v12c0 .553.448 1 1 1h15c.552 0 1-.447 1-1V8.75c0-.291-.127-.567-.348-.758C20.432 7.803 20.139 7.721 19.852 7.761zM45.652 4.242c-.22-.189-.512-.271-.801-.231l-21 3.15C23.362 7.235 23 7.655 23 8.15V23c0 .553.448 1 1 1h21c.552 0 1-.447 1-1V5C46 4.709 45.873 4.433 45.652 4.242zM20 26H5c-.552 0-1 .447-1 1v12c0 .495.362.915.852.989l15 2.25c.05.007.099.011.148.011.238 0 .47-.085.652-.242C20.873 41.817 21 41.541 21 41.25V27C21 26.447 20.552 26 20 26zM45 26H24c-.552 0-1 .447-1 1v14.85c0 .495.362.915.852.989l21 3.15C44.901 45.996 44.951 46 45 46c.238 0 .47-.085.652-.242C45.873 45.567 46 45.291 46 45V27C46 26.447 45.552 26 45 26z%22%2F%3E%3C%2Fsvg%3E\");\n}\n\n.separator-Hg6fH {\n display: flex;\n align-items: center;\n text-align: center;\n color: rgb(184, 196, 194);\n}\n\n.separator-Hg6fH::before,\n.separator-Hg6fH::after {\n content: '';\n flex: 1;\n border-bottom: 1px solid rgb(184, 196, 194);\n}\n\n.separator-Hg6fH:not(:empty)::before {\n margin-right: 0.25em;\n}\n\n.separator-Hg6fH:not(:empty)::after {\n margin-left: 0.25em;\n}\n\n.input--Dl8e {\n width: 100%;\n padding: 1em;\n border: solid 1px rgba(0, 0, 0, 0.1);\n border-radius: 0.3em;\n outline: none;\n margin: 15px 0;\n box-sizing: border-box;\n}\n\n.input--Dl8e:hover,\n.input--Dl8e:focus,\n.input--Dl8e:active {\n border: solid 1px var(--diva-theme-palette-primary-main);\n}\n\n.input--Dl8e::-moz-placeholder {\n color: rgba(0, 0, 0, 0.25);\n}\n\n.input--Dl8e::placeholder {\n color: rgba(0, 0, 0, 0.25);\n}\n\n.input--Dl8e.readonly-uw66l {\n border: solid 1px rgba(0, 0, 0, 0.1);\n color: rgba(0, 0, 0, 0.25);\n}\n\n.reset-input-ERpB4 {\n position: relative;\n}\n\n.reset-input-ERpB4:after {\n content: '';\n position: absolute;\n right: 10px;\n top: 0;\n bottom: 0;\n width: 20px;\n background: url(\"data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 %3F%3E%3C!DOCTYPE svg PUBLIC '-%2F%2FW3C%2F%2FDTD SVG 1.1%2F%2FEN' 'http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd'%3E%3Csvg id%3D%22Layer_1%22 style%3D%22enable-background%3Anew 0 0 512 512%3B%22 version%3D%221.1%22 viewBox%3D%220 0 512 512%22 width%3D%22512px%22 xml%3Aspace%3D%22preserve%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%3Cg%3E%3Cpath d%3D%22M256%2C33C132.3%2C33%2C32%2C133.3%2C32%2C257c0%2C123.7%2C100.3%2C224%2C224%2C224c123.7%2C0%2C224-100.3%2C224-224C480%2C133.3%2C379.7%2C33%2C256%2C33z M364.3%2C332.5c1.5%2C1.5%2C2.3%2C3.5%2C2.3%2C5.6c0%2C2.1-0.8%2C4.2-2.3%2C5.6l-21.6%2C21.7c-1.6%2C1.6-3.6%2C2.3-5.6%2C2.3c-2%2C0-4.1-0.8-5.6-2.3L256%2C289.8 l-75.4%2C75.7c-1.5%2C1.6-3.6%2C2.3-5.6%2C2.3c-2%2C0-4.1-0.8-5.6-2.3l-21.6-21.7c-1.5-1.5-2.3-3.5-2.3-5.6c0-2.1%2C0.8-4.2%2C2.3-5.6l75.7-76 l-75.9-75c-3.1-3.1-3.1-8.2%2C0-11.3l21.6-21.7c1.5-1.5%2C3.5-2.3%2C5.6-2.3c2.1%2C0%2C4.1%2C0.8%2C5.6%2C2.3l75.7%2C74.7l75.7-74.7 c1.5-1.5%2C3.5-2.3%2C5.6-2.3c2.1%2C0%2C4.1%2C0.8%2C5.6%2C2.3l21.6%2C21.7c3.1%2C3.1%2C3.1%2C8.2%2C0%2C11.3l-75.9%2C75L364.3%2C332.5z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E\") center / contain no-repeat;\n cursor: pointer;\n opacity: 0.7;\n}\n\n.link-s-Rcm {\n color: var(--diva-theme-palette-primary-main);\n cursor: pointer;\n display: inline-block;\n}\n";
|
|
1738
1738
|
styleInject(css_248z$6);
|
|
1739
1739
|
|
|
1740
1740
|
var _excluded$6 = ["className", "disabled", "children"];
|
|
@@ -2218,11 +2218,11 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
2218
2218
|
return url.href;
|
|
2219
2219
|
}
|
|
2220
2220
|
|
|
2221
|
-
/**
|
|
2222
|
-
* Open a component or an external url.
|
|
2223
|
-
*
|
|
2224
|
-
* Checks against the configuration and opens in the expected way (e.g. new tab)
|
|
2225
|
-
* @param action the component or external url
|
|
2221
|
+
/**
|
|
2222
|
+
* Open a component or an external url.
|
|
2223
|
+
*
|
|
2224
|
+
* Checks against the configuration and opens in the expected way (e.g. new tab)
|
|
2225
|
+
* @param action the component or external url
|
|
2226
2226
|
*/
|
|
2227
2227
|
}, {
|
|
2228
2228
|
key: "openComponent",
|
|
@@ -2466,10 +2466,10 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
2466
2466
|
});
|
|
2467
2467
|
}
|
|
2468
2468
|
|
|
2469
|
-
/**
|
|
2470
|
-
* this flag is for components that by their own go in absoulte fullscrennmode like eg: PDP.
|
|
2471
|
-
* this flag influences the dimension calculation
|
|
2472
|
-
* @param val new state
|
|
2469
|
+
/**
|
|
2470
|
+
* this flag is for components that by their own go in absoulte fullscrennmode like eg: PDP.
|
|
2471
|
+
* this flag influences the dimension calculation
|
|
2472
|
+
* @param val new state
|
|
2473
2473
|
*/
|
|
2474
2474
|
}, {
|
|
2475
2475
|
key: "setAbsoluteFullScreen",
|
|
@@ -2521,10 +2521,10 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
2521
2521
|
}, {
|
|
2522
2522
|
key: "updateCustomLogo",
|
|
2523
2523
|
value:
|
|
2524
|
-
/**
|
|
2525
|
-
* Update the custom logo for a list of components
|
|
2526
|
-
* @param components the list of components
|
|
2527
|
-
* @param logo the custom logo
|
|
2524
|
+
/**
|
|
2525
|
+
* Update the custom logo for a list of components
|
|
2526
|
+
* @param components the list of components
|
|
2527
|
+
* @param logo the custom logo
|
|
2528
2528
|
*/
|
|
2529
2529
|
function updateCustomLogo(components, logo) {
|
|
2530
2530
|
var _this3 = this;
|
|
@@ -2533,10 +2533,10 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
2533
2533
|
});
|
|
2534
2534
|
}
|
|
2535
2535
|
|
|
2536
|
-
/**
|
|
2537
|
-
* Update the custom headerelement for a list of components
|
|
2538
|
-
* @param components the list of components
|
|
2539
|
-
* @param element the custom header element
|
|
2536
|
+
/**
|
|
2537
|
+
* Update the custom headerelement for a list of components
|
|
2538
|
+
* @param components the list of components
|
|
2539
|
+
* @param element the custom header element
|
|
2540
2540
|
*/
|
|
2541
2541
|
}, {
|
|
2542
2542
|
key: "updateCustomHeaderElement",
|
|
@@ -2547,11 +2547,11 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
2547
2547
|
});
|
|
2548
2548
|
}
|
|
2549
2549
|
|
|
2550
|
-
/**
|
|
2551
|
-
* Updates the breadcrumbs
|
|
2552
|
-
* If type is 'replace' a whole breadcrumb group gets replaces,
|
|
2553
|
-
* if the type is 'update' the group gets updated
|
|
2554
|
-
* @param params the update parameters for the breadcrumbs
|
|
2550
|
+
/**
|
|
2551
|
+
* Updates the breadcrumbs
|
|
2552
|
+
* If type is 'replace' a whole breadcrumb group gets replaces,
|
|
2553
|
+
* if the type is 'update' the group gets updated
|
|
2554
|
+
* @param params the update parameters for the breadcrumbs
|
|
2555
2555
|
*/
|
|
2556
2556
|
}, {
|
|
2557
2557
|
key: "updateBreadcrumbs",
|
|
@@ -2616,8 +2616,8 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
2616
2616
|
}
|
|
2617
2617
|
}
|
|
2618
2618
|
|
|
2619
|
-
/**
|
|
2620
|
-
* Returns the current breadcrumbs the be rendered in the header
|
|
2619
|
+
/**
|
|
2620
|
+
* Returns the current breadcrumbs the be rendered in the header
|
|
2621
2621
|
*/
|
|
2622
2622
|
}, {
|
|
2623
2623
|
key: "breadcrumbs",
|
|
@@ -2654,9 +2654,9 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
2654
2654
|
return undefined;
|
|
2655
2655
|
}
|
|
2656
2656
|
|
|
2657
|
-
/**
|
|
2658
|
-
* Initialize the breadcrumb array
|
|
2659
|
-
* @param breadcrumbs the inital value
|
|
2657
|
+
/**
|
|
2658
|
+
* Initialize the breadcrumb array
|
|
2659
|
+
* @param breadcrumbs the inital value
|
|
2660
2660
|
*/
|
|
2661
2661
|
}, {
|
|
2662
2662
|
key: "initBreadcrumbs",
|
|
@@ -2664,8 +2664,8 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
2664
2664
|
this._breadcrumbs = [breadcrumbs];
|
|
2665
2665
|
}
|
|
2666
2666
|
|
|
2667
|
-
/**
|
|
2668
|
-
* Returns the custom logo that should be added to the logos in the header, if there is any
|
|
2667
|
+
/**
|
|
2668
|
+
* Returns the custom logo that should be added to the logos in the header, if there is any
|
|
2669
2669
|
*/
|
|
2670
2670
|
}, {
|
|
2671
2671
|
key: "customLogo",
|
|
@@ -2673,8 +2673,8 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
2673
2673
|
return this.visible ? this.customLogoMap.get(this.visible) : undefined;
|
|
2674
2674
|
}
|
|
2675
2675
|
|
|
2676
|
-
/**
|
|
2677
|
-
* Retruns the custom component that should be rendered in the header, if there is any
|
|
2676
|
+
/**
|
|
2677
|
+
* Retruns the custom component that should be rendered in the header, if there is any
|
|
2678
2678
|
*/
|
|
2679
2679
|
}, {
|
|
2680
2680
|
key: "customHeaderComponent",
|
|
@@ -2682,8 +2682,8 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
2682
2682
|
return this.visible ? this.customHeaderComponentMap.get(this.visible) : undefined;
|
|
2683
2683
|
}
|
|
2684
2684
|
|
|
2685
|
-
/**
|
|
2686
|
-
* Returns the component setting of the current component
|
|
2685
|
+
/**
|
|
2686
|
+
* Returns the component setting of the current component
|
|
2687
2687
|
*/
|
|
2688
2688
|
}, {
|
|
2689
2689
|
key: "currentComponent",
|
|
@@ -2694,8 +2694,8 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
2694
2694
|
});
|
|
2695
2695
|
}
|
|
2696
2696
|
|
|
2697
|
-
/**
|
|
2698
|
-
* Returns the currently stored restricted component if there is one
|
|
2697
|
+
/**
|
|
2698
|
+
* Returns the currently stored restricted component if there is one
|
|
2699
2699
|
*/
|
|
2700
2700
|
}, {
|
|
2701
2701
|
key: "restrictedComponent",
|
|
@@ -2705,8 +2705,8 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
2705
2705
|
set: function set(val) {
|
|
2706
2706
|
this._restrictedComponent = val;
|
|
2707
2707
|
}
|
|
2708
|
-
/**
|
|
2709
|
-
* States the status of the footer
|
|
2708
|
+
/**
|
|
2709
|
+
* States the status of the footer
|
|
2710
2710
|
*/
|
|
2711
2711
|
}, {
|
|
2712
2712
|
key: "showFooter",
|
|
@@ -2721,8 +2721,8 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
2721
2721
|
return (config === null || config === void 0 ? void 0 : config.showFooter) != undefined ? config.showFooter : false;
|
|
2722
2722
|
}
|
|
2723
2723
|
|
|
2724
|
-
/**
|
|
2725
|
-
* States the current status for the hide Price button
|
|
2724
|
+
/**
|
|
2725
|
+
* States the current status for the hide Price button
|
|
2726
2726
|
*/
|
|
2727
2727
|
}, {
|
|
2728
2728
|
key: "allowHidePrices",
|
|
@@ -2737,10 +2737,10 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
2737
2737
|
return true;
|
|
2738
2738
|
}
|
|
2739
2739
|
|
|
2740
|
-
/**
|
|
2741
|
-
* States if the prices should be hidden in the currently visible component
|
|
2742
|
-
* It gets the info from the current organization
|
|
2743
|
-
* when _hidePrices is undefined we use the default from the config in org
|
|
2740
|
+
/**
|
|
2741
|
+
* States if the prices should be hidden in the currently visible component
|
|
2742
|
+
* It gets the info from the current organization
|
|
2743
|
+
* when _hidePrices is undefined we use the default from the config in org
|
|
2744
2744
|
*/
|
|
2745
2745
|
}, {
|
|
2746
2746
|
key: "hidePrices",
|
|
@@ -2763,8 +2763,8 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
2763
2763
|
return this._hidePrices;
|
|
2764
2764
|
}
|
|
2765
2765
|
|
|
2766
|
-
/**
|
|
2767
|
-
* Hides or shows prices
|
|
2766
|
+
/**
|
|
2767
|
+
* Hides or shows prices
|
|
2768
2768
|
*/
|
|
2769
2769
|
}, {
|
|
2770
2770
|
key: "toggleHidePrices",
|
|
@@ -2772,16 +2772,16 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
2772
2772
|
this._hidePrices = !this.hidePrices;
|
|
2773
2773
|
}
|
|
2774
2774
|
|
|
2775
|
-
/**
|
|
2776
|
-
* States if the change of a component is blocked or not
|
|
2775
|
+
/**
|
|
2776
|
+
* States if the change of a component is blocked or not
|
|
2777
2777
|
*/
|
|
2778
2778
|
}, {
|
|
2779
2779
|
key: "componentChange",
|
|
2780
2780
|
get: function get() {
|
|
2781
2781
|
return this._componentChange;
|
|
2782
2782
|
}
|
|
2783
|
-
/**
|
|
2784
|
-
* Block Component change
|
|
2783
|
+
/**
|
|
2784
|
+
* Block Component change
|
|
2785
2785
|
*/
|
|
2786
2786
|
}, {
|
|
2787
2787
|
key: "setComponentChange",
|
|
@@ -2789,9 +2789,9 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
2789
2789
|
this._componentChange = value;
|
|
2790
2790
|
}
|
|
2791
2791
|
|
|
2792
|
-
/**
|
|
2793
|
-
* Opens a modal
|
|
2794
|
-
* @param modal the settings for new modal
|
|
2792
|
+
/**
|
|
2793
|
+
* Opens a modal
|
|
2794
|
+
* @param modal the settings for new modal
|
|
2795
2795
|
*/
|
|
2796
2796
|
}, {
|
|
2797
2797
|
key: "openModal",
|
|
@@ -2799,8 +2799,8 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
2799
2799
|
this._modal = modal;
|
|
2800
2800
|
}
|
|
2801
2801
|
|
|
2802
|
-
/**
|
|
2803
|
-
* Resets the modal state
|
|
2802
|
+
/**
|
|
2803
|
+
* Resets the modal state
|
|
2804
2804
|
*/
|
|
2805
2805
|
}, {
|
|
2806
2806
|
key: "closeModal",
|
|
@@ -2808,8 +2808,8 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
2808
2808
|
this._modal = undefined;
|
|
2809
2809
|
}
|
|
2810
2810
|
|
|
2811
|
-
/**
|
|
2812
|
-
* The settings for a modal, if one should be opened
|
|
2811
|
+
/**
|
|
2812
|
+
* The settings for a modal, if one should be opened
|
|
2813
2813
|
*/
|
|
2814
2814
|
}, {
|
|
2815
2815
|
key: "modal",
|
|
@@ -2842,9 +2842,9 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
2842
2842
|
return this._snackBars;
|
|
2843
2843
|
}
|
|
2844
2844
|
|
|
2845
|
-
/**
|
|
2846
|
-
* Open full screen modal
|
|
2847
|
-
* @param fullscreen the settings for the fullscreen
|
|
2845
|
+
/**
|
|
2846
|
+
* Open full screen modal
|
|
2847
|
+
* @param fullscreen the settings for the fullscreen
|
|
2848
2848
|
*/
|
|
2849
2849
|
}, {
|
|
2850
2850
|
key: "openFullscreen",
|
|
@@ -2852,8 +2852,8 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
2852
2852
|
this._fullscreen = fullscreen;
|
|
2853
2853
|
}
|
|
2854
2854
|
|
|
2855
|
-
/**
|
|
2856
|
-
* Resets the modal state
|
|
2855
|
+
/**
|
|
2856
|
+
* Resets the modal state
|
|
2857
2857
|
*/
|
|
2858
2858
|
}, {
|
|
2859
2859
|
key: "closeFullscreen",
|
|
@@ -2861,8 +2861,8 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
2861
2861
|
this._fullscreen = undefined;
|
|
2862
2862
|
}
|
|
2863
2863
|
|
|
2864
|
-
/**
|
|
2865
|
-
* The settings of the fullscreen, if one should be opened
|
|
2864
|
+
/**
|
|
2865
|
+
* The settings of the fullscreen, if one should be opened
|
|
2866
2866
|
*/
|
|
2867
2867
|
}, {
|
|
2868
2868
|
key: "fullscreen",
|
|
@@ -2882,9 +2882,9 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
2882
2882
|
return this._banner;
|
|
2883
2883
|
}
|
|
2884
2884
|
|
|
2885
|
-
/**
|
|
2886
|
-
* Open sideMenu screen modal
|
|
2887
|
-
* @param sideMenu the settings for the sideMenu
|
|
2885
|
+
/**
|
|
2886
|
+
* Open sideMenu screen modal
|
|
2887
|
+
* @param sideMenu the settings for the sideMenu
|
|
2888
2888
|
*/
|
|
2889
2889
|
}, {
|
|
2890
2890
|
key: "openSideMenu",
|
|
@@ -2899,8 +2899,8 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
2899
2899
|
});
|
|
2900
2900
|
}
|
|
2901
2901
|
|
|
2902
|
-
/**
|
|
2903
|
-
* Resets the modal state
|
|
2902
|
+
/**
|
|
2903
|
+
* Resets the modal state
|
|
2904
2904
|
*/
|
|
2905
2905
|
}, {
|
|
2906
2906
|
key: "closeSideMenu",
|
|
@@ -2910,8 +2910,8 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
2910
2910
|
});
|
|
2911
2911
|
}
|
|
2912
2912
|
|
|
2913
|
-
/**
|
|
2914
|
-
* Updates HeaderInfos so other component know the state of the header
|
|
2913
|
+
/**
|
|
2914
|
+
* Updates HeaderInfos so other component know the state of the header
|
|
2915
2915
|
*/
|
|
2916
2916
|
}, {
|
|
2917
2917
|
key: "updateHeaderInfos",
|
|
@@ -2924,8 +2924,8 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
2924
2924
|
return this._headerInfos;
|
|
2925
2925
|
}
|
|
2926
2926
|
|
|
2927
|
-
/**
|
|
2928
|
-
* The settings of the sideMenu, if one should be opened
|
|
2927
|
+
/**
|
|
2928
|
+
* The settings of the sideMenu, if one should be opened
|
|
2929
2929
|
*/
|
|
2930
2930
|
}, {
|
|
2931
2931
|
key: "sideMenu",
|
|
@@ -2933,10 +2933,10 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
2933
2933
|
return this._sideMenu;
|
|
2934
2934
|
}
|
|
2935
2935
|
|
|
2936
|
-
/**
|
|
2937
|
-
* Opens a berrier to request user infos
|
|
2938
|
-
*
|
|
2939
|
-
* @param barrier the settings for the barrier
|
|
2936
|
+
/**
|
|
2937
|
+
* Opens a berrier to request user infos
|
|
2938
|
+
*
|
|
2939
|
+
* @param barrier the settings for the barrier
|
|
2940
2940
|
*/
|
|
2941
2941
|
}, {
|
|
2942
2942
|
key: "openBarrier",
|
|
@@ -3018,8 +3018,8 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
3018
3018
|
return this.root.browserStateStore.bannerInLocalStorage(banner);
|
|
3019
3019
|
}
|
|
3020
3020
|
|
|
3021
|
-
/**
|
|
3022
|
-
* Sends an email and if specified opens an input dialog before sending
|
|
3021
|
+
/**
|
|
3022
|
+
* Sends an email and if specified opens an input dialog before sending
|
|
3023
3023
|
*/
|
|
3024
3024
|
}, {
|
|
3025
3025
|
key: "sendEmail",
|
|
@@ -3104,9 +3104,9 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
3104
3104
|
})();
|
|
3105
3105
|
}
|
|
3106
3106
|
|
|
3107
|
-
/**
|
|
3108
|
-
* Retruns the current state of the named component
|
|
3109
|
-
* @param type
|
|
3107
|
+
/**
|
|
3108
|
+
* Retruns the current state of the named component
|
|
3109
|
+
* @param type
|
|
3110
3110
|
*/
|
|
3111
3111
|
}, {
|
|
3112
3112
|
key: "getState",
|
|
@@ -3119,9 +3119,9 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
3119
3119
|
};
|
|
3120
3120
|
}
|
|
3121
3121
|
|
|
3122
|
-
/**
|
|
3123
|
-
* Returns true of the named component should be visible
|
|
3124
|
-
* @param type the
|
|
3122
|
+
/**
|
|
3123
|
+
* Returns true of the named component should be visible
|
|
3124
|
+
* @param type the
|
|
3125
3125
|
*/
|
|
3126
3126
|
}, {
|
|
3127
3127
|
key: "isVisible",
|
|
@@ -3129,9 +3129,9 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
3129
3129
|
return type == this.visible && !this.root.loadingAndErrorStore.hideContent;
|
|
3130
3130
|
}
|
|
3131
3131
|
|
|
3132
|
-
/**
|
|
3133
|
-
* Set the container ref, inorder to monitor the size
|
|
3134
|
-
* @param ref the current container
|
|
3132
|
+
/**
|
|
3133
|
+
* Set the container ref, inorder to monitor the size
|
|
3134
|
+
* @param ref the current container
|
|
3135
3135
|
*/
|
|
3136
3136
|
}, {
|
|
3137
3137
|
key: "setContainer",
|
|
@@ -3183,8 +3183,8 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
3183
3183
|
return comp ? comp.isPublic : true;
|
|
3184
3184
|
}
|
|
3185
3185
|
|
|
3186
|
-
/**
|
|
3187
|
-
* A list of all component settings that are currently available, based on the configuration and user permissions
|
|
3186
|
+
/**
|
|
3187
|
+
* A list of all component settings that are currently available, based on the configuration and user permissions
|
|
3188
3188
|
*/
|
|
3189
3189
|
}, {
|
|
3190
3190
|
key: "availableComponents",
|
|
@@ -3212,8 +3212,8 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
3212
3212
|
});
|
|
3213
3213
|
}
|
|
3214
3214
|
|
|
3215
|
-
/**
|
|
3216
|
-
* All components that should be loaded, with there renderfunction
|
|
3215
|
+
/**
|
|
3216
|
+
* All components that should be loaded, with there renderfunction
|
|
3217
3217
|
*/
|
|
3218
3218
|
}, {
|
|
3219
3219
|
key: "components",
|
|
@@ -3248,8 +3248,8 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
3248
3248
|
return componentsToRender;
|
|
3249
3249
|
}
|
|
3250
3250
|
|
|
3251
|
-
/**
|
|
3252
|
-
* All components that should be loaded, with there renderfunction
|
|
3251
|
+
/**
|
|
3252
|
+
* All components that should be loaded, with there renderfunction
|
|
3253
3253
|
*/
|
|
3254
3254
|
}, {
|
|
3255
3255
|
key: "fullscreenComponent",
|
|
@@ -3286,8 +3286,8 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
3286
3286
|
return !!((_this$_fullscreenComp = this._fullscreenComponent) !== null && _this$_fullscreenComp !== void 0 && _this$_fullscreenComp.absoluteFullscreen) || this._isAbsoluteComponent;
|
|
3287
3287
|
}
|
|
3288
3288
|
|
|
3289
|
-
/**
|
|
3290
|
-
* A list of all component types that are currently available, based on the configuration and user permissions
|
|
3289
|
+
/**
|
|
3290
|
+
* A list of all component types that are currently available, based on the configuration and user permissions
|
|
3291
3291
|
*/
|
|
3292
3292
|
}, {
|
|
3293
3293
|
key: "availableComponentList",
|
|
@@ -3297,8 +3297,8 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
3297
3297
|
});
|
|
3298
3298
|
}
|
|
3299
3299
|
|
|
3300
|
-
/**
|
|
3301
|
-
* The available buttons for the navigationbar, based on the configuration an user permissions
|
|
3300
|
+
/**
|
|
3301
|
+
* The available buttons for the navigationbar, based on the configuration an user permissions
|
|
3302
3302
|
*/
|
|
3303
3303
|
}, {
|
|
3304
3304
|
key: "availableButtons",
|
|
@@ -3325,8 +3325,8 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
3325
3325
|
});
|
|
3326
3326
|
}
|
|
3327
3327
|
|
|
3328
|
-
/**
|
|
3329
|
-
* The material-ui theme based on the ccurrent configuration
|
|
3328
|
+
/**
|
|
3329
|
+
* The material-ui theme based on the ccurrent configuration
|
|
3330
3330
|
*/
|
|
3331
3331
|
}, {
|
|
3332
3332
|
key: "materialUiTheme",
|
|
@@ -3335,8 +3335,8 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
3335
3335
|
return createTheme(theme, this.getLang(this.root.language));
|
|
3336
3336
|
}
|
|
3337
3337
|
|
|
3338
|
-
/**
|
|
3339
|
-
* Get the dimensions of the containing div (not the screen)
|
|
3338
|
+
/**
|
|
3339
|
+
* Get the dimensions of the containing div (not the screen)
|
|
3340
3340
|
*/
|
|
3341
3341
|
}, {
|
|
3342
3342
|
key: "containerDimensions",
|
|
@@ -3355,9 +3355,9 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
3355
3355
|
return dimensions;
|
|
3356
3356
|
}
|
|
3357
3357
|
|
|
3358
|
-
/**
|
|
3359
|
-
* Reset the state of the page, i.e. on organization data change
|
|
3360
|
-
* Remove all cached component states and reopen the current component
|
|
3358
|
+
/**
|
|
3359
|
+
* Reset the state of the page, i.e. on organization data change
|
|
3360
|
+
* Remove all cached component states and reopen the current component
|
|
3361
3361
|
*/
|
|
3362
3362
|
}, {
|
|
3363
3363
|
key: "resetState",
|
|
@@ -3386,8 +3386,8 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
3386
3386
|
}
|
|
3387
3387
|
}
|
|
3388
3388
|
|
|
3389
|
-
/**
|
|
3390
|
-
* Sets the theme as css variables
|
|
3389
|
+
/**
|
|
3390
|
+
* Sets the theme as css variables
|
|
3391
3391
|
*/
|
|
3392
3392
|
}, {
|
|
3393
3393
|
key: "updateCssThemeVariables",
|
|
@@ -3399,9 +3399,9 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
3399
3399
|
updateCssThemeVariables(this.ref, theme);
|
|
3400
3400
|
}
|
|
3401
3401
|
|
|
3402
|
-
/**
|
|
3403
|
-
* Updates the component state if the user is logged out.
|
|
3404
|
-
* Deletes states and changes the currently visible component if it is not public
|
|
3402
|
+
/**
|
|
3403
|
+
* Updates the component state if the user is logged out.
|
|
3404
|
+
* Deletes states and changes the currently visible component if it is not public
|
|
3405
3405
|
*/
|
|
3406
3406
|
}, {
|
|
3407
3407
|
key: "updateStateAfterLogout",
|
|
@@ -3446,11 +3446,11 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
3446
3446
|
return url.replace('${zToken}', (_this$root$authorizat = this.root.authorizationStore.zToken) !== null && _this$root$authorizat !== void 0 ? _this$root$authorizat : '').replace('${organizationId}', this.root.dataStore.organizationId);
|
|
3447
3447
|
}
|
|
3448
3448
|
|
|
3449
|
-
/**
|
|
3450
|
-
* Opens a component or an external url in a new tab
|
|
3451
|
-
*
|
|
3452
|
-
* @param action the action settings
|
|
3453
|
-
* @param baseUrl optional the base url for a component
|
|
3449
|
+
/**
|
|
3450
|
+
* Opens a component or an external url in a new tab
|
|
3451
|
+
*
|
|
3452
|
+
* @param action the action settings
|
|
3453
|
+
* @param baseUrl optional the base url for a component
|
|
3454
3454
|
*/
|
|
3455
3455
|
}, {
|
|
3456
3456
|
key: "openInNewTab",
|
|
@@ -3496,10 +3496,10 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
3496
3496
|
return [link, newWindow];
|
|
3497
3497
|
}
|
|
3498
3498
|
|
|
3499
|
-
/**
|
|
3500
|
-
* Gets the material-ui language object
|
|
3501
|
-
*
|
|
3502
|
-
* @param lang the language string
|
|
3499
|
+
/**
|
|
3500
|
+
* Gets the material-ui language object
|
|
3501
|
+
*
|
|
3502
|
+
* @param lang the language string
|
|
3503
3503
|
*/
|
|
3504
3504
|
}, {
|
|
3505
3505
|
key: "getLang",
|
|
@@ -3516,9 +3516,9 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
3516
3516
|
}
|
|
3517
3517
|
}
|
|
3518
3518
|
|
|
3519
|
-
/**
|
|
3520
|
-
* Callback for the resizeObserver
|
|
3521
|
-
* @param entries all registered entries
|
|
3519
|
+
/**
|
|
3520
|
+
* Callback for the resizeObserver
|
|
3521
|
+
* @param entries all registered entries
|
|
3522
3522
|
*/
|
|
3523
3523
|
}, {
|
|
3524
3524
|
key: "onResize",
|
|
@@ -3773,9 +3773,9 @@ var BrowserStateStore = /*#__PURE__*/function () {
|
|
|
3773
3773
|
this.enableUrlSyncronization();
|
|
3774
3774
|
}
|
|
3775
3775
|
|
|
3776
|
-
/**
|
|
3777
|
-
* get the current state represented by the url
|
|
3778
|
-
* @returns the current state represented by the url
|
|
3776
|
+
/**
|
|
3777
|
+
* get the current state represented by the url
|
|
3778
|
+
* @returns the current state represented by the url
|
|
3779
3779
|
*/
|
|
3780
3780
|
return _createClass(BrowserStateStore, [{
|
|
3781
3781
|
key: "loadUrlState",
|
|
@@ -3830,10 +3830,10 @@ var BrowserStateStore = /*#__PURE__*/function () {
|
|
|
3830
3830
|
}
|
|
3831
3831
|
return loadUrlState;
|
|
3832
3832
|
}()
|
|
3833
|
-
/**
|
|
3834
|
-
* Stores the banner state into the local storage
|
|
3835
|
-
*
|
|
3836
|
-
* @param banner the banner state to be stored
|
|
3833
|
+
/**
|
|
3834
|
+
* Stores the banner state into the local storage
|
|
3835
|
+
*
|
|
3836
|
+
* @param banner the banner state to be stored
|
|
3837
3837
|
*/
|
|
3838
3838
|
)
|
|
3839
3839
|
}, {
|
|
@@ -3860,11 +3860,11 @@ var BrowserStateStore = /*#__PURE__*/function () {
|
|
|
3860
3860
|
}
|
|
3861
3861
|
}
|
|
3862
3862
|
|
|
3863
|
-
/**
|
|
3864
|
-
* Validates the current banner state against the the local storage
|
|
3865
|
-
* and removes expried states from the storage
|
|
3866
|
-
*
|
|
3867
|
-
* @param banner the current banner state
|
|
3863
|
+
/**
|
|
3864
|
+
* Validates the current banner state against the the local storage
|
|
3865
|
+
* and removes expried states from the storage
|
|
3866
|
+
*
|
|
3867
|
+
* @param banner the current banner state
|
|
3868
3868
|
*/
|
|
3869
3869
|
}, {
|
|
3870
3870
|
key: "validateManipulateBannerLocalStorage",
|
|
@@ -3889,11 +3889,11 @@ var BrowserStateStore = /*#__PURE__*/function () {
|
|
|
3889
3889
|
}
|
|
3890
3890
|
}
|
|
3891
3891
|
|
|
3892
|
-
/**
|
|
3893
|
-
* Check if the current banner state is in local storage
|
|
3894
|
-
*
|
|
3895
|
-
* @param banner the current banner state
|
|
3896
|
-
* @returns true if the current banner state is already in storage
|
|
3892
|
+
/**
|
|
3893
|
+
* Check if the current banner state is in local storage
|
|
3894
|
+
*
|
|
3895
|
+
* @param banner the current banner state
|
|
3896
|
+
* @returns true if the current banner state is already in storage
|
|
3897
3897
|
*/
|
|
3898
3898
|
}, {
|
|
3899
3899
|
key: "bannerInLocalStorage",
|
|
@@ -3906,8 +3906,8 @@ var BrowserStateStore = /*#__PURE__*/function () {
|
|
|
3906
3906
|
return this.bannerExistsInLocalStorage(valuesArray, userid, banner);
|
|
3907
3907
|
}
|
|
3908
3908
|
|
|
3909
|
-
/**
|
|
3910
|
-
* Get the currently stored ntoken token
|
|
3909
|
+
/**
|
|
3910
|
+
* Get the currently stored ntoken token
|
|
3911
3911
|
*/
|
|
3912
3912
|
}, {
|
|
3913
3913
|
key: "getStoredNToken",
|
|
@@ -3927,10 +3927,10 @@ var BrowserStateStore = /*#__PURE__*/function () {
|
|
|
3927
3927
|
return undefined;
|
|
3928
3928
|
}
|
|
3929
3929
|
|
|
3930
|
-
/**
|
|
3931
|
-
* Updates or removes ntoken in storage
|
|
3932
|
-
*
|
|
3933
|
-
* @param ntoken the new ntoken or undefined to remove it
|
|
3930
|
+
/**
|
|
3931
|
+
* Updates or removes ntoken in storage
|
|
3932
|
+
*
|
|
3933
|
+
* @param ntoken the new ntoken or undefined to remove it
|
|
3934
3934
|
*/
|
|
3935
3935
|
}, {
|
|
3936
3936
|
key: "setStoredNToken",
|
|
@@ -3942,8 +3942,8 @@ var BrowserStateStore = /*#__PURE__*/function () {
|
|
|
3942
3942
|
}
|
|
3943
3943
|
}
|
|
3944
3944
|
|
|
3945
|
-
/**
|
|
3946
|
-
* Get the currently stored organization
|
|
3945
|
+
/**
|
|
3946
|
+
* Get the currently stored organization
|
|
3947
3947
|
*/
|
|
3948
3948
|
}, {
|
|
3949
3949
|
key: "getStoredOrganization",
|
|
@@ -3951,10 +3951,10 @@ var BrowserStateStore = /*#__PURE__*/function () {
|
|
|
3951
3951
|
return localStorage.getItem(ORGANIZATION_LOCALSTORAGE_KEY) || undefined;
|
|
3952
3952
|
}
|
|
3953
3953
|
|
|
3954
|
-
/**
|
|
3955
|
-
* Updates or removes organization in storage
|
|
3956
|
-
*
|
|
3957
|
-
* @param organization the new organization or undefined to remove it
|
|
3954
|
+
/**
|
|
3955
|
+
* Updates or removes organization in storage
|
|
3956
|
+
*
|
|
3957
|
+
* @param organization the new organization or undefined to remove it
|
|
3958
3958
|
*/
|
|
3959
3959
|
}, {
|
|
3960
3960
|
key: "setStoredOrganization",
|
|
@@ -3966,8 +3966,8 @@ var BrowserStateStore = /*#__PURE__*/function () {
|
|
|
3966
3966
|
}
|
|
3967
3967
|
}
|
|
3968
3968
|
|
|
3969
|
-
/**
|
|
3970
|
-
* Get the currently stored login method
|
|
3969
|
+
/**
|
|
3970
|
+
* Get the currently stored login method
|
|
3971
3971
|
*/
|
|
3972
3972
|
}, {
|
|
3973
3973
|
key: "getStoredLoginMethod",
|
|
@@ -3975,10 +3975,10 @@ var BrowserStateStore = /*#__PURE__*/function () {
|
|
|
3975
3975
|
return localStorage.getItem(LOGIN_METHOD_LOCALSTORAGE_KEY) || undefined;
|
|
3976
3976
|
}
|
|
3977
3977
|
|
|
3978
|
-
/**
|
|
3979
|
-
* Updates or removes loginMethod in storage
|
|
3980
|
-
*
|
|
3981
|
-
* @param loginMethod the new loginMethod or undefined to remove it
|
|
3978
|
+
/**
|
|
3979
|
+
* Updates or removes loginMethod in storage
|
|
3980
|
+
*
|
|
3981
|
+
* @param loginMethod the new loginMethod or undefined to remove it
|
|
3982
3982
|
*/
|
|
3983
3983
|
}, {
|
|
3984
3984
|
key: "setStoredLoginMethod",
|
|
@@ -3990,8 +3990,8 @@ var BrowserStateStore = /*#__PURE__*/function () {
|
|
|
3990
3990
|
}
|
|
3991
3991
|
}
|
|
3992
3992
|
|
|
3993
|
-
/**
|
|
3994
|
-
* Get the currently stored language
|
|
3993
|
+
/**
|
|
3994
|
+
* Get the currently stored language
|
|
3995
3995
|
*/
|
|
3996
3996
|
}, {
|
|
3997
3997
|
key: "getStoredLanguage",
|
|
@@ -3999,10 +3999,10 @@ var BrowserStateStore = /*#__PURE__*/function () {
|
|
|
3999
3999
|
return localStorage.getItem(LANGUAGE_LOCALSTORAGE_KEY) || undefined;
|
|
4000
4000
|
}
|
|
4001
4001
|
|
|
4002
|
-
/**
|
|
4003
|
-
* Updates or removes language in storage
|
|
4004
|
-
*
|
|
4005
|
-
* @param language the new language or undefined to remove it
|
|
4002
|
+
/**
|
|
4003
|
+
* Updates or removes language in storage
|
|
4004
|
+
*
|
|
4005
|
+
* @param language the new language or undefined to remove it
|
|
4006
4006
|
*/
|
|
4007
4007
|
}, {
|
|
4008
4008
|
key: "setStoredLanguage",
|
|
@@ -4014,8 +4014,8 @@ var BrowserStateStore = /*#__PURE__*/function () {
|
|
|
4014
4014
|
}
|
|
4015
4015
|
}
|
|
4016
4016
|
|
|
4017
|
-
/**
|
|
4018
|
-
* Applies the current state represented by the url to the application
|
|
4017
|
+
/**
|
|
4018
|
+
* Applies the current state represented by the url to the application
|
|
4019
4019
|
*/
|
|
4020
4020
|
}, {
|
|
4021
4021
|
key: "applyUrlStateChanges",
|
|
@@ -4050,8 +4050,8 @@ var BrowserStateStore = /*#__PURE__*/function () {
|
|
|
4050
4050
|
}
|
|
4051
4051
|
return applyUrlStateChanges;
|
|
4052
4052
|
}()
|
|
4053
|
-
/**
|
|
4054
|
-
* Updates the url when ever the state of the applicaton changes
|
|
4053
|
+
/**
|
|
4054
|
+
* Updates the url when ever the state of the applicaton changes
|
|
4055
4055
|
*/
|
|
4056
4056
|
)
|
|
4057
4057
|
}, {
|
|
@@ -4093,8 +4093,8 @@ var BrowserStateStore = /*#__PURE__*/function () {
|
|
|
4093
4093
|
});
|
|
4094
4094
|
}
|
|
4095
4095
|
|
|
4096
|
-
/**
|
|
4097
|
-
* Returns true if the url should be syncronized
|
|
4096
|
+
/**
|
|
4097
|
+
* Returns true if the url should be syncronized
|
|
4098
4098
|
*/
|
|
4099
4099
|
}, {
|
|
4100
4100
|
key: "isUrlSyncEnabled",
|
|
@@ -4102,8 +4102,8 @@ var BrowserStateStore = /*#__PURE__*/function () {
|
|
|
4102
4102
|
return !!this.root.configurationStore.enableRouting;
|
|
4103
4103
|
}
|
|
4104
4104
|
|
|
4105
|
-
/**
|
|
4106
|
-
* action to set the internal copy of the url state
|
|
4105
|
+
/**
|
|
4106
|
+
* action to set the internal copy of the url state
|
|
4107
4107
|
*/
|
|
4108
4108
|
}, {
|
|
4109
4109
|
key: "setUrl",
|
|
@@ -4111,13 +4111,13 @@ var BrowserStateStore = /*#__PURE__*/function () {
|
|
|
4111
4111
|
this._url = url;
|
|
4112
4112
|
}
|
|
4113
4113
|
|
|
4114
|
-
/**
|
|
4115
|
-
* Check if the localstorage contains a banner state for the current user
|
|
4116
|
-
*
|
|
4117
|
-
* @param localstoragevalue the full localstorage data for banners
|
|
4118
|
-
* @param userid the ID current user
|
|
4119
|
-
* @param banner the current bannter state
|
|
4120
|
-
* @returns true if the banner state already exists in localstorage
|
|
4114
|
+
/**
|
|
4115
|
+
* Check if the localstorage contains a banner state for the current user
|
|
4116
|
+
*
|
|
4117
|
+
* @param localstoragevalue the full localstorage data for banners
|
|
4118
|
+
* @param userid the ID current user
|
|
4119
|
+
* @param banner the current bannter state
|
|
4120
|
+
* @returns true if the banner state already exists in localstorage
|
|
4121
4121
|
*/
|
|
4122
4122
|
}, {
|
|
4123
4123
|
key: "bannerExistsInLocalStorage",
|
|
@@ -4127,11 +4127,11 @@ var BrowserStateStore = /*#__PURE__*/function () {
|
|
|
4127
4127
|
});
|
|
4128
4128
|
}
|
|
4129
4129
|
|
|
4130
|
-
/**
|
|
4131
|
-
* Adds a number of days to the current timestamp
|
|
4132
|
-
*
|
|
4133
|
-
* @param days a number of days
|
|
4134
|
-
* @returns the timestamp
|
|
4130
|
+
/**
|
|
4131
|
+
* Adds a number of days to the current timestamp
|
|
4132
|
+
*
|
|
4133
|
+
* @param days a number of days
|
|
4134
|
+
* @returns the timestamp
|
|
4135
4135
|
*/
|
|
4136
4136
|
}, {
|
|
4137
4137
|
key: "addDaysToCurrentDate",
|
|
@@ -8298,9 +8298,9 @@ var RootStore = /*#__PURE__*/function () {
|
|
|
8298
8298
|
this.initialize(telemetry, identifier, organizationId, domain, language, component);
|
|
8299
8299
|
}
|
|
8300
8300
|
|
|
8301
|
-
/**
|
|
8302
|
-
* Changes the current language of the application
|
|
8303
|
-
* @param lang the new language
|
|
8301
|
+
/**
|
|
8302
|
+
* Changes the current language of the application
|
|
8303
|
+
* @param lang the new language
|
|
8304
8304
|
*/
|
|
8305
8305
|
return _createClass(RootStore, [{
|
|
8306
8306
|
key: "changeLanguage",
|
|
@@ -8323,8 +8323,8 @@ var RootStore = /*#__PURE__*/function () {
|
|
|
8323
8323
|
});
|
|
8324
8324
|
}
|
|
8325
8325
|
|
|
8326
|
-
/**
|
|
8327
|
-
* The current language of the application
|
|
8326
|
+
/**
|
|
8327
|
+
* The current language of the application
|
|
8328
8328
|
*/
|
|
8329
8329
|
}, {
|
|
8330
8330
|
key: "language",
|
|
@@ -8332,9 +8332,9 @@ var RootStore = /*#__PURE__*/function () {
|
|
|
8332
8332
|
return this._language;
|
|
8333
8333
|
}
|
|
8334
8334
|
|
|
8335
|
-
/**
|
|
8336
|
-
* Changes the current userMode
|
|
8337
|
-
* @param mode the new mode
|
|
8335
|
+
/**
|
|
8336
|
+
* Changes the current userMode
|
|
8337
|
+
* @param mode the new mode
|
|
8338
8338
|
*/
|
|
8339
8339
|
}, {
|
|
8340
8340
|
key: "changeLoginMode",
|
|
@@ -8348,8 +8348,8 @@ var RootStore = /*#__PURE__*/function () {
|
|
|
8348
8348
|
localStorage.setItem(LOGINMODE_LOCALSTORAGE_KEY, loginMode);
|
|
8349
8349
|
}
|
|
8350
8350
|
}
|
|
8351
|
-
/**
|
|
8352
|
-
* The current mode of the application
|
|
8351
|
+
/**
|
|
8352
|
+
* The current mode of the application
|
|
8353
8353
|
*/
|
|
8354
8354
|
}, {
|
|
8355
8355
|
key: "loginMode",
|
|
@@ -8357,8 +8357,8 @@ var RootStore = /*#__PURE__*/function () {
|
|
|
8357
8357
|
return this._loginMode;
|
|
8358
8358
|
}
|
|
8359
8359
|
|
|
8360
|
-
/**
|
|
8361
|
-
* The i18n translation function
|
|
8360
|
+
/**
|
|
8361
|
+
* The i18n translation function
|
|
8362
8362
|
*/
|
|
8363
8363
|
}, {
|
|
8364
8364
|
key: "t",
|
|
@@ -8366,8 +8366,8 @@ var RootStore = /*#__PURE__*/function () {
|
|
|
8366
8366
|
return instance.t.bind(instance);
|
|
8367
8367
|
}
|
|
8368
8368
|
|
|
8369
|
-
/**
|
|
8370
|
-
* The i18n languages
|
|
8369
|
+
/**
|
|
8370
|
+
* The i18n languages
|
|
8371
8371
|
*/
|
|
8372
8372
|
}, {
|
|
8373
8373
|
key: "languages",
|
|
@@ -8376,8 +8376,8 @@ var RootStore = /*#__PURE__*/function () {
|
|
|
8376
8376
|
return (_this$configurationSt2 = (_this$configurationSt3 = this.configurationStore.locales) === null || _this$configurationSt3 === void 0 ? void 0 : _this$configurationSt3.available) !== null && _this$configurationSt2 !== void 0 ? _this$configurationSt2 : ['de'];
|
|
8377
8377
|
}
|
|
8378
8378
|
|
|
8379
|
-
/**
|
|
8380
|
-
* The eventhandler register by the user of the application or a no-op if non was registered
|
|
8379
|
+
/**
|
|
8380
|
+
* The eventhandler register by the user of the application or a no-op if non was registered
|
|
8381
8381
|
*/
|
|
8382
8382
|
}, {
|
|
8383
8383
|
key: "onEvent",
|
|
@@ -8393,8 +8393,8 @@ var RootStore = /*#__PURE__*/function () {
|
|
|
8393
8393
|
};
|
|
8394
8394
|
}
|
|
8395
8395
|
|
|
8396
|
-
/**
|
|
8397
|
-
* Is true if the application is currently initializing
|
|
8396
|
+
/**
|
|
8397
|
+
* Is true if the application is currently initializing
|
|
8398
8398
|
*/
|
|
8399
8399
|
}, {
|
|
8400
8400
|
key: "initializing",
|
|
@@ -8402,9 +8402,9 @@ var RootStore = /*#__PURE__*/function () {
|
|
|
8402
8402
|
return this._initializing || !this.dataStore.organizationId;
|
|
8403
8403
|
}
|
|
8404
8404
|
|
|
8405
|
-
/**
|
|
8406
|
-
* Triggers an event from outside of the application
|
|
8407
|
-
* @param event the event
|
|
8405
|
+
/**
|
|
8406
|
+
* Triggers an event from outside of the application
|
|
8407
|
+
* @param event the event
|
|
8408
8408
|
*/
|
|
8409
8409
|
}, {
|
|
8410
8410
|
key: "onExternalEvent",
|
|
@@ -8414,9 +8414,9 @@ var RootStore = /*#__PURE__*/function () {
|
|
|
8414
8414
|
});
|
|
8415
8415
|
}
|
|
8416
8416
|
|
|
8417
|
-
/**
|
|
8418
|
-
* Subscribe an eventhandler for external events
|
|
8419
|
-
* @param fn the eventhandler
|
|
8417
|
+
/**
|
|
8418
|
+
* Subscribe an eventhandler for external events
|
|
8419
|
+
* @param fn the eventhandler
|
|
8420
8420
|
*/
|
|
8421
8421
|
}, {
|
|
8422
8422
|
key: "subscribeEvents",
|
|
@@ -8424,9 +8424,9 @@ var RootStore = /*#__PURE__*/function () {
|
|
|
8424
8424
|
this.events.push(fn);
|
|
8425
8425
|
}
|
|
8426
8426
|
|
|
8427
|
-
/**
|
|
8428
|
-
* Unsubscribe an eventhandler from external events
|
|
8429
|
-
* @param fn the eventhandler
|
|
8427
|
+
/**
|
|
8428
|
+
* Unsubscribe an eventhandler from external events
|
|
8429
|
+
* @param fn the eventhandler
|
|
8430
8430
|
*/
|
|
8431
8431
|
}, {
|
|
8432
8432
|
key: "unSubscribeEvents",
|
|
@@ -8436,8 +8436,8 @@ var RootStore = /*#__PURE__*/function () {
|
|
|
8436
8436
|
});
|
|
8437
8437
|
}
|
|
8438
8438
|
|
|
8439
|
-
/**
|
|
8440
|
-
* get an ApiHandler instance with the current configuration
|
|
8439
|
+
/**
|
|
8440
|
+
* get an ApiHandler instance with the current configuration
|
|
8441
8441
|
*/
|
|
8442
8442
|
}, {
|
|
8443
8443
|
key: "apiHandler",
|
|
@@ -8445,16 +8445,16 @@ var RootStore = /*#__PURE__*/function () {
|
|
|
8445
8445
|
return this._apiHandler;
|
|
8446
8446
|
}
|
|
8447
8447
|
|
|
8448
|
-
/**
|
|
8449
|
-
* get the productHander instance with the current configuration
|
|
8448
|
+
/**
|
|
8449
|
+
* get the productHander instance with the current configuration
|
|
8450
8450
|
*/
|
|
8451
8451
|
}, {
|
|
8452
8452
|
key: "productHandler",
|
|
8453
8453
|
get: function get() {
|
|
8454
8454
|
return this._productHandler;
|
|
8455
8455
|
}
|
|
8456
|
-
/**
|
|
8457
|
-
* get the contentItem instance with the current configuration
|
|
8456
|
+
/**
|
|
8457
|
+
* get the contentItem instance with the current configuration
|
|
8458
8458
|
*/
|
|
8459
8459
|
}, {
|
|
8460
8460
|
key: "contentItemHandler",
|
|
@@ -8462,8 +8462,8 @@ var RootStore = /*#__PURE__*/function () {
|
|
|
8462
8462
|
return this._contentItemHandler;
|
|
8463
8463
|
}
|
|
8464
8464
|
|
|
8465
|
-
/**
|
|
8466
|
-
* get the organizationHandler instance with the current configuration
|
|
8465
|
+
/**
|
|
8466
|
+
* get the organizationHandler instance with the current configuration
|
|
8467
8467
|
*/
|
|
8468
8468
|
}, {
|
|
8469
8469
|
key: "organizationHandler",
|
|
@@ -8471,8 +8471,8 @@ var RootStore = /*#__PURE__*/function () {
|
|
|
8471
8471
|
return this._organizationHandler;
|
|
8472
8472
|
}
|
|
8473
8473
|
|
|
8474
|
-
/**
|
|
8475
|
-
* get the mediaHandler instance with the current configuration
|
|
8474
|
+
/**
|
|
8475
|
+
* get the mediaHandler instance with the current configuration
|
|
8476
8476
|
*/
|
|
8477
8477
|
}, {
|
|
8478
8478
|
key: "mediaHandler",
|
|
@@ -8550,15 +8550,15 @@ var RootStore = /*#__PURE__*/function () {
|
|
|
8550
8550
|
return this.configurationStore.validOrganizations;
|
|
8551
8551
|
}
|
|
8552
8552
|
|
|
8553
|
-
/**
|
|
8554
|
-
* Initalizes the application
|
|
8555
|
-
*
|
|
8556
|
-
* @param organizationId the organizationId set via component property
|
|
8557
|
-
* @param domain the domain set via component property
|
|
8558
|
-
* @param identifier the identifier set via component property
|
|
8559
|
-
* @param language the language set via component property
|
|
8560
|
-
* @param component the inital component set via component property
|
|
8561
|
-
* @param telemetry the telemetry setting via component property
|
|
8553
|
+
/**
|
|
8554
|
+
* Initalizes the application
|
|
8555
|
+
*
|
|
8556
|
+
* @param organizationId the organizationId set via component property
|
|
8557
|
+
* @param domain the domain set via component property
|
|
8558
|
+
* @param identifier the identifier set via component property
|
|
8559
|
+
* @param language the language set via component property
|
|
8560
|
+
* @param component the inital component set via component property
|
|
8561
|
+
* @param telemetry the telemetry setting via component property
|
|
8562
8562
|
*/
|
|
8563
8563
|
}, {
|
|
8564
8564
|
key: "initialize",
|
|
@@ -9232,7 +9232,7 @@ var useDivaCore = function useDivaCore() {
|
|
|
9232
9232
|
|
|
9233
9233
|
var overlay$1 = "overlay-X3zhH";
|
|
9234
9234
|
var loading = "loading-kAuhm";
|
|
9235
|
-
var css_248z$5 = ".overlay-X3zhH {\
|
|
9235
|
+
var css_248z$5 = ".overlay-X3zhH {\n height: 100%;\n width: 100%;\n display: flex;\n background-color: rgba(255, 255, 255, 0.6);\n z-index: 1000;\n justify-content: center;\n align-items: center;\n position: absolute;\n}\n\n.loading-kAuhm {\n margin: 0 auto;\n display: inline-block;\n position: relative;\n width: 80px;\n height: 80px;\n}\n.loading-kAuhm div {\n box-sizing: border-box;\n display: block;\n position: absolute;\n width: 64px;\n height: 64px;\n margin: 8px;\n border: 8px solid #b6b6b6;\n border-radius: 50%;\n animation: loading-kAuhm 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;\n border-color: #b6b6b6 transparent transparent transparent;\n}\n.loading-kAuhm div:nth-child(1) {\n animation-delay: -0.45s;\n}\n.loading-kAuhm div:nth-child(2) {\n animation-delay: -0.3s;\n}\n.loading-kAuhm div:nth-child(3) {\n animation-delay: -0.15s;\n}\n@keyframes loading-kAuhm {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n";
|
|
9236
9236
|
styleInject(css_248z$5);
|
|
9237
9237
|
|
|
9238
9238
|
var LOG$3 = getLogger('Framework', 'loadDependency');
|
|
@@ -9353,7 +9353,7 @@ var Spinner$1 = observer(Spinner);
|
|
|
9353
9353
|
var overlay = "overlay-34l68";
|
|
9354
9354
|
var absoluteOverlay = "absolute-overlay-cG7uO";
|
|
9355
9355
|
var closeIcon$1 = "close-icon-1kDyU";
|
|
9356
|
-
var css_248z$4 = ".overlay-34l68 {\
|
|
9356
|
+
var css_248z$4 = ".overlay-34l68 {\n height: 100%;\n width: 100%;\n display: flex;\n background-color: #fff;\n z-index: 999;\n justify-content: center;\n align-items: center;\n position: absolute;\n}\n\n#DivaCore.absolute-overlay-cG7uO {\n height: 100% !important;\n}\n\n#DivaCore.absolute-overlay-cG7uO {\n background-color: #fff;\n position: fixed;\n top: 0px;\n right: 0px;\n bottom: 0px;\n left: 0px;\n overflow: hidden;\n z-index: 1000000;\n display: block;\n width: 100vw;\n}\n\n.diva-pseudo-fullscreen body {\n height: auto !important;\n}\n.diva-pseudo-fullscreen, .diva-pseudo-fullscreen body {\n overflow: hidden !important;\n}\n\n.close-icon-1kDyU {\n position: absolute;\n right: 32px;\n top: 32px;\n width: 50px;\n height: 40px;\n opacity: 0.3;\n z-index: 700;\n cursor: pointer;\n}\n\n.close-icon-1kDyU:before {\n transform: rotate(45deg);\n}\n\n.close-icon-1kDyU:after {\n transform: rotate(-45deg);\n}\n\n.close-icon-1kDyU:before,\n.close-icon-1kDyU:after {\n position: absolute;\n left: 23px;\n top: 5px;\n content: ' ';\n height: 33px;\n width: 3px;\n background-color: #4b4b4b;\n}\n\n.close-icon-1kDyU:hover {\n opacity: 0.8;\n transition: opacity 0.2s ease-in-out;\n}\n";
|
|
9357
9357
|
styleInject(css_248z$4);
|
|
9358
9358
|
|
|
9359
9359
|
var sideMenu = "side-menu-2Fgdm";
|
|
@@ -9367,7 +9367,7 @@ var hideRight = "hide-right-IOmlC";
|
|
|
9367
9367
|
var show = "show-Z8M2h";
|
|
9368
9368
|
var closeIcon = "close-icon-NJkeP";
|
|
9369
9369
|
var mobileBcGroup = "mobile-bc-group-6v8wI";
|
|
9370
|
-
var css_248z$3 = ".side-menu-2Fgdm {\
|
|
9370
|
+
var css_248z$3 = ".side-menu-2Fgdm {\n width: 100%;\n max-width: 400px;\n height: 100%;\n background-color: #f2f2f2;\n position: absolute;\n bottom: 0;\n transition: transform 0.3s cubic-bezier(0, 0.52, 0, 1);\n box-sizing: border-box;\n}\n\n.left-side-menu-L42L3 {\n left: 0px;\n}\n\n.right-side-menu-Akk-Y {\n right: 0px;\n}\n\n.wrapper-jJaXo {\n height: 100%;\n display: flex;\n flex-direction: column;\n}\n\n.scroller-ZnoJy {\n height: 100%;\n}\n\n.title-WOjYJ {\n font-size: 22px;\n margin: 20px;\n}\n\n.hide-left-4bzTL {\n transform: translate(-960px, 0);\n}\n.hide-right-IOmlC {\n transform: translate(960px, 0);\n}\n\n.show-Z8M2h {\n transform: translate(0, 0);\n overflow: hidden;\n}\n\n.close-icon-NJkeP {\n position: absolute;\n top: 16px;\n right: 16px;\n opacity: 0.3;\n width: 32px;\n height: 32px;\n z-index: 300;\n width: 50px;\n height: 40px;\n cursor: pointer;\n}\n\n.close-icon-NJkeP:before {\n transform: rotate(45deg);\n}\n\n.close-icon-NJkeP:after {\n transform: rotate(-45deg);\n}\n\n.close-icon-NJkeP:before,\n.close-icon-NJkeP:after {\n position: absolute;\n right: 15px;\n content: ' ';\n height: 33px;\n width: 3px;\n background-color: #4b4b4b;\n}\n\n.close-icon-NJkeP:hover {\n opacity: 0.8;\n transition: opacity 0.2s ease-in-out;\n}\n\n.mobile-bc-group-6v8wI {\n display: flex;\n border-top: 0.8px solid #b6b6b7;\n padding: 12px 16px;\n border-bottom: 0.8px solid #b6b6b7;\n margin-top: 40px;\n overflow: auto;\n -ms-overflow-style: none; /* IE and Edge */\n scrollbar-width: none; /* Firefox */\n}\n\n.mobile-bc-group-6v8wI::-webkit-scrollbar {\n display: none;\n}\n";
|
|
9371
9371
|
styleInject(css_248z$3);
|
|
9372
9372
|
|
|
9373
9373
|
function ownKeys$4(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -9434,7 +9434,7 @@ var SideMenu$1 = observer(SideMenu);
|
|
|
9434
9434
|
function ownKeys$3(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
9435
9435
|
function _objectSpread$3(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$3(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$3(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
9436
9436
|
var LazyModals$1 = /*#__PURE__*/React.lazy(function () {
|
|
9437
|
-
return import('./ModalsWrapper-
|
|
9437
|
+
return import('./ModalsWrapper-2268a6ea.js');
|
|
9438
9438
|
});
|
|
9439
9439
|
function Fullscreen() {
|
|
9440
9440
|
var _useDivaCoreContext = useDivaCoreContext(),
|
|
@@ -9549,7 +9549,7 @@ var wrapper = "wrapper-W1xSq";
|
|
|
9549
9549
|
var textWrapper = "textWrapper-T2nhQ";
|
|
9550
9550
|
var title = "title-s0Vfz";
|
|
9551
9551
|
var icon = "icon-AodEu";
|
|
9552
|
-
var css_248z$2 = ".wrapper-W1xSq {\
|
|
9552
|
+
var css_248z$2 = ".wrapper-W1xSq {\n position: relative;\n display: flex;\n align-items: center;\n gap: 25px;\n flex-direction: row;\n justify-content: flex-start;\n color: black;\n}\n.textWrapper-T2nhQ {\n display: flex;\n flex-direction: column;\n}\n.title-s0Vfz {\n font-weight: 600;\n margin: 0px 0px 4px 0px;\n font-size: 22px;\n}\n.icon-AodEu {\n height: 48px;\n margin-left: 12px;\n}\n";
|
|
9553
9553
|
styleInject(css_248z$2);
|
|
9554
9554
|
|
|
9555
9555
|
var WarningOutlined = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20aria-hidden%3D%22true%22%20role%3D%22img%22%20width%3D%221em%22%20height%3D%221em%22%20preserveAspectRatio%3D%22xMidYMid%20meet%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M464%20720a48%2048%200%201%200%2096%200a48%2048%200%201%200-96%200zm16-304v184c0%204.4%203.6%208%208%208h48c4.4%200%208-3.6%208-8V416c0-4.4-3.6-8-8-8h-48c-4.4%200-8%203.6-8%208zm475.7%20440l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6%205.3-27.7%2016l-416%20720C56%20877.4%2071.4%20904%2096%20904h832c24.6%200%2040-26.6%2027.7-48zm-783.5-27.9L512%20239.9l339.8%20588.2H172.2z%22%2F%3E%3C%2Fsvg%3E";
|
|
@@ -9650,7 +9650,7 @@ var errorMessage = "errorMessage-tdIAi";
|
|
|
9650
9650
|
var errorTechnicalDetailMessage = "errorTechnicalDetailMessage-QAB5A";
|
|
9651
9651
|
var errorDetailMessage = "errorDetailMessage-5gqi7";
|
|
9652
9652
|
var actionButtons = "actionButtons-feOFT";
|
|
9653
|
-
var css_248z$1 = ".errorDisplay-Va5ll {\
|
|
9653
|
+
var css_248z$1 = ".errorDisplay-Va5ll {\n background-color: #fff;\n height: 100%;\n width: 100%;\n}\n\n.errorContainer-Ioiwn {\n display: flex;\n height: 100%;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n}\n\n.errorContainerItem-NhznQ {\n flex: 1;\n}\n\n.errorContainerItemCenter-D9mu7 {\n flex: 1;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.errorImage-Ci2Mq {\n height: 500px;\n}\n\n.errorTitle-Ffg4d {\n font-size: 96px;\n font-weight: bolder;\n margin-top: 0;\n margin-bottom: 0;\n}\n\n.errorMessage-tdIAi {\n font-size: 32px;\n width: 80%;\n}\n.errorTechnicalDetailMessage-QAB5A {\n margin-top: 20px;\n color: #999;\n font-size: 0.9em;\n margin-bottom: 20px;\n}\n\n.errorDetailMessage-5gqi7 {\n font-size: 20px;\n width: 80%;\n}\n.actionButtons-feOFT {\n display: flex;\n gap: 10px;\n}\n\n/* Responsive layout - makes a one column layout instead of a two-column layout */\n@media (max-width: 800px) {\n .errorContainer-Ioiwn {\n flex-direction: column;\n }\n .errorTitle-Ffg4d {\n font-size: 48px;\n }\n .errorImage-Ci2Mq {\n height: 250px;\n }\n .errorContainerItem-NhznQ {\n text-align: center;\n margin-left: 10px;\n margin-right: 10px;\n }\n .errorMessage-tdIAi {\n font-size: 18px;\n width: 100%;\n }\n .errorDetailMessage-5gqi7 {\n font-size: 14px;\n width: 100%;\n }\n .errorTechnicalDetailMessage-QAB5A {\n font-size: 0.7em;\n }\n .actionButtons-feOFT {\n flex-direction: column;\n gap: 5px;\n }\n}\n";
|
|
9654
9654
|
styleInject(css_248z$1);
|
|
9655
9655
|
|
|
9656
9656
|
function ErrorDisplay() {
|
|
@@ -9735,7 +9735,7 @@ var ErrorDisplay$1 = observer(ErrorDisplay);
|
|
|
9735
9735
|
|
|
9736
9736
|
var snackbar = "snackbar-bkInm";
|
|
9737
9737
|
var clickable = "clickable-34rh-";
|
|
9738
|
-
var css_248z = "@media (min-width: 600px) {\
|
|
9738
|
+
var css_248z = "@media (min-width: 600px) {\n .snackbar-bkInm.MuiSnackbar-anchorOriginBottomRight {\n bottom: 37px;\n }\n\n .snackbar-bkInm .MuiCardHeader-root {\n padding: 8px 8px 0 8px;\n }\n .snackbar-bkInm .MuiCardContent-root {\n padding: 8px;\n }\n}\n\n.clickable-34rh- {\n cursor: pointer;\n}\n";
|
|
9739
9739
|
styleInject(css_248z);
|
|
9740
9740
|
|
|
9741
9741
|
function DivaSnackBar() {
|
|
@@ -9881,10 +9881,10 @@ function ownKeys$2(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymb
|
|
|
9881
9881
|
function _objectSpread$2(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
9882
9882
|
var LOG$2 = getLogger('Framework', 'Root');
|
|
9883
9883
|
var LazyAuth = /*#__PURE__*/React.lazy(function () {
|
|
9884
|
-
return import('./index-
|
|
9884
|
+
return import('./index-5a5c8a16.js');
|
|
9885
9885
|
});
|
|
9886
9886
|
var LazyModals = /*#__PURE__*/React.lazy(function () {
|
|
9887
|
-
return import('./ModalsWrapper-
|
|
9887
|
+
return import('./ModalsWrapper-2268a6ea.js');
|
|
9888
9888
|
});
|
|
9889
9889
|
function ContentComponent() {
|
|
9890
9890
|
var context = useDivaCoreContext();
|