@crystaldesign/web-planner-logic 26.14.0-beta.2 → 26.14.0-beta.3

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 (28) hide show
  1. package/build/cjs/{DivaBoxPlanner-7f6bd584.js → DivaBoxPlanner-f8a6ed51.js} +2 -2
  2. package/build/cjs/{DivaStandardPlanner-77c603dc.js → DivaStandardPlanner-3f43813c.js} +2 -2
  3. package/build/cjs/{DoorPlanner-5de2bbf0.js → DoorPlanner-10e3c18d.js} +1 -1
  4. package/build/cjs/{Host3DSignalR-26b95303.js → Host3DSignalR-cd189922.js} +1 -1
  5. package/build/cjs/{LiviqueWWSHandler-1e419862.js → LiviqueWWSHandler-d4958b7f.js} +1 -1
  6. package/build/cjs/{PfisterWWSHandler-b2f7a5ec.js → PfisterWWSHandler-a6dba3c8.js} +1 -1
  7. package/build/cjs/{PlannerHandler2D-ff734c3e.js → PlannerHandler2D-81ec05d6.js} +1 -1
  8. package/build/cjs/{SeriousBasketHandler-e54bd31b.js → SeriousBasketHandler-8422c0a8.js} +1 -1
  9. package/build/cjs/{ShelfPlanner-08e15d16.js → ShelfPlanner-ec113155.js} +1 -1
  10. package/build/cjs/{StandardWWSHandler-0e7b20dc.js → StandardWWSHandler-72f6355a.js} +1 -1
  11. package/build/cjs/{index-5dd5fb4b.js → index-00160b1a.js} +11 -11
  12. package/build/cjs/index.js +1 -1
  13. package/build/esm/{DivaBoxPlanner-6ac448b4.js → DivaBoxPlanner-e93a8a11.js} +2 -2
  14. package/build/esm/{DivaStandardPlanner-abd9609d.js → DivaStandardPlanner-54024d74.js} +2 -2
  15. package/build/esm/{DoorPlanner-fde32e61.js → DoorPlanner-de2fbac4.js} +1 -1
  16. package/build/esm/{Host3DSignalR-0f97c7f3.js → Host3DSignalR-c2e185b3.js} +1 -1
  17. package/build/esm/{LiviqueWWSHandler-9ee5b7cb.js → LiviqueWWSHandler-accb6d18.js} +1 -1
  18. package/build/esm/{PfisterWWSHandler-b9699549.js → PfisterWWSHandler-326e6be1.js} +1 -1
  19. package/build/esm/{PlannerHandler2D-8d963e77.js → PlannerHandler2D-400364fb.js} +1 -1
  20. package/build/esm/{SeriousBasketHandler-40e7e46c.js → SeriousBasketHandler-a90650e7.js} +1 -1
  21. package/build/esm/{ShelfPlanner-69cbb2c1.js → ShelfPlanner-83981004.js} +1 -1
  22. package/build/esm/{StandardWWSHandler-dbf02663.js → StandardWWSHandler-2dfbafa0.js} +1 -1
  23. package/build/esm/{index-88148ccc.js → index-7c0351f5.js} +11 -11
  24. package/build/esm/index.js +1 -1
  25. package/build/types/web-planner-logic/src/interface/IDM/ArticleApi.d.ts +1 -1
  26. package/build/types/web-planner-logic/src/test/idmPlacementTypeGroup.test.d.ts +2 -0
  27. package/build/types/web-planner-logic/src/test/idmPlacementTypeGroup.test.d.ts.map +1 -0
  28. package/package.json +3 -3
@@ -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-5dd5fb4b.js');
8
+ var index = require('./index-00160b1a.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-ff734c3e.js');
12
+ var PlannerHandler2D = require('./PlannerHandler2D-81ec05d6.js');
13
13
  require('@babel/runtime/helpers/objectWithoutProperties');
14
14
  require('axios');
15
15
  require('@babel/runtime/helpers/typeof');
@@ -7,10 +7,10 @@ var _createClass = require('@babel/runtime/helpers/createClass');
7
7
  var _defineProperty = require('@babel/runtime/helpers/defineProperty');
8
8
  var _slicedToArray = require('@babel/runtime/helpers/slicedToArray');
9
9
  var _regeneratorRuntime = require('@babel/runtime/regenerator');
10
- var index = require('./index-5dd5fb4b.js');
10
+ var index = require('./index-00160b1a.js');
11
11
  var DivaUtils = require('@crystaldesign/diva-utils');
12
12
  var plannerCore = require('@crystaldesign/planner-core');
13
- var PlannerHandler2D = require('./PlannerHandler2D-ff734c3e.js');
13
+ var PlannerHandler2D = require('./PlannerHandler2D-81ec05d6.js');
14
14
  require('@babel/runtime/helpers/objectWithoutProperties');
15
15
  require('axios');
16
16
  require('@babel/runtime/helpers/typeof');
@@ -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-5dd5fb4b.js');
6
+ require('./index-00160b1a.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-5dd5fb4b.js');
8
+ var index = require('./index-00160b1a.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-5dd5fb4b.js');
5
+ require('./index-00160b1a.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-5dd5fb4b.js');
5
+ var index = require('./index-00160b1a.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-5dd5fb4b.js');
8
+ var index = require('./index-00160b1a.js');
9
9
  var _possibleConstructorReturn = require('@babel/runtime/helpers/possibleConstructorReturn');
10
10
  var _getPrototypeOf = require('@babel/runtime/helpers/getPrototypeOf');
11
11
  var _get = require('@babel/runtime/helpers/get');
@@ -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-5dd5fb4b.js');
6
+ var index = require('./index-00160b1a.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-5dd5fb4b.js');
9
+ var index = require('./index-00160b1a.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-5dd5fb4b.js');
5
+ require('./index-00160b1a.js');
6
6
  require('@babel/runtime/helpers/slicedToArray');
7
7
  require('@babel/runtime/helpers/asyncToGenerator');
8
8
  require('@babel/runtime/helpers/defineProperty');
@@ -23398,7 +23398,7 @@ function initIDMArticles(jsonItems, catalogData) {
23398
23398
  }
23399
23399
  }
23400
23400
  function getCatalogArticle(article, catalogData) {
23401
- var _catalogData$catalogM, _article$typeKey, _article$salesNumber, _articleMask$name, _article$flatPrice, _article$depthBasicSh, _article$depthBasicSh2, _article$depthBasicSh3, _article$widthBasicSh, _article$widthBasicSh2, _article$widthBasicSh3, _article$heightBasicS, _article$heightBasicS2, _article$heightBasicS3, _article$weightNetto, _article$detailInfos, _article$detailInfos2, _article$detailInfos3, _ref, _ref2, _articleMask$groupnam;
23401
+ var _catalogData$catalogM, _article$typeKey, _article$salesNumber, _articleMask$name, _article$flatPrice, _article$depthBasicSh, _article$depthBasicSh2, _article$depthBasicSh3, _article$widthBasicSh, _article$widthBasicSh2, _article$widthBasicSh3, _article$heightBasicS, _article$heightBasicS2, _article$heightBasicS3, _article$weightNetto, _article$detailInfos, _article$detailInfos2, _article$detailInfos3, _ref, _ref2, _articleMask$groupnam, _article$typeKey2;
23402
23402
  var articleMask = (_catalogData$catalogM = catalogData.catalogMask) === null || _catalogData$catalogM === void 0 || (_catalogData$catalogM = _catalogData$catalogM.articles) === null || _catalogData$catalogM === void 0 ? void 0 : _catalogData$catalogM[article.typeNo];
23403
23403
  var lang = catalogData.api.getLanguageLowercase();
23404
23404
  // empty locale objects ({} or only empty strings) are truthy, so ?? alone doesn't fall back
@@ -23485,7 +23485,7 @@ function getCatalogArticle(article, catalogData) {
23485
23485
  });
23486
23486
  }),
23487
23487
  // an enricher group the user named wins over the mask, which only carries the renamed article text
23488
- groupName: (_ref = (_ref2 = article.groupName ? DivaUtils__default["default"].getLocals(article.groupName, catalogData.api.getLanguage()) : undefined) !== null && _ref2 !== void 0 ? _ref2 : articleMask === null || articleMask === void 0 || (_articleMask$groupnam = articleMask.groupname) === null || _articleMask$groupnam === void 0 ? void 0 : _articleMask$groupnam[catalogData.api.getLanguage()]) !== null && _ref !== void 0 ? _ref : article.typeKey,
23488
+ groupName: (_ref = (_ref2 = article.groupName ? DivaUtils__default["default"].getLocals(article.groupName, catalogData.api.getLanguage()) : undefined) !== null && _ref2 !== void 0 ? _ref2 : articleMask === null || articleMask === void 0 || (_articleMask$groupnam = articleMask.groupname) === null || _articleMask$groupnam === void 0 ? void 0 : _articleMask$groupnam[catalogData.api.getLanguage()]) !== null && _ref !== void 0 ? _ref : (_article$typeKey2 = article.typeKey) === null || _article$typeKey2 === void 0 ? void 0 : _article$typeKey2.toString(),
23489
23489
  groupName_locales: article.groupName
23490
23490
  };
23491
23491
  }
@@ -34355,7 +34355,7 @@ var DivaArticle = /*#__PURE__*/function () {
34355
34355
  break;
34356
34356
  }
34357
34357
  _context.next = 4;
34358
- return Promise.resolve().then(function () { return require('./ShelfPlanner-08e15d16.js'); });
34358
+ return Promise.resolve().then(function () { return require('./ShelfPlanner-ec113155.js'); });
34359
34359
  case 4:
34360
34360
  _yield$import = _context.sent;
34361
34361
  ShelfPlanner = _yield$import["default"];
@@ -43200,7 +43200,7 @@ var DivaSet = /*#__PURE__*/function () {
43200
43200
  break;
43201
43201
  }
43202
43202
  _context5.next = 3;
43203
- return Promise.resolve().then(function () { return require('./DoorPlanner-5de2bbf0.js'); });
43203
+ return Promise.resolve().then(function () { return require('./DoorPlanner-10e3c18d.js'); });
43204
43204
  case 3:
43205
43205
  _yield$import = _context5.sent;
43206
43206
  DoorPlanner = _yield$import["default"];
@@ -51462,7 +51462,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
51462
51462
  break;
51463
51463
  case 3:
51464
51464
  _context12.next = 5;
51465
- return Promise.resolve().then(function () { return require('./PfisterWWSHandler-b2f7a5ec.js'); });
51465
+ return Promise.resolve().then(function () { return require('./PfisterWWSHandler-a6dba3c8.js'); });
51466
51466
  case 5:
51467
51467
  _yield$import = _context12.sent;
51468
51468
  PfisterWWSHandler = _yield$import["default"];
@@ -51470,7 +51470,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
51470
51470
  return _context12.abrupt("break", 27);
51471
51471
  case 9:
51472
51472
  _context12.next = 11;
51473
- return Promise.resolve().then(function () { return require('./LiviqueWWSHandler-1e419862.js'); });
51473
+ return Promise.resolve().then(function () { return require('./LiviqueWWSHandler-d4958b7f.js'); });
51474
51474
  case 11:
51475
51475
  _yield$import2 = _context12.sent;
51476
51476
  LiviqueWWSHandler = _yield$import2["default"];
@@ -51478,7 +51478,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
51478
51478
  return _context12.abrupt("break", 27);
51479
51479
  case 15:
51480
51480
  _context12.next = 17;
51481
- return Promise.resolve().then(function () { return require('./SeriousBasketHandler-e54bd31b.js'); });
51481
+ return Promise.resolve().then(function () { return require('./SeriousBasketHandler-8422c0a8.js'); });
51482
51482
  case 17:
51483
51483
  _yield$import3 = _context12.sent;
51484
51484
  SeriousWWSHandler = _yield$import3["default"];
@@ -51486,7 +51486,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
51486
51486
  return _context12.abrupt("break", 27);
51487
51487
  case 21:
51488
51488
  _context12.next = 23;
51489
- return Promise.resolve().then(function () { return require('./StandardWWSHandler-0e7b20dc.js'); });
51489
+ return Promise.resolve().then(function () { return require('./StandardWWSHandler-72f6355a.js'); });
51490
51490
  case 23:
51491
51491
  _yield$import4 = _context12.sent;
51492
51492
  StandardWWSHandler = _yield$import4["default"];
@@ -52884,7 +52884,7 @@ var PlannerHandler3D = /*#__PURE__*/function () {
52884
52884
  //If we need real time rendering initialize the SignalR and 3D host connection Handler
52885
52885
  bootMark('signalr: chunk import start');
52886
52886
  _context3.next = 3;
52887
- return Promise.resolve().then(function () { return require('./Host3DSignalR-26b95303.js'); });
52887
+ return Promise.resolve().then(function () { return require('./Host3DSignalR-cd189922.js'); });
52888
52888
  case 3:
52889
52889
  _yield$import = _context3.sent;
52890
52890
  Host3DSignalR = _yield$import["default"];
@@ -57290,7 +57290,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
57290
57290
  break;
57291
57291
  case 9:
57292
57292
  _context5.next = 11;
57293
- return Promise.resolve().then(function () { return require('./DivaStandardPlanner-77c603dc.js'); });
57293
+ return Promise.resolve().then(function () { return require('./DivaStandardPlanner-3f43813c.js'); });
57294
57294
  case 11:
57295
57295
  _yield$import = _context5.sent;
57296
57296
  DivaStandardPlanner = _yield$import["default"];
@@ -57305,7 +57305,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
57305
57305
  return _context5.abrupt("break", 22);
57306
57306
  case 16:
57307
57307
  _context5.next = 18;
57308
- return Promise.resolve().then(function () { return require('./DivaBoxPlanner-7f6bd584.js'); });
57308
+ return Promise.resolve().then(function () { return require('./DivaBoxPlanner-f8a6ed51.js'); });
57309
57309
  case 18:
57310
57310
  _yield$import2 = _context5.sent;
57311
57311
  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-5dd5fb4b.js');
5
+ var index = require('./index-00160b1a.js');
6
6
  var plannerCore = require('@crystaldesign/planner-core');
7
7
  require('@babel/runtime/helpers/slicedToArray');
8
8
  require('@babel/runtime/helpers/asyncToGenerator');
@@ -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 { u as Vector2, V as Vector3, P as PlannerElementData, J as BoundingBox } from './index-88148ccc.js';
6
+ import { u as Vector2, V as Vector3, P as PlannerElementData, J as BoundingBox } from './index-7c0351f5.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-8d963e77.js';
10
+ import { d as dockingPointHandlerInst, h as handler2D } from './PlannerHandler2D-400364fb.js';
11
11
  import '@babel/runtime/helpers/objectWithoutProperties';
12
12
  import 'axios';
13
13
  import '@babel/runtime/helpers/typeof';
@@ -5,10 +5,10 @@ import _createClass from '@babel/runtime/helpers/createClass';
5
5
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
6
6
  import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
7
7
  import _regeneratorRuntime from '@babel/runtime/regenerator';
8
- import { V as Vector3, p as poseOf, g as getSnapPlace, c as getDockingGroups, d as getElementShape, e as getCarrierSlots, h as getSlotPlaces, m as moveGroupRigidly, i as isSamePose, j as getGroupBlock, k as fitsInsideRoom, l as keepInsideRoom, n as bindToWalls, o as sameGeoExtent, q as getCornerEnd, r as getDoorClearanceRects, t as rectCorners, u as Vector2, M as MAX_GUEST_DEPTH, v as slotExempt, w as bodiesOverlap, x as getNearestMember, y as toPlacementOffset, z as getTurnDeg, A as moveSlotMember, B as moveShape, C as layersCollide, D as shapesCollide, P as PlannerElementData, E as parseGuestPlacement, F as saveElementArticleCodex, H as parseSetPlanData, I as isSavePlannerV2, J as BoundingBox, K as movePoints } from './index-88148ccc.js';
8
+ import { V as Vector3, p as poseOf, g as getSnapPlace, c as getDockingGroups, d as getElementShape, e as getCarrierSlots, h as getSlotPlaces, m as moveGroupRigidly, i as isSamePose, j as getGroupBlock, k as fitsInsideRoom, l as keepInsideRoom, n as bindToWalls, o as sameGeoExtent, q as getCornerEnd, r as getDoorClearanceRects, t as rectCorners, u as Vector2, M as MAX_GUEST_DEPTH, v as slotExempt, w as bodiesOverlap, x as getNearestMember, y as toPlacementOffset, z as getTurnDeg, A as moveSlotMember, B as moveShape, C as layersCollide, D as shapesCollide, P as PlannerElementData, E as parseGuestPlacement, F as saveElementArticleCodex, H as parseSetPlanData, I as isSavePlannerV2, J as BoundingBox, K as movePoints } from './index-7c0351f5.js';
9
9
  import DivaUtils, { DivaError, md5 } from '@crystaldesign/diva-utils';
10
10
  import { computeDockedTransform } from '@crystaldesign/planner-core';
11
- import { d as dockingPointHandlerInst, h as handler2D } from './PlannerHandler2D-8d963e77.js';
11
+ import { d as dockingPointHandlerInst, h as handler2D } from './PlannerHandler2D-400364fb.js';
12
12
  import '@babel/runtime/helpers/objectWithoutProperties';
13
13
  import 'axios';
14
14
  import '@babel/runtime/helpers/typeof';
@@ -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-88148ccc.js';
4
+ import './index-7c0351f5.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 { L as bootMark, R as Rendering, N as HQRenderScript } from './index-88148ccc.js';
6
+ import { L as bootMark, R as Rendering, N as HQRenderScript } from './index-7c0351f5.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-88148ccc.js';
3
+ import './index-7c0351f5.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-88148ccc.js';
3
+ import { a as articleHandlerInstance } from './index-7c0351f5.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 { u as Vector2, S as SVGUtils } from './index-88148ccc.js';
6
+ import { u as Vector2, S as SVGUtils } from './index-7c0351f5.js';
7
7
  import _possibleConstructorReturn from '@babel/runtime/helpers/possibleConstructorReturn';
8
8
  import _getPrototypeOf from '@babel/runtime/helpers/getPrototypeOf';
9
9
  import _get from '@babel/runtime/helpers/get';
@@ -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-88148ccc.js';
4
+ import { s as summaryHandlerInstance } from './index-7c0351f5.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, f as familyMembersOf, a as articleHandlerInstance, b as setHandlerInstance } from './index-88148ccc.js';
7
+ import { G as Grid, f as familyMembersOf, a as articleHandlerInstance, b as setHandlerInstance } from './index-7c0351f5.js';
8
8
  import DivaUtils, { DivaError } 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-88148ccc.js';
3
+ import './index-7c0351f5.js';
4
4
  import '@babel/runtime/helpers/slicedToArray';
5
5
  import '@babel/runtime/helpers/asyncToGenerator';
6
6
  import '@babel/runtime/helpers/defineProperty';
@@ -23376,7 +23376,7 @@ function initIDMArticles(jsonItems, catalogData) {
23376
23376
  }
23377
23377
  }
23378
23378
  function getCatalogArticle(article, catalogData) {
23379
- var _catalogData$catalogM, _article$typeKey, _article$salesNumber, _articleMask$name, _article$flatPrice, _article$depthBasicSh, _article$depthBasicSh2, _article$depthBasicSh3, _article$widthBasicSh, _article$widthBasicSh2, _article$widthBasicSh3, _article$heightBasicS, _article$heightBasicS2, _article$heightBasicS3, _article$weightNetto, _article$detailInfos, _article$detailInfos2, _article$detailInfos3, _ref, _ref2, _articleMask$groupnam;
23379
+ var _catalogData$catalogM, _article$typeKey, _article$salesNumber, _articleMask$name, _article$flatPrice, _article$depthBasicSh, _article$depthBasicSh2, _article$depthBasicSh3, _article$widthBasicSh, _article$widthBasicSh2, _article$widthBasicSh3, _article$heightBasicS, _article$heightBasicS2, _article$heightBasicS3, _article$weightNetto, _article$detailInfos, _article$detailInfos2, _article$detailInfos3, _ref, _ref2, _articleMask$groupnam, _article$typeKey2;
23380
23380
  var articleMask = (_catalogData$catalogM = catalogData.catalogMask) === null || _catalogData$catalogM === void 0 || (_catalogData$catalogM = _catalogData$catalogM.articles) === null || _catalogData$catalogM === void 0 ? void 0 : _catalogData$catalogM[article.typeNo];
23381
23381
  var lang = catalogData.api.getLanguageLowercase();
23382
23382
  // empty locale objects ({} or only empty strings) are truthy, so ?? alone doesn't fall back
@@ -23463,7 +23463,7 @@ function getCatalogArticle(article, catalogData) {
23463
23463
  });
23464
23464
  }),
23465
23465
  // an enricher group the user named wins over the mask, which only carries the renamed article text
23466
- groupName: (_ref = (_ref2 = article.groupName ? DivaUtils.getLocals(article.groupName, catalogData.api.getLanguage()) : undefined) !== null && _ref2 !== void 0 ? _ref2 : articleMask === null || articleMask === void 0 || (_articleMask$groupnam = articleMask.groupname) === null || _articleMask$groupnam === void 0 ? void 0 : _articleMask$groupnam[catalogData.api.getLanguage()]) !== null && _ref !== void 0 ? _ref : article.typeKey,
23466
+ groupName: (_ref = (_ref2 = article.groupName ? DivaUtils.getLocals(article.groupName, catalogData.api.getLanguage()) : undefined) !== null && _ref2 !== void 0 ? _ref2 : articleMask === null || articleMask === void 0 || (_articleMask$groupnam = articleMask.groupname) === null || _articleMask$groupnam === void 0 ? void 0 : _articleMask$groupnam[catalogData.api.getLanguage()]) !== null && _ref !== void 0 ? _ref : (_article$typeKey2 = article.typeKey) === null || _article$typeKey2 === void 0 ? void 0 : _article$typeKey2.toString(),
23467
23467
  groupName_locales: article.groupName
23468
23468
  };
23469
23469
  }
@@ -34333,7 +34333,7 @@ var DivaArticle = /*#__PURE__*/function () {
34333
34333
  break;
34334
34334
  }
34335
34335
  _context.next = 4;
34336
- return import('./ShelfPlanner-69cbb2c1.js');
34336
+ return import('./ShelfPlanner-83981004.js');
34337
34337
  case 4:
34338
34338
  _yield$import = _context.sent;
34339
34339
  ShelfPlanner = _yield$import["default"];
@@ -43178,7 +43178,7 @@ var DivaSet = /*#__PURE__*/function () {
43178
43178
  break;
43179
43179
  }
43180
43180
  _context5.next = 3;
43181
- return import('./DoorPlanner-fde32e61.js');
43181
+ return import('./DoorPlanner-de2fbac4.js');
43182
43182
  case 3:
43183
43183
  _yield$import = _context5.sent;
43184
43184
  DoorPlanner = _yield$import["default"];
@@ -51440,7 +51440,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
51440
51440
  break;
51441
51441
  case 3:
51442
51442
  _context12.next = 5;
51443
- return import('./PfisterWWSHandler-b9699549.js');
51443
+ return import('./PfisterWWSHandler-326e6be1.js');
51444
51444
  case 5:
51445
51445
  _yield$import = _context12.sent;
51446
51446
  PfisterWWSHandler = _yield$import["default"];
@@ -51448,7 +51448,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
51448
51448
  return _context12.abrupt("break", 27);
51449
51449
  case 9:
51450
51450
  _context12.next = 11;
51451
- return import('./LiviqueWWSHandler-9ee5b7cb.js');
51451
+ return import('./LiviqueWWSHandler-accb6d18.js');
51452
51452
  case 11:
51453
51453
  _yield$import2 = _context12.sent;
51454
51454
  LiviqueWWSHandler = _yield$import2["default"];
@@ -51456,7 +51456,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
51456
51456
  return _context12.abrupt("break", 27);
51457
51457
  case 15:
51458
51458
  _context12.next = 17;
51459
- return import('./SeriousBasketHandler-40e7e46c.js');
51459
+ return import('./SeriousBasketHandler-a90650e7.js');
51460
51460
  case 17:
51461
51461
  _yield$import3 = _context12.sent;
51462
51462
  SeriousWWSHandler = _yield$import3["default"];
@@ -51464,7 +51464,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
51464
51464
  return _context12.abrupt("break", 27);
51465
51465
  case 21:
51466
51466
  _context12.next = 23;
51467
- return import('./StandardWWSHandler-dbf02663.js');
51467
+ return import('./StandardWWSHandler-2dfbafa0.js');
51468
51468
  case 23:
51469
51469
  _yield$import4 = _context12.sent;
51470
51470
  StandardWWSHandler = _yield$import4["default"];
@@ -52862,7 +52862,7 @@ var PlannerHandler3D = /*#__PURE__*/function () {
52862
52862
  //If we need real time rendering initialize the SignalR and 3D host connection Handler
52863
52863
  bootMark('signalr: chunk import start');
52864
52864
  _context3.next = 3;
52865
- return import('./Host3DSignalR-0f97c7f3.js');
52865
+ return import('./Host3DSignalR-c2e185b3.js');
52866
52866
  case 3:
52867
52867
  _yield$import = _context3.sent;
52868
52868
  Host3DSignalR = _yield$import["default"];
@@ -57268,7 +57268,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
57268
57268
  break;
57269
57269
  case 9:
57270
57270
  _context5.next = 11;
57271
- return import('./DivaStandardPlanner-abd9609d.js');
57271
+ return import('./DivaStandardPlanner-54024d74.js');
57272
57272
  case 11:
57273
57273
  _yield$import = _context5.sent;
57274
57274
  DivaStandardPlanner = _yield$import["default"];
@@ -57283,7 +57283,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
57283
57283
  return _context5.abrupt("break", 22);
57284
57284
  case 16:
57285
57285
  _context5.next = 18;
57286
- return import('./DivaBoxPlanner-6ac448b4.js');
57286
+ return import('./DivaBoxPlanner-e93a8a11.js');
57287
57287
  case 18:
57288
57288
  _yield$import2 = _context5.sent;
57289
57289
  DivaBoxPlanner = _yield$import2["default"];
@@ -1,4 +1,4 @@
1
- export { aj as ArtifactGenerationError, Z as CatalogPlannerArticleData, W as Cell, Q as DivaArticle, a as DivaArticleHandler, Y as DivaBasketHandler, T as DivaCatalogData, b as DivaSetHandler, G as Grid, a0 as JsonDataCache, U as OptionCatalogData, _ as PROPERTY_SCHEMAS, P as PlannerElementData, R as Rendering, u as Vector2, V as Vector3, ac as Vector4, L as bootMark, a2 as bootMarksEnabled, a3 as bootNetworkMark, a4 as bootNow, a5 as bootRequestName, a6 as canSwitchTo, ag as collectStructureStepKeys, ad as creatRenderOrders, O as default, a7 as dockingFiltersMatch, ae as getOrigProductId, a1 as getSeriousSetNamePlaceholder, aa as getViewerStateToggles, af as headlessSession, X as loadAndRepairBasket, $ as propertyEncodingOf, ah as runHeadlessArtifactPass, ai as runHeadlessArtifactPassBatch, ab as setViewerStateToggle, a8 as switchElementOf, a9 as switchInitParamsOf } from './index-88148ccc.js';
1
+ export { aj as ArtifactGenerationError, Z as CatalogPlannerArticleData, W as Cell, Q as DivaArticle, a as DivaArticleHandler, Y as DivaBasketHandler, T as DivaCatalogData, b as DivaSetHandler, G as Grid, a0 as JsonDataCache, U as OptionCatalogData, _ as PROPERTY_SCHEMAS, P as PlannerElementData, R as Rendering, u as Vector2, V as Vector3, ac as Vector4, L as bootMark, a2 as bootMarksEnabled, a3 as bootNetworkMark, a4 as bootNow, a5 as bootRequestName, a6 as canSwitchTo, ag as collectStructureStepKeys, ad as creatRenderOrders, O as default, a7 as dockingFiltersMatch, ae as getOrigProductId, a1 as getSeriousSetNamePlaceholder, aa as getViewerStateToggles, af as headlessSession, X as loadAndRepairBasket, $ as propertyEncodingOf, ah as runHeadlessArtifactPass, ai as runHeadlessArtifactPassBatch, ab as setViewerStateToggle, a8 as switchElementOf, a9 as switchInitParamsOf } from './index-7c0351f5.js';
2
2
  export { DockingPoint } from '@crystaldesign/planner-core';
3
3
  import '@babel/runtime/helpers/slicedToArray';
4
4
  import '@babel/runtime/helpers/asyncToGenerator';
@@ -37,7 +37,7 @@ export interface IDMItemApi {
37
37
  depthBasicShapeFrom: number;
38
38
  depthBasicShapeTo: number;
39
39
  depthBasicShapeStepSize: number;
40
- typeKey: string;
40
+ typeKey: number;
41
41
  eClassNo: number;
42
42
  detailInfoRefs: {
43
43
  [key: number]: number[];
@@ -0,0 +1,2 @@
1
+ import './logger';
2
+ //# sourceMappingURL=idmPlacementTypeGroup.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"idmPlacementTypeGroup.test.d.ts","sourceRoot":"","sources":["../../../../../src/test/idmPlacementTypeGroup.test.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/web-planner-logic",
3
- "version": "26.14.0-beta.2",
3
+ "version": "26.14.0-beta.3",
4
4
  "description": "Headless web planner: session, geometry, render orders and product structure logic.",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -14,7 +14,7 @@
14
14
  "jest-junit": "^16.0.0"
15
15
  },
16
16
  "dependencies": {
17
- "@crystaldesign/planner-core": "26.14.0-beta.2",
17
+ "@crystaldesign/planner-core": "26.14.0-beta.3",
18
18
  "@microsoft/signalr": "^8.0.7",
19
19
  "@microsoft/signalr-protocol-msgpack": "^8.0.7",
20
20
  "axios": "^1.7.7",
@@ -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": "f3a9287b08f40dc66bcd1d0948444ca38fc20d34"
43
+ "gitHead": "b8182044116706b992a3be697f3cb083168ba850"
44
44
  }