@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.
- package/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.d.ts.map +1 -1
- package/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.js +15 -16
- package/core/datetime/date-helper.js +3 -3
- package/custom-elements.json +43 -3
- package/development/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.js +17 -19
- package/development/core/datetime/date-helper.js +3 -3
- package/development/{differenceInMinutes-D5Nj8Stc.js → differenceInMinutes-B0dawX-5.js} +2 -2
- package/development/{format-BQfaa1ZT.js → format-BMkeaqaF.js} +3 -3
- package/development/{isValid-DvieCZVi.js → isValid-BYRch7pV.js} +2 -2
- package/development/journey-summary/journey-summary.component.js +2 -2
- package/development/pearl-chain/pearl-chain.component.js +2 -2
- package/development/pearl-chain-time/pearl-chain-time.component.js +1 -1
- package/development/seat-reservation/common/mapper/mapper.d.ts +2 -2
- package/development/seat-reservation/common/mapper/mapper.d.ts.map +1 -1
- package/development/seat-reservation/common/mapper/mapper.js +19 -6
- package/development/seat-reservation/common/mapper/seat-reservation-sample-data.d.ts +122 -0
- package/development/seat-reservation/common/mapper/seat-reservation-sample-data.d.ts.map +1 -1
- package/development/seat-reservation/common/mapper/seat-reservation-sample-data.js +970 -1
- package/development/seat-reservation/seat-reservation/seat-reservation-base-element.d.ts.map +1 -1
- package/development/seat-reservation/seat-reservation/seat-reservation-base-element.js +3 -1
- package/development/seat-reservation/seat-reservation/seat-reservation.component.d.ts.map +1 -1
- package/development/seat-reservation/seat-reservation/seat-reservation.component.js +26 -24
- package/development/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js +2 -2
- package/development/timetable-row/timetable-row.component.js +1 -1
- package/development/{toDate-D_Vjps95.js → toDate-BWb6Z1JD.js} +2 -2
- package/{differenceInMinutes-CP_C5onR.js → differenceInMinutes-COvvdYsJ.js} +1 -1
- package/{format-lqeCzmzS.js → format-CmKROkbc.js} +2 -41
- package/{isValid-Ceq2O0NQ.js → isValid-m3_OsPaB.js} +1 -1
- package/journey-summary/journey-summary.component.js +2 -2
- package/package.json +2 -2
- package/pearl-chain/pearl-chain.component.js +2 -2
- package/pearl-chain-time/pearl-chain-time.component.js +1 -1
- package/seat-reservation/common/mapper/mapper.d.ts +2 -2
- package/seat-reservation/common/mapper/mapper.d.ts.map +1 -1
- package/seat-reservation/common/mapper/mapper.js +41 -38
- package/seat-reservation/common/mapper/seat-reservation-sample-data.d.ts +122 -0
- package/seat-reservation/common/mapper/seat-reservation-sample-data.d.ts.map +1 -1
- package/seat-reservation/common/mapper/seat-reservation-sample-data.js +968 -1
- package/seat-reservation/seat-reservation/seat-reservation-base-element.d.ts.map +1 -1
- package/seat-reservation/seat-reservation/seat-reservation-base-element.js +130 -130
- package/seat-reservation/seat-reservation/seat-reservation.component.d.ts.map +1 -1
- package/seat-reservation/seat-reservation/seat-reservation.component.js +88 -85
- package/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js +1 -1
- package/timetable-row/timetable-row.component.js +1 -1
- 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,cAAc,EAEd,eAAe,EAGf,6BAA6B,EAC9B,MAAM,cAAc,CAAC;AAGtB,aAAK,eAAe;IAClB,KAAK,UAAU;IACf,IAAI,SAAS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4B;IAkBpC;;;OAGG;IACH,OAAO,CAAC,qCAAqC;IAU7C;;;OAGG;IACH,OAAO,CAAC,6BAA6B;IAkBrC,OAAO,CAAC,yCAAyC;IA6BjD;;;;;OAKG;IACH,OAAO,CAAC,8BAA8B;IAgHtC,OAAO,CAAC,kCAAkC;IA6E1C,OAAO,CAAC,0BAA0B;IAkClC,SAAS,CAAC,0BAA0B,CAAC,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM;IAOnE,SAAS,CAAC,0BAA0B,CAAC,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM;IAKnE,SAAS,CAAC,mCAAmC,CAAC,cAAc,EAAE,cAAc,GAAG,IAAI;IAwBnF,OAAO,CAAC,oCAAoC;IAkC5C,SAAS,CAAC,iCAAiC,CAAC,cAAc,EAAE,cAAc,GAAG,IAAI;IA6BjF,SAAS,CAAC,0BAA0B,IAAI,IAAI;IA0B5C,SAAS,CAAC,iBAAiB,CACzB,cAAc,EAAE,MAAM,EACtB,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,MAAM,GAClB,MAAM;IAMT;;;;;;;OAOG;IACH,OAAO,CAAC,0BAA0B;IA+BlC;;;OAGG;IACH,OAAO,CAAC,kCAAkC;
|
|
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,MA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Ne = [
|
|
|
23
23
|
"sa-rz"
|
|
24
24
|
];
|
|
25
25
|
let ze = (() => {
|
|
26
|
-
var x, p, _, m, y, b, P, N,
|
|
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 = [],
|
|
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,
|
|
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(
|
|
56
|
+
const t = e?.map(function(s) {
|
|
57
57
|
return {
|
|
58
|
-
pId:
|
|
59
|
-
svgName: Ie[
|
|
58
|
+
pId: s,
|
|
59
|
+
svgName: Ie[s]?.svgName ? Ie[s]?.svgName : ""
|
|
60
60
|
};
|
|
61
|
-
}).filter((
|
|
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,
|
|
122
|
+
return g(this, R);
|
|
123
123
|
}
|
|
124
124
|
set preselectCoachIndex(e) {
|
|
125
|
-
r(this,
|
|
125
|
+
r(this, R, e);
|
|
126
126
|
}
|
|
127
127
|
get selectedCoachIndex() {
|
|
128
|
-
return g(this,
|
|
128
|
+
return g(this, A);
|
|
129
129
|
}
|
|
130
130
|
set selectedCoachIndex(e) {
|
|
131
|
-
r(this,
|
|
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,
|
|
170
|
-
this.style?.setProperty("--sbb-seat-reservation-height", `${t * 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
|
|
177
|
-
this.coachNavButtonDim = this.alignVertical ?
|
|
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((
|
|
183
|
-
const
|
|
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:
|
|
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,
|
|
224
|
-
const
|
|
225
|
-
|
|
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
|
|
242
|
-
this._navigateToPlaceByKeyboard(
|
|
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
|
|
248
|
-
this._navigateToPlaceByKeyboard(
|
|
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
|
|
254
|
-
this._navigateToPlaceByKeyboard(
|
|
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
|
|
260
|
-
this._navigateToPlaceByKeyboard(
|
|
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
|
|
304
|
-
const
|
|
305
|
-
this._scrollPlaceIntoNearestViewport(
|
|
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,
|
|
315
|
-
return t && !
|
|
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,
|
|
321
|
-
if (
|
|
322
|
-
const a =
|
|
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 },
|
|
348
|
-
return
|
|
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,
|
|
370
|
+
const t = this.scrollNavigationAreaDim / 2, i = e * this.coachNavButtonDim - t + this.coachNavButtonDim;
|
|
371
371
|
this.navigationScrollArea.scrollTo({
|
|
372
|
-
top: this.alignVertical ?
|
|
373
|
-
left: this.alignVertical ? 0 :
|
|
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,
|
|
411
|
-
return (e <
|
|
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((
|
|
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],
|
|
428
|
-
return t &&
|
|
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
|
|
442
|
-
if (
|
|
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 && (
|
|
447
|
-
for (const c of
|
|
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 && (!
|
|
449
|
-
a !== null &&
|
|
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
|
|
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,
|
|
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
|
|
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 =
|
|
466
|
-
else
|
|
467
|
-
this._scrollToSelectedNavigationButton(
|
|
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(
|
|
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
|
|
478
|
-
this.scrollToSelectedNavCoach(
|
|
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",
|
|
492
|
-
this.selectedSeatReservationPlaces[t] = this._updateSelectedSeatReservationPlaces(
|
|
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,
|
|
499
|
-
if (
|
|
500
|
-
const
|
|
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((
|
|
503
|
+
e = e.filter((i) => i.id !== s.id);
|
|
504
504
|
if (t > -1 && e.length > t) {
|
|
505
|
-
const
|
|
506
|
-
e = this._resetAllPlaceSelections(e,
|
|
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),
|
|
511
|
+
const t = this._getDeckIndexByPlaceId(e.id), s = e.coachIndex;
|
|
512
512
|
if (t === null)
|
|
513
513
|
return;
|
|
514
|
-
const
|
|
515
|
-
if (!
|
|
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 =
|
|
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,
|
|
534
|
-
return "seat-reservation__place-button-" + e + "-" + t + "-" +
|
|
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((
|
|
547
|
-
for (let
|
|
548
|
-
const a = this.seatReservations[
|
|
549
|
-
if (
|
|
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
|
-
...
|
|
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[
|
|
558
|
+
this.seatReservations[i].coachItems.splice(e[i], 0, o);
|
|
559
559
|
}
|
|
560
|
-
e[
|
|
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((
|
|
570
|
-
|
|
571
|
-
const o = this.getPlaceElementId(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
|
|
583
|
-
if (!t || t.id !==
|
|
584
|
-
const
|
|
585
|
-
|
|
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((
|
|
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
|
|
593
|
-
return
|
|
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],
|
|
599
|
-
return be(e, t,
|
|
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,
|
|
625
|
-
const
|
|
626
|
-
this.seatReservations.map((c) => c.coachItems[
|
|
627
|
-
|
|
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(
|
|
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((
|
|
642
|
+
const t = e.graphicElements?.filter((s) => s.icon === "DRIVER_AREA");
|
|
643
643
|
if (t && t.length > 0) {
|
|
644
|
-
const
|
|
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: !!
|
|
647
|
-
right: !!
|
|
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(),
|
|
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 })],
|
|
697
|
-
t.seatReservations =
|
|
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,
|
|
699
|
-
t.hasNavigation =
|
|
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,
|
|
701
|
-
t.alignVertical =
|
|
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,
|
|
703
|
-
t.baseGridSize =
|
|
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,
|
|
705
|
-
t.height =
|
|
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,
|
|
707
|
-
t.maxSeatReservations =
|
|
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,
|
|
709
|
-
t.maxBicycleReservations =
|
|
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,
|
|
711
|
-
t.preventPlaceClick =
|
|
712
|
-
} }, metadata: e }, ee, te), f(h, null,
|
|
713
|
-
t.preselectCoachIndex =
|
|
714
|
-
} }, metadata: e },
|
|
715
|
-
t.selectedCoachIndex =
|
|
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,
|
|
717
|
-
t.focusedCoachIndex =
|
|
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,
|
|
719
|
-
t.hoveredCoachIndex =
|
|
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;
|
|
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;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,i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