@sbb-esta/lyne-elements-experimental 4.0.0-next.3 → 4.0.0
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 +27 -26
- package/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.d.ts.map +1 -1
- package/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.js +7 -8
- package/autocomplete-grid/autocomplete-grid-optgroup/autocomplete-grid-optgroup.component.d.ts +1 -1
- package/autocomplete-grid/autocomplete-grid-optgroup/autocomplete-grid-optgroup.component.d.ts.map +1 -1
- package/autocomplete-grid/autocomplete-grid-optgroup/autocomplete-grid-optgroup.component.js +17 -12
- package/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.d.ts +0 -1
- package/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.d.ts.map +1 -1
- package/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.js +19 -20
- package/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.js +12 -12
- package/core/timetable/access-leg-helper.d.ts +5 -5
- package/custom-elements.json +109 -152
- package/development/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.js +9 -8
- package/development/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.js +5 -5
- package/development/autocomplete-grid/autocomplete-grid-optgroup/autocomplete-grid-optgroup.component.d.ts +1 -1
- package/development/autocomplete-grid/autocomplete-grid-optgroup/autocomplete-grid-optgroup.component.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid-optgroup/autocomplete-grid-optgroup.component.js +11 -5
- package/development/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.d.ts +0 -1
- package/development/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.js +13 -18
- package/development/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.js +7 -7
- package/development/core/timetable/access-leg-helper.d.ts +5 -5
- package/development/core/timetable/access-leg-helper.js +1 -1
- package/development/seat-reservation/common/mapper/mapper.d.ts +3 -1
- package/development/seat-reservation/common/mapper/mapper.d.ts.map +1 -1
- package/development/seat-reservation/common/mapper/mapper.js +1 -1
- package/development/seat-reservation/common/mapper/seat-reservation-sample-data.d.ts +0 -88
- 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 +1 -815
- package/development/seat-reservation/seat-reservation/seat-reservation-base-element.d.ts +4 -4
- 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 +8 -9
- package/development/seat-reservation/seat-reservation/seat-reservation.component.d.ts +1 -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 +7 -7
- package/development/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.d.ts +1 -1
- package/development/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js +6 -6
- package/development/timetable-row/timetable-row.component.d.ts.map +1 -1
- package/development/timetable-row/timetable-row.component.js +7 -7
- package/package.json +2 -2
- package/seat-reservation/common/mapper/mapper.d.ts +3 -1
- package/seat-reservation/common/mapper/mapper.d.ts.map +1 -1
- package/seat-reservation/common/mapper/seat-reservation-sample-data.d.ts +0 -88
- package/seat-reservation/common/mapper/seat-reservation-sample-data.d.ts.map +1 -1
- package/seat-reservation/common/mapper/seat-reservation-sample-data.js +2 -815
- package/seat-reservation/seat-reservation/seat-reservation-base-element.d.ts +4 -4
- package/seat-reservation/seat-reservation/seat-reservation-base-element.d.ts.map +1 -1
- package/seat-reservation/seat-reservation/seat-reservation-base-element.js +8 -8
- package/seat-reservation/seat-reservation/seat-reservation.component.d.ts +1 -1
- package/seat-reservation/seat-reservation/seat-reservation.component.d.ts.map +1 -1
- package/seat-reservation/seat-reservation/seat-reservation.component.js +27 -27
- package/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.d.ts +1 -1
- package/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js +1 -1
- package/timetable-row/timetable-row.component.d.ts.map +1 -1
- package/timetable-row/timetable-row.component.js +18 -18
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LitElement, PropertyValues } from 'lit';
|
|
2
|
-
import { CoachNumberOfFreePlaces, ElementDimension, ElementPosition, Place, PlaceSelection, SeatReservation, SeatReservationSelectedPlaces
|
|
2
|
+
import { BaseElement, CoachNumberOfFreePlaces, ElementDimension, ElementPosition, NavigationCoachItem, Place, PlaceSelection, SeatReservation, SeatReservationSelectedPlaces } from '../common.ts';
|
|
3
3
|
declare enum ScrollDirection {
|
|
4
4
|
right = "right",
|
|
5
5
|
left = "left"
|
|
@@ -82,7 +82,7 @@ export declare class SeatReservationBaseElement extends LitElement {
|
|
|
82
82
|
/**
|
|
83
83
|
* Scroll event handler managed the end of scrolling inside the coach scroll area.
|
|
84
84
|
* Timeout event handling to check if the scrolling has been completed.
|
|
85
|
-
* It is required because the Safari browser does not handle scrollend event
|
|
85
|
+
* It is required because the Safari browser does not handle scrollend event,
|
|
86
86
|
* and we therefore imitate this event -> scrollend.
|
|
87
87
|
*/
|
|
88
88
|
protected coachAreaScrollend(): void;
|
|
@@ -162,7 +162,7 @@ export declare class SeatReservationBaseElement extends LitElement {
|
|
|
162
162
|
* Get the first place of current selected coach by table cell coordinate 0-0 id.
|
|
163
163
|
* @returns Place or null
|
|
164
164
|
*/
|
|
165
|
-
private
|
|
165
|
+
private _getFirstPlaceInSelectedCoach;
|
|
166
166
|
private _getSwitchedCoachDeckIndexByKeyNavigation;
|
|
167
167
|
/**
|
|
168
168
|
* To get the correct closest place of current pressed key and the current selected place,
|
|
@@ -230,7 +230,7 @@ export declare class SeatReservationBaseElement extends LitElement {
|
|
|
230
230
|
* @returns number
|
|
231
231
|
*/
|
|
232
232
|
private _getDeckIndexByPlaceId;
|
|
233
|
-
private
|
|
233
|
+
private _isValidCoachIndex;
|
|
234
234
|
/**
|
|
235
235
|
* Returns existing coach deck index depending on the selected coach.
|
|
236
236
|
* This method is necessary to get an available coach deck index during keyboard navigation, which can vary between coaches with different decks.
|
package/development/seat-reservation/seat-reservation/seat-reservation-base-element.d.ts.map
CHANGED
|
@@ -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,
|
|
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,g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