@crystaldesign/diva-core 26.4.3-rc.1 → 26.4.3-rc.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.
@@ -1,4 +1,4 @@
1
- import { s as styleInject, u as useDivaCoreContext } from './index-ca5aad30.js';
1
+ import { s as styleInject, u as useDivaCoreContext } from './index-3365d563.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.4.3-rc.1"};
48
+ const env = {"STAGE":"production","VERSION":"26.4.3-rc.2"};
49
49
  try {
50
50
  if (process) {
51
51
  process.env = Object.assign({}, process.env);
@@ -2195,6 +2195,8 @@ var ContentStore = /*#__PURE__*/function () {
2195
2195
  _defineProperty(this, "resizeObserver", undefined);
2196
2196
  _defineProperty(this, "_dimensions", undefined);
2197
2197
  _defineProperty(this, "_currentlyRendered", []);
2198
+ // Built once on open so the component identity stays stable across `_fullscreenComponent` updates and React doesn't remount.
2199
+ _defineProperty(this, "_fullscreenRender", undefined);
2198
2200
  _defineProperty(this, "mapTypeToModule", function (type) {
2199
2201
  switch (type) {
2200
2202
  case 'START_PAGE':
@@ -2366,6 +2368,7 @@ var ContentStore = /*#__PURE__*/function () {
2366
2368
  _drawerMenu: observable.ref,
2367
2369
  resizeObserver: false,
2368
2370
  _currentlyRendered: false,
2371
+ _fullscreenRender: false,
2369
2372
  openComponent: flow,
2370
2373
  openComponentInFullscreen: flow,
2371
2374
  getState: false
@@ -2711,7 +2714,7 @@ var ContentStore = /*#__PURE__*/function () {
2711
2714
  key: "openComponentInFullscreen",
2712
2715
  value: /*#__PURE__*/_regeneratorRuntime.mark(function openComponentInFullscreen(component) {
2713
2716
  var _config10, _config11;
2714
- var type, parameters, internal, route, config, settings, module, componentState;
2717
+ var type, parameters, internal, route, config, settings, module, componentState, cmp;
2715
2718
  return _regeneratorRuntime.wrap(function openComponentInFullscreen$(_context4) {
2716
2719
  while (1) switch (_context4.prev = _context4.next) {
2717
2720
  case 0:
@@ -2772,8 +2775,15 @@ var ContentStore = /*#__PURE__*/function () {
2772
2775
  };
2773
2776
  this.setGlobalClass();
2774
2777
  this._fullscreenComponent = componentState;
2778
+ cmp = this.configuration.find(function (c) {
2779
+ return c.name == config.type;
2780
+ });
2781
+ if (cmp) this._fullscreenRender = {
2782
+ name: cmp.name,
2783
+ component: withTransaction(config.type, 'Module')(cmp.renderFunction)
2784
+ };
2775
2785
  this.root.loadingAndErrorStore.toggleLoading('openComponent');
2776
- case 24:
2786
+ case 26:
2777
2787
  case "end":
2778
2788
  return _context4.stop();
2779
2789
  }
@@ -2783,6 +2793,7 @@ var ContentStore = /*#__PURE__*/function () {
2783
2793
  key: "closeComponentInFullscreen",
2784
2794
  value: function closeComponentInFullscreen() {
2785
2795
  this._fullscreenComponent = undefined;
2796
+ this._fullscreenRender = undefined;
2786
2797
  this.root.onEvent({
2787
2798
  type: 'closeComponentInFullscreen'
2788
2799
  });
@@ -3449,23 +3460,16 @@ var ContentStore = /*#__PURE__*/function () {
3449
3460
  }, {
3450
3461
  key: "fullscreenComponent",
3451
3462
  get: function get() {
3452
- var _this9 = this;
3453
- var component = this.availableComponents.find(function (component) {
3454
- var _this9$_fullscreenCom;
3455
- return component.type == ((_this9$_fullscreenCom = _this9._fullscreenComponent) === null || _this9$_fullscreenCom === void 0 ? void 0 : _this9$_fullscreenCom.key);
3456
- });
3457
- var cmp = this.configuration.find(function (config) {
3458
- return (component === null || component === void 0 ? void 0 : component.type) == config.name;
3459
- });
3460
- if (!cmp || !component || !this._fullscreenComponent) throw new DivaError("No component with the specified settings found", {
3463
+ var _this$_fullscreenComp;
3464
+ if (!this._fullscreenComponent || !this._fullscreenRender) throw new DivaError("No component with the specified settings found", {
3461
3465
  code: 'CORE_0005',
3462
3466
  custom: {
3463
- key: this._fullscreenComponent.key
3467
+ key: (_this$_fullscreenComp = this._fullscreenComponent) === null || _this$_fullscreenComp === void 0 ? void 0 : _this$_fullscreenComp.key
3464
3468
  }
3465
3469
  });
3466
3470
  return {
3467
- name: cmp.name,
3468
- component: withTransaction(this._fullscreenComponent.key, 'Module')(cmp.renderFunction),
3471
+ name: this._fullscreenRender.name,
3472
+ component: this._fullscreenRender.component,
3469
3473
  state: this._fullscreenComponent
3470
3474
  };
3471
3475
  }
@@ -3477,8 +3481,8 @@ var ContentStore = /*#__PURE__*/function () {
3477
3481
  }, {
3478
3482
  key: "isAbsoluteFullscreenComponent",
3479
3483
  get: function get() {
3480
- var _this$_fullscreenComp;
3481
- return !!((_this$_fullscreenComp = this._fullscreenComponent) !== null && _this$_fullscreenComp !== void 0 && _this$_fullscreenComp.absoluteFullscreen) || this._isAbsoluteComponent;
3484
+ var _this$_fullscreenComp2;
3485
+ return !!((_this$_fullscreenComp2 = this._fullscreenComponent) !== null && _this$_fullscreenComp2 !== void 0 && _this$_fullscreenComp2.absoluteFullscreen) || this._isAbsoluteComponent;
3482
3486
  }
3483
3487
 
3484
3488
  /**
@@ -3499,24 +3503,24 @@ var ContentStore = /*#__PURE__*/function () {
3499
3503
  key: "availableButtons",
3500
3504
  get: function get() {
3501
3505
  var _this$root$configurat,
3502
- _this10 = this;
3506
+ _this9 = this;
3503
3507
  return (_this$root$configurat = this.root.configurationStore.navigation) === null || _this$root$configurat === void 0 ? void 0 : _this$root$configurat.buttons.filter(function (button) {
3504
3508
  //if component is public it can be displayed
3505
3509
  if (button.isPublic) {
3506
3510
  return true;
3507
3511
  }
3508
3512
  //if the user is not logged in the component must be public
3509
- if (!_this10.root.dataStore.user) {
3513
+ if (!_this9.root.dataStore.user) {
3510
3514
  return false;
3511
3515
  }
3512
3516
 
3513
3517
  //if the button is opening a component, the component must be availalbe
3514
- if (button.action.type && !_this10.availableComponentList.includes(button.action.type)) {
3518
+ if (button.action.type && !_this9.availableComponentList.includes(button.action.type)) {
3515
3519
  return false;
3516
3520
  }
3517
3521
 
3518
3522
  //if there is a permission specified, the user must have it
3519
- return button.permission ? _this10.root.dataStore.userHasPermission(button.permission) : true;
3523
+ return button.permission ? _this9.root.dataStore.userHasPermission(button.permission) : true;
3520
3524
  });
3521
3525
  }
3522
3526
 
@@ -3601,7 +3605,7 @@ var ContentStore = /*#__PURE__*/function () {
3601
3605
  }, {
3602
3606
  key: "updateStateAfterLogout",
3603
3607
  value: function updateStateAfterLogout() {
3604
- var _this11 = this;
3608
+ var _this10 = this;
3605
3609
  var _iterator3 = _createForOfIteratorHelper$1(this.state.entries()),
3606
3610
  _step3;
3607
3611
  try {
@@ -3609,19 +3613,19 @@ var ContentStore = /*#__PURE__*/function () {
3609
3613
  var _step3$value = _slicedToArray(_step3.value, 2),
3610
3614
  type = _step3$value[0],
3611
3615
  component = _step3$value[1];
3612
- var config = _this11.root.configurationStore.components.find(function (c) {
3616
+ var config = _this10.root.configurationStore.components.find(function (c) {
3613
3617
  return c.type == type;
3614
3618
  });
3615
3619
  if (!(config !== null && config !== void 0 && config.isPublic)) {
3616
- _this11.state["delete"](type);
3617
- if (_this11.visible == type) {
3618
- _this11.visible = undefined;
3619
- _this11._restrictedComponent = {
3620
+ _this10.state["delete"](type);
3621
+ if (_this10.visible == type) {
3622
+ _this10.visible = undefined;
3623
+ _this10._restrictedComponent = {
3620
3624
  type: type,
3621
3625
  parameters: component.parameters,
3622
3626
  internal: component.internal
3623
3627
  };
3624
- _this11.root.authorizationStore.showLogin();
3628
+ _this10.root.authorizationStore.showLogin();
3625
3629
  }
3626
3630
  }
3627
3631
  };
@@ -3716,10 +3720,10 @@ var ContentStore = /*#__PURE__*/function () {
3716
3720
  }, {
3717
3721
  key: "onResize",
3718
3722
  value: function onResize(width, height) {
3719
- var _this12 = this;
3723
+ var _this11 = this;
3720
3724
  this.onResizeFunc(width, height);
3721
3725
  setTimeout(function () {
3722
- _this12.onResizeFunc(width, height);
3726
+ _this11.onResizeFunc(width, height);
3723
3727
  }, 500);
3724
3728
  }
3725
3729
  }, {
@@ -10292,7 +10296,7 @@ var DrawerMenu$1 = observer(DrawerMenu);
10292
10296
  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; }
10293
10297
  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; }
10294
10298
  var LazyModals$1 = /*#__PURE__*/React.lazy(function () {
10295
- return import('./ModalsWrapper-46dc767f.js');
10299
+ return import('./ModalsWrapper-3065896d.js');
10296
10300
  });
10297
10301
  function Fullscreen(_ref) {
10298
10302
  var inAbsoluteFullscreen = _ref.inAbsoluteFullscreen;
@@ -10752,10 +10756,10 @@ function ownKeys$3(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymb
10752
10756
  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; }
10753
10757
  var LOG$2 = getLogger('Framework', 'Root');
10754
10758
  var LazyAuth = /*#__PURE__*/React.lazy(function () {
10755
- return import('./index-2daaf039.js');
10759
+ return import('./index-6a16cd99.js');
10756
10760
  });
10757
10761
  var LazyModals = /*#__PURE__*/React.lazy(function () {
10758
- return import('./ModalsWrapper-46dc767f.js');
10762
+ return import('./ModalsWrapper-3065896d.js');
10759
10763
  });
10760
10764
  function ContentComponent() {
10761
10765
  var context = useDivaCoreContext();
@@ -1,4 +1,4 @@
1
- import { s as styleInject, u as useDivaCoreContext, g as getLogger } from './index-ca5aad30.js';
1
+ import { s as styleInject, u as useDivaCoreContext, g as getLogger } from './index-3365d563.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';
@@ -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-ca5aad30.js';
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-3365d563.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';
@@ -28,6 +28,7 @@ export default class ContentStore {
28
28
  private resizeObserver?;
29
29
  private _dimensions?;
30
30
  private _currentlyRendered;
31
+ private _fullscreenRender?;
31
32
  constructor(components: ComponentDefinition[], root: RootStore);
32
33
  loadModelViewer(): Promise<void>;
33
34
  resolveComponent(action: Action): string;
@@ -1 +1 @@
1
- {"version":3,"file":"ContentStore.d.ts","sourceRoot":"","sources":["../../../../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CAAC,IAAI,EAAE,MAAM;IAItB;;;OAGG;IACU,YAAY,CAAC,GAAG,EAAE,cAAc;IAS7C,OAAO,CAAC,QAAQ;IAWhB;;OAEG;IACH,IAAI,mBAAmB,6BA2BtB;IAED;;OAEG;IACH,IAAI,UAAU,UAwBb;IAED;;OAEG;IACH,IAAI,mBAAmB;;;;MAatB;IAED,IAAI,4BAA4B,YAE/B;IAED,IAAI,6BAA6B,YAEhC;IAED;;OAEG;IACH,IAAI,sBAAsB,aAEzB;IAED;;OAEG;IACH,IAAI,gBAAgB,gCAmBnB;IAED;;OAEG;IACH,IAAI,eAAe,yCAGlB;IAED;;OAEG;IACH,IAAI,mBAAmB,IAAI,UAAU,CAapC;IAED;;;OAGG;IACH,UAAU;IA2BV;;OAEG;IACH,uBAAuB;IAQvB;;;OAGG;IACH,OAAO,CAAC,sBAAsB;IAkB9B,OAAO,CAAC,SAAS;IAIjB;;;;;OAKG;IACH,OAAO,CAAC,YAAY;IAsCpB;;;;OAIG;IACH,OAAO,CAAC,OAAO;IAaf;;;OAGG;IACH,OAAO,CAAC,QAAQ;IAOhB,OAAO,CAAC,YAAY,CAMlB;IAEF,OAAO,CAAC,cAAc;CAiBvB"}
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;AAQxI,MAAM,CAAC,OAAO,OAAO,YAAY;IAkC7B,OAAO,CAAC,IAAI;IAjCd,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