@crystaldesign/web-planner-logic 26.3.0-beta.35 → 26.3.0-beta.37

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 (26) hide show
  1. package/build/cjs/{DivaBoxPlanner-7baca018.js → DivaBoxPlanner-f80250d0.js} +2 -2
  2. package/build/cjs/{DivaStandardPlanner-887dcbcd.js → DivaStandardPlanner-c5105be2.js} +2 -2
  3. package/build/cjs/{DoorPlanner-77233c3c.js → DoorPlanner-b4bce492.js} +1 -1
  4. package/build/cjs/{Host3DSignalR-52288b84.js → Host3DSignalR-4e9f5df7.js} +1 -1
  5. package/build/cjs/{LiviqueWWSHandler-ddf5a167.js → LiviqueWWSHandler-7cd7311b.js} +1 -1
  6. package/build/cjs/{PfisterWWSHandler-c64e88c3.js → PfisterWWSHandler-cbc777bc.js} +1 -1
  7. package/build/cjs/{PlannerHandler2D-e765d84b.js → PlannerHandler2D-7f6212c4.js} +1 -1
  8. package/build/cjs/{SeriousBasketHandler-c48b5502.js → SeriousBasketHandler-ebf721a1.js} +1 -1
  9. package/build/cjs/{ShelfPlanner-ad1e695c.js → ShelfPlanner-571a645a.js} +1 -1
  10. package/build/cjs/{StandardWWSHandler-1445052a.js → StandardWWSHandler-bc5d8354.js} +1 -1
  11. package/build/cjs/{index-27660b09.js → index-4cf893d9.js} +89 -75
  12. package/build/cjs/index.js +1 -1
  13. package/build/esm/{DivaBoxPlanner-af464dd5.js → DivaBoxPlanner-f93993b1.js} +2 -2
  14. package/build/esm/{DivaStandardPlanner-76e62cde.js → DivaStandardPlanner-132930c0.js} +2 -2
  15. package/build/esm/{DoorPlanner-cb6e70ea.js → DoorPlanner-44e816b2.js} +1 -1
  16. package/build/esm/{Host3DSignalR-0253da2c.js → Host3DSignalR-4e70c280.js} +1 -1
  17. package/build/esm/{LiviqueWWSHandler-68c0337c.js → LiviqueWWSHandler-21b02bcc.js} +1 -1
  18. package/build/esm/{PfisterWWSHandler-ac81810c.js → PfisterWWSHandler-ddb63edf.js} +1 -1
  19. package/build/esm/{PlannerHandler2D-4ba29428.js → PlannerHandler2D-326119ab.js} +1 -1
  20. package/build/esm/{SeriousBasketHandler-6b3816e1.js → SeriousBasketHandler-0c90ea1c.js} +1 -1
  21. package/build/esm/{ShelfPlanner-782e8e5b.js → ShelfPlanner-234539e3.js} +1 -1
  22. package/build/esm/{StandardWWSHandler-8b634d57.js → StandardWWSHandler-d0ed512b.js} +1 -1
  23. package/build/esm/{index-75e51a1e.js → index-7c6a8b68.js} +89 -75
  24. package/build/esm/index.js +1 -1
  25. package/build/types/web-planner-logic/src/logic/Article/Engine/IDMArticleEngine.d.ts.map +1 -1
  26. 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-27660b09.js');
8
+ var index = require('./index-4cf893d9.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-e765d84b.js');
12
+ var PlannerHandler2D = require('./PlannerHandler2D-7f6212c4.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-27660b09.js');
8
+ var index = require('./index-4cf893d9.js');
9
9
  var DivaUtils = require('@crystaldesign/diva-utils');
10
- var PlannerHandler2D = require('./PlannerHandler2D-e765d84b.js');
10
+ var PlannerHandler2D = require('./PlannerHandler2D-7f6212c4.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-27660b09.js');
6
+ require('./index-4cf893d9.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-27660b09.js');
8
+ var index = require('./index-4cf893d9.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-27660b09.js');
5
+ require('./index-4cf893d9.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-27660b09.js');
5
+ var index = require('./index-4cf893d9.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-27660b09.js');
8
+ var index = require('./index-4cf893d9.js');
9
9
  var _slicedToArray = require('@babel/runtime/helpers/slicedToArray');
10
10
  var _toConsumableArray = require('@babel/runtime/helpers/toConsumableArray');
11
11
  var fabric = require('fabric');
@@ -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-27660b09.js');
6
+ var index = require('./index-4cf893d9.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-27660b09.js');
9
+ var index = require('./index-4cf893d9.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-27660b09.js');
5
+ require('./index-4cf893d9.js');
6
6
  require('@babel/runtime/helpers/slicedToArray');
7
7
  require('@babel/runtime/helpers/asyncToGenerator');
8
8
  require('@babel/runtime/helpers/defineProperty');
@@ -25373,6 +25373,20 @@ var IDMEngine = /*#__PURE__*/function () {
25373
25373
  prices: []
25374
25374
  });
25375
25375
  }
25376
+ var _iterator = _createForOfIteratorHelper$9(this.article.articleOptionStates.values()),
25377
+ _step;
25378
+ try {
25379
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
25380
+ var ops = _step.value;
25381
+ ops.updateVisibleOptionValues(ops.option.articleOptionValues);
25382
+ if (!ops.val) this.updateArtOPV(this.article.getDefaultOpv(ops.visibleOptionValues), ops.optionCodex, ops, undefined);
25383
+ ops.definedBySetFeatureFixed = false;
25384
+ }
25385
+ } catch (err) {
25386
+ _iterator.e(err);
25387
+ } finally {
25388
+ _iterator.f();
25389
+ }
25376
25390
  this.updateIDMSpecificFeatures();
25377
25391
  return;
25378
25392
  }
@@ -25381,19 +25395,19 @@ var IDMEngine = /*#__PURE__*/function () {
25381
25395
  decisions[i].disableHistory = [];
25382
25396
  decisions[i].activeCombination = undefined;
25383
25397
  }
25384
- var _iterator = _createForOfIteratorHelper$9(this.article.articleOptionStates.values()),
25385
- _step;
25398
+ var _iterator2 = _createForOfIteratorHelper$9(this.article.articleOptionStates.values()),
25399
+ _step2;
25386
25400
  try {
25387
- for (_iterator.s(); !(_step = _iterator.n()).done;) {
25388
- var ops = _step.value;
25389
- ops.updateVisibleOptionValues(ops.option.articleOptionValues);
25390
- if (!ops.val) this.updateArtOPV(this.article.getDefaultOpv(ops.visibleOptionValues), ops.optionCodex, ops, undefined);
25391
- ops.definedBySetFeatureFixed = false;
25401
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
25402
+ var _ops = _step2.value;
25403
+ _ops.updateVisibleOptionValues(_ops.option.articleOptionValues);
25404
+ if (!_ops.val) this.updateArtOPV(this.article.getDefaultOpv(_ops.visibleOptionValues), _ops.optionCodex, _ops, undefined);
25405
+ _ops.definedBySetFeatureFixed = false;
25392
25406
  }
25393
25407
  } catch (err) {
25394
- _iterator.e(err);
25408
+ _iterator2.e(err);
25395
25409
  } finally {
25396
- _iterator.f();
25410
+ _iterator2.f();
25397
25411
  }
25398
25412
  this.decisionDebugStack = [];
25399
25413
  var beforeSnapshot = this.article.set.logDecisions ? this.article.snapshot : undefined;
@@ -25709,12 +25723,12 @@ var IDMEngine = /*#__PURE__*/function () {
25709
25723
  }, {
25710
25724
  key: "evalDisableDecision",
25711
25725
  value: function evalDisableDecision(actions, decision, allDecisions, disable) {
25712
- var _iterator2 = _createForOfIteratorHelper$9(actions),
25713
- _step2;
25726
+ var _iterator3 = _createForOfIteratorHelper$9(actions),
25727
+ _step3;
25714
25728
  try {
25715
25729
  var _loop5 = function _loop5() {
25716
25730
  var _dec$disableHistory;
25717
- var action = _step2.value;
25731
+ var action = _step3.value;
25718
25732
  var dec = allDecisions.find(function (d) {
25719
25733
  return d.decisionNo == Number(action.decisionNo);
25720
25734
  });
@@ -25728,58 +25742,58 @@ var IDMEngine = /*#__PURE__*/function () {
25728
25742
  (_dec$disableHistory = dec.disableHistory) === null || _dec$disableHistory === void 0 || _dec$disableHistory.push(disable ? 'disabled' : 'enabled' + ' By ' + decision.decisionNo);
25729
25743
  },
25730
25744
  _ret;
25731
- for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
25745
+ for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
25732
25746
  _ret = _loop5();
25733
25747
  if (_ret) return _ret.v;
25734
25748
  }
25735
25749
  } catch (err) {
25736
- _iterator2.e(err);
25750
+ _iterator3.e(err);
25737
25751
  } finally {
25738
- _iterator2.f();
25752
+ _iterator3.f();
25739
25753
  }
25740
25754
  }
25741
25755
  }, {
25742
25756
  key: "evalSetFeatureVisible",
25743
25757
  value: function evalSetFeatureVisible(actions, hasSetFeatureInvisible, invisible) {
25744
- var _iterator3 = _createForOfIteratorHelper$9(actions),
25745
- _step3;
25758
+ var _iterator4 = _createForOfIteratorHelper$9(actions),
25759
+ _step4;
25746
25760
  try {
25747
- for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
25748
- var action = _step3.value;
25761
+ for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
25762
+ var action = _step4.value;
25749
25763
  if (!this.article.getArticleOptionState(action.featureNo.toString()) || !action.featureNo) continue;
25750
25764
  var ops = this.article.getArticleOptionState(action.featureNo.toString());
25751
25765
  if (invisible) hasSetFeatureInvisible[action.featureNo.toString()] = invisible;
25752
25766
  if (ops) ops.isInvisible = invisible;
25753
25767
  }
25754
25768
  } catch (err) {
25755
- _iterator3.e(err);
25769
+ _iterator4.e(err);
25756
25770
  } finally {
25757
- _iterator3.f();
25771
+ _iterator4.f();
25758
25772
  }
25759
25773
  }
25760
25774
  }, {
25761
25775
  key: "evalSetFeatureDefault",
25762
25776
  value: function evalSetFeatureDefault(actions, decision, isNull) {
25763
- var _iterator4 = _createForOfIteratorHelper$9(actions),
25764
- _step4;
25777
+ var _iterator5 = _createForOfIteratorHelper$9(actions),
25778
+ _step5;
25765
25779
  try {
25766
- for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
25767
- var action = _step4.value;
25780
+ for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
25781
+ var action = _step5.value;
25768
25782
  var ops = this.article.getArticleOptionState(action.featureNo.toString());
25769
25783
  if (ops && (isNull && ops.val === undefined || !isNull && (ops.val === undefined || !ops.valueWasSet))) {
25770
25784
  if (action.formulaRef) {
25771
25785
  var _action$featureNo, _this$article$Catalog;
25772
- var _ops = this.article.getArticleOptionState((_action$featureNo = action.featureNo) === null || _action$featureNo === void 0 ? void 0 : _action$featureNo.toString());
25773
- var option = _ops === null || _ops === void 0 ? void 0 : _ops.val;
25786
+ var _ops2 = this.article.getArticleOptionState((_action$featureNo = action.featureNo) === null || _action$featureNo === void 0 ? void 0 : _action$featureNo.toString());
25787
+ var option = _ops2 === null || _ops2 === void 0 ? void 0 : _ops2.val;
25774
25788
  var formula = (_this$article$Catalog = this.article.CatalogData.idmFormulas) === null || _this$article$Catalog === void 0 ? void 0 : _this$article$Catalog[action.formulaRef.formulaKey];
25775
25789
  if (!formula) throw new Error('formula ' + action.formulaRef.formulaKey + ' not found in catalog but used in decision: ' + decision.decisionNo);
25776
25790
  var freeText = this.evalMeasureFormula(formula);
25777
25791
  if (option) {
25778
- this.updateArtOPV(option, action.featureNo.toString(), _ops, freeText, true);
25792
+ this.updateArtOPV(option, action.featureNo.toString(), _ops2, freeText, true);
25779
25793
  }
25780
25794
  } else if (action.featureRef) {
25781
- var _ops2 = this.article.getArticleOptionState(action.featureRef.featureNo);
25782
- if (_ops2 !== null && _ops2 !== void 0 && _ops2.valCodex) this.assignOptionValue(action.featureNo.toString(), _ops2.valCodex, 'default');
25795
+ var _ops3 = this.article.getArticleOptionState(action.featureRef.featureNo);
25796
+ if (_ops3 !== null && _ops3 !== void 0 && _ops3.valCodex) this.assignOptionValue(action.featureNo.toString(), _ops3.valCodex, 'default');
25783
25797
  } else if (action.optionRef) {
25784
25798
  this.assignOptionValue(action.featureNo.toString(), action.optionRef.optionKey, 'default');
25785
25799
  } else {
@@ -25789,20 +25803,20 @@ var IDMEngine = /*#__PURE__*/function () {
25789
25803
  break;
25790
25804
  }
25791
25805
  } catch (err) {
25792
- _iterator4.e(err);
25806
+ _iterator5.e(err);
25793
25807
  } finally {
25794
- _iterator4.f();
25808
+ _iterator5.f();
25795
25809
  }
25796
25810
  }
25797
25811
  }, {
25798
25812
  key: "evalSetFeature",
25799
25813
  value: function evalSetFeature(actions, decision, isFixed) {
25800
- var _iterator5 = _createForOfIteratorHelper$9(actions),
25801
- _step5;
25814
+ var _iterator6 = _createForOfIteratorHelper$9(actions),
25815
+ _step6;
25802
25816
  try {
25803
- for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
25817
+ for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
25804
25818
  var _action$featureNo2;
25805
- var action = _step5.value;
25819
+ var action = _step6.value;
25806
25820
  if (!this.article.getArticleOptionState((_action$featureNo2 = action.featureNo) === null || _action$featureNo2 === void 0 ? void 0 : _action$featureNo2.toString()) || !action.featureNo) continue;
25807
25821
  if (action.formulaRef) {
25808
25822
  var _action$featureNo3, _this$article$Catalog2;
@@ -25815,8 +25829,8 @@ var IDMEngine = /*#__PURE__*/function () {
25815
25829
  this.updateArtOPV(option, action.featureNo.toString(), ops, freeText, true);
25816
25830
  }
25817
25831
  } else if (action.featureRef) {
25818
- var _ops3 = this.article.getArticleOptionState(action.featureRef.featureNo);
25819
- if (_ops3 !== null && _ops3 !== void 0 && _ops3.valCodex) this.assignOptionValue(action.featureNo.toString(), _ops3.valCodex, isFixed ? 'fix' : 'set');
25832
+ var _ops4 = this.article.getArticleOptionState(action.featureRef.featureNo);
25833
+ if (_ops4 !== null && _ops4 !== void 0 && _ops4.valCodex) this.assignOptionValue(action.featureNo.toString(), _ops4.valCodex, isFixed ? 'fix' : 'set');
25820
25834
  } else if (action.optionRef) {
25821
25835
  this.assignOptionValue(action.featureNo.toString(), action.optionRef.optionKey, isFixed ? 'fix' : 'set');
25822
25836
  } else {
@@ -25824,9 +25838,9 @@ var IDMEngine = /*#__PURE__*/function () {
25824
25838
  }
25825
25839
  }
25826
25840
  } catch (err) {
25827
- _iterator5.e(err);
25841
+ _iterator6.e(err);
25828
25842
  } finally {
25829
- _iterator5.f();
25843
+ _iterator6.f();
25830
25844
  }
25831
25845
  }
25832
25846
  }, {
@@ -26375,11 +26389,11 @@ var IDMEngine = /*#__PURE__*/function () {
26375
26389
  key: "updateIDMSpecificFeatures",
26376
26390
  value: function updateIDMSpecificFeatures() {
26377
26391
  //updaten idm planner specific options
26378
- var _iterator6 = _createForOfIteratorHelper$9(this.article.articleOptionStates.values()),
26379
- _step6;
26392
+ var _iterator7 = _createForOfIteratorHelper$9(this.article.articleOptionStates.values()),
26393
+ _step7;
26380
26394
  try {
26381
- for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
26382
- var ops = _step6.value;
26395
+ for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {
26396
+ var ops = _step7.value;
26383
26397
  //when an option has no decisions the first visible optionValue has to be selected per default
26384
26398
  if (ops.val === undefined && ops.visibleCount) {
26385
26399
  this.assignOptionValue(ops.optionCodex, ops.visibleOPVKeys[0]);
@@ -26400,9 +26414,9 @@ var IDMEngine = /*#__PURE__*/function () {
26400
26414
  }
26401
26415
  }
26402
26416
  } catch (err) {
26403
- _iterator6.e(err);
26417
+ _iterator7.e(err);
26404
26418
  } finally {
26405
- _iterator6.f();
26419
+ _iterator7.f();
26406
26420
  }
26407
26421
  }
26408
26422
  }, {
@@ -26462,12 +26476,12 @@ var IDMEngine = /*#__PURE__*/function () {
26462
26476
  var oc = decision.optionCombinations[j];
26463
26477
  var variantValues = {};
26464
26478
  var useVVs = true;
26465
- var _iterator7 = _createForOfIteratorHelper$9(oc.projectOptionsSetRefs),
26466
- _step7;
26479
+ var _iterator8 = _createForOfIteratorHelper$9(oc.projectOptionsSetRefs),
26480
+ _step8;
26467
26481
  try {
26468
- for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {
26482
+ for (_iterator8.s(); !(_step8 = _iterator8.n()).done;) {
26469
26483
  var _optionSetRef$optionL2, _optionSetRef$optionL3;
26470
- var optionSetRef = _step7.value;
26484
+ var optionSetRef = _step8.value;
26471
26485
  if (optionSetRef.featureNo.toString() == featureNo) {
26472
26486
  var _optionSetRef$optionL;
26473
26487
  if (optionKey && !((_optionSetRef$optionL = optionSetRef.optionList) !== null && _optionSetRef$optionL !== void 0 && _optionSetRef$optionL.options.includes(optionKey))) {
@@ -26478,9 +26492,9 @@ var IDMEngine = /*#__PURE__*/function () {
26478
26492
  variantValues[optionSetRef.featureNo.toString()] = (_optionSetRef$optionL2 = (_optionSetRef$optionL3 = optionSetRef.optionList) === null || _optionSetRef$optionL3 === void 0 || (_optionSetRef$optionL3 = _optionSetRef$optionL3.optionRef) === null || _optionSetRef$optionL3 === void 0 || (_optionSetRef$optionL3 = _optionSetRef$optionL3[0]) === null || _optionSetRef$optionL3 === void 0 ? void 0 : _optionSetRef$optionL3.optionKey) !== null && _optionSetRef$optionL2 !== void 0 ? _optionSetRef$optionL2 : '';
26479
26493
  }
26480
26494
  } catch (err) {
26481
- _iterator7.e(err);
26495
+ _iterator8.e(err);
26482
26496
  } finally {
26483
- _iterator7.f();
26497
+ _iterator8.f();
26484
26498
  }
26485
26499
  if (useVVs && Object.keys(variantValues).length) variantValuesArr.push(variantValues);
26486
26500
  }
@@ -26558,18 +26572,18 @@ var IDMEngine = /*#__PURE__*/function () {
26558
26572
  }
26559
26573
 
26560
26574
  // this functions updates the images of OPVs that depend on rules
26561
- var _iterator8 = _createForOfIteratorHelper$9(this.article.articleOptionStates.values()),
26562
- _step8;
26575
+ var _iterator9 = _createForOfIteratorHelper$9(this.article.articleOptionStates.values()),
26576
+ _step9;
26563
26577
  try {
26564
- for (_iterator8.s(); !(_step8 = _iterator8.n()).done;) {
26565
- var ops = _step8.value;
26566
- var _iterator9 = _createForOfIteratorHelper$9(ops.visibleOptionValues),
26567
- _step9;
26578
+ for (_iterator9.s(); !(_step9 = _iterator9.n()).done;) {
26579
+ var ops = _step9.value;
26580
+ var _iterator10 = _createForOfIteratorHelper$9(ops.visibleOptionValues),
26581
+ _step10;
26568
26582
  try {
26569
- for (_iterator9.s(); !(_step9 = _iterator9.n()).done;) {
26570
- var _step9$value = _slicedToArray__default["default"](_step9.value, 2),
26571
- jKey = _step9$value[0],
26572
- opv = _step9$value[1];
26583
+ for (_iterator10.s(); !(_step10 = _iterator10.n()).done;) {
26584
+ var _step10$value = _slicedToArray__default["default"](_step10.value, 2),
26585
+ jKey = _step10$value[0],
26586
+ opv = _step10$value[1];
26573
26587
  if (opv.images) {
26574
26588
  var imageFound = false;
26575
26589
  for (var _i5 = 0; _i5 < opv.images.length; _i5++) {
@@ -26599,18 +26613,18 @@ var IDMEngine = /*#__PURE__*/function () {
26599
26613
  }
26600
26614
  }
26601
26615
  } catch (err) {
26602
- _iterator9.e(err);
26616
+ _iterator10.e(err);
26603
26617
  } finally {
26604
- _iterator9.f();
26618
+ _iterator10.f();
26605
26619
  }
26606
26620
  }
26607
26621
 
26608
26622
  // this function calculates an Svg to the current configuration if neccessary (SVG Tausch)
26609
26623
  // if the Article has no SVG Tausch nothing is done
26610
26624
  } catch (err) {
26611
- _iterator8.e(err);
26625
+ _iterator9.e(err);
26612
26626
  } finally {
26613
- _iterator8.f();
26627
+ _iterator9.f();
26614
26628
  }
26615
26629
  var newSVGFile = null;
26616
26630
  var svgChangedViaSvgTausch = false;
@@ -29451,7 +29465,7 @@ var DivaArticle = /*#__PURE__*/function () {
29451
29465
  break;
29452
29466
  }
29453
29467
  _context.next = 4;
29454
- return Promise.resolve().then(function () { return require('./ShelfPlanner-ad1e695c.js'); });
29468
+ return Promise.resolve().then(function () { return require('./ShelfPlanner-571a645a.js'); });
29455
29469
  case 4:
29456
29470
  _yield$import = _context.sent;
29457
29471
  ShelfPlanner = _yield$import["default"];
@@ -37370,7 +37384,7 @@ var DivaSet = /*#__PURE__*/function () {
37370
37384
  break;
37371
37385
  }
37372
37386
  _context5.next = 3;
37373
- return Promise.resolve().then(function () { return require('./DoorPlanner-77233c3c.js'); });
37387
+ return Promise.resolve().then(function () { return require('./DoorPlanner-b4bce492.js'); });
37374
37388
  case 3:
37375
37389
  _yield$import = _context5.sent;
37376
37390
  DoorPlanner = _yield$import["default"];
@@ -42134,7 +42148,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
42134
42148
  break;
42135
42149
  case 3:
42136
42150
  _context12.next = 5;
42137
- return Promise.resolve().then(function () { return require('./PfisterWWSHandler-c64e88c3.js'); });
42151
+ return Promise.resolve().then(function () { return require('./PfisterWWSHandler-cbc777bc.js'); });
42138
42152
  case 5:
42139
42153
  _yield$import = _context12.sent;
42140
42154
  PfisterWWSHandler = _yield$import["default"];
@@ -42142,7 +42156,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
42142
42156
  return _context12.abrupt("break", 27);
42143
42157
  case 9:
42144
42158
  _context12.next = 11;
42145
- return Promise.resolve().then(function () { return require('./LiviqueWWSHandler-ddf5a167.js'); });
42159
+ return Promise.resolve().then(function () { return require('./LiviqueWWSHandler-7cd7311b.js'); });
42146
42160
  case 11:
42147
42161
  _yield$import2 = _context12.sent;
42148
42162
  LiviqueWWSHandler = _yield$import2["default"];
@@ -42150,7 +42164,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
42150
42164
  return _context12.abrupt("break", 27);
42151
42165
  case 15:
42152
42166
  _context12.next = 17;
42153
- return Promise.resolve().then(function () { return require('./SeriousBasketHandler-c48b5502.js'); });
42167
+ return Promise.resolve().then(function () { return require('./SeriousBasketHandler-ebf721a1.js'); });
42154
42168
  case 17:
42155
42169
  _yield$import3 = _context12.sent;
42156
42170
  SeriousWWSHandler = _yield$import3["default"];
@@ -42158,7 +42172,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
42158
42172
  return _context12.abrupt("break", 27);
42159
42173
  case 21:
42160
42174
  _context12.next = 23;
42161
- return Promise.resolve().then(function () { return require('./StandardWWSHandler-1445052a.js'); });
42175
+ return Promise.resolve().then(function () { return require('./StandardWWSHandler-bc5d8354.js'); });
42162
42176
  case 23:
42163
42177
  _yield$import4 = _context12.sent;
42164
42178
  StandardWWSHandler = _yield$import4["default"];
@@ -43582,7 +43596,7 @@ var PlannerHandler3D = /*#__PURE__*/function () {
43582
43596
  while (1) switch (_context3.prev = _context3.next) {
43583
43597
  case 0:
43584
43598
  _context3.next = 2;
43585
- return Promise.resolve().then(function () { return require('./Host3DSignalR-52288b84.js'); });
43599
+ return Promise.resolve().then(function () { return require('./Host3DSignalR-4e9f5df7.js'); });
43586
43600
  case 2:
43587
43601
  _yield$import = _context3.sent;
43588
43602
  Host3DSignalR = _yield$import["default"];
@@ -45335,7 +45349,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
45335
45349
  break;
45336
45350
  case 8:
45337
45351
  _context4.next = 10;
45338
- return Promise.resolve().then(function () { return require('./DivaStandardPlanner-887dcbcd.js'); });
45352
+ return Promise.resolve().then(function () { return require('./DivaStandardPlanner-c5105be2.js'); });
45339
45353
  case 10:
45340
45354
  _yield$import = _context4.sent;
45341
45355
  DivaStandardPlanner = _yield$import["default"];
@@ -45346,7 +45360,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
45346
45360
  return _context4.abrupt("break", 21);
45347
45361
  case 15:
45348
45362
  _context4.next = 17;
45349
- return Promise.resolve().then(function () { return require('./DivaBoxPlanner-7baca018.js'); });
45363
+ return Promise.resolve().then(function () { return require('./DivaBoxPlanner-f80250d0.js'); });
45350
45364
  case 17:
45351
45365
  _yield$import2 = _context4.sent;
45352
45366
  DivaBoxPlanner = _yield$import2["default"];
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var index = require('./index-27660b09.js');
5
+ var index = require('./index-4cf893d9.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-75e51a1e.js';
6
+ import { c as Vector2, V as Vector3, P as PlannerElementData, B as BoundingBox } from './index-7c6a8b68.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-4ba29428.js';
10
+ import { d as dockingPointHandlerInst, h as handler2D } from './PlannerHandler2D-326119ab.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-75e51a1e.js';
6
+ import { V as Vector3, c as Vector2, P as PlannerElementData, B as BoundingBox } from './index-7c6a8b68.js';
7
7
  import DivaUtils, { DivaError, md5 } from '@crystaldesign/diva-utils';
8
- import { d as dockingPointHandlerInst, h as handler2D } from './PlannerHandler2D-4ba29428.js';
8
+ import { d as dockingPointHandlerInst, h as handler2D } from './PlannerHandler2D-326119ab.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-75e51a1e.js';
4
+ import './index-7c6a8b68.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-75e51a1e.js';
6
+ import { R as Rendering, H as HQRenderScript } from './index-7c6a8b68.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-75e51a1e.js';
3
+ import './index-7c6a8b68.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-75e51a1e.js';
3
+ import { a as articleHandlerInstance } from './index-7c6a8b68.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-75e51a1e.js';
6
+ import { c as Vector2, D as DockingPoint, V as Vector3 } from './index-7c6a8b68.js';
7
7
  import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
8
8
  import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
9
9
  import { fabric } from 'fabric';
@@ -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-75e51a1e.js';
4
+ import { s as summaryHandlerInstance } from './index-7c6a8b68.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-75e51a1e.js';
7
+ import { G as Grid, b as setHandlerInstance, a as articleHandlerInstance } from './index-7c6a8b68.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-75e51a1e.js';
3
+ import './index-7c6a8b68.js';
4
4
  import '@babel/runtime/helpers/slicedToArray';
5
5
  import '@babel/runtime/helpers/asyncToGenerator';
6
6
  import '@babel/runtime/helpers/defineProperty';
@@ -25356,6 +25356,20 @@ var IDMEngine = /*#__PURE__*/function () {
25356
25356
  prices: []
25357
25357
  });
25358
25358
  }
25359
+ var _iterator = _createForOfIteratorHelper$9(this.article.articleOptionStates.values()),
25360
+ _step;
25361
+ try {
25362
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
25363
+ var ops = _step.value;
25364
+ ops.updateVisibleOptionValues(ops.option.articleOptionValues);
25365
+ if (!ops.val) this.updateArtOPV(this.article.getDefaultOpv(ops.visibleOptionValues), ops.optionCodex, ops, undefined);
25366
+ ops.definedBySetFeatureFixed = false;
25367
+ }
25368
+ } catch (err) {
25369
+ _iterator.e(err);
25370
+ } finally {
25371
+ _iterator.f();
25372
+ }
25359
25373
  this.updateIDMSpecificFeatures();
25360
25374
  return;
25361
25375
  }
@@ -25364,19 +25378,19 @@ var IDMEngine = /*#__PURE__*/function () {
25364
25378
  decisions[i].disableHistory = [];
25365
25379
  decisions[i].activeCombination = undefined;
25366
25380
  }
25367
- var _iterator = _createForOfIteratorHelper$9(this.article.articleOptionStates.values()),
25368
- _step;
25381
+ var _iterator2 = _createForOfIteratorHelper$9(this.article.articleOptionStates.values()),
25382
+ _step2;
25369
25383
  try {
25370
- for (_iterator.s(); !(_step = _iterator.n()).done;) {
25371
- var ops = _step.value;
25372
- ops.updateVisibleOptionValues(ops.option.articleOptionValues);
25373
- if (!ops.val) this.updateArtOPV(this.article.getDefaultOpv(ops.visibleOptionValues), ops.optionCodex, ops, undefined);
25374
- ops.definedBySetFeatureFixed = false;
25384
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
25385
+ var _ops = _step2.value;
25386
+ _ops.updateVisibleOptionValues(_ops.option.articleOptionValues);
25387
+ if (!_ops.val) this.updateArtOPV(this.article.getDefaultOpv(_ops.visibleOptionValues), _ops.optionCodex, _ops, undefined);
25388
+ _ops.definedBySetFeatureFixed = false;
25375
25389
  }
25376
25390
  } catch (err) {
25377
- _iterator.e(err);
25391
+ _iterator2.e(err);
25378
25392
  } finally {
25379
- _iterator.f();
25393
+ _iterator2.f();
25380
25394
  }
25381
25395
  this.decisionDebugStack = [];
25382
25396
  var beforeSnapshot = this.article.set.logDecisions ? this.article.snapshot : undefined;
@@ -25692,12 +25706,12 @@ var IDMEngine = /*#__PURE__*/function () {
25692
25706
  }, {
25693
25707
  key: "evalDisableDecision",
25694
25708
  value: function evalDisableDecision(actions, decision, allDecisions, disable) {
25695
- var _iterator2 = _createForOfIteratorHelper$9(actions),
25696
- _step2;
25709
+ var _iterator3 = _createForOfIteratorHelper$9(actions),
25710
+ _step3;
25697
25711
  try {
25698
25712
  var _loop5 = function _loop5() {
25699
25713
  var _dec$disableHistory;
25700
- var action = _step2.value;
25714
+ var action = _step3.value;
25701
25715
  var dec = allDecisions.find(function (d) {
25702
25716
  return d.decisionNo == Number(action.decisionNo);
25703
25717
  });
@@ -25711,58 +25725,58 @@ var IDMEngine = /*#__PURE__*/function () {
25711
25725
  (_dec$disableHistory = dec.disableHistory) === null || _dec$disableHistory === void 0 || _dec$disableHistory.push(disable ? 'disabled' : 'enabled' + ' By ' + decision.decisionNo);
25712
25726
  },
25713
25727
  _ret;
25714
- for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
25728
+ for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
25715
25729
  _ret = _loop5();
25716
25730
  if (_ret) return _ret.v;
25717
25731
  }
25718
25732
  } catch (err) {
25719
- _iterator2.e(err);
25733
+ _iterator3.e(err);
25720
25734
  } finally {
25721
- _iterator2.f();
25735
+ _iterator3.f();
25722
25736
  }
25723
25737
  }
25724
25738
  }, {
25725
25739
  key: "evalSetFeatureVisible",
25726
25740
  value: function evalSetFeatureVisible(actions, hasSetFeatureInvisible, invisible) {
25727
- var _iterator3 = _createForOfIteratorHelper$9(actions),
25728
- _step3;
25741
+ var _iterator4 = _createForOfIteratorHelper$9(actions),
25742
+ _step4;
25729
25743
  try {
25730
- for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
25731
- var action = _step3.value;
25744
+ for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
25745
+ var action = _step4.value;
25732
25746
  if (!this.article.getArticleOptionState(action.featureNo.toString()) || !action.featureNo) continue;
25733
25747
  var ops = this.article.getArticleOptionState(action.featureNo.toString());
25734
25748
  if (invisible) hasSetFeatureInvisible[action.featureNo.toString()] = invisible;
25735
25749
  if (ops) ops.isInvisible = invisible;
25736
25750
  }
25737
25751
  } catch (err) {
25738
- _iterator3.e(err);
25752
+ _iterator4.e(err);
25739
25753
  } finally {
25740
- _iterator3.f();
25754
+ _iterator4.f();
25741
25755
  }
25742
25756
  }
25743
25757
  }, {
25744
25758
  key: "evalSetFeatureDefault",
25745
25759
  value: function evalSetFeatureDefault(actions, decision, isNull) {
25746
- var _iterator4 = _createForOfIteratorHelper$9(actions),
25747
- _step4;
25760
+ var _iterator5 = _createForOfIteratorHelper$9(actions),
25761
+ _step5;
25748
25762
  try {
25749
- for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
25750
- var action = _step4.value;
25763
+ for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
25764
+ var action = _step5.value;
25751
25765
  var ops = this.article.getArticleOptionState(action.featureNo.toString());
25752
25766
  if (ops && (isNull && ops.val === undefined || !isNull && (ops.val === undefined || !ops.valueWasSet))) {
25753
25767
  if (action.formulaRef) {
25754
25768
  var _action$featureNo, _this$article$Catalog;
25755
- var _ops = this.article.getArticleOptionState((_action$featureNo = action.featureNo) === null || _action$featureNo === void 0 ? void 0 : _action$featureNo.toString());
25756
- var option = _ops === null || _ops === void 0 ? void 0 : _ops.val;
25769
+ var _ops2 = this.article.getArticleOptionState((_action$featureNo = action.featureNo) === null || _action$featureNo === void 0 ? void 0 : _action$featureNo.toString());
25770
+ var option = _ops2 === null || _ops2 === void 0 ? void 0 : _ops2.val;
25757
25771
  var formula = (_this$article$Catalog = this.article.CatalogData.idmFormulas) === null || _this$article$Catalog === void 0 ? void 0 : _this$article$Catalog[action.formulaRef.formulaKey];
25758
25772
  if (!formula) throw new Error('formula ' + action.formulaRef.formulaKey + ' not found in catalog but used in decision: ' + decision.decisionNo);
25759
25773
  var freeText = this.evalMeasureFormula(formula);
25760
25774
  if (option) {
25761
- this.updateArtOPV(option, action.featureNo.toString(), _ops, freeText, true);
25775
+ this.updateArtOPV(option, action.featureNo.toString(), _ops2, freeText, true);
25762
25776
  }
25763
25777
  } else if (action.featureRef) {
25764
- var _ops2 = this.article.getArticleOptionState(action.featureRef.featureNo);
25765
- if (_ops2 !== null && _ops2 !== void 0 && _ops2.valCodex) this.assignOptionValue(action.featureNo.toString(), _ops2.valCodex, 'default');
25778
+ var _ops3 = this.article.getArticleOptionState(action.featureRef.featureNo);
25779
+ if (_ops3 !== null && _ops3 !== void 0 && _ops3.valCodex) this.assignOptionValue(action.featureNo.toString(), _ops3.valCodex, 'default');
25766
25780
  } else if (action.optionRef) {
25767
25781
  this.assignOptionValue(action.featureNo.toString(), action.optionRef.optionKey, 'default');
25768
25782
  } else {
@@ -25772,20 +25786,20 @@ var IDMEngine = /*#__PURE__*/function () {
25772
25786
  break;
25773
25787
  }
25774
25788
  } catch (err) {
25775
- _iterator4.e(err);
25789
+ _iterator5.e(err);
25776
25790
  } finally {
25777
- _iterator4.f();
25791
+ _iterator5.f();
25778
25792
  }
25779
25793
  }
25780
25794
  }, {
25781
25795
  key: "evalSetFeature",
25782
25796
  value: function evalSetFeature(actions, decision, isFixed) {
25783
- var _iterator5 = _createForOfIteratorHelper$9(actions),
25784
- _step5;
25797
+ var _iterator6 = _createForOfIteratorHelper$9(actions),
25798
+ _step6;
25785
25799
  try {
25786
- for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
25800
+ for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
25787
25801
  var _action$featureNo2;
25788
- var action = _step5.value;
25802
+ var action = _step6.value;
25789
25803
  if (!this.article.getArticleOptionState((_action$featureNo2 = action.featureNo) === null || _action$featureNo2 === void 0 ? void 0 : _action$featureNo2.toString()) || !action.featureNo) continue;
25790
25804
  if (action.formulaRef) {
25791
25805
  var _action$featureNo3, _this$article$Catalog2;
@@ -25798,8 +25812,8 @@ var IDMEngine = /*#__PURE__*/function () {
25798
25812
  this.updateArtOPV(option, action.featureNo.toString(), ops, freeText, true);
25799
25813
  }
25800
25814
  } else if (action.featureRef) {
25801
- var _ops3 = this.article.getArticleOptionState(action.featureRef.featureNo);
25802
- if (_ops3 !== null && _ops3 !== void 0 && _ops3.valCodex) this.assignOptionValue(action.featureNo.toString(), _ops3.valCodex, isFixed ? 'fix' : 'set');
25815
+ var _ops4 = this.article.getArticleOptionState(action.featureRef.featureNo);
25816
+ if (_ops4 !== null && _ops4 !== void 0 && _ops4.valCodex) this.assignOptionValue(action.featureNo.toString(), _ops4.valCodex, isFixed ? 'fix' : 'set');
25803
25817
  } else if (action.optionRef) {
25804
25818
  this.assignOptionValue(action.featureNo.toString(), action.optionRef.optionKey, isFixed ? 'fix' : 'set');
25805
25819
  } else {
@@ -25807,9 +25821,9 @@ var IDMEngine = /*#__PURE__*/function () {
25807
25821
  }
25808
25822
  }
25809
25823
  } catch (err) {
25810
- _iterator5.e(err);
25824
+ _iterator6.e(err);
25811
25825
  } finally {
25812
- _iterator5.f();
25826
+ _iterator6.f();
25813
25827
  }
25814
25828
  }
25815
25829
  }, {
@@ -26358,11 +26372,11 @@ var IDMEngine = /*#__PURE__*/function () {
26358
26372
  key: "updateIDMSpecificFeatures",
26359
26373
  value: function updateIDMSpecificFeatures() {
26360
26374
  //updaten idm planner specific options
26361
- var _iterator6 = _createForOfIteratorHelper$9(this.article.articleOptionStates.values()),
26362
- _step6;
26375
+ var _iterator7 = _createForOfIteratorHelper$9(this.article.articleOptionStates.values()),
26376
+ _step7;
26363
26377
  try {
26364
- for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
26365
- var ops = _step6.value;
26378
+ for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {
26379
+ var ops = _step7.value;
26366
26380
  //when an option has no decisions the first visible optionValue has to be selected per default
26367
26381
  if (ops.val === undefined && ops.visibleCount) {
26368
26382
  this.assignOptionValue(ops.optionCodex, ops.visibleOPVKeys[0]);
@@ -26383,9 +26397,9 @@ var IDMEngine = /*#__PURE__*/function () {
26383
26397
  }
26384
26398
  }
26385
26399
  } catch (err) {
26386
- _iterator6.e(err);
26400
+ _iterator7.e(err);
26387
26401
  } finally {
26388
- _iterator6.f();
26402
+ _iterator7.f();
26389
26403
  }
26390
26404
  }
26391
26405
  }, {
@@ -26445,12 +26459,12 @@ var IDMEngine = /*#__PURE__*/function () {
26445
26459
  var oc = decision.optionCombinations[j];
26446
26460
  var variantValues = {};
26447
26461
  var useVVs = true;
26448
- var _iterator7 = _createForOfIteratorHelper$9(oc.projectOptionsSetRefs),
26449
- _step7;
26462
+ var _iterator8 = _createForOfIteratorHelper$9(oc.projectOptionsSetRefs),
26463
+ _step8;
26450
26464
  try {
26451
- for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {
26465
+ for (_iterator8.s(); !(_step8 = _iterator8.n()).done;) {
26452
26466
  var _optionSetRef$optionL2, _optionSetRef$optionL3;
26453
- var optionSetRef = _step7.value;
26467
+ var optionSetRef = _step8.value;
26454
26468
  if (optionSetRef.featureNo.toString() == featureNo) {
26455
26469
  var _optionSetRef$optionL;
26456
26470
  if (optionKey && !((_optionSetRef$optionL = optionSetRef.optionList) !== null && _optionSetRef$optionL !== void 0 && _optionSetRef$optionL.options.includes(optionKey))) {
@@ -26461,9 +26475,9 @@ var IDMEngine = /*#__PURE__*/function () {
26461
26475
  variantValues[optionSetRef.featureNo.toString()] = (_optionSetRef$optionL2 = (_optionSetRef$optionL3 = optionSetRef.optionList) === null || _optionSetRef$optionL3 === void 0 || (_optionSetRef$optionL3 = _optionSetRef$optionL3.optionRef) === null || _optionSetRef$optionL3 === void 0 || (_optionSetRef$optionL3 = _optionSetRef$optionL3[0]) === null || _optionSetRef$optionL3 === void 0 ? void 0 : _optionSetRef$optionL3.optionKey) !== null && _optionSetRef$optionL2 !== void 0 ? _optionSetRef$optionL2 : '';
26462
26476
  }
26463
26477
  } catch (err) {
26464
- _iterator7.e(err);
26478
+ _iterator8.e(err);
26465
26479
  } finally {
26466
- _iterator7.f();
26480
+ _iterator8.f();
26467
26481
  }
26468
26482
  if (useVVs && Object.keys(variantValues).length) variantValuesArr.push(variantValues);
26469
26483
  }
@@ -26541,18 +26555,18 @@ var IDMEngine = /*#__PURE__*/function () {
26541
26555
  }
26542
26556
 
26543
26557
  // this functions updates the images of OPVs that depend on rules
26544
- var _iterator8 = _createForOfIteratorHelper$9(this.article.articleOptionStates.values()),
26545
- _step8;
26558
+ var _iterator9 = _createForOfIteratorHelper$9(this.article.articleOptionStates.values()),
26559
+ _step9;
26546
26560
  try {
26547
- for (_iterator8.s(); !(_step8 = _iterator8.n()).done;) {
26548
- var ops = _step8.value;
26549
- var _iterator9 = _createForOfIteratorHelper$9(ops.visibleOptionValues),
26550
- _step9;
26561
+ for (_iterator9.s(); !(_step9 = _iterator9.n()).done;) {
26562
+ var ops = _step9.value;
26563
+ var _iterator10 = _createForOfIteratorHelper$9(ops.visibleOptionValues),
26564
+ _step10;
26551
26565
  try {
26552
- for (_iterator9.s(); !(_step9 = _iterator9.n()).done;) {
26553
- var _step9$value = _slicedToArray(_step9.value, 2),
26554
- jKey = _step9$value[0],
26555
- opv = _step9$value[1];
26566
+ for (_iterator10.s(); !(_step10 = _iterator10.n()).done;) {
26567
+ var _step10$value = _slicedToArray(_step10.value, 2),
26568
+ jKey = _step10$value[0],
26569
+ opv = _step10$value[1];
26556
26570
  if (opv.images) {
26557
26571
  var imageFound = false;
26558
26572
  for (var _i5 = 0; _i5 < opv.images.length; _i5++) {
@@ -26582,18 +26596,18 @@ var IDMEngine = /*#__PURE__*/function () {
26582
26596
  }
26583
26597
  }
26584
26598
  } catch (err) {
26585
- _iterator9.e(err);
26599
+ _iterator10.e(err);
26586
26600
  } finally {
26587
- _iterator9.f();
26601
+ _iterator10.f();
26588
26602
  }
26589
26603
  }
26590
26604
 
26591
26605
  // this function calculates an Svg to the current configuration if neccessary (SVG Tausch)
26592
26606
  // if the Article has no SVG Tausch nothing is done
26593
26607
  } catch (err) {
26594
- _iterator8.e(err);
26608
+ _iterator9.e(err);
26595
26609
  } finally {
26596
- _iterator8.f();
26610
+ _iterator9.f();
26597
26611
  }
26598
26612
  var newSVGFile = null;
26599
26613
  var svgChangedViaSvgTausch = false;
@@ -29434,7 +29448,7 @@ var DivaArticle = /*#__PURE__*/function () {
29434
29448
  break;
29435
29449
  }
29436
29450
  _context.next = 4;
29437
- return import('./ShelfPlanner-782e8e5b.js');
29451
+ return import('./ShelfPlanner-234539e3.js');
29438
29452
  case 4:
29439
29453
  _yield$import = _context.sent;
29440
29454
  ShelfPlanner = _yield$import["default"];
@@ -37353,7 +37367,7 @@ var DivaSet = /*#__PURE__*/function () {
37353
37367
  break;
37354
37368
  }
37355
37369
  _context5.next = 3;
37356
- return import('./DoorPlanner-cb6e70ea.js');
37370
+ return import('./DoorPlanner-44e816b2.js');
37357
37371
  case 3:
37358
37372
  _yield$import = _context5.sent;
37359
37373
  DoorPlanner = _yield$import["default"];
@@ -42117,7 +42131,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
42117
42131
  break;
42118
42132
  case 3:
42119
42133
  _context12.next = 5;
42120
- return import('./PfisterWWSHandler-ac81810c.js');
42134
+ return import('./PfisterWWSHandler-ddb63edf.js');
42121
42135
  case 5:
42122
42136
  _yield$import = _context12.sent;
42123
42137
  PfisterWWSHandler = _yield$import["default"];
@@ -42125,7 +42139,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
42125
42139
  return _context12.abrupt("break", 27);
42126
42140
  case 9:
42127
42141
  _context12.next = 11;
42128
- return import('./LiviqueWWSHandler-68c0337c.js');
42142
+ return import('./LiviqueWWSHandler-21b02bcc.js');
42129
42143
  case 11:
42130
42144
  _yield$import2 = _context12.sent;
42131
42145
  LiviqueWWSHandler = _yield$import2["default"];
@@ -42133,7 +42147,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
42133
42147
  return _context12.abrupt("break", 27);
42134
42148
  case 15:
42135
42149
  _context12.next = 17;
42136
- return import('./SeriousBasketHandler-6b3816e1.js');
42150
+ return import('./SeriousBasketHandler-0c90ea1c.js');
42137
42151
  case 17:
42138
42152
  _yield$import3 = _context12.sent;
42139
42153
  SeriousWWSHandler = _yield$import3["default"];
@@ -42141,7 +42155,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
42141
42155
  return _context12.abrupt("break", 27);
42142
42156
  case 21:
42143
42157
  _context12.next = 23;
42144
- return import('./StandardWWSHandler-8b634d57.js');
42158
+ return import('./StandardWWSHandler-d0ed512b.js');
42145
42159
  case 23:
42146
42160
  _yield$import4 = _context12.sent;
42147
42161
  StandardWWSHandler = _yield$import4["default"];
@@ -43565,7 +43579,7 @@ var PlannerHandler3D = /*#__PURE__*/function () {
43565
43579
  while (1) switch (_context3.prev = _context3.next) {
43566
43580
  case 0:
43567
43581
  _context3.next = 2;
43568
- return import('./Host3DSignalR-0253da2c.js');
43582
+ return import('./Host3DSignalR-4e70c280.js');
43569
43583
  case 2:
43570
43584
  _yield$import = _context3.sent;
43571
43585
  Host3DSignalR = _yield$import["default"];
@@ -45318,7 +45332,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
45318
45332
  break;
45319
45333
  case 8:
45320
45334
  _context4.next = 10;
45321
- return import('./DivaStandardPlanner-76e62cde.js');
45335
+ return import('./DivaStandardPlanner-132930c0.js');
45322
45336
  case 10:
45323
45337
  _yield$import = _context4.sent;
45324
45338
  DivaStandardPlanner = _yield$import["default"];
@@ -45329,7 +45343,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
45329
45343
  return _context4.abrupt("break", 21);
45330
45344
  case 15:
45331
45345
  _context4.next = 17;
45332
- return import('./DivaBoxPlanner-af464dd5.js');
45346
+ return import('./DivaBoxPlanner-f93993b1.js');
45333
45347
  case 17:
45334
45348
  _yield$import2 = _context4.sent;
45335
45349
  DivaBoxPlanner = _yield$import2["default"];
@@ -1,4 +1,4 @@
1
- export { h as CatalogPlannerArticleData, C as Cell, e as DivaArticle, g as DivaBasketHandler, f as DivaCatalogData, b as DivaSetHandler, D as DockingPoint, G as Grid, O as OptionCatalogData, P as PlannerElementData, R as Rendering, c as Vector2, V as Vector3, i as Vector4, j as creatRenderOrders, d as default, k as getOrigProductId, l as loadAndRepairBasket } from './index-75e51a1e.js';
1
+ export { h as CatalogPlannerArticleData, C as Cell, e as DivaArticle, g as DivaBasketHandler, f as DivaCatalogData, b as DivaSetHandler, D as DockingPoint, G as Grid, O as OptionCatalogData, P as PlannerElementData, R as Rendering, c as Vector2, V as Vector3, i as Vector4, j as creatRenderOrders, d as default, k as getOrigProductId, l as loadAndRepairBasket } from './index-7c6a8b68.js';
2
2
  import '@babel/runtime/helpers/slicedToArray';
3
3
  import '@babel/runtime/helpers/asyncToGenerator';
4
4
  import '@babel/runtime/helpers/classCallCheck';
@@ -1 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,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE;IAqFpE,OAAO,CAAC,mCAAmC;IAsG3C,OAAO,CAAC,4BAA4B;IAgCpC,OAAO,CAAC,SAAS;IAiDjB,OAAO,CAAC,mBAAmB;IAmB3B,OAAO,CAAC,yBAAyB;IAyBjC,OAAO,CAAC,wBAAwB;IAuCzB,uBAAuB,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM;;;IA6BpE,OAAO,CAAC,kBAAkB;IAyCnB,uBAAuB;IAGvB,0BAA0B;CAqKlC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/web-planner-logic",
3
- "version": "26.3.0-beta.35",
3
+ "version": "26.3.0-beta.37",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -40,5 +40,5 @@
40
40
  "types": "./build/types/web-planner-logic/src/index.d.ts",
41
41
  "module": "build/esm/index.js",
42
42
  "main": "build/cjs/index.js",
43
- "gitHead": "4bbc08e3ba161a3d3900bd302f93654af71c6d46"
43
+ "gitHead": "94037e3096fc0ec4ab542a87b20e1337fef6c9c7"
44
44
  }