@sbb-esta/lyne-elements-dev 4.0.0-dev.1775641407 → 4.0.0-dev.1775645885
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 +1530 -1530
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -77846,26 +77846,6 @@
|
|
|
77846
77846
|
}
|
|
77847
77847
|
]
|
|
77848
77848
|
},
|
|
77849
|
-
{
|
|
77850
|
-
"kind": "javascript-module",
|
|
77851
|
-
"path": "core/styles/styles.js",
|
|
77852
|
-
"declarations": [
|
|
77853
|
-
{
|
|
77854
|
-
"kind": "variable",
|
|
77855
|
-
"name": "boxSizingStyles"
|
|
77856
|
-
}
|
|
77857
|
-
],
|
|
77858
|
-
"exports": [
|
|
77859
|
-
{
|
|
77860
|
-
"kind": "js",
|
|
77861
|
-
"name": "boxSizingStyles",
|
|
77862
|
-
"declaration": {
|
|
77863
|
-
"name": "boxSizingStyles",
|
|
77864
|
-
"module": "core/styles/styles.js"
|
|
77865
|
-
}
|
|
77866
|
-
}
|
|
77867
|
-
]
|
|
77868
|
-
},
|
|
77869
77849
|
{
|
|
77870
77850
|
"kind": "javascript-module",
|
|
77871
77851
|
"path": "core/testing/event-spy.js",
|
|
@@ -78263,6 +78243,26 @@
|
|
|
78263
78243
|
}
|
|
78264
78244
|
]
|
|
78265
78245
|
},
|
|
78246
|
+
{
|
|
78247
|
+
"kind": "javascript-module",
|
|
78248
|
+
"path": "core/styles/styles.js",
|
|
78249
|
+
"declarations": [
|
|
78250
|
+
{
|
|
78251
|
+
"kind": "variable",
|
|
78252
|
+
"name": "boxSizingStyles"
|
|
78253
|
+
}
|
|
78254
|
+
],
|
|
78255
|
+
"exports": [
|
|
78256
|
+
{
|
|
78257
|
+
"kind": "js",
|
|
78258
|
+
"name": "boxSizingStyles",
|
|
78259
|
+
"declaration": {
|
|
78260
|
+
"name": "boxSizingStyles",
|
|
78261
|
+
"module": "core/styles/styles.js"
|
|
78262
|
+
}
|
|
78263
|
+
}
|
|
78264
|
+
]
|
|
78265
|
+
},
|
|
78266
78266
|
{
|
|
78267
78267
|
"kind": "javascript-module",
|
|
78268
78268
|
"path": "datepicker/common/datepicker-button.js",
|
|
@@ -100093,15 +100093,15 @@
|
|
|
100093
100093
|
},
|
|
100094
100094
|
{
|
|
100095
100095
|
"kind": "javascript-module",
|
|
100096
|
-
"path": "link/block-link/block-link.component.js",
|
|
100096
|
+
"path": "link/block-link-button/block-link-button.component.js",
|
|
100097
100097
|
"declarations": [
|
|
100098
100098
|
{
|
|
100099
100099
|
"kind": "class",
|
|
100100
|
-
"description": "It displays a link enhanced with the SBB Design.",
|
|
100101
|
-
"name": "
|
|
100100
|
+
"description": "It displays a link enhanced with the SBB Design, which will behave as a button.",
|
|
100101
|
+
"name": "SbbBlockLinkButtonElement",
|
|
100102
100102
|
"slots": [
|
|
100103
100103
|
{
|
|
100104
|
-
"description": "Use the unnamed slot to add content to the `sbb-block-link`.",
|
|
100104
|
+
"description": "Use the unnamed slot to add content to the `sbb-block-link-button`.",
|
|
100105
100105
|
"name": ""
|
|
100106
100106
|
},
|
|
100107
100107
|
{
|
|
@@ -100123,7 +100123,7 @@
|
|
|
100123
100123
|
"name": "SbbElement",
|
|
100124
100124
|
"module": "core/base-elements/element.js"
|
|
100125
100125
|
},
|
|
100126
|
-
"default": "'sbb-block-link'"
|
|
100126
|
+
"default": "'sbb-block-link-button'"
|
|
100127
100127
|
},
|
|
100128
100128
|
{
|
|
100129
100129
|
"kind": "field",
|
|
@@ -100252,6 +100252,22 @@
|
|
|
100252
100252
|
"module": "icon/icon-name-mixin.js"
|
|
100253
100253
|
}
|
|
100254
100254
|
},
|
|
100255
|
+
{
|
|
100256
|
+
"kind": "field",
|
|
100257
|
+
"name": "disabledInteractive",
|
|
100258
|
+
"type": {
|
|
100259
|
+
"text": "boolean"
|
|
100260
|
+
},
|
|
100261
|
+
"privacy": "public",
|
|
100262
|
+
"default": "false",
|
|
100263
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
100264
|
+
"attribute": "disabled-interactive",
|
|
100265
|
+
"reflects": true,
|
|
100266
|
+
"inheritedFrom": {
|
|
100267
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
100268
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
100269
|
+
}
|
|
100270
|
+
},
|
|
100255
100271
|
{
|
|
100256
100272
|
"kind": "field",
|
|
100257
100273
|
"name": "disabled",
|
|
@@ -100298,247 +100314,243 @@
|
|
|
100298
100314
|
},
|
|
100299
100315
|
{
|
|
100300
100316
|
"kind": "field",
|
|
100301
|
-
"name": "
|
|
100317
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
100302
100318
|
"type": {
|
|
100303
|
-
"text": "
|
|
100319
|
+
"text": "array"
|
|
100304
100320
|
},
|
|
100305
|
-
"privacy": "
|
|
100306
|
-
"
|
|
100307
|
-
"
|
|
100308
|
-
"attribute": "href",
|
|
100309
|
-
"reflects": true,
|
|
100321
|
+
"privacy": "private",
|
|
100322
|
+
"readonly": true,
|
|
100323
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
100310
100324
|
"inheritedFrom": {
|
|
100311
|
-
"name": "
|
|
100312
|
-
"module": "core/base-elements/
|
|
100325
|
+
"name": "SbbButtonBaseElement",
|
|
100326
|
+
"module": "core/base-elements/button-base-element.js"
|
|
100313
100327
|
}
|
|
100314
100328
|
},
|
|
100315
100329
|
{
|
|
100316
100330
|
"kind": "field",
|
|
100317
|
-
"name": "
|
|
100331
|
+
"name": "value",
|
|
100318
100332
|
"type": {
|
|
100319
|
-
"text": "
|
|
100333
|
+
"text": "string"
|
|
100320
100334
|
},
|
|
100321
100335
|
"privacy": "public",
|
|
100322
|
-
"default": "''",
|
|
100323
|
-
"description": "Where to display the linked URL.",
|
|
100324
|
-
"attribute": "target",
|
|
100325
|
-
"reflects": true,
|
|
100326
100336
|
"inheritedFrom": {
|
|
100327
|
-
"name": "
|
|
100328
|
-
"module": "core/base-elements/
|
|
100329
|
-
}
|
|
100330
|
-
},
|
|
100331
|
-
{
|
|
100332
|
-
"kind": "field",
|
|
100333
|
-
"name": "rel",
|
|
100334
|
-
"type": {
|
|
100335
|
-
"text": "string"
|
|
100337
|
+
"name": "SbbButtonBaseElement",
|
|
100338
|
+
"module": "core/base-elements/button-base-element.js"
|
|
100336
100339
|
},
|
|
100337
|
-
"privacy": "public",
|
|
100338
100340
|
"default": "''",
|
|
100339
|
-
"description": "
|
|
100340
|
-
"attribute": "
|
|
100341
|
-
"reflects": true,
|
|
100342
|
-
"inheritedFrom": {
|
|
100343
|
-
"name": "SbbLinkBaseElement",
|
|
100344
|
-
"module": "core/base-elements/link-base-element.js"
|
|
100345
|
-
}
|
|
100341
|
+
"description": "Value of the form element.",
|
|
100342
|
+
"attribute": "value"
|
|
100346
100343
|
},
|
|
100347
100344
|
{
|
|
100348
100345
|
"kind": "field",
|
|
100349
|
-
"name": "
|
|
100346
|
+
"name": "type",
|
|
100347
|
+
"privacy": "public",
|
|
100348
|
+
"description": "The type attribute to use for the button.",
|
|
100349
|
+
"default": "'button'",
|
|
100350
100350
|
"type": {
|
|
100351
|
-
"text": "
|
|
100351
|
+
"text": "SbbButtonType"
|
|
100352
100352
|
},
|
|
100353
|
-
"
|
|
100354
|
-
"default": "false",
|
|
100355
|
-
"description": "Whether the browser will show the download dialog on click.",
|
|
100356
|
-
"attribute": "download",
|
|
100357
|
-
"reflects": true,
|
|
100353
|
+
"attribute": "type",
|
|
100358
100354
|
"inheritedFrom": {
|
|
100359
|
-
"name": "
|
|
100360
|
-
"module": "core/base-elements/
|
|
100355
|
+
"name": "SbbButtonBaseElement",
|
|
100356
|
+
"module": "core/base-elements/button-base-element.js"
|
|
100361
100357
|
}
|
|
100362
100358
|
},
|
|
100363
100359
|
{
|
|
100364
100360
|
"kind": "field",
|
|
100365
|
-
"name": "
|
|
100361
|
+
"name": "form",
|
|
100366
100362
|
"type": {
|
|
100367
|
-
"text": "
|
|
100363
|
+
"text": "HTMLFormElement | null"
|
|
100368
100364
|
},
|
|
100369
100365
|
"privacy": "public",
|
|
100370
|
-
"
|
|
100371
|
-
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
100372
|
-
"attribute": "accessibility-label",
|
|
100366
|
+
"description": "The `<form>` element to associate the button with.",
|
|
100373
100367
|
"inheritedFrom": {
|
|
100374
|
-
"name": "
|
|
100375
|
-
"module": "core/base-elements/
|
|
100376
|
-
}
|
|
100368
|
+
"name": "SbbButtonBaseElement",
|
|
100369
|
+
"module": "core/base-elements/button-base-element.js"
|
|
100370
|
+
},
|
|
100371
|
+
"attribute": "form"
|
|
100377
100372
|
},
|
|
100378
100373
|
{
|
|
100379
100374
|
"kind": "field",
|
|
100380
|
-
"name": "
|
|
100375
|
+
"name": "_formId",
|
|
100381
100376
|
"type": {
|
|
100382
100377
|
"text": "string"
|
|
100383
100378
|
},
|
|
100384
|
-
"privacy": "
|
|
100379
|
+
"privacy": "private",
|
|
100385
100380
|
"default": "''",
|
|
100386
|
-
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
100387
|
-
"attribute": "accessibility-current",
|
|
100388
|
-
"inheritedFrom": {
|
|
100389
|
-
"name": "SbbLinkBaseElement",
|
|
100390
|
-
"module": "core/base-elements/link-base-element.js"
|
|
100391
|
-
}
|
|
100392
|
-
},
|
|
100393
|
-
{
|
|
100394
|
-
"kind": "field",
|
|
100395
|
-
"name": "language",
|
|
100396
|
-
"privacy": "protected",
|
|
100397
|
-
"default": "new SbbLanguageController(this)",
|
|
100398
|
-
"inheritedFrom": {
|
|
100399
|
-
"name": "SbbLinkBaseElement",
|
|
100400
|
-
"module": "core/base-elements/link-base-element.js"
|
|
100401
|
-
}
|
|
100402
|
-
},
|
|
100403
|
-
{
|
|
100404
|
-
"kind": "field",
|
|
100405
|
-
"name": "anchorRole",
|
|
100406
|
-
"type": {
|
|
100407
|
-
"text": "string | null"
|
|
100408
|
-
},
|
|
100409
|
-
"privacy": "protected",
|
|
100410
|
-
"readonly": true,
|
|
100411
|
-
"default": "null",
|
|
100412
100381
|
"inheritedFrom": {
|
|
100413
|
-
"name": "
|
|
100414
|
-
"module": "core/base-elements/
|
|
100382
|
+
"name": "SbbButtonBaseElement",
|
|
100383
|
+
"module": "core/base-elements/button-base-element.js"
|
|
100415
100384
|
}
|
|
100416
100385
|
},
|
|
100417
100386
|
{
|
|
100418
100387
|
"kind": "field",
|
|
100419
|
-
"name": "
|
|
100388
|
+
"name": "_handleButtonClick",
|
|
100420
100389
|
"privacy": "private",
|
|
100421
100390
|
"inheritedFrom": {
|
|
100422
|
-
"name": "
|
|
100423
|
-
"module": "core/base-elements/
|
|
100391
|
+
"name": "SbbButtonBaseElement",
|
|
100392
|
+
"module": "core/base-elements/button-base-element.js"
|
|
100424
100393
|
}
|
|
100425
100394
|
},
|
|
100426
100395
|
{
|
|
100427
100396
|
"kind": "method",
|
|
100428
|
-
"name": "
|
|
100429
|
-
"privacy": "
|
|
100397
|
+
"name": "_requestSubmit",
|
|
100398
|
+
"privacy": "private",
|
|
100430
100399
|
"return": {
|
|
100431
100400
|
"type": {
|
|
100432
|
-
"text": "
|
|
100401
|
+
"text": "void"
|
|
100433
100402
|
}
|
|
100434
100403
|
},
|
|
100435
100404
|
"parameters": [
|
|
100436
100405
|
{
|
|
100437
|
-
"name": "
|
|
100406
|
+
"name": "form",
|
|
100438
100407
|
"type": {
|
|
100439
|
-
"text": "
|
|
100408
|
+
"text": "HTMLFormElement"
|
|
100440
100409
|
}
|
|
100441
100410
|
}
|
|
100442
100411
|
],
|
|
100443
100412
|
"inheritedFrom": {
|
|
100444
|
-
"name": "
|
|
100445
|
-
"module": "core/base-elements/
|
|
100413
|
+
"name": "SbbButtonBaseElement",
|
|
100414
|
+
"module": "core/base-elements/button-base-element.js"
|
|
100446
100415
|
}
|
|
100447
100416
|
},
|
|
100448
100417
|
{
|
|
100449
100418
|
"kind": "field",
|
|
100450
|
-
"name": "
|
|
100451
|
-
"
|
|
100452
|
-
"text": "boolean | undefined"
|
|
100453
|
-
},
|
|
100454
|
-
"privacy": "protected",
|
|
100455
|
-
"readonly": true,
|
|
100419
|
+
"name": "_formKeyDown",
|
|
100420
|
+
"privacy": "private",
|
|
100456
100421
|
"inheritedFrom": {
|
|
100457
|
-
"name": "
|
|
100458
|
-
"module": "core/base-elements/
|
|
100422
|
+
"name": "SbbButtonBaseElement",
|
|
100423
|
+
"module": "core/base-elements/button-base-element.js"
|
|
100459
100424
|
}
|
|
100460
100425
|
},
|
|
100461
100426
|
{
|
|
100462
100427
|
"kind": "field",
|
|
100463
|
-
"name": "
|
|
100428
|
+
"name": "formAssociated",
|
|
100464
100429
|
"type": {
|
|
100465
|
-
"text": "boolean
|
|
100430
|
+
"text": "boolean"
|
|
100466
100431
|
},
|
|
100467
|
-
"privacy": "
|
|
100468
|
-
"
|
|
100432
|
+
"privacy": "public",
|
|
100433
|
+
"static": true,
|
|
100434
|
+
"default": "true",
|
|
100469
100435
|
"inheritedFrom": {
|
|
100470
|
-
"name": "
|
|
100471
|
-
"module": "core/
|
|
100436
|
+
"name": "SbbFormAssociatedMixin",
|
|
100437
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
100472
100438
|
}
|
|
100473
100439
|
},
|
|
100474
100440
|
{
|
|
100475
|
-
"kind": "
|
|
100476
|
-
"name": "
|
|
100477
|
-
"privacy": "
|
|
100478
|
-
"
|
|
100479
|
-
|
|
100480
|
-
|
|
100481
|
-
}
|
|
100441
|
+
"kind": "field",
|
|
100442
|
+
"name": "name",
|
|
100443
|
+
"privacy": "public",
|
|
100444
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
100445
|
+
"type": {
|
|
100446
|
+
"text": "string"
|
|
100482
100447
|
},
|
|
100448
|
+
"attribute": "name",
|
|
100483
100449
|
"inheritedFrom": {
|
|
100484
|
-
"name": "
|
|
100485
|
-
"module": "core/
|
|
100450
|
+
"name": "SbbFormAssociatedMixin",
|
|
100451
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
100486
100452
|
}
|
|
100487
100453
|
},
|
|
100488
100454
|
{
|
|
100489
100455
|
"kind": "field",
|
|
100490
|
-
"name": "
|
|
100456
|
+
"name": "validity",
|
|
100491
100457
|
"type": {
|
|
100492
|
-
"text": "
|
|
100458
|
+
"text": "ValidityState"
|
|
100493
100459
|
},
|
|
100494
|
-
"privacy": "
|
|
100495
|
-
"
|
|
100460
|
+
"privacy": "public",
|
|
100461
|
+
"description": "Returns the ValidityState object for this element.",
|
|
100462
|
+
"readonly": true,
|
|
100496
100463
|
"inheritedFrom": {
|
|
100497
|
-
"name": "
|
|
100498
|
-
"module": "core/
|
|
100464
|
+
"name": "SbbFormAssociatedMixin",
|
|
100465
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
100499
100466
|
}
|
|
100500
100467
|
},
|
|
100501
100468
|
{
|
|
100502
100469
|
"kind": "field",
|
|
100503
|
-
"name": "
|
|
100504
|
-
"
|
|
100505
|
-
|
|
100470
|
+
"name": "validationMessage",
|
|
100471
|
+
"type": {
|
|
100472
|
+
"text": "string"
|
|
100473
|
+
},
|
|
100474
|
+
"privacy": "public",
|
|
100475
|
+
"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.",
|
|
100476
|
+
"readonly": true,
|
|
100506
100477
|
"inheritedFrom": {
|
|
100507
|
-
"name": "
|
|
100508
|
-
"module": "core/
|
|
100478
|
+
"name": "SbbFormAssociatedMixin",
|
|
100479
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
100509
100480
|
}
|
|
100510
100481
|
},
|
|
100511
100482
|
{
|
|
100512
100483
|
"kind": "field",
|
|
100513
|
-
"name": "
|
|
100484
|
+
"name": "willValidate",
|
|
100514
100485
|
"type": {
|
|
100515
|
-
"text": "
|
|
100486
|
+
"text": "boolean"
|
|
100516
100487
|
},
|
|
100488
|
+
"privacy": "public",
|
|
100489
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
100490
|
+
"readonly": true,
|
|
100491
|
+
"inheritedFrom": {
|
|
100492
|
+
"name": "SbbFormAssociatedMixin",
|
|
100493
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
100494
|
+
}
|
|
100495
|
+
},
|
|
100496
|
+
{
|
|
100497
|
+
"kind": "field",
|
|
100498
|
+
"name": "_validityStates",
|
|
100517
100499
|
"privacy": "private",
|
|
100500
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
100518
100501
|
"inheritedFrom": {
|
|
100519
|
-
"name": "
|
|
100520
|
-
"module": "core/
|
|
100502
|
+
"name": "SbbFormAssociatedMixin",
|
|
100503
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
100521
100504
|
}
|
|
100522
100505
|
},
|
|
100523
100506
|
{
|
|
100524
100507
|
"kind": "field",
|
|
100525
|
-
"name": "
|
|
100508
|
+
"name": "formDisabled",
|
|
100526
100509
|
"type": {
|
|
100527
100510
|
"text": "boolean"
|
|
100528
100511
|
},
|
|
100529
100512
|
"privacy": "protected",
|
|
100530
|
-
"
|
|
100531
|
-
"
|
|
100513
|
+
"default": "false",
|
|
100514
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
100532
100515
|
"inheritedFrom": {
|
|
100533
|
-
"name": "
|
|
100534
|
-
"module": "core/
|
|
100516
|
+
"name": "SbbFormAssociatedMixin",
|
|
100517
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
100518
|
+
}
|
|
100519
|
+
},
|
|
100520
|
+
{
|
|
100521
|
+
"kind": "method",
|
|
100522
|
+
"name": "checkValidity",
|
|
100523
|
+
"privacy": "public",
|
|
100524
|
+
"return": {
|
|
100525
|
+
"type": {
|
|
100526
|
+
"text": "boolean"
|
|
100527
|
+
}
|
|
100535
100528
|
},
|
|
100536
|
-
"
|
|
100529
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
100530
|
+
"inheritedFrom": {
|
|
100531
|
+
"name": "SbbFormAssociatedMixin",
|
|
100532
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
100533
|
+
}
|
|
100537
100534
|
},
|
|
100538
100535
|
{
|
|
100539
100536
|
"kind": "method",
|
|
100540
|
-
"name": "
|
|
100541
|
-
"privacy": "
|
|
100537
|
+
"name": "reportValidity",
|
|
100538
|
+
"privacy": "public",
|
|
100539
|
+
"return": {
|
|
100540
|
+
"type": {
|
|
100541
|
+
"text": "boolean"
|
|
100542
|
+
}
|
|
100543
|
+
},
|
|
100544
|
+
"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.",
|
|
100545
|
+
"inheritedFrom": {
|
|
100546
|
+
"name": "SbbFormAssociatedMixin",
|
|
100547
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
100548
|
+
}
|
|
100549
|
+
},
|
|
100550
|
+
{
|
|
100551
|
+
"kind": "method",
|
|
100552
|
+
"name": "setCustomValidity",
|
|
100553
|
+
"privacy": "public",
|
|
100542
100554
|
"return": {
|
|
100543
100555
|
"type": {
|
|
100544
100556
|
"text": "void"
|
|
@@ -100546,286 +100558,272 @@
|
|
|
100546
100558
|
},
|
|
100547
100559
|
"parameters": [
|
|
100548
100560
|
{
|
|
100549
|
-
"name": "
|
|
100561
|
+
"name": "message",
|
|
100550
100562
|
"type": {
|
|
100551
100563
|
"text": "string"
|
|
100552
100564
|
}
|
|
100553
|
-
},
|
|
100554
|
-
{
|
|
100555
|
-
"name": "force",
|
|
100556
|
-
"optional": true,
|
|
100557
|
-
"type": {
|
|
100558
|
-
"text": "boolean"
|
|
100559
|
-
}
|
|
100560
100565
|
}
|
|
100561
100566
|
],
|
|
100567
|
+
"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.",
|
|
100562
100568
|
"inheritedFrom": {
|
|
100563
|
-
"name": "
|
|
100564
|
-
"module": "core/
|
|
100569
|
+
"name": "SbbFormAssociatedMixin",
|
|
100570
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
100565
100571
|
}
|
|
100566
100572
|
},
|
|
100567
100573
|
{
|
|
100568
|
-
"kind": "
|
|
100569
|
-
"name": "
|
|
100570
|
-
"
|
|
100571
|
-
|
|
100574
|
+
"kind": "method",
|
|
100575
|
+
"name": "_hasDisabledAncestor",
|
|
100576
|
+
"privacy": "private",
|
|
100577
|
+
"return": {
|
|
100578
|
+
"type": {
|
|
100579
|
+
"text": "boolean"
|
|
100580
|
+
}
|
|
100572
100581
|
},
|
|
100573
|
-
"privacy": "public",
|
|
100574
|
-
"static": true,
|
|
100575
|
-
"default": "true",
|
|
100576
100582
|
"inheritedFrom": {
|
|
100577
|
-
"name": "
|
|
100578
|
-
"module": "core/
|
|
100583
|
+
"name": "SbbFormAssociatedMixin",
|
|
100584
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
100579
100585
|
}
|
|
100580
100586
|
},
|
|
100581
100587
|
{
|
|
100582
|
-
"kind": "
|
|
100583
|
-
"name": "
|
|
100584
|
-
"
|
|
100585
|
-
|
|
100588
|
+
"kind": "method",
|
|
100589
|
+
"name": "updateFormValue",
|
|
100590
|
+
"privacy": "protected",
|
|
100591
|
+
"return": {
|
|
100592
|
+
"type": {
|
|
100593
|
+
"text": "void"
|
|
100594
|
+
}
|
|
100586
100595
|
},
|
|
100587
|
-
"
|
|
100596
|
+
"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",
|
|
100588
100597
|
"inheritedFrom": {
|
|
100589
|
-
"name": "
|
|
100590
|
-
"module": "core/
|
|
100598
|
+
"name": "SbbFormAssociatedMixin",
|
|
100599
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
100591
100600
|
}
|
|
100592
|
-
}
|
|
100593
|
-
],
|
|
100594
|
-
"mixins": [
|
|
100595
|
-
{
|
|
100596
|
-
"name": "SbbBlockLinkCommonElementMixin",
|
|
100597
|
-
"module": "link/common/block-link-common.js"
|
|
100598
100601
|
},
|
|
100599
100602
|
{
|
|
100600
|
-
"
|
|
100601
|
-
"
|
|
100602
|
-
|
|
100603
|
-
|
|
100604
|
-
|
|
100605
|
-
|
|
100606
|
-
|
|
100607
|
-
},
|
|
100608
|
-
"tagName": "sbb-block-link",
|
|
100609
|
-
"customElement": true,
|
|
100610
|
-
"attributes": [
|
|
100611
|
-
{
|
|
100612
|
-
"name": "icon-placement",
|
|
100613
|
-
"type": {
|
|
100614
|
-
"text": "SbbIconPlacement"
|
|
100603
|
+
"kind": "method",
|
|
100604
|
+
"name": "formState",
|
|
100605
|
+
"privacy": "protected",
|
|
100606
|
+
"return": {
|
|
100607
|
+
"type": {
|
|
100608
|
+
"text": "FormRestoreState"
|
|
100609
|
+
}
|
|
100615
100610
|
},
|
|
100616
|
-
"default": "'start'",
|
|
100617
|
-
"description": "Moves the icon to the end of the component if set to true.",
|
|
100618
|
-
"fieldName": "iconPlacement",
|
|
100619
100611
|
"inheritedFrom": {
|
|
100620
|
-
"name": "
|
|
100621
|
-
"module": "
|
|
100612
|
+
"name": "SbbFormAssociatedMixin",
|
|
100613
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
100622
100614
|
}
|
|
100623
100615
|
},
|
|
100624
100616
|
{
|
|
100625
|
-
"
|
|
100626
|
-
"
|
|
100627
|
-
|
|
100617
|
+
"kind": "method",
|
|
100618
|
+
"name": "setValidityFlag",
|
|
100619
|
+
"privacy": "protected",
|
|
100620
|
+
"return": {
|
|
100621
|
+
"type": {
|
|
100622
|
+
"text": "void"
|
|
100623
|
+
}
|
|
100628
100624
|
},
|
|
100629
|
-
"
|
|
100630
|
-
|
|
100631
|
-
|
|
100625
|
+
"parameters": [
|
|
100626
|
+
{
|
|
100627
|
+
"name": "flag",
|
|
100628
|
+
"type": {
|
|
100629
|
+
"text": "T"
|
|
100630
|
+
}
|
|
100631
|
+
},
|
|
100632
|
+
{
|
|
100633
|
+
"name": "message",
|
|
100634
|
+
"type": {
|
|
100635
|
+
"text": "string"
|
|
100636
|
+
}
|
|
100637
|
+
},
|
|
100638
|
+
{
|
|
100639
|
+
"name": "flagValue",
|
|
100640
|
+
"optional": true,
|
|
100641
|
+
"type": {
|
|
100642
|
+
"text": "ValidityStateFlags[T]"
|
|
100643
|
+
}
|
|
100644
|
+
}
|
|
100645
|
+
],
|
|
100646
|
+
"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).",
|
|
100632
100647
|
"inheritedFrom": {
|
|
100633
|
-
"name": "
|
|
100634
|
-
"module": "
|
|
100648
|
+
"name": "SbbFormAssociatedMixin",
|
|
100649
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
100635
100650
|
}
|
|
100636
100651
|
},
|
|
100637
100652
|
{
|
|
100638
|
-
"
|
|
100639
|
-
"
|
|
100640
|
-
|
|
100653
|
+
"kind": "method",
|
|
100654
|
+
"name": "removeValidityFlag",
|
|
100655
|
+
"privacy": "protected",
|
|
100656
|
+
"return": {
|
|
100657
|
+
"type": {
|
|
100658
|
+
"text": "void"
|
|
100659
|
+
}
|
|
100641
100660
|
},
|
|
100642
|
-
"
|
|
100643
|
-
|
|
100644
|
-
|
|
100661
|
+
"parameters": [
|
|
100662
|
+
{
|
|
100663
|
+
"name": "flag",
|
|
100664
|
+
"type": {
|
|
100665
|
+
"text": "T"
|
|
100666
|
+
}
|
|
100667
|
+
}
|
|
100668
|
+
],
|
|
100669
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
100645
100670
|
"inheritedFrom": {
|
|
100646
|
-
"name": "
|
|
100647
|
-
"module": "
|
|
100671
|
+
"name": "SbbFormAssociatedMixin",
|
|
100672
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
100648
100673
|
}
|
|
100649
100674
|
},
|
|
100650
100675
|
{
|
|
100651
|
-
"
|
|
100652
|
-
"
|
|
100653
|
-
"
|
|
100654
|
-
"
|
|
100655
|
-
"
|
|
100676
|
+
"kind": "method",
|
|
100677
|
+
"name": "validate",
|
|
100678
|
+
"privacy": "protected",
|
|
100679
|
+
"return": {
|
|
100680
|
+
"type": {
|
|
100681
|
+
"text": "void"
|
|
100682
|
+
}
|
|
100656
100683
|
},
|
|
100657
|
-
"
|
|
100684
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
100658
100685
|
"inheritedFrom": {
|
|
100659
|
-
"name": "
|
|
100660
|
-
"module": "core/mixins/
|
|
100686
|
+
"name": "SbbFormAssociatedMixin",
|
|
100687
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
100661
100688
|
}
|
|
100662
100689
|
},
|
|
100663
100690
|
{
|
|
100664
|
-
"
|
|
100665
|
-
"
|
|
100666
|
-
|
|
100691
|
+
"kind": "method",
|
|
100692
|
+
"name": "shouldValidate",
|
|
100693
|
+
"privacy": "protected",
|
|
100694
|
+
"return": {
|
|
100695
|
+
"type": {
|
|
100696
|
+
"text": "boolean"
|
|
100697
|
+
}
|
|
100667
100698
|
},
|
|
100668
|
-
"
|
|
100669
|
-
|
|
100670
|
-
|
|
100699
|
+
"parameters": [
|
|
100700
|
+
{
|
|
100701
|
+
"name": "name",
|
|
100702
|
+
"type": {
|
|
100703
|
+
"text": "PropertyKey | undefined"
|
|
100704
|
+
}
|
|
100705
|
+
}
|
|
100706
|
+
],
|
|
100707
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
100671
100708
|
"inheritedFrom": {
|
|
100672
|
-
"name": "
|
|
100673
|
-
"module": "core/
|
|
100709
|
+
"name": "SbbFormAssociatedMixin",
|
|
100710
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
100674
100711
|
}
|
|
100675
100712
|
},
|
|
100676
100713
|
{
|
|
100677
|
-
"
|
|
100678
|
-
"
|
|
100679
|
-
|
|
100714
|
+
"kind": "method",
|
|
100715
|
+
"name": "_setInternalValidity",
|
|
100716
|
+
"privacy": "private",
|
|
100717
|
+
"return": {
|
|
100718
|
+
"type": {
|
|
100719
|
+
"text": "void"
|
|
100720
|
+
}
|
|
100680
100721
|
},
|
|
100681
|
-
"default": "''",
|
|
100682
|
-
"description": "Where to display the linked URL.",
|
|
100683
|
-
"fieldName": "target",
|
|
100684
100722
|
"inheritedFrom": {
|
|
100685
|
-
"name": "
|
|
100686
|
-
"module": "core/
|
|
100723
|
+
"name": "SbbFormAssociatedMixin",
|
|
100724
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
100687
100725
|
}
|
|
100688
100726
|
},
|
|
100689
100727
|
{
|
|
100690
|
-
"
|
|
100728
|
+
"kind": "field",
|
|
100729
|
+
"name": "role",
|
|
100691
100730
|
"type": {
|
|
100692
|
-
"text": "
|
|
100731
|
+
"text": "ElementInternals['role']"
|
|
100693
100732
|
},
|
|
100694
|
-
"
|
|
100695
|
-
"
|
|
100696
|
-
"
|
|
100733
|
+
"privacy": "public",
|
|
100734
|
+
"static": true,
|
|
100735
|
+
"readonly": true,
|
|
100736
|
+
"default": "'button'",
|
|
100697
100737
|
"inheritedFrom": {
|
|
100698
|
-
"name": "
|
|
100699
|
-
"module": "core/base-elements/
|
|
100738
|
+
"name": "SbbButtonLikeBaseElement",
|
|
100739
|
+
"module": "core/base-elements/button-base-element.js"
|
|
100700
100740
|
}
|
|
100701
100741
|
},
|
|
100702
100742
|
{
|
|
100703
|
-
"
|
|
100704
|
-
"
|
|
100705
|
-
|
|
100706
|
-
|
|
100707
|
-
"
|
|
100708
|
-
|
|
100709
|
-
|
|
100743
|
+
"kind": "field",
|
|
100744
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
100745
|
+
"privacy": "private",
|
|
100746
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
100747
|
+
"parameters": [
|
|
100748
|
+
{
|
|
100749
|
+
"description": "The origin event.",
|
|
100750
|
+
"name": "event"
|
|
100751
|
+
}
|
|
100752
|
+
],
|
|
100710
100753
|
"inheritedFrom": {
|
|
100711
|
-
"name": "
|
|
100712
|
-
"module": "core/base-elements/
|
|
100754
|
+
"name": "SbbButtonLikeBaseElement",
|
|
100755
|
+
"module": "core/base-elements/button-base-element.js"
|
|
100713
100756
|
}
|
|
100714
100757
|
},
|
|
100715
100758
|
{
|
|
100716
|
-
"
|
|
100717
|
-
"
|
|
100718
|
-
|
|
100719
|
-
},
|
|
100720
|
-
"default": "''",
|
|
100721
|
-
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
100722
|
-
"fieldName": "accessibilityLabel",
|
|
100759
|
+
"kind": "field",
|
|
100760
|
+
"name": "_removeActiveMarker",
|
|
100761
|
+
"privacy": "private",
|
|
100723
100762
|
"inheritedFrom": {
|
|
100724
|
-
"name": "
|
|
100725
|
-
"module": "core/base-elements/
|
|
100763
|
+
"name": "SbbButtonLikeBaseElement",
|
|
100764
|
+
"module": "core/base-elements/button-base-element.js"
|
|
100726
100765
|
}
|
|
100727
100766
|
},
|
|
100728
100767
|
{
|
|
100729
|
-
"
|
|
100730
|
-
"
|
|
100731
|
-
|
|
100732
|
-
|
|
100733
|
-
"
|
|
100734
|
-
|
|
100735
|
-
|
|
100768
|
+
"kind": "field",
|
|
100769
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
100770
|
+
"privacy": "private",
|
|
100771
|
+
"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.",
|
|
100772
|
+
"parameters": [
|
|
100773
|
+
{
|
|
100774
|
+
"description": "The origin event.",
|
|
100775
|
+
"name": "event"
|
|
100776
|
+
}
|
|
100777
|
+
],
|
|
100736
100778
|
"inheritedFrom": {
|
|
100737
|
-
"name": "
|
|
100738
|
-
"module": "core/base-elements/
|
|
100779
|
+
"name": "SbbButtonLikeBaseElement",
|
|
100780
|
+
"module": "core/base-elements/button-base-element.js"
|
|
100739
100781
|
}
|
|
100740
|
-
}
|
|
100741
|
-
]
|
|
100742
|
-
}
|
|
100743
|
-
],
|
|
100744
|
-
"exports": [
|
|
100745
|
-
{
|
|
100746
|
-
"kind": "js",
|
|
100747
|
-
"name": "SbbBlockLinkElement",
|
|
100748
|
-
"declaration": {
|
|
100749
|
-
"name": "SbbBlockLinkElement",
|
|
100750
|
-
"module": "link/block-link/block-link.component.js"
|
|
100751
|
-
}
|
|
100752
|
-
}
|
|
100753
|
-
]
|
|
100754
|
-
},
|
|
100755
|
-
{
|
|
100756
|
-
"kind": "javascript-module",
|
|
100757
|
-
"path": "link/block-link-button/block-link-button.component.js",
|
|
100758
|
-
"declarations": [
|
|
100759
|
-
{
|
|
100760
|
-
"kind": "class",
|
|
100761
|
-
"description": "It displays a link enhanced with the SBB Design, which will behave as a button.",
|
|
100762
|
-
"name": "SbbBlockLinkButtonElement",
|
|
100763
|
-
"slots": [
|
|
100764
|
-
{
|
|
100765
|
-
"description": "Use the unnamed slot to add content to the `sbb-block-link-button`.",
|
|
100766
|
-
"name": ""
|
|
100767
100782
|
},
|
|
100768
|
-
{
|
|
100769
|
-
"description": "Slot used to display the icon, if one is set.",
|
|
100770
|
-
"name": "icon"
|
|
100771
|
-
}
|
|
100772
|
-
],
|
|
100773
|
-
"members": [
|
|
100774
100783
|
{
|
|
100775
100784
|
"kind": "field",
|
|
100776
|
-
"name": "
|
|
100777
|
-
"
|
|
100778
|
-
"text": "string"
|
|
100779
|
-
},
|
|
100780
|
-
"privacy": "public",
|
|
100781
|
-
"static": true,
|
|
100782
|
-
"readonly": true,
|
|
100785
|
+
"name": "_dispatchClickEvent",
|
|
100786
|
+
"privacy": "private",
|
|
100783
100787
|
"inheritedFrom": {
|
|
100784
|
-
"name": "
|
|
100785
|
-
"module": "core/base-elements/element.js"
|
|
100786
|
-
}
|
|
100787
|
-
"default": "'sbb-block-link-button'"
|
|
100788
|
+
"name": "SbbButtonLikeBaseElement",
|
|
100789
|
+
"module": "core/base-elements/button-base-element.js"
|
|
100790
|
+
}
|
|
100788
100791
|
},
|
|
100789
100792
|
{
|
|
100790
100793
|
"kind": "field",
|
|
100791
|
-
"name": "
|
|
100794
|
+
"name": "maybeDisabled",
|
|
100792
100795
|
"type": {
|
|
100793
|
-
"text": "
|
|
100796
|
+
"text": "boolean | undefined"
|
|
100794
100797
|
},
|
|
100795
|
-
"privacy": "
|
|
100796
|
-
"
|
|
100797
|
-
"default": "[super.styles, unsafeCSS(blockStyle)]",
|
|
100798
|
+
"privacy": "protected",
|
|
100799
|
+
"readonly": true,
|
|
100798
100800
|
"inheritedFrom": {
|
|
100799
|
-
"name": "
|
|
100800
|
-
"module": "
|
|
100801
|
+
"name": "SbbActionBaseElement",
|
|
100802
|
+
"module": "core/base-elements/action-base-element.js"
|
|
100801
100803
|
}
|
|
100802
100804
|
},
|
|
100803
100805
|
{
|
|
100804
100806
|
"kind": "field",
|
|
100805
|
-
"name": "
|
|
100807
|
+
"name": "maybeDisabledInteractive",
|
|
100806
100808
|
"type": {
|
|
100807
|
-
"text": "
|
|
100809
|
+
"text": "boolean | undefined"
|
|
100808
100810
|
},
|
|
100809
|
-
"privacy": "
|
|
100810
|
-
"
|
|
100811
|
-
"description": "Moves the icon to the end of the component if set to true.",
|
|
100812
|
-
"attribute": "icon-placement",
|
|
100813
|
-
"reflects": true,
|
|
100811
|
+
"privacy": "protected",
|
|
100812
|
+
"readonly": true,
|
|
100814
100813
|
"inheritedFrom": {
|
|
100815
|
-
"name": "
|
|
100816
|
-
"module": "
|
|
100814
|
+
"name": "SbbActionBaseElement",
|
|
100815
|
+
"module": "core/base-elements/action-base-element.js"
|
|
100817
100816
|
}
|
|
100818
100817
|
},
|
|
100819
100818
|
{
|
|
100820
100819
|
"kind": "method",
|
|
100821
|
-
"name": "
|
|
100820
|
+
"name": "setupBaseEventHandlers",
|
|
100822
100821
|
"privacy": "protected",
|
|
100823
100822
|
"return": {
|
|
100824
100823
|
"type": {
|
|
100825
|
-
"text": "
|
|
100824
|
+
"text": "void"
|
|
100826
100825
|
}
|
|
100827
100826
|
},
|
|
100828
|
-
"description": "Override this method to render the component template.",
|
|
100829
100827
|
"inheritedFrom": {
|
|
100830
100828
|
"name": "SbbActionBaseElement",
|
|
100831
100829
|
"module": "core/base-elements/action-base-element.js"
|
|
@@ -100833,621 +100831,608 @@
|
|
|
100833
100831
|
},
|
|
100834
100832
|
{
|
|
100835
100833
|
"kind": "field",
|
|
100836
|
-
"name": "
|
|
100834
|
+
"name": "_hydrationRequired",
|
|
100837
100835
|
"type": {
|
|
100838
|
-
"text": "
|
|
100836
|
+
"text": "boolean"
|
|
100839
100837
|
},
|
|
100840
|
-
"privacy": "
|
|
100841
|
-
"
|
|
100842
|
-
"default": "'s' / 'xs' (lean)",
|
|
100843
|
-
"attribute": "size",
|
|
100844
|
-
"reflects": true,
|
|
100838
|
+
"privacy": "private",
|
|
100839
|
+
"default": "!!this.shadowRoot",
|
|
100845
100840
|
"inheritedFrom": {
|
|
100846
|
-
"name": "
|
|
100847
|
-
"module": "
|
|
100841
|
+
"name": "SbbElement",
|
|
100842
|
+
"module": "core/base-elements/element.js"
|
|
100848
100843
|
}
|
|
100849
100844
|
},
|
|
100850
100845
|
{
|
|
100851
100846
|
"kind": "field",
|
|
100852
|
-
"name": "
|
|
100847
|
+
"name": "_hydrationComplete",
|
|
100848
|
+
"privacy": "private",
|
|
100849
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
100850
|
+
"inheritedFrom": {
|
|
100851
|
+
"name": "SbbElement",
|
|
100852
|
+
"module": "core/base-elements/element.js"
|
|
100853
|
+
}
|
|
100854
|
+
},
|
|
100855
|
+
{
|
|
100856
|
+
"kind": "field",
|
|
100857
|
+
"name": "_resolveHydration",
|
|
100853
100858
|
"type": {
|
|
100854
|
-
"text": "
|
|
100859
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
100855
100860
|
},
|
|
100856
|
-
"privacy": "
|
|
100857
|
-
"default": "''",
|
|
100858
|
-
"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.",
|
|
100859
|
-
"attribute": "icon-name",
|
|
100861
|
+
"privacy": "private",
|
|
100860
100862
|
"inheritedFrom": {
|
|
100861
|
-
"name": "
|
|
100862
|
-
"module": "
|
|
100863
|
+
"name": "SbbElement",
|
|
100864
|
+
"module": "core/base-elements/element.js"
|
|
100863
100865
|
}
|
|
100864
100866
|
},
|
|
100867
|
+
{
|
|
100868
|
+
"kind": "field",
|
|
100869
|
+
"name": "hydrationRequired",
|
|
100870
|
+
"type": {
|
|
100871
|
+
"text": "boolean"
|
|
100872
|
+
},
|
|
100873
|
+
"privacy": "protected",
|
|
100874
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
100875
|
+
"readonly": true,
|
|
100876
|
+
"inheritedFrom": {
|
|
100877
|
+
"name": "SbbElement",
|
|
100878
|
+
"module": "core/base-elements/element.js"
|
|
100879
|
+
},
|
|
100880
|
+
"default": "!!this.shadowRoot"
|
|
100881
|
+
},
|
|
100865
100882
|
{
|
|
100866
100883
|
"kind": "method",
|
|
100867
|
-
"name": "
|
|
100884
|
+
"name": "toggleState",
|
|
100868
100885
|
"privacy": "protected",
|
|
100869
100886
|
"return": {
|
|
100870
100887
|
"type": {
|
|
100871
|
-
"text": "
|
|
100888
|
+
"text": "void"
|
|
100872
100889
|
}
|
|
100873
100890
|
},
|
|
100874
100891
|
"parameters": [
|
|
100875
100892
|
{
|
|
100876
|
-
"name": "
|
|
100877
|
-
"optional": true,
|
|
100893
|
+
"name": "value",
|
|
100878
100894
|
"type": {
|
|
100879
100895
|
"text": "string"
|
|
100880
100896
|
}
|
|
100897
|
+
},
|
|
100898
|
+
{
|
|
100899
|
+
"name": "force",
|
|
100900
|
+
"optional": true,
|
|
100901
|
+
"type": {
|
|
100902
|
+
"text": "boolean"
|
|
100903
|
+
}
|
|
100881
100904
|
}
|
|
100882
100905
|
],
|
|
100883
100906
|
"inheritedFrom": {
|
|
100884
|
-
"name": "
|
|
100885
|
-
"module": "
|
|
100907
|
+
"name": "SbbElement",
|
|
100908
|
+
"module": "core/base-elements/element.js"
|
|
100886
100909
|
}
|
|
100887
100910
|
},
|
|
100888
100911
|
{
|
|
100889
|
-
"kind": "
|
|
100890
|
-
"name": "
|
|
100891
|
-
"
|
|
100892
|
-
|
|
100893
|
-
"type": {
|
|
100894
|
-
"text": "string"
|
|
100895
|
-
}
|
|
100912
|
+
"kind": "field",
|
|
100913
|
+
"name": "['_$sbbElement$']",
|
|
100914
|
+
"type": {
|
|
100915
|
+
"text": "boolean"
|
|
100896
100916
|
},
|
|
100917
|
+
"privacy": "public",
|
|
100918
|
+
"static": true,
|
|
100919
|
+
"default": "true",
|
|
100897
100920
|
"inheritedFrom": {
|
|
100898
|
-
"name": "
|
|
100899
|
-
"module": "
|
|
100921
|
+
"name": "SbbElement",
|
|
100922
|
+
"module": "core/base-elements/element.js"
|
|
100900
100923
|
}
|
|
100901
100924
|
},
|
|
100902
100925
|
{
|
|
100903
|
-
"kind": "
|
|
100904
|
-
"name": "
|
|
100905
|
-
"
|
|
100906
|
-
|
|
100907
|
-
"type": {
|
|
100908
|
-
"text": "string"
|
|
100909
|
-
}
|
|
100926
|
+
"kind": "field",
|
|
100927
|
+
"name": "_controllers",
|
|
100928
|
+
"type": {
|
|
100929
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
100910
100930
|
},
|
|
100931
|
+
"privacy": "private",
|
|
100911
100932
|
"inheritedFrom": {
|
|
100912
|
-
"name": "
|
|
100913
|
-
"module": "
|
|
100933
|
+
"name": "SbbElement",
|
|
100934
|
+
"module": "core/base-elements/element.js"
|
|
100914
100935
|
}
|
|
100936
|
+
}
|
|
100937
|
+
],
|
|
100938
|
+
"mixins": [
|
|
100939
|
+
{
|
|
100940
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
100941
|
+
"module": "link/common/block-link-common.js"
|
|
100915
100942
|
},
|
|
100916
100943
|
{
|
|
100917
|
-
"
|
|
100918
|
-
"
|
|
100944
|
+
"name": "SbbDisabledTabIndexActionMixin",
|
|
100945
|
+
"module": "core/mixins.js"
|
|
100946
|
+
}
|
|
100947
|
+
],
|
|
100948
|
+
"superclass": {
|
|
100949
|
+
"name": "SbbButtonBaseElement",
|
|
100950
|
+
"module": "core/base-elements.js"
|
|
100951
|
+
},
|
|
100952
|
+
"tagName": "sbb-block-link-button",
|
|
100953
|
+
"customElement": true,
|
|
100954
|
+
"attributes": [
|
|
100955
|
+
{
|
|
100956
|
+
"name": "icon-placement",
|
|
100919
100957
|
"type": {
|
|
100920
|
-
"text": "
|
|
100958
|
+
"text": "SbbIconPlacement"
|
|
100921
100959
|
},
|
|
100922
|
-
"
|
|
100923
|
-
"
|
|
100924
|
-
"
|
|
100925
|
-
"attribute": "disabled-interactive",
|
|
100926
|
-
"reflects": true,
|
|
100960
|
+
"default": "'start'",
|
|
100961
|
+
"description": "Moves the icon to the end of the component if set to true.",
|
|
100962
|
+
"fieldName": "iconPlacement",
|
|
100927
100963
|
"inheritedFrom": {
|
|
100928
|
-
"name": "
|
|
100929
|
-
"module": "
|
|
100964
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
100965
|
+
"module": "link/common/block-link-common.js"
|
|
100930
100966
|
}
|
|
100931
100967
|
},
|
|
100932
100968
|
{
|
|
100933
|
-
"
|
|
100934
|
-
"name": "disabled",
|
|
100935
|
-
"privacy": "public",
|
|
100936
|
-
"description": "Whether the component is disabled.",
|
|
100937
|
-
"default": "false",
|
|
100969
|
+
"name": "size",
|
|
100938
100970
|
"type": {
|
|
100939
|
-
"text": "
|
|
100971
|
+
"text": "SbbLinkSize"
|
|
100940
100972
|
},
|
|
100941
|
-
"
|
|
100942
|
-
"
|
|
100973
|
+
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
100974
|
+
"default": "'s' / 'xs' (lean)",
|
|
100975
|
+
"fieldName": "size",
|
|
100943
100976
|
"inheritedFrom": {
|
|
100944
|
-
"name": "
|
|
100945
|
-
"module": "
|
|
100977
|
+
"name": "SbbLinkCommonElementMixin",
|
|
100978
|
+
"module": "link/common/link-common.js"
|
|
100946
100979
|
}
|
|
100947
100980
|
},
|
|
100948
100981
|
{
|
|
100949
|
-
"
|
|
100950
|
-
"name": "#disabled",
|
|
100951
|
-
"privacy": "private",
|
|
100982
|
+
"name": "icon-name",
|
|
100952
100983
|
"type": {
|
|
100953
|
-
"text": "
|
|
100984
|
+
"text": "string"
|
|
100954
100985
|
},
|
|
100955
|
-
"default": "
|
|
100986
|
+
"default": "''",
|
|
100987
|
+
"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.",
|
|
100988
|
+
"fieldName": "iconName",
|
|
100956
100989
|
"inheritedFrom": {
|
|
100957
|
-
"name": "
|
|
100958
|
-
"module": "
|
|
100990
|
+
"name": "SbbIconNameMixin",
|
|
100991
|
+
"module": "icon/icon-name-mixin.js"
|
|
100959
100992
|
}
|
|
100960
100993
|
},
|
|
100961
100994
|
{
|
|
100962
|
-
"
|
|
100963
|
-
"
|
|
100964
|
-
|
|
100965
|
-
"return": {
|
|
100966
|
-
"type": {
|
|
100967
|
-
"text": "boolean"
|
|
100968
|
-
}
|
|
100995
|
+
"name": "disabled-interactive",
|
|
100996
|
+
"type": {
|
|
100997
|
+
"text": "boolean"
|
|
100969
100998
|
},
|
|
100970
|
-
"
|
|
100999
|
+
"default": "false",
|
|
101000
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
101001
|
+
"fieldName": "disabledInteractive",
|
|
100971
101002
|
"inheritedFrom": {
|
|
100972
|
-
"name": "
|
|
101003
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
100973
101004
|
"module": "core/mixins/disabled-mixin.js"
|
|
100974
101005
|
}
|
|
100975
101006
|
},
|
|
100976
101007
|
{
|
|
100977
|
-
"
|
|
100978
|
-
"
|
|
101008
|
+
"name": "disabled",
|
|
101009
|
+
"description": "Whether the component is disabled.",
|
|
101010
|
+
"default": "false",
|
|
100979
101011
|
"type": {
|
|
100980
|
-
"text": "
|
|
101012
|
+
"text": "boolean"
|
|
100981
101013
|
},
|
|
100982
|
-
"
|
|
100983
|
-
"readonly": true,
|
|
100984
|
-
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
101014
|
+
"fieldName": "disabled",
|
|
100985
101015
|
"inheritedFrom": {
|
|
100986
|
-
"name": "
|
|
100987
|
-
"module": "core/
|
|
101016
|
+
"name": "SbbDisabledMixin",
|
|
101017
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
100988
101018
|
}
|
|
100989
101019
|
},
|
|
100990
101020
|
{
|
|
100991
|
-
"kind": "field",
|
|
100992
101021
|
"name": "value",
|
|
100993
101022
|
"type": {
|
|
100994
101023
|
"text": "string"
|
|
100995
101024
|
},
|
|
100996
|
-
"
|
|
101025
|
+
"default": "''",
|
|
101026
|
+
"description": "Value of the form element.",
|
|
101027
|
+
"fieldName": "value",
|
|
100997
101028
|
"inheritedFrom": {
|
|
100998
101029
|
"name": "SbbButtonBaseElement",
|
|
100999
101030
|
"module": "core/base-elements/button-base-element.js"
|
|
101000
|
-
}
|
|
101001
|
-
"default": "''",
|
|
101002
|
-
"description": "Value of the form element.",
|
|
101003
|
-
"attribute": "value"
|
|
101031
|
+
}
|
|
101004
101032
|
},
|
|
101005
101033
|
{
|
|
101006
|
-
"kind": "field",
|
|
101007
101034
|
"name": "type",
|
|
101008
|
-
"privacy": "public",
|
|
101009
101035
|
"description": "The type attribute to use for the button.",
|
|
101010
101036
|
"default": "'button'",
|
|
101011
101037
|
"type": {
|
|
101012
101038
|
"text": "SbbButtonType"
|
|
101013
101039
|
},
|
|
101014
|
-
"
|
|
101040
|
+
"fieldName": "type",
|
|
101015
101041
|
"inheritedFrom": {
|
|
101016
101042
|
"name": "SbbButtonBaseElement",
|
|
101017
101043
|
"module": "core/base-elements/button-base-element.js"
|
|
101018
101044
|
}
|
|
101019
101045
|
},
|
|
101020
101046
|
{
|
|
101021
|
-
"kind": "field",
|
|
101022
101047
|
"name": "form",
|
|
101048
|
+
"description": "The `<form>` element to associate the button with.",
|
|
101023
101049
|
"type": {
|
|
101024
101050
|
"text": "HTMLFormElement | null"
|
|
101025
101051
|
},
|
|
101026
|
-
"
|
|
101027
|
-
"description": "The `<form>` element to associate the button with.",
|
|
101052
|
+
"fieldName": "form",
|
|
101028
101053
|
"inheritedFrom": {
|
|
101029
101054
|
"name": "SbbButtonBaseElement",
|
|
101030
101055
|
"module": "core/base-elements/button-base-element.js"
|
|
101031
|
-
}
|
|
101032
|
-
"attribute": "form"
|
|
101056
|
+
}
|
|
101033
101057
|
},
|
|
101034
101058
|
{
|
|
101035
|
-
"
|
|
101036
|
-
"
|
|
101059
|
+
"name": "name",
|
|
101060
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
101037
101061
|
"type": {
|
|
101038
101062
|
"text": "string"
|
|
101039
101063
|
},
|
|
101040
|
-
"
|
|
101041
|
-
"default": "''",
|
|
101064
|
+
"fieldName": "name",
|
|
101042
101065
|
"inheritedFrom": {
|
|
101043
|
-
"name": "
|
|
101044
|
-
"module": "core/
|
|
101066
|
+
"name": "SbbFormAssociatedMixin",
|
|
101067
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101045
101068
|
}
|
|
101046
|
-
}
|
|
101069
|
+
}
|
|
101070
|
+
]
|
|
101071
|
+
}
|
|
101072
|
+
],
|
|
101073
|
+
"exports": [
|
|
101074
|
+
{
|
|
101075
|
+
"kind": "js",
|
|
101076
|
+
"name": "SbbBlockLinkButtonElement",
|
|
101077
|
+
"declaration": {
|
|
101078
|
+
"name": "SbbBlockLinkButtonElement",
|
|
101079
|
+
"module": "link/block-link-button/block-link-button.component.js"
|
|
101080
|
+
}
|
|
101081
|
+
}
|
|
101082
|
+
]
|
|
101083
|
+
},
|
|
101084
|
+
{
|
|
101085
|
+
"kind": "javascript-module",
|
|
101086
|
+
"path": "link/block-link/block-link.component.js",
|
|
101087
|
+
"declarations": [
|
|
101088
|
+
{
|
|
101089
|
+
"kind": "class",
|
|
101090
|
+
"description": "It displays a link enhanced with the SBB Design.",
|
|
101091
|
+
"name": "SbbBlockLinkElement",
|
|
101092
|
+
"slots": [
|
|
101047
101093
|
{
|
|
101048
|
-
"
|
|
101049
|
-
"name": "
|
|
101050
|
-
"privacy": "private",
|
|
101051
|
-
"inheritedFrom": {
|
|
101052
|
-
"name": "SbbButtonBaseElement",
|
|
101053
|
-
"module": "core/base-elements/button-base-element.js"
|
|
101054
|
-
}
|
|
101094
|
+
"description": "Use the unnamed slot to add content to the `sbb-block-link`.",
|
|
101095
|
+
"name": ""
|
|
101055
101096
|
},
|
|
101056
101097
|
{
|
|
101057
|
-
"
|
|
101058
|
-
"name": "
|
|
101059
|
-
|
|
101060
|
-
|
|
101061
|
-
|
|
101062
|
-
"text": "void"
|
|
101063
|
-
}
|
|
101064
|
-
},
|
|
101065
|
-
"parameters": [
|
|
101066
|
-
{
|
|
101067
|
-
"name": "form",
|
|
101068
|
-
"type": {
|
|
101069
|
-
"text": "HTMLFormElement"
|
|
101070
|
-
}
|
|
101071
|
-
}
|
|
101072
|
-
],
|
|
101073
|
-
"inheritedFrom": {
|
|
101074
|
-
"name": "SbbButtonBaseElement",
|
|
101075
|
-
"module": "core/base-elements/button-base-element.js"
|
|
101076
|
-
}
|
|
101077
|
-
},
|
|
101098
|
+
"description": "Slot used to display the icon, if one is set.",
|
|
101099
|
+
"name": "icon"
|
|
101100
|
+
}
|
|
101101
|
+
],
|
|
101102
|
+
"members": [
|
|
101078
101103
|
{
|
|
101079
101104
|
"kind": "field",
|
|
101080
|
-
"name": "
|
|
101081
|
-
"
|
|
101105
|
+
"name": "elementName",
|
|
101106
|
+
"type": {
|
|
101107
|
+
"text": "string"
|
|
101108
|
+
},
|
|
101109
|
+
"privacy": "public",
|
|
101110
|
+
"static": true,
|
|
101111
|
+
"readonly": true,
|
|
101082
101112
|
"inheritedFrom": {
|
|
101083
|
-
"name": "
|
|
101084
|
-
"module": "core/base-elements/
|
|
101085
|
-
}
|
|
101113
|
+
"name": "SbbElement",
|
|
101114
|
+
"module": "core/base-elements/element.js"
|
|
101115
|
+
},
|
|
101116
|
+
"default": "'sbb-block-link'"
|
|
101086
101117
|
},
|
|
101087
101118
|
{
|
|
101088
101119
|
"kind": "field",
|
|
101089
|
-
"name": "
|
|
101120
|
+
"name": "styles",
|
|
101090
101121
|
"type": {
|
|
101091
|
-
"text": "
|
|
101122
|
+
"text": "CSSResultGroup"
|
|
101092
101123
|
},
|
|
101093
101124
|
"privacy": "public",
|
|
101094
101125
|
"static": true,
|
|
101095
|
-
"default": "
|
|
101126
|
+
"default": "[super.styles, unsafeCSS(blockStyle)]",
|
|
101096
101127
|
"inheritedFrom": {
|
|
101097
|
-
"name": "
|
|
101098
|
-
"module": "
|
|
101128
|
+
"name": "SbbLinkCommonElementMixin",
|
|
101129
|
+
"module": "link/common/link-common.js"
|
|
101099
101130
|
}
|
|
101100
101131
|
},
|
|
101101
101132
|
{
|
|
101102
101133
|
"kind": "field",
|
|
101103
|
-
"name": "
|
|
101104
|
-
"privacy": "public",
|
|
101105
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
101134
|
+
"name": "iconPlacement",
|
|
101106
101135
|
"type": {
|
|
101107
|
-
"text": "
|
|
101108
|
-
},
|
|
101109
|
-
"attribute": "name",
|
|
101110
|
-
"inheritedFrom": {
|
|
101111
|
-
"name": "SbbFormAssociatedMixin",
|
|
101112
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
101113
|
-
}
|
|
101114
|
-
},
|
|
101115
|
-
{
|
|
101116
|
-
"kind": "field",
|
|
101117
|
-
"name": "validity",
|
|
101118
|
-
"type": {
|
|
101119
|
-
"text": "ValidityState"
|
|
101136
|
+
"text": "SbbIconPlacement"
|
|
101120
101137
|
},
|
|
101121
101138
|
"privacy": "public",
|
|
101122
|
-
"
|
|
101123
|
-
"
|
|
101139
|
+
"default": "'start'",
|
|
101140
|
+
"description": "Moves the icon to the end of the component if set to true.",
|
|
101141
|
+
"attribute": "icon-placement",
|
|
101142
|
+
"reflects": true,
|
|
101124
101143
|
"inheritedFrom": {
|
|
101125
|
-
"name": "
|
|
101126
|
-
"module": "
|
|
101144
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
101145
|
+
"module": "link/common/block-link-common.js"
|
|
101127
101146
|
}
|
|
101128
101147
|
},
|
|
101129
101148
|
{
|
|
101130
|
-
"kind": "
|
|
101131
|
-
"name": "
|
|
101132
|
-
"
|
|
101133
|
-
|
|
101149
|
+
"kind": "method",
|
|
101150
|
+
"name": "renderTemplate",
|
|
101151
|
+
"privacy": "protected",
|
|
101152
|
+
"return": {
|
|
101153
|
+
"type": {
|
|
101154
|
+
"text": "TemplateResult"
|
|
101155
|
+
}
|
|
101134
101156
|
},
|
|
101135
|
-
"
|
|
101136
|
-
"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.",
|
|
101137
|
-
"readonly": true,
|
|
101157
|
+
"description": "Override this method to render the component template.",
|
|
101138
101158
|
"inheritedFrom": {
|
|
101139
|
-
"name": "
|
|
101140
|
-
"module": "core/
|
|
101159
|
+
"name": "SbbActionBaseElement",
|
|
101160
|
+
"module": "core/base-elements/action-base-element.js"
|
|
101141
101161
|
}
|
|
101142
101162
|
},
|
|
101143
101163
|
{
|
|
101144
101164
|
"kind": "field",
|
|
101145
|
-
"name": "
|
|
101165
|
+
"name": "size",
|
|
101146
101166
|
"type": {
|
|
101147
|
-
"text": "
|
|
101167
|
+
"text": "SbbLinkSize"
|
|
101148
101168
|
},
|
|
101149
101169
|
"privacy": "public",
|
|
101150
|
-
"description": "
|
|
101151
|
-
"
|
|
101152
|
-
"
|
|
101153
|
-
|
|
101154
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
101155
|
-
}
|
|
101156
|
-
},
|
|
101157
|
-
{
|
|
101158
|
-
"kind": "field",
|
|
101159
|
-
"name": "_validityStates",
|
|
101160
|
-
"privacy": "private",
|
|
101161
|
-
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
101170
|
+
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
101171
|
+
"default": "'s' / 'xs' (lean)",
|
|
101172
|
+
"attribute": "size",
|
|
101173
|
+
"reflects": true,
|
|
101162
101174
|
"inheritedFrom": {
|
|
101163
|
-
"name": "
|
|
101164
|
-
"module": "
|
|
101175
|
+
"name": "SbbLinkCommonElementMixin",
|
|
101176
|
+
"module": "link/common/link-common.js"
|
|
101165
101177
|
}
|
|
101166
101178
|
},
|
|
101167
101179
|
{
|
|
101168
101180
|
"kind": "field",
|
|
101169
|
-
"name": "
|
|
101181
|
+
"name": "iconName",
|
|
101170
101182
|
"type": {
|
|
101171
|
-
"text": "
|
|
101172
|
-
},
|
|
101173
|
-
"privacy": "protected",
|
|
101174
|
-
"default": "false",
|
|
101175
|
-
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
101176
|
-
"inheritedFrom": {
|
|
101177
|
-
"name": "SbbFormAssociatedMixin",
|
|
101178
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
101179
|
-
}
|
|
101180
|
-
},
|
|
101181
|
-
{
|
|
101182
|
-
"kind": "method",
|
|
101183
|
-
"name": "checkValidity",
|
|
101184
|
-
"privacy": "public",
|
|
101185
|
-
"return": {
|
|
101186
|
-
"type": {
|
|
101187
|
-
"text": "boolean"
|
|
101188
|
-
}
|
|
101183
|
+
"text": "string"
|
|
101189
101184
|
},
|
|
101190
|
-
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
101191
|
-
"inheritedFrom": {
|
|
101192
|
-
"name": "SbbFormAssociatedMixin",
|
|
101193
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
101194
|
-
}
|
|
101195
|
-
},
|
|
101196
|
-
{
|
|
101197
|
-
"kind": "method",
|
|
101198
|
-
"name": "reportValidity",
|
|
101199
101185
|
"privacy": "public",
|
|
101200
|
-
"
|
|
101201
|
-
|
|
101202
|
-
|
|
101203
|
-
}
|
|
101204
|
-
},
|
|
101205
|
-
"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.",
|
|
101186
|
+
"default": "''",
|
|
101187
|
+
"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.",
|
|
101188
|
+
"attribute": "icon-name",
|
|
101206
101189
|
"inheritedFrom": {
|
|
101207
|
-
"name": "
|
|
101208
|
-
"module": "
|
|
101190
|
+
"name": "SbbIconNameMixin",
|
|
101191
|
+
"module": "icon/icon-name-mixin.js"
|
|
101209
101192
|
}
|
|
101210
101193
|
},
|
|
101211
101194
|
{
|
|
101212
101195
|
"kind": "method",
|
|
101213
|
-
"name": "
|
|
101214
|
-
"privacy": "
|
|
101196
|
+
"name": "renderIconSlot",
|
|
101197
|
+
"privacy": "protected",
|
|
101215
101198
|
"return": {
|
|
101216
101199
|
"type": {
|
|
101217
|
-
"text": "
|
|
101200
|
+
"text": "TemplateResult"
|
|
101218
101201
|
}
|
|
101219
101202
|
},
|
|
101220
101203
|
"parameters": [
|
|
101221
101204
|
{
|
|
101222
|
-
"name": "
|
|
101205
|
+
"name": "classname",
|
|
101206
|
+
"optional": true,
|
|
101223
101207
|
"type": {
|
|
101224
101208
|
"text": "string"
|
|
101225
101209
|
}
|
|
101226
101210
|
}
|
|
101227
101211
|
],
|
|
101228
|
-
"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.",
|
|
101229
101212
|
"inheritedFrom": {
|
|
101230
|
-
"name": "
|
|
101231
|
-
"module": "
|
|
101213
|
+
"name": "SbbIconNameMixin",
|
|
101214
|
+
"module": "icon/icon-name-mixin.js"
|
|
101232
101215
|
}
|
|
101233
101216
|
},
|
|
101234
101217
|
{
|
|
101235
101218
|
"kind": "method",
|
|
101236
|
-
"name": "
|
|
101237
|
-
"privacy": "
|
|
101219
|
+
"name": "renderIconName",
|
|
101220
|
+
"privacy": "protected",
|
|
101238
101221
|
"return": {
|
|
101239
101222
|
"type": {
|
|
101240
|
-
"text": "
|
|
101223
|
+
"text": "string"
|
|
101241
101224
|
}
|
|
101242
101225
|
},
|
|
101243
101226
|
"inheritedFrom": {
|
|
101244
|
-
"name": "
|
|
101245
|
-
"module": "
|
|
101227
|
+
"name": "SbbIconNameMixin",
|
|
101228
|
+
"module": "icon/icon-name-mixin.js"
|
|
101246
101229
|
}
|
|
101247
101230
|
},
|
|
101248
101231
|
{
|
|
101249
101232
|
"kind": "method",
|
|
101250
|
-
"name": "
|
|
101251
|
-
"privacy": "
|
|
101233
|
+
"name": "_renderIconName",
|
|
101234
|
+
"privacy": "private",
|
|
101252
101235
|
"return": {
|
|
101253
101236
|
"type": {
|
|
101254
|
-
"text": "
|
|
101237
|
+
"text": "string"
|
|
101255
101238
|
}
|
|
101256
101239
|
},
|
|
101257
|
-
"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",
|
|
101258
101240
|
"inheritedFrom": {
|
|
101259
|
-
"name": "
|
|
101260
|
-
"module": "
|
|
101241
|
+
"name": "SbbIconNameMixin",
|
|
101242
|
+
"module": "icon/icon-name-mixin.js"
|
|
101261
101243
|
}
|
|
101262
101244
|
},
|
|
101263
101245
|
{
|
|
101264
|
-
"kind": "
|
|
101265
|
-
"name": "
|
|
101266
|
-
"privacy": "
|
|
101267
|
-
"
|
|
101268
|
-
|
|
101269
|
-
|
|
101270
|
-
|
|
101246
|
+
"kind": "field",
|
|
101247
|
+
"name": "disabled",
|
|
101248
|
+
"privacy": "public",
|
|
101249
|
+
"description": "Whether the component is disabled.",
|
|
101250
|
+
"default": "false",
|
|
101251
|
+
"type": {
|
|
101252
|
+
"text": "boolean"
|
|
101271
101253
|
},
|
|
101254
|
+
"attribute": "disabled",
|
|
101255
|
+
"reflects": true,
|
|
101272
101256
|
"inheritedFrom": {
|
|
101273
|
-
"name": "
|
|
101274
|
-
"module": "core/mixins/
|
|
101257
|
+
"name": "SbbDisabledMixin",
|
|
101258
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
101275
101259
|
}
|
|
101276
101260
|
},
|
|
101277
101261
|
{
|
|
101278
|
-
"kind": "
|
|
101279
|
-
"name": "
|
|
101280
|
-
"privacy": "
|
|
101281
|
-
"
|
|
101282
|
-
"
|
|
101283
|
-
"text": "void"
|
|
101284
|
-
}
|
|
101262
|
+
"kind": "field",
|
|
101263
|
+
"name": "#disabled",
|
|
101264
|
+
"privacy": "private",
|
|
101265
|
+
"type": {
|
|
101266
|
+
"text": "boolean"
|
|
101285
101267
|
},
|
|
101286
|
-
"
|
|
101287
|
-
{
|
|
101288
|
-
"name": "flag",
|
|
101289
|
-
"type": {
|
|
101290
|
-
"text": "T"
|
|
101291
|
-
}
|
|
101292
|
-
},
|
|
101293
|
-
{
|
|
101294
|
-
"name": "message",
|
|
101295
|
-
"type": {
|
|
101296
|
-
"text": "string"
|
|
101297
|
-
}
|
|
101298
|
-
},
|
|
101299
|
-
{
|
|
101300
|
-
"name": "flagValue",
|
|
101301
|
-
"optional": true,
|
|
101302
|
-
"type": {
|
|
101303
|
-
"text": "ValidityStateFlags[T]"
|
|
101304
|
-
}
|
|
101305
|
-
}
|
|
101306
|
-
],
|
|
101307
|
-
"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).",
|
|
101268
|
+
"default": "false",
|
|
101308
101269
|
"inheritedFrom": {
|
|
101309
|
-
"name": "
|
|
101310
|
-
"module": "core/mixins/
|
|
101270
|
+
"name": "SbbDisabledMixin",
|
|
101271
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
101311
101272
|
}
|
|
101312
101273
|
},
|
|
101313
101274
|
{
|
|
101314
101275
|
"kind": "method",
|
|
101315
|
-
"name": "
|
|
101276
|
+
"name": "isDisabledExternally",
|
|
101316
101277
|
"privacy": "protected",
|
|
101317
101278
|
"return": {
|
|
101318
101279
|
"type": {
|
|
101319
|
-
"text": "
|
|
101280
|
+
"text": "boolean"
|
|
101320
101281
|
}
|
|
101321
101282
|
},
|
|
101322
|
-
"
|
|
101323
|
-
{
|
|
101324
|
-
"name": "flag",
|
|
101325
|
-
"type": {
|
|
101326
|
-
"text": "T"
|
|
101327
|
-
}
|
|
101328
|
-
}
|
|
101329
|
-
],
|
|
101330
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
101283
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
101331
101284
|
"inheritedFrom": {
|
|
101332
|
-
"name": "
|
|
101333
|
-
"module": "core/mixins/
|
|
101285
|
+
"name": "SbbDisabledMixin",
|
|
101286
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
101334
101287
|
}
|
|
101335
101288
|
},
|
|
101336
101289
|
{
|
|
101337
|
-
"kind": "
|
|
101338
|
-
"name": "
|
|
101339
|
-
"
|
|
101340
|
-
|
|
101341
|
-
"type": {
|
|
101342
|
-
"text": "void"
|
|
101343
|
-
}
|
|
101290
|
+
"kind": "field",
|
|
101291
|
+
"name": "href",
|
|
101292
|
+
"type": {
|
|
101293
|
+
"text": "string"
|
|
101344
101294
|
},
|
|
101345
|
-
"
|
|
101295
|
+
"privacy": "public",
|
|
101296
|
+
"default": "''",
|
|
101297
|
+
"description": "The href value you want to link to.",
|
|
101298
|
+
"attribute": "href",
|
|
101299
|
+
"reflects": true,
|
|
101346
101300
|
"inheritedFrom": {
|
|
101347
|
-
"name": "
|
|
101348
|
-
"module": "core/
|
|
101301
|
+
"name": "SbbLinkBaseElement",
|
|
101302
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101349
101303
|
}
|
|
101350
101304
|
},
|
|
101351
101305
|
{
|
|
101352
|
-
"kind": "
|
|
101353
|
-
"name": "
|
|
101354
|
-
"
|
|
101355
|
-
|
|
101356
|
-
"type": {
|
|
101357
|
-
"text": "boolean"
|
|
101358
|
-
}
|
|
101306
|
+
"kind": "field",
|
|
101307
|
+
"name": "target",
|
|
101308
|
+
"type": {
|
|
101309
|
+
"text": "LinkTargetType | string"
|
|
101359
101310
|
},
|
|
101360
|
-
"
|
|
101361
|
-
|
|
101362
|
-
|
|
101363
|
-
|
|
101364
|
-
|
|
101365
|
-
}
|
|
101366
|
-
}
|
|
101367
|
-
],
|
|
101368
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
101311
|
+
"privacy": "public",
|
|
101312
|
+
"default": "''",
|
|
101313
|
+
"description": "Where to display the linked URL.",
|
|
101314
|
+
"attribute": "target",
|
|
101315
|
+
"reflects": true,
|
|
101369
101316
|
"inheritedFrom": {
|
|
101370
|
-
"name": "
|
|
101371
|
-
"module": "core/
|
|
101317
|
+
"name": "SbbLinkBaseElement",
|
|
101318
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101372
101319
|
}
|
|
101373
101320
|
},
|
|
101374
101321
|
{
|
|
101375
|
-
"kind": "
|
|
101376
|
-
"name": "
|
|
101377
|
-
"
|
|
101378
|
-
|
|
101379
|
-
"type": {
|
|
101380
|
-
"text": "void"
|
|
101381
|
-
}
|
|
101322
|
+
"kind": "field",
|
|
101323
|
+
"name": "rel",
|
|
101324
|
+
"type": {
|
|
101325
|
+
"text": "string"
|
|
101382
101326
|
},
|
|
101327
|
+
"privacy": "public",
|
|
101328
|
+
"default": "''",
|
|
101329
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
101330
|
+
"attribute": "rel",
|
|
101331
|
+
"reflects": true,
|
|
101383
101332
|
"inheritedFrom": {
|
|
101384
|
-
"name": "
|
|
101385
|
-
"module": "core/
|
|
101333
|
+
"name": "SbbLinkBaseElement",
|
|
101334
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101386
101335
|
}
|
|
101387
101336
|
},
|
|
101388
101337
|
{
|
|
101389
101338
|
"kind": "field",
|
|
101390
|
-
"name": "
|
|
101339
|
+
"name": "download",
|
|
101391
101340
|
"type": {
|
|
101392
|
-
"text": "
|
|
101341
|
+
"text": "boolean"
|
|
101393
101342
|
},
|
|
101394
101343
|
"privacy": "public",
|
|
101395
|
-
"
|
|
101396
|
-
"
|
|
101397
|
-
"
|
|
101344
|
+
"default": "false",
|
|
101345
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
101346
|
+
"attribute": "download",
|
|
101347
|
+
"reflects": true,
|
|
101398
101348
|
"inheritedFrom": {
|
|
101399
|
-
"name": "
|
|
101400
|
-
"module": "core/base-elements/
|
|
101349
|
+
"name": "SbbLinkBaseElement",
|
|
101350
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101401
101351
|
}
|
|
101402
101352
|
},
|
|
101403
101353
|
{
|
|
101404
101354
|
"kind": "field",
|
|
101405
|
-
"name": "
|
|
101406
|
-
"
|
|
101407
|
-
|
|
101408
|
-
|
|
101409
|
-
|
|
101410
|
-
|
|
101411
|
-
|
|
101412
|
-
|
|
101413
|
-
],
|
|
101355
|
+
"name": "accessibilityLabel",
|
|
101356
|
+
"type": {
|
|
101357
|
+
"text": "string"
|
|
101358
|
+
},
|
|
101359
|
+
"privacy": "public",
|
|
101360
|
+
"default": "''",
|
|
101361
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
101362
|
+
"attribute": "accessibility-label",
|
|
101414
101363
|
"inheritedFrom": {
|
|
101415
|
-
"name": "
|
|
101416
|
-
"module": "core/base-elements/
|
|
101364
|
+
"name": "SbbLinkBaseElement",
|
|
101365
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101417
101366
|
}
|
|
101418
101367
|
},
|
|
101419
101368
|
{
|
|
101420
101369
|
"kind": "field",
|
|
101421
|
-
"name": "
|
|
101422
|
-
"
|
|
101370
|
+
"name": "accessibilityCurrent",
|
|
101371
|
+
"type": {
|
|
101372
|
+
"text": "string"
|
|
101373
|
+
},
|
|
101374
|
+
"privacy": "public",
|
|
101375
|
+
"default": "''",
|
|
101376
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
101377
|
+
"attribute": "accessibility-current",
|
|
101423
101378
|
"inheritedFrom": {
|
|
101424
|
-
"name": "
|
|
101425
|
-
"module": "core/base-elements/
|
|
101379
|
+
"name": "SbbLinkBaseElement",
|
|
101380
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101426
101381
|
}
|
|
101427
101382
|
},
|
|
101428
101383
|
{
|
|
101429
101384
|
"kind": "field",
|
|
101430
|
-
"name": "
|
|
101431
|
-
"privacy": "
|
|
101432
|
-
"
|
|
101433
|
-
"parameters": [
|
|
101434
|
-
{
|
|
101435
|
-
"description": "The origin event.",
|
|
101436
|
-
"name": "event"
|
|
101437
|
-
}
|
|
101438
|
-
],
|
|
101385
|
+
"name": "language",
|
|
101386
|
+
"privacy": "protected",
|
|
101387
|
+
"default": "new SbbLanguageController(this)",
|
|
101439
101388
|
"inheritedFrom": {
|
|
101440
|
-
"name": "
|
|
101441
|
-
"module": "core/base-elements/
|
|
101389
|
+
"name": "SbbLinkBaseElement",
|
|
101390
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101442
101391
|
}
|
|
101443
101392
|
},
|
|
101444
101393
|
{
|
|
101445
101394
|
"kind": "field",
|
|
101446
|
-
"name": "
|
|
101395
|
+
"name": "anchorRole",
|
|
101396
|
+
"type": {
|
|
101397
|
+
"text": "string | null"
|
|
101398
|
+
},
|
|
101399
|
+
"privacy": "protected",
|
|
101400
|
+
"readonly": true,
|
|
101401
|
+
"default": "null",
|
|
101402
|
+
"inheritedFrom": {
|
|
101403
|
+
"name": "SbbLinkBaseElement",
|
|
101404
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101405
|
+
}
|
|
101406
|
+
},
|
|
101407
|
+
{
|
|
101408
|
+
"kind": "field",
|
|
101409
|
+
"name": "_evaluateRelAttribute",
|
|
101447
101410
|
"privacy": "private",
|
|
101448
101411
|
"inheritedFrom": {
|
|
101449
|
-
"name": "
|
|
101450
|
-
"module": "core/base-elements/
|
|
101412
|
+
"name": "SbbLinkBaseElement",
|
|
101413
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101414
|
+
}
|
|
101415
|
+
},
|
|
101416
|
+
{
|
|
101417
|
+
"kind": "method",
|
|
101418
|
+
"name": "renderLink",
|
|
101419
|
+
"privacy": "protected",
|
|
101420
|
+
"return": {
|
|
101421
|
+
"type": {
|
|
101422
|
+
"text": "TemplateResult"
|
|
101423
|
+
}
|
|
101424
|
+
},
|
|
101425
|
+
"parameters": [
|
|
101426
|
+
{
|
|
101427
|
+
"name": "renderContent",
|
|
101428
|
+
"type": {
|
|
101429
|
+
"text": "TemplateResult"
|
|
101430
|
+
}
|
|
101431
|
+
}
|
|
101432
|
+
],
|
|
101433
|
+
"inheritedFrom": {
|
|
101434
|
+
"name": "SbbLinkBaseElement",
|
|
101435
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101451
101436
|
}
|
|
101452
101437
|
},
|
|
101453
101438
|
{
|
|
@@ -101602,15 +101587,15 @@
|
|
|
101602
101587
|
"module": "link/common/block-link-common.js"
|
|
101603
101588
|
},
|
|
101604
101589
|
{
|
|
101605
|
-
"name": "
|
|
101590
|
+
"name": "SbbDisabledMixin",
|
|
101606
101591
|
"module": "core/mixins.js"
|
|
101607
101592
|
}
|
|
101608
101593
|
],
|
|
101609
101594
|
"superclass": {
|
|
101610
|
-
"name": "
|
|
101595
|
+
"name": "SbbLinkBaseElement",
|
|
101611
101596
|
"module": "core/base-elements.js"
|
|
101612
101597
|
},
|
|
101613
|
-
"tagName": "sbb-block-link
|
|
101598
|
+
"tagName": "sbb-block-link",
|
|
101614
101599
|
"customElement": true,
|
|
101615
101600
|
"attributes": [
|
|
101616
101601
|
{
|
|
@@ -101653,79 +101638,94 @@
|
|
|
101653
101638
|
}
|
|
101654
101639
|
},
|
|
101655
101640
|
{
|
|
101656
|
-
"name": "disabled
|
|
101641
|
+
"name": "disabled",
|
|
101642
|
+
"description": "Whether the component is disabled.",
|
|
101643
|
+
"default": "false",
|
|
101657
101644
|
"type": {
|
|
101658
101645
|
"text": "boolean"
|
|
101659
101646
|
},
|
|
101660
|
-
"
|
|
101661
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
101662
|
-
"fieldName": "disabledInteractive",
|
|
101647
|
+
"fieldName": "disabled",
|
|
101663
101648
|
"inheritedFrom": {
|
|
101664
|
-
"name": "
|
|
101649
|
+
"name": "SbbDisabledMixin",
|
|
101665
101650
|
"module": "core/mixins/disabled-mixin.js"
|
|
101666
101651
|
}
|
|
101667
101652
|
},
|
|
101668
101653
|
{
|
|
101669
|
-
"name": "
|
|
101670
|
-
"description": "Whether the component is disabled.",
|
|
101671
|
-
"default": "false",
|
|
101654
|
+
"name": "href",
|
|
101672
101655
|
"type": {
|
|
101673
|
-
"text": "
|
|
101656
|
+
"text": "string"
|
|
101674
101657
|
},
|
|
101675
|
-
"
|
|
101658
|
+
"default": "''",
|
|
101659
|
+
"description": "The href value you want to link to.",
|
|
101660
|
+
"fieldName": "href",
|
|
101676
101661
|
"inheritedFrom": {
|
|
101677
|
-
"name": "
|
|
101678
|
-
"module": "core/
|
|
101662
|
+
"name": "SbbLinkBaseElement",
|
|
101663
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101679
101664
|
}
|
|
101680
101665
|
},
|
|
101681
101666
|
{
|
|
101682
|
-
"name": "
|
|
101667
|
+
"name": "target",
|
|
101668
|
+
"type": {
|
|
101669
|
+
"text": "LinkTargetType | string"
|
|
101670
|
+
},
|
|
101671
|
+
"default": "''",
|
|
101672
|
+
"description": "Where to display the linked URL.",
|
|
101673
|
+
"fieldName": "target",
|
|
101674
|
+
"inheritedFrom": {
|
|
101675
|
+
"name": "SbbLinkBaseElement",
|
|
101676
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101677
|
+
}
|
|
101678
|
+
},
|
|
101679
|
+
{
|
|
101680
|
+
"name": "rel",
|
|
101683
101681
|
"type": {
|
|
101684
101682
|
"text": "string"
|
|
101685
101683
|
},
|
|
101686
101684
|
"default": "''",
|
|
101687
|
-
"description": "
|
|
101688
|
-
"fieldName": "
|
|
101685
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
101686
|
+
"fieldName": "rel",
|
|
101689
101687
|
"inheritedFrom": {
|
|
101690
|
-
"name": "
|
|
101691
|
-
"module": "core/base-elements/
|
|
101688
|
+
"name": "SbbLinkBaseElement",
|
|
101689
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101692
101690
|
}
|
|
101693
101691
|
},
|
|
101694
101692
|
{
|
|
101695
|
-
"name": "
|
|
101696
|
-
"description": "The type attribute to use for the button.",
|
|
101697
|
-
"default": "'button'",
|
|
101693
|
+
"name": "download",
|
|
101698
101694
|
"type": {
|
|
101699
|
-
"text": "
|
|
101695
|
+
"text": "boolean"
|
|
101700
101696
|
},
|
|
101701
|
-
"
|
|
101697
|
+
"default": "false",
|
|
101698
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
101699
|
+
"fieldName": "download",
|
|
101702
101700
|
"inheritedFrom": {
|
|
101703
|
-
"name": "
|
|
101704
|
-
"module": "core/base-elements/
|
|
101701
|
+
"name": "SbbLinkBaseElement",
|
|
101702
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101705
101703
|
}
|
|
101706
101704
|
},
|
|
101707
101705
|
{
|
|
101708
|
-
"name": "
|
|
101709
|
-
"description": "The `<form>` element to associate the button with.",
|
|
101706
|
+
"name": "accessibility-label",
|
|
101710
101707
|
"type": {
|
|
101711
|
-
"text": "
|
|
101708
|
+
"text": "string"
|
|
101712
101709
|
},
|
|
101713
|
-
"
|
|
101710
|
+
"default": "''",
|
|
101711
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
101712
|
+
"fieldName": "accessibilityLabel",
|
|
101714
101713
|
"inheritedFrom": {
|
|
101715
|
-
"name": "
|
|
101716
|
-
"module": "core/base-elements/
|
|
101714
|
+
"name": "SbbLinkBaseElement",
|
|
101715
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101717
101716
|
}
|
|
101718
101717
|
},
|
|
101719
101718
|
{
|
|
101720
|
-
"name": "
|
|
101721
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
101719
|
+
"name": "accessibility-current",
|
|
101722
101720
|
"type": {
|
|
101723
101721
|
"text": "string"
|
|
101724
101722
|
},
|
|
101725
|
-
"
|
|
101723
|
+
"default": "''",
|
|
101724
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
101725
|
+
"fieldName": "accessibilityCurrent",
|
|
101726
101726
|
"inheritedFrom": {
|
|
101727
|
-
"name": "
|
|
101728
|
-
"module": "core/
|
|
101727
|
+
"name": "SbbLinkBaseElement",
|
|
101728
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101729
101729
|
}
|
|
101730
101730
|
}
|
|
101731
101731
|
]
|
|
@@ -101734,10 +101734,10 @@
|
|
|
101734
101734
|
"exports": [
|
|
101735
101735
|
{
|
|
101736
101736
|
"kind": "js",
|
|
101737
|
-
"name": "
|
|
101737
|
+
"name": "SbbBlockLinkElement",
|
|
101738
101738
|
"declaration": {
|
|
101739
|
-
"name": "
|
|
101740
|
-
"module": "link/block-link
|
|
101739
|
+
"name": "SbbBlockLinkElement",
|
|
101740
|
+
"module": "link/block-link/block-link.component.js"
|
|
101741
101741
|
}
|
|
101742
101742
|
}
|
|
101743
101743
|
]
|
|
@@ -105730,274 +105730,222 @@
|
|
|
105730
105730
|
},
|
|
105731
105731
|
{
|
|
105732
105732
|
"kind": "javascript-module",
|
|
105733
|
-
"path": "menu/
|
|
105733
|
+
"path": "menu/menu/menu.component.js",
|
|
105734
105734
|
"declarations": [
|
|
105735
105735
|
{
|
|
105736
105736
|
"kind": "class",
|
|
105737
|
-
"description": "",
|
|
105738
|
-
"name": "
|
|
105739
|
-
"
|
|
105740
|
-
{
|
|
105741
|
-
"name": "SbbIconNameMixin",
|
|
105742
|
-
"module": "icon.js"
|
|
105743
|
-
},
|
|
105737
|
+
"description": "It displays a contextual menu with one or more action element.",
|
|
105738
|
+
"name": "SbbMenuElement",
|
|
105739
|
+
"cssProperties": [
|
|
105744
105740
|
{
|
|
105745
|
-
"
|
|
105746
|
-
"
|
|
105741
|
+
"description": "To specify a custom stack order, the `z-index` can be overridden by defining this CSS variable. The default `z-index` of the component is set to `var(--sbb-overlay-default-z-index)` with a value of `1000`.",
|
|
105742
|
+
"name": "--sbb-menu-z-index",
|
|
105743
|
+
"default": "var(--sbb-overlay-default-z-index)"
|
|
105747
105744
|
}
|
|
105748
105745
|
],
|
|
105749
|
-
"
|
|
105750
|
-
"name": "SbbActionBaseElement",
|
|
105751
|
-
"module": "core/base-elements.js"
|
|
105752
|
-
},
|
|
105753
|
-
"attributes": [
|
|
105746
|
+
"slots": [
|
|
105754
105747
|
{
|
|
105755
|
-
"
|
|
105748
|
+
"description": "Use the unnamed slot to add `sbb-menu-button`/`sbb-menu-link` or other elements to the menu.",
|
|
105749
|
+
"name": ""
|
|
105750
|
+
}
|
|
105751
|
+
],
|
|
105752
|
+
"members": [
|
|
105753
|
+
{
|
|
105754
|
+
"kind": "field",
|
|
105755
|
+
"name": "elementName",
|
|
105756
105756
|
"type": {
|
|
105757
105757
|
"text": "string"
|
|
105758
105758
|
},
|
|
105759
|
-
"
|
|
105760
|
-
"
|
|
105761
|
-
"
|
|
105759
|
+
"privacy": "public",
|
|
105760
|
+
"static": true,
|
|
105761
|
+
"readonly": true,
|
|
105762
105762
|
"inheritedFrom": {
|
|
105763
|
-
"name": "
|
|
105764
|
-
"module": "
|
|
105765
|
-
}
|
|
105763
|
+
"name": "SbbElement",
|
|
105764
|
+
"module": "core/base-elements/element.js"
|
|
105765
|
+
},
|
|
105766
|
+
"default": "'sbb-menu'"
|
|
105766
105767
|
},
|
|
105767
105768
|
{
|
|
105768
|
-
"
|
|
105769
|
-
"
|
|
105770
|
-
"default": "false",
|
|
105769
|
+
"kind": "field",
|
|
105770
|
+
"name": "role",
|
|
105771
105771
|
"type": {
|
|
105772
|
-
"text": "
|
|
105772
|
+
"text": "string"
|
|
105773
105773
|
},
|
|
105774
|
-
"
|
|
105775
|
-
"
|
|
105776
|
-
|
|
105777
|
-
|
|
105778
|
-
|
|
105779
|
-
}
|
|
105780
|
-
],
|
|
105781
|
-
"members": [
|
|
105774
|
+
"privacy": "public",
|
|
105775
|
+
"static": true,
|
|
105776
|
+
"readonly": true,
|
|
105777
|
+
"default": "'menu'"
|
|
105778
|
+
},
|
|
105782
105779
|
{
|
|
105783
105780
|
"kind": "field",
|
|
105784
|
-
"name": "
|
|
105781
|
+
"name": "trigger",
|
|
105785
105782
|
"type": {
|
|
105786
|
-
"text": "
|
|
105783
|
+
"text": "HTMLElement | null"
|
|
105787
105784
|
},
|
|
105788
105785
|
"privacy": "public",
|
|
105789
|
-
"default": "
|
|
105790
|
-
"description": "The
|
|
105791
|
-
"attribute": "
|
|
105792
|
-
"inheritedFrom": {
|
|
105793
|
-
"name": "SbbIconNameMixin",
|
|
105794
|
-
"module": "icon/icon-name-mixin.js"
|
|
105795
|
-
}
|
|
105786
|
+
"default": "null",
|
|
105787
|
+
"description": "The element that will trigger the menu overlay.\n\nFor attribute usage, provide an id reference.",
|
|
105788
|
+
"attribute": "trigger"
|
|
105796
105789
|
},
|
|
105797
105790
|
{
|
|
105798
|
-
"kind": "
|
|
105799
|
-
"name": "
|
|
105800
|
-
"
|
|
105801
|
-
|
|
105802
|
-
"type": {
|
|
105803
|
-
"text": "TemplateResult"
|
|
105804
|
-
}
|
|
105791
|
+
"kind": "field",
|
|
105792
|
+
"name": "_menu",
|
|
105793
|
+
"type": {
|
|
105794
|
+
"text": "HTMLDivElement"
|
|
105805
105795
|
},
|
|
105806
|
-
"
|
|
105807
|
-
{
|
|
105808
|
-
"name": "classname",
|
|
105809
|
-
"optional": true,
|
|
105810
|
-
"type": {
|
|
105811
|
-
"text": "string"
|
|
105812
|
-
}
|
|
105813
|
-
}
|
|
105814
|
-
],
|
|
105815
|
-
"inheritedFrom": {
|
|
105816
|
-
"name": "SbbIconNameMixin",
|
|
105817
|
-
"module": "icon/icon-name-mixin.js"
|
|
105818
|
-
}
|
|
105796
|
+
"privacy": "private"
|
|
105819
105797
|
},
|
|
105820
105798
|
{
|
|
105821
|
-
"kind": "
|
|
105822
|
-
"name": "
|
|
105823
|
-
"
|
|
105824
|
-
|
|
105825
|
-
"type": {
|
|
105826
|
-
"text": "string"
|
|
105827
|
-
}
|
|
105799
|
+
"kind": "field",
|
|
105800
|
+
"name": "_triggerElement",
|
|
105801
|
+
"type": {
|
|
105802
|
+
"text": "HTMLElement | null"
|
|
105828
105803
|
},
|
|
105829
|
-
"
|
|
105830
|
-
|
|
105831
|
-
"module": "icon/icon-name-mixin.js"
|
|
105832
|
-
}
|
|
105804
|
+
"privacy": "private",
|
|
105805
|
+
"default": "null"
|
|
105833
105806
|
},
|
|
105834
105807
|
{
|
|
105835
|
-
"kind": "
|
|
105836
|
-
"name": "
|
|
105837
|
-
"
|
|
105838
|
-
|
|
105839
|
-
"type": {
|
|
105840
|
-
"text": "string"
|
|
105841
|
-
}
|
|
105808
|
+
"kind": "field",
|
|
105809
|
+
"name": "_triggerAbortController",
|
|
105810
|
+
"type": {
|
|
105811
|
+
"text": "AbortController"
|
|
105842
105812
|
},
|
|
105843
|
-
"
|
|
105844
|
-
"name": "SbbIconNameMixin",
|
|
105845
|
-
"module": "icon/icon-name-mixin.js"
|
|
105846
|
-
}
|
|
105813
|
+
"privacy": "private"
|
|
105847
105814
|
},
|
|
105848
105815
|
{
|
|
105849
105816
|
"kind": "field",
|
|
105850
|
-
"name": "
|
|
105851
|
-
"privacy": "public",
|
|
105852
|
-
"description": "Whether the component is disabled.",
|
|
105853
|
-
"default": "false",
|
|
105817
|
+
"name": "_isPointerDownEventOnMenu",
|
|
105854
105818
|
"type": {
|
|
105855
105819
|
"text": "boolean"
|
|
105856
105820
|
},
|
|
105857
|
-
"
|
|
105858
|
-
"
|
|
105859
|
-
"inheritedFrom": {
|
|
105860
|
-
"name": "SbbDisabledMixin",
|
|
105861
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
105862
|
-
}
|
|
105821
|
+
"privacy": "private",
|
|
105822
|
+
"default": "false"
|
|
105863
105823
|
},
|
|
105864
105824
|
{
|
|
105865
105825
|
"kind": "field",
|
|
105866
|
-
"name": "
|
|
105867
|
-
"privacy": "private",
|
|
105826
|
+
"name": "_windowEventsController",
|
|
105868
105827
|
"type": {
|
|
105869
|
-
"text": "
|
|
105828
|
+
"text": "AbortController"
|
|
105870
105829
|
},
|
|
105871
|
-
"
|
|
105872
|
-
"inheritedFrom": {
|
|
105873
|
-
"name": "SbbDisabledMixin",
|
|
105874
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
105875
|
-
}
|
|
105830
|
+
"privacy": "private"
|
|
105876
105831
|
},
|
|
105877
105832
|
{
|
|
105878
|
-
"kind": "
|
|
105879
|
-
"name": "
|
|
105880
|
-
"privacy": "
|
|
105881
|
-
"
|
|
105882
|
-
"type": {
|
|
105883
|
-
"text": "boolean"
|
|
105884
|
-
}
|
|
105885
|
-
},
|
|
105886
|
-
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
105887
|
-
"inheritedFrom": {
|
|
105888
|
-
"name": "SbbDisabledMixin",
|
|
105889
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
105890
|
-
}
|
|
105833
|
+
"kind": "field",
|
|
105834
|
+
"name": "_escapableOverlayController",
|
|
105835
|
+
"privacy": "private",
|
|
105836
|
+
"default": "new SbbEscapableOverlayController(this)"
|
|
105891
105837
|
},
|
|
105892
105838
|
{
|
|
105893
105839
|
"kind": "field",
|
|
105894
|
-
"name": "
|
|
105895
|
-
"
|
|
105896
|
-
|
|
105897
|
-
},
|
|
105898
|
-
"privacy": "protected",
|
|
105899
|
-
"readonly": true,
|
|
105900
|
-
"inheritedFrom": {
|
|
105901
|
-
"name": "SbbActionBaseElement",
|
|
105902
|
-
"module": "core/base-elements/action-base-element.js"
|
|
105903
|
-
}
|
|
105840
|
+
"name": "_focusTrapController",
|
|
105841
|
+
"privacy": "private",
|
|
105842
|
+
"default": "new SbbFocusTrapController(this)"
|
|
105904
105843
|
},
|
|
105905
105844
|
{
|
|
105906
105845
|
"kind": "field",
|
|
105907
|
-
"name": "
|
|
105846
|
+
"name": "_scrollHandler",
|
|
105847
|
+
"privacy": "private",
|
|
105848
|
+
"default": "new SbbScrollHandler()"
|
|
105849
|
+
},
|
|
105850
|
+
{
|
|
105851
|
+
"kind": "field",
|
|
105852
|
+
"name": "_inertController",
|
|
105853
|
+
"privacy": "private",
|
|
105854
|
+
"default": "new SbbInertController(this)"
|
|
105855
|
+
},
|
|
105856
|
+
{
|
|
105857
|
+
"kind": "field",
|
|
105858
|
+
"name": "_mobileBreakpoint",
|
|
105859
|
+
"privacy": "private",
|
|
105860
|
+
"default": "SbbMediaQueryBreakpointSmallAndBelow"
|
|
105861
|
+
},
|
|
105862
|
+
{
|
|
105863
|
+
"kind": "field",
|
|
105864
|
+
"name": "_mediaMatcher",
|
|
105865
|
+
"privacy": "private",
|
|
105866
|
+
"default": "new SbbMediaMatcherController(this, { [this._mobileBreakpoint]: (matches) => { if (matches && (this.state === 'opening' || this.state === 'opened')) { this._scrollHandler.disableScroll(); } else { this._scrollHandler.enableScroll(); } }, })"
|
|
105867
|
+
},
|
|
105868
|
+
{
|
|
105869
|
+
"kind": "field",
|
|
105870
|
+
"name": "_darkModeController",
|
|
105871
|
+
"privacy": "private",
|
|
105872
|
+
"default": "new SbbDarkModeController(this, () => this._syncNegative())"
|
|
105873
|
+
},
|
|
105874
|
+
{
|
|
105875
|
+
"kind": "field",
|
|
105876
|
+
"name": "_language",
|
|
105877
|
+
"privacy": "private",
|
|
105878
|
+
"default": "new SbbLanguageController(this)"
|
|
105879
|
+
},
|
|
105880
|
+
{
|
|
105881
|
+
"kind": "field",
|
|
105882
|
+
"name": "_nestedMenu",
|
|
105908
105883
|
"type": {
|
|
105909
|
-
"text": "
|
|
105884
|
+
"text": "SbbMenuElement | null"
|
|
105910
105885
|
},
|
|
105911
|
-
"privacy": "
|
|
105912
|
-
"
|
|
105913
|
-
"inheritedFrom": {
|
|
105914
|
-
"name": "SbbActionBaseElement",
|
|
105915
|
-
"module": "core/base-elements/action-base-element.js"
|
|
105916
|
-
}
|
|
105886
|
+
"privacy": "private",
|
|
105887
|
+
"default": "null"
|
|
105917
105888
|
},
|
|
105918
105889
|
{
|
|
105919
105890
|
"kind": "method",
|
|
105920
|
-
"name": "
|
|
105921
|
-
"privacy": "
|
|
105891
|
+
"name": "escapeStrategy",
|
|
105892
|
+
"privacy": "public",
|
|
105922
105893
|
"return": {
|
|
105923
105894
|
"type": {
|
|
105924
105895
|
"text": "void"
|
|
105925
105896
|
}
|
|
105926
105897
|
},
|
|
105898
|
+
"description": "The method which is called on escape key press. Defaults to calling close()",
|
|
105927
105899
|
"inheritedFrom": {
|
|
105928
|
-
"name": "
|
|
105929
|
-
"module": "core/base-elements/
|
|
105900
|
+
"name": "SbbOpenCloseBaseElement",
|
|
105901
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
105930
105902
|
}
|
|
105931
105903
|
},
|
|
105932
105904
|
{
|
|
105933
105905
|
"kind": "method",
|
|
105934
|
-
"name": "
|
|
105935
|
-
"privacy": "
|
|
105906
|
+
"name": "open",
|
|
105907
|
+
"privacy": "public",
|
|
105936
105908
|
"return": {
|
|
105937
105909
|
"type": {
|
|
105938
|
-
"text": "
|
|
105910
|
+
"text": "void"
|
|
105939
105911
|
}
|
|
105940
105912
|
},
|
|
105941
|
-
"description": "
|
|
105913
|
+
"description": "Opens the menu on trigger click.",
|
|
105942
105914
|
"inheritedFrom": {
|
|
105943
|
-
"name": "
|
|
105944
|
-
"module": "core/base-elements/
|
|
105915
|
+
"name": "SbbOpenCloseBaseElement",
|
|
105916
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
105945
105917
|
}
|
|
105946
105918
|
},
|
|
105947
105919
|
{
|
|
105948
|
-
"kind": "
|
|
105949
|
-
"name": "
|
|
105950
|
-
"
|
|
105951
|
-
|
|
105920
|
+
"kind": "method",
|
|
105921
|
+
"name": "close",
|
|
105922
|
+
"privacy": "public",
|
|
105923
|
+
"return": {
|
|
105924
|
+
"type": {
|
|
105925
|
+
"text": "void"
|
|
105926
|
+
}
|
|
105952
105927
|
},
|
|
105953
|
-
"
|
|
105954
|
-
"default": "!!this.shadowRoot",
|
|
105928
|
+
"description": "Closes the menu and all its nested menus.",
|
|
105955
105929
|
"inheritedFrom": {
|
|
105956
|
-
"name": "
|
|
105957
|
-
"module": "core/base-elements/element.js"
|
|
105958
|
-
}
|
|
105959
|
-
},
|
|
105960
|
-
{
|
|
105961
|
-
"kind": "field",
|
|
105962
|
-
"name": "_hydrationComplete",
|
|
105963
|
-
"privacy": "private",
|
|
105964
|
-
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
105965
|
-
"inheritedFrom": {
|
|
105966
|
-
"name": "SbbElement",
|
|
105967
|
-
"module": "core/base-elements/element.js"
|
|
105968
|
-
}
|
|
105969
|
-
},
|
|
105970
|
-
{
|
|
105971
|
-
"kind": "field",
|
|
105972
|
-
"name": "_resolveHydration",
|
|
105973
|
-
"type": {
|
|
105974
|
-
"text": "(hydrationRequired: boolean) => void"
|
|
105975
|
-
},
|
|
105976
|
-
"privacy": "private",
|
|
105977
|
-
"inheritedFrom": {
|
|
105978
|
-
"name": "SbbElement",
|
|
105979
|
-
"module": "core/base-elements/element.js"
|
|
105930
|
+
"name": "SbbOpenCloseBaseElement",
|
|
105931
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
105980
105932
|
}
|
|
105981
105933
|
},
|
|
105982
105934
|
{
|
|
105983
|
-
"kind": "
|
|
105984
|
-
"name": "
|
|
105985
|
-
"
|
|
105986
|
-
|
|
105987
|
-
|
|
105988
|
-
|
|
105989
|
-
|
|
105990
|
-
"readonly": true,
|
|
105991
|
-
"inheritedFrom": {
|
|
105992
|
-
"name": "SbbElement",
|
|
105993
|
-
"module": "core/base-elements/element.js"
|
|
105935
|
+
"kind": "method",
|
|
105936
|
+
"name": "closeAll",
|
|
105937
|
+
"privacy": "public",
|
|
105938
|
+
"return": {
|
|
105939
|
+
"type": {
|
|
105940
|
+
"text": "void"
|
|
105941
|
+
}
|
|
105994
105942
|
},
|
|
105995
|
-
"
|
|
105943
|
+
"description": "Closes the menu and all related menus (nested and parent menus)."
|
|
105996
105944
|
},
|
|
105997
105945
|
{
|
|
105998
105946
|
"kind": "method",
|
|
105999
|
-
"name": "
|
|
106000
|
-
"privacy": "
|
|
105947
|
+
"name": "_close",
|
|
105948
|
+
"privacy": "private",
|
|
106001
105949
|
"return": {
|
|
106002
105950
|
"type": {
|
|
106003
105951
|
"text": "void"
|
|
@@ -106005,452 +105953,277 @@
|
|
|
106005
105953
|
},
|
|
106006
105954
|
"parameters": [
|
|
106007
105955
|
{
|
|
106008
|
-
"name": "
|
|
106009
|
-
"
|
|
106010
|
-
|
|
106011
|
-
|
|
106012
|
-
},
|
|
106013
|
-
{
|
|
106014
|
-
"name": "force",
|
|
106015
|
-
"optional": true,
|
|
106016
|
-
"type": {
|
|
106017
|
-
"text": "boolean"
|
|
106018
|
-
}
|
|
105956
|
+
"name": "closeAll",
|
|
105957
|
+
"default": "false",
|
|
105958
|
+
"description": "If true, it ensures animations are correct by toggling some states when closing all related menus at once.",
|
|
105959
|
+
"optional": true
|
|
106019
105960
|
}
|
|
106020
|
-
]
|
|
106021
|
-
"inheritedFrom": {
|
|
106022
|
-
"name": "SbbElement",
|
|
106023
|
-
"module": "core/base-elements/element.js"
|
|
106024
|
-
}
|
|
106025
|
-
},
|
|
106026
|
-
{
|
|
106027
|
-
"kind": "field",
|
|
106028
|
-
"name": "['_$sbbElement$']",
|
|
106029
|
-
"type": {
|
|
106030
|
-
"text": "boolean"
|
|
106031
|
-
},
|
|
106032
|
-
"privacy": "public",
|
|
106033
|
-
"static": true,
|
|
106034
|
-
"default": "true",
|
|
106035
|
-
"inheritedFrom": {
|
|
106036
|
-
"name": "SbbElement",
|
|
106037
|
-
"module": "core/base-elements/element.js"
|
|
106038
|
-
}
|
|
106039
|
-
},
|
|
106040
|
-
{
|
|
106041
|
-
"kind": "field",
|
|
106042
|
-
"name": "elementName",
|
|
106043
|
-
"type": {
|
|
106044
|
-
"text": "string"
|
|
106045
|
-
},
|
|
106046
|
-
"privacy": "public",
|
|
106047
|
-
"static": true,
|
|
106048
|
-
"readonly": true,
|
|
106049
|
-
"inheritedFrom": {
|
|
106050
|
-
"name": "SbbElement",
|
|
106051
|
-
"module": "core/base-elements/element.js"
|
|
106052
|
-
}
|
|
105961
|
+
]
|
|
106053
105962
|
},
|
|
106054
105963
|
{
|
|
106055
|
-
"kind": "
|
|
106056
|
-
"name": "
|
|
106057
|
-
"type": {
|
|
106058
|
-
"text": "Set<SbbReactiveController> | undefined"
|
|
106059
|
-
},
|
|
105964
|
+
"kind": "method",
|
|
105965
|
+
"name": "_isZeroAnimationDuration",
|
|
106060
105966
|
"privacy": "private",
|
|
106061
|
-
"
|
|
106062
|
-
"
|
|
106063
|
-
|
|
105967
|
+
"return": {
|
|
105968
|
+
"type": {
|
|
105969
|
+
"text": "boolean"
|
|
105970
|
+
}
|
|
106064
105971
|
}
|
|
106065
|
-
}
|
|
106066
|
-
]
|
|
106067
|
-
},
|
|
106068
|
-
{
|
|
106069
|
-
"kind": "mixin",
|
|
106070
|
-
"description": "",
|
|
106071
|
-
"name": "SbbMenuActionCommonElementMixin",
|
|
106072
|
-
"members": [
|
|
106073
|
-
{
|
|
106074
|
-
"kind": "field",
|
|
106075
|
-
"name": "styles",
|
|
106076
|
-
"type": {
|
|
106077
|
-
"text": "CSSResultGroup"
|
|
106078
|
-
},
|
|
106079
|
-
"privacy": "public",
|
|
106080
|
-
"static": true,
|
|
106081
|
-
"default": "[boxSizingStyles, unsafeCSS(style)]"
|
|
106082
105972
|
},
|
|
106083
105973
|
{
|
|
106084
105974
|
"kind": "method",
|
|
106085
|
-
"name": "
|
|
106086
|
-
"privacy": "
|
|
105975
|
+
"name": "_handleOpening",
|
|
105976
|
+
"privacy": "private",
|
|
106087
105977
|
"return": {
|
|
106088
105978
|
"type": {
|
|
106089
|
-
"text": "
|
|
105979
|
+
"text": "void"
|
|
106090
105980
|
}
|
|
106091
105981
|
}
|
|
106092
105982
|
},
|
|
106093
105983
|
{
|
|
106094
|
-
"kind": "
|
|
106095
|
-
"name": "
|
|
106096
|
-
"
|
|
106097
|
-
|
|
106098
|
-
|
|
106099
|
-
|
|
106100
|
-
|
|
106101
|
-
"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.",
|
|
106102
|
-
"attribute": "icon-name",
|
|
106103
|
-
"inheritedFrom": {
|
|
106104
|
-
"name": "SbbIconNameMixin",
|
|
106105
|
-
"module": "icon/icon-name-mixin.js"
|
|
105984
|
+
"kind": "method",
|
|
105985
|
+
"name": "_handleClosing",
|
|
105986
|
+
"privacy": "private",
|
|
105987
|
+
"return": {
|
|
105988
|
+
"type": {
|
|
105989
|
+
"text": "void"
|
|
105990
|
+
}
|
|
106106
105991
|
}
|
|
106107
105992
|
},
|
|
106108
105993
|
{
|
|
106109
105994
|
"kind": "method",
|
|
106110
|
-
"name": "
|
|
106111
|
-
"privacy": "
|
|
105995
|
+
"name": "_handleKeyDown",
|
|
105996
|
+
"privacy": "private",
|
|
106112
105997
|
"return": {
|
|
106113
105998
|
"type": {
|
|
106114
|
-
"text": "
|
|
105999
|
+
"text": "void"
|
|
106115
106000
|
}
|
|
106116
106001
|
},
|
|
106117
106002
|
"parameters": [
|
|
106118
106003
|
{
|
|
106119
|
-
"name": "
|
|
106120
|
-
"optional": true,
|
|
106004
|
+
"name": "evt",
|
|
106121
106005
|
"type": {
|
|
106122
|
-
"text": "
|
|
106006
|
+
"text": "KeyboardEvent"
|
|
106123
106007
|
}
|
|
106124
106008
|
}
|
|
106125
|
-
]
|
|
106126
|
-
"inheritedFrom": {
|
|
106127
|
-
"name": "SbbIconNameMixin",
|
|
106128
|
-
"module": "icon/icon-name-mixin.js"
|
|
106129
|
-
}
|
|
106009
|
+
]
|
|
106130
106010
|
},
|
|
106131
106011
|
{
|
|
106132
106012
|
"kind": "method",
|
|
106133
|
-
"name": "
|
|
106134
|
-
"privacy": "
|
|
106013
|
+
"name": "_configureTrigger",
|
|
106014
|
+
"privacy": "private",
|
|
106135
106015
|
"return": {
|
|
106136
106016
|
"type": {
|
|
106137
|
-
"text": "
|
|
106017
|
+
"text": "void"
|
|
106138
106018
|
}
|
|
106139
|
-
},
|
|
106140
|
-
"inheritedFrom": {
|
|
106141
|
-
"name": "SbbIconNameMixin",
|
|
106142
|
-
"module": "icon/icon-name-mixin.js"
|
|
106143
106019
|
}
|
|
106144
106020
|
},
|
|
106145
106021
|
{
|
|
106146
106022
|
"kind": "method",
|
|
106147
|
-
"name": "
|
|
106023
|
+
"name": "_attachWindowEvents",
|
|
106148
106024
|
"privacy": "private",
|
|
106149
106025
|
"return": {
|
|
106150
106026
|
"type": {
|
|
106151
|
-
"text": "
|
|
106027
|
+
"text": "void"
|
|
106152
106028
|
}
|
|
106153
|
-
},
|
|
106154
|
-
"inheritedFrom": {
|
|
106155
|
-
"name": "SbbIconNameMixin",
|
|
106156
|
-
"module": "icon/icon-name-mixin.js"
|
|
106157
|
-
}
|
|
106158
|
-
},
|
|
106159
|
-
{
|
|
106160
|
-
"kind": "field",
|
|
106161
|
-
"name": "disabled",
|
|
106162
|
-
"privacy": "public",
|
|
106163
|
-
"description": "Whether the component is disabled.",
|
|
106164
|
-
"default": "false",
|
|
106165
|
-
"type": {
|
|
106166
|
-
"text": "boolean"
|
|
106167
|
-
},
|
|
106168
|
-
"attribute": "disabled",
|
|
106169
|
-
"reflects": true,
|
|
106170
|
-
"inheritedFrom": {
|
|
106171
|
-
"name": "SbbDisabledMixin",
|
|
106172
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
106173
|
-
}
|
|
106174
|
-
},
|
|
106175
|
-
{
|
|
106176
|
-
"kind": "field",
|
|
106177
|
-
"name": "#disabled",
|
|
106178
|
-
"privacy": "private",
|
|
106179
|
-
"type": {
|
|
106180
|
-
"text": "boolean"
|
|
106181
|
-
},
|
|
106182
|
-
"default": "false",
|
|
106183
|
-
"inheritedFrom": {
|
|
106184
|
-
"name": "SbbDisabledMixin",
|
|
106185
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
106186
106029
|
}
|
|
106187
106030
|
},
|
|
106188
106031
|
{
|
|
106189
106032
|
"kind": "method",
|
|
106190
|
-
"name": "
|
|
106191
|
-
"privacy": "
|
|
106033
|
+
"name": "_interactiveElementClick",
|
|
106034
|
+
"privacy": "private",
|
|
106192
106035
|
"return": {
|
|
106193
106036
|
"type": {
|
|
106194
|
-
"text": "
|
|
106037
|
+
"text": "void"
|
|
106195
106038
|
}
|
|
106196
106039
|
},
|
|
106197
|
-
"
|
|
106198
|
-
|
|
106199
|
-
|
|
106200
|
-
|
|
106201
|
-
|
|
106202
|
-
|
|
106203
|
-
|
|
106204
|
-
|
|
106205
|
-
{
|
|
106206
|
-
"name": "SbbIconNameMixin",
|
|
106207
|
-
"module": "icon.js"
|
|
106208
|
-
},
|
|
106209
|
-
{
|
|
106210
|
-
"name": "SbbDisabledMixin",
|
|
106211
|
-
"module": "core/mixins.js"
|
|
106212
|
-
}
|
|
106213
|
-
],
|
|
106214
|
-
"parameters": [
|
|
106215
|
-
{
|
|
106216
|
-
"name": "superClass",
|
|
106217
|
-
"type": {
|
|
106218
|
-
"text": "T"
|
|
106219
|
-
}
|
|
106220
|
-
}
|
|
106221
|
-
],
|
|
106222
|
-
"attributes": [
|
|
106223
|
-
{
|
|
106224
|
-
"name": "icon-name",
|
|
106225
|
-
"type": {
|
|
106226
|
-
"text": "string"
|
|
106227
|
-
},
|
|
106228
|
-
"default": "''",
|
|
106229
|
-
"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.",
|
|
106230
|
-
"fieldName": "iconName",
|
|
106231
|
-
"inheritedFrom": {
|
|
106232
|
-
"name": "SbbIconNameMixin",
|
|
106233
|
-
"module": "icon/icon-name-mixin.js"
|
|
106234
|
-
}
|
|
106235
|
-
},
|
|
106236
|
-
{
|
|
106237
|
-
"name": "disabled",
|
|
106238
|
-
"description": "Whether the component is disabled.",
|
|
106239
|
-
"default": "false",
|
|
106240
|
-
"type": {
|
|
106241
|
-
"text": "boolean"
|
|
106242
|
-
},
|
|
106243
|
-
"fieldName": "disabled",
|
|
106244
|
-
"inheritedFrom": {
|
|
106245
|
-
"name": "SbbDisabledMixin",
|
|
106246
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
106247
|
-
}
|
|
106248
|
-
}
|
|
106249
|
-
]
|
|
106250
|
-
}
|
|
106251
|
-
],
|
|
106252
|
-
"exports": [
|
|
106253
|
-
{
|
|
106254
|
-
"kind": "js",
|
|
106255
|
-
"name": "SbbMenuActionCommonElementMixinType",
|
|
106256
|
-
"declaration": {
|
|
106257
|
-
"name": "SbbMenuActionCommonElementMixinType",
|
|
106258
|
-
"module": "menu/common/menu-action-common.js"
|
|
106259
|
-
}
|
|
106260
|
-
},
|
|
106261
|
-
{
|
|
106262
|
-
"kind": "js",
|
|
106263
|
-
"name": "SbbMenuActionCommonElementMixin",
|
|
106264
|
-
"declaration": {
|
|
106265
|
-
"name": "SbbMenuActionCommonElementMixin",
|
|
106266
|
-
"module": "menu/common/menu-action-common.js"
|
|
106267
|
-
}
|
|
106268
|
-
}
|
|
106269
|
-
]
|
|
106270
|
-
},
|
|
106271
|
-
{
|
|
106272
|
-
"kind": "javascript-module",
|
|
106273
|
-
"path": "menu/menu/menu.component.js",
|
|
106274
|
-
"declarations": [
|
|
106275
|
-
{
|
|
106276
|
-
"kind": "class",
|
|
106277
|
-
"description": "It displays a contextual menu with one or more action element.",
|
|
106278
|
-
"name": "SbbMenuElement",
|
|
106279
|
-
"cssProperties": [
|
|
106280
|
-
{
|
|
106281
|
-
"description": "To specify a custom stack order, the `z-index` can be overridden by defining this CSS variable. The default `z-index` of the component is set to `var(--sbb-overlay-default-z-index)` with a value of `1000`.",
|
|
106282
|
-
"name": "--sbb-menu-z-index",
|
|
106283
|
-
"default": "var(--sbb-overlay-default-z-index)"
|
|
106284
|
-
}
|
|
106285
|
-
],
|
|
106286
|
-
"slots": [
|
|
106287
|
-
{
|
|
106288
|
-
"description": "Use the unnamed slot to add `sbb-menu-button`/`sbb-menu-link` or other elements to the menu.",
|
|
106289
|
-
"name": ""
|
|
106290
|
-
}
|
|
106291
|
-
],
|
|
106292
|
-
"members": [
|
|
106293
|
-
{
|
|
106294
|
-
"kind": "field",
|
|
106295
|
-
"name": "elementName",
|
|
106296
|
-
"type": {
|
|
106297
|
-
"text": "string"
|
|
106298
|
-
},
|
|
106299
|
-
"privacy": "public",
|
|
106300
|
-
"static": true,
|
|
106301
|
-
"readonly": true,
|
|
106302
|
-
"inheritedFrom": {
|
|
106303
|
-
"name": "SbbElement",
|
|
106304
|
-
"module": "core/base-elements/element.js"
|
|
106305
|
-
},
|
|
106306
|
-
"default": "'sbb-menu'"
|
|
106307
|
-
},
|
|
106308
|
-
{
|
|
106309
|
-
"kind": "field",
|
|
106310
|
-
"name": "role",
|
|
106311
|
-
"type": {
|
|
106312
|
-
"text": "string"
|
|
106313
|
-
},
|
|
106314
|
-
"privacy": "public",
|
|
106315
|
-
"static": true,
|
|
106316
|
-
"readonly": true,
|
|
106317
|
-
"default": "'menu'"
|
|
106040
|
+
"parameters": [
|
|
106041
|
+
{
|
|
106042
|
+
"name": "event",
|
|
106043
|
+
"type": {
|
|
106044
|
+
"text": "Event"
|
|
106045
|
+
}
|
|
106046
|
+
}
|
|
106047
|
+
]
|
|
106318
106048
|
},
|
|
106319
106049
|
{
|
|
106320
106050
|
"kind": "field",
|
|
106321
|
-
"name": "
|
|
106322
|
-
"
|
|
106323
|
-
"text": "HTMLElement | null"
|
|
106324
|
-
},
|
|
106325
|
-
"privacy": "public",
|
|
106326
|
-
"default": "null",
|
|
106327
|
-
"description": "The element that will trigger the menu overlay.\n\nFor attribute usage, provide an id reference.",
|
|
106328
|
-
"attribute": "trigger"
|
|
106051
|
+
"name": "_pointerDownListener",
|
|
106052
|
+
"privacy": "private"
|
|
106329
106053
|
},
|
|
106330
106054
|
{
|
|
106331
106055
|
"kind": "field",
|
|
106332
|
-
"name": "
|
|
106333
|
-
"type": {
|
|
106334
|
-
"text": "HTMLDivElement"
|
|
106335
|
-
},
|
|
106056
|
+
"name": "_closeOnBackdropClick",
|
|
106336
106057
|
"privacy": "private"
|
|
106337
106058
|
},
|
|
106338
106059
|
{
|
|
106339
|
-
"kind": "
|
|
106340
|
-
"name": "
|
|
106341
|
-
"type": {
|
|
106342
|
-
"text": "HTMLElement | null"
|
|
106343
|
-
},
|
|
106060
|
+
"kind": "method",
|
|
106061
|
+
"name": "_nestedMenus",
|
|
106344
106062
|
"privacy": "private",
|
|
106345
|
-
"
|
|
106346
|
-
|
|
106347
|
-
|
|
106348
|
-
|
|
106349
|
-
"name": "_triggerAbortController",
|
|
106350
|
-
"type": {
|
|
106351
|
-
"text": "AbortController"
|
|
106063
|
+
"return": {
|
|
106064
|
+
"type": {
|
|
106065
|
+
"text": "SbbMenuElement[]"
|
|
106066
|
+
}
|
|
106352
106067
|
},
|
|
106353
|
-
"
|
|
106068
|
+
"description": "Converts the linked list into an array of SbbMenuElement."
|
|
106354
106069
|
},
|
|
106355
106070
|
{
|
|
106356
|
-
"kind": "
|
|
106357
|
-
"name": "
|
|
106358
|
-
"type": {
|
|
106359
|
-
"text": "boolean"
|
|
106360
|
-
},
|
|
106071
|
+
"kind": "method",
|
|
106072
|
+
"name": "_parentMenu",
|
|
106361
106073
|
"privacy": "private",
|
|
106362
|
-
"
|
|
106074
|
+
"return": {
|
|
106075
|
+
"type": {
|
|
106076
|
+
"text": "SbbMenuElement | null"
|
|
106077
|
+
}
|
|
106078
|
+
}
|
|
106363
106079
|
},
|
|
106364
106080
|
{
|
|
106365
|
-
"kind": "
|
|
106366
|
-
"name": "
|
|
106367
|
-
"
|
|
106368
|
-
|
|
106081
|
+
"kind": "method",
|
|
106082
|
+
"name": "_mainMenu",
|
|
106083
|
+
"privacy": "private",
|
|
106084
|
+
"return": {
|
|
106085
|
+
"type": {
|
|
106086
|
+
"text": "SbbMenuElement"
|
|
106087
|
+
}
|
|
106369
106088
|
},
|
|
106370
|
-
"
|
|
106089
|
+
"description": "The outermost menu."
|
|
106371
106090
|
},
|
|
106372
106091
|
{
|
|
106373
|
-
"kind": "
|
|
106374
|
-
"name": "
|
|
106092
|
+
"kind": "method",
|
|
106093
|
+
"name": "_isNested",
|
|
106375
106094
|
"privacy": "private",
|
|
106376
|
-
"
|
|
106095
|
+
"return": {
|
|
106096
|
+
"type": {
|
|
106097
|
+
"text": "boolean"
|
|
106098
|
+
}
|
|
106099
|
+
}
|
|
106377
106100
|
},
|
|
106378
106101
|
{
|
|
106379
|
-
"kind": "
|
|
106380
|
-
"name": "
|
|
106102
|
+
"kind": "method",
|
|
106103
|
+
"name": "_updateNestedInert",
|
|
106381
106104
|
"privacy": "private",
|
|
106382
|
-
"
|
|
106105
|
+
"return": {
|
|
106106
|
+
"type": {
|
|
106107
|
+
"text": "void"
|
|
106108
|
+
}
|
|
106109
|
+
}
|
|
106383
106110
|
},
|
|
106384
106111
|
{
|
|
106385
|
-
"kind": "
|
|
106386
|
-
"name": "
|
|
106112
|
+
"kind": "method",
|
|
106113
|
+
"name": "_handleMouseOver",
|
|
106387
106114
|
"privacy": "private",
|
|
106388
|
-
"
|
|
106115
|
+
"return": {
|
|
106116
|
+
"type": {
|
|
106117
|
+
"text": "void"
|
|
106118
|
+
}
|
|
106119
|
+
},
|
|
106120
|
+
"parameters": [
|
|
106121
|
+
{
|
|
106122
|
+
"name": "event",
|
|
106123
|
+
"type": {
|
|
106124
|
+
"text": "MouseEvent"
|
|
106125
|
+
}
|
|
106126
|
+
}
|
|
106127
|
+
]
|
|
106389
106128
|
},
|
|
106390
106129
|
{
|
|
106391
|
-
"kind": "
|
|
106392
|
-
"name": "
|
|
106130
|
+
"kind": "method",
|
|
106131
|
+
"name": "_onMenuAnimationEnd",
|
|
106393
106132
|
"privacy": "private",
|
|
106394
|
-
"
|
|
106133
|
+
"return": {
|
|
106134
|
+
"type": {
|
|
106135
|
+
"text": "void"
|
|
106136
|
+
}
|
|
106137
|
+
},
|
|
106138
|
+
"parameters": [
|
|
106139
|
+
{
|
|
106140
|
+
"name": "event",
|
|
106141
|
+
"type": {
|
|
106142
|
+
"text": "AnimationEvent"
|
|
106143
|
+
}
|
|
106144
|
+
}
|
|
106145
|
+
]
|
|
106395
106146
|
},
|
|
106396
106147
|
{
|
|
106397
|
-
"kind": "
|
|
106398
|
-
"name": "
|
|
106148
|
+
"kind": "method",
|
|
106149
|
+
"name": "_setMenuPosition",
|
|
106399
106150
|
"privacy": "private",
|
|
106400
|
-
"
|
|
106151
|
+
"return": {
|
|
106152
|
+
"type": {
|
|
106153
|
+
"text": "void"
|
|
106154
|
+
}
|
|
106155
|
+
}
|
|
106401
106156
|
},
|
|
106402
106157
|
{
|
|
106403
|
-
"kind": "
|
|
106404
|
-
"name": "
|
|
106158
|
+
"kind": "method",
|
|
106159
|
+
"name": "_syncNegative",
|
|
106405
106160
|
"privacy": "private",
|
|
106406
|
-
"
|
|
106161
|
+
"return": {
|
|
106162
|
+
"type": {
|
|
106163
|
+
"text": "void"
|
|
106164
|
+
}
|
|
106165
|
+
}
|
|
106407
106166
|
},
|
|
106408
106167
|
{
|
|
106409
|
-
"kind": "
|
|
106410
|
-
"name": "
|
|
106168
|
+
"kind": "method",
|
|
106169
|
+
"name": "_isMobile",
|
|
106411
106170
|
"privacy": "private",
|
|
106412
|
-
"
|
|
106171
|
+
"return": {
|
|
106172
|
+
"type": {
|
|
106173
|
+
"text": "boolean"
|
|
106174
|
+
}
|
|
106175
|
+
}
|
|
106413
106176
|
},
|
|
106414
106177
|
{
|
|
106415
106178
|
"kind": "field",
|
|
106416
|
-
"name": "
|
|
106417
|
-
"privacy": "
|
|
106418
|
-
"
|
|
106179
|
+
"name": "events",
|
|
106180
|
+
"privacy": "public",
|
|
106181
|
+
"static": true,
|
|
106182
|
+
"readonly": true,
|
|
106183
|
+
"default": "{ beforeopen: 'beforeopen', open: 'open', beforeclose: 'beforeclose', close: 'close', }",
|
|
106184
|
+
"type": {
|
|
106185
|
+
"text": "{\n beforeopen: 'beforeopen',\n open: 'open',\n beforeclose: 'beforeclose',\n close: 'close',\n }"
|
|
106186
|
+
},
|
|
106187
|
+
"inheritedFrom": {
|
|
106188
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106189
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106190
|
+
}
|
|
106419
106191
|
},
|
|
106420
106192
|
{
|
|
106421
106193
|
"kind": "field",
|
|
106422
|
-
"name": "
|
|
106194
|
+
"name": "state",
|
|
106195
|
+
"privacy": "protected",
|
|
106196
|
+
"description": "The state of the component.",
|
|
106423
106197
|
"type": {
|
|
106424
|
-
"text": "
|
|
106198
|
+
"text": "SbbOpenedClosedState"
|
|
106425
106199
|
},
|
|
106426
|
-
"
|
|
106427
|
-
"
|
|
106200
|
+
"default": "'closed'",
|
|
106201
|
+
"inheritedFrom": {
|
|
106202
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106203
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106204
|
+
}
|
|
106428
106205
|
},
|
|
106429
106206
|
{
|
|
106430
|
-
"kind": "
|
|
106431
|
-
"name": "
|
|
106432
|
-
"
|
|
106433
|
-
|
|
106434
|
-
"type": {
|
|
106435
|
-
"text": "void"
|
|
106436
|
-
}
|
|
106207
|
+
"kind": "field",
|
|
106208
|
+
"name": "_state",
|
|
106209
|
+
"type": {
|
|
106210
|
+
"text": "SbbOpenedClosedState"
|
|
106437
106211
|
},
|
|
106438
|
-
"
|
|
106212
|
+
"privacy": "private",
|
|
106439
106213
|
"inheritedFrom": {
|
|
106440
106214
|
"name": "SbbOpenCloseBaseElement",
|
|
106441
106215
|
"module": "core/base-elements/open-close-base-element.js"
|
|
106442
106216
|
}
|
|
106443
106217
|
},
|
|
106444
106218
|
{
|
|
106445
|
-
"kind": "
|
|
106446
|
-
"name": "
|
|
106447
|
-
"
|
|
106448
|
-
|
|
106449
|
-
"type": {
|
|
106450
|
-
"text": "void"
|
|
106451
|
-
}
|
|
106219
|
+
"kind": "field",
|
|
106220
|
+
"name": "isOpen",
|
|
106221
|
+
"type": {
|
|
106222
|
+
"text": "boolean"
|
|
106452
106223
|
},
|
|
106453
|
-
"
|
|
106224
|
+
"privacy": "public",
|
|
106225
|
+
"description": "Whether the element is open.",
|
|
106226
|
+
"readonly": true,
|
|
106454
106227
|
"inheritedFrom": {
|
|
106455
106228
|
"name": "SbbOpenCloseBaseElement",
|
|
106456
106229
|
"module": "core/base-elements/open-close-base-element.js"
|
|
@@ -106458,14 +106231,13 @@
|
|
|
106458
106231
|
},
|
|
106459
106232
|
{
|
|
106460
106233
|
"kind": "method",
|
|
106461
|
-
"name": "
|
|
106462
|
-
"privacy": "
|
|
106234
|
+
"name": "dispatchBeforeOpenEvent",
|
|
106235
|
+
"privacy": "protected",
|
|
106463
106236
|
"return": {
|
|
106464
106237
|
"type": {
|
|
106465
|
-
"text": "
|
|
106238
|
+
"text": "boolean"
|
|
106466
106239
|
}
|
|
106467
106240
|
},
|
|
106468
|
-
"description": "Closes the menu and all its nested menus.",
|
|
106469
106241
|
"inheritedFrom": {
|
|
106470
106242
|
"name": "SbbOpenCloseBaseElement",
|
|
106471
106243
|
"module": "core/base-elements/open-close-base-element.js"
|
|
@@ -106473,105 +106245,100 @@
|
|
|
106473
106245
|
},
|
|
106474
106246
|
{
|
|
106475
106247
|
"kind": "method",
|
|
106476
|
-
"name": "
|
|
106477
|
-
"privacy": "
|
|
106248
|
+
"name": "dispatchOpenEvent",
|
|
106249
|
+
"privacy": "protected",
|
|
106478
106250
|
"return": {
|
|
106479
106251
|
"type": {
|
|
106480
|
-
"text": "
|
|
106252
|
+
"text": "boolean"
|
|
106481
106253
|
}
|
|
106482
106254
|
},
|
|
106483
|
-
"
|
|
106255
|
+
"inheritedFrom": {
|
|
106256
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106257
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106258
|
+
}
|
|
106484
106259
|
},
|
|
106485
106260
|
{
|
|
106486
106261
|
"kind": "method",
|
|
106487
|
-
"name": "
|
|
106488
|
-
"privacy": "
|
|
106262
|
+
"name": "dispatchBeforeCloseEvent",
|
|
106263
|
+
"privacy": "protected",
|
|
106489
106264
|
"return": {
|
|
106490
106265
|
"type": {
|
|
106491
|
-
"text": "
|
|
106266
|
+
"text": "boolean"
|
|
106492
106267
|
}
|
|
106493
106268
|
},
|
|
106494
|
-
"
|
|
106495
|
-
|
|
106496
|
-
|
|
106497
|
-
|
|
106498
|
-
"description": "If true, it ensures animations are correct by toggling some states when closing all related menus at once.",
|
|
106499
|
-
"optional": true
|
|
106500
|
-
}
|
|
106501
|
-
]
|
|
106269
|
+
"inheritedFrom": {
|
|
106270
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106271
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106272
|
+
}
|
|
106502
106273
|
},
|
|
106503
106274
|
{
|
|
106504
106275
|
"kind": "method",
|
|
106505
|
-
"name": "
|
|
106506
|
-
"privacy": "
|
|
106276
|
+
"name": "dispatchCloseEvent",
|
|
106277
|
+
"privacy": "protected",
|
|
106507
106278
|
"return": {
|
|
106508
106279
|
"type": {
|
|
106509
106280
|
"text": "boolean"
|
|
106510
106281
|
}
|
|
106282
|
+
},
|
|
106283
|
+
"inheritedFrom": {
|
|
106284
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106285
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106511
106286
|
}
|
|
106512
106287
|
},
|
|
106513
106288
|
{
|
|
106514
|
-
"kind": "
|
|
106515
|
-
"name": "
|
|
106289
|
+
"kind": "field",
|
|
106290
|
+
"name": "_hydrationRequired",
|
|
106291
|
+
"type": {
|
|
106292
|
+
"text": "boolean"
|
|
106293
|
+
},
|
|
106516
106294
|
"privacy": "private",
|
|
106517
|
-
"
|
|
106518
|
-
|
|
106519
|
-
|
|
106520
|
-
|
|
106295
|
+
"default": "!!this.shadowRoot",
|
|
106296
|
+
"inheritedFrom": {
|
|
106297
|
+
"name": "SbbElement",
|
|
106298
|
+
"module": "core/base-elements/element.js"
|
|
106521
106299
|
}
|
|
106522
106300
|
},
|
|
106523
106301
|
{
|
|
106524
|
-
"kind": "
|
|
106525
|
-
"name": "
|
|
106302
|
+
"kind": "field",
|
|
106303
|
+
"name": "_hydrationComplete",
|
|
106526
106304
|
"privacy": "private",
|
|
106527
|
-
"
|
|
106528
|
-
|
|
106529
|
-
|
|
106530
|
-
|
|
106305
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
106306
|
+
"inheritedFrom": {
|
|
106307
|
+
"name": "SbbElement",
|
|
106308
|
+
"module": "core/base-elements/element.js"
|
|
106531
106309
|
}
|
|
106532
106310
|
},
|
|
106533
106311
|
{
|
|
106534
|
-
"kind": "
|
|
106535
|
-
"name": "
|
|
106536
|
-
"
|
|
106537
|
-
|
|
106538
|
-
"type": {
|
|
106539
|
-
"text": "void"
|
|
106540
|
-
}
|
|
106312
|
+
"kind": "field",
|
|
106313
|
+
"name": "_resolveHydration",
|
|
106314
|
+
"type": {
|
|
106315
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
106541
106316
|
},
|
|
106542
|
-
"parameters": [
|
|
106543
|
-
{
|
|
106544
|
-
"name": "evt",
|
|
106545
|
-
"type": {
|
|
106546
|
-
"text": "KeyboardEvent"
|
|
106547
|
-
}
|
|
106548
|
-
}
|
|
106549
|
-
]
|
|
106550
|
-
},
|
|
106551
|
-
{
|
|
106552
|
-
"kind": "method",
|
|
106553
|
-
"name": "_configureTrigger",
|
|
106554
106317
|
"privacy": "private",
|
|
106555
|
-
"
|
|
106556
|
-
"
|
|
106557
|
-
|
|
106558
|
-
}
|
|
106318
|
+
"inheritedFrom": {
|
|
106319
|
+
"name": "SbbElement",
|
|
106320
|
+
"module": "core/base-elements/element.js"
|
|
106559
106321
|
}
|
|
106560
106322
|
},
|
|
106561
106323
|
{
|
|
106562
|
-
"kind": "
|
|
106563
|
-
"name": "
|
|
106564
|
-
"
|
|
106565
|
-
|
|
106566
|
-
|
|
106567
|
-
|
|
106568
|
-
|
|
106569
|
-
|
|
106324
|
+
"kind": "field",
|
|
106325
|
+
"name": "hydrationRequired",
|
|
106326
|
+
"type": {
|
|
106327
|
+
"text": "boolean"
|
|
106328
|
+
},
|
|
106329
|
+
"privacy": "protected",
|
|
106330
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
106331
|
+
"readonly": true,
|
|
106332
|
+
"inheritedFrom": {
|
|
106333
|
+
"name": "SbbElement",
|
|
106334
|
+
"module": "core/base-elements/element.js"
|
|
106335
|
+
},
|
|
106336
|
+
"default": "!!this.shadowRoot"
|
|
106570
106337
|
},
|
|
106571
106338
|
{
|
|
106572
106339
|
"kind": "method",
|
|
106573
|
-
"name": "
|
|
106574
|
-
"privacy": "
|
|
106340
|
+
"name": "toggleState",
|
|
106341
|
+
"privacy": "protected",
|
|
106575
106342
|
"return": {
|
|
106576
106343
|
"type": {
|
|
106577
106344
|
"text": "void"
|
|
@@ -106579,250 +106346,341 @@
|
|
|
106579
106346
|
},
|
|
106580
106347
|
"parameters": [
|
|
106581
106348
|
{
|
|
106582
|
-
"name": "
|
|
106349
|
+
"name": "value",
|
|
106583
106350
|
"type": {
|
|
106584
|
-
"text": "
|
|
106351
|
+
"text": "string"
|
|
106352
|
+
}
|
|
106353
|
+
},
|
|
106354
|
+
{
|
|
106355
|
+
"name": "force",
|
|
106356
|
+
"optional": true,
|
|
106357
|
+
"type": {
|
|
106358
|
+
"text": "boolean"
|
|
106585
106359
|
}
|
|
106586
106360
|
}
|
|
106587
|
-
]
|
|
106361
|
+
],
|
|
106362
|
+
"inheritedFrom": {
|
|
106363
|
+
"name": "SbbElement",
|
|
106364
|
+
"module": "core/base-elements/element.js"
|
|
106365
|
+
}
|
|
106588
106366
|
},
|
|
106589
106367
|
{
|
|
106590
106368
|
"kind": "field",
|
|
106591
|
-
"name": "
|
|
106592
|
-
"
|
|
106369
|
+
"name": "['_$sbbElement$']",
|
|
106370
|
+
"type": {
|
|
106371
|
+
"text": "boolean"
|
|
106372
|
+
},
|
|
106373
|
+
"privacy": "public",
|
|
106374
|
+
"static": true,
|
|
106375
|
+
"default": "true",
|
|
106376
|
+
"inheritedFrom": {
|
|
106377
|
+
"name": "SbbElement",
|
|
106378
|
+
"module": "core/base-elements/element.js"
|
|
106379
|
+
}
|
|
106593
106380
|
},
|
|
106594
106381
|
{
|
|
106595
106382
|
"kind": "field",
|
|
106596
|
-
"name": "
|
|
106597
|
-
"
|
|
106598
|
-
|
|
106599
|
-
|
|
106600
|
-
"kind": "method",
|
|
106601
|
-
"name": "_nestedMenus",
|
|
106383
|
+
"name": "_controllers",
|
|
106384
|
+
"type": {
|
|
106385
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
106386
|
+
},
|
|
106602
106387
|
"privacy": "private",
|
|
106603
|
-
"
|
|
106604
|
-
"
|
|
106605
|
-
|
|
106606
|
-
|
|
106388
|
+
"inheritedFrom": {
|
|
106389
|
+
"name": "SbbElement",
|
|
106390
|
+
"module": "core/base-elements/element.js"
|
|
106391
|
+
}
|
|
106392
|
+
}
|
|
106393
|
+
],
|
|
106394
|
+
"attributes": [
|
|
106395
|
+
{
|
|
106396
|
+
"name": "trigger",
|
|
106397
|
+
"type": {
|
|
106398
|
+
"text": "HTMLElement | null"
|
|
106607
106399
|
},
|
|
106608
|
-
"
|
|
106400
|
+
"default": "null",
|
|
106401
|
+
"description": "The element that will trigger the menu overlay.\n\nFor attribute usage, provide an id reference.",
|
|
106402
|
+
"fieldName": "trigger"
|
|
106403
|
+
}
|
|
106404
|
+
],
|
|
106405
|
+
"superclass": {
|
|
106406
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106407
|
+
"module": "core/base-elements.js"
|
|
106408
|
+
},
|
|
106409
|
+
"tagName": "sbb-menu",
|
|
106410
|
+
"customElement": true,
|
|
106411
|
+
"events": [
|
|
106412
|
+
{
|
|
106413
|
+
"name": "beforeopen",
|
|
106414
|
+
"type": {
|
|
106415
|
+
"text": "Event"
|
|
106416
|
+
},
|
|
106417
|
+
"description": "Emits whenever the component starts the opening transition. Can be canceled.",
|
|
106418
|
+
"inheritedFrom": {
|
|
106419
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106420
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106421
|
+
}
|
|
106609
106422
|
},
|
|
106610
106423
|
{
|
|
106611
|
-
"
|
|
106612
|
-
"
|
|
106613
|
-
|
|
106614
|
-
|
|
106615
|
-
|
|
106616
|
-
|
|
106617
|
-
|
|
106424
|
+
"name": "open",
|
|
106425
|
+
"type": {
|
|
106426
|
+
"text": "Event"
|
|
106427
|
+
},
|
|
106428
|
+
"description": "Emits whenever the component is opened.",
|
|
106429
|
+
"inheritedFrom": {
|
|
106430
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106431
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106618
106432
|
}
|
|
106619
106433
|
},
|
|
106620
106434
|
{
|
|
106621
|
-
"
|
|
106622
|
-
"
|
|
106623
|
-
|
|
106624
|
-
"return": {
|
|
106625
|
-
"type": {
|
|
106626
|
-
"text": "SbbMenuElement"
|
|
106627
|
-
}
|
|
106435
|
+
"name": "beforeclose",
|
|
106436
|
+
"type": {
|
|
106437
|
+
"text": "Event"
|
|
106628
106438
|
},
|
|
106629
|
-
"description": "
|
|
106439
|
+
"description": "Emits whenever the component begins the closing transition. Can be canceled.",
|
|
106440
|
+
"inheritedFrom": {
|
|
106441
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106442
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106443
|
+
}
|
|
106630
106444
|
},
|
|
106631
106445
|
{
|
|
106632
|
-
"
|
|
106633
|
-
"
|
|
106634
|
-
|
|
106635
|
-
|
|
106636
|
-
|
|
106637
|
-
|
|
106638
|
-
|
|
106446
|
+
"name": "close",
|
|
106447
|
+
"type": {
|
|
106448
|
+
"text": "Event"
|
|
106449
|
+
},
|
|
106450
|
+
"description": "Emits whenever the component is closed.",
|
|
106451
|
+
"inheritedFrom": {
|
|
106452
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106453
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106639
106454
|
}
|
|
106455
|
+
}
|
|
106456
|
+
]
|
|
106457
|
+
}
|
|
106458
|
+
],
|
|
106459
|
+
"exports": [
|
|
106460
|
+
{
|
|
106461
|
+
"kind": "js",
|
|
106462
|
+
"name": "SbbMenuElement",
|
|
106463
|
+
"declaration": {
|
|
106464
|
+
"name": "SbbMenuElement",
|
|
106465
|
+
"module": "menu/menu/menu.component.js"
|
|
106466
|
+
}
|
|
106467
|
+
}
|
|
106468
|
+
]
|
|
106469
|
+
},
|
|
106470
|
+
{
|
|
106471
|
+
"kind": "javascript-module",
|
|
106472
|
+
"path": "menu/common/menu-action-common.js",
|
|
106473
|
+
"declarations": [
|
|
106474
|
+
{
|
|
106475
|
+
"kind": "class",
|
|
106476
|
+
"description": "",
|
|
106477
|
+
"name": "SbbMenuActionCommonElementMixinType",
|
|
106478
|
+
"mixins": [
|
|
106479
|
+
{
|
|
106480
|
+
"name": "SbbIconNameMixin",
|
|
106481
|
+
"module": "icon.js"
|
|
106640
106482
|
},
|
|
106641
106483
|
{
|
|
106642
|
-
"
|
|
106643
|
-
"
|
|
106644
|
-
|
|
106645
|
-
|
|
106646
|
-
|
|
106647
|
-
|
|
106648
|
-
|
|
106484
|
+
"name": "SbbDisabledMixin",
|
|
106485
|
+
"module": "core/mixins.js"
|
|
106486
|
+
}
|
|
106487
|
+
],
|
|
106488
|
+
"superclass": {
|
|
106489
|
+
"name": "SbbActionBaseElement",
|
|
106490
|
+
"module": "core/base-elements.js"
|
|
106491
|
+
},
|
|
106492
|
+
"attributes": [
|
|
106493
|
+
{
|
|
106494
|
+
"name": "icon-name",
|
|
106495
|
+
"type": {
|
|
106496
|
+
"text": "string"
|
|
106497
|
+
},
|
|
106498
|
+
"default": "''",
|
|
106499
|
+
"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.",
|
|
106500
|
+
"fieldName": "iconName",
|
|
106501
|
+
"inheritedFrom": {
|
|
106502
|
+
"name": "SbbIconNameMixin",
|
|
106503
|
+
"module": "icon/icon-name-mixin.js"
|
|
106649
106504
|
}
|
|
106650
106505
|
},
|
|
106651
106506
|
{
|
|
106652
|
-
"
|
|
106653
|
-
"
|
|
106654
|
-
"
|
|
106655
|
-
"
|
|
106656
|
-
"
|
|
106657
|
-
"text": "void"
|
|
106658
|
-
}
|
|
106507
|
+
"name": "disabled",
|
|
106508
|
+
"description": "Whether the component is disabled.",
|
|
106509
|
+
"default": "false",
|
|
106510
|
+
"type": {
|
|
106511
|
+
"text": "boolean"
|
|
106659
106512
|
},
|
|
106660
|
-
"
|
|
106661
|
-
|
|
106662
|
-
|
|
106663
|
-
|
|
106664
|
-
|
|
106665
|
-
|
|
106666
|
-
|
|
106667
|
-
|
|
106513
|
+
"fieldName": "disabled",
|
|
106514
|
+
"inheritedFrom": {
|
|
106515
|
+
"name": "SbbDisabledMixin",
|
|
106516
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
106517
|
+
}
|
|
106518
|
+
}
|
|
106519
|
+
],
|
|
106520
|
+
"members": [
|
|
106521
|
+
{
|
|
106522
|
+
"kind": "field",
|
|
106523
|
+
"name": "iconName",
|
|
106524
|
+
"type": {
|
|
106525
|
+
"text": "string"
|
|
106526
|
+
},
|
|
106527
|
+
"privacy": "public",
|
|
106528
|
+
"default": "''",
|
|
106529
|
+
"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.",
|
|
106530
|
+
"attribute": "icon-name",
|
|
106531
|
+
"inheritedFrom": {
|
|
106532
|
+
"name": "SbbIconNameMixin",
|
|
106533
|
+
"module": "icon/icon-name-mixin.js"
|
|
106534
|
+
}
|
|
106668
106535
|
},
|
|
106669
106536
|
{
|
|
106670
106537
|
"kind": "method",
|
|
106671
|
-
"name": "
|
|
106672
|
-
"privacy": "
|
|
106538
|
+
"name": "renderIconSlot",
|
|
106539
|
+
"privacy": "protected",
|
|
106673
106540
|
"return": {
|
|
106674
106541
|
"type": {
|
|
106675
|
-
"text": "
|
|
106542
|
+
"text": "TemplateResult"
|
|
106676
106543
|
}
|
|
106677
106544
|
},
|
|
106678
106545
|
"parameters": [
|
|
106679
106546
|
{
|
|
106680
|
-
"name": "
|
|
106547
|
+
"name": "classname",
|
|
106548
|
+
"optional": true,
|
|
106681
106549
|
"type": {
|
|
106682
|
-
"text": "
|
|
106550
|
+
"text": "string"
|
|
106683
106551
|
}
|
|
106684
106552
|
}
|
|
106685
|
-
]
|
|
106686
|
-
|
|
106687
|
-
|
|
106688
|
-
|
|
106689
|
-
"name": "_setMenuPosition",
|
|
106690
|
-
"privacy": "private",
|
|
106691
|
-
"return": {
|
|
106692
|
-
"type": {
|
|
106693
|
-
"text": "void"
|
|
106694
|
-
}
|
|
106553
|
+
],
|
|
106554
|
+
"inheritedFrom": {
|
|
106555
|
+
"name": "SbbIconNameMixin",
|
|
106556
|
+
"module": "icon/icon-name-mixin.js"
|
|
106695
106557
|
}
|
|
106696
106558
|
},
|
|
106697
106559
|
{
|
|
106698
106560
|
"kind": "method",
|
|
106699
|
-
"name": "
|
|
106700
|
-
"privacy": "
|
|
106561
|
+
"name": "renderIconName",
|
|
106562
|
+
"privacy": "protected",
|
|
106701
106563
|
"return": {
|
|
106702
106564
|
"type": {
|
|
106703
|
-
"text": "
|
|
106565
|
+
"text": "string"
|
|
106704
106566
|
}
|
|
106567
|
+
},
|
|
106568
|
+
"inheritedFrom": {
|
|
106569
|
+
"name": "SbbIconNameMixin",
|
|
106570
|
+
"module": "icon/icon-name-mixin.js"
|
|
106705
106571
|
}
|
|
106706
106572
|
},
|
|
106707
106573
|
{
|
|
106708
106574
|
"kind": "method",
|
|
106709
|
-
"name": "
|
|
106575
|
+
"name": "_renderIconName",
|
|
106710
106576
|
"privacy": "private",
|
|
106711
106577
|
"return": {
|
|
106712
106578
|
"type": {
|
|
106713
|
-
"text": "
|
|
106579
|
+
"text": "string"
|
|
106714
106580
|
}
|
|
106715
|
-
}
|
|
106716
|
-
},
|
|
106717
|
-
{
|
|
106718
|
-
"kind": "field",
|
|
106719
|
-
"name": "events",
|
|
106720
|
-
"privacy": "public",
|
|
106721
|
-
"static": true,
|
|
106722
|
-
"readonly": true,
|
|
106723
|
-
"default": "{ beforeopen: 'beforeopen', open: 'open', beforeclose: 'beforeclose', close: 'close', }",
|
|
106724
|
-
"type": {
|
|
106725
|
-
"text": "{\n beforeopen: 'beforeopen',\n open: 'open',\n beforeclose: 'beforeclose',\n close: 'close',\n }"
|
|
106726
106581
|
},
|
|
106727
106582
|
"inheritedFrom": {
|
|
106728
|
-
"name": "
|
|
106729
|
-
"module": "
|
|
106583
|
+
"name": "SbbIconNameMixin",
|
|
106584
|
+
"module": "icon/icon-name-mixin.js"
|
|
106730
106585
|
}
|
|
106731
106586
|
},
|
|
106732
106587
|
{
|
|
106733
106588
|
"kind": "field",
|
|
106734
|
-
"name": "
|
|
106735
|
-
"privacy": "
|
|
106736
|
-
"description": "
|
|
106589
|
+
"name": "disabled",
|
|
106590
|
+
"privacy": "public",
|
|
106591
|
+
"description": "Whether the component is disabled.",
|
|
106592
|
+
"default": "false",
|
|
106737
106593
|
"type": {
|
|
106738
|
-
"text": "
|
|
106594
|
+
"text": "boolean"
|
|
106739
106595
|
},
|
|
106740
|
-
"
|
|
106596
|
+
"attribute": "disabled",
|
|
106597
|
+
"reflects": true,
|
|
106741
106598
|
"inheritedFrom": {
|
|
106742
|
-
"name": "
|
|
106743
|
-
"module": "core/
|
|
106599
|
+
"name": "SbbDisabledMixin",
|
|
106600
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
106744
106601
|
}
|
|
106745
106602
|
},
|
|
106746
106603
|
{
|
|
106747
106604
|
"kind": "field",
|
|
106748
|
-
"name": "
|
|
106749
|
-
"type": {
|
|
106750
|
-
"text": "SbbOpenedClosedState"
|
|
106751
|
-
},
|
|
106605
|
+
"name": "#disabled",
|
|
106752
106606
|
"privacy": "private",
|
|
106753
|
-
"inheritedFrom": {
|
|
106754
|
-
"name": "SbbOpenCloseBaseElement",
|
|
106755
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
106756
|
-
}
|
|
106757
|
-
},
|
|
106758
|
-
{
|
|
106759
|
-
"kind": "field",
|
|
106760
|
-
"name": "isOpen",
|
|
106761
106607
|
"type": {
|
|
106762
106608
|
"text": "boolean"
|
|
106763
106609
|
},
|
|
106764
|
-
"
|
|
106765
|
-
"description": "Whether the element is open.",
|
|
106766
|
-
"readonly": true,
|
|
106610
|
+
"default": "false",
|
|
106767
106611
|
"inheritedFrom": {
|
|
106768
|
-
"name": "
|
|
106769
|
-
"module": "core/
|
|
106612
|
+
"name": "SbbDisabledMixin",
|
|
106613
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
106770
106614
|
}
|
|
106771
106615
|
},
|
|
106772
106616
|
{
|
|
106773
106617
|
"kind": "method",
|
|
106774
|
-
"name": "
|
|
106618
|
+
"name": "isDisabledExternally",
|
|
106775
106619
|
"privacy": "protected",
|
|
106776
106620
|
"return": {
|
|
106777
106621
|
"type": {
|
|
106778
106622
|
"text": "boolean"
|
|
106779
106623
|
}
|
|
106780
106624
|
},
|
|
106625
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
106781
106626
|
"inheritedFrom": {
|
|
106782
|
-
"name": "
|
|
106783
|
-
"module": "core/
|
|
106627
|
+
"name": "SbbDisabledMixin",
|
|
106628
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
106629
|
+
}
|
|
106630
|
+
},
|
|
106631
|
+
{
|
|
106632
|
+
"kind": "field",
|
|
106633
|
+
"name": "maybeDisabled",
|
|
106634
|
+
"type": {
|
|
106635
|
+
"text": "boolean | undefined"
|
|
106636
|
+
},
|
|
106637
|
+
"privacy": "protected",
|
|
106638
|
+
"readonly": true,
|
|
106639
|
+
"inheritedFrom": {
|
|
106640
|
+
"name": "SbbActionBaseElement",
|
|
106641
|
+
"module": "core/base-elements/action-base-element.js"
|
|
106784
106642
|
}
|
|
106785
106643
|
},
|
|
106786
106644
|
{
|
|
106787
|
-
"kind": "
|
|
106788
|
-
"name": "
|
|
106789
|
-
"
|
|
106790
|
-
|
|
106791
|
-
"type": {
|
|
106792
|
-
"text": "boolean"
|
|
106793
|
-
}
|
|
106645
|
+
"kind": "field",
|
|
106646
|
+
"name": "maybeDisabledInteractive",
|
|
106647
|
+
"type": {
|
|
106648
|
+
"text": "boolean | undefined"
|
|
106794
106649
|
},
|
|
106650
|
+
"privacy": "protected",
|
|
106651
|
+
"readonly": true,
|
|
106795
106652
|
"inheritedFrom": {
|
|
106796
|
-
"name": "
|
|
106797
|
-
"module": "core/base-elements/
|
|
106653
|
+
"name": "SbbActionBaseElement",
|
|
106654
|
+
"module": "core/base-elements/action-base-element.js"
|
|
106798
106655
|
}
|
|
106799
106656
|
},
|
|
106800
106657
|
{
|
|
106801
106658
|
"kind": "method",
|
|
106802
|
-
"name": "
|
|
106659
|
+
"name": "setupBaseEventHandlers",
|
|
106803
106660
|
"privacy": "protected",
|
|
106804
106661
|
"return": {
|
|
106805
106662
|
"type": {
|
|
106806
|
-
"text": "
|
|
106663
|
+
"text": "void"
|
|
106807
106664
|
}
|
|
106808
106665
|
},
|
|
106809
106666
|
"inheritedFrom": {
|
|
106810
|
-
"name": "
|
|
106811
|
-
"module": "core/base-elements/
|
|
106667
|
+
"name": "SbbActionBaseElement",
|
|
106668
|
+
"module": "core/base-elements/action-base-element.js"
|
|
106812
106669
|
}
|
|
106813
106670
|
},
|
|
106814
106671
|
{
|
|
106815
106672
|
"kind": "method",
|
|
106816
|
-
"name": "
|
|
106673
|
+
"name": "renderTemplate",
|
|
106817
106674
|
"privacy": "protected",
|
|
106818
106675
|
"return": {
|
|
106819
106676
|
"type": {
|
|
106820
|
-
"text": "
|
|
106677
|
+
"text": "TemplateResult"
|
|
106821
106678
|
}
|
|
106822
106679
|
},
|
|
106680
|
+
"description": "Override this method to render the component template.",
|
|
106823
106681
|
"inheritedFrom": {
|
|
106824
|
-
"name": "
|
|
106825
|
-
"module": "core/base-elements/
|
|
106682
|
+
"name": "SbbActionBaseElement",
|
|
106683
|
+
"module": "core/base-elements/action-base-element.js"
|
|
106826
106684
|
}
|
|
106827
106685
|
},
|
|
106828
106686
|
{
|
|
@@ -106918,6 +106776,20 @@
|
|
|
106918
106776
|
"module": "core/base-elements/element.js"
|
|
106919
106777
|
}
|
|
106920
106778
|
},
|
|
106779
|
+
{
|
|
106780
|
+
"kind": "field",
|
|
106781
|
+
"name": "elementName",
|
|
106782
|
+
"type": {
|
|
106783
|
+
"text": "string"
|
|
106784
|
+
},
|
|
106785
|
+
"privacy": "public",
|
|
106786
|
+
"static": true,
|
|
106787
|
+
"readonly": true,
|
|
106788
|
+
"inheritedFrom": {
|
|
106789
|
+
"name": "SbbElement",
|
|
106790
|
+
"module": "core/base-elements/element.js"
|
|
106791
|
+
}
|
|
106792
|
+
},
|
|
106921
106793
|
{
|
|
106922
106794
|
"kind": "field",
|
|
106923
106795
|
"name": "_controllers",
|
|
@@ -106930,67 +106802,187 @@
|
|
|
106930
106802
|
"module": "core/base-elements/element.js"
|
|
106931
106803
|
}
|
|
106932
106804
|
}
|
|
106933
|
-
]
|
|
106934
|
-
|
|
106805
|
+
]
|
|
106806
|
+
},
|
|
106807
|
+
{
|
|
106808
|
+
"kind": "mixin",
|
|
106809
|
+
"description": "",
|
|
106810
|
+
"name": "SbbMenuActionCommonElementMixin",
|
|
106811
|
+
"members": [
|
|
106935
106812
|
{
|
|
106936
|
-
"
|
|
106813
|
+
"kind": "field",
|
|
106814
|
+
"name": "styles",
|
|
106937
106815
|
"type": {
|
|
106938
|
-
"text": "
|
|
106816
|
+
"text": "CSSResultGroup"
|
|
106939
106817
|
},
|
|
106940
|
-
"
|
|
106941
|
-
"
|
|
106942
|
-
"
|
|
106943
|
-
}
|
|
106944
|
-
],
|
|
106945
|
-
"superclass": {
|
|
106946
|
-
"name": "SbbOpenCloseBaseElement",
|
|
106947
|
-
"module": "core/base-elements.js"
|
|
106948
|
-
},
|
|
106949
|
-
"tagName": "sbb-menu",
|
|
106950
|
-
"customElement": true,
|
|
106951
|
-
"events": [
|
|
106818
|
+
"privacy": "public",
|
|
106819
|
+
"static": true,
|
|
106820
|
+
"default": "[boxSizingStyles, unsafeCSS(style)]"
|
|
106821
|
+
},
|
|
106952
106822
|
{
|
|
106953
|
-
"
|
|
106823
|
+
"kind": "method",
|
|
106824
|
+
"name": "renderTemplate",
|
|
106825
|
+
"privacy": "protected",
|
|
106826
|
+
"return": {
|
|
106827
|
+
"type": {
|
|
106828
|
+
"text": "TemplateResult"
|
|
106829
|
+
}
|
|
106830
|
+
}
|
|
106831
|
+
},
|
|
106832
|
+
{
|
|
106833
|
+
"kind": "field",
|
|
106834
|
+
"name": "iconName",
|
|
106954
106835
|
"type": {
|
|
106955
|
-
"text": "
|
|
106836
|
+
"text": "string"
|
|
106956
106837
|
},
|
|
106957
|
-
"
|
|
106838
|
+
"privacy": "public",
|
|
106839
|
+
"default": "''",
|
|
106840
|
+
"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.",
|
|
106841
|
+
"attribute": "icon-name",
|
|
106958
106842
|
"inheritedFrom": {
|
|
106959
|
-
"name": "
|
|
106960
|
-
"module": "
|
|
106843
|
+
"name": "SbbIconNameMixin",
|
|
106844
|
+
"module": "icon/icon-name-mixin.js"
|
|
106961
106845
|
}
|
|
106962
106846
|
},
|
|
106963
106847
|
{
|
|
106964
|
-
"
|
|
106848
|
+
"kind": "method",
|
|
106849
|
+
"name": "renderIconSlot",
|
|
106850
|
+
"privacy": "protected",
|
|
106851
|
+
"return": {
|
|
106852
|
+
"type": {
|
|
106853
|
+
"text": "TemplateResult"
|
|
106854
|
+
}
|
|
106855
|
+
},
|
|
106856
|
+
"parameters": [
|
|
106857
|
+
{
|
|
106858
|
+
"name": "classname",
|
|
106859
|
+
"optional": true,
|
|
106860
|
+
"type": {
|
|
106861
|
+
"text": "string"
|
|
106862
|
+
}
|
|
106863
|
+
}
|
|
106864
|
+
],
|
|
106865
|
+
"inheritedFrom": {
|
|
106866
|
+
"name": "SbbIconNameMixin",
|
|
106867
|
+
"module": "icon/icon-name-mixin.js"
|
|
106868
|
+
}
|
|
106869
|
+
},
|
|
106870
|
+
{
|
|
106871
|
+
"kind": "method",
|
|
106872
|
+
"name": "renderIconName",
|
|
106873
|
+
"privacy": "protected",
|
|
106874
|
+
"return": {
|
|
106875
|
+
"type": {
|
|
106876
|
+
"text": "string"
|
|
106877
|
+
}
|
|
106878
|
+
},
|
|
106879
|
+
"inheritedFrom": {
|
|
106880
|
+
"name": "SbbIconNameMixin",
|
|
106881
|
+
"module": "icon/icon-name-mixin.js"
|
|
106882
|
+
}
|
|
106883
|
+
},
|
|
106884
|
+
{
|
|
106885
|
+
"kind": "method",
|
|
106886
|
+
"name": "_renderIconName",
|
|
106887
|
+
"privacy": "private",
|
|
106888
|
+
"return": {
|
|
106889
|
+
"type": {
|
|
106890
|
+
"text": "string"
|
|
106891
|
+
}
|
|
106892
|
+
},
|
|
106893
|
+
"inheritedFrom": {
|
|
106894
|
+
"name": "SbbIconNameMixin",
|
|
106895
|
+
"module": "icon/icon-name-mixin.js"
|
|
106896
|
+
}
|
|
106897
|
+
},
|
|
106898
|
+
{
|
|
106899
|
+
"kind": "field",
|
|
106900
|
+
"name": "disabled",
|
|
106901
|
+
"privacy": "public",
|
|
106902
|
+
"description": "Whether the component is disabled.",
|
|
106903
|
+
"default": "false",
|
|
106965
106904
|
"type": {
|
|
106966
|
-
"text": "
|
|
106905
|
+
"text": "boolean"
|
|
106967
106906
|
},
|
|
106968
|
-
"
|
|
106907
|
+
"attribute": "disabled",
|
|
106908
|
+
"reflects": true,
|
|
106969
106909
|
"inheritedFrom": {
|
|
106970
|
-
"name": "
|
|
106971
|
-
"module": "core/
|
|
106910
|
+
"name": "SbbDisabledMixin",
|
|
106911
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
106972
106912
|
}
|
|
106973
106913
|
},
|
|
106974
106914
|
{
|
|
106975
|
-
"
|
|
106915
|
+
"kind": "field",
|
|
106916
|
+
"name": "#disabled",
|
|
106917
|
+
"privacy": "private",
|
|
106976
106918
|
"type": {
|
|
106977
|
-
"text": "
|
|
106919
|
+
"text": "boolean"
|
|
106978
106920
|
},
|
|
106979
|
-
"
|
|
106921
|
+
"default": "false",
|
|
106980
106922
|
"inheritedFrom": {
|
|
106981
|
-
"name": "
|
|
106982
|
-
"module": "core/
|
|
106923
|
+
"name": "SbbDisabledMixin",
|
|
106924
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
106983
106925
|
}
|
|
106984
106926
|
},
|
|
106985
106927
|
{
|
|
106986
|
-
"
|
|
106928
|
+
"kind": "method",
|
|
106929
|
+
"name": "isDisabledExternally",
|
|
106930
|
+
"privacy": "protected",
|
|
106931
|
+
"return": {
|
|
106932
|
+
"type": {
|
|
106933
|
+
"text": "boolean"
|
|
106934
|
+
}
|
|
106935
|
+
},
|
|
106936
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
106937
|
+
"inheritedFrom": {
|
|
106938
|
+
"name": "SbbDisabledMixin",
|
|
106939
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
106940
|
+
}
|
|
106941
|
+
}
|
|
106942
|
+
],
|
|
106943
|
+
"mixins": [
|
|
106944
|
+
{
|
|
106945
|
+
"name": "SbbIconNameMixin",
|
|
106946
|
+
"module": "icon.js"
|
|
106947
|
+
},
|
|
106948
|
+
{
|
|
106949
|
+
"name": "SbbDisabledMixin",
|
|
106950
|
+
"module": "core/mixins.js"
|
|
106951
|
+
}
|
|
106952
|
+
],
|
|
106953
|
+
"parameters": [
|
|
106954
|
+
{
|
|
106955
|
+
"name": "superClass",
|
|
106987
106956
|
"type": {
|
|
106988
|
-
"text": "
|
|
106957
|
+
"text": "T"
|
|
106958
|
+
}
|
|
106959
|
+
}
|
|
106960
|
+
],
|
|
106961
|
+
"attributes": [
|
|
106962
|
+
{
|
|
106963
|
+
"name": "icon-name",
|
|
106964
|
+
"type": {
|
|
106965
|
+
"text": "string"
|
|
106989
106966
|
},
|
|
106990
|
-
"
|
|
106967
|
+
"default": "''",
|
|
106968
|
+
"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.",
|
|
106969
|
+
"fieldName": "iconName",
|
|
106991
106970
|
"inheritedFrom": {
|
|
106992
|
-
"name": "
|
|
106993
|
-
"module": "
|
|
106971
|
+
"name": "SbbIconNameMixin",
|
|
106972
|
+
"module": "icon/icon-name-mixin.js"
|
|
106973
|
+
}
|
|
106974
|
+
},
|
|
106975
|
+
{
|
|
106976
|
+
"name": "disabled",
|
|
106977
|
+
"description": "Whether the component is disabled.",
|
|
106978
|
+
"default": "false",
|
|
106979
|
+
"type": {
|
|
106980
|
+
"text": "boolean"
|
|
106981
|
+
},
|
|
106982
|
+
"fieldName": "disabled",
|
|
106983
|
+
"inheritedFrom": {
|
|
106984
|
+
"name": "SbbDisabledMixin",
|
|
106985
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
106994
106986
|
}
|
|
106995
106987
|
}
|
|
106996
106988
|
]
|
|
@@ -106999,10 +106991,18 @@
|
|
|
106999
106991
|
"exports": [
|
|
107000
106992
|
{
|
|
107001
106993
|
"kind": "js",
|
|
107002
|
-
"name": "
|
|
106994
|
+
"name": "SbbMenuActionCommonElementMixinType",
|
|
107003
106995
|
"declaration": {
|
|
107004
|
-
"name": "
|
|
107005
|
-
"module": "menu/
|
|
106996
|
+
"name": "SbbMenuActionCommonElementMixinType",
|
|
106997
|
+
"module": "menu/common/menu-action-common.js"
|
|
106998
|
+
}
|
|
106999
|
+
},
|
|
107000
|
+
{
|
|
107001
|
+
"kind": "js",
|
|
107002
|
+
"name": "SbbMenuActionCommonElementMixin",
|
|
107003
|
+
"declaration": {
|
|
107004
|
+
"name": "SbbMenuActionCommonElementMixin",
|
|
107005
|
+
"module": "menu/common/menu-action-common.js"
|
|
107006
107006
|
}
|
|
107007
107007
|
}
|
|
107008
107008
|
]
|