@crystaldesign/web-planner-logic 25.4.0-beta.38 → 25.4.0-beta.39
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-bdba29be.js → DivaBoxPlanner-279f7ff0.js} +2 -2
- package/build/cjs/{DivaStandardPlanner-ded3927f.js → DivaStandardPlanner-220ad18f.js} +2 -2
- package/build/cjs/{DoorPlanner-977c7939.js → DoorPlanner-ef40c2fa.js} +1 -1
- package/build/cjs/{Host3DSignalR-7c7b0e72.js → Host3DSignalR-0b3858de.js} +1 -1
- package/build/cjs/{LiviqueWWSHandler-db6e15b8.js → LiviqueWWSHandler-3a0a2138.js} +1 -1
- package/build/cjs/{PfisterWWSHandler-c3db27fb.js → PfisterWWSHandler-0ddf18e6.js} +1 -1
- package/build/cjs/{PlannerHandler2D-e726119b.js → PlannerHandler2D-600738e4.js} +1 -1
- package/build/cjs/{SeriousBasketHandler-3919fc64.js → SeriousBasketHandler-d8989a15.js} +1 -1
- package/build/cjs/{ShelfPlanner-d5667b0a.js → ShelfPlanner-3dc2d043.js} +1 -1
- package/build/cjs/{StandardWWSHandler-e3244909.js → StandardWWSHandler-10424023.js} +1 -1
- package/build/cjs/{index-0bcfafc8.js → index-c793234a.js} +99 -84
- package/build/cjs/index.js +1 -1
- package/build/esm/{DivaBoxPlanner-f03cb8f2.js → DivaBoxPlanner-b47a40cc.js} +2 -2
- package/build/esm/{DivaStandardPlanner-4d500655.js → DivaStandardPlanner-28832376.js} +2 -2
- package/build/esm/{DoorPlanner-6300bf8d.js → DoorPlanner-6cc64c03.js} +1 -1
- package/build/esm/{Host3DSignalR-4ac73340.js → Host3DSignalR-972eb1c9.js} +1 -1
- package/build/esm/{LiviqueWWSHandler-18a06139.js → LiviqueWWSHandler-7a5491f4.js} +1 -1
- package/build/esm/{PfisterWWSHandler-e9263d8a.js → PfisterWWSHandler-d1cbdee7.js} +1 -1
- package/build/esm/{PlannerHandler2D-a0835889.js → PlannerHandler2D-aa8d1958.js} +1 -1
- package/build/esm/{SeriousBasketHandler-4bd4a253.js → SeriousBasketHandler-1b3c345f.js} +1 -1
- package/build/esm/{ShelfPlanner-556b6a40.js → ShelfPlanner-0228fd5f.js} +1 -1
- package/build/esm/{StandardWWSHandler-d5df49a9.js → StandardWWSHandler-c40c6498.js} +1 -1
- package/build/esm/{index-bfed1140.js → index-336e44e8.js} +99 -84
- package/build/esm/index.js +1 -1
- package/build/types/web-planner-logic/src/interface/AdditionalModelInfos.d.ts +1 -0
- package/build/types/web-planner-logic/src/interface/AdditionalModelInfos.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/logic/DivaWebPlanner.d.ts.map +1 -1
- package/build/types/web-planner-logic/src/model/Catalog/CatalogData.d.ts +1 -0
- package/build/types/web-planner-logic/src/model/Catalog/CatalogData.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
|
|
2
2
|
import _createClass from '@babel/runtime/helpers/createClass';
|
|
3
|
-
import { a as articleHandlerInstance } from './index-
|
|
3
|
+
import { a as articleHandlerInstance } from './index-336e44e8.js';
|
|
4
4
|
import { SAPOrderLineData } from '@crystaldesign/basket-model';
|
|
5
5
|
import DivaUtils, { DivaError } from '@crystaldesign/diva-utils';
|
|
6
6
|
import '@babel/runtime/helpers/slicedToArray';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
|
|
2
2
|
import _createClass from '@babel/runtime/helpers/createClass';
|
|
3
3
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
4
|
-
import { c as Vector2, V as Vector3, D as DockingPoint } from './index-
|
|
4
|
+
import { c as Vector2, V as Vector3, D as DockingPoint } from './index-336e44e8.js';
|
|
5
5
|
import DivaUtils, { md5, DivaError } from '@crystaldesign/diva-utils';
|
|
6
6
|
import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
|
|
7
7
|
import _regeneratorRuntime from '@babel/runtime/regenerator';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
|
|
2
2
|
import _createClass from '@babel/runtime/helpers/createClass';
|
|
3
3
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
4
|
-
import { s as summaryHandlerInstance } from './index-
|
|
4
|
+
import { s as summaryHandlerInstance } from './index-336e44e8.js';
|
|
5
5
|
import DivaUtils from '@crystaldesign/diva-utils';
|
|
6
6
|
import '@babel/runtime/helpers/slicedToArray';
|
|
7
7
|
import '@babel/runtime/helpers/asyncToGenerator';
|
|
@@ -4,7 +4,7 @@ import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
|
|
|
4
4
|
import _createClass from '@babel/runtime/helpers/createClass';
|
|
5
5
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
6
6
|
import _regeneratorRuntime from '@babel/runtime/regenerator';
|
|
7
|
-
import { G as Grid, b as setHandlerInstance, a as articleHandlerInstance } from './index-
|
|
7
|
+
import { G as Grid, b as setHandlerInstance, a as articleHandlerInstance } from './index-336e44e8.js';
|
|
8
8
|
import DivaUtils from '@crystaldesign/diva-utils';
|
|
9
9
|
import '@babel/runtime/helpers/slicedToArray';
|
|
10
10
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
|
|
2
2
|
import _createClass from '@babel/runtime/helpers/createClass';
|
|
3
|
-
import './index-
|
|
3
|
+
import './index-336e44e8.js';
|
|
4
4
|
import '@babel/runtime/helpers/slicedToArray';
|
|
5
5
|
import '@babel/runtime/helpers/asyncToGenerator';
|
|
6
6
|
import '@babel/runtime/helpers/defineProperty';
|
|
@@ -20128,6 +20128,12 @@ var DivaCatalogData = /*#__PURE__*/function () {
|
|
|
20128
20128
|
}
|
|
20129
20129
|
return undefined;
|
|
20130
20130
|
}
|
|
20131
|
+
}, {
|
|
20132
|
+
key: "catalogState",
|
|
20133
|
+
get: function get() {
|
|
20134
|
+
var _this$additionalModel, _this$additionalModel2;
|
|
20135
|
+
return (_this$additionalModel = (_this$additionalModel2 = this.additionalModelInfos) === null || _this$additionalModel2 === void 0 ? void 0 : _this$additionalModel2.state) !== null && _this$additionalModel !== void 0 ? _this$additionalModel : 0;
|
|
20136
|
+
}
|
|
20131
20137
|
}, {
|
|
20132
20138
|
key: "divaArReady",
|
|
20133
20139
|
get: function get() {
|
|
@@ -20546,15 +20552,15 @@ var DivaCatalogData = /*#__PURE__*/function () {
|
|
|
20546
20552
|
}, {
|
|
20547
20553
|
key: "discountPercentage",
|
|
20548
20554
|
get: function get() {
|
|
20549
|
-
var _this$
|
|
20555
|
+
var _this$additionalModel3;
|
|
20550
20556
|
if (this.useEkPrices) return undefined;
|
|
20551
|
-
return (_this$
|
|
20557
|
+
return (_this$additionalModel3 = this.additionalModelInfos) === null || _this$additionalModel3 === void 0 ? void 0 : _this$additionalModel3.discountPercentage;
|
|
20552
20558
|
}
|
|
20553
20559
|
}, {
|
|
20554
20560
|
key: "promotedOpvs",
|
|
20555
20561
|
get: function get() {
|
|
20556
|
-
var _this$
|
|
20557
|
-
return (_this$
|
|
20562
|
+
var _this$additionalModel4;
|
|
20563
|
+
return (_this$additionalModel4 = this.additionalModelInfos) === null || _this$additionalModel4 === void 0 ? void 0 : _this$additionalModel4.promotedOpvs;
|
|
20558
20564
|
}
|
|
20559
20565
|
}, {
|
|
20560
20566
|
key: "addNewLineBeforRuleDesc",
|
|
@@ -20603,8 +20609,8 @@ var DivaCatalogData = /*#__PURE__*/function () {
|
|
|
20603
20609
|
}, {
|
|
20604
20610
|
key: "catalogMask",
|
|
20605
20611
|
get: function get() {
|
|
20606
|
-
var _this$
|
|
20607
|
-
if (this.api.getUseMask()) return (_this$
|
|
20612
|
+
var _this$additionalModel5;
|
|
20613
|
+
if (this.api.getUseMask()) return (_this$additionalModel5 = this.additionalModelInfos) === null || _this$additionalModel5 === void 0 ? void 0 : _this$additionalModel5.catalogMask;
|
|
20608
20614
|
return undefined;
|
|
20609
20615
|
},
|
|
20610
20616
|
set: function set(newMask) {
|
|
@@ -26937,7 +26943,7 @@ var DivaArticle = /*#__PURE__*/function () {
|
|
|
26937
26943
|
break;
|
|
26938
26944
|
}
|
|
26939
26945
|
_context.next = 4;
|
|
26940
|
-
return import('./ShelfPlanner-
|
|
26946
|
+
return import('./ShelfPlanner-0228fd5f.js');
|
|
26941
26947
|
case 4:
|
|
26942
26948
|
_yield$import = _context.sent;
|
|
26943
26949
|
ShelfPlanner = _yield$import["default"];
|
|
@@ -31541,7 +31547,7 @@ var DivaSet = /*#__PURE__*/function () {
|
|
|
31541
31547
|
break;
|
|
31542
31548
|
}
|
|
31543
31549
|
_context5.next = 3;
|
|
31544
|
-
return import('./DoorPlanner-
|
|
31550
|
+
return import('./DoorPlanner-6cc64c03.js');
|
|
31545
31551
|
case 3:
|
|
31546
31552
|
_yield$import = _context5.sent;
|
|
31547
31553
|
DoorPlanner = _yield$import["default"];
|
|
@@ -38388,7 +38394,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
38388
38394
|
break;
|
|
38389
38395
|
case 3:
|
|
38390
38396
|
_context12.next = 5;
|
|
38391
|
-
return import('./PfisterWWSHandler-
|
|
38397
|
+
return import('./PfisterWWSHandler-d1cbdee7.js');
|
|
38392
38398
|
case 5:
|
|
38393
38399
|
_yield$import = _context12.sent;
|
|
38394
38400
|
PfisterWWSHandler = _yield$import["default"];
|
|
@@ -38396,7 +38402,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
38396
38402
|
return _context12.abrupt("break", 27);
|
|
38397
38403
|
case 9:
|
|
38398
38404
|
_context12.next = 11;
|
|
38399
|
-
return import('./LiviqueWWSHandler-
|
|
38405
|
+
return import('./LiviqueWWSHandler-7a5491f4.js');
|
|
38400
38406
|
case 11:
|
|
38401
38407
|
_yield$import2 = _context12.sent;
|
|
38402
38408
|
LiviqueWWSHandler = _yield$import2["default"];
|
|
@@ -38404,7 +38410,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
38404
38410
|
return _context12.abrupt("break", 27);
|
|
38405
38411
|
case 15:
|
|
38406
38412
|
_context12.next = 17;
|
|
38407
|
-
return import('./SeriousBasketHandler-
|
|
38413
|
+
return import('./SeriousBasketHandler-1b3c345f.js');
|
|
38408
38414
|
case 17:
|
|
38409
38415
|
_yield$import3 = _context12.sent;
|
|
38410
38416
|
SeriousWWSHandler = _yield$import3["default"];
|
|
@@ -38412,7 +38418,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
|
|
|
38412
38418
|
return _context12.abrupt("break", 27);
|
|
38413
38419
|
case 21:
|
|
38414
38420
|
_context12.next = 23;
|
|
38415
|
-
return import('./StandardWWSHandler-
|
|
38421
|
+
return import('./StandardWWSHandler-c40c6498.js');
|
|
38416
38422
|
case 23:
|
|
38417
38423
|
_yield$import4 = _context12.sent;
|
|
38418
38424
|
StandardWWSHandler = _yield$import4["default"];
|
|
@@ -39840,7 +39846,7 @@ var PlannerHandler3D = /*#__PURE__*/function () {
|
|
|
39840
39846
|
while (1) switch (_context3.prev = _context3.next) {
|
|
39841
39847
|
case 0:
|
|
39842
39848
|
_context3.next = 2;
|
|
39843
|
-
return import('./Host3DSignalR-
|
|
39849
|
+
return import('./Host3DSignalR-972eb1c9.js');
|
|
39844
39850
|
case 2:
|
|
39845
39851
|
_yield$import = _context3.sent;
|
|
39846
39852
|
Host3DSignalR = _yield$import["default"];
|
|
@@ -41394,7 +41400,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
|
|
|
41394
41400
|
break;
|
|
41395
41401
|
case 8:
|
|
41396
41402
|
_context4.next = 10;
|
|
41397
|
-
return import('./DivaStandardPlanner-
|
|
41403
|
+
return import('./DivaStandardPlanner-28832376.js');
|
|
41398
41404
|
case 10:
|
|
41399
41405
|
_yield$import = _context4.sent;
|
|
41400
41406
|
DivaStandardPlanner = _yield$import["default"];
|
|
@@ -41405,7 +41411,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
|
|
|
41405
41411
|
return _context4.abrupt("break", 21);
|
|
41406
41412
|
case 15:
|
|
41407
41413
|
_context4.next = 17;
|
|
41408
|
-
return import('./DivaBoxPlanner-
|
|
41414
|
+
return import('./DivaBoxPlanner-b47a40cc.js');
|
|
41409
41415
|
case 17:
|
|
41410
41416
|
_yield$import2 = _context4.sent;
|
|
41411
41417
|
DivaBoxPlanner = _yield$import2["default"];
|
|
@@ -43157,7 +43163,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
43157
43163
|
key: "initialize",
|
|
43158
43164
|
value: function () {
|
|
43159
43165
|
var _initialize = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee14() {
|
|
43160
|
-
var viewReadyPromise, loadSuccessful;
|
|
43166
|
+
var viewReadyPromise, loadSuccessful, ret, set, _this$actions15, _set$i18n, _set$i18n2;
|
|
43161
43167
|
return _regeneratorRuntime.wrap(function _callee14$(_context14) {
|
|
43162
43168
|
while (1) switch (_context14.prev = _context14.next) {
|
|
43163
43169
|
case 0:
|
|
@@ -43185,33 +43191,42 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
43185
43191
|
DivaUtils.businessMetrics.setConfiguratorSessionId();
|
|
43186
43192
|
}
|
|
43187
43193
|
if (!loadSuccessful) {
|
|
43188
|
-
_context14.next =
|
|
43194
|
+
_context14.next = 30;
|
|
43189
43195
|
break;
|
|
43190
43196
|
}
|
|
43191
43197
|
_context14.prev = 14;
|
|
43192
43198
|
_context14.next = 17;
|
|
43193
43199
|
return this.initializeSets(loadSuccessful, viewReadyPromise);
|
|
43194
43200
|
case 17:
|
|
43195
|
-
|
|
43196
|
-
|
|
43197
|
-
|
|
43201
|
+
ret = _context14.sent;
|
|
43202
|
+
set = this.actSet();
|
|
43203
|
+
if (ret && set && set.CatalogData.catalogState !== 0) {
|
|
43204
|
+
(_this$actions15 = this.actions) === null || _this$actions15 === void 0 || _this$actions15.openModal({
|
|
43205
|
+
accept: true,
|
|
43206
|
+
title: (_set$i18n = set.i18n) === null || _set$i18n === void 0 ? void 0 : _set$i18n.t('configurator.catalog_not_listed_title'),
|
|
43207
|
+
text: (_set$i18n2 = set.i18n) === null || _set$i18n2 === void 0 ? void 0 : _set$i18n2.t('configurator.catalog_not_listed_text')
|
|
43208
|
+
});
|
|
43209
|
+
}
|
|
43210
|
+
return _context14.abrupt("return", ret);
|
|
43211
|
+
case 23:
|
|
43212
|
+
_context14.prev = 23;
|
|
43198
43213
|
_context14.t0 = _context14["catch"](14);
|
|
43199
43214
|
LOG$1.error(_context14.t0);
|
|
43200
43215
|
this.onInitializationError(_context14.t0);
|
|
43201
43216
|
return _context14.abrupt("return", false);
|
|
43202
|
-
case
|
|
43203
|
-
_context14.next =
|
|
43217
|
+
case 28:
|
|
43218
|
+
_context14.next = 33;
|
|
43204
43219
|
break;
|
|
43205
|
-
case
|
|
43220
|
+
case 30:
|
|
43206
43221
|
this.onInitializationError();
|
|
43207
43222
|
//fehler beim laden vom basket..
|
|
43208
43223
|
LOG$1.errorTransaction('LOADING_BASKET', 'BASKET_0002', 'Fehler beim Laden des Baskets', {}, true);
|
|
43209
43224
|
return _context14.abrupt("return", false);
|
|
43210
|
-
case
|
|
43225
|
+
case 33:
|
|
43211
43226
|
case "end":
|
|
43212
43227
|
return _context14.stop();
|
|
43213
43228
|
}
|
|
43214
|
-
}, _callee14, this, [[14,
|
|
43229
|
+
}, _callee14, this, [[14, 23]]);
|
|
43215
43230
|
}));
|
|
43216
43231
|
function initialize() {
|
|
43217
43232
|
return _initialize.apply(this, arguments);
|
|
@@ -43222,8 +43237,8 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
43222
43237
|
key: "initializeSets",
|
|
43223
43238
|
value: function () {
|
|
43224
43239
|
var _initializeSets = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee15(loadSuccessful, viewReadyPromise) {
|
|
43225
|
-
var _this$
|
|
43226
|
-
var _this$
|
|
43240
|
+
var _this$actions17, _set$getDivaArticles;
|
|
43241
|
+
var _this$actions16, _this$actions16$toggl, initSetState, set, oldProductId, result, _this$actions18, catalogData, initializationId, _this$plannerConfig$a;
|
|
43227
43242
|
return _regeneratorRuntime.wrap(function _callee15$(_context15) {
|
|
43228
43243
|
while (1) switch (_context15.prev = _context15.next) {
|
|
43229
43244
|
case 0:
|
|
@@ -43242,7 +43257,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
43242
43257
|
return this.initView();
|
|
43243
43258
|
case 6:
|
|
43244
43259
|
this.subscribeToWebPlannerEvents();
|
|
43245
|
-
(_this$
|
|
43260
|
+
(_this$actions16 = this.actions) === null || _this$actions16 === void 0 || (_this$actions16$toggl = _this$actions16.toggleLoading) === null || _this$actions16$toggl === void 0 || _this$actions16$toggl.call(_this$actions16, 'Planner_Loading', false, false);
|
|
43246
43261
|
return _context15.abrupt("return", true);
|
|
43247
43262
|
case 9:
|
|
43248
43263
|
this.divaNr = this.divaBasketHandler.actDivaNr;
|
|
@@ -43277,11 +43292,11 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
43277
43292
|
_context15.next = 28;
|
|
43278
43293
|
return this.initView();
|
|
43279
43294
|
case 28:
|
|
43280
|
-
(_this$
|
|
43295
|
+
(_this$actions17 = this.actions) === null || _this$actions17 === void 0 || _this$actions17.onEvent({
|
|
43281
43296
|
type: 'onConfiguratorReady'
|
|
43282
43297
|
});
|
|
43283
43298
|
if (Object.keys((_set$getDivaArticles = set === null || set === void 0 ? void 0 : set.getDivaArticles()) !== null && _set$getDivaArticles !== void 0 ? _set$getDivaArticles : {}).length) {
|
|
43284
|
-
(_this$
|
|
43299
|
+
(_this$actions18 = this.actions) === null || _this$actions18 === void 0 || _this$actions18.onEvent({
|
|
43285
43300
|
type: 'onArticleInitialized'
|
|
43286
43301
|
});
|
|
43287
43302
|
}
|
|
@@ -43371,13 +43386,13 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
43371
43386
|
key: "onInitializationError",
|
|
43372
43387
|
value: function onInitializationError(e) {
|
|
43373
43388
|
var _e$message,
|
|
43374
|
-
_this$
|
|
43389
|
+
_this$actions19,
|
|
43375
43390
|
_this$state2,
|
|
43376
43391
|
_this2 = this,
|
|
43377
|
-
_this$
|
|
43378
|
-
_this$
|
|
43392
|
+
_this$actions21,
|
|
43393
|
+
_this$actions21$toggl;
|
|
43379
43394
|
var onErrorHandling = this.api.onErrorHandling();
|
|
43380
|
-
if (e !== null && e !== void 0 && (_e$message = e.message) !== null && _e$message !== void 0 && _e$message.startsWith('No ConfiguratorStep was generated') && (_this$
|
|
43395
|
+
if (e !== null && e !== void 0 && (_e$message = e.message) !== null && _e$message !== void 0 && _e$message.startsWith('No ConfiguratorStep was generated') && (_this$actions19 = this.actions) !== null && _this$actions19 !== void 0 && _this$actions19.openModal) {
|
|
43381
43396
|
var _this$i18n4, _this$i18n5;
|
|
43382
43397
|
this.actions.openModal({
|
|
43383
43398
|
title: (_this$i18n4 = this.i18n) === null || _this$i18n4 === void 0 || (_this$i18n4 = _this$i18n4.call(this)) === null || _this$i18n4 === void 0 ? void 0 : _this$i18n4.t('configurator.error.no_planning'),
|
|
@@ -43388,8 +43403,8 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
43388
43403
|
return;
|
|
43389
43404
|
}
|
|
43390
43405
|
if ((_this$state2 = this.state) !== null && _this$state2 !== void 0 && _this$state2.isFullscreenComponent) {
|
|
43391
|
-
var _this$
|
|
43392
|
-
(_this$
|
|
43406
|
+
var _this$actions20;
|
|
43407
|
+
(_this$actions20 = this.actions) === null || _this$actions20 === void 0 || _this$actions20.closeComponentInFullscreen();
|
|
43393
43408
|
return;
|
|
43394
43409
|
}
|
|
43395
43410
|
if (onErrorHandling) {
|
|
@@ -43438,7 +43453,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
43438
43453
|
});
|
|
43439
43454
|
}
|
|
43440
43455
|
}
|
|
43441
|
-
(_this$
|
|
43456
|
+
(_this$actions21 = this.actions) === null || _this$actions21 === void 0 || (_this$actions21$toggl = _this$actions21.toggleLoading) === null || _this$actions21$toggl === void 0 || _this$actions21$toggl.call(_this$actions21, 'Planner_Loading', false, false);
|
|
43442
43457
|
}
|
|
43443
43458
|
}, {
|
|
43444
43459
|
key: "getDivaArticles",
|
|
@@ -44085,8 +44100,8 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
44085
44100
|
}, {
|
|
44086
44101
|
key: "changeOnFavorites",
|
|
44087
44102
|
value: function changeOnFavorites(opt, opvs, targetArticles, remove) {
|
|
44088
|
-
var _this$
|
|
44089
|
-
favoritesHandlerInstance.changeOnFavorites(this.actSet(), opt, opvs, targetArticles, remove, (_this$
|
|
44103
|
+
var _this$actions22;
|
|
44104
|
+
favoritesHandlerInstance.changeOnFavorites(this.actSet(), opt, opvs, targetArticles, remove, (_this$actions22 = this.actions) === null || _this$actions22 === void 0 ? void 0 : _this$actions22.openModal);
|
|
44090
44105
|
}
|
|
44091
44106
|
}, {
|
|
44092
44107
|
key: "setDifferentOptions",
|
|
@@ -44156,8 +44171,8 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
44156
44171
|
}, {
|
|
44157
44172
|
key: "showModal",
|
|
44158
44173
|
value: function showModal(data) {
|
|
44159
|
-
var _this$
|
|
44160
|
-
(_this$
|
|
44174
|
+
var _this$actions23;
|
|
44175
|
+
(_this$actions23 = this.actions) === null || _this$actions23 === void 0 || _this$actions23.openModal(data);
|
|
44161
44176
|
}
|
|
44162
44177
|
}, {
|
|
44163
44178
|
key: "logGA",
|
|
@@ -44176,25 +44191,25 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
44176
44191
|
}, {
|
|
44177
44192
|
key: "callEvent",
|
|
44178
44193
|
value: function callEvent(event, param) {
|
|
44179
|
-
var _this$
|
|
44194
|
+
var _this$actions24, _this$actions25, _this$actions26, _this$actions27;
|
|
44180
44195
|
switch (event) {
|
|
44181
44196
|
case 'onFullscreenClose':
|
|
44182
|
-
(_this$
|
|
44197
|
+
(_this$actions24 = this.actions) === null || _this$actions24 === void 0 || _this$actions24.onEvent({
|
|
44183
44198
|
type: 'onFullscreenClose'
|
|
44184
44199
|
});
|
|
44185
44200
|
break;
|
|
44186
44201
|
case 'onWebPlanerClose':
|
|
44187
|
-
(_this$
|
|
44202
|
+
(_this$actions25 = this.actions) === null || _this$actions25 === void 0 || _this$actions25.onEvent({
|
|
44188
44203
|
type: 'onWebPlanerClose'
|
|
44189
44204
|
});
|
|
44190
44205
|
break;
|
|
44191
44206
|
case 'onWebPlanerHelp':
|
|
44192
|
-
(_this$
|
|
44207
|
+
(_this$actions26 = this.actions) === null || _this$actions26 === void 0 || _this$actions26.onEvent({
|
|
44193
44208
|
type: 'onWebPlanerHelp'
|
|
44194
44209
|
});
|
|
44195
44210
|
break;
|
|
44196
44211
|
case 'onWebPlanerZoomClick':
|
|
44197
|
-
(_this$
|
|
44212
|
+
(_this$actions27 = this.actions) === null || _this$actions27 === void 0 || _this$actions27.onEvent({
|
|
44198
44213
|
type: 'onWebPlanerZoomClick',
|
|
44199
44214
|
data: param
|
|
44200
44215
|
});
|
|
@@ -44205,14 +44220,14 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
44205
44220
|
key: "saveToBasketWrapper",
|
|
44206
44221
|
value: function () {
|
|
44207
44222
|
var _saveToBasketWrapper = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee26(event, repairOnly, returnToParam) {
|
|
44208
|
-
var _this$
|
|
44209
|
-
_this$actions28$toggl,
|
|
44210
|
-
_this$actions29,
|
|
44223
|
+
var _this$actions29,
|
|
44211
44224
|
_this$actions29$toggl,
|
|
44225
|
+
_this$actions30,
|
|
44226
|
+
_this$actions30$toggl,
|
|
44212
44227
|
_this3 = this,
|
|
44213
|
-
_this$
|
|
44228
|
+
_this$actions34,
|
|
44214
44229
|
_this$i18n16;
|
|
44215
|
-
var returnTo, finalEvent, _this$api$getBarrierC, _this$openLeafeltBarr, product, _this$actSet10, url, _result, _this$
|
|
44230
|
+
var returnTo, finalEvent, _this$api$getBarrierC, _this$openLeafeltBarr, product, _this$actSet10, url, _result, _this$actions28, result, _this$actions31, _this$i18n10, _this$i18n11, _this$actions32, _this$i18n12, _this$i18n13, _this$actions33, _this$i18n14, _this$i18n15, _this$updatePlannerMs2;
|
|
44216
44231
|
return _regeneratorRuntime.wrap(function _callee26$(_context26) {
|
|
44217
44232
|
while (1) switch (_context26.prev = _context26.next) {
|
|
44218
44233
|
case 0:
|
|
@@ -44251,25 +44266,25 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
44251
44266
|
_context26.next = 20;
|
|
44252
44267
|
break;
|
|
44253
44268
|
}
|
|
44254
|
-
(_this$
|
|
44269
|
+
(_this$actions28 = this.actions) === null || _this$actions28 === void 0 || _this$actions28.onEvent({
|
|
44255
44270
|
type: finalEvent.event
|
|
44256
44271
|
});
|
|
44257
44272
|
return _context26.abrupt("return", 'canceled');
|
|
44258
44273
|
case 20:
|
|
44259
44274
|
returnTo = finalEvent.event == 'onAddToBasket' ? 'OPEN_PDF' : returnTo;
|
|
44260
44275
|
case 21:
|
|
44261
|
-
(_this$
|
|
44276
|
+
(_this$actions29 = this.actions) === null || _this$actions29 === void 0 || (_this$actions29$toggl = _this$actions29.toggleLoading) === null || _this$actions29$toggl === void 0 || _this$actions29$toggl.call(_this$actions29, 'Planner_Saving', false, true);
|
|
44262
44277
|
_context26.next = 24;
|
|
44263
44278
|
return this.saveToBasket(returnTo, finalEvent.event, repairOnly);
|
|
44264
44279
|
case 24:
|
|
44265
44280
|
result = _context26.sent;
|
|
44266
|
-
(_this$
|
|
44281
|
+
(_this$actions30 = this.actions) === null || _this$actions30 === void 0 || (_this$actions30$toggl = _this$actions30.toggleLoading) === null || _this$actions30$toggl === void 0 || _this$actions30$toggl.call(_this$actions30, 'Planner_Saving', false, false);
|
|
44267
44282
|
if (!(result === 'canceled')) {
|
|
44268
44283
|
_context26.next = 30;
|
|
44269
44284
|
break;
|
|
44270
44285
|
}
|
|
44271
44286
|
LOG$1.error(new DivaError('failed to save Basket'));
|
|
44272
|
-
(_this$
|
|
44287
|
+
(_this$actions31 = this.actions) === null || _this$actions31 === void 0 || _this$actions31.openModal({
|
|
44273
44288
|
text: ((_this$i18n10 = this.i18n()) === null || _this$i18n10 === void 0 ? void 0 : _this$i18n10.t('modal.general_error')) + ' --- ' + DivaUtils.formatDate(new Date(), true, undefined, true) + ' --- ' + DivaUtils.getCurrentTraceId() ? ((_this$i18n11 = this.i18n()) === null || _this$i18n11 === void 0 ? void 0 : _this$i18n11.t('modal.errorcode')) + ': ' + DivaUtils.getCurrentTraceId() : '',
|
|
44274
44289
|
accept: true
|
|
44275
44290
|
});
|
|
@@ -44283,12 +44298,12 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
44283
44298
|
LOG$1.error(new DivaError('PDF url is missing in basket', {
|
|
44284
44299
|
code: 'WC_0010'
|
|
44285
44300
|
}));
|
|
44286
|
-
(_this$
|
|
44301
|
+
(_this$actions32 = this.actions) === null || _this$actions32 === void 0 || _this$actions32.openModal({
|
|
44287
44302
|
text: ((_this$i18n12 = this.i18n()) === null || _this$i18n12 === void 0 ? void 0 : _this$i18n12.t('modal.general_error')) + ' --- ' + DivaUtils.formatDate(new Date(), true, undefined, true) + ' --- ' + DivaUtils.getCurrentTraceId() ? ((_this$i18n13 = this.i18n()) === null || _this$i18n13 === void 0 ? void 0 : _this$i18n13.t('modal.errorcode')) + ': ' + DivaUtils.getCurrentTraceId() : '',
|
|
44288
44303
|
accept: true
|
|
44289
44304
|
});
|
|
44290
44305
|
} else {
|
|
44291
|
-
(_this$
|
|
44306
|
+
(_this$actions33 = this.actions) === null || _this$actions33 === void 0 || _this$actions33.openModal({
|
|
44292
44307
|
text: (_this$i18n14 = this.i18n()) === null || _this$i18n14 === void 0 ? void 0 : _this$i18n14.t(this.divaBasketHandler.actBasket.Status === 'ORDER' ? 'modal.open_order_pdf_now' : 'modal.open_leaflet_pdf_now'),
|
|
44293
44308
|
accept: (_this$i18n15 = this.i18n()) === null || _this$i18n15 === void 0 ? void 0 : _this$i18n15.t('modals.open_now'),
|
|
44294
44309
|
callback: function callback() {
|
|
@@ -44298,7 +44313,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
44298
44313
|
}
|
|
44299
44314
|
return _context26.abrupt("break", 36);
|
|
44300
44315
|
case 35:
|
|
44301
|
-
(_this$
|
|
44316
|
+
(_this$actions34 = this.actions) === null || _this$actions34 === void 0 || _this$actions34.openModal({
|
|
44302
44317
|
text: (_this$i18n16 = this.i18n()) === null || _this$i18n16 === void 0 ? void 0 : _this$i18n16.t('modal.planning_saved'),
|
|
44303
44318
|
accept: true
|
|
44304
44319
|
});
|
|
@@ -44326,7 +44341,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
44326
44341
|
key: "saveToBasket",
|
|
44327
44342
|
value: function () {
|
|
44328
44343
|
var _saveToBasket = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee27(returnTo, event, repairOnly) {
|
|
44329
|
-
var _returnTo, _returnTo2, _returnTo3, _this$
|
|
44344
|
+
var _returnTo, _returnTo2, _returnTo3, _this$actions35, _this$actions36, _this$actions37, _this$divaBasketHandl2;
|
|
44330
44345
|
var set, actBasket, oldReturnTo, result, newDivaNr, _result2, product;
|
|
44331
44346
|
return _regeneratorRuntime.wrap(function _callee27$(_context27) {
|
|
44332
44347
|
while (1) switch (_context27.prev = _context27.next) {
|
|
@@ -44382,8 +44397,8 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
44382
44397
|
_context27.next = _context27.t3 === 'OPEN_SELLER_PRODUCTCREATOR' ? 27 : _context27.t3 === 'OPEN_SELLER_BASKET' ? 30 : _context27.t3 === 'OPEN_PDF' ? 32 : _context27.t3 === 'SAVE_BASKET_WITH_MODAL' ? 32 : _context27.t3 === 'SAVE_BASKET' ? 32 : _context27.t3 === 'SAVE_BASKET_SYNC' ? 32 : _context27.t3 === 'OPEN_LEAFLET_BARRIER' ? 32 : 51;
|
|
44383
44398
|
break;
|
|
44384
44399
|
case 27:
|
|
44385
|
-
(_this$
|
|
44386
|
-
(_this$
|
|
44400
|
+
(_this$actions35 = this.actions) === null || _this$actions35 === void 0 || _this$actions35.toggleLoading('buildScene', false, false);
|
|
44401
|
+
(_this$actions36 = this.actions) === null || _this$actions36 === void 0 || _this$actions36.openComponent({
|
|
44387
44402
|
type: 'SELLER',
|
|
44388
44403
|
parameters: {
|
|
44389
44404
|
module: 'PCreator',
|
|
@@ -44395,7 +44410,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
44395
44410
|
});
|
|
44396
44411
|
return _context27.abrupt("break", 51);
|
|
44397
44412
|
case 30:
|
|
44398
|
-
(_this$
|
|
44413
|
+
(_this$actions37 = this.actions) === null || _this$actions37 === void 0 || _this$actions37.openComponent({
|
|
44399
44414
|
type: 'SELLER',
|
|
44400
44415
|
parameters: {
|
|
44401
44416
|
module: 'Basket',
|
|
@@ -44749,18 +44764,18 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
44749
44764
|
key: "addToBasket",
|
|
44750
44765
|
value: function () {
|
|
44751
44766
|
var _addToBasket = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee29(actBasket) {
|
|
44752
|
-
var _this$
|
|
44753
|
-
_this$actions38,
|
|
44767
|
+
var _this$actions38,
|
|
44754
44768
|
_this$actions39,
|
|
44755
44769
|
_this$actions40,
|
|
44756
44770
|
_this$actions41,
|
|
44771
|
+
_this$actions42,
|
|
44757
44772
|
_this$divaBasketHandl4,
|
|
44758
44773
|
_this4 = this,
|
|
44759
|
-
_this$actions42,
|
|
44760
44774
|
_this$actions43,
|
|
44761
44775
|
_this$actions44,
|
|
44762
44776
|
_this$actions45,
|
|
44763
|
-
_this$actions46
|
|
44777
|
+
_this$actions46,
|
|
44778
|
+
_this$actions47;
|
|
44764
44779
|
var event,
|
|
44765
44780
|
emailConfig,
|
|
44766
44781
|
_emailConfig$to$split,
|
|
@@ -44777,31 +44792,31 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
44777
44792
|
_context29.next = _context29.t0 === 'onWebPlanerPrint' ? 5 : _context29.t0 === 'onWebPlanerSave' ? 7 : _context29.t0 === 'onWebPlanerShare' ? 9 : _context29.t0 === 'onRequestConsulation' ? 11 : _context29.t0 === 'onSave' ? 13 : _context29.t0 === 'onSendEmail' ? 15 : _context29.t0 === 'onSaveProduct' ? 20 : _context29.t0 === 'dontSaveBasket' ? 27 : _context29.t0 === 'onAddToBasket' ? 28 : _context29.t0 === 'onSendContactForm' ? 30 : 33;
|
|
44778
44793
|
break;
|
|
44779
44794
|
case 5:
|
|
44780
|
-
(_this$
|
|
44795
|
+
(_this$actions38 = this.actions) === null || _this$actions38 === void 0 || _this$actions38.onEvent({
|
|
44781
44796
|
type: 'onWebPlanerPrint',
|
|
44782
44797
|
data: actBasket.getAsJson()
|
|
44783
44798
|
});
|
|
44784
44799
|
return _context29.abrupt("break", 35);
|
|
44785
44800
|
case 7:
|
|
44786
|
-
(_this$
|
|
44801
|
+
(_this$actions39 = this.actions) === null || _this$actions39 === void 0 || _this$actions39.onEvent({
|
|
44787
44802
|
type: 'onWebPlanerSave',
|
|
44788
44803
|
data: actBasket.getAsJson()
|
|
44789
44804
|
});
|
|
44790
44805
|
return _context29.abrupt("break", 35);
|
|
44791
44806
|
case 9:
|
|
44792
|
-
(_this$
|
|
44807
|
+
(_this$actions40 = this.actions) === null || _this$actions40 === void 0 || _this$actions40.onEvent({
|
|
44793
44808
|
type: 'onWebPlanerShare',
|
|
44794
44809
|
data: actBasket.getAsJson()
|
|
44795
44810
|
});
|
|
44796
44811
|
return _context29.abrupt("break", 35);
|
|
44797
44812
|
case 11:
|
|
44798
|
-
(_this$
|
|
44813
|
+
(_this$actions41 = this.actions) === null || _this$actions41 === void 0 || _this$actions41.onEvent({
|
|
44799
44814
|
type: 'onRequestConsulation',
|
|
44800
44815
|
data: actBasket.getAsJson()
|
|
44801
44816
|
});
|
|
44802
44817
|
return _context29.abrupt("break", 35);
|
|
44803
44818
|
case 13:
|
|
44804
|
-
(_this$
|
|
44819
|
+
(_this$actions42 = this.actions) === null || _this$actions42 === void 0 || _this$actions42.onEvent({
|
|
44805
44820
|
type: 'onSave',
|
|
44806
44821
|
data: actBasket.getAsJson()
|
|
44807
44822
|
});
|
|
@@ -44836,7 +44851,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
44836
44851
|
});
|
|
44837
44852
|
});
|
|
44838
44853
|
}
|
|
44839
|
-
(_this$
|
|
44854
|
+
(_this$actions43 = this.actions) === null || _this$actions43 === void 0 || _this$actions43.onEvent({
|
|
44840
44855
|
type: 'onAddToBasket',
|
|
44841
44856
|
data: actBasket.getAsJson()
|
|
44842
44857
|
});
|
|
@@ -44847,7 +44862,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
44847
44862
|
return this.api.saveAsProduct(this.sets, actBasket);
|
|
44848
44863
|
case 23:
|
|
44849
44864
|
products = _context29.sent;
|
|
44850
|
-
(_this$
|
|
44865
|
+
(_this$actions44 = this.actions) === null || _this$actions44 === void 0 || _this$actions44.onEvent({
|
|
44851
44866
|
type: 'onAddToBasket',
|
|
44852
44867
|
data: actBasket.getAsJson()
|
|
44853
44868
|
});
|
|
@@ -44858,20 +44873,20 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
44858
44873
|
return _context29.abrupt("return", products[0]);
|
|
44859
44874
|
case 27:
|
|
44860
44875
|
case 28:
|
|
44861
|
-
(_this$
|
|
44876
|
+
(_this$actions45 = this.actions) === null || _this$actions45 === void 0 || _this$actions45.onEvent({
|
|
44862
44877
|
type: 'onAddToBasket',
|
|
44863
44878
|
data: actBasket.getAsJson()
|
|
44864
44879
|
});
|
|
44865
44880
|
return _context29.abrupt("break", 35);
|
|
44866
44881
|
case 30:
|
|
44867
|
-
(_this$
|
|
44882
|
+
(_this$actions46 = this.actions) === null || _this$actions46 === void 0 || _this$actions46.onEvent({
|
|
44868
44883
|
type: 'onAddToBasket',
|
|
44869
44884
|
data: actBasket.getAsJson()
|
|
44870
44885
|
});
|
|
44871
44886
|
this.openContactForm(this.divaBasketHandler);
|
|
44872
44887
|
return _context29.abrupt("break", 35);
|
|
44873
44888
|
case 33:
|
|
44874
|
-
(_this$
|
|
44889
|
+
(_this$actions47 = this.actions) === null || _this$actions47 === void 0 || _this$actions47.onEvent({
|
|
44875
44890
|
type: event,
|
|
44876
44891
|
data: actBasket.getAsJson()
|
|
44877
44892
|
});
|
|
@@ -44892,8 +44907,8 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
44892
44907
|
}, {
|
|
44893
44908
|
key: "openPDFpostAsEvent",
|
|
44894
44909
|
value: function openPDFpostAsEvent(mongoDBId) {
|
|
44895
|
-
var _this$
|
|
44896
|
-
(_this$
|
|
44910
|
+
var _this$actions48, _this$actions49, _this$actions50;
|
|
44911
|
+
(_this$actions48 = this.actions) === null || _this$actions48 === void 0 || _this$actions48.updateBreadcrumbs({
|
|
44897
44912
|
type: 'update',
|
|
44898
44913
|
param: {
|
|
44899
44914
|
groupId: 'SHOWROOM',
|
|
@@ -44907,7 +44922,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
44907
44922
|
}
|
|
44908
44923
|
}
|
|
44909
44924
|
});
|
|
44910
|
-
(_this$
|
|
44925
|
+
(_this$actions49 = this.actions) === null || _this$actions49 === void 0 || _this$actions49.updateBreadcrumbs({
|
|
44911
44926
|
type: 'update',
|
|
44912
44927
|
param: {
|
|
44913
44928
|
groupId: 'SHOWROOM',
|
|
@@ -44921,7 +44936,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
44921
44936
|
}
|
|
44922
44937
|
}
|
|
44923
44938
|
});
|
|
44924
|
-
(_this$
|
|
44939
|
+
(_this$actions50 = this.actions) === null || _this$actions50 === void 0 || _this$actions50.openComponent({
|
|
44925
44940
|
type: 'REPORT',
|
|
44926
44941
|
parameters: {
|
|
44927
44942
|
id: mongoDBId
|
|
@@ -45146,14 +45161,14 @@ var DivaWebPlanner = /*#__PURE__*/function () {
|
|
|
45146
45161
|
}, {
|
|
45147
45162
|
key: "subscribeToWebPlannerEvents",
|
|
45148
45163
|
value: function subscribeToWebPlannerEvents() {
|
|
45149
|
-
var _this$
|
|
45150
|
-
(_this$
|
|
45164
|
+
var _this$actions51;
|
|
45165
|
+
(_this$actions51 = this.actions) === null || _this$actions51 === void 0 || _this$actions51.subscribeEvents(this.addToBasketEventFunction);
|
|
45151
45166
|
}
|
|
45152
45167
|
}, {
|
|
45153
45168
|
key: "unsubscribeFromWebPlannerEvents",
|
|
45154
45169
|
value: function unsubscribeFromWebPlannerEvents() {
|
|
45155
|
-
var _this$
|
|
45156
|
-
(_this$
|
|
45170
|
+
var _this$actions52;
|
|
45171
|
+
(_this$actions52 = this.actions) === null || _this$actions52 === void 0 || _this$actions52.unSubscribeEvents(this.addToBasketEventFunction);
|
|
45157
45172
|
}
|
|
45158
45173
|
}, {
|
|
45159
45174
|
key: "initApiForLogicOnly",
|
package/build/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { h as CatalogPlannerArticleData, C as Cell, e as DivaArticle, g as DivaBasketHandler, f as DivaCatalogData, D as DockingPoint, G as Grid, O as OptionCatalogData, R as Rendering, c as Vector2, V as Vector3, i as Vector4, j as creatRenderOrders, d as default, k as getOrigProductId, l as loadAndRepairBasket } from './index-
|
|
1
|
+
export { h as CatalogPlannerArticleData, C as Cell, e as DivaArticle, g as DivaBasketHandler, f as DivaCatalogData, D as DockingPoint, G as Grid, O as OptionCatalogData, R as Rendering, c as Vector2, V as Vector3, i as Vector4, j as creatRenderOrders, d as default, k as getOrigProductId, l as loadAndRepairBasket } from './index-336e44e8.js';
|
|
2
2
|
import '@babel/runtime/helpers/slicedToArray';
|
|
3
3
|
import '@babel/runtime/helpers/asyncToGenerator';
|
|
4
4
|
import '@babel/runtime/helpers/classCallCheck';
|