@sbb-esta/lyne-elements-experimental 4.0.2 → 4.0.3

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 (46) hide show
  1. package/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.d.ts.map +1 -1
  2. package/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.js +15 -16
  3. package/core/datetime/date-helper.js +3 -3
  4. package/custom-elements.json +43 -3
  5. package/development/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.d.ts.map +1 -1
  6. package/development/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.js +17 -19
  7. package/development/core/datetime/date-helper.js +3 -3
  8. package/development/{differenceInMinutes-D5Nj8Stc.js → differenceInMinutes-B0dawX-5.js} +2 -2
  9. package/development/{format-BQfaa1ZT.js → format-BMkeaqaF.js} +3 -3
  10. package/development/{isValid-DvieCZVi.js → isValid-BYRch7pV.js} +2 -2
  11. package/development/journey-summary/journey-summary.component.js +2 -2
  12. package/development/pearl-chain/pearl-chain.component.js +2 -2
  13. package/development/pearl-chain-time/pearl-chain-time.component.js +1 -1
  14. package/development/seat-reservation/common/mapper/mapper.d.ts +2 -2
  15. package/development/seat-reservation/common/mapper/mapper.d.ts.map +1 -1
  16. package/development/seat-reservation/common/mapper/mapper.js +19 -6
  17. package/development/seat-reservation/common/mapper/seat-reservation-sample-data.d.ts +122 -0
  18. package/development/seat-reservation/common/mapper/seat-reservation-sample-data.d.ts.map +1 -1
  19. package/development/seat-reservation/common/mapper/seat-reservation-sample-data.js +970 -1
  20. package/development/seat-reservation/seat-reservation/seat-reservation-base-element.d.ts.map +1 -1
  21. package/development/seat-reservation/seat-reservation/seat-reservation-base-element.js +3 -1
  22. package/development/seat-reservation/seat-reservation/seat-reservation.component.d.ts.map +1 -1
  23. package/development/seat-reservation/seat-reservation/seat-reservation.component.js +26 -24
  24. package/development/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js +2 -2
  25. package/development/timetable-row/timetable-row.component.js +1 -1
  26. package/development/{toDate-D_Vjps95.js → toDate-BWb6Z1JD.js} +2 -2
  27. package/{differenceInMinutes-CP_C5onR.js → differenceInMinutes-COvvdYsJ.js} +1 -1
  28. package/{format-lqeCzmzS.js → format-CmKROkbc.js} +2 -41
  29. package/{isValid-Ceq2O0NQ.js → isValid-m3_OsPaB.js} +1 -1
  30. package/journey-summary/journey-summary.component.js +2 -2
  31. package/package.json +2 -2
  32. package/pearl-chain/pearl-chain.component.js +2 -2
  33. package/pearl-chain-time/pearl-chain-time.component.js +1 -1
  34. package/seat-reservation/common/mapper/mapper.d.ts +2 -2
  35. package/seat-reservation/common/mapper/mapper.d.ts.map +1 -1
  36. package/seat-reservation/common/mapper/mapper.js +41 -38
  37. package/seat-reservation/common/mapper/seat-reservation-sample-data.d.ts +122 -0
  38. package/seat-reservation/common/mapper/seat-reservation-sample-data.d.ts.map +1 -1
  39. package/seat-reservation/common/mapper/seat-reservation-sample-data.js +968 -1
  40. package/seat-reservation/seat-reservation/seat-reservation-base-element.d.ts.map +1 -1
  41. package/seat-reservation/seat-reservation/seat-reservation-base-element.js +130 -130
  42. package/seat-reservation/seat-reservation/seat-reservation.component.d.ts.map +1 -1
  43. package/seat-reservation/seat-reservation/seat-reservation.component.js +88 -85
  44. package/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js +1 -1
  45. package/timetable-row/timetable-row.component.js +1 -1
  46. package/{toDate-BCXKL_wM.js → toDate-Bw2KTWeq.js} +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"seat-reservation-base-element.d.ts","sourceRoot":"","sources":["../../../../src/elements-experimental/seat-reservation/seat-reservation/seat-reservation-base-element.ts"],"names":[],"mappings":"AAEA,OAAO,EAAY,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAShE,OAAO,KAAK,EACV,WAAW,EAEX,uBAAuB,EACvB,gBAAgB,EAChB,eAAe,EACf,mBAAmB,EACnB,KAAK,EACL,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ACH,OAAO,CAAC,sBAAsB;IAU9B,OAAO,CAAC,kBAAkB;IAO1B;;;;;;;;;OASG;IACH,OAAO,CAAC,0BAA0B;IAkBlC;;;;;OAKG;IACH,OAAO,CAAC,+BAA+B;CAKxC"}
1
+ {"version":3,"file":"seat-reservation-base-element.d.ts","sourceRoot":"","sources":["../../../../src/elements-experimental/seat-reservation/seat-reservation/seat-reservation-base-element.ts"],"names":[],"mappings":"AAEA,OAAO,EAAY,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAShE,OAAO,KAAK,EACV,WAAW,EAEX,uBAAuB,EACvB,gBAAgB,EAChB,eAAe,EACf,mBAAmB,EACnB,KAAK,EACL,cAAc,EAEd,eAAe,EAGf,6BAA6B,EAC9B,MAAM,cAAc,CAAC;AAGtB,aAAK,eAAe;IAClB,KAAK,UAAU;IACf,IAAI,SAAS;CACd;AAED,UAAU,uBAAuB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;CACf;AAaD,qBAAa,0BAA2B,SAAQ,UAAU;IACxD,gBAAuB,MAAM;;;MAGlB;IAEX,kEAAkE;IAClE,SACgB,gBAAgB,EAAE,eAAe,EAAE,CAAS;IAE5D,sEAAsE;IACtE,SAEgB,aAAa,EAAE,OAAO,CAAQ;IAE9C,sDAAsD;IACtD,SAEgB,aAAa,EAAE,OAAO,CAAS;IAE/C,iDAAiD;IACjD,SAEgB,YAAY,EAAE,MAAM,CAAM;IAE1C,wCAAwC;IACxC,SAEgB,MAAM,EAAE,MAAM,CAAS;IAEvC,iDAAiD;IACjD,SAEgB,mBAAmB,EAAE,MAAM,CAAM;IAEjD,0DAA0D;IAC1D,SAEgB,sBAAsB,EAAE,MAAM,CAAM;IAEpD,2CAA2C;IAC3C,SAEgB,iBAAiB,EAAE,OAAO,CAAS;IAEnD,SAEgB,mBAAmB,EAAE,MAAM,CAAM;IAExC,SAAS,CAAC,QA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;IACH,OAAO,CAAC,0BAA0B;IA+BlC;;;OAGG;IACH,OAAO,CAAC,kCAAkC;IAgC1C;;;;OAIG;IACH,OAAO,CAAC,wBAAwB;IAwBhC,OAAO,CAAC,iCAAiC;IAoBzC,OAAO,CAAC,gCAAgC;IAUxC,OAAO,CAAC,8BAA8B;IAUtC;;;SAGK;IACL,OAAO,CAAC,sBAAsB;IAS9B;;;;;;;SAOK;IACL,OAAO,CAAC,2BAA2B;IA+BnC,OAAO,CAAC,6BAA6B;IAMrC,OAAO,CAAC,gCAAgC;IAsBxC,OAAO,CAAC,8BAA8B,CA4BpC;IAEF;;;OAGG;IACH,OAAO,CAAC,oBAAoB;IAM5B;;;OAGG;IACH,OAAO,CAAC,sBAAsB;IAU9B,OAAO,CAAC,kBAAkB;IAO1B;;;;;;;;;OASG;IACH,OAAO,CAAC,0BAA0B;IAkBlC;;;;;OAKG;IACH,OAAO,CAAC,+BAA+B;CAKxC"}
@@ -23,8 +23,8 @@ const Pe = 3, Ne = [
23
23
  "sa-rz"
24
24
  ];
25
25
  let ze = (() => {
26
- var x, p, _, m, y, b, P, N, A, R, k, E, h;
27
- let n = xe, d = [], u, D = [], B = [], z, F = [], V = [], G, O = [], L = [], K, W = [], X = [], H, U = [], M = [], q, $ = [], j = [], Y, J = [], Q = [], Z, ee = [], te = [], ie, se = [], ae = [], ce, oe = [], re = [], le, ne = [], he = [], de, ue = [], ge = [], ve;
26
+ var x, p, _, m, y, b, P, N, R, A, k, E, h;
27
+ let n = xe, d = [], u, D = [], B = [], z, F = [], V = [], G, O = [], L = [], K, W = [], X = [], H, U = [], M = [], q, $ = [], j = [], Y, J = [], Q = [], Z, ee = [], te = [], se, ie = [], ae = [], ce, oe = [], re = [], le, ne = [], he = [], de, ue = [], ge = [], ve;
28
28
  return h = class extends n {
29
29
  constructor() {
30
30
  super(...arguments);
@@ -36,11 +36,11 @@ let ze = (() => {
36
36
  v(this, b);
37
37
  v(this, P);
38
38
  v(this, N);
39
- v(this, A);
40
39
  v(this, R);
40
+ v(this, A);
41
41
  v(this, k);
42
42
  v(this, E);
43
- r(this, x, (l(this, d), l(this, D, null))), r(this, p, (l(this, B), l(this, F, !0))), r(this, _, (l(this, V), l(this, O, !1))), r(this, m, (l(this, L), l(this, W, 16))), r(this, y, (l(this, X), l(this, U, null))), r(this, b, (l(this, M), l(this, $, -1))), r(this, P, (l(this, j), l(this, J, -1))), r(this, N, (l(this, Q), l(this, ee, !1))), r(this, A, (l(this, te), l(this, se, -1))), r(this, R, (l(this, ae), l(this, oe, -1))), r(this, k, (l(this, re), l(this, ne, -1))), r(this, E, (l(this, he), l(this, ue, -1))), this.coachBorderPadding = (l(this, ge), 6), this.gapBetweenCoaches = 4, this.coachBorderOffset = this.coachBorderPadding / this.baseGridSize, this.gapBetweenCoachDecks = 48, this.coachNavButtonDim = 0, this.coachNavData = [], this.currScrollDirection = I.right, this.maxCalcCoachsWidth = 0, this.scrollCoachsAreaWidth = 0, this.scrollNavigationAreaDim = 0, this.triggerCoachPositionsCollection = [], this.navigationScrollArea = null, this.coachScrollArea = null, this.currSelectedPlace = null, this.currSelectedPlaceElementId = null, this.currSelectedCoachIndex = -1, this.currSelectedDeckIndex = 0, this.preventCoachScrollByPlaceClick = !1, this.selectedSeatReservationPlaces = {
43
+ r(this, x, (l(this, d), l(this, D, null))), r(this, p, (l(this, B), l(this, F, !0))), r(this, _, (l(this, V), l(this, O, !1))), r(this, m, (l(this, L), l(this, W, 16))), r(this, y, (l(this, X), l(this, U, null))), r(this, b, (l(this, M), l(this, $, -1))), r(this, P, (l(this, j), l(this, J, -1))), r(this, N, (l(this, Q), l(this, ee, !1))), r(this, R, (l(this, te), l(this, ie, -1))), r(this, A, (l(this, ae), l(this, oe, -1))), r(this, k, (l(this, re), l(this, ne, -1))), r(this, E, (l(this, he), l(this, ue, -1))), this.coachBorderPadding = (l(this, ge), 6), this.gapBetweenCoaches = 4, this.coachBorderOffset = this.coachBorderPadding / this.baseGridSize, this.gapBetweenCoachDecks = 48, this.coachNavButtonDim = 0, this.coachNavData = [], this.currScrollDirection = I.right, this.maxCalcCoachsWidth = 0, this.scrollCoachsAreaWidth = 0, this.scrollNavigationAreaDim = 0, this.triggerCoachPositionsCollection = [], this.navigationScrollArea = null, this.coachScrollArea = null, this.currSelectedPlace = null, this.currSelectedPlaceElementId = null, this.currSelectedCoachIndex = -1, this.currSelectedDeckIndex = 0, this.preventCoachScrollByPlaceClick = !1, this.selectedSeatReservationPlaces = {
44
44
  seats: [],
45
45
  bicycles: []
46
46
  }, this.seatReservationWithoutNavigationHasFocus = !1, this.isCoachGridFocusable = !1, this.isAutoScrolling = !1, this.isKeyboardNavigation = !1, this.hasMultipleDecks = !1, this.hasSeatReservationNativeFocus = !1, this.keyboardNavigationEvents = {
@@ -53,12 +53,12 @@ let ze = (() => {
53
53
  }, this._isRunningInitPreselectCoachIndex = !1, this._lastStartScrollPos = -1, this._prepareServiceIconsNavigation = (e) => {
54
54
  if (!e)
55
55
  return [];
56
- const t = e?.map(function(i) {
56
+ const t = e?.map(function(s) {
57
57
  return {
58
- pId: i,
59
- svgName: Ie[i]?.svgName ? Ie[i]?.svgName : ""
58
+ pId: s,
59
+ svgName: Ie[s]?.svgName ? Ie[s]?.svgName : ""
60
60
  };
61
- }).filter((i) => Ne.indexOf(i.svgName) !== -1).filter((i, s, a) => a.map((o) => o.svgName).indexOf(i.svgName) === s).map((i) => i.pId).slice(0, Pe);
61
+ }).filter((s) => Ne.indexOf(s.svgName) !== -1).filter((s, i, a) => a.map((o) => o.svgName).indexOf(s.svgName) === i).map((s) => s.pId).slice(0, Pe);
62
62
  return t || [];
63
63
  };
64
64
  }
@@ -119,16 +119,16 @@ let ze = (() => {
119
119
  r(this, N, e);
120
120
  }
121
121
  get preselectCoachIndex() {
122
- return g(this, A);
122
+ return g(this, R);
123
123
  }
124
124
  set preselectCoachIndex(e) {
125
- r(this, A, e);
125
+ r(this, R, e);
126
126
  }
127
127
  get selectedCoachIndex() {
128
- return g(this, R);
128
+ return g(this, A);
129
129
  }
130
130
  set selectedCoachIndex(e) {
131
- r(this, R, e);
131
+ r(this, A, e);
132
132
  }
133
133
  get focusedCoachIndex() {
134
134
  return g(this, k);
@@ -166,23 +166,23 @@ let ze = (() => {
166
166
  this.coachScrollArea = this.shadowRoot?.querySelector("#sbb-sr__wrapper-scrollarea"), this.navigationScrollArea = this.shadowRoot?.querySelector("#sbb-sr__navigation-list-coaches");
167
167
  const e = this.seatReservations ? this.seatReservations[this.currSelectedDeckIndex] : null;
168
168
  if (e && e.coachItems.length > 0) {
169
- const t = e.coachItems[0].dimension.h * this.baseGridSize + this.coachBorderPadding, i = (this.seatReservations.length - 1) * this.gapBetweenCoachDecks;
170
- this.style?.setProperty("--sbb-seat-reservation-height", `${t * this.seatReservations.length + i}`), this.style?.setProperty("--sbb-seat-reservation-decks", `${this.seatReservations.length}`);
169
+ const t = e.coachItems[0].dimension.h * this.baseGridSize + this.coachBorderPadding, s = (this.seatReservations.length - 1) * this.gapBetweenCoachDecks;
170
+ this.style?.setProperty("--sbb-seat-reservation-height", `${t * this.seatReservations.length + s}`), this.style?.setProperty("--sbb-seat-reservation-decks", `${this.seatReservations.length}`);
171
171
  }
172
172
  if (this.navigationScrollArea) {
173
173
  this.scrollNavigationAreaDim = this.alignVertical ? this.navigationScrollArea.getBoundingClientRect().height : this.navigationScrollArea.getBoundingClientRect().width;
174
174
  const t = this.navigationScrollArea.querySelector("ul > li");
175
175
  if (t) {
176
- const i = t?.getBoundingClientRect();
177
- this.coachNavButtonDim = this.alignVertical ? i.height : i.width;
176
+ const s = t?.getBoundingClientRect();
177
+ this.coachNavButtonDim = this.alignVertical ? s.height : s.width;
178
178
  }
179
179
  }
180
180
  if (this.coachScrollArea && e) {
181
181
  let t = 0;
182
- this.scrollCoachsAreaWidth = this.alignVertical ? this.coachScrollArea.getBoundingClientRect().height : this.coachScrollArea.getBoundingClientRect().width, this.triggerCoachPositionsCollection = e.coachItems.map((i) => {
183
- const s = t, a = this.getCalculatedDimension(i.dimension).w;
182
+ this.scrollCoachsAreaWidth = this.alignVertical ? this.coachScrollArea.getBoundingClientRect().height : this.coachScrollArea.getBoundingClientRect().width, this.triggerCoachPositionsCollection = e.coachItems.map((s) => {
183
+ const i = t, a = this.getCalculatedDimension(s.dimension).w;
184
184
  return t += a + this.gapBetweenCoaches, {
185
- start: s,
185
+ start: i,
186
186
  end: t,
187
187
  width: a
188
188
  };
@@ -220,9 +220,9 @@ let ze = (() => {
220
220
  Se(e) && this.keyboardSeatmapEventHadling(e);
221
221
  }
222
222
  /** General TAB Key Event handling for tab navigation inside the coach navigation area and the seatmap area */
223
- _handleTabKeyNavigation(e, t, i) {
224
- const s = e.key, a = e.shiftKey;
225
- s === this.keyboardNavigationEvents.Tab && (t == "navigation" ? (i == this.currSelectedCoachIndex ? !this.currSelectedPlace || !a || this.coachNavData[i].isDriverArea || this.focusedCoachIndex == -1 ? this.focusedCoachIndex = i : a && this.currSelectedPlace && (this.focusedCoachIndex = -1, this.focusPlaceElement(this.currSelectedPlace)) : this.focusedCoachIndex = i, this._scrollToSelectedNavigationButton(i)) : t == "seatmap" && (e.preventDefault(), a ? this._navigateCoachNavigationByKeyboard("PREV_TAB") : this._navigateCoachNavigationByKeyboard("NEXT_TAB")));
223
+ _handleTabKeyNavigation(e, t, s) {
224
+ const i = e.key, a = e.shiftKey;
225
+ i === this.keyboardNavigationEvents.Tab && (t == "navigation" ? (s == this.currSelectedCoachIndex ? !this.currSelectedPlace || !a || this.coachNavData[s].isDriverArea || this.focusedCoachIndex == -1 ? this.focusedCoachIndex = s : a && this.currSelectedPlace && (this.focusedCoachIndex = -1, this.focusPlaceElement(this.currSelectedPlace)) : this.focusedCoachIndex = s, this._scrollToSelectedNavigationButton(s)) : t == "seatmap" && (e.preventDefault(), a ? this._navigateCoachNavigationByKeyboard("PREV_TAB") : this._navigateCoachNavigationByKeyboard("NEXT_TAB")));
226
226
  }
227
227
  /**
228
228
  * Initialisation of Keyboard Seatmap event handling to navigation between each places inside a selected coach by using [arrow] keys.
@@ -238,26 +238,26 @@ let ze = (() => {
238
238
  switch (e.preventDefault(), t) {
239
239
  case this.keyboardNavigationEvents.ArrowLeft:
240
240
  {
241
- const i = this.alignVertical ? this.keyboardNavigationEvents.ArrowDown : t;
242
- this._navigateToPlaceByKeyboard(i);
241
+ const s = this.alignVertical ? this.keyboardNavigationEvents.ArrowDown : t;
242
+ this._navigateToPlaceByKeyboard(s);
243
243
  }
244
244
  break;
245
245
  case this.keyboardNavigationEvents.ArrowRight:
246
246
  {
247
- const i = this.alignVertical ? this.keyboardNavigationEvents.ArrowUp : t;
248
- this._navigateToPlaceByKeyboard(i);
247
+ const s = this.alignVertical ? this.keyboardNavigationEvents.ArrowUp : t;
248
+ this._navigateToPlaceByKeyboard(s);
249
249
  }
250
250
  break;
251
251
  case this.keyboardNavigationEvents.ArrowUp:
252
252
  {
253
- const i = this.alignVertical ? this.keyboardNavigationEvents.ArrowLeft : t;
254
- this._navigateToPlaceByKeyboard(i);
253
+ const s = this.alignVertical ? this.keyboardNavigationEvents.ArrowLeft : t;
254
+ this._navigateToPlaceByKeyboard(s);
255
255
  }
256
256
  break;
257
257
  case this.keyboardNavigationEvents.ArrowDown:
258
258
  {
259
- const i = this.alignVertical ? this.keyboardNavigationEvents.ArrowRight : t;
260
- this._navigateToPlaceByKeyboard(i);
259
+ const s = this.alignVertical ? this.keyboardNavigationEvents.ArrowRight : t;
260
+ this._navigateToPlaceByKeyboard(s);
261
261
  }
262
262
  break;
263
263
  }
@@ -300,9 +300,9 @@ let ze = (() => {
300
300
  const t = this._getPlaceHtmlElement();
301
301
  if (t) {
302
302
  t.setAttribute("keyfocus", "focus");
303
- const i = setTimeout(() => {
304
- const s = this.getPlaceElementId(this.currSelectedDeckIndex, this.currSelectedCoachIndex, e.number);
305
- this._scrollPlaceIntoNearestViewport(s), clearTimeout(i);
303
+ const s = setTimeout(() => {
304
+ const i = this.getPlaceElementId(this.currSelectedDeckIndex, this.currSelectedCoachIndex, e.number);
305
+ this._scrollPlaceIntoNearestViewport(i), clearTimeout(s);
306
306
  }, 0);
307
307
  }
308
308
  }
@@ -311,15 +311,15 @@ let ze = (() => {
311
311
  const e = this._getPlaceHtmlElement();
312
312
  e && (e.setAttribute("keyfocus", "unfocus"), this._setCurrSelectedPlaceElementId(null), this.currSelectedPlace = null);
313
313
  }
314
- getCalculatedDimension(e, t, i, s) {
315
- return t && !i && (e.h += this.coachBorderOffset * 2), s && (e.h += this.coachBorderOffset), {
314
+ getCalculatedDimension(e, t, s, i) {
315
+ return t && !s && (e.h += this.coachBorderOffset * 2), i && (e.h += this.coachBorderOffset), {
316
316
  w: this.baseGridSize * e.w,
317
317
  h: this.baseGridSize * e.h
318
318
  };
319
319
  }
320
- getCalculatedPosition(e, t, i, s) {
321
- if (i && t) {
322
- const a = s ? i.h : i.h + this.coachBorderOffset;
320
+ getCalculatedPosition(e, t, s, i) {
321
+ if (s && t) {
322
+ const a = i ? s.h : s.h + this.coachBorderOffset;
323
323
  e.y === 0 ? e.y -= this.coachBorderOffset : e.y + t.h === a && (e.y += this.coachBorderOffset);
324
324
  }
325
325
  return {
@@ -344,8 +344,8 @@ let ze = (() => {
344
344
  * @returns An Object with count of free seats and free bicycle places
345
345
  */
346
346
  getAvailableFreePlacesNumFromCoach(e) {
347
- const t = { seats: 0, bicycles: 0 }, i = e?.reduce((s, a) => (a.state !== "FREE" || (a.type === "SEAT" ? s.seats++ : s.bicycles++), s), t);
348
- return i || t;
347
+ const t = { seats: 0, bicycles: 0 }, s = e?.reduce((i, a) => (a.state !== "FREE" || (a.type === "SEAT" ? i.seats++ : i.bicycles++), i), t);
348
+ return s || t;
349
349
  }
350
350
  /**
351
351
  * At the end of a scroll Event from the coach scrollable area,
@@ -367,10 +367,10 @@ let ze = (() => {
367
367
  _scrollToSelectedNavigationButton(e) {
368
368
  setTimeout(() => {
369
369
  if (this.hasNavigation && this.navigationScrollArea) {
370
- const t = this.scrollNavigationAreaDim / 2, s = e * this.coachNavButtonDim - t + this.coachNavButtonDim;
370
+ const t = this.scrollNavigationAreaDim / 2, i = e * this.coachNavButtonDim - t + this.coachNavButtonDim;
371
371
  this.navigationScrollArea.scrollTo({
372
- top: this.alignVertical ? s : 0,
373
- left: this.alignVertical ? 0 : s,
372
+ top: this.alignVertical ? i : 0,
373
+ left: this.alignVertical ? 0 : i,
374
374
  behavior: "smooth"
375
375
  });
376
376
  }
@@ -407,8 +407,8 @@ let ze = (() => {
407
407
  * @returns boolean
408
408
  */
409
409
  _isScrollableToSelectedCoach() {
410
- const e = this.alignVertical ? this.coachScrollArea.scrollTop : this.coachScrollArea.scrollLeft, t = this.alignVertical ? this.coachScrollArea.getBoundingClientRect().height : this.coachScrollArea.getBoundingClientRect().width, i = this.maxCalcCoachsWidth - t, s = this.triggerCoachPositionsCollection[this.currSelectedCoachIndex], a = e === this.triggerCoachPositionsCollection[this.currSelectedCoachIndex].start;
411
- return (e < i || e > s.start) && !a;
410
+ const e = this.alignVertical ? this.coachScrollArea.scrollTop : this.coachScrollArea.scrollLeft, t = this.alignVertical ? this.coachScrollArea.getBoundingClientRect().height : this.coachScrollArea.getBoundingClientRect().width, s = this.maxCalcCoachsWidth - t, i = this.triggerCoachPositionsCollection[this.currSelectedCoachIndex], a = e === this.triggerCoachPositionsCollection[this.currSelectedCoachIndex].start;
411
+ return (e < s || e > i.start) && !a;
412
412
  }
413
413
  /**
414
414
  * Returns the coach index which is currently visible in the scroll area
@@ -416,7 +416,7 @@ let ze = (() => {
416
416
  */
417
417
  _getCoachIndexByScrollTriggerPosition() {
418
418
  const t = (this.alignVertical ? this.coachScrollArea.scrollTop : this.coachScrollArea.scrollLeft) + this.scrollCoachsAreaWidth / 2;
419
- return this.triggerCoachPositionsCollection.findIndex((i) => t >= i.start && t <= i.end);
419
+ return this.triggerCoachPositionsCollection.findIndex((s) => t >= s.start && t <= s.end);
420
420
  }
421
421
  /**
422
422
  * Get the first place of current selected coach by table cell coordinate 0-0 id.
@@ -424,8 +424,8 @@ let ze = (() => {
424
424
  */
425
425
  _getFirstPlaceInSelectedCoach() {
426
426
  let e = null;
427
- const t = this.seatReservations[this.currSelectedDeckIndex].coachItems[this.currSelectedCoachIndex], i = "cell-" + this.currSelectedDeckIndex + "-" + this.currSelectedCoachIndex + "-0-0", s = this.shadowRoot?.querySelector("#" + i)?.querySelector("sbb-seat-reservation-place-control")?.getAttribute("text") || null;
428
- return t && s && (e = t.places?.find((a) => a.number === s) || null), e;
427
+ const t = this.seatReservations[this.currSelectedDeckIndex].coachItems[this.currSelectedCoachIndex], s = "cell-" + this.currSelectedDeckIndex + "-" + this.currSelectedCoachIndex + "-0-0", i = this.shadowRoot?.querySelector("#" + s)?.querySelector("sbb-seat-reservation-place-control")?.getAttribute("text") || null;
428
+ return t && i && (e = t.places?.find((a) => a.number === i) || null), e;
429
429
  }
430
430
  _getSwitchedCoachDeckIndexByKeyNavigation(e, t) {
431
431
  return !this.currSelectedPlace || e === this.keyboardNavigationEvents.ArrowRight || e === this.keyboardNavigationEvents.ArrowLeft ? null : e === this.keyboardNavigationEvents.ArrowDown && this.currSelectedPlace.position.y + 2 === t.dimension.h && this.seatReservations[this.currSelectedDeckIndex + 1] ? this.currSelectedDeckIndex + 1 : e === this.keyboardNavigationEvents.ArrowUp && this.currSelectedPlace.position.y === 0 && this.seatReservations[this.currSelectedDeckIndex - 1] ? this.currSelectedDeckIndex - 1 : null;
@@ -438,35 +438,35 @@ let ze = (() => {
438
438
  */
439
439
  _getClosestPlaceByKeyDirection(e) {
440
440
  const t = this.seatReservations[this.currSelectedDeckIndex].coachItems[this.currSelectedCoachIndex];
441
- let i = null, s = t.places, a = null;
442
- if (s)
441
+ let s = null, i = t.places, a = null;
442
+ if (i)
443
443
  if (this.currSelectedPlaceElementId) {
444
444
  if (this.currSelectedPlace) {
445
445
  const o = { ...this.currSelectedPlace.position };
446
- e && (a = this._getSwitchedCoachDeckIndexByKeyNavigation(e, t), a !== null && (s = this.seatReservations[a].coachItems[this.currSelectedCoachIndex].places || [], o.y = a < this.currSelectedDeckIndex ? t.dimension.h : -1));
447
- for (const c of s)
448
- e ? c.number !== this.currSelectedPlace?.number && (e === this.keyboardNavigationEvents.ArrowRight && (c.position.y === o.y || c.position.y === o.y - 1) && c.position.x > o.x && (!i || c.position.x < i.position.x) || e === this.keyboardNavigationEvents.ArrowDown && (c.position.x === o.x || c.position.x === o.x + 1) && c.position.y > o.y && (!i || c.position.y < i.position.y) || e === this.keyboardNavigationEvents.ArrowLeft && (c.position.y === o.y || c.position.y === o.y + 1) && c.position.x < o.x && (!i || c.position.x > i.position.x) || e === this.keyboardNavigationEvents.ArrowUp && (c.position.x === o.x || c.position.x === o.x - 1) && c.position.y < o.y && (!i || c.position.y > i.position.y)) && (i = c) : (this.currScrollDirection === I.right && c.position.y === o.y && (!i || c.position.x < i.position.x) || this.currScrollDirection === I.left && c.position.y === o.y && (!i || c.position.x > i.position.x)) && (i = c);
449
- a !== null && i && (this.currSelectedDeckIndex = a);
446
+ e && (a = this._getSwitchedCoachDeckIndexByKeyNavigation(e, t), a !== null && (i = this.seatReservations[a].coachItems[this.currSelectedCoachIndex].places || [], o.y = a < this.currSelectedDeckIndex ? t.dimension.h : -1));
447
+ for (const c of i)
448
+ e ? c.number !== this.currSelectedPlace?.number && (e === this.keyboardNavigationEvents.ArrowRight && (c.position.y === o.y || c.position.y === o.y - 1) && c.position.x > o.x && (!s || c.position.x < s.position.x) || e === this.keyboardNavigationEvents.ArrowDown && (c.position.x === o.x || c.position.x === o.x + 1) && c.position.y > o.y && (!s || c.position.y < s.position.y) || e === this.keyboardNavigationEvents.ArrowLeft && (c.position.y === o.y || c.position.y === o.y + 1) && c.position.x < o.x && (!s || c.position.x > s.position.x) || e === this.keyboardNavigationEvents.ArrowUp && (c.position.x === o.x || c.position.x === o.x - 1) && c.position.y < o.y && (!s || c.position.y > s.position.y)) && (s = c) : (this.currScrollDirection === I.right && c.position.y === o.y && (!s || c.position.x < s.position.x) || this.currScrollDirection === I.left && c.position.y === o.y && (!s || c.position.x > s.position.x)) && (s = c);
449
+ a !== null && s && (this.currSelectedDeckIndex = a);
450
450
  }
451
451
  } else
452
452
  return this._getFirstPlaceInSelectedCoach();
453
- return i;
453
+ return s;
454
454
  }
455
455
  // Handling for Tab navigation if a place is selected inside the coach.
456
456
  // This controls the focused coach from the current selected coach.
457
457
  _navigateCoachNavigationByKeyboard(e) {
458
- const t = this.focusedCoachIndex === -1 ? this.currSelectedCoachIndex === -1 ? 0 : this.currSelectedCoachIndex : this.focusedCoachIndex, i = e === "NEXT_TAB" ? this.getNextAvailableCoachIndex(t) : this.getPrevAvailableCoachIndex(t);
458
+ const t = this.focusedCoachIndex === -1 ? this.currSelectedCoachIndex === -1 ? 0 : this.currSelectedCoachIndex : this.focusedCoachIndex, s = e === "NEXT_TAB" ? this.getNextAvailableCoachIndex(t) : this.getPrevAvailableCoachIndex(t);
459
459
  if (this.hasNavigation) {
460
- const s = this._getPlaceHtmlElement(), a = s ? s.getAttribute("keyfocus") === "focus" : !1;
460
+ const i = this._getPlaceHtmlElement(), a = i ? i.getAttribute("keyfocus") === "focus" : !1;
461
461
  if (e === "PREV_TAB" && this.selectedCoachIndex === t)
462
462
  if (a || this.currSelectedPlace !== null) {
463
463
  this.focusedCoachIndex = t, this.unfocusPlaceElement();
464
464
  return;
465
- } else t == 0 ? (this.unfocusPlaceElement(), this.currSelectedPlace = null, this.focusedCoachIndex = -1, (this.shadowRoot?.getElementById("sbb-sr-navigation__wrapper-button-direction--left")).focus()) : this.focusedCoachIndex = i;
466
- else i !== this.currSelectedCoachIndex ? this.focusedCoachIndex = i : e === "NEXT_TAB" && i === this.coachNavData.length - 1 ? (this.unfocusPlaceElement(), this.focusedCoachIndex = -1, (this.shadowRoot?.getElementById("sbb-sr-navigation__wrapper-button-direction--right")).focus()) : (this.focusedCoachIndex = -1, this.selectedCoachIndex = i, a ? this.focusPlaceElement(this.currSelectedPlace) : (this.isCoachGridFocusable = !0, this._setFocusToSelectedCoachGrid()));
467
- this._scrollToSelectedNavigationButton(i);
465
+ } else t == 0 ? (this.unfocusPlaceElement(), this.currSelectedPlace = null, this.focusedCoachIndex = -1, (this.shadowRoot?.getElementById("sbb-sr-navigation__wrapper-button-direction--left")).focus()) : this.focusedCoachIndex = s;
466
+ else s !== this.currSelectedCoachIndex ? this.focusedCoachIndex = s : e === "NEXT_TAB" && s === this.coachNavData.length - 1 ? (this.unfocusPlaceElement(), this.focusedCoachIndex = -1, (this.shadowRoot?.getElementById("sbb-sr-navigation__wrapper-button-direction--right")).focus()) : (this.focusedCoachIndex = -1, this.selectedCoachIndex = s, a ? this.focusPlaceElement(this.currSelectedPlace) : (this.isCoachGridFocusable = !0, this._setFocusToSelectedCoachGrid()));
467
+ this._scrollToSelectedNavigationButton(s);
468
468
  } else
469
- this.scrollToSelectedNavCoach(i);
469
+ this.scrollToSelectedNavCoach(s);
470
470
  }
471
471
  _navigateToPlaceByKeyboard(e) {
472
472
  if (this.isKeyboardNavigation = !0, this.focusedCoachIndex !== -1 && (this.focusedCoachIndex = -1), !this.preventPlaceClick) {
@@ -474,8 +474,8 @@ let ze = (() => {
474
474
  if (t)
475
475
  this.focusPlaceElement(t);
476
476
  else if (e === this.keyboardNavigationEvents.ArrowRight || e === this.keyboardNavigationEvents.ArrowLeft || this.alignVertical && (e === this.keyboardNavigationEvents.ArrowUp || e === this.keyboardNavigationEvents.ArrowDown)) {
477
- const i = e === this.keyboardNavigationEvents.ArrowRight ? this.getNextAvailableCoachIndex() : this.getPrevAvailableCoachIndex();
478
- this.scrollToSelectedNavCoach(i);
477
+ const s = e === this.keyboardNavigationEvents.ArrowRight ? this.getNextAvailableCoachIndex() : this.getPrevAvailableCoachIndex();
478
+ this.scrollToSelectedNavCoach(s);
479
479
  }
480
480
  }
481
481
  }
@@ -488,33 +488,33 @@ let ze = (() => {
488
488
  return t > 0 ? t - 1 : t;
489
489
  }
490
490
  updateSelectedSeatReservationPlaces(e) {
491
- const t = e.placeType === "SEAT" ? "seats" : "bicycles", i = e.placeType === "SEAT" ? this.maxSeatReservations : this.maxBicycleReservations, s = this.selectedSeatReservationPlaces[t];
492
- this.selectedSeatReservationPlaces[t] = this._updateSelectedSeatReservationPlaces(s, i, e), this.dispatchEvent(new CustomEvent("selectedplaces", {
491
+ const t = e.placeType === "SEAT" ? "seats" : "bicycles", s = e.placeType === "SEAT" ? this.maxSeatReservations : this.maxBicycleReservations, i = this.selectedSeatReservationPlaces[t];
492
+ this.selectedSeatReservationPlaces[t] = this._updateSelectedSeatReservationPlaces(i, s, e), this.dispatchEvent(new CustomEvent("selectedplaces", {
493
493
  bubbles: !0,
494
494
  composed: !0,
495
495
  detail: this.selectedSeatReservationPlaces
496
496
  }));
497
497
  }
498
- _updateSelectedSeatReservationPlaces(e, t, i) {
499
- if (i.state === "SELECTED") {
500
- const s = this._getDeckIndexByPlaceId(i.id), a = this._getSeatReservationPlaceSelection(i, s);
498
+ _updateSelectedSeatReservationPlaces(e, t, s) {
499
+ if (s.state === "SELECTED") {
500
+ const i = this._getDeckIndexByPlaceId(s.id), a = this._getSeatReservationPlaceSelection(s, i);
501
501
  a && e.push(a);
502
502
  } else
503
- e = e.filter((s) => s.id !== i.id);
503
+ e = e.filter((i) => i.id !== s.id);
504
504
  if (t > -1 && e.length > t) {
505
- const s = t > 0 ? i : void 0;
506
- e = this._resetAllPlaceSelections(e, s);
505
+ const i = t > 0 ? s : void 0;
506
+ e = this._resetAllPlaceSelections(e, i);
507
507
  }
508
508
  return e;
509
509
  }
510
510
  updateCurrentSelectedPlaceInCoach(e) {
511
- const t = this._getDeckIndexByPlaceId(e.id), i = e.coachIndex;
511
+ const t = this._getDeckIndexByPlaceId(e.id), s = e.coachIndex;
512
512
  if (t === null)
513
513
  return;
514
- const s = this.seatReservations[t].coachItems[i].places?.find((o) => o.number == e.number);
515
- if (!s)
514
+ const i = this.seatReservations[t].coachItems[s].places?.find((o) => o.number == e.number);
515
+ if (!i)
516
516
  return;
517
- this.currSelectedDeckIndex = t, this.currSelectedCoachIndex = i, this.currSelectedPlace = s, this.currSelectedCoachIndex !== this.selectedCoachIndex && this.updateCurrentSelectedCoach(), this._setCurrSelectedPlaceElementId(s);
517
+ this.currSelectedDeckIndex = t, this.currSelectedCoachIndex = s, this.currSelectedPlace = i, this.currSelectedCoachIndex !== this.selectedCoachIndex && this.updateCurrentSelectedCoach(), this._setCurrSelectedPlaceElementId(i);
518
518
  const a = setTimeout(() => {
519
519
  this._scrollPlaceIntoNearestViewport(e.id), clearTimeout(a);
520
520
  }, 0);
@@ -530,8 +530,8 @@ let ze = (() => {
530
530
  detail: e
531
531
  }));
532
532
  }
533
- getPlaceElementId(e, t, i) {
534
- return "seat-reservation__place-button-" + e + "-" + t + "-" + i;
533
+ getPlaceElementId(e, t, s) {
534
+ return "seat-reservation__place-button-" + e + "-" + t + "-" + s;
535
535
  }
536
536
  /**
537
537
  * In the case of coach layouts with different decks,
@@ -543,21 +543,21 @@ let ze = (() => {
543
543
  */
544
544
  _initEmptyCoachDeckOffsets() {
545
545
  const e = Array(this.seatReservations.length - 1).fill(0);
546
- this.seatReservations[this.seatReservations.length - 1].coachItems.forEach((i) => {
547
- for (let s = 0; s < this.seatReservations.length - 1; s++) {
548
- const a = this.seatReservations[s].coachItems[e[s]];
549
- if (i.id != a?.id) {
546
+ this.seatReservations[this.seatReservations.length - 1].coachItems.forEach((s) => {
547
+ for (let i = 0; i < this.seatReservations.length - 1; i++) {
548
+ const a = this.seatReservations[i].coachItems[e[i]];
549
+ if (s.id != a?.id) {
550
550
  const o = {
551
- ...i,
551
+ ...s,
552
552
  places: void 0,
553
553
  propertyIds: void 0,
554
554
  graphicElements: void 0,
555
555
  serviceElements: void 0,
556
556
  travelClass: []
557
557
  };
558
- this.seatReservations[s].coachItems.splice(e[s], 0, o);
558
+ this.seatReservations[i].coachItems.splice(e[i], 0, o);
559
559
  }
560
- e[s]++;
560
+ e[i]++;
561
561
  }
562
562
  });
563
563
  }
@@ -566,9 +566,9 @@ let ze = (() => {
566
566
  * that have the state SELECTED within the seatReservation object
567
567
  */
568
568
  _initSeatReservationPlaceSelection() {
569
- this.seatReservations?.forEach((e, t) => e.coachItems.map((i, s) => {
570
- i.places?.filter((a) => a.state === "SELECTED")?.forEach((a) => {
571
- const o = this.getPlaceElementId(t, s, a.number), c = me(a, o, e.deckCoachIndex, s), w = this._getSeatReservationPlaceSelection(c, t);
569
+ this.selectedSeatReservationPlaces.seats = [], this.selectedSeatReservationPlaces.bicycles = [], this.seatReservations?.forEach((e, t) => e.coachItems.map((s, i) => {
570
+ s.places?.filter((a) => a.state === "SELECTED")?.forEach((a) => {
571
+ const o = this.getPlaceElementId(t, i, a.number), c = me(a, o, e.deckCoachIndex, i), w = this._getSeatReservationPlaceSelection(c, t);
572
572
  w && (w.placeType === "SEAT" ? this.selectedSeatReservationPlaces.seats.push(w) : this.selectedSeatReservationPlaces.bicycles.push(w));
573
573
  });
574
574
  }));
@@ -579,24 +579,24 @@ let ze = (() => {
579
579
  * @param currSelectedPlace
580
580
  */
581
581
  _resetAllPlaceSelections(e, t) {
582
- for (const i of e)
583
- if (!t || t.id !== i.id) {
584
- const s = this.shadowRoot?.getElementById(i.id);
585
- s && s.setAttribute("state", "FREE");
582
+ for (const s of e)
583
+ if (!t || t.id !== s.id) {
584
+ const i = this.shadowRoot?.getElementById(s.id);
585
+ i && i.setAttribute("state", "FREE");
586
586
  }
587
- return t ? e = e.filter((i) => i.id === t.id) : e = [], e;
587
+ return t ? e = e.filter((s) => s.id === t.id) : e = [], e;
588
588
  }
589
589
  _getSeatReservationPlaceSelection(e, t) {
590
590
  if (t === null)
591
591
  return null;
592
- const i = this.seatReservations[t].coachItems[e.coachIndex], s = i.places?.find((a) => a.number === e.number);
593
- return s ? ye(s, i, e.id, e.deckIndex, e.coachIndex) : null;
592
+ const s = this.seatReservations[t].coachItems[e.coachIndex], i = s.places?.find((a) => a.number === e.number);
593
+ return i ? ye(i, s, e.id, e.deckIndex, e.coachIndex) : null;
594
594
  }
595
595
  _getSeatReservationSelectedCoach(e) {
596
596
  if (!this.seatReservations[this.currSelectedDeckIndex].coachItems[e])
597
597
  return null;
598
- const t = this.seatReservations[this.currSelectedDeckIndex].coachItems[e], i = this.getAvailableFreePlacesNumFromCoach(t.places);
599
- return be(e, t, i);
598
+ const t = this.seatReservations[this.currSelectedDeckIndex].coachItems[e], s = this.getAvailableFreePlacesNumFromCoach(t.places);
599
+ return be(e, t, s);
600
600
  }
601
601
  _setCurrSelectedPlaceElementId(e) {
602
602
  this.currSelectedPlaceElementId = e ? this.getPlaceElementId(this.currSelectedDeckIndex, this.currSelectedCoachIndex, e.number) : null;
@@ -621,13 +621,13 @@ let ze = (() => {
621
621
  * */
622
622
  _prepareNavigationCoachData() {
623
623
  const e = this.seatReservations[this.seatReservations.length - 1].coachItems;
624
- this.coachNavData = [], e.forEach((t, i) => {
625
- const s = [], a = [], o = [];
626
- this.seatReservations.map((c) => c.coachItems[i]).forEach((c) => {
627
- s.push(...c.travelClass), a.push(...c.propertyIds ? c.propertyIds : []), o.push(...c.places ? c.places : []);
624
+ this.coachNavData = [], e.forEach((t, s) => {
625
+ const i = [], a = [], o = [];
626
+ this.seatReservations.map((c) => c.coachItems[s]).forEach((c) => {
627
+ i.push(...c.travelClass), a.push(...c.propertyIds ? c.propertyIds : []), o.push(...c.places ? c.places : []);
628
628
  }), this.coachNavData.push({
629
629
  id: t.id,
630
- travelClass: this._prepareTravelClassNavigation(s),
630
+ travelClass: this._prepareTravelClassNavigation(i),
631
631
  propertyIds: this._prepareServiceIconsNavigation(a),
632
632
  isDriverArea: t.places ? t.places.length === 0 : !0,
633
633
  driverAreaSide: this._prepareDriverAreaSideNavigation(t),
@@ -639,12 +639,12 @@ let ze = (() => {
639
639
  return e.indexOf("FIRST") !== -1 ? "FIRST" : e.indexOf("SECOND") !== -1 ? "SECOND" : "ANY_CLASS";
640
640
  }
641
641
  _prepareDriverAreaSideNavigation(e) {
642
- const t = e.graphicElements?.filter((i) => i.icon === "DRIVER_AREA");
642
+ const t = e.graphicElements?.filter((s) => s.icon === "DRIVER_AREA");
643
643
  if (t && t.length > 0) {
644
- const i = t.find((a) => a.position.x === 0) || !1, s = t.find((a) => a.position.x > 0) || !1;
644
+ const s = t.find((a) => a.position.x === 0) || !1, i = t.find((a) => a.position.x > 0) || !1;
645
645
  return {
646
- left: !!i,
647
- right: !!s
646
+ left: !!s,
647
+ right: !!i
648
648
  };
649
649
  }
650
650
  }
@@ -691,32 +691,32 @@ let ze = (() => {
691
691
  _scrollPlaceIntoNearestViewport(e) {
692
692
  this.shadowRoot?.getElementById(e)?.scrollIntoView({ behavior: "smooth", block: "nearest", inline: "nearest" });
693
693
  }
694
- }, x = new WeakMap(), p = new WeakMap(), _ = new WeakMap(), m = new WeakMap(), y = new WeakMap(), b = new WeakMap(), P = new WeakMap(), N = new WeakMap(), A = new WeakMap(), R = new WeakMap(), k = new WeakMap(), E = new WeakMap(), (() => {
694
+ }, x = new WeakMap(), p = new WeakMap(), _ = new WeakMap(), m = new WeakMap(), y = new WeakMap(), b = new WeakMap(), P = new WeakMap(), N = new WeakMap(), R = new WeakMap(), A = new WeakMap(), k = new WeakMap(), E = new WeakMap(), (() => {
695
695
  const e = typeof Symbol == "function" && Symbol.metadata ? Object.create(n[Symbol.metadata] ?? null) : void 0;
696
- u = [C({ attribute: "seat-reservations", type: Array })], z = [S(), C({ attribute: "has-navigation", type: Boolean })], G = [S(), C({ attribute: "align-vertical", type: Boolean, reflect: !0, useDefault: !0 })], K = [S(), C({ attribute: "base-grid-size", type: Number })], H = [S(), C({ attribute: "height", type: Number })], q = [S(), C({ attribute: "max-seat-reservations", type: Number })], Y = [S(), C({ attribute: "max-bicycle-reservations", type: Number })], Z = [S(), C({ attribute: "prevent-place-click", type: Boolean })], ie = [S(), C({ attribute: "preselect-coach-index", type: Number })], ce = [T()], le = [T()], de = [T()], ve = [_e({ passive: !0 })], f(h, null, u, { kind: "accessor", name: "seatReservations", static: !1, private: !1, access: { has: (t) => "seatReservations" in t, get: (t) => t.seatReservations, set: (t, i) => {
697
- t.seatReservations = i;
698
- } }, metadata: e }, D, B), f(h, null, z, { kind: "accessor", name: "hasNavigation", static: !1, private: !1, access: { has: (t) => "hasNavigation" in t, get: (t) => t.hasNavigation, set: (t, i) => {
699
- t.hasNavigation = i;
700
- } }, metadata: e }, F, V), f(h, null, G, { kind: "accessor", name: "alignVertical", static: !1, private: !1, access: { has: (t) => "alignVertical" in t, get: (t) => t.alignVertical, set: (t, i) => {
701
- t.alignVertical = i;
702
- } }, metadata: e }, O, L), f(h, null, K, { kind: "accessor", name: "baseGridSize", static: !1, private: !1, access: { has: (t) => "baseGridSize" in t, get: (t) => t.baseGridSize, set: (t, i) => {
703
- t.baseGridSize = i;
704
- } }, metadata: e }, W, X), f(h, null, H, { kind: "accessor", name: "height", static: !1, private: !1, access: { has: (t) => "height" in t, get: (t) => t.height, set: (t, i) => {
705
- t.height = i;
706
- } }, metadata: e }, U, M), f(h, null, q, { kind: "accessor", name: "maxSeatReservations", static: !1, private: !1, access: { has: (t) => "maxSeatReservations" in t, get: (t) => t.maxSeatReservations, set: (t, i) => {
707
- t.maxSeatReservations = i;
708
- } }, metadata: e }, $, j), f(h, null, Y, { kind: "accessor", name: "maxBicycleReservations", static: !1, private: !1, access: { has: (t) => "maxBicycleReservations" in t, get: (t) => t.maxBicycleReservations, set: (t, i) => {
709
- t.maxBicycleReservations = i;
710
- } }, metadata: e }, J, Q), f(h, null, Z, { kind: "accessor", name: "preventPlaceClick", static: !1, private: !1, access: { has: (t) => "preventPlaceClick" in t, get: (t) => t.preventPlaceClick, set: (t, i) => {
711
- t.preventPlaceClick = i;
712
- } }, metadata: e }, ee, te), f(h, null, ie, { kind: "accessor", name: "preselectCoachIndex", static: !1, private: !1, access: { has: (t) => "preselectCoachIndex" in t, get: (t) => t.preselectCoachIndex, set: (t, i) => {
713
- t.preselectCoachIndex = i;
714
- } }, metadata: e }, se, ae), f(h, null, ce, { kind: "accessor", name: "selectedCoachIndex", static: !1, private: !1, access: { has: (t) => "selectedCoachIndex" in t, get: (t) => t.selectedCoachIndex, set: (t, i) => {
715
- t.selectedCoachIndex = i;
716
- } }, metadata: e }, oe, re), f(h, null, le, { kind: "accessor", name: "focusedCoachIndex", static: !1, private: !1, access: { has: (t) => "focusedCoachIndex" in t, get: (t) => t.focusedCoachIndex, set: (t, i) => {
717
- t.focusedCoachIndex = i;
718
- } }, metadata: e }, ne, he), f(h, null, de, { kind: "accessor", name: "hoveredCoachIndex", static: !1, private: !1, access: { has: (t) => "hoveredCoachIndex" in t, get: (t) => t.hoveredCoachIndex, set: (t, i) => {
719
- t.hoveredCoachIndex = i;
696
+ u = [C({ attribute: "seat-reservations", type: Array })], z = [S(), C({ attribute: "has-navigation", type: Boolean })], G = [S(), C({ attribute: "align-vertical", type: Boolean, reflect: !0, useDefault: !0 })], K = [S(), C({ attribute: "base-grid-size", type: Number })], H = [S(), C({ attribute: "height", type: Number })], q = [S(), C({ attribute: "max-seat-reservations", type: Number })], Y = [S(), C({ attribute: "max-bicycle-reservations", type: Number })], Z = [S(), C({ attribute: "prevent-place-click", type: Boolean })], se = [S(), C({ attribute: "preselect-coach-index", type: Number })], ce = [T()], le = [T()], de = [T()], ve = [_e({ passive: !0 })], f(h, null, u, { kind: "accessor", name: "seatReservations", static: !1, private: !1, access: { has: (t) => "seatReservations" in t, get: (t) => t.seatReservations, set: (t, s) => {
697
+ t.seatReservations = s;
698
+ } }, metadata: e }, D, B), f(h, null, z, { kind: "accessor", name: "hasNavigation", static: !1, private: !1, access: { has: (t) => "hasNavigation" in t, get: (t) => t.hasNavigation, set: (t, s) => {
699
+ t.hasNavigation = s;
700
+ } }, metadata: e }, F, V), f(h, null, G, { kind: "accessor", name: "alignVertical", static: !1, private: !1, access: { has: (t) => "alignVertical" in t, get: (t) => t.alignVertical, set: (t, s) => {
701
+ t.alignVertical = s;
702
+ } }, metadata: e }, O, L), f(h, null, K, { kind: "accessor", name: "baseGridSize", static: !1, private: !1, access: { has: (t) => "baseGridSize" in t, get: (t) => t.baseGridSize, set: (t, s) => {
703
+ t.baseGridSize = s;
704
+ } }, metadata: e }, W, X), f(h, null, H, { kind: "accessor", name: "height", static: !1, private: !1, access: { has: (t) => "height" in t, get: (t) => t.height, set: (t, s) => {
705
+ t.height = s;
706
+ } }, metadata: e }, U, M), f(h, null, q, { kind: "accessor", name: "maxSeatReservations", static: !1, private: !1, access: { has: (t) => "maxSeatReservations" in t, get: (t) => t.maxSeatReservations, set: (t, s) => {
707
+ t.maxSeatReservations = s;
708
+ } }, metadata: e }, $, j), f(h, null, Y, { kind: "accessor", name: "maxBicycleReservations", static: !1, private: !1, access: { has: (t) => "maxBicycleReservations" in t, get: (t) => t.maxBicycleReservations, set: (t, s) => {
709
+ t.maxBicycleReservations = s;
710
+ } }, metadata: e }, J, Q), f(h, null, Z, { kind: "accessor", name: "preventPlaceClick", static: !1, private: !1, access: { has: (t) => "preventPlaceClick" in t, get: (t) => t.preventPlaceClick, set: (t, s) => {
711
+ t.preventPlaceClick = s;
712
+ } }, metadata: e }, ee, te), f(h, null, se, { kind: "accessor", name: "preselectCoachIndex", static: !1, private: !1, access: { has: (t) => "preselectCoachIndex" in t, get: (t) => t.preselectCoachIndex, set: (t, s) => {
713
+ t.preselectCoachIndex = s;
714
+ } }, metadata: e }, ie, ae), f(h, null, ce, { kind: "accessor", name: "selectedCoachIndex", static: !1, private: !1, access: { has: (t) => "selectedCoachIndex" in t, get: (t) => t.selectedCoachIndex, set: (t, s) => {
715
+ t.selectedCoachIndex = s;
716
+ } }, metadata: e }, oe, re), f(h, null, le, { kind: "accessor", name: "focusedCoachIndex", static: !1, private: !1, access: { has: (t) => "focusedCoachIndex" in t, get: (t) => t.focusedCoachIndex, set: (t, s) => {
717
+ t.focusedCoachIndex = s;
718
+ } }, metadata: e }, ne, he), f(h, null, de, { kind: "accessor", name: "hoveredCoachIndex", static: !1, private: !1, access: { has: (t) => "hoveredCoachIndex" in t, get: (t) => t.hoveredCoachIndex, set: (t, s) => {
719
+ t.hoveredCoachIndex = s;
720
720
  } }, metadata: e }, ue, ge), f(h, null, ve, { kind: "method", name: "coachAreaScrollend", static: !1, private: !1, access: { has: (t) => "coachAreaScrollend" in t, get: (t) => t.coachAreaScrollend }, metadata: e }, null, d), e && Object.defineProperty(h, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: e });
721
721
  })(), h.events = {
722
722
  selectedplaces: "selectedplaces",
@@ -1 +1 @@
1
- {"version":3,"file":"seat-reservation.component.d.ts","sourceRoot":"","sources":["../../../../src/elements-experimental/seat-reservation/seat-reservation/seat-reservation.component.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAgB1E,OAAO,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAGhF,OAAO,mCAAmC,CAAC;AAC3C,OAAO,+CAA+C,CAAC;AACvD,OAAO,oCAAoC,CAAC;AAC5C,OAAO,6BAA6B,CAAC;AACrC,OAAO,gCAAgC,CAAC;AACxC,OAAO,sCAAsC,CAAC;AAC9C,OAAO,yCAAyC,CAAC;AACjD,OAAO,+BAA+B,CAAC;AAEvC;;;GAGG;AACH,qBAEM,yBAA0B,SAAQ,0BAA0B;IAChE,OAAuB,MAAM,EAAE,cAAc,CAA4B;IAEzE,OAAO,CAAC,SAAS,CAAmC;IACpD,OAAO,CAAC,oBAAoB,CAAC,CAAiB;IAE9C,OAAO,CAAC,gBAAgB,CAQtB;IAGF,OAAO,CAAC,2BAA2B,CAAkB;cAElC,UAAU,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;cAgBzD,YAAY,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;cAS3D,MAAM,IAAI,cAAc,GAAG,IAAI;IAKlD,OAAO,CAAC,uCAAuC;IAuC/C,OAAO,CAAC,iBAAiB;IAYzB,OAAO,CAAC,8BAA8B;IAuCtC,OAAO,CAAC,iBAAiB;IAyCzB;;;;;OAKG;IACH,OAAO,CAAC,cAAc;IAuBtB,OAAO,CAAC,mBAAmB;IAuC3B;;;OAGG;IACH,OAAO,CAAC,wBAAwB;IA8BhC,OAAO,CAAC,qBAAqB;IAoC7B,OAAO,CAAC,wBAAwB;IAsDhC,OAAO,CAAC,6BAA6B;IAgCrC;;;;;;;;OAQG;IACH,OAAO,CAAC,yBAAyB;IAgFjC,OAAO,CAAC,4BAA4B;IAuCpC,OAAO,CAAC,2BAA2B;IAwCnC;;;;OAIG;IACH,OAAO,CAAC,cAAc;IAmBtB,OAAO,CAAC,iBAAiB;IAmBzB,OAAO,CAAC,gBAAgB;IAUxB;;;;;OAKG;IACH,OAAO,CAAC,QAAQ;IAWhB;;;OAGG;IACH,OAAO,CAAC,aAAa;IAMrB,OAAO,CAAC,yBAAyB;IAkCjC,OAAO,CAAC,8BAA8B;CAyBvC;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAE7B,sBAAsB,EAAE,yBAAyB,CAAC;KACnD;CACF"}
1
+ {"version":3,"file":"seat-reservation.component.d.ts","sourceRoot":"","sources":["../../../../src/elements-experimental/seat-reservation/seat-reservation/seat-reservation.component.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAiB1E,OAAO,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAGhF,OAAO,mCAAmC,CAAC;AAC3C,OAAO,+CAA+C,CAAC;AACvD,OAAO,oCAAoC,CAAC;AAC5C,OAAO,6BAA6B,CAAC;AACrC,OAAO,gCAAgC,CAAC;AACxC,OAAO,sCAAsC,CAAC;AAC9C,OAAO,yCAAyC,CAAC;AACjD,OAAO,+BAA+B,CAAC;AAEvC;;;GAGG;AACH,qBAEM,yBAA0B,SAAQ,0BAA0B;IAChE,OAAuB,MAAM,EAAE,cAAc,CAA4B;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