@crystaldesign/web-planner-logic 24.13.0-beta.2 → 24.13.0-beta.21

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 (90) hide show
  1. package/build/cjs/{DivaBoxPlanner-ed22c1dd.js → DivaBoxPlanner-407b522a.js} +80 -6
  2. package/build/cjs/{DivaStandardPlanner-924415b0.js → DivaStandardPlanner-2d5e2fcb.js} +14 -3
  3. package/build/cjs/{DoorPlanner-33fde902.js → DoorPlanner-b5c52f00.js} +1 -1
  4. package/build/cjs/{Host3DSignalR-0a901365.js → Host3DSignalR-d90c84fc.js} +1 -1
  5. package/build/cjs/{LiviqueWWSHandler-cf967a4d.js → LiviqueWWSHandler-e2865f37.js} +1 -1
  6. package/build/cjs/{PfisterWWSHandler-3ab783ab.js → PfisterWWSHandler-85364fc5.js} +1 -1
  7. package/build/cjs/{PlannerHandler2D-6b3a6722.js → PlannerHandler2D-e2a8f28f.js} +9 -2
  8. package/build/cjs/{SeriousBasketHandler-88cac4bb.js → SeriousBasketHandler-10541589.js} +1 -1
  9. package/build/cjs/{ShelfPlanner-cf726af7.js → ShelfPlanner-ffca2d2f.js} +3 -2
  10. package/build/cjs/{StandardWWSHandler-26ce5152.js → StandardWWSHandler-2abbb584.js} +1 -1
  11. package/build/cjs/{index-99fd2c34.js → index-f42160a0.js} +503 -322
  12. package/build/cjs/index.js +1 -1
  13. package/build/esm/{DivaBoxPlanner-acb7342c.js → DivaBoxPlanner-6d8b1276.js} +80 -6
  14. package/build/esm/{DivaStandardPlanner-f4ce0bf9.js → DivaStandardPlanner-01ffe668.js} +14 -3
  15. package/build/esm/{DoorPlanner-c8958dcc.js → DoorPlanner-9dc6e1b8.js} +1 -1
  16. package/build/esm/{Host3DSignalR-f4620464.js → Host3DSignalR-91bc0e45.js} +1 -1
  17. package/build/esm/{LiviqueWWSHandler-05983499.js → LiviqueWWSHandler-fc475051.js} +1 -1
  18. package/build/esm/{PfisterWWSHandler-e824a225.js → PfisterWWSHandler-7bb3d5e6.js} +1 -1
  19. package/build/esm/{PlannerHandler2D-a60954a4.js → PlannerHandler2D-46c4c559.js} +9 -2
  20. package/build/esm/{SeriousBasketHandler-d0103e1a.js → SeriousBasketHandler-a2a6aae7.js} +1 -1
  21. package/build/esm/{ShelfPlanner-65d91874.js → ShelfPlanner-1d639b0b.js} +3 -2
  22. package/build/esm/{StandardWWSHandler-539b9b15.js → StandardWWSHandler-68a6351e.js} +1 -1
  23. package/build/esm/{index-c8ee8c9a.js → index-02b8c883.js} +503 -322
  24. package/build/esm/index.js +1 -1
  25. package/build/types/web-planner-logic/src/interface/API/ViewConfigDataType.d.ts +3 -0
  26. package/build/types/web-planner-logic/src/interface/API/ViewConfigDataType.d.ts.map +1 -1
  27. package/build/types/web-planner-logic/src/interface/Articles/AccessoireItemType.d.ts +1 -0
  28. package/build/types/web-planner-logic/src/interface/Articles/AccessoireItemType.d.ts.map +1 -1
  29. package/build/types/web-planner-logic/src/interface/Articles/CatalogArticleDataType.d.ts +1 -0
  30. package/build/types/web-planner-logic/src/interface/Articles/CatalogArticleDataType.d.ts.map +1 -1
  31. package/build/types/web-planner-logic/src/interface/Articles/CatalogPlannerArticleViewDataType.d.ts +1 -0
  32. package/build/types/web-planner-logic/src/interface/Articles/CatalogPlannerArticleViewDataType.d.ts.map +1 -1
  33. package/build/types/web-planner-logic/src/interface/Basket/BasketEvent.d.ts +1 -1
  34. package/build/types/web-planner-logic/src/interface/Basket/BasketEvent.d.ts.map +1 -1
  35. package/build/types/web-planner-logic/src/interface/Configuration.d.ts +2 -3
  36. package/build/types/web-planner-logic/src/interface/Configuration.d.ts.map +1 -1
  37. package/build/types/web-planner-logic/src/interface/DivaCatalogDataType.d.ts +1 -1
  38. package/build/types/web-planner-logic/src/interface/DivaCatalogDataType.d.ts.map +1 -1
  39. package/build/types/web-planner-logic/src/interface/OptionTypes/ArticleOptionValueView.d.ts +1 -0
  40. package/build/types/web-planner-logic/src/interface/OptionTypes/ArticleOptionValueView.d.ts.map +1 -1
  41. package/build/types/web-planner-logic/src/interface/OptionTypes/CatalogOptionDataTypes.d.ts +4 -0
  42. package/build/types/web-planner-logic/src/interface/OptionTypes/CatalogOptionDataTypes.d.ts.map +1 -1
  43. package/build/types/web-planner-logic/src/interface/Planner/IDivaPlanner.d.ts +1 -0
  44. package/build/types/web-planner-logic/src/interface/Planner/IDivaPlanner.d.ts.map +1 -1
  45. package/build/types/web-planner-logic/src/interface/ShelfPlanner/ShelfAccessoiresView.d.ts +1 -0
  46. package/build/types/web-planner-logic/src/interface/ShelfPlanner/ShelfAccessoiresView.d.ts.map +1 -1
  47. package/build/types/web-planner-logic/src/interface/test/index.d.ts +0 -1
  48. package/build/types/web-planner-logic/src/interface/test/index.d.ts.map +1 -1
  49. package/build/types/web-planner-logic/src/logic/Article/ArticleOptionState.d.ts.map +1 -1
  50. package/build/types/web-planner-logic/src/logic/Basket/DivaBasketHandler.d.ts +2 -4
  51. package/build/types/web-planner-logic/src/logic/Basket/DivaBasketHandler.d.ts.map +1 -1
  52. package/build/types/web-planner-logic/src/logic/ConfigTree/DivaConfigTreeHandler.d.ts.map +1 -1
  53. package/build/types/web-planner-logic/src/logic/ConfigTree/Shelfplanner/ShelfPlanner.d.ts.map +1 -1
  54. package/build/types/web-planner-logic/src/logic/DivaApiHandler.d.ts +1 -2
  55. package/build/types/web-planner-logic/src/logic/DivaApiHandler.d.ts.map +1 -1
  56. package/build/types/web-planner-logic/src/logic/DivaWebPlanner.d.ts +6 -5
  57. package/build/types/web-planner-logic/src/logic/DivaWebPlanner.d.ts.map +1 -1
  58. package/build/types/web-planner-logic/src/logic/Planner/BoxPlanner/BoxPlannerGrid.d.ts +13 -0
  59. package/build/types/web-planner-logic/src/logic/Planner/BoxPlanner/BoxPlannerGrid.d.ts.map +1 -1
  60. package/build/types/web-planner-logic/src/logic/Planner/BoxPlanner/ConstructionRulesHandler.d.ts +5 -0
  61. package/build/types/web-planner-logic/src/logic/Planner/BoxPlanner/ConstructionRulesHandler.d.ts.map +1 -1
  62. package/build/types/web-planner-logic/src/logic/Planner/BoxPlanner/DivaBoxPlanner.d.ts +7 -0
  63. package/build/types/web-planner-logic/src/logic/Planner/BoxPlanner/DivaBoxPlanner.d.ts.map +1 -1
  64. package/build/types/web-planner-logic/src/logic/Planner/DivaPlannerHandler.d.ts +6 -0
  65. package/build/types/web-planner-logic/src/logic/Planner/DivaPlannerHandler.d.ts.map +1 -1
  66. package/build/types/web-planner-logic/src/logic/Planner/DivaStandardPlanner.d.ts +6 -0
  67. package/build/types/web-planner-logic/src/logic/Planner/DivaStandardPlanner.d.ts.map +1 -1
  68. package/build/types/web-planner-logic/src/logic/Planner/PlannerUtils/DockingPointHandler.d.ts.map +1 -1
  69. package/build/types/web-planner-logic/src/logic/Planner/PlannerUtils/PlannerHandler2D.d.ts.map +1 -1
  70. package/build/types/web-planner-logic/src/logic/Planner/Rendering/DivaMediaServiceHandler.d.ts +0 -2
  71. package/build/types/web-planner-logic/src/logic/Planner/Rendering/DivaMediaServiceHandler.d.ts.map +1 -1
  72. package/build/types/web-planner-logic/src/logic/Product/DivaProductHandler.d.ts +5 -0
  73. package/build/types/web-planner-logic/src/logic/Product/DivaProductHandler.d.ts.map +1 -1
  74. package/build/types/web-planner-logic/src/logic/Set/DivaSet.d.ts +3 -0
  75. package/build/types/web-planner-logic/src/logic/Set/DivaSet.d.ts.map +1 -1
  76. package/build/types/web-planner-logic/src/logic/Set/DivaSetHandler.d.ts.map +1 -1
  77. package/build/types/web-planner-logic/src/logic/Set/FavoritesHandler.d.ts.map +1 -1
  78. package/build/types/web-planner-logic/src/model/Articles/CatalogArticleData.d.ts +1 -0
  79. package/build/types/web-planner-logic/src/model/Articles/CatalogArticleData.d.ts.map +1 -1
  80. package/build/types/web-planner-logic/src/model/DivaCatalogData.d.ts +1 -0
  81. package/build/types/web-planner-logic/src/model/DivaCatalogData.d.ts.map +1 -1
  82. package/build/types/web-planner-logic/src/model/Options/ArticleOptionData.d.ts +2 -0
  83. package/build/types/web-planner-logic/src/model/Options/ArticleOptionData.d.ts.map +1 -1
  84. package/build/types/web-planner-logic/src/model/Options/ArticleOptionValueData.d.ts +2 -0
  85. package/build/types/web-planner-logic/src/model/Options/ArticleOptionValueData.d.ts.map +1 -1
  86. package/build/types/web-planner-logic/src/model/Options/CatalogOptionData.d.ts +2 -0
  87. package/build/types/web-planner-logic/src/model/Options/CatalogOptionData.d.ts.map +1 -1
  88. package/build/types/web-planner-logic/src/model/Options/CatalogOptionValueData.d.ts +2 -0
  89. package/build/types/web-planner-logic/src/model/Options/CatalogOptionValueData.d.ts.map +1 -1
  90. package/package.json +2 -2
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var index = require('./index-99fd2c34.js');
5
+ var index = require('./index-f42160a0.js');
6
6
  require('@babel/runtime/helpers/asyncToGenerator');
7
7
  require('@babel/runtime/helpers/classCallCheck');
8
8
  require('@babel/runtime/helpers/createClass');
@@ -3,10 +3,10 @@ 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, B as BoundingBox } from './index-c8ee8c9a.js';
6
+ import { V as Vector3, B as BoundingBox } from './index-02b8c883.js';
7
7
  import DivaUtils, { DivaError, md5 } from '@crystaldesign/diva-utils';
8
8
  import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
9
- import { d as dockingPointHandlerInst, P as PlannerElementData, h as handler2D } from './PlannerHandler2D-a60954a4.js';
9
+ import { d as dockingPointHandlerInst, P as PlannerElementData, h as handler2D } from './PlannerHandler2D-46c4c559.js';
10
10
  import '@babel/runtime/helpers/objectWithoutProperties';
11
11
  import '@babel/runtime/helpers/slicedToArray';
12
12
  import 'axios';
@@ -2978,6 +2978,16 @@ var ConstructionRulesHandler = /*#__PURE__*/function () {
2978
2978
  value: function getMaxElemCountPerColumn() {
2979
2979
  return this.constructionRules.maxElemCountPerCol;
2980
2980
  }
2981
+
2982
+ /**
2983
+ * This function returns true when the whole planning can have only elements on the same hight like Elin configurator
2984
+ * @returns
2985
+ */
2986
+ }, {
2987
+ key: "getForceWholePlanningSameHeight",
2988
+ value: function getForceWholePlanningSameHeight() {
2989
+ return this.constructionRules.forceWholePlanningSameHeight;
2990
+ }
2981
2991
  }]);
2982
2992
  }();
2983
2993
 
@@ -3343,7 +3353,6 @@ var BoxPlannerGrid = /*#__PURE__*/function () {
3343
3353
  }
3344
3354
  return curElementGrid.length > index ? result : undefined;
3345
3355
  }
3346
-
3347
3356
  /**
3348
3357
  * This function returns the count of columns in the grid
3349
3358
  */
@@ -3483,6 +3492,27 @@ var BoxPlannerGrid = /*#__PURE__*/function () {
3483
3492
  return new Vector3(width, height, depth);
3484
3493
  }
3485
3494
 
3495
+ /**
3496
+ * Returns all other elements in the grid that are in the same row as the elementId from the parameter
3497
+ * @param elementId
3498
+ */
3499
+ }, {
3500
+ key: "getAllElementsInSameRowByElementId",
3501
+ value: function getAllElementsInSameRowByElementId(elementId) {
3502
+ var gridPos = this.getIndexInGridByElementId(elementId);
3503
+ var allElementsInRow = this.getAllElementsInRow(gridPos.row, false);
3504
+ if (this.hasActiveBackside) {
3505
+ allElementsInRow = allElementsInRow.concat(this.getAllElementsInRow(gridPos.row, true));
3506
+ }
3507
+ return {
3508
+ elementIds: allElementsInRow.map(function (obj) {
3509
+ return obj.ElementId;
3510
+ }),
3511
+ plannerElements: allElementsInRow,
3512
+ backside: gridPos.backside
3513
+ };
3514
+ }
3515
+
3486
3516
  /**
3487
3517
  * Returns all Elements that are under the specified element
3488
3518
  */
@@ -3506,6 +3536,19 @@ var BoxPlannerGrid = /*#__PURE__*/function () {
3506
3536
  backside: gridPos.backside
3507
3537
  };
3508
3538
  }
3539
+ }, {
3540
+ key: "getAllElementsInSameCol",
3541
+ value: function getAllElementsInSameCol(elementId) {
3542
+ var gridPos = this.getIndexInGridByElementId(elementId);
3543
+ var allElements = this.getAllElementsInColumn(gridPos.col, gridPos.backside);
3544
+ if (allElements == undefined) allElements = [];
3545
+ return {
3546
+ elements: allElements.map(function (obj) {
3547
+ return obj.ElementId;
3548
+ }),
3549
+ backside: gridPos.backside
3550
+ };
3551
+ }
3509
3552
  }, {
3510
3553
  key: "prepareGridForCopy",
3511
3554
  value: function prepareGridForCopy(elementId, copyDir) {
@@ -4163,6 +4206,24 @@ var DivaBoxPlanner = /*#__PURE__*/function () {
4163
4206
  value: function initIDM3DMeta(IDM3DCatCodex) {
4164
4207
  LOG.debug('No IDM3D Planner for BoxPlanner');
4165
4208
  }
4209
+
4210
+ /**
4211
+ * This function returns all Planner Elements that are influenced when deletingan element ID.
4212
+ * This is important when it is forced that the whole planing has to have the same height all the time.
4213
+ * @param elementId
4214
+ */
4215
+ }, {
4216
+ key: "getPlannerElementsInfluencedByDeletion",
4217
+ value: function getPlannerElementsInfluencedByDeletion(elementId) {
4218
+ if (this.constructionRulesHandler.getForceWholePlanningSameHeight()) {
4219
+ var index = this.boxPlannerGrid.getIndexInGridByElementId(elementId);
4220
+ if (index.row == 0) return [elementId]; //In the base row only delete the actual element, not the whole row
4221
+ var result = this.boxPlannerGrid.getAllElementsInSameRowByElementId(elementId);
4222
+ return result.elementIds;
4223
+ } else {
4224
+ return [elementId];
4225
+ }
4226
+ }
4166
4227
  /**
4167
4228
  * This function returns all elements that are influenced by copying them.
4168
4229
  * In the box Planner all elements under the Element to copy are copied as well
@@ -4191,10 +4252,22 @@ var DivaBoxPlanner = /*#__PURE__*/function () {
4191
4252
  switch (copyInfo.dpType) {
4192
4253
  case 'AVL':
4193
4254
  case 'AVR':
4194
- var result = this.boxPlannerGrid.getAllElementsDown(elementId);
4195
- allElementsToCopy = allElementsToCopy.concat(result.elements);
4196
- result.backside;
4255
+ if (this.constructionRulesHandler.getForceWholePlanningSameHeight()) {
4256
+ var result = this.boxPlannerGrid.getAllElementsInSameCol(elementId);
4257
+ allElementsToCopy = result.elements;
4258
+ result.backside;
4259
+ } else {
4260
+ var _result = this.boxPlannerGrid.getAllElementsDown(elementId);
4261
+ allElementsToCopy = allElementsToCopy.concat(_result.elements);
4262
+ _result.backside;
4263
+ }
4197
4264
  break;
4265
+ case 'AVO':
4266
+ if (this.constructionRulesHandler.getForceWholePlanningSameHeight()) {
4267
+ var resultCopyUp = this.boxPlannerGrid.getAllElementsInSameRowByElementId(elementId);
4268
+ allElementsToCopy = resultCopyUp.elementIds;
4269
+ resultCopyUp.backside;
4270
+ }
4198
4271
  }
4199
4272
  if (this.boxPlannerGrid.getPlannerHasActiveBackside()) {
4200
4273
  allElementsToCopy = allElementsToCopy.concat(this.boxPlannerGrid.getAllOppositeElements(allElementsToCopy));
@@ -4207,6 +4280,7 @@ var DivaBoxPlanner = /*#__PURE__*/function () {
4207
4280
  /**
4208
4281
  * Delete Box Planner element
4209
4282
  * If the box planner has an active backside, then it also deletes the opposite element
4283
+ * If forceWholePlanningSame Height is set to true, then all elements in the same row are deleted.
4210
4284
  * @param elementId ElementID of the element that should be deleted.
4211
4285
  * @returns elementId of the next to select element
4212
4286
  */
@@ -3,8 +3,8 @@ 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, B as BoundingBox } from './index-c8ee8c9a.js';
7
- import { d as dockingPointHandlerInst, h as handler2D, P as PlannerElementData } from './PlannerHandler2D-a60954a4.js';
6
+ import { V as Vector3, c as Vector2, B as BoundingBox } from './index-02b8c883.js';
7
+ import { d as dockingPointHandlerInst, h as handler2D, P as PlannerElementData } from './PlannerHandler2D-46c4c559.js';
8
8
  import DivaUtils, { DivaError, md5 } from '@crystaldesign/diva-utils';
9
9
  import '@babel/runtime/helpers/objectWithoutProperties';
10
10
  import '@babel/runtime/helpers/slicedToArray';
@@ -1247,7 +1247,18 @@ var DivaStandardPlanner = /*#__PURE__*/function () {
1247
1247
  return _copyPlannerElement.apply(this, arguments);
1248
1248
  }
1249
1249
  return copyPlannerElement;
1250
- }())
1250
+ }()
1251
+ /**
1252
+ * This function returns all Planner Elements that are influenced when deletingan element ID.
1253
+ * Forthe standard planner it is nothing.
1254
+ * @param elementId
1255
+ */
1256
+ )
1257
+ }, {
1258
+ key: "getPlannerElementsInfluencedByDeletion",
1259
+ value: function getPlannerElementsInfluencedByDeletion(elementId) {
1260
+ return [elementId];
1261
+ }
1251
1262
  }, {
1252
1263
  key: "getPlannerElementsInfluencedByCopy",
1253
1264
  value: function getPlannerElementsInfluencedByCopy(elementId, copyInfo) {
@@ -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-c8ee8c9a.js';
4
+ import './index-02b8c883.js';
5
5
  import DivaUtils from '@crystaldesign/diva-utils';
6
6
  import '@babel/runtime/helpers/asyncToGenerator';
7
7
  import '@babel/runtime/regenerator';
@@ -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-c8ee8c9a.js';
6
+ import { R as Rendering, H as HQRenderScript } from './index-02b8c883.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-c8ee8c9a.js';
3
+ import './index-02b8c883.js';
4
4
  import '@babel/runtime/helpers/asyncToGenerator';
5
5
  import '@babel/runtime/helpers/defineProperty';
6
6
  import '@babel/runtime/regenerator';
@@ -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-c8ee8c9a.js';
3
+ import './index-02b8c883.js';
4
4
  import { SAPOrderLineData } from '@crystaldesign/basket-model';
5
5
  import DivaUtils, { DivaError } from '@crystaldesign/diva-utils';
6
6
  import '@babel/runtime/helpers/asyncToGenerator';
@@ -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 { V as Vector3, c as Vector2, D as DockingPoint } from './index-c8ee8c9a.js';
4
+ import { V as Vector3, c as Vector2, D as DockingPoint } from './index-02b8c883.js';
5
5
  import DivaUtils, { md5, DivaError } from '@crystaldesign/diva-utils';
6
6
  import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
7
7
  import _regeneratorRuntime from '@babel/runtime/regenerator';
@@ -2397,7 +2397,9 @@ var DockingPointHandler = /*#__PURE__*/function () {
2397
2397
  if (dp1.PlannerConfig.ignoreLayerAVOAVU && (dp1.Type == 'AVO' || dp1.Type == 'AVU') && (dp2.Type == 'AVO' || dp2.Type == 'AVU')) {
2398
2398
  doCheckLayer = false;
2399
2399
  }
2400
-
2400
+ if (dp1.PlannerConfig.ignoreLayerAVNAVS && (dp1.Type == 'AVN' || dp1.Type == 'AVS') && (dp2.Type == 'AVN' || dp2.Type == 'AVS')) {
2401
+ doCheckLayer = false;
2402
+ }
2401
2403
  //Check layer
2402
2404
  if (doCheckLayer && dp2.Layer == dp1.Layer) return false;
2403
2405
  }
@@ -2948,6 +2950,11 @@ var PlannerHandler2D = /*#__PURE__*/function () {
2948
2950
  }, {
2949
2951
  key: "getMinBorderSVG",
2950
2952
  value: function getMinBorderSVG(svgXml) {
2953
+ //if we are running in node js dont do fabric stuff
2954
+ if (typeof window === 'undefined') return {
2955
+ svgMinXVal: 0,
2956
+ svgMinYVal: 0
2957
+ };
2951
2958
  return new Promise(function (resolve, reject) {
2952
2959
  var svgMinXVal = Number.POSITIVE_INFINITY;
2953
2960
  var svgMinYVal = Number.POSITIVE_INFINITY;
@@ -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-c8ee8c9a.js';
4
+ import { s as summaryHandlerInstance } from './index-02b8c883.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-c8ee8c9a.js';
7
+ import { G as Grid, a as setHandlerInstance, b as articleHandlerInstance } from './index-02b8c883.js';
8
8
  import DivaUtils from '@crystaldesign/diva-utils';
9
9
  import '@babel/runtime/helpers/objectWithoutProperties';
10
10
  import '@babel/runtime/helpers/slicedToArray';
@@ -928,7 +928,8 @@ var ShelfPlanner = /*#__PURE__*/function () {
928
928
  depth: catalogArticle.depth,
929
929
  cellSize: catalogArticle.shelfHeight,
930
930
  metaData: catalogArticle.metaDataView,
931
- contentItemId: catalogArticle.contentItemId
931
+ contentItemId: catalogArticle.contentItemId,
932
+ groupContentItemId: catalogArticle.groupContentItemId
932
933
  });
933
934
  }
934
935
  };
@@ -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-c8ee8c9a.js';
3
+ import './index-02b8c883.js';
4
4
  import '@babel/runtime/helpers/asyncToGenerator';
5
5
  import '@babel/runtime/helpers/defineProperty';
6
6
  import '@babel/runtime/regenerator';