@sbb-esta/lyne-elements 4.14.0 → 4.14.2
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 +1237 -1237
- package/development/flip-card/flip-card/flip-card.component.d.ts.map +1 -1
- package/development/flip-card/flip-card/flip-card.component.js +1 -1
- package/development/flip-card/flip-card.js +1 -1
- package/development/{flip-card.component-Df226cP3.js → flip-card.component-D5Bi3dE-.js} +6 -5
- package/development/flip-card.js +1 -1
- package/development/flip-card.pure.js +1 -1
- package/flip-card/flip-card/flip-card.component.js +1 -1
- package/flip-card/flip-card.js +1 -1
- package/{flip-card.component-D8D-b1oO.js → flip-card.component-BCfWcmYq.js} +4 -2
- package/flip-card.js +1 -1
- package/flip-card.pure.js +1 -1
- package/package.json +1 -1
package/custom-elements.json
CHANGED
|
@@ -37131,12 +37131,12 @@
|
|
|
37131
37131
|
},
|
|
37132
37132
|
{
|
|
37133
37133
|
"kind": "javascript-module",
|
|
37134
|
-
"path": "button/accent-button
|
|
37134
|
+
"path": "button/accent-button/accent-button.component.js",
|
|
37135
37135
|
"declarations": [
|
|
37136
37136
|
{
|
|
37137
37137
|
"kind": "class",
|
|
37138
|
-
"description": "It displays a button enhanced with the SBB Design in the 'accent' variant
|
|
37139
|
-
"name": "
|
|
37138
|
+
"description": "It displays a button enhanced with the SBB Design in the 'accent' variant.",
|
|
37139
|
+
"name": "SbbAccentButtonElement",
|
|
37140
37140
|
"cssProperties": [
|
|
37141
37141
|
{
|
|
37142
37142
|
"description": "The delay before the loading animation starts, when setting the button into loading state.",
|
|
@@ -37146,7 +37146,7 @@
|
|
|
37146
37146
|
],
|
|
37147
37147
|
"slots": [
|
|
37148
37148
|
{
|
|
37149
|
-
"description": "Use the unnamed slot to add content to the accent-button
|
|
37149
|
+
"description": "Use the unnamed slot to add content to the accent-button.",
|
|
37150
37150
|
"name": ""
|
|
37151
37151
|
},
|
|
37152
37152
|
{
|
|
@@ -37164,7 +37164,7 @@
|
|
|
37164
37164
|
"privacy": "public",
|
|
37165
37165
|
"static": true,
|
|
37166
37166
|
"readonly": true,
|
|
37167
|
-
"default": "'sbb-accent-button
|
|
37167
|
+
"default": "'sbb-accent-button'",
|
|
37168
37168
|
"inheritedFrom": {
|
|
37169
37169
|
"name": "SbbElement",
|
|
37170
37170
|
"module": "core/base-elements/element.js"
|
|
@@ -37361,151 +37361,479 @@
|
|
|
37361
37361
|
},
|
|
37362
37362
|
{
|
|
37363
37363
|
"kind": "field",
|
|
37364
|
-
"name": "
|
|
37364
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
37365
|
+
"type": {
|
|
37366
|
+
"text": "array"
|
|
37367
|
+
},
|
|
37368
|
+
"privacy": "private",
|
|
37369
|
+
"readonly": true,
|
|
37370
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
37371
|
+
"inheritedFrom": {
|
|
37372
|
+
"name": "SbbButtonBaseElement",
|
|
37373
|
+
"module": "core/base-elements/button-base-element.js"
|
|
37374
|
+
}
|
|
37375
|
+
},
|
|
37376
|
+
{
|
|
37377
|
+
"kind": "field",
|
|
37378
|
+
"name": "value",
|
|
37365
37379
|
"type": {
|
|
37366
37380
|
"text": "string"
|
|
37367
37381
|
},
|
|
37368
37382
|
"privacy": "public",
|
|
37369
37383
|
"default": "''",
|
|
37370
|
-
"description": "
|
|
37371
|
-
"attribute": "
|
|
37372
|
-
"reflects": true,
|
|
37384
|
+
"description": "Value of the form element.",
|
|
37385
|
+
"attribute": "value",
|
|
37373
37386
|
"inheritedFrom": {
|
|
37374
|
-
"name": "
|
|
37375
|
-
"module": "core/base-elements/
|
|
37387
|
+
"name": "SbbButtonBaseElement",
|
|
37388
|
+
"module": "core/base-elements/button-base-element.js"
|
|
37376
37389
|
}
|
|
37377
37390
|
},
|
|
37378
37391
|
{
|
|
37379
37392
|
"kind": "field",
|
|
37380
|
-
"name": "
|
|
37393
|
+
"name": "type",
|
|
37394
|
+
"privacy": "public",
|
|
37395
|
+
"description": "The type attribute to use for the button.",
|
|
37396
|
+
"default": "'button'",
|
|
37381
37397
|
"type": {
|
|
37382
|
-
"text": "
|
|
37398
|
+
"text": "SbbButtonType"
|
|
37399
|
+
},
|
|
37400
|
+
"attribute": "type",
|
|
37401
|
+
"inheritedFrom": {
|
|
37402
|
+
"name": "SbbButtonBaseElement",
|
|
37403
|
+
"module": "core/base-elements/button-base-element.js"
|
|
37404
|
+
}
|
|
37405
|
+
},
|
|
37406
|
+
{
|
|
37407
|
+
"kind": "field",
|
|
37408
|
+
"name": "form",
|
|
37409
|
+
"type": {
|
|
37410
|
+
"text": "HTMLFormElement | null"
|
|
37383
37411
|
},
|
|
37384
37412
|
"privacy": "public",
|
|
37385
|
-
"
|
|
37386
|
-
"
|
|
37387
|
-
"attribute": "target",
|
|
37388
|
-
"reflects": true,
|
|
37413
|
+
"description": "The `<form>` element to associate the button with.",
|
|
37414
|
+
"attribute": "form",
|
|
37389
37415
|
"inheritedFrom": {
|
|
37390
|
-
"name": "
|
|
37391
|
-
"module": "core/base-elements/
|
|
37416
|
+
"name": "SbbButtonBaseElement",
|
|
37417
|
+
"module": "core/base-elements/button-base-element.js"
|
|
37392
37418
|
}
|
|
37393
37419
|
},
|
|
37394
37420
|
{
|
|
37395
37421
|
"kind": "field",
|
|
37396
|
-
"name": "
|
|
37422
|
+
"name": "_formId",
|
|
37397
37423
|
"type": {
|
|
37398
37424
|
"text": "string"
|
|
37399
37425
|
},
|
|
37400
|
-
"privacy": "
|
|
37426
|
+
"privacy": "private",
|
|
37401
37427
|
"default": "''",
|
|
37402
|
-
"description": "The relationship of the linked URL as space-separated link types.",
|
|
37403
|
-
"attribute": "rel",
|
|
37404
|
-
"reflects": true,
|
|
37405
37428
|
"inheritedFrom": {
|
|
37406
|
-
"name": "
|
|
37407
|
-
"module": "core/base-elements/
|
|
37429
|
+
"name": "SbbButtonBaseElement",
|
|
37430
|
+
"module": "core/base-elements/button-base-element.js"
|
|
37408
37431
|
}
|
|
37409
37432
|
},
|
|
37410
37433
|
{
|
|
37411
37434
|
"kind": "field",
|
|
37412
|
-
"name": "
|
|
37435
|
+
"name": "_handleButtonClick",
|
|
37436
|
+
"privacy": "private",
|
|
37437
|
+
"inheritedFrom": {
|
|
37438
|
+
"name": "SbbButtonBaseElement",
|
|
37439
|
+
"module": "core/base-elements/button-base-element.js"
|
|
37440
|
+
}
|
|
37441
|
+
},
|
|
37442
|
+
{
|
|
37443
|
+
"kind": "method",
|
|
37444
|
+
"name": "_requestSubmit",
|
|
37445
|
+
"privacy": "private",
|
|
37446
|
+
"return": {
|
|
37447
|
+
"type": {
|
|
37448
|
+
"text": "void"
|
|
37449
|
+
}
|
|
37450
|
+
},
|
|
37451
|
+
"parameters": [
|
|
37452
|
+
{
|
|
37453
|
+
"name": "form",
|
|
37454
|
+
"type": {
|
|
37455
|
+
"text": "HTMLFormElement"
|
|
37456
|
+
}
|
|
37457
|
+
}
|
|
37458
|
+
],
|
|
37459
|
+
"inheritedFrom": {
|
|
37460
|
+
"name": "SbbButtonBaseElement",
|
|
37461
|
+
"module": "core/base-elements/button-base-element.js"
|
|
37462
|
+
}
|
|
37463
|
+
},
|
|
37464
|
+
{
|
|
37465
|
+
"kind": "field",
|
|
37466
|
+
"name": "_formKeyDown",
|
|
37467
|
+
"privacy": "private",
|
|
37468
|
+
"inheritedFrom": {
|
|
37469
|
+
"name": "SbbButtonBaseElement",
|
|
37470
|
+
"module": "core/base-elements/button-base-element.js"
|
|
37471
|
+
}
|
|
37472
|
+
},
|
|
37473
|
+
{
|
|
37474
|
+
"kind": "field",
|
|
37475
|
+
"name": "formAssociated",
|
|
37413
37476
|
"type": {
|
|
37414
37477
|
"text": "boolean"
|
|
37415
37478
|
},
|
|
37416
37479
|
"privacy": "public",
|
|
37417
|
-
"
|
|
37418
|
-
"
|
|
37419
|
-
"attribute": "download",
|
|
37420
|
-
"reflects": true,
|
|
37480
|
+
"static": true,
|
|
37481
|
+
"default": "true",
|
|
37421
37482
|
"inheritedFrom": {
|
|
37422
|
-
"name": "
|
|
37423
|
-
"module": "core/
|
|
37483
|
+
"name": "SbbFormAssociatedMixin",
|
|
37484
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
37424
37485
|
}
|
|
37425
37486
|
},
|
|
37426
37487
|
{
|
|
37427
37488
|
"kind": "field",
|
|
37428
|
-
"name": "
|
|
37489
|
+
"name": "name",
|
|
37490
|
+
"privacy": "public",
|
|
37491
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
37429
37492
|
"type": {
|
|
37430
37493
|
"text": "string"
|
|
37431
37494
|
},
|
|
37495
|
+
"attribute": "name",
|
|
37496
|
+
"inheritedFrom": {
|
|
37497
|
+
"name": "SbbFormAssociatedMixin",
|
|
37498
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
37499
|
+
}
|
|
37500
|
+
},
|
|
37501
|
+
{
|
|
37502
|
+
"kind": "field",
|
|
37503
|
+
"name": "validity",
|
|
37504
|
+
"type": {
|
|
37505
|
+
"text": "ValidityState"
|
|
37506
|
+
},
|
|
37432
37507
|
"privacy": "public",
|
|
37433
|
-
"
|
|
37434
|
-
"
|
|
37435
|
-
"attribute": "accessibility-label",
|
|
37508
|
+
"description": "Returns the ValidityState object for this element.",
|
|
37509
|
+
"readonly": true,
|
|
37436
37510
|
"inheritedFrom": {
|
|
37437
|
-
"name": "
|
|
37438
|
-
"module": "core/
|
|
37511
|
+
"name": "SbbFormAssociatedMixin",
|
|
37512
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
37439
37513
|
}
|
|
37440
37514
|
},
|
|
37441
37515
|
{
|
|
37442
37516
|
"kind": "field",
|
|
37443
|
-
"name": "
|
|
37517
|
+
"name": "validationMessage",
|
|
37444
37518
|
"type": {
|
|
37445
37519
|
"text": "string"
|
|
37446
37520
|
},
|
|
37447
37521
|
"privacy": "public",
|
|
37448
|
-
"
|
|
37449
|
-
"
|
|
37450
|
-
"attribute": "accessibility-current",
|
|
37522
|
+
"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.",
|
|
37523
|
+
"readonly": true,
|
|
37451
37524
|
"inheritedFrom": {
|
|
37452
|
-
"name": "
|
|
37453
|
-
"module": "core/
|
|
37525
|
+
"name": "SbbFormAssociatedMixin",
|
|
37526
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
37454
37527
|
}
|
|
37455
37528
|
},
|
|
37456
37529
|
{
|
|
37457
37530
|
"kind": "field",
|
|
37458
|
-
"name": "
|
|
37459
|
-
"
|
|
37460
|
-
|
|
37531
|
+
"name": "willValidate",
|
|
37532
|
+
"type": {
|
|
37533
|
+
"text": "boolean"
|
|
37534
|
+
},
|
|
37535
|
+
"privacy": "public",
|
|
37536
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
37537
|
+
"readonly": true,
|
|
37461
37538
|
"inheritedFrom": {
|
|
37462
|
-
"name": "
|
|
37463
|
-
"module": "core/
|
|
37539
|
+
"name": "SbbFormAssociatedMixin",
|
|
37540
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
37464
37541
|
}
|
|
37465
37542
|
},
|
|
37466
37543
|
{
|
|
37467
37544
|
"kind": "field",
|
|
37468
|
-
"name": "
|
|
37545
|
+
"name": "_validityStates",
|
|
37546
|
+
"privacy": "private",
|
|
37547
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
37548
|
+
"inheritedFrom": {
|
|
37549
|
+
"name": "SbbFormAssociatedMixin",
|
|
37550
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
37551
|
+
}
|
|
37552
|
+
},
|
|
37553
|
+
{
|
|
37554
|
+
"kind": "field",
|
|
37555
|
+
"name": "formDisabled",
|
|
37469
37556
|
"type": {
|
|
37470
|
-
"text": "
|
|
37557
|
+
"text": "boolean"
|
|
37471
37558
|
},
|
|
37472
37559
|
"privacy": "protected",
|
|
37473
|
-
"
|
|
37474
|
-
"
|
|
37560
|
+
"default": "false",
|
|
37561
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
37475
37562
|
"inheritedFrom": {
|
|
37476
|
-
"name": "
|
|
37477
|
-
"module": "core/
|
|
37563
|
+
"name": "SbbFormAssociatedMixin",
|
|
37564
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
37478
37565
|
}
|
|
37479
37566
|
},
|
|
37480
37567
|
{
|
|
37481
|
-
"kind": "
|
|
37482
|
-
"name": "
|
|
37568
|
+
"kind": "method",
|
|
37569
|
+
"name": "checkValidity",
|
|
37570
|
+
"privacy": "public",
|
|
37571
|
+
"return": {
|
|
37572
|
+
"type": {
|
|
37573
|
+
"text": "boolean"
|
|
37574
|
+
}
|
|
37575
|
+
},
|
|
37576
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
37577
|
+
"inheritedFrom": {
|
|
37578
|
+
"name": "SbbFormAssociatedMixin",
|
|
37579
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
37580
|
+
}
|
|
37581
|
+
},
|
|
37582
|
+
{
|
|
37583
|
+
"kind": "method",
|
|
37584
|
+
"name": "reportValidity",
|
|
37585
|
+
"privacy": "public",
|
|
37586
|
+
"return": {
|
|
37587
|
+
"type": {
|
|
37588
|
+
"text": "boolean"
|
|
37589
|
+
}
|
|
37590
|
+
},
|
|
37591
|
+
"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.",
|
|
37592
|
+
"inheritedFrom": {
|
|
37593
|
+
"name": "SbbFormAssociatedMixin",
|
|
37594
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
37595
|
+
}
|
|
37596
|
+
},
|
|
37597
|
+
{
|
|
37598
|
+
"kind": "method",
|
|
37599
|
+
"name": "setCustomValidity",
|
|
37600
|
+
"privacy": "public",
|
|
37601
|
+
"return": {
|
|
37602
|
+
"type": {
|
|
37603
|
+
"text": "void"
|
|
37604
|
+
}
|
|
37605
|
+
},
|
|
37606
|
+
"parameters": [
|
|
37607
|
+
{
|
|
37608
|
+
"name": "message",
|
|
37609
|
+
"type": {
|
|
37610
|
+
"text": "string"
|
|
37611
|
+
}
|
|
37612
|
+
}
|
|
37613
|
+
],
|
|
37614
|
+
"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.",
|
|
37615
|
+
"inheritedFrom": {
|
|
37616
|
+
"name": "SbbFormAssociatedMixin",
|
|
37617
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
37618
|
+
}
|
|
37619
|
+
},
|
|
37620
|
+
{
|
|
37621
|
+
"kind": "method",
|
|
37622
|
+
"name": "_hasDisabledAncestor",
|
|
37483
37623
|
"privacy": "private",
|
|
37624
|
+
"return": {
|
|
37625
|
+
"type": {
|
|
37626
|
+
"text": "boolean"
|
|
37627
|
+
}
|
|
37628
|
+
},
|
|
37484
37629
|
"inheritedFrom": {
|
|
37485
|
-
"name": "
|
|
37486
|
-
"module": "core/
|
|
37630
|
+
"name": "SbbFormAssociatedMixin",
|
|
37631
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
37487
37632
|
}
|
|
37488
37633
|
},
|
|
37489
37634
|
{
|
|
37490
37635
|
"kind": "method",
|
|
37491
|
-
"name": "
|
|
37636
|
+
"name": "updateFormValue",
|
|
37492
37637
|
"privacy": "protected",
|
|
37493
37638
|
"return": {
|
|
37494
37639
|
"type": {
|
|
37495
|
-
"text": "
|
|
37640
|
+
"text": "void"
|
|
37641
|
+
}
|
|
37642
|
+
},
|
|
37643
|
+
"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",
|
|
37644
|
+
"inheritedFrom": {
|
|
37645
|
+
"name": "SbbFormAssociatedMixin",
|
|
37646
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
37647
|
+
}
|
|
37648
|
+
},
|
|
37649
|
+
{
|
|
37650
|
+
"kind": "method",
|
|
37651
|
+
"name": "formState",
|
|
37652
|
+
"privacy": "protected",
|
|
37653
|
+
"return": {
|
|
37654
|
+
"type": {
|
|
37655
|
+
"text": "FormRestoreState"
|
|
37656
|
+
}
|
|
37657
|
+
},
|
|
37658
|
+
"inheritedFrom": {
|
|
37659
|
+
"name": "SbbFormAssociatedMixin",
|
|
37660
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
37661
|
+
}
|
|
37662
|
+
},
|
|
37663
|
+
{
|
|
37664
|
+
"kind": "method",
|
|
37665
|
+
"name": "setValidityFlag",
|
|
37666
|
+
"privacy": "protected",
|
|
37667
|
+
"return": {
|
|
37668
|
+
"type": {
|
|
37669
|
+
"text": "void"
|
|
37496
37670
|
}
|
|
37497
37671
|
},
|
|
37498
37672
|
"parameters": [
|
|
37499
37673
|
{
|
|
37500
|
-
"name": "
|
|
37674
|
+
"name": "flag",
|
|
37501
37675
|
"type": {
|
|
37502
|
-
"text": "
|
|
37676
|
+
"text": "T"
|
|
37677
|
+
}
|
|
37678
|
+
},
|
|
37679
|
+
{
|
|
37680
|
+
"name": "message",
|
|
37681
|
+
"type": {
|
|
37682
|
+
"text": "string"
|
|
37683
|
+
}
|
|
37684
|
+
},
|
|
37685
|
+
{
|
|
37686
|
+
"name": "flagValue",
|
|
37687
|
+
"optional": true,
|
|
37688
|
+
"type": {
|
|
37689
|
+
"text": "ValidityStateFlags[T]"
|
|
37503
37690
|
}
|
|
37504
37691
|
}
|
|
37505
37692
|
],
|
|
37693
|
+
"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).",
|
|
37506
37694
|
"inheritedFrom": {
|
|
37507
|
-
"name": "
|
|
37508
|
-
"module": "core/
|
|
37695
|
+
"name": "SbbFormAssociatedMixin",
|
|
37696
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
37697
|
+
}
|
|
37698
|
+
},
|
|
37699
|
+
{
|
|
37700
|
+
"kind": "method",
|
|
37701
|
+
"name": "removeValidityFlag",
|
|
37702
|
+
"privacy": "protected",
|
|
37703
|
+
"return": {
|
|
37704
|
+
"type": {
|
|
37705
|
+
"text": "void"
|
|
37706
|
+
}
|
|
37707
|
+
},
|
|
37708
|
+
"parameters": [
|
|
37709
|
+
{
|
|
37710
|
+
"name": "flag",
|
|
37711
|
+
"type": {
|
|
37712
|
+
"text": "T"
|
|
37713
|
+
}
|
|
37714
|
+
}
|
|
37715
|
+
],
|
|
37716
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
37717
|
+
"inheritedFrom": {
|
|
37718
|
+
"name": "SbbFormAssociatedMixin",
|
|
37719
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
37720
|
+
}
|
|
37721
|
+
},
|
|
37722
|
+
{
|
|
37723
|
+
"kind": "method",
|
|
37724
|
+
"name": "validate",
|
|
37725
|
+
"privacy": "protected",
|
|
37726
|
+
"return": {
|
|
37727
|
+
"type": {
|
|
37728
|
+
"text": "void"
|
|
37729
|
+
}
|
|
37730
|
+
},
|
|
37731
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
37732
|
+
"inheritedFrom": {
|
|
37733
|
+
"name": "SbbFormAssociatedMixin",
|
|
37734
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
37735
|
+
}
|
|
37736
|
+
},
|
|
37737
|
+
{
|
|
37738
|
+
"kind": "method",
|
|
37739
|
+
"name": "shouldValidate",
|
|
37740
|
+
"privacy": "protected",
|
|
37741
|
+
"return": {
|
|
37742
|
+
"type": {
|
|
37743
|
+
"text": "boolean"
|
|
37744
|
+
}
|
|
37745
|
+
},
|
|
37746
|
+
"parameters": [
|
|
37747
|
+
{
|
|
37748
|
+
"name": "name",
|
|
37749
|
+
"type": {
|
|
37750
|
+
"text": "PropertyKey | undefined"
|
|
37751
|
+
}
|
|
37752
|
+
}
|
|
37753
|
+
],
|
|
37754
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
37755
|
+
"inheritedFrom": {
|
|
37756
|
+
"name": "SbbFormAssociatedMixin",
|
|
37757
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
37758
|
+
}
|
|
37759
|
+
},
|
|
37760
|
+
{
|
|
37761
|
+
"kind": "method",
|
|
37762
|
+
"name": "_setInternalValidity",
|
|
37763
|
+
"privacy": "private",
|
|
37764
|
+
"return": {
|
|
37765
|
+
"type": {
|
|
37766
|
+
"text": "void"
|
|
37767
|
+
}
|
|
37768
|
+
},
|
|
37769
|
+
"inheritedFrom": {
|
|
37770
|
+
"name": "SbbFormAssociatedMixin",
|
|
37771
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
37772
|
+
}
|
|
37773
|
+
},
|
|
37774
|
+
{
|
|
37775
|
+
"kind": "field",
|
|
37776
|
+
"name": "role",
|
|
37777
|
+
"type": {
|
|
37778
|
+
"text": "ElementInternals['role']"
|
|
37779
|
+
},
|
|
37780
|
+
"privacy": "public",
|
|
37781
|
+
"static": true,
|
|
37782
|
+
"readonly": true,
|
|
37783
|
+
"default": "'button'",
|
|
37784
|
+
"inheritedFrom": {
|
|
37785
|
+
"name": "SbbButtonLikeBaseElement",
|
|
37786
|
+
"module": "core/base-elements/button-base-element.js"
|
|
37787
|
+
}
|
|
37788
|
+
},
|
|
37789
|
+
{
|
|
37790
|
+
"kind": "field",
|
|
37791
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
37792
|
+
"privacy": "private",
|
|
37793
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
37794
|
+
"parameters": [
|
|
37795
|
+
{
|
|
37796
|
+
"description": "The origin event.",
|
|
37797
|
+
"name": "event"
|
|
37798
|
+
}
|
|
37799
|
+
],
|
|
37800
|
+
"inheritedFrom": {
|
|
37801
|
+
"name": "SbbButtonLikeBaseElement",
|
|
37802
|
+
"module": "core/base-elements/button-base-element.js"
|
|
37803
|
+
}
|
|
37804
|
+
},
|
|
37805
|
+
{
|
|
37806
|
+
"kind": "field",
|
|
37807
|
+
"name": "_removeActiveMarker",
|
|
37808
|
+
"privacy": "private",
|
|
37809
|
+
"inheritedFrom": {
|
|
37810
|
+
"name": "SbbButtonLikeBaseElement",
|
|
37811
|
+
"module": "core/base-elements/button-base-element.js"
|
|
37812
|
+
}
|
|
37813
|
+
},
|
|
37814
|
+
{
|
|
37815
|
+
"kind": "field",
|
|
37816
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
37817
|
+
"privacy": "private",
|
|
37818
|
+
"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.",
|
|
37819
|
+
"parameters": [
|
|
37820
|
+
{
|
|
37821
|
+
"description": "The origin event.",
|
|
37822
|
+
"name": "event"
|
|
37823
|
+
}
|
|
37824
|
+
],
|
|
37825
|
+
"inheritedFrom": {
|
|
37826
|
+
"name": "SbbButtonLikeBaseElement",
|
|
37827
|
+
"module": "core/base-elements/button-base-element.js"
|
|
37828
|
+
}
|
|
37829
|
+
},
|
|
37830
|
+
{
|
|
37831
|
+
"kind": "field",
|
|
37832
|
+
"name": "_dispatchClickEvent",
|
|
37833
|
+
"privacy": "private",
|
|
37834
|
+
"inheritedFrom": {
|
|
37835
|
+
"name": "SbbButtonLikeBaseElement",
|
|
37836
|
+
"module": "core/base-elements/button-base-element.js"
|
|
37509
37837
|
}
|
|
37510
37838
|
},
|
|
37511
37839
|
{
|
|
@@ -37660,19 +37988,15 @@
|
|
|
37660
37988
|
"module": "button/common/button-common.js"
|
|
37661
37989
|
},
|
|
37662
37990
|
{
|
|
37663
|
-
"name": "
|
|
37664
|
-
"module": "core/mixins.js"
|
|
37665
|
-
},
|
|
37666
|
-
{
|
|
37667
|
-
"name": "SbbDisabledMixin",
|
|
37991
|
+
"name": "SbbDisabledTabIndexActionMixin",
|
|
37668
37992
|
"module": "core/mixins.js"
|
|
37669
37993
|
}
|
|
37670
37994
|
],
|
|
37671
37995
|
"superclass": {
|
|
37672
|
-
"name": "
|
|
37996
|
+
"name": "SbbButtonBaseElement",
|
|
37673
37997
|
"module": "core/base-elements.js"
|
|
37674
37998
|
},
|
|
37675
|
-
"tagName": "sbb-accent-button
|
|
37999
|
+
"tagName": "sbb-accent-button",
|
|
37676
38000
|
"customElement": true,
|
|
37677
38001
|
"attributes": [
|
|
37678
38002
|
{
|
|
@@ -37754,81 +38078,53 @@
|
|
|
37754
38078
|
}
|
|
37755
38079
|
},
|
|
37756
38080
|
{
|
|
37757
|
-
"name": "
|
|
38081
|
+
"name": "value",
|
|
37758
38082
|
"type": {
|
|
37759
38083
|
"text": "string"
|
|
37760
38084
|
},
|
|
37761
38085
|
"default": "''",
|
|
37762
|
-
"description": "
|
|
37763
|
-
"fieldName": "
|
|
38086
|
+
"description": "Value of the form element.",
|
|
38087
|
+
"fieldName": "value",
|
|
37764
38088
|
"inheritedFrom": {
|
|
37765
|
-
"name": "
|
|
37766
|
-
"module": "core/base-elements/
|
|
38089
|
+
"name": "SbbButtonBaseElement",
|
|
38090
|
+
"module": "core/base-elements/button-base-element.js"
|
|
37767
38091
|
}
|
|
37768
38092
|
},
|
|
37769
38093
|
{
|
|
37770
|
-
"name": "
|
|
38094
|
+
"name": "type",
|
|
38095
|
+
"description": "The type attribute to use for the button.",
|
|
38096
|
+
"default": "'button'",
|
|
37771
38097
|
"type": {
|
|
37772
|
-
"text": "
|
|
38098
|
+
"text": "SbbButtonType"
|
|
37773
38099
|
},
|
|
37774
|
-
"
|
|
37775
|
-
"description": "Where to display the linked URL.",
|
|
37776
|
-
"fieldName": "target",
|
|
38100
|
+
"fieldName": "type",
|
|
37777
38101
|
"inheritedFrom": {
|
|
37778
|
-
"name": "
|
|
37779
|
-
"module": "core/base-elements/
|
|
38102
|
+
"name": "SbbButtonBaseElement",
|
|
38103
|
+
"module": "core/base-elements/button-base-element.js"
|
|
37780
38104
|
}
|
|
37781
38105
|
},
|
|
37782
38106
|
{
|
|
37783
|
-
"name": "
|
|
38107
|
+
"name": "form",
|
|
38108
|
+
"description": "The `<form>` element to associate the button with.",
|
|
37784
38109
|
"type": {
|
|
37785
|
-
"text": "
|
|
38110
|
+
"text": "HTMLFormElement | null"
|
|
37786
38111
|
},
|
|
37787
|
-
"
|
|
37788
|
-
"description": "The relationship of the linked URL as space-separated link types.",
|
|
37789
|
-
"fieldName": "rel",
|
|
38112
|
+
"fieldName": "form",
|
|
37790
38113
|
"inheritedFrom": {
|
|
37791
|
-
"name": "
|
|
37792
|
-
"module": "core/base-elements/
|
|
38114
|
+
"name": "SbbButtonBaseElement",
|
|
38115
|
+
"module": "core/base-elements/button-base-element.js"
|
|
37793
38116
|
}
|
|
37794
38117
|
},
|
|
37795
38118
|
{
|
|
37796
|
-
"name": "
|
|
38119
|
+
"name": "name",
|
|
38120
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
37797
38121
|
"type": {
|
|
37798
|
-
"text": "
|
|
38122
|
+
"text": "string"
|
|
37799
38123
|
},
|
|
37800
|
-
"
|
|
37801
|
-
"description": "Whether the browser will show the download dialog on click.",
|
|
37802
|
-
"fieldName": "download",
|
|
37803
|
-
"inheritedFrom": {
|
|
37804
|
-
"name": "SbbLinkBaseElement",
|
|
37805
|
-
"module": "core/base-elements/link-base-element.js"
|
|
37806
|
-
}
|
|
37807
|
-
},
|
|
37808
|
-
{
|
|
37809
|
-
"name": "accessibility-label",
|
|
37810
|
-
"type": {
|
|
37811
|
-
"text": "string"
|
|
37812
|
-
},
|
|
37813
|
-
"default": "''",
|
|
37814
|
-
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
37815
|
-
"fieldName": "accessibilityLabel",
|
|
37816
|
-
"inheritedFrom": {
|
|
37817
|
-
"name": "SbbLinkBaseElement",
|
|
37818
|
-
"module": "core/base-elements/link-base-element.js"
|
|
37819
|
-
}
|
|
37820
|
-
},
|
|
37821
|
-
{
|
|
37822
|
-
"name": "accessibility-current",
|
|
37823
|
-
"type": {
|
|
37824
|
-
"text": "string"
|
|
37825
|
-
},
|
|
37826
|
-
"default": "''",
|
|
37827
|
-
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
37828
|
-
"fieldName": "accessibilityCurrent",
|
|
38124
|
+
"fieldName": "name",
|
|
37829
38125
|
"inheritedFrom": {
|
|
37830
|
-
"name": "
|
|
37831
|
-
"module": "core/
|
|
38126
|
+
"name": "SbbFormAssociatedMixin",
|
|
38127
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
37832
38128
|
}
|
|
37833
38129
|
}
|
|
37834
38130
|
]
|
|
@@ -37837,22 +38133,22 @@
|
|
|
37837
38133
|
"exports": [
|
|
37838
38134
|
{
|
|
37839
38135
|
"kind": "js",
|
|
37840
|
-
"name": "
|
|
38136
|
+
"name": "SbbAccentButtonElement",
|
|
37841
38137
|
"declaration": {
|
|
37842
|
-
"name": "
|
|
37843
|
-
"module": "button/accent-button
|
|
38138
|
+
"name": "SbbAccentButtonElement",
|
|
38139
|
+
"module": "button/accent-button/accent-button.component.js"
|
|
37844
38140
|
}
|
|
37845
38141
|
}
|
|
37846
38142
|
]
|
|
37847
38143
|
},
|
|
37848
38144
|
{
|
|
37849
38145
|
"kind": "javascript-module",
|
|
37850
|
-
"path": "button/accent-button/accent-button.component.js",
|
|
38146
|
+
"path": "button/accent-button-link/accent-button-link.component.js",
|
|
37851
38147
|
"declarations": [
|
|
37852
38148
|
{
|
|
37853
38149
|
"kind": "class",
|
|
37854
|
-
"description": "It displays a button enhanced with the SBB Design in the 'accent' variant.",
|
|
37855
|
-
"name": "
|
|
38150
|
+
"description": "It displays a button enhanced with the SBB Design in the 'accent' variant, which will behave as a link.",
|
|
38151
|
+
"name": "SbbAccentButtonLinkElement",
|
|
37856
38152
|
"cssProperties": [
|
|
37857
38153
|
{
|
|
37858
38154
|
"description": "The delay before the loading animation starts, when setting the button into loading state.",
|
|
@@ -37862,7 +38158,7 @@
|
|
|
37862
38158
|
],
|
|
37863
38159
|
"slots": [
|
|
37864
38160
|
{
|
|
37865
|
-
"description": "Use the unnamed slot to add content to the accent-button.",
|
|
38161
|
+
"description": "Use the unnamed slot to add content to the accent-button-link.",
|
|
37866
38162
|
"name": ""
|
|
37867
38163
|
},
|
|
37868
38164
|
{
|
|
@@ -37880,7 +38176,7 @@
|
|
|
37880
38176
|
"privacy": "public",
|
|
37881
38177
|
"static": true,
|
|
37882
38178
|
"readonly": true,
|
|
37883
|
-
"default": "'sbb-accent-button'",
|
|
38179
|
+
"default": "'sbb-accent-button-link'",
|
|
37884
38180
|
"inheritedFrom": {
|
|
37885
38181
|
"name": "SbbElement",
|
|
37886
38182
|
"module": "core/base-elements/element.js"
|
|
@@ -38077,479 +38373,151 @@
|
|
|
38077
38373
|
},
|
|
38078
38374
|
{
|
|
38079
38375
|
"kind": "field",
|
|
38080
|
-
"name": "
|
|
38081
|
-
"type": {
|
|
38082
|
-
"text": "array"
|
|
38083
|
-
},
|
|
38084
|
-
"privacy": "private",
|
|
38085
|
-
"readonly": true,
|
|
38086
|
-
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
38087
|
-
"inheritedFrom": {
|
|
38088
|
-
"name": "SbbButtonBaseElement",
|
|
38089
|
-
"module": "core/base-elements/button-base-element.js"
|
|
38090
|
-
}
|
|
38091
|
-
},
|
|
38092
|
-
{
|
|
38093
|
-
"kind": "field",
|
|
38094
|
-
"name": "value",
|
|
38376
|
+
"name": "href",
|
|
38095
38377
|
"type": {
|
|
38096
38378
|
"text": "string"
|
|
38097
38379
|
},
|
|
38098
38380
|
"privacy": "public",
|
|
38099
38381
|
"default": "''",
|
|
38100
|
-
"description": "
|
|
38101
|
-
"attribute": "
|
|
38102
|
-
"
|
|
38103
|
-
"name": "SbbButtonBaseElement",
|
|
38104
|
-
"module": "core/base-elements/button-base-element.js"
|
|
38105
|
-
}
|
|
38106
|
-
},
|
|
38107
|
-
{
|
|
38108
|
-
"kind": "field",
|
|
38109
|
-
"name": "type",
|
|
38110
|
-
"privacy": "public",
|
|
38111
|
-
"description": "The type attribute to use for the button.",
|
|
38112
|
-
"default": "'button'",
|
|
38113
|
-
"type": {
|
|
38114
|
-
"text": "SbbButtonType"
|
|
38115
|
-
},
|
|
38116
|
-
"attribute": "type",
|
|
38382
|
+
"description": "The href value you want to link to.",
|
|
38383
|
+
"attribute": "href",
|
|
38384
|
+
"reflects": true,
|
|
38117
38385
|
"inheritedFrom": {
|
|
38118
|
-
"name": "
|
|
38119
|
-
"module": "core/base-elements/
|
|
38386
|
+
"name": "SbbLinkBaseElement",
|
|
38387
|
+
"module": "core/base-elements/link-base-element.js"
|
|
38120
38388
|
}
|
|
38121
38389
|
},
|
|
38122
38390
|
{
|
|
38123
38391
|
"kind": "field",
|
|
38124
|
-
"name": "
|
|
38392
|
+
"name": "target",
|
|
38125
38393
|
"type": {
|
|
38126
|
-
"text": "
|
|
38394
|
+
"text": "LinkTargetType | string"
|
|
38127
38395
|
},
|
|
38128
38396
|
"privacy": "public",
|
|
38129
|
-
"
|
|
38130
|
-
"
|
|
38397
|
+
"default": "''",
|
|
38398
|
+
"description": "Where to display the linked URL.",
|
|
38399
|
+
"attribute": "target",
|
|
38400
|
+
"reflects": true,
|
|
38131
38401
|
"inheritedFrom": {
|
|
38132
|
-
"name": "
|
|
38133
|
-
"module": "core/base-elements/
|
|
38402
|
+
"name": "SbbLinkBaseElement",
|
|
38403
|
+
"module": "core/base-elements/link-base-element.js"
|
|
38134
38404
|
}
|
|
38135
38405
|
},
|
|
38136
38406
|
{
|
|
38137
38407
|
"kind": "field",
|
|
38138
|
-
"name": "
|
|
38408
|
+
"name": "rel",
|
|
38139
38409
|
"type": {
|
|
38140
38410
|
"text": "string"
|
|
38141
38411
|
},
|
|
38142
|
-
"privacy": "
|
|
38412
|
+
"privacy": "public",
|
|
38143
38413
|
"default": "''",
|
|
38414
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
38415
|
+
"attribute": "rel",
|
|
38416
|
+
"reflects": true,
|
|
38144
38417
|
"inheritedFrom": {
|
|
38145
|
-
"name": "
|
|
38146
|
-
"module": "core/base-elements/
|
|
38147
|
-
}
|
|
38148
|
-
},
|
|
38149
|
-
{
|
|
38150
|
-
"kind": "field",
|
|
38151
|
-
"name": "_handleButtonClick",
|
|
38152
|
-
"privacy": "private",
|
|
38153
|
-
"inheritedFrom": {
|
|
38154
|
-
"name": "SbbButtonBaseElement",
|
|
38155
|
-
"module": "core/base-elements/button-base-element.js"
|
|
38156
|
-
}
|
|
38157
|
-
},
|
|
38158
|
-
{
|
|
38159
|
-
"kind": "method",
|
|
38160
|
-
"name": "_requestSubmit",
|
|
38161
|
-
"privacy": "private",
|
|
38162
|
-
"return": {
|
|
38163
|
-
"type": {
|
|
38164
|
-
"text": "void"
|
|
38165
|
-
}
|
|
38166
|
-
},
|
|
38167
|
-
"parameters": [
|
|
38168
|
-
{
|
|
38169
|
-
"name": "form",
|
|
38170
|
-
"type": {
|
|
38171
|
-
"text": "HTMLFormElement"
|
|
38172
|
-
}
|
|
38173
|
-
}
|
|
38174
|
-
],
|
|
38175
|
-
"inheritedFrom": {
|
|
38176
|
-
"name": "SbbButtonBaseElement",
|
|
38177
|
-
"module": "core/base-elements/button-base-element.js"
|
|
38178
|
-
}
|
|
38179
|
-
},
|
|
38180
|
-
{
|
|
38181
|
-
"kind": "field",
|
|
38182
|
-
"name": "_formKeyDown",
|
|
38183
|
-
"privacy": "private",
|
|
38184
|
-
"inheritedFrom": {
|
|
38185
|
-
"name": "SbbButtonBaseElement",
|
|
38186
|
-
"module": "core/base-elements/button-base-element.js"
|
|
38418
|
+
"name": "SbbLinkBaseElement",
|
|
38419
|
+
"module": "core/base-elements/link-base-element.js"
|
|
38187
38420
|
}
|
|
38188
38421
|
},
|
|
38189
38422
|
{
|
|
38190
38423
|
"kind": "field",
|
|
38191
|
-
"name": "
|
|
38424
|
+
"name": "download",
|
|
38192
38425
|
"type": {
|
|
38193
38426
|
"text": "boolean"
|
|
38194
38427
|
},
|
|
38195
38428
|
"privacy": "public",
|
|
38196
|
-
"
|
|
38197
|
-
"
|
|
38429
|
+
"default": "false",
|
|
38430
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
38431
|
+
"attribute": "download",
|
|
38432
|
+
"reflects": true,
|
|
38198
38433
|
"inheritedFrom": {
|
|
38199
|
-
"name": "
|
|
38200
|
-
"module": "core/
|
|
38434
|
+
"name": "SbbLinkBaseElement",
|
|
38435
|
+
"module": "core/base-elements/link-base-element.js"
|
|
38201
38436
|
}
|
|
38202
38437
|
},
|
|
38203
38438
|
{
|
|
38204
38439
|
"kind": "field",
|
|
38205
|
-
"name": "
|
|
38206
|
-
"privacy": "public",
|
|
38207
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
38440
|
+
"name": "accessibilityLabel",
|
|
38208
38441
|
"type": {
|
|
38209
38442
|
"text": "string"
|
|
38210
38443
|
},
|
|
38211
|
-
"attribute": "name",
|
|
38212
|
-
"inheritedFrom": {
|
|
38213
|
-
"name": "SbbFormAssociatedMixin",
|
|
38214
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
38215
|
-
}
|
|
38216
|
-
},
|
|
38217
|
-
{
|
|
38218
|
-
"kind": "field",
|
|
38219
|
-
"name": "validity",
|
|
38220
|
-
"type": {
|
|
38221
|
-
"text": "ValidityState"
|
|
38222
|
-
},
|
|
38223
38444
|
"privacy": "public",
|
|
38224
|
-
"
|
|
38225
|
-
"
|
|
38445
|
+
"default": "''",
|
|
38446
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
38447
|
+
"attribute": "accessibility-label",
|
|
38226
38448
|
"inheritedFrom": {
|
|
38227
|
-
"name": "
|
|
38228
|
-
"module": "core/
|
|
38449
|
+
"name": "SbbLinkBaseElement",
|
|
38450
|
+
"module": "core/base-elements/link-base-element.js"
|
|
38229
38451
|
}
|
|
38230
38452
|
},
|
|
38231
38453
|
{
|
|
38232
38454
|
"kind": "field",
|
|
38233
|
-
"name": "
|
|
38455
|
+
"name": "accessibilityCurrent",
|
|
38234
38456
|
"type": {
|
|
38235
38457
|
"text": "string"
|
|
38236
38458
|
},
|
|
38237
38459
|
"privacy": "public",
|
|
38238
|
-
"
|
|
38239
|
-
"
|
|
38240
|
-
"
|
|
38241
|
-
"name": "SbbFormAssociatedMixin",
|
|
38242
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
38243
|
-
}
|
|
38244
|
-
},
|
|
38245
|
-
{
|
|
38246
|
-
"kind": "field",
|
|
38247
|
-
"name": "willValidate",
|
|
38248
|
-
"type": {
|
|
38249
|
-
"text": "boolean"
|
|
38250
|
-
},
|
|
38251
|
-
"privacy": "public",
|
|
38252
|
-
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
38253
|
-
"readonly": true,
|
|
38460
|
+
"default": "''",
|
|
38461
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
38462
|
+
"attribute": "accessibility-current",
|
|
38254
38463
|
"inheritedFrom": {
|
|
38255
|
-
"name": "
|
|
38256
|
-
"module": "core/
|
|
38464
|
+
"name": "SbbLinkBaseElement",
|
|
38465
|
+
"module": "core/base-elements/link-base-element.js"
|
|
38257
38466
|
}
|
|
38258
38467
|
},
|
|
38259
38468
|
{
|
|
38260
38469
|
"kind": "field",
|
|
38261
|
-
"name": "
|
|
38262
|
-
"privacy": "
|
|
38263
|
-
"default": "new
|
|
38470
|
+
"name": "language",
|
|
38471
|
+
"privacy": "protected",
|
|
38472
|
+
"default": "new SbbLanguageController(this)",
|
|
38264
38473
|
"inheritedFrom": {
|
|
38265
|
-
"name": "
|
|
38266
|
-
"module": "core/
|
|
38474
|
+
"name": "SbbLinkBaseElement",
|
|
38475
|
+
"module": "core/base-elements/link-base-element.js"
|
|
38267
38476
|
}
|
|
38268
38477
|
},
|
|
38269
38478
|
{
|
|
38270
38479
|
"kind": "field",
|
|
38271
|
-
"name": "
|
|
38480
|
+
"name": "anchorRole",
|
|
38272
38481
|
"type": {
|
|
38273
|
-
"text": "
|
|
38482
|
+
"text": "string | null"
|
|
38274
38483
|
},
|
|
38275
38484
|
"privacy": "protected",
|
|
38276
|
-
"
|
|
38277
|
-
"
|
|
38278
|
-
"inheritedFrom": {
|
|
38279
|
-
"name": "SbbFormAssociatedMixin",
|
|
38280
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
38281
|
-
}
|
|
38282
|
-
},
|
|
38283
|
-
{
|
|
38284
|
-
"kind": "method",
|
|
38285
|
-
"name": "checkValidity",
|
|
38286
|
-
"privacy": "public",
|
|
38287
|
-
"return": {
|
|
38288
|
-
"type": {
|
|
38289
|
-
"text": "boolean"
|
|
38290
|
-
}
|
|
38291
|
-
},
|
|
38292
|
-
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
38293
|
-
"inheritedFrom": {
|
|
38294
|
-
"name": "SbbFormAssociatedMixin",
|
|
38295
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
38296
|
-
}
|
|
38297
|
-
},
|
|
38298
|
-
{
|
|
38299
|
-
"kind": "method",
|
|
38300
|
-
"name": "reportValidity",
|
|
38301
|
-
"privacy": "public",
|
|
38302
|
-
"return": {
|
|
38303
|
-
"type": {
|
|
38304
|
-
"text": "boolean"
|
|
38305
|
-
}
|
|
38306
|
-
},
|
|
38307
|
-
"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.",
|
|
38308
|
-
"inheritedFrom": {
|
|
38309
|
-
"name": "SbbFormAssociatedMixin",
|
|
38310
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
38311
|
-
}
|
|
38312
|
-
},
|
|
38313
|
-
{
|
|
38314
|
-
"kind": "method",
|
|
38315
|
-
"name": "setCustomValidity",
|
|
38316
|
-
"privacy": "public",
|
|
38317
|
-
"return": {
|
|
38318
|
-
"type": {
|
|
38319
|
-
"text": "void"
|
|
38320
|
-
}
|
|
38321
|
-
},
|
|
38322
|
-
"parameters": [
|
|
38323
|
-
{
|
|
38324
|
-
"name": "message",
|
|
38325
|
-
"type": {
|
|
38326
|
-
"text": "string"
|
|
38327
|
-
}
|
|
38328
|
-
}
|
|
38329
|
-
],
|
|
38330
|
-
"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.",
|
|
38485
|
+
"readonly": true,
|
|
38486
|
+
"default": "null",
|
|
38331
38487
|
"inheritedFrom": {
|
|
38332
|
-
"name": "
|
|
38333
|
-
"module": "core/
|
|
38488
|
+
"name": "SbbLinkBaseElement",
|
|
38489
|
+
"module": "core/base-elements/link-base-element.js"
|
|
38334
38490
|
}
|
|
38335
38491
|
},
|
|
38336
38492
|
{
|
|
38337
|
-
"kind": "
|
|
38338
|
-
"name": "
|
|
38493
|
+
"kind": "field",
|
|
38494
|
+
"name": "_evaluateRelAttribute",
|
|
38339
38495
|
"privacy": "private",
|
|
38340
|
-
"return": {
|
|
38341
|
-
"type": {
|
|
38342
|
-
"text": "boolean"
|
|
38343
|
-
}
|
|
38344
|
-
},
|
|
38345
|
-
"inheritedFrom": {
|
|
38346
|
-
"name": "SbbFormAssociatedMixin",
|
|
38347
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
38348
|
-
}
|
|
38349
|
-
},
|
|
38350
|
-
{
|
|
38351
|
-
"kind": "method",
|
|
38352
|
-
"name": "updateFormValue",
|
|
38353
|
-
"privacy": "protected",
|
|
38354
|
-
"return": {
|
|
38355
|
-
"type": {
|
|
38356
|
-
"text": "void"
|
|
38357
|
-
}
|
|
38358
|
-
},
|
|
38359
|
-
"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",
|
|
38360
|
-
"inheritedFrom": {
|
|
38361
|
-
"name": "SbbFormAssociatedMixin",
|
|
38362
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
38363
|
-
}
|
|
38364
|
-
},
|
|
38365
|
-
{
|
|
38366
|
-
"kind": "method",
|
|
38367
|
-
"name": "formState",
|
|
38368
|
-
"privacy": "protected",
|
|
38369
|
-
"return": {
|
|
38370
|
-
"type": {
|
|
38371
|
-
"text": "FormRestoreState"
|
|
38372
|
-
}
|
|
38373
|
-
},
|
|
38374
|
-
"inheritedFrom": {
|
|
38375
|
-
"name": "SbbFormAssociatedMixin",
|
|
38376
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
38377
|
-
}
|
|
38378
|
-
},
|
|
38379
|
-
{
|
|
38380
|
-
"kind": "method",
|
|
38381
|
-
"name": "setValidityFlag",
|
|
38382
|
-
"privacy": "protected",
|
|
38383
|
-
"return": {
|
|
38384
|
-
"type": {
|
|
38385
|
-
"text": "void"
|
|
38386
|
-
}
|
|
38387
|
-
},
|
|
38388
|
-
"parameters": [
|
|
38389
|
-
{
|
|
38390
|
-
"name": "flag",
|
|
38391
|
-
"type": {
|
|
38392
|
-
"text": "T"
|
|
38393
|
-
}
|
|
38394
|
-
},
|
|
38395
|
-
{
|
|
38396
|
-
"name": "message",
|
|
38397
|
-
"type": {
|
|
38398
|
-
"text": "string"
|
|
38399
|
-
}
|
|
38400
|
-
},
|
|
38401
|
-
{
|
|
38402
|
-
"name": "flagValue",
|
|
38403
|
-
"optional": true,
|
|
38404
|
-
"type": {
|
|
38405
|
-
"text": "ValidityStateFlags[T]"
|
|
38406
|
-
}
|
|
38407
|
-
}
|
|
38408
|
-
],
|
|
38409
|
-
"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).",
|
|
38410
|
-
"inheritedFrom": {
|
|
38411
|
-
"name": "SbbFormAssociatedMixin",
|
|
38412
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
38413
|
-
}
|
|
38414
|
-
},
|
|
38415
|
-
{
|
|
38416
|
-
"kind": "method",
|
|
38417
|
-
"name": "removeValidityFlag",
|
|
38418
|
-
"privacy": "protected",
|
|
38419
|
-
"return": {
|
|
38420
|
-
"type": {
|
|
38421
|
-
"text": "void"
|
|
38422
|
-
}
|
|
38423
|
-
},
|
|
38424
|
-
"parameters": [
|
|
38425
|
-
{
|
|
38426
|
-
"name": "flag",
|
|
38427
|
-
"type": {
|
|
38428
|
-
"text": "T"
|
|
38429
|
-
}
|
|
38430
|
-
}
|
|
38431
|
-
],
|
|
38432
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
38433
|
-
"inheritedFrom": {
|
|
38434
|
-
"name": "SbbFormAssociatedMixin",
|
|
38435
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
38436
|
-
}
|
|
38437
|
-
},
|
|
38438
|
-
{
|
|
38439
|
-
"kind": "method",
|
|
38440
|
-
"name": "validate",
|
|
38441
|
-
"privacy": "protected",
|
|
38442
|
-
"return": {
|
|
38443
|
-
"type": {
|
|
38444
|
-
"text": "void"
|
|
38445
|
-
}
|
|
38446
|
-
},
|
|
38447
|
-
"description": "To be called whenever the current element needs to be validated.",
|
|
38448
38496
|
"inheritedFrom": {
|
|
38449
|
-
"name": "
|
|
38450
|
-
"module": "core/
|
|
38497
|
+
"name": "SbbLinkBaseElement",
|
|
38498
|
+
"module": "core/base-elements/link-base-element.js"
|
|
38451
38499
|
}
|
|
38452
38500
|
},
|
|
38453
38501
|
{
|
|
38454
38502
|
"kind": "method",
|
|
38455
|
-
"name": "
|
|
38503
|
+
"name": "renderLink",
|
|
38456
38504
|
"privacy": "protected",
|
|
38457
38505
|
"return": {
|
|
38458
38506
|
"type": {
|
|
38459
|
-
"text": "
|
|
38507
|
+
"text": "TemplateResult"
|
|
38460
38508
|
}
|
|
38461
38509
|
},
|
|
38462
38510
|
"parameters": [
|
|
38463
38511
|
{
|
|
38464
|
-
"name": "
|
|
38512
|
+
"name": "renderContent",
|
|
38465
38513
|
"type": {
|
|
38466
|
-
"text": "
|
|
38514
|
+
"text": "TemplateResult"
|
|
38467
38515
|
}
|
|
38468
38516
|
}
|
|
38469
38517
|
],
|
|
38470
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
38471
|
-
"inheritedFrom": {
|
|
38472
|
-
"name": "SbbFormAssociatedMixin",
|
|
38473
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
38474
|
-
}
|
|
38475
|
-
},
|
|
38476
|
-
{
|
|
38477
|
-
"kind": "method",
|
|
38478
|
-
"name": "_setInternalValidity",
|
|
38479
|
-
"privacy": "private",
|
|
38480
|
-
"return": {
|
|
38481
|
-
"type": {
|
|
38482
|
-
"text": "void"
|
|
38483
|
-
}
|
|
38484
|
-
},
|
|
38485
|
-
"inheritedFrom": {
|
|
38486
|
-
"name": "SbbFormAssociatedMixin",
|
|
38487
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
38488
|
-
}
|
|
38489
|
-
},
|
|
38490
|
-
{
|
|
38491
|
-
"kind": "field",
|
|
38492
|
-
"name": "role",
|
|
38493
|
-
"type": {
|
|
38494
|
-
"text": "ElementInternals['role']"
|
|
38495
|
-
},
|
|
38496
|
-
"privacy": "public",
|
|
38497
|
-
"static": true,
|
|
38498
|
-
"readonly": true,
|
|
38499
|
-
"default": "'button'",
|
|
38500
|
-
"inheritedFrom": {
|
|
38501
|
-
"name": "SbbButtonLikeBaseElement",
|
|
38502
|
-
"module": "core/base-elements/button-base-element.js"
|
|
38503
|
-
}
|
|
38504
|
-
},
|
|
38505
|
-
{
|
|
38506
|
-
"kind": "field",
|
|
38507
|
-
"name": "_preventScrollOnSpaceKeydown",
|
|
38508
|
-
"privacy": "private",
|
|
38509
|
-
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
38510
|
-
"parameters": [
|
|
38511
|
-
{
|
|
38512
|
-
"description": "The origin event.",
|
|
38513
|
-
"name": "event"
|
|
38514
|
-
}
|
|
38515
|
-
],
|
|
38516
|
-
"inheritedFrom": {
|
|
38517
|
-
"name": "SbbButtonLikeBaseElement",
|
|
38518
|
-
"module": "core/base-elements/button-base-element.js"
|
|
38519
|
-
}
|
|
38520
|
-
},
|
|
38521
|
-
{
|
|
38522
|
-
"kind": "field",
|
|
38523
|
-
"name": "_removeActiveMarker",
|
|
38524
|
-
"privacy": "private",
|
|
38525
|
-
"inheritedFrom": {
|
|
38526
|
-
"name": "SbbButtonLikeBaseElement",
|
|
38527
|
-
"module": "core/base-elements/button-base-element.js"
|
|
38528
|
-
}
|
|
38529
|
-
},
|
|
38530
|
-
{
|
|
38531
|
-
"kind": "field",
|
|
38532
|
-
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
38533
|
-
"privacy": "private",
|
|
38534
|
-
"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.",
|
|
38535
|
-
"parameters": [
|
|
38536
|
-
{
|
|
38537
|
-
"description": "The origin event.",
|
|
38538
|
-
"name": "event"
|
|
38539
|
-
}
|
|
38540
|
-
],
|
|
38541
|
-
"inheritedFrom": {
|
|
38542
|
-
"name": "SbbButtonLikeBaseElement",
|
|
38543
|
-
"module": "core/base-elements/button-base-element.js"
|
|
38544
|
-
}
|
|
38545
|
-
},
|
|
38546
|
-
{
|
|
38547
|
-
"kind": "field",
|
|
38548
|
-
"name": "_dispatchClickEvent",
|
|
38549
|
-
"privacy": "private",
|
|
38550
38518
|
"inheritedFrom": {
|
|
38551
|
-
"name": "
|
|
38552
|
-
"module": "core/base-elements/
|
|
38519
|
+
"name": "SbbLinkBaseElement",
|
|
38520
|
+
"module": "core/base-elements/link-base-element.js"
|
|
38553
38521
|
}
|
|
38554
38522
|
},
|
|
38555
38523
|
{
|
|
@@ -38704,15 +38672,19 @@
|
|
|
38704
38672
|
"module": "button/common/button-common.js"
|
|
38705
38673
|
},
|
|
38706
38674
|
{
|
|
38707
|
-
"name": "
|
|
38675
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
38676
|
+
"module": "core/mixins.js"
|
|
38677
|
+
},
|
|
38678
|
+
{
|
|
38679
|
+
"name": "SbbDisabledMixin",
|
|
38708
38680
|
"module": "core/mixins.js"
|
|
38709
38681
|
}
|
|
38710
38682
|
],
|
|
38711
38683
|
"superclass": {
|
|
38712
|
-
"name": "
|
|
38684
|
+
"name": "SbbLinkBaseElement",
|
|
38713
38685
|
"module": "core/base-elements.js"
|
|
38714
38686
|
},
|
|
38715
|
-
"tagName": "sbb-accent-button",
|
|
38687
|
+
"tagName": "sbb-accent-button-link",
|
|
38716
38688
|
"customElement": true,
|
|
38717
38689
|
"attributes": [
|
|
38718
38690
|
{
|
|
@@ -38794,53 +38766,81 @@
|
|
|
38794
38766
|
}
|
|
38795
38767
|
},
|
|
38796
38768
|
{
|
|
38797
|
-
"name": "
|
|
38769
|
+
"name": "href",
|
|
38798
38770
|
"type": {
|
|
38799
38771
|
"text": "string"
|
|
38800
38772
|
},
|
|
38801
38773
|
"default": "''",
|
|
38802
|
-
"description": "
|
|
38803
|
-
"fieldName": "
|
|
38774
|
+
"description": "The href value you want to link to.",
|
|
38775
|
+
"fieldName": "href",
|
|
38804
38776
|
"inheritedFrom": {
|
|
38805
|
-
"name": "
|
|
38806
|
-
"module": "core/base-elements/
|
|
38777
|
+
"name": "SbbLinkBaseElement",
|
|
38778
|
+
"module": "core/base-elements/link-base-element.js"
|
|
38807
38779
|
}
|
|
38808
38780
|
},
|
|
38809
38781
|
{
|
|
38810
|
-
"name": "
|
|
38811
|
-
"description": "The type attribute to use for the button.",
|
|
38812
|
-
"default": "'button'",
|
|
38782
|
+
"name": "target",
|
|
38813
38783
|
"type": {
|
|
38814
|
-
"text": "
|
|
38784
|
+
"text": "LinkTargetType | string"
|
|
38815
38785
|
},
|
|
38816
|
-
"
|
|
38786
|
+
"default": "''",
|
|
38787
|
+
"description": "Where to display the linked URL.",
|
|
38788
|
+
"fieldName": "target",
|
|
38817
38789
|
"inheritedFrom": {
|
|
38818
|
-
"name": "
|
|
38819
|
-
"module": "core/base-elements/
|
|
38790
|
+
"name": "SbbLinkBaseElement",
|
|
38791
|
+
"module": "core/base-elements/link-base-element.js"
|
|
38820
38792
|
}
|
|
38821
38793
|
},
|
|
38822
38794
|
{
|
|
38823
|
-
"name": "
|
|
38824
|
-
"description": "The `<form>` element to associate the button with.",
|
|
38795
|
+
"name": "rel",
|
|
38825
38796
|
"type": {
|
|
38826
|
-
"text": "
|
|
38797
|
+
"text": "string"
|
|
38827
38798
|
},
|
|
38828
|
-
"
|
|
38799
|
+
"default": "''",
|
|
38800
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
38801
|
+
"fieldName": "rel",
|
|
38829
38802
|
"inheritedFrom": {
|
|
38830
|
-
"name": "
|
|
38831
|
-
"module": "core/base-elements/
|
|
38803
|
+
"name": "SbbLinkBaseElement",
|
|
38804
|
+
"module": "core/base-elements/link-base-element.js"
|
|
38832
38805
|
}
|
|
38833
38806
|
},
|
|
38834
38807
|
{
|
|
38835
|
-
"name": "
|
|
38836
|
-
"
|
|
38808
|
+
"name": "download",
|
|
38809
|
+
"type": {
|
|
38810
|
+
"text": "boolean"
|
|
38811
|
+
},
|
|
38812
|
+
"default": "false",
|
|
38813
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
38814
|
+
"fieldName": "download",
|
|
38815
|
+
"inheritedFrom": {
|
|
38816
|
+
"name": "SbbLinkBaseElement",
|
|
38817
|
+
"module": "core/base-elements/link-base-element.js"
|
|
38818
|
+
}
|
|
38819
|
+
},
|
|
38820
|
+
{
|
|
38821
|
+
"name": "accessibility-label",
|
|
38837
38822
|
"type": {
|
|
38838
38823
|
"text": "string"
|
|
38839
38824
|
},
|
|
38840
|
-
"
|
|
38825
|
+
"default": "''",
|
|
38826
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
38827
|
+
"fieldName": "accessibilityLabel",
|
|
38841
38828
|
"inheritedFrom": {
|
|
38842
|
-
"name": "
|
|
38843
|
-
"module": "core/
|
|
38829
|
+
"name": "SbbLinkBaseElement",
|
|
38830
|
+
"module": "core/base-elements/link-base-element.js"
|
|
38831
|
+
}
|
|
38832
|
+
},
|
|
38833
|
+
{
|
|
38834
|
+
"name": "accessibility-current",
|
|
38835
|
+
"type": {
|
|
38836
|
+
"text": "string"
|
|
38837
|
+
},
|
|
38838
|
+
"default": "''",
|
|
38839
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
38840
|
+
"fieldName": "accessibilityCurrent",
|
|
38841
|
+
"inheritedFrom": {
|
|
38842
|
+
"name": "SbbLinkBaseElement",
|
|
38843
|
+
"module": "core/base-elements/link-base-element.js"
|
|
38844
38844
|
}
|
|
38845
38845
|
}
|
|
38846
38846
|
]
|
|
@@ -38849,10 +38849,10 @@
|
|
|
38849
38849
|
"exports": [
|
|
38850
38850
|
{
|
|
38851
38851
|
"kind": "js",
|
|
38852
|
-
"name": "
|
|
38852
|
+
"name": "SbbAccentButtonLinkElement",
|
|
38853
38853
|
"declaration": {
|
|
38854
|
-
"name": "
|
|
38855
|
-
"module": "button/accent-button/accent-button.component.js"
|
|
38854
|
+
"name": "SbbAccentButtonLinkElement",
|
|
38855
|
+
"module": "button/accent-button-link/accent-button-link.component.js"
|
|
38856
38856
|
}
|
|
38857
38857
|
}
|
|
38858
38858
|
]
|
|
@@ -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,308 +107523,276 @@
|
|
|
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
|
},
|
|
107575
|
-
"
|
|
107576
|
-
"
|
|
107577
|
-
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
107533
|
+
"attribute": "disabled",
|
|
107534
|
+
"reflects": true,
|
|
107578
107535
|
"inheritedFrom": {
|
|
107579
|
-
"name": "
|
|
107580
|
-
"module": "core/
|
|
107536
|
+
"name": "SbbDisabledMixin",
|
|
107537
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
107581
107538
|
}
|
|
107582
107539
|
},
|
|
107583
107540
|
{
|
|
107584
107541
|
"kind": "field",
|
|
107585
|
-
"name": "
|
|
107542
|
+
"name": "#disabled",
|
|
107543
|
+
"privacy": "private",
|
|
107586
107544
|
"type": {
|
|
107587
|
-
"text": "
|
|
107545
|
+
"text": "boolean"
|
|
107588
107546
|
},
|
|
107589
|
-
"
|
|
107547
|
+
"default": "false",
|
|
107590
107548
|
"inheritedFrom": {
|
|
107591
|
-
"name": "
|
|
107592
|
-
"module": "core/
|
|
107593
|
-
}
|
|
107594
|
-
"default": "''",
|
|
107595
|
-
"description": "Value of the form element.",
|
|
107596
|
-
"attribute": "value"
|
|
107549
|
+
"name": "SbbDisabledMixin",
|
|
107550
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
107551
|
+
}
|
|
107597
107552
|
},
|
|
107598
107553
|
{
|
|
107599
|
-
"kind": "
|
|
107600
|
-
"name": "
|
|
107601
|
-
"privacy": "
|
|
107602
|
-
"
|
|
107603
|
-
|
|
107604
|
-
|
|
107605
|
-
|
|
107554
|
+
"kind": "method",
|
|
107555
|
+
"name": "isDisabledExternally",
|
|
107556
|
+
"privacy": "protected",
|
|
107557
|
+
"return": {
|
|
107558
|
+
"type": {
|
|
107559
|
+
"text": "boolean"
|
|
107560
|
+
}
|
|
107606
107561
|
},
|
|
107607
|
-
"
|
|
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.",
|
|
107608
107563
|
"inheritedFrom": {
|
|
107609
|
-
"name": "
|
|
107610
|
-
"module": "core/
|
|
107564
|
+
"name": "SbbDisabledMixin",
|
|
107565
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
107611
107566
|
}
|
|
107612
107567
|
},
|
|
107613
107568
|
{
|
|
107614
107569
|
"kind": "field",
|
|
107615
|
-
"name": "
|
|
107570
|
+
"name": "href",
|
|
107616
107571
|
"type": {
|
|
107617
|
-
"text": "
|
|
107572
|
+
"text": "string"
|
|
107618
107573
|
},
|
|
107619
107574
|
"privacy": "public",
|
|
107620
|
-
"
|
|
107575
|
+
"default": "''",
|
|
107576
|
+
"description": "The href value you want to link to.",
|
|
107577
|
+
"attribute": "href",
|
|
107578
|
+
"reflects": true,
|
|
107621
107579
|
"inheritedFrom": {
|
|
107622
|
-
"name": "
|
|
107623
|
-
"module": "core/base-elements/
|
|
107624
|
-
}
|
|
107625
|
-
"attribute": "form"
|
|
107580
|
+
"name": "SbbLinkBaseElement",
|
|
107581
|
+
"module": "core/base-elements/link-base-element.js"
|
|
107582
|
+
}
|
|
107626
107583
|
},
|
|
107627
107584
|
{
|
|
107628
107585
|
"kind": "field",
|
|
107629
|
-
"name": "
|
|
107586
|
+
"name": "target",
|
|
107630
107587
|
"type": {
|
|
107631
|
-
"text": "string"
|
|
107588
|
+
"text": "LinkTargetType | string"
|
|
107632
107589
|
},
|
|
107633
|
-
"privacy": "
|
|
107590
|
+
"privacy": "public",
|
|
107634
107591
|
"default": "''",
|
|
107592
|
+
"description": "Where to display the linked URL.",
|
|
107593
|
+
"attribute": "target",
|
|
107594
|
+
"reflects": true,
|
|
107635
107595
|
"inheritedFrom": {
|
|
107636
|
-
"name": "
|
|
107637
|
-
"module": "core/base-elements/
|
|
107596
|
+
"name": "SbbLinkBaseElement",
|
|
107597
|
+
"module": "core/base-elements/link-base-element.js"
|
|
107638
107598
|
}
|
|
107639
107599
|
},
|
|
107640
107600
|
{
|
|
107641
107601
|
"kind": "field",
|
|
107642
|
-
"name": "
|
|
107643
|
-
"
|
|
107644
|
-
|
|
107645
|
-
"name": "SbbButtonBaseElement",
|
|
107646
|
-
"module": "core/base-elements/button-base-element.js"
|
|
107647
|
-
}
|
|
107648
|
-
},
|
|
107649
|
-
{
|
|
107650
|
-
"kind": "method",
|
|
107651
|
-
"name": "_requestSubmit",
|
|
107652
|
-
"privacy": "private",
|
|
107653
|
-
"return": {
|
|
107654
|
-
"type": {
|
|
107655
|
-
"text": "void"
|
|
107656
|
-
}
|
|
107602
|
+
"name": "rel",
|
|
107603
|
+
"type": {
|
|
107604
|
+
"text": "string"
|
|
107657
107605
|
},
|
|
107658
|
-
"
|
|
107659
|
-
|
|
107660
|
-
|
|
107661
|
-
|
|
107662
|
-
|
|
107663
|
-
}
|
|
107664
|
-
}
|
|
107665
|
-
],
|
|
107666
|
-
"inheritedFrom": {
|
|
107667
|
-
"name": "SbbButtonBaseElement",
|
|
107668
|
-
"module": "core/base-elements/button-base-element.js"
|
|
107669
|
-
}
|
|
107670
|
-
},
|
|
107671
|
-
{
|
|
107672
|
-
"kind": "field",
|
|
107673
|
-
"name": "_formKeyDown",
|
|
107674
|
-
"privacy": "private",
|
|
107606
|
+
"privacy": "public",
|
|
107607
|
+
"default": "''",
|
|
107608
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
107609
|
+
"attribute": "rel",
|
|
107610
|
+
"reflects": true,
|
|
107675
107611
|
"inheritedFrom": {
|
|
107676
|
-
"name": "
|
|
107677
|
-
"module": "core/base-elements/
|
|
107612
|
+
"name": "SbbLinkBaseElement",
|
|
107613
|
+
"module": "core/base-elements/link-base-element.js"
|
|
107678
107614
|
}
|
|
107679
107615
|
},
|
|
107680
107616
|
{
|
|
107681
107617
|
"kind": "field",
|
|
107682
|
-
"name": "
|
|
107618
|
+
"name": "download",
|
|
107683
107619
|
"type": {
|
|
107684
107620
|
"text": "boolean"
|
|
107685
107621
|
},
|
|
107686
107622
|
"privacy": "public",
|
|
107687
|
-
"
|
|
107688
|
-
"
|
|
107623
|
+
"default": "false",
|
|
107624
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
107625
|
+
"attribute": "download",
|
|
107626
|
+
"reflects": true,
|
|
107689
107627
|
"inheritedFrom": {
|
|
107690
|
-
"name": "
|
|
107691
|
-
"module": "core/
|
|
107628
|
+
"name": "SbbLinkBaseElement",
|
|
107629
|
+
"module": "core/base-elements/link-base-element.js"
|
|
107692
107630
|
}
|
|
107693
107631
|
},
|
|
107694
107632
|
{
|
|
107695
107633
|
"kind": "field",
|
|
107696
|
-
"name": "
|
|
107697
|
-
"privacy": "public",
|
|
107698
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
107634
|
+
"name": "accessibilityLabel",
|
|
107699
107635
|
"type": {
|
|
107700
107636
|
"text": "string"
|
|
107701
107637
|
},
|
|
107702
|
-
"
|
|
107638
|
+
"privacy": "public",
|
|
107639
|
+
"default": "''",
|
|
107640
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
107641
|
+
"attribute": "accessibility-label",
|
|
107703
107642
|
"inheritedFrom": {
|
|
107704
|
-
"name": "
|
|
107705
|
-
"module": "core/
|
|
107643
|
+
"name": "SbbLinkBaseElement",
|
|
107644
|
+
"module": "core/base-elements/link-base-element.js"
|
|
107706
107645
|
}
|
|
107707
107646
|
},
|
|
107708
107647
|
{
|
|
107709
107648
|
"kind": "field",
|
|
107710
|
-
"name": "
|
|
107649
|
+
"name": "accessibilityCurrent",
|
|
107711
107650
|
"type": {
|
|
107712
|
-
"text": "
|
|
107651
|
+
"text": "string"
|
|
107713
107652
|
},
|
|
107714
107653
|
"privacy": "public",
|
|
107715
|
-
"
|
|
107716
|
-
"
|
|
107654
|
+
"default": "''",
|
|
107655
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
107656
|
+
"attribute": "accessibility-current",
|
|
107717
107657
|
"inheritedFrom": {
|
|
107718
|
-
"name": "
|
|
107719
|
-
"module": "core/
|
|
107658
|
+
"name": "SbbLinkBaseElement",
|
|
107659
|
+
"module": "core/base-elements/link-base-element.js"
|
|
107720
107660
|
}
|
|
107721
107661
|
},
|
|
107722
107662
|
{
|
|
107723
107663
|
"kind": "field",
|
|
107724
|
-
"name": "
|
|
107725
|
-
"
|
|
107726
|
-
|
|
107727
|
-
},
|
|
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,
|
|
107664
|
+
"name": "language",
|
|
107665
|
+
"privacy": "protected",
|
|
107666
|
+
"default": "new SbbLanguageController(this)",
|
|
107731
107667
|
"inheritedFrom": {
|
|
107732
|
-
"name": "
|
|
107733
|
-
"module": "core/
|
|
107668
|
+
"name": "SbbLinkBaseElement",
|
|
107669
|
+
"module": "core/base-elements/link-base-element.js"
|
|
107734
107670
|
}
|
|
107735
107671
|
},
|
|
107736
107672
|
{
|
|
107737
107673
|
"kind": "field",
|
|
107738
|
-
"name": "
|
|
107739
|
-
"
|
|
107740
|
-
"text": "boolean"
|
|
107741
|
-
},
|
|
107742
|
-
"privacy": "public",
|
|
107743
|
-
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
107744
|
-
"readonly": true,
|
|
107674
|
+
"name": "_evaluateRelAttribute",
|
|
107675
|
+
"privacy": "private",
|
|
107745
107676
|
"inheritedFrom": {
|
|
107746
|
-
"name": "
|
|
107747
|
-
"module": "core/
|
|
107677
|
+
"name": "SbbLinkBaseElement",
|
|
107678
|
+
"module": "core/base-elements/link-base-element.js"
|
|
107748
107679
|
}
|
|
107749
107680
|
},
|
|
107750
107681
|
{
|
|
107751
|
-
"kind": "
|
|
107752
|
-
"name": "
|
|
107753
|
-
"privacy": "
|
|
107754
|
-
"
|
|
107682
|
+
"kind": "method",
|
|
107683
|
+
"name": "renderLink",
|
|
107684
|
+
"privacy": "protected",
|
|
107685
|
+
"return": {
|
|
107686
|
+
"type": {
|
|
107687
|
+
"text": "TemplateResult"
|
|
107688
|
+
}
|
|
107689
|
+
},
|
|
107690
|
+
"parameters": [
|
|
107691
|
+
{
|
|
107692
|
+
"name": "renderContent",
|
|
107693
|
+
"type": {
|
|
107694
|
+
"text": "TemplateResult"
|
|
107695
|
+
}
|
|
107696
|
+
}
|
|
107697
|
+
],
|
|
107755
107698
|
"inheritedFrom": {
|
|
107756
|
-
"name": "
|
|
107757
|
-
"module": "core/
|
|
107699
|
+
"name": "SbbLinkBaseElement",
|
|
107700
|
+
"module": "core/base-elements/link-base-element.js"
|
|
107758
107701
|
}
|
|
107759
107702
|
},
|
|
107760
107703
|
{
|
|
107761
107704
|
"kind": "field",
|
|
107762
|
-
"name": "
|
|
107705
|
+
"name": "maybeDisabled",
|
|
107763
107706
|
"type": {
|
|
107764
|
-
"text": "boolean"
|
|
107707
|
+
"text": "boolean | undefined"
|
|
107765
107708
|
},
|
|
107766
107709
|
"privacy": "protected",
|
|
107767
|
-
"
|
|
107768
|
-
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
107710
|
+
"readonly": true,
|
|
107769
107711
|
"inheritedFrom": {
|
|
107770
|
-
"name": "
|
|
107771
|
-
"module": "core/
|
|
107712
|
+
"name": "SbbActionBaseElement",
|
|
107713
|
+
"module": "core/base-elements/action-base-element.js"
|
|
107772
107714
|
}
|
|
107773
107715
|
},
|
|
107774
107716
|
{
|
|
107775
|
-
"kind": "
|
|
107776
|
-
"name": "
|
|
107777
|
-
"
|
|
107778
|
-
|
|
107779
|
-
"type": {
|
|
107780
|
-
"text": "boolean"
|
|
107781
|
-
}
|
|
107717
|
+
"kind": "field",
|
|
107718
|
+
"name": "maybeDisabledInteractive",
|
|
107719
|
+
"type": {
|
|
107720
|
+
"text": "boolean | undefined"
|
|
107782
107721
|
},
|
|
107783
|
-
"
|
|
107722
|
+
"privacy": "protected",
|
|
107723
|
+
"readonly": true,
|
|
107784
107724
|
"inheritedFrom": {
|
|
107785
|
-
"name": "
|
|
107786
|
-
"module": "core/
|
|
107725
|
+
"name": "SbbActionBaseElement",
|
|
107726
|
+
"module": "core/base-elements/action-base-element.js"
|
|
107787
107727
|
}
|
|
107788
107728
|
},
|
|
107789
107729
|
{
|
|
107790
107730
|
"kind": "method",
|
|
107791
|
-
"name": "
|
|
107792
|
-
"privacy": "
|
|
107731
|
+
"name": "setupBaseEventHandlers",
|
|
107732
|
+
"privacy": "protected",
|
|
107793
107733
|
"return": {
|
|
107794
107734
|
"type": {
|
|
107795
|
-
"text": "
|
|
107735
|
+
"text": "void"
|
|
107796
107736
|
}
|
|
107797
107737
|
},
|
|
107798
|
-
"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.",
|
|
107799
107738
|
"inheritedFrom": {
|
|
107800
|
-
"name": "
|
|
107801
|
-
"module": "core/
|
|
107739
|
+
"name": "SbbActionBaseElement",
|
|
107740
|
+
"module": "core/base-elements/action-base-element.js"
|
|
107802
107741
|
}
|
|
107803
107742
|
},
|
|
107804
107743
|
{
|
|
107805
|
-
"kind": "
|
|
107806
|
-
"name": "
|
|
107807
|
-
"
|
|
107808
|
-
|
|
107809
|
-
"type": {
|
|
107810
|
-
"text": "void"
|
|
107811
|
-
}
|
|
107744
|
+
"kind": "field",
|
|
107745
|
+
"name": "_hydrationRequired",
|
|
107746
|
+
"type": {
|
|
107747
|
+
"text": "boolean"
|
|
107812
107748
|
},
|
|
107813
|
-
"
|
|
107814
|
-
|
|
107815
|
-
"name": "message",
|
|
107816
|
-
"type": {
|
|
107817
|
-
"text": "string"
|
|
107818
|
-
}
|
|
107819
|
-
}
|
|
107820
|
-
],
|
|
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.",
|
|
107749
|
+
"privacy": "private",
|
|
107750
|
+
"default": "!!this.shadowRoot",
|
|
107822
107751
|
"inheritedFrom": {
|
|
107823
|
-
"name": "
|
|
107824
|
-
"module": "core/
|
|
107752
|
+
"name": "SbbElement",
|
|
107753
|
+
"module": "core/base-elements/element.js"
|
|
107825
107754
|
}
|
|
107826
107755
|
},
|
|
107827
107756
|
{
|
|
107828
|
-
"kind": "
|
|
107829
|
-
"name": "
|
|
107757
|
+
"kind": "field",
|
|
107758
|
+
"name": "_hydrationComplete",
|
|
107830
107759
|
"privacy": "private",
|
|
107831
|
-
"
|
|
107832
|
-
"type": {
|
|
107833
|
-
"text": "boolean"
|
|
107834
|
-
}
|
|
107835
|
-
},
|
|
107760
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
107836
107761
|
"inheritedFrom": {
|
|
107837
|
-
"name": "
|
|
107838
|
-
"module": "core/
|
|
107762
|
+
"name": "SbbElement",
|
|
107763
|
+
"module": "core/base-elements/element.js"
|
|
107839
107764
|
}
|
|
107840
107765
|
},
|
|
107841
107766
|
{
|
|
107842
|
-
"kind": "
|
|
107843
|
-
"name": "
|
|
107844
|
-
"
|
|
107845
|
-
|
|
107846
|
-
"type": {
|
|
107847
|
-
"text": "void"
|
|
107848
|
-
}
|
|
107767
|
+
"kind": "field",
|
|
107768
|
+
"name": "_resolveHydration",
|
|
107769
|
+
"type": {
|
|
107770
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
107849
107771
|
},
|
|
107850
|
-
"
|
|
107772
|
+
"privacy": "private",
|
|
107851
107773
|
"inheritedFrom": {
|
|
107852
|
-
"name": "
|
|
107853
|
-
"module": "core/
|
|
107774
|
+
"name": "SbbElement",
|
|
107775
|
+
"module": "core/base-elements/element.js"
|
|
107854
107776
|
}
|
|
107855
107777
|
},
|
|
107856
107778
|
{
|
|
107857
|
-
"kind": "
|
|
107858
|
-
"name": "
|
|
107859
|
-
"
|
|
107860
|
-
|
|
107861
|
-
"type": {
|
|
107862
|
-
"text": "FormRestoreState"
|
|
107863
|
-
}
|
|
107779
|
+
"kind": "field",
|
|
107780
|
+
"name": "hydrationRequired",
|
|
107781
|
+
"type": {
|
|
107782
|
+
"text": "boolean"
|
|
107864
107783
|
},
|
|
107784
|
+
"privacy": "protected",
|
|
107785
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
107786
|
+
"readonly": true,
|
|
107865
107787
|
"inheritedFrom": {
|
|
107866
|
-
"name": "
|
|
107867
|
-
"module": "core/
|
|
107868
|
-
}
|
|
107788
|
+
"name": "SbbElement",
|
|
107789
|
+
"module": "core/base-elements/element.js"
|
|
107790
|
+
},
|
|
107791
|
+
"default": "!!this.shadowRoot"
|
|
107869
107792
|
},
|
|
107870
107793
|
{
|
|
107871
107794
|
"kind": "method",
|
|
107872
|
-
"name": "
|
|
107795
|
+
"name": "toggleState",
|
|
107873
107796
|
"privacy": "protected",
|
|
107874
107797
|
"return": {
|
|
107875
107798
|
"type": {
|
|
@@ -107878,280 +107801,29 @@
|
|
|
107878
107801
|
},
|
|
107879
107802
|
"parameters": [
|
|
107880
107803
|
{
|
|
107881
|
-
"name": "
|
|
107882
|
-
"type": {
|
|
107883
|
-
"text": "T"
|
|
107884
|
-
}
|
|
107885
|
-
},
|
|
107886
|
-
{
|
|
107887
|
-
"name": "message",
|
|
107804
|
+
"name": "value",
|
|
107888
107805
|
"type": {
|
|
107889
107806
|
"text": "string"
|
|
107890
107807
|
}
|
|
107891
107808
|
},
|
|
107892
107809
|
{
|
|
107893
|
-
"name": "
|
|
107810
|
+
"name": "force",
|
|
107894
107811
|
"optional": true,
|
|
107895
107812
|
"type": {
|
|
107896
|
-
"text": "
|
|
107813
|
+
"text": "boolean"
|
|
107897
107814
|
}
|
|
107898
107815
|
}
|
|
107899
107816
|
],
|
|
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).",
|
|
107901
107817
|
"inheritedFrom": {
|
|
107902
|
-
"name": "
|
|
107903
|
-
"module": "core/
|
|
107818
|
+
"name": "SbbElement",
|
|
107819
|
+
"module": "core/base-elements/element.js"
|
|
107904
107820
|
}
|
|
107905
107821
|
},
|
|
107906
107822
|
{
|
|
107907
|
-
"kind": "
|
|
107908
|
-
"name": "
|
|
107909
|
-
"
|
|
107910
|
-
|
|
107911
|
-
"type": {
|
|
107912
|
-
"text": "void"
|
|
107913
|
-
}
|
|
107914
|
-
},
|
|
107915
|
-
"parameters": [
|
|
107916
|
-
{
|
|
107917
|
-
"name": "flag",
|
|
107918
|
-
"type": {
|
|
107919
|
-
"text": "T"
|
|
107920
|
-
}
|
|
107921
|
-
}
|
|
107922
|
-
],
|
|
107923
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
107924
|
-
"inheritedFrom": {
|
|
107925
|
-
"name": "SbbFormAssociatedMixin",
|
|
107926
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
107927
|
-
}
|
|
107928
|
-
},
|
|
107929
|
-
{
|
|
107930
|
-
"kind": "method",
|
|
107931
|
-
"name": "validate",
|
|
107932
|
-
"privacy": "protected",
|
|
107933
|
-
"return": {
|
|
107934
|
-
"type": {
|
|
107935
|
-
"text": "void"
|
|
107936
|
-
}
|
|
107937
|
-
},
|
|
107938
|
-
"description": "To be called whenever the current element needs to be validated.",
|
|
107939
|
-
"inheritedFrom": {
|
|
107940
|
-
"name": "SbbFormAssociatedMixin",
|
|
107941
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
107942
|
-
}
|
|
107943
|
-
},
|
|
107944
|
-
{
|
|
107945
|
-
"kind": "method",
|
|
107946
|
-
"name": "shouldValidate",
|
|
107947
|
-
"privacy": "protected",
|
|
107948
|
-
"return": {
|
|
107949
|
-
"type": {
|
|
107950
|
-
"text": "boolean"
|
|
107951
|
-
}
|
|
107952
|
-
},
|
|
107953
|
-
"parameters": [
|
|
107954
|
-
{
|
|
107955
|
-
"name": "name",
|
|
107956
|
-
"type": {
|
|
107957
|
-
"text": "PropertyKey | undefined"
|
|
107958
|
-
}
|
|
107959
|
-
}
|
|
107960
|
-
],
|
|
107961
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
107962
|
-
"inheritedFrom": {
|
|
107963
|
-
"name": "SbbFormAssociatedMixin",
|
|
107964
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
107965
|
-
}
|
|
107966
|
-
},
|
|
107967
|
-
{
|
|
107968
|
-
"kind": "method",
|
|
107969
|
-
"name": "_setInternalValidity",
|
|
107970
|
-
"privacy": "private",
|
|
107971
|
-
"return": {
|
|
107972
|
-
"type": {
|
|
107973
|
-
"text": "void"
|
|
107974
|
-
}
|
|
107975
|
-
},
|
|
107976
|
-
"inheritedFrom": {
|
|
107977
|
-
"name": "SbbFormAssociatedMixin",
|
|
107978
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
107979
|
-
}
|
|
107980
|
-
},
|
|
107981
|
-
{
|
|
107982
|
-
"kind": "field",
|
|
107983
|
-
"name": "_preventScrollOnSpaceKeydown",
|
|
107984
|
-
"privacy": "private",
|
|
107985
|
-
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
107986
|
-
"parameters": [
|
|
107987
|
-
{
|
|
107988
|
-
"description": "The origin event.",
|
|
107989
|
-
"name": "event"
|
|
107990
|
-
}
|
|
107991
|
-
],
|
|
107992
|
-
"inheritedFrom": {
|
|
107993
|
-
"name": "SbbButtonLikeBaseElement",
|
|
107994
|
-
"module": "core/base-elements/button-base-element.js"
|
|
107995
|
-
}
|
|
107996
|
-
},
|
|
107997
|
-
{
|
|
107998
|
-
"kind": "field",
|
|
107999
|
-
"name": "_removeActiveMarker",
|
|
108000
|
-
"privacy": "private",
|
|
108001
|
-
"inheritedFrom": {
|
|
108002
|
-
"name": "SbbButtonLikeBaseElement",
|
|
108003
|
-
"module": "core/base-elements/button-base-element.js"
|
|
108004
|
-
}
|
|
108005
|
-
},
|
|
108006
|
-
{
|
|
108007
|
-
"kind": "field",
|
|
108008
|
-
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
108009
|
-
"privacy": "private",
|
|
108010
|
-
"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.",
|
|
108011
|
-
"parameters": [
|
|
108012
|
-
{
|
|
108013
|
-
"description": "The origin event.",
|
|
108014
|
-
"name": "event"
|
|
108015
|
-
}
|
|
108016
|
-
],
|
|
108017
|
-
"inheritedFrom": {
|
|
108018
|
-
"name": "SbbButtonLikeBaseElement",
|
|
108019
|
-
"module": "core/base-elements/button-base-element.js"
|
|
108020
|
-
}
|
|
108021
|
-
},
|
|
108022
|
-
{
|
|
108023
|
-
"kind": "field",
|
|
108024
|
-
"name": "_dispatchClickEvent",
|
|
108025
|
-
"privacy": "private",
|
|
108026
|
-
"inheritedFrom": {
|
|
108027
|
-
"name": "SbbButtonLikeBaseElement",
|
|
108028
|
-
"module": "core/base-elements/button-base-element.js"
|
|
108029
|
-
}
|
|
108030
|
-
},
|
|
108031
|
-
{
|
|
108032
|
-
"kind": "field",
|
|
108033
|
-
"name": "maybeDisabled",
|
|
108034
|
-
"type": {
|
|
108035
|
-
"text": "boolean | undefined"
|
|
108036
|
-
},
|
|
108037
|
-
"privacy": "protected",
|
|
108038
|
-
"readonly": true,
|
|
108039
|
-
"inheritedFrom": {
|
|
108040
|
-
"name": "SbbActionBaseElement",
|
|
108041
|
-
"module": "core/base-elements/action-base-element.js"
|
|
108042
|
-
}
|
|
108043
|
-
},
|
|
108044
|
-
{
|
|
108045
|
-
"kind": "field",
|
|
108046
|
-
"name": "maybeDisabledInteractive",
|
|
108047
|
-
"type": {
|
|
108048
|
-
"text": "boolean | undefined"
|
|
108049
|
-
},
|
|
108050
|
-
"privacy": "protected",
|
|
108051
|
-
"readonly": true,
|
|
108052
|
-
"inheritedFrom": {
|
|
108053
|
-
"name": "SbbActionBaseElement",
|
|
108054
|
-
"module": "core/base-elements/action-base-element.js"
|
|
108055
|
-
}
|
|
108056
|
-
},
|
|
108057
|
-
{
|
|
108058
|
-
"kind": "method",
|
|
108059
|
-
"name": "setupBaseEventHandlers",
|
|
108060
|
-
"privacy": "protected",
|
|
108061
|
-
"return": {
|
|
108062
|
-
"type": {
|
|
108063
|
-
"text": "void"
|
|
108064
|
-
}
|
|
108065
|
-
},
|
|
108066
|
-
"inheritedFrom": {
|
|
108067
|
-
"name": "SbbActionBaseElement",
|
|
108068
|
-
"module": "core/base-elements/action-base-element.js"
|
|
108069
|
-
}
|
|
108070
|
-
},
|
|
108071
|
-
{
|
|
108072
|
-
"kind": "field",
|
|
108073
|
-
"name": "_hydrationRequired",
|
|
108074
|
-
"type": {
|
|
108075
|
-
"text": "boolean"
|
|
108076
|
-
},
|
|
108077
|
-
"privacy": "private",
|
|
108078
|
-
"default": "!!this.shadowRoot",
|
|
108079
|
-
"inheritedFrom": {
|
|
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), )",
|
|
108089
|
-
"inheritedFrom": {
|
|
108090
|
-
"name": "SbbElement",
|
|
108091
|
-
"module": "core/base-elements/element.js"
|
|
108092
|
-
}
|
|
108093
|
-
},
|
|
108094
|
-
{
|
|
108095
|
-
"kind": "field",
|
|
108096
|
-
"name": "_resolveHydration",
|
|
108097
|
-
"type": {
|
|
108098
|
-
"text": "(hydrationRequired: boolean) => void"
|
|
108099
|
-
},
|
|
108100
|
-
"privacy": "private",
|
|
108101
|
-
"inheritedFrom": {
|
|
108102
|
-
"name": "SbbElement",
|
|
108103
|
-
"module": "core/base-elements/element.js"
|
|
108104
|
-
}
|
|
108105
|
-
},
|
|
108106
|
-
{
|
|
108107
|
-
"kind": "field",
|
|
108108
|
-
"name": "hydrationRequired",
|
|
108109
|
-
"type": {
|
|
108110
|
-
"text": "boolean"
|
|
108111
|
-
},
|
|
108112
|
-
"privacy": "protected",
|
|
108113
|
-
"description": "Returns whether hydration is required and not completed.",
|
|
108114
|
-
"readonly": true,
|
|
108115
|
-
"inheritedFrom": {
|
|
108116
|
-
"name": "SbbElement",
|
|
108117
|
-
"module": "core/base-elements/element.js"
|
|
108118
|
-
},
|
|
108119
|
-
"default": "!!this.shadowRoot"
|
|
108120
|
-
},
|
|
108121
|
-
{
|
|
108122
|
-
"kind": "method",
|
|
108123
|
-
"name": "toggleState",
|
|
108124
|
-
"privacy": "protected",
|
|
108125
|
-
"return": {
|
|
108126
|
-
"type": {
|
|
108127
|
-
"text": "void"
|
|
108128
|
-
}
|
|
108129
|
-
},
|
|
108130
|
-
"parameters": [
|
|
108131
|
-
{
|
|
108132
|
-
"name": "value",
|
|
108133
|
-
"type": {
|
|
108134
|
-
"text": "string"
|
|
108135
|
-
}
|
|
108136
|
-
},
|
|
108137
|
-
{
|
|
108138
|
-
"name": "force",
|
|
108139
|
-
"optional": true,
|
|
108140
|
-
"type": {
|
|
108141
|
-
"text": "boolean"
|
|
108142
|
-
}
|
|
108143
|
-
}
|
|
108144
|
-
],
|
|
108145
|
-
"inheritedFrom": {
|
|
108146
|
-
"name": "SbbElement",
|
|
108147
|
-
"module": "core/base-elements/element.js"
|
|
108148
|
-
}
|
|
108149
|
-
},
|
|
108150
|
-
{
|
|
108151
|
-
"kind": "field",
|
|
108152
|
-
"name": "['_$sbbElement$']",
|
|
108153
|
-
"type": {
|
|
108154
|
-
"text": "boolean"
|
|
107823
|
+
"kind": "field",
|
|
107824
|
+
"name": "['_$sbbElement$']",
|
|
107825
|
+
"type": {
|
|
107826
|
+
"text": "boolean"
|
|
108155
107827
|
},
|
|
108156
107828
|
"privacy": "public",
|
|
108157
107829
|
"static": true,
|
|
@@ -108176,7 +107848,7 @@
|
|
|
108176
107848
|
],
|
|
108177
107849
|
"mixins": [
|
|
108178
107850
|
{
|
|
108179
|
-
"name": "
|
|
107851
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
108180
107852
|
"module": "core/mixins.js"
|
|
108181
107853
|
},
|
|
108182
107854
|
{
|
|
@@ -108185,10 +107857,10 @@
|
|
|
108185
107857
|
}
|
|
108186
107858
|
],
|
|
108187
107859
|
"superclass": {
|
|
108188
|
-
"name": "
|
|
107860
|
+
"name": "SbbLinkBaseElement",
|
|
108189
107861
|
"module": "core/base-elements.js"
|
|
108190
107862
|
},
|
|
108191
|
-
"tagName": "sbb-menu-
|
|
107863
|
+
"tagName": "sbb-menu-link",
|
|
108192
107864
|
"customElement": true,
|
|
108193
107865
|
"attributes": [
|
|
108194
107866
|
{
|
|
@@ -108204,6 +107876,19 @@
|
|
|
108204
107876
|
"module": "core/mixins/disabled-mixin.js"
|
|
108205
107877
|
}
|
|
108206
107878
|
},
|
|
107879
|
+
{
|
|
107880
|
+
"name": "icon-name",
|
|
107881
|
+
"type": {
|
|
107882
|
+
"text": "string"
|
|
107883
|
+
},
|
|
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",
|
|
107887
|
+
"inheritedFrom": {
|
|
107888
|
+
"name": "SbbIconNameMixin",
|
|
107889
|
+
"module": "icon/icon-name-mixin.js"
|
|
107890
|
+
}
|
|
107891
|
+
},
|
|
108207
107892
|
{
|
|
108208
107893
|
"name": "disabled",
|
|
108209
107894
|
"description": "Whether the component is disabled.",
|
|
@@ -108218,66 +107903,81 @@
|
|
|
108218
107903
|
}
|
|
108219
107904
|
},
|
|
108220
107905
|
{
|
|
108221
|
-
"name": "
|
|
107906
|
+
"name": "href",
|
|
108222
107907
|
"type": {
|
|
108223
107908
|
"text": "string"
|
|
108224
107909
|
},
|
|
108225
107910
|
"default": "''",
|
|
108226
|
-
"description": "The
|
|
108227
|
-
"fieldName": "
|
|
107911
|
+
"description": "The href value you want to link to.",
|
|
107912
|
+
"fieldName": "href",
|
|
108228
107913
|
"inheritedFrom": {
|
|
108229
|
-
"name": "
|
|
108230
|
-
"module": "
|
|
107914
|
+
"name": "SbbLinkBaseElement",
|
|
107915
|
+
"module": "core/base-elements/link-base-element.js"
|
|
108231
107916
|
}
|
|
108232
107917
|
},
|
|
108233
107918
|
{
|
|
108234
|
-
"name": "
|
|
107919
|
+
"name": "target",
|
|
107920
|
+
"type": {
|
|
107921
|
+
"text": "LinkTargetType | string"
|
|
107922
|
+
},
|
|
107923
|
+
"default": "''",
|
|
107924
|
+
"description": "Where to display the linked URL.",
|
|
107925
|
+
"fieldName": "target",
|
|
107926
|
+
"inheritedFrom": {
|
|
107927
|
+
"name": "SbbLinkBaseElement",
|
|
107928
|
+
"module": "core/base-elements/link-base-element.js"
|
|
107929
|
+
}
|
|
107930
|
+
},
|
|
107931
|
+
{
|
|
107932
|
+
"name": "rel",
|
|
108235
107933
|
"type": {
|
|
108236
107934
|
"text": "string"
|
|
108237
107935
|
},
|
|
108238
107936
|
"default": "''",
|
|
108239
|
-
"description": "
|
|
108240
|
-
"fieldName": "
|
|
107937
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
107938
|
+
"fieldName": "rel",
|
|
108241
107939
|
"inheritedFrom": {
|
|
108242
|
-
"name": "
|
|
108243
|
-
"module": "core/base-elements/
|
|
107940
|
+
"name": "SbbLinkBaseElement",
|
|
107941
|
+
"module": "core/base-elements/link-base-element.js"
|
|
108244
107942
|
}
|
|
108245
107943
|
},
|
|
108246
107944
|
{
|
|
108247
|
-
"name": "
|
|
108248
|
-
"description": "The type attribute to use for the button.",
|
|
108249
|
-
"default": "'button'",
|
|
107945
|
+
"name": "download",
|
|
108250
107946
|
"type": {
|
|
108251
|
-
"text": "
|
|
107947
|
+
"text": "boolean"
|
|
108252
107948
|
},
|
|
108253
|
-
"
|
|
107949
|
+
"default": "false",
|
|
107950
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
107951
|
+
"fieldName": "download",
|
|
108254
107952
|
"inheritedFrom": {
|
|
108255
|
-
"name": "
|
|
108256
|
-
"module": "core/base-elements/
|
|
107953
|
+
"name": "SbbLinkBaseElement",
|
|
107954
|
+
"module": "core/base-elements/link-base-element.js"
|
|
108257
107955
|
}
|
|
108258
107956
|
},
|
|
108259
107957
|
{
|
|
108260
|
-
"name": "
|
|
108261
|
-
"description": "The `<form>` element to associate the button with.",
|
|
107958
|
+
"name": "accessibility-label",
|
|
108262
107959
|
"type": {
|
|
108263
|
-
"text": "
|
|
107960
|
+
"text": "string"
|
|
108264
107961
|
},
|
|
108265
|
-
"
|
|
107962
|
+
"default": "''",
|
|
107963
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
107964
|
+
"fieldName": "accessibilityLabel",
|
|
108266
107965
|
"inheritedFrom": {
|
|
108267
|
-
"name": "
|
|
108268
|
-
"module": "core/base-elements/
|
|
107966
|
+
"name": "SbbLinkBaseElement",
|
|
107967
|
+
"module": "core/base-elements/link-base-element.js"
|
|
108269
107968
|
}
|
|
108270
107969
|
},
|
|
108271
107970
|
{
|
|
108272
|
-
"name": "
|
|
108273
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
107971
|
+
"name": "accessibility-current",
|
|
108274
107972
|
"type": {
|
|
108275
107973
|
"text": "string"
|
|
108276
107974
|
},
|
|
108277
|
-
"
|
|
107975
|
+
"default": "''",
|
|
107976
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
107977
|
+
"fieldName": "accessibilityCurrent",
|
|
108278
107978
|
"inheritedFrom": {
|
|
108279
|
-
"name": "
|
|
108280
|
-
"module": "core/
|
|
107979
|
+
"name": "SbbLinkBaseElement",
|
|
107980
|
+
"module": "core/base-elements/link-base-element.js"
|
|
108281
107981
|
}
|
|
108282
107982
|
}
|
|
108283
107983
|
]
|
|
@@ -108286,22 +107986,22 @@
|
|
|
108286
107986
|
"exports": [
|
|
108287
107987
|
{
|
|
108288
107988
|
"kind": "js",
|
|
108289
|
-
"name": "
|
|
107989
|
+
"name": "SbbMenuLinkElement",
|
|
108290
107990
|
"declaration": {
|
|
108291
|
-
"name": "
|
|
108292
|
-
"module": "menu/menu-
|
|
107991
|
+
"name": "SbbMenuLinkElement",
|
|
107992
|
+
"module": "menu/menu-link/menu-link.component.js"
|
|
108293
107993
|
}
|
|
108294
107994
|
}
|
|
108295
107995
|
]
|
|
108296
107996
|
},
|
|
108297
107997
|
{
|
|
108298
107998
|
"kind": "javascript-module",
|
|
108299
|
-
"path": "menu/menu-
|
|
107999
|
+
"path": "menu/menu-button/menu-button.component.js",
|
|
108300
108000
|
"declarations": [
|
|
108301
108001
|
{
|
|
108302
108002
|
"kind": "class",
|
|
108303
|
-
"description": "It displays a
|
|
108304
|
-
"name": "
|
|
108003
|
+
"description": "It displays a button element that can be used in the `sbb-menu` component.",
|
|
108004
|
+
"name": "SbbMenuButtonElement",
|
|
108305
108005
|
"cssProperties": [
|
|
108306
108006
|
{
|
|
108307
108007
|
"description": "Can be used to modify horizontal padding.",
|
|
@@ -108311,7 +108011,7 @@
|
|
|
108311
108011
|
],
|
|
108312
108012
|
"slots": [
|
|
108313
108013
|
{
|
|
108314
|
-
"description": "Use the unnamed slot to add content to the `sbb-menu-
|
|
108014
|
+
"description": "Use the unnamed slot to add content to the `sbb-menu-button`.",
|
|
108315
108015
|
"name": ""
|
|
108316
108016
|
},
|
|
108317
108017
|
{
|
|
@@ -108333,20 +108033,21 @@
|
|
|
108333
108033
|
"name": "SbbElement",
|
|
108334
108034
|
"module": "core/base-elements/element.js"
|
|
108335
108035
|
},
|
|
108336
|
-
"default": "'sbb-menu-
|
|
108036
|
+
"default": "'sbb-menu-button'"
|
|
108337
108037
|
},
|
|
108338
108038
|
{
|
|
108339
108039
|
"kind": "field",
|
|
108340
|
-
"name": "
|
|
108040
|
+
"name": "role",
|
|
108341
108041
|
"type": {
|
|
108342
|
-
"text": "
|
|
108042
|
+
"text": "ElementInternals['role']"
|
|
108343
108043
|
},
|
|
108344
|
-
"privacy": "
|
|
108044
|
+
"privacy": "public",
|
|
108045
|
+
"static": true,
|
|
108345
108046
|
"readonly": true,
|
|
108346
108047
|
"default": "'menuitem'",
|
|
108347
108048
|
"inheritedFrom": {
|
|
108348
|
-
"name": "
|
|
108349
|
-
"module": "core/base-elements/
|
|
108049
|
+
"name": "SbbButtonLikeBaseElement",
|
|
108050
|
+
"module": "core/base-elements/button-base-element.js"
|
|
108350
108051
|
}
|
|
108351
108052
|
},
|
|
108352
108053
|
{
|
|
@@ -108365,6 +108066,50 @@
|
|
|
108365
108066
|
"module": "core/mixins/disabled-mixin.js"
|
|
108366
108067
|
}
|
|
108367
108068
|
},
|
|
108069
|
+
{
|
|
108070
|
+
"kind": "field",
|
|
108071
|
+
"name": "disabled",
|
|
108072
|
+
"privacy": "public",
|
|
108073
|
+
"description": "Whether the component is disabled.",
|
|
108074
|
+
"default": "false",
|
|
108075
|
+
"type": {
|
|
108076
|
+
"text": "boolean"
|
|
108077
|
+
},
|
|
108078
|
+
"attribute": "disabled",
|
|
108079
|
+
"reflects": true,
|
|
108080
|
+
"inheritedFrom": {
|
|
108081
|
+
"name": "SbbDisabledMixin",
|
|
108082
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
108083
|
+
}
|
|
108084
|
+
},
|
|
108085
|
+
{
|
|
108086
|
+
"kind": "field",
|
|
108087
|
+
"name": "#disabled",
|
|
108088
|
+
"privacy": "private",
|
|
108089
|
+
"type": {
|
|
108090
|
+
"text": "boolean"
|
|
108091
|
+
},
|
|
108092
|
+
"default": "false",
|
|
108093
|
+
"inheritedFrom": {
|
|
108094
|
+
"name": "SbbDisabledMixin",
|
|
108095
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
108096
|
+
}
|
|
108097
|
+
},
|
|
108098
|
+
{
|
|
108099
|
+
"kind": "method",
|
|
108100
|
+
"name": "isDisabledExternally",
|
|
108101
|
+
"privacy": "protected",
|
|
108102
|
+
"return": {
|
|
108103
|
+
"type": {
|
|
108104
|
+
"text": "boolean"
|
|
108105
|
+
}
|
|
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.",
|
|
108108
|
+
"inheritedFrom": {
|
|
108109
|
+
"name": "SbbDisabledMixin",
|
|
108110
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
108111
|
+
}
|
|
108112
|
+
},
|
|
108368
108113
|
{
|
|
108369
108114
|
"kind": "field",
|
|
108370
108115
|
"name": "styles",
|
|
@@ -108462,181 +108207,464 @@
|
|
|
108462
108207
|
},
|
|
108463
108208
|
{
|
|
108464
108209
|
"kind": "field",
|
|
108465
|
-
"name": "
|
|
108210
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
108211
|
+
"type": {
|
|
108212
|
+
"text": "array"
|
|
108213
|
+
},
|
|
108214
|
+
"privacy": "private",
|
|
108215
|
+
"readonly": true,
|
|
108216
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
108217
|
+
"inheritedFrom": {
|
|
108218
|
+
"name": "SbbButtonBaseElement",
|
|
108219
|
+
"module": "core/base-elements/button-base-element.js"
|
|
108220
|
+
}
|
|
108221
|
+
},
|
|
108222
|
+
{
|
|
108223
|
+
"kind": "field",
|
|
108224
|
+
"name": "value",
|
|
108225
|
+
"type": {
|
|
108226
|
+
"text": "string"
|
|
108227
|
+
},
|
|
108466
108228
|
"privacy": "public",
|
|
108467
|
-
"
|
|
108468
|
-
|
|
108229
|
+
"inheritedFrom": {
|
|
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"
|
|
108236
|
+
},
|
|
108237
|
+
{
|
|
108238
|
+
"kind": "field",
|
|
108239
|
+
"name": "type",
|
|
108240
|
+
"privacy": "public",
|
|
108241
|
+
"description": "The type attribute to use for the button.",
|
|
108242
|
+
"default": "'button'",
|
|
108469
108243
|
"type": {
|
|
108470
|
-
"text": "
|
|
108244
|
+
"text": "SbbButtonType"
|
|
108471
108245
|
},
|
|
108472
|
-
"attribute": "
|
|
108473
|
-
"reflects": true,
|
|
108246
|
+
"attribute": "type",
|
|
108474
108247
|
"inheritedFrom": {
|
|
108475
|
-
"name": "
|
|
108476
|
-
"module": "core/
|
|
108248
|
+
"name": "SbbButtonBaseElement",
|
|
108249
|
+
"module": "core/base-elements/button-base-element.js"
|
|
108477
108250
|
}
|
|
108478
108251
|
},
|
|
108479
108252
|
{
|
|
108480
108253
|
"kind": "field",
|
|
108481
|
-
"name": "
|
|
108482
|
-
"privacy": "private",
|
|
108254
|
+
"name": "form",
|
|
108483
108255
|
"type": {
|
|
108484
|
-
"text": "
|
|
108256
|
+
"text": "HTMLFormElement | null"
|
|
108485
108257
|
},
|
|
108486
|
-
"
|
|
108258
|
+
"privacy": "public",
|
|
108259
|
+
"description": "The `<form>` element to associate the button with.",
|
|
108487
108260
|
"inheritedFrom": {
|
|
108488
|
-
"name": "
|
|
108489
|
-
"module": "core/
|
|
108261
|
+
"name": "SbbButtonBaseElement",
|
|
108262
|
+
"module": "core/base-elements/button-base-element.js"
|
|
108263
|
+
},
|
|
108264
|
+
"attribute": "form"
|
|
108265
|
+
},
|
|
108266
|
+
{
|
|
108267
|
+
"kind": "field",
|
|
108268
|
+
"name": "_formId",
|
|
108269
|
+
"type": {
|
|
108270
|
+
"text": "string"
|
|
108271
|
+
},
|
|
108272
|
+
"privacy": "private",
|
|
108273
|
+
"default": "''",
|
|
108274
|
+
"inheritedFrom": {
|
|
108275
|
+
"name": "SbbButtonBaseElement",
|
|
108276
|
+
"module": "core/base-elements/button-base-element.js"
|
|
108277
|
+
}
|
|
108278
|
+
},
|
|
108279
|
+
{
|
|
108280
|
+
"kind": "field",
|
|
108281
|
+
"name": "_handleButtonClick",
|
|
108282
|
+
"privacy": "private",
|
|
108283
|
+
"inheritedFrom": {
|
|
108284
|
+
"name": "SbbButtonBaseElement",
|
|
108285
|
+
"module": "core/base-elements/button-base-element.js"
|
|
108490
108286
|
}
|
|
108491
108287
|
},
|
|
108492
108288
|
{
|
|
108493
108289
|
"kind": "method",
|
|
108494
|
-
"name": "
|
|
108495
|
-
"privacy": "
|
|
108290
|
+
"name": "_requestSubmit",
|
|
108291
|
+
"privacy": "private",
|
|
108496
108292
|
"return": {
|
|
108497
108293
|
"type": {
|
|
108498
|
-
"text": "
|
|
108294
|
+
"text": "void"
|
|
108499
108295
|
}
|
|
108500
108296
|
},
|
|
108501
|
-
"
|
|
108297
|
+
"parameters": [
|
|
108298
|
+
{
|
|
108299
|
+
"name": "form",
|
|
108300
|
+
"type": {
|
|
108301
|
+
"text": "HTMLFormElement"
|
|
108302
|
+
}
|
|
108303
|
+
}
|
|
108304
|
+
],
|
|
108502
108305
|
"inheritedFrom": {
|
|
108503
|
-
"name": "
|
|
108504
|
-
"module": "core/
|
|
108306
|
+
"name": "SbbButtonBaseElement",
|
|
108307
|
+
"module": "core/base-elements/button-base-element.js"
|
|
108505
108308
|
}
|
|
108506
108309
|
},
|
|
108507
108310
|
{
|
|
108508
108311
|
"kind": "field",
|
|
108509
|
-
"name": "
|
|
108510
|
-
"
|
|
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,
|
|
108312
|
+
"name": "_formKeyDown",
|
|
108313
|
+
"privacy": "private",
|
|
108518
108314
|
"inheritedFrom": {
|
|
108519
|
-
"name": "
|
|
108520
|
-
"module": "core/base-elements/
|
|
108315
|
+
"name": "SbbButtonBaseElement",
|
|
108316
|
+
"module": "core/base-elements/button-base-element.js"
|
|
108521
108317
|
}
|
|
108522
108318
|
},
|
|
108523
108319
|
{
|
|
108524
108320
|
"kind": "field",
|
|
108525
|
-
"name": "
|
|
108321
|
+
"name": "formAssociated",
|
|
108526
108322
|
"type": {
|
|
108527
|
-
"text": "
|
|
108323
|
+
"text": "boolean"
|
|
108528
108324
|
},
|
|
108529
108325
|
"privacy": "public",
|
|
108530
|
-
"
|
|
108531
|
-
"
|
|
108532
|
-
"attribute": "target",
|
|
108533
|
-
"reflects": true,
|
|
108326
|
+
"static": true,
|
|
108327
|
+
"default": "true",
|
|
108534
108328
|
"inheritedFrom": {
|
|
108535
|
-
"name": "
|
|
108536
|
-
"module": "core/
|
|
108329
|
+
"name": "SbbFormAssociatedMixin",
|
|
108330
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
108537
108331
|
}
|
|
108538
108332
|
},
|
|
108539
108333
|
{
|
|
108540
108334
|
"kind": "field",
|
|
108541
|
-
"name": "
|
|
108335
|
+
"name": "name",
|
|
108336
|
+
"privacy": "public",
|
|
108337
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
108542
108338
|
"type": {
|
|
108543
108339
|
"text": "string"
|
|
108544
108340
|
},
|
|
108545
|
-
"
|
|
108546
|
-
"default": "''",
|
|
108547
|
-
"description": "The relationship of the linked URL as space-separated link types.",
|
|
108548
|
-
"attribute": "rel",
|
|
108549
|
-
"reflects": true,
|
|
108341
|
+
"attribute": "name",
|
|
108550
108342
|
"inheritedFrom": {
|
|
108551
|
-
"name": "
|
|
108552
|
-
"module": "core/
|
|
108343
|
+
"name": "SbbFormAssociatedMixin",
|
|
108344
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
108553
108345
|
}
|
|
108554
108346
|
},
|
|
108555
108347
|
{
|
|
108556
108348
|
"kind": "field",
|
|
108557
|
-
"name": "
|
|
108349
|
+
"name": "validity",
|
|
108558
108350
|
"type": {
|
|
108559
|
-
"text": "
|
|
108351
|
+
"text": "ValidityState"
|
|
108560
108352
|
},
|
|
108561
108353
|
"privacy": "public",
|
|
108562
|
-
"
|
|
108563
|
-
"
|
|
108564
|
-
"attribute": "download",
|
|
108565
|
-
"reflects": true,
|
|
108354
|
+
"description": "Returns the ValidityState object for this element.",
|
|
108355
|
+
"readonly": true,
|
|
108566
108356
|
"inheritedFrom": {
|
|
108567
|
-
"name": "
|
|
108568
|
-
"module": "core/
|
|
108357
|
+
"name": "SbbFormAssociatedMixin",
|
|
108358
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
108569
108359
|
}
|
|
108570
108360
|
},
|
|
108571
108361
|
{
|
|
108572
108362
|
"kind": "field",
|
|
108573
|
-
"name": "
|
|
108363
|
+
"name": "validationMessage",
|
|
108574
108364
|
"type": {
|
|
108575
108365
|
"text": "string"
|
|
108576
108366
|
},
|
|
108577
108367
|
"privacy": "public",
|
|
108578
|
-
"
|
|
108579
|
-
"
|
|
108580
|
-
"attribute": "accessibility-label",
|
|
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.",
|
|
108369
|
+
"readonly": true,
|
|
108581
108370
|
"inheritedFrom": {
|
|
108582
|
-
"name": "
|
|
108583
|
-
"module": "core/
|
|
108371
|
+
"name": "SbbFormAssociatedMixin",
|
|
108372
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
108584
108373
|
}
|
|
108585
108374
|
},
|
|
108586
108375
|
{
|
|
108587
108376
|
"kind": "field",
|
|
108588
|
-
"name": "
|
|
108377
|
+
"name": "willValidate",
|
|
108589
108378
|
"type": {
|
|
108590
|
-
"text": "
|
|
108379
|
+
"text": "boolean"
|
|
108591
108380
|
},
|
|
108592
108381
|
"privacy": "public",
|
|
108593
|
-
"
|
|
108594
|
-
"
|
|
108595
|
-
"attribute": "accessibility-current",
|
|
108382
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
108383
|
+
"readonly": true,
|
|
108596
108384
|
"inheritedFrom": {
|
|
108597
|
-
"name": "
|
|
108598
|
-
"module": "core/
|
|
108385
|
+
"name": "SbbFormAssociatedMixin",
|
|
108386
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
108599
108387
|
}
|
|
108600
108388
|
},
|
|
108601
108389
|
{
|
|
108602
108390
|
"kind": "field",
|
|
108603
|
-
"name": "
|
|
108604
|
-
"privacy": "
|
|
108605
|
-
"default": "new
|
|
108391
|
+
"name": "_validityStates",
|
|
108392
|
+
"privacy": "private",
|
|
108393
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
108606
108394
|
"inheritedFrom": {
|
|
108607
|
-
"name": "
|
|
108608
|
-
"module": "core/
|
|
108395
|
+
"name": "SbbFormAssociatedMixin",
|
|
108396
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
108609
108397
|
}
|
|
108610
108398
|
},
|
|
108611
108399
|
{
|
|
108612
108400
|
"kind": "field",
|
|
108613
|
-
"name": "
|
|
108401
|
+
"name": "formDisabled",
|
|
108402
|
+
"type": {
|
|
108403
|
+
"text": "boolean"
|
|
108404
|
+
},
|
|
108405
|
+
"privacy": "protected",
|
|
108406
|
+
"default": "false",
|
|
108407
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
108408
|
+
"inheritedFrom": {
|
|
108409
|
+
"name": "SbbFormAssociatedMixin",
|
|
108410
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
108411
|
+
}
|
|
108412
|
+
},
|
|
108413
|
+
{
|
|
108414
|
+
"kind": "method",
|
|
108415
|
+
"name": "checkValidity",
|
|
108416
|
+
"privacy": "public",
|
|
108417
|
+
"return": {
|
|
108418
|
+
"type": {
|
|
108419
|
+
"text": "boolean"
|
|
108420
|
+
}
|
|
108421
|
+
},
|
|
108422
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
108423
|
+
"inheritedFrom": {
|
|
108424
|
+
"name": "SbbFormAssociatedMixin",
|
|
108425
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
108426
|
+
}
|
|
108427
|
+
},
|
|
108428
|
+
{
|
|
108429
|
+
"kind": "method",
|
|
108430
|
+
"name": "reportValidity",
|
|
108431
|
+
"privacy": "public",
|
|
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.",
|
|
108438
|
+
"inheritedFrom": {
|
|
108439
|
+
"name": "SbbFormAssociatedMixin",
|
|
108440
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
108441
|
+
}
|
|
108442
|
+
},
|
|
108443
|
+
{
|
|
108444
|
+
"kind": "method",
|
|
108445
|
+
"name": "setCustomValidity",
|
|
108446
|
+
"privacy": "public",
|
|
108447
|
+
"return": {
|
|
108448
|
+
"type": {
|
|
108449
|
+
"text": "void"
|
|
108450
|
+
}
|
|
108451
|
+
},
|
|
108452
|
+
"parameters": [
|
|
108453
|
+
{
|
|
108454
|
+
"name": "message",
|
|
108455
|
+
"type": {
|
|
108456
|
+
"text": "string"
|
|
108457
|
+
}
|
|
108458
|
+
}
|
|
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.",
|
|
108461
|
+
"inheritedFrom": {
|
|
108462
|
+
"name": "SbbFormAssociatedMixin",
|
|
108463
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
108464
|
+
}
|
|
108465
|
+
},
|
|
108466
|
+
{
|
|
108467
|
+
"kind": "method",
|
|
108468
|
+
"name": "_hasDisabledAncestor",
|
|
108614
108469
|
"privacy": "private",
|
|
108470
|
+
"return": {
|
|
108471
|
+
"type": {
|
|
108472
|
+
"text": "boolean"
|
|
108473
|
+
}
|
|
108474
|
+
},
|
|
108615
108475
|
"inheritedFrom": {
|
|
108616
|
-
"name": "
|
|
108617
|
-
"module": "core/
|
|
108476
|
+
"name": "SbbFormAssociatedMixin",
|
|
108477
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
108618
108478
|
}
|
|
108619
108479
|
},
|
|
108620
108480
|
{
|
|
108621
108481
|
"kind": "method",
|
|
108622
|
-
"name": "
|
|
108482
|
+
"name": "updateFormValue",
|
|
108623
108483
|
"privacy": "protected",
|
|
108624
108484
|
"return": {
|
|
108625
108485
|
"type": {
|
|
108626
|
-
"text": "
|
|
108486
|
+
"text": "void"
|
|
108487
|
+
}
|
|
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",
|
|
108490
|
+
"inheritedFrom": {
|
|
108491
|
+
"name": "SbbFormAssociatedMixin",
|
|
108492
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
108493
|
+
}
|
|
108494
|
+
},
|
|
108495
|
+
{
|
|
108496
|
+
"kind": "method",
|
|
108497
|
+
"name": "formState",
|
|
108498
|
+
"privacy": "protected",
|
|
108499
|
+
"return": {
|
|
108500
|
+
"type": {
|
|
108501
|
+
"text": "FormRestoreState"
|
|
108502
|
+
}
|
|
108503
|
+
},
|
|
108504
|
+
"inheritedFrom": {
|
|
108505
|
+
"name": "SbbFormAssociatedMixin",
|
|
108506
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
108507
|
+
}
|
|
108508
|
+
},
|
|
108509
|
+
{
|
|
108510
|
+
"kind": "method",
|
|
108511
|
+
"name": "setValidityFlag",
|
|
108512
|
+
"privacy": "protected",
|
|
108513
|
+
"return": {
|
|
108514
|
+
"type": {
|
|
108515
|
+
"text": "void"
|
|
108627
108516
|
}
|
|
108628
108517
|
},
|
|
108629
108518
|
"parameters": [
|
|
108630
108519
|
{
|
|
108631
|
-
"name": "
|
|
108520
|
+
"name": "flag",
|
|
108632
108521
|
"type": {
|
|
108633
|
-
"text": "
|
|
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]"
|
|
108634
108536
|
}
|
|
108635
108537
|
}
|
|
108636
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).",
|
|
108637
108540
|
"inheritedFrom": {
|
|
108638
|
-
"name": "
|
|
108639
|
-
"module": "core/
|
|
108541
|
+
"name": "SbbFormAssociatedMixin",
|
|
108542
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
108543
|
+
}
|
|
108544
|
+
},
|
|
108545
|
+
{
|
|
108546
|
+
"kind": "method",
|
|
108547
|
+
"name": "removeValidityFlag",
|
|
108548
|
+
"privacy": "protected",
|
|
108549
|
+
"return": {
|
|
108550
|
+
"type": {
|
|
108551
|
+
"text": "void"
|
|
108552
|
+
}
|
|
108553
|
+
},
|
|
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.",
|
|
108563
|
+
"inheritedFrom": {
|
|
108564
|
+
"name": "SbbFormAssociatedMixin",
|
|
108565
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
108566
|
+
}
|
|
108567
|
+
},
|
|
108568
|
+
{
|
|
108569
|
+
"kind": "method",
|
|
108570
|
+
"name": "validate",
|
|
108571
|
+
"privacy": "protected",
|
|
108572
|
+
"return": {
|
|
108573
|
+
"type": {
|
|
108574
|
+
"text": "void"
|
|
108575
|
+
}
|
|
108576
|
+
},
|
|
108577
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
108578
|
+
"inheritedFrom": {
|
|
108579
|
+
"name": "SbbFormAssociatedMixin",
|
|
108580
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
108581
|
+
}
|
|
108582
|
+
},
|
|
108583
|
+
{
|
|
108584
|
+
"kind": "method",
|
|
108585
|
+
"name": "shouldValidate",
|
|
108586
|
+
"privacy": "protected",
|
|
108587
|
+
"return": {
|
|
108588
|
+
"type": {
|
|
108589
|
+
"text": "boolean"
|
|
108590
|
+
}
|
|
108591
|
+
},
|
|
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.",
|
|
108601
|
+
"inheritedFrom": {
|
|
108602
|
+
"name": "SbbFormAssociatedMixin",
|
|
108603
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
108604
|
+
}
|
|
108605
|
+
},
|
|
108606
|
+
{
|
|
108607
|
+
"kind": "method",
|
|
108608
|
+
"name": "_setInternalValidity",
|
|
108609
|
+
"privacy": "private",
|
|
108610
|
+
"return": {
|
|
108611
|
+
"type": {
|
|
108612
|
+
"text": "void"
|
|
108613
|
+
}
|
|
108614
|
+
},
|
|
108615
|
+
"inheritedFrom": {
|
|
108616
|
+
"name": "SbbFormAssociatedMixin",
|
|
108617
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
108618
|
+
}
|
|
108619
|
+
},
|
|
108620
|
+
{
|
|
108621
|
+
"kind": "field",
|
|
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
|
+
],
|
|
108631
|
+
"inheritedFrom": {
|
|
108632
|
+
"name": "SbbButtonLikeBaseElement",
|
|
108633
|
+
"module": "core/base-elements/button-base-element.js"
|
|
108634
|
+
}
|
|
108635
|
+
},
|
|
108636
|
+
{
|
|
108637
|
+
"kind": "field",
|
|
108638
|
+
"name": "_removeActiveMarker",
|
|
108639
|
+
"privacy": "private",
|
|
108640
|
+
"inheritedFrom": {
|
|
108641
|
+
"name": "SbbButtonLikeBaseElement",
|
|
108642
|
+
"module": "core/base-elements/button-base-element.js"
|
|
108643
|
+
}
|
|
108644
|
+
},
|
|
108645
|
+
{
|
|
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.",
|
|
108650
|
+
"parameters": [
|
|
108651
|
+
{
|
|
108652
|
+
"description": "The origin event.",
|
|
108653
|
+
"name": "event"
|
|
108654
|
+
}
|
|
108655
|
+
],
|
|
108656
|
+
"inheritedFrom": {
|
|
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
|
]
|