@crystaldesign/web-planner-logic 25.4.0-beta.29 → 25.4.0-beta.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/build/cjs/{DivaBoxPlanner-5350564d.js → DivaBoxPlanner-bf161f5c.js} +2 -2
  2. package/build/cjs/{DivaStandardPlanner-388074c5.js → DivaStandardPlanner-fa8188f0.js} +2 -2
  3. package/build/cjs/{DoorPlanner-3c7915f7.js → DoorPlanner-98976838.js} +1 -1
  4. package/build/cjs/{Host3DSignalR-42ac3206.js → Host3DSignalR-f777c509.js} +1 -1
  5. package/build/cjs/{LiviqueWWSHandler-cae52173.js → LiviqueWWSHandler-1efa9051.js} +1 -1
  6. package/build/cjs/{PfisterWWSHandler-c59a2561.js → PfisterWWSHandler-6e666c3a.js} +1 -1
  7. package/build/cjs/{PlannerHandler2D-7ef5a1a3.js → PlannerHandler2D-037ab68c.js} +1 -1
  8. package/build/cjs/{SeriousBasketHandler-c781bd01.js → SeriousBasketHandler-e56a6f1d.js} +1 -1
  9. package/build/cjs/{ShelfPlanner-280bdc51.js → ShelfPlanner-b0511779.js} +1 -1
  10. package/build/cjs/{StandardWWSHandler-43ba89cb.js → StandardWWSHandler-70dc27ff.js} +1 -1
  11. package/build/cjs/{index-c573bbc2.js → index-13d75f63.js} +96 -82
  12. package/build/cjs/index.js +1 -1
  13. package/build/esm/{DivaBoxPlanner-d4f8cdfc.js → DivaBoxPlanner-55d78900.js} +2 -2
  14. package/build/esm/{DivaStandardPlanner-10db9890.js → DivaStandardPlanner-695db059.js} +2 -2
  15. package/build/esm/{DoorPlanner-6d68a23e.js → DoorPlanner-3729b72b.js} +1 -1
  16. package/build/esm/{Host3DSignalR-76c00ff5.js → Host3DSignalR-79cc1c3d.js} +1 -1
  17. package/build/esm/{LiviqueWWSHandler-76caf9c3.js → LiviqueWWSHandler-3d4e4b6e.js} +1 -1
  18. package/build/esm/{PfisterWWSHandler-a814d5d6.js → PfisterWWSHandler-1d32c5ba.js} +1 -1
  19. package/build/esm/{PlannerHandler2D-77f53fa9.js → PlannerHandler2D-aa95553a.js} +1 -1
  20. package/build/esm/{SeriousBasketHandler-e0bbe7d0.js → SeriousBasketHandler-42bcc7d2.js} +1 -1
  21. package/build/esm/{ShelfPlanner-c1290788.js → ShelfPlanner-f930a9fc.js} +1 -1
  22. package/build/esm/{StandardWWSHandler-162d6a6c.js → StandardWWSHandler-395a113a.js} +1 -1
  23. package/build/esm/{index-c3e006a1.js → index-6ef10790.js} +96 -82
  24. package/build/esm/index.js +1 -1
  25. package/build/types/web-planner-logic/src/logic/DivaWebPlanner.d.ts.map +1 -1
  26. package/build/types/web-planner-logic/src/model/Catalog/DivaCatalogData.d.ts.map +1 -1
  27. package/package.json +2 -2
@@ -5,10 +5,10 @@ var _classCallCheck = require('@babel/runtime/helpers/classCallCheck');
5
5
  var _createClass = require('@babel/runtime/helpers/createClass');
6
6
  var _defineProperty = require('@babel/runtime/helpers/defineProperty');
7
7
  var _regeneratorRuntime = require('@babel/runtime/regenerator');
8
- var index = require('./index-c573bbc2.js');
8
+ var index = require('./index-13d75f63.js');
9
9
  var DivaUtils = require('@crystaldesign/diva-utils');
10
10
  var _toConsumableArray = require('@babel/runtime/helpers/toConsumableArray');
11
- var PlannerHandler2D = require('./PlannerHandler2D-7ef5a1a3.js');
11
+ var PlannerHandler2D = require('./PlannerHandler2D-037ab68c.js');
12
12
  require('@babel/runtime/helpers/slicedToArray');
13
13
  require('@babel/runtime/helpers/objectWithoutProperties');
14
14
  require('axios');
@@ -5,8 +5,8 @@ var _classCallCheck = require('@babel/runtime/helpers/classCallCheck');
5
5
  var _createClass = require('@babel/runtime/helpers/createClass');
6
6
  var _defineProperty = require('@babel/runtime/helpers/defineProperty');
7
7
  var _regeneratorRuntime = require('@babel/runtime/regenerator');
8
- var index = require('./index-c573bbc2.js');
9
- var PlannerHandler2D = require('./PlannerHandler2D-7ef5a1a3.js');
8
+ var index = require('./index-13d75f63.js');
9
+ var PlannerHandler2D = require('./PlannerHandler2D-037ab68c.js');
10
10
  var DivaUtils = require('@crystaldesign/diva-utils');
11
11
  require('@babel/runtime/helpers/slicedToArray');
12
12
  require('@babel/runtime/helpers/objectWithoutProperties');
@@ -3,7 +3,7 @@
3
3
  var _classCallCheck = require('@babel/runtime/helpers/classCallCheck');
4
4
  var _createClass = require('@babel/runtime/helpers/createClass');
5
5
  var _defineProperty = require('@babel/runtime/helpers/defineProperty');
6
- require('./index-c573bbc2.js');
6
+ require('./index-13d75f63.js');
7
7
  var DivaUtils = require('@crystaldesign/diva-utils');
8
8
  require('@babel/runtime/helpers/slicedToArray');
9
9
  require('@babel/runtime/helpers/asyncToGenerator');
@@ -5,7 +5,7 @@ var _classCallCheck = require('@babel/runtime/helpers/classCallCheck');
5
5
  var _createClass = require('@babel/runtime/helpers/createClass');
6
6
  var _defineProperty = require('@babel/runtime/helpers/defineProperty');
7
7
  var _regeneratorRuntime = require('@babel/runtime/regenerator');
8
- var index = require('./index-c573bbc2.js');
8
+ var index = require('./index-13d75f63.js');
9
9
  var DivaUtils = require('@crystaldesign/diva-utils');
10
10
  var signalr = require('@microsoft/signalr');
11
11
  var io = require('socket.io-client');
@@ -2,7 +2,7 @@
2
2
 
3
3
  var _classCallCheck = require('@babel/runtime/helpers/classCallCheck');
4
4
  var _createClass = require('@babel/runtime/helpers/createClass');
5
- require('./index-c573bbc2.js');
5
+ require('./index-13d75f63.js');
6
6
  require('@babel/runtime/helpers/slicedToArray');
7
7
  require('@babel/runtime/helpers/asyncToGenerator');
8
8
  require('@babel/runtime/helpers/defineProperty');
@@ -2,7 +2,7 @@
2
2
 
3
3
  var _classCallCheck = require('@babel/runtime/helpers/classCallCheck');
4
4
  var _createClass = require('@babel/runtime/helpers/createClass');
5
- var index = require('./index-c573bbc2.js');
5
+ var index = require('./index-13d75f63.js');
6
6
  var basketModel = require('@crystaldesign/basket-model');
7
7
  var DivaUtils = require('@crystaldesign/diva-utils');
8
8
  require('@babel/runtime/helpers/slicedToArray');
@@ -3,7 +3,7 @@
3
3
  var _classCallCheck = require('@babel/runtime/helpers/classCallCheck');
4
4
  var _createClass = require('@babel/runtime/helpers/createClass');
5
5
  var _defineProperty = require('@babel/runtime/helpers/defineProperty');
6
- var index = require('./index-c573bbc2.js');
6
+ var index = require('./index-13d75f63.js');
7
7
  var DivaUtils = require('@crystaldesign/diva-utils');
8
8
  var _asyncToGenerator = require('@babel/runtime/helpers/asyncToGenerator');
9
9
  var _regeneratorRuntime = require('@babel/runtime/regenerator');
@@ -3,7 +3,7 @@
3
3
  var _classCallCheck = require('@babel/runtime/helpers/classCallCheck');
4
4
  var _createClass = require('@babel/runtime/helpers/createClass');
5
5
  var _defineProperty = require('@babel/runtime/helpers/defineProperty');
6
- var index = require('./index-c573bbc2.js');
6
+ var index = require('./index-13d75f63.js');
7
7
  var DivaUtils = require('@crystaldesign/diva-utils');
8
8
  require('@babel/runtime/helpers/slicedToArray');
9
9
  require('@babel/runtime/helpers/asyncToGenerator');
@@ -6,7 +6,7 @@ var _classCallCheck = require('@babel/runtime/helpers/classCallCheck');
6
6
  var _createClass = require('@babel/runtime/helpers/createClass');
7
7
  var _defineProperty = require('@babel/runtime/helpers/defineProperty');
8
8
  var _regeneratorRuntime = require('@babel/runtime/regenerator');
9
- var index = require('./index-c573bbc2.js');
9
+ var index = require('./index-13d75f63.js');
10
10
  var DivaUtils = require('@crystaldesign/diva-utils');
11
11
  require('@babel/runtime/helpers/slicedToArray');
12
12
  require('@babel/runtime/helpers/objectWithoutProperties');
@@ -2,7 +2,7 @@
2
2
 
3
3
  var _classCallCheck = require('@babel/runtime/helpers/classCallCheck');
4
4
  var _createClass = require('@babel/runtime/helpers/createClass');
5
- require('./index-c573bbc2.js');
5
+ require('./index-13d75f63.js');
6
6
  require('@babel/runtime/helpers/slicedToArray');
7
7
  require('@babel/runtime/helpers/asyncToGenerator');
8
8
  require('@babel/runtime/helpers/defineProperty');
@@ -17176,6 +17176,7 @@ function initDivaArticles(articleJson, plannerElementsJson, catalogData) {
17176
17176
  if (catalogData.allCatalogArticles[myCodex].isHidden) continue;
17177
17177
  var catalogPlannerArticle = new CatalogPlannerArticleData(getCatalogPlanner$1(plannerElementsJson.PlannerElements[_i], catalogData.allCatalogArticles[myCodex], catalogData.ignoreArticleRelations));
17178
17178
  catalogData.allCatalogArticles[myCodex].initCatalogPlannerArticle(catalogPlannerArticle);
17179
+ catalogData.allCatalogPlannerArticles[myCodex] = catalogPlannerArticle;
17179
17180
  initCatalogPlannerArticleView$1(catalogData, catalogPlannerArticle, catalogData.catalogProps, catalogData.plannerPaletteViewInfo);
17180
17181
  }
17181
17182
  setCatalogPlannsCompletely(catalogData);
@@ -26745,7 +26746,7 @@ var DivaArticle = /*#__PURE__*/function () {
26745
26746
  break;
26746
26747
  }
26747
26748
  _context.next = 4;
26748
- return Promise.resolve().then(function () { return require('./ShelfPlanner-280bdc51.js'); });
26749
+ return Promise.resolve().then(function () { return require('./ShelfPlanner-b0511779.js'); });
26749
26750
  case 4:
26750
26751
  _yield$import = _context.sent;
26751
26752
  ShelfPlanner = _yield$import["default"];
@@ -31309,7 +31310,7 @@ var DivaSet = /*#__PURE__*/function () {
31309
31310
  break;
31310
31311
  }
31311
31312
  _context5.next = 3;
31312
- return Promise.resolve().then(function () { return require('./DoorPlanner-3c7915f7.js'); });
31313
+ return Promise.resolve().then(function () { return require('./DoorPlanner-98976838.js'); });
31313
31314
  case 3:
31314
31315
  _yield$import = _context5.sent;
31315
31316
  DoorPlanner = _yield$import["default"];
@@ -38156,7 +38157,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
38156
38157
  break;
38157
38158
  case 3:
38158
38159
  _context12.next = 5;
38159
- return Promise.resolve().then(function () { return require('./PfisterWWSHandler-c59a2561.js'); });
38160
+ return Promise.resolve().then(function () { return require('./PfisterWWSHandler-6e666c3a.js'); });
38160
38161
  case 5:
38161
38162
  _yield$import = _context12.sent;
38162
38163
  PfisterWWSHandler = _yield$import["default"];
@@ -38164,7 +38165,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
38164
38165
  return _context12.abrupt("break", 27);
38165
38166
  case 9:
38166
38167
  _context12.next = 11;
38167
- return Promise.resolve().then(function () { return require('./LiviqueWWSHandler-cae52173.js'); });
38168
+ return Promise.resolve().then(function () { return require('./LiviqueWWSHandler-1efa9051.js'); });
38168
38169
  case 11:
38169
38170
  _yield$import2 = _context12.sent;
38170
38171
  LiviqueWWSHandler = _yield$import2["default"];
@@ -38172,7 +38173,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
38172
38173
  return _context12.abrupt("break", 27);
38173
38174
  case 15:
38174
38175
  _context12.next = 17;
38175
- return Promise.resolve().then(function () { return require('./SeriousBasketHandler-c781bd01.js'); });
38176
+ return Promise.resolve().then(function () { return require('./SeriousBasketHandler-e56a6f1d.js'); });
38176
38177
  case 17:
38177
38178
  _yield$import3 = _context12.sent;
38178
38179
  SeriousWWSHandler = _yield$import3["default"];
@@ -38180,7 +38181,7 @@ var DivaBasketHandler = /*#__PURE__*/function () {
38180
38181
  return _context12.abrupt("break", 27);
38181
38182
  case 21:
38182
38183
  _context12.next = 23;
38183
- return Promise.resolve().then(function () { return require('./StandardWWSHandler-43ba89cb.js'); });
38184
+ return Promise.resolve().then(function () { return require('./StandardWWSHandler-70dc27ff.js'); });
38184
38185
  case 23:
38185
38186
  _yield$import4 = _context12.sent;
38186
38187
  StandardWWSHandler = _yield$import4["default"];
@@ -39608,7 +39609,7 @@ var PlannerHandler3D = /*#__PURE__*/function () {
39608
39609
  while (1) switch (_context3.prev = _context3.next) {
39609
39610
  case 0:
39610
39611
  _context3.next = 2;
39611
- return Promise.resolve().then(function () { return require('./Host3DSignalR-42ac3206.js'); });
39612
+ return Promise.resolve().then(function () { return require('./Host3DSignalR-f777c509.js'); });
39612
39613
  case 2:
39613
39614
  _yield$import = _context3.sent;
39614
39615
  Host3DSignalR = _yield$import["default"];
@@ -41162,7 +41163,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
41162
41163
  break;
41163
41164
  case 8:
41164
41165
  _context4.next = 10;
41165
- return Promise.resolve().then(function () { return require('./DivaStandardPlanner-388074c5.js'); });
41166
+ return Promise.resolve().then(function () { return require('./DivaStandardPlanner-fa8188f0.js'); });
41166
41167
  case 10:
41167
41168
  _yield$import = _context4.sent;
41168
41169
  DivaStandardPlanner = _yield$import["default"];
@@ -41173,7 +41174,7 @@ var DivaPlannerHandler = /*#__PURE__*/function () {
41173
41174
  return _context4.abrupt("break", 21);
41174
41175
  case 15:
41175
41176
  _context4.next = 17;
41176
- return Promise.resolve().then(function () { return require('./DivaBoxPlanner-5350564d.js'); });
41177
+ return Promise.resolve().then(function () { return require('./DivaBoxPlanner-bf161f5c.js'); });
41177
41178
  case 17:
41178
41179
  _yield$import2 = _context4.sent;
41179
41180
  DivaBoxPlanner = _yield$import2["default"];
@@ -42954,7 +42955,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
42954
42955
  DivaUtils__default["default"].businessMetrics.setConfiguratorSessionId();
42955
42956
  }
42956
42957
  if (!loadSuccessful) {
42957
- _context14.next = 27;
42958
+ _context14.next = 28;
42958
42959
  break;
42959
42960
  }
42960
42961
  _context14.prev = 15;
@@ -42965,17 +42966,18 @@ var DivaWebPlanner = /*#__PURE__*/function () {
42965
42966
  case 21:
42966
42967
  _context14.prev = 21;
42967
42968
  _context14.t0 = _context14["catch"](15);
42968
- this.onInitializationError();
42969
+ LOG$1.error(_context14.t0);
42970
+ this.onInitializationError(_context14.t0);
42969
42971
  return _context14.abrupt("return", false);
42970
- case 25:
42971
- _context14.next = 30;
42972
+ case 26:
42973
+ _context14.next = 31;
42972
42974
  break;
42973
- case 27:
42975
+ case 28:
42974
42976
  this.onInitializationError();
42975
42977
  //fehler beim laden vom basket..
42976
42978
  LOG$1.errorTransaction('LOADING_BASKET', 'BASKET_0002', 'Fehler beim Laden des Baskets', {}, true);
42977
42979
  return _context14.abrupt("return", false);
42978
- case 30:
42980
+ case 31:
42979
42981
  case "end":
42980
42982
  return _context14.stop();
42981
42983
  }
@@ -43137,24 +43139,36 @@ var DivaWebPlanner = /*#__PURE__*/function () {
43137
43139
  }
43138
43140
  }, {
43139
43141
  key: "onInitializationError",
43140
- value: function onInitializationError() {
43141
- var _this$state2,
43142
+ value: function onInitializationError(e) {
43143
+ var _e$message,
43144
+ _this$actions18,
43145
+ _this$state2,
43142
43146
  _this2 = this,
43143
- _this$actions19,
43144
- _this$actions19$toggl;
43147
+ _this$actions20,
43148
+ _this$actions20$toggl;
43145
43149
  var onErrorHandling = this.api.onErrorHandling();
43150
+ if (e !== null && e !== void 0 && (_e$message = e.message) !== null && _e$message !== void 0 && _e$message.startsWith('No ConfiguratorStep was generated') && (_this$actions18 = this.actions) !== null && _this$actions18 !== void 0 && _this$actions18.openModal) {
43151
+ var _this$i18n4, _this$i18n5;
43152
+ this.actions.openModal({
43153
+ 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'),
43154
+ text: (_this$i18n5 = this.i18n) === null || _this$i18n5 === void 0 || (_this$i18n5 = _this$i18n5.call(this)) === null || _this$i18n5 === void 0 ? void 0 : _this$i18n5.t('configurator.error.no_planning_text'),
43155
+ callback: this.onInitializationError,
43156
+ accept: true
43157
+ });
43158
+ return;
43159
+ }
43146
43160
  if ((_this$state2 = this.state) !== null && _this$state2 !== void 0 && _this$state2.isFullscreenComponent) {
43147
- var _this$actions18;
43148
- (_this$actions18 = this.actions) === null || _this$actions18 === void 0 || _this$actions18.closeComponentInFullscreen();
43161
+ var _this$actions19;
43162
+ (_this$actions19 = this.actions) === null || _this$actions19 === void 0 || _this$actions19.closeComponentInFullscreen();
43149
43163
  return;
43150
43164
  }
43151
43165
  if (onErrorHandling) {
43152
43166
  var _this$plannerConfig$a3;
43153
43167
  if (!(onErrorHandling !== null && onErrorHandling !== void 0 && onErrorHandling.hideErrorMsg)) {
43154
- var _this$plannerConfig$a2, _this$i18n$t, _this$i18n4, _onErrorHandling$erro;
43168
+ var _this$plannerConfig$a2, _this$i18n$t, _this$i18n6, _onErrorHandling$erro;
43155
43169
  var isWeb = this.api.getApplicationEnvironment() == 'WEB';
43156
43170
  (_this$plannerConfig$a2 = this.plannerConfig.actions) === null || _this$plannerConfig$a2 === void 0 || _this$plannerConfig$a2.openModal({
43157
- title: (_this$i18n$t = (_this$i18n4 = this.i18n()) === null || _this$i18n4 === void 0 ? void 0 : _this$i18n4.t((_onErrorHandling$erro = onErrorHandling.errorMsg) !== null && _onErrorHandling$erro !== void 0 ? _onErrorHandling$erro : 'modals.error_accured')) !== null && _this$i18n$t !== void 0 ? _this$i18n$t : 'An error occured. Please try again later.',
43171
+ title: (_this$i18n$t = (_this$i18n6 = this.i18n()) === null || _this$i18n6 === void 0 ? void 0 : _this$i18n6.t((_onErrorHandling$erro = onErrorHandling.errorMsg) !== null && _onErrorHandling$erro !== void 0 ? _onErrorHandling$erro : 'modals.error_accured')) !== null && _this$i18n$t !== void 0 ? _this$i18n$t : 'An error occured. Please try again later.',
43158
43172
  accept: true,
43159
43173
  callback: function callback(accepted) {
43160
43174
  if (accepted && isWeb) {
@@ -43169,22 +43183,22 @@ var DivaWebPlanner = /*#__PURE__*/function () {
43169
43183
  } else if (this.api.getApplicationEnvironment() == 'SELLER') {
43170
43184
  var divaNr = this.plannerConfig.divaNr;
43171
43185
  if (divaNr) {
43172
- var _this$plannerConfig$a4, _this$i18n5, _this$i18n6, _this$plannerConfig$a5;
43186
+ var _this$plannerConfig$a4, _this$i18n7, _this$i18n8, _this$plannerConfig$a5;
43173
43187
  (_this$plannerConfig$a4 = this.plannerConfig.actions) === null || _this$plannerConfig$a4 === void 0 || _this$plannerConfig$a4.openModal({
43174
- title: (_this$i18n5 = this.i18n()) === null || _this$i18n5 === void 0 ? void 0 : _this$i18n5.t('modals.divanr_not_found_title', {
43188
+ title: (_this$i18n7 = this.i18n()) === null || _this$i18n7 === void 0 ? void 0 : _this$i18n7.t('modals.divanr_not_found_title', {
43175
43189
  divaNr: divaNr
43176
43190
  }),
43177
- text: (_this$i18n6 = this.i18n()) === null || _this$i18n6 === void 0 ? void 0 : _this$i18n6.t('modals.divanr_not_found_text'),
43191
+ text: (_this$i18n8 = this.i18n()) === null || _this$i18n8 === void 0 ? void 0 : _this$i18n8.t('modals.divanr_not_found_text'),
43178
43192
  accept: true
43179
43193
  });
43180
43194
  (_this$plannerConfig$a5 = this.plannerConfig.actions) === null || _this$plannerConfig$a5 === void 0 || _this$plannerConfig$a5.openComponent({
43181
43195
  type: 'ARCHIVE'
43182
43196
  });
43183
43197
  } else {
43184
- var _this$plannerConfig$a6, _this$i18n7, _this$plannerConfig$a7, _this$plannerConfig$c;
43198
+ var _this$plannerConfig$a6, _this$i18n9, _this$plannerConfig$a7, _this$plannerConfig$c;
43185
43199
  (_this$plannerConfig$a6 = this.plannerConfig.actions) === null || _this$plannerConfig$a6 === void 0 || _this$plannerConfig$a6.openModal({
43186
43200
  accept: true,
43187
- title: (_this$i18n7 = this.i18n()) === null || _this$i18n7 === void 0 ? void 0 : _this$i18n7.t('modals.error_accured')
43201
+ title: (_this$i18n9 = this.i18n()) === null || _this$i18n9 === void 0 ? void 0 : _this$i18n9.t('modals.error_accured')
43188
43202
  });
43189
43203
  (_this$plannerConfig$a7 = this.plannerConfig.actions) === null || _this$plannerConfig$a7 === void 0 || _this$plannerConfig$a7.openComponent({
43190
43204
  type: 'SELLER',
@@ -43194,7 +43208,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
43194
43208
  });
43195
43209
  }
43196
43210
  }
43197
- (_this$actions19 = this.actions) === null || _this$actions19 === void 0 || (_this$actions19$toggl = _this$actions19.toggleLoading) === null || _this$actions19$toggl === void 0 || _this$actions19$toggl.call(_this$actions19, 'Planner_Loading', false, false);
43211
+ (_this$actions20 = this.actions) === null || _this$actions20 === void 0 || (_this$actions20$toggl = _this$actions20.toggleLoading) === null || _this$actions20$toggl === void 0 || _this$actions20$toggl.call(_this$actions20, 'Planner_Loading', false, false);
43198
43212
  }
43199
43213
  }, {
43200
43214
  key: "getDivaArticles",
@@ -43841,8 +43855,8 @@ var DivaWebPlanner = /*#__PURE__*/function () {
43841
43855
  }, {
43842
43856
  key: "changeOnFavorites",
43843
43857
  value: function changeOnFavorites(opt, opvs, targetArticles, remove) {
43844
- var _this$actions20;
43845
- favoritesHandlerInstance.changeOnFavorites(this.actSet(), opt, opvs, targetArticles, remove, (_this$actions20 = this.actions) === null || _this$actions20 === void 0 ? void 0 : _this$actions20.openModal);
43858
+ var _this$actions21;
43859
+ favoritesHandlerInstance.changeOnFavorites(this.actSet(), opt, opvs, targetArticles, remove, (_this$actions21 = this.actions) === null || _this$actions21 === void 0 ? void 0 : _this$actions21.openModal);
43846
43860
  }
43847
43861
  }, {
43848
43862
  key: "setDifferentOptions",
@@ -43912,8 +43926,8 @@ var DivaWebPlanner = /*#__PURE__*/function () {
43912
43926
  }, {
43913
43927
  key: "showModal",
43914
43928
  value: function showModal(data) {
43915
- var _this$actions21;
43916
- (_this$actions21 = this.actions) === null || _this$actions21 === void 0 || _this$actions21.openModal(data);
43929
+ var _this$actions22;
43930
+ (_this$actions22 = this.actions) === null || _this$actions22 === void 0 || _this$actions22.openModal(data);
43917
43931
  }
43918
43932
  }, {
43919
43933
  key: "logGA",
@@ -43932,25 +43946,25 @@ var DivaWebPlanner = /*#__PURE__*/function () {
43932
43946
  }, {
43933
43947
  key: "callEvent",
43934
43948
  value: function callEvent(event, param) {
43935
- var _this$actions22, _this$actions23, _this$actions24, _this$actions25;
43949
+ var _this$actions23, _this$actions24, _this$actions25, _this$actions26;
43936
43950
  switch (event) {
43937
43951
  case 'onFullscreenClose':
43938
- (_this$actions22 = this.actions) === null || _this$actions22 === void 0 || _this$actions22.onEvent({
43952
+ (_this$actions23 = this.actions) === null || _this$actions23 === void 0 || _this$actions23.onEvent({
43939
43953
  type: 'onFullscreenClose'
43940
43954
  });
43941
43955
  break;
43942
43956
  case 'onWebPlanerClose':
43943
- (_this$actions23 = this.actions) === null || _this$actions23 === void 0 || _this$actions23.onEvent({
43957
+ (_this$actions24 = this.actions) === null || _this$actions24 === void 0 || _this$actions24.onEvent({
43944
43958
  type: 'onWebPlanerClose'
43945
43959
  });
43946
43960
  break;
43947
43961
  case 'onWebPlanerHelp':
43948
- (_this$actions24 = this.actions) === null || _this$actions24 === void 0 || _this$actions24.onEvent({
43962
+ (_this$actions25 = this.actions) === null || _this$actions25 === void 0 || _this$actions25.onEvent({
43949
43963
  type: 'onWebPlanerHelp'
43950
43964
  });
43951
43965
  break;
43952
43966
  case 'onWebPlanerZoomClick':
43953
- (_this$actions25 = this.actions) === null || _this$actions25 === void 0 || _this$actions25.onEvent({
43967
+ (_this$actions26 = this.actions) === null || _this$actions26 === void 0 || _this$actions26.onEvent({
43954
43968
  type: 'onWebPlanerZoomClick',
43955
43969
  data: param
43956
43970
  });
@@ -43961,14 +43975,14 @@ var DivaWebPlanner = /*#__PURE__*/function () {
43961
43975
  key: "saveToBasketWrapper",
43962
43976
  value: function () {
43963
43977
  var _saveToBasketWrapper = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee26(event, repairOnly, returnToParam) {
43964
- var _this$actions27,
43965
- _this$actions27$toggl,
43966
- _this$actions28,
43978
+ var _this$actions28,
43967
43979
  _this$actions28$toggl,
43980
+ _this$actions29,
43981
+ _this$actions29$toggl,
43968
43982
  _this3 = this,
43969
- _this$actions32,
43970
- _this$i18n14;
43971
- var returnTo, finalEvent, _this$api$getBarrierC, _this$openLeafeltBarr, product, _this$actSet10, url, _result, _this$actions26, result, _this$actions29, _this$i18n8, _this$i18n9, _this$actions30, _this$i18n10, _this$i18n11, _this$actions31, _this$i18n12, _this$i18n13, _this$updatePlannerMs2;
43983
+ _this$actions33,
43984
+ _this$i18n16;
43985
+ var returnTo, finalEvent, _this$api$getBarrierC, _this$openLeafeltBarr, product, _this$actSet10, url, _result, _this$actions27, result, _this$actions30, _this$i18n10, _this$i18n11, _this$actions31, _this$i18n12, _this$i18n13, _this$actions32, _this$i18n14, _this$i18n15, _this$updatePlannerMs2;
43972
43986
  return _regeneratorRuntime__default["default"].wrap(function _callee26$(_context26) {
43973
43987
  while (1) switch (_context26.prev = _context26.next) {
43974
43988
  case 0:
@@ -44007,26 +44021,26 @@ var DivaWebPlanner = /*#__PURE__*/function () {
44007
44021
  _context26.next = 20;
44008
44022
  break;
44009
44023
  }
44010
- (_this$actions26 = this.actions) === null || _this$actions26 === void 0 || _this$actions26.onEvent({
44024
+ (_this$actions27 = this.actions) === null || _this$actions27 === void 0 || _this$actions27.onEvent({
44011
44025
  type: finalEvent.event
44012
44026
  });
44013
44027
  return _context26.abrupt("return", 'canceled');
44014
44028
  case 20:
44015
44029
  returnTo = finalEvent.event == 'onAddToBasket' ? 'OPEN_PDF' : returnTo;
44016
44030
  case 21:
44017
- (_this$actions27 = this.actions) === null || _this$actions27 === void 0 || (_this$actions27$toggl = _this$actions27.toggleLoading) === null || _this$actions27$toggl === void 0 || _this$actions27$toggl.call(_this$actions27, 'Planner_Saving', false, true);
44031
+ (_this$actions28 = this.actions) === null || _this$actions28 === void 0 || (_this$actions28$toggl = _this$actions28.toggleLoading) === null || _this$actions28$toggl === void 0 || _this$actions28$toggl.call(_this$actions28, 'Planner_Saving', false, true);
44018
44032
  _context26.next = 24;
44019
44033
  return this.saveToBasket(returnTo, finalEvent.event, repairOnly);
44020
44034
  case 24:
44021
44035
  result = _context26.sent;
44022
- (_this$actions28 = this.actions) === null || _this$actions28 === void 0 || (_this$actions28$toggl = _this$actions28.toggleLoading) === null || _this$actions28$toggl === void 0 || _this$actions28$toggl.call(_this$actions28, 'Planner_Saving', false, false);
44036
+ (_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, false);
44023
44037
  if (!(result === 'canceled')) {
44024
44038
  _context26.next = 30;
44025
44039
  break;
44026
44040
  }
44027
44041
  LOG$1.error(new DivaUtils.DivaError('failed to save Basket'));
44028
- (_this$actions29 = this.actions) === null || _this$actions29 === void 0 || _this$actions29.openModal({
44029
- text: ((_this$i18n8 = this.i18n()) === null || _this$i18n8 === void 0 ? void 0 : _this$i18n8.t('modal.general_error')) + ' --- ' + DivaUtils__default["default"].formatDate(new Date(), true, undefined, true) + ' --- ' + DivaUtils__default["default"].getCurrentTraceId() ? ((_this$i18n9 = this.i18n()) === null || _this$i18n9 === void 0 ? void 0 : _this$i18n9.t('modal.errorcode')) + ': ' + DivaUtils__default["default"].getCurrentTraceId() : '',
44042
+ (_this$actions30 = this.actions) === null || _this$actions30 === void 0 || _this$actions30.openModal({
44043
+ text: ((_this$i18n10 = this.i18n()) === null || _this$i18n10 === void 0 ? void 0 : _this$i18n10.t('modal.general_error')) + ' --- ' + DivaUtils__default["default"].formatDate(new Date(), true, undefined, true) + ' --- ' + DivaUtils__default["default"].getCurrentTraceId() ? ((_this$i18n11 = this.i18n()) === null || _this$i18n11 === void 0 ? void 0 : _this$i18n11.t('modal.errorcode')) + ': ' + DivaUtils__default["default"].getCurrentTraceId() : '',
44030
44044
  accept: true
44031
44045
  });
44032
44046
  return _context26.abrupt("return", result);
@@ -44039,14 +44053,14 @@ var DivaWebPlanner = /*#__PURE__*/function () {
44039
44053
  LOG$1.error(new DivaUtils.DivaError('PDF url is missing in basket', {
44040
44054
  code: 'WC_0010'
44041
44055
  }));
44042
- (_this$actions30 = this.actions) === null || _this$actions30 === void 0 || _this$actions30.openModal({
44043
- text: ((_this$i18n10 = this.i18n()) === null || _this$i18n10 === void 0 ? void 0 : _this$i18n10.t('modal.general_error')) + ' --- ' + DivaUtils__default["default"].formatDate(new Date(), true, undefined, true) + ' --- ' + DivaUtils__default["default"].getCurrentTraceId() ? ((_this$i18n11 = this.i18n()) === null || _this$i18n11 === void 0 ? void 0 : _this$i18n11.t('modal.errorcode')) + ': ' + DivaUtils__default["default"].getCurrentTraceId() : '',
44056
+ (_this$actions31 = this.actions) === null || _this$actions31 === void 0 || _this$actions31.openModal({
44057
+ text: ((_this$i18n12 = this.i18n()) === null || _this$i18n12 === void 0 ? void 0 : _this$i18n12.t('modal.general_error')) + ' --- ' + DivaUtils__default["default"].formatDate(new Date(), true, undefined, true) + ' --- ' + DivaUtils__default["default"].getCurrentTraceId() ? ((_this$i18n13 = this.i18n()) === null || _this$i18n13 === void 0 ? void 0 : _this$i18n13.t('modal.errorcode')) + ': ' + DivaUtils__default["default"].getCurrentTraceId() : '',
44044
44058
  accept: true
44045
44059
  });
44046
44060
  } else {
44047
- (_this$actions31 = this.actions) === null || _this$actions31 === void 0 || _this$actions31.openModal({
44048
- text: (_this$i18n12 = this.i18n()) === null || _this$i18n12 === void 0 ? void 0 : _this$i18n12.t(this.divaBasketHandler.actBasket.Status === 'ORDER' ? 'modal.open_order_pdf_now' : 'modal.open_leaflet_pdf_now'),
44049
- accept: (_this$i18n13 = this.i18n()) === null || _this$i18n13 === void 0 ? void 0 : _this$i18n13.t('modals.open_now'),
44061
+ (_this$actions32 = this.actions) === null || _this$actions32 === void 0 || _this$actions32.openModal({
44062
+ 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'),
44063
+ accept: (_this$i18n15 = this.i18n()) === null || _this$i18n15 === void 0 ? void 0 : _this$i18n15.t('modals.open_now'),
44050
44064
  callback: function callback() {
44051
44065
  window.open(_this3.getBasket().PDFDocumentURL, '_blank');
44052
44066
  }
@@ -44054,8 +44068,8 @@ var DivaWebPlanner = /*#__PURE__*/function () {
44054
44068
  }
44055
44069
  return _context26.abrupt("break", 36);
44056
44070
  case 35:
44057
- (_this$actions32 = this.actions) === null || _this$actions32 === void 0 || _this$actions32.openModal({
44058
- text: (_this$i18n14 = this.i18n()) === null || _this$i18n14 === void 0 ? void 0 : _this$i18n14.t('modal.planning_saved'),
44071
+ (_this$actions33 = this.actions) === null || _this$actions33 === void 0 || _this$actions33.openModal({
44072
+ text: (_this$i18n16 = this.i18n()) === null || _this$i18n16 === void 0 ? void 0 : _this$i18n16.t('modal.planning_saved'),
44059
44073
  accept: true
44060
44074
  });
44061
44075
  case 36:
@@ -44082,7 +44096,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
44082
44096
  key: "saveToBasket",
44083
44097
  value: function () {
44084
44098
  var _saveToBasket = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee27(returnTo, event, repairOnly) {
44085
- var _returnTo, _returnTo2, _returnTo3, _this$actions33, _this$actions34, _this$actions35, _this$divaBasketHandl2;
44099
+ var _returnTo, _returnTo2, _returnTo3, _this$actions34, _this$actions35, _this$actions36, _this$divaBasketHandl2;
44086
44100
  var set, actBasket, oldReturnTo, result, newDivaNr, _result2, product;
44087
44101
  return _regeneratorRuntime__default["default"].wrap(function _callee27$(_context27) {
44088
44102
  while (1) switch (_context27.prev = _context27.next) {
@@ -44138,8 +44152,8 @@ var DivaWebPlanner = /*#__PURE__*/function () {
44138
44152
  _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;
44139
44153
  break;
44140
44154
  case 27:
44141
- (_this$actions33 = this.actions) === null || _this$actions33 === void 0 || _this$actions33.toggleLoading('buildScene', false, false);
44142
- (_this$actions34 = this.actions) === null || _this$actions34 === void 0 || _this$actions34.openComponent({
44155
+ (_this$actions34 = this.actions) === null || _this$actions34 === void 0 || _this$actions34.toggleLoading('buildScene', false, false);
44156
+ (_this$actions35 = this.actions) === null || _this$actions35 === void 0 || _this$actions35.openComponent({
44143
44157
  type: 'SELLER',
44144
44158
  parameters: {
44145
44159
  module: 'PCreator',
@@ -44151,7 +44165,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
44151
44165
  });
44152
44166
  return _context27.abrupt("break", 51);
44153
44167
  case 30:
44154
- (_this$actions35 = this.actions) === null || _this$actions35 === void 0 || _this$actions35.openComponent({
44168
+ (_this$actions36 = this.actions) === null || _this$actions36 === void 0 || _this$actions36.openComponent({
44155
44169
  type: 'SELLER',
44156
44170
  parameters: {
44157
44171
  module: 'Basket',
@@ -44505,18 +44519,18 @@ var DivaWebPlanner = /*#__PURE__*/function () {
44505
44519
  key: "addToBasket",
44506
44520
  value: function () {
44507
44521
  var _addToBasket = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee29(actBasket) {
44508
- var _this$actions36,
44509
- _this$actions37,
44522
+ var _this$actions37,
44510
44523
  _this$actions38,
44511
44524
  _this$actions39,
44512
44525
  _this$actions40,
44526
+ _this$actions41,
44513
44527
  _this$divaBasketHandl4,
44514
44528
  _this4 = this,
44515
- _this$actions41,
44516
44529
  _this$actions42,
44517
44530
  _this$actions43,
44518
44531
  _this$actions44,
44519
- _this$actions45;
44532
+ _this$actions45,
44533
+ _this$actions46;
44520
44534
  var event,
44521
44535
  emailConfig,
44522
44536
  _emailConfig$to$split,
@@ -44533,31 +44547,31 @@ var DivaWebPlanner = /*#__PURE__*/function () {
44533
44547
  _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;
44534
44548
  break;
44535
44549
  case 5:
44536
- (_this$actions36 = this.actions) === null || _this$actions36 === void 0 || _this$actions36.onEvent({
44550
+ (_this$actions37 = this.actions) === null || _this$actions37 === void 0 || _this$actions37.onEvent({
44537
44551
  type: 'onWebPlanerPrint',
44538
44552
  data: actBasket.getAsJson()
44539
44553
  });
44540
44554
  return _context29.abrupt("break", 35);
44541
44555
  case 7:
44542
- (_this$actions37 = this.actions) === null || _this$actions37 === void 0 || _this$actions37.onEvent({
44556
+ (_this$actions38 = this.actions) === null || _this$actions38 === void 0 || _this$actions38.onEvent({
44543
44557
  type: 'onWebPlanerSave',
44544
44558
  data: actBasket.getAsJson()
44545
44559
  });
44546
44560
  return _context29.abrupt("break", 35);
44547
44561
  case 9:
44548
- (_this$actions38 = this.actions) === null || _this$actions38 === void 0 || _this$actions38.onEvent({
44562
+ (_this$actions39 = this.actions) === null || _this$actions39 === void 0 || _this$actions39.onEvent({
44549
44563
  type: 'onWebPlanerShare',
44550
44564
  data: actBasket.getAsJson()
44551
44565
  });
44552
44566
  return _context29.abrupt("break", 35);
44553
44567
  case 11:
44554
- (_this$actions39 = this.actions) === null || _this$actions39 === void 0 || _this$actions39.onEvent({
44568
+ (_this$actions40 = this.actions) === null || _this$actions40 === void 0 || _this$actions40.onEvent({
44555
44569
  type: 'onRequestConsulation',
44556
44570
  data: actBasket.getAsJson()
44557
44571
  });
44558
44572
  return _context29.abrupt("break", 35);
44559
44573
  case 13:
44560
- (_this$actions40 = this.actions) === null || _this$actions40 === void 0 || _this$actions40.onEvent({
44574
+ (_this$actions41 = this.actions) === null || _this$actions41 === void 0 || _this$actions41.onEvent({
44561
44575
  type: 'onSave',
44562
44576
  data: actBasket.getAsJson()
44563
44577
  });
@@ -44592,7 +44606,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
44592
44606
  });
44593
44607
  });
44594
44608
  }
44595
- (_this$actions41 = this.actions) === null || _this$actions41 === void 0 || _this$actions41.onEvent({
44609
+ (_this$actions42 = this.actions) === null || _this$actions42 === void 0 || _this$actions42.onEvent({
44596
44610
  type: 'onAddToBasket',
44597
44611
  data: actBasket.getAsJson()
44598
44612
  });
@@ -44603,7 +44617,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
44603
44617
  return this.api.saveAsProduct(this.sets, actBasket);
44604
44618
  case 23:
44605
44619
  products = _context29.sent;
44606
- (_this$actions42 = this.actions) === null || _this$actions42 === void 0 || _this$actions42.onEvent({
44620
+ (_this$actions43 = this.actions) === null || _this$actions43 === void 0 || _this$actions43.onEvent({
44607
44621
  type: 'onAddToBasket',
44608
44622
  data: actBasket.getAsJson()
44609
44623
  });
@@ -44614,20 +44628,20 @@ var DivaWebPlanner = /*#__PURE__*/function () {
44614
44628
  return _context29.abrupt("return", products[0]);
44615
44629
  case 27:
44616
44630
  case 28:
44617
- (_this$actions43 = this.actions) === null || _this$actions43 === void 0 || _this$actions43.onEvent({
44631
+ (_this$actions44 = this.actions) === null || _this$actions44 === void 0 || _this$actions44.onEvent({
44618
44632
  type: 'onAddToBasket',
44619
44633
  data: actBasket.getAsJson()
44620
44634
  });
44621
44635
  return _context29.abrupt("break", 35);
44622
44636
  case 30:
44623
- (_this$actions44 = this.actions) === null || _this$actions44 === void 0 || _this$actions44.onEvent({
44637
+ (_this$actions45 = this.actions) === null || _this$actions45 === void 0 || _this$actions45.onEvent({
44624
44638
  type: 'onAddToBasket',
44625
44639
  data: actBasket.getAsJson()
44626
44640
  });
44627
44641
  this.openContactForm(this.divaBasketHandler);
44628
44642
  return _context29.abrupt("break", 35);
44629
44643
  case 33:
44630
- (_this$actions45 = this.actions) === null || _this$actions45 === void 0 || _this$actions45.onEvent({
44644
+ (_this$actions46 = this.actions) === null || _this$actions46 === void 0 || _this$actions46.onEvent({
44631
44645
  type: event,
44632
44646
  data: actBasket.getAsJson()
44633
44647
  });
@@ -44648,8 +44662,8 @@ var DivaWebPlanner = /*#__PURE__*/function () {
44648
44662
  }, {
44649
44663
  key: "openPDFpostAsEvent",
44650
44664
  value: function openPDFpostAsEvent(mongoDBId) {
44651
- var _this$actions46, _this$actions47, _this$actions48;
44652
- (_this$actions46 = this.actions) === null || _this$actions46 === void 0 || _this$actions46.updateBreadcrumbs({
44665
+ var _this$actions47, _this$actions48, _this$actions49;
44666
+ (_this$actions47 = this.actions) === null || _this$actions47 === void 0 || _this$actions47.updateBreadcrumbs({
44653
44667
  type: 'update',
44654
44668
  param: {
44655
44669
  groupId: 'SHOWROOM',
@@ -44663,7 +44677,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
44663
44677
  }
44664
44678
  }
44665
44679
  });
44666
- (_this$actions47 = this.actions) === null || _this$actions47 === void 0 || _this$actions47.updateBreadcrumbs({
44680
+ (_this$actions48 = this.actions) === null || _this$actions48 === void 0 || _this$actions48.updateBreadcrumbs({
44667
44681
  type: 'update',
44668
44682
  param: {
44669
44683
  groupId: 'SHOWROOM',
@@ -44677,7 +44691,7 @@ var DivaWebPlanner = /*#__PURE__*/function () {
44677
44691
  }
44678
44692
  }
44679
44693
  });
44680
- (_this$actions48 = this.actions) === null || _this$actions48 === void 0 || _this$actions48.openComponent({
44694
+ (_this$actions49 = this.actions) === null || _this$actions49 === void 0 || _this$actions49.openComponent({
44681
44695
  type: 'REPORT',
44682
44696
  parameters: {
44683
44697
  id: mongoDBId
@@ -44902,14 +44916,14 @@ var DivaWebPlanner = /*#__PURE__*/function () {
44902
44916
  }, {
44903
44917
  key: "subscribeToWebPlannerEvents",
44904
44918
  value: function subscribeToWebPlannerEvents() {
44905
- var _this$actions49;
44906
- (_this$actions49 = this.actions) === null || _this$actions49 === void 0 || _this$actions49.subscribeEvents(this.addToBasketEventFunction);
44919
+ var _this$actions50;
44920
+ (_this$actions50 = this.actions) === null || _this$actions50 === void 0 || _this$actions50.subscribeEvents(this.addToBasketEventFunction);
44907
44921
  }
44908
44922
  }, {
44909
44923
  key: "unsubscribeFromWebPlannerEvents",
44910
44924
  value: function unsubscribeFromWebPlannerEvents() {
44911
- var _this$actions50;
44912
- (_this$actions50 = this.actions) === null || _this$actions50 === void 0 || _this$actions50.unSubscribeEvents(this.addToBasketEventFunction);
44925
+ var _this$actions51;
44926
+ (_this$actions51 = this.actions) === null || _this$actions51 === void 0 || _this$actions51.unSubscribeEvents(this.addToBasketEventFunction);
44913
44927
  }
44914
44928
  }, {
44915
44929
  key: "initApiForLogicOnly",