@sbb-esta/lyne-elements-experimental 4.0.0-next.3 → 4.0.0-next.4
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 +379 -422
- 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
package/custom-elements.json
CHANGED
|
@@ -235,7 +235,7 @@
|
|
|
235
235
|
},
|
|
236
236
|
{
|
|
237
237
|
"kind": "javascript-module",
|
|
238
|
-
"path": "
|
|
238
|
+
"path": "core/datetime.js",
|
|
239
239
|
"declarations": [],
|
|
240
240
|
"exports": [
|
|
241
241
|
{
|
|
@@ -243,14 +243,14 @@
|
|
|
243
243
|
"name": "*",
|
|
244
244
|
"declaration": {
|
|
245
245
|
"name": "*",
|
|
246
|
-
"module": "
|
|
246
|
+
"module": "core/datetime/date-helper.js"
|
|
247
247
|
}
|
|
248
248
|
}
|
|
249
249
|
]
|
|
250
250
|
},
|
|
251
251
|
{
|
|
252
252
|
"kind": "javascript-module",
|
|
253
|
-
"path": "
|
|
253
|
+
"path": "core/timetable.js",
|
|
254
254
|
"declarations": [],
|
|
255
255
|
"exports": [
|
|
256
256
|
{
|
|
@@ -258,14 +258,30 @@
|
|
|
258
258
|
"name": "*",
|
|
259
259
|
"declaration": {
|
|
260
260
|
"name": "*",
|
|
261
|
-
"module": "
|
|
261
|
+
"module": "core/timetable/access-leg-helper.js"
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"kind": "js",
|
|
266
|
+
"name": "*",
|
|
267
|
+
"declaration": {
|
|
268
|
+
"name": "*",
|
|
269
|
+
"module": "core/timetable/timetable-helper.js"
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"kind": "js",
|
|
274
|
+
"name": "*",
|
|
275
|
+
"declaration": {
|
|
276
|
+
"name": "*",
|
|
277
|
+
"module": "core/timetable/timetable-properties.js"
|
|
262
278
|
}
|
|
263
279
|
}
|
|
264
280
|
]
|
|
265
281
|
},
|
|
266
282
|
{
|
|
267
283
|
"kind": "javascript-module",
|
|
268
|
-
"path": "autocomplete-grid/autocomplete-grid-
|
|
284
|
+
"path": "autocomplete-grid/autocomplete-grid-button.js",
|
|
269
285
|
"declarations": [],
|
|
270
286
|
"exports": [
|
|
271
287
|
{
|
|
@@ -273,14 +289,14 @@
|
|
|
273
289
|
"name": "*",
|
|
274
290
|
"declaration": {
|
|
275
291
|
"name": "*",
|
|
276
|
-
"module": "autocomplete-grid/autocomplete-grid-
|
|
292
|
+
"module": "autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.js"
|
|
277
293
|
}
|
|
278
294
|
}
|
|
279
295
|
]
|
|
280
296
|
},
|
|
281
297
|
{
|
|
282
298
|
"kind": "javascript-module",
|
|
283
|
-
"path": "autocomplete-grid/autocomplete-grid-
|
|
299
|
+
"path": "autocomplete-grid/autocomplete-grid-cell.js",
|
|
284
300
|
"declarations": [],
|
|
285
301
|
"exports": [
|
|
286
302
|
{
|
|
@@ -288,14 +304,14 @@
|
|
|
288
304
|
"name": "*",
|
|
289
305
|
"declaration": {
|
|
290
306
|
"name": "*",
|
|
291
|
-
"module": "autocomplete-grid/autocomplete-grid-
|
|
307
|
+
"module": "autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.component.js"
|
|
292
308
|
}
|
|
293
309
|
}
|
|
294
310
|
]
|
|
295
311
|
},
|
|
296
312
|
{
|
|
297
313
|
"kind": "javascript-module",
|
|
298
|
-
"path": "autocomplete-grid/autocomplete-grid-
|
|
314
|
+
"path": "autocomplete-grid/autocomplete-grid-optgroup.js",
|
|
299
315
|
"declarations": [],
|
|
300
316
|
"exports": [
|
|
301
317
|
{
|
|
@@ -303,14 +319,14 @@
|
|
|
303
319
|
"name": "*",
|
|
304
320
|
"declaration": {
|
|
305
321
|
"name": "*",
|
|
306
|
-
"module": "autocomplete-grid/autocomplete-grid-
|
|
322
|
+
"module": "autocomplete-grid/autocomplete-grid-optgroup/autocomplete-grid-optgroup.component.js"
|
|
307
323
|
}
|
|
308
324
|
}
|
|
309
325
|
]
|
|
310
326
|
},
|
|
311
327
|
{
|
|
312
328
|
"kind": "javascript-module",
|
|
313
|
-
"path": "autocomplete-grid/autocomplete-grid.js",
|
|
329
|
+
"path": "autocomplete-grid/autocomplete-grid-option.js",
|
|
314
330
|
"declarations": [],
|
|
315
331
|
"exports": [
|
|
316
332
|
{
|
|
@@ -318,14 +334,14 @@
|
|
|
318
334
|
"name": "*",
|
|
319
335
|
"declaration": {
|
|
320
336
|
"name": "*",
|
|
321
|
-
"module": "autocomplete-grid/autocomplete-grid/autocomplete-grid.component.js"
|
|
337
|
+
"module": "autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.js"
|
|
322
338
|
}
|
|
323
339
|
}
|
|
324
340
|
]
|
|
325
341
|
},
|
|
326
342
|
{
|
|
327
343
|
"kind": "javascript-module",
|
|
328
|
-
"path": "
|
|
344
|
+
"path": "autocomplete-grid/autocomplete-grid-row.js",
|
|
329
345
|
"declarations": [],
|
|
330
346
|
"exports": [
|
|
331
347
|
{
|
|
@@ -333,14 +349,14 @@
|
|
|
333
349
|
"name": "*",
|
|
334
350
|
"declaration": {
|
|
335
351
|
"name": "*",
|
|
336
|
-
"module": "
|
|
352
|
+
"module": "autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.js"
|
|
337
353
|
}
|
|
338
354
|
}
|
|
339
355
|
]
|
|
340
356
|
},
|
|
341
357
|
{
|
|
342
358
|
"kind": "javascript-module",
|
|
343
|
-
"path": "
|
|
359
|
+
"path": "autocomplete-grid/autocomplete-grid.js",
|
|
344
360
|
"declarations": [],
|
|
345
361
|
"exports": [
|
|
346
362
|
{
|
|
@@ -348,23 +364,7 @@
|
|
|
348
364
|
"name": "*",
|
|
349
365
|
"declaration": {
|
|
350
366
|
"name": "*",
|
|
351
|
-
"module": "
|
|
352
|
-
}
|
|
353
|
-
},
|
|
354
|
-
{
|
|
355
|
-
"kind": "js",
|
|
356
|
-
"name": "*",
|
|
357
|
-
"declaration": {
|
|
358
|
-
"name": "*",
|
|
359
|
-
"module": "core/timetable/timetable-helper.js"
|
|
360
|
-
}
|
|
361
|
-
},
|
|
362
|
-
{
|
|
363
|
-
"kind": "js",
|
|
364
|
-
"name": "*",
|
|
365
|
-
"declaration": {
|
|
366
|
-
"name": "*",
|
|
367
|
-
"module": "core/timetable/timetable-properties.js"
|
|
367
|
+
"module": "autocomplete-grid/autocomplete-grid/autocomplete-grid.component.js"
|
|
368
368
|
}
|
|
369
369
|
}
|
|
370
370
|
]
|
|
@@ -2009,6 +2009,230 @@
|
|
|
2009
2009
|
}
|
|
2010
2010
|
]
|
|
2011
2011
|
},
|
|
2012
|
+
{
|
|
2013
|
+
"kind": "javascript-module",
|
|
2014
|
+
"path": "core/datetime/date-helper.js",
|
|
2015
|
+
"declarations": [
|
|
2016
|
+
{
|
|
2017
|
+
"kind": "function",
|
|
2018
|
+
"name": "removeTimezoneFromISOTimeString",
|
|
2019
|
+
"return": {
|
|
2020
|
+
"type": {
|
|
2021
|
+
"text": ""
|
|
2022
|
+
}
|
|
2023
|
+
},
|
|
2024
|
+
"parameters": [
|
|
2025
|
+
{
|
|
2026
|
+
"name": "isoTime",
|
|
2027
|
+
"optional": true,
|
|
2028
|
+
"type": {
|
|
2029
|
+
"text": "string"
|
|
2030
|
+
},
|
|
2031
|
+
"description": "the iso time with the timezone offset"
|
|
2032
|
+
}
|
|
2033
|
+
],
|
|
2034
|
+
"description": "This function removes the offset of a ISO date string. This needs to be done to make sure that the offset is ignored.\nIf it is not removed the time would be converted to the browsers local time.\nExample: \"2022-08-29T09:30:00+03:00\" would be changed to \"2022-08-29T08:30:00+02:00\" --> not the desired outcome, as we want to use the time in the timezone and not the local time.\n\nAfter the offset is removed a new date is created in the browsers local time. This ensures that the time of the ISO date string is displayed and not a converted time.\nExample: \"2022-08-29T09:30:00+03:00\" would be changed to \"2022-08-29T09:30:00+02:00\" --> desired outcome\nAttention: This function does not convert the time to the correct time in the local timezone. It is a workaround to make sure, that the given time is displayed without being converted.\n\nOffset: Difference between the timezone and Coordinated Universal Time."
|
|
2035
|
+
},
|
|
2036
|
+
{
|
|
2037
|
+
"kind": "function",
|
|
2038
|
+
"name": "durationToTime",
|
|
2039
|
+
"return": {
|
|
2040
|
+
"type": {
|
|
2041
|
+
"text": ""
|
|
2042
|
+
}
|
|
2043
|
+
},
|
|
2044
|
+
"parameters": [
|
|
2045
|
+
{
|
|
2046
|
+
"name": "duration",
|
|
2047
|
+
"type": {
|
|
2048
|
+
"text": "number"
|
|
2049
|
+
},
|
|
2050
|
+
"description": "duration in minutes"
|
|
2051
|
+
},
|
|
2052
|
+
{
|
|
2053
|
+
"name": "currentLanguage",
|
|
2054
|
+
"optional": true,
|
|
2055
|
+
"type": {
|
|
2056
|
+
"text": "string"
|
|
2057
|
+
},
|
|
2058
|
+
"description": "currentLanguage"
|
|
2059
|
+
}
|
|
2060
|
+
],
|
|
2061
|
+
"description": "This function converts a duration number to date string with specific format"
|
|
2062
|
+
}
|
|
2063
|
+
],
|
|
2064
|
+
"exports": [
|
|
2065
|
+
{
|
|
2066
|
+
"kind": "js",
|
|
2067
|
+
"name": "removeTimezoneFromISOTimeString",
|
|
2068
|
+
"declaration": {
|
|
2069
|
+
"name": "removeTimezoneFromISOTimeString",
|
|
2070
|
+
"module": "core/datetime/date-helper.js"
|
|
2071
|
+
}
|
|
2072
|
+
},
|
|
2073
|
+
{
|
|
2074
|
+
"kind": "js",
|
|
2075
|
+
"name": "durationToTime",
|
|
2076
|
+
"declaration": {
|
|
2077
|
+
"name": "durationToTime",
|
|
2078
|
+
"module": "core/datetime/date-helper.js"
|
|
2079
|
+
}
|
|
2080
|
+
}
|
|
2081
|
+
]
|
|
2082
|
+
},
|
|
2083
|
+
{
|
|
2084
|
+
"kind": "javascript-module",
|
|
2085
|
+
"path": "core/timetable/access-leg-helper.js",
|
|
2086
|
+
"declarations": [
|
|
2087
|
+
{
|
|
2088
|
+
"kind": "function",
|
|
2089
|
+
"name": "getDepartureArrivalTimeAttribute",
|
|
2090
|
+
"return": {
|
|
2091
|
+
"type": {
|
|
2092
|
+
"text": ""
|
|
2093
|
+
}
|
|
2094
|
+
},
|
|
2095
|
+
"parameters": [
|
|
2096
|
+
{
|
|
2097
|
+
"name": "legs",
|
|
2098
|
+
"type": {
|
|
2099
|
+
"text": "Leg[]"
|
|
2100
|
+
},
|
|
2101
|
+
"description": "An array of Leg objects representing the journey legs."
|
|
2102
|
+
},
|
|
2103
|
+
{
|
|
2104
|
+
"name": "departureWalk",
|
|
2105
|
+
"type": {
|
|
2106
|
+
"text": "number"
|
|
2107
|
+
},
|
|
2108
|
+
"description": "The walking distance in minutes from the departure point to the first leg."
|
|
2109
|
+
},
|
|
2110
|
+
{
|
|
2111
|
+
"name": "arrivalWalk",
|
|
2112
|
+
"type": {
|
|
2113
|
+
"text": "number"
|
|
2114
|
+
},
|
|
2115
|
+
"description": "The walking distance in minutes from the last leg to the arrival point."
|
|
2116
|
+
},
|
|
2117
|
+
{
|
|
2118
|
+
"name": "currentLanguage",
|
|
2119
|
+
"type": {
|
|
2120
|
+
"text": "string"
|
|
2121
|
+
},
|
|
2122
|
+
"description": "The current language for localization."
|
|
2123
|
+
},
|
|
2124
|
+
{
|
|
2125
|
+
"name": "a11yFootpath",
|
|
2126
|
+
"optional": true,
|
|
2127
|
+
"type": {
|
|
2128
|
+
"text": "boolean"
|
|
2129
|
+
},
|
|
2130
|
+
"description": "Whether the a11y-icon should be shown."
|
|
2131
|
+
}
|
|
2132
|
+
]
|
|
2133
|
+
}
|
|
2134
|
+
],
|
|
2135
|
+
"exports": [
|
|
2136
|
+
{
|
|
2137
|
+
"kind": "js",
|
|
2138
|
+
"name": "getDepartureArrivalTimeAttribute",
|
|
2139
|
+
"declaration": {
|
|
2140
|
+
"name": "getDepartureArrivalTimeAttribute",
|
|
2141
|
+
"module": "core/timetable/access-leg-helper.js"
|
|
2142
|
+
}
|
|
2143
|
+
}
|
|
2144
|
+
]
|
|
2145
|
+
},
|
|
2146
|
+
{
|
|
2147
|
+
"kind": "javascript-module",
|
|
2148
|
+
"path": "core/timetable/timetable-helper.js",
|
|
2149
|
+
"declarations": [
|
|
2150
|
+
{
|
|
2151
|
+
"kind": "function",
|
|
2152
|
+
"name": "isRideLeg",
|
|
2153
|
+
"return": {
|
|
2154
|
+
"type": {
|
|
2155
|
+
"text": "leg is Extract<Leg, { __typename: 'PTRideLeg' }>"
|
|
2156
|
+
}
|
|
2157
|
+
},
|
|
2158
|
+
"parameters": [
|
|
2159
|
+
{
|
|
2160
|
+
"name": "leg",
|
|
2161
|
+
"type": {
|
|
2162
|
+
"text": "any"
|
|
2163
|
+
}
|
|
2164
|
+
}
|
|
2165
|
+
]
|
|
2166
|
+
},
|
|
2167
|
+
{
|
|
2168
|
+
"kind": "function",
|
|
2169
|
+
"name": "isConnectionLeg",
|
|
2170
|
+
"return": {
|
|
2171
|
+
"type": {
|
|
2172
|
+
"text": "leg is Extract<Leg, { __typename: 'PTConnectionLeg' }>"
|
|
2173
|
+
}
|
|
2174
|
+
},
|
|
2175
|
+
"parameters": [
|
|
2176
|
+
{
|
|
2177
|
+
"name": "leg",
|
|
2178
|
+
"type": {
|
|
2179
|
+
"text": "any"
|
|
2180
|
+
}
|
|
2181
|
+
}
|
|
2182
|
+
]
|
|
2183
|
+
},
|
|
2184
|
+
{
|
|
2185
|
+
"kind": "function",
|
|
2186
|
+
"name": "extractTimeAndStringFromNoticeText",
|
|
2187
|
+
"return": {
|
|
2188
|
+
"type": {
|
|
2189
|
+
"text": "{ duration: number; text: string }"
|
|
2190
|
+
}
|
|
2191
|
+
},
|
|
2192
|
+
"parameters": [
|
|
2193
|
+
{
|
|
2194
|
+
"name": "notice",
|
|
2195
|
+
"optional": true,
|
|
2196
|
+
"type": {
|
|
2197
|
+
"text": "Notice"
|
|
2198
|
+
}
|
|
2199
|
+
}
|
|
2200
|
+
]
|
|
2201
|
+
}
|
|
2202
|
+
],
|
|
2203
|
+
"exports": [
|
|
2204
|
+
{
|
|
2205
|
+
"kind": "js",
|
|
2206
|
+
"name": "isRideLeg",
|
|
2207
|
+
"declaration": {
|
|
2208
|
+
"name": "isRideLeg",
|
|
2209
|
+
"module": "core/timetable/timetable-helper.js"
|
|
2210
|
+
}
|
|
2211
|
+
},
|
|
2212
|
+
{
|
|
2213
|
+
"kind": "js",
|
|
2214
|
+
"name": "isConnectionLeg",
|
|
2215
|
+
"declaration": {
|
|
2216
|
+
"name": "isConnectionLeg",
|
|
2217
|
+
"module": "core/timetable/timetable-helper.js"
|
|
2218
|
+
}
|
|
2219
|
+
},
|
|
2220
|
+
{
|
|
2221
|
+
"kind": "js",
|
|
2222
|
+
"name": "extractTimeAndStringFromNoticeText",
|
|
2223
|
+
"declaration": {
|
|
2224
|
+
"name": "extractTimeAndStringFromNoticeText",
|
|
2225
|
+
"module": "core/timetable/timetable-helper.js"
|
|
2226
|
+
}
|
|
2227
|
+
}
|
|
2228
|
+
]
|
|
2229
|
+
},
|
|
2230
|
+
{
|
|
2231
|
+
"kind": "javascript-module",
|
|
2232
|
+
"path": "core/timetable/timetable-properties.js",
|
|
2233
|
+
"declarations": [],
|
|
2234
|
+
"exports": []
|
|
2235
|
+
},
|
|
2012
2236
|
{
|
|
2013
2237
|
"kind": "javascript-module",
|
|
2014
2238
|
"path": "autocomplete-grid/autocomplete-grid/autocomplete-grid.component.js",
|
|
@@ -2427,16 +2651,6 @@
|
|
|
2427
2651
|
"text": "SbbAutocompleteBaseElement | null"
|
|
2428
2652
|
}
|
|
2429
2653
|
}
|
|
2430
|
-
},
|
|
2431
|
-
{
|
|
2432
|
-
"kind": "method",
|
|
2433
|
-
"name": "setAttributeFromParent",
|
|
2434
|
-
"privacy": "protected",
|
|
2435
|
-
"return": {
|
|
2436
|
-
"type": {
|
|
2437
|
-
"text": "void"
|
|
2438
|
-
}
|
|
2439
|
-
}
|
|
2440
2654
|
}
|
|
2441
2655
|
],
|
|
2442
2656
|
"superclass": {
|
|
@@ -2520,16 +2734,6 @@
|
|
|
2520
2734
|
"text": "string"
|
|
2521
2735
|
}
|
|
2522
2736
|
},
|
|
2523
|
-
{
|
|
2524
|
-
"kind": "method",
|
|
2525
|
-
"name": "setAttributeFromParent",
|
|
2526
|
-
"privacy": "protected",
|
|
2527
|
-
"return": {
|
|
2528
|
-
"type": {
|
|
2529
|
-
"text": "void"
|
|
2530
|
-
}
|
|
2531
|
-
}
|
|
2532
|
-
},
|
|
2533
2737
|
{
|
|
2534
2738
|
"kind": "method",
|
|
2535
2739
|
"name": "selectByClick",
|
|
@@ -2609,266 +2813,42 @@
|
|
|
2609
2813
|
"privacy": "public",
|
|
2610
2814
|
"static": true,
|
|
2611
2815
|
"readonly": true,
|
|
2612
|
-
"default": "'row'"
|
|
2613
|
-
}
|
|
2614
|
-
],
|
|
2615
|
-
"mixins": [
|
|
2616
|
-
{
|
|
2617
|
-
"name": "SbbElementInternalsMixin",
|
|
2618
|
-
"package": "@sbb-esta/lyne-elements/core/mixins.js"
|
|
2619
|
-
}
|
|
2620
|
-
],
|
|
2621
|
-
"superclass": {
|
|
2622
|
-
"name": "LitElement",
|
|
2623
|
-
"package": "lit"
|
|
2624
|
-
},
|
|
2625
|
-
"tagName": "sbb-autocomplete-grid-row",
|
|
2626
|
-
"customElement": true
|
|
2627
|
-
}
|
|
2628
|
-
],
|
|
2629
|
-
"exports": [
|
|
2630
|
-
{
|
|
2631
|
-
"kind": "js",
|
|
2632
|
-
"name": "SbbAutocompleteGridRowElement",
|
|
2633
|
-
"declaration": {
|
|
2634
|
-
"name": "SbbAutocompleteGridRowElement",
|
|
2635
|
-
"module": "autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.js"
|
|
2636
|
-
}
|
|
2637
|
-
},
|
|
2638
|
-
{
|
|
2639
|
-
"kind": "custom-element-definition",
|
|
2640
|
-
"name": "sbb-autocomplete-grid-row",
|
|
2641
|
-
"declaration": {
|
|
2642
|
-
"name": "SbbAutocompleteGridRowElement",
|
|
2643
|
-
"module": "autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.js"
|
|
2644
|
-
}
|
|
2645
|
-
}
|
|
2646
|
-
]
|
|
2647
|
-
},
|
|
2648
|
-
{
|
|
2649
|
-
"kind": "javascript-module",
|
|
2650
|
-
"path": "core/datetime/date-helper.js",
|
|
2651
|
-
"declarations": [
|
|
2652
|
-
{
|
|
2653
|
-
"kind": "function",
|
|
2654
|
-
"name": "removeTimezoneFromISOTimeString",
|
|
2655
|
-
"return": {
|
|
2656
|
-
"type": {
|
|
2657
|
-
"text": ""
|
|
2658
|
-
}
|
|
2659
|
-
},
|
|
2660
|
-
"parameters": [
|
|
2661
|
-
{
|
|
2662
|
-
"name": "isoTime",
|
|
2663
|
-
"optional": true,
|
|
2664
|
-
"type": {
|
|
2665
|
-
"text": "string"
|
|
2666
|
-
},
|
|
2667
|
-
"description": "the iso time with the timezone offset"
|
|
2668
|
-
}
|
|
2669
|
-
],
|
|
2670
|
-
"description": "This function removes the offset of a ISO date string. This needs to be done to make sure that the offset is ignored.\nIf it is not removed the time would be converted to the browsers local time.\nExample: \"2022-08-29T09:30:00+03:00\" would be changed to \"2022-08-29T08:30:00+02:00\" --> not the desired outcome, as we want to use the time in the timezone and not the local time.\n\nAfter the offset is removed a new date is created in the browsers local time. This ensures that the time of the ISO date string is displayed and not a converted time.\nExample: \"2022-08-29T09:30:00+03:00\" would be changed to \"2022-08-29T09:30:00+02:00\" --> desired outcome\nAttention: This function does not convert the time to the correct time in the local timezone. It is a workaround to make sure, that the given time is displayed without being converted.\n\nOffset: Difference between the timezone and Coordinated Universal Time."
|
|
2671
|
-
},
|
|
2672
|
-
{
|
|
2673
|
-
"kind": "function",
|
|
2674
|
-
"name": "durationToTime",
|
|
2675
|
-
"return": {
|
|
2676
|
-
"type": {
|
|
2677
|
-
"text": ""
|
|
2678
|
-
}
|
|
2679
|
-
},
|
|
2680
|
-
"parameters": [
|
|
2681
|
-
{
|
|
2682
|
-
"name": "duration",
|
|
2683
|
-
"type": {
|
|
2684
|
-
"text": "number"
|
|
2685
|
-
},
|
|
2686
|
-
"description": "duration in minutes"
|
|
2687
|
-
},
|
|
2688
|
-
{
|
|
2689
|
-
"name": "currentLanguage",
|
|
2690
|
-
"optional": true,
|
|
2691
|
-
"type": {
|
|
2692
|
-
"text": "string"
|
|
2693
|
-
},
|
|
2694
|
-
"description": "currentLanguage"
|
|
2695
|
-
}
|
|
2696
|
-
],
|
|
2697
|
-
"description": "This function converts a duration number to date string with specific format"
|
|
2698
|
-
}
|
|
2699
|
-
],
|
|
2700
|
-
"exports": [
|
|
2701
|
-
{
|
|
2702
|
-
"kind": "js",
|
|
2703
|
-
"name": "removeTimezoneFromISOTimeString",
|
|
2704
|
-
"declaration": {
|
|
2705
|
-
"name": "removeTimezoneFromISOTimeString",
|
|
2706
|
-
"module": "core/datetime/date-helper.js"
|
|
2707
|
-
}
|
|
2708
|
-
},
|
|
2709
|
-
{
|
|
2710
|
-
"kind": "js",
|
|
2711
|
-
"name": "durationToTime",
|
|
2712
|
-
"declaration": {
|
|
2713
|
-
"name": "durationToTime",
|
|
2714
|
-
"module": "core/datetime/date-helper.js"
|
|
2715
|
-
}
|
|
2716
|
-
}
|
|
2717
|
-
]
|
|
2718
|
-
},
|
|
2719
|
-
{
|
|
2720
|
-
"kind": "javascript-module",
|
|
2721
|
-
"path": "core/timetable/access-leg-helper.js",
|
|
2722
|
-
"declarations": [
|
|
2723
|
-
{
|
|
2724
|
-
"kind": "function",
|
|
2725
|
-
"name": "getDepartureArrivalTimeAttribute",
|
|
2726
|
-
"return": {
|
|
2727
|
-
"type": {
|
|
2728
|
-
"text": ""
|
|
2729
|
-
}
|
|
2730
|
-
},
|
|
2731
|
-
"parameters": [
|
|
2732
|
-
{
|
|
2733
|
-
"name": "legs",
|
|
2734
|
-
"type": {
|
|
2735
|
-
"text": "Leg[]"
|
|
2736
|
-
},
|
|
2737
|
-
"description": ": An array of Leg objects representing the journey legs."
|
|
2738
|
-
},
|
|
2739
|
-
{
|
|
2740
|
-
"name": "departureWalk",
|
|
2741
|
-
"type": {
|
|
2742
|
-
"text": "number"
|
|
2743
|
-
},
|
|
2744
|
-
"description": ": The walking distance in minutes from the departure point to the first leg."
|
|
2745
|
-
},
|
|
2746
|
-
{
|
|
2747
|
-
"name": "arrivalWalk",
|
|
2748
|
-
"type": {
|
|
2749
|
-
"text": "number"
|
|
2750
|
-
},
|
|
2751
|
-
"description": ": The walking distance in minutes from the last leg to the arrival point."
|
|
2752
|
-
},
|
|
2753
|
-
{
|
|
2754
|
-
"name": "currentLanguage",
|
|
2755
|
-
"type": {
|
|
2756
|
-
"text": "string"
|
|
2757
|
-
},
|
|
2758
|
-
"description": ": The current language for localization."
|
|
2759
|
-
},
|
|
2760
|
-
{
|
|
2761
|
-
"name": "a11yFootpath",
|
|
2762
|
-
"optional": true,
|
|
2763
|
-
"type": {
|
|
2764
|
-
"text": "boolean"
|
|
2765
|
-
},
|
|
2766
|
-
"description": ": Whether the a11y-icon should be shown."
|
|
2767
|
-
}
|
|
2768
|
-
]
|
|
2769
|
-
}
|
|
2770
|
-
],
|
|
2771
|
-
"exports": [
|
|
2772
|
-
{
|
|
2773
|
-
"kind": "js",
|
|
2774
|
-
"name": "getDepartureArrivalTimeAttribute",
|
|
2775
|
-
"declaration": {
|
|
2776
|
-
"name": "getDepartureArrivalTimeAttribute",
|
|
2777
|
-
"module": "core/timetable/access-leg-helper.js"
|
|
2778
|
-
}
|
|
2779
|
-
}
|
|
2780
|
-
]
|
|
2781
|
-
},
|
|
2782
|
-
{
|
|
2783
|
-
"kind": "javascript-module",
|
|
2784
|
-
"path": "core/timetable/timetable-helper.js",
|
|
2785
|
-
"declarations": [
|
|
2786
|
-
{
|
|
2787
|
-
"kind": "function",
|
|
2788
|
-
"name": "isRideLeg",
|
|
2789
|
-
"return": {
|
|
2790
|
-
"type": {
|
|
2791
|
-
"text": "leg is Extract<Leg, { __typename: 'PTRideLeg' }>"
|
|
2792
|
-
}
|
|
2793
|
-
},
|
|
2794
|
-
"parameters": [
|
|
2795
|
-
{
|
|
2796
|
-
"name": "leg",
|
|
2797
|
-
"type": {
|
|
2798
|
-
"text": "any"
|
|
2799
|
-
}
|
|
2800
|
-
}
|
|
2801
|
-
]
|
|
2802
|
-
},
|
|
2803
|
-
{
|
|
2804
|
-
"kind": "function",
|
|
2805
|
-
"name": "isConnectionLeg",
|
|
2806
|
-
"return": {
|
|
2807
|
-
"type": {
|
|
2808
|
-
"text": "leg is Extract<Leg, { __typename: 'PTConnectionLeg' }>"
|
|
2809
|
-
}
|
|
2810
|
-
},
|
|
2811
|
-
"parameters": [
|
|
2812
|
-
{
|
|
2813
|
-
"name": "leg",
|
|
2814
|
-
"type": {
|
|
2815
|
-
"text": "any"
|
|
2816
|
-
}
|
|
2817
|
-
}
|
|
2818
|
-
]
|
|
2819
|
-
},
|
|
2820
|
-
{
|
|
2821
|
-
"kind": "function",
|
|
2822
|
-
"name": "extractTimeAndStringFromNoticeText",
|
|
2823
|
-
"return": {
|
|
2824
|
-
"type": {
|
|
2825
|
-
"text": "{ duration: number; text: string }"
|
|
2816
|
+
"default": "'row'"
|
|
2826
2817
|
}
|
|
2827
|
-
|
|
2828
|
-
"
|
|
2818
|
+
],
|
|
2819
|
+
"mixins": [
|
|
2829
2820
|
{
|
|
2830
|
-
"name": "
|
|
2831
|
-
"
|
|
2832
|
-
"type": {
|
|
2833
|
-
"text": "Notice"
|
|
2834
|
-
}
|
|
2821
|
+
"name": "SbbElementInternalsMixin",
|
|
2822
|
+
"package": "@sbb-esta/lyne-elements/core/mixins.js"
|
|
2835
2823
|
}
|
|
2836
|
-
]
|
|
2824
|
+
],
|
|
2825
|
+
"superclass": {
|
|
2826
|
+
"name": "LitElement",
|
|
2827
|
+
"package": "lit"
|
|
2828
|
+
},
|
|
2829
|
+
"tagName": "sbb-autocomplete-grid-row",
|
|
2830
|
+
"customElement": true
|
|
2837
2831
|
}
|
|
2838
2832
|
],
|
|
2839
2833
|
"exports": [
|
|
2840
2834
|
{
|
|
2841
2835
|
"kind": "js",
|
|
2842
|
-
"name": "
|
|
2843
|
-
"declaration": {
|
|
2844
|
-
"name": "isRideLeg",
|
|
2845
|
-
"module": "core/timetable/timetable-helper.js"
|
|
2846
|
-
}
|
|
2847
|
-
},
|
|
2848
|
-
{
|
|
2849
|
-
"kind": "js",
|
|
2850
|
-
"name": "isConnectionLeg",
|
|
2836
|
+
"name": "SbbAutocompleteGridRowElement",
|
|
2851
2837
|
"declaration": {
|
|
2852
|
-
"name": "
|
|
2853
|
-
"module": "
|
|
2838
|
+
"name": "SbbAutocompleteGridRowElement",
|
|
2839
|
+
"module": "autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.js"
|
|
2854
2840
|
}
|
|
2855
2841
|
},
|
|
2856
2842
|
{
|
|
2857
|
-
"kind": "
|
|
2858
|
-
"name": "
|
|
2843
|
+
"kind": "custom-element-definition",
|
|
2844
|
+
"name": "sbb-autocomplete-grid-row",
|
|
2859
2845
|
"declaration": {
|
|
2860
|
-
"name": "
|
|
2861
|
-
"module": "
|
|
2846
|
+
"name": "SbbAutocompleteGridRowElement",
|
|
2847
|
+
"module": "autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.js"
|
|
2862
2848
|
}
|
|
2863
2849
|
}
|
|
2864
2850
|
]
|
|
2865
2851
|
},
|
|
2866
|
-
{
|
|
2867
|
-
"kind": "javascript-module",
|
|
2868
|
-
"path": "core/timetable/timetable-properties.js",
|
|
2869
|
-
"declarations": [],
|
|
2870
|
-
"exports": []
|
|
2871
|
-
},
|
|
2872
2852
|
{
|
|
2873
2853
|
"kind": "javascript-module",
|
|
2874
2854
|
"path": "seat-reservation/common/mapper.js",
|
|
@@ -3387,7 +3367,7 @@
|
|
|
3387
3367
|
"text": "void"
|
|
3388
3368
|
}
|
|
3389
3369
|
},
|
|
3390
|
-
"description": "Scroll event handler managed the end of scrolling inside the coach scroll area.\nTimeout event handling to check if the scrolling has been completed.\nIt is required because the Safari browser does not handle scrollend event
|
|
3370
|
+
"description": "Scroll event handler managed the end of scrolling inside the coach scroll area.\nTimeout event handling to check if the scrolling has been completed.\nIt is required because the Safari browser does not handle scrollend event,\nand we therefore imitate this event -> scrollend."
|
|
3391
3371
|
},
|
|
3392
3372
|
{
|
|
3393
3373
|
"kind": "method",
|
|
@@ -3693,7 +3673,7 @@
|
|
|
3693
3673
|
},
|
|
3694
3674
|
{
|
|
3695
3675
|
"kind": "method",
|
|
3696
|
-
"name": "
|
|
3676
|
+
"name": "_getFirstPlaceInSelectedCoach",
|
|
3697
3677
|
"privacy": "private",
|
|
3698
3678
|
"return": {
|
|
3699
3679
|
"type": {
|
|
@@ -4129,7 +4109,7 @@
|
|
|
4129
4109
|
},
|
|
4130
4110
|
{
|
|
4131
4111
|
"kind": "method",
|
|
4132
|
-
"name": "
|
|
4112
|
+
"name": "_isValidCoachIndex",
|
|
4133
4113
|
"privacy": "private",
|
|
4134
4114
|
"return": {
|
|
4135
4115
|
"type": {
|
|
@@ -4401,9 +4381,6 @@
|
|
|
4401
4381
|
"type": {
|
|
4402
4382
|
"text": "number"
|
|
4403
4383
|
}
|
|
4404
|
-
},
|
|
4405
|
-
{
|
|
4406
|
-
"name": "deckIndex"
|
|
4407
4384
|
}
|
|
4408
4385
|
]
|
|
4409
4386
|
},
|
|
@@ -5415,7 +5392,7 @@
|
|
|
5415
5392
|
"text": "void"
|
|
5416
5393
|
}
|
|
5417
5394
|
},
|
|
5418
|
-
"description": "Scroll event handler managed the end of scrolling inside the coach scroll area.\nTimeout event handling to check if the scrolling has been completed.\nIt is required because the Safari browser does not handle scrollend event
|
|
5395
|
+
"description": "Scroll event handler managed the end of scrolling inside the coach scroll area.\nTimeout event handling to check if the scrolling has been completed.\nIt is required because the Safari browser does not handle scrollend event,\nand we therefore imitate this event -> scrollend.",
|
|
5419
5396
|
"inheritedFrom": {
|
|
5420
5397
|
"name": "SeatReservationBaseElement",
|
|
5421
5398
|
"module": "seat-reservation/seat-reservation/seat-reservation-base-element.js"
|
|
@@ -5793,7 +5770,7 @@
|
|
|
5793
5770
|
},
|
|
5794
5771
|
{
|
|
5795
5772
|
"kind": "method",
|
|
5796
|
-
"name": "
|
|
5773
|
+
"name": "_getFirstPlaceInSelectedCoach",
|
|
5797
5774
|
"privacy": "private",
|
|
5798
5775
|
"return": {
|
|
5799
5776
|
"type": {
|
|
@@ -6329,7 +6306,7 @@
|
|
|
6329
6306
|
},
|
|
6330
6307
|
{
|
|
6331
6308
|
"kind": "method",
|
|
6332
|
-
"name": "
|
|
6309
|
+
"name": "_isValidCoachIndex",
|
|
6333
6310
|
"privacy": "private",
|
|
6334
6311
|
"return": {
|
|
6335
6312
|
"type": {
|
|
@@ -6791,6 +6768,102 @@
|
|
|
6791
6768
|
}
|
|
6792
6769
|
]
|
|
6793
6770
|
},
|
|
6771
|
+
{
|
|
6772
|
+
"kind": "javascript-module",
|
|
6773
|
+
"path": "seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js",
|
|
6774
|
+
"declarations": [
|
|
6775
|
+
{
|
|
6776
|
+
"kind": "class",
|
|
6777
|
+
"description": "Component displays the available service icons of one coach.",
|
|
6778
|
+
"name": "SbbSeatReservationNavigationServicesElement",
|
|
6779
|
+
"members": [
|
|
6780
|
+
{
|
|
6781
|
+
"kind": "field",
|
|
6782
|
+
"name": "propertyIds",
|
|
6783
|
+
"type": {
|
|
6784
|
+
"text": "string[]"
|
|
6785
|
+
},
|
|
6786
|
+
"privacy": "public",
|
|
6787
|
+
"default": "[]",
|
|
6788
|
+
"description": "Coach service property ids, which are used to display the services in the navigation",
|
|
6789
|
+
"attribute": "property-ids"
|
|
6790
|
+
},
|
|
6791
|
+
{
|
|
6792
|
+
"kind": "field",
|
|
6793
|
+
"name": "vertical",
|
|
6794
|
+
"type": {
|
|
6795
|
+
"text": "boolean"
|
|
6796
|
+
},
|
|
6797
|
+
"privacy": "public",
|
|
6798
|
+
"default": "false",
|
|
6799
|
+
"description": "If true, the service icons are displayed vertically",
|
|
6800
|
+
"attribute": "vertical",
|
|
6801
|
+
"reflects": true
|
|
6802
|
+
},
|
|
6803
|
+
{
|
|
6804
|
+
"kind": "field",
|
|
6805
|
+
"name": "_language",
|
|
6806
|
+
"privacy": "private",
|
|
6807
|
+
"default": "new SbbLanguageController(this)"
|
|
6808
|
+
},
|
|
6809
|
+
{
|
|
6810
|
+
"kind": "method",
|
|
6811
|
+
"name": "_getServiceLabelDescription",
|
|
6812
|
+
"privacy": "private",
|
|
6813
|
+
"return": {
|
|
6814
|
+
"type": {
|
|
6815
|
+
"text": "string | null"
|
|
6816
|
+
}
|
|
6817
|
+
}
|
|
6818
|
+
}
|
|
6819
|
+
],
|
|
6820
|
+
"attributes": [
|
|
6821
|
+
{
|
|
6822
|
+
"name": "property-ids",
|
|
6823
|
+
"type": {
|
|
6824
|
+
"text": "string[]"
|
|
6825
|
+
},
|
|
6826
|
+
"default": "[]",
|
|
6827
|
+
"description": "Coach service property ids, which are used to display the services in the navigation",
|
|
6828
|
+
"fieldName": "propertyIds"
|
|
6829
|
+
},
|
|
6830
|
+
{
|
|
6831
|
+
"name": "vertical",
|
|
6832
|
+
"type": {
|
|
6833
|
+
"text": "boolean"
|
|
6834
|
+
},
|
|
6835
|
+
"default": "false",
|
|
6836
|
+
"description": "If true, the service icons are displayed vertically",
|
|
6837
|
+
"fieldName": "vertical"
|
|
6838
|
+
}
|
|
6839
|
+
],
|
|
6840
|
+
"superclass": {
|
|
6841
|
+
"name": "LitElement",
|
|
6842
|
+
"package": "lit"
|
|
6843
|
+
},
|
|
6844
|
+
"tagName": "sbb-seat-reservation-navigation-services",
|
|
6845
|
+
"customElement": true
|
|
6846
|
+
}
|
|
6847
|
+
],
|
|
6848
|
+
"exports": [
|
|
6849
|
+
{
|
|
6850
|
+
"kind": "js",
|
|
6851
|
+
"name": "SbbSeatReservationNavigationServicesElement",
|
|
6852
|
+
"declaration": {
|
|
6853
|
+
"name": "SbbSeatReservationNavigationServicesElement",
|
|
6854
|
+
"module": "seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js"
|
|
6855
|
+
}
|
|
6856
|
+
},
|
|
6857
|
+
{
|
|
6858
|
+
"kind": "custom-element-definition",
|
|
6859
|
+
"name": "sbb-seat-reservation-navigation-services",
|
|
6860
|
+
"declaration": {
|
|
6861
|
+
"name": "SbbSeatReservationNavigationServicesElement",
|
|
6862
|
+
"module": "seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js"
|
|
6863
|
+
}
|
|
6864
|
+
}
|
|
6865
|
+
]
|
|
6866
|
+
},
|
|
6794
6867
|
{
|
|
6795
6868
|
"kind": "javascript-module",
|
|
6796
6869
|
"path": "seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js",
|
|
@@ -6895,7 +6968,7 @@
|
|
|
6895
6968
|
},
|
|
6896
6969
|
"privacy": "public",
|
|
6897
6970
|
"default": "{ seats: 0, bicycles: 0 }",
|
|
6898
|
-
"description": "Representation of places available for selecting, counting seat places and bicycle places
|
|
6971
|
+
"description": "Representation of places available for selecting, counting seat places and bicycle places separately",
|
|
6899
6972
|
"attribute": "free-places-by-type"
|
|
6900
6973
|
},
|
|
6901
6974
|
{
|
|
@@ -7142,7 +7215,7 @@
|
|
|
7142
7215
|
"text": "CoachNumberOfFreePlaces"
|
|
7143
7216
|
},
|
|
7144
7217
|
"default": "{ seats: 0, bicycles: 0 }",
|
|
7145
|
-
"description": "Representation of places available for selecting, counting seat places and bicycle places
|
|
7218
|
+
"description": "Representation of places available for selecting, counting seat places and bicycle places separately",
|
|
7146
7219
|
"fieldName": "freePlacesByType"
|
|
7147
7220
|
},
|
|
7148
7221
|
{
|
|
@@ -7497,102 +7570,6 @@
|
|
|
7497
7570
|
}
|
|
7498
7571
|
]
|
|
7499
7572
|
},
|
|
7500
|
-
{
|
|
7501
|
-
"kind": "javascript-module",
|
|
7502
|
-
"path": "seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js",
|
|
7503
|
-
"declarations": [
|
|
7504
|
-
{
|
|
7505
|
-
"kind": "class",
|
|
7506
|
-
"description": "Component displays the available service icons of one coach.",
|
|
7507
|
-
"name": "SbbSeatReservationNavigationServicesElement",
|
|
7508
|
-
"members": [
|
|
7509
|
-
{
|
|
7510
|
-
"kind": "field",
|
|
7511
|
-
"name": "propertyIds",
|
|
7512
|
-
"type": {
|
|
7513
|
-
"text": "string[]"
|
|
7514
|
-
},
|
|
7515
|
-
"privacy": "public",
|
|
7516
|
-
"default": "[]",
|
|
7517
|
-
"description": "Coach service property ids, which are used to display the services in the navigation",
|
|
7518
|
-
"attribute": "property-ids"
|
|
7519
|
-
},
|
|
7520
|
-
{
|
|
7521
|
-
"kind": "field",
|
|
7522
|
-
"name": "vertical",
|
|
7523
|
-
"type": {
|
|
7524
|
-
"text": "boolean"
|
|
7525
|
-
},
|
|
7526
|
-
"privacy": "public",
|
|
7527
|
-
"default": "false",
|
|
7528
|
-
"description": "If true, the service icons are displayed vertically",
|
|
7529
|
-
"attribute": "vertical",
|
|
7530
|
-
"reflects": true
|
|
7531
|
-
},
|
|
7532
|
-
{
|
|
7533
|
-
"kind": "field",
|
|
7534
|
-
"name": "_language",
|
|
7535
|
-
"privacy": "private",
|
|
7536
|
-
"default": "new SbbLanguageController(this)"
|
|
7537
|
-
},
|
|
7538
|
-
{
|
|
7539
|
-
"kind": "method",
|
|
7540
|
-
"name": "_getServiceLabelDescription",
|
|
7541
|
-
"privacy": "private",
|
|
7542
|
-
"return": {
|
|
7543
|
-
"type": {
|
|
7544
|
-
"text": "string | null"
|
|
7545
|
-
}
|
|
7546
|
-
}
|
|
7547
|
-
}
|
|
7548
|
-
],
|
|
7549
|
-
"attributes": [
|
|
7550
|
-
{
|
|
7551
|
-
"name": "property-ids",
|
|
7552
|
-
"type": {
|
|
7553
|
-
"text": "string[]"
|
|
7554
|
-
},
|
|
7555
|
-
"default": "[]",
|
|
7556
|
-
"description": "Coach service property ids, which are used to display the services in the navigation",
|
|
7557
|
-
"fieldName": "propertyIds"
|
|
7558
|
-
},
|
|
7559
|
-
{
|
|
7560
|
-
"name": "vertical",
|
|
7561
|
-
"type": {
|
|
7562
|
-
"text": "boolean"
|
|
7563
|
-
},
|
|
7564
|
-
"default": "false",
|
|
7565
|
-
"description": "If true, the service icons are displayed vertically",
|
|
7566
|
-
"fieldName": "vertical"
|
|
7567
|
-
}
|
|
7568
|
-
],
|
|
7569
|
-
"superclass": {
|
|
7570
|
-
"name": "LitElement",
|
|
7571
|
-
"package": "lit"
|
|
7572
|
-
},
|
|
7573
|
-
"tagName": "sbb-seat-reservation-navigation-services",
|
|
7574
|
-
"customElement": true
|
|
7575
|
-
}
|
|
7576
|
-
],
|
|
7577
|
-
"exports": [
|
|
7578
|
-
{
|
|
7579
|
-
"kind": "js",
|
|
7580
|
-
"name": "SbbSeatReservationNavigationServicesElement",
|
|
7581
|
-
"declaration": {
|
|
7582
|
-
"name": "SbbSeatReservationNavigationServicesElement",
|
|
7583
|
-
"module": "seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js"
|
|
7584
|
-
}
|
|
7585
|
-
},
|
|
7586
|
-
{
|
|
7587
|
-
"kind": "custom-element-definition",
|
|
7588
|
-
"name": "sbb-seat-reservation-navigation-services",
|
|
7589
|
-
"declaration": {
|
|
7590
|
-
"name": "SbbSeatReservationNavigationServicesElement",
|
|
7591
|
-
"module": "seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js"
|
|
7592
|
-
}
|
|
7593
|
-
}
|
|
7594
|
-
]
|
|
7595
|
-
},
|
|
7596
7573
|
{
|
|
7597
7574
|
"kind": "javascript-module",
|
|
7598
7575
|
"path": "seat-reservation/seat-reservation-scoped/seat-reservation-scoped.component.js",
|
|
@@ -7749,9 +7726,6 @@
|
|
|
7749
7726
|
"type": {
|
|
7750
7727
|
"text": "number"
|
|
7751
7728
|
}
|
|
7752
|
-
},
|
|
7753
|
-
{
|
|
7754
|
-
"name": "coachDeckIndex"
|
|
7755
7729
|
}
|
|
7756
7730
|
],
|
|
7757
7731
|
"description": "Mapped information from place, coach and the coachindex to the seatReservationPlaceSelection.\nThis Object information is emitted outwards"
|
|
@@ -7842,15 +7816,6 @@
|
|
|
7842
7816
|
},
|
|
7843
7817
|
"default": "[ { warnings: null, coachDeckLayout: { id: '32801', name: 'WR6(501) - not touch', dimension: { width: 56, height: 10, borderRadius: null, }, lowFloorEntry: false, deckLevel: 'LOWER_DECK', placeGroups: [ { travelClass: 'SECOND', accommodationSubType: 'RESTAURANT', places: [ { number: '21', rectangle: { position: { x: 31, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'AISLE_SEAT', 'TABLE'], state: 'FREE', }, { number: '22', rectangle: { position: { x: 37, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'AISLE_SEAT', 'TABLE'], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'RESTAURANT', places: [ { number: '41', rectangle: { position: { x: 39, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'AISLE_SEAT', 'TABLE'], state: 'FREE', }, { number: '42', rectangle: { position: { x: 45, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'AISLE_SEAT', 'TABLE'], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'RESTAURANT', places: [ { number: '61', rectangle: { position: { x: 47, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'AISLE_SEAT', 'TABLE'], state: 'FREE', }, { number: '62', rectangle: { position: { x: 53, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'AISLE_SEAT', 'TABLE'], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'RESTAURANT', places: [ { number: '13', rectangle: { position: { x: 31, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: ['AISLE_SEAT', 'TABLE'], state: 'FREE', }, { number: '14', rectangle: { position: { x: 37, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: ['AISLE_SEAT', 'TABLE'], state: 'FREE', }, { number: '11', rectangle: { position: { x: 31, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'TABLE'], state: 'FREE', }, { number: '12', rectangle: { position: { x: 37, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'TABLE'], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'RESTAURANT', places: [ { number: '33', rectangle: { position: { x: 39, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: ['AISLE_SEAT', 'TABLE'], state: 'FREE', }, { number: '34', rectangle: { position: { x: 45, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['AISLE'], placeProperties: ['AISLE_SEAT', 'TABLE'], state: 'FREE', }, { number: '31', rectangle: { position: { x: 39, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'TABLE'], state: 'FREE', }, { number: '32', rectangle: { position: { x: 45, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'TABLE'], state: 'FREE', }, ], }, { travelClass: 'SECOND', accommodationSubType: 'RESTAURANT', places: [ { number: '53', rectangle: { position: { x: 47, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['AISLE'], placeProperties: ['AISLE_SEAT', 'TABLE'], state: 'FREE', }, { number: '51', rectangle: { position: { x: 47, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'TABLE'], state: 'FREE', }, { number: '52', rectangle: { position: { x: 53, y: 8, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 180, placeLocations: ['WINDOW'], placeProperties: ['WINDOW_SEAT', 'TABLE'], state: 'FREE', }, ], }, ], graphicElements: [ { rectangle: { position: { x: 0, y: 0, z: 0, }, dimension: { width: 6, height: 10, borderRadius: null, }, }, orientation: 0, type: 'DRIVER_AREA', }, { rectangle: { position: { x: 55, y: 0, z: 0, }, dimension: { width: 1, height: 10, borderRadius: null, }, }, orientation: 180, type: 'COACH_WALL_NO_PASSAGE', }, { rectangle: { position: { x: 42, y: 6, z: 0, }, dimension: { width: 2, height: 4, borderRadius: null, }, }, orientation: 0, type: 'TABLE_RESTAURANT', }, { rectangle: { position: { x: 50, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, type: 'TABLE_RESTAURANT', }, { rectangle: { position: { x: 34, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, type: 'TABLE_RESTAURANT', }, { rectangle: { position: { x: 34, y: 6, z: 0, }, dimension: { width: 2, height: 4, borderRadius: null, }, }, orientation: 0, type: 'TABLE_RESTAURANT', }, { rectangle: { position: { x: 42, y: 0, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, type: 'TABLE_RESTAURANT', }, { rectangle: { position: { x: 50, y: 6, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, orientation: 0, type: 'TABLE_RESTAURANT', }, { rectangle: { position: { x: 8, y: 2, z: 0, }, dimension: { width: 6, height: 6, borderRadius: null, }, }, orientation: 0, type: 'TABLE_RESTAURANT', }, ], serviceIcons: [ { rectangle: { position: { x: 32, y: 3, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'RESTAURANT_ICON', }, { rectangle: { position: { x: 46, y: 3, z: 0, }, dimension: { width: 2, height: 2, borderRadius: null, }, }, type: 'RESTAURANT_ICON', }, ], }, }, ]"
|
|
7844
7818
|
},
|
|
7845
|
-
{
|
|
7846
|
-
"kind": "variable",
|
|
7847
|
-
"name": "MOCK_COACHES_RAW_REAL_DATA",
|
|
7848
|
-
"type": {
|
|
7849
|
-
"text": "array"
|
|
7850
|
-
},
|
|
7851
|
-
"default": "[ { notifications: [], coachDeckLayout: { name: '65200', dimension: { width: 64, height: 10, }, lowFloorEntry: true, id: '30802', deckLevel: 'LOWER_DECK', placeGroups: [ { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '15', rectangle: { position: { x: 14, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '11', rectangle: { position: { x: 14, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '16', rectangle: { position: { x: 17, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, { number: '14', rectangle: { position: { x: 17, y: 2, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '12', rectangle: { position: { x: 17, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '25', rectangle: { position: { x: 20, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, { number: '26', rectangle: { position: { x: 24, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, { number: '23', rectangle: { position: { x: 20, y: 2, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, { number: '24', rectangle: { position: { x: 24, y: 2, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '21', rectangle: { position: { x: 20, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, { number: '22', rectangle: { position: { x: 24, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '35', rectangle: { position: { x: 27, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, { number: '33', rectangle: { position: { x: 27, y: 2, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '31', rectangle: { position: { x: 27, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '36', rectangle: { position: { x: 30, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, { number: '34', rectangle: { position: { x: 30, y: 2, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '32', rectangle: { position: { x: 30, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '46', rectangle: { position: { x: 33, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, { number: '44', rectangle: { position: { x: 33, y: 2, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '42', rectangle: { position: { x: 33, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '55', rectangle: { position: { x: 44, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, { number: '56', rectangle: { position: { x: 49, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, { number: '53', rectangle: { position: { x: 44, y: 2, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, { number: '54', rectangle: { position: { x: 49, y: 2, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '52', rectangle: { position: { x: 48, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '65', rectangle: { position: { x: 51, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, { number: '66', rectangle: { position: { x: 55, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, { number: '63', rectangle: { position: { x: 51, y: 2, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '61', rectangle: { position: { x: 51, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, { number: '62', rectangle: { position: { x: 55, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '75', rectangle: { position: { x: 57, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, { number: '76', rectangle: { position: { x: 61, y: 0, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, ], }, { serviceClass: 'HIGH', accommodationSubType: 'OPEN_SPACE', places: [ { number: '71', rectangle: { position: { x: 57, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 0, placeProperties: [], }, { number: '72', rectangle: { position: { x: 61, y: 8, z: 0, }, dimension: { width: 2, height: 2, }, }, orientation: 180, placeProperties: [], }, ], }, ], graphicElements: [ { rectangle: { position: { x: 0, y: 1, z: 0, }, dimension: { width: 13, height: 8, borderRadius: { topLeft: 3, topRight: 0, bottomRight: 0, bottomLeft: 3, }, }, }, orientation: 0, type: 'DRIVER_AREA', }, { rectangle: { position: { x: 36, y: 0, z: 0, }, dimension: { width: 2, height: 4, }, }, orientation: 0, type: 'LUGGAGE_AREA', }, { rectangle: { position: { x: 44, y: 8, z: 0, }, dimension: { width: 4, height: 2, }, }, orientation: 0, type: 'LUGGAGE_AREA', }, { rectangle: { position: { x: 39, y: 0, z: 0, }, dimension: { width: 4, height: 1, }, }, orientation: 0, type: 'ENTRANCE', }, { rectangle: { position: { x: 38, y: 1, z: 0, }, dimension: { width: 1, height: 4, }, }, orientation: 0, type: 'WALL', }, { rectangle: { position: { x: 38, y: 7, z: 0, }, dimension: { width: 1, height: 2, }, }, orientation: 0, type: 'WALL', }, { rectangle: { position: { x: 43, y: 1, z: 0, }, dimension: { width: 1, height: 4, }, }, orientation: 0, type: 'WALL', }, { rectangle: { position: { x: 43, y: 7, z: 0, }, dimension: { width: 1, height: 2, }, }, orientation: 0, type: 'WALL', }, ], serviceIcons: [ { rectangle: { position: { x: 47, y: 4, z: 0, }, dimension: { width: 1, height: 1, }, }, type: 'WHEELCHAIR_ICON', }, ], }, }, ]",
|
|
7852
|
-
"description": "taken from json provided by VAKE;\nAttention: <b>all the type information does not reflect our assumptions</b> and the data was\nmanuelly adjusted."
|
|
7853
|
-
},
|
|
7854
7819
|
{
|
|
7855
7820
|
"kind": "variable",
|
|
7856
7821
|
"name": "MOCK_GIRUNO_TRAIN",
|
|
@@ -7877,14 +7842,6 @@
|
|
|
7877
7842
|
"module": "seat-reservation/common/mapper/seat-reservation-sample-data.js"
|
|
7878
7843
|
}
|
|
7879
7844
|
},
|
|
7880
|
-
{
|
|
7881
|
-
"kind": "js",
|
|
7882
|
-
"name": "MOCK_COACHES_RAW_REAL_DATA",
|
|
7883
|
-
"declaration": {
|
|
7884
|
-
"name": "MOCK_COACHES_RAW_REAL_DATA",
|
|
7885
|
-
"module": "seat-reservation/common/mapper/seat-reservation-sample-data.js"
|
|
7886
|
-
}
|
|
7887
|
-
},
|
|
7888
7845
|
{
|
|
7889
7846
|
"kind": "js",
|
|
7890
7847
|
"name": "MOCK_GIRUNO_TRAIN",
|