@sbb-esta/lyne-elements-experimental 2.10.0 → 2.11.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/custom-elements.json +4286 -0
- package/development/seat-reservation/common/mapper/icon-mapper.d.ts +112 -0
- package/development/seat-reservation/common/mapper/icon-mapper.d.ts.map +1 -0
- package/development/seat-reservation/common/mapper/icon-mapper.js +72 -0
- package/development/seat-reservation/common/mapper/mapper.d.ts +29 -0
- package/development/seat-reservation/common/mapper/mapper.d.ts.map +1 -0
- package/development/seat-reservation/common/mapper/mapper.js +117 -0
- package/development/seat-reservation/common/mapper/seat-reservation-sample-data.d.ts +225 -0
- package/development/seat-reservation/common/mapper/seat-reservation-sample-data.d.ts.map +1 -0
- package/development/seat-reservation/common/mapper/seat-reservation-sample-data.js +6152 -0
- package/development/seat-reservation/common/mapper.d.ts +3 -0
- package/development/seat-reservation/common/mapper.d.ts.map +1 -0
- package/development/seat-reservation/common/mapper.js +10 -0
- package/development/seat-reservation/common/svgs.d.ts +25 -0
- package/development/seat-reservation/common/svgs.d.ts.map +1 -0
- package/development/seat-reservation/common/svgs.js +48 -0
- package/development/seat-reservation/common/translations/i18n.d.ts +19 -0
- package/development/seat-reservation/common/translations/i18n.d.ts.map +1 -0
- package/development/seat-reservation/common/translations/i18n.js +462 -0
- package/development/seat-reservation/common/translations.d.ts +2 -0
- package/development/seat-reservation/common/translations.d.ts.map +1 -0
- package/development/seat-reservation/common/translations.js +5 -0
- package/development/seat-reservation/common.d.ts +5 -0
- package/development/seat-reservation/common.d.ts.map +1 -0
- package/development/seat-reservation/common.js +18 -0
- package/development/seat-reservation/seat-reservation/seat-reservation-base-element.d.ts +156 -0
- package/development/seat-reservation/seat-reservation/seat-reservation-base-element.d.ts.map +1 -0
- package/development/seat-reservation/seat-reservation/seat-reservation-base-element.js +706 -0
- package/development/seat-reservation/seat-reservation/seat-reservation-scoped-component/seat-reservation-scoped.component.d.ts +29 -0
- package/development/seat-reservation/seat-reservation/seat-reservation-scoped-component/seat-reservation-scoped.component.d.ts.map +1 -0
- package/development/seat-reservation/seat-reservation/seat-reservation-scoped-component/seat-reservation-scoped.component.js +196 -0
- package/development/seat-reservation/seat-reservation/seat-reservation-scoped-component.d.ts +2 -0
- package/development/seat-reservation/seat-reservation/seat-reservation-scoped-component.d.ts.map +1 -0
- package/development/seat-reservation/seat-reservation/seat-reservation-scoped-component.js +5 -0
- package/development/seat-reservation/seat-reservation/seat-reservation.component.d.ts +62 -0
- package/development/seat-reservation/seat-reservation/seat-reservation.component.d.ts.map +1 -0
- package/development/seat-reservation/seat-reservation/seat-reservation.component.js +615 -0
- package/development/seat-reservation/seat-reservation-area/seat-reservation-area.component.d.ts +18 -0
- package/development/seat-reservation/seat-reservation-area/seat-reservation-area.component.d.ts.map +1 -0
- package/development/seat-reservation/seat-reservation-area/seat-reservation-area.component.js +108 -0
- package/development/seat-reservation/seat-reservation-area.d.ts +2 -0
- package/development/seat-reservation/seat-reservation-area.d.ts.map +1 -0
- package/development/seat-reservation/seat-reservation-area.js +5 -0
- package/development/seat-reservation/seat-reservation-graphic/seat-reservation-assets.d.ts +9 -0
- package/development/seat-reservation/seat-reservation-graphic/seat-reservation-assets.d.ts.map +1 -0
- package/development/seat-reservation/seat-reservation-graphic/seat-reservation-assets.js +326 -0
- package/development/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.d.ts +29 -0
- package/development/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.d.ts.map +1 -0
- package/development/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js +224 -0
- package/development/seat-reservation/seat-reservation-graphic.d.ts +2 -0
- package/development/seat-reservation/seat-reservation-graphic.d.ts.map +1 -0
- package/development/seat-reservation/seat-reservation-graphic.js +5 -0
- package/development/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.d.ts +65 -0
- package/development/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.d.ts.map +1 -0
- package/development/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js +576 -0
- package/development/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach.d.ts +2 -0
- package/development/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach.d.ts.map +1 -0
- package/development/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach.js +5 -0
- package/development/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.d.ts +21 -0
- package/development/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.d.ts.map +1 -0
- package/development/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js +123 -0
- package/development/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services.d.ts +2 -0
- package/development/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services.d.ts.map +1 -0
- package/development/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services.js +5 -0
- package/development/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.d.ts +53 -0
- package/development/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.d.ts.map +1 -0
- package/development/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js +446 -0
- package/development/seat-reservation/seat-reservation-place-control.d.ts +2 -0
- package/development/seat-reservation/seat-reservation-place-control.d.ts.map +1 -0
- package/development/seat-reservation/seat-reservation-place-control.js +5 -0
- package/development/seat-reservation/seat-reservation.d.ts +73 -0
- package/development/seat-reservation/seat-reservation.d.ts.map +1 -0
- package/development/seat-reservation/seat-reservation.js +7 -0
- package/development/seat-reservation.d.ts +5 -0
- package/development/seat-reservation.d.ts.map +1 -0
- package/development/seat-reservation.js +7 -0
- package/index.d.ts +14 -0
- package/index.js +14 -0
- package/package.json +7 -2
- package/seat-reservation/common/mapper/icon-mapper.d.ts +112 -0
- package/seat-reservation/common/mapper/icon-mapper.d.ts.map +1 -0
- package/seat-reservation/common/mapper/icon-mapper.js +71 -0
- package/seat-reservation/common/mapper/mapper.d.ts +29 -0
- package/seat-reservation/common/mapper/mapper.d.ts.map +1 -0
- package/seat-reservation/common/mapper/mapper.js +87 -0
- package/seat-reservation/common/mapper/seat-reservation-sample-data.d.ts +225 -0
- package/seat-reservation/common/mapper/seat-reservation-sample-data.d.ts.map +1 -0
- package/seat-reservation/common/mapper/seat-reservation-sample-data.js +6149 -0
- package/seat-reservation/common/mapper.d.ts +3 -0
- package/seat-reservation/common/mapper.d.ts.map +1 -0
- package/seat-reservation/common/mapper.js +9 -0
- package/seat-reservation/common/svgs.d.ts +25 -0
- package/seat-reservation/common/svgs.d.ts.map +1 -0
- package/seat-reservation/common/svgs.js +250 -0
- package/seat-reservation/common/translations/i18n.d.ts +19 -0
- package/seat-reservation/common/translations/i18n.d.ts.map +1 -0
- package/seat-reservation/common/translations/i18n.js +460 -0
- package/seat-reservation/common/translations.d.ts +2 -0
- package/seat-reservation/common/translations.d.ts.map +1 -0
- package/seat-reservation/common/translations.js +4 -0
- package/seat-reservation/common.d.ts +5 -0
- package/seat-reservation/common.d.ts.map +1 -0
- package/seat-reservation/common.js +17 -0
- package/seat-reservation/seat-reservation/seat-reservation-base-element.d.ts +156 -0
- package/seat-reservation/seat-reservation/seat-reservation-base-element.d.ts.map +1 -0
- package/seat-reservation/seat-reservation/seat-reservation-base-element.js +435 -0
- package/seat-reservation/seat-reservation/seat-reservation-scoped-component/seat-reservation-scoped.component.d.ts +29 -0
- package/seat-reservation/seat-reservation/seat-reservation-scoped-component/seat-reservation-scoped.component.d.ts.map +1 -0
- package/seat-reservation/seat-reservation/seat-reservation-scoped-component/seat-reservation-scoped.component.js +107 -0
- package/seat-reservation/seat-reservation/seat-reservation-scoped-component.d.ts +2 -0
- package/seat-reservation/seat-reservation/seat-reservation-scoped-component.d.ts.map +1 -0
- package/seat-reservation/seat-reservation/seat-reservation-scoped-component.js +4 -0
- package/seat-reservation/seat-reservation/seat-reservation.component.d.ts +62 -0
- package/seat-reservation/seat-reservation/seat-reservation.component.d.ts.map +1 -0
- package/seat-reservation/seat-reservation/seat-reservation.component.js +404 -0
- package/seat-reservation/seat-reservation-area/seat-reservation-area.component.d.ts +18 -0
- package/seat-reservation/seat-reservation-area/seat-reservation-area.component.d.ts.map +1 -0
- package/seat-reservation/seat-reservation-area/seat-reservation-area.component.js +49 -0
- package/seat-reservation/seat-reservation-area.d.ts +2 -0
- package/seat-reservation/seat-reservation-area.d.ts.map +1 -0
- package/seat-reservation/seat-reservation-area.js +4 -0
- package/seat-reservation/seat-reservation-graphic/seat-reservation-assets.d.ts +9 -0
- package/seat-reservation/seat-reservation-graphic/seat-reservation-assets.d.ts.map +1 -0
- package/seat-reservation/seat-reservation-graphic/seat-reservation-assets.js +317 -0
- package/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.d.ts +29 -0
- package/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.d.ts.map +1 -0
- package/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js +113 -0
- package/seat-reservation/seat-reservation-graphic.d.ts +2 -0
- package/seat-reservation/seat-reservation-graphic.d.ts.map +1 -0
- package/seat-reservation/seat-reservation-graphic.js +4 -0
- package/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.d.ts +65 -0
- package/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.d.ts.map +1 -0
- package/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js +248 -0
- package/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach.d.ts +2 -0
- package/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach.d.ts.map +1 -0
- package/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach.js +4 -0
- package/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.d.ts +21 -0
- package/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.d.ts.map +1 -0
- package/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js +80 -0
- package/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services.d.ts +2 -0
- package/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services.d.ts.map +1 -0
- package/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-services.js +4 -0
- package/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.d.ts +53 -0
- package/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.d.ts.map +1 -0
- package/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js +190 -0
- package/seat-reservation/seat-reservation-place-control.d.ts +2 -0
- package/seat-reservation/seat-reservation-place-control.d.ts.map +1 -0
- package/seat-reservation/seat-reservation-place-control.js +4 -0
- package/seat-reservation/seat-reservation.d.ts +73 -0
- package/seat-reservation/seat-reservation.d.ts.map +1 -0
- package/seat-reservation/seat-reservation.js +6 -0
- package/seat-reservation.d.ts +5 -0
- package/seat-reservation.d.ts.map +1 -0
- package/seat-reservation.js +6 -0
|
@@ -0,0 +1,317 @@
|
|
|
1
|
+
import { html as d } from "lit";
|
|
2
|
+
import { unsafeHTML as s } from "lit/directives/unsafe-html.js";
|
|
3
|
+
import { svgs as _, mapIconToSvg as r } from "../common.js";
|
|
4
|
+
import "@sbb-esta/lyne-elements/table.js";
|
|
5
|
+
import "../seat-reservation-graphic.js";
|
|
6
|
+
const E = (A) => d`
|
|
7
|
+
<div class="story-asset">
|
|
8
|
+
<span class="story-asset__preview">${s(A)}</span>
|
|
9
|
+
</div>
|
|
10
|
+
`, t = (A) => {
|
|
11
|
+
var e, a;
|
|
12
|
+
return (e = r[A]) != null && e.svg ? E(r[A].svg) : (a = r[A]) != null && a.svgName ? d`<sbb-icon name="${r[A].svgName}"></sbb-icon>` : null;
|
|
13
|
+
}, R = d`
|
|
14
|
+
<sbb-table-wrapper>
|
|
15
|
+
<table class="sbb-table">
|
|
16
|
+
<thead>
|
|
17
|
+
<tr>
|
|
18
|
+
<th scope="col">SVG</th>
|
|
19
|
+
<th scope="col">Figma</th>
|
|
20
|
+
<th scope="col">Code</th>
|
|
21
|
+
</tr>
|
|
22
|
+
</thead>
|
|
23
|
+
<tbody>
|
|
24
|
+
<tr>
|
|
25
|
+
<td>${t("PLACE_BICYCLE_FREE")}</td>
|
|
26
|
+
<td>Place-Bike: Available</td>
|
|
27
|
+
<td>PLACE_BICYCLE_FREE</td>
|
|
28
|
+
</tr>
|
|
29
|
+
<tr>
|
|
30
|
+
<td>${t("PLACE_BICYCLE_SELECTED")}</td>
|
|
31
|
+
<td>Place-Bike: Selected</td>
|
|
32
|
+
<td>PLACE_BICYCLE_SELECTED</td>
|
|
33
|
+
</tr>
|
|
34
|
+
<tr>
|
|
35
|
+
<td>${t("PLACE_BICYCLE_ALLOCATED")}</td>
|
|
36
|
+
<td>Place-Bike: Unavailable</td>
|
|
37
|
+
<td>PLACE_BICYCLE_ALLOCATED</td>
|
|
38
|
+
</tr>
|
|
39
|
+
<tr>
|
|
40
|
+
<td>${t("PLACE_BICYCLE_RESTRICTED")}</td>
|
|
41
|
+
<td>Place-Bike: Not bookable</td>
|
|
42
|
+
<td>PLACE_BICYCLE_RESTRICTED</td>
|
|
43
|
+
</tr>
|
|
44
|
+
<tr>
|
|
45
|
+
<td>${t("PLACE_SEAT_FREE")}</td>
|
|
46
|
+
<td>Place-Seat: Available</td>
|
|
47
|
+
<td>PLACE_SEAT_FREE</td>
|
|
48
|
+
</tr>
|
|
49
|
+
<tr>
|
|
50
|
+
<td>${t("PLACE_SEAT_SELECTED")}</td>
|
|
51
|
+
<td>Place-Seat: Selected</td>
|
|
52
|
+
<td>PLACE_SEAT_SELECTED</td>
|
|
53
|
+
</tr>
|
|
54
|
+
<tr>
|
|
55
|
+
<td>${t("PLACE_SEAT_ALLOCATED")}</td>
|
|
56
|
+
<td>Place-Seat: Unavailable</td>
|
|
57
|
+
<td>PLACE_SEAT_ALLOCATED</td>
|
|
58
|
+
</tr>
|
|
59
|
+
<tr>
|
|
60
|
+
<td>${t("PLACE_SEAT_RESTRICTED")}</td>
|
|
61
|
+
<td>Place-Seat: Not bookable</td>
|
|
62
|
+
<td>PLACE_SEAT_RESTRICTED</td>
|
|
63
|
+
</tr>
|
|
64
|
+
</tbody>
|
|
65
|
+
</table>
|
|
66
|
+
</sbb-table-wrapper>
|
|
67
|
+
`, o = d`
|
|
68
|
+
<sbb-table-wrapper>
|
|
69
|
+
<table class="sbb-table">
|
|
70
|
+
<thead>
|
|
71
|
+
<tr>
|
|
72
|
+
<th scope="col">SVG</th>
|
|
73
|
+
<th scope="col">Figma</th>
|
|
74
|
+
<th scope="col">OSDM Code</th>
|
|
75
|
+
</tr>
|
|
76
|
+
</thead>
|
|
77
|
+
<tbody>
|
|
78
|
+
<tr>
|
|
79
|
+
<td>${t("EASY_ACCESS_AREA")}</td>
|
|
80
|
+
<td>Easy Access Area</td>
|
|
81
|
+
<td>EASY_ACCESS_AREA</td>
|
|
82
|
+
</tr>
|
|
83
|
+
<tr>
|
|
84
|
+
<td>${t("ENTRY_EXIT")}</td>
|
|
85
|
+
<td>Entrance</td>
|
|
86
|
+
<td>ENTRY_EXIT</td>
|
|
87
|
+
</tr>
|
|
88
|
+
<tr>
|
|
89
|
+
<td>${t("LUGGAGE_AREA")}</td>
|
|
90
|
+
<td>Luggage</td>
|
|
91
|
+
<td>LUGGAGE_AREA</td>
|
|
92
|
+
</tr>
|
|
93
|
+
<tr>
|
|
94
|
+
<td>${t("MULTI_FUNCTION_AREA")}</td>
|
|
95
|
+
<td>Multi Function Area</td>
|
|
96
|
+
<td>MULTI_FUNCTION_AREA</td>
|
|
97
|
+
</tr>
|
|
98
|
+
<tr>
|
|
99
|
+
<td>${t("PLAYGROUND_AREA")}</td>
|
|
100
|
+
<td>Playground</td>
|
|
101
|
+
<td>PLAYGROUND_AREA</td>
|
|
102
|
+
</tr>
|
|
103
|
+
<tr>
|
|
104
|
+
<td>${t("PRAM_AREA")}</td>
|
|
105
|
+
<td>Pram</td>
|
|
106
|
+
<td>PRAM_AREA</td>
|
|
107
|
+
</tr>
|
|
108
|
+
<tr>
|
|
109
|
+
<td>${t("SKI_AREA")}</td>
|
|
110
|
+
<td>Ski</td>
|
|
111
|
+
<td>SKI_AREA</td>
|
|
112
|
+
</tr>
|
|
113
|
+
<tr>
|
|
114
|
+
<td>${t("STAIR_AREA")}</td>
|
|
115
|
+
<td>Stair</td>
|
|
116
|
+
<td>STAIR_AREA</td>
|
|
117
|
+
</tr>
|
|
118
|
+
<tr>
|
|
119
|
+
<td>${t("TOILET_AREA")}</td>
|
|
120
|
+
<td>Toilet</td>
|
|
121
|
+
<td>TOILET_AREA</td>
|
|
122
|
+
</tr>
|
|
123
|
+
<tr>
|
|
124
|
+
<td>${t("TOILET_WHEELCHAIR_AREA")}</td>
|
|
125
|
+
<td>Toilet-Handicap</td>
|
|
126
|
+
<td>TOILET_WHEELCHAIR_AREA</td>
|
|
127
|
+
</tr>
|
|
128
|
+
<tr>
|
|
129
|
+
<td>${t("WARDROBE_AREA")}</td>
|
|
130
|
+
<td>Wardrobe</td>
|
|
131
|
+
<td>WARDROBE_AREA</td>
|
|
132
|
+
</tr>
|
|
133
|
+
</tbody>
|
|
134
|
+
</table>
|
|
135
|
+
</sbb-table-wrapper>
|
|
136
|
+
`, l = d`
|
|
137
|
+
<sbb-table-wrapper>
|
|
138
|
+
<table aria-label="Available Service Icons" class="sbb-table">
|
|
139
|
+
<thead>
|
|
140
|
+
<tr>
|
|
141
|
+
<th scope="col">SVG</th>
|
|
142
|
+
<th scope="col">Figma</th>
|
|
143
|
+
<th scope="col">OSDM Code</th>
|
|
144
|
+
</tr>
|
|
145
|
+
</thead>
|
|
146
|
+
<tbody>
|
|
147
|
+
<tr>
|
|
148
|
+
<td>${t("BISTRO")}</td>
|
|
149
|
+
<td>Bistro</td>
|
|
150
|
+
<td>BISTRO</td>
|
|
151
|
+
</tr>
|
|
152
|
+
<tr>
|
|
153
|
+
<td>${t("BUSINESS")}</td>
|
|
154
|
+
<td>Business</td>
|
|
155
|
+
<td>BUSINESS</td>
|
|
156
|
+
</tr>
|
|
157
|
+
<tr>
|
|
158
|
+
<td>${t("PLAYGROUND_ICON")}</td>
|
|
159
|
+
<td>Family</td>
|
|
160
|
+
<td>PLAYGROUND_ICON</td>
|
|
161
|
+
</tr>
|
|
162
|
+
<tr>
|
|
163
|
+
<td>${t("LUGGAGE_AREA")}</td>
|
|
164
|
+
<td>Luggage</td>
|
|
165
|
+
<td>LUGGAGE_AREA</td>
|
|
166
|
+
</tr>
|
|
167
|
+
<tr>
|
|
168
|
+
<td>${t("MULTI_FUNCTION_AREA")}</td>
|
|
169
|
+
<td>Multifunction</td>
|
|
170
|
+
<td>MULTI_FUNCTION_AREA</td>
|
|
171
|
+
</tr>
|
|
172
|
+
<tr>
|
|
173
|
+
<td>${t("PRAM_ICON")}</td>
|
|
174
|
+
<td>Pram</td>
|
|
175
|
+
<td>PRAM_ICON</td>
|
|
176
|
+
</tr>
|
|
177
|
+
<tr>
|
|
178
|
+
<td>${t("EASY_ACCESS_AREA")}</td>
|
|
179
|
+
<td>Easy Access Area</td>
|
|
180
|
+
<td>EASY_ACCESS_AREA</td>
|
|
181
|
+
</tr>
|
|
182
|
+
<tr>
|
|
183
|
+
<td>${t("RESTAURANT_ICON")}</td>
|
|
184
|
+
<td>Restaurant</td>
|
|
185
|
+
<td>RESTAURANT_ICON</td>
|
|
186
|
+
</tr>
|
|
187
|
+
<tr>
|
|
188
|
+
<td>${t("SILENCE_AREA_ICON")}</td>
|
|
189
|
+
<td>Silence</td>
|
|
190
|
+
<td>SILENCE_AREA_ICON</td>
|
|
191
|
+
</tr>
|
|
192
|
+
<tr>
|
|
193
|
+
<td>${t("TOILET_AREA")}</td>
|
|
194
|
+
<td>Toilet</td>
|
|
195
|
+
<td>TOILET_AREA</td>
|
|
196
|
+
</tr>
|
|
197
|
+
<tr>
|
|
198
|
+
<td>${t("TOILET_WHEELCHAIR_AREA")}</td>
|
|
199
|
+
<td>Toilet-PRM</td>
|
|
200
|
+
<td>TOILET_WHEELCHAIR_AREA</td>
|
|
201
|
+
</tr>
|
|
202
|
+
<tr>
|
|
203
|
+
<td>${t("WHEELCHAIR_ICON")}</td>
|
|
204
|
+
<td>Wheelchair</td>
|
|
205
|
+
<td>WHEELCHAIR_ICON</td>
|
|
206
|
+
</tr>
|
|
207
|
+
<tr>
|
|
208
|
+
<td>${t("WIFI")}</td>
|
|
209
|
+
<td>Wifi</td>
|
|
210
|
+
<td>WIFI</td>
|
|
211
|
+
</tr>
|
|
212
|
+
</tbody>
|
|
213
|
+
</table>
|
|
214
|
+
</sbb-table-wrapper>
|
|
215
|
+
`, T = d`
|
|
216
|
+
<sbb-table-wrapper>
|
|
217
|
+
<table class="sbb-table">
|
|
218
|
+
<thead>
|
|
219
|
+
<tr>
|
|
220
|
+
<th scope="col">SVG</th>
|
|
221
|
+
<th scope="col">Figma</th>
|
|
222
|
+
<th scope="col">OSDM Code</th>
|
|
223
|
+
</tr>
|
|
224
|
+
</thead>
|
|
225
|
+
<tbody>
|
|
226
|
+
<tr>
|
|
227
|
+
<td>${t("DRIVER_AREA")}</td>
|
|
228
|
+
<td>Driver: Train</td>
|
|
229
|
+
<td>DRIVER_AREA</td>
|
|
230
|
+
</tr>
|
|
231
|
+
<tr>
|
|
232
|
+
<td>${t("DRIVER_AREA_FULL_TRAIN")}</td>
|
|
233
|
+
<td>Driver: Train</td>
|
|
234
|
+
<td>DRIVER_AREA_FULL_TRAIN</td>
|
|
235
|
+
</tr>
|
|
236
|
+
<tr>
|
|
237
|
+
<td>${t("DRIVER_AREA_FULL_BUS")}</td>
|
|
238
|
+
<td>Driver: Bus</td>
|
|
239
|
+
<td>DRIVER_AREA_FULL_BUS</td>
|
|
240
|
+
</tr>
|
|
241
|
+
<tr>
|
|
242
|
+
<td>${t("COMPARTMENT_PASSAGE_HIGH")}</td>
|
|
243
|
+
<td>Passage-Compartment: Top</td>
|
|
244
|
+
<td>COMPARTMENT_PASSAGE<br />COMPARTMENT_PASSAGE_HIGH</td>
|
|
245
|
+
</tr>
|
|
246
|
+
<tr>
|
|
247
|
+
<td>${t("COMPARTMENT_PASSAGE")}</td>
|
|
248
|
+
<td>Passage-Compartment: Middle</td>
|
|
249
|
+
<td>COMPARTMENT_PASSAGE<br />COMPARTMENT_PASSAGE_MIDDLE</td>
|
|
250
|
+
</tr>
|
|
251
|
+
<tr>
|
|
252
|
+
<td>${t("COMPARTMENT_PASSAGE_LOW")}</td>
|
|
253
|
+
<td>Passage-Compartment: Bottom</td>
|
|
254
|
+
<td>COMPARTMENT_PASSAGE<br />COMPARTMENT_PASSAGE_LOW</td>
|
|
255
|
+
</tr>
|
|
256
|
+
<tr>
|
|
257
|
+
<td>${t("COACH_PASSAGE")}</td>
|
|
258
|
+
<td>Passage-Waggon Type: Left</td>
|
|
259
|
+
<td>COACH_PASSAGE</td>
|
|
260
|
+
</tr>
|
|
261
|
+
<tr>
|
|
262
|
+
<td>${E(_.chassisPassageWaggonBottomRight)}</td>
|
|
263
|
+
<td>Passage-Waggon Type: Right</td>
|
|
264
|
+
<td
|
|
265
|
+
style="background: linear-gradient(90deg, var(--sbb-color-white) 5%, var(--sbb-color-red));"
|
|
266
|
+
>
|
|
267
|
+
TODO: check if still in use, may be deleted
|
|
268
|
+
</td>
|
|
269
|
+
</tr>
|
|
270
|
+
<tr>
|
|
271
|
+
<td>${t("COACH_WALL_NO_PASSAGE")}</td>
|
|
272
|
+
<td>Row-Empty: Top/Left</td>
|
|
273
|
+
<td>COACH_WALL_NO_PASSAGE</td>
|
|
274
|
+
</tr>
|
|
275
|
+
<tr>
|
|
276
|
+
<td>${t("COACH_BORDER_MIDDLE")}</td>
|
|
277
|
+
<td>Row-Empty: Middle</td>
|
|
278
|
+
<td>COACH_BORDER_MIDDLE</td>
|
|
279
|
+
</tr>
|
|
280
|
+
<tr>
|
|
281
|
+
<td>${E(_.chassisSeparator)}</td>
|
|
282
|
+
<td>Separator</td>
|
|
283
|
+
<td
|
|
284
|
+
style="background: linear-gradient(90deg, var(--sbb-color-white) 5%, var(--sbb-color-red))"
|
|
285
|
+
>
|
|
286
|
+
TODO: check if still in use, may be deleted
|
|
287
|
+
</td>
|
|
288
|
+
</tr>
|
|
289
|
+
<tr>
|
|
290
|
+
<td>${t("TABLE")}</td>
|
|
291
|
+
<td>Table</td>
|
|
292
|
+
<td>TABLE</td>
|
|
293
|
+
</tr>
|
|
294
|
+
</tbody>
|
|
295
|
+
</table>
|
|
296
|
+
</sbb-table-wrapper>
|
|
297
|
+
`, I = d`
|
|
298
|
+
<style>
|
|
299
|
+
.story-asset {
|
|
300
|
+
width: max-content;
|
|
301
|
+
background-color: var(--sbb-color-white);
|
|
302
|
+
}
|
|
303
|
+
</style>
|
|
304
|
+
<h1>List of all currently available assets.</h1>
|
|
305
|
+
<h2>Interior</h2>
|
|
306
|
+
${R}
|
|
307
|
+
<h2>Layout</h2>
|
|
308
|
+
${o}
|
|
309
|
+
<h2>Service Icons</h2>
|
|
310
|
+
${l}
|
|
311
|
+
<h2>Chassis</h2>
|
|
312
|
+
${T}
|
|
313
|
+
`;
|
|
314
|
+
export {
|
|
315
|
+
I as assetsTemplate,
|
|
316
|
+
t as svgImageByOSDMCode
|
|
317
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { CSSResultGroup, PropertyValues, TemplateResult, LitElement } from 'lit';
|
|
2
|
+
/**
|
|
3
|
+
* Output one of the SVG graphics based on its code.
|
|
4
|
+
*/
|
|
5
|
+
export declare class SbbSeatReservationGraphicElement extends LitElement {
|
|
6
|
+
static styles: CSSResultGroup;
|
|
7
|
+
/** Name of the SVG graphic to be displayed. */
|
|
8
|
+
accessor name: string;
|
|
9
|
+
/** if true, scale the graphic content of the given element non-uniformly if necessary */
|
|
10
|
+
accessor stretch: boolean;
|
|
11
|
+
/** handles the rotation of the SVG graphic */
|
|
12
|
+
accessor rotation: number;
|
|
13
|
+
/** Inverse rotation for part of an SVG that can be rotated opposite to the normal rotation */
|
|
14
|
+
accessor inverseRotation: number;
|
|
15
|
+
/** width of the svg in pixels (without unit) */
|
|
16
|
+
accessor width: number;
|
|
17
|
+
/** height of the svg in pixels (without unit) */
|
|
18
|
+
accessor height: number;
|
|
19
|
+
private _language;
|
|
20
|
+
protected willUpdate(_changedProperties: PropertyValues): void;
|
|
21
|
+
protected render(): TemplateResult | null;
|
|
22
|
+
private _getSvgElement;
|
|
23
|
+
}
|
|
24
|
+
declare global {
|
|
25
|
+
interface HTMLElementTagNameMap {
|
|
26
|
+
'sbb-seat-reservation-graphic': SbbSeatReservationGraphicElement;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=seat-reservation-graphic.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"seat-reservation-graphic.component.d.ts","sourceRoot":"","sources":["../../../../src/elements-experimental/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,cAAc,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AACpF,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;AAQvC,OAAO,iCAAiC,CAAC;AAEzC;;GAEG;AACH,qBAEM,gCAAiC,SAAQ,UAAU;IACvD,OAAuB,MAAM,EAAE,cAAc,CAAS;IAEtD,+CAA+C;IAC/C,SAEgB,IAAI,EAAE,MAAM,CAAM;IAElC,yFAAyF;IACzF,SAEgB,OAAO,EAAE,OAAO,CAAS;IAEzC,8CAA8C;IAC9C,SAEgB,QAAQ,EAAE,MAAM,CAAK;IAErC,8FAA8F;IAC9F,SAEgB,eAAe,EAAE,MAAM,CAAK;IAE5C,gDAAgD;IAChD,SAEgB,KAAK,EAAE,MAAM,CAAS;IAEtC,iDAAiD;IACjD,SAEgB,MAAM,EAAE,MAAM,CAAS;IAEvC,OAAO,CAAC,SAAS,CAAmC;cAEjC,UAAU,CAAC,kBAAkB,EAAE,cAAc,GAAG,IAAI;cAsBpD,MAAM,IAAI,cAAc,GAAG,IAAI;IAuBlD,OAAO,CAAC,cAAc;CASvB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAE7B,8BAA8B,EAAE,gCAAgC,CAAC;KAClE;CACF"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
var q = (i) => {
|
|
2
|
+
throw TypeError(i);
|
|
3
|
+
};
|
|
4
|
+
var H = (i, r, a) => r.has(i) || q("Cannot " + a);
|
|
5
|
+
var g = (i, r, a) => (H(i, r, "read from private field"), a ? a.call(i) : r.get(i)), b = (i, r, a) => r.has(i) ? q("Cannot add the same private member more than once") : r instanceof WeakSet ? r.add(i) : r.set(i, a), o = (i, r, a, c) => (H(i, r, "write to private field"), c ? c.call(i, a) : r.set(i, a), a);
|
|
6
|
+
import { __runInitializers as h, __esDecorate as m } from "tslib";
|
|
7
|
+
import { SbbLanguageController as J } from "@sbb-esta/lyne-elements/core/controllers.js";
|
|
8
|
+
import { forceType as w } from "@sbb-esta/lyne-elements/core/decorators.js";
|
|
9
|
+
import { css as K, LitElement as O, html as z } from "lit";
|
|
10
|
+
import { customElement as Q, property as y } from "lit/decorators.js";
|
|
11
|
+
import { classMap as V } from "lit/directives/class-map.js";
|
|
12
|
+
import { mapIconToSvg as W, getI18nSeatReservation as X } from "../common.js";
|
|
13
|
+
import "@sbb-esta/lyne-elements/icon.js";
|
|
14
|
+
const Y = K`*,:before,:after{box-sizing:border-box}:host{--sbb-reservation-graphic-width: 16;--sbb-reservation-graphic-height: 16;--sbb-reservation-graphic-rotation: 0;--sbb-reservation-graphic-inverse-rotation: 0}.sbb-sr-icon,.sbb-sr-graphic{--sbb-icon-svg-width: calc(var(--sbb-reservation-graphic-width) * .0625rem);--sbb-icon-svg-height: calc(var(--sbb-reservation-graphic-height) * .0625rem);display:flex;justify-content:center;align-items:center;width:calc(var(--sbb-reservation-graphic-width) * .0625rem);height:calc(var(--sbb-reservation-graphic-height) * .0625rem);transform-origin:center;rotate:calc(var(--sbb-reservation-graphic-rotation) * 1deg)}.sbb-sr-icon{color:var(--sbb-color-granite)}.sbb-sr-graphic svg{width:100%;height:100%}.sbb-sr-graphic svg .fix-rotation-inverse{transform-origin:center;rotate:calc(var(--sbb-reservation-graphic-inverse-rotation) * 1deg)}@media (forced-colors: active){.sbb-sr-graphic svg:not(.color-immutable) [fill]:not([fill=none]){fill:currentcolor}.sbb-sr-graphic .no-bg{fill:transparent}}`;
|
|
15
|
+
let ct = (() => {
|
|
16
|
+
var v, p, _, d, u, f, n;
|
|
17
|
+
let i = [Q("sbb-seat-reservation-graphic")], r, a = [], c, R = O, x, S = [], I = [], N, $ = [], k = [], E, D = [], C = [], L, T = [], A = [], M, P = [], U = [], B, F = [], G = [];
|
|
18
|
+
return n = class extends R {
|
|
19
|
+
constructor() {
|
|
20
|
+
super(...arguments);
|
|
21
|
+
b(this, v);
|
|
22
|
+
b(this, p);
|
|
23
|
+
b(this, _);
|
|
24
|
+
b(this, d);
|
|
25
|
+
b(this, u);
|
|
26
|
+
b(this, f);
|
|
27
|
+
o(this, v, h(this, S, "")), o(this, p, (h(this, I), h(this, $, !1))), o(this, _, (h(this, k), h(this, D, 0))), o(this, d, (h(this, C), h(this, T, 0))), o(this, u, (h(this, A), h(this, P, null))), o(this, f, (h(this, U), h(this, F, null))), this._language = (h(this, G), new J(this));
|
|
28
|
+
}
|
|
29
|
+
/** Name of the SVG graphic to be displayed. */
|
|
30
|
+
get name() {
|
|
31
|
+
return g(this, v);
|
|
32
|
+
}
|
|
33
|
+
set name(t) {
|
|
34
|
+
o(this, v, t);
|
|
35
|
+
}
|
|
36
|
+
/** if true, scale the graphic content of the given element non-uniformly if necessary */
|
|
37
|
+
get stretch() {
|
|
38
|
+
return g(this, p);
|
|
39
|
+
}
|
|
40
|
+
set stretch(t) {
|
|
41
|
+
o(this, p, t);
|
|
42
|
+
}
|
|
43
|
+
/** handles the rotation of the SVG graphic */
|
|
44
|
+
get rotation() {
|
|
45
|
+
return g(this, _);
|
|
46
|
+
}
|
|
47
|
+
set rotation(t) {
|
|
48
|
+
o(this, _, t);
|
|
49
|
+
}
|
|
50
|
+
/** Inverse rotation for part of an SVG that can be rotated opposite to the normal rotation */
|
|
51
|
+
get inverseRotation() {
|
|
52
|
+
return g(this, d);
|
|
53
|
+
}
|
|
54
|
+
set inverseRotation(t) {
|
|
55
|
+
o(this, d, t);
|
|
56
|
+
}
|
|
57
|
+
/** width of the svg in pixels (without unit) */
|
|
58
|
+
get width() {
|
|
59
|
+
return g(this, u);
|
|
60
|
+
}
|
|
61
|
+
set width(t) {
|
|
62
|
+
o(this, u, t);
|
|
63
|
+
}
|
|
64
|
+
/** height of the svg in pixels (without unit) */
|
|
65
|
+
get height() {
|
|
66
|
+
return g(this, f);
|
|
67
|
+
}
|
|
68
|
+
set height(t) {
|
|
69
|
+
o(this, f, t);
|
|
70
|
+
}
|
|
71
|
+
willUpdate(t) {
|
|
72
|
+
var e, s, l, j;
|
|
73
|
+
super.willUpdate(t), t.has("width") && this.width && ((e = this.style) == null || e.setProperty("--sbb-reservation-graphic-width", `${this.width}`)), t.has("height") && this.height && ((s = this.style) == null || s.setProperty("--sbb-reservation-graphic-height", `${this.height}`)), t.has("rotation") && ((l = this.style) == null || l.setProperty("--sbb-reservation-graphic-rotation", `${this.rotation}`)), t.has("inverseRotation") && ((j = this.style) == null || j.setProperty("--sbb-reservation-graphic-inverse-rotation", `${this.inverseRotation}`));
|
|
74
|
+
}
|
|
75
|
+
render() {
|
|
76
|
+
const t = W[this.name];
|
|
77
|
+
return !(t != null && t.svg) && !(t != null && t.svgName) ? null : z`<span
|
|
78
|
+
class="${V({
|
|
79
|
+
"sbb-sr-icon": !!t.svgName,
|
|
80
|
+
"sbb-sr-graphic": !!t.svg
|
|
81
|
+
})}"
|
|
82
|
+
>
|
|
83
|
+
${t.svgName ? z` <sbb-icon
|
|
84
|
+
name="${t.svgName || ""}"
|
|
85
|
+
aria-hidden="false"
|
|
86
|
+
aria-label="${X(t.svgName, this._language.current)}"
|
|
87
|
+
></sbb-icon>` : z`${this._getSvgElement(t.svg)}`}
|
|
88
|
+
</span>`;
|
|
89
|
+
}
|
|
90
|
+
_getSvgElement(t) {
|
|
91
|
+
const e = new DOMParser(), s = t || "<svg></svg>", l = e.parseFromString(s, "image/svg+xml").firstElementChild;
|
|
92
|
+
return this.stretch && (l == null ? void 0 : l.nodeName.toLowerCase()) === "svg" && l.setAttribute("preserveAspectRatio", "none"), l;
|
|
93
|
+
}
|
|
94
|
+
}, v = new WeakMap(), p = new WeakMap(), _ = new WeakMap(), d = new WeakMap(), u = new WeakMap(), f = new WeakMap(), c = n, (() => {
|
|
95
|
+
const t = typeof Symbol == "function" && Symbol.metadata ? Object.create(R[Symbol.metadata] ?? null) : void 0;
|
|
96
|
+
x = [w(), y({ attribute: "name" })], N = [w(), y({ attribute: "stretch", type: Boolean })], E = [w(), y({ attribute: "rotation", type: Number })], L = [w(), y({ attribute: "inverse-roration", type: Number })], M = [w(), y({ attribute: "width", type: Number })], B = [w(), y({ attribute: "height", type: Number })], m(n, null, x, { kind: "accessor", name: "name", static: !1, private: !1, access: { has: (e) => "name" in e, get: (e) => e.name, set: (e, s) => {
|
|
97
|
+
e.name = s;
|
|
98
|
+
} }, metadata: t }, S, I), m(n, null, N, { kind: "accessor", name: "stretch", static: !1, private: !1, access: { has: (e) => "stretch" in e, get: (e) => e.stretch, set: (e, s) => {
|
|
99
|
+
e.stretch = s;
|
|
100
|
+
} }, metadata: t }, $, k), m(n, null, E, { kind: "accessor", name: "rotation", static: !1, private: !1, access: { has: (e) => "rotation" in e, get: (e) => e.rotation, set: (e, s) => {
|
|
101
|
+
e.rotation = s;
|
|
102
|
+
} }, metadata: t }, D, C), m(n, null, L, { kind: "accessor", name: "inverseRotation", static: !1, private: !1, access: { has: (e) => "inverseRotation" in e, get: (e) => e.inverseRotation, set: (e, s) => {
|
|
103
|
+
e.inverseRotation = s;
|
|
104
|
+
} }, metadata: t }, T, A), m(n, null, M, { kind: "accessor", name: "width", static: !1, private: !1, access: { has: (e) => "width" in e, get: (e) => e.width, set: (e, s) => {
|
|
105
|
+
e.width = s;
|
|
106
|
+
} }, metadata: t }, P, U), m(n, null, B, { kind: "accessor", name: "height", static: !1, private: !1, access: { has: (e) => "height" in e, get: (e) => e.height, set: (e, s) => {
|
|
107
|
+
e.height = s;
|
|
108
|
+
} }, metadata: t }, F, G), m(null, r = { value: c }, i, { kind: "class", name: c.name, metadata: t }, null, a), c = r.value, t && Object.defineProperty(c, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: t });
|
|
109
|
+
})(), n.styles = Y, h(c, a), c;
|
|
110
|
+
})();
|
|
111
|
+
export {
|
|
112
|
+
ct as SbbSeatReservationGraphicElement
|
|
113
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"seat-reservation-graphic.d.ts","sourceRoot":"","sources":["../../../src/elements-experimental/seat-reservation/seat-reservation-graphic.ts"],"names":[],"mappings":"AAAA,cAAc,kEAAkE,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { EventEmitter } from '@sbb-esta/lyne-elements/core/eventing.js';
|
|
2
|
+
import { CSSResultGroup, PropertyValues, TemplateResult, LitElement } from 'lit';
|
|
3
|
+
import { PlaceTravelClass } from '../../seat-reservation.js';
|
|
4
|
+
/**
|
|
5
|
+
* This component will display the navigation coach item for Seat reservation.
|
|
6
|
+
*
|
|
7
|
+
* @event {CustomEvent<T>} selectCoach - Emits when a coach within the navigation was selected and returns the clicked coach nav index
|
|
8
|
+
* @event {CustomEvent<T>} focusCoach - Emits when a nav coach has the focus
|
|
9
|
+
*/
|
|
10
|
+
export declare class SbbSeatReservationNavigationCoachElement extends LitElement {
|
|
11
|
+
static styles: CSSResultGroup;
|
|
12
|
+
static readonly events: {
|
|
13
|
+
readonly selectCoach: "selectCoach";
|
|
14
|
+
readonly focusCoach: "focusCoach";
|
|
15
|
+
};
|
|
16
|
+
/** Coach ID, which is used to identify the coach in the navigation */
|
|
17
|
+
accessor coachId: string;
|
|
18
|
+
/** Coach service property ids, which are used to display the services in the navigation */
|
|
19
|
+
accessor propertyIds: string[];
|
|
20
|
+
accessor selected: boolean;
|
|
21
|
+
accessor focused: boolean;
|
|
22
|
+
accessor index: number;
|
|
23
|
+
/** Travel class of the coach */
|
|
24
|
+
accessor travelClass: PlaceTravelClass[];
|
|
25
|
+
/** If the coach is a driver/restricted area */
|
|
26
|
+
accessor driverArea: boolean;
|
|
27
|
+
/** If the coach is the first in the navigation */
|
|
28
|
+
accessor first: boolean;
|
|
29
|
+
/** If the coach is the last in the navigation */
|
|
30
|
+
accessor last: boolean;
|
|
31
|
+
/** Disable the coach navigation */
|
|
32
|
+
accessor disable: boolean;
|
|
33
|
+
/** If the coach navigation should be displayed vertically */
|
|
34
|
+
accessor vertical: boolean;
|
|
35
|
+
private _language;
|
|
36
|
+
/** Emits when a coach within the navigation was selected */
|
|
37
|
+
protected selectNavCoach: EventEmitter;
|
|
38
|
+
protected focusNavCoach: EventEmitter;
|
|
39
|
+
protected willUpdate(changedProperties: PropertyValues<this>): void;
|
|
40
|
+
/**
|
|
41
|
+
* Render a maximum of 3 of the service sign icons (slice(0,3)) regardless of the input from Backend,
|
|
42
|
+
* otherwise the layout could be destroyed. Furthermore, we have to filter out the value ANY_SEAT,
|
|
43
|
+
* since this is also passed as a property and does not need to be used here
|
|
44
|
+
*
|
|
45
|
+
* @protected
|
|
46
|
+
*/
|
|
47
|
+
protected render(): TemplateResult;
|
|
48
|
+
private _getNavigationButton;
|
|
49
|
+
private _getBtnInformation;
|
|
50
|
+
private _getTitleDescriptionNavCoachButton;
|
|
51
|
+
private _getAriaDescriptionCoachServices;
|
|
52
|
+
/**
|
|
53
|
+
* emits the index of the coach array for the main navigation.
|
|
54
|
+
* @param coachIndex
|
|
55
|
+
* @private
|
|
56
|
+
*/
|
|
57
|
+
private _selectNavCoach;
|
|
58
|
+
private _getCoachServiceClassNumber;
|
|
59
|
+
}
|
|
60
|
+
declare global {
|
|
61
|
+
interface HTMLElementTagNameMap {
|
|
62
|
+
'sbb-seat-reservation-navigation-coach': SbbSeatReservationNavigationCoachElement;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
//# sourceMappingURL=seat-reservation-navigation-coach.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"seat-reservation-navigation-coach.component.d.ts","sourceRoot":"","sources":["../../../../../src/elements-experimental/seat-reservation/seat-reservation-navigation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AACxE,OAAO,EAAE,KAAK,cAAc,EAAW,KAAK,cAAc,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAC7F,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;AAKvC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAIlE,OAAO,+CAA+C,CAAC;AACvD,OAAO,4CAA4C,CAAC;AAIpD;;;;;GAKG;AACH,qBAEM,wCAAyC,SAAQ,UAAU;IAC/D,OAAuB,MAAM,EAAE,cAAc,CAAS;IACtD,gBAAuB,MAAM;;;MAGlB;IAEX,sEAAsE;IACtE,SAEgB,OAAO,EAAE,MAAM,CAAM;IAErC,2FAA2F;IAC3F,SACgB,WAAW,EAAE,MAAM,EAAE,CAAM;IAG3C,SAEgB,QAAQ,EAAE,OAAO,CAAS;IAG1C,SAEgB,OAAO,EAAE,OAAO,CAAS;IAEzC,SAEgB,KAAK,EAAE,MAAM,CAAK;IAElC,gCAAgC;IAChC,SACgB,WAAW,EAAE,gBAAgB,EAAE,CAAiB;IAEhE,+CAA+C;IAC/C,SAEgB,UAAU,EAAE,OAAO,CAAS;IAE5C,kDAAkD;IAClD,SAEgB,KAAK,EAAE,OAAO,CAAS;IAEvC,iDAAiD;IACjD,SAEgB,IAAI,EAAE,OAAO,CAAS;IAEtC,mCAAmC;IACnC,SAEgB,OAAO,EAAE,OAAO,CAAS;IAEzC,6DAA6D;IAC7D,SAEgB,QAAQ,EAAE,OAAO,CAAS;IAE1C,OAAO,CAAC,SAAS,CAAmC;IAEpD,4DAA4D;IAC5D,SAAS,CAAC,cAAc,EAAE,YAAY,CAGpC;IACF,SAAS,CAAC,aAAa,EAAE,YAAY,CAGnC;cAEiB,UAAU,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAuB5E;;;;;;OAMG;cACgB,MAAM,IAAI,cAAc;IAyB3C,OAAO,CAAC,oBAAoB;IAwB5B,OAAO,CAAC,kBAAkB;IA4B1B,OAAO,CAAC,kCAAkC;IA4B1C,OAAO,CAAC,gCAAgC;IAYxC;;;;OAIG;IACH,OAAO,CAAC,eAAe;IAMvB,OAAO,CAAC,2BAA2B;CASpC;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAE7B,uCAAuC,EAAE,wCAAwC,CAAC;KACnF;CACF"}
|