@sbb-esta/lyne-elements-experimental 4.0.0-next.4 → 4.0.1
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 +369 -369
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -235,7 +235,7 @@
|
|
|
235
235
|
},
|
|
236
236
|
{
|
|
237
237
|
"kind": "javascript-module",
|
|
238
|
-
"path": "
|
|
238
|
+
"path": "autocomplete-grid/autocomplete-grid-button.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": "autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.js"
|
|
247
247
|
}
|
|
248
248
|
}
|
|
249
249
|
]
|
|
250
250
|
},
|
|
251
251
|
{
|
|
252
252
|
"kind": "javascript-module",
|
|
253
|
-
"path": "
|
|
253
|
+
"path": "autocomplete-grid/autocomplete-grid-cell.js",
|
|
254
254
|
"declarations": [],
|
|
255
255
|
"exports": [
|
|
256
256
|
{
|
|
@@ -258,30 +258,14 @@
|
|
|
258
258
|
"name": "*",
|
|
259
259
|
"declaration": {
|
|
260
260
|
"name": "*",
|
|
261
|
-
"module": "
|
|
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"
|
|
261
|
+
"module": "autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.component.js"
|
|
278
262
|
}
|
|
279
263
|
}
|
|
280
264
|
]
|
|
281
265
|
},
|
|
282
266
|
{
|
|
283
267
|
"kind": "javascript-module",
|
|
284
|
-
"path": "autocomplete-grid/autocomplete-grid-
|
|
268
|
+
"path": "autocomplete-grid/autocomplete-grid-optgroup.js",
|
|
285
269
|
"declarations": [],
|
|
286
270
|
"exports": [
|
|
287
271
|
{
|
|
@@ -289,14 +273,14 @@
|
|
|
289
273
|
"name": "*",
|
|
290
274
|
"declaration": {
|
|
291
275
|
"name": "*",
|
|
292
|
-
"module": "autocomplete-grid/autocomplete-grid-
|
|
276
|
+
"module": "autocomplete-grid/autocomplete-grid-optgroup/autocomplete-grid-optgroup.component.js"
|
|
293
277
|
}
|
|
294
278
|
}
|
|
295
279
|
]
|
|
296
280
|
},
|
|
297
281
|
{
|
|
298
282
|
"kind": "javascript-module",
|
|
299
|
-
"path": "autocomplete-grid/autocomplete-grid-
|
|
283
|
+
"path": "autocomplete-grid/autocomplete-grid-option.js",
|
|
300
284
|
"declarations": [],
|
|
301
285
|
"exports": [
|
|
302
286
|
{
|
|
@@ -304,14 +288,14 @@
|
|
|
304
288
|
"name": "*",
|
|
305
289
|
"declaration": {
|
|
306
290
|
"name": "*",
|
|
307
|
-
"module": "autocomplete-grid/autocomplete-grid-
|
|
291
|
+
"module": "autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.js"
|
|
308
292
|
}
|
|
309
293
|
}
|
|
310
294
|
]
|
|
311
295
|
},
|
|
312
296
|
{
|
|
313
297
|
"kind": "javascript-module",
|
|
314
|
-
"path": "autocomplete-grid/autocomplete-grid-
|
|
298
|
+
"path": "autocomplete-grid/autocomplete-grid-row.js",
|
|
315
299
|
"declarations": [],
|
|
316
300
|
"exports": [
|
|
317
301
|
{
|
|
@@ -319,14 +303,14 @@
|
|
|
319
303
|
"name": "*",
|
|
320
304
|
"declaration": {
|
|
321
305
|
"name": "*",
|
|
322
|
-
"module": "autocomplete-grid/autocomplete-grid-
|
|
306
|
+
"module": "autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.js"
|
|
323
307
|
}
|
|
324
308
|
}
|
|
325
309
|
]
|
|
326
310
|
},
|
|
327
311
|
{
|
|
328
312
|
"kind": "javascript-module",
|
|
329
|
-
"path": "autocomplete-grid/autocomplete-grid
|
|
313
|
+
"path": "autocomplete-grid/autocomplete-grid.js",
|
|
330
314
|
"declarations": [],
|
|
331
315
|
"exports": [
|
|
332
316
|
{
|
|
@@ -334,14 +318,14 @@
|
|
|
334
318
|
"name": "*",
|
|
335
319
|
"declaration": {
|
|
336
320
|
"name": "*",
|
|
337
|
-
"module": "autocomplete-grid/autocomplete-grid
|
|
321
|
+
"module": "autocomplete-grid/autocomplete-grid/autocomplete-grid.component.js"
|
|
338
322
|
}
|
|
339
323
|
}
|
|
340
324
|
]
|
|
341
325
|
},
|
|
342
326
|
{
|
|
343
327
|
"kind": "javascript-module",
|
|
344
|
-
"path": "
|
|
328
|
+
"path": "core/datetime.js",
|
|
345
329
|
"declarations": [],
|
|
346
330
|
"exports": [
|
|
347
331
|
{
|
|
@@ -349,14 +333,14 @@
|
|
|
349
333
|
"name": "*",
|
|
350
334
|
"declaration": {
|
|
351
335
|
"name": "*",
|
|
352
|
-
"module": "
|
|
336
|
+
"module": "core/datetime/date-helper.js"
|
|
353
337
|
}
|
|
354
338
|
}
|
|
355
339
|
]
|
|
356
340
|
},
|
|
357
341
|
{
|
|
358
342
|
"kind": "javascript-module",
|
|
359
|
-
"path": "
|
|
343
|
+
"path": "core/timetable.js",
|
|
360
344
|
"declarations": [],
|
|
361
345
|
"exports": [
|
|
362
346
|
{
|
|
@@ -364,7 +348,23 @@
|
|
|
364
348
|
"name": "*",
|
|
365
349
|
"declaration": {
|
|
366
350
|
"name": "*",
|
|
367
|
-
"module": "
|
|
351
|
+
"module": "core/timetable/access-leg-helper.js"
|
|
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"
|
|
368
368
|
}
|
|
369
369
|
}
|
|
370
370
|
]
|
|
@@ -2009,230 +2009,6 @@
|
|
|
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
|
-
},
|
|
2236
2012
|
{
|
|
2237
2013
|
"kind": "javascript-module",
|
|
2238
2014
|
"path": "autocomplete-grid/autocomplete-grid/autocomplete-grid.component.js",
|
|
@@ -2815,40 +2591,264 @@
|
|
|
2815
2591
|
"readonly": true,
|
|
2816
2592
|
"default": "'row'"
|
|
2817
2593
|
}
|
|
2818
|
-
],
|
|
2819
|
-
"mixins": [
|
|
2594
|
+
],
|
|
2595
|
+
"mixins": [
|
|
2596
|
+
{
|
|
2597
|
+
"name": "SbbElementInternalsMixin",
|
|
2598
|
+
"package": "@sbb-esta/lyne-elements/core/mixins.js"
|
|
2599
|
+
}
|
|
2600
|
+
],
|
|
2601
|
+
"superclass": {
|
|
2602
|
+
"name": "LitElement",
|
|
2603
|
+
"package": "lit"
|
|
2604
|
+
},
|
|
2605
|
+
"tagName": "sbb-autocomplete-grid-row",
|
|
2606
|
+
"customElement": true
|
|
2607
|
+
}
|
|
2608
|
+
],
|
|
2609
|
+
"exports": [
|
|
2610
|
+
{
|
|
2611
|
+
"kind": "js",
|
|
2612
|
+
"name": "SbbAutocompleteGridRowElement",
|
|
2613
|
+
"declaration": {
|
|
2614
|
+
"name": "SbbAutocompleteGridRowElement",
|
|
2615
|
+
"module": "autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.js"
|
|
2616
|
+
}
|
|
2617
|
+
},
|
|
2618
|
+
{
|
|
2619
|
+
"kind": "custom-element-definition",
|
|
2620
|
+
"name": "sbb-autocomplete-grid-row",
|
|
2621
|
+
"declaration": {
|
|
2622
|
+
"name": "SbbAutocompleteGridRowElement",
|
|
2623
|
+
"module": "autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.js"
|
|
2624
|
+
}
|
|
2625
|
+
}
|
|
2626
|
+
]
|
|
2627
|
+
},
|
|
2628
|
+
{
|
|
2629
|
+
"kind": "javascript-module",
|
|
2630
|
+
"path": "core/datetime/date-helper.js",
|
|
2631
|
+
"declarations": [
|
|
2632
|
+
{
|
|
2633
|
+
"kind": "function",
|
|
2634
|
+
"name": "removeTimezoneFromISOTimeString",
|
|
2635
|
+
"return": {
|
|
2636
|
+
"type": {
|
|
2637
|
+
"text": ""
|
|
2638
|
+
}
|
|
2639
|
+
},
|
|
2640
|
+
"parameters": [
|
|
2641
|
+
{
|
|
2642
|
+
"name": "isoTime",
|
|
2643
|
+
"optional": true,
|
|
2644
|
+
"type": {
|
|
2645
|
+
"text": "string"
|
|
2646
|
+
},
|
|
2647
|
+
"description": "the iso time with the timezone offset"
|
|
2648
|
+
}
|
|
2649
|
+
],
|
|
2650
|
+
"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."
|
|
2651
|
+
},
|
|
2652
|
+
{
|
|
2653
|
+
"kind": "function",
|
|
2654
|
+
"name": "durationToTime",
|
|
2655
|
+
"return": {
|
|
2656
|
+
"type": {
|
|
2657
|
+
"text": ""
|
|
2658
|
+
}
|
|
2659
|
+
},
|
|
2660
|
+
"parameters": [
|
|
2661
|
+
{
|
|
2662
|
+
"name": "duration",
|
|
2663
|
+
"type": {
|
|
2664
|
+
"text": "number"
|
|
2665
|
+
},
|
|
2666
|
+
"description": "duration in minutes"
|
|
2667
|
+
},
|
|
2668
|
+
{
|
|
2669
|
+
"name": "currentLanguage",
|
|
2670
|
+
"optional": true,
|
|
2671
|
+
"type": {
|
|
2672
|
+
"text": "string"
|
|
2673
|
+
},
|
|
2674
|
+
"description": "currentLanguage"
|
|
2675
|
+
}
|
|
2676
|
+
],
|
|
2677
|
+
"description": "This function converts a duration number to date string with specific format"
|
|
2678
|
+
}
|
|
2679
|
+
],
|
|
2680
|
+
"exports": [
|
|
2681
|
+
{
|
|
2682
|
+
"kind": "js",
|
|
2683
|
+
"name": "removeTimezoneFromISOTimeString",
|
|
2684
|
+
"declaration": {
|
|
2685
|
+
"name": "removeTimezoneFromISOTimeString",
|
|
2686
|
+
"module": "core/datetime/date-helper.js"
|
|
2687
|
+
}
|
|
2688
|
+
},
|
|
2689
|
+
{
|
|
2690
|
+
"kind": "js",
|
|
2691
|
+
"name": "durationToTime",
|
|
2692
|
+
"declaration": {
|
|
2693
|
+
"name": "durationToTime",
|
|
2694
|
+
"module": "core/datetime/date-helper.js"
|
|
2695
|
+
}
|
|
2696
|
+
}
|
|
2697
|
+
]
|
|
2698
|
+
},
|
|
2699
|
+
{
|
|
2700
|
+
"kind": "javascript-module",
|
|
2701
|
+
"path": "core/timetable/access-leg-helper.js",
|
|
2702
|
+
"declarations": [
|
|
2703
|
+
{
|
|
2704
|
+
"kind": "function",
|
|
2705
|
+
"name": "getDepartureArrivalTimeAttribute",
|
|
2706
|
+
"return": {
|
|
2707
|
+
"type": {
|
|
2708
|
+
"text": ""
|
|
2709
|
+
}
|
|
2710
|
+
},
|
|
2711
|
+
"parameters": [
|
|
2712
|
+
{
|
|
2713
|
+
"name": "legs",
|
|
2714
|
+
"type": {
|
|
2715
|
+
"text": "Leg[]"
|
|
2716
|
+
},
|
|
2717
|
+
"description": "An array of Leg objects representing the journey legs."
|
|
2718
|
+
},
|
|
2719
|
+
{
|
|
2720
|
+
"name": "departureWalk",
|
|
2721
|
+
"type": {
|
|
2722
|
+
"text": "number"
|
|
2723
|
+
},
|
|
2724
|
+
"description": "The walking distance in minutes from the departure point to the first leg."
|
|
2725
|
+
},
|
|
2726
|
+
{
|
|
2727
|
+
"name": "arrivalWalk",
|
|
2728
|
+
"type": {
|
|
2729
|
+
"text": "number"
|
|
2730
|
+
},
|
|
2731
|
+
"description": "The walking distance in minutes from the last leg to the arrival point."
|
|
2732
|
+
},
|
|
2733
|
+
{
|
|
2734
|
+
"name": "currentLanguage",
|
|
2735
|
+
"type": {
|
|
2736
|
+
"text": "string"
|
|
2737
|
+
},
|
|
2738
|
+
"description": "The current language for localization."
|
|
2739
|
+
},
|
|
2740
|
+
{
|
|
2741
|
+
"name": "a11yFootpath",
|
|
2742
|
+
"optional": true,
|
|
2743
|
+
"type": {
|
|
2744
|
+
"text": "boolean"
|
|
2745
|
+
},
|
|
2746
|
+
"description": "Whether the a11y-icon should be shown."
|
|
2747
|
+
}
|
|
2748
|
+
]
|
|
2749
|
+
}
|
|
2750
|
+
],
|
|
2751
|
+
"exports": [
|
|
2752
|
+
{
|
|
2753
|
+
"kind": "js",
|
|
2754
|
+
"name": "getDepartureArrivalTimeAttribute",
|
|
2755
|
+
"declaration": {
|
|
2756
|
+
"name": "getDepartureArrivalTimeAttribute",
|
|
2757
|
+
"module": "core/timetable/access-leg-helper.js"
|
|
2758
|
+
}
|
|
2759
|
+
}
|
|
2760
|
+
]
|
|
2761
|
+
},
|
|
2762
|
+
{
|
|
2763
|
+
"kind": "javascript-module",
|
|
2764
|
+
"path": "core/timetable/timetable-helper.js",
|
|
2765
|
+
"declarations": [
|
|
2766
|
+
{
|
|
2767
|
+
"kind": "function",
|
|
2768
|
+
"name": "isRideLeg",
|
|
2769
|
+
"return": {
|
|
2770
|
+
"type": {
|
|
2771
|
+
"text": "leg is Extract<Leg, { __typename: 'PTRideLeg' }>"
|
|
2772
|
+
}
|
|
2773
|
+
},
|
|
2774
|
+
"parameters": [
|
|
2775
|
+
{
|
|
2776
|
+
"name": "leg",
|
|
2777
|
+
"type": {
|
|
2778
|
+
"text": "any"
|
|
2779
|
+
}
|
|
2780
|
+
}
|
|
2781
|
+
]
|
|
2782
|
+
},
|
|
2783
|
+
{
|
|
2784
|
+
"kind": "function",
|
|
2785
|
+
"name": "isConnectionLeg",
|
|
2786
|
+
"return": {
|
|
2787
|
+
"type": {
|
|
2788
|
+
"text": "leg is Extract<Leg, { __typename: 'PTConnectionLeg' }>"
|
|
2789
|
+
}
|
|
2790
|
+
},
|
|
2791
|
+
"parameters": [
|
|
2820
2792
|
{
|
|
2821
|
-
"name": "
|
|
2822
|
-
"
|
|
2793
|
+
"name": "leg",
|
|
2794
|
+
"type": {
|
|
2795
|
+
"text": "any"
|
|
2796
|
+
}
|
|
2797
|
+
}
|
|
2798
|
+
]
|
|
2799
|
+
},
|
|
2800
|
+
{
|
|
2801
|
+
"kind": "function",
|
|
2802
|
+
"name": "extractTimeAndStringFromNoticeText",
|
|
2803
|
+
"return": {
|
|
2804
|
+
"type": {
|
|
2805
|
+
"text": "{ duration: number; text: string }"
|
|
2823
2806
|
}
|
|
2824
|
-
],
|
|
2825
|
-
"superclass": {
|
|
2826
|
-
"name": "LitElement",
|
|
2827
|
-
"package": "lit"
|
|
2828
2807
|
},
|
|
2829
|
-
"
|
|
2830
|
-
|
|
2808
|
+
"parameters": [
|
|
2809
|
+
{
|
|
2810
|
+
"name": "notice",
|
|
2811
|
+
"optional": true,
|
|
2812
|
+
"type": {
|
|
2813
|
+
"text": "Notice"
|
|
2814
|
+
}
|
|
2815
|
+
}
|
|
2816
|
+
]
|
|
2831
2817
|
}
|
|
2832
2818
|
],
|
|
2833
2819
|
"exports": [
|
|
2834
2820
|
{
|
|
2835
2821
|
"kind": "js",
|
|
2836
|
-
"name": "
|
|
2822
|
+
"name": "isRideLeg",
|
|
2837
2823
|
"declaration": {
|
|
2838
|
-
"name": "
|
|
2839
|
-
"module": "
|
|
2824
|
+
"name": "isRideLeg",
|
|
2825
|
+
"module": "core/timetable/timetable-helper.js"
|
|
2840
2826
|
}
|
|
2841
2827
|
},
|
|
2842
2828
|
{
|
|
2843
|
-
"kind": "
|
|
2844
|
-
"name": "
|
|
2829
|
+
"kind": "js",
|
|
2830
|
+
"name": "isConnectionLeg",
|
|
2845
2831
|
"declaration": {
|
|
2846
|
-
"name": "
|
|
2847
|
-
"module": "
|
|
2832
|
+
"name": "isConnectionLeg",
|
|
2833
|
+
"module": "core/timetable/timetable-helper.js"
|
|
2834
|
+
}
|
|
2835
|
+
},
|
|
2836
|
+
{
|
|
2837
|
+
"kind": "js",
|
|
2838
|
+
"name": "extractTimeAndStringFromNoticeText",
|
|
2839
|
+
"declaration": {
|
|
2840
|
+
"name": "extractTimeAndStringFromNoticeText",
|
|
2841
|
+
"module": "core/timetable/timetable-helper.js"
|
|
2848
2842
|
}
|
|
2849
2843
|
}
|
|
2850
2844
|
]
|
|
2851
2845
|
},
|
|
2846
|
+
{
|
|
2847
|
+
"kind": "javascript-module",
|
|
2848
|
+
"path": "core/timetable/timetable-properties.js",
|
|
2849
|
+
"declarations": [],
|
|
2850
|
+
"exports": []
|
|
2851
|
+
},
|
|
2852
2852
|
{
|
|
2853
2853
|
"kind": "javascript-module",
|
|
2854
2854
|
"path": "seat-reservation/common/mapper.js",
|
|
@@ -6768,102 +6768,6 @@
|
|
|
6768
6768
|
}
|
|
6769
6769
|
]
|
|
6770
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
|
-
},
|
|
6867
6771
|
{
|
|
6868
6772
|
"kind": "javascript-module",
|
|
6869
6773
|
"path": "seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js",
|
|
@@ -7300,6 +7204,102 @@
|
|
|
7300
7204
|
}
|
|
7301
7205
|
]
|
|
7302
7206
|
},
|
|
7207
|
+
{
|
|
7208
|
+
"kind": "javascript-module",
|
|
7209
|
+
"path": "seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js",
|
|
7210
|
+
"declarations": [
|
|
7211
|
+
{
|
|
7212
|
+
"kind": "class",
|
|
7213
|
+
"description": "Component displays the available service icons of one coach.",
|
|
7214
|
+
"name": "SbbSeatReservationNavigationServicesElement",
|
|
7215
|
+
"members": [
|
|
7216
|
+
{
|
|
7217
|
+
"kind": "field",
|
|
7218
|
+
"name": "propertyIds",
|
|
7219
|
+
"type": {
|
|
7220
|
+
"text": "string[]"
|
|
7221
|
+
},
|
|
7222
|
+
"privacy": "public",
|
|
7223
|
+
"default": "[]",
|
|
7224
|
+
"description": "Coach service property ids, which are used to display the services in the navigation",
|
|
7225
|
+
"attribute": "property-ids"
|
|
7226
|
+
},
|
|
7227
|
+
{
|
|
7228
|
+
"kind": "field",
|
|
7229
|
+
"name": "vertical",
|
|
7230
|
+
"type": {
|
|
7231
|
+
"text": "boolean"
|
|
7232
|
+
},
|
|
7233
|
+
"privacy": "public",
|
|
7234
|
+
"default": "false",
|
|
7235
|
+
"description": "If true, the service icons are displayed vertically",
|
|
7236
|
+
"attribute": "vertical",
|
|
7237
|
+
"reflects": true
|
|
7238
|
+
},
|
|
7239
|
+
{
|
|
7240
|
+
"kind": "field",
|
|
7241
|
+
"name": "_language",
|
|
7242
|
+
"privacy": "private",
|
|
7243
|
+
"default": "new SbbLanguageController(this)"
|
|
7244
|
+
},
|
|
7245
|
+
{
|
|
7246
|
+
"kind": "method",
|
|
7247
|
+
"name": "_getServiceLabelDescription",
|
|
7248
|
+
"privacy": "private",
|
|
7249
|
+
"return": {
|
|
7250
|
+
"type": {
|
|
7251
|
+
"text": "string | null"
|
|
7252
|
+
}
|
|
7253
|
+
}
|
|
7254
|
+
}
|
|
7255
|
+
],
|
|
7256
|
+
"attributes": [
|
|
7257
|
+
{
|
|
7258
|
+
"name": "property-ids",
|
|
7259
|
+
"type": {
|
|
7260
|
+
"text": "string[]"
|
|
7261
|
+
},
|
|
7262
|
+
"default": "[]",
|
|
7263
|
+
"description": "Coach service property ids, which are used to display the services in the navigation",
|
|
7264
|
+
"fieldName": "propertyIds"
|
|
7265
|
+
},
|
|
7266
|
+
{
|
|
7267
|
+
"name": "vertical",
|
|
7268
|
+
"type": {
|
|
7269
|
+
"text": "boolean"
|
|
7270
|
+
},
|
|
7271
|
+
"default": "false",
|
|
7272
|
+
"description": "If true, the service icons are displayed vertically",
|
|
7273
|
+
"fieldName": "vertical"
|
|
7274
|
+
}
|
|
7275
|
+
],
|
|
7276
|
+
"superclass": {
|
|
7277
|
+
"name": "LitElement",
|
|
7278
|
+
"package": "lit"
|
|
7279
|
+
},
|
|
7280
|
+
"tagName": "sbb-seat-reservation-navigation-services",
|
|
7281
|
+
"customElement": true
|
|
7282
|
+
}
|
|
7283
|
+
],
|
|
7284
|
+
"exports": [
|
|
7285
|
+
{
|
|
7286
|
+
"kind": "js",
|
|
7287
|
+
"name": "SbbSeatReservationNavigationServicesElement",
|
|
7288
|
+
"declaration": {
|
|
7289
|
+
"name": "SbbSeatReservationNavigationServicesElement",
|
|
7290
|
+
"module": "seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js"
|
|
7291
|
+
}
|
|
7292
|
+
},
|
|
7293
|
+
{
|
|
7294
|
+
"kind": "custom-element-definition",
|
|
7295
|
+
"name": "sbb-seat-reservation-navigation-services",
|
|
7296
|
+
"declaration": {
|
|
7297
|
+
"name": "SbbSeatReservationNavigationServicesElement",
|
|
7298
|
+
"module": "seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js"
|
|
7299
|
+
}
|
|
7300
|
+
}
|
|
7301
|
+
]
|
|
7302
|
+
},
|
|
7303
7303
|
{
|
|
7304
7304
|
"kind": "javascript-module",
|
|
7305
7305
|
"path": "seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sbb-esta/lyne-elements-experimental",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.1",
|
|
4
4
|
"description": "Lyne Design System",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"design system",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"type": "module",
|
|
12
12
|
"customElements": "custom-elements.json",
|
|
13
13
|
"peerDependencies": {
|
|
14
|
-
"@sbb-esta/lyne-elements": "4.0.
|
|
14
|
+
"@sbb-esta/lyne-elements": "4.0.1"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"lit": "^3.3.1",
|