@crystaldesign/web-planner-logic 25.13.0-beta.1 → 25.13.0-beta.10
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-f865ff9c.js → DivaBoxPlanner-9dc63e6c.js} +2 -2
- package/build/cjs/{DivaStandardPlanner-f44f3a03.js → DivaStandardPlanner-edc8adbb.js} +2 -2
- package/build/cjs/{DoorPlanner-17dc699e.js → DoorPlanner-4184aa93.js} +1 -1
- package/build/cjs/{Host3DSignalR-3843e7c8.js → Host3DSignalR-3e4afb1c.js} +1 -1
- package/build/cjs/{LiviqueWWSHandler-79580044.js → LiviqueWWSHandler-566296fe.js} +1 -1
- package/build/cjs/{PfisterWWSHandler-edc45ac1.js → PfisterWWSHandler-c131cf9d.js} +1 -1
- package/build/cjs/{PlannerHandler2D-16bf8df8.js → PlannerHandler2D-cdf785a8.js} +4 -2
- package/build/cjs/{SeriousBasketHandler-fd41e561.js → SeriousBasketHandler-62a42abd.js} +1 -1
- package/build/cjs/{ShelfPlanner-20d69956.js → ShelfPlanner-5d155708.js} +1 -1
- package/build/cjs/{StandardWWSHandler-28bf51c2.js → StandardWWSHandler-e33be010.js} +1 -1
- package/build/cjs/{index-a94c390e.js → index-589e2f4b.js} +54 -45
- package/build/cjs/index.js +1 -1
- package/build/esm/{DivaBoxPlanner-68462b01.js → DivaBoxPlanner-091c8b09.js} +2 -2
- package/build/esm/{DivaStandardPlanner-42600bb1.js → DivaStandardPlanner-8c6fe69d.js} +2 -2
- package/build/esm/{DoorPlanner-596bb4c5.js → DoorPlanner-b7931e1b.js} +1 -1
- package/build/esm/{Host3DSignalR-a339ed56.js → Host3DSignalR-f59bbfff.js} +1 -1
- package/build/esm/{LiviqueWWSHandler-92b609cb.js → LiviqueWWSHandler-17487162.js} +1 -1
- package/build/esm/{PfisterWWSHandler-baae60f9.js → PfisterWWSHandler-38fd3e0b.js} +1 -1
- package/build/esm/{PlannerHandler2D-36cd084c.js → PlannerHandler2D-80d37ff1.js} +4 -2
- package/build/esm/{SeriousBasketHandler-b8bc14db.js → SeriousBasketHandler-2843e656.js} +1 -1
- package/build/esm/{ShelfPlanner-ed43c290.js → ShelfPlanner-d144ac1f.js} +1 -1
- package/build/esm/{StandardWWSHandler-14b103ac.js → StandardWWSHandler-c87284af.js} +1 -1
- package/build/esm/{index-d67e1a1c.js → index-f875e861.js} +54 -45
- package/build/esm/index.js +1 -1
- package/build/types/web-planner-logic/src/index.d.ts +1 -1
- package/build/types/web-planner-logic/src/index.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/interface/CoreTypes/index.d.ts +4 -0
- package/build/types/web-planner-logic/src/interface/CoreTypes/index.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/interface/OptionTypes/CatalogOptionDataTypes.d.ts +2 -0
- package/build/types/web-planner-logic/src/interface/OptionTypes/CatalogOptionDataTypes.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/interface/ViewTypes/index.d.ts +7 -0
- package/build/types/web-planner-logic/src/interface/ViewTypes/index.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/ConfigTree/DivaConfigTreeHandler.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/DivaWebPlanner.d.ts +2 -2
- package/build/types/web-planner-logic/src/logic/DivaWebPlanner.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/Planner/PlannerUtils/PlannerHandler2D.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/Set/DivaSetHandler.d.ts +3 -1
- package/build/types/web-planner-logic/src/logic/Set/DivaSetHandler.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/model/Options/CatalogOptionData.d.ts +1 -0
- package/build/types/web-planner-logic/src/model/Options/CatalogOptionData.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -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-
|
|
8
|
+
var index = require('./index-589e2f4b.js');
|
|
9
9
|
var DivaUtils = require('@crystaldesign/diva-utils');
|
|
10
10
|
var _toConsumableArray = require('@babel/runtime/helpers/toConsumableArray');
|
|
11
|
-
var PlannerHandler2D = require('./PlannerHandler2D-
|
|
11
|
+
var PlannerHandler2D = require('./PlannerHandler2D-cdf785a8.js');
|
|
12
12
|
require('@babel/runtime/helpers/slicedToArray');
|
|
13
13
|
require('@babel/runtime/helpers/objectWithoutProperties');
|
|
14
14
|
require('axios');
|
|
@@ -5,9 +5,9 @@ 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-589e2f4b.js');
|
|
9
9
|
var DivaUtils = require('@crystaldesign/diva-utils');
|
|
10
|
-
var PlannerHandler2D = require('./PlannerHandler2D-
|
|
10
|
+
var PlannerHandler2D = require('./PlannerHandler2D-cdf785a8.js');
|
|
11
11
|
require('@babel/runtime/helpers/slicedToArray');
|
|
12
12
|
require('@babel/runtime/helpers/objectWithoutProperties');
|
|
13
13
|
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
|
-
require('./index-
|
|
6
|
+
require('./index-589e2f4b.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-589e2f4b.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-589e2f4b.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-589e2f4b.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-589e2f4b.js');
|
|
9
9
|
var _toConsumableArray = require('@babel/runtime/helpers/toConsumableArray');
|
|
10
10
|
var fabric = require('fabric');
|
|
11
11
|
var DivaUtils = require('@crystaldesign/diva-utils');
|
|
@@ -2064,7 +2064,9 @@ var PlannerHandler2D = /*#__PURE__*/function () {
|
|
|
2064
2064
|
dockingPointHandlerInst.initDockingPointsFromSvg(plannerElement, this.svgUtils.getDPsInSVG(svgXml), minBorderSVG, plannerconfig);
|
|
2065
2065
|
var svgXmlOLT = this.svgUtils.removeOLFFromSvg(svgXml);
|
|
2066
2066
|
var oltPoints = this.svgUtils.getPointOfPoligonById(svgXml, 'OLT');
|
|
2067
|
-
if (oltPoints
|
|
2067
|
+
if (!(oltPoints !== null && oltPoints !== void 0 && oltPoints.length)) {
|
|
2068
|
+
LOG.error(new DivaUtils.DivaError('no olt fount in svg for element' + plannerElement.ArticleCodex + ' with id ' + plannerElement.getElementId()));
|
|
2069
|
+
}
|
|
2068
2070
|
plannerElement.OLTPolygon = oltPoints;
|
|
2069
2071
|
var olf = this.svgUtils.getPointOfPoligonById(svgXml, 'OLF');
|
|
2070
2072
|
if (olf !== null && olf !== void 0 && olf.length) {
|
|
@@ -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-589e2f4b.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-589e2f4b.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-589e2f4b.js');
|
|
6
6
|
require('@babel/runtime/helpers/slicedToArray');
|
|
7
7
|
require('@babel/runtime/helpers/asyncToGenerator');
|
|
8
8
|
require('@babel/runtime/helpers/defineProperty');
|
|
@@ -2009,6 +2009,9 @@ var OptionCatalogData = /*#__PURE__*/function () {
|
|
|
2009
2009
|
case 'Multiselect':
|
|
2010
2010
|
this.opt.isMultiselect = prop.Value == '1';
|
|
2011
2011
|
break;
|
|
2012
|
+
case 'ADDITIONAL_GROUP_FILTER':
|
|
2013
|
+
this.opt.additionalGroupFilter = JSON.parse(prop.Value);
|
|
2014
|
+
break;
|
|
2012
2015
|
case 'ION_COMMENT_TEXT':
|
|
2013
2016
|
case 'SHOW_IN_BASKET_WHEN_HAS_PRICE':
|
|
2014
2017
|
case 'FEATURE_TYPE':
|
|
@@ -2269,6 +2272,11 @@ var OptionCatalogData = /*#__PURE__*/function () {
|
|
|
2269
2272
|
get: function get() {
|
|
2270
2273
|
return this.opt.ignorePgrGroupPosition;
|
|
2271
2274
|
}
|
|
2275
|
+
}, {
|
|
2276
|
+
key: "additionalGroupFilter",
|
|
2277
|
+
get: function get() {
|
|
2278
|
+
return this.opt.additionalGroupFilter;
|
|
2279
|
+
}
|
|
2272
2280
|
}]);
|
|
2273
2281
|
}();
|
|
2274
2282
|
|
|
@@ -28385,7 +28393,7 @@ var DivaArticle = /*#__PURE__*/function () {
|
|
|
28385
28393
|
break;
|
|
28386
28394
|
}
|
|
28387
28395
|
_context.next = 4;
|
|
28388
|
-
return Promise.resolve().then(function () { return require('./ShelfPlanner-
|
|
28396
|
+
return Promise.resolve().then(function () { return require('./ShelfPlanner-5d155708.js'); });
|
|
28389
28397
|
case 4:
|
|
28390
28398
|
_yield$import = _context.sent;
|
|
28391
28399
|
ShelfPlanner = _yield$import["default"];
|
|
@@ -28843,7 +28851,7 @@ var DivaArticle = /*#__PURE__*/function () {
|
|
|
28843
28851
|
var checkPrice = this.article.priceRefs[i];
|
|
28844
28852
|
if (checkPrice.Price) {
|
|
28845
28853
|
if (typeof checkPrice.ISABP == 'string' && checkPrice.ISABP == 'True' || typeof checkPrice.ISABP == 'boolean' && checkPrice.ISABP) {
|
|
28846
|
-
var _checkPrice$PPG, _checkPrice$RuleDesc_, _myPriceData$BasePric;
|
|
28854
|
+
var _checkPrice$PPG, _checkPrice$RuleDesc_, _myPriceData$BasePric, _checkPrice$RuleDescU;
|
|
28847
28855
|
myPriceData.BasePrice = checkPrice.Price;
|
|
28848
28856
|
myPriceData.FormatedPrice = DivaUtils__default["default"].formatPrice(checkPrice.Price);
|
|
28849
28857
|
myPriceData.BasePriceGroup = (_checkPrice$PPG = checkPrice.PPG) !== null && _checkPrice$PPG !== void 0 ? _checkPrice$PPG : '';
|
|
@@ -28853,7 +28861,7 @@ var DivaArticle = /*#__PURE__*/function () {
|
|
|
28853
28861
|
(_myPriceData$BasePric = myPriceData.BasePrices) === null || _myPriceData$BasePric === void 0 || _myPriceData$BasePric.push({
|
|
28854
28862
|
BasePrice: checkPrice.Price,
|
|
28855
28863
|
FormatedPrice: DivaUtils__default["default"].formatPrice(checkPrice.Price),
|
|
28856
|
-
BasePriceTitle: checkPrice.RuleDesc,
|
|
28864
|
+
BasePriceTitle: (_checkPrice$RuleDescU = checkPrice.RuleDescUsedOpts) !== null && _checkPrice$RuleDescU !== void 0 ? _checkPrice$RuleDescU : checkPrice.RuleDesc,
|
|
28857
28865
|
BasePriceGroup: checkPrice.PPG
|
|
28858
28866
|
});
|
|
28859
28867
|
} else {
|
|
@@ -28869,8 +28877,8 @@ var DivaArticle = /*#__PURE__*/function () {
|
|
|
28869
28877
|
}
|
|
28870
28878
|
}
|
|
28871
28879
|
} else {
|
|
28872
|
-
var _checkPrice$
|
|
28873
|
-
myPriceData.addAdditionalPrice((_checkPrice$
|
|
28880
|
+
var _checkPrice$RuleDescU2;
|
|
28881
|
+
myPriceData.addAdditionalPrice((_checkPrice$RuleDescU2 = checkPrice.RuleDescUsedOpts) !== null && _checkPrice$RuleDescU2 !== void 0 ? _checkPrice$RuleDescU2 : checkPrice.RuleDesc, checkPrice.Price, DivaUtils__default["default"].formatPrice(checkPrice.Price), checkPrice.PPG ? checkPrice.PPG : '', checkPrice.OPT ? checkPrice.OPT.replace('OPT', '') : '', '');
|
|
28874
28882
|
}
|
|
28875
28883
|
}
|
|
28876
28884
|
}
|
|
@@ -32916,7 +32924,7 @@ var DivaSet = /*#__PURE__*/function () {
|
|
|
32916
32924
|
break;
|
|
32917
32925
|
}
|
|
32918
32926
|
_context5.next = 3;
|
|
32919
|
-
return Promise.resolve().then(function () { return require('./DoorPlanner-
|
|
32927
|
+
return Promise.resolve().then(function () { return require('./DoorPlanner-4184aa93.js'); });
|
|
32920
32928
|
case 3:
|
|
32921
32929
|
_yield$import = _context5.sent;
|
|
32922
32930
|
DoorPlanner = _yield$import["default"];
|
|
@@ -37563,8 +37571,8 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
37563
37571
|
}, {
|
|
37564
37572
|
key: "loadConfigItemsOfActSetByConfigStepKey",
|
|
37565
37573
|
value: function () {
|
|
37566
|
-
var _loadConfigItemsOfActSetByConfigStepKey = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee22(set, configStepKey, visible) {
|
|
37567
|
-
var _configItems$option;
|
|
37574
|
+
var _loadConfigItemsOfActSetByConfigStepKey = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee22(set, configStepKey, visible, hidePricePreview) {
|
|
37575
|
+
var _configItems$option, _configItems$option2;
|
|
37568
37576
|
var configItems, paletteType, filterType, stepInfo, contentItemId;
|
|
37569
37577
|
return _regeneratorRuntime__default["default"].wrap(function _callee22$(_context24) {
|
|
37570
37578
|
while (1) switch (_context24.prev = _context24.next) {
|
|
@@ -37576,7 +37584,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
37576
37584
|
paletteType = set.configTree.getCurPaletteType(set, configStepKey);
|
|
37577
37585
|
configItems.configItems = this.removeDockingInfluencableconfigItems(set, configItems.configItems, configStepKey);
|
|
37578
37586
|
_context24.next = 7;
|
|
37579
|
-
return this.variantsEvaluator(set, configItems.configItems, configStepKey, paletteType);
|
|
37587
|
+
return this.variantsEvaluator(set, configItems.configItems, configStepKey, paletteType, hidePricePreview);
|
|
37580
37588
|
case 7:
|
|
37581
37589
|
configItems.configItems = _context24.sent;
|
|
37582
37590
|
filterType = set.configTree.getCurFilterType(configStepKey, configItems.configItems);
|
|
@@ -37591,7 +37599,8 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
37591
37599
|
filterType: filterType,
|
|
37592
37600
|
stepInfo: stepInfo
|
|
37593
37601
|
}, set.configTree.getOptionStuff(configStepKey, set)), {}, {
|
|
37594
|
-
contentItemId: contentItemId
|
|
37602
|
+
contentItemId: contentItemId,
|
|
37603
|
+
conceptFilter: (_configItems$option2 = configItems.option) === null || _configItems$option2 === void 0 ? void 0 : _configItems$option2.additionalGroupFilter
|
|
37595
37604
|
}));
|
|
37596
37605
|
case 12:
|
|
37597
37606
|
case "end":
|
|
@@ -37599,7 +37608,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
37599
37608
|
}
|
|
37600
37609
|
}, _callee22, this);
|
|
37601
37610
|
}));
|
|
37602
|
-
function loadConfigItemsOfActSetByConfigStepKey(_x81, _x82, _x83) {
|
|
37611
|
+
function loadConfigItemsOfActSetByConfigStepKey(_x81, _x82, _x83, _x84) {
|
|
37603
37612
|
return _loadConfigItemsOfActSetByConfigStepKey.apply(this, arguments);
|
|
37604
37613
|
}
|
|
37605
37614
|
return loadConfigItemsOfActSetByConfigStepKey;
|
|
@@ -37641,7 +37650,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
37641
37650
|
}, {
|
|
37642
37651
|
key: "variantsEvaluator",
|
|
37643
37652
|
value: (function () {
|
|
37644
|
-
var _variantsEvaluator = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee23(set, configItems, configStepKey, paletteType) {
|
|
37653
|
+
var _variantsEvaluator = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee23(set, configItems, configStepKey, paletteType, hidePricePreview) {
|
|
37645
37654
|
var _configItems$0$option, _set$api$ReturnToFrom, _set$CatalogData$show, _set$CatalogData$hide;
|
|
37646
37655
|
var opt, previewType, targetArticles, variants, pricesVisible;
|
|
37647
37656
|
return _regeneratorRuntime__default["default"].wrap(function _callee23$(_context25) {
|
|
@@ -37661,7 +37670,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
37661
37670
|
}
|
|
37662
37671
|
return _context25.abrupt("return", configItems);
|
|
37663
37672
|
case 6:
|
|
37664
|
-
if (!(!previewType || previewType == 'off' || configItems.length == 1 || opt.isDescribingState || configItems.length > 300 && !configItems[0].groupName || (_set$CatalogData$show = set.CatalogData.showPricePreviewOnlyOnOptions) !== null && _set$CatalogData$show !== void 0 && _set$CatalogData$show.length && !set.CatalogData.showPricePreviewOnlyOnOptions.includes(opt.codex.substring(3)) || (_set$CatalogData$hide = set.CatalogData.hidePricePreviewOnlyOnOptions) !== null && _set$CatalogData$hide !== void 0 && _set$CatalogData$hide.length && set.CatalogData.hidePricePreviewOnlyOnOptions.includes(opt.codex.substring(3)))) {
|
|
37673
|
+
if (!(!previewType || previewType == 'off' || configItems.length == 1 || opt.isDescribingState || configItems.length > 300 && !configItems[0].groupName || (_set$CatalogData$show = set.CatalogData.showPricePreviewOnlyOnOptions) !== null && _set$CatalogData$show !== void 0 && _set$CatalogData$show.length && !set.CatalogData.showPricePreviewOnlyOnOptions.includes(opt.codex.substring(3)) || (_set$CatalogData$hide = set.CatalogData.hidePricePreviewOnlyOnOptions) !== null && _set$CatalogData$hide !== void 0 && _set$CatalogData$hide.length && set.CatalogData.hidePricePreviewOnlyOnOptions.includes(opt.codex.substring(3)) || hidePricePreview)) {
|
|
37665
37674
|
_context25.next = 9;
|
|
37666
37675
|
break;
|
|
37667
37676
|
}
|
|
@@ -37692,7 +37701,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
37692
37701
|
}
|
|
37693
37702
|
}, _callee23, this);
|
|
37694
37703
|
}));
|
|
37695
|
-
function variantsEvaluator(
|
|
37704
|
+
function variantsEvaluator(_x85, _x86, _x87, _x88, _x89) {
|
|
37696
37705
|
return _variantsEvaluator.apply(this, arguments);
|
|
37697
37706
|
}
|
|
37698
37707
|
return variantsEvaluator;
|
|
@@ -37773,7 +37782,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
37773
37782
|
}
|
|
37774
37783
|
}, _callee24, this);
|
|
37775
37784
|
}));
|
|
37776
|
-
function calcVariants(
|
|
37785
|
+
function calcVariants(_x90, _x91, _x92, _x93) {
|
|
37777
37786
|
return _calcVariants.apply(this, arguments);
|
|
37778
37787
|
}
|
|
37779
37788
|
return calcVariants;
|
|
@@ -37882,7 +37891,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
37882
37891
|
}
|
|
37883
37892
|
}, _callee25, this);
|
|
37884
37893
|
}));
|
|
37885
|
-
function getVariant(
|
|
37894
|
+
function getVariant(_x94, _x95, _x96, _x97, _x98, _x99, _x100, _x101, _x102) {
|
|
37886
37895
|
return _getVariant.apply(this, arguments);
|
|
37887
37896
|
}
|
|
37888
37897
|
return getVariant;
|
|
@@ -37936,7 +37945,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
37936
37945
|
}
|
|
37937
37946
|
}, _callee26);
|
|
37938
37947
|
}));
|
|
37939
|
-
function checkIfPriceDiffers(
|
|
37948
|
+
function checkIfPriceDiffers(_x103) {
|
|
37940
37949
|
return _checkIfPriceDiffers.apply(this, arguments);
|
|
37941
37950
|
}
|
|
37942
37951
|
return checkIfPriceDiffers;
|
|
@@ -38099,7 +38108,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
38099
38108
|
}
|
|
38100
38109
|
}, _callee27, this);
|
|
38101
38110
|
}));
|
|
38102
|
-
function updateArticlesOptionStatesOfActSet(
|
|
38111
|
+
function updateArticlesOptionStatesOfActSet(_x104, _x105, _x106, _x107, _x108, _x109) {
|
|
38103
38112
|
return _updateArticlesOptionStatesOfActSet.apply(this, arguments);
|
|
38104
38113
|
}
|
|
38105
38114
|
return updateArticlesOptionStatesOfActSet;
|
|
@@ -38192,7 +38201,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
38192
38201
|
}
|
|
38193
38202
|
}, _callee28, this);
|
|
38194
38203
|
}));
|
|
38195
|
-
function updateEdoArticles(
|
|
38204
|
+
function updateEdoArticles(_x110, _x111) {
|
|
38196
38205
|
return _updateEdoArticles.apply(this, arguments);
|
|
38197
38206
|
}
|
|
38198
38207
|
return updateEdoArticles;
|
|
@@ -38475,7 +38484,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
38475
38484
|
}
|
|
38476
38485
|
}, _callee29, this);
|
|
38477
38486
|
}));
|
|
38478
|
-
function fillOrderLinesAndOrderSets(
|
|
38487
|
+
function fillOrderLinesAndOrderSets(_x112, _x113, _x114, _x115, _x116) {
|
|
38479
38488
|
return _fillOrderLinesAndOrderSets.apply(this, arguments);
|
|
38480
38489
|
}
|
|
38481
38490
|
return fillOrderLinesAndOrderSets;
|
|
@@ -38670,7 +38679,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
38670
38679
|
}
|
|
38671
38680
|
}, _callee30, this);
|
|
38672
38681
|
}));
|
|
38673
|
-
function getOrderSet(
|
|
38682
|
+
function getOrderSet(_x117, _x118, _x119, _x120, _x121) {
|
|
38674
38683
|
return _getOrderSet.apply(this, arguments);
|
|
38675
38684
|
}
|
|
38676
38685
|
return getOrderSet;
|
|
@@ -38720,7 +38729,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
38720
38729
|
}
|
|
38721
38730
|
}, _callee31);
|
|
38722
38731
|
}));
|
|
38723
|
-
function getSetImage(
|
|
38732
|
+
function getSetImage(_x122, _x123) {
|
|
38724
38733
|
return _getSetImage.apply(this, arguments);
|
|
38725
38734
|
}
|
|
38726
38735
|
return getSetImage;
|
|
@@ -38766,7 +38775,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
38766
38775
|
}
|
|
38767
38776
|
}, _callee32);
|
|
38768
38777
|
}));
|
|
38769
|
-
function getHQRenderScript(
|
|
38778
|
+
function getHQRenderScript(_x124, _x125) {
|
|
38770
38779
|
return _getHQRenderScript.apply(this, arguments);
|
|
38771
38780
|
}
|
|
38772
38781
|
return getHQRenderScript;
|
|
@@ -38807,7 +38816,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
38807
38816
|
}
|
|
38808
38817
|
}, _callee33);
|
|
38809
38818
|
}));
|
|
38810
|
-
function getAlternateSetImages(
|
|
38819
|
+
function getAlternateSetImages(_x126) {
|
|
38811
38820
|
return _getAlternateSetImages.apply(this, arguments);
|
|
38812
38821
|
}
|
|
38813
38822
|
return getAlternateSetImages;
|
|
@@ -38838,7 +38847,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
38838
38847
|
}
|
|
38839
38848
|
}, _callee34);
|
|
38840
38849
|
}));
|
|
38841
|
-
function get2DSetImage(
|
|
38850
|
+
function get2DSetImage(_x127) {
|
|
38842
38851
|
return _get2DSetImage.apply(this, arguments);
|
|
38843
38852
|
}
|
|
38844
38853
|
return get2DSetImage;
|
|
@@ -38896,7 +38905,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
38896
38905
|
}
|
|
38897
38906
|
}, _callee35, this);
|
|
38898
38907
|
}));
|
|
38899
|
-
function addOrderSetArticlesToExistingSet(
|
|
38908
|
+
function addOrderSetArticlesToExistingSet(_x128, _x129, _x130) {
|
|
38900
38909
|
return _addOrderSetArticlesToExistingSet.apply(this, arguments);
|
|
38901
38910
|
}
|
|
38902
38911
|
return addOrderSetArticlesToExistingSet;
|
|
@@ -39968,7 +39977,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
39968
39977
|
break;
|
|
39969
39978
|
case 3:
|
|
39970
39979
|
_context12.next = 5;
|
|
39971
|
-
return Promise.resolve().then(function () { return require('./PfisterWWSHandler-
|
|
39980
|
+
return Promise.resolve().then(function () { return require('./PfisterWWSHandler-c131cf9d.js'); });
|
|
39972
39981
|
case 5:
|
|
39973
39982
|
_yield$import = _context12.sent;
|
|
39974
39983
|
PfisterWWSHandler = _yield$import["default"];
|
|
@@ -39976,7 +39985,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
39976
39985
|
return _context12.abrupt("break", 27);
|
|
39977
39986
|
case 9:
|
|
39978
39987
|
_context12.next = 11;
|
|
39979
|
-
return Promise.resolve().then(function () { return require('./LiviqueWWSHandler-
|
|
39988
|
+
return Promise.resolve().then(function () { return require('./LiviqueWWSHandler-566296fe.js'); });
|
|
39980
39989
|
case 11:
|
|
39981
39990
|
_yield$import2 = _context12.sent;
|
|
39982
39991
|
LiviqueWWSHandler = _yield$import2["default"];
|
|
@@ -39984,7 +39993,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
39984
39993
|
return _context12.abrupt("break", 27);
|
|
39985
39994
|
case 15:
|
|
39986
39995
|
_context12.next = 17;
|
|
39987
|
-
return Promise.resolve().then(function () { return require('./SeriousBasketHandler-
|
|
39996
|
+
return Promise.resolve().then(function () { return require('./SeriousBasketHandler-62a42abd.js'); });
|
|
39988
39997
|
case 17:
|
|
39989
39998
|
_yield$import3 = _context12.sent;
|
|
39990
39999
|
SeriousWWSHandler = _yield$import3["default"];
|
|
@@ -39992,7 +40001,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
39992
40001
|
return _context12.abrupt("break", 27);
|
|
39993
40002
|
case 21:
|
|
39994
40003
|
_context12.next = 23;
|
|
39995
|
-
return Promise.resolve().then(function () { return require('./StandardWWSHandler-
|
|
40004
|
+
return Promise.resolve().then(function () { return require('./StandardWWSHandler-e33be010.js'); });
|
|
39996
40005
|
case 23:
|
|
39997
40006
|
_yield$import4 = _context12.sent;
|
|
39998
40007
|
StandardWWSHandler = _yield$import4["default"];
|
|
@@ -41421,7 +41430,7 @@ var PlannerHandler3D = /*#__PURE__*/function () {
|
|
|
41421
41430
|
while (1) switch (_context3.prev = _context3.next) {
|
|
41422
41431
|
case 0:
|
|
41423
41432
|
_context3.next = 2;
|
|
41424
|
-
return Promise.resolve().then(function () { return require('./Host3DSignalR-
|
|
41433
|
+
return Promise.resolve().then(function () { return require('./Host3DSignalR-3e4afb1c.js'); });
|
|
41425
41434
|
case 2:
|
|
41426
41435
|
_yield$import = _context3.sent;
|
|
41427
41436
|
Host3DSignalR = _yield$import["default"];
|
|
@@ -42979,7 +42988,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
|
|
|
42979
42988
|
break;
|
|
42980
42989
|
case 8:
|
|
42981
42990
|
_context4.next = 10;
|
|
42982
|
-
return Promise.resolve().then(function () { return require('./DivaStandardPlanner-
|
|
42991
|
+
return Promise.resolve().then(function () { return require('./DivaStandardPlanner-edc8adbb.js'); });
|
|
42983
42992
|
case 10:
|
|
42984
42993
|
_yield$import = _context4.sent;
|
|
42985
42994
|
DivaStandardPlanner = _yield$import["default"];
|
|
@@ -42990,7 +42999,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
|
|
|
42990
42999
|
return _context4.abrupt("break", 21);
|
|
42991
43000
|
case 15:
|
|
42992
43001
|
_context4.next = 17;
|
|
42993
|
-
return Promise.resolve().then(function () { return require('./DivaBoxPlanner-
|
|
43002
|
+
return Promise.resolve().then(function () { return require('./DivaBoxPlanner-9dc63e6c.js'); });
|
|
42994
43003
|
case 17:
|
|
42995
43004
|
_yield$import2 = _context4.sent;
|
|
42996
43005
|
DivaBoxPlanner = _yield$import2["default"];
|
|
@@ -44163,16 +44172,16 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
44163
44172
|
*/
|
|
44164
44173
|
_defineProperty__default["default"](this, "loadConfigItemsOfOptions", /*#__PURE__*/function () {
|
|
44165
44174
|
var _ref = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee(configStepKey, paletteId, isUpdate, visible) {
|
|
44166
|
-
var _this$updateConfigIte;
|
|
44175
|
+
var _this$state2, _this$state3, _this$updateConfigIte;
|
|
44167
44176
|
var retValues;
|
|
44168
44177
|
return _regeneratorRuntime__default["default"].wrap(function _callee$(_context) {
|
|
44169
44178
|
while (1) switch (_context.prev = _context.next) {
|
|
44170
44179
|
case 0:
|
|
44171
44180
|
_context.next = 2;
|
|
44172
|
-
return setHandlerInstance.loadConfigItemsOfActSetByConfigStepKey(_this.actSet(), configStepKey, visible);
|
|
44181
|
+
return setHandlerInstance.loadConfigItemsOfActSetByConfigStepKey(_this.actSet(), configStepKey, visible, !!((_this$state2 = _this.state) !== null && _this$state2 !== void 0 && _this$state2.hidePrices || (_this$state3 = _this.state) !== null && _this$state3 !== void 0 && _this$state3.hideConfigPricePreview));
|
|
44173
44182
|
case 2:
|
|
44174
44183
|
retValues = _context.sent;
|
|
44175
|
-
(_this$updateConfigIte = _this.updateConfigItems) === null || _this$updateConfigIte === void 0 || _this$updateConfigIte.call(_this, configStepKey, retValues.configItems, retValues.selectedItems, retValues.actStepName, retValues.paletteType, retValues.filterType, paletteId, isUpdate, retValues.visible, retValues.stepInfo, retValues.isRenderedInAccessorieStep, retValues.isRenderedNotInSettingPalette, retValues.optionCodex, retValues.notTotallyMatichingOPVs, retValues.subTabGroup, retValues.pairWithOptionsToGroup, retValues.isMultiselect, retValues.groupsDefaultClosed, retValues.contentItemId);
|
|
44184
|
+
(_this$updateConfigIte = _this.updateConfigItems) === null || _this$updateConfigIte === void 0 || _this$updateConfigIte.call(_this, configStepKey, retValues.configItems, retValues.selectedItems, retValues.actStepName, retValues.paletteType, retValues.filterType, paletteId, isUpdate, retValues.visible, retValues.stepInfo, retValues.isRenderedInAccessorieStep, retValues.isRenderedNotInSettingPalette, retValues.optionCodex, retValues.notTotallyMatichingOPVs, retValues.subTabGroup, retValues.pairWithOptionsToGroup, retValues.isMultiselect, retValues.groupsDefaultClosed, retValues.contentItemId, retValues.conceptFilter);
|
|
44176
44185
|
case 4:
|
|
44177
44186
|
case "end":
|
|
44178
44187
|
return _context.stop();
|
|
@@ -44984,7 +44993,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
44984
44993
|
value: function onInitializationError(e) {
|
|
44985
44994
|
var _e$message,
|
|
44986
44995
|
_this$actions19,
|
|
44987
|
-
_this$
|
|
44996
|
+
_this$state4,
|
|
44988
44997
|
_this2 = this,
|
|
44989
44998
|
_this$actions21,
|
|
44990
44999
|
_this$actions21$toggl;
|
|
@@ -44999,7 +45008,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
44999
45008
|
});
|
|
45000
45009
|
return;
|
|
45001
45010
|
}
|
|
45002
|
-
if ((_this$
|
|
45011
|
+
if ((_this$state4 = this.state) !== null && _this$state4 !== void 0 && _this$state4.isFullscreenComponent) {
|
|
45003
45012
|
var _this$actions20;
|
|
45004
45013
|
(_this$actions20 = this.actions) === null || _this$actions20 === void 0 || _this$actions20.closeComponentInFullscreen();
|
|
45005
45014
|
return;
|
|
@@ -45144,7 +45153,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
45144
45153
|
key: "runInitMode",
|
|
45145
45154
|
value: function () {
|
|
45146
45155
|
var _runInitMode = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee17(plannerMode) {
|
|
45147
|
-
var _this$plannerConfig$i, _this$
|
|
45156
|
+
var _this$plannerConfig$i, _this$state5;
|
|
45148
45157
|
var doDefault, _this$navigateToTabGr2, _this$saveToBasketWra, configStepKey, _this$navigateToConfi, _this$actSet6, _this$navigateToTabGr3, _this$navigateToTabGr4, _this$navigateToTabGr5;
|
|
45149
45158
|
return _regeneratorRuntime__default["default"].wrap(function _callee17$(_context17) {
|
|
45150
45159
|
while (1) switch (_context17.prev = _context17.next) {
|
|
@@ -45164,7 +45173,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
45164
45173
|
_context17.next = 10;
|
|
45165
45174
|
break;
|
|
45166
45175
|
case 9:
|
|
45167
|
-
if (this.plannerConfig.initMode == 'OPENCONFIGTABGROUP' || this.api.getPlannerType() == 'JUMP_OVER_PLANNER' || this.api.getPlannerType() == 'JUMP_OVER_PLANNER_ONLY_MOBILE' && (_this$
|
|
45176
|
+
if (this.plannerConfig.initMode == 'OPENCONFIGTABGROUP' || this.api.getPlannerType() == 'JUMP_OVER_PLANNER' || this.api.getPlannerType() == 'JUMP_OVER_PLANNER_ONLY_MOBILE' && (_this$state5 = this.state) !== null && _this$state5 !== void 0 && _this$state5.dimensions.isMobile) {
|
|
45168
45177
|
configStepKey = this.plannerConfig.opt ? setHandlerInstance.getConfigStepKeyOfOption(this.actSet(), this.plannerConfig.opt) : setHandlerInstance.getFirstConfigStep(this.actSet());
|
|
45169
45178
|
if (configStepKey) {
|
|
45170
45179
|
(_this$navigateToConfi = this.navigateToConfigStep) === null || _this$navigateToConfi === void 0 || _this$navigateToConfi.call(this, configStepKey, !this.plannerConfig.opt, true);
|
|
@@ -46103,8 +46112,8 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
46103
46112
|
}
|
|
46104
46113
|
}
|
|
46105
46114
|
if (plannerType == 'JUMP_OVER_PLANNER_ONLY_MOBILE') {
|
|
46106
|
-
var _this$
|
|
46107
|
-
if ((_this$
|
|
46115
|
+
var _this$state6;
|
|
46116
|
+
if ((_this$state6 = this.state) !== null && _this$state6 !== void 0 && _this$state6.dimensions.isMobile) {
|
|
46108
46117
|
plannerType = 'JUMP_OVER_PLANNER';
|
|
46109
46118
|
} else {
|
|
46110
46119
|
plannerType = 'PLANNER';
|
|
@@ -46259,11 +46268,11 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
46259
46268
|
}, {
|
|
46260
46269
|
key: "getAllowRTV",
|
|
46261
46270
|
value: function getAllowRTV() {
|
|
46262
|
-
var _this$
|
|
46271
|
+
var _this$state7, _this$actSet26, _this$state8, _this$actSet27;
|
|
46263
46272
|
if (this.getEnableUnityRtvKombi()) return false;
|
|
46264
|
-
if ((_this$
|
|
46273
|
+
if ((_this$state7 = this.state) !== null && _this$state7 !== void 0 && _this$state7.organization.settings.forceRTV) return true;
|
|
46265
46274
|
if ((_this$actSet26 = this.actSet()) !== null && _this$actSet26 !== void 0 && _this$actSet26.CatalogData.divaForceRTV) return true;
|
|
46266
|
-
if ((_this$
|
|
46275
|
+
if ((_this$state8 = this.state) !== null && _this$state8 !== void 0 && _this$state8.organization.settings.enableRTV && (_this$actSet27 = this.actSet()) !== null && _this$actSet27 !== void 0 && _this$actSet27.CatalogData.divaArReady) return true;
|
|
46267
46276
|
return false;
|
|
46268
46277
|
}
|
|
46269
46278
|
}, {
|
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-589e2f4b.js');
|
|
6
6
|
require('@babel/runtime/helpers/slicedToArray');
|
|
7
7
|
require('@babel/runtime/helpers/asyncToGenerator');
|
|
8
8
|
require('@babel/runtime/helpers/classCallCheck');
|
|
@@ -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 { c as Vector2, V as Vector3, P as PlannerElementData, B as BoundingBox } from './index-
|
|
6
|
+
import { c as Vector2, V as Vector3, P as PlannerElementData, B as BoundingBox } from './index-f875e861.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, h as handler2D } from './PlannerHandler2D-
|
|
9
|
+
import { d as dockingPointHandlerInst, h as handler2D } from './PlannerHandler2D-80d37ff1.js';
|
|
10
10
|
import '@babel/runtime/helpers/slicedToArray';
|
|
11
11
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
12
12
|
import 'axios';
|
|
@@ -3,9 +3,9 @@ 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, P as PlannerElementData, B as BoundingBox } from './index-
|
|
6
|
+
import { V as Vector3, c as Vector2, P as PlannerElementData, B as BoundingBox } from './index-f875e861.js';
|
|
7
7
|
import DivaUtils, { DivaError, md5 } from '@crystaldesign/diva-utils';
|
|
8
|
-
import { d as dockingPointHandlerInst, h as handler2D } from './PlannerHandler2D-
|
|
8
|
+
import { d as dockingPointHandlerInst, h as handler2D } from './PlannerHandler2D-80d37ff1.js';
|
|
9
9
|
import '@babel/runtime/helpers/slicedToArray';
|
|
10
10
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
11
11
|
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 './index-
|
|
4
|
+
import './index-f875e861.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 { R as Rendering, H as HQRenderScript } from './index-
|
|
6
|
+
import { R as Rendering, H as HQRenderScript } from './index-f875e861.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-f875e861.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-f875e861.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 { c as Vector2, D as DockingPoint, V as Vector3 } from './index-
|
|
6
|
+
import { c as Vector2, D as DockingPoint, V as Vector3 } from './index-f875e861.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';
|
|
@@ -2051,7 +2051,9 @@ var PlannerHandler2D = /*#__PURE__*/function () {
|
|
|
2051
2051
|
dockingPointHandlerInst.initDockingPointsFromSvg(plannerElement, this.svgUtils.getDPsInSVG(svgXml), minBorderSVG, plannerconfig);
|
|
2052
2052
|
var svgXmlOLT = this.svgUtils.removeOLFFromSvg(svgXml);
|
|
2053
2053
|
var oltPoints = this.svgUtils.getPointOfPoligonById(svgXml, 'OLT');
|
|
2054
|
-
if (oltPoints
|
|
2054
|
+
if (!(oltPoints !== null && oltPoints !== void 0 && oltPoints.length)) {
|
|
2055
|
+
LOG.error(new DivaError('no olt fount in svg for element' + plannerElement.ArticleCodex + ' with id ' + plannerElement.getElementId()));
|
|
2056
|
+
}
|
|
2055
2057
|
plannerElement.OLTPolygon = oltPoints;
|
|
2056
2058
|
var olf = this.svgUtils.getPointOfPoligonById(svgXml, 'OLF');
|
|
2057
2059
|
if (olf !== null && olf !== void 0 && olf.length) {
|
|
@@ -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-f875e861.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, b as setHandlerInstance, a as articleHandlerInstance } from './index-
|
|
7
|
+
import { G as Grid, b as setHandlerInstance, a as articleHandlerInstance } from './index-f875e861.js';
|
|
8
8
|
import DivaUtils from '@crystaldesign/diva-utils';
|
|
9
9
|
import '@babel/runtime/helpers/slicedToArray';
|
|
10
10
|
import '@babel/runtime/helpers/objectWithoutProperties';
|