@crystaldesign/web-planner-logic 24.12.0 → 24.12.1

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 (25) hide show
  1. package/build/cjs/{DivaBoxPlanner-1c78ef85.js → DivaBoxPlanner-303a552b.js} +318 -317
  2. package/build/cjs/{DivaStandardPlanner-eb45e763.js → DivaStandardPlanner-2f994125.js} +82 -82
  3. package/build/cjs/{DoorPlanner-3a199423.js → DoorPlanner-1faa1593.js} +1 -1
  4. package/build/cjs/{Host3DSignalR-c52991a0.js → Host3DSignalR-a9bc4c70.js} +43 -43
  5. package/build/cjs/{LiviqueWWSHandler-6607e52f.js → LiviqueWWSHandler-e9462b37.js} +1 -1
  6. package/build/cjs/{PfisterWWSHandler-2ea37e1d.js → PfisterWWSHandler-65b5992f.js} +6 -6
  7. package/build/cjs/{PlannerHandler2D-de64a752.js → PlannerHandler2D-9ce74b8c.js} +189 -189
  8. package/build/cjs/{SeriousBasketHandler-03648231.js → SeriousBasketHandler-c0d4f0f5.js} +1 -1
  9. package/build/cjs/{ShelfPlanner-4402bf3e.js → ShelfPlanner-642594d4.js} +86 -86
  10. package/build/cjs/{StandardWWSHandler-62bc3cc6.js → StandardWWSHandler-c7833d13.js} +1 -1
  11. package/build/cjs/{index-e86ab943.js → index-530d9304.js} +632 -632
  12. package/build/cjs/index.js +1 -1
  13. package/build/esm/{DivaBoxPlanner-655a32f3.js → DivaBoxPlanner-0748b14a.js} +318 -317
  14. package/build/esm/{DivaStandardPlanner-e1faf2c9.js → DivaStandardPlanner-2c8858b2.js} +82 -82
  15. package/build/esm/{DoorPlanner-cfebaef8.js → DoorPlanner-c640fd24.js} +1 -1
  16. package/build/esm/{Host3DSignalR-5d924d77.js → Host3DSignalR-aa3a4b4d.js} +43 -43
  17. package/build/esm/{LiviqueWWSHandler-62ff852e.js → LiviqueWWSHandler-8d2570dd.js} +1 -1
  18. package/build/esm/{PfisterWWSHandler-1cf1fce6.js → PfisterWWSHandler-c046e3ee.js} +6 -6
  19. package/build/esm/{PlannerHandler2D-ad96ee8d.js → PlannerHandler2D-844fc811.js} +189 -189
  20. package/build/esm/{SeriousBasketHandler-9e031da4.js → SeriousBasketHandler-b8e1b0da.js} +1 -1
  21. package/build/esm/{ShelfPlanner-4f446e61.js → ShelfPlanner-f3218c50.js} +86 -86
  22. package/build/esm/{StandardWWSHandler-e72ecb08.js → StandardWWSHandler-a3c5246b.js} +1 -1
  23. package/build/esm/{index-84339e2f.js → index-3870ea62.js} +632 -632
  24. package/build/esm/index.js +1 -1
  25. package/package.json +2 -2
@@ -5,10 +5,10 @@ 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-e86ab943.js');
8
+ var index = require('./index-530d9304.js');
9
9
  var DivaUtils = require('@crystaldesign/diva-utils');
10
10
  var _toConsumableArray = require('@babel/runtime/helpers/toConsumableArray');
11
- var PlannerHandler2D = require('./PlannerHandler2D-de64a752.js');
11
+ var PlannerHandler2D = require('./PlannerHandler2D-9ce74b8c.js');
12
12
  require('@babel/runtime/helpers/objectWithoutProperties');
13
13
  require('@babel/runtime/helpers/slicedToArray');
14
14
  require('axios');
@@ -434,11 +434,11 @@ var BoxPlannerPartlistHelper = /*#__PURE__*/function () {
434
434
  }
435
435
  }
436
436
 
437
- /**
438
- * This fucntion corrects the left front Senkrechte Rahmen of the element
439
- * @param curElement
440
- * @param boxPlannerGrid
441
- * @param optionHandler
437
+ /**
438
+ * This fucntion corrects the left front Senkrechte Rahmen of the element
439
+ * @param curElement
440
+ * @param boxPlannerGrid
441
+ * @param optionHandler
442
442
  */
443
443
  }, {
444
444
  key: "correctRahmenVerticalLeftFront",
@@ -481,11 +481,11 @@ var BoxPlannerPartlistHelper = /*#__PURE__*/function () {
481
481
  }
482
482
  }
483
483
 
484
- /**
485
- * This fucntion corrects the left front Senkrechte Rahmen of the element
486
- * @param curElement
487
- * @param boxPlannerGrid
488
- * @param optionHandler
484
+ /**
485
+ * This fucntion corrects the left front Senkrechte Rahmen of the element
486
+ * @param curElement
487
+ * @param boxPlannerGrid
488
+ * @param optionHandler
489
489
  */
490
490
  }, {
491
491
  key: "correctRahmenVerticalLeftBack",
@@ -539,11 +539,11 @@ var BoxPlannerPartlistHelper = /*#__PURE__*/function () {
539
539
  }
540
540
  }
541
541
 
542
- /**
543
- * This fucntion corrects the left front Senkrechte Rahmen of the element
544
- * @param curElement
545
- * @param boxPlannerGrid
546
- * @param optionHandler
542
+ /**
543
+ * This fucntion corrects the left front Senkrechte Rahmen of the element
544
+ * @param curElement
545
+ * @param boxPlannerGrid
546
+ * @param optionHandler
547
547
  */
548
548
  }, {
549
549
  key: "correctRahmenVerticalRightFront",
@@ -595,11 +595,11 @@ var BoxPlannerPartlistHelper = /*#__PURE__*/function () {
595
595
  }
596
596
  }
597
597
 
598
- /**
599
- * This fucntion corrects the left front Senkrechte Rahmen of the element
600
- * @param curElement
601
- * @param boxPlannerGrid
602
- * @param optionHandler
598
+ /**
599
+ * This fucntion corrects the left front Senkrechte Rahmen of the element
600
+ * @param curElement
601
+ * @param boxPlannerGrid
602
+ * @param optionHandler
603
603
  */
604
604
  }, {
605
605
  key: "correctRahmenVerticalRightBack",
@@ -1437,76 +1437,76 @@ var BoxPlannerPartlistHelper = /*#__PURE__*/function () {
1437
1437
  }
1438
1438
  break;
1439
1439
  }
1440
- /*
1441
- if (!this.getElementHasBottomPlate(curElement, optionHandler)) {
1442
- //Element has no ground plate
1443
- if (!boxPlannerGrid.getElementHasRightElement(curElement.getElementId())) {
1444
- let opposideElement = boxPlannerGrid.getOppositeElement(curElement.getElementId());
1445
- if (opposideElement) {
1446
- if (this.getElementHasBottomPlate(opposideElement, optionHandler)) {
1447
- //The opposide element has a ground plate
1448
- this.setOptionValue(
1449
- curElement.getElementId(),
1450
- this.constructionRules.knotInfo.knotOPT_RightBottomBack,
1451
- this.constructionRules.knotInfo.knotOPVs.knot3er_1GT,
1452
- optionHandler,
1453
- );
1454
- } else {
1455
- //The opposide element has no ground plate
1456
- this.setOptionValue(
1457
- curElement.getElementId(),
1458
- this.constructionRules.knotInfo.knotOPT_RightBottomBack,
1459
- this.constructionRules.knotInfo.knotOPVs.knot3er_0GT,
1460
- optionHandler,
1461
- );
1462
- }
1463
- }
1464
- } else {
1465
- //Element has neighbor element
1466
- //Set the Glasteller count depending on the plates of the neighbors
1467
- switch (this.getGroundPlatesNumOfRightNeighbors(curElement, boxPlannerGrid, optionHandler)) {
1468
- case 0:
1469
- this.setOptionValue(
1470
- curElement.getElementId(),
1471
- this.constructionRules.knotInfo.knotOPT_RightBottomBack,
1472
- this.constructionRules.knotInfo.knotOPVs.knot4er_0GT,
1473
- optionHandler,
1474
- );
1475
- break;
1476
- case 1:
1477
- this.setOptionValue(
1478
- curElement.getElementId(),
1479
- this.constructionRules.knotInfo.knotOPT_RightBottomBack,
1480
- this.constructionRules.knotInfo.knotOPVs.knot4er_1GT,
1481
- optionHandler,
1482
- );
1483
- break;
1484
- case 2:
1485
- this.setOptionValue(
1486
- curElement.getElementId(),
1487
- this.constructionRules.knotInfo.knotOPT_RightBottomBack,
1488
- this.constructionRules.knotInfo.knotOPVs.knot4er_2GT,
1489
- optionHandler,
1490
- );
1491
- break;
1492
- case 3:
1493
- this.setOptionValue(
1494
- curElement.getElementId(),
1495
- this.constructionRules.knotInfo.knotOPT_RightBottomBack,
1496
- this.constructionRules.knotInfo.knotOPVs.knot4er_3GT,
1497
- optionHandler,
1498
- );
1499
- break;
1500
- case 4:
1501
- this.setOptionValue(
1502
- curElement.getElementId(),
1503
- this.constructionRules.knotInfo.knotOPT_RightBottomBack,
1504
- this.constructionRules.knotInfo.knotOPVs.knot4er_4GT,
1505
- optionHandler,
1506
- );
1507
- break;
1508
- }
1509
- }
1440
+ /*
1441
+ if (!this.getElementHasBottomPlate(curElement, optionHandler)) {
1442
+ //Element has no ground plate
1443
+ if (!boxPlannerGrid.getElementHasRightElement(curElement.getElementId())) {
1444
+ let opposideElement = boxPlannerGrid.getOppositeElement(curElement.getElementId());
1445
+ if (opposideElement) {
1446
+ if (this.getElementHasBottomPlate(opposideElement, optionHandler)) {
1447
+ //The opposide element has a ground plate
1448
+ this.setOptionValue(
1449
+ curElement.getElementId(),
1450
+ this.constructionRules.knotInfo.knotOPT_RightBottomBack,
1451
+ this.constructionRules.knotInfo.knotOPVs.knot3er_1GT,
1452
+ optionHandler,
1453
+ );
1454
+ } else {
1455
+ //The opposide element has no ground plate
1456
+ this.setOptionValue(
1457
+ curElement.getElementId(),
1458
+ this.constructionRules.knotInfo.knotOPT_RightBottomBack,
1459
+ this.constructionRules.knotInfo.knotOPVs.knot3er_0GT,
1460
+ optionHandler,
1461
+ );
1462
+ }
1463
+ }
1464
+ } else {
1465
+ //Element has neighbor element
1466
+ //Set the Glasteller count depending on the plates of the neighbors
1467
+ switch (this.getGroundPlatesNumOfRightNeighbors(curElement, boxPlannerGrid, optionHandler)) {
1468
+ case 0:
1469
+ this.setOptionValue(
1470
+ curElement.getElementId(),
1471
+ this.constructionRules.knotInfo.knotOPT_RightBottomBack,
1472
+ this.constructionRules.knotInfo.knotOPVs.knot4er_0GT,
1473
+ optionHandler,
1474
+ );
1475
+ break;
1476
+ case 1:
1477
+ this.setOptionValue(
1478
+ curElement.getElementId(),
1479
+ this.constructionRules.knotInfo.knotOPT_RightBottomBack,
1480
+ this.constructionRules.knotInfo.knotOPVs.knot4er_1GT,
1481
+ optionHandler,
1482
+ );
1483
+ break;
1484
+ case 2:
1485
+ this.setOptionValue(
1486
+ curElement.getElementId(),
1487
+ this.constructionRules.knotInfo.knotOPT_RightBottomBack,
1488
+ this.constructionRules.knotInfo.knotOPVs.knot4er_2GT,
1489
+ optionHandler,
1490
+ );
1491
+ break;
1492
+ case 3:
1493
+ this.setOptionValue(
1494
+ curElement.getElementId(),
1495
+ this.constructionRules.knotInfo.knotOPT_RightBottomBack,
1496
+ this.constructionRules.knotInfo.knotOPVs.knot4er_3GT,
1497
+ optionHandler,
1498
+ );
1499
+ break;
1500
+ case 4:
1501
+ this.setOptionValue(
1502
+ curElement.getElementId(),
1503
+ this.constructionRules.knotInfo.knotOPT_RightBottomBack,
1504
+ this.constructionRules.knotInfo.knotOPVs.knot4er_4GT,
1505
+ optionHandler,
1506
+ );
1507
+ break;
1508
+ }
1509
+ }
1510
1510
  }*/
1511
1511
  }
1512
1512
  if (this.getElementIsCornerElement(curElement, optionHandler)) {
@@ -1691,19 +1691,19 @@ var ConstructionRulesHandler = /*#__PURE__*/function () {
1691
1691
  _defineProperty__default["default"](this, "checkArticleHasOption", void 0);
1692
1692
  _defineProperty__default["default"](this, "updateCfgValuesByPlanner", void 0);
1693
1693
  // private repairPairs: () => void;
1694
- /**
1695
- * This object holds all the information for constructing the boxPlanner. If you place for example two elements one after another, so the left element has no right wall. However, the right element has a left wall.
1696
- * Futhermore, there are options, that are applied only to specific elements.
1694
+ /**
1695
+ * This object holds all the information for constructing the boxPlanner. If you place for example two elements one after another, so the left element has no right wall. However, the right element has a left wall.
1696
+ * Futhermore, there are options, that are applied only to specific elements.
1697
1697
  */
1698
1698
  _defineProperty__default["default"](this, "constructionRules", void 0);
1699
1699
  _defineProperty__default["default"](this, "constructionRulesLoaded", void 0);
1700
1700
  _defineProperty__default["default"](this, "hideOptionsForConstruction", void 0);
1701
1701
  //This saves an array of options per elementID that are hidden due to construction rules
1702
1702
  _defineProperty__default["default"](this, "partlistHelper", void 0);
1703
- /**
1704
- * This function looks what value the option has in the current OptionHandler
1705
- * @param elementId ElementId
1706
- * @param opt OptionKey
1703
+ /**
1704
+ * This function looks what value the option has in the current OptionHandler
1705
+ * @param elementId ElementId
1706
+ * @param opt OptionKey
1707
1707
  */
1708
1708
  _defineProperty__default["default"](this, "getOptionVal", function (elementId, opt, optionHandler) {
1709
1709
  if (optionHandler.has(elementId)) {
@@ -1715,12 +1715,12 @@ var ConstructionRulesHandler = /*#__PURE__*/function () {
1715
1715
  var opv = _this.getValueOfOptionOfArticle(elementId, opt);
1716
1716
  return opv != undefined ? opv : '';
1717
1717
  });
1718
- /**
1719
- * this fuction check is an element has an option and retuns a bool
1720
- * @param elementId ElementId
1721
- * @param opt OptionKey
1722
- * @param optionHandler
1723
- * @returns
1718
+ /**
1719
+ * this fuction check is an element has an option and retuns a bool
1720
+ * @param elementId ElementId
1721
+ * @param opt OptionKey
1722
+ * @param optionHandler
1723
+ * @returns
1724
1724
  */
1725
1725
  _defineProperty__default["default"](this, "hasOptionValue", function (elementId, opt, optionHandler) {
1726
1726
  if (optionHandler.has(elementId)) {
@@ -1731,8 +1731,8 @@ var ConstructionRulesHandler = /*#__PURE__*/function () {
1731
1731
  var opv = _this.getValueOfOptionOfArticle(elementId, opt);
1732
1732
  return !!opv;
1733
1733
  });
1734
- /**
1735
- * This function sets te OptionValue in the optionHandler and hideOptiosnForConstruction Information
1734
+ /**
1735
+ * This function sets te OptionValue in the optionHandler and hideOptiosnForConstruction Information
1736
1736
  */
1737
1737
  _defineProperty__default["default"](this, "setOptionValue", function (elementId, option, optionValue, optionHandler) {
1738
1738
  var _optionHandler$get;
@@ -1746,9 +1746,9 @@ var ConstructionRulesHandler = /*#__PURE__*/function () {
1746
1746
  }
1747
1747
  }
1748
1748
  });
1749
- /**
1750
- * This function returns true, if the element has a bottom Plate. Elements with bottom plate are e.g. Offenes Fach oder Schubladen.
1751
- * Elements without bottom plate are "Garderobe" or "Offenes Fach ohne Boden"
1749
+ /**
1750
+ * This function returns true, if the element has a bottom Plate. Elements with bottom plate are e.g. Offenes Fach oder Schubladen.
1751
+ * Elements without bottom plate are "Garderobe" or "Offenes Fach ohne Boden"
1752
1752
  */
1753
1753
  _defineProperty__default["default"](this, "getElementHasBottomPlate", function (curElement, optionHandler) {
1754
1754
  if (_this.constructionRules.knotInfo.elementsWithGroundPlate) {
@@ -1761,10 +1761,10 @@ var ConstructionRulesHandler = /*#__PURE__*/function () {
1761
1761
  }
1762
1762
  return false;
1763
1763
  });
1764
- /**
1765
- * This function returns true if the current element is a corner element
1766
- * @param curElement
1767
- * @param optionHandler
1764
+ /**
1765
+ * This function returns true if the current element is a corner element
1766
+ * @param curElement
1767
+ * @param optionHandler
1768
1768
  */
1769
1769
  _defineProperty__default["default"](this, "getElementIsCornerElement", function (curElement, optionHandler) {
1770
1770
  return _this.constructionRules.hasCORNER && _this.arrayContainsValue(_this.constructionRules.knotInfo.cornerElements.onOPVs, _this.getOptionVal(curElement.getElementId(), _this.constructionRules.knotInfo.cornerElements.onOPT, optionHandler));
@@ -1776,11 +1776,11 @@ var ConstructionRulesHandler = /*#__PURE__*/function () {
1776
1776
  if (_this.getOptionVal(curElement.getElementId(), 'OPTELEMENT', optionHandler) == 'OPVECK_I') return 'INSIDE';else if (_this.getOptionVal(curElement.getElementId(), 'OPTELEMENT', optionHandler) == 'OPVECK_A') return 'OUTSIDE';
1777
1777
  return 'NOCORNER';
1778
1778
  });
1779
- /**
1780
- * This function returns true, if the element has a top plate. It has a top plate if it has no element on the top or the element on the top has a ground plate.
1781
- * It has no top plate, if the element on top has no ground plate, like a "Garderobe"
1782
- * @param curElement
1783
- * @param optionHandler
1779
+ /**
1780
+ * This function returns true, if the element has a top plate. It has a top plate if it has no element on the top or the element on the top has a ground plate.
1781
+ * It has no top plate, if the element on top has no ground plate, like a "Garderobe"
1782
+ * @param curElement
1783
+ * @param optionHandler
1784
1784
  */
1785
1785
  _defineProperty__default["default"](this, "getElementHasTopPlate", function (curElement, boxPlannerGrid, optionHandler) {
1786
1786
  if (boxPlannerGrid.getElementHasTopElement(curElement.getElementId())) {
@@ -1796,11 +1796,11 @@ var ConstructionRulesHandler = /*#__PURE__*/function () {
1796
1796
  this.partlistHelper = new BoxPlannerPartlistHelper(this.getOptionVal, this.setOptionValue, this.getElementHasBottomPlate, this.getElementIsCornerElement, this.getCornerType, this.getElementHasTopPlate, this.getElementIsGarderobeElement);
1797
1797
  }
1798
1798
 
1799
- /**
1800
- * This function returns true if an array contains a specific value.
1801
- * E.G. All unvalid options are separated using ; . This function now returns true, if a specific option is inside
1802
- * @param rule
1803
- * @param opt
1799
+ /**
1800
+ * This function returns true if an array contains a specific value.
1801
+ * E.G. All unvalid options are separated using ; . This function now returns true, if a specific option is inside
1802
+ * @param rule
1803
+ * @param opt
1804
1804
  */
1805
1805
  return _createClass__default["default"](ConstructionRulesHandler, [{
1806
1806
  key: "arrayContainsValue",
@@ -1833,11 +1833,11 @@ var ConstructionRulesHandler = /*#__PURE__*/function () {
1833
1833
  }, {
1834
1834
  key: "setOptionDoShow",
1835
1835
  value:
1836
- /**
1837
- * This function sets a specific Option to be visible.
1838
- * @param elementId The elementID of the target element
1839
- * @param option The option that should be set to Visible
1840
- * @param optionHandler The optionHandler that saves all optionChanges in order to fit the boxplannerLogic
1836
+ /**
1837
+ * This function sets a specific Option to be visible.
1838
+ * @param elementId The elementID of the target element
1839
+ * @param option The option that should be set to Visible
1840
+ * @param optionHandler The optionHandler that saves all optionChanges in order to fit the boxplannerLogic
1841
1841
  */
1842
1842
  function setOptionDoShow(elementId, option, optionHandler) {
1843
1843
  //DivaUtils.LOG.log("Update Box Planner Logic. SetOptionDoShow: elementID: " + elementId + "; Option: " + option);
@@ -1863,11 +1863,11 @@ var ConstructionRulesHandler = /*#__PURE__*/function () {
1863
1863
  }
1864
1864
  }
1865
1865
  }
1866
- /**
1867
- * This function sets a specific Option to be hidden.
1868
- * @param elementId The elementID of the target element
1869
- * @param option The option that should be set to hidden
1870
- * @param optionHandler The optionHandler that saves all optionChanges in order to fit the boxplannerLogic
1866
+ /**
1867
+ * This function sets a specific Option to be hidden.
1868
+ * @param elementId The elementID of the target element
1869
+ * @param option The option that should be set to hidden
1870
+ * @param optionHandler The optionHandler that saves all optionChanges in order to fit the boxplannerLogic
1871
1871
  */
1872
1872
  }, {
1873
1873
  key: "setOptionDoHide",
@@ -2122,12 +2122,12 @@ var ConstructionRulesHandler = /*#__PURE__*/function () {
2122
2122
  return messageForView;
2123
2123
  }
2124
2124
 
2125
- /**
2126
- * Eg. height or width changed
2127
- * @param boxPlannerGrid
2128
- * @param changedOPTs
2129
- * @param onSelectionChangedElementId
2130
- * @param optionHandler
2125
+ /**
2126
+ * Eg. height or width changed
2127
+ * @param boxPlannerGrid
2128
+ * @param changedOPTs
2129
+ * @param onSelectionChangedElementId
2130
+ * @param optionHandler
2131
2131
  */
2132
2132
  }, {
2133
2133
  key: "doCorrectAffectedElementsByOption",
@@ -2192,9 +2192,9 @@ var ConstructionRulesHandler = /*#__PURE__*/function () {
2192
2192
  }
2193
2193
  }
2194
2194
 
2195
- /*
2196
- This function handles that only one Opt is visible. For Example if a Element Right is already shown, then the element right is hidden.
2197
- However, one of both is always visible.
2195
+ /*
2196
+ This function handles that only one Opt is visible. For Example if a Element Right is already shown, then the element right is hidden.
2197
+ However, one of both is always visible.
2198
2198
  */
2199
2199
  }, {
2200
2200
  key: "handleVisibility_SHOW_HIDE",
@@ -2211,9 +2211,9 @@ var ConstructionRulesHandler = /*#__PURE__*/function () {
2211
2211
  }
2212
2212
  }
2213
2213
 
2214
- /*
2215
- This function handles that only one Opt is visible when the options depend on a element on the front and backside.
2216
- This is only called once for the element on the backside
2214
+ /*
2215
+ This function handles that only one Opt is visible when the options depend on a element on the front and backside.
2216
+ This is only called once for the element on the backside
2217
2217
  */
2218
2218
  }, {
2219
2219
  key: "handleBacksideVisibility_SHOW_HIDE",
@@ -2235,11 +2235,11 @@ var ConstructionRulesHandler = /*#__PURE__*/function () {
2235
2235
  }
2236
2236
  }
2237
2237
 
2238
- /**
2239
- * This function forces both options to hide IF both options are visible. if only one Option is visible, nothing happens.
2240
- * @param {*} curArticle
2241
- * @param {*} neighborArticle
2242
- * @param {*} rule
2238
+ /**
2239
+ * This function forces both options to hide IF both options are visible. if only one Option is visible, nothing happens.
2240
+ * @param {*} curArticle
2241
+ * @param {*} neighborArticle
2242
+ * @param {*} rule
2243
2243
  */
2244
2244
  }, {
2245
2245
  key: "handleVisibiliy_HIDE_HIDE",
@@ -2356,10 +2356,10 @@ var ConstructionRulesHandler = /*#__PURE__*/function () {
2356
2356
  }
2357
2357
  }
2358
2358
 
2359
- /**
2360
- * This function corrects the back after everything is set (Default + force options)
2361
- * @param boxPlannerGrid
2362
- * @param curElement
2359
+ /**
2360
+ * This function corrects the back after everything is set (Default + force options)
2361
+ * @param boxPlannerGrid
2362
+ * @param curElement
2363
2363
  */
2364
2364
  }, {
2365
2365
  key: "correctBack",
@@ -2664,10 +2664,10 @@ var ConstructionRulesHandler = /*#__PURE__*/function () {
2664
2664
  var neighbourElement = boxPlannerGrid.getNeighborElement(curElemPos.col, curElemPos.row, tempComplementDir, curElemPos.backside);
2665
2665
  if (neighbourElement != undefined) {
2666
2666
  //Check complementary option
2667
- /*
2668
- if (forceOptValue == "dShow") {
2669
- //beim aktuellen artikel MUSS es gesetzt werden
2670
- this.setOptionDoShow(curElementId, optName, optionHandler);
2667
+ /*
2668
+ if (forceOptValue == "dShow") {
2669
+ //beim aktuellen artikel MUSS es gesetzt werden
2670
+ this.setOptionDoShow(curElementId, optName, optionHandler);
2671
2671
  }*/
2672
2672
  var rulesForNeighborArticle = this.getCurOptionBasedConstructionRules(neighbourElement.ElementId, optionHandler);
2673
2673
  var complementOptName = optInfo.complementOPT;
@@ -2782,17 +2782,17 @@ var ConstructionRulesHandler = /*#__PURE__*/function () {
2782
2782
  }
2783
2783
  }
2784
2784
 
2785
- /*
2786
- "_comment_correctRetailArticleNumberByRule": "Specifies that SAP numbers have to be switched when all Elements (range=global) satisfy the rule",
2787
- "range": "global",
2788
- "rule": "OPTFARBE_RAHMEN=OPVCHROM&OPTFARBE=OPVWEISS",
2789
- "retailArticleRules": [
2790
- {
2791
- "origRetailArticleNr": 91194,
2792
- "origPrefix": "SAP",
2793
- "newRetailArticleNr": 90771,
2794
- "newPrefix": "SAP"
2795
- },
2785
+ /*
2786
+ "_comment_correctRetailArticleNumberByRule": "Specifies that SAP numbers have to be switched when all Elements (range=global) satisfy the rule",
2787
+ "range": "global",
2788
+ "rule": "OPTFARBE_RAHMEN=OPVCHROM&OPTFARBE=OPVWEISS",
2789
+ "retailArticleRules": [
2790
+ {
2791
+ "origRetailArticleNr": 91194,
2792
+ "origPrefix": "SAP",
2793
+ "newRetailArticleNr": 90771,
2794
+ "newPrefix": "SAP"
2795
+ },
2796
2796
  */
2797
2797
  }, {
2798
2798
  key: "correctNeighborCustomOLTs",
@@ -2856,14 +2856,15 @@ var ConstructionRulesHandler = /*#__PURE__*/function () {
2856
2856
 
2857
2857
  //Die gleiche Option kann sowohl nach rechts als auch nach oben gesetzt werden (Rahmen rechts oben). Wenn das der Fall ist, darf wenn es rechts keinen Nachbarn gibt nicht mit doShow überschrieben werden, wenn es vorher bei TOP versteckt wurde
2858
2858
  //Deshalb darf es nicht angeschalten werden, wenn es in der gleichen Runde ausgeschalten wurde
2859
- /*
2860
- Diese Funktion korrigiert alle sogenannten Construction Options. Beim Planer dürfen zwei nebeneinanderliegenden Elemente nicht jeweils eine Wand rechts und das daneben eine Wand links haben.
2861
- Dann würden nämlich zwei Wände nebeneinander liegen.
2862
- Des Weiteren kümmert sich die Funktion darum, dass Füße nur auf der untersten ebene zu sehen sind.
2863
- Generell wird hier das constuctionRules Objekt evaluiert und ausgewertet.
2864
- Das Ergebnis wird direkt in den Optionen der Artikel abgepseichert.
2865
- onSelectionChangedArticle: Das ist der Articel der ausgewählt war, als die Option geändert wurde
2866
- */
2859
+ /*
2860
+ Diese Funktion korrigiert alle sogenannten Construction Options. Beim Planer dürfen zwei nebeneinanderliegenden Elemente nicht jeweils eine Wand rechts und das daneben eine Wand links haben.
2861
+ Dann würden nämlich zwei Wände nebeneinander liegen.
2862
+ Des Weiteren kümmert sich die Funktion darum, dass Füße nur auf der untersten ebene zu sehen sind.
2863
+ Generell wird hier das constuctionRules Objekt evaluiert und ausgewertet.
2864
+ Das Ergebnis wird direkt in den Optionen der Artikel abgepseichert.
2865
+ onSelectionChangedArticle: Das ist der Articel der ausgewählt war, als die Option geändert wurde
2866
+
2867
+ */
2867
2868
  }, {
2868
2869
  key: "updateOptionLogicBoxPlanner",
2869
2870
  value: function () {
@@ -2955,9 +2956,9 @@ var ConstructionRulesHandler = /*#__PURE__*/function () {
2955
2956
  }
2956
2957
  return updateOptionLogicBoxPlanner;
2957
2958
  }()
2958
- /**
2959
- * This function is called when an element is deleted. It deletes the saved constcutionInformation
2960
- * @param elementId
2959
+ /**
2960
+ * This function is called when an element is deleted. It deletes the saved constcutionInformation
2961
+ * @param elementId
2961
2962
  */
2962
2963
  }, {
2963
2964
  key: "onElemDeleted",
@@ -2967,10 +2968,10 @@ var ConstructionRulesHandler = /*#__PURE__*/function () {
2967
2968
  }
2968
2969
  }
2969
2970
 
2970
- /**
2971
- * This function is called when an element is copied. The hideOptionsForConstruction information is copied from one element to the new one.
2972
- * @param origElementId
2973
- * @param newElementId
2971
+ /**
2972
+ * This function is called when an element is copied. The hideOptionsForConstruction information is copied from one element to the new one.
2973
+ * @param origElementId
2974
+ * @param newElementId
2974
2975
  */
2975
2976
  }, {
2976
2977
  key: "onElementCopy",
@@ -3008,8 +3009,8 @@ var BoxPlannerGrid = /*#__PURE__*/function () {
3008
3009
  this.getValueOfOptionOfArticle = getValueOfOptionOfArticle;
3009
3010
  }
3010
3011
 
3011
- /*
3012
- * Gibt die Breite einer Spalte im Grid zurück. Die Spalte ist immer so breit wie das breiteste Element darin
3012
+ /*
3013
+ * Gibt die Breite einer Spalte im Grid zurück. Die Spalte ist immer so breit wie das breiteste Element darin
3013
3014
  */
3014
3015
  return _createClass__default["default"](BoxPlannerGrid, [{
3015
3016
  key: "getGridColumnWidth",
@@ -3035,8 +3036,8 @@ var BoxPlannerGrid = /*#__PURE__*/function () {
3035
3036
  }
3036
3037
  return height;
3037
3038
  }
3038
- /*
3039
- Deletes the Element on the specified grid Position. If there is no other element in the column, the whole column is deleted.
3039
+ /*
3040
+ Deletes the Element on the specified grid Position. If there is no other element in the column, the whole column is deleted.
3040
3041
  */
3041
3042
  }, {
3042
3043
  key: "deleteGridPos",
@@ -3079,17 +3080,17 @@ var BoxPlannerGrid = /*#__PURE__*/function () {
3079
3080
  }
3080
3081
  }
3081
3082
 
3082
- /*
3083
- private correctWorldPosInGrid(plannerElement: PlannerElementData) {
3084
- //Braucht es das überhaupt?
3085
- }
3083
+ /*
3084
+ private correctWorldPosInGrid(plannerElement: PlannerElementData) {
3085
+ //Braucht es das überhaupt?
3086
+ }
3086
3087
  */
3087
3088
 
3088
- /**
3089
- * This function returns the ElementID of the element at a specific GridPosition.
3090
- * If there is no element at this position, the function returns undefined
3091
- * @param curXPos
3092
- * @param curYPos
3089
+ /**
3090
+ * This function returns the ElementID of the element at a specific GridPosition.
3091
+ * If there is no element at this position, the function returns undefined
3092
+ * @param curXPos
3093
+ * @param curYPos
3093
3094
  */
3094
3095
  }, {
3095
3096
  key: "getPlannerElementAtGridPos",
@@ -3101,10 +3102,10 @@ var BoxPlannerGrid = /*#__PURE__*/function () {
3101
3102
  return undefined;
3102
3103
  }
3103
3104
 
3104
- /**
3105
- * This function returns the index of an element by elementId in the grid.
3106
- * It returns the column and row position in the grid and if it is in the front or backgrid
3107
- * @param elementId
3105
+ /**
3106
+ * This function returns the index of an element by elementId in the grid.
3107
+ * It returns the column and row position in the grid and if it is in the front or backgrid
3108
+ * @param elementId
3108
3109
  */
3109
3110
  }, {
3110
3111
  key: "getIndexInGridByElementId",
@@ -3133,8 +3134,8 @@ var BoxPlannerGrid = /*#__PURE__*/function () {
3133
3134
  backside: false
3134
3135
  };
3135
3136
  }
3136
- /**
3137
- * This function returns all elementIds that are inside the grid
3137
+ /**
3138
+ * This function returns all elementIds that are inside the grid
3138
3139
  */
3139
3140
  }, {
3140
3141
  key: "getAllElementIdsInGrid",
@@ -3174,8 +3175,8 @@ var BoxPlannerGrid = /*#__PURE__*/function () {
3174
3175
  }
3175
3176
  return allElements;
3176
3177
  }
3177
- /**
3178
- * This function returns all elements In grid - from frontside and from backside
3178
+ /**
3179
+ * This function returns all elements In grid - from frontside and from backside
3179
3180
  */
3180
3181
  }, {
3181
3182
  key: "getAllElementsInGrid",
@@ -3201,9 +3202,9 @@ var BoxPlannerGrid = /*#__PURE__*/function () {
3201
3202
  return curElementGrid[pos.col][pos.row];
3202
3203
  }
3203
3204
 
3204
- /**
3205
- * Returns true if the element by ElementId is in the bottomLeft corner of the grid
3206
- * @param elementId
3205
+ /**
3206
+ * Returns true if the element by ElementId is in the bottomLeft corner of the grid
3207
+ * @param elementId
3207
3208
  */
3208
3209
  }, {
3209
3210
  key: "getElementIsFirstInGrid",
@@ -3212,9 +3213,9 @@ var BoxPlannerGrid = /*#__PURE__*/function () {
3212
3213
  return pos.col == 0 && pos.row == 0 && !pos.backside;
3213
3214
  }
3214
3215
 
3215
- /**
3216
- * Returns true if the element by ElementId is in the bottomLeft corner of the grid
3217
- * @param elementId
3216
+ /**
3217
+ * Returns true if the element by ElementId is in the bottomLeft corner of the grid
3218
+ * @param elementId
3218
3219
  */
3219
3220
  }, {
3220
3221
  key: "getElementIsInLastCol",
@@ -3224,9 +3225,9 @@ var BoxPlannerGrid = /*#__PURE__*/function () {
3224
3225
  return pos.col + 1 == curElementGrid.length;
3225
3226
  }
3226
3227
 
3227
- /**
3228
- * returns true if the element has another element on top
3229
- * @param elementId
3228
+ /**
3229
+ * returns true if the element has another element on top
3230
+ * @param elementId
3230
3231
  */
3231
3232
  }, {
3232
3233
  key: "getElementHasTopElement",
@@ -3236,9 +3237,9 @@ var BoxPlannerGrid = /*#__PURE__*/function () {
3236
3237
  if (curElementGrid[pos.col].length > pos.row + 1) return true;
3237
3238
  return false;
3238
3239
  }
3239
- /**
3240
- * returns the element on the top of the current element
3241
- * @param elementId
3240
+ /**
3241
+ * returns the element on the top of the current element
3242
+ * @param elementId
3242
3243
  */
3243
3244
  }, {
3244
3245
  key: "getTopElement",
@@ -3249,9 +3250,9 @@ var BoxPlannerGrid = /*#__PURE__*/function () {
3249
3250
  return undefined;
3250
3251
  }
3251
3252
 
3252
- /**
3253
- * returns the element on the top right of the current element
3254
- * @param elementId
3253
+ /**
3254
+ * returns the element on the top right of the current element
3255
+ * @param elementId
3255
3256
  */
3256
3257
  }, {
3257
3258
  key: "getTopRightElement",
@@ -3262,9 +3263,9 @@ var BoxPlannerGrid = /*#__PURE__*/function () {
3262
3263
  return undefined;
3263
3264
  }
3264
3265
 
3265
- /**
3266
- * returns the element on the top left of the current element
3267
- * @param elementId
3266
+ /**
3267
+ * returns the element on the top left of the current element
3268
+ * @param elementId
3268
3269
  */
3269
3270
  }, {
3270
3271
  key: "getTopLeftElement",
@@ -3274,9 +3275,9 @@ var BoxPlannerGrid = /*#__PURE__*/function () {
3274
3275
  if (pos.col > 0 && curElementGrid[pos.col - 1][pos.row - 1] != undefined) return curElementGrid[pos.col - 1][pos.row - 1];
3275
3276
  return undefined;
3276
3277
  }
3277
- /**
3278
- * returns true if the element has another element on the bottom
3279
- * @param elementId
3278
+ /**
3279
+ * returns true if the element has another element on the bottom
3280
+ * @param elementId
3280
3281
  */
3281
3282
  }, {
3282
3283
  key: "getElementHasBottomElement",
@@ -3285,9 +3286,9 @@ var BoxPlannerGrid = /*#__PURE__*/function () {
3285
3286
  if (pos.row - 1 >= 0) return true;
3286
3287
  return false;
3287
3288
  }
3288
- /**
3289
- * returns the element on the bottom of the current element
3290
- * @param elementId
3289
+ /**
3290
+ * returns the element on the bottom of the current element
3291
+ * @param elementId
3291
3292
  */
3292
3293
  }, {
3293
3294
  key: "getBottomElement",
@@ -3297,9 +3298,9 @@ var BoxPlannerGrid = /*#__PURE__*/function () {
3297
3298
  if (pos.row - 1 >= 0) return curElementGrid[pos.col][pos.row - 1];
3298
3299
  return undefined;
3299
3300
  }
3300
- /**
3301
- * returns true if the element has another element on its right side
3302
- * @param elementId
3301
+ /**
3302
+ * returns true if the element has another element on its right side
3303
+ * @param elementId
3303
3304
  */
3304
3305
  }, {
3305
3306
  key: "getElementHasRightElement",
@@ -3322,9 +3323,9 @@ var BoxPlannerGrid = /*#__PURE__*/function () {
3322
3323
  return undefined;
3323
3324
  }
3324
3325
 
3325
- /**
3326
- * returns true if the element has another element on its left side
3327
- * @param elementId
3326
+ /**
3327
+ * returns true if the element has another element on its left side
3328
+ * @param elementId
3328
3329
  */
3329
3330
  }, {
3330
3331
  key: "getElementHasLeftElement",
@@ -3340,9 +3341,9 @@ var BoxPlannerGrid = /*#__PURE__*/function () {
3340
3341
  if (pos.col > 0 && this.getPlannerElementAtGridPos(pos.col - 1, pos.row, pos.backside) != undefined) return this.getPlannerElementAtGridPos(pos.col - 1, pos.row, pos.backside);
3341
3342
  return undefined;
3342
3343
  }
3343
- /*
3344
- returns all Elements in the column.
3345
- index: index of the column in the grid
3344
+ /*
3345
+ returns all Elements in the column.
3346
+ index: index of the column in the grid
3346
3347
  */
3347
3348
  }, {
3348
3349
  key: "getAllElementsInColumn",
@@ -3356,8 +3357,8 @@ var BoxPlannerGrid = /*#__PURE__*/function () {
3356
3357
  return curElementGrid.length > index ? result : undefined;
3357
3358
  }
3358
3359
 
3359
- /**
3360
- * This function returns the count of columns in the grid
3360
+ /**
3361
+ * This function returns the count of columns in the grid
3361
3362
  */
3362
3363
  }, {
3363
3364
  key: "getColumnCount",
@@ -3365,9 +3366,9 @@ var BoxPlannerGrid = /*#__PURE__*/function () {
3365
3366
  return this.plannedElementGrid.length;
3366
3367
  }
3367
3368
 
3368
- /**
3369
- * This function returns the count of rows in a columns
3370
- * @param colIndex
3369
+ /**
3370
+ * This function returns the count of rows in a columns
3371
+ * @param colIndex
3371
3372
  */
3372
3373
  }, {
3373
3374
  key: "getRowCount",
@@ -3375,9 +3376,9 @@ var BoxPlannerGrid = /*#__PURE__*/function () {
3375
3376
  return this.plannedElementGrid[colIndex].length;
3376
3377
  }
3377
3378
 
3378
- /*
3379
- returns all Elements in the row of the grid.
3380
- index: index of the row in the grid
3379
+ /*
3380
+ returns all Elements in the row of the grid.
3381
+ index: index of the row in the grid
3381
3382
  */
3382
3383
  }, {
3383
3384
  key: "getAllElementsInRow",
@@ -3390,8 +3391,8 @@ var BoxPlannerGrid = /*#__PURE__*/function () {
3390
3391
  return allElements;
3391
3392
  }
3392
3393
 
3393
- /**
3394
- * This function returns the size of the highes row element over all columns
3394
+ /**
3395
+ * This function returns the size of the highes row element over all columns
3395
3396
  */
3396
3397
  }, {
3397
3398
  key: "getSizeOfHighesRow",
@@ -3404,11 +3405,11 @@ var BoxPlannerGrid = /*#__PURE__*/function () {
3404
3405
  return highestRow;
3405
3406
  }
3406
3407
 
3407
- /**
3408
- * This function returns the neighbor element in the grid
3409
- * @param curXPos
3410
- * @param curYPos
3411
- * @param dir
3408
+ /**
3409
+ * This function returns the neighbor element in the grid
3410
+ * @param curXPos
3411
+ * @param curYPos
3412
+ * @param dir
3412
3413
  */
3413
3414
  }, {
3414
3415
  key: "getNeighborElement",
@@ -3466,9 +3467,9 @@ var BoxPlannerGrid = /*#__PURE__*/function () {
3466
3467
  return oppositeElements;
3467
3468
  }
3468
3469
 
3469
- /**
3470
- * this function returns the size Information of the set.
3471
- * Because of the fact that the backside is always opposite of the front side - only the front side is used for calculation
3470
+ /**
3471
+ * this function returns the size Information of the set.
3472
+ * Because of the fact that the backside is always opposite of the front side - only the front side is used for calculation
3472
3473
  */
3473
3474
  }, {
3474
3475
  key: "getSizeOfWholeSet",
@@ -3495,8 +3496,8 @@ var BoxPlannerGrid = /*#__PURE__*/function () {
3495
3496
  return new index.Vector3(width, height, depth);
3496
3497
  }
3497
3498
 
3498
- /**
3499
- * Returns all Elements that are under the specified element
3499
+ /**
3500
+ * Returns all Elements that are under the specified element
3500
3501
  */
3501
3502
  }, {
3502
3503
  key: "getAllElementsDown",
@@ -3622,12 +3623,12 @@ var BoxPlannerGrid = /*#__PURE__*/function () {
3622
3623
  }
3623
3624
  }
3624
3625
 
3625
- /**
3626
- * This function deletes an Element from the grid.
3627
- * If backsideModule is active, than the oppsite Element is deleted as well
3628
- * If the boxPlanner_backside switch deletion type is set, do not delete the opposite element
3629
- * @param elementId
3630
- * @returns all elements that are deleted - it can happen that multiple elements get deleted
3626
+ /**
3627
+ * This function deletes an Element from the grid.
3628
+ * If backsideModule is active, than the oppsite Element is deleted as well
3629
+ * If the boxPlanner_backside switch deletion type is set, do not delete the opposite element
3630
+ * @param elementId
3631
+ * @returns all elements that are deleted - it can happen that multiple elements get deleted
3631
3632
  */
3632
3633
  }, {
3633
3634
  key: "deleteElement",
@@ -3651,9 +3652,9 @@ var BoxPlannerGrid = /*#__PURE__*/function () {
3651
3652
  return result;
3652
3653
  }
3653
3654
 
3654
- /**
3655
- * This function updates the world position of all Elements in the grid.
3656
- * First the world position of the front grid is computed. If the backside is active, it also computes the posNr of the elements on the backside.
3655
+ /**
3656
+ * This function updates the world position of all Elements in the grid.
3657
+ * First the world position of the front grid is computed. If the backside is active, it also computes the posNr of the elements on the backside.
3657
3658
  */
3658
3659
  }, {
3659
3660
  key: "updateWorldPosOfElements",
@@ -3711,9 +3712,9 @@ var BoxPlannerGrid = /*#__PURE__*/function () {
3711
3712
  }
3712
3713
  }
3713
3714
 
3714
- /**
3715
- * This function destroys the box Planner and its grid. It also destroys all plannerElements inside.
3716
- * If the backside Module is active, also the backside module has to be updated
3715
+ /**
3716
+ * This function destroys the box Planner and its grid. It also destroys all plannerElements inside.
3717
+ * If the backside Module is active, also the backside module has to be updated
3717
3718
  */
3718
3719
  }, {
3719
3720
  key: "destroyBoxPlannerGrid",
@@ -3738,8 +3739,8 @@ var BoxPlannerGrid = /*#__PURE__*/function () {
3738
3739
  this.backModulPlannedElementGrid = [];
3739
3740
  }
3740
3741
  }
3741
- /**
3742
-
3742
+ /**
3743
+
3743
3744
  */
3744
3745
  }, {
3745
3746
  key: "getAllElementsInBacksideModuleGrid",
@@ -3753,8 +3754,8 @@ var BoxPlannerGrid = /*#__PURE__*/function () {
3753
3754
  return elementsInGrid;
3754
3755
  }
3755
3756
 
3756
- /**
3757
- * Destroys the backside module Grid and returns all Element ids inside the backside grid
3757
+ /**
3758
+ * Destroys the backside module Grid and returns all Element ids inside the backside grid
3758
3759
  */
3759
3760
  }, {
3760
3761
  key: "destroyBacksideModuleGrid",
@@ -4014,10 +4015,10 @@ var DivaBoxPlanner = /*#__PURE__*/function () {
4014
4015
  return saveSet;
4015
4016
  }
4016
4017
 
4017
- /**
4018
- * Add a planner Element (CoPY?)
4019
- * @param basketID
4020
- * @param params
4018
+ /**
4019
+ * Add a planner Element (CoPY?)
4020
+ * @param basketID
4021
+ * @param params
4021
4022
  */
4022
4023
  }, {
4023
4024
  key: "addPlannerElement",
@@ -4082,10 +4083,10 @@ var DivaBoxPlanner = /*#__PURE__*/function () {
4082
4083
  }
4083
4084
  return extendPlanner;
4084
4085
  }()
4085
- /**
4086
- * Handles copyying the planner Element. it can happen that also other planner elements are influenced
4087
- * @param articleCopyRelation Holds the relation - which element with elementID is copyed and has a new Article. ElementToCopyID -> BasketID of new Article
4088
- * @param params
4086
+ /**
4087
+ * Handles copyying the planner Element. it can happen that also other planner elements are influenced
4088
+ * @param articleCopyRelation Holds the relation - which element with elementID is copyed and has a new Article. ElementToCopyID -> BasketID of new Article
4089
+ * @param params
4089
4090
  */
4090
4091
  }, {
4091
4092
  key: "copyPlannerElement",
@@ -4175,13 +4176,13 @@ var DivaBoxPlanner = /*#__PURE__*/function () {
4175
4176
  value: function initIDM3DMeta(IDM3DCatCodex) {
4176
4177
  LOG.debug('No IDM3D Planner for BoxPlanner');
4177
4178
  }
4178
- /**
4179
- * This function returns all elements that are influenced by copying them.
4180
- * In the box Planner all elements under the Element to copy are copied as well
4181
- * If the boxPlanner has a backside element, it returns also the elements on the opposide. Depending if current element is on the front or back.
4182
- * @param elementId
4183
- * @param params
4184
- * @returns the list of plannerElements that have to be copied .
4179
+ /**
4180
+ * This function returns all elements that are influenced by copying them.
4181
+ * In the box Planner all elements under the Element to copy are copied as well
4182
+ * If the boxPlanner has a backside element, it returns also the elements on the opposide. Depending if current element is on the front or back.
4183
+ * @param elementId
4184
+ * @param params
4185
+ * @returns the list of plannerElements that have to be copied .
4185
4186
  */
4186
4187
  }, {
4187
4188
  key: "getPlannerElementsInfluencedByCopy",
@@ -4216,11 +4217,11 @@ var DivaBoxPlanner = /*#__PURE__*/function () {
4216
4217
  return allElementsToCopy;
4217
4218
  }
4218
4219
 
4219
- /**
4220
- * Delete Box Planner element
4221
- * If the box planner has an active backside, then it also deletes the opposite element
4222
- * @param elementId ElementID of the element that should be deleted.
4223
- * @returns elementId of the next to select element
4220
+ /**
4221
+ * Delete Box Planner element
4222
+ * If the box planner has an active backside, then it also deletes the opposite element
4223
+ * @param elementId ElementID of the element that should be deleted.
4224
+ * @returns elementId of the next to select element
4224
4225
  */
4225
4226
  }, {
4226
4227
  key: "deletePlannerElement",
@@ -4295,8 +4296,8 @@ var DivaBoxPlanner = /*#__PURE__*/function () {
4295
4296
  }
4296
4297
  return deletePlannerElement;
4297
4298
  }()
4298
- /**
4299
- * Get all Planner Elements used for View
4299
+ /**
4300
+ * Get all Planner Elements used for View
4300
4301
  */
4301
4302
  )
4302
4303
  }, {
@@ -4335,8 +4336,8 @@ var DivaBoxPlanner = /*#__PURE__*/function () {
4335
4336
  value: function getDockedGroups() {
4336
4337
  return [this.boxPlannerGrid.getAllElementIdsInGrid()];
4337
4338
  }
4338
- /**
4339
- * Get Bounding Box of 2D Planning
4339
+ /**
4340
+ * Get Bounding Box of 2D Planning
4340
4341
  */
4341
4342
  }, {
4342
4343
  key: "getBoundingBox",
@@ -4344,15 +4345,15 @@ var DivaBoxPlanner = /*#__PURE__*/function () {
4344
4345
  LOG.warn('BoxPlanner - get2DViewPlannerBoundingBox not implemented yet', 'WC_0012');
4345
4346
  return new index.BoundingBox();
4346
4347
  }
4347
- /**
4348
- * This function is called every time the transformation of a planner Element is changed in the view. For example when the user moves the 2D Shape around.
4349
- * When it is the first action, all AVL and AVR docking Points are removed. When it is the last action "END" then the planner is updated an dockable docking points are searched.
4350
- *
4351
- * @param elementId
4352
- * @param deltaMove
4353
- * @param deltaAngleDeg
4354
- * @param transState
4355
- * @param autoDockingDistance //Gibt an in welchem Radius automatisch gedockt werden muss
4348
+ /**
4349
+ * This function is called every time the transformation of a planner Element is changed in the view. For example when the user moves the 2D Shape around.
4350
+ * When it is the first action, all AVL and AVR docking Points are removed. When it is the last action "END" then the planner is updated an dockable docking points are searched.
4351
+ *
4352
+ * @param elementId
4353
+ * @param deltaMove
4354
+ * @param deltaAngleDeg
4355
+ * @param transState
4356
+ * @param autoDockingDistance //Gibt an in welchem Radius automatisch gedockt werden muss
4356
4357
  */
4357
4358
  }, {
4358
4359
  key: "updatePlannerTrans",
@@ -4363,9 +4364,9 @@ var DivaBoxPlanner = /*#__PURE__*/function () {
4363
4364
  return false;
4364
4365
  }
4365
4366
 
4366
- /**
4367
- * This function updates the Planner. It is called after a configuration changed.
4368
- * @returns it returns all elementIds that should be deleted
4367
+ /**
4368
+ * This function updates the Planner. It is called after a configuration changed.
4369
+ * @returns it returns all elementIds that should be deleted
4369
4370
  */
4370
4371
  }, {
4371
4372
  key: "updatePlanner",
@@ -4521,8 +4522,8 @@ var DivaBoxPlanner = /*#__PURE__*/function () {
4521
4522
  }
4522
4523
  return updatePlanner;
4523
4524
  }()
4524
- /*
4525
- This function returns all informations that are needed to visualize the set in 3D
4525
+ /*
4526
+ This function returns all informations that are needed to visualize the set in 3D
4526
4527
  */
4527
4528
  )
4528
4529
  }, {
@@ -4577,8 +4578,8 @@ var DivaBoxPlanner = /*#__PURE__*/function () {
4577
4578
  return this.plannerID;
4578
4579
  }
4579
4580
 
4580
- /**
4581
- * This function returns the position information for each element. The infomration is returned as an object with elementId: posNr.
4581
+ /**
4582
+ * This function returns the position information for each element. The infomration is returned as an object with elementId: posNr.
4582
4583
  */
4583
4584
  }, {
4584
4585
  key: "getElementPosInfo",
@@ -4608,8 +4609,8 @@ var DivaBoxPlanner = /*#__PURE__*/function () {
4608
4609
  // this.plannerBoundingBox.calcPlannerBoundingBox(this.getAllPlannerElements());
4609
4610
  }
4610
4611
 
4611
- /**
4612
- * The planning is completed if at least one element is planned
4612
+ /**
4613
+ * The planning is completed if at least one element is planned
4613
4614
  */
4614
4615
  }, {
4615
4616
  key: "getPlanningIsComplete",