@crystaldesign/web-planner-logic 24.15.0-beta.20 → 24.15.0-beta.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/{DivaBoxPlanner-60276fe9.js → DivaBoxPlanner-8df05a27.js} +2 -2
- package/build/cjs/{DivaStandardPlanner-8df55520.js → DivaStandardPlanner-4feff250.js} +2 -2
- package/build/cjs/{DoorPlanner-e541a189.js → DoorPlanner-f6c4843f.js} +1 -1
- package/build/cjs/{Host3DSignalR-54e7cf6b.js → Host3DSignalR-ceb795ca.js} +1 -1
- package/build/cjs/{LiviqueWWSHandler-edaaf5ad.js → LiviqueWWSHandler-5976147e.js} +1 -1
- package/build/cjs/{PfisterWWSHandler-e57cbbf5.js → PfisterWWSHandler-9c9dd41d.js} +1 -1
- package/build/cjs/{PlannerHandler2D-202d2c32.js → PlannerHandler2D-9a39a24e.js} +1 -1
- package/build/cjs/{SeriousBasketHandler-f133ea82.js → SeriousBasketHandler-99a76472.js} +1 -1
- package/build/cjs/{ShelfPlanner-af84a77b.js → ShelfPlanner-331dca24.js} +1 -1
- package/build/cjs/{StandardWWSHandler-910afd9a.js → StandardWWSHandler-3def2f67.js} +1 -1
- package/build/cjs/{index-85eca595.js → index-211be2e6.js} +183 -189
- package/build/cjs/index.js +1 -1
- package/build/esm/{DivaBoxPlanner-b6d4ad5f.js → DivaBoxPlanner-43123b27.js} +2 -2
- package/build/esm/{DivaStandardPlanner-4fce9085.js → DivaStandardPlanner-e0b808af.js} +2 -2
- package/build/esm/{DoorPlanner-30b88009.js → DoorPlanner-09c76b89.js} +1 -1
- package/build/esm/{Host3DSignalR-a92414c4.js → Host3DSignalR-b3db6c59.js} +1 -1
- package/build/esm/{LiviqueWWSHandler-f9f3b694.js → LiviqueWWSHandler-175196ff.js} +1 -1
- package/build/esm/{PfisterWWSHandler-d90c1191.js → PfisterWWSHandler-4417a1f6.js} +1 -1
- package/build/esm/{PlannerHandler2D-d7399455.js → PlannerHandler2D-b64207dc.js} +1 -1
- package/build/esm/{SeriousBasketHandler-b7da61b8.js → SeriousBasketHandler-24b716ac.js} +1 -1
- package/build/esm/{ShelfPlanner-b340b843.js → ShelfPlanner-c547d657.js} +1 -1
- package/build/esm/{StandardWWSHandler-8d4736c2.js → StandardWWSHandler-83775bcd.js} +1 -1
- package/build/esm/{index-b94d14dd.js → index-997a3ec9.js} +183 -189
- package/build/esm/index.js +1 -1
- package/build/types/web-planner-logic/src/interface/API/ViewConfigDataType.d.ts +1 -0
- package/build/types/web-planner-logic/src/interface/API/ViewConfigDataType.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/interface/Configuration.d.ts +1 -0
- package/build/types/web-planner-logic/src/interface/Configuration.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/interface/DivaCatalogDataType.d.ts +1 -0
- package/build/types/web-planner-logic/src/interface/DivaCatalogDataType.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/Article/ArticleOptionState.d.ts +1 -1
- package/build/types/web-planner-logic/src/logic/Article/ArticleOptionState.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/Article/DivaArticle.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/Article/DivaArticleHandler.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/ConfigTree/DivaConfigTree.d.ts +3 -16
- package/build/types/web-planner-logic/src/logic/ConfigTree/DivaConfigTree.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/ConfigTree/DivaConfigTreeHandler.d.ts +1 -6
- package/build/types/web-planner-logic/src/logic/ConfigTree/DivaConfigTreeHandler.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/DivaApiHandler.d.ts +1 -1
- package/build/types/web-planner-logic/src/logic/DivaApiHandler.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/DivaWebPlanner.d.ts +1 -1
- package/build/types/web-planner-logic/src/logic/DivaWebPlanner.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/Set/DivaSet.d.ts +0 -11
- package/build/types/web-planner-logic/src/logic/Set/DivaSet.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/Set/DivaSetHandler.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/Set/FavoritesHandler.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/model/DivaCatalogData.d.ts +1 -0
- package/build/types/web-planner-logic/src/model/DivaCatalogData.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -280,11 +280,12 @@ var DivaApiHandler = /*#__PURE__*/function () {
|
|
|
280
280
|
key: "getDataCache",
|
|
281
281
|
value: function () {
|
|
282
282
|
var _getDataCache = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee3(queryString, cacheMD5, accountSessionGuid, useWebServiceApi, method, data) {
|
|
283
|
-
var
|
|
283
|
+
var _this$divaWebConfigDa, _this$divaWebConfigDa2, _this$divaWebConfigDa3;
|
|
284
|
+
var myQS, url, init, addSession, cacheHit, _this$apiConfig3, _this$apiConfig4, api2Url, result;
|
|
284
285
|
return _regeneratorRuntime__default["default"].wrap(function _callee3$(_context3) {
|
|
285
286
|
while (1) switch (_context3.prev = _context3.next) {
|
|
286
287
|
case 0:
|
|
287
|
-
myQS = DivaUtils.md5(queryString.toLowerCase()).toUpperCase();
|
|
288
|
+
myQS = DivaUtils.md5(queryString.toLowerCase() + ((_this$divaWebConfigDa = this.divaWebConfigData) !== null && _this$divaWebConfigDa !== void 0 && _this$divaWebConfigDa.addOrganizationIdToCacheKey ? this.OrganizationId : '')).toUpperCase();
|
|
288
289
|
url = this.apiUrl(queryString, useWebServiceApi);
|
|
289
290
|
init = {
|
|
290
291
|
method: method,
|
|
@@ -292,80 +293,82 @@ var DivaApiHandler = /*#__PURE__*/function () {
|
|
|
292
293
|
data: data !== null && data !== void 0 ? data : {}
|
|
293
294
|
};
|
|
294
295
|
addSession = true;
|
|
295
|
-
|
|
296
|
-
|
|
296
|
+
cacheHit = this.jsonDataCache.get(myQS);
|
|
297
|
+
if (!cacheHit) {
|
|
298
|
+
_context3.next = 8;
|
|
297
299
|
break;
|
|
298
300
|
}
|
|
299
301
|
LOG$h.debug('getDataFromInternalCache: ' + queryString);
|
|
300
|
-
|
|
301
|
-
|
|
302
|
+
return _context3.abrupt("return", cacheHit);
|
|
303
|
+
case 8:
|
|
304
|
+
if (!(cacheMD5 && this.jsonDataCache.get(cacheMD5) && !((_this$divaWebConfigDa2 = this.divaWebConfigData) !== null && _this$divaWebConfigDa2 !== void 0 && _this$divaWebConfigDa2.addOrganizationIdToCacheKey))) {
|
|
305
|
+
_context3.next = 11;
|
|
302
306
|
break;
|
|
303
307
|
}
|
|
304
|
-
|
|
305
|
-
case 8:
|
|
308
|
+
LOG$h.debug('getDataFromInternalCache: ' + queryString);
|
|
306
309
|
return _context3.abrupt("return", this.jsonDataCache.get(cacheMD5));
|
|
307
|
-
case
|
|
310
|
+
case 11:
|
|
308
311
|
if (!addSession) {
|
|
309
|
-
_context3.next =
|
|
312
|
+
_context3.next = 33;
|
|
310
313
|
break;
|
|
311
314
|
}
|
|
312
315
|
if (!useWebServiceApi) {
|
|
313
|
-
_context3.next =
|
|
316
|
+
_context3.next = 24;
|
|
314
317
|
break;
|
|
315
318
|
}
|
|
316
319
|
if (!this.jwt) {
|
|
317
|
-
_context3.next =
|
|
320
|
+
_context3.next = 17;
|
|
318
321
|
break;
|
|
319
322
|
}
|
|
320
323
|
init.config.headers = {
|
|
321
324
|
Authorization: 'Bearer ' + this.jwt
|
|
322
325
|
};
|
|
323
|
-
_context3.next =
|
|
326
|
+
_context3.next = 22;
|
|
324
327
|
break;
|
|
325
|
-
case
|
|
328
|
+
case 17:
|
|
326
329
|
if (!this.apiKey) {
|
|
327
|
-
_context3.next =
|
|
330
|
+
_context3.next = 21;
|
|
328
331
|
break;
|
|
329
332
|
}
|
|
330
333
|
init.config.headers = {
|
|
331
334
|
'X-API-KEY': this.apiKey
|
|
332
335
|
};
|
|
333
|
-
_context3.next =
|
|
336
|
+
_context3.next = 22;
|
|
334
337
|
break;
|
|
335
|
-
case
|
|
338
|
+
case 21:
|
|
336
339
|
throw new Error('not jwt or API Key Found');
|
|
337
|
-
case 20:
|
|
338
|
-
_context3.next = 31;
|
|
339
|
-
break;
|
|
340
340
|
case 22:
|
|
341
|
+
_context3.next = 33;
|
|
342
|
+
break;
|
|
343
|
+
case 24:
|
|
341
344
|
api2Url = (_this$apiConfig3 = this.apiConfig) === null || _this$apiConfig3 === void 0 ? void 0 : _this$apiConfig3.api2["default"];
|
|
342
345
|
if (this.getApplicationEnvironment() == 'WEB' && (_this$apiConfig4 = this.apiConfig) !== null && _this$apiConfig4 !== void 0 && _this$apiConfig4.api2.web) {
|
|
343
346
|
api2Url = this.apiConfig.api2.web;
|
|
344
347
|
}
|
|
345
348
|
_context3.t0 = accountSessionGuid;
|
|
346
349
|
if (_context3.t0) {
|
|
347
|
-
_context3.next =
|
|
350
|
+
_context3.next = 31;
|
|
348
351
|
break;
|
|
349
352
|
}
|
|
350
|
-
_context3.next =
|
|
353
|
+
_context3.next = 30;
|
|
351
354
|
return this.getSessionGuid('V', undefined, this.OrganizationId, api2Url);
|
|
352
|
-
case
|
|
355
|
+
case 30:
|
|
353
356
|
_context3.t0 = _context3.sent;
|
|
354
|
-
case
|
|
357
|
+
case 31:
|
|
355
358
|
_context3.t1 = _context3.t0;
|
|
356
359
|
init.config.headers = {
|
|
357
360
|
sessionGuid: _context3.t1
|
|
358
361
|
};
|
|
359
|
-
case 31:
|
|
360
|
-
_context3.next = 33;
|
|
361
|
-
return this.fetchData(url, init);
|
|
362
362
|
case 33:
|
|
363
|
+
_context3.next = 35;
|
|
364
|
+
return this.fetchData(url, init);
|
|
365
|
+
case 35:
|
|
363
366
|
result = _context3.sent;
|
|
364
367
|
if (method !== 'POST') this.jsonDataCache.set(myQS, result);
|
|
365
|
-
if (cacheMD5) this.jsonDataCache.set(cacheMD5, result);
|
|
368
|
+
if (cacheMD5 && !((_this$divaWebConfigDa3 = this.divaWebConfigData) !== null && _this$divaWebConfigDa3 !== void 0 && _this$divaWebConfigDa3.addOrganizationIdToCacheKey)) this.jsonDataCache.set(cacheMD5, result);
|
|
366
369
|
LOG$h.debug('getDataFromApi: ' + queryString);
|
|
367
370
|
return _context3.abrupt("return", result);
|
|
368
|
-
case
|
|
371
|
+
case 40:
|
|
369
372
|
case "end":
|
|
370
373
|
return _context3.stop();
|
|
371
374
|
}
|
|
@@ -449,7 +452,8 @@ var DivaApiHandler = /*#__PURE__*/function () {
|
|
|
449
452
|
dontLoadAdditionalModelInfos: data.dontLoadAdditionalModelInfos,
|
|
450
453
|
arViewerUrl: data.arViewerUrl,
|
|
451
454
|
useMask: data.useMask,
|
|
452
|
-
loadProductBasketParams: data.loadProductBasketParams
|
|
455
|
+
loadProductBasketParams: data.loadProductBasketParams,
|
|
456
|
+
addOrganizationIdToCacheKey: data.addOrganizationIdToCacheKey
|
|
453
457
|
};
|
|
454
458
|
}
|
|
455
459
|
}, {
|
|
@@ -485,8 +489,8 @@ var DivaApiHandler = /*#__PURE__*/function () {
|
|
|
485
489
|
}, {
|
|
486
490
|
key: "getLoadProductBasketParams",
|
|
487
491
|
value: function getLoadProductBasketParams() {
|
|
488
|
-
var _this$
|
|
489
|
-
return (_this$
|
|
492
|
+
var _this$divaWebConfigDa4;
|
|
493
|
+
return (_this$divaWebConfigDa4 = this.divaWebConfigData) === null || _this$divaWebConfigDa4 === void 0 ? void 0 : _this$divaWebConfigDa4.loadProductBasketParams;
|
|
490
494
|
}
|
|
491
495
|
}, {
|
|
492
496
|
key: "get3DServerUrl",
|
|
@@ -497,26 +501,26 @@ var DivaApiHandler = /*#__PURE__*/function () {
|
|
|
497
501
|
}, {
|
|
498
502
|
key: "doCheckForProductsPrice",
|
|
499
503
|
value: function doCheckForProductsPrice() {
|
|
500
|
-
var _this$
|
|
501
|
-
return (_this$
|
|
504
|
+
var _this$divaWebConfigDa5;
|
|
505
|
+
return (_this$divaWebConfigDa5 = this.divaWebConfigData) === null || _this$divaWebConfigDa5 === void 0 ? void 0 : _this$divaWebConfigDa5.checkForProductsPrice;
|
|
502
506
|
}
|
|
503
507
|
}, {
|
|
504
508
|
key: "doCheckForProductsMatch",
|
|
505
509
|
value: function doCheckForProductsMatch() {
|
|
506
|
-
var _this$
|
|
507
|
-
return (_this$
|
|
510
|
+
var _this$divaWebConfigDa6;
|
|
511
|
+
return (_this$divaWebConfigDa6 = this.divaWebConfigData) === null || _this$divaWebConfigDa6 === void 0 ? void 0 : _this$divaWebConfigDa6.checkForProductsMatch;
|
|
508
512
|
}
|
|
509
513
|
}, {
|
|
510
514
|
key: "getReportConfigIdentifier",
|
|
511
515
|
value: function getReportConfigIdentifier() {
|
|
512
|
-
var _this$
|
|
513
|
-
return (_this$
|
|
516
|
+
var _this$divaWebConfigDa7;
|
|
517
|
+
return (_this$divaWebConfigDa7 = this.divaWebConfigData) === null || _this$divaWebConfigDa7 === void 0 ? void 0 : _this$divaWebConfigDa7.reportConfigIdentifier;
|
|
514
518
|
}
|
|
515
519
|
}, {
|
|
516
520
|
key: "getPrintOptions",
|
|
517
521
|
value: function getPrintOptions() {
|
|
518
|
-
var _this$
|
|
519
|
-
var reportConfig = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : (_this$
|
|
522
|
+
var _this$divaWebConfigDa8;
|
|
523
|
+
var reportConfig = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : (_this$divaWebConfigDa8 = this.divaWebConfigData) === null || _this$divaWebConfigDa8 === void 0 ? void 0 : _this$divaWebConfigDa8.reportConfig;
|
|
520
524
|
return {
|
|
521
525
|
Gdpr: !!(reportConfig !== null && reportConfig !== void 0 && reportConfig.printWithGDPR),
|
|
522
526
|
PlanningSketch: !!(reportConfig !== null && reportConfig !== void 0 && reportConfig.printWithPlanningSketch),
|
|
@@ -536,8 +540,8 @@ var DivaApiHandler = /*#__PURE__*/function () {
|
|
|
536
540
|
}, {
|
|
537
541
|
key: "get3DRenderGroup",
|
|
538
542
|
value: function get3DRenderGroup() {
|
|
539
|
-
var _this$
|
|
540
|
-
return (_this$
|
|
543
|
+
var _this$divaWebConfigDa9, _this$divaWebConfigDa10;
|
|
544
|
+
return (_this$divaWebConfigDa9 = (_this$divaWebConfigDa10 = this.divaWebConfigData) === null || _this$divaWebConfigDa10 === void 0 ? void 0 : _this$divaWebConfigDa10.diva3dRenderGroup) !== null && _this$divaWebConfigDa9 !== void 0 ? _this$divaWebConfigDa9 : '';
|
|
541
545
|
}
|
|
542
546
|
}, {
|
|
543
547
|
key: "getServerId",
|
|
@@ -574,32 +578,32 @@ var DivaApiHandler = /*#__PURE__*/function () {
|
|
|
574
578
|
}, {
|
|
575
579
|
key: "getDiva3dStaticBGImage",
|
|
576
580
|
value: function getDiva3dStaticBGImage() {
|
|
577
|
-
var _this$
|
|
578
|
-
return (_this$
|
|
581
|
+
var _this$divaWebConfigDa11;
|
|
582
|
+
return (_this$divaWebConfigDa11 = this.divaWebConfigData) === null || _this$divaWebConfigDa11 === void 0 ? void 0 : _this$divaWebConfigDa11.diva3dStaticBGImage;
|
|
579
583
|
}
|
|
580
584
|
}, {
|
|
581
585
|
key: "getDiva3dStaticBGImage_DefaultRoomList",
|
|
582
586
|
value: function getDiva3dStaticBGImage_DefaultRoomList() {
|
|
583
|
-
var _this$
|
|
584
|
-
return ((_this$
|
|
587
|
+
var _this$divaWebConfigDa12, _this$divaWebConfigDa13;
|
|
588
|
+
return ((_this$divaWebConfigDa12 = this.divaWebConfigData) === null || _this$divaWebConfigDa12 === void 0 ? void 0 : _this$divaWebConfigDa12.diva3dStaticBGImage_DefaultRoomList) == '' ? '3D_STATBG_ROOMLIST' : (_this$divaWebConfigDa13 = this.divaWebConfigData) === null || _this$divaWebConfigDa13 === void 0 ? void 0 : _this$divaWebConfigDa13.diva3dStaticBGImage_DefaultRoomList;
|
|
585
589
|
}
|
|
586
590
|
}, {
|
|
587
591
|
key: "getDiva3DAllowDefaultCatRoomList",
|
|
588
592
|
value: function getDiva3DAllowDefaultCatRoomList() {
|
|
589
|
-
var _this$
|
|
590
|
-
return (_this$
|
|
593
|
+
var _this$divaWebConfigDa14;
|
|
594
|
+
return (_this$divaWebConfigDa14 = this.divaWebConfigData) === null || _this$divaWebConfigDa14 === void 0 ? void 0 : _this$divaWebConfigDa14.diva3DAllowDefaultCatRoomList;
|
|
591
595
|
}
|
|
592
596
|
}, {
|
|
593
597
|
key: "doAllowSetPlanner",
|
|
594
598
|
value: function doAllowSetPlanner() {
|
|
595
|
-
var _this$
|
|
596
|
-
return (_this$
|
|
599
|
+
var _this$divaWebConfigDa15;
|
|
600
|
+
return (_this$divaWebConfigDa15 = this.divaWebConfigData) === null || _this$divaWebConfigDa15 === void 0 ? void 0 : _this$divaWebConfigDa15.doAllowSetPlanner;
|
|
597
601
|
}
|
|
598
602
|
}, {
|
|
599
603
|
key: "getHidePlanner",
|
|
600
604
|
value: function getHidePlanner() {
|
|
601
|
-
var _this$
|
|
602
|
-
return !!((_this$
|
|
605
|
+
var _this$divaWebConfigDa16;
|
|
606
|
+
return !!((_this$divaWebConfigDa16 = this.divaWebConfigData) !== null && _this$divaWebConfigDa16 !== void 0 && (_this$divaWebConfigDa16 = _this$divaWebConfigDa16.viewConfig) !== null && _this$divaWebConfigDa16 !== void 0 && _this$divaWebConfigDa16.hidePlanner);
|
|
603
607
|
}
|
|
604
608
|
}, {
|
|
605
609
|
key: "getEnableRTVUnityKombi",
|
|
@@ -610,32 +614,32 @@ var DivaApiHandler = /*#__PURE__*/function () {
|
|
|
610
614
|
}, {
|
|
611
615
|
key: "getDoDisablePlanner2D",
|
|
612
616
|
value: function getDoDisablePlanner2D() {
|
|
613
|
-
var _this$
|
|
614
|
-
return !!((_this$
|
|
617
|
+
var _this$divaWebConfigDa17;
|
|
618
|
+
return !!((_this$divaWebConfigDa17 = this.divaWebConfigData) !== null && _this$divaWebConfigDa17 !== void 0 && _this$divaWebConfigDa17.doDisablePlanner2D);
|
|
615
619
|
}
|
|
616
620
|
}, {
|
|
617
621
|
key: "getRoomListInProduct",
|
|
618
622
|
value: function getRoomListInProduct() {
|
|
619
|
-
var _this$
|
|
620
|
-
return !!((_this$
|
|
623
|
+
var _this$divaWebConfigDa18;
|
|
624
|
+
return !!((_this$divaWebConfigDa18 = this.divaWebConfigData) !== null && _this$divaWebConfigDa18 !== void 0 && (_this$divaWebConfigDa18 = _this$divaWebConfigDa18.viewConfig) !== null && _this$divaWebConfigDa18 !== void 0 && _this$divaWebConfigDa18.roomListInProduct);
|
|
621
625
|
}
|
|
622
626
|
}, {
|
|
623
627
|
key: "getPlannerType",
|
|
624
628
|
value: function getPlannerType() {
|
|
625
|
-
var _this$
|
|
626
|
-
return (_this$
|
|
629
|
+
var _this$divaWebConfigDa19;
|
|
630
|
+
return (_this$divaWebConfigDa19 = this.divaWebConfigData) === null || _this$divaWebConfigDa19 === void 0 || (_this$divaWebConfigDa19 = _this$divaWebConfigDa19.viewConfig) === null || _this$divaWebConfigDa19 === void 0 ? void 0 : _this$divaWebConfigDa19.plannerType;
|
|
627
631
|
}
|
|
628
632
|
}, {
|
|
629
633
|
key: "getLoadSupplierColors",
|
|
630
634
|
value: function getLoadSupplierColors() {
|
|
631
|
-
var _this$
|
|
632
|
-
return !!((_this$
|
|
635
|
+
var _this$divaWebConfigDa20;
|
|
636
|
+
return !!((_this$divaWebConfigDa20 = this.divaWebConfigData) !== null && _this$divaWebConfigDa20 !== void 0 && _this$divaWebConfigDa20.loadSupplierColors);
|
|
633
637
|
}
|
|
634
638
|
}, {
|
|
635
639
|
key: "showSelectionModeZero",
|
|
636
640
|
value: function showSelectionModeZero() {
|
|
637
|
-
var _this$
|
|
638
|
-
return !!((_this$
|
|
641
|
+
var _this$divaWebConfigDa21;
|
|
642
|
+
return !!((_this$divaWebConfigDa21 = this.divaWebConfigData) !== null && _this$divaWebConfigDa21 !== void 0 && _this$divaWebConfigDa21.showSelectionModeZero);
|
|
639
643
|
}
|
|
640
644
|
}, {
|
|
641
645
|
key: "ruleDescSeperator",
|
|
@@ -743,50 +747,50 @@ var DivaApiHandler = /*#__PURE__*/function () {
|
|
|
743
747
|
}, {
|
|
744
748
|
key: "getViewConfig",
|
|
745
749
|
value: function getViewConfig() {
|
|
746
|
-
var _this$
|
|
747
|
-
return (_this$
|
|
750
|
+
var _this$divaWebConfigDa22;
|
|
751
|
+
return (_this$divaWebConfigDa22 = this.divaWebConfigData) === null || _this$divaWebConfigDa22 === void 0 ? void 0 : _this$divaWebConfigDa22.viewConfig;
|
|
748
752
|
}
|
|
749
753
|
}, {
|
|
750
754
|
key: "getEmailConfig",
|
|
751
755
|
value: function getEmailConfig() {
|
|
752
|
-
var _this$
|
|
753
|
-
return (_this$
|
|
756
|
+
var _this$divaWebConfigDa23;
|
|
757
|
+
return (_this$divaWebConfigDa23 = this.divaWebConfigData) === null || _this$divaWebConfigDa23 === void 0 ? void 0 : _this$divaWebConfigDa23.emailConfig;
|
|
754
758
|
}
|
|
755
759
|
}, {
|
|
756
760
|
key: "getABTestCases",
|
|
757
761
|
value: function getABTestCases() {
|
|
758
|
-
var _this$
|
|
759
|
-
return (_this$
|
|
762
|
+
var _this$divaWebConfigDa24, _this$divaWebConfigDa25;
|
|
763
|
+
return (_this$divaWebConfigDa24 = (_this$divaWebConfigDa25 = this.divaWebConfigData) === null || _this$divaWebConfigDa25 === void 0 ? void 0 : _this$divaWebConfigDa25.abTestCases) !== null && _this$divaWebConfigDa24 !== void 0 ? _this$divaWebConfigDa24 : [];
|
|
760
764
|
}
|
|
761
765
|
}, {
|
|
762
766
|
key: "getBarrierConfig",
|
|
763
767
|
value: function getBarrierConfig() {
|
|
764
|
-
var _this$
|
|
765
|
-
return (_this$
|
|
768
|
+
var _this$divaWebConfigDa26;
|
|
769
|
+
return (_this$divaWebConfigDa26 = this.divaWebConfigData) === null || _this$divaWebConfigDa26 === void 0 ? void 0 : _this$divaWebConfigDa26.barrierConfig;
|
|
766
770
|
}
|
|
767
771
|
}, {
|
|
768
772
|
key: "getTemplateConfig",
|
|
769
773
|
value: function getTemplateConfig() {
|
|
770
|
-
var _this$
|
|
771
|
-
return (_this$
|
|
774
|
+
var _this$divaWebConfigDa27;
|
|
775
|
+
return (_this$divaWebConfigDa27 = this.divaWebConfigData) === null || _this$divaWebConfigDa27 === void 0 ? void 0 : _this$divaWebConfigDa27.templateConfig;
|
|
772
776
|
}
|
|
773
777
|
}, {
|
|
774
778
|
key: "showDivaNr",
|
|
775
779
|
value: function showDivaNr() {
|
|
776
|
-
var _this$
|
|
777
|
-
return (_this$
|
|
780
|
+
var _this$divaWebConfigDa28;
|
|
781
|
+
return (_this$divaWebConfigDa28 = this.divaWebConfigData) === null || _this$divaWebConfigDa28 === void 0 ? void 0 : _this$divaWebConfigDa28.showDivaNr;
|
|
778
782
|
}
|
|
779
783
|
}, {
|
|
780
784
|
key: "onErrorHandling",
|
|
781
785
|
value: function onErrorHandling() {
|
|
782
|
-
var _this$
|
|
783
|
-
return (_this$
|
|
786
|
+
var _this$divaWebConfigDa29;
|
|
787
|
+
return (_this$divaWebConfigDa29 = this.divaWebConfigData) === null || _this$divaWebConfigDa29 === void 0 ? void 0 : _this$divaWebConfigDa29.onErrorHandling;
|
|
784
788
|
}
|
|
785
789
|
}, {
|
|
786
790
|
key: "diva3DRenderingDefault",
|
|
787
791
|
value: function diva3DRenderingDefault() {
|
|
788
|
-
var _this$
|
|
789
|
-
return (_this$
|
|
792
|
+
var _this$divaWebConfigDa30;
|
|
793
|
+
return (_this$divaWebConfigDa30 = this.divaWebConfigData) === null || _this$divaWebConfigDa30 === void 0 ? void 0 : _this$divaWebConfigDa30.diva3DRenderingDefault;
|
|
790
794
|
}
|
|
791
795
|
}, {
|
|
792
796
|
key: "getJwt",
|
|
@@ -801,8 +805,8 @@ var DivaApiHandler = /*#__PURE__*/function () {
|
|
|
801
805
|
}, {
|
|
802
806
|
key: "getUseMask",
|
|
803
807
|
value: function getUseMask() {
|
|
804
|
-
var _this$
|
|
805
|
-
return (_this$
|
|
808
|
+
var _this$divaWebConfigDa31;
|
|
809
|
+
return (_this$divaWebConfigDa31 = this.divaWebConfigData) === null || _this$divaWebConfigDa31 === void 0 ? void 0 : _this$divaWebConfigDa31.useMask;
|
|
806
810
|
}
|
|
807
811
|
}, {
|
|
808
812
|
key: "apiUrl",
|
|
@@ -1317,14 +1321,14 @@ var DivaApiHandler = /*#__PURE__*/function () {
|
|
|
1317
1321
|
}, {
|
|
1318
1322
|
key: "dontLoadAdditionalModelInfos",
|
|
1319
1323
|
get: function get() {
|
|
1320
|
-
var _this$
|
|
1321
|
-
return (_this$
|
|
1324
|
+
var _this$divaWebConfigDa32;
|
|
1325
|
+
return (_this$divaWebConfigDa32 = this.divaWebConfigData) === null || _this$divaWebConfigDa32 === void 0 ? void 0 : _this$divaWebConfigDa32.dontLoadAdditionalModelInfos;
|
|
1322
1326
|
}
|
|
1323
1327
|
}, {
|
|
1324
1328
|
key: "dontLoadCatalogEditorLiteMask",
|
|
1325
1329
|
get: function get() {
|
|
1326
|
-
var _this$
|
|
1327
|
-
return (_this$
|
|
1330
|
+
var _this$divaWebConfigDa33;
|
|
1331
|
+
return (_this$divaWebConfigDa33 = this.divaWebConfigData) === null || _this$divaWebConfigDa33 === void 0 ? void 0 : _this$divaWebConfigDa33.dontLoadCatalogEditorLiteMask;
|
|
1328
1332
|
}
|
|
1329
1333
|
}, {
|
|
1330
1334
|
key: "OrganizationId",
|
|
@@ -18325,6 +18329,8 @@ var DivaCatalogData = /*#__PURE__*/function () {
|
|
|
18325
18329
|
usePosCountValue: false,
|
|
18326
18330
|
// old tag
|
|
18327
18331
|
useDecisionPosCountValue: false,
|
|
18332
|
+
ignoreIsDefinedCheck: false,
|
|
18333
|
+
// if true, on summary click does not check and show the dialob that some articles have options that were not visited
|
|
18328
18334
|
useShelfPlannerRTV: false,
|
|
18329
18335
|
notificationsRules: [{
|
|
18330
18336
|
rules: [{
|
|
@@ -18668,6 +18674,8 @@ var DivaCatalogData = /*#__PURE__*/function () {
|
|
|
18668
18674
|
_this.catalogData.ignoreMaxPriceAsBP = item.Value == '1';
|
|
18669
18675
|
} else if (item.Codex == 'DONT_USE_VCODEX_FOR_BASKET') {
|
|
18670
18676
|
_this.catalogData.dontUseVCodexInBasket = item.Value == '1';
|
|
18677
|
+
} else if (item.Codex == 'IGNORE_ISDEFINED_CHECK') {
|
|
18678
|
+
_this.catalogData.ignoreIsDefinedCheck = item.Value == '1';
|
|
18671
18679
|
}
|
|
18672
18680
|
|
|
18673
18681
|
//HOTFIX wied später ausgebaut Philipp mus Properties in der Artikelliste ausgeben
|
|
@@ -19430,6 +19438,11 @@ var DivaCatalogData = /*#__PURE__*/function () {
|
|
|
19430
19438
|
get: function get() {
|
|
19431
19439
|
return this.catalogData.useBoxPlanner;
|
|
19432
19440
|
}
|
|
19441
|
+
}, {
|
|
19442
|
+
key: "ignoreIsDefinedCheck",
|
|
19443
|
+
get: function get() {
|
|
19444
|
+
return this.catalogData.ignoreIsDefinedCheck;
|
|
19445
|
+
}
|
|
19433
19446
|
}, {
|
|
19434
19447
|
key: "startPlannerArticle",
|
|
19435
19448
|
get: function get() {
|
|
@@ -20010,9 +20023,9 @@ var ArticleOptionStateData = /*#__PURE__*/function () {
|
|
|
20010
20023
|
key: "multiselectValCodex",
|
|
20011
20024
|
get: function get() {
|
|
20012
20025
|
var _this$multiSelects$ma, _this$multiSelects2;
|
|
20013
|
-
return (_this$multiSelects$ma = (_this$multiSelects2 = this.multiSelects) === null || _this$multiSelects2 === void 0 ? void 0 : _this$multiSelects2.map(function (v) {
|
|
20026
|
+
return [this.valCodex].concat(_toConsumableArray__default["default"]((_this$multiSelects$ma = (_this$multiSelects2 = this.multiSelects) === null || _this$multiSelects2 === void 0 ? void 0 : _this$multiSelects2.map(function (v) {
|
|
20014
20027
|
return v.codex;
|
|
20015
|
-
})) !== null && _this$multiSelects$ma !== void 0 ? _this$multiSelects$ma : [];
|
|
20028
|
+
})) !== null && _this$multiSelects$ma !== void 0 ? _this$multiSelects$ma : []));
|
|
20016
20029
|
}
|
|
20017
20030
|
}, {
|
|
20018
20031
|
key: "measureValue",
|
|
@@ -21984,6 +21997,7 @@ var DivaArticle = /*#__PURE__*/function () {
|
|
|
21984
21997
|
}, {
|
|
21985
21998
|
key: "areAllOptionsDefined",
|
|
21986
21999
|
get: function get() {
|
|
22000
|
+
if (this.CatalogData.ignoreIsDefinedCheck) return true;
|
|
21987
22001
|
for (var key in this.articleOptionStates) {
|
|
21988
22002
|
if (!this.articleOptionStates[key].isDefined) {
|
|
21989
22003
|
return false;
|
|
@@ -23710,7 +23724,7 @@ var DivaArticle = /*#__PURE__*/function () {
|
|
|
23710
23724
|
break;
|
|
23711
23725
|
}
|
|
23712
23726
|
_context.next = 4;
|
|
23713
|
-
return Promise.resolve().then(function () { return require('./ShelfPlanner-
|
|
23727
|
+
return Promise.resolve().then(function () { return require('./ShelfPlanner-331dca24.js'); });
|
|
23714
23728
|
case 4:
|
|
23715
23729
|
_yield$import = _context.sent;
|
|
23716
23730
|
ShelfPlanner = _yield$import["default"];
|
|
@@ -24103,7 +24117,7 @@ var DivaArticle = /*#__PURE__*/function () {
|
|
|
24103
24117
|
}
|
|
24104
24118
|
}
|
|
24105
24119
|
for (var _key3 in myValues) {
|
|
24106
|
-
var ops = this.
|
|
24120
|
+
var ops = this.getArticleOptionState(_key3);
|
|
24107
24121
|
var opv = ops === null || ops === void 0 ? void 0 : ops.visibleOptionValues[myValues[_key3]];
|
|
24108
24122
|
if (opv) {
|
|
24109
24123
|
var value = opv.setConfig;
|
|
@@ -24135,7 +24149,7 @@ var DivaArticle = /*#__PURE__*/function () {
|
|
|
24135
24149
|
var _ops7 = this.getArticleOptionState(_key4);
|
|
24136
24150
|
if (_ops7) {
|
|
24137
24151
|
validValues[_key4] = myValues[_key4];
|
|
24138
|
-
} else if (_key4.endsWith('_val') && this.
|
|
24152
|
+
} else if (_key4.endsWith('_val') && this.getArticleOptionState(_key4.replace(/_val/g, ''))) {
|
|
24139
24153
|
validValues[_key4] = myValues[_key4];
|
|
24140
24154
|
} else {
|
|
24141
24155
|
for (var _opt in this.articleOptionStates) {
|
|
@@ -26688,15 +26702,16 @@ var DivaConfigTreeData = /*#__PURE__*/function () {
|
|
|
26688
26702
|
}
|
|
26689
26703
|
}, {
|
|
26690
26704
|
key: "getCurPaletteType",
|
|
26691
|
-
value: function getCurPaletteType(set, configStepKey
|
|
26705
|
+
value: function getCurPaletteType(set, configStepKey) {
|
|
26692
26706
|
var _set$api$ReturnToFrom;
|
|
26693
26707
|
var step = this.getAllByKey(configStepKey);
|
|
26694
26708
|
var configStep = step === null || step === void 0 ? void 0 : step.configStep;
|
|
26695
26709
|
var optionStep = step === null || step === void 0 ? void 0 : step.optionStep;
|
|
26696
26710
|
var paletteType = 'SMALL';
|
|
26697
26711
|
if (configStep && optionStep) {
|
|
26698
|
-
var
|
|
26699
|
-
|
|
26712
|
+
var _set$getDivaArticles$;
|
|
26713
|
+
var optionState = (_set$getDivaArticles$ = set.getDivaArticles()[configStep.targetArticles[0]]) === null || _set$getDivaArticles$ === void 0 ? void 0 : _set$getDivaArticles$.getArticleOptionState(configStep.option);
|
|
26714
|
+
if (configStep.option == 'OPTVINYL' || configStep.option == 'OPTVINYL_1' || configStep.option == 'OPTFABRIC' || configStep.option == 'OPTBE' || configStep.option == 'OPTBE_AUSSEN' || configStep.option == 'OPTBE_INNEN' || configStep.option == 'OPTBE_PANEELE' || configStep.option == 'OPTMATRATZE_BE' || configStep.option == 'OPTBE_UG' || configStep.option == 'OPTBEZUG' || configStep.option == 'OPTKO' || configStep.option == 'OPTFR' || configStep.option == 'OPTNI' || configStep.option == 'OPTUF_FA' || configStep.option == 'OPTBE_NETZ' || configStep.option == 'OPTBE_AL' || configStep.option == 'OPTKISSEN_BE' || configStep.option == 'OPTKP_BE' || configStep.option == 'OPTARM_BE' || configStep.option == 'OPTBE_KT' || configStep.option == 'OPT3' || configStep.option == 'OPT5' || configStep.option == 'OPTBE_KNOEPFE' || configStep.option == 'OPTSK_FARBE' || configStep.option == 'OPTBANDFARBE' || configStep.option == 'OPTBE_BOX' || configStep.option == 'OPTMA_AF_BE' || configStep.option == 'OPTTOPPER_BE' || optionState !== null && optionState !== void 0 && optionState.option.hasOPG && optionState.hasImages || optionStep.mergesToOPG) {
|
|
26700
26715
|
paletteType = 'GAL';
|
|
26701
26716
|
}
|
|
26702
26717
|
if (configStep.option == 'OPTBA' && !optionState.option.layout) {
|
|
@@ -26730,7 +26745,7 @@ var DivaConfigTreeData = /*#__PURE__*/function () {
|
|
|
26730
26745
|
}
|
|
26731
26746
|
}, {
|
|
26732
26747
|
key: "getStepInfo",
|
|
26733
|
-
value: function getStepInfo(configStepKey
|
|
26748
|
+
value: function getStepInfo(configStepKey) {
|
|
26734
26749
|
var allSteps = this.getAllByKey(configStepKey);
|
|
26735
26750
|
if (allSteps !== null && allSteps !== void 0 && allSteps.optionStep) ;
|
|
26736
26751
|
if (allSteps !== null && allSteps !== void 0 && allSteps.configStep.warning) return allSteps.configStep.warning;
|
|
@@ -26762,7 +26777,7 @@ var DivaConfigTreeData = /*#__PURE__*/function () {
|
|
|
26762
26777
|
}
|
|
26763
26778
|
}, {
|
|
26764
26779
|
key: "getCurFilterType",
|
|
26765
|
-
value: function getCurFilterType(configStepKey,
|
|
26780
|
+
value: function getCurFilterType(configStepKey, confgiItems) {
|
|
26766
26781
|
var configStep = this.getConfigStepByKey(configStepKey);
|
|
26767
26782
|
var filterType = '';
|
|
26768
26783
|
if (configStep) {
|
|
@@ -27053,7 +27068,6 @@ var DivaSet = /*#__PURE__*/function () {
|
|
|
27053
27068
|
_defineProperty__default["default"](this, "setId", void 0);
|
|
27054
27069
|
_defineProperty__default["default"](this, "_isActSet", false);
|
|
27055
27070
|
_defineProperty__default["default"](this, "setData", void 0);
|
|
27056
|
-
_defineProperty__default["default"](this, "_onlyCalcVariants", void 0);
|
|
27057
27071
|
_defineProperty__default["default"](this, "divaArticles", void 0);
|
|
27058
27072
|
//Schlüssel ist basketId
|
|
27059
27073
|
_defineProperty__default["default"](this, "configSingleData", void 0);
|
|
@@ -27844,16 +27858,6 @@ var DivaSet = /*#__PURE__*/function () {
|
|
|
27844
27858
|
value: function addArticle(newArticle) {
|
|
27845
27859
|
this.divaArticles[newArticle.basketId] = newArticle;
|
|
27846
27860
|
}
|
|
27847
|
-
}, {
|
|
27848
|
-
key: "getOptionStatesOfArticles",
|
|
27849
|
-
value: function getOptionStatesOfArticles() {
|
|
27850
|
-
var articles = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.divaArticles;
|
|
27851
|
-
var ret = {};
|
|
27852
|
-
for (var key in articles) {
|
|
27853
|
-
ret[key] = articles[key].articleOptionStates;
|
|
27854
|
-
}
|
|
27855
|
-
return ret;
|
|
27856
|
-
}
|
|
27857
27861
|
}, {
|
|
27858
27862
|
key: "sortDivaArticlesByArticlePosNr",
|
|
27859
27863
|
value: function sortDivaArticlesByArticlePosNr() {
|
|
@@ -28237,7 +28241,7 @@ var DivaSet = /*#__PURE__*/function () {
|
|
|
28237
28241
|
break;
|
|
28238
28242
|
}
|
|
28239
28243
|
_context4.next = 3;
|
|
28240
|
-
return Promise.resolve().then(function () { return require('./DoorPlanner-
|
|
28244
|
+
return Promise.resolve().then(function () { return require('./DoorPlanner-f6c4843f.js'); });
|
|
28241
28245
|
case 3:
|
|
28242
28246
|
_yield$import = _context4.sent;
|
|
28243
28247
|
DoorPlanner = _yield$import["default"];
|
|
@@ -28302,14 +28306,6 @@ var DivaSet = /*#__PURE__*/function () {
|
|
|
28302
28306
|
get: function get() {
|
|
28303
28307
|
return this.setState;
|
|
28304
28308
|
}
|
|
28305
|
-
}, {
|
|
28306
|
-
key: "onlyCalcVariants",
|
|
28307
|
-
get: function get() {
|
|
28308
|
-
return this._onlyCalcVariants;
|
|
28309
|
-
},
|
|
28310
|
-
set: function set(val) {
|
|
28311
|
-
this._onlyCalcVariants = val;
|
|
28312
|
-
}
|
|
28313
28309
|
|
|
28314
28310
|
/**
|
|
28315
28311
|
*
|
|
@@ -29761,7 +29757,7 @@ var DivaFavoritesHandler = /*#__PURE__*/function () {
|
|
|
29761
29757
|
key: "getValidVariants",
|
|
29762
29758
|
value: function () {
|
|
29763
29759
|
var _getValidVariants = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee3(set, useCache) {
|
|
29764
|
-
var allvariants, validVariants, i
|
|
29760
|
+
var allvariants, validVariants, i;
|
|
29765
29761
|
return _regeneratorRuntime__default["default"].wrap(function _callee3$(_context4) {
|
|
29766
29762
|
while (1) switch (_context4.prev = _context4.next) {
|
|
29767
29763
|
case 0:
|
|
@@ -29781,11 +29777,7 @@ var DivaFavoritesHandler = /*#__PURE__*/function () {
|
|
|
29781
29777
|
allvariants = _context4.t0;
|
|
29782
29778
|
validVariants = [];
|
|
29783
29779
|
for (i = 0; i < allvariants.length; i++) {
|
|
29784
|
-
if (!set.disabledVariants.includes(allvariants[i].id))
|
|
29785
|
-
if (!((_set$onlyCalcVariants = set.onlyCalcVariants) !== null && _set$onlyCalcVariants !== void 0 && _set$onlyCalcVariants.length) || set.onlyCalcVariants.includes(allvariants[i].id)) {
|
|
29786
|
-
validVariants.push(allvariants[i]);
|
|
29787
|
-
}
|
|
29788
|
-
}
|
|
29780
|
+
if (!set.disabledVariants.includes(allvariants[i].id)) validVariants.push(allvariants[i]);
|
|
29789
29781
|
}
|
|
29790
29782
|
return _context4.abrupt("return", validVariants);
|
|
29791
29783
|
case 11:
|
|
@@ -30447,25 +30439,24 @@ var DivaConfigTreeHandler = /*#__PURE__*/function () {
|
|
|
30447
30439
|
key: "getConifgItemsForView",
|
|
30448
30440
|
value: function () {
|
|
30449
30441
|
var _getConifgItemsForView = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee(set, configStepKey) {
|
|
30450
|
-
var
|
|
30442
|
+
var articles, step, retValues, optionCodex, configItems, selectedItems, optionState, key, _configItem$parent$oc, configItem, configItemsInOPG, retVal, _retVal, configStepOPG, configStepOPV, targetArticle, opg, ops, selectedOpv, originalVariantValues, seomethingChanged, variantValues, _key, _set$favorites$Varian, _set$favorites, alreadyCalcedVisibleOPVs, i, _ops$optionOcd2, _retVal2, clonedConfigItemsForView, _i, _configItems;
|
|
30451
30443
|
return _regeneratorRuntime__default["default"].wrap(function _callee$(_context) {
|
|
30452
30444
|
while (1) switch (_context.prev = _context.next) {
|
|
30453
30445
|
case 0:
|
|
30454
|
-
optionStatesOfArticles = set.getOptionStatesOfArticles(set.getDivaArticles(true));
|
|
30455
30446
|
articles = set.getDivaArticles(true);
|
|
30456
30447
|
step = set.configTree.getAllByKey(configStepKey);
|
|
30457
30448
|
retValues = this.getConfigItems(configStepKey, articles, set.configTree);
|
|
30458
30449
|
optionCodex = undefined;
|
|
30459
30450
|
if (!(retValues && step != null)) {
|
|
30460
|
-
_context.next =
|
|
30451
|
+
_context.next = 54;
|
|
30461
30452
|
break;
|
|
30462
30453
|
}
|
|
30463
30454
|
configItems = [];
|
|
30464
30455
|
selectedItems = retValues.selectedVals;
|
|
30465
|
-
optionState =
|
|
30456
|
+
optionState = articles[retValues.targetArticles[0]].getArticleOptionState(retValues.optionCodex);
|
|
30466
30457
|
optionCodex = optionState.optionCodex;
|
|
30467
30458
|
if (!retValues.isOPG) {
|
|
30468
|
-
_context.next =
|
|
30459
|
+
_context.next = 13;
|
|
30469
30460
|
break;
|
|
30470
30461
|
}
|
|
30471
30462
|
for (key in retValues.configItems) {
|
|
@@ -30477,26 +30468,26 @@ var DivaConfigTreeHandler = /*#__PURE__*/function () {
|
|
|
30477
30468
|
configItems = configItems.concat(retVal.myConfigItemsForView);
|
|
30478
30469
|
}
|
|
30479
30470
|
}
|
|
30480
|
-
_context.next =
|
|
30471
|
+
_context.next = 51;
|
|
30481
30472
|
break;
|
|
30482
|
-
case
|
|
30473
|
+
case 13:
|
|
30483
30474
|
if (!(step.optionStep.mergesToOPG == undefined)) {
|
|
30484
|
-
_context.next =
|
|
30475
|
+
_context.next = 18;
|
|
30485
30476
|
break;
|
|
30486
30477
|
}
|
|
30487
30478
|
_retVal = this.prepareConfigItemsForView(set, optionState, retValues.configItems, retValues.constructionRules, selectedItems, step.configStep.targetArticles, undefined, undefined, undefined, undefined, retValues.freeTextValue, retValues.freeTextLang);
|
|
30488
30479
|
configItems = _retVal.myConfigItemsForView;
|
|
30489
|
-
_context.next =
|
|
30480
|
+
_context.next = 51;
|
|
30490
30481
|
break;
|
|
30491
|
-
case
|
|
30482
|
+
case 18:
|
|
30492
30483
|
if (!(typeof step.optionStep.mergesToOPG == 'string' && step.tabGroup.options[step.optionStep.mergesToOPG])) {
|
|
30493
|
-
_context.next =
|
|
30484
|
+
_context.next = 51;
|
|
30494
30485
|
break;
|
|
30495
30486
|
}
|
|
30496
30487
|
//IDM Bezugschritte werden zusammengefasst zu OPG und OPV
|
|
30497
30488
|
configStepOPG = step.configStep, configStepOPV = set.configTree.getConfigStepBasketIdAndOptionCodex(configStepOPG.targetArticles[0], step.optionStep.mergesToOPG); //falls mehrere Artikel im Schritt sind werden trotzdem nur die Values des erster verwendet um die z.B. OPT2 und OPT3 zu vereinen
|
|
30498
30489
|
if (!configStepOPV) {
|
|
30499
|
-
_context.next =
|
|
30490
|
+
_context.next = 51;
|
|
30500
30491
|
break;
|
|
30501
30492
|
}
|
|
30502
30493
|
targetArticle = articles[configStepOPG.targetArticles[0]];
|
|
@@ -30507,9 +30498,9 @@ var DivaConfigTreeHandler = /*#__PURE__*/function () {
|
|
|
30507
30498
|
seomethingChanged = false;
|
|
30508
30499
|
variantValues = {};
|
|
30509
30500
|
_context.t0 = _regeneratorRuntime__default["default"].keys(opg.visibleOptionValues);
|
|
30510
|
-
case
|
|
30501
|
+
case 29:
|
|
30511
30502
|
if ((_context.t1 = _context.t0()).done) {
|
|
30512
|
-
_context.next =
|
|
30503
|
+
_context.next = 47;
|
|
30513
30504
|
break;
|
|
30514
30505
|
}
|
|
30515
30506
|
_key = _context.t1.value;
|
|
@@ -30517,7 +30508,7 @@ var DivaConfigTreeHandler = /*#__PURE__*/function () {
|
|
|
30517
30508
|
variantValues[opg.optionCodex] = opg.visibleOptionValues[_key].codex;
|
|
30518
30509
|
alreadyCalcedVisibleOPVs = targetArticle.getMergesToOPG(opg.optionCodex + '_' + opg.visibleOptionValues[_key].codex, JSON.stringify(targetArticle.getVariantValuesTillOPT(opg.optionCodex)));
|
|
30519
30510
|
if (!(alreadyCalcedVisibleOPVs != undefined && Object.keys((_set$favorites$Varian = (_set$favorites = set.favorites) === null || _set$favorites === void 0 ? void 0 : _set$favorites.VariantValues) !== null && _set$favorites$Varian !== void 0 ? _set$favorites$Varian : {}).length == 0)) {
|
|
30520
|
-
_context.next =
|
|
30511
|
+
_context.next = 38;
|
|
30521
30512
|
break;
|
|
30522
30513
|
}
|
|
30523
30514
|
//die merged OPG wurde bereist ausgerechnet und kann wiederverwendet werden. nur die Selected value muss repariert werden
|
|
@@ -30529,35 +30520,35 @@ var DivaConfigTreeHandler = /*#__PURE__*/function () {
|
|
|
30529
30520
|
}
|
|
30530
30521
|
}
|
|
30531
30522
|
configItems = configItems.concat(alreadyCalcedVisibleOPVs);
|
|
30532
|
-
_context.next =
|
|
30523
|
+
_context.next = 45;
|
|
30533
30524
|
break;
|
|
30534
|
-
case
|
|
30525
|
+
case 38:
|
|
30535
30526
|
seomethingChanged = true;
|
|
30536
|
-
_context.next =
|
|
30527
|
+
_context.next = 41;
|
|
30537
30528
|
return articleHandlerInstance.updateCfgValues(targetArticle, variantValues, {}, true, true, true);
|
|
30538
|
-
case
|
|
30529
|
+
case 41:
|
|
30539
30530
|
_retVal2 = this.prepareConfigItemsForView(set, optionState, targetArticle.getArticleOptionState(ops.optionCodex).visibleOptionValues, retValues.constructionRules, [], step.configStep.targetArticles, (_ops$optionOcd2 = ops.optionOcd) !== null && _ops$optionOcd2 !== void 0 ? _ops$optionOcd2 : ops.optionCodex, opg.visibleOptionValues[_key].name, opg.visibleOptionValues[_key].codex, opg.optionCodex);
|
|
30540
30531
|
configItems = configItems.concat(_retVal2.myConfigItemsForView);
|
|
30541
30532
|
clonedConfigItemsForView = JSON.parse(JSON.stringify(_retVal2.myConfigItemsForView));
|
|
30542
30533
|
targetArticle.addMergesToOPG(opg.optionCodex + '_' + opg.visibleOptionValues[_key].codex, JSON.stringify(targetArticle.getVariantValuesTillOPT(opg.optionCodex)), clonedConfigItemsForView);
|
|
30543
|
-
case
|
|
30544
|
-
_context.next =
|
|
30534
|
+
case 45:
|
|
30535
|
+
_context.next = 29;
|
|
30545
30536
|
break;
|
|
30546
|
-
case
|
|
30537
|
+
case 47:
|
|
30547
30538
|
if (!seomethingChanged) {
|
|
30548
|
-
_context.next =
|
|
30539
|
+
_context.next = 50;
|
|
30549
30540
|
break;
|
|
30550
30541
|
}
|
|
30551
|
-
_context.next =
|
|
30542
|
+
_context.next = 50;
|
|
30552
30543
|
return setHandlerInstance.updateArticlesOptionStatesOfActSet(set, originalVariantValues, [targetArticle.basketId], true, 'calcVariant');
|
|
30553
|
-
case
|
|
30544
|
+
case 50:
|
|
30554
30545
|
for (_i = 0; _i < configItems.length; _i++) {
|
|
30555
30546
|
if (configItems[_i].codex == (selectedOpv === null || selectedOpv === void 0 ? void 0 : selectedOpv.codex)) {
|
|
30556
30547
|
selectedItems = [selectedOpv.codex];
|
|
30557
30548
|
configItems[_i].sel = true;
|
|
30558
30549
|
}
|
|
30559
30550
|
}
|
|
30560
|
-
case
|
|
30551
|
+
case 51:
|
|
30561
30552
|
return _context.abrupt("return", {
|
|
30562
30553
|
configItems: configItems,
|
|
30563
30554
|
option: optionCodex ? set.CatalogData.getOption(optionCodex) : undefined,
|
|
@@ -30568,13 +30559,13 @@ var DivaConfigTreeHandler = /*#__PURE__*/function () {
|
|
|
30568
30559
|
}),
|
|
30569
30560
|
notTotallyMatichingOPVs: !set.CatalogData.articleConfigAll ? retValues.notTotallyMatichingOPVs : undefined
|
|
30570
30561
|
});
|
|
30571
|
-
case
|
|
30562
|
+
case 54:
|
|
30572
30563
|
_configItems = [];
|
|
30573
30564
|
return _context.abrupt("return", {
|
|
30574
30565
|
configItems: _configItems,
|
|
30575
30566
|
selectedItems: []
|
|
30576
30567
|
});
|
|
30577
|
-
case
|
|
30568
|
+
case 56:
|
|
30578
30569
|
case "end":
|
|
30579
30570
|
return _context.stop();
|
|
30580
30571
|
}
|
|
@@ -30601,10 +30592,10 @@ var DivaConfigTreeHandler = /*#__PURE__*/function () {
|
|
|
30601
30592
|
notTotallyMatichingOPVs = false,
|
|
30602
30593
|
myOptionState = undefined;
|
|
30603
30594
|
for (var i = 0; i < configStep.targetArticles.length; i++) {
|
|
30595
|
+
var _myOptionState;
|
|
30604
30596
|
var article = articles[configStep.targetArticles[i]];
|
|
30605
|
-
|
|
30606
|
-
myOptionState =
|
|
30607
|
-
if (myOptionState.option.hasOPG) isOPG = true;
|
|
30597
|
+
myOptionState = article.getArticleOptionState(configStep.option);
|
|
30598
|
+
if ((_myOptionState = myOptionState) !== null && _myOptionState !== void 0 && (_myOptionState = _myOptionState.option) !== null && _myOptionState !== void 0 && _myOptionState.hasOPG) isOPG = true;
|
|
30608
30599
|
selectedVals = selectedVals.concat(myOptionState.getSelectedVals);
|
|
30609
30600
|
if (myOptionState.isFreeText && myOptionState.freeText) {
|
|
30610
30601
|
freeTextValue = myOptionState.freeText;
|
|
@@ -30717,12 +30708,13 @@ var DivaConfigTreeHandler = /*#__PURE__*/function () {
|
|
|
30717
30708
|
*/
|
|
30718
30709
|
}, {
|
|
30719
30710
|
key: "checkIfLoadedArticlesAreConfigSingle",
|
|
30720
|
-
value: function checkIfLoadedArticlesAreConfigSingle(
|
|
30711
|
+
value: function checkIfLoadedArticlesAreConfigSingle(set) {
|
|
30721
30712
|
var optionValues = {},
|
|
30722
30713
|
ret = false;
|
|
30723
|
-
|
|
30724
|
-
|
|
30725
|
-
|
|
30714
|
+
var articles = set.getDivaArticles();
|
|
30715
|
+
for (var basketId in articles) {
|
|
30716
|
+
for (var jKey in articles[basketId].articleOptionStates) {
|
|
30717
|
+
var optionState = articles[basketId].articleOptionStates[jKey];
|
|
30726
30718
|
if (optionState.headerPosVariationType == 'K') {
|
|
30727
30719
|
if (optionValues[optionState.optionCodex] == undefined) {
|
|
30728
30720
|
optionValues[optionState.optionCodex] = optionState.valCodex ? optionState.valCodex : null;
|
|
@@ -31167,7 +31159,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
31167
31159
|
_context4.next = 72;
|
|
31168
31160
|
break;
|
|
31169
31161
|
case 85:
|
|
31170
|
-
set.configSingle = configTreeHandler.checkIfLoadedArticlesAreConfigSingle(set
|
|
31162
|
+
set.configSingle = configTreeHandler.checkIfLoadedArticlesAreConfigSingle(set);
|
|
31171
31163
|
_context4.next = 88;
|
|
31172
31164
|
return this.updateArticlesOptionStatesOfActSet(set, {}, [], undefined, 'initializing');
|
|
31173
31165
|
case 88:
|
|
@@ -32643,23 +32635,22 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
32643
32635
|
value: function () {
|
|
32644
32636
|
var _loadConfigItemsOfActSetByConfigStepKey = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee22(set, configStepKey, visible) {
|
|
32645
32637
|
var _configItems$option;
|
|
32646
|
-
var
|
|
32638
|
+
var configItems, paletteType, filterType, stepInfo, contentItemId;
|
|
32647
32639
|
return _regeneratorRuntime__default["default"].wrap(function _callee22$(_context24) {
|
|
32648
32640
|
while (1) switch (_context24.prev = _context24.next) {
|
|
32649
32641
|
case 0:
|
|
32650
|
-
|
|
32651
|
-
_context24.next = 3;
|
|
32642
|
+
_context24.next = 2;
|
|
32652
32643
|
return configTreeHandler.getConifgItemsForView(set, configStepKey);
|
|
32653
|
-
case
|
|
32644
|
+
case 2:
|
|
32654
32645
|
configItems = _context24.sent;
|
|
32655
|
-
paletteType = set.configTree.getCurPaletteType(set, configStepKey
|
|
32646
|
+
paletteType = set.configTree.getCurPaletteType(set, configStepKey);
|
|
32656
32647
|
configItems.configItems = this.removeDockingInfluencableconfigItems(set, configItems.configItems, configStepKey);
|
|
32657
|
-
_context24.next =
|
|
32648
|
+
_context24.next = 7;
|
|
32658
32649
|
return this.variantsEvaluator(set, configItems.configItems, configStepKey, paletteType);
|
|
32659
|
-
case
|
|
32650
|
+
case 7:
|
|
32660
32651
|
configItems.configItems = _context24.sent;
|
|
32661
|
-
filterType = set.configTree.getCurFilterType(configStepKey,
|
|
32662
|
-
stepInfo = set.configTree.getStepInfo(configStepKey
|
|
32652
|
+
filterType = set.configTree.getCurFilterType(configStepKey, configItems.configItems);
|
|
32653
|
+
stepInfo = set.configTree.getStepInfo(configStepKey);
|
|
32663
32654
|
contentItemId = (_configItems$option = configItems.option) === null || _configItems$option === void 0 ? void 0 : _configItems$option.contentItemId;
|
|
32664
32655
|
return _context24.abrupt("return", _objectSpread$9(_objectSpread$9(_objectSpread$9({
|
|
32665
32656
|
isRenderedNotInSettingPalette: set.configTree.isRenderedNotInSettingPalette(configStepKey),
|
|
@@ -32672,7 +32663,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
32672
32663
|
}, set.configTree.getOptionStuff(configStepKey, set)), {}, {
|
|
32673
32664
|
contentItemId: contentItemId
|
|
32674
32665
|
}));
|
|
32675
|
-
case
|
|
32666
|
+
case 12:
|
|
32676
32667
|
case "end":
|
|
32677
32668
|
return _context24.stop();
|
|
32678
32669
|
}
|
|
@@ -34863,7 +34854,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
34863
34854
|
break;
|
|
34864
34855
|
case 3:
|
|
34865
34856
|
_context12.next = 5;
|
|
34866
|
-
return Promise.resolve().then(function () { return require('./PfisterWWSHandler-
|
|
34857
|
+
return Promise.resolve().then(function () { return require('./PfisterWWSHandler-9c9dd41d.js'); });
|
|
34867
34858
|
case 5:
|
|
34868
34859
|
_yield$import = _context12.sent;
|
|
34869
34860
|
PfisterWWSHandler = _yield$import["default"];
|
|
@@ -34871,7 +34862,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
34871
34862
|
return _context12.abrupt("break", 27);
|
|
34872
34863
|
case 9:
|
|
34873
34864
|
_context12.next = 11;
|
|
34874
|
-
return Promise.resolve().then(function () { return require('./LiviqueWWSHandler-
|
|
34865
|
+
return Promise.resolve().then(function () { return require('./LiviqueWWSHandler-5976147e.js'); });
|
|
34875
34866
|
case 11:
|
|
34876
34867
|
_yield$import2 = _context12.sent;
|
|
34877
34868
|
LiviqueWWSHandler = _yield$import2["default"];
|
|
@@ -34879,7 +34870,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
34879
34870
|
return _context12.abrupt("break", 27);
|
|
34880
34871
|
case 15:
|
|
34881
34872
|
_context12.next = 17;
|
|
34882
|
-
return Promise.resolve().then(function () { return require('./SeriousBasketHandler-
|
|
34873
|
+
return Promise.resolve().then(function () { return require('./SeriousBasketHandler-99a76472.js'); });
|
|
34883
34874
|
case 17:
|
|
34884
34875
|
_yield$import3 = _context12.sent;
|
|
34885
34876
|
SeriousWWSHandler = _yield$import3["default"];
|
|
@@ -34887,7 +34878,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
34887
34878
|
return _context12.abrupt("break", 27);
|
|
34888
34879
|
case 21:
|
|
34889
34880
|
_context12.next = 23;
|
|
34890
|
-
return Promise.resolve().then(function () { return require('./StandardWWSHandler-
|
|
34881
|
+
return Promise.resolve().then(function () { return require('./StandardWWSHandler-3def2f67.js'); });
|
|
34891
34882
|
case 23:
|
|
34892
34883
|
_yield$import4 = _context12.sent;
|
|
34893
34884
|
StandardWWSHandler = _yield$import4["default"];
|
|
@@ -36401,7 +36392,7 @@ var PlannerHandler3D = /*#__PURE__*/function () {
|
|
|
36401
36392
|
while (1) switch (_context3.prev = _context3.next) {
|
|
36402
36393
|
case 0:
|
|
36403
36394
|
_context3.next = 2;
|
|
36404
|
-
return Promise.resolve().then(function () { return require('./Host3DSignalR-
|
|
36395
|
+
return Promise.resolve().then(function () { return require('./Host3DSignalR-ceb795ca.js'); });
|
|
36405
36396
|
case 2:
|
|
36406
36397
|
_yield$import = _context3.sent;
|
|
36407
36398
|
Host3DSignalR = _yield$import["default"];
|
|
@@ -37960,7 +37951,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
|
|
|
37960
37951
|
break;
|
|
37961
37952
|
case 8:
|
|
37962
37953
|
_context4.next = 10;
|
|
37963
|
-
return Promise.resolve().then(function () { return require('./DivaStandardPlanner-
|
|
37954
|
+
return Promise.resolve().then(function () { return require('./DivaStandardPlanner-4feff250.js'); });
|
|
37964
37955
|
case 10:
|
|
37965
37956
|
_yield$import = _context4.sent;
|
|
37966
37957
|
DivaStandardPlanner = _yield$import["default"];
|
|
@@ -37971,7 +37962,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
|
|
|
37971
37962
|
return _context4.abrupt("break", 21);
|
|
37972
37963
|
case 15:
|
|
37973
37964
|
_context4.next = 17;
|
|
37974
|
-
return Promise.resolve().then(function () { return require('./DivaBoxPlanner-
|
|
37965
|
+
return Promise.resolve().then(function () { return require('./DivaBoxPlanner-8df05a27.js'); });
|
|
37975
37966
|
case 17:
|
|
37976
37967
|
_yield$import2 = _context4.sent;
|
|
37977
37968
|
DivaBoxPlanner = _yield$import2["default"];
|
|
@@ -39728,7 +39719,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
39728
39719
|
case 29:
|
|
39729
39720
|
set = this.actSet();
|
|
39730
39721
|
oldProductId = this.divaBasketHandler.actBasket.MatchingProductId || this.divaBasketHandler.actBasket.OrigProductId;
|
|
39731
|
-
if (!(oldProductId && set)) {
|
|
39722
|
+
if (!(oldProductId && set && set !== null && set !== void 0 && set.api.doCheckForProductsPrice())) {
|
|
39732
39723
|
_context13.next = 38;
|
|
39733
39724
|
break;
|
|
39734
39725
|
}
|
|
@@ -41642,7 +41633,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
41642
41633
|
}, {
|
|
41643
41634
|
key: "initBasket",
|
|
41644
41635
|
value: function () {
|
|
41645
|
-
var _initBasket = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee31(init3D, ignoreFavorites
|
|
41636
|
+
var _initBasket = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee31(init3D, ignoreFavorites) {
|
|
41646
41637
|
var initSetState, set, basket;
|
|
41647
41638
|
return _regeneratorRuntime__default["default"].wrap(function _callee31$(_context31) {
|
|
41648
41639
|
while (1) switch (_context31.prev = _context31.next) {
|
|
@@ -41655,27 +41646,26 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
41655
41646
|
case 5:
|
|
41656
41647
|
//TODO check if when basket gets repaired the product match gets called
|
|
41657
41648
|
set = this.actSet();
|
|
41658
|
-
if (set) set.onlyCalcVariants = onlyCalcVariants;
|
|
41659
41649
|
setHandlerInstance.loadConfigStructureOfActSet(set, this.getCurPlannerType());
|
|
41660
41650
|
if (!(favoritesHandlerInstance.FavoritesDefined(set) && !ignoreFavorites)) {
|
|
41661
|
-
_context31.next =
|
|
41651
|
+
_context31.next = 10;
|
|
41662
41652
|
break;
|
|
41663
41653
|
}
|
|
41664
|
-
_context31.next =
|
|
41654
|
+
_context31.next = 10;
|
|
41665
41655
|
return this.handleFavorites(init3D ? 'CALC' : 'REPAIR');
|
|
41666
|
-
case
|
|
41667
|
-
_context31.next =
|
|
41656
|
+
case 10:
|
|
41657
|
+
_context31.next = 12;
|
|
41668
41658
|
return setHandlerInstance.fillOrderLinesAndOrderSets(this.sets, this.divaBasketHandler, !init3D, this.doAllowSetPlanner(), this.ReturnTo);
|
|
41669
|
-
case
|
|
41659
|
+
case 12:
|
|
41670
41660
|
basket = _context31.sent;
|
|
41671
41661
|
return _context31.abrupt("return", basket);
|
|
41672
|
-
case
|
|
41662
|
+
case 14:
|
|
41673
41663
|
case "end":
|
|
41674
41664
|
return _context31.stop();
|
|
41675
41665
|
}
|
|
41676
41666
|
}, _callee31, this);
|
|
41677
41667
|
}));
|
|
41678
|
-
function initBasket(_x79, _x80
|
|
41668
|
+
function initBasket(_x79, _x80) {
|
|
41679
41669
|
return _initBasket.apply(this, arguments);
|
|
41680
41670
|
}
|
|
41681
41671
|
return initBasket;
|
|
@@ -41752,7 +41742,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
41752
41742
|
}
|
|
41753
41743
|
}, _callee33, this);
|
|
41754
41744
|
}));
|
|
41755
|
-
function handleFavorites(
|
|
41745
|
+
function handleFavorites(_x81) {
|
|
41756
41746
|
return _handleFavorites.apply(this, arguments);
|
|
41757
41747
|
}
|
|
41758
41748
|
return handleFavorites;
|
|
@@ -41806,7 +41796,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
41806
41796
|
}
|
|
41807
41797
|
}, _callee34, this);
|
|
41808
41798
|
}));
|
|
41809
|
-
function initSapOrderLinesFromBasket(_x83, _x84
|
|
41799
|
+
function initSapOrderLinesFromBasket(_x82, _x83, _x84) {
|
|
41810
41800
|
return _initSapOrderLinesFromBasket.apply(this, arguments);
|
|
41811
41801
|
}
|
|
41812
41802
|
return initSapOrderLinesFromBasket;
|
|
@@ -41873,7 +41863,9 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
41873
41863
|
var articleCodex = [];
|
|
41874
41864
|
var accesoriesCodex = [];
|
|
41875
41865
|
var articles = [];
|
|
41866
|
+
var actualBasketvalue = 0;
|
|
41876
41867
|
if (set) {
|
|
41868
|
+
actualBasketvalue = set === null || set === void 0 ? void 0 : set.getSetPrice();
|
|
41877
41869
|
for (var _i = 0, _Object$values = Object.values(set.getDivaArticles()); _i < _Object$values.length; _i++) {
|
|
41878
41870
|
var article = _Object$values[_i];
|
|
41879
41871
|
if (article.relatedToBasketId) {
|
|
@@ -41911,8 +41903,8 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
41911
41903
|
article_nested: articles
|
|
41912
41904
|
}
|
|
41913
41905
|
});
|
|
41914
|
-
LOG$1.businessEvent('onActualBasketValue', 'Planner', 'Aktueller Basket Value:' +
|
|
41915
|
-
basketValue:
|
|
41906
|
+
LOG$1.businessEvent('onActualBasketValue', 'Planner', 'Aktueller Basket Value:' + actualBasketvalue, {
|
|
41907
|
+
basketValue: actualBasketvalue
|
|
41916
41908
|
});
|
|
41917
41909
|
}
|
|
41918
41910
|
}, {
|
|
@@ -41924,7 +41916,9 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
41924
41916
|
var allOpv = [];
|
|
41925
41917
|
var latestOpv = {};
|
|
41926
41918
|
var latestOpt = {};
|
|
41919
|
+
var actualBasketvalue = 0;
|
|
41927
41920
|
if (set) {
|
|
41921
|
+
actualBasketvalue = set === null || set === void 0 ? void 0 : set.getSetPrice();
|
|
41928
41922
|
if (myValues) {
|
|
41929
41923
|
var _set$CatalogData$getO, _set$CatalogData$getO2;
|
|
41930
41924
|
latestOpt = {
|
|
@@ -42004,8 +41998,8 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
42004
41998
|
configuration_nested: configuration
|
|
42005
41999
|
}
|
|
42006
42000
|
});
|
|
42007
|
-
LOG$1.businessEvent('onActualBasketValue', 'Planner', 'Aktueller Basket Value:' +
|
|
42008
|
-
basketValue:
|
|
42001
|
+
LOG$1.businessEvent('onActualBasketValue', 'Planner', 'Aktueller Basket Value:' + actualBasketvalue, {
|
|
42002
|
+
basketValue: actualBasketvalue
|
|
42009
42003
|
});
|
|
42010
42004
|
}
|
|
42011
42005
|
}, {
|