@sbb-esta/lyne-elements-dev 5.0.0-next.2-dev.1778052113 → 5.0.0-next.2-dev.1778072890
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 +381 -381
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -165987,22 +165987,15 @@
|
|
|
165987
165987
|
},
|
|
165988
165988
|
{
|
|
165989
165989
|
"kind": "javascript-module",
|
|
165990
|
-
"path": "train/train-
|
|
165990
|
+
"path": "train/train-wagon/train-wagon.component.js",
|
|
165991
165991
|
"declarations": [
|
|
165992
165992
|
{
|
|
165993
165993
|
"kind": "class",
|
|
165994
|
-
"description": "It displays a train
|
|
165995
|
-
"name": "
|
|
165996
|
-
"cssProperties": [
|
|
165997
|
-
{
|
|
165998
|
-
"description": "Defines the inline or block padding inside the horizontal or vertical scrolling area.",
|
|
165999
|
-
"name": "--sbb-train-formation-scroll-padding",
|
|
166000
|
-
"default": "var(--sbb-spacing-fixed-1x)"
|
|
166001
|
-
}
|
|
166002
|
-
],
|
|
165994
|
+
"description": "It displays a train compartment within a `sbb-train` component.",
|
|
165995
|
+
"name": "SbbTrainWagonElement",
|
|
166003
165996
|
"slots": [
|
|
166004
165997
|
{
|
|
166005
|
-
"description": "Use the unnamed slot to add
|
|
165998
|
+
"description": "Use the unnamed slot to add one or more `sbb-icon` for meta-information of the wagon.",
|
|
166006
165999
|
"name": ""
|
|
166007
166000
|
}
|
|
166008
166001
|
],
|
|
@@ -166016,12 +166009,56 @@
|
|
|
166016
166009
|
"privacy": "public",
|
|
166017
166010
|
"static": true,
|
|
166018
166011
|
"readonly": true,
|
|
166019
|
-
"default": "'sbb-train-
|
|
166012
|
+
"default": "'sbb-train-wagon'",
|
|
166013
|
+
"inheritedFrom": {
|
|
166014
|
+
"name": "SbbElement",
|
|
166015
|
+
"module": "core/base-elements/element.js"
|
|
166016
|
+
}
|
|
166017
|
+
},
|
|
166018
|
+
{
|
|
166019
|
+
"kind": "field",
|
|
166020
|
+
"name": "elementDependencies",
|
|
166021
|
+
"type": {
|
|
166022
|
+
"text": "SbbElementType[]"
|
|
166023
|
+
},
|
|
166024
|
+
"privacy": "public",
|
|
166025
|
+
"static": true,
|
|
166026
|
+
"default": "[ SbbIconElement, SbbTimetableOccupancyIconElement, SbbDividerElement, ]",
|
|
166020
166027
|
"inheritedFrom": {
|
|
166021
166028
|
"name": "SbbElement",
|
|
166022
166029
|
"module": "core/base-elements/element.js"
|
|
166023
166030
|
}
|
|
166024
166031
|
},
|
|
166032
|
+
{
|
|
166033
|
+
"kind": "field",
|
|
166034
|
+
"name": "styles",
|
|
166035
|
+
"type": {
|
|
166036
|
+
"text": "CSSResultGroup"
|
|
166037
|
+
},
|
|
166038
|
+
"privacy": "public",
|
|
166039
|
+
"static": true,
|
|
166040
|
+
"default": "[unsafeCSS(style)]",
|
|
166041
|
+
"inheritedFrom": {
|
|
166042
|
+
"name": "SbbNamedSlotListMixin",
|
|
166043
|
+
"module": "core/mixins/named-slot-list-mixin.js"
|
|
166044
|
+
}
|
|
166045
|
+
},
|
|
166046
|
+
{
|
|
166047
|
+
"kind": "field",
|
|
166048
|
+
"name": "wagonType",
|
|
166049
|
+
"type": {
|
|
166050
|
+
"text": "| 'wagon'\n | 'wagon-end-left'\n | 'wagon-end-right'\n | 'couchette'\n | 'sleeping'\n | 'restaurant'\n | 'locomotive'\n | 'closed'"
|
|
166051
|
+
},
|
|
166052
|
+
"privacy": "public",
|
|
166053
|
+
"default": "'wagon'",
|
|
166054
|
+
"description": "Wagon type.\nFor `wagon-end-left` and `wagon-end-right`, please set the corresponding value of the `blockedPassage` property.",
|
|
166055
|
+
"attribute": "wagon-type",
|
|
166056
|
+
"reflects": true,
|
|
166057
|
+
"inheritedFrom": {
|
|
166058
|
+
"name": "SbbTrainWagonMixin",
|
|
166059
|
+
"module": "train/train-wagon-common.js"
|
|
166060
|
+
}
|
|
166061
|
+
},
|
|
166025
166062
|
{
|
|
166026
166063
|
"kind": "field",
|
|
166027
166064
|
"name": "listChildLocalNames",
|
|
@@ -166031,7 +166068,7 @@
|
|
|
166031
166068
|
"privacy": "protected",
|
|
166032
166069
|
"readonly": true,
|
|
166033
166070
|
"description": "A list of lower-cased tag names to match against. (e.g. `sbb-link`)",
|
|
166034
|
-
"default": "['sbb-
|
|
166071
|
+
"default": "['sbb-icon']",
|
|
166035
166072
|
"inheritedFrom": {
|
|
166036
166073
|
"name": "SbbNamedSlotListMixin",
|
|
166037
166074
|
"module": "core/mixins/named-slot-list-mixin.js"
|
|
@@ -166039,107 +166076,213 @@
|
|
|
166039
166076
|
},
|
|
166040
166077
|
{
|
|
166041
166078
|
"kind": "field",
|
|
166042
|
-
"name": "
|
|
166079
|
+
"name": "occupancy",
|
|
166043
166080
|
"type": {
|
|
166044
|
-
"text": "
|
|
166081
|
+
"text": "SbbOccupancy | null"
|
|
166045
166082
|
},
|
|
166046
166083
|
"privacy": "public",
|
|
166047
|
-
"default": "
|
|
166048
|
-
"description": "
|
|
166049
|
-
"attribute": "
|
|
166050
|
-
"
|
|
166084
|
+
"default": "null",
|
|
166085
|
+
"description": "Occupancy of a wagon.",
|
|
166086
|
+
"attribute": "occupancy",
|
|
166087
|
+
"inheritedFrom": {
|
|
166088
|
+
"name": "SbbTrainWagonMixin",
|
|
166089
|
+
"module": "train/train-wagon-common.js"
|
|
166090
|
+
}
|
|
166051
166091
|
},
|
|
166052
166092
|
{
|
|
166053
166093
|
"kind": "field",
|
|
166054
|
-
"name": "
|
|
166094
|
+
"name": "sector",
|
|
166055
166095
|
"type": {
|
|
166056
|
-
"text": "
|
|
166096
|
+
"text": "string"
|
|
166057
166097
|
},
|
|
166058
166098
|
"privacy": "public",
|
|
166059
|
-
"default": "'
|
|
166060
|
-
"description": "
|
|
166061
|
-
"attribute": "
|
|
166062
|
-
"reflects": true
|
|
166099
|
+
"default": "''",
|
|
166100
|
+
"description": "Sector in which the wagon stops.",
|
|
166101
|
+
"attribute": "sector",
|
|
166102
|
+
"reflects": true,
|
|
166103
|
+
"inheritedFrom": {
|
|
166104
|
+
"name": "SbbTrainWagonMixin",
|
|
166105
|
+
"module": "train/train-wagon-common.js"
|
|
166106
|
+
}
|
|
166063
166107
|
},
|
|
166064
166108
|
{
|
|
166065
166109
|
"kind": "field",
|
|
166066
|
-
"name": "
|
|
166110
|
+
"name": "blockedPassage",
|
|
166067
166111
|
"type": {
|
|
166068
|
-
"text": "
|
|
166112
|
+
"text": "'previous' | 'next' | 'both' | 'none'"
|
|
166113
|
+
},
|
|
166114
|
+
"privacy": "public",
|
|
166115
|
+
"default": "'none'",
|
|
166116
|
+
"description": "Accessibility text for blocked passages of the wagon.",
|
|
166117
|
+
"attribute": "blocked-passage",
|
|
166118
|
+
"inheritedFrom": {
|
|
166119
|
+
"name": "SbbTrainWagonMixin",
|
|
166120
|
+
"module": "train/train-wagon-common.js"
|
|
166121
|
+
}
|
|
166122
|
+
},
|
|
166123
|
+
{
|
|
166124
|
+
"kind": "field",
|
|
166125
|
+
"name": "wagonClass",
|
|
166126
|
+
"type": {
|
|
166127
|
+
"text": "| '1'\n | '2'\n | '1-2'\n | '2-1'\n | null"
|
|
166128
|
+
},
|
|
166129
|
+
"privacy": "public",
|
|
166130
|
+
"default": "null",
|
|
166131
|
+
"description": "Class label",
|
|
166132
|
+
"attribute": "wagon-class",
|
|
166133
|
+
"inheritedFrom": {
|
|
166134
|
+
"name": "SbbTrainWagonMixin",
|
|
166135
|
+
"module": "train/train-wagon-common.js"
|
|
166136
|
+
}
|
|
166137
|
+
},
|
|
166138
|
+
{
|
|
166139
|
+
"kind": "field",
|
|
166140
|
+
"name": "label",
|
|
166141
|
+
"type": {
|
|
166142
|
+
"text": "string"
|
|
166143
|
+
},
|
|
166144
|
+
"privacy": "public",
|
|
166145
|
+
"default": "''",
|
|
166146
|
+
"description": "Wagon number",
|
|
166147
|
+
"attribute": "label",
|
|
166148
|
+
"reflects": true,
|
|
166149
|
+
"inheritedFrom": {
|
|
166150
|
+
"name": "SbbTrainWagonMixin",
|
|
166151
|
+
"module": "train/train-wagon-common.js"
|
|
166152
|
+
}
|
|
166153
|
+
},
|
|
166154
|
+
{
|
|
166155
|
+
"kind": "field",
|
|
166156
|
+
"name": "additionalAccessibilityText",
|
|
166157
|
+
"type": {
|
|
166158
|
+
"text": "string"
|
|
166159
|
+
},
|
|
166160
|
+
"privacy": "public",
|
|
166161
|
+
"default": "''",
|
|
166162
|
+
"description": "Additional accessibility text which will be appended to the end.",
|
|
166163
|
+
"attribute": "additional-accessibility-text",
|
|
166164
|
+
"inheritedFrom": {
|
|
166165
|
+
"name": "SbbTrainWagonMixin",
|
|
166166
|
+
"module": "train/train-wagon-common.js"
|
|
166167
|
+
}
|
|
166168
|
+
},
|
|
166169
|
+
{
|
|
166170
|
+
"kind": "field",
|
|
166171
|
+
"name": "_view",
|
|
166172
|
+
"type": {
|
|
166173
|
+
"text": "SbbTrainFormationElement['view'] | null"
|
|
166069
166174
|
},
|
|
166070
166175
|
"privacy": "private",
|
|
166071
|
-
"default": "
|
|
166176
|
+
"default": "null",
|
|
166177
|
+
"inheritedFrom": {
|
|
166178
|
+
"name": "SbbTrainWagonMixin",
|
|
166179
|
+
"module": "train/train-wagon-common.js"
|
|
166180
|
+
}
|
|
166072
166181
|
},
|
|
166073
166182
|
{
|
|
166074
166183
|
"kind": "field",
|
|
166075
166184
|
"name": "_language",
|
|
166076
166185
|
"privacy": "private",
|
|
166077
|
-
"default": "new SbbLanguageController(this)"
|
|
166186
|
+
"default": "new SbbLanguageController(this)",
|
|
166187
|
+
"inheritedFrom": {
|
|
166188
|
+
"name": "SbbTrainWagonMixin",
|
|
166189
|
+
"module": "train/train-wagon-common.js"
|
|
166190
|
+
}
|
|
166191
|
+
},
|
|
166192
|
+
{
|
|
166193
|
+
"kind": "field",
|
|
166194
|
+
"name": "_clipStyleSheet",
|
|
166195
|
+
"type": {
|
|
166196
|
+
"text": "CSSStyleSheet | null"
|
|
166197
|
+
},
|
|
166198
|
+
"privacy": "private",
|
|
166199
|
+
"default": "null",
|
|
166200
|
+
"inheritedFrom": {
|
|
166201
|
+
"name": "SbbTrainWagonMixin",
|
|
166202
|
+
"module": "train/train-wagon-common.js"
|
|
166203
|
+
}
|
|
166078
166204
|
},
|
|
166079
166205
|
{
|
|
166080
166206
|
"kind": "method",
|
|
166081
|
-
"name": "
|
|
166207
|
+
"name": "_sectorChanged",
|
|
166082
166208
|
"privacy": "private",
|
|
166083
166209
|
"return": {
|
|
166084
166210
|
"type": {
|
|
166085
166211
|
"text": "void"
|
|
166086
166212
|
}
|
|
166087
166213
|
},
|
|
166088
|
-
"
|
|
166089
|
-
|
|
166090
|
-
|
|
166091
|
-
|
|
166092
|
-
|
|
166093
|
-
|
|
166094
|
-
|
|
166214
|
+
"inheritedFrom": {
|
|
166215
|
+
"name": "SbbTrainWagonMixin",
|
|
166216
|
+
"module": "train/train-wagon-common.js"
|
|
166217
|
+
}
|
|
166218
|
+
},
|
|
166219
|
+
{
|
|
166220
|
+
"kind": "method",
|
|
166221
|
+
"name": "_wagonTypeLabel",
|
|
166222
|
+
"privacy": "private",
|
|
166223
|
+
"return": {
|
|
166224
|
+
"type": {
|
|
166225
|
+
"text": "string"
|
|
166095
166226
|
}
|
|
166096
|
-
|
|
166227
|
+
},
|
|
166228
|
+
"inheritedFrom": {
|
|
166229
|
+
"name": "SbbTrainWagonMixin",
|
|
166230
|
+
"module": "train/train-wagon-common.js"
|
|
166231
|
+
}
|
|
166097
166232
|
},
|
|
166098
166233
|
{
|
|
166099
166234
|
"kind": "method",
|
|
166100
|
-
"name": "
|
|
166235
|
+
"name": "_wagonShape",
|
|
166101
166236
|
"privacy": "private",
|
|
166102
166237
|
"return": {
|
|
166103
166238
|
"type": {
|
|
166104
|
-
"text": "
|
|
166239
|
+
"text": "string"
|
|
166105
166240
|
}
|
|
166106
166241
|
},
|
|
166107
|
-
"
|
|
166108
|
-
|
|
166109
|
-
|
|
166110
|
-
|
|
166111
|
-
|
|
166112
|
-
|
|
166113
|
-
|
|
166242
|
+
"inheritedFrom": {
|
|
166243
|
+
"name": "SbbTrainWagonMixin",
|
|
166244
|
+
"module": "train/train-wagon-common.js"
|
|
166245
|
+
}
|
|
166246
|
+
},
|
|
166247
|
+
{
|
|
166248
|
+
"kind": "method",
|
|
166249
|
+
"name": "_classLabel",
|
|
166250
|
+
"privacy": "private",
|
|
166251
|
+
"return": {
|
|
166252
|
+
"type": {
|
|
166253
|
+
"text": "string"
|
|
166114
166254
|
}
|
|
166115
|
-
|
|
166255
|
+
},
|
|
166256
|
+
"inheritedFrom": {
|
|
166257
|
+
"name": "SbbTrainWagonMixin",
|
|
166258
|
+
"module": "train/train-wagon-common.js"
|
|
166259
|
+
}
|
|
166116
166260
|
},
|
|
166117
166261
|
{
|
|
166118
|
-
"kind": "
|
|
166119
|
-
"name": "
|
|
166120
|
-
"
|
|
166121
|
-
|
|
166262
|
+
"kind": "method",
|
|
166263
|
+
"name": "renderTemplate",
|
|
166264
|
+
"privacy": "protected",
|
|
166265
|
+
"return": {
|
|
166266
|
+
"type": {
|
|
166267
|
+
"text": "TemplateResult"
|
|
166268
|
+
}
|
|
166122
166269
|
},
|
|
166123
|
-
"privacy": "public",
|
|
166124
|
-
"static": true,
|
|
166125
|
-
"default": "[]",
|
|
166126
166270
|
"inheritedFrom": {
|
|
166127
|
-
"name": "
|
|
166128
|
-
"module": "
|
|
166271
|
+
"name": "SbbTrainWagonMixin",
|
|
166272
|
+
"module": "train/train-wagon-common.js"
|
|
166129
166273
|
}
|
|
166130
166274
|
},
|
|
166131
166275
|
{
|
|
166132
166276
|
"kind": "field",
|
|
166133
|
-
"name": "
|
|
166277
|
+
"name": "orientation",
|
|
166134
166278
|
"type": {
|
|
166135
|
-
"text": "
|
|
166279
|
+
"text": "SbbOrientation | null"
|
|
166136
166280
|
},
|
|
166137
|
-
"privacy": "
|
|
166138
|
-
"
|
|
166139
|
-
"default": "[screenReaderOnlyStyles]",
|
|
166281
|
+
"privacy": "protected",
|
|
166282
|
+
"default": "null",
|
|
166140
166283
|
"inheritedFrom": {
|
|
166141
|
-
"name": "
|
|
166142
|
-
"module": "
|
|
166284
|
+
"name": "SbbTrainFormationOrientationMixin",
|
|
166285
|
+
"module": "train/train-formation-orientation-mixin.js"
|
|
166143
166286
|
}
|
|
166144
166287
|
},
|
|
166145
166288
|
{
|
|
@@ -166505,349 +166648,279 @@
|
|
|
166505
166648
|
}
|
|
166506
166649
|
}
|
|
166507
166650
|
],
|
|
166508
|
-
"attributes": [
|
|
166509
|
-
{
|
|
166510
|
-
"name": "view",
|
|
166511
|
-
"type": {
|
|
166512
|
-
"text": "'side' | 'top'"
|
|
166513
|
-
},
|
|
166514
|
-
"default": "'side'",
|
|
166515
|
-
"description": "Whether the view of the wagons is from side or top perspective.",
|
|
166516
|
-
"fieldName": "view"
|
|
166517
|
-
},
|
|
166518
|
-
{
|
|
166519
|
-
"name": "orientation",
|
|
166520
|
-
"type": {
|
|
166521
|
-
"text": "SbbOrientation"
|
|
166522
|
-
},
|
|
166523
|
-
"default": "'horizontal'",
|
|
166524
|
-
"description": "Orientation, either horizontal or vertical.",
|
|
166525
|
-
"fieldName": "orientation"
|
|
166526
|
-
}
|
|
166527
|
-
],
|
|
166528
166651
|
"mixins": [
|
|
166529
166652
|
{
|
|
166530
|
-
"name": "
|
|
166531
|
-
"module": "
|
|
166653
|
+
"name": "SbbTrainWagonMixin",
|
|
166654
|
+
"module": "train/train-wagon-common.js"
|
|
166532
166655
|
}
|
|
166533
166656
|
],
|
|
166534
166657
|
"superclass": {
|
|
166535
166658
|
"name": "SbbElement",
|
|
166536
166659
|
"module": "core.js"
|
|
166537
166660
|
},
|
|
166538
|
-
"tagName": "sbb-train-
|
|
166539
|
-
"customElement": true
|
|
166540
|
-
|
|
166541
|
-
],
|
|
166542
|
-
"exports": [
|
|
166543
|
-
{
|
|
166544
|
-
"kind": "js",
|
|
166545
|
-
"name": "SbbTrainFormationElement",
|
|
166546
|
-
"declaration": {
|
|
166547
|
-
"name": "SbbTrainFormationElement",
|
|
166548
|
-
"module": "train/train-formation/train-formation.component.js"
|
|
166549
|
-
}
|
|
166550
|
-
}
|
|
166551
|
-
]
|
|
166552
|
-
},
|
|
166553
|
-
{
|
|
166554
|
-
"kind": "javascript-module",
|
|
166555
|
-
"path": "train/train-wagon/train-wagon.component.js",
|
|
166556
|
-
"declarations": [
|
|
166557
|
-
{
|
|
166558
|
-
"kind": "class",
|
|
166559
|
-
"description": "It displays a train compartment within a `sbb-train` component.",
|
|
166560
|
-
"name": "SbbTrainWagonElement",
|
|
166561
|
-
"slots": [
|
|
166562
|
-
{
|
|
166563
|
-
"description": "Use the unnamed slot to add one or more `sbb-icon` for meta-information of the wagon.",
|
|
166564
|
-
"name": ""
|
|
166565
|
-
}
|
|
166566
|
-
],
|
|
166567
|
-
"members": [
|
|
166661
|
+
"tagName": "sbb-train-wagon",
|
|
166662
|
+
"customElement": true,
|
|
166663
|
+
"attributes": [
|
|
166568
166664
|
{
|
|
166569
|
-
"
|
|
166570
|
-
"name": "elementName",
|
|
166665
|
+
"name": "wagon-type",
|
|
166571
166666
|
"type": {
|
|
166572
|
-
"text": "
|
|
166667
|
+
"text": "| 'wagon'\n | 'wagon-end-left'\n | 'wagon-end-right'\n | 'couchette'\n | 'sleeping'\n | 'restaurant'\n | 'locomotive'\n | 'closed'"
|
|
166573
166668
|
},
|
|
166574
|
-
"
|
|
166575
|
-
"
|
|
166576
|
-
"
|
|
166577
|
-
"default": "'sbb-train-wagon'",
|
|
166669
|
+
"default": "'wagon'",
|
|
166670
|
+
"description": "Wagon type.\nFor `wagon-end-left` and `wagon-end-right`, please set the corresponding value of the `blockedPassage` property.",
|
|
166671
|
+
"fieldName": "wagonType",
|
|
166578
166672
|
"inheritedFrom": {
|
|
166579
|
-
"name": "
|
|
166580
|
-
"module": "
|
|
166673
|
+
"name": "SbbTrainWagonMixin",
|
|
166674
|
+
"module": "train/train-wagon-common.js"
|
|
166581
166675
|
}
|
|
166582
166676
|
},
|
|
166583
166677
|
{
|
|
166584
|
-
"
|
|
166585
|
-
"name": "elementDependencies",
|
|
166678
|
+
"name": "occupancy",
|
|
166586
166679
|
"type": {
|
|
166587
|
-
"text": "
|
|
166680
|
+
"text": "SbbOccupancy | null"
|
|
166588
166681
|
},
|
|
166589
|
-
"
|
|
166590
|
-
"
|
|
166591
|
-
"
|
|
166682
|
+
"default": "null",
|
|
166683
|
+
"description": "Occupancy of a wagon.",
|
|
166684
|
+
"fieldName": "occupancy",
|
|
166592
166685
|
"inheritedFrom": {
|
|
166593
|
-
"name": "
|
|
166594
|
-
"module": "
|
|
166686
|
+
"name": "SbbTrainWagonMixin",
|
|
166687
|
+
"module": "train/train-wagon-common.js"
|
|
166595
166688
|
}
|
|
166596
166689
|
},
|
|
166597
166690
|
{
|
|
166598
|
-
"
|
|
166599
|
-
"name": "styles",
|
|
166691
|
+
"name": "sector",
|
|
166600
166692
|
"type": {
|
|
166601
|
-
"text": "
|
|
166693
|
+
"text": "string"
|
|
166602
166694
|
},
|
|
166603
|
-
"
|
|
166604
|
-
"
|
|
166605
|
-
"
|
|
166695
|
+
"default": "''",
|
|
166696
|
+
"description": "Sector in which the wagon stops.",
|
|
166697
|
+
"fieldName": "sector",
|
|
166606
166698
|
"inheritedFrom": {
|
|
166607
|
-
"name": "
|
|
166608
|
-
"module": "
|
|
166699
|
+
"name": "SbbTrainWagonMixin",
|
|
166700
|
+
"module": "train/train-wagon-common.js"
|
|
166609
166701
|
}
|
|
166610
166702
|
},
|
|
166611
166703
|
{
|
|
166612
|
-
"
|
|
166613
|
-
"name": "wagonType",
|
|
166704
|
+
"name": "blocked-passage",
|
|
166614
166705
|
"type": {
|
|
166615
|
-
"text": "
|
|
166706
|
+
"text": "'previous' | 'next' | 'both' | 'none'"
|
|
166616
166707
|
},
|
|
166617
|
-
"
|
|
166618
|
-
"
|
|
166619
|
-
"
|
|
166620
|
-
"attribute": "wagon-type",
|
|
166621
|
-
"reflects": true,
|
|
166708
|
+
"default": "'none'",
|
|
166709
|
+
"description": "Accessibility text for blocked passages of the wagon.",
|
|
166710
|
+
"fieldName": "blockedPassage",
|
|
166622
166711
|
"inheritedFrom": {
|
|
166623
166712
|
"name": "SbbTrainWagonMixin",
|
|
166624
166713
|
"module": "train/train-wagon-common.js"
|
|
166625
166714
|
}
|
|
166626
166715
|
},
|
|
166627
166716
|
{
|
|
166628
|
-
"
|
|
166629
|
-
"name": "listChildLocalNames",
|
|
166717
|
+
"name": "wagon-class",
|
|
166630
166718
|
"type": {
|
|
166631
|
-
"text": "
|
|
166719
|
+
"text": "| '1'\n | '2'\n | '1-2'\n | '2-1'\n | null"
|
|
166632
166720
|
},
|
|
166633
|
-
"
|
|
166634
|
-
"
|
|
166635
|
-
"
|
|
166636
|
-
"default": "['sbb-icon']",
|
|
166721
|
+
"default": "null",
|
|
166722
|
+
"description": "Class label",
|
|
166723
|
+
"fieldName": "wagonClass",
|
|
166637
166724
|
"inheritedFrom": {
|
|
166638
|
-
"name": "
|
|
166639
|
-
"module": "
|
|
166725
|
+
"name": "SbbTrainWagonMixin",
|
|
166726
|
+
"module": "train/train-wagon-common.js"
|
|
166640
166727
|
}
|
|
166641
166728
|
},
|
|
166642
166729
|
{
|
|
166643
|
-
"
|
|
166644
|
-
"name": "occupancy",
|
|
166730
|
+
"name": "label",
|
|
166645
166731
|
"type": {
|
|
166646
|
-
"text": "
|
|
166732
|
+
"text": "string"
|
|
166647
166733
|
},
|
|
166648
|
-
"
|
|
166649
|
-
"
|
|
166650
|
-
"
|
|
166651
|
-
"attribute": "occupancy",
|
|
166734
|
+
"default": "''",
|
|
166735
|
+
"description": "Wagon number",
|
|
166736
|
+
"fieldName": "label",
|
|
166652
166737
|
"inheritedFrom": {
|
|
166653
166738
|
"name": "SbbTrainWagonMixin",
|
|
166654
166739
|
"module": "train/train-wagon-common.js"
|
|
166655
166740
|
}
|
|
166656
166741
|
},
|
|
166657
166742
|
{
|
|
166658
|
-
"
|
|
166659
|
-
"name": "sector",
|
|
166743
|
+
"name": "additional-accessibility-text",
|
|
166660
166744
|
"type": {
|
|
166661
166745
|
"text": "string"
|
|
166662
166746
|
},
|
|
166663
|
-
"privacy": "public",
|
|
166664
166747
|
"default": "''",
|
|
166665
|
-
"description": "
|
|
166666
|
-
"
|
|
166667
|
-
"reflects": true,
|
|
166748
|
+
"description": "Additional accessibility text which will be appended to the end.",
|
|
166749
|
+
"fieldName": "additionalAccessibilityText",
|
|
166668
166750
|
"inheritedFrom": {
|
|
166669
166751
|
"name": "SbbTrainWagonMixin",
|
|
166670
166752
|
"module": "train/train-wagon-common.js"
|
|
166671
166753
|
}
|
|
166672
|
-
}
|
|
166754
|
+
}
|
|
166755
|
+
]
|
|
166756
|
+
}
|
|
166757
|
+
],
|
|
166758
|
+
"exports": [
|
|
166759
|
+
{
|
|
166760
|
+
"kind": "js",
|
|
166761
|
+
"name": "SbbTrainWagonElement",
|
|
166762
|
+
"declaration": {
|
|
166763
|
+
"name": "SbbTrainWagonElement",
|
|
166764
|
+
"module": "train/train-wagon/train-wagon.component.js"
|
|
166765
|
+
}
|
|
166766
|
+
}
|
|
166767
|
+
]
|
|
166768
|
+
},
|
|
166769
|
+
{
|
|
166770
|
+
"kind": "javascript-module",
|
|
166771
|
+
"path": "train/train-formation/train-formation.component.js",
|
|
166772
|
+
"declarations": [
|
|
166773
|
+
{
|
|
166774
|
+
"kind": "class",
|
|
166775
|
+
"description": "It displays a train composition, acting as a container for one or more `sbb-train` component.",
|
|
166776
|
+
"name": "SbbTrainFormationElement",
|
|
166777
|
+
"cssProperties": [
|
|
166778
|
+
{
|
|
166779
|
+
"description": "Defines the inline or block padding inside the horizontal or vertical scrolling area.",
|
|
166780
|
+
"name": "--sbb-train-formation-scroll-padding",
|
|
166781
|
+
"default": "var(--sbb-spacing-fixed-1x)"
|
|
166782
|
+
}
|
|
166783
|
+
],
|
|
166784
|
+
"slots": [
|
|
166785
|
+
{
|
|
166786
|
+
"description": "Use the unnamed slot to add 'sbb-train' elements to the `sbb-train-formation`.",
|
|
166787
|
+
"name": ""
|
|
166788
|
+
}
|
|
166789
|
+
],
|
|
166790
|
+
"members": [
|
|
166673
166791
|
{
|
|
166674
166792
|
"kind": "field",
|
|
166675
|
-
"name": "
|
|
166793
|
+
"name": "elementName",
|
|
166676
166794
|
"type": {
|
|
166677
|
-
"text": "
|
|
166795
|
+
"text": "string"
|
|
166678
166796
|
},
|
|
166679
166797
|
"privacy": "public",
|
|
166680
|
-
"
|
|
166681
|
-
"
|
|
166682
|
-
"
|
|
166798
|
+
"static": true,
|
|
166799
|
+
"readonly": true,
|
|
166800
|
+
"default": "'sbb-train-formation'",
|
|
166683
166801
|
"inheritedFrom": {
|
|
166684
|
-
"name": "
|
|
166685
|
-
"module": "
|
|
166802
|
+
"name": "SbbElement",
|
|
166803
|
+
"module": "core/base-elements/element.js"
|
|
166686
166804
|
}
|
|
166687
166805
|
},
|
|
166688
166806
|
{
|
|
166689
166807
|
"kind": "field",
|
|
166690
|
-
"name": "
|
|
166808
|
+
"name": "listChildLocalNames",
|
|
166691
166809
|
"type": {
|
|
166692
|
-
"text": "
|
|
166810
|
+
"text": "array"
|
|
166693
166811
|
},
|
|
166694
|
-
"privacy": "
|
|
166695
|
-
"
|
|
166696
|
-
"description": "
|
|
166697
|
-
"
|
|
166812
|
+
"privacy": "protected",
|
|
166813
|
+
"readonly": true,
|
|
166814
|
+
"description": "A list of lower-cased tag names to match against. (e.g. `sbb-link`)",
|
|
166815
|
+
"default": "['sbb-train']",
|
|
166698
166816
|
"inheritedFrom": {
|
|
166699
|
-
"name": "
|
|
166700
|
-
"module": "
|
|
166817
|
+
"name": "SbbNamedSlotListMixin",
|
|
166818
|
+
"module": "core/mixins/named-slot-list-mixin.js"
|
|
166701
166819
|
}
|
|
166702
166820
|
},
|
|
166703
166821
|
{
|
|
166704
166822
|
"kind": "field",
|
|
166705
|
-
"name": "
|
|
166823
|
+
"name": "view",
|
|
166706
166824
|
"type": {
|
|
166707
|
-
"text": "
|
|
166825
|
+
"text": "'side' | 'top'"
|
|
166708
166826
|
},
|
|
166709
166827
|
"privacy": "public",
|
|
166710
|
-
"default": "''",
|
|
166711
|
-
"description": "
|
|
166712
|
-
"attribute": "
|
|
166713
|
-
"reflects": true
|
|
166714
|
-
"inheritedFrom": {
|
|
166715
|
-
"name": "SbbTrainWagonMixin",
|
|
166716
|
-
"module": "train/train-wagon-common.js"
|
|
166717
|
-
}
|
|
166828
|
+
"default": "'side'",
|
|
166829
|
+
"description": "Whether the view of the wagons is from side or top perspective.",
|
|
166830
|
+
"attribute": "view",
|
|
166831
|
+
"reflects": true
|
|
166718
166832
|
},
|
|
166719
166833
|
{
|
|
166720
166834
|
"kind": "field",
|
|
166721
|
-
"name": "
|
|
166835
|
+
"name": "orientation",
|
|
166722
166836
|
"type": {
|
|
166723
|
-
"text": "
|
|
166837
|
+
"text": "SbbOrientation"
|
|
166724
166838
|
},
|
|
166725
166839
|
"privacy": "public",
|
|
166726
|
-
"default": "''",
|
|
166727
|
-
"description": "
|
|
166728
|
-
"attribute": "
|
|
166729
|
-
"
|
|
166730
|
-
"name": "SbbTrainWagonMixin",
|
|
166731
|
-
"module": "train/train-wagon-common.js"
|
|
166732
|
-
}
|
|
166840
|
+
"default": "'horizontal'",
|
|
166841
|
+
"description": "Orientation, either horizontal or vertical.",
|
|
166842
|
+
"attribute": "orientation",
|
|
166843
|
+
"reflects": true
|
|
166733
166844
|
},
|
|
166734
166845
|
{
|
|
166735
166846
|
"kind": "field",
|
|
166736
|
-
"name": "
|
|
166847
|
+
"name": "_sectors",
|
|
166737
166848
|
"type": {
|
|
166738
|
-
"text": "
|
|
166849
|
+
"text": "AggregatedSector[]"
|
|
166739
166850
|
},
|
|
166740
166851
|
"privacy": "private",
|
|
166741
|
-
"default": "
|
|
166742
|
-
"inheritedFrom": {
|
|
166743
|
-
"name": "SbbTrainWagonMixin",
|
|
166744
|
-
"module": "train/train-wagon-common.js"
|
|
166745
|
-
}
|
|
166852
|
+
"default": "[]"
|
|
166746
166853
|
},
|
|
166747
166854
|
{
|
|
166748
166855
|
"kind": "field",
|
|
166749
166856
|
"name": "_language",
|
|
166750
166857
|
"privacy": "private",
|
|
166751
|
-
"default": "new SbbLanguageController(this)"
|
|
166752
|
-
"inheritedFrom": {
|
|
166753
|
-
"name": "SbbTrainWagonMixin",
|
|
166754
|
-
"module": "train/train-wagon-common.js"
|
|
166755
|
-
}
|
|
166756
|
-
},
|
|
166757
|
-
{
|
|
166758
|
-
"kind": "field",
|
|
166759
|
-
"name": "_clipStyleSheet",
|
|
166760
|
-
"type": {
|
|
166761
|
-
"text": "CSSStyleSheet | null"
|
|
166762
|
-
},
|
|
166763
|
-
"privacy": "private",
|
|
166764
|
-
"default": "null",
|
|
166765
|
-
"inheritedFrom": {
|
|
166766
|
-
"name": "SbbTrainWagonMixin",
|
|
166767
|
-
"module": "train/train-wagon-common.js"
|
|
166768
|
-
}
|
|
166858
|
+
"default": "new SbbLanguageController(this)"
|
|
166769
166859
|
},
|
|
166770
166860
|
{
|
|
166771
166861
|
"kind": "method",
|
|
166772
|
-
"name": "
|
|
166862
|
+
"name": "_readDirectionLabel",
|
|
166773
166863
|
"privacy": "private",
|
|
166774
166864
|
"return": {
|
|
166775
166865
|
"type": {
|
|
166776
166866
|
"text": "void"
|
|
166777
166867
|
}
|
|
166778
166868
|
},
|
|
166779
|
-
"
|
|
166780
|
-
|
|
166781
|
-
|
|
166782
|
-
|
|
166783
|
-
|
|
166784
|
-
|
|
166785
|
-
|
|
166786
|
-
"name": "_wagonTypeLabel",
|
|
166787
|
-
"privacy": "private",
|
|
166788
|
-
"return": {
|
|
166789
|
-
"type": {
|
|
166790
|
-
"text": "string"
|
|
166869
|
+
"parameters": [
|
|
166870
|
+
{
|
|
166871
|
+
"name": "event",
|
|
166872
|
+
"optional": true,
|
|
166873
|
+
"type": {
|
|
166874
|
+
"text": "Event"
|
|
166875
|
+
}
|
|
166791
166876
|
}
|
|
166792
|
-
|
|
166793
|
-
"inheritedFrom": {
|
|
166794
|
-
"name": "SbbTrainWagonMixin",
|
|
166795
|
-
"module": "train/train-wagon-common.js"
|
|
166796
|
-
}
|
|
166877
|
+
]
|
|
166797
166878
|
},
|
|
166798
166879
|
{
|
|
166799
166880
|
"kind": "method",
|
|
166800
|
-
"name": "
|
|
166881
|
+
"name": "_readSectors",
|
|
166801
166882
|
"privacy": "private",
|
|
166802
166883
|
"return": {
|
|
166803
166884
|
"type": {
|
|
166804
|
-
"text": "
|
|
166885
|
+
"text": "void"
|
|
166805
166886
|
}
|
|
166806
166887
|
},
|
|
166807
|
-
"
|
|
166808
|
-
|
|
166809
|
-
|
|
166810
|
-
|
|
166811
|
-
|
|
166812
|
-
|
|
166813
|
-
|
|
166814
|
-
"name": "_classLabel",
|
|
166815
|
-
"privacy": "private",
|
|
166816
|
-
"return": {
|
|
166817
|
-
"type": {
|
|
166818
|
-
"text": "string"
|
|
166888
|
+
"parameters": [
|
|
166889
|
+
{
|
|
166890
|
+
"name": "event",
|
|
166891
|
+
"optional": true,
|
|
166892
|
+
"type": {
|
|
166893
|
+
"text": "Event"
|
|
166894
|
+
}
|
|
166819
166895
|
}
|
|
166820
|
-
|
|
166821
|
-
"inheritedFrom": {
|
|
166822
|
-
"name": "SbbTrainWagonMixin",
|
|
166823
|
-
"module": "train/train-wagon-common.js"
|
|
166824
|
-
}
|
|
166896
|
+
]
|
|
166825
166897
|
},
|
|
166826
166898
|
{
|
|
166827
|
-
"kind": "
|
|
166828
|
-
"name": "
|
|
166829
|
-
"
|
|
166830
|
-
|
|
166831
|
-
"type": {
|
|
166832
|
-
"text": "TemplateResult"
|
|
166833
|
-
}
|
|
166899
|
+
"kind": "field",
|
|
166900
|
+
"name": "elementDependencies",
|
|
166901
|
+
"type": {
|
|
166902
|
+
"text": "SbbElementType[]"
|
|
166834
166903
|
},
|
|
166904
|
+
"privacy": "public",
|
|
166905
|
+
"static": true,
|
|
166906
|
+
"default": "[]",
|
|
166835
166907
|
"inheritedFrom": {
|
|
166836
|
-
"name": "
|
|
166837
|
-
"module": "
|
|
166908
|
+
"name": "SbbElement",
|
|
166909
|
+
"module": "core/base-elements/element.js"
|
|
166838
166910
|
}
|
|
166839
166911
|
},
|
|
166840
166912
|
{
|
|
166841
166913
|
"kind": "field",
|
|
166842
|
-
"name": "
|
|
166914
|
+
"name": "styles",
|
|
166843
166915
|
"type": {
|
|
166844
|
-
"text": "
|
|
166916
|
+
"text": "CSSResultGroup"
|
|
166845
166917
|
},
|
|
166846
|
-
"privacy": "
|
|
166847
|
-
"
|
|
166918
|
+
"privacy": "public",
|
|
166919
|
+
"static": true,
|
|
166920
|
+
"default": "[screenReaderOnlyStyles]",
|
|
166848
166921
|
"inheritedFrom": {
|
|
166849
|
-
"name": "
|
|
166850
|
-
"module": "
|
|
166922
|
+
"name": "SbbNamedSlotListMixin",
|
|
166923
|
+
"module": "core/mixins/named-slot-list-mixin.js"
|
|
166851
166924
|
}
|
|
166852
166925
|
},
|
|
166853
166926
|
{
|
|
@@ -167213,120 +167286,47 @@
|
|
|
167213
167286
|
}
|
|
167214
167287
|
}
|
|
167215
167288
|
],
|
|
167216
|
-
"mixins": [
|
|
167217
|
-
{
|
|
167218
|
-
"name": "SbbTrainWagonMixin",
|
|
167219
|
-
"module": "train/train-wagon-common.js"
|
|
167220
|
-
}
|
|
167221
|
-
],
|
|
167222
|
-
"superclass": {
|
|
167223
|
-
"name": "SbbElement",
|
|
167224
|
-
"module": "core.js"
|
|
167225
|
-
},
|
|
167226
|
-
"tagName": "sbb-train-wagon",
|
|
167227
|
-
"customElement": true,
|
|
167228
167289
|
"attributes": [
|
|
167229
167290
|
{
|
|
167230
|
-
"name": "
|
|
167231
|
-
"type": {
|
|
167232
|
-
"text": "| 'wagon'\n | 'wagon-end-left'\n | 'wagon-end-right'\n | 'couchette'\n | 'sleeping'\n | 'restaurant'\n | 'locomotive'\n | 'closed'"
|
|
167233
|
-
},
|
|
167234
|
-
"default": "'wagon'",
|
|
167235
|
-
"description": "Wagon type.\nFor `wagon-end-left` and `wagon-end-right`, please set the corresponding value of the `blockedPassage` property.",
|
|
167236
|
-
"fieldName": "wagonType",
|
|
167237
|
-
"inheritedFrom": {
|
|
167238
|
-
"name": "SbbTrainWagonMixin",
|
|
167239
|
-
"module": "train/train-wagon-common.js"
|
|
167240
|
-
}
|
|
167241
|
-
},
|
|
167242
|
-
{
|
|
167243
|
-
"name": "occupancy",
|
|
167244
|
-
"type": {
|
|
167245
|
-
"text": "SbbOccupancy | null"
|
|
167246
|
-
},
|
|
167247
|
-
"default": "null",
|
|
167248
|
-
"description": "Occupancy of a wagon.",
|
|
167249
|
-
"fieldName": "occupancy",
|
|
167250
|
-
"inheritedFrom": {
|
|
167251
|
-
"name": "SbbTrainWagonMixin",
|
|
167252
|
-
"module": "train/train-wagon-common.js"
|
|
167253
|
-
}
|
|
167254
|
-
},
|
|
167255
|
-
{
|
|
167256
|
-
"name": "sector",
|
|
167257
|
-
"type": {
|
|
167258
|
-
"text": "string"
|
|
167259
|
-
},
|
|
167260
|
-
"default": "''",
|
|
167261
|
-
"description": "Sector in which the wagon stops.",
|
|
167262
|
-
"fieldName": "sector",
|
|
167263
|
-
"inheritedFrom": {
|
|
167264
|
-
"name": "SbbTrainWagonMixin",
|
|
167265
|
-
"module": "train/train-wagon-common.js"
|
|
167266
|
-
}
|
|
167267
|
-
},
|
|
167268
|
-
{
|
|
167269
|
-
"name": "blocked-passage",
|
|
167270
|
-
"type": {
|
|
167271
|
-
"text": "'previous' | 'next' | 'both' | 'none'"
|
|
167272
|
-
},
|
|
167273
|
-
"default": "'none'",
|
|
167274
|
-
"description": "Accessibility text for blocked passages of the wagon.",
|
|
167275
|
-
"fieldName": "blockedPassage",
|
|
167276
|
-
"inheritedFrom": {
|
|
167277
|
-
"name": "SbbTrainWagonMixin",
|
|
167278
|
-
"module": "train/train-wagon-common.js"
|
|
167279
|
-
}
|
|
167280
|
-
},
|
|
167281
|
-
{
|
|
167282
|
-
"name": "wagon-class",
|
|
167291
|
+
"name": "view",
|
|
167283
167292
|
"type": {
|
|
167284
|
-
"text": "
|
|
167293
|
+
"text": "'side' | 'top'"
|
|
167285
167294
|
},
|
|
167286
|
-
"default": "
|
|
167287
|
-
"description": "
|
|
167288
|
-
"fieldName": "
|
|
167289
|
-
"inheritedFrom": {
|
|
167290
|
-
"name": "SbbTrainWagonMixin",
|
|
167291
|
-
"module": "train/train-wagon-common.js"
|
|
167292
|
-
}
|
|
167295
|
+
"default": "'side'",
|
|
167296
|
+
"description": "Whether the view of the wagons is from side or top perspective.",
|
|
167297
|
+
"fieldName": "view"
|
|
167293
167298
|
},
|
|
167294
167299
|
{
|
|
167295
|
-
"name": "
|
|
167300
|
+
"name": "orientation",
|
|
167296
167301
|
"type": {
|
|
167297
|
-
"text": "
|
|
167302
|
+
"text": "SbbOrientation"
|
|
167298
167303
|
},
|
|
167299
|
-
"default": "''",
|
|
167300
|
-
"description": "
|
|
167301
|
-
"fieldName": "
|
|
167302
|
-
|
|
167303
|
-
|
|
167304
|
-
|
|
167305
|
-
}
|
|
167306
|
-
},
|
|
167304
|
+
"default": "'horizontal'",
|
|
167305
|
+
"description": "Orientation, either horizontal or vertical.",
|
|
167306
|
+
"fieldName": "orientation"
|
|
167307
|
+
}
|
|
167308
|
+
],
|
|
167309
|
+
"mixins": [
|
|
167307
167310
|
{
|
|
167308
|
-
"name": "
|
|
167309
|
-
"
|
|
167310
|
-
"text": "string"
|
|
167311
|
-
},
|
|
167312
|
-
"default": "''",
|
|
167313
|
-
"description": "Additional accessibility text which will be appended to the end.",
|
|
167314
|
-
"fieldName": "additionalAccessibilityText",
|
|
167315
|
-
"inheritedFrom": {
|
|
167316
|
-
"name": "SbbTrainWagonMixin",
|
|
167317
|
-
"module": "train/train-wagon-common.js"
|
|
167318
|
-
}
|
|
167311
|
+
"name": "SbbNamedSlotListMixin",
|
|
167312
|
+
"module": "core.js"
|
|
167319
167313
|
}
|
|
167320
|
-
]
|
|
167314
|
+
],
|
|
167315
|
+
"superclass": {
|
|
167316
|
+
"name": "SbbElement",
|
|
167317
|
+
"module": "core.js"
|
|
167318
|
+
},
|
|
167319
|
+
"tagName": "sbb-train-formation",
|
|
167320
|
+
"customElement": true
|
|
167321
167321
|
}
|
|
167322
167322
|
],
|
|
167323
167323
|
"exports": [
|
|
167324
167324
|
{
|
|
167325
167325
|
"kind": "js",
|
|
167326
|
-
"name": "
|
|
167326
|
+
"name": "SbbTrainFormationElement",
|
|
167327
167327
|
"declaration": {
|
|
167328
|
-
"name": "
|
|
167329
|
-
"module": "train/train-
|
|
167328
|
+
"name": "SbbTrainFormationElement",
|
|
167329
|
+
"module": "train/train-formation/train-formation.component.js"
|
|
167330
167330
|
}
|
|
167331
167331
|
}
|
|
167332
167332
|
]
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sbb-esta/lyne-elements-dev",
|
|
3
|
-
"version": "5.0.0-next.2-dev.
|
|
3
|
+
"version": "5.0.0-next.2-dev.1778072890",
|
|
4
4
|
"description": "Lyne Design System",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"design system",
|
|
7
7
|
"web components",
|
|
8
8
|
"lit",
|
|
9
|
-
"https://github.com/sbb-design-systems/lyne-components/commit/
|
|
9
|
+
"https://github.com/sbb-design-systems/lyne-components/commit/8b2e96a35a777cc5f67dce890e3398fc04424805"
|
|
10
10
|
],
|
|
11
11
|
"type": "module",
|
|
12
12
|
"exports": {
|