@crystaldesign/web-planner-logic 26.1.0 → 26.2.0-beta.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/build/cjs/{DivaBoxPlanner-acd10916.js → DivaBoxPlanner-72502b3a.js} +2 -2
  2. package/build/cjs/{DivaStandardPlanner-f810a881.js → DivaStandardPlanner-80f005f0.js} +2 -2
  3. package/build/cjs/{DoorPlanner-5b292f81.js → DoorPlanner-2a308437.js} +1 -1
  4. package/build/cjs/{Host3DSignalR-2a7dc75d.js → Host3DSignalR-b96bcb3c.js} +1 -1
  5. package/build/cjs/{LiviqueWWSHandler-3ad86b29.js → LiviqueWWSHandler-397878a3.js} +1 -1
  6. package/build/cjs/{PfisterWWSHandler-e86d28ca.js → PfisterWWSHandler-734caf8f.js} +1 -1
  7. package/build/cjs/{PlannerHandler2D-7e64ed3b.js → PlannerHandler2D-fdd00201.js} +1 -1
  8. package/build/cjs/{SeriousBasketHandler-adb74fc0.js → SeriousBasketHandler-1f0d0c2b.js} +1 -1
  9. package/build/cjs/{ShelfPlanner-c6355ea3.js → ShelfPlanner-78e48d5a.js} +1 -1
  10. package/build/cjs/{StandardWWSHandler-573b7e58.js → StandardWWSHandler-cdbf8373.js} +1 -1
  11. package/build/cjs/{index-47b7f6af.js → index-6e374b64.js} +114 -54
  12. package/build/cjs/index.js +1 -1
  13. package/build/esm/{DivaBoxPlanner-466a16f0.js → DivaBoxPlanner-869bd397.js} +2 -2
  14. package/build/esm/{DivaStandardPlanner-f8ff4760.js → DivaStandardPlanner-86095e0a.js} +2 -2
  15. package/build/esm/{DoorPlanner-c8c5dd4a.js → DoorPlanner-48fe7a1f.js} +1 -1
  16. package/build/esm/{Host3DSignalR-9d8ace8a.js → Host3DSignalR-02e38eaf.js} +1 -1
  17. package/build/esm/{LiviqueWWSHandler-cd5ea06a.js → LiviqueWWSHandler-e6b44844.js} +1 -1
  18. package/build/esm/{PfisterWWSHandler-d0cf57fc.js → PfisterWWSHandler-859b8cb6.js} +1 -1
  19. package/build/esm/{PlannerHandler2D-c5abf50b.js → PlannerHandler2D-dd7cc432.js} +1 -1
  20. package/build/esm/{SeriousBasketHandler-3d071d89.js → SeriousBasketHandler-d210113b.js} +1 -1
  21. package/build/esm/{ShelfPlanner-628104c7.js → ShelfPlanner-d438162c.js} +1 -1
  22. package/build/esm/{StandardWWSHandler-cfb54564.js → StandardWWSHandler-cbd41867.js} +1 -1
  23. package/build/esm/{index-f691f4ce.js → index-1e277764.js} +114 -54
  24. package/build/esm/index.js +1 -1
  25. package/build/types/web-planner-logic/src/interface/OptionTypes/ArticleOptionDataTypes.d.ts +1 -0
  26. package/build/types/web-planner-logic/src/interface/OptionTypes/ArticleOptionDataTypes.d.ts.map +1 -1
  27. package/build/types/web-planner-logic/src/interface/OptionTypes/CatalogOptionDataTypes.d.ts +2 -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/logic/Article/ArticleOptionState.d.ts +3 -0
  30. package/build/types/web-planner-logic/src/logic/Article/ArticleOptionState.d.ts.map +1 -1
  31. package/build/types/web-planner-logic/src/logic/Basket/DivaBasketHandler.d.ts.map +1 -1
  32. package/build/types/web-planner-logic/src/model/Articles/Article/DivaCatalogArticle.d.ts.map +1 -1
  33. package/build/types/web-planner-logic/src/model/Articles/Article/IDMCatalogArticle.d.ts.map +1 -1
  34. package/build/types/web-planner-logic/src/model/Options/ArticleOptionData.d.ts +3 -0
  35. package/build/types/web-planner-logic/src/model/Options/ArticleOptionData.d.ts.map +1 -1
  36. package/build/types/web-planner-logic/src/model/Options/ArticleOptionValueData.d.ts +1 -1
  37. package/build/types/web-planner-logic/src/model/Options/ArticleOptionValueData.d.ts.map +1 -1
  38. package/build/types/web-planner-logic/src/model/Options/CatalogOptionData.d.ts +2 -0
  39. package/build/types/web-planner-logic/src/model/Options/CatalogOptionData.d.ts.map +1 -1
  40. package/package.json +2 -2
@@ -5,11 +5,11 @@ var _classCallCheck = require('@babel/runtime/helpers/classCallCheck');
5
5
  var _createClass = require('@babel/runtime/helpers/createClass');
6
6
  var _defineProperty = require('@babel/runtime/helpers/defineProperty');
7
7
  var _regeneratorRuntime = require('@babel/runtime/regenerator');
8
- var index = require('./index-47b7f6af.js');
8
+ var index = require('./index-6e374b64.js');
9
9
  var DivaUtils = require('@crystaldesign/diva-utils');
10
10
  var _toConsumableArray = require('@babel/runtime/helpers/toConsumableArray');
11
11
  var _slicedToArray = require('@babel/runtime/helpers/slicedToArray');
12
- var PlannerHandler2D = require('./PlannerHandler2D-7e64ed3b.js');
12
+ var PlannerHandler2D = require('./PlannerHandler2D-fdd00201.js');
13
13
  require('@babel/runtime/helpers/objectWithoutProperties');
14
14
  require('axios');
15
15
  require('@crystaldesign/basket-model');
@@ -5,9 +5,9 @@ var _classCallCheck = require('@babel/runtime/helpers/classCallCheck');
5
5
  var _createClass = require('@babel/runtime/helpers/createClass');
6
6
  var _defineProperty = require('@babel/runtime/helpers/defineProperty');
7
7
  var _regeneratorRuntime = require('@babel/runtime/regenerator');
8
- var index = require('./index-47b7f6af.js');
8
+ var index = require('./index-6e374b64.js');
9
9
  var DivaUtils = require('@crystaldesign/diva-utils');
10
- var PlannerHandler2D = require('./PlannerHandler2D-7e64ed3b.js');
10
+ var PlannerHandler2D = require('./PlannerHandler2D-fdd00201.js');
11
11
  require('@babel/runtime/helpers/slicedToArray');
12
12
  require('@babel/runtime/helpers/objectWithoutProperties');
13
13
  require('@babel/runtime/helpers/toConsumableArray');
@@ -3,7 +3,7 @@
3
3
  var _classCallCheck = require('@babel/runtime/helpers/classCallCheck');
4
4
  var _createClass = require('@babel/runtime/helpers/createClass');
5
5
  var _defineProperty = require('@babel/runtime/helpers/defineProperty');
6
- require('./index-47b7f6af.js');
6
+ require('./index-6e374b64.js');
7
7
  var DivaUtils = require('@crystaldesign/diva-utils');
8
8
  require('@babel/runtime/helpers/slicedToArray');
9
9
  require('@babel/runtime/helpers/asyncToGenerator');
@@ -5,7 +5,7 @@ var _classCallCheck = require('@babel/runtime/helpers/classCallCheck');
5
5
  var _createClass = require('@babel/runtime/helpers/createClass');
6
6
  var _defineProperty = require('@babel/runtime/helpers/defineProperty');
7
7
  var _regeneratorRuntime = require('@babel/runtime/regenerator');
8
- var index = require('./index-47b7f6af.js');
8
+ var index = require('./index-6e374b64.js');
9
9
  var DivaUtils = require('@crystaldesign/diva-utils');
10
10
  var signalr = require('@microsoft/signalr');
11
11
  var io = require('socket.io-client');
@@ -2,7 +2,7 @@
2
2
 
3
3
  var _classCallCheck = require('@babel/runtime/helpers/classCallCheck');
4
4
  var _createClass = require('@babel/runtime/helpers/createClass');
5
- require('./index-47b7f6af.js');
5
+ require('./index-6e374b64.js');
6
6
  require('@babel/runtime/helpers/slicedToArray');
7
7
  require('@babel/runtime/helpers/asyncToGenerator');
8
8
  require('@babel/runtime/helpers/defineProperty');
@@ -2,7 +2,7 @@
2
2
 
3
3
  var _classCallCheck = require('@babel/runtime/helpers/classCallCheck');
4
4
  var _createClass = require('@babel/runtime/helpers/createClass');
5
- var index = require('./index-47b7f6af.js');
5
+ var index = require('./index-6e374b64.js');
6
6
  var basketModel = require('@crystaldesign/basket-model');
7
7
  var DivaUtils = require('@crystaldesign/diva-utils');
8
8
  require('@babel/runtime/helpers/slicedToArray');
@@ -5,7 +5,7 @@ var _classCallCheck = require('@babel/runtime/helpers/classCallCheck');
5
5
  var _createClass = require('@babel/runtime/helpers/createClass');
6
6
  var _defineProperty = require('@babel/runtime/helpers/defineProperty');
7
7
  var _regeneratorRuntime = require('@babel/runtime/regenerator');
8
- var index = require('./index-47b7f6af.js');
8
+ var index = require('./index-6e374b64.js');
9
9
  var _toConsumableArray = require('@babel/runtime/helpers/toConsumableArray');
10
10
  var fabric = require('fabric');
11
11
  var DivaUtils = require('@crystaldesign/diva-utils');
@@ -3,7 +3,7 @@
3
3
  var _classCallCheck = require('@babel/runtime/helpers/classCallCheck');
4
4
  var _createClass = require('@babel/runtime/helpers/createClass');
5
5
  var _defineProperty = require('@babel/runtime/helpers/defineProperty');
6
- var index = require('./index-47b7f6af.js');
6
+ var index = require('./index-6e374b64.js');
7
7
  var DivaUtils = require('@crystaldesign/diva-utils');
8
8
  require('@babel/runtime/helpers/slicedToArray');
9
9
  require('@babel/runtime/helpers/asyncToGenerator');
@@ -6,7 +6,7 @@ var _classCallCheck = require('@babel/runtime/helpers/classCallCheck');
6
6
  var _createClass = require('@babel/runtime/helpers/createClass');
7
7
  var _defineProperty = require('@babel/runtime/helpers/defineProperty');
8
8
  var _regeneratorRuntime = require('@babel/runtime/regenerator');
9
- var index = require('./index-47b7f6af.js');
9
+ var index = require('./index-6e374b64.js');
10
10
  var DivaUtils = require('@crystaldesign/diva-utils');
11
11
  require('@babel/runtime/helpers/slicedToArray');
12
12
  require('@babel/runtime/helpers/objectWithoutProperties');
@@ -2,7 +2,7 @@
2
2
 
3
3
  var _classCallCheck = require('@babel/runtime/helpers/classCallCheck');
4
4
  var _createClass = require('@babel/runtime/helpers/createClass');
5
- require('./index-47b7f6af.js');
5
+ require('./index-6e374b64.js');
6
6
  require('@babel/runtime/helpers/slicedToArray');
7
7
  require('@babel/runtime/helpers/asyncToGenerator');
8
8
  require('@babel/runtime/helpers/defineProperty');
@@ -2384,6 +2384,16 @@ var OptionCatalogData = /*#__PURE__*/function () {
2384
2384
  get: function get() {
2385
2385
  return this.opt.propertyObj.additionalGroupFilter;
2386
2386
  }
2387
+ }, {
2388
+ key: "requiredOption",
2389
+ get: function get() {
2390
+ return this.opt.propertyObj.requiredOption;
2391
+ }
2392
+ }, {
2393
+ key: "suggestedOption",
2394
+ get: function get() {
2395
+ return this.opt.propertyObj.suggestedOption;
2396
+ }
2387
2397
  }]);
2388
2398
  }();
2389
2399
  var setOptionsProperties = function setOptionsProperties(catalogData, opt, properties) {
@@ -2480,6 +2490,12 @@ var setOptionsProperties = function setOptionsProperties(catalogData, opt, prope
2480
2490
  case 'CONTENT_ITEM':
2481
2491
  opt.contentItemId = prop.Value;
2482
2492
  break;
2493
+ case "REQUIRED_OPTION":
2494
+ opt.requiredOption = !!prop.Value;
2495
+ break;
2496
+ case "SUGGESTED_OPTION":
2497
+ opt.suggestedOption = !!prop.Value;
2498
+ break;
2483
2499
  case 'ADDITIONAL_GROUP_FILTER':
2484
2500
  opt.additionalGroupFilter = JSON.parse(prop.Value);
2485
2501
  break;
@@ -18234,9 +18250,13 @@ var ArticleOptionValueData = /*#__PURE__*/function () {
18234
18250
  }, {
18235
18251
  key: "isNotRelevant",
18236
18252
  get: function get() {
18237
- var _this$opv$catalogOPV$, _this$ocd;
18253
+ var _this$opv$catalogOPV$,
18254
+ _this = this;
18238
18255
  if (this.opv.propertyObj.isNotRelevant !== undefined) return this.opv.propertyObj.isNotRelevant;
18239
- return (_this$opv$catalogOPV$ = this.opv.catalogOPV.isNotRelevant) !== null && _this$opv$catalogOPV$ !== void 0 ? _this$opv$catalogOPV$ : ['OPVNR', 'OPVNRR', 'OPVNR_0'].includes((_this$ocd = this.ocd) !== null && _this$ocd !== void 0 ? _this$ocd : this.codex);
18256
+ return (_this$opv$catalogOPV$ = this.opv.catalogOPV.isNotRelevant) !== null && _this$opv$catalogOPV$ !== void 0 ? _this$opv$catalogOPV$ : ["OPV_NICHT_RELEVANT", "OPV_NICHT_RELEVANT", 'OPVNR', 'OPVNRR', 'OPVNR_0'].find(function (codex) {
18257
+ var _this$ocd;
18258
+ return ((_this$ocd = _this.ocd) !== null && _this$ocd !== void 0 ? _this$ocd : _this.codex).includes(codex);
18259
+ });
18240
18260
  }
18241
18261
  }, {
18242
18262
  key: "vCodex",
@@ -19023,6 +19043,26 @@ var ArticleOptionData = /*#__PURE__*/function () {
19023
19043
  set: function set(value) {
19024
19044
  this.opt.mergesToOPG = value;
19025
19045
  }
19046
+ }, {
19047
+ key: "requiredOption",
19048
+ get: function get() {
19049
+ if (this.opt.propertyObj.requiredOption !== undefined) return this.opt.propertyObj.requiredOption;
19050
+ return this.opt.catalogOPT.requiredOption;
19051
+ }
19052
+ }, {
19053
+ key: "suggestedOption",
19054
+ get: function get() {
19055
+ if (this.opt.propertyObj.suggestedOption !== undefined) return this.opt.propertyObj.suggestedOption;
19056
+ return this.opt.catalogOPT.suggestedOption;
19057
+ }
19058
+ }, {
19059
+ key: "reqirementLevel",
19060
+ get: function get() {
19061
+ if (this.opt.requirementLevel !== undefined) return this.opt.requirementLevel;
19062
+ if (this.requiredOption) return "M";
19063
+ if (this.opt.catalogOPT.suggestedOption) return "R";
19064
+ return undefined;
19065
+ }
19026
19066
  }]);
19027
19067
  }();
19028
19068
 
@@ -19402,6 +19442,7 @@ function getArticleOptionType(myOPT, set, articleCodex) {
19402
19442
  subTabGroupOfSubTemplate: !myOPT.ParentOptionCodex ? myOPT.SubTabGroup : undefined,
19403
19443
  ocd: myOPT.ocd ? myOPT.ocd : myOPT.OCD,
19404
19444
  sendToSAP: myOPT.SendToSAP && myOPT.SendToSAP != '-1' ? myOPT.SendToSAP : undefined,
19445
+ requirementLevel: myOPT.RequirementLevel,
19405
19446
  articlePlaceholder: myOPT.ArticlePlaceholder,
19406
19447
  hasOPG: optHasOpg,
19407
19448
  invisible: myOPT.Invisible == 'True' ? true : myOPT.Invisible == 'False' ? false : undefined,
@@ -22621,10 +22662,28 @@ var ArticleOptionStateData = /*#__PURE__*/function () {
22621
22662
  this.articleOptionState.disabled = isDisabled;
22622
22663
  }
22623
22664
  }, {
22624
- key: "isDoShow",
22665
+ key: "isRequired",
22625
22666
  get: function get() {
22626
22667
  var _this$val3;
22627
- return this.articleOptionState.doShow && (!((_this$val3 = this.val) !== null && _this$val3 !== void 0 && _this$val3.isNotRelevant) || this.visibleCount > 1) && (!this.option.onlyVisibleIfConfigAll || !this.getIsConfigSingle()) && (!this.option.onlyVisibleIfConfigSingle || this.getIsConfigSingle());
22668
+ return !!((_this$val3 = this.val) !== null && _this$val3 !== void 0 && _this$val3.isNotRelevant) && this.option.reqirementLevel == "M";
22669
+ }
22670
+ }, {
22671
+ key: "isSuggested",
22672
+ get: function get() {
22673
+ var _this$val4;
22674
+ return !!((_this$val4 = this.val) !== null && _this$val4 !== void 0 && _this$val4.isNotRelevant) && this.option.reqirementLevel == "R";
22675
+ }
22676
+ }, {
22677
+ key: "reqirementLevel",
22678
+ get: function get() {
22679
+ var _this$val5;
22680
+ return !!((_this$val5 = this.val) !== null && _this$val5 !== void 0 && _this$val5.isNotRelevant) ? this.option.reqirementLevel : undefined;
22681
+ }
22682
+ }, {
22683
+ key: "isDoShow",
22684
+ get: function get() {
22685
+ var _this$val6;
22686
+ return this.articleOptionState.doShow && (!((_this$val6 = this.val) !== null && _this$val6 !== void 0 && _this$val6.isNotRelevant) || this.visibleCount > 1) && (!this.option.onlyVisibleIfConfigAll || !this.getIsConfigSingle()) && (!this.option.onlyVisibleIfConfigSingle || this.getIsConfigSingle());
22628
22687
  },
22629
22688
  set: function set(doShow) {
22630
22689
  this.articleOptionState.doShow = doShow;
@@ -22674,14 +22733,14 @@ var ArticleOptionStateData = /*#__PURE__*/function () {
22674
22733
  }, {
22675
22734
  key: "priceId",
22676
22735
  get: function get() {
22677
- var _this$val$priceId, _this$val4;
22678
- return (_this$val$priceId = (_this$val4 = this.val) === null || _this$val4 === void 0 ? void 0 : _this$val4.priceId) !== null && _this$val$priceId !== void 0 ? _this$val$priceId : '';
22736
+ var _this$val$priceId, _this$val7;
22737
+ return (_this$val$priceId = (_this$val7 = this.val) === null || _this$val7 === void 0 ? void 0 : _this$val7.priceId) !== null && _this$val$priceId !== void 0 ? _this$val$priceId : '';
22679
22738
  }
22680
22739
  }, {
22681
22740
  key: "targetOption",
22682
22741
  get: function get() {
22683
- var _this$val5;
22684
- return (_this$val5 = this.val) === null || _this$val5 === void 0 ? void 0 : _this$val5.targetOption;
22742
+ var _this$val8;
22743
+ return (_this$val8 = this.val) === null || _this$val8 === void 0 ? void 0 : _this$val8.targetOption;
22685
22744
  }
22686
22745
  }, {
22687
22746
  key: "targetPPGPrefixes",
@@ -22698,14 +22757,14 @@ var ArticleOptionStateData = /*#__PURE__*/function () {
22698
22757
  }, {
22699
22758
  key: "quantity",
22700
22759
  get: function get() {
22701
- var _this$val$quantity, _this$val6;
22702
- return (_this$val$quantity = (_this$val6 = this.val) === null || _this$val6 === void 0 ? void 0 : _this$val6.quantity) !== null && _this$val$quantity !== void 0 ? _this$val$quantity : 1;
22760
+ var _this$val$quantity, _this$val9;
22761
+ return (_this$val$quantity = (_this$val9 = this.val) === null || _this$val9 === void 0 ? void 0 : _this$val9.quantity) !== null && _this$val$quantity !== void 0 ? _this$val$quantity : 1;
22703
22762
  }
22704
22763
  }, {
22705
22764
  key: "ocd",
22706
22765
  get: function get() {
22707
- var _this$val7;
22708
- return (_this$val7 = this.val) === null || _this$val7 === void 0 ? void 0 : _this$val7.ocd;
22766
+ var _this$val10;
22767
+ return (_this$val10 = this.val) === null || _this$val10 === void 0 ? void 0 : _this$val10.ocd;
22709
22768
  }
22710
22769
  }, {
22711
22770
  key: "optionOcd",
@@ -22715,12 +22774,12 @@ var ArticleOptionStateData = /*#__PURE__*/function () {
22715
22774
  }, {
22716
22775
  key: "value",
22717
22776
  get: function get() {
22718
- var _this$val8, _this$val9;
22719
- if (!((_this$val8 = this.val) !== null && _this$val8 !== void 0 && _this$val8.value)) return undefined;
22777
+ var _this$val11, _this$val12;
22778
+ if (!((_this$val11 = this.val) !== null && _this$val11 !== void 0 && _this$val11.value)) return undefined;
22720
22779
  if (this.val.measureUnit == 'MMT') return this.val.value / 10;
22721
22780
  if (this.val.measureUnit == 'CMT') return this.val.value;
22722
22781
  if (this.val.measureUnit == 'MT') return this.val.value * 10;
22723
- return (_this$val9 = this.val) === null || _this$val9 === void 0 ? void 0 : _this$val9.value;
22782
+ return (_this$val12 = this.val) === null || _this$val12 === void 0 ? void 0 : _this$val12.value;
22724
22783
  }
22725
22784
  }, {
22726
22785
  key: "vCodex",
@@ -22748,8 +22807,8 @@ var ArticleOptionStateData = /*#__PURE__*/function () {
22748
22807
  get: function get() {
22749
22808
  if (this.articleOptionState.retailArticleNr) return this.articleOptionState.retailArticleNr;
22750
22809
  if (this.articleOptionState.option.articlePlaceholder) {
22751
- var _this$val10;
22752
- return (_this$val10 = this.val) === null || _this$val10 === void 0 ? void 0 : _this$val10.subRetailArticleNr;
22810
+ var _this$val13;
22811
+ return (_this$val13 = this.val) === null || _this$val13 === void 0 ? void 0 : _this$val13.subRetailArticleNr;
22753
22812
  }
22754
22813
  return undefined;
22755
22814
  },
@@ -22772,8 +22831,8 @@ var ArticleOptionStateData = /*#__PURE__*/function () {
22772
22831
  }, {
22773
22832
  key: "visibleInSummary",
22774
22833
  value: function visibleInSummary(aritcle, summaryForBasket) {
22775
- var _this$val11, _this$val12;
22776
- return (!this.isInvisible || summaryForBasket && !this.invisibleWithoutMaskeInfluence) && (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, summaryForBasket) && !((_this$val12 = this.val) !== null && _this$val12 !== void 0 && _this$val12.hideInSummary);
22834
+ var _this$val14, _this$val15;
22835
+ return (!this.isInvisible || summaryForBasket && !this.invisibleWithoutMaskeInfluence) && (this.selectionmode != 0 || (this.visibleCount > 1 || this.isFreeText) && aritcle.set.api.showSelectionModeZero()) && this.isDoShow && !((_this$val14 = this.val) !== null && _this$val14 !== void 0 && _this$val14.isNotRelevant) && !this.isHiddenByDefaultValueForOptions(aritcle, summaryForBasket) && !((_this$val15 = this.val) !== null && _this$val15 !== void 0 && _this$val15.hideInSummary);
22777
22836
  }
22778
22837
  }, {
22779
22838
  key: "isHiddenByDefaultValueForOptions",
@@ -22795,45 +22854,45 @@ var ArticleOptionStateData = /*#__PURE__*/function () {
22795
22854
  }, {
22796
22855
  key: "subArticleCodex",
22797
22856
  get: function get() {
22798
- var _this$val13;
22799
- return (_this$val13 = this.val) === null || _this$val13 === void 0 ? void 0 : _this$val13.subArticleCodex;
22857
+ var _this$val16;
22858
+ return (_this$val16 = this.val) === null || _this$val16 === void 0 ? void 0 : _this$val16.subArticleCodex;
22800
22859
  }
22801
22860
  }, {
22802
22861
  key: "subArticleName",
22803
22862
  get: function get() {
22804
- var _this$val14;
22805
- return (_this$val14 = this.val) === null || _this$val14 === void 0 ? void 0 : _this$val14.subArticleName;
22863
+ var _this$val17;
22864
+ return (_this$val17 = this.val) === null || _this$val17 === void 0 ? void 0 : _this$val17.subArticleName;
22806
22865
  }
22807
22866
  }, {
22808
22867
  key: "measureUnit",
22809
22868
  get: function get() {
22810
- var _this$val15;
22811
- return (_this$val15 = this.val) === null || _this$val15 === void 0 ? void 0 : _this$val15.measureUnit;
22869
+ var _this$val18;
22870
+ return (_this$val18 = this.val) === null || _this$val18 === void 0 ? void 0 : _this$val18.measureUnit;
22812
22871
  }
22813
22872
  }, {
22814
22873
  key: "priceUnit",
22815
22874
  get: function get() {
22816
- var _this$val$priceUnit, _this$val16, _this$val17, _this$val$parent;
22817
- 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;
22875
+ var _this$val$priceUnit, _this$val19, _this$val20, _this$val$parent;
22876
+ var retval = (_this$val$priceUnit = (_this$val19 = this.val) === null || _this$val19 === void 0 ? void 0 : _this$val19.priceUnit) !== null && _this$val$priceUnit !== void 0 ? _this$val$priceUnit : (_this$val20 = this.val) !== null && _this$val20 !== void 0 && _this$val20.isParentOPVG ? (_this$val$parent = this.val.parent) === null || _this$val$parent === void 0 ? void 0 : _this$val$parent.priceUnit : undefined;
22818
22877
  return retval;
22819
22878
  }
22820
22879
  }, {
22821
22880
  key: "isPercentage",
22822
22881
  get: function get() {
22823
- var _this$val18;
22824
- return (_this$val18 = this.val) === null || _this$val18 === void 0 ? void 0 : _this$val18.isPercentage;
22882
+ var _this$val21;
22883
+ return (_this$val21 = this.val) === null || _this$val21 === void 0 ? void 0 : _this$val21.isPercentage;
22825
22884
  }
22826
22885
  }, {
22827
22886
  key: "replaceMainArtNr",
22828
22887
  get: function get() {
22829
- var _this$val19;
22830
- return (_this$val19 = this.val) === null || _this$val19 === void 0 ? void 0 : _this$val19.subarticleReplaceMainArticleNr;
22888
+ var _this$val22;
22889
+ return (_this$val22 = this.val) === null || _this$val22 === void 0 ? void 0 : _this$val22.subarticleReplaceMainArticleNr;
22831
22890
  }
22832
22891
  }, {
22833
22892
  key: "subArticleTypeNr",
22834
22893
  get: function get() {
22835
- var _this$val20;
22836
- return (_this$val20 = this.val) === null || _this$val20 === void 0 ? void 0 : _this$val20.subArticleTypeNr;
22894
+ var _this$val23;
22895
+ return (_this$val23 = this.val) === null || _this$val23 === void 0 ? void 0 : _this$val23.subArticleTypeNr;
22837
22896
  }
22838
22897
  }, {
22839
22898
  key: "isVisibleFreeText",
@@ -22859,14 +22918,14 @@ var ArticleOptionStateData = /*#__PURE__*/function () {
22859
22918
  }, {
22860
22919
  key: "isOnlyFreeText",
22861
22920
  get: function get() {
22862
- var _this$val21;
22863
- return ((_this$val21 = this.val) === null || _this$val21 === void 0 ? void 0 : _this$val21.isFreeText) && this.visibleCount == 1;
22921
+ var _this$val24;
22922
+ return ((_this$val24 = this.val) === null || _this$val24 === void 0 ? void 0 : _this$val24.isFreeText) && this.visibleCount == 1;
22864
22923
  }
22865
22924
  }, {
22866
22925
  key: "isFreeText",
22867
22926
  get: function get() {
22868
- var _this$val22;
22869
- return (_this$val22 = this.val) === null || _this$val22 === void 0 ? void 0 : _this$val22.isFreeText;
22927
+ var _this$val25;
22928
+ return (_this$val25 = this.val) === null || _this$val25 === void 0 ? void 0 : _this$val25.isFreeText;
22870
22929
  }
22871
22930
  }, {
22872
22931
  key: "freeText",
@@ -22924,8 +22983,8 @@ var ArticleOptionStateData = /*#__PURE__*/function () {
22924
22983
  }, {
22925
22984
  key: "warning",
22926
22985
  get: function get() {
22927
- var _this$val23;
22928
- if ((_this$val23 = this.val) !== null && _this$val23 !== void 0 && _this$val23.isFreeText) {
22986
+ var _this$val26;
22987
+ if ((_this$val26 = this.val) !== null && _this$val26 !== void 0 && _this$val26.isFreeText) {
22929
22988
  if (this.val.measureMaximum && Number(this.freeText) > Number(this.val.measureMaximum) || this.val.measureMinimum && Number(this.freeText) < Number(this.val.measureMinimum)) {
22930
22989
  return 'measureWarning';
22931
22990
  }
@@ -22979,14 +23038,14 @@ var ArticleOptionStateData = /*#__PURE__*/function () {
22979
23038
  }, {
22980
23039
  key: "customDimension",
22981
23040
  get: function get() {
22982
- var _this$val$customDimen, _this$val24;
22983
- return this.val && ((_this$val$customDimen = (_this$val24 = this.val) === null || _this$val24 === void 0 ? void 0 : _this$val24.customDimension) !== null && _this$val$customDimen !== void 0 ? _this$val$customDimen : this.option.customDimension);
23041
+ var _this$val$customDimen, _this$val27;
23042
+ return this.val && ((_this$val$customDimen = (_this$val27 = this.val) === null || _this$val27 === void 0 ? void 0 : _this$val27.customDimension) !== null && _this$val$customDimen !== void 0 ? _this$val$customDimen : this.option.customDimension);
22984
23043
  }
22985
23044
  }, {
22986
23045
  key: "addToMeasure",
22987
23046
  get: function get() {
22988
- var _this$val25;
22989
- return (_this$val25 = this.val) === null || _this$val25 === void 0 ? void 0 : _this$val25.addToMeasure;
23047
+ var _this$val28;
23048
+ return (_this$val28 = this.val) === null || _this$val28 === void 0 ? void 0 : _this$val28.addToMeasure;
22990
23049
  }
22991
23050
  }, {
22992
23051
  key: "showWarningForRequiresUserInput",
@@ -28996,7 +29055,7 @@ var DivaArticle = /*#__PURE__*/function () {
28996
29055
  break;
28997
29056
  }
28998
29057
  _context.next = 4;
28999
- return Promise.resolve().then(function () { return require('./ShelfPlanner-c6355ea3.js'); });
29058
+ return Promise.resolve().then(function () { return require('./ShelfPlanner-78e48d5a.js'); });
29000
29059
  case 4:
29001
29060
  _yield$import = _context.sent;
29002
29061
  ShelfPlanner = _yield$import["default"];
@@ -33649,7 +33708,7 @@ var DivaSet = /*#__PURE__*/function () {
33649
33708
  break;
33650
33709
  }
33651
33710
  _context5.next = 3;
33652
- return Promise.resolve().then(function () { return require('./DoorPlanner-5b292f81.js'); });
33711
+ return Promise.resolve().then(function () { return require('./DoorPlanner-2a308437.js'); });
33653
33712
  case 3:
33654
33713
  _yield$import = _context5.sent;
33655
33714
  DoorPlanner = _yield$import["default"];
@@ -40920,7 +40979,8 @@ var DivaBasketHandler = /*#__PURE__*/function () {
40920
40979
  isMultiselect: !!ops.isMultiselect,
40921
40980
  flatValues: !!((_ops$val = ops.val) !== null && _ops$val !== void 0 && _ops$val.isPIMFlatValue),
40922
40981
  isVariantAttribute: (_ops$val2 = ops.val) === null || _ops$val2 === void 0 ? void 0 : _ops$val2.isVariantAttribute,
40923
- sendToPIM: ops.option.sendToPIM
40982
+ sendToPIM: ops.option.sendToPIM,
40983
+ reqirementLevel: ops.reqirementLevel
40924
40984
  };
40925
40985
  });
40926
40986
  };
@@ -40954,7 +41014,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
40954
41014
  break;
40955
41015
  case 3:
40956
41016
  _context12.next = 5;
40957
- return Promise.resolve().then(function () { return require('./PfisterWWSHandler-e86d28ca.js'); });
41017
+ return Promise.resolve().then(function () { return require('./PfisterWWSHandler-734caf8f.js'); });
40958
41018
  case 5:
40959
41019
  _yield$import = _context12.sent;
40960
41020
  PfisterWWSHandler = _yield$import["default"];
@@ -40962,7 +41022,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
40962
41022
  return _context12.abrupt("break", 27);
40963
41023
  case 9:
40964
41024
  _context12.next = 11;
40965
- return Promise.resolve().then(function () { return require('./LiviqueWWSHandler-3ad86b29.js'); });
41025
+ return Promise.resolve().then(function () { return require('./LiviqueWWSHandler-397878a3.js'); });
40966
41026
  case 11:
40967
41027
  _yield$import2 = _context12.sent;
40968
41028
  LiviqueWWSHandler = _yield$import2["default"];
@@ -40970,7 +41030,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
40970
41030
  return _context12.abrupt("break", 27);
40971
41031
  case 15:
40972
41032
  _context12.next = 17;
40973
- return Promise.resolve().then(function () { return require('./SeriousBasketHandler-adb74fc0.js'); });
41033
+ return Promise.resolve().then(function () { return require('./SeriousBasketHandler-1f0d0c2b.js'); });
40974
41034
  case 17:
40975
41035
  _yield$import3 = _context12.sent;
40976
41036
  SeriousWWSHandler = _yield$import3["default"];
@@ -40978,7 +41038,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
40978
41038
  return _context12.abrupt("break", 27);
40979
41039
  case 21:
40980
41040
  _context12.next = 23;
40981
- return Promise.resolve().then(function () { return require('./StandardWWSHandler-573b7e58.js'); });
41041
+ return Promise.resolve().then(function () { return require('./StandardWWSHandler-cdbf8373.js'); });
40982
41042
  case 23:
40983
41043
  _yield$import4 = _context12.sent;
40984
41044
  StandardWWSHandler = _yield$import4["default"];
@@ -42402,7 +42462,7 @@ var PlannerHandler3D = /*#__PURE__*/function () {
42402
42462
  while (1) switch (_context3.prev = _context3.next) {
42403
42463
  case 0:
42404
42464
  _context3.next = 2;
42405
- return Promise.resolve().then(function () { return require('./Host3DSignalR-2a7dc75d.js'); });
42465
+ return Promise.resolve().then(function () { return require('./Host3DSignalR-b96bcb3c.js'); });
42406
42466
  case 2:
42407
42467
  _yield$import = _context3.sent;
42408
42468
  Host3DSignalR = _yield$import["default"];
@@ -44093,7 +44153,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
44093
44153
  break;
44094
44154
  case 8:
44095
44155
  _context4.next = 10;
44096
- return Promise.resolve().then(function () { return require('./DivaStandardPlanner-f810a881.js'); });
44156
+ return Promise.resolve().then(function () { return require('./DivaStandardPlanner-80f005f0.js'); });
44097
44157
  case 10:
44098
44158
  _yield$import = _context4.sent;
44099
44159
  DivaStandardPlanner = _yield$import["default"];
@@ -44104,7 +44164,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
44104
44164
  return _context4.abrupt("break", 21);
44105
44165
  case 15:
44106
44166
  _context4.next = 17;
44107
- return Promise.resolve().then(function () { return require('./DivaBoxPlanner-acd10916.js'); });
44167
+ return Promise.resolve().then(function () { return require('./DivaBoxPlanner-72502b3a.js'); });
44108
44168
  case 17:
44109
44169
  _yield$import2 = _context4.sent;
44110
44170
  DivaBoxPlanner = _yield$import2["default"];
@@ -45873,7 +45933,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
45873
45933
  }
45874
45934
  return _context13.abrupt("return");
45875
45935
  case 5:
45876
- if (myValues) {
45936
+ if (!(!myValues || eventKey !== null && eventKey !== void 0 && eventKey.endsWith("repairing"))) {
45877
45937
  _context13.next = 11;
45878
45938
  break;
45879
45939
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var index = require('./index-47b7f6af.js');
5
+ var index = require('./index-6e374b64.js');
6
6
  require('@babel/runtime/helpers/slicedToArray');
7
7
  require('@babel/runtime/helpers/asyncToGenerator');
8
8
  require('@babel/runtime/helpers/classCallCheck');
@@ -3,11 +3,11 @@ import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
3
3
  import _createClass from '@babel/runtime/helpers/createClass';
4
4
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
5
5
  import _regeneratorRuntime from '@babel/runtime/regenerator';
6
- import { c as Vector2, V as Vector3, P as PlannerElementData, B as BoundingBox } from './index-f691f4ce.js';
6
+ import { c as Vector2, V as Vector3, P as PlannerElementData, B as BoundingBox } from './index-1e277764.js';
7
7
  import DivaUtils, { DivaError, md5 } from '@crystaldesign/diva-utils';
8
8
  import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
9
9
  import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
10
- import { d as dockingPointHandlerInst, h as handler2D } from './PlannerHandler2D-c5abf50b.js';
10
+ import { d as dockingPointHandlerInst, h as handler2D } from './PlannerHandler2D-dd7cc432.js';
11
11
  import '@babel/runtime/helpers/objectWithoutProperties';
12
12
  import 'axios';
13
13
  import '@crystaldesign/basket-model';
@@ -3,9 +3,9 @@ import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
3
3
  import _createClass from '@babel/runtime/helpers/createClass';
4
4
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
5
5
  import _regeneratorRuntime from '@babel/runtime/regenerator';
6
- import { V as Vector3, c as Vector2, P as PlannerElementData, B as BoundingBox } from './index-f691f4ce.js';
6
+ import { V as Vector3, c as Vector2, P as PlannerElementData, B as BoundingBox } from './index-1e277764.js';
7
7
  import DivaUtils, { DivaError, md5 } from '@crystaldesign/diva-utils';
8
- import { d as dockingPointHandlerInst, h as handler2D } from './PlannerHandler2D-c5abf50b.js';
8
+ import { d as dockingPointHandlerInst, h as handler2D } from './PlannerHandler2D-dd7cc432.js';
9
9
  import '@babel/runtime/helpers/slicedToArray';
10
10
  import '@babel/runtime/helpers/objectWithoutProperties';
11
11
  import '@babel/runtime/helpers/toConsumableArray';
@@ -1,7 +1,7 @@
1
1
  import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
2
2
  import _createClass from '@babel/runtime/helpers/createClass';
3
3
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
4
- import './index-f691f4ce.js';
4
+ import './index-1e277764.js';
5
5
  import DivaUtils from '@crystaldesign/diva-utils';
6
6
  import '@babel/runtime/helpers/slicedToArray';
7
7
  import '@babel/runtime/helpers/asyncToGenerator';
@@ -3,7 +3,7 @@ import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
3
3
  import _createClass from '@babel/runtime/helpers/createClass';
4
4
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
5
5
  import _regeneratorRuntime from '@babel/runtime/regenerator';
6
- import { R as Rendering, H as HQRenderScript } from './index-f691f4ce.js';
6
+ import { R as Rendering, H as HQRenderScript } from './index-1e277764.js';
7
7
  import DivaUtils, { DivaError } from '@crystaldesign/diva-utils';
8
8
  import { HubConnectionBuilder, LogLevel } from '@microsoft/signalr';
9
9
  import io from 'socket.io-client';
@@ -1,6 +1,6 @@
1
1
  import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
2
2
  import _createClass from '@babel/runtime/helpers/createClass';
3
- import './index-f691f4ce.js';
3
+ import './index-1e277764.js';
4
4
  import '@babel/runtime/helpers/slicedToArray';
5
5
  import '@babel/runtime/helpers/asyncToGenerator';
6
6
  import '@babel/runtime/helpers/defineProperty';
@@ -1,6 +1,6 @@
1
1
  import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
2
2
  import _createClass from '@babel/runtime/helpers/createClass';
3
- import { a as articleHandlerInstance } from './index-f691f4ce.js';
3
+ import { a as articleHandlerInstance } from './index-1e277764.js';
4
4
  import { SAPOrderLineData } from '@crystaldesign/basket-model';
5
5
  import DivaUtils, { DivaError } from '@crystaldesign/diva-utils';
6
6
  import '@babel/runtime/helpers/slicedToArray';
@@ -3,7 +3,7 @@ import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
3
3
  import _createClass from '@babel/runtime/helpers/createClass';
4
4
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
5
5
  import _regeneratorRuntime from '@babel/runtime/regenerator';
6
- import { c as Vector2, D as DockingPoint, V as Vector3 } from './index-f691f4ce.js';
6
+ import { c as Vector2, D as DockingPoint, V as Vector3 } from './index-1e277764.js';
7
7
  import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
8
8
  import { fabric } from 'fabric';
9
9
  import DivaUtils, { DivaError } from '@crystaldesign/diva-utils';
@@ -1,7 +1,7 @@
1
1
  import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
2
2
  import _createClass from '@babel/runtime/helpers/createClass';
3
3
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
4
- import { s as summaryHandlerInstance } from './index-f691f4ce.js';
4
+ import { s as summaryHandlerInstance } from './index-1e277764.js';
5
5
  import DivaUtils from '@crystaldesign/diva-utils';
6
6
  import '@babel/runtime/helpers/slicedToArray';
7
7
  import '@babel/runtime/helpers/asyncToGenerator';
@@ -4,7 +4,7 @@ import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
4
4
  import _createClass from '@babel/runtime/helpers/createClass';
5
5
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
6
6
  import _regeneratorRuntime from '@babel/runtime/regenerator';
7
- import { G as Grid, b as setHandlerInstance, a as articleHandlerInstance } from './index-f691f4ce.js';
7
+ import { G as Grid, b as setHandlerInstance, a as articleHandlerInstance } from './index-1e277764.js';
8
8
  import DivaUtils from '@crystaldesign/diva-utils';
9
9
  import '@babel/runtime/helpers/slicedToArray';
10
10
  import '@babel/runtime/helpers/objectWithoutProperties';
@@ -1,6 +1,6 @@
1
1
  import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
2
2
  import _createClass from '@babel/runtime/helpers/createClass';
3
- import './index-f691f4ce.js';
3
+ import './index-1e277764.js';
4
4
  import '@babel/runtime/helpers/slicedToArray';
5
5
  import '@babel/runtime/helpers/asyncToGenerator';
6
6
  import '@babel/runtime/helpers/defineProperty';