mangdto 1.2.75 → 1.2.78

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.
@@ -132,13 +132,13 @@ class ArtikelAktuell {
132
132
  });
133
133
  });
134
134
  this.produkt.auswahlen.forEach((auswahl) => {
135
- console.log('eine auswahl');
135
+ console.log("eine auswahl");
136
136
  if (auswahl.gewaehlteOption) {
137
- console.log('varianten: ' + auswahl.gewaehlteOption.base.varianten.length);
137
+ console.log("varianten: " + auswahl.gewaehlteOption.base.varianten.length);
138
138
  auswahl.gewaehlteOption.base.varianten.forEach((v) => {
139
- console.log(v.varianteId + ' ' + varianteId);
139
+ console.log(v.varianteId + " " + varianteId);
140
140
  if (v.varianteId == varianteId) {
141
- console.log('ich füge hinzu ' + v.preis);
141
+ console.log("ich füge hinzu " + v.preis);
142
142
  preis += v.preis;
143
143
  return;
144
144
  }
@@ -216,6 +216,7 @@ class Produkt {
216
216
  var _a;
217
217
  var produktAuswahl = ProduktAuswahl.fromBase(element);
218
218
  (_a = result.auswahlen) === null || _a === void 0 ? void 0 : _a.push(produktAuswahl);
219
+ console.log("wie viele optionen übrig:" + produktAuswahl.optionen.length);
219
220
  });
220
221
  (_c = base.subprodukte) === null || _c === void 0 ? void 0 : _c.forEach((element) => {
221
222
  var _a;
@@ -266,6 +267,7 @@ class ProduktAuswahl {
266
267
  const result = new ProduktAuswahl();
267
268
  result.base = base;
268
269
  let defOptionId = base.defaultOptionId;
270
+ console.log("wieviele optionen?: " + base.optionen.length);
269
271
  base.optionen.forEach((element) => {
270
272
  var _a;
271
273
  const pOption = ProduktAuswahlOption.fromBase(element);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mangdto",
3
- "version": "1.2.75",
3
+ "version": "1.2.78",
4
4
  "description": "Die Mangeroo DTO Library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",