@crystaldesign/diva-core 26.3.0-beta.52 → 26.3.0-beta.54
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/build/esm/{ModalsWrapper-3ae9418b.js → ModalsWrapper-4de7961b.js} +1 -1
- package/build/esm/{index-398ae104.js → index-9e50a202.js} +69 -18
- package/build/esm/{index-e35ad09b.js → index-deab3df1.js} +1 -1
- package/build/esm/index.js +1 -1
- package/build/types/core/src/store/ContentStore.d.ts +3 -1
- package/build/types/core/src/store/ContentStore.d.ts.map +1 -1
- package/build/umd/diva-core.umd.min.js +1 -1
- package/build/umd/report.html +1 -1
- package/package.json +10 -10
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as styleInject, u as useDivaCoreContext } from './index-
|
|
1
|
+
import { s as styleInject, u as useDivaCoreContext } from './index-9e50a202.js';
|
|
2
2
|
import { useState, useEffect, useCallback } from 'react';
|
|
3
3
|
import { observer } from 'mobx-react-lite';
|
|
4
4
|
import Button from '@mui/material/Button';
|
|
@@ -45,7 +45,7 @@ import { actions } from '@storybook/addon-actions';
|
|
|
45
45
|
import * as Styles from '@mui/styles';
|
|
46
46
|
|
|
47
47
|
(function() {
|
|
48
|
-
const env = {"STAGE":"production","VERSION":"26.3.0-beta.
|
|
48
|
+
const env = {"STAGE":"production","VERSION":"26.3.0-beta.54"};
|
|
49
49
|
try {
|
|
50
50
|
if (process) {
|
|
51
51
|
process.env = Object.assign({}, process.env);
|
|
@@ -2118,6 +2118,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
2118
2118
|
function ownKeys$a(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; }
|
|
2119
2119
|
function _objectSpread$a(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$a(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$a(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2120
2120
|
var LOG$9 = getLogger('Framework', 'ContentStore');
|
|
2121
|
+
var ALLOWED_WRAPPER_MODULES = ['ARCHIVE', 'PRODUCT_LIST'];
|
|
2121
2122
|
var ContentStore = /*#__PURE__*/function () {
|
|
2122
2123
|
function ContentStore(components, root) {
|
|
2123
2124
|
var _this = this;
|
|
@@ -2399,6 +2400,31 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
2399
2400
|
params.append('organizationId', this.root.dataStore.organizationId);
|
|
2400
2401
|
return url.href;
|
|
2401
2402
|
}
|
|
2403
|
+
}, {
|
|
2404
|
+
key: "isWrapperOrganization",
|
|
2405
|
+
get: function get() {
|
|
2406
|
+
var _this$root$dataStore$, _this$root$dataStore$2;
|
|
2407
|
+
return ((_this$root$dataStore$ = this.root.dataStore.organization) === null || _this$root$dataStore$ === void 0 ? void 0 : _this$root$dataStore$.type) == null && ((_this$root$dataStore$2 = this.root.dataStore.organization) === null || _this$root$dataStore$2 === void 0 ? void 0 : _this$root$dataStore$2.parentType) == null;
|
|
2408
|
+
}
|
|
2409
|
+
}, {
|
|
2410
|
+
key: "isWrapperRestrictedAction",
|
|
2411
|
+
value: function isWrapperRestrictedAction(action) {
|
|
2412
|
+
if (!this.isWrapperOrganization || action.url) {
|
|
2413
|
+
return false;
|
|
2414
|
+
}
|
|
2415
|
+
var component = action;
|
|
2416
|
+
if (component.type) {
|
|
2417
|
+
return !ALLOWED_WRAPPER_MODULES.includes(component.type);
|
|
2418
|
+
}
|
|
2419
|
+
if (component.route) {
|
|
2420
|
+
var configuredComponent = this.root.configurationStore.components.find(function (c) {
|
|
2421
|
+
var _component$route;
|
|
2422
|
+
return c.route && ((_component$route = component.route) === null || _component$route === void 0 ? void 0 : _component$route.startsWith(c.route));
|
|
2423
|
+
});
|
|
2424
|
+
return configuredComponent ? !ALLOWED_WRAPPER_MODULES.includes(configuredComponent.type) : false;
|
|
2425
|
+
}
|
|
2426
|
+
return false;
|
|
2427
|
+
}
|
|
2402
2428
|
|
|
2403
2429
|
/**
|
|
2404
2430
|
* Open a component or an external url.
|
|
@@ -2418,7 +2444,7 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
2418
2444
|
_config6,
|
|
2419
2445
|
_config8,
|
|
2420
2446
|
_config9;
|
|
2421
|
-
var _this$componentChange2, _this$componentChange3, _this$openInNewTab, _this$openInNewTab2, link, _window, _ref4, type, identifier, parameters, internal, route, openInFullscreen, keepOldState, config, parent, _this$root$dataStore
|
|
2447
|
+
var _this$componentChange2, _this$componentChange3, _this$openInNewTab, _this$openInNewTab2, link, _window, _ref4, type, identifier, parameters, internal, route, openInFullscreen, keepOldState, config, parent, _this$root$dataStore$3, _this$root$dataStore$4, _config4, newTab, _config7, base, defaultComponent, canOpenDefault, settings, openModuleLables, _parameters, otherPrams, module, prevType, prevState, currentState, componentState;
|
|
2422
2448
|
return _regeneratorRuntime.wrap(function openComponent$(_context3) {
|
|
2423
2449
|
while (1) switch (_context3.prev = _context3.next) {
|
|
2424
2450
|
case 0:
|
|
@@ -2472,11 +2498,11 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
2472
2498
|
}
|
|
2473
2499
|
parent = undefined;
|
|
2474
2500
|
if (this.root.dataStore.organization.type == undefined && this.root.dataStore.organization.parentType == 'RETAILER') {
|
|
2475
|
-
parent = (_this$root$dataStore$ = this.root.dataStore.organization.parentOrganizations) === null || _this$root$dataStore$ === void 0 ? void 0 : _this$root$dataStore
|
|
2501
|
+
parent = (_this$root$dataStore$3 = this.root.dataStore.organization.parentOrganizations) === null || _this$root$dataStore$3 === void 0 ? void 0 : _this$root$dataStore$3.find(function (o) {
|
|
2476
2502
|
return o.type == 'RETAILER';
|
|
2477
2503
|
});
|
|
2478
2504
|
} else if (this.root.dataStore.organization.type == undefined && this.root.dataStore.organization.parentType == 'ASSOCIATION') {
|
|
2479
|
-
parent = (_this$root$dataStore$
|
|
2505
|
+
parent = (_this$root$dataStore$4 = this.root.dataStore.organization.parentOrganizations) === null || _this$root$dataStore$4 === void 0 ? void 0 : _this$root$dataStore$4.find(function (o) {
|
|
2480
2506
|
return o.type == 'ASSOCIATION';
|
|
2481
2507
|
});
|
|
2482
2508
|
}
|
|
@@ -2528,9 +2554,35 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
2528
2554
|
return _context3.abrupt("return");
|
|
2529
2555
|
case 36:
|
|
2530
2556
|
if (config) {
|
|
2531
|
-
_context3.next =
|
|
2557
|
+
_context3.next = 50;
|
|
2558
|
+
break;
|
|
2559
|
+
}
|
|
2560
|
+
if (!this.isWrapperRestrictedAction(action)) {
|
|
2561
|
+
_context3.next = 46;
|
|
2562
|
+
break;
|
|
2563
|
+
}
|
|
2564
|
+
defaultComponent = this.root.configurationStore.defaultComponent;
|
|
2565
|
+
canOpenDefault = !!defaultComponent && (defaultComponent.type && !!this.availableComponents.find(function (c) {
|
|
2566
|
+
return c.type == defaultComponent.type;
|
|
2567
|
+
}) || defaultComponent.route && !!this.availableComponents.find(function (c) {
|
|
2568
|
+
var _defaultComponent$rou;
|
|
2569
|
+
return c.route && ((_defaultComponent$rou = defaultComponent.route) === null || _defaultComponent$rou === void 0 ? void 0 : _defaultComponent$rou.startsWith(c.route));
|
|
2570
|
+
}));
|
|
2571
|
+
if (!canOpenDefault) {
|
|
2572
|
+
_context3.next = 46;
|
|
2532
2573
|
break;
|
|
2533
2574
|
}
|
|
2575
|
+
LOG$9.warn('Wrapper org restriction detected, redirecting to default module', {
|
|
2576
|
+
requestedAction: toJS(action),
|
|
2577
|
+
defaultComponent: toJS(defaultComponent),
|
|
2578
|
+
organizationId: this.root.dataStore.organizationId
|
|
2579
|
+
});
|
|
2580
|
+
this.root.loadingAndErrorStore.toggleLoading('openComponent');
|
|
2581
|
+
_context3.next = 45;
|
|
2582
|
+
return this.openComponent(defaultComponent);
|
|
2583
|
+
case 45:
|
|
2584
|
+
return _context3.abrupt("return");
|
|
2585
|
+
case 46:
|
|
2534
2586
|
this._restrictedComponent = action;
|
|
2535
2587
|
this.root.loadingAndErrorStore.toggleLoading('openComponent');
|
|
2536
2588
|
this.root.loadingAndErrorStore.setError(new DivaError("No component with the specified settings found", {
|
|
@@ -2540,7 +2592,7 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
2540
2592
|
}
|
|
2541
2593
|
}), 'CORE_0005');
|
|
2542
2594
|
return _context3.abrupt("return");
|
|
2543
|
-
case
|
|
2595
|
+
case 50:
|
|
2544
2596
|
settings = undefined;
|
|
2545
2597
|
if (config.settings) {
|
|
2546
2598
|
settings = config.settings;
|
|
@@ -2591,7 +2643,7 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
2591
2643
|
}
|
|
2592
2644
|
this.setGlobalClass();
|
|
2593
2645
|
this.root.loadingAndErrorStore.toggleLoading('openComponent');
|
|
2594
|
-
case
|
|
2646
|
+
case 69:
|
|
2595
2647
|
case "end":
|
|
2596
2648
|
return _context3.stop();
|
|
2597
2649
|
}
|
|
@@ -2936,11 +2988,11 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
2936
2988
|
}, {
|
|
2937
2989
|
key: "allowHidePrices",
|
|
2938
2990
|
get: function get() {
|
|
2939
|
-
var _this$root$dataStore$
|
|
2991
|
+
var _this$root$dataStore$5;
|
|
2940
2992
|
if (!this.visible) {
|
|
2941
2993
|
return false;
|
|
2942
2994
|
}
|
|
2943
|
-
if (((_this$root$dataStore$
|
|
2995
|
+
if (((_this$root$dataStore$5 = this.root.dataStore.organization) === null || _this$root$dataStore$5 === void 0 || (_this$root$dataStore$5 = _this$root$dataStore$5.settings) === null || _this$root$dataStore$5 === void 0 ? void 0 : _this$root$dataStore$5.hidePrices) !== undefined) {
|
|
2944
2996
|
return this.root.dataStore.organization.settings.hidePrices.startsWith('DEFAULT');
|
|
2945
2997
|
}
|
|
2946
2998
|
return true;
|
|
@@ -2955,8 +3007,8 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
2955
3007
|
key: "hidePrices",
|
|
2956
3008
|
get: function get() {
|
|
2957
3009
|
if (this._hidePrices === undefined) {
|
|
2958
|
-
var _this$root$dataStore$
|
|
2959
|
-
if ((_this$root$dataStore$
|
|
3010
|
+
var _this$root$dataStore$6;
|
|
3011
|
+
if ((_this$root$dataStore$6 = this.root.dataStore.organization) !== null && _this$root$dataStore$6 !== void 0 && (_this$root$dataStore$6 = _this$root$dataStore$6.settings) !== null && _this$root$dataStore$6 !== void 0 && _this$root$dataStore$6.hidePrices) {
|
|
2960
3012
|
switch (this.root.dataStore.organization.settings.hidePrices) {
|
|
2961
3013
|
case 'DEFAULT_HIDDEN':
|
|
2962
3014
|
case 'ONLY_HIDDEN':
|
|
@@ -3290,8 +3342,7 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
3290
3342
|
}
|
|
3291
3343
|
|
|
3292
3344
|
//only this modules are allowed in wrapper organizations
|
|
3293
|
-
|
|
3294
|
-
if (_this7.root.dataStore.organization.type == null && _this7.root.dataStore.organization.parentType == null && !allowedWrapperModules.includes(component.type)) return false;
|
|
3345
|
+
if (_this7.isWrapperOrganization && !ALLOWED_WRAPPER_MODULES.includes(component.type)) return false;
|
|
3295
3346
|
|
|
3296
3347
|
//if there is a permission specified, the user must have it
|
|
3297
3348
|
return component.permission ? _this7.root.dataStore.userHasPermission(component.permission) : true;
|
|
@@ -3545,7 +3596,7 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
3545
3596
|
if (action.url) {
|
|
3546
3597
|
link = this.resoveUrl(action.url);
|
|
3547
3598
|
} else {
|
|
3548
|
-
var _this$root$dataStore$
|
|
3599
|
+
var _this$root$dataStore$7;
|
|
3549
3600
|
var _ref6 = action,
|
|
3550
3601
|
parameters = _ref6.parameters;
|
|
3551
3602
|
var url = new URL(baseUrl);
|
|
@@ -3554,7 +3605,7 @@ var ContentStore = /*#__PURE__*/function () {
|
|
|
3554
3605
|
return param[1] ? params.append(param[0], param[1]) : false;
|
|
3555
3606
|
});
|
|
3556
3607
|
params.append('lang', instance.language);
|
|
3557
|
-
if ((_this$root$dataStore$
|
|
3608
|
+
if ((_this$root$dataStore$7 = this.root.dataStore.organization) !== null && _this$root$dataStore$7 !== void 0 && _this$root$dataStore$7._id) {
|
|
3558
3609
|
params.append('organizationId', this.root.dataStore.organization._id);
|
|
3559
3610
|
}
|
|
3560
3611
|
link = url.href;
|
|
@@ -10125,7 +10176,7 @@ var DrawerMenu$1 = observer(DrawerMenu);
|
|
|
10125
10176
|
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; }
|
|
10126
10177
|
function _objectSpread$4(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$4(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$4(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
10127
10178
|
var LazyModals$1 = /*#__PURE__*/React.lazy(function () {
|
|
10128
|
-
return import('./ModalsWrapper-
|
|
10179
|
+
return import('./ModalsWrapper-4de7961b.js');
|
|
10129
10180
|
});
|
|
10130
10181
|
function Fullscreen(_ref) {
|
|
10131
10182
|
var inAbsoluteFullscreen = _ref.inAbsoluteFullscreen;
|
|
@@ -10585,10 +10636,10 @@ function ownKeys$3(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymb
|
|
|
10585
10636
|
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; }
|
|
10586
10637
|
var LOG$2 = getLogger('Framework', 'Root');
|
|
10587
10638
|
var LazyAuth = /*#__PURE__*/React.lazy(function () {
|
|
10588
|
-
return import('./index-
|
|
10639
|
+
return import('./index-deab3df1.js');
|
|
10589
10640
|
});
|
|
10590
10641
|
var LazyModals = /*#__PURE__*/React.lazy(function () {
|
|
10591
|
-
return import('./ModalsWrapper-
|
|
10642
|
+
return import('./ModalsWrapper-4de7961b.js');
|
|
10592
10643
|
});
|
|
10593
10644
|
function ContentComponent() {
|
|
10594
10645
|
var context = useDivaCoreContext();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as styleInject, u as useDivaCoreContext, g as getLogger } from './index-
|
|
1
|
+
import { s as styleInject, u as useDivaCoreContext, g as getLogger } from './index-9e50a202.js';
|
|
2
2
|
import { forwardRef, useState, useRef, useEffect, useMemo } from 'react';
|
|
3
3
|
import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
|
|
4
4
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
package/build/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { c as AnalyticsHandler, A as AuthorizationHandler, e as ClientArticleHandler, C as Content, f as DivaMockProvider, D as DrawerMenuComponent, H as HelpButton, O as ONE_DAY_UNIX, d as OrganizationHandler, P as ProductHandler, R as RequestStatus, S as SupportHandler, b as default, g as getLogger, i as i18n, h as storyBookCoreMock, a as useDivaCore } from './index-
|
|
1
|
+
export { c as AnalyticsHandler, A as AuthorizationHandler, e as ClientArticleHandler, C as Content, f as DivaMockProvider, D as DrawerMenuComponent, H as HelpButton, O as ONE_DAY_UNIX, d as OrganizationHandler, P as ProductHandler, R as RequestStatus, S as SupportHandler, b as default, g as getLogger, i as i18n, h as storyBookCoreMock, a as useDivaCore } from './index-9e50a202.js';
|
|
2
2
|
export { DivaError, default as DivaUtils } from '@crystaldesign/diva-utils';
|
|
3
3
|
export { Trans, useTranslation } from 'react-i18next';
|
|
4
4
|
export * from '@crystaldesign/basket-model';
|
|
@@ -31,13 +31,15 @@ export default class ContentStore {
|
|
|
31
31
|
constructor(components: ComponentDefinition[], root: RootStore);
|
|
32
32
|
loadModelViewer(): Promise<void>;
|
|
33
33
|
resolveComponent(action: Action): string;
|
|
34
|
+
private get isWrapperOrganization();
|
|
35
|
+
private isWrapperRestrictedAction;
|
|
34
36
|
/**
|
|
35
37
|
* Open a component or an external url.
|
|
36
38
|
*
|
|
37
39
|
* Checks against the configuration and opens in the expected way (e.g. new tab)
|
|
38
40
|
* @param action the component or external url
|
|
39
41
|
*/
|
|
40
|
-
openComponent(action: Action): Generator<
|
|
42
|
+
openComponent(action: Action): Generator<any, void, any>;
|
|
41
43
|
openComponentInFullscreen(component: Component): Generator<Promise<any>, void, {
|
|
42
44
|
[key: string]: any;
|
|
43
45
|
} | undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentStore.d.ts","sourceRoot":"","sources":["../../../../../src/store/ContentStore.tsx"],"names":[],"mappings":"AAQA,OAAO,EACL,MAAM,EACN,UAAU,EACV,gBAAgB,EAChB,WAAW,EACX,SAAS,EACT,sBAAsB,EACtB,mBAAmB,EACnB,cAAc,EACd,SAAS,EAET,KAAK,EACL,WAAW,EACZ,MAAM,UAAU,CAAC;AAClB,OAAO,SAAS,MAAM,aAAa,CAAC;AAKpC,OAAO,EAAE,MAAM,EAAE,oBAAoB,EAAE,UAAU,EAAE,UAAU,EAAE,wBAAwB,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version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