@sbb-esta/lyne-elements-experimental 5.0.2 → 5.1.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.js +1 -10
- package/autocomplete-grid.pure.js +12 -7
- package/core.js +31 -5
- package/development/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.d.ts +0 -1
- package/development/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.d.ts +4 -5
- package/development/autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.component.d.ts +1 -2
- package/development/autocomplete-grid/autocomplete-grid-optgroup/autocomplete-grid-optgroup.component.d.ts +2 -3
- package/development/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.d.ts +1 -2
- package/development/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.d.ts +1 -2
- package/development/autocomplete-grid.d.ts +0 -1
- package/development/autocomplete-grid.js +5 -10
- package/development/autocomplete-grid.pure.d.ts +0 -1
- package/development/autocomplete-grid.pure.js +328 -7
- package/development/core/datetime/date-helper.d.ts +0 -1
- package/development/core/timetable/access-leg-helper.d.ts +3 -3
- package/development/core/timetable/timetable-helper.d.ts +1 -2
- package/development/core/timetable/timetable-properties.d.ts +2 -1
- package/development/core.d.ts +0 -1
- package/development/core.js +1195 -5
- package/development/journey-summary/journey-summary.component.d.ts +3 -4
- package/development/journey-summary.d.ts +0 -1
- package/development/journey-summary.js +5 -5
- package/development/journey-summary.pure.d.ts +0 -1
- package/development/journey-summary.pure.js +2605 -2
- package/development/pearl-chain/pearl-chain.component.d.ts +2 -3
- package/development/pearl-chain-time/pearl-chain-time.component.d.ts +3 -4
- package/development/pearl-chain-time.d.ts +0 -1
- package/development/pearl-chain-time.js +5 -5
- package/development/pearl-chain-time.pure.d.ts +0 -1
- package/development/pearl-chain-time.pure.js +2582 -2
- package/development/pearl-chain-vertical/pearl-chain-vertical.component.d.ts +1 -2
- package/development/pearl-chain-vertical-item/pearl-chain-vertical-item.component.d.ts +1 -2
- package/development/pearl-chain-vertical-item.d.ts +0 -1
- package/development/pearl-chain-vertical-item.js +5 -5
- package/development/pearl-chain-vertical-item.pure.d.ts +0 -1
- package/development/pearl-chain-vertical-item.pure.js +132 -2
- package/development/pearl-chain-vertical.d.ts +0 -1
- package/development/pearl-chain-vertical.js +5 -5
- package/development/pearl-chain-vertical.pure.d.ts +0 -1
- package/development/pearl-chain-vertical.pure.js +31 -2
- package/development/pearl-chain.d.ts +0 -1
- package/development/pearl-chain.js +5 -5
- package/development/pearl-chain.pure.d.ts +0 -1
- package/development/pearl-chain.pure.js +619 -2
- package/development/seat-reservation/common/mapper/icon-mapper.d.ts +0 -1
- package/development/seat-reservation/common/mapper/mapper.d.ts +1 -2
- package/development/seat-reservation/common/mapper/sample-data/seat-reservation-sample-data-bus.private.d.ts +68 -0
- package/development/seat-reservation/common/mapper/sample-data/seat-reservation-sample-data-decks.private.d.ts +122 -0
- package/development/seat-reservation/common/mapper/sample-data/seat-reservation-sample-data-train.private.d.ts +68 -0
- package/development/seat-reservation/common/mapper.d.ts +0 -1
- package/development/seat-reservation/common/svgs.d.ts +20 -21
- package/development/seat-reservation/common/translations/i18n.d.ts +0 -1
- package/development/seat-reservation/common/translations.d.ts +0 -1
- package/development/seat-reservation/common/types.d.ts +0 -1
- package/development/seat-reservation/seat-reservation/seat-reservation-base-element.d.ts +2 -3
- package/development/seat-reservation/seat-reservation/seat-reservation.component.d.ts +2 -3
- package/development/seat-reservation/seat-reservation-area/seat-reservation-area.component.d.ts +1 -2
- package/development/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.d.ts +2 -3
- package/development/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.d.ts +3 -4
- package/development/seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.d.ts +2 -3
- package/development/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.d.ts +3 -4
- package/development/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.d.ts +1 -2
- package/development/seat-reservation.d.ts +0 -1
- package/development/seat-reservation.js +5 -16
- package/development/seat-reservation.pure.d.ts +0 -1
- package/development/seat-reservation.pure.js +16019 -14
- package/development/timetable-duration/timetable-duration.component.d.ts +1 -2
- package/development/timetable-duration.d.ts +0 -1
- package/development/timetable-duration.js +5 -5
- package/development/timetable-duration.pure.d.ts +0 -1
- package/development/timetable-duration.pure.js +97 -2
- package/development/timetable-row/timetable-row.component.d.ts +3 -4
- package/development/timetable-row.d.ts +0 -1
- package/development/timetable-row.js +5 -5
- package/development/timetable-row.pure.d.ts +0 -1
- package/development/timetable-row.pure.js +3005 -2
- package/journey-summary.js +1 -6
- package/journey-summary.pure.js +55 -2
- package/package.json +2 -2
- package/pearl-chain-time.js +1 -6
- package/pearl-chain-time.pure.js +28 -2
- package/pearl-chain-vertical-item.js +1 -6
- package/pearl-chain-vertical-item.pure.js +26 -2
- package/pearl-chain-vertical.js +1 -6
- package/pearl-chain-vertical.pure.js +6 -2
- package/pearl-chain.js +1 -6
- package/pearl-chain.pure.js +27 -2
- package/seat-reservation.js +1 -16
- package/seat-reservation.pure.js +468 -14
- package/timetable-duration.js +1 -6
- package/timetable-duration.pure.js +9 -2
- package/timetable-row.js +1 -6
- package/timetable-row.pure.js +113 -2
- package/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.js +0 -65
- package/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.js +0 -44
- package/autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.component.js +0 -2
- package/autocomplete-grid/autocomplete-grid-optgroup/autocomplete-grid-optgroup.component.js +0 -21
- package/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.js +0 -2
- package/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.js +0 -2
- package/autocomplete-grid-cell.component-79IjA__I.js +0 -23
- package/autocomplete-grid-option.component-DUFBhQwI.js +0 -35
- package/autocomplete-grid-row.component-B3U15Rwa.js +0 -26
- package/core/datetime/date-helper.js +0 -2
- package/core/timetable/access-leg-helper.js +0 -96
- package/core/timetable/timetable-helper.js +0 -10
- package/core/timetable/timetable-properties.js +0 -0
- package/date-helper-DNzMLcyb.js +0 -185
- package/development/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.d.ts.map +0 -1
- package/development/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.js +0 -118
- package/development/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.d.ts.map +0 -1
- package/development/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.js +0 -69
- package/development/autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.component.d.ts.map +0 -1
- package/development/autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.component.js +0 -2
- package/development/autocomplete-grid/autocomplete-grid-optgroup/autocomplete-grid-optgroup.component.d.ts.map +0 -1
- package/development/autocomplete-grid/autocomplete-grid-optgroup/autocomplete-grid-optgroup.component.js +0 -30
- package/development/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.d.ts.map +0 -1
- package/development/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.js +0 -2
- package/development/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.d.ts.map +0 -1
- package/development/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.js +0 -2
- package/development/autocomplete-grid-cell.component-BbdELDro.js +0 -33
- package/development/autocomplete-grid-option.component-C7WuqRit.js +0 -57
- package/development/autocomplete-grid-row.component-DoXbOsQM.js +0 -38
- package/development/autocomplete-grid.d.ts.map +0 -1
- package/development/autocomplete-grid.pure.d.ts.map +0 -1
- package/development/core/datetime/date-helper.d.ts.map +0 -1
- package/development/core/datetime/date-helper.js +0 -2
- package/development/core/timetable/access-leg-helper.d.ts.map +0 -1
- package/development/core/timetable/access-leg-helper.js +0 -147
- package/development/core/timetable/timetable-helper.d.ts.map +0 -1
- package/development/core/timetable/timetable-helper.js +0 -19
- package/development/core/timetable/timetable-properties.d.ts.map +0 -1
- package/development/core/timetable/timetable-properties.js +0 -0
- package/development/core.d.ts.map +0 -1
- package/development/date-helper-BcTDWVeP.js +0 -539
- package/development/differenceInMinutes-CxAbGYQ3.js +0 -110
- package/development/format-Cx3zmmaF.js +0 -1848
- package/development/isValid-40Olgzo1.js +0 -178
- package/development/journey-summary/journey-summary.component.d.ts.map +0 -1
- package/development/journey-summary/journey-summary.component.js +0 -2
- package/development/journey-summary.component-BsC7wBIn.js +0 -341
- package/development/journey-summary.d.ts.map +0 -1
- package/development/journey-summary.pure.d.ts.map +0 -1
- package/development/mapper-BrZOqqfe.js +0 -11454
- package/development/pearl-chain/pearl-chain.component.d.ts.map +0 -1
- package/development/pearl-chain/pearl-chain.component.js +0 -2
- package/development/pearl-chain-time/pearl-chain-time.component.d.ts.map +0 -1
- package/development/pearl-chain-time/pearl-chain-time.component.js +0 -2
- package/development/pearl-chain-time.component-C-CuC1ke.js +0 -317
- package/development/pearl-chain-time.d.ts.map +0 -1
- package/development/pearl-chain-time.pure.d.ts.map +0 -1
- package/development/pearl-chain-vertical/pearl-chain-vertical.component.d.ts.map +0 -1
- package/development/pearl-chain-vertical/pearl-chain-vertical.component.js +0 -2
- package/development/pearl-chain-vertical-item/pearl-chain-vertical-item.component.d.ts.map +0 -1
- package/development/pearl-chain-vertical-item/pearl-chain-vertical-item.component.js +0 -2
- package/development/pearl-chain-vertical-item.component-CLu9QrqJ.js +0 -131
- package/development/pearl-chain-vertical-item.d.ts.map +0 -1
- package/development/pearl-chain-vertical-item.pure.d.ts.map +0 -1
- package/development/pearl-chain-vertical.component-DbPz5k_R.js +0 -30
- package/development/pearl-chain-vertical.d.ts.map +0 -1
- package/development/pearl-chain-vertical.pure.d.ts.map +0 -1
- package/development/pearl-chain.component-10OsJZIX.js +0 -318
- package/development/pearl-chain.d.ts.map +0 -1
- package/development/pearl-chain.pure.d.ts.map +0 -1
- package/development/seat-reservation/common/mapper/icon-mapper.d.ts.map +0 -1
- package/development/seat-reservation/common/mapper/icon-mapper.js +0 -170
- package/development/seat-reservation/common/mapper/mapper.d.ts.map +0 -1
- package/development/seat-reservation/common/mapper/mapper.js +0 -2
- package/development/seat-reservation/common/mapper.d.ts.map +0 -1
- package/development/seat-reservation/common/mapper.js +0 -3
- package/development/seat-reservation/common/svgs.d.ts.map +0 -1
- package/development/seat-reservation/common/svgs.js +0 -2
- package/development/seat-reservation/common/translations/i18n.d.ts.map +0 -1
- package/development/seat-reservation/common/translations/i18n.js +0 -1120
- package/development/seat-reservation/common/translations.d.ts.map +0 -1
- package/development/seat-reservation/common/translations.js +0 -2
- package/development/seat-reservation/common/types.d.ts.map +0 -1
- package/development/seat-reservation/common/types.js +0 -0
- package/development/seat-reservation/seat-reservation/seat-reservation-base-element.d.ts.map +0 -1
- package/development/seat-reservation/seat-reservation/seat-reservation-base-element.js +0 -1476
- package/development/seat-reservation/seat-reservation/seat-reservation.component.d.ts.map +0 -1
- package/development/seat-reservation/seat-reservation/seat-reservation.component.js +0 -2
- package/development/seat-reservation/seat-reservation-area/seat-reservation-area.component.d.ts.map +0 -1
- package/development/seat-reservation/seat-reservation-area/seat-reservation-area.component.js +0 -2
- package/development/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.d.ts.map +0 -1
- package/development/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js +0 -2
- package/development/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.d.ts.map +0 -1
- package/development/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js +0 -2
- package/development/seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.d.ts.map +0 -1
- package/development/seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js +0 -2
- package/development/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.d.ts.map +0 -1
- package/development/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js +0 -2
- package/development/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.d.ts.map +0 -1
- package/development/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.js +0 -2
- package/development/seat-reservation-area.component-DPhQJFid.js +0 -94
- package/development/seat-reservation-graphic.component-0LYsmerm.js +0 -129
- package/development/seat-reservation-navigation-coach.component-B97jKD7Y.js +0 -438
- package/development/seat-reservation-navigation-services.component-Cx0Is97w.js +0 -159
- package/development/seat-reservation-place-control.component-DaL1g8WH.js +0 -431
- package/development/seat-reservation-scoped.component-BHbORVsR.js +0 -24
- package/development/seat-reservation.component-DI9pSlzt.js +0 -473
- package/development/seat-reservation.d.ts.map +0 -1
- package/development/seat-reservation.pure.d.ts.map +0 -1
- package/development/svgs-Dj-RKmRs.js +0 -28
- package/development/timetable-duration/timetable-duration.component.d.ts.map +0 -1
- package/development/timetable-duration/timetable-duration.component.js +0 -2
- package/development/timetable-duration.component-Chk5D4Is.js +0 -96
- package/development/timetable-duration.d.ts.map +0 -1
- package/development/timetable-duration.pure.d.ts.map +0 -1
- package/development/timetable-row/timetable-row.component.d.ts.map +0 -1
- package/development/timetable-row/timetable-row.component.js +0 -2
- package/development/timetable-row.component-nzrQzxL6.js +0 -736
- package/development/timetable-row.d.ts.map +0 -1
- package/development/timetable-row.pure.d.ts.map +0 -1
- package/development/toDate-CDWut5fS.js +0 -150
- package/differenceInMinutes-BAZ-Fham.js +0 -27
- package/format-DjgG1QPc.js +0 -1103
- package/isValid-CXnsFZVu.js +0 -36
- package/journey-summary/journey-summary.component.js +0 -2
- package/journey-summary.component-DNoO3OCf.js +0 -265
- package/mapper-Dcou8VEf.js +0 -11382
- package/pearl-chain/pearl-chain.component.js +0 -2
- package/pearl-chain-time/pearl-chain-time.component.js +0 -2
- package/pearl-chain-time.component-BuvA6IE1.js +0 -237
- package/pearl-chain-vertical/pearl-chain-vertical.component.js +0 -2
- package/pearl-chain-vertical-item/pearl-chain-vertical-item.component.js +0 -2
- package/pearl-chain-vertical-item.component-QZ4s8Jbv.js +0 -106
- package/pearl-chain-vertical.component-Dc3vaHsQ.js +0 -20
- package/pearl-chain.component-DtGXXkY6.js +0 -190
- package/seat-reservation/common/mapper/icon-mapper.js +0 -72
- package/seat-reservation/common/mapper/mapper.js +0 -2
- package/seat-reservation/common/mapper.js +0 -3
- package/seat-reservation/common/svgs.js +0 -2
- package/seat-reservation/common/translations/i18n.js +0 -1085
- package/seat-reservation/common/translations.js +0 -2
- package/seat-reservation/common/types.js +0 -0
- package/seat-reservation/seat-reservation/seat-reservation-base-element.js +0 -926
- package/seat-reservation/seat-reservation/seat-reservation.component.js +0 -2
- package/seat-reservation/seat-reservation-area/seat-reservation-area.component.js +0 -2
- package/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js +0 -2
- package/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js +0 -2
- package/seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js +0 -2
- package/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js +0 -2
- package/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.js +0 -2
- package/seat-reservation-area.component-G9lHb7S8.js +0 -73
- package/seat-reservation-graphic.component-BXFcQDxY.js +0 -102
- package/seat-reservation-navigation-coach.component-BXy8EkJe.js +0 -338
- package/seat-reservation-navigation-services.component-49XmV9rv.js +0 -124
- package/seat-reservation-place-control.component-DToIW328.js +0 -317
- package/seat-reservation-scoped.component-D8dAmrP7.js +0 -16
- package/seat-reservation.component--0XnrCkk.js +0 -372
- package/svgs-D4fuYTHV.js +0 -26
- package/timetable-duration/timetable-duration.component.js +0 -2
- package/timetable-duration.component-iMCvh1zr.js +0 -61
- package/timetable-row/timetable-row.component.js +0 -2
- package/timetable-row.component-mNKmhRmP.js +0 -566
- package/toDate-BhNUyM4s.js +0 -16
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
export declare const MOCK_COACHES_RAW_BUS: {
|
|
2
|
+
warnings: null;
|
|
3
|
+
coachDeckLayout: {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
dimension: {
|
|
7
|
+
width: number;
|
|
8
|
+
height: number;
|
|
9
|
+
borderRadius: null;
|
|
10
|
+
};
|
|
11
|
+
lowFloorEntry: boolean;
|
|
12
|
+
deckLevel: string;
|
|
13
|
+
placeGroups: {
|
|
14
|
+
travelClass: string;
|
|
15
|
+
accommodationSubType: string;
|
|
16
|
+
places: {
|
|
17
|
+
number: string;
|
|
18
|
+
rectangle: {
|
|
19
|
+
position: {
|
|
20
|
+
x: number;
|
|
21
|
+
y: number;
|
|
22
|
+
z: number;
|
|
23
|
+
};
|
|
24
|
+
dimension: {
|
|
25
|
+
width: number;
|
|
26
|
+
height: number;
|
|
27
|
+
borderRadius: null;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
orientation: number;
|
|
31
|
+
placeLocations: string[];
|
|
32
|
+
placeProperties: string[];
|
|
33
|
+
state: string;
|
|
34
|
+
}[];
|
|
35
|
+
}[];
|
|
36
|
+
graphicElements: {
|
|
37
|
+
rectangle: {
|
|
38
|
+
position: {
|
|
39
|
+
x: number;
|
|
40
|
+
y: number;
|
|
41
|
+
z: number;
|
|
42
|
+
};
|
|
43
|
+
dimension: {
|
|
44
|
+
width: number;
|
|
45
|
+
height: number;
|
|
46
|
+
borderRadius: null;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
orientation: number;
|
|
50
|
+
type: string;
|
|
51
|
+
}[];
|
|
52
|
+
serviceIcons: {
|
|
53
|
+
rectangle: {
|
|
54
|
+
position: {
|
|
55
|
+
x: number;
|
|
56
|
+
y: number;
|
|
57
|
+
z: number;
|
|
58
|
+
};
|
|
59
|
+
dimension: {
|
|
60
|
+
width: number;
|
|
61
|
+
height: number;
|
|
62
|
+
borderRadius: null;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
type: string;
|
|
66
|
+
}[];
|
|
67
|
+
};
|
|
68
|
+
}[];
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
export declare const MOCK_COACHE_RAW_DECK_LOWER: {
|
|
2
|
+
warnings: null;
|
|
3
|
+
coachDeckLayout: {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
dimension: {
|
|
7
|
+
width: number;
|
|
8
|
+
height: number;
|
|
9
|
+
borderRadius: null;
|
|
10
|
+
};
|
|
11
|
+
lowFloorEntry: boolean;
|
|
12
|
+
deckLevel: string;
|
|
13
|
+
placeGroups: {
|
|
14
|
+
travelClass: string;
|
|
15
|
+
accommodationSubType: string;
|
|
16
|
+
places: {
|
|
17
|
+
number: string;
|
|
18
|
+
rectangle: {
|
|
19
|
+
position: {
|
|
20
|
+
x: number;
|
|
21
|
+
y: number;
|
|
22
|
+
z: number;
|
|
23
|
+
};
|
|
24
|
+
dimension: {
|
|
25
|
+
width: number;
|
|
26
|
+
height: number;
|
|
27
|
+
borderRadius: null;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
orientation: number;
|
|
31
|
+
placeLocations: string[];
|
|
32
|
+
placeProperties: string[];
|
|
33
|
+
state: string;
|
|
34
|
+
}[];
|
|
35
|
+
}[];
|
|
36
|
+
graphicElements: {
|
|
37
|
+
rectangle: {
|
|
38
|
+
position: {
|
|
39
|
+
x: number;
|
|
40
|
+
y: number;
|
|
41
|
+
z: number;
|
|
42
|
+
};
|
|
43
|
+
dimension: {
|
|
44
|
+
width: number;
|
|
45
|
+
height: number;
|
|
46
|
+
borderRadius: null;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
orientation: number;
|
|
50
|
+
type: string;
|
|
51
|
+
}[];
|
|
52
|
+
serviceIcons: {
|
|
53
|
+
rectangle: {
|
|
54
|
+
position: {
|
|
55
|
+
x: number;
|
|
56
|
+
y: number;
|
|
57
|
+
z: number;
|
|
58
|
+
};
|
|
59
|
+
dimension: {
|
|
60
|
+
width: number;
|
|
61
|
+
height: number;
|
|
62
|
+
borderRadius: null;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
type: string;
|
|
66
|
+
}[];
|
|
67
|
+
};
|
|
68
|
+
}[];
|
|
69
|
+
export declare const MOCK_COACHE_RAW_DECK_UPPPER: {
|
|
70
|
+
warnings: null;
|
|
71
|
+
coachDeckLayout: {
|
|
72
|
+
id: string;
|
|
73
|
+
name: string;
|
|
74
|
+
dimension: {
|
|
75
|
+
width: number;
|
|
76
|
+
height: number;
|
|
77
|
+
borderRadius: null;
|
|
78
|
+
};
|
|
79
|
+
lowFloorEntry: boolean;
|
|
80
|
+
deckLevel: string;
|
|
81
|
+
placeGroups: {
|
|
82
|
+
travelClass: string;
|
|
83
|
+
accommodationSubType: string;
|
|
84
|
+
places: {
|
|
85
|
+
number: string;
|
|
86
|
+
rectangle: {
|
|
87
|
+
position: {
|
|
88
|
+
x: number;
|
|
89
|
+
y: number;
|
|
90
|
+
z: number;
|
|
91
|
+
};
|
|
92
|
+
dimension: {
|
|
93
|
+
width: number;
|
|
94
|
+
height: number;
|
|
95
|
+
borderRadius: null;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
orientation: number;
|
|
99
|
+
placeLocations: string[];
|
|
100
|
+
placeProperties: string[];
|
|
101
|
+
state: string;
|
|
102
|
+
}[];
|
|
103
|
+
}[];
|
|
104
|
+
graphicElements: {
|
|
105
|
+
rectangle: {
|
|
106
|
+
position: {
|
|
107
|
+
x: number;
|
|
108
|
+
y: number;
|
|
109
|
+
z: number;
|
|
110
|
+
};
|
|
111
|
+
dimension: {
|
|
112
|
+
width: number;
|
|
113
|
+
height: number;
|
|
114
|
+
borderRadius: null;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
orientation: number;
|
|
118
|
+
type: string;
|
|
119
|
+
}[];
|
|
120
|
+
serviceIcons: never[];
|
|
121
|
+
};
|
|
122
|
+
}[];
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
export declare const MOCK_COACHES_RAW_TRAIN: {
|
|
2
|
+
warnings: null;
|
|
3
|
+
coachDeckLayout: {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
dimension: {
|
|
7
|
+
width: number;
|
|
8
|
+
height: number;
|
|
9
|
+
borderRadius: null;
|
|
10
|
+
};
|
|
11
|
+
lowFloorEntry: boolean;
|
|
12
|
+
deckLevel: string;
|
|
13
|
+
placeGroups: {
|
|
14
|
+
travelClass: string;
|
|
15
|
+
accommodationSubType: string;
|
|
16
|
+
places: {
|
|
17
|
+
number: string;
|
|
18
|
+
rectangle: {
|
|
19
|
+
position: {
|
|
20
|
+
x: number;
|
|
21
|
+
y: number;
|
|
22
|
+
z: number;
|
|
23
|
+
};
|
|
24
|
+
dimension: {
|
|
25
|
+
width: number;
|
|
26
|
+
height: number;
|
|
27
|
+
borderRadius: null;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
orientation: number;
|
|
31
|
+
placeLocations: string[];
|
|
32
|
+
placeProperties: string[];
|
|
33
|
+
state: string;
|
|
34
|
+
}[];
|
|
35
|
+
}[];
|
|
36
|
+
graphicElements: {
|
|
37
|
+
rectangle: {
|
|
38
|
+
position: {
|
|
39
|
+
x: number;
|
|
40
|
+
y: number;
|
|
41
|
+
z: number;
|
|
42
|
+
};
|
|
43
|
+
dimension: {
|
|
44
|
+
width: number;
|
|
45
|
+
height: number;
|
|
46
|
+
borderRadius: null;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
orientation: number;
|
|
50
|
+
type: string;
|
|
51
|
+
}[];
|
|
52
|
+
serviceIcons: {
|
|
53
|
+
rectangle: {
|
|
54
|
+
position: {
|
|
55
|
+
x: number;
|
|
56
|
+
y: number;
|
|
57
|
+
z: number;
|
|
58
|
+
};
|
|
59
|
+
dimension: {
|
|
60
|
+
width: number;
|
|
61
|
+
height: number;
|
|
62
|
+
borderRadius: null;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
type: string;
|
|
66
|
+
}[];
|
|
67
|
+
};
|
|
68
|
+
}[];
|
|
@@ -1,24 +1,23 @@
|
|
|
1
1
|
declare const svgs: {
|
|
2
|
-
chassisDriverBus:
|
|
3
|
-
chassisDriverTrain:
|
|
4
|
-
chassisDriverTrainFull:
|
|
5
|
-
chassisPassageCompartmentLeftTop:
|
|
6
|
-
chassisPassageCompartmentMiddle:
|
|
7
|
-
chassisPassageCompartmentRightBottom:
|
|
8
|
-
chassisPassageWaggonBottomRight:
|
|
9
|
-
chassisPassageWaggonTopLeft:
|
|
10
|
-
chassisRowOuter:
|
|
11
|
-
chassisRowMiddle:
|
|
12
|
-
chassisSeparator:
|
|
13
|
-
interiorPlaceBikeDefault:
|
|
14
|
-
interiorPlaceBikeNotBookable:
|
|
15
|
-
interiorPlaceBikeSelected:
|
|
16
|
-
interiorPlaceBikeUnavailable:
|
|
17
|
-
interiorPlaceSeatDefault:
|
|
18
|
-
interiorPlaceSeatNotBookable:
|
|
19
|
-
interiorPlaceSeatSelected:
|
|
20
|
-
interiorPlaceSeatUnavailable:
|
|
21
|
-
layoutEntrance:
|
|
2
|
+
chassisDriverBus: any;
|
|
3
|
+
chassisDriverTrain: any;
|
|
4
|
+
chassisDriverTrainFull: any;
|
|
5
|
+
chassisPassageCompartmentLeftTop: any;
|
|
6
|
+
chassisPassageCompartmentMiddle: any;
|
|
7
|
+
chassisPassageCompartmentRightBottom: any;
|
|
8
|
+
chassisPassageWaggonBottomRight: any;
|
|
9
|
+
chassisPassageWaggonTopLeft: any;
|
|
10
|
+
chassisRowOuter: any;
|
|
11
|
+
chassisRowMiddle: any;
|
|
12
|
+
chassisSeparator: any;
|
|
13
|
+
interiorPlaceBikeDefault: any;
|
|
14
|
+
interiorPlaceBikeNotBookable: any;
|
|
15
|
+
interiorPlaceBikeSelected: any;
|
|
16
|
+
interiorPlaceBikeUnavailable: any;
|
|
17
|
+
interiorPlaceSeatDefault: any;
|
|
18
|
+
interiorPlaceSeatNotBookable: any;
|
|
19
|
+
interiorPlaceSeatSelected: any;
|
|
20
|
+
interiorPlaceSeatUnavailable: any;
|
|
21
|
+
layoutEntrance: any;
|
|
22
22
|
};
|
|
23
23
|
export { svgs };
|
|
24
|
-
//# sourceMappingURL=svgs.d.ts.map
|
|
@@ -98,4 +98,3 @@ export type PlaceTravelClass = 'FIRST' | 'SECOND' | 'ANY_CLASS';
|
|
|
98
98
|
export type VehicleType = 'TRAIN' | 'BUS';
|
|
99
99
|
export type TravelDirection = 'LEFT' | 'RIGHT' | 'NONE';
|
|
100
100
|
export type ElementMounting = 'free' | 'upper-border' | 'lower-border';
|
|
101
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SbbElement } from '@sbb-esta/lyne-elements/core.js';
|
|
2
|
-
import { PropertyValues } from 'lit';
|
|
3
|
-
import { BaseElement, CoachItemDetails, CoachNumberOfFreePlaces, ElementDimension, ElementPosition, Place, PlaceSelection, SeatReservation, SeatReservationSelectedCoach, SeatReservationSelectedPlaces, TravelDirection } from '../common/types.ts';
|
|
2
|
+
import { type PropertyValues } from 'lit';
|
|
3
|
+
import type { BaseElement, CoachItemDetails, CoachNumberOfFreePlaces, ElementDimension, ElementPosition, Place, PlaceSelection, SeatReservation, SeatReservationSelectedCoach, SeatReservationSelectedPlaces, TravelDirection } from '../common/types.ts';
|
|
4
4
|
declare enum ScrollDirection {
|
|
5
5
|
right = "right",
|
|
6
6
|
left = "left"
|
|
@@ -332,4 +332,3 @@ export declare class SeatReservationBaseElement extends SbbElement {
|
|
|
332
332
|
private _onLeaveSeatReservationComponent;
|
|
333
333
|
}
|
|
334
334
|
export {};
|
|
335
|
-
//# sourceMappingURL=seat-reservation-base-element.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SbbElementType } from '@sbb-esta/lyne-elements/core.js';
|
|
2
|
-
import { CSSResultGroup, PropertyValues, TemplateResult } from 'lit';
|
|
1
|
+
import { type SbbElementType } from '@sbb-esta/lyne-elements/core.js';
|
|
2
|
+
import type { CSSResultGroup, PropertyValues, TemplateResult } from 'lit';
|
|
3
3
|
import { SeatReservationBaseElement } from './seat-reservation-base-element.ts';
|
|
4
4
|
/**
|
|
5
5
|
* Main component for the seat reservation.
|
|
@@ -65,4 +65,3 @@ declare global {
|
|
|
65
65
|
'sbb-seat-reservation': SbbSeatReservationElement;
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
//# sourceMappingURL=seat-reservation.component.d.ts.map
|
package/development/seat-reservation/seat-reservation-area/seat-reservation-area.component.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SbbElement } from '@sbb-esta/lyne-elements/core.js';
|
|
2
|
-
import { CSSResultGroup, TemplateResult } from 'lit';
|
|
2
|
+
import { type CSSResultGroup, type TemplateResult } from 'lit';
|
|
3
3
|
/**
|
|
4
4
|
* Visualize an area with a special meaning within a wagon.
|
|
5
5
|
*/
|
|
@@ -17,4 +17,3 @@ declare global {
|
|
|
17
17
|
'sbb-seat-reservation-area': SbbSeatReservationAreaElement;
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
-
//# sourceMappingURL=seat-reservation-area.component.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SbbElement, SbbElementType } from '@sbb-esta/lyne-elements/core.js';
|
|
2
|
-
import { CSSResultGroup, TemplateResult } from 'lit';
|
|
1
|
+
import { SbbElement, type SbbElementType } from '@sbb-esta/lyne-elements/core.js';
|
|
2
|
+
import { type CSSResultGroup, type TemplateResult } from 'lit';
|
|
3
3
|
/**
|
|
4
4
|
* Output one of the SVG graphics based on its code.
|
|
5
5
|
*/
|
|
@@ -20,4 +20,3 @@ declare global {
|
|
|
20
20
|
'sbb-seat-reservation-graphic': SbbSeatReservationGraphicElement;
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
-
//# sourceMappingURL=seat-reservation-graphic.component.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { SbbElement, SbbElementType } from '@sbb-esta/lyne-elements/core.js';
|
|
2
|
-
import { CSSResultGroup, PropertyValues, TemplateResult } from 'lit';
|
|
3
|
-
import { CoachItemDetails } from '../common/types.ts';
|
|
1
|
+
import { SbbElement, type SbbElementType } from '@sbb-esta/lyne-elements/core.js';
|
|
2
|
+
import { type CSSResultGroup, type PropertyValues, type TemplateResult } from 'lit';
|
|
3
|
+
import type { CoachItemDetails } from '../common/types.ts';
|
|
4
4
|
export declare class SbbSelectCoachEvent extends Event {
|
|
5
5
|
private readonly _coachIndex;
|
|
6
6
|
get coachIndex(): number;
|
|
@@ -58,4 +58,3 @@ declare global {
|
|
|
58
58
|
'sbb-seat-reservation-navigation-coach': SbbSeatReservationNavigationCoachElement;
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
|
-
//# sourceMappingURL=seat-reservation-navigation-coach.component.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SbbElement, SbbElementType } from '@sbb-esta/lyne-elements/core.js';
|
|
2
|
-
import { CSSResultGroup, TemplateResult } from 'lit';
|
|
1
|
+
import { SbbElement, type SbbElementType } from '@sbb-esta/lyne-elements/core.js';
|
|
2
|
+
import { type CSSResultGroup, type TemplateResult } from 'lit';
|
|
3
3
|
/**
|
|
4
4
|
* Component displays the available service icons of one coach.
|
|
5
5
|
*
|
|
@@ -23,4 +23,3 @@ declare global {
|
|
|
23
23
|
'sbb-seat-reservation-navigation-services': SbbSeatReservationNavigationServicesElement;
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
//# sourceMappingURL=seat-reservation-navigation-services.component.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { SbbButtonBaseElement, SbbElementType } from '@sbb-esta/lyne-elements/core.js';
|
|
2
|
-
import { CSSResultGroup, PropertyValues, TemplateResult } from 'lit';
|
|
3
|
-
import { PlaceSelection, PlaceState, PlaceType, TravelDirection } from '../common/types.ts';
|
|
1
|
+
import { SbbButtonBaseElement, type SbbElementType } from '@sbb-esta/lyne-elements/core.js';
|
|
2
|
+
import { type CSSResultGroup, type PropertyValues, type TemplateResult } from 'lit';
|
|
3
|
+
import type { PlaceSelection, PlaceState, PlaceType, TravelDirection } from '../common/types.ts';
|
|
4
4
|
export declare class SbbPlaceSelectionEvent extends Event {
|
|
5
5
|
private readonly _detail;
|
|
6
6
|
get detail(): PlaceSelection;
|
|
@@ -51,4 +51,3 @@ declare global {
|
|
|
51
51
|
'sbb-seat-reservation-place-control': SbbSeatReservationPlaceControlElement;
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
//# sourceMappingURL=seat-reservation-place-control.component.d.ts.map
|
package/development/seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SbbElement } from '@sbb-esta/lyne-elements/core.js';
|
|
2
|
-
import { CSSResultGroup, TemplateResult } from 'lit';
|
|
2
|
+
import { type CSSResultGroup, type TemplateResult } from 'lit';
|
|
3
3
|
/**
|
|
4
4
|
* Wrapper class for scoped elements with similar properties to set.
|
|
5
5
|
*/
|
|
@@ -13,4 +13,3 @@ declare global {
|
|
|
13
13
|
'sbb-seat-reservation-scoped': SbbSeatReservationScopedElement;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
//# sourceMappingURL=seat-reservation-scoped.component.d.ts.map
|
|
@@ -1,16 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { t as SbbSeatReservationAreaElement } from "./seat-reservation-area.component-DPhQJFid.js";
|
|
6
|
-
import { t as SbbSeatReservationGraphicElement } from "./seat-reservation-graphic.component-0LYsmerm.js";
|
|
7
|
-
import { n as SbbSelectCoachEvent, t as SbbSeatReservationNavigationCoachElement } from "./seat-reservation-navigation-coach.component-B97jKD7Y.js";
|
|
8
|
-
import { t as SbbSeatReservationNavigationServicesElement } from "./seat-reservation-navigation-services.component-Cx0Is97w.js";
|
|
9
|
-
import { n as SbbSeatReservationPlaceControlElement, t as SbbPlaceSelectionEvent } from "./seat-reservation-place-control.component-DaL1g8WH.js";
|
|
10
|
-
import { t as SbbSeatReservationScopedElement } from "./seat-reservation-scoped.component-BHbORVsR.js";
|
|
11
|
-
import { SbbSeatReservationSelectedCoachEvent, SbbSeatReservationSelectedPlacesEvent, SeatReservationBaseElement } from "./seat-reservation/seat-reservation/seat-reservation-base-element.js";
|
|
12
|
-
import { t as SbbSeatReservationElement } from "./seat-reservation.component-DI9pSlzt.js";
|
|
13
|
-
import "./seat-reservation.pure.js";
|
|
1
|
+
import { SbbSeatReservationAreaElement, SbbSeatReservationElement, SbbSeatReservationGraphicElement, SbbSeatReservationNavigationCoachElement, SbbSeatReservationNavigationServicesElement, SbbSeatReservationPlaceControlElement, SbbSeatReservationScopedElement } from "./seat-reservation.pure.js";
|
|
2
|
+
|
|
3
|
+
export * from "./seat-reservation.pure.js"
|
|
4
|
+
|
|
14
5
|
//#region src/elements-experimental/seat-reservation.ts
|
|
15
6
|
/** @entrypoint */
|
|
16
7
|
SbbSeatReservationElement.define();
|
|
@@ -20,7 +11,5 @@ SbbSeatReservationNavigationCoachElement.define();
|
|
|
20
11
|
SbbSeatReservationNavigationServicesElement.define();
|
|
21
12
|
SbbSeatReservationPlaceControlElement.define();
|
|
22
13
|
SbbSeatReservationScopedElement.define();
|
|
23
|
-
//#endregion
|
|
24
|
-
export { SbbPlaceSelectionEvent, SbbSeatReservationAreaElement, SbbSeatReservationElement, SbbSeatReservationGraphicElement, SbbSeatReservationNavigationCoachElement, SbbSeatReservationNavigationServicesElement, SbbSeatReservationPlaceControlElement, SbbSeatReservationScopedElement, SbbSeatReservationSelectedCoachEvent, SbbSeatReservationSelectedPlacesEvent, SbbSelectCoachEvent, SeatReservationBaseElement, getI18nSeatReservation, mapCoachInfosToCoachSelection, mapIconToSvg, mapPlaceAndCoachToSeatReservationPlaceSelection, mapPlaceInfosToPlaceSelection, mapRawDataToSeatReservation, svgs };
|
|
25
14
|
|
|
26
|
-
//#
|
|
15
|
+
//#endregion
|
|
@@ -11,4 +11,3 @@ export * from './seat-reservation/seat-reservation-place-control/seat-reservatio
|
|
|
11
11
|
export * from './seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.ts';
|
|
12
12
|
export * from './seat-reservation/seat-reservation/seat-reservation-base-element.ts';
|
|
13
13
|
export * from './seat-reservation/seat-reservation/seat-reservation.component.ts';
|
|
14
|
-
//# sourceMappingURL=seat-reservation.pure.d.ts.map
|