@sbb-esta/lyne-elements-dev 5.0.0-next.1-dev.1777366078 → 5.0.0-next.1-dev.1777448509
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/card/card/card.component.js +1 -1
- package/card.component-BcHiYB03.js +61 -0
- package/card.js +1 -1
- package/card.pure.js +1 -1
- package/core/styles/core.scss +8 -33
- package/core/styles/mixins/card.scss +5 -3
- package/core/styles/mixins/typo.scss +13 -31
- package/core.css +3 -22
- package/custom-elements.json +1466 -1466
- package/development/card/card/card.component.js +1 -1
- package/development/{card.component-B2cQYSCD.js → card.component-CpOdKJJ0.js} +2 -2
- package/development/card.js +1 -1
- package/development/card.pure.js +1 -1
- package/development/dialog/dialog-title/dialog-title.component.js +1 -1
- package/development/dialog-title.component-CnIk_xMF.js +29 -0
- package/development/dialog.js +1 -1
- package/development/dialog.pure.js +1 -1
- package/development/file-selector/file-selector-dropzone/file-selector-dropzone.component.js +1 -1
- package/development/{file-selector-dropzone.component-DMNom2OW.js → file-selector-dropzone.component-DvIIHINv.js} +2 -2
- package/development/file-selector.js +1 -1
- package/development/file-selector.pure.js +1 -1
- package/development/journey-header/journey-header.component.js +1 -1
- package/development/journey-header.component-Dvqw7fug.js +150 -0
- package/development/journey-header.js +1 -1
- package/development/journey-header.pure.js +1 -1
- package/development/navigation/navigation-section/navigation-section.component.js +1 -1
- package/development/navigation-section.component-DBINlaTX.js +346 -0
- package/development/navigation.js +1 -1
- package/development/navigation.pure.js +1 -1
- package/development/teaser/teaser.component.js +1 -1
- package/development/teaser-product/common/teaser-product-common.js +1 -1
- package/development/teaser-product/teaser-product/teaser-product.component.js +1 -1
- package/development/teaser-product-common-Q9KK6514.js +78 -0
- package/development/teaser-product.component-C5wV0a_c.js +44 -0
- package/development/teaser-product.js +2 -2
- package/development/teaser-product.pure.js +2 -2
- package/development/teaser.component-8cqR7wx4.js +116 -0
- package/development/teaser.js +1 -1
- package/development/teaser.pure.js +1 -1
- package/development/title/title-base.js +1 -1
- package/development/title/title.component.js +1 -1
- package/development/title-base-QBLTDdVa.js +102 -0
- package/development/title.component-DeSXwF7P.js +71 -0
- package/development/title.js +2 -2
- package/development/title.pure.js +2 -2
- package/development/toast/toast.component.js +1 -1
- package/development/toast.component-CrjaQMNl.js +268 -0
- package/development/toast.js +1 -1
- package/development/toast.pure.js +1 -1
- package/dialog/dialog-title/dialog-title.component.js +1 -1
- package/dialog-title.component-Cm-QxTF7.js +17 -0
- package/dialog.js +1 -1
- package/dialog.pure.js +1 -1
- package/file-selector/file-selector-dropzone/file-selector-dropzone.component.js +1 -1
- package/{file-selector-dropzone.component-CWwpvAVD.js → file-selector-dropzone.component-DYLTIaiE.js} +1 -1
- package/file-selector.js +1 -1
- package/file-selector.pure.js +1 -1
- package/journey-header/journey-header.component.js +1 -1
- package/{journey-header.component-DU09Hyme.js → journey-header.component-DPqv2v3z.js} +1 -1
- package/journey-header.js +1 -1
- package/journey-header.pure.js +1 -1
- package/navigation/navigation-section/navigation-section.component.js +1 -1
- package/{navigation-section.component-K4Pa53K7.js → navigation-section.component-BkhBZ4vH.js} +1 -1
- package/navigation.js +1 -1
- package/navigation.pure.js +1 -1
- package/off-brand-theme.css +3 -22
- package/package.json +2 -2
- package/safety-theme.css +3 -22
- package/standard-theme.css +3 -22
- package/teaser/teaser.component.js +1 -1
- package/teaser-product/common/teaser-product-common.js +1 -1
- package/teaser-product/teaser-product/teaser-product.component.js +1 -1
- package/{teaser-product-common-Kz3ApcVE.js → teaser-product-common-DvenwiUs.js} +1 -1
- package/{teaser-product.component-C7KoSqcP.js → teaser-product.component-tut8eGiy.js} +1 -1
- package/teaser-product.js +2 -2
- package/teaser-product.pure.js +2 -2
- package/{teaser.component-B2y2AlAx.js → teaser.component-Bf74T58g.js} +1 -1
- package/teaser.js +1 -1
- package/teaser.pure.js +1 -1
- package/title/title-base.js +1 -1
- package/title/title.component.js +1 -1
- package/{title-base-B43-Q_7r.js → title-base-CBTQR0xw.js} +1 -1
- package/{title.component-DXJHJ6p6.js → title.component-DzmgLLrE.js} +2 -2
- package/title.js +2 -2
- package/title.pure.js +2 -2
- package/toast/toast.component.js +1 -1
- package/{toast.component-2hmfUgsX.js → toast.component-dNIDSiAM.js} +1 -1
- package/toast.js +1 -1
- package/toast.pure.js +1 -1
- package/card.component-DZrNg3sQ.js +0 -61
- package/development/dialog-title.component-CNMzIUB2.js +0 -29
- package/development/journey-header.component-D8o3F1Su.js +0 -150
- package/development/navigation-section.component-t36xyaq4.js +0 -346
- package/development/teaser-product-common-DasV_SDa.js +0 -78
- package/development/teaser-product.component-CB6fOX7T.js +0 -44
- package/development/teaser.component-C7uXEaPK.js +0 -116
- package/development/title-base-DKVyL7TQ.js +0 -102
- package/development/title.component-BEEzA9cF.js +0 -71
- package/development/toast.component-DvVY7zpe.js +0 -268
- package/dialog-title.component-CRGqiwZu.js +0 -17
package/custom-elements.json
CHANGED
|
@@ -52222,12 +52222,12 @@
|
|
|
52222
52222
|
},
|
|
52223
52223
|
{
|
|
52224
52224
|
"kind": "javascript-module",
|
|
52225
|
-
"path": "button/secondary-button
|
|
52225
|
+
"path": "button/secondary-button/secondary-button.component.js",
|
|
52226
52226
|
"declarations": [
|
|
52227
52227
|
{
|
|
52228
52228
|
"kind": "class",
|
|
52229
|
-
"description": "It displays a button enhanced with the SBB Design in the 'secondary' variant
|
|
52230
|
-
"name": "
|
|
52229
|
+
"description": "It displays a button enhanced with the SBB Design in the 'secondary' variant.",
|
|
52230
|
+
"name": "SbbSecondaryButtonElement",
|
|
52231
52231
|
"cssProperties": [
|
|
52232
52232
|
{
|
|
52233
52233
|
"description": "The delay before the loading animation starts, when setting the button into loading state.",
|
|
@@ -52237,7 +52237,7 @@
|
|
|
52237
52237
|
],
|
|
52238
52238
|
"slots": [
|
|
52239
52239
|
{
|
|
52240
|
-
"description": "Use the unnamed slot to add content to the secondary-button
|
|
52240
|
+
"description": "Use the unnamed slot to add content to the secondary-button.",
|
|
52241
52241
|
"name": ""
|
|
52242
52242
|
},
|
|
52243
52243
|
{
|
|
@@ -52255,7 +52255,7 @@
|
|
|
52255
52255
|
"privacy": "public",
|
|
52256
52256
|
"static": true,
|
|
52257
52257
|
"readonly": true,
|
|
52258
|
-
"default": "'sbb-secondary-button
|
|
52258
|
+
"default": "'sbb-secondary-button'",
|
|
52259
52259
|
"inheritedFrom": {
|
|
52260
52260
|
"name": "SbbElement",
|
|
52261
52261
|
"module": "core/base-elements/element.js"
|
|
@@ -52466,151 +52466,479 @@
|
|
|
52466
52466
|
},
|
|
52467
52467
|
{
|
|
52468
52468
|
"kind": "field",
|
|
52469
|
-
"name": "
|
|
52469
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
52470
|
+
"type": {
|
|
52471
|
+
"text": "array"
|
|
52472
|
+
},
|
|
52473
|
+
"privacy": "private",
|
|
52474
|
+
"readonly": true,
|
|
52475
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
52476
|
+
"inheritedFrom": {
|
|
52477
|
+
"name": "SbbButtonBaseElement",
|
|
52478
|
+
"module": "core/base-elements/button-base-element.js"
|
|
52479
|
+
}
|
|
52480
|
+
},
|
|
52481
|
+
{
|
|
52482
|
+
"kind": "field",
|
|
52483
|
+
"name": "value",
|
|
52470
52484
|
"type": {
|
|
52471
52485
|
"text": "string"
|
|
52472
52486
|
},
|
|
52473
52487
|
"privacy": "public",
|
|
52474
52488
|
"default": "''",
|
|
52475
|
-
"description": "
|
|
52476
|
-
"attribute": "
|
|
52477
|
-
"reflects": true,
|
|
52489
|
+
"description": "Value of the form element.",
|
|
52490
|
+
"attribute": "value",
|
|
52478
52491
|
"inheritedFrom": {
|
|
52479
|
-
"name": "
|
|
52480
|
-
"module": "core/base-elements/
|
|
52492
|
+
"name": "SbbButtonBaseElement",
|
|
52493
|
+
"module": "core/base-elements/button-base-element.js"
|
|
52481
52494
|
}
|
|
52482
52495
|
},
|
|
52483
52496
|
{
|
|
52484
52497
|
"kind": "field",
|
|
52485
|
-
"name": "
|
|
52498
|
+
"name": "type",
|
|
52499
|
+
"privacy": "public",
|
|
52500
|
+
"description": "The type attribute to use for the button.",
|
|
52501
|
+
"default": "'button'",
|
|
52486
52502
|
"type": {
|
|
52487
|
-
"text": "
|
|
52503
|
+
"text": "SbbButtonType"
|
|
52504
|
+
},
|
|
52505
|
+
"attribute": "type",
|
|
52506
|
+
"inheritedFrom": {
|
|
52507
|
+
"name": "SbbButtonBaseElement",
|
|
52508
|
+
"module": "core/base-elements/button-base-element.js"
|
|
52509
|
+
}
|
|
52510
|
+
},
|
|
52511
|
+
{
|
|
52512
|
+
"kind": "field",
|
|
52513
|
+
"name": "form",
|
|
52514
|
+
"type": {
|
|
52515
|
+
"text": "HTMLFormElement | null"
|
|
52488
52516
|
},
|
|
52489
52517
|
"privacy": "public",
|
|
52490
|
-
"
|
|
52491
|
-
"
|
|
52492
|
-
"attribute": "target",
|
|
52493
|
-
"reflects": true,
|
|
52518
|
+
"description": "The `<form>` element to associate the button with.",
|
|
52519
|
+
"attribute": "form",
|
|
52494
52520
|
"inheritedFrom": {
|
|
52495
|
-
"name": "
|
|
52496
|
-
"module": "core/base-elements/
|
|
52521
|
+
"name": "SbbButtonBaseElement",
|
|
52522
|
+
"module": "core/base-elements/button-base-element.js"
|
|
52497
52523
|
}
|
|
52498
52524
|
},
|
|
52499
52525
|
{
|
|
52500
52526
|
"kind": "field",
|
|
52501
|
-
"name": "
|
|
52527
|
+
"name": "_formId",
|
|
52502
52528
|
"type": {
|
|
52503
52529
|
"text": "string"
|
|
52504
52530
|
},
|
|
52505
|
-
"privacy": "
|
|
52531
|
+
"privacy": "private",
|
|
52506
52532
|
"default": "''",
|
|
52507
|
-
"description": "The relationship of the linked URL as space-separated link types.",
|
|
52508
|
-
"attribute": "rel",
|
|
52509
|
-
"reflects": true,
|
|
52510
52533
|
"inheritedFrom": {
|
|
52511
|
-
"name": "
|
|
52512
|
-
"module": "core/base-elements/
|
|
52534
|
+
"name": "SbbButtonBaseElement",
|
|
52535
|
+
"module": "core/base-elements/button-base-element.js"
|
|
52513
52536
|
}
|
|
52514
52537
|
},
|
|
52515
52538
|
{
|
|
52516
52539
|
"kind": "field",
|
|
52517
|
-
"name": "
|
|
52540
|
+
"name": "_handleButtonClick",
|
|
52541
|
+
"privacy": "private",
|
|
52542
|
+
"inheritedFrom": {
|
|
52543
|
+
"name": "SbbButtonBaseElement",
|
|
52544
|
+
"module": "core/base-elements/button-base-element.js"
|
|
52545
|
+
}
|
|
52546
|
+
},
|
|
52547
|
+
{
|
|
52548
|
+
"kind": "method",
|
|
52549
|
+
"name": "_requestSubmit",
|
|
52550
|
+
"privacy": "private",
|
|
52551
|
+
"return": {
|
|
52552
|
+
"type": {
|
|
52553
|
+
"text": "void"
|
|
52554
|
+
}
|
|
52555
|
+
},
|
|
52556
|
+
"parameters": [
|
|
52557
|
+
{
|
|
52558
|
+
"name": "form",
|
|
52559
|
+
"type": {
|
|
52560
|
+
"text": "HTMLFormElement"
|
|
52561
|
+
}
|
|
52562
|
+
}
|
|
52563
|
+
],
|
|
52564
|
+
"inheritedFrom": {
|
|
52565
|
+
"name": "SbbButtonBaseElement",
|
|
52566
|
+
"module": "core/base-elements/button-base-element.js"
|
|
52567
|
+
}
|
|
52568
|
+
},
|
|
52569
|
+
{
|
|
52570
|
+
"kind": "field",
|
|
52571
|
+
"name": "_formKeyDown",
|
|
52572
|
+
"privacy": "private",
|
|
52573
|
+
"inheritedFrom": {
|
|
52574
|
+
"name": "SbbButtonBaseElement",
|
|
52575
|
+
"module": "core/base-elements/button-base-element.js"
|
|
52576
|
+
}
|
|
52577
|
+
},
|
|
52578
|
+
{
|
|
52579
|
+
"kind": "field",
|
|
52580
|
+
"name": "formAssociated",
|
|
52518
52581
|
"type": {
|
|
52519
52582
|
"text": "boolean"
|
|
52520
52583
|
},
|
|
52521
52584
|
"privacy": "public",
|
|
52522
|
-
"
|
|
52523
|
-
"
|
|
52524
|
-
"attribute": "download",
|
|
52525
|
-
"reflects": true,
|
|
52585
|
+
"static": true,
|
|
52586
|
+
"default": "true",
|
|
52526
52587
|
"inheritedFrom": {
|
|
52527
|
-
"name": "
|
|
52528
|
-
"module": "core/
|
|
52588
|
+
"name": "SbbFormAssociatedMixin",
|
|
52589
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
52529
52590
|
}
|
|
52530
52591
|
},
|
|
52531
52592
|
{
|
|
52532
52593
|
"kind": "field",
|
|
52533
|
-
"name": "
|
|
52594
|
+
"name": "name",
|
|
52595
|
+
"privacy": "public",
|
|
52596
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
52534
52597
|
"type": {
|
|
52535
52598
|
"text": "string"
|
|
52536
52599
|
},
|
|
52600
|
+
"attribute": "name",
|
|
52601
|
+
"inheritedFrom": {
|
|
52602
|
+
"name": "SbbFormAssociatedMixin",
|
|
52603
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
52604
|
+
}
|
|
52605
|
+
},
|
|
52606
|
+
{
|
|
52607
|
+
"kind": "field",
|
|
52608
|
+
"name": "validity",
|
|
52609
|
+
"type": {
|
|
52610
|
+
"text": "ValidityState"
|
|
52611
|
+
},
|
|
52537
52612
|
"privacy": "public",
|
|
52538
|
-
"
|
|
52539
|
-
"
|
|
52540
|
-
"attribute": "accessibility-label",
|
|
52613
|
+
"description": "Returns the ValidityState object for this element.",
|
|
52614
|
+
"readonly": true,
|
|
52541
52615
|
"inheritedFrom": {
|
|
52542
|
-
"name": "
|
|
52543
|
-
"module": "core/
|
|
52616
|
+
"name": "SbbFormAssociatedMixin",
|
|
52617
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
52544
52618
|
}
|
|
52545
52619
|
},
|
|
52546
52620
|
{
|
|
52547
52621
|
"kind": "field",
|
|
52548
|
-
"name": "
|
|
52622
|
+
"name": "validationMessage",
|
|
52549
52623
|
"type": {
|
|
52550
52624
|
"text": "string"
|
|
52551
52625
|
},
|
|
52552
52626
|
"privacy": "public",
|
|
52553
|
-
"
|
|
52554
|
-
"
|
|
52555
|
-
"attribute": "accessibility-current",
|
|
52627
|
+
"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.",
|
|
52628
|
+
"readonly": true,
|
|
52556
52629
|
"inheritedFrom": {
|
|
52557
|
-
"name": "
|
|
52558
|
-
"module": "core/
|
|
52630
|
+
"name": "SbbFormAssociatedMixin",
|
|
52631
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
52559
52632
|
}
|
|
52560
52633
|
},
|
|
52561
52634
|
{
|
|
52562
52635
|
"kind": "field",
|
|
52563
|
-
"name": "
|
|
52564
|
-
"
|
|
52565
|
-
|
|
52636
|
+
"name": "willValidate",
|
|
52637
|
+
"type": {
|
|
52638
|
+
"text": "boolean"
|
|
52639
|
+
},
|
|
52640
|
+
"privacy": "public",
|
|
52641
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
52642
|
+
"readonly": true,
|
|
52566
52643
|
"inheritedFrom": {
|
|
52567
|
-
"name": "
|
|
52568
|
-
"module": "core/
|
|
52644
|
+
"name": "SbbFormAssociatedMixin",
|
|
52645
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
52569
52646
|
}
|
|
52570
52647
|
},
|
|
52571
52648
|
{
|
|
52572
52649
|
"kind": "field",
|
|
52573
|
-
"name": "
|
|
52650
|
+
"name": "_validityStates",
|
|
52651
|
+
"privacy": "private",
|
|
52652
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
52653
|
+
"inheritedFrom": {
|
|
52654
|
+
"name": "SbbFormAssociatedMixin",
|
|
52655
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
52656
|
+
}
|
|
52657
|
+
},
|
|
52658
|
+
{
|
|
52659
|
+
"kind": "field",
|
|
52660
|
+
"name": "formDisabled",
|
|
52574
52661
|
"type": {
|
|
52575
|
-
"text": "
|
|
52662
|
+
"text": "boolean"
|
|
52576
52663
|
},
|
|
52577
52664
|
"privacy": "protected",
|
|
52578
|
-
"
|
|
52579
|
-
"
|
|
52665
|
+
"default": "false",
|
|
52666
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
52580
52667
|
"inheritedFrom": {
|
|
52581
|
-
"name": "
|
|
52582
|
-
"module": "core/
|
|
52668
|
+
"name": "SbbFormAssociatedMixin",
|
|
52669
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
52583
52670
|
}
|
|
52584
52671
|
},
|
|
52585
52672
|
{
|
|
52586
|
-
"kind": "
|
|
52587
|
-
"name": "
|
|
52673
|
+
"kind": "method",
|
|
52674
|
+
"name": "checkValidity",
|
|
52675
|
+
"privacy": "public",
|
|
52676
|
+
"return": {
|
|
52677
|
+
"type": {
|
|
52678
|
+
"text": "boolean"
|
|
52679
|
+
}
|
|
52680
|
+
},
|
|
52681
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
52682
|
+
"inheritedFrom": {
|
|
52683
|
+
"name": "SbbFormAssociatedMixin",
|
|
52684
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
52685
|
+
}
|
|
52686
|
+
},
|
|
52687
|
+
{
|
|
52688
|
+
"kind": "method",
|
|
52689
|
+
"name": "reportValidity",
|
|
52690
|
+
"privacy": "public",
|
|
52691
|
+
"return": {
|
|
52692
|
+
"type": {
|
|
52693
|
+
"text": "boolean"
|
|
52694
|
+
}
|
|
52695
|
+
},
|
|
52696
|
+
"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.",
|
|
52697
|
+
"inheritedFrom": {
|
|
52698
|
+
"name": "SbbFormAssociatedMixin",
|
|
52699
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
52700
|
+
}
|
|
52701
|
+
},
|
|
52702
|
+
{
|
|
52703
|
+
"kind": "method",
|
|
52704
|
+
"name": "setCustomValidity",
|
|
52705
|
+
"privacy": "public",
|
|
52706
|
+
"return": {
|
|
52707
|
+
"type": {
|
|
52708
|
+
"text": "void"
|
|
52709
|
+
}
|
|
52710
|
+
},
|
|
52711
|
+
"parameters": [
|
|
52712
|
+
{
|
|
52713
|
+
"name": "message",
|
|
52714
|
+
"type": {
|
|
52715
|
+
"text": "string"
|
|
52716
|
+
}
|
|
52717
|
+
}
|
|
52718
|
+
],
|
|
52719
|
+
"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.",
|
|
52720
|
+
"inheritedFrom": {
|
|
52721
|
+
"name": "SbbFormAssociatedMixin",
|
|
52722
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
52723
|
+
}
|
|
52724
|
+
},
|
|
52725
|
+
{
|
|
52726
|
+
"kind": "method",
|
|
52727
|
+
"name": "_hasDisabledAncestor",
|
|
52588
52728
|
"privacy": "private",
|
|
52729
|
+
"return": {
|
|
52730
|
+
"type": {
|
|
52731
|
+
"text": "boolean"
|
|
52732
|
+
}
|
|
52733
|
+
},
|
|
52589
52734
|
"inheritedFrom": {
|
|
52590
|
-
"name": "
|
|
52591
|
-
"module": "core/
|
|
52735
|
+
"name": "SbbFormAssociatedMixin",
|
|
52736
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
52592
52737
|
}
|
|
52593
52738
|
},
|
|
52594
52739
|
{
|
|
52595
52740
|
"kind": "method",
|
|
52596
|
-
"name": "
|
|
52741
|
+
"name": "updateFormValue",
|
|
52597
52742
|
"privacy": "protected",
|
|
52598
52743
|
"return": {
|
|
52599
52744
|
"type": {
|
|
52600
|
-
"text": "
|
|
52745
|
+
"text": "void"
|
|
52746
|
+
}
|
|
52747
|
+
},
|
|
52748
|
+
"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",
|
|
52749
|
+
"inheritedFrom": {
|
|
52750
|
+
"name": "SbbFormAssociatedMixin",
|
|
52751
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
52752
|
+
}
|
|
52753
|
+
},
|
|
52754
|
+
{
|
|
52755
|
+
"kind": "method",
|
|
52756
|
+
"name": "formState",
|
|
52757
|
+
"privacy": "protected",
|
|
52758
|
+
"return": {
|
|
52759
|
+
"type": {
|
|
52760
|
+
"text": "FormRestoreState"
|
|
52761
|
+
}
|
|
52762
|
+
},
|
|
52763
|
+
"inheritedFrom": {
|
|
52764
|
+
"name": "SbbFormAssociatedMixin",
|
|
52765
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
52766
|
+
}
|
|
52767
|
+
},
|
|
52768
|
+
{
|
|
52769
|
+
"kind": "method",
|
|
52770
|
+
"name": "setValidityFlag",
|
|
52771
|
+
"privacy": "protected",
|
|
52772
|
+
"return": {
|
|
52773
|
+
"type": {
|
|
52774
|
+
"text": "void"
|
|
52601
52775
|
}
|
|
52602
52776
|
},
|
|
52603
52777
|
"parameters": [
|
|
52604
52778
|
{
|
|
52605
|
-
"name": "
|
|
52779
|
+
"name": "flag",
|
|
52606
52780
|
"type": {
|
|
52607
|
-
"text": "
|
|
52781
|
+
"text": "T"
|
|
52782
|
+
}
|
|
52783
|
+
},
|
|
52784
|
+
{
|
|
52785
|
+
"name": "message",
|
|
52786
|
+
"type": {
|
|
52787
|
+
"text": "string"
|
|
52788
|
+
}
|
|
52789
|
+
},
|
|
52790
|
+
{
|
|
52791
|
+
"name": "flagValue",
|
|
52792
|
+
"optional": true,
|
|
52793
|
+
"type": {
|
|
52794
|
+
"text": "ValidityStateFlags[T]"
|
|
52608
52795
|
}
|
|
52609
52796
|
}
|
|
52610
52797
|
],
|
|
52798
|
+
"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).",
|
|
52611
52799
|
"inheritedFrom": {
|
|
52612
|
-
"name": "
|
|
52613
|
-
"module": "core/
|
|
52800
|
+
"name": "SbbFormAssociatedMixin",
|
|
52801
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
52802
|
+
}
|
|
52803
|
+
},
|
|
52804
|
+
{
|
|
52805
|
+
"kind": "method",
|
|
52806
|
+
"name": "removeValidityFlag",
|
|
52807
|
+
"privacy": "protected",
|
|
52808
|
+
"return": {
|
|
52809
|
+
"type": {
|
|
52810
|
+
"text": "void"
|
|
52811
|
+
}
|
|
52812
|
+
},
|
|
52813
|
+
"parameters": [
|
|
52814
|
+
{
|
|
52815
|
+
"name": "flag",
|
|
52816
|
+
"type": {
|
|
52817
|
+
"text": "T"
|
|
52818
|
+
}
|
|
52819
|
+
}
|
|
52820
|
+
],
|
|
52821
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
52822
|
+
"inheritedFrom": {
|
|
52823
|
+
"name": "SbbFormAssociatedMixin",
|
|
52824
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
52825
|
+
}
|
|
52826
|
+
},
|
|
52827
|
+
{
|
|
52828
|
+
"kind": "method",
|
|
52829
|
+
"name": "validate",
|
|
52830
|
+
"privacy": "protected",
|
|
52831
|
+
"return": {
|
|
52832
|
+
"type": {
|
|
52833
|
+
"text": "void"
|
|
52834
|
+
}
|
|
52835
|
+
},
|
|
52836
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
52837
|
+
"inheritedFrom": {
|
|
52838
|
+
"name": "SbbFormAssociatedMixin",
|
|
52839
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
52840
|
+
}
|
|
52841
|
+
},
|
|
52842
|
+
{
|
|
52843
|
+
"kind": "method",
|
|
52844
|
+
"name": "shouldValidate",
|
|
52845
|
+
"privacy": "protected",
|
|
52846
|
+
"return": {
|
|
52847
|
+
"type": {
|
|
52848
|
+
"text": "boolean"
|
|
52849
|
+
}
|
|
52850
|
+
},
|
|
52851
|
+
"parameters": [
|
|
52852
|
+
{
|
|
52853
|
+
"name": "name",
|
|
52854
|
+
"type": {
|
|
52855
|
+
"text": "PropertyKey | undefined"
|
|
52856
|
+
}
|
|
52857
|
+
}
|
|
52858
|
+
],
|
|
52859
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
52860
|
+
"inheritedFrom": {
|
|
52861
|
+
"name": "SbbFormAssociatedMixin",
|
|
52862
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
52863
|
+
}
|
|
52864
|
+
},
|
|
52865
|
+
{
|
|
52866
|
+
"kind": "method",
|
|
52867
|
+
"name": "_setInternalValidity",
|
|
52868
|
+
"privacy": "private",
|
|
52869
|
+
"return": {
|
|
52870
|
+
"type": {
|
|
52871
|
+
"text": "void"
|
|
52872
|
+
}
|
|
52873
|
+
},
|
|
52874
|
+
"inheritedFrom": {
|
|
52875
|
+
"name": "SbbFormAssociatedMixin",
|
|
52876
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
52877
|
+
}
|
|
52878
|
+
},
|
|
52879
|
+
{
|
|
52880
|
+
"kind": "field",
|
|
52881
|
+
"name": "role",
|
|
52882
|
+
"type": {
|
|
52883
|
+
"text": "ElementInternals['role']"
|
|
52884
|
+
},
|
|
52885
|
+
"privacy": "public",
|
|
52886
|
+
"static": true,
|
|
52887
|
+
"readonly": true,
|
|
52888
|
+
"default": "'button'",
|
|
52889
|
+
"inheritedFrom": {
|
|
52890
|
+
"name": "SbbElement",
|
|
52891
|
+
"module": "core/base-elements/element.js"
|
|
52892
|
+
}
|
|
52893
|
+
},
|
|
52894
|
+
{
|
|
52895
|
+
"kind": "field",
|
|
52896
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
52897
|
+
"privacy": "private",
|
|
52898
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
52899
|
+
"parameters": [
|
|
52900
|
+
{
|
|
52901
|
+
"description": "The origin event.",
|
|
52902
|
+
"name": "event"
|
|
52903
|
+
}
|
|
52904
|
+
],
|
|
52905
|
+
"inheritedFrom": {
|
|
52906
|
+
"name": "SbbButtonLikeBaseElement",
|
|
52907
|
+
"module": "core/base-elements/button-base-element.js"
|
|
52908
|
+
}
|
|
52909
|
+
},
|
|
52910
|
+
{
|
|
52911
|
+
"kind": "field",
|
|
52912
|
+
"name": "_removeActiveMarker",
|
|
52913
|
+
"privacy": "private",
|
|
52914
|
+
"inheritedFrom": {
|
|
52915
|
+
"name": "SbbButtonLikeBaseElement",
|
|
52916
|
+
"module": "core/base-elements/button-base-element.js"
|
|
52917
|
+
}
|
|
52918
|
+
},
|
|
52919
|
+
{
|
|
52920
|
+
"kind": "field",
|
|
52921
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
52922
|
+
"privacy": "private",
|
|
52923
|
+
"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.",
|
|
52924
|
+
"parameters": [
|
|
52925
|
+
{
|
|
52926
|
+
"description": "The origin event.",
|
|
52927
|
+
"name": "event"
|
|
52928
|
+
}
|
|
52929
|
+
],
|
|
52930
|
+
"inheritedFrom": {
|
|
52931
|
+
"name": "SbbButtonLikeBaseElement",
|
|
52932
|
+
"module": "core/base-elements/button-base-element.js"
|
|
52933
|
+
}
|
|
52934
|
+
},
|
|
52935
|
+
{
|
|
52936
|
+
"kind": "field",
|
|
52937
|
+
"name": "_dispatchClickEvent",
|
|
52938
|
+
"privacy": "private",
|
|
52939
|
+
"inheritedFrom": {
|
|
52940
|
+
"name": "SbbButtonLikeBaseElement",
|
|
52941
|
+
"module": "core/base-elements/button-base-element.js"
|
|
52614
52942
|
}
|
|
52615
52943
|
},
|
|
52616
52944
|
{
|
|
@@ -52667,19 +52995,6 @@
|
|
|
52667
52995
|
"module": "core/base-elements/element.js"
|
|
52668
52996
|
}
|
|
52669
52997
|
},
|
|
52670
|
-
{
|
|
52671
|
-
"kind": "field",
|
|
52672
|
-
"name": "role",
|
|
52673
|
-
"type": {
|
|
52674
|
-
"text": "ElementInternals['role'] | undefined"
|
|
52675
|
-
},
|
|
52676
|
-
"privacy": "public",
|
|
52677
|
-
"static": true,
|
|
52678
|
-
"inheritedFrom": {
|
|
52679
|
-
"name": "SbbElement",
|
|
52680
|
-
"module": "core/base-elements/element.js"
|
|
52681
|
-
}
|
|
52682
|
-
},
|
|
52683
52998
|
{
|
|
52684
52999
|
"kind": "field",
|
|
52685
53000
|
"name": "_controllers",
|
|
@@ -52906,19 +53221,15 @@
|
|
|
52906
53221
|
"module": "button/common/button-common.js"
|
|
52907
53222
|
},
|
|
52908
53223
|
{
|
|
52909
|
-
"name": "
|
|
52910
|
-
"module": "core.js"
|
|
52911
|
-
},
|
|
52912
|
-
{
|
|
52913
|
-
"name": "SbbDisabledMixin",
|
|
53224
|
+
"name": "SbbDisabledTabIndexActionMixin",
|
|
52914
53225
|
"module": "core.js"
|
|
52915
53226
|
}
|
|
52916
53227
|
],
|
|
52917
53228
|
"superclass": {
|
|
52918
|
-
"name": "
|
|
53229
|
+
"name": "SbbButtonBaseElement",
|
|
52919
53230
|
"module": "core.js"
|
|
52920
53231
|
},
|
|
52921
|
-
"tagName": "sbb-secondary-button
|
|
53232
|
+
"tagName": "sbb-secondary-button",
|
|
52922
53233
|
"customElement": true,
|
|
52923
53234
|
"attributes": [
|
|
52924
53235
|
{
|
|
@@ -53000,81 +53311,53 @@
|
|
|
53000
53311
|
}
|
|
53001
53312
|
},
|
|
53002
53313
|
{
|
|
53003
|
-
"name": "
|
|
53314
|
+
"name": "value",
|
|
53004
53315
|
"type": {
|
|
53005
53316
|
"text": "string"
|
|
53006
53317
|
},
|
|
53007
53318
|
"default": "''",
|
|
53008
|
-
"description": "
|
|
53009
|
-
"fieldName": "
|
|
53319
|
+
"description": "Value of the form element.",
|
|
53320
|
+
"fieldName": "value",
|
|
53010
53321
|
"inheritedFrom": {
|
|
53011
|
-
"name": "
|
|
53012
|
-
"module": "core/base-elements/
|
|
53322
|
+
"name": "SbbButtonBaseElement",
|
|
53323
|
+
"module": "core/base-elements/button-base-element.js"
|
|
53013
53324
|
}
|
|
53014
53325
|
},
|
|
53015
53326
|
{
|
|
53016
|
-
"name": "
|
|
53327
|
+
"name": "type",
|
|
53328
|
+
"description": "The type attribute to use for the button.",
|
|
53329
|
+
"default": "'button'",
|
|
53017
53330
|
"type": {
|
|
53018
|
-
"text": "
|
|
53331
|
+
"text": "SbbButtonType"
|
|
53019
53332
|
},
|
|
53020
|
-
"
|
|
53021
|
-
"description": "Where to display the linked URL.",
|
|
53022
|
-
"fieldName": "target",
|
|
53333
|
+
"fieldName": "type",
|
|
53023
53334
|
"inheritedFrom": {
|
|
53024
|
-
"name": "
|
|
53025
|
-
"module": "core/base-elements/
|
|
53335
|
+
"name": "SbbButtonBaseElement",
|
|
53336
|
+
"module": "core/base-elements/button-base-element.js"
|
|
53026
53337
|
}
|
|
53027
53338
|
},
|
|
53028
53339
|
{
|
|
53029
|
-
"name": "
|
|
53340
|
+
"name": "form",
|
|
53341
|
+
"description": "The `<form>` element to associate the button with.",
|
|
53030
53342
|
"type": {
|
|
53031
|
-
"text": "
|
|
53343
|
+
"text": "HTMLFormElement | null"
|
|
53032
53344
|
},
|
|
53033
|
-
"
|
|
53034
|
-
"description": "The relationship of the linked URL as space-separated link types.",
|
|
53035
|
-
"fieldName": "rel",
|
|
53036
|
-
"inheritedFrom": {
|
|
53037
|
-
"name": "SbbLinkBaseElement",
|
|
53038
|
-
"module": "core/base-elements/link-base-element.js"
|
|
53039
|
-
}
|
|
53040
|
-
},
|
|
53041
|
-
{
|
|
53042
|
-
"name": "download",
|
|
53043
|
-
"type": {
|
|
53044
|
-
"text": "boolean"
|
|
53045
|
-
},
|
|
53046
|
-
"default": "false",
|
|
53047
|
-
"description": "Whether the browser will show the download dialog on click.",
|
|
53048
|
-
"fieldName": "download",
|
|
53049
|
-
"inheritedFrom": {
|
|
53050
|
-
"name": "SbbLinkBaseElement",
|
|
53051
|
-
"module": "core/base-elements/link-base-element.js"
|
|
53052
|
-
}
|
|
53053
|
-
},
|
|
53054
|
-
{
|
|
53055
|
-
"name": "accessibility-label",
|
|
53056
|
-
"type": {
|
|
53057
|
-
"text": "string"
|
|
53058
|
-
},
|
|
53059
|
-
"default": "''",
|
|
53060
|
-
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
53061
|
-
"fieldName": "accessibilityLabel",
|
|
53345
|
+
"fieldName": "form",
|
|
53062
53346
|
"inheritedFrom": {
|
|
53063
|
-
"name": "
|
|
53064
|
-
"module": "core/base-elements/
|
|
53347
|
+
"name": "SbbButtonBaseElement",
|
|
53348
|
+
"module": "core/base-elements/button-base-element.js"
|
|
53065
53349
|
}
|
|
53066
53350
|
},
|
|
53067
53351
|
{
|
|
53068
|
-
"name": "
|
|
53352
|
+
"name": "name",
|
|
53353
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
53069
53354
|
"type": {
|
|
53070
53355
|
"text": "string"
|
|
53071
53356
|
},
|
|
53072
|
-
"
|
|
53073
|
-
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
53074
|
-
"fieldName": "accessibilityCurrent",
|
|
53357
|
+
"fieldName": "name",
|
|
53075
53358
|
"inheritedFrom": {
|
|
53076
|
-
"name": "
|
|
53077
|
-
"module": "core/
|
|
53359
|
+
"name": "SbbFormAssociatedMixin",
|
|
53360
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
53078
53361
|
}
|
|
53079
53362
|
}
|
|
53080
53363
|
]
|
|
@@ -53083,22 +53366,22 @@
|
|
|
53083
53366
|
"exports": [
|
|
53084
53367
|
{
|
|
53085
53368
|
"kind": "js",
|
|
53086
|
-
"name": "
|
|
53369
|
+
"name": "SbbSecondaryButtonElement",
|
|
53087
53370
|
"declaration": {
|
|
53088
|
-
"name": "
|
|
53089
|
-
"module": "button/secondary-button
|
|
53371
|
+
"name": "SbbSecondaryButtonElement",
|
|
53372
|
+
"module": "button/secondary-button/secondary-button.component.js"
|
|
53090
53373
|
}
|
|
53091
53374
|
}
|
|
53092
53375
|
]
|
|
53093
53376
|
},
|
|
53094
53377
|
{
|
|
53095
53378
|
"kind": "javascript-module",
|
|
53096
|
-
"path": "button/secondary-button/secondary-button.component.js",
|
|
53379
|
+
"path": "button/secondary-button-link/secondary-button-link.component.js",
|
|
53097
53380
|
"declarations": [
|
|
53098
53381
|
{
|
|
53099
53382
|
"kind": "class",
|
|
53100
|
-
"description": "It displays a button enhanced with the SBB Design in the 'secondary' variant.",
|
|
53101
|
-
"name": "
|
|
53383
|
+
"description": "It displays a button enhanced with the SBB Design in the 'secondary' variant, which will behave as a link.",
|
|
53384
|
+
"name": "SbbSecondaryButtonLinkElement",
|
|
53102
53385
|
"cssProperties": [
|
|
53103
53386
|
{
|
|
53104
53387
|
"description": "The delay before the loading animation starts, when setting the button into loading state.",
|
|
@@ -53108,7 +53391,7 @@
|
|
|
53108
53391
|
],
|
|
53109
53392
|
"slots": [
|
|
53110
53393
|
{
|
|
53111
|
-
"description": "Use the unnamed slot to add content to the secondary-button.",
|
|
53394
|
+
"description": "Use the unnamed slot to add content to the secondary-button-link.",
|
|
53112
53395
|
"name": ""
|
|
53113
53396
|
},
|
|
53114
53397
|
{
|
|
@@ -53126,7 +53409,7 @@
|
|
|
53126
53409
|
"privacy": "public",
|
|
53127
53410
|
"static": true,
|
|
53128
53411
|
"readonly": true,
|
|
53129
|
-
"default": "'sbb-secondary-button'",
|
|
53412
|
+
"default": "'sbb-secondary-button-link'",
|
|
53130
53413
|
"inheritedFrom": {
|
|
53131
53414
|
"name": "SbbElement",
|
|
53132
53415
|
"module": "core/base-elements/element.js"
|
|
@@ -53337,243 +53620,298 @@
|
|
|
53337
53620
|
},
|
|
53338
53621
|
{
|
|
53339
53622
|
"kind": "field",
|
|
53340
|
-
"name": "
|
|
53623
|
+
"name": "href",
|
|
53341
53624
|
"type": {
|
|
53342
|
-
"text": "
|
|
53625
|
+
"text": "string"
|
|
53343
53626
|
},
|
|
53344
|
-
"privacy": "
|
|
53345
|
-
"
|
|
53346
|
-
"
|
|
53627
|
+
"privacy": "public",
|
|
53628
|
+
"default": "''",
|
|
53629
|
+
"description": "The href value you want to link to.",
|
|
53630
|
+
"attribute": "href",
|
|
53631
|
+
"reflects": true,
|
|
53347
53632
|
"inheritedFrom": {
|
|
53348
|
-
"name": "
|
|
53349
|
-
"module": "core/base-elements/
|
|
53633
|
+
"name": "SbbLinkBaseElement",
|
|
53634
|
+
"module": "core/base-elements/link-base-element.js"
|
|
53350
53635
|
}
|
|
53351
53636
|
},
|
|
53352
53637
|
{
|
|
53353
53638
|
"kind": "field",
|
|
53354
|
-
"name": "
|
|
53639
|
+
"name": "target",
|
|
53355
53640
|
"type": {
|
|
53356
|
-
"text": "string"
|
|
53641
|
+
"text": "LinkTargetType | string"
|
|
53357
53642
|
},
|
|
53358
53643
|
"privacy": "public",
|
|
53359
53644
|
"default": "''",
|
|
53360
|
-
"description": "
|
|
53361
|
-
"attribute": "
|
|
53645
|
+
"description": "Where to display the linked URL.",
|
|
53646
|
+
"attribute": "target",
|
|
53647
|
+
"reflects": true,
|
|
53362
53648
|
"inheritedFrom": {
|
|
53363
|
-
"name": "
|
|
53364
|
-
"module": "core/base-elements/
|
|
53649
|
+
"name": "SbbLinkBaseElement",
|
|
53650
|
+
"module": "core/base-elements/link-base-element.js"
|
|
53365
53651
|
}
|
|
53366
53652
|
},
|
|
53367
53653
|
{
|
|
53368
53654
|
"kind": "field",
|
|
53369
|
-
"name": "
|
|
53655
|
+
"name": "rel",
|
|
53656
|
+
"type": {
|
|
53657
|
+
"text": "string"
|
|
53658
|
+
},
|
|
53370
53659
|
"privacy": "public",
|
|
53371
|
-
"
|
|
53372
|
-
"
|
|
53660
|
+
"default": "''",
|
|
53661
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
53662
|
+
"attribute": "rel",
|
|
53663
|
+
"reflects": true,
|
|
53664
|
+
"inheritedFrom": {
|
|
53665
|
+
"name": "SbbLinkBaseElement",
|
|
53666
|
+
"module": "core/base-elements/link-base-element.js"
|
|
53667
|
+
}
|
|
53668
|
+
},
|
|
53669
|
+
{
|
|
53670
|
+
"kind": "field",
|
|
53671
|
+
"name": "download",
|
|
53373
53672
|
"type": {
|
|
53374
|
-
"text": "
|
|
53673
|
+
"text": "boolean"
|
|
53375
53674
|
},
|
|
53376
|
-
"
|
|
53675
|
+
"privacy": "public",
|
|
53676
|
+
"default": "false",
|
|
53677
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
53678
|
+
"attribute": "download",
|
|
53679
|
+
"reflects": true,
|
|
53377
53680
|
"inheritedFrom": {
|
|
53378
|
-
"name": "
|
|
53379
|
-
"module": "core/base-elements/
|
|
53681
|
+
"name": "SbbLinkBaseElement",
|
|
53682
|
+
"module": "core/base-elements/link-base-element.js"
|
|
53380
53683
|
}
|
|
53381
53684
|
},
|
|
53382
53685
|
{
|
|
53383
53686
|
"kind": "field",
|
|
53384
|
-
"name": "
|
|
53687
|
+
"name": "accessibilityLabel",
|
|
53385
53688
|
"type": {
|
|
53386
|
-
"text": "
|
|
53689
|
+
"text": "string"
|
|
53387
53690
|
},
|
|
53388
53691
|
"privacy": "public",
|
|
53389
|
-
"
|
|
53390
|
-
"
|
|
53692
|
+
"default": "''",
|
|
53693
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
53694
|
+
"attribute": "accessibility-label",
|
|
53391
53695
|
"inheritedFrom": {
|
|
53392
|
-
"name": "
|
|
53393
|
-
"module": "core/base-elements/
|
|
53696
|
+
"name": "SbbLinkBaseElement",
|
|
53697
|
+
"module": "core/base-elements/link-base-element.js"
|
|
53394
53698
|
}
|
|
53395
53699
|
},
|
|
53396
53700
|
{
|
|
53397
53701
|
"kind": "field",
|
|
53398
|
-
"name": "
|
|
53702
|
+
"name": "accessibilityCurrent",
|
|
53399
53703
|
"type": {
|
|
53400
53704
|
"text": "string"
|
|
53401
53705
|
},
|
|
53402
|
-
"privacy": "
|
|
53706
|
+
"privacy": "public",
|
|
53403
53707
|
"default": "''",
|
|
53708
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
53709
|
+
"attribute": "accessibility-current",
|
|
53404
53710
|
"inheritedFrom": {
|
|
53405
|
-
"name": "
|
|
53406
|
-
"module": "core/base-elements/
|
|
53711
|
+
"name": "SbbLinkBaseElement",
|
|
53712
|
+
"module": "core/base-elements/link-base-element.js"
|
|
53407
53713
|
}
|
|
53408
53714
|
},
|
|
53409
53715
|
{
|
|
53410
53716
|
"kind": "field",
|
|
53411
|
-
"name": "
|
|
53717
|
+
"name": "language",
|
|
53718
|
+
"privacy": "protected",
|
|
53719
|
+
"default": "new SbbLanguageController(this)",
|
|
53720
|
+
"inheritedFrom": {
|
|
53721
|
+
"name": "SbbLinkBaseElement",
|
|
53722
|
+
"module": "core/base-elements/link-base-element.js"
|
|
53723
|
+
}
|
|
53724
|
+
},
|
|
53725
|
+
{
|
|
53726
|
+
"kind": "field",
|
|
53727
|
+
"name": "anchorRole",
|
|
53728
|
+
"type": {
|
|
53729
|
+
"text": "string | null"
|
|
53730
|
+
},
|
|
53731
|
+
"privacy": "protected",
|
|
53732
|
+
"readonly": true,
|
|
53733
|
+
"default": "null",
|
|
53734
|
+
"inheritedFrom": {
|
|
53735
|
+
"name": "SbbLinkBaseElement",
|
|
53736
|
+
"module": "core/base-elements/link-base-element.js"
|
|
53737
|
+
}
|
|
53738
|
+
},
|
|
53739
|
+
{
|
|
53740
|
+
"kind": "field",
|
|
53741
|
+
"name": "_evaluateRelAttribute",
|
|
53412
53742
|
"privacy": "private",
|
|
53413
53743
|
"inheritedFrom": {
|
|
53414
|
-
"name": "
|
|
53415
|
-
"module": "core/base-elements/
|
|
53744
|
+
"name": "SbbLinkBaseElement",
|
|
53745
|
+
"module": "core/base-elements/link-base-element.js"
|
|
53416
53746
|
}
|
|
53417
53747
|
},
|
|
53418
53748
|
{
|
|
53419
53749
|
"kind": "method",
|
|
53420
|
-
"name": "
|
|
53421
|
-
"privacy": "
|
|
53750
|
+
"name": "renderLink",
|
|
53751
|
+
"privacy": "protected",
|
|
53422
53752
|
"return": {
|
|
53423
53753
|
"type": {
|
|
53424
|
-
"text": "
|
|
53754
|
+
"text": "TemplateResult"
|
|
53425
53755
|
}
|
|
53426
53756
|
},
|
|
53427
53757
|
"parameters": [
|
|
53428
53758
|
{
|
|
53429
|
-
"name": "
|
|
53759
|
+
"name": "renderContent",
|
|
53430
53760
|
"type": {
|
|
53431
|
-
"text": "
|
|
53761
|
+
"text": "TemplateResult"
|
|
53432
53762
|
}
|
|
53433
53763
|
}
|
|
53434
53764
|
],
|
|
53435
53765
|
"inheritedFrom": {
|
|
53436
|
-
"name": "
|
|
53437
|
-
"module": "core/base-elements/
|
|
53766
|
+
"name": "SbbLinkBaseElement",
|
|
53767
|
+
"module": "core/base-elements/link-base-element.js"
|
|
53438
53768
|
}
|
|
53439
53769
|
},
|
|
53440
53770
|
{
|
|
53441
53771
|
"kind": "field",
|
|
53442
|
-
"name": "
|
|
53443
|
-
"
|
|
53772
|
+
"name": "maybeDisabled",
|
|
53773
|
+
"type": {
|
|
53774
|
+
"text": "boolean | undefined"
|
|
53775
|
+
},
|
|
53776
|
+
"privacy": "protected",
|
|
53777
|
+
"readonly": true,
|
|
53444
53778
|
"inheritedFrom": {
|
|
53445
|
-
"name": "
|
|
53446
|
-
"module": "core/base-elements/
|
|
53779
|
+
"name": "SbbActionBaseElement",
|
|
53780
|
+
"module": "core/base-elements/action-base-element.js"
|
|
53447
53781
|
}
|
|
53448
53782
|
},
|
|
53449
53783
|
{
|
|
53450
53784
|
"kind": "field",
|
|
53451
|
-
"name": "
|
|
53785
|
+
"name": "maybeDisabledInteractive",
|
|
53452
53786
|
"type": {
|
|
53453
|
-
"text": "boolean"
|
|
53787
|
+
"text": "boolean | undefined"
|
|
53454
53788
|
},
|
|
53455
|
-
"privacy": "
|
|
53456
|
-
"
|
|
53457
|
-
"default": "true",
|
|
53789
|
+
"privacy": "protected",
|
|
53790
|
+
"readonly": true,
|
|
53458
53791
|
"inheritedFrom": {
|
|
53459
|
-
"name": "
|
|
53460
|
-
"module": "core/
|
|
53792
|
+
"name": "SbbActionBaseElement",
|
|
53793
|
+
"module": "core/base-elements/action-base-element.js"
|
|
53794
|
+
}
|
|
53795
|
+
},
|
|
53796
|
+
{
|
|
53797
|
+
"kind": "method",
|
|
53798
|
+
"name": "setupBaseEventHandlers",
|
|
53799
|
+
"privacy": "protected",
|
|
53800
|
+
"return": {
|
|
53801
|
+
"type": {
|
|
53802
|
+
"text": "void"
|
|
53803
|
+
}
|
|
53804
|
+
},
|
|
53805
|
+
"inheritedFrom": {
|
|
53806
|
+
"name": "SbbActionBaseElement",
|
|
53807
|
+
"module": "core/base-elements/action-base-element.js"
|
|
53461
53808
|
}
|
|
53462
53809
|
},
|
|
53463
53810
|
{
|
|
53464
53811
|
"kind": "field",
|
|
53465
|
-
"name": "
|
|
53466
|
-
"privacy": "public",
|
|
53467
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
53812
|
+
"name": "['_$sbbElement$']",
|
|
53468
53813
|
"type": {
|
|
53469
|
-
"text": "
|
|
53814
|
+
"text": "boolean"
|
|
53470
53815
|
},
|
|
53471
|
-
"
|
|
53816
|
+
"privacy": "public",
|
|
53817
|
+
"static": true,
|
|
53818
|
+
"default": "true",
|
|
53472
53819
|
"inheritedFrom": {
|
|
53473
|
-
"name": "
|
|
53474
|
-
"module": "core/
|
|
53820
|
+
"name": "SbbElement",
|
|
53821
|
+
"module": "core/base-elements/element.js"
|
|
53475
53822
|
}
|
|
53476
53823
|
},
|
|
53477
53824
|
{
|
|
53478
53825
|
"kind": "field",
|
|
53479
|
-
"name": "
|
|
53826
|
+
"name": "role",
|
|
53480
53827
|
"type": {
|
|
53481
|
-
"text": "
|
|
53828
|
+
"text": "ElementInternals['role'] | undefined"
|
|
53482
53829
|
},
|
|
53483
53830
|
"privacy": "public",
|
|
53484
|
-
"
|
|
53485
|
-
"readonly": true,
|
|
53831
|
+
"static": true,
|
|
53486
53832
|
"inheritedFrom": {
|
|
53487
|
-
"name": "
|
|
53488
|
-
"module": "core/
|
|
53833
|
+
"name": "SbbElement",
|
|
53834
|
+
"module": "core/base-elements/element.js"
|
|
53489
53835
|
}
|
|
53490
53836
|
},
|
|
53491
53837
|
{
|
|
53492
53838
|
"kind": "field",
|
|
53493
|
-
"name": "
|
|
53839
|
+
"name": "_controllers",
|
|
53494
53840
|
"type": {
|
|
53495
|
-
"text": "
|
|
53841
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
53496
53842
|
},
|
|
53497
|
-
"privacy": "
|
|
53498
|
-
"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.",
|
|
53499
|
-
"readonly": true,
|
|
53843
|
+
"privacy": "private",
|
|
53500
53844
|
"inheritedFrom": {
|
|
53501
|
-
"name": "
|
|
53502
|
-
"module": "core/
|
|
53845
|
+
"name": "SbbElement",
|
|
53846
|
+
"module": "core/base-elements/element.js"
|
|
53503
53847
|
}
|
|
53504
53848
|
},
|
|
53505
53849
|
{
|
|
53506
53850
|
"kind": "field",
|
|
53507
|
-
"name": "
|
|
53851
|
+
"name": "_hydrationRequired",
|
|
53508
53852
|
"type": {
|
|
53509
53853
|
"text": "boolean"
|
|
53510
53854
|
},
|
|
53511
|
-
"privacy": "
|
|
53512
|
-
"
|
|
53513
|
-
"readonly": true,
|
|
53855
|
+
"privacy": "private",
|
|
53856
|
+
"default": "!!this.shadowRoot",
|
|
53514
53857
|
"inheritedFrom": {
|
|
53515
|
-
"name": "
|
|
53516
|
-
"module": "core/
|
|
53858
|
+
"name": "SbbElement",
|
|
53859
|
+
"module": "core/base-elements/element.js"
|
|
53517
53860
|
}
|
|
53518
53861
|
},
|
|
53519
53862
|
{
|
|
53520
53863
|
"kind": "field",
|
|
53521
|
-
"name": "
|
|
53864
|
+
"name": "_hydrationComplete",
|
|
53522
53865
|
"privacy": "private",
|
|
53523
|
-
"default": "new
|
|
53866
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
53524
53867
|
"inheritedFrom": {
|
|
53525
|
-
"name": "
|
|
53526
|
-
"module": "core/
|
|
53868
|
+
"name": "SbbElement",
|
|
53869
|
+
"module": "core/base-elements/element.js"
|
|
53527
53870
|
}
|
|
53528
53871
|
},
|
|
53529
53872
|
{
|
|
53530
53873
|
"kind": "field",
|
|
53531
|
-
"name": "
|
|
53874
|
+
"name": "_resolveHydration",
|
|
53532
53875
|
"type": {
|
|
53533
|
-
"text": "boolean"
|
|
53876
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
53534
53877
|
},
|
|
53535
|
-
"privacy": "
|
|
53536
|
-
"default": "false",
|
|
53537
|
-
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
53878
|
+
"privacy": "private",
|
|
53538
53879
|
"inheritedFrom": {
|
|
53539
|
-
"name": "
|
|
53540
|
-
"module": "core/
|
|
53880
|
+
"name": "SbbElement",
|
|
53881
|
+
"module": "core/base-elements/element.js"
|
|
53541
53882
|
}
|
|
53542
53883
|
},
|
|
53543
53884
|
{
|
|
53544
|
-
"kind": "
|
|
53545
|
-
"name": "
|
|
53546
|
-
"
|
|
53547
|
-
|
|
53548
|
-
"type": {
|
|
53549
|
-
"text": "boolean"
|
|
53550
|
-
}
|
|
53885
|
+
"kind": "field",
|
|
53886
|
+
"name": "_textObserver",
|
|
53887
|
+
"type": {
|
|
53888
|
+
"text": "MutationObserver | undefined"
|
|
53551
53889
|
},
|
|
53552
|
-
"
|
|
53890
|
+
"privacy": "private",
|
|
53553
53891
|
"inheritedFrom": {
|
|
53554
|
-
"name": "
|
|
53555
|
-
"module": "core/
|
|
53892
|
+
"name": "SbbElement",
|
|
53893
|
+
"module": "core/base-elements/element.js"
|
|
53556
53894
|
}
|
|
53557
53895
|
},
|
|
53558
53896
|
{
|
|
53559
|
-
"kind": "
|
|
53560
|
-
"name": "
|
|
53561
|
-
"
|
|
53562
|
-
|
|
53563
|
-
"type": {
|
|
53564
|
-
"text": "boolean"
|
|
53565
|
-
}
|
|
53897
|
+
"kind": "field",
|
|
53898
|
+
"name": "hydrationRequired",
|
|
53899
|
+
"type": {
|
|
53900
|
+
"text": "boolean"
|
|
53566
53901
|
},
|
|
53567
|
-
"
|
|
53902
|
+
"privacy": "protected",
|
|
53903
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
53904
|
+
"readonly": true,
|
|
53568
53905
|
"inheritedFrom": {
|
|
53569
|
-
"name": "
|
|
53570
|
-
"module": "core/
|
|
53571
|
-
}
|
|
53906
|
+
"name": "SbbElement",
|
|
53907
|
+
"module": "core/base-elements/element.js"
|
|
53908
|
+
},
|
|
53909
|
+
"default": "!!this.shadowRoot"
|
|
53572
53910
|
},
|
|
53573
53911
|
{
|
|
53574
53912
|
"kind": "method",
|
|
53575
|
-
"name": "
|
|
53576
|
-
"privacy": "
|
|
53913
|
+
"name": "toggleState",
|
|
53914
|
+
"privacy": "protected",
|
|
53577
53915
|
"return": {
|
|
53578
53916
|
"type": {
|
|
53579
53917
|
"text": "void"
|
|
@@ -53581,65 +53919,56 @@
|
|
|
53581
53919
|
},
|
|
53582
53920
|
"parameters": [
|
|
53583
53921
|
{
|
|
53584
|
-
"name": "
|
|
53922
|
+
"name": "value",
|
|
53585
53923
|
"type": {
|
|
53586
53924
|
"text": "string"
|
|
53587
53925
|
}
|
|
53926
|
+
},
|
|
53927
|
+
{
|
|
53928
|
+
"name": "force",
|
|
53929
|
+
"optional": true,
|
|
53930
|
+
"type": {
|
|
53931
|
+
"text": "boolean"
|
|
53932
|
+
}
|
|
53588
53933
|
}
|
|
53589
53934
|
],
|
|
53590
|
-
"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.",
|
|
53591
53935
|
"inheritedFrom": {
|
|
53592
|
-
"name": "
|
|
53593
|
-
"module": "core/
|
|
53936
|
+
"name": "SbbElement",
|
|
53937
|
+
"module": "core/base-elements/element.js"
|
|
53594
53938
|
}
|
|
53595
53939
|
},
|
|
53596
53940
|
{
|
|
53597
53941
|
"kind": "method",
|
|
53598
|
-
"name": "
|
|
53942
|
+
"name": "_slotchangeHandler",
|
|
53599
53943
|
"privacy": "private",
|
|
53600
|
-
"return": {
|
|
53601
|
-
"type": {
|
|
53602
|
-
"text": "boolean"
|
|
53603
|
-
}
|
|
53604
|
-
},
|
|
53605
|
-
"inheritedFrom": {
|
|
53606
|
-
"name": "SbbFormAssociatedMixin",
|
|
53607
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
53608
|
-
}
|
|
53609
|
-
},
|
|
53610
|
-
{
|
|
53611
|
-
"kind": "method",
|
|
53612
|
-
"name": "updateFormValue",
|
|
53613
|
-
"privacy": "protected",
|
|
53614
53944
|
"return": {
|
|
53615
53945
|
"type": {
|
|
53616
53946
|
"text": "void"
|
|
53617
53947
|
}
|
|
53618
53948
|
},
|
|
53619
|
-
"
|
|
53620
|
-
|
|
53621
|
-
|
|
53622
|
-
|
|
53623
|
-
|
|
53624
|
-
|
|
53625
|
-
|
|
53626
|
-
|
|
53627
|
-
|
|
53628
|
-
|
|
53629
|
-
|
|
53630
|
-
|
|
53631
|
-
"text": "FormRestoreState"
|
|
53949
|
+
"parameters": [
|
|
53950
|
+
{
|
|
53951
|
+
"name": "event",
|
|
53952
|
+
"type": {
|
|
53953
|
+
"text": "Event"
|
|
53954
|
+
}
|
|
53955
|
+
},
|
|
53956
|
+
{
|
|
53957
|
+
"name": "slot",
|
|
53958
|
+
"type": {
|
|
53959
|
+
"text": "HTMLSlotElement"
|
|
53960
|
+
}
|
|
53632
53961
|
}
|
|
53633
|
-
|
|
53962
|
+
],
|
|
53634
53963
|
"inheritedFrom": {
|
|
53635
|
-
"name": "
|
|
53636
|
-
"module": "core/
|
|
53964
|
+
"name": "SbbElement",
|
|
53965
|
+
"module": "core/base-elements/element.js"
|
|
53637
53966
|
}
|
|
53638
53967
|
},
|
|
53639
53968
|
{
|
|
53640
53969
|
"kind": "method",
|
|
53641
|
-
"name": "
|
|
53642
|
-
"privacy": "
|
|
53970
|
+
"name": "_handleSlotChangeForSlottedState",
|
|
53971
|
+
"privacy": "private",
|
|
53643
53972
|
"return": {
|
|
53644
53973
|
"type": {
|
|
53645
53974
|
"text": "void"
|
|
@@ -53647,35 +53976,21 @@
|
|
|
53647
53976
|
},
|
|
53648
53977
|
"parameters": [
|
|
53649
53978
|
{
|
|
53650
|
-
"name": "
|
|
53651
|
-
"type": {
|
|
53652
|
-
"text": "T"
|
|
53653
|
-
}
|
|
53654
|
-
},
|
|
53655
|
-
{
|
|
53656
|
-
"name": "message",
|
|
53657
|
-
"type": {
|
|
53658
|
-
"text": "string"
|
|
53659
|
-
}
|
|
53660
|
-
},
|
|
53661
|
-
{
|
|
53662
|
-
"name": "flagValue",
|
|
53663
|
-
"optional": true,
|
|
53979
|
+
"name": "slot",
|
|
53664
53980
|
"type": {
|
|
53665
|
-
"text": "
|
|
53981
|
+
"text": "HTMLSlotElement"
|
|
53666
53982
|
}
|
|
53667
53983
|
}
|
|
53668
53984
|
],
|
|
53669
|
-
"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).",
|
|
53670
53985
|
"inheritedFrom": {
|
|
53671
|
-
"name": "
|
|
53672
|
-
"module": "core/
|
|
53986
|
+
"name": "SbbElement",
|
|
53987
|
+
"module": "core/base-elements/element.js"
|
|
53673
53988
|
}
|
|
53674
53989
|
},
|
|
53675
53990
|
{
|
|
53676
53991
|
"kind": "method",
|
|
53677
|
-
"name": "
|
|
53678
|
-
"privacy": "
|
|
53992
|
+
"name": "_updateSlottedState",
|
|
53993
|
+
"privacy": "private",
|
|
53679
53994
|
"return": {
|
|
53680
53995
|
"type": {
|
|
53681
53996
|
"text": "void"
|
|
@@ -53683,37 +53998,43 @@
|
|
|
53683
53998
|
},
|
|
53684
53999
|
"parameters": [
|
|
53685
54000
|
{
|
|
53686
|
-
"name": "
|
|
54001
|
+
"name": "slot",
|
|
53687
54002
|
"type": {
|
|
53688
|
-
"text": "
|
|
54003
|
+
"text": "HTMLSlotElement"
|
|
53689
54004
|
}
|
|
53690
54005
|
}
|
|
53691
54006
|
],
|
|
53692
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
53693
54007
|
"inheritedFrom": {
|
|
53694
|
-
"name": "
|
|
53695
|
-
"module": "core/
|
|
54008
|
+
"name": "SbbElement",
|
|
54009
|
+
"module": "core/base-elements/element.js"
|
|
53696
54010
|
}
|
|
53697
54011
|
},
|
|
53698
54012
|
{
|
|
53699
54013
|
"kind": "method",
|
|
53700
|
-
"name": "
|
|
53701
|
-
"privacy": "
|
|
54014
|
+
"name": "_observeTextNodesInSlot",
|
|
54015
|
+
"privacy": "private",
|
|
53702
54016
|
"return": {
|
|
53703
54017
|
"type": {
|
|
53704
54018
|
"text": "void"
|
|
53705
54019
|
}
|
|
53706
54020
|
},
|
|
53707
|
-
"
|
|
54021
|
+
"parameters": [
|
|
54022
|
+
{
|
|
54023
|
+
"name": "slot",
|
|
54024
|
+
"type": {
|
|
54025
|
+
"text": "HTMLSlotElement"
|
|
54026
|
+
}
|
|
54027
|
+
}
|
|
54028
|
+
],
|
|
53708
54029
|
"inheritedFrom": {
|
|
53709
|
-
"name": "
|
|
53710
|
-
"module": "core/
|
|
54030
|
+
"name": "SbbElement",
|
|
54031
|
+
"module": "core/base-elements/element.js"
|
|
53711
54032
|
}
|
|
53712
54033
|
},
|
|
53713
54034
|
{
|
|
53714
54035
|
"kind": "method",
|
|
53715
|
-
"name": "
|
|
53716
|
-
"privacy": "
|
|
54036
|
+
"name": "_hasSlottedContent",
|
|
54037
|
+
"privacy": "private",
|
|
53717
54038
|
"return": {
|
|
53718
54039
|
"type": {
|
|
53719
54040
|
"text": "boolean"
|
|
@@ -53721,405 +54042,56 @@
|
|
|
53721
54042
|
},
|
|
53722
54043
|
"parameters": [
|
|
53723
54044
|
{
|
|
53724
|
-
"name": "
|
|
54045
|
+
"name": "slot",
|
|
53725
54046
|
"type": {
|
|
53726
|
-
"text": "
|
|
54047
|
+
"text": "HTMLSlotElement"
|
|
53727
54048
|
}
|
|
53728
54049
|
}
|
|
53729
54050
|
],
|
|
53730
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
53731
54051
|
"inheritedFrom": {
|
|
53732
|
-
"name": "
|
|
53733
|
-
"module": "core/
|
|
54052
|
+
"name": "SbbElement",
|
|
54053
|
+
"module": "core/base-elements/element.js"
|
|
53734
54054
|
}
|
|
54055
|
+
}
|
|
54056
|
+
],
|
|
54057
|
+
"mixins": [
|
|
54058
|
+
{
|
|
54059
|
+
"name": "SbbButtonCommonElementMixin",
|
|
54060
|
+
"module": "button/common/button-common.js"
|
|
53735
54061
|
},
|
|
53736
54062
|
{
|
|
53737
|
-
"
|
|
53738
|
-
"
|
|
53739
|
-
|
|
53740
|
-
|
|
53741
|
-
|
|
53742
|
-
|
|
53743
|
-
|
|
54063
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
54064
|
+
"module": "core.js"
|
|
54065
|
+
},
|
|
54066
|
+
{
|
|
54067
|
+
"name": "SbbDisabledMixin",
|
|
54068
|
+
"module": "core.js"
|
|
54069
|
+
}
|
|
54070
|
+
],
|
|
54071
|
+
"superclass": {
|
|
54072
|
+
"name": "SbbLinkBaseElement",
|
|
54073
|
+
"module": "core.js"
|
|
54074
|
+
},
|
|
54075
|
+
"tagName": "sbb-secondary-button-link",
|
|
54076
|
+
"customElement": true,
|
|
54077
|
+
"attributes": [
|
|
54078
|
+
{
|
|
54079
|
+
"name": "size",
|
|
54080
|
+
"type": {
|
|
54081
|
+
"text": "SbbButtonSize"
|
|
53744
54082
|
},
|
|
54083
|
+
"description": "Size variant, either l, m or s.",
|
|
54084
|
+
"default": "'m' / 's' (lean)",
|
|
54085
|
+
"fieldName": "size",
|
|
53745
54086
|
"inheritedFrom": {
|
|
53746
|
-
"name": "
|
|
53747
|
-
"module": "
|
|
54087
|
+
"name": "SbbButtonCommonElementMixin",
|
|
54088
|
+
"module": "button/common/button-common.js"
|
|
53748
54089
|
}
|
|
53749
54090
|
},
|
|
53750
54091
|
{
|
|
53751
|
-
"
|
|
53752
|
-
"name": "role",
|
|
54092
|
+
"name": "loading",
|
|
53753
54093
|
"type": {
|
|
53754
|
-
"text": "
|
|
53755
|
-
},
|
|
53756
|
-
"privacy": "public",
|
|
53757
|
-
"static": true,
|
|
53758
|
-
"readonly": true,
|
|
53759
|
-
"default": "'button'",
|
|
53760
|
-
"inheritedFrom": {
|
|
53761
|
-
"name": "SbbElement",
|
|
53762
|
-
"module": "core/base-elements/element.js"
|
|
53763
|
-
}
|
|
53764
|
-
},
|
|
53765
|
-
{
|
|
53766
|
-
"kind": "field",
|
|
53767
|
-
"name": "_preventScrollOnSpaceKeydown",
|
|
53768
|
-
"privacy": "private",
|
|
53769
|
-
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
53770
|
-
"parameters": [
|
|
53771
|
-
{
|
|
53772
|
-
"description": "The origin event.",
|
|
53773
|
-
"name": "event"
|
|
53774
|
-
}
|
|
53775
|
-
],
|
|
53776
|
-
"inheritedFrom": {
|
|
53777
|
-
"name": "SbbButtonLikeBaseElement",
|
|
53778
|
-
"module": "core/base-elements/button-base-element.js"
|
|
53779
|
-
}
|
|
53780
|
-
},
|
|
53781
|
-
{
|
|
53782
|
-
"kind": "field",
|
|
53783
|
-
"name": "_removeActiveMarker",
|
|
53784
|
-
"privacy": "private",
|
|
53785
|
-
"inheritedFrom": {
|
|
53786
|
-
"name": "SbbButtonLikeBaseElement",
|
|
53787
|
-
"module": "core/base-elements/button-base-element.js"
|
|
53788
|
-
}
|
|
53789
|
-
},
|
|
53790
|
-
{
|
|
53791
|
-
"kind": "field",
|
|
53792
|
-
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
53793
|
-
"privacy": "private",
|
|
53794
|
-
"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.",
|
|
53795
|
-
"parameters": [
|
|
53796
|
-
{
|
|
53797
|
-
"description": "The origin event.",
|
|
53798
|
-
"name": "event"
|
|
53799
|
-
}
|
|
53800
|
-
],
|
|
53801
|
-
"inheritedFrom": {
|
|
53802
|
-
"name": "SbbButtonLikeBaseElement",
|
|
53803
|
-
"module": "core/base-elements/button-base-element.js"
|
|
53804
|
-
}
|
|
53805
|
-
},
|
|
53806
|
-
{
|
|
53807
|
-
"kind": "field",
|
|
53808
|
-
"name": "_dispatchClickEvent",
|
|
53809
|
-
"privacy": "private",
|
|
53810
|
-
"inheritedFrom": {
|
|
53811
|
-
"name": "SbbButtonLikeBaseElement",
|
|
53812
|
-
"module": "core/base-elements/button-base-element.js"
|
|
53813
|
-
}
|
|
53814
|
-
},
|
|
53815
|
-
{
|
|
53816
|
-
"kind": "field",
|
|
53817
|
-
"name": "maybeDisabled",
|
|
53818
|
-
"type": {
|
|
53819
|
-
"text": "boolean | undefined"
|
|
53820
|
-
},
|
|
53821
|
-
"privacy": "protected",
|
|
53822
|
-
"readonly": true,
|
|
53823
|
-
"inheritedFrom": {
|
|
53824
|
-
"name": "SbbActionBaseElement",
|
|
53825
|
-
"module": "core/base-elements/action-base-element.js"
|
|
53826
|
-
}
|
|
53827
|
-
},
|
|
53828
|
-
{
|
|
53829
|
-
"kind": "field",
|
|
53830
|
-
"name": "maybeDisabledInteractive",
|
|
53831
|
-
"type": {
|
|
53832
|
-
"text": "boolean | undefined"
|
|
53833
|
-
},
|
|
53834
|
-
"privacy": "protected",
|
|
53835
|
-
"readonly": true,
|
|
53836
|
-
"inheritedFrom": {
|
|
53837
|
-
"name": "SbbActionBaseElement",
|
|
53838
|
-
"module": "core/base-elements/action-base-element.js"
|
|
53839
|
-
}
|
|
53840
|
-
},
|
|
53841
|
-
{
|
|
53842
|
-
"kind": "method",
|
|
53843
|
-
"name": "setupBaseEventHandlers",
|
|
53844
|
-
"privacy": "protected",
|
|
53845
|
-
"return": {
|
|
53846
|
-
"type": {
|
|
53847
|
-
"text": "void"
|
|
53848
|
-
}
|
|
53849
|
-
},
|
|
53850
|
-
"inheritedFrom": {
|
|
53851
|
-
"name": "SbbActionBaseElement",
|
|
53852
|
-
"module": "core/base-elements/action-base-element.js"
|
|
53853
|
-
}
|
|
53854
|
-
},
|
|
53855
|
-
{
|
|
53856
|
-
"kind": "field",
|
|
53857
|
-
"name": "['_$sbbElement$']",
|
|
53858
|
-
"type": {
|
|
53859
|
-
"text": "boolean"
|
|
53860
|
-
},
|
|
53861
|
-
"privacy": "public",
|
|
53862
|
-
"static": true,
|
|
53863
|
-
"default": "true",
|
|
53864
|
-
"inheritedFrom": {
|
|
53865
|
-
"name": "SbbElement",
|
|
53866
|
-
"module": "core/base-elements/element.js"
|
|
53867
|
-
}
|
|
53868
|
-
},
|
|
53869
|
-
{
|
|
53870
|
-
"kind": "field",
|
|
53871
|
-
"name": "_controllers",
|
|
53872
|
-
"type": {
|
|
53873
|
-
"text": "Set<SbbReactiveController> | undefined"
|
|
53874
|
-
},
|
|
53875
|
-
"privacy": "private",
|
|
53876
|
-
"inheritedFrom": {
|
|
53877
|
-
"name": "SbbElement",
|
|
53878
|
-
"module": "core/base-elements/element.js"
|
|
53879
|
-
}
|
|
53880
|
-
},
|
|
53881
|
-
{
|
|
53882
|
-
"kind": "field",
|
|
53883
|
-
"name": "_hydrationRequired",
|
|
53884
|
-
"type": {
|
|
53885
|
-
"text": "boolean"
|
|
53886
|
-
},
|
|
53887
|
-
"privacy": "private",
|
|
53888
|
-
"default": "!!this.shadowRoot",
|
|
53889
|
-
"inheritedFrom": {
|
|
53890
|
-
"name": "SbbElement",
|
|
53891
|
-
"module": "core/base-elements/element.js"
|
|
53892
|
-
}
|
|
53893
|
-
},
|
|
53894
|
-
{
|
|
53895
|
-
"kind": "field",
|
|
53896
|
-
"name": "_hydrationComplete",
|
|
53897
|
-
"privacy": "private",
|
|
53898
|
-
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
53899
|
-
"inheritedFrom": {
|
|
53900
|
-
"name": "SbbElement",
|
|
53901
|
-
"module": "core/base-elements/element.js"
|
|
53902
|
-
}
|
|
53903
|
-
},
|
|
53904
|
-
{
|
|
53905
|
-
"kind": "field",
|
|
53906
|
-
"name": "_resolveHydration",
|
|
53907
|
-
"type": {
|
|
53908
|
-
"text": "(hydrationRequired: boolean) => void"
|
|
53909
|
-
},
|
|
53910
|
-
"privacy": "private",
|
|
53911
|
-
"inheritedFrom": {
|
|
53912
|
-
"name": "SbbElement",
|
|
53913
|
-
"module": "core/base-elements/element.js"
|
|
53914
|
-
}
|
|
53915
|
-
},
|
|
53916
|
-
{
|
|
53917
|
-
"kind": "field",
|
|
53918
|
-
"name": "_textObserver",
|
|
53919
|
-
"type": {
|
|
53920
|
-
"text": "MutationObserver | undefined"
|
|
53921
|
-
},
|
|
53922
|
-
"privacy": "private",
|
|
53923
|
-
"inheritedFrom": {
|
|
53924
|
-
"name": "SbbElement",
|
|
53925
|
-
"module": "core/base-elements/element.js"
|
|
53926
|
-
}
|
|
53927
|
-
},
|
|
53928
|
-
{
|
|
53929
|
-
"kind": "field",
|
|
53930
|
-
"name": "hydrationRequired",
|
|
53931
|
-
"type": {
|
|
53932
|
-
"text": "boolean"
|
|
53933
|
-
},
|
|
53934
|
-
"privacy": "protected",
|
|
53935
|
-
"description": "Returns whether hydration is required and not completed.",
|
|
53936
|
-
"readonly": true,
|
|
53937
|
-
"inheritedFrom": {
|
|
53938
|
-
"name": "SbbElement",
|
|
53939
|
-
"module": "core/base-elements/element.js"
|
|
53940
|
-
},
|
|
53941
|
-
"default": "!!this.shadowRoot"
|
|
53942
|
-
},
|
|
53943
|
-
{
|
|
53944
|
-
"kind": "method",
|
|
53945
|
-
"name": "toggleState",
|
|
53946
|
-
"privacy": "protected",
|
|
53947
|
-
"return": {
|
|
53948
|
-
"type": {
|
|
53949
|
-
"text": "void"
|
|
53950
|
-
}
|
|
53951
|
-
},
|
|
53952
|
-
"parameters": [
|
|
53953
|
-
{
|
|
53954
|
-
"name": "value",
|
|
53955
|
-
"type": {
|
|
53956
|
-
"text": "string"
|
|
53957
|
-
}
|
|
53958
|
-
},
|
|
53959
|
-
{
|
|
53960
|
-
"name": "force",
|
|
53961
|
-
"optional": true,
|
|
53962
|
-
"type": {
|
|
53963
|
-
"text": "boolean"
|
|
53964
|
-
}
|
|
53965
|
-
}
|
|
53966
|
-
],
|
|
53967
|
-
"inheritedFrom": {
|
|
53968
|
-
"name": "SbbElement",
|
|
53969
|
-
"module": "core/base-elements/element.js"
|
|
53970
|
-
}
|
|
53971
|
-
},
|
|
53972
|
-
{
|
|
53973
|
-
"kind": "method",
|
|
53974
|
-
"name": "_slotchangeHandler",
|
|
53975
|
-
"privacy": "private",
|
|
53976
|
-
"return": {
|
|
53977
|
-
"type": {
|
|
53978
|
-
"text": "void"
|
|
53979
|
-
}
|
|
53980
|
-
},
|
|
53981
|
-
"parameters": [
|
|
53982
|
-
{
|
|
53983
|
-
"name": "event",
|
|
53984
|
-
"type": {
|
|
53985
|
-
"text": "Event"
|
|
53986
|
-
}
|
|
53987
|
-
},
|
|
53988
|
-
{
|
|
53989
|
-
"name": "slot",
|
|
53990
|
-
"type": {
|
|
53991
|
-
"text": "HTMLSlotElement"
|
|
53992
|
-
}
|
|
53993
|
-
}
|
|
53994
|
-
],
|
|
53995
|
-
"inheritedFrom": {
|
|
53996
|
-
"name": "SbbElement",
|
|
53997
|
-
"module": "core/base-elements/element.js"
|
|
53998
|
-
}
|
|
53999
|
-
},
|
|
54000
|
-
{
|
|
54001
|
-
"kind": "method",
|
|
54002
|
-
"name": "_handleSlotChangeForSlottedState",
|
|
54003
|
-
"privacy": "private",
|
|
54004
|
-
"return": {
|
|
54005
|
-
"type": {
|
|
54006
|
-
"text": "void"
|
|
54007
|
-
}
|
|
54008
|
-
},
|
|
54009
|
-
"parameters": [
|
|
54010
|
-
{
|
|
54011
|
-
"name": "slot",
|
|
54012
|
-
"type": {
|
|
54013
|
-
"text": "HTMLSlotElement"
|
|
54014
|
-
}
|
|
54015
|
-
}
|
|
54016
|
-
],
|
|
54017
|
-
"inheritedFrom": {
|
|
54018
|
-
"name": "SbbElement",
|
|
54019
|
-
"module": "core/base-elements/element.js"
|
|
54020
|
-
}
|
|
54021
|
-
},
|
|
54022
|
-
{
|
|
54023
|
-
"kind": "method",
|
|
54024
|
-
"name": "_updateSlottedState",
|
|
54025
|
-
"privacy": "private",
|
|
54026
|
-
"return": {
|
|
54027
|
-
"type": {
|
|
54028
|
-
"text": "void"
|
|
54029
|
-
}
|
|
54030
|
-
},
|
|
54031
|
-
"parameters": [
|
|
54032
|
-
{
|
|
54033
|
-
"name": "slot",
|
|
54034
|
-
"type": {
|
|
54035
|
-
"text": "HTMLSlotElement"
|
|
54036
|
-
}
|
|
54037
|
-
}
|
|
54038
|
-
],
|
|
54039
|
-
"inheritedFrom": {
|
|
54040
|
-
"name": "SbbElement",
|
|
54041
|
-
"module": "core/base-elements/element.js"
|
|
54042
|
-
}
|
|
54043
|
-
},
|
|
54044
|
-
{
|
|
54045
|
-
"kind": "method",
|
|
54046
|
-
"name": "_observeTextNodesInSlot",
|
|
54047
|
-
"privacy": "private",
|
|
54048
|
-
"return": {
|
|
54049
|
-
"type": {
|
|
54050
|
-
"text": "void"
|
|
54051
|
-
}
|
|
54052
|
-
},
|
|
54053
|
-
"parameters": [
|
|
54054
|
-
{
|
|
54055
|
-
"name": "slot",
|
|
54056
|
-
"type": {
|
|
54057
|
-
"text": "HTMLSlotElement"
|
|
54058
|
-
}
|
|
54059
|
-
}
|
|
54060
|
-
],
|
|
54061
|
-
"inheritedFrom": {
|
|
54062
|
-
"name": "SbbElement",
|
|
54063
|
-
"module": "core/base-elements/element.js"
|
|
54064
|
-
}
|
|
54065
|
-
},
|
|
54066
|
-
{
|
|
54067
|
-
"kind": "method",
|
|
54068
|
-
"name": "_hasSlottedContent",
|
|
54069
|
-
"privacy": "private",
|
|
54070
|
-
"return": {
|
|
54071
|
-
"type": {
|
|
54072
|
-
"text": "boolean"
|
|
54073
|
-
}
|
|
54074
|
-
},
|
|
54075
|
-
"parameters": [
|
|
54076
|
-
{
|
|
54077
|
-
"name": "slot",
|
|
54078
|
-
"type": {
|
|
54079
|
-
"text": "HTMLSlotElement"
|
|
54080
|
-
}
|
|
54081
|
-
}
|
|
54082
|
-
],
|
|
54083
|
-
"inheritedFrom": {
|
|
54084
|
-
"name": "SbbElement",
|
|
54085
|
-
"module": "core/base-elements/element.js"
|
|
54086
|
-
}
|
|
54087
|
-
}
|
|
54088
|
-
],
|
|
54089
|
-
"mixins": [
|
|
54090
|
-
{
|
|
54091
|
-
"name": "SbbButtonCommonElementMixin",
|
|
54092
|
-
"module": "button/common/button-common.js"
|
|
54093
|
-
},
|
|
54094
|
-
{
|
|
54095
|
-
"name": "SbbDisabledTabIndexActionMixin",
|
|
54096
|
-
"module": "core.js"
|
|
54097
|
-
}
|
|
54098
|
-
],
|
|
54099
|
-
"superclass": {
|
|
54100
|
-
"name": "SbbButtonBaseElement",
|
|
54101
|
-
"module": "core.js"
|
|
54102
|
-
},
|
|
54103
|
-
"tagName": "sbb-secondary-button",
|
|
54104
|
-
"customElement": true,
|
|
54105
|
-
"attributes": [
|
|
54106
|
-
{
|
|
54107
|
-
"name": "size",
|
|
54108
|
-
"type": {
|
|
54109
|
-
"text": "SbbButtonSize"
|
|
54110
|
-
},
|
|
54111
|
-
"description": "Size variant, either l, m or s.",
|
|
54112
|
-
"default": "'m' / 's' (lean)",
|
|
54113
|
-
"fieldName": "size",
|
|
54114
|
-
"inheritedFrom": {
|
|
54115
|
-
"name": "SbbButtonCommonElementMixin",
|
|
54116
|
-
"module": "button/common/button-common.js"
|
|
54117
|
-
}
|
|
54118
|
-
},
|
|
54119
|
-
{
|
|
54120
|
-
"name": "loading",
|
|
54121
|
-
"type": {
|
|
54122
|
-
"text": "boolean"
|
|
54094
|
+
"text": "boolean"
|
|
54123
54095
|
},
|
|
54124
54096
|
"default": "false",
|
|
54125
54097
|
"description": "Whether the button indicates a loading state.\nThe animation kicks in after a delay of 300ms, configurable with --sbb-button-loading-delay CSS variable.",
|
|
@@ -54182,53 +54154,81 @@
|
|
|
54182
54154
|
}
|
|
54183
54155
|
},
|
|
54184
54156
|
{
|
|
54185
|
-
"name": "
|
|
54157
|
+
"name": "href",
|
|
54186
54158
|
"type": {
|
|
54187
54159
|
"text": "string"
|
|
54188
54160
|
},
|
|
54189
54161
|
"default": "''",
|
|
54190
|
-
"description": "
|
|
54191
|
-
"fieldName": "
|
|
54162
|
+
"description": "The href value you want to link to.",
|
|
54163
|
+
"fieldName": "href",
|
|
54192
54164
|
"inheritedFrom": {
|
|
54193
|
-
"name": "
|
|
54194
|
-
"module": "core/base-elements/
|
|
54165
|
+
"name": "SbbLinkBaseElement",
|
|
54166
|
+
"module": "core/base-elements/link-base-element.js"
|
|
54195
54167
|
}
|
|
54196
54168
|
},
|
|
54197
54169
|
{
|
|
54198
|
-
"name": "
|
|
54199
|
-
"description": "The type attribute to use for the button.",
|
|
54200
|
-
"default": "'button'",
|
|
54170
|
+
"name": "target",
|
|
54201
54171
|
"type": {
|
|
54202
|
-
"text": "
|
|
54172
|
+
"text": "LinkTargetType | string"
|
|
54203
54173
|
},
|
|
54204
|
-
"
|
|
54174
|
+
"default": "''",
|
|
54175
|
+
"description": "Where to display the linked URL.",
|
|
54176
|
+
"fieldName": "target",
|
|
54205
54177
|
"inheritedFrom": {
|
|
54206
|
-
"name": "
|
|
54207
|
-
"module": "core/base-elements/
|
|
54178
|
+
"name": "SbbLinkBaseElement",
|
|
54179
|
+
"module": "core/base-elements/link-base-element.js"
|
|
54208
54180
|
}
|
|
54209
54181
|
},
|
|
54210
54182
|
{
|
|
54211
|
-
"name": "
|
|
54212
|
-
"description": "The `<form>` element to associate the button with.",
|
|
54183
|
+
"name": "rel",
|
|
54213
54184
|
"type": {
|
|
54214
|
-
"text": "
|
|
54185
|
+
"text": "string"
|
|
54215
54186
|
},
|
|
54216
|
-
"
|
|
54187
|
+
"default": "''",
|
|
54188
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
54189
|
+
"fieldName": "rel",
|
|
54217
54190
|
"inheritedFrom": {
|
|
54218
|
-
"name": "
|
|
54219
|
-
"module": "core/base-elements/
|
|
54191
|
+
"name": "SbbLinkBaseElement",
|
|
54192
|
+
"module": "core/base-elements/link-base-element.js"
|
|
54220
54193
|
}
|
|
54221
54194
|
},
|
|
54222
54195
|
{
|
|
54223
|
-
"name": "
|
|
54224
|
-
"
|
|
54196
|
+
"name": "download",
|
|
54197
|
+
"type": {
|
|
54198
|
+
"text": "boolean"
|
|
54199
|
+
},
|
|
54200
|
+
"default": "false",
|
|
54201
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
54202
|
+
"fieldName": "download",
|
|
54203
|
+
"inheritedFrom": {
|
|
54204
|
+
"name": "SbbLinkBaseElement",
|
|
54205
|
+
"module": "core/base-elements/link-base-element.js"
|
|
54206
|
+
}
|
|
54207
|
+
},
|
|
54208
|
+
{
|
|
54209
|
+
"name": "accessibility-label",
|
|
54225
54210
|
"type": {
|
|
54226
54211
|
"text": "string"
|
|
54227
54212
|
},
|
|
54228
|
-
"
|
|
54213
|
+
"default": "''",
|
|
54214
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
54215
|
+
"fieldName": "accessibilityLabel",
|
|
54229
54216
|
"inheritedFrom": {
|
|
54230
|
-
"name": "
|
|
54231
|
-
"module": "core/
|
|
54217
|
+
"name": "SbbLinkBaseElement",
|
|
54218
|
+
"module": "core/base-elements/link-base-element.js"
|
|
54219
|
+
}
|
|
54220
|
+
},
|
|
54221
|
+
{
|
|
54222
|
+
"name": "accessibility-current",
|
|
54223
|
+
"type": {
|
|
54224
|
+
"text": "string"
|
|
54225
|
+
},
|
|
54226
|
+
"default": "''",
|
|
54227
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
54228
|
+
"fieldName": "accessibilityCurrent",
|
|
54229
|
+
"inheritedFrom": {
|
|
54230
|
+
"name": "SbbLinkBaseElement",
|
|
54231
|
+
"module": "core/base-elements/link-base-element.js"
|
|
54232
54232
|
}
|
|
54233
54233
|
}
|
|
54234
54234
|
]
|
|
@@ -54237,10 +54237,10 @@
|
|
|
54237
54237
|
"exports": [
|
|
54238
54238
|
{
|
|
54239
54239
|
"kind": "js",
|
|
54240
|
-
"name": "
|
|
54240
|
+
"name": "SbbSecondaryButtonLinkElement",
|
|
54241
54241
|
"declaration": {
|
|
54242
|
-
"name": "
|
|
54243
|
-
"module": "button/secondary-button/secondary-button.component.js"
|
|
54242
|
+
"name": "SbbSecondaryButtonLinkElement",
|
|
54243
|
+
"module": "button/secondary-button-link/secondary-button-link.component.js"
|
|
54244
54244
|
}
|
|
54245
54245
|
}
|
|
54246
54246
|
]
|
|
@@ -119772,15 +119772,15 @@
|
|
|
119772
119772
|
},
|
|
119773
119773
|
{
|
|
119774
119774
|
"kind": "javascript-module",
|
|
119775
|
-
"path": "link/block-link
|
|
119775
|
+
"path": "link/block-link/block-link.component.js",
|
|
119776
119776
|
"declarations": [
|
|
119777
119777
|
{
|
|
119778
119778
|
"kind": "class",
|
|
119779
|
-
"description": "It displays a link enhanced with the SBB Design
|
|
119780
|
-
"name": "
|
|
119779
|
+
"description": "It displays a link enhanced with the SBB Design.",
|
|
119780
|
+
"name": "SbbBlockLinkElement",
|
|
119781
119781
|
"slots": [
|
|
119782
119782
|
{
|
|
119783
|
-
"description": "Use the unnamed slot to add content to the `sbb-block-link
|
|
119783
|
+
"description": "Use the unnamed slot to add content to the `sbb-block-link`.",
|
|
119784
119784
|
"name": ""
|
|
119785
119785
|
},
|
|
119786
119786
|
{
|
|
@@ -119802,7 +119802,7 @@
|
|
|
119802
119802
|
"name": "SbbElement",
|
|
119803
119803
|
"module": "core/base-elements/element.js"
|
|
119804
119804
|
},
|
|
119805
|
-
"default": "'sbb-block-link
|
|
119805
|
+
"default": "'sbb-block-link'"
|
|
119806
119806
|
},
|
|
119807
119807
|
{
|
|
119808
119808
|
"kind": "field",
|
|
@@ -119945,22 +119945,6 @@
|
|
|
119945
119945
|
"module": "icon/icon-name-mixin.js"
|
|
119946
119946
|
}
|
|
119947
119947
|
},
|
|
119948
|
-
{
|
|
119949
|
-
"kind": "field",
|
|
119950
|
-
"name": "disabledInteractive",
|
|
119951
|
-
"type": {
|
|
119952
|
-
"text": "boolean"
|
|
119953
|
-
},
|
|
119954
|
-
"privacy": "public",
|
|
119955
|
-
"default": "false",
|
|
119956
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
119957
|
-
"attribute": "disabled-interactive",
|
|
119958
|
-
"reflects": true,
|
|
119959
|
-
"inheritedFrom": {
|
|
119960
|
-
"name": "SbbDisabledInteractiveMixin",
|
|
119961
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
119962
|
-
}
|
|
119963
|
-
},
|
|
119964
119948
|
{
|
|
119965
119949
|
"kind": "field",
|
|
119966
119950
|
"name": "disabled",
|
|
@@ -120007,479 +119991,151 @@
|
|
|
120007
119991
|
},
|
|
120008
119992
|
{
|
|
120009
119993
|
"kind": "field",
|
|
120010
|
-
"name": "
|
|
120011
|
-
"type": {
|
|
120012
|
-
"text": "array"
|
|
120013
|
-
},
|
|
120014
|
-
"privacy": "private",
|
|
120015
|
-
"readonly": true,
|
|
120016
|
-
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
120017
|
-
"inheritedFrom": {
|
|
120018
|
-
"name": "SbbButtonBaseElement",
|
|
120019
|
-
"module": "core/base-elements/button-base-element.js"
|
|
120020
|
-
}
|
|
120021
|
-
},
|
|
120022
|
-
{
|
|
120023
|
-
"kind": "field",
|
|
120024
|
-
"name": "value",
|
|
119994
|
+
"name": "href",
|
|
120025
119995
|
"type": {
|
|
120026
119996
|
"text": "string"
|
|
120027
119997
|
},
|
|
120028
119998
|
"privacy": "public",
|
|
120029
|
-
"inheritedFrom": {
|
|
120030
|
-
"name": "SbbButtonBaseElement",
|
|
120031
|
-
"module": "core/base-elements/button-base-element.js"
|
|
120032
|
-
},
|
|
120033
119999
|
"default": "''",
|
|
120034
|
-
"description": "
|
|
120035
|
-
"attribute": "
|
|
120036
|
-
|
|
120037
|
-
{
|
|
120038
|
-
"kind": "field",
|
|
120039
|
-
"name": "type",
|
|
120040
|
-
"privacy": "public",
|
|
120041
|
-
"description": "The type attribute to use for the button.",
|
|
120042
|
-
"default": "'button'",
|
|
120043
|
-
"type": {
|
|
120044
|
-
"text": "SbbButtonType"
|
|
120045
|
-
},
|
|
120046
|
-
"attribute": "type",
|
|
120000
|
+
"description": "The href value you want to link to.",
|
|
120001
|
+
"attribute": "href",
|
|
120002
|
+
"reflects": true,
|
|
120047
120003
|
"inheritedFrom": {
|
|
120048
|
-
"name": "
|
|
120049
|
-
"module": "core/base-elements/
|
|
120004
|
+
"name": "SbbLinkBaseElement",
|
|
120005
|
+
"module": "core/base-elements/link-base-element.js"
|
|
120050
120006
|
}
|
|
120051
120007
|
},
|
|
120052
120008
|
{
|
|
120053
120009
|
"kind": "field",
|
|
120054
|
-
"name": "
|
|
120010
|
+
"name": "target",
|
|
120055
120011
|
"type": {
|
|
120056
|
-
"text": "
|
|
120012
|
+
"text": "LinkTargetType | string"
|
|
120057
120013
|
},
|
|
120058
120014
|
"privacy": "public",
|
|
120059
|
-
"
|
|
120015
|
+
"default": "''",
|
|
120016
|
+
"description": "Where to display the linked URL.",
|
|
120017
|
+
"attribute": "target",
|
|
120018
|
+
"reflects": true,
|
|
120060
120019
|
"inheritedFrom": {
|
|
120061
|
-
"name": "
|
|
120062
|
-
"module": "core/base-elements/
|
|
120063
|
-
}
|
|
120064
|
-
"attribute": "form"
|
|
120020
|
+
"name": "SbbLinkBaseElement",
|
|
120021
|
+
"module": "core/base-elements/link-base-element.js"
|
|
120022
|
+
}
|
|
120065
120023
|
},
|
|
120066
120024
|
{
|
|
120067
120025
|
"kind": "field",
|
|
120068
|
-
"name": "
|
|
120026
|
+
"name": "rel",
|
|
120069
120027
|
"type": {
|
|
120070
120028
|
"text": "string"
|
|
120071
120029
|
},
|
|
120072
|
-
"privacy": "
|
|
120030
|
+
"privacy": "public",
|
|
120073
120031
|
"default": "''",
|
|
120032
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
120033
|
+
"attribute": "rel",
|
|
120034
|
+
"reflects": true,
|
|
120074
120035
|
"inheritedFrom": {
|
|
120075
|
-
"name": "
|
|
120076
|
-
"module": "core/base-elements/
|
|
120077
|
-
}
|
|
120078
|
-
},
|
|
120079
|
-
{
|
|
120080
|
-
"kind": "field",
|
|
120081
|
-
"name": "_handleButtonClick",
|
|
120082
|
-
"privacy": "private",
|
|
120083
|
-
"inheritedFrom": {
|
|
120084
|
-
"name": "SbbButtonBaseElement",
|
|
120085
|
-
"module": "core/base-elements/button-base-element.js"
|
|
120086
|
-
}
|
|
120087
|
-
},
|
|
120088
|
-
{
|
|
120089
|
-
"kind": "method",
|
|
120090
|
-
"name": "_requestSubmit",
|
|
120091
|
-
"privacy": "private",
|
|
120092
|
-
"return": {
|
|
120093
|
-
"type": {
|
|
120094
|
-
"text": "void"
|
|
120095
|
-
}
|
|
120096
|
-
},
|
|
120097
|
-
"parameters": [
|
|
120098
|
-
{
|
|
120099
|
-
"name": "form",
|
|
120100
|
-
"type": {
|
|
120101
|
-
"text": "HTMLFormElement"
|
|
120102
|
-
}
|
|
120103
|
-
}
|
|
120104
|
-
],
|
|
120105
|
-
"inheritedFrom": {
|
|
120106
|
-
"name": "SbbButtonBaseElement",
|
|
120107
|
-
"module": "core/base-elements/button-base-element.js"
|
|
120108
|
-
}
|
|
120109
|
-
},
|
|
120110
|
-
{
|
|
120111
|
-
"kind": "field",
|
|
120112
|
-
"name": "_formKeyDown",
|
|
120113
|
-
"privacy": "private",
|
|
120114
|
-
"inheritedFrom": {
|
|
120115
|
-
"name": "SbbButtonBaseElement",
|
|
120116
|
-
"module": "core/base-elements/button-base-element.js"
|
|
120036
|
+
"name": "SbbLinkBaseElement",
|
|
120037
|
+
"module": "core/base-elements/link-base-element.js"
|
|
120117
120038
|
}
|
|
120118
120039
|
},
|
|
120119
120040
|
{
|
|
120120
120041
|
"kind": "field",
|
|
120121
|
-
"name": "
|
|
120042
|
+
"name": "download",
|
|
120122
120043
|
"type": {
|
|
120123
120044
|
"text": "boolean"
|
|
120124
120045
|
},
|
|
120125
120046
|
"privacy": "public",
|
|
120126
|
-
"
|
|
120127
|
-
"
|
|
120047
|
+
"default": "false",
|
|
120048
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
120049
|
+
"attribute": "download",
|
|
120050
|
+
"reflects": true,
|
|
120128
120051
|
"inheritedFrom": {
|
|
120129
|
-
"name": "
|
|
120130
|
-
"module": "core/
|
|
120052
|
+
"name": "SbbLinkBaseElement",
|
|
120053
|
+
"module": "core/base-elements/link-base-element.js"
|
|
120131
120054
|
}
|
|
120132
120055
|
},
|
|
120133
120056
|
{
|
|
120134
120057
|
"kind": "field",
|
|
120135
|
-
"name": "
|
|
120136
|
-
"privacy": "public",
|
|
120137
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
120058
|
+
"name": "accessibilityLabel",
|
|
120138
120059
|
"type": {
|
|
120139
120060
|
"text": "string"
|
|
120140
120061
|
},
|
|
120141
|
-
"attribute": "name",
|
|
120142
|
-
"inheritedFrom": {
|
|
120143
|
-
"name": "SbbFormAssociatedMixin",
|
|
120144
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
120145
|
-
}
|
|
120146
|
-
},
|
|
120147
|
-
{
|
|
120148
|
-
"kind": "field",
|
|
120149
|
-
"name": "validity",
|
|
120150
|
-
"type": {
|
|
120151
|
-
"text": "ValidityState"
|
|
120152
|
-
},
|
|
120153
120062
|
"privacy": "public",
|
|
120154
|
-
"
|
|
120155
|
-
"
|
|
120063
|
+
"default": "''",
|
|
120064
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
120065
|
+
"attribute": "accessibility-label",
|
|
120156
120066
|
"inheritedFrom": {
|
|
120157
|
-
"name": "
|
|
120158
|
-
"module": "core/
|
|
120067
|
+
"name": "SbbLinkBaseElement",
|
|
120068
|
+
"module": "core/base-elements/link-base-element.js"
|
|
120159
120069
|
}
|
|
120160
120070
|
},
|
|
120161
120071
|
{
|
|
120162
120072
|
"kind": "field",
|
|
120163
|
-
"name": "
|
|
120073
|
+
"name": "accessibilityCurrent",
|
|
120164
120074
|
"type": {
|
|
120165
120075
|
"text": "string"
|
|
120166
120076
|
},
|
|
120167
120077
|
"privacy": "public",
|
|
120168
|
-
"
|
|
120169
|
-
"
|
|
120170
|
-
"
|
|
120171
|
-
"name": "SbbFormAssociatedMixin",
|
|
120172
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
120173
|
-
}
|
|
120174
|
-
},
|
|
120175
|
-
{
|
|
120176
|
-
"kind": "field",
|
|
120177
|
-
"name": "willValidate",
|
|
120178
|
-
"type": {
|
|
120179
|
-
"text": "boolean"
|
|
120180
|
-
},
|
|
120181
|
-
"privacy": "public",
|
|
120182
|
-
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
120183
|
-
"readonly": true,
|
|
120078
|
+
"default": "''",
|
|
120079
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
120080
|
+
"attribute": "accessibility-current",
|
|
120184
120081
|
"inheritedFrom": {
|
|
120185
|
-
"name": "
|
|
120186
|
-
"module": "core/
|
|
120082
|
+
"name": "SbbLinkBaseElement",
|
|
120083
|
+
"module": "core/base-elements/link-base-element.js"
|
|
120187
120084
|
}
|
|
120188
120085
|
},
|
|
120189
120086
|
{
|
|
120190
120087
|
"kind": "field",
|
|
120191
|
-
"name": "
|
|
120192
|
-
"privacy": "
|
|
120193
|
-
"default": "new
|
|
120088
|
+
"name": "language",
|
|
120089
|
+
"privacy": "protected",
|
|
120090
|
+
"default": "new SbbLanguageController(this)",
|
|
120194
120091
|
"inheritedFrom": {
|
|
120195
|
-
"name": "
|
|
120196
|
-
"module": "core/
|
|
120092
|
+
"name": "SbbLinkBaseElement",
|
|
120093
|
+
"module": "core/base-elements/link-base-element.js"
|
|
120197
120094
|
}
|
|
120198
120095
|
},
|
|
120199
120096
|
{
|
|
120200
120097
|
"kind": "field",
|
|
120201
|
-
"name": "
|
|
120098
|
+
"name": "anchorRole",
|
|
120202
120099
|
"type": {
|
|
120203
|
-
"text": "
|
|
120100
|
+
"text": "string | null"
|
|
120204
120101
|
},
|
|
120205
120102
|
"privacy": "protected",
|
|
120206
|
-
"
|
|
120207
|
-
"
|
|
120208
|
-
"inheritedFrom": {
|
|
120209
|
-
"name": "SbbFormAssociatedMixin",
|
|
120210
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
120211
|
-
}
|
|
120212
|
-
},
|
|
120213
|
-
{
|
|
120214
|
-
"kind": "method",
|
|
120215
|
-
"name": "checkValidity",
|
|
120216
|
-
"privacy": "public",
|
|
120217
|
-
"return": {
|
|
120218
|
-
"type": {
|
|
120219
|
-
"text": "boolean"
|
|
120220
|
-
}
|
|
120221
|
-
},
|
|
120222
|
-
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
120223
|
-
"inheritedFrom": {
|
|
120224
|
-
"name": "SbbFormAssociatedMixin",
|
|
120225
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
120226
|
-
}
|
|
120227
|
-
},
|
|
120228
|
-
{
|
|
120229
|
-
"kind": "method",
|
|
120230
|
-
"name": "reportValidity",
|
|
120231
|
-
"privacy": "public",
|
|
120232
|
-
"return": {
|
|
120233
|
-
"type": {
|
|
120234
|
-
"text": "boolean"
|
|
120235
|
-
}
|
|
120236
|
-
},
|
|
120237
|
-
"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.",
|
|
120238
|
-
"inheritedFrom": {
|
|
120239
|
-
"name": "SbbFormAssociatedMixin",
|
|
120240
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
120241
|
-
}
|
|
120242
|
-
},
|
|
120243
|
-
{
|
|
120244
|
-
"kind": "method",
|
|
120245
|
-
"name": "setCustomValidity",
|
|
120246
|
-
"privacy": "public",
|
|
120247
|
-
"return": {
|
|
120248
|
-
"type": {
|
|
120249
|
-
"text": "void"
|
|
120250
|
-
}
|
|
120251
|
-
},
|
|
120252
|
-
"parameters": [
|
|
120253
|
-
{
|
|
120254
|
-
"name": "message",
|
|
120255
|
-
"type": {
|
|
120256
|
-
"text": "string"
|
|
120257
|
-
}
|
|
120258
|
-
}
|
|
120259
|
-
],
|
|
120260
|
-
"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.",
|
|
120103
|
+
"readonly": true,
|
|
120104
|
+
"default": "null",
|
|
120261
120105
|
"inheritedFrom": {
|
|
120262
|
-
"name": "
|
|
120263
|
-
"module": "core/
|
|
120106
|
+
"name": "SbbLinkBaseElement",
|
|
120107
|
+
"module": "core/base-elements/link-base-element.js"
|
|
120264
120108
|
}
|
|
120265
120109
|
},
|
|
120266
120110
|
{
|
|
120267
|
-
"kind": "
|
|
120268
|
-
"name": "
|
|
120111
|
+
"kind": "field",
|
|
120112
|
+
"name": "_evaluateRelAttribute",
|
|
120269
120113
|
"privacy": "private",
|
|
120270
|
-
"return": {
|
|
120271
|
-
"type": {
|
|
120272
|
-
"text": "boolean"
|
|
120273
|
-
}
|
|
120274
|
-
},
|
|
120275
|
-
"inheritedFrom": {
|
|
120276
|
-
"name": "SbbFormAssociatedMixin",
|
|
120277
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
120278
|
-
}
|
|
120279
|
-
},
|
|
120280
|
-
{
|
|
120281
|
-
"kind": "method",
|
|
120282
|
-
"name": "updateFormValue",
|
|
120283
|
-
"privacy": "protected",
|
|
120284
|
-
"return": {
|
|
120285
|
-
"type": {
|
|
120286
|
-
"text": "void"
|
|
120287
|
-
}
|
|
120288
|
-
},
|
|
120289
|
-
"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",
|
|
120290
120114
|
"inheritedFrom": {
|
|
120291
|
-
"name": "
|
|
120292
|
-
"module": "core/
|
|
120293
|
-
}
|
|
120294
|
-
},
|
|
120295
|
-
{
|
|
120296
|
-
"kind": "method",
|
|
120297
|
-
"name": "formState",
|
|
120298
|
-
"privacy": "protected",
|
|
120299
|
-
"return": {
|
|
120300
|
-
"type": {
|
|
120301
|
-
"text": "FormRestoreState"
|
|
120302
|
-
}
|
|
120303
|
-
},
|
|
120304
|
-
"inheritedFrom": {
|
|
120305
|
-
"name": "SbbFormAssociatedMixin",
|
|
120306
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
120307
|
-
}
|
|
120308
|
-
},
|
|
120309
|
-
{
|
|
120310
|
-
"kind": "method",
|
|
120311
|
-
"name": "setValidityFlag",
|
|
120312
|
-
"privacy": "protected",
|
|
120313
|
-
"return": {
|
|
120314
|
-
"type": {
|
|
120315
|
-
"text": "void"
|
|
120316
|
-
}
|
|
120317
|
-
},
|
|
120318
|
-
"parameters": [
|
|
120319
|
-
{
|
|
120320
|
-
"name": "flag",
|
|
120321
|
-
"type": {
|
|
120322
|
-
"text": "T"
|
|
120323
|
-
}
|
|
120324
|
-
},
|
|
120325
|
-
{
|
|
120326
|
-
"name": "message",
|
|
120327
|
-
"type": {
|
|
120328
|
-
"text": "string"
|
|
120329
|
-
}
|
|
120330
|
-
},
|
|
120331
|
-
{
|
|
120332
|
-
"name": "flagValue",
|
|
120333
|
-
"optional": true,
|
|
120334
|
-
"type": {
|
|
120335
|
-
"text": "ValidityStateFlags[T]"
|
|
120336
|
-
}
|
|
120337
|
-
}
|
|
120338
|
-
],
|
|
120339
|
-
"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).",
|
|
120340
|
-
"inheritedFrom": {
|
|
120341
|
-
"name": "SbbFormAssociatedMixin",
|
|
120342
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
120343
|
-
}
|
|
120344
|
-
},
|
|
120345
|
-
{
|
|
120346
|
-
"kind": "method",
|
|
120347
|
-
"name": "removeValidityFlag",
|
|
120348
|
-
"privacy": "protected",
|
|
120349
|
-
"return": {
|
|
120350
|
-
"type": {
|
|
120351
|
-
"text": "void"
|
|
120352
|
-
}
|
|
120353
|
-
},
|
|
120354
|
-
"parameters": [
|
|
120355
|
-
{
|
|
120356
|
-
"name": "flag",
|
|
120357
|
-
"type": {
|
|
120358
|
-
"text": "T"
|
|
120359
|
-
}
|
|
120360
|
-
}
|
|
120361
|
-
],
|
|
120362
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
120363
|
-
"inheritedFrom": {
|
|
120364
|
-
"name": "SbbFormAssociatedMixin",
|
|
120365
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
120366
|
-
}
|
|
120367
|
-
},
|
|
120368
|
-
{
|
|
120369
|
-
"kind": "method",
|
|
120370
|
-
"name": "validate",
|
|
120371
|
-
"privacy": "protected",
|
|
120372
|
-
"return": {
|
|
120373
|
-
"type": {
|
|
120374
|
-
"text": "void"
|
|
120375
|
-
}
|
|
120376
|
-
},
|
|
120377
|
-
"description": "To be called whenever the current element needs to be validated.",
|
|
120378
|
-
"inheritedFrom": {
|
|
120379
|
-
"name": "SbbFormAssociatedMixin",
|
|
120380
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
120115
|
+
"name": "SbbLinkBaseElement",
|
|
120116
|
+
"module": "core/base-elements/link-base-element.js"
|
|
120381
120117
|
}
|
|
120382
120118
|
},
|
|
120383
120119
|
{
|
|
120384
120120
|
"kind": "method",
|
|
120385
|
-
"name": "
|
|
120121
|
+
"name": "renderLink",
|
|
120386
120122
|
"privacy": "protected",
|
|
120387
120123
|
"return": {
|
|
120388
120124
|
"type": {
|
|
120389
|
-
"text": "
|
|
120125
|
+
"text": "TemplateResult"
|
|
120390
120126
|
}
|
|
120391
120127
|
},
|
|
120392
120128
|
"parameters": [
|
|
120393
120129
|
{
|
|
120394
|
-
"name": "
|
|
120130
|
+
"name": "renderContent",
|
|
120395
120131
|
"type": {
|
|
120396
|
-
"text": "
|
|
120132
|
+
"text": "TemplateResult"
|
|
120397
120133
|
}
|
|
120398
120134
|
}
|
|
120399
120135
|
],
|
|
120400
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
120401
|
-
"inheritedFrom": {
|
|
120402
|
-
"name": "SbbFormAssociatedMixin",
|
|
120403
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
120404
|
-
}
|
|
120405
|
-
},
|
|
120406
|
-
{
|
|
120407
|
-
"kind": "method",
|
|
120408
|
-
"name": "_setInternalValidity",
|
|
120409
|
-
"privacy": "private",
|
|
120410
|
-
"return": {
|
|
120411
|
-
"type": {
|
|
120412
|
-
"text": "void"
|
|
120413
|
-
}
|
|
120414
|
-
},
|
|
120415
|
-
"inheritedFrom": {
|
|
120416
|
-
"name": "SbbFormAssociatedMixin",
|
|
120417
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
120418
|
-
}
|
|
120419
|
-
},
|
|
120420
|
-
{
|
|
120421
|
-
"kind": "field",
|
|
120422
|
-
"name": "role",
|
|
120423
|
-
"type": {
|
|
120424
|
-
"text": "ElementInternals['role']"
|
|
120425
|
-
},
|
|
120426
|
-
"privacy": "public",
|
|
120427
|
-
"static": true,
|
|
120428
|
-
"inheritedFrom": {
|
|
120429
|
-
"name": "SbbElement",
|
|
120430
|
-
"module": "core/base-elements/element.js"
|
|
120431
|
-
},
|
|
120432
|
-
"readonly": true,
|
|
120433
|
-
"default": "'button'"
|
|
120434
|
-
},
|
|
120435
|
-
{
|
|
120436
|
-
"kind": "field",
|
|
120437
|
-
"name": "_preventScrollOnSpaceKeydown",
|
|
120438
|
-
"privacy": "private",
|
|
120439
|
-
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
120440
|
-
"parameters": [
|
|
120441
|
-
{
|
|
120442
|
-
"description": "The origin event.",
|
|
120443
|
-
"name": "event"
|
|
120444
|
-
}
|
|
120445
|
-
],
|
|
120446
|
-
"inheritedFrom": {
|
|
120447
|
-
"name": "SbbButtonLikeBaseElement",
|
|
120448
|
-
"module": "core/base-elements/button-base-element.js"
|
|
120449
|
-
}
|
|
120450
|
-
},
|
|
120451
|
-
{
|
|
120452
|
-
"kind": "field",
|
|
120453
|
-
"name": "_removeActiveMarker",
|
|
120454
|
-
"privacy": "private",
|
|
120455
|
-
"inheritedFrom": {
|
|
120456
|
-
"name": "SbbButtonLikeBaseElement",
|
|
120457
|
-
"module": "core/base-elements/button-base-element.js"
|
|
120458
|
-
}
|
|
120459
|
-
},
|
|
120460
|
-
{
|
|
120461
|
-
"kind": "field",
|
|
120462
|
-
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
120463
|
-
"privacy": "private",
|
|
120464
|
-
"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.",
|
|
120465
|
-
"parameters": [
|
|
120466
|
-
{
|
|
120467
|
-
"description": "The origin event.",
|
|
120468
|
-
"name": "event"
|
|
120469
|
-
}
|
|
120470
|
-
],
|
|
120471
|
-
"inheritedFrom": {
|
|
120472
|
-
"name": "SbbButtonLikeBaseElement",
|
|
120473
|
-
"module": "core/base-elements/button-base-element.js"
|
|
120474
|
-
}
|
|
120475
|
-
},
|
|
120476
|
-
{
|
|
120477
|
-
"kind": "field",
|
|
120478
|
-
"name": "_dispatchClickEvent",
|
|
120479
|
-
"privacy": "private",
|
|
120480
120136
|
"inheritedFrom": {
|
|
120481
|
-
"name": "
|
|
120482
|
-
"module": "core/base-elements/
|
|
120137
|
+
"name": "SbbLinkBaseElement",
|
|
120138
|
+
"module": "core/base-elements/link-base-element.js"
|
|
120483
120139
|
}
|
|
120484
120140
|
},
|
|
120485
120141
|
{
|
|
@@ -120536,6 +120192,19 @@
|
|
|
120536
120192
|
"module": "core/base-elements/element.js"
|
|
120537
120193
|
}
|
|
120538
120194
|
},
|
|
120195
|
+
{
|
|
120196
|
+
"kind": "field",
|
|
120197
|
+
"name": "role",
|
|
120198
|
+
"type": {
|
|
120199
|
+
"text": "ElementInternals['role'] | undefined"
|
|
120200
|
+
},
|
|
120201
|
+
"privacy": "public",
|
|
120202
|
+
"static": true,
|
|
120203
|
+
"inheritedFrom": {
|
|
120204
|
+
"name": "SbbElement",
|
|
120205
|
+
"module": "core/base-elements/element.js"
|
|
120206
|
+
}
|
|
120207
|
+
},
|
|
120539
120208
|
{
|
|
120540
120209
|
"kind": "field",
|
|
120541
120210
|
"name": "_controllers",
|
|
@@ -120762,15 +120431,15 @@
|
|
|
120762
120431
|
"module": "link/common/block-link-common.js"
|
|
120763
120432
|
},
|
|
120764
120433
|
{
|
|
120765
|
-
"name": "
|
|
120434
|
+
"name": "SbbDisabledMixin",
|
|
120766
120435
|
"module": "core.js"
|
|
120767
120436
|
}
|
|
120768
120437
|
],
|
|
120769
120438
|
"superclass": {
|
|
120770
|
-
"name": "
|
|
120439
|
+
"name": "SbbLinkBaseElement",
|
|
120771
120440
|
"module": "core.js"
|
|
120772
120441
|
},
|
|
120773
|
-
"tagName": "sbb-block-link
|
|
120442
|
+
"tagName": "sbb-block-link",
|
|
120774
120443
|
"customElement": true,
|
|
120775
120444
|
"attributes": [
|
|
120776
120445
|
{
|
|
@@ -120813,79 +120482,94 @@
|
|
|
120813
120482
|
}
|
|
120814
120483
|
},
|
|
120815
120484
|
{
|
|
120816
|
-
"name": "disabled
|
|
120485
|
+
"name": "disabled",
|
|
120486
|
+
"description": "Whether the component is disabled.",
|
|
120487
|
+
"default": "false",
|
|
120817
120488
|
"type": {
|
|
120818
120489
|
"text": "boolean"
|
|
120819
120490
|
},
|
|
120820
|
-
"
|
|
120821
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
120822
|
-
"fieldName": "disabledInteractive",
|
|
120491
|
+
"fieldName": "disabled",
|
|
120823
120492
|
"inheritedFrom": {
|
|
120824
|
-
"name": "
|
|
120493
|
+
"name": "SbbDisabledMixin",
|
|
120825
120494
|
"module": "core/mixins/disabled-mixin.js"
|
|
120826
120495
|
}
|
|
120827
120496
|
},
|
|
120828
120497
|
{
|
|
120829
|
-
"name": "
|
|
120830
|
-
"description": "Whether the component is disabled.",
|
|
120831
|
-
"default": "false",
|
|
120498
|
+
"name": "href",
|
|
120832
120499
|
"type": {
|
|
120833
|
-
"text": "
|
|
120500
|
+
"text": "string"
|
|
120834
120501
|
},
|
|
120835
|
-
"
|
|
120502
|
+
"default": "''",
|
|
120503
|
+
"description": "The href value you want to link to.",
|
|
120504
|
+
"fieldName": "href",
|
|
120836
120505
|
"inheritedFrom": {
|
|
120837
|
-
"name": "
|
|
120838
|
-
"module": "core/
|
|
120506
|
+
"name": "SbbLinkBaseElement",
|
|
120507
|
+
"module": "core/base-elements/link-base-element.js"
|
|
120839
120508
|
}
|
|
120840
120509
|
},
|
|
120841
120510
|
{
|
|
120842
|
-
"name": "
|
|
120511
|
+
"name": "target",
|
|
120512
|
+
"type": {
|
|
120513
|
+
"text": "LinkTargetType | string"
|
|
120514
|
+
},
|
|
120515
|
+
"default": "''",
|
|
120516
|
+
"description": "Where to display the linked URL.",
|
|
120517
|
+
"fieldName": "target",
|
|
120518
|
+
"inheritedFrom": {
|
|
120519
|
+
"name": "SbbLinkBaseElement",
|
|
120520
|
+
"module": "core/base-elements/link-base-element.js"
|
|
120521
|
+
}
|
|
120522
|
+
},
|
|
120523
|
+
{
|
|
120524
|
+
"name": "rel",
|
|
120843
120525
|
"type": {
|
|
120844
120526
|
"text": "string"
|
|
120845
120527
|
},
|
|
120846
120528
|
"default": "''",
|
|
120847
|
-
"description": "
|
|
120848
|
-
"fieldName": "
|
|
120529
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
120530
|
+
"fieldName": "rel",
|
|
120849
120531
|
"inheritedFrom": {
|
|
120850
|
-
"name": "
|
|
120851
|
-
"module": "core/base-elements/
|
|
120532
|
+
"name": "SbbLinkBaseElement",
|
|
120533
|
+
"module": "core/base-elements/link-base-element.js"
|
|
120852
120534
|
}
|
|
120853
120535
|
},
|
|
120854
120536
|
{
|
|
120855
|
-
"name": "
|
|
120856
|
-
"description": "The type attribute to use for the button.",
|
|
120857
|
-
"default": "'button'",
|
|
120537
|
+
"name": "download",
|
|
120858
120538
|
"type": {
|
|
120859
|
-
"text": "
|
|
120539
|
+
"text": "boolean"
|
|
120860
120540
|
},
|
|
120861
|
-
"
|
|
120541
|
+
"default": "false",
|
|
120542
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
120543
|
+
"fieldName": "download",
|
|
120862
120544
|
"inheritedFrom": {
|
|
120863
|
-
"name": "
|
|
120864
|
-
"module": "core/base-elements/
|
|
120545
|
+
"name": "SbbLinkBaseElement",
|
|
120546
|
+
"module": "core/base-elements/link-base-element.js"
|
|
120865
120547
|
}
|
|
120866
120548
|
},
|
|
120867
120549
|
{
|
|
120868
|
-
"name": "
|
|
120869
|
-
"description": "The `<form>` element to associate the button with.",
|
|
120550
|
+
"name": "accessibility-label",
|
|
120870
120551
|
"type": {
|
|
120871
|
-
"text": "
|
|
120552
|
+
"text": "string"
|
|
120872
120553
|
},
|
|
120873
|
-
"
|
|
120554
|
+
"default": "''",
|
|
120555
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
120556
|
+
"fieldName": "accessibilityLabel",
|
|
120874
120557
|
"inheritedFrom": {
|
|
120875
|
-
"name": "
|
|
120876
|
-
"module": "core/base-elements/
|
|
120558
|
+
"name": "SbbLinkBaseElement",
|
|
120559
|
+
"module": "core/base-elements/link-base-element.js"
|
|
120877
120560
|
}
|
|
120878
120561
|
},
|
|
120879
120562
|
{
|
|
120880
|
-
"name": "
|
|
120881
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
120563
|
+
"name": "accessibility-current",
|
|
120882
120564
|
"type": {
|
|
120883
120565
|
"text": "string"
|
|
120884
120566
|
},
|
|
120885
|
-
"
|
|
120567
|
+
"default": "''",
|
|
120568
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
120569
|
+
"fieldName": "accessibilityCurrent",
|
|
120886
120570
|
"inheritedFrom": {
|
|
120887
|
-
"name": "
|
|
120888
|
-
"module": "core/
|
|
120571
|
+
"name": "SbbLinkBaseElement",
|
|
120572
|
+
"module": "core/base-elements/link-base-element.js"
|
|
120889
120573
|
}
|
|
120890
120574
|
}
|
|
120891
120575
|
]
|
|
@@ -120894,25 +120578,25 @@
|
|
|
120894
120578
|
"exports": [
|
|
120895
120579
|
{
|
|
120896
120580
|
"kind": "js",
|
|
120897
|
-
"name": "
|
|
120581
|
+
"name": "SbbBlockLinkElement",
|
|
120898
120582
|
"declaration": {
|
|
120899
|
-
"name": "
|
|
120900
|
-
"module": "link/block-link
|
|
120583
|
+
"name": "SbbBlockLinkElement",
|
|
120584
|
+
"module": "link/block-link/block-link.component.js"
|
|
120901
120585
|
}
|
|
120902
120586
|
}
|
|
120903
120587
|
]
|
|
120904
120588
|
},
|
|
120905
120589
|
{
|
|
120906
120590
|
"kind": "javascript-module",
|
|
120907
|
-
"path": "link/block-link/block-link.component.js",
|
|
120591
|
+
"path": "link/block-link-button/block-link-button.component.js",
|
|
120908
120592
|
"declarations": [
|
|
120909
120593
|
{
|
|
120910
120594
|
"kind": "class",
|
|
120911
|
-
"description": "It displays a link enhanced with the SBB Design.",
|
|
120912
|
-
"name": "
|
|
120595
|
+
"description": "It displays a link enhanced with the SBB Design, which will behave as a button.",
|
|
120596
|
+
"name": "SbbBlockLinkButtonElement",
|
|
120913
120597
|
"slots": [
|
|
120914
120598
|
{
|
|
120915
|
-
"description": "Use the unnamed slot to add content to the `sbb-block-link`.",
|
|
120599
|
+
"description": "Use the unnamed slot to add content to the `sbb-block-link-button`.",
|
|
120916
120600
|
"name": ""
|
|
120917
120601
|
},
|
|
120918
120602
|
{
|
|
@@ -120923,351 +120607,695 @@
|
|
|
120923
120607
|
"members": [
|
|
120924
120608
|
{
|
|
120925
120609
|
"kind": "field",
|
|
120926
|
-
"name": "elementName",
|
|
120610
|
+
"name": "elementName",
|
|
120611
|
+
"type": {
|
|
120612
|
+
"text": "string"
|
|
120613
|
+
},
|
|
120614
|
+
"privacy": "public",
|
|
120615
|
+
"static": true,
|
|
120616
|
+
"readonly": true,
|
|
120617
|
+
"inheritedFrom": {
|
|
120618
|
+
"name": "SbbElement",
|
|
120619
|
+
"module": "core/base-elements/element.js"
|
|
120620
|
+
},
|
|
120621
|
+
"default": "'sbb-block-link-button'"
|
|
120622
|
+
},
|
|
120623
|
+
{
|
|
120624
|
+
"kind": "field",
|
|
120625
|
+
"name": "styles",
|
|
120626
|
+
"type": {
|
|
120627
|
+
"text": "CSSResultGroup"
|
|
120628
|
+
},
|
|
120629
|
+
"privacy": "public",
|
|
120630
|
+
"static": true,
|
|
120631
|
+
"default": "[super.styles, unsafeCSS(blockStyle)]",
|
|
120632
|
+
"inheritedFrom": {
|
|
120633
|
+
"name": "SbbLinkCommonElementMixin",
|
|
120634
|
+
"module": "link/common/link-common.js"
|
|
120635
|
+
}
|
|
120636
|
+
},
|
|
120637
|
+
{
|
|
120638
|
+
"kind": "field",
|
|
120639
|
+
"name": "size",
|
|
120640
|
+
"type": {
|
|
120641
|
+
"text": "SbbLinkSize"
|
|
120642
|
+
},
|
|
120643
|
+
"privacy": "public",
|
|
120644
|
+
"description": "Size variant, either xs, s or m.",
|
|
120645
|
+
"default": "'s' / 'xs' (lean)",
|
|
120646
|
+
"attribute": "size",
|
|
120647
|
+
"reflects": true,
|
|
120648
|
+
"inheritedFrom": {
|
|
120649
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
120650
|
+
"module": "link/common/block-link-common.js"
|
|
120651
|
+
}
|
|
120652
|
+
},
|
|
120653
|
+
{
|
|
120654
|
+
"kind": "field",
|
|
120655
|
+
"name": "iconPlacement",
|
|
120656
|
+
"type": {
|
|
120657
|
+
"text": "SbbIconPlacement"
|
|
120658
|
+
},
|
|
120659
|
+
"privacy": "public",
|
|
120660
|
+
"default": "'start'",
|
|
120661
|
+
"description": "Moves the icon to the end of the component if set to true.",
|
|
120662
|
+
"attribute": "icon-placement",
|
|
120663
|
+
"reflects": true,
|
|
120664
|
+
"inheritedFrom": {
|
|
120665
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
120666
|
+
"module": "link/common/block-link-common.js"
|
|
120667
|
+
}
|
|
120668
|
+
},
|
|
120669
|
+
{
|
|
120670
|
+
"kind": "method",
|
|
120671
|
+
"name": "renderTemplate",
|
|
120672
|
+
"privacy": "protected",
|
|
120673
|
+
"return": {
|
|
120674
|
+
"type": {
|
|
120675
|
+
"text": "TemplateResult"
|
|
120676
|
+
}
|
|
120677
|
+
},
|
|
120678
|
+
"description": "Override this method to render the component template.",
|
|
120679
|
+
"inheritedFrom": {
|
|
120680
|
+
"name": "SbbActionBaseElement",
|
|
120681
|
+
"module": "core/base-elements/action-base-element.js"
|
|
120682
|
+
}
|
|
120683
|
+
},
|
|
120684
|
+
{
|
|
120685
|
+
"kind": "field",
|
|
120686
|
+
"name": "elementDependencies",
|
|
120687
|
+
"type": {
|
|
120688
|
+
"text": "SbbElementType[]"
|
|
120689
|
+
},
|
|
120690
|
+
"privacy": "public",
|
|
120691
|
+
"static": true,
|
|
120692
|
+
"inheritedFrom": {
|
|
120693
|
+
"name": "SbbElement",
|
|
120694
|
+
"module": "core/base-elements/element.js"
|
|
120695
|
+
},
|
|
120696
|
+
"default": "[SbbIconElement]"
|
|
120697
|
+
},
|
|
120698
|
+
{
|
|
120699
|
+
"kind": "field",
|
|
120700
|
+
"name": "iconName",
|
|
120701
|
+
"type": {
|
|
120702
|
+
"text": "string"
|
|
120703
|
+
},
|
|
120704
|
+
"privacy": "public",
|
|
120705
|
+
"default": "''",
|
|
120706
|
+
"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.",
|
|
120707
|
+
"attribute": "icon-name",
|
|
120708
|
+
"inheritedFrom": {
|
|
120709
|
+
"name": "SbbIconNameMixin",
|
|
120710
|
+
"module": "icon/icon-name-mixin.js"
|
|
120711
|
+
}
|
|
120712
|
+
},
|
|
120713
|
+
{
|
|
120714
|
+
"kind": "method",
|
|
120715
|
+
"name": "renderIconSlot",
|
|
120716
|
+
"privacy": "protected",
|
|
120717
|
+
"return": {
|
|
120718
|
+
"type": {
|
|
120719
|
+
"text": "TemplateResult"
|
|
120720
|
+
}
|
|
120721
|
+
},
|
|
120722
|
+
"parameters": [
|
|
120723
|
+
{
|
|
120724
|
+
"name": "classname",
|
|
120725
|
+
"optional": true,
|
|
120726
|
+
"type": {
|
|
120727
|
+
"text": "string"
|
|
120728
|
+
}
|
|
120729
|
+
}
|
|
120730
|
+
],
|
|
120731
|
+
"inheritedFrom": {
|
|
120732
|
+
"name": "SbbIconNameMixin",
|
|
120733
|
+
"module": "icon/icon-name-mixin.js"
|
|
120734
|
+
}
|
|
120735
|
+
},
|
|
120736
|
+
{
|
|
120737
|
+
"kind": "method",
|
|
120738
|
+
"name": "renderIconName",
|
|
120739
|
+
"privacy": "protected",
|
|
120740
|
+
"return": {
|
|
120741
|
+
"type": {
|
|
120742
|
+
"text": "string"
|
|
120743
|
+
}
|
|
120744
|
+
},
|
|
120745
|
+
"inheritedFrom": {
|
|
120746
|
+
"name": "SbbIconNameMixin",
|
|
120747
|
+
"module": "icon/icon-name-mixin.js"
|
|
120748
|
+
}
|
|
120749
|
+
},
|
|
120750
|
+
{
|
|
120751
|
+
"kind": "method",
|
|
120752
|
+
"name": "_renderIconName",
|
|
120753
|
+
"privacy": "private",
|
|
120754
|
+
"return": {
|
|
120755
|
+
"type": {
|
|
120756
|
+
"text": "string"
|
|
120757
|
+
}
|
|
120758
|
+
},
|
|
120759
|
+
"inheritedFrom": {
|
|
120760
|
+
"name": "SbbIconNameMixin",
|
|
120761
|
+
"module": "icon/icon-name-mixin.js"
|
|
120762
|
+
}
|
|
120763
|
+
},
|
|
120764
|
+
{
|
|
120765
|
+
"kind": "field",
|
|
120766
|
+
"name": "disabledInteractive",
|
|
120767
|
+
"type": {
|
|
120768
|
+
"text": "boolean"
|
|
120769
|
+
},
|
|
120770
|
+
"privacy": "public",
|
|
120771
|
+
"default": "false",
|
|
120772
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
120773
|
+
"attribute": "disabled-interactive",
|
|
120774
|
+
"reflects": true,
|
|
120775
|
+
"inheritedFrom": {
|
|
120776
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
120777
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
120778
|
+
}
|
|
120779
|
+
},
|
|
120780
|
+
{
|
|
120781
|
+
"kind": "field",
|
|
120782
|
+
"name": "disabled",
|
|
120783
|
+
"privacy": "public",
|
|
120784
|
+
"description": "Whether the component is disabled.",
|
|
120785
|
+
"default": "false",
|
|
120786
|
+
"type": {
|
|
120787
|
+
"text": "boolean"
|
|
120788
|
+
},
|
|
120789
|
+
"attribute": "disabled",
|
|
120790
|
+
"reflects": true,
|
|
120791
|
+
"inheritedFrom": {
|
|
120792
|
+
"name": "SbbDisabledMixin",
|
|
120793
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
120794
|
+
}
|
|
120795
|
+
},
|
|
120796
|
+
{
|
|
120797
|
+
"kind": "field",
|
|
120798
|
+
"name": "#disabled",
|
|
120799
|
+
"privacy": "private",
|
|
120800
|
+
"type": {
|
|
120801
|
+
"text": "boolean"
|
|
120802
|
+
},
|
|
120803
|
+
"default": "false",
|
|
120804
|
+
"inheritedFrom": {
|
|
120805
|
+
"name": "SbbDisabledMixin",
|
|
120806
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
120807
|
+
}
|
|
120808
|
+
},
|
|
120809
|
+
{
|
|
120810
|
+
"kind": "method",
|
|
120811
|
+
"name": "isDisabledExternally",
|
|
120812
|
+
"privacy": "protected",
|
|
120813
|
+
"return": {
|
|
120814
|
+
"type": {
|
|
120815
|
+
"text": "boolean"
|
|
120816
|
+
}
|
|
120817
|
+
},
|
|
120818
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
120819
|
+
"inheritedFrom": {
|
|
120820
|
+
"name": "SbbDisabledMixin",
|
|
120821
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
120822
|
+
}
|
|
120823
|
+
},
|
|
120824
|
+
{
|
|
120825
|
+
"kind": "field",
|
|
120826
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
120827
|
+
"type": {
|
|
120828
|
+
"text": "array"
|
|
120829
|
+
},
|
|
120830
|
+
"privacy": "private",
|
|
120831
|
+
"readonly": true,
|
|
120832
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
120833
|
+
"inheritedFrom": {
|
|
120834
|
+
"name": "SbbButtonBaseElement",
|
|
120835
|
+
"module": "core/base-elements/button-base-element.js"
|
|
120836
|
+
}
|
|
120837
|
+
},
|
|
120838
|
+
{
|
|
120839
|
+
"kind": "field",
|
|
120840
|
+
"name": "value",
|
|
120841
|
+
"type": {
|
|
120842
|
+
"text": "string"
|
|
120843
|
+
},
|
|
120844
|
+
"privacy": "public",
|
|
120845
|
+
"inheritedFrom": {
|
|
120846
|
+
"name": "SbbButtonBaseElement",
|
|
120847
|
+
"module": "core/base-elements/button-base-element.js"
|
|
120848
|
+
},
|
|
120849
|
+
"default": "''",
|
|
120850
|
+
"description": "Value of the form element.",
|
|
120851
|
+
"attribute": "value"
|
|
120852
|
+
},
|
|
120853
|
+
{
|
|
120854
|
+
"kind": "field",
|
|
120855
|
+
"name": "type",
|
|
120856
|
+
"privacy": "public",
|
|
120857
|
+
"description": "The type attribute to use for the button.",
|
|
120858
|
+
"default": "'button'",
|
|
120859
|
+
"type": {
|
|
120860
|
+
"text": "SbbButtonType"
|
|
120861
|
+
},
|
|
120862
|
+
"attribute": "type",
|
|
120863
|
+
"inheritedFrom": {
|
|
120864
|
+
"name": "SbbButtonBaseElement",
|
|
120865
|
+
"module": "core/base-elements/button-base-element.js"
|
|
120866
|
+
}
|
|
120867
|
+
},
|
|
120868
|
+
{
|
|
120869
|
+
"kind": "field",
|
|
120870
|
+
"name": "form",
|
|
120871
|
+
"type": {
|
|
120872
|
+
"text": "HTMLFormElement | null"
|
|
120873
|
+
},
|
|
120874
|
+
"privacy": "public",
|
|
120875
|
+
"description": "The `<form>` element to associate the button with.",
|
|
120876
|
+
"inheritedFrom": {
|
|
120877
|
+
"name": "SbbButtonBaseElement",
|
|
120878
|
+
"module": "core/base-elements/button-base-element.js"
|
|
120879
|
+
},
|
|
120880
|
+
"attribute": "form"
|
|
120881
|
+
},
|
|
120882
|
+
{
|
|
120883
|
+
"kind": "field",
|
|
120884
|
+
"name": "_formId",
|
|
120885
|
+
"type": {
|
|
120886
|
+
"text": "string"
|
|
120887
|
+
},
|
|
120888
|
+
"privacy": "private",
|
|
120889
|
+
"default": "''",
|
|
120890
|
+
"inheritedFrom": {
|
|
120891
|
+
"name": "SbbButtonBaseElement",
|
|
120892
|
+
"module": "core/base-elements/button-base-element.js"
|
|
120893
|
+
}
|
|
120894
|
+
},
|
|
120895
|
+
{
|
|
120896
|
+
"kind": "field",
|
|
120897
|
+
"name": "_handleButtonClick",
|
|
120898
|
+
"privacy": "private",
|
|
120899
|
+
"inheritedFrom": {
|
|
120900
|
+
"name": "SbbButtonBaseElement",
|
|
120901
|
+
"module": "core/base-elements/button-base-element.js"
|
|
120902
|
+
}
|
|
120903
|
+
},
|
|
120904
|
+
{
|
|
120905
|
+
"kind": "method",
|
|
120906
|
+
"name": "_requestSubmit",
|
|
120907
|
+
"privacy": "private",
|
|
120908
|
+
"return": {
|
|
120909
|
+
"type": {
|
|
120910
|
+
"text": "void"
|
|
120911
|
+
}
|
|
120912
|
+
},
|
|
120913
|
+
"parameters": [
|
|
120914
|
+
{
|
|
120915
|
+
"name": "form",
|
|
120916
|
+
"type": {
|
|
120917
|
+
"text": "HTMLFormElement"
|
|
120918
|
+
}
|
|
120919
|
+
}
|
|
120920
|
+
],
|
|
120921
|
+
"inheritedFrom": {
|
|
120922
|
+
"name": "SbbButtonBaseElement",
|
|
120923
|
+
"module": "core/base-elements/button-base-element.js"
|
|
120924
|
+
}
|
|
120925
|
+
},
|
|
120926
|
+
{
|
|
120927
|
+
"kind": "field",
|
|
120928
|
+
"name": "_formKeyDown",
|
|
120929
|
+
"privacy": "private",
|
|
120930
|
+
"inheritedFrom": {
|
|
120931
|
+
"name": "SbbButtonBaseElement",
|
|
120932
|
+
"module": "core/base-elements/button-base-element.js"
|
|
120933
|
+
}
|
|
120934
|
+
},
|
|
120935
|
+
{
|
|
120936
|
+
"kind": "field",
|
|
120937
|
+
"name": "formAssociated",
|
|
120938
|
+
"type": {
|
|
120939
|
+
"text": "boolean"
|
|
120940
|
+
},
|
|
120941
|
+
"privacy": "public",
|
|
120942
|
+
"static": true,
|
|
120943
|
+
"default": "true",
|
|
120944
|
+
"inheritedFrom": {
|
|
120945
|
+
"name": "SbbFormAssociatedMixin",
|
|
120946
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120947
|
+
}
|
|
120948
|
+
},
|
|
120949
|
+
{
|
|
120950
|
+
"kind": "field",
|
|
120951
|
+
"name": "name",
|
|
120952
|
+
"privacy": "public",
|
|
120953
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
120954
|
+
"type": {
|
|
120955
|
+
"text": "string"
|
|
120956
|
+
},
|
|
120957
|
+
"attribute": "name",
|
|
120958
|
+
"inheritedFrom": {
|
|
120959
|
+
"name": "SbbFormAssociatedMixin",
|
|
120960
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120961
|
+
}
|
|
120962
|
+
},
|
|
120963
|
+
{
|
|
120964
|
+
"kind": "field",
|
|
120965
|
+
"name": "validity",
|
|
120927
120966
|
"type": {
|
|
120928
|
-
"text": "
|
|
120967
|
+
"text": "ValidityState"
|
|
120929
120968
|
},
|
|
120930
120969
|
"privacy": "public",
|
|
120931
|
-
"
|
|
120970
|
+
"description": "Returns the ValidityState object for this element.",
|
|
120932
120971
|
"readonly": true,
|
|
120933
120972
|
"inheritedFrom": {
|
|
120934
|
-
"name": "
|
|
120935
|
-
"module": "core/
|
|
120936
|
-
}
|
|
120937
|
-
"default": "'sbb-block-link'"
|
|
120973
|
+
"name": "SbbFormAssociatedMixin",
|
|
120974
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120975
|
+
}
|
|
120938
120976
|
},
|
|
120939
120977
|
{
|
|
120940
120978
|
"kind": "field",
|
|
120941
|
-
"name": "
|
|
120979
|
+
"name": "validationMessage",
|
|
120942
120980
|
"type": {
|
|
120943
|
-
"text": "
|
|
120981
|
+
"text": "string"
|
|
120944
120982
|
},
|
|
120945
120983
|
"privacy": "public",
|
|
120946
|
-
"
|
|
120947
|
-
"
|
|
120984
|
+
"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.",
|
|
120985
|
+
"readonly": true,
|
|
120948
120986
|
"inheritedFrom": {
|
|
120949
|
-
"name": "
|
|
120950
|
-
"module": "
|
|
120987
|
+
"name": "SbbFormAssociatedMixin",
|
|
120988
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120951
120989
|
}
|
|
120952
120990
|
},
|
|
120953
120991
|
{
|
|
120954
120992
|
"kind": "field",
|
|
120955
|
-
"name": "
|
|
120993
|
+
"name": "willValidate",
|
|
120956
120994
|
"type": {
|
|
120957
|
-
"text": "
|
|
120995
|
+
"text": "boolean"
|
|
120958
120996
|
},
|
|
120959
120997
|
"privacy": "public",
|
|
120960
|
-
"description": "
|
|
120961
|
-
"
|
|
120962
|
-
"attribute": "size",
|
|
120963
|
-
"reflects": true,
|
|
120998
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
120999
|
+
"readonly": true,
|
|
120964
121000
|
"inheritedFrom": {
|
|
120965
|
-
"name": "
|
|
120966
|
-
"module": "
|
|
121001
|
+
"name": "SbbFormAssociatedMixin",
|
|
121002
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120967
121003
|
}
|
|
120968
121004
|
},
|
|
120969
121005
|
{
|
|
120970
121006
|
"kind": "field",
|
|
120971
|
-
"name": "
|
|
121007
|
+
"name": "_validityStates",
|
|
121008
|
+
"privacy": "private",
|
|
121009
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
121010
|
+
"inheritedFrom": {
|
|
121011
|
+
"name": "SbbFormAssociatedMixin",
|
|
121012
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121013
|
+
}
|
|
121014
|
+
},
|
|
121015
|
+
{
|
|
121016
|
+
"kind": "field",
|
|
121017
|
+
"name": "formDisabled",
|
|
120972
121018
|
"type": {
|
|
120973
|
-
"text": "
|
|
121019
|
+
"text": "boolean"
|
|
120974
121020
|
},
|
|
120975
|
-
"privacy": "
|
|
120976
|
-
"default": "
|
|
120977
|
-
"description": "
|
|
120978
|
-
"attribute": "icon-placement",
|
|
120979
|
-
"reflects": true,
|
|
121021
|
+
"privacy": "protected",
|
|
121022
|
+
"default": "false",
|
|
121023
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
120980
121024
|
"inheritedFrom": {
|
|
120981
|
-
"name": "
|
|
120982
|
-
"module": "
|
|
121025
|
+
"name": "SbbFormAssociatedMixin",
|
|
121026
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120983
121027
|
}
|
|
120984
121028
|
},
|
|
120985
121029
|
{
|
|
120986
121030
|
"kind": "method",
|
|
120987
|
-
"name": "
|
|
120988
|
-
"privacy": "
|
|
121031
|
+
"name": "checkValidity",
|
|
121032
|
+
"privacy": "public",
|
|
120989
121033
|
"return": {
|
|
120990
121034
|
"type": {
|
|
120991
|
-
"text": "
|
|
121035
|
+
"text": "boolean"
|
|
120992
121036
|
}
|
|
120993
121037
|
},
|
|
120994
|
-
"description": "
|
|
121038
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
120995
121039
|
"inheritedFrom": {
|
|
120996
|
-
"name": "
|
|
120997
|
-
"module": "core/
|
|
121040
|
+
"name": "SbbFormAssociatedMixin",
|
|
121041
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120998
121042
|
}
|
|
120999
121043
|
},
|
|
121000
121044
|
{
|
|
121001
|
-
"kind": "
|
|
121002
|
-
"name": "
|
|
121003
|
-
"type": {
|
|
121004
|
-
"text": "SbbElementType[]"
|
|
121005
|
-
},
|
|
121045
|
+
"kind": "method",
|
|
121046
|
+
"name": "reportValidity",
|
|
121006
121047
|
"privacy": "public",
|
|
121007
|
-
"
|
|
121008
|
-
|
|
121009
|
-
|
|
121010
|
-
|
|
121011
|
-
},
|
|
121012
|
-
"default": "[SbbIconElement]"
|
|
121013
|
-
},
|
|
121014
|
-
{
|
|
121015
|
-
"kind": "field",
|
|
121016
|
-
"name": "iconName",
|
|
121017
|
-
"type": {
|
|
121018
|
-
"text": "string"
|
|
121048
|
+
"return": {
|
|
121049
|
+
"type": {
|
|
121050
|
+
"text": "boolean"
|
|
121051
|
+
}
|
|
121019
121052
|
},
|
|
121020
|
-
"
|
|
121021
|
-
"default": "''",
|
|
121022
|
-
"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.",
|
|
121023
|
-
"attribute": "icon-name",
|
|
121053
|
+
"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.",
|
|
121024
121054
|
"inheritedFrom": {
|
|
121025
|
-
"name": "
|
|
121026
|
-
"module": "
|
|
121055
|
+
"name": "SbbFormAssociatedMixin",
|
|
121056
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121027
121057
|
}
|
|
121028
121058
|
},
|
|
121029
121059
|
{
|
|
121030
121060
|
"kind": "method",
|
|
121031
|
-
"name": "
|
|
121032
|
-
"privacy": "
|
|
121061
|
+
"name": "setCustomValidity",
|
|
121062
|
+
"privacy": "public",
|
|
121033
121063
|
"return": {
|
|
121034
121064
|
"type": {
|
|
121035
|
-
"text": "
|
|
121065
|
+
"text": "void"
|
|
121036
121066
|
}
|
|
121037
121067
|
},
|
|
121038
121068
|
"parameters": [
|
|
121039
121069
|
{
|
|
121040
|
-
"name": "
|
|
121041
|
-
"optional": true,
|
|
121070
|
+
"name": "message",
|
|
121042
121071
|
"type": {
|
|
121043
121072
|
"text": "string"
|
|
121044
121073
|
}
|
|
121045
121074
|
}
|
|
121046
121075
|
],
|
|
121076
|
+
"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.",
|
|
121047
121077
|
"inheritedFrom": {
|
|
121048
|
-
"name": "
|
|
121049
|
-
"module": "
|
|
121078
|
+
"name": "SbbFormAssociatedMixin",
|
|
121079
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121050
121080
|
}
|
|
121051
121081
|
},
|
|
121052
121082
|
{
|
|
121053
121083
|
"kind": "method",
|
|
121054
|
-
"name": "
|
|
121055
|
-
"privacy": "
|
|
121084
|
+
"name": "_hasDisabledAncestor",
|
|
121085
|
+
"privacy": "private",
|
|
121056
121086
|
"return": {
|
|
121057
121087
|
"type": {
|
|
121058
|
-
"text": "
|
|
121088
|
+
"text": "boolean"
|
|
121059
121089
|
}
|
|
121060
121090
|
},
|
|
121061
121091
|
"inheritedFrom": {
|
|
121062
|
-
"name": "
|
|
121063
|
-
"module": "
|
|
121092
|
+
"name": "SbbFormAssociatedMixin",
|
|
121093
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121064
121094
|
}
|
|
121065
121095
|
},
|
|
121066
121096
|
{
|
|
121067
121097
|
"kind": "method",
|
|
121068
|
-
"name": "
|
|
121069
|
-
"privacy": "
|
|
121098
|
+
"name": "updateFormValue",
|
|
121099
|
+
"privacy": "protected",
|
|
121070
121100
|
"return": {
|
|
121071
121101
|
"type": {
|
|
121072
|
-
"text": "
|
|
121102
|
+
"text": "void"
|
|
121073
121103
|
}
|
|
121074
121104
|
},
|
|
121105
|
+
"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",
|
|
121075
121106
|
"inheritedFrom": {
|
|
121076
|
-
"name": "
|
|
121077
|
-
"module": "
|
|
121107
|
+
"name": "SbbFormAssociatedMixin",
|
|
121108
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121078
121109
|
}
|
|
121079
121110
|
},
|
|
121080
121111
|
{
|
|
121081
|
-
"kind": "
|
|
121082
|
-
"name": "
|
|
121083
|
-
"privacy": "
|
|
121084
|
-
"
|
|
121085
|
-
|
|
121086
|
-
|
|
121087
|
-
|
|
121112
|
+
"kind": "method",
|
|
121113
|
+
"name": "formState",
|
|
121114
|
+
"privacy": "protected",
|
|
121115
|
+
"return": {
|
|
121116
|
+
"type": {
|
|
121117
|
+
"text": "FormRestoreState"
|
|
121118
|
+
}
|
|
121088
121119
|
},
|
|
121089
|
-
"attribute": "disabled",
|
|
121090
|
-
"reflects": true,
|
|
121091
121120
|
"inheritedFrom": {
|
|
121092
|
-
"name": "
|
|
121093
|
-
"module": "core/mixins/
|
|
121121
|
+
"name": "SbbFormAssociatedMixin",
|
|
121122
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121094
121123
|
}
|
|
121095
121124
|
},
|
|
121096
121125
|
{
|
|
121097
|
-
"kind": "
|
|
121098
|
-
"name": "
|
|
121099
|
-
"privacy": "
|
|
121100
|
-
"
|
|
121101
|
-
"
|
|
121126
|
+
"kind": "method",
|
|
121127
|
+
"name": "setValidityFlag",
|
|
121128
|
+
"privacy": "protected",
|
|
121129
|
+
"return": {
|
|
121130
|
+
"type": {
|
|
121131
|
+
"text": "void"
|
|
121132
|
+
}
|
|
121102
121133
|
},
|
|
121103
|
-
"
|
|
121134
|
+
"parameters": [
|
|
121135
|
+
{
|
|
121136
|
+
"name": "flag",
|
|
121137
|
+
"type": {
|
|
121138
|
+
"text": "T"
|
|
121139
|
+
}
|
|
121140
|
+
},
|
|
121141
|
+
{
|
|
121142
|
+
"name": "message",
|
|
121143
|
+
"type": {
|
|
121144
|
+
"text": "string"
|
|
121145
|
+
}
|
|
121146
|
+
},
|
|
121147
|
+
{
|
|
121148
|
+
"name": "flagValue",
|
|
121149
|
+
"optional": true,
|
|
121150
|
+
"type": {
|
|
121151
|
+
"text": "ValidityStateFlags[T]"
|
|
121152
|
+
}
|
|
121153
|
+
}
|
|
121154
|
+
],
|
|
121155
|
+
"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).",
|
|
121104
121156
|
"inheritedFrom": {
|
|
121105
|
-
"name": "
|
|
121106
|
-
"module": "core/mixins/
|
|
121157
|
+
"name": "SbbFormAssociatedMixin",
|
|
121158
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121107
121159
|
}
|
|
121108
121160
|
},
|
|
121109
121161
|
{
|
|
121110
121162
|
"kind": "method",
|
|
121111
|
-
"name": "
|
|
121163
|
+
"name": "removeValidityFlag",
|
|
121112
121164
|
"privacy": "protected",
|
|
121113
121165
|
"return": {
|
|
121114
121166
|
"type": {
|
|
121115
|
-
"text": "
|
|
121167
|
+
"text": "void"
|
|
121116
121168
|
}
|
|
121117
121169
|
},
|
|
121118
|
-
"
|
|
121170
|
+
"parameters": [
|
|
121171
|
+
{
|
|
121172
|
+
"name": "flag",
|
|
121173
|
+
"type": {
|
|
121174
|
+
"text": "T"
|
|
121175
|
+
}
|
|
121176
|
+
}
|
|
121177
|
+
],
|
|
121178
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
121119
121179
|
"inheritedFrom": {
|
|
121120
|
-
"name": "
|
|
121121
|
-
"module": "core/mixins/
|
|
121180
|
+
"name": "SbbFormAssociatedMixin",
|
|
121181
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121122
121182
|
}
|
|
121123
121183
|
},
|
|
121124
121184
|
{
|
|
121125
|
-
"kind": "
|
|
121126
|
-
"name": "
|
|
121127
|
-
"
|
|
121128
|
-
|
|
121185
|
+
"kind": "method",
|
|
121186
|
+
"name": "validate",
|
|
121187
|
+
"privacy": "protected",
|
|
121188
|
+
"return": {
|
|
121189
|
+
"type": {
|
|
121190
|
+
"text": "void"
|
|
121191
|
+
}
|
|
121129
121192
|
},
|
|
121130
|
-
"
|
|
121131
|
-
"default": "''",
|
|
121132
|
-
"description": "The href value you want to link to.",
|
|
121133
|
-
"attribute": "href",
|
|
121134
|
-
"reflects": true,
|
|
121193
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
121135
121194
|
"inheritedFrom": {
|
|
121136
|
-
"name": "
|
|
121137
|
-
"module": "core/
|
|
121195
|
+
"name": "SbbFormAssociatedMixin",
|
|
121196
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121138
121197
|
}
|
|
121139
121198
|
},
|
|
121140
121199
|
{
|
|
121141
|
-
"kind": "
|
|
121142
|
-
"name": "
|
|
121143
|
-
"
|
|
121144
|
-
|
|
121200
|
+
"kind": "method",
|
|
121201
|
+
"name": "shouldValidate",
|
|
121202
|
+
"privacy": "protected",
|
|
121203
|
+
"return": {
|
|
121204
|
+
"type": {
|
|
121205
|
+
"text": "boolean"
|
|
121206
|
+
}
|
|
121145
121207
|
},
|
|
121146
|
-
"
|
|
121147
|
-
|
|
121148
|
-
|
|
121149
|
-
|
|
121150
|
-
|
|
121208
|
+
"parameters": [
|
|
121209
|
+
{
|
|
121210
|
+
"name": "name",
|
|
121211
|
+
"type": {
|
|
121212
|
+
"text": "PropertyKey | undefined"
|
|
121213
|
+
}
|
|
121214
|
+
}
|
|
121215
|
+
],
|
|
121216
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
121151
121217
|
"inheritedFrom": {
|
|
121152
|
-
"name": "
|
|
121153
|
-
"module": "core/
|
|
121218
|
+
"name": "SbbFormAssociatedMixin",
|
|
121219
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121154
121220
|
}
|
|
121155
121221
|
},
|
|
121156
121222
|
{
|
|
121157
|
-
"kind": "
|
|
121158
|
-
"name": "
|
|
121159
|
-
"
|
|
121160
|
-
|
|
121223
|
+
"kind": "method",
|
|
121224
|
+
"name": "_setInternalValidity",
|
|
121225
|
+
"privacy": "private",
|
|
121226
|
+
"return": {
|
|
121227
|
+
"type": {
|
|
121228
|
+
"text": "void"
|
|
121229
|
+
}
|
|
121161
121230
|
},
|
|
121162
|
-
"privacy": "public",
|
|
121163
|
-
"default": "''",
|
|
121164
|
-
"description": "The relationship of the linked URL as space-separated link types.",
|
|
121165
|
-
"attribute": "rel",
|
|
121166
|
-
"reflects": true,
|
|
121167
121231
|
"inheritedFrom": {
|
|
121168
|
-
"name": "
|
|
121169
|
-
"module": "core/
|
|
121232
|
+
"name": "SbbFormAssociatedMixin",
|
|
121233
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121170
121234
|
}
|
|
121171
121235
|
},
|
|
121172
121236
|
{
|
|
121173
121237
|
"kind": "field",
|
|
121174
|
-
"name": "
|
|
121238
|
+
"name": "role",
|
|
121175
121239
|
"type": {
|
|
121176
|
-
"text": "
|
|
121240
|
+
"text": "ElementInternals['role']"
|
|
121177
121241
|
},
|
|
121178
121242
|
"privacy": "public",
|
|
121179
|
-
"
|
|
121180
|
-
"description": "Whether the browser will show the download dialog on click.",
|
|
121181
|
-
"attribute": "download",
|
|
121182
|
-
"reflects": true,
|
|
121243
|
+
"static": true,
|
|
121183
121244
|
"inheritedFrom": {
|
|
121184
|
-
"name": "
|
|
121185
|
-
"module": "core/base-elements/
|
|
121186
|
-
}
|
|
121187
|
-
},
|
|
121188
|
-
{
|
|
121189
|
-
"kind": "field",
|
|
121190
|
-
"name": "accessibilityLabel",
|
|
121191
|
-
"type": {
|
|
121192
|
-
"text": "string"
|
|
121245
|
+
"name": "SbbElement",
|
|
121246
|
+
"module": "core/base-elements/element.js"
|
|
121193
121247
|
},
|
|
121194
|
-
"
|
|
121195
|
-
"default": "''"
|
|
121196
|
-
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
121197
|
-
"attribute": "accessibility-label",
|
|
121198
|
-
"inheritedFrom": {
|
|
121199
|
-
"name": "SbbLinkBaseElement",
|
|
121200
|
-
"module": "core/base-elements/link-base-element.js"
|
|
121201
|
-
}
|
|
121248
|
+
"readonly": true,
|
|
121249
|
+
"default": "'button'"
|
|
121202
121250
|
},
|
|
121203
121251
|
{
|
|
121204
121252
|
"kind": "field",
|
|
121205
|
-
"name": "
|
|
121206
|
-
"
|
|
121207
|
-
|
|
121208
|
-
|
|
121209
|
-
|
|
121210
|
-
|
|
121211
|
-
|
|
121212
|
-
|
|
121253
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
121254
|
+
"privacy": "private",
|
|
121255
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
121256
|
+
"parameters": [
|
|
121257
|
+
{
|
|
121258
|
+
"description": "The origin event.",
|
|
121259
|
+
"name": "event"
|
|
121260
|
+
}
|
|
121261
|
+
],
|
|
121213
121262
|
"inheritedFrom": {
|
|
121214
|
-
"name": "
|
|
121215
|
-
"module": "core/base-elements/
|
|
121263
|
+
"name": "SbbButtonLikeBaseElement",
|
|
121264
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121216
121265
|
}
|
|
121217
121266
|
},
|
|
121218
121267
|
{
|
|
121219
121268
|
"kind": "field",
|
|
121220
|
-
"name": "
|
|
121221
|
-
"privacy": "
|
|
121222
|
-
"default": "new SbbLanguageController(this)",
|
|
121269
|
+
"name": "_removeActiveMarker",
|
|
121270
|
+
"privacy": "private",
|
|
121223
121271
|
"inheritedFrom": {
|
|
121224
|
-
"name": "
|
|
121225
|
-
"module": "core/base-elements/
|
|
121272
|
+
"name": "SbbButtonLikeBaseElement",
|
|
121273
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121226
121274
|
}
|
|
121227
121275
|
},
|
|
121228
121276
|
{
|
|
121229
121277
|
"kind": "field",
|
|
121230
|
-
"name": "
|
|
121231
|
-
"
|
|
121232
|
-
|
|
121233
|
-
|
|
121234
|
-
|
|
121235
|
-
|
|
121236
|
-
|
|
121278
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
121279
|
+
"privacy": "private",
|
|
121280
|
+
"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.",
|
|
121281
|
+
"parameters": [
|
|
121282
|
+
{
|
|
121283
|
+
"description": "The origin event.",
|
|
121284
|
+
"name": "event"
|
|
121285
|
+
}
|
|
121286
|
+
],
|
|
121237
121287
|
"inheritedFrom": {
|
|
121238
|
-
"name": "
|
|
121239
|
-
"module": "core/base-elements/
|
|
121288
|
+
"name": "SbbButtonLikeBaseElement",
|
|
121289
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121240
121290
|
}
|
|
121241
121291
|
},
|
|
121242
121292
|
{
|
|
121243
121293
|
"kind": "field",
|
|
121244
|
-
"name": "
|
|
121294
|
+
"name": "_dispatchClickEvent",
|
|
121245
121295
|
"privacy": "private",
|
|
121246
121296
|
"inheritedFrom": {
|
|
121247
|
-
"name": "
|
|
121248
|
-
"module": "core/base-elements/
|
|
121249
|
-
}
|
|
121250
|
-
},
|
|
121251
|
-
{
|
|
121252
|
-
"kind": "method",
|
|
121253
|
-
"name": "renderLink",
|
|
121254
|
-
"privacy": "protected",
|
|
121255
|
-
"return": {
|
|
121256
|
-
"type": {
|
|
121257
|
-
"text": "TemplateResult"
|
|
121258
|
-
}
|
|
121259
|
-
},
|
|
121260
|
-
"parameters": [
|
|
121261
|
-
{
|
|
121262
|
-
"name": "renderContent",
|
|
121263
|
-
"type": {
|
|
121264
|
-
"text": "TemplateResult"
|
|
121265
|
-
}
|
|
121266
|
-
}
|
|
121267
|
-
],
|
|
121268
|
-
"inheritedFrom": {
|
|
121269
|
-
"name": "SbbLinkBaseElement",
|
|
121270
|
-
"module": "core/base-elements/link-base-element.js"
|
|
121297
|
+
"name": "SbbButtonLikeBaseElement",
|
|
121298
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121271
121299
|
}
|
|
121272
121300
|
},
|
|
121273
121301
|
{
|
|
@@ -121324,19 +121352,6 @@
|
|
|
121324
121352
|
"module": "core/base-elements/element.js"
|
|
121325
121353
|
}
|
|
121326
121354
|
},
|
|
121327
|
-
{
|
|
121328
|
-
"kind": "field",
|
|
121329
|
-
"name": "role",
|
|
121330
|
-
"type": {
|
|
121331
|
-
"text": "ElementInternals['role'] | undefined"
|
|
121332
|
-
},
|
|
121333
|
-
"privacy": "public",
|
|
121334
|
-
"static": true,
|
|
121335
|
-
"inheritedFrom": {
|
|
121336
|
-
"name": "SbbElement",
|
|
121337
|
-
"module": "core/base-elements/element.js"
|
|
121338
|
-
}
|
|
121339
|
-
},
|
|
121340
121355
|
{
|
|
121341
121356
|
"kind": "field",
|
|
121342
121357
|
"name": "_controllers",
|
|
@@ -121563,15 +121578,15 @@
|
|
|
121563
121578
|
"module": "link/common/block-link-common.js"
|
|
121564
121579
|
},
|
|
121565
121580
|
{
|
|
121566
|
-
"name": "
|
|
121581
|
+
"name": "SbbDisabledTabIndexActionMixin",
|
|
121567
121582
|
"module": "core.js"
|
|
121568
121583
|
}
|
|
121569
121584
|
],
|
|
121570
121585
|
"superclass": {
|
|
121571
|
-
"name": "
|
|
121586
|
+
"name": "SbbButtonBaseElement",
|
|
121572
121587
|
"module": "core.js"
|
|
121573
121588
|
},
|
|
121574
|
-
"tagName": "sbb-block-link",
|
|
121589
|
+
"tagName": "sbb-block-link-button",
|
|
121575
121590
|
"customElement": true,
|
|
121576
121591
|
"attributes": [
|
|
121577
121592
|
{
|
|
@@ -121614,94 +121629,79 @@
|
|
|
121614
121629
|
}
|
|
121615
121630
|
},
|
|
121616
121631
|
{
|
|
121617
|
-
"name": "disabled",
|
|
121618
|
-
"description": "Whether the component is disabled.",
|
|
121619
|
-
"default": "false",
|
|
121632
|
+
"name": "disabled-interactive",
|
|
121620
121633
|
"type": {
|
|
121621
121634
|
"text": "boolean"
|
|
121622
121635
|
},
|
|
121623
|
-
"
|
|
121636
|
+
"default": "false",
|
|
121637
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
121638
|
+
"fieldName": "disabledInteractive",
|
|
121624
121639
|
"inheritedFrom": {
|
|
121625
|
-
"name": "
|
|
121640
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
121626
121641
|
"module": "core/mixins/disabled-mixin.js"
|
|
121627
121642
|
}
|
|
121628
121643
|
},
|
|
121629
121644
|
{
|
|
121630
|
-
"name": "
|
|
121631
|
-
"
|
|
121632
|
-
|
|
121633
|
-
},
|
|
121634
|
-
"default": "''",
|
|
121635
|
-
"description": "The href value you want to link to.",
|
|
121636
|
-
"fieldName": "href",
|
|
121637
|
-
"inheritedFrom": {
|
|
121638
|
-
"name": "SbbLinkBaseElement",
|
|
121639
|
-
"module": "core/base-elements/link-base-element.js"
|
|
121640
|
-
}
|
|
121641
|
-
},
|
|
121642
|
-
{
|
|
121643
|
-
"name": "target",
|
|
121645
|
+
"name": "disabled",
|
|
121646
|
+
"description": "Whether the component is disabled.",
|
|
121647
|
+
"default": "false",
|
|
121644
121648
|
"type": {
|
|
121645
|
-
"text": "
|
|
121649
|
+
"text": "boolean"
|
|
121646
121650
|
},
|
|
121647
|
-
"
|
|
121648
|
-
"description": "Where to display the linked URL.",
|
|
121649
|
-
"fieldName": "target",
|
|
121651
|
+
"fieldName": "disabled",
|
|
121650
121652
|
"inheritedFrom": {
|
|
121651
|
-
"name": "
|
|
121652
|
-
"module": "core/
|
|
121653
|
+
"name": "SbbDisabledMixin",
|
|
121654
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
121653
121655
|
}
|
|
121654
121656
|
},
|
|
121655
121657
|
{
|
|
121656
|
-
"name": "
|
|
121658
|
+
"name": "value",
|
|
121657
121659
|
"type": {
|
|
121658
121660
|
"text": "string"
|
|
121659
121661
|
},
|
|
121660
121662
|
"default": "''",
|
|
121661
|
-
"description": "
|
|
121662
|
-
"fieldName": "
|
|
121663
|
+
"description": "Value of the form element.",
|
|
121664
|
+
"fieldName": "value",
|
|
121663
121665
|
"inheritedFrom": {
|
|
121664
|
-
"name": "
|
|
121665
|
-
"module": "core/base-elements/
|
|
121666
|
+
"name": "SbbButtonBaseElement",
|
|
121667
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121666
121668
|
}
|
|
121667
121669
|
},
|
|
121668
121670
|
{
|
|
121669
|
-
"name": "
|
|
121671
|
+
"name": "type",
|
|
121672
|
+
"description": "The type attribute to use for the button.",
|
|
121673
|
+
"default": "'button'",
|
|
121670
121674
|
"type": {
|
|
121671
|
-
"text": "
|
|
121675
|
+
"text": "SbbButtonType"
|
|
121672
121676
|
},
|
|
121673
|
-
"
|
|
121674
|
-
"description": "Whether the browser will show the download dialog on click.",
|
|
121675
|
-
"fieldName": "download",
|
|
121677
|
+
"fieldName": "type",
|
|
121676
121678
|
"inheritedFrom": {
|
|
121677
|
-
"name": "
|
|
121678
|
-
"module": "core/base-elements/
|
|
121679
|
+
"name": "SbbButtonBaseElement",
|
|
121680
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121679
121681
|
}
|
|
121680
121682
|
},
|
|
121681
121683
|
{
|
|
121682
|
-
"name": "
|
|
121684
|
+
"name": "form",
|
|
121685
|
+
"description": "The `<form>` element to associate the button with.",
|
|
121683
121686
|
"type": {
|
|
121684
|
-
"text": "
|
|
121687
|
+
"text": "HTMLFormElement | null"
|
|
121685
121688
|
},
|
|
121686
|
-
"
|
|
121687
|
-
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
121688
|
-
"fieldName": "accessibilityLabel",
|
|
121689
|
+
"fieldName": "form",
|
|
121689
121690
|
"inheritedFrom": {
|
|
121690
|
-
"name": "
|
|
121691
|
-
"module": "core/base-elements/
|
|
121691
|
+
"name": "SbbButtonBaseElement",
|
|
121692
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121692
121693
|
}
|
|
121693
121694
|
},
|
|
121694
121695
|
{
|
|
121695
|
-
"name": "
|
|
121696
|
+
"name": "name",
|
|
121697
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
121696
121698
|
"type": {
|
|
121697
121699
|
"text": "string"
|
|
121698
121700
|
},
|
|
121699
|
-
"
|
|
121700
|
-
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
121701
|
-
"fieldName": "accessibilityCurrent",
|
|
121701
|
+
"fieldName": "name",
|
|
121702
121702
|
"inheritedFrom": {
|
|
121703
|
-
"name": "
|
|
121704
|
-
"module": "core/
|
|
121703
|
+
"name": "SbbFormAssociatedMixin",
|
|
121704
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121705
121705
|
}
|
|
121706
121706
|
}
|
|
121707
121707
|
]
|
|
@@ -121710,10 +121710,10 @@
|
|
|
121710
121710
|
"exports": [
|
|
121711
121711
|
{
|
|
121712
121712
|
"kind": "js",
|
|
121713
|
-
"name": "
|
|
121713
|
+
"name": "SbbBlockLinkButtonElement",
|
|
121714
121714
|
"declaration": {
|
|
121715
|
-
"name": "
|
|
121716
|
-
"module": "link/block-link/block-link.component.js"
|
|
121715
|
+
"name": "SbbBlockLinkButtonElement",
|
|
121716
|
+
"module": "link/block-link-button/block-link-button.component.js"
|
|
121717
121717
|
}
|
|
121718
121718
|
}
|
|
121719
121719
|
]
|