@sbb-esta/lyne-elements-dev 4.0.0-dev.1775737017 → 4.0.0-dev.1775762453
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 +1214 -1214
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -71065,6 +71065,394 @@
|
|
|
71065
71065
|
}
|
|
71066
71066
|
]
|
|
71067
71067
|
},
|
|
71068
|
+
{
|
|
71069
|
+
"kind": "javascript-module",
|
|
71070
|
+
"path": "container/container/container.component.js",
|
|
71071
|
+
"declarations": [
|
|
71072
|
+
{
|
|
71073
|
+
"kind": "class",
|
|
71074
|
+
"description": "It displays its content with the default page spacing.",
|
|
71075
|
+
"name": "SbbContainerElement",
|
|
71076
|
+
"cssProperties": [
|
|
71077
|
+
{
|
|
71078
|
+
"description": "Use this variable to override the default page spacing. Note that overriding this will disable the standard responsive spacing behavior of the container.",
|
|
71079
|
+
"name": "--sbb-page-spacing-padding"
|
|
71080
|
+
}
|
|
71081
|
+
],
|
|
71082
|
+
"slots": [
|
|
71083
|
+
{
|
|
71084
|
+
"description": "Use the unnamed slot to add anything to the container.",
|
|
71085
|
+
"name": ""
|
|
71086
|
+
},
|
|
71087
|
+
{
|
|
71088
|
+
"description": "The slot used by the sbb-sticky-bar component.",
|
|
71089
|
+
"name": "sticky-bar"
|
|
71090
|
+
},
|
|
71091
|
+
{
|
|
71092
|
+
"description": "The slot used to slot an `sbb-image` to use as background.",
|
|
71093
|
+
"name": "image"
|
|
71094
|
+
}
|
|
71095
|
+
],
|
|
71096
|
+
"members": [
|
|
71097
|
+
{
|
|
71098
|
+
"kind": "field",
|
|
71099
|
+
"name": "elementName",
|
|
71100
|
+
"type": {
|
|
71101
|
+
"text": "string"
|
|
71102
|
+
},
|
|
71103
|
+
"privacy": "public",
|
|
71104
|
+
"static": true,
|
|
71105
|
+
"readonly": true,
|
|
71106
|
+
"default": "'sbb-container'",
|
|
71107
|
+
"inheritedFrom": {
|
|
71108
|
+
"name": "SbbElement",
|
|
71109
|
+
"module": "core/base-elements/element.js"
|
|
71110
|
+
}
|
|
71111
|
+
},
|
|
71112
|
+
{
|
|
71113
|
+
"kind": "field",
|
|
71114
|
+
"name": "expanded",
|
|
71115
|
+
"type": {
|
|
71116
|
+
"text": "boolean"
|
|
71117
|
+
},
|
|
71118
|
+
"privacy": "public",
|
|
71119
|
+
"default": "false",
|
|
71120
|
+
"description": "Whether the container is expanded.",
|
|
71121
|
+
"attribute": "expanded",
|
|
71122
|
+
"reflects": true
|
|
71123
|
+
},
|
|
71124
|
+
{
|
|
71125
|
+
"kind": "field",
|
|
71126
|
+
"name": "backgroundExpanded",
|
|
71127
|
+
"type": {
|
|
71128
|
+
"text": "boolean"
|
|
71129
|
+
},
|
|
71130
|
+
"privacy": "public",
|
|
71131
|
+
"default": "false",
|
|
71132
|
+
"description": "Whether the background color is shown on full container width on large screens.",
|
|
71133
|
+
"attribute": "background-expanded",
|
|
71134
|
+
"reflects": true
|
|
71135
|
+
},
|
|
71136
|
+
{
|
|
71137
|
+
"kind": "field",
|
|
71138
|
+
"name": "color",
|
|
71139
|
+
"type": {
|
|
71140
|
+
"text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
|
|
71141
|
+
},
|
|
71142
|
+
"privacy": "public",
|
|
71143
|
+
"default": "'white'",
|
|
71144
|
+
"description": "Color of the container, like transparent, white etc.",
|
|
71145
|
+
"attribute": "color",
|
|
71146
|
+
"reflects": true
|
|
71147
|
+
},
|
|
71148
|
+
{
|
|
71149
|
+
"kind": "field",
|
|
71150
|
+
"name": "['_$sbbElement$']",
|
|
71151
|
+
"type": {
|
|
71152
|
+
"text": "boolean"
|
|
71153
|
+
},
|
|
71154
|
+
"privacy": "public",
|
|
71155
|
+
"static": true,
|
|
71156
|
+
"default": "true",
|
|
71157
|
+
"inheritedFrom": {
|
|
71158
|
+
"name": "SbbElement",
|
|
71159
|
+
"module": "core/base-elements/element.js"
|
|
71160
|
+
}
|
|
71161
|
+
},
|
|
71162
|
+
{
|
|
71163
|
+
"kind": "field",
|
|
71164
|
+
"name": "elementDependencies",
|
|
71165
|
+
"type": {
|
|
71166
|
+
"text": "SbbElementType[] | undefined"
|
|
71167
|
+
},
|
|
71168
|
+
"privacy": "public",
|
|
71169
|
+
"static": true,
|
|
71170
|
+
"inheritedFrom": {
|
|
71171
|
+
"name": "SbbElement",
|
|
71172
|
+
"module": "core/base-elements/element.js"
|
|
71173
|
+
}
|
|
71174
|
+
},
|
|
71175
|
+
{
|
|
71176
|
+
"kind": "field",
|
|
71177
|
+
"name": "role",
|
|
71178
|
+
"type": {
|
|
71179
|
+
"text": "ElementInternals['role'] | undefined"
|
|
71180
|
+
},
|
|
71181
|
+
"privacy": "public",
|
|
71182
|
+
"static": true,
|
|
71183
|
+
"inheritedFrom": {
|
|
71184
|
+
"name": "SbbElement",
|
|
71185
|
+
"module": "core/base-elements/element.js"
|
|
71186
|
+
}
|
|
71187
|
+
},
|
|
71188
|
+
{
|
|
71189
|
+
"kind": "field",
|
|
71190
|
+
"name": "_controllers",
|
|
71191
|
+
"type": {
|
|
71192
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
71193
|
+
},
|
|
71194
|
+
"privacy": "private",
|
|
71195
|
+
"inheritedFrom": {
|
|
71196
|
+
"name": "SbbElement",
|
|
71197
|
+
"module": "core/base-elements/element.js"
|
|
71198
|
+
}
|
|
71199
|
+
},
|
|
71200
|
+
{
|
|
71201
|
+
"kind": "field",
|
|
71202
|
+
"name": "_hydrationRequired",
|
|
71203
|
+
"type": {
|
|
71204
|
+
"text": "boolean"
|
|
71205
|
+
},
|
|
71206
|
+
"privacy": "private",
|
|
71207
|
+
"default": "!!this.shadowRoot",
|
|
71208
|
+
"inheritedFrom": {
|
|
71209
|
+
"name": "SbbElement",
|
|
71210
|
+
"module": "core/base-elements/element.js"
|
|
71211
|
+
}
|
|
71212
|
+
},
|
|
71213
|
+
{
|
|
71214
|
+
"kind": "field",
|
|
71215
|
+
"name": "_hydrationComplete",
|
|
71216
|
+
"privacy": "private",
|
|
71217
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
71218
|
+
"inheritedFrom": {
|
|
71219
|
+
"name": "SbbElement",
|
|
71220
|
+
"module": "core/base-elements/element.js"
|
|
71221
|
+
}
|
|
71222
|
+
},
|
|
71223
|
+
{
|
|
71224
|
+
"kind": "field",
|
|
71225
|
+
"name": "_resolveHydration",
|
|
71226
|
+
"type": {
|
|
71227
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
71228
|
+
},
|
|
71229
|
+
"privacy": "private",
|
|
71230
|
+
"inheritedFrom": {
|
|
71231
|
+
"name": "SbbElement",
|
|
71232
|
+
"module": "core/base-elements/element.js"
|
|
71233
|
+
}
|
|
71234
|
+
},
|
|
71235
|
+
{
|
|
71236
|
+
"kind": "field",
|
|
71237
|
+
"name": "_textObserver",
|
|
71238
|
+
"type": {
|
|
71239
|
+
"text": "MutationObserver | undefined"
|
|
71240
|
+
},
|
|
71241
|
+
"privacy": "private",
|
|
71242
|
+
"inheritedFrom": {
|
|
71243
|
+
"name": "SbbElement",
|
|
71244
|
+
"module": "core/base-elements/element.js"
|
|
71245
|
+
}
|
|
71246
|
+
},
|
|
71247
|
+
{
|
|
71248
|
+
"kind": "field",
|
|
71249
|
+
"name": "hydrationRequired",
|
|
71250
|
+
"type": {
|
|
71251
|
+
"text": "boolean"
|
|
71252
|
+
},
|
|
71253
|
+
"privacy": "protected",
|
|
71254
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
71255
|
+
"readonly": true,
|
|
71256
|
+
"inheritedFrom": {
|
|
71257
|
+
"name": "SbbElement",
|
|
71258
|
+
"module": "core/base-elements/element.js"
|
|
71259
|
+
},
|
|
71260
|
+
"default": "!!this.shadowRoot"
|
|
71261
|
+
},
|
|
71262
|
+
{
|
|
71263
|
+
"kind": "method",
|
|
71264
|
+
"name": "toggleState",
|
|
71265
|
+
"privacy": "protected",
|
|
71266
|
+
"return": {
|
|
71267
|
+
"type": {
|
|
71268
|
+
"text": "void"
|
|
71269
|
+
}
|
|
71270
|
+
},
|
|
71271
|
+
"parameters": [
|
|
71272
|
+
{
|
|
71273
|
+
"name": "value",
|
|
71274
|
+
"type": {
|
|
71275
|
+
"text": "string"
|
|
71276
|
+
}
|
|
71277
|
+
},
|
|
71278
|
+
{
|
|
71279
|
+
"name": "force",
|
|
71280
|
+
"optional": true,
|
|
71281
|
+
"type": {
|
|
71282
|
+
"text": "boolean"
|
|
71283
|
+
}
|
|
71284
|
+
}
|
|
71285
|
+
],
|
|
71286
|
+
"inheritedFrom": {
|
|
71287
|
+
"name": "SbbElement",
|
|
71288
|
+
"module": "core/base-elements/element.js"
|
|
71289
|
+
}
|
|
71290
|
+
},
|
|
71291
|
+
{
|
|
71292
|
+
"kind": "method",
|
|
71293
|
+
"name": "_slotchangeHandler",
|
|
71294
|
+
"privacy": "private",
|
|
71295
|
+
"return": {
|
|
71296
|
+
"type": {
|
|
71297
|
+
"text": "void"
|
|
71298
|
+
}
|
|
71299
|
+
},
|
|
71300
|
+
"parameters": [
|
|
71301
|
+
{
|
|
71302
|
+
"name": "event",
|
|
71303
|
+
"type": {
|
|
71304
|
+
"text": "Event"
|
|
71305
|
+
}
|
|
71306
|
+
},
|
|
71307
|
+
{
|
|
71308
|
+
"name": "slot",
|
|
71309
|
+
"type": {
|
|
71310
|
+
"text": "HTMLSlotElement"
|
|
71311
|
+
}
|
|
71312
|
+
}
|
|
71313
|
+
],
|
|
71314
|
+
"inheritedFrom": {
|
|
71315
|
+
"name": "SbbElement",
|
|
71316
|
+
"module": "core/base-elements/element.js"
|
|
71317
|
+
}
|
|
71318
|
+
},
|
|
71319
|
+
{
|
|
71320
|
+
"kind": "method",
|
|
71321
|
+
"name": "_handleSlotChangeForSlottedState",
|
|
71322
|
+
"privacy": "private",
|
|
71323
|
+
"return": {
|
|
71324
|
+
"type": {
|
|
71325
|
+
"text": "void"
|
|
71326
|
+
}
|
|
71327
|
+
},
|
|
71328
|
+
"parameters": [
|
|
71329
|
+
{
|
|
71330
|
+
"name": "slot",
|
|
71331
|
+
"type": {
|
|
71332
|
+
"text": "HTMLSlotElement"
|
|
71333
|
+
}
|
|
71334
|
+
}
|
|
71335
|
+
],
|
|
71336
|
+
"inheritedFrom": {
|
|
71337
|
+
"name": "SbbElement",
|
|
71338
|
+
"module": "core/base-elements/element.js"
|
|
71339
|
+
}
|
|
71340
|
+
},
|
|
71341
|
+
{
|
|
71342
|
+
"kind": "method",
|
|
71343
|
+
"name": "_updateSlottedState",
|
|
71344
|
+
"privacy": "private",
|
|
71345
|
+
"return": {
|
|
71346
|
+
"type": {
|
|
71347
|
+
"text": "void"
|
|
71348
|
+
}
|
|
71349
|
+
},
|
|
71350
|
+
"parameters": [
|
|
71351
|
+
{
|
|
71352
|
+
"name": "slot",
|
|
71353
|
+
"type": {
|
|
71354
|
+
"text": "HTMLSlotElement"
|
|
71355
|
+
}
|
|
71356
|
+
}
|
|
71357
|
+
],
|
|
71358
|
+
"inheritedFrom": {
|
|
71359
|
+
"name": "SbbElement",
|
|
71360
|
+
"module": "core/base-elements/element.js"
|
|
71361
|
+
}
|
|
71362
|
+
},
|
|
71363
|
+
{
|
|
71364
|
+
"kind": "method",
|
|
71365
|
+
"name": "_observeTextNodesInSlot",
|
|
71366
|
+
"privacy": "private",
|
|
71367
|
+
"return": {
|
|
71368
|
+
"type": {
|
|
71369
|
+
"text": "void"
|
|
71370
|
+
}
|
|
71371
|
+
},
|
|
71372
|
+
"parameters": [
|
|
71373
|
+
{
|
|
71374
|
+
"name": "slot",
|
|
71375
|
+
"type": {
|
|
71376
|
+
"text": "HTMLSlotElement"
|
|
71377
|
+
}
|
|
71378
|
+
}
|
|
71379
|
+
],
|
|
71380
|
+
"inheritedFrom": {
|
|
71381
|
+
"name": "SbbElement",
|
|
71382
|
+
"module": "core/base-elements/element.js"
|
|
71383
|
+
}
|
|
71384
|
+
},
|
|
71385
|
+
{
|
|
71386
|
+
"kind": "method",
|
|
71387
|
+
"name": "_hasSlottedContent",
|
|
71388
|
+
"privacy": "private",
|
|
71389
|
+
"return": {
|
|
71390
|
+
"type": {
|
|
71391
|
+
"text": "boolean"
|
|
71392
|
+
}
|
|
71393
|
+
},
|
|
71394
|
+
"parameters": [
|
|
71395
|
+
{
|
|
71396
|
+
"name": "slot",
|
|
71397
|
+
"type": {
|
|
71398
|
+
"text": "HTMLSlotElement"
|
|
71399
|
+
}
|
|
71400
|
+
}
|
|
71401
|
+
],
|
|
71402
|
+
"inheritedFrom": {
|
|
71403
|
+
"name": "SbbElement",
|
|
71404
|
+
"module": "core/base-elements/element.js"
|
|
71405
|
+
}
|
|
71406
|
+
}
|
|
71407
|
+
],
|
|
71408
|
+
"attributes": [
|
|
71409
|
+
{
|
|
71410
|
+
"name": "expanded",
|
|
71411
|
+
"type": {
|
|
71412
|
+
"text": "boolean"
|
|
71413
|
+
},
|
|
71414
|
+
"default": "false",
|
|
71415
|
+
"description": "Whether the container is expanded.",
|
|
71416
|
+
"fieldName": "expanded"
|
|
71417
|
+
},
|
|
71418
|
+
{
|
|
71419
|
+
"name": "background-expanded",
|
|
71420
|
+
"type": {
|
|
71421
|
+
"text": "boolean"
|
|
71422
|
+
},
|
|
71423
|
+
"default": "false",
|
|
71424
|
+
"description": "Whether the background color is shown on full container width on large screens.",
|
|
71425
|
+
"fieldName": "backgroundExpanded"
|
|
71426
|
+
},
|
|
71427
|
+
{
|
|
71428
|
+
"name": "color",
|
|
71429
|
+
"type": {
|
|
71430
|
+
"text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
|
|
71431
|
+
},
|
|
71432
|
+
"default": "'white'",
|
|
71433
|
+
"description": "Color of the container, like transparent, white etc.",
|
|
71434
|
+
"fieldName": "color"
|
|
71435
|
+
}
|
|
71436
|
+
],
|
|
71437
|
+
"superclass": {
|
|
71438
|
+
"name": "SbbElement",
|
|
71439
|
+
"module": "core.js"
|
|
71440
|
+
},
|
|
71441
|
+
"tagName": "sbb-container",
|
|
71442
|
+
"customElement": true
|
|
71443
|
+
}
|
|
71444
|
+
],
|
|
71445
|
+
"exports": [
|
|
71446
|
+
{
|
|
71447
|
+
"kind": "js",
|
|
71448
|
+
"name": "SbbContainerElement",
|
|
71449
|
+
"declaration": {
|
|
71450
|
+
"name": "SbbContainerElement",
|
|
71451
|
+
"module": "container/container/container.component.js"
|
|
71452
|
+
}
|
|
71453
|
+
}
|
|
71454
|
+
]
|
|
71455
|
+
},
|
|
71068
71456
|
{
|
|
71069
71457
|
"kind": "javascript-module",
|
|
71070
71458
|
"path": "container/sticky-bar/sticky-bar.component.js",
|
|
@@ -71683,499 +72071,111 @@
|
|
|
71683
72071
|
},
|
|
71684
72072
|
{
|
|
71685
72073
|
"kind": "javascript-module",
|
|
71686
|
-
"path": "
|
|
72074
|
+
"path": "core/a11y/arrow-navigation.js",
|
|
71687
72075
|
"declarations": [
|
|
71688
72076
|
{
|
|
71689
|
-
"kind": "
|
|
71690
|
-
"
|
|
71691
|
-
"
|
|
71692
|
-
|
|
72077
|
+
"kind": "function",
|
|
72078
|
+
"name": "isArrowKeyPressed",
|
|
72079
|
+
"return": {
|
|
72080
|
+
"type": {
|
|
72081
|
+
"text": "boolean"
|
|
72082
|
+
}
|
|
72083
|
+
},
|
|
72084
|
+
"parameters": [
|
|
71693
72085
|
{
|
|
71694
|
-
"
|
|
71695
|
-
"
|
|
72086
|
+
"name": "event",
|
|
72087
|
+
"type": {
|
|
72088
|
+
"text": "KeyboardEvent"
|
|
72089
|
+
},
|
|
72090
|
+
"description": "The keyboard event to check."
|
|
71696
72091
|
}
|
|
71697
72092
|
],
|
|
71698
|
-
"
|
|
72093
|
+
"description": "Check if the key pressed is among those allowed for navigation."
|
|
72094
|
+
},
|
|
72095
|
+
{
|
|
72096
|
+
"kind": "function",
|
|
72097
|
+
"name": "isPreviousArrowKeyPressed",
|
|
72098
|
+
"return": {
|
|
72099
|
+
"type": {
|
|
72100
|
+
"text": "boolean"
|
|
72101
|
+
}
|
|
72102
|
+
},
|
|
72103
|
+
"parameters": [
|
|
71699
72104
|
{
|
|
71700
|
-
"
|
|
71701
|
-
"
|
|
71702
|
-
|
|
72105
|
+
"name": "event",
|
|
72106
|
+
"type": {
|
|
72107
|
+
"text": "KeyboardEvent"
|
|
72108
|
+
},
|
|
72109
|
+
"description": "The keyboard event to check."
|
|
72110
|
+
}
|
|
72111
|
+
],
|
|
72112
|
+
"description": "Check if the key pressed should move the navigation to the next element."
|
|
72113
|
+
},
|
|
72114
|
+
{
|
|
72115
|
+
"kind": "function",
|
|
72116
|
+
"name": "isNextArrowKeyPressed",
|
|
72117
|
+
"return": {
|
|
72118
|
+
"type": {
|
|
72119
|
+
"text": "boolean"
|
|
72120
|
+
}
|
|
72121
|
+
},
|
|
72122
|
+
"parameters": [
|
|
71703
72123
|
{
|
|
71704
|
-
"
|
|
71705
|
-
"
|
|
71706
|
-
|
|
72124
|
+
"name": "event",
|
|
72125
|
+
"type": {
|
|
72126
|
+
"text": "KeyboardEvent"
|
|
72127
|
+
},
|
|
72128
|
+
"description": "The keyboard event to check."
|
|
72129
|
+
}
|
|
72130
|
+
],
|
|
72131
|
+
"description": "Check if the key pressed should move the navigation to the next element."
|
|
72132
|
+
},
|
|
72133
|
+
{
|
|
72134
|
+
"kind": "function",
|
|
72135
|
+
"name": "isArrowKeyOrPageKeysPressed",
|
|
72136
|
+
"return": {
|
|
72137
|
+
"type": {
|
|
72138
|
+
"text": "boolean"
|
|
72139
|
+
}
|
|
72140
|
+
},
|
|
72141
|
+
"parameters": [
|
|
71707
72142
|
{
|
|
71708
|
-
"
|
|
71709
|
-
"
|
|
72143
|
+
"name": "event",
|
|
72144
|
+
"type": {
|
|
72145
|
+
"text": "KeyboardEvent"
|
|
72146
|
+
},
|
|
72147
|
+
"description": "The keyboard event to check."
|
|
71710
72148
|
}
|
|
71711
72149
|
],
|
|
71712
|
-
"
|
|
72150
|
+
"description": "Check if the key pressed is among those allowed for navigation."
|
|
72151
|
+
},
|
|
72152
|
+
{
|
|
72153
|
+
"kind": "function",
|
|
72154
|
+
"name": "getNextElementIndex",
|
|
72155
|
+
"return": {
|
|
72156
|
+
"type": {
|
|
72157
|
+
"text": ""
|
|
72158
|
+
}
|
|
72159
|
+
},
|
|
72160
|
+
"parameters": [
|
|
71713
72161
|
{
|
|
71714
|
-
"
|
|
71715
|
-
"name": "elementName",
|
|
72162
|
+
"name": "event",
|
|
71716
72163
|
"type": {
|
|
71717
|
-
"text": "
|
|
72164
|
+
"text": "KeyboardEvent | undefined"
|
|
71718
72165
|
},
|
|
71719
|
-
"
|
|
71720
|
-
"static": true,
|
|
71721
|
-
"readonly": true,
|
|
71722
|
-
"default": "'sbb-container'",
|
|
71723
|
-
"inheritedFrom": {
|
|
71724
|
-
"name": "SbbElement",
|
|
71725
|
-
"module": "core/base-elements/element.js"
|
|
71726
|
-
}
|
|
72166
|
+
"description": "The keyboard event to check. If null, will count as a 'next' step."
|
|
71727
72167
|
},
|
|
71728
72168
|
{
|
|
71729
|
-
"
|
|
71730
|
-
"name": "expanded",
|
|
72169
|
+
"name": "current",
|
|
71731
72170
|
"type": {
|
|
71732
|
-
"text": "
|
|
72171
|
+
"text": "number"
|
|
71733
72172
|
},
|
|
71734
|
-
"
|
|
71735
|
-
"default": "false",
|
|
71736
|
-
"description": "Whether the container is expanded.",
|
|
71737
|
-
"attribute": "expanded",
|
|
71738
|
-
"reflects": true
|
|
72173
|
+
"description": "The index of the current element in the list."
|
|
71739
72174
|
},
|
|
71740
72175
|
{
|
|
71741
|
-
"
|
|
71742
|
-
"name": "backgroundExpanded",
|
|
72176
|
+
"name": "size",
|
|
71743
72177
|
"type": {
|
|
71744
|
-
"text": "
|
|
71745
|
-
},
|
|
71746
|
-
"privacy": "public",
|
|
71747
|
-
"default": "false",
|
|
71748
|
-
"description": "Whether the background color is shown on full container width on large screens.",
|
|
71749
|
-
"attribute": "background-expanded",
|
|
71750
|
-
"reflects": true
|
|
71751
|
-
},
|
|
71752
|
-
{
|
|
71753
|
-
"kind": "field",
|
|
71754
|
-
"name": "color",
|
|
71755
|
-
"type": {
|
|
71756
|
-
"text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
|
|
71757
|
-
},
|
|
71758
|
-
"privacy": "public",
|
|
71759
|
-
"default": "'white'",
|
|
71760
|
-
"description": "Color of the container, like transparent, white etc.",
|
|
71761
|
-
"attribute": "color",
|
|
71762
|
-
"reflects": true
|
|
71763
|
-
},
|
|
71764
|
-
{
|
|
71765
|
-
"kind": "field",
|
|
71766
|
-
"name": "['_$sbbElement$']",
|
|
71767
|
-
"type": {
|
|
71768
|
-
"text": "boolean"
|
|
71769
|
-
},
|
|
71770
|
-
"privacy": "public",
|
|
71771
|
-
"static": true,
|
|
71772
|
-
"default": "true",
|
|
71773
|
-
"inheritedFrom": {
|
|
71774
|
-
"name": "SbbElement",
|
|
71775
|
-
"module": "core/base-elements/element.js"
|
|
71776
|
-
}
|
|
71777
|
-
},
|
|
71778
|
-
{
|
|
71779
|
-
"kind": "field",
|
|
71780
|
-
"name": "elementDependencies",
|
|
71781
|
-
"type": {
|
|
71782
|
-
"text": "SbbElementType[] | undefined"
|
|
71783
|
-
},
|
|
71784
|
-
"privacy": "public",
|
|
71785
|
-
"static": true,
|
|
71786
|
-
"inheritedFrom": {
|
|
71787
|
-
"name": "SbbElement",
|
|
71788
|
-
"module": "core/base-elements/element.js"
|
|
71789
|
-
}
|
|
71790
|
-
},
|
|
71791
|
-
{
|
|
71792
|
-
"kind": "field",
|
|
71793
|
-
"name": "role",
|
|
71794
|
-
"type": {
|
|
71795
|
-
"text": "ElementInternals['role'] | undefined"
|
|
71796
|
-
},
|
|
71797
|
-
"privacy": "public",
|
|
71798
|
-
"static": true,
|
|
71799
|
-
"inheritedFrom": {
|
|
71800
|
-
"name": "SbbElement",
|
|
71801
|
-
"module": "core/base-elements/element.js"
|
|
71802
|
-
}
|
|
71803
|
-
},
|
|
71804
|
-
{
|
|
71805
|
-
"kind": "field",
|
|
71806
|
-
"name": "_controllers",
|
|
71807
|
-
"type": {
|
|
71808
|
-
"text": "Set<SbbReactiveController> | undefined"
|
|
71809
|
-
},
|
|
71810
|
-
"privacy": "private",
|
|
71811
|
-
"inheritedFrom": {
|
|
71812
|
-
"name": "SbbElement",
|
|
71813
|
-
"module": "core/base-elements/element.js"
|
|
71814
|
-
}
|
|
71815
|
-
},
|
|
71816
|
-
{
|
|
71817
|
-
"kind": "field",
|
|
71818
|
-
"name": "_hydrationRequired",
|
|
71819
|
-
"type": {
|
|
71820
|
-
"text": "boolean"
|
|
71821
|
-
},
|
|
71822
|
-
"privacy": "private",
|
|
71823
|
-
"default": "!!this.shadowRoot",
|
|
71824
|
-
"inheritedFrom": {
|
|
71825
|
-
"name": "SbbElement",
|
|
71826
|
-
"module": "core/base-elements/element.js"
|
|
71827
|
-
}
|
|
71828
|
-
},
|
|
71829
|
-
{
|
|
71830
|
-
"kind": "field",
|
|
71831
|
-
"name": "_hydrationComplete",
|
|
71832
|
-
"privacy": "private",
|
|
71833
|
-
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
71834
|
-
"inheritedFrom": {
|
|
71835
|
-
"name": "SbbElement",
|
|
71836
|
-
"module": "core/base-elements/element.js"
|
|
71837
|
-
}
|
|
71838
|
-
},
|
|
71839
|
-
{
|
|
71840
|
-
"kind": "field",
|
|
71841
|
-
"name": "_resolveHydration",
|
|
71842
|
-
"type": {
|
|
71843
|
-
"text": "(hydrationRequired: boolean) => void"
|
|
71844
|
-
},
|
|
71845
|
-
"privacy": "private",
|
|
71846
|
-
"inheritedFrom": {
|
|
71847
|
-
"name": "SbbElement",
|
|
71848
|
-
"module": "core/base-elements/element.js"
|
|
71849
|
-
}
|
|
71850
|
-
},
|
|
71851
|
-
{
|
|
71852
|
-
"kind": "field",
|
|
71853
|
-
"name": "_textObserver",
|
|
71854
|
-
"type": {
|
|
71855
|
-
"text": "MutationObserver | undefined"
|
|
71856
|
-
},
|
|
71857
|
-
"privacy": "private",
|
|
71858
|
-
"inheritedFrom": {
|
|
71859
|
-
"name": "SbbElement",
|
|
71860
|
-
"module": "core/base-elements/element.js"
|
|
71861
|
-
}
|
|
71862
|
-
},
|
|
71863
|
-
{
|
|
71864
|
-
"kind": "field",
|
|
71865
|
-
"name": "hydrationRequired",
|
|
71866
|
-
"type": {
|
|
71867
|
-
"text": "boolean"
|
|
71868
|
-
},
|
|
71869
|
-
"privacy": "protected",
|
|
71870
|
-
"description": "Returns whether hydration is required and not completed.",
|
|
71871
|
-
"readonly": true,
|
|
71872
|
-
"inheritedFrom": {
|
|
71873
|
-
"name": "SbbElement",
|
|
71874
|
-
"module": "core/base-elements/element.js"
|
|
71875
|
-
},
|
|
71876
|
-
"default": "!!this.shadowRoot"
|
|
71877
|
-
},
|
|
71878
|
-
{
|
|
71879
|
-
"kind": "method",
|
|
71880
|
-
"name": "toggleState",
|
|
71881
|
-
"privacy": "protected",
|
|
71882
|
-
"return": {
|
|
71883
|
-
"type": {
|
|
71884
|
-
"text": "void"
|
|
71885
|
-
}
|
|
71886
|
-
},
|
|
71887
|
-
"parameters": [
|
|
71888
|
-
{
|
|
71889
|
-
"name": "value",
|
|
71890
|
-
"type": {
|
|
71891
|
-
"text": "string"
|
|
71892
|
-
}
|
|
71893
|
-
},
|
|
71894
|
-
{
|
|
71895
|
-
"name": "force",
|
|
71896
|
-
"optional": true,
|
|
71897
|
-
"type": {
|
|
71898
|
-
"text": "boolean"
|
|
71899
|
-
}
|
|
71900
|
-
}
|
|
71901
|
-
],
|
|
71902
|
-
"inheritedFrom": {
|
|
71903
|
-
"name": "SbbElement",
|
|
71904
|
-
"module": "core/base-elements/element.js"
|
|
71905
|
-
}
|
|
71906
|
-
},
|
|
71907
|
-
{
|
|
71908
|
-
"kind": "method",
|
|
71909
|
-
"name": "_slotchangeHandler",
|
|
71910
|
-
"privacy": "private",
|
|
71911
|
-
"return": {
|
|
71912
|
-
"type": {
|
|
71913
|
-
"text": "void"
|
|
71914
|
-
}
|
|
71915
|
-
},
|
|
71916
|
-
"parameters": [
|
|
71917
|
-
{
|
|
71918
|
-
"name": "event",
|
|
71919
|
-
"type": {
|
|
71920
|
-
"text": "Event"
|
|
71921
|
-
}
|
|
71922
|
-
},
|
|
71923
|
-
{
|
|
71924
|
-
"name": "slot",
|
|
71925
|
-
"type": {
|
|
71926
|
-
"text": "HTMLSlotElement"
|
|
71927
|
-
}
|
|
71928
|
-
}
|
|
71929
|
-
],
|
|
71930
|
-
"inheritedFrom": {
|
|
71931
|
-
"name": "SbbElement",
|
|
71932
|
-
"module": "core/base-elements/element.js"
|
|
71933
|
-
}
|
|
71934
|
-
},
|
|
71935
|
-
{
|
|
71936
|
-
"kind": "method",
|
|
71937
|
-
"name": "_handleSlotChangeForSlottedState",
|
|
71938
|
-
"privacy": "private",
|
|
71939
|
-
"return": {
|
|
71940
|
-
"type": {
|
|
71941
|
-
"text": "void"
|
|
71942
|
-
}
|
|
71943
|
-
},
|
|
71944
|
-
"parameters": [
|
|
71945
|
-
{
|
|
71946
|
-
"name": "slot",
|
|
71947
|
-
"type": {
|
|
71948
|
-
"text": "HTMLSlotElement"
|
|
71949
|
-
}
|
|
71950
|
-
}
|
|
71951
|
-
],
|
|
71952
|
-
"inheritedFrom": {
|
|
71953
|
-
"name": "SbbElement",
|
|
71954
|
-
"module": "core/base-elements/element.js"
|
|
71955
|
-
}
|
|
71956
|
-
},
|
|
71957
|
-
{
|
|
71958
|
-
"kind": "method",
|
|
71959
|
-
"name": "_updateSlottedState",
|
|
71960
|
-
"privacy": "private",
|
|
71961
|
-
"return": {
|
|
71962
|
-
"type": {
|
|
71963
|
-
"text": "void"
|
|
71964
|
-
}
|
|
71965
|
-
},
|
|
71966
|
-
"parameters": [
|
|
71967
|
-
{
|
|
71968
|
-
"name": "slot",
|
|
71969
|
-
"type": {
|
|
71970
|
-
"text": "HTMLSlotElement"
|
|
71971
|
-
}
|
|
71972
|
-
}
|
|
71973
|
-
],
|
|
71974
|
-
"inheritedFrom": {
|
|
71975
|
-
"name": "SbbElement",
|
|
71976
|
-
"module": "core/base-elements/element.js"
|
|
71977
|
-
}
|
|
71978
|
-
},
|
|
71979
|
-
{
|
|
71980
|
-
"kind": "method",
|
|
71981
|
-
"name": "_observeTextNodesInSlot",
|
|
71982
|
-
"privacy": "private",
|
|
71983
|
-
"return": {
|
|
71984
|
-
"type": {
|
|
71985
|
-
"text": "void"
|
|
71986
|
-
}
|
|
71987
|
-
},
|
|
71988
|
-
"parameters": [
|
|
71989
|
-
{
|
|
71990
|
-
"name": "slot",
|
|
71991
|
-
"type": {
|
|
71992
|
-
"text": "HTMLSlotElement"
|
|
71993
|
-
}
|
|
71994
|
-
}
|
|
71995
|
-
],
|
|
71996
|
-
"inheritedFrom": {
|
|
71997
|
-
"name": "SbbElement",
|
|
71998
|
-
"module": "core/base-elements/element.js"
|
|
71999
|
-
}
|
|
72000
|
-
},
|
|
72001
|
-
{
|
|
72002
|
-
"kind": "method",
|
|
72003
|
-
"name": "_hasSlottedContent",
|
|
72004
|
-
"privacy": "private",
|
|
72005
|
-
"return": {
|
|
72006
|
-
"type": {
|
|
72007
|
-
"text": "boolean"
|
|
72008
|
-
}
|
|
72009
|
-
},
|
|
72010
|
-
"parameters": [
|
|
72011
|
-
{
|
|
72012
|
-
"name": "slot",
|
|
72013
|
-
"type": {
|
|
72014
|
-
"text": "HTMLSlotElement"
|
|
72015
|
-
}
|
|
72016
|
-
}
|
|
72017
|
-
],
|
|
72018
|
-
"inheritedFrom": {
|
|
72019
|
-
"name": "SbbElement",
|
|
72020
|
-
"module": "core/base-elements/element.js"
|
|
72021
|
-
}
|
|
72022
|
-
}
|
|
72023
|
-
],
|
|
72024
|
-
"attributes": [
|
|
72025
|
-
{
|
|
72026
|
-
"name": "expanded",
|
|
72027
|
-
"type": {
|
|
72028
|
-
"text": "boolean"
|
|
72029
|
-
},
|
|
72030
|
-
"default": "false",
|
|
72031
|
-
"description": "Whether the container is expanded.",
|
|
72032
|
-
"fieldName": "expanded"
|
|
72033
|
-
},
|
|
72034
|
-
{
|
|
72035
|
-
"name": "background-expanded",
|
|
72036
|
-
"type": {
|
|
72037
|
-
"text": "boolean"
|
|
72038
|
-
},
|
|
72039
|
-
"default": "false",
|
|
72040
|
-
"description": "Whether the background color is shown on full container width on large screens.",
|
|
72041
|
-
"fieldName": "backgroundExpanded"
|
|
72042
|
-
},
|
|
72043
|
-
{
|
|
72044
|
-
"name": "color",
|
|
72045
|
-
"type": {
|
|
72046
|
-
"text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
|
|
72047
|
-
},
|
|
72048
|
-
"default": "'white'",
|
|
72049
|
-
"description": "Color of the container, like transparent, white etc.",
|
|
72050
|
-
"fieldName": "color"
|
|
72051
|
-
}
|
|
72052
|
-
],
|
|
72053
|
-
"superclass": {
|
|
72054
|
-
"name": "SbbElement",
|
|
72055
|
-
"module": "core.js"
|
|
72056
|
-
},
|
|
72057
|
-
"tagName": "sbb-container",
|
|
72058
|
-
"customElement": true
|
|
72059
|
-
}
|
|
72060
|
-
],
|
|
72061
|
-
"exports": [
|
|
72062
|
-
{
|
|
72063
|
-
"kind": "js",
|
|
72064
|
-
"name": "SbbContainerElement",
|
|
72065
|
-
"declaration": {
|
|
72066
|
-
"name": "SbbContainerElement",
|
|
72067
|
-
"module": "container/container/container.component.js"
|
|
72068
|
-
}
|
|
72069
|
-
}
|
|
72070
|
-
]
|
|
72071
|
-
},
|
|
72072
|
-
{
|
|
72073
|
-
"kind": "javascript-module",
|
|
72074
|
-
"path": "core/a11y/arrow-navigation.js",
|
|
72075
|
-
"declarations": [
|
|
72076
|
-
{
|
|
72077
|
-
"kind": "function",
|
|
72078
|
-
"name": "isArrowKeyPressed",
|
|
72079
|
-
"return": {
|
|
72080
|
-
"type": {
|
|
72081
|
-
"text": "boolean"
|
|
72082
|
-
}
|
|
72083
|
-
},
|
|
72084
|
-
"parameters": [
|
|
72085
|
-
{
|
|
72086
|
-
"name": "event",
|
|
72087
|
-
"type": {
|
|
72088
|
-
"text": "KeyboardEvent"
|
|
72089
|
-
},
|
|
72090
|
-
"description": "The keyboard event to check."
|
|
72091
|
-
}
|
|
72092
|
-
],
|
|
72093
|
-
"description": "Check if the key pressed is among those allowed for navigation."
|
|
72094
|
-
},
|
|
72095
|
-
{
|
|
72096
|
-
"kind": "function",
|
|
72097
|
-
"name": "isPreviousArrowKeyPressed",
|
|
72098
|
-
"return": {
|
|
72099
|
-
"type": {
|
|
72100
|
-
"text": "boolean"
|
|
72101
|
-
}
|
|
72102
|
-
},
|
|
72103
|
-
"parameters": [
|
|
72104
|
-
{
|
|
72105
|
-
"name": "event",
|
|
72106
|
-
"type": {
|
|
72107
|
-
"text": "KeyboardEvent"
|
|
72108
|
-
},
|
|
72109
|
-
"description": "The keyboard event to check."
|
|
72110
|
-
}
|
|
72111
|
-
],
|
|
72112
|
-
"description": "Check if the key pressed should move the navigation to the next element."
|
|
72113
|
-
},
|
|
72114
|
-
{
|
|
72115
|
-
"kind": "function",
|
|
72116
|
-
"name": "isNextArrowKeyPressed",
|
|
72117
|
-
"return": {
|
|
72118
|
-
"type": {
|
|
72119
|
-
"text": "boolean"
|
|
72120
|
-
}
|
|
72121
|
-
},
|
|
72122
|
-
"parameters": [
|
|
72123
|
-
{
|
|
72124
|
-
"name": "event",
|
|
72125
|
-
"type": {
|
|
72126
|
-
"text": "KeyboardEvent"
|
|
72127
|
-
},
|
|
72128
|
-
"description": "The keyboard event to check."
|
|
72129
|
-
}
|
|
72130
|
-
],
|
|
72131
|
-
"description": "Check if the key pressed should move the navigation to the next element."
|
|
72132
|
-
},
|
|
72133
|
-
{
|
|
72134
|
-
"kind": "function",
|
|
72135
|
-
"name": "isArrowKeyOrPageKeysPressed",
|
|
72136
|
-
"return": {
|
|
72137
|
-
"type": {
|
|
72138
|
-
"text": "boolean"
|
|
72139
|
-
}
|
|
72140
|
-
},
|
|
72141
|
-
"parameters": [
|
|
72142
|
-
{
|
|
72143
|
-
"name": "event",
|
|
72144
|
-
"type": {
|
|
72145
|
-
"text": "KeyboardEvent"
|
|
72146
|
-
},
|
|
72147
|
-
"description": "The keyboard event to check."
|
|
72148
|
-
}
|
|
72149
|
-
],
|
|
72150
|
-
"description": "Check if the key pressed is among those allowed for navigation."
|
|
72151
|
-
},
|
|
72152
|
-
{
|
|
72153
|
-
"kind": "function",
|
|
72154
|
-
"name": "getNextElementIndex",
|
|
72155
|
-
"return": {
|
|
72156
|
-
"type": {
|
|
72157
|
-
"text": ""
|
|
72158
|
-
}
|
|
72159
|
-
},
|
|
72160
|
-
"parameters": [
|
|
72161
|
-
{
|
|
72162
|
-
"name": "event",
|
|
72163
|
-
"type": {
|
|
72164
|
-
"text": "KeyboardEvent | undefined"
|
|
72165
|
-
},
|
|
72166
|
-
"description": "The keyboard event to check. If null, will count as a 'next' step."
|
|
72167
|
-
},
|
|
72168
|
-
{
|
|
72169
|
-
"name": "current",
|
|
72170
|
-
"type": {
|
|
72171
|
-
"text": "number"
|
|
72172
|
-
},
|
|
72173
|
-
"description": "The index of the current element in the list."
|
|
72174
|
-
},
|
|
72175
|
-
{
|
|
72176
|
-
"name": "size",
|
|
72177
|
-
"type": {
|
|
72178
|
-
"text": "number"
|
|
72178
|
+
"text": "number"
|
|
72179
72179
|
},
|
|
72180
72180
|
"description": "The size of the list."
|
|
72181
72181
|
}
|
|
@@ -127091,12 +127091,12 @@
|
|
|
127091
127091
|
},
|
|
127092
127092
|
{
|
|
127093
127093
|
"kind": "javascript-module",
|
|
127094
|
-
"path": "menu/menu-
|
|
127094
|
+
"path": "menu/menu-button/menu-button.component.js",
|
|
127095
127095
|
"declarations": [
|
|
127096
127096
|
{
|
|
127097
127097
|
"kind": "class",
|
|
127098
|
-
"description": "It displays a
|
|
127099
|
-
"name": "
|
|
127098
|
+
"description": "It displays a button element that can be used in the `sbb-menu` component.",
|
|
127099
|
+
"name": "SbbMenuButtonElement",
|
|
127100
127100
|
"cssProperties": [
|
|
127101
127101
|
{
|
|
127102
127102
|
"description": "Can be used to modify horizontal padding.",
|
|
@@ -127106,7 +127106,7 @@
|
|
|
127106
127106
|
],
|
|
127107
127107
|
"slots": [
|
|
127108
127108
|
{
|
|
127109
|
-
"description": "Use the unnamed slot to add content to the `sbb-menu-
|
|
127109
|
+
"description": "Use the unnamed slot to add content to the `sbb-menu-button`.",
|
|
127110
127110
|
"name": ""
|
|
127111
127111
|
},
|
|
127112
127112
|
{
|
|
@@ -127128,21 +127128,22 @@
|
|
|
127128
127128
|
"name": "SbbElement",
|
|
127129
127129
|
"module": "core/base-elements/element.js"
|
|
127130
127130
|
},
|
|
127131
|
-
"default": "'sbb-menu-
|
|
127131
|
+
"default": "'sbb-menu-button'"
|
|
127132
127132
|
},
|
|
127133
127133
|
{
|
|
127134
127134
|
"kind": "field",
|
|
127135
|
-
"name": "
|
|
127135
|
+
"name": "role",
|
|
127136
127136
|
"type": {
|
|
127137
|
-
"text": "
|
|
127137
|
+
"text": "ElementInternals['role']"
|
|
127138
127138
|
},
|
|
127139
|
-
"privacy": "
|
|
127140
|
-
"
|
|
127141
|
-
"default": "'menuitem'",
|
|
127139
|
+
"privacy": "public",
|
|
127140
|
+
"static": true,
|
|
127142
127141
|
"inheritedFrom": {
|
|
127143
|
-
"name": "
|
|
127144
|
-
"module": "core/base-elements/
|
|
127145
|
-
}
|
|
127142
|
+
"name": "SbbElement",
|
|
127143
|
+
"module": "core/base-elements/element.js"
|
|
127144
|
+
},
|
|
127145
|
+
"readonly": true,
|
|
127146
|
+
"default": "'menuitem'"
|
|
127146
127147
|
},
|
|
127147
127148
|
{
|
|
127148
127149
|
"kind": "field",
|
|
@@ -127160,6 +127161,50 @@
|
|
|
127160
127161
|
"module": "core/mixins/disabled-mixin.js"
|
|
127161
127162
|
}
|
|
127162
127163
|
},
|
|
127164
|
+
{
|
|
127165
|
+
"kind": "field",
|
|
127166
|
+
"name": "disabled",
|
|
127167
|
+
"privacy": "public",
|
|
127168
|
+
"description": "Whether the component is disabled.",
|
|
127169
|
+
"default": "false",
|
|
127170
|
+
"type": {
|
|
127171
|
+
"text": "boolean"
|
|
127172
|
+
},
|
|
127173
|
+
"attribute": "disabled",
|
|
127174
|
+
"reflects": true,
|
|
127175
|
+
"inheritedFrom": {
|
|
127176
|
+
"name": "SbbDisabledMixin",
|
|
127177
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
127178
|
+
}
|
|
127179
|
+
},
|
|
127180
|
+
{
|
|
127181
|
+
"kind": "field",
|
|
127182
|
+
"name": "#disabled",
|
|
127183
|
+
"privacy": "private",
|
|
127184
|
+
"type": {
|
|
127185
|
+
"text": "boolean"
|
|
127186
|
+
},
|
|
127187
|
+
"default": "false",
|
|
127188
|
+
"inheritedFrom": {
|
|
127189
|
+
"name": "SbbDisabledMixin",
|
|
127190
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
127191
|
+
}
|
|
127192
|
+
},
|
|
127193
|
+
{
|
|
127194
|
+
"kind": "method",
|
|
127195
|
+
"name": "isDisabledExternally",
|
|
127196
|
+
"privacy": "protected",
|
|
127197
|
+
"return": {
|
|
127198
|
+
"type": {
|
|
127199
|
+
"text": "boolean"
|
|
127200
|
+
}
|
|
127201
|
+
},
|
|
127202
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
127203
|
+
"inheritedFrom": {
|
|
127204
|
+
"name": "SbbDisabledMixin",
|
|
127205
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
127206
|
+
}
|
|
127207
|
+
},
|
|
127163
127208
|
{
|
|
127164
127209
|
"kind": "field",
|
|
127165
127210
|
"name": "styles",
|
|
@@ -127271,181 +127316,464 @@
|
|
|
127271
127316
|
},
|
|
127272
127317
|
{
|
|
127273
127318
|
"kind": "field",
|
|
127274
|
-
"name": "
|
|
127319
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
127320
|
+
"type": {
|
|
127321
|
+
"text": "array"
|
|
127322
|
+
},
|
|
127323
|
+
"privacy": "private",
|
|
127324
|
+
"readonly": true,
|
|
127325
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
127326
|
+
"inheritedFrom": {
|
|
127327
|
+
"name": "SbbButtonBaseElement",
|
|
127328
|
+
"module": "core/base-elements/button-base-element.js"
|
|
127329
|
+
}
|
|
127330
|
+
},
|
|
127331
|
+
{
|
|
127332
|
+
"kind": "field",
|
|
127333
|
+
"name": "value",
|
|
127334
|
+
"type": {
|
|
127335
|
+
"text": "string"
|
|
127336
|
+
},
|
|
127275
127337
|
"privacy": "public",
|
|
127276
|
-
"
|
|
127277
|
-
|
|
127338
|
+
"inheritedFrom": {
|
|
127339
|
+
"name": "SbbButtonBaseElement",
|
|
127340
|
+
"module": "core/base-elements/button-base-element.js"
|
|
127341
|
+
},
|
|
127342
|
+
"default": "''",
|
|
127343
|
+
"description": "Value of the form element.",
|
|
127344
|
+
"attribute": "value"
|
|
127345
|
+
},
|
|
127346
|
+
{
|
|
127347
|
+
"kind": "field",
|
|
127348
|
+
"name": "type",
|
|
127349
|
+
"privacy": "public",
|
|
127350
|
+
"description": "The type attribute to use for the button.",
|
|
127351
|
+
"default": "'button'",
|
|
127278
127352
|
"type": {
|
|
127279
|
-
"text": "
|
|
127353
|
+
"text": "SbbButtonType"
|
|
127280
127354
|
},
|
|
127281
|
-
"attribute": "
|
|
127282
|
-
"reflects": true,
|
|
127355
|
+
"attribute": "type",
|
|
127283
127356
|
"inheritedFrom": {
|
|
127284
|
-
"name": "
|
|
127285
|
-
"module": "core/
|
|
127357
|
+
"name": "SbbButtonBaseElement",
|
|
127358
|
+
"module": "core/base-elements/button-base-element.js"
|
|
127286
127359
|
}
|
|
127287
127360
|
},
|
|
127288
127361
|
{
|
|
127289
127362
|
"kind": "field",
|
|
127290
|
-
"name": "
|
|
127291
|
-
"privacy": "private",
|
|
127363
|
+
"name": "form",
|
|
127292
127364
|
"type": {
|
|
127293
|
-
"text": "
|
|
127365
|
+
"text": "HTMLFormElement | null"
|
|
127294
127366
|
},
|
|
127295
|
-
"
|
|
127367
|
+
"privacy": "public",
|
|
127368
|
+
"description": "The `<form>` element to associate the button with.",
|
|
127296
127369
|
"inheritedFrom": {
|
|
127297
|
-
"name": "
|
|
127298
|
-
"module": "core/
|
|
127370
|
+
"name": "SbbButtonBaseElement",
|
|
127371
|
+
"module": "core/base-elements/button-base-element.js"
|
|
127372
|
+
},
|
|
127373
|
+
"attribute": "form"
|
|
127374
|
+
},
|
|
127375
|
+
{
|
|
127376
|
+
"kind": "field",
|
|
127377
|
+
"name": "_formId",
|
|
127378
|
+
"type": {
|
|
127379
|
+
"text": "string"
|
|
127380
|
+
},
|
|
127381
|
+
"privacy": "private",
|
|
127382
|
+
"default": "''",
|
|
127383
|
+
"inheritedFrom": {
|
|
127384
|
+
"name": "SbbButtonBaseElement",
|
|
127385
|
+
"module": "core/base-elements/button-base-element.js"
|
|
127386
|
+
}
|
|
127387
|
+
},
|
|
127388
|
+
{
|
|
127389
|
+
"kind": "field",
|
|
127390
|
+
"name": "_handleButtonClick",
|
|
127391
|
+
"privacy": "private",
|
|
127392
|
+
"inheritedFrom": {
|
|
127393
|
+
"name": "SbbButtonBaseElement",
|
|
127394
|
+
"module": "core/base-elements/button-base-element.js"
|
|
127299
127395
|
}
|
|
127300
127396
|
},
|
|
127301
127397
|
{
|
|
127302
127398
|
"kind": "method",
|
|
127303
|
-
"name": "
|
|
127304
|
-
"privacy": "
|
|
127399
|
+
"name": "_requestSubmit",
|
|
127400
|
+
"privacy": "private",
|
|
127305
127401
|
"return": {
|
|
127306
127402
|
"type": {
|
|
127307
|
-
"text": "
|
|
127403
|
+
"text": "void"
|
|
127308
127404
|
}
|
|
127309
127405
|
},
|
|
127310
|
-
"
|
|
127406
|
+
"parameters": [
|
|
127407
|
+
{
|
|
127408
|
+
"name": "form",
|
|
127409
|
+
"type": {
|
|
127410
|
+
"text": "HTMLFormElement"
|
|
127411
|
+
}
|
|
127412
|
+
}
|
|
127413
|
+
],
|
|
127311
127414
|
"inheritedFrom": {
|
|
127312
|
-
"name": "
|
|
127313
|
-
"module": "core/
|
|
127415
|
+
"name": "SbbButtonBaseElement",
|
|
127416
|
+
"module": "core/base-elements/button-base-element.js"
|
|
127314
127417
|
}
|
|
127315
127418
|
},
|
|
127316
127419
|
{
|
|
127317
127420
|
"kind": "field",
|
|
127318
|
-
"name": "
|
|
127319
|
-
"
|
|
127320
|
-
"text": "string"
|
|
127321
|
-
},
|
|
127322
|
-
"privacy": "public",
|
|
127323
|
-
"default": "''",
|
|
127324
|
-
"description": "The href value you want to link to.",
|
|
127325
|
-
"attribute": "href",
|
|
127326
|
-
"reflects": true,
|
|
127421
|
+
"name": "_formKeyDown",
|
|
127422
|
+
"privacy": "private",
|
|
127327
127423
|
"inheritedFrom": {
|
|
127328
|
-
"name": "
|
|
127329
|
-
"module": "core/base-elements/
|
|
127424
|
+
"name": "SbbButtonBaseElement",
|
|
127425
|
+
"module": "core/base-elements/button-base-element.js"
|
|
127330
127426
|
}
|
|
127331
127427
|
},
|
|
127332
127428
|
{
|
|
127333
127429
|
"kind": "field",
|
|
127334
|
-
"name": "
|
|
127430
|
+
"name": "formAssociated",
|
|
127335
127431
|
"type": {
|
|
127336
|
-
"text": "
|
|
127432
|
+
"text": "boolean"
|
|
127337
127433
|
},
|
|
127338
127434
|
"privacy": "public",
|
|
127339
|
-
"
|
|
127340
|
-
"
|
|
127341
|
-
"attribute": "target",
|
|
127342
|
-
"reflects": true,
|
|
127435
|
+
"static": true,
|
|
127436
|
+
"default": "true",
|
|
127343
127437
|
"inheritedFrom": {
|
|
127344
|
-
"name": "
|
|
127345
|
-
"module": "core/
|
|
127438
|
+
"name": "SbbFormAssociatedMixin",
|
|
127439
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
127346
127440
|
}
|
|
127347
127441
|
},
|
|
127348
127442
|
{
|
|
127349
127443
|
"kind": "field",
|
|
127350
|
-
"name": "
|
|
127444
|
+
"name": "name",
|
|
127445
|
+
"privacy": "public",
|
|
127446
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
127351
127447
|
"type": {
|
|
127352
127448
|
"text": "string"
|
|
127353
127449
|
},
|
|
127354
|
-
"
|
|
127355
|
-
"default": "''",
|
|
127356
|
-
"description": "The relationship of the linked URL as space-separated link types.",
|
|
127357
|
-
"attribute": "rel",
|
|
127358
|
-
"reflects": true,
|
|
127450
|
+
"attribute": "name",
|
|
127359
127451
|
"inheritedFrom": {
|
|
127360
|
-
"name": "
|
|
127361
|
-
"module": "core/
|
|
127452
|
+
"name": "SbbFormAssociatedMixin",
|
|
127453
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
127362
127454
|
}
|
|
127363
127455
|
},
|
|
127364
127456
|
{
|
|
127365
127457
|
"kind": "field",
|
|
127366
|
-
"name": "
|
|
127458
|
+
"name": "validity",
|
|
127367
127459
|
"type": {
|
|
127368
|
-
"text": "
|
|
127460
|
+
"text": "ValidityState"
|
|
127369
127461
|
},
|
|
127370
127462
|
"privacy": "public",
|
|
127371
|
-
"
|
|
127372
|
-
"
|
|
127373
|
-
"attribute": "download",
|
|
127374
|
-
"reflects": true,
|
|
127463
|
+
"description": "Returns the ValidityState object for this element.",
|
|
127464
|
+
"readonly": true,
|
|
127375
127465
|
"inheritedFrom": {
|
|
127376
|
-
"name": "
|
|
127377
|
-
"module": "core/
|
|
127466
|
+
"name": "SbbFormAssociatedMixin",
|
|
127467
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
127378
127468
|
}
|
|
127379
127469
|
},
|
|
127380
127470
|
{
|
|
127381
127471
|
"kind": "field",
|
|
127382
|
-
"name": "
|
|
127472
|
+
"name": "validationMessage",
|
|
127383
127473
|
"type": {
|
|
127384
127474
|
"text": "string"
|
|
127385
127475
|
},
|
|
127386
127476
|
"privacy": "public",
|
|
127387
|
-
"
|
|
127388
|
-
"
|
|
127389
|
-
"attribute": "accessibility-label",
|
|
127477
|
+
"description": "Returns the current error message, if available, which corresponds\nto the current validation state.\nPlease note that only one message is returned at a time (e.g. if\nmultiple validity states are invalid, only the chronologically first one\nis returned until it is fixed, at which point the next message might be\nreturned, if it is still applicable). Also, a custom validity message\n(see below) has precedence over native validation messages.",
|
|
127478
|
+
"readonly": true,
|
|
127390
127479
|
"inheritedFrom": {
|
|
127391
|
-
"name": "
|
|
127392
|
-
"module": "core/
|
|
127480
|
+
"name": "SbbFormAssociatedMixin",
|
|
127481
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
127393
127482
|
}
|
|
127394
127483
|
},
|
|
127395
127484
|
{
|
|
127396
127485
|
"kind": "field",
|
|
127397
|
-
"name": "
|
|
127486
|
+
"name": "willValidate",
|
|
127398
127487
|
"type": {
|
|
127399
|
-
"text": "
|
|
127488
|
+
"text": "boolean"
|
|
127400
127489
|
},
|
|
127401
127490
|
"privacy": "public",
|
|
127402
|
-
"
|
|
127403
|
-
"
|
|
127404
|
-
"attribute": "accessibility-current",
|
|
127491
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
127492
|
+
"readonly": true,
|
|
127405
127493
|
"inheritedFrom": {
|
|
127406
|
-
"name": "
|
|
127407
|
-
"module": "core/
|
|
127494
|
+
"name": "SbbFormAssociatedMixin",
|
|
127495
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
127408
127496
|
}
|
|
127409
127497
|
},
|
|
127410
127498
|
{
|
|
127411
127499
|
"kind": "field",
|
|
127412
|
-
"name": "
|
|
127413
|
-
"privacy": "
|
|
127414
|
-
"default": "new
|
|
127500
|
+
"name": "_validityStates",
|
|
127501
|
+
"privacy": "private",
|
|
127502
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
127415
127503
|
"inheritedFrom": {
|
|
127416
|
-
"name": "
|
|
127417
|
-
"module": "core/
|
|
127504
|
+
"name": "SbbFormAssociatedMixin",
|
|
127505
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
127418
127506
|
}
|
|
127419
127507
|
},
|
|
127420
127508
|
{
|
|
127421
127509
|
"kind": "field",
|
|
127422
|
-
"name": "
|
|
127510
|
+
"name": "formDisabled",
|
|
127511
|
+
"type": {
|
|
127512
|
+
"text": "boolean"
|
|
127513
|
+
},
|
|
127514
|
+
"privacy": "protected",
|
|
127515
|
+
"default": "false",
|
|
127516
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
127517
|
+
"inheritedFrom": {
|
|
127518
|
+
"name": "SbbFormAssociatedMixin",
|
|
127519
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
127520
|
+
}
|
|
127521
|
+
},
|
|
127522
|
+
{
|
|
127523
|
+
"kind": "method",
|
|
127524
|
+
"name": "checkValidity",
|
|
127525
|
+
"privacy": "public",
|
|
127526
|
+
"return": {
|
|
127527
|
+
"type": {
|
|
127528
|
+
"text": "boolean"
|
|
127529
|
+
}
|
|
127530
|
+
},
|
|
127531
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
127532
|
+
"inheritedFrom": {
|
|
127533
|
+
"name": "SbbFormAssociatedMixin",
|
|
127534
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
127535
|
+
}
|
|
127536
|
+
},
|
|
127537
|
+
{
|
|
127538
|
+
"kind": "method",
|
|
127539
|
+
"name": "reportValidity",
|
|
127540
|
+
"privacy": "public",
|
|
127541
|
+
"return": {
|
|
127542
|
+
"type": {
|
|
127543
|
+
"text": "boolean"
|
|
127544
|
+
}
|
|
127545
|
+
},
|
|
127546
|
+
"description": "Returns true if this element has no validity problems; otherwise,\nreturns false, fires an invalid event at the element,\nand (if the event isn't canceled) reports the problem to the user.",
|
|
127547
|
+
"inheritedFrom": {
|
|
127548
|
+
"name": "SbbFormAssociatedMixin",
|
|
127549
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
127550
|
+
}
|
|
127551
|
+
},
|
|
127552
|
+
{
|
|
127553
|
+
"kind": "method",
|
|
127554
|
+
"name": "setCustomValidity",
|
|
127555
|
+
"privacy": "public",
|
|
127556
|
+
"return": {
|
|
127557
|
+
"type": {
|
|
127558
|
+
"text": "void"
|
|
127559
|
+
}
|
|
127560
|
+
},
|
|
127561
|
+
"parameters": [
|
|
127562
|
+
{
|
|
127563
|
+
"name": "message",
|
|
127564
|
+
"type": {
|
|
127565
|
+
"text": "string"
|
|
127566
|
+
}
|
|
127567
|
+
}
|
|
127568
|
+
],
|
|
127569
|
+
"description": "Sets the custom validity message for this element. Use the empty string\nto indicate that the element does not have a custom validity error.",
|
|
127570
|
+
"inheritedFrom": {
|
|
127571
|
+
"name": "SbbFormAssociatedMixin",
|
|
127572
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
127573
|
+
}
|
|
127574
|
+
},
|
|
127575
|
+
{
|
|
127576
|
+
"kind": "method",
|
|
127577
|
+
"name": "_hasDisabledAncestor",
|
|
127423
127578
|
"privacy": "private",
|
|
127579
|
+
"return": {
|
|
127580
|
+
"type": {
|
|
127581
|
+
"text": "boolean"
|
|
127582
|
+
}
|
|
127583
|
+
},
|
|
127424
127584
|
"inheritedFrom": {
|
|
127425
|
-
"name": "
|
|
127426
|
-
"module": "core/
|
|
127585
|
+
"name": "SbbFormAssociatedMixin",
|
|
127586
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
127427
127587
|
}
|
|
127428
127588
|
},
|
|
127429
127589
|
{
|
|
127430
127590
|
"kind": "method",
|
|
127431
|
-
"name": "
|
|
127591
|
+
"name": "updateFormValue",
|
|
127432
127592
|
"privacy": "protected",
|
|
127433
127593
|
"return": {
|
|
127434
127594
|
"type": {
|
|
127435
|
-
"text": "
|
|
127595
|
+
"text": "void"
|
|
127596
|
+
}
|
|
127597
|
+
},
|
|
127598
|
+
"description": "Should be called when form value is changed.\nAdapts and sets the formValue in the supported format (string | FormData | File | null)\nhttps://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/setFormValue",
|
|
127599
|
+
"inheritedFrom": {
|
|
127600
|
+
"name": "SbbFormAssociatedMixin",
|
|
127601
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
127602
|
+
}
|
|
127603
|
+
},
|
|
127604
|
+
{
|
|
127605
|
+
"kind": "method",
|
|
127606
|
+
"name": "formState",
|
|
127607
|
+
"privacy": "protected",
|
|
127608
|
+
"return": {
|
|
127609
|
+
"type": {
|
|
127610
|
+
"text": "FormRestoreState"
|
|
127611
|
+
}
|
|
127612
|
+
},
|
|
127613
|
+
"inheritedFrom": {
|
|
127614
|
+
"name": "SbbFormAssociatedMixin",
|
|
127615
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
127616
|
+
}
|
|
127617
|
+
},
|
|
127618
|
+
{
|
|
127619
|
+
"kind": "method",
|
|
127620
|
+
"name": "setValidityFlag",
|
|
127621
|
+
"privacy": "protected",
|
|
127622
|
+
"return": {
|
|
127623
|
+
"type": {
|
|
127624
|
+
"text": "void"
|
|
127436
127625
|
}
|
|
127437
127626
|
},
|
|
127438
127627
|
"parameters": [
|
|
127439
127628
|
{
|
|
127440
|
-
"name": "
|
|
127629
|
+
"name": "flag",
|
|
127441
127630
|
"type": {
|
|
127442
|
-
"text": "
|
|
127631
|
+
"text": "T"
|
|
127632
|
+
}
|
|
127633
|
+
},
|
|
127634
|
+
{
|
|
127635
|
+
"name": "message",
|
|
127636
|
+
"type": {
|
|
127637
|
+
"text": "string"
|
|
127638
|
+
}
|
|
127639
|
+
},
|
|
127640
|
+
{
|
|
127641
|
+
"name": "flagValue",
|
|
127642
|
+
"optional": true,
|
|
127643
|
+
"type": {
|
|
127644
|
+
"text": "ValidityStateFlags[T]"
|
|
127443
127645
|
}
|
|
127444
127646
|
}
|
|
127445
127647
|
],
|
|
127648
|
+
"description": "Marks this element as suffering from the constraint indicated by the\nflag argument and associates the given message to it.\nNote that only one message is displayed at a time and custom messages by\nconsumers are always displayed before internal messages and internal\nmessages are displayed in the order they were added.\nTo set/define custom validity state flags, you need to extend the\nValidityState prototype (and the CustomValidityState interface).",
|
|
127446
127649
|
"inheritedFrom": {
|
|
127447
|
-
"name": "
|
|
127448
|
-
"module": "core/
|
|
127650
|
+
"name": "SbbFormAssociatedMixin",
|
|
127651
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
127652
|
+
}
|
|
127653
|
+
},
|
|
127654
|
+
{
|
|
127655
|
+
"kind": "method",
|
|
127656
|
+
"name": "removeValidityFlag",
|
|
127657
|
+
"privacy": "protected",
|
|
127658
|
+
"return": {
|
|
127659
|
+
"type": {
|
|
127660
|
+
"text": "void"
|
|
127661
|
+
}
|
|
127662
|
+
},
|
|
127663
|
+
"parameters": [
|
|
127664
|
+
{
|
|
127665
|
+
"name": "flag",
|
|
127666
|
+
"type": {
|
|
127667
|
+
"text": "T"
|
|
127668
|
+
}
|
|
127669
|
+
}
|
|
127670
|
+
],
|
|
127671
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
127672
|
+
"inheritedFrom": {
|
|
127673
|
+
"name": "SbbFormAssociatedMixin",
|
|
127674
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
127675
|
+
}
|
|
127676
|
+
},
|
|
127677
|
+
{
|
|
127678
|
+
"kind": "method",
|
|
127679
|
+
"name": "validate",
|
|
127680
|
+
"privacy": "protected",
|
|
127681
|
+
"return": {
|
|
127682
|
+
"type": {
|
|
127683
|
+
"text": "void"
|
|
127684
|
+
}
|
|
127685
|
+
},
|
|
127686
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
127687
|
+
"inheritedFrom": {
|
|
127688
|
+
"name": "SbbFormAssociatedMixin",
|
|
127689
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
127690
|
+
}
|
|
127691
|
+
},
|
|
127692
|
+
{
|
|
127693
|
+
"kind": "method",
|
|
127694
|
+
"name": "shouldValidate",
|
|
127695
|
+
"privacy": "protected",
|
|
127696
|
+
"return": {
|
|
127697
|
+
"type": {
|
|
127698
|
+
"text": "boolean"
|
|
127699
|
+
}
|
|
127700
|
+
},
|
|
127701
|
+
"parameters": [
|
|
127702
|
+
{
|
|
127703
|
+
"name": "name",
|
|
127704
|
+
"type": {
|
|
127705
|
+
"text": "PropertyKey | undefined"
|
|
127706
|
+
}
|
|
127707
|
+
}
|
|
127708
|
+
],
|
|
127709
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
127710
|
+
"inheritedFrom": {
|
|
127711
|
+
"name": "SbbFormAssociatedMixin",
|
|
127712
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
127713
|
+
}
|
|
127714
|
+
},
|
|
127715
|
+
{
|
|
127716
|
+
"kind": "method",
|
|
127717
|
+
"name": "_setInternalValidity",
|
|
127718
|
+
"privacy": "private",
|
|
127719
|
+
"return": {
|
|
127720
|
+
"type": {
|
|
127721
|
+
"text": "void"
|
|
127722
|
+
}
|
|
127723
|
+
},
|
|
127724
|
+
"inheritedFrom": {
|
|
127725
|
+
"name": "SbbFormAssociatedMixin",
|
|
127726
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
127727
|
+
}
|
|
127728
|
+
},
|
|
127729
|
+
{
|
|
127730
|
+
"kind": "field",
|
|
127731
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
127732
|
+
"privacy": "private",
|
|
127733
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
127734
|
+
"parameters": [
|
|
127735
|
+
{
|
|
127736
|
+
"description": "The origin event.",
|
|
127737
|
+
"name": "event"
|
|
127738
|
+
}
|
|
127739
|
+
],
|
|
127740
|
+
"inheritedFrom": {
|
|
127741
|
+
"name": "SbbButtonLikeBaseElement",
|
|
127742
|
+
"module": "core/base-elements/button-base-element.js"
|
|
127743
|
+
}
|
|
127744
|
+
},
|
|
127745
|
+
{
|
|
127746
|
+
"kind": "field",
|
|
127747
|
+
"name": "_removeActiveMarker",
|
|
127748
|
+
"privacy": "private",
|
|
127749
|
+
"inheritedFrom": {
|
|
127750
|
+
"name": "SbbButtonLikeBaseElement",
|
|
127751
|
+
"module": "core/base-elements/button-base-element.js"
|
|
127752
|
+
}
|
|
127753
|
+
},
|
|
127754
|
+
{
|
|
127755
|
+
"kind": "field",
|
|
127756
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
127757
|
+
"privacy": "private",
|
|
127758
|
+
"description": "Dispatches a 'click' PointerEvent if the original keyboard event is a 'Space' press.\nAs verified with the native button, when 'Space' is pressed, a 'click' event is dispatched\nafter the 'keyup' event.",
|
|
127759
|
+
"parameters": [
|
|
127760
|
+
{
|
|
127761
|
+
"description": "The origin event.",
|
|
127762
|
+
"name": "event"
|
|
127763
|
+
}
|
|
127764
|
+
],
|
|
127765
|
+
"inheritedFrom": {
|
|
127766
|
+
"name": "SbbButtonLikeBaseElement",
|
|
127767
|
+
"module": "core/base-elements/button-base-element.js"
|
|
127768
|
+
}
|
|
127769
|
+
},
|
|
127770
|
+
{
|
|
127771
|
+
"kind": "field",
|
|
127772
|
+
"name": "_dispatchClickEvent",
|
|
127773
|
+
"privacy": "private",
|
|
127774
|
+
"inheritedFrom": {
|
|
127775
|
+
"name": "SbbButtonLikeBaseElement",
|
|
127776
|
+
"module": "core/base-elements/button-base-element.js"
|
|
127449
127777
|
}
|
|
127450
127778
|
},
|
|
127451
127779
|
{
|
|
@@ -127502,19 +127830,6 @@
|
|
|
127502
127830
|
"module": "core/base-elements/element.js"
|
|
127503
127831
|
}
|
|
127504
127832
|
},
|
|
127505
|
-
{
|
|
127506
|
-
"kind": "field",
|
|
127507
|
-
"name": "role",
|
|
127508
|
-
"type": {
|
|
127509
|
-
"text": "ElementInternals['role'] | undefined"
|
|
127510
|
-
},
|
|
127511
|
-
"privacy": "public",
|
|
127512
|
-
"static": true,
|
|
127513
|
-
"inheritedFrom": {
|
|
127514
|
-
"name": "SbbElement",
|
|
127515
|
-
"module": "core/base-elements/element.js"
|
|
127516
|
-
}
|
|
127517
|
-
},
|
|
127518
127833
|
{
|
|
127519
127834
|
"kind": "field",
|
|
127520
127835
|
"name": "_controllers",
|
|
@@ -127737,7 +128052,7 @@
|
|
|
127737
128052
|
],
|
|
127738
128053
|
"mixins": [
|
|
127739
128054
|
{
|
|
127740
|
-
"name": "
|
|
128055
|
+
"name": "SbbDisabledTabIndexActionMixin",
|
|
127741
128056
|
"module": "core.js"
|
|
127742
128057
|
},
|
|
127743
128058
|
{
|
|
@@ -127746,10 +128061,10 @@
|
|
|
127746
128061
|
}
|
|
127747
128062
|
],
|
|
127748
128063
|
"superclass": {
|
|
127749
|
-
"name": "
|
|
128064
|
+
"name": "SbbButtonBaseElement",
|
|
127750
128065
|
"module": "core.js"
|
|
127751
128066
|
},
|
|
127752
|
-
"tagName": "sbb-menu-
|
|
128067
|
+
"tagName": "sbb-menu-button",
|
|
127753
128068
|
"customElement": true,
|
|
127754
128069
|
"attributes": [
|
|
127755
128070
|
{
|
|
@@ -127765,19 +128080,6 @@
|
|
|
127765
128080
|
"module": "core/mixins/disabled-mixin.js"
|
|
127766
128081
|
}
|
|
127767
128082
|
},
|
|
127768
|
-
{
|
|
127769
|
-
"name": "icon-name",
|
|
127770
|
-
"type": {
|
|
127771
|
-
"text": "string"
|
|
127772
|
-
},
|
|
127773
|
-
"default": "''",
|
|
127774
|
-
"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.",
|
|
127775
|
-
"fieldName": "iconName",
|
|
127776
|
-
"inheritedFrom": {
|
|
127777
|
-
"name": "SbbIconNameMixin",
|
|
127778
|
-
"module": "icon/icon-name-mixin.js"
|
|
127779
|
-
}
|
|
127780
|
-
},
|
|
127781
128083
|
{
|
|
127782
128084
|
"name": "disabled",
|
|
127783
128085
|
"description": "Whether the component is disabled.",
|
|
@@ -127792,81 +128094,66 @@
|
|
|
127792
128094
|
}
|
|
127793
128095
|
},
|
|
127794
128096
|
{
|
|
127795
|
-
"name": "
|
|
128097
|
+
"name": "icon-name",
|
|
127796
128098
|
"type": {
|
|
127797
128099
|
"text": "string"
|
|
127798
128100
|
},
|
|
127799
128101
|
"default": "''",
|
|
127800
|
-
"description": "The
|
|
127801
|
-
"fieldName": "
|
|
127802
|
-
"inheritedFrom": {
|
|
127803
|
-
"name": "SbbLinkBaseElement",
|
|
127804
|
-
"module": "core/base-elements/link-base-element.js"
|
|
127805
|
-
}
|
|
127806
|
-
},
|
|
127807
|
-
{
|
|
127808
|
-
"name": "target",
|
|
127809
|
-
"type": {
|
|
127810
|
-
"text": "LinkTargetType | string"
|
|
127811
|
-
},
|
|
127812
|
-
"default": "''",
|
|
127813
|
-
"description": "Where to display the linked URL.",
|
|
127814
|
-
"fieldName": "target",
|
|
128102
|
+
"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.",
|
|
128103
|
+
"fieldName": "iconName",
|
|
127815
128104
|
"inheritedFrom": {
|
|
127816
|
-
"name": "
|
|
127817
|
-
"module": "
|
|
128105
|
+
"name": "SbbIconNameMixin",
|
|
128106
|
+
"module": "icon/icon-name-mixin.js"
|
|
127818
128107
|
}
|
|
127819
128108
|
},
|
|
127820
128109
|
{
|
|
127821
|
-
"name": "
|
|
128110
|
+
"name": "value",
|
|
127822
128111
|
"type": {
|
|
127823
128112
|
"text": "string"
|
|
127824
128113
|
},
|
|
127825
128114
|
"default": "''",
|
|
127826
|
-
"description": "
|
|
127827
|
-
"fieldName": "
|
|
128115
|
+
"description": "Value of the form element.",
|
|
128116
|
+
"fieldName": "value",
|
|
127828
128117
|
"inheritedFrom": {
|
|
127829
|
-
"name": "
|
|
127830
|
-
"module": "core/base-elements/
|
|
128118
|
+
"name": "SbbButtonBaseElement",
|
|
128119
|
+
"module": "core/base-elements/button-base-element.js"
|
|
127831
128120
|
}
|
|
127832
128121
|
},
|
|
127833
128122
|
{
|
|
127834
|
-
"name": "
|
|
128123
|
+
"name": "type",
|
|
128124
|
+
"description": "The type attribute to use for the button.",
|
|
128125
|
+
"default": "'button'",
|
|
127835
128126
|
"type": {
|
|
127836
|
-
"text": "
|
|
128127
|
+
"text": "SbbButtonType"
|
|
127837
128128
|
},
|
|
127838
|
-
"
|
|
127839
|
-
"description": "Whether the browser will show the download dialog on click.",
|
|
127840
|
-
"fieldName": "download",
|
|
128129
|
+
"fieldName": "type",
|
|
127841
128130
|
"inheritedFrom": {
|
|
127842
|
-
"name": "
|
|
127843
|
-
"module": "core/base-elements/
|
|
128131
|
+
"name": "SbbButtonBaseElement",
|
|
128132
|
+
"module": "core/base-elements/button-base-element.js"
|
|
127844
128133
|
}
|
|
127845
128134
|
},
|
|
127846
128135
|
{
|
|
127847
|
-
"name": "
|
|
128136
|
+
"name": "form",
|
|
128137
|
+
"description": "The `<form>` element to associate the button with.",
|
|
127848
128138
|
"type": {
|
|
127849
|
-
"text": "
|
|
128139
|
+
"text": "HTMLFormElement | null"
|
|
127850
128140
|
},
|
|
127851
|
-
"
|
|
127852
|
-
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
127853
|
-
"fieldName": "accessibilityLabel",
|
|
128141
|
+
"fieldName": "form",
|
|
127854
128142
|
"inheritedFrom": {
|
|
127855
|
-
"name": "
|
|
127856
|
-
"module": "core/base-elements/
|
|
128143
|
+
"name": "SbbButtonBaseElement",
|
|
128144
|
+
"module": "core/base-elements/button-base-element.js"
|
|
127857
128145
|
}
|
|
127858
128146
|
},
|
|
127859
128147
|
{
|
|
127860
|
-
"name": "
|
|
128148
|
+
"name": "name",
|
|
128149
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
127861
128150
|
"type": {
|
|
127862
128151
|
"text": "string"
|
|
127863
128152
|
},
|
|
127864
|
-
"
|
|
127865
|
-
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
127866
|
-
"fieldName": "accessibilityCurrent",
|
|
128153
|
+
"fieldName": "name",
|
|
127867
128154
|
"inheritedFrom": {
|
|
127868
|
-
"name": "
|
|
127869
|
-
"module": "core/
|
|
128155
|
+
"name": "SbbFormAssociatedMixin",
|
|
128156
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
127870
128157
|
}
|
|
127871
128158
|
}
|
|
127872
128159
|
]
|
|
@@ -127875,699 +128162,371 @@
|
|
|
127875
128162
|
"exports": [
|
|
127876
128163
|
{
|
|
127877
128164
|
"kind": "js",
|
|
127878
|
-
"name": "
|
|
128165
|
+
"name": "SbbMenuButtonElement",
|
|
127879
128166
|
"declaration": {
|
|
127880
|
-
"name": "
|
|
127881
|
-
"module": "menu/menu-
|
|
128167
|
+
"name": "SbbMenuButtonElement",
|
|
128168
|
+
"module": "menu/menu-button/menu-button.component.js"
|
|
127882
128169
|
}
|
|
127883
128170
|
}
|
|
127884
128171
|
]
|
|
127885
128172
|
},
|
|
127886
128173
|
{
|
|
127887
128174
|
"kind": "javascript-module",
|
|
127888
|
-
"path": "menu/menu-
|
|
128175
|
+
"path": "menu/menu-link/menu-link.component.js",
|
|
127889
128176
|
"declarations": [
|
|
127890
128177
|
{
|
|
127891
128178
|
"kind": "class",
|
|
127892
|
-
"description": "It displays a
|
|
127893
|
-
"name": "
|
|
128179
|
+
"description": "It displays a link element that can be used in the `sbb-menu` component.",
|
|
128180
|
+
"name": "SbbMenuLinkElement",
|
|
127894
128181
|
"cssProperties": [
|
|
127895
128182
|
{
|
|
127896
128183
|
"description": "Can be used to modify horizontal padding.",
|
|
127897
128184
|
"name": "--sbb-menu-action-outer-horizontal-padding",
|
|
127898
128185
|
"default": "var(--sbb-spacing-fixed-3x)"
|
|
127899
|
-
}
|
|
127900
|
-
],
|
|
127901
|
-
"slots": [
|
|
127902
|
-
{
|
|
127903
|
-
"description": "Use the unnamed slot to add content to the `sbb-menu-button`.",
|
|
127904
|
-
"name": ""
|
|
127905
|
-
},
|
|
127906
|
-
{
|
|
127907
|
-
"description": "Use this slot to provide an icon. If `icon-name` is set, a `sbb-icon` will be used.",
|
|
127908
|
-
"name": "icon"
|
|
127909
|
-
}
|
|
127910
|
-
],
|
|
127911
|
-
"members": [
|
|
127912
|
-
{
|
|
127913
|
-
"kind": "field",
|
|
127914
|
-
"name": "elementName",
|
|
127915
|
-
"type": {
|
|
127916
|
-
"text": "string"
|
|
127917
|
-
},
|
|
127918
|
-
"privacy": "public",
|
|
127919
|
-
"static": true,
|
|
127920
|
-
"readonly": true,
|
|
127921
|
-
"inheritedFrom": {
|
|
127922
|
-
"name": "SbbElement",
|
|
127923
|
-
"module": "core/base-elements/element.js"
|
|
127924
|
-
},
|
|
127925
|
-
"default": "'sbb-menu-button'"
|
|
127926
|
-
},
|
|
127927
|
-
{
|
|
127928
|
-
"kind": "field",
|
|
127929
|
-
"name": "role",
|
|
127930
|
-
"type": {
|
|
127931
|
-
"text": "ElementInternals['role']"
|
|
127932
|
-
},
|
|
127933
|
-
"privacy": "public",
|
|
127934
|
-
"static": true,
|
|
127935
|
-
"inheritedFrom": {
|
|
127936
|
-
"name": "SbbElement",
|
|
127937
|
-
"module": "core/base-elements/element.js"
|
|
127938
|
-
},
|
|
127939
|
-
"readonly": true,
|
|
127940
|
-
"default": "'menuitem'"
|
|
127941
|
-
},
|
|
127942
|
-
{
|
|
127943
|
-
"kind": "field",
|
|
127944
|
-
"name": "disabledInteractive",
|
|
127945
|
-
"type": {
|
|
127946
|
-
"text": "boolean"
|
|
127947
|
-
},
|
|
127948
|
-
"privacy": "public",
|
|
127949
|
-
"default": "false",
|
|
127950
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
127951
|
-
"attribute": "disabled-interactive",
|
|
127952
|
-
"reflects": true,
|
|
127953
|
-
"inheritedFrom": {
|
|
127954
|
-
"name": "SbbDisabledInteractiveMixin",
|
|
127955
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
127956
|
-
}
|
|
127957
|
-
},
|
|
127958
|
-
{
|
|
127959
|
-
"kind": "field",
|
|
127960
|
-
"name": "disabled",
|
|
127961
|
-
"privacy": "public",
|
|
127962
|
-
"description": "Whether the component is disabled.",
|
|
127963
|
-
"default": "false",
|
|
127964
|
-
"type": {
|
|
127965
|
-
"text": "boolean"
|
|
127966
|
-
},
|
|
127967
|
-
"attribute": "disabled",
|
|
127968
|
-
"reflects": true,
|
|
127969
|
-
"inheritedFrom": {
|
|
127970
|
-
"name": "SbbDisabledMixin",
|
|
127971
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
127972
|
-
}
|
|
127973
|
-
},
|
|
127974
|
-
{
|
|
127975
|
-
"kind": "field",
|
|
127976
|
-
"name": "#disabled",
|
|
127977
|
-
"privacy": "private",
|
|
127978
|
-
"type": {
|
|
127979
|
-
"text": "boolean"
|
|
127980
|
-
},
|
|
127981
|
-
"default": "false",
|
|
127982
|
-
"inheritedFrom": {
|
|
127983
|
-
"name": "SbbDisabledMixin",
|
|
127984
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
127985
|
-
}
|
|
127986
|
-
},
|
|
127987
|
-
{
|
|
127988
|
-
"kind": "method",
|
|
127989
|
-
"name": "isDisabledExternally",
|
|
127990
|
-
"privacy": "protected",
|
|
127991
|
-
"return": {
|
|
127992
|
-
"type": {
|
|
127993
|
-
"text": "boolean"
|
|
127994
|
-
}
|
|
127995
|
-
},
|
|
127996
|
-
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
127997
|
-
"inheritedFrom": {
|
|
127998
|
-
"name": "SbbDisabledMixin",
|
|
127999
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
128000
|
-
}
|
|
128001
|
-
},
|
|
128002
|
-
{
|
|
128003
|
-
"kind": "field",
|
|
128004
|
-
"name": "styles",
|
|
128005
|
-
"type": {
|
|
128006
|
-
"text": "CSSResultGroup"
|
|
128007
|
-
},
|
|
128008
|
-
"privacy": "public",
|
|
128009
|
-
"static": true,
|
|
128010
|
-
"default": "[boxSizingStyles, unsafeCSS(style)]",
|
|
128011
|
-
"inheritedFrom": {
|
|
128012
|
-
"name": "SbbMenuActionCommonElementMixin",
|
|
128013
|
-
"module": "menu/common/menu-action-common.js"
|
|
128014
|
-
}
|
|
128015
|
-
},
|
|
128016
|
-
{
|
|
128017
|
-
"kind": "method",
|
|
128018
|
-
"name": "renderTemplate",
|
|
128019
|
-
"privacy": "protected",
|
|
128020
|
-
"return": {
|
|
128021
|
-
"type": {
|
|
128022
|
-
"text": "TemplateResult"
|
|
128023
|
-
}
|
|
128024
|
-
},
|
|
128025
|
-
"description": "Override this method to render the component template.",
|
|
128026
|
-
"inheritedFrom": {
|
|
128027
|
-
"name": "SbbActionBaseElement",
|
|
128028
|
-
"module": "core/base-elements/action-base-element.js"
|
|
128029
|
-
}
|
|
128030
|
-
},
|
|
128031
|
-
{
|
|
128032
|
-
"kind": "field",
|
|
128033
|
-
"name": "elementDependencies",
|
|
128034
|
-
"type": {
|
|
128035
|
-
"text": "SbbElementType[]"
|
|
128036
|
-
},
|
|
128037
|
-
"privacy": "public",
|
|
128038
|
-
"static": true,
|
|
128039
|
-
"inheritedFrom": {
|
|
128040
|
-
"name": "SbbElement",
|
|
128041
|
-
"module": "core/base-elements/element.js"
|
|
128042
|
-
},
|
|
128043
|
-
"default": "[SbbIconElement]"
|
|
128044
|
-
},
|
|
128045
|
-
{
|
|
128046
|
-
"kind": "field",
|
|
128047
|
-
"name": "iconName",
|
|
128048
|
-
"type": {
|
|
128049
|
-
"text": "string"
|
|
128050
|
-
},
|
|
128051
|
-
"privacy": "public",
|
|
128052
|
-
"default": "''",
|
|
128053
|
-
"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.",
|
|
128054
|
-
"attribute": "icon-name",
|
|
128055
|
-
"inheritedFrom": {
|
|
128056
|
-
"name": "SbbIconNameMixin",
|
|
128057
|
-
"module": "icon/icon-name-mixin.js"
|
|
128058
|
-
}
|
|
128059
|
-
},
|
|
128060
|
-
{
|
|
128061
|
-
"kind": "method",
|
|
128062
|
-
"name": "renderIconSlot",
|
|
128063
|
-
"privacy": "protected",
|
|
128064
|
-
"return": {
|
|
128065
|
-
"type": {
|
|
128066
|
-
"text": "TemplateResult"
|
|
128067
|
-
}
|
|
128068
|
-
},
|
|
128069
|
-
"parameters": [
|
|
128070
|
-
{
|
|
128071
|
-
"name": "classname",
|
|
128072
|
-
"optional": true,
|
|
128073
|
-
"type": {
|
|
128074
|
-
"text": "string"
|
|
128075
|
-
}
|
|
128076
|
-
}
|
|
128077
|
-
],
|
|
128078
|
-
"inheritedFrom": {
|
|
128079
|
-
"name": "SbbIconNameMixin",
|
|
128080
|
-
"module": "icon/icon-name-mixin.js"
|
|
128081
|
-
}
|
|
128082
|
-
},
|
|
128083
|
-
{
|
|
128084
|
-
"kind": "method",
|
|
128085
|
-
"name": "renderIconName",
|
|
128086
|
-
"privacy": "protected",
|
|
128087
|
-
"return": {
|
|
128088
|
-
"type": {
|
|
128089
|
-
"text": "string"
|
|
128090
|
-
}
|
|
128091
|
-
},
|
|
128092
|
-
"inheritedFrom": {
|
|
128093
|
-
"name": "SbbIconNameMixin",
|
|
128094
|
-
"module": "icon/icon-name-mixin.js"
|
|
128095
|
-
}
|
|
128096
|
-
},
|
|
128097
|
-
{
|
|
128098
|
-
"kind": "method",
|
|
128099
|
-
"name": "_renderIconName",
|
|
128100
|
-
"privacy": "private",
|
|
128101
|
-
"return": {
|
|
128102
|
-
"type": {
|
|
128103
|
-
"text": "string"
|
|
128104
|
-
}
|
|
128105
|
-
},
|
|
128106
|
-
"inheritedFrom": {
|
|
128107
|
-
"name": "SbbIconNameMixin",
|
|
128108
|
-
"module": "icon/icon-name-mixin.js"
|
|
128109
|
-
}
|
|
128110
|
-
},
|
|
128111
|
-
{
|
|
128112
|
-
"kind": "field",
|
|
128113
|
-
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
128114
|
-
"type": {
|
|
128115
|
-
"text": "array"
|
|
128116
|
-
},
|
|
128117
|
-
"privacy": "private",
|
|
128118
|
-
"readonly": true,
|
|
128119
|
-
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
128120
|
-
"inheritedFrom": {
|
|
128121
|
-
"name": "SbbButtonBaseElement",
|
|
128122
|
-
"module": "core/base-elements/button-base-element.js"
|
|
128123
|
-
}
|
|
128124
|
-
},
|
|
128125
|
-
{
|
|
128126
|
-
"kind": "field",
|
|
128127
|
-
"name": "value",
|
|
128128
|
-
"type": {
|
|
128129
|
-
"text": "string"
|
|
128130
|
-
},
|
|
128131
|
-
"privacy": "public",
|
|
128132
|
-
"inheritedFrom": {
|
|
128133
|
-
"name": "SbbButtonBaseElement",
|
|
128134
|
-
"module": "core/base-elements/button-base-element.js"
|
|
128135
|
-
},
|
|
128136
|
-
"default": "''",
|
|
128137
|
-
"description": "Value of the form element.",
|
|
128138
|
-
"attribute": "value"
|
|
128139
|
-
},
|
|
128140
|
-
{
|
|
128141
|
-
"kind": "field",
|
|
128142
|
-
"name": "type",
|
|
128143
|
-
"privacy": "public",
|
|
128144
|
-
"description": "The type attribute to use for the button.",
|
|
128145
|
-
"default": "'button'",
|
|
128146
|
-
"type": {
|
|
128147
|
-
"text": "SbbButtonType"
|
|
128148
|
-
},
|
|
128149
|
-
"attribute": "type",
|
|
128150
|
-
"inheritedFrom": {
|
|
128151
|
-
"name": "SbbButtonBaseElement",
|
|
128152
|
-
"module": "core/base-elements/button-base-element.js"
|
|
128153
|
-
}
|
|
128154
|
-
},
|
|
128155
|
-
{
|
|
128156
|
-
"kind": "field",
|
|
128157
|
-
"name": "form",
|
|
128158
|
-
"type": {
|
|
128159
|
-
"text": "HTMLFormElement | null"
|
|
128160
|
-
},
|
|
128161
|
-
"privacy": "public",
|
|
128162
|
-
"description": "The `<form>` element to associate the button with.",
|
|
128163
|
-
"inheritedFrom": {
|
|
128164
|
-
"name": "SbbButtonBaseElement",
|
|
128165
|
-
"module": "core/base-elements/button-base-element.js"
|
|
128166
|
-
},
|
|
128167
|
-
"attribute": "form"
|
|
128168
|
-
},
|
|
128169
|
-
{
|
|
128170
|
-
"kind": "field",
|
|
128171
|
-
"name": "_formId",
|
|
128172
|
-
"type": {
|
|
128173
|
-
"text": "string"
|
|
128174
|
-
},
|
|
128175
|
-
"privacy": "private",
|
|
128176
|
-
"default": "''",
|
|
128177
|
-
"inheritedFrom": {
|
|
128178
|
-
"name": "SbbButtonBaseElement",
|
|
128179
|
-
"module": "core/base-elements/button-base-element.js"
|
|
128180
|
-
}
|
|
128181
|
-
},
|
|
128182
|
-
{
|
|
128183
|
-
"kind": "field",
|
|
128184
|
-
"name": "_handleButtonClick",
|
|
128185
|
-
"privacy": "private",
|
|
128186
|
-
"inheritedFrom": {
|
|
128187
|
-
"name": "SbbButtonBaseElement",
|
|
128188
|
-
"module": "core/base-elements/button-base-element.js"
|
|
128189
|
-
}
|
|
128190
|
-
},
|
|
128191
|
-
{
|
|
128192
|
-
"kind": "method",
|
|
128193
|
-
"name": "_requestSubmit",
|
|
128194
|
-
"privacy": "private",
|
|
128195
|
-
"return": {
|
|
128196
|
-
"type": {
|
|
128197
|
-
"text": "void"
|
|
128198
|
-
}
|
|
128199
|
-
},
|
|
128200
|
-
"parameters": [
|
|
128201
|
-
{
|
|
128202
|
-
"name": "form",
|
|
128203
|
-
"type": {
|
|
128204
|
-
"text": "HTMLFormElement"
|
|
128205
|
-
}
|
|
128206
|
-
}
|
|
128207
|
-
],
|
|
128208
|
-
"inheritedFrom": {
|
|
128209
|
-
"name": "SbbButtonBaseElement",
|
|
128210
|
-
"module": "core/base-elements/button-base-element.js"
|
|
128211
|
-
}
|
|
128212
|
-
},
|
|
128213
|
-
{
|
|
128214
|
-
"kind": "field",
|
|
128215
|
-
"name": "_formKeyDown",
|
|
128216
|
-
"privacy": "private",
|
|
128217
|
-
"inheritedFrom": {
|
|
128218
|
-
"name": "SbbButtonBaseElement",
|
|
128219
|
-
"module": "core/base-elements/button-base-element.js"
|
|
128220
|
-
}
|
|
128221
|
-
},
|
|
128222
|
-
{
|
|
128223
|
-
"kind": "field",
|
|
128224
|
-
"name": "formAssociated",
|
|
128225
|
-
"type": {
|
|
128226
|
-
"text": "boolean"
|
|
128227
|
-
},
|
|
128228
|
-
"privacy": "public",
|
|
128229
|
-
"static": true,
|
|
128230
|
-
"default": "true",
|
|
128231
|
-
"inheritedFrom": {
|
|
128232
|
-
"name": "SbbFormAssociatedMixin",
|
|
128233
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
128234
|
-
}
|
|
128235
|
-
},
|
|
128186
|
+
}
|
|
128187
|
+
],
|
|
128188
|
+
"slots": [
|
|
128236
128189
|
{
|
|
128237
|
-
"
|
|
128238
|
-
"name": "
|
|
128239
|
-
"privacy": "public",
|
|
128240
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
128241
|
-
"type": {
|
|
128242
|
-
"text": "string"
|
|
128243
|
-
},
|
|
128244
|
-
"attribute": "name",
|
|
128245
|
-
"inheritedFrom": {
|
|
128246
|
-
"name": "SbbFormAssociatedMixin",
|
|
128247
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
128248
|
-
}
|
|
128190
|
+
"description": "Use the unnamed slot to add content to the `sbb-menu-link`.",
|
|
128191
|
+
"name": ""
|
|
128249
128192
|
},
|
|
128193
|
+
{
|
|
128194
|
+
"description": "Use this slot to provide an icon. If `icon-name` is set, a `sbb-icon` will be used.",
|
|
128195
|
+
"name": "icon"
|
|
128196
|
+
}
|
|
128197
|
+
],
|
|
128198
|
+
"members": [
|
|
128250
128199
|
{
|
|
128251
128200
|
"kind": "field",
|
|
128252
|
-
"name": "
|
|
128201
|
+
"name": "elementName",
|
|
128253
128202
|
"type": {
|
|
128254
|
-
"text": "
|
|
128203
|
+
"text": "string"
|
|
128255
128204
|
},
|
|
128256
128205
|
"privacy": "public",
|
|
128257
|
-
"
|
|
128206
|
+
"static": true,
|
|
128258
128207
|
"readonly": true,
|
|
128259
128208
|
"inheritedFrom": {
|
|
128260
|
-
"name": "
|
|
128261
|
-
"module": "core/
|
|
128262
|
-
}
|
|
128209
|
+
"name": "SbbElement",
|
|
128210
|
+
"module": "core/base-elements/element.js"
|
|
128211
|
+
},
|
|
128212
|
+
"default": "'sbb-menu-link'"
|
|
128263
128213
|
},
|
|
128264
128214
|
{
|
|
128265
128215
|
"kind": "field",
|
|
128266
|
-
"name": "
|
|
128216
|
+
"name": "anchorRole",
|
|
128267
128217
|
"type": {
|
|
128268
128218
|
"text": "string"
|
|
128269
128219
|
},
|
|
128270
|
-
"privacy": "
|
|
128271
|
-
"description": "Returns the current error message, if available, which corresponds\nto the current validation state.\nPlease note that only one message is returned at a time (e.g. if\nmultiple validity states are invalid, only the chronologically first one\nis returned until it is fixed, at which point the next message might be\nreturned, if it is still applicable). Also, a custom validity message\n(see below) has precedence over native validation messages.",
|
|
128220
|
+
"privacy": "protected",
|
|
128272
128221
|
"readonly": true,
|
|
128222
|
+
"default": "'menuitem'",
|
|
128273
128223
|
"inheritedFrom": {
|
|
128274
|
-
"name": "
|
|
128275
|
-
"module": "core/
|
|
128224
|
+
"name": "SbbLinkBaseElement",
|
|
128225
|
+
"module": "core/base-elements/link-base-element.js"
|
|
128276
128226
|
}
|
|
128277
128227
|
},
|
|
128278
128228
|
{
|
|
128279
128229
|
"kind": "field",
|
|
128280
|
-
"name": "
|
|
128230
|
+
"name": "disabledInteractive",
|
|
128281
128231
|
"type": {
|
|
128282
128232
|
"text": "boolean"
|
|
128283
128233
|
},
|
|
128284
128234
|
"privacy": "public",
|
|
128285
|
-
"
|
|
128286
|
-
"
|
|
128287
|
-
"
|
|
128288
|
-
|
|
128289
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
128290
|
-
}
|
|
128291
|
-
},
|
|
128292
|
-
{
|
|
128293
|
-
"kind": "field",
|
|
128294
|
-
"name": "_validityStates",
|
|
128295
|
-
"privacy": "private",
|
|
128296
|
-
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
128235
|
+
"default": "false",
|
|
128236
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
128237
|
+
"attribute": "disabled-interactive",
|
|
128238
|
+
"reflects": true,
|
|
128297
128239
|
"inheritedFrom": {
|
|
128298
|
-
"name": "
|
|
128299
|
-
"module": "core/mixins/
|
|
128240
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
128241
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
128300
128242
|
}
|
|
128301
128243
|
},
|
|
128302
128244
|
{
|
|
128303
128245
|
"kind": "field",
|
|
128304
|
-
"name": "
|
|
128246
|
+
"name": "styles",
|
|
128305
128247
|
"type": {
|
|
128306
|
-
"text": "
|
|
128248
|
+
"text": "CSSResultGroup"
|
|
128307
128249
|
},
|
|
128308
|
-
"privacy": "
|
|
128309
|
-
"
|
|
128310
|
-
"
|
|
128250
|
+
"privacy": "public",
|
|
128251
|
+
"static": true,
|
|
128252
|
+
"default": "[boxSizingStyles, unsafeCSS(style)]",
|
|
128311
128253
|
"inheritedFrom": {
|
|
128312
|
-
"name": "
|
|
128313
|
-
"module": "
|
|
128254
|
+
"name": "SbbMenuActionCommonElementMixin",
|
|
128255
|
+
"module": "menu/common/menu-action-common.js"
|
|
128314
128256
|
}
|
|
128315
128257
|
},
|
|
128316
128258
|
{
|
|
128317
128259
|
"kind": "method",
|
|
128318
|
-
"name": "
|
|
128319
|
-
"privacy": "
|
|
128260
|
+
"name": "renderTemplate",
|
|
128261
|
+
"privacy": "protected",
|
|
128320
128262
|
"return": {
|
|
128321
128263
|
"type": {
|
|
128322
|
-
"text": "
|
|
128264
|
+
"text": "TemplateResult"
|
|
128323
128265
|
}
|
|
128324
128266
|
},
|
|
128325
|
-
"description": "
|
|
128267
|
+
"description": "Override this method to render the component template.",
|
|
128326
128268
|
"inheritedFrom": {
|
|
128327
|
-
"name": "
|
|
128328
|
-
"module": "core/
|
|
128269
|
+
"name": "SbbActionBaseElement",
|
|
128270
|
+
"module": "core/base-elements/action-base-element.js"
|
|
128329
128271
|
}
|
|
128330
128272
|
},
|
|
128331
128273
|
{
|
|
128332
|
-
"kind": "
|
|
128333
|
-
"name": "
|
|
128274
|
+
"kind": "field",
|
|
128275
|
+
"name": "elementDependencies",
|
|
128276
|
+
"type": {
|
|
128277
|
+
"text": "SbbElementType[]"
|
|
128278
|
+
},
|
|
128334
128279
|
"privacy": "public",
|
|
128335
|
-
"
|
|
128336
|
-
|
|
128337
|
-
|
|
128338
|
-
|
|
128280
|
+
"static": true,
|
|
128281
|
+
"inheritedFrom": {
|
|
128282
|
+
"name": "SbbElement",
|
|
128283
|
+
"module": "core/base-elements/element.js"
|
|
128339
128284
|
},
|
|
128340
|
-
"
|
|
128285
|
+
"default": "[SbbIconElement]"
|
|
128286
|
+
},
|
|
128287
|
+
{
|
|
128288
|
+
"kind": "field",
|
|
128289
|
+
"name": "iconName",
|
|
128290
|
+
"type": {
|
|
128291
|
+
"text": "string"
|
|
128292
|
+
},
|
|
128293
|
+
"privacy": "public",
|
|
128294
|
+
"default": "''",
|
|
128295
|
+
"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.",
|
|
128296
|
+
"attribute": "icon-name",
|
|
128341
128297
|
"inheritedFrom": {
|
|
128342
|
-
"name": "
|
|
128343
|
-
"module": "
|
|
128298
|
+
"name": "SbbIconNameMixin",
|
|
128299
|
+
"module": "icon/icon-name-mixin.js"
|
|
128344
128300
|
}
|
|
128345
128301
|
},
|
|
128346
128302
|
{
|
|
128347
128303
|
"kind": "method",
|
|
128348
|
-
"name": "
|
|
128349
|
-
"privacy": "
|
|
128304
|
+
"name": "renderIconSlot",
|
|
128305
|
+
"privacy": "protected",
|
|
128350
128306
|
"return": {
|
|
128351
128307
|
"type": {
|
|
128352
|
-
"text": "
|
|
128308
|
+
"text": "TemplateResult"
|
|
128353
128309
|
}
|
|
128354
128310
|
},
|
|
128355
128311
|
"parameters": [
|
|
128356
128312
|
{
|
|
128357
|
-
"name": "
|
|
128313
|
+
"name": "classname",
|
|
128314
|
+
"optional": true,
|
|
128358
128315
|
"type": {
|
|
128359
128316
|
"text": "string"
|
|
128360
128317
|
}
|
|
128361
128318
|
}
|
|
128362
128319
|
],
|
|
128363
|
-
"description": "Sets the custom validity message for this element. Use the empty string\nto indicate that the element does not have a custom validity error.",
|
|
128364
128320
|
"inheritedFrom": {
|
|
128365
|
-
"name": "
|
|
128366
|
-
"module": "
|
|
128321
|
+
"name": "SbbIconNameMixin",
|
|
128322
|
+
"module": "icon/icon-name-mixin.js"
|
|
128367
128323
|
}
|
|
128368
128324
|
},
|
|
128369
128325
|
{
|
|
128370
128326
|
"kind": "method",
|
|
128371
|
-
"name": "
|
|
128372
|
-
"privacy": "
|
|
128327
|
+
"name": "renderIconName",
|
|
128328
|
+
"privacy": "protected",
|
|
128373
128329
|
"return": {
|
|
128374
128330
|
"type": {
|
|
128375
|
-
"text": "
|
|
128331
|
+
"text": "string"
|
|
128376
128332
|
}
|
|
128377
128333
|
},
|
|
128378
128334
|
"inheritedFrom": {
|
|
128379
|
-
"name": "
|
|
128380
|
-
"module": "
|
|
128335
|
+
"name": "SbbIconNameMixin",
|
|
128336
|
+
"module": "icon/icon-name-mixin.js"
|
|
128381
128337
|
}
|
|
128382
128338
|
},
|
|
128383
128339
|
{
|
|
128384
128340
|
"kind": "method",
|
|
128385
|
-
"name": "
|
|
128386
|
-
"privacy": "
|
|
128341
|
+
"name": "_renderIconName",
|
|
128342
|
+
"privacy": "private",
|
|
128387
128343
|
"return": {
|
|
128388
128344
|
"type": {
|
|
128389
|
-
"text": "
|
|
128345
|
+
"text": "string"
|
|
128390
128346
|
}
|
|
128391
128347
|
},
|
|
128392
|
-
"description": "Should be called when form value is changed.\nAdapts and sets the formValue in the supported format (string | FormData | File | null)\nhttps://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/setFormValue",
|
|
128393
128348
|
"inheritedFrom": {
|
|
128394
|
-
"name": "
|
|
128395
|
-
"module": "
|
|
128349
|
+
"name": "SbbIconNameMixin",
|
|
128350
|
+
"module": "icon/icon-name-mixin.js"
|
|
128396
128351
|
}
|
|
128397
128352
|
},
|
|
128398
128353
|
{
|
|
128399
|
-
"kind": "
|
|
128400
|
-
"name": "
|
|
128401
|
-
"privacy": "
|
|
128402
|
-
"
|
|
128403
|
-
|
|
128404
|
-
|
|
128405
|
-
|
|
128354
|
+
"kind": "field",
|
|
128355
|
+
"name": "disabled",
|
|
128356
|
+
"privacy": "public",
|
|
128357
|
+
"description": "Whether the component is disabled.",
|
|
128358
|
+
"default": "false",
|
|
128359
|
+
"type": {
|
|
128360
|
+
"text": "boolean"
|
|
128406
128361
|
},
|
|
128362
|
+
"attribute": "disabled",
|
|
128363
|
+
"reflects": true,
|
|
128407
128364
|
"inheritedFrom": {
|
|
128408
|
-
"name": "
|
|
128409
|
-
"module": "core/mixins/
|
|
128365
|
+
"name": "SbbDisabledMixin",
|
|
128366
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
128410
128367
|
}
|
|
128411
128368
|
},
|
|
128412
128369
|
{
|
|
128413
|
-
"kind": "
|
|
128414
|
-
"name": "
|
|
128415
|
-
"privacy": "
|
|
128416
|
-
"
|
|
128417
|
-
"
|
|
128418
|
-
"text": "void"
|
|
128419
|
-
}
|
|
128370
|
+
"kind": "field",
|
|
128371
|
+
"name": "#disabled",
|
|
128372
|
+
"privacy": "private",
|
|
128373
|
+
"type": {
|
|
128374
|
+
"text": "boolean"
|
|
128420
128375
|
},
|
|
128421
|
-
"
|
|
128422
|
-
{
|
|
128423
|
-
"name": "flag",
|
|
128424
|
-
"type": {
|
|
128425
|
-
"text": "T"
|
|
128426
|
-
}
|
|
128427
|
-
},
|
|
128428
|
-
{
|
|
128429
|
-
"name": "message",
|
|
128430
|
-
"type": {
|
|
128431
|
-
"text": "string"
|
|
128432
|
-
}
|
|
128433
|
-
},
|
|
128434
|
-
{
|
|
128435
|
-
"name": "flagValue",
|
|
128436
|
-
"optional": true,
|
|
128437
|
-
"type": {
|
|
128438
|
-
"text": "ValidityStateFlags[T]"
|
|
128439
|
-
}
|
|
128440
|
-
}
|
|
128441
|
-
],
|
|
128442
|
-
"description": "Marks this element as suffering from the constraint indicated by the\nflag argument and associates the given message to it.\nNote that only one message is displayed at a time and custom messages by\nconsumers are always displayed before internal messages and internal\nmessages are displayed in the order they were added.\nTo set/define custom validity state flags, you need to extend the\nValidityState prototype (and the CustomValidityState interface).",
|
|
128376
|
+
"default": "false",
|
|
128443
128377
|
"inheritedFrom": {
|
|
128444
|
-
"name": "
|
|
128445
|
-
"module": "core/mixins/
|
|
128378
|
+
"name": "SbbDisabledMixin",
|
|
128379
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
128446
128380
|
}
|
|
128447
128381
|
},
|
|
128448
128382
|
{
|
|
128449
128383
|
"kind": "method",
|
|
128450
|
-
"name": "
|
|
128384
|
+
"name": "isDisabledExternally",
|
|
128451
128385
|
"privacy": "protected",
|
|
128452
128386
|
"return": {
|
|
128453
128387
|
"type": {
|
|
128454
|
-
"text": "
|
|
128388
|
+
"text": "boolean"
|
|
128455
128389
|
}
|
|
128456
128390
|
},
|
|
128457
|
-
"
|
|
128458
|
-
{
|
|
128459
|
-
"name": "flag",
|
|
128460
|
-
"type": {
|
|
128461
|
-
"text": "T"
|
|
128462
|
-
}
|
|
128463
|
-
}
|
|
128464
|
-
],
|
|
128465
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
128391
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
128466
128392
|
"inheritedFrom": {
|
|
128467
|
-
"name": "
|
|
128468
|
-
"module": "core/mixins/
|
|
128393
|
+
"name": "SbbDisabledMixin",
|
|
128394
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
128469
128395
|
}
|
|
128470
128396
|
},
|
|
128471
128397
|
{
|
|
128472
|
-
"kind": "
|
|
128473
|
-
"name": "
|
|
128474
|
-
"
|
|
128475
|
-
|
|
128476
|
-
"type": {
|
|
128477
|
-
"text": "void"
|
|
128478
|
-
}
|
|
128398
|
+
"kind": "field",
|
|
128399
|
+
"name": "href",
|
|
128400
|
+
"type": {
|
|
128401
|
+
"text": "string"
|
|
128479
128402
|
},
|
|
128480
|
-
"
|
|
128403
|
+
"privacy": "public",
|
|
128404
|
+
"default": "''",
|
|
128405
|
+
"description": "The href value you want to link to.",
|
|
128406
|
+
"attribute": "href",
|
|
128407
|
+
"reflects": true,
|
|
128481
128408
|
"inheritedFrom": {
|
|
128482
|
-
"name": "
|
|
128483
|
-
"module": "core/
|
|
128409
|
+
"name": "SbbLinkBaseElement",
|
|
128410
|
+
"module": "core/base-elements/link-base-element.js"
|
|
128484
128411
|
}
|
|
128485
128412
|
},
|
|
128486
128413
|
{
|
|
128487
|
-
"kind": "
|
|
128488
|
-
"name": "
|
|
128489
|
-
"
|
|
128490
|
-
|
|
128491
|
-
"type": {
|
|
128492
|
-
"text": "boolean"
|
|
128493
|
-
}
|
|
128414
|
+
"kind": "field",
|
|
128415
|
+
"name": "target",
|
|
128416
|
+
"type": {
|
|
128417
|
+
"text": "LinkTargetType | string"
|
|
128494
128418
|
},
|
|
128495
|
-
"
|
|
128496
|
-
|
|
128497
|
-
|
|
128498
|
-
|
|
128499
|
-
|
|
128500
|
-
}
|
|
128501
|
-
}
|
|
128502
|
-
],
|
|
128503
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
128419
|
+
"privacy": "public",
|
|
128420
|
+
"default": "''",
|
|
128421
|
+
"description": "Where to display the linked URL.",
|
|
128422
|
+
"attribute": "target",
|
|
128423
|
+
"reflects": true,
|
|
128504
128424
|
"inheritedFrom": {
|
|
128505
|
-
"name": "
|
|
128506
|
-
"module": "core/
|
|
128425
|
+
"name": "SbbLinkBaseElement",
|
|
128426
|
+
"module": "core/base-elements/link-base-element.js"
|
|
128507
128427
|
}
|
|
128508
128428
|
},
|
|
128509
128429
|
{
|
|
128510
|
-
"kind": "
|
|
128511
|
-
"name": "
|
|
128512
|
-
"
|
|
128513
|
-
|
|
128514
|
-
"type": {
|
|
128515
|
-
"text": "void"
|
|
128516
|
-
}
|
|
128430
|
+
"kind": "field",
|
|
128431
|
+
"name": "rel",
|
|
128432
|
+
"type": {
|
|
128433
|
+
"text": "string"
|
|
128517
128434
|
},
|
|
128435
|
+
"privacy": "public",
|
|
128436
|
+
"default": "''",
|
|
128437
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
128438
|
+
"attribute": "rel",
|
|
128439
|
+
"reflects": true,
|
|
128518
128440
|
"inheritedFrom": {
|
|
128519
|
-
"name": "
|
|
128520
|
-
"module": "core/
|
|
128441
|
+
"name": "SbbLinkBaseElement",
|
|
128442
|
+
"module": "core/base-elements/link-base-element.js"
|
|
128521
128443
|
}
|
|
128522
128444
|
},
|
|
128523
128445
|
{
|
|
128524
128446
|
"kind": "field",
|
|
128525
|
-
"name": "
|
|
128526
|
-
"
|
|
128527
|
-
|
|
128528
|
-
|
|
128529
|
-
|
|
128530
|
-
|
|
128531
|
-
|
|
128532
|
-
|
|
128533
|
-
|
|
128447
|
+
"name": "download",
|
|
128448
|
+
"type": {
|
|
128449
|
+
"text": "boolean"
|
|
128450
|
+
},
|
|
128451
|
+
"privacy": "public",
|
|
128452
|
+
"default": "false",
|
|
128453
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
128454
|
+
"attribute": "download",
|
|
128455
|
+
"reflects": true,
|
|
128534
128456
|
"inheritedFrom": {
|
|
128535
|
-
"name": "
|
|
128536
|
-
"module": "core/base-elements/
|
|
128457
|
+
"name": "SbbLinkBaseElement",
|
|
128458
|
+
"module": "core/base-elements/link-base-element.js"
|
|
128537
128459
|
}
|
|
128538
128460
|
},
|
|
128539
128461
|
{
|
|
128540
128462
|
"kind": "field",
|
|
128541
|
-
"name": "
|
|
128542
|
-
"
|
|
128463
|
+
"name": "accessibilityLabel",
|
|
128464
|
+
"type": {
|
|
128465
|
+
"text": "string"
|
|
128466
|
+
},
|
|
128467
|
+
"privacy": "public",
|
|
128468
|
+
"default": "''",
|
|
128469
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
128470
|
+
"attribute": "accessibility-label",
|
|
128543
128471
|
"inheritedFrom": {
|
|
128544
|
-
"name": "
|
|
128545
|
-
"module": "core/base-elements/
|
|
128472
|
+
"name": "SbbLinkBaseElement",
|
|
128473
|
+
"module": "core/base-elements/link-base-element.js"
|
|
128546
128474
|
}
|
|
128547
128475
|
},
|
|
128548
128476
|
{
|
|
128549
128477
|
"kind": "field",
|
|
128550
|
-
"name": "
|
|
128551
|
-
"
|
|
128552
|
-
|
|
128553
|
-
|
|
128554
|
-
|
|
128555
|
-
|
|
128556
|
-
|
|
128557
|
-
|
|
128558
|
-
],
|
|
128478
|
+
"name": "accessibilityCurrent",
|
|
128479
|
+
"type": {
|
|
128480
|
+
"text": "string"
|
|
128481
|
+
},
|
|
128482
|
+
"privacy": "public",
|
|
128483
|
+
"default": "''",
|
|
128484
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
128485
|
+
"attribute": "accessibility-current",
|
|
128559
128486
|
"inheritedFrom": {
|
|
128560
|
-
"name": "
|
|
128561
|
-
"module": "core/base-elements/
|
|
128487
|
+
"name": "SbbLinkBaseElement",
|
|
128488
|
+
"module": "core/base-elements/link-base-element.js"
|
|
128562
128489
|
}
|
|
128563
128490
|
},
|
|
128564
128491
|
{
|
|
128565
128492
|
"kind": "field",
|
|
128566
|
-
"name": "
|
|
128493
|
+
"name": "language",
|
|
128494
|
+
"privacy": "protected",
|
|
128495
|
+
"default": "new SbbLanguageController(this)",
|
|
128496
|
+
"inheritedFrom": {
|
|
128497
|
+
"name": "SbbLinkBaseElement",
|
|
128498
|
+
"module": "core/base-elements/link-base-element.js"
|
|
128499
|
+
}
|
|
128500
|
+
},
|
|
128501
|
+
{
|
|
128502
|
+
"kind": "field",
|
|
128503
|
+
"name": "_evaluateRelAttribute",
|
|
128567
128504
|
"privacy": "private",
|
|
128568
128505
|
"inheritedFrom": {
|
|
128569
|
-
"name": "
|
|
128570
|
-
"module": "core/base-elements/
|
|
128506
|
+
"name": "SbbLinkBaseElement",
|
|
128507
|
+
"module": "core/base-elements/link-base-element.js"
|
|
128508
|
+
}
|
|
128509
|
+
},
|
|
128510
|
+
{
|
|
128511
|
+
"kind": "method",
|
|
128512
|
+
"name": "renderLink",
|
|
128513
|
+
"privacy": "protected",
|
|
128514
|
+
"return": {
|
|
128515
|
+
"type": {
|
|
128516
|
+
"text": "TemplateResult"
|
|
128517
|
+
}
|
|
128518
|
+
},
|
|
128519
|
+
"parameters": [
|
|
128520
|
+
{
|
|
128521
|
+
"name": "renderContent",
|
|
128522
|
+
"type": {
|
|
128523
|
+
"text": "TemplateResult"
|
|
128524
|
+
}
|
|
128525
|
+
}
|
|
128526
|
+
],
|
|
128527
|
+
"inheritedFrom": {
|
|
128528
|
+
"name": "SbbLinkBaseElement",
|
|
128529
|
+
"module": "core/base-elements/link-base-element.js"
|
|
128571
128530
|
}
|
|
128572
128531
|
},
|
|
128573
128532
|
{
|
|
@@ -128624,6 +128583,19 @@
|
|
|
128624
128583
|
"module": "core/base-elements/element.js"
|
|
128625
128584
|
}
|
|
128626
128585
|
},
|
|
128586
|
+
{
|
|
128587
|
+
"kind": "field",
|
|
128588
|
+
"name": "role",
|
|
128589
|
+
"type": {
|
|
128590
|
+
"text": "ElementInternals['role'] | undefined"
|
|
128591
|
+
},
|
|
128592
|
+
"privacy": "public",
|
|
128593
|
+
"static": true,
|
|
128594
|
+
"inheritedFrom": {
|
|
128595
|
+
"name": "SbbElement",
|
|
128596
|
+
"module": "core/base-elements/element.js"
|
|
128597
|
+
}
|
|
128598
|
+
},
|
|
128627
128599
|
{
|
|
128628
128600
|
"kind": "field",
|
|
128629
128601
|
"name": "_controllers",
|
|
@@ -128846,7 +128818,7 @@
|
|
|
128846
128818
|
],
|
|
128847
128819
|
"mixins": [
|
|
128848
128820
|
{
|
|
128849
|
-
"name": "
|
|
128821
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
128850
128822
|
"module": "core.js"
|
|
128851
128823
|
},
|
|
128852
128824
|
{
|
|
@@ -128855,10 +128827,10 @@
|
|
|
128855
128827
|
}
|
|
128856
128828
|
],
|
|
128857
128829
|
"superclass": {
|
|
128858
|
-
"name": "
|
|
128830
|
+
"name": "SbbLinkBaseElement",
|
|
128859
128831
|
"module": "core.js"
|
|
128860
128832
|
},
|
|
128861
|
-
"tagName": "sbb-menu-
|
|
128833
|
+
"tagName": "sbb-menu-link",
|
|
128862
128834
|
"customElement": true,
|
|
128863
128835
|
"attributes": [
|
|
128864
128836
|
{
|
|
@@ -128874,6 +128846,19 @@
|
|
|
128874
128846
|
"module": "core/mixins/disabled-mixin.js"
|
|
128875
128847
|
}
|
|
128876
128848
|
},
|
|
128849
|
+
{
|
|
128850
|
+
"name": "icon-name",
|
|
128851
|
+
"type": {
|
|
128852
|
+
"text": "string"
|
|
128853
|
+
},
|
|
128854
|
+
"default": "''",
|
|
128855
|
+
"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.",
|
|
128856
|
+
"fieldName": "iconName",
|
|
128857
|
+
"inheritedFrom": {
|
|
128858
|
+
"name": "SbbIconNameMixin",
|
|
128859
|
+
"module": "icon/icon-name-mixin.js"
|
|
128860
|
+
}
|
|
128861
|
+
},
|
|
128877
128862
|
{
|
|
128878
128863
|
"name": "disabled",
|
|
128879
128864
|
"description": "Whether the component is disabled.",
|
|
@@ -128888,66 +128873,81 @@
|
|
|
128888
128873
|
}
|
|
128889
128874
|
},
|
|
128890
128875
|
{
|
|
128891
|
-
"name": "
|
|
128876
|
+
"name": "href",
|
|
128892
128877
|
"type": {
|
|
128893
128878
|
"text": "string"
|
|
128894
128879
|
},
|
|
128895
128880
|
"default": "''",
|
|
128896
|
-
"description": "The
|
|
128897
|
-
"fieldName": "
|
|
128881
|
+
"description": "The href value you want to link to.",
|
|
128882
|
+
"fieldName": "href",
|
|
128898
128883
|
"inheritedFrom": {
|
|
128899
|
-
"name": "
|
|
128900
|
-
"module": "
|
|
128884
|
+
"name": "SbbLinkBaseElement",
|
|
128885
|
+
"module": "core/base-elements/link-base-element.js"
|
|
128901
128886
|
}
|
|
128902
128887
|
},
|
|
128903
128888
|
{
|
|
128904
|
-
"name": "
|
|
128889
|
+
"name": "target",
|
|
128890
|
+
"type": {
|
|
128891
|
+
"text": "LinkTargetType | string"
|
|
128892
|
+
},
|
|
128893
|
+
"default": "''",
|
|
128894
|
+
"description": "Where to display the linked URL.",
|
|
128895
|
+
"fieldName": "target",
|
|
128896
|
+
"inheritedFrom": {
|
|
128897
|
+
"name": "SbbLinkBaseElement",
|
|
128898
|
+
"module": "core/base-elements/link-base-element.js"
|
|
128899
|
+
}
|
|
128900
|
+
},
|
|
128901
|
+
{
|
|
128902
|
+
"name": "rel",
|
|
128905
128903
|
"type": {
|
|
128906
128904
|
"text": "string"
|
|
128907
128905
|
},
|
|
128908
128906
|
"default": "''",
|
|
128909
|
-
"description": "
|
|
128910
|
-
"fieldName": "
|
|
128907
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
128908
|
+
"fieldName": "rel",
|
|
128911
128909
|
"inheritedFrom": {
|
|
128912
|
-
"name": "
|
|
128913
|
-
"module": "core/base-elements/
|
|
128910
|
+
"name": "SbbLinkBaseElement",
|
|
128911
|
+
"module": "core/base-elements/link-base-element.js"
|
|
128914
128912
|
}
|
|
128915
128913
|
},
|
|
128916
128914
|
{
|
|
128917
|
-
"name": "
|
|
128918
|
-
"description": "The type attribute to use for the button.",
|
|
128919
|
-
"default": "'button'",
|
|
128915
|
+
"name": "download",
|
|
128920
128916
|
"type": {
|
|
128921
|
-
"text": "
|
|
128917
|
+
"text": "boolean"
|
|
128922
128918
|
},
|
|
128923
|
-
"
|
|
128919
|
+
"default": "false",
|
|
128920
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
128921
|
+
"fieldName": "download",
|
|
128924
128922
|
"inheritedFrom": {
|
|
128925
|
-
"name": "
|
|
128926
|
-
"module": "core/base-elements/
|
|
128923
|
+
"name": "SbbLinkBaseElement",
|
|
128924
|
+
"module": "core/base-elements/link-base-element.js"
|
|
128927
128925
|
}
|
|
128928
128926
|
},
|
|
128929
128927
|
{
|
|
128930
|
-
"name": "
|
|
128931
|
-
"description": "The `<form>` element to associate the button with.",
|
|
128928
|
+
"name": "accessibility-label",
|
|
128932
128929
|
"type": {
|
|
128933
|
-
"text": "
|
|
128930
|
+
"text": "string"
|
|
128934
128931
|
},
|
|
128935
|
-
"
|
|
128932
|
+
"default": "''",
|
|
128933
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
128934
|
+
"fieldName": "accessibilityLabel",
|
|
128936
128935
|
"inheritedFrom": {
|
|
128937
|
-
"name": "
|
|
128938
|
-
"module": "core/base-elements/
|
|
128936
|
+
"name": "SbbLinkBaseElement",
|
|
128937
|
+
"module": "core/base-elements/link-base-element.js"
|
|
128939
128938
|
}
|
|
128940
128939
|
},
|
|
128941
128940
|
{
|
|
128942
|
-
"name": "
|
|
128943
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
128941
|
+
"name": "accessibility-current",
|
|
128944
128942
|
"type": {
|
|
128945
128943
|
"text": "string"
|
|
128946
128944
|
},
|
|
128947
|
-
"
|
|
128945
|
+
"default": "''",
|
|
128946
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
128947
|
+
"fieldName": "accessibilityCurrent",
|
|
128948
128948
|
"inheritedFrom": {
|
|
128949
|
-
"name": "
|
|
128950
|
-
"module": "core/
|
|
128949
|
+
"name": "SbbLinkBaseElement",
|
|
128950
|
+
"module": "core/base-elements/link-base-element.js"
|
|
128951
128951
|
}
|
|
128952
128952
|
}
|
|
128953
128953
|
]
|
|
@@ -128956,10 +128956,10 @@
|
|
|
128956
128956
|
"exports": [
|
|
128957
128957
|
{
|
|
128958
128958
|
"kind": "js",
|
|
128959
|
-
"name": "
|
|
128959
|
+
"name": "SbbMenuLinkElement",
|
|
128960
128960
|
"declaration": {
|
|
128961
|
-
"name": "
|
|
128962
|
-
"module": "menu/menu-
|
|
128961
|
+
"name": "SbbMenuLinkElement",
|
|
128962
|
+
"module": "menu/menu-link/menu-link.component.js"
|
|
128963
128963
|
}
|
|
128964
128964
|
}
|
|
128965
128965
|
]
|