@crystaldesign/web-planner-logic 26.13.0-rc.3 → 26.13.0-rc.4
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.
- package/build/cjs/{DivaBoxPlanner-7e75161a.js → DivaBoxPlanner-15e3b967.js} +2 -2
- package/build/cjs/{DivaStandardPlanner-71dc254c.js → DivaStandardPlanner-4d6c9460.js} +2 -2
- package/build/cjs/{DoorPlanner-e3c70a31.js → DoorPlanner-2301d76d.js} +1 -1
- package/build/cjs/{Host3DSignalR-421c62e0.js → Host3DSignalR-68cfd444.js} +1 -1
- package/build/cjs/{LiviqueWWSHandler-f041584b.js → LiviqueWWSHandler-7fc6cc80.js} +1 -1
- package/build/cjs/{PfisterWWSHandler-3b5b4586.js → PfisterWWSHandler-d2952617.js} +1 -1
- package/build/cjs/{PlannerHandler2D-cbbfddcb.js → PlannerHandler2D-3e8e2291.js} +1 -1
- package/build/cjs/{SeriousBasketHandler-96fa6b6b.js → SeriousBasketHandler-bad49d7f.js} +1 -1
- package/build/cjs/{ShelfPlanner-034b3178.js → ShelfPlanner-fcced9be.js} +1 -1
- package/build/cjs/{StandardWWSHandler-7d0ef8d8.js → StandardWWSHandler-e02c32b3.js} +1 -1
- package/build/cjs/{index-1edc258b.js → index-8a37b5a7.js} +11 -11
- package/build/cjs/index.js +1 -1
- package/build/esm/{DivaBoxPlanner-9ed9122e.js → DivaBoxPlanner-59b569bc.js} +2 -2
- package/build/esm/{DivaStandardPlanner-88141049.js → DivaStandardPlanner-1f3f1c38.js} +2 -2
- package/build/esm/{DoorPlanner-7203371d.js → DoorPlanner-0d300e2c.js} +1 -1
- package/build/esm/{Host3DSignalR-53103bc4.js → Host3DSignalR-544381ed.js} +1 -1
- package/build/esm/{LiviqueWWSHandler-618c626f.js → LiviqueWWSHandler-57ec4811.js} +1 -1
- package/build/esm/{PfisterWWSHandler-77f3fbd1.js → PfisterWWSHandler-78928e8f.js} +1 -1
- package/build/esm/{PlannerHandler2D-a6aa1758.js → PlannerHandler2D-c0380cdc.js} +1 -1
- package/build/esm/{SeriousBasketHandler-30cd6798.js → SeriousBasketHandler-708b8e6d.js} +1 -1
- package/build/esm/{ShelfPlanner-995577e6.js → ShelfPlanner-5b9604ad.js} +1 -1
- package/build/esm/{StandardWWSHandler-3b6b6dab.js → StandardWWSHandler-d693dc6d.js} +1 -1
- package/build/esm/{index-c90636eb.js → index-bae4b8e4.js} +11 -11
- package/build/esm/index.js +1 -1
- package/build/types/web-planner-logic/src/interface/IDM/ArticleApi.d.ts +1 -1
- package/build/types/web-planner-logic/src/test/idmPlacementTypeGroup.test.d.ts +2 -0
- package/build/types/web-planner-logic/src/test/idmPlacementTypeGroup.test.d.ts.map +1 -0
- 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-
|
|
8
|
+
var index = require('./index-8a37b5a7.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-
|
|
12
|
+
var PlannerHandler2D = require('./PlannerHandler2D-3e8e2291.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-
|
|
10
|
+
var index = require('./index-8a37b5a7.js');
|
|
11
11
|
var DivaUtils = require('@crystaldesign/diva-utils');
|
|
12
12
|
var plannerCore = require('@crystaldesign/planner-core');
|
|
13
|
-
var PlannerHandler2D = require('./PlannerHandler2D-
|
|
13
|
+
var PlannerHandler2D = require('./PlannerHandler2D-3e8e2291.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-
|
|
6
|
+
require('./index-8a37b5a7.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-
|
|
8
|
+
var index = require('./index-8a37b5a7.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-
|
|
5
|
+
require('./index-8a37b5a7.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-
|
|
5
|
+
var index = require('./index-8a37b5a7.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-
|
|
8
|
+
var index = require('./index-8a37b5a7.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-
|
|
6
|
+
var index = require('./index-8a37b5a7.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-
|
|
9
|
+
var index = require('./index-8a37b5a7.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-
|
|
5
|
+
require('./index-8a37b5a7.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-
|
|
34358
|
+
return Promise.resolve().then(function () { return require('./ShelfPlanner-fcced9be.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-
|
|
43203
|
+
return Promise.resolve().then(function () { return require('./DoorPlanner-2301d76d.js'); });
|
|
43204
43204
|
case 3:
|
|
43205
43205
|
_yield$import = _context5.sent;
|
|
43206
43206
|
DoorPlanner = _yield$import["default"];
|
|
@@ -51491,7 +51491,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
51491
51491
|
break;
|
|
51492
51492
|
case 3:
|
|
51493
51493
|
_context13.next = 5;
|
|
51494
|
-
return Promise.resolve().then(function () { return require('./PfisterWWSHandler-
|
|
51494
|
+
return Promise.resolve().then(function () { return require('./PfisterWWSHandler-d2952617.js'); });
|
|
51495
51495
|
case 5:
|
|
51496
51496
|
_yield$import = _context13.sent;
|
|
51497
51497
|
PfisterWWSHandler = _yield$import["default"];
|
|
@@ -51499,7 +51499,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
51499
51499
|
return _context13.abrupt("break", 27);
|
|
51500
51500
|
case 9:
|
|
51501
51501
|
_context13.next = 11;
|
|
51502
|
-
return Promise.resolve().then(function () { return require('./LiviqueWWSHandler-
|
|
51502
|
+
return Promise.resolve().then(function () { return require('./LiviqueWWSHandler-7fc6cc80.js'); });
|
|
51503
51503
|
case 11:
|
|
51504
51504
|
_yield$import2 = _context13.sent;
|
|
51505
51505
|
LiviqueWWSHandler = _yield$import2["default"];
|
|
@@ -51507,7 +51507,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
51507
51507
|
return _context13.abrupt("break", 27);
|
|
51508
51508
|
case 15:
|
|
51509
51509
|
_context13.next = 17;
|
|
51510
|
-
return Promise.resolve().then(function () { return require('./SeriousBasketHandler-
|
|
51510
|
+
return Promise.resolve().then(function () { return require('./SeriousBasketHandler-bad49d7f.js'); });
|
|
51511
51511
|
case 17:
|
|
51512
51512
|
_yield$import3 = _context13.sent;
|
|
51513
51513
|
SeriousWWSHandler = _yield$import3["default"];
|
|
@@ -51515,7 +51515,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
51515
51515
|
return _context13.abrupt("break", 27);
|
|
51516
51516
|
case 21:
|
|
51517
51517
|
_context13.next = 23;
|
|
51518
|
-
return Promise.resolve().then(function () { return require('./StandardWWSHandler-
|
|
51518
|
+
return Promise.resolve().then(function () { return require('./StandardWWSHandler-e02c32b3.js'); });
|
|
51519
51519
|
case 23:
|
|
51520
51520
|
_yield$import4 = _context13.sent;
|
|
51521
51521
|
StandardWWSHandler = _yield$import4["default"];
|
|
@@ -52913,7 +52913,7 @@ var PlannerHandler3D = /*#__PURE__*/function () {
|
|
|
52913
52913
|
//If we need real time rendering initialize the SignalR and 3D host connection Handler
|
|
52914
52914
|
bootMark('signalr: chunk import start');
|
|
52915
52915
|
_context3.next = 3;
|
|
52916
|
-
return Promise.resolve().then(function () { return require('./Host3DSignalR-
|
|
52916
|
+
return Promise.resolve().then(function () { return require('./Host3DSignalR-68cfd444.js'); });
|
|
52917
52917
|
case 3:
|
|
52918
52918
|
_yield$import = _context3.sent;
|
|
52919
52919
|
Host3DSignalR = _yield$import["default"];
|
|
@@ -57319,7 +57319,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
|
|
|
57319
57319
|
break;
|
|
57320
57320
|
case 9:
|
|
57321
57321
|
_context5.next = 11;
|
|
57322
|
-
return Promise.resolve().then(function () { return require('./DivaStandardPlanner-
|
|
57322
|
+
return Promise.resolve().then(function () { return require('./DivaStandardPlanner-4d6c9460.js'); });
|
|
57323
57323
|
case 11:
|
|
57324
57324
|
_yield$import = _context5.sent;
|
|
57325
57325
|
DivaStandardPlanner = _yield$import["default"];
|
|
@@ -57334,7 +57334,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
|
|
|
57334
57334
|
return _context5.abrupt("break", 22);
|
|
57335
57335
|
case 16:
|
|
57336
57336
|
_context5.next = 18;
|
|
57337
|
-
return Promise.resolve().then(function () { return require('./DivaBoxPlanner-
|
|
57337
|
+
return Promise.resolve().then(function () { return require('./DivaBoxPlanner-15e3b967.js'); });
|
|
57338
57338
|
case 18:
|
|
57339
57339
|
_yield$import2 = _context5.sent;
|
|
57340
57340
|
DivaBoxPlanner = _yield$import2["default"];
|
package/build/cjs/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var index = require('./index-
|
|
5
|
+
var index = require('./index-8a37b5a7.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-
|
|
6
|
+
import { u as Vector2, V as Vector3, P as PlannerElementData, J as BoundingBox } from './index-bae4b8e4.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-
|
|
10
|
+
import { d as dockingPointHandlerInst, h as handler2D } from './PlannerHandler2D-c0380cdc.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-
|
|
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-bae4b8e4.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-
|
|
11
|
+
import { d as dockingPointHandlerInst, h as handler2D } from './PlannerHandler2D-c0380cdc.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-
|
|
4
|
+
import './index-bae4b8e4.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-
|
|
6
|
+
import { L as bootMark, R as Rendering, N as HQRenderScript } from './index-bae4b8e4.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-
|
|
3
|
+
import './index-bae4b8e4.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-
|
|
3
|
+
import { a as articleHandlerInstance } from './index-bae4b8e4.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-
|
|
6
|
+
import { u as Vector2, S as SVGUtils } from './index-bae4b8e4.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-
|
|
4
|
+
import { s as summaryHandlerInstance } from './index-bae4b8e4.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-
|
|
7
|
+
import { G as Grid, f as familyMembersOf, a as articleHandlerInstance, b as setHandlerInstance } from './index-bae4b8e4.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-
|
|
3
|
+
import './index-bae4b8e4.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-
|
|
34336
|
+
return import('./ShelfPlanner-5b9604ad.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-
|
|
43181
|
+
return import('./DoorPlanner-0d300e2c.js');
|
|
43182
43182
|
case 3:
|
|
43183
43183
|
_yield$import = _context5.sent;
|
|
43184
43184
|
DoorPlanner = _yield$import["default"];
|
|
@@ -51469,7 +51469,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
51469
51469
|
break;
|
|
51470
51470
|
case 3:
|
|
51471
51471
|
_context13.next = 5;
|
|
51472
|
-
return import('./PfisterWWSHandler-
|
|
51472
|
+
return import('./PfisterWWSHandler-78928e8f.js');
|
|
51473
51473
|
case 5:
|
|
51474
51474
|
_yield$import = _context13.sent;
|
|
51475
51475
|
PfisterWWSHandler = _yield$import["default"];
|
|
@@ -51477,7 +51477,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
51477
51477
|
return _context13.abrupt("break", 27);
|
|
51478
51478
|
case 9:
|
|
51479
51479
|
_context13.next = 11;
|
|
51480
|
-
return import('./LiviqueWWSHandler-
|
|
51480
|
+
return import('./LiviqueWWSHandler-57ec4811.js');
|
|
51481
51481
|
case 11:
|
|
51482
51482
|
_yield$import2 = _context13.sent;
|
|
51483
51483
|
LiviqueWWSHandler = _yield$import2["default"];
|
|
@@ -51485,7 +51485,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
51485
51485
|
return _context13.abrupt("break", 27);
|
|
51486
51486
|
case 15:
|
|
51487
51487
|
_context13.next = 17;
|
|
51488
|
-
return import('./SeriousBasketHandler-
|
|
51488
|
+
return import('./SeriousBasketHandler-708b8e6d.js');
|
|
51489
51489
|
case 17:
|
|
51490
51490
|
_yield$import3 = _context13.sent;
|
|
51491
51491
|
SeriousWWSHandler = _yield$import3["default"];
|
|
@@ -51493,7 +51493,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
51493
51493
|
return _context13.abrupt("break", 27);
|
|
51494
51494
|
case 21:
|
|
51495
51495
|
_context13.next = 23;
|
|
51496
|
-
return import('./StandardWWSHandler-
|
|
51496
|
+
return import('./StandardWWSHandler-d693dc6d.js');
|
|
51497
51497
|
case 23:
|
|
51498
51498
|
_yield$import4 = _context13.sent;
|
|
51499
51499
|
StandardWWSHandler = _yield$import4["default"];
|
|
@@ -52891,7 +52891,7 @@ var PlannerHandler3D = /*#__PURE__*/function () {
|
|
|
52891
52891
|
//If we need real time rendering initialize the SignalR and 3D host connection Handler
|
|
52892
52892
|
bootMark('signalr: chunk import start');
|
|
52893
52893
|
_context3.next = 3;
|
|
52894
|
-
return import('./Host3DSignalR-
|
|
52894
|
+
return import('./Host3DSignalR-544381ed.js');
|
|
52895
52895
|
case 3:
|
|
52896
52896
|
_yield$import = _context3.sent;
|
|
52897
52897
|
Host3DSignalR = _yield$import["default"];
|
|
@@ -57297,7 +57297,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
|
|
|
57297
57297
|
break;
|
|
57298
57298
|
case 9:
|
|
57299
57299
|
_context5.next = 11;
|
|
57300
|
-
return import('./DivaStandardPlanner-
|
|
57300
|
+
return import('./DivaStandardPlanner-1f3f1c38.js');
|
|
57301
57301
|
case 11:
|
|
57302
57302
|
_yield$import = _context5.sent;
|
|
57303
57303
|
DivaStandardPlanner = _yield$import["default"];
|
|
@@ -57312,7 +57312,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
|
|
|
57312
57312
|
return _context5.abrupt("break", 22);
|
|
57313
57313
|
case 16:
|
|
57314
57314
|
_context5.next = 18;
|
|
57315
|
-
return import('./DivaBoxPlanner-
|
|
57315
|
+
return import('./DivaBoxPlanner-59b569bc.js');
|
|
57316
57316
|
case 18:
|
|
57317
57317
|
_yield$import2 = _context5.sent;
|
|
57318
57318
|
DivaBoxPlanner = _yield$import2["default"];
|
package/build/esm/index.js
CHANGED
|
@@ -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-
|
|
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-bae4b8e4.js';
|
|
2
2
|
export { DockingPoint } from '@crystaldesign/planner-core';
|
|
3
3
|
import '@babel/runtime/helpers/slicedToArray';
|
|
4
4
|
import '@babel/runtime/helpers/asyncToGenerator';
|
|
@@ -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.13.0-rc.
|
|
3
|
+
"version": "26.13.0-rc.4",
|
|
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.13.0-rc.
|
|
17
|
+
"@crystaldesign/planner-core": "26.13.0-rc.4",
|
|
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": "
|
|
43
|
+
"gitHead": "e9d86c47a5dd669ef7bdda9425c7d8953c1463b9"
|
|
44
44
|
}
|