@crystaldesign/web-planner-logic 24.13.0-beta.19 → 24.13.0-beta.20

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 (43) hide show
  1. package/build/cjs/{DivaBoxPlanner-a504a175.js → DivaBoxPlanner-407b522a.js} +2 -2
  2. package/build/cjs/{DivaStandardPlanner-3dfb6e80.js → DivaStandardPlanner-2d5e2fcb.js} +2 -2
  3. package/build/cjs/{DoorPlanner-36c05859.js → DoorPlanner-b5c52f00.js} +1 -1
  4. package/build/cjs/{Host3DSignalR-e79f499a.js → Host3DSignalR-d90c84fc.js} +1 -1
  5. package/build/cjs/{LiviqueWWSHandler-18dd3594.js → LiviqueWWSHandler-e2865f37.js} +1 -1
  6. package/build/cjs/{PfisterWWSHandler-9aaa8d65.js → PfisterWWSHandler-85364fc5.js} +1 -1
  7. package/build/cjs/{PlannerHandler2D-808edf49.js → PlannerHandler2D-e2a8f28f.js} +1 -1
  8. package/build/cjs/{SeriousBasketHandler-6fdf7d50.js → SeriousBasketHandler-10541589.js} +1 -1
  9. package/build/cjs/{ShelfPlanner-fb3274cb.js → ShelfPlanner-ffca2d2f.js} +1 -1
  10. package/build/cjs/{StandardWWSHandler-35476b87.js → StandardWWSHandler-2abbb584.js} +1 -1
  11. package/build/cjs/{index-2a4d14ca.js → index-f42160a0.js} +176 -154
  12. package/build/cjs/index.js +1 -1
  13. package/build/esm/{DivaBoxPlanner-a9d8af1d.js → DivaBoxPlanner-6d8b1276.js} +2 -2
  14. package/build/esm/{DivaStandardPlanner-3a672b9f.js → DivaStandardPlanner-01ffe668.js} +2 -2
  15. package/build/esm/{DoorPlanner-549c8c25.js → DoorPlanner-9dc6e1b8.js} +1 -1
  16. package/build/esm/{Host3DSignalR-13ab6094.js → Host3DSignalR-91bc0e45.js} +1 -1
  17. package/build/esm/{LiviqueWWSHandler-75f299c2.js → LiviqueWWSHandler-fc475051.js} +1 -1
  18. package/build/esm/{PfisterWWSHandler-a8932746.js → PfisterWWSHandler-7bb3d5e6.js} +1 -1
  19. package/build/esm/{PlannerHandler2D-a8f5a302.js → PlannerHandler2D-46c4c559.js} +1 -1
  20. package/build/esm/{SeriousBasketHandler-fcb69872.js → SeriousBasketHandler-a2a6aae7.js} +1 -1
  21. package/build/esm/{ShelfPlanner-82b5ff7f.js → ShelfPlanner-1d639b0b.js} +1 -1
  22. package/build/esm/{StandardWWSHandler-29b26dbf.js → StandardWWSHandler-68a6351e.js} +1 -1
  23. package/build/esm/{index-d8eda4df.js → index-02b8c883.js} +176 -154
  24. package/build/esm/index.js +1 -1
  25. package/build/types/web-planner-logic/src/interface/Configuration.d.ts +0 -1
  26. package/build/types/web-planner-logic/src/interface/Configuration.d.ts.map +1 -1
  27. package/build/types/web-planner-logic/src/interface/OptionTypes/CatalogOptionDataTypes.d.ts +1 -0
  28. package/build/types/web-planner-logic/src/interface/OptionTypes/CatalogOptionDataTypes.d.ts.map +1 -1
  29. package/build/types/web-planner-logic/src/interface/test/index.d.ts +0 -1
  30. package/build/types/web-planner-logic/src/interface/test/index.d.ts.map +1 -1
  31. package/build/types/web-planner-logic/src/logic/Article/ArticleOptionState.d.ts.map +1 -1
  32. package/build/types/web-planner-logic/src/logic/ConfigTree/DivaConfigTreeHandler.d.ts.map +1 -1
  33. package/build/types/web-planner-logic/src/logic/DivaApiHandler.d.ts +0 -1
  34. package/build/types/web-planner-logic/src/logic/DivaApiHandler.d.ts.map +1 -1
  35. package/build/types/web-planner-logic/src/logic/Planner/DivaPlannerHandler.d.ts.map +1 -1
  36. package/build/types/web-planner-logic/src/logic/Planner/Rendering/DivaMediaServiceHandler.d.ts +0 -2
  37. package/build/types/web-planner-logic/src/logic/Planner/Rendering/DivaMediaServiceHandler.d.ts.map +1 -1
  38. package/build/types/web-planner-logic/src/logic/Set/DivaSetHandler.d.ts.map +1 -1
  39. package/build/types/web-planner-logic/src/model/Options/ArticleOptionValueData.d.ts +1 -0
  40. package/build/types/web-planner-logic/src/model/Options/ArticleOptionValueData.d.ts.map +1 -1
  41. package/build/types/web-planner-logic/src/model/Options/CatalogOptionValueData.d.ts +1 -0
  42. package/build/types/web-planner-logic/src/model/Options/CatalogOptionValueData.d.ts.map +1 -1
  43. package/package.json +2 -2
@@ -411,7 +411,6 @@ var DivaApiHandler = /*#__PURE__*/function () {
411
411
  diva3DRenderingDefault: data.diva3DRenderingDefault != undefined ? data.diva3DRenderingDefault : false,
412
412
  diva3dServerMode: data.diva3dServerMode != undefined ? data.diva3dServerMode : 'SignalR',
413
413
  diva3dRenderGroup: data.diva3dRenderGroup != undefined ? data.diva3dRenderGroup : 'MYCC7',
414
- mediaServiceApiKey: data.divaMediaServiceApiKey,
415
414
  language: lang !== null && lang !== void 0 ? lang : this.getLanguage(),
416
415
  abTestCases: data.abTestCases !== undefined ? data.abTestCases : [],
417
416
  checkForProductsPrice: data.checkForProductsPrice,
@@ -467,17 +466,11 @@ var DivaApiHandler = /*#__PURE__*/function () {
467
466
  var _this$apiConfig$baske, _this$apiConfig9;
468
467
  return (_this$apiConfig$baske = (_this$apiConfig9 = this.apiConfig) === null || _this$apiConfig9 === void 0 ? void 0 : _this$apiConfig9.basketService) !== null && _this$apiConfig$baske !== void 0 ? _this$apiConfig$baske : '';
469
468
  }
470
- }, {
471
- key: "getDivaMediaServiceApiKey",
472
- value: function getDivaMediaServiceApiKey() {
473
- var _this$divaWebConfigDa, _this$divaWebConfigDa2;
474
- return (_this$divaWebConfigDa = (_this$divaWebConfigDa2 = this.divaWebConfigData) === null || _this$divaWebConfigDa2 === void 0 ? void 0 : _this$divaWebConfigDa2.mediaServiceApiKey) !== null && _this$divaWebConfigDa !== void 0 ? _this$divaWebConfigDa : '';
475
- }
476
469
  }, {
477
470
  key: "getLoadProductBasketParams",
478
471
  value: function getLoadProductBasketParams() {
479
- var _this$divaWebConfigDa3;
480
- return (_this$divaWebConfigDa3 = this.divaWebConfigData) === null || _this$divaWebConfigDa3 === void 0 ? void 0 : _this$divaWebConfigDa3.loadProductBasketParams;
472
+ var _this$divaWebConfigDa;
473
+ return (_this$divaWebConfigDa = this.divaWebConfigData) === null || _this$divaWebConfigDa === void 0 ? void 0 : _this$divaWebConfigDa.loadProductBasketParams;
481
474
  }
482
475
  }, {
483
476
  key: "get3DServerUrl",
@@ -488,20 +481,20 @@ var DivaApiHandler = /*#__PURE__*/function () {
488
481
  }, {
489
482
  key: "doCheckForProductsPrice",
490
483
  value: function doCheckForProductsPrice() {
491
- var _this$divaWebConfigDa4;
492
- return (_this$divaWebConfigDa4 = this.divaWebConfigData) === null || _this$divaWebConfigDa4 === void 0 ? void 0 : _this$divaWebConfigDa4.checkForProductsPrice;
484
+ var _this$divaWebConfigDa2;
485
+ return (_this$divaWebConfigDa2 = this.divaWebConfigData) === null || _this$divaWebConfigDa2 === void 0 ? void 0 : _this$divaWebConfigDa2.checkForProductsPrice;
493
486
  }
494
487
  }, {
495
488
  key: "getReportConfigIdentifier",
496
489
  value: function getReportConfigIdentifier() {
497
- var _this$divaWebConfigDa5;
498
- return (_this$divaWebConfigDa5 = this.divaWebConfigData) === null || _this$divaWebConfigDa5 === void 0 ? void 0 : _this$divaWebConfigDa5.reportConfigIdentifier;
490
+ var _this$divaWebConfigDa3;
491
+ return (_this$divaWebConfigDa3 = this.divaWebConfigData) === null || _this$divaWebConfigDa3 === void 0 ? void 0 : _this$divaWebConfigDa3.reportConfigIdentifier;
499
492
  }
500
493
  }, {
501
494
  key: "getPrintOptions",
502
495
  value: function getPrintOptions() {
503
- var _this$divaWebConfigDa6;
504
- var reportConfig = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : (_this$divaWebConfigDa6 = this.divaWebConfigData) === null || _this$divaWebConfigDa6 === void 0 ? void 0 : _this$divaWebConfigDa6.reportConfig;
496
+ var _this$divaWebConfigDa4;
497
+ var reportConfig = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : (_this$divaWebConfigDa4 = this.divaWebConfigData) === null || _this$divaWebConfigDa4 === void 0 ? void 0 : _this$divaWebConfigDa4.reportConfig;
505
498
  return {
506
499
  Gdpr: !!(reportConfig !== null && reportConfig !== void 0 && reportConfig.printWithGDPR),
507
500
  PlanningSketch: !!(reportConfig !== null && reportConfig !== void 0 && reportConfig.printWithPlanningSketch),
@@ -521,8 +514,8 @@ var DivaApiHandler = /*#__PURE__*/function () {
521
514
  }, {
522
515
  key: "get3DRenderGroup",
523
516
  value: function get3DRenderGroup() {
524
- var _this$divaWebConfigDa7, _this$divaWebConfigDa8;
525
- return (_this$divaWebConfigDa7 = (_this$divaWebConfigDa8 = this.divaWebConfigData) === null || _this$divaWebConfigDa8 === void 0 ? void 0 : _this$divaWebConfigDa8.diva3dRenderGroup) !== null && _this$divaWebConfigDa7 !== void 0 ? _this$divaWebConfigDa7 : '';
517
+ var _this$divaWebConfigDa5, _this$divaWebConfigDa6;
518
+ return (_this$divaWebConfigDa5 = (_this$divaWebConfigDa6 = this.divaWebConfigData) === null || _this$divaWebConfigDa6 === void 0 ? void 0 : _this$divaWebConfigDa6.diva3dRenderGroup) !== null && _this$divaWebConfigDa5 !== void 0 ? _this$divaWebConfigDa5 : '';
526
519
  }
527
520
  }, {
528
521
  key: "getServerId",
@@ -559,86 +552,86 @@ var DivaApiHandler = /*#__PURE__*/function () {
559
552
  }, {
560
553
  key: "getDiva3dStaticBGImage",
561
554
  value: function getDiva3dStaticBGImage() {
562
- var _this$divaWebConfigDa9;
563
- return (_this$divaWebConfigDa9 = this.divaWebConfigData) === null || _this$divaWebConfigDa9 === void 0 ? void 0 : _this$divaWebConfigDa9.diva3dStaticBGImage;
555
+ var _this$divaWebConfigDa7;
556
+ return (_this$divaWebConfigDa7 = this.divaWebConfigData) === null || _this$divaWebConfigDa7 === void 0 ? void 0 : _this$divaWebConfigDa7.diva3dStaticBGImage;
564
557
  }
565
558
  }, {
566
559
  key: "getDiva3dStaticBGImage_DefaultRoomList",
567
560
  value: function getDiva3dStaticBGImage_DefaultRoomList() {
568
- var _this$divaWebConfigDa10, _this$divaWebConfigDa11;
569
- return ((_this$divaWebConfigDa10 = this.divaWebConfigData) === null || _this$divaWebConfigDa10 === void 0 ? void 0 : _this$divaWebConfigDa10.diva3dStaticBGImage_DefaultRoomList) == '' ? '3D_STATBG_ROOMLIST' : (_this$divaWebConfigDa11 = this.divaWebConfigData) === null || _this$divaWebConfigDa11 === void 0 ? void 0 : _this$divaWebConfigDa11.diva3dStaticBGImage_DefaultRoomList;
561
+ var _this$divaWebConfigDa8, _this$divaWebConfigDa9;
562
+ return ((_this$divaWebConfigDa8 = this.divaWebConfigData) === null || _this$divaWebConfigDa8 === void 0 ? void 0 : _this$divaWebConfigDa8.diva3dStaticBGImage_DefaultRoomList) == '' ? '3D_STATBG_ROOMLIST' : (_this$divaWebConfigDa9 = this.divaWebConfigData) === null || _this$divaWebConfigDa9 === void 0 ? void 0 : _this$divaWebConfigDa9.diva3dStaticBGImage_DefaultRoomList;
570
563
  }
571
564
  }, {
572
565
  key: "getDiva3DAllowDefaultCatRoomList",
573
566
  value: function getDiva3DAllowDefaultCatRoomList() {
574
- var _this$divaWebConfigDa12;
575
- return (_this$divaWebConfigDa12 = this.divaWebConfigData) === null || _this$divaWebConfigDa12 === void 0 ? void 0 : _this$divaWebConfigDa12.diva3DAllowDefaultCatRoomList;
567
+ var _this$divaWebConfigDa10;
568
+ return (_this$divaWebConfigDa10 = this.divaWebConfigData) === null || _this$divaWebConfigDa10 === void 0 ? void 0 : _this$divaWebConfigDa10.diva3DAllowDefaultCatRoomList;
576
569
  }
577
570
  }, {
578
571
  key: "doAllowSetPlanner",
579
572
  value: function doAllowSetPlanner() {
580
- var _this$divaWebConfigDa13;
581
- return (_this$divaWebConfigDa13 = this.divaWebConfigData) === null || _this$divaWebConfigDa13 === void 0 ? void 0 : _this$divaWebConfigDa13.doAllowSetPlanner;
573
+ var _this$divaWebConfigDa11;
574
+ return (_this$divaWebConfigDa11 = this.divaWebConfigData) === null || _this$divaWebConfigDa11 === void 0 ? void 0 : _this$divaWebConfigDa11.doAllowSetPlanner;
582
575
  }
583
576
  }, {
584
577
  key: "getHidePlanner",
585
578
  value: function getHidePlanner() {
586
- var _this$divaWebConfigDa14;
587
- return !!((_this$divaWebConfigDa14 = this.divaWebConfigData) !== null && _this$divaWebConfigDa14 !== void 0 && (_this$divaWebConfigDa14 = _this$divaWebConfigDa14.viewConfig) !== null && _this$divaWebConfigDa14 !== void 0 && _this$divaWebConfigDa14.hidePlanner);
579
+ var _this$divaWebConfigDa12;
580
+ return !!((_this$divaWebConfigDa12 = this.divaWebConfigData) !== null && _this$divaWebConfigDa12 !== void 0 && (_this$divaWebConfigDa12 = _this$divaWebConfigDa12.viewConfig) !== null && _this$divaWebConfigDa12 !== void 0 && _this$divaWebConfigDa12.hidePlanner);
588
581
  }
589
582
  }, {
590
583
  key: "getDoShowAR",
591
584
  value: function getDoShowAR() {
592
- var _this$divaWebConfigDa15;
593
- return (_this$divaWebConfigDa15 = this.divaWebConfigData) === null || _this$divaWebConfigDa15 === void 0 || (_this$divaWebConfigDa15 = _this$divaWebConfigDa15.viewConfig) === null || _this$divaWebConfigDa15 === void 0 ? void 0 : _this$divaWebConfigDa15.enableAR;
585
+ var _this$divaWebConfigDa13;
586
+ return (_this$divaWebConfigDa13 = this.divaWebConfigData) === null || _this$divaWebConfigDa13 === void 0 || (_this$divaWebConfigDa13 = _this$divaWebConfigDa13.viewConfig) === null || _this$divaWebConfigDa13 === void 0 ? void 0 : _this$divaWebConfigDa13.enableAR;
594
587
  }
595
588
  }, {
596
589
  key: "forceShowRTV",
597
590
  value: function forceShowRTV() {
598
- var _this$divaWebConfigDa16;
599
- return (_this$divaWebConfigDa16 = this.divaWebConfigData) === null || _this$divaWebConfigDa16 === void 0 || (_this$divaWebConfigDa16 = _this$divaWebConfigDa16.viewConfig) === null || _this$divaWebConfigDa16 === void 0 ? void 0 : _this$divaWebConfigDa16.forceRTV;
591
+ var _this$divaWebConfigDa14;
592
+ return (_this$divaWebConfigDa14 = this.divaWebConfigData) === null || _this$divaWebConfigDa14 === void 0 || (_this$divaWebConfigDa14 = _this$divaWebConfigDa14.viewConfig) === null || _this$divaWebConfigDa14 === void 0 ? void 0 : _this$divaWebConfigDa14.forceRTV;
600
593
  }
601
594
  }, {
602
595
  key: "getDoShowRTV",
603
596
  value: function getDoShowRTV() {
604
- var _this$divaWebConfigDa17;
605
- return (_this$divaWebConfigDa17 = this.divaWebConfigData) === null || _this$divaWebConfigDa17 === void 0 || (_this$divaWebConfigDa17 = _this$divaWebConfigDa17.viewConfig) === null || _this$divaWebConfigDa17 === void 0 ? void 0 : _this$divaWebConfigDa17.enableRTV;
597
+ var _this$divaWebConfigDa15;
598
+ return (_this$divaWebConfigDa15 = this.divaWebConfigData) === null || _this$divaWebConfigDa15 === void 0 || (_this$divaWebConfigDa15 = _this$divaWebConfigDa15.viewConfig) === null || _this$divaWebConfigDa15 === void 0 ? void 0 : _this$divaWebConfigDa15.enableRTV;
606
599
  }
607
600
  }, {
608
601
  key: "getEnableRTVUnityKombi",
609
602
  value: function getEnableRTVUnityKombi() {
610
- var _this$divaWebConfigDa18;
611
- return !!((_this$divaWebConfigDa18 = this.divaWebConfigData) !== null && _this$divaWebConfigDa18 !== void 0 && _this$divaWebConfigDa18.viewConfig.enableRtvUnityKombi);
603
+ var _this$divaWebConfigDa16;
604
+ return !!((_this$divaWebConfigDa16 = this.divaWebConfigData) !== null && _this$divaWebConfigDa16 !== void 0 && _this$divaWebConfigDa16.viewConfig.enableRtvUnityKombi);
612
605
  }
613
606
  }, {
614
607
  key: "getDoDisablePlanner2D",
615
608
  value: function getDoDisablePlanner2D() {
616
- var _this$divaWebConfigDa19;
617
- return !!((_this$divaWebConfigDa19 = this.divaWebConfigData) !== null && _this$divaWebConfigDa19 !== void 0 && _this$divaWebConfigDa19.doDisablePlanner2D);
609
+ var _this$divaWebConfigDa17;
610
+ return !!((_this$divaWebConfigDa17 = this.divaWebConfigData) !== null && _this$divaWebConfigDa17 !== void 0 && _this$divaWebConfigDa17.doDisablePlanner2D);
618
611
  }
619
612
  }, {
620
613
  key: "getRoomListInProduct",
621
614
  value: function getRoomListInProduct() {
622
- var _this$divaWebConfigDa20;
623
- return !!((_this$divaWebConfigDa20 = this.divaWebConfigData) !== null && _this$divaWebConfigDa20 !== void 0 && (_this$divaWebConfigDa20 = _this$divaWebConfigDa20.viewConfig) !== null && _this$divaWebConfigDa20 !== void 0 && _this$divaWebConfigDa20.roomListInProduct);
615
+ var _this$divaWebConfigDa18;
616
+ return !!((_this$divaWebConfigDa18 = this.divaWebConfigData) !== null && _this$divaWebConfigDa18 !== void 0 && (_this$divaWebConfigDa18 = _this$divaWebConfigDa18.viewConfig) !== null && _this$divaWebConfigDa18 !== void 0 && _this$divaWebConfigDa18.roomListInProduct);
624
617
  }
625
618
  }, {
626
619
  key: "getPlannerType",
627
620
  value: function getPlannerType() {
628
- var _this$divaWebConfigDa21;
629
- return (_this$divaWebConfigDa21 = this.divaWebConfigData) === null || _this$divaWebConfigDa21 === void 0 || (_this$divaWebConfigDa21 = _this$divaWebConfigDa21.viewConfig) === null || _this$divaWebConfigDa21 === void 0 ? void 0 : _this$divaWebConfigDa21.plannerType;
621
+ var _this$divaWebConfigDa19;
622
+ 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;
630
623
  }
631
624
  }, {
632
625
  key: "getLoadSupplierColors",
633
626
  value: function getLoadSupplierColors() {
634
- var _this$divaWebConfigDa22;
635
- return !!((_this$divaWebConfigDa22 = this.divaWebConfigData) !== null && _this$divaWebConfigDa22 !== void 0 && _this$divaWebConfigDa22.loadSupplierColors);
627
+ var _this$divaWebConfigDa20;
628
+ return !!((_this$divaWebConfigDa20 = this.divaWebConfigData) !== null && _this$divaWebConfigDa20 !== void 0 && _this$divaWebConfigDa20.loadSupplierColors);
636
629
  }
637
630
  }, {
638
631
  key: "showSelectionModeZero",
639
632
  value: function showSelectionModeZero() {
640
- var _this$divaWebConfigDa23;
641
- return !!((_this$divaWebConfigDa23 = this.divaWebConfigData) !== null && _this$divaWebConfigDa23 !== void 0 && _this$divaWebConfigDa23.showSelectionModeZero);
633
+ var _this$divaWebConfigDa21;
634
+ return !!((_this$divaWebConfigDa21 = this.divaWebConfigData) !== null && _this$divaWebConfigDa21 !== void 0 && _this$divaWebConfigDa21.showSelectionModeZero);
642
635
  }
643
636
  }, {
644
637
  key: "ruleDescSeperator",
@@ -658,8 +651,8 @@ var DivaApiHandler = /*#__PURE__*/function () {
658
651
  }, {
659
652
  key: "getDoCheckVariantData",
660
653
  value: function getDoCheckVariantData() {
661
- var _this$divaWebConfigDa24;
662
- return (_this$divaWebConfigDa24 = this.divaWebConfigData) === null || _this$divaWebConfigDa24 === void 0 ? void 0 : _this$divaWebConfigDa24.doCheckVariantData;
654
+ var _this$divaWebConfigDa22;
655
+ return (_this$divaWebConfigDa22 = this.divaWebConfigData) === null || _this$divaWebConfigDa22 === void 0 ? void 0 : _this$divaWebConfigDa22.doCheckVariantData;
663
656
  }
664
657
  }, {
665
658
  key: "setI18n",
@@ -752,50 +745,50 @@ var DivaApiHandler = /*#__PURE__*/function () {
752
745
  }, {
753
746
  key: "getViewConfig",
754
747
  value: function getViewConfig() {
755
- var _this$divaWebConfigDa25;
756
- return (_this$divaWebConfigDa25 = this.divaWebConfigData) === null || _this$divaWebConfigDa25 === void 0 ? void 0 : _this$divaWebConfigDa25.viewConfig;
748
+ var _this$divaWebConfigDa23;
749
+ return (_this$divaWebConfigDa23 = this.divaWebConfigData) === null || _this$divaWebConfigDa23 === void 0 ? void 0 : _this$divaWebConfigDa23.viewConfig;
757
750
  }
758
751
  }, {
759
752
  key: "getEmailConfig",
760
753
  value: function getEmailConfig() {
761
- var _this$divaWebConfigDa26;
762
- return (_this$divaWebConfigDa26 = this.divaWebConfigData) === null || _this$divaWebConfigDa26 === void 0 ? void 0 : _this$divaWebConfigDa26.emailConfig;
754
+ var _this$divaWebConfigDa24;
755
+ return (_this$divaWebConfigDa24 = this.divaWebConfigData) === null || _this$divaWebConfigDa24 === void 0 ? void 0 : _this$divaWebConfigDa24.emailConfig;
763
756
  }
764
757
  }, {
765
758
  key: "getABTestCases",
766
759
  value: function getABTestCases() {
767
- var _this$divaWebConfigDa27, _this$divaWebConfigDa28;
768
- return (_this$divaWebConfigDa27 = (_this$divaWebConfigDa28 = this.divaWebConfigData) === null || _this$divaWebConfigDa28 === void 0 ? void 0 : _this$divaWebConfigDa28.abTestCases) !== null && _this$divaWebConfigDa27 !== void 0 ? _this$divaWebConfigDa27 : [];
760
+ var _this$divaWebConfigDa25, _this$divaWebConfigDa26;
761
+ return (_this$divaWebConfigDa25 = (_this$divaWebConfigDa26 = this.divaWebConfigData) === null || _this$divaWebConfigDa26 === void 0 ? void 0 : _this$divaWebConfigDa26.abTestCases) !== null && _this$divaWebConfigDa25 !== void 0 ? _this$divaWebConfigDa25 : [];
769
762
  }
770
763
  }, {
771
764
  key: "getBarrierConfig",
772
765
  value: function getBarrierConfig() {
773
- var _this$divaWebConfigDa29;
774
- return (_this$divaWebConfigDa29 = this.divaWebConfigData) === null || _this$divaWebConfigDa29 === void 0 ? void 0 : _this$divaWebConfigDa29.barrierConfig;
766
+ var _this$divaWebConfigDa27;
767
+ return (_this$divaWebConfigDa27 = this.divaWebConfigData) === null || _this$divaWebConfigDa27 === void 0 ? void 0 : _this$divaWebConfigDa27.barrierConfig;
775
768
  }
776
769
  }, {
777
770
  key: "getTemplateConfig",
778
771
  value: function getTemplateConfig() {
779
- var _this$divaWebConfigDa30;
780
- return (_this$divaWebConfigDa30 = this.divaWebConfigData) === null || _this$divaWebConfigDa30 === void 0 ? void 0 : _this$divaWebConfigDa30.templateConfig;
772
+ var _this$divaWebConfigDa28;
773
+ return (_this$divaWebConfigDa28 = this.divaWebConfigData) === null || _this$divaWebConfigDa28 === void 0 ? void 0 : _this$divaWebConfigDa28.templateConfig;
781
774
  }
782
775
  }, {
783
776
  key: "showDivaNr",
784
777
  value: function showDivaNr() {
785
- var _this$divaWebConfigDa31;
786
- return (_this$divaWebConfigDa31 = this.divaWebConfigData) === null || _this$divaWebConfigDa31 === void 0 ? void 0 : _this$divaWebConfigDa31.showDivaNr;
778
+ var _this$divaWebConfigDa29;
779
+ return (_this$divaWebConfigDa29 = this.divaWebConfigData) === null || _this$divaWebConfigDa29 === void 0 ? void 0 : _this$divaWebConfigDa29.showDivaNr;
787
780
  }
788
781
  }, {
789
782
  key: "onErrorHandling",
790
783
  value: function onErrorHandling() {
791
- var _this$divaWebConfigDa32;
792
- return (_this$divaWebConfigDa32 = this.divaWebConfigData) === null || _this$divaWebConfigDa32 === void 0 ? void 0 : _this$divaWebConfigDa32.onErrorHandling;
784
+ var _this$divaWebConfigDa30;
785
+ return (_this$divaWebConfigDa30 = this.divaWebConfigData) === null || _this$divaWebConfigDa30 === void 0 ? void 0 : _this$divaWebConfigDa30.onErrorHandling;
793
786
  }
794
787
  }, {
795
788
  key: "diva3DRenderingDefault",
796
789
  value: function diva3DRenderingDefault() {
797
- var _this$divaWebConfigDa33;
798
- return (_this$divaWebConfigDa33 = this.divaWebConfigData) === null || _this$divaWebConfigDa33 === void 0 ? void 0 : _this$divaWebConfigDa33.diva3DRenderingDefault;
790
+ var _this$divaWebConfigDa31;
791
+ return (_this$divaWebConfigDa31 = this.divaWebConfigData) === null || _this$divaWebConfigDa31 === void 0 ? void 0 : _this$divaWebConfigDa31.diva3DRenderingDefault;
799
792
  }
800
793
  }, {
801
794
  key: "getJwt",
@@ -810,8 +803,8 @@ var DivaApiHandler = /*#__PURE__*/function () {
810
803
  }, {
811
804
  key: "getUseMask",
812
805
  value: function getUseMask() {
813
- var _this$divaWebConfigDa34;
814
- return (_this$divaWebConfigDa34 = this.divaWebConfigData) === null || _this$divaWebConfigDa34 === void 0 ? void 0 : _this$divaWebConfigDa34.useMask;
806
+ var _this$divaWebConfigDa32;
807
+ return (_this$divaWebConfigDa32 = this.divaWebConfigData) === null || _this$divaWebConfigDa32 === void 0 ? void 0 : _this$divaWebConfigDa32.useMask;
815
808
  }
816
809
  }, {
817
810
  key: "apiUrl",
@@ -1331,14 +1324,14 @@ var DivaApiHandler = /*#__PURE__*/function () {
1331
1324
  }, {
1332
1325
  key: "dontLoadAdditionalModelInfos",
1333
1326
  get: function get() {
1334
- var _this$divaWebConfigDa35;
1335
- return (_this$divaWebConfigDa35 = this.divaWebConfigData) === null || _this$divaWebConfigDa35 === void 0 ? void 0 : _this$divaWebConfigDa35.dontLoadAdditionalModelInfos;
1327
+ var _this$divaWebConfigDa33;
1328
+ return (_this$divaWebConfigDa33 = this.divaWebConfigData) === null || _this$divaWebConfigDa33 === void 0 ? void 0 : _this$divaWebConfigDa33.dontLoadAdditionalModelInfos;
1336
1329
  }
1337
1330
  }, {
1338
1331
  key: "dontLoadCatalogEditorLiteMask",
1339
1332
  get: function get() {
1340
- var _this$divaWebConfigDa36;
1341
- return (_this$divaWebConfigDa36 = this.divaWebConfigData) === null || _this$divaWebConfigDa36 === void 0 ? void 0 : _this$divaWebConfigDa36.dontLoadCatalogEditorLiteMask;
1333
+ var _this$divaWebConfigDa34;
1334
+ return (_this$divaWebConfigDa34 = this.divaWebConfigData) === null || _this$divaWebConfigDa34 === void 0 ? void 0 : _this$divaWebConfigDa34.dontLoadCatalogEditorLiteMask;
1342
1335
  }
1343
1336
  }, {
1344
1337
  key: "OrganizationId",
@@ -1764,6 +1757,11 @@ var ArticleOptionValueData = /*#__PURE__*/function () {
1764
1757
  get: function get() {
1765
1758
  return this.opv.codex;
1766
1759
  }
1760
+ }, {
1761
+ key: "isNotRelevant",
1762
+ get: function get() {
1763
+ return this.opv.catalogOPV.isNotRelevant;
1764
+ }
1767
1765
  }, {
1768
1766
  key: "vCodex",
1769
1767
  get: function get() {
@@ -16058,6 +16056,8 @@ var OptionValueCatalogData = /*#__PURE__*/function () {
16058
16056
  this.opv.onRule = prop.Value;
16059
16057
  } else if (prop.Codex === 'CONTENT_ITEM') {
16060
16058
  this.opv.contentItemId = prop.Value;
16059
+ } else if (prop.Codex === 'IS_NOT_RELEVANT') {
16060
+ this.opv.isNotRelevant = prop.Value;
16061
16061
  } else if (prop.Codex === 'GROUP_CONTENT_ITEM') {
16062
16062
  this.opv.groupContentItemId = prop.Value;
16063
16063
  } else if (prop.Codex === 'SET_BY_RULE') {
@@ -16097,6 +16097,11 @@ var OptionValueCatalogData = /*#__PURE__*/function () {
16097
16097
  get: function get() {
16098
16098
  return this.opv.vCodex;
16099
16099
  }
16100
+ }, {
16101
+ key: "isNotRelevant",
16102
+ get: function get() {
16103
+ return this.opv.isNotRelevant;
16104
+ }
16100
16105
  }, {
16101
16106
  key: "name",
16102
16107
  get: function get() {
@@ -20058,7 +20063,8 @@ var ArticleOptionStateData = /*#__PURE__*/function () {
20058
20063
  }, {
20059
20064
  key: "isDisabled",
20060
20065
  get: function get() {
20061
- return this.articleOptionState.disabled || (this.valCodex == 'OPVNR' || this.valCodex == 'OPVNRR' || this.valCodex == 'OPVNR_0') && this.visibleCount == 1;
20066
+ var _this$val3;
20067
+ return this.articleOptionState.disabled || !!((_this$val3 = this.val) !== null && _this$val3 !== void 0 && _this$val3.isNotRelevant) && this.visibleCount == 1;
20062
20068
  },
20063
20069
  set: function set(isDisabled) {
20064
20070
  this.articleOptionState.disabled = isDisabled;
@@ -20066,7 +20072,8 @@ var ArticleOptionStateData = /*#__PURE__*/function () {
20066
20072
  }, {
20067
20073
  key: "isDoShow",
20068
20074
  get: function get() {
20069
- return this.articleOptionState.doShow && (this.valCodex != 'OPVNR' && this.valCodex != 'OPVNRR' && this.valCodex != 'OPVNR_0' || this.visibleCount > 1);
20075
+ var _this$val4;
20076
+ return this.articleOptionState.doShow && (!((_this$val4 = this.val) !== null && _this$val4 !== void 0 && _this$val4.isNotRelevant) || this.visibleCount > 1);
20070
20077
  },
20071
20078
  set: function set(doShow) {
20072
20079
  this.articleOptionState.doShow = doShow;
@@ -20110,14 +20117,14 @@ var ArticleOptionStateData = /*#__PURE__*/function () {
20110
20117
  }, {
20111
20118
  key: "priceId",
20112
20119
  get: function get() {
20113
- var _this$val$priceId, _this$val3;
20114
- return (_this$val$priceId = (_this$val3 = this.val) === null || _this$val3 === void 0 ? void 0 : _this$val3.priceId) !== null && _this$val$priceId !== void 0 ? _this$val$priceId : '';
20120
+ var _this$val$priceId, _this$val5;
20121
+ return (_this$val$priceId = (_this$val5 = this.val) === null || _this$val5 === void 0 ? void 0 : _this$val5.priceId) !== null && _this$val$priceId !== void 0 ? _this$val$priceId : '';
20115
20122
  }
20116
20123
  }, {
20117
20124
  key: "targetOption",
20118
20125
  get: function get() {
20119
- var _this$val4;
20120
- return (_this$val4 = this.val) === null || _this$val4 === void 0 ? void 0 : _this$val4.targetOption;
20126
+ var _this$val6;
20127
+ return (_this$val6 = this.val) === null || _this$val6 === void 0 ? void 0 : _this$val6.targetOption;
20121
20128
  }
20122
20129
  }, {
20123
20130
  key: "targetPPGPrefixes",
@@ -20134,14 +20141,14 @@ var ArticleOptionStateData = /*#__PURE__*/function () {
20134
20141
  }, {
20135
20142
  key: "quantity",
20136
20143
  get: function get() {
20137
- var _this$val$quantity, _this$val5;
20138
- return (_this$val$quantity = (_this$val5 = this.val) === null || _this$val5 === void 0 ? void 0 : _this$val5.quantity) !== null && _this$val$quantity !== void 0 ? _this$val$quantity : 1;
20144
+ var _this$val$quantity, _this$val7;
20145
+ return (_this$val$quantity = (_this$val7 = this.val) === null || _this$val7 === void 0 ? void 0 : _this$val7.quantity) !== null && _this$val$quantity !== void 0 ? _this$val$quantity : 1;
20139
20146
  }
20140
20147
  }, {
20141
20148
  key: "ocd",
20142
20149
  get: function get() {
20143
- var _this$val6;
20144
- return (_this$val6 = this.val) === null || _this$val6 === void 0 ? void 0 : _this$val6.ocd;
20150
+ var _this$val8;
20151
+ return (_this$val8 = this.val) === null || _this$val8 === void 0 ? void 0 : _this$val8.ocd;
20145
20152
  }
20146
20153
  }, {
20147
20154
  key: "optionOcd",
@@ -20151,8 +20158,8 @@ var ArticleOptionStateData = /*#__PURE__*/function () {
20151
20158
  }, {
20152
20159
  key: "value",
20153
20160
  get: function get() {
20154
- var _this$val7;
20155
- return (_this$val7 = this.val) === null || _this$val7 === void 0 ? void 0 : _this$val7.value;
20161
+ var _this$val9;
20162
+ return (_this$val9 = this.val) === null || _this$val9 === void 0 ? void 0 : _this$val9.value;
20156
20163
  }
20157
20164
  }, {
20158
20165
  key: "vCodex",
@@ -20180,8 +20187,8 @@ var ArticleOptionStateData = /*#__PURE__*/function () {
20180
20187
  get: function get() {
20181
20188
  if (this.articleOptionState.retailArticleNr) return this.articleOptionState.retailArticleNr;
20182
20189
  if (this.articleOptionState.option.articlePlaceholder) {
20183
- var _this$val8;
20184
- return (_this$val8 = this.val) === null || _this$val8 === void 0 ? void 0 : _this$val8.subRetailArticleNr;
20190
+ var _this$val10;
20191
+ return (_this$val10 = this.val) === null || _this$val10 === void 0 ? void 0 : _this$val10.subRetailArticleNr;
20185
20192
  }
20186
20193
  return undefined;
20187
20194
  },
@@ -20204,8 +20211,8 @@ var ArticleOptionStateData = /*#__PURE__*/function () {
20204
20211
  }, {
20205
20212
  key: "visibleInSummary",
20206
20213
  value: function visibleInSummary(aritcle) {
20207
- var _this$val9;
20208
- return !this.isInvisible && (this.selectionmode != 0 || (this.visibleCount > 1 || this.isFreeText) && aritcle.set.api.showSelectionModeZero()) && this.isDoShow && this.valCodex != 'OPVNR' && !this.isHiddenByDefaultValueForOptions(aritcle) && !((_this$val9 = this.val) !== null && _this$val9 !== void 0 && _this$val9.hideInSummary);
20214
+ var _this$val11, _this$val12;
20215
+ return !this.isInvisible && (this.selectionmode != 0 || (this.visibleCount > 1 || this.isFreeText) && aritcle.set.api.showSelectionModeZero()) && this.isDoShow && !((_this$val11 = this.val) !== null && _this$val11 !== void 0 && _this$val11.isNotRelevant) && !this.isHiddenByDefaultValueForOptions(aritcle) && !((_this$val12 = this.val) !== null && _this$val12 !== void 0 && _this$val12.hideInSummary);
20209
20216
  }
20210
20217
  }, {
20211
20218
  key: "isHiddenByDefaultValueForOptions",
@@ -20226,45 +20233,45 @@ var ArticleOptionStateData = /*#__PURE__*/function () {
20226
20233
  }, {
20227
20234
  key: "subArticleCodex",
20228
20235
  get: function get() {
20229
- var _this$val10;
20230
- return (_this$val10 = this.val) === null || _this$val10 === void 0 ? void 0 : _this$val10.subArticleCodex;
20236
+ var _this$val13;
20237
+ return (_this$val13 = this.val) === null || _this$val13 === void 0 ? void 0 : _this$val13.subArticleCodex;
20231
20238
  }
20232
20239
  }, {
20233
20240
  key: "subArticleName",
20234
20241
  get: function get() {
20235
- var _this$val11;
20236
- return (_this$val11 = this.val) === null || _this$val11 === void 0 ? void 0 : _this$val11.subArticleName;
20242
+ var _this$val14;
20243
+ return (_this$val14 = this.val) === null || _this$val14 === void 0 ? void 0 : _this$val14.subArticleName;
20237
20244
  }
20238
20245
  }, {
20239
20246
  key: "measureUnit",
20240
20247
  get: function get() {
20241
- var _this$val12;
20242
- return (_this$val12 = this.val) === null || _this$val12 === void 0 ? void 0 : _this$val12.measureUnit;
20248
+ var _this$val15;
20249
+ return (_this$val15 = this.val) === null || _this$val15 === void 0 ? void 0 : _this$val15.measureUnit;
20243
20250
  }
20244
20251
  }, {
20245
20252
  key: "priceUnit",
20246
20253
  get: function get() {
20247
- var _this$val$priceUnit, _this$val13, _this$val14, _this$val$parent;
20248
- var retval = (_this$val$priceUnit = (_this$val13 = this.val) === null || _this$val13 === void 0 ? void 0 : _this$val13.priceUnit) !== null && _this$val$priceUnit !== void 0 ? _this$val$priceUnit : (_this$val14 = this.val) !== null && _this$val14 !== void 0 && _this$val14.isParentOPVG ? (_this$val$parent = this.val.parent) === null || _this$val$parent === void 0 ? void 0 : _this$val$parent.priceUnit : undefined;
20254
+ var _this$val$priceUnit, _this$val16, _this$val17, _this$val$parent;
20255
+ var retval = (_this$val$priceUnit = (_this$val16 = this.val) === null || _this$val16 === void 0 ? void 0 : _this$val16.priceUnit) !== null && _this$val$priceUnit !== void 0 ? _this$val$priceUnit : (_this$val17 = this.val) !== null && _this$val17 !== void 0 && _this$val17.isParentOPVG ? (_this$val$parent = this.val.parent) === null || _this$val$parent === void 0 ? void 0 : _this$val$parent.priceUnit : undefined;
20249
20256
  return retval;
20250
20257
  }
20251
20258
  }, {
20252
20259
  key: "isPercentage",
20253
20260
  get: function get() {
20254
- var _this$val15;
20255
- return (_this$val15 = this.val) === null || _this$val15 === void 0 ? void 0 : _this$val15.isPercentage;
20261
+ var _this$val18;
20262
+ return (_this$val18 = this.val) === null || _this$val18 === void 0 ? void 0 : _this$val18.isPercentage;
20256
20263
  }
20257
20264
  }, {
20258
20265
  key: "replaceMainArtNr",
20259
20266
  get: function get() {
20260
- var _this$val16;
20261
- return (_this$val16 = this.val) === null || _this$val16 === void 0 ? void 0 : _this$val16.subarticleReplaceMainArticleNr;
20267
+ var _this$val19;
20268
+ return (_this$val19 = this.val) === null || _this$val19 === void 0 ? void 0 : _this$val19.subarticleReplaceMainArticleNr;
20262
20269
  }
20263
20270
  }, {
20264
20271
  key: "subArticleTypeNr",
20265
20272
  get: function get() {
20266
- var _this$val17;
20267
- return (_this$val17 = this.val) === null || _this$val17 === void 0 ? void 0 : _this$val17.subArticleTypeNr;
20273
+ var _this$val20;
20274
+ return (_this$val20 = this.val) === null || _this$val20 === void 0 ? void 0 : _this$val20.subArticleTypeNr;
20268
20275
  }
20269
20276
  }, {
20270
20277
  key: "isVisibleFreeText",
@@ -20290,14 +20297,14 @@ var ArticleOptionStateData = /*#__PURE__*/function () {
20290
20297
  }, {
20291
20298
  key: "isOnlyFreeText",
20292
20299
  get: function get() {
20293
- var _this$val18;
20294
- return ((_this$val18 = this.val) === null || _this$val18 === void 0 ? void 0 : _this$val18.isFreeText) && this.visibleCount == 1;
20300
+ var _this$val21;
20301
+ return ((_this$val21 = this.val) === null || _this$val21 === void 0 ? void 0 : _this$val21.isFreeText) && this.visibleCount == 1;
20295
20302
  }
20296
20303
  }, {
20297
20304
  key: "isFreeText",
20298
20305
  get: function get() {
20299
- var _this$val19;
20300
- return (_this$val19 = this.val) === null || _this$val19 === void 0 ? void 0 : _this$val19.isFreeText;
20306
+ var _this$val22;
20307
+ return (_this$val22 = this.val) === null || _this$val22 === void 0 ? void 0 : _this$val22.isFreeText;
20301
20308
  }
20302
20309
  }, {
20303
20310
  key: "freeText",
@@ -20342,8 +20349,8 @@ var ArticleOptionStateData = /*#__PURE__*/function () {
20342
20349
  }, {
20343
20350
  key: "warning",
20344
20351
  get: function get() {
20345
- var _this$val20;
20346
- if ((_this$val20 = this.val) !== null && _this$val20 !== void 0 && _this$val20.isFreeText) {
20352
+ var _this$val23;
20353
+ if ((_this$val23 = this.val) !== null && _this$val23 !== void 0 && _this$val23.isFreeText) {
20347
20354
  if (this.val.measureMaximum && Number(this.freeText) > Number(this.val.measureMaximum) || this.val.measureMinimum && Number(this.freeText) < Number(this.val.measureMinimum)) {
20348
20355
  return 'measureWarning';
20349
20356
  }
@@ -23612,7 +23619,7 @@ var DivaArticle = /*#__PURE__*/function () {
23612
23619
  break;
23613
23620
  }
23614
23621
  _context.next = 4;
23615
- return import('./ShelfPlanner-82b5ff7f.js');
23622
+ return import('./ShelfPlanner-1d639b0b.js');
23616
23623
  case 4:
23617
23624
  _yield$import = _context.sent;
23618
23625
  ShelfPlanner = _yield$import["default"];
@@ -28145,7 +28152,7 @@ var DivaSet = /*#__PURE__*/function () {
28145
28152
  break;
28146
28153
  }
28147
28154
  _context4.next = 3;
28148
- return import('./DoorPlanner-549c8c25.js');
28155
+ return import('./DoorPlanner-9dc6e1b8.js');
28149
28156
  case 3:
28150
28157
  _yield$import = _context4.sent;
28151
28158
  DoorPlanner = _yield$import["default"];
@@ -28911,10 +28918,11 @@ var SummaryHandler = /*#__PURE__*/function () {
28911
28918
  value: function geTabGroupFormOptionsForSummary(article) {
28912
28919
  var tabGroups = [];
28913
28920
  for (var basketId in article.partlistArticles) {
28921
+ var _ops$val;
28914
28922
  var partlistArticle = article.partlistArticles[basketId];
28915
28923
  if (!partlistArticle.tabGroup) continue;
28916
28924
  var ops = article.getArticleOptionState('OPT' + partlistArticle.tabGroup);
28917
- if (ops && !ops.isInvisible && (ops.selectionmode != 0 || (ops.visibleCount > 1 || ops.isFreeText) && article.set.api.showSelectionModeZero()) && ops.isDoShow && ops.valCodex != 'OPVNR' && ops !== null && ops !== void 0 && ops.optionTabGroup) {
28925
+ if (ops && !ops.isInvisible && (ops.selectionmode != 0 || (ops.visibleCount > 1 || ops.isFreeText) && article.set.api.showSelectionModeZero()) && ops.isDoShow && !((_ops$val = ops.val) !== null && _ops$val !== void 0 && _ops$val.isNotRelevant) && ops !== null && ops !== void 0 && ops.optionTabGroup) {
28918
28926
  tabGroups.push({
28919
28927
  optionCodex: ops.optionCodex,
28920
28928
  tabGroup: ops.optionTabGroup
@@ -28924,8 +28932,9 @@ var SummaryHandler = /*#__PURE__*/function () {
28924
28932
 
28925
28933
  //old logic TODO: Delete in 2024
28926
28934
  if (Object.keys(tabGroups).length === 0) for (var _key12 in article.articleOptionStates) {
28935
+ var _ops$val2;
28927
28936
  var _ops = article.articleOptionStates[_key12];
28928
- if (!_ops.isInvisible && (_ops.selectionmode != 0 || (_ops.visibleCount > 1 || _ops.isFreeText) && article.set.api.showSelectionModeZero()) && _ops.isDoShow && _ops.valCodex != 'OPVNR') {
28937
+ if (!_ops.isInvisible && (_ops.selectionmode != 0 || (_ops.visibleCount > 1 || _ops.isFreeText) && article.set.api.showSelectionModeZero()) && !((_ops$val2 = _ops.val) !== null && _ops$val2 !== void 0 && _ops$val2.isNotRelevant) && _ops.isDoShow) {
28929
28938
  var tabGroup = _ops.option.addOptionToTabgroupInPartlistSummary;
28930
28939
  if (tabGroup) tabGroups.push({
28931
28940
  optionCodex: _key12,
@@ -28954,8 +28963,9 @@ var SummaryHandler = /*#__PURE__*/function () {
28954
28963
  var opss = [];
28955
28964
  if (article.getArticleOptionState('OPT' + optionCodexes[0])) {
28956
28965
  for (var i = 0; i < optionCodexes.length; i++) {
28966
+ var _optionState$val3;
28957
28967
  var optionState = article.getArticleOptionState('OPT' + optionCodexes[i]);
28958
- if (optionState && !optionState.isInvisible && optionState.isDoShow && optionState.visibleCount > 0 && optionState.valCodex != 'OPVNR') {
28968
+ if (optionState && !optionState.isInvisible && optionState.isDoShow && optionState.visibleCount > 0 && !((_optionState$val3 = optionState.val) !== null && _optionState$val3 !== void 0 && _optionState$val3.isNotRelevant)) {
28959
28969
  opss.push(optionState);
28960
28970
  }
28961
28971
  }
@@ -28964,8 +28974,9 @@ var SummaryHandler = /*#__PURE__*/function () {
28964
28974
 
28965
28975
  //old logic TODO: Delete in 2024
28966
28976
  for (var _key13 in article.articleOptionStates) {
28977
+ var _optionState$val4;
28967
28978
  var _optionState = article.articleOptionStates[_key13];
28968
- if (_optionState.option.addOptionToTabgroupInPartlistSummary == tabGroup && !_optionState.isInvisible && _optionState.isDoShow && _optionState.visibleCount > 0 && _optionState.valCodex != 'OPVNR') {
28979
+ if (_optionState.option.addOptionToTabgroupInPartlistSummary == tabGroup && !_optionState.isInvisible && _optionState.isDoShow && _optionState.visibleCount > 0 && !((_optionState$val4 = _optionState.val) !== null && _optionState$val4 !== void 0 && _optionState$val4.isNotRelevant)) {
28969
28980
  opss.push(_optionState);
28970
28981
  }
28971
28982
  }
@@ -30062,9 +30073,10 @@ var DivaConfigTreeHandler = /*#__PURE__*/function () {
30062
30073
  }
30063
30074
  }, {
30064
30075
  key: "addOptionsStateToConfigTree",
30065
- value: function addOptionsStateToConfigTree(set, configTree, articles, basketId, ops, optionCodex, selectionmode, addToTabGroup) {
30066
- var _set$ViewConfig3;
30067
- var article = articles[basketId];
30076
+ value: function addOptionsStateToConfigTree(set, configTree, articles, b, ops, optionCodex, selectionmode, addToTabGroup) {
30077
+ var _article$partListPare, _set$ViewConfig3;
30078
+ var article = articles[b];
30079
+ var basketId = article.partlistArticleVisibleInTree ? (_article$partListPare = article.partListParentArticle) === null || _article$partListPare === void 0 ? void 0 : _article$partListPare.basketId : article.basketId;
30068
30080
  var tabGroupCodex;
30069
30081
  var tabGroupTitel;
30070
30082
  if (ops.optionTabGroup) tabGroupCodex = ops.optionTabGroup;else tabGroupCodex = ops.optionName;
@@ -30350,7 +30362,7 @@ var DivaConfigTreeHandler = /*#__PURE__*/function () {
30350
30362
  optionStatesOfArticles = set.getOptionStatesOfArticles(set.getDivaArticles(true));
30351
30363
  articles = set.getDivaArticles(true);
30352
30364
  step = set.configTree.getAllByKey(configStepKey);
30353
- retValues = this.getConfigItems(configStepKey, optionStatesOfArticles, set.configTree);
30365
+ retValues = this.getConfigItems(configStepKey, articles, set.configTree);
30354
30366
  optionCodex = undefined;
30355
30367
  if (!(retValues && step != null)) {
30356
30368
  _context.next = 55;
@@ -30483,7 +30495,7 @@ var DivaConfigTreeHandler = /*#__PURE__*/function () {
30483
30495
  }()
30484
30496
  }, {
30485
30497
  key: "getConfigItems",
30486
- value: function getConfigItems(key, optionStatesOfArticles, configTree) {
30498
+ value: function getConfigItems(key, articles, configTree) {
30487
30499
  var step = configTree.getAllByKey(key);
30488
30500
  if (step != null) {
30489
30501
  var configItems = {},
@@ -30497,7 +30509,8 @@ var DivaConfigTreeHandler = /*#__PURE__*/function () {
30497
30509
  notTotallyMatichingOPVs = false,
30498
30510
  myOptionState = undefined;
30499
30511
  for (var i = 0; i < configStep.targetArticles.length; i++) {
30500
- var myOptions = optionStatesOfArticles[configStep.targetArticles[i]];
30512
+ var article = articles[configStep.targetArticles[i]];
30513
+ var myOptions = article.articleOptionStates;
30501
30514
  myOptionState = myOptions[configStep.option];
30502
30515
  if (myOptionState.option.hasOPG) isOPG = true;
30503
30516
  selectedVals = selectedVals.concat(myOptionState.getSelectedVals);
@@ -30530,6 +30543,7 @@ var DivaConfigTreeHandler = /*#__PURE__*/function () {
30530
30543
  if (visibleOptionValuesOfArticles.length > 0) {
30531
30544
  configItems = Object.assign({}, visibleOptionValuesOfArticles[0]);
30532
30545
  var _loop4 = function _loop4(_i2) {
30546
+ if (articles[configStep.targetArticles[_i2]].articleOptionStates[configStep.option].definedBySetFeatureFixed) return 1; // continue
30533
30547
  var keys = Object.keys(configItems);
30534
30548
  var newKeys = Object.keys(visibleOptionValuesOfArticles[_i2]);
30535
30549
  var opvsOnlyInA = keys.filter(function (x) {
@@ -30587,7 +30601,7 @@ var DivaConfigTreeHandler = /*#__PURE__*/function () {
30587
30601
  }
30588
30602
  };
30589
30603
  for (var _i2 = 1; _i2 < visibleOptionValuesOfArticles.length; _i2++) {
30590
- _loop4(_i2);
30604
+ if (_loop4(_i2)) continue;
30591
30605
  }
30592
30606
  }
30593
30607
  return {
@@ -32558,11 +32572,28 @@ var DivaSetHandler = /*#__PURE__*/function () {
32558
32572
  targetArticles = targetArticles.concat(Object.keys((_articles$activeArtic = articles[activeArticles[0]]) === null || _articles$activeArtic === void 0 ? void 0 : _articles$activeArtic.accessoires));
32559
32573
  }
32560
32574
  var articleInfos = articleHandlerInstance.getArticleInfos(activeArticles, targetArticles, articles);
32575
+ //within an article and its partlistarticles cant be configured differently, so we group them here
32576
+ var groupedArticles = [];
32577
+ var _loop3 = function _loop3() {
32578
+ var article = articles[targetArticles[i]];
32579
+ var group = groupedArticles.find(function (group) {
32580
+ var _article$partListPare, _article$partListPare2;
32581
+ return group.includes((_article$partListPare = (_article$partListPare2 = article.partListParentArticle) === null || _article$partListPare2 === void 0 ? void 0 : _article$partListPare2.basketId) !== null && _article$partListPare !== void 0 ? _article$partListPare : '');
32582
+ });
32583
+ if (group) {
32584
+ group.push(article.basketId);
32585
+ } else {
32586
+ groupedArticles.push([article.basketId]);
32587
+ }
32588
+ };
32589
+ for (var i = 0; i < targetArticles.length; i++) {
32590
+ _loop3();
32591
+ }
32561
32592
  var isConfigSingle = set.configSingle;
32562
32593
  var doShowConfigSingle = configStepKey ? set.configTree.doShowConfigSingle(configStepKey) : false;
32563
32594
  return {
32564
32595
  articleInfos: articleInfos,
32565
- doShowConfigSingle: doShowConfigSingle && targetArticles.length > 1,
32596
+ doShowConfigSingle: doShowConfigSingle && groupedArticles.length > 1,
32566
32597
  isConfigSingle: isConfigSingle,
32567
32598
  articleName: activeArticles[0] ? (_articles$activeArtic2 = articles[activeArticles[0]]) === null || _articles$activeArtic2 === void 0 || (_articles$activeArtic2 = _articles$activeArtic2.curProduct) === null || _articles$activeArtic2 === void 0 ? void 0 : _articles$activeArtic2.shortDescription : ''
32568
32599
  };
@@ -32946,7 +32977,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
32946
32977
  key: "confirmOptionsInMetric",
32947
32978
  value: function confirmOptionsInMetric(set, options, actionEvent) {
32948
32979
  var variantItems = set.getVariantBasketData();
32949
- var _loop3 = function _loop3() {
32980
+ var _loop4 = function _loop4() {
32950
32981
  var opt = options[i].substring(3);
32951
32982
  var variantItem = variantItems.find(function (item) {
32952
32983
  return item.OPT == opt;
@@ -32965,7 +32996,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
32965
32996
  }
32966
32997
  };
32967
32998
  for (var i = 0; i < options.length; i++) {
32968
- _loop3();
32999
+ _loop4();
32969
33000
  }
32970
33001
  }
32971
33002
  }, {
@@ -33092,7 +33123,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
33092
33123
  //check first if there are options that require user input
33093
33124
  var articles = [];
33094
33125
  var options = [];
33095
- var _loop4 = function _loop4(key) {
33126
+ var _loop5 = function _loop5(key) {
33096
33127
  var _articleHandler$check = articleHandlerInstance.checkIfAllOptionsAreDefined(sets[key].getDivaArticles()),
33097
33128
  articleNames = _articleHandler$check.articleNames,
33098
33129
  newOptions = _articleHandler$check.options;
@@ -33104,7 +33135,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
33104
33135
  articles = articles.concat(articleNames);
33105
33136
  };
33106
33137
  for (var key in sets) {
33107
- _loop4(key);
33138
+ _loop5(key);
33108
33139
  }
33109
33140
  if (articles.length == 0) {
33110
33141
  return true;
@@ -33131,7 +33162,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
33131
33162
  var accessoires = [];
33132
33163
  var grids = [];
33133
33164
  var articles = [];
33134
- var _loop5 = function _loop5() {
33165
+ var _loop6 = function _loop6() {
33135
33166
  var _retVal$configStep$ta2;
33136
33167
  var article = set.getArticleByBasketId((_retVal$configStep$ta2 = retVal === null || retVal === void 0 ? void 0 : retVal.configStep.targetArticles[i]) !== null && _retVal$configStep$ta2 !== void 0 ? _retVal$configStep$ta2 : '');
33137
33168
  if (!article || !article.shelfPlanner) return 1; // continue
@@ -33140,18 +33171,18 @@ var DivaSetHandler = /*#__PURE__*/function () {
33140
33171
  a = _article$shelfPlanner2.accessoires,
33141
33172
  g = _article$shelfPlanner2.grids;
33142
33173
  grids = [].concat(_toConsumableArray(grids), _toConsumableArray(g));
33143
- var _loop6 = function _loop6(j) {
33174
+ var _loop7 = function _loop7(j) {
33144
33175
  if (!accessoires.find(function (acc) {
33145
33176
  return acc.articleCodex === a[j].articleCodex;
33146
33177
  })) accessoires.push(a[j]);
33147
33178
  };
33148
33179
  for (var j = 0; j < a.length; j++) {
33149
- _loop6(j);
33180
+ _loop7(j);
33150
33181
  }
33151
33182
  };
33152
33183
  for (var i = 0; i < ((_retVal$configStep$ta = retVal === null || retVal === void 0 ? void 0 : retVal.configStep.targetArticles) !== null && _retVal$configStep$ta !== void 0 ? _retVal$configStep$ta : []).length; i++) {
33153
33184
  var _retVal$configStep$ta;
33154
- if (_loop5()) continue;
33185
+ if (_loop6()) continue;
33155
33186
  }
33156
33187
  configTreeHandler.fillConfigStepKeysInAccessoireItem(articles, set.configTree, accessoires !== null && accessoires !== void 0 ? accessoires : []);
33157
33188
  return {
@@ -33412,7 +33443,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
33412
33443
  }, {
33413
33444
  key: "repairOrderSets",
33414
33445
  value: function repairOrderSets(basketData, orerSets) {
33415
- var _loop7 = function _loop7() {
33446
+ var _loop8 = function _loop8() {
33416
33447
  var actOrderSet = orerSets[i];
33417
33448
  var setId = actOrderSet.SetID;
33418
33449
  var origOrderSet = basketData.OrderSets.find(function (set) {
@@ -33450,7 +33481,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
33450
33481
  }
33451
33482
  };
33452
33483
  for (var i = 0; i < orerSets.length; i++) {
33453
- _loop7();
33484
+ _loop8();
33454
33485
  }
33455
33486
  }
33456
33487
  /**************************SpeicherRoutinen*************************************/
@@ -34857,7 +34888,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
34857
34888
  break;
34858
34889
  case 3:
34859
34890
  _context12.next = 5;
34860
- return import('./PfisterWWSHandler-a8932746.js');
34891
+ return import('./PfisterWWSHandler-7bb3d5e6.js');
34861
34892
  case 5:
34862
34893
  _yield$import = _context12.sent;
34863
34894
  PfisterWWSHandler = _yield$import["default"];
@@ -34865,7 +34896,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
34865
34896
  return _context12.abrupt("break", 27);
34866
34897
  case 9:
34867
34898
  _context12.next = 11;
34868
- return import('./LiviqueWWSHandler-75f299c2.js');
34899
+ return import('./LiviqueWWSHandler-fc475051.js');
34869
34900
  case 11:
34870
34901
  _yield$import2 = _context12.sent;
34871
34902
  LiviqueWWSHandler = _yield$import2["default"];
@@ -34873,7 +34904,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
34873
34904
  return _context12.abrupt("break", 27);
34874
34905
  case 15:
34875
34906
  _context12.next = 17;
34876
- return import('./SeriousBasketHandler-fcb69872.js');
34907
+ return import('./SeriousBasketHandler-a2a6aae7.js');
34877
34908
  case 17:
34878
34909
  _yield$import3 = _context12.sent;
34879
34910
  SeriousWWSHandler = _yield$import3["default"];
@@ -34881,7 +34912,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
34881
34912
  return _context12.abrupt("break", 27);
34882
34913
  case 21:
34883
34914
  _context12.next = 23;
34884
- return import('./StandardWWSHandler-29b26dbf.js');
34915
+ return import('./StandardWWSHandler-68a6351e.js');
34885
34916
  case 23:
34886
34917
  _yield$import4 = _context12.sent;
34887
34918
  StandardWWSHandler = _yield$import4["default"];
@@ -36271,7 +36302,7 @@ var PlannerHandler3D = /*#__PURE__*/function () {
36271
36302
  while (1) switch (_context3.prev = _context3.next) {
36272
36303
  case 0:
36273
36304
  _context3.next = 2;
36274
- return import('./Host3DSignalR-13ab6094.js');
36305
+ return import('./Host3DSignalR-91bc0e45.js');
36275
36306
  case 2:
36276
36307
  _yield$import = _context3.sent;
36277
36308
  Host3DSignalR = _yield$import["default"];
@@ -37166,14 +37197,12 @@ var DivaMediaServiceHandler = /*#__PURE__*/function () {
37166
37197
  _classCallCheck(this, DivaMediaServiceHandler);
37167
37198
  _defineProperty(this, "organizationId", void 0);
37168
37199
  _defineProperty(this, "mediaServiceUrl", void 0);
37169
- _defineProperty(this, "mediaServiceApiKey", void 0);
37170
37200
  _defineProperty(this, "jwt", void 0);
37171
37201
  _defineProperty(this, "POST_saveTmp2PermanentPostfix", '/saveTmp2Permanent');
37172
37202
  _defineProperty(this, "GET_MediaItemrefs", '/v1/mediaitems/refs?limit=20&skip=0&filter=');
37173
37203
  _defineProperty(this, "POST_mediaItem", '/v1/mediaitems?ref=true');
37174
37204
  this.organizationId = '';
37175
37205
  this.mediaServiceUrl = '';
37176
- this.mediaServiceApiKey = '';
37177
37206
  }
37178
37207
  return _createClass(DivaMediaServiceHandler, [{
37179
37208
  key: "setOrganizationId",
@@ -37185,11 +37214,6 @@ var DivaMediaServiceHandler = /*#__PURE__*/function () {
37185
37214
  value: function setMediaServiceUrl(mediaServiceUrl) {
37186
37215
  this.mediaServiceUrl = mediaServiceUrl;
37187
37216
  }
37188
- }, {
37189
- key: "setMediaServiceApiKey",
37190
- value: function setMediaServiceApiKey(mediaServiceApiKey) {
37191
- this.mediaServiceApiKey = mediaServiceApiKey;
37192
- }
37193
37217
  }, {
37194
37218
  key: "setJwt",
37195
37219
  value: function setJwt(jwt) {
@@ -37246,7 +37270,7 @@ var DivaMediaServiceHandler = /*#__PURE__*/function () {
37246
37270
  method: 'POST',
37247
37271
  body: data,
37248
37272
  headers: {
37249
- 'X-API-KEY': this.mediaServiceApiKey
37273
+ Authorization: 'Bearer ' + this.jwt
37250
37274
  }
37251
37275
  });
37252
37276
  case 11:
@@ -37617,7 +37641,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
37617
37641
  key: "initPlanner",
37618
37642
  value: (function () {
37619
37643
  var _initPlanner = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(initSetState, plannerHandlerFunctions) {
37620
- var renderGroup, diva3dServerUrl, divaMediaServiceUrl, mediaServiceApiKey, _initSetState$api$web, result;
37644
+ var renderGroup, diva3dServerUrl, divaMediaServiceUrl, _initSetState$api$web, result;
37621
37645
  return _regeneratorRuntime.wrap(function _callee$(_context) {
37622
37646
  while (1) switch (_context.prev = _context.next) {
37623
37647
  case 0:
@@ -37625,8 +37649,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
37625
37649
  renderGroup = initSetState.api.get3DRenderGroup();
37626
37650
  this.plannerHandlerFunctions = plannerHandlerFunctions;
37627
37651
  diva3dServerUrl = initSetState.api.get3DServerUrl();
37628
- divaMediaServiceUrl = initSetState.api.getDivaMediaServiceUrl();
37629
- mediaServiceApiKey = initSetState.api.getDivaMediaServiceApiKey(); // renderGroup = 'LeaTest';
37652
+ divaMediaServiceUrl = initSetState.api.getDivaMediaServiceUrl(); // renderGroup = 'LeaTest';
37630
37653
  //diva3dServerUrl = "https://test-einkauf-onboarding.pfister.ch/diva3d/diva3dhost2/";
37631
37654
  // diva3dServerUrl = "https://diva3dhost.diva-portal.com/diva3d/diva3dhost2/";
37632
37655
  //diva3dServerUrl = 'https://localhost:44315/';
@@ -37636,7 +37659,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
37636
37659
  //divaMediaServiceUrl = 'https://api-test.diva-portal.com/media/';
37637
37660
  //divaMediaServiceUrl = 'http://localhost:3000';
37638
37661
  if (!(!initSetState.onlyRunLogic && !initSetState.no3DConnection)) {
37639
- _context.next = 14;
37662
+ _context.next = 13;
37640
37663
  break;
37641
37664
  }
37642
37665
  this.handler3D.initializeCallbackFunctions({
@@ -37655,24 +37678,23 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
37655
37678
  arViewerUrl: (_initSetState$api$web = initSetState.api.webConfig) === null || _initSetState$api$web === void 0 ? void 0 : _initSetState$api$web.arViewerUrl
37656
37679
  });
37657
37680
  if (!(!this.handler3D.checkConnectionInitialized() || result.renderGroupChanged || result.diva3dServerUrlChanged)) {
37658
- _context.next = 13;
37681
+ _context.next = 12;
37659
37682
  break;
37660
37683
  }
37661
- _context.next = 13;
37684
+ _context.next = 12;
37662
37685
  return this.handler3D.initializeConnection();
37663
- case 13:
37686
+ case 12:
37664
37687
  if (this.divaNr != initSetState.divaNr) {
37665
37688
  this.divaNr = initSetState.divaNr;
37666
37689
  this.handler3D.joinDivaNr(this.divaNr);
37667
37690
  }
37668
- case 14:
37691
+ case 13:
37669
37692
  mediaServiceHandler.setMediaServiceUrl(divaMediaServiceUrl);
37670
- mediaServiceHandler.setMediaServiceApiKey(mediaServiceApiKey);
37671
37693
  mediaServiceHandler.setOrganizationId(initSetState.organizationId);
37672
37694
  mediaServiceHandler.setJwt(initSetState.api.getJwt());
37673
37695
  this.handler3D.setOrigConfigurationCallback(this.plannerHandlerFunctions.getOrigConfiguration);
37674
37696
  DivaUtils.endSpanOfApm('DivaPlannerHandler initPlanner');
37675
- case 20:
37697
+ case 18:
37676
37698
  case "end":
37677
37699
  return _context.stop();
37678
37700
  }
@@ -37823,7 +37845,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
37823
37845
  break;
37824
37846
  case 8:
37825
37847
  _context4.next = 10;
37826
- return import('./DivaStandardPlanner-3a672b9f.js');
37848
+ return import('./DivaStandardPlanner-01ffe668.js');
37827
37849
  case 10:
37828
37850
  _yield$import = _context4.sent;
37829
37851
  DivaStandardPlanner = _yield$import["default"];
@@ -37834,7 +37856,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
37834
37856
  return _context4.abrupt("break", 21);
37835
37857
  case 15:
37836
37858
  _context4.next = 17;
37837
- return import('./DivaBoxPlanner-a9d8af1d.js');
37859
+ return import('./DivaBoxPlanner-6d8b1276.js');
37838
37860
  case 17:
37839
37861
  _yield$import2 = _context4.sent;
37840
37862
  DivaBoxPlanner = _yield$import2["default"];