@crystaldesign/web-planner-logic 26.11.0-beta.15 → 26.11.0-beta.17
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-ce0bb2af.js → DivaBoxPlanner-eaf27b1a.js} +2 -2
- package/build/cjs/{DivaStandardPlanner-e664710b.js → DivaStandardPlanner-3abd5a59.js} +2 -2
- package/build/cjs/{DoorPlanner-a37c3d62.js → DoorPlanner-19a9ca84.js} +1 -1
- package/build/cjs/{Host3DSignalR-a94701fa.js → Host3DSignalR-5607d512.js} +1 -1
- package/build/cjs/{LiviqueWWSHandler-f6488fb8.js → LiviqueWWSHandler-7e9e0da3.js} +1 -1
- package/build/cjs/{PfisterWWSHandler-a0d05fa3.js → PfisterWWSHandler-de539a79.js} +1 -1
- package/build/cjs/{PlannerHandler2D-fe16c1ce.js → PlannerHandler2D-da61353d.js} +1 -1
- package/build/cjs/{SeriousBasketHandler-bc18769e.js → SeriousBasketHandler-565b3cd3.js} +1 -1
- package/build/cjs/{ShelfPlanner-eab7ed23.js → ShelfPlanner-1eacb968.js} +1 -1
- package/build/cjs/{StandardWWSHandler-1ad7e215.js → StandardWWSHandler-d57987b3.js} +1 -1
- package/build/cjs/{index-b849f3ec.js → index-9bfe0f0b.js} +165 -26
- package/build/cjs/index.js +1 -1
- package/build/esm/{DivaBoxPlanner-f198956e.js → DivaBoxPlanner-df89bf8c.js} +2 -2
- package/build/esm/{DivaStandardPlanner-ef69c7d9.js → DivaStandardPlanner-41429645.js} +2 -2
- package/build/esm/{DoorPlanner-b6bbdd8f.js → DoorPlanner-68c8eb5b.js} +1 -1
- package/build/esm/{Host3DSignalR-c4b67bb7.js → Host3DSignalR-3009e28d.js} +1 -1
- package/build/esm/{LiviqueWWSHandler-5f62a364.js → LiviqueWWSHandler-4fe18db9.js} +1 -1
- package/build/esm/{PfisterWWSHandler-cf8dd909.js → PfisterWWSHandler-9c458dee.js} +1 -1
- package/build/esm/{PlannerHandler2D-88d7f725.js → PlannerHandler2D-a6cb9f07.js} +1 -1
- package/build/esm/{SeriousBasketHandler-5f29e886.js → SeriousBasketHandler-7158fb2f.js} +1 -1
- package/build/esm/{ShelfPlanner-05d57e72.js → ShelfPlanner-e9177ff7.js} +1 -1
- package/build/esm/{StandardWWSHandler-a9f0e1f8.js → StandardWWSHandler-7b0f785d.js} +1 -1
- package/build/esm/{index-224d69f7.js → index-1aea7522.js} +165 -26
- package/build/esm/index.js +1 -1
- package/build/types/web-planner-logic/src/interface/IDM/ArticleApi.d.ts +19 -18
- package/build/types/web-planner-logic/src/interface/IDM/ArticleApi.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/DivaApiHandler.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/model/Articles/Article/IDMCatalogArticle.d.ts +11 -0
- package/build/types/web-planner-logic/src/model/Articles/Article/IDMCatalogArticle.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/model/Catalog/CatalogData.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/model/Catalog/IDMCatalogData.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-9bfe0f0b.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-da61353d.js');
|
|
13
13
|
require('@babel/runtime/helpers/objectWithoutProperties');
|
|
14
14
|
require('axios');
|
|
15
15
|
require('@crystaldesign/basket-model');
|
|
@@ -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-9bfe0f0b.js');
|
|
9
9
|
var DivaUtils = require('@crystaldesign/diva-utils');
|
|
10
10
|
var planner2dCore = require('@crystaldesign/planner-2d-core');
|
|
11
|
-
var PlannerHandler2D = require('./PlannerHandler2D-
|
|
11
|
+
var PlannerHandler2D = require('./PlannerHandler2D-da61353d.js');
|
|
12
12
|
require('@babel/runtime/helpers/slicedToArray');
|
|
13
13
|
require('@babel/runtime/helpers/objectWithoutProperties');
|
|
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
|
-
require('./index-
|
|
6
|
+
require('./index-9bfe0f0b.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-9bfe0f0b.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-9bfe0f0b.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-9bfe0f0b.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-9bfe0f0b.js');
|
|
9
9
|
var _slicedToArray = require('@babel/runtime/helpers/slicedToArray');
|
|
10
10
|
var _toConsumableArray = require('@babel/runtime/helpers/toConsumableArray');
|
|
11
11
|
var DivaUtils = require('@crystaldesign/diva-utils');
|
|
@@ -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-9bfe0f0b.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-9bfe0f0b.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-9bfe0f0b.js');
|
|
6
6
|
require('@babel/runtime/helpers/slicedToArray');
|
|
7
7
|
require('@babel/runtime/helpers/asyncToGenerator');
|
|
8
8
|
require('@babel/runtime/helpers/defineProperty');
|
|
@@ -1240,7 +1240,9 @@ var DivaApiHandler = /*#__PURE__*/function () {
|
|
|
1240
1240
|
}
|
|
1241
1241
|
return base + (typeNos !== null && typeNos !== void 0 && typeNos.length ? '?filter=' + typeNos.map(function (t) {
|
|
1242
1242
|
return encodeURIComponent('typeNo==' + t);
|
|
1243
|
-
}).join(' || ') :
|
|
1243
|
+
}).join(' || ') :
|
|
1244
|
+
// the unsuffixed additional-items field names also request the V4 pair server-side
|
|
1245
|
+
'?fields=properties;serieNo;featureClassRefNo;priceTypeRef;itemIdentification;catalogPage;weightBrutto;weightNetto;volume;minimumDeliveryTime;widthBasicShapeNominalValue;widthBasicShapeFrom;widthBasicShapeTo;widthBasicShapeStepSize;heightBasicShapeNominalValue;heightBasicShapeFrom;heightBasicShapeTo;heightBasicShapeStepSize;depthBasicShapeNominalValue;depthBasicShapeFrom;depthBasicShapeTo;depthBasicShapeStepSize;typeKey;eClassNo;detailInfoRefs;detailInfos;partListExclusive;partListRef;decisionRefs;typeNo;sequenceNo;edpNumber;eanNumber;shortText;fullText;planningAdvice;salesNumber;avrFilter;avlFilter;mandatoryAdditionalItems;optionalAdditionalItems');
|
|
1244
1246
|
}
|
|
1245
1247
|
}, {
|
|
1246
1248
|
key: "getIDMFeatures",
|
|
@@ -16982,9 +16984,9 @@ var setOptionValueProperties = function setOptionValueProperties(catalogData, op
|
|
|
16982
16984
|
return metaDatas;
|
|
16983
16985
|
};
|
|
16984
16986
|
|
|
16985
|
-
function _createForOfIteratorHelper$
|
|
16986
|
-
function _unsupportedIterableToArray$
|
|
16987
|
-
function _arrayLikeToArray$
|
|
16987
|
+
function _createForOfIteratorHelper$h(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$h(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
16988
|
+
function _unsupportedIterableToArray$h(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$h(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$h(r, a) : void 0; } }
|
|
16989
|
+
function _arrayLikeToArray$h(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
16988
16990
|
//kaufmännischer Artikel
|
|
16989
16991
|
var CatalogArticleData = /*#__PURE__*/function () {
|
|
16990
16992
|
function CatalogArticleData(catalogArticle, catalogData) {
|
|
@@ -17746,7 +17748,7 @@ var CatalogArticleData = /*#__PURE__*/function () {
|
|
|
17746
17748
|
value: function getOptionValueFromOption(opt, opv) {
|
|
17747
17749
|
if (this._catalogArticle.articleOptions[opt] && this._catalogArticle.articleOptions[opt].hasOPG) {
|
|
17748
17750
|
var myOPGs = this._catalogArticle.articleOptions[opt].articleOptionValues;
|
|
17749
|
-
var _iterator = _createForOfIteratorHelper$
|
|
17751
|
+
var _iterator = _createForOfIteratorHelper$h(myOPGs),
|
|
17750
17752
|
_step;
|
|
17751
17753
|
try {
|
|
17752
17754
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -18888,9 +18890,9 @@ var ArticleOptionValueData = /*#__PURE__*/function () {
|
|
|
18888
18890
|
}]);
|
|
18889
18891
|
}();
|
|
18890
18892
|
|
|
18891
|
-
function _createForOfIteratorHelper$
|
|
18892
|
-
function _unsupportedIterableToArray$
|
|
18893
|
-
function _arrayLikeToArray$
|
|
18893
|
+
function _createForOfIteratorHelper$g(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$g(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
18894
|
+
function _unsupportedIterableToArray$g(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$g(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$g(r, a) : void 0; } }
|
|
18895
|
+
function _arrayLikeToArray$g(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
18894
18896
|
var ArticleOptionData = /*#__PURE__*/function () {
|
|
18895
18897
|
function ArticleOptionData(opt, catalogData) {
|
|
18896
18898
|
var _this$opt$property;
|
|
@@ -18978,7 +18980,7 @@ var ArticleOptionData = /*#__PURE__*/function () {
|
|
|
18978
18980
|
}, {
|
|
18979
18981
|
key: "getOpvByOcd",
|
|
18980
18982
|
value: function getOpvByOcd(codex) {
|
|
18981
|
-
var _iterator = _createForOfIteratorHelper$
|
|
18983
|
+
var _iterator = _createForOfIteratorHelper$g(this.opt.articleOptionValues),
|
|
18982
18984
|
_step;
|
|
18983
18985
|
try {
|
|
18984
18986
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -19798,10 +19800,15 @@ function getArticleOptionValueType(set, codex, jsonOPV, catalogOPV, myArticle, i
|
|
|
19798
19800
|
|
|
19799
19801
|
function ownKeys$p(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; }
|
|
19800
19802
|
function _objectSpread$p(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$p(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$p(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
19803
|
+
function _createForOfIteratorHelper$f(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$f(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
19804
|
+
function _unsupportedIterableToArray$f(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$f(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$f(r, a) : void 0; } }
|
|
19805
|
+
function _arrayLikeToArray$f(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
19801
19806
|
var LOG$l = DivaUtils__default["default"].initLog('Planner', 'WEB-PLANNER-LOGIC');
|
|
19802
19807
|
function loadMoreFromIDMArticles(_x, _x2) {
|
|
19803
19808
|
return _loadMoreFromIDMArticles.apply(this, arguments);
|
|
19804
19809
|
}
|
|
19810
|
+
|
|
19811
|
+
/** One additional-item reference of an item - the mandatory and optional sides of the same accessory merged. */
|
|
19805
19812
|
function _loadMoreFromIDMArticles() {
|
|
19806
19813
|
_loadMoreFromIDMArticles = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee(catalogArticleDatas, set) {
|
|
19807
19814
|
var items, _loop3, i, toLoadDecisionIds, toLoadPFGroups, toLoadFeatureClassRefNo, promises, _yield$Promise$all, _yield$Promise$all2, featureClasses, priceFeatureGroups, decisions, _i4, _decisions$map, loadedIds, missingIds, _i5, _i6, _catalogArticleData$d2, catalogArticleData, toLoadFeatures, features, _loop4, _i7, _loop6, _i8;
|
|
@@ -19832,9 +19839,8 @@ function _loadMoreFromIDMArticles() {
|
|
|
19832
19839
|
catalogArticleData.decisionsRefs = item.decisionRefs;
|
|
19833
19840
|
catalogArticleData.idmPartlist = item.partlist;
|
|
19834
19841
|
catalogArticleData.idmPrices = item.prices;
|
|
19835
|
-
|
|
19836
|
-
|
|
19837
|
-
case 7:
|
|
19842
|
+
initIDMArticleRelations(item, catalogArticleData, set.CatalogData);
|
|
19843
|
+
case 8:
|
|
19838
19844
|
case "end":
|
|
19839
19845
|
return _context3.stop();
|
|
19840
19846
|
}
|
|
@@ -20055,6 +20061,110 @@ function _loadMoreFromIDMArticles() {
|
|
|
20055
20061
|
}));
|
|
20056
20062
|
return _loadMoreFromIDMArticles.apply(this, arguments);
|
|
20057
20063
|
}
|
|
20064
|
+
/** IDM 4.1 names the serie reference serieId, IDM 3.0 serieNo - both carry the serie number. */
|
|
20065
|
+
function refSerieNo(itemRef) {
|
|
20066
|
+
var _ref, _itemRef$serieId;
|
|
20067
|
+
return String((_ref = (_itemRef$serieId = itemRef.serieId) !== null && _itemRef$serieId !== void 0 ? _itemRef$serieId : itemRef.serieNo) !== null && _ref !== void 0 ? _ref : '');
|
|
20068
|
+
}
|
|
20069
|
+
|
|
20070
|
+
/** An accessory referenced by several groups of the same side keeps its first occurrence. */
|
|
20071
|
+
function readAdditionalItemRefs(item) {
|
|
20072
|
+
var _item$mandatoryAdditi, _item$mandatoryAdditi2, _item$optionalAdditio, _item$optionalAdditio2;
|
|
20073
|
+
var merged = new Map();
|
|
20074
|
+
var add = function add(groups, quantity) {
|
|
20075
|
+
var _iterator = _createForOfIteratorHelper$f(groups),
|
|
20076
|
+
_step;
|
|
20077
|
+
try {
|
|
20078
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
20079
|
+
var _group$itemRef;
|
|
20080
|
+
var group = _step.value;
|
|
20081
|
+
var _iterator2 = _createForOfIteratorHelper$f((_group$itemRef = group.itemRef) !== null && _group$itemRef !== void 0 ? _group$itemRef : []),
|
|
20082
|
+
_step2;
|
|
20083
|
+
try {
|
|
20084
|
+
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
20085
|
+
var _merged$get, _group$setNo, _ref$quantity;
|
|
20086
|
+
var itemRef = _step2.value;
|
|
20087
|
+
var serieNo = refSerieNo(itemRef);
|
|
20088
|
+
if (!serieNo || !itemRef.typeNo) continue;
|
|
20089
|
+
var key = serieNo + '-' + itemRef.typeNo;
|
|
20090
|
+
var ref = (_merged$get = merged.get(key)) !== null && _merged$get !== void 0 ? _merged$get : {
|
|
20091
|
+
serieNo: serieNo,
|
|
20092
|
+
typeNo: itemRef.typeNo,
|
|
20093
|
+
setNo: (_group$setNo = group.setNo) !== null && _group$setNo !== void 0 ? _group$setNo : 1
|
|
20094
|
+
};
|
|
20095
|
+
ref[quantity] = (_ref$quantity = ref[quantity]) !== null && _ref$quantity !== void 0 ? _ref$quantity : itemRef[quantity];
|
|
20096
|
+
merged.set(key, ref);
|
|
20097
|
+
}
|
|
20098
|
+
} catch (err) {
|
|
20099
|
+
_iterator2.e(err);
|
|
20100
|
+
} finally {
|
|
20101
|
+
_iterator2.f();
|
|
20102
|
+
}
|
|
20103
|
+
}
|
|
20104
|
+
} catch (err) {
|
|
20105
|
+
_iterator.e(err);
|
|
20106
|
+
} finally {
|
|
20107
|
+
_iterator.f();
|
|
20108
|
+
}
|
|
20109
|
+
};
|
|
20110
|
+
add([].concat(_toConsumableArray__default["default"]((_item$mandatoryAdditi = item.mandatoryAdditionalItems) !== null && _item$mandatoryAdditi !== void 0 ? _item$mandatoryAdditi : []), _toConsumableArray__default["default"]((_item$mandatoryAdditi2 = item.mandatoryAdditionalItemsV4) !== null && _item$mandatoryAdditi2 !== void 0 ? _item$mandatoryAdditi2 : [])), 'mandatoryQuantity');
|
|
20111
|
+
add([].concat(_toConsumableArray__default["default"]((_item$optionalAdditio = item.optionalAdditionalItems) !== null && _item$optionalAdditio !== void 0 ? _item$optionalAdditio : []), _toConsumableArray__default["default"]((_item$optionalAdditio2 = item.optionalAdditionalItemsV4) !== null && _item$optionalAdditio2 !== void 0 ? _item$optionalAdditio2 : [])), 'optionalQuantity');
|
|
20112
|
+
return _toConsumableArray__default["default"](merged.values());
|
|
20113
|
+
}
|
|
20114
|
+
|
|
20115
|
+
/** Fills the same articleRelations contract initArticleRelations fills in the diva format. */
|
|
20116
|
+
function initIDMArticleRelations(item, catalogArticleData, catalog) {
|
|
20117
|
+
var catalogArticle = catalogArticleData.catalogArticle;
|
|
20118
|
+
if (catalog.ignoreArticleRelations || catalogArticle.isHidden) return;
|
|
20119
|
+
var refs = readAdditionalItemRefs(item);
|
|
20120
|
+
if (!refs.length) return;
|
|
20121
|
+
catalogArticle.articleRelations = [];
|
|
20122
|
+
for (var i = 0; i < refs.length; i++) {
|
|
20123
|
+
var _ref$mandatoryQuantit, _ref$optionalQuantity, _accessory$catalogPla, _accessory$catalogPla2, _accessory$catalogPla3, _accessory$catalogPla4, _accessory$catalogPla5, _accessory$catalogPla6, _accessory$catalogPla7, _accessory$catalogPla8, _accessory$catalogPla9, _accessory$catalogPla10, _accessory$catalogPla11;
|
|
20124
|
+
var ref = refs[i];
|
|
20125
|
+
// accessories of another serie are not part of this catalog's articles
|
|
20126
|
+
if (ref.serieNo != catalog.catalogCodex) continue;
|
|
20127
|
+
var accessory = catalog.getCatalogArticle(ref.typeNo);
|
|
20128
|
+
if (!accessory || accessory.isHidden) continue;
|
|
20129
|
+
catalogArticle.articleRelations.push({
|
|
20130
|
+
name: accessory.name,
|
|
20131
|
+
actQuantity: 0,
|
|
20132
|
+
minQuantity: (_ref$mandatoryQuantit = ref.mandatoryQuantity) !== null && _ref$mandatoryQuantit !== void 0 ? _ref$mandatoryQuantit : 0,
|
|
20133
|
+
// 0 = no cap, like a diva relation without a MaxQuantity
|
|
20134
|
+
maxQuantity: (_ref$optionalQuantity = ref.optionalQuantity) !== null && _ref$optionalQuantity !== void 0 ? _ref$optionalQuantity : 0,
|
|
20135
|
+
price: !catalog.dontShowBasePrice ? accessory.articlePrice : 0,
|
|
20136
|
+
articleCodex: ref.typeNo,
|
|
20137
|
+
catalogCodex: ref.serieNo,
|
|
20138
|
+
longDescription: accessory.longDescription,
|
|
20139
|
+
positionGroupNr: ref.setNo,
|
|
20140
|
+
typeNr: accessory.typeNr,
|
|
20141
|
+
image: accessory.image ? catalog.getCatImageURL(accessory.image, '') : undefined,
|
|
20142
|
+
//accessoires are only PlannerElements if the have an SVG with dockingpossibilities (AVO/ AVU/ AVC)
|
|
20143
|
+
isPlannerElement: accessory.hasCatalogPlannerArticle && !!((_accessory$catalogPla = accessory.catalogPlannerArticle) !== null && _accessory$catalogPla !== void 0 && _accessory$catalogPla.isDockable || catalog.accessorieStepAsPlanner),
|
|
20144
|
+
hasAVC: ((_accessory$catalogPla2 = (_accessory$catalogPla3 = accessory.catalogPlannerArticle) === null || _accessory$catalogPla3 === void 0 ? void 0 : _accessory$catalogPla3.topAVC) !== null && _accessory$catalogPla2 !== void 0 ? _accessory$catalogPla2 : 0) > 0,
|
|
20145
|
+
hasAVO: ((_accessory$catalogPla4 = (_accessory$catalogPla5 = accessory.catalogPlannerArticle) === null || _accessory$catalogPla5 === void 0 ? void 0 : _accessory$catalogPla5.topAVO) !== null && _accessory$catalogPla4 !== void 0 ? _accessory$catalogPla4 : 0) > 0,
|
|
20146
|
+
hasAVU: ((_accessory$catalogPla6 = (_accessory$catalogPla7 = accessory.catalogPlannerArticle) === null || _accessory$catalogPla7 === void 0 ? void 0 : _accessory$catalogPla7.topAVU) !== null && _accessory$catalogPla6 !== void 0 ? _accessory$catalogPla6 : 0) > 0,
|
|
20147
|
+
hasAVN: ((_accessory$catalogPla8 = (_accessory$catalogPla9 = accessory.catalogPlannerArticle) === null || _accessory$catalogPla9 === void 0 ? void 0 : _accessory$catalogPla9.topAVN) !== null && _accessory$catalogPla8 !== void 0 ? _accessory$catalogPla8 : 0) > 0,
|
|
20148
|
+
hasAVS: ((_accessory$catalogPla10 = (_accessory$catalogPla11 = accessory.catalogPlannerArticle) === null || _accessory$catalogPla11 === void 0 ? void 0 : _accessory$catalogPla11.topAVS) !== null && _accessory$catalogPla10 !== void 0 ? _accessory$catalogPla10 : 0) > 0,
|
|
20149
|
+
width: accessory.width,
|
|
20150
|
+
height: accessory.height,
|
|
20151
|
+
depth: accessory.depth,
|
|
20152
|
+
widthFrom: accessory.widthFrom,
|
|
20153
|
+
heightFrom: accessory.heightFrom,
|
|
20154
|
+
depthFrom: accessory.depthFrom,
|
|
20155
|
+
widthTo: accessory.widthTo,
|
|
20156
|
+
heightTo: accessory.heightTo,
|
|
20157
|
+
depthTo: accessory.depthTo,
|
|
20158
|
+
formattedSize: '',
|
|
20159
|
+
isVisualized: accessory.isVisualized,
|
|
20160
|
+
configStepKeys: [],
|
|
20161
|
+
metaData: accessory.metaDataView,
|
|
20162
|
+
contentItemId: accessory.contentItemId,
|
|
20163
|
+
groupContentItemId: accessory.groupContentItemId
|
|
20164
|
+
});
|
|
20165
|
+
}
|
|
20166
|
+
catalogArticle.hasArticleRelations = catalogArticle.articleRelations.length > 0;
|
|
20167
|
+
}
|
|
20058
20168
|
var getToLoadDecisionIds = function getToLoadDecisionIds(catalogArticleDatas, set) {
|
|
20059
20169
|
var allArticleDecisions = [];
|
|
20060
20170
|
for (var i = 0; i < catalogArticleDatas.length; i++) {
|
|
@@ -20407,6 +20517,9 @@ function getArticleOption(set, option, catalogOption, feature, catalogArticleDat
|
|
|
20407
20517
|
return opv;
|
|
20408
20518
|
}
|
|
20409
20519
|
|
|
20520
|
+
function _createForOfIteratorHelper$e(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$e(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
20521
|
+
function _unsupportedIterableToArray$e(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$e(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$e(r, a) : void 0; } }
|
|
20522
|
+
function _arrayLikeToArray$e(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
20410
20523
|
function ownKeys$o(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; }
|
|
20411
20524
|
function _objectSpread$o(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$o(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$o(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
20412
20525
|
var LOG$k = DivaUtils__default["default"].initLog('Planner', 'WEB-PLANNER-LOGIC');
|
|
@@ -20466,11 +20579,12 @@ function initIDMArticles(jsonItems, catalogData) {
|
|
|
20466
20579
|
}));
|
|
20467
20580
|
throw new Error('Articles of Catalog: ' + catalogData.catalogCodex + ' are empty');
|
|
20468
20581
|
}
|
|
20582
|
+
var additionalItemTypeNos = getAdditionalItemTypeNos(jsonItems, catalogData);
|
|
20469
20583
|
for (var _i = 0; _i < jsonItems.length; _i++) {
|
|
20470
20584
|
var myCodex = jsonItems[_i].typeNo;
|
|
20471
20585
|
if (catalogData.allCatalogArticles[myCodex].isHidden || catalogData.allCatalogArticles[myCodex].isPartlistExclusive) continue;
|
|
20472
20586
|
if (catalogData.allCatalogPlannerArticles[myCodex]) continue;
|
|
20473
|
-
var catalogPlannerArticle = new CatalogPlannerArticleData(getCatalogPlanner(jsonItems[_i], catalogData.allCatalogArticles[myCodex], catalogData));
|
|
20587
|
+
var catalogPlannerArticle = new CatalogPlannerArticleData(getCatalogPlanner(jsonItems[_i], catalogData.allCatalogArticles[myCodex], catalogData, additionalItemTypeNos.has(myCodex)));
|
|
20474
20588
|
catalogData.allCatalogArticles[myCodex].initCatalogPlannerArticle(catalogPlannerArticle);
|
|
20475
20589
|
catalogData.allCatalogPlannerArticles[myCodex] = catalogPlannerArticle;
|
|
20476
20590
|
initCatalogPlannerArticleView(catalogData, catalogPlannerArticle, catalogData.catalogProps, catalogData.plannerPaletteViewInfo);
|
|
@@ -20613,7 +20727,28 @@ function mapProp() {
|
|
|
20613
20727
|
};
|
|
20614
20728
|
});
|
|
20615
20729
|
}
|
|
20616
|
-
|
|
20730
|
+
|
|
20731
|
+
/** TypeNos of this serie that other items reference as additional items - the IDM counterpart of diva's IsArticleRelation flag. */
|
|
20732
|
+
function getAdditionalItemTypeNos(jsonItems, catalogData) {
|
|
20733
|
+
var typeNos = new Set();
|
|
20734
|
+
if (catalogData.ignoreArticleRelations) return typeNos;
|
|
20735
|
+
for (var i = 0; i < jsonItems.length; i++) {
|
|
20736
|
+
var _iterator = _createForOfIteratorHelper$e(readAdditionalItemRefs(jsonItems[i])),
|
|
20737
|
+
_step;
|
|
20738
|
+
try {
|
|
20739
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
20740
|
+
var ref = _step.value;
|
|
20741
|
+
if (ref.serieNo == catalogData.catalogCodex) typeNos.add(ref.typeNo);
|
|
20742
|
+
}
|
|
20743
|
+
} catch (err) {
|
|
20744
|
+
_iterator.e(err);
|
|
20745
|
+
} finally {
|
|
20746
|
+
_iterator.f();
|
|
20747
|
+
}
|
|
20748
|
+
}
|
|
20749
|
+
return typeNos;
|
|
20750
|
+
}
|
|
20751
|
+
function getCatalogPlanner(article, catalogArticle, catalogData, isArticleRelation) {
|
|
20617
20752
|
var _article$detailInfos4, _article$avlFilter, _article$avrFilter, _article$depthBasicSh4, _article$depthBasicSh5, _article$depthBasicSh6, _article$widthBasicSh4, _article$widthBasicSh5, _article$widthBasicSh6, _article$heightBasicS4, _article$heightBasicS5, _article$heightBasicS6, _svg$avc, _svg$avn, _svg$avo, _svg$avs, _svg$avu, _svg$hasAVL, _svg$hasAVR, _catalogArticle$svgs;
|
|
20618
20753
|
var svg = (_article$detailInfos4 = article.detailInfos) === null || _article$detailInfos4 === void 0 ? void 0 : _article$detailInfos4.find(function (d) {
|
|
20619
20754
|
return d.classification == 'SVG';
|
|
@@ -20647,7 +20782,7 @@ function getCatalogPlanner(article, catalogArticle, catalogData) {
|
|
|
20647
20782
|
basePrice: 0,
|
|
20648
20783
|
catalogArticle: catalogArticle,
|
|
20649
20784
|
id: Number(Object.keys(catalogData.allCatalogPlannerArticles).length),
|
|
20650
|
-
isArticleRelation:
|
|
20785
|
+
isArticleRelation: isArticleRelation,
|
|
20651
20786
|
avlFilter: (_article$avlFilter = article.avlFilter) !== null && _article$avlFilter !== void 0 ? _article$avlFilter : [],
|
|
20652
20787
|
avrFilter: (_article$avrFilter = article.avrFilter) !== null && _article$avrFilter !== void 0 ? _article$avrFilter : [],
|
|
20653
20788
|
articleSizeY: article.depthBasicShapeNominalValue !== undefined ? Math.floor(((_article$depthBasicSh4 = article.depthBasicShapeNominalValue) !== null && _article$depthBasicSh4 !== void 0 ? _article$depthBasicSh4 : 0) / 10) : undefined,
|
|
@@ -20668,12 +20803,13 @@ function getCatalogPlanner(article, catalogArticle, catalogData) {
|
|
|
20668
20803
|
topHasAVR: (_svg$hasAVR = svg === null || svg === void 0 ? void 0 : svg.hasAVR) !== null && _svg$hasAVR !== void 0 ? _svg$hasAVR : false,
|
|
20669
20804
|
topSvg: (_catalogArticle$svgs = catalogArticle.svgs) === null || _catalogArticle$svgs === void 0 || (_catalogArticle$svgs = _catalogArticle$svgs[0]) === null || _catalogArticle$svgs === void 0 ? void 0 : _catalogArticle$svgs.url,
|
|
20670
20805
|
topLayer: (svg === null || svg === void 0 ? void 0 : svg.layer) !== undefined ? Number(svg.layer) : 20,
|
|
20671
|
-
filterType: getFilterType(
|
|
20806
|
+
filterType: getFilterType(isArticleRelation, !!(svg !== null && svg !== void 0 && svg.hasAVL), !!(svg !== null && svg !== void 0 && svg.hasAVR), catalogData)
|
|
20672
20807
|
};
|
|
20673
20808
|
}
|
|
20674
20809
|
function initCatalogPlannerArticleView(catalogData, catPlanArticle, catalogProps, plannerPaletteViewInfo) {
|
|
20675
20810
|
var _catPlanArticle$filte, _catPlanArticle$group, _catPlanArticle$svgs;
|
|
20676
20811
|
if (catPlanArticle.hideInPlannerStep) return;
|
|
20812
|
+
if (catPlanArticle.partListExclusive) return;
|
|
20677
20813
|
if (catalogProps.has3dModels && !catPlanArticle.modelName3D) return;
|
|
20678
20814
|
var catalogArticle = catalogData.allCatalogArticles[catPlanArticle.codex];
|
|
20679
20815
|
plannerPaletteViewInfo.catalogPlannerArticles.push({
|
|
@@ -20696,7 +20832,7 @@ function initCatalogPlannerArticleView(catalogData, catPlanArticle, catalogProps
|
|
|
20696
20832
|
hasAVS: !!catPlanArticle.topAVS,
|
|
20697
20833
|
hasAVU: !!catPlanArticle.topAVU,
|
|
20698
20834
|
image: catPlanArticle.getImage(),
|
|
20699
|
-
is3DModell:
|
|
20835
|
+
is3DModell: catPlanArticle.modelName3D && catPlanArticle.modelName3D != '' ? true : false,
|
|
20700
20836
|
layer: catPlanArticle.topLayer,
|
|
20701
20837
|
price: catPlanArticle.basePrice,
|
|
20702
20838
|
svgSrc: (_catPlanArticle$svgs = catPlanArticle.svgs) === null || _catPlanArticle$svgs === void 0 || (_catPlanArticle$svgs = _catPlanArticle$svgs[0]) === null || _catPlanArticle$svgs === void 0 ? void 0 : _catPlanArticle$svgs.url,
|
|
@@ -20934,6 +21070,9 @@ var DivaCatalogData = /*#__PURE__*/function () {
|
|
|
20934
21070
|
} else {
|
|
20935
21071
|
this.catalogData = initIDMCatalogData(json, orderSet, api);
|
|
20936
21072
|
initIDMArticles(articleJson, this);
|
|
21073
|
+
if (!!this.api.diva3DRenderingDefault() && Object.values(this.catalogArticles).find(function (art) {
|
|
21074
|
+
return art.model3DName;
|
|
21075
|
+
})) this.catalogProps.has3dModels = true;
|
|
20937
21076
|
}
|
|
20938
21077
|
if (this.origProperties) {
|
|
20939
21078
|
var _this$catalogMask$pro, _this$catalogMask2, _json$Properties2;
|
|
@@ -30087,7 +30226,7 @@ var DivaArticle = /*#__PURE__*/function () {
|
|
|
30087
30226
|
break;
|
|
30088
30227
|
}
|
|
30089
30228
|
_context.next = 4;
|
|
30090
|
-
return Promise.resolve().then(function () { return require('./ShelfPlanner-
|
|
30229
|
+
return Promise.resolve().then(function () { return require('./ShelfPlanner-1eacb968.js'); });
|
|
30091
30230
|
case 4:
|
|
30092
30231
|
_yield$import = _context.sent;
|
|
30093
30232
|
ShelfPlanner = _yield$import["default"];
|
|
@@ -38182,7 +38321,7 @@ var DivaSet = /*#__PURE__*/function () {
|
|
|
38182
38321
|
break;
|
|
38183
38322
|
}
|
|
38184
38323
|
_context5.next = 3;
|
|
38185
|
-
return Promise.resolve().then(function () { return require('./DoorPlanner-
|
|
38324
|
+
return Promise.resolve().then(function () { return require('./DoorPlanner-19a9ca84.js'); });
|
|
38186
38325
|
case 3:
|
|
38187
38326
|
_yield$import = _context5.sent;
|
|
38188
38327
|
DoorPlanner = _yield$import["default"];
|
|
@@ -43766,7 +43905,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
43766
43905
|
break;
|
|
43767
43906
|
case 3:
|
|
43768
43907
|
_context12.next = 5;
|
|
43769
|
-
return Promise.resolve().then(function () { return require('./PfisterWWSHandler-
|
|
43908
|
+
return Promise.resolve().then(function () { return require('./PfisterWWSHandler-de539a79.js'); });
|
|
43770
43909
|
case 5:
|
|
43771
43910
|
_yield$import = _context12.sent;
|
|
43772
43911
|
PfisterWWSHandler = _yield$import["default"];
|
|
@@ -43774,7 +43913,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
43774
43913
|
return _context12.abrupt("break", 27);
|
|
43775
43914
|
case 9:
|
|
43776
43915
|
_context12.next = 11;
|
|
43777
|
-
return Promise.resolve().then(function () { return require('./LiviqueWWSHandler-
|
|
43916
|
+
return Promise.resolve().then(function () { return require('./LiviqueWWSHandler-7e9e0da3.js'); });
|
|
43778
43917
|
case 11:
|
|
43779
43918
|
_yield$import2 = _context12.sent;
|
|
43780
43919
|
LiviqueWWSHandler = _yield$import2["default"];
|
|
@@ -43782,7 +43921,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
43782
43921
|
return _context12.abrupt("break", 27);
|
|
43783
43922
|
case 15:
|
|
43784
43923
|
_context12.next = 17;
|
|
43785
|
-
return Promise.resolve().then(function () { return require('./SeriousBasketHandler-
|
|
43924
|
+
return Promise.resolve().then(function () { return require('./SeriousBasketHandler-565b3cd3.js'); });
|
|
43786
43925
|
case 17:
|
|
43787
43926
|
_yield$import3 = _context12.sent;
|
|
43788
43927
|
SeriousWWSHandler = _yield$import3["default"];
|
|
@@ -43790,7 +43929,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
43790
43929
|
return _context12.abrupt("break", 27);
|
|
43791
43930
|
case 21:
|
|
43792
43931
|
_context12.next = 23;
|
|
43793
|
-
return Promise.resolve().then(function () { return require('./StandardWWSHandler-
|
|
43932
|
+
return Promise.resolve().then(function () { return require('./StandardWWSHandler-d57987b3.js'); });
|
|
43794
43933
|
case 23:
|
|
43795
43934
|
_yield$import4 = _context12.sent;
|
|
43796
43935
|
StandardWWSHandler = _yield$import4["default"];
|
|
@@ -45173,7 +45312,7 @@ var PlannerHandler3D = /*#__PURE__*/function () {
|
|
|
45173
45312
|
while (1) switch (_context3.prev = _context3.next) {
|
|
45174
45313
|
case 0:
|
|
45175
45314
|
_context3.next = 2;
|
|
45176
|
-
return Promise.resolve().then(function () { return require('./Host3DSignalR-
|
|
45315
|
+
return Promise.resolve().then(function () { return require('./Host3DSignalR-5607d512.js'); });
|
|
45177
45316
|
case 2:
|
|
45178
45317
|
_yield$import = _context3.sent;
|
|
45179
45318
|
Host3DSignalR = _yield$import["default"];
|
|
@@ -46849,7 +46988,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
|
|
|
46849
46988
|
break;
|
|
46850
46989
|
case 8:
|
|
46851
46990
|
_context5.next = 10;
|
|
46852
|
-
return Promise.resolve().then(function () { return require('./DivaStandardPlanner-
|
|
46991
|
+
return Promise.resolve().then(function () { return require('./DivaStandardPlanner-3abd5a59.js'); });
|
|
46853
46992
|
case 10:
|
|
46854
46993
|
_yield$import = _context5.sent;
|
|
46855
46994
|
DivaStandardPlanner = _yield$import["default"];
|
|
@@ -46860,7 +46999,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
|
|
|
46860
46999
|
return _context5.abrupt("break", 21);
|
|
46861
47000
|
case 15:
|
|
46862
47001
|
_context5.next = 17;
|
|
46863
|
-
return Promise.resolve().then(function () { return require('./DivaBoxPlanner-
|
|
47002
|
+
return Promise.resolve().then(function () { return require('./DivaBoxPlanner-eaf27b1a.js'); });
|
|
46864
47003
|
case 17:
|
|
46865
47004
|
_yield$import2 = _context5.sent;
|
|
46866
47005
|
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-9bfe0f0b.js');
|
|
6
6
|
var planner2dCore = require('@crystaldesign/planner-2d-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 { 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-1aea7522.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-a6cb9f07.js';
|
|
11
11
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
12
12
|
import 'axios';
|
|
13
13
|
import '@crystaldesign/basket-model';
|
|
@@ -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, P as PlannerElementData, B as BoundingBox } from './index-
|
|
6
|
+
import { V as Vector3, P as PlannerElementData, B as BoundingBox } from './index-1aea7522.js';
|
|
7
7
|
import DivaUtils, { DivaError, md5 } from '@crystaldesign/diva-utils';
|
|
8
8
|
import { computeDockedTransform } from '@crystaldesign/planner-2d-core';
|
|
9
|
-
import { d as dockingPointHandlerInst, h as handler2D } from './PlannerHandler2D-
|
|
9
|
+
import { d as dockingPointHandlerInst, h as handler2D } from './PlannerHandler2D-a6cb9f07.js';
|
|
10
10
|
import '@babel/runtime/helpers/slicedToArray';
|
|
11
11
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
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 './index-
|
|
4
|
+
import './index-1aea7522.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-1aea7522.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-1aea7522.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-1aea7522.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 } from './index-
|
|
6
|
+
import { c as Vector2 } from './index-1aea7522.js';
|
|
7
7
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
8
8
|
import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
|
|
9
9
|
import DivaUtils, { DivaError } from '@crystaldesign/diva-utils';
|
|
@@ -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-1aea7522.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, a as articleHandlerInstance, b as setHandlerInstance } from './index-
|
|
7
|
+
import { G as Grid, a as articleHandlerInstance, b as setHandlerInstance } from './index-1aea7522.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-1aea7522.js';
|
|
4
4
|
import '@babel/runtime/helpers/slicedToArray';
|
|
5
5
|
import '@babel/runtime/helpers/asyncToGenerator';
|
|
6
6
|
import '@babel/runtime/helpers/defineProperty';
|