@crystaldesign/basket-model 25.13.2-rc.7 → 25.13.2-rc.8

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.
@@ -67,95 +67,93 @@ var GroupsData = /*#__PURE__*/_createClass(function GroupsData(json) {
67
67
  this.Group = new GroupData(json);
68
68
  });
69
69
 
70
- var VariantItemData = /*#__PURE__*/_createClass(function VariantItemData(json) {
71
- _classCallCheck(this, VariantItemData);
72
- _defineProperty(this, "BasketID", void 0);
73
- _defineProperty(this, "OPT", void 0);
74
- // OptionCodex
75
- _defineProperty(this, "OPTName", void 0);
76
- // Name der Option
77
- _defineProperty(this, "MaskOPTName", void 0);
78
- // overwritten name by mask
79
- _defineProperty(this, "OPTName_locales", void 0);
80
- _defineProperty(this, "TabGroup", void 0);
81
- // TabGroup in welches sich die Option befindet
82
- _defineProperty(this, "MaskTabGroup", void 0);
83
- _defineProperty(this, "TabGroup_locales", void 0);
84
- _defineProperty(this, "OPV", void 0);
85
- // OptionValue Codex
86
- _defineProperty(this, "vOPV", void 0);
87
- // Benutzerfreudliche OptionValue Codex (IDM) welcher im Frontend angezeigt werden soll
88
- _defineProperty(this, "OPVName", void 0);
89
- _defineProperty(this, "MaskOPVName", void 0);
90
- _defineProperty(this, "OPVName_locales", void 0);
91
- _defineProperty(this, "OPVImage", void 0);
92
- _defineProperty(this, "OPVHexVal", void 0);
93
- _defineProperty(this, "SinglePrice", void 0);
94
- // Aufpreis / Basepreis der option
95
- _defineProperty(this, "AddPercentage", void 0);
96
- // Prozentueller Aufpreis der Option
97
- _defineProperty(this, "ShowOPVAsArticleNr", void 0);
98
- _defineProperty(this, "SendToSAP", void 0);
99
- _defineProperty(this, "ArticlePlaceholder", void 0);
100
- _defineProperty(this, "HideInOrderText", void 0);
101
- _defineProperty(this, "Hidden", void 0);
102
- _defineProperty(this, "IsDescribingState", void 0);
103
- // If true it means this option does not change the Product but just the state like if an Ombrella is opened or closed
104
- _defineProperty(this, "FreeText", void 0);
105
- _defineProperty(this, "FreeTextLang", void 0);
106
- _defineProperty(this, "MeasureValue", void 0);
107
- _defineProperty(this, "MeasureUnit", void 0);
108
- _defineProperty(this, "isFreeText", void 0);
109
- _defineProperty(this, "isMeasureValue", void 0);
110
- //public OPTEAN?: string = ""; // BARCode der Artikel / deprected
111
- //public OPVEAN?: string = "";
112
- //public FirstTime?: string = "";
113
- _defineProperty(this, "AddPrice", void 0);
114
- _defineProperty(this, "AddPriceFormatted", void 0);
115
- _defineProperty(this, "PriceUnit", void 0);
116
- _defineProperty(this, "PriceID", void 0);
117
- _defineProperty(this, "OCD", void 0);
118
- _defineProperty(this, "OptionOCD", void 0);
119
- this.BasketID = json.BasketID;
120
- this.OPT = json.OPT;
121
- this.OPV = json.OPV;
122
- this.OPTName = json.OPTName;
123
- this.MaskOPTName = json.MaskOPTName;
124
- this.OPTName_locales = json.OPTName_locales;
125
- this.TabGroup = json.TabGroup;
126
- this.MaskTabGroup = json.MaskTabGroup;
127
- this.TabGroup_locales = json.TabGroup_locales;
128
- this.vOPV = json.vOPV;
129
- this.OPVName = json.OPVName;
130
- this.MaskOPVName = json.MaskOPVName;
131
- this.OPVName_locales = json.OPVName_locales;
132
- this.OPVImage = json.OPVImage;
133
- this.OPVHexVal = json.OPVHexVal;
134
- this.FreeText = json.FreeText;
135
- this.SinglePrice = json.SinglePrice;
136
- this.AddPercentage = json.AddPercentage;
137
- this.IsDescribingState = json.IsDescribingState;
138
- this.SendToSAP = json.SendToSAP;
139
- this.ArticlePlaceholder = json.ArticlePlaceholder;
140
- this.HideInOrderText = json.HideInOrderText;
141
- this.Hidden = json.Hidden;
142
- this.ShowOPVAsArticleNr = json.ShowOPVAsArticleNr;
143
- this.AddPrice = json.AddPrice;
144
- if (this.AddPrice) this.AddPriceFormatted = json.AddPriceFormatted;
145
- this.PriceUnit = json.PriceUnit;
146
- this.PriceID = json.PriceID;
147
- this.FreeText = json.FreeText;
148
- this.MeasureValue = json.MeasureValue;
149
- this.MeasureUnit = json.MeasureUnit;
150
- this.isFreeText = json.isFreeText;
151
- this.isMeasureValue = json.isMeasureValue;
152
- this.OCD = json.OCD;
153
- this.OptionOCD = json.OptionOCD;
154
- this.FreeTextLang = json.FreeTextLang;
155
- });
156
- var getStringForHash = function getStringForHash(vd) {
157
- return vd.OPT + '_' + vd.OPV + (vd.MeasureValue !== undefined ? '_' + vd.MeasureValue : '') + (vd.FreeText !== undefined ? '_' + vd.FreeText : '');
158
- };
70
+ var VariantItemData = /*#__PURE__*/function () {
71
+ function VariantItemData(json) {
72
+ _classCallCheck(this, VariantItemData);
73
+ _defineProperty(this, "BasketID", void 0);
74
+ _defineProperty(this, "OPT", void 0);
75
+ // OptionCodex
76
+ _defineProperty(this, "OPTName", void 0);
77
+ // Name der Option
78
+ _defineProperty(this, "OPTName_locales", void 0);
79
+ _defineProperty(this, "TabGroup", void 0);
80
+ // TabGroup in welches sich die Option befindet
81
+ _defineProperty(this, "TabGroup_locales", void 0);
82
+ _defineProperty(this, "OPV", void 0);
83
+ // OptionValue Codex
84
+ _defineProperty(this, "vOPV", void 0);
85
+ // Benutzerfreudliche OptionValue Codex (IDM) welcher im Frontend angezeigt werden soll
86
+ _defineProperty(this, "OPVName", void 0);
87
+ _defineProperty(this, "OPVName_locales", void 0);
88
+ _defineProperty(this, "OPVImage", void 0);
89
+ _defineProperty(this, "OPVHexVal", void 0);
90
+ _defineProperty(this, "SinglePrice", void 0);
91
+ // Aufpreis / Basepreis der option
92
+ _defineProperty(this, "AddPercentage", void 0);
93
+ // Prozentueller Aufpreis der Option
94
+ _defineProperty(this, "ShowOPVAsArticleNr", void 0);
95
+ _defineProperty(this, "SendToSAP", void 0);
96
+ _defineProperty(this, "ArticlePlaceholder", void 0);
97
+ _defineProperty(this, "HideInOrderText", void 0);
98
+ _defineProperty(this, "Hidden", void 0);
99
+ _defineProperty(this, "IsDescribingState", void 0);
100
+ // If true it means this option does not change the Product but just the state like if an Ombrella is opened or closed
101
+ _defineProperty(this, "FreeText", void 0);
102
+ _defineProperty(this, "FreeTextLang", void 0);
103
+ _defineProperty(this, "MeasureValue", void 0);
104
+ _defineProperty(this, "MeasureUnit", void 0);
105
+ _defineProperty(this, "isFreeText", void 0);
106
+ _defineProperty(this, "isMeasureValue", void 0);
107
+ //public OPTEAN?: string = ""; // BARCode der Artikel / deprected
108
+ //public OPVEAN?: string = "";
109
+ //public FirstTime?: string = "";
110
+ _defineProperty(this, "AddPrice", void 0);
111
+ _defineProperty(this, "AddPriceFormatted", void 0);
112
+ _defineProperty(this, "PriceUnit", void 0);
113
+ _defineProperty(this, "PriceID", void 0);
114
+ _defineProperty(this, "OCD", void 0);
115
+ _defineProperty(this, "OptionOCD", void 0);
116
+ this.BasketID = json.BasketID;
117
+ this.OPT = json.OPT;
118
+ this.OPV = json.OPV;
119
+ this.OPTName = json.OPTName;
120
+ this.OPTName_locales = json.OPTName_locales;
121
+ this.TabGroup = json.TabGroup;
122
+ this.TabGroup_locales = json.TabGroup_locales;
123
+ this.vOPV = json.vOPV;
124
+ this.OPVName = json.OPVName;
125
+ this.OPVName_locales = json.OPVName_locales;
126
+ this.OPVImage = json.OPVImage;
127
+ this.OPVHexVal = json.OPVHexVal;
128
+ this.FreeText = json.FreeText;
129
+ this.SinglePrice = json.SinglePrice;
130
+ this.AddPercentage = json.AddPercentage;
131
+ this.IsDescribingState = json.IsDescribingState;
132
+ this.SendToSAP = json.SendToSAP;
133
+ this.ArticlePlaceholder = json.ArticlePlaceholder;
134
+ this.HideInOrderText = json.HideInOrderText;
135
+ this.Hidden = json.Hidden;
136
+ this.ShowOPVAsArticleNr = json.ShowOPVAsArticleNr;
137
+ this.AddPrice = json.AddPrice;
138
+ if (this.AddPrice) this.AddPriceFormatted = json.AddPriceFormatted;
139
+ this.PriceUnit = json.PriceUnit;
140
+ this.PriceID = json.PriceID;
141
+ this.FreeText = json.FreeText;
142
+ this.MeasureValue = json.MeasureValue;
143
+ this.MeasureUnit = json.MeasureUnit;
144
+ this.isFreeText = json.isFreeText;
145
+ this.isMeasureValue = json.isMeasureValue;
146
+ this.OCD = json.OCD;
147
+ this.OptionOCD = json.OptionOCD;
148
+ this.FreeTextLang = json.FreeTextLang;
149
+ }
150
+ return _createClass(VariantItemData, [{
151
+ key: "getStringForHash",
152
+ value: function getStringForHash() {
153
+ return this.OPT + '_' + this.OPV + (this.MeasureValue !== undefined ? '_' + this.MeasureValue : '') + (this.FreeText !== undefined ? '_' + this.FreeText : '');
154
+ }
155
+ }]);
156
+ }();
159
157
 
160
158
  function ownKeys$1(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; }
161
159
  function _objectSpread$1(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -193,7 +191,6 @@ var OrderLineData = /*#__PURE__*/function () {
193
191
  // bei Flache Artikel wird dies manchmal verwendet
194
192
  _defineProperty(this, "ArticleGUID", void 0);
195
193
  _defineProperty(this, "Name", void 0);
196
- _defineProperty(this, "MaskName", void 0);
197
194
  _defineProperty(this, "Name_locales", void 0);
198
195
  _defineProperty(this, "MetaData_locales", void 0);
199
196
  _defineProperty(this, "Size", void 0);
@@ -217,7 +214,6 @@ var OrderLineData = /*#__PURE__*/function () {
217
214
  // Liste der Tabgroups
218
215
  _defineProperty(this, "SendToSAP", void 0);
219
216
  _defineProperty(this, "ArticlePlaceholder", void 0);
220
- _defineProperty(this, "CustomDimensions", void 0);
221
217
  //wird bei Pfister verwendet um später wieder zu erkennen ob man zufällig wieder die selbe SAP Art Nummer (Basiskonfigurat) geplant hat
222
218
  //ist ein eindeutiger Schlüssel zweier gleichen Planung unabhängig der Accounts
223
219
  _defineProperty(this, "ArticleVariantID", void 0);
@@ -282,7 +278,6 @@ var OrderLineData = /*#__PURE__*/function () {
282
278
  this.ArticleEAN = json.ArticleEAN;
283
279
  this.ArticleGUID = json.ArticleGUID;
284
280
  this.Name = json.Name;
285
- this.MaskName = json.MaskName;
286
281
  this.Size = json.Size;
287
282
  this.Width = json.Width;
288
283
  this.Depth = json.Depth;
@@ -293,7 +288,6 @@ var OrderLineData = /*#__PURE__*/function () {
293
288
  this.MetaData_locales = json.MetaData_locales;
294
289
  this.Name_locales = json.Name_locales;
295
290
  this.VariantDesc_locales = json.VariantDesc_locales;
296
- this.CustomDimensions = json.CustomDimensions;
297
291
  this.RuleDesc_locales = json.RuleDesc_locales;
298
292
  this.Quantity = json.Quantity;
299
293
  var vkPrice = json.VKPrice || json.VkPrice;
@@ -408,11 +402,7 @@ var OrderLineData = /*#__PURE__*/function () {
408
402
  if (!this.VariantBasketDatas) this.VariantBasketDatas = [];
409
403
  for (var i = 0; i < this.VariantBasketDatas.length; i++) {
410
404
  var v = this.VariantBasketDatas[i];
411
- if (!v.OPT.endsWith('_val')) {
412
- ret['OPT' + v.OPT] = 'OPV' + v.OPV;
413
- } else {
414
- ret['OPT' + v.OPT] = v.OPV;
415
- }
405
+ ret['OPT' + v.OPT] = 'OPV' + v.OPV;
416
406
  if (v.MeasureValue || v.FreeText) {
417
407
  var _ref;
418
408
  ret['OPT' + v.OPT + '_val'] = (_ref = v.MeasureValue || v.FreeText) === null || _ref === void 0 ? void 0 : _ref.toString();
@@ -432,10 +422,10 @@ var OrderLineData = /*#__PURE__*/function () {
432
422
  return false;
433
423
  }
434
424
 
435
- /**
436
- *
437
- * @param t i18n translation instance
438
- * @returns general Article description
425
+ /**
426
+ *
427
+ * @param t i18n translation instance
428
+ * @returns general Article description
439
429
  */
440
430
  }, {
441
431
  key: "getArticleInfoText",
@@ -483,34 +473,40 @@ var OrderLineData = /*#__PURE__*/function () {
483
473
  !config.hideTotalPrices && this.CalcPrice ? t('basket.priceOverview.table.sum') + ': ' + DivaUtils.formatPrice(this.CalcPrice, priceFormat) + ' \n' : '')
484
474
  );
485
475
  }
476
+ }, {
477
+ key: "getHash",
478
+ value: function getHash() {
479
+ var _this$VariantBasketDa2, _this$VariantBasketDa3;
480
+ return md5(this.CatalogCodex + '_' + this.ArticleCodex + '_' + this.Quantity + '_' + ((_this$VariantBasketDa2 = (_this$VariantBasketDa3 = this.VariantBasketDatas) === null || _this$VariantBasketDa3 === void 0 || (_this$VariantBasketDa3 = _this$VariantBasketDa3.filter(function (v) {
481
+ return !v.IsDescribingState;
482
+ })) === null || _this$VariantBasketDa3 === void 0 ? void 0 : _this$VariantBasketDa3.map(function (v) {
483
+ return v.getStringForHash();
484
+ })) !== null && _this$VariantBasketDa2 !== void 0 ? _this$VariantBasketDa2 : []).join());
485
+ }
486
486
  }, {
487
487
  key: "getTinyVariantConfigurationDatas",
488
488
  value: function getTinyVariantConfigurationDatas() {
489
- var _this$VariantBasketDa2, _this$VariantBasketDa3, _this$VariantBasketDa4, _this$VariantBasketDa5;
490
- return [].concat(_toConsumableArray((_this$VariantBasketDa2 = (_this$VariantBasketDa3 = this.VariantBasketDatas) === null || _this$VariantBasketDa3 === void 0 ? void 0 : _this$VariantBasketDa3.map(function (v) {
489
+ var _this$VariantBasketDa4, _this$VariantBasketDa5, _this$VariantBasketDa6, _this$VariantBasketDa7;
490
+ return [].concat(_toConsumableArray((_this$VariantBasketDa4 = (_this$VariantBasketDa5 = this.VariantBasketDatas) === null || _this$VariantBasketDa5 === void 0 ? void 0 : _this$VariantBasketDa5.map(function (v) {
491
491
  return {
492
492
  OPT: v.OPT,
493
493
  OPV: v.OPV,
494
- OPTName: v.OPTName,
495
- OPVName: v.OPVName,
496
494
  OCD: v.OCD,
497
495
  OptionOCD: v.OptionOCD,
498
496
  IsDescribingState: v.IsDescribingState
499
497
  };
500
- })) !== null && _this$VariantBasketDa2 !== void 0 ? _this$VariantBasketDa2 : []), _toConsumableArray((_this$VariantBasketDa4 = (_this$VariantBasketDa5 = this.VariantBasketDatas) === null || _this$VariantBasketDa5 === void 0 || (_this$VariantBasketDa5 = _this$VariantBasketDa5.filter(function (v) {
498
+ })) !== null && _this$VariantBasketDa4 !== void 0 ? _this$VariantBasketDa4 : []), _toConsumableArray((_this$VariantBasketDa6 = (_this$VariantBasketDa7 = this.VariantBasketDatas) === null || _this$VariantBasketDa7 === void 0 || (_this$VariantBasketDa7 = _this$VariantBasketDa7.filter(function (v) {
501
499
  return v.MeasureValue || v.FreeText;
502
- })) === null || _this$VariantBasketDa5 === void 0 ? void 0 : _this$VariantBasketDa5.map(function (v) {
500
+ })) === null || _this$VariantBasketDa7 === void 0 ? void 0 : _this$VariantBasketDa7.map(function (v) {
503
501
  var _ref2;
504
502
  return {
505
503
  OPT: v.OPT + '_val',
506
504
  OPV: (_ref2 = v.MeasureValue || v.FreeText) === null || _ref2 === void 0 ? void 0 : _ref2.toString(),
507
- OPTName: v.OPTName,
508
- OPVName: v.OPVName,
509
505
  OCD: v.OCD,
510
506
  OptionOCD: v.OptionOCD,
511
507
  IsDescribingState: v.IsDescribingState
512
508
  };
513
- })) !== null && _this$VariantBasketDa4 !== void 0 ? _this$VariantBasketDa4 : []));
509
+ })) !== null && _this$VariantBasketDa6 !== void 0 ? _this$VariantBasketDa6 : []));
514
510
  }
515
511
  }, {
516
512
  key: "getAsJson",
@@ -525,14 +521,6 @@ var OrderLineData = /*#__PURE__*/function () {
525
521
  }
526
522
  }]);
527
523
  }();
528
- var getHash = function getHash(ol) {
529
- var _ol$VariantBasketData, _ol$VariantBasketData2;
530
- return md5(ol.CatalogCodex + '_' + ol.ArticleCodex + '_' + ol.Quantity + '_' + ((_ol$VariantBasketData = (_ol$VariantBasketData2 = ol.VariantBasketDatas) === null || _ol$VariantBasketData2 === void 0 || (_ol$VariantBasketData2 = _ol$VariantBasketData2.filter(function (v) {
531
- return !v.IsDescribingState;
532
- })) === null || _ol$VariantBasketData2 === void 0 ? void 0 : _ol$VariantBasketData2.map(function (v) {
533
- return getStringForHash(v);
534
- })) !== null && _ol$VariantBasketData !== void 0 ? _ol$VariantBasketData : []).join());
535
- };
536
524
 
537
525
  var OrderSetData = /*#__PURE__*/function () {
538
526
  function OrderSetData(json, ZKATNr, SetArticleNr, SetArticleNrPrefix, priceFormat) {
@@ -559,7 +547,6 @@ var OrderSetData = /*#__PURE__*/function () {
559
547
  //= new SetImageData();
560
548
  _defineProperty(this, "Set2DImage", void 0);
561
549
  // 2D bild der Planung
562
- _defineProperty(this, "SerieId", void 0);
563
550
  _defineProperty(this, "SetPrice", void 0);
564
551
  _defineProperty(this, "SetPriceFormatted", void 0);
565
552
  _defineProperty(this, "BruttoSetPrice", void 0);
@@ -605,8 +592,6 @@ var OrderSetData = /*#__PURE__*/function () {
605
592
  // Letzte Versionierung -> kann überprüft werden ob in zwischenzeit das Modell versioniert wurde (neue Version gibt) / wird beim Speichern Clientseitig nicht gefüllt
606
593
  _defineProperty(this, "CatalogValidTo", void 0);
607
594
  // VerfallsDatum / wird beim Speichern Clientseitig nicht gefüllt
608
- _defineProperty(this, "RetailCatalogNr", void 0);
609
- // Programm Nr im CM
610
595
  _defineProperty(this, "ModelCodex", void 0);
611
596
  // Modellvorauswahl ModellCodex
612
597
  _defineProperty(this, "ModelCatalogCodex", void 0);
@@ -645,22 +630,18 @@ var OrderSetData = /*#__PURE__*/function () {
645
630
  _defineProperty(this, "MetaData", void 0);
646
631
  _defineProperty(this, "MetaData_locales", void 0);
647
632
  _defineProperty(this, "AdditionalCatalogPrice", void 0);
648
- _defineProperty(this, "FavoriteAiRoomKeys", void 0);
649
- // New field for multiple favorites
650
633
  //war vohrer auskommentiert, Grund weiß ich nicht mehr. Kann ev. zu Problemen führen
651
634
  //inzukunft sollen diese Inhalte über ein Webservice gezogen werden und per Hash abrufbar sein
652
635
  _defineProperty(this, "SetPlanData", void 0);
653
636
  // 2D Planung
654
637
  _defineProperty(this, "SummaryInfo", []);
655
638
  _defineProperty(this, "BBox", void 0);
656
- _defineProperty(this, "IsIDMFormat", void 0);
657
639
  this.SetID = json.SetID;
658
640
  this.SetName = json.SetName;
659
641
  this.SetName_locales = json.SetName_locales;
660
642
  this.ProductSetName = json.ProductSetName;
661
643
  this.SetImage = json.SetImage;
662
644
  this.HQRenderScript = json.HQRenderScript;
663
- this.IsIDMFormat = json.IsIDMFormat;
664
645
  this.SetImages = json.SetImages; //: SetImageData[] = []; //= new SetImageData();
665
646
  this.SetPrice = json.SetPrice;
666
647
  this.SetPriceFormatted = DivaUtils.formatPrice(this.SetPrice, priceFormat);
@@ -697,7 +678,6 @@ var OrderSetData = /*#__PURE__*/function () {
697
678
  this.CatalogOfflineVersion = json.CatalogOfflineVersion;
698
679
  this.CatalogOfflineFilesLastUpdate = json.CatalogOfflineFilesLastUpdate;
699
680
  this.CatalogGUID = json.CatalogGUID;
700
- this.RetailCatalogNr = json.RetailCatalogNr;
701
681
  this.EkSetPrice = json.EkSetPrice;
702
682
  this.EkCurrency = json.EkCurrency;
703
683
  this.BruttoSetPrice = json.BruttoSetPrice;
@@ -719,7 +699,6 @@ var OrderSetData = /*#__PURE__*/function () {
719
699
  this.SupplierGUID = json.SupplierGUID;
720
700
  this.SupplierILN = json.SupplierILN;
721
701
  this.SupplierCatalogName = json.SupplierCatalogName;
722
- this.SerieId = json.SerieId;
723
702
  this.SetPlanData = json.SetPlanData;
724
703
  this.PlannerWarnings = json.PlannerWarnings;
725
704
  this.Weight = json.Weight;
@@ -727,7 +706,6 @@ var OrderSetData = /*#__PURE__*/function () {
727
706
  this.Volume = json.Volume;
728
707
  this.VolumeUnit = json.VolumeUnit;
729
708
  this.AdditionalCatalogPrice = json.AdditionalCatalogPrice;
730
- this.FavoriteAiRoomKeys = json.FavoriteAiRoomKeys;
731
709
  if (json.OrderLines) {
732
710
  for (var i = 0; i < json.OrderLines.length; i++) {
733
711
  this.OrderLines[i] = new OrderLineData(json.OrderLines[i], priceFormat);
@@ -776,8 +754,8 @@ var OrderSetData = /*#__PURE__*/function () {
776
754
  this.SetPlanData = DivaUtils.encodeBase64(setPlanData);
777
755
  }
778
756
 
779
- /**
780
- * get the docking point infos of all orderlines of the set
757
+ /**
758
+ * get the docking point infos of all orderlines of the set
781
759
  */
782
760
  }, {
783
761
  key: "getDockingPointInfo",
@@ -820,14 +798,10 @@ var mCaption = 'M';
820
798
  var artikelCaption = 'Artikel';
821
799
  var preisCaption = 'Preis';
822
800
  var newLine = '\r\n';
823
- var _generateEKTextOfBasket = (function (basket, withoutPrices, customDivaNr) {
801
+ var _generateEKTextOfBasket = (function (basket, withoutPrices) {
824
802
  var _basket$OrderSets;
825
803
  var ekTextHead = '';
826
- var divaNrtext = basket.DocumentVersion > 0 ? "".concat(basket.DivaNr, "-").concat(basket.DocumentVersion) : basket.DivaNr;
827
- if (customDivaNr) {
828
- divaNrtext = customDivaNr;
829
- }
830
- ekTextHead = writeText(ekTextHead, divaNrtext);
804
+ ekTextHead = writeText(ekTextHead, basket.DivaNr + '-' + basket.DocumentVersion);
831
805
  var sbSetOrderText = ekTextHead;
832
806
  var preisLength = 9;
833
807
  if (withoutPrices) {
@@ -841,13 +815,13 @@ var _generateEKTextOfBasket = (function (basket, withoutPrices, customDivaNr) {
841
815
  return sol.OrderText = '';
842
816
  });
843
817
  var _loop = function _loop() {
844
- var _os$BBox, _os$CatalogName, _basket$getSAPOrderLi;
818
+ var _os$BBox, _basket$getSAPOrderLi;
845
819
  var setText = '';
846
820
  var os = basket.OrderSets[i];
847
821
  if ((_os$BBox = os.BBox) !== null && _os$BBox !== void 0 && _os$BBox.Info) {
848
822
  setText = writeText(setText, os.BBox.Info);
849
823
  }
850
- setText = writeText(setText, 'Modell: ' + DivaUtils.stripTags((_os$CatalogName = os.CatalogName) !== null && _os$CatalogName !== void 0 ? _os$CatalogName : ''));
824
+ setText = writeText(setText, 'Modell: ' + os.CatalogName);
851
825
  ols = os.OrderLines;
852
826
  if (!ols || ols.length == 0) return 1; // continue
853
827
 
@@ -923,9 +897,9 @@ var addingSapOrderLinesToEkText = function addingSapOrderLinesToEkText(saporderL
923
897
  //https://app.asana.com/0/686949732692179/692909200657046
924
898
  var setText = '';
925
899
  var _loop3 = function _loop3() {
926
- var _sapOrderline$Name, _sapOrderline$UseSAPA, _orderLine$ConfigArti;
900
+ var _sapOrderline$UseSAPA, _orderLine$ConfigArti;
927
901
  var sapOrderline = saporderLines[i];
928
- var lines = getLines(artikelLength, artikelLength2Row, DivaUtils.stripTags((_sapOrderline$Name = sapOrderline.Name) !== null && _sapOrderline$Name !== void 0 ? _sapOrderline$Name : ''));
902
+ var lines = getLines(artikelLength, artikelLength2Row, sapOrderline.Name);
929
903
  var orderLine = ols.find(function (ol) {
930
904
  return ol.RetailArticleNr === sapOrderline.ArticleNr;
931
905
  });
@@ -958,17 +932,15 @@ var processPartListOrderLines = function processPartListOrderLines(basket, ols,
958
932
  return sol.ArticleNrPrefix === 'ZKAT' && orderLine.RetailArticleNr == sol.ArticleNr;
959
933
  })) && orderLine.IsPartlistArticle;
960
934
  }).reduce(function (group, ol) {
961
- var _ol$Name, _ol$VariantBasketData, _group$category;
962
- var category = DivaUtils.stripTags((_ol$Name = ol.Name) !== null && _ol$Name !== void 0 ? _ol$Name : '') + '|' + ol.TypeNr + '|' + ol.SetID + '|' + ol.ArticleCodex + '|' + ((_ol$VariantBasketData = ol.VariantBasketDatas) === null || _ol$VariantBasketData === void 0 ? void 0 : _ol$VariantBasketData.map(function (v) {
963
- return v.OPT + v.OPV;
964
- }).join(';'));
935
+ var _group$category;
936
+ var category = ol.Name + '|' + ol.TypeNr + '|' + ol.SetID + '|' + ol.ArticleCodex;
965
937
  group[category] = (_group$category = group[category]) !== null && _group$category !== void 0 ? _group$category : [];
966
938
  group[category].push(ol);
967
939
  return group;
968
940
  }, {});
969
941
  var retval = '';
970
942
  var _loop4 = function _loop4() {
971
- var _basket$getSAPOrderLi3, _basket$getSAPOrderLi4, _basket$getSAPOrderLi5, _orderLine$Name, _orderLine$ConfigArti2;
943
+ var _basket$getSAPOrderLi3, _basket$getSAPOrderLi4, _basket$getSAPOrderLi5, _orderLine$ConfigArti2;
972
944
  var groupedOl = groupedOls[key];
973
945
  var orderLine = groupedOl[0];
974
946
  var sol = (_basket$getSAPOrderLi3 = (_basket$getSAPOrderLi4 = basket.getSAPOrderLines()) === null || _basket$getSAPOrderLi4 === void 0 ? void 0 : _basket$getSAPOrderLi4.find(function (sol) {
@@ -981,7 +953,7 @@ var processPartListOrderLines = function processPartListOrderLines(basket, ols,
981
953
  }, 0).toString();
982
954
  setOrderText += appendToTheRight(mLength, quantity);
983
955
  }
984
- var lines = getLines(artikelLength, newArtikelLength2Row, DivaUtils.stripTags((_orderLine$Name = orderLine.Name) !== null && _orderLine$Name !== void 0 ? _orderLine$Name : ''));
956
+ var lines = getLines(artikelLength, newArtikelLength2Row, orderLine.Name);
985
957
  var articleNumber = (_orderLine$ConfigArti2 = orderLine.ConfigArticleCodex) !== null && _orderLine$ConfigArti2 !== void 0 ? _orderLine$ConfigArti2 : orderLine.ArticleCodex;
986
958
 
987
959
  //Anforderung von Polypol auch die Typennummer anzugeben
@@ -1034,8 +1006,8 @@ var processNonPartlistOrderlines = function processNonPartlistOrderlines(basket,
1034
1006
  return sol.ArticleNrPrefix === 'ZKAT' && orderLine.RetailArticleNr === sol.ArticleNr;
1035
1007
  });
1036
1008
  if (sol) {
1037
- var _orderLine$Name2, _orderLine$ConfigArti3, _orderLine$VariantBas, _orderLine$VariantBas2, _orderLine$ConfigPric;
1038
- var lines = getLines(artikelLength, artikelLength2Row, DivaUtils.stripTags((_orderLine$Name2 = orderLine.Name) !== null && _orderLine$Name2 !== void 0 ? _orderLine$Name2 : ''));
1009
+ var _orderLine$ConfigArti3, _orderLine$VariantBas, _orderLine$VariantBas2, _orderLine$ConfigPric;
1010
+ var lines = getLines(artikelLength, artikelLength2Row, orderLine.Name);
1039
1011
  var articleNumber = (_orderLine$ConfigArti3 = orderLine.ConfigArticleCodex) !== null && _orderLine$ConfigArti3 !== void 0 ? _orderLine$ConfigArti3 : orderLine.ArticleCodex;
1040
1012
 
1041
1013
  //Anforderung von Polypol auch die Typennummer anzugeben
@@ -1068,11 +1040,11 @@ var processNonPartlistOrderlines = function processNonPartlistOrderlines(basket,
1068
1040
  }
1069
1041
 
1070
1042
  /* Activate when base prices and additional prices should be displayed. */
1071
- /*if (orderLine.ConfigPriceDatas?.BasePrice && !withoutPrices) {
1072
- sapOrderLineText += appendToTheRight(mLength + 1, ' ');
1073
- sapOrderLineText += appendToTheRight(artikelLength, 'Basispreis');
1074
- sapOrderLineText += appendToTheLeft(preisLength - 6, formatPrice(orderLine.ConfigPriceDatas?.BasePrice.toString() ?? '0'));
1075
- sapOrderLineText += newLine + newLine;
1043
+ /*if (orderLine.ConfigPriceDatas?.BasePrice && !withoutPrices) {
1044
+ sapOrderLineText += appendToTheRight(mLength + 1, ' ');
1045
+ sapOrderLineText += appendToTheRight(artikelLength, 'Basispreis');
1046
+ sapOrderLineText += appendToTheLeft(preisLength - 6, formatPrice(orderLine.ConfigPriceDatas?.BasePrice.toString() ?? '0'));
1047
+ sapOrderLineText += newLine + newLine;
1076
1048
  }*/
1077
1049
  /* -------------------------------------------------------------------- */
1078
1050
 
@@ -1195,16 +1167,16 @@ var getLines = function getLines(maxLengthColumn1Row, maxLengthColumn2Row, value
1195
1167
  lines.push(line);
1196
1168
  return lines;
1197
1169
  };
1198
- var addVariants = function addVariants(articleLength, orderLine, articleLength2Row, startPositionArticle2Row) {
1199
- var _orderLine$VariantBas3, _orderLine$VariantBas4;
1170
+ var addVariants = function addVariants(articleLength, orderLine, articleLength2Row, startPositionArticle2Row, preisLength) {
1171
+ var _orderLine$ConfigPric2, _orderLine$VariantBas3, _orderLine$VariantBas4;
1172
+ (_orderLine$ConfigPric2 = orderLine.ConfigPriceDatas) === null || _orderLine$ConfigPric2 === void 0 ? void 0 : _orderLine$ConfigPric2.AdditionalPrices;
1200
1173
  var variantDatas = (_orderLine$VariantBas3 = (_orderLine$VariantBas4 = orderLine.VariantBasketDatas) === null || _orderLine$VariantBas4 === void 0 ? void 0 : _orderLine$VariantBas4.filter(function (vd) {
1201
1174
  return !vd.Hidden && (!vd.SendToSAP || !vd.ArticlePlaceholder) && vd.BasketID == orderLine.BasketID;
1202
1175
  })) !== null && _orderLine$VariantBas3 !== void 0 ? _orderLine$VariantBas3 : [];
1203
1176
  var variantDataText = '';
1204
1177
  for (var i = 0; i < variantDatas.length; i++) {
1205
- var _vb$OPTName, _vb$OPVName;
1206
1178
  var vb = variantDatas[i];
1207
- var remark = DivaUtils.stripTags((_vb$OPTName = vb.OPTName) !== null && _vb$OPTName !== void 0 ? _vb$OPTName : '') + ': ' + DivaUtils.stripTags((_vb$OPVName = vb.OPVName) !== null && _vb$OPVName !== void 0 ? _vb$OPVName : '');
1179
+ var remark = vb.OPTName + ': ' + vb.OPVName;
1208
1180
  if (vb.vOPV) remark += ' (' + vb.vOPV + ')';
1209
1181
 
1210
1182
  /* Activate when base prices and additional prices should be displayed. */
@@ -1220,12 +1192,12 @@ var addVariants = function addVariants(articleLength, orderLine, articleLength2R
1220
1192
  variantDataText += writeOtherLines(vbLines, startPositionArticle2Row /*additionalPrice ? true : false*/);
1221
1193
 
1222
1194
  /* Activate when base prices and additional prices should be displayed. */
1223
- /*if (additionalPrice && false) {
1224
- variantDataText += appendToTheLeft(
1225
- preisLength + (artikelLength - vbLines[vbLines.length - 1].length) - 5,
1226
- formatPrice(additionalPrice?.Price.toString() ?? '0'),
1227
- );
1228
- variantDataText += newLine;
1195
+ /*if (additionalPrice && false) {
1196
+ variantDataText += appendToTheLeft(
1197
+ preisLength + (artikelLength - vbLines[vbLines.length - 1].length) - 5,
1198
+ formatPrice(additionalPrice?.Price.toString() ?? '0'),
1199
+ );
1200
+ variantDataText += newLine;
1229
1201
  }*/
1230
1202
  }
1231
1203
  return variantDataText;
@@ -1267,9 +1239,6 @@ var BasketData = /*#__PURE__*/function () {
1267
1239
  _defineProperty(this, "Servername", void 0);
1268
1240
  _defineProperty(this, "CreationDate", void 0);
1269
1241
  _defineProperty(this, "SendIWOBasket", false);
1270
- _defineProperty(this, "MatchingProductId", void 0);
1271
- _defineProperty(this, "MatchingProductRetailerArticleNr", void 0);
1272
- _defineProperty(this, "RetailArticleNr", void 0);
1273
1242
  _defineProperty(this, "ProductSetName", void 0);
1274
1243
  _defineProperty(this, "ReportConfigIdentifier", void 0);
1275
1244
  _defineProperty(this, "OrganizationId", void 0);
@@ -1351,7 +1320,6 @@ var BasketData = /*#__PURE__*/function () {
1351
1320
  _defineProperty(this, "_discounts", []);
1352
1321
  _defineProperty(this, "AdditionalPrices", []);
1353
1322
  _defineProperty(this, "OrderStatus", void 0);
1354
- _defineProperty(this, "OriginBaseUrl", void 0);
1355
1323
  //Readonly finished
1356
1324
  _defineProperty(this, "UseFavoritesAsVariants", false);
1357
1325
  // Wird benötigt beim Laden einer Mutter DivaNr mit Varianten
@@ -1362,7 +1330,6 @@ var BasketData = /*#__PURE__*/function () {
1362
1330
  // Enthält URL zum gerenderten Bild.
1363
1331
  _defineProperty(this, "PDFDocumentURL", void 0);
1364
1332
  // Link zu PDF für IWOFurn. Wird ServerSeitig beim BasketToIwoFurnConverter gesetzt
1365
- _defineProperty(this, "ReturnTo", void 0);
1366
1333
  _defineProperty(this, "pdfs", void 0);
1367
1334
  _defineProperty(this, "PDFContent", void 0);
1368
1335
  // HTML für das Serverseitige PDF erstellen
@@ -1408,9 +1375,6 @@ var BasketData = /*#__PURE__*/function () {
1408
1375
  this.ApplicationEnvironment = json.ApplicationEnvironment;
1409
1376
  this.catalogStatus = json.catalogStatus;
1410
1377
  this.SendIWOBasket = json.SendIWOBasket;
1411
- this.RetailArticleNr = json.RetailArticleNr;
1412
- this.MatchingProductId = json.MatchingProductId;
1413
- this.MatchingProductRetailerArticleNr = json.MatchingProductRetailerArticleNr;
1414
1378
  this.ConverterStatus3D = json.ConverterStatus3D;
1415
1379
  this.ConverterFormat3D = json.ConverterFormat3D;
1416
1380
  this.ProductSetName = json.ProductSetName;
@@ -1438,7 +1402,6 @@ var BasketData = /*#__PURE__*/function () {
1438
1402
  this.ReportConfigIdentifier = json.ReportConfigIdentifier;
1439
1403
  this.ClientLanguage = json.ClientLanguage;
1440
1404
  this.ClientRemark = json.ClientRemark;
1441
- this.ReturnTo = json.ReturnTo;
1442
1405
  this.DocumentVersion = Number(json.DocumentVersion);
1443
1406
  this.UniqueID = json.UniqueID;
1444
1407
  this.Status = json.Status;
@@ -1511,7 +1474,6 @@ var BasketData = /*#__PURE__*/function () {
1511
1474
  //this.PriceInfo = priceInfo;
1512
1475
  this.PrintOptions = json.PrintOptions;
1513
1476
  this.OrderStatus = json.OrderStatus;
1514
- this.OriginBaseUrl = json.OriginBaseUrl;
1515
1477
  }
1516
1478
  return _createClass(BasketData, [{
1517
1479
  key: "OrigZKATNr",
@@ -1593,15 +1555,6 @@ var BasketData = /*#__PURE__*/function () {
1593
1555
  return price + addPrice.Price;
1594
1556
  }, 0)) !== null && _this$AdditionalCatal3 !== void 0 ? _this$AdditionalCatal3 : 0);
1595
1557
  }
1596
-
1597
- // calculated from all the Sets
1598
- }, {
1599
- key: "EkPrice",
1600
- get: function get() {
1601
- return this.OrderSets.reduce(function (price, set) {
1602
- return price + set.EkSetPrice;
1603
- }, 0);
1604
- }
1605
1558
  }, {
1606
1559
  key: "AdditionalCatalogPrice",
1607
1560
  get: function get() {
@@ -1707,7 +1660,6 @@ var BasketData = /*#__PURE__*/function () {
1707
1660
  this.UniqueID = date.getTime().toString();
1708
1661
  this.PDFDocumentURL = undefined;
1709
1662
  this.PriceFormat = DivaUtils.defaultPriceFormat;
1710
- this.OriginBaseUrl = window.location.origin + window.location.pathname;
1711
1663
  }
1712
1664
  }, {
1713
1665
  key: "clearBasketClientData",
@@ -1966,23 +1918,21 @@ var BasketData = /*#__PURE__*/function () {
1966
1918
  }, {
1967
1919
  key: "getReportConfig",
1968
1920
  value: function getReportConfig() {
1969
- var _this$PrintOptions, _this$PrintOptions2, _this$PrintOptions3, _this$PrintOptions4, _this$PrintOptions5, _this$PrintOptions6, _this$PrintOptions7, _this$PrintOptions8, _this$PrintOptions9, _this$PrintOptions10, _this$PrintOptions11, _this$PrintOptions12, _this$PrintOptions13, _this$PrintOptions14, _this$PrintOptions15;
1921
+ var _this$PrintOptions, _this$PrintOptions2, _this$PrintOptions3, _this$PrintOptions4, _this$PrintOptions5, _this$PrintOptions6, _this$PrintOptions7, _this$PrintOptions8, _this$PrintOptions9, _this$PrintOptions10, _this$PrintOptions11, _this$PrintOptions12, _this$PrintOptions13;
1970
1922
  return {
1971
1923
  printWithGDPR: !!((_this$PrintOptions = this.PrintOptions) !== null && _this$PrintOptions !== void 0 && _this$PrintOptions.Gdpr),
1972
1924
  printWithPlanningSketch: !!((_this$PrintOptions2 = this.PrintOptions) !== null && _this$PrintOptions2 !== void 0 && _this$PrintOptions2.PlanningSketch),
1973
1925
  printWithRemark: !!((_this$PrintOptions3 = this.PrintOptions) !== null && _this$PrintOptions3 !== void 0 && _this$PrintOptions3.Remark),
1974
1926
  printWithPrices: !!((_this$PrintOptions4 = this.PrintOptions) !== null && _this$PrintOptions4 !== void 0 && _this$PrintOptions4.Prices),
1975
- printWithArQrCode: !!((_this$PrintOptions5 = this.PrintOptions) !== null && _this$PrintOptions5 !== void 0 && _this$PrintOptions5.arQrCode),
1976
- printWithAllPrices: !!((_this$PrintOptions6 = this.PrintOptions) !== null && _this$PrintOptions6 !== void 0 && _this$PrintOptions6.AllPrices),
1977
- printWithOpvCodices: !!((_this$PrintOptions7 = this.PrintOptions) !== null && _this$PrintOptions7 !== void 0 && _this$PrintOptions7.OpvCodices),
1978
- printWithModelName: !!((_this$PrintOptions8 = this.PrintOptions) !== null && _this$PrintOptions8 !== void 0 && _this$PrintOptions8.ModelName),
1979
- printWithCollectionLogo: !!((_this$PrintOptions9 = this.PrintOptions) !== null && _this$PrintOptions9 !== void 0 && _this$PrintOptions9.CollectionLogo),
1980
- printWithDivaLogo: !!((_this$PrintOptions10 = this.PrintOptions) !== null && _this$PrintOptions10 !== void 0 && _this$PrintOptions10.DivaLogo),
1981
- printWithSignature: !!((_this$PrintOptions11 = this.PrintOptions) !== null && _this$PrintOptions11 !== void 0 && _this$PrintOptions11.Signature),
1982
- printWithClientpersonData: !!((_this$PrintOptions12 = this.PrintOptions) !== null && _this$PrintOptions12 !== void 0 && _this$PrintOptions12.ClientpersonData),
1983
- printWithSalespersonData: !!((_this$PrintOptions13 = this.PrintOptions) !== null && _this$PrintOptions13 !== void 0 && _this$PrintOptions13.SalespersonData),
1984
- printWithPartlist: !!((_this$PrintOptions14 = this.PrintOptions) !== null && _this$PrintOptions14 !== void 0 && _this$PrintOptions14.Partlist),
1985
- printWithDate: !!((_this$PrintOptions15 = this.PrintOptions) !== null && _this$PrintOptions15 !== void 0 && _this$PrintOptions15.PrintDate)
1927
+ printWithAllPrices: !!((_this$PrintOptions5 = this.PrintOptions) !== null && _this$PrintOptions5 !== void 0 && _this$PrintOptions5.AllPrices),
1928
+ printWithModelName: !!((_this$PrintOptions6 = this.PrintOptions) !== null && _this$PrintOptions6 !== void 0 && _this$PrintOptions6.ModelName),
1929
+ printWithCollectionLogo: !!((_this$PrintOptions7 = this.PrintOptions) !== null && _this$PrintOptions7 !== void 0 && _this$PrintOptions7.CollectionLogo),
1930
+ printWithDivaLogo: !!((_this$PrintOptions8 = this.PrintOptions) !== null && _this$PrintOptions8 !== void 0 && _this$PrintOptions8.DivaLogo),
1931
+ printWithSignature: !!((_this$PrintOptions9 = this.PrintOptions) !== null && _this$PrintOptions9 !== void 0 && _this$PrintOptions9.Signature),
1932
+ printWithClientpersonData: !!((_this$PrintOptions10 = this.PrintOptions) !== null && _this$PrintOptions10 !== void 0 && _this$PrintOptions10.ClientpersonData),
1933
+ printWithSalespersonData: !!((_this$PrintOptions11 = this.PrintOptions) !== null && _this$PrintOptions11 !== void 0 && _this$PrintOptions11.SalespersonData),
1934
+ printWithPartlist: !!((_this$PrintOptions12 = this.PrintOptions) !== null && _this$PrintOptions12 !== void 0 && _this$PrintOptions12.Partlist),
1935
+ printWithDate: !!((_this$PrintOptions13 = this.PrintOptions) !== null && _this$PrintOptions13 !== void 0 && _this$PrintOptions13.PrintDate)
1986
1936
  };
1987
1937
  }
1988
1938
  }, {
@@ -2002,13 +1952,13 @@ var BasketData = /*#__PURE__*/function () {
2002
1952
  }
2003
1953
  }, {
2004
1954
  key: "generateEKTextOfBasket",
2005
- value: function generateEKTextOfBasket(withoutPrices, customDivaNr) {
1955
+ value: function generateEKTextOfBasket(withoutPrices) {
2006
1956
  return _generateEKTextOfBasket(this, withoutPrices);
2007
1957
  }
2008
1958
  }, {
2009
1959
  key: "getEKText",
2010
- value: function getEKText(withoutPrices, customDivaNr) {
2011
- return _generateEKTextOfBasket(this, withoutPrices, customDivaNr).OrderSets[0].SetOrderText;
1960
+ value: function getEKText(withoutPrices) {
1961
+ return _generateEKTextOfBasket(this, withoutPrices).OrderSets[0].SetOrderText;
2012
1962
  }
2013
1963
  }, {
2014
1964
  key: "getProductConfiguration",
@@ -2019,7 +1969,6 @@ var BasketData = /*#__PURE__*/function () {
2019
1969
  DivaNr: this.DivaNr,
2020
1970
  VariantID: variantId,
2021
1971
  OrderSets: this.OrderSets.map(function (set) {
2022
- var _set$Favorites$Varian, _set$Favorites;
2023
1972
  return {
2024
1973
  AccountGUID: set.AccountGUID,
2025
1974
  CatalogCodex: set.CatalogCodex,
@@ -2031,7 +1980,7 @@ var BasketData = /*#__PURE__*/function () {
2031
1980
  SetPlanData: set.SetPlanData,
2032
1981
  SupplierGUID: set.SupplierGUID,
2033
1982
  Favorites: {
2034
- VariantValues: (_set$Favorites$Varian = (_set$Favorites = set.Favorites) === null || _set$Favorites === void 0 ? void 0 : _set$Favorites.VariantValues) !== null && _set$Favorites$Varian !== void 0 ? _set$Favorites$Varian : undefined
1983
+ VariantValues: set.Favorites.VariantValues
2035
1984
  },
2036
1985
  HQRenderScript: set.HQRenderScript,
2037
1986
  Diva3DProject: _this2.Diva3DProject,
@@ -2050,7 +1999,7 @@ var BasketData = /*#__PURE__*/function () {
2050
1999
  NoPrice: ol.NoPrice ? true : undefined,
2051
2000
  RelatedToBasketID: ol.RelatedToBasketID,
2052
2001
  ShelfPlandata: ol.ShelfPlandata,
2053
- ArticleHash: getHash(ol),
2002
+ ArticleHash: ol.getHash(),
2054
2003
  VariantBasketDatas: ol.getTinyVariantConfigurationDatas()
2055
2004
  };
2056
2005
  })
@@ -2096,7 +2045,6 @@ var BasketData = /*#__PURE__*/function () {
2096
2045
  olVariant.OPV = variant.OPV;
2097
2046
  }
2098
2047
  });
2099
- variantOrderline.ArticleHash = getHash(variantOrderline);
2100
2048
  });
2101
2049
  }
2102
2050
  return productConfiguration;
@@ -2241,7 +2189,7 @@ function PriceObjectData(Price, FormatedPrice, CalcPrice, PriceType, Currency, P
2241
2189
  });
2242
2190
 
2243
2191
  var SAPOrderLineData = /*#__PURE__*/function () {
2244
- function SAPOrderLineData(SetID, ArticleNr, ArticleNrPrefix, Name, PosNr, Price, Quantity, UseSAPArticleNumberInEKText, basketIds) {
2192
+ function SAPOrderLineData(SetID, ArticleNr, ArticleNrPrefix, Name, PosNr, Price, Quantity, UseSAPArticleNumberInEKText) {
2245
2193
  _classCallCheck(this, SAPOrderLineData);
2246
2194
  _defineProperty(this, "SetID", '');
2247
2195
  _defineProperty(this, "ArticleNr", void 0);
@@ -2254,7 +2202,6 @@ var SAPOrderLineData = /*#__PURE__*/function () {
2254
2202
  _defineProperty(this, "OrderText", void 0);
2255
2203
  _defineProperty(this, "Quantity", void 0);
2256
2204
  _defineProperty(this, "UseSAPArticleNumberInEKText", void 0);
2257
- _defineProperty(this, "basketIds", void 0);
2258
2205
  this.SetID = SetID;
2259
2206
  this.ArticleNr = ArticleNr;
2260
2207
  this.ArticleNrPrefix = ArticleNrPrefix;
@@ -2263,7 +2210,6 @@ var SAPOrderLineData = /*#__PURE__*/function () {
2263
2210
  this.Price = Price;
2264
2211
  this.Quantity = Quantity;
2265
2212
  this.UseSAPArticleNumberInEKText = UseSAPArticleNumberInEKText;
2266
- this.basketIds = basketIds;
2267
2213
  }
2268
2214
  return _createClass(SAPOrderLineData, [{
2269
2215
  key: "addQuantity",