@sbb-esta/lyne-elements-dev 5.0.0-next-dev.1777283651 → 5.0.0-next-dev.1777284499
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/core/styles/core.scss +4 -0
- package/core.css +12 -0
- package/custom-elements.json +224 -224
- package/development/toast/toast.component.js +1 -1
- package/development/toast.component-DvVY7zpe.js +268 -0
- package/development/toast.js +1 -1
- package/development/toast.pure.js +1 -1
- package/off-brand-theme.css +12 -0
- package/package.json +2 -2
- package/safety-theme.css +12 -0
- package/standard-theme.css +12 -0
- package/toast/toast.component.js +1 -1
- package/{toast.component-CXouszwJ.js → toast.component-2hmfUgsX.js} +1 -1
- package/toast.js +1 -1
- package/toast.pure.js +1 -1
- package/development/toast.component-D1M3OYxv.js +0 -268
package/core/styles/core.scss
CHANGED
|
@@ -304,6 +304,9 @@ $theme: 'standard' !default;
|
|
|
304
304
|
@use '../../tooltip/tooltip.global' as tooltip with (
|
|
305
305
|
$theme: $theme
|
|
306
306
|
);
|
|
307
|
+
@use '../../toast/toast.global' as toast with (
|
|
308
|
+
$theme: $theme
|
|
309
|
+
);
|
|
307
310
|
@use '../../visual-checkbox/visual-checkbox.global' as visual-checkbox with (
|
|
308
311
|
$theme: $theme
|
|
309
312
|
);
|
|
@@ -404,6 +407,7 @@ $theme: 'standard' !default;
|
|
|
404
407
|
@include toggle.base;
|
|
405
408
|
@include toggle-option.base;
|
|
406
409
|
@include tooltip.base;
|
|
410
|
+
@include toast.base;
|
|
407
411
|
@include visual-checkbox.base;
|
|
408
412
|
|
|
409
413
|
@include a11y.if-forced-colors {
|
package/core.css
CHANGED
|
@@ -1929,6 +1929,18 @@ slot[name=error]::slotted(*) {
|
|
|
1929
1929
|
--sbb-overlay-position-try-fallbacks:
|
|
1930
1930
|
block-start span-inline-end, block-start span-inline-start, block-end,
|
|
1931
1931
|
block-end span-inline-end, block-end span-inline-start;
|
|
1932
|
+
--sbb-toast-max-width: 25rem;
|
|
1933
|
+
--sbb-toast-animation-timing-function: ease;
|
|
1934
|
+
--sbb-toast-text-color: var(--sbb-color-3-inverted);
|
|
1935
|
+
--sbb-toast-background-color: var(--sbb-background-color-1-inverted);
|
|
1936
|
+
--sbb-toast-margin: var(--sbb-spacing-responsive-s);
|
|
1937
|
+
--sbb-toast-padding-block: var(--sbb-spacing-responsive-xxxs);
|
|
1938
|
+
--sbb-toast-padding-inline: var(--sbb-spacing-responsive-xs);
|
|
1939
|
+
--sbb-toast-border-radius: var(--sbb-border-radius-4x);
|
|
1940
|
+
--sbb-toast-container-position: fixed;
|
|
1941
|
+
--sbb-toast-horizontal-position: initial;
|
|
1942
|
+
--sbb-toast-vertical-position: initial;
|
|
1943
|
+
--sbb-toast-gap: var(--sbb-spacing-fixed-2x);
|
|
1932
1944
|
--sbb-visual-checkbox-dimension: var(--sbb-checkbox-dimension-m);
|
|
1933
1945
|
--sbb-visual-checkbox-selection-color: var(--sbb-color-primary);
|
|
1934
1946
|
--sbb-visual-checkbox-selection-color-negative: var(--sbb-color-primary85);
|
package/custom-elements.json
CHANGED
|
@@ -160168,22 +160168,15 @@
|
|
|
160168
160168
|
},
|
|
160169
160169
|
{
|
|
160170
160170
|
"kind": "javascript-module",
|
|
160171
|
-
"path": "train/train-
|
|
160171
|
+
"path": "train/train-wagon/train-wagon.component.js",
|
|
160172
160172
|
"declarations": [
|
|
160173
160173
|
{
|
|
160174
160174
|
"kind": "class",
|
|
160175
|
-
"description": "It displays a train
|
|
160176
|
-
"name": "
|
|
160177
|
-
"cssProperties": [
|
|
160178
|
-
{
|
|
160179
|
-
"description": "Defines the inline padding inside the horizontal scrolling area.",
|
|
160180
|
-
"name": "--sbb-train-formation-padding-inline",
|
|
160181
|
-
"default": "0px"
|
|
160182
|
-
}
|
|
160183
|
-
],
|
|
160175
|
+
"description": "It displays a train compartment within a `sbb-train` component.",
|
|
160176
|
+
"name": "SbbTrainWagonElement",
|
|
160184
160177
|
"slots": [
|
|
160185
160178
|
{
|
|
160186
|
-
"description": "Use the unnamed slot to add
|
|
160179
|
+
"description": "Use the unnamed slot to add one or more `sbb-icon` for meta-information of the `sbb-train-wagon`.",
|
|
160187
160180
|
"name": ""
|
|
160188
160181
|
}
|
|
160189
160182
|
],
|
|
@@ -160197,12 +160190,49 @@
|
|
|
160197
160190
|
"privacy": "public",
|
|
160198
160191
|
"static": true,
|
|
160199
160192
|
"readonly": true,
|
|
160200
|
-
"default": "'sbb-train-
|
|
160193
|
+
"default": "'sbb-train-wagon'",
|
|
160194
|
+
"inheritedFrom": {
|
|
160195
|
+
"name": "SbbElement",
|
|
160196
|
+
"module": "core/base-elements/element.js"
|
|
160197
|
+
}
|
|
160198
|
+
},
|
|
160199
|
+
{
|
|
160200
|
+
"kind": "field",
|
|
160201
|
+
"name": "elementDependencies",
|
|
160202
|
+
"type": {
|
|
160203
|
+
"text": "SbbElementType[]"
|
|
160204
|
+
},
|
|
160205
|
+
"privacy": "public",
|
|
160206
|
+
"static": true,
|
|
160207
|
+
"default": "[ SbbIconElement, SbbTimetableOccupancyIconElement, ]",
|
|
160201
160208
|
"inheritedFrom": {
|
|
160202
160209
|
"name": "SbbElement",
|
|
160203
160210
|
"module": "core/base-elements/element.js"
|
|
160204
160211
|
}
|
|
160205
160212
|
},
|
|
160213
|
+
{
|
|
160214
|
+
"kind": "field",
|
|
160215
|
+
"name": "events",
|
|
160216
|
+
"privacy": "public",
|
|
160217
|
+
"static": true,
|
|
160218
|
+
"readonly": true,
|
|
160219
|
+
"default": "{ sectorchange: 'sectorchange', }",
|
|
160220
|
+
"type": {
|
|
160221
|
+
"text": "{\n sectorchange: 'sectorchange',\n }"
|
|
160222
|
+
}
|
|
160223
|
+
},
|
|
160224
|
+
{
|
|
160225
|
+
"kind": "field",
|
|
160226
|
+
"name": "type",
|
|
160227
|
+
"type": {
|
|
160228
|
+
"text": "| 'wagon'\n | 'wagon-end-left'\n | 'wagon-end-right'\n | 'couchette'\n | 'sleeping'\n | 'restaurant'\n | 'locomotive'\n | 'closed'"
|
|
160229
|
+
},
|
|
160230
|
+
"privacy": "public",
|
|
160231
|
+
"default": "'wagon'",
|
|
160232
|
+
"description": "Wagon type.\nFor `wagon-end-left` and `wagon-end-right`, please set the corresponding value of the `blockedPassage` property.",
|
|
160233
|
+
"attribute": "type",
|
|
160234
|
+
"reflects": true
|
|
160235
|
+
},
|
|
160206
160236
|
{
|
|
160207
160237
|
"kind": "field",
|
|
160208
160238
|
"name": "listChildLocalNames",
|
|
@@ -160212,7 +160242,7 @@
|
|
|
160212
160242
|
"privacy": "protected",
|
|
160213
160243
|
"readonly": true,
|
|
160214
160244
|
"description": "A list of lower-cased tag names to match against. (e.g. `sbb-link`)",
|
|
160215
|
-
"default": "['sbb-
|
|
160245
|
+
"default": "['sbb-icon']",
|
|
160216
160246
|
"inheritedFrom": {
|
|
160217
160247
|
"name": "SbbNamedSlotListMixin",
|
|
160218
160248
|
"module": "core/mixins/named-slot-list-mixin.js"
|
|
@@ -160220,24 +160250,71 @@
|
|
|
160220
160250
|
},
|
|
160221
160251
|
{
|
|
160222
160252
|
"kind": "field",
|
|
160223
|
-
"name": "
|
|
160253
|
+
"name": "occupancy",
|
|
160224
160254
|
"type": {
|
|
160225
|
-
"text": "
|
|
160255
|
+
"text": "SbbOccupancy | null"
|
|
160226
160256
|
},
|
|
160227
160257
|
"privacy": "public",
|
|
160228
|
-
"default": "
|
|
160229
|
-
"description": "
|
|
160230
|
-
"attribute": "
|
|
160258
|
+
"default": "null",
|
|
160259
|
+
"description": "Occupancy of a wagon.",
|
|
160260
|
+
"attribute": "occupancy"
|
|
160261
|
+
},
|
|
160262
|
+
{
|
|
160263
|
+
"kind": "field",
|
|
160264
|
+
"name": "sector",
|
|
160265
|
+
"type": {
|
|
160266
|
+
"text": "string"
|
|
160267
|
+
},
|
|
160268
|
+
"privacy": "public",
|
|
160269
|
+
"default": "''",
|
|
160270
|
+
"description": "Sector in which the wagon stops.",
|
|
160271
|
+
"attribute": "sector",
|
|
160231
160272
|
"reflects": true
|
|
160232
160273
|
},
|
|
160233
160274
|
{
|
|
160234
160275
|
"kind": "field",
|
|
160235
|
-
"name": "
|
|
160276
|
+
"name": "blockedPassage",
|
|
160236
160277
|
"type": {
|
|
160237
|
-
"text": "
|
|
160278
|
+
"text": "'previous' | 'next' | 'both' | 'none'"
|
|
160238
160279
|
},
|
|
160239
|
-
"privacy": "
|
|
160240
|
-
"default": "
|
|
160280
|
+
"privacy": "public",
|
|
160281
|
+
"default": "'none'",
|
|
160282
|
+
"description": "Accessibility text for blocked passages of the wagon.",
|
|
160283
|
+
"attribute": "blocked-passage"
|
|
160284
|
+
},
|
|
160285
|
+
{
|
|
160286
|
+
"kind": "field",
|
|
160287
|
+
"name": "wagonClass",
|
|
160288
|
+
"type": {
|
|
160289
|
+
"text": "'1' | '2' | null"
|
|
160290
|
+
},
|
|
160291
|
+
"privacy": "public",
|
|
160292
|
+
"default": "null",
|
|
160293
|
+
"description": "Class label",
|
|
160294
|
+
"attribute": "wagon-class"
|
|
160295
|
+
},
|
|
160296
|
+
{
|
|
160297
|
+
"kind": "field",
|
|
160298
|
+
"name": "label",
|
|
160299
|
+
"type": {
|
|
160300
|
+
"text": "string"
|
|
160301
|
+
},
|
|
160302
|
+
"privacy": "public",
|
|
160303
|
+
"default": "''",
|
|
160304
|
+
"description": "Wagon number",
|
|
160305
|
+
"attribute": "label",
|
|
160306
|
+
"reflects": true
|
|
160307
|
+
},
|
|
160308
|
+
{
|
|
160309
|
+
"kind": "field",
|
|
160310
|
+
"name": "additionalAccessibilityText",
|
|
160311
|
+
"type": {
|
|
160312
|
+
"text": "string"
|
|
160313
|
+
},
|
|
160314
|
+
"privacy": "public",
|
|
160315
|
+
"default": "''",
|
|
160316
|
+
"description": "Additional accessibility text which will be appended to the end.",
|
|
160317
|
+
"attribute": "additional-accessibility-text"
|
|
160241
160318
|
},
|
|
160242
160319
|
{
|
|
160243
160320
|
"kind": "field",
|
|
@@ -160247,35 +160324,22 @@
|
|
|
160247
160324
|
},
|
|
160248
160325
|
{
|
|
160249
160326
|
"kind": "method",
|
|
160250
|
-
"name": "
|
|
160327
|
+
"name": "_sectorChanged",
|
|
160251
160328
|
"privacy": "private",
|
|
160252
160329
|
"return": {
|
|
160253
160330
|
"type": {
|
|
160254
160331
|
"text": "void"
|
|
160255
160332
|
}
|
|
160256
|
-
}
|
|
160257
|
-
"parameters": [
|
|
160258
|
-
{
|
|
160259
|
-
"name": "event",
|
|
160260
|
-
"optional": true,
|
|
160261
|
-
"type": {
|
|
160262
|
-
"text": "Event"
|
|
160263
|
-
}
|
|
160264
|
-
}
|
|
160265
|
-
]
|
|
160333
|
+
}
|
|
160266
160334
|
},
|
|
160267
160335
|
{
|
|
160268
|
-
"kind": "
|
|
160269
|
-
"name": "
|
|
160270
|
-
"
|
|
160271
|
-
|
|
160272
|
-
|
|
160273
|
-
|
|
160274
|
-
|
|
160275
|
-
"default": "[SbbScreenReaderOnlyElement]",
|
|
160276
|
-
"inheritedFrom": {
|
|
160277
|
-
"name": "SbbElement",
|
|
160278
|
-
"module": "core/base-elements/element.js"
|
|
160336
|
+
"kind": "method",
|
|
160337
|
+
"name": "_typeLabel",
|
|
160338
|
+
"privacy": "private",
|
|
160339
|
+
"return": {
|
|
160340
|
+
"type": {
|
|
160341
|
+
"text": "string"
|
|
160342
|
+
}
|
|
160279
160343
|
}
|
|
160280
160344
|
},
|
|
160281
160345
|
{
|
|
@@ -160619,13 +160683,67 @@
|
|
|
160619
160683
|
],
|
|
160620
160684
|
"attributes": [
|
|
160621
160685
|
{
|
|
160622
|
-
"name": "
|
|
160686
|
+
"name": "type",
|
|
160623
160687
|
"type": {
|
|
160624
|
-
"text": "'
|
|
160688
|
+
"text": "| 'wagon'\n | 'wagon-end-left'\n | 'wagon-end-right'\n | 'couchette'\n | 'sleeping'\n | 'restaurant'\n | 'locomotive'\n | 'closed'"
|
|
160625
160689
|
},
|
|
160626
|
-
"default": "'
|
|
160627
|
-
"description": "
|
|
160628
|
-
"fieldName": "
|
|
160690
|
+
"default": "'wagon'",
|
|
160691
|
+
"description": "Wagon type.\nFor `wagon-end-left` and `wagon-end-right`, please set the corresponding value of the `blockedPassage` property.",
|
|
160692
|
+
"fieldName": "type"
|
|
160693
|
+
},
|
|
160694
|
+
{
|
|
160695
|
+
"name": "occupancy",
|
|
160696
|
+
"type": {
|
|
160697
|
+
"text": "SbbOccupancy | null"
|
|
160698
|
+
},
|
|
160699
|
+
"default": "null",
|
|
160700
|
+
"description": "Occupancy of a wagon.",
|
|
160701
|
+
"fieldName": "occupancy"
|
|
160702
|
+
},
|
|
160703
|
+
{
|
|
160704
|
+
"name": "sector",
|
|
160705
|
+
"type": {
|
|
160706
|
+
"text": "string"
|
|
160707
|
+
},
|
|
160708
|
+
"default": "''",
|
|
160709
|
+
"description": "Sector in which the wagon stops.",
|
|
160710
|
+
"fieldName": "sector"
|
|
160711
|
+
},
|
|
160712
|
+
{
|
|
160713
|
+
"name": "blocked-passage",
|
|
160714
|
+
"type": {
|
|
160715
|
+
"text": "'previous' | 'next' | 'both' | 'none'"
|
|
160716
|
+
},
|
|
160717
|
+
"default": "'none'",
|
|
160718
|
+
"description": "Accessibility text for blocked passages of the wagon.",
|
|
160719
|
+
"fieldName": "blockedPassage"
|
|
160720
|
+
},
|
|
160721
|
+
{
|
|
160722
|
+
"name": "wagon-class",
|
|
160723
|
+
"type": {
|
|
160724
|
+
"text": "'1' | '2' | null"
|
|
160725
|
+
},
|
|
160726
|
+
"default": "null",
|
|
160727
|
+
"description": "Class label",
|
|
160728
|
+
"fieldName": "wagonClass"
|
|
160729
|
+
},
|
|
160730
|
+
{
|
|
160731
|
+
"name": "label",
|
|
160732
|
+
"type": {
|
|
160733
|
+
"text": "string"
|
|
160734
|
+
},
|
|
160735
|
+
"default": "''",
|
|
160736
|
+
"description": "Wagon number",
|
|
160737
|
+
"fieldName": "label"
|
|
160738
|
+
},
|
|
160739
|
+
{
|
|
160740
|
+
"name": "additional-accessibility-text",
|
|
160741
|
+
"type": {
|
|
160742
|
+
"text": "string"
|
|
160743
|
+
},
|
|
160744
|
+
"default": "''",
|
|
160745
|
+
"description": "Additional accessibility text which will be appended to the end.",
|
|
160746
|
+
"fieldName": "additionalAccessibilityText"
|
|
160629
160747
|
}
|
|
160630
160748
|
],
|
|
160631
160749
|
"mixins": [
|
|
@@ -160638,32 +160756,39 @@
|
|
|
160638
160756
|
"name": "SbbElement",
|
|
160639
160757
|
"module": "core.js"
|
|
160640
160758
|
},
|
|
160641
|
-
"tagName": "sbb-train-
|
|
160759
|
+
"tagName": "sbb-train-wagon",
|
|
160642
160760
|
"customElement": true
|
|
160643
160761
|
}
|
|
160644
160762
|
],
|
|
160645
160763
|
"exports": [
|
|
160646
160764
|
{
|
|
160647
160765
|
"kind": "js",
|
|
160648
|
-
"name": "
|
|
160766
|
+
"name": "SbbTrainWagonElement",
|
|
160649
160767
|
"declaration": {
|
|
160650
|
-
"name": "
|
|
160651
|
-
"module": "train/train-
|
|
160768
|
+
"name": "SbbTrainWagonElement",
|
|
160769
|
+
"module": "train/train-wagon/train-wagon.component.js"
|
|
160652
160770
|
}
|
|
160653
160771
|
}
|
|
160654
160772
|
]
|
|
160655
160773
|
},
|
|
160656
160774
|
{
|
|
160657
160775
|
"kind": "javascript-module",
|
|
160658
|
-
"path": "train/train-
|
|
160776
|
+
"path": "train/train-formation/train-formation.component.js",
|
|
160659
160777
|
"declarations": [
|
|
160660
160778
|
{
|
|
160661
160779
|
"kind": "class",
|
|
160662
|
-
"description": "It displays a train
|
|
160663
|
-
"name": "
|
|
160780
|
+
"description": "It displays a train composition, acting as a container for one or more `sbb-train` component.",
|
|
160781
|
+
"name": "SbbTrainFormationElement",
|
|
160782
|
+
"cssProperties": [
|
|
160783
|
+
{
|
|
160784
|
+
"description": "Defines the inline padding inside the horizontal scrolling area.",
|
|
160785
|
+
"name": "--sbb-train-formation-padding-inline",
|
|
160786
|
+
"default": "0px"
|
|
160787
|
+
}
|
|
160788
|
+
],
|
|
160664
160789
|
"slots": [
|
|
160665
160790
|
{
|
|
160666
|
-
"description": "Use the unnamed slot to add
|
|
160791
|
+
"description": "Use the unnamed slot to add 'sbb-train' elements to the `sbb-train-formation`.",
|
|
160667
160792
|
"name": ""
|
|
160668
160793
|
}
|
|
160669
160794
|
],
|
|
@@ -160677,49 +160802,12 @@
|
|
|
160677
160802
|
"privacy": "public",
|
|
160678
160803
|
"static": true,
|
|
160679
160804
|
"readonly": true,
|
|
160680
|
-
"default": "'sbb-train-
|
|
160681
|
-
"inheritedFrom": {
|
|
160682
|
-
"name": "SbbElement",
|
|
160683
|
-
"module": "core/base-elements/element.js"
|
|
160684
|
-
}
|
|
160685
|
-
},
|
|
160686
|
-
{
|
|
160687
|
-
"kind": "field",
|
|
160688
|
-
"name": "elementDependencies",
|
|
160689
|
-
"type": {
|
|
160690
|
-
"text": "SbbElementType[]"
|
|
160691
|
-
},
|
|
160692
|
-
"privacy": "public",
|
|
160693
|
-
"static": true,
|
|
160694
|
-
"default": "[ SbbIconElement, SbbTimetableOccupancyIconElement, ]",
|
|
160805
|
+
"default": "'sbb-train-formation'",
|
|
160695
160806
|
"inheritedFrom": {
|
|
160696
160807
|
"name": "SbbElement",
|
|
160697
160808
|
"module": "core/base-elements/element.js"
|
|
160698
160809
|
}
|
|
160699
160810
|
},
|
|
160700
|
-
{
|
|
160701
|
-
"kind": "field",
|
|
160702
|
-
"name": "events",
|
|
160703
|
-
"privacy": "public",
|
|
160704
|
-
"static": true,
|
|
160705
|
-
"readonly": true,
|
|
160706
|
-
"default": "{ sectorchange: 'sectorchange', }",
|
|
160707
|
-
"type": {
|
|
160708
|
-
"text": "{\n sectorchange: 'sectorchange',\n }"
|
|
160709
|
-
}
|
|
160710
|
-
},
|
|
160711
|
-
{
|
|
160712
|
-
"kind": "field",
|
|
160713
|
-
"name": "type",
|
|
160714
|
-
"type": {
|
|
160715
|
-
"text": "| 'wagon'\n | 'wagon-end-left'\n | 'wagon-end-right'\n | 'couchette'\n | 'sleeping'\n | 'restaurant'\n | 'locomotive'\n | 'closed'"
|
|
160716
|
-
},
|
|
160717
|
-
"privacy": "public",
|
|
160718
|
-
"default": "'wagon'",
|
|
160719
|
-
"description": "Wagon type.\nFor `wagon-end-left` and `wagon-end-right`, please set the corresponding value of the `blockedPassage` property.",
|
|
160720
|
-
"attribute": "type",
|
|
160721
|
-
"reflects": true
|
|
160722
|
-
},
|
|
160723
160811
|
{
|
|
160724
160812
|
"kind": "field",
|
|
160725
160813
|
"name": "listChildLocalNames",
|
|
@@ -160729,7 +160817,7 @@
|
|
|
160729
160817
|
"privacy": "protected",
|
|
160730
160818
|
"readonly": true,
|
|
160731
160819
|
"description": "A list of lower-cased tag names to match against. (e.g. `sbb-link`)",
|
|
160732
|
-
"default": "['sbb-
|
|
160820
|
+
"default": "['sbb-train']",
|
|
160733
160821
|
"inheritedFrom": {
|
|
160734
160822
|
"name": "SbbNamedSlotListMixin",
|
|
160735
160823
|
"module": "core/mixins/named-slot-list-mixin.js"
|
|
@@ -160737,71 +160825,24 @@
|
|
|
160737
160825
|
},
|
|
160738
160826
|
{
|
|
160739
160827
|
"kind": "field",
|
|
160740
|
-
"name": "
|
|
160741
|
-
"type": {
|
|
160742
|
-
"text": "SbbOccupancy | null"
|
|
160743
|
-
},
|
|
160744
|
-
"privacy": "public",
|
|
160745
|
-
"default": "null",
|
|
160746
|
-
"description": "Occupancy of a wagon.",
|
|
160747
|
-
"attribute": "occupancy"
|
|
160748
|
-
},
|
|
160749
|
-
{
|
|
160750
|
-
"kind": "field",
|
|
160751
|
-
"name": "sector",
|
|
160752
|
-
"type": {
|
|
160753
|
-
"text": "string"
|
|
160754
|
-
},
|
|
160755
|
-
"privacy": "public",
|
|
160756
|
-
"default": "''",
|
|
160757
|
-
"description": "Sector in which the wagon stops.",
|
|
160758
|
-
"attribute": "sector",
|
|
160759
|
-
"reflects": true
|
|
160760
|
-
},
|
|
160761
|
-
{
|
|
160762
|
-
"kind": "field",
|
|
160763
|
-
"name": "blockedPassage",
|
|
160764
|
-
"type": {
|
|
160765
|
-
"text": "'previous' | 'next' | 'both' | 'none'"
|
|
160766
|
-
},
|
|
160767
|
-
"privacy": "public",
|
|
160768
|
-
"default": "'none'",
|
|
160769
|
-
"description": "Accessibility text for blocked passages of the wagon.",
|
|
160770
|
-
"attribute": "blocked-passage"
|
|
160771
|
-
},
|
|
160772
|
-
{
|
|
160773
|
-
"kind": "field",
|
|
160774
|
-
"name": "wagonClass",
|
|
160775
|
-
"type": {
|
|
160776
|
-
"text": "'1' | '2' | null"
|
|
160777
|
-
},
|
|
160778
|
-
"privacy": "public",
|
|
160779
|
-
"default": "null",
|
|
160780
|
-
"description": "Class label",
|
|
160781
|
-
"attribute": "wagon-class"
|
|
160782
|
-
},
|
|
160783
|
-
{
|
|
160784
|
-
"kind": "field",
|
|
160785
|
-
"name": "label",
|
|
160828
|
+
"name": "view",
|
|
160786
160829
|
"type": {
|
|
160787
|
-
"text": "
|
|
160830
|
+
"text": "'side' | 'top'"
|
|
160788
160831
|
},
|
|
160789
160832
|
"privacy": "public",
|
|
160790
|
-
"default": "''",
|
|
160791
|
-
"description": "
|
|
160792
|
-
"attribute": "
|
|
160833
|
+
"default": "'side'",
|
|
160834
|
+
"description": "Whether the view of the wagons is from side or top perspective.",
|
|
160835
|
+
"attribute": "view",
|
|
160793
160836
|
"reflects": true
|
|
160794
160837
|
},
|
|
160795
160838
|
{
|
|
160796
160839
|
"kind": "field",
|
|
160797
|
-
"name": "
|
|
160840
|
+
"name": "_sectors",
|
|
160798
160841
|
"type": {
|
|
160799
|
-
"text": "
|
|
160842
|
+
"text": "AggregatedSector[]"
|
|
160800
160843
|
},
|
|
160801
|
-
"privacy": "
|
|
160802
|
-
"default": "
|
|
160803
|
-
"description": "Additional accessibility text which will be appended to the end.",
|
|
160804
|
-
"attribute": "additional-accessibility-text"
|
|
160844
|
+
"privacy": "private",
|
|
160845
|
+
"default": "[]"
|
|
160805
160846
|
},
|
|
160806
160847
|
{
|
|
160807
160848
|
"kind": "field",
|
|
@@ -160811,22 +160852,35 @@
|
|
|
160811
160852
|
},
|
|
160812
160853
|
{
|
|
160813
160854
|
"kind": "method",
|
|
160814
|
-
"name": "
|
|
160855
|
+
"name": "_readSectors",
|
|
160815
160856
|
"privacy": "private",
|
|
160816
160857
|
"return": {
|
|
160817
160858
|
"type": {
|
|
160818
160859
|
"text": "void"
|
|
160819
160860
|
}
|
|
160820
|
-
}
|
|
160861
|
+
},
|
|
160862
|
+
"parameters": [
|
|
160863
|
+
{
|
|
160864
|
+
"name": "event",
|
|
160865
|
+
"optional": true,
|
|
160866
|
+
"type": {
|
|
160867
|
+
"text": "Event"
|
|
160868
|
+
}
|
|
160869
|
+
}
|
|
160870
|
+
]
|
|
160821
160871
|
},
|
|
160822
160872
|
{
|
|
160823
|
-
"kind": "
|
|
160824
|
-
"name": "
|
|
160825
|
-
"
|
|
160826
|
-
|
|
160827
|
-
|
|
160828
|
-
|
|
160829
|
-
|
|
160873
|
+
"kind": "field",
|
|
160874
|
+
"name": "elementDependencies",
|
|
160875
|
+
"type": {
|
|
160876
|
+
"text": "SbbElementType[]"
|
|
160877
|
+
},
|
|
160878
|
+
"privacy": "public",
|
|
160879
|
+
"static": true,
|
|
160880
|
+
"default": "[SbbScreenReaderOnlyElement]",
|
|
160881
|
+
"inheritedFrom": {
|
|
160882
|
+
"name": "SbbElement",
|
|
160883
|
+
"module": "core/base-elements/element.js"
|
|
160830
160884
|
}
|
|
160831
160885
|
},
|
|
160832
160886
|
{
|
|
@@ -161170,67 +161224,13 @@
|
|
|
161170
161224
|
],
|
|
161171
161225
|
"attributes": [
|
|
161172
161226
|
{
|
|
161173
|
-
"name": "
|
|
161174
|
-
"type": {
|
|
161175
|
-
"text": "| 'wagon'\n | 'wagon-end-left'\n | 'wagon-end-right'\n | 'couchette'\n | 'sleeping'\n | 'restaurant'\n | 'locomotive'\n | 'closed'"
|
|
161176
|
-
},
|
|
161177
|
-
"default": "'wagon'",
|
|
161178
|
-
"description": "Wagon type.\nFor `wagon-end-left` and `wagon-end-right`, please set the corresponding value of the `blockedPassage` property.",
|
|
161179
|
-
"fieldName": "type"
|
|
161180
|
-
},
|
|
161181
|
-
{
|
|
161182
|
-
"name": "occupancy",
|
|
161183
|
-
"type": {
|
|
161184
|
-
"text": "SbbOccupancy | null"
|
|
161185
|
-
},
|
|
161186
|
-
"default": "null",
|
|
161187
|
-
"description": "Occupancy of a wagon.",
|
|
161188
|
-
"fieldName": "occupancy"
|
|
161189
|
-
},
|
|
161190
|
-
{
|
|
161191
|
-
"name": "sector",
|
|
161192
|
-
"type": {
|
|
161193
|
-
"text": "string"
|
|
161194
|
-
},
|
|
161195
|
-
"default": "''",
|
|
161196
|
-
"description": "Sector in which the wagon stops.",
|
|
161197
|
-
"fieldName": "sector"
|
|
161198
|
-
},
|
|
161199
|
-
{
|
|
161200
|
-
"name": "blocked-passage",
|
|
161201
|
-
"type": {
|
|
161202
|
-
"text": "'previous' | 'next' | 'both' | 'none'"
|
|
161203
|
-
},
|
|
161204
|
-
"default": "'none'",
|
|
161205
|
-
"description": "Accessibility text for blocked passages of the wagon.",
|
|
161206
|
-
"fieldName": "blockedPassage"
|
|
161207
|
-
},
|
|
161208
|
-
{
|
|
161209
|
-
"name": "wagon-class",
|
|
161210
|
-
"type": {
|
|
161211
|
-
"text": "'1' | '2' | null"
|
|
161212
|
-
},
|
|
161213
|
-
"default": "null",
|
|
161214
|
-
"description": "Class label",
|
|
161215
|
-
"fieldName": "wagonClass"
|
|
161216
|
-
},
|
|
161217
|
-
{
|
|
161218
|
-
"name": "label",
|
|
161219
|
-
"type": {
|
|
161220
|
-
"text": "string"
|
|
161221
|
-
},
|
|
161222
|
-
"default": "''",
|
|
161223
|
-
"description": "Wagon number",
|
|
161224
|
-
"fieldName": "label"
|
|
161225
|
-
},
|
|
161226
|
-
{
|
|
161227
|
-
"name": "additional-accessibility-text",
|
|
161227
|
+
"name": "view",
|
|
161228
161228
|
"type": {
|
|
161229
|
-
"text": "
|
|
161229
|
+
"text": "'side' | 'top'"
|
|
161230
161230
|
},
|
|
161231
|
-
"default": "''",
|
|
161232
|
-
"description": "
|
|
161233
|
-
"fieldName": "
|
|
161231
|
+
"default": "'side'",
|
|
161232
|
+
"description": "Whether the view of the wagons is from side or top perspective.",
|
|
161233
|
+
"fieldName": "view"
|
|
161234
161234
|
}
|
|
161235
161235
|
],
|
|
161236
161236
|
"mixins": [
|
|
@@ -161243,17 +161243,17 @@
|
|
|
161243
161243
|
"name": "SbbElement",
|
|
161244
161244
|
"module": "core.js"
|
|
161245
161245
|
},
|
|
161246
|
-
"tagName": "sbb-train-
|
|
161246
|
+
"tagName": "sbb-train-formation",
|
|
161247
161247
|
"customElement": true
|
|
161248
161248
|
}
|
|
161249
161249
|
],
|
|
161250
161250
|
"exports": [
|
|
161251
161251
|
{
|
|
161252
161252
|
"kind": "js",
|
|
161253
|
-
"name": "
|
|
161253
|
+
"name": "SbbTrainFormationElement",
|
|
161254
161254
|
"declaration": {
|
|
161255
|
-
"name": "
|
|
161256
|
-
"module": "train/train-
|
|
161255
|
+
"name": "SbbTrainFormationElement",
|
|
161256
|
+
"module": "train/train-formation/train-formation.component.js"
|
|
161257
161257
|
}
|
|
161258
161258
|
}
|
|
161259
161259
|
]
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as SbbToastElement } from "../toast.component-
|
|
1
|
+
import { t as SbbToastElement } from "../toast.component-DvVY7zpe.js";
|
|
2
2
|
export { SbbToastElement };
|