@crystaldesign/web-planner-logic 24.15.0-beta.1 → 24.15.0-beta.10

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.
Files changed (35) hide show
  1. package/build/cjs/{DivaBoxPlanner-4789bc0a.js → DivaBoxPlanner-de64b005.js} +2 -2
  2. package/build/cjs/{DivaStandardPlanner-dbdb4ba0.js → DivaStandardPlanner-dfce65c5.js} +2 -2
  3. package/build/cjs/{DoorPlanner-e05bdec4.js → DoorPlanner-566a8db9.js} +1 -1
  4. package/build/cjs/{Host3DSignalR-908946a2.js → Host3DSignalR-6cdfbdf8.js} +1 -1
  5. package/build/cjs/{LiviqueWWSHandler-4bad8cba.js → LiviqueWWSHandler-41177e0a.js} +1 -1
  6. package/build/cjs/{PfisterWWSHandler-93d9fb4d.js → PfisterWWSHandler-f017d0c9.js} +1 -1
  7. package/build/cjs/{PlannerHandler2D-593db35b.js → PlannerHandler2D-920d8043.js} +1 -1
  8. package/build/cjs/{SeriousBasketHandler-f1feae09.js → SeriousBasketHandler-6a2eba97.js} +1 -1
  9. package/build/cjs/{ShelfPlanner-47d446eb.js → ShelfPlanner-e74e3545.js} +2 -1
  10. package/build/cjs/{StandardWWSHandler-1e7710d3.js → StandardWWSHandler-d6836d3d.js} +1 -1
  11. package/build/cjs/{index-5f530bbb.js → index-81092c07.js} +75 -58
  12. package/build/cjs/index.js +1 -1
  13. package/build/esm/{DivaBoxPlanner-11ab03fc.js → DivaBoxPlanner-f426d480.js} +2 -2
  14. package/build/esm/{DivaStandardPlanner-fcc8d692.js → DivaStandardPlanner-70f2e5f8.js} +2 -2
  15. package/build/esm/{DoorPlanner-36d5e093.js → DoorPlanner-bdb98e77.js} +1 -1
  16. package/build/esm/{Host3DSignalR-9222f4e5.js → Host3DSignalR-4e794660.js} +1 -1
  17. package/build/esm/{LiviqueWWSHandler-b01ffddd.js → LiviqueWWSHandler-7dc2d92c.js} +1 -1
  18. package/build/esm/{PfisterWWSHandler-327b06c0.js → PfisterWWSHandler-164397d1.js} +1 -1
  19. package/build/esm/{PlannerHandler2D-4ca09229.js → PlannerHandler2D-4e695046.js} +1 -1
  20. package/build/esm/{SeriousBasketHandler-36a1b987.js → SeriousBasketHandler-2f939d54.js} +1 -1
  21. package/build/esm/{ShelfPlanner-a08089d2.js → ShelfPlanner-99969903.js} +2 -1
  22. package/build/esm/{StandardWWSHandler-96622950.js → StandardWWSHandler-1b7a76f9.js} +1 -1
  23. package/build/esm/{index-16bf1098.js → index-5753f739.js} +75 -58
  24. package/build/esm/index.js +1 -1
  25. package/build/types/web-planner-logic/src/interface/DivaCatalogDataType.d.ts +1 -0
  26. package/build/types/web-planner-logic/src/interface/DivaCatalogDataType.d.ts.map +1 -1
  27. package/build/types/web-planner-logic/src/logic/DivaWebPlanner.d.ts +2 -1
  28. package/build/types/web-planner-logic/src/logic/DivaWebPlanner.d.ts.map +1 -1
  29. package/build/types/web-planner-logic/src/logic/Planner/Rendering/Rendering.d.ts.map +1 -1
  30. package/build/types/web-planner-logic/src/model/Articles/CatalogArticleData.d.ts.map +1 -1
  31. package/build/types/web-planner-logic/src/model/DivaCatalogData.d.ts +1 -0
  32. package/build/types/web-planner-logic/src/model/DivaCatalogData.d.ts.map +1 -1
  33. package/build/types/web-planner-logic/src/model/Options/ArticleOptionValueData.d.ts +1 -1
  34. package/build/types/web-planner-logic/src/model/Options/ArticleOptionValueData.d.ts.map +1 -1
  35. package/package.json +2 -2
@@ -3,7 +3,7 @@ import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
3
3
  import _createClass from '@babel/runtime/helpers/createClass';
4
4
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
5
5
  import _regeneratorRuntime from '@babel/runtime/regenerator';
6
- import { R as Rendering, H as HQRenderScript } from './index-16bf1098.js';
6
+ import { R as Rendering, H as HQRenderScript } from './index-5753f739.js';
7
7
  import DivaUtils, { DivaError } from '@crystaldesign/diva-utils';
8
8
  import { HubConnectionBuilder, LogLevel } from '@microsoft/signalr';
9
9
  import io from 'socket.io-client';
@@ -1,6 +1,6 @@
1
1
  import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
2
2
  import _createClass from '@babel/runtime/helpers/createClass';
3
- import './index-16bf1098.js';
3
+ import './index-5753f739.js';
4
4
  import '@babel/runtime/helpers/slicedToArray';
5
5
  import '@babel/runtime/helpers/asyncToGenerator';
6
6
  import '@babel/runtime/helpers/defineProperty';
@@ -1,6 +1,6 @@
1
1
  import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
2
2
  import _createClass from '@babel/runtime/helpers/createClass';
3
- import { a as articleHandlerInstance } from './index-16bf1098.js';
3
+ import { a as articleHandlerInstance } from './index-5753f739.js';
4
4
  import { SAPOrderLineData } from '@crystaldesign/basket-model';
5
5
  import DivaUtils, { DivaError } from '@crystaldesign/diva-utils';
6
6
  import '@babel/runtime/helpers/slicedToArray';
@@ -1,7 +1,7 @@
1
1
  import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
2
2
  import _createClass from '@babel/runtime/helpers/createClass';
3
3
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
4
- import { V as Vector3, c as Vector2, D as DockingPoint } from './index-16bf1098.js';
4
+ import { V as Vector3, c as Vector2, D as DockingPoint } from './index-5753f739.js';
5
5
  import DivaUtils, { md5, DivaError } from '@crystaldesign/diva-utils';
6
6
  import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
7
7
  import _regeneratorRuntime from '@babel/runtime/regenerator';
@@ -1,7 +1,7 @@
1
1
  import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
2
2
  import _createClass from '@babel/runtime/helpers/createClass';
3
3
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
4
- import { s as summaryHandlerInstance } from './index-16bf1098.js';
4
+ import { s as summaryHandlerInstance } from './index-5753f739.js';
5
5
  import DivaUtils from '@crystaldesign/diva-utils';
6
6
  import '@babel/runtime/helpers/slicedToArray';
7
7
  import '@babel/runtime/helpers/asyncToGenerator';
@@ -4,7 +4,7 @@ import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
4
4
  import _createClass from '@babel/runtime/helpers/createClass';
5
5
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
6
6
  import _regeneratorRuntime from '@babel/runtime/regenerator';
7
- import { G as Grid, b as setHandlerInstance, a as articleHandlerInstance } from './index-16bf1098.js';
7
+ import { G as Grid, b as setHandlerInstance, a as articleHandlerInstance } from './index-5753f739.js';
8
8
  import DivaUtils from '@crystaldesign/diva-utils';
9
9
  import '@babel/runtime/helpers/slicedToArray';
10
10
  import '@babel/runtime/helpers/objectWithoutProperties';
@@ -504,6 +504,7 @@ var ShelfPlanner = /*#__PURE__*/function () {
504
504
  var ret = {};
505
505
  for (var i = 0; i < grids.length; i++) {
506
506
  var grid = grids[i];
507
+ if (grid.DisabledByRule) continue;
507
508
  ret[grid.GridName] = {
508
509
  freeCells: grid.getFreeSpacesOfAccessoire(accessoire),
509
510
  idx: i
@@ -1,6 +1,6 @@
1
1
  import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
2
2
  import _createClass from '@babel/runtime/helpers/createClass';
3
- import './index-16bf1098.js';
3
+ import './index-5753f739.js';
4
4
  import '@babel/runtime/helpers/slicedToArray';
5
5
  import '@babel/runtime/helpers/asyncToGenerator';
6
6
  import '@babel/runtime/helpers/defineProperty';
@@ -1741,7 +1741,8 @@ var ArticleOptionValueData = /*#__PURE__*/function () {
1741
1741
  }, {
1742
1742
  key: "isNotRelevant",
1743
1743
  get: function get() {
1744
- return this.opv.catalogOPV.isNotRelevant;
1744
+ var _this$opv$catalogOPV$, _this$ocd;
1745
+ return (_this$opv$catalogOPV$ = this.opv.catalogOPV.isNotRelevant) !== null && _this$opv$catalogOPV$ !== void 0 ? _this$opv$catalogOPV$ : ['OPVNR', 'OPVNRR', 'OPVNR_0'].includes((_this$ocd = this.ocd) !== null && _this$ocd !== void 0 ? _this$ocd : this.codex);
1745
1746
  }
1746
1747
  }, {
1747
1748
  key: "vCodex",
@@ -1992,11 +1993,11 @@ var ArticleOptionValueData = /*#__PURE__*/function () {
1992
1993
  }, {
1993
1994
  key: "metaDataView",
1994
1995
  get: function get() {
1995
- var _this$ocd;
1996
+ var _this$ocd2;
1996
1997
  return [].concat(_toConsumableArray(this.opv.catalogOPV.metaDataView), [{
1997
1998
  codex: 'codex',
1998
1999
  name: '',
1999
- values: [((_this$ocd = this.ocd) !== null && _this$ocd !== void 0 ? _this$ocd : this.codex).replace('OPVOPV_', 'OPV_')],
2000
+ values: [((_this$ocd2 = this.ocd) !== null && _this$ocd2 !== void 0 ? _this$ocd2 : this.codex).replace('OPVOPV_', 'OPV_')],
2000
2001
  values_locales: []
2001
2002
  }]);
2002
2003
  }
@@ -17075,6 +17076,7 @@ var CatalogArticleData = /*#__PURE__*/function () {
17075
17076
  key: "initArticleRelations",
17076
17077
  value: function initArticleRelations(articleRelations, catalog) {
17077
17078
  //ein schönes Object mappen und z.B. nachschauen ob der Acc ein SVG hat
17079
+ if (catalog.ignoreArticleRelations) return;
17078
17080
  this.catalogArticle.articleRelations = [];
17079
17081
  if (articleRelations[0].Articles.length > 0) {
17080
17082
  this.catalogArticle.hasArticleRelations = true;
@@ -18284,6 +18286,8 @@ var DivaCatalogData = /*#__PURE__*/function () {
18284
18286
  // accessories sind direkt configurierbar im Accessorie Schritt. kommen aber trozdem auch im Optionsbaum raus
18285
18287
  configOnlyAccessoires: false,
18286
18288
  // accessories sind direkt configurierbar nur im Accessoires Schritt
18289
+ ignoreArticleRelations: false,
18290
+ // jegliche artikle Realtions welche von den Daten kommen werden ignoriert
18287
18291
  repairVariantValues: undefined,
18288
18292
  // Mapping von OPT und OPV um beim öffnen von BK's die variantValues zu updaten
18289
18293
  showPricePreviewOnlyOnOptions: [],
@@ -18591,6 +18595,8 @@ var DivaCatalogData = /*#__PURE__*/function () {
18591
18595
  _this.catalogData.configAccessoires = item.Value == '1';
18592
18596
  } else if (item.Codex == 'CONFIG_ONLY_ACCESSOIRES') {
18593
18597
  _this.catalogData.configOnlyAccessoires = item.Value == '1';
18598
+ } else if (item.Codex == 'IGNORE_ARTICLERELATIONS') {
18599
+ _this.catalogData.ignoreArticleRelations = item.Value == '1';
18594
18600
  } else if (item.Codex == 'REPAIR_VARIANT_VALUES') {
18595
18601
  var entries = item.Value.split(';;');
18596
18602
  _this.catalogData.repairVariantValues = {};
@@ -19197,6 +19203,11 @@ var DivaCatalogData = /*#__PURE__*/function () {
19197
19203
  get: function get() {
19198
19204
  return this.catalogData.configOnlyAccessoires;
19199
19205
  }
19206
+ }, {
19207
+ key: "ignoreArticleRelations",
19208
+ get: function get() {
19209
+ return this.catalogData.ignoreArticleRelations;
19210
+ }
19200
19211
  }, {
19201
19212
  key: "startFilterParams",
19202
19213
  get: function get() {
@@ -23681,7 +23692,7 @@ var DivaArticle = /*#__PURE__*/function () {
23681
23692
  break;
23682
23693
  }
23683
23694
  _context.next = 4;
23684
- return import('./ShelfPlanner-a08089d2.js');
23695
+ return import('./ShelfPlanner-99969903.js');
23685
23696
  case 4:
23686
23697
  _yield$import = _context.sent;
23687
23698
  ShelfPlanner = _yield$import["default"];
@@ -28204,7 +28215,7 @@ var DivaSet = /*#__PURE__*/function () {
28204
28215
  break;
28205
28216
  }
28206
28217
  _context4.next = 3;
28207
- return import('./DoorPlanner-36d5e093.js');
28218
+ return import('./DoorPlanner-bdb98e77.js');
28208
28219
  case 3:
28209
28220
  _yield$import = _context4.sent;
28210
28221
  DoorPlanner = _yield$import["default"];
@@ -30713,7 +30724,7 @@ var DivaConfigTreeHandler = /*#__PURE__*/function () {
30713
30724
  var myConfigItemsForView = [],
30714
30725
  objectKeys = Object.keys(myConfigItems);
30715
30726
  var _loop8 = function _loop8() {
30716
- var _ops$optionOcd3, _item$colorGroups, _item$pdfUrl, _item$url;
30727
+ var _ops$optionOcd3, _item$images, _item$colorGroups, _item$pdfUrl, _item$url;
30717
30728
  var item = myConfigItems[objectKeys[i]];
30718
30729
  var key = objectKeys[i];
30719
30730
  var groupName = item.groupName ? item.groupName : idmOpgGroupName;
@@ -30742,7 +30753,7 @@ var DivaConfigTreeHandler = /*#__PURE__*/function () {
30742
30753
  codex: item.codex,
30743
30754
  ocd: item.ocd,
30744
30755
  vCodex: item.vCodex,
30745
- layout: item.isTexture ? 'TEXTURE' : item.image ? 'IMAGE' : 'TEXT',
30756
+ layout: item.isTexture ? 'TEXTURE' : item.image || (_item$images = item.images) !== null && _item$images !== void 0 && _item$images.length ? 'IMAGE' : 'TEXT',
30746
30757
  image: image,
30747
30758
  zoomImage: zoomImage,
30748
30759
  hexColor: item.hexColor,
@@ -34830,7 +34841,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
34830
34841
  break;
34831
34842
  case 3:
34832
34843
  _context12.next = 5;
34833
- return import('./PfisterWWSHandler-327b06c0.js');
34844
+ return import('./PfisterWWSHandler-164397d1.js');
34834
34845
  case 5:
34835
34846
  _yield$import = _context12.sent;
34836
34847
  PfisterWWSHandler = _yield$import["default"];
@@ -34838,7 +34849,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
34838
34849
  return _context12.abrupt("break", 27);
34839
34850
  case 9:
34840
34851
  _context12.next = 11;
34841
- return import('./LiviqueWWSHandler-b01ffddd.js');
34852
+ return import('./LiviqueWWSHandler-7dc2d92c.js');
34842
34853
  case 11:
34843
34854
  _yield$import2 = _context12.sent;
34844
34855
  LiviqueWWSHandler = _yield$import2["default"];
@@ -34846,7 +34857,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
34846
34857
  return _context12.abrupt("break", 27);
34847
34858
  case 15:
34848
34859
  _context12.next = 17;
34849
- return import('./SeriousBasketHandler-36a1b987.js');
34860
+ return import('./SeriousBasketHandler-2f939d54.js');
34850
34861
  case 17:
34851
34862
  _yield$import3 = _context12.sent;
34852
34863
  SeriousWWSHandler = _yield$import3["default"];
@@ -34854,7 +34865,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
34854
34865
  return _context12.abrupt("break", 27);
34855
34866
  case 21:
34856
34867
  _context12.next = 23;
34857
- return import('./StandardWWSHandler-96622950.js');
34868
+ return import('./StandardWWSHandler-1b7a76f9.js');
34858
34869
  case 23:
34859
34870
  _yield$import4 = _context12.sent;
34860
34871
  StandardWWSHandler = _yield$import4["default"];
@@ -35669,6 +35680,7 @@ var Rendering = /*#__PURE__*/function () {
35669
35680
  }, {
35670
35681
  key: "hasUIInfosOfElement",
35671
35682
  value: function hasUIInfosOfElement(setId, elementid) {
35683
+ if (this.hasStaticBackground) return false; //when the rendering has static background, no UI Info is loaded d
35672
35684
  if (this.uiInfo[setId] == undefined && this.uiInfo['S1'] != undefined) {
35673
35685
  return this.uiInfo['S1']['E' + elementid] != undefined;
35674
35686
  } else {
@@ -36367,7 +36379,7 @@ var PlannerHandler3D = /*#__PURE__*/function () {
36367
36379
  while (1) switch (_context3.prev = _context3.next) {
36368
36380
  case 0:
36369
36381
  _context3.next = 2;
36370
- return import('./Host3DSignalR-9222f4e5.js');
36382
+ return import('./Host3DSignalR-4e794660.js');
36371
36383
  case 2:
36372
36384
  _yield$import = _context3.sent;
36373
36385
  Host3DSignalR = _yield$import["default"];
@@ -37926,7 +37938,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
37926
37938
  break;
37927
37939
  case 8:
37928
37940
  _context4.next = 10;
37929
- return import('./DivaStandardPlanner-fcc8d692.js');
37941
+ return import('./DivaStandardPlanner-70f2e5f8.js');
37930
37942
  case 10:
37931
37943
  _yield$import = _context4.sent;
37932
37944
  DivaStandardPlanner = _yield$import["default"];
@@ -37937,7 +37949,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
37937
37949
  return _context4.abrupt("break", 21);
37938
37950
  case 15:
37939
37951
  _context4.next = 17;
37940
- return import('./DivaBoxPlanner-11ab03fc.js');
37952
+ return import('./DivaBoxPlanner-f426d480.js');
37941
37953
  case 17:
37942
37954
  _yield$import2 = _context4.sent;
37943
37955
  DivaBoxPlanner = _yield$import2["default"];
@@ -40583,6 +40595,12 @@ var DivaWebPlanner = /*#__PURE__*/function () {
40583
40595
  value: function eventIsManagedByClient(event) {
40584
40596
  return this.api.eventIsManagedByClient(event);
40585
40597
  }
40598
+ }, {
40599
+ key: "showModal",
40600
+ value: function showModal(data) {
40601
+ var _this$actions21;
40602
+ (_this$actions21 = this.actions) === null || _this$actions21 === void 0 || _this$actions21.openModal(data);
40603
+ }
40586
40604
  }, {
40587
40605
  key: "logGA",
40588
40606
  value: function logGA(action) {
@@ -40600,25 +40618,25 @@ var DivaWebPlanner = /*#__PURE__*/function () {
40600
40618
  }, {
40601
40619
  key: "callEvent",
40602
40620
  value: function callEvent(event, param) {
40603
- var _this$actions21, _this$actions22, _this$actions23, _this$actions24;
40621
+ var _this$actions22, _this$actions23, _this$actions24, _this$actions25;
40604
40622
  switch (event) {
40605
40623
  case 'onFullscreenClose':
40606
- (_this$actions21 = this.actions) === null || _this$actions21 === void 0 || _this$actions21.onEvent({
40624
+ (_this$actions22 = this.actions) === null || _this$actions22 === void 0 || _this$actions22.onEvent({
40607
40625
  type: 'onFullscreenClose'
40608
40626
  });
40609
40627
  break;
40610
40628
  case 'onWebPlanerClose':
40611
- (_this$actions22 = this.actions) === null || _this$actions22 === void 0 || _this$actions22.onEvent({
40629
+ (_this$actions23 = this.actions) === null || _this$actions23 === void 0 || _this$actions23.onEvent({
40612
40630
  type: 'onWebPlanerClose'
40613
40631
  });
40614
40632
  break;
40615
40633
  case 'onWebPlanerHelp':
40616
- (_this$actions23 = this.actions) === null || _this$actions23 === void 0 || _this$actions23.onEvent({
40634
+ (_this$actions24 = this.actions) === null || _this$actions24 === void 0 || _this$actions24.onEvent({
40617
40635
  type: 'onWebPlanerHelp'
40618
40636
  });
40619
40637
  break;
40620
40638
  case 'onWebPlanerZoomClick':
40621
- (_this$actions24 = this.actions) === null || _this$actions24 === void 0 || _this$actions24.onEvent({
40639
+ (_this$actions25 = this.actions) === null || _this$actions25 === void 0 || _this$actions25.onEvent({
40622
40640
  type: 'onWebPlanerZoomClick',
40623
40641
  data: param
40624
40642
  });
@@ -40629,14 +40647,14 @@ var DivaWebPlanner = /*#__PURE__*/function () {
40629
40647
  key: "saveToBasketWrapper",
40630
40648
  value: function () {
40631
40649
  var _saveToBasketWrapper = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee25(event, repairOnly, force) {
40632
- var _this$actions26,
40633
- _this$actions26$toggl,
40634
- _this$actions27,
40650
+ var _this$actions27,
40635
40651
  _this$actions27$toggl,
40652
+ _this$actions28,
40653
+ _this$actions28$toggl,
40636
40654
  _this2 = this,
40637
- _this$actions31,
40655
+ _this$actions32,
40638
40656
  _this$i18n14;
40639
- var returnTo, finalEvent, _this$api$getBarrierC, _this$openLeafeltBarr, product, _this$actSet9, url, _result, _this$actions25, result, _this$actions28, _this$i18n8, _this$i18n9, _this$actions29, _this$i18n10, _this$i18n11, _this$actions30, _this$i18n12, _this$i18n13, _this$updatePlannerMs2;
40657
+ var returnTo, finalEvent, _this$api$getBarrierC, _this$openLeafeltBarr, product, _this$actSet9, url, _result, _this$actions26, result, _this$actions29, _this$i18n8, _this$i18n9, _this$actions30, _this$i18n10, _this$i18n11, _this$actions31, _this$i18n12, _this$i18n13, _this$updatePlannerMs2;
40640
40658
  return _regeneratorRuntime.wrap(function _callee25$(_context25) {
40641
40659
  while (1) switch (_context25.prev = _context25.next) {
40642
40660
  case 0:
@@ -40675,25 +40693,25 @@ var DivaWebPlanner = /*#__PURE__*/function () {
40675
40693
  _context25.next = 20;
40676
40694
  break;
40677
40695
  }
40678
- (_this$actions25 = this.actions) === null || _this$actions25 === void 0 || _this$actions25.onEvent({
40696
+ (_this$actions26 = this.actions) === null || _this$actions26 === void 0 || _this$actions26.onEvent({
40679
40697
  type: finalEvent.event
40680
40698
  });
40681
40699
  return _context25.abrupt("return", 'canceled');
40682
40700
  case 20:
40683
40701
  returnTo = finalEvent.event == 'onAddToBasket' ? 'OPEN_PDF' : returnTo;
40684
40702
  case 21:
40685
- (_this$actions26 = this.actions) === null || _this$actions26 === void 0 || (_this$actions26$toggl = _this$actions26.toggleLoading) === null || _this$actions26$toggl === void 0 || _this$actions26$toggl.call(_this$actions26, 'Planner_Saving', false, true);
40703
+ (_this$actions27 = this.actions) === null || _this$actions27 === void 0 || (_this$actions27$toggl = _this$actions27.toggleLoading) === null || _this$actions27$toggl === void 0 || _this$actions27$toggl.call(_this$actions27, 'Planner_Saving', false, true);
40686
40704
  _context25.next = 24;
40687
40705
  return this.saveToBasket(finalEvent.event, repairOnly, force);
40688
40706
  case 24:
40689
40707
  result = _context25.sent;
40690
- (_this$actions27 = this.actions) === null || _this$actions27 === void 0 || (_this$actions27$toggl = _this$actions27.toggleLoading) === null || _this$actions27$toggl === void 0 || _this$actions27$toggl.call(_this$actions27, 'Planner_Saving', false, false);
40708
+ (_this$actions28 = this.actions) === null || _this$actions28 === void 0 || (_this$actions28$toggl = _this$actions28.toggleLoading) === null || _this$actions28$toggl === void 0 || _this$actions28$toggl.call(_this$actions28, 'Planner_Saving', false, false);
40691
40709
  if (!(result === 'canceled')) {
40692
40710
  _context25.next = 30;
40693
40711
  break;
40694
40712
  }
40695
40713
  LOG$1.error(new DivaError('failed to save Basket'));
40696
- (_this$actions28 = this.actions) === null || _this$actions28 === void 0 || _this$actions28.openModal({
40714
+ (_this$actions29 = this.actions) === null || _this$actions29 === void 0 || _this$actions29.openModal({
40697
40715
  text: ((_this$i18n8 = this.i18n()) === null || _this$i18n8 === void 0 ? void 0 : _this$i18n8.t('modal.general_error')) + ' --- ' + DivaUtils.formatDate(new Date(), true, undefined, true) + ' --- ' + DivaUtils.getCurrentTraceId() ? ((_this$i18n9 = this.i18n()) === null || _this$i18n9 === void 0 ? void 0 : _this$i18n9.t('modal.errorcode')) + ': ' + DivaUtils.getCurrentTraceId() : '',
40698
40716
  accept: true
40699
40717
  });
@@ -40707,12 +40725,12 @@ var DivaWebPlanner = /*#__PURE__*/function () {
40707
40725
  LOG$1.error(new DivaError('PDF url is missing in basket', {
40708
40726
  code: 'WC_0010'
40709
40727
  }));
40710
- (_this$actions29 = this.actions) === null || _this$actions29 === void 0 || _this$actions29.openModal({
40728
+ (_this$actions30 = this.actions) === null || _this$actions30 === void 0 || _this$actions30.openModal({
40711
40729
  text: ((_this$i18n10 = this.i18n()) === null || _this$i18n10 === void 0 ? void 0 : _this$i18n10.t('modal.general_error')) + ' --- ' + DivaUtils.formatDate(new Date(), true, undefined, true) + ' --- ' + DivaUtils.getCurrentTraceId() ? ((_this$i18n11 = this.i18n()) === null || _this$i18n11 === void 0 ? void 0 : _this$i18n11.t('modal.errorcode')) + ': ' + DivaUtils.getCurrentTraceId() : '',
40712
40730
  accept: true
40713
40731
  });
40714
40732
  } else {
40715
- (_this$actions30 = this.actions) === null || _this$actions30 === void 0 || _this$actions30.openModal({
40733
+ (_this$actions31 = this.actions) === null || _this$actions31 === void 0 || _this$actions31.openModal({
40716
40734
  text: (_this$i18n12 = this.i18n()) === null || _this$i18n12 === void 0 ? void 0 : _this$i18n12.t(this.divaBasketHandler.actBasket.Status === 'ORDER' ? 'modal.open_order_pdf_now' : 'modal.open_leaflet_pdf_now'),
40717
40735
  accept: (_this$i18n13 = this.i18n()) === null || _this$i18n13 === void 0 ? void 0 : _this$i18n13.t('modals.open_now'),
40718
40736
  callback: function callback() {
@@ -40722,7 +40740,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
40722
40740
  }
40723
40741
  return _context25.abrupt("break", 36);
40724
40742
  case 35:
40725
- (_this$actions31 = this.actions) === null || _this$actions31 === void 0 || _this$actions31.openModal({
40743
+ (_this$actions32 = this.actions) === null || _this$actions32 === void 0 || _this$actions32.openModal({
40726
40744
  text: (_this$i18n14 = this.i18n()) === null || _this$i18n14 === void 0 ? void 0 : _this$i18n14.t('modal.planning_saved'),
40727
40745
  accept: true
40728
40746
  });
@@ -40750,7 +40768,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
40750
40768
  key: "saveToBasket",
40751
40769
  value: function () {
40752
40770
  var _saveToBasket = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee26(event, repairOnly, force) {
40753
- var _returnTo, _returnTo2, _returnTo3, _this$actions32, _this$actions33, _this$actions34, _this$divaBasketHandl2;
40771
+ var _returnTo, _returnTo2, _returnTo3, _this$actions33, _this$actions34, _this$actions35, _this$divaBasketHandl2;
40754
40772
  var set, actBasket, returnTo, oldReturnTo, result, newDivaNr, _result2, product;
40755
40773
  return _regeneratorRuntime.wrap(function _callee26$(_context26) {
40756
40774
  while (1) switch (_context26.prev = _context26.next) {
@@ -40807,8 +40825,8 @@ var DivaWebPlanner = /*#__PURE__*/function () {
40807
40825
  _context26.next = _context26.t3 === 'OPEN_SELLER_PRODUCTCREATOR' ? 28 : _context26.t3 === 'OPEN_SELLER_BASKET' ? 31 : _context26.t3 === 'OPEN_PDF' ? 33 : _context26.t3 === 'SAVE_BASKET_WITH_MODAL' ? 33 : _context26.t3 === 'SAVE_BASKET' ? 33 : _context26.t3 === 'SAVE_BASKET_SYNC' ? 33 : _context26.t3 === 'OPEN_LEAFLET_BARRIER' ? 33 : 52;
40808
40826
  break;
40809
40827
  case 28:
40810
- (_this$actions32 = this.actions) === null || _this$actions32 === void 0 || _this$actions32.toggleLoading('buildScene', false, false);
40811
- (_this$actions33 = this.actions) === null || _this$actions33 === void 0 || _this$actions33.openComponent({
40828
+ (_this$actions33 = this.actions) === null || _this$actions33 === void 0 || _this$actions33.toggleLoading('buildScene', false, false);
40829
+ (_this$actions34 = this.actions) === null || _this$actions34 === void 0 || _this$actions34.openComponent({
40812
40830
  type: 'SELLER',
40813
40831
  parameters: {
40814
40832
  module: 'PCreator',
@@ -40820,7 +40838,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
40820
40838
  });
40821
40839
  return _context26.abrupt("break", 52);
40822
40840
  case 31:
40823
- (_this$actions34 = this.actions) === null || _this$actions34 === void 0 || _this$actions34.openComponent({
40841
+ (_this$actions35 = this.actions) === null || _this$actions35 === void 0 || _this$actions35.openComponent({
40824
40842
  type: 'SELLER',
40825
40843
  parameters: {
40826
40844
  module: 'Basket',
@@ -40934,7 +40952,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
40934
40952
  }
40935
40953
  }
40936
40954
  if (plannerType === 'JUMP_OVER_PLANNER') {
40937
- ret = 'PLANNER';
40955
+ if (doShowPlanner) ret = 'PLANNER';
40938
40956
  plannerType = undefined;
40939
40957
  }
40940
40958
  if (plannerType === 'CUSTOMER_OPTIMIZED_PLANNER') {
@@ -40958,7 +40976,6 @@ var DivaWebPlanner = /*#__PURE__*/function () {
40958
40976
  }
40959
40977
  if (plannerType) return plannerType;
40960
40978
  if (doShowPlanner) {
40961
- // deprected; plannerType should only be used
40962
40979
  ret = 'PLANNER';
40963
40980
  }
40964
40981
  return ret;
@@ -41144,17 +41161,17 @@ var DivaWebPlanner = /*#__PURE__*/function () {
41144
41161
  key: "addToBasket",
41145
41162
  value: function () {
41146
41163
  var _addToBasket = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee28(actBasket) {
41147
- var _this$actions35,
41148
- _this$actions36,
41164
+ var _this$actions36,
41149
41165
  _this$actions37,
41150
41166
  _this$actions38,
41151
41167
  _this$actions39,
41168
+ _this$actions40,
41152
41169
  _this$divaBasketHandl4,
41153
41170
  _this3 = this,
41154
- _this$actions40,
41155
41171
  _this$actions41,
41156
41172
  _this$actions42,
41157
- _this$actions43;
41173
+ _this$actions43,
41174
+ _this$actions44;
41158
41175
  var event,
41159
41176
  emailConfig,
41160
41177
  _emailConfig$to$split,
@@ -41171,31 +41188,31 @@ var DivaWebPlanner = /*#__PURE__*/function () {
41171
41188
  _context28.next = _context28.t0 === 'onWebPlanerPrint' ? 5 : _context28.t0 === 'onWebPlanerSave' ? 7 : _context28.t0 === 'onWebPlanerShare' ? 9 : _context28.t0 === 'onRequestConsulation' ? 11 : _context28.t0 === 'onSave' ? 13 : _context28.t0 === 'onSendEmail' ? 15 : _context28.t0 === 'onSaveProduct' ? 20 : _context28.t0 === 'dontSaveBasket' ? 27 : _context28.t0 === 'onAddToBasket' ? 28 : 30;
41172
41189
  break;
41173
41190
  case 5:
41174
- (_this$actions35 = this.actions) === null || _this$actions35 === void 0 || _this$actions35.onEvent({
41191
+ (_this$actions36 = this.actions) === null || _this$actions36 === void 0 || _this$actions36.onEvent({
41175
41192
  type: 'onWebPlanerPrint',
41176
41193
  data: actBasket.getAsJson()
41177
41194
  });
41178
41195
  return _context28.abrupt("break", 32);
41179
41196
  case 7:
41180
- (_this$actions36 = this.actions) === null || _this$actions36 === void 0 || _this$actions36.onEvent({
41197
+ (_this$actions37 = this.actions) === null || _this$actions37 === void 0 || _this$actions37.onEvent({
41181
41198
  type: 'onWebPlanerSave',
41182
41199
  data: actBasket.getAsJson()
41183
41200
  });
41184
41201
  return _context28.abrupt("break", 32);
41185
41202
  case 9:
41186
- (_this$actions37 = this.actions) === null || _this$actions37 === void 0 || _this$actions37.onEvent({
41203
+ (_this$actions38 = this.actions) === null || _this$actions38 === void 0 || _this$actions38.onEvent({
41187
41204
  type: 'onWebPlanerShare',
41188
41205
  data: actBasket.getAsJson()
41189
41206
  });
41190
41207
  return _context28.abrupt("break", 32);
41191
41208
  case 11:
41192
- (_this$actions38 = this.actions) === null || _this$actions38 === void 0 || _this$actions38.onEvent({
41209
+ (_this$actions39 = this.actions) === null || _this$actions39 === void 0 || _this$actions39.onEvent({
41193
41210
  type: 'onRequestConsulation',
41194
41211
  data: actBasket.getAsJson()
41195
41212
  });
41196
41213
  return _context28.abrupt("break", 32);
41197
41214
  case 13:
41198
- (_this$actions39 = this.actions) === null || _this$actions39 === void 0 || _this$actions39.onEvent({
41215
+ (_this$actions40 = this.actions) === null || _this$actions40 === void 0 || _this$actions40.onEvent({
41199
41216
  type: 'onSave',
41200
41217
  data: actBasket.getAsJson()
41201
41218
  });
@@ -41230,7 +41247,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
41230
41247
  });
41231
41248
  });
41232
41249
  }
41233
- (_this$actions40 = this.actions) === null || _this$actions40 === void 0 || _this$actions40.onEvent({
41250
+ (_this$actions41 = this.actions) === null || _this$actions41 === void 0 || _this$actions41.onEvent({
41234
41251
  type: 'onAddToBasket',
41235
41252
  data: actBasket.getAsJson()
41236
41253
  });
@@ -41241,7 +41258,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
41241
41258
  return this.api.saveAsProduct(this.sets, actBasket);
41242
41259
  case 23:
41243
41260
  products = _context28.sent;
41244
- (_this$actions41 = this.actions) === null || _this$actions41 === void 0 || _this$actions41.onEvent({
41261
+ (_this$actions42 = this.actions) === null || _this$actions42 === void 0 || _this$actions42.onEvent({
41245
41262
  type: 'onAddToBasket',
41246
41263
  data: actBasket.getAsJson()
41247
41264
  });
@@ -41252,13 +41269,13 @@ var DivaWebPlanner = /*#__PURE__*/function () {
41252
41269
  return _context28.abrupt("return", products[0]);
41253
41270
  case 27:
41254
41271
  case 28:
41255
- (_this$actions42 = this.actions) === null || _this$actions42 === void 0 || _this$actions42.onEvent({
41272
+ (_this$actions43 = this.actions) === null || _this$actions43 === void 0 || _this$actions43.onEvent({
41256
41273
  type: 'onAddToBasket',
41257
41274
  data: actBasket.getAsJson()
41258
41275
  });
41259
41276
  return _context28.abrupt("break", 32);
41260
41277
  case 30:
41261
- (_this$actions43 = this.actions) === null || _this$actions43 === void 0 || _this$actions43.onEvent({
41278
+ (_this$actions44 = this.actions) === null || _this$actions44 === void 0 || _this$actions44.onEvent({
41262
41279
  type: event,
41263
41280
  data: actBasket.getAsJson()
41264
41281
  });
@@ -41279,8 +41296,8 @@ var DivaWebPlanner = /*#__PURE__*/function () {
41279
41296
  }, {
41280
41297
  key: "openPDFpostAsEvent",
41281
41298
  value: function openPDFpostAsEvent(mongoDBId) {
41282
- var _this$actions44, _this$actions45, _this$actions46;
41283
- (_this$actions44 = this.actions) === null || _this$actions44 === void 0 || _this$actions44.updateBreadcrumbs({
41299
+ var _this$actions45, _this$actions46, _this$actions47;
41300
+ (_this$actions45 = this.actions) === null || _this$actions45 === void 0 || _this$actions45.updateBreadcrumbs({
41284
41301
  type: 'update',
41285
41302
  param: {
41286
41303
  groupId: 'SHOWROOM',
@@ -41294,7 +41311,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
41294
41311
  }
41295
41312
  }
41296
41313
  });
41297
- (_this$actions45 = this.actions) === null || _this$actions45 === void 0 || _this$actions45.updateBreadcrumbs({
41314
+ (_this$actions46 = this.actions) === null || _this$actions46 === void 0 || _this$actions46.updateBreadcrumbs({
41298
41315
  type: 'update',
41299
41316
  param: {
41300
41317
  groupId: 'SHOWROOM',
@@ -41308,7 +41325,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
41308
41325
  }
41309
41326
  }
41310
41327
  });
41311
- (_this$actions46 = this.actions) === null || _this$actions46 === void 0 || _this$actions46.openComponent({
41328
+ (_this$actions47 = this.actions) === null || _this$actions47 === void 0 || _this$actions47.openComponent({
41312
41329
  type: 'REPORT',
41313
41330
  parameters: {
41314
41331
  id: mongoDBId
@@ -41528,14 +41545,14 @@ var DivaWebPlanner = /*#__PURE__*/function () {
41528
41545
  }, {
41529
41546
  key: "subscribeToWebPlannerEvents",
41530
41547
  value: function subscribeToWebPlannerEvents() {
41531
- var _this$actions47;
41532
- (_this$actions47 = this.actions) === null || _this$actions47 === void 0 || _this$actions47.subscribeEvents(this.addToBasketEventFunction);
41548
+ var _this$actions48;
41549
+ (_this$actions48 = this.actions) === null || _this$actions48 === void 0 || _this$actions48.subscribeEvents(this.addToBasketEventFunction);
41533
41550
  }
41534
41551
  }, {
41535
41552
  key: "unsubscribeFromWebPlannerEvents",
41536
41553
  value: function unsubscribeFromWebPlannerEvents() {
41537
- var _this$actions48;
41538
- (_this$actions48 = this.actions) === null || _this$actions48 === void 0 || _this$actions48.unSubscribeEvents(this.addToBasketEventFunction);
41554
+ var _this$actions49;
41555
+ (_this$actions49 = this.actions) === null || _this$actions49 === void 0 || _this$actions49.unSubscribeEvents(this.addToBasketEventFunction);
41539
41556
  }
41540
41557
  }, {
41541
41558
  key: "initApiForLogicOnly",
@@ -1,4 +1,4 @@
1
- export { h as CatalogPlannerArticleData, C as Cell, e as DivaArticle, g as DivaBasketHandler, f as DivaCatalogData, D as DockingPoint, G as Grid, O as OptionCatalogData, R as Rendering, c as Vector2, V as Vector3, i as Vector4, j as creatRenderOrders, d as default, k as getOrigProductId, l as loadAndRepairBasket } from './index-16bf1098.js';
1
+ export { h as CatalogPlannerArticleData, C as Cell, e as DivaArticle, g as DivaBasketHandler, f as DivaCatalogData, D as DockingPoint, G as Grid, O as OptionCatalogData, R as Rendering, c as Vector2, V as Vector3, i as Vector4, j as creatRenderOrders, d as default, k as getOrigProductId, l as loadAndRepairBasket } from './index-5753f739.js';
2
2
  import '@babel/runtime/helpers/slicedToArray';
3
3
  import '@babel/runtime/helpers/asyncToGenerator';
4
4
  import '@babel/runtime/helpers/classCallCheck';
@@ -86,6 +86,7 @@ export default interface DivaCatalogDataType {
86
86
  hidePriceGroupsOfOPGs: boolean;
87
87
  configAccessoires: boolean;
88
88
  configOnlyAccessoires: boolean;
89
+ ignoreArticleRelations: boolean;
89
90
  forceConfigSingle: boolean;
90
91
  repairVariantValues?: {
91
92
  [OPT_OPV: string]: string;
@@ -1 +1 @@
1
- {"version":3,"file":"DivaCatalogDataType.d.ts","sourceRoot":"","sources":["../../../../../src/interface/DivaCatalogDataType.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,UAAU,MAAM,kCAAkC,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAErF,MAAM,CAAC,OAAO,WAAW,mBAAmB;IAG1C,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE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C,gBAAgB,EAAE,OAAO,CAAC;IAE1B,wBAAwB,EAAE,OAAO,CAAC;IAClC,kBAAkB,EAAE,OAAO,CAAC;IAG5B,oBAAoB,EAAE;QAAE,eAAe,EAAE,MAAM,CAAC;QAAC,eAAe,EAAE,MAAM,EAAE,EAAE,CAAA;KAAE,EAAE,CAAC;IACjF,4BAA4B,EAAE,OAAO,CAAC;IACtC,qBAAqB,EAAE,OAAO,CAAC;CAgBhC"}
@@ -17,7 +17,7 @@ import { SummaryPaletteItemType } from '../interface/Summary/SummaryPaletteItemT
17
17
  import { PlannerPaletteViewDataType } from '../interface/PlannerPaletteViewDataType';
18
18
  import { FreePlacesOnGrids, PlannedPlacesOnGrids, ShelfAccessoriesView } from '../interface/ShelfPlanner/ShelfAccessoiresView';
19
19
  import { ArticleOptionValueView } from '../interface/OptionTypes/ArticleOptionValueView';
20
- import { Event, ProductData, UserRole } from '../interface/CoreTypes';
20
+ import { Event, Modal, ProductData, UserRole } from '../interface/CoreTypes';
21
21
  import { ArticleInfoType, BboxInfo2D, InitMode, ItemPaletteType, PlannerMessageType, WebPlannerConfigParams } from '../';
22
22
  import { IDivaViewPlannerElement, IDivaViewVisualizedNotPlannedElement } from '../interface/Planner/IDivaViewPlannerElement';
23
23
  import { PlannerMode, ParamsAddPlannerElement, Nav3DMode, Nav3DParams, ParamCopyPlannerElementInfo, PriceFormat, ViewChangedCause } from '../interface/FunctionTypes';
@@ -371,6 +371,7 @@ export default class DivaWebPlanner {
371
371
  * @param event to identify which event
372
372
  */
373
373
  eventIsManagedByClient(event: ClientEvents): boolean;
374
+ showModal(data: Modal): void;
374
375
  logGA(action: string): void;
375
376
  /**
376
377
  * this function calls genericly any event and passes specific params