@crystaldesign/web-planner-logic 25.16.0-beta.23 → 25.16.0-beta.24

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.
Files changed (48) hide show
  1. package/build/cjs/{DivaBoxPlanner-6127be3c.js → DivaBoxPlanner-b428f520.js} +2 -2
  2. package/build/cjs/{DivaStandardPlanner-021a5dad.js → DivaStandardPlanner-b6b5d425.js} +2 -2
  3. package/build/cjs/{DoorPlanner-1a22cb39.js → DoorPlanner-e531c98c.js} +1 -1
  4. package/build/cjs/{Host3DSignalR-f0efc5e0.js → Host3DSignalR-2439a75d.js} +1 -1
  5. package/build/cjs/{LiviqueWWSHandler-f0fdf57c.js → LiviqueWWSHandler-6db35eff.js} +1 -1
  6. package/build/cjs/{PfisterWWSHandler-5591f3bb.js → PfisterWWSHandler-f2839a79.js} +1 -1
  7. package/build/cjs/{PlannerHandler2D-e7e0b26a.js → PlannerHandler2D-56b61afc.js} +1 -1
  8. package/build/cjs/{SeriousBasketHandler-7d5f5b68.js → SeriousBasketHandler-5c73ea83.js} +1 -1
  9. package/build/cjs/{ShelfPlanner-f2e21287.js → ShelfPlanner-b88f9ddc.js} +1 -1
  10. package/build/cjs/{StandardWWSHandler-05794d7d.js → StandardWWSHandler-1776a69e.js} +1 -1
  11. package/build/cjs/{index-c5f6b0b1.js → index-46f21548.js} +301 -258
  12. package/build/cjs/index.js +1 -1
  13. package/build/esm/{DivaBoxPlanner-997f1fe9.js → DivaBoxPlanner-9dd745a8.js} +2 -2
  14. package/build/esm/{DivaStandardPlanner-6a3a3e24.js → DivaStandardPlanner-92fd338f.js} +2 -2
  15. package/build/esm/{DoorPlanner-f3b00f17.js → DoorPlanner-26343d53.js} +1 -1
  16. package/build/esm/{Host3DSignalR-55d50416.js → Host3DSignalR-965d0be1.js} +1 -1
  17. package/build/esm/{LiviqueWWSHandler-ab94c5fe.js → LiviqueWWSHandler-a4e2db5f.js} +1 -1
  18. package/build/esm/{PfisterWWSHandler-01b35a05.js → PfisterWWSHandler-c55df1fa.js} +1 -1
  19. package/build/esm/{PlannerHandler2D-f4e07d72.js → PlannerHandler2D-2b47f6fc.js} +1 -1
  20. package/build/esm/{SeriousBasketHandler-d37b6c7f.js → SeriousBasketHandler-f813f560.js} +1 -1
  21. package/build/esm/{ShelfPlanner-3706474c.js → ShelfPlanner-233d6f80.js} +1 -1
  22. package/build/esm/{StandardWWSHandler-4df74a93.js → StandardWWSHandler-30a01318.js} +1 -1
  23. package/build/esm/{index-808fb8b3.js → index-fcd0263c.js} +301 -258
  24. package/build/esm/index.js +1 -1
  25. package/build/types/web-planner-logic/src/interface/ArticleOptionStateType.d.ts +1 -0
  26. package/build/types/web-planner-logic/src/interface/ArticleOptionStateType.d.ts.map +1 -1
  27. package/build/types/web-planner-logic/src/interface/OptionTypes/ArticleOptionDataTypes.d.ts +1 -0
  28. package/build/types/web-planner-logic/src/interface/OptionTypes/ArticleOptionDataTypes.d.ts.map +1 -1
  29. package/build/types/web-planner-logic/src/interface/OptionTypes/CatalogOptionDataTypes.d.ts +1 -0
  30. package/build/types/web-planner-logic/src/interface/OptionTypes/CatalogOptionDataTypes.d.ts.map +1 -1
  31. package/build/types/web-planner-logic/src/logic/Article/ArticleOptionState.d.ts +2 -1
  32. package/build/types/web-planner-logic/src/logic/Article/ArticleOptionState.d.ts.map +1 -1
  33. package/build/types/web-planner-logic/src/logic/Article/DivaArticle.d.ts.map +1 -1
  34. package/build/types/web-planner-logic/src/logic/Article/Engine/IDMArticleEngine.d.ts.map +1 -1
  35. package/build/types/web-planner-logic/src/logic/ConfigTree/SummaryHandler.d.ts +1 -12
  36. package/build/types/web-planner-logic/src/logic/ConfigTree/SummaryHandler.d.ts.map +1 -1
  37. package/build/types/web-planner-logic/src/logic/DivaApiHandler.d.ts +3 -3
  38. package/build/types/web-planner-logic/src/logic/DivaApiHandler.d.ts.map +1 -1
  39. package/build/types/web-planner-logic/src/logic/Planner/Rendering/PlannerHandler3D.d.ts.map +1 -1
  40. package/build/types/web-planner-logic/src/model/Articles/Article/DivaCatalogArticle.d.ts +1 -1
  41. package/build/types/web-planner-logic/src/model/Articles/Article/DivaCatalogArticle.d.ts.map +1 -1
  42. package/build/types/web-planner-logic/src/model/Articles/Article/IDMCatalogArticle.d.ts.map +1 -1
  43. package/build/types/web-planner-logic/src/model/Catalog/DivaCatalogData.d.ts.map +1 -1
  44. package/build/types/web-planner-logic/src/model/Options/ArticleOptionData.d.ts +1 -0
  45. package/build/types/web-planner-logic/src/model/Options/ArticleOptionData.d.ts.map +1 -1
  46. package/build/types/web-planner-logic/src/model/Options/CatalogOptionData.d.ts +1 -0
  47. package/build/types/web-planner-logic/src/model/Options/CatalogOptionData.d.ts.map +1 -1
  48. package/package.json +2 -2
@@ -141,6 +141,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
141
141
  value: function () {
142
142
  var _fetchData = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee(url, init) {
143
143
  var skip,
144
+ dontLogError,
144
145
  response,
145
146
  finalUrl,
146
147
  data,
@@ -151,40 +152,41 @@ var DivaApiHandler = /*#__PURE__*/function () {
151
152
  while (1) switch (_context.prev = _context.next) {
152
153
  case 0:
153
154
  skip = _args.length > 2 && _args[2] !== undefined ? _args[2] : 0;
155
+ dontLogError = _args.length > 3 ? _args[3] : undefined;
154
156
  LOG$p.debug('DivaApiHandler.fetchData ' + url, 'DivaApiHandler, fetchData');
155
157
  if (init) {
156
- _context.next = 4;
158
+ _context.next = 5;
157
159
  break;
158
160
  }
159
161
  return _context.abrupt("return");
160
- case 4:
161
- _context.prev = 4;
162
+ case 5:
163
+ _context.prev = 5;
162
164
  if (!(init.method === 'POST')) {
163
- _context.next = 11;
165
+ _context.next = 12;
164
166
  break;
165
167
  }
166
- _context.next = 8;
168
+ _context.next = 9;
167
169
  return axios__default["default"].post(url, init.data, init.config);
168
- case 8:
170
+ case 9:
169
171
  response = _context.sent;
170
- _context.next = 16;
172
+ _context.next = 17;
171
173
  break;
172
- case 11:
174
+ case 12:
173
175
  finalUrl = new URL(url);
174
176
  if (skip) {
175
177
  finalUrl.searchParams.append('skip', skip.toString());
176
178
  }
177
- _context.next = 15;
179
+ _context.next = 16;
178
180
  return axios__default["default"].get(finalUrl.toString(), init.config);
179
- case 15:
180
- response = _context.sent;
181
181
  case 16:
182
- _context.next = 18;
182
+ response = _context.sent;
183
+ case 17:
184
+ _context.next = 19;
183
185
  return response.data;
184
- case 18:
186
+ case 19:
185
187
  data = _context.sent;
186
188
  if (data !== null && data !== void 0 && data.Error) {
187
- LOG$p.error(new DivaUtils.DivaError(data.Error, {
189
+ if (dontLogError) LOG$p.warn(data.Error + ' ' + url);else LOG$p.error(new DivaUtils.DivaError(data.Error, {
188
190
  code: 'WC_0001',
189
191
  custom: {
190
192
  url: url
@@ -193,38 +195,38 @@ var DivaApiHandler = /*#__PURE__*/function () {
193
195
  }
194
196
  //if data is paginated iterate and fetch all
195
197
  if (!(Array.isArray(data.data) && data.total)) {
196
- _context.next = 34;
198
+ _context.next = 35;
197
199
  break;
198
200
  }
199
201
  if (!(data.data.length + skip < data.total)) {
200
- _context.next = 33;
202
+ _context.next = 34;
201
203
  break;
202
204
  }
203
205
  nextSkip = skip + 20;
204
206
  _context.t0 = [];
205
207
  _context.t1 = _toConsumableArray__default["default"](data.data);
206
208
  _context.t2 = _toConsumableArray__default["default"];
207
- _context.next = 28;
209
+ _context.next = 29;
208
210
  return this.fetchData(url, init, nextSkip);
209
- case 28:
211
+ case 29:
210
212
  _context.t3 = _context.sent;
211
213
  _context.t4 = (0, _context.t2)(_context.t3);
212
214
  return _context.abrupt("return", _context.t0.concat.call(_context.t0, _context.t1, _context.t4));
213
- case 33:
214
- return _context.abrupt("return", data.data);
215
215
  case 34:
216
+ return _context.abrupt("return", data.data);
217
+ case 35:
216
218
  return _context.abrupt("return", data);
217
- case 37:
218
- _context.prev = 37;
219
- _context.t5 = _context["catch"](4);
219
+ case 38:
220
+ _context.prev = 38;
221
+ _context.t5 = _context["catch"](5);
220
222
  throw Error('fetch failed! ' + url + ' Error: ' + _context.t5, {
221
223
  cause: _context.t5 === null || _context.t5 === void 0 || (_e$response = _context.t5.response) === null || _e$response === void 0 || (_e$response = _e$response.data) === null || _e$response === void 0 ? void 0 : _e$response.error
222
224
  });
223
- case 40:
225
+ case 41:
224
226
  case "end":
225
227
  return _context.stop();
226
228
  }
227
- }, _callee, this, [[4, 37]]);
229
+ }, _callee, this, [[5, 38]]);
228
230
  }));
229
231
  function fetchData(_x, _x2) {
230
232
  return _fetchData.apply(this, arguments);
@@ -311,7 +313,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
311
313
  }, {
312
314
  key: "getDataCache",
313
315
  value: function () {
314
- var _getDataCache = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee3(queryString, cacheMD5, accountSessionGuid, useWebServiceApi, method, data) {
316
+ var _getDataCache = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee3(queryString, cacheMD5, accountSessionGuid, useWebServiceApi, method, data, dontLogError) {
315
317
  var _this$divaWebConfigDa, _this$divaWebConfigDa2;
316
318
  var myQS, url, init, addSession, cacheHit, _this$apiConfig3, _this$apiConfig4, api2Url, result, _this$divaWebConfigDa3;
317
319
  return _regeneratorRuntime__default["default"].wrap(function _callee3$(_context3) {
@@ -401,7 +403,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
401
403
  };
402
404
  case 34:
403
405
  _context3.next = 36;
404
- return this.fetchData(url, init);
406
+ return this.fetchData(url, init, undefined, dontLogError);
405
407
  case 36:
406
408
  result = _context3.sent;
407
409
  if (method !== 'POST') {
@@ -416,7 +418,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
416
418
  }
417
419
  }, _callee3, this);
418
420
  }));
419
- function getDataCache(_x6, _x7, _x8, _x9, _x10, _x11) {
421
+ function getDataCache(_x6, _x7, _x8, _x9, _x10, _x11, _x12) {
420
422
  return _getDataCache.apply(this, arguments);
421
423
  }
422
424
  return getDataCache;
@@ -454,7 +456,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
454
456
  }
455
457
  }, _callee4, this, [[1, 5]]);
456
458
  }));
457
- function saveAsProduct(_x12, _x13) {
459
+ function saveAsProduct(_x13, _x14) {
458
460
  return _saveAsProduct.apply(this, arguments);
459
461
  }
460
462
  return saveAsProduct;
@@ -815,7 +817,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
815
817
  }
816
818
  }, _callee5, this);
817
819
  }));
818
- function setAccountSessionGuid(_x14) {
820
+ function setAccountSessionGuid(_x15) {
819
821
  return _setAccountSessionGuid.apply(this, arguments);
820
822
  }
821
823
  return setAccountSessionGuid;
@@ -1164,20 +1166,23 @@ var DivaApiHandler = /*#__PURE__*/function () {
1164
1166
  key: "getArticleJson",
1165
1167
  value: function () {
1166
1168
  var _getArticleJson = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee6(artCodex, catalogCodex, accountSessionGuid) {
1169
+ var dontLogError,
1170
+ _args6 = arguments;
1167
1171
  return _regeneratorRuntime__default["default"].wrap(function _callee6$(_context6) {
1168
1172
  while (1) switch (_context6.prev = _context6.next) {
1169
1173
  case 0:
1170
- _context6.next = 2;
1171
- return this.getDataCache(this.getJsonArticleQS(artCodex, catalogCodex), this.getJsonArticleCacheKey(artCodex, catalogCodex), accountSessionGuid);
1172
- case 2:
1173
- return _context6.abrupt("return", _context6.sent);
1174
+ dontLogError = _args6.length > 3 && _args6[3] !== undefined ? _args6[3] : false;
1175
+ _context6.next = 3;
1176
+ return this.getDataCache(this.getJsonArticleQS(artCodex, catalogCodex), this.getJsonArticleCacheKey(artCodex, catalogCodex), accountSessionGuid, undefined, undefined, undefined, dontLogError);
1174
1177
  case 3:
1178
+ return _context6.abrupt("return", _context6.sent);
1179
+ case 4:
1175
1180
  case "end":
1176
1181
  return _context6.stop();
1177
1182
  }
1178
1183
  }, _callee6, this);
1179
1184
  }));
1180
- function getArticleJson(_x15, _x16, _x17) {
1185
+ function getArticleJson(_x16, _x17, _x18) {
1181
1186
  return _getArticleJson.apply(this, arguments);
1182
1187
  }
1183
1188
  return getArticleJson;
@@ -1199,7 +1204,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
1199
1204
  }
1200
1205
  }, _callee7, this);
1201
1206
  }));
1202
- function getJsonOptionTree(_x18, _x19, _x20) {
1207
+ function getJsonOptionTree(_x19, _x20, _x21) {
1203
1208
  return _getJsonOptionTree.apply(this, arguments);
1204
1209
  }
1205
1210
  return getJsonOptionTree;
@@ -1221,7 +1226,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
1221
1226
  }
1222
1227
  }, _callee8, this);
1223
1228
  }));
1224
- function loadArticlePricesQS(_x21, _x22, _x23) {
1229
+ function loadArticlePricesQS(_x22, _x23, _x24) {
1225
1230
  return _loadArticlePricesQS.apply(this, arguments);
1226
1231
  }
1227
1232
  return loadArticlePricesQS;
@@ -1259,7 +1264,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
1259
1264
  }
1260
1265
  }, _callee9, this);
1261
1266
  }));
1262
- function generateAiImageWithReferenceImages(_x24, _x25) {
1267
+ function generateAiImageWithReferenceImages(_x25, _x26) {
1263
1268
  return _generateAiImageWithReferenceImages.apply(this, arguments);
1264
1269
  }
1265
1270
  return generateAiImageWithReferenceImages;
@@ -1294,7 +1299,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
1294
1299
  }
1295
1300
  }, _callee10, this);
1296
1301
  }));
1297
- function getUsageLimits(_x26) {
1302
+ function getUsageLimits(_x27) {
1298
1303
  return _getUsageLimits.apply(this, arguments);
1299
1304
  }
1300
1305
  return getUsageLimits;
@@ -1327,7 +1332,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
1327
1332
  }
1328
1333
  }, _callee11, this);
1329
1334
  }));
1330
- function getAiRoomRenderings(_x27) {
1335
+ function getAiRoomRenderings(_x28) {
1331
1336
  return _getAiRoomRenderings.apply(this, arguments);
1332
1337
  }
1333
1338
  return getAiRoomRenderings;
@@ -1367,7 +1372,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
1367
1372
  }
1368
1373
  }, _callee12, this, [[2, 9]]);
1369
1374
  }));
1370
- function createLeadKey(_x28) {
1375
+ function createLeadKey(_x29) {
1371
1376
  return _createLeadKey.apply(this, arguments);
1372
1377
  }
1373
1378
  return createLeadKey;
@@ -1404,7 +1409,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
1404
1409
  }
1405
1410
  }, _callee13, this);
1406
1411
  }));
1407
- function postHQRenderScript(_x29) {
1412
+ function postHQRenderScript(_x30) {
1408
1413
  return _postHQRenderScript.apply(this, arguments);
1409
1414
  }
1410
1415
  return postHQRenderScript;
@@ -1458,7 +1463,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
1458
1463
  }
1459
1464
  }, _callee14, this, [[4, 9]]);
1460
1465
  }));
1461
- function postPlanningInfo(_x30, _x31, _x32, _x33, _x34, _x35, _x36, _x37, _x38) {
1466
+ function postPlanningInfo(_x31, _x32, _x33, _x34, _x35, _x36, _x37, _x38, _x39) {
1462
1467
  return _postPlanningInfo.apply(this, arguments);
1463
1468
  }
1464
1469
  return postPlanningInfo;
@@ -1507,7 +1512,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
1507
1512
  }
1508
1513
  }, _callee15, this, [[3, 10]]);
1509
1514
  }));
1510
- function getDimensionbyId(_x39, _x40, _x41, _x42) {
1515
+ function getDimensionbyId(_x40, _x41, _x42, _x43) {
1511
1516
  return _getDimensionbyId.apply(this, arguments);
1512
1517
  }
1513
1518
  return getDimensionbyId;
@@ -1584,7 +1589,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
1584
1589
  }
1585
1590
  }, _callee16, this, [[6, 14]]);
1586
1591
  }));
1587
- function createBasketReport(_x43, _x44) {
1592
+ function createBasketReport(_x44, _x45) {
1588
1593
  return _createBasketReport.apply(this, arguments);
1589
1594
  }
1590
1595
  return createBasketReport;
@@ -2152,6 +2157,11 @@ var OptionCatalogData = /*#__PURE__*/function () {
2152
2157
  }
2153
2158
  }, {
2154
2159
  key: "isInvisible",
2160
+ get: function get() {
2161
+ return !!(this.opt.invisible || this.opt.hiddenByMask);
2162
+ }
2163
+ }, {
2164
+ key: "isInvisibleWithoutMaskeInfluence",
2155
2165
  get: function get() {
2156
2166
  return this.opt.invisible;
2157
2167
  }
@@ -17504,7 +17514,7 @@ var CatalogArticleData = /*#__PURE__*/function () {
17504
17514
  key: "getOPTDefaultInVisible",
17505
17515
  value: function getOPTDefaultInVisible(optionCodex) {
17506
17516
  var _this$_catalogArticle6;
17507
- return (_this$_catalogArticle6 = this._catalogArticle.articleOptions[optionCodex]) === null || _this$_catalogArticle6 === void 0 ? void 0 : _this$_catalogArticle6.isInvisible;
17517
+ return !!((_this$_catalogArticle6 = this._catalogArticle.articleOptions[optionCodex]) !== null && _this$_catalogArticle6 !== void 0 && _this$_catalogArticle6.isInvisible);
17508
17518
  }
17509
17519
  }, {
17510
17520
  key: "initCatalogPlannerArticle",
@@ -17757,7 +17767,7 @@ function initCatalogOptions(catalogData, jsonOptions) {
17757
17767
  return options;
17758
17768
  }
17759
17769
  function getCatalogOptionDataType(codex, jsonOPT, catalogData) {
17760
- var _catalogData$catalogM4, _catalogData$catalogM5, _catalogData$catalogM6, _catalogData$catalogM7, _catalogData$catalogM8, _jsonOPT$Properties, _optionMask$name$cata, _optionMask$name, _optionMask$name2, _optionMask$hidden, _optionMask$tabGroup, _ref, _optionMask$layout, _properties$find2, _jsonOPT$showOPVAsArt, _properties$find3, _properties$find4;
17770
+ var _catalogData$catalogM4, _catalogData$catalogM5, _catalogData$catalogM6, _catalogData$catalogM7, _catalogData$catalogM8, _jsonOPT$Properties, _optionMask$name$cata, _optionMask$name, _optionMask$name2, _optionMask$tabGroup, _ref, _optionMask$layout, _properties$find2, _jsonOPT$showOPVAsArt, _properties$find3, _properties$find4;
17761
17771
  var maskProperties = getPropertiesForFeatureNo((_catalogData$catalogM4 = (_catalogData$catalogM5 = catalogData.catalogMask) === null || _catalogData$catalogM5 === void 0 ? void 0 : _catalogData$catalogM5.properties) !== null && _catalogData$catalogM4 !== void 0 ? _catalogData$catalogM4 : [], undefined, codex, catalogData.api.getLanguage());
17762
17772
  var optionMask = (_catalogData$catalogM6 = (_catalogData$catalogM7 = catalogData.catalogMask) === null || _catalogData$catalogM7 === void 0 || (_catalogData$catalogM7 = _catalogData$catalogM7.options) === null || _catalogData$catalogM7 === void 0 ? void 0 : _catalogData$catalogM7[codex]) !== null && _catalogData$catalogM6 !== void 0 ? _catalogData$catalogM6 : codex.startsWith('OPT') ? (_catalogData$catalogM8 = catalogData.catalogMask) === null || _catalogData$catalogM8 === void 0 || (_catalogData$catalogM8 = _catalogData$catalogM8.options) === null || _catalogData$catalogM8 === void 0 ? void 0 : _catalogData$catalogM8[codex.substring(3)] : undefined;
17763
17773
  var properties = [].concat(_toConsumableArray__default["default"]((_jsonOPT$Properties = jsonOPT.Properties) !== null && _jsonOPT$Properties !== void 0 ? _jsonOPT$Properties : []), _toConsumableArray__default["default"](maskProperties !== null && maskProperties !== void 0 ? maskProperties : []));
@@ -17769,7 +17779,8 @@ function getCatalogOptionDataType(codex, jsonOPT, catalogData) {
17769
17779
  headerPosVariationType: jsonOPT.HeaderPosVariationType,
17770
17780
  idmVariantenArt: jsonOPT.IDMVariantenArt ? Number(jsonOPT.IDMVariantenArt) : undefined,
17771
17781
  image: jsonOPT.Image ? jsonOPT.Image : undefined,
17772
- invisible: (_optionMask$hidden = optionMask === null || optionMask === void 0 ? void 0 : optionMask.hidden) !== null && _optionMask$hidden !== void 0 ? _optionMask$hidden : jsonOPT.Invisible != undefined ? jsonOPT.Invisible : false,
17782
+ invisible: jsonOPT.Invisible != undefined ? jsonOPT.Invisible : false,
17783
+ hiddenByMask: optionMask === null || optionMask === void 0 ? void 0 : optionMask.hidden,
17773
17784
  maskTabgroup: optionMask === null || optionMask === void 0 || (_optionMask$tabGroup = optionMask.tabGroup) === null || _optionMask$tabGroup === void 0 ? void 0 : _optionMask$tabGroup[catalogData.api.getLanguage()],
17774
17785
  layout: (_ref = (_optionMask$layout = optionMask === null || optionMask === void 0 ? void 0 : optionMask.layout) !== null && _optionMask$layout !== void 0 ? _optionMask$layout : properties === null || properties === void 0 || (_properties$find2 = properties.find(function (p) {
17775
17786
  return p.Codex == 'LAYOUT';
@@ -18692,10 +18703,14 @@ var ArticleOptionData = /*#__PURE__*/function () {
18692
18703
  }, {
18693
18704
  key: "isInvisible",
18694
18705
  get: function get() {
18695
- if (this.opt.invisible != undefined) {
18696
- return this.opt.invisible;
18697
- }
18698
- return this.opt.catalogOPT.isInvisible;
18706
+ if (this.opt.invisible) return true;
18707
+ return this.opt.hiddenByMask || this.opt.catalogOPT.isInvisible;
18708
+ }
18709
+ }, {
18710
+ key: "isInvisibleWithoutMaskeInfluence",
18711
+ get: function get() {
18712
+ if (this.opt.invisible) return true;
18713
+ return this.opt.catalogOPT.isInvisibleWithoutMaskeInfluence;
18699
18714
  }
18700
18715
  }, {
18701
18716
  key: "articleOptionValues",
@@ -19074,10 +19089,7 @@ function _loadMoreFromDivaArticle() {
19074
19089
  }
19075
19090
  if (json.Decisions && json.Decisions.length > 0) {
19076
19091
  catalogArticle.decisions = json.Decisions;
19077
- initDecisions(catalog, catalogArticleData);
19078
- catalogArticle.articleReferencedDecisions = catalogArticle.decisions.filter(function (d) {
19079
- return json.DecisionRefs == undefined || json.DecisionRefs.includes(d.Number);
19080
- });
19092
+ initDecisions(catalog, catalogArticleData, json.DecisionRefs);
19081
19093
  }
19082
19094
  if (json.TemplateCodex) catalogArticle.templateCodex = json.TemplateCodex;
19083
19095
  if (json.RetailArticleNr) catalogArticle.retailArticleNr = json.RetailArticleNr;
@@ -19270,10 +19282,7 @@ function loadArticleOptions(json, catalogArticleData, set) {
19270
19282
 
19271
19283
  if (json.Decisions && json.Decisions.length > 0) {
19272
19284
  catalogArticle.decisions = JSON.parse(JSON.stringify(json.Decisions));
19273
- initDecisions(set.CatalogData, catalogArticleData);
19274
- catalogArticle.articleReferencedDecisions = catalogArticle.decisions.filter(function (d) {
19275
- return json.DecisionRefs == undefined || json.DecisionRefs.includes(d.Number);
19276
- });
19285
+ initDecisions(set.CatalogData, catalogArticleData, json.DecisionRefs);
19277
19286
  }
19278
19287
  if (json.PartLists && json.PartLists.length > 0) {
19279
19288
  catalogArticle.partListArticles = json.PartLists;
@@ -19292,7 +19301,7 @@ function loadPrices(json, catalogArticleData, catalog) {
19292
19301
  catalogArticle.articlePrices = jsonPrice;
19293
19302
  catalogArticle.arePricesLoaded = true;
19294
19303
  }
19295
- function initDecisions(catalog, catalogArticleData) {
19304
+ function initDecisions(catalog, catalogArticleData, decisionRefs) {
19296
19305
  var myOptOrder = [];
19297
19306
  var catalogArticle = catalogArticleData.catalogArticle;
19298
19307
  if (catalogArticle.articleOptions) {
@@ -19322,7 +19331,7 @@ function initDecisions(catalog, catalogArticleData) {
19322
19331
  if ((_myDecision$Options = myDecision.Options) !== null && _myDecision$Options !== void 0 && _myDecision$Options.length) {
19323
19332
  var optionsDeletedCount = 0;
19324
19333
  for (var m = 0; m < myDecision.Options.length; m++) {
19325
- if (!myOptOrder.includes(myDecision.Options[m])) {
19334
+ if (!myOptOrder.includes(myDecision.Options[m]) && (!decisionRefs || decisionRefs.includes(myDecision.Number.toString()))) {
19326
19335
  var text = 'Attention: a Decision refers to a Option that does not exist on the article. DecNr: ' + myDecision.Number + ' option: ' + myDecision.Options[m] + ' articleCodex: ' + catalogArticle.articleCodex;
19327
19336
  var stack = {
19328
19337
  decisionNr: myDecision.Number,
@@ -19361,9 +19370,12 @@ function initDecisions(catalog, catalogArticleData) {
19361
19370
  }
19362
19371
  }
19363
19372
  }
19373
+ catalogArticle.articleReferencedDecisions = catalogArticle.decisions.filter(function (d) {
19374
+ return decisionRefs == undefined || decisionRefs.includes(d.Number.toString());
19375
+ });
19364
19376
  }
19365
19377
  function getArticleOptionType(myOPT, set, articleCodex) {
19366
- var _set$CatalogData$cata, _set$CatalogData$cata2, _set$CatalogData$cata3, _set$CatalogData$cata4, _set$CatalogData$cata5, _myOPT$Properties, _optionMask$hidden;
19378
+ var _set$CatalogData$cata, _set$CatalogData$cata2, _set$CatalogData$cata3, _set$CatalogData$cata4, _set$CatalogData$cata5, _myOPT$Properties;
19367
19379
  var OP = myOPT.OCD ? myOPT.OCD : myOPT.Codex;
19368
19380
  var catOPT = set.CatalogData.getOption(OP);
19369
19381
  var optionMask = (_set$CatalogData$cata = (_set$CatalogData$cata2 = set.CatalogData.catalogMask) === null || _set$CatalogData$cata2 === void 0 || (_set$CatalogData$cata2 = _set$CatalogData$cata2.options) === null || _set$CatalogData$cata2 === void 0 ? void 0 : _set$CatalogData$cata2[OP]) !== null && _set$CatalogData$cata !== void 0 ? _set$CatalogData$cata : OP.startsWith('OPT') ? (_set$CatalogData$cata3 = set.CatalogData.catalogMask) === null || _set$CatalogData$cata3 === void 0 || (_set$CatalogData$cata3 = _set$CatalogData$cata3.options) === null || _set$CatalogData$cata3 === void 0 ? void 0 : _set$CatalogData$cata3[OP.substring(3)] : undefined;
@@ -19383,7 +19395,8 @@ function getArticleOptionType(myOPT, set, articleCodex) {
19383
19395
  sendToSAP: myOPT.SendToSAP && myOPT.SendToSAP != '-1' ? myOPT.SendToSAP : undefined,
19384
19396
  articlePlaceholder: myOPT.ArticlePlaceholder,
19385
19397
  hasOPG: optHasOpg,
19386
- invisible: (_optionMask$hidden = optionMask === null || optionMask === void 0 ? void 0 : optionMask.hidden) !== null && _optionMask$hidden !== void 0 ? _optionMask$hidden : myOPT.Invisible == 'True' ? true : myOPT.Invisible == 'False' ? false : undefined,
19398
+ invisible: myOPT.Invisible == 'True' ? true : myOPT.Invisible == 'False' ? false : undefined,
19399
+ hiddenByMask: optionMask === null || optionMask === void 0 ? void 0 : optionMask.hidden,
19387
19400
  parentOptionCodex: myOPT.ParentOptionCodex,
19388
19401
  propertyObj: {},
19389
19402
  property: properties
@@ -19595,39 +19608,79 @@ function _loadMoreFromIDMArticles() {
19595
19608
  case 31:
19596
19609
  features = _context5.sent;
19597
19610
  _loop4 = /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _loop4() {
19598
- var feature, _loop5, j;
19611
+ var feature, insertIndex, k, _loop5, j;
19599
19612
  return _regeneratorRuntime__default["default"].wrap(function _loop4$(_context2) {
19600
19613
  while (1) switch (_context2.prev = _context2.next) {
19601
19614
  case 0:
19602
19615
  feature = features[_i7];
19603
- set.CatalogData.loadedFeatures.push(feature);
19616
+ insertIndex = set.CatalogData.loadedFeatures.length;
19617
+ k = 0;
19618
+ case 3:
19619
+ if (!(k < set.CatalogData.loadedFeatures.length)) {
19620
+ _context2.next = 10;
19621
+ break;
19622
+ }
19623
+ if (!(set.CatalogData.loadedFeatures[k].sequenceNo > feature.sequenceNo)) {
19624
+ _context2.next = 7;
19625
+ break;
19626
+ }
19627
+ insertIndex = k;
19628
+ return _context2.abrupt("break", 10);
19629
+ case 7:
19630
+ k++;
19631
+ _context2.next = 3;
19632
+ break;
19633
+ case 10:
19634
+ set.CatalogData.loadedFeatures.splice(insertIndex, 0, feature);
19604
19635
  _loop5 = /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _loop5(j) {
19636
+ var option, _insertIndex, _k;
19605
19637
  return _regeneratorRuntime__default["default"].wrap(function _loop5$(_context) {
19606
19638
  while (1) switch (_context.prev = _context.next) {
19607
19639
  case 0:
19608
- if (!set.CatalogData.loadedOptions.find(function (o) {
19640
+ if (set.CatalogData.loadedOptions.find(function (o) {
19609
19641
  return o.optionKey == feature.options[j].optionKey;
19610
19642
  })) {
19611
- set.CatalogData.loadedOptions.push(feature.options[j]);
19643
+ _context.next = 12;
19644
+ break;
19645
+ }
19646
+ option = feature.options[j];
19647
+ _insertIndex = set.CatalogData.loadedOptions.length;
19648
+ _k = 0;
19649
+ case 4:
19650
+ if (!(_k < set.CatalogData.loadedOptions.length)) {
19651
+ _context.next = 11;
19652
+ break;
19653
+ }
19654
+ if (!(set.CatalogData.loadedOptions[_k].sequenceNo > option.sequenceNo)) {
19655
+ _context.next = 8;
19656
+ break;
19612
19657
  }
19613
- case 1:
19658
+ _insertIndex = _k;
19659
+ return _context.abrupt("break", 11);
19660
+ case 8:
19661
+ _k++;
19662
+ _context.next = 4;
19663
+ break;
19664
+ case 11:
19665
+ set.CatalogData.loadedOptions.splice(_insertIndex, 0, option);
19666
+ case 12:
19614
19667
  case "end":
19615
19668
  return _context.stop();
19616
19669
  }
19617
19670
  }, _loop5);
19618
19671
  });
19619
19672
  j = 0;
19620
- case 4:
19673
+ case 13:
19621
19674
  if (!(j < feature.options.length)) {
19622
- _context2.next = 9;
19675
+ _context2.next = 18;
19623
19676
  break;
19624
19677
  }
19625
- return _context2.delegateYield(_loop5(j), "t0", 6);
19626
- case 6:
19678
+ return _context2.delegateYield(_loop5(j), "t0", 15);
19679
+ case 15:
19627
19680
  j++;
19628
- _context2.next = 4;
19681
+ _context2.next = 13;
19629
19682
  break;
19630
- case 9:
19683
+ case 18:
19631
19684
  case "end":
19632
19685
  return _context2.stop();
19633
19686
  }
@@ -20746,12 +20799,9 @@ var DivaCatalogData = /*#__PURE__*/function () {
20746
20799
  }, {
20747
20800
  key: "getFeatures",
20748
20801
  value: function getFeatures() {
20749
- var _this3 = this;
20750
20802
  var featureRefs = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
20751
- return featureRefs.map(function (ref) {
20752
- return _this3.catalogData.loadedFeatures.find(function (f) {
20753
- return f.featureNo == ref;
20754
- });
20803
+ return this.catalogData.loadedFeatures.filter(function (f) {
20804
+ return featureRefs.includes(f.featureNo);
20755
20805
  });
20756
20806
  }
20757
20807
  }, {
@@ -21345,11 +21395,11 @@ var DivaCatalogData = /*#__PURE__*/function () {
21345
21395
  return undefined;
21346
21396
  },
21347
21397
  set: function set(newMask) {
21348
- var _this4 = this;
21398
+ var _this3 = this;
21349
21399
  if (!this.additionalModelInfos) throw new Error('additionalModelInfos dont exist for this catalog');
21350
21400
  this.updateMask(newMask).then(function (r) {
21351
- _this4.additionalModelInfos = r;
21352
- _this4.initMask(true);
21401
+ _this3.additionalModelInfos = r;
21402
+ _this3.initMask(true);
21353
21403
  });
21354
21404
  }
21355
21405
  }, {
@@ -21453,7 +21503,7 @@ var DivaCatalogData = /*#__PURE__*/function () {
21453
21503
  }, {
21454
21504
  key: "initProperties",
21455
21505
  value: function initProperties(catalogCodex, properties) {
21456
- var _this5 = this;
21506
+ var _this4 = this;
21457
21507
  var diva3DRenderingIsSet = false;
21458
21508
  properties.forEach(function (item, index) {
21459
21509
  //3D Allgemein
@@ -21462,271 +21512,271 @@ var DivaCatalogData = /*#__PURE__*/function () {
21462
21512
  if (key.startsWith(catalogCodex + '__')) key = key.replace(catalogCodex + '__', '');
21463
21513
  switch (key) {
21464
21514
  case 'DIVA3D_ROOM':
21465
- _this5.catalogProps.diva3dRoom = item.Value;
21466
- if (_this5.catalogProps.diva3dRoom == 'raumatlantis') _this5.catalogProps.diva3dRoom = 'weissraumatlantis';
21515
+ _this4.catalogProps.diva3dRoom = item.Value;
21516
+ if (_this4.catalogProps.diva3dRoom == 'raumatlantis') _this4.catalogProps.diva3dRoom = 'weissraumatlantis';
21467
21517
  break;
21468
21518
  case 'DIVA3D_RENDERING':
21469
21519
  diva3DRenderingIsSet = item.Value == '1' || item.Value.toLowerCase() == 'true';
21470
- if (_this5.catalogProps.diva3dShowRenderingByCatalogData) {
21471
- _this5.catalogProps.has3dModels = _this5.catalogProps.has3dModels && diva3DRenderingIsSet;
21520
+ if (_this4.catalogProps.diva3dShowRenderingByCatalogData) {
21521
+ _this4.catalogProps.has3dModels = _this4.catalogProps.has3dModels && diva3DRenderingIsSet;
21472
21522
  }
21473
21523
  break;
21474
21524
  case 'DIVA3D_AR_READY':
21475
- _this5.catalogProps.divaArReady = !!item.Value;
21525
+ _this4.catalogProps.divaArReady = !!item.Value;
21476
21526
  break;
21477
21527
  case 'DIVA3D_AR_FORCERTV':
21478
- _this5.catalogProps.divaForceRTV = !!item.Value;
21528
+ _this4.catalogProps.divaForceRTV = !!item.Value;
21479
21529
  break;
21480
21530
  case 'HEADER_DIMENSION_IDS':
21481
- _this5.catalogProps.headerDimensionIds = item.Value.split(';');
21531
+ _this4.catalogProps.headerDimensionIds = item.Value.split(';');
21482
21532
  break;
21483
21533
  case 'DONTCALCBASEPRICE':
21484
- _this5.catalogProps.dontShowBasePrice = item.Value == '1';
21534
+ _this4.catalogProps.dontShowBasePrice = item.Value == '1';
21485
21535
  break;
21486
21536
  case 'DIVA3D_STATIC_BG_IMAGE_ROOMLIST':
21487
- _this5.catalogProps.roomList3DStaticBGImage.set('3D_STATBG_ROOMLIST', item.Value.split(';'));
21537
+ _this4.catalogProps.roomList3DStaticBGImage.set('3D_STATBG_ROOMLIST', item.Value.split(';'));
21488
21538
  break;
21489
21539
  case 'DIVA3D_DISABLE_3DEXPORT':
21490
- _this5.catalogProps.disable3DExport = !!item.Value;
21540
+ _this4.catalogProps.disable3DExport = !!item.Value;
21491
21541
  break;
21492
21542
  case '3D_COMPATIBLE_WITH_IMAGE_CACHE':
21493
- _this5.catalogProps.diva3dCompatibleWithImageCache = item.Value == '1';
21543
+ _this4.catalogProps.diva3dCompatibleWithImageCache = item.Value == '1';
21494
21544
  break;
21495
21545
  case 'ENABLE_DO_SHOW_3DDIMENSIONS':
21496
- _this5.catalogProps.doShow3DDimensionLines = item.Value == '1' || item.Value.toLowerCase() == 'true';
21546
+ _this4.catalogProps.doShow3DDimensionLines = item.Value == '1' || item.Value.toLowerCase() == 'true';
21497
21547
  break;
21498
21548
  case 'DEFAULT_DO_SHOW_3DDIMENSIONS':
21499
- _this5.catalogProps.defaultDimensionsActive = '1' == item.Value || 'true' == item.Value.toLowerCase();
21549
+ _this4.catalogProps.defaultDimensionsActive = '1' == item.Value || 'true' == item.Value.toLowerCase();
21500
21550
  break;
21501
21551
  // Planner Topics
21502
21552
  case 'IS_IDM3D_CAT':
21503
- _this5.catalogProps.isIDM3DCat = item.Value == '1' || item.Value.toLowerCase() == 'true';
21553
+ _this4.catalogProps.isIDM3DCat = item.Value == '1' || item.Value.toLowerCase() == 'true';
21504
21554
  break;
21505
21555
  case 'IDM3D_CAT_CODEX':
21506
- _this5.catalogProps.IDM3DCatCodex = item.Value;
21556
+ _this4.catalogProps.IDM3DCatCodex = item.Value;
21507
21557
  break;
21508
21558
  case 'DIVA3D_PLANER_DIGITS':
21509
- _this5.catalogProps.divaPlanerDigits = Number(item.Value);
21559
+ _this4.catalogProps.divaPlanerDigits = Number(item.Value);
21510
21560
  break;
21511
21561
  case 'DIVA3D_PLANER_SHOW_ARTICLE_SVG':
21512
- _this5.catalogProps.diva3dPlanerShowArticleAsSvg = item.Value == '1';
21562
+ _this4.catalogProps.diva3dPlanerShowArticleAsSvg = item.Value == '1';
21513
21563
  break;
21514
21564
  case 'SHOWTYPENRINPLANNER':
21515
- _this5.catalogProps.showTypeNrInPlanner = item.Value == '1';
21565
+ _this4.catalogProps.showTypeNrInPlanner = item.Value == '1';
21516
21566
  break;
21517
21567
  case 'STARTFILTERPARAMS':
21518
- _this5.catalogProps.startFilterParams = String(item.Value);
21568
+ _this4.catalogProps.startFilterParams = String(item.Value);
21519
21569
  break;
21520
21570
  case 'STARTHIDEARTICLES':
21521
- _this5.catalogProps.startHideArticles = item.Value.split(';');
21571
+ _this4.catalogProps.startHideArticles = item.Value.split(';');
21522
21572
  break;
21523
21573
  case 'USEGLOBALSVGSCALE':
21524
- _this5.catalogProps.useGlobalSVGScale = item.Value == '1';
21574
+ _this4.catalogProps.useGlobalSVGScale = item.Value == '1';
21525
21575
  break;
21526
21576
  case 'USEBOXPLANNER':
21527
- _this5.catalogProps.useBoxPlanner = item.Value == '1' ? true : item.Value.split(';');
21577
+ _this4.catalogProps.useBoxPlanner = item.Value == '1' ? true : item.Value.split(';');
21528
21578
  break;
21529
21579
  case 'PLANNERTYPE':
21530
- _this5.catalogProps.plannerType = item.Value;
21580
+ _this4.catalogProps.plannerType = item.Value;
21531
21581
  break;
21532
21582
  case 'START_PLANNER_ARTICLE':
21533
- _this5.catalogProps.startPlannerArticle = item.Value;
21583
+ _this4.catalogProps.startPlannerArticle = item.Value;
21534
21584
  break;
21535
21585
  case 'HIDE_2D_PLANNER':
21536
- _this5.catalogProps.hide2DPlanner = item.Value == '1';
21586
+ _this4.catalogProps.hide2DPlanner = item.Value == '1';
21537
21587
  break;
21538
21588
  case 'ACCESSOIRE_STEP_AS_PLANNER':
21539
- _this5.catalogProps.accessorieStepAsPlanner = item.Value == '1';
21589
+ _this4.catalogProps.accessorieStepAsPlanner = item.Value == '1';
21540
21590
  break;
21541
21591
  case 'PLANNER_2DOT0':
21542
- _this5.catalogProps.planner2Dot0 = item.Value == '1';
21592
+ _this4.catalogProps.planner2Dot0 = item.Value == '1';
21543
21593
  break;
21544
21594
  case 'DONT_SAVE_ALTERNATIVERENDERINGS':
21545
- _this5.catalogProps.dontSaveAlternativeRenderings = item.Value == '1';
21595
+ _this4.catalogProps.dontSaveAlternativeRenderings = item.Value == '1';
21546
21596
  break;
21547
21597
  case 'SHOW_ALL_ITEMS_IN_PLANNER':
21548
- _this5.catalogProps.showAllItemsInPlanner = item.Value == '1';
21598
+ _this4.catalogProps.showAllItemsInPlanner = item.Value == '1';
21549
21599
  break;
21550
21600
  case 'HIDE_AV_BUTTONS':
21551
- _this5.catalogProps.hideAVButtons = item.Value;
21601
+ _this4.catalogProps.hideAVButtons = item.Value;
21552
21602
  break;
21553
21603
  case 'PLANNER_REPLACE_MODE':
21554
- _this5.catalogProps.replaceModeActive = item.Value == '1';
21604
+ _this4.catalogProps.replaceModeActive = item.Value == '1';
21555
21605
  break;
21556
21606
  case 'HIDE_PLANNER_UI_ICONS':
21557
- _this5.catalogProps.hidePlannerUiIcons = item.Value == '1';
21607
+ _this4.catalogProps.hidePlannerUiIcons = item.Value == '1';
21558
21608
  break;
21559
21609
  case 'DONT_SET_POSNR_FROM_PLANNER':
21560
- _this5.catalogProps.dontSetPosNrFromPlanner = item.Value == '1';
21610
+ _this4.catalogProps.dontSetPosNrFromPlanner = item.Value == '1';
21561
21611
  break;
21562
21612
  case 'SHOW_AI_ROOM_RENDERING_SUMMARY':
21563
- _this5.catalogProps.showAiRoomRenderingInSummary = item.Value == '1';
21613
+ _this4.catalogProps.showAiRoomRenderingInSummary = item.Value == '1';
21564
21614
  break;
21565
21615
  // Warnings
21566
21616
  case 'HIDECONSTRUCTIONWARNING':
21567
- _this5.catalogProps.doCheckConstructionWarnings = item.Value == '0';
21617
+ _this4.catalogProps.doCheckConstructionWarnings = item.Value == '0';
21568
21618
  break;
21569
21619
  case 'FORCECONSTRUCTIONWARNINGARTICLES':
21570
- _this5.catalogProps.forceConstructionWarningForArticles = item.Value.split(';');
21620
+ _this4.catalogProps.forceConstructionWarningForArticles = item.Value.split(';');
21571
21621
  break;
21572
21622
  case 'HIDECOMPLETENESSWARNING':
21573
- _this5.catalogProps.hideCompletenessWarning = item.Value == '1';
21623
+ _this4.catalogProps.hideCompletenessWarning = item.Value == '1';
21574
21624
  break;
21575
21625
  // DP Logic
21576
21626
  case 'IGNORELAYERAVC':
21577
- _this5.catalogProps.ignoreLayerAVC = item.Value == '1';
21627
+ _this4.catalogProps.ignoreLayerAVC = item.Value == '1';
21578
21628
  break;
21579
21629
  case 'IGNORELAYERAVOAVU':
21580
- _this5.catalogProps.ignoreLayerAVOAVU = item.Value == '1';
21630
+ _this4.catalogProps.ignoreLayerAVOAVU = item.Value == '1';
21581
21631
  break;
21582
21632
  case 'IGNORELAYERAVNAVS':
21583
- _this5.catalogProps.ignoreLayerAVNAVS = item.Value == '1';
21633
+ _this4.catalogProps.ignoreLayerAVNAVS = item.Value == '1';
21584
21634
  break;
21585
21635
  case 'DOCKACCONAVOONLY':
21586
- _this5.catalogProps.dockAccOnAvoOnly = item.Value == '1';
21636
+ _this4.catalogProps.dockAccOnAvoOnly = item.Value == '1';
21587
21637
  break;
21588
21638
  case 'SHOWACCONDPONLY':
21589
- _this5.catalogProps.showAccOnDpOnly = item.Value == '1';
21639
+ _this4.catalogProps.showAccOnDpOnly = item.Value == '1';
21590
21640
  break;
21591
21641
  case 'RECONFIG_AFTER_ARTICLE_DOCKED':
21592
- _this5.catalogProps.reconfigAfterArticleDocked = item.Value == '1';
21642
+ _this4.catalogProps.reconfigAfterArticleDocked = item.Value == '1';
21593
21643
  break;
21594
21644
  // Configuration
21595
21645
 
21596
21646
  case 'USE_SHORT_NAME_AS_NAME':
21597
- _this5.catalogProps.useShortNameAsName = item.Value == '1';
21647
+ _this4.catalogProps.useShortNameAsName = item.Value == '1';
21598
21648
  break;
21599
21649
  case 'USE_DIOMEX_CONFIG_LOGIC':
21600
- _this5.catalogProps.useDiomexConfigLogic = item.Value == '1';
21650
+ _this4.catalogProps.useDiomexConfigLogic = item.Value == '1';
21601
21651
  break;
21602
21652
  case 'USEPRGASOPVARTICLENR':
21603
- _this5.catalogProps.UsePrgAsOpvArticleNr = item.Value == '1';
21653
+ _this4.catalogProps.UsePrgAsOpvArticleNr = item.Value == '1';
21604
21654
  break;
21605
21655
  case 'ARTICLECONFIGSINGLE':
21606
- _this5.catalogProps.articleConfigSingle = item.Value == '1';
21656
+ _this4.catalogProps.articleConfigSingle = item.Value == '1';
21607
21657
  break;
21608
21658
  case 'DEFAULT_GROUPS_CLOSED':
21609
21659
  if (item.Value != '1' && item.Value != '0') {
21610
- _this5.catalogProps.defaultGroupsClosed = item.Value.split(';');
21660
+ _this4.catalogProps.defaultGroupsClosed = item.Value.split(';');
21611
21661
  } else {
21612
- _this5.catalogProps.defaultGroupsClosed = item.Value == '1';
21662
+ _this4.catalogProps.defaultGroupsClosed = item.Value == '1';
21613
21663
  }
21614
21664
  break;
21615
21665
  case 'ARTICLECONFIGALL':
21616
- _this5.catalogProps.articleConfigAll = item.Value == '1';
21666
+ _this4.catalogProps.articleConfigAll = item.Value == '1';
21617
21667
  break;
21618
21668
  case 'AUTO_OPEN_CONTENTITEM':
21619
- _this5.catalogProps.autoOpenContentItem = item.Value == '1' ? true : item.Value.split(';').map(function (o) {
21620
- return (!_this5.isIDMFormat ? 'OPT' : '') + o;
21669
+ _this4.catalogProps.autoOpenContentItem = item.Value == '1' ? true : item.Value.split(';').map(function (o) {
21670
+ return (!_this4.isIDMFormat ? 'OPT' : '') + o;
21621
21671
  });
21622
21672
  break;
21623
21673
  case 'HIDE_PRICE_GROUPS_OF_OPGS':
21624
- _this5.catalogProps.hidePriceGroupsOfOPGs = item.Value == '1';
21674
+ _this4.catalogProps.hidePriceGroupsOfOPGs = item.Value == '1';
21625
21675
  break;
21626
21676
  case 'DONTHIDEOPTION':
21627
- _this5.catalogProps.dontHideOption = String(item.Value).split(',');
21677
+ _this4.catalogProps.dontHideOption = String(item.Value).split(',');
21628
21678
  break;
21629
21679
  case 'SHOW_AI_ROOM_RENDERING_IN_SUMMARY':
21630
- _this5.catalogProps.showAiRoomRenderingInSummary = item.Value == '1';
21680
+ _this4.catalogProps.showAiRoomRenderingInSummary = item.Value == '1';
21631
21681
  break;
21632
21682
  case 'SHOWACCESSOIREONLASTTAB':
21633
- _this5.catalogProps.showAccessioreOnLastTab = item.Value == '1';
21683
+ _this4.catalogProps.showAccessioreOnLastTab = item.Value == '1';
21634
21684
  break;
21635
21685
  case 'FORCE_CONFIG_ALL_ACCESSOIRES':
21636
- _this5.catalogProps.forceConfigAllAccessoires = item.Value == '1';
21686
+ _this4.catalogProps.forceConfigAllAccessoires = item.Value == '1';
21637
21687
  break;
21638
21688
  case 'CONFIG_ACCESSOIRES':
21639
- _this5.catalogProps.configAccessoires = item.Value == '1';
21689
+ _this4.catalogProps.configAccessoires = item.Value == '1';
21640
21690
  break;
21641
21691
  case 'CONFIG_ONLY_ACCESSOIRES':
21642
- _this5.catalogProps.configOnlyAccessoires = item.Value == '1';
21692
+ _this4.catalogProps.configOnlyAccessoires = item.Value == '1';
21643
21693
  break;
21644
21694
  case 'IGNORE_ARTICLERELATIONS':
21645
- _this5.catalogProps.ignoreArticleRelations = item.Value == '1';
21695
+ _this4.catalogProps.ignoreArticleRelations = item.Value == '1';
21646
21696
  break;
21647
21697
  case 'REPAIR_VARIANT_VALUES':
21648
21698
  var enties = item.Value.split(';;');
21649
- _this5.catalogProps.repairVariantValues = {};
21699
+ _this4.catalogProps.repairVariantValues = {};
21650
21700
  for (var k = 0; k < enties.length; k++) {
21651
21701
  var vals = enties[k].split(';');
21652
- _this5.catalogProps.repairVariantValues['OPT' + vals[0].replace(':', ':OPV')] = 'OPT' + vals[1].replace(':', ':OPV');
21702
+ _this4.catalogProps.repairVariantValues['OPT' + vals[0].replace(':', ':OPV')] = 'OPT' + vals[1].replace(':', ':OPV');
21653
21703
  }
21654
21704
  break;
21655
21705
  case 'FILTER_FOR_CHECKOUT_BUTTONS':
21656
- _this5.catalogProps.filterForCheckoutButtons = item.Value.split(';').map(function (t) {
21706
+ _this4.catalogProps.filterForCheckoutButtons = item.Value.split(';').map(function (t) {
21657
21707
  return t;
21658
21708
  });
21659
21709
  break;
21660
21710
  case 'DO_USE_RULEDESC_FOR_PARTLIST':
21661
- _this5.catalogProps.doUseRuleDescForPartListArticles = '1' == item.Value;
21711
+ _this4.catalogProps.doUseRuleDescForPartListArticles = '1' == item.Value;
21662
21712
  break;
21663
21713
  case 'USEPOSCOUNTVALUE':
21664
- _this5.catalogProps.usePosCountValue = '1' == item.Value;
21714
+ _this4.catalogProps.usePosCountValue = '1' == item.Value;
21665
21715
  break;
21666
21716
  case 'USE_DECISION_POS_COUNT_VALUE':
21667
- _this5.catalogProps.useDecisionPosCountValue = '1' == item.Value;
21717
+ _this4.catalogProps.useDecisionPosCountValue = '1' == item.Value;
21668
21718
  break;
21669
21719
  case 'USE_SHELFPLANNER_RTV':
21670
- _this5.catalogProps.useShelfPlannerRTV = '1' == item.Value;
21720
+ _this4.catalogProps.useShelfPlannerRTV = '1' == item.Value;
21671
21721
  break;
21672
21722
  case 'DONT_SHOW_ACC_STEP':
21673
- _this5.catalogProps.dontShowAccStep = '1' == item.Value;
21723
+ _this4.catalogProps.dontShowAccStep = '1' == item.Value;
21674
21724
  break;
21675
21725
  case 'MERGE_OPTIONS_TO_SAME_OPTION':
21676
- _this5.catalogProps.mergeOptionsToSameOption = [];
21677
- for (var V = item.Value.split(';'), T = 0; T < V.length; T++) _this5.catalogProps.mergeOptionsToSameOption.push(V[T].split(','));
21726
+ _this4.catalogProps.mergeOptionsToSameOption = [];
21727
+ for (var V = item.Value.split(';'), T = 0; T < V.length; T++) _this4.catalogProps.mergeOptionsToSameOption.push(V[T].split(','));
21678
21728
  break;
21679
21729
  case 'FORCE_CONFIG_SINGLE':
21680
- _this5.catalogProps.forceConfigSingle = '1' == item.Value;
21730
+ _this4.catalogProps.forceConfigSingle = '1' == item.Value;
21681
21731
  break;
21682
21732
  case 'SHOW_PRICEPREVIEW_ON_OPTIONS':
21683
- _this5.catalogProps.showPricePreviewOnlyOnOptions = item.Value.split(';').map(function (t) {
21733
+ _this4.catalogProps.showPricePreviewOnlyOnOptions = item.Value.split(';').map(function (t) {
21684
21734
  return t;
21685
21735
  });
21686
21736
  break;
21687
21737
  case 'HIDE_PRICEPREVIEW_ON_OPTIONS':
21688
- _this5.catalogProps.hidePricePreviewOnlyOnOptions = item.Value.split(';').map(function (t) {
21738
+ _this4.catalogProps.hidePricePreviewOnlyOnOptions = item.Value.split(';').map(function (t) {
21689
21739
  return t;
21690
21740
  });
21691
21741
  break;
21692
21742
  case 'INIT_OPTIONTREE_TWICE':
21693
- _this5.catalogProps.initOptionTreeTwice = '1' == item.Value;
21743
+ _this4.catalogProps.initOptionTreeTwice = '1' == item.Value;
21694
21744
  break;
21695
21745
  case 'USE_TYPENR_AS_ARTICLENR_EKTEXT':
21696
- _this5.catalogProps.useTypeNrAsArticleNrEKText = '1' == item.Value;
21746
+ _this4.catalogProps.useTypeNrAsArticleNrEKText = '1' == item.Value;
21697
21747
  break;
21698
21748
  case 'ADD_NEW_LINE_BEFOR_RULEDESC':
21699
- _this5.catalogProps.addNewLineBeforRuleDesc = '1' == item.Value;
21749
+ _this4.catalogProps.addNewLineBeforRuleDesc = '1' == item.Value;
21700
21750
  break;
21701
21751
  case 'ONCONFIG_SINGLE_DONT_GENERALIZE':
21702
- _this5.catalogProps.onConfigSingleDontGeneralize = '1' == item.Value;
21752
+ _this4.catalogProps.onConfigSingleDontGeneralize = '1' == item.Value;
21703
21753
  break;
21704
21754
  case 'SUMMARY_TABGROUP_POSITION':
21705
- _this5.catalogProps.summaryTabGroupPosition = item.Value.split(';');
21755
+ _this4.catalogProps.summaryTabGroupPosition = item.Value.split(';');
21706
21756
  break;
21707
21757
  case 'BUNDLE_RULES':
21708
- _this5.catalogProps.bundleRules = JSON.parse(item.Value);
21758
+ _this4.catalogProps.bundleRules = JSON.parse(item.Value);
21709
21759
  break;
21710
21760
  case 'NOTIFICATIONS':
21711
- _this5.catalogProps.notificationsRules = JSON.parse(item.Value);
21761
+ _this4.catalogProps.notificationsRules = JSON.parse(item.Value);
21712
21762
  break;
21713
21763
  case 'WARNINGS':
21714
- _this5.catalogProps.warningRules = JSON.parse(item.Value);
21764
+ _this4.catalogProps.warningRules = JSON.parse(item.Value);
21715
21765
  break;
21716
21766
  case 'BANNER':
21717
- _this5.catalogProps.bannerRules = JSON.parse(item.Value);
21767
+ _this4.catalogProps.bannerRules = JSON.parse(item.Value);
21718
21768
  break;
21719
21769
  case 'IGNORE_MAX_PRICE_AS_BASEPRICE':
21720
- _this5.catalogProps.ignoreMaxPriceAsBP = '1' == item.Value;
21770
+ _this4.catalogProps.ignoreMaxPriceAsBP = '1' == item.Value;
21721
21771
  break;
21722
21772
  case 'DONT_USE_VCODEX_FOR_BASKET':
21723
- _this5.catalogProps.dontUseVCodexInBasket = '1' == item.Value;
21773
+ _this4.catalogProps.dontUseVCodexInBasket = '1' == item.Value;
21724
21774
  break;
21725
21775
  case 'IGNORE_ISDEFINED_CHECK':
21726
- _this5.catalogProps.ignoreIsDefinedCheck = '1' == item.Value;
21776
+ _this4.catalogProps.ignoreIsDefinedCheck = '1' == item.Value;
21727
21777
  break;
21728
21778
  case 'PARTLIST_POSTFIX':
21729
- _this5.catalogProps.partlistPostFix = item.Value.split(';').map(function (i) {
21779
+ _this4.catalogProps.partlistPostFix = item.Value.split(';').map(function (i) {
21730
21780
  return {
21731
21781
  rule: i.split(':')[0],
21732
21782
  postFix: i.split(':')[1]
@@ -21734,7 +21784,7 @@ var DivaCatalogData = /*#__PURE__*/function () {
21734
21784
  });
21735
21785
  break;
21736
21786
  case 'ADD_PA_ON_EDO':
21737
- _this5.handleEdoArticles(properties, item);
21787
+ _this4.handleEdoArticles(properties, item);
21738
21788
  break;
21739
21789
  }
21740
21790
  });
@@ -21747,7 +21797,7 @@ var DivaCatalogData = /*#__PURE__*/function () {
21747
21797
  }, {
21748
21798
  key: "initPropertiesAfterOptionsInit",
21749
21799
  value: function initPropertiesAfterOptionsInit(catalogCodex, properties) {
21750
- var _this6 = this;
21800
+ var _this5 = this;
21751
21801
  properties.forEach(function (item, index) {
21752
21802
  //3D Allgemein
21753
21803
  var key = item.Codex;
@@ -21755,11 +21805,11 @@ var DivaCatalogData = /*#__PURE__*/function () {
21755
21805
  if (key.startsWith('3D_STATBG_ROOMLIST')) {
21756
21806
  // item.Value =
21757
21807
  // "weissraum_LUECK;backgroundimgroom_lueck_modern;backgroundimgroom_lueck_romantic;backgroundimgroom_lueck_loft;backgroundimgroom_lueck_night";
21758
- _this6.catalogProps.roomList3DStaticBGImage.set(item.Codex, item.Value.split(';'));
21808
+ _this5.catalogProps.roomList3DStaticBGImage.set(item.Codex, item.Value.split(';'));
21759
21809
  } else if (key.startsWith('3D_STANDARD_WHITEROOM')) {
21760
- _this6.catalogProps.diva3dStandardWhiteroom = item.Value;
21810
+ _this5.catalogProps.diva3dStandardWhiteroom = item.Value;
21761
21811
  } else if (key.startsWith('DIVA3D_IMAGE')) {
21762
- _this6.handleDIVA3DMetaTag(item);
21812
+ _this5.handleDIVA3DMetaTag(item);
21763
21813
  }
21764
21814
  });
21765
21815
  }
@@ -22039,7 +22089,7 @@ var DivaCatalogHandler = /*#__PURE__*/function () {
22039
22089
  return [os.ArticleCodex + os.CatalogCodex, os];
22040
22090
  })).values()).map(function (ol) {
22041
22091
  var _ol$CatalogCodex;
22042
- return state.api.getArticleJson(ol.ArticleCodex, (_ol$CatalogCodex = ol.CatalogCodex) !== null && _ol$CatalogCodex !== void 0 ? _ol$CatalogCodex : orderSet.CatalogCodex, orderSet.AccountSessionGUID);
22092
+ return state.api.getArticleJson(ol.ArticleCodex, (_ol$CatalogCodex = ol.CatalogCodex) !== null && _ol$CatalogCodex !== void 0 ? _ol$CatalogCodex : orderSet.CatalogCodex, orderSet.AccountSessionGUID, true);
22043
22093
  })));
22044
22094
  _context2.next = 3;
22045
22095
  return Promise.all(promises);
@@ -22240,6 +22290,7 @@ var ArticleOptionStateData = /*#__PURE__*/function () {
22240
22290
  isDefined: !useIsOptionDefinedWarning && !option.requiresUserInput,
22241
22291
  valueWasSet: false,
22242
22292
  invisible: option.isInvisible,
22293
+ invisibleWithoutMaskeInfluence: option.isInvisibleWithoutMaskeInfluence,
22243
22294
  usedCalcPrice: 0,
22244
22295
  calcPrice: 0,
22245
22296
  constructionRules: {},
@@ -22551,6 +22602,12 @@ var ArticleOptionStateData = /*#__PURE__*/function () {
22551
22602
  },
22552
22603
  set: function set(isInvisible) {
22553
22604
  this.articleOptionState.invisible = isInvisible;
22605
+ this.articleOptionState.invisibleWithoutMaskeInfluence = isInvisible;
22606
+ }
22607
+ }, {
22608
+ key: "invisibleWithoutMaskeInfluence",
22609
+ get: function get() {
22610
+ return this.articleOptionState.invisibleWithoutMaskeInfluence;
22554
22611
  }
22555
22612
  }, {
22556
22613
  key: "usedCalcPrice",
@@ -22680,20 +22737,21 @@ var ArticleOptionStateData = /*#__PURE__*/function () {
22680
22737
  }
22681
22738
  }, {
22682
22739
  key: "visibleInSummary",
22683
- value: function visibleInSummary(aritcle) {
22740
+ value: function visibleInSummary(aritcle, summaryForBasket) {
22684
22741
  var _this$val11, _this$val12;
22685
- return !this.isInvisible && (this.selectionmode != 0 || (this.visibleCount > 1 || this.isFreeText) && aritcle.set.api.showSelectionModeZero()) && this.isDoShow && !((_this$val11 = this.val) !== null && _this$val11 !== void 0 && _this$val11.isNotRelevant) && !this.isHiddenByDefaultValueForOptions(aritcle) && !((_this$val12 = this.val) !== null && _this$val12 !== void 0 && _this$val12.hideInSummary);
22742
+ return (!this.isInvisible || summaryForBasket && !this.invisibleWithoutMaskeInfluence) && (this.selectionmode != 0 || (this.visibleCount > 1 || this.isFreeText) && aritcle.set.api.showSelectionModeZero()) && this.isDoShow && !((_this$val11 = this.val) !== null && _this$val11 !== void 0 && _this$val11.isNotRelevant) && !this.isHiddenByDefaultValueForOptions(aritcle, summaryForBasket) && !((_this$val12 = this.val) !== null && _this$val12 !== void 0 && _this$val12.hideInSummary);
22686
22743
  }
22687
22744
  }, {
22688
22745
  key: "isHiddenByDefaultValueForOptions",
22689
22746
  value: function isHiddenByDefaultValueForOptions(article) {
22747
+ var summaryForBasket = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
22690
22748
  if (!this.option.isDefaultValueForOptions) return false;
22691
22749
  var options = this.option.isDefaultValueForOptions.split(';');
22692
22750
  var representingOptionIsVisible = false;
22693
22751
  for (var i = 0; i < options.length; i++) {
22694
22752
  if ((!article.CatalogData.isIDMFormat ? 'OPT' : '') + options[i] === this.optionCodex) continue;
22695
22753
  var ops = article.getArticleOptionState((!article.CatalogData.isIDMFormat ? 'OPT' : '') + options[i]);
22696
- if (ops !== null && ops !== void 0 && ops.visibleInSummary(article)) {
22754
+ if (ops !== null && ops !== void 0 && ops.visibleInSummary(article, summaryForBasket)) {
22697
22755
  representingOptionIsVisible = true;
22698
22756
  break;
22699
22757
  }
@@ -25374,7 +25432,7 @@ var IDMEngine = /*#__PURE__*/function () {
25374
25432
  var _decision$optionCombi2;
25375
25433
  var hasSetFeatureInvisible = {};
25376
25434
  if (!((_decision$optionCombi2 = decision.optionCombinations) !== null && _decision$optionCombi2 !== void 0 && _decision$optionCombi2.length)) return;
25377
- var _ref5 = this.getMatchingOptionCombination(decision.optionCombinations),
25435
+ var _ref5 = this.getMatchingOptionCombination(decision.optionCombinations, decision.decisionNo),
25378
25436
  _ref6 = _slicedToArray__default["default"](_ref5, 1),
25379
25437
  combination = _ref6[0];
25380
25438
  if (combination) decision.activeCombination = combination.sequence;
@@ -25583,7 +25641,7 @@ var IDMEngine = /*#__PURE__*/function () {
25583
25641
  var index = _this$getMatchingOpti2[1];
25584
25642
  this.logPrice(priceFeatureGroup, index);
25585
25643
  if (index !== undefined) {
25586
- var _this$article$catalog, _this$article$catalog4;
25644
+ var _this$article$catalog, _this$article$catalog4, _priceFeatureGroup$fe;
25587
25645
  var matichingFinish = priceFeatureGroup.finishes[index];
25588
25646
  var priceKey = 'PRFG' + priceFeatureGroup.priceFeatureGroupNo + '_' + matichingFinish.supplierPriceGroup;
25589
25647
  if (((_this$article$catalog = this.article.catalogArticle.idmPrices) === null || _this$article$catalog === void 0 ? void 0 : _this$article$catalog.prices[priceKey]) === undefined) {
@@ -25597,7 +25655,7 @@ var IDMEngine = /*#__PURE__*/function () {
25597
25655
  ID: matichingFinish._id,
25598
25656
  ISABP: !priceFeatureGroup.additionalPrice,
25599
25657
  IsPercentage: priceFeatureGroup.isPercentage,
25600
- OPT: priceFeatureGroup.featureNos[0],
25658
+ OPT: (_priceFeatureGroup$fe = priceFeatureGroup.featureNos) === null || _priceFeatureGroup$fe === void 0 ? void 0 : _priceFeatureGroup$fe[0],
25601
25659
  PPG: priceKey,
25602
25660
  Price: price,
25603
25661
  RuleDesc: DivaUtils__default["default"].getLocals(priceFeatureGroup.priceFeatureGroupText, this.article.set.api.getLanguage()),
@@ -25731,7 +25789,7 @@ var IDMEngine = /*#__PURE__*/function () {
25731
25789
  if (myPartListPos.decisionPosCount) {
25732
25790
  // get SetPosCountValue from decsion action if defined and else use myPartListPos.PosCountValue;
25733
25791
  var decision = this.article.CatalogData.getDecisionsByNo([myPartListPos.decisionPosCount])[0];
25734
- var _ref7 = this.getMatchingOptionCombination(decision.optionCombinations),
25792
+ var _ref7 = this.getMatchingOptionCombination(decision.optionCombinations, decision.decisionNo),
25735
25793
  _ref8 = _slicedToArray__default["default"](_ref7, 1),
25736
25794
  combination = _ref8[0];
25737
25795
  if (combination) {
@@ -25787,13 +25845,13 @@ var IDMEngine = /*#__PURE__*/function () {
25787
25845
  }
25788
25846
  }, {
25789
25847
  key: "getMatchingOptionCombination",
25790
- value: function getMatchingOptionCombination(combinations) {
25848
+ value: function getMatchingOptionCombination(combinations, decisionNo) {
25791
25849
  for (var i = 0; i < combinations.length; i++) {
25792
25850
  var _projectOptionsSetRef;
25793
25851
  var combination = combinations[i];
25794
25852
  var optionSetRefs = (_projectOptionsSetRef = combination.projectOptionsSetRefs) !== null && _projectOptionsSetRef !== void 0 ? _projectOptionsSetRef : combination.optionsSetRef;
25795
25853
  if (optionSetRefs.length === 0) return [combination, i];
25796
- if (this.evalCombi(optionSetRefs, optionSetRefs[0].refLevel)) return [combination, i];
25854
+ if (this.evalCombi(optionSetRefs, optionSetRefs[0].refLevel, decisionNo)) return [combination, i];
25797
25855
  }
25798
25856
  return [undefined, undefined];
25799
25857
  }
@@ -25801,12 +25859,13 @@ var IDMEngine = /*#__PURE__*/function () {
25801
25859
  key: "evalCombi",
25802
25860
  value: function evalCombi(optionSetRefs) {
25803
25861
  var refLevel = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 3;
25862
+ var decisionNo = arguments.length > 2 ? arguments[2] : undefined;
25804
25863
  var article = this.article;
25805
25864
  if (refLevel > 1) article = this.article.getRefLevelArticle(refLevel);
25806
25865
  for (var i = 0; i < optionSetRefs.length; i++) {
25807
25866
  var ref = optionSetRefs[i];
25808
25867
  var ops = article.getArticleOptionState(ref.featureNo.toString());
25809
- if (!ops) LOG$f.error(new DivaUtils.DivaError('For article: ' + article.articleCodex + ' featureNo: ' + ref.featureNo + ' was not found! If you are using hülsenpartlist articles then make sure you use correct refLevel.'));
25868
+ if (!ops) LOG$f.error(new DivaUtils.DivaError('For article: ' + article.articleCodex + ' featureNo: ' + ref.featureNo + ' decisionNo: ' + decisionNo + ' was not found! If you are using hülsenpartlist articles then make sure you use correct refLevel.'));
25810
25869
  if (ref.optionList) {
25811
25870
  var operator = ref.optionList.operator;
25812
25871
  var options = ref.optionList.options;
@@ -25835,9 +25894,9 @@ var IDMEngine = /*#__PURE__*/function () {
25835
25894
  //DecisionOptionCombination
25836
25895
  //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
25837
25896
 
25838
- var _this$getMatchingOpti3 = this.getMatchingOptionCombination(myDecision.optionCombinations),
25839
- _this$getMatchingOpti4 = _slicedToArray__default["default"](_this$getMatchingOpti3, 1),
25840
- combination = _this$getMatchingOpti4[0];
25897
+ var _ref9 = this.getMatchingOptionCombination(myDecision.optionCombinations, decisionNo),
25898
+ _ref10 = _slicedToArray__default["default"](_ref9, 1),
25899
+ combination = _ref10[0];
25841
25900
  if (combination) {
25842
25901
  isValidDOC = true;
25843
25902
  }
@@ -25895,27 +25954,27 @@ var IDMEngine = /*#__PURE__*/function () {
25895
25954
  }
25896
25955
  if ([97, 1097].includes((_myArtOPS$option$idmV3 = myArtOPS.option.idmVariantenArt) !== null && _myArtOPS$option$idmV3 !== void 0 ? _myArtOPS$option$idmV3 : 0)) {
25897
25956
  try {
25898
- var _ref9, _myArtOPS$measureValu;
25957
+ var _ref11, _myArtOPS$measureValu;
25899
25958
  this.article.doUpdatePlannerSize = true;
25900
- this.article.calcHeight = Math.round((Number((_ref9 = (_myArtOPS$measureValu = myArtOPS.measureValue) !== null && _myArtOPS$measureValu !== void 0 ? _myArtOPS$measureValu : myArtOPS.value) !== null && _ref9 !== void 0 ? _ref9 : myArtOPS.valueFromName) + Number.EPSILON) * 100) / 100;
25959
+ this.article.calcHeight = Math.round((Number((_ref11 = (_myArtOPS$measureValu = myArtOPS.measureValue) !== null && _myArtOPS$measureValu !== void 0 ? _myArtOPS$measureValu : myArtOPS.value) !== null && _ref11 !== void 0 ? _ref11 : myArtOPS.valueFromName) + Number.EPSILON) * 100) / 100;
25901
25960
  } catch (e) {
25902
25961
  LOG$f.warn('Invalid Planungdepth - IDMVariantenArt 97: ' + myArtOPS.option.name + ' ' + myArtOPS.valName, e);
25903
25962
  }
25904
25963
  }
25905
25964
  if ([96, 1096].includes((_myArtOPS$option$idmV4 = myArtOPS.option.idmVariantenArt) !== null && _myArtOPS$option$idmV4 !== void 0 ? _myArtOPS$option$idmV4 : 0) || myArtOPS.option.diameter) {
25906
25965
  try {
25907
- var _ref10, _myArtOPS$measureValu2;
25966
+ var _ref12, _myArtOPS$measureValu2;
25908
25967
  this.article.doUpdatePlannerSize = true;
25909
- this.article.calcDepth = Math.round((Number((_ref10 = (_myArtOPS$measureValu2 = myArtOPS.measureValue) !== null && _myArtOPS$measureValu2 !== void 0 ? _myArtOPS$measureValu2 : myArtOPS.value) !== null && _ref10 !== void 0 ? _ref10 : myArtOPS.valueFromName) + Number.EPSILON) * 100) / 100;
25968
+ this.article.calcDepth = Math.round((Number((_ref12 = (_myArtOPS$measureValu2 = myArtOPS.measureValue) !== null && _myArtOPS$measureValu2 !== void 0 ? _myArtOPS$measureValu2 : myArtOPS.value) !== null && _ref12 !== void 0 ? _ref12 : myArtOPS.valueFromName) + Number.EPSILON) * 100) / 100;
25910
25969
  } catch (e) {
25911
25970
  LOG$f.warn('Invalid Planungdepth - IDMVariantenArt 96: ' + myArtOPS.option.name + ' ' + myArtOPS.valName, e);
25912
25971
  }
25913
25972
  }
25914
25973
  if ([95, 1095].includes((_myArtOPS$option$idmV5 = myArtOPS.option.idmVariantenArt) !== null && _myArtOPS$option$idmV5 !== void 0 ? _myArtOPS$option$idmV5 : 0) || myArtOPS.option.diameter) {
25915
25974
  try {
25916
- var _ref11, _myArtOPS$measureValu3;
25975
+ var _ref13, _myArtOPS$measureValu3;
25917
25976
  this.article.doUpdatePlannerSize = true;
25918
- this.article.calcWidth = Math.round((Number((_ref11 = (_myArtOPS$measureValu3 = myArtOPS.measureValue) !== null && _myArtOPS$measureValu3 !== void 0 ? _myArtOPS$measureValu3 : myArtOPS.value) !== null && _ref11 !== void 0 ? _ref11 : myArtOPS.valueFromName) + Number.EPSILON) * 100) / 100;
25977
+ this.article.calcWidth = Math.round((Number((_ref13 = (_myArtOPS$measureValu3 = myArtOPS.measureValue) !== null && _myArtOPS$measureValu3 !== void 0 ? _myArtOPS$measureValu3 : myArtOPS.value) !== null && _ref13 !== void 0 ? _ref13 : myArtOPS.valueFromName) + Number.EPSILON) * 100) / 100;
25919
25978
  } catch (e) {
25920
25979
  LOG$f.warn('Invalid Planungdepth - IDMVariantenArt 95: ' + myArtOPS.option.name + ' ' + myArtOPS.valName, e);
25921
25980
  }
@@ -26013,9 +26072,9 @@ var IDMEngine = /*#__PURE__*/function () {
26013
26072
  for (var j = 0; !doUse && j < image.decisionNos.length; j++) {
26014
26073
  var decision = catalogData.getDecisionByNo(image.decisionNos[j]);
26015
26074
  if (!decision) continue;
26016
- var _this$getMatchingOpti5 = this.getMatchingOptionCombination(decision.optionCombinations),
26017
- _this$getMatchingOpti6 = _slicedToArray__default["default"](_this$getMatchingOpti5, 1),
26018
- combination = _this$getMatchingOpti6[0];
26075
+ var _ref14 = this.getMatchingOptionCombination(decision.optionCombinations, decision.decisionNo),
26076
+ _ref15 = _slicedToArray__default["default"](_ref14, 1),
26077
+ combination = _ref15[0];
26019
26078
  if (combination) {
26020
26079
  doUse = true;
26021
26080
  break;
@@ -26056,9 +26115,9 @@ var IDMEngine = /*#__PURE__*/function () {
26056
26115
  for (var _j2 = 0; _j2 < _image.decisionNos.length; _j2++) {
26057
26116
  var _decision2 = catalogData.getDecisionByNo(_image.decisionNos[_j2]);
26058
26117
  if (!_decision2) throw new Error('decision ' + _image.decisionNos[_j2] + ' not found');
26059
- var _this$getMatchingOpti9 = this.getMatchingOptionCombination(_decision2.optionCombinations),
26060
- _this$getMatchingOpti10 = _slicedToArray__default["default"](_this$getMatchingOpti9, 1),
26061
- _combination2 = _this$getMatchingOpti10[0];
26118
+ var _ref18 = this.getMatchingOptionCombination(_decision2.optionCombinations, _decision2.decisionNo),
26119
+ _ref19 = _slicedToArray__default["default"](_ref18, 1),
26120
+ _combination2 = _ref19[0];
26062
26121
  if (_combination2) {
26063
26122
  _doUse = true;
26064
26123
  break;
@@ -26113,9 +26172,9 @@ var IDMEngine = /*#__PURE__*/function () {
26113
26172
  for (var _j = 0; _j < svg.decisionNos.length; _j++) {
26114
26173
  var _decision = catalogData.getDecisionByNo(svg.decisionNos[_j]);
26115
26174
  if (!_decision) throw new Error('decision ' + svg.decisionNos[_j] + ' not found');
26116
- var _this$getMatchingOpti7 = this.getMatchingOptionCombination(_decision.optionCombinations),
26117
- _this$getMatchingOpti8 = _slicedToArray__default["default"](_this$getMatchingOpti7, 1),
26118
- _combination = _this$getMatchingOpti8[0];
26175
+ var _ref16 = this.getMatchingOptionCombination(_decision.optionCombinations, _decision.decisionNo),
26176
+ _ref17 = _slicedToArray__default["default"](_ref16, 1),
26177
+ _combination = _ref17[0];
26119
26178
  if (_combination) {
26120
26179
  svgValid = _decision;
26121
26180
  break;
@@ -26788,7 +26847,7 @@ var DivaArticle = /*#__PURE__*/function () {
26788
26847
  try {
26789
26848
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
26790
26849
  var ops = _step3.value;
26791
- if (!ops.isInvisible && ops.selectionmode != 0 && ops.isDoShow && (ops.visibleCount > 1 || ops.option.forceShowVariantDesc)) {
26850
+ if (!ops.invisibleWithoutMaskeInfluence && ops.selectionmode != 0 && ops.isDoShow && (ops.visibleCount > 1 || ops.option.forceShowVariantDesc)) {
26792
26851
  if (ret != '') ret += newLine;
26793
26852
  if (ops.valCodex) {
26794
26853
  if (ops.isFreeText) {
@@ -26821,7 +26880,7 @@ var DivaArticle = /*#__PURE__*/function () {
26821
26880
  try {
26822
26881
  for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
26823
26882
  var ops = _step4.value;
26824
- if (!ops.isInvisible && ops.selectionmode != 0 && ops.isDoShow && ops.visibleCount > 1) {
26883
+ if (!ops.invisibleWithoutMaskeInfluence && ops.selectionmode != 0 && ops.isDoShow && ops.visibleCount > 1) {
26825
26884
  for (var lang in ops.optionName_locales) {
26826
26885
  if (!ret[lang]) ret[lang] = '';
26827
26886
  if (ret[lang] != '') ret[lang] += newLine;
@@ -27825,7 +27884,7 @@ var DivaArticle = /*#__PURE__*/function () {
27825
27884
  var ops = _step9.value;
27826
27885
  ret[ops.optionCodex] = {
27827
27886
  selOPV: (_ops$val$codex = (_ops$val4 = ops.val) === null || _ops$val4 === void 0 ? void 0 : _ops$val4.codex) !== null && _ops$val$codex !== void 0 ? _ops$val$codex : '',
27828
- invisible: ops.isInvisible,
27887
+ invisible: ops.invisibleWithoutMaskeInfluence,
27829
27888
  visibleOPVs: ops.visibleOPVKeys,
27830
27889
  optName: ops.optionName
27831
27890
  };
@@ -27855,7 +27914,7 @@ var DivaArticle = /*#__PURE__*/function () {
27855
27914
  try {
27856
27915
  for (_iterator10.s(); !(_step10 = _iterator10.n()).done;) {
27857
27916
  var ops = _step10.value;
27858
- if (ops.isDoShow && ops.valCodex && !ops.isInvisible && !['I', 'U'].includes(ops.headerPosVariationType)) {
27917
+ if (ops.isDoShow && ops.valCodex && !ops.invisibleWithoutMaskeInfluence && !['I', 'U'].includes(ops.headerPosVariationType)) {
27859
27918
  ret[ops.optionCodex] = ops.valCodex;
27860
27919
  if (ops.freeText) {
27861
27920
  ret[ops.optionCodex + '_val'] = ops.freeText;
@@ -28893,7 +28952,7 @@ var DivaArticle = /*#__PURE__*/function () {
28893
28952
  break;
28894
28953
  }
28895
28954
  _context.next = 4;
28896
- return Promise.resolve().then(function () { return require('./ShelfPlanner-f2e21287.js'); });
28955
+ return Promise.resolve().then(function () { return require('./ShelfPlanner-b88f9ddc.js'); });
28897
28956
  case 4:
28898
28957
  _yield$import = _context.sent;
28899
28958
  ShelfPlanner = _yield$import["default"];
@@ -28987,7 +29046,7 @@ var DivaArticle = /*#__PURE__*/function () {
28987
29046
  try {
28988
29047
  for (_iterator35.s(); !(_step35 = _iterator35.n()).done;) {
28989
29048
  var ops = _step35.value;
28990
- if (ops.val === undefined && ops.visibleOPVKeys.length && !ops.isInvisible) {
29049
+ if (ops.val === undefined && ops.visibleOPVKeys.length && !ops.invisibleWithoutMaskeInfluence) {
28991
29050
  variantValues[ops.optionCodex] = ops.visibleOPVKeys[0];
28992
29051
  }
28993
29052
  }
@@ -29321,7 +29380,7 @@ var DivaArticle = /*#__PURE__*/function () {
29321
29380
  TabGroup_locales: ops.optionTabGroup_locales,
29322
29381
  SendToSAP: ops.option.sendToSAP,
29323
29382
  ArticlePlaceholder: ops.option.articlePlaceholder,
29324
- Hidden: !!(ops.headerPosVariationType == 'I' || ops.isInvisible || ops.val.hideInSummary || this.isPartListArticle && (_this$optionsForPrint2 = this.optionsForPrint) !== null && _this$optionsForPrint2 !== void 0 && _this$optionsForPrint2.length && !((_this$optionsForPrint3 = this.optionsForPrint) !== null && _this$optionsForPrint3 !== void 0 && _this$optionsForPrint3.includes(OP))),
29383
+ Hidden: !!(ops.headerPosVariationType == 'I' || ops.invisibleWithoutMaskeInfluence || ops.val.hideInSummary || this.isPartListArticle && (_this$optionsForPrint2 = this.optionsForPrint) !== null && _this$optionsForPrint2 !== void 0 && _this$optionsForPrint2.length && !((_this$optionsForPrint3 = this.optionsForPrint) !== null && _this$optionsForPrint3 !== void 0 && _this$optionsForPrint3.includes(OP))),
29325
29384
  HideInOrderText: ops.hideInOrderText,
29326
29385
  IsDescribingState: ops.isDescribingState,
29327
29386
  FreeTextLang: ops.freeTextLang,
@@ -33283,7 +33342,7 @@ var DivaSet = /*#__PURE__*/function () {
33283
33342
  try {
33284
33343
  for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
33285
33344
  var ops = _step4.value;
33286
- if (!ops.isInvisible && ops.isDoShow && ops.val && ops.valCodex != 'OPVNR' && ops.valCodex != 'OPOHNE') {
33345
+ if (!ops.invisibleWithoutMaskeInfluence && ops.isDoShow && ops.val && ops.valCodex != 'OPVNR' && ops.valCodex != 'OPOHNE') {
33287
33346
  var _ops$val$setName;
33288
33347
  if (ops.option.setName) options.push((_ops$val$setName = ops.val.setName) !== null && _ops$val$setName !== void 0 ? _ops$val$setName : ops.val.name);
33289
33348
  }
@@ -33539,7 +33598,7 @@ var DivaSet = /*#__PURE__*/function () {
33539
33598
  break;
33540
33599
  }
33541
33600
  _context5.next = 3;
33542
- return Promise.resolve().then(function () { return require('./DoorPlanner-1a22cb39.js'); });
33601
+ return Promise.resolve().then(function () { return require('./DoorPlanner-e531c98c.js'); });
33543
33602
  case 3:
33544
33603
  _yield$import = _context5.sent;
33545
33604
  DoorPlanner = _yield$import["default"];
@@ -33752,7 +33811,7 @@ var SummaryHandler = /*#__PURE__*/function () {
33752
33811
  }
33753
33812
  return _createClass__default["default"](SummaryHandler, [{
33754
33813
  key: "buildSummaryItems",
33755
- value: function buildSummaryItems(articlesPosNrs, set) {
33814
+ value: function buildSummaryItems(articlesPosNrs, set, summaryForBasket) {
33756
33815
  var articles = Object.values(set.getDivaArticles(true)).filter(function (a) {
33757
33816
  return !a.relatedToBasketId || a.isPartListArticle;
33758
33817
  });
@@ -33765,25 +33824,25 @@ var SummaryHandler = /*#__PURE__*/function () {
33765
33824
  try {
33766
33825
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
33767
33826
  var article = _step.value;
33768
- this.getSummaryItemsofArticle(article, set, summaryTabItems, baseArticlesCount);
33827
+ this.getSummaryItemsofArticle(article, set, summaryTabItems, baseArticlesCount, summaryForBasket);
33769
33828
  }
33770
33829
  } catch (err) {
33771
33830
  _iterator.e(err);
33772
33831
  } finally {
33773
33832
  _iterator.f();
33774
33833
  }
33775
- this.addAccessoires(articles, summaryTabItems, set, articlesPosNrs, baseArticlesCount);
33834
+ this.addAccessoires(articles, summaryTabItems, set, articlesPosNrs, baseArticlesCount, summaryForBasket);
33776
33835
  return summaryTabItems;
33777
33836
  }
33778
33837
  }, {
33779
33838
  key: "getSummaryItemsofArticle",
33780
- value: function getSummaryItemsofArticle(article, set, summaryTabItems, baseArticlesCount) {
33839
+ value: function getSummaryItemsofArticle(article, set, summaryTabItems, baseArticlesCount, summaryForBasket) {
33781
33840
  var _iterator2 = _createForOfIteratorHelper$4(article.articleOptionStates.values()),
33782
33841
  _step2;
33783
33842
  try {
33784
33843
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
33785
33844
  var ops = _step2.value;
33786
- if (ops.visibleInSummary(article)) {
33845
+ if (ops.visibleInSummary(article, summaryForBasket)) {
33787
33846
  var tabGroupCodex = void 0;
33788
33847
  var tabGroupTitel = void 0;
33789
33848
  if (ops.optionTabGroup) {
@@ -33866,7 +33925,7 @@ var SummaryHandler = /*#__PURE__*/function () {
33866
33925
  }
33867
33926
  }, {
33868
33927
  key: "addAccessoires",
33869
- value: function addAccessoires(articles, summaryTabItems, set, articlesPosNrs, baseArticlesCount) {
33928
+ value: function addAccessoires(articles, summaryTabItems, set, articlesPosNrs, baseArticlesCount, summaryForBasket) {
33870
33929
  var _iterator3 = _createForOfIteratorHelper$4(articles),
33871
33930
  _step3;
33872
33931
  try {
@@ -33891,8 +33950,8 @@ var SummaryHandler = /*#__PURE__*/function () {
33891
33950
  } else {
33892
33951
  var _set$i18n$t2, _set$i18n2, _accessoire$catalogAr, _accessoire$catalogAr2, _accessoire$catalogAr3;
33893
33952
  var summaryItems = {};
33894
- this.getSummaryItemsofArticle(accessoire, set, summaryItems, 0);
33895
- this.addAccessoires([accessoire], summaryItems, set, articlesPosNrs, baseArticlesCount);
33953
+ this.getSummaryItemsofArticle(accessoire, set, summaryItems, 0, summaryForBasket);
33954
+ this.addAccessoires([accessoire], summaryItems, set, articlesPosNrs, baseArticlesCount, summaryForBasket);
33896
33955
  tabGroup.summaryItems[entryKey] = {
33897
33956
  title: accessoire.name,
33898
33957
  tabgroupName: (_set$i18n$t2 = (_set$i18n2 = set.i18n) === null || _set$i18n2 === void 0 ? void 0 : _set$i18n2.t('configurator.ZUSATZARTIKEL', 'ZUSATZARTIKEL')) !== null && _set$i18n$t2 !== void 0 ? _set$i18n$t2 : 'ZUSATZARTIKEL',
@@ -34104,7 +34163,7 @@ var SummaryHandler = /*#__PURE__*/function () {
34104
34163
  _context.next = _context.t2 === 'SUMMARY_OPTIONTREE' ? 9 : _context.t2 === 'VARIANTS' ? 11 : _context.t2 === 'PARTLIST_AND_SPECIALOPTIONS' ? 17 : 19;
34105
34164
  break;
34106
34165
  case 9:
34107
- ret = ret.concat(this.getOptionTreeSummary(set));
34166
+ ret = ret.concat(this.getOptionTreeSummary(set, false));
34108
34167
  return _context.abrupt("break", 19);
34109
34168
  case 11:
34110
34169
  _context.t3 = ret;
@@ -34162,7 +34221,7 @@ var SummaryHandler = /*#__PURE__*/function () {
34162
34221
  key: "convertSummaryItemsToSummaryInfo",
34163
34222
  value: function convertSummaryItemsToSummaryInfo(set) {
34164
34223
  var _this$getOptionTreeSu;
34165
- var summaryObject = (_this$getOptionTreeSu = this.getOptionTreeSummary(set)[0]) === null || _this$getOptionTreeSu === void 0 ? void 0 : _this$getOptionTreeSu.items;
34224
+ var summaryObject = (_this$getOptionTreeSu = this.getOptionTreeSummary(set, true)[0]) === null || _this$getOptionTreeSu === void 0 ? void 0 : _this$getOptionTreeSu.items;
34166
34225
  var SummaryInfo = [];
34167
34226
  var counter = 0;
34168
34227
  for (var _key6 in summaryObject) {
@@ -34205,7 +34264,7 @@ var SummaryHandler = /*#__PURE__*/function () {
34205
34264
  }
34206
34265
  }, {
34207
34266
  key: "getOptionTreeSummary",
34208
- value: function getOptionTreeSummary(set) {
34267
+ value: function getOptionTreeSummary(set, summaryForBasket) {
34209
34268
  var ret = [];
34210
34269
  var elementGroups;
34211
34270
  if (set.doAllowSetPlanner) {
@@ -34221,7 +34280,7 @@ var SummaryHandler = /*#__PURE__*/function () {
34221
34280
  for (var _key7 in elementGroups) {
34222
34281
  var group = elementGroups[_key7];
34223
34282
  ret.push({
34224
- items: this.buildSummaryItems(this.getArticlesPosNr(group.articles), set),
34283
+ items: this.buildSummaryItems(this.getArticlesPosNr(group.articles), set, summaryForBasket),
34225
34284
  price: this.getArticlesPrice(group.articles),
34226
34285
  name: set.CatalogData.catalogName,
34227
34286
  quantity: group.quantity,
@@ -34230,32 +34289,16 @@ var SummaryHandler = /*#__PURE__*/function () {
34230
34289
  }
34231
34290
  return ret;
34232
34291
  }
34233
- }, {
34234
- key: "getSummaryItemsOfAllSets",
34235
- value: function getSummaryItemsOfAllSets(sets, set) {
34236
- var summaryItemsOfAllSets = {};
34237
- for (var _key8 in sets) {
34238
- var _set = sets[_key8];
34239
- var articlePosNrs = this.getArticlesPosNr(_set.getDivaArticles(true));
34240
- var summaryItems = this.buildSummaryItems(articlePosNrs, _set);
34241
- summaryItemsOfAllSets[_key8] = {
34242
- setName: _set.CatalogData.catalogName,
34243
- setPrice: _set.getSetPrice(),
34244
- summaryItems: summaryItems
34245
- };
34246
- }
34247
- return summaryItemsOfAllSets;
34248
- }
34249
34292
  }, {
34250
34293
  key: "getGroupedArticlesForSummary",
34251
34294
  value: function getGroupedArticlesForSummary(set) {
34252
34295
  var groupedArticles = setHandlerInstance.getDockedGroupedArticles(set);
34253
34296
  var retGroups = {};
34254
34297
  var articlesCodexesOnIndex = {};
34255
- for (var _key9 in groupedArticles) {
34256
- var basketId = groupedArticles[_key9][Object.keys(groupedArticles[_key9])[0]].basketId;
34298
+ for (var _key8 in groupedArticles) {
34299
+ var basketId = groupedArticles[_key8][Object.keys(groupedArticles[_key8])[0]].basketId;
34257
34300
  retGroups[basketId] = {
34258
- articles: groupedArticles[_key9],
34301
+ articles: groupedArticles[_key8],
34259
34302
  quantity: 1
34260
34303
  };
34261
34304
  }
@@ -34270,12 +34313,12 @@ var SummaryHandler = /*#__PURE__*/function () {
34270
34313
  articlesCodexesOnIndex[articleCodex].push(i);
34271
34314
  }
34272
34315
  }
34273
- for (var _key10 in articlesCodexesOnIndex) {
34274
- if (articlesCodexesOnIndex[_key10].length > 1) {
34316
+ for (var _key9 in articlesCodexesOnIndex) {
34317
+ if (articlesCodexesOnIndex[_key9].length > 1) {
34275
34318
  //group the single groups by the aricleCodex
34276
34319
  var articles = [];
34277
- for (var _i4 = 0; _i4 < articlesCodexesOnIndex[_key10].length; _i4++) {
34278
- var _group = groupedArticles[articlesCodexesOnIndex[_key10][_i4]];
34320
+ for (var _i4 = 0; _i4 < articlesCodexesOnIndex[_key9].length; _i4++) {
34321
+ var _group = groupedArticles[articlesCodexesOnIndex[_key9][_i4]];
34279
34322
  articles.push({
34280
34323
  article: _group[Object.keys(_group)[0]]
34281
34324
  });
@@ -34548,8 +34591,8 @@ var SummaryHandler = /*#__PURE__*/function () {
34548
34591
  key: "getArticlesPrice",
34549
34592
  value: function getArticlesPrice(articles) {
34550
34593
  var price = 0;
34551
- for (var _key11 in articles) {
34552
- price = price + articles[_key11].price * articles[_key11].quantity;
34594
+ for (var _key10 in articles) {
34595
+ price = price + articles[_key10].price * articles[_key10].quantity;
34553
34596
  }
34554
34597
  return price;
34555
34598
  }
@@ -40869,7 +40912,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
40869
40912
  break;
40870
40913
  case 3:
40871
40914
  _context12.next = 5;
40872
- return Promise.resolve().then(function () { return require('./PfisterWWSHandler-5591f3bb.js'); });
40915
+ return Promise.resolve().then(function () { return require('./PfisterWWSHandler-f2839a79.js'); });
40873
40916
  case 5:
40874
40917
  _yield$import = _context12.sent;
40875
40918
  PfisterWWSHandler = _yield$import["default"];
@@ -40877,7 +40920,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
40877
40920
  return _context12.abrupt("break", 27);
40878
40921
  case 9:
40879
40922
  _context12.next = 11;
40880
- return Promise.resolve().then(function () { return require('./LiviqueWWSHandler-f0fdf57c.js'); });
40923
+ return Promise.resolve().then(function () { return require('./LiviqueWWSHandler-6db35eff.js'); });
40881
40924
  case 11:
40882
40925
  _yield$import2 = _context12.sent;
40883
40926
  LiviqueWWSHandler = _yield$import2["default"];
@@ -40885,7 +40928,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
40885
40928
  return _context12.abrupt("break", 27);
40886
40929
  case 15:
40887
40930
  _context12.next = 17;
40888
- return Promise.resolve().then(function () { return require('./SeriousBasketHandler-7d5f5b68.js'); });
40931
+ return Promise.resolve().then(function () { return require('./SeriousBasketHandler-5c73ea83.js'); });
40889
40932
  case 17:
40890
40933
  _yield$import3 = _context12.sent;
40891
40934
  SeriousWWSHandler = _yield$import3["default"];
@@ -40893,7 +40936,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
40893
40936
  return _context12.abrupt("break", 27);
40894
40937
  case 21:
40895
40938
  _context12.next = 23;
40896
- return Promise.resolve().then(function () { return require('./StandardWWSHandler-05794d7d.js'); });
40939
+ return Promise.resolve().then(function () { return require('./StandardWWSHandler-1776a69e.js'); });
40897
40940
  case 23:
40898
40941
  _yield$import4 = _context12.sent;
40899
40942
  StandardWWSHandler = _yield$import4["default"];
@@ -42317,7 +42360,7 @@ var PlannerHandler3D = /*#__PURE__*/function () {
42317
42360
  while (1) switch (_context3.prev = _context3.next) {
42318
42361
  case 0:
42319
42362
  _context3.next = 2;
42320
- return Promise.resolve().then(function () { return require('./Host3DSignalR-f0efc5e0.js'); });
42363
+ return Promise.resolve().then(function () { return require('./Host3DSignalR-2439a75d.js'); });
42321
42364
  case 2:
42322
42365
  _yield$import = _context3.sent;
42323
42366
  Host3DSignalR = _yield$import["default"];
@@ -42458,7 +42501,7 @@ var PlannerHandler3D = /*#__PURE__*/function () {
42458
42501
  rendering.UrlToSavedRendering = params.url;
42459
42502
  this.updatePlannerRenderingInView(rendering, true);
42460
42503
  }
42461
- LOG$4.error(new DivaUtils.DivaError('Error when handling receive Rendering. Not waiting for new Rendering but also not in cache ' + params.hash + '; saveMode: ' + params.saveMode));
42504
+ LOG$4.warn('Error when handling receive Rendering. Not waiting for new Rendering but also not in cache ' + params.hash + '; saveMode: ' + params.saveMode);
42462
42505
  return;
42463
42506
  }
42464
42507
  if (waitedRendering) {
@@ -43975,7 +44018,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
43975
44018
  break;
43976
44019
  case 8:
43977
44020
  _context4.next = 10;
43978
- return Promise.resolve().then(function () { return require('./DivaStandardPlanner-021a5dad.js'); });
44021
+ return Promise.resolve().then(function () { return require('./DivaStandardPlanner-b6b5d425.js'); });
43979
44022
  case 10:
43980
44023
  _yield$import = _context4.sent;
43981
44024
  DivaStandardPlanner = _yield$import["default"];
@@ -43986,7 +44029,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
43986
44029
  return _context4.abrupt("break", 21);
43987
44030
  case 15:
43988
44031
  _context4.next = 17;
43989
- return Promise.resolve().then(function () { return require('./DivaBoxPlanner-6127be3c.js'); });
44032
+ return Promise.resolve().then(function () { return require('./DivaBoxPlanner-b428f520.js'); });
43990
44033
  case 17:
43991
44034
  _yield$import2 = _context4.sent;
43992
44035
  DivaBoxPlanner = _yield$import2["default"];