@crystaldesign/web-planner-logic 24.12.1 → 24.12.2

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-303a552b.js → DivaBoxPlanner-1c78ef85.js} +317 -318
  2. package/build/cjs/{DivaStandardPlanner-2f994125.js → DivaStandardPlanner-eb45e763.js} +82 -82
  3. package/build/cjs/{DoorPlanner-1faa1593.js → DoorPlanner-3a199423.js} +1 -1
  4. package/build/cjs/{Host3DSignalR-a9bc4c70.js → Host3DSignalR-c52991a0.js} +43 -43
  5. package/build/cjs/{LiviqueWWSHandler-e9462b37.js → LiviqueWWSHandler-6607e52f.js} +1 -1
  6. package/build/cjs/{PfisterWWSHandler-65b5992f.js → PfisterWWSHandler-2ea37e1d.js} +6 -6
  7. package/build/cjs/{PlannerHandler2D-9ce74b8c.js → PlannerHandler2D-de64a752.js} +189 -189
  8. package/build/cjs/{SeriousBasketHandler-c0d4f0f5.js → SeriousBasketHandler-03648231.js} +1 -1
  9. package/build/cjs/{ShelfPlanner-642594d4.js → ShelfPlanner-4402bf3e.js} +86 -86
  10. package/build/cjs/{StandardWWSHandler-c7833d13.js → StandardWWSHandler-62bc3cc6.js} +1 -1
  11. package/build/cjs/{index-530d9304.js → index-e86ab943.js} +632 -632
  12. package/build/cjs/index.js +1 -1
  13. package/build/esm/{DivaBoxPlanner-0748b14a.js → DivaBoxPlanner-655a32f3.js} +317 -318
  14. package/build/esm/{DivaStandardPlanner-2c8858b2.js → DivaStandardPlanner-e1faf2c9.js} +82 -82
  15. package/build/esm/{DoorPlanner-c640fd24.js → DoorPlanner-cfebaef8.js} +1 -1
  16. package/build/esm/{Host3DSignalR-aa3a4b4d.js → Host3DSignalR-5d924d77.js} +43 -43
  17. package/build/esm/{LiviqueWWSHandler-8d2570dd.js → LiviqueWWSHandler-62ff852e.js} +1 -1
  18. package/build/esm/{PfisterWWSHandler-c046e3ee.js → PfisterWWSHandler-1cf1fce6.js} +6 -6
  19. package/build/esm/{PlannerHandler2D-844fc811.js → PlannerHandler2D-ad96ee8d.js} +189 -189
  20. package/build/esm/{SeriousBasketHandler-b8e1b0da.js → SeriousBasketHandler-9e031da4.js} +1 -1
  21. package/build/esm/{ShelfPlanner-f3218c50.js → ShelfPlanner-4f446e61.js} +86 -86
  22. package/build/esm/{StandardWWSHandler-a3c5246b.js → StandardWWSHandler-e72ecb08.js} +1 -1
  23. package/build/esm/{index-3870ea62.js → index-84339e2f.js} +632 -632
  24. package/build/esm/index.js +1 -1
  25. package/package.json +2 -2
@@ -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-3870ea62.js';
4
+ import { s as summaryHandlerInstance } from './index-84339e2f.js';
5
5
  import DivaUtils from '@crystaldesign/diva-utils';
6
6
  import '@babel/runtime/helpers/asyncToGenerator';
7
7
  import '@babel/runtime/regenerator';
@@ -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, a as setHandlerInstance, b as articleHandlerInstance } from './index-3870ea62.js';
7
+ import { G as Grid, a as setHandlerInstance, b as articleHandlerInstance } from './index-84339e2f.js';
8
8
  import DivaUtils from '@crystaldesign/diva-utils';
9
9
  import '@babel/runtime/helpers/objectWithoutProperties';
10
10
  import '@babel/runtime/helpers/slicedToArray';
@@ -62,8 +62,8 @@ var ShelfPlanner = /*#__PURE__*/function () {
62
62
  }
63
63
  }
64
64
 
65
- /**
66
- * init dictionary of all the accessoires that which can be free in theory
65
+ /**
66
+ * init dictionary of all the accessoires that which can be free in theory
67
67
  */
68
68
  return _createClass(ShelfPlanner, [{
69
69
  key: "initFreeArticles",
@@ -86,10 +86,10 @@ var ShelfPlanner = /*#__PURE__*/function () {
86
86
  get: function get() {
87
87
  return this.isVisible;
88
88
  }
89
- /**
90
- * if the shelfplanner step was not visible but is visible again the initAcc get initialized but only if !this.article.shelfPlanData -> the shelfplanner get initialized from basket
91
- * if the shelfplanner step is no more visible delete all the accessoires
92
- * @param isVisible new value
89
+ /**
90
+ * if the shelfplanner step was not visible but is visible again the initAcc get initialized but only if !this.article.shelfPlanData -> the shelfplanner get initialized from basket
91
+ * if the shelfplanner step is no more visible delete all the accessoires
92
+ * @param isVisible new value
93
93
  */
94
94
  }, {
95
95
  key: "setIsVisible",
@@ -135,8 +135,8 @@ var ShelfPlanner = /*#__PURE__*/function () {
135
135
  }
136
136
  return setIsVisible;
137
137
  }()
138
- /**
139
- * if the config is changed and the grid gets new height / accessories a new grid gets created
138
+ /**
139
+ * if the config is changed and the grid gets new height / accessories a new grid gets created
140
140
  */
141
141
  )
142
142
  }, {
@@ -218,9 +218,9 @@ var ShelfPlanner = /*#__PURE__*/function () {
218
218
  this.grids[i] = new Grid(i, this.article, this.data);
219
219
  }
220
220
 
221
- /**
222
- * runs through the InitAccArr and initialized all the accessoires eg: Kleiderstange gets placed
223
- * if the replaceFromParent == true it removed the same article from the parent shelfplanner if one is found eg: Kleiderstange gets removed from schrank when the T-Sück gets initialized
221
+ /**
222
+ * runs through the InitAccArr and initialized all the accessoires eg: Kleiderstange gets placed
223
+ * if the replaceFromParent == true it removed the same article from the parent shelfplanner if one is found eg: Kleiderstange gets removed from schrank when the T-Sück gets initialized
224
224
  */
225
225
  }, {
226
226
  key: "initAccList",
@@ -318,11 +318,11 @@ var ShelfPlanner = /*#__PURE__*/function () {
318
318
  }
319
319
  return initAccList;
320
320
  }()
321
- /**
322
- * finds all the accessoires of one grid by articleCodex
323
- * @param shelfId
324
- * @param articleCodex
325
- * @returns
321
+ /**
322
+ * finds all the accessoires of one grid by articleCodex
323
+ * @param shelfId
324
+ * @param articleCodex
325
+ * @returns
326
326
  */
327
327
  )
328
328
  }, {
@@ -456,13 +456,13 @@ var ShelfPlanner = /*#__PURE__*/function () {
456
456
  return this.takePlaceOnOtherGrids;
457
457
  }
458
458
 
459
- /**
460
- * its checked if the accessoire has place on a specific grid on a specific cell
461
- * if the accessoire doesTakePlaceOnOtherGrids == true then we must check on the other grids aswell if there is place
462
- * @param gridIndex specific grid
463
- * @param cellIndex specific cell
464
- * @param accessoire
465
- * @returns
459
+ /**
460
+ * its checked if the accessoire has place on a specific grid on a specific cell
461
+ * if the accessoire doesTakePlaceOnOtherGrids == true then we must check on the other grids aswell if there is place
462
+ * @param gridIndex specific grid
463
+ * @param cellIndex specific cell
464
+ * @param accessoire
465
+ * @returns
466
466
  */
467
467
  }, {
468
468
  key: "tryFitOnShelfOfGrid",
@@ -489,12 +489,12 @@ var ShelfPlanner = /*#__PURE__*/function () {
489
489
  }
490
490
  }
491
491
 
492
- /**
493
- *
494
- * @param gridName
495
- * @param accessoire
496
- * @param excludeAccessoireInfluence for the drag and drop usecase we need to calc all the free grids with exluding the moving accessoire
497
- * @returns
492
+ /**
493
+ *
494
+ * @param gridName
495
+ * @param accessoire
496
+ * @param excludeAccessoireInfluence for the drag and drop usecase we need to calc all the free grids with exluding the moving accessoire
497
+ * @returns
498
498
  */
499
499
  }, {
500
500
  key: "getFreeSpacesOfAccessoireOfGrids",
@@ -527,11 +527,11 @@ var ShelfPlanner = /*#__PURE__*/function () {
527
527
  return ret;
528
528
  }
529
529
 
530
- /**
531
- * delete specific accessoire in the grid
532
- * @param gridIndex
533
- * @param cellIndex
534
- * @returns
530
+ /**
531
+ * delete specific accessoire in the grid
532
+ * @param gridIndex
533
+ * @param cellIndex
534
+ * @returns
535
535
  */
536
536
  }, {
537
537
  key: "deleteAccessoireOfCellInGrid",
@@ -576,10 +576,10 @@ var ShelfPlanner = /*#__PURE__*/function () {
576
576
  }
577
577
  return deleteAccessoireOfCellInGrid;
578
578
  }()
579
- /**
580
- * if the deleted accessoire was free (no price) check if another existing one can now become free
581
- * @param accessoire
582
- * @param gridIndex
579
+ /**
580
+ * if the deleted accessoire was free (no price) check if another existing one can now become free
581
+ * @param accessoire
582
+ * @param gridIndex
583
583
  */
584
584
  )
585
585
  }, {
@@ -597,11 +597,11 @@ var ShelfPlanner = /*#__PURE__*/function () {
597
597
  }
598
598
  }
599
599
  }
600
- /**
601
- * clears all the placeholders of other grids if the accessorie TakePlaceOnOtherGrids == true
602
- * @param gridIndex
603
- * @param cellIndex
604
- * @param accessoire
600
+ /**
601
+ * clears all the placeholders of other grids if the accessorie TakePlaceOnOtherGrids == true
602
+ * @param gridIndex
603
+ * @param cellIndex
604
+ * @param accessoire
605
605
  */
606
606
  }, {
607
607
  key: "handleDeleteTakePlaceOnOtherGrids",
@@ -666,12 +666,12 @@ var ShelfPlanner = /*#__PURE__*/function () {
666
666
  }
667
667
  return handleDeleteTakePlaceOnOtherGrids;
668
668
  }()
669
- /**
670
- * accessoire gets planned on a grid in a specific cellIndex which was already controlled if it fits there via function tryFitOnShelfOfGrid
671
- * @param accessoire
672
- * @param gridIndex
673
- * @param cellIndex
674
- * @param type
669
+ /**
670
+ * accessoire gets planned on a grid in a specific cellIndex which was already controlled if it fits there via function tryFitOnShelfOfGrid
671
+ * @param accessoire
672
+ * @param gridIndex
673
+ * @param cellIndex
674
+ * @param type
675
675
  */
676
676
  )
677
677
  }, {
@@ -715,9 +715,9 @@ var ShelfPlanner = /*#__PURE__*/function () {
715
715
  }
716
716
  return addAccessoireInCellInGrid;
717
717
  }()
718
- /**
719
- * check if new accessoire can be free
720
- * @param accessoire
718
+ /**
719
+ * check if new accessoire can be free
720
+ * @param accessoire
721
721
  */
722
722
  )
723
723
  }, {
@@ -731,10 +731,10 @@ var ShelfPlanner = /*#__PURE__*/function () {
731
731
  }
732
732
  }
733
733
  }
734
- /**
735
- * checks if the accessoire should TakePlaceOnOtherGrids
736
- * @param takePlaceOnOtherGrids
737
- * @returns
734
+ /**
735
+ * checks if the accessoire should TakePlaceOnOtherGrids
736
+ * @param takePlaceOnOtherGrids
737
+ * @returns
738
738
  */
739
739
  }, {
740
740
  key: "doesTakePlaceOnOtherGrids",
@@ -789,9 +789,9 @@ var ShelfPlanner = /*#__PURE__*/function () {
789
789
  return somethingChanged;
790
790
  }
791
791
 
792
- /**
793
- * values that get saved in the basket to re-initialize the shelf
794
- * @returns
792
+ /**
793
+ * values that get saved in the basket to re-initialize the shelf
794
+ * @returns
795
795
  */
796
796
  }, {
797
797
  key: "generateShelfPlandata",
@@ -827,10 +827,10 @@ var ShelfPlanner = /*#__PURE__*/function () {
827
827
  };
828
828
  }
829
829
 
830
- /**
831
- * collecting all the information that is needed for the 3D exe
832
- * @param accessoires
833
- * @returns
830
+ /**
831
+ * collecting all the information that is needed for the 3D exe
832
+ * @param accessoires
833
+ * @returns
834
834
  */
835
835
  }, {
836
836
  key: "getShelfPlannerAccessoires3DValues",
@@ -861,9 +861,9 @@ var ShelfPlanner = /*#__PURE__*/function () {
861
861
  }
862
862
  return accessoires;
863
863
  }
864
- /**
865
- * return specific shelfElementId. works reqursive. Used to identify every grid on their parents and parents-parent etc. for the 3DValues
866
- * @returns
864
+ /**
865
+ * return specific shelfElementId. works reqursive. Used to identify every grid on their parents and parents-parent etc. for the 3DValues
866
+ * @returns
867
867
  */
868
868
  }, {
869
869
  key: "getShelfElementId",
@@ -877,9 +877,9 @@ var ShelfPlanner = /*#__PURE__*/function () {
877
877
  return this.article.elementId.toString();
878
878
  }
879
879
  }
880
- /**
881
- * return the index of the accessoire on which it is placed in the parent
882
- * @returns
880
+ /**
881
+ * return the index of the accessoire on which it is placed in the parent
882
+ * @returns
883
883
  */
884
884
  }, {
885
885
  key: "getRHOnParentArticle",
@@ -893,10 +893,10 @@ var ShelfPlanner = /*#__PURE__*/function () {
893
893
  })) === null || _this$article$accesso3 === void 0 ? void 0 : _this$article$accesso3.InUse;
894
894
  }
895
895
 
896
- /**
897
- * retrun all the required values of the current selectable accessoires for the view
898
- * @param configStepKey
899
- * @returns
896
+ /**
897
+ * retrun all the required values of the current selectable accessoires for the view
898
+ * @param configStepKey
899
+ * @returns
900
900
  */
901
901
  }, {
902
902
  key: "getShelfPlannerItems",
@@ -942,9 +942,9 @@ var ShelfPlanner = /*#__PURE__*/function () {
942
942
  grids: grids
943
943
  };
944
944
  }
945
- /**
946
- * helperfuntion to get the parentshelfId of an shelfPlanner eg: T-Stück
947
- * @returns
945
+ /**
946
+ * helperfuntion to get the parentshelfId of an shelfPlanner eg: T-Stück
947
+ * @returns
948
948
  */
949
949
  }, {
950
950
  key: "getShelfParentShelfId",
@@ -954,9 +954,9 @@ var ShelfPlanner = /*#__PURE__*/function () {
954
954
  return undefined;
955
955
  }
956
956
 
957
- /**
958
- * if the dockingpoints get updated check updateDisabledCells
959
- * @param dpType
957
+ /**
958
+ * if the dockingpoints get updated check updateDisabledCells
959
+ * @param dpType
960
960
  */
961
961
  }, {
962
962
  key: "updateOnDockingChanged",
@@ -964,8 +964,8 @@ var ShelfPlanner = /*#__PURE__*/function () {
964
964
  if (dpType == 'AVL' && this.disableCellsByElement == 'RH_OVER_AVL' || dpType == 'AVR' && this.disableCellsByElement == 'RH_OVER_AVR') this.updateDisabledCells();
965
965
  }
966
966
 
967
- /**
968
- * calls the update/check on itself and the docket article
967
+ /**
968
+ * calls the update/check on itself and the docket article
969
969
  */
970
970
  }, {
971
971
  key: "updateDisabledCells",
@@ -994,10 +994,10 @@ var ShelfPlanner = /*#__PURE__*/function () {
994
994
  }
995
995
  }
996
996
 
997
- /**
998
- * this function checks if cells are still disabled by a neighbour and updates them
999
- * @param count
1000
- * @param fromDockSide
997
+ /**
998
+ * this function checks if cells are still disabled by a neighbour and updates them
999
+ * @param count
1000
+ * @param fromDockSide
1001
1001
  */
1002
1002
  }, {
1003
1003
  key: "disableCellsByDockedShelfs",
@@ -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-3870ea62.js';
3
+ import './index-84339e2f.js';
4
4
  import '@babel/runtime/helpers/asyncToGenerator';
5
5
  import '@babel/runtime/helpers/defineProperty';
6
6
  import '@babel/runtime/regenerator';