@crystaldesign/web-planner-logic 25.5.0-beta.24 → 25.5.0-beta.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/{DivaBoxPlanner-1033eb82.js → DivaBoxPlanner-4c4c5907.js} +2 -2
- package/build/cjs/{DivaStandardPlanner-cc9f217c.js → DivaStandardPlanner-009fd660.js} +2 -2
- package/build/cjs/{DoorPlanner-dc6fd38f.js → DoorPlanner-1be5ffce.js} +1 -1
- package/build/cjs/{Host3DSignalR-2e02d190.js → Host3DSignalR-804049fc.js} +1 -1
- package/build/cjs/{LiviqueWWSHandler-b4e9dc6e.js → LiviqueWWSHandler-21356746.js} +1 -1
- package/build/cjs/{PfisterWWSHandler-76c5ec66.js → PfisterWWSHandler-8fb8ec2d.js} +1 -1
- package/build/cjs/{PlannerHandler2D-59218e51.js → PlannerHandler2D-f33ffe15.js} +1 -1
- package/build/cjs/{SeriousBasketHandler-c5432974.js → SeriousBasketHandler-07d4cc77.js} +1 -1
- package/build/cjs/{ShelfPlanner-eef5622f.js → ShelfPlanner-55a68467.js} +1 -1
- package/build/cjs/{StandardWWSHandler-eb31a67e.js → StandardWWSHandler-4bbaa9e8.js} +1 -1
- package/build/cjs/{index-00c59464.js → index-0bd7d9d8.js} +166 -101
- package/build/cjs/index.js +1 -1
- package/build/esm/{DivaBoxPlanner-4bc43284.js → DivaBoxPlanner-dce8ec99.js} +2 -2
- package/build/esm/{DivaStandardPlanner-efb6dff8.js → DivaStandardPlanner-32ffafad.js} +2 -2
- package/build/esm/{DoorPlanner-115c1abf.js → DoorPlanner-b856a708.js} +1 -1
- package/build/esm/{Host3DSignalR-5e95c584.js → Host3DSignalR-358a2dcd.js} +1 -1
- package/build/esm/{LiviqueWWSHandler-dde7053e.js → LiviqueWWSHandler-5993db4f.js} +1 -1
- package/build/esm/{PfisterWWSHandler-5e88e892.js → PfisterWWSHandler-3ac3632d.js} +1 -1
- package/build/esm/{PlannerHandler2D-21bb9e89.js → PlannerHandler2D-f9ad3a72.js} +1 -1
- package/build/esm/{SeriousBasketHandler-4522e09d.js → SeriousBasketHandler-1f99d7ae.js} +1 -1
- package/build/esm/{ShelfPlanner-a476c247.js → ShelfPlanner-be7eeb0a.js} +1 -1
- package/build/esm/{StandardWWSHandler-d19607b2.js → StandardWWSHandler-243499db.js} +1 -1
- package/build/esm/{index-9c21acb4.js → index-dab5a608.js} +166 -101
- package/build/esm/index.js +1 -1
- package/build/types/web-planner-logic/src/index.d.ts +1 -0
- package/build/types/web-planner-logic/src/index.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/interface/Configuration.d.ts +4 -1
- package/build/types/web-planner-logic/src/interface/Configuration.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/interface/webPlannerParams/WebPlannerParamsType.d.ts +4 -1
- package/build/types/web-planner-logic/src/interface/webPlannerParams/WebPlannerParamsType.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/Basket/DivaBasketHandler.d.ts +1 -1
- package/build/types/web-planner-logic/src/logic/DivaApiHandler.d.ts +7 -3
- package/build/types/web-planner-logic/src/logic/DivaApiHandler.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/DivaCatalogHandler.d.ts +1 -0
- package/build/types/web-planner-logic/src/logic/DivaCatalogHandler.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/DivaWebPlanner.d.ts +2 -2
- package/build/types/web-planner-logic/src/logic/DivaWebPlanner.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/model/Catalog/CatalogData.d.ts +1 -1
- package/build/types/web-planner-logic/src/model/Catalog/CatalogData.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -458,9 +458,30 @@ var DivaApiHandler = /*#__PURE__*/function () {
|
|
|
458
458
|
useMask: data.useMask,
|
|
459
459
|
loadProductBasketParams: data.loadProductBasketParams,
|
|
460
460
|
addOrganizationIdToCacheKey: data.addOrganizationIdToCacheKey,
|
|
461
|
-
dontLoadDimensions: data.dontLoadDimensions
|
|
461
|
+
dontLoadDimensions: data.dontLoadDimensions,
|
|
462
|
+
useIDMService: data.useIDMService,
|
|
463
|
+
useEnricherService: data.useEnricherService,
|
|
464
|
+
packageId: plannerConfig.packageId
|
|
462
465
|
};
|
|
463
466
|
}
|
|
467
|
+
}, {
|
|
468
|
+
key: "useIDMService",
|
|
469
|
+
get: function get() {
|
|
470
|
+
var _this$divaWebConfigDa4;
|
|
471
|
+
return (_this$divaWebConfigDa4 = this.divaWebConfigData) === null || _this$divaWebConfigDa4 === void 0 ? void 0 : _this$divaWebConfigDa4.useIDMService;
|
|
472
|
+
}
|
|
473
|
+
}, {
|
|
474
|
+
key: "useEnricherService",
|
|
475
|
+
get: function get() {
|
|
476
|
+
var _this$divaWebConfigDa5;
|
|
477
|
+
return (_this$divaWebConfigDa5 = this.divaWebConfigData) === null || _this$divaWebConfigDa5 === void 0 ? void 0 : _this$divaWebConfigDa5.useEnricherService;
|
|
478
|
+
}
|
|
479
|
+
}, {
|
|
480
|
+
key: "packageId",
|
|
481
|
+
get: function get() {
|
|
482
|
+
var _this$divaWebConfigDa6;
|
|
483
|
+
return (_this$divaWebConfigDa6 = this.divaWebConfigData) === null || _this$divaWebConfigDa6 === void 0 ? void 0 : _this$divaWebConfigDa6.packageId;
|
|
484
|
+
}
|
|
464
485
|
}, {
|
|
465
486
|
key: "getReportServiceUrl",
|
|
466
487
|
value: function getReportServiceUrl() {
|
|
@@ -494,8 +515,8 @@ var DivaApiHandler = /*#__PURE__*/function () {
|
|
|
494
515
|
}, {
|
|
495
516
|
key: "getLoadProductBasketParams",
|
|
496
517
|
value: function getLoadProductBasketParams() {
|
|
497
|
-
var _this$
|
|
498
|
-
return (_this$
|
|
518
|
+
var _this$divaWebConfigDa7;
|
|
519
|
+
return (_this$divaWebConfigDa7 = this.divaWebConfigData) === null || _this$divaWebConfigDa7 === void 0 ? void 0 : _this$divaWebConfigDa7.loadProductBasketParams;
|
|
499
520
|
}
|
|
500
521
|
}, {
|
|
501
522
|
key: "get3DServerUrl",
|
|
@@ -506,26 +527,26 @@ var DivaApiHandler = /*#__PURE__*/function () {
|
|
|
506
527
|
}, {
|
|
507
528
|
key: "doCheckForProductsPrice",
|
|
508
529
|
value: function doCheckForProductsPrice() {
|
|
509
|
-
var _this$
|
|
510
|
-
return (_this$
|
|
530
|
+
var _this$divaWebConfigDa8;
|
|
531
|
+
return (_this$divaWebConfigDa8 = this.divaWebConfigData) === null || _this$divaWebConfigDa8 === void 0 ? void 0 : _this$divaWebConfigDa8.checkForProductsPrice;
|
|
511
532
|
}
|
|
512
533
|
}, {
|
|
513
534
|
key: "doCheckForProductsMatch",
|
|
514
535
|
value: function doCheckForProductsMatch() {
|
|
515
|
-
var _this$
|
|
516
|
-
return (_this$
|
|
536
|
+
var _this$divaWebConfigDa9;
|
|
537
|
+
return (_this$divaWebConfigDa9 = this.divaWebConfigData) === null || _this$divaWebConfigDa9 === void 0 ? void 0 : _this$divaWebConfigDa9.checkForProductsMatch;
|
|
517
538
|
}
|
|
518
539
|
}, {
|
|
519
540
|
key: "getReportConfigIdentifier",
|
|
520
541
|
value: function getReportConfigIdentifier() {
|
|
521
|
-
var _this$
|
|
522
|
-
return (_this$
|
|
542
|
+
var _this$divaWebConfigDa10;
|
|
543
|
+
return (_this$divaWebConfigDa10 = this.divaWebConfigData) === null || _this$divaWebConfigDa10 === void 0 ? void 0 : _this$divaWebConfigDa10.reportConfigIdentifier;
|
|
523
544
|
}
|
|
524
545
|
}, {
|
|
525
546
|
key: "getPrintOptions",
|
|
526
547
|
value: function getPrintOptions() {
|
|
527
|
-
var _this$
|
|
528
|
-
var reportConfig = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : (_this$
|
|
548
|
+
var _this$divaWebConfigDa11;
|
|
549
|
+
var reportConfig = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : (_this$divaWebConfigDa11 = this.divaWebConfigData) === null || _this$divaWebConfigDa11 === void 0 ? void 0 : _this$divaWebConfigDa11.reportConfig;
|
|
529
550
|
return {
|
|
530
551
|
Gdpr: !!(reportConfig !== null && reportConfig !== void 0 && reportConfig.printWithGDPR),
|
|
531
552
|
PlanningSketch: !!(reportConfig !== null && reportConfig !== void 0 && reportConfig.printWithPlanningSketch),
|
|
@@ -547,8 +568,8 @@ var DivaApiHandler = /*#__PURE__*/function () {
|
|
|
547
568
|
}, {
|
|
548
569
|
key: "get3DRenderGroup",
|
|
549
570
|
value: function get3DRenderGroup() {
|
|
550
|
-
var _this$
|
|
551
|
-
return (_this$
|
|
571
|
+
var _this$divaWebConfigDa12, _this$divaWebConfigDa13;
|
|
572
|
+
return (_this$divaWebConfigDa12 = (_this$divaWebConfigDa13 = this.divaWebConfigData) === null || _this$divaWebConfigDa13 === void 0 ? void 0 : _this$divaWebConfigDa13.diva3dRenderGroup) !== null && _this$divaWebConfigDa12 !== void 0 ? _this$divaWebConfigDa12 : '';
|
|
552
573
|
}
|
|
553
574
|
}, {
|
|
554
575
|
key: "getServerId",
|
|
@@ -590,32 +611,32 @@ var DivaApiHandler = /*#__PURE__*/function () {
|
|
|
590
611
|
}, {
|
|
591
612
|
key: "getDiva3dStaticBGImage",
|
|
592
613
|
value: function getDiva3dStaticBGImage() {
|
|
593
|
-
var _this$
|
|
594
|
-
return (_this$
|
|
614
|
+
var _this$divaWebConfigDa14;
|
|
615
|
+
return (_this$divaWebConfigDa14 = this.divaWebConfigData) === null || _this$divaWebConfigDa14 === void 0 ? void 0 : _this$divaWebConfigDa14.diva3dStaticBGImage;
|
|
595
616
|
}
|
|
596
617
|
}, {
|
|
597
618
|
key: "getDiva3dStaticBGImage_DefaultRoomList",
|
|
598
619
|
value: function getDiva3dStaticBGImage_DefaultRoomList() {
|
|
599
|
-
var _this$
|
|
600
|
-
return ((_this$
|
|
620
|
+
var _this$divaWebConfigDa15, _this$divaWebConfigDa16;
|
|
621
|
+
return ((_this$divaWebConfigDa15 = this.divaWebConfigData) === null || _this$divaWebConfigDa15 === void 0 ? void 0 : _this$divaWebConfigDa15.diva3dStaticBGImage_DefaultRoomList) == '' ? '3D_STATBG_ROOMLIST' : (_this$divaWebConfigDa16 = this.divaWebConfigData) === null || _this$divaWebConfigDa16 === void 0 ? void 0 : _this$divaWebConfigDa16.diva3dStaticBGImage_DefaultRoomList;
|
|
601
622
|
}
|
|
602
623
|
}, {
|
|
603
624
|
key: "getDiva3DAllowDefaultCatRoomList",
|
|
604
625
|
value: function getDiva3DAllowDefaultCatRoomList() {
|
|
605
|
-
var _this$
|
|
606
|
-
return (_this$
|
|
626
|
+
var _this$divaWebConfigDa17;
|
|
627
|
+
return (_this$divaWebConfigDa17 = this.divaWebConfigData) === null || _this$divaWebConfigDa17 === void 0 ? void 0 : _this$divaWebConfigDa17.diva3DAllowDefaultCatRoomList;
|
|
607
628
|
}
|
|
608
629
|
}, {
|
|
609
630
|
key: "doAllowSetPlanner",
|
|
610
631
|
value: function doAllowSetPlanner() {
|
|
611
|
-
var _this$
|
|
612
|
-
return (_this$
|
|
632
|
+
var _this$divaWebConfigDa18;
|
|
633
|
+
return (_this$divaWebConfigDa18 = this.divaWebConfigData) === null || _this$divaWebConfigDa18 === void 0 ? void 0 : _this$divaWebConfigDa18.doAllowSetPlanner;
|
|
613
634
|
}
|
|
614
635
|
}, {
|
|
615
636
|
key: "getHidePlanner",
|
|
616
637
|
value: function getHidePlanner() {
|
|
617
|
-
var _this$
|
|
618
|
-
return !!((_this$
|
|
638
|
+
var _this$divaWebConfigDa19;
|
|
639
|
+
return !!((_this$divaWebConfigDa19 = this.divaWebConfigData) !== null && _this$divaWebConfigDa19 !== void 0 && (_this$divaWebConfigDa19 = _this$divaWebConfigDa19.viewConfig) !== null && _this$divaWebConfigDa19 !== void 0 && _this$divaWebConfigDa19.hidePlanner);
|
|
619
640
|
}
|
|
620
641
|
}, {
|
|
621
642
|
key: "getEnableRTVUnityKombi",
|
|
@@ -626,32 +647,32 @@ var DivaApiHandler = /*#__PURE__*/function () {
|
|
|
626
647
|
}, {
|
|
627
648
|
key: "getDoDisablePlanner2D",
|
|
628
649
|
value: function getDoDisablePlanner2D() {
|
|
629
|
-
var _this$
|
|
630
|
-
return !!((_this$
|
|
650
|
+
var _this$divaWebConfigDa20;
|
|
651
|
+
return !!((_this$divaWebConfigDa20 = this.divaWebConfigData) !== null && _this$divaWebConfigDa20 !== void 0 && _this$divaWebConfigDa20.doDisablePlanner2D);
|
|
631
652
|
}
|
|
632
653
|
}, {
|
|
633
654
|
key: "getRoomListInProduct",
|
|
634
655
|
value: function getRoomListInProduct() {
|
|
635
|
-
var _this$
|
|
636
|
-
return !!((_this$
|
|
656
|
+
var _this$divaWebConfigDa21;
|
|
657
|
+
return !!((_this$divaWebConfigDa21 = this.divaWebConfigData) !== null && _this$divaWebConfigDa21 !== void 0 && (_this$divaWebConfigDa21 = _this$divaWebConfigDa21.viewConfig) !== null && _this$divaWebConfigDa21 !== void 0 && _this$divaWebConfigDa21.roomListInProduct);
|
|
637
658
|
}
|
|
638
659
|
}, {
|
|
639
660
|
key: "getPlannerType",
|
|
640
661
|
value: function getPlannerType() {
|
|
641
|
-
var _this$
|
|
642
|
-
return (_this$
|
|
662
|
+
var _this$divaWebConfigDa22;
|
|
663
|
+
return (_this$divaWebConfigDa22 = this.divaWebConfigData) === null || _this$divaWebConfigDa22 === void 0 || (_this$divaWebConfigDa22 = _this$divaWebConfigDa22.viewConfig) === null || _this$divaWebConfigDa22 === void 0 ? void 0 : _this$divaWebConfigDa22.plannerType;
|
|
643
664
|
}
|
|
644
665
|
}, {
|
|
645
666
|
key: "getLoadSupplierColors",
|
|
646
667
|
value: function getLoadSupplierColors() {
|
|
647
|
-
var _this$
|
|
648
|
-
return !!((_this$
|
|
668
|
+
var _this$divaWebConfigDa23;
|
|
669
|
+
return !!((_this$divaWebConfigDa23 = this.divaWebConfigData) !== null && _this$divaWebConfigDa23 !== void 0 && _this$divaWebConfigDa23.loadSupplierColors);
|
|
649
670
|
}
|
|
650
671
|
}, {
|
|
651
672
|
key: "showSelectionModeZero",
|
|
652
673
|
value: function showSelectionModeZero() {
|
|
653
|
-
var _this$
|
|
654
|
-
return !!((_this$
|
|
674
|
+
var _this$divaWebConfigDa24;
|
|
675
|
+
return !!((_this$divaWebConfigDa24 = this.divaWebConfigData) !== null && _this$divaWebConfigDa24 !== void 0 && _this$divaWebConfigDa24.showSelectionModeZero);
|
|
655
676
|
}
|
|
656
677
|
}, {
|
|
657
678
|
key: "ruleDescSeperator",
|
|
@@ -754,56 +775,56 @@ var DivaApiHandler = /*#__PURE__*/function () {
|
|
|
754
775
|
}, {
|
|
755
776
|
key: "getViewConfig",
|
|
756
777
|
value: function getViewConfig() {
|
|
757
|
-
var _this$
|
|
758
|
-
return (_this$
|
|
778
|
+
var _this$divaWebConfigDa25;
|
|
779
|
+
return (_this$divaWebConfigDa25 = this.divaWebConfigData) === null || _this$divaWebConfigDa25 === void 0 ? void 0 : _this$divaWebConfigDa25.viewConfig;
|
|
759
780
|
}
|
|
760
781
|
}, {
|
|
761
782
|
key: "getEmailConfig",
|
|
762
783
|
value: function getEmailConfig() {
|
|
763
|
-
var _this$
|
|
764
|
-
return (_this$
|
|
784
|
+
var _this$divaWebConfigDa26;
|
|
785
|
+
return (_this$divaWebConfigDa26 = this.divaWebConfigData) === null || _this$divaWebConfigDa26 === void 0 ? void 0 : _this$divaWebConfigDa26.emailConfig;
|
|
765
786
|
}
|
|
766
787
|
}, {
|
|
767
788
|
key: "getABTestCases",
|
|
768
789
|
value: function getABTestCases() {
|
|
769
|
-
var _this$
|
|
770
|
-
return (_this$
|
|
790
|
+
var _this$divaWebConfigDa27, _this$divaWebConfigDa28;
|
|
791
|
+
return (_this$divaWebConfigDa27 = (_this$divaWebConfigDa28 = this.divaWebConfigData) === null || _this$divaWebConfigDa28 === void 0 ? void 0 : _this$divaWebConfigDa28.abTestCases) !== null && _this$divaWebConfigDa27 !== void 0 ? _this$divaWebConfigDa27 : [];
|
|
771
792
|
}
|
|
772
793
|
}, {
|
|
773
794
|
key: "getBarrierConfig",
|
|
774
795
|
value: function getBarrierConfig() {
|
|
775
|
-
var _this$
|
|
776
|
-
return (_this$
|
|
796
|
+
var _this$divaWebConfigDa29;
|
|
797
|
+
return (_this$divaWebConfigDa29 = this.divaWebConfigData) === null || _this$divaWebConfigDa29 === void 0 ? void 0 : _this$divaWebConfigDa29.barrierConfig;
|
|
777
798
|
}
|
|
778
799
|
}, {
|
|
779
800
|
key: "getTemplateConfig",
|
|
780
801
|
value: function getTemplateConfig() {
|
|
781
|
-
var _this$
|
|
782
|
-
return (_this$
|
|
802
|
+
var _this$divaWebConfigDa30;
|
|
803
|
+
return (_this$divaWebConfigDa30 = this.divaWebConfigData) === null || _this$divaWebConfigDa30 === void 0 ? void 0 : _this$divaWebConfigDa30.templateConfig;
|
|
783
804
|
}
|
|
784
805
|
}, {
|
|
785
806
|
key: "showDivaNr",
|
|
786
807
|
value: function showDivaNr() {
|
|
787
|
-
var _this$
|
|
788
|
-
return (_this$
|
|
808
|
+
var _this$divaWebConfigDa31;
|
|
809
|
+
return (_this$divaWebConfigDa31 = this.divaWebConfigData) === null || _this$divaWebConfigDa31 === void 0 ? void 0 : _this$divaWebConfigDa31.showDivaNr;
|
|
789
810
|
}
|
|
790
811
|
}, {
|
|
791
812
|
key: "dontLoadDimensions",
|
|
792
813
|
value: function dontLoadDimensions() {
|
|
793
|
-
var _this$
|
|
794
|
-
return (_this$
|
|
814
|
+
var _this$divaWebConfigDa32;
|
|
815
|
+
return (_this$divaWebConfigDa32 = this.divaWebConfigData) === null || _this$divaWebConfigDa32 === void 0 ? void 0 : _this$divaWebConfigDa32.dontLoadDimensions;
|
|
795
816
|
}
|
|
796
817
|
}, {
|
|
797
818
|
key: "onErrorHandling",
|
|
798
819
|
value: function onErrorHandling() {
|
|
799
|
-
var _this$
|
|
800
|
-
return (_this$
|
|
820
|
+
var _this$divaWebConfigDa33;
|
|
821
|
+
return (_this$divaWebConfigDa33 = this.divaWebConfigData) === null || _this$divaWebConfigDa33 === void 0 ? void 0 : _this$divaWebConfigDa33.onErrorHandling;
|
|
801
822
|
}
|
|
802
823
|
}, {
|
|
803
824
|
key: "diva3DRenderingDefault",
|
|
804
825
|
value: function diva3DRenderingDefault() {
|
|
805
|
-
var _this$
|
|
806
|
-
return (_this$
|
|
826
|
+
var _this$divaWebConfigDa34;
|
|
827
|
+
return (_this$divaWebConfigDa34 = this.divaWebConfigData) === null || _this$divaWebConfigDa34 === void 0 ? void 0 : _this$divaWebConfigDa34.diva3DRenderingDefault;
|
|
807
828
|
}
|
|
808
829
|
}, {
|
|
809
830
|
key: "getJwt",
|
|
@@ -818,13 +839,13 @@ var DivaApiHandler = /*#__PURE__*/function () {
|
|
|
818
839
|
}, {
|
|
819
840
|
key: "getUseMask",
|
|
820
841
|
value: function getUseMask() {
|
|
821
|
-
var _this$
|
|
822
|
-
return (_this$
|
|
842
|
+
var _this$divaWebConfigDa35;
|
|
843
|
+
return (_this$divaWebConfigDa35 = this.divaWebConfigData) === null || _this$divaWebConfigDa35 === void 0 ? void 0 : _this$divaWebConfigDa35.useMask;
|
|
823
844
|
}
|
|
824
845
|
}, {
|
|
825
846
|
key: "apiUrl",
|
|
826
847
|
value: function apiUrl(queryString, useWebServiceApi) {
|
|
827
|
-
var _this$
|
|
848
|
+
var _this$apiConfig23, _this$apiConfig24, _this$apiConfig25;
|
|
828
849
|
if (useWebServiceApi == 'catalog') {
|
|
829
850
|
var _this$apiConfig13, _this$apiConfig14;
|
|
830
851
|
if (!((_this$apiConfig13 = this.apiConfig) !== null && _this$apiConfig13 !== void 0 && _this$apiConfig13.catalogService)) throw new Error('No catalog Service defined');
|
|
@@ -841,17 +862,22 @@ var DivaApiHandler = /*#__PURE__*/function () {
|
|
|
841
862
|
return ((_this$apiConfig18 = this.apiConfig) === null || _this$apiConfig18 === void 0 ? void 0 : _this$apiConfig18.reportService) + queryString;
|
|
842
863
|
}
|
|
843
864
|
if (useWebServiceApi == 'enricher') {
|
|
844
|
-
var _this$
|
|
845
|
-
if (
|
|
846
|
-
|
|
865
|
+
var _this$apiConfig21, _this$apiConfig22;
|
|
866
|
+
if (this.useIDMService) {
|
|
867
|
+
var _this$apiConfig19, _this$apiConfig20;
|
|
868
|
+
if (!((_this$apiConfig19 = this.apiConfig) !== null && _this$apiConfig19 !== void 0 && _this$apiConfig19.idmService)) throw new Error('No report Service defined');
|
|
869
|
+
return ((_this$apiConfig20 = this.apiConfig) === null || _this$apiConfig20 === void 0 ? void 0 : _this$apiConfig20.idmService) + queryString;
|
|
870
|
+
}
|
|
871
|
+
if (!((_this$apiConfig21 = this.apiConfig) !== null && _this$apiConfig21 !== void 0 && _this$apiConfig21.enricherService)) throw new Error('No report Service defined');
|
|
872
|
+
return ((_this$apiConfig22 = this.apiConfig) === null || _this$apiConfig22 === void 0 ? void 0 : _this$apiConfig22.enricherService) + queryString;
|
|
847
873
|
}
|
|
848
|
-
var url = (_this$
|
|
849
|
-
if (this.getApplicationEnvironment() == 'WEB' && (_this$
|
|
874
|
+
var url = (_this$apiConfig23 = this.apiConfig) === null || _this$apiConfig23 === void 0 ? void 0 : _this$apiConfig23.api2["default"];
|
|
875
|
+
if (this.getApplicationEnvironment() == 'WEB' && (_this$apiConfig24 = this.apiConfig) !== null && _this$apiConfig24 !== void 0 && _this$apiConfig24.api2.web) {
|
|
850
876
|
url = this.apiConfig.api2.web;
|
|
851
877
|
}
|
|
852
|
-
if (this.useEkPrices && (_this$
|
|
853
|
-
var _this$
|
|
854
|
-
url = (_this$
|
|
878
|
+
if (this.useEkPrices && (_this$apiConfig25 = this.apiConfig) !== null && _this$apiConfig25 !== void 0 && _this$apiConfig25.api2.ek) {
|
|
879
|
+
var _this$apiConfig26;
|
|
880
|
+
url = (_this$apiConfig26 = this.apiConfig) === null || _this$apiConfig26 === void 0 ? void 0 : _this$apiConfig26.api2.ek;
|
|
855
881
|
}
|
|
856
882
|
if (!url) throw new Error('No API2 defined');
|
|
857
883
|
return url + '?' + queryString;
|
|
@@ -1018,56 +1044,62 @@ var DivaApiHandler = /*#__PURE__*/function () {
|
|
|
1018
1044
|
}
|
|
1019
1045
|
|
|
1020
1046
|
/******************IDM Service CALLs */
|
|
1047
|
+
}, {
|
|
1048
|
+
key: "idmPrefix",
|
|
1049
|
+
get: function get() {
|
|
1050
|
+
if (this.useEnricherService && !this.packageId) throw new Error('packageId as parameter not missing');
|
|
1051
|
+
return this.useEnricherService ? '/wysiwyg/v3.0/' + this.packageId : !this.useIDMService ? '/live/v3.0' : '/v3.0';
|
|
1052
|
+
}
|
|
1021
1053
|
}, {
|
|
1022
1054
|
key: "getIDMCatalog",
|
|
1023
1055
|
value: function getIDMCatalog(catalogId) {
|
|
1024
|
-
return '/
|
|
1056
|
+
return this.idmPrefix + '/catalogs' + (!this.useEnricherService ? '/' + catalogId : '');
|
|
1025
1057
|
}
|
|
1026
1058
|
}, {
|
|
1027
1059
|
key: "getIDMSerieByNo",
|
|
1028
1060
|
value: function getIDMSerieByNo(catalogId, serieNo) {
|
|
1029
|
-
return '/
|
|
1061
|
+
return this.idmPrefix + '/catalogs/' + catalogId + '/series' + '?filter=' + encodeURIComponent('serieNo==' + serieNo);
|
|
1030
1062
|
}
|
|
1031
1063
|
}, {
|
|
1032
1064
|
key: "getIDMItems",
|
|
1033
1065
|
value: function getIDMItems(catalogId, serieId, typeNos) {
|
|
1034
|
-
return '/
|
|
1066
|
+
return this.idmPrefix + '/catalogs/' + catalogId + '/series/' + serieId + '/items' + (typeNos !== null && typeNos !== void 0 && typeNos.length ? '?filter=' + typeNos.map(function (t) {
|
|
1035
1067
|
return encodeURIComponent('typeNo==' + t);
|
|
1036
1068
|
}).join(' || ') : '?fields=properties;serieNo;featureClassRefNo;priceTypeRef;itemIdentification;catalogPage;weightBrutto;weightNetto;volume;minimumDeliveryTime;widthBasicShapeNominalValue;widthBasicShapeFrom;widthBasicShapeTo;widthBasicShapeStepSize;heightBasicShapeNominalValue;heightBasicShapeFrom;heightBasicShapeTo;heightBasicShapeStepSize;depthBasicShapeNominalValue;depthBasicShapeFrom;depthBasicShapeTo;depthBasicShapeStepSize;typeKey;eClassNo;detailInfoRefs;detailInfos;partListExclusive;partListRef;decisionRefs;typeNo;sequenceNo;edpNumber;eanNumber;shortText;fullText;planningAdvice;salesNumber');
|
|
1037
1069
|
}
|
|
1038
1070
|
}, {
|
|
1039
1071
|
key: "getIDMItem",
|
|
1040
1072
|
value: function getIDMItem(catalogId, serieId, typeNo) {
|
|
1041
|
-
return '/
|
|
1073
|
+
return this.idmPrefix + '/catalogs/' + catalogId + '/series/' + serieId + '/items/' + typeNo;
|
|
1042
1074
|
}
|
|
1043
1075
|
}, {
|
|
1044
1076
|
key: "getIDMFeatures",
|
|
1045
1077
|
value: function getIDMFeatures(catalogId, features) {
|
|
1046
|
-
return '/
|
|
1078
|
+
return this.idmPrefix + '/catalogs/' + catalogId + '/features' + '?featureNos=' + features.join(';') + (this.smSupplierNr ? '&supplierNo=' + this.smSupplierNr : '');
|
|
1047
1079
|
}
|
|
1048
1080
|
}, {
|
|
1049
1081
|
key: "getIDMDecisions",
|
|
1050
1082
|
value: function getIDMDecisions(catalogId, decisions) {
|
|
1051
|
-
return '/
|
|
1083
|
+
return this.idmPrefix + '/catalogs/' + catalogId + '/decisions' + '?decisionNos=' + decisions.join(';') + (this.smSupplierNr ? '&supplierNo=' + this.smSupplierNr : '');
|
|
1052
1084
|
}
|
|
1053
1085
|
}, {
|
|
1054
1086
|
key: "getIDMDetailInfos",
|
|
1055
1087
|
value: function getIDMDetailInfos(catalogId, detailinfos) {
|
|
1056
|
-
return '/
|
|
1088
|
+
return this.idmPrefix + '/catalogs/' + catalogId + '/detailinfos' + '?filter=' + detailinfos.map(function (d) {
|
|
1057
1089
|
return encodeURIComponent('featureClassNo==' + d);
|
|
1058
1090
|
}).join(' || ');
|
|
1059
1091
|
}
|
|
1060
1092
|
}, {
|
|
1061
1093
|
key: "getIDMFeatureClass",
|
|
1062
1094
|
value: function getIDMFeatureClass(catalogId, featureclasses) {
|
|
1063
|
-
return '/
|
|
1095
|
+
return this.idmPrefix + '/catalogs/' + catalogId + '/featureclasses' + '?filter=' + featureclasses.map(function (f) {
|
|
1064
1096
|
return encodeURIComponent('featureClassNo==' + f);
|
|
1065
1097
|
}).join(' || ');
|
|
1066
1098
|
}
|
|
1067
1099
|
}, {
|
|
1068
1100
|
key: "getIDMPriceFeatureGroups",
|
|
1069
1101
|
value: function getIDMPriceFeatureGroups(catalogId, pricefeaturegroups) {
|
|
1070
|
-
return '/
|
|
1102
|
+
return this.idmPrefix + '/catalogs/' + catalogId + '/pricefeaturegroups' + '?filter=' + pricefeaturegroups.map(function (p) {
|
|
1071
1103
|
return encodeURIComponent('priceFeatureGroupNo==' + p);
|
|
1072
1104
|
}).join(' || ');
|
|
1073
1105
|
}
|
|
@@ -1234,12 +1266,12 @@ var DivaApiHandler = /*#__PURE__*/function () {
|
|
|
1234
1266
|
key: "getDimensionbyId",
|
|
1235
1267
|
value: function () {
|
|
1236
1268
|
var _getDimensionbyId = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee11(id, iln, catalogCodex, plannedOptions) {
|
|
1237
|
-
var _this$
|
|
1269
|
+
var _this$apiConfig27;
|
|
1238
1270
|
var fullUrl, res, headers;
|
|
1239
1271
|
return _regeneratorRuntime__default["default"].wrap(function _callee11$(_context11) {
|
|
1240
1272
|
while (1) switch (_context11.prev = _context11.next) {
|
|
1241
1273
|
case 0:
|
|
1242
|
-
fullUrl = this.getConstructorServiceUrl() + '/dimension/' + id + '?iln=' + iln + '&catalogCodex=' + catalogCodex + '&debug=' + ((_this$
|
|
1274
|
+
fullUrl = this.getConstructorServiceUrl() + '/dimension/' + id + '?iln=' + iln + '&catalogCodex=' + catalogCodex + '&debug=' + ((_this$apiConfig27 = this.apiConfig) === null || _this$apiConfig27 === void 0 ? void 0 : _this$apiConfig27.useDebugUrl);
|
|
1243
1275
|
headers = {};
|
|
1244
1276
|
if (this.jwt) headers = {
|
|
1245
1277
|
Authorization: 'Bearer ' + this.jwt
|
|
@@ -1372,14 +1404,14 @@ var DivaApiHandler = /*#__PURE__*/function () {
|
|
|
1372
1404
|
}, {
|
|
1373
1405
|
key: "dontLoadAdditionalModelInfos",
|
|
1374
1406
|
get: function get() {
|
|
1375
|
-
var _this$
|
|
1376
|
-
return (_this$
|
|
1407
|
+
var _this$divaWebConfigDa36;
|
|
1408
|
+
return (_this$divaWebConfigDa36 = this.divaWebConfigData) === null || _this$divaWebConfigDa36 === void 0 ? void 0 : _this$divaWebConfigDa36.dontLoadAdditionalModelInfos;
|
|
1377
1409
|
}
|
|
1378
1410
|
}, {
|
|
1379
1411
|
key: "dontLoadCatalogEditorLiteMask",
|
|
1380
1412
|
get: function get() {
|
|
1381
|
-
var _this$
|
|
1382
|
-
return (_this$
|
|
1413
|
+
var _this$divaWebConfigDa37;
|
|
1414
|
+
return (_this$divaWebConfigDa37 = this.divaWebConfigData) === null || _this$divaWebConfigDa37 === void 0 ? void 0 : _this$divaWebConfigDa37.dontLoadCatalogEditorLiteMask;
|
|
1383
1415
|
}
|
|
1384
1416
|
}, {
|
|
1385
1417
|
key: "OrganizationId",
|
|
@@ -19147,8 +19179,9 @@ var getFeatures = function getFeatures(set, featureClasses) {
|
|
|
19147
19179
|
return toLoadFeatures;
|
|
19148
19180
|
};
|
|
19149
19181
|
var getFeaturesByFeatureClass = function getFeaturesByFeatureClass(featureClass) {
|
|
19182
|
+
var _featureClass$feature;
|
|
19150
19183
|
var neededFeatures = [];
|
|
19151
|
-
var featureRefs = Object.keys(featureClass.featureRefs);
|
|
19184
|
+
var featureRefs = Object.keys((_featureClass$feature = featureClass.featureRefs) !== null && _featureClass$feature !== void 0 ? _featureClass$feature : {});
|
|
19152
19185
|
for (var j = 0; j < featureRefs.length; j++) {
|
|
19153
19186
|
neededFeatures.push(featureRefs[j]);
|
|
19154
19187
|
}
|
|
@@ -19231,7 +19264,7 @@ var parseOptionSetRef = function parseOptionSetRef(optionsSetRefs, idmOptionGrou
|
|
|
19231
19264
|
value: group
|
|
19232
19265
|
};
|
|
19233
19266
|
} else {
|
|
19234
|
-
|
|
19267
|
+
LOG$j.error(new Error('rule not implemented' + JSON.stringify(optionsSetRefs)));
|
|
19235
19268
|
}
|
|
19236
19269
|
}
|
|
19237
19270
|
} else {
|
|
@@ -19869,9 +19902,9 @@ var DivaCatalogData = /*#__PURE__*/function () {
|
|
|
19869
19902
|
this._api = api;
|
|
19870
19903
|
this.additionalModelInfos = additionalModelInfos;
|
|
19871
19904
|
if (json.Properties) {
|
|
19872
|
-
var _this$catalogMask$cat, _this$catalogMask;
|
|
19905
|
+
var _json$Properties, _this$catalogMask$cat, _this$catalogMask;
|
|
19873
19906
|
this.origProperties = json.Properties;
|
|
19874
|
-
this.initProperties(catalogCodex, [].concat(_toConsumableArray__default["default"](json.Properties), _toConsumableArray__default["default"]((_this$catalogMask$cat = (_this$catalogMask = this.catalogMask) === null || _this$catalogMask === void 0 || (_this$catalogMask = _this$catalogMask.catalog) === null || _this$catalogMask === void 0 ? void 0 : _this$catalogMask.properties) !== null && _this$catalogMask$cat !== void 0 ? _this$catalogMask$cat : [])));
|
|
19907
|
+
this.initProperties(catalogCodex, [].concat(_toConsumableArray__default["default"]((_json$Properties = json.Properties) !== null && _json$Properties !== void 0 ? _json$Properties : []), _toConsumableArray__default["default"]((_this$catalogMask$cat = (_this$catalogMask = this.catalogMask) === null || _this$catalogMask === void 0 || (_this$catalogMask = _this$catalogMask.catalog) === null || _this$catalogMask === void 0 ? void 0 : _this$catalogMask.properties) !== null && _this$catalogMask$cat !== void 0 ? _this$catalogMask$cat : [])));
|
|
19875
19908
|
}
|
|
19876
19909
|
this.plannerPaletteViewInfo = {
|
|
19877
19910
|
catalogPlannerArticles: [],
|
|
@@ -19903,8 +19936,8 @@ var DivaCatalogData = /*#__PURE__*/function () {
|
|
|
19903
19936
|
initIDMArticles(articleJson, this);
|
|
19904
19937
|
}
|
|
19905
19938
|
if (this.origProperties) {
|
|
19906
|
-
var _this$catalogMask$cat2, _this$catalogMask2;
|
|
19907
|
-
this.initPropertiesAfterOptionsInit(catalogCodex, [].concat(_toConsumableArray__default["default"](json.Properties), _toConsumableArray__default["default"]((_this$catalogMask$cat2 = (_this$catalogMask2 = this.catalogMask) === null || _this$catalogMask2 === void 0 || (_this$catalogMask2 = _this$catalogMask2.catalog) === null || _this$catalogMask2 === void 0 ? void 0 : _this$catalogMask2.properties) !== null && _this$catalogMask$cat2 !== void 0 ? _this$catalogMask$cat2 : [])));
|
|
19939
|
+
var _json$Properties2, _this$catalogMask$cat2, _this$catalogMask2;
|
|
19940
|
+
this.initPropertiesAfterOptionsInit(catalogCodex, [].concat(_toConsumableArray__default["default"]((_json$Properties2 = json.Properties) !== null && _json$Properties2 !== void 0 ? _json$Properties2 : []), _toConsumableArray__default["default"]((_this$catalogMask$cat2 = (_this$catalogMask2 = this.catalogMask) === null || _this$catalogMask2 === void 0 || (_this$catalogMask2 = _this$catalogMask2.catalog) === null || _this$catalogMask2 === void 0 ? void 0 : _this$catalogMask2.properties) !== null && _this$catalogMask$cat2 !== void 0 ? _this$catalogMask$cat2 : [])));
|
|
19908
19941
|
}
|
|
19909
19942
|
}
|
|
19910
19943
|
return _createClass__default["default"](DivaCatalogData, [{
|
|
@@ -20111,8 +20144,9 @@ var DivaCatalogData = /*#__PURE__*/function () {
|
|
|
20111
20144
|
}
|
|
20112
20145
|
}, {
|
|
20113
20146
|
key: "getFeatures",
|
|
20114
|
-
value: function getFeatures(
|
|
20147
|
+
value: function getFeatures() {
|
|
20115
20148
|
var _this3 = this;
|
|
20149
|
+
var featureRefs = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
20116
20150
|
return featureRefs.map(function (ref) {
|
|
20117
20151
|
return _this3.catalogData.loadedFeatures.find(function (f) {
|
|
20118
20152
|
return f.featureNo == ref;
|
|
@@ -21407,7 +21441,7 @@ var DivaCatalogHandler = /*#__PURE__*/function () {
|
|
|
21407
21441
|
return _regeneratorRuntime__default["default"].wrap(function _callee3$(_context3) {
|
|
21408
21442
|
while (1) switch (_context3.prev = _context3.next) {
|
|
21409
21443
|
case 0:
|
|
21410
|
-
promises = [state.api.getDataCache(state.api.getIDMCatalog(accountId), undefined, undefined, 'enricher'), state.api.getDataCache(state.api.getIDMSerieByNo(accountId, serieNo), undefined, undefined, 'enricher'), state.api.getDataCache(state.api.getIDMItems(accountId, serieId), undefined, undefined, 'enricher'), state.api.dontLoadAdditionalModelInfos ?
|
|
21444
|
+
promises = [state.api.getDataCache(state.api.getIDMCatalog(accountId), undefined, undefined, 'enricher'), state.api.getDataCache(state.api.getIDMSerieByNo(accountId, serieNo), undefined, undefined, 'enricher'), state.api.getDataCache(state.api.getIDMItems(accountId, serieId), undefined, undefined, 'enricher'), !state.api.dontLoadAdditionalModelInfos ? this.getAdditionalModeInfos(state, serieId, accountId) : undefined];
|
|
21411
21445
|
_context3.next = 3;
|
|
21412
21446
|
return Promise.all(promises);
|
|
21413
21447
|
case 3:
|
|
@@ -21425,13 +21459,41 @@ var DivaCatalogHandler = /*#__PURE__*/function () {
|
|
|
21425
21459
|
case "end":
|
|
21426
21460
|
return _context3.stop();
|
|
21427
21461
|
}
|
|
21428
|
-
}, _callee3);
|
|
21462
|
+
}, _callee3, this);
|
|
21429
21463
|
}));
|
|
21430
21464
|
function loadIDMCatalog(_x7, _x8, _x9, _x10, _x11) {
|
|
21431
21465
|
return _loadIDMCatalog.apply(this, arguments);
|
|
21432
21466
|
}
|
|
21433
21467
|
return loadIDMCatalog;
|
|
21434
21468
|
}()
|
|
21469
|
+
}, {
|
|
21470
|
+
key: "getAdditionalModeInfos",
|
|
21471
|
+
value: function () {
|
|
21472
|
+
var _getAdditionalModeInfos = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee4(state, serieId, accountId) {
|
|
21473
|
+
return _regeneratorRuntime__default["default"].wrap(function _callee4$(_context4) {
|
|
21474
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
21475
|
+
case 0:
|
|
21476
|
+
_context4.prev = 0;
|
|
21477
|
+
_context4.next = 3;
|
|
21478
|
+
return state.api.getDataCache(state.api.getAdditionalModelInfosQS(accountId, serieId), undefined, undefined, 'catalog');
|
|
21479
|
+
case 3:
|
|
21480
|
+
return _context4.abrupt("return", _context4.sent);
|
|
21481
|
+
case 6:
|
|
21482
|
+
_context4.prev = 6;
|
|
21483
|
+
_context4.t0 = _context4["catch"](0);
|
|
21484
|
+
LOG$g.debug('additional ModelInfo not found');
|
|
21485
|
+
return _context4.abrupt("return", undefined);
|
|
21486
|
+
case 10:
|
|
21487
|
+
case "end":
|
|
21488
|
+
return _context4.stop();
|
|
21489
|
+
}
|
|
21490
|
+
}, _callee4, null, [[0, 6]]);
|
|
21491
|
+
}));
|
|
21492
|
+
function getAdditionalModeInfos(_x12, _x13, _x14) {
|
|
21493
|
+
return _getAdditionalModeInfos.apply(this, arguments);
|
|
21494
|
+
}
|
|
21495
|
+
return getAdditionalModeInfos;
|
|
21496
|
+
}()
|
|
21435
21497
|
}]);
|
|
21436
21498
|
}();
|
|
21437
21499
|
var catalogHandlerInstance = new DivaCatalogHandler();
|
|
@@ -23947,9 +24009,10 @@ var IDMEngine = /*#__PURE__*/function () {
|
|
|
23947
24009
|
}, {
|
|
23948
24010
|
key: "evalType1Decision",
|
|
23949
24011
|
value: function evalType1Decision(decision) {
|
|
24012
|
+
var _decision$featureRefs;
|
|
23950
24013
|
var validOptions = {};
|
|
23951
24014
|
var doAlsoCheckFeatureNos = [];
|
|
23952
|
-
if (!decision.optionCombinations.length || !decision.featureRefs.length) return;
|
|
24015
|
+
if (!decision.optionCombinations.length || !((_decision$featureRefs = decision.featureRefs) !== null && _decision$featureRefs !== void 0 && _decision$featureRefs.length)) return;
|
|
23953
24016
|
var sortedDeatureRefs = this.sortFeatures(decision.featureRefs);
|
|
23954
24017
|
for (var p = 0; p < sortedDeatureRefs.length; p++) {
|
|
23955
24018
|
var featureNo = sortedDeatureRefs[p];
|
|
@@ -24050,10 +24113,10 @@ var IDMEngine = /*#__PURE__*/function () {
|
|
|
24050
24113
|
}, {
|
|
24051
24114
|
key: "evalType0Decision",
|
|
24052
24115
|
value: function evalType0Decision(decision) {
|
|
24053
|
-
var _decision$optionCombi;
|
|
24116
|
+
var _decision$optionCombi, _decision$featureRefs2;
|
|
24054
24117
|
var invalidOptions = {},
|
|
24055
24118
|
doAlsoCheckFeature = [];
|
|
24056
|
-
if (!((_decision$optionCombi = decision.optionCombinations) !== null && _decision$optionCombi !== void 0 && _decision$optionCombi.length) || !decision.featureRefs.length) return;
|
|
24119
|
+
if (!((_decision$optionCombi = decision.optionCombinations) !== null && _decision$optionCombi !== void 0 && _decision$optionCombi.length) || !((_decision$featureRefs2 = decision.featureRefs) !== null && _decision$featureRefs2 !== void 0 && _decision$featureRefs2.length)) return;
|
|
24057
24120
|
var sortedDeatureRefs = this.sortFeatures(decision.featureRefs);
|
|
24058
24121
|
for (var p = 0; p < sortedDeatureRefs.length; p++) {
|
|
24059
24122
|
var featureNo = sortedDeatureRefs[p];
|
|
@@ -24154,7 +24217,7 @@ var IDMEngine = /*#__PURE__*/function () {
|
|
|
24154
24217
|
} else if (action.value) {
|
|
24155
24218
|
_this2.assignOptionValue(action.target, action.value, action.actionType === 'SET_FEATURE_FIXED' ? 'fix' : 'set');
|
|
24156
24219
|
} else {
|
|
24157
|
-
|
|
24220
|
+
LOG$e.error(new Error('decision' + decision.decisionNo + ' has action that referst to a feature that does not existi on this article'));
|
|
24158
24221
|
}
|
|
24159
24222
|
break;
|
|
24160
24223
|
case '1':
|
|
@@ -24240,8 +24303,9 @@ var IDMEngine = /*#__PURE__*/function () {
|
|
|
24240
24303
|
ref = _command$split2[0];
|
|
24241
24304
|
value = _command$split2[1];
|
|
24242
24305
|
if (ref == 'FEATURE_REF') {
|
|
24306
|
+
var _this$article$getArti;
|
|
24243
24307
|
ref = undefined;
|
|
24244
|
-
value = this.article.getArticleOptionState(value).valCodex;
|
|
24308
|
+
value = (_this$article$getArti = this.article.getArticleOptionState(value)) === null || _this$article$getArti === void 0 ? void 0 : _this$article$getArti.valCodex;
|
|
24245
24309
|
} else if (ref == 'OPTION_REF') {
|
|
24246
24310
|
ref = undefined;
|
|
24247
24311
|
} else if (ref == 'FORMULA_REF') {
|
|
@@ -24661,7 +24725,8 @@ var IDMEngine = /*#__PURE__*/function () {
|
|
|
24661
24725
|
var variantValuesArr = [];
|
|
24662
24726
|
var decisions = this.decisions;
|
|
24663
24727
|
var relevantDecisions = decisions.filter(function (d) {
|
|
24664
|
-
|
|
24728
|
+
var _d$featureRefs;
|
|
24729
|
+
return (_d$featureRefs = d.featureRefs) === null || _d$featureRefs === void 0 ? void 0 : _d$featureRefs.includes(featureNo);
|
|
24665
24730
|
});
|
|
24666
24731
|
for (var i = 0; i < relevantDecisions.length; i++) {
|
|
24667
24732
|
var decision = relevantDecisions[i];
|
|
@@ -27214,7 +27279,7 @@ var DivaArticle = /*#__PURE__*/function () {
|
|
|
27214
27279
|
break;
|
|
27215
27280
|
}
|
|
27216
27281
|
_context.next = 4;
|
|
27217
|
-
return Promise.resolve().then(function () { return require('./ShelfPlanner-
|
|
27282
|
+
return Promise.resolve().then(function () { return require('./ShelfPlanner-55a68467.js'); });
|
|
27218
27283
|
case 4:
|
|
27219
27284
|
_yield$import = _context.sent;
|
|
27220
27285
|
ShelfPlanner = _yield$import["default"];
|
|
@@ -31863,7 +31928,7 @@ var DivaSet = /*#__PURE__*/function () {
|
|
|
31863
31928
|
break;
|
|
31864
31929
|
}
|
|
31865
31930
|
_context5.next = 3;
|
|
31866
|
-
return Promise.resolve().then(function () { return require('./DoorPlanner-
|
|
31931
|
+
return Promise.resolve().then(function () { return require('./DoorPlanner-1be5ffce.js'); });
|
|
31867
31932
|
case 3:
|
|
31868
31933
|
_yield$import = _context5.sent;
|
|
31869
31934
|
DoorPlanner = _yield$import["default"];
|
|
@@ -38738,7 +38803,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
38738
38803
|
break;
|
|
38739
38804
|
case 3:
|
|
38740
38805
|
_context12.next = 5;
|
|
38741
|
-
return Promise.resolve().then(function () { return require('./PfisterWWSHandler-
|
|
38806
|
+
return Promise.resolve().then(function () { return require('./PfisterWWSHandler-8fb8ec2d.js'); });
|
|
38742
38807
|
case 5:
|
|
38743
38808
|
_yield$import = _context12.sent;
|
|
38744
38809
|
PfisterWWSHandler = _yield$import["default"];
|
|
@@ -38746,7 +38811,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
38746
38811
|
return _context12.abrupt("break", 27);
|
|
38747
38812
|
case 9:
|
|
38748
38813
|
_context12.next = 11;
|
|
38749
|
-
return Promise.resolve().then(function () { return require('./LiviqueWWSHandler-
|
|
38814
|
+
return Promise.resolve().then(function () { return require('./LiviqueWWSHandler-21356746.js'); });
|
|
38750
38815
|
case 11:
|
|
38751
38816
|
_yield$import2 = _context12.sent;
|
|
38752
38817
|
LiviqueWWSHandler = _yield$import2["default"];
|
|
@@ -38754,7 +38819,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
38754
38819
|
return _context12.abrupt("break", 27);
|
|
38755
38820
|
case 15:
|
|
38756
38821
|
_context12.next = 17;
|
|
38757
|
-
return Promise.resolve().then(function () { return require('./SeriousBasketHandler-
|
|
38822
|
+
return Promise.resolve().then(function () { return require('./SeriousBasketHandler-07d4cc77.js'); });
|
|
38758
38823
|
case 17:
|
|
38759
38824
|
_yield$import3 = _context12.sent;
|
|
38760
38825
|
SeriousWWSHandler = _yield$import3["default"];
|
|
@@ -38762,7 +38827,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
38762
38827
|
return _context12.abrupt("break", 27);
|
|
38763
38828
|
case 21:
|
|
38764
38829
|
_context12.next = 23;
|
|
38765
|
-
return Promise.resolve().then(function () { return require('./StandardWWSHandler-
|
|
38830
|
+
return Promise.resolve().then(function () { return require('./StandardWWSHandler-4bbaa9e8.js'); });
|
|
38766
38831
|
case 23:
|
|
38767
38832
|
_yield$import4 = _context12.sent;
|
|
38768
38833
|
StandardWWSHandler = _yield$import4["default"];
|
|
@@ -40190,7 +40255,7 @@ var PlannerHandler3D = /*#__PURE__*/function () {
|
|
|
40190
40255
|
while (1) switch (_context3.prev = _context3.next) {
|
|
40191
40256
|
case 0:
|
|
40192
40257
|
_context3.next = 2;
|
|
40193
|
-
return Promise.resolve().then(function () { return require('./Host3DSignalR-
|
|
40258
|
+
return Promise.resolve().then(function () { return require('./Host3DSignalR-804049fc.js'); });
|
|
40194
40259
|
case 2:
|
|
40195
40260
|
_yield$import = _context3.sent;
|
|
40196
40261
|
Host3DSignalR = _yield$import["default"];
|
|
@@ -41747,7 +41812,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
|
|
|
41747
41812
|
break;
|
|
41748
41813
|
case 8:
|
|
41749
41814
|
_context4.next = 10;
|
|
41750
|
-
return Promise.resolve().then(function () { return require('./DivaStandardPlanner-
|
|
41815
|
+
return Promise.resolve().then(function () { return require('./DivaStandardPlanner-009fd660.js'); });
|
|
41751
41816
|
case 10:
|
|
41752
41817
|
_yield$import = _context4.sent;
|
|
41753
41818
|
DivaStandardPlanner = _yield$import["default"];
|
|
@@ -41758,7 +41823,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
|
|
|
41758
41823
|
return _context4.abrupt("break", 21);
|
|
41759
41824
|
case 15:
|
|
41760
41825
|
_context4.next = 17;
|
|
41761
|
-
return Promise.resolve().then(function () { return require('./DivaBoxPlanner-
|
|
41826
|
+
return Promise.resolve().then(function () { return require('./DivaBoxPlanner-4c4c5907.js'); });
|
|
41762
41827
|
case 17:
|
|
41763
41828
|
_yield$import2 = _context4.sent;
|
|
41764
41829
|
DivaBoxPlanner = _yield$import2["default"];
|