@sbb-esta/lyne-elements-dev 4.14.1-dev.1784021980 → 4.14.2-dev.1784022560
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 +1405 -1405
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -101102,15 +101102,15 @@
|
|
|
101102
101102
|
},
|
|
101103
101103
|
{
|
|
101104
101104
|
"kind": "javascript-module",
|
|
101105
|
-
"path": "link/block-link-
|
|
101105
|
+
"path": "link/block-link-button/block-link-button.component.js",
|
|
101106
101106
|
"declarations": [
|
|
101107
101107
|
{
|
|
101108
101108
|
"kind": "class",
|
|
101109
|
-
"description": "It displays a
|
|
101110
|
-
"name": "
|
|
101109
|
+
"description": "It displays a link enhanced with the SBB Design, which will behave as a button.",
|
|
101110
|
+
"name": "SbbBlockLinkButtonElement",
|
|
101111
101111
|
"slots": [
|
|
101112
101112
|
{
|
|
101113
|
-
"description": "Use the unnamed slot to add content to the `sbb-block-link-
|
|
101113
|
+
"description": "Use the unnamed slot to add content to the `sbb-block-link-button`.",
|
|
101114
101114
|
"name": ""
|
|
101115
101115
|
},
|
|
101116
101116
|
{
|
|
@@ -101132,7 +101132,7 @@
|
|
|
101132
101132
|
"name": "SbbElement",
|
|
101133
101133
|
"module": "core/base-elements/element.js"
|
|
101134
101134
|
},
|
|
101135
|
-
"default": "'sbb-block-link-
|
|
101135
|
+
"default": "'sbb-block-link-button'"
|
|
101136
101136
|
},
|
|
101137
101137
|
{
|
|
101138
101138
|
"kind": "field",
|
|
@@ -101261,6 +101261,22 @@
|
|
|
101261
101261
|
"module": "icon/icon-name-mixin.js"
|
|
101262
101262
|
}
|
|
101263
101263
|
},
|
|
101264
|
+
{
|
|
101265
|
+
"kind": "field",
|
|
101266
|
+
"name": "disabledInteractive",
|
|
101267
|
+
"type": {
|
|
101268
|
+
"text": "boolean"
|
|
101269
|
+
},
|
|
101270
|
+
"privacy": "public",
|
|
101271
|
+
"default": "false",
|
|
101272
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
101273
|
+
"attribute": "disabled-interactive",
|
|
101274
|
+
"reflects": true,
|
|
101275
|
+
"inheritedFrom": {
|
|
101276
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
101277
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
101278
|
+
}
|
|
101279
|
+
},
|
|
101264
101280
|
{
|
|
101265
101281
|
"kind": "field",
|
|
101266
101282
|
"name": "disabled",
|
|
@@ -101307,98 +101323,88 @@
|
|
|
101307
101323
|
},
|
|
101308
101324
|
{
|
|
101309
101325
|
"kind": "field",
|
|
101310
|
-
"name": "
|
|
101326
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
101311
101327
|
"type": {
|
|
101312
|
-
"text": "
|
|
101328
|
+
"text": "array"
|
|
101313
101329
|
},
|
|
101314
|
-
"privacy": "
|
|
101330
|
+
"privacy": "private",
|
|
101315
101331
|
"readonly": true,
|
|
101332
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
101316
101333
|
"inheritedFrom": {
|
|
101317
|
-
"name": "
|
|
101318
|
-
"module": "core/base-elements/
|
|
101334
|
+
"name": "SbbButtonBaseElement",
|
|
101335
|
+
"module": "core/base-elements/button-base-element.js"
|
|
101319
101336
|
}
|
|
101320
101337
|
},
|
|
101321
101338
|
{
|
|
101322
101339
|
"kind": "field",
|
|
101323
|
-
"name": "
|
|
101340
|
+
"name": "value",
|
|
101324
101341
|
"type": {
|
|
101325
|
-
"text": "
|
|
101342
|
+
"text": "string"
|
|
101326
101343
|
},
|
|
101327
|
-
"privacy": "
|
|
101328
|
-
"readonly": true,
|
|
101344
|
+
"privacy": "public",
|
|
101329
101345
|
"inheritedFrom": {
|
|
101330
|
-
"name": "
|
|
101331
|
-
"module": "core/base-elements/
|
|
101332
|
-
}
|
|
101333
|
-
},
|
|
101334
|
-
{
|
|
101335
|
-
"kind": "method",
|
|
101336
|
-
"name": "setupBaseEventHandlers",
|
|
101337
|
-
"privacy": "protected",
|
|
101338
|
-
"return": {
|
|
101339
|
-
"type": {
|
|
101340
|
-
"text": "void"
|
|
101341
|
-
}
|
|
101346
|
+
"name": "SbbButtonBaseElement",
|
|
101347
|
+
"module": "core/base-elements/button-base-element.js"
|
|
101342
101348
|
},
|
|
101343
|
-
"
|
|
101344
|
-
|
|
101345
|
-
|
|
101346
|
-
}
|
|
101349
|
+
"default": "''",
|
|
101350
|
+
"description": "Value of the form element.",
|
|
101351
|
+
"attribute": "value"
|
|
101347
101352
|
},
|
|
101348
101353
|
{
|
|
101349
101354
|
"kind": "field",
|
|
101350
|
-
"name": "
|
|
101355
|
+
"name": "type",
|
|
101356
|
+
"privacy": "public",
|
|
101357
|
+
"description": "The type attribute to use for the button.",
|
|
101358
|
+
"default": "'button'",
|
|
101351
101359
|
"type": {
|
|
101352
|
-
"text": "
|
|
101360
|
+
"text": "SbbButtonType"
|
|
101353
101361
|
},
|
|
101354
|
-
"
|
|
101355
|
-
"default": "!!this.shadowRoot",
|
|
101362
|
+
"attribute": "type",
|
|
101356
101363
|
"inheritedFrom": {
|
|
101357
|
-
"name": "
|
|
101358
|
-
"module": "core/base-elements/element.js"
|
|
101364
|
+
"name": "SbbButtonBaseElement",
|
|
101365
|
+
"module": "core/base-elements/button-base-element.js"
|
|
101359
101366
|
}
|
|
101360
101367
|
},
|
|
101361
101368
|
{
|
|
101362
101369
|
"kind": "field",
|
|
101363
|
-
"name": "
|
|
101364
|
-
"
|
|
101365
|
-
|
|
101370
|
+
"name": "form",
|
|
101371
|
+
"type": {
|
|
101372
|
+
"text": "HTMLFormElement | null"
|
|
101373
|
+
},
|
|
101374
|
+
"privacy": "public",
|
|
101375
|
+
"description": "The `<form>` element to associate the button with.",
|
|
101366
101376
|
"inheritedFrom": {
|
|
101367
|
-
"name": "
|
|
101368
|
-
"module": "core/base-elements/element.js"
|
|
101369
|
-
}
|
|
101377
|
+
"name": "SbbButtonBaseElement",
|
|
101378
|
+
"module": "core/base-elements/button-base-element.js"
|
|
101379
|
+
},
|
|
101380
|
+
"attribute": "form"
|
|
101370
101381
|
},
|
|
101371
101382
|
{
|
|
101372
101383
|
"kind": "field",
|
|
101373
|
-
"name": "
|
|
101384
|
+
"name": "_formId",
|
|
101374
101385
|
"type": {
|
|
101375
|
-
"text": "
|
|
101386
|
+
"text": "string"
|
|
101376
101387
|
},
|
|
101377
101388
|
"privacy": "private",
|
|
101389
|
+
"default": "''",
|
|
101378
101390
|
"inheritedFrom": {
|
|
101379
|
-
"name": "
|
|
101380
|
-
"module": "core/base-elements/element.js"
|
|
101391
|
+
"name": "SbbButtonBaseElement",
|
|
101392
|
+
"module": "core/base-elements/button-base-element.js"
|
|
101381
101393
|
}
|
|
101382
101394
|
},
|
|
101383
101395
|
{
|
|
101384
101396
|
"kind": "field",
|
|
101385
|
-
"name": "
|
|
101386
|
-
"
|
|
101387
|
-
"text": "boolean"
|
|
101388
|
-
},
|
|
101389
|
-
"privacy": "protected",
|
|
101390
|
-
"description": "Returns whether hydration is required and not completed.",
|
|
101391
|
-
"readonly": true,
|
|
101397
|
+
"name": "_handleButtonClick",
|
|
101398
|
+
"privacy": "private",
|
|
101392
101399
|
"inheritedFrom": {
|
|
101393
|
-
"name": "
|
|
101394
|
-
"module": "core/base-elements/element.js"
|
|
101395
|
-
}
|
|
101396
|
-
"default": "!!this.shadowRoot"
|
|
101400
|
+
"name": "SbbButtonBaseElement",
|
|
101401
|
+
"module": "core/base-elements/button-base-element.js"
|
|
101402
|
+
}
|
|
101397
101403
|
},
|
|
101398
101404
|
{
|
|
101399
101405
|
"kind": "method",
|
|
101400
|
-
"name": "
|
|
101401
|
-
"privacy": "
|
|
101406
|
+
"name": "_requestSubmit",
|
|
101407
|
+
"privacy": "private",
|
|
101402
101408
|
"return": {
|
|
101403
101409
|
"type": {
|
|
101404
101410
|
"text": "void"
|
|
@@ -101406,27 +101412,29 @@
|
|
|
101406
101412
|
},
|
|
101407
101413
|
"parameters": [
|
|
101408
101414
|
{
|
|
101409
|
-
"name": "
|
|
101410
|
-
"type": {
|
|
101411
|
-
"text": "string"
|
|
101412
|
-
}
|
|
101413
|
-
},
|
|
101414
|
-
{
|
|
101415
|
-
"name": "force",
|
|
101416
|
-
"optional": true,
|
|
101415
|
+
"name": "form",
|
|
101417
101416
|
"type": {
|
|
101418
|
-
"text": "
|
|
101417
|
+
"text": "HTMLFormElement"
|
|
101419
101418
|
}
|
|
101420
101419
|
}
|
|
101421
101420
|
],
|
|
101422
101421
|
"inheritedFrom": {
|
|
101423
|
-
"name": "
|
|
101424
|
-
"module": "core/base-elements/element.js"
|
|
101422
|
+
"name": "SbbButtonBaseElement",
|
|
101423
|
+
"module": "core/base-elements/button-base-element.js"
|
|
101425
101424
|
}
|
|
101426
101425
|
},
|
|
101427
101426
|
{
|
|
101428
101427
|
"kind": "field",
|
|
101429
|
-
"name": "
|
|
101428
|
+
"name": "_formKeyDown",
|
|
101429
|
+
"privacy": "private",
|
|
101430
|
+
"inheritedFrom": {
|
|
101431
|
+
"name": "SbbButtonBaseElement",
|
|
101432
|
+
"module": "core/base-elements/button-base-element.js"
|
|
101433
|
+
}
|
|
101434
|
+
},
|
|
101435
|
+
{
|
|
101436
|
+
"kind": "field",
|
|
101437
|
+
"name": "formAssociated",
|
|
101430
101438
|
"type": {
|
|
101431
101439
|
"text": "boolean"
|
|
101432
101440
|
},
|
|
@@ -101434,566 +101442,456 @@
|
|
|
101434
101442
|
"static": true,
|
|
101435
101443
|
"default": "true",
|
|
101436
101444
|
"inheritedFrom": {
|
|
101437
|
-
"name": "
|
|
101438
|
-
"module": "core/
|
|
101445
|
+
"name": "SbbFormAssociatedMixin",
|
|
101446
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101439
101447
|
}
|
|
101440
101448
|
},
|
|
101441
101449
|
{
|
|
101442
101450
|
"kind": "field",
|
|
101443
|
-
"name": "
|
|
101451
|
+
"name": "name",
|
|
101452
|
+
"privacy": "public",
|
|
101453
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
101444
101454
|
"type": {
|
|
101445
|
-
"text": "
|
|
101455
|
+
"text": "string"
|
|
101446
101456
|
},
|
|
101447
|
-
"
|
|
101457
|
+
"attribute": "name",
|
|
101448
101458
|
"inheritedFrom": {
|
|
101449
|
-
"name": "
|
|
101450
|
-
"module": "core/
|
|
101459
|
+
"name": "SbbFormAssociatedMixin",
|
|
101460
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101451
101461
|
}
|
|
101452
|
-
}
|
|
101453
|
-
],
|
|
101454
|
-
"mixins": [
|
|
101455
|
-
{
|
|
101456
|
-
"name": "SbbBlockLinkCommonElementMixin",
|
|
101457
|
-
"module": "link/common/block-link-common.js"
|
|
101458
101462
|
},
|
|
101459
101463
|
{
|
|
101460
|
-
"
|
|
101461
|
-
"
|
|
101462
|
-
}
|
|
101463
|
-
],
|
|
101464
|
-
"superclass": {
|
|
101465
|
-
"name": "SbbActionBaseElement",
|
|
101466
|
-
"module": "core/base-elements.js"
|
|
101467
|
-
},
|
|
101468
|
-
"tagName": "sbb-block-link-static",
|
|
101469
|
-
"customElement": true,
|
|
101470
|
-
"attributes": [
|
|
101471
|
-
{
|
|
101472
|
-
"name": "icon-placement",
|
|
101464
|
+
"kind": "field",
|
|
101465
|
+
"name": "validity",
|
|
101473
101466
|
"type": {
|
|
101474
|
-
"text": "
|
|
101467
|
+
"text": "ValidityState"
|
|
101475
101468
|
},
|
|
101476
|
-
"
|
|
101477
|
-
"description": "
|
|
101478
|
-
"
|
|
101469
|
+
"privacy": "public",
|
|
101470
|
+
"description": "Returns the ValidityState object for this element.",
|
|
101471
|
+
"readonly": true,
|
|
101479
101472
|
"inheritedFrom": {
|
|
101480
|
-
"name": "
|
|
101481
|
-
"module": "
|
|
101473
|
+
"name": "SbbFormAssociatedMixin",
|
|
101474
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101482
101475
|
}
|
|
101483
101476
|
},
|
|
101484
101477
|
{
|
|
101485
|
-
"
|
|
101478
|
+
"kind": "field",
|
|
101479
|
+
"name": "validationMessage",
|
|
101486
101480
|
"type": {
|
|
101487
|
-
"text": "
|
|
101481
|
+
"text": "string"
|
|
101488
101482
|
},
|
|
101489
|
-
"
|
|
101490
|
-
"
|
|
101491
|
-
"
|
|
101483
|
+
"privacy": "public",
|
|
101484
|
+
"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.",
|
|
101485
|
+
"readonly": true,
|
|
101492
101486
|
"inheritedFrom": {
|
|
101493
|
-
"name": "
|
|
101494
|
-
"module": "
|
|
101487
|
+
"name": "SbbFormAssociatedMixin",
|
|
101488
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101495
101489
|
}
|
|
101496
101490
|
},
|
|
101497
101491
|
{
|
|
101498
|
-
"
|
|
101492
|
+
"kind": "field",
|
|
101493
|
+
"name": "willValidate",
|
|
101499
101494
|
"type": {
|
|
101500
|
-
"text": "
|
|
101495
|
+
"text": "boolean"
|
|
101501
101496
|
},
|
|
101502
|
-
"
|
|
101503
|
-
"description": "
|
|
101504
|
-
"
|
|
101497
|
+
"privacy": "public",
|
|
101498
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
101499
|
+
"readonly": true,
|
|
101505
101500
|
"inheritedFrom": {
|
|
101506
|
-
"name": "
|
|
101507
|
-
"module": "
|
|
101501
|
+
"name": "SbbFormAssociatedMixin",
|
|
101502
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101508
101503
|
}
|
|
101509
101504
|
},
|
|
101510
101505
|
{
|
|
101511
|
-
"
|
|
101512
|
-
"
|
|
101513
|
-
"
|
|
101506
|
+
"kind": "field",
|
|
101507
|
+
"name": "_validityStates",
|
|
101508
|
+
"privacy": "private",
|
|
101509
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
101510
|
+
"inheritedFrom": {
|
|
101511
|
+
"name": "SbbFormAssociatedMixin",
|
|
101512
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101513
|
+
}
|
|
101514
|
+
},
|
|
101515
|
+
{
|
|
101516
|
+
"kind": "field",
|
|
101517
|
+
"name": "formDisabled",
|
|
101514
101518
|
"type": {
|
|
101515
101519
|
"text": "boolean"
|
|
101516
101520
|
},
|
|
101517
|
-
"
|
|
101521
|
+
"privacy": "protected",
|
|
101522
|
+
"default": "false",
|
|
101523
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
101518
101524
|
"inheritedFrom": {
|
|
101519
|
-
"name": "
|
|
101520
|
-
"module": "core/mixins/
|
|
101525
|
+
"name": "SbbFormAssociatedMixin",
|
|
101526
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101521
101527
|
}
|
|
101522
|
-
}
|
|
101523
|
-
]
|
|
101524
|
-
}
|
|
101525
|
-
],
|
|
101526
|
-
"exports": [
|
|
101527
|
-
{
|
|
101528
|
-
"kind": "js",
|
|
101529
|
-
"name": "SbbBlockLinkStaticElement",
|
|
101530
|
-
"declaration": {
|
|
101531
|
-
"name": "SbbBlockLinkStaticElement",
|
|
101532
|
-
"module": "link/block-link-static/block-link-static.component.js"
|
|
101533
|
-
}
|
|
101534
|
-
}
|
|
101535
|
-
]
|
|
101536
|
-
},
|
|
101537
|
-
{
|
|
101538
|
-
"kind": "javascript-module",
|
|
101539
|
-
"path": "link/block-link-button/block-link-button.component.js",
|
|
101540
|
-
"declarations": [
|
|
101541
|
-
{
|
|
101542
|
-
"kind": "class",
|
|
101543
|
-
"description": "It displays a link enhanced with the SBB Design, which will behave as a button.",
|
|
101544
|
-
"name": "SbbBlockLinkButtonElement",
|
|
101545
|
-
"slots": [
|
|
101546
|
-
{
|
|
101547
|
-
"description": "Use the unnamed slot to add content to the `sbb-block-link-button`.",
|
|
101548
|
-
"name": ""
|
|
101549
101528
|
},
|
|
101550
101529
|
{
|
|
101551
|
-
"
|
|
101552
|
-
"name": "
|
|
101553
|
-
}
|
|
101554
|
-
],
|
|
101555
|
-
"members": [
|
|
101556
|
-
{
|
|
101557
|
-
"kind": "field",
|
|
101558
|
-
"name": "elementName",
|
|
101559
|
-
"type": {
|
|
101560
|
-
"text": "string"
|
|
101561
|
-
},
|
|
101530
|
+
"kind": "method",
|
|
101531
|
+
"name": "checkValidity",
|
|
101562
101532
|
"privacy": "public",
|
|
101563
|
-
"
|
|
101564
|
-
|
|
101565
|
-
|
|
101566
|
-
|
|
101567
|
-
"module": "core/base-elements/element.js"
|
|
101533
|
+
"return": {
|
|
101534
|
+
"type": {
|
|
101535
|
+
"text": "boolean"
|
|
101536
|
+
}
|
|
101568
101537
|
},
|
|
101569
|
-
"
|
|
101538
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
101539
|
+
"inheritedFrom": {
|
|
101540
|
+
"name": "SbbFormAssociatedMixin",
|
|
101541
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101542
|
+
}
|
|
101570
101543
|
},
|
|
101571
101544
|
{
|
|
101572
|
-
"kind": "
|
|
101573
|
-
"name": "
|
|
101574
|
-
"type": {
|
|
101575
|
-
"text": "CSSResultGroup"
|
|
101576
|
-
},
|
|
101545
|
+
"kind": "method",
|
|
101546
|
+
"name": "reportValidity",
|
|
101577
101547
|
"privacy": "public",
|
|
101578
|
-
"
|
|
101579
|
-
|
|
101548
|
+
"return": {
|
|
101549
|
+
"type": {
|
|
101550
|
+
"text": "boolean"
|
|
101551
|
+
}
|
|
101552
|
+
},
|
|
101553
|
+
"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.",
|
|
101580
101554
|
"inheritedFrom": {
|
|
101581
|
-
"name": "
|
|
101582
|
-
"module": "
|
|
101555
|
+
"name": "SbbFormAssociatedMixin",
|
|
101556
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101583
101557
|
}
|
|
101584
101558
|
},
|
|
101585
101559
|
{
|
|
101586
|
-
"kind": "
|
|
101587
|
-
"name": "
|
|
101588
|
-
"type": {
|
|
101589
|
-
"text": "SbbIconPlacement"
|
|
101590
|
-
},
|
|
101560
|
+
"kind": "method",
|
|
101561
|
+
"name": "setCustomValidity",
|
|
101591
101562
|
"privacy": "public",
|
|
101592
|
-
"
|
|
101593
|
-
|
|
101594
|
-
|
|
101595
|
-
|
|
101563
|
+
"return": {
|
|
101564
|
+
"type": {
|
|
101565
|
+
"text": "void"
|
|
101566
|
+
}
|
|
101567
|
+
},
|
|
101568
|
+
"parameters": [
|
|
101569
|
+
{
|
|
101570
|
+
"name": "message",
|
|
101571
|
+
"type": {
|
|
101572
|
+
"text": "string"
|
|
101573
|
+
}
|
|
101574
|
+
}
|
|
101575
|
+
],
|
|
101576
|
+
"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.",
|
|
101596
101577
|
"inheritedFrom": {
|
|
101597
|
-
"name": "
|
|
101598
|
-
"module": "
|
|
101578
|
+
"name": "SbbFormAssociatedMixin",
|
|
101579
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101599
101580
|
}
|
|
101600
101581
|
},
|
|
101601
101582
|
{
|
|
101602
101583
|
"kind": "method",
|
|
101603
|
-
"name": "
|
|
101604
|
-
"privacy": "
|
|
101584
|
+
"name": "_hasDisabledAncestor",
|
|
101585
|
+
"privacy": "private",
|
|
101605
101586
|
"return": {
|
|
101606
101587
|
"type": {
|
|
101607
|
-
"text": "
|
|
101588
|
+
"text": "boolean"
|
|
101608
101589
|
}
|
|
101609
101590
|
},
|
|
101610
|
-
"description": "Override this method to render the component template.",
|
|
101611
101591
|
"inheritedFrom": {
|
|
101612
|
-
"name": "
|
|
101613
|
-
"module": "core/
|
|
101592
|
+
"name": "SbbFormAssociatedMixin",
|
|
101593
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101614
101594
|
}
|
|
101615
101595
|
},
|
|
101616
101596
|
{
|
|
101617
|
-
"kind": "
|
|
101618
|
-
"name": "
|
|
101619
|
-
"
|
|
101620
|
-
|
|
101597
|
+
"kind": "method",
|
|
101598
|
+
"name": "updateFormValue",
|
|
101599
|
+
"privacy": "protected",
|
|
101600
|
+
"return": {
|
|
101601
|
+
"type": {
|
|
101602
|
+
"text": "void"
|
|
101603
|
+
}
|
|
101621
101604
|
},
|
|
101622
|
-
"
|
|
101623
|
-
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
101624
|
-
"default": "'s' / 'xs' (lean)",
|
|
101625
|
-
"attribute": "size",
|
|
101626
|
-
"reflects": true,
|
|
101605
|
+
"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",
|
|
101627
101606
|
"inheritedFrom": {
|
|
101628
|
-
"name": "
|
|
101629
|
-
"module": "
|
|
101607
|
+
"name": "SbbFormAssociatedMixin",
|
|
101608
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101630
101609
|
}
|
|
101631
101610
|
},
|
|
101632
101611
|
{
|
|
101633
|
-
"kind": "
|
|
101634
|
-
"name": "
|
|
101635
|
-
"
|
|
101636
|
-
|
|
101612
|
+
"kind": "method",
|
|
101613
|
+
"name": "formState",
|
|
101614
|
+
"privacy": "protected",
|
|
101615
|
+
"return": {
|
|
101616
|
+
"type": {
|
|
101617
|
+
"text": "FormRestoreState"
|
|
101618
|
+
}
|
|
101637
101619
|
},
|
|
101638
|
-
"privacy": "public",
|
|
101639
|
-
"default": "''",
|
|
101640
|
-
"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.",
|
|
101641
|
-
"attribute": "icon-name",
|
|
101642
101620
|
"inheritedFrom": {
|
|
101643
|
-
"name": "
|
|
101644
|
-
"module": "
|
|
101621
|
+
"name": "SbbFormAssociatedMixin",
|
|
101622
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101645
101623
|
}
|
|
101646
101624
|
},
|
|
101647
101625
|
{
|
|
101648
101626
|
"kind": "method",
|
|
101649
|
-
"name": "
|
|
101627
|
+
"name": "setValidityFlag",
|
|
101650
101628
|
"privacy": "protected",
|
|
101651
101629
|
"return": {
|
|
101652
101630
|
"type": {
|
|
101653
|
-
"text": "
|
|
101631
|
+
"text": "void"
|
|
101654
101632
|
}
|
|
101655
101633
|
},
|
|
101656
101634
|
"parameters": [
|
|
101657
101635
|
{
|
|
101658
|
-
"name": "
|
|
101659
|
-
"
|
|
101636
|
+
"name": "flag",
|
|
101637
|
+
"type": {
|
|
101638
|
+
"text": "T"
|
|
101639
|
+
}
|
|
101640
|
+
},
|
|
101641
|
+
{
|
|
101642
|
+
"name": "message",
|
|
101660
101643
|
"type": {
|
|
101661
101644
|
"text": "string"
|
|
101662
101645
|
}
|
|
101646
|
+
},
|
|
101647
|
+
{
|
|
101648
|
+
"name": "flagValue",
|
|
101649
|
+
"optional": true,
|
|
101650
|
+
"type": {
|
|
101651
|
+
"text": "ValidityStateFlags[T]"
|
|
101652
|
+
}
|
|
101663
101653
|
}
|
|
101664
101654
|
],
|
|
101655
|
+
"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).",
|
|
101665
101656
|
"inheritedFrom": {
|
|
101666
|
-
"name": "
|
|
101667
|
-
"module": "
|
|
101657
|
+
"name": "SbbFormAssociatedMixin",
|
|
101658
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101668
101659
|
}
|
|
101669
101660
|
},
|
|
101670
101661
|
{
|
|
101671
101662
|
"kind": "method",
|
|
101672
|
-
"name": "
|
|
101663
|
+
"name": "removeValidityFlag",
|
|
101673
101664
|
"privacy": "protected",
|
|
101674
101665
|
"return": {
|
|
101675
101666
|
"type": {
|
|
101676
|
-
"text": "
|
|
101667
|
+
"text": "void"
|
|
101677
101668
|
}
|
|
101678
101669
|
},
|
|
101670
|
+
"parameters": [
|
|
101671
|
+
{
|
|
101672
|
+
"name": "flag",
|
|
101673
|
+
"type": {
|
|
101674
|
+
"text": "T"
|
|
101675
|
+
}
|
|
101676
|
+
}
|
|
101677
|
+
],
|
|
101678
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
101679
101679
|
"inheritedFrom": {
|
|
101680
|
-
"name": "
|
|
101681
|
-
"module": "
|
|
101680
|
+
"name": "SbbFormAssociatedMixin",
|
|
101681
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101682
101682
|
}
|
|
101683
101683
|
},
|
|
101684
101684
|
{
|
|
101685
101685
|
"kind": "method",
|
|
101686
|
-
"name": "
|
|
101687
|
-
"privacy": "
|
|
101686
|
+
"name": "validate",
|
|
101687
|
+
"privacy": "protected",
|
|
101688
101688
|
"return": {
|
|
101689
101689
|
"type": {
|
|
101690
|
-
"text": "
|
|
101690
|
+
"text": "void"
|
|
101691
101691
|
}
|
|
101692
101692
|
},
|
|
101693
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
101693
101694
|
"inheritedFrom": {
|
|
101694
|
-
"name": "
|
|
101695
|
-
"module": "
|
|
101695
|
+
"name": "SbbFormAssociatedMixin",
|
|
101696
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101696
101697
|
}
|
|
101697
101698
|
},
|
|
101698
101699
|
{
|
|
101699
|
-
"kind": "
|
|
101700
|
-
"name": "
|
|
101701
|
-
"
|
|
101702
|
-
|
|
101700
|
+
"kind": "method",
|
|
101701
|
+
"name": "shouldValidate",
|
|
101702
|
+
"privacy": "protected",
|
|
101703
|
+
"return": {
|
|
101704
|
+
"type": {
|
|
101705
|
+
"text": "boolean"
|
|
101706
|
+
}
|
|
101703
101707
|
},
|
|
101704
|
-
"
|
|
101705
|
-
|
|
101706
|
-
|
|
101707
|
-
|
|
101708
|
-
|
|
101708
|
+
"parameters": [
|
|
101709
|
+
{
|
|
101710
|
+
"name": "name",
|
|
101711
|
+
"type": {
|
|
101712
|
+
"text": "PropertyKey | undefined"
|
|
101713
|
+
}
|
|
101714
|
+
}
|
|
101715
|
+
],
|
|
101716
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
101709
101717
|
"inheritedFrom": {
|
|
101710
|
-
"name": "
|
|
101711
|
-
"module": "core/mixins/
|
|
101718
|
+
"name": "SbbFormAssociatedMixin",
|
|
101719
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101712
101720
|
}
|
|
101713
101721
|
},
|
|
101714
101722
|
{
|
|
101715
|
-
"kind": "
|
|
101716
|
-
"name": "
|
|
101717
|
-
"privacy": "
|
|
101718
|
-
"
|
|
101719
|
-
|
|
101720
|
-
|
|
101721
|
-
|
|
101723
|
+
"kind": "method",
|
|
101724
|
+
"name": "_setInternalValidity",
|
|
101725
|
+
"privacy": "private",
|
|
101726
|
+
"return": {
|
|
101727
|
+
"type": {
|
|
101728
|
+
"text": "void"
|
|
101729
|
+
}
|
|
101722
101730
|
},
|
|
101723
|
-
"attribute": "disabled",
|
|
101724
|
-
"reflects": true,
|
|
101725
101731
|
"inheritedFrom": {
|
|
101726
|
-
"name": "
|
|
101727
|
-
"module": "core/mixins/
|
|
101732
|
+
"name": "SbbFormAssociatedMixin",
|
|
101733
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101728
101734
|
}
|
|
101729
101735
|
},
|
|
101730
101736
|
{
|
|
101731
101737
|
"kind": "field",
|
|
101732
|
-
"name": "
|
|
101733
|
-
"privacy": "private",
|
|
101738
|
+
"name": "role",
|
|
101734
101739
|
"type": {
|
|
101735
|
-
"text": "
|
|
101736
|
-
},
|
|
101737
|
-
"default": "false",
|
|
101738
|
-
"inheritedFrom": {
|
|
101739
|
-
"name": "SbbDisabledMixin",
|
|
101740
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
101741
|
-
}
|
|
101742
|
-
},
|
|
101743
|
-
{
|
|
101744
|
-
"kind": "method",
|
|
101745
|
-
"name": "isDisabledExternally",
|
|
101746
|
-
"privacy": "protected",
|
|
101747
|
-
"return": {
|
|
101748
|
-
"type": {
|
|
101749
|
-
"text": "boolean"
|
|
101750
|
-
}
|
|
101751
|
-
},
|
|
101752
|
-
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
101753
|
-
"inheritedFrom": {
|
|
101754
|
-
"name": "SbbDisabledMixin",
|
|
101755
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
101756
|
-
}
|
|
101757
|
-
},
|
|
101758
|
-
{
|
|
101759
|
-
"kind": "field",
|
|
101760
|
-
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
101761
|
-
"type": {
|
|
101762
|
-
"text": "array"
|
|
101763
|
-
},
|
|
101764
|
-
"privacy": "private",
|
|
101765
|
-
"readonly": true,
|
|
101766
|
-
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
101767
|
-
"inheritedFrom": {
|
|
101768
|
-
"name": "SbbButtonBaseElement",
|
|
101769
|
-
"module": "core/base-elements/button-base-element.js"
|
|
101770
|
-
}
|
|
101771
|
-
},
|
|
101772
|
-
{
|
|
101773
|
-
"kind": "field",
|
|
101774
|
-
"name": "value",
|
|
101775
|
-
"type": {
|
|
101776
|
-
"text": "string"
|
|
101777
|
-
},
|
|
101778
|
-
"privacy": "public",
|
|
101779
|
-
"inheritedFrom": {
|
|
101780
|
-
"name": "SbbButtonBaseElement",
|
|
101781
|
-
"module": "core/base-elements/button-base-element.js"
|
|
101740
|
+
"text": "ElementInternals['role']"
|
|
101782
101741
|
},
|
|
101783
|
-
"default": "''",
|
|
101784
|
-
"description": "Value of the form element.",
|
|
101785
|
-
"attribute": "value"
|
|
101786
|
-
},
|
|
101787
|
-
{
|
|
101788
|
-
"kind": "field",
|
|
101789
|
-
"name": "type",
|
|
101790
101742
|
"privacy": "public",
|
|
101791
|
-
"
|
|
101743
|
+
"static": true,
|
|
101744
|
+
"readonly": true,
|
|
101792
101745
|
"default": "'button'",
|
|
101793
|
-
"type": {
|
|
101794
|
-
"text": "SbbButtonType"
|
|
101795
|
-
},
|
|
101796
|
-
"attribute": "type",
|
|
101797
101746
|
"inheritedFrom": {
|
|
101798
|
-
"name": "
|
|
101747
|
+
"name": "SbbButtonLikeBaseElement",
|
|
101799
101748
|
"module": "core/base-elements/button-base-element.js"
|
|
101800
101749
|
}
|
|
101801
101750
|
},
|
|
101802
101751
|
{
|
|
101803
101752
|
"kind": "field",
|
|
101804
|
-
"name": "
|
|
101805
|
-
"type": {
|
|
101806
|
-
"text": "HTMLFormElement | null"
|
|
101807
|
-
},
|
|
101808
|
-
"privacy": "public",
|
|
101809
|
-
"description": "The `<form>` element to associate the button with.",
|
|
101810
|
-
"inheritedFrom": {
|
|
101811
|
-
"name": "SbbButtonBaseElement",
|
|
101812
|
-
"module": "core/base-elements/button-base-element.js"
|
|
101813
|
-
},
|
|
101814
|
-
"attribute": "form"
|
|
101815
|
-
},
|
|
101816
|
-
{
|
|
101817
|
-
"kind": "field",
|
|
101818
|
-
"name": "_formId",
|
|
101819
|
-
"type": {
|
|
101820
|
-
"text": "string"
|
|
101821
|
-
},
|
|
101753
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
101822
101754
|
"privacy": "private",
|
|
101823
|
-
"
|
|
101755
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
101756
|
+
"parameters": [
|
|
101757
|
+
{
|
|
101758
|
+
"description": "The origin event.",
|
|
101759
|
+
"name": "event"
|
|
101760
|
+
}
|
|
101761
|
+
],
|
|
101824
101762
|
"inheritedFrom": {
|
|
101825
|
-
"name": "
|
|
101763
|
+
"name": "SbbButtonLikeBaseElement",
|
|
101826
101764
|
"module": "core/base-elements/button-base-element.js"
|
|
101827
101765
|
}
|
|
101828
101766
|
},
|
|
101829
101767
|
{
|
|
101830
101768
|
"kind": "field",
|
|
101831
|
-
"name": "
|
|
101769
|
+
"name": "_removeActiveMarker",
|
|
101832
101770
|
"privacy": "private",
|
|
101833
101771
|
"inheritedFrom": {
|
|
101834
|
-
"name": "
|
|
101772
|
+
"name": "SbbButtonLikeBaseElement",
|
|
101835
101773
|
"module": "core/base-elements/button-base-element.js"
|
|
101836
101774
|
}
|
|
101837
101775
|
},
|
|
101838
101776
|
{
|
|
101839
|
-
"kind": "
|
|
101840
|
-
"name": "
|
|
101777
|
+
"kind": "field",
|
|
101778
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
101841
101779
|
"privacy": "private",
|
|
101842
|
-
"
|
|
101843
|
-
"type": {
|
|
101844
|
-
"text": "void"
|
|
101845
|
-
}
|
|
101846
|
-
},
|
|
101780
|
+
"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.",
|
|
101847
101781
|
"parameters": [
|
|
101848
101782
|
{
|
|
101849
|
-
"
|
|
101850
|
-
"
|
|
101851
|
-
"text": "HTMLFormElement"
|
|
101852
|
-
}
|
|
101783
|
+
"description": "The origin event.",
|
|
101784
|
+
"name": "event"
|
|
101853
101785
|
}
|
|
101854
101786
|
],
|
|
101855
101787
|
"inheritedFrom": {
|
|
101856
|
-
"name": "
|
|
101788
|
+
"name": "SbbButtonLikeBaseElement",
|
|
101857
101789
|
"module": "core/base-elements/button-base-element.js"
|
|
101858
101790
|
}
|
|
101859
101791
|
},
|
|
101860
101792
|
{
|
|
101861
101793
|
"kind": "field",
|
|
101862
|
-
"name": "
|
|
101794
|
+
"name": "_dispatchClickEvent",
|
|
101863
101795
|
"privacy": "private",
|
|
101864
101796
|
"inheritedFrom": {
|
|
101865
|
-
"name": "
|
|
101797
|
+
"name": "SbbButtonLikeBaseElement",
|
|
101866
101798
|
"module": "core/base-elements/button-base-element.js"
|
|
101867
101799
|
}
|
|
101868
101800
|
},
|
|
101869
101801
|
{
|
|
101870
101802
|
"kind": "field",
|
|
101871
|
-
"name": "
|
|
101872
|
-
"type": {
|
|
101873
|
-
"text": "boolean"
|
|
101874
|
-
},
|
|
101875
|
-
"privacy": "public",
|
|
101876
|
-
"static": true,
|
|
101877
|
-
"default": "true",
|
|
101878
|
-
"inheritedFrom": {
|
|
101879
|
-
"name": "SbbFormAssociatedMixin",
|
|
101880
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
101881
|
-
}
|
|
101882
|
-
},
|
|
101883
|
-
{
|
|
101884
|
-
"kind": "field",
|
|
101885
|
-
"name": "name",
|
|
101886
|
-
"privacy": "public",
|
|
101887
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
101803
|
+
"name": "maybeDisabled",
|
|
101888
101804
|
"type": {
|
|
101889
|
-
"text": "
|
|
101805
|
+
"text": "boolean | undefined"
|
|
101890
101806
|
},
|
|
101891
|
-
"
|
|
101807
|
+
"privacy": "protected",
|
|
101808
|
+
"readonly": true,
|
|
101892
101809
|
"inheritedFrom": {
|
|
101893
|
-
"name": "
|
|
101894
|
-
"module": "core/
|
|
101810
|
+
"name": "SbbActionBaseElement",
|
|
101811
|
+
"module": "core/base-elements/action-base-element.js"
|
|
101895
101812
|
}
|
|
101896
101813
|
},
|
|
101897
101814
|
{
|
|
101898
101815
|
"kind": "field",
|
|
101899
|
-
"name": "
|
|
101816
|
+
"name": "maybeDisabledInteractive",
|
|
101900
101817
|
"type": {
|
|
101901
|
-
"text": "
|
|
101818
|
+
"text": "boolean | undefined"
|
|
101902
101819
|
},
|
|
101903
|
-
"privacy": "
|
|
101904
|
-
"description": "Returns the ValidityState object for this element.",
|
|
101820
|
+
"privacy": "protected",
|
|
101905
101821
|
"readonly": true,
|
|
101906
101822
|
"inheritedFrom": {
|
|
101907
|
-
"name": "
|
|
101908
|
-
"module": "core/
|
|
101823
|
+
"name": "SbbActionBaseElement",
|
|
101824
|
+
"module": "core/base-elements/action-base-element.js"
|
|
101909
101825
|
}
|
|
101910
101826
|
},
|
|
101911
101827
|
{
|
|
101912
|
-
"kind": "
|
|
101913
|
-
"name": "
|
|
101914
|
-
"
|
|
101915
|
-
|
|
101828
|
+
"kind": "method",
|
|
101829
|
+
"name": "setupBaseEventHandlers",
|
|
101830
|
+
"privacy": "protected",
|
|
101831
|
+
"return": {
|
|
101832
|
+
"type": {
|
|
101833
|
+
"text": "void"
|
|
101834
|
+
}
|
|
101916
101835
|
},
|
|
101917
|
-
"privacy": "public",
|
|
101918
|
-
"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.",
|
|
101919
|
-
"readonly": true,
|
|
101920
101836
|
"inheritedFrom": {
|
|
101921
|
-
"name": "
|
|
101922
|
-
"module": "core/
|
|
101837
|
+
"name": "SbbActionBaseElement",
|
|
101838
|
+
"module": "core/base-elements/action-base-element.js"
|
|
101923
101839
|
}
|
|
101924
101840
|
},
|
|
101925
101841
|
{
|
|
101926
101842
|
"kind": "field",
|
|
101927
|
-
"name": "
|
|
101843
|
+
"name": "_hydrationRequired",
|
|
101928
101844
|
"type": {
|
|
101929
101845
|
"text": "boolean"
|
|
101930
101846
|
},
|
|
101931
|
-
"privacy": "
|
|
101932
|
-
"
|
|
101933
|
-
"readonly": true,
|
|
101847
|
+
"privacy": "private",
|
|
101848
|
+
"default": "!!this.shadowRoot",
|
|
101934
101849
|
"inheritedFrom": {
|
|
101935
|
-
"name": "
|
|
101936
|
-
"module": "core/
|
|
101850
|
+
"name": "SbbElement",
|
|
101851
|
+
"module": "core/base-elements/element.js"
|
|
101937
101852
|
}
|
|
101938
101853
|
},
|
|
101939
101854
|
{
|
|
101940
101855
|
"kind": "field",
|
|
101941
|
-
"name": "
|
|
101856
|
+
"name": "_hydrationComplete",
|
|
101942
101857
|
"privacy": "private",
|
|
101943
|
-
"default": "new
|
|
101858
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
101944
101859
|
"inheritedFrom": {
|
|
101945
|
-
"name": "
|
|
101946
|
-
"module": "core/
|
|
101860
|
+
"name": "SbbElement",
|
|
101861
|
+
"module": "core/base-elements/element.js"
|
|
101947
101862
|
}
|
|
101948
101863
|
},
|
|
101949
101864
|
{
|
|
101950
101865
|
"kind": "field",
|
|
101951
|
-
"name": "
|
|
101866
|
+
"name": "_resolveHydration",
|
|
101952
101867
|
"type": {
|
|
101953
|
-
"text": "boolean"
|
|
101868
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
101954
101869
|
},
|
|
101955
|
-
"privacy": "
|
|
101956
|
-
"default": "false",
|
|
101957
|
-
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
101870
|
+
"privacy": "private",
|
|
101958
101871
|
"inheritedFrom": {
|
|
101959
|
-
"name": "
|
|
101960
|
-
"module": "core/
|
|
101872
|
+
"name": "SbbElement",
|
|
101873
|
+
"module": "core/base-elements/element.js"
|
|
101961
101874
|
}
|
|
101962
101875
|
},
|
|
101963
101876
|
{
|
|
101964
|
-
"kind": "
|
|
101965
|
-
"name": "
|
|
101966
|
-
"
|
|
101967
|
-
|
|
101968
|
-
"type": {
|
|
101969
|
-
"text": "boolean"
|
|
101970
|
-
}
|
|
101877
|
+
"kind": "field",
|
|
101878
|
+
"name": "hydrationRequired",
|
|
101879
|
+
"type": {
|
|
101880
|
+
"text": "boolean"
|
|
101971
101881
|
},
|
|
101972
|
-
"
|
|
101882
|
+
"privacy": "protected",
|
|
101883
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
101884
|
+
"readonly": true,
|
|
101973
101885
|
"inheritedFrom": {
|
|
101974
|
-
"name": "
|
|
101975
|
-
"module": "core/
|
|
101976
|
-
}
|
|
101977
|
-
},
|
|
101978
|
-
{
|
|
101979
|
-
"kind": "method",
|
|
101980
|
-
"name": "reportValidity",
|
|
101981
|
-
"privacy": "public",
|
|
101982
|
-
"return": {
|
|
101983
|
-
"type": {
|
|
101984
|
-
"text": "boolean"
|
|
101985
|
-
}
|
|
101886
|
+
"name": "SbbElement",
|
|
101887
|
+
"module": "core/base-elements/element.js"
|
|
101986
101888
|
},
|
|
101987
|
-
"
|
|
101988
|
-
"inheritedFrom": {
|
|
101989
|
-
"name": "SbbFormAssociatedMixin",
|
|
101990
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
101991
|
-
}
|
|
101889
|
+
"default": "!!this.shadowRoot"
|
|
101992
101890
|
},
|
|
101993
101891
|
{
|
|
101994
101892
|
"kind": "method",
|
|
101995
|
-
"name": "
|
|
101996
|
-
"privacy": "
|
|
101893
|
+
"name": "toggleState",
|
|
101894
|
+
"privacy": "protected",
|
|
101997
101895
|
"return": {
|
|
101998
101896
|
"type": {
|
|
101999
101897
|
"text": "void"
|
|
@@ -102001,235 +101899,400 @@
|
|
|
102001
101899
|
},
|
|
102002
101900
|
"parameters": [
|
|
102003
101901
|
{
|
|
102004
|
-
"name": "
|
|
101902
|
+
"name": "value",
|
|
102005
101903
|
"type": {
|
|
102006
101904
|
"text": "string"
|
|
102007
101905
|
}
|
|
101906
|
+
},
|
|
101907
|
+
{
|
|
101908
|
+
"name": "force",
|
|
101909
|
+
"optional": true,
|
|
101910
|
+
"type": {
|
|
101911
|
+
"text": "boolean"
|
|
101912
|
+
}
|
|
102008
101913
|
}
|
|
102009
101914
|
],
|
|
102010
|
-
"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.",
|
|
102011
101915
|
"inheritedFrom": {
|
|
102012
|
-
"name": "
|
|
102013
|
-
"module": "core/
|
|
101916
|
+
"name": "SbbElement",
|
|
101917
|
+
"module": "core/base-elements/element.js"
|
|
102014
101918
|
}
|
|
102015
101919
|
},
|
|
102016
101920
|
{
|
|
102017
|
-
"kind": "
|
|
102018
|
-
"name": "
|
|
102019
|
-
"
|
|
102020
|
-
|
|
102021
|
-
"type": {
|
|
102022
|
-
"text": "boolean"
|
|
102023
|
-
}
|
|
101921
|
+
"kind": "field",
|
|
101922
|
+
"name": "['_$sbbElement$']",
|
|
101923
|
+
"type": {
|
|
101924
|
+
"text": "boolean"
|
|
102024
101925
|
},
|
|
101926
|
+
"privacy": "public",
|
|
101927
|
+
"static": true,
|
|
101928
|
+
"default": "true",
|
|
102025
101929
|
"inheritedFrom": {
|
|
102026
|
-
"name": "
|
|
102027
|
-
"module": "core/
|
|
101930
|
+
"name": "SbbElement",
|
|
101931
|
+
"module": "core/base-elements/element.js"
|
|
102028
101932
|
}
|
|
102029
101933
|
},
|
|
102030
101934
|
{
|
|
102031
|
-
"kind": "
|
|
102032
|
-
"name": "
|
|
102033
|
-
"
|
|
102034
|
-
|
|
102035
|
-
"type": {
|
|
102036
|
-
"text": "void"
|
|
102037
|
-
}
|
|
101935
|
+
"kind": "field",
|
|
101936
|
+
"name": "_controllers",
|
|
101937
|
+
"type": {
|
|
101938
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
102038
101939
|
},
|
|
102039
|
-
"
|
|
101940
|
+
"privacy": "private",
|
|
102040
101941
|
"inheritedFrom": {
|
|
102041
|
-
"name": "
|
|
102042
|
-
"module": "core/
|
|
101942
|
+
"name": "SbbElement",
|
|
101943
|
+
"module": "core/base-elements/element.js"
|
|
102043
101944
|
}
|
|
102044
|
-
}
|
|
101945
|
+
}
|
|
101946
|
+
],
|
|
101947
|
+
"mixins": [
|
|
102045
101948
|
{
|
|
102046
|
-
"
|
|
102047
|
-
"
|
|
102048
|
-
"privacy": "protected",
|
|
102049
|
-
"return": {
|
|
102050
|
-
"type": {
|
|
102051
|
-
"text": "FormRestoreState"
|
|
102052
|
-
}
|
|
102053
|
-
},
|
|
102054
|
-
"inheritedFrom": {
|
|
102055
|
-
"name": "SbbFormAssociatedMixin",
|
|
102056
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
102057
|
-
}
|
|
101949
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
101950
|
+
"module": "link/common/block-link-common.js"
|
|
102058
101951
|
},
|
|
102059
101952
|
{
|
|
102060
|
-
"
|
|
102061
|
-
"
|
|
102062
|
-
|
|
102063
|
-
|
|
102064
|
-
|
|
102065
|
-
|
|
102066
|
-
|
|
101953
|
+
"name": "SbbDisabledTabIndexActionMixin",
|
|
101954
|
+
"module": "core/mixins.js"
|
|
101955
|
+
}
|
|
101956
|
+
],
|
|
101957
|
+
"superclass": {
|
|
101958
|
+
"name": "SbbButtonBaseElement",
|
|
101959
|
+
"module": "core/base-elements.js"
|
|
101960
|
+
},
|
|
101961
|
+
"tagName": "sbb-block-link-button",
|
|
101962
|
+
"customElement": true,
|
|
101963
|
+
"attributes": [
|
|
101964
|
+
{
|
|
101965
|
+
"name": "icon-placement",
|
|
101966
|
+
"type": {
|
|
101967
|
+
"text": "SbbIconPlacement"
|
|
102067
101968
|
},
|
|
102068
|
-
"
|
|
102069
|
-
|
|
102070
|
-
|
|
102071
|
-
"type": {
|
|
102072
|
-
"text": "T"
|
|
102073
|
-
}
|
|
102074
|
-
},
|
|
102075
|
-
{
|
|
102076
|
-
"name": "message",
|
|
102077
|
-
"type": {
|
|
102078
|
-
"text": "string"
|
|
102079
|
-
}
|
|
102080
|
-
},
|
|
102081
|
-
{
|
|
102082
|
-
"name": "flagValue",
|
|
102083
|
-
"optional": true,
|
|
102084
|
-
"type": {
|
|
102085
|
-
"text": "ValidityStateFlags[T]"
|
|
102086
|
-
}
|
|
102087
|
-
}
|
|
102088
|
-
],
|
|
102089
|
-
"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).",
|
|
101969
|
+
"default": "'start'",
|
|
101970
|
+
"description": "Moves the icon to the end of the component if set to true.",
|
|
101971
|
+
"fieldName": "iconPlacement",
|
|
102090
101972
|
"inheritedFrom": {
|
|
102091
|
-
"name": "
|
|
102092
|
-
"module": "
|
|
101973
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
101974
|
+
"module": "link/common/block-link-common.js"
|
|
102093
101975
|
}
|
|
102094
101976
|
},
|
|
102095
101977
|
{
|
|
102096
|
-
"
|
|
102097
|
-
"
|
|
102098
|
-
|
|
102099
|
-
"return": {
|
|
102100
|
-
"type": {
|
|
102101
|
-
"text": "void"
|
|
102102
|
-
}
|
|
101978
|
+
"name": "size",
|
|
101979
|
+
"type": {
|
|
101980
|
+
"text": "SbbLinkSize"
|
|
102103
101981
|
},
|
|
102104
|
-
"
|
|
102105
|
-
|
|
102106
|
-
|
|
102107
|
-
"type": {
|
|
102108
|
-
"text": "T"
|
|
102109
|
-
}
|
|
102110
|
-
}
|
|
102111
|
-
],
|
|
102112
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
101982
|
+
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
101983
|
+
"default": "'s' / 'xs' (lean)",
|
|
101984
|
+
"fieldName": "size",
|
|
102113
101985
|
"inheritedFrom": {
|
|
102114
|
-
"name": "
|
|
102115
|
-
"module": "
|
|
101986
|
+
"name": "SbbLinkCommonElementMixin",
|
|
101987
|
+
"module": "link/common/link-common.js"
|
|
102116
101988
|
}
|
|
102117
101989
|
},
|
|
102118
101990
|
{
|
|
102119
|
-
"
|
|
102120
|
-
"
|
|
102121
|
-
|
|
102122
|
-
"return": {
|
|
102123
|
-
"type": {
|
|
102124
|
-
"text": "void"
|
|
102125
|
-
}
|
|
101991
|
+
"name": "icon-name",
|
|
101992
|
+
"type": {
|
|
101993
|
+
"text": "string"
|
|
102126
101994
|
},
|
|
102127
|
-
"
|
|
101995
|
+
"default": "''",
|
|
101996
|
+
"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.",
|
|
101997
|
+
"fieldName": "iconName",
|
|
102128
101998
|
"inheritedFrom": {
|
|
102129
|
-
"name": "
|
|
102130
|
-
"module": "
|
|
101999
|
+
"name": "SbbIconNameMixin",
|
|
102000
|
+
"module": "icon/icon-name-mixin.js"
|
|
102131
102001
|
}
|
|
102132
102002
|
},
|
|
102133
102003
|
{
|
|
102134
|
-
"
|
|
102135
|
-
"
|
|
102136
|
-
|
|
102137
|
-
"return": {
|
|
102138
|
-
"type": {
|
|
102139
|
-
"text": "boolean"
|
|
102140
|
-
}
|
|
102004
|
+
"name": "disabled-interactive",
|
|
102005
|
+
"type": {
|
|
102006
|
+
"text": "boolean"
|
|
102141
102007
|
},
|
|
102142
|
-
"
|
|
102143
|
-
|
|
102144
|
-
|
|
102145
|
-
"type": {
|
|
102146
|
-
"text": "PropertyKey | undefined"
|
|
102147
|
-
}
|
|
102148
|
-
}
|
|
102149
|
-
],
|
|
102150
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
102008
|
+
"default": "false",
|
|
102009
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
102010
|
+
"fieldName": "disabledInteractive",
|
|
102151
102011
|
"inheritedFrom": {
|
|
102152
|
-
"name": "
|
|
102153
|
-
"module": "core/mixins/
|
|
102012
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
102013
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
102154
102014
|
}
|
|
102155
102015
|
},
|
|
102156
102016
|
{
|
|
102157
|
-
"
|
|
102158
|
-
"
|
|
102159
|
-
"
|
|
102160
|
-
"
|
|
102161
|
-
"
|
|
102162
|
-
"text": "void"
|
|
102163
|
-
}
|
|
102017
|
+
"name": "disabled",
|
|
102018
|
+
"description": "Whether the component is disabled.",
|
|
102019
|
+
"default": "false",
|
|
102020
|
+
"type": {
|
|
102021
|
+
"text": "boolean"
|
|
102164
102022
|
},
|
|
102023
|
+
"fieldName": "disabled",
|
|
102165
102024
|
"inheritedFrom": {
|
|
102166
|
-
"name": "
|
|
102167
|
-
"module": "core/mixins/
|
|
102025
|
+
"name": "SbbDisabledMixin",
|
|
102026
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
102168
102027
|
}
|
|
102169
102028
|
},
|
|
102170
102029
|
{
|
|
102171
|
-
"
|
|
102172
|
-
"name": "role",
|
|
102030
|
+
"name": "value",
|
|
102173
102031
|
"type": {
|
|
102174
|
-
"text": "
|
|
102032
|
+
"text": "string"
|
|
102175
102033
|
},
|
|
102176
|
-
"
|
|
102177
|
-
"
|
|
102178
|
-
"
|
|
102179
|
-
"default": "'button'",
|
|
102034
|
+
"default": "''",
|
|
102035
|
+
"description": "Value of the form element.",
|
|
102036
|
+
"fieldName": "value",
|
|
102180
102037
|
"inheritedFrom": {
|
|
102181
|
-
"name": "
|
|
102038
|
+
"name": "SbbButtonBaseElement",
|
|
102182
102039
|
"module": "core/base-elements/button-base-element.js"
|
|
102183
102040
|
}
|
|
102184
102041
|
},
|
|
102185
102042
|
{
|
|
102186
|
-
"
|
|
102187
|
-
"
|
|
102188
|
-
"
|
|
102189
|
-
"
|
|
102190
|
-
|
|
102191
|
-
|
|
102192
|
-
|
|
102193
|
-
"name": "event"
|
|
102194
|
-
}
|
|
102195
|
-
],
|
|
102043
|
+
"name": "type",
|
|
102044
|
+
"description": "The type attribute to use for the button.",
|
|
102045
|
+
"default": "'button'",
|
|
102046
|
+
"type": {
|
|
102047
|
+
"text": "SbbButtonType"
|
|
102048
|
+
},
|
|
102049
|
+
"fieldName": "type",
|
|
102196
102050
|
"inheritedFrom": {
|
|
102197
|
-
"name": "
|
|
102051
|
+
"name": "SbbButtonBaseElement",
|
|
102198
102052
|
"module": "core/base-elements/button-base-element.js"
|
|
102199
102053
|
}
|
|
102200
102054
|
},
|
|
102201
102055
|
{
|
|
102202
|
-
"
|
|
102203
|
-
"
|
|
102204
|
-
"
|
|
102056
|
+
"name": "form",
|
|
102057
|
+
"description": "The `<form>` element to associate the button with.",
|
|
102058
|
+
"type": {
|
|
102059
|
+
"text": "HTMLFormElement | null"
|
|
102060
|
+
},
|
|
102061
|
+
"fieldName": "form",
|
|
102205
102062
|
"inheritedFrom": {
|
|
102206
|
-
"name": "
|
|
102063
|
+
"name": "SbbButtonBaseElement",
|
|
102207
102064
|
"module": "core/base-elements/button-base-element.js"
|
|
102208
102065
|
}
|
|
102209
102066
|
},
|
|
102210
102067
|
{
|
|
102211
|
-
"
|
|
102212
|
-
"
|
|
102213
|
-
"
|
|
102214
|
-
|
|
102215
|
-
|
|
102216
|
-
|
|
102217
|
-
"description": "The origin event.",
|
|
102218
|
-
"name": "event"
|
|
102219
|
-
}
|
|
102220
|
-
],
|
|
102068
|
+
"name": "name",
|
|
102069
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
102070
|
+
"type": {
|
|
102071
|
+
"text": "string"
|
|
102072
|
+
},
|
|
102073
|
+
"fieldName": "name",
|
|
102221
102074
|
"inheritedFrom": {
|
|
102222
|
-
"name": "
|
|
102223
|
-
"module": "core/
|
|
102224
|
-
}
|
|
102075
|
+
"name": "SbbFormAssociatedMixin",
|
|
102076
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102077
|
+
}
|
|
102078
|
+
}
|
|
102079
|
+
]
|
|
102080
|
+
}
|
|
102081
|
+
],
|
|
102082
|
+
"exports": [
|
|
102083
|
+
{
|
|
102084
|
+
"kind": "js",
|
|
102085
|
+
"name": "SbbBlockLinkButtonElement",
|
|
102086
|
+
"declaration": {
|
|
102087
|
+
"name": "SbbBlockLinkButtonElement",
|
|
102088
|
+
"module": "link/block-link-button/block-link-button.component.js"
|
|
102089
|
+
}
|
|
102090
|
+
}
|
|
102091
|
+
]
|
|
102092
|
+
},
|
|
102093
|
+
{
|
|
102094
|
+
"kind": "javascript-module",
|
|
102095
|
+
"path": "link/block-link-static/block-link-static.component.js",
|
|
102096
|
+
"declarations": [
|
|
102097
|
+
{
|
|
102098
|
+
"kind": "class",
|
|
102099
|
+
"description": "It displays a static link enhanced with the SBB Design.",
|
|
102100
|
+
"name": "SbbBlockLinkStaticElement",
|
|
102101
|
+
"slots": [
|
|
102102
|
+
{
|
|
102103
|
+
"description": "Use the unnamed slot to add content to the `sbb-block-link-static`.",
|
|
102104
|
+
"name": ""
|
|
102105
|
+
},
|
|
102106
|
+
{
|
|
102107
|
+
"description": "Slot used to display the icon, if one is set.",
|
|
102108
|
+
"name": "icon"
|
|
102109
|
+
}
|
|
102110
|
+
],
|
|
102111
|
+
"members": [
|
|
102112
|
+
{
|
|
102113
|
+
"kind": "field",
|
|
102114
|
+
"name": "elementName",
|
|
102115
|
+
"type": {
|
|
102116
|
+
"text": "string"
|
|
102117
|
+
},
|
|
102118
|
+
"privacy": "public",
|
|
102119
|
+
"static": true,
|
|
102120
|
+
"readonly": true,
|
|
102121
|
+
"inheritedFrom": {
|
|
102122
|
+
"name": "SbbElement",
|
|
102123
|
+
"module": "core/base-elements/element.js"
|
|
102124
|
+
},
|
|
102125
|
+
"default": "'sbb-block-link-static'"
|
|
102225
102126
|
},
|
|
102226
102127
|
{
|
|
102227
102128
|
"kind": "field",
|
|
102228
|
-
"name": "
|
|
102129
|
+
"name": "styles",
|
|
102130
|
+
"type": {
|
|
102131
|
+
"text": "CSSResultGroup"
|
|
102132
|
+
},
|
|
102133
|
+
"privacy": "public",
|
|
102134
|
+
"static": true,
|
|
102135
|
+
"default": "[super.styles, unsafeCSS(blockStyle)]",
|
|
102136
|
+
"inheritedFrom": {
|
|
102137
|
+
"name": "SbbLinkCommonElementMixin",
|
|
102138
|
+
"module": "link/common/link-common.js"
|
|
102139
|
+
}
|
|
102140
|
+
},
|
|
102141
|
+
{
|
|
102142
|
+
"kind": "field",
|
|
102143
|
+
"name": "iconPlacement",
|
|
102144
|
+
"type": {
|
|
102145
|
+
"text": "SbbIconPlacement"
|
|
102146
|
+
},
|
|
102147
|
+
"privacy": "public",
|
|
102148
|
+
"default": "'start'",
|
|
102149
|
+
"description": "Moves the icon to the end of the component if set to true.",
|
|
102150
|
+
"attribute": "icon-placement",
|
|
102151
|
+
"reflects": true,
|
|
102152
|
+
"inheritedFrom": {
|
|
102153
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
102154
|
+
"module": "link/common/block-link-common.js"
|
|
102155
|
+
}
|
|
102156
|
+
},
|
|
102157
|
+
{
|
|
102158
|
+
"kind": "method",
|
|
102159
|
+
"name": "renderTemplate",
|
|
102160
|
+
"privacy": "protected",
|
|
102161
|
+
"return": {
|
|
102162
|
+
"type": {
|
|
102163
|
+
"text": "TemplateResult"
|
|
102164
|
+
}
|
|
102165
|
+
},
|
|
102166
|
+
"description": "Override this method to render the component template.",
|
|
102167
|
+
"inheritedFrom": {
|
|
102168
|
+
"name": "SbbActionBaseElement",
|
|
102169
|
+
"module": "core/base-elements/action-base-element.js"
|
|
102170
|
+
}
|
|
102171
|
+
},
|
|
102172
|
+
{
|
|
102173
|
+
"kind": "field",
|
|
102174
|
+
"name": "size",
|
|
102175
|
+
"type": {
|
|
102176
|
+
"text": "SbbLinkSize"
|
|
102177
|
+
},
|
|
102178
|
+
"privacy": "public",
|
|
102179
|
+
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
102180
|
+
"default": "'s' / 'xs' (lean)",
|
|
102181
|
+
"attribute": "size",
|
|
102182
|
+
"reflects": true,
|
|
102183
|
+
"inheritedFrom": {
|
|
102184
|
+
"name": "SbbLinkCommonElementMixin",
|
|
102185
|
+
"module": "link/common/link-common.js"
|
|
102186
|
+
}
|
|
102187
|
+
},
|
|
102188
|
+
{
|
|
102189
|
+
"kind": "field",
|
|
102190
|
+
"name": "iconName",
|
|
102191
|
+
"type": {
|
|
102192
|
+
"text": "string"
|
|
102193
|
+
},
|
|
102194
|
+
"privacy": "public",
|
|
102195
|
+
"default": "''",
|
|
102196
|
+
"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.",
|
|
102197
|
+
"attribute": "icon-name",
|
|
102198
|
+
"inheritedFrom": {
|
|
102199
|
+
"name": "SbbIconNameMixin",
|
|
102200
|
+
"module": "icon/icon-name-mixin.js"
|
|
102201
|
+
}
|
|
102202
|
+
},
|
|
102203
|
+
{
|
|
102204
|
+
"kind": "method",
|
|
102205
|
+
"name": "renderIconSlot",
|
|
102206
|
+
"privacy": "protected",
|
|
102207
|
+
"return": {
|
|
102208
|
+
"type": {
|
|
102209
|
+
"text": "TemplateResult"
|
|
102210
|
+
}
|
|
102211
|
+
},
|
|
102212
|
+
"parameters": [
|
|
102213
|
+
{
|
|
102214
|
+
"name": "classname",
|
|
102215
|
+
"optional": true,
|
|
102216
|
+
"type": {
|
|
102217
|
+
"text": "string"
|
|
102218
|
+
}
|
|
102219
|
+
}
|
|
102220
|
+
],
|
|
102221
|
+
"inheritedFrom": {
|
|
102222
|
+
"name": "SbbIconNameMixin",
|
|
102223
|
+
"module": "icon/icon-name-mixin.js"
|
|
102224
|
+
}
|
|
102225
|
+
},
|
|
102226
|
+
{
|
|
102227
|
+
"kind": "method",
|
|
102228
|
+
"name": "renderIconName",
|
|
102229
|
+
"privacy": "protected",
|
|
102230
|
+
"return": {
|
|
102231
|
+
"type": {
|
|
102232
|
+
"text": "string"
|
|
102233
|
+
}
|
|
102234
|
+
},
|
|
102235
|
+
"inheritedFrom": {
|
|
102236
|
+
"name": "SbbIconNameMixin",
|
|
102237
|
+
"module": "icon/icon-name-mixin.js"
|
|
102238
|
+
}
|
|
102239
|
+
},
|
|
102240
|
+
{
|
|
102241
|
+
"kind": "method",
|
|
102242
|
+
"name": "_renderIconName",
|
|
102229
102243
|
"privacy": "private",
|
|
102244
|
+
"return": {
|
|
102245
|
+
"type": {
|
|
102246
|
+
"text": "string"
|
|
102247
|
+
}
|
|
102248
|
+
},
|
|
102230
102249
|
"inheritedFrom": {
|
|
102231
|
-
"name": "
|
|
102232
|
-
"module": "
|
|
102250
|
+
"name": "SbbIconNameMixin",
|
|
102251
|
+
"module": "icon/icon-name-mixin.js"
|
|
102252
|
+
}
|
|
102253
|
+
},
|
|
102254
|
+
{
|
|
102255
|
+
"kind": "field",
|
|
102256
|
+
"name": "disabled",
|
|
102257
|
+
"privacy": "public",
|
|
102258
|
+
"description": "Whether the component is disabled.",
|
|
102259
|
+
"default": "false",
|
|
102260
|
+
"type": {
|
|
102261
|
+
"text": "boolean"
|
|
102262
|
+
},
|
|
102263
|
+
"attribute": "disabled",
|
|
102264
|
+
"reflects": true,
|
|
102265
|
+
"inheritedFrom": {
|
|
102266
|
+
"name": "SbbDisabledMixin",
|
|
102267
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
102268
|
+
}
|
|
102269
|
+
},
|
|
102270
|
+
{
|
|
102271
|
+
"kind": "field",
|
|
102272
|
+
"name": "#disabled",
|
|
102273
|
+
"privacy": "private",
|
|
102274
|
+
"type": {
|
|
102275
|
+
"text": "boolean"
|
|
102276
|
+
},
|
|
102277
|
+
"default": "false",
|
|
102278
|
+
"inheritedFrom": {
|
|
102279
|
+
"name": "SbbDisabledMixin",
|
|
102280
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
102281
|
+
}
|
|
102282
|
+
},
|
|
102283
|
+
{
|
|
102284
|
+
"kind": "method",
|
|
102285
|
+
"name": "isDisabledExternally",
|
|
102286
|
+
"privacy": "protected",
|
|
102287
|
+
"return": {
|
|
102288
|
+
"type": {
|
|
102289
|
+
"text": "boolean"
|
|
102290
|
+
}
|
|
102291
|
+
},
|
|
102292
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
102293
|
+
"inheritedFrom": {
|
|
102294
|
+
"name": "SbbDisabledMixin",
|
|
102295
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
102233
102296
|
}
|
|
102234
102297
|
},
|
|
102235
102298
|
{
|
|
@@ -102384,15 +102447,15 @@
|
|
|
102384
102447
|
"module": "link/common/block-link-common.js"
|
|
102385
102448
|
},
|
|
102386
102449
|
{
|
|
102387
|
-
"name": "
|
|
102450
|
+
"name": "SbbDisabledMixin",
|
|
102388
102451
|
"module": "core/mixins.js"
|
|
102389
102452
|
}
|
|
102390
102453
|
],
|
|
102391
102454
|
"superclass": {
|
|
102392
|
-
"name": "
|
|
102455
|
+
"name": "SbbActionBaseElement",
|
|
102393
102456
|
"module": "core/base-elements.js"
|
|
102394
102457
|
},
|
|
102395
|
-
"tagName": "sbb-block-link-
|
|
102458
|
+
"tagName": "sbb-block-link-static",
|
|
102396
102459
|
"customElement": true,
|
|
102397
102460
|
"attributes": [
|
|
102398
102461
|
{
|
|
@@ -102434,19 +102497,6 @@
|
|
|
102434
102497
|
"module": "icon/icon-name-mixin.js"
|
|
102435
102498
|
}
|
|
102436
102499
|
},
|
|
102437
|
-
{
|
|
102438
|
-
"name": "disabled-interactive",
|
|
102439
|
-
"type": {
|
|
102440
|
-
"text": "boolean"
|
|
102441
|
-
},
|
|
102442
|
-
"default": "false",
|
|
102443
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
102444
|
-
"fieldName": "disabledInteractive",
|
|
102445
|
-
"inheritedFrom": {
|
|
102446
|
-
"name": "SbbDisabledInteractiveMixin",
|
|
102447
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
102448
|
-
}
|
|
102449
|
-
},
|
|
102450
102500
|
{
|
|
102451
102501
|
"name": "disabled",
|
|
102452
102502
|
"description": "Whether the component is disabled.",
|
|
@@ -102459,56 +102509,6 @@
|
|
|
102459
102509
|
"name": "SbbDisabledMixin",
|
|
102460
102510
|
"module": "core/mixins/disabled-mixin.js"
|
|
102461
102511
|
}
|
|
102462
|
-
},
|
|
102463
|
-
{
|
|
102464
|
-
"name": "value",
|
|
102465
|
-
"type": {
|
|
102466
|
-
"text": "string"
|
|
102467
|
-
},
|
|
102468
|
-
"default": "''",
|
|
102469
|
-
"description": "Value of the form element.",
|
|
102470
|
-
"fieldName": "value",
|
|
102471
|
-
"inheritedFrom": {
|
|
102472
|
-
"name": "SbbButtonBaseElement",
|
|
102473
|
-
"module": "core/base-elements/button-base-element.js"
|
|
102474
|
-
}
|
|
102475
|
-
},
|
|
102476
|
-
{
|
|
102477
|
-
"name": "type",
|
|
102478
|
-
"description": "The type attribute to use for the button.",
|
|
102479
|
-
"default": "'button'",
|
|
102480
|
-
"type": {
|
|
102481
|
-
"text": "SbbButtonType"
|
|
102482
|
-
},
|
|
102483
|
-
"fieldName": "type",
|
|
102484
|
-
"inheritedFrom": {
|
|
102485
|
-
"name": "SbbButtonBaseElement",
|
|
102486
|
-
"module": "core/base-elements/button-base-element.js"
|
|
102487
|
-
}
|
|
102488
|
-
},
|
|
102489
|
-
{
|
|
102490
|
-
"name": "form",
|
|
102491
|
-
"description": "The `<form>` element to associate the button with.",
|
|
102492
|
-
"type": {
|
|
102493
|
-
"text": "HTMLFormElement | null"
|
|
102494
|
-
},
|
|
102495
|
-
"fieldName": "form",
|
|
102496
|
-
"inheritedFrom": {
|
|
102497
|
-
"name": "SbbButtonBaseElement",
|
|
102498
|
-
"module": "core/base-elements/button-base-element.js"
|
|
102499
|
-
}
|
|
102500
|
-
},
|
|
102501
|
-
{
|
|
102502
|
-
"name": "name",
|
|
102503
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
102504
|
-
"type": {
|
|
102505
|
-
"text": "string"
|
|
102506
|
-
},
|
|
102507
|
-
"fieldName": "name",
|
|
102508
|
-
"inheritedFrom": {
|
|
102509
|
-
"name": "SbbFormAssociatedMixin",
|
|
102510
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
102511
|
-
}
|
|
102512
102512
|
}
|
|
102513
102513
|
]
|
|
102514
102514
|
}
|
|
@@ -102516,10 +102516,10 @@
|
|
|
102516
102516
|
"exports": [
|
|
102517
102517
|
{
|
|
102518
102518
|
"kind": "js",
|
|
102519
|
-
"name": "
|
|
102519
|
+
"name": "SbbBlockLinkStaticElement",
|
|
102520
102520
|
"declaration": {
|
|
102521
|
-
"name": "
|
|
102522
|
-
"module": "link/block-link-
|
|
102521
|
+
"name": "SbbBlockLinkStaticElement",
|
|
102522
|
+
"module": "link/block-link-static/block-link-static.component.js"
|
|
102523
102523
|
}
|
|
102524
102524
|
}
|
|
102525
102525
|
]
|
|
@@ -107357,12 +107357,12 @@
|
|
|
107357
107357
|
},
|
|
107358
107358
|
{
|
|
107359
107359
|
"kind": "javascript-module",
|
|
107360
|
-
"path": "menu/menu-
|
|
107360
|
+
"path": "menu/menu-link/menu-link.component.js",
|
|
107361
107361
|
"declarations": [
|
|
107362
107362
|
{
|
|
107363
107363
|
"kind": "class",
|
|
107364
|
-
"description": "It displays a
|
|
107365
|
-
"name": "
|
|
107364
|
+
"description": "It displays a link element that can be used in the `sbb-menu` component.",
|
|
107365
|
+
"name": "SbbMenuLinkElement",
|
|
107366
107366
|
"cssProperties": [
|
|
107367
107367
|
{
|
|
107368
107368
|
"description": "Can be used to modify horizontal padding.",
|
|
@@ -107372,7 +107372,7 @@
|
|
|
107372
107372
|
],
|
|
107373
107373
|
"slots": [
|
|
107374
107374
|
{
|
|
107375
|
-
"description": "Use the unnamed slot to add content to the `sbb-menu-
|
|
107375
|
+
"description": "Use the unnamed slot to add content to the `sbb-menu-link`.",
|
|
107376
107376
|
"name": ""
|
|
107377
107377
|
},
|
|
107378
107378
|
{
|
|
@@ -107394,21 +107394,20 @@
|
|
|
107394
107394
|
"name": "SbbElement",
|
|
107395
107395
|
"module": "core/base-elements/element.js"
|
|
107396
107396
|
},
|
|
107397
|
-
"default": "'sbb-menu-
|
|
107397
|
+
"default": "'sbb-menu-link'"
|
|
107398
107398
|
},
|
|
107399
107399
|
{
|
|
107400
107400
|
"kind": "field",
|
|
107401
|
-
"name": "
|
|
107401
|
+
"name": "anchorRole",
|
|
107402
107402
|
"type": {
|
|
107403
|
-
"text": "
|
|
107403
|
+
"text": "string"
|
|
107404
107404
|
},
|
|
107405
|
-
"privacy": "
|
|
107406
|
-
"static": true,
|
|
107405
|
+
"privacy": "protected",
|
|
107407
107406
|
"readonly": true,
|
|
107408
107407
|
"default": "'menuitem'",
|
|
107409
107408
|
"inheritedFrom": {
|
|
107410
|
-
"name": "
|
|
107411
|
-
"module": "core/base-elements/
|
|
107409
|
+
"name": "SbbLinkBaseElement",
|
|
107410
|
+
"module": "core/base-elements/link-base-element.js"
|
|
107412
107411
|
}
|
|
107413
107412
|
},
|
|
107414
107413
|
{
|
|
@@ -107427,50 +107426,6 @@
|
|
|
107427
107426
|
"module": "core/mixins/disabled-mixin.js"
|
|
107428
107427
|
}
|
|
107429
107428
|
},
|
|
107430
|
-
{
|
|
107431
|
-
"kind": "field",
|
|
107432
|
-
"name": "disabled",
|
|
107433
|
-
"privacy": "public",
|
|
107434
|
-
"description": "Whether the component is disabled.",
|
|
107435
|
-
"default": "false",
|
|
107436
|
-
"type": {
|
|
107437
|
-
"text": "boolean"
|
|
107438
|
-
},
|
|
107439
|
-
"attribute": "disabled",
|
|
107440
|
-
"reflects": true,
|
|
107441
|
-
"inheritedFrom": {
|
|
107442
|
-
"name": "SbbDisabledMixin",
|
|
107443
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
107444
|
-
}
|
|
107445
|
-
},
|
|
107446
|
-
{
|
|
107447
|
-
"kind": "field",
|
|
107448
|
-
"name": "#disabled",
|
|
107449
|
-
"privacy": "private",
|
|
107450
|
-
"type": {
|
|
107451
|
-
"text": "boolean"
|
|
107452
|
-
},
|
|
107453
|
-
"default": "false",
|
|
107454
|
-
"inheritedFrom": {
|
|
107455
|
-
"name": "SbbDisabledMixin",
|
|
107456
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
107457
|
-
}
|
|
107458
|
-
},
|
|
107459
|
-
{
|
|
107460
|
-
"kind": "method",
|
|
107461
|
-
"name": "isDisabledExternally",
|
|
107462
|
-
"privacy": "protected",
|
|
107463
|
-
"return": {
|
|
107464
|
-
"type": {
|
|
107465
|
-
"text": "boolean"
|
|
107466
|
-
}
|
|
107467
|
-
},
|
|
107468
|
-
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
107469
|
-
"inheritedFrom": {
|
|
107470
|
-
"name": "SbbDisabledMixin",
|
|
107471
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
107472
|
-
}
|
|
107473
|
-
},
|
|
107474
107429
|
{
|
|
107475
107430
|
"kind": "field",
|
|
107476
107431
|
"name": "styles",
|
|
@@ -107568,243 +107523,277 @@
|
|
|
107568
107523
|
},
|
|
107569
107524
|
{
|
|
107570
107525
|
"kind": "field",
|
|
107571
|
-
"name": "
|
|
107526
|
+
"name": "disabled",
|
|
107527
|
+
"privacy": "public",
|
|
107528
|
+
"description": "Whether the component is disabled.",
|
|
107529
|
+
"default": "false",
|
|
107572
107530
|
"type": {
|
|
107573
|
-
"text": "
|
|
107531
|
+
"text": "boolean"
|
|
107574
107532
|
},
|
|
107533
|
+
"attribute": "disabled",
|
|
107534
|
+
"reflects": true,
|
|
107535
|
+
"inheritedFrom": {
|
|
107536
|
+
"name": "SbbDisabledMixin",
|
|
107537
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
107538
|
+
}
|
|
107539
|
+
},
|
|
107540
|
+
{
|
|
107541
|
+
"kind": "field",
|
|
107542
|
+
"name": "#disabled",
|
|
107575
107543
|
"privacy": "private",
|
|
107576
|
-
"
|
|
107577
|
-
|
|
107544
|
+
"type": {
|
|
107545
|
+
"text": "boolean"
|
|
107546
|
+
},
|
|
107547
|
+
"default": "false",
|
|
107578
107548
|
"inheritedFrom": {
|
|
107579
|
-
"name": "
|
|
107580
|
-
"module": "core/
|
|
107549
|
+
"name": "SbbDisabledMixin",
|
|
107550
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
107551
|
+
}
|
|
107552
|
+
},
|
|
107553
|
+
{
|
|
107554
|
+
"kind": "method",
|
|
107555
|
+
"name": "isDisabledExternally",
|
|
107556
|
+
"privacy": "protected",
|
|
107557
|
+
"return": {
|
|
107558
|
+
"type": {
|
|
107559
|
+
"text": "boolean"
|
|
107560
|
+
}
|
|
107561
|
+
},
|
|
107562
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
107563
|
+
"inheritedFrom": {
|
|
107564
|
+
"name": "SbbDisabledMixin",
|
|
107565
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
107581
107566
|
}
|
|
107582
107567
|
},
|
|
107583
107568
|
{
|
|
107584
107569
|
"kind": "field",
|
|
107585
|
-
"name": "
|
|
107570
|
+
"name": "href",
|
|
107586
107571
|
"type": {
|
|
107587
107572
|
"text": "string"
|
|
107588
107573
|
},
|
|
107589
107574
|
"privacy": "public",
|
|
107575
|
+
"default": "''",
|
|
107576
|
+
"description": "The href value you want to link to.",
|
|
107577
|
+
"attribute": "href",
|
|
107578
|
+
"reflects": true,
|
|
107590
107579
|
"inheritedFrom": {
|
|
107591
|
-
"name": "
|
|
107592
|
-
"module": "core/base-elements/
|
|
107580
|
+
"name": "SbbLinkBaseElement",
|
|
107581
|
+
"module": "core/base-elements/link-base-element.js"
|
|
107582
|
+
}
|
|
107583
|
+
},
|
|
107584
|
+
{
|
|
107585
|
+
"kind": "field",
|
|
107586
|
+
"name": "target",
|
|
107587
|
+
"type": {
|
|
107588
|
+
"text": "LinkTargetType | string"
|
|
107593
107589
|
},
|
|
107590
|
+
"privacy": "public",
|
|
107594
107591
|
"default": "''",
|
|
107595
|
-
"description": "
|
|
107596
|
-
"attribute": "
|
|
107592
|
+
"description": "Where to display the linked URL.",
|
|
107593
|
+
"attribute": "target",
|
|
107594
|
+
"reflects": true,
|
|
107595
|
+
"inheritedFrom": {
|
|
107596
|
+
"name": "SbbLinkBaseElement",
|
|
107597
|
+
"module": "core/base-elements/link-base-element.js"
|
|
107598
|
+
}
|
|
107597
107599
|
},
|
|
107598
107600
|
{
|
|
107599
107601
|
"kind": "field",
|
|
107600
|
-
"name": "
|
|
107601
|
-
"privacy": "public",
|
|
107602
|
-
"description": "The type attribute to use for the button.",
|
|
107603
|
-
"default": "'button'",
|
|
107602
|
+
"name": "rel",
|
|
107604
107603
|
"type": {
|
|
107605
|
-
"text": "
|
|
107604
|
+
"text": "string"
|
|
107606
107605
|
},
|
|
107607
|
-
"
|
|
107606
|
+
"privacy": "public",
|
|
107607
|
+
"default": "''",
|
|
107608
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
107609
|
+
"attribute": "rel",
|
|
107610
|
+
"reflects": true,
|
|
107608
107611
|
"inheritedFrom": {
|
|
107609
|
-
"name": "
|
|
107610
|
-
"module": "core/base-elements/
|
|
107612
|
+
"name": "SbbLinkBaseElement",
|
|
107613
|
+
"module": "core/base-elements/link-base-element.js"
|
|
107611
107614
|
}
|
|
107612
107615
|
},
|
|
107613
107616
|
{
|
|
107614
107617
|
"kind": "field",
|
|
107615
|
-
"name": "
|
|
107618
|
+
"name": "download",
|
|
107616
107619
|
"type": {
|
|
107617
|
-
"text": "
|
|
107620
|
+
"text": "boolean"
|
|
107618
107621
|
},
|
|
107619
107622
|
"privacy": "public",
|
|
107620
|
-
"
|
|
107623
|
+
"default": "false",
|
|
107624
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
107625
|
+
"attribute": "download",
|
|
107626
|
+
"reflects": true,
|
|
107621
107627
|
"inheritedFrom": {
|
|
107622
|
-
"name": "
|
|
107623
|
-
"module": "core/base-elements/
|
|
107628
|
+
"name": "SbbLinkBaseElement",
|
|
107629
|
+
"module": "core/base-elements/link-base-element.js"
|
|
107630
|
+
}
|
|
107631
|
+
},
|
|
107632
|
+
{
|
|
107633
|
+
"kind": "field",
|
|
107634
|
+
"name": "accessibilityLabel",
|
|
107635
|
+
"type": {
|
|
107636
|
+
"text": "string"
|
|
107624
107637
|
},
|
|
107625
|
-
"
|
|
107638
|
+
"privacy": "public",
|
|
107639
|
+
"default": "''",
|
|
107640
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
107641
|
+
"attribute": "accessibility-label",
|
|
107642
|
+
"inheritedFrom": {
|
|
107643
|
+
"name": "SbbLinkBaseElement",
|
|
107644
|
+
"module": "core/base-elements/link-base-element.js"
|
|
107645
|
+
}
|
|
107626
107646
|
},
|
|
107627
107647
|
{
|
|
107628
107648
|
"kind": "field",
|
|
107629
|
-
"name": "
|
|
107649
|
+
"name": "accessibilityCurrent",
|
|
107630
107650
|
"type": {
|
|
107631
107651
|
"text": "string"
|
|
107632
107652
|
},
|
|
107633
|
-
"privacy": "
|
|
107653
|
+
"privacy": "public",
|
|
107634
107654
|
"default": "''",
|
|
107655
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
107656
|
+
"attribute": "accessibility-current",
|
|
107635
107657
|
"inheritedFrom": {
|
|
107636
|
-
"name": "
|
|
107637
|
-
"module": "core/base-elements/
|
|
107658
|
+
"name": "SbbLinkBaseElement",
|
|
107659
|
+
"module": "core/base-elements/link-base-element.js"
|
|
107638
107660
|
}
|
|
107639
107661
|
},
|
|
107640
107662
|
{
|
|
107641
107663
|
"kind": "field",
|
|
107642
|
-
"name": "
|
|
107664
|
+
"name": "language",
|
|
107665
|
+
"privacy": "protected",
|
|
107666
|
+
"default": "new SbbLanguageController(this)",
|
|
107667
|
+
"inheritedFrom": {
|
|
107668
|
+
"name": "SbbLinkBaseElement",
|
|
107669
|
+
"module": "core/base-elements/link-base-element.js"
|
|
107670
|
+
}
|
|
107671
|
+
},
|
|
107672
|
+
{
|
|
107673
|
+
"kind": "field",
|
|
107674
|
+
"name": "_evaluateRelAttribute",
|
|
107643
107675
|
"privacy": "private",
|
|
107644
107676
|
"inheritedFrom": {
|
|
107645
|
-
"name": "
|
|
107646
|
-
"module": "core/base-elements/
|
|
107677
|
+
"name": "SbbLinkBaseElement",
|
|
107678
|
+
"module": "core/base-elements/link-base-element.js"
|
|
107647
107679
|
}
|
|
107648
107680
|
},
|
|
107649
107681
|
{
|
|
107650
107682
|
"kind": "method",
|
|
107651
|
-
"name": "
|
|
107652
|
-
"privacy": "
|
|
107683
|
+
"name": "renderLink",
|
|
107684
|
+
"privacy": "protected",
|
|
107653
107685
|
"return": {
|
|
107654
107686
|
"type": {
|
|
107655
|
-
"text": "
|
|
107687
|
+
"text": "TemplateResult"
|
|
107656
107688
|
}
|
|
107657
107689
|
},
|
|
107658
107690
|
"parameters": [
|
|
107659
107691
|
{
|
|
107660
|
-
"name": "
|
|
107692
|
+
"name": "renderContent",
|
|
107661
107693
|
"type": {
|
|
107662
|
-
"text": "
|
|
107694
|
+
"text": "TemplateResult"
|
|
107663
107695
|
}
|
|
107664
107696
|
}
|
|
107665
107697
|
],
|
|
107666
107698
|
"inheritedFrom": {
|
|
107667
|
-
"name": "
|
|
107668
|
-
"module": "core/base-elements/
|
|
107669
|
-
}
|
|
107670
|
-
},
|
|
107671
|
-
{
|
|
107672
|
-
"kind": "field",
|
|
107673
|
-
"name": "_formKeyDown",
|
|
107674
|
-
"privacy": "private",
|
|
107675
|
-
"inheritedFrom": {
|
|
107676
|
-
"name": "SbbButtonBaseElement",
|
|
107677
|
-
"module": "core/base-elements/button-base-element.js"
|
|
107678
|
-
}
|
|
107679
|
-
},
|
|
107680
|
-
{
|
|
107681
|
-
"kind": "field",
|
|
107682
|
-
"name": "formAssociated",
|
|
107683
|
-
"type": {
|
|
107684
|
-
"text": "boolean"
|
|
107685
|
-
},
|
|
107686
|
-
"privacy": "public",
|
|
107687
|
-
"static": true,
|
|
107688
|
-
"default": "true",
|
|
107689
|
-
"inheritedFrom": {
|
|
107690
|
-
"name": "SbbFormAssociatedMixin",
|
|
107691
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
107699
|
+
"name": "SbbLinkBaseElement",
|
|
107700
|
+
"module": "core/base-elements/link-base-element.js"
|
|
107692
107701
|
}
|
|
107693
107702
|
},
|
|
107694
107703
|
{
|
|
107695
107704
|
"kind": "field",
|
|
107696
|
-
"name": "
|
|
107697
|
-
"privacy": "public",
|
|
107698
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
107705
|
+
"name": "maybeDisabled",
|
|
107699
107706
|
"type": {
|
|
107700
|
-
"text": "
|
|
107707
|
+
"text": "boolean | undefined"
|
|
107701
107708
|
},
|
|
107702
|
-
"
|
|
107709
|
+
"privacy": "protected",
|
|
107710
|
+
"readonly": true,
|
|
107703
107711
|
"inheritedFrom": {
|
|
107704
|
-
"name": "
|
|
107705
|
-
"module": "core/
|
|
107712
|
+
"name": "SbbActionBaseElement",
|
|
107713
|
+
"module": "core/base-elements/action-base-element.js"
|
|
107706
107714
|
}
|
|
107707
107715
|
},
|
|
107708
107716
|
{
|
|
107709
107717
|
"kind": "field",
|
|
107710
|
-
"name": "
|
|
107718
|
+
"name": "maybeDisabledInteractive",
|
|
107711
107719
|
"type": {
|
|
107712
|
-
"text": "
|
|
107720
|
+
"text": "boolean | undefined"
|
|
107713
107721
|
},
|
|
107714
|
-
"privacy": "
|
|
107715
|
-
"description": "Returns the ValidityState object for this element.",
|
|
107722
|
+
"privacy": "protected",
|
|
107716
107723
|
"readonly": true,
|
|
107717
107724
|
"inheritedFrom": {
|
|
107718
|
-
"name": "
|
|
107719
|
-
"module": "core/
|
|
107725
|
+
"name": "SbbActionBaseElement",
|
|
107726
|
+
"module": "core/base-elements/action-base-element.js"
|
|
107720
107727
|
}
|
|
107721
107728
|
},
|
|
107722
107729
|
{
|
|
107723
|
-
"kind": "
|
|
107724
|
-
"name": "
|
|
107725
|
-
"
|
|
107726
|
-
|
|
107730
|
+
"kind": "method",
|
|
107731
|
+
"name": "setupBaseEventHandlers",
|
|
107732
|
+
"privacy": "protected",
|
|
107733
|
+
"return": {
|
|
107734
|
+
"type": {
|
|
107735
|
+
"text": "void"
|
|
107736
|
+
}
|
|
107727
107737
|
},
|
|
107728
|
-
"privacy": "public",
|
|
107729
|
-
"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.",
|
|
107730
|
-
"readonly": true,
|
|
107731
107738
|
"inheritedFrom": {
|
|
107732
|
-
"name": "
|
|
107733
|
-
"module": "core/
|
|
107739
|
+
"name": "SbbActionBaseElement",
|
|
107740
|
+
"module": "core/base-elements/action-base-element.js"
|
|
107734
107741
|
}
|
|
107735
107742
|
},
|
|
107736
107743
|
{
|
|
107737
107744
|
"kind": "field",
|
|
107738
|
-
"name": "
|
|
107745
|
+
"name": "_hydrationRequired",
|
|
107739
107746
|
"type": {
|
|
107740
107747
|
"text": "boolean"
|
|
107741
107748
|
},
|
|
107742
|
-
"privacy": "
|
|
107743
|
-
"
|
|
107744
|
-
"readonly": true,
|
|
107749
|
+
"privacy": "private",
|
|
107750
|
+
"default": "!!this.shadowRoot",
|
|
107745
107751
|
"inheritedFrom": {
|
|
107746
|
-
"name": "
|
|
107747
|
-
"module": "core/
|
|
107752
|
+
"name": "SbbElement",
|
|
107753
|
+
"module": "core/base-elements/element.js"
|
|
107748
107754
|
}
|
|
107749
107755
|
},
|
|
107750
107756
|
{
|
|
107751
107757
|
"kind": "field",
|
|
107752
|
-
"name": "
|
|
107758
|
+
"name": "_hydrationComplete",
|
|
107753
107759
|
"privacy": "private",
|
|
107754
|
-
"default": "new
|
|
107760
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
107755
107761
|
"inheritedFrom": {
|
|
107756
|
-
"name": "
|
|
107757
|
-
"module": "core/
|
|
107762
|
+
"name": "SbbElement",
|
|
107763
|
+
"module": "core/base-elements/element.js"
|
|
107758
107764
|
}
|
|
107759
107765
|
},
|
|
107760
107766
|
{
|
|
107761
107767
|
"kind": "field",
|
|
107762
|
-
"name": "
|
|
107768
|
+
"name": "_resolveHydration",
|
|
107763
107769
|
"type": {
|
|
107764
|
-
"text": "boolean"
|
|
107770
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
107765
107771
|
},
|
|
107766
|
-
"privacy": "
|
|
107767
|
-
"default": "false",
|
|
107768
|
-
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
107772
|
+
"privacy": "private",
|
|
107769
107773
|
"inheritedFrom": {
|
|
107770
|
-
"name": "
|
|
107771
|
-
"module": "core/
|
|
107774
|
+
"name": "SbbElement",
|
|
107775
|
+
"module": "core/base-elements/element.js"
|
|
107772
107776
|
}
|
|
107773
107777
|
},
|
|
107774
107778
|
{
|
|
107775
|
-
"kind": "
|
|
107776
|
-
"name": "
|
|
107777
|
-
"
|
|
107778
|
-
|
|
107779
|
-
"type": {
|
|
107780
|
-
"text": "boolean"
|
|
107781
|
-
}
|
|
107779
|
+
"kind": "field",
|
|
107780
|
+
"name": "hydrationRequired",
|
|
107781
|
+
"type": {
|
|
107782
|
+
"text": "boolean"
|
|
107782
107783
|
},
|
|
107783
|
-
"
|
|
107784
|
+
"privacy": "protected",
|
|
107785
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
107786
|
+
"readonly": true,
|
|
107784
107787
|
"inheritedFrom": {
|
|
107785
|
-
"name": "
|
|
107786
|
-
"module": "core/
|
|
107787
|
-
}
|
|
107788
|
-
},
|
|
107789
|
-
{
|
|
107790
|
-
"kind": "method",
|
|
107791
|
-
"name": "reportValidity",
|
|
107792
|
-
"privacy": "public",
|
|
107793
|
-
"return": {
|
|
107794
|
-
"type": {
|
|
107795
|
-
"text": "boolean"
|
|
107796
|
-
}
|
|
107788
|
+
"name": "SbbElement",
|
|
107789
|
+
"module": "core/base-elements/element.js"
|
|
107797
107790
|
},
|
|
107798
|
-
"
|
|
107799
|
-
"inheritedFrom": {
|
|
107800
|
-
"name": "SbbFormAssociatedMixin",
|
|
107801
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
107802
|
-
}
|
|
107791
|
+
"default": "!!this.shadowRoot"
|
|
107803
107792
|
},
|
|
107804
107793
|
{
|
|
107805
107794
|
"kind": "method",
|
|
107806
|
-
"name": "
|
|
107807
|
-
"privacy": "
|
|
107795
|
+
"name": "toggleState",
|
|
107796
|
+
"privacy": "protected",
|
|
107808
107797
|
"return": {
|
|
107809
107798
|
"type": {
|
|
107810
107799
|
"text": "void"
|
|
@@ -107812,208 +107801,250 @@
|
|
|
107812
107801
|
},
|
|
107813
107802
|
"parameters": [
|
|
107814
107803
|
{
|
|
107815
|
-
"name": "
|
|
107804
|
+
"name": "value",
|
|
107816
107805
|
"type": {
|
|
107817
107806
|
"text": "string"
|
|
107818
107807
|
}
|
|
107808
|
+
},
|
|
107809
|
+
{
|
|
107810
|
+
"name": "force",
|
|
107811
|
+
"optional": true,
|
|
107812
|
+
"type": {
|
|
107813
|
+
"text": "boolean"
|
|
107814
|
+
}
|
|
107819
107815
|
}
|
|
107820
107816
|
],
|
|
107821
|
-
"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.",
|
|
107822
107817
|
"inheritedFrom": {
|
|
107823
|
-
"name": "
|
|
107824
|
-
"module": "core/
|
|
107818
|
+
"name": "SbbElement",
|
|
107819
|
+
"module": "core/base-elements/element.js"
|
|
107825
107820
|
}
|
|
107826
107821
|
},
|
|
107827
107822
|
{
|
|
107828
|
-
"kind": "
|
|
107829
|
-
"name": "
|
|
107823
|
+
"kind": "field",
|
|
107824
|
+
"name": "['_$sbbElement$']",
|
|
107825
|
+
"type": {
|
|
107826
|
+
"text": "boolean"
|
|
107827
|
+
},
|
|
107828
|
+
"privacy": "public",
|
|
107829
|
+
"static": true,
|
|
107830
|
+
"default": "true",
|
|
107831
|
+
"inheritedFrom": {
|
|
107832
|
+
"name": "SbbElement",
|
|
107833
|
+
"module": "core/base-elements/element.js"
|
|
107834
|
+
}
|
|
107835
|
+
},
|
|
107836
|
+
{
|
|
107837
|
+
"kind": "field",
|
|
107838
|
+
"name": "_controllers",
|
|
107839
|
+
"type": {
|
|
107840
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
107841
|
+
},
|
|
107830
107842
|
"privacy": "private",
|
|
107831
|
-
"
|
|
107832
|
-
"
|
|
107833
|
-
|
|
107834
|
-
|
|
107843
|
+
"inheritedFrom": {
|
|
107844
|
+
"name": "SbbElement",
|
|
107845
|
+
"module": "core/base-elements/element.js"
|
|
107846
|
+
}
|
|
107847
|
+
}
|
|
107848
|
+
],
|
|
107849
|
+
"mixins": [
|
|
107850
|
+
{
|
|
107851
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
107852
|
+
"module": "core/mixins.js"
|
|
107853
|
+
},
|
|
107854
|
+
{
|
|
107855
|
+
"name": "SbbMenuActionCommonElementMixin",
|
|
107856
|
+
"module": "menu/common/menu-action-common.js"
|
|
107857
|
+
}
|
|
107858
|
+
],
|
|
107859
|
+
"superclass": {
|
|
107860
|
+
"name": "SbbLinkBaseElement",
|
|
107861
|
+
"module": "core/base-elements.js"
|
|
107862
|
+
},
|
|
107863
|
+
"tagName": "sbb-menu-link",
|
|
107864
|
+
"customElement": true,
|
|
107865
|
+
"attributes": [
|
|
107866
|
+
{
|
|
107867
|
+
"name": "disabled-interactive",
|
|
107868
|
+
"type": {
|
|
107869
|
+
"text": "boolean"
|
|
107835
107870
|
},
|
|
107871
|
+
"default": "false",
|
|
107872
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
107873
|
+
"fieldName": "disabledInteractive",
|
|
107836
107874
|
"inheritedFrom": {
|
|
107837
|
-
"name": "
|
|
107838
|
-
"module": "core/mixins/
|
|
107875
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
107876
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
107839
107877
|
}
|
|
107840
107878
|
},
|
|
107841
107879
|
{
|
|
107842
|
-
"
|
|
107843
|
-
"
|
|
107844
|
-
|
|
107845
|
-
"return": {
|
|
107846
|
-
"type": {
|
|
107847
|
-
"text": "void"
|
|
107848
|
-
}
|
|
107880
|
+
"name": "icon-name",
|
|
107881
|
+
"type": {
|
|
107882
|
+
"text": "string"
|
|
107849
107883
|
},
|
|
107850
|
-
"
|
|
107884
|
+
"default": "''",
|
|
107885
|
+
"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.",
|
|
107886
|
+
"fieldName": "iconName",
|
|
107851
107887
|
"inheritedFrom": {
|
|
107852
|
-
"name": "
|
|
107853
|
-
"module": "
|
|
107888
|
+
"name": "SbbIconNameMixin",
|
|
107889
|
+
"module": "icon/icon-name-mixin.js"
|
|
107854
107890
|
}
|
|
107855
107891
|
},
|
|
107856
107892
|
{
|
|
107857
|
-
"
|
|
107858
|
-
"
|
|
107859
|
-
"
|
|
107860
|
-
"
|
|
107861
|
-
"
|
|
107862
|
-
"text": "FormRestoreState"
|
|
107863
|
-
}
|
|
107893
|
+
"name": "disabled",
|
|
107894
|
+
"description": "Whether the component is disabled.",
|
|
107895
|
+
"default": "false",
|
|
107896
|
+
"type": {
|
|
107897
|
+
"text": "boolean"
|
|
107864
107898
|
},
|
|
107899
|
+
"fieldName": "disabled",
|
|
107865
107900
|
"inheritedFrom": {
|
|
107866
|
-
"name": "
|
|
107867
|
-
"module": "core/mixins/
|
|
107901
|
+
"name": "SbbDisabledMixin",
|
|
107902
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
107868
107903
|
}
|
|
107869
107904
|
},
|
|
107870
107905
|
{
|
|
107871
|
-
"
|
|
107872
|
-
"
|
|
107873
|
-
|
|
107874
|
-
"return": {
|
|
107875
|
-
"type": {
|
|
107876
|
-
"text": "void"
|
|
107877
|
-
}
|
|
107906
|
+
"name": "href",
|
|
107907
|
+
"type": {
|
|
107908
|
+
"text": "string"
|
|
107878
107909
|
},
|
|
107879
|
-
"
|
|
107880
|
-
|
|
107881
|
-
|
|
107882
|
-
"type": {
|
|
107883
|
-
"text": "T"
|
|
107884
|
-
}
|
|
107885
|
-
},
|
|
107886
|
-
{
|
|
107887
|
-
"name": "message",
|
|
107888
|
-
"type": {
|
|
107889
|
-
"text": "string"
|
|
107890
|
-
}
|
|
107891
|
-
},
|
|
107892
|
-
{
|
|
107893
|
-
"name": "flagValue",
|
|
107894
|
-
"optional": true,
|
|
107895
|
-
"type": {
|
|
107896
|
-
"text": "ValidityStateFlags[T]"
|
|
107897
|
-
}
|
|
107898
|
-
}
|
|
107899
|
-
],
|
|
107900
|
-
"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).",
|
|
107910
|
+
"default": "''",
|
|
107911
|
+
"description": "The href value you want to link to.",
|
|
107912
|
+
"fieldName": "href",
|
|
107901
107913
|
"inheritedFrom": {
|
|
107902
|
-
"name": "
|
|
107903
|
-
"module": "core/
|
|
107914
|
+
"name": "SbbLinkBaseElement",
|
|
107915
|
+
"module": "core/base-elements/link-base-element.js"
|
|
107904
107916
|
}
|
|
107905
107917
|
},
|
|
107906
107918
|
{
|
|
107907
|
-
"
|
|
107908
|
-
"
|
|
107909
|
-
|
|
107910
|
-
"return": {
|
|
107911
|
-
"type": {
|
|
107912
|
-
"text": "void"
|
|
107913
|
-
}
|
|
107919
|
+
"name": "target",
|
|
107920
|
+
"type": {
|
|
107921
|
+
"text": "LinkTargetType | string"
|
|
107914
107922
|
},
|
|
107915
|
-
"
|
|
107916
|
-
|
|
107917
|
-
|
|
107918
|
-
"type": {
|
|
107919
|
-
"text": "T"
|
|
107920
|
-
}
|
|
107921
|
-
}
|
|
107922
|
-
],
|
|
107923
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
107923
|
+
"default": "''",
|
|
107924
|
+
"description": "Where to display the linked URL.",
|
|
107925
|
+
"fieldName": "target",
|
|
107924
107926
|
"inheritedFrom": {
|
|
107925
|
-
"name": "
|
|
107926
|
-
"module": "core/
|
|
107927
|
+
"name": "SbbLinkBaseElement",
|
|
107928
|
+
"module": "core/base-elements/link-base-element.js"
|
|
107927
107929
|
}
|
|
107928
107930
|
},
|
|
107929
107931
|
{
|
|
107930
|
-
"
|
|
107931
|
-
"
|
|
107932
|
-
|
|
107933
|
-
"return": {
|
|
107934
|
-
"type": {
|
|
107935
|
-
"text": "void"
|
|
107936
|
-
}
|
|
107932
|
+
"name": "rel",
|
|
107933
|
+
"type": {
|
|
107934
|
+
"text": "string"
|
|
107937
107935
|
},
|
|
107938
|
-
"
|
|
107936
|
+
"default": "''",
|
|
107937
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
107938
|
+
"fieldName": "rel",
|
|
107939
107939
|
"inheritedFrom": {
|
|
107940
|
-
"name": "
|
|
107941
|
-
"module": "core/
|
|
107940
|
+
"name": "SbbLinkBaseElement",
|
|
107941
|
+
"module": "core/base-elements/link-base-element.js"
|
|
107942
107942
|
}
|
|
107943
107943
|
},
|
|
107944
107944
|
{
|
|
107945
|
-
"
|
|
107946
|
-
"
|
|
107947
|
-
|
|
107948
|
-
"return": {
|
|
107949
|
-
"type": {
|
|
107950
|
-
"text": "boolean"
|
|
107951
|
-
}
|
|
107945
|
+
"name": "download",
|
|
107946
|
+
"type": {
|
|
107947
|
+
"text": "boolean"
|
|
107952
107948
|
},
|
|
107953
|
-
"
|
|
107954
|
-
|
|
107955
|
-
|
|
107956
|
-
"type": {
|
|
107957
|
-
"text": "PropertyKey | undefined"
|
|
107958
|
-
}
|
|
107959
|
-
}
|
|
107960
|
-
],
|
|
107961
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
107949
|
+
"default": "false",
|
|
107950
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
107951
|
+
"fieldName": "download",
|
|
107962
107952
|
"inheritedFrom": {
|
|
107963
|
-
"name": "
|
|
107964
|
-
"module": "core/
|
|
107953
|
+
"name": "SbbLinkBaseElement",
|
|
107954
|
+
"module": "core/base-elements/link-base-element.js"
|
|
107965
107955
|
}
|
|
107966
107956
|
},
|
|
107967
107957
|
{
|
|
107968
|
-
"
|
|
107969
|
-
"
|
|
107970
|
-
|
|
107971
|
-
"return": {
|
|
107972
|
-
"type": {
|
|
107973
|
-
"text": "void"
|
|
107974
|
-
}
|
|
107958
|
+
"name": "accessibility-label",
|
|
107959
|
+
"type": {
|
|
107960
|
+
"text": "string"
|
|
107975
107961
|
},
|
|
107962
|
+
"default": "''",
|
|
107963
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
107964
|
+
"fieldName": "accessibilityLabel",
|
|
107976
107965
|
"inheritedFrom": {
|
|
107977
|
-
"name": "
|
|
107978
|
-
"module": "core/
|
|
107966
|
+
"name": "SbbLinkBaseElement",
|
|
107967
|
+
"module": "core/base-elements/link-base-element.js"
|
|
107979
107968
|
}
|
|
107980
107969
|
},
|
|
107981
107970
|
{
|
|
107982
|
-
"
|
|
107983
|
-
"
|
|
107984
|
-
|
|
107985
|
-
|
|
107986
|
-
"
|
|
107987
|
-
|
|
107988
|
-
|
|
107989
|
-
"name": "event"
|
|
107990
|
-
}
|
|
107991
|
-
],
|
|
107971
|
+
"name": "accessibility-current",
|
|
107972
|
+
"type": {
|
|
107973
|
+
"text": "string"
|
|
107974
|
+
},
|
|
107975
|
+
"default": "''",
|
|
107976
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
107977
|
+
"fieldName": "accessibilityCurrent",
|
|
107992
107978
|
"inheritedFrom": {
|
|
107993
|
-
"name": "
|
|
107994
|
-
"module": "core/base-elements/
|
|
107979
|
+
"name": "SbbLinkBaseElement",
|
|
107980
|
+
"module": "core/base-elements/link-base-element.js"
|
|
107995
107981
|
}
|
|
107982
|
+
}
|
|
107983
|
+
]
|
|
107984
|
+
}
|
|
107985
|
+
],
|
|
107986
|
+
"exports": [
|
|
107987
|
+
{
|
|
107988
|
+
"kind": "js",
|
|
107989
|
+
"name": "SbbMenuLinkElement",
|
|
107990
|
+
"declaration": {
|
|
107991
|
+
"name": "SbbMenuLinkElement",
|
|
107992
|
+
"module": "menu/menu-link/menu-link.component.js"
|
|
107993
|
+
}
|
|
107994
|
+
}
|
|
107995
|
+
]
|
|
107996
|
+
},
|
|
107997
|
+
{
|
|
107998
|
+
"kind": "javascript-module",
|
|
107999
|
+
"path": "menu/menu-button/menu-button.component.js",
|
|
108000
|
+
"declarations": [
|
|
108001
|
+
{
|
|
108002
|
+
"kind": "class",
|
|
108003
|
+
"description": "It displays a button element that can be used in the `sbb-menu` component.",
|
|
108004
|
+
"name": "SbbMenuButtonElement",
|
|
108005
|
+
"cssProperties": [
|
|
108006
|
+
{
|
|
108007
|
+
"description": "Can be used to modify horizontal padding.",
|
|
108008
|
+
"name": "--sbb-menu-action-outer-horizontal-padding",
|
|
108009
|
+
"default": "var(--sbb-spacing-fixed-3x)"
|
|
108010
|
+
}
|
|
108011
|
+
],
|
|
108012
|
+
"slots": [
|
|
108013
|
+
{
|
|
108014
|
+
"description": "Use the unnamed slot to add content to the `sbb-menu-button`.",
|
|
108015
|
+
"name": ""
|
|
107996
108016
|
},
|
|
108017
|
+
{
|
|
108018
|
+
"description": "Use this slot to provide an icon. If `icon-name` is set, a `sbb-icon` will be used.",
|
|
108019
|
+
"name": "icon"
|
|
108020
|
+
}
|
|
108021
|
+
],
|
|
108022
|
+
"members": [
|
|
107997
108023
|
{
|
|
107998
108024
|
"kind": "field",
|
|
107999
|
-
"name": "
|
|
108000
|
-
"
|
|
108025
|
+
"name": "elementName",
|
|
108026
|
+
"type": {
|
|
108027
|
+
"text": "string"
|
|
108028
|
+
},
|
|
108029
|
+
"privacy": "public",
|
|
108030
|
+
"static": true,
|
|
108031
|
+
"readonly": true,
|
|
108001
108032
|
"inheritedFrom": {
|
|
108002
|
-
"name": "
|
|
108003
|
-
"module": "core/base-elements/
|
|
108004
|
-
}
|
|
108033
|
+
"name": "SbbElement",
|
|
108034
|
+
"module": "core/base-elements/element.js"
|
|
108035
|
+
},
|
|
108036
|
+
"default": "'sbb-menu-button'"
|
|
108005
108037
|
},
|
|
108006
108038
|
{
|
|
108007
108039
|
"kind": "field",
|
|
108008
|
-
"name": "
|
|
108009
|
-
"
|
|
108010
|
-
|
|
108011
|
-
|
|
108012
|
-
|
|
108013
|
-
|
|
108014
|
-
|
|
108015
|
-
|
|
108016
|
-
],
|
|
108040
|
+
"name": "role",
|
|
108041
|
+
"type": {
|
|
108042
|
+
"text": "ElementInternals['role']"
|
|
108043
|
+
},
|
|
108044
|
+
"privacy": "public",
|
|
108045
|
+
"static": true,
|
|
108046
|
+
"readonly": true,
|
|
108047
|
+
"default": "'menuitem'",
|
|
108017
108048
|
"inheritedFrom": {
|
|
108018
108049
|
"name": "SbbButtonLikeBaseElement",
|
|
108019
108050
|
"module": "core/base-elements/button-base-element.js"
|
|
@@ -108021,622 +108052,619 @@
|
|
|
108021
108052
|
},
|
|
108022
108053
|
{
|
|
108023
108054
|
"kind": "field",
|
|
108024
|
-
"name": "
|
|
108025
|
-
"
|
|
108055
|
+
"name": "disabledInteractive",
|
|
108056
|
+
"type": {
|
|
108057
|
+
"text": "boolean"
|
|
108058
|
+
},
|
|
108059
|
+
"privacy": "public",
|
|
108060
|
+
"default": "false",
|
|
108061
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
108062
|
+
"attribute": "disabled-interactive",
|
|
108063
|
+
"reflects": true,
|
|
108026
108064
|
"inheritedFrom": {
|
|
108027
|
-
"name": "
|
|
108028
|
-
"module": "core/
|
|
108065
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
108066
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
108029
108067
|
}
|
|
108030
108068
|
},
|
|
108031
108069
|
{
|
|
108032
108070
|
"kind": "field",
|
|
108033
|
-
"name": "
|
|
108071
|
+
"name": "disabled",
|
|
108072
|
+
"privacy": "public",
|
|
108073
|
+
"description": "Whether the component is disabled.",
|
|
108074
|
+
"default": "false",
|
|
108034
108075
|
"type": {
|
|
108035
|
-
"text": "boolean
|
|
108076
|
+
"text": "boolean"
|
|
108036
108077
|
},
|
|
108037
|
-
"
|
|
108038
|
-
"
|
|
108078
|
+
"attribute": "disabled",
|
|
108079
|
+
"reflects": true,
|
|
108039
108080
|
"inheritedFrom": {
|
|
108040
|
-
"name": "
|
|
108041
|
-
"module": "core/
|
|
108081
|
+
"name": "SbbDisabledMixin",
|
|
108082
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
108042
108083
|
}
|
|
108043
108084
|
},
|
|
108044
108085
|
{
|
|
108045
108086
|
"kind": "field",
|
|
108046
|
-
"name": "
|
|
108087
|
+
"name": "#disabled",
|
|
108088
|
+
"privacy": "private",
|
|
108047
108089
|
"type": {
|
|
108048
|
-
"text": "boolean
|
|
108090
|
+
"text": "boolean"
|
|
108049
108091
|
},
|
|
108050
|
-
"
|
|
108051
|
-
"readonly": true,
|
|
108092
|
+
"default": "false",
|
|
108052
108093
|
"inheritedFrom": {
|
|
108053
|
-
"name": "
|
|
108054
|
-
"module": "core/
|
|
108094
|
+
"name": "SbbDisabledMixin",
|
|
108095
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
108055
108096
|
}
|
|
108056
108097
|
},
|
|
108057
108098
|
{
|
|
108058
108099
|
"kind": "method",
|
|
108059
|
-
"name": "
|
|
108100
|
+
"name": "isDisabledExternally",
|
|
108060
108101
|
"privacy": "protected",
|
|
108061
108102
|
"return": {
|
|
108062
108103
|
"type": {
|
|
108063
|
-
"text": "
|
|
108104
|
+
"text": "boolean"
|
|
108064
108105
|
}
|
|
108065
108106
|
},
|
|
108107
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
108066
108108
|
"inheritedFrom": {
|
|
108067
|
-
"name": "
|
|
108068
|
-
"module": "core/
|
|
108109
|
+
"name": "SbbDisabledMixin",
|
|
108110
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
108069
108111
|
}
|
|
108070
108112
|
},
|
|
108071
108113
|
{
|
|
108072
108114
|
"kind": "field",
|
|
108073
|
-
"name": "
|
|
108115
|
+
"name": "styles",
|
|
108074
108116
|
"type": {
|
|
108075
|
-
"text": "
|
|
108117
|
+
"text": "CSSResultGroup"
|
|
108076
108118
|
},
|
|
108077
|
-
"privacy": "
|
|
108078
|
-
"
|
|
108079
|
-
"
|
|
108080
|
-
"name": "SbbElement",
|
|
108081
|
-
"module": "core/base-elements/element.js"
|
|
108082
|
-
}
|
|
108083
|
-
},
|
|
108084
|
-
{
|
|
108085
|
-
"kind": "field",
|
|
108086
|
-
"name": "_hydrationComplete",
|
|
108087
|
-
"privacy": "private",
|
|
108088
|
-
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
108119
|
+
"privacy": "public",
|
|
108120
|
+
"static": true,
|
|
108121
|
+
"default": "[boxSizingStyles, unsafeCSS(style)]",
|
|
108089
108122
|
"inheritedFrom": {
|
|
108090
|
-
"name": "
|
|
108091
|
-
"module": "
|
|
108123
|
+
"name": "SbbMenuActionCommonElementMixin",
|
|
108124
|
+
"module": "menu/common/menu-action-common.js"
|
|
108092
108125
|
}
|
|
108093
108126
|
},
|
|
108094
108127
|
{
|
|
108095
|
-
"kind": "
|
|
108096
|
-
"name": "
|
|
108097
|
-
"
|
|
108098
|
-
|
|
108128
|
+
"kind": "method",
|
|
108129
|
+
"name": "renderTemplate",
|
|
108130
|
+
"privacy": "protected",
|
|
108131
|
+
"return": {
|
|
108132
|
+
"type": {
|
|
108133
|
+
"text": "TemplateResult"
|
|
108134
|
+
}
|
|
108099
108135
|
},
|
|
108100
|
-
"
|
|
108136
|
+
"description": "Override this method to render the component template.",
|
|
108101
108137
|
"inheritedFrom": {
|
|
108102
|
-
"name": "
|
|
108103
|
-
"module": "core/base-elements/element.js"
|
|
108138
|
+
"name": "SbbActionBaseElement",
|
|
108139
|
+
"module": "core/base-elements/action-base-element.js"
|
|
108104
108140
|
}
|
|
108105
108141
|
},
|
|
108106
108142
|
{
|
|
108107
108143
|
"kind": "field",
|
|
108108
|
-
"name": "
|
|
108144
|
+
"name": "iconName",
|
|
108109
108145
|
"type": {
|
|
108110
|
-
"text": "
|
|
108146
|
+
"text": "string"
|
|
108111
108147
|
},
|
|
108112
|
-
"privacy": "
|
|
108113
|
-
"
|
|
108114
|
-
"
|
|
108148
|
+
"privacy": "public",
|
|
108149
|
+
"default": "''",
|
|
108150
|
+
"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.",
|
|
108151
|
+
"attribute": "icon-name",
|
|
108115
108152
|
"inheritedFrom": {
|
|
108116
|
-
"name": "
|
|
108117
|
-
"module": "
|
|
108118
|
-
}
|
|
108119
|
-
"default": "!!this.shadowRoot"
|
|
108153
|
+
"name": "SbbIconNameMixin",
|
|
108154
|
+
"module": "icon/icon-name-mixin.js"
|
|
108155
|
+
}
|
|
108120
108156
|
},
|
|
108121
108157
|
{
|
|
108122
108158
|
"kind": "method",
|
|
108123
|
-
"name": "
|
|
108159
|
+
"name": "renderIconSlot",
|
|
108124
108160
|
"privacy": "protected",
|
|
108125
108161
|
"return": {
|
|
108126
108162
|
"type": {
|
|
108127
|
-
"text": "
|
|
108163
|
+
"text": "TemplateResult"
|
|
108128
108164
|
}
|
|
108129
108165
|
},
|
|
108130
108166
|
"parameters": [
|
|
108131
108167
|
{
|
|
108132
|
-
"name": "
|
|
108133
|
-
"type": {
|
|
108134
|
-
"text": "string"
|
|
108135
|
-
}
|
|
108136
|
-
},
|
|
108137
|
-
{
|
|
108138
|
-
"name": "force",
|
|
108168
|
+
"name": "classname",
|
|
108139
108169
|
"optional": true,
|
|
108140
108170
|
"type": {
|
|
108141
|
-
"text": "
|
|
108171
|
+
"text": "string"
|
|
108142
108172
|
}
|
|
108143
108173
|
}
|
|
108144
108174
|
],
|
|
108145
108175
|
"inheritedFrom": {
|
|
108146
|
-
"name": "
|
|
108147
|
-
"module": "
|
|
108176
|
+
"name": "SbbIconNameMixin",
|
|
108177
|
+
"module": "icon/icon-name-mixin.js"
|
|
108148
108178
|
}
|
|
108149
108179
|
},
|
|
108150
108180
|
{
|
|
108151
|
-
"kind": "
|
|
108152
|
-
"name": "
|
|
108153
|
-
"
|
|
108154
|
-
|
|
108181
|
+
"kind": "method",
|
|
108182
|
+
"name": "renderIconName",
|
|
108183
|
+
"privacy": "protected",
|
|
108184
|
+
"return": {
|
|
108185
|
+
"type": {
|
|
108186
|
+
"text": "string"
|
|
108187
|
+
}
|
|
108155
108188
|
},
|
|
108156
|
-
"privacy": "public",
|
|
108157
|
-
"static": true,
|
|
108158
|
-
"default": "true",
|
|
108159
108189
|
"inheritedFrom": {
|
|
108160
|
-
"name": "
|
|
108161
|
-
"module": "
|
|
108190
|
+
"name": "SbbIconNameMixin",
|
|
108191
|
+
"module": "icon/icon-name-mixin.js"
|
|
108192
|
+
}
|
|
108193
|
+
},
|
|
108194
|
+
{
|
|
108195
|
+
"kind": "method",
|
|
108196
|
+
"name": "_renderIconName",
|
|
108197
|
+
"privacy": "private",
|
|
108198
|
+
"return": {
|
|
108199
|
+
"type": {
|
|
108200
|
+
"text": "string"
|
|
108201
|
+
}
|
|
108202
|
+
},
|
|
108203
|
+
"inheritedFrom": {
|
|
108204
|
+
"name": "SbbIconNameMixin",
|
|
108205
|
+
"module": "icon/icon-name-mixin.js"
|
|
108162
108206
|
}
|
|
108163
108207
|
},
|
|
108164
108208
|
{
|
|
108165
108209
|
"kind": "field",
|
|
108166
|
-
"name": "
|
|
108210
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
108167
108211
|
"type": {
|
|
108168
|
-
"text": "
|
|
108212
|
+
"text": "array"
|
|
108169
108213
|
},
|
|
108170
108214
|
"privacy": "private",
|
|
108215
|
+
"readonly": true,
|
|
108216
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
108171
108217
|
"inheritedFrom": {
|
|
108172
|
-
"name": "
|
|
108173
|
-
"module": "core/base-elements/element.js"
|
|
108218
|
+
"name": "SbbButtonBaseElement",
|
|
108219
|
+
"module": "core/base-elements/button-base-element.js"
|
|
108174
108220
|
}
|
|
108175
|
-
}
|
|
108176
|
-
],
|
|
108177
|
-
"mixins": [
|
|
108178
|
-
{
|
|
108179
|
-
"name": "SbbDisabledTabIndexActionMixin",
|
|
108180
|
-
"module": "core/mixins.js"
|
|
108181
108221
|
},
|
|
108182
108222
|
{
|
|
108183
|
-
"
|
|
108184
|
-
"
|
|
108185
|
-
}
|
|
108186
|
-
],
|
|
108187
|
-
"superclass": {
|
|
108188
|
-
"name": "SbbButtonBaseElement",
|
|
108189
|
-
"module": "core/base-elements.js"
|
|
108190
|
-
},
|
|
108191
|
-
"tagName": "sbb-menu-button",
|
|
108192
|
-
"customElement": true,
|
|
108193
|
-
"attributes": [
|
|
108194
|
-
{
|
|
108195
|
-
"name": "disabled-interactive",
|
|
108223
|
+
"kind": "field",
|
|
108224
|
+
"name": "value",
|
|
108196
108225
|
"type": {
|
|
108197
|
-
"text": "
|
|
108226
|
+
"text": "string"
|
|
108198
108227
|
},
|
|
108199
|
-
"
|
|
108200
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
108201
|
-
"fieldName": "disabledInteractive",
|
|
108228
|
+
"privacy": "public",
|
|
108202
108229
|
"inheritedFrom": {
|
|
108203
|
-
"name": "
|
|
108204
|
-
"module": "core/
|
|
108205
|
-
}
|
|
108230
|
+
"name": "SbbButtonBaseElement",
|
|
108231
|
+
"module": "core/base-elements/button-base-element.js"
|
|
108232
|
+
},
|
|
108233
|
+
"default": "''",
|
|
108234
|
+
"description": "Value of the form element.",
|
|
108235
|
+
"attribute": "value"
|
|
108206
108236
|
},
|
|
108207
108237
|
{
|
|
108208
|
-
"
|
|
108209
|
-
"
|
|
108210
|
-
"
|
|
108238
|
+
"kind": "field",
|
|
108239
|
+
"name": "type",
|
|
108240
|
+
"privacy": "public",
|
|
108241
|
+
"description": "The type attribute to use for the button.",
|
|
108242
|
+
"default": "'button'",
|
|
108211
108243
|
"type": {
|
|
108212
|
-
"text": "
|
|
108244
|
+
"text": "SbbButtonType"
|
|
108213
108245
|
},
|
|
108214
|
-
"
|
|
108246
|
+
"attribute": "type",
|
|
108215
108247
|
"inheritedFrom": {
|
|
108216
|
-
"name": "
|
|
108217
|
-
"module": "core/
|
|
108248
|
+
"name": "SbbButtonBaseElement",
|
|
108249
|
+
"module": "core/base-elements/button-base-element.js"
|
|
108218
108250
|
}
|
|
108219
108251
|
},
|
|
108220
108252
|
{
|
|
108221
|
-
"
|
|
108253
|
+
"kind": "field",
|
|
108254
|
+
"name": "form",
|
|
108222
108255
|
"type": {
|
|
108223
|
-
"text": "
|
|
108256
|
+
"text": "HTMLFormElement | null"
|
|
108224
108257
|
},
|
|
108225
|
-
"
|
|
108226
|
-
"description": "The
|
|
108227
|
-
"fieldName": "iconName",
|
|
108258
|
+
"privacy": "public",
|
|
108259
|
+
"description": "The `<form>` element to associate the button with.",
|
|
108228
108260
|
"inheritedFrom": {
|
|
108229
|
-
"name": "
|
|
108230
|
-
"module": "
|
|
108231
|
-
}
|
|
108261
|
+
"name": "SbbButtonBaseElement",
|
|
108262
|
+
"module": "core/base-elements/button-base-element.js"
|
|
108263
|
+
},
|
|
108264
|
+
"attribute": "form"
|
|
108232
108265
|
},
|
|
108233
108266
|
{
|
|
108234
|
-
"
|
|
108267
|
+
"kind": "field",
|
|
108268
|
+
"name": "_formId",
|
|
108235
108269
|
"type": {
|
|
108236
108270
|
"text": "string"
|
|
108237
108271
|
},
|
|
108272
|
+
"privacy": "private",
|
|
108238
108273
|
"default": "''",
|
|
108239
|
-
"description": "Value of the form element.",
|
|
108240
|
-
"fieldName": "value",
|
|
108241
108274
|
"inheritedFrom": {
|
|
108242
108275
|
"name": "SbbButtonBaseElement",
|
|
108243
108276
|
"module": "core/base-elements/button-base-element.js"
|
|
108244
108277
|
}
|
|
108245
108278
|
},
|
|
108246
108279
|
{
|
|
108247
|
-
"
|
|
108248
|
-
"
|
|
108249
|
-
"
|
|
108250
|
-
"type": {
|
|
108251
|
-
"text": "SbbButtonType"
|
|
108252
|
-
},
|
|
108253
|
-
"fieldName": "type",
|
|
108280
|
+
"kind": "field",
|
|
108281
|
+
"name": "_handleButtonClick",
|
|
108282
|
+
"privacy": "private",
|
|
108254
108283
|
"inheritedFrom": {
|
|
108255
108284
|
"name": "SbbButtonBaseElement",
|
|
108256
108285
|
"module": "core/base-elements/button-base-element.js"
|
|
108257
108286
|
}
|
|
108258
108287
|
},
|
|
108259
108288
|
{
|
|
108260
|
-
"
|
|
108261
|
-
"
|
|
108262
|
-
"
|
|
108263
|
-
|
|
108289
|
+
"kind": "method",
|
|
108290
|
+
"name": "_requestSubmit",
|
|
108291
|
+
"privacy": "private",
|
|
108292
|
+
"return": {
|
|
108293
|
+
"type": {
|
|
108294
|
+
"text": "void"
|
|
108295
|
+
}
|
|
108264
108296
|
},
|
|
108265
|
-
"
|
|
108297
|
+
"parameters": [
|
|
108298
|
+
{
|
|
108299
|
+
"name": "form",
|
|
108300
|
+
"type": {
|
|
108301
|
+
"text": "HTMLFormElement"
|
|
108302
|
+
}
|
|
108303
|
+
}
|
|
108304
|
+
],
|
|
108305
|
+
"inheritedFrom": {
|
|
108306
|
+
"name": "SbbButtonBaseElement",
|
|
108307
|
+
"module": "core/base-elements/button-base-element.js"
|
|
108308
|
+
}
|
|
108309
|
+
},
|
|
108310
|
+
{
|
|
108311
|
+
"kind": "field",
|
|
108312
|
+
"name": "_formKeyDown",
|
|
108313
|
+
"privacy": "private",
|
|
108266
108314
|
"inheritedFrom": {
|
|
108267
108315
|
"name": "SbbButtonBaseElement",
|
|
108268
108316
|
"module": "core/base-elements/button-base-element.js"
|
|
108269
108317
|
}
|
|
108270
108318
|
},
|
|
108271
108319
|
{
|
|
108320
|
+
"kind": "field",
|
|
108321
|
+
"name": "formAssociated",
|
|
108322
|
+
"type": {
|
|
108323
|
+
"text": "boolean"
|
|
108324
|
+
},
|
|
108325
|
+
"privacy": "public",
|
|
108326
|
+
"static": true,
|
|
108327
|
+
"default": "true",
|
|
108328
|
+
"inheritedFrom": {
|
|
108329
|
+
"name": "SbbFormAssociatedMixin",
|
|
108330
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
108331
|
+
}
|
|
108332
|
+
},
|
|
108333
|
+
{
|
|
108334
|
+
"kind": "field",
|
|
108272
108335
|
"name": "name",
|
|
108336
|
+
"privacy": "public",
|
|
108273
108337
|
"description": "Name of the form element. Will be read from name attribute.",
|
|
108274
108338
|
"type": {
|
|
108275
108339
|
"text": "string"
|
|
108276
108340
|
},
|
|
108277
|
-
"
|
|
108341
|
+
"attribute": "name",
|
|
108278
108342
|
"inheritedFrom": {
|
|
108279
108343
|
"name": "SbbFormAssociatedMixin",
|
|
108280
108344
|
"module": "core/mixins/form-associated-mixin.js"
|
|
108281
108345
|
}
|
|
108282
|
-
}
|
|
108283
|
-
]
|
|
108284
|
-
}
|
|
108285
|
-
],
|
|
108286
|
-
"exports": [
|
|
108287
|
-
{
|
|
108288
|
-
"kind": "js",
|
|
108289
|
-
"name": "SbbMenuButtonElement",
|
|
108290
|
-
"declaration": {
|
|
108291
|
-
"name": "SbbMenuButtonElement",
|
|
108292
|
-
"module": "menu/menu-button/menu-button.component.js"
|
|
108293
|
-
}
|
|
108294
|
-
}
|
|
108295
|
-
]
|
|
108296
|
-
},
|
|
108297
|
-
{
|
|
108298
|
-
"kind": "javascript-module",
|
|
108299
|
-
"path": "menu/menu-link/menu-link.component.js",
|
|
108300
|
-
"declarations": [
|
|
108301
|
-
{
|
|
108302
|
-
"kind": "class",
|
|
108303
|
-
"description": "It displays a link element that can be used in the `sbb-menu` component.",
|
|
108304
|
-
"name": "SbbMenuLinkElement",
|
|
108305
|
-
"cssProperties": [
|
|
108306
|
-
{
|
|
108307
|
-
"description": "Can be used to modify horizontal padding.",
|
|
108308
|
-
"name": "--sbb-menu-action-outer-horizontal-padding",
|
|
108309
|
-
"default": "var(--sbb-spacing-fixed-3x)"
|
|
108310
|
-
}
|
|
108311
|
-
],
|
|
108312
|
-
"slots": [
|
|
108313
|
-
{
|
|
108314
|
-
"description": "Use the unnamed slot to add content to the `sbb-menu-link`.",
|
|
108315
|
-
"name": ""
|
|
108316
108346
|
},
|
|
108317
|
-
{
|
|
108318
|
-
"description": "Use this slot to provide an icon. If `icon-name` is set, a `sbb-icon` will be used.",
|
|
108319
|
-
"name": "icon"
|
|
108320
|
-
}
|
|
108321
|
-
],
|
|
108322
|
-
"members": [
|
|
108323
108347
|
{
|
|
108324
108348
|
"kind": "field",
|
|
108325
|
-
"name": "
|
|
108349
|
+
"name": "validity",
|
|
108326
108350
|
"type": {
|
|
108327
|
-
"text": "
|
|
108351
|
+
"text": "ValidityState"
|
|
108328
108352
|
},
|
|
108329
108353
|
"privacy": "public",
|
|
108330
|
-
"
|
|
108354
|
+
"description": "Returns the ValidityState object for this element.",
|
|
108331
108355
|
"readonly": true,
|
|
108332
108356
|
"inheritedFrom": {
|
|
108333
|
-
"name": "
|
|
108334
|
-
"module": "core/
|
|
108335
|
-
}
|
|
108336
|
-
"default": "'sbb-menu-link'"
|
|
108357
|
+
"name": "SbbFormAssociatedMixin",
|
|
108358
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
108359
|
+
}
|
|
108337
108360
|
},
|
|
108338
108361
|
{
|
|
108339
108362
|
"kind": "field",
|
|
108340
|
-
"name": "
|
|
108363
|
+
"name": "validationMessage",
|
|
108341
108364
|
"type": {
|
|
108342
108365
|
"text": "string"
|
|
108343
108366
|
},
|
|
108344
|
-
"privacy": "
|
|
108367
|
+
"privacy": "public",
|
|
108368
|
+
"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.",
|
|
108345
108369
|
"readonly": true,
|
|
108346
|
-
"default": "'menuitem'",
|
|
108347
108370
|
"inheritedFrom": {
|
|
108348
|
-
"name": "
|
|
108349
|
-
"module": "core/
|
|
108371
|
+
"name": "SbbFormAssociatedMixin",
|
|
108372
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
108350
108373
|
}
|
|
108351
108374
|
},
|
|
108352
108375
|
{
|
|
108353
108376
|
"kind": "field",
|
|
108354
|
-
"name": "
|
|
108377
|
+
"name": "willValidate",
|
|
108355
108378
|
"type": {
|
|
108356
108379
|
"text": "boolean"
|
|
108357
108380
|
},
|
|
108358
108381
|
"privacy": "public",
|
|
108359
|
-
"
|
|
108360
|
-
"
|
|
108361
|
-
"attribute": "disabled-interactive",
|
|
108362
|
-
"reflects": true,
|
|
108382
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
108383
|
+
"readonly": true,
|
|
108363
108384
|
"inheritedFrom": {
|
|
108364
|
-
"name": "
|
|
108365
|
-
"module": "core/mixins/
|
|
108385
|
+
"name": "SbbFormAssociatedMixin",
|
|
108386
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
108366
108387
|
}
|
|
108367
108388
|
},
|
|
108368
108389
|
{
|
|
108369
108390
|
"kind": "field",
|
|
108370
|
-
"name": "
|
|
108391
|
+
"name": "_validityStates",
|
|
108392
|
+
"privacy": "private",
|
|
108393
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
108394
|
+
"inheritedFrom": {
|
|
108395
|
+
"name": "SbbFormAssociatedMixin",
|
|
108396
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
108397
|
+
}
|
|
108398
|
+
},
|
|
108399
|
+
{
|
|
108400
|
+
"kind": "field",
|
|
108401
|
+
"name": "formDisabled",
|
|
108371
108402
|
"type": {
|
|
108372
|
-
"text": "
|
|
108403
|
+
"text": "boolean"
|
|
108373
108404
|
},
|
|
108374
|
-
"privacy": "
|
|
108375
|
-
"
|
|
108376
|
-
"
|
|
108405
|
+
"privacy": "protected",
|
|
108406
|
+
"default": "false",
|
|
108407
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
108377
108408
|
"inheritedFrom": {
|
|
108378
|
-
"name": "
|
|
108379
|
-
"module": "
|
|
108409
|
+
"name": "SbbFormAssociatedMixin",
|
|
108410
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
108380
108411
|
}
|
|
108381
108412
|
},
|
|
108382
108413
|
{
|
|
108383
108414
|
"kind": "method",
|
|
108384
|
-
"name": "
|
|
108385
|
-
"privacy": "
|
|
108415
|
+
"name": "checkValidity",
|
|
108416
|
+
"privacy": "public",
|
|
108386
108417
|
"return": {
|
|
108387
108418
|
"type": {
|
|
108388
|
-
"text": "
|
|
108419
|
+
"text": "boolean"
|
|
108389
108420
|
}
|
|
108390
108421
|
},
|
|
108391
|
-
"description": "
|
|
108422
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
108392
108423
|
"inheritedFrom": {
|
|
108393
|
-
"name": "
|
|
108394
|
-
"module": "core/
|
|
108424
|
+
"name": "SbbFormAssociatedMixin",
|
|
108425
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
108395
108426
|
}
|
|
108396
108427
|
},
|
|
108397
108428
|
{
|
|
108398
|
-
"kind": "
|
|
108399
|
-
"name": "
|
|
108400
|
-
"type": {
|
|
108401
|
-
"text": "string"
|
|
108402
|
-
},
|
|
108429
|
+
"kind": "method",
|
|
108430
|
+
"name": "reportValidity",
|
|
108403
108431
|
"privacy": "public",
|
|
108404
|
-
"
|
|
108405
|
-
|
|
108406
|
-
|
|
108432
|
+
"return": {
|
|
108433
|
+
"type": {
|
|
108434
|
+
"text": "boolean"
|
|
108435
|
+
}
|
|
108436
|
+
},
|
|
108437
|
+
"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.",
|
|
108407
108438
|
"inheritedFrom": {
|
|
108408
|
-
"name": "
|
|
108409
|
-
"module": "
|
|
108439
|
+
"name": "SbbFormAssociatedMixin",
|
|
108440
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
108410
108441
|
}
|
|
108411
108442
|
},
|
|
108412
108443
|
{
|
|
108413
108444
|
"kind": "method",
|
|
108414
|
-
"name": "
|
|
108415
|
-
"privacy": "
|
|
108445
|
+
"name": "setCustomValidity",
|
|
108446
|
+
"privacy": "public",
|
|
108416
108447
|
"return": {
|
|
108417
108448
|
"type": {
|
|
108418
|
-
"text": "
|
|
108449
|
+
"text": "void"
|
|
108419
108450
|
}
|
|
108420
108451
|
},
|
|
108421
108452
|
"parameters": [
|
|
108422
108453
|
{
|
|
108423
|
-
"name": "
|
|
108424
|
-
"optional": true,
|
|
108454
|
+
"name": "message",
|
|
108425
108455
|
"type": {
|
|
108426
108456
|
"text": "string"
|
|
108427
108457
|
}
|
|
108428
108458
|
}
|
|
108429
108459
|
],
|
|
108460
|
+
"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.",
|
|
108430
108461
|
"inheritedFrom": {
|
|
108431
|
-
"name": "
|
|
108432
|
-
"module": "
|
|
108462
|
+
"name": "SbbFormAssociatedMixin",
|
|
108463
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
108433
108464
|
}
|
|
108434
108465
|
},
|
|
108435
108466
|
{
|
|
108436
108467
|
"kind": "method",
|
|
108437
|
-
"name": "
|
|
108438
|
-
"privacy": "
|
|
108468
|
+
"name": "_hasDisabledAncestor",
|
|
108469
|
+
"privacy": "private",
|
|
108439
108470
|
"return": {
|
|
108440
108471
|
"type": {
|
|
108441
|
-
"text": "
|
|
108472
|
+
"text": "boolean"
|
|
108442
108473
|
}
|
|
108443
108474
|
},
|
|
108444
108475
|
"inheritedFrom": {
|
|
108445
|
-
"name": "
|
|
108446
|
-
"module": "
|
|
108476
|
+
"name": "SbbFormAssociatedMixin",
|
|
108477
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
108447
108478
|
}
|
|
108448
108479
|
},
|
|
108449
108480
|
{
|
|
108450
108481
|
"kind": "method",
|
|
108451
|
-
"name": "
|
|
108452
|
-
"privacy": "
|
|
108482
|
+
"name": "updateFormValue",
|
|
108483
|
+
"privacy": "protected",
|
|
108453
108484
|
"return": {
|
|
108454
108485
|
"type": {
|
|
108455
|
-
"text": "
|
|
108486
|
+
"text": "void"
|
|
108456
108487
|
}
|
|
108457
108488
|
},
|
|
108489
|
+
"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",
|
|
108458
108490
|
"inheritedFrom": {
|
|
108459
|
-
"name": "
|
|
108460
|
-
"module": "
|
|
108461
|
-
}
|
|
108462
|
-
},
|
|
108463
|
-
{
|
|
108464
|
-
"kind": "field",
|
|
108465
|
-
"name": "disabled",
|
|
108466
|
-
"privacy": "public",
|
|
108467
|
-
"description": "Whether the component is disabled.",
|
|
108468
|
-
"default": "false",
|
|
108469
|
-
"type": {
|
|
108470
|
-
"text": "boolean"
|
|
108471
|
-
},
|
|
108472
|
-
"attribute": "disabled",
|
|
108473
|
-
"reflects": true,
|
|
108474
|
-
"inheritedFrom": {
|
|
108475
|
-
"name": "SbbDisabledMixin",
|
|
108476
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
108477
|
-
}
|
|
108478
|
-
},
|
|
108479
|
-
{
|
|
108480
|
-
"kind": "field",
|
|
108481
|
-
"name": "#disabled",
|
|
108482
|
-
"privacy": "private",
|
|
108483
|
-
"type": {
|
|
108484
|
-
"text": "boolean"
|
|
108485
|
-
},
|
|
108486
|
-
"default": "false",
|
|
108487
|
-
"inheritedFrom": {
|
|
108488
|
-
"name": "SbbDisabledMixin",
|
|
108489
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
108491
|
+
"name": "SbbFormAssociatedMixin",
|
|
108492
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
108490
108493
|
}
|
|
108491
108494
|
},
|
|
108492
108495
|
{
|
|
108493
108496
|
"kind": "method",
|
|
108494
|
-
"name": "
|
|
108497
|
+
"name": "formState",
|
|
108495
108498
|
"privacy": "protected",
|
|
108496
108499
|
"return": {
|
|
108497
108500
|
"type": {
|
|
108498
|
-
"text": "
|
|
108501
|
+
"text": "FormRestoreState"
|
|
108499
108502
|
}
|
|
108500
108503
|
},
|
|
108501
|
-
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
108502
|
-
"inheritedFrom": {
|
|
108503
|
-
"name": "SbbDisabledMixin",
|
|
108504
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
108505
|
-
}
|
|
108506
|
-
},
|
|
108507
|
-
{
|
|
108508
|
-
"kind": "field",
|
|
108509
|
-
"name": "href",
|
|
108510
|
-
"type": {
|
|
108511
|
-
"text": "string"
|
|
108512
|
-
},
|
|
108513
|
-
"privacy": "public",
|
|
108514
|
-
"default": "''",
|
|
108515
|
-
"description": "The href value you want to link to.",
|
|
108516
|
-
"attribute": "href",
|
|
108517
|
-
"reflects": true,
|
|
108518
108504
|
"inheritedFrom": {
|
|
108519
|
-
"name": "
|
|
108520
|
-
"module": "core/
|
|
108505
|
+
"name": "SbbFormAssociatedMixin",
|
|
108506
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
108521
108507
|
}
|
|
108522
108508
|
},
|
|
108523
108509
|
{
|
|
108524
|
-
"kind": "
|
|
108525
|
-
"name": "
|
|
108526
|
-
"
|
|
108527
|
-
|
|
108510
|
+
"kind": "method",
|
|
108511
|
+
"name": "setValidityFlag",
|
|
108512
|
+
"privacy": "protected",
|
|
108513
|
+
"return": {
|
|
108514
|
+
"type": {
|
|
108515
|
+
"text": "void"
|
|
108516
|
+
}
|
|
108528
108517
|
},
|
|
108529
|
-
"
|
|
108530
|
-
|
|
108531
|
-
|
|
108532
|
-
|
|
108533
|
-
|
|
108518
|
+
"parameters": [
|
|
108519
|
+
{
|
|
108520
|
+
"name": "flag",
|
|
108521
|
+
"type": {
|
|
108522
|
+
"text": "T"
|
|
108523
|
+
}
|
|
108524
|
+
},
|
|
108525
|
+
{
|
|
108526
|
+
"name": "message",
|
|
108527
|
+
"type": {
|
|
108528
|
+
"text": "string"
|
|
108529
|
+
}
|
|
108530
|
+
},
|
|
108531
|
+
{
|
|
108532
|
+
"name": "flagValue",
|
|
108533
|
+
"optional": true,
|
|
108534
|
+
"type": {
|
|
108535
|
+
"text": "ValidityStateFlags[T]"
|
|
108536
|
+
}
|
|
108537
|
+
}
|
|
108538
|
+
],
|
|
108539
|
+
"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).",
|
|
108534
108540
|
"inheritedFrom": {
|
|
108535
|
-
"name": "
|
|
108536
|
-
"module": "core/
|
|
108541
|
+
"name": "SbbFormAssociatedMixin",
|
|
108542
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
108537
108543
|
}
|
|
108538
108544
|
},
|
|
108539
108545
|
{
|
|
108540
|
-
"kind": "
|
|
108541
|
-
"name": "
|
|
108542
|
-
"
|
|
108543
|
-
|
|
108546
|
+
"kind": "method",
|
|
108547
|
+
"name": "removeValidityFlag",
|
|
108548
|
+
"privacy": "protected",
|
|
108549
|
+
"return": {
|
|
108550
|
+
"type": {
|
|
108551
|
+
"text": "void"
|
|
108552
|
+
}
|
|
108544
108553
|
},
|
|
108545
|
-
"
|
|
108546
|
-
|
|
108547
|
-
|
|
108548
|
-
|
|
108549
|
-
|
|
108554
|
+
"parameters": [
|
|
108555
|
+
{
|
|
108556
|
+
"name": "flag",
|
|
108557
|
+
"type": {
|
|
108558
|
+
"text": "T"
|
|
108559
|
+
}
|
|
108560
|
+
}
|
|
108561
|
+
],
|
|
108562
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
108550
108563
|
"inheritedFrom": {
|
|
108551
|
-
"name": "
|
|
108552
|
-
"module": "core/
|
|
108564
|
+
"name": "SbbFormAssociatedMixin",
|
|
108565
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
108553
108566
|
}
|
|
108554
108567
|
},
|
|
108555
108568
|
{
|
|
108556
|
-
"kind": "
|
|
108557
|
-
"name": "
|
|
108558
|
-
"
|
|
108559
|
-
|
|
108569
|
+
"kind": "method",
|
|
108570
|
+
"name": "validate",
|
|
108571
|
+
"privacy": "protected",
|
|
108572
|
+
"return": {
|
|
108573
|
+
"type": {
|
|
108574
|
+
"text": "void"
|
|
108575
|
+
}
|
|
108560
108576
|
},
|
|
108561
|
-
"
|
|
108562
|
-
"default": "false",
|
|
108563
|
-
"description": "Whether the browser will show the download dialog on click.",
|
|
108564
|
-
"attribute": "download",
|
|
108565
|
-
"reflects": true,
|
|
108577
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
108566
108578
|
"inheritedFrom": {
|
|
108567
|
-
"name": "
|
|
108568
|
-
"module": "core/
|
|
108579
|
+
"name": "SbbFormAssociatedMixin",
|
|
108580
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
108569
108581
|
}
|
|
108570
108582
|
},
|
|
108571
108583
|
{
|
|
108572
|
-
"kind": "
|
|
108573
|
-
"name": "
|
|
108574
|
-
"
|
|
108575
|
-
|
|
108584
|
+
"kind": "method",
|
|
108585
|
+
"name": "shouldValidate",
|
|
108586
|
+
"privacy": "protected",
|
|
108587
|
+
"return": {
|
|
108588
|
+
"type": {
|
|
108589
|
+
"text": "boolean"
|
|
108590
|
+
}
|
|
108576
108591
|
},
|
|
108577
|
-
"
|
|
108578
|
-
|
|
108579
|
-
|
|
108580
|
-
|
|
108592
|
+
"parameters": [
|
|
108593
|
+
{
|
|
108594
|
+
"name": "name",
|
|
108595
|
+
"type": {
|
|
108596
|
+
"text": "PropertyKey | undefined"
|
|
108597
|
+
}
|
|
108598
|
+
}
|
|
108599
|
+
],
|
|
108600
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
108581
108601
|
"inheritedFrom": {
|
|
108582
|
-
"name": "
|
|
108583
|
-
"module": "core/
|
|
108602
|
+
"name": "SbbFormAssociatedMixin",
|
|
108603
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
108584
108604
|
}
|
|
108585
108605
|
},
|
|
108586
108606
|
{
|
|
108587
|
-
"kind": "
|
|
108588
|
-
"name": "
|
|
108589
|
-
"
|
|
108590
|
-
|
|
108607
|
+
"kind": "method",
|
|
108608
|
+
"name": "_setInternalValidity",
|
|
108609
|
+
"privacy": "private",
|
|
108610
|
+
"return": {
|
|
108611
|
+
"type": {
|
|
108612
|
+
"text": "void"
|
|
108613
|
+
}
|
|
108591
108614
|
},
|
|
108592
|
-
"privacy": "public",
|
|
108593
|
-
"default": "''",
|
|
108594
|
-
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
108595
|
-
"attribute": "accessibility-current",
|
|
108596
108615
|
"inheritedFrom": {
|
|
108597
|
-
"name": "
|
|
108598
|
-
"module": "core/
|
|
108616
|
+
"name": "SbbFormAssociatedMixin",
|
|
108617
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
108599
108618
|
}
|
|
108600
108619
|
},
|
|
108601
108620
|
{
|
|
108602
108621
|
"kind": "field",
|
|
108603
|
-
"name": "
|
|
108604
|
-
"privacy": "
|
|
108605
|
-
"
|
|
108622
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
108623
|
+
"privacy": "private",
|
|
108624
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
108625
|
+
"parameters": [
|
|
108626
|
+
{
|
|
108627
|
+
"description": "The origin event.",
|
|
108628
|
+
"name": "event"
|
|
108629
|
+
}
|
|
108630
|
+
],
|
|
108606
108631
|
"inheritedFrom": {
|
|
108607
|
-
"name": "
|
|
108608
|
-
"module": "core/base-elements/
|
|
108632
|
+
"name": "SbbButtonLikeBaseElement",
|
|
108633
|
+
"module": "core/base-elements/button-base-element.js"
|
|
108609
108634
|
}
|
|
108610
108635
|
},
|
|
108611
108636
|
{
|
|
108612
108637
|
"kind": "field",
|
|
108613
|
-
"name": "
|
|
108638
|
+
"name": "_removeActiveMarker",
|
|
108614
108639
|
"privacy": "private",
|
|
108615
108640
|
"inheritedFrom": {
|
|
108616
|
-
"name": "
|
|
108617
|
-
"module": "core/base-elements/
|
|
108641
|
+
"name": "SbbButtonLikeBaseElement",
|
|
108642
|
+
"module": "core/base-elements/button-base-element.js"
|
|
108618
108643
|
}
|
|
108619
108644
|
},
|
|
108620
108645
|
{
|
|
108621
|
-
"kind": "
|
|
108622
|
-
"name": "
|
|
108623
|
-
"privacy": "
|
|
108624
|
-
"
|
|
108625
|
-
"type": {
|
|
108626
|
-
"text": "TemplateResult"
|
|
108627
|
-
}
|
|
108628
|
-
},
|
|
108646
|
+
"kind": "field",
|
|
108647
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
108648
|
+
"privacy": "private",
|
|
108649
|
+
"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.",
|
|
108629
108650
|
"parameters": [
|
|
108630
108651
|
{
|
|
108631
|
-
"
|
|
108632
|
-
"
|
|
108633
|
-
"text": "TemplateResult"
|
|
108634
|
-
}
|
|
108652
|
+
"description": "The origin event.",
|
|
108653
|
+
"name": "event"
|
|
108635
108654
|
}
|
|
108636
108655
|
],
|
|
108637
108656
|
"inheritedFrom": {
|
|
108638
|
-
"name": "
|
|
108639
|
-
"module": "core/base-elements/
|
|
108657
|
+
"name": "SbbButtonLikeBaseElement",
|
|
108658
|
+
"module": "core/base-elements/button-base-element.js"
|
|
108659
|
+
}
|
|
108660
|
+
},
|
|
108661
|
+
{
|
|
108662
|
+
"kind": "field",
|
|
108663
|
+
"name": "_dispatchClickEvent",
|
|
108664
|
+
"privacy": "private",
|
|
108665
|
+
"inheritedFrom": {
|
|
108666
|
+
"name": "SbbButtonLikeBaseElement",
|
|
108667
|
+
"module": "core/base-elements/button-base-element.js"
|
|
108640
108668
|
}
|
|
108641
108669
|
},
|
|
108642
108670
|
{
|
|
@@ -108787,7 +108815,7 @@
|
|
|
108787
108815
|
],
|
|
108788
108816
|
"mixins": [
|
|
108789
108817
|
{
|
|
108790
|
-
"name": "
|
|
108818
|
+
"name": "SbbDisabledTabIndexActionMixin",
|
|
108791
108819
|
"module": "core/mixins.js"
|
|
108792
108820
|
},
|
|
108793
108821
|
{
|
|
@@ -108796,10 +108824,10 @@
|
|
|
108796
108824
|
}
|
|
108797
108825
|
],
|
|
108798
108826
|
"superclass": {
|
|
108799
|
-
"name": "
|
|
108827
|
+
"name": "SbbButtonBaseElement",
|
|
108800
108828
|
"module": "core/base-elements.js"
|
|
108801
108829
|
},
|
|
108802
|
-
"tagName": "sbb-menu-
|
|
108830
|
+
"tagName": "sbb-menu-button",
|
|
108803
108831
|
"customElement": true,
|
|
108804
108832
|
"attributes": [
|
|
108805
108833
|
{
|
|
@@ -108815,19 +108843,6 @@
|
|
|
108815
108843
|
"module": "core/mixins/disabled-mixin.js"
|
|
108816
108844
|
}
|
|
108817
108845
|
},
|
|
108818
|
-
{
|
|
108819
|
-
"name": "icon-name",
|
|
108820
|
-
"type": {
|
|
108821
|
-
"text": "string"
|
|
108822
|
-
},
|
|
108823
|
-
"default": "''",
|
|
108824
|
-
"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.",
|
|
108825
|
-
"fieldName": "iconName",
|
|
108826
|
-
"inheritedFrom": {
|
|
108827
|
-
"name": "SbbIconNameMixin",
|
|
108828
|
-
"module": "icon/icon-name-mixin.js"
|
|
108829
|
-
}
|
|
108830
|
-
},
|
|
108831
108846
|
{
|
|
108832
108847
|
"name": "disabled",
|
|
108833
108848
|
"description": "Whether the component is disabled.",
|
|
@@ -108842,81 +108857,66 @@
|
|
|
108842
108857
|
}
|
|
108843
108858
|
},
|
|
108844
108859
|
{
|
|
108845
|
-
"name": "
|
|
108860
|
+
"name": "icon-name",
|
|
108846
108861
|
"type": {
|
|
108847
108862
|
"text": "string"
|
|
108848
108863
|
},
|
|
108849
108864
|
"default": "''",
|
|
108850
|
-
"description": "The
|
|
108851
|
-
"fieldName": "
|
|
108852
|
-
"inheritedFrom": {
|
|
108853
|
-
"name": "SbbLinkBaseElement",
|
|
108854
|
-
"module": "core/base-elements/link-base-element.js"
|
|
108855
|
-
}
|
|
108856
|
-
},
|
|
108857
|
-
{
|
|
108858
|
-
"name": "target",
|
|
108859
|
-
"type": {
|
|
108860
|
-
"text": "LinkTargetType | string"
|
|
108861
|
-
},
|
|
108862
|
-
"default": "''",
|
|
108863
|
-
"description": "Where to display the linked URL.",
|
|
108864
|
-
"fieldName": "target",
|
|
108865
|
+
"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.",
|
|
108866
|
+
"fieldName": "iconName",
|
|
108865
108867
|
"inheritedFrom": {
|
|
108866
|
-
"name": "
|
|
108867
|
-
"module": "
|
|
108868
|
+
"name": "SbbIconNameMixin",
|
|
108869
|
+
"module": "icon/icon-name-mixin.js"
|
|
108868
108870
|
}
|
|
108869
108871
|
},
|
|
108870
108872
|
{
|
|
108871
|
-
"name": "
|
|
108873
|
+
"name": "value",
|
|
108872
108874
|
"type": {
|
|
108873
108875
|
"text": "string"
|
|
108874
108876
|
},
|
|
108875
108877
|
"default": "''",
|
|
108876
|
-
"description": "
|
|
108877
|
-
"fieldName": "
|
|
108878
|
+
"description": "Value of the form element.",
|
|
108879
|
+
"fieldName": "value",
|
|
108878
108880
|
"inheritedFrom": {
|
|
108879
|
-
"name": "
|
|
108880
|
-
"module": "core/base-elements/
|
|
108881
|
+
"name": "SbbButtonBaseElement",
|
|
108882
|
+
"module": "core/base-elements/button-base-element.js"
|
|
108881
108883
|
}
|
|
108882
108884
|
},
|
|
108883
108885
|
{
|
|
108884
|
-
"name": "
|
|
108886
|
+
"name": "type",
|
|
108887
|
+
"description": "The type attribute to use for the button.",
|
|
108888
|
+
"default": "'button'",
|
|
108885
108889
|
"type": {
|
|
108886
|
-
"text": "
|
|
108890
|
+
"text": "SbbButtonType"
|
|
108887
108891
|
},
|
|
108888
|
-
"
|
|
108889
|
-
"description": "Whether the browser will show the download dialog on click.",
|
|
108890
|
-
"fieldName": "download",
|
|
108892
|
+
"fieldName": "type",
|
|
108891
108893
|
"inheritedFrom": {
|
|
108892
|
-
"name": "
|
|
108893
|
-
"module": "core/base-elements/
|
|
108894
|
+
"name": "SbbButtonBaseElement",
|
|
108895
|
+
"module": "core/base-elements/button-base-element.js"
|
|
108894
108896
|
}
|
|
108895
108897
|
},
|
|
108896
108898
|
{
|
|
108897
|
-
"name": "
|
|
108899
|
+
"name": "form",
|
|
108900
|
+
"description": "The `<form>` element to associate the button with.",
|
|
108898
108901
|
"type": {
|
|
108899
|
-
"text": "
|
|
108902
|
+
"text": "HTMLFormElement | null"
|
|
108900
108903
|
},
|
|
108901
|
-
"
|
|
108902
|
-
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
108903
|
-
"fieldName": "accessibilityLabel",
|
|
108904
|
+
"fieldName": "form",
|
|
108904
108905
|
"inheritedFrom": {
|
|
108905
|
-
"name": "
|
|
108906
|
-
"module": "core/base-elements/
|
|
108906
|
+
"name": "SbbButtonBaseElement",
|
|
108907
|
+
"module": "core/base-elements/button-base-element.js"
|
|
108907
108908
|
}
|
|
108908
108909
|
},
|
|
108909
108910
|
{
|
|
108910
|
-
"name": "
|
|
108911
|
+
"name": "name",
|
|
108912
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
108911
108913
|
"type": {
|
|
108912
108914
|
"text": "string"
|
|
108913
108915
|
},
|
|
108914
|
-
"
|
|
108915
|
-
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
108916
|
-
"fieldName": "accessibilityCurrent",
|
|
108916
|
+
"fieldName": "name",
|
|
108917
108917
|
"inheritedFrom": {
|
|
108918
|
-
"name": "
|
|
108919
|
-
"module": "core/
|
|
108918
|
+
"name": "SbbFormAssociatedMixin",
|
|
108919
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
108920
108920
|
}
|
|
108921
108921
|
}
|
|
108922
108922
|
]
|
|
@@ -108925,10 +108925,10 @@
|
|
|
108925
108925
|
"exports": [
|
|
108926
108926
|
{
|
|
108927
108927
|
"kind": "js",
|
|
108928
|
-
"name": "
|
|
108928
|
+
"name": "SbbMenuButtonElement",
|
|
108929
108929
|
"declaration": {
|
|
108930
|
-
"name": "
|
|
108931
|
-
"module": "menu/menu-
|
|
108930
|
+
"name": "SbbMenuButtonElement",
|
|
108931
|
+
"module": "menu/menu-button/menu-button.component.js"
|
|
108932
108932
|
}
|
|
108933
108933
|
}
|
|
108934
108934
|
]
|