@crystaldesign/web-planner-logic 24.11.0-beta.35 → 24.11.0-beta.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/{DivaBoxPlanner-078c9528.js → DivaBoxPlanner-330653bb.js} +9 -9
- package/build/cjs/{DivaStandardPlanner-bd3dfbf7.js → DivaStandardPlanner-428015e0.js} +10 -10
- package/build/cjs/{DoorPlanner-1c7ea9b6.js → DoorPlanner-73c462cf.js} +1 -1
- package/build/cjs/{Host3DSignalR-9102beba.js → Host3DSignalR-93aafc52.js} +8 -8
- package/build/cjs/{LiviqueWWSHandler-f80c4acb.js → LiviqueWWSHandler-72636128.js} +1 -1
- package/build/cjs/{PfisterWWSHandler-d75cdd66.js → PfisterWWSHandler-0b867d64.js} +1 -1
- package/build/cjs/{PlannerHandler2D-7773ab61.js → PlannerHandler2D-80167e97.js} +2 -2
- package/build/cjs/{ProductBasketHandler-344b7799.js → ProductBasketHandler-7b9f5bd9.js} +1 -1
- package/build/cjs/{SeriousBasketHandler-a55f2d61.js → SeriousBasketHandler-0303202e.js} +1 -1
- package/build/cjs/{ShelfPlanner-e2378dc4.js → ShelfPlanner-47bbfb7c.js} +10 -10
- package/build/cjs/{StandardWWSHandler-a26db197.js → StandardWWSHandler-06ae3bfc.js} +1 -1
- package/build/cjs/{index-43f1860a.js → index-c285a3c4.js} +192 -185
- package/build/cjs/index.js +1 -1
- package/build/esm/{DivaBoxPlanner-60acb597.js → DivaBoxPlanner-da028daa.js} +9 -9
- package/build/esm/{DivaStandardPlanner-ff1aee48.js → DivaStandardPlanner-b23fcfc4.js} +10 -10
- package/build/esm/{DoorPlanner-792e8395.js → DoorPlanner-d53478a6.js} +1 -1
- package/build/esm/{Host3DSignalR-f09f8b61.js → Host3DSignalR-de59e1ca.js} +8 -8
- package/build/esm/{LiviqueWWSHandler-ba3086d1.js → LiviqueWWSHandler-8ac2de7d.js} +1 -1
- package/build/esm/{PfisterWWSHandler-e3274ba3.js → PfisterWWSHandler-7e6d73a9.js} +1 -1
- package/build/esm/{PlannerHandler2D-6c13f23e.js → PlannerHandler2D-d320a01d.js} +2 -2
- package/build/esm/{ProductBasketHandler-f5f17b6f.js → ProductBasketHandler-faa30dae.js} +1 -1
- package/build/esm/{SeriousBasketHandler-f592f8e9.js → SeriousBasketHandler-00d1471a.js} +1 -1
- package/build/esm/{ShelfPlanner-7ee4ab7b.js → ShelfPlanner-747bb48e.js} +10 -10
- package/build/esm/{StandardWWSHandler-4d5f5142.js → StandardWWSHandler-33764628.js} +1 -1
- package/build/esm/{index-7d57fcbc.js → index-1f21b165.js} +192 -185
- package/build/esm/index.js +1 -1
- package/build/types/web-planner-logic/src/logic/Article/DivaArticle.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -98,7 +98,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
|
|
|
98
98
|
}, {
|
|
99
99
|
key: "fetchData",
|
|
100
100
|
value: function () {
|
|
101
|
-
var _fetchData = _asyncToGenerator(
|
|
101
|
+
var _fetchData = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(url, init) {
|
|
102
102
|
var skip,
|
|
103
103
|
response,
|
|
104
104
|
finalUrl,
|
|
@@ -191,7 +191,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
|
|
|
191
191
|
}, {
|
|
192
192
|
key: "getDataWithoutCache",
|
|
193
193
|
value: function () {
|
|
194
|
-
var _getDataWithoutCache = _asyncToGenerator(
|
|
194
|
+
var _getDataWithoutCache = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(queryString, init, useWebServiceApi) {
|
|
195
195
|
var _this$apiConfig, _this$apiConfig2, api2Url;
|
|
196
196
|
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
197
197
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -263,7 +263,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
|
|
|
263
263
|
}, {
|
|
264
264
|
key: "getDataCache",
|
|
265
265
|
value: function () {
|
|
266
|
-
var _getDataCache = _asyncToGenerator(
|
|
266
|
+
var _getDataCache = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(queryString, cacheMD5, accountSessionGuid, useWebServiceApi, method, data) {
|
|
267
267
|
var myQS, url, init, addSession, _this$apiConfig3, _this$apiConfig4, api2Url, result;
|
|
268
268
|
return _regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
269
269
|
while (1) switch (_context3.prev = _context3.next) {
|
|
@@ -363,7 +363,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
|
|
|
363
363
|
}, {
|
|
364
364
|
key: "saveAsProduct",
|
|
365
365
|
value: function () {
|
|
366
|
-
var _saveAsProduct = _asyncToGenerator(
|
|
366
|
+
var _saveAsProduct = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(sets, basket) {
|
|
367
367
|
var catalogData, _this$handler;
|
|
368
368
|
return _regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
369
369
|
while (1) switch (_context4.prev = _context4.next) {
|
|
@@ -692,7 +692,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
|
|
|
692
692
|
}, {
|
|
693
693
|
key: "setAccountSessionGuid",
|
|
694
694
|
value: function () {
|
|
695
|
-
var _setAccountSessionGuid = _asyncToGenerator(
|
|
695
|
+
var _setAccountSessionGuid = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5(_ref) {
|
|
696
696
|
var os, accountGuid, catalogGuid, response, _this$actions;
|
|
697
697
|
return _regeneratorRuntime.wrap(function _callee5$(_context5) {
|
|
698
698
|
while (1) switch (_context5.prev = _context5.next) {
|
|
@@ -1042,7 +1042,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
|
|
|
1042
1042
|
}, {
|
|
1043
1043
|
key: "getArticleJson",
|
|
1044
1044
|
value: function () {
|
|
1045
|
-
var _getArticleJson = _asyncToGenerator(
|
|
1045
|
+
var _getArticleJson = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6(artCodex, catalogCodex, accountSessionGuid) {
|
|
1046
1046
|
return _regeneratorRuntime.wrap(function _callee6$(_context6) {
|
|
1047
1047
|
while (1) switch (_context6.prev = _context6.next) {
|
|
1048
1048
|
case 0:
|
|
@@ -1064,7 +1064,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
|
|
|
1064
1064
|
}, {
|
|
1065
1065
|
key: "getJsonOptionTree",
|
|
1066
1066
|
value: function () {
|
|
1067
|
-
var _getJsonOptionTree = _asyncToGenerator(
|
|
1067
|
+
var _getJsonOptionTree = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee7(templateCodex, catalogCodex, accountSessionGuid) {
|
|
1068
1068
|
return _regeneratorRuntime.wrap(function _callee7$(_context7) {
|
|
1069
1069
|
while (1) switch (_context7.prev = _context7.next) {
|
|
1070
1070
|
case 0:
|
|
@@ -1086,7 +1086,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
|
|
|
1086
1086
|
}, {
|
|
1087
1087
|
key: "loadArticlePricesQS",
|
|
1088
1088
|
value: function () {
|
|
1089
|
-
var _loadArticlePricesQS = _asyncToGenerator(
|
|
1089
|
+
var _loadArticlePricesQS = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee8(artCodex, catalogCodex, accountSessionGuid) {
|
|
1090
1090
|
return _regeneratorRuntime.wrap(function _callee8$(_context8) {
|
|
1091
1091
|
while (1) switch (_context8.prev = _context8.next) {
|
|
1092
1092
|
case 0:
|
|
@@ -1124,7 +1124,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
|
|
|
1124
1124
|
}, {
|
|
1125
1125
|
key: "postHQRenderScript",
|
|
1126
1126
|
value: function () {
|
|
1127
|
-
var _postHQRenderScript = _asyncToGenerator(
|
|
1127
|
+
var _postHQRenderScript = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee9(data) {
|
|
1128
1128
|
var url, headers, res;
|
|
1129
1129
|
return _regeneratorRuntime.wrap(function _callee9$(_context9) {
|
|
1130
1130
|
while (1) switch (_context9.prev = _context9.next) {
|
|
@@ -1161,7 +1161,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
|
|
|
1161
1161
|
}, {
|
|
1162
1162
|
key: "postPlanningInfo",
|
|
1163
1163
|
value: function () {
|
|
1164
|
-
var _postPlanningInfo = _asyncToGenerator(
|
|
1164
|
+
var _postPlanningInfo = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee10(planningInfo, divaNr, imgUrl, price, name, userId, firstName, lastName, organizationId) {
|
|
1165
1165
|
var data, url, headers;
|
|
1166
1166
|
return _regeneratorRuntime.wrap(function _callee10$(_context10) {
|
|
1167
1167
|
while (1) switch (_context10.prev = _context10.next) {
|
|
@@ -1215,7 +1215,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
|
|
|
1215
1215
|
}, {
|
|
1216
1216
|
key: "getDimensionbyId",
|
|
1217
1217
|
value: function () {
|
|
1218
|
-
var _getDimensionbyId = _asyncToGenerator(
|
|
1218
|
+
var _getDimensionbyId = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee11(id, iln, catalogCodex, plannedOptions) {
|
|
1219
1219
|
var _this$apiConfig23;
|
|
1220
1220
|
var fullUrl, res, headers;
|
|
1221
1221
|
return _regeneratorRuntime.wrap(function _callee11$(_context11) {
|
|
@@ -1260,7 +1260,7 @@ var DivaApiHandler = /*#__PURE__*/function () {
|
|
|
1260
1260
|
}, {
|
|
1261
1261
|
key: "createBasketReport",
|
|
1262
1262
|
value: function () {
|
|
1263
|
-
var _createBasketReport = _asyncToGenerator(
|
|
1263
|
+
var _createBasketReport = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee12(basket, _ref2) {
|
|
1264
1264
|
var type,
|
|
1265
1265
|
printOptions,
|
|
1266
1266
|
savePdf,
|
|
@@ -19556,7 +19556,7 @@ var DivaCatalogData = /*#__PURE__*/function () {
|
|
|
19556
19556
|
}, {
|
|
19557
19557
|
key: "updateMask",
|
|
19558
19558
|
value: function () {
|
|
19559
|
-
var _updateMask = _asyncToGenerator(
|
|
19559
|
+
var _updateMask = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(data) {
|
|
19560
19560
|
var additionalModelInfos;
|
|
19561
19561
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
19562
19562
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -19629,7 +19629,7 @@ var DivaCatalogHandler = /*#__PURE__*/function () {
|
|
|
19629
19629
|
return _createClass(DivaCatalogHandler, [{
|
|
19630
19630
|
key: "getCatalogData",
|
|
19631
19631
|
value: function () {
|
|
19632
|
-
var _getCatalogData = _asyncToGenerator(
|
|
19632
|
+
var _getCatalogData = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(state, catalogCodex, orderSet) {
|
|
19633
19633
|
var catalogKey, promises, _yield$Promise$all, _yield$Promise$all2, catalogApiData, catalogArticleListData, catalogArticlePlannerListData, additionalModelInfos, mask, _state$catalogMask, catalogData, _state$actions;
|
|
19634
19634
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
19635
19635
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -22213,6 +22213,7 @@ var DivaArticle = /*#__PURE__*/function () {
|
|
|
22213
22213
|
}, {
|
|
22214
22214
|
key: "validateAndSetNewConfigValues",
|
|
22215
22215
|
value: function validateAndSetNewConfigValues(newConfigValues) {
|
|
22216
|
+
var freeTextValues = {};
|
|
22216
22217
|
for (var key in newConfigValues) {
|
|
22217
22218
|
var _ops3, _ops4, _newConfigValues$key;
|
|
22218
22219
|
var ops = this.getArticleOptionState(key);
|
|
@@ -22223,7 +22224,7 @@ var DivaArticle = /*#__PURE__*/function () {
|
|
|
22223
22224
|
ops = this.handleMultiselect(ops, newConfigValues, key);
|
|
22224
22225
|
}
|
|
22225
22226
|
if ((_ops4 = ops) !== null && _ops4 !== void 0 && _ops4.isFreeText) {
|
|
22226
|
-
this.handleFreeText(ops, newConfigValues, key);
|
|
22227
|
+
this.handleFreeText(ops, newConfigValues, key, freeTextValues);
|
|
22227
22228
|
}
|
|
22228
22229
|
var opvCodex = (_newConfigValues$key = newConfigValues[key]) === null || _newConfigValues$key === void 0 ? void 0 : _newConfigValues$key.split(';')[0];
|
|
22229
22230
|
var foundItem = this.checkOptionAndOptionValue(optionCodex, opvCodex, partenOptionCodex);
|
|
@@ -22308,7 +22309,7 @@ var DivaArticle = /*#__PURE__*/function () {
|
|
|
22308
22309
|
}
|
|
22309
22310
|
}, {
|
|
22310
22311
|
key: "handleFreeText",
|
|
22311
|
-
value: function handleFreeText(ops, newConfigValues, key) {
|
|
22312
|
+
value: function handleFreeText(ops, newConfigValues, key, freeTextValues) {
|
|
22312
22313
|
var _this$set$ViewConfig;
|
|
22313
22314
|
var _this$parentOptionCod5 = this.parentOptionCodex(key),
|
|
22314
22315
|
optionCodex = _this$parentOptionCod5.optionCodex,
|
|
@@ -22320,7 +22321,13 @@ var DivaArticle = /*#__PURE__*/function () {
|
|
|
22320
22321
|
ops.freeTextLang['DE'] = langs[0];
|
|
22321
22322
|
ops.freeTextLang['FR'] = langs[1];
|
|
22322
22323
|
ops.freeTextLang['IT'] = langs[2];
|
|
22323
|
-
} else
|
|
22324
|
+
} else {
|
|
22325
|
+
var doSetValue = newConfigValues[optionCodex + '_val'] === undefined;
|
|
22326
|
+
if (!doSetValue && !freeTextValues[optionCodex].exactMatchingKey && key === partenOptionCodex + '.' + optionCodex) doSetValue = true;
|
|
22327
|
+
if (!doSetValue) return;
|
|
22328
|
+
freeTextValues[optionCodex] = {
|
|
22329
|
+
exactMatchingKey: key === partenOptionCodex + '.' + optionCodex
|
|
22330
|
+
};
|
|
22324
22331
|
newConfigValues[optionCodex + '_val'] = value === null || value === void 0 ? void 0 : value.split(';')[0];
|
|
22325
22332
|
var _this$checkOptionAndO = this.checkOptionAndOptionValue(optionCodex, newConfigValues[key], partenOptionCodex),
|
|
22326
22333
|
opv = _this$checkOptionAndO.opv;
|
|
@@ -23502,7 +23509,7 @@ var DivaArticle = /*#__PURE__*/function () {
|
|
|
23502
23509
|
}, {
|
|
23503
23510
|
key: "updateShelfPlannerState",
|
|
23504
23511
|
value: function () {
|
|
23505
|
-
var _updateShelfPlannerState = _asyncToGenerator(
|
|
23512
|
+
var _updateShelfPlannerState = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
23506
23513
|
var _this$doorPlanner;
|
|
23507
23514
|
var j3D, _yield$import, ShelfPlanner;
|
|
23508
23515
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
@@ -23514,7 +23521,7 @@ var DivaArticle = /*#__PURE__*/function () {
|
|
|
23514
23521
|
break;
|
|
23515
23522
|
}
|
|
23516
23523
|
_context.next = 4;
|
|
23517
|
-
return import('./ShelfPlanner-
|
|
23524
|
+
return import('./ShelfPlanner-747bb48e.js');
|
|
23518
23525
|
case 4:
|
|
23519
23526
|
_yield$import = _context.sent;
|
|
23520
23527
|
ShelfPlanner = _yield$import["default"];
|
|
@@ -24464,7 +24471,7 @@ var DivaArticleHandler = /*#__PURE__*/function () {
|
|
|
24464
24471
|
key: "loadArticle",
|
|
24465
24472
|
value: //Initialisiert eventuell Option Tree und Infos im CatalogArticle
|
|
24466
24473
|
function () {
|
|
24467
|
-
var _loadArticle = _asyncToGenerator(
|
|
24474
|
+
var _loadArticle = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(set, articleCodex, initParams) {
|
|
24468
24475
|
var catalog, _set$getSetState$acti, _set$getSetState$acti2, _set$getSetState$acti3, _set$getSetState$acti4, catalogArticle, newBasketId, _set$actions;
|
|
24469
24476
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
24470
24477
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -24530,7 +24537,7 @@ var DivaArticleHandler = /*#__PURE__*/function () {
|
|
|
24530
24537
|
}, {
|
|
24531
24538
|
key: "loadArticleData",
|
|
24532
24539
|
value: function () {
|
|
24533
|
-
var _loadArticleData = _asyncToGenerator(
|
|
24540
|
+
var _loadArticleData = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(set, catalogArticle, catalog) {
|
|
24534
24541
|
var catalogCodex, promises, _yield$Promise$all, _yield$Promise$all2, jsonPrices, jsonOption;
|
|
24535
24542
|
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
24536
24543
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -24574,7 +24581,7 @@ var DivaArticleHandler = /*#__PURE__*/function () {
|
|
|
24574
24581
|
}, {
|
|
24575
24582
|
key: "updateAccessoireQuantity",
|
|
24576
24583
|
value: function () {
|
|
24577
|
-
var _updateAccessoireQuantity = _asyncToGenerator(
|
|
24584
|
+
var _updateAccessoireQuantity = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(accessoire, newQuantity) {
|
|
24578
24585
|
return _regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
24579
24586
|
while (1) switch (_context3.prev = _context3.next) {
|
|
24580
24587
|
case 0:
|
|
@@ -24599,7 +24606,7 @@ var DivaArticleHandler = /*#__PURE__*/function () {
|
|
|
24599
24606
|
}, {
|
|
24600
24607
|
key: "toDoAfterArticleLoaded",
|
|
24601
24608
|
value: function () {
|
|
24602
|
-
var _toDoAfterArticleLoaded = _asyncToGenerator(
|
|
24609
|
+
var _toDoAfterArticleLoaded = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(article, defaultValues, variantValues, from, variantItems, ignorePlanner) {
|
|
24603
24610
|
return _regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
24604
24611
|
while (1) switch (_context4.prev = _context4.next) {
|
|
24605
24612
|
case 0:
|
|
@@ -24644,7 +24651,7 @@ var DivaArticleHandler = /*#__PURE__*/function () {
|
|
|
24644
24651
|
}, {
|
|
24645
24652
|
key: "updateArticlesOptionStates",
|
|
24646
24653
|
value: function () {
|
|
24647
|
-
var _updateArticlesOptionStates = _asyncToGenerator(
|
|
24654
|
+
var _updateArticlesOptionStates = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5(myValues, targetArticlesWithNewValues, targetArticlesToUpdate, articles, from) {
|
|
24648
24655
|
var _articles$targetArtic;
|
|
24649
24656
|
var newEDOExtraArticles, partlistArticlesToLoad, valuesArray, i, actArticle, newPartlistArticlesToLoad, _actArticle$checkDefa, variantValues, triggerUpdate, key, configuredArticle, toIgnore, _actArticle, _i, _actArticle2;
|
|
24650
24657
|
return _regeneratorRuntime.wrap(function _callee5$(_context5) {
|
|
@@ -24781,7 +24788,7 @@ var DivaArticleHandler = /*#__PURE__*/function () {
|
|
|
24781
24788
|
}, {
|
|
24782
24789
|
key: "updateAccessoriesFromGlobalOption",
|
|
24783
24790
|
value: function () {
|
|
24784
|
-
var _updateAccessoriesFromGlobalOption = _asyncToGenerator(
|
|
24791
|
+
var _updateAccessoriesFromGlobalOption = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6(values, actArticle) {
|
|
24785
24792
|
var accessoiresToUpdate, key;
|
|
24786
24793
|
return _regeneratorRuntime.wrap(function _callee6$(_context6) {
|
|
24787
24794
|
while (1) switch (_context6.prev = _context6.next) {
|
|
@@ -24883,7 +24890,7 @@ var DivaArticleHandler = /*#__PURE__*/function () {
|
|
|
24883
24890
|
}, {
|
|
24884
24891
|
key: "initCfgValues",
|
|
24885
24892
|
value: (function () {
|
|
24886
|
-
var _initCfgValues = _asyncToGenerator(
|
|
24893
|
+
var _initCfgValues = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee7(article, variantValues,
|
|
24887
24894
|
// Werte aus einem Basiskonfigurat,
|
|
24888
24895
|
variantItems) {
|
|
24889
24896
|
var myCatalogArticleOptions, articleOptionState, key, _article$set$ViewConf, optionState, attr, foundItem, _foundItem$opt, freeText, _key, myArtOPS, value, optionValueCodex, i, variantItem, possibleValues, j, possibleValue, _i2, _variantItem, val;
|
|
@@ -24980,7 +24987,7 @@ var DivaArticleHandler = /*#__PURE__*/function () {
|
|
|
24980
24987
|
}, {
|
|
24981
24988
|
key: "setValidVariantValues",
|
|
24982
24989
|
value: function () {
|
|
24983
|
-
var _setValidVariantValues = _asyncToGenerator(
|
|
24990
|
+
var _setValidVariantValues = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee8(article) {
|
|
24984
24991
|
return _regeneratorRuntime.wrap(function _callee8$(_context8) {
|
|
24985
24992
|
while (1) switch (_context8.prev = _context8.next) {
|
|
24986
24993
|
case 0:
|
|
@@ -25009,7 +25016,7 @@ var DivaArticleHandler = /*#__PURE__*/function () {
|
|
|
25009
25016
|
}, {
|
|
25010
25017
|
key: "updateCfgValues",
|
|
25011
25018
|
value: (function () {
|
|
25012
|
-
var _updateCfgValues = _asyncToGenerator(
|
|
25019
|
+
var _updateCfgValues = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee9(article, newConfigValues, alreadyInitializedValues, dontCalcPrice, dontLoadPartlist) {
|
|
25013
25020
|
var maxPriceOfGroupCodex, setByFeatureVariantValues, key, partlistArticlesToLoad;
|
|
25014
25021
|
return _regeneratorRuntime.wrap(function _callee9$(_context9) {
|
|
25015
25022
|
while (1) switch (_context9.prev = _context9.next) {
|
|
@@ -25090,7 +25097,7 @@ var DivaArticleHandler = /*#__PURE__*/function () {
|
|
|
25090
25097
|
}, {
|
|
25091
25098
|
key: "updateLastElement",
|
|
25092
25099
|
value: function () {
|
|
25093
|
-
var _updateLastElement = _asyncToGenerator(
|
|
25100
|
+
var _updateLastElement = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee10(article) {
|
|
25094
25101
|
var opsLastElement, lastElement, opsLastPlannedAccessoire, opsFirstAccessoire, _article$accessoirePa, _article$accessoirePa2, accessoires, i;
|
|
25095
25102
|
return _regeneratorRuntime.wrap(function _callee10$(_context10) {
|
|
25096
25103
|
while (1) switch (_context10.prev = _context10.next) {
|
|
@@ -25146,7 +25153,7 @@ var DivaArticleHandler = /*#__PURE__*/function () {
|
|
|
25146
25153
|
}, {
|
|
25147
25154
|
key: "updateOption",
|
|
25148
25155
|
value: function () {
|
|
25149
|
-
var _updateOption = _asyncToGenerator(
|
|
25156
|
+
var _updateOption = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee11(article, optionCodex, newCodex, fallbackNewCodex) {
|
|
25150
25157
|
var _ops$val, _ops$visibleOptionVal;
|
|
25151
25158
|
var ops, oldCodex, newVal;
|
|
25152
25159
|
return _regeneratorRuntime.wrap(function _callee11$(_context11) {
|
|
@@ -25190,7 +25197,7 @@ var DivaArticleHandler = /*#__PURE__*/function () {
|
|
|
25190
25197
|
}, {
|
|
25191
25198
|
key: "evalAndLoadPartlistArticles",
|
|
25192
25199
|
value: (function () {
|
|
25193
|
-
var _evalAndLoadPartlistArticles = _asyncToGenerator(
|
|
25200
|
+
var _evalAndLoadPartlistArticles = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee12(article, dontLoadPartlist, newConfigValues) {
|
|
25194
25201
|
var partlistArticlesToLoad;
|
|
25195
25202
|
return _regeneratorRuntime.wrap(function _callee12$(_context12) {
|
|
25196
25203
|
while (1) switch (_context12.prev = _context12.next) {
|
|
@@ -25230,7 +25237,7 @@ var DivaArticleHandler = /*#__PURE__*/function () {
|
|
|
25230
25237
|
}, {
|
|
25231
25238
|
key: "loadPartlistArticles",
|
|
25232
25239
|
value: function () {
|
|
25233
|
-
var _loadPartlistArticles = _asyncToGenerator(
|
|
25240
|
+
var _loadPartlistArticles = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee13(partlistArticlesToLoad, article, newConfigValues) {
|
|
25234
25241
|
var i;
|
|
25235
25242
|
return _regeneratorRuntime.wrap(function _callee13$(_context13) {
|
|
25236
25243
|
while (1) switch (_context13.prev = _context13.next) {
|
|
@@ -25264,7 +25271,7 @@ var DivaArticleHandler = /*#__PURE__*/function () {
|
|
|
25264
25271
|
}, {
|
|
25265
25272
|
key: "loadPartlistArticle",
|
|
25266
25273
|
value: function () {
|
|
25267
|
-
var _loadPartlistArticle = _asyncToGenerator(
|
|
25274
|
+
var _loadPartlistArticle = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee14(doLoadItem, article, newConfigValues) {
|
|
25268
25275
|
var parentVariantValues, initParams, nArticle;
|
|
25269
25276
|
return _regeneratorRuntime.wrap(function _callee14$(_context14) {
|
|
25270
25277
|
while (1) switch (_context14.prev = _context14.next) {
|
|
@@ -25562,7 +25569,7 @@ var DivaArticleHandler = /*#__PURE__*/function () {
|
|
|
25562
25569
|
}, {
|
|
25563
25570
|
key: "triggerShelfplannerVisibility",
|
|
25564
25571
|
value: function () {
|
|
25565
|
-
var _triggerShelfplannerVisibility = _asyncToGenerator(
|
|
25572
|
+
var _triggerShelfplannerVisibility = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee15(artices, gridGroup) {
|
|
25566
25573
|
var key, _artice$shelfPlanner, artice;
|
|
25567
25574
|
return _regeneratorRuntime.wrap(function _callee15$(_context15) {
|
|
25568
25575
|
while (1) switch (_context15.prev = _context15.next) {
|
|
@@ -25832,7 +25839,7 @@ var DivaArticleHandler = /*#__PURE__*/function () {
|
|
|
25832
25839
|
}, {
|
|
25833
25840
|
key: "correctPartlistArticlesByGlobalRules",
|
|
25834
25841
|
value: (function () {
|
|
25835
|
-
var _correctPartlistArticlesByGlobalRules = _asyncToGenerator(
|
|
25842
|
+
var _correctPartlistArticlesByGlobalRules = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee16(set, partlistArticlesToLoad, bundleRules, doChangeRetailArticleNumbers) {
|
|
25836
25843
|
var _loop2, i, article;
|
|
25837
25844
|
return _regeneratorRuntime.wrap(function _callee16$(_context17) {
|
|
25838
25845
|
while (1) switch (_context17.prev = _context17.next) {
|
|
@@ -26845,7 +26852,7 @@ var DivaSet = /*#__PURE__*/function () {
|
|
|
26845
26852
|
return updateConfig;
|
|
26846
26853
|
});
|
|
26847
26854
|
_defineProperty(this, "updateCfgValuesByPlanner", /*#__PURE__*/function () {
|
|
26848
|
-
var _ref = _asyncToGenerator(
|
|
26855
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(optionHandler, repairVariantValuesAndPlanner, partListBundleRules, doChangeRetailArticleNumbers) {
|
|
26849
26856
|
var _article2;
|
|
26850
26857
|
var partlistArticlesToLoad, optionHandlerArr, article, loadPlas, _loop, i;
|
|
26851
26858
|
return _regeneratorRuntime.wrap(function _callee$(_context2) {
|
|
@@ -27461,7 +27468,7 @@ var DivaSet = /*#__PURE__*/function () {
|
|
|
27461
27468
|
}, {
|
|
27462
27469
|
key: "getDimensionPerVariant",
|
|
27463
27470
|
value: function () {
|
|
27464
|
-
var _getDimensionPerVariant = _asyncToGenerator(
|
|
27471
|
+
var _getDimensionPerVariant = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
|
|
27465
27472
|
var dimensions, _iterator, _step, article, _iterator2, _step2, dimensionId, dimension;
|
|
27466
27473
|
return _regeneratorRuntime.wrap(function _callee2$(_context3) {
|
|
27467
27474
|
while (1) switch (_context3.prev = _context3.next) {
|
|
@@ -27967,7 +27974,7 @@ var DivaSet = /*#__PURE__*/function () {
|
|
|
27967
27974
|
}, {
|
|
27968
27975
|
key: "initializeDoorPlanner",
|
|
27969
27976
|
value: function () {
|
|
27970
|
-
var _initializeDoorPlanner = _asyncToGenerator(
|
|
27977
|
+
var _initializeDoorPlanner = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(j3D, article) {
|
|
27971
27978
|
var _yield$import, DoorPlanner;
|
|
27972
27979
|
return _regeneratorRuntime.wrap(function _callee3$(_context4) {
|
|
27973
27980
|
while (1) switch (_context4.prev = _context4.next) {
|
|
@@ -27977,7 +27984,7 @@ var DivaSet = /*#__PURE__*/function () {
|
|
|
27977
27984
|
break;
|
|
27978
27985
|
}
|
|
27979
27986
|
_context4.next = 3;
|
|
27980
|
-
return import('./DoorPlanner-
|
|
27987
|
+
return import('./DoorPlanner-d53478a6.js');
|
|
27981
27988
|
case 3:
|
|
27982
27989
|
_yield$import = _context4.sent;
|
|
27983
27990
|
DoorPlanner = _yield$import["default"];
|
|
@@ -28343,7 +28350,7 @@ var DivaProductHandler = /*#__PURE__*/function () {
|
|
|
28343
28350
|
}, {
|
|
28344
28351
|
key: "loadProductsOfSets",
|
|
28345
28352
|
value: function () {
|
|
28346
|
-
var _loadProductsOfSets = _asyncToGenerator(
|
|
28353
|
+
var _loadProductsOfSets = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(orderSets, involvedSetIds) {
|
|
28347
28354
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
28348
28355
|
while (1) switch (_context.prev = _context.next) {
|
|
28349
28356
|
case 0:
|
|
@@ -28360,7 +28367,7 @@ var DivaProductHandler = /*#__PURE__*/function () {
|
|
|
28360
28367
|
}, {
|
|
28361
28368
|
key: "updateProducts",
|
|
28362
28369
|
value: function () {
|
|
28363
|
-
var _updateProducts = _asyncToGenerator(
|
|
28370
|
+
var _updateProducts = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(set, from, productId) {
|
|
28364
28371
|
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
28365
28372
|
while (1) switch (_context2.prev = _context2.next) {
|
|
28366
28373
|
case 0:
|
|
@@ -28490,7 +28497,7 @@ var DivaProductHandler = /*#__PURE__*/function () {
|
|
|
28490
28497
|
}, {
|
|
28491
28498
|
key: "checkQuantitySteps",
|
|
28492
28499
|
value: function () {
|
|
28493
|
-
var _checkQuantitySteps = _asyncToGenerator(
|
|
28500
|
+
var _checkQuantitySteps = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(set, from, productId) {
|
|
28494
28501
|
var articles, somethingChanged, key, product, currentQuantity, deltaQuantity, whatToDo, article;
|
|
28495
28502
|
return _regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
28496
28503
|
while (1) switch (_context3.prev = _context3.next) {
|
|
@@ -29043,7 +29050,7 @@ var SummaryHandler = /*#__PURE__*/function () {
|
|
|
29043
29050
|
}, {
|
|
29044
29051
|
key: "getSummaryItems",
|
|
29045
29052
|
value: function () {
|
|
29046
|
-
var _getSummaryItems = _asyncToGenerator(
|
|
29053
|
+
var _getSummaryItems = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(sets, doConfigure, doAllowSetPlanner) {
|
|
29047
29054
|
var ret, _key5, set, items, type;
|
|
29048
29055
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
29049
29056
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -29421,7 +29428,7 @@ var SummaryHandler = /*#__PURE__*/function () {
|
|
|
29421
29428
|
}, {
|
|
29422
29429
|
key: "getVariantsSummary",
|
|
29423
29430
|
value: function () {
|
|
29424
|
-
var _getVariantsSummary = _asyncToGenerator(
|
|
29431
|
+
var _getVariantsSummary = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(doConfigure, set) {
|
|
29425
29432
|
var summaryVariants, _yield$DivaFavorites$, variants, disabled, singleOptions, catalogData, _loop2, i;
|
|
29426
29433
|
return _regeneratorRuntime.wrap(function _callee3$(_context5) {
|
|
29427
29434
|
while (1) switch (_context5.prev = _context5.next) {
|
|
@@ -29506,7 +29513,7 @@ var SummaryHandler = /*#__PURE__*/function () {
|
|
|
29506
29513
|
disabled: isDisabled,
|
|
29507
29514
|
variantValues: result,
|
|
29508
29515
|
onClick: function () {
|
|
29509
|
-
var _onClick = _asyncToGenerator(
|
|
29516
|
+
var _onClick = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
|
|
29510
29517
|
var basketId;
|
|
29511
29518
|
return _regeneratorRuntime.wrap(function _callee2$(_context3) {
|
|
29512
29519
|
while (1) switch (_context3.prev = _context3.next) {
|
|
@@ -29643,7 +29650,7 @@ var DivaFavoritesHandler = /*#__PURE__*/function () {
|
|
|
29643
29650
|
}, {
|
|
29644
29651
|
key: "getVariantsForSummary",
|
|
29645
29652
|
value: function () {
|
|
29646
|
-
var _getVariantsForSummary = _asyncToGenerator(
|
|
29653
|
+
var _getVariantsForSummary = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(set) {
|
|
29647
29654
|
var _set$allVariantsCache;
|
|
29648
29655
|
var variants;
|
|
29649
29656
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
@@ -29684,7 +29691,7 @@ var DivaFavoritesHandler = /*#__PURE__*/function () {
|
|
|
29684
29691
|
}, {
|
|
29685
29692
|
key: "getAllValidVariants",
|
|
29686
29693
|
value: function () {
|
|
29687
|
-
var _getAllValidVariants = _asyncToGenerator(
|
|
29694
|
+
var _getAllValidVariants = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(set) {
|
|
29688
29695
|
var variants, articles, setHashes, variantId, origConfig, i, variantForTargetArticles, variantIsValid, targetArtcle, variantValues, currentConfig, configVariantValues, basketId, j, config, opt, opv, _basketId, variant, values, _loop, _opt, setHash, reservedId;
|
|
29689
29696
|
return _regeneratorRuntime.wrap(function _callee2$(_context3) {
|
|
29690
29697
|
while (1) switch (_context3.prev = _context3.next) {
|
|
@@ -30095,7 +30102,7 @@ var DivaFavoritesHandler = /*#__PURE__*/function () {
|
|
|
30095
30102
|
}, {
|
|
30096
30103
|
key: "getValidVariants",
|
|
30097
30104
|
value: function () {
|
|
30098
|
-
var _getValidVariants = _asyncToGenerator(
|
|
30105
|
+
var _getValidVariants = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(set, useCache) {
|
|
30099
30106
|
var allvariants, validVariants, i;
|
|
30100
30107
|
return _regeneratorRuntime.wrap(function _callee3$(_context4) {
|
|
30101
30108
|
while (1) switch (_context4.prev = _context4.next) {
|
|
@@ -30135,7 +30142,7 @@ var DivaFavoritesHandler = /*#__PURE__*/function () {
|
|
|
30135
30142
|
}, {
|
|
30136
30143
|
key: "handleFavorites",
|
|
30137
30144
|
value: function () {
|
|
30138
|
-
var _handleFavorites = _asyncToGenerator(
|
|
30145
|
+
var _handleFavorites = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(set, mode, actBasket, saveToBasketWrapper, doConfigure, updatePlanner, actions) {
|
|
30139
30146
|
var variantData, variants, i, _set$i18n3, variant, image, basketId, result;
|
|
30140
30147
|
return _regeneratorRuntime.wrap(function _callee4$(_context5) {
|
|
30141
30148
|
while (1) switch (_context5.prev = _context5.next) {
|
|
@@ -30239,7 +30246,7 @@ var DivaFavoritesHandler = /*#__PURE__*/function () {
|
|
|
30239
30246
|
}, {
|
|
30240
30247
|
key: "saveConfigVariantsInBasket",
|
|
30241
30248
|
value: function () {
|
|
30242
|
-
var _saveConfigVariantsInBasket = _asyncToGenerator(
|
|
30249
|
+
var _saveConfigVariantsInBasket = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5(set, basket, variant, repairOnly) {
|
|
30243
30250
|
var _hQRenderScript, _basket$OrderSets$set, _basket$OrderSets$set2;
|
|
30244
30251
|
var setindex, setImage, urlToPlanning2D, hQRenderScript, plannerData, promises, _yield$Promise$all, _yield$Promise$all2, i, optionsSorted, variantValues, _i3, opt, key, targetArticle, configVariant;
|
|
30245
30252
|
return _regeneratorRuntime.wrap(function _callee5$(_context6) {
|
|
@@ -30761,7 +30768,7 @@ var DivaConfigTreeHandler = /*#__PURE__*/function () {
|
|
|
30761
30768
|
}, {
|
|
30762
30769
|
key: "getConifgItemsForView",
|
|
30763
30770
|
value: function () {
|
|
30764
|
-
var _getConifgItemsForView = _asyncToGenerator(
|
|
30771
|
+
var _getConifgItemsForView = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(set, configStepKey) {
|
|
30765
30772
|
var optionStatesOfArticles, 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;
|
|
30766
30773
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
30767
30774
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -31185,7 +31192,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
31185
31192
|
return _createClass(DivaSetHandler, [{
|
|
31186
31193
|
key: "createSet",
|
|
31187
31194
|
value: function () {
|
|
31188
|
-
var _createSet = _asyncToGenerator(
|
|
31195
|
+
var _createSet = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(catalogData, orderSet, initSetState, lastSetToInitialize) {
|
|
31189
31196
|
var set;
|
|
31190
31197
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
31191
31198
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -31228,7 +31235,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
31228
31235
|
}, {
|
|
31229
31236
|
key: "initOrderLineArticles",
|
|
31230
31237
|
value: function () {
|
|
31231
|
-
var _initOrderLineArticles = _asyncToGenerator(
|
|
31238
|
+
var _initOrderLineArticles = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(set, orderSet) {
|
|
31232
31239
|
var _JSON$parse;
|
|
31233
31240
|
var catalogData, toLoadArticles, previousPartlistArticles, elements, _loop, i, _loop2, basketId, _i, toloadArtilce, newArticle, _i2, _newArticle, parentArticle, _newArticle$shelfPlan, _i3, cellsOfGrid, j, cell, gridIndex, accessoire, doesFit, _i4, _newArticle2$doorPlan, _newArticle2;
|
|
31234
31241
|
return _regeneratorRuntime.wrap(function _callee2$(_context4) {
|
|
@@ -31501,7 +31508,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
31501
31508
|
}, {
|
|
31502
31509
|
key: "initSetsByOrderSet",
|
|
31503
31510
|
value: function () {
|
|
31504
|
-
var _initSetsByOrderSet = _asyncToGenerator(
|
|
31511
|
+
var _initSetsByOrderSet = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(orderSets, initSetState) {
|
|
31505
31512
|
var sets, i, orderSet, _initSetState$updateS;
|
|
31506
31513
|
return _regeneratorRuntime.wrap(function _callee3$(_context5) {
|
|
31507
31514
|
while (1) switch (_context5.prev = _context5.next) {
|
|
@@ -31608,7 +31615,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
31608
31615
|
}, {
|
|
31609
31616
|
key: "initSet",
|
|
31610
31617
|
value: function () {
|
|
31611
|
-
var _initSet = _asyncToGenerator(
|
|
31618
|
+
var _initSet = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(orderSet, initSetState, updateSetImage, lastSetToInitialize) {
|
|
31612
31619
|
var _orderSet$OrderLines, _initSetState$article;
|
|
31613
31620
|
var catalogData, articlesToInitialize, set, params, j, _initSetState$initVar, _catalogData$promoted, variantValues, image;
|
|
31614
31621
|
return _regeneratorRuntime.wrap(function _callee4$(_context6) {
|
|
@@ -31687,7 +31694,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
31687
31694
|
}, {
|
|
31688
31695
|
key: "destroyPlannerHandler",
|
|
31689
31696
|
value: (function () {
|
|
31690
|
-
var _destroyPlannerHandler = _asyncToGenerator(
|
|
31697
|
+
var _destroyPlannerHandler = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5(set, doDestroy3DHostConnection) {
|
|
31691
31698
|
var result;
|
|
31692
31699
|
return _regeneratorRuntime.wrap(function _callee5$(_context7) {
|
|
31693
31700
|
while (1) switch (_context7.prev = _context7.next) {
|
|
@@ -31732,7 +31739,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
31732
31739
|
}, {
|
|
31733
31740
|
key: "addPlannerElement",
|
|
31734
31741
|
value: (function () {
|
|
31735
|
-
var _addPlannerElement = _asyncToGenerator(
|
|
31742
|
+
var _addPlannerElement = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6(set, artCodex, initParams, from) {
|
|
31736
31743
|
var newArticle, plannerElement, _set$getArticleByBask;
|
|
31737
31744
|
return _regeneratorRuntime.wrap(function _callee6$(_context8) {
|
|
31738
31745
|
while (1) switch (_context8.prev = _context8.next) {
|
|
@@ -31781,7 +31788,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
31781
31788
|
}, {
|
|
31782
31789
|
key: "copyPlannerElement",
|
|
31783
31790
|
value: (function () {
|
|
31784
|
-
var _copyPlannerElement = _asyncToGenerator(
|
|
31791
|
+
var _copyPlannerElement = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee7(set, elementId, copyInfo) {
|
|
31785
31792
|
var allElementsToCopy, articleCopyRelation, newSelectedArticle, i, newArticle;
|
|
31786
31793
|
return _regeneratorRuntime.wrap(function _callee7$(_context9) {
|
|
31787
31794
|
while (1) switch (_context9.prev = _context9.next) {
|
|
@@ -31830,7 +31837,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
31830
31837
|
}, {
|
|
31831
31838
|
key: "setValidatedVariantValues",
|
|
31832
31839
|
value: function () {
|
|
31833
|
-
var _setValidatedVariantValues = _asyncToGenerator(
|
|
31840
|
+
var _setValidatedVariantValues = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee8(article) {
|
|
31834
31841
|
return _regeneratorRuntime.wrap(function _callee8$(_context10) {
|
|
31835
31842
|
while (1) switch (_context10.prev = _context10.next) {
|
|
31836
31843
|
case 0:
|
|
@@ -31896,7 +31903,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
31896
31903
|
}, {
|
|
31897
31904
|
key: "copyArticleByElementId",
|
|
31898
31905
|
value: (function () {
|
|
31899
|
-
var _copyArticleByElementId = _asyncToGenerator(
|
|
31906
|
+
var _copyArticleByElementId = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee9(set, elementId, ignoreOptionsToCopy) {
|
|
31900
31907
|
var origArticle, variantValuesToCopy, i, newArticle;
|
|
31901
31908
|
return _regeneratorRuntime.wrap(function _callee9$(_context11) {
|
|
31902
31909
|
while (1) switch (_context11.prev = _context11.next) {
|
|
@@ -31925,7 +31932,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
31925
31932
|
}, {
|
|
31926
31933
|
key: "resetArticle",
|
|
31927
31934
|
value: function () {
|
|
31928
|
-
var _resetArticle = _asyncToGenerator(
|
|
31935
|
+
var _resetArticle = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee10(set, basketId) {
|
|
31929
31936
|
var article;
|
|
31930
31937
|
return _regeneratorRuntime.wrap(function _callee10$(_context12) {
|
|
31931
31938
|
while (1) switch (_context12.prev = _context12.next) {
|
|
@@ -31948,7 +31955,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
31948
31955
|
}, {
|
|
31949
31956
|
key: "addArticleToActSet",
|
|
31950
31957
|
value: function () {
|
|
31951
|
-
var _addArticleToActSet = _asyncToGenerator(
|
|
31958
|
+
var _addArticleToActSet = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee11(set, articleCodex, initParams, ignorePlanner) {
|
|
31952
31959
|
var from,
|
|
31953
31960
|
newArticle,
|
|
31954
31961
|
_set$getArticleByBask2,
|
|
@@ -32024,7 +32031,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
32024
32031
|
}, {
|
|
32025
32032
|
key: "updateAccessoireQuantity",
|
|
32026
32033
|
value: function () {
|
|
32027
|
-
var _updateAccessoireQuantity = _asyncToGenerator(
|
|
32034
|
+
var _updateAccessoireQuantity = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee12(set, accessoireItem, relatedToBasketId, nQuantity, forceConfigSingle) {
|
|
32028
32035
|
var changed3D, somethingChanged, articleCodex, parentArticle, configSingle, _accessoire$quantity, _accessoire, accessoire, curQuantity, delta, newQuantity;
|
|
32029
32036
|
return _regeneratorRuntime.wrap(function _callee12$(_context14) {
|
|
32030
32037
|
while (1) switch (_context14.prev = _context14.next) {
|
|
@@ -32105,7 +32112,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
32105
32112
|
}, {
|
|
32106
32113
|
key: "deleteElementFromSetByElemId",
|
|
32107
32114
|
value: function () {
|
|
32108
|
-
var _deleteElementFromSetByElemId = _asyncToGenerator(
|
|
32115
|
+
var _deleteElementFromSetByElemId = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee13(set, elementId, autoCorrectAVL_AVR, deletionType) {
|
|
32109
32116
|
var article;
|
|
32110
32117
|
return _regeneratorRuntime.wrap(function _callee13$(_context15) {
|
|
32111
32118
|
while (1) switch (_context15.prev = _context15.next) {
|
|
@@ -32142,7 +32149,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
32142
32149
|
}, {
|
|
32143
32150
|
key: "deleteElementFromSet",
|
|
32144
32151
|
value: function () {
|
|
32145
|
-
var _deleteElementFromSet = _asyncToGenerator(
|
|
32152
|
+
var _deleteElementFromSet = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee14(set, article, autoCorrectAVL_AVR, deletionType, dontReload) {
|
|
32146
32153
|
var _deletedArticle$doorP, _set$CatalogData, _deletedArticle$curPr;
|
|
32147
32154
|
var setId, deletedArticle, articles, key, newSelectedElement, oldTransform, result, _set$getArticleByBask3, elementDeleted;
|
|
32148
32155
|
return _regeneratorRuntime.wrap(function _callee14$(_context16) {
|
|
@@ -32230,7 +32237,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
32230
32237
|
}, {
|
|
32231
32238
|
key: "addAccessorieOnShelfPlanner",
|
|
32232
32239
|
value: function () {
|
|
32233
|
-
var _addAccessorieOnShelfPlanner = _asyncToGenerator(
|
|
32240
|
+
var _addAccessorieOnShelfPlanner = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee15(set, gridIndex, cellIndex, parentBasketId, params) {
|
|
32234
32241
|
var parentArticle, articleCodex, accessoire, doesFit;
|
|
32235
32242
|
return _regeneratorRuntime.wrap(function _callee15$(_context17) {
|
|
32236
32243
|
while (1) switch (_context17.prev = _context17.next) {
|
|
@@ -32327,7 +32334,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
32327
32334
|
}, {
|
|
32328
32335
|
key: "getFreeShelfGrids",
|
|
32329
32336
|
value: function () {
|
|
32330
|
-
var _getFreeShelfGrids = _asyncToGenerator(
|
|
32337
|
+
var _getFreeShelfGrids = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee16(set, gridGroup) {
|
|
32331
32338
|
var _article$shelfPlanner;
|
|
32332
32339
|
var articles, article, articleCodex, accessoire, ret;
|
|
32333
32340
|
return _regeneratorRuntime.wrap(function _callee16$(_context18) {
|
|
@@ -32430,7 +32437,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
32430
32437
|
}, {
|
|
32431
32438
|
key: "moveShelfItemToGrid",
|
|
32432
32439
|
value: function () {
|
|
32433
|
-
var _moveShelfItemToGrid = _asyncToGenerator(
|
|
32440
|
+
var _moveShelfItemToGrid = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee17(set, accessoireBasketId, parentBasketId, gridName, cellIndex) {
|
|
32434
32441
|
var _oldGrid$Cells$find;
|
|
32435
32442
|
var artices, accessoire, oldParent, newParent, oldGrid, newGrid, index;
|
|
32436
32443
|
return _regeneratorRuntime.wrap(function _callee17$(_context19) {
|
|
@@ -32515,7 +32522,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
32515
32522
|
}, {
|
|
32516
32523
|
key: "deleteAccessorieOnShelfPlanner",
|
|
32517
32524
|
value: function () {
|
|
32518
|
-
var _deleteAccessorieOnShelfPlanner = _asyncToGenerator(
|
|
32525
|
+
var _deleteAccessorieOnShelfPlanner = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee18(set, gridIndex, cellIndex, parentBasketId, dontReload) {
|
|
32519
32526
|
var _parentArticle$shelfP2;
|
|
32520
32527
|
var parentArticle, articeToDelete, _parentArticle$shelfP3;
|
|
32521
32528
|
return _regeneratorRuntime.wrap(function _callee18$(_context20) {
|
|
@@ -32549,7 +32556,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
32549
32556
|
}, {
|
|
32550
32557
|
key: "updatePlannerTrans",
|
|
32551
32558
|
value: function () {
|
|
32552
|
-
var _updatePlannerTrans = _asyncToGenerator(
|
|
32559
|
+
var _updatePlannerTrans = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee19(set, plannerElementID, deltaMove, deltaAngleDeg, rotCorrection, transState, autoDockingDistance) {
|
|
32553
32560
|
var updateConfig;
|
|
32554
32561
|
return _regeneratorRuntime.wrap(function _callee19$(_context21) {
|
|
32555
32562
|
while (1) switch (_context21.prev = _context21.next) {
|
|
@@ -32632,7 +32639,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
32632
32639
|
}, {
|
|
32633
32640
|
key: "deleteAccessoire",
|
|
32634
32641
|
value: function () {
|
|
32635
|
-
var _deleteAccessoire = _asyncToGenerator(
|
|
32642
|
+
var _deleteAccessoire = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee20(set, articleCodex, parentBasketId) {
|
|
32636
32643
|
var divaArticles, articlesToDelete, key, articleToDelete, maxQuantity, i;
|
|
32637
32644
|
return _regeneratorRuntime.wrap(function _callee20$(_context22) {
|
|
32638
32645
|
while (1) switch (_context22.prev = _context22.next) {
|
|
@@ -32809,7 +32816,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
32809
32816
|
}, {
|
|
32810
32817
|
key: "configSingleIsChanged",
|
|
32811
32818
|
value: (function () {
|
|
32812
|
-
var _configSingleIsChanged = _asyncToGenerator(
|
|
32819
|
+
var _configSingleIsChanged = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee21(set, newIsConfigSingle, groupedOptions, groupedArticles) {
|
|
32813
32820
|
var _set$getArticleByBask4, variantValues, key;
|
|
32814
32821
|
return _regeneratorRuntime.wrap(function _callee21$(_context23) {
|
|
32815
32822
|
while (1) switch (_context23.prev = _context23.next) {
|
|
@@ -32918,7 +32925,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
32918
32925
|
}, {
|
|
32919
32926
|
key: "loadConfigItemsOfActSetByConfigStepKey",
|
|
32920
32927
|
value: function () {
|
|
32921
|
-
var _loadConfigItemsOfActSetByConfigStepKey = _asyncToGenerator(
|
|
32928
|
+
var _loadConfigItemsOfActSetByConfigStepKey = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee22(set, configStepKey, visible) {
|
|
32922
32929
|
var _configItems$option;
|
|
32923
32930
|
var optionStatesOfArticle, configItems, paletteType, filterType, stepInfo, contentItemId;
|
|
32924
32931
|
return _regeneratorRuntime.wrap(function _callee22$(_context24) {
|
|
@@ -32997,7 +33004,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
32997
33004
|
}, {
|
|
32998
33005
|
key: "variantsEvaluator",
|
|
32999
33006
|
value: (function () {
|
|
33000
|
-
var _variantsEvaluator = _asyncToGenerator(
|
|
33007
|
+
var _variantsEvaluator = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee23(set, configItems, configStepKey, paletteType) {
|
|
33001
33008
|
var _set$WebConfig, _set$CatalogData$getO, _set$ViewConfig, _configItems$;
|
|
33002
33009
|
var calcVariantsForPricePreview, checkForProductsInStock, previewType, _set$CatalogData$show, targetArticles, startTime, variants, endTime;
|
|
33003
33010
|
return _regeneratorRuntime.wrap(function _callee23$(_context25) {
|
|
@@ -33050,7 +33057,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
33050
33057
|
}, {
|
|
33051
33058
|
key: "calcVariants",
|
|
33052
33059
|
value: function () {
|
|
33053
|
-
var _calcVariants = _asyncToGenerator(
|
|
33060
|
+
var _calcVariants = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee24(set, configItems, targetArticles) {
|
|
33054
33061
|
var variantInfo, origConfig, i, item, variantValues, doUseConfigs, key;
|
|
33055
33062
|
return _regeneratorRuntime.wrap(function _callee24$(_context26) {
|
|
33056
33063
|
while (1) switch (_context26.prev = _context26.next) {
|
|
@@ -33138,7 +33145,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
33138
33145
|
}, {
|
|
33139
33146
|
key: "updateArticlesOptionStatesOfActSet",
|
|
33140
33147
|
value: (function () {
|
|
33141
|
-
var _updateArticlesOptionStatesOfActSet = _asyncToGenerator(
|
|
33148
|
+
var _updateArticlesOptionStatesOfActSet = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee25(set, myValues, targetArticlesWithNewValues, ignorePlanner, from, partlistDiff) {
|
|
33142
33149
|
var _Object$keys, _resultPlannerUpdate;
|
|
33143
33150
|
var elementsToDeleteById, targetArticlesToUpdateOnly, retValues, diff, resultPlannerUpdate, targetElementIds, i, articleToDel, index, articleCopyRelation, newArticle;
|
|
33144
33151
|
return _regeneratorRuntime.wrap(function _callee25$(_context27) {
|
|
@@ -33324,7 +33331,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
33324
33331
|
}, {
|
|
33325
33332
|
key: "updateEdoArticles",
|
|
33326
33333
|
value: function () {
|
|
33327
|
-
var _updateEdoArticles = _asyncToGenerator(
|
|
33334
|
+
var _updateEdoArticles = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee26(set, edoArticlesToLoad) {
|
|
33328
33335
|
var oldBasketIds, i, article, newArticles, _i5, _i6;
|
|
33329
33336
|
return _regeneratorRuntime.wrap(function _callee26$(_context28) {
|
|
33330
33337
|
while (1) switch (_context28.prev = _context28.next) {
|
|
@@ -33510,7 +33517,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
33510
33517
|
}, {
|
|
33511
33518
|
key: "checkVariantData",
|
|
33512
33519
|
value: function () {
|
|
33513
|
-
var _checkVariantData = _asyncToGenerator(
|
|
33520
|
+
var _checkVariantData = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee27(set) {
|
|
33514
33521
|
var somethingChanged, data;
|
|
33515
33522
|
return _regeneratorRuntime.wrap(function _callee27$(_context29) {
|
|
33516
33523
|
while (1) switch (_context29.prev = _context29.next) {
|
|
@@ -33592,7 +33599,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
33592
33599
|
}, {
|
|
33593
33600
|
key: "fillOrderLinesAndOrderSets",
|
|
33594
33601
|
value: function () {
|
|
33595
|
-
var _fillOrderLinesAndOrderSets = _asyncToGenerator(
|
|
33602
|
+
var _fillOrderLinesAndOrderSets = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee28(sets, divaBasketHandler, repairOnly, setPlanner, returnTo) {
|
|
33596
33603
|
var _set$WebConfig2;
|
|
33597
33604
|
var orderSets, basketData, set, setPosNr, price, key, _set$basketConfigVari, _OrderLinesOfActSet$, _set, catalogData, articles, orderLineInitInfos, newOrderSet, OrderLinesOfActSet, ret, _key2, i, _basketData$OrderSets, _basketData$SetPlanne, oderSetsIsInActPlanning, setId, j;
|
|
33598
33605
|
return _regeneratorRuntime.wrap(function _callee28$(_context30) {
|
|
@@ -33786,7 +33793,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
33786
33793
|
}, {
|
|
33787
33794
|
key: "getOrderSet",
|
|
33788
33795
|
value: function () {
|
|
33789
|
-
var _getOrderSet = _asyncToGenerator(
|
|
33796
|
+
var _getOrderSet = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee29(set, catalogData, posNr, divaNr, repairOnly, returnTo) {
|
|
33790
33797
|
var _hqRenderScript, _set$basketConfigVari2, _set$basketConfigVari3;
|
|
33791
33798
|
var dontGenerateImages, orderSet, GroupType, plannerData, setImage, urlToPlanning2D, alternateSetImages, hqRenderScript, promise3D, promise2D, promise3DAlternate, _yield$Promise$all, _yield$Promise$all2, promiseHQRenderScript, _yield$Promise$all3, _yield$Promise$all4, plannerWarnings, bruttoPrice;
|
|
33792
33799
|
return _regeneratorRuntime.wrap(function _callee29$(_context31) {
|
|
@@ -33909,7 +33916,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
33909
33916
|
}, {
|
|
33910
33917
|
key: "getSetImage",
|
|
33911
33918
|
value: (function () {
|
|
33912
|
-
var _getSetImage = _asyncToGenerator(
|
|
33919
|
+
var _getSetImage = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee30(set, overwriteLastSavedRendering) {
|
|
33913
33920
|
var setImage, is3D;
|
|
33914
33921
|
return _regeneratorRuntime.wrap(function _callee30$(_context32) {
|
|
33915
33922
|
while (1) switch (_context32.prev = _context32.next) {
|
|
@@ -33949,7 +33956,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
33949
33956
|
}, {
|
|
33950
33957
|
key: "getHQRenderScript",
|
|
33951
33958
|
value: function () {
|
|
33952
|
-
var _getHQRenderScript = _asyncToGenerator(
|
|
33959
|
+
var _getHQRenderScript = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee31(set, divaNr) {
|
|
33953
33960
|
var is3D, hqRenderScript, createdHQRenderScript;
|
|
33954
33961
|
return _regeneratorRuntime.wrap(function _callee31$(_context33) {
|
|
33955
33962
|
while (1) switch (_context33.prev = _context33.next) {
|
|
@@ -34001,7 +34008,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
34001
34008
|
}, {
|
|
34002
34009
|
key: "getAlternateSetImages",
|
|
34003
34010
|
value: (function () {
|
|
34004
|
-
var _getAlternateSetImages = _asyncToGenerator(
|
|
34011
|
+
var _getAlternateSetImages = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee32(set) {
|
|
34005
34012
|
var is2D, catalogData, setImages;
|
|
34006
34013
|
return _regeneratorRuntime.wrap(function _callee32$(_context34) {
|
|
34007
34014
|
while (1) switch (_context34.prev = _context34.next) {
|
|
@@ -34042,7 +34049,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
34042
34049
|
}, {
|
|
34043
34050
|
key: "get2DSetImage",
|
|
34044
34051
|
value: function () {
|
|
34045
|
-
var _get2DSetImage = _asyncToGenerator(
|
|
34052
|
+
var _get2DSetImage = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee33(set) {
|
|
34046
34053
|
var urlToPlanning2D, catalogData, planning2DAsJPGBase64;
|
|
34047
34054
|
return _regeneratorRuntime.wrap(function _callee33$(_context35) {
|
|
34048
34055
|
while (1) switch (_context35.prev = _context35.next) {
|
|
@@ -34090,7 +34097,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
34090
34097
|
}, {
|
|
34091
34098
|
key: "loadProductsOfSets",
|
|
34092
34099
|
value: function () {
|
|
34093
|
-
var _loadProductsOfSets = _asyncToGenerator(
|
|
34100
|
+
var _loadProductsOfSets = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee34(orderSets, involvedSetIds) {
|
|
34094
34101
|
return _regeneratorRuntime.wrap(function _callee34$(_context36) {
|
|
34095
34102
|
while (1) switch (_context36.prev = _context36.next) {
|
|
34096
34103
|
case 0:
|
|
@@ -34139,7 +34146,7 @@ var DivaSetHandler = /*#__PURE__*/function () {
|
|
|
34139
34146
|
}, {
|
|
34140
34147
|
key: "addOrderSetArticlesToExistingSet",
|
|
34141
34148
|
value: function () {
|
|
34142
|
-
var _addOrderSetArticlesToExistingSet = _asyncToGenerator(
|
|
34149
|
+
var _addOrderSetArticlesToExistingSet = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee35(set, orderSet, lastSetToInitialize) {
|
|
34143
34150
|
return _regeneratorRuntime.wrap(function _callee35$(_context37) {
|
|
34144
34151
|
while (1) switch (_context37.prev = _context37.next) {
|
|
34145
34152
|
case 0:
|
|
@@ -34274,7 +34281,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
34274
34281
|
}, {
|
|
34275
34282
|
key: "initializeBasket",
|
|
34276
34283
|
value: function () {
|
|
34277
|
-
var _initializeBasket = _asyncToGenerator(
|
|
34284
|
+
var _initializeBasket = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(api) {
|
|
34278
34285
|
var _this$plannerConfig$s3, _this$plannerConfig$s5, _api$getPlannerType, _this$plannerConfig$r;
|
|
34279
34286
|
var returnSuccessfully, divaNr, i, os, _params$customFieldsT, params, _this$plannerConfig$h, _this$plannerConfig$c, _this$plannerConfig$c2, _this$plannerConfig$c3, _result$data$, result, _result$data$2, _this$plannerConfig$s4, _this$plannerConfig$a4, _api$getI18n, _api$getI18n2, successfully;
|
|
34280
34287
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
@@ -34485,7 +34492,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
34485
34492
|
}, {
|
|
34486
34493
|
key: "initProductId",
|
|
34487
34494
|
value: function () {
|
|
34488
|
-
var _initProductId = _asyncToGenerator(
|
|
34495
|
+
var _initProductId = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(api, productId, keepOldDivaNr) {
|
|
34489
34496
|
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
34490
34497
|
while (1) switch (_context2.prev = _context2.next) {
|
|
34491
34498
|
case 0:
|
|
@@ -34507,7 +34514,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
34507
34514
|
}, {
|
|
34508
34515
|
key: "tryInitFirstCatalog",
|
|
34509
34516
|
value: function () {
|
|
34510
|
-
var _tryInitFirstCatalog = _asyncToGenerator(
|
|
34517
|
+
var _tryInitFirstCatalog = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(api) {
|
|
34511
34518
|
var _catalogs$Catalogs$, _catalogs$Catalogs$2;
|
|
34512
34519
|
var accounts, catalogs;
|
|
34513
34520
|
return _regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
@@ -34553,7 +34560,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
34553
34560
|
}, {
|
|
34554
34561
|
key: "createNewDivaNr",
|
|
34555
34562
|
value: function () {
|
|
34556
|
-
var _createNewDivaNr = _asyncToGenerator(
|
|
34563
|
+
var _createNewDivaNr = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(api) {
|
|
34557
34564
|
var _this$plannerConfig$s6;
|
|
34558
34565
|
var ret;
|
|
34559
34566
|
return _regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
@@ -34588,7 +34595,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
34588
34595
|
}, {
|
|
34589
34596
|
key: "initBasket",
|
|
34590
34597
|
value: function () {
|
|
34591
|
-
var _initBasket = _asyncToGenerator(
|
|
34598
|
+
var _initBasket = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5(api, divaNr, dataFromApi, keepOldDivaNr, origProductId) {
|
|
34592
34599
|
var _dataFromApi$basket;
|
|
34593
34600
|
var basketFromAPI, basket, i, _basket$SetPlannerInf, oldSetId, newSetId, foundIndex, newDivaNr, _this$plannerConfig$s7, _dataFromApi$NewestDo, _i;
|
|
34594
34601
|
return _regeneratorRuntime.wrap(function _callee5$(_context5) {
|
|
@@ -34735,7 +34742,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
34735
34742
|
}, {
|
|
34736
34743
|
key: "loadBasketByCatalogCodex",
|
|
34737
34744
|
value: function () {
|
|
34738
|
-
var _loadBasketByCatalogCodex = _asyncToGenerator(
|
|
34745
|
+
var _loadBasketByCatalogCodex = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6(api) {
|
|
34739
34746
|
var _this$plannerConfig$s8;
|
|
34740
34747
|
var newBasket, _this$baskets$this$di;
|
|
34741
34748
|
return _regeneratorRuntime.wrap(function _callee6$(_context6) {
|
|
@@ -34795,7 +34802,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
34795
34802
|
}, {
|
|
34796
34803
|
key: "loadBasketByDivaNr",
|
|
34797
34804
|
value: function () {
|
|
34798
|
-
var _loadBasketByDivaNr = _asyncToGenerator(
|
|
34805
|
+
var _loadBasketByDivaNr = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee7(api, divaNr, keepOldDivaNr, origProductId) {
|
|
34799
34806
|
var variantData;
|
|
34800
34807
|
return _regeneratorRuntime.wrap(function _callee7$(_context7) {
|
|
34801
34808
|
while (1) switch (_context7.prev = _context7.next) {
|
|
@@ -34833,7 +34840,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
34833
34840
|
}, {
|
|
34834
34841
|
key: "loadBasketByCustomProductId",
|
|
34835
34842
|
value: function () {
|
|
34836
|
-
var _loadBasketByCustomProductId = _asyncToGenerator(
|
|
34843
|
+
var _loadBasketByCustomProductId = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee8(api, key, productId, fields) {
|
|
34837
34844
|
var variantData;
|
|
34838
34845
|
return _regeneratorRuntime.wrap(function _callee8$(_context8) {
|
|
34839
34846
|
while (1) switch (_context8.prev = _context8.next) {
|
|
@@ -34871,7 +34878,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
34871
34878
|
}, {
|
|
34872
34879
|
key: "loadProduct",
|
|
34873
34880
|
value: function () {
|
|
34874
|
-
var _loadProduct = _asyncToGenerator(
|
|
34881
|
+
var _loadProduct = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee9(api, productId, keepOldDivaNr) {
|
|
34875
34882
|
var result, divaNr, id, successfully;
|
|
34876
34883
|
return _regeneratorRuntime.wrap(function _callee9$(_context9) {
|
|
34877
34884
|
while (1) switch (_context9.prev = _context9.next) {
|
|
@@ -34919,7 +34926,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
34919
34926
|
}, {
|
|
34920
34927
|
key: "getProduct",
|
|
34921
34928
|
value: function () {
|
|
34922
|
-
var _getProduct = _asyncToGenerator(
|
|
34929
|
+
var _getProduct = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee10(api, productId) {
|
|
34923
34930
|
var result;
|
|
34924
34931
|
return _regeneratorRuntime.wrap(function _callee10$(_context10) {
|
|
34925
34932
|
while (1) switch (_context10.prev = _context10.next) {
|
|
@@ -34955,7 +34962,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
34955
34962
|
}, {
|
|
34956
34963
|
key: "createNewBasket",
|
|
34957
34964
|
value: function () {
|
|
34958
|
-
var _createNewBasket = _asyncToGenerator(
|
|
34965
|
+
var _createNewBasket = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee11(api, initObject, divaNr, lang) {
|
|
34959
34966
|
var setId, orderSet, basketInitObejct, basket;
|
|
34960
34967
|
return _regeneratorRuntime.wrap(function _callee11$(_context11) {
|
|
34961
34968
|
while (1) switch (_context11.prev = _context11.next) {
|
|
@@ -35018,7 +35025,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
35018
35025
|
}, {
|
|
35019
35026
|
key: "saveToBasket",
|
|
35020
35027
|
value: function () {
|
|
35021
|
-
var _saveToBasket = _asyncToGenerator(
|
|
35028
|
+
var _saveToBasket = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee12(api, actBasket, returnTo) {
|
|
35022
35029
|
var _this$plannerConfig$c4, _this$_basketHandler, _api$getJwt;
|
|
35023
35030
|
var response;
|
|
35024
35031
|
return _regeneratorRuntime.wrap(function _callee12$(_context12) {
|
|
@@ -35184,7 +35191,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
35184
35191
|
}, {
|
|
35185
35192
|
key: "initWWSClient",
|
|
35186
35193
|
value: function () {
|
|
35187
|
-
var _initWWSClient = _asyncToGenerator(
|
|
35194
|
+
var _initWWSClient = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee13(wwsClient) {
|
|
35188
35195
|
var _yield$import, PfisterWWSHandler, _yield$import2, LiviqueWWSHandler, _yield$import3, SeriousWWSHandler, _yield$import4, ProductWWSHandler, _yield$import5, StandardWWSHandler;
|
|
35189
35196
|
return _regeneratorRuntime.wrap(function _callee13$(_context13) {
|
|
35190
35197
|
while (1) switch (_context13.prev = _context13.next) {
|
|
@@ -35194,7 +35201,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
35194
35201
|
break;
|
|
35195
35202
|
case 3:
|
|
35196
35203
|
_context13.next = 5;
|
|
35197
|
-
return import('./PfisterWWSHandler-
|
|
35204
|
+
return import('./PfisterWWSHandler-7e6d73a9.js');
|
|
35198
35205
|
case 5:
|
|
35199
35206
|
_yield$import = _context13.sent;
|
|
35200
35207
|
PfisterWWSHandler = _yield$import["default"];
|
|
@@ -35202,7 +35209,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
35202
35209
|
return _context13.abrupt("break", 33);
|
|
35203
35210
|
case 9:
|
|
35204
35211
|
_context13.next = 11;
|
|
35205
|
-
return import('./LiviqueWWSHandler-
|
|
35212
|
+
return import('./LiviqueWWSHandler-8ac2de7d.js');
|
|
35206
35213
|
case 11:
|
|
35207
35214
|
_yield$import2 = _context13.sent;
|
|
35208
35215
|
LiviqueWWSHandler = _yield$import2["default"];
|
|
@@ -35210,7 +35217,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
35210
35217
|
return _context13.abrupt("break", 33);
|
|
35211
35218
|
case 15:
|
|
35212
35219
|
_context13.next = 17;
|
|
35213
|
-
return import('./SeriousBasketHandler-
|
|
35220
|
+
return import('./SeriousBasketHandler-00d1471a.js');
|
|
35214
35221
|
case 17:
|
|
35215
35222
|
_yield$import3 = _context13.sent;
|
|
35216
35223
|
SeriousWWSHandler = _yield$import3["default"];
|
|
@@ -35218,7 +35225,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
35218
35225
|
return _context13.abrupt("break", 33);
|
|
35219
35226
|
case 21:
|
|
35220
35227
|
_context13.next = 23;
|
|
35221
|
-
return import('./ProductBasketHandler-
|
|
35228
|
+
return import('./ProductBasketHandler-faa30dae.js');
|
|
35222
35229
|
case 23:
|
|
35223
35230
|
_yield$import4 = _context13.sent;
|
|
35224
35231
|
ProductWWSHandler = _yield$import4["default"];
|
|
@@ -35226,7 +35233,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
35226
35233
|
return _context13.abrupt("break", 33);
|
|
35227
35234
|
case 27:
|
|
35228
35235
|
_context13.next = 29;
|
|
35229
|
-
return import('./StandardWWSHandler-
|
|
35236
|
+
return import('./StandardWWSHandler-33764628.js');
|
|
35230
35237
|
case 29:
|
|
35231
35238
|
_yield$import5 = _context13.sent;
|
|
35232
35239
|
StandardWWSHandler = _yield$import5["default"];
|
|
@@ -36476,7 +36483,7 @@ var PlannerHandler3D = /*#__PURE__*/function () {
|
|
|
36476
36483
|
}, {
|
|
36477
36484
|
key: "initializeViewPoint",
|
|
36478
36485
|
value: (function () {
|
|
36479
|
-
var _initializeViewPoint = _asyncToGenerator(
|
|
36486
|
+
var _initializeViewPoint = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(standardWhiteRoom) {
|
|
36480
36487
|
var _this$connectionHandl;
|
|
36481
36488
|
var res, info;
|
|
36482
36489
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
@@ -36518,7 +36525,7 @@ var PlannerHandler3D = /*#__PURE__*/function () {
|
|
|
36518
36525
|
}, {
|
|
36519
36526
|
key: "initializeStaticRoomList",
|
|
36520
36527
|
value: (function () {
|
|
36521
|
-
var _initializeStaticRoomList = _asyncToGenerator(
|
|
36528
|
+
var _initializeStaticRoomList = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(staticRoomList, catalogMainCategory) {
|
|
36522
36529
|
var roomListMsg;
|
|
36523
36530
|
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
36524
36531
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -36589,14 +36596,14 @@ var PlannerHandler3D = /*#__PURE__*/function () {
|
|
|
36589
36596
|
}, {
|
|
36590
36597
|
key: "initializeConnection",
|
|
36591
36598
|
value: function () {
|
|
36592
|
-
var _initializeConnection = _asyncToGenerator(
|
|
36599
|
+
var _initializeConnection = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {
|
|
36593
36600
|
var _this$connectionHandl2;
|
|
36594
36601
|
var _yield$import, Host3DSignalR;
|
|
36595
36602
|
return _regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
36596
36603
|
while (1) switch (_context3.prev = _context3.next) {
|
|
36597
36604
|
case 0:
|
|
36598
36605
|
_context3.next = 2;
|
|
36599
|
-
return import('./Host3DSignalR-
|
|
36606
|
+
return import('./Host3DSignalR-de59e1ca.js');
|
|
36600
36607
|
case 2:
|
|
36601
36608
|
_yield$import = _context3.sent;
|
|
36602
36609
|
Host3DSignalR = _yield$import["default"];
|
|
@@ -36628,7 +36635,7 @@ var PlannerHandler3D = /*#__PURE__*/function () {
|
|
|
36628
36635
|
}, {
|
|
36629
36636
|
key: "onConnectionInitialized",
|
|
36630
36637
|
value: function () {
|
|
36631
|
-
var _onConnectionInitialized = _asyncToGenerator(
|
|
36638
|
+
var _onConnectionInitialized = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(params) {
|
|
36632
36639
|
var _this$connectionHandl5;
|
|
36633
36640
|
var i;
|
|
36634
36641
|
return _regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
@@ -36872,7 +36879,7 @@ var PlannerHandler3D = /*#__PURE__*/function () {
|
|
|
36872
36879
|
}, {
|
|
36873
36880
|
key: "getLastSavedRendering",
|
|
36874
36881
|
value: (function () {
|
|
36875
|
-
var _getLastSavedRendering = _asyncToGenerator(
|
|
36882
|
+
var _getLastSavedRendering = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5() {
|
|
36876
36883
|
var _this$lastSavedRender;
|
|
36877
36884
|
var startTimeWait;
|
|
36878
36885
|
return _regeneratorRuntime.wrap(function _callee5$(_context5) {
|
|
@@ -36930,7 +36937,7 @@ var PlannerHandler3D = /*#__PURE__*/function () {
|
|
|
36930
36937
|
}, {
|
|
36931
36938
|
key: "getLastSavedAlternateRenderings",
|
|
36932
36939
|
value: (function () {
|
|
36933
|
-
var _getLastSavedAlternateRenderings = _asyncToGenerator(
|
|
36940
|
+
var _getLastSavedAlternateRenderings = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6() {
|
|
36934
36941
|
var startTimeWait, i;
|
|
36935
36942
|
return _regeneratorRuntime.wrap(function _callee6$(_context6) {
|
|
36936
36943
|
while (1) switch (_context6.prev = _context6.next) {
|
|
@@ -37045,7 +37052,7 @@ var PlannerHandler3D = /*#__PURE__*/function () {
|
|
|
37045
37052
|
}, {
|
|
37046
37053
|
key: "request3D",
|
|
37047
37054
|
value: (function () {
|
|
37048
|
-
var _request3D = _asyncToGenerator(
|
|
37055
|
+
var _request3D = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee7(params) {
|
|
37049
37056
|
var _params$renderRequest, _params$renderRequest2, _params$renderRequest3, _params$renderRequest4, _params$renderRequest5, _params$renderRequest6, _this$viewPointHandle;
|
|
37050
37057
|
var room, newRenderSize, doReloadWholePlanning, planningHash, requestRenderingFrom3DHost, requestHqRenderScriptFrom3DHost, rendering, renderHash, viewPointName, functionType, _params$camera, sizeInfo, _rendering, fullscreenRendering, renderingInCacheFound, _this$connectionHandl6, _plannerMeasureDigits, _params$camera2, _params$camera3, returnRequest;
|
|
37051
37058
|
return _regeneratorRuntime.wrap(function _callee7$(_context7) {
|
|
@@ -37384,13 +37391,13 @@ var PlannerHandler3D = /*#__PURE__*/function () {
|
|
|
37384
37391
|
}, {
|
|
37385
37392
|
key: "openARObserverConnection",
|
|
37386
37393
|
value: function () {
|
|
37387
|
-
var _openARObserverConnection = _asyncToGenerator(
|
|
37394
|
+
var _openARObserverConnection = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee9(handleNoHqrs) {
|
|
37388
37395
|
var _this2 = this;
|
|
37389
37396
|
return _regeneratorRuntime.wrap(function _callee9$(_context9) {
|
|
37390
37397
|
while (1) switch (_context9.prev = _context9.next) {
|
|
37391
37398
|
case 0:
|
|
37392
|
-
return _context9.abrupt("return", new Promise(
|
|
37393
|
-
var _ref = _asyncToGenerator(
|
|
37399
|
+
return _context9.abrupt("return", new Promise(/*#__PURE__*/function () {
|
|
37400
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee8(resolve, reject) {
|
|
37394
37401
|
var socketUrl;
|
|
37395
37402
|
return _regeneratorRuntime.wrap(function _callee8$(_context8) {
|
|
37396
37403
|
while (1) switch (_context8.prev = _context8.next) {
|
|
@@ -37539,7 +37546,7 @@ var DivaMediaServiceHandler = /*#__PURE__*/function () {
|
|
|
37539
37546
|
}, {
|
|
37540
37547
|
key: "savePlanning2DPermanent",
|
|
37541
37548
|
value: function () {
|
|
37542
|
-
var _savePlanning2DPermanent = _asyncToGenerator(
|
|
37549
|
+
var _savePlanning2DPermanent = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(hash, catalogCodex, catalogGUID, planning2DAsJPG) {
|
|
37543
37550
|
var imageBlob, url, data, mediaItem, mediaItemRef, response, res;
|
|
37544
37551
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
37545
37552
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -37938,7 +37945,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
|
|
|
37938
37945
|
return _createClass(DivaPlannerHandler, [{
|
|
37939
37946
|
key: "initPlanner",
|
|
37940
37947
|
value: (function () {
|
|
37941
|
-
var _initPlanner = _asyncToGenerator(
|
|
37948
|
+
var _initPlanner = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(initSetState, plannerHandlerFunctions) {
|
|
37942
37949
|
var renderGroup, diva3dServerUrl, divaMediaServiceUrl, mediaServiceApiKey, _initSetState$api$web, result;
|
|
37943
37950
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
37944
37951
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -38013,7 +38020,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
|
|
|
38013
38020
|
}, {
|
|
38014
38021
|
key: "updatePlanner",
|
|
38015
38022
|
value: (function () {
|
|
38016
|
-
var _updatePlanner = _asyncToGenerator(
|
|
38023
|
+
var _updatePlanner = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(setId, changedOPT, targetElementIds) {
|
|
38017
38024
|
var result, _this$plannerHandlerF, _this$plannerHandlerF2;
|
|
38018
38025
|
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
38019
38026
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -38058,7 +38065,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
|
|
|
38058
38065
|
}, {
|
|
38059
38066
|
key: "extendSet",
|
|
38060
38067
|
value: (function () {
|
|
38061
|
-
var _extendSet = _asyncToGenerator(
|
|
38068
|
+
var _extendSet = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(set, setPlanData, lastSetToInitialize) {
|
|
38062
38069
|
var planner;
|
|
38063
38070
|
return _regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
38064
38071
|
while (1) switch (_context3.prev = _context3.next) {
|
|
@@ -38104,7 +38111,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
|
|
|
38104
38111
|
}, {
|
|
38105
38112
|
key: "initSet",
|
|
38106
38113
|
value: (function () {
|
|
38107
|
-
var _initSet = _asyncToGenerator(
|
|
38114
|
+
var _initSet = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(set, catalogData, setPlanData) {
|
|
38108
38115
|
var lastSetToInitialize,
|
|
38109
38116
|
planner,
|
|
38110
38117
|
hasStaticBackground,
|
|
@@ -38145,7 +38152,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
|
|
|
38145
38152
|
break;
|
|
38146
38153
|
case 8:
|
|
38147
38154
|
_context4.next = 10;
|
|
38148
|
-
return import('./DivaStandardPlanner-
|
|
38155
|
+
return import('./DivaStandardPlanner-b23fcfc4.js');
|
|
38149
38156
|
case 10:
|
|
38150
38157
|
_yield$import = _context4.sent;
|
|
38151
38158
|
DivaStandardPlanner = _yield$import["default"];
|
|
@@ -38156,7 +38163,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
|
|
|
38156
38163
|
return _context4.abrupt("break", 21);
|
|
38157
38164
|
case 15:
|
|
38158
38165
|
_context4.next = 17;
|
|
38159
|
-
return import('./DivaBoxPlanner-
|
|
38166
|
+
return import('./DivaBoxPlanner-da028daa.js');
|
|
38160
38167
|
case 17:
|
|
38161
38168
|
_yield$import2 = _context4.sent;
|
|
38162
38169
|
DivaBoxPlanner = _yield$import2["default"];
|
|
@@ -38257,7 +38264,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
|
|
|
38257
38264
|
}, {
|
|
38258
38265
|
key: "getSetRendering",
|
|
38259
38266
|
value: (function () {
|
|
38260
|
-
var _getSetRendering = _asyncToGenerator(
|
|
38267
|
+
var _getSetRendering = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5(setId) {
|
|
38261
38268
|
var rendering;
|
|
38262
38269
|
return _regeneratorRuntime.wrap(function _callee5$(_context5) {
|
|
38263
38270
|
while (1) switch (_context5.prev = _context5.next) {
|
|
@@ -38289,7 +38296,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
|
|
|
38289
38296
|
}, {
|
|
38290
38297
|
key: "getSetImageAsUrl",
|
|
38291
38298
|
value: (function () {
|
|
38292
|
-
var _getSetImageAsUrl = _asyncToGenerator(
|
|
38299
|
+
var _getSetImageAsUrl = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6(setId) {
|
|
38293
38300
|
var rendering;
|
|
38294
38301
|
return _regeneratorRuntime.wrap(function _callee6$(_context6) {
|
|
38295
38302
|
while (1) switch (_context6.prev = _context6.next) {
|
|
@@ -38325,7 +38332,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
|
|
|
38325
38332
|
}, {
|
|
38326
38333
|
key: "getAlternateSetRenderings",
|
|
38327
38334
|
value: (function () {
|
|
38328
|
-
var _getAlternateSetRenderings = _asyncToGenerator(
|
|
38335
|
+
var _getAlternateSetRenderings = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee7(setId) {
|
|
38329
38336
|
var renderings;
|
|
38330
38337
|
return _regeneratorRuntime.wrap(function _callee7$(_context7) {
|
|
38331
38338
|
while (1) switch (_context7.prev = _context7.next) {
|
|
@@ -38362,7 +38369,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
|
|
|
38362
38369
|
}, {
|
|
38363
38370
|
key: "getAlternateSetImagesAsSetImageData",
|
|
38364
38371
|
value: (function () {
|
|
38365
|
-
var _getAlternateSetImagesAsSetImageData = _asyncToGenerator(
|
|
38372
|
+
var _getAlternateSetImagesAsSetImageData = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee8(setId) {
|
|
38366
38373
|
var renderings, setImageDatas, i, alternateRenderInfo;
|
|
38367
38374
|
return _regeneratorRuntime.wrap(function _callee8$(_context8) {
|
|
38368
38375
|
while (1) switch (_context8.prev = _context8.next) {
|
|
@@ -38413,7 +38420,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
|
|
|
38413
38420
|
}, {
|
|
38414
38421
|
key: "saveSetHQRenderScript",
|
|
38415
38422
|
value: function () {
|
|
38416
|
-
var _saveSetHQRenderScript = _asyncToGenerator(
|
|
38423
|
+
var _saveSetHQRenderScript = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee9() {
|
|
38417
38424
|
var hashes, planningHash, checkingTimes, i;
|
|
38418
38425
|
return _regeneratorRuntime.wrap(function _callee9$(_context9) {
|
|
38419
38426
|
while (1) switch (_context9.prev = _context9.next) {
|
|
@@ -38462,7 +38469,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
|
|
|
38462
38469
|
}, {
|
|
38463
38470
|
key: "saveSetImage",
|
|
38464
38471
|
value: function () {
|
|
38465
|
-
var _saveSetImage = _asyncToGenerator(
|
|
38472
|
+
var _saveSetImage = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee10(overwriteLastSavedRendering) {
|
|
38466
38473
|
var hashes, renderHash, sumWaitingMS, rendering;
|
|
38467
38474
|
return _regeneratorRuntime.wrap(function _callee10$(_context10) {
|
|
38468
38475
|
while (1) switch (_context10.prev = _context10.next) {
|
|
@@ -38540,7 +38547,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
|
|
|
38540
38547
|
}, {
|
|
38541
38548
|
key: "saveAlternateSetImages",
|
|
38542
38549
|
value: (function () {
|
|
38543
|
-
var _saveAlternateSetImages = _asyncToGenerator(
|
|
38550
|
+
var _saveAlternateSetImages = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee11(catCodex, catGUID) {
|
|
38544
38551
|
var renderings, i, j;
|
|
38545
38552
|
return _regeneratorRuntime.wrap(function _callee11$(_context11) {
|
|
38546
38553
|
while (1) switch (_context11.prev = _context11.next) {
|
|
@@ -38601,7 +38608,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
|
|
|
38601
38608
|
}, {
|
|
38602
38609
|
key: "saveSet2DImage",
|
|
38603
38610
|
value: function () {
|
|
38604
|
-
var _saveSet2DImage = _asyncToGenerator(
|
|
38611
|
+
var _saveSet2DImage = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee12(setId, catCodex, catGUID, planning2DAsJPGBase64) {
|
|
38605
38612
|
var curPlanningHash, urlToPlanning2D;
|
|
38606
38613
|
return _regeneratorRuntime.wrap(function _callee12$(_context12) {
|
|
38607
38614
|
while (1) switch (_context12.prev = _context12.next) {
|
|
@@ -38676,7 +38683,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
|
|
|
38676
38683
|
}, {
|
|
38677
38684
|
key: "addPlannerElement",
|
|
38678
38685
|
value: function () {
|
|
38679
|
-
var _addPlannerElement = _asyncToGenerator(
|
|
38686
|
+
var _addPlannerElement = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee13(setId, basketId, initParams) {
|
|
38680
38687
|
var _this$plannerList$get;
|
|
38681
38688
|
return _regeneratorRuntime.wrap(function _callee13$(_context13) {
|
|
38682
38689
|
while (1) switch (_context13.prev = _context13.next) {
|
|
@@ -38712,7 +38719,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
|
|
|
38712
38719
|
}, {
|
|
38713
38720
|
key: "deletePlannerElement",
|
|
38714
38721
|
value: function () {
|
|
38715
|
-
var _deletePlannerElement = _asyncToGenerator(
|
|
38722
|
+
var _deletePlannerElement = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee14(setId, elementId, autoCorrectAVL_AVR, deletionType) {
|
|
38716
38723
|
var response;
|
|
38717
38724
|
return _regeneratorRuntime.wrap(function _callee14$(_context14) {
|
|
38718
38725
|
while (1) switch (_context14.prev = _context14.next) {
|
|
@@ -38770,7 +38777,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
|
|
|
38770
38777
|
}, {
|
|
38771
38778
|
key: "copyPlannerElements",
|
|
38772
38779
|
value: (function () {
|
|
38773
|
-
var _copyPlannerElements = _asyncToGenerator(
|
|
38780
|
+
var _copyPlannerElements = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee15(setId, articleCopyRelation, copyInfo) {
|
|
38774
38781
|
var response;
|
|
38775
38782
|
return _regeneratorRuntime.wrap(function _callee15$(_context15) {
|
|
38776
38783
|
while (1) switch (_context15.prev = _context15.next) {
|
|
@@ -38914,7 +38921,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
|
|
|
38914
38921
|
}, {
|
|
38915
38922
|
key: "request3D",
|
|
38916
38923
|
value: function () {
|
|
38917
|
-
var _request3D = _asyncToGenerator(
|
|
38924
|
+
var _request3D = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee16(doRequestRendering, doRequestHqRenderScript, alternateRenderingsExist, alternateRenderInfo, forceReloadPlanning, renderRequestInfos, viewpoint) {
|
|
38918
38925
|
var _this3 = this;
|
|
38919
38926
|
var plannerData, loadedCatData, plannerExists, savedSetId;
|
|
38920
38927
|
return _regeneratorRuntime.wrap(function _callee16$(_context16) {
|
|
@@ -39250,7 +39257,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
39250
39257
|
* @param configStepKey unique indentifier for configStep
|
|
39251
39258
|
*/
|
|
39252
39259
|
_defineProperty(this, "loadConfigItemsOfOptions", /*#__PURE__*/function () {
|
|
39253
|
-
var _ref = _asyncToGenerator(
|
|
39260
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(configStepKey, paletteId, isUpdate, visible) {
|
|
39254
39261
|
var _this$updateConfigIte;
|
|
39255
39262
|
var retValues;
|
|
39256
39263
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
@@ -39274,7 +39281,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
39274
39281
|
/**
|
|
39275
39282
|
* this function laods the summary Items
|
|
39276
39283
|
*/
|
|
39277
|
-
_defineProperty(this, "loadSummaryItems", /*#__PURE__*/_asyncToGenerator(
|
|
39284
|
+
_defineProperty(this, "loadSummaryItems", /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
|
|
39278
39285
|
var _this$actions, _this$actions$toggleL, _this$updateSummaryIt, _this$actions2, _this$actions2$toggle;
|
|
39279
39286
|
var setPriceCurrency, setPriceFormat, summaryItems;
|
|
39280
39287
|
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
@@ -39330,7 +39337,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
39330
39337
|
* @param parentElement ElementID of the parent element used for docking
|
|
39331
39338
|
*/
|
|
39332
39339
|
_defineProperty(this, "addPlannerElement", /*#__PURE__*/function () {
|
|
39333
|
-
var _ref3 = _asyncToGenerator(
|
|
39340
|
+
var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(elementCodex, initParams, dontUpdateView) {
|
|
39334
39341
|
var _this$actions3, _this$actions3$toggle, _this$actions6, _this$actions6$toggle, _this$updateViewPlann, _this$updateElementSe;
|
|
39335
39342
|
var set, newArticle, _this$actions4, _this$actions4$openMo, _this$i18n, _this$i18n2, _this$actions5, _this$actions5$toggle, baseArticle;
|
|
39336
39343
|
return _regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
@@ -39396,7 +39403,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
39396
39403
|
* @param articleCodex articleCodex of the new Element
|
|
39397
39404
|
*/
|
|
39398
39405
|
_defineProperty(this, "switchPlannerElement", /*#__PURE__*/function () {
|
|
39399
|
-
var _ref4 = _asyncToGenerator(
|
|
39406
|
+
var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(setId, elementId, articleCodex, initParams) {
|
|
39400
39407
|
var _this$actions7, _this$actions7$toggle, _this$actions8, _this$actions8$toggle, _this$updateViewPlann2, _this$updateElementSe2;
|
|
39401
39408
|
var set, variantValues, deletionResult, article;
|
|
39402
39409
|
return _regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
@@ -39438,7 +39445,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
39438
39445
|
};
|
|
39439
39446
|
}());
|
|
39440
39447
|
_defineProperty(this, "addAccessorieOnShelfPlanner", /*#__PURE__*/function () {
|
|
39441
|
-
var _ref5 = _asyncToGenerator(
|
|
39448
|
+
var _ref5 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5(paletteId, gridIndex, cellIndex, parentBasketId, configStepKey) {
|
|
39442
39449
|
var _this$actions9, _this$actions9$toggle, _this$actions10, _this$actions10$toggl;
|
|
39443
39450
|
var set, retVal, _this$updateViewPlann3;
|
|
39444
39451
|
return _regeneratorRuntime.wrap(function _callee5$(_context5) {
|
|
@@ -39488,7 +39495,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
39488
39495
|
_this.updatePlannerView('MOVE_DOORS');
|
|
39489
39496
|
});
|
|
39490
39497
|
_defineProperty(this, "deleteAccessorieOnShelfPlanner", /*#__PURE__*/function () {
|
|
39491
|
-
var _ref6 = _asyncToGenerator(
|
|
39498
|
+
var _ref6 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6(paletteId, gridIndex, cellIndex, parentBasketId, configStepKey) {
|
|
39492
39499
|
var _this$updateViewPlann5;
|
|
39493
39500
|
var set;
|
|
39494
39501
|
return _regeneratorRuntime.wrap(function _callee6$(_context6) {
|
|
@@ -39522,7 +39529,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
39522
39529
|
* @param transState
|
|
39523
39530
|
*/
|
|
39524
39531
|
_defineProperty(this, "updatePlannerTrans", /*#__PURE__*/function () {
|
|
39525
|
-
var _ref7 = _asyncToGenerator(
|
|
39532
|
+
var _ref7 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee7(setId, plannerElementID, deltaMove, deltaAngleDeg, rotCorrection, transState, autoDockingDistance) {
|
|
39526
39533
|
var _this$updateElementSe3;
|
|
39527
39534
|
return _regeneratorRuntime.wrap(function _callee7$(_context7) {
|
|
39528
39535
|
while (1) switch (_context7.prev = _context7.next) {
|
|
@@ -39560,7 +39567,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
39560
39567
|
}
|
|
39561
39568
|
});
|
|
39562
39569
|
_defineProperty(this, "updateAccessoireQuantity", /*#__PURE__*/function () {
|
|
39563
|
-
var _ref8 = _asyncToGenerator(
|
|
39570
|
+
var _ref8 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee8(accessoireItem, relatedToBasketId, newQuantity, forceConfigSingle) {
|
|
39564
39571
|
var _this$actions11, _this$actions11$toggl, _this$actions12, _this$actions12$toggl;
|
|
39565
39572
|
var ret;
|
|
39566
39573
|
return _regeneratorRuntime.wrap(function _callee8$(_context8) {
|
|
@@ -39588,7 +39595,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
39588
39595
|
};
|
|
39589
39596
|
}());
|
|
39590
39597
|
_defineProperty(this, "deleteAccessoire", /*#__PURE__*/function () {
|
|
39591
|
-
var _ref9 = _asyncToGenerator(
|
|
39598
|
+
var _ref9 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee9(articleCodex, parentBasketId) {
|
|
39592
39599
|
var set, wasDeleted, _this$updateViewPlann6;
|
|
39593
39600
|
return _regeneratorRuntime.wrap(function _callee9$(_context9) {
|
|
39594
39601
|
while (1) switch (_context9.prev = _context9.next) {
|
|
@@ -39637,7 +39644,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
39637
39644
|
* @param configStepKey act ConfigStep
|
|
39638
39645
|
*/
|
|
39639
39646
|
_defineProperty(this, "configSingleIsChanged", /*#__PURE__*/function () {
|
|
39640
|
-
var _ref10 = _asyncToGenerator(
|
|
39647
|
+
var _ref10 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee10(doConfigSingle, configStepKey, groupedOptions, groupedArticles, optionCodex, tabGroupKey) {
|
|
39641
39648
|
var set;
|
|
39642
39649
|
return _regeneratorRuntime.wrap(function _callee10$(_context10) {
|
|
39643
39650
|
while (1) switch (_context10.prev = _context10.next) {
|
|
@@ -39675,7 +39682,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
39675
39682
|
*/
|
|
39676
39683
|
//onConfigItemClick ist ein Click auf das Item der ConfigPalette um die OPV zu ändern
|
|
39677
39684
|
_defineProperty(this, "doConfigure", /*#__PURE__*/function () {
|
|
39678
|
-
var _ref11 = _asyncToGenerator(
|
|
39685
|
+
var _ref11 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee11(myValues, targetArticles, dontUpdatePlannerView, dontCallEvents) {
|
|
39679
39686
|
var set, returnValues, structure, _returnValues$element, _this$updateViewPlann8, _this$updateElementSe4;
|
|
39680
39687
|
return _regeneratorRuntime.wrap(function _callee11$(_context11) {
|
|
39681
39688
|
while (1) switch (_context11.prev = _context11.next) {
|
|
@@ -39722,7 +39729,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
39722
39729
|
};
|
|
39723
39730
|
}());
|
|
39724
39731
|
_defineProperty(this, "fillBaksetforOnWebPlanerConfigChange", /*#__PURE__*/function () {
|
|
39725
|
-
var _ref12 = _asyncToGenerator(
|
|
39732
|
+
var _ref12 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee12(myValues, isInit) {
|
|
39726
39733
|
var _myValues;
|
|
39727
39734
|
var set, articles, article;
|
|
39728
39735
|
return _regeneratorRuntime.wrap(function _callee12$(_context12) {
|
|
@@ -39804,7 +39811,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
39804
39811
|
return _createClass(DivaWebPlanner, [{
|
|
39805
39812
|
key: "initialize",
|
|
39806
39813
|
value: function () {
|
|
39807
|
-
var _initialize = _asyncToGenerator(
|
|
39814
|
+
var _initialize = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee13() {
|
|
39808
39815
|
var viewReadyPromise, loadSuccessful, _initSetState$api$web, _this$actions14, _set$getDivaArticles, _set$getSetPrice, _this$actions13, _this$actions13$toggl, initSetState, set, products, result, _this$actions15, basket, catalogData;
|
|
39809
39816
|
return _regeneratorRuntime.wrap(function _callee13$(_context13) {
|
|
39810
39817
|
while (1) switch (_context13.prev = _context13.next) {
|
|
@@ -40054,7 +40061,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
40054
40061
|
}, {
|
|
40055
40062
|
key: "getDimension",
|
|
40056
40063
|
value: function () {
|
|
40057
|
-
var _getDimension = _asyncToGenerator(
|
|
40064
|
+
var _getDimension = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee14() {
|
|
40058
40065
|
var _this$actSet4;
|
|
40059
40066
|
return _regeneratorRuntime.wrap(function _callee14$(_context14) {
|
|
40060
40067
|
while (1) switch (_context14.prev = _context14.next) {
|
|
@@ -40093,7 +40100,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
40093
40100
|
}, {
|
|
40094
40101
|
key: "initView",
|
|
40095
40102
|
value: (function () {
|
|
40096
|
-
var _initView = _asyncToGenerator(
|
|
40103
|
+
var _initView = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee15() {
|
|
40097
40104
|
var set, plannerMode, _this$initConfigurato, _this$initPlannerView, _this$initConfigurato2, _this$updateViewPlann9;
|
|
40098
40105
|
return _regeneratorRuntime.wrap(function _callee15$(_context15) {
|
|
40099
40106
|
while (1) switch (_context15.prev = _context15.next) {
|
|
@@ -40150,7 +40157,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
40150
40157
|
}, {
|
|
40151
40158
|
key: "runInitMode",
|
|
40152
40159
|
value: function () {
|
|
40153
|
-
var _runInitMode = _asyncToGenerator(
|
|
40160
|
+
var _runInitMode = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee16(plannerMode) {
|
|
40154
40161
|
var _this$navigateToTabGr2;
|
|
40155
40162
|
var doDefault, configStepKey, _this$actSet6, _this$navigateToTabGr3, _this$navigateToTabGr4, _this$navigateToTabGr5;
|
|
40156
40163
|
return _regeneratorRuntime.wrap(function _callee16$(_context16) {
|
|
@@ -40207,7 +40214,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
40207
40214
|
}, {
|
|
40208
40215
|
key: "addSetToActPlanningByDivaNr",
|
|
40209
40216
|
value: function () {
|
|
40210
|
-
var _addSetToActPlanningByDivaNr = _asyncToGenerator(
|
|
40217
|
+
var _addSetToActPlanningByDivaNr = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee17(divaNr) {
|
|
40211
40218
|
var _this$updateViewPlann10;
|
|
40212
40219
|
var set, orderSets, i, orderset, lastSetToInitialize, loadedSet, articlesKeys;
|
|
40213
40220
|
return _regeneratorRuntime.wrap(function _callee17$(_context17) {
|
|
@@ -40270,7 +40277,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
40270
40277
|
}, {
|
|
40271
40278
|
key: "initProductId",
|
|
40272
40279
|
value: function () {
|
|
40273
|
-
var _initProductId = _asyncToGenerator(
|
|
40280
|
+
var _initProductId = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee18(productId) {
|
|
40274
40281
|
var loadSuccessful;
|
|
40275
40282
|
return _regeneratorRuntime.wrap(function _callee18$(_context18) {
|
|
40276
40283
|
while (1) switch (_context18.prev = _context18.next) {
|
|
@@ -40326,7 +40333,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
40326
40333
|
}, {
|
|
40327
40334
|
key: "setActSetCurConfigStepKey",
|
|
40328
40335
|
value: function () {
|
|
40329
|
-
var _setActSetCurConfigStepKey = _asyncToGenerator(
|
|
40336
|
+
var _setActSetCurConfigStepKey = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee19(curConfigStepKey) {
|
|
40330
40337
|
var set;
|
|
40331
40338
|
return _regeneratorRuntime.wrap(function _callee19$(_context19) {
|
|
40332
40339
|
while (1) switch (_context19.prev = _context19.next) {
|
|
@@ -40483,7 +40490,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
40483
40490
|
}, {
|
|
40484
40491
|
key: "deletePlannerElement",
|
|
40485
40492
|
value: function () {
|
|
40486
|
-
var _deletePlannerElement = _asyncToGenerator(
|
|
40493
|
+
var _deletePlannerElement = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee20(setId, elementId, denyElementSelectionClear) {
|
|
40487
40494
|
var _this$updateViewPlann11;
|
|
40488
40495
|
var set, result, _this$updateElementSe5, _this$updateElementSe6;
|
|
40489
40496
|
return _regeneratorRuntime.wrap(function _callee20$(_context20) {
|
|
@@ -40526,7 +40533,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
40526
40533
|
}, {
|
|
40527
40534
|
key: "copyPlannerElement",
|
|
40528
40535
|
value: (function () {
|
|
40529
|
-
var _copyPlannerElement = _asyncToGenerator(
|
|
40536
|
+
var _copyPlannerElement = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee21(setId, elementId, curConfigKey, copyInfo) {
|
|
40530
40537
|
var _this$updateViewPlann12;
|
|
40531
40538
|
var set, newSelectedArticle, newConfigStepKey, _this$updateElementSe7, baseArticle;
|
|
40532
40539
|
return _regeneratorRuntime.wrap(function _callee21$(_context21) {
|
|
@@ -40588,7 +40595,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
40588
40595
|
}, {
|
|
40589
40596
|
key: "getFreePlacesOnGrids",
|
|
40590
40597
|
value: function () {
|
|
40591
|
-
var _getFreePlacesOnGrids = _asyncToGenerator(
|
|
40598
|
+
var _getFreePlacesOnGrids = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee22(gridGroup, from) {
|
|
40592
40599
|
var _this$updateFreePlace;
|
|
40593
40600
|
var set, freeShelfGrids, plannedShelfGrids;
|
|
40594
40601
|
return _regeneratorRuntime.wrap(function _callee22$(_context22) {
|
|
@@ -40649,7 +40656,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
40649
40656
|
}, {
|
|
40650
40657
|
key: "moveShelfItemToGrid",
|
|
40651
40658
|
value: function () {
|
|
40652
|
-
var _moveShelfItemToGrid = _asyncToGenerator(
|
|
40659
|
+
var _moveShelfItemToGrid = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee23(accessoireBasketId, parentBasketId, gridName, cellIndex) {
|
|
40653
40660
|
var set, newGridId;
|
|
40654
40661
|
return _regeneratorRuntime.wrap(function _callee23$(_context23) {
|
|
40655
40662
|
while (1) switch (_context23.prev = _context23.next) {
|
|
@@ -40686,7 +40693,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
40686
40693
|
}, {
|
|
40687
40694
|
key: "resetArticle",
|
|
40688
40695
|
value: function () {
|
|
40689
|
-
var _resetArticle = _asyncToGenerator(
|
|
40696
|
+
var _resetArticle = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee24(basketId) {
|
|
40690
40697
|
var set;
|
|
40691
40698
|
return _regeneratorRuntime.wrap(function _callee24$(_context24) {
|
|
40692
40699
|
while (1) switch (_context24.prev = _context24.next) {
|
|
@@ -40714,7 +40721,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
40714
40721
|
}, {
|
|
40715
40722
|
key: "checkVariantData",
|
|
40716
40723
|
value: function () {
|
|
40717
|
-
var _checkVariantData = _asyncToGenerator(
|
|
40724
|
+
var _checkVariantData = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee25() {
|
|
40718
40725
|
var somethingChanged;
|
|
40719
40726
|
return _regeneratorRuntime.wrap(function _callee25$(_context25) {
|
|
40720
40727
|
while (1) switch (_context25.prev = _context25.next) {
|
|
@@ -40830,7 +40837,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
40830
40837
|
}, {
|
|
40831
40838
|
key: "saveToBasketWrapper",
|
|
40832
40839
|
value: function () {
|
|
40833
|
-
var _saveToBasketWrapper = _asyncToGenerator(
|
|
40840
|
+
var _saveToBasketWrapper = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee26(event, repairOnly, force) {
|
|
40834
40841
|
var _this$actions23,
|
|
40835
40842
|
_this$actions23$toggl,
|
|
40836
40843
|
_this$actions24,
|
|
@@ -40950,7 +40957,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
40950
40957
|
}, {
|
|
40951
40958
|
key: "saveToBasket",
|
|
40952
40959
|
value: function () {
|
|
40953
|
-
var _saveToBasket = _asyncToGenerator(
|
|
40960
|
+
var _saveToBasket = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee27(event, repairOnly, force) {
|
|
40954
40961
|
var _returnTo, _event, _event2, _event3, _returnTo2, _returnTo3, _this$actions30, _this$actions31;
|
|
40955
40962
|
var set, actBasket, returnTo, oldReturnTo, count, basketData, bytes, result, newDivaNr, _result2, _event4, product;
|
|
40956
40963
|
return _regeneratorRuntime.wrap(function _callee27$(_context27) {
|
|
@@ -41333,7 +41340,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
41333
41340
|
}, {
|
|
41334
41341
|
key: "getBasketDataWithEkText",
|
|
41335
41342
|
value: function () {
|
|
41336
|
-
var _getBasketDataWithEkText = _asyncToGenerator(
|
|
41343
|
+
var _getBasketDataWithEkText = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee28() {
|
|
41337
41344
|
return _regeneratorRuntime.wrap(function _callee28$(_context28) {
|
|
41338
41345
|
while (1) switch (_context28.prev = _context28.next) {
|
|
41339
41346
|
case 0:
|
|
@@ -41375,7 +41382,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
41375
41382
|
}, {
|
|
41376
41383
|
key: "addToBasket",
|
|
41377
41384
|
value: function () {
|
|
41378
|
-
var _addToBasket = _asyncToGenerator(
|
|
41385
|
+
var _addToBasket = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee29(actBasket) {
|
|
41379
41386
|
var _this$actions32,
|
|
41380
41387
|
_this$actions33,
|
|
41381
41388
|
_this$actions34,
|
|
@@ -41789,7 +41796,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
41789
41796
|
key: "initApiForLogicOnly",
|
|
41790
41797
|
value: //just for testing purposes
|
|
41791
41798
|
function () {
|
|
41792
|
-
var _initApiForLogicOnly = _asyncToGenerator(
|
|
41799
|
+
var _initApiForLogicOnly = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee30(organization, lang, getSessionGuid, handler, applicationEnvironment, apiKey, jwt) {
|
|
41793
41800
|
return _regeneratorRuntime.wrap(function _callee30$(_context30) {
|
|
41794
41801
|
while (1) switch (_context30.prev = _context30.next) {
|
|
41795
41802
|
case 0:
|
|
@@ -41827,7 +41834,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
41827
41834
|
}, {
|
|
41828
41835
|
key: "loadBasket",
|
|
41829
41836
|
value: function () {
|
|
41830
|
-
var _loadBasket = _asyncToGenerator(
|
|
41837
|
+
var _loadBasket = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee31() {
|
|
41831
41838
|
return _regeneratorRuntime.wrap(function _callee31$(_context31) {
|
|
41832
41839
|
while (1) switch (_context31.prev = _context31.next) {
|
|
41833
41840
|
case 0:
|
|
@@ -41851,7 +41858,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
41851
41858
|
}, {
|
|
41852
41859
|
key: "initBasket",
|
|
41853
41860
|
value: function () {
|
|
41854
|
-
var _initBasket = _asyncToGenerator(
|
|
41861
|
+
var _initBasket = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee32(init3D, ignoreFavorites) {
|
|
41855
41862
|
var _initSetState$api$web2;
|
|
41856
41863
|
var initSetState, sets, result, _sets$, set, basket;
|
|
41857
41864
|
return _regeneratorRuntime.wrap(function _callee32$(_context32) {
|
|
@@ -41915,7 +41922,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
41915
41922
|
}, {
|
|
41916
41923
|
key: "getValidVariantsLength",
|
|
41917
41924
|
value: function () {
|
|
41918
|
-
var _getValidVariantsLength = _asyncToGenerator(
|
|
41925
|
+
var _getValidVariantsLength = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee33() {
|
|
41919
41926
|
var set;
|
|
41920
41927
|
return _regeneratorRuntime.wrap(function _callee33$(_context33) {
|
|
41921
41928
|
while (1) switch (_context33.prev = _context33.next) {
|
|
@@ -41939,7 +41946,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
41939
41946
|
}, {
|
|
41940
41947
|
key: "handleFavorites",
|
|
41941
41948
|
value: function () {
|
|
41942
|
-
var _handleFavorites = _asyncToGenerator(
|
|
41949
|
+
var _handleFavorites = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee34(mode) {
|
|
41943
41950
|
var _this4 = this;
|
|
41944
41951
|
var set, i;
|
|
41945
41952
|
return _regeneratorRuntime.wrap(function _callee34$(_context34) {
|
|
@@ -41991,7 +41998,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
41991
41998
|
}, {
|
|
41992
41999
|
key: "initSapOrderLinesFromBasket",
|
|
41993
42000
|
value: function () {
|
|
41994
|
-
var _initSapOrderLinesFromBasket = _asyncToGenerator(
|
|
42001
|
+
var _initSapOrderLinesFromBasket = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee35(divaNr, init3D, onlyLoadOldBakset) {
|
|
41995
42002
|
var result, oldBasket, basket;
|
|
41996
42003
|
return _regeneratorRuntime.wrap(function _callee35$(_context35) {
|
|
41997
42004
|
while (1) switch (_context35.prev = _context35.next) {
|
|
@@ -42312,7 +42319,7 @@ function loadAndRepairBasket(_x, _x2, _x3, _x4, _x5, _x6, _x7) {
|
|
|
42312
42319
|
return _loadAndRepairBasket.apply(this, arguments);
|
|
42313
42320
|
}
|
|
42314
42321
|
function _loadAndRepairBasket() {
|
|
42315
|
-
_loadAndRepairBasket = _asyncToGenerator(
|
|
42322
|
+
_loadAndRepairBasket = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(settings, apiConfig, organizationId, getSessionGuid, divaNr, customProductId, organization) {
|
|
42316
42323
|
var lang,
|
|
42317
42324
|
assignNewDivaNr,
|
|
42318
42325
|
basketData,
|
|
@@ -42744,7 +42751,7 @@ var Grid = /*#__PURE__*/function () {
|
|
|
42744
42751
|
}, {
|
|
42745
42752
|
key: "addAccessoireInCells",
|
|
42746
42753
|
value: (function () {
|
|
42747
|
-
var _addAccessoireInCells = _asyncToGenerator(
|
|
42754
|
+
var _addAccessoireInCells = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(index, accessoire, type, noMove, noDelete, onlyPlaceHolder) {
|
|
42748
42755
|
var size, onBoard, i;
|
|
42749
42756
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
42750
42757
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -42806,7 +42813,7 @@ var Grid = /*#__PURE__*/function () {
|
|
|
42806
42813
|
}, {
|
|
42807
42814
|
key: "deleteAccessoireInCells",
|
|
42808
42815
|
value: (function () {
|
|
42809
|
-
var _deleteAccessoireInCells = _asyncToGenerator(
|
|
42816
|
+
var _deleteAccessoireInCells = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(index) {
|
|
42810
42817
|
var cell, article, i, _this$cells$i$Article2;
|
|
42811
42818
|
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
42812
42819
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -42841,7 +42848,7 @@ var Grid = /*#__PURE__*/function () {
|
|
|
42841
42848
|
}, {
|
|
42842
42849
|
key: "deleteAllAccOfGrid",
|
|
42843
42850
|
value: function () {
|
|
42844
|
-
var _deleteAllAccOfGrid = _asyncToGenerator(
|
|
42851
|
+
var _deleteAllAccOfGrid = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {
|
|
42845
42852
|
var deletedBasketIds, j, cell;
|
|
42846
42853
|
return _regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
42847
42854
|
while (1) switch (_context3.prev = _context3.next) {
|
|
@@ -42879,7 +42886,7 @@ var Grid = /*#__PURE__*/function () {
|
|
|
42879
42886
|
}, {
|
|
42880
42887
|
key: "updateMontageOption",
|
|
42881
42888
|
value: function () {
|
|
42882
|
-
var _updateMontageOption = _asyncToGenerator(
|
|
42889
|
+
var _updateMontageOption = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4() {
|
|
42883
42890
|
var _this = this;
|
|
42884
42891
|
var dontOverwriteOptions, _loop, i;
|
|
42885
42892
|
return _regeneratorRuntime.wrap(function _callee4$(_context5) {
|
|
@@ -42967,7 +42974,7 @@ var Grid = /*#__PURE__*/function () {
|
|
|
42967
42974
|
}, {
|
|
42968
42975
|
key: "updateAccessoireMontageOption",
|
|
42969
42976
|
value: function () {
|
|
42970
|
-
var _updateAccessoireMontageOption = _asyncToGenerator(
|
|
42977
|
+
var _updateAccessoireMontageOption = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5(optionCodex, optionValueCodex, accessoires) {
|
|
42971
42978
|
var _this$article$shelfAc;
|
|
42972
42979
|
var i;
|
|
42973
42980
|
return _regeneratorRuntime.wrap(function _callee5$(_context6) {
|
|
@@ -59335,7 +59342,7 @@ var RenderingsToCreate = [_objectSpread$3(_objectSpread$3({}, a$2), {}, {
|
|
|
59335
59342
|
|
|
59336
59343
|
var axios = require('axios');
|
|
59337
59344
|
var getSessionGuid = /*#__PURE__*/function () {
|
|
59338
|
-
var _ref = _asyncToGenerator(
|
|
59345
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(organizaitionId, apiKey, userRole, sessionGuids, loginMode, authService, api2Location, doPfisterLogin) {
|
|
59339
59346
|
var _response$data;
|
|
59340
59347
|
var _url, _response, login, zToken, url, response;
|
|
59341
59348
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
@@ -59451,7 +59458,7 @@ var ProductHandler = /*#__PURE__*/function () {
|
|
|
59451
59458
|
* @param catalogData the catalog data for this basket
|
|
59452
59459
|
*/
|
|
59453
59460
|
_defineProperty(this, "createAndSave", /*#__PURE__*/function () {
|
|
59454
|
-
var _ref2 = _asyncToGenerator(
|
|
59461
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(_ref) {
|
|
59455
59462
|
var basket, catalogData, createdState;
|
|
59456
59463
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
59457
59464
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -59492,7 +59499,7 @@ var ProductHandler = /*#__PURE__*/function () {
|
|
|
59492
59499
|
* @param productData an optional list of products, if set no products get loaded from the server
|
|
59493
59500
|
*/
|
|
59494
59501
|
_defineProperty(this, "loadProducts", /*#__PURE__*/function () {
|
|
59495
|
-
var _ref4 = _asyncToGenerator(
|
|
59502
|
+
var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(_ref3) {
|
|
59496
59503
|
var _productData$length, _basket$OrderSets, _baseProduct, _baseProduct2, _baseProduct3, _baseProduct4, _baseProduct5, _baseProduct6, _baseProduct7, _baseProduct8, _baseProduct9, _baseProduct10, _baseProduct11, _baseProduct$width, _baseProduct12, _basket$SetPlannerInf, _basket$OrderSets$0$B, _baseProduct$height, _baseProduct13, _basket$SetPlannerInf2, _basket$OrderSets$0$B2, _baseProduct$depth, _baseProduct14, _basket$SetPlannerInf3, _basket$OrderSets$0$B3, _basket$SetPlannerInf4, _basket$SetPlannerInf5, _baseProduct15, _baseProduct16, _baseProduct17;
|
|
59497
59504
|
var basket, catalogData, productData, classificationFields, products, baseProduct, variantProducts, isSet, dockingPoints, orderDescription, catalogDataName, catalogDataDescription, setName, _ProductHandler$calcu, shortDescription, shortDescriptionModified, _ProductHandler$calcu2, addedPrice, addedPriceModified, articles, baseData, classificationData, variantData, variantDataModified, addedProducts, removedProducts, optFields, initialSelectedFields, _basket$OrderSets$0$C2, usedConfigVariants, differingOPTs, _basket$OrderSets$0$C3, opts, i;
|
|
59498
59505
|
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
@@ -59737,7 +59744,7 @@ var ProductHandler = /*#__PURE__*/function () {
|
|
|
59737
59744
|
* @param classificationFields the lists of classification fields used
|
|
59738
59745
|
*/
|
|
59739
59746
|
_defineProperty(this, "saveData", /*#__PURE__*/function () {
|
|
59740
|
-
var _ref10 = _asyncToGenerator(
|
|
59747
|
+
var _ref10 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(_ref9) {
|
|
59741
59748
|
var baseData, classificationData, products, baseProduct, j, file;
|
|
59742
59749
|
return _regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
59743
59750
|
while (1) switch (_context3.prev = _context3.next) {
|
|
@@ -59914,7 +59921,7 @@ var ProductHandler = /*#__PURE__*/function () {
|
|
|
59914
59921
|
}, {
|
|
59915
59922
|
key: "apiSaveProducts",
|
|
59916
59923
|
value: function () {
|
|
59917
|
-
var _apiSaveProducts = _asyncToGenerator(
|
|
59924
|
+
var _apiSaveProducts = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(products) {
|
|
59918
59925
|
var _this2 = this;
|
|
59919
59926
|
var fullUrl, promises;
|
|
59920
59927
|
return _regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
@@ -60123,7 +60130,7 @@ var ENVIRONMENT = 'Pfister Q';
|
|
|
60123
60130
|
var DEFAULT_RANGE = 1;
|
|
60124
60131
|
var DEFAULT_SKIP = 2;
|
|
60125
60132
|
var creatRenderOrders = /*#__PURE__*/function () {
|
|
60126
|
-
var _ref = _asyncToGenerator(
|
|
60133
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(updateResult) {
|
|
60127
60134
|
var rangeArg, TESTING_RANGE, skipArg, TESTING_SKIP, sessionGuids, _loop, w;
|
|
60128
60135
|
return _regeneratorRuntime.wrap(function _callee2$(_context4) {
|
|
60129
60136
|
while (1) switch (_context4.prev = _context4.next) {
|
|
@@ -60185,7 +60192,7 @@ var creatRenderOrders = /*#__PURE__*/function () {
|
|
|
60185
60192
|
}
|
|
60186
60193
|
webPlanner = new DivaWebPlanner(webPlannerParams);
|
|
60187
60194
|
getSessionGuidForward = /*#__PURE__*/function () {
|
|
60188
|
-
var _ref2 = _asyncToGenerator(
|
|
60195
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(u) {
|
|
60189
60196
|
var _dataset$configState$, _dataset$configState$2;
|
|
60190
60197
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
60191
60198
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -60338,7 +60345,7 @@ var creatRenderOrders = /*#__PURE__*/function () {
|
|
|
60338
60345
|
};
|
|
60339
60346
|
}();
|
|
60340
60347
|
var saveRenderJob = /*#__PURE__*/function () {
|
|
60341
|
-
var _ref3 = _asyncToGenerator(
|
|
60348
|
+
var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(product, basket, renderings, apiData) {
|
|
60342
60349
|
var jobs, i, rendering, fileFormat, newJob, diva3DProject, _basket$OrderSets$0$C, variant;
|
|
60343
60350
|
return _regeneratorRuntime.wrap(function _callee3$(_context5) {
|
|
60344
60351
|
while (1) switch (_context5.prev = _context5.next) {
|
|
@@ -60452,7 +60459,7 @@ var a = ['DIVA-103019-1', 'DIVA-1031240-1', 'DIVA-103544-2', 'DIVA-1068152-1', '
|
|
|
60452
60459
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
60453
60460
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
60454
60461
|
var getOrigProductId = /*#__PURE__*/function () {
|
|
60455
|
-
var _ref = _asyncToGenerator(
|
|
60462
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(updateResult) {
|
|
60456
60463
|
var sessionGuids, dataset, _loop, index;
|
|
60457
60464
|
return _regeneratorRuntime.wrap(function _callee2$(_context3) {
|
|
60458
60465
|
while (1) switch (_context3.prev = _context3.next) {
|
|
@@ -60472,7 +60479,7 @@ var getOrigProductId = /*#__PURE__*/function () {
|
|
|
60472
60479
|
webPlannerParams['divaNr'] = divaNr;
|
|
60473
60480
|
webPlanner = new DivaWebPlanner(webPlannerParams);
|
|
60474
60481
|
getSessionGuidForward = /*#__PURE__*/function () {
|
|
60475
|
-
var _ref2 = _asyncToGenerator(
|
|
60482
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(u) {
|
|
60476
60483
|
var _dataset$configState$, _dataset$configState$2;
|
|
60477
60484
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
60478
60485
|
while (1) switch (_context.prev = _context.next) {
|