@sbb-esta/lyne-elements-dev 4.7.0-dev.1773396165 → 4.7.0-dev.1773396933
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 +611 -611
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -30977,228 +30977,46 @@
|
|
|
30977
30977
|
},
|
|
30978
30978
|
{
|
|
30979
30979
|
"kind": "javascript-module",
|
|
30980
|
-
"path": "
|
|
30980
|
+
"path": "title/title-base.js",
|
|
30981
30981
|
"declarations": [
|
|
30982
30982
|
{
|
|
30983
30983
|
"kind": "class",
|
|
30984
|
-
"description": "It displays a
|
|
30985
|
-
"name": "
|
|
30984
|
+
"description": "It displays a title with a heading role.",
|
|
30985
|
+
"name": "SbbTitleBase",
|
|
30986
30986
|
"members": [
|
|
30987
30987
|
{
|
|
30988
30988
|
"kind": "field",
|
|
30989
|
-
"name": "
|
|
30989
|
+
"name": "role",
|
|
30990
30990
|
"type": {
|
|
30991
30991
|
"text": "string"
|
|
30992
30992
|
},
|
|
30993
30993
|
"privacy": "public",
|
|
30994
30994
|
"static": true,
|
|
30995
|
-
"
|
|
30996
|
-
"inheritedFrom": {
|
|
30997
|
-
"name": "SbbElement",
|
|
30998
|
-
"module": "core/base-elements/element.js"
|
|
30999
|
-
},
|
|
31000
|
-
"default": "'sbb-timetable-occupancy-icon'"
|
|
31001
|
-
},
|
|
31002
|
-
{
|
|
31003
|
-
"kind": "field",
|
|
31004
|
-
"name": "occupancy",
|
|
31005
|
-
"type": {
|
|
31006
|
-
"text": "SbbOccupancy"
|
|
31007
|
-
},
|
|
31008
|
-
"privacy": "public",
|
|
31009
|
-
"default": "'none'",
|
|
31010
|
-
"description": "Wagon occupancy.",
|
|
31011
|
-
"attribute": "occupancy"
|
|
31012
|
-
},
|
|
31013
|
-
{
|
|
31014
|
-
"kind": "field",
|
|
31015
|
-
"name": "_language",
|
|
31016
|
-
"privacy": "private"
|
|
31017
|
-
},
|
|
31018
|
-
{
|
|
31019
|
-
"kind": "field",
|
|
31020
|
-
"name": "_mediaMatcher",
|
|
31021
|
-
"privacy": "private",
|
|
31022
|
-
"default": "new SbbMediaMatcherController(this, { [SbbMediaQueryForcedColors]: (matches) => { this._forcedColors = matches; this._setNameAndAriaLabel(); }, })"
|
|
31023
|
-
},
|
|
31024
|
-
{
|
|
31025
|
-
"kind": "field",
|
|
31026
|
-
"name": "_darkModeController",
|
|
31027
|
-
"privacy": "private",
|
|
31028
|
-
"default": "new SbbDarkModeController(this, () => this._setNameAndAriaLabel())"
|
|
31029
|
-
},
|
|
31030
|
-
{
|
|
31031
|
-
"kind": "field",
|
|
31032
|
-
"name": "_forcedColors",
|
|
31033
|
-
"type": {
|
|
31034
|
-
"text": "boolean"
|
|
31035
|
-
},
|
|
31036
|
-
"privacy": "private"
|
|
31037
|
-
},
|
|
31038
|
-
{
|
|
31039
|
-
"kind": "method",
|
|
31040
|
-
"name": "_setNameAndAriaLabel",
|
|
31041
|
-
"privacy": "private",
|
|
31042
|
-
"return": {
|
|
31043
|
-
"type": {
|
|
31044
|
-
"text": "Promise<void>"
|
|
31045
|
-
}
|
|
31046
|
-
}
|
|
31047
|
-
},
|
|
31048
|
-
{
|
|
31049
|
-
"kind": "method",
|
|
31050
|
-
"name": "fetchSvgIcon",
|
|
31051
|
-
"privacy": "protected",
|
|
31052
|
-
"return": {
|
|
31053
|
-
"type": {
|
|
31054
|
-
"text": "Promise<string>"
|
|
31055
|
-
}
|
|
31056
|
-
},
|
|
31057
|
-
"parameters": [
|
|
31058
|
-
{
|
|
31059
|
-
"name": "namespace",
|
|
31060
|
-
"type": {
|
|
31061
|
-
"text": "string"
|
|
31062
|
-
}
|
|
31063
|
-
},
|
|
31064
|
-
{
|
|
31065
|
-
"name": "name",
|
|
31066
|
-
"type": {
|
|
31067
|
-
"text": "string"
|
|
31068
|
-
}
|
|
31069
|
-
}
|
|
31070
|
-
],
|
|
31071
|
-
"inheritedFrom": {
|
|
31072
|
-
"name": "SbbIconBase",
|
|
31073
|
-
"module": "icon/icon-base.js"
|
|
31074
|
-
}
|
|
31075
|
-
},
|
|
31076
|
-
{
|
|
31077
|
-
"kind": "method",
|
|
31078
|
-
"name": "_setAriaLabel",
|
|
31079
|
-
"privacy": "private",
|
|
31080
|
-
"return": {
|
|
31081
|
-
"type": {
|
|
31082
|
-
"text": "void"
|
|
31083
|
-
}
|
|
31084
|
-
}
|
|
30995
|
+
"default": "'heading'"
|
|
31085
30996
|
},
|
|
31086
30997
|
{
|
|
31087
30998
|
"kind": "field",
|
|
31088
|
-
"name": "
|
|
30999
|
+
"name": "level",
|
|
31089
31000
|
"type": {
|
|
31090
|
-
"text": "
|
|
31001
|
+
"text": "SbbTitleLevel"
|
|
31091
31002
|
},
|
|
31092
31003
|
"privacy": "public",
|
|
31093
|
-
"default": "
|
|
31094
|
-
"description": "
|
|
31095
|
-
"attribute": "
|
|
31096
|
-
"reflects": true
|
|
31097
|
-
"inheritedFrom": {
|
|
31098
|
-
"name": "SbbNegativeMixin",
|
|
31099
|
-
"module": "core/mixins/negative-mixin.js"
|
|
31100
|
-
}
|
|
31004
|
+
"default": "'1'",
|
|
31005
|
+
"description": "Title level",
|
|
31006
|
+
"attribute": "level",
|
|
31007
|
+
"reflects": true
|
|
31101
31008
|
},
|
|
31102
31009
|
{
|
|
31103
31010
|
"kind": "field",
|
|
31104
|
-
"name": "
|
|
31011
|
+
"name": "visualLevel",
|
|
31105
31012
|
"type": {
|
|
31106
|
-
"text": "
|
|
31013
|
+
"text": "SbbTitleLevel | null"
|
|
31107
31014
|
},
|
|
31108
31015
|
"privacy": "public",
|
|
31109
|
-
"static": true,
|
|
31110
|
-
"readonly": true,
|
|
31111
|
-
"default": "'img'",
|
|
31112
|
-
"inheritedFrom": {
|
|
31113
|
-
"name": "SbbIconBase",
|
|
31114
|
-
"module": "icon/icon-base.js"
|
|
31115
|
-
}
|
|
31116
|
-
},
|
|
31117
|
-
{
|
|
31118
|
-
"kind": "field",
|
|
31119
|
-
"name": "_svgNamespace",
|
|
31120
|
-
"privacy": "private",
|
|
31121
|
-
"default": "'default'",
|
|
31122
|
-
"type": {
|
|
31123
|
-
"text": "string"
|
|
31124
|
-
},
|
|
31125
|
-
"inheritedFrom": {
|
|
31126
|
-
"name": "SbbIconBase",
|
|
31127
|
-
"module": "icon/icon-base.js"
|
|
31128
|
-
}
|
|
31129
|
-
},
|
|
31130
|
-
{
|
|
31131
|
-
"kind": "field",
|
|
31132
|
-
"name": "_svgIcon",
|
|
31133
|
-
"type": {
|
|
31134
|
-
"text": "Promise<DirectiveResult<typeof UnsafeHTMLDirective>> | null"
|
|
31135
|
-
},
|
|
31136
|
-
"privacy": "private",
|
|
31137
31016
|
"default": "null",
|
|
31138
|
-
"description": "
|
|
31139
|
-
"
|
|
31140
|
-
|
|
31141
|
-
"module": "icon/icon-base.js"
|
|
31142
|
-
}
|
|
31143
|
-
},
|
|
31144
|
-
{
|
|
31145
|
-
"kind": "field",
|
|
31146
|
-
"name": "noSanitize",
|
|
31147
|
-
"type": {
|
|
31148
|
-
"text": "boolean"
|
|
31149
|
-
},
|
|
31150
|
-
"privacy": "public",
|
|
31151
|
-
"default": "false",
|
|
31152
|
-
"description": "When set to `true`, SVG content that is HTTP fetched will not be checked\nif the response SVG content has any `<script>` elements, or any attributes\nthat start with `on`, such as `onclick`.",
|
|
31153
|
-
"attribute": "no-sanitize",
|
|
31154
|
-
"inheritedFrom": {
|
|
31155
|
-
"name": "SbbIconBase",
|
|
31156
|
-
"module": "icon/icon-base.js"
|
|
31157
|
-
}
|
|
31158
|
-
},
|
|
31159
|
-
{
|
|
31160
|
-
"kind": "method",
|
|
31161
|
-
"name": "loadSvgIcon",
|
|
31162
|
-
"privacy": "protected",
|
|
31163
|
-
"return": {
|
|
31164
|
-
"type": {
|
|
31165
|
-
"text": "Promise<void>"
|
|
31166
|
-
}
|
|
31167
|
-
},
|
|
31168
|
-
"parameters": [
|
|
31169
|
-
{
|
|
31170
|
-
"name": "iconName",
|
|
31171
|
-
"type": {
|
|
31172
|
-
"text": "string"
|
|
31173
|
-
}
|
|
31174
|
-
}
|
|
31175
|
-
],
|
|
31176
|
-
"inheritedFrom": {
|
|
31177
|
-
"name": "SbbIconBase",
|
|
31178
|
-
"module": "icon/icon-base.js"
|
|
31179
|
-
}
|
|
31180
|
-
},
|
|
31181
|
-
{
|
|
31182
|
-
"kind": "method",
|
|
31183
|
-
"name": "_splitIconName",
|
|
31184
|
-
"privacy": "private",
|
|
31185
|
-
"return": {
|
|
31186
|
-
"type": {
|
|
31187
|
-
"text": "[string, string]"
|
|
31188
|
-
}
|
|
31189
|
-
},
|
|
31190
|
-
"parameters": [
|
|
31191
|
-
{
|
|
31192
|
-
"name": "iconName",
|
|
31193
|
-
"type": {
|
|
31194
|
-
"text": "string"
|
|
31195
|
-
}
|
|
31196
|
-
}
|
|
31197
|
-
],
|
|
31198
|
-
"inheritedFrom": {
|
|
31199
|
-
"name": "SbbIconBase",
|
|
31200
|
-
"module": "icon/icon-base.js"
|
|
31201
|
-
}
|
|
31017
|
+
"description": "Visual level for the title.",
|
|
31018
|
+
"attribute": "visual-level",
|
|
31019
|
+
"reflects": true
|
|
31202
31020
|
},
|
|
31203
31021
|
{
|
|
31204
31022
|
"kind": "field",
|
|
@@ -31293,6 +31111,20 @@
|
|
|
31293
31111
|
"module": "core/base-elements/element.js"
|
|
31294
31112
|
}
|
|
31295
31113
|
},
|
|
31114
|
+
{
|
|
31115
|
+
"kind": "field",
|
|
31116
|
+
"name": "elementName",
|
|
31117
|
+
"type": {
|
|
31118
|
+
"text": "string"
|
|
31119
|
+
},
|
|
31120
|
+
"privacy": "public",
|
|
31121
|
+
"static": true,
|
|
31122
|
+
"readonly": true,
|
|
31123
|
+
"inheritedFrom": {
|
|
31124
|
+
"name": "SbbElement",
|
|
31125
|
+
"module": "core/base-elements/element.js"
|
|
31126
|
+
}
|
|
31127
|
+
},
|
|
31296
31128
|
{
|
|
31297
31129
|
"kind": "field",
|
|
31298
31130
|
"name": "_controllers",
|
|
@@ -31308,263 +31140,18 @@
|
|
|
31308
31140
|
],
|
|
31309
31141
|
"attributes": [
|
|
31310
31142
|
{
|
|
31311
|
-
"name": "
|
|
31312
|
-
"type": {
|
|
31313
|
-
"text": "SbbOccupancy"
|
|
31314
|
-
},
|
|
31315
|
-
"default": "'none'",
|
|
31316
|
-
"description": "Wagon occupancy.",
|
|
31317
|
-
"fieldName": "occupancy"
|
|
31318
|
-
},
|
|
31319
|
-
{
|
|
31320
|
-
"name": "negative",
|
|
31143
|
+
"name": "level",
|
|
31321
31144
|
"type": {
|
|
31322
|
-
"text": "
|
|
31145
|
+
"text": "SbbTitleLevel"
|
|
31323
31146
|
},
|
|
31324
|
-
"default": "
|
|
31325
|
-
"description": "
|
|
31326
|
-
"fieldName": "
|
|
31327
|
-
"inheritedFrom": {
|
|
31328
|
-
"name": "SbbNegativeMixin",
|
|
31329
|
-
"module": "core/mixins/negative-mixin.js"
|
|
31330
|
-
}
|
|
31147
|
+
"default": "'1'",
|
|
31148
|
+
"description": "Title level",
|
|
31149
|
+
"fieldName": "level"
|
|
31331
31150
|
},
|
|
31332
31151
|
{
|
|
31333
|
-
"name": "
|
|
31152
|
+
"name": "visual-level",
|
|
31334
31153
|
"type": {
|
|
31335
|
-
"text": "
|
|
31336
|
-
},
|
|
31337
|
-
"default": "false",
|
|
31338
|
-
"description": "When set to `true`, SVG content that is HTTP fetched will not be checked\nif the response SVG content has any `<script>` elements, or any attributes\nthat start with `on`, such as `onclick`.",
|
|
31339
|
-
"fieldName": "noSanitize",
|
|
31340
|
-
"inheritedFrom": {
|
|
31341
|
-
"name": "SbbIconBase",
|
|
31342
|
-
"module": "icon/icon-base.js"
|
|
31343
|
-
}
|
|
31344
|
-
}
|
|
31345
|
-
],
|
|
31346
|
-
"mixins": [
|
|
31347
|
-
{
|
|
31348
|
-
"name": "SbbNegativeMixin",
|
|
31349
|
-
"module": "core/mixins.js"
|
|
31350
|
-
}
|
|
31351
|
-
],
|
|
31352
|
-
"superclass": {
|
|
31353
|
-
"name": "SbbIconBase",
|
|
31354
|
-
"module": "icon.js"
|
|
31355
|
-
},
|
|
31356
|
-
"tagName": "sbb-timetable-occupancy-icon",
|
|
31357
|
-
"customElement": true,
|
|
31358
|
-
"cssProperties": [
|
|
31359
|
-
{
|
|
31360
|
-
"description": "Can be used to set a custom width.",
|
|
31361
|
-
"name": "--sbb-icon-svg-width",
|
|
31362
|
-
"default": "auto",
|
|
31363
|
-
"inheritedFrom": {
|
|
31364
|
-
"name": "SbbIconBase",
|
|
31365
|
-
"module": "icon/icon-base.js"
|
|
31366
|
-
}
|
|
31367
|
-
},
|
|
31368
|
-
{
|
|
31369
|
-
"description": "Can be used to set a custom height.",
|
|
31370
|
-
"name": "--sbb-icon-svg-height",
|
|
31371
|
-
"default": "auto",
|
|
31372
|
-
"inheritedFrom": {
|
|
31373
|
-
"name": "SbbIconBase",
|
|
31374
|
-
"module": "icon/icon-base.js"
|
|
31375
|
-
}
|
|
31376
|
-
}
|
|
31377
|
-
]
|
|
31378
|
-
}
|
|
31379
|
-
],
|
|
31380
|
-
"exports": [
|
|
31381
|
-
{
|
|
31382
|
-
"kind": "js",
|
|
31383
|
-
"name": "SbbTimetableOccupancyIconElement",
|
|
31384
|
-
"declaration": {
|
|
31385
|
-
"name": "SbbTimetableOccupancyIconElement",
|
|
31386
|
-
"module": "timetable-occupancy-icon/timetable-occupancy-icon.component.js"
|
|
31387
|
-
}
|
|
31388
|
-
}
|
|
31389
|
-
]
|
|
31390
|
-
},
|
|
31391
|
-
{
|
|
31392
|
-
"kind": "javascript-module",
|
|
31393
|
-
"path": "title/title-base.js",
|
|
31394
|
-
"declarations": [
|
|
31395
|
-
{
|
|
31396
|
-
"kind": "class",
|
|
31397
|
-
"description": "It displays a title with a heading role.",
|
|
31398
|
-
"name": "SbbTitleBase",
|
|
31399
|
-
"members": [
|
|
31400
|
-
{
|
|
31401
|
-
"kind": "field",
|
|
31402
|
-
"name": "role",
|
|
31403
|
-
"type": {
|
|
31404
|
-
"text": "string"
|
|
31405
|
-
},
|
|
31406
|
-
"privacy": "public",
|
|
31407
|
-
"static": true,
|
|
31408
|
-
"default": "'heading'"
|
|
31409
|
-
},
|
|
31410
|
-
{
|
|
31411
|
-
"kind": "field",
|
|
31412
|
-
"name": "level",
|
|
31413
|
-
"type": {
|
|
31414
|
-
"text": "SbbTitleLevel"
|
|
31415
|
-
},
|
|
31416
|
-
"privacy": "public",
|
|
31417
|
-
"default": "'1'",
|
|
31418
|
-
"description": "Title level",
|
|
31419
|
-
"attribute": "level",
|
|
31420
|
-
"reflects": true
|
|
31421
|
-
},
|
|
31422
|
-
{
|
|
31423
|
-
"kind": "field",
|
|
31424
|
-
"name": "visualLevel",
|
|
31425
|
-
"type": {
|
|
31426
|
-
"text": "SbbTitleLevel | null"
|
|
31427
|
-
},
|
|
31428
|
-
"privacy": "public",
|
|
31429
|
-
"default": "null",
|
|
31430
|
-
"description": "Visual level for the title.",
|
|
31431
|
-
"attribute": "visual-level",
|
|
31432
|
-
"reflects": true
|
|
31433
|
-
},
|
|
31434
|
-
{
|
|
31435
|
-
"kind": "field",
|
|
31436
|
-
"name": "_hydrationRequired",
|
|
31437
|
-
"type": {
|
|
31438
|
-
"text": "boolean"
|
|
31439
|
-
},
|
|
31440
|
-
"privacy": "private",
|
|
31441
|
-
"default": "!!this.shadowRoot",
|
|
31442
|
-
"inheritedFrom": {
|
|
31443
|
-
"name": "SbbHydrationMixin",
|
|
31444
|
-
"module": "core/mixins/hydration-mixin.js"
|
|
31445
|
-
}
|
|
31446
|
-
},
|
|
31447
|
-
{
|
|
31448
|
-
"kind": "field",
|
|
31449
|
-
"name": "_hydrationComplete",
|
|
31450
|
-
"privacy": "private",
|
|
31451
|
-
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
31452
|
-
"inheritedFrom": {
|
|
31453
|
-
"name": "SbbHydrationMixin",
|
|
31454
|
-
"module": "core/mixins/hydration-mixin.js"
|
|
31455
|
-
}
|
|
31456
|
-
},
|
|
31457
|
-
{
|
|
31458
|
-
"kind": "field",
|
|
31459
|
-
"name": "_resolveHydration",
|
|
31460
|
-
"type": {
|
|
31461
|
-
"text": "(hydrationRequired: boolean) => void"
|
|
31462
|
-
},
|
|
31463
|
-
"privacy": "private",
|
|
31464
|
-
"inheritedFrom": {
|
|
31465
|
-
"name": "SbbHydrationMixin",
|
|
31466
|
-
"module": "core/mixins/hydration-mixin.js"
|
|
31467
|
-
}
|
|
31468
|
-
},
|
|
31469
|
-
{
|
|
31470
|
-
"kind": "field",
|
|
31471
|
-
"name": "hydrationRequired",
|
|
31472
|
-
"type": {
|
|
31473
|
-
"text": "boolean"
|
|
31474
|
-
},
|
|
31475
|
-
"privacy": "protected",
|
|
31476
|
-
"description": "Returns whether hydration is required and not completed.",
|
|
31477
|
-
"readonly": true,
|
|
31478
|
-
"inheritedFrom": {
|
|
31479
|
-
"name": "SbbHydrationMixin",
|
|
31480
|
-
"module": "core/mixins/hydration-mixin.js"
|
|
31481
|
-
},
|
|
31482
|
-
"default": "!!this.shadowRoot"
|
|
31483
|
-
},
|
|
31484
|
-
{
|
|
31485
|
-
"kind": "method",
|
|
31486
|
-
"name": "toggleState",
|
|
31487
|
-
"privacy": "protected",
|
|
31488
|
-
"return": {
|
|
31489
|
-
"type": {
|
|
31490
|
-
"text": "void"
|
|
31491
|
-
}
|
|
31492
|
-
},
|
|
31493
|
-
"parameters": [
|
|
31494
|
-
{
|
|
31495
|
-
"name": "value",
|
|
31496
|
-
"type": {
|
|
31497
|
-
"text": "string"
|
|
31498
|
-
}
|
|
31499
|
-
},
|
|
31500
|
-
{
|
|
31501
|
-
"name": "force",
|
|
31502
|
-
"optional": true,
|
|
31503
|
-
"type": {
|
|
31504
|
-
"text": "boolean"
|
|
31505
|
-
}
|
|
31506
|
-
}
|
|
31507
|
-
],
|
|
31508
|
-
"inheritedFrom": {
|
|
31509
|
-
"name": "SbbElementInternalsMixin",
|
|
31510
|
-
"module": "core/mixins/element-internals-mixin.js"
|
|
31511
|
-
}
|
|
31512
|
-
},
|
|
31513
|
-
{
|
|
31514
|
-
"kind": "field",
|
|
31515
|
-
"name": "['_$sbbElement$']",
|
|
31516
|
-
"type": {
|
|
31517
|
-
"text": "boolean"
|
|
31518
|
-
},
|
|
31519
|
-
"privacy": "public",
|
|
31520
|
-
"static": true,
|
|
31521
|
-
"default": "true",
|
|
31522
|
-
"inheritedFrom": {
|
|
31523
|
-
"name": "SbbElement",
|
|
31524
|
-
"module": "core/base-elements/element.js"
|
|
31525
|
-
}
|
|
31526
|
-
},
|
|
31527
|
-
{
|
|
31528
|
-
"kind": "field",
|
|
31529
|
-
"name": "elementName",
|
|
31530
|
-
"type": {
|
|
31531
|
-
"text": "string"
|
|
31532
|
-
},
|
|
31533
|
-
"privacy": "public",
|
|
31534
|
-
"static": true,
|
|
31535
|
-
"readonly": true,
|
|
31536
|
-
"inheritedFrom": {
|
|
31537
|
-
"name": "SbbElement",
|
|
31538
|
-
"module": "core/base-elements/element.js"
|
|
31539
|
-
}
|
|
31540
|
-
},
|
|
31541
|
-
{
|
|
31542
|
-
"kind": "field",
|
|
31543
|
-
"name": "_controllers",
|
|
31544
|
-
"type": {
|
|
31545
|
-
"text": "Set<SbbReactiveController> | undefined"
|
|
31546
|
-
},
|
|
31547
|
-
"privacy": "private",
|
|
31548
|
-
"inheritedFrom": {
|
|
31549
|
-
"name": "SbbElement",
|
|
31550
|
-
"module": "core/base-elements/element.js"
|
|
31551
|
-
}
|
|
31552
|
-
}
|
|
31553
|
-
],
|
|
31554
|
-
"attributes": [
|
|
31555
|
-
{
|
|
31556
|
-
"name": "level",
|
|
31557
|
-
"type": {
|
|
31558
|
-
"text": "SbbTitleLevel"
|
|
31559
|
-
},
|
|
31560
|
-
"default": "'1'",
|
|
31561
|
-
"description": "Title level",
|
|
31562
|
-
"fieldName": "level"
|
|
31563
|
-
},
|
|
31564
|
-
{
|
|
31565
|
-
"name": "visual-level",
|
|
31566
|
-
"type": {
|
|
31567
|
-
"text": "SbbTitleLevel | null"
|
|
31154
|
+
"text": "SbbTitleLevel | null"
|
|
31568
31155
|
},
|
|
31569
31156
|
"default": "null",
|
|
31570
31157
|
"description": "Visual level for the title.",
|
|
@@ -32186,141 +31773,602 @@
|
|
|
32186
31773
|
},
|
|
32187
31774
|
{
|
|
32188
31775
|
"kind": "field",
|
|
32189
|
-
"name": "#readOnly",
|
|
32190
|
-
"privacy": "private",
|
|
31776
|
+
"name": "#readOnly",
|
|
31777
|
+
"privacy": "private",
|
|
31778
|
+
"type": {
|
|
31779
|
+
"text": "boolean"
|
|
31780
|
+
},
|
|
31781
|
+
"default": "false",
|
|
31782
|
+
"inheritedFrom": {
|
|
31783
|
+
"name": "SbbReadonlyMixin",
|
|
31784
|
+
"module": "core/mixins/readonly-mixin.js"
|
|
31785
|
+
}
|
|
31786
|
+
},
|
|
31787
|
+
{
|
|
31788
|
+
"kind": "field",
|
|
31789
|
+
"name": "events",
|
|
31790
|
+
"privacy": "public",
|
|
31791
|
+
"static": true,
|
|
31792
|
+
"readonly": true,
|
|
31793
|
+
"default": "{ beforeopen: 'beforeopen', open: 'open', beforeclose: 'beforeclose', close: 'close', }",
|
|
31794
|
+
"type": {
|
|
31795
|
+
"text": "{\n beforeopen: 'beforeopen',\n open: 'open',\n beforeclose: 'beforeclose',\n close: 'close',\n }"
|
|
31796
|
+
},
|
|
31797
|
+
"inheritedFrom": {
|
|
31798
|
+
"name": "SbbOpenCloseBaseElement",
|
|
31799
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
31800
|
+
}
|
|
31801
|
+
},
|
|
31802
|
+
{
|
|
31803
|
+
"kind": "field",
|
|
31804
|
+
"name": "state",
|
|
31805
|
+
"privacy": "protected",
|
|
31806
|
+
"description": "The state of the component.",
|
|
31807
|
+
"type": {
|
|
31808
|
+
"text": "SbbOpenedClosedState"
|
|
31809
|
+
},
|
|
31810
|
+
"default": "'closed'",
|
|
31811
|
+
"inheritedFrom": {
|
|
31812
|
+
"name": "SbbOpenCloseBaseElement",
|
|
31813
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
31814
|
+
}
|
|
31815
|
+
},
|
|
31816
|
+
{
|
|
31817
|
+
"kind": "field",
|
|
31818
|
+
"name": "_state",
|
|
31819
|
+
"type": {
|
|
31820
|
+
"text": "SbbOpenedClosedState"
|
|
31821
|
+
},
|
|
31822
|
+
"privacy": "private",
|
|
31823
|
+
"inheritedFrom": {
|
|
31824
|
+
"name": "SbbOpenCloseBaseElement",
|
|
31825
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
31826
|
+
}
|
|
31827
|
+
},
|
|
31828
|
+
{
|
|
31829
|
+
"kind": "field",
|
|
31830
|
+
"name": "isOpen",
|
|
31831
|
+
"type": {
|
|
31832
|
+
"text": "boolean"
|
|
31833
|
+
},
|
|
31834
|
+
"privacy": "public",
|
|
31835
|
+
"description": "Whether the element is open.",
|
|
31836
|
+
"readonly": true,
|
|
31837
|
+
"inheritedFrom": {
|
|
31838
|
+
"name": "SbbOpenCloseBaseElement",
|
|
31839
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
31840
|
+
}
|
|
31841
|
+
},
|
|
31842
|
+
{
|
|
31843
|
+
"kind": "method",
|
|
31844
|
+
"name": "escapeStrategy",
|
|
31845
|
+
"privacy": "public",
|
|
31846
|
+
"return": {
|
|
31847
|
+
"type": {
|
|
31848
|
+
"text": "void"
|
|
31849
|
+
}
|
|
31850
|
+
},
|
|
31851
|
+
"description": "The method which is called on escape key press. Defaults to calling close()",
|
|
31852
|
+
"inheritedFrom": {
|
|
31853
|
+
"name": "SbbOpenCloseBaseElement",
|
|
31854
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
31855
|
+
}
|
|
31856
|
+
},
|
|
31857
|
+
{
|
|
31858
|
+
"kind": "method",
|
|
31859
|
+
"name": "dispatchBeforeOpenEvent",
|
|
31860
|
+
"privacy": "protected",
|
|
31861
|
+
"return": {
|
|
31862
|
+
"type": {
|
|
31863
|
+
"text": "boolean"
|
|
31864
|
+
}
|
|
31865
|
+
},
|
|
31866
|
+
"inheritedFrom": {
|
|
31867
|
+
"name": "SbbOpenCloseBaseElement",
|
|
31868
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
31869
|
+
}
|
|
31870
|
+
},
|
|
31871
|
+
{
|
|
31872
|
+
"kind": "method",
|
|
31873
|
+
"name": "dispatchOpenEvent",
|
|
31874
|
+
"privacy": "protected",
|
|
31875
|
+
"return": {
|
|
31876
|
+
"type": {
|
|
31877
|
+
"text": "boolean"
|
|
31878
|
+
}
|
|
31879
|
+
},
|
|
31880
|
+
"inheritedFrom": {
|
|
31881
|
+
"name": "SbbOpenCloseBaseElement",
|
|
31882
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
31883
|
+
}
|
|
31884
|
+
},
|
|
31885
|
+
{
|
|
31886
|
+
"kind": "method",
|
|
31887
|
+
"name": "dispatchBeforeCloseEvent",
|
|
31888
|
+
"privacy": "protected",
|
|
31889
|
+
"return": {
|
|
31890
|
+
"type": {
|
|
31891
|
+
"text": "boolean"
|
|
31892
|
+
}
|
|
31893
|
+
},
|
|
31894
|
+
"inheritedFrom": {
|
|
31895
|
+
"name": "SbbOpenCloseBaseElement",
|
|
31896
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
31897
|
+
}
|
|
31898
|
+
},
|
|
31899
|
+
{
|
|
31900
|
+
"kind": "method",
|
|
31901
|
+
"name": "dispatchCloseEvent",
|
|
31902
|
+
"privacy": "protected",
|
|
31903
|
+
"return": {
|
|
31904
|
+
"type": {
|
|
31905
|
+
"text": "boolean"
|
|
31906
|
+
}
|
|
31907
|
+
},
|
|
31908
|
+
"inheritedFrom": {
|
|
31909
|
+
"name": "SbbOpenCloseBaseElement",
|
|
31910
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
31911
|
+
}
|
|
31912
|
+
},
|
|
31913
|
+
{
|
|
31914
|
+
"kind": "field",
|
|
31915
|
+
"name": "_hydrationRequired",
|
|
31916
|
+
"type": {
|
|
31917
|
+
"text": "boolean"
|
|
31918
|
+
},
|
|
31919
|
+
"privacy": "private",
|
|
31920
|
+
"default": "!!this.shadowRoot",
|
|
31921
|
+
"inheritedFrom": {
|
|
31922
|
+
"name": "SbbHydrationMixin",
|
|
31923
|
+
"module": "core/mixins/hydration-mixin.js"
|
|
31924
|
+
}
|
|
31925
|
+
},
|
|
31926
|
+
{
|
|
31927
|
+
"kind": "field",
|
|
31928
|
+
"name": "_hydrationComplete",
|
|
31929
|
+
"privacy": "private",
|
|
31930
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
31931
|
+
"inheritedFrom": {
|
|
31932
|
+
"name": "SbbHydrationMixin",
|
|
31933
|
+
"module": "core/mixins/hydration-mixin.js"
|
|
31934
|
+
}
|
|
31935
|
+
},
|
|
31936
|
+
{
|
|
31937
|
+
"kind": "field",
|
|
31938
|
+
"name": "_resolveHydration",
|
|
31939
|
+
"type": {
|
|
31940
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
31941
|
+
},
|
|
31942
|
+
"privacy": "private",
|
|
31943
|
+
"inheritedFrom": {
|
|
31944
|
+
"name": "SbbHydrationMixin",
|
|
31945
|
+
"module": "core/mixins/hydration-mixin.js"
|
|
31946
|
+
}
|
|
31947
|
+
},
|
|
31948
|
+
{
|
|
31949
|
+
"kind": "field",
|
|
31950
|
+
"name": "hydrationRequired",
|
|
31951
|
+
"type": {
|
|
31952
|
+
"text": "boolean"
|
|
31953
|
+
},
|
|
31954
|
+
"privacy": "protected",
|
|
31955
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
31956
|
+
"readonly": true,
|
|
31957
|
+
"inheritedFrom": {
|
|
31958
|
+
"name": "SbbHydrationMixin",
|
|
31959
|
+
"module": "core/mixins/hydration-mixin.js"
|
|
31960
|
+
},
|
|
31961
|
+
"default": "!!this.shadowRoot"
|
|
31962
|
+
},
|
|
31963
|
+
{
|
|
31964
|
+
"kind": "method",
|
|
31965
|
+
"name": "toggleState",
|
|
31966
|
+
"privacy": "protected",
|
|
31967
|
+
"return": {
|
|
31968
|
+
"type": {
|
|
31969
|
+
"text": "void"
|
|
31970
|
+
}
|
|
31971
|
+
},
|
|
31972
|
+
"parameters": [
|
|
31973
|
+
{
|
|
31974
|
+
"name": "value",
|
|
31975
|
+
"type": {
|
|
31976
|
+
"text": "string"
|
|
31977
|
+
}
|
|
31978
|
+
},
|
|
31979
|
+
{
|
|
31980
|
+
"name": "force",
|
|
31981
|
+
"optional": true,
|
|
31982
|
+
"type": {
|
|
31983
|
+
"text": "boolean"
|
|
31984
|
+
}
|
|
31985
|
+
}
|
|
31986
|
+
],
|
|
31987
|
+
"inheritedFrom": {
|
|
31988
|
+
"name": "SbbElementInternalsMixin",
|
|
31989
|
+
"module": "core/mixins/element-internals-mixin.js"
|
|
31990
|
+
}
|
|
31991
|
+
},
|
|
31992
|
+
{
|
|
31993
|
+
"kind": "field",
|
|
31994
|
+
"name": "['_$sbbElement$']",
|
|
31995
|
+
"type": {
|
|
31996
|
+
"text": "boolean"
|
|
31997
|
+
},
|
|
31998
|
+
"privacy": "public",
|
|
31999
|
+
"static": true,
|
|
32000
|
+
"default": "true",
|
|
32001
|
+
"inheritedFrom": {
|
|
32002
|
+
"name": "SbbElement",
|
|
32003
|
+
"module": "core/base-elements/element.js"
|
|
32004
|
+
}
|
|
32005
|
+
},
|
|
32006
|
+
{
|
|
32007
|
+
"kind": "field",
|
|
32008
|
+
"name": "_controllers",
|
|
32009
|
+
"type": {
|
|
32010
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
32011
|
+
},
|
|
32012
|
+
"privacy": "private",
|
|
32013
|
+
"inheritedFrom": {
|
|
32014
|
+
"name": "SbbElement",
|
|
32015
|
+
"module": "core/base-elements/element.js"
|
|
32016
|
+
}
|
|
32017
|
+
}
|
|
32018
|
+
],
|
|
32019
|
+
"attributes": [
|
|
32020
|
+
{
|
|
32021
|
+
"name": "timeout",
|
|
32022
|
+
"type": {
|
|
32023
|
+
"text": "number"
|
|
32024
|
+
},
|
|
32025
|
+
"default": "0",
|
|
32026
|
+
"description": "The length of time in milliseconds to wait before automatically dismissing the toast.\nIf 0 (default), it stays open indefinitely.\nFrom accessibility perspective, it is recommended to set a timeout of at least 20 seconds.",
|
|
32027
|
+
"fieldName": "timeout"
|
|
32028
|
+
},
|
|
32029
|
+
{
|
|
32030
|
+
"name": "position",
|
|
32031
|
+
"type": {
|
|
32032
|
+
"text": "SbbToastPosition"
|
|
32033
|
+
},
|
|
32034
|
+
"default": "'bottom-center'",
|
|
32035
|
+
"description": "The position where to place the toast.",
|
|
32036
|
+
"fieldName": "position"
|
|
32037
|
+
},
|
|
32038
|
+
{
|
|
32039
|
+
"name": "politeness",
|
|
32040
|
+
"type": {
|
|
32041
|
+
"text": "'polite' | 'assertive' | 'off'"
|
|
32042
|
+
},
|
|
32043
|
+
"default": "'polite'",
|
|
32044
|
+
"description": "The ARIA politeness level.\nCheck https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Live_Regions#live_regions for further info",
|
|
32045
|
+
"fieldName": "politeness"
|
|
32046
|
+
},
|
|
32047
|
+
{
|
|
32048
|
+
"name": "icon-name",
|
|
32049
|
+
"type": {
|
|
32050
|
+
"text": "string"
|
|
32051
|
+
},
|
|
32052
|
+
"default": "''",
|
|
32053
|
+
"description": "The icon name we want to use, choose from the small icon variants\nfrom the ui-icons category from here\nhttps://icons.app.sbb.ch.",
|
|
32054
|
+
"fieldName": "iconName",
|
|
32055
|
+
"inheritedFrom": {
|
|
32056
|
+
"name": "SbbIconNameMixin",
|
|
32057
|
+
"module": "icon/icon-name-mixin.js"
|
|
32058
|
+
}
|
|
32059
|
+
},
|
|
32060
|
+
{
|
|
32061
|
+
"name": "readonly",
|
|
32062
|
+
"description": "Whether the component is readonly.",
|
|
32063
|
+
"default": "false",
|
|
32064
|
+
"type": {
|
|
32065
|
+
"text": "boolean"
|
|
32066
|
+
},
|
|
32067
|
+
"fieldName": "readOnly",
|
|
32068
|
+
"inheritedFrom": {
|
|
32069
|
+
"name": "SbbReadonlyMixin",
|
|
32070
|
+
"module": "core/mixins/readonly-mixin.js"
|
|
32071
|
+
}
|
|
32072
|
+
}
|
|
32073
|
+
],
|
|
32074
|
+
"mixins": [
|
|
32075
|
+
{
|
|
32076
|
+
"name": "SbbIconNameMixin",
|
|
32077
|
+
"module": "icon.js"
|
|
32078
|
+
},
|
|
32079
|
+
{
|
|
32080
|
+
"name": "SbbReadonlyMixin",
|
|
32081
|
+
"module": "core/mixins.js"
|
|
32082
|
+
}
|
|
32083
|
+
],
|
|
32084
|
+
"superclass": {
|
|
32085
|
+
"name": "SbbOpenCloseBaseElement",
|
|
32086
|
+
"module": "core/base-elements.js"
|
|
32087
|
+
},
|
|
32088
|
+
"tagName": "sbb-toast",
|
|
32089
|
+
"customElement": true,
|
|
32090
|
+
"events": [
|
|
32091
|
+
{
|
|
32092
|
+
"name": "beforeopen",
|
|
32093
|
+
"type": {
|
|
32094
|
+
"text": "Event"
|
|
32095
|
+
},
|
|
32096
|
+
"description": "Emits whenever the component starts the opening transition. Can be canceled.",
|
|
32097
|
+
"inheritedFrom": {
|
|
32098
|
+
"name": "SbbOpenCloseBaseElement",
|
|
32099
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
32100
|
+
}
|
|
32101
|
+
},
|
|
32102
|
+
{
|
|
32103
|
+
"name": "open",
|
|
32104
|
+
"type": {
|
|
32105
|
+
"text": "Event"
|
|
32106
|
+
},
|
|
32107
|
+
"description": "Emits whenever the component is opened.",
|
|
32108
|
+
"inheritedFrom": {
|
|
32109
|
+
"name": "SbbOpenCloseBaseElement",
|
|
32110
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
32111
|
+
}
|
|
32112
|
+
},
|
|
32113
|
+
{
|
|
32114
|
+
"name": "beforeclose",
|
|
32115
|
+
"type": {
|
|
32116
|
+
"text": "Event"
|
|
32117
|
+
},
|
|
32118
|
+
"description": "Emits whenever the component begins the closing transition. Can be canceled.",
|
|
32119
|
+
"inheritedFrom": {
|
|
32120
|
+
"name": "SbbOpenCloseBaseElement",
|
|
32121
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
32122
|
+
}
|
|
32123
|
+
},
|
|
32124
|
+
{
|
|
32125
|
+
"name": "close",
|
|
32126
|
+
"type": {
|
|
32127
|
+
"text": "Event"
|
|
32128
|
+
},
|
|
32129
|
+
"description": "Emits whenever the component is closed.",
|
|
32130
|
+
"inheritedFrom": {
|
|
32131
|
+
"name": "SbbOpenCloseBaseElement",
|
|
32132
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
32133
|
+
}
|
|
32134
|
+
}
|
|
32135
|
+
]
|
|
32136
|
+
}
|
|
32137
|
+
],
|
|
32138
|
+
"exports": [
|
|
32139
|
+
{
|
|
32140
|
+
"kind": "js",
|
|
32141
|
+
"name": "SbbToastElement",
|
|
32142
|
+
"declaration": {
|
|
32143
|
+
"name": "SbbToastElement",
|
|
32144
|
+
"module": "toast/toast.component.js"
|
|
32145
|
+
}
|
|
32146
|
+
}
|
|
32147
|
+
]
|
|
32148
|
+
},
|
|
32149
|
+
{
|
|
32150
|
+
"kind": "javascript-module",
|
|
32151
|
+
"path": "timetable-occupancy-icon/timetable-occupancy-icon.component.js",
|
|
32152
|
+
"declarations": [
|
|
32153
|
+
{
|
|
32154
|
+
"kind": "class",
|
|
32155
|
+
"description": "It displays a wagon's occupancy icon.",
|
|
32156
|
+
"name": "SbbTimetableOccupancyIconElement",
|
|
32157
|
+
"members": [
|
|
32158
|
+
{
|
|
32159
|
+
"kind": "field",
|
|
32160
|
+
"name": "elementName",
|
|
32161
|
+
"type": {
|
|
32162
|
+
"text": "string"
|
|
32163
|
+
},
|
|
32164
|
+
"privacy": "public",
|
|
32165
|
+
"static": true,
|
|
32166
|
+
"readonly": true,
|
|
32167
|
+
"inheritedFrom": {
|
|
32168
|
+
"name": "SbbElement",
|
|
32169
|
+
"module": "core/base-elements/element.js"
|
|
32170
|
+
},
|
|
32171
|
+
"default": "'sbb-timetable-occupancy-icon'"
|
|
32172
|
+
},
|
|
32173
|
+
{
|
|
32174
|
+
"kind": "field",
|
|
32175
|
+
"name": "occupancy",
|
|
32176
|
+
"type": {
|
|
32177
|
+
"text": "SbbOccupancy"
|
|
32178
|
+
},
|
|
32179
|
+
"privacy": "public",
|
|
32180
|
+
"default": "'none'",
|
|
32181
|
+
"description": "Wagon occupancy.",
|
|
32182
|
+
"attribute": "occupancy"
|
|
32183
|
+
},
|
|
32184
|
+
{
|
|
32185
|
+
"kind": "field",
|
|
32186
|
+
"name": "_language",
|
|
32187
|
+
"privacy": "private"
|
|
32188
|
+
},
|
|
32189
|
+
{
|
|
32190
|
+
"kind": "field",
|
|
32191
|
+
"name": "_mediaMatcher",
|
|
32192
|
+
"privacy": "private",
|
|
32193
|
+
"default": "new SbbMediaMatcherController(this, { [SbbMediaQueryForcedColors]: (matches) => { this._forcedColors = matches; this._setNameAndAriaLabel(); }, })"
|
|
32194
|
+
},
|
|
32195
|
+
{
|
|
32196
|
+
"kind": "field",
|
|
32197
|
+
"name": "_darkModeController",
|
|
32198
|
+
"privacy": "private",
|
|
32199
|
+
"default": "new SbbDarkModeController(this, () => this._setNameAndAriaLabel())"
|
|
32200
|
+
},
|
|
32201
|
+
{
|
|
32202
|
+
"kind": "field",
|
|
32203
|
+
"name": "_forcedColors",
|
|
32204
|
+
"type": {
|
|
32205
|
+
"text": "boolean"
|
|
32206
|
+
},
|
|
32207
|
+
"privacy": "private"
|
|
32208
|
+
},
|
|
32209
|
+
{
|
|
32210
|
+
"kind": "method",
|
|
32211
|
+
"name": "_setNameAndAriaLabel",
|
|
32212
|
+
"privacy": "private",
|
|
32213
|
+
"return": {
|
|
32214
|
+
"type": {
|
|
32215
|
+
"text": "Promise<void>"
|
|
32216
|
+
}
|
|
32217
|
+
}
|
|
32218
|
+
},
|
|
32219
|
+
{
|
|
32220
|
+
"kind": "method",
|
|
32221
|
+
"name": "fetchSvgIcon",
|
|
32222
|
+
"privacy": "protected",
|
|
32223
|
+
"return": {
|
|
32224
|
+
"type": {
|
|
32225
|
+
"text": "Promise<string>"
|
|
32226
|
+
}
|
|
32227
|
+
},
|
|
32228
|
+
"parameters": [
|
|
32229
|
+
{
|
|
32230
|
+
"name": "namespace",
|
|
32231
|
+
"type": {
|
|
32232
|
+
"text": "string"
|
|
32233
|
+
}
|
|
32234
|
+
},
|
|
32235
|
+
{
|
|
32236
|
+
"name": "name",
|
|
32237
|
+
"type": {
|
|
32238
|
+
"text": "string"
|
|
32239
|
+
}
|
|
32240
|
+
}
|
|
32241
|
+
],
|
|
32242
|
+
"inheritedFrom": {
|
|
32243
|
+
"name": "SbbIconBase",
|
|
32244
|
+
"module": "icon/icon-base.js"
|
|
32245
|
+
}
|
|
32246
|
+
},
|
|
32247
|
+
{
|
|
32248
|
+
"kind": "method",
|
|
32249
|
+
"name": "_setAriaLabel",
|
|
32250
|
+
"privacy": "private",
|
|
32251
|
+
"return": {
|
|
32252
|
+
"type": {
|
|
32253
|
+
"text": "void"
|
|
32254
|
+
}
|
|
32255
|
+
}
|
|
32256
|
+
},
|
|
32257
|
+
{
|
|
32258
|
+
"kind": "field",
|
|
32259
|
+
"name": "negative",
|
|
32191
32260
|
"type": {
|
|
32192
32261
|
"text": "boolean"
|
|
32193
32262
|
},
|
|
32263
|
+
"privacy": "public",
|
|
32194
32264
|
"default": "false",
|
|
32265
|
+
"description": "Negative coloring variant flag.",
|
|
32266
|
+
"attribute": "negative",
|
|
32267
|
+
"reflects": true,
|
|
32195
32268
|
"inheritedFrom": {
|
|
32196
|
-
"name": "
|
|
32197
|
-
"module": "core/mixins/
|
|
32269
|
+
"name": "SbbNegativeMixin",
|
|
32270
|
+
"module": "core/mixins/negative-mixin.js"
|
|
32198
32271
|
}
|
|
32199
32272
|
},
|
|
32200
32273
|
{
|
|
32201
32274
|
"kind": "field",
|
|
32202
|
-
"name": "
|
|
32275
|
+
"name": "role",
|
|
32276
|
+
"type": {
|
|
32277
|
+
"text": "string"
|
|
32278
|
+
},
|
|
32203
32279
|
"privacy": "public",
|
|
32204
32280
|
"static": true,
|
|
32205
32281
|
"readonly": true,
|
|
32206
|
-
"default": "
|
|
32207
|
-
"type": {
|
|
32208
|
-
"text": "{\n beforeopen: 'beforeopen',\n open: 'open',\n beforeclose: 'beforeclose',\n close: 'close',\n }"
|
|
32209
|
-
},
|
|
32282
|
+
"default": "'img'",
|
|
32210
32283
|
"inheritedFrom": {
|
|
32211
|
-
"name": "
|
|
32212
|
-
"module": "
|
|
32284
|
+
"name": "SbbIconBase",
|
|
32285
|
+
"module": "icon/icon-base.js"
|
|
32213
32286
|
}
|
|
32214
32287
|
},
|
|
32215
32288
|
{
|
|
32216
32289
|
"kind": "field",
|
|
32217
|
-
"name": "
|
|
32218
|
-
"privacy": "
|
|
32219
|
-
"
|
|
32290
|
+
"name": "_svgNamespace",
|
|
32291
|
+
"privacy": "private",
|
|
32292
|
+
"default": "'default'",
|
|
32220
32293
|
"type": {
|
|
32221
|
-
"text": "
|
|
32294
|
+
"text": "string"
|
|
32222
32295
|
},
|
|
32223
|
-
"default": "'closed'",
|
|
32224
32296
|
"inheritedFrom": {
|
|
32225
|
-
"name": "
|
|
32226
|
-
"module": "
|
|
32297
|
+
"name": "SbbIconBase",
|
|
32298
|
+
"module": "icon/icon-base.js"
|
|
32227
32299
|
}
|
|
32228
32300
|
},
|
|
32229
32301
|
{
|
|
32230
32302
|
"kind": "field",
|
|
32231
|
-
"name": "
|
|
32303
|
+
"name": "_svgIcon",
|
|
32232
32304
|
"type": {
|
|
32233
|
-
"text": "
|
|
32305
|
+
"text": "Promise<DirectiveResult<typeof UnsafeHTMLDirective>> | null"
|
|
32234
32306
|
},
|
|
32235
32307
|
"privacy": "private",
|
|
32308
|
+
"default": "null",
|
|
32309
|
+
"description": "The icon svg content rendered on the page: <svg>...</svg>.",
|
|
32236
32310
|
"inheritedFrom": {
|
|
32237
|
-
"name": "
|
|
32238
|
-
"module": "
|
|
32311
|
+
"name": "SbbIconBase",
|
|
32312
|
+
"module": "icon/icon-base.js"
|
|
32239
32313
|
}
|
|
32240
32314
|
},
|
|
32241
32315
|
{
|
|
32242
32316
|
"kind": "field",
|
|
32243
|
-
"name": "
|
|
32317
|
+
"name": "noSanitize",
|
|
32244
32318
|
"type": {
|
|
32245
32319
|
"text": "boolean"
|
|
32246
32320
|
},
|
|
32247
32321
|
"privacy": "public",
|
|
32248
|
-
"
|
|
32249
|
-
"
|
|
32250
|
-
"
|
|
32251
|
-
"name": "SbbOpenCloseBaseElement",
|
|
32252
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
32253
|
-
}
|
|
32254
|
-
},
|
|
32255
|
-
{
|
|
32256
|
-
"kind": "method",
|
|
32257
|
-
"name": "escapeStrategy",
|
|
32258
|
-
"privacy": "public",
|
|
32259
|
-
"return": {
|
|
32260
|
-
"type": {
|
|
32261
|
-
"text": "void"
|
|
32262
|
-
}
|
|
32263
|
-
},
|
|
32264
|
-
"description": "The method which is called on escape key press. Defaults to calling close()",
|
|
32322
|
+
"default": "false",
|
|
32323
|
+
"description": "When set to `true`, SVG content that is HTTP fetched will not be checked\nif the response SVG content has any `<script>` elements, or any attributes\nthat start with `on`, such as `onclick`.",
|
|
32324
|
+
"attribute": "no-sanitize",
|
|
32265
32325
|
"inheritedFrom": {
|
|
32266
|
-
"name": "
|
|
32267
|
-
"module": "
|
|
32326
|
+
"name": "SbbIconBase",
|
|
32327
|
+
"module": "icon/icon-base.js"
|
|
32268
32328
|
}
|
|
32269
32329
|
},
|
|
32270
32330
|
{
|
|
32271
32331
|
"kind": "method",
|
|
32272
|
-
"name": "
|
|
32332
|
+
"name": "loadSvgIcon",
|
|
32273
32333
|
"privacy": "protected",
|
|
32274
32334
|
"return": {
|
|
32275
32335
|
"type": {
|
|
32276
|
-
"text": "
|
|
32336
|
+
"text": "Promise<void>"
|
|
32277
32337
|
}
|
|
32278
32338
|
},
|
|
32279
|
-
"
|
|
32280
|
-
|
|
32281
|
-
|
|
32282
|
-
|
|
32283
|
-
|
|
32284
|
-
|
|
32285
|
-
"kind": "method",
|
|
32286
|
-
"name": "dispatchOpenEvent",
|
|
32287
|
-
"privacy": "protected",
|
|
32288
|
-
"return": {
|
|
32289
|
-
"type": {
|
|
32290
|
-
"text": "boolean"
|
|
32339
|
+
"parameters": [
|
|
32340
|
+
{
|
|
32341
|
+
"name": "iconName",
|
|
32342
|
+
"type": {
|
|
32343
|
+
"text": "string"
|
|
32344
|
+
}
|
|
32291
32345
|
}
|
|
32292
|
-
|
|
32346
|
+
],
|
|
32293
32347
|
"inheritedFrom": {
|
|
32294
|
-
"name": "
|
|
32295
|
-
"module": "
|
|
32348
|
+
"name": "SbbIconBase",
|
|
32349
|
+
"module": "icon/icon-base.js"
|
|
32296
32350
|
}
|
|
32297
32351
|
},
|
|
32298
32352
|
{
|
|
32299
32353
|
"kind": "method",
|
|
32300
|
-
"name": "
|
|
32301
|
-
"privacy": "
|
|
32354
|
+
"name": "_splitIconName",
|
|
32355
|
+
"privacy": "private",
|
|
32302
32356
|
"return": {
|
|
32303
32357
|
"type": {
|
|
32304
|
-
"text": "
|
|
32358
|
+
"text": "[string, string]"
|
|
32305
32359
|
}
|
|
32306
32360
|
},
|
|
32307
|
-
"
|
|
32308
|
-
|
|
32309
|
-
|
|
32310
|
-
|
|
32311
|
-
|
|
32312
|
-
|
|
32313
|
-
"kind": "method",
|
|
32314
|
-
"name": "dispatchCloseEvent",
|
|
32315
|
-
"privacy": "protected",
|
|
32316
|
-
"return": {
|
|
32317
|
-
"type": {
|
|
32318
|
-
"text": "boolean"
|
|
32361
|
+
"parameters": [
|
|
32362
|
+
{
|
|
32363
|
+
"name": "iconName",
|
|
32364
|
+
"type": {
|
|
32365
|
+
"text": "string"
|
|
32366
|
+
}
|
|
32319
32367
|
}
|
|
32320
|
-
|
|
32368
|
+
],
|
|
32321
32369
|
"inheritedFrom": {
|
|
32322
|
-
"name": "
|
|
32323
|
-
"module": "
|
|
32370
|
+
"name": "SbbIconBase",
|
|
32371
|
+
"module": "icon/icon-base.js"
|
|
32324
32372
|
}
|
|
32325
32373
|
},
|
|
32326
32374
|
{
|
|
@@ -32431,118 +32479,70 @@
|
|
|
32431
32479
|
],
|
|
32432
32480
|
"attributes": [
|
|
32433
32481
|
{
|
|
32434
|
-
"name": "
|
|
32435
|
-
"type": {
|
|
32436
|
-
"text": "number"
|
|
32437
|
-
},
|
|
32438
|
-
"default": "0",
|
|
32439
|
-
"description": "The length of time in milliseconds to wait before automatically dismissing the toast.\nIf 0 (default), it stays open indefinitely.\nFrom accessibility perspective, it is recommended to set a timeout of at least 20 seconds.",
|
|
32440
|
-
"fieldName": "timeout"
|
|
32441
|
-
},
|
|
32442
|
-
{
|
|
32443
|
-
"name": "position",
|
|
32444
|
-
"type": {
|
|
32445
|
-
"text": "SbbToastPosition"
|
|
32446
|
-
},
|
|
32447
|
-
"default": "'bottom-center'",
|
|
32448
|
-
"description": "The position where to place the toast.",
|
|
32449
|
-
"fieldName": "position"
|
|
32450
|
-
},
|
|
32451
|
-
{
|
|
32452
|
-
"name": "politeness",
|
|
32482
|
+
"name": "occupancy",
|
|
32453
32483
|
"type": {
|
|
32454
|
-
"text": "
|
|
32484
|
+
"text": "SbbOccupancy"
|
|
32455
32485
|
},
|
|
32456
|
-
"default": "'
|
|
32457
|
-
"description": "
|
|
32458
|
-
"fieldName": "
|
|
32486
|
+
"default": "'none'",
|
|
32487
|
+
"description": "Wagon occupancy.",
|
|
32488
|
+
"fieldName": "occupancy"
|
|
32459
32489
|
},
|
|
32460
32490
|
{
|
|
32461
|
-
"name": "
|
|
32491
|
+
"name": "negative",
|
|
32462
32492
|
"type": {
|
|
32463
|
-
"text": "
|
|
32493
|
+
"text": "boolean"
|
|
32464
32494
|
},
|
|
32465
|
-
"default": "
|
|
32466
|
-
"description": "
|
|
32467
|
-
"fieldName": "
|
|
32495
|
+
"default": "false",
|
|
32496
|
+
"description": "Negative coloring variant flag.",
|
|
32497
|
+
"fieldName": "negative",
|
|
32468
32498
|
"inheritedFrom": {
|
|
32469
|
-
"name": "
|
|
32470
|
-
"module": "
|
|
32499
|
+
"name": "SbbNegativeMixin",
|
|
32500
|
+
"module": "core/mixins/negative-mixin.js"
|
|
32471
32501
|
}
|
|
32472
32502
|
},
|
|
32473
32503
|
{
|
|
32474
|
-
"name": "
|
|
32475
|
-
"description": "Whether the component is readonly.",
|
|
32476
|
-
"default": "false",
|
|
32504
|
+
"name": "no-sanitize",
|
|
32477
32505
|
"type": {
|
|
32478
32506
|
"text": "boolean"
|
|
32479
32507
|
},
|
|
32480
|
-
"
|
|
32508
|
+
"default": "false",
|
|
32509
|
+
"description": "When set to `true`, SVG content that is HTTP fetched will not be checked\nif the response SVG content has any `<script>` elements, or any attributes\nthat start with `on`, such as `onclick`.",
|
|
32510
|
+
"fieldName": "noSanitize",
|
|
32481
32511
|
"inheritedFrom": {
|
|
32482
|
-
"name": "
|
|
32483
|
-
"module": "
|
|
32512
|
+
"name": "SbbIconBase",
|
|
32513
|
+
"module": "icon/icon-base.js"
|
|
32484
32514
|
}
|
|
32485
32515
|
}
|
|
32486
32516
|
],
|
|
32487
32517
|
"mixins": [
|
|
32488
32518
|
{
|
|
32489
|
-
"name": "
|
|
32490
|
-
"module": "icon.js"
|
|
32491
|
-
},
|
|
32492
|
-
{
|
|
32493
|
-
"name": "SbbReadonlyMixin",
|
|
32519
|
+
"name": "SbbNegativeMixin",
|
|
32494
32520
|
"module": "core/mixins.js"
|
|
32495
32521
|
}
|
|
32496
32522
|
],
|
|
32497
32523
|
"superclass": {
|
|
32498
|
-
"name": "
|
|
32499
|
-
"module": "
|
|
32524
|
+
"name": "SbbIconBase",
|
|
32525
|
+
"module": "icon.js"
|
|
32500
32526
|
},
|
|
32501
|
-
"tagName": "sbb-
|
|
32527
|
+
"tagName": "sbb-timetable-occupancy-icon",
|
|
32502
32528
|
"customElement": true,
|
|
32503
|
-
"
|
|
32504
|
-
{
|
|
32505
|
-
"name": "beforeopen",
|
|
32506
|
-
"type": {
|
|
32507
|
-
"text": "Event"
|
|
32508
|
-
},
|
|
32509
|
-
"description": "Emits whenever the component starts the opening transition. Can be canceled.",
|
|
32510
|
-
"inheritedFrom": {
|
|
32511
|
-
"name": "SbbOpenCloseBaseElement",
|
|
32512
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
32513
|
-
}
|
|
32514
|
-
},
|
|
32515
|
-
{
|
|
32516
|
-
"name": "open",
|
|
32517
|
-
"type": {
|
|
32518
|
-
"text": "Event"
|
|
32519
|
-
},
|
|
32520
|
-
"description": "Emits whenever the component is opened.",
|
|
32521
|
-
"inheritedFrom": {
|
|
32522
|
-
"name": "SbbOpenCloseBaseElement",
|
|
32523
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
32524
|
-
}
|
|
32525
|
-
},
|
|
32529
|
+
"cssProperties": [
|
|
32526
32530
|
{
|
|
32527
|
-
"
|
|
32528
|
-
"
|
|
32529
|
-
|
|
32530
|
-
},
|
|
32531
|
-
"description": "Emits whenever the component begins the closing transition. Can be canceled.",
|
|
32531
|
+
"description": "Can be used to set a custom width.",
|
|
32532
|
+
"name": "--sbb-icon-svg-width",
|
|
32533
|
+
"default": "auto",
|
|
32532
32534
|
"inheritedFrom": {
|
|
32533
|
-
"name": "
|
|
32534
|
-
"module": "
|
|
32535
|
+
"name": "SbbIconBase",
|
|
32536
|
+
"module": "icon/icon-base.js"
|
|
32535
32537
|
}
|
|
32536
32538
|
},
|
|
32537
32539
|
{
|
|
32538
|
-
"
|
|
32539
|
-
"
|
|
32540
|
-
|
|
32541
|
-
},
|
|
32542
|
-
"description": "Emits whenever the component is closed.",
|
|
32540
|
+
"description": "Can be used to set a custom height.",
|
|
32541
|
+
"name": "--sbb-icon-svg-height",
|
|
32542
|
+
"default": "auto",
|
|
32543
32543
|
"inheritedFrom": {
|
|
32544
|
-
"name": "
|
|
32545
|
-
"module": "
|
|
32544
|
+
"name": "SbbIconBase",
|
|
32545
|
+
"module": "icon/icon-base.js"
|
|
32546
32546
|
}
|
|
32547
32547
|
}
|
|
32548
32548
|
]
|
|
@@ -32551,10 +32551,10 @@
|
|
|
32551
32551
|
"exports": [
|
|
32552
32552
|
{
|
|
32553
32553
|
"kind": "js",
|
|
32554
|
-
"name": "
|
|
32554
|
+
"name": "SbbTimetableOccupancyIconElement",
|
|
32555
32555
|
"declaration": {
|
|
32556
|
-
"name": "
|
|
32557
|
-
"module": "
|
|
32556
|
+
"name": "SbbTimetableOccupancyIconElement",
|
|
32557
|
+
"module": "timetable-occupancy-icon/timetable-occupancy-icon.component.js"
|
|
32558
32558
|
}
|
|
32559
32559
|
}
|
|
32560
32560
|
]
|