@crystaldesign/web-planner-logic 24.15.0-beta.2 → 24.15.0-beta.21

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 (54) hide show
  1. package/build/cjs/{DivaBoxPlanner-a902a2b5.js → DivaBoxPlanner-8df05a27.js} +2 -2
  2. package/build/cjs/{DivaStandardPlanner-64e0b280.js → DivaStandardPlanner-4feff250.js} +2 -2
  3. package/build/cjs/{DoorPlanner-e98cc91c.js → DoorPlanner-f6c4843f.js} +1 -1
  4. package/build/cjs/{Host3DSignalR-b507198e.js → Host3DSignalR-ceb795ca.js} +1 -1
  5. package/build/cjs/{LiviqueWWSHandler-e144ed04.js → LiviqueWWSHandler-5976147e.js} +1 -1
  6. package/build/cjs/{PfisterWWSHandler-4a6d833a.js → PfisterWWSHandler-9c9dd41d.js} +1 -1
  7. package/build/cjs/{PlannerHandler2D-56454913.js → PlannerHandler2D-9a39a24e.js} +1 -1
  8. package/build/cjs/{SeriousBasketHandler-8530c15f.js → SeriousBasketHandler-99a76472.js} +15 -4
  9. package/build/cjs/{ShelfPlanner-ce137022.js → ShelfPlanner-331dca24.js} +1 -1
  10. package/build/cjs/{StandardWWSHandler-cd08ca46.js → StandardWWSHandler-3def2f67.js} +1 -1
  11. package/build/cjs/{index-46a915c3.js → index-211be2e6.js} +257 -241
  12. package/build/cjs/index.js +1 -1
  13. package/build/esm/{DivaBoxPlanner-d09aeb85.js → DivaBoxPlanner-43123b27.js} +2 -2
  14. package/build/esm/{DivaStandardPlanner-d510e8d0.js → DivaStandardPlanner-e0b808af.js} +2 -2
  15. package/build/esm/{DoorPlanner-713539f6.js → DoorPlanner-09c76b89.js} +1 -1
  16. package/build/esm/{Host3DSignalR-62dcf76f.js → Host3DSignalR-b3db6c59.js} +1 -1
  17. package/build/esm/{LiviqueWWSHandler-795815ac.js → LiviqueWWSHandler-175196ff.js} +1 -1
  18. package/build/esm/{PfisterWWSHandler-0f6f7d10.js → PfisterWWSHandler-4417a1f6.js} +1 -1
  19. package/build/esm/{PlannerHandler2D-4b739952.js → PlannerHandler2D-b64207dc.js} +1 -1
  20. package/build/esm/{SeriousBasketHandler-05587353.js → SeriousBasketHandler-24b716ac.js} +15 -4
  21. package/build/esm/{ShelfPlanner-1e73edcf.js → ShelfPlanner-c547d657.js} +1 -1
  22. package/build/esm/{StandardWWSHandler-69ded749.js → StandardWWSHandler-83775bcd.js} +1 -1
  23. package/build/esm/{index-032d3dde.js → index-997a3ec9.js} +257 -241
  24. package/build/esm/index.js +1 -1
  25. package/build/types/web-planner-logic/src/interface/API/ViewConfigDataType.d.ts +1 -0
  26. package/build/types/web-planner-logic/src/interface/API/ViewConfigDataType.d.ts.map +1 -1
  27. package/build/types/web-planner-logic/src/interface/Configuration.d.ts +1 -0
  28. package/build/types/web-planner-logic/src/interface/Configuration.d.ts.map +1 -1
  29. package/build/types/web-planner-logic/src/interface/DivaCatalogDataType.d.ts +2 -0
  30. package/build/types/web-planner-logic/src/interface/DivaCatalogDataType.d.ts.map +1 -1
  31. package/build/types/web-planner-logic/src/logic/Article/ArticleOptionState.d.ts +1 -1
  32. package/build/types/web-planner-logic/src/logic/Article/ArticleOptionState.d.ts.map +1 -1
  33. package/build/types/web-planner-logic/src/logic/Article/DivaArticle.d.ts.map +1 -1
  34. package/build/types/web-planner-logic/src/logic/Article/DivaArticleHandler.d.ts.map +1 -1
  35. package/build/types/web-planner-logic/src/logic/Basket/SeriousBasketHandler.d.ts.map +1 -1
  36. package/build/types/web-planner-logic/src/logic/ConfigTree/DivaConfigTree.d.ts +3 -16
  37. package/build/types/web-planner-logic/src/logic/ConfigTree/DivaConfigTree.d.ts.map +1 -1
  38. package/build/types/web-planner-logic/src/logic/ConfigTree/DivaConfigTreeHandler.d.ts +1 -6
  39. package/build/types/web-planner-logic/src/logic/ConfigTree/DivaConfigTreeHandler.d.ts.map +1 -1
  40. package/build/types/web-planner-logic/src/logic/DivaApiHandler.d.ts +1 -1
  41. package/build/types/web-planner-logic/src/logic/DivaApiHandler.d.ts.map +1 -1
  42. package/build/types/web-planner-logic/src/logic/DivaWebPlanner.d.ts +3 -2
  43. package/build/types/web-planner-logic/src/logic/DivaWebPlanner.d.ts.map +1 -1
  44. package/build/types/web-planner-logic/src/logic/Planner/Rendering/Rendering.d.ts.map +1 -1
  45. package/build/types/web-planner-logic/src/logic/Set/DivaSet.d.ts +0 -11
  46. package/build/types/web-planner-logic/src/logic/Set/DivaSet.d.ts.map +1 -1
  47. package/build/types/web-planner-logic/src/logic/Set/DivaSetHandler.d.ts.map +1 -1
  48. package/build/types/web-planner-logic/src/logic/Set/FavoritesHandler.d.ts.map +1 -1
  49. package/build/types/web-planner-logic/src/model/Articles/CatalogArticleData.d.ts.map +1 -1
  50. package/build/types/web-planner-logic/src/model/DivaCatalogData.d.ts +2 -0
  51. package/build/types/web-planner-logic/src/model/DivaCatalogData.d.ts.map +1 -1
  52. package/build/types/web-planner-logic/src/model/Options/ArticleOptionValueData.d.ts +1 -1
  53. package/build/types/web-planner-logic/src/model/Options/ArticleOptionValueData.d.ts.map +1 -1
  54. package/package.json +2 -2
@@ -280,11 +280,12 @@ var DivaApiHandler = /*#__PURE__*/function () {
280
280
  key: "getDataCache",
281
281
  value: function () {
282
282
  var _getDataCache = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee3(queryString, cacheMD5, accountSessionGuid, useWebServiceApi, method, data) {
283
- var myQS, url, init, addSession, _this$apiConfig3, _this$apiConfig4, api2Url, result;
283
+ var _this$divaWebConfigDa, _this$divaWebConfigDa2, _this$divaWebConfigDa3;
284
+ var myQS, url, init, addSession, cacheHit, _this$apiConfig3, _this$apiConfig4, api2Url, result;
284
285
  return _regeneratorRuntime__default["default"].wrap(function _callee3$(_context3) {
285
286
  while (1) switch (_context3.prev = _context3.next) {
286
287
  case 0:
287
- myQS = DivaUtils.md5(queryString.toLowerCase()).toUpperCase();
288
+ myQS = DivaUtils.md5(queryString.toLowerCase() + ((_this$divaWebConfigDa = this.divaWebConfigData) !== null && _this$divaWebConfigDa !== void 0 && _this$divaWebConfigDa.addOrganizationIdToCacheKey ? this.OrganizationId : '')).toUpperCase();
288
289
  url = this.apiUrl(queryString, useWebServiceApi);
289
290
  init = {
290
291
  method: method,
@@ -292,80 +293,82 @@ var DivaApiHandler = /*#__PURE__*/function () {
292
293
  data: data !== null && data !== void 0 ? data : {}
293
294
  };
294
295
  addSession = true;
295
- if (!(this.jsonDataCache.get(myQS) || cacheMD5 && this.jsonDataCache.get(cacheMD5))) {
296
- _context3.next = 9;
296
+ cacheHit = this.jsonDataCache.get(myQS);
297
+ if (!cacheHit) {
298
+ _context3.next = 8;
297
299
  break;
298
300
  }
299
301
  LOG$h.debug('getDataFromInternalCache: ' + queryString);
300
- if (!this.jsonDataCache.get(myQS)) {
301
- _context3.next = 8;
302
+ return _context3.abrupt("return", cacheHit);
303
+ case 8:
304
+ if (!(cacheMD5 && this.jsonDataCache.get(cacheMD5) && !((_this$divaWebConfigDa2 = this.divaWebConfigData) !== null && _this$divaWebConfigDa2 !== void 0 && _this$divaWebConfigDa2.addOrganizationIdToCacheKey))) {
305
+ _context3.next = 11;
302
306
  break;
303
307
  }
304
- return _context3.abrupt("return", this.jsonDataCache.get(myQS));
305
- case 8:
308
+ LOG$h.debug('getDataFromInternalCache: ' + queryString);
306
309
  return _context3.abrupt("return", this.jsonDataCache.get(cacheMD5));
307
- case 9:
310
+ case 11:
308
311
  if (!addSession) {
309
- _context3.next = 31;
312
+ _context3.next = 33;
310
313
  break;
311
314
  }
312
315
  if (!useWebServiceApi) {
313
- _context3.next = 22;
316
+ _context3.next = 24;
314
317
  break;
315
318
  }
316
319
  if (!this.jwt) {
317
- _context3.next = 15;
320
+ _context3.next = 17;
318
321
  break;
319
322
  }
320
323
  init.config.headers = {
321
324
  Authorization: 'Bearer ' + this.jwt
322
325
  };
323
- _context3.next = 20;
326
+ _context3.next = 22;
324
327
  break;
325
- case 15:
328
+ case 17:
326
329
  if (!this.apiKey) {
327
- _context3.next = 19;
330
+ _context3.next = 21;
328
331
  break;
329
332
  }
330
333
  init.config.headers = {
331
334
  'X-API-KEY': this.apiKey
332
335
  };
333
- _context3.next = 20;
336
+ _context3.next = 22;
334
337
  break;
335
- case 19:
338
+ case 21:
336
339
  throw new Error('not jwt or API Key Found');
337
- case 20:
338
- _context3.next = 31;
339
- break;
340
340
  case 22:
341
+ _context3.next = 33;
342
+ break;
343
+ case 24:
341
344
  api2Url = (_this$apiConfig3 = this.apiConfig) === null || _this$apiConfig3 === void 0 ? void 0 : _this$apiConfig3.api2["default"];
342
345
  if (this.getApplicationEnvironment() == 'WEB' && (_this$apiConfig4 = this.apiConfig) !== null && _this$apiConfig4 !== void 0 && _this$apiConfig4.api2.web) {
343
346
  api2Url = this.apiConfig.api2.web;
344
347
  }
345
348
  _context3.t0 = accountSessionGuid;
346
349
  if (_context3.t0) {
347
- _context3.next = 29;
350
+ _context3.next = 31;
348
351
  break;
349
352
  }
350
- _context3.next = 28;
353
+ _context3.next = 30;
351
354
  return this.getSessionGuid('V', undefined, this.OrganizationId, api2Url);
352
- case 28:
355
+ case 30:
353
356
  _context3.t0 = _context3.sent;
354
- case 29:
357
+ case 31:
355
358
  _context3.t1 = _context3.t0;
356
359
  init.config.headers = {
357
360
  sessionGuid: _context3.t1
358
361
  };
359
- case 31:
360
- _context3.next = 33;
361
- return this.fetchData(url, init);
362
362
  case 33:
363
+ _context3.next = 35;
364
+ return this.fetchData(url, init);
365
+ case 35:
363
366
  result = _context3.sent;
364
367
  if (method !== 'POST') this.jsonDataCache.set(myQS, result);
365
- if (cacheMD5) this.jsonDataCache.set(cacheMD5, result);
368
+ if (cacheMD5 && !((_this$divaWebConfigDa3 = this.divaWebConfigData) !== null && _this$divaWebConfigDa3 !== void 0 && _this$divaWebConfigDa3.addOrganizationIdToCacheKey)) this.jsonDataCache.set(cacheMD5, result);
366
369
  LOG$h.debug('getDataFromApi: ' + queryString);
367
370
  return _context3.abrupt("return", result);
368
- case 38:
371
+ case 40:
369
372
  case "end":
370
373
  return _context3.stop();
371
374
  }
@@ -449,7 +452,8 @@ var DivaApiHandler = /*#__PURE__*/function () {
449
452
  dontLoadAdditionalModelInfos: data.dontLoadAdditionalModelInfos,
450
453
  arViewerUrl: data.arViewerUrl,
451
454
  useMask: data.useMask,
452
- loadProductBasketParams: data.loadProductBasketParams
455
+ loadProductBasketParams: data.loadProductBasketParams,
456
+ addOrganizationIdToCacheKey: data.addOrganizationIdToCacheKey
453
457
  };
454
458
  }
455
459
  }, {
@@ -485,8 +489,8 @@ var DivaApiHandler = /*#__PURE__*/function () {
485
489
  }, {
486
490
  key: "getLoadProductBasketParams",
487
491
  value: function getLoadProductBasketParams() {
488
- var _this$divaWebConfigDa;
489
- return (_this$divaWebConfigDa = this.divaWebConfigData) === null || _this$divaWebConfigDa === void 0 ? void 0 : _this$divaWebConfigDa.loadProductBasketParams;
492
+ var _this$divaWebConfigDa4;
493
+ return (_this$divaWebConfigDa4 = this.divaWebConfigData) === null || _this$divaWebConfigDa4 === void 0 ? void 0 : _this$divaWebConfigDa4.loadProductBasketParams;
490
494
  }
491
495
  }, {
492
496
  key: "get3DServerUrl",
@@ -497,26 +501,26 @@ var DivaApiHandler = /*#__PURE__*/function () {
497
501
  }, {
498
502
  key: "doCheckForProductsPrice",
499
503
  value: function doCheckForProductsPrice() {
500
- var _this$divaWebConfigDa2;
501
- return (_this$divaWebConfigDa2 = this.divaWebConfigData) === null || _this$divaWebConfigDa2 === void 0 ? void 0 : _this$divaWebConfigDa2.checkForProductsPrice;
504
+ var _this$divaWebConfigDa5;
505
+ return (_this$divaWebConfigDa5 = this.divaWebConfigData) === null || _this$divaWebConfigDa5 === void 0 ? void 0 : _this$divaWebConfigDa5.checkForProductsPrice;
502
506
  }
503
507
  }, {
504
508
  key: "doCheckForProductsMatch",
505
509
  value: function doCheckForProductsMatch() {
506
- var _this$divaWebConfigDa3;
507
- return (_this$divaWebConfigDa3 = this.divaWebConfigData) === null || _this$divaWebConfigDa3 === void 0 ? void 0 : _this$divaWebConfigDa3.checkForProductsMatch;
510
+ var _this$divaWebConfigDa6;
511
+ return (_this$divaWebConfigDa6 = this.divaWebConfigData) === null || _this$divaWebConfigDa6 === void 0 ? void 0 : _this$divaWebConfigDa6.checkForProductsMatch;
508
512
  }
509
513
  }, {
510
514
  key: "getReportConfigIdentifier",
511
515
  value: function getReportConfigIdentifier() {
512
- var _this$divaWebConfigDa4;
513
- return (_this$divaWebConfigDa4 = this.divaWebConfigData) === null || _this$divaWebConfigDa4 === void 0 ? void 0 : _this$divaWebConfigDa4.reportConfigIdentifier;
516
+ var _this$divaWebConfigDa7;
517
+ return (_this$divaWebConfigDa7 = this.divaWebConfigData) === null || _this$divaWebConfigDa7 === void 0 ? void 0 : _this$divaWebConfigDa7.reportConfigIdentifier;
514
518
  }
515
519
  }, {
516
520
  key: "getPrintOptions",
517
521
  value: function getPrintOptions() {
518
- var _this$divaWebConfigDa5;
519
- var reportConfig = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : (_this$divaWebConfigDa5 = this.divaWebConfigData) === null || _this$divaWebConfigDa5 === void 0 ? void 0 : _this$divaWebConfigDa5.reportConfig;
522
+ var _this$divaWebConfigDa8;
523
+ var reportConfig = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : (_this$divaWebConfigDa8 = this.divaWebConfigData) === null || _this$divaWebConfigDa8 === void 0 ? void 0 : _this$divaWebConfigDa8.reportConfig;
520
524
  return {
521
525
  Gdpr: !!(reportConfig !== null && reportConfig !== void 0 && reportConfig.printWithGDPR),
522
526
  PlanningSketch: !!(reportConfig !== null && reportConfig !== void 0 && reportConfig.printWithPlanningSketch),
@@ -536,8 +540,8 @@ var DivaApiHandler = /*#__PURE__*/function () {
536
540
  }, {
537
541
  key: "get3DRenderGroup",
538
542
  value: function get3DRenderGroup() {
539
- var _this$divaWebConfigDa6, _this$divaWebConfigDa7;
540
- return (_this$divaWebConfigDa6 = (_this$divaWebConfigDa7 = this.divaWebConfigData) === null || _this$divaWebConfigDa7 === void 0 ? void 0 : _this$divaWebConfigDa7.diva3dRenderGroup) !== null && _this$divaWebConfigDa6 !== void 0 ? _this$divaWebConfigDa6 : '';
543
+ var _this$divaWebConfigDa9, _this$divaWebConfigDa10;
544
+ return (_this$divaWebConfigDa9 = (_this$divaWebConfigDa10 = this.divaWebConfigData) === null || _this$divaWebConfigDa10 === void 0 ? void 0 : _this$divaWebConfigDa10.diva3dRenderGroup) !== null && _this$divaWebConfigDa9 !== void 0 ? _this$divaWebConfigDa9 : '';
541
545
  }
542
546
  }, {
543
547
  key: "getServerId",
@@ -574,73 +578,74 @@ var DivaApiHandler = /*#__PURE__*/function () {
574
578
  }, {
575
579
  key: "getDiva3dStaticBGImage",
576
580
  value: function getDiva3dStaticBGImage() {
577
- var _this$divaWebConfigDa8;
578
- return (_this$divaWebConfigDa8 = this.divaWebConfigData) === null || _this$divaWebConfigDa8 === void 0 ? void 0 : _this$divaWebConfigDa8.diva3dStaticBGImage;
581
+ var _this$divaWebConfigDa11;
582
+ return (_this$divaWebConfigDa11 = this.divaWebConfigData) === null || _this$divaWebConfigDa11 === void 0 ? void 0 : _this$divaWebConfigDa11.diva3dStaticBGImage;
579
583
  }
580
584
  }, {
581
585
  key: "getDiva3dStaticBGImage_DefaultRoomList",
582
586
  value: function getDiva3dStaticBGImage_DefaultRoomList() {
583
- var _this$divaWebConfigDa9, _this$divaWebConfigDa10;
584
- return ((_this$divaWebConfigDa9 = this.divaWebConfigData) === null || _this$divaWebConfigDa9 === void 0 ? void 0 : _this$divaWebConfigDa9.diva3dStaticBGImage_DefaultRoomList) == '' ? '3D_STATBG_ROOMLIST' : (_this$divaWebConfigDa10 = this.divaWebConfigData) === null || _this$divaWebConfigDa10 === void 0 ? void 0 : _this$divaWebConfigDa10.diva3dStaticBGImage_DefaultRoomList;
587
+ var _this$divaWebConfigDa12, _this$divaWebConfigDa13;
588
+ return ((_this$divaWebConfigDa12 = this.divaWebConfigData) === null || _this$divaWebConfigDa12 === void 0 ? void 0 : _this$divaWebConfigDa12.diva3dStaticBGImage_DefaultRoomList) == '' ? '3D_STATBG_ROOMLIST' : (_this$divaWebConfigDa13 = this.divaWebConfigData) === null || _this$divaWebConfigDa13 === void 0 ? void 0 : _this$divaWebConfigDa13.diva3dStaticBGImage_DefaultRoomList;
585
589
  }
586
590
  }, {
587
591
  key: "getDiva3DAllowDefaultCatRoomList",
588
592
  value: function getDiva3DAllowDefaultCatRoomList() {
589
- var _this$divaWebConfigDa11;
590
- return (_this$divaWebConfigDa11 = this.divaWebConfigData) === null || _this$divaWebConfigDa11 === void 0 ? void 0 : _this$divaWebConfigDa11.diva3DAllowDefaultCatRoomList;
593
+ var _this$divaWebConfigDa14;
594
+ return (_this$divaWebConfigDa14 = this.divaWebConfigData) === null || _this$divaWebConfigDa14 === void 0 ? void 0 : _this$divaWebConfigDa14.diva3DAllowDefaultCatRoomList;
591
595
  }
592
596
  }, {
593
597
  key: "doAllowSetPlanner",
594
598
  value: function doAllowSetPlanner() {
595
- var _this$divaWebConfigDa12;
596
- return (_this$divaWebConfigDa12 = this.divaWebConfigData) === null || _this$divaWebConfigDa12 === void 0 ? void 0 : _this$divaWebConfigDa12.doAllowSetPlanner;
599
+ var _this$divaWebConfigDa15;
600
+ return (_this$divaWebConfigDa15 = this.divaWebConfigData) === null || _this$divaWebConfigDa15 === void 0 ? void 0 : _this$divaWebConfigDa15.doAllowSetPlanner;
597
601
  }
598
602
  }, {
599
603
  key: "getHidePlanner",
600
604
  value: function getHidePlanner() {
601
- var _this$divaWebConfigDa13;
602
- return !!((_this$divaWebConfigDa13 = this.divaWebConfigData) !== null && _this$divaWebConfigDa13 !== void 0 && (_this$divaWebConfigDa13 = _this$divaWebConfigDa13.viewConfig) !== null && _this$divaWebConfigDa13 !== void 0 && _this$divaWebConfigDa13.hidePlanner);
605
+ var _this$divaWebConfigDa16;
606
+ return !!((_this$divaWebConfigDa16 = this.divaWebConfigData) !== null && _this$divaWebConfigDa16 !== void 0 && (_this$divaWebConfigDa16 = _this$divaWebConfigDa16.viewConfig) !== null && _this$divaWebConfigDa16 !== void 0 && _this$divaWebConfigDa16.hidePlanner);
603
607
  }
604
608
  }, {
605
609
  key: "getEnableRTVUnityKombi",
606
610
  value: function getEnableRTVUnityKombi() {
607
- return !!this.organization.settings.enableRTV;
611
+ var _this$organization$se;
612
+ return !!((_this$organization$se = this.organization.settings) !== null && _this$organization$se !== void 0 && _this$organization$se.enableRTV);
608
613
  }
609
614
  }, {
610
615
  key: "getDoDisablePlanner2D",
611
616
  value: function getDoDisablePlanner2D() {
612
- var _this$divaWebConfigDa14;
613
- return !!((_this$divaWebConfigDa14 = this.divaWebConfigData) !== null && _this$divaWebConfigDa14 !== void 0 && _this$divaWebConfigDa14.doDisablePlanner2D);
617
+ var _this$divaWebConfigDa17;
618
+ return !!((_this$divaWebConfigDa17 = this.divaWebConfigData) !== null && _this$divaWebConfigDa17 !== void 0 && _this$divaWebConfigDa17.doDisablePlanner2D);
614
619
  }
615
620
  }, {
616
621
  key: "getRoomListInProduct",
617
622
  value: function getRoomListInProduct() {
618
- var _this$divaWebConfigDa15;
619
- return !!((_this$divaWebConfigDa15 = this.divaWebConfigData) !== null && _this$divaWebConfigDa15 !== void 0 && (_this$divaWebConfigDa15 = _this$divaWebConfigDa15.viewConfig) !== null && _this$divaWebConfigDa15 !== void 0 && _this$divaWebConfigDa15.roomListInProduct);
623
+ var _this$divaWebConfigDa18;
624
+ return !!((_this$divaWebConfigDa18 = this.divaWebConfigData) !== null && _this$divaWebConfigDa18 !== void 0 && (_this$divaWebConfigDa18 = _this$divaWebConfigDa18.viewConfig) !== null && _this$divaWebConfigDa18 !== void 0 && _this$divaWebConfigDa18.roomListInProduct);
620
625
  }
621
626
  }, {
622
627
  key: "getPlannerType",
623
628
  value: function getPlannerType() {
624
- var _this$divaWebConfigDa16;
625
- return (_this$divaWebConfigDa16 = this.divaWebConfigData) === null || _this$divaWebConfigDa16 === void 0 || (_this$divaWebConfigDa16 = _this$divaWebConfigDa16.viewConfig) === null || _this$divaWebConfigDa16 === void 0 ? void 0 : _this$divaWebConfigDa16.plannerType;
629
+ var _this$divaWebConfigDa19;
630
+ return (_this$divaWebConfigDa19 = this.divaWebConfigData) === null || _this$divaWebConfigDa19 === void 0 || (_this$divaWebConfigDa19 = _this$divaWebConfigDa19.viewConfig) === null || _this$divaWebConfigDa19 === void 0 ? void 0 : _this$divaWebConfigDa19.plannerType;
626
631
  }
627
632
  }, {
628
633
  key: "getLoadSupplierColors",
629
634
  value: function getLoadSupplierColors() {
630
- var _this$divaWebConfigDa17;
631
- return !!((_this$divaWebConfigDa17 = this.divaWebConfigData) !== null && _this$divaWebConfigDa17 !== void 0 && _this$divaWebConfigDa17.loadSupplierColors);
635
+ var _this$divaWebConfigDa20;
636
+ return !!((_this$divaWebConfigDa20 = this.divaWebConfigData) !== null && _this$divaWebConfigDa20 !== void 0 && _this$divaWebConfigDa20.loadSupplierColors);
632
637
  }
633
638
  }, {
634
639
  key: "showSelectionModeZero",
635
640
  value: function showSelectionModeZero() {
636
- var _this$divaWebConfigDa18;
637
- return !!((_this$divaWebConfigDa18 = this.divaWebConfigData) !== null && _this$divaWebConfigDa18 !== void 0 && _this$divaWebConfigDa18.showSelectionModeZero);
641
+ var _this$divaWebConfigDa21;
642
+ return !!((_this$divaWebConfigDa21 = this.divaWebConfigData) !== null && _this$divaWebConfigDa21 !== void 0 && _this$divaWebConfigDa21.showSelectionModeZero);
638
643
  }
639
644
  }, {
640
645
  key: "ruleDescSeperator",
641
646
  value: function ruleDescSeperator() {
642
- var _this$organization$se, _this$organization2;
643
- var seperator = (_this$organization$se = (_this$organization2 = this.organization) === null || _this$organization2 === void 0 || (_this$organization2 = _this$organization2.settings) === null || _this$organization2 === void 0 ? void 0 : _this$organization2.ruleDescSeperator) !== null && _this$organization$se !== void 0 ? _this$organization$se : ', ';
647
+ var _this$organization$se2, _this$organization2;
648
+ var seperator = (_this$organization$se2 = (_this$organization2 = this.organization) === null || _this$organization2 === void 0 || (_this$organization2 = _this$organization2.settings) === null || _this$organization2 === void 0 ? void 0 : _this$organization2.ruleDescSeperator) !== null && _this$organization$se2 !== void 0 ? _this$organization$se2 : ', ';
644
649
  // \n is escaped in url and therefore needs to be set via keyword
645
650
  if (seperator == 'newLine') return '\n';
646
651
  return seperator;
@@ -742,50 +747,50 @@ var DivaApiHandler = /*#__PURE__*/function () {
742
747
  }, {
743
748
  key: "getViewConfig",
744
749
  value: function getViewConfig() {
745
- var _this$divaWebConfigDa19;
746
- return (_this$divaWebConfigDa19 = this.divaWebConfigData) === null || _this$divaWebConfigDa19 === void 0 ? void 0 : _this$divaWebConfigDa19.viewConfig;
750
+ var _this$divaWebConfigDa22;
751
+ return (_this$divaWebConfigDa22 = this.divaWebConfigData) === null || _this$divaWebConfigDa22 === void 0 ? void 0 : _this$divaWebConfigDa22.viewConfig;
747
752
  }
748
753
  }, {
749
754
  key: "getEmailConfig",
750
755
  value: function getEmailConfig() {
751
- var _this$divaWebConfigDa20;
752
- return (_this$divaWebConfigDa20 = this.divaWebConfigData) === null || _this$divaWebConfigDa20 === void 0 ? void 0 : _this$divaWebConfigDa20.emailConfig;
756
+ var _this$divaWebConfigDa23;
757
+ return (_this$divaWebConfigDa23 = this.divaWebConfigData) === null || _this$divaWebConfigDa23 === void 0 ? void 0 : _this$divaWebConfigDa23.emailConfig;
753
758
  }
754
759
  }, {
755
760
  key: "getABTestCases",
756
761
  value: function getABTestCases() {
757
- var _this$divaWebConfigDa21, _this$divaWebConfigDa22;
758
- return (_this$divaWebConfigDa21 = (_this$divaWebConfigDa22 = this.divaWebConfigData) === null || _this$divaWebConfigDa22 === void 0 ? void 0 : _this$divaWebConfigDa22.abTestCases) !== null && _this$divaWebConfigDa21 !== void 0 ? _this$divaWebConfigDa21 : [];
762
+ var _this$divaWebConfigDa24, _this$divaWebConfigDa25;
763
+ return (_this$divaWebConfigDa24 = (_this$divaWebConfigDa25 = this.divaWebConfigData) === null || _this$divaWebConfigDa25 === void 0 ? void 0 : _this$divaWebConfigDa25.abTestCases) !== null && _this$divaWebConfigDa24 !== void 0 ? _this$divaWebConfigDa24 : [];
759
764
  }
760
765
  }, {
761
766
  key: "getBarrierConfig",
762
767
  value: function getBarrierConfig() {
763
- var _this$divaWebConfigDa23;
764
- return (_this$divaWebConfigDa23 = this.divaWebConfigData) === null || _this$divaWebConfigDa23 === void 0 ? void 0 : _this$divaWebConfigDa23.barrierConfig;
768
+ var _this$divaWebConfigDa26;
769
+ return (_this$divaWebConfigDa26 = this.divaWebConfigData) === null || _this$divaWebConfigDa26 === void 0 ? void 0 : _this$divaWebConfigDa26.barrierConfig;
765
770
  }
766
771
  }, {
767
772
  key: "getTemplateConfig",
768
773
  value: function getTemplateConfig() {
769
- var _this$divaWebConfigDa24;
770
- return (_this$divaWebConfigDa24 = this.divaWebConfigData) === null || _this$divaWebConfigDa24 === void 0 ? void 0 : _this$divaWebConfigDa24.templateConfig;
774
+ var _this$divaWebConfigDa27;
775
+ return (_this$divaWebConfigDa27 = this.divaWebConfigData) === null || _this$divaWebConfigDa27 === void 0 ? void 0 : _this$divaWebConfigDa27.templateConfig;
771
776
  }
772
777
  }, {
773
778
  key: "showDivaNr",
774
779
  value: function showDivaNr() {
775
- var _this$divaWebConfigDa25;
776
- return (_this$divaWebConfigDa25 = this.divaWebConfigData) === null || _this$divaWebConfigDa25 === void 0 ? void 0 : _this$divaWebConfigDa25.showDivaNr;
780
+ var _this$divaWebConfigDa28;
781
+ return (_this$divaWebConfigDa28 = this.divaWebConfigData) === null || _this$divaWebConfigDa28 === void 0 ? void 0 : _this$divaWebConfigDa28.showDivaNr;
777
782
  }
778
783
  }, {
779
784
  key: "onErrorHandling",
780
785
  value: function onErrorHandling() {
781
- var _this$divaWebConfigDa26;
782
- return (_this$divaWebConfigDa26 = this.divaWebConfigData) === null || _this$divaWebConfigDa26 === void 0 ? void 0 : _this$divaWebConfigDa26.onErrorHandling;
786
+ var _this$divaWebConfigDa29;
787
+ return (_this$divaWebConfigDa29 = this.divaWebConfigData) === null || _this$divaWebConfigDa29 === void 0 ? void 0 : _this$divaWebConfigDa29.onErrorHandling;
783
788
  }
784
789
  }, {
785
790
  key: "diva3DRenderingDefault",
786
791
  value: function diva3DRenderingDefault() {
787
- var _this$divaWebConfigDa27;
788
- return (_this$divaWebConfigDa27 = this.divaWebConfigData) === null || _this$divaWebConfigDa27 === void 0 ? void 0 : _this$divaWebConfigDa27.diva3DRenderingDefault;
792
+ var _this$divaWebConfigDa30;
793
+ return (_this$divaWebConfigDa30 = this.divaWebConfigData) === null || _this$divaWebConfigDa30 === void 0 ? void 0 : _this$divaWebConfigDa30.diva3DRenderingDefault;
789
794
  }
790
795
  }, {
791
796
  key: "getJwt",
@@ -800,8 +805,8 @@ var DivaApiHandler = /*#__PURE__*/function () {
800
805
  }, {
801
806
  key: "getUseMask",
802
807
  value: function getUseMask() {
803
- var _this$divaWebConfigDa28;
804
- return (_this$divaWebConfigDa28 = this.divaWebConfigData) === null || _this$divaWebConfigDa28 === void 0 ? void 0 : _this$divaWebConfigDa28.useMask;
808
+ var _this$divaWebConfigDa31;
809
+ return (_this$divaWebConfigDa31 = this.divaWebConfigData) === null || _this$divaWebConfigDa31 === void 0 ? void 0 : _this$divaWebConfigDa31.useMask;
805
810
  }
806
811
  }, {
807
812
  key: "apiUrl",
@@ -1316,14 +1321,14 @@ var DivaApiHandler = /*#__PURE__*/function () {
1316
1321
  }, {
1317
1322
  key: "dontLoadAdditionalModelInfos",
1318
1323
  get: function get() {
1319
- var _this$divaWebConfigDa29;
1320
- return (_this$divaWebConfigDa29 = this.divaWebConfigData) === null || _this$divaWebConfigDa29 === void 0 ? void 0 : _this$divaWebConfigDa29.dontLoadAdditionalModelInfos;
1324
+ var _this$divaWebConfigDa32;
1325
+ return (_this$divaWebConfigDa32 = this.divaWebConfigData) === null || _this$divaWebConfigDa32 === void 0 ? void 0 : _this$divaWebConfigDa32.dontLoadAdditionalModelInfos;
1321
1326
  }
1322
1327
  }, {
1323
1328
  key: "dontLoadCatalogEditorLiteMask",
1324
1329
  get: function get() {
1325
- var _this$divaWebConfigDa30;
1326
- return (_this$divaWebConfigDa30 = this.divaWebConfigData) === null || _this$divaWebConfigDa30 === void 0 ? void 0 : _this$divaWebConfigDa30.dontLoadCatalogEditorLiteMask;
1330
+ var _this$divaWebConfigDa33;
1331
+ return (_this$divaWebConfigDa33 = this.divaWebConfigData) === null || _this$divaWebConfigDa33 === void 0 ? void 0 : _this$divaWebConfigDa33.dontLoadCatalogEditorLiteMask;
1327
1332
  }
1328
1333
  }, {
1329
1334
  key: "OrganizationId",
@@ -1758,7 +1763,8 @@ var ArticleOptionValueData = /*#__PURE__*/function () {
1758
1763
  }, {
1759
1764
  key: "isNotRelevant",
1760
1765
  get: function get() {
1761
- return this.opv.catalogOPV.isNotRelevant;
1766
+ var _this$opv$catalogOPV$, _this$ocd;
1767
+ 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);
1762
1768
  }
1763
1769
  }, {
1764
1770
  key: "vCodex",
@@ -2009,11 +2015,11 @@ var ArticleOptionValueData = /*#__PURE__*/function () {
2009
2015
  }, {
2010
2016
  key: "metaDataView",
2011
2017
  get: function get() {
2012
- var _this$ocd;
2018
+ var _this$ocd2;
2013
2019
  return [].concat(_toConsumableArray__default["default"](this.opv.catalogOPV.metaDataView), [{
2014
2020
  codex: 'codex',
2015
2021
  name: '',
2016
- values: [((_this$ocd = this.ocd) !== null && _this$ocd !== void 0 ? _this$ocd : this.codex).replace('OPVOPV_', 'OPV_')],
2022
+ values: [((_this$ocd2 = this.ocd) !== null && _this$ocd2 !== void 0 ? _this$ocd2 : this.codex).replace('OPVOPV_', 'OPV_')],
2017
2023
  values_locales: []
2018
2024
  }]);
2019
2025
  }
@@ -17092,6 +17098,7 @@ var CatalogArticleData = /*#__PURE__*/function () {
17092
17098
  key: "initArticleRelations",
17093
17099
  value: function initArticleRelations(articleRelations, catalog) {
17094
17100
  //ein schönes Object mappen und z.B. nachschauen ob der Acc ein SVG hat
17101
+ if (catalog.ignoreArticleRelations) return;
17095
17102
  this.catalogArticle.articleRelations = [];
17096
17103
  if (articleRelations[0].Articles.length > 0) {
17097
17104
  this.catalogArticle.hasArticleRelations = true;
@@ -18301,6 +18308,8 @@ var DivaCatalogData = /*#__PURE__*/function () {
18301
18308
  // accessories sind direkt configurierbar im Accessorie Schritt. kommen aber trozdem auch im Optionsbaum raus
18302
18309
  configOnlyAccessoires: false,
18303
18310
  // accessories sind direkt configurierbar nur im Accessoires Schritt
18311
+ ignoreArticleRelations: false,
18312
+ // jegliche artikle Realtions welche von den Daten kommen werden ignoriert
18304
18313
  repairVariantValues: undefined,
18305
18314
  // Mapping von OPT und OPV um beim öffnen von BK's die variantValues zu updaten
18306
18315
  showPricePreviewOnlyOnOptions: [],
@@ -18320,6 +18329,8 @@ var DivaCatalogData = /*#__PURE__*/function () {
18320
18329
  usePosCountValue: false,
18321
18330
  // old tag
18322
18331
  useDecisionPosCountValue: false,
18332
+ ignoreIsDefinedCheck: false,
18333
+ // if true, on summary click does not check and show the dialob that some articles have options that were not visited
18323
18334
  useShelfPlannerRTV: false,
18324
18335
  notificationsRules: [{
18325
18336
  rules: [{
@@ -18608,6 +18619,8 @@ var DivaCatalogData = /*#__PURE__*/function () {
18608
18619
  _this.catalogData.configAccessoires = item.Value == '1';
18609
18620
  } else if (item.Codex == 'CONFIG_ONLY_ACCESSOIRES') {
18610
18621
  _this.catalogData.configOnlyAccessoires = item.Value == '1';
18622
+ } else if (item.Codex == 'IGNORE_ARTICLERELATIONS') {
18623
+ _this.catalogData.ignoreArticleRelations = item.Value == '1';
18611
18624
  } else if (item.Codex == 'REPAIR_VARIANT_VALUES') {
18612
18625
  var entries = item.Value.split(';;');
18613
18626
  _this.catalogData.repairVariantValues = {};
@@ -18661,6 +18674,8 @@ var DivaCatalogData = /*#__PURE__*/function () {
18661
18674
  _this.catalogData.ignoreMaxPriceAsBP = item.Value == '1';
18662
18675
  } else if (item.Codex == 'DONT_USE_VCODEX_FOR_BASKET') {
18663
18676
  _this.catalogData.dontUseVCodexInBasket = item.Value == '1';
18677
+ } else if (item.Codex == 'IGNORE_ISDEFINED_CHECK') {
18678
+ _this.catalogData.ignoreIsDefinedCheck = item.Value == '1';
18664
18679
  }
18665
18680
 
18666
18681
  //HOTFIX wied später ausgebaut Philipp mus Properties in der Artikelliste ausgeben
@@ -19214,6 +19229,11 @@ var DivaCatalogData = /*#__PURE__*/function () {
19214
19229
  get: function get() {
19215
19230
  return this.catalogData.configOnlyAccessoires;
19216
19231
  }
19232
+ }, {
19233
+ key: "ignoreArticleRelations",
19234
+ get: function get() {
19235
+ return this.catalogData.ignoreArticleRelations;
19236
+ }
19217
19237
  }, {
19218
19238
  key: "startFilterParams",
19219
19239
  get: function get() {
@@ -19418,6 +19438,11 @@ var DivaCatalogData = /*#__PURE__*/function () {
19418
19438
  get: function get() {
19419
19439
  return this.catalogData.useBoxPlanner;
19420
19440
  }
19441
+ }, {
19442
+ key: "ignoreIsDefinedCheck",
19443
+ get: function get() {
19444
+ return this.catalogData.ignoreIsDefinedCheck;
19445
+ }
19421
19446
  }, {
19422
19447
  key: "startPlannerArticle",
19423
19448
  get: function get() {
@@ -19998,9 +20023,9 @@ var ArticleOptionStateData = /*#__PURE__*/function () {
19998
20023
  key: "multiselectValCodex",
19999
20024
  get: function get() {
20000
20025
  var _this$multiSelects$ma, _this$multiSelects2;
20001
- return (_this$multiSelects$ma = (_this$multiSelects2 = this.multiSelects) === null || _this$multiSelects2 === void 0 ? void 0 : _this$multiSelects2.map(function (v) {
20026
+ return [this.valCodex].concat(_toConsumableArray__default["default"]((_this$multiSelects$ma = (_this$multiSelects2 = this.multiSelects) === null || _this$multiSelects2 === void 0 ? void 0 : _this$multiSelects2.map(function (v) {
20002
20027
  return v.codex;
20003
- })) !== null && _this$multiSelects$ma !== void 0 ? _this$multiSelects$ma : [];
20028
+ })) !== null && _this$multiSelects$ma !== void 0 ? _this$multiSelects$ma : []));
20004
20029
  }
20005
20030
  }, {
20006
20031
  key: "measureValue",
@@ -21972,6 +21997,7 @@ var DivaArticle = /*#__PURE__*/function () {
21972
21997
  }, {
21973
21998
  key: "areAllOptionsDefined",
21974
21999
  get: function get() {
22000
+ if (this.CatalogData.ignoreIsDefinedCheck) return true;
21975
22001
  for (var key in this.articleOptionStates) {
21976
22002
  if (!this.articleOptionStates[key].isDefined) {
21977
22003
  return false;
@@ -23698,7 +23724,7 @@ var DivaArticle = /*#__PURE__*/function () {
23698
23724
  break;
23699
23725
  }
23700
23726
  _context.next = 4;
23701
- return Promise.resolve().then(function () { return require('./ShelfPlanner-ce137022.js'); });
23727
+ return Promise.resolve().then(function () { return require('./ShelfPlanner-331dca24.js'); });
23702
23728
  case 4:
23703
23729
  _yield$import = _context.sent;
23704
23730
  ShelfPlanner = _yield$import["default"];
@@ -24091,7 +24117,7 @@ var DivaArticle = /*#__PURE__*/function () {
24091
24117
  }
24092
24118
  }
24093
24119
  for (var _key3 in myValues) {
24094
- var ops = this.articleOptionStates[_key3];
24120
+ var ops = this.getArticleOptionState(_key3);
24095
24121
  var opv = ops === null || ops === void 0 ? void 0 : ops.visibleOptionValues[myValues[_key3]];
24096
24122
  if (opv) {
24097
24123
  var value = opv.setConfig;
@@ -24123,7 +24149,7 @@ var DivaArticle = /*#__PURE__*/function () {
24123
24149
  var _ops7 = this.getArticleOptionState(_key4);
24124
24150
  if (_ops7) {
24125
24151
  validValues[_key4] = myValues[_key4];
24126
- } else if (_key4.endsWith('_val') && this.articleOptionStates[_key4.replace(/_val/g, '')]) {
24152
+ } else if (_key4.endsWith('_val') && this.getArticleOptionState(_key4.replace(/_val/g, ''))) {
24127
24153
  validValues[_key4] = myValues[_key4];
24128
24154
  } else {
24129
24155
  for (var _opt in this.articleOptionStates) {
@@ -26676,14 +26702,16 @@ var DivaConfigTreeData = /*#__PURE__*/function () {
26676
26702
  }
26677
26703
  }, {
26678
26704
  key: "getCurPaletteType",
26679
- value: function getCurPaletteType(set, configStepKey, articles) {
26705
+ value: function getCurPaletteType(set, configStepKey) {
26706
+ var _set$api$ReturnToFrom;
26680
26707
  var step = this.getAllByKey(configStepKey);
26681
26708
  var configStep = step === null || step === void 0 ? void 0 : step.configStep;
26682
26709
  var optionStep = step === null || step === void 0 ? void 0 : step.optionStep;
26683
26710
  var paletteType = 'SMALL';
26684
26711
  if (configStep && optionStep) {
26685
- var optionState = articles[configStep.targetArticles[0]][configStep.option];
26686
- if (configStep.option == 'OPTVINYL' || configStep.option == 'OPTVINYL_1' || configStep.option == 'OPTFABRIC' || configStep.option == 'OPTBE' || configStep.option == 'OPTBE_AUSSEN' || configStep.option == 'OPTBE_INNEN' || configStep.option == 'OPTBE_PANEELE' || configStep.option == 'OPTMATRATZE_BE' || configStep.option == 'OPTBE_UG' || configStep.option == 'OPTBEZUG' || configStep.option == 'OPTKO' || configStep.option == 'OPTFR' || configStep.option == 'OPTNI' || configStep.option == 'OPTUF_FA' || configStep.option == 'OPTBE_NETZ' || configStep.option == 'OPTBE_AL' || configStep.option == 'OPTKISSEN_BE' || configStep.option == 'OPTKP_BE' || configStep.option == 'OPTARM_BE' || configStep.option == 'OPTBE_KT' || configStep.option == 'OPT3' || configStep.option == 'OPT5' || configStep.option == 'OPTBE_KNOEPFE' || configStep.option == 'OPTSK_FARBE' || configStep.option == 'OPTBANDFARBE' || configStep.option == 'OPTBE_BOX' || configStep.option == 'OPTMA_AF_BE' || configStep.option == 'OPTTOPPER_BE' || optionState.option.hasOPG && optionState.hasImages || optionStep.mergesToOPG) {
26712
+ var _set$getDivaArticles$;
26713
+ var optionState = (_set$getDivaArticles$ = set.getDivaArticles()[configStep.targetArticles[0]]) === null || _set$getDivaArticles$ === void 0 ? void 0 : _set$getDivaArticles$.getArticleOptionState(configStep.option);
26714
+ if (configStep.option == 'OPTVINYL' || configStep.option == 'OPTVINYL_1' || configStep.option == 'OPTFABRIC' || configStep.option == 'OPTBE' || configStep.option == 'OPTBE_AUSSEN' || configStep.option == 'OPTBE_INNEN' || configStep.option == 'OPTBE_PANEELE' || configStep.option == 'OPTMATRATZE_BE' || configStep.option == 'OPTBE_UG' || configStep.option == 'OPTBEZUG' || configStep.option == 'OPTKO' || configStep.option == 'OPTFR' || configStep.option == 'OPTNI' || configStep.option == 'OPTUF_FA' || configStep.option == 'OPTBE_NETZ' || configStep.option == 'OPTBE_AL' || configStep.option == 'OPTKISSEN_BE' || configStep.option == 'OPTKP_BE' || configStep.option == 'OPTARM_BE' || configStep.option == 'OPTBE_KT' || configStep.option == 'OPT3' || configStep.option == 'OPT5' || configStep.option == 'OPTBE_KNOEPFE' || configStep.option == 'OPTSK_FARBE' || configStep.option == 'OPTBANDFARBE' || configStep.option == 'OPTBE_BOX' || configStep.option == 'OPTMA_AF_BE' || configStep.option == 'OPTTOPPER_BE' || optionState !== null && optionState !== void 0 && optionState.option.hasOPG && optionState.hasImages || optionStep.mergesToOPG) {
26687
26715
  paletteType = 'GAL';
26688
26716
  }
26689
26717
  if (configStep.option == 'OPTBA' && !optionState.option.layout) {
@@ -26710,11 +26738,14 @@ var DivaConfigTreeData = /*#__PURE__*/function () {
26710
26738
  paletteType = 'GAL';
26711
26739
  }
26712
26740
  }
26741
+ if ((_set$api$ReturnToFrom = set.api.ReturnToFromParams) !== null && _set$api$ReturnToFrom !== void 0 && _set$api$ReturnToFrom.includes('FAVORITS')) if (paletteType == 'DROPDOWN_IMAGE' || paletteType == 'DROPDOWN_TEXT' || paletteType == 'TOGGLE_NAME' || paletteType == 'TOGGLE') {
26742
+ paletteType = 'SMALL';
26743
+ }
26713
26744
  return paletteType;
26714
26745
  }
26715
26746
  }, {
26716
26747
  key: "getStepInfo",
26717
- value: function getStepInfo(configStepKey, optionStatesOfArticle) {
26748
+ value: function getStepInfo(configStepKey) {
26718
26749
  var allSteps = this.getAllByKey(configStepKey);
26719
26750
  if (allSteps !== null && allSteps !== void 0 && allSteps.optionStep) ;
26720
26751
  if (allSteps !== null && allSteps !== void 0 && allSteps.configStep.warning) return allSteps.configStep.warning;
@@ -26746,7 +26777,7 @@ var DivaConfigTreeData = /*#__PURE__*/function () {
26746
26777
  }
26747
26778
  }, {
26748
26779
  key: "getCurFilterType",
26749
- value: function getCurFilterType(configStepKey, articles, confgiItems) {
26780
+ value: function getCurFilterType(configStepKey, confgiItems) {
26750
26781
  var configStep = this.getConfigStepByKey(configStepKey);
26751
26782
  var filterType = '';
26752
26783
  if (configStep) {
@@ -27037,7 +27068,6 @@ var DivaSet = /*#__PURE__*/function () {
27037
27068
  _defineProperty__default["default"](this, "setId", void 0);
27038
27069
  _defineProperty__default["default"](this, "_isActSet", false);
27039
27070
  _defineProperty__default["default"](this, "setData", void 0);
27040
- _defineProperty__default["default"](this, "_onlyCalcVariants", void 0);
27041
27071
  _defineProperty__default["default"](this, "divaArticles", void 0);
27042
27072
  //Schlüssel ist basketId
27043
27073
  _defineProperty__default["default"](this, "configSingleData", void 0);
@@ -27828,16 +27858,6 @@ var DivaSet = /*#__PURE__*/function () {
27828
27858
  value: function addArticle(newArticle) {
27829
27859
  this.divaArticles[newArticle.basketId] = newArticle;
27830
27860
  }
27831
- }, {
27832
- key: "getOptionStatesOfArticles",
27833
- value: function getOptionStatesOfArticles() {
27834
- var articles = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.divaArticles;
27835
- var ret = {};
27836
- for (var key in articles) {
27837
- ret[key] = articles[key].articleOptionStates;
27838
- }
27839
- return ret;
27840
- }
27841
27861
  }, {
27842
27862
  key: "sortDivaArticlesByArticlePosNr",
27843
27863
  value: function sortDivaArticlesByArticlePosNr() {
@@ -28221,7 +28241,7 @@ var DivaSet = /*#__PURE__*/function () {
28221
28241
  break;
28222
28242
  }
28223
28243
  _context4.next = 3;
28224
- return Promise.resolve().then(function () { return require('./DoorPlanner-e98cc91c.js'); });
28244
+ return Promise.resolve().then(function () { return require('./DoorPlanner-f6c4843f.js'); });
28225
28245
  case 3:
28226
28246
  _yield$import = _context4.sent;
28227
28247
  DoorPlanner = _yield$import["default"];
@@ -28286,14 +28306,6 @@ var DivaSet = /*#__PURE__*/function () {
28286
28306
  get: function get() {
28287
28307
  return this.setState;
28288
28308
  }
28289
- }, {
28290
- key: "onlyCalcVariants",
28291
- get: function get() {
28292
- return this._onlyCalcVariants;
28293
- },
28294
- set: function set(val) {
28295
- this._onlyCalcVariants = val;
28296
- }
28297
28309
 
28298
28310
  /**
28299
28311
  *
@@ -29745,7 +29757,7 @@ var DivaFavoritesHandler = /*#__PURE__*/function () {
29745
29757
  key: "getValidVariants",
29746
29758
  value: function () {
29747
29759
  var _getValidVariants = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee3(set, useCache) {
29748
- var allvariants, validVariants, i, _set$onlyCalcVariants;
29760
+ var allvariants, validVariants, i;
29749
29761
  return _regeneratorRuntime__default["default"].wrap(function _callee3$(_context4) {
29750
29762
  while (1) switch (_context4.prev = _context4.next) {
29751
29763
  case 0:
@@ -29765,11 +29777,7 @@ var DivaFavoritesHandler = /*#__PURE__*/function () {
29765
29777
  allvariants = _context4.t0;
29766
29778
  validVariants = [];
29767
29779
  for (i = 0; i < allvariants.length; i++) {
29768
- if (!set.disabledVariants.includes(allvariants[i].id)) {
29769
- if (!((_set$onlyCalcVariants = set.onlyCalcVariants) !== null && _set$onlyCalcVariants !== void 0 && _set$onlyCalcVariants.length) || set.onlyCalcVariants.includes(allvariants[i].id)) {
29770
- validVariants.push(allvariants[i]);
29771
- }
29772
- }
29780
+ if (!set.disabledVariants.includes(allvariants[i].id)) validVariants.push(allvariants[i]);
29773
29781
  }
29774
29782
  return _context4.abrupt("return", validVariants);
29775
29783
  case 11:
@@ -30431,25 +30439,24 @@ var DivaConfigTreeHandler = /*#__PURE__*/function () {
30431
30439
  key: "getConifgItemsForView",
30432
30440
  value: function () {
30433
30441
  var _getConifgItemsForView = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee(set, configStepKey) {
30434
- var optionStatesOfArticles, articles, step, retValues, optionCodex, configItems, selectedItems, optionState, key, _configItem$parent$oc, configItem, configItemsInOPG, retVal, _retVal, configStepOPG, configStepOPV, targetArticle, opg, ops, selectedOpv, originalVariantValues, seomethingChanged, variantValues, _key, _set$favorites$Varian, _set$favorites, alreadyCalcedVisibleOPVs, i, _ops$optionOcd2, _retVal2, clonedConfigItemsForView, _i, _configItems;
30442
+ var articles, step, retValues, optionCodex, configItems, selectedItems, optionState, key, _configItem$parent$oc, configItem, configItemsInOPG, retVal, _retVal, configStepOPG, configStepOPV, targetArticle, opg, ops, selectedOpv, originalVariantValues, seomethingChanged, variantValues, _key, _set$favorites$Varian, _set$favorites, alreadyCalcedVisibleOPVs, i, _ops$optionOcd2, _retVal2, clonedConfigItemsForView, _i, _configItems;
30435
30443
  return _regeneratorRuntime__default["default"].wrap(function _callee$(_context) {
30436
30444
  while (1) switch (_context.prev = _context.next) {
30437
30445
  case 0:
30438
- optionStatesOfArticles = set.getOptionStatesOfArticles(set.getDivaArticles(true));
30439
30446
  articles = set.getDivaArticles(true);
30440
30447
  step = set.configTree.getAllByKey(configStepKey);
30441
30448
  retValues = this.getConfigItems(configStepKey, articles, set.configTree);
30442
30449
  optionCodex = undefined;
30443
30450
  if (!(retValues && step != null)) {
30444
- _context.next = 55;
30451
+ _context.next = 54;
30445
30452
  break;
30446
30453
  }
30447
30454
  configItems = [];
30448
30455
  selectedItems = retValues.selectedVals;
30449
- optionState = optionStatesOfArticles[retValues.targetArticles[0]][retValues.optionCodex];
30456
+ optionState = articles[retValues.targetArticles[0]].getArticleOptionState(retValues.optionCodex);
30450
30457
  optionCodex = optionState.optionCodex;
30451
30458
  if (!retValues.isOPG) {
30452
- _context.next = 14;
30459
+ _context.next = 13;
30453
30460
  break;
30454
30461
  }
30455
30462
  for (key in retValues.configItems) {
@@ -30461,26 +30468,26 @@ var DivaConfigTreeHandler = /*#__PURE__*/function () {
30461
30468
  configItems = configItems.concat(retVal.myConfigItemsForView);
30462
30469
  }
30463
30470
  }
30464
- _context.next = 52;
30471
+ _context.next = 51;
30465
30472
  break;
30466
- case 14:
30473
+ case 13:
30467
30474
  if (!(step.optionStep.mergesToOPG == undefined)) {
30468
- _context.next = 19;
30475
+ _context.next = 18;
30469
30476
  break;
30470
30477
  }
30471
30478
  _retVal = this.prepareConfigItemsForView(set, optionState, retValues.configItems, retValues.constructionRules, selectedItems, step.configStep.targetArticles, undefined, undefined, undefined, undefined, retValues.freeTextValue, retValues.freeTextLang);
30472
30479
  configItems = _retVal.myConfigItemsForView;
30473
- _context.next = 52;
30480
+ _context.next = 51;
30474
30481
  break;
30475
- case 19:
30482
+ case 18:
30476
30483
  if (!(typeof step.optionStep.mergesToOPG == 'string' && step.tabGroup.options[step.optionStep.mergesToOPG])) {
30477
- _context.next = 52;
30484
+ _context.next = 51;
30478
30485
  break;
30479
30486
  }
30480
30487
  //IDM Bezugschritte werden zusammengefasst zu OPG und OPV
30481
30488
  configStepOPG = step.configStep, configStepOPV = set.configTree.getConfigStepBasketIdAndOptionCodex(configStepOPG.targetArticles[0], step.optionStep.mergesToOPG); //falls mehrere Artikel im Schritt sind werden trotzdem nur die Values des erster verwendet um die z.B. OPT2 und OPT3 zu vereinen
30482
30489
  if (!configStepOPV) {
30483
- _context.next = 52;
30490
+ _context.next = 51;
30484
30491
  break;
30485
30492
  }
30486
30493
  targetArticle = articles[configStepOPG.targetArticles[0]];
@@ -30491,9 +30498,9 @@ var DivaConfigTreeHandler = /*#__PURE__*/function () {
30491
30498
  seomethingChanged = false;
30492
30499
  variantValues = {};
30493
30500
  _context.t0 = _regeneratorRuntime__default["default"].keys(opg.visibleOptionValues);
30494
- case 30:
30501
+ case 29:
30495
30502
  if ((_context.t1 = _context.t0()).done) {
30496
- _context.next = 48;
30503
+ _context.next = 47;
30497
30504
  break;
30498
30505
  }
30499
30506
  _key = _context.t1.value;
@@ -30501,7 +30508,7 @@ var DivaConfigTreeHandler = /*#__PURE__*/function () {
30501
30508
  variantValues[opg.optionCodex] = opg.visibleOptionValues[_key].codex;
30502
30509
  alreadyCalcedVisibleOPVs = targetArticle.getMergesToOPG(opg.optionCodex + '_' + opg.visibleOptionValues[_key].codex, JSON.stringify(targetArticle.getVariantValuesTillOPT(opg.optionCodex)));
30503
30510
  if (!(alreadyCalcedVisibleOPVs != undefined && Object.keys((_set$favorites$Varian = (_set$favorites = set.favorites) === null || _set$favorites === void 0 ? void 0 : _set$favorites.VariantValues) !== null && _set$favorites$Varian !== void 0 ? _set$favorites$Varian : {}).length == 0)) {
30504
- _context.next = 39;
30511
+ _context.next = 38;
30505
30512
  break;
30506
30513
  }
30507
30514
  //die merged OPG wurde bereist ausgerechnet und kann wiederverwendet werden. nur die Selected value muss repariert werden
@@ -30513,35 +30520,35 @@ var DivaConfigTreeHandler = /*#__PURE__*/function () {
30513
30520
  }
30514
30521
  }
30515
30522
  configItems = configItems.concat(alreadyCalcedVisibleOPVs);
30516
- _context.next = 46;
30523
+ _context.next = 45;
30517
30524
  break;
30518
- case 39:
30525
+ case 38:
30519
30526
  seomethingChanged = true;
30520
- _context.next = 42;
30527
+ _context.next = 41;
30521
30528
  return articleHandlerInstance.updateCfgValues(targetArticle, variantValues, {}, true, true, true);
30522
- case 42:
30529
+ case 41:
30523
30530
  _retVal2 = this.prepareConfigItemsForView(set, optionState, targetArticle.getArticleOptionState(ops.optionCodex).visibleOptionValues, retValues.constructionRules, [], step.configStep.targetArticles, (_ops$optionOcd2 = ops.optionOcd) !== null && _ops$optionOcd2 !== void 0 ? _ops$optionOcd2 : ops.optionCodex, opg.visibleOptionValues[_key].name, opg.visibleOptionValues[_key].codex, opg.optionCodex);
30524
30531
  configItems = configItems.concat(_retVal2.myConfigItemsForView);
30525
30532
  clonedConfigItemsForView = JSON.parse(JSON.stringify(_retVal2.myConfigItemsForView));
30526
30533
  targetArticle.addMergesToOPG(opg.optionCodex + '_' + opg.visibleOptionValues[_key].codex, JSON.stringify(targetArticle.getVariantValuesTillOPT(opg.optionCodex)), clonedConfigItemsForView);
30527
- case 46:
30528
- _context.next = 30;
30534
+ case 45:
30535
+ _context.next = 29;
30529
30536
  break;
30530
- case 48:
30537
+ case 47:
30531
30538
  if (!seomethingChanged) {
30532
- _context.next = 51;
30539
+ _context.next = 50;
30533
30540
  break;
30534
30541
  }
30535
- _context.next = 51;
30542
+ _context.next = 50;
30536
30543
  return setHandlerInstance.updateArticlesOptionStatesOfActSet(set, originalVariantValues, [targetArticle.basketId], true, 'calcVariant');
30537
- case 51:
30544
+ case 50:
30538
30545
  for (_i = 0; _i < configItems.length; _i++) {
30539
30546
  if (configItems[_i].codex == (selectedOpv === null || selectedOpv === void 0 ? void 0 : selectedOpv.codex)) {
30540
30547
  selectedItems = [selectedOpv.codex];
30541
30548
  configItems[_i].sel = true;
30542
30549
  }
30543
30550
  }
30544
- case 52:
30551
+ case 51:
30545
30552
  return _context.abrupt("return", {
30546
30553
  configItems: configItems,
30547
30554
  option: optionCodex ? set.CatalogData.getOption(optionCodex) : undefined,
@@ -30552,13 +30559,13 @@ var DivaConfigTreeHandler = /*#__PURE__*/function () {
30552
30559
  }),
30553
30560
  notTotallyMatichingOPVs: !set.CatalogData.articleConfigAll ? retValues.notTotallyMatichingOPVs : undefined
30554
30561
  });
30555
- case 55:
30562
+ case 54:
30556
30563
  _configItems = [];
30557
30564
  return _context.abrupt("return", {
30558
30565
  configItems: _configItems,
30559
30566
  selectedItems: []
30560
30567
  });
30561
- case 57:
30568
+ case 56:
30562
30569
  case "end":
30563
30570
  return _context.stop();
30564
30571
  }
@@ -30585,10 +30592,10 @@ var DivaConfigTreeHandler = /*#__PURE__*/function () {
30585
30592
  notTotallyMatichingOPVs = false,
30586
30593
  myOptionState = undefined;
30587
30594
  for (var i = 0; i < configStep.targetArticles.length; i++) {
30595
+ var _myOptionState;
30588
30596
  var article = articles[configStep.targetArticles[i]];
30589
- var myOptions = article.articleOptionStates;
30590
- myOptionState = myOptions[configStep.option];
30591
- if (myOptionState.option.hasOPG) isOPG = true;
30597
+ myOptionState = article.getArticleOptionState(configStep.option);
30598
+ if ((_myOptionState = myOptionState) !== null && _myOptionState !== void 0 && (_myOptionState = _myOptionState.option) !== null && _myOptionState !== void 0 && _myOptionState.hasOPG) isOPG = true;
30592
30599
  selectedVals = selectedVals.concat(myOptionState.getSelectedVals);
30593
30600
  if (myOptionState.isFreeText && myOptionState.freeText) {
30594
30601
  freeTextValue = myOptionState.freeText;
@@ -30701,12 +30708,13 @@ var DivaConfigTreeHandler = /*#__PURE__*/function () {
30701
30708
  */
30702
30709
  }, {
30703
30710
  key: "checkIfLoadedArticlesAreConfigSingle",
30704
- value: function checkIfLoadedArticlesAreConfigSingle(optionStatesOfArticles) {
30711
+ value: function checkIfLoadedArticlesAreConfigSingle(set) {
30705
30712
  var optionValues = {},
30706
30713
  ret = false;
30707
- for (var ikey in optionStatesOfArticles) {
30708
- for (var jKey in optionStatesOfArticles[ikey]) {
30709
- var optionState = optionStatesOfArticles[ikey][jKey];
30714
+ var articles = set.getDivaArticles();
30715
+ for (var basketId in articles) {
30716
+ for (var jKey in articles[basketId].articleOptionStates) {
30717
+ var optionState = articles[basketId].articleOptionStates[jKey];
30710
30718
  if (optionState.headerPosVariationType == 'K') {
30711
30719
  if (optionValues[optionState.optionCodex] == undefined) {
30712
30720
  optionValues[optionState.optionCodex] = optionState.valCodex ? optionState.valCodex : null;
@@ -30730,7 +30738,7 @@ var DivaConfigTreeHandler = /*#__PURE__*/function () {
30730
30738
  var myConfigItemsForView = [],
30731
30739
  objectKeys = Object.keys(myConfigItems);
30732
30740
  var _loop8 = function _loop8() {
30733
- var _ops$optionOcd3, _item$colorGroups, _item$pdfUrl, _item$url;
30741
+ var _ops$optionOcd3, _item$images, _item$colorGroups, _item$pdfUrl, _item$url;
30734
30742
  var item = myConfigItems[objectKeys[i]];
30735
30743
  var key = objectKeys[i];
30736
30744
  var groupName = item.groupName ? item.groupName : idmOpgGroupName;
@@ -30759,7 +30767,7 @@ var DivaConfigTreeHandler = /*#__PURE__*/function () {
30759
30767
  codex: item.codex,
30760
30768
  ocd: item.ocd,
30761
30769
  vCodex: item.vCodex,
30762
- layout: item.isTexture ? 'TEXTURE' : item.image ? 'IMAGE' : 'TEXT',
30770
+ layout: item.isTexture ? 'TEXTURE' : item.image || (_item$images = item.images) !== null && _item$images !== void 0 && _item$images.length ? 'IMAGE' : 'TEXT',
30763
30771
  image: image,
30764
30772
  zoomImage: zoomImage,
30765
30773
  hexColor: item.hexColor,
@@ -31151,7 +31159,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
31151
31159
  _context4.next = 72;
31152
31160
  break;
31153
31161
  case 85:
31154
- set.configSingle = configTreeHandler.checkIfLoadedArticlesAreConfigSingle(set.getOptionStatesOfArticles());
31162
+ set.configSingle = configTreeHandler.checkIfLoadedArticlesAreConfigSingle(set);
31155
31163
  _context4.next = 88;
31156
31164
  return this.updateArticlesOptionStatesOfActSet(set, {}, [], undefined, 'initializing');
31157
31165
  case 88:
@@ -32627,23 +32635,22 @@ var DivaSetHandler = /*#__PURE__*/function () {
32627
32635
  value: function () {
32628
32636
  var _loadConfigItemsOfActSetByConfigStepKey = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee22(set, configStepKey, visible) {
32629
32637
  var _configItems$option;
32630
- var optionStatesOfArticle, configItems, paletteType, filterType, stepInfo, contentItemId;
32638
+ var configItems, paletteType, filterType, stepInfo, contentItemId;
32631
32639
  return _regeneratorRuntime__default["default"].wrap(function _callee22$(_context24) {
32632
32640
  while (1) switch (_context24.prev = _context24.next) {
32633
32641
  case 0:
32634
- optionStatesOfArticle = set.getOptionStatesOfArticles(set.getDivaArticles(true));
32635
- _context24.next = 3;
32642
+ _context24.next = 2;
32636
32643
  return configTreeHandler.getConifgItemsForView(set, configStepKey);
32637
- case 3:
32644
+ case 2:
32638
32645
  configItems = _context24.sent;
32639
- paletteType = set.configTree.getCurPaletteType(set, configStepKey, optionStatesOfArticle);
32646
+ paletteType = set.configTree.getCurPaletteType(set, configStepKey);
32640
32647
  configItems.configItems = this.removeDockingInfluencableconfigItems(set, configItems.configItems, configStepKey);
32641
- _context24.next = 8;
32648
+ _context24.next = 7;
32642
32649
  return this.variantsEvaluator(set, configItems.configItems, configStepKey, paletteType);
32643
- case 8:
32650
+ case 7:
32644
32651
  configItems.configItems = _context24.sent;
32645
- filterType = set.configTree.getCurFilterType(configStepKey, optionStatesOfArticle, configItems.configItems);
32646
- stepInfo = set.configTree.getStepInfo(configStepKey, optionStatesOfArticle);
32652
+ filterType = set.configTree.getCurFilterType(configStepKey, configItems.configItems);
32653
+ stepInfo = set.configTree.getStepInfo(configStepKey);
32647
32654
  contentItemId = (_configItems$option = configItems.option) === null || _configItems$option === void 0 ? void 0 : _configItems$option.contentItemId;
32648
32655
  return _context24.abrupt("return", _objectSpread$9(_objectSpread$9(_objectSpread$9({
32649
32656
  isRenderedNotInSettingPalette: set.configTree.isRenderedNotInSettingPalette(configStepKey),
@@ -32656,7 +32663,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
32656
32663
  }, set.configTree.getOptionStuff(configStepKey, set)), {}, {
32657
32664
  contentItemId: contentItemId
32658
32665
  }));
32659
- case 13:
32666
+ case 12:
32660
32667
  case "end":
32661
32668
  return _context24.stop();
32662
32669
  }
@@ -34847,7 +34854,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
34847
34854
  break;
34848
34855
  case 3:
34849
34856
  _context12.next = 5;
34850
- return Promise.resolve().then(function () { return require('./PfisterWWSHandler-4a6d833a.js'); });
34857
+ return Promise.resolve().then(function () { return require('./PfisterWWSHandler-9c9dd41d.js'); });
34851
34858
  case 5:
34852
34859
  _yield$import = _context12.sent;
34853
34860
  PfisterWWSHandler = _yield$import["default"];
@@ -34855,7 +34862,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
34855
34862
  return _context12.abrupt("break", 27);
34856
34863
  case 9:
34857
34864
  _context12.next = 11;
34858
- return Promise.resolve().then(function () { return require('./LiviqueWWSHandler-e144ed04.js'); });
34865
+ return Promise.resolve().then(function () { return require('./LiviqueWWSHandler-5976147e.js'); });
34859
34866
  case 11:
34860
34867
  _yield$import2 = _context12.sent;
34861
34868
  LiviqueWWSHandler = _yield$import2["default"];
@@ -34863,7 +34870,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
34863
34870
  return _context12.abrupt("break", 27);
34864
34871
  case 15:
34865
34872
  _context12.next = 17;
34866
- return Promise.resolve().then(function () { return require('./SeriousBasketHandler-8530c15f.js'); });
34873
+ return Promise.resolve().then(function () { return require('./SeriousBasketHandler-99a76472.js'); });
34867
34874
  case 17:
34868
34875
  _yield$import3 = _context12.sent;
34869
34876
  SeriousWWSHandler = _yield$import3["default"];
@@ -34871,7 +34878,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
34871
34878
  return _context12.abrupt("break", 27);
34872
34879
  case 21:
34873
34880
  _context12.next = 23;
34874
- return Promise.resolve().then(function () { return require('./StandardWWSHandler-cd08ca46.js'); });
34881
+ return Promise.resolve().then(function () { return require('./StandardWWSHandler-3def2f67.js'); });
34875
34882
  case 23:
34876
34883
  _yield$import4 = _context12.sent;
34877
34884
  StandardWWSHandler = _yield$import4["default"];
@@ -35686,6 +35693,7 @@ var Rendering = /*#__PURE__*/function () {
35686
35693
  }, {
35687
35694
  key: "hasUIInfosOfElement",
35688
35695
  value: function hasUIInfosOfElement(setId, elementid) {
35696
+ if (this.hasStaticBackground) return false; //when the rendering has static background, no UI Info is loaded d
35689
35697
  if (this.uiInfo[setId] == undefined && this.uiInfo['S1'] != undefined) {
35690
35698
  return this.uiInfo['S1']['E' + elementid] != undefined;
35691
35699
  } else {
@@ -36384,7 +36392,7 @@ var PlannerHandler3D = /*#__PURE__*/function () {
36384
36392
  while (1) switch (_context3.prev = _context3.next) {
36385
36393
  case 0:
36386
36394
  _context3.next = 2;
36387
- return Promise.resolve().then(function () { return require('./Host3DSignalR-b507198e.js'); });
36395
+ return Promise.resolve().then(function () { return require('./Host3DSignalR-ceb795ca.js'); });
36388
36396
  case 2:
36389
36397
  _yield$import = _context3.sent;
36390
36398
  Host3DSignalR = _yield$import["default"];
@@ -37943,7 +37951,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
37943
37951
  break;
37944
37952
  case 8:
37945
37953
  _context4.next = 10;
37946
- return Promise.resolve().then(function () { return require('./DivaStandardPlanner-64e0b280.js'); });
37954
+ return Promise.resolve().then(function () { return require('./DivaStandardPlanner-4feff250.js'); });
37947
37955
  case 10:
37948
37956
  _yield$import = _context4.sent;
37949
37957
  DivaStandardPlanner = _yield$import["default"];
@@ -37954,7 +37962,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
37954
37962
  return _context4.abrupt("break", 21);
37955
37963
  case 15:
37956
37964
  _context4.next = 17;
37957
- return Promise.resolve().then(function () { return require('./DivaBoxPlanner-a902a2b5.js'); });
37965
+ return Promise.resolve().then(function () { return require('./DivaBoxPlanner-8df05a27.js'); });
37958
37966
  case 17:
37959
37967
  _yield$import2 = _context4.sent;
37960
37968
  DivaBoxPlanner = _yield$import2["default"];
@@ -39711,7 +39719,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
39711
39719
  case 29:
39712
39720
  set = this.actSet();
39713
39721
  oldProductId = this.divaBasketHandler.actBasket.MatchingProductId || this.divaBasketHandler.actBasket.OrigProductId;
39714
- if (!(oldProductId && set)) {
39722
+ if (!(oldProductId && set && set !== null && set !== void 0 && set.api.doCheckForProductsPrice())) {
39715
39723
  _context13.next = 38;
39716
39724
  break;
39717
39725
  }
@@ -40600,6 +40608,12 @@ var DivaWebPlanner = /*#__PURE__*/function () {
40600
40608
  value: function eventIsManagedByClient(event) {
40601
40609
  return this.api.eventIsManagedByClient(event);
40602
40610
  }
40611
+ }, {
40612
+ key: "showModal",
40613
+ value: function showModal(data) {
40614
+ var _this$actions21;
40615
+ (_this$actions21 = this.actions) === null || _this$actions21 === void 0 || _this$actions21.openModal(data);
40616
+ }
40603
40617
  }, {
40604
40618
  key: "logGA",
40605
40619
  value: function logGA(action) {
@@ -40617,25 +40631,25 @@ var DivaWebPlanner = /*#__PURE__*/function () {
40617
40631
  }, {
40618
40632
  key: "callEvent",
40619
40633
  value: function callEvent(event, param) {
40620
- var _this$actions21, _this$actions22, _this$actions23, _this$actions24;
40634
+ var _this$actions22, _this$actions23, _this$actions24, _this$actions25;
40621
40635
  switch (event) {
40622
40636
  case 'onFullscreenClose':
40623
- (_this$actions21 = this.actions) === null || _this$actions21 === void 0 || _this$actions21.onEvent({
40637
+ (_this$actions22 = this.actions) === null || _this$actions22 === void 0 || _this$actions22.onEvent({
40624
40638
  type: 'onFullscreenClose'
40625
40639
  });
40626
40640
  break;
40627
40641
  case 'onWebPlanerClose':
40628
- (_this$actions22 = this.actions) === null || _this$actions22 === void 0 || _this$actions22.onEvent({
40642
+ (_this$actions23 = this.actions) === null || _this$actions23 === void 0 || _this$actions23.onEvent({
40629
40643
  type: 'onWebPlanerClose'
40630
40644
  });
40631
40645
  break;
40632
40646
  case 'onWebPlanerHelp':
40633
- (_this$actions23 = this.actions) === null || _this$actions23 === void 0 || _this$actions23.onEvent({
40647
+ (_this$actions24 = this.actions) === null || _this$actions24 === void 0 || _this$actions24.onEvent({
40634
40648
  type: 'onWebPlanerHelp'
40635
40649
  });
40636
40650
  break;
40637
40651
  case 'onWebPlanerZoomClick':
40638
- (_this$actions24 = this.actions) === null || _this$actions24 === void 0 || _this$actions24.onEvent({
40652
+ (_this$actions25 = this.actions) === null || _this$actions25 === void 0 || _this$actions25.onEvent({
40639
40653
  type: 'onWebPlanerZoomClick',
40640
40654
  data: param
40641
40655
  });
@@ -40646,14 +40660,14 @@ var DivaWebPlanner = /*#__PURE__*/function () {
40646
40660
  key: "saveToBasketWrapper",
40647
40661
  value: function () {
40648
40662
  var _saveToBasketWrapper = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee25(event, repairOnly, force) {
40649
- var _this$actions26,
40650
- _this$actions26$toggl,
40651
- _this$actions27,
40663
+ var _this$actions27,
40652
40664
  _this$actions27$toggl,
40665
+ _this$actions28,
40666
+ _this$actions28$toggl,
40653
40667
  _this2 = this,
40654
- _this$actions31,
40668
+ _this$actions32,
40655
40669
  _this$i18n14;
40656
- 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;
40670
+ 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;
40657
40671
  return _regeneratorRuntime__default["default"].wrap(function _callee25$(_context25) {
40658
40672
  while (1) switch (_context25.prev = _context25.next) {
40659
40673
  case 0:
@@ -40692,25 +40706,25 @@ var DivaWebPlanner = /*#__PURE__*/function () {
40692
40706
  _context25.next = 20;
40693
40707
  break;
40694
40708
  }
40695
- (_this$actions25 = this.actions) === null || _this$actions25 === void 0 || _this$actions25.onEvent({
40709
+ (_this$actions26 = this.actions) === null || _this$actions26 === void 0 || _this$actions26.onEvent({
40696
40710
  type: finalEvent.event
40697
40711
  });
40698
40712
  return _context25.abrupt("return", 'canceled');
40699
40713
  case 20:
40700
40714
  returnTo = finalEvent.event == 'onAddToBasket' ? 'OPEN_PDF' : returnTo;
40701
40715
  case 21:
40702
- (_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);
40716
+ (_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);
40703
40717
  _context25.next = 24;
40704
40718
  return this.saveToBasket(finalEvent.event, repairOnly, force);
40705
40719
  case 24:
40706
40720
  result = _context25.sent;
40707
- (_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);
40721
+ (_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);
40708
40722
  if (!(result === 'canceled')) {
40709
40723
  _context25.next = 30;
40710
40724
  break;
40711
40725
  }
40712
40726
  LOG$1.error(new DivaUtils.DivaError('failed to save Basket'));
40713
- (_this$actions28 = this.actions) === null || _this$actions28 === void 0 || _this$actions28.openModal({
40727
+ (_this$actions29 = this.actions) === null || _this$actions29 === void 0 || _this$actions29.openModal({
40714
40728
  text: ((_this$i18n8 = this.i18n()) === null || _this$i18n8 === void 0 ? void 0 : _this$i18n8.t('modal.general_error')) + ' --- ' + DivaUtils__default["default"].formatDate(new Date(), true, undefined, true) + ' --- ' + DivaUtils__default["default"].getCurrentTraceId() ? ((_this$i18n9 = this.i18n()) === null || _this$i18n9 === void 0 ? void 0 : _this$i18n9.t('modal.errorcode')) + ': ' + DivaUtils__default["default"].getCurrentTraceId() : '',
40715
40729
  accept: true
40716
40730
  });
@@ -40724,12 +40738,12 @@ var DivaWebPlanner = /*#__PURE__*/function () {
40724
40738
  LOG$1.error(new DivaUtils.DivaError('PDF url is missing in basket', {
40725
40739
  code: 'WC_0010'
40726
40740
  }));
40727
- (_this$actions29 = this.actions) === null || _this$actions29 === void 0 || _this$actions29.openModal({
40741
+ (_this$actions30 = this.actions) === null || _this$actions30 === void 0 || _this$actions30.openModal({
40728
40742
  text: ((_this$i18n10 = this.i18n()) === null || _this$i18n10 === void 0 ? void 0 : _this$i18n10.t('modal.general_error')) + ' --- ' + DivaUtils__default["default"].formatDate(new Date(), true, undefined, true) + ' --- ' + DivaUtils__default["default"].getCurrentTraceId() ? ((_this$i18n11 = this.i18n()) === null || _this$i18n11 === void 0 ? void 0 : _this$i18n11.t('modal.errorcode')) + ': ' + DivaUtils__default["default"].getCurrentTraceId() : '',
40729
40743
  accept: true
40730
40744
  });
40731
40745
  } else {
40732
- (_this$actions30 = this.actions) === null || _this$actions30 === void 0 || _this$actions30.openModal({
40746
+ (_this$actions31 = this.actions) === null || _this$actions31 === void 0 || _this$actions31.openModal({
40733
40747
  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'),
40734
40748
  accept: (_this$i18n13 = this.i18n()) === null || _this$i18n13 === void 0 ? void 0 : _this$i18n13.t('modals.open_now'),
40735
40749
  callback: function callback() {
@@ -40739,7 +40753,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
40739
40753
  }
40740
40754
  return _context25.abrupt("break", 36);
40741
40755
  case 35:
40742
- (_this$actions31 = this.actions) === null || _this$actions31 === void 0 || _this$actions31.openModal({
40756
+ (_this$actions32 = this.actions) === null || _this$actions32 === void 0 || _this$actions32.openModal({
40743
40757
  text: (_this$i18n14 = this.i18n()) === null || _this$i18n14 === void 0 ? void 0 : _this$i18n14.t('modal.planning_saved'),
40744
40758
  accept: true
40745
40759
  });
@@ -40767,7 +40781,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
40767
40781
  key: "saveToBasket",
40768
40782
  value: function () {
40769
40783
  var _saveToBasket = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee26(event, repairOnly, force) {
40770
- var _returnTo, _returnTo2, _returnTo3, _this$actions32, _this$actions33, _this$actions34, _this$divaBasketHandl2;
40784
+ var _returnTo, _returnTo2, _returnTo3, _this$actions33, _this$actions34, _this$actions35, _this$divaBasketHandl2;
40771
40785
  var set, actBasket, returnTo, oldReturnTo, result, newDivaNr, _result2, product;
40772
40786
  return _regeneratorRuntime__default["default"].wrap(function _callee26$(_context26) {
40773
40787
  while (1) switch (_context26.prev = _context26.next) {
@@ -40824,8 +40838,8 @@ var DivaWebPlanner = /*#__PURE__*/function () {
40824
40838
  _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;
40825
40839
  break;
40826
40840
  case 28:
40827
- (_this$actions32 = this.actions) === null || _this$actions32 === void 0 || _this$actions32.toggleLoading('buildScene', false, false);
40828
- (_this$actions33 = this.actions) === null || _this$actions33 === void 0 || _this$actions33.openComponent({
40841
+ (_this$actions33 = this.actions) === null || _this$actions33 === void 0 || _this$actions33.toggleLoading('buildScene', false, false);
40842
+ (_this$actions34 = this.actions) === null || _this$actions34 === void 0 || _this$actions34.openComponent({
40829
40843
  type: 'SELLER',
40830
40844
  parameters: {
40831
40845
  module: 'PCreator',
@@ -40837,7 +40851,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
40837
40851
  });
40838
40852
  return _context26.abrupt("break", 52);
40839
40853
  case 31:
40840
- (_this$actions34 = this.actions) === null || _this$actions34 === void 0 || _this$actions34.openComponent({
40854
+ (_this$actions35 = this.actions) === null || _this$actions35 === void 0 || _this$actions35.openComponent({
40841
40855
  type: 'SELLER',
40842
40856
  parameters: {
40843
40857
  module: 'Basket',
@@ -40951,7 +40965,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
40951
40965
  }
40952
40966
  }
40953
40967
  if (plannerType === 'JUMP_OVER_PLANNER') {
40954
- ret = 'PLANNER';
40968
+ if (doShowPlanner) ret = 'PLANNER';
40955
40969
  plannerType = undefined;
40956
40970
  }
40957
40971
  if (plannerType === 'CUSTOMER_OPTIMIZED_PLANNER') {
@@ -40975,7 +40989,6 @@ var DivaWebPlanner = /*#__PURE__*/function () {
40975
40989
  }
40976
40990
  if (plannerType) return plannerType;
40977
40991
  if (doShowPlanner) {
40978
- // deprected; plannerType should only be used
40979
40992
  ret = 'PLANNER';
40980
40993
  }
40981
40994
  return ret;
@@ -41161,17 +41174,17 @@ var DivaWebPlanner = /*#__PURE__*/function () {
41161
41174
  key: "addToBasket",
41162
41175
  value: function () {
41163
41176
  var _addToBasket = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee28(actBasket) {
41164
- var _this$actions35,
41165
- _this$actions36,
41177
+ var _this$actions36,
41166
41178
  _this$actions37,
41167
41179
  _this$actions38,
41168
41180
  _this$actions39,
41181
+ _this$actions40,
41169
41182
  _this$divaBasketHandl4,
41170
41183
  _this3 = this,
41171
- _this$actions40,
41172
41184
  _this$actions41,
41173
41185
  _this$actions42,
41174
- _this$actions43;
41186
+ _this$actions43,
41187
+ _this$actions44;
41175
41188
  var event,
41176
41189
  emailConfig,
41177
41190
  _emailConfig$to$split,
@@ -41188,31 +41201,31 @@ var DivaWebPlanner = /*#__PURE__*/function () {
41188
41201
  _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;
41189
41202
  break;
41190
41203
  case 5:
41191
- (_this$actions35 = this.actions) === null || _this$actions35 === void 0 || _this$actions35.onEvent({
41204
+ (_this$actions36 = this.actions) === null || _this$actions36 === void 0 || _this$actions36.onEvent({
41192
41205
  type: 'onWebPlanerPrint',
41193
41206
  data: actBasket.getAsJson()
41194
41207
  });
41195
41208
  return _context28.abrupt("break", 32);
41196
41209
  case 7:
41197
- (_this$actions36 = this.actions) === null || _this$actions36 === void 0 || _this$actions36.onEvent({
41210
+ (_this$actions37 = this.actions) === null || _this$actions37 === void 0 || _this$actions37.onEvent({
41198
41211
  type: 'onWebPlanerSave',
41199
41212
  data: actBasket.getAsJson()
41200
41213
  });
41201
41214
  return _context28.abrupt("break", 32);
41202
41215
  case 9:
41203
- (_this$actions37 = this.actions) === null || _this$actions37 === void 0 || _this$actions37.onEvent({
41216
+ (_this$actions38 = this.actions) === null || _this$actions38 === void 0 || _this$actions38.onEvent({
41204
41217
  type: 'onWebPlanerShare',
41205
41218
  data: actBasket.getAsJson()
41206
41219
  });
41207
41220
  return _context28.abrupt("break", 32);
41208
41221
  case 11:
41209
- (_this$actions38 = this.actions) === null || _this$actions38 === void 0 || _this$actions38.onEvent({
41222
+ (_this$actions39 = this.actions) === null || _this$actions39 === void 0 || _this$actions39.onEvent({
41210
41223
  type: 'onRequestConsulation',
41211
41224
  data: actBasket.getAsJson()
41212
41225
  });
41213
41226
  return _context28.abrupt("break", 32);
41214
41227
  case 13:
41215
- (_this$actions39 = this.actions) === null || _this$actions39 === void 0 || _this$actions39.onEvent({
41228
+ (_this$actions40 = this.actions) === null || _this$actions40 === void 0 || _this$actions40.onEvent({
41216
41229
  type: 'onSave',
41217
41230
  data: actBasket.getAsJson()
41218
41231
  });
@@ -41247,7 +41260,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
41247
41260
  });
41248
41261
  });
41249
41262
  }
41250
- (_this$actions40 = this.actions) === null || _this$actions40 === void 0 || _this$actions40.onEvent({
41263
+ (_this$actions41 = this.actions) === null || _this$actions41 === void 0 || _this$actions41.onEvent({
41251
41264
  type: 'onAddToBasket',
41252
41265
  data: actBasket.getAsJson()
41253
41266
  });
@@ -41258,7 +41271,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
41258
41271
  return this.api.saveAsProduct(this.sets, actBasket);
41259
41272
  case 23:
41260
41273
  products = _context28.sent;
41261
- (_this$actions41 = this.actions) === null || _this$actions41 === void 0 || _this$actions41.onEvent({
41274
+ (_this$actions42 = this.actions) === null || _this$actions42 === void 0 || _this$actions42.onEvent({
41262
41275
  type: 'onAddToBasket',
41263
41276
  data: actBasket.getAsJson()
41264
41277
  });
@@ -41269,13 +41282,13 @@ var DivaWebPlanner = /*#__PURE__*/function () {
41269
41282
  return _context28.abrupt("return", products[0]);
41270
41283
  case 27:
41271
41284
  case 28:
41272
- (_this$actions42 = this.actions) === null || _this$actions42 === void 0 || _this$actions42.onEvent({
41285
+ (_this$actions43 = this.actions) === null || _this$actions43 === void 0 || _this$actions43.onEvent({
41273
41286
  type: 'onAddToBasket',
41274
41287
  data: actBasket.getAsJson()
41275
41288
  });
41276
41289
  return _context28.abrupt("break", 32);
41277
41290
  case 30:
41278
- (_this$actions43 = this.actions) === null || _this$actions43 === void 0 || _this$actions43.onEvent({
41291
+ (_this$actions44 = this.actions) === null || _this$actions44 === void 0 || _this$actions44.onEvent({
41279
41292
  type: event,
41280
41293
  data: actBasket.getAsJson()
41281
41294
  });
@@ -41296,8 +41309,8 @@ var DivaWebPlanner = /*#__PURE__*/function () {
41296
41309
  }, {
41297
41310
  key: "openPDFpostAsEvent",
41298
41311
  value: function openPDFpostAsEvent(mongoDBId) {
41299
- var _this$actions44, _this$actions45, _this$actions46;
41300
- (_this$actions44 = this.actions) === null || _this$actions44 === void 0 || _this$actions44.updateBreadcrumbs({
41312
+ var _this$actions45, _this$actions46, _this$actions47;
41313
+ (_this$actions45 = this.actions) === null || _this$actions45 === void 0 || _this$actions45.updateBreadcrumbs({
41301
41314
  type: 'update',
41302
41315
  param: {
41303
41316
  groupId: 'SHOWROOM',
@@ -41311,7 +41324,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
41311
41324
  }
41312
41325
  }
41313
41326
  });
41314
- (_this$actions45 = this.actions) === null || _this$actions45 === void 0 || _this$actions45.updateBreadcrumbs({
41327
+ (_this$actions46 = this.actions) === null || _this$actions46 === void 0 || _this$actions46.updateBreadcrumbs({
41315
41328
  type: 'update',
41316
41329
  param: {
41317
41330
  groupId: 'SHOWROOM',
@@ -41325,7 +41338,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
41325
41338
  }
41326
41339
  }
41327
41340
  });
41328
- (_this$actions46 = this.actions) === null || _this$actions46 === void 0 || _this$actions46.openComponent({
41341
+ (_this$actions47 = this.actions) === null || _this$actions47 === void 0 || _this$actions47.openComponent({
41329
41342
  type: 'REPORT',
41330
41343
  parameters: {
41331
41344
  id: mongoDBId
@@ -41545,14 +41558,14 @@ var DivaWebPlanner = /*#__PURE__*/function () {
41545
41558
  }, {
41546
41559
  key: "subscribeToWebPlannerEvents",
41547
41560
  value: function subscribeToWebPlannerEvents() {
41548
- var _this$actions47;
41549
- (_this$actions47 = this.actions) === null || _this$actions47 === void 0 || _this$actions47.subscribeEvents(this.addToBasketEventFunction);
41561
+ var _this$actions48;
41562
+ (_this$actions48 = this.actions) === null || _this$actions48 === void 0 || _this$actions48.subscribeEvents(this.addToBasketEventFunction);
41550
41563
  }
41551
41564
  }, {
41552
41565
  key: "unsubscribeFromWebPlannerEvents",
41553
41566
  value: function unsubscribeFromWebPlannerEvents() {
41554
- var _this$actions48;
41555
- (_this$actions48 = this.actions) === null || _this$actions48 === void 0 || _this$actions48.unSubscribeEvents(this.addToBasketEventFunction);
41567
+ var _this$actions49;
41568
+ (_this$actions49 = this.actions) === null || _this$actions49 === void 0 || _this$actions49.unSubscribeEvents(this.addToBasketEventFunction);
41556
41569
  }
41557
41570
  }, {
41558
41571
  key: "initApiForLogicOnly",
@@ -41620,7 +41633,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
41620
41633
  }, {
41621
41634
  key: "initBasket",
41622
41635
  value: function () {
41623
- var _initBasket = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee31(init3D, ignoreFavorites, onlyCalcVariants) {
41636
+ var _initBasket = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee31(init3D, ignoreFavorites) {
41624
41637
  var initSetState, set, basket;
41625
41638
  return _regeneratorRuntime__default["default"].wrap(function _callee31$(_context31) {
41626
41639
  while (1) switch (_context31.prev = _context31.next) {
@@ -41633,27 +41646,26 @@ var DivaWebPlanner = /*#__PURE__*/function () {
41633
41646
  case 5:
41634
41647
  //TODO check if when basket gets repaired the product match gets called
41635
41648
  set = this.actSet();
41636
- if (set) set.onlyCalcVariants = onlyCalcVariants;
41637
41649
  setHandlerInstance.loadConfigStructureOfActSet(set, this.getCurPlannerType());
41638
41650
  if (!(favoritesHandlerInstance.FavoritesDefined(set) && !ignoreFavorites)) {
41639
- _context31.next = 11;
41651
+ _context31.next = 10;
41640
41652
  break;
41641
41653
  }
41642
- _context31.next = 11;
41654
+ _context31.next = 10;
41643
41655
  return this.handleFavorites(init3D ? 'CALC' : 'REPAIR');
41644
- case 11:
41645
- _context31.next = 13;
41656
+ case 10:
41657
+ _context31.next = 12;
41646
41658
  return setHandlerInstance.fillOrderLinesAndOrderSets(this.sets, this.divaBasketHandler, !init3D, this.doAllowSetPlanner(), this.ReturnTo);
41647
- case 13:
41659
+ case 12:
41648
41660
  basket = _context31.sent;
41649
41661
  return _context31.abrupt("return", basket);
41650
- case 15:
41662
+ case 14:
41651
41663
  case "end":
41652
41664
  return _context31.stop();
41653
41665
  }
41654
41666
  }, _callee31, this);
41655
41667
  }));
41656
- function initBasket(_x79, _x80, _x81) {
41668
+ function initBasket(_x79, _x80) {
41657
41669
  return _initBasket.apply(this, arguments);
41658
41670
  }
41659
41671
  return initBasket;
@@ -41730,7 +41742,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
41730
41742
  }
41731
41743
  }, _callee33, this);
41732
41744
  }));
41733
- function handleFavorites(_x82) {
41745
+ function handleFavorites(_x81) {
41734
41746
  return _handleFavorites.apply(this, arguments);
41735
41747
  }
41736
41748
  return handleFavorites;
@@ -41784,7 +41796,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
41784
41796
  }
41785
41797
  }, _callee34, this);
41786
41798
  }));
41787
- function initSapOrderLinesFromBasket(_x83, _x84, _x85) {
41799
+ function initSapOrderLinesFromBasket(_x82, _x83, _x84) {
41788
41800
  return _initSapOrderLinesFromBasket.apply(this, arguments);
41789
41801
  }
41790
41802
  return initSapOrderLinesFromBasket;
@@ -41851,7 +41863,9 @@ var DivaWebPlanner = /*#__PURE__*/function () {
41851
41863
  var articleCodex = [];
41852
41864
  var accesoriesCodex = [];
41853
41865
  var articles = [];
41866
+ var actualBasketvalue = 0;
41854
41867
  if (set) {
41868
+ actualBasketvalue = set === null || set === void 0 ? void 0 : set.getSetPrice();
41855
41869
  for (var _i = 0, _Object$values = Object.values(set.getDivaArticles()); _i < _Object$values.length; _i++) {
41856
41870
  var article = _Object$values[_i];
41857
41871
  if (article.relatedToBasketId) {
@@ -41889,8 +41903,8 @@ var DivaWebPlanner = /*#__PURE__*/function () {
41889
41903
  article_nested: articles
41890
41904
  }
41891
41905
  });
41892
- LOG$1.businessEvent('onActualBasketValue', 'Planner', 'Aktueller Basket Value:' + this.getCurSetPrice(), {
41893
- basketValue: this.getCurSetPrice()
41906
+ LOG$1.businessEvent('onActualBasketValue', 'Planner', 'Aktueller Basket Value:' + actualBasketvalue, {
41907
+ basketValue: actualBasketvalue
41894
41908
  });
41895
41909
  }
41896
41910
  }, {
@@ -41902,7 +41916,9 @@ var DivaWebPlanner = /*#__PURE__*/function () {
41902
41916
  var allOpv = [];
41903
41917
  var latestOpv = {};
41904
41918
  var latestOpt = {};
41919
+ var actualBasketvalue = 0;
41905
41920
  if (set) {
41921
+ actualBasketvalue = set === null || set === void 0 ? void 0 : set.getSetPrice();
41906
41922
  if (myValues) {
41907
41923
  var _set$CatalogData$getO, _set$CatalogData$getO2;
41908
41924
  latestOpt = {
@@ -41982,8 +41998,8 @@ var DivaWebPlanner = /*#__PURE__*/function () {
41982
41998
  configuration_nested: configuration
41983
41999
  }
41984
42000
  });
41985
- LOG$1.businessEvent('onActualBasketValue', 'Planner', 'Aktueller Basket Value:' + this.getCurSetPrice(), {
41986
- basketValue: this.getCurSetPrice()
42001
+ LOG$1.businessEvent('onActualBasketValue', 'Planner', 'Aktueller Basket Value:' + actualBasketvalue, {
42002
+ basketValue: actualBasketvalue
41987
42003
  });
41988
42004
  }
41989
42005
  }, {