@crystaldesign/web-planner-logic 26.11.0-beta.35 → 26.11.0-beta.37
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-b821219e.js → DivaBoxPlanner-c0520c45.js} +2 -2
- package/build/cjs/{DivaStandardPlanner-9d89dadf.js → DivaStandardPlanner-1db846eb.js} +2 -2
- package/build/cjs/{DoorPlanner-41e604f3.js → DoorPlanner-88e0c238.js} +1 -1
- package/build/cjs/{Host3DSignalR-b69a79da.js → Host3DSignalR-be17e9f0.js} +1 -1
- package/build/cjs/{LiviqueWWSHandler-f29a0f50.js → LiviqueWWSHandler-6a095216.js} +1 -1
- package/build/cjs/{PfisterWWSHandler-117a552b.js → PfisterWWSHandler-bf3beb05.js} +1 -1
- package/build/cjs/{PlannerHandler2D-fc7967b8.js → PlannerHandler2D-46d8f81e.js} +1 -1
- package/build/cjs/{SeriousBasketHandler-0e7c4f05.js → SeriousBasketHandler-2ed93671.js} +1 -1
- package/build/cjs/{ShelfPlanner-50802345.js → ShelfPlanner-ead27a2c.js} +1 -1
- package/build/cjs/{StandardWWSHandler-578b4c5d.js → StandardWWSHandler-1926a062.js} +1 -1
- package/build/cjs/{index-60503cb1.js → index-10f03519.js} +425 -224
- package/build/cjs/index.js +1 -1
- package/build/esm/{DivaBoxPlanner-e102540f.js → DivaBoxPlanner-2deb2e5b.js} +2 -2
- package/build/esm/{DivaStandardPlanner-4cded05c.js → DivaStandardPlanner-13d73d96.js} +2 -2
- package/build/esm/{DoorPlanner-01a03d37.js → DoorPlanner-46712090.js} +1 -1
- package/build/esm/{Host3DSignalR-e5a7e441.js → Host3DSignalR-42441368.js} +1 -1
- package/build/esm/{LiviqueWWSHandler-8cdf7254.js → LiviqueWWSHandler-4c6a9348.js} +1 -1
- package/build/esm/{PfisterWWSHandler-d6308bcc.js → PfisterWWSHandler-853e35df.js} +1 -1
- package/build/esm/{PlannerHandler2D-d2fd6892.js → PlannerHandler2D-af010dcd.js} +1 -1
- package/build/esm/{SeriousBasketHandler-2d6c25e0.js → SeriousBasketHandler-82d0db21.js} +1 -1
- package/build/esm/{ShelfPlanner-35db876e.js → ShelfPlanner-1cc44cfc.js} +1 -1
- package/build/esm/{StandardWWSHandler-f2a9e274.js → StandardWWSHandler-58d6afc8.js} +1 -1
- package/build/esm/{index-1f403b6c.js → index-cf29b6e6.js} +425 -224
- package/build/esm/index.js +1 -1
- package/build/types/web-planner-logic/src/logic/Article/Engine/IDMArticleEngine.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/model/Articles/Article/IDMCatalogArticle.d.ts +1 -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 +20 -7
- package/build/types/web-planner-logic/src/model/Catalog/CatalogData.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -17155,9 +17155,9 @@ var setOptionValueProperties = function setOptionValueProperties(catalogData, op
|
|
|
17155
17155
|
return metaDatas;
|
|
17156
17156
|
};
|
|
17157
17157
|
|
|
17158
|
-
function _createForOfIteratorHelper$
|
|
17159
|
-
function _unsupportedIterableToArray$
|
|
17160
|
-
function _arrayLikeToArray$
|
|
17158
|
+
function _createForOfIteratorHelper$l(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$l(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; } } }; }
|
|
17159
|
+
function _unsupportedIterableToArray$l(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$l(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$l(r, a) : void 0; } }
|
|
17160
|
+
function _arrayLikeToArray$l(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; }
|
|
17161
17161
|
//kaufmännischer Artikel
|
|
17162
17162
|
var CatalogArticleData = /*#__PURE__*/function () {
|
|
17163
17163
|
function CatalogArticleData(catalogArticle, catalogData) {
|
|
@@ -17932,7 +17932,7 @@ var CatalogArticleData = /*#__PURE__*/function () {
|
|
|
17932
17932
|
value: function getOptionValueFromOption(opt, opv) {
|
|
17933
17933
|
if (this._catalogArticle.articleOptions[opt] && this._catalogArticle.articleOptions[opt].hasOPG) {
|
|
17934
17934
|
var myOPGs = this._catalogArticle.articleOptions[opt].articleOptionValues;
|
|
17935
|
-
var _iterator = _createForOfIteratorHelper$
|
|
17935
|
+
var _iterator = _createForOfIteratorHelper$l(myOPGs),
|
|
17936
17936
|
_step;
|
|
17937
17937
|
try {
|
|
17938
17938
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -19074,9 +19074,9 @@ var ArticleOptionValueData = /*#__PURE__*/function () {
|
|
|
19074
19074
|
}]);
|
|
19075
19075
|
}();
|
|
19076
19076
|
|
|
19077
|
-
function _createForOfIteratorHelper$
|
|
19078
|
-
function _unsupportedIterableToArray$
|
|
19079
|
-
function _arrayLikeToArray$
|
|
19077
|
+
function _createForOfIteratorHelper$k(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$k(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; } } }; }
|
|
19078
|
+
function _unsupportedIterableToArray$k(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$k(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$k(r, a) : void 0; } }
|
|
19079
|
+
function _arrayLikeToArray$k(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; }
|
|
19080
19080
|
var ArticleOptionData = /*#__PURE__*/function () {
|
|
19081
19081
|
function ArticleOptionData(opt, catalogData) {
|
|
19082
19082
|
var _this$opt$property;
|
|
@@ -19164,7 +19164,7 @@ var ArticleOptionData = /*#__PURE__*/function () {
|
|
|
19164
19164
|
}, {
|
|
19165
19165
|
key: "getOpvByOcd",
|
|
19166
19166
|
value: function getOpvByOcd(codex) {
|
|
19167
|
-
var _iterator = _createForOfIteratorHelper$
|
|
19167
|
+
var _iterator = _createForOfIteratorHelper$k(this.opt.articleOptionValues),
|
|
19168
19168
|
_step;
|
|
19169
19169
|
try {
|
|
19170
19170
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -19984,13 +19984,15 @@ function getArticleOptionValueType(set, codex, jsonOPV, catalogOPV, myArticle, i
|
|
|
19984
19984
|
|
|
19985
19985
|
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; }
|
|
19986
19986
|
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(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; }
|
|
19987
|
-
function _createForOfIteratorHelper$
|
|
19988
|
-
function _unsupportedIterableToArray$
|
|
19989
|
-
function _arrayLikeToArray$
|
|
19987
|
+
function _createForOfIteratorHelper$j(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$j(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; } } }; }
|
|
19988
|
+
function _unsupportedIterableToArray$j(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$j(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$j(r, a) : void 0; } }
|
|
19989
|
+
function _arrayLikeToArray$j(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; }
|
|
19990
19990
|
var LOG$l = DivaUtils.initLog('Planner', 'WEB-PLANNER-LOGIC');
|
|
19991
19991
|
|
|
19992
19992
|
//a decision enabled by an action may itself enable further ones; the cap keeps a cyclic catalog from looping
|
|
19993
19993
|
var MAX_DECISION_REFERENCE_ROUNDS = 5;
|
|
19994
|
+
|
|
19995
|
+
/** Loads the IDM data these articles need; missing price feature groups, features and decisions are reported, never fatal. */
|
|
19994
19996
|
function loadMoreFromIDMArticles(_x, _x2) {
|
|
19995
19997
|
return _loadMoreFromIDMArticles.apply(this, arguments);
|
|
19996
19998
|
}
|
|
@@ -19998,16 +20000,16 @@ function loadMoreFromIDMArticles(_x, _x2) {
|
|
|
19998
20000
|
/** One additional-item reference of an item - the mandatory and optional sides of the same accessory merged. */
|
|
19999
20001
|
function _loadMoreFromIDMArticles() {
|
|
20000
20002
|
_loadMoreFromIDMArticles = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(catalogArticleDatas, set) {
|
|
20001
|
-
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;
|
|
20002
|
-
return _regeneratorRuntime.wrap(function _callee2$(
|
|
20003
|
-
while (1) switch (
|
|
20003
|
+
var items, _loop3, i, toLoadDecisionIds, toLoadPFGroups, toLoadFeatureClassRefNo, promises, _yield$Promise$all, _yield$Promise$all2, featureClasses, priceFeatureGroups, decisions, _i4, _decisions$map, loadedIds, missingIds, _i5, _iterator6, _step6, _loop7, _i6, _catalogArticleData$d2, catalogArticleData, toLoadFeatures, features, _loop4, _i7, _iterator7, _step7, _loop8, _loop6, _i8;
|
|
20004
|
+
return _regeneratorRuntime.wrap(function _callee2$(_context8) {
|
|
20005
|
+
while (1) switch (_context8.prev = _context8.next) {
|
|
20004
20006
|
case 0:
|
|
20005
|
-
|
|
20007
|
+
_context8.next = 2;
|
|
20006
20008
|
return set.api.getDataCache(set.api.getIDMItems(set.CatalogData.accountGuid, set.CatalogData.serieId, set.CatalogData.catalogCodex, catalogArticleDatas.map(function (a) {
|
|
20007
20009
|
return a.articleCodex;
|
|
20008
20010
|
})), undefined, undefined, 'enricher');
|
|
20009
20011
|
case 2:
|
|
20010
|
-
items =
|
|
20012
|
+
items = _context8.sent;
|
|
20011
20013
|
_loop3 = /*#__PURE__*/_regeneratorRuntime.mark(function _loop3() {
|
|
20012
20014
|
var catalogArticleData, item;
|
|
20013
20015
|
return _regeneratorRuntime.wrap(function _loop3$(_context4) {
|
|
@@ -20036,13 +20038,13 @@ function _loadMoreFromIDMArticles() {
|
|
|
20036
20038
|
i = 0;
|
|
20037
20039
|
case 5:
|
|
20038
20040
|
if (!(i < catalogArticleDatas.length)) {
|
|
20039
|
-
|
|
20041
|
+
_context8.next = 10;
|
|
20040
20042
|
break;
|
|
20041
20043
|
}
|
|
20042
|
-
return
|
|
20044
|
+
return _context8.delegateYield(_loop3(), "t0", 7);
|
|
20043
20045
|
case 7:
|
|
20044
20046
|
i++;
|
|
20045
|
-
|
|
20047
|
+
_context8.next = 5;
|
|
20046
20048
|
break;
|
|
20047
20049
|
case 10:
|
|
20048
20050
|
toLoadDecisionIds = getToLoadDecisionIds(catalogArticleDatas, set);
|
|
@@ -20053,10 +20055,10 @@ function _loadMoreFromIDMArticles() {
|
|
|
20053
20055
|
return a.featureClassRefNo;
|
|
20054
20056
|
})));
|
|
20055
20057
|
promises = [set.api.getDataCache(set.api.getIDMFeatureClass(set.CatalogData.accountGuid, toLoadFeatureClassRefNo), undefined, undefined, 'enricher'), toLoadPFGroups.length ? set.api.getDataCache(set.api.getIDMPriceFeatureGroups(set.CatalogData.accountGuid, toLoadPFGroups), undefined, undefined, 'enricher') : undefined, toLoadDecisionIds.length ? fetchDecisions(set, toLoadDecisionIds) : undefined];
|
|
20056
|
-
|
|
20058
|
+
_context8.next = 16;
|
|
20057
20059
|
return Promise.all(promises);
|
|
20058
20060
|
case 16:
|
|
20059
|
-
_yield$Promise$all =
|
|
20061
|
+
_yield$Promise$all = _context8.sent;
|
|
20060
20062
|
_yield$Promise$all2 = _slicedToArray(_yield$Promise$all, 3);
|
|
20061
20063
|
featureClasses = _yield$Promise$all2[0];
|
|
20062
20064
|
priceFeatureGroups = _yield$Promise$all2[1];
|
|
@@ -20067,7 +20069,7 @@ function _loadMoreFromIDMArticles() {
|
|
|
20067
20069
|
}
|
|
20068
20070
|
}
|
|
20069
20071
|
if (!(toLoadDecisionIds.length !== 0 && toLoadDecisionIds.length != (decisions === null || decisions === void 0 ? void 0 : decisions.length))) {
|
|
20070
|
-
|
|
20072
|
+
_context8.next = 26;
|
|
20071
20073
|
break;
|
|
20072
20074
|
}
|
|
20073
20075
|
loadedIds = new Set((_decisions$map = decisions === null || decisions === void 0 ? void 0 : decisions.map(function (d) {
|
|
@@ -20078,7 +20080,7 @@ function _loadMoreFromIDMArticles() {
|
|
|
20078
20080
|
});
|
|
20079
20081
|
throw new Error("loading decisions failed \u2013 missing: [".concat(missingIds.join(', '), "]"));
|
|
20080
20082
|
case 26:
|
|
20081
|
-
|
|
20083
|
+
_context8.next = 28;
|
|
20082
20084
|
return loadDecisionsReferencedByActions(set);
|
|
20083
20085
|
case 28:
|
|
20084
20086
|
if (priceFeatureGroups) {
|
|
@@ -20086,6 +20088,63 @@ function _loadMoreFromIDMArticles() {
|
|
|
20086
20088
|
set.CatalogData.loadedPriceFeaturegroups.push(initializePriceFeatureGroups(priceFeatureGroups[_i5], set.CatalogData.idmOptionGroups));
|
|
20087
20089
|
}
|
|
20088
20090
|
}
|
|
20091
|
+
_iterator6 = _createForOfIteratorHelper$j(toLoadPFGroups);
|
|
20092
|
+
_context8.prev = 30;
|
|
20093
|
+
_loop7 = /*#__PURE__*/_regeneratorRuntime.mark(function _loop7() {
|
|
20094
|
+
var prfgNo, askedBy;
|
|
20095
|
+
return _regeneratorRuntime.wrap(function _loop7$(_context5) {
|
|
20096
|
+
while (1) switch (_context5.prev = _context5.next) {
|
|
20097
|
+
case 0:
|
|
20098
|
+
prfgNo = _step6.value;
|
|
20099
|
+
if (!set.CatalogData.getPricefeaturegroup(prfgNo)) {
|
|
20100
|
+
_context5.next = 3;
|
|
20101
|
+
break;
|
|
20102
|
+
}
|
|
20103
|
+
return _context5.abrupt("return", 1);
|
|
20104
|
+
case 3:
|
|
20105
|
+
askedBy = catalogArticleDatas.filter(function (a) {
|
|
20106
|
+
var _a$priceFeatureGroupN;
|
|
20107
|
+
return (_a$priceFeatureGroupN = a.priceFeatureGroupNos) === null || _a$priceFeatureGroupN === void 0 ? void 0 : _a$priceFeatureGroupN.includes(prfgNo);
|
|
20108
|
+
}).map(function (a) {
|
|
20109
|
+
return a.articleCodex;
|
|
20110
|
+
});
|
|
20111
|
+
set.CatalogData.reportMissingPricefeaturegroup(prfgNo, {
|
|
20112
|
+
articleCodices: askedBy
|
|
20113
|
+
});
|
|
20114
|
+
case 5:
|
|
20115
|
+
case "end":
|
|
20116
|
+
return _context5.stop();
|
|
20117
|
+
}
|
|
20118
|
+
}, _loop7);
|
|
20119
|
+
});
|
|
20120
|
+
_iterator6.s();
|
|
20121
|
+
case 33:
|
|
20122
|
+
if ((_step6 = _iterator6.n()).done) {
|
|
20123
|
+
_context8.next = 39;
|
|
20124
|
+
break;
|
|
20125
|
+
}
|
|
20126
|
+
return _context8.delegateYield(_loop7(), "t1", 35);
|
|
20127
|
+
case 35:
|
|
20128
|
+
if (!_context8.t1) {
|
|
20129
|
+
_context8.next = 37;
|
|
20130
|
+
break;
|
|
20131
|
+
}
|
|
20132
|
+
return _context8.abrupt("continue", 37);
|
|
20133
|
+
case 37:
|
|
20134
|
+
_context8.next = 33;
|
|
20135
|
+
break;
|
|
20136
|
+
case 39:
|
|
20137
|
+
_context8.next = 44;
|
|
20138
|
+
break;
|
|
20139
|
+
case 41:
|
|
20140
|
+
_context8.prev = 41;
|
|
20141
|
+
_context8.t2 = _context8["catch"](30);
|
|
20142
|
+
_iterator6.e(_context8.t2);
|
|
20143
|
+
case 44:
|
|
20144
|
+
_context8.prev = 44;
|
|
20145
|
+
_iterator6.f();
|
|
20146
|
+
return _context8.finish(44);
|
|
20147
|
+
case 47:
|
|
20089
20148
|
for (_i6 = 0; _i6 < catalogArticleDatas.length; _i6++) {
|
|
20090
20149
|
catalogArticleData = catalogArticleDatas[_i6];
|
|
20091
20150
|
catalogArticleData.articleIDMDecisions = sortDecisions(set.CatalogData.getDecisionsByNo(_toConsumableArray(new Set([].concat(_toConsumableArray(set.CatalogData.globalDecisions.map(function (g) {
|
|
@@ -20097,13 +20156,13 @@ function _loadMoreFromIDMArticles() {
|
|
|
20097
20156
|
});
|
|
20098
20157
|
toLoadFeatures = getFeatures(set, featureClasses);
|
|
20099
20158
|
if (!toLoadFeatures.length) {
|
|
20100
|
-
|
|
20159
|
+
_context8.next = 61;
|
|
20101
20160
|
break;
|
|
20102
20161
|
}
|
|
20103
|
-
|
|
20162
|
+
_context8.next = 53;
|
|
20104
20163
|
return set.api.getDataCache(set.api.getIDMFeatures(set.CatalogData.accountGuid, toLoadFeatures), undefined, undefined, 'enricher');
|
|
20105
|
-
case
|
|
20106
|
-
features =
|
|
20164
|
+
case 53:
|
|
20165
|
+
features = _context8.sent;
|
|
20107
20166
|
_loop4 = /*#__PURE__*/_regeneratorRuntime.mark(function _loop4() {
|
|
20108
20167
|
var feature, insertIndex, k, _loop5, j;
|
|
20109
20168
|
return _regeneratorRuntime.wrap(function _loop4$(_context3) {
|
|
@@ -20184,28 +20243,86 @@ function _loadMoreFromIDMArticles() {
|
|
|
20184
20243
|
}, _loop4);
|
|
20185
20244
|
});
|
|
20186
20245
|
_i7 = 0;
|
|
20187
|
-
case
|
|
20246
|
+
case 56:
|
|
20188
20247
|
if (!(_i7 < features.length)) {
|
|
20189
|
-
|
|
20248
|
+
_context8.next = 61;
|
|
20190
20249
|
break;
|
|
20191
20250
|
}
|
|
20192
|
-
return
|
|
20193
|
-
case
|
|
20251
|
+
return _context8.delegateYield(_loop4(), "t3", 58);
|
|
20252
|
+
case 58:
|
|
20194
20253
|
_i7++;
|
|
20195
|
-
|
|
20254
|
+
_context8.next = 56;
|
|
20196
20255
|
break;
|
|
20197
|
-
case
|
|
20256
|
+
case 61:
|
|
20257
|
+
_iterator7 = _createForOfIteratorHelper$j(toLoadFeatures);
|
|
20258
|
+
_context8.prev = 62;
|
|
20259
|
+
_loop8 = /*#__PURE__*/_regeneratorRuntime.mark(function _loop8() {
|
|
20260
|
+
var featureNo, askedBy;
|
|
20261
|
+
return _regeneratorRuntime.wrap(function _loop8$(_context6) {
|
|
20262
|
+
while (1) switch (_context6.prev = _context6.next) {
|
|
20263
|
+
case 0:
|
|
20264
|
+
featureNo = _step7.value;
|
|
20265
|
+
if (!set.CatalogData.loadedFeatures.some(function (f) {
|
|
20266
|
+
return f.featureNo == featureNo;
|
|
20267
|
+
})) {
|
|
20268
|
+
_context6.next = 3;
|
|
20269
|
+
break;
|
|
20270
|
+
}
|
|
20271
|
+
return _context6.abrupt("return", 1);
|
|
20272
|
+
case 3:
|
|
20273
|
+
askedBy = featureClasses.filter(function (fc) {
|
|
20274
|
+
return getFeaturesByFeatureClass(fc).includes(featureNo);
|
|
20275
|
+
}).map(function (fc) {
|
|
20276
|
+
return fc.featureClassNo;
|
|
20277
|
+
});
|
|
20278
|
+
set.CatalogData.reportMissingFeature(Number(featureNo), {
|
|
20279
|
+
featureClassNos: askedBy
|
|
20280
|
+
});
|
|
20281
|
+
case 5:
|
|
20282
|
+
case "end":
|
|
20283
|
+
return _context6.stop();
|
|
20284
|
+
}
|
|
20285
|
+
}, _loop8);
|
|
20286
|
+
});
|
|
20287
|
+
_iterator7.s();
|
|
20288
|
+
case 65:
|
|
20289
|
+
if ((_step7 = _iterator7.n()).done) {
|
|
20290
|
+
_context8.next = 71;
|
|
20291
|
+
break;
|
|
20292
|
+
}
|
|
20293
|
+
return _context8.delegateYield(_loop8(), "t4", 67);
|
|
20294
|
+
case 67:
|
|
20295
|
+
if (!_context8.t4) {
|
|
20296
|
+
_context8.next = 69;
|
|
20297
|
+
break;
|
|
20298
|
+
}
|
|
20299
|
+
return _context8.abrupt("continue", 69);
|
|
20300
|
+
case 69:
|
|
20301
|
+
_context8.next = 65;
|
|
20302
|
+
break;
|
|
20303
|
+
case 71:
|
|
20304
|
+
_context8.next = 76;
|
|
20305
|
+
break;
|
|
20306
|
+
case 73:
|
|
20307
|
+
_context8.prev = 73;
|
|
20308
|
+
_context8.t5 = _context8["catch"](62);
|
|
20309
|
+
_iterator7.e(_context8.t5);
|
|
20310
|
+
case 76:
|
|
20311
|
+
_context8.prev = 76;
|
|
20312
|
+
_iterator7.f();
|
|
20313
|
+
return _context8.finish(76);
|
|
20314
|
+
case 79:
|
|
20198
20315
|
_loop6 = /*#__PURE__*/_regeneratorRuntime.mark(function _loop6() {
|
|
20199
20316
|
var catalogArticleData, featureClass, features, j;
|
|
20200
|
-
return _regeneratorRuntime.wrap(function _loop6$(
|
|
20201
|
-
while (1) switch (
|
|
20317
|
+
return _regeneratorRuntime.wrap(function _loop6$(_context7) {
|
|
20318
|
+
while (1) switch (_context7.prev = _context7.next) {
|
|
20202
20319
|
case 0:
|
|
20203
20320
|
catalogArticleData = catalogArticleDatas[_i8];
|
|
20204
20321
|
featureClass = featureClasses.find(function (fc) {
|
|
20205
20322
|
return fc.featureClassNo == catalogArticleData.featureClassRefNo;
|
|
20206
20323
|
});
|
|
20207
20324
|
if (featureClass) {
|
|
20208
|
-
|
|
20325
|
+
_context7.next = 4;
|
|
20209
20326
|
break;
|
|
20210
20327
|
}
|
|
20211
20328
|
throw new Error('featureClassRefNo ' + catalogArticleData.featureClassRefNo + ' not found');
|
|
@@ -20216,30 +20333,30 @@ function _loadMoreFromIDMArticles() {
|
|
|
20216
20333
|
}
|
|
20217
20334
|
case 6:
|
|
20218
20335
|
case "end":
|
|
20219
|
-
return
|
|
20336
|
+
return _context7.stop();
|
|
20220
20337
|
}
|
|
20221
20338
|
}, _loop6);
|
|
20222
20339
|
});
|
|
20223
20340
|
_i8 = 0;
|
|
20224
|
-
case
|
|
20341
|
+
case 81:
|
|
20225
20342
|
if (!(_i8 < catalogArticleDatas.length)) {
|
|
20226
|
-
|
|
20343
|
+
_context8.next = 86;
|
|
20227
20344
|
break;
|
|
20228
20345
|
}
|
|
20229
|
-
return
|
|
20230
|
-
case
|
|
20346
|
+
return _context8.delegateYield(_loop6(), "t6", 83);
|
|
20347
|
+
case 83:
|
|
20231
20348
|
_i8++;
|
|
20232
|
-
|
|
20349
|
+
_context8.next = 81;
|
|
20233
20350
|
break;
|
|
20234
|
-
case
|
|
20351
|
+
case 86:
|
|
20235
20352
|
catalogArticleDatas.map(function (c) {
|
|
20236
20353
|
return c.areOptionsLoaded = true;
|
|
20237
20354
|
});
|
|
20238
|
-
case
|
|
20355
|
+
case 87:
|
|
20239
20356
|
case "end":
|
|
20240
|
-
return
|
|
20357
|
+
return _context8.stop();
|
|
20241
20358
|
}
|
|
20242
|
-
}, _callee2);
|
|
20359
|
+
}, _callee2, null, [[30, 41, 44, 47], [62, 73, 76, 79]]);
|
|
20243
20360
|
}));
|
|
20244
20361
|
return _loadMoreFromIDMArticles.apply(this, arguments);
|
|
20245
20362
|
}
|
|
@@ -20254,13 +20371,13 @@ function readAdditionalItemRefs(item) {
|
|
|
20254
20371
|
var _item$mandatoryAdditi, _item$mandatoryAdditi2, _item$optionalAdditio, _item$optionalAdditio2;
|
|
20255
20372
|
var merged = new Map();
|
|
20256
20373
|
var add = function add(groups, quantity) {
|
|
20257
|
-
var _iterator = _createForOfIteratorHelper$
|
|
20374
|
+
var _iterator = _createForOfIteratorHelper$j(groups),
|
|
20258
20375
|
_step;
|
|
20259
20376
|
try {
|
|
20260
20377
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
20261
20378
|
var _group$itemRef;
|
|
20262
20379
|
var group = _step.value;
|
|
20263
|
-
var _iterator2 = _createForOfIteratorHelper$
|
|
20380
|
+
var _iterator2 = _createForOfIteratorHelper$j((_group$itemRef = group.itemRef) !== null && _group$itemRef !== void 0 ? _group$itemRef : []),
|
|
20264
20381
|
_step2;
|
|
20265
20382
|
try {
|
|
20266
20383
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
@@ -20377,16 +20494,16 @@ var loadDecisionsReferencedByActions = /*#__PURE__*/function () {
|
|
|
20377
20494
|
break;
|
|
20378
20495
|
}
|
|
20379
20496
|
toLoad = new Set();
|
|
20380
|
-
_iterator3 = _createForOfIteratorHelper$
|
|
20497
|
+
_iterator3 = _createForOfIteratorHelper$j(set.CatalogData.loadedDecisions);
|
|
20381
20498
|
try {
|
|
20382
20499
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
20383
20500
|
decision = _step3.value;
|
|
20384
|
-
_iterator4 = _createForOfIteratorHelper$
|
|
20501
|
+
_iterator4 = _createForOfIteratorHelper$j((_decision$optionCombi = decision.optionCombinations) !== null && _decision$optionCombi !== void 0 ? _decision$optionCombi : []);
|
|
20385
20502
|
try {
|
|
20386
20503
|
for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
|
|
20387
20504
|
combination = _step4.value;
|
|
20388
20505
|
refs = [].concat(_toConsumableArray((_combination$projectA = (_combination$projectA2 = combination.projectActions) === null || _combination$projectA2 === void 0 ? void 0 : _combination$projectA2.disableDecision) !== null && _combination$projectA !== void 0 ? _combination$projectA : []), _toConsumableArray((_combination$projectA3 = (_combination$projectA4 = combination.projectActions) === null || _combination$projectA4 === void 0 ? void 0 : _combination$projectA4.enableDecision) !== null && _combination$projectA3 !== void 0 ? _combination$projectA3 : []));
|
|
20389
|
-
_iterator5 = _createForOfIteratorHelper$
|
|
20506
|
+
_iterator5 = _createForOfIteratorHelper$j(refs);
|
|
20390
20507
|
try {
|
|
20391
20508
|
for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
|
|
20392
20509
|
ref = _step5.value;
|
|
@@ -20799,9 +20916,9 @@ function getArticleOption(set, option, catalogOption, feature, catalogArticleDat
|
|
|
20799
20916
|
return opv;
|
|
20800
20917
|
}
|
|
20801
20918
|
|
|
20802
|
-
function _createForOfIteratorHelper$
|
|
20803
|
-
function _unsupportedIterableToArray$
|
|
20804
|
-
function _arrayLikeToArray$
|
|
20919
|
+
function _createForOfIteratorHelper$i(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$i(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; } } }; }
|
|
20920
|
+
function _unsupportedIterableToArray$i(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$i(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$i(r, a) : void 0; } }
|
|
20921
|
+
function _arrayLikeToArray$i(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; }
|
|
20805
20922
|
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; }
|
|
20806
20923
|
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(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; }
|
|
20807
20924
|
var LOG$k = DivaUtils.initLog('Planner', 'WEB-PLANNER-LOGIC');
|
|
@@ -21021,7 +21138,7 @@ function getAdditionalItemTypeNos(jsonItems, catalogData) {
|
|
|
21021
21138
|
var typeNos = new Set();
|
|
21022
21139
|
if (catalogData.ignoreArticleRelations) return typeNos;
|
|
21023
21140
|
for (var i = 0; i < jsonItems.length; i++) {
|
|
21024
|
-
var _iterator = _createForOfIteratorHelper$
|
|
21141
|
+
var _iterator = _createForOfIteratorHelper$i(readAdditionalItemRefs(jsonItems[i])),
|
|
21025
21142
|
_step;
|
|
21026
21143
|
try {
|
|
21027
21144
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -21140,6 +21257,9 @@ function initCatalogPlannerArticleView(catalogData, catPlanArticle, catalogProps
|
|
|
21140
21257
|
|
|
21141
21258
|
function ownKeys$n(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; }
|
|
21142
21259
|
function _objectSpread$n(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$n(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$n(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
21260
|
+
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; } } }; }
|
|
21261
|
+
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; } }
|
|
21262
|
+
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; }
|
|
21143
21263
|
|
|
21144
21264
|
/*
|
|
21145
21265
|
Diese KLasse enthält Inforamtion zu einem Catalog (C)
|
|
@@ -21159,6 +21279,9 @@ var DivaCatalogData = /*#__PURE__*/function () {
|
|
|
21159
21279
|
_defineProperty(this, "catalogData", void 0);
|
|
21160
21280
|
_defineProperty(this, "additionalModelInfos", void 0);
|
|
21161
21281
|
_defineProperty(this, "origProperties", []);
|
|
21282
|
+
_defineProperty(this, "reportedMissingPricefeaturegroups", new Set());
|
|
21283
|
+
_defineProperty(this, "reportedMissingDecisions", new Set());
|
|
21284
|
+
_defineProperty(this, "reportedMissingFeatures", new Set());
|
|
21162
21285
|
_defineProperty(this, "plannerPaletteViewInfo", void 0);
|
|
21163
21286
|
_defineProperty(this, "_api", void 0);
|
|
21164
21287
|
_defineProperty(this, "variantsPriceHashObj", {});
|
|
@@ -21503,16 +21626,42 @@ var DivaCatalogData = /*#__PURE__*/function () {
|
|
|
21503
21626
|
get: function get() {
|
|
21504
21627
|
return this.catalogData.description;
|
|
21505
21628
|
}
|
|
21629
|
+
/** The loaded decisions for these numbers; a number the catalog does not hold is omitted and reported once. */
|
|
21506
21630
|
}, {
|
|
21507
21631
|
key: "getDecisionsByNo",
|
|
21508
21632
|
value: function getDecisionsByNo() {
|
|
21509
|
-
var _this = this;
|
|
21510
21633
|
var decisionNos = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
21511
|
-
|
|
21512
|
-
|
|
21513
|
-
|
|
21514
|
-
|
|
21515
|
-
|
|
21634
|
+
var decisions = [];
|
|
21635
|
+
var _iterator = _createForOfIteratorHelper$h(decisionNos),
|
|
21636
|
+
_step;
|
|
21637
|
+
try {
|
|
21638
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
21639
|
+
var decisionNo = _step.value;
|
|
21640
|
+
var decision = this.getDecisionByNo(decisionNo);
|
|
21641
|
+
if (decision) decisions.push(decision);else this.reportMissingDecision(decisionNo);
|
|
21642
|
+
}
|
|
21643
|
+
} catch (err) {
|
|
21644
|
+
_iterator.e(err);
|
|
21645
|
+
} finally {
|
|
21646
|
+
_iterator.f();
|
|
21647
|
+
}
|
|
21648
|
+
return decisions;
|
|
21649
|
+
}
|
|
21650
|
+
|
|
21651
|
+
/** Reports a decision the catalog does not hold - once per number, whichever caller notices it first. */
|
|
21652
|
+
}, {
|
|
21653
|
+
key: "reportMissingDecision",
|
|
21654
|
+
value: function reportMissingDecision(decisionNo) {
|
|
21655
|
+
var custom = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
21656
|
+
if (this.reportedMissingDecisions.has(decisionNo)) return;
|
|
21657
|
+
this.reportedMissingDecisions.add(decisionNo);
|
|
21658
|
+
LOG$j.error(new DivaError('decisionNo: ' + decisionNo + ' not found - evaluated without it', {
|
|
21659
|
+
code: 'WC_0019',
|
|
21660
|
+
custom: _objectSpread$n({
|
|
21661
|
+
decisionNo: decisionNo,
|
|
21662
|
+
catalogCodex: this.catalogCodex
|
|
21663
|
+
}, custom)
|
|
21664
|
+
}));
|
|
21516
21665
|
}
|
|
21517
21666
|
}, {
|
|
21518
21667
|
key: "getDecisionByNo",
|
|
@@ -21521,16 +21670,58 @@ var DivaCatalogData = /*#__PURE__*/function () {
|
|
|
21521
21670
|
return d.decisionNo == decisionNo;
|
|
21522
21671
|
});
|
|
21523
21672
|
}
|
|
21673
|
+
/** The loaded price feature groups for these numbers; a group the catalog does not hold is omitted and reported once. */
|
|
21524
21674
|
}, {
|
|
21525
21675
|
key: "getPricefeaturegroups",
|
|
21526
21676
|
value: function getPricefeaturegroups() {
|
|
21527
|
-
var _this2 = this;
|
|
21528
21677
|
var prfgNos = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
21529
|
-
|
|
21530
|
-
|
|
21531
|
-
|
|
21532
|
-
|
|
21533
|
-
|
|
21678
|
+
var groups = [];
|
|
21679
|
+
var _iterator2 = _createForOfIteratorHelper$h(prfgNos),
|
|
21680
|
+
_step2;
|
|
21681
|
+
try {
|
|
21682
|
+
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
21683
|
+
var prfgNo = _step2.value;
|
|
21684
|
+
var group = this.getPricefeaturegroup(prfgNo);
|
|
21685
|
+
if (group) groups.push(group);else this.reportMissingPricefeaturegroup(prfgNo);
|
|
21686
|
+
}
|
|
21687
|
+
} catch (err) {
|
|
21688
|
+
_iterator2.e(err);
|
|
21689
|
+
} finally {
|
|
21690
|
+
_iterator2.f();
|
|
21691
|
+
}
|
|
21692
|
+
return groups;
|
|
21693
|
+
}
|
|
21694
|
+
|
|
21695
|
+
/** Reports a price feature group the catalog does not hold - once per group, whichever caller notices it first. */
|
|
21696
|
+
}, {
|
|
21697
|
+
key: "reportMissingPricefeaturegroup",
|
|
21698
|
+
value: function reportMissingPricefeaturegroup(prfgNo) {
|
|
21699
|
+
var custom = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
21700
|
+
if (this.reportedMissingPricefeaturegroups.has(prfgNo)) return;
|
|
21701
|
+
this.reportedMissingPricefeaturegroups.add(prfgNo);
|
|
21702
|
+
LOG$j.error(new DivaError('PriceFeaturegroup: ' + prfgNo + ' not found - article prices without it', {
|
|
21703
|
+
code: 'WC_0017',
|
|
21704
|
+
custom: _objectSpread$n({
|
|
21705
|
+
priceFeatureGroupNo: prfgNo,
|
|
21706
|
+
catalogCodex: this.catalogCodex
|
|
21707
|
+
}, custom)
|
|
21708
|
+
}));
|
|
21709
|
+
}
|
|
21710
|
+
|
|
21711
|
+
/** Reports a feature the catalog did not return - once per feature, whichever caller notices it first. */
|
|
21712
|
+
}, {
|
|
21713
|
+
key: "reportMissingFeature",
|
|
21714
|
+
value: function reportMissingFeature(featureNo) {
|
|
21715
|
+
var custom = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
21716
|
+
if (this.reportedMissingFeatures.has(featureNo)) return;
|
|
21717
|
+
this.reportedMissingFeatures.add(featureNo);
|
|
21718
|
+
LOG$j.error(new DivaError('feature: ' + featureNo + ' not found - articles using it have no such config step', {
|
|
21719
|
+
code: 'WC_0018',
|
|
21720
|
+
custom: _objectSpread$n({
|
|
21721
|
+
featureNo: featureNo,
|
|
21722
|
+
catalogCodex: this.catalogCodex
|
|
21723
|
+
}, custom)
|
|
21724
|
+
}));
|
|
21534
21725
|
}
|
|
21535
21726
|
}, {
|
|
21536
21727
|
key: "getPricefeaturegroup",
|
|
@@ -22262,11 +22453,11 @@ var DivaCatalogData = /*#__PURE__*/function () {
|
|
|
22262
22453
|
return undefined;
|
|
22263
22454
|
},
|
|
22264
22455
|
set: function set(newMask) {
|
|
22265
|
-
var
|
|
22456
|
+
var _this = this;
|
|
22266
22457
|
if (!this.additionalModelInfos) throw new Error('additionalModelInfos dont exist for this catalog');
|
|
22267
22458
|
this.updateMask(newMask).then(function (r) {
|
|
22268
|
-
|
|
22269
|
-
|
|
22459
|
+
_this.additionalModelInfos = r;
|
|
22460
|
+
_this.initMask(true);
|
|
22270
22461
|
});
|
|
22271
22462
|
}
|
|
22272
22463
|
}, {
|
|
@@ -22378,7 +22569,7 @@ var DivaCatalogData = /*#__PURE__*/function () {
|
|
|
22378
22569
|
}, {
|
|
22379
22570
|
key: "initProperties",
|
|
22380
22571
|
value: function initProperties(catalogCodex, properties) {
|
|
22381
|
-
var
|
|
22572
|
+
var _this2 = this;
|
|
22382
22573
|
var diva3DRenderingIsSet = false;
|
|
22383
22574
|
properties.forEach(function (item, index) {
|
|
22384
22575
|
var _item$Value;
|
|
@@ -22388,98 +22579,98 @@ var DivaCatalogData = /*#__PURE__*/function () {
|
|
|
22388
22579
|
if (key.startsWith(catalogCodex + '__')) key = key.replace(catalogCodex + '__', '');
|
|
22389
22580
|
switch (key) {
|
|
22390
22581
|
case 'DIVA3D_ROOM':
|
|
22391
|
-
|
|
22392
|
-
if (
|
|
22582
|
+
_this2.catalogProps.diva3dRoom = item.Value;
|
|
22583
|
+
if (_this2.catalogProps.diva3dRoom == 'raumatlantis') _this2.catalogProps.diva3dRoom = 'weissraumatlantis';
|
|
22393
22584
|
break;
|
|
22394
22585
|
case 'DIVA3D_RENDERING':
|
|
22395
22586
|
diva3DRenderingIsSet = item.Value == '1' || item.Value.toLowerCase() == 'true';
|
|
22396
|
-
if (
|
|
22397
|
-
|
|
22587
|
+
if (_this2.isIDMFormat) {
|
|
22588
|
+
_this2.catalogProps.has3dModels = diva3DRenderingIsSet;
|
|
22398
22589
|
}
|
|
22399
|
-
if (
|
|
22400
|
-
|
|
22590
|
+
if (_this2.catalogProps.diva3dShowRenderingByCatalogData) {
|
|
22591
|
+
_this2.catalogProps.has3dModels = _this2.catalogProps.has3dModels && diva3DRenderingIsSet;
|
|
22401
22592
|
}
|
|
22402
22593
|
break;
|
|
22403
22594
|
case 'DIVA3D_AR_READY':
|
|
22404
|
-
|
|
22595
|
+
_this2.catalogProps.divaArReady = item.Value == '1';
|
|
22405
22596
|
break;
|
|
22406
22597
|
case 'DIVA3D_AR_FORCERTV':
|
|
22407
|
-
|
|
22598
|
+
_this2.catalogProps.divaForceRTV = item.Value == '1';
|
|
22408
22599
|
break;
|
|
22409
22600
|
case 'DIVA3D_USE_RTV_NEXT':
|
|
22410
|
-
|
|
22601
|
+
_this2.catalogProps.divaUseRtvNext = item.Value == '1';
|
|
22411
22602
|
break;
|
|
22412
22603
|
case 'HEADER_DIMENSION_IDS':
|
|
22413
|
-
|
|
22604
|
+
_this2.catalogProps.headerDimensionIds = item.Value.split(';');
|
|
22414
22605
|
break;
|
|
22415
22606
|
case 'DONTCALCBASEPRICE':
|
|
22416
|
-
|
|
22607
|
+
_this2.catalogProps.dontShowBasePrice = item.Value == '1';
|
|
22417
22608
|
break;
|
|
22418
22609
|
case 'DIVA3D_STATIC_BG_IMAGE_ROOMLIST':
|
|
22419
|
-
|
|
22610
|
+
_this2.catalogProps.roomList3DStaticBGImage.set('3D_STATBG_ROOMLIST', item.Value.split(';'));
|
|
22420
22611
|
break;
|
|
22421
22612
|
case 'DIVA3D_DISABLE_3DEXPORT':
|
|
22422
|
-
|
|
22613
|
+
_this2.catalogProps.disable3DExport = item.Value == '1';
|
|
22423
22614
|
break;
|
|
22424
22615
|
case '3D_COMPATIBLE_WITH_IMAGE_CACHE':
|
|
22425
|
-
|
|
22616
|
+
_this2.catalogProps.diva3dCompatibleWithImageCache = item.Value == '1';
|
|
22426
22617
|
break;
|
|
22427
22618
|
case 'ENABLE_DO_SHOW_3DDIMENSIONS':
|
|
22428
|
-
|
|
22619
|
+
_this2.catalogProps.doShow3DDimensionLines = item.Value == '1' || item.Value.toLowerCase() == 'true';
|
|
22429
22620
|
break;
|
|
22430
22621
|
case 'DO_SHOW_MAIN_DIMENSIONS':
|
|
22431
|
-
|
|
22622
|
+
_this2.catalogProps.doShowMainDimensions = item.Value == '1' || item.Value.toLowerCase() == 'true';
|
|
22432
22623
|
break;
|
|
22433
22624
|
case 'DEFAULT_DO_SHOW_3DDIMENSIONS':
|
|
22434
|
-
|
|
22625
|
+
_this2.catalogProps.defaultDimensionsActive = '1' == item.Value || 'true' == item.Value.toLowerCase();
|
|
22435
22626
|
break;
|
|
22436
22627
|
case 'DIVA_KI_READY':
|
|
22437
|
-
|
|
22628
|
+
_this2.catalogProps.divaKiReady = item.Value == '1' || item.Value.toLowerCase() == 'true';
|
|
22438
22629
|
break;
|
|
22439
22630
|
// Planner Topics
|
|
22440
22631
|
case 'IS_IDM3D_CAT':
|
|
22441
|
-
|
|
22632
|
+
_this2.catalogProps.isIDM3DCat = item.Value == '1' || item.Value.toLowerCase() == 'true';
|
|
22442
22633
|
break;
|
|
22443
22634
|
case 'IDM3D_ENVIRONMENT':
|
|
22444
|
-
|
|
22635
|
+
_this2.catalogProps.IDM3DEnvironment = (_item$Value = item.Value) !== null && _item$Value !== void 0 ? _item$Value : 'diva.ro';
|
|
22445
22636
|
break;
|
|
22446
22637
|
case 'IDM3D_CAT_CODEX':
|
|
22447
|
-
|
|
22638
|
+
_this2.catalogProps.IDM3DCatCodex = item.Value;
|
|
22448
22639
|
break;
|
|
22449
22640
|
case 'DIVA3D_PLANER_DIGITS':
|
|
22450
|
-
|
|
22641
|
+
_this2.catalogProps.divaPlanerDigits = Number(item.Value);
|
|
22451
22642
|
break;
|
|
22452
22643
|
case 'DIVA3D_PLANER_SHOW_ARTICLE_SVG':
|
|
22453
|
-
|
|
22644
|
+
_this2.catalogProps.diva3dPlanerShowArticleAsSvg = item.Value == '1';
|
|
22454
22645
|
break;
|
|
22455
22646
|
case 'SHOWTYPENRINPLANNER':
|
|
22456
|
-
|
|
22647
|
+
_this2.catalogProps.showTypeNrInPlanner = item.Value == '1';
|
|
22457
22648
|
break;
|
|
22458
22649
|
case 'STARTFILTERPARAMS':
|
|
22459
|
-
|
|
22650
|
+
_this2.catalogProps.startFilterParams = String(item.Value);
|
|
22460
22651
|
break;
|
|
22461
22652
|
case 'STARTHIDEARTICLES':
|
|
22462
|
-
|
|
22653
|
+
_this2.catalogProps.startHideArticles = item.Value.split(';');
|
|
22463
22654
|
break;
|
|
22464
22655
|
case 'USEGLOBALSVGSCALE':
|
|
22465
|
-
|
|
22656
|
+
_this2.catalogProps.useGlobalSVGScale = item.Value == '1';
|
|
22466
22657
|
break;
|
|
22467
22658
|
case 'USEBOXPLANNER':
|
|
22468
|
-
|
|
22659
|
+
_this2.catalogProps.useBoxPlanner = item.Value == '1' ? true : item.Value.split(';');
|
|
22469
22660
|
break;
|
|
22470
22661
|
case 'ELEMENT_COPY_AVLR':
|
|
22471
|
-
|
|
22472
|
-
return (!
|
|
22662
|
+
_this2.catalogProps.elementCopyAVLR = item.Value == '1' ? true : item.Value.split(';').map(function (o) {
|
|
22663
|
+
return (!_this2.isIDMFormat ? 'OPT' : '') + o;
|
|
22473
22664
|
});
|
|
22474
22665
|
break;
|
|
22475
22666
|
case 'PLAN_2D_FONT_URL':
|
|
22476
|
-
|
|
22667
|
+
_this2.catalogProps.plan2DFontUrl = item.Value || undefined;
|
|
22477
22668
|
break;
|
|
22478
22669
|
case 'DIMENSION_CONFIG':
|
|
22479
22670
|
// One catalog-level dictionary keyed by articleCodex; entries carry the 2D planner
|
|
22480
22671
|
// dimension/annotation config (consumed structurally by the RTV-next bridge).
|
|
22481
22672
|
try {
|
|
22482
|
-
|
|
22673
|
+
_this2.catalogProps.dimensionConfig2D = JSON.parse(item.Value);
|
|
22483
22674
|
} catch (e) {
|
|
22484
22675
|
LOG$j.warn('Invalid DIMENSION_CONFIG meta tag - expected a JSON dictionary keyed by articleCodex', e);
|
|
22485
22676
|
}
|
|
@@ -22488,232 +22679,232 @@ var DivaCatalogData = /*#__PURE__*/function () {
|
|
|
22488
22679
|
// RTV-next environment preset bundle (profileMode/profiles/camera); overrides the
|
|
22489
22680
|
// host's default preset (white-room). Later fed from a DB instead of the catalog.
|
|
22490
22681
|
try {
|
|
22491
|
-
|
|
22682
|
+
_this2.catalogProps.rtvPreset = JSON.parse(item.Value);
|
|
22492
22683
|
} catch (e) {
|
|
22493
22684
|
LOG$j.warn('Invalid RTV_PRESET meta tag - expected a JSON preset bundle (profileMode/profiles/camera)', e);
|
|
22494
22685
|
}
|
|
22495
22686
|
break;
|
|
22496
22687
|
case 'PLANNERTYPE':
|
|
22497
|
-
|
|
22688
|
+
_this2.catalogProps.plannerType = item.Value;
|
|
22498
22689
|
break;
|
|
22499
22690
|
case 'START_PLANNER_ARTICLE':
|
|
22500
|
-
|
|
22691
|
+
_this2.catalogProps.startPlannerArticle = item.Value;
|
|
22501
22692
|
break;
|
|
22502
22693
|
case 'HIDE_2D_PLANNER':
|
|
22503
|
-
|
|
22694
|
+
_this2.catalogProps.hide2DPlanner = item.Value == '1';
|
|
22504
22695
|
break;
|
|
22505
22696
|
case 'ACCESSOIRE_STEP_AS_PLANNER':
|
|
22506
|
-
|
|
22697
|
+
_this2.catalogProps.accessorieStepAsPlanner = item.Value == '1';
|
|
22507
22698
|
break;
|
|
22508
22699
|
case 'PLANNER_2DOT0':
|
|
22509
|
-
|
|
22700
|
+
_this2.catalogProps.planner2Dot0 = item.Value == '1';
|
|
22510
22701
|
break;
|
|
22511
22702
|
case 'DONT_SAVE_ALTERNATIVERENDERINGS':
|
|
22512
|
-
|
|
22703
|
+
_this2.catalogProps.dontSaveAlternativeRenderings = item.Value == '1';
|
|
22513
22704
|
break;
|
|
22514
22705
|
case 'SHOW_ALL_ITEMS_IN_PLANNER':
|
|
22515
|
-
|
|
22706
|
+
_this2.catalogProps.showAllItemsInPlanner = item.Value == '1';
|
|
22516
22707
|
break;
|
|
22517
22708
|
case 'HIDE_AV_BUTTONS':
|
|
22518
|
-
|
|
22709
|
+
_this2.catalogProps.hideAVButtons = item.Value;
|
|
22519
22710
|
break;
|
|
22520
22711
|
case 'PLANNER_REPLACE_MODE':
|
|
22521
|
-
|
|
22712
|
+
_this2.catalogProps.replaceModeActive = item.Value == '1';
|
|
22522
22713
|
break;
|
|
22523
22714
|
case 'HIDE_PLANNER_UI_ICONS':
|
|
22524
|
-
|
|
22715
|
+
_this2.catalogProps.hidePlannerUiIcons = item.Value == '1';
|
|
22525
22716
|
break;
|
|
22526
22717
|
case 'DONT_SET_POSNR_FROM_PLANNER':
|
|
22527
|
-
|
|
22718
|
+
_this2.catalogProps.dontSetPosNrFromPlanner = item.Value == '1';
|
|
22528
22719
|
break;
|
|
22529
22720
|
case 'SHOW_AI_ROOM_RENDERING_SUMMARY':
|
|
22530
|
-
|
|
22721
|
+
_this2.catalogProps.showAiRoomRenderingInSummary = item.Value == '1';
|
|
22531
22722
|
break;
|
|
22532
22723
|
case 'ARTICLE_NR':
|
|
22533
|
-
|
|
22724
|
+
_this2.catalogProps.retailArticleNr = item.Value;
|
|
22534
22725
|
break;
|
|
22535
22726
|
case 'PROGRAM_NR':
|
|
22536
|
-
|
|
22727
|
+
_this2.catalogProps.retailCatalogNr = item.Value;
|
|
22537
22728
|
break;
|
|
22538
22729
|
// Warnings
|
|
22539
22730
|
case 'HIDECONSTRUCTIONWARNING':
|
|
22540
|
-
|
|
22731
|
+
_this2.catalogProps.doCheckConstructionWarnings = item.Value == '0';
|
|
22541
22732
|
break;
|
|
22542
22733
|
case 'FORCECONSTRUCTIONWARNINGARTICLES':
|
|
22543
|
-
|
|
22734
|
+
_this2.catalogProps.forceConstructionWarningForArticles = item.Value.split(';');
|
|
22544
22735
|
break;
|
|
22545
22736
|
case 'HIDECOMPLETENESSWARNING':
|
|
22546
|
-
|
|
22737
|
+
_this2.catalogProps.hideCompletenessWarning = item.Value == '1';
|
|
22547
22738
|
break;
|
|
22548
22739
|
// DP Logic
|
|
22549
22740
|
case 'IGNORELAYERAVC':
|
|
22550
|
-
|
|
22741
|
+
_this2.catalogProps.ignoreLayerAVC = item.Value == '1';
|
|
22551
22742
|
break;
|
|
22552
22743
|
case 'IGNORELAYERAVOAVU':
|
|
22553
|
-
|
|
22744
|
+
_this2.catalogProps.ignoreLayerAVOAVU = item.Value == '1';
|
|
22554
22745
|
break;
|
|
22555
22746
|
case 'IGNORELAYERAVNAVS':
|
|
22556
|
-
|
|
22747
|
+
_this2.catalogProps.ignoreLayerAVNAVS = item.Value == '1';
|
|
22557
22748
|
break;
|
|
22558
22749
|
case 'IGNOREDOCKINGNUMBER':
|
|
22559
|
-
|
|
22750
|
+
_this2.catalogProps.ignoreDockingNumber = item.Value == '1';
|
|
22560
22751
|
break;
|
|
22561
22752
|
case 'CHECK_COLLISION_DIFFERENT_LAYERS':
|
|
22562
|
-
|
|
22753
|
+
_this2.catalogProps.checkCollisionForDifferentLayers = item.Value.split(';').map(function (t) {
|
|
22563
22754
|
return parseInt(t);
|
|
22564
22755
|
});
|
|
22565
22756
|
break;
|
|
22566
22757
|
case 'DOCKACCONAVOONLY':
|
|
22567
|
-
|
|
22758
|
+
_this2.catalogProps.dockAccOnAvoOnly = item.Value == '1';
|
|
22568
22759
|
break;
|
|
22569
22760
|
case 'SHOWACCONDPONLY':
|
|
22570
|
-
|
|
22761
|
+
_this2.catalogProps.showAccOnDpOnly = item.Value == '1';
|
|
22571
22762
|
break;
|
|
22572
22763
|
case 'RECONFIG_AFTER_ARTICLE_DOCKED':
|
|
22573
|
-
|
|
22764
|
+
_this2.catalogProps.reconfigAfterArticleDocked = item.Value == '1';
|
|
22574
22765
|
break;
|
|
22575
22766
|
// Configuration
|
|
22576
22767
|
|
|
22577
22768
|
case 'USE_SHORT_NAME_AS_NAME':
|
|
22578
|
-
|
|
22769
|
+
_this2.catalogProps.useShortNameAsName = item.Value == '1';
|
|
22579
22770
|
break;
|
|
22580
22771
|
case 'USE_DIOMEX_CONFIG_LOGIC':
|
|
22581
|
-
|
|
22772
|
+
_this2.catalogProps.useDiomexConfigLogic = item.Value == '1';
|
|
22582
22773
|
break;
|
|
22583
22774
|
case 'USEPRGASOPVARTICLENR':
|
|
22584
|
-
|
|
22775
|
+
_this2.catalogProps.UsePrgAsOpvArticleNr = item.Value == '1';
|
|
22585
22776
|
break;
|
|
22586
22777
|
case 'ARTICLECONFIGSINGLE':
|
|
22587
|
-
|
|
22778
|
+
_this2.catalogProps.articleConfigSingle = item.Value == '1';
|
|
22588
22779
|
break;
|
|
22589
22780
|
case 'DEFAULT_GROUPS_CLOSED':
|
|
22590
22781
|
if (item.Value != '1' && item.Value != '0') {
|
|
22591
|
-
|
|
22782
|
+
_this2.catalogProps.defaultGroupsClosed = item.Value.split(';');
|
|
22592
22783
|
} else {
|
|
22593
|
-
|
|
22784
|
+
_this2.catalogProps.defaultGroupsClosed = item.Value == '1';
|
|
22594
22785
|
}
|
|
22595
22786
|
break;
|
|
22596
22787
|
case 'ARTICLECONFIGALL':
|
|
22597
|
-
|
|
22788
|
+
_this2.catalogProps.articleConfigAll = item.Value == '1';
|
|
22598
22789
|
break;
|
|
22599
22790
|
case 'AUTO_OPEN_CONTENTITEM':
|
|
22600
|
-
|
|
22601
|
-
return (!
|
|
22791
|
+
_this2.catalogProps.autoOpenContentItem = item.Value == '1' ? true : item.Value.split(';').map(function (o) {
|
|
22792
|
+
return (!_this2.isIDMFormat ? 'OPT' : '') + o;
|
|
22602
22793
|
});
|
|
22603
22794
|
break;
|
|
22604
22795
|
case 'HIDE_PRICE_GROUPS_OF_OPGS':
|
|
22605
|
-
|
|
22796
|
+
_this2.catalogProps.hidePriceGroupsOfOPGs = item.Value == '1';
|
|
22606
22797
|
break;
|
|
22607
22798
|
case 'DONTHIDEOPTION':
|
|
22608
|
-
|
|
22799
|
+
_this2.catalogProps.dontHideOption = String(item.Value).split(',');
|
|
22609
22800
|
break;
|
|
22610
22801
|
case 'SHOW_AI_ROOM_RENDERING_IN_SUMMARY':
|
|
22611
|
-
|
|
22802
|
+
_this2.catalogProps.showAiRoomRenderingInSummary = item.Value == '1';
|
|
22612
22803
|
break;
|
|
22613
22804
|
case 'SHOWACCESSOIREONLASTTAB':
|
|
22614
|
-
|
|
22805
|
+
_this2.catalogProps.showAccessioreOnLastTab = item.Value == '1';
|
|
22615
22806
|
break;
|
|
22616
22807
|
case 'FORCE_CONFIG_ALL_ACCESSOIRES':
|
|
22617
|
-
|
|
22808
|
+
_this2.catalogProps.forceConfigAllAccessoires = item.Value == '1';
|
|
22618
22809
|
break;
|
|
22619
22810
|
case 'CONFIG_ACCESSOIRES':
|
|
22620
|
-
|
|
22811
|
+
_this2.catalogProps.configAccessoires = item.Value == '1';
|
|
22621
22812
|
break;
|
|
22622
22813
|
case 'CONFIG_ONLY_ACCESSOIRES':
|
|
22623
|
-
|
|
22814
|
+
_this2.catalogProps.configOnlyAccessoires = item.Value == '1';
|
|
22624
22815
|
break;
|
|
22625
22816
|
case 'IGNORE_ARTICLERELATIONS':
|
|
22626
|
-
|
|
22817
|
+
_this2.catalogProps.ignoreArticleRelations = item.Value == '1';
|
|
22627
22818
|
break;
|
|
22628
22819
|
case 'REPAIR_VARIANT_VALUES':
|
|
22629
22820
|
var enties = item.Value.split(';;');
|
|
22630
|
-
|
|
22821
|
+
_this2.catalogProps.repairVariantValues = {};
|
|
22631
22822
|
for (var k = 0; k < enties.length; k++) {
|
|
22632
22823
|
var vals = enties[k].split(';');
|
|
22633
|
-
|
|
22824
|
+
_this2.catalogProps.repairVariantValues['OPT' + vals[0].replace(':', ':OPV')] = 'OPT' + vals[1].replace(':', ':OPV');
|
|
22634
22825
|
}
|
|
22635
22826
|
break;
|
|
22636
22827
|
case 'FILTER_FOR_CHECKOUT_BUTTONS':
|
|
22637
|
-
|
|
22828
|
+
_this2.catalogProps.filterForCheckoutButtons = item.Value.split(';').map(function (t) {
|
|
22638
22829
|
return t;
|
|
22639
22830
|
});
|
|
22640
22831
|
break;
|
|
22641
22832
|
case 'DO_USE_RULEDESC_FOR_PARTLIST':
|
|
22642
|
-
|
|
22833
|
+
_this2.catalogProps.doUseRuleDescForPartListArticles = '1' == item.Value;
|
|
22643
22834
|
break;
|
|
22644
22835
|
case 'USEPOSCOUNTVALUE':
|
|
22645
|
-
|
|
22836
|
+
_this2.catalogProps.usePosCountValue = '1' == item.Value;
|
|
22646
22837
|
break;
|
|
22647
22838
|
case 'USE_DECISION_POS_COUNT_VALUE':
|
|
22648
|
-
|
|
22839
|
+
_this2.catalogProps.useDecisionPosCountValue = '1' == item.Value;
|
|
22649
22840
|
break;
|
|
22650
22841
|
case 'USE_SHELFPLANNER_RTV':
|
|
22651
|
-
|
|
22842
|
+
_this2.catalogProps.useShelfPlannerRTV = '1' == item.Value;
|
|
22652
22843
|
break;
|
|
22653
22844
|
case 'DONT_SHOW_ACC_STEP':
|
|
22654
|
-
|
|
22845
|
+
_this2.catalogProps.dontShowAccStep = '1' == item.Value;
|
|
22655
22846
|
break;
|
|
22656
22847
|
case 'MERGE_OPTIONS_TO_SAME_OPTION':
|
|
22657
|
-
|
|
22658
|
-
for (var V = item.Value.split(';'), T = 0; T < V.length; T++)
|
|
22848
|
+
_this2.catalogProps.mergeOptionsToSameOption = [];
|
|
22849
|
+
for (var V = item.Value.split(';'), T = 0; T < V.length; T++) _this2.catalogProps.mergeOptionsToSameOption.push(V[T].split(','));
|
|
22659
22850
|
break;
|
|
22660
22851
|
case 'FORCE_CONFIG_SINGLE':
|
|
22661
|
-
|
|
22852
|
+
_this2.catalogProps.forceConfigSingle = '1' == item.Value;
|
|
22662
22853
|
break;
|
|
22663
22854
|
case 'SHOW_PRICEPREVIEW_ON_OPTIONS':
|
|
22664
|
-
|
|
22855
|
+
_this2.catalogProps.showPricePreviewOnlyOnOptions = item.Value.split(';').map(function (t) {
|
|
22665
22856
|
return t;
|
|
22666
22857
|
});
|
|
22667
22858
|
break;
|
|
22668
22859
|
case 'HIDE_PRICEPREVIEW_ON_OPTIONS':
|
|
22669
|
-
|
|
22860
|
+
_this2.catalogProps.hidePricePreviewOnlyOnOptions = item.Value.split(';').map(function (t) {
|
|
22670
22861
|
return t;
|
|
22671
22862
|
});
|
|
22672
22863
|
break;
|
|
22673
22864
|
case 'INIT_OPTIONTREE_TWICE':
|
|
22674
|
-
|
|
22865
|
+
_this2.catalogProps.initOptionTreeTwice = '1' == item.Value;
|
|
22675
22866
|
break;
|
|
22676
22867
|
case 'USE_TYPENR_AS_ARTICLENR_EKTEXT':
|
|
22677
|
-
|
|
22868
|
+
_this2.catalogProps.useTypeNrAsArticleNrEKText = '1' == item.Value;
|
|
22678
22869
|
break;
|
|
22679
22870
|
case 'HIDE_SUBPOS_ARTICLECODEX_EKTEXT':
|
|
22680
|
-
|
|
22871
|
+
_this2.catalogProps.hideSubPosArticleCodexEKText = '1' == item.Value;
|
|
22681
22872
|
break;
|
|
22682
22873
|
case 'ADD_POS_INVISIBILITY_TO_OL':
|
|
22683
|
-
|
|
22874
|
+
_this2.catalogProps.addPosInvisibilityToOL = '1' == item.Value;
|
|
22684
22875
|
break;
|
|
22685
22876
|
case 'ADD_NEW_LINE_BEFOR_RULEDESC':
|
|
22686
|
-
|
|
22877
|
+
_this2.catalogProps.addNewLineBeforRuleDesc = '1' == item.Value;
|
|
22687
22878
|
break;
|
|
22688
22879
|
case 'ONCONFIG_SINGLE_DONT_GENERALIZE':
|
|
22689
|
-
|
|
22880
|
+
_this2.catalogProps.onConfigSingleDontGeneralize = '1' == item.Value;
|
|
22690
22881
|
break;
|
|
22691
22882
|
case 'SUMMARY_TABGROUP_POSITION':
|
|
22692
|
-
|
|
22883
|
+
_this2.catalogProps.summaryTabGroupPosition = item.Value.split(';');
|
|
22693
22884
|
break;
|
|
22694
22885
|
case 'BUNDLE_RULES':
|
|
22695
|
-
|
|
22886
|
+
_this2.catalogProps.bundleRules = JSON.parse(item.Value);
|
|
22696
22887
|
break;
|
|
22697
22888
|
case 'NOTIFICATIONS':
|
|
22698
|
-
|
|
22889
|
+
_this2.catalogProps.notificationsRules = JSON.parse(item.Value);
|
|
22699
22890
|
break;
|
|
22700
22891
|
case 'WARNINGS':
|
|
22701
|
-
|
|
22892
|
+
_this2.catalogProps.warningRules = JSON.parse(item.Value);
|
|
22702
22893
|
break;
|
|
22703
22894
|
case 'BANNER':
|
|
22704
|
-
|
|
22895
|
+
_this2.catalogProps.bannerRules = JSON.parse(item.Value);
|
|
22705
22896
|
break;
|
|
22706
22897
|
case 'IGNORE_MAX_PRICE_AS_BASEPRICE':
|
|
22707
|
-
|
|
22898
|
+
_this2.catalogProps.ignoreMaxPriceAsBP = '1' == item.Value;
|
|
22708
22899
|
break;
|
|
22709
22900
|
case 'DONT_USE_VCODEX_FOR_BASKET':
|
|
22710
|
-
|
|
22901
|
+
_this2.catalogProps.dontUseVCodexInBasket = '1' == item.Value;
|
|
22711
22902
|
break;
|
|
22712
22903
|
case 'IGNORE_ISDEFINED_CHECK':
|
|
22713
|
-
|
|
22904
|
+
_this2.catalogProps.ignoreIsDefinedCheck = '1' == item.Value;
|
|
22714
22905
|
break;
|
|
22715
22906
|
case 'PARTLIST_POSTFIX':
|
|
22716
|
-
|
|
22907
|
+
_this2.catalogProps.partlistPostFix = item.Value.split(';').map(function (i) {
|
|
22717
22908
|
return {
|
|
22718
22909
|
rule: i.split(':')[0],
|
|
22719
22910
|
postFix: i.split(':')[1]
|
|
@@ -22721,7 +22912,7 @@ var DivaCatalogData = /*#__PURE__*/function () {
|
|
|
22721
22912
|
});
|
|
22722
22913
|
break;
|
|
22723
22914
|
case 'ADD_PA_ON_EDO':
|
|
22724
|
-
|
|
22915
|
+
_this2.handleEdoArticles(properties, item);
|
|
22725
22916
|
break;
|
|
22726
22917
|
}
|
|
22727
22918
|
});
|
|
@@ -22734,7 +22925,7 @@ var DivaCatalogData = /*#__PURE__*/function () {
|
|
|
22734
22925
|
}, {
|
|
22735
22926
|
key: "initPropertiesAfterOptionsInit",
|
|
22736
22927
|
value: function initPropertiesAfterOptionsInit(catalogCodex, properties) {
|
|
22737
|
-
var
|
|
22928
|
+
var _this3 = this;
|
|
22738
22929
|
properties.forEach(function (item, index) {
|
|
22739
22930
|
//3D Allgemein
|
|
22740
22931
|
var key = item.Codex;
|
|
@@ -22742,11 +22933,11 @@ var DivaCatalogData = /*#__PURE__*/function () {
|
|
|
22742
22933
|
if (key.startsWith('3D_STATBG_ROOMLIST')) {
|
|
22743
22934
|
// item.Value =
|
|
22744
22935
|
// "weissraum_LUECK;backgroundimgroom_lueck_modern;backgroundimgroom_lueck_romantic;backgroundimgroom_lueck_loft;backgroundimgroom_lueck_night";
|
|
22745
|
-
|
|
22936
|
+
_this3.catalogProps.roomList3DStaticBGImage.set(item.Codex, item.Value.split(';'));
|
|
22746
22937
|
} else if (key.startsWith('3D_STANDARD_WHITEROOM')) {
|
|
22747
|
-
|
|
22938
|
+
_this3.catalogProps.diva3dStandardWhiteroom = item.Value;
|
|
22748
22939
|
} else if (key.startsWith('DIVA3D_IMAGE')) {
|
|
22749
|
-
|
|
22940
|
+
_this3.handleDIVA3DMetaTag(item);
|
|
22750
22941
|
}
|
|
22751
22942
|
});
|
|
22752
22943
|
}
|
|
@@ -27306,6 +27497,18 @@ var IDMEngine = /*#__PURE__*/function () {
|
|
|
27306
27497
|
continue;
|
|
27307
27498
|
}
|
|
27308
27499
|
var decisions = this.article.CatalogData.getDecisionsByNo([].concat(_toConsumableArray((_myPartListPos$decisi = myPartListPos.decisions) !== null && _myPartListPos$decisi !== void 0 ? _myPartListPos$decisi : []), _toConsumableArray(myPartListPos.decisionPosCount ? [myPartListPos.decisionPosCount] : [])));
|
|
27500
|
+
// A count decision the catalog does not hold gates nothing - the position stays out rather than loading via the posCountValue fallback.
|
|
27501
|
+
if (myPartListPos.decisionPosCount && !decisions.some(function (decision) {
|
|
27502
|
+
return decision.decisionNo === myPartListPos.decisionPosCount;
|
|
27503
|
+
})) {
|
|
27504
|
+
this.pushPartlistDebugEntry(posBase, {
|
|
27505
|
+
loaded: false,
|
|
27506
|
+
reason: 'Count decision not loaded',
|
|
27507
|
+
decisionNo: myPartListPos.decisionPosCount,
|
|
27508
|
+
decisionPositive: false
|
|
27509
|
+
});
|
|
27510
|
+
continue;
|
|
27511
|
+
}
|
|
27309
27512
|
var partlistAdded = false;
|
|
27310
27513
|
var lastTriedDecisionNo = void 0;
|
|
27311
27514
|
for (var c = 0; c < decisions.length; c++) {
|
|
@@ -27361,9 +27564,7 @@ var IDMEngine = /*#__PURE__*/function () {
|
|
|
27361
27564
|
var _combination$projectA9;
|
|
27362
27565
|
// get SetPosCountValue from decsion action if defined and else use myPartListPos.PosCountValue;
|
|
27363
27566
|
var decision = this.article.CatalogData.getDecisionsByNo([myPartListPos.decisionPosCount])[0];
|
|
27364
|
-
var
|
|
27365
|
-
_ref8 = _slicedToArray(_ref7, 1),
|
|
27366
|
-
combination = _ref8[0];
|
|
27567
|
+
var combination = decision ? this.getMatchingOptionCombination(decision.optionCombinations, decision.decisionNo)[0] : undefined;
|
|
27367
27568
|
|
|
27368
27569
|
// SET_POS_COUNT_VALUE=0 (hide the position) is a valid action value; without a matching row or action the position keeps its own count.
|
|
27369
27570
|
var posCountValueAction = combination === null || combination === void 0 || (_combination$projectA9 = combination.projectActions) === null || _combination$projectA9 === void 0 ? void 0 : _combination$projectA9.setPosCountValue;
|
|
@@ -27410,7 +27611,7 @@ var IDMEngine = /*#__PURE__*/function () {
|
|
|
27410
27611
|
_loop8(i);
|
|
27411
27612
|
}
|
|
27412
27613
|
if (quanitity >= 1) {
|
|
27413
|
-
var _catalogCodex$toStrin,
|
|
27614
|
+
var _catalogCodex$toStrin, _ref7;
|
|
27414
27615
|
partlistArticlesToLoad.push({
|
|
27415
27616
|
CatalogCodex: (_catalogCodex$toStrin = catalogCodex.toString()) !== null && _catalogCodex$toStrin !== void 0 ? _catalogCodex$toStrin : this.article.catalogCodex,
|
|
27416
27617
|
BasketID: previousPartlistArticle === null || previousPartlistArticle === void 0 ? void 0 : previousPartlistArticle.basketId,
|
|
@@ -27428,7 +27629,7 @@ var IDMEngine = /*#__PURE__*/function () {
|
|
|
27428
27629
|
VariantItemData: previousPartlistArticle === null || previousPartlistArticle === void 0 ? void 0 : previousPartlistArticle.VariantItemData,
|
|
27429
27630
|
optionsForPrint: featuresForPrint,
|
|
27430
27631
|
RetailArticleNr: myPartListPos.retailArticleNr && myPartListPos.retailArticleNr !== '' ? myPartListPos.retailArticleNr : undefined,
|
|
27431
|
-
RetailPrefix: (
|
|
27632
|
+
RetailPrefix: (_ref7 = myPartListPos.retailPrefix) !== null && _ref7 !== void 0 ? _ref7 : undefined
|
|
27432
27633
|
//SupplierOrderCodex: // TODO WWS IDM ,myPartListPos.SupplierOrderCodex,
|
|
27433
27634
|
|
|
27434
27635
|
//optionImgForPrint,
|
|
@@ -27441,9 +27642,9 @@ var IDMEngine = /*#__PURE__*/function () {
|
|
|
27441
27642
|
key: "getMatchingOptionCombination",
|
|
27442
27643
|
value: function getMatchingOptionCombination(combinations, decisionNo) {
|
|
27443
27644
|
for (var i = 0; i < combinations.length; i++) {
|
|
27444
|
-
var
|
|
27645
|
+
var _ref8, _ref9, _projectOptionsSetRef;
|
|
27445
27646
|
var combination = combinations[i];
|
|
27446
|
-
var optionSetRefs = (
|
|
27647
|
+
var optionSetRefs = (_ref8 = (_ref9 = (_projectOptionsSetRef = combination.projectOptionsSetRefs) !== null && _projectOptionsSetRef !== void 0 ? _projectOptionsSetRef : combination.optionsSetRef) !== null && _ref9 !== void 0 ? _ref9 : combination.optionsSetRef) !== null && _ref8 !== void 0 ? _ref8 : [];
|
|
27447
27648
|
if (optionSetRefs.length === 0) {
|
|
27448
27649
|
if (decisionNo !== undefined) {
|
|
27449
27650
|
this.article.pushDataCreationError({
|
|
@@ -27504,9 +27705,9 @@ var IDMEngine = /*#__PURE__*/function () {
|
|
|
27504
27705
|
//DecisionOptionCombination
|
|
27505
27706
|
//Gibt es innerhalb einer Decision eine eine gültige DOC, die OPVs der in ValidOptionValues vorkommenden Optionen zunächst alle disabeln, werden dann über eine gültige Formel wieder enabled
|
|
27506
27707
|
|
|
27507
|
-
var
|
|
27508
|
-
|
|
27509
|
-
combination =
|
|
27708
|
+
var _ref10 = this.getMatchingOptionCombination(myDecision.optionCombinations, decisionNo),
|
|
27709
|
+
_ref11 = _slicedToArray(_ref10, 1),
|
|
27710
|
+
combination = _ref11[0];
|
|
27510
27711
|
if (combination) {
|
|
27511
27712
|
isValidDOC = true;
|
|
27512
27713
|
}
|
|
@@ -27584,9 +27785,9 @@ var IDMEngine = /*#__PURE__*/function () {
|
|
|
27584
27785
|
for (_iterator18.s(); !(_step18 = _iterator18.n()).done;) {
|
|
27585
27786
|
var _combination$projectA12;
|
|
27586
27787
|
var decision = _step18.value;
|
|
27587
|
-
var
|
|
27588
|
-
|
|
27589
|
-
combination =
|
|
27788
|
+
var _ref12 = this.getMatchingOptionCombination(decision.optionCombinations, decision.decisionNo),
|
|
27789
|
+
_ref13 = _slicedToArray(_ref12, 1),
|
|
27790
|
+
combination = _ref13[0];
|
|
27590
27791
|
var key = combination === null || combination === void 0 || (_combination$projectA12 = combination.projectActions) === null || _combination$projectA12 === void 0 || (_combination$projectA12 = _combination$projectA12.setFeatureDefault) === null || _combination$projectA12 === void 0 || (_combination$projectA12 = _combination$projectA12.find(function (a) {
|
|
27591
27792
|
var _a$featureNo;
|
|
27592
27793
|
return ((_a$featureNo = a.featureNo) === null || _a$featureNo === void 0 ? void 0 : _a$featureNo.toString()) === featureNo;
|
|
@@ -27605,13 +27806,13 @@ var IDMEngine = /*#__PURE__*/function () {
|
|
|
27605
27806
|
}, {
|
|
27606
27807
|
key: "preferredDefaultOpv",
|
|
27607
27808
|
value: function preferredDefaultOpv(featureNo, visible, ops) {
|
|
27608
|
-
var
|
|
27809
|
+
var _ref14;
|
|
27609
27810
|
// A rule may hide the chosen value for a while (metal foot hides the woods); when it frees it again the customer's pick must come back.
|
|
27610
27811
|
// getVisibleOptionValue resolves THROUGH option groups; a plain map lookup misses a grouped choice.
|
|
27611
27812
|
var chosen = ops !== null && ops !== void 0 && ops.userChosenOPV ? ops.getVisibleOptionValue(ops.userChosenOPV) : undefined;
|
|
27612
27813
|
if (chosen) return chosen;
|
|
27613
27814
|
var key = this.setFeatureDefaultKey(featureNo);
|
|
27614
|
-
return (
|
|
27815
|
+
return (_ref14 = key ? visible.get(key) : undefined) !== null && _ref14 !== void 0 ? _ref14 : this.article.getDefaultOpv(visible);
|
|
27615
27816
|
}
|
|
27616
27817
|
}, {
|
|
27617
27818
|
key: "updateIDMSpecificFeatures",
|
|
@@ -27667,8 +27868,8 @@ var IDMEngine = /*#__PURE__*/function () {
|
|
|
27667
27868
|
}
|
|
27668
27869
|
if ([97, 1097].includes((_myArtOPS$option$idmV3 = myArtOPS.option.idmVariantenArt) !== null && _myArtOPS$option$idmV3 !== void 0 ? _myArtOPS$option$idmV3 : 0)) {
|
|
27669
27870
|
try {
|
|
27670
|
-
var
|
|
27671
|
-
var newHeight = this.resolvePlannerDimension(Number((
|
|
27871
|
+
var _ref15, _ref16, _myArtOPS$measureValu;
|
|
27872
|
+
var newHeight = this.resolvePlannerDimension(Number((_ref15 = (_ref16 = (_myArtOPS$measureValu = myArtOPS.measureValue) !== null && _myArtOPS$measureValu !== void 0 ? _myArtOPS$measureValu : this.freeTextMeasureCm(myArtOPS)) !== null && _ref16 !== void 0 ? _ref16 : myArtOPS.value) !== null && _ref15 !== void 0 ? _ref15 : myArtOPS.valueFromName), this.article.catalogArticle.height);
|
|
27672
27873
|
if (newHeight != null) {
|
|
27673
27874
|
this.article.doUpdatePlannerSize = true;
|
|
27674
27875
|
this.article.calcHeight = newHeight;
|
|
@@ -27679,8 +27880,8 @@ var IDMEngine = /*#__PURE__*/function () {
|
|
|
27679
27880
|
}
|
|
27680
27881
|
if ([96, 1096].includes((_myArtOPS$option$idmV4 = myArtOPS.option.idmVariantenArt) !== null && _myArtOPS$option$idmV4 !== void 0 ? _myArtOPS$option$idmV4 : 0) || myArtOPS.option.diameter) {
|
|
27681
27882
|
try {
|
|
27682
|
-
var
|
|
27683
|
-
var newDepth = this.resolvePlannerDimension(Number((
|
|
27883
|
+
var _ref17, _ref18, _myArtOPS$measureValu2;
|
|
27884
|
+
var newDepth = this.resolvePlannerDimension(Number((_ref17 = (_ref18 = (_myArtOPS$measureValu2 = myArtOPS.measureValue) !== null && _myArtOPS$measureValu2 !== void 0 ? _myArtOPS$measureValu2 : this.freeTextMeasureCm(myArtOPS)) !== null && _ref18 !== void 0 ? _ref18 : myArtOPS.value) !== null && _ref17 !== void 0 ? _ref17 : myArtOPS.valueFromName), this.article.catalogArticle.depth);
|
|
27684
27885
|
if (newDepth != null) {
|
|
27685
27886
|
this.article.doUpdatePlannerSize = true;
|
|
27686
27887
|
this.article.calcDepth = newDepth;
|
|
@@ -27691,8 +27892,8 @@ var IDMEngine = /*#__PURE__*/function () {
|
|
|
27691
27892
|
}
|
|
27692
27893
|
if ([95, 1095].includes((_myArtOPS$option$idmV5 = myArtOPS.option.idmVariantenArt) !== null && _myArtOPS$option$idmV5 !== void 0 ? _myArtOPS$option$idmV5 : 0) || myArtOPS.option.diameter) {
|
|
27693
27894
|
try {
|
|
27694
|
-
var
|
|
27695
|
-
var newWidth = this.resolvePlannerDimension(Number((
|
|
27895
|
+
var _ref19, _ref20, _myArtOPS$measureValu3;
|
|
27896
|
+
var newWidth = this.resolvePlannerDimension(Number((_ref19 = (_ref20 = (_myArtOPS$measureValu3 = myArtOPS.measureValue) !== null && _myArtOPS$measureValu3 !== void 0 ? _myArtOPS$measureValu3 : this.freeTextMeasureCm(myArtOPS)) !== null && _ref20 !== void 0 ? _ref20 : myArtOPS.value) !== null && _ref19 !== void 0 ? _ref19 : myArtOPS.valueFromName), this.article.catalogArticle.width);
|
|
27696
27897
|
if (newWidth != null) {
|
|
27697
27898
|
this.article.doUpdatePlannerSize = true;
|
|
27698
27899
|
this.article.calcWidth = newWidth;
|
|
@@ -27932,9 +28133,9 @@ var IDMEngine = /*#__PURE__*/function () {
|
|
|
27932
28133
|
for (var j = 0; !doUse && j < image.decisionNos.length; j++) {
|
|
27933
28134
|
var decision = catalogData.getDecisionByNo(image.decisionNos[j]);
|
|
27934
28135
|
if (!decision) continue;
|
|
27935
|
-
var
|
|
27936
|
-
|
|
27937
|
-
combination =
|
|
28136
|
+
var _ref21 = this.getMatchingOptionCombination(decision.optionCombinations, decision.decisionNo),
|
|
28137
|
+
_ref22 = _slicedToArray(_ref21, 1),
|
|
28138
|
+
combination = _ref22[0];
|
|
27938
28139
|
if (combination) {
|
|
27939
28140
|
doUse = true;
|
|
27940
28141
|
break;
|
|
@@ -27973,11 +28174,11 @@ var IDMEngine = /*#__PURE__*/function () {
|
|
|
27973
28174
|
var _doUse = !((_image$decisionNos2 = _image.decisionNos) !== null && _image$decisionNos2 !== void 0 && _image$decisionNos2.length);
|
|
27974
28175
|
if ((_image$decisionNos3 = _image.decisionNos) !== null && _image$decisionNos3 !== void 0 && _image$decisionNos3.length) {
|
|
27975
28176
|
for (var _j2 = 0; _j2 < _image.decisionNos.length; _j2++) {
|
|
27976
|
-
var _decision4 = catalogData.
|
|
27977
|
-
if (!_decision4)
|
|
27978
|
-
var
|
|
27979
|
-
|
|
27980
|
-
_combination2 =
|
|
28177
|
+
var _decision4 = catalogData.getDecisionsByNo([_image.decisionNos[_j2]])[0];
|
|
28178
|
+
if (!_decision4) continue;
|
|
28179
|
+
var _ref25 = this.getMatchingOptionCombination(_decision4.optionCombinations, _decision4.decisionNo),
|
|
28180
|
+
_ref26 = _slicedToArray(_ref25, 1),
|
|
28181
|
+
_combination2 = _ref26[0];
|
|
27981
28182
|
if (_combination2) {
|
|
27982
28183
|
_doUse = true;
|
|
27983
28184
|
break;
|
|
@@ -28030,11 +28231,11 @@ var IDMEngine = /*#__PURE__*/function () {
|
|
|
28030
28231
|
var svgValid = !((_svg$decisionNos = svg.decisionNos) !== null && _svg$decisionNos !== void 0 && _svg$decisionNos.length);
|
|
28031
28232
|
if ((_svg$decisionNos2 = svg.decisionNos) !== null && _svg$decisionNos2 !== void 0 && _svg$decisionNos2.length) {
|
|
28032
28233
|
for (var _j = 0; _j < svg.decisionNos.length; _j++) {
|
|
28033
|
-
var _decision3 = catalogData.
|
|
28034
|
-
if (!_decision3)
|
|
28035
|
-
var
|
|
28036
|
-
|
|
28037
|
-
_combination =
|
|
28234
|
+
var _decision3 = catalogData.getDecisionsByNo([svg.decisionNos[_j]])[0];
|
|
28235
|
+
if (!_decision3) continue;
|
|
28236
|
+
var _ref23 = this.getMatchingOptionCombination(_decision3.optionCombinations, _decision3.decisionNo),
|
|
28237
|
+
_ref24 = _slicedToArray(_ref23, 1),
|
|
28238
|
+
_combination = _ref24[0];
|
|
28038
28239
|
if (_combination) {
|
|
28039
28240
|
svgValid = _decision3;
|
|
28040
28241
|
break;
|
|
@@ -30905,7 +31106,7 @@ var DivaArticle = /*#__PURE__*/function () {
|
|
|
30905
31106
|
break;
|
|
30906
31107
|
}
|
|
30907
31108
|
_context.next = 4;
|
|
30908
|
-
return import('./ShelfPlanner-
|
|
31109
|
+
return import('./ShelfPlanner-1cc44cfc.js');
|
|
30909
31110
|
case 4:
|
|
30910
31111
|
_yield$import = _context.sent;
|
|
30911
31112
|
ShelfPlanner = _yield$import["default"];
|
|
@@ -31201,11 +31402,11 @@ var DivaArticle = /*#__PURE__*/function () {
|
|
|
31201
31402
|
ret.MAT = [];
|
|
31202
31403
|
}
|
|
31203
31404
|
if (divaDataEngineMat) {
|
|
31204
|
-
var _ops$val$name;
|
|
31405
|
+
var _ops$val$name, _divaDataEngineMat$Na;
|
|
31205
31406
|
ret.MAT.push({
|
|
31206
31407
|
OPT: partlistPrefix ? 'OPT' + partlistPrefix + opt.substring(3) : opt,
|
|
31207
31408
|
N: DivaUtils.removeSpecialChars((_ops$val$name = ops.val.name) !== null && _ops$val$name !== void 0 ? _ops$val$name : ''),
|
|
31208
|
-
T: divaDataEngineMat.Name,
|
|
31409
|
+
T: (_divaDataEngineMat$Na = divaDataEngineMat.Name) !== null && _divaDataEngineMat$Na !== void 0 ? _divaDataEngineMat$Na : divaDataEngineMat.Value,
|
|
31209
31410
|
M: divaDataEngineMat.Value
|
|
31210
31411
|
});
|
|
31211
31412
|
}
|
|
@@ -39014,7 +39215,7 @@ var DivaSet = /*#__PURE__*/function () {
|
|
|
39014
39215
|
break;
|
|
39015
39216
|
}
|
|
39016
39217
|
_context5.next = 3;
|
|
39017
|
-
return import('./DoorPlanner-
|
|
39218
|
+
return import('./DoorPlanner-46712090.js');
|
|
39018
39219
|
case 3:
|
|
39019
39220
|
_yield$import = _context5.sent;
|
|
39020
39221
|
DoorPlanner = _yield$import["default"];
|
|
@@ -46629,7 +46830,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
46629
46830
|
break;
|
|
46630
46831
|
case 3:
|
|
46631
46832
|
_context12.next = 5;
|
|
46632
|
-
return import('./PfisterWWSHandler-
|
|
46833
|
+
return import('./PfisterWWSHandler-853e35df.js');
|
|
46633
46834
|
case 5:
|
|
46634
46835
|
_yield$import = _context12.sent;
|
|
46635
46836
|
PfisterWWSHandler = _yield$import["default"];
|
|
@@ -46637,7 +46838,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
46637
46838
|
return _context12.abrupt("break", 27);
|
|
46638
46839
|
case 9:
|
|
46639
46840
|
_context12.next = 11;
|
|
46640
|
-
return import('./LiviqueWWSHandler-
|
|
46841
|
+
return import('./LiviqueWWSHandler-4c6a9348.js');
|
|
46641
46842
|
case 11:
|
|
46642
46843
|
_yield$import2 = _context12.sent;
|
|
46643
46844
|
LiviqueWWSHandler = _yield$import2["default"];
|
|
@@ -46645,7 +46846,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
46645
46846
|
return _context12.abrupt("break", 27);
|
|
46646
46847
|
case 15:
|
|
46647
46848
|
_context12.next = 17;
|
|
46648
|
-
return import('./SeriousBasketHandler-
|
|
46849
|
+
return import('./SeriousBasketHandler-82d0db21.js');
|
|
46649
46850
|
case 17:
|
|
46650
46851
|
_yield$import3 = _context12.sent;
|
|
46651
46852
|
SeriousWWSHandler = _yield$import3["default"];
|
|
@@ -46653,7 +46854,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
46653
46854
|
return _context12.abrupt("break", 27);
|
|
46654
46855
|
case 21:
|
|
46655
46856
|
_context12.next = 23;
|
|
46656
|
-
return import('./StandardWWSHandler-
|
|
46857
|
+
return import('./StandardWWSHandler-58d6afc8.js');
|
|
46657
46858
|
case 23:
|
|
46658
46859
|
_yield$import4 = _context12.sent;
|
|
46659
46860
|
StandardWWSHandler = _yield$import4["default"];
|
|
@@ -48040,7 +48241,7 @@ var PlannerHandler3D = /*#__PURE__*/function () {
|
|
|
48040
48241
|
//If we need real time rendering initialize the SignalR and 3D host connection Handler
|
|
48041
48242
|
bootMark('signalr: chunk import start');
|
|
48042
48243
|
_context3.next = 3;
|
|
48043
|
-
return import('./Host3DSignalR-
|
|
48244
|
+
return import('./Host3DSignalR-42441368.js');
|
|
48044
48245
|
case 3:
|
|
48045
48246
|
_yield$import = _context3.sent;
|
|
48046
48247
|
Host3DSignalR = _yield$import["default"];
|
|
@@ -49772,7 +49973,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
|
|
|
49772
49973
|
break;
|
|
49773
49974
|
case 8:
|
|
49774
49975
|
_context5.next = 10;
|
|
49775
|
-
return import('./DivaStandardPlanner-
|
|
49976
|
+
return import('./DivaStandardPlanner-13d73d96.js');
|
|
49776
49977
|
case 10:
|
|
49777
49978
|
_yield$import = _context5.sent;
|
|
49778
49979
|
DivaStandardPlanner = _yield$import["default"];
|
|
@@ -49783,7 +49984,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
|
|
|
49783
49984
|
return _context5.abrupt("break", 21);
|
|
49784
49985
|
case 15:
|
|
49785
49986
|
_context5.next = 17;
|
|
49786
|
-
return import('./DivaBoxPlanner-
|
|
49987
|
+
return import('./DivaBoxPlanner-2deb2e5b.js');
|
|
49787
49988
|
case 17:
|
|
49788
49989
|
_yield$import2 = _context5.sent;
|
|
49789
49990
|
DivaBoxPlanner = _yield$import2["default"];
|