@crystaldesign/web-planner-logic 24.10.0-beta.3 → 24.10.0-beta.5
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-5e914539.js → DivaBoxPlanner-be2f45b7.js} +3 -3
- package/build/cjs/{DivaSingleProductPlanner-bc3cba55.js → DivaSingleProductPlanner-50bf9dc8.js} +2 -2
- package/build/cjs/{DivaStandardPlanner-566655e6.js → DivaStandardPlanner-7d349085.js} +3 -3
- package/build/cjs/{DockingPointHandler-af9e33cd.js → DockingPointHandler-b4042d27.js} +1 -1
- package/build/cjs/{DoorPlanner-43f154e5.js → DoorPlanner-6a20b682.js} +1 -1
- package/build/cjs/{Host3DSignalR-863b0c3e.js → Host3DSignalR-f7f33fe7.js} +1 -1
- package/build/cjs/{LiviqueWWSHandler-4e78f8b7.js → LiviqueWWSHandler-1dcaf2f5.js} +1 -1
- package/build/cjs/{PfisterWWSHandler-faeb5d21.js → PfisterWWSHandler-b60e2dd4.js} +1 -1
- package/build/cjs/{PlannerHandler2D-028d6afb.js → PlannerHandler2D-844d0e1a.js} +2 -2
- package/build/cjs/{ProductBasketHandler-56b07b11.js → ProductBasketHandler-91e017b7.js} +1 -1
- package/build/cjs/{SeriousBasketHandler-fe75db7b.js → SeriousBasketHandler-f6de9720.js} +1 -1
- package/build/cjs/{ShelfPlanner-58f09a3d.js → ShelfPlanner-af92cdfb.js} +2 -2
- package/build/cjs/{StandardWWSHandler-b0cff99c.js → StandardWWSHandler-030a868f.js} +1 -1
- package/build/cjs/{index-beed7a21.js → index-c05ab217.js} +99 -41
- package/build/cjs/index.js +1 -1
- package/build/esm/{DivaBoxPlanner-323fb65b.js → DivaBoxPlanner-1b429c50.js} +3 -3
- package/build/esm/{DivaSingleProductPlanner-071e8c3e.js → DivaSingleProductPlanner-463106e5.js} +2 -2
- package/build/esm/{DivaStandardPlanner-daa97ddf.js → DivaStandardPlanner-52862aa8.js} +3 -3
- package/build/esm/{DockingPointHandler-940482af.js → DockingPointHandler-0dae0c91.js} +1 -1
- package/build/esm/{DoorPlanner-9b7e049f.js → DoorPlanner-60e7f69e.js} +1 -1
- package/build/esm/{Host3DSignalR-7a4eb7a8.js → Host3DSignalR-9733d510.js} +1 -1
- package/build/esm/{LiviqueWWSHandler-7b512ea4.js → LiviqueWWSHandler-11aee574.js} +1 -1
- package/build/esm/{PfisterWWSHandler-79a1725e.js → PfisterWWSHandler-d8d249ea.js} +1 -1
- package/build/esm/{PlannerHandler2D-b0fa14cc.js → PlannerHandler2D-dc938d0b.js} +2 -2
- package/build/esm/{ProductBasketHandler-08f98643.js → ProductBasketHandler-1f4cec9a.js} +1 -1
- package/build/esm/{SeriousBasketHandler-fc7cc3f7.js → SeriousBasketHandler-07c16989.js} +1 -1
- package/build/esm/{ShelfPlanner-e6ac8ae1.js → ShelfPlanner-a4914a65.js} +2 -2
- package/build/esm/{StandardWWSHandler-b1fed39e.js → StandardWWSHandler-f0685582.js} +1 -1
- package/build/esm/{index-8678b175.js → index-0c4bc491.js} +99 -41
- package/build/esm/index.js +1 -1
- package/build/types/web-planner-logic/src/index.d.ts +1 -0
- package/build/types/web-planner-logic/src/index.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/interface/API/TemplateConfigType.d.ts +1 -1
- package/build/types/web-planner-logic/src/interface/API/TemplateConfigType.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/interface/API/ViewConfigDataType.d.ts +1 -1
- package/build/types/web-planner-logic/src/interface/API/ViewConfigDataType.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/interface/CoreTypes/index.d.ts +43 -13
- package/build/types/web-planner-logic/src/interface/CoreTypes/index.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/interface/ShelfPlanner/plannerData.d.ts +3 -2
- package/build/types/web-planner-logic/src/interface/ShelfPlanner/plannerData.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/ConfigTree/Shelfplanner/ShelfPlannerGrid.d.ts +2 -1
- package/build/types/web-planner-logic/src/logic/ConfigTree/Shelfplanner/ShelfPlannerGrid.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/model/DivaCatalogData.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/model/Options/CatalogOptionData.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -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-c05ab217.js');
|
|
9
9
|
var DivaUtils = require('@crystaldesign/diva-utils');
|
|
10
10
|
var _toConsumableArray = require('@babel/runtime/helpers/toConsumableArray');
|
|
11
|
-
var DockingPointHandler = require('./DockingPointHandler-
|
|
12
|
-
var PlannerHandler2D = require('./PlannerHandler2D-
|
|
11
|
+
var DockingPointHandler = require('./DockingPointHandler-b4042d27.js');
|
|
12
|
+
var PlannerHandler2D = require('./PlannerHandler2D-844d0e1a.js');
|
|
13
13
|
require('@babel/runtime/helpers/objectWithoutProperties');
|
|
14
14
|
require('@babel/runtime/helpers/slicedToArray');
|
|
15
15
|
require('axios');
|
package/build/cjs/{DivaSingleProductPlanner-bc3cba55.js → DivaSingleProductPlanner-50bf9dc8.js}
RENAMED
|
@@ -5,8 +5,8 @@ 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-
|
|
9
|
-
var DockingPointHandler = require('./DockingPointHandler-
|
|
8
|
+
var index = require('./index-c05ab217.js');
|
|
9
|
+
var DockingPointHandler = require('./DockingPointHandler-b4042d27.js');
|
|
10
10
|
var DivaUtils = require('@crystaldesign/diva-utils');
|
|
11
11
|
require('@babel/runtime/helpers/objectWithoutProperties');
|
|
12
12
|
require('@babel/runtime/helpers/slicedToArray');
|
|
@@ -5,10 +5,10 @@ var _classCallCheck = require('@babel/runtime/helpers/classCallCheck');
|
|
|
5
5
|
var _createClass = require('@babel/runtime/helpers/createClass');
|
|
6
6
|
var _defineProperty = require('@babel/runtime/helpers/defineProperty');
|
|
7
7
|
var _regeneratorRuntime = require('@babel/runtime/regenerator');
|
|
8
|
-
var index = require('./index-
|
|
9
|
-
var DockingPointHandler = require('./DockingPointHandler-
|
|
8
|
+
var index = require('./index-c05ab217.js');
|
|
9
|
+
var DockingPointHandler = require('./DockingPointHandler-b4042d27.js');
|
|
10
10
|
var DivaUtils = require('@crystaldesign/diva-utils');
|
|
11
|
-
var PlannerHandler2D = require('./PlannerHandler2D-
|
|
11
|
+
var PlannerHandler2D = require('./PlannerHandler2D-844d0e1a.js');
|
|
12
12
|
require('@babel/runtime/helpers/objectWithoutProperties');
|
|
13
13
|
require('@babel/runtime/helpers/slicedToArray');
|
|
14
14
|
require('@babel/runtime/helpers/toConsumableArray');
|
|
@@ -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-c05ab217.js');
|
|
7
7
|
var DivaUtils = require('@crystaldesign/diva-utils');
|
|
8
8
|
|
|
9
9
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -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-c05ab217.js');
|
|
7
7
|
var DivaUtils = require('@crystaldesign/diva-utils');
|
|
8
8
|
require('@babel/runtime/helpers/asyncToGenerator');
|
|
9
9
|
require('@babel/runtime/regenerator');
|
|
@@ -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-c05ab217.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-c05ab217.js');
|
|
6
6
|
require('@babel/runtime/helpers/asyncToGenerator');
|
|
7
7
|
require('@babel/runtime/helpers/defineProperty');
|
|
8
8
|
require('@babel/runtime/regenerator');
|
|
@@ -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-c05ab217.js');
|
|
6
6
|
var basketModel = require('@crystaldesign/basket-model');
|
|
7
7
|
var DivaUtils = require('@crystaldesign/diva-utils');
|
|
8
8
|
require('@babel/runtime/helpers/asyncToGenerator');
|
|
@@ -5,12 +5,12 @@ 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-c05ab217.js');
|
|
9
9
|
var _toConsumableArray = require('@babel/runtime/helpers/toConsumableArray');
|
|
10
10
|
var fabric = require('fabric');
|
|
11
11
|
var DivaUtils = require('@crystaldesign/diva-utils');
|
|
12
12
|
var serialize = require('w3c-xmlserializer');
|
|
13
|
-
var DockingPointHandler = require('./DockingPointHandler-
|
|
13
|
+
var DockingPointHandler = require('./DockingPointHandler-b4042d27.js');
|
|
14
14
|
|
|
15
15
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
16
16
|
|
|
@@ -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-c05ab217.js');
|
|
6
6
|
require('@babel/runtime/helpers/asyncToGenerator');
|
|
7
7
|
require('@babel/runtime/helpers/defineProperty');
|
|
8
8
|
require('@babel/runtime/regenerator');
|
|
@@ -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-c05ab217.js');
|
|
7
7
|
var DivaUtils = require('@crystaldesign/diva-utils');
|
|
8
8
|
require('@babel/runtime/helpers/asyncToGenerator');
|
|
9
9
|
require('@babel/runtime/regenerator');
|
|
@@ -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-c05ab217.js');
|
|
10
10
|
var DivaUtils = require('@crystaldesign/diva-utils');
|
|
11
11
|
require('@babel/runtime/helpers/objectWithoutProperties');
|
|
12
12
|
require('@babel/runtime/helpers/slicedToArray');
|
|
@@ -487,7 +487,7 @@ var ShelfPlanner = /*#__PURE__*/function () {
|
|
|
487
487
|
} else {
|
|
488
488
|
var ret = false;
|
|
489
489
|
var grids = this.doesTakePlaceOnOtherGrids(accessoire) ? this.activeGrids : [grid];
|
|
490
|
-
if (grid.
|
|
490
|
+
if (grid.checkAccessoireInGridRules(accessoire)) {
|
|
491
491
|
return {
|
|
492
492
|
type: 'notAllowedByMaxQuantityReached',
|
|
493
493
|
size: size
|
|
@@ -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-c05ab217.js');
|
|
6
6
|
require('@babel/runtime/helpers/asyncToGenerator');
|
|
7
7
|
require('@babel/runtime/helpers/defineProperty');
|
|
8
8
|
require('@babel/runtime/regenerator');
|
|
@@ -17839,10 +17839,11 @@ var CatalogPlannerArticleData = /*#__PURE__*/function () {
|
|
|
17839
17839
|
|
|
17840
17840
|
var OptionCatalogData = /*#__PURE__*/function () {
|
|
17841
17841
|
function OptionCatalogData(codex, jsonOPT, catalogData) {
|
|
17842
|
-
var _catalogData$catalogM, _catalogData$catalogM2, _catalogData$catalogM3, _optionMask$name$cata, _optionMask$name, _catalogData$api$getL, _optionMask$name2, _optionMask$hidden, _optionMask$tabGroup, _catalogData$api$getL2, _ref, _optionMask$layout,
|
|
17842
|
+
var _catalogData$catalogM, _catalogData$catalogM2, _catalogData$catalogM3, _jsonOPT$Properties, _optionMask$propertie, _optionMask$name$cata, _optionMask$name, _catalogData$api$getL, _optionMask$name2, _optionMask$hidden, _optionMask$tabGroup, _catalogData$api$getL2, _ref, _optionMask$layout, _properties$find, _jsonOPT$showOPVAsArt;
|
|
17843
17843
|
_classCallCheck__default["default"](this, OptionCatalogData);
|
|
17844
17844
|
_defineProperty__default["default"](this, "opt", void 0);
|
|
17845
17845
|
var optionMask = (_catalogData$catalogM = (_catalogData$catalogM2 = catalogData.catalogMask) === null || _catalogData$catalogM2 === void 0 || (_catalogData$catalogM2 = _catalogData$catalogM2.options) === null || _catalogData$catalogM2 === void 0 ? void 0 : _catalogData$catalogM2[codex]) !== null && _catalogData$catalogM !== void 0 ? _catalogData$catalogM : codex.startsWith('OPT') ? (_catalogData$catalogM3 = catalogData.catalogMask) === null || _catalogData$catalogM3 === void 0 || (_catalogData$catalogM3 = _catalogData$catalogM3.options) === null || _catalogData$catalogM3 === void 0 ? void 0 : _catalogData$catalogM3[codex.substring(3)] : undefined;
|
|
17846
|
+
var properties = [].concat(_toConsumableArray__default["default"]((_jsonOPT$Properties = jsonOPT.Properties) !== null && _jsonOPT$Properties !== void 0 ? _jsonOPT$Properties : []), _toConsumableArray__default["default"]((_optionMask$propertie = optionMask === null || optionMask === void 0 ? void 0 : optionMask.properties) !== null && _optionMask$propertie !== void 0 ? _optionMask$propertie : []));
|
|
17846
17847
|
this.opt = {
|
|
17847
17848
|
codex: codex,
|
|
17848
17849
|
name: (_optionMask$name$cata = optionMask === null || optionMask === void 0 || (_optionMask$name = optionMask.name) === null || _optionMask$name === void 0 ? void 0 : _optionMask$name[(_catalogData$api$getL = catalogData.api.getLanguage()) === null || _catalogData$api$getL === void 0 ? void 0 : _catalogData$api$getL.toLowerCase()]) !== null && _optionMask$name$cata !== void 0 ? _optionMask$name$cata : jsonOPT.Name,
|
|
@@ -17853,9 +17854,9 @@ var OptionCatalogData = /*#__PURE__*/function () {
|
|
|
17853
17854
|
image: jsonOPT.Image ? jsonOPT.Image : undefined,
|
|
17854
17855
|
invisible: (_optionMask$hidden = optionMask === null || optionMask === void 0 ? void 0 : optionMask.hidden) !== null && _optionMask$hidden !== void 0 ? _optionMask$hidden : jsonOPT.Invisible != undefined ? jsonOPT.Invisible : false,
|
|
17855
17856
|
maskTabgroup: optionMask === null || optionMask === void 0 || (_optionMask$tabGroup = optionMask.tabGroup) === null || _optionMask$tabGroup === void 0 ? void 0 : _optionMask$tabGroup[(_catalogData$api$getL2 = catalogData.api.getLanguage()) === null || _catalogData$api$getL2 === void 0 ? void 0 : _catalogData$api$getL2.toLowerCase()],
|
|
17856
|
-
layout: (_ref = (_optionMask$layout = optionMask === null || optionMask === void 0 ? void 0 : optionMask.layout) !== null && _optionMask$layout !== void 0 ? _optionMask$layout :
|
|
17857
|
+
layout: (_ref = (_optionMask$layout = optionMask === null || optionMask === void 0 ? void 0 : optionMask.layout) !== null && _optionMask$layout !== void 0 ? _optionMask$layout : properties === null || properties === void 0 || (_properties$find = properties.find(function (p) {
|
|
17857
17858
|
return p.Codex == 'LAYOUT';
|
|
17858
|
-
})) === null ||
|
|
17859
|
+
})) === null || _properties$find === void 0 ? void 0 : _properties$find.Value) !== null && _ref !== void 0 ? _ref : jsonOPT.Layout != undefined ? jsonOPT.Layout : 'IMAGE',
|
|
17859
17860
|
multiselect: jsonOPT.Multiselect != undefined ? jsonOPT.Multiselect == 'True' : false,
|
|
17860
17861
|
sendToPIM: !!jsonOPT.SendToPIM,
|
|
17861
17862
|
useMaxPriceOfGroup: jsonOPT.UseMaxPriceOfGroup != undefined ? Number(jsonOPT.UseMaxPriceOfGroup) : undefined,
|
|
@@ -17864,7 +17865,7 @@ var OptionCatalogData = /*#__PURE__*/function () {
|
|
|
17864
17865
|
hideInOrderText: jsonOPT.hideInOrderText != undefined ? jsonOPT.hideInOrderText == 'True' : false,
|
|
17865
17866
|
showOPVCodex: jsonOPT.showOPVCodex != undefined ? jsonOPT.showOPVCodex == 'True' : false,
|
|
17866
17867
|
showOPVAsArticleNr: typeof jsonOPT.showOPVAsArticleNr == 'boolean' ? jsonOPT.showOPVAsArticleNr : ((_jsonOPT$showOPVAsArt = jsonOPT.showOPVAsArticleNr) === null || _jsonOPT$showOPVAsArt === void 0 ? void 0 : _jsonOPT$showOPVAsArt.toLowerCase()) == 'true',
|
|
17867
|
-
property:
|
|
17868
|
+
property: properties,
|
|
17868
17869
|
parentOptionCodex: jsonOPT.ParentOptionCodex,
|
|
17869
17870
|
articlePlaceholder: jsonOPT.ArticlePlaceholder && jsonOPT.ArticlePlaceholder == 'True' ? true : false,
|
|
17870
17871
|
isMultiselect: jsonOPT.Multiselect != undefined ? jsonOPT.Multiselect == 'True' : false
|
|
@@ -18299,7 +18300,28 @@ var DivaCatalogData = /*#__PURE__*/function () {
|
|
|
18299
18300
|
// old tag
|
|
18300
18301
|
useDecisionPosCountValue: false,
|
|
18301
18302
|
useShelfPlannerRTV: false,
|
|
18302
|
-
notificationsRules: [
|
|
18303
|
+
notificationsRules: [{
|
|
18304
|
+
rules: [{
|
|
18305
|
+
visitedOptions: ['SHELFARTICLE_1'],
|
|
18306
|
+
articles: [''],
|
|
18307
|
+
jsFormula: '',
|
|
18308
|
+
variantValues: {}
|
|
18309
|
+
}],
|
|
18310
|
+
checkOnEvents: {
|
|
18311
|
+
option: 'GR',
|
|
18312
|
+
articleCodex: '',
|
|
18313
|
+
optionValue: ''
|
|
18314
|
+
},
|
|
18315
|
+
type: 'notification',
|
|
18316
|
+
showInModal: true,
|
|
18317
|
+
onlyShowOnce: true,
|
|
18318
|
+
messageTitle: {
|
|
18319
|
+
DE: 'ospele'
|
|
18320
|
+
},
|
|
18321
|
+
message: {
|
|
18322
|
+
DE: 'Achtung alle änderungen gehen verlohren... Bist du sicher?'
|
|
18323
|
+
}
|
|
18324
|
+
}],
|
|
18303
18325
|
warningRule: [],
|
|
18304
18326
|
summaryTabGroupPosition: undefined,
|
|
18305
18327
|
onConfigSingleDontGeneralize: false,
|
|
@@ -18603,6 +18625,8 @@ var DivaCatalogData = /*#__PURE__*/function () {
|
|
|
18603
18625
|
_this.catalogData.bundleRules = JSON.parse(item.Value);
|
|
18604
18626
|
} else if (item.Codex == 'NOTIFICATIONS') {
|
|
18605
18627
|
_this.catalogData.notificationsRules = JSON.parse(item.Value);
|
|
18628
|
+
} else if (item.Codex == 'WARNINGS') {
|
|
18629
|
+
_this.catalogData.warningRule = JSON.parse(item.Value);
|
|
18606
18630
|
} else if (item.Codex == 'IGNORE_MAX_PRICE_AS_BASEPRICE') {
|
|
18607
18631
|
_this.catalogData.ignoreMaxPriceAsBP = item.Value == '1';
|
|
18608
18632
|
} else if (item.Codex == 'DONT_USE_VCODEX_FOR_BASKET') {
|
|
@@ -23520,7 +23544,7 @@ var DivaArticle = /*#__PURE__*/function () {
|
|
|
23520
23544
|
break;
|
|
23521
23545
|
}
|
|
23522
23546
|
_context.next = 4;
|
|
23523
|
-
return Promise.resolve().then(function () { return require('./ShelfPlanner-
|
|
23547
|
+
return Promise.resolve().then(function () { return require('./ShelfPlanner-af92cdfb.js'); });
|
|
23524
23548
|
case 4:
|
|
23525
23549
|
_yield$import = _context.sent;
|
|
23526
23550
|
ShelfPlanner = _yield$import["default"];
|
|
@@ -28008,7 +28032,7 @@ var DivaSet = /*#__PURE__*/function () {
|
|
|
28008
28032
|
break;
|
|
28009
28033
|
}
|
|
28010
28034
|
_context4.next = 3;
|
|
28011
|
-
return Promise.resolve().then(function () { return require('./DoorPlanner-
|
|
28035
|
+
return Promise.resolve().then(function () { return require('./DoorPlanner-6a20b682.js'); });
|
|
28012
28036
|
case 3:
|
|
28013
28037
|
_yield$import = _context4.sent;
|
|
28014
28038
|
DoorPlanner = _yield$import["default"];
|
|
@@ -29433,7 +29457,7 @@ var SummaryHandler = /*#__PURE__*/function () {
|
|
|
29433
29457
|
if (article.getArticleOptionState('OPT' + optionCodexes[0])) {
|
|
29434
29458
|
for (var i = 0; i < optionCodexes.length; i++) {
|
|
29435
29459
|
var optionState = article.getArticleOptionState('OPT' + optionCodexes[i]);
|
|
29436
|
-
if (!optionState.isInvisible && optionState.isDoShow && optionState.visibleCount > 0 && optionState.valCodex != 'OPVNR') {
|
|
29460
|
+
if (optionState && !optionState.isInvisible && optionState.isDoShow && optionState.visibleCount > 0 && optionState.valCodex != 'OPVNR') {
|
|
29437
29461
|
opss.push(optionState);
|
|
29438
29462
|
}
|
|
29439
29463
|
}
|
|
@@ -35801,7 +35825,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
35801
35825
|
break;
|
|
35802
35826
|
case 3:
|
|
35803
35827
|
_context13.next = 5;
|
|
35804
|
-
return Promise.resolve().then(function () { return require('./PfisterWWSHandler-
|
|
35828
|
+
return Promise.resolve().then(function () { return require('./PfisterWWSHandler-b60e2dd4.js'); });
|
|
35805
35829
|
case 5:
|
|
35806
35830
|
_yield$import = _context13.sent;
|
|
35807
35831
|
PfisterWWSHandler = _yield$import["default"];
|
|
@@ -35809,7 +35833,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
35809
35833
|
return _context13.abrupt("break", 33);
|
|
35810
35834
|
case 9:
|
|
35811
35835
|
_context13.next = 11;
|
|
35812
|
-
return Promise.resolve().then(function () { return require('./LiviqueWWSHandler-
|
|
35836
|
+
return Promise.resolve().then(function () { return require('./LiviqueWWSHandler-1dcaf2f5.js'); });
|
|
35813
35837
|
case 11:
|
|
35814
35838
|
_yield$import2 = _context13.sent;
|
|
35815
35839
|
LiviqueWWSHandler = _yield$import2["default"];
|
|
@@ -35817,7 +35841,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
35817
35841
|
return _context13.abrupt("break", 33);
|
|
35818
35842
|
case 15:
|
|
35819
35843
|
_context13.next = 17;
|
|
35820
|
-
return Promise.resolve().then(function () { return require('./SeriousBasketHandler-
|
|
35844
|
+
return Promise.resolve().then(function () { return require('./SeriousBasketHandler-f6de9720.js'); });
|
|
35821
35845
|
case 17:
|
|
35822
35846
|
_yield$import3 = _context13.sent;
|
|
35823
35847
|
SeriousWWSHandler = _yield$import3["default"];
|
|
@@ -35825,7 +35849,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
35825
35849
|
return _context13.abrupt("break", 33);
|
|
35826
35850
|
case 21:
|
|
35827
35851
|
_context13.next = 23;
|
|
35828
|
-
return Promise.resolve().then(function () { return require('./ProductBasketHandler-
|
|
35852
|
+
return Promise.resolve().then(function () { return require('./ProductBasketHandler-91e017b7.js'); });
|
|
35829
35853
|
case 23:
|
|
35830
35854
|
_yield$import4 = _context13.sent;
|
|
35831
35855
|
ProductWWSHandler = _yield$import4["default"];
|
|
@@ -35833,7 +35857,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
35833
35857
|
return _context13.abrupt("break", 33);
|
|
35834
35858
|
case 27:
|
|
35835
35859
|
_context13.next = 29;
|
|
35836
|
-
return Promise.resolve().then(function () { return require('./StandardWWSHandler-
|
|
35860
|
+
return Promise.resolve().then(function () { return require('./StandardWWSHandler-030a868f.js'); });
|
|
35837
35861
|
case 29:
|
|
35838
35862
|
_yield$import5 = _context13.sent;
|
|
35839
35863
|
StandardWWSHandler = _yield$import5["default"];
|
|
@@ -37038,7 +37062,7 @@ var PlannerHandler3D = /*#__PURE__*/function () {
|
|
|
37038
37062
|
break;
|
|
37039
37063
|
}
|
|
37040
37064
|
_context3.next = 3;
|
|
37041
|
-
return Promise.resolve().then(function () { return require('./Host3DSignalR-
|
|
37065
|
+
return Promise.resolve().then(function () { return require('./Host3DSignalR-f7f33fe7.js'); });
|
|
37042
37066
|
case 3:
|
|
37043
37067
|
_yield$import = _context3.sent;
|
|
37044
37068
|
Host3DSignalR = _yield$import["default"];
|
|
@@ -38598,7 +38622,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
|
|
|
38598
38622
|
break;
|
|
38599
38623
|
}
|
|
38600
38624
|
_context4.next = 11;
|
|
38601
|
-
return Promise.resolve().then(function () { return require('./DivaSingleProductPlanner-
|
|
38625
|
+
return Promise.resolve().then(function () { return require('./DivaSingleProductPlanner-50bf9dc8.js'); });
|
|
38602
38626
|
case 11:
|
|
38603
38627
|
_yield$import = _context4.sent;
|
|
38604
38628
|
DivaSingleProductPlanner = _yield$import["default"];
|
|
@@ -38607,7 +38631,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
|
|
|
38607
38631
|
break;
|
|
38608
38632
|
case 16:
|
|
38609
38633
|
_context4.next = 18;
|
|
38610
|
-
return Promise.resolve().then(function () { return require('./DivaStandardPlanner-
|
|
38634
|
+
return Promise.resolve().then(function () { return require('./DivaStandardPlanner-7d349085.js'); });
|
|
38611
38635
|
case 18:
|
|
38612
38636
|
_yield$import2 = _context4.sent;
|
|
38613
38637
|
DivaStandardPlanner = _yield$import2["default"];
|
|
@@ -38619,7 +38643,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
|
|
|
38619
38643
|
return _context4.abrupt("break", 29);
|
|
38620
38644
|
case 23:
|
|
38621
38645
|
_context4.next = 25;
|
|
38622
|
-
return Promise.resolve().then(function () { return require('./DivaBoxPlanner-
|
|
38646
|
+
return Promise.resolve().then(function () { return require('./DivaBoxPlanner-be2f45b7.js'); });
|
|
38623
38647
|
case 25:
|
|
38624
38648
|
_yield$import3 = _context4.sent;
|
|
38625
38649
|
DivaBoxPlanner = _yield$import3["default"];
|
|
@@ -43012,6 +43036,8 @@ var Grid = /*#__PURE__*/function () {
|
|
|
43012
43036
|
// E.g: "Grid Left" or "Grid Middle" or "Grid Right"
|
|
43013
43037
|
_defineProperty__default["default"](this, "gridName", void 0);
|
|
43014
43038
|
_defineProperty__default["default"](this, "maxAccessoireInGridCounter", void 0);
|
|
43039
|
+
//only one array of accessoires is plannable together in one grid. the accessoires of the mid array exclude each other. The outer array is for te usage of this rule in different usecases.
|
|
43040
|
+
_defineProperty__default["default"](this, "excludeAccessoiresByAccessoiresInGrid", void 0);
|
|
43015
43041
|
_defineProperty__default["default"](this, "influencedByNeighborGrids", void 0);
|
|
43016
43042
|
_defineProperty__default["default"](this, "influencedByOverlappingGrids", void 0);
|
|
43017
43043
|
var grid = data.ShelfPlanner[index];
|
|
@@ -43027,6 +43053,7 @@ var Grid = /*#__PURE__*/function () {
|
|
|
43027
43053
|
this.requiredWarning = grid.RequiredWarning;
|
|
43028
43054
|
this.gridName = grid.GridName;
|
|
43029
43055
|
this.maxAccessoireInGridCounter = grid.MaxAccessoireInGridCounter;
|
|
43056
|
+
this.excludeAccessoiresByAccessoiresInGrid = grid.ExcludeAccessoiresByAccessoiresInGrid;
|
|
43030
43057
|
this.influencedByNeighborGrids = grid.InfluencedByNeighborGrids;
|
|
43031
43058
|
this.influencedByOverlappingGrids = grid.InfluencedByOverlappingGrids;
|
|
43032
43059
|
this._group = grid.Group;
|
|
@@ -43039,8 +43066,9 @@ var Grid = /*#__PURE__*/function () {
|
|
|
43039
43066
|
for (var i = 0; i < this.heightGridCellCountOnRule.length; i++) {
|
|
43040
43067
|
var gridOnRule = this.heightGridCellCountOnRule[i];
|
|
43041
43068
|
if (this.article.evalRule(DivaUtils__default["default"].getRuleByFormula(gridOnRule.Rule))) {
|
|
43042
|
-
|
|
43043
|
-
|
|
43069
|
+
var _gridOnRule$HeightGri, _gridOnRule$ArticleRe;
|
|
43070
|
+
cellCount = (_gridOnRule$HeightGri = gridOnRule.HeightGridCellCount) !== null && _gridOnRule$HeightGri !== void 0 ? _gridOnRule$HeightGri : grid.HeightGridCellCount;
|
|
43071
|
+
this.articleRelations = (_gridOnRule$ArticleRe = gridOnRule.ArticleRelations) !== null && _gridOnRule$ArticleRe !== void 0 ? _gridOnRule$ArticleRe : grid.ArticleRelations;
|
|
43044
43072
|
if (gridOnRule.initAccArr) this.initAccArr = gridOnRule.initAccArr;
|
|
43045
43073
|
this.currentLoadedRuleIndex = i;
|
|
43046
43074
|
}
|
|
@@ -43712,7 +43740,7 @@ var Grid = /*#__PURE__*/function () {
|
|
|
43712
43740
|
key: "getFreeSpacesOfAccessoire",
|
|
43713
43741
|
value: function getFreeSpacesOfAccessoire(accessoire) {
|
|
43714
43742
|
var size = accessoire.shelfHeight;
|
|
43715
|
-
if (!size || this.disabledByRule || this.
|
|
43743
|
+
if (!size || this.disabledByRule || this.checkAccessoireInGridRules(accessoire)) return [];
|
|
43716
43744
|
var freeCells = [];
|
|
43717
43745
|
for (var i = 0; i < this.Cells.length; i++) {
|
|
43718
43746
|
var _cell$Article4;
|
|
@@ -43747,22 +43775,51 @@ var Grid = /*#__PURE__*/function () {
|
|
|
43747
43775
|
return _toConsumableArray__default["default"](new Set(freeCells));
|
|
43748
43776
|
}
|
|
43749
43777
|
}, {
|
|
43750
|
-
key: "
|
|
43751
|
-
value: function
|
|
43752
|
-
var _this$maxAccessoireIn;
|
|
43753
|
-
|
|
43754
|
-
|
|
43755
|
-
var
|
|
43756
|
-
|
|
43757
|
-
|
|
43758
|
-
|
|
43759
|
-
|
|
43760
|
-
var
|
|
43761
|
-
|
|
43762
|
-
|
|
43778
|
+
key: "checkAccessoireInGridRules",
|
|
43779
|
+
value: function checkAccessoireInGridRules(accessoire) {
|
|
43780
|
+
var _this$maxAccessoireIn, _this$excludeAccessoi;
|
|
43781
|
+
//max count in grid logic
|
|
43782
|
+
if ((_this$maxAccessoireIn = this.maxAccessoireInGridCounter) !== null && _this$maxAccessoireIn !== void 0 && _this$maxAccessoireIn.length) {
|
|
43783
|
+
for (var i = 0; i < this.maxAccessoireInGridCounter.length; i++) {
|
|
43784
|
+
var rule = this.maxAccessoireInGridCounter[i];
|
|
43785
|
+
var counter = 0;
|
|
43786
|
+
if (rule.accessoires.includes(accessoire.articleCodex)) {
|
|
43787
|
+
var currentAccessoires = Object.values(this.Accessoires);
|
|
43788
|
+
for (var j = 0; j < currentAccessoires.length; j++) {
|
|
43789
|
+
var curAcc = currentAccessoires[j];
|
|
43790
|
+
if (rule.accessoires.includes(curAcc.articleCodex)) {
|
|
43791
|
+
counter = counter + curAcc.quantity;
|
|
43792
|
+
}
|
|
43793
|
+
}
|
|
43794
|
+
if (counter >= rule.maxCount) return true;
|
|
43795
|
+
}
|
|
43796
|
+
}
|
|
43797
|
+
}
|
|
43798
|
+
|
|
43799
|
+
//accessories excluded eachother
|
|
43800
|
+
if ((_this$excludeAccessoi = this.excludeAccessoiresByAccessoiresInGrid) !== null && _this$excludeAccessoi !== void 0 && _this$excludeAccessoi.length) {
|
|
43801
|
+
var excludeAccessoiresGroup = this.excludeAccessoiresByAccessoiresInGrid;
|
|
43802
|
+
for (var _j2 = 0; _j2 < excludeAccessoiresGroup.length; _j2++) {
|
|
43803
|
+
var plannedAccessoireIndex = -1;
|
|
43804
|
+
var excludeAccessoires = excludeAccessoiresGroup[_j2];
|
|
43805
|
+
for (var _i16 = 0; _i16 < excludeAccessoires.length; _i16++) {
|
|
43806
|
+
var accessoireArray = excludeAccessoires[_i16];
|
|
43807
|
+
for (var basketId in this.Accessoires) {
|
|
43808
|
+
var palnnedAccessoire = this.Accessoires[basketId];
|
|
43809
|
+
if (accessoireArray.includes(palnnedAccessoire.articleCodex)) {
|
|
43810
|
+
plannedAccessoireIndex = _i16;
|
|
43811
|
+
break;
|
|
43812
|
+
}
|
|
43813
|
+
}
|
|
43814
|
+
if (plannedAccessoireIndex >= 0) break;
|
|
43815
|
+
}
|
|
43816
|
+
if (plannedAccessoireIndex >= 0) {
|
|
43817
|
+
for (var _i17 = 0; _i17 < excludeAccessoires.length; _i17++) {
|
|
43818
|
+
var _accessoireArray = excludeAccessoires[_i17];
|
|
43819
|
+
if (plannedAccessoireIndex == _i17) continue;
|
|
43820
|
+
if (_accessoireArray.includes(accessoire.articleCodex)) return true;
|
|
43763
43821
|
}
|
|
43764
43822
|
}
|
|
43765
|
-
if (counter >= rule.maxCount) return true;
|
|
43766
43823
|
}
|
|
43767
43824
|
}
|
|
43768
43825
|
return false;
|
|
@@ -43807,16 +43864,16 @@ var Grid = /*#__PURE__*/function () {
|
|
|
43807
43864
|
}
|
|
43808
43865
|
}
|
|
43809
43866
|
if ((_this$influencedByNei = this.influencedByNeighborGrids) !== null && _this$influencedByNei !== void 0 && _this$influencedByNei.length) {
|
|
43810
|
-
for (var
|
|
43867
|
+
for (var _i18 = 0; _i18 < this.influencedByNeighborGrids.length; _i18++) {
|
|
43811
43868
|
var _this$article$shelfPl2;
|
|
43812
|
-
var _influenced = this.influencedByNeighborGrids[
|
|
43869
|
+
var _influenced = this.influencedByNeighborGrids[_i18];
|
|
43813
43870
|
var neighborGrid = (_this$article$shelfPl2 = this.article.shelfPlanner) === null || _this$article$shelfPl2 === void 0 ? void 0 : _this$article$shelfPl2.getGridByGridName(_influenced.GridName);
|
|
43814
43871
|
var _ret = false;
|
|
43815
43872
|
if (!neighborGrid) continue;
|
|
43816
43873
|
if (neighborGrid.Direction === this.Direction) {
|
|
43817
|
-
for (var
|
|
43874
|
+
for (var _j3 = 0; _j3 < size; _j3++) {
|
|
43818
43875
|
var _cell$Article5;
|
|
43819
|
-
var cell = neighborGrid.cells[
|
|
43876
|
+
var cell = neighborGrid.cells[_j3 + index];
|
|
43820
43877
|
if ((cell === null || cell === void 0 ? void 0 : cell.InUse) !== -1 && ((_cell$Article5 = cell.Article) === null || _cell$Article5 === void 0 ? void 0 : _cell$Article5.basketId) !== accessoire.basketId) {
|
|
43821
43878
|
_ret = true;
|
|
43822
43879
|
}
|
|
@@ -43919,19 +43976,20 @@ var Grid = /*#__PURE__*/function () {
|
|
|
43919
43976
|
});
|
|
43920
43977
|
if (alternative) return alternative.ArticleRelations;
|
|
43921
43978
|
if (this.heightGridCellCountOnRule && this.currentLoadedRuleIndex !== false) {
|
|
43922
|
-
|
|
43979
|
+
var curGrid = this.heightGridCellCountOnRule[this.currentLoadedRuleIndex];
|
|
43980
|
+
if (curGrid.ArticleRelations) return curGrid.ArticleRelations;
|
|
43923
43981
|
}
|
|
43924
43982
|
return this.articleRelations;
|
|
43925
43983
|
}
|
|
43926
43984
|
}, {
|
|
43927
43985
|
key: "getGridIdByArticleCodex",
|
|
43928
43986
|
value: function getGridIdByArticleCodex(articleCodex) {
|
|
43929
|
-
var _this$ArticleRelation3;
|
|
43987
|
+
var _this$ArticleRelation3, _this$heightGridCellC;
|
|
43930
43988
|
var alternative = (_this$ArticleRelation3 = this.ArticleRelationsForOtherGroups) === null || _this$ArticleRelation3 === void 0 ? void 0 : _this$ArticleRelation3.find(function (g) {
|
|
43931
43989
|
return g.ArticleRelations.includes(articleCodex);
|
|
43932
43990
|
});
|
|
43933
43991
|
if (alternative) return alternative.Group;
|
|
43934
|
-
if (this.heightGridCellCountOnRule && this.currentLoadedRuleIndex !== false && this.heightGridCellCountOnRule[this.currentLoadedRuleIndex].ArticleRelations.includes(articleCodex)) {
|
|
43992
|
+
if (this.heightGridCellCountOnRule && this.currentLoadedRuleIndex !== false && (_this$heightGridCellC = this.heightGridCellCountOnRule[this.currentLoadedRuleIndex].ArticleRelations) !== null && _this$heightGridCellC !== void 0 && _this$heightGridCellC.includes(articleCodex)) {
|
|
43935
43993
|
return this.gridGroup;
|
|
43936
43994
|
}
|
|
43937
43995
|
if (this.articleRelations.includes(articleCodex)) {
|
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-c05ab217.js');
|
|
6
6
|
require('@babel/runtime/helpers/asyncToGenerator');
|
|
7
7
|
require('@babel/runtime/helpers/classCallCheck');
|
|
8
8
|
require('@babel/runtime/helpers/createClass');
|
|
@@ -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 { V as Vector3, B as BoundingBox } from './index-
|
|
6
|
+
import { V as Vector3, B as BoundingBox } from './index-0c4bc491.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 } from './DockingPointHandler-
|
|
10
|
-
import { h as handler2D } from './PlannerHandler2D-
|
|
9
|
+
import { d as dockingPointHandlerInst, P as PlannerElementData } from './DockingPointHandler-0dae0c91.js';
|
|
10
|
+
import { h as handler2D } from './PlannerHandler2D-dc938d0b.js';
|
|
11
11
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
12
12
|
import '@babel/runtime/helpers/slicedToArray';
|
|
13
13
|
import 'axios';
|
package/build/esm/{DivaSingleProductPlanner-071e8c3e.js → DivaSingleProductPlanner-463106e5.js}
RENAMED
|
@@ -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-
|
|
7
|
-
import { d as dockingPointHandlerInst, P as PlannerElementData } from './DockingPointHandler-
|
|
6
|
+
import { V as Vector3, c as Vector2, B as BoundingBox } from './index-0c4bc491.js';
|
|
7
|
+
import { d as dockingPointHandlerInst, P as PlannerElementData } from './DockingPointHandler-0dae0c91.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';
|
|
@@ -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, c as Vector2, B as BoundingBox } from './index-
|
|
7
|
-
import { d as dockingPointHandlerInst, P as PlannerElementData } from './DockingPointHandler-
|
|
6
|
+
import { V as Vector3, c as Vector2, B as BoundingBox } from './index-0c4bc491.js';
|
|
7
|
+
import { d as dockingPointHandlerInst, P as PlannerElementData } from './DockingPointHandler-0dae0c91.js';
|
|
8
8
|
import DivaUtils, { DivaError, md5 } from '@crystaldesign/diva-utils';
|
|
9
|
-
import { h as handler2D } from './PlannerHandler2D-
|
|
9
|
+
import { h as handler2D } from './PlannerHandler2D-dc938d0b.js';
|
|
10
10
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
11
11
|
import '@babel/runtime/helpers/slicedToArray';
|
|
12
12
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
@@ -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-
|
|
4
|
+
import { V as Vector3, c as Vector2, D as DockingPoint } from './index-0c4bc491.js';
|
|
5
5
|
import DivaUtils, { md5 } from '@crystaldesign/diva-utils';
|
|
6
6
|
|
|
7
7
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -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-0c4bc491.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-
|
|
6
|
+
import { R as Rendering, H as HQRenderScript } from './index-0c4bc491.js';
|
|
7
7
|
import DivaUtils, { DivaError } from '@crystaldesign/diva-utils';
|
|
8
8
|
import * as signalR 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-0c4bc491.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-
|
|
3
|
+
import './index-0c4bc491.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';
|
|
@@ -3,12 +3,12 @@ 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 { c as Vector2 } from './index-
|
|
6
|
+
import { c as Vector2 } from './index-0c4bc491.js';
|
|
7
7
|
import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
|
|
8
8
|
import { fabric } from 'fabric';
|
|
9
9
|
import DivaUtils, { DivaError } from '@crystaldesign/diva-utils';
|
|
10
10
|
import serialize from 'w3c-xmlserializer';
|
|
11
|
-
import { d as dockingPointHandlerInst } from './DockingPointHandler-
|
|
11
|
+
import { d as dockingPointHandlerInst } from './DockingPointHandler-0dae0c91.js';
|
|
12
12
|
|
|
13
13
|
var LOG$1 = DivaUtils.initLog('Planner', 'WEB-PLANNER-LOGIC');
|
|
14
14
|
var SVGUtils = /*#__PURE__*/function () {
|