@sbb-esta/lyne-elements-dev 5.0.0-next-dev.1777279279 → 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 +250 -224
- package/development/popover/popover.component.d.ts +1 -0
- package/development/popover/popover.component.d.ts.map +1 -1
- package/development/popover/popover.component.js +1 -1
- package/development/popover.component-DM9Bn8xl.js +535 -0
- package/development/popover.js +1 -1
- package/development/popover.pure.js +1 -1
- 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/popover/popover.component.js +1 -1
- package/{popover.component-nn2NRFOs.js → popover.component-BkhmysoH.js} +20 -16
- package/popover.js +1 -1
- package/popover.pure.js +1 -1
- 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/popover.component-DHBnOzyr.js +0 -526
- package/development/toast.component-D1M3OYxv.js +0 -268
package/custom-elements.json
CHANGED
|
@@ -21997,6 +21997,12 @@
|
|
|
21997
21997
|
},
|
|
21998
21998
|
"privacy": "private"
|
|
21999
21999
|
},
|
|
22000
|
+
{
|
|
22001
|
+
"kind": "field",
|
|
22002
|
+
"name": "_resizeController",
|
|
22003
|
+
"privacy": "private",
|
|
22004
|
+
"default": "new ResizeController(this, { target: null, callback: () => this._setPopoverPosition(), })"
|
|
22005
|
+
},
|
|
22000
22006
|
{
|
|
22001
22007
|
"kind": "field",
|
|
22002
22008
|
"name": "_escapableOverlayController",
|
|
@@ -23093,6 +23099,16 @@
|
|
|
23093
23099
|
"module": "popover/popover.component.js"
|
|
23094
23100
|
}
|
|
23095
23101
|
},
|
|
23102
|
+
{
|
|
23103
|
+
"kind": "field",
|
|
23104
|
+
"name": "_resizeController",
|
|
23105
|
+
"privacy": "private",
|
|
23106
|
+
"default": "new ResizeController(this, { target: null, callback: () => this._setPopoverPosition(), })",
|
|
23107
|
+
"inheritedFrom": {
|
|
23108
|
+
"name": "SbbPopoverBaseElement",
|
|
23109
|
+
"module": "popover/popover.component.js"
|
|
23110
|
+
}
|
|
23111
|
+
},
|
|
23096
23112
|
{
|
|
23097
23113
|
"kind": "field",
|
|
23098
23114
|
"name": "_escapableOverlayController",
|
|
@@ -94127,6 +94143,16 @@
|
|
|
94127
94143
|
"module": "popover/popover.component.js"
|
|
94128
94144
|
}
|
|
94129
94145
|
},
|
|
94146
|
+
{
|
|
94147
|
+
"kind": "field",
|
|
94148
|
+
"name": "_resizeController",
|
|
94149
|
+
"privacy": "private",
|
|
94150
|
+
"default": "new ResizeController(this, { target: null, callback: () => this._setPopoverPosition(), })",
|
|
94151
|
+
"inheritedFrom": {
|
|
94152
|
+
"name": "SbbPopoverBaseElement",
|
|
94153
|
+
"module": "popover/popover.component.js"
|
|
94154
|
+
}
|
|
94155
|
+
},
|
|
94130
94156
|
{
|
|
94131
94157
|
"kind": "field",
|
|
94132
94158
|
"name": "_escapableOverlayController",
|
|
@@ -160142,22 +160168,15 @@
|
|
|
160142
160168
|
},
|
|
160143
160169
|
{
|
|
160144
160170
|
"kind": "javascript-module",
|
|
160145
|
-
"path": "train/train-
|
|
160171
|
+
"path": "train/train-wagon/train-wagon.component.js",
|
|
160146
160172
|
"declarations": [
|
|
160147
160173
|
{
|
|
160148
160174
|
"kind": "class",
|
|
160149
|
-
"description": "It displays a train
|
|
160150
|
-
"name": "
|
|
160151
|
-
"cssProperties": [
|
|
160152
|
-
{
|
|
160153
|
-
"description": "Defines the inline padding inside the horizontal scrolling area.",
|
|
160154
|
-
"name": "--sbb-train-formation-padding-inline",
|
|
160155
|
-
"default": "0px"
|
|
160156
|
-
}
|
|
160157
|
-
],
|
|
160175
|
+
"description": "It displays a train compartment within a `sbb-train` component.",
|
|
160176
|
+
"name": "SbbTrainWagonElement",
|
|
160158
160177
|
"slots": [
|
|
160159
160178
|
{
|
|
160160
|
-
"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`.",
|
|
160161
160180
|
"name": ""
|
|
160162
160181
|
}
|
|
160163
160182
|
],
|
|
@@ -160171,12 +160190,49 @@
|
|
|
160171
160190
|
"privacy": "public",
|
|
160172
160191
|
"static": true,
|
|
160173
160192
|
"readonly": true,
|
|
160174
|
-
"default": "'sbb-train-
|
|
160193
|
+
"default": "'sbb-train-wagon'",
|
|
160175
160194
|
"inheritedFrom": {
|
|
160176
160195
|
"name": "SbbElement",
|
|
160177
160196
|
"module": "core/base-elements/element.js"
|
|
160178
160197
|
}
|
|
160179
160198
|
},
|
|
160199
|
+
{
|
|
160200
|
+
"kind": "field",
|
|
160201
|
+
"name": "elementDependencies",
|
|
160202
|
+
"type": {
|
|
160203
|
+
"text": "SbbElementType[]"
|
|
160204
|
+
},
|
|
160205
|
+
"privacy": "public",
|
|
160206
|
+
"static": true,
|
|
160207
|
+
"default": "[ SbbIconElement, SbbTimetableOccupancyIconElement, ]",
|
|
160208
|
+
"inheritedFrom": {
|
|
160209
|
+
"name": "SbbElement",
|
|
160210
|
+
"module": "core/base-elements/element.js"
|
|
160211
|
+
}
|
|
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
|
+
},
|
|
160180
160236
|
{
|
|
160181
160237
|
"kind": "field",
|
|
160182
160238
|
"name": "listChildLocalNames",
|
|
@@ -160186,7 +160242,7 @@
|
|
|
160186
160242
|
"privacy": "protected",
|
|
160187
160243
|
"readonly": true,
|
|
160188
160244
|
"description": "A list of lower-cased tag names to match against. (e.g. `sbb-link`)",
|
|
160189
|
-
"default": "['sbb-
|
|
160245
|
+
"default": "['sbb-icon']",
|
|
160190
160246
|
"inheritedFrom": {
|
|
160191
160247
|
"name": "SbbNamedSlotListMixin",
|
|
160192
160248
|
"module": "core/mixins/named-slot-list-mixin.js"
|
|
@@ -160194,24 +160250,71 @@
|
|
|
160194
160250
|
},
|
|
160195
160251
|
{
|
|
160196
160252
|
"kind": "field",
|
|
160197
|
-
"name": "
|
|
160253
|
+
"name": "occupancy",
|
|
160198
160254
|
"type": {
|
|
160199
|
-
"text": "
|
|
160255
|
+
"text": "SbbOccupancy | null"
|
|
160200
160256
|
},
|
|
160201
160257
|
"privacy": "public",
|
|
160202
|
-
"default": "
|
|
160203
|
-
"description": "
|
|
160204
|
-
"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",
|
|
160205
160272
|
"reflects": true
|
|
160206
160273
|
},
|
|
160207
160274
|
{
|
|
160208
160275
|
"kind": "field",
|
|
160209
|
-
"name": "
|
|
160276
|
+
"name": "blockedPassage",
|
|
160210
160277
|
"type": {
|
|
160211
|
-
"text": "
|
|
160278
|
+
"text": "'previous' | 'next' | 'both' | 'none'"
|
|
160212
160279
|
},
|
|
160213
|
-
"privacy": "
|
|
160214
|
-
"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"
|
|
160215
160318
|
},
|
|
160216
160319
|
{
|
|
160217
160320
|
"kind": "field",
|
|
@@ -160221,35 +160324,22 @@
|
|
|
160221
160324
|
},
|
|
160222
160325
|
{
|
|
160223
160326
|
"kind": "method",
|
|
160224
|
-
"name": "
|
|
160327
|
+
"name": "_sectorChanged",
|
|
160225
160328
|
"privacy": "private",
|
|
160226
160329
|
"return": {
|
|
160227
160330
|
"type": {
|
|
160228
160331
|
"text": "void"
|
|
160229
160332
|
}
|
|
160230
|
-
}
|
|
160231
|
-
"parameters": [
|
|
160232
|
-
{
|
|
160233
|
-
"name": "event",
|
|
160234
|
-
"optional": true,
|
|
160235
|
-
"type": {
|
|
160236
|
-
"text": "Event"
|
|
160237
|
-
}
|
|
160238
|
-
}
|
|
160239
|
-
]
|
|
160333
|
+
}
|
|
160240
160334
|
},
|
|
160241
160335
|
{
|
|
160242
|
-
"kind": "
|
|
160243
|
-
"name": "
|
|
160244
|
-
"
|
|
160245
|
-
|
|
160246
|
-
|
|
160247
|
-
|
|
160248
|
-
|
|
160249
|
-
"default": "[SbbScreenReaderOnlyElement]",
|
|
160250
|
-
"inheritedFrom": {
|
|
160251
|
-
"name": "SbbElement",
|
|
160252
|
-
"module": "core/base-elements/element.js"
|
|
160336
|
+
"kind": "method",
|
|
160337
|
+
"name": "_typeLabel",
|
|
160338
|
+
"privacy": "private",
|
|
160339
|
+
"return": {
|
|
160340
|
+
"type": {
|
|
160341
|
+
"text": "string"
|
|
160342
|
+
}
|
|
160253
160343
|
}
|
|
160254
160344
|
},
|
|
160255
160345
|
{
|
|
@@ -160593,13 +160683,67 @@
|
|
|
160593
160683
|
],
|
|
160594
160684
|
"attributes": [
|
|
160595
160685
|
{
|
|
160596
|
-
"name": "
|
|
160686
|
+
"name": "type",
|
|
160597
160687
|
"type": {
|
|
160598
|
-
"text": "'
|
|
160688
|
+
"text": "| 'wagon'\n | 'wagon-end-left'\n | 'wagon-end-right'\n | 'couchette'\n | 'sleeping'\n | 'restaurant'\n | 'locomotive'\n | 'closed'"
|
|
160599
160689
|
},
|
|
160600
|
-
"default": "'
|
|
160601
|
-
"description": "
|
|
160602
|
-
"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"
|
|
160603
160747
|
}
|
|
160604
160748
|
],
|
|
160605
160749
|
"mixins": [
|
|
@@ -160612,32 +160756,39 @@
|
|
|
160612
160756
|
"name": "SbbElement",
|
|
160613
160757
|
"module": "core.js"
|
|
160614
160758
|
},
|
|
160615
|
-
"tagName": "sbb-train-
|
|
160759
|
+
"tagName": "sbb-train-wagon",
|
|
160616
160760
|
"customElement": true
|
|
160617
160761
|
}
|
|
160618
160762
|
],
|
|
160619
160763
|
"exports": [
|
|
160620
160764
|
{
|
|
160621
160765
|
"kind": "js",
|
|
160622
|
-
"name": "
|
|
160766
|
+
"name": "SbbTrainWagonElement",
|
|
160623
160767
|
"declaration": {
|
|
160624
|
-
"name": "
|
|
160625
|
-
"module": "train/train-
|
|
160768
|
+
"name": "SbbTrainWagonElement",
|
|
160769
|
+
"module": "train/train-wagon/train-wagon.component.js"
|
|
160626
160770
|
}
|
|
160627
160771
|
}
|
|
160628
160772
|
]
|
|
160629
160773
|
},
|
|
160630
160774
|
{
|
|
160631
160775
|
"kind": "javascript-module",
|
|
160632
|
-
"path": "train/train-
|
|
160776
|
+
"path": "train/train-formation/train-formation.component.js",
|
|
160633
160777
|
"declarations": [
|
|
160634
160778
|
{
|
|
160635
160779
|
"kind": "class",
|
|
160636
|
-
"description": "It displays a train
|
|
160637
|
-
"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
|
+
],
|
|
160638
160789
|
"slots": [
|
|
160639
160790
|
{
|
|
160640
|
-
"description": "Use the unnamed slot to add
|
|
160791
|
+
"description": "Use the unnamed slot to add 'sbb-train' elements to the `sbb-train-formation`.",
|
|
160641
160792
|
"name": ""
|
|
160642
160793
|
}
|
|
160643
160794
|
],
|
|
@@ -160651,49 +160802,12 @@
|
|
|
160651
160802
|
"privacy": "public",
|
|
160652
160803
|
"static": true,
|
|
160653
160804
|
"readonly": true,
|
|
160654
|
-
"default": "'sbb-train-
|
|
160655
|
-
"inheritedFrom": {
|
|
160656
|
-
"name": "SbbElement",
|
|
160657
|
-
"module": "core/base-elements/element.js"
|
|
160658
|
-
}
|
|
160659
|
-
},
|
|
160660
|
-
{
|
|
160661
|
-
"kind": "field",
|
|
160662
|
-
"name": "elementDependencies",
|
|
160663
|
-
"type": {
|
|
160664
|
-
"text": "SbbElementType[]"
|
|
160665
|
-
},
|
|
160666
|
-
"privacy": "public",
|
|
160667
|
-
"static": true,
|
|
160668
|
-
"default": "[ SbbIconElement, SbbTimetableOccupancyIconElement, ]",
|
|
160805
|
+
"default": "'sbb-train-formation'",
|
|
160669
160806
|
"inheritedFrom": {
|
|
160670
160807
|
"name": "SbbElement",
|
|
160671
160808
|
"module": "core/base-elements/element.js"
|
|
160672
160809
|
}
|
|
160673
160810
|
},
|
|
160674
|
-
{
|
|
160675
|
-
"kind": "field",
|
|
160676
|
-
"name": "events",
|
|
160677
|
-
"privacy": "public",
|
|
160678
|
-
"static": true,
|
|
160679
|
-
"readonly": true,
|
|
160680
|
-
"default": "{ sectorchange: 'sectorchange', }",
|
|
160681
|
-
"type": {
|
|
160682
|
-
"text": "{\n sectorchange: 'sectorchange',\n }"
|
|
160683
|
-
}
|
|
160684
|
-
},
|
|
160685
|
-
{
|
|
160686
|
-
"kind": "field",
|
|
160687
|
-
"name": "type",
|
|
160688
|
-
"type": {
|
|
160689
|
-
"text": "| 'wagon'\n | 'wagon-end-left'\n | 'wagon-end-right'\n | 'couchette'\n | 'sleeping'\n | 'restaurant'\n | 'locomotive'\n | 'closed'"
|
|
160690
|
-
},
|
|
160691
|
-
"privacy": "public",
|
|
160692
|
-
"default": "'wagon'",
|
|
160693
|
-
"description": "Wagon type.\nFor `wagon-end-left` and `wagon-end-right`, please set the corresponding value of the `blockedPassage` property.",
|
|
160694
|
-
"attribute": "type",
|
|
160695
|
-
"reflects": true
|
|
160696
|
-
},
|
|
160697
160811
|
{
|
|
160698
160812
|
"kind": "field",
|
|
160699
160813
|
"name": "listChildLocalNames",
|
|
@@ -160703,7 +160817,7 @@
|
|
|
160703
160817
|
"privacy": "protected",
|
|
160704
160818
|
"readonly": true,
|
|
160705
160819
|
"description": "A list of lower-cased tag names to match against. (e.g. `sbb-link`)",
|
|
160706
|
-
"default": "['sbb-
|
|
160820
|
+
"default": "['sbb-train']",
|
|
160707
160821
|
"inheritedFrom": {
|
|
160708
160822
|
"name": "SbbNamedSlotListMixin",
|
|
160709
160823
|
"module": "core/mixins/named-slot-list-mixin.js"
|
|
@@ -160711,71 +160825,24 @@
|
|
|
160711
160825
|
},
|
|
160712
160826
|
{
|
|
160713
160827
|
"kind": "field",
|
|
160714
|
-
"name": "
|
|
160715
|
-
"type": {
|
|
160716
|
-
"text": "SbbOccupancy | null"
|
|
160717
|
-
},
|
|
160718
|
-
"privacy": "public",
|
|
160719
|
-
"default": "null",
|
|
160720
|
-
"description": "Occupancy of a wagon.",
|
|
160721
|
-
"attribute": "occupancy"
|
|
160722
|
-
},
|
|
160723
|
-
{
|
|
160724
|
-
"kind": "field",
|
|
160725
|
-
"name": "sector",
|
|
160726
|
-
"type": {
|
|
160727
|
-
"text": "string"
|
|
160728
|
-
},
|
|
160729
|
-
"privacy": "public",
|
|
160730
|
-
"default": "''",
|
|
160731
|
-
"description": "Sector in which the wagon stops.",
|
|
160732
|
-
"attribute": "sector",
|
|
160733
|
-
"reflects": true
|
|
160734
|
-
},
|
|
160735
|
-
{
|
|
160736
|
-
"kind": "field",
|
|
160737
|
-
"name": "blockedPassage",
|
|
160738
|
-
"type": {
|
|
160739
|
-
"text": "'previous' | 'next' | 'both' | 'none'"
|
|
160740
|
-
},
|
|
160741
|
-
"privacy": "public",
|
|
160742
|
-
"default": "'none'",
|
|
160743
|
-
"description": "Accessibility text for blocked passages of the wagon.",
|
|
160744
|
-
"attribute": "blocked-passage"
|
|
160745
|
-
},
|
|
160746
|
-
{
|
|
160747
|
-
"kind": "field",
|
|
160748
|
-
"name": "wagonClass",
|
|
160749
|
-
"type": {
|
|
160750
|
-
"text": "'1' | '2' | null"
|
|
160751
|
-
},
|
|
160752
|
-
"privacy": "public",
|
|
160753
|
-
"default": "null",
|
|
160754
|
-
"description": "Class label",
|
|
160755
|
-
"attribute": "wagon-class"
|
|
160756
|
-
},
|
|
160757
|
-
{
|
|
160758
|
-
"kind": "field",
|
|
160759
|
-
"name": "label",
|
|
160828
|
+
"name": "view",
|
|
160760
160829
|
"type": {
|
|
160761
|
-
"text": "
|
|
160830
|
+
"text": "'side' | 'top'"
|
|
160762
160831
|
},
|
|
160763
160832
|
"privacy": "public",
|
|
160764
|
-
"default": "''",
|
|
160765
|
-
"description": "
|
|
160766
|
-
"attribute": "
|
|
160833
|
+
"default": "'side'",
|
|
160834
|
+
"description": "Whether the view of the wagons is from side or top perspective.",
|
|
160835
|
+
"attribute": "view",
|
|
160767
160836
|
"reflects": true
|
|
160768
160837
|
},
|
|
160769
160838
|
{
|
|
160770
160839
|
"kind": "field",
|
|
160771
|
-
"name": "
|
|
160840
|
+
"name": "_sectors",
|
|
160772
160841
|
"type": {
|
|
160773
|
-
"text": "
|
|
160842
|
+
"text": "AggregatedSector[]"
|
|
160774
160843
|
},
|
|
160775
|
-
"privacy": "
|
|
160776
|
-
"default": "
|
|
160777
|
-
"description": "Additional accessibility text which will be appended to the end.",
|
|
160778
|
-
"attribute": "additional-accessibility-text"
|
|
160844
|
+
"privacy": "private",
|
|
160845
|
+
"default": "[]"
|
|
160779
160846
|
},
|
|
160780
160847
|
{
|
|
160781
160848
|
"kind": "field",
|
|
@@ -160785,22 +160852,35 @@
|
|
|
160785
160852
|
},
|
|
160786
160853
|
{
|
|
160787
160854
|
"kind": "method",
|
|
160788
|
-
"name": "
|
|
160855
|
+
"name": "_readSectors",
|
|
160789
160856
|
"privacy": "private",
|
|
160790
160857
|
"return": {
|
|
160791
160858
|
"type": {
|
|
160792
160859
|
"text": "void"
|
|
160793
160860
|
}
|
|
160794
|
-
}
|
|
160861
|
+
},
|
|
160862
|
+
"parameters": [
|
|
160863
|
+
{
|
|
160864
|
+
"name": "event",
|
|
160865
|
+
"optional": true,
|
|
160866
|
+
"type": {
|
|
160867
|
+
"text": "Event"
|
|
160868
|
+
}
|
|
160869
|
+
}
|
|
160870
|
+
]
|
|
160795
160871
|
},
|
|
160796
160872
|
{
|
|
160797
|
-
"kind": "
|
|
160798
|
-
"name": "
|
|
160799
|
-
"
|
|
160800
|
-
|
|
160801
|
-
|
|
160802
|
-
|
|
160803
|
-
|
|
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"
|
|
160804
160884
|
}
|
|
160805
160885
|
},
|
|
160806
160886
|
{
|
|
@@ -161144,67 +161224,13 @@
|
|
|
161144
161224
|
],
|
|
161145
161225
|
"attributes": [
|
|
161146
161226
|
{
|
|
161147
|
-
"name": "
|
|
161148
|
-
"type": {
|
|
161149
|
-
"text": "| 'wagon'\n | 'wagon-end-left'\n | 'wagon-end-right'\n | 'couchette'\n | 'sleeping'\n | 'restaurant'\n | 'locomotive'\n | 'closed'"
|
|
161150
|
-
},
|
|
161151
|
-
"default": "'wagon'",
|
|
161152
|
-
"description": "Wagon type.\nFor `wagon-end-left` and `wagon-end-right`, please set the corresponding value of the `blockedPassage` property.",
|
|
161153
|
-
"fieldName": "type"
|
|
161154
|
-
},
|
|
161155
|
-
{
|
|
161156
|
-
"name": "occupancy",
|
|
161157
|
-
"type": {
|
|
161158
|
-
"text": "SbbOccupancy | null"
|
|
161159
|
-
},
|
|
161160
|
-
"default": "null",
|
|
161161
|
-
"description": "Occupancy of a wagon.",
|
|
161162
|
-
"fieldName": "occupancy"
|
|
161163
|
-
},
|
|
161164
|
-
{
|
|
161165
|
-
"name": "sector",
|
|
161166
|
-
"type": {
|
|
161167
|
-
"text": "string"
|
|
161168
|
-
},
|
|
161169
|
-
"default": "''",
|
|
161170
|
-
"description": "Sector in which the wagon stops.",
|
|
161171
|
-
"fieldName": "sector"
|
|
161172
|
-
},
|
|
161173
|
-
{
|
|
161174
|
-
"name": "blocked-passage",
|
|
161175
|
-
"type": {
|
|
161176
|
-
"text": "'previous' | 'next' | 'both' | 'none'"
|
|
161177
|
-
},
|
|
161178
|
-
"default": "'none'",
|
|
161179
|
-
"description": "Accessibility text for blocked passages of the wagon.",
|
|
161180
|
-
"fieldName": "blockedPassage"
|
|
161181
|
-
},
|
|
161182
|
-
{
|
|
161183
|
-
"name": "wagon-class",
|
|
161184
|
-
"type": {
|
|
161185
|
-
"text": "'1' | '2' | null"
|
|
161186
|
-
},
|
|
161187
|
-
"default": "null",
|
|
161188
|
-
"description": "Class label",
|
|
161189
|
-
"fieldName": "wagonClass"
|
|
161190
|
-
},
|
|
161191
|
-
{
|
|
161192
|
-
"name": "label",
|
|
161193
|
-
"type": {
|
|
161194
|
-
"text": "string"
|
|
161195
|
-
},
|
|
161196
|
-
"default": "''",
|
|
161197
|
-
"description": "Wagon number",
|
|
161198
|
-
"fieldName": "label"
|
|
161199
|
-
},
|
|
161200
|
-
{
|
|
161201
|
-
"name": "additional-accessibility-text",
|
|
161227
|
+
"name": "view",
|
|
161202
161228
|
"type": {
|
|
161203
|
-
"text": "
|
|
161229
|
+
"text": "'side' | 'top'"
|
|
161204
161230
|
},
|
|
161205
|
-
"default": "''",
|
|
161206
|
-
"description": "
|
|
161207
|
-
"fieldName": "
|
|
161231
|
+
"default": "'side'",
|
|
161232
|
+
"description": "Whether the view of the wagons is from side or top perspective.",
|
|
161233
|
+
"fieldName": "view"
|
|
161208
161234
|
}
|
|
161209
161235
|
],
|
|
161210
161236
|
"mixins": [
|
|
@@ -161217,17 +161243,17 @@
|
|
|
161217
161243
|
"name": "SbbElement",
|
|
161218
161244
|
"module": "core.js"
|
|
161219
161245
|
},
|
|
161220
|
-
"tagName": "sbb-train-
|
|
161246
|
+
"tagName": "sbb-train-formation",
|
|
161221
161247
|
"customElement": true
|
|
161222
161248
|
}
|
|
161223
161249
|
],
|
|
161224
161250
|
"exports": [
|
|
161225
161251
|
{
|
|
161226
161252
|
"kind": "js",
|
|
161227
|
-
"name": "
|
|
161253
|
+
"name": "SbbTrainFormationElement",
|
|
161228
161254
|
"declaration": {
|
|
161229
|
-
"name": "
|
|
161230
|
-
"module": "train/train-
|
|
161255
|
+
"name": "SbbTrainFormationElement",
|
|
161256
|
+
"module": "train/train-formation/train-formation.component.js"
|
|
161231
161257
|
}
|
|
161232
161258
|
}
|
|
161233
161259
|
]
|
|
@@ -15,6 +15,7 @@ export declare abstract class SbbPopoverBaseElement extends SbbOpenCloseBaseElem
|
|
|
15
15
|
private _triggerElement?;
|
|
16
16
|
private _triggerAbortController?;
|
|
17
17
|
private _openStateController?;
|
|
18
|
+
private _resizeController;
|
|
18
19
|
private _escapableOverlayController;
|
|
19
20
|
private _focusTrapController;
|
|
20
21
|
private _blurTimeout;
|