@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
@@ -124,6 +124,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
124
124
  value: function () {
125
125
  var _fetchData = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(url, init) {
126
126
  var skip,
127
+ dontLogError,
127
128
  response,
128
129
  finalUrl,
129
130
  data,
@@ -134,40 +135,41 @@ var DivaApiHandler = /*#__PURE__*/function () {
134
135
  while (1) switch (_context.prev = _context.next) {
135
136
  case 0:
136
137
  skip = _args.length > 2 && _args[2] !== undefined ? _args[2] : 0;
138
+ dontLogError = _args.length > 3 ? _args[3] : undefined;
137
139
  LOG$p.debug('DivaApiHandler.fetchData ' + url, 'DivaApiHandler, fetchData');
138
140
  if (init) {
139
- _context.next = 4;
141
+ _context.next = 5;
140
142
  break;
141
143
  }
142
144
  return _context.abrupt("return");
143
- case 4:
144
- _context.prev = 4;
145
+ case 5:
146
+ _context.prev = 5;
145
147
  if (!(init.method === 'POST')) {
146
- _context.next = 11;
148
+ _context.next = 12;
147
149
  break;
148
150
  }
149
- _context.next = 8;
151
+ _context.next = 9;
150
152
  return axios$1.post(url, init.data, init.config);
151
- case 8:
153
+ case 9:
152
154
  response = _context.sent;
153
- _context.next = 16;
155
+ _context.next = 17;
154
156
  break;
155
- case 11:
157
+ case 12:
156
158
  finalUrl = new URL(url);
157
159
  if (skip) {
158
160
  finalUrl.searchParams.append('skip', skip.toString());
159
161
  }
160
- _context.next = 15;
162
+ _context.next = 16;
161
163
  return axios$1.get(finalUrl.toString(), init.config);
162
- case 15:
163
- response = _context.sent;
164
164
  case 16:
165
- _context.next = 18;
165
+ response = _context.sent;
166
+ case 17:
167
+ _context.next = 19;
166
168
  return response.data;
167
- case 18:
169
+ case 19:
168
170
  data = _context.sent;
169
171
  if (data !== null && data !== void 0 && data.Error) {
170
- LOG$p.error(new DivaError(data.Error, {
172
+ if (dontLogError) LOG$p.warn(data.Error + ' ' + url);else LOG$p.error(new DivaError(data.Error, {
171
173
  code: 'WC_0001',
172
174
  custom: {
173
175
  url: url
@@ -176,38 +178,38 @@ var DivaApiHandler = /*#__PURE__*/function () {
176
178
  }
177
179
  //if data is paginated iterate and fetch all
178
180
  if (!(Array.isArray(data.data) && data.total)) {
179
- _context.next = 34;
181
+ _context.next = 35;
180
182
  break;
181
183
  }
182
184
  if (!(data.data.length + skip < data.total)) {
183
- _context.next = 33;
185
+ _context.next = 34;
184
186
  break;
185
187
  }
186
188
  nextSkip = skip + 20;
187
189
  _context.t0 = [];
188
190
  _context.t1 = _toConsumableArray(data.data);
189
191
  _context.t2 = _toConsumableArray;
190
- _context.next = 28;
192
+ _context.next = 29;
191
193
  return this.fetchData(url, init, nextSkip);
192
- case 28:
194
+ case 29:
193
195
  _context.t3 = _context.sent;
194
196
  _context.t4 = (0, _context.t2)(_context.t3);
195
197
  return _context.abrupt("return", _context.t0.concat.call(_context.t0, _context.t1, _context.t4));
196
- case 33:
197
- return _context.abrupt("return", data.data);
198
198
  case 34:
199
+ return _context.abrupt("return", data.data);
200
+ case 35:
199
201
  return _context.abrupt("return", data);
200
- case 37:
201
- _context.prev = 37;
202
- _context.t5 = _context["catch"](4);
202
+ case 38:
203
+ _context.prev = 38;
204
+ _context.t5 = _context["catch"](5);
203
205
  throw Error('fetch failed! ' + url + ' Error: ' + _context.t5, {
204
206
  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
205
207
  });
206
- case 40:
208
+ case 41:
207
209
  case "end":
208
210
  return _context.stop();
209
211
  }
210
- }, _callee, this, [[4, 37]]);
212
+ }, _callee, this, [[5, 38]]);
211
213
  }));
212
214
  function fetchData(_x, _x2) {
213
215
  return _fetchData.apply(this, arguments);
@@ -294,7 +296,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
294
296
  }, {
295
297
  key: "getDataCache",
296
298
  value: function () {
297
- var _getDataCache = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(queryString, cacheMD5, accountSessionGuid, useWebServiceApi, method, data) {
299
+ var _getDataCache = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(queryString, cacheMD5, accountSessionGuid, useWebServiceApi, method, data, dontLogError) {
298
300
  var _this$divaWebConfigDa, _this$divaWebConfigDa2;
299
301
  var myQS, url, init, addSession, cacheHit, _this$apiConfig3, _this$apiConfig4, api2Url, result, _this$divaWebConfigDa3;
300
302
  return _regeneratorRuntime.wrap(function _callee3$(_context3) {
@@ -384,7 +386,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
384
386
  };
385
387
  case 34:
386
388
  _context3.next = 36;
387
- return this.fetchData(url, init);
389
+ return this.fetchData(url, init, undefined, dontLogError);
388
390
  case 36:
389
391
  result = _context3.sent;
390
392
  if (method !== 'POST') {
@@ -399,7 +401,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
399
401
  }
400
402
  }, _callee3, this);
401
403
  }));
402
- function getDataCache(_x6, _x7, _x8, _x9, _x10, _x11) {
404
+ function getDataCache(_x6, _x7, _x8, _x9, _x10, _x11, _x12) {
403
405
  return _getDataCache.apply(this, arguments);
404
406
  }
405
407
  return getDataCache;
@@ -437,7 +439,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
437
439
  }
438
440
  }, _callee4, this, [[1, 5]]);
439
441
  }));
440
- function saveAsProduct(_x12, _x13) {
442
+ function saveAsProduct(_x13, _x14) {
441
443
  return _saveAsProduct.apply(this, arguments);
442
444
  }
443
445
  return saveAsProduct;
@@ -798,7 +800,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
798
800
  }
799
801
  }, _callee5, this);
800
802
  }));
801
- function setAccountSessionGuid(_x14) {
803
+ function setAccountSessionGuid(_x15) {
802
804
  return _setAccountSessionGuid.apply(this, arguments);
803
805
  }
804
806
  return setAccountSessionGuid;
@@ -1147,20 +1149,23 @@ var DivaApiHandler = /*#__PURE__*/function () {
1147
1149
  key: "getArticleJson",
1148
1150
  value: function () {
1149
1151
  var _getArticleJson = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6(artCodex, catalogCodex, accountSessionGuid) {
1152
+ var dontLogError,
1153
+ _args6 = arguments;
1150
1154
  return _regeneratorRuntime.wrap(function _callee6$(_context6) {
1151
1155
  while (1) switch (_context6.prev = _context6.next) {
1152
1156
  case 0:
1153
- _context6.next = 2;
1154
- return this.getDataCache(this.getJsonArticleQS(artCodex, catalogCodex), this.getJsonArticleCacheKey(artCodex, catalogCodex), accountSessionGuid);
1155
- case 2:
1156
- return _context6.abrupt("return", _context6.sent);
1157
+ dontLogError = _args6.length > 3 && _args6[3] !== undefined ? _args6[3] : false;
1158
+ _context6.next = 3;
1159
+ return this.getDataCache(this.getJsonArticleQS(artCodex, catalogCodex), this.getJsonArticleCacheKey(artCodex, catalogCodex), accountSessionGuid, undefined, undefined, undefined, dontLogError);
1157
1160
  case 3:
1161
+ return _context6.abrupt("return", _context6.sent);
1162
+ case 4:
1158
1163
  case "end":
1159
1164
  return _context6.stop();
1160
1165
  }
1161
1166
  }, _callee6, this);
1162
1167
  }));
1163
- function getArticleJson(_x15, _x16, _x17) {
1168
+ function getArticleJson(_x16, _x17, _x18) {
1164
1169
  return _getArticleJson.apply(this, arguments);
1165
1170
  }
1166
1171
  return getArticleJson;
@@ -1182,7 +1187,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
1182
1187
  }
1183
1188
  }, _callee7, this);
1184
1189
  }));
1185
- function getJsonOptionTree(_x18, _x19, _x20) {
1190
+ function getJsonOptionTree(_x19, _x20, _x21) {
1186
1191
  return _getJsonOptionTree.apply(this, arguments);
1187
1192
  }
1188
1193
  return getJsonOptionTree;
@@ -1204,7 +1209,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
1204
1209
  }
1205
1210
  }, _callee8, this);
1206
1211
  }));
1207
- function loadArticlePricesQS(_x21, _x22, _x23) {
1212
+ function loadArticlePricesQS(_x22, _x23, _x24) {
1208
1213
  return _loadArticlePricesQS.apply(this, arguments);
1209
1214
  }
1210
1215
  return loadArticlePricesQS;
@@ -1242,7 +1247,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
1242
1247
  }
1243
1248
  }, _callee9, this);
1244
1249
  }));
1245
- function generateAiImageWithReferenceImages(_x24, _x25) {
1250
+ function generateAiImageWithReferenceImages(_x25, _x26) {
1246
1251
  return _generateAiImageWithReferenceImages.apply(this, arguments);
1247
1252
  }
1248
1253
  return generateAiImageWithReferenceImages;
@@ -1277,7 +1282,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
1277
1282
  }
1278
1283
  }, _callee10, this);
1279
1284
  }));
1280
- function getUsageLimits(_x26) {
1285
+ function getUsageLimits(_x27) {
1281
1286
  return _getUsageLimits.apply(this, arguments);
1282
1287
  }
1283
1288
  return getUsageLimits;
@@ -1310,7 +1315,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
1310
1315
  }
1311
1316
  }, _callee11, this);
1312
1317
  }));
1313
- function getAiRoomRenderings(_x27) {
1318
+ function getAiRoomRenderings(_x28) {
1314
1319
  return _getAiRoomRenderings.apply(this, arguments);
1315
1320
  }
1316
1321
  return getAiRoomRenderings;
@@ -1350,7 +1355,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
1350
1355
  }
1351
1356
  }, _callee12, this, [[2, 9]]);
1352
1357
  }));
1353
- function createLeadKey(_x28) {
1358
+ function createLeadKey(_x29) {
1354
1359
  return _createLeadKey.apply(this, arguments);
1355
1360
  }
1356
1361
  return createLeadKey;
@@ -1387,7 +1392,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
1387
1392
  }
1388
1393
  }, _callee13, this);
1389
1394
  }));
1390
- function postHQRenderScript(_x29) {
1395
+ function postHQRenderScript(_x30) {
1391
1396
  return _postHQRenderScript.apply(this, arguments);
1392
1397
  }
1393
1398
  return postHQRenderScript;
@@ -1441,7 +1446,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
1441
1446
  }
1442
1447
  }, _callee14, this, [[4, 9]]);
1443
1448
  }));
1444
- function postPlanningInfo(_x30, _x31, _x32, _x33, _x34, _x35, _x36, _x37, _x38) {
1449
+ function postPlanningInfo(_x31, _x32, _x33, _x34, _x35, _x36, _x37, _x38, _x39) {
1445
1450
  return _postPlanningInfo.apply(this, arguments);
1446
1451
  }
1447
1452
  return postPlanningInfo;
@@ -1490,7 +1495,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
1490
1495
  }
1491
1496
  }, _callee15, this, [[3, 10]]);
1492
1497
  }));
1493
- function getDimensionbyId(_x39, _x40, _x41, _x42) {
1498
+ function getDimensionbyId(_x40, _x41, _x42, _x43) {
1494
1499
  return _getDimensionbyId.apply(this, arguments);
1495
1500
  }
1496
1501
  return getDimensionbyId;
@@ -1567,7 +1572,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
1567
1572
  }
1568
1573
  }, _callee16, this, [[6, 14]]);
1569
1574
  }));
1570
- function createBasketReport(_x43, _x44) {
1575
+ function createBasketReport(_x44, _x45) {
1571
1576
  return _createBasketReport.apply(this, arguments);
1572
1577
  }
1573
1578
  return createBasketReport;
@@ -2135,6 +2140,11 @@ var OptionCatalogData = /*#__PURE__*/function () {
2135
2140
  }
2136
2141
  }, {
2137
2142
  key: "isInvisible",
2143
+ get: function get() {
2144
+ return !!(this.opt.invisible || this.opt.hiddenByMask);
2145
+ }
2146
+ }, {
2147
+ key: "isInvisibleWithoutMaskeInfluence",
2138
2148
  get: function get() {
2139
2149
  return this.opt.invisible;
2140
2150
  }
@@ -17487,7 +17497,7 @@ var CatalogArticleData = /*#__PURE__*/function () {
17487
17497
  key: "getOPTDefaultInVisible",
17488
17498
  value: function getOPTDefaultInVisible(optionCodex) {
17489
17499
  var _this$_catalogArticle6;
17490
- return (_this$_catalogArticle6 = this._catalogArticle.articleOptions[optionCodex]) === null || _this$_catalogArticle6 === void 0 ? void 0 : _this$_catalogArticle6.isInvisible;
17500
+ return !!((_this$_catalogArticle6 = this._catalogArticle.articleOptions[optionCodex]) !== null && _this$_catalogArticle6 !== void 0 && _this$_catalogArticle6.isInvisible);
17491
17501
  }
17492
17502
  }, {
17493
17503
  key: "initCatalogPlannerArticle",
@@ -17740,7 +17750,7 @@ function initCatalogOptions(catalogData, jsonOptions) {
17740
17750
  return options;
17741
17751
  }
17742
17752
  function getCatalogOptionDataType(codex, jsonOPT, catalogData) {
17743
- 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;
17753
+ 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;
17744
17754
  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());
17745
17755
  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;
17746
17756
  var properties = [].concat(_toConsumableArray((_jsonOPT$Properties = jsonOPT.Properties) !== null && _jsonOPT$Properties !== void 0 ? _jsonOPT$Properties : []), _toConsumableArray(maskProperties !== null && maskProperties !== void 0 ? maskProperties : []));
@@ -17752,7 +17762,8 @@ function getCatalogOptionDataType(codex, jsonOPT, catalogData) {
17752
17762
  headerPosVariationType: jsonOPT.HeaderPosVariationType,
17753
17763
  idmVariantenArt: jsonOPT.IDMVariantenArt ? Number(jsonOPT.IDMVariantenArt) : undefined,
17754
17764
  image: jsonOPT.Image ? jsonOPT.Image : undefined,
17755
- 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,
17765
+ invisible: jsonOPT.Invisible != undefined ? jsonOPT.Invisible : false,
17766
+ hiddenByMask: optionMask === null || optionMask === void 0 ? void 0 : optionMask.hidden,
17756
17767
  maskTabgroup: optionMask === null || optionMask === void 0 || (_optionMask$tabGroup = optionMask.tabGroup) === null || _optionMask$tabGroup === void 0 ? void 0 : _optionMask$tabGroup[catalogData.api.getLanguage()],
17757
17768
  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) {
17758
17769
  return p.Codex == 'LAYOUT';
@@ -18675,10 +18686,14 @@ var ArticleOptionData = /*#__PURE__*/function () {
18675
18686
  }, {
18676
18687
  key: "isInvisible",
18677
18688
  get: function get() {
18678
- if (this.opt.invisible != undefined) {
18679
- return this.opt.invisible;
18680
- }
18681
- return this.opt.catalogOPT.isInvisible;
18689
+ if (this.opt.invisible) return true;
18690
+ return this.opt.hiddenByMask || this.opt.catalogOPT.isInvisible;
18691
+ }
18692
+ }, {
18693
+ key: "isInvisibleWithoutMaskeInfluence",
18694
+ get: function get() {
18695
+ if (this.opt.invisible) return true;
18696
+ return this.opt.catalogOPT.isInvisibleWithoutMaskeInfluence;
18682
18697
  }
18683
18698
  }, {
18684
18699
  key: "articleOptionValues",
@@ -19057,10 +19072,7 @@ function _loadMoreFromDivaArticle() {
19057
19072
  }
19058
19073
  if (json.Decisions && json.Decisions.length > 0) {
19059
19074
  catalogArticle.decisions = json.Decisions;
19060
- initDecisions(catalog, catalogArticleData);
19061
- catalogArticle.articleReferencedDecisions = catalogArticle.decisions.filter(function (d) {
19062
- return json.DecisionRefs == undefined || json.DecisionRefs.includes(d.Number);
19063
- });
19075
+ initDecisions(catalog, catalogArticleData, json.DecisionRefs);
19064
19076
  }
19065
19077
  if (json.TemplateCodex) catalogArticle.templateCodex = json.TemplateCodex;
19066
19078
  if (json.RetailArticleNr) catalogArticle.retailArticleNr = json.RetailArticleNr;
@@ -19253,10 +19265,7 @@ function loadArticleOptions(json, catalogArticleData, set) {
19253
19265
 
19254
19266
  if (json.Decisions && json.Decisions.length > 0) {
19255
19267
  catalogArticle.decisions = JSON.parse(JSON.stringify(json.Decisions));
19256
- initDecisions(set.CatalogData, catalogArticleData);
19257
- catalogArticle.articleReferencedDecisions = catalogArticle.decisions.filter(function (d) {
19258
- return json.DecisionRefs == undefined || json.DecisionRefs.includes(d.Number);
19259
- });
19268
+ initDecisions(set.CatalogData, catalogArticleData, json.DecisionRefs);
19260
19269
  }
19261
19270
  if (json.PartLists && json.PartLists.length > 0) {
19262
19271
  catalogArticle.partListArticles = json.PartLists;
@@ -19275,7 +19284,7 @@ function loadPrices(json, catalogArticleData, catalog) {
19275
19284
  catalogArticle.articlePrices = jsonPrice;
19276
19285
  catalogArticle.arePricesLoaded = true;
19277
19286
  }
19278
- function initDecisions(catalog, catalogArticleData) {
19287
+ function initDecisions(catalog, catalogArticleData, decisionRefs) {
19279
19288
  var myOptOrder = [];
19280
19289
  var catalogArticle = catalogArticleData.catalogArticle;
19281
19290
  if (catalogArticle.articleOptions) {
@@ -19305,7 +19314,7 @@ function initDecisions(catalog, catalogArticleData) {
19305
19314
  if ((_myDecision$Options = myDecision.Options) !== null && _myDecision$Options !== void 0 && _myDecision$Options.length) {
19306
19315
  var optionsDeletedCount = 0;
19307
19316
  for (var m = 0; m < myDecision.Options.length; m++) {
19308
- if (!myOptOrder.includes(myDecision.Options[m])) {
19317
+ if (!myOptOrder.includes(myDecision.Options[m]) && (!decisionRefs || decisionRefs.includes(myDecision.Number.toString()))) {
19309
19318
  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;
19310
19319
  var stack = {
19311
19320
  decisionNr: myDecision.Number,
@@ -19344,9 +19353,12 @@ function initDecisions(catalog, catalogArticleData) {
19344
19353
  }
19345
19354
  }
19346
19355
  }
19356
+ catalogArticle.articleReferencedDecisions = catalogArticle.decisions.filter(function (d) {
19357
+ return decisionRefs == undefined || decisionRefs.includes(d.Number.toString());
19358
+ });
19347
19359
  }
19348
19360
  function getArticleOptionType(myOPT, set, articleCodex) {
19349
- var _set$CatalogData$cata, _set$CatalogData$cata2, _set$CatalogData$cata3, _set$CatalogData$cata4, _set$CatalogData$cata5, _myOPT$Properties, _optionMask$hidden;
19361
+ var _set$CatalogData$cata, _set$CatalogData$cata2, _set$CatalogData$cata3, _set$CatalogData$cata4, _set$CatalogData$cata5, _myOPT$Properties;
19350
19362
  var OP = myOPT.OCD ? myOPT.OCD : myOPT.Codex;
19351
19363
  var catOPT = set.CatalogData.getOption(OP);
19352
19364
  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;
@@ -19366,7 +19378,8 @@ function getArticleOptionType(myOPT, set, articleCodex) {
19366
19378
  sendToSAP: myOPT.SendToSAP && myOPT.SendToSAP != '-1' ? myOPT.SendToSAP : undefined,
19367
19379
  articlePlaceholder: myOPT.ArticlePlaceholder,
19368
19380
  hasOPG: optHasOpg,
19369
- 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,
19381
+ invisible: myOPT.Invisible == 'True' ? true : myOPT.Invisible == 'False' ? false : undefined,
19382
+ hiddenByMask: optionMask === null || optionMask === void 0 ? void 0 : optionMask.hidden,
19370
19383
  parentOptionCodex: myOPT.ParentOptionCodex,
19371
19384
  propertyObj: {},
19372
19385
  property: properties
@@ -19578,39 +19591,79 @@ function _loadMoreFromIDMArticles() {
19578
19591
  case 31:
19579
19592
  features = _context5.sent;
19580
19593
  _loop4 = /*#__PURE__*/_regeneratorRuntime.mark(function _loop4() {
19581
- var feature, _loop5, j;
19594
+ var feature, insertIndex, k, _loop5, j;
19582
19595
  return _regeneratorRuntime.wrap(function _loop4$(_context2) {
19583
19596
  while (1) switch (_context2.prev = _context2.next) {
19584
19597
  case 0:
19585
19598
  feature = features[_i7];
19586
- set.CatalogData.loadedFeatures.push(feature);
19599
+ insertIndex = set.CatalogData.loadedFeatures.length;
19600
+ k = 0;
19601
+ case 3:
19602
+ if (!(k < set.CatalogData.loadedFeatures.length)) {
19603
+ _context2.next = 10;
19604
+ break;
19605
+ }
19606
+ if (!(set.CatalogData.loadedFeatures[k].sequenceNo > feature.sequenceNo)) {
19607
+ _context2.next = 7;
19608
+ break;
19609
+ }
19610
+ insertIndex = k;
19611
+ return _context2.abrupt("break", 10);
19612
+ case 7:
19613
+ k++;
19614
+ _context2.next = 3;
19615
+ break;
19616
+ case 10:
19617
+ set.CatalogData.loadedFeatures.splice(insertIndex, 0, feature);
19587
19618
  _loop5 = /*#__PURE__*/_regeneratorRuntime.mark(function _loop5(j) {
19619
+ var option, _insertIndex, _k;
19588
19620
  return _regeneratorRuntime.wrap(function _loop5$(_context) {
19589
19621
  while (1) switch (_context.prev = _context.next) {
19590
19622
  case 0:
19591
- if (!set.CatalogData.loadedOptions.find(function (o) {
19623
+ if (set.CatalogData.loadedOptions.find(function (o) {
19592
19624
  return o.optionKey == feature.options[j].optionKey;
19593
19625
  })) {
19594
- set.CatalogData.loadedOptions.push(feature.options[j]);
19626
+ _context.next = 12;
19627
+ break;
19628
+ }
19629
+ option = feature.options[j];
19630
+ _insertIndex = set.CatalogData.loadedOptions.length;
19631
+ _k = 0;
19632
+ case 4:
19633
+ if (!(_k < set.CatalogData.loadedOptions.length)) {
19634
+ _context.next = 11;
19635
+ break;
19636
+ }
19637
+ if (!(set.CatalogData.loadedOptions[_k].sequenceNo > option.sequenceNo)) {
19638
+ _context.next = 8;
19639
+ break;
19595
19640
  }
19596
- case 1:
19641
+ _insertIndex = _k;
19642
+ return _context.abrupt("break", 11);
19643
+ case 8:
19644
+ _k++;
19645
+ _context.next = 4;
19646
+ break;
19647
+ case 11:
19648
+ set.CatalogData.loadedOptions.splice(_insertIndex, 0, option);
19649
+ case 12:
19597
19650
  case "end":
19598
19651
  return _context.stop();
19599
19652
  }
19600
19653
  }, _loop5);
19601
19654
  });
19602
19655
  j = 0;
19603
- case 4:
19656
+ case 13:
19604
19657
  if (!(j < feature.options.length)) {
19605
- _context2.next = 9;
19658
+ _context2.next = 18;
19606
19659
  break;
19607
19660
  }
19608
- return _context2.delegateYield(_loop5(j), "t0", 6);
19609
- case 6:
19661
+ return _context2.delegateYield(_loop5(j), "t0", 15);
19662
+ case 15:
19610
19663
  j++;
19611
- _context2.next = 4;
19664
+ _context2.next = 13;
19612
19665
  break;
19613
- case 9:
19666
+ case 18:
19614
19667
  case "end":
19615
19668
  return _context2.stop();
19616
19669
  }
@@ -20729,12 +20782,9 @@ var DivaCatalogData = /*#__PURE__*/function () {
20729
20782
  }, {
20730
20783
  key: "getFeatures",
20731
20784
  value: function getFeatures() {
20732
- var _this3 = this;
20733
20785
  var featureRefs = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
20734
- return featureRefs.map(function (ref) {
20735
- return _this3.catalogData.loadedFeatures.find(function (f) {
20736
- return f.featureNo == ref;
20737
- });
20786
+ return this.catalogData.loadedFeatures.filter(function (f) {
20787
+ return featureRefs.includes(f.featureNo);
20738
20788
  });
20739
20789
  }
20740
20790
  }, {
@@ -21328,11 +21378,11 @@ var DivaCatalogData = /*#__PURE__*/function () {
21328
21378
  return undefined;
21329
21379
  },
21330
21380
  set: function set(newMask) {
21331
- var _this4 = this;
21381
+ var _this3 = this;
21332
21382
  if (!this.additionalModelInfos) throw new Error('additionalModelInfos dont exist for this catalog');
21333
21383
  this.updateMask(newMask).then(function (r) {
21334
- _this4.additionalModelInfos = r;
21335
- _this4.initMask(true);
21384
+ _this3.additionalModelInfos = r;
21385
+ _this3.initMask(true);
21336
21386
  });
21337
21387
  }
21338
21388
  }, {
@@ -21436,7 +21486,7 @@ var DivaCatalogData = /*#__PURE__*/function () {
21436
21486
  }, {
21437
21487
  key: "initProperties",
21438
21488
  value: function initProperties(catalogCodex, properties) {
21439
- var _this5 = this;
21489
+ var _this4 = this;
21440
21490
  var diva3DRenderingIsSet = false;
21441
21491
  properties.forEach(function (item, index) {
21442
21492
  //3D Allgemein
@@ -21445,271 +21495,271 @@ var DivaCatalogData = /*#__PURE__*/function () {
21445
21495
  if (key.startsWith(catalogCodex + '__')) key = key.replace(catalogCodex + '__', '');
21446
21496
  switch (key) {
21447
21497
  case 'DIVA3D_ROOM':
21448
- _this5.catalogProps.diva3dRoom = item.Value;
21449
- if (_this5.catalogProps.diva3dRoom == 'raumatlantis') _this5.catalogProps.diva3dRoom = 'weissraumatlantis';
21498
+ _this4.catalogProps.diva3dRoom = item.Value;
21499
+ if (_this4.catalogProps.diva3dRoom == 'raumatlantis') _this4.catalogProps.diva3dRoom = 'weissraumatlantis';
21450
21500
  break;
21451
21501
  case 'DIVA3D_RENDERING':
21452
21502
  diva3DRenderingIsSet = item.Value == '1' || item.Value.toLowerCase() == 'true';
21453
- if (_this5.catalogProps.diva3dShowRenderingByCatalogData) {
21454
- _this5.catalogProps.has3dModels = _this5.catalogProps.has3dModels && diva3DRenderingIsSet;
21503
+ if (_this4.catalogProps.diva3dShowRenderingByCatalogData) {
21504
+ _this4.catalogProps.has3dModels = _this4.catalogProps.has3dModels && diva3DRenderingIsSet;
21455
21505
  }
21456
21506
  break;
21457
21507
  case 'DIVA3D_AR_READY':
21458
- _this5.catalogProps.divaArReady = !!item.Value;
21508
+ _this4.catalogProps.divaArReady = !!item.Value;
21459
21509
  break;
21460
21510
  case 'DIVA3D_AR_FORCERTV':
21461
- _this5.catalogProps.divaForceRTV = !!item.Value;
21511
+ _this4.catalogProps.divaForceRTV = !!item.Value;
21462
21512
  break;
21463
21513
  case 'HEADER_DIMENSION_IDS':
21464
- _this5.catalogProps.headerDimensionIds = item.Value.split(';');
21514
+ _this4.catalogProps.headerDimensionIds = item.Value.split(';');
21465
21515
  break;
21466
21516
  case 'DONTCALCBASEPRICE':
21467
- _this5.catalogProps.dontShowBasePrice = item.Value == '1';
21517
+ _this4.catalogProps.dontShowBasePrice = item.Value == '1';
21468
21518
  break;
21469
21519
  case 'DIVA3D_STATIC_BG_IMAGE_ROOMLIST':
21470
- _this5.catalogProps.roomList3DStaticBGImage.set('3D_STATBG_ROOMLIST', item.Value.split(';'));
21520
+ _this4.catalogProps.roomList3DStaticBGImage.set('3D_STATBG_ROOMLIST', item.Value.split(';'));
21471
21521
  break;
21472
21522
  case 'DIVA3D_DISABLE_3DEXPORT':
21473
- _this5.catalogProps.disable3DExport = !!item.Value;
21523
+ _this4.catalogProps.disable3DExport = !!item.Value;
21474
21524
  break;
21475
21525
  case '3D_COMPATIBLE_WITH_IMAGE_CACHE':
21476
- _this5.catalogProps.diva3dCompatibleWithImageCache = item.Value == '1';
21526
+ _this4.catalogProps.diva3dCompatibleWithImageCache = item.Value == '1';
21477
21527
  break;
21478
21528
  case 'ENABLE_DO_SHOW_3DDIMENSIONS':
21479
- _this5.catalogProps.doShow3DDimensionLines = item.Value == '1' || item.Value.toLowerCase() == 'true';
21529
+ _this4.catalogProps.doShow3DDimensionLines = item.Value == '1' || item.Value.toLowerCase() == 'true';
21480
21530
  break;
21481
21531
  case 'DEFAULT_DO_SHOW_3DDIMENSIONS':
21482
- _this5.catalogProps.defaultDimensionsActive = '1' == item.Value || 'true' == item.Value.toLowerCase();
21532
+ _this4.catalogProps.defaultDimensionsActive = '1' == item.Value || 'true' == item.Value.toLowerCase();
21483
21533
  break;
21484
21534
  // Planner Topics
21485
21535
  case 'IS_IDM3D_CAT':
21486
- _this5.catalogProps.isIDM3DCat = item.Value == '1' || item.Value.toLowerCase() == 'true';
21536
+ _this4.catalogProps.isIDM3DCat = item.Value == '1' || item.Value.toLowerCase() == 'true';
21487
21537
  break;
21488
21538
  case 'IDM3D_CAT_CODEX':
21489
- _this5.catalogProps.IDM3DCatCodex = item.Value;
21539
+ _this4.catalogProps.IDM3DCatCodex = item.Value;
21490
21540
  break;
21491
21541
  case 'DIVA3D_PLANER_DIGITS':
21492
- _this5.catalogProps.divaPlanerDigits = Number(item.Value);
21542
+ _this4.catalogProps.divaPlanerDigits = Number(item.Value);
21493
21543
  break;
21494
21544
  case 'DIVA3D_PLANER_SHOW_ARTICLE_SVG':
21495
- _this5.catalogProps.diva3dPlanerShowArticleAsSvg = item.Value == '1';
21545
+ _this4.catalogProps.diva3dPlanerShowArticleAsSvg = item.Value == '1';
21496
21546
  break;
21497
21547
  case 'SHOWTYPENRINPLANNER':
21498
- _this5.catalogProps.showTypeNrInPlanner = item.Value == '1';
21548
+ _this4.catalogProps.showTypeNrInPlanner = item.Value == '1';
21499
21549
  break;
21500
21550
  case 'STARTFILTERPARAMS':
21501
- _this5.catalogProps.startFilterParams = String(item.Value);
21551
+ _this4.catalogProps.startFilterParams = String(item.Value);
21502
21552
  break;
21503
21553
  case 'STARTHIDEARTICLES':
21504
- _this5.catalogProps.startHideArticles = item.Value.split(';');
21554
+ _this4.catalogProps.startHideArticles = item.Value.split(';');
21505
21555
  break;
21506
21556
  case 'USEGLOBALSVGSCALE':
21507
- _this5.catalogProps.useGlobalSVGScale = item.Value == '1';
21557
+ _this4.catalogProps.useGlobalSVGScale = item.Value == '1';
21508
21558
  break;
21509
21559
  case 'USEBOXPLANNER':
21510
- _this5.catalogProps.useBoxPlanner = item.Value == '1' ? true : item.Value.split(';');
21560
+ _this4.catalogProps.useBoxPlanner = item.Value == '1' ? true : item.Value.split(';');
21511
21561
  break;
21512
21562
  case 'PLANNERTYPE':
21513
- _this5.catalogProps.plannerType = item.Value;
21563
+ _this4.catalogProps.plannerType = item.Value;
21514
21564
  break;
21515
21565
  case 'START_PLANNER_ARTICLE':
21516
- _this5.catalogProps.startPlannerArticle = item.Value;
21566
+ _this4.catalogProps.startPlannerArticle = item.Value;
21517
21567
  break;
21518
21568
  case 'HIDE_2D_PLANNER':
21519
- _this5.catalogProps.hide2DPlanner = item.Value == '1';
21569
+ _this4.catalogProps.hide2DPlanner = item.Value == '1';
21520
21570
  break;
21521
21571
  case 'ACCESSOIRE_STEP_AS_PLANNER':
21522
- _this5.catalogProps.accessorieStepAsPlanner = item.Value == '1';
21572
+ _this4.catalogProps.accessorieStepAsPlanner = item.Value == '1';
21523
21573
  break;
21524
21574
  case 'PLANNER_2DOT0':
21525
- _this5.catalogProps.planner2Dot0 = item.Value == '1';
21575
+ _this4.catalogProps.planner2Dot0 = item.Value == '1';
21526
21576
  break;
21527
21577
  case 'DONT_SAVE_ALTERNATIVERENDERINGS':
21528
- _this5.catalogProps.dontSaveAlternativeRenderings = item.Value == '1';
21578
+ _this4.catalogProps.dontSaveAlternativeRenderings = item.Value == '1';
21529
21579
  break;
21530
21580
  case 'SHOW_ALL_ITEMS_IN_PLANNER':
21531
- _this5.catalogProps.showAllItemsInPlanner = item.Value == '1';
21581
+ _this4.catalogProps.showAllItemsInPlanner = item.Value == '1';
21532
21582
  break;
21533
21583
  case 'HIDE_AV_BUTTONS':
21534
- _this5.catalogProps.hideAVButtons = item.Value;
21584
+ _this4.catalogProps.hideAVButtons = item.Value;
21535
21585
  break;
21536
21586
  case 'PLANNER_REPLACE_MODE':
21537
- _this5.catalogProps.replaceModeActive = item.Value == '1';
21587
+ _this4.catalogProps.replaceModeActive = item.Value == '1';
21538
21588
  break;
21539
21589
  case 'HIDE_PLANNER_UI_ICONS':
21540
- _this5.catalogProps.hidePlannerUiIcons = item.Value == '1';
21590
+ _this4.catalogProps.hidePlannerUiIcons = item.Value == '1';
21541
21591
  break;
21542
21592
  case 'DONT_SET_POSNR_FROM_PLANNER':
21543
- _this5.catalogProps.dontSetPosNrFromPlanner = item.Value == '1';
21593
+ _this4.catalogProps.dontSetPosNrFromPlanner = item.Value == '1';
21544
21594
  break;
21545
21595
  case 'SHOW_AI_ROOM_RENDERING_SUMMARY':
21546
- _this5.catalogProps.showAiRoomRenderingInSummary = item.Value == '1';
21596
+ _this4.catalogProps.showAiRoomRenderingInSummary = item.Value == '1';
21547
21597
  break;
21548
21598
  // Warnings
21549
21599
  case 'HIDECONSTRUCTIONWARNING':
21550
- _this5.catalogProps.doCheckConstructionWarnings = item.Value == '0';
21600
+ _this4.catalogProps.doCheckConstructionWarnings = item.Value == '0';
21551
21601
  break;
21552
21602
  case 'FORCECONSTRUCTIONWARNINGARTICLES':
21553
- _this5.catalogProps.forceConstructionWarningForArticles = item.Value.split(';');
21603
+ _this4.catalogProps.forceConstructionWarningForArticles = item.Value.split(';');
21554
21604
  break;
21555
21605
  case 'HIDECOMPLETENESSWARNING':
21556
- _this5.catalogProps.hideCompletenessWarning = item.Value == '1';
21606
+ _this4.catalogProps.hideCompletenessWarning = item.Value == '1';
21557
21607
  break;
21558
21608
  // DP Logic
21559
21609
  case 'IGNORELAYERAVC':
21560
- _this5.catalogProps.ignoreLayerAVC = item.Value == '1';
21610
+ _this4.catalogProps.ignoreLayerAVC = item.Value == '1';
21561
21611
  break;
21562
21612
  case 'IGNORELAYERAVOAVU':
21563
- _this5.catalogProps.ignoreLayerAVOAVU = item.Value == '1';
21613
+ _this4.catalogProps.ignoreLayerAVOAVU = item.Value == '1';
21564
21614
  break;
21565
21615
  case 'IGNORELAYERAVNAVS':
21566
- _this5.catalogProps.ignoreLayerAVNAVS = item.Value == '1';
21616
+ _this4.catalogProps.ignoreLayerAVNAVS = item.Value == '1';
21567
21617
  break;
21568
21618
  case 'DOCKACCONAVOONLY':
21569
- _this5.catalogProps.dockAccOnAvoOnly = item.Value == '1';
21619
+ _this4.catalogProps.dockAccOnAvoOnly = item.Value == '1';
21570
21620
  break;
21571
21621
  case 'SHOWACCONDPONLY':
21572
- _this5.catalogProps.showAccOnDpOnly = item.Value == '1';
21622
+ _this4.catalogProps.showAccOnDpOnly = item.Value == '1';
21573
21623
  break;
21574
21624
  case 'RECONFIG_AFTER_ARTICLE_DOCKED':
21575
- _this5.catalogProps.reconfigAfterArticleDocked = item.Value == '1';
21625
+ _this4.catalogProps.reconfigAfterArticleDocked = item.Value == '1';
21576
21626
  break;
21577
21627
  // Configuration
21578
21628
 
21579
21629
  case 'USE_SHORT_NAME_AS_NAME':
21580
- _this5.catalogProps.useShortNameAsName = item.Value == '1';
21630
+ _this4.catalogProps.useShortNameAsName = item.Value == '1';
21581
21631
  break;
21582
21632
  case 'USE_DIOMEX_CONFIG_LOGIC':
21583
- _this5.catalogProps.useDiomexConfigLogic = item.Value == '1';
21633
+ _this4.catalogProps.useDiomexConfigLogic = item.Value == '1';
21584
21634
  break;
21585
21635
  case 'USEPRGASOPVARTICLENR':
21586
- _this5.catalogProps.UsePrgAsOpvArticleNr = item.Value == '1';
21636
+ _this4.catalogProps.UsePrgAsOpvArticleNr = item.Value == '1';
21587
21637
  break;
21588
21638
  case 'ARTICLECONFIGSINGLE':
21589
- _this5.catalogProps.articleConfigSingle = item.Value == '1';
21639
+ _this4.catalogProps.articleConfigSingle = item.Value == '1';
21590
21640
  break;
21591
21641
  case 'DEFAULT_GROUPS_CLOSED':
21592
21642
  if (item.Value != '1' && item.Value != '0') {
21593
- _this5.catalogProps.defaultGroupsClosed = item.Value.split(';');
21643
+ _this4.catalogProps.defaultGroupsClosed = item.Value.split(';');
21594
21644
  } else {
21595
- _this5.catalogProps.defaultGroupsClosed = item.Value == '1';
21645
+ _this4.catalogProps.defaultGroupsClosed = item.Value == '1';
21596
21646
  }
21597
21647
  break;
21598
21648
  case 'ARTICLECONFIGALL':
21599
- _this5.catalogProps.articleConfigAll = item.Value == '1';
21649
+ _this4.catalogProps.articleConfigAll = item.Value == '1';
21600
21650
  break;
21601
21651
  case 'AUTO_OPEN_CONTENTITEM':
21602
- _this5.catalogProps.autoOpenContentItem = item.Value == '1' ? true : item.Value.split(';').map(function (o) {
21603
- return (!_this5.isIDMFormat ? 'OPT' : '') + o;
21652
+ _this4.catalogProps.autoOpenContentItem = item.Value == '1' ? true : item.Value.split(';').map(function (o) {
21653
+ return (!_this4.isIDMFormat ? 'OPT' : '') + o;
21604
21654
  });
21605
21655
  break;
21606
21656
  case 'HIDE_PRICE_GROUPS_OF_OPGS':
21607
- _this5.catalogProps.hidePriceGroupsOfOPGs = item.Value == '1';
21657
+ _this4.catalogProps.hidePriceGroupsOfOPGs = item.Value == '1';
21608
21658
  break;
21609
21659
  case 'DONTHIDEOPTION':
21610
- _this5.catalogProps.dontHideOption = String(item.Value).split(',');
21660
+ _this4.catalogProps.dontHideOption = String(item.Value).split(',');
21611
21661
  break;
21612
21662
  case 'SHOW_AI_ROOM_RENDERING_IN_SUMMARY':
21613
- _this5.catalogProps.showAiRoomRenderingInSummary = item.Value == '1';
21663
+ _this4.catalogProps.showAiRoomRenderingInSummary = item.Value == '1';
21614
21664
  break;
21615
21665
  case 'SHOWACCESSOIREONLASTTAB':
21616
- _this5.catalogProps.showAccessioreOnLastTab = item.Value == '1';
21666
+ _this4.catalogProps.showAccessioreOnLastTab = item.Value == '1';
21617
21667
  break;
21618
21668
  case 'FORCE_CONFIG_ALL_ACCESSOIRES':
21619
- _this5.catalogProps.forceConfigAllAccessoires = item.Value == '1';
21669
+ _this4.catalogProps.forceConfigAllAccessoires = item.Value == '1';
21620
21670
  break;
21621
21671
  case 'CONFIG_ACCESSOIRES':
21622
- _this5.catalogProps.configAccessoires = item.Value == '1';
21672
+ _this4.catalogProps.configAccessoires = item.Value == '1';
21623
21673
  break;
21624
21674
  case 'CONFIG_ONLY_ACCESSOIRES':
21625
- _this5.catalogProps.configOnlyAccessoires = item.Value == '1';
21675
+ _this4.catalogProps.configOnlyAccessoires = item.Value == '1';
21626
21676
  break;
21627
21677
  case 'IGNORE_ARTICLERELATIONS':
21628
- _this5.catalogProps.ignoreArticleRelations = item.Value == '1';
21678
+ _this4.catalogProps.ignoreArticleRelations = item.Value == '1';
21629
21679
  break;
21630
21680
  case 'REPAIR_VARIANT_VALUES':
21631
21681
  var enties = item.Value.split(';;');
21632
- _this5.catalogProps.repairVariantValues = {};
21682
+ _this4.catalogProps.repairVariantValues = {};
21633
21683
  for (var k = 0; k < enties.length; k++) {
21634
21684
  var vals = enties[k].split(';');
21635
- _this5.catalogProps.repairVariantValues['OPT' + vals[0].replace(':', ':OPV')] = 'OPT' + vals[1].replace(':', ':OPV');
21685
+ _this4.catalogProps.repairVariantValues['OPT' + vals[0].replace(':', ':OPV')] = 'OPT' + vals[1].replace(':', ':OPV');
21636
21686
  }
21637
21687
  break;
21638
21688
  case 'FILTER_FOR_CHECKOUT_BUTTONS':
21639
- _this5.catalogProps.filterForCheckoutButtons = item.Value.split(';').map(function (t) {
21689
+ _this4.catalogProps.filterForCheckoutButtons = item.Value.split(';').map(function (t) {
21640
21690
  return t;
21641
21691
  });
21642
21692
  break;
21643
21693
  case 'DO_USE_RULEDESC_FOR_PARTLIST':
21644
- _this5.catalogProps.doUseRuleDescForPartListArticles = '1' == item.Value;
21694
+ _this4.catalogProps.doUseRuleDescForPartListArticles = '1' == item.Value;
21645
21695
  break;
21646
21696
  case 'USEPOSCOUNTVALUE':
21647
- _this5.catalogProps.usePosCountValue = '1' == item.Value;
21697
+ _this4.catalogProps.usePosCountValue = '1' == item.Value;
21648
21698
  break;
21649
21699
  case 'USE_DECISION_POS_COUNT_VALUE':
21650
- _this5.catalogProps.useDecisionPosCountValue = '1' == item.Value;
21700
+ _this4.catalogProps.useDecisionPosCountValue = '1' == item.Value;
21651
21701
  break;
21652
21702
  case 'USE_SHELFPLANNER_RTV':
21653
- _this5.catalogProps.useShelfPlannerRTV = '1' == item.Value;
21703
+ _this4.catalogProps.useShelfPlannerRTV = '1' == item.Value;
21654
21704
  break;
21655
21705
  case 'DONT_SHOW_ACC_STEP':
21656
- _this5.catalogProps.dontShowAccStep = '1' == item.Value;
21706
+ _this4.catalogProps.dontShowAccStep = '1' == item.Value;
21657
21707
  break;
21658
21708
  case 'MERGE_OPTIONS_TO_SAME_OPTION':
21659
- _this5.catalogProps.mergeOptionsToSameOption = [];
21660
- for (var V = item.Value.split(';'), T = 0; T < V.length; T++) _this5.catalogProps.mergeOptionsToSameOption.push(V[T].split(','));
21709
+ _this4.catalogProps.mergeOptionsToSameOption = [];
21710
+ for (var V = item.Value.split(';'), T = 0; T < V.length; T++) _this4.catalogProps.mergeOptionsToSameOption.push(V[T].split(','));
21661
21711
  break;
21662
21712
  case 'FORCE_CONFIG_SINGLE':
21663
- _this5.catalogProps.forceConfigSingle = '1' == item.Value;
21713
+ _this4.catalogProps.forceConfigSingle = '1' == item.Value;
21664
21714
  break;
21665
21715
  case 'SHOW_PRICEPREVIEW_ON_OPTIONS':
21666
- _this5.catalogProps.showPricePreviewOnlyOnOptions = item.Value.split(';').map(function (t) {
21716
+ _this4.catalogProps.showPricePreviewOnlyOnOptions = item.Value.split(';').map(function (t) {
21667
21717
  return t;
21668
21718
  });
21669
21719
  break;
21670
21720
  case 'HIDE_PRICEPREVIEW_ON_OPTIONS':
21671
- _this5.catalogProps.hidePricePreviewOnlyOnOptions = item.Value.split(';').map(function (t) {
21721
+ _this4.catalogProps.hidePricePreviewOnlyOnOptions = item.Value.split(';').map(function (t) {
21672
21722
  return t;
21673
21723
  });
21674
21724
  break;
21675
21725
  case 'INIT_OPTIONTREE_TWICE':
21676
- _this5.catalogProps.initOptionTreeTwice = '1' == item.Value;
21726
+ _this4.catalogProps.initOptionTreeTwice = '1' == item.Value;
21677
21727
  break;
21678
21728
  case 'USE_TYPENR_AS_ARTICLENR_EKTEXT':
21679
- _this5.catalogProps.useTypeNrAsArticleNrEKText = '1' == item.Value;
21729
+ _this4.catalogProps.useTypeNrAsArticleNrEKText = '1' == item.Value;
21680
21730
  break;
21681
21731
  case 'ADD_NEW_LINE_BEFOR_RULEDESC':
21682
- _this5.catalogProps.addNewLineBeforRuleDesc = '1' == item.Value;
21732
+ _this4.catalogProps.addNewLineBeforRuleDesc = '1' == item.Value;
21683
21733
  break;
21684
21734
  case 'ONCONFIG_SINGLE_DONT_GENERALIZE':
21685
- _this5.catalogProps.onConfigSingleDontGeneralize = '1' == item.Value;
21735
+ _this4.catalogProps.onConfigSingleDontGeneralize = '1' == item.Value;
21686
21736
  break;
21687
21737
  case 'SUMMARY_TABGROUP_POSITION':
21688
- _this5.catalogProps.summaryTabGroupPosition = item.Value.split(';');
21738
+ _this4.catalogProps.summaryTabGroupPosition = item.Value.split(';');
21689
21739
  break;
21690
21740
  case 'BUNDLE_RULES':
21691
- _this5.catalogProps.bundleRules = JSON.parse(item.Value);
21741
+ _this4.catalogProps.bundleRules = JSON.parse(item.Value);
21692
21742
  break;
21693
21743
  case 'NOTIFICATIONS':
21694
- _this5.catalogProps.notificationsRules = JSON.parse(item.Value);
21744
+ _this4.catalogProps.notificationsRules = JSON.parse(item.Value);
21695
21745
  break;
21696
21746
  case 'WARNINGS':
21697
- _this5.catalogProps.warningRules = JSON.parse(item.Value);
21747
+ _this4.catalogProps.warningRules = JSON.parse(item.Value);
21698
21748
  break;
21699
21749
  case 'BANNER':
21700
- _this5.catalogProps.bannerRules = JSON.parse(item.Value);
21750
+ _this4.catalogProps.bannerRules = JSON.parse(item.Value);
21701
21751
  break;
21702
21752
  case 'IGNORE_MAX_PRICE_AS_BASEPRICE':
21703
- _this5.catalogProps.ignoreMaxPriceAsBP = '1' == item.Value;
21753
+ _this4.catalogProps.ignoreMaxPriceAsBP = '1' == item.Value;
21704
21754
  break;
21705
21755
  case 'DONT_USE_VCODEX_FOR_BASKET':
21706
- _this5.catalogProps.dontUseVCodexInBasket = '1' == item.Value;
21756
+ _this4.catalogProps.dontUseVCodexInBasket = '1' == item.Value;
21707
21757
  break;
21708
21758
  case 'IGNORE_ISDEFINED_CHECK':
21709
- _this5.catalogProps.ignoreIsDefinedCheck = '1' == item.Value;
21759
+ _this4.catalogProps.ignoreIsDefinedCheck = '1' == item.Value;
21710
21760
  break;
21711
21761
  case 'PARTLIST_POSTFIX':
21712
- _this5.catalogProps.partlistPostFix = item.Value.split(';').map(function (i) {
21762
+ _this4.catalogProps.partlistPostFix = item.Value.split(';').map(function (i) {
21713
21763
  return {
21714
21764
  rule: i.split(':')[0],
21715
21765
  postFix: i.split(':')[1]
@@ -21717,7 +21767,7 @@ var DivaCatalogData = /*#__PURE__*/function () {
21717
21767
  });
21718
21768
  break;
21719
21769
  case 'ADD_PA_ON_EDO':
21720
- _this5.handleEdoArticles(properties, item);
21770
+ _this4.handleEdoArticles(properties, item);
21721
21771
  break;
21722
21772
  }
21723
21773
  });
@@ -21730,7 +21780,7 @@ var DivaCatalogData = /*#__PURE__*/function () {
21730
21780
  }, {
21731
21781
  key: "initPropertiesAfterOptionsInit",
21732
21782
  value: function initPropertiesAfterOptionsInit(catalogCodex, properties) {
21733
- var _this6 = this;
21783
+ var _this5 = this;
21734
21784
  properties.forEach(function (item, index) {
21735
21785
  //3D Allgemein
21736
21786
  var key = item.Codex;
@@ -21738,11 +21788,11 @@ var DivaCatalogData = /*#__PURE__*/function () {
21738
21788
  if (key.startsWith('3D_STATBG_ROOMLIST')) {
21739
21789
  // item.Value =
21740
21790
  // "weissraum_LUECK;backgroundimgroom_lueck_modern;backgroundimgroom_lueck_romantic;backgroundimgroom_lueck_loft;backgroundimgroom_lueck_night";
21741
- _this6.catalogProps.roomList3DStaticBGImage.set(item.Codex, item.Value.split(';'));
21791
+ _this5.catalogProps.roomList3DStaticBGImage.set(item.Codex, item.Value.split(';'));
21742
21792
  } else if (key.startsWith('3D_STANDARD_WHITEROOM')) {
21743
- _this6.catalogProps.diva3dStandardWhiteroom = item.Value;
21793
+ _this5.catalogProps.diva3dStandardWhiteroom = item.Value;
21744
21794
  } else if (key.startsWith('DIVA3D_IMAGE')) {
21745
- _this6.handleDIVA3DMetaTag(item);
21795
+ _this5.handleDIVA3DMetaTag(item);
21746
21796
  }
21747
21797
  });
21748
21798
  }
@@ -22022,7 +22072,7 @@ var DivaCatalogHandler = /*#__PURE__*/function () {
22022
22072
  return [os.ArticleCodex + os.CatalogCodex, os];
22023
22073
  })).values()).map(function (ol) {
22024
22074
  var _ol$CatalogCodex;
22025
- return state.api.getArticleJson(ol.ArticleCodex, (_ol$CatalogCodex = ol.CatalogCodex) !== null && _ol$CatalogCodex !== void 0 ? _ol$CatalogCodex : orderSet.CatalogCodex, orderSet.AccountSessionGUID);
22075
+ return state.api.getArticleJson(ol.ArticleCodex, (_ol$CatalogCodex = ol.CatalogCodex) !== null && _ol$CatalogCodex !== void 0 ? _ol$CatalogCodex : orderSet.CatalogCodex, orderSet.AccountSessionGUID, true);
22026
22076
  })));
22027
22077
  _context2.next = 3;
22028
22078
  return Promise.all(promises);
@@ -22223,6 +22273,7 @@ var ArticleOptionStateData = /*#__PURE__*/function () {
22223
22273
  isDefined: !useIsOptionDefinedWarning && !option.requiresUserInput,
22224
22274
  valueWasSet: false,
22225
22275
  invisible: option.isInvisible,
22276
+ invisibleWithoutMaskeInfluence: option.isInvisibleWithoutMaskeInfluence,
22226
22277
  usedCalcPrice: 0,
22227
22278
  calcPrice: 0,
22228
22279
  constructionRules: {},
@@ -22534,6 +22585,12 @@ var ArticleOptionStateData = /*#__PURE__*/function () {
22534
22585
  },
22535
22586
  set: function set(isInvisible) {
22536
22587
  this.articleOptionState.invisible = isInvisible;
22588
+ this.articleOptionState.invisibleWithoutMaskeInfluence = isInvisible;
22589
+ }
22590
+ }, {
22591
+ key: "invisibleWithoutMaskeInfluence",
22592
+ get: function get() {
22593
+ return this.articleOptionState.invisibleWithoutMaskeInfluence;
22537
22594
  }
22538
22595
  }, {
22539
22596
  key: "usedCalcPrice",
@@ -22663,20 +22720,21 @@ var ArticleOptionStateData = /*#__PURE__*/function () {
22663
22720
  }
22664
22721
  }, {
22665
22722
  key: "visibleInSummary",
22666
- value: function visibleInSummary(aritcle) {
22723
+ value: function visibleInSummary(aritcle, summaryForBasket) {
22667
22724
  var _this$val11, _this$val12;
22668
- 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);
22725
+ 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);
22669
22726
  }
22670
22727
  }, {
22671
22728
  key: "isHiddenByDefaultValueForOptions",
22672
22729
  value: function isHiddenByDefaultValueForOptions(article) {
22730
+ var summaryForBasket = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
22673
22731
  if (!this.option.isDefaultValueForOptions) return false;
22674
22732
  var options = this.option.isDefaultValueForOptions.split(';');
22675
22733
  var representingOptionIsVisible = false;
22676
22734
  for (var i = 0; i < options.length; i++) {
22677
22735
  if ((!article.CatalogData.isIDMFormat ? 'OPT' : '') + options[i] === this.optionCodex) continue;
22678
22736
  var ops = article.getArticleOptionState((!article.CatalogData.isIDMFormat ? 'OPT' : '') + options[i]);
22679
- if (ops !== null && ops !== void 0 && ops.visibleInSummary(article)) {
22737
+ if (ops !== null && ops !== void 0 && ops.visibleInSummary(article, summaryForBasket)) {
22680
22738
  representingOptionIsVisible = true;
22681
22739
  break;
22682
22740
  }
@@ -25357,7 +25415,7 @@ var IDMEngine = /*#__PURE__*/function () {
25357
25415
  var _decision$optionCombi2;
25358
25416
  var hasSetFeatureInvisible = {};
25359
25417
  if (!((_decision$optionCombi2 = decision.optionCombinations) !== null && _decision$optionCombi2 !== void 0 && _decision$optionCombi2.length)) return;
25360
- var _ref5 = this.getMatchingOptionCombination(decision.optionCombinations),
25418
+ var _ref5 = this.getMatchingOptionCombination(decision.optionCombinations, decision.decisionNo),
25361
25419
  _ref6 = _slicedToArray(_ref5, 1),
25362
25420
  combination = _ref6[0];
25363
25421
  if (combination) decision.activeCombination = combination.sequence;
@@ -25566,7 +25624,7 @@ var IDMEngine = /*#__PURE__*/function () {
25566
25624
  var index = _this$getMatchingOpti2[1];
25567
25625
  this.logPrice(priceFeatureGroup, index);
25568
25626
  if (index !== undefined) {
25569
- var _this$article$catalog, _this$article$catalog4;
25627
+ var _this$article$catalog, _this$article$catalog4, _priceFeatureGroup$fe;
25570
25628
  var matichingFinish = priceFeatureGroup.finishes[index];
25571
25629
  var priceKey = 'PRFG' + priceFeatureGroup.priceFeatureGroupNo + '_' + matichingFinish.supplierPriceGroup;
25572
25630
  if (((_this$article$catalog = this.article.catalogArticle.idmPrices) === null || _this$article$catalog === void 0 ? void 0 : _this$article$catalog.prices[priceKey]) === undefined) {
@@ -25580,7 +25638,7 @@ var IDMEngine = /*#__PURE__*/function () {
25580
25638
  ID: matichingFinish._id,
25581
25639
  ISABP: !priceFeatureGroup.additionalPrice,
25582
25640
  IsPercentage: priceFeatureGroup.isPercentage,
25583
- OPT: priceFeatureGroup.featureNos[0],
25641
+ OPT: (_priceFeatureGroup$fe = priceFeatureGroup.featureNos) === null || _priceFeatureGroup$fe === void 0 ? void 0 : _priceFeatureGroup$fe[0],
25584
25642
  PPG: priceKey,
25585
25643
  Price: price,
25586
25644
  RuleDesc: DivaUtils.getLocals(priceFeatureGroup.priceFeatureGroupText, this.article.set.api.getLanguage()),
@@ -25714,7 +25772,7 @@ var IDMEngine = /*#__PURE__*/function () {
25714
25772
  if (myPartListPos.decisionPosCount) {
25715
25773
  // get SetPosCountValue from decsion action if defined and else use myPartListPos.PosCountValue;
25716
25774
  var decision = this.article.CatalogData.getDecisionsByNo([myPartListPos.decisionPosCount])[0];
25717
- var _ref7 = this.getMatchingOptionCombination(decision.optionCombinations),
25775
+ var _ref7 = this.getMatchingOptionCombination(decision.optionCombinations, decision.decisionNo),
25718
25776
  _ref8 = _slicedToArray(_ref7, 1),
25719
25777
  combination = _ref8[0];
25720
25778
  if (combination) {
@@ -25770,13 +25828,13 @@ var IDMEngine = /*#__PURE__*/function () {
25770
25828
  }
25771
25829
  }, {
25772
25830
  key: "getMatchingOptionCombination",
25773
- value: function getMatchingOptionCombination(combinations) {
25831
+ value: function getMatchingOptionCombination(combinations, decisionNo) {
25774
25832
  for (var i = 0; i < combinations.length; i++) {
25775
25833
  var _projectOptionsSetRef;
25776
25834
  var combination = combinations[i];
25777
25835
  var optionSetRefs = (_projectOptionsSetRef = combination.projectOptionsSetRefs) !== null && _projectOptionsSetRef !== void 0 ? _projectOptionsSetRef : combination.optionsSetRef;
25778
25836
  if (optionSetRefs.length === 0) return [combination, i];
25779
- if (this.evalCombi(optionSetRefs, optionSetRefs[0].refLevel)) return [combination, i];
25837
+ if (this.evalCombi(optionSetRefs, optionSetRefs[0].refLevel, decisionNo)) return [combination, i];
25780
25838
  }
25781
25839
  return [undefined, undefined];
25782
25840
  }
@@ -25784,12 +25842,13 @@ var IDMEngine = /*#__PURE__*/function () {
25784
25842
  key: "evalCombi",
25785
25843
  value: function evalCombi(optionSetRefs) {
25786
25844
  var refLevel = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 3;
25845
+ var decisionNo = arguments.length > 2 ? arguments[2] : undefined;
25787
25846
  var article = this.article;
25788
25847
  if (refLevel > 1) article = this.article.getRefLevelArticle(refLevel);
25789
25848
  for (var i = 0; i < optionSetRefs.length; i++) {
25790
25849
  var ref = optionSetRefs[i];
25791
25850
  var ops = article.getArticleOptionState(ref.featureNo.toString());
25792
- if (!ops) LOG$f.error(new 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.'));
25851
+ if (!ops) LOG$f.error(new 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.'));
25793
25852
  if (ref.optionList) {
25794
25853
  var operator = ref.optionList.operator;
25795
25854
  var options = ref.optionList.options;
@@ -25818,9 +25877,9 @@ var IDMEngine = /*#__PURE__*/function () {
25818
25877
  //DecisionOptionCombination
25819
25878
  //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
25820
25879
 
25821
- var _this$getMatchingOpti3 = this.getMatchingOptionCombination(myDecision.optionCombinations),
25822
- _this$getMatchingOpti4 = _slicedToArray(_this$getMatchingOpti3, 1),
25823
- combination = _this$getMatchingOpti4[0];
25880
+ var _ref9 = this.getMatchingOptionCombination(myDecision.optionCombinations, decisionNo),
25881
+ _ref10 = _slicedToArray(_ref9, 1),
25882
+ combination = _ref10[0];
25824
25883
  if (combination) {
25825
25884
  isValidDOC = true;
25826
25885
  }
@@ -25878,27 +25937,27 @@ var IDMEngine = /*#__PURE__*/function () {
25878
25937
  }
25879
25938
  if ([97, 1097].includes((_myArtOPS$option$idmV3 = myArtOPS.option.idmVariantenArt) !== null && _myArtOPS$option$idmV3 !== void 0 ? _myArtOPS$option$idmV3 : 0)) {
25880
25939
  try {
25881
- var _ref9, _myArtOPS$measureValu;
25940
+ var _ref11, _myArtOPS$measureValu;
25882
25941
  this.article.doUpdatePlannerSize = true;
25883
- 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;
25942
+ 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;
25884
25943
  } catch (e) {
25885
25944
  LOG$f.warn('Invalid Planungdepth - IDMVariantenArt 97: ' + myArtOPS.option.name + ' ' + myArtOPS.valName, e);
25886
25945
  }
25887
25946
  }
25888
25947
  if ([96, 1096].includes((_myArtOPS$option$idmV4 = myArtOPS.option.idmVariantenArt) !== null && _myArtOPS$option$idmV4 !== void 0 ? _myArtOPS$option$idmV4 : 0) || myArtOPS.option.diameter) {
25889
25948
  try {
25890
- var _ref10, _myArtOPS$measureValu2;
25949
+ var _ref12, _myArtOPS$measureValu2;
25891
25950
  this.article.doUpdatePlannerSize = true;
25892
- 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;
25951
+ 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;
25893
25952
  } catch (e) {
25894
25953
  LOG$f.warn('Invalid Planungdepth - IDMVariantenArt 96: ' + myArtOPS.option.name + ' ' + myArtOPS.valName, e);
25895
25954
  }
25896
25955
  }
25897
25956
  if ([95, 1095].includes((_myArtOPS$option$idmV5 = myArtOPS.option.idmVariantenArt) !== null && _myArtOPS$option$idmV5 !== void 0 ? _myArtOPS$option$idmV5 : 0) || myArtOPS.option.diameter) {
25898
25957
  try {
25899
- var _ref11, _myArtOPS$measureValu3;
25958
+ var _ref13, _myArtOPS$measureValu3;
25900
25959
  this.article.doUpdatePlannerSize = true;
25901
- 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;
25960
+ 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;
25902
25961
  } catch (e) {
25903
25962
  LOG$f.warn('Invalid Planungdepth - IDMVariantenArt 95: ' + myArtOPS.option.name + ' ' + myArtOPS.valName, e);
25904
25963
  }
@@ -25996,9 +26055,9 @@ var IDMEngine = /*#__PURE__*/function () {
25996
26055
  for (var j = 0; !doUse && j < image.decisionNos.length; j++) {
25997
26056
  var decision = catalogData.getDecisionByNo(image.decisionNos[j]);
25998
26057
  if (!decision) continue;
25999
- var _this$getMatchingOpti5 = this.getMatchingOptionCombination(decision.optionCombinations),
26000
- _this$getMatchingOpti6 = _slicedToArray(_this$getMatchingOpti5, 1),
26001
- combination = _this$getMatchingOpti6[0];
26058
+ var _ref14 = this.getMatchingOptionCombination(decision.optionCombinations, decision.decisionNo),
26059
+ _ref15 = _slicedToArray(_ref14, 1),
26060
+ combination = _ref15[0];
26002
26061
  if (combination) {
26003
26062
  doUse = true;
26004
26063
  break;
@@ -26039,9 +26098,9 @@ var IDMEngine = /*#__PURE__*/function () {
26039
26098
  for (var _j2 = 0; _j2 < _image.decisionNos.length; _j2++) {
26040
26099
  var _decision2 = catalogData.getDecisionByNo(_image.decisionNos[_j2]);
26041
26100
  if (!_decision2) throw new Error('decision ' + _image.decisionNos[_j2] + ' not found');
26042
- var _this$getMatchingOpti9 = this.getMatchingOptionCombination(_decision2.optionCombinations),
26043
- _this$getMatchingOpti10 = _slicedToArray(_this$getMatchingOpti9, 1),
26044
- _combination2 = _this$getMatchingOpti10[0];
26101
+ var _ref18 = this.getMatchingOptionCombination(_decision2.optionCombinations, _decision2.decisionNo),
26102
+ _ref19 = _slicedToArray(_ref18, 1),
26103
+ _combination2 = _ref19[0];
26045
26104
  if (_combination2) {
26046
26105
  _doUse = true;
26047
26106
  break;
@@ -26096,9 +26155,9 @@ var IDMEngine = /*#__PURE__*/function () {
26096
26155
  for (var _j = 0; _j < svg.decisionNos.length; _j++) {
26097
26156
  var _decision = catalogData.getDecisionByNo(svg.decisionNos[_j]);
26098
26157
  if (!_decision) throw new Error('decision ' + svg.decisionNos[_j] + ' not found');
26099
- var _this$getMatchingOpti7 = this.getMatchingOptionCombination(_decision.optionCombinations),
26100
- _this$getMatchingOpti8 = _slicedToArray(_this$getMatchingOpti7, 1),
26101
- _combination = _this$getMatchingOpti8[0];
26158
+ var _ref16 = this.getMatchingOptionCombination(_decision.optionCombinations, _decision.decisionNo),
26159
+ _ref17 = _slicedToArray(_ref16, 1),
26160
+ _combination = _ref17[0];
26102
26161
  if (_combination) {
26103
26162
  svgValid = _decision;
26104
26163
  break;
@@ -26771,7 +26830,7 @@ var DivaArticle = /*#__PURE__*/function () {
26771
26830
  try {
26772
26831
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
26773
26832
  var ops = _step3.value;
26774
- if (!ops.isInvisible && ops.selectionmode != 0 && ops.isDoShow && (ops.visibleCount > 1 || ops.option.forceShowVariantDesc)) {
26833
+ if (!ops.invisibleWithoutMaskeInfluence && ops.selectionmode != 0 && ops.isDoShow && (ops.visibleCount > 1 || ops.option.forceShowVariantDesc)) {
26775
26834
  if (ret != '') ret += newLine;
26776
26835
  if (ops.valCodex) {
26777
26836
  if (ops.isFreeText) {
@@ -26804,7 +26863,7 @@ var DivaArticle = /*#__PURE__*/function () {
26804
26863
  try {
26805
26864
  for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
26806
26865
  var ops = _step4.value;
26807
- if (!ops.isInvisible && ops.selectionmode != 0 && ops.isDoShow && ops.visibleCount > 1) {
26866
+ if (!ops.invisibleWithoutMaskeInfluence && ops.selectionmode != 0 && ops.isDoShow && ops.visibleCount > 1) {
26808
26867
  for (var lang in ops.optionName_locales) {
26809
26868
  if (!ret[lang]) ret[lang] = '';
26810
26869
  if (ret[lang] != '') ret[lang] += newLine;
@@ -27808,7 +27867,7 @@ var DivaArticle = /*#__PURE__*/function () {
27808
27867
  var ops = _step9.value;
27809
27868
  ret[ops.optionCodex] = {
27810
27869
  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 : '',
27811
- invisible: ops.isInvisible,
27870
+ invisible: ops.invisibleWithoutMaskeInfluence,
27812
27871
  visibleOPVs: ops.visibleOPVKeys,
27813
27872
  optName: ops.optionName
27814
27873
  };
@@ -27838,7 +27897,7 @@ var DivaArticle = /*#__PURE__*/function () {
27838
27897
  try {
27839
27898
  for (_iterator10.s(); !(_step10 = _iterator10.n()).done;) {
27840
27899
  var ops = _step10.value;
27841
- if (ops.isDoShow && ops.valCodex && !ops.isInvisible && !['I', 'U'].includes(ops.headerPosVariationType)) {
27900
+ if (ops.isDoShow && ops.valCodex && !ops.invisibleWithoutMaskeInfluence && !['I', 'U'].includes(ops.headerPosVariationType)) {
27842
27901
  ret[ops.optionCodex] = ops.valCodex;
27843
27902
  if (ops.freeText) {
27844
27903
  ret[ops.optionCodex + '_val'] = ops.freeText;
@@ -28876,7 +28935,7 @@ var DivaArticle = /*#__PURE__*/function () {
28876
28935
  break;
28877
28936
  }
28878
28937
  _context.next = 4;
28879
- return import('./ShelfPlanner-3706474c.js');
28938
+ return import('./ShelfPlanner-233d6f80.js');
28880
28939
  case 4:
28881
28940
  _yield$import = _context.sent;
28882
28941
  ShelfPlanner = _yield$import["default"];
@@ -28970,7 +29029,7 @@ var DivaArticle = /*#__PURE__*/function () {
28970
29029
  try {
28971
29030
  for (_iterator35.s(); !(_step35 = _iterator35.n()).done;) {
28972
29031
  var ops = _step35.value;
28973
- if (ops.val === undefined && ops.visibleOPVKeys.length && !ops.isInvisible) {
29032
+ if (ops.val === undefined && ops.visibleOPVKeys.length && !ops.invisibleWithoutMaskeInfluence) {
28974
29033
  variantValues[ops.optionCodex] = ops.visibleOPVKeys[0];
28975
29034
  }
28976
29035
  }
@@ -29304,7 +29363,7 @@ var DivaArticle = /*#__PURE__*/function () {
29304
29363
  TabGroup_locales: ops.optionTabGroup_locales,
29305
29364
  SendToSAP: ops.option.sendToSAP,
29306
29365
  ArticlePlaceholder: ops.option.articlePlaceholder,
29307
- 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))),
29366
+ 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))),
29308
29367
  HideInOrderText: ops.hideInOrderText,
29309
29368
  IsDescribingState: ops.isDescribingState,
29310
29369
  FreeTextLang: ops.freeTextLang,
@@ -33266,7 +33325,7 @@ var DivaSet = /*#__PURE__*/function () {
33266
33325
  try {
33267
33326
  for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
33268
33327
  var ops = _step4.value;
33269
- if (!ops.isInvisible && ops.isDoShow && ops.val && ops.valCodex != 'OPVNR' && ops.valCodex != 'OPOHNE') {
33328
+ if (!ops.invisibleWithoutMaskeInfluence && ops.isDoShow && ops.val && ops.valCodex != 'OPVNR' && ops.valCodex != 'OPOHNE') {
33270
33329
  var _ops$val$setName;
33271
33330
  if (ops.option.setName) options.push((_ops$val$setName = ops.val.setName) !== null && _ops$val$setName !== void 0 ? _ops$val$setName : ops.val.name);
33272
33331
  }
@@ -33522,7 +33581,7 @@ var DivaSet = /*#__PURE__*/function () {
33522
33581
  break;
33523
33582
  }
33524
33583
  _context5.next = 3;
33525
- return import('./DoorPlanner-f3b00f17.js');
33584
+ return import('./DoorPlanner-26343d53.js');
33526
33585
  case 3:
33527
33586
  _yield$import = _context5.sent;
33528
33587
  DoorPlanner = _yield$import["default"];
@@ -33735,7 +33794,7 @@ var SummaryHandler = /*#__PURE__*/function () {
33735
33794
  }
33736
33795
  return _createClass(SummaryHandler, [{
33737
33796
  key: "buildSummaryItems",
33738
- value: function buildSummaryItems(articlesPosNrs, set) {
33797
+ value: function buildSummaryItems(articlesPosNrs, set, summaryForBasket) {
33739
33798
  var articles = Object.values(set.getDivaArticles(true)).filter(function (a) {
33740
33799
  return !a.relatedToBasketId || a.isPartListArticle;
33741
33800
  });
@@ -33748,25 +33807,25 @@ var SummaryHandler = /*#__PURE__*/function () {
33748
33807
  try {
33749
33808
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
33750
33809
  var article = _step.value;
33751
- this.getSummaryItemsofArticle(article, set, summaryTabItems, baseArticlesCount);
33810
+ this.getSummaryItemsofArticle(article, set, summaryTabItems, baseArticlesCount, summaryForBasket);
33752
33811
  }
33753
33812
  } catch (err) {
33754
33813
  _iterator.e(err);
33755
33814
  } finally {
33756
33815
  _iterator.f();
33757
33816
  }
33758
- this.addAccessoires(articles, summaryTabItems, set, articlesPosNrs, baseArticlesCount);
33817
+ this.addAccessoires(articles, summaryTabItems, set, articlesPosNrs, baseArticlesCount, summaryForBasket);
33759
33818
  return summaryTabItems;
33760
33819
  }
33761
33820
  }, {
33762
33821
  key: "getSummaryItemsofArticle",
33763
- value: function getSummaryItemsofArticle(article, set, summaryTabItems, baseArticlesCount) {
33822
+ value: function getSummaryItemsofArticle(article, set, summaryTabItems, baseArticlesCount, summaryForBasket) {
33764
33823
  var _iterator2 = _createForOfIteratorHelper$4(article.articleOptionStates.values()),
33765
33824
  _step2;
33766
33825
  try {
33767
33826
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
33768
33827
  var ops = _step2.value;
33769
- if (ops.visibleInSummary(article)) {
33828
+ if (ops.visibleInSummary(article, summaryForBasket)) {
33770
33829
  var tabGroupCodex = void 0;
33771
33830
  var tabGroupTitel = void 0;
33772
33831
  if (ops.optionTabGroup) {
@@ -33849,7 +33908,7 @@ var SummaryHandler = /*#__PURE__*/function () {
33849
33908
  }
33850
33909
  }, {
33851
33910
  key: "addAccessoires",
33852
- value: function addAccessoires(articles, summaryTabItems, set, articlesPosNrs, baseArticlesCount) {
33911
+ value: function addAccessoires(articles, summaryTabItems, set, articlesPosNrs, baseArticlesCount, summaryForBasket) {
33853
33912
  var _iterator3 = _createForOfIteratorHelper$4(articles),
33854
33913
  _step3;
33855
33914
  try {
@@ -33874,8 +33933,8 @@ var SummaryHandler = /*#__PURE__*/function () {
33874
33933
  } else {
33875
33934
  var _set$i18n$t2, _set$i18n2, _accessoire$catalogAr, _accessoire$catalogAr2, _accessoire$catalogAr3;
33876
33935
  var summaryItems = {};
33877
- this.getSummaryItemsofArticle(accessoire, set, summaryItems, 0);
33878
- this.addAccessoires([accessoire], summaryItems, set, articlesPosNrs, baseArticlesCount);
33936
+ this.getSummaryItemsofArticle(accessoire, set, summaryItems, 0, summaryForBasket);
33937
+ this.addAccessoires([accessoire], summaryItems, set, articlesPosNrs, baseArticlesCount, summaryForBasket);
33879
33938
  tabGroup.summaryItems[entryKey] = {
33880
33939
  title: accessoire.name,
33881
33940
  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',
@@ -34087,7 +34146,7 @@ var SummaryHandler = /*#__PURE__*/function () {
34087
34146
  _context.next = _context.t2 === 'SUMMARY_OPTIONTREE' ? 9 : _context.t2 === 'VARIANTS' ? 11 : _context.t2 === 'PARTLIST_AND_SPECIALOPTIONS' ? 17 : 19;
34088
34147
  break;
34089
34148
  case 9:
34090
- ret = ret.concat(this.getOptionTreeSummary(set));
34149
+ ret = ret.concat(this.getOptionTreeSummary(set, false));
34091
34150
  return _context.abrupt("break", 19);
34092
34151
  case 11:
34093
34152
  _context.t3 = ret;
@@ -34145,7 +34204,7 @@ var SummaryHandler = /*#__PURE__*/function () {
34145
34204
  key: "convertSummaryItemsToSummaryInfo",
34146
34205
  value: function convertSummaryItemsToSummaryInfo(set) {
34147
34206
  var _this$getOptionTreeSu;
34148
- var summaryObject = (_this$getOptionTreeSu = this.getOptionTreeSummary(set)[0]) === null || _this$getOptionTreeSu === void 0 ? void 0 : _this$getOptionTreeSu.items;
34207
+ var summaryObject = (_this$getOptionTreeSu = this.getOptionTreeSummary(set, true)[0]) === null || _this$getOptionTreeSu === void 0 ? void 0 : _this$getOptionTreeSu.items;
34149
34208
  var SummaryInfo = [];
34150
34209
  var counter = 0;
34151
34210
  for (var _key6 in summaryObject) {
@@ -34188,7 +34247,7 @@ var SummaryHandler = /*#__PURE__*/function () {
34188
34247
  }
34189
34248
  }, {
34190
34249
  key: "getOptionTreeSummary",
34191
- value: function getOptionTreeSummary(set) {
34250
+ value: function getOptionTreeSummary(set, summaryForBasket) {
34192
34251
  var ret = [];
34193
34252
  var elementGroups;
34194
34253
  if (set.doAllowSetPlanner) {
@@ -34204,7 +34263,7 @@ var SummaryHandler = /*#__PURE__*/function () {
34204
34263
  for (var _key7 in elementGroups) {
34205
34264
  var group = elementGroups[_key7];
34206
34265
  ret.push({
34207
- items: this.buildSummaryItems(this.getArticlesPosNr(group.articles), set),
34266
+ items: this.buildSummaryItems(this.getArticlesPosNr(group.articles), set, summaryForBasket),
34208
34267
  price: this.getArticlesPrice(group.articles),
34209
34268
  name: set.CatalogData.catalogName,
34210
34269
  quantity: group.quantity,
@@ -34213,32 +34272,16 @@ var SummaryHandler = /*#__PURE__*/function () {
34213
34272
  }
34214
34273
  return ret;
34215
34274
  }
34216
- }, {
34217
- key: "getSummaryItemsOfAllSets",
34218
- value: function getSummaryItemsOfAllSets(sets, set) {
34219
- var summaryItemsOfAllSets = {};
34220
- for (var _key8 in sets) {
34221
- var _set = sets[_key8];
34222
- var articlePosNrs = this.getArticlesPosNr(_set.getDivaArticles(true));
34223
- var summaryItems = this.buildSummaryItems(articlePosNrs, _set);
34224
- summaryItemsOfAllSets[_key8] = {
34225
- setName: _set.CatalogData.catalogName,
34226
- setPrice: _set.getSetPrice(),
34227
- summaryItems: summaryItems
34228
- };
34229
- }
34230
- return summaryItemsOfAllSets;
34231
- }
34232
34275
  }, {
34233
34276
  key: "getGroupedArticlesForSummary",
34234
34277
  value: function getGroupedArticlesForSummary(set) {
34235
34278
  var groupedArticles = setHandlerInstance.getDockedGroupedArticles(set);
34236
34279
  var retGroups = {};
34237
34280
  var articlesCodexesOnIndex = {};
34238
- for (var _key9 in groupedArticles) {
34239
- var basketId = groupedArticles[_key9][Object.keys(groupedArticles[_key9])[0]].basketId;
34281
+ for (var _key8 in groupedArticles) {
34282
+ var basketId = groupedArticles[_key8][Object.keys(groupedArticles[_key8])[0]].basketId;
34240
34283
  retGroups[basketId] = {
34241
- articles: groupedArticles[_key9],
34284
+ articles: groupedArticles[_key8],
34242
34285
  quantity: 1
34243
34286
  };
34244
34287
  }
@@ -34253,12 +34296,12 @@ var SummaryHandler = /*#__PURE__*/function () {
34253
34296
  articlesCodexesOnIndex[articleCodex].push(i);
34254
34297
  }
34255
34298
  }
34256
- for (var _key10 in articlesCodexesOnIndex) {
34257
- if (articlesCodexesOnIndex[_key10].length > 1) {
34299
+ for (var _key9 in articlesCodexesOnIndex) {
34300
+ if (articlesCodexesOnIndex[_key9].length > 1) {
34258
34301
  //group the single groups by the aricleCodex
34259
34302
  var articles = [];
34260
- for (var _i4 = 0; _i4 < articlesCodexesOnIndex[_key10].length; _i4++) {
34261
- var _group = groupedArticles[articlesCodexesOnIndex[_key10][_i4]];
34303
+ for (var _i4 = 0; _i4 < articlesCodexesOnIndex[_key9].length; _i4++) {
34304
+ var _group = groupedArticles[articlesCodexesOnIndex[_key9][_i4]];
34262
34305
  articles.push({
34263
34306
  article: _group[Object.keys(_group)[0]]
34264
34307
  });
@@ -34531,8 +34574,8 @@ var SummaryHandler = /*#__PURE__*/function () {
34531
34574
  key: "getArticlesPrice",
34532
34575
  value: function getArticlesPrice(articles) {
34533
34576
  var price = 0;
34534
- for (var _key11 in articles) {
34535
- price = price + articles[_key11].price * articles[_key11].quantity;
34577
+ for (var _key10 in articles) {
34578
+ price = price + articles[_key10].price * articles[_key10].quantity;
34536
34579
  }
34537
34580
  return price;
34538
34581
  }
@@ -40852,7 +40895,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
40852
40895
  break;
40853
40896
  case 3:
40854
40897
  _context12.next = 5;
40855
- return import('./PfisterWWSHandler-01b35a05.js');
40898
+ return import('./PfisterWWSHandler-c55df1fa.js');
40856
40899
  case 5:
40857
40900
  _yield$import = _context12.sent;
40858
40901
  PfisterWWSHandler = _yield$import["default"];
@@ -40860,7 +40903,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
40860
40903
  return _context12.abrupt("break", 27);
40861
40904
  case 9:
40862
40905
  _context12.next = 11;
40863
- return import('./LiviqueWWSHandler-ab94c5fe.js');
40906
+ return import('./LiviqueWWSHandler-a4e2db5f.js');
40864
40907
  case 11:
40865
40908
  _yield$import2 = _context12.sent;
40866
40909
  LiviqueWWSHandler = _yield$import2["default"];
@@ -40868,7 +40911,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
40868
40911
  return _context12.abrupt("break", 27);
40869
40912
  case 15:
40870
40913
  _context12.next = 17;
40871
- return import('./SeriousBasketHandler-d37b6c7f.js');
40914
+ return import('./SeriousBasketHandler-f813f560.js');
40872
40915
  case 17:
40873
40916
  _yield$import3 = _context12.sent;
40874
40917
  SeriousWWSHandler = _yield$import3["default"];
@@ -40876,7 +40919,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
40876
40919
  return _context12.abrupt("break", 27);
40877
40920
  case 21:
40878
40921
  _context12.next = 23;
40879
- return import('./StandardWWSHandler-4df74a93.js');
40922
+ return import('./StandardWWSHandler-30a01318.js');
40880
40923
  case 23:
40881
40924
  _yield$import4 = _context12.sent;
40882
40925
  StandardWWSHandler = _yield$import4["default"];
@@ -42300,7 +42343,7 @@ var PlannerHandler3D = /*#__PURE__*/function () {
42300
42343
  while (1) switch (_context3.prev = _context3.next) {
42301
42344
  case 0:
42302
42345
  _context3.next = 2;
42303
- return import('./Host3DSignalR-55d50416.js');
42346
+ return import('./Host3DSignalR-965d0be1.js');
42304
42347
  case 2:
42305
42348
  _yield$import = _context3.sent;
42306
42349
  Host3DSignalR = _yield$import["default"];
@@ -42441,7 +42484,7 @@ var PlannerHandler3D = /*#__PURE__*/function () {
42441
42484
  rendering.UrlToSavedRendering = params.url;
42442
42485
  this.updatePlannerRenderingInView(rendering, true);
42443
42486
  }
42444
- LOG$4.error(new DivaError('Error when handling receive Rendering. Not waiting for new Rendering but also not in cache ' + params.hash + '; saveMode: ' + params.saveMode));
42487
+ LOG$4.warn('Error when handling receive Rendering. Not waiting for new Rendering but also not in cache ' + params.hash + '; saveMode: ' + params.saveMode);
42445
42488
  return;
42446
42489
  }
42447
42490
  if (waitedRendering) {
@@ -43958,7 +44001,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
43958
44001
  break;
43959
44002
  case 8:
43960
44003
  _context4.next = 10;
43961
- return import('./DivaStandardPlanner-6a3a3e24.js');
44004
+ return import('./DivaStandardPlanner-92fd338f.js');
43962
44005
  case 10:
43963
44006
  _yield$import = _context4.sent;
43964
44007
  DivaStandardPlanner = _yield$import["default"];
@@ -43969,7 +44012,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
43969
44012
  return _context4.abrupt("break", 21);
43970
44013
  case 15:
43971
44014
  _context4.next = 17;
43972
- return import('./DivaBoxPlanner-997f1fe9.js');
44015
+ return import('./DivaBoxPlanner-9dd745a8.js');
43973
44016
  case 17:
43974
44017
  _yield$import2 = _context4.sent;
43975
44018
  DivaBoxPlanner = _yield$import2["default"];