@sbb-esta/lyne-elements-dev 4.13.0-dev.1779742151 → 4.13.0-dev.1779773598
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +1377 -1377
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -99463,15 +99463,15 @@
|
|
|
99463
99463
|
},
|
|
99464
99464
|
{
|
|
99465
99465
|
"kind": "javascript-module",
|
|
99466
|
-
"path": "icon-sidebar/icon-sidebar-
|
|
99466
|
+
"path": "icon-sidebar/icon-sidebar-content/icon-sidebar-content.component.js",
|
|
99467
99467
|
"declarations": [
|
|
99468
99468
|
{
|
|
99469
99469
|
"kind": "class",
|
|
99470
|
-
"description": "
|
|
99471
|
-
"name": "
|
|
99470
|
+
"description": "Container for the icon sidebar content. Intended to be placed inside an `sbb-icon-sidebar-container` element.",
|
|
99471
|
+
"name": "SbbIconSidebarContentElement",
|
|
99472
99472
|
"slots": [
|
|
99473
99473
|
{
|
|
99474
|
-
"description": "Use the unnamed slot to add
|
|
99474
|
+
"description": "Use the unnamed slot to add any content elements.",
|
|
99475
99475
|
"name": ""
|
|
99476
99476
|
}
|
|
99477
99477
|
],
|
|
@@ -99485,42 +99485,12 @@
|
|
|
99485
99485
|
"privacy": "public",
|
|
99486
99486
|
"static": true,
|
|
99487
99487
|
"readonly": true,
|
|
99488
|
-
"default": "'sbb-icon-sidebar-
|
|
99488
|
+
"default": "'sbb-icon-sidebar-content'",
|
|
99489
99489
|
"inheritedFrom": {
|
|
99490
99490
|
"name": "SbbElement",
|
|
99491
99491
|
"module": "core/base-elements/element.js"
|
|
99492
99492
|
}
|
|
99493
99493
|
},
|
|
99494
|
-
{
|
|
99495
|
-
"kind": "field",
|
|
99496
|
-
"name": "sidebars",
|
|
99497
|
-
"type": {
|
|
99498
|
-
"text": "SbbIconSidebarElement[]"
|
|
99499
|
-
},
|
|
99500
|
-
"privacy": "public",
|
|
99501
|
-
"description": "The icon-sidebar children.",
|
|
99502
|
-
"readonly": true
|
|
99503
|
-
},
|
|
99504
|
-
{
|
|
99505
|
-
"kind": "field",
|
|
99506
|
-
"name": "start",
|
|
99507
|
-
"type": {
|
|
99508
|
-
"text": "SbbIconSidebarElement | null"
|
|
99509
|
-
},
|
|
99510
|
-
"privacy": "public",
|
|
99511
|
-
"description": "The icon-sidebar child at the start position.",
|
|
99512
|
-
"readonly": true
|
|
99513
|
-
},
|
|
99514
|
-
{
|
|
99515
|
-
"kind": "field",
|
|
99516
|
-
"name": "end",
|
|
99517
|
-
"type": {
|
|
99518
|
-
"text": "SbbIconSidebarElement | null"
|
|
99519
|
-
},
|
|
99520
|
-
"privacy": "public",
|
|
99521
|
-
"description": "The icon-sidebar child at the end position.",
|
|
99522
|
-
"readonly": true
|
|
99523
|
-
},
|
|
99524
99494
|
{
|
|
99525
99495
|
"kind": "field",
|
|
99526
99496
|
"name": "_hydrationRequired",
|
|
@@ -99631,32 +99601,32 @@
|
|
|
99631
99601
|
"name": "SbbElement",
|
|
99632
99602
|
"module": "core/base-elements.js"
|
|
99633
99603
|
},
|
|
99634
|
-
"tagName": "sbb-icon-sidebar-
|
|
99604
|
+
"tagName": "sbb-icon-sidebar-content",
|
|
99635
99605
|
"customElement": true
|
|
99636
99606
|
}
|
|
99637
99607
|
],
|
|
99638
99608
|
"exports": [
|
|
99639
99609
|
{
|
|
99640
99610
|
"kind": "js",
|
|
99641
|
-
"name": "
|
|
99611
|
+
"name": "SbbIconSidebarContentElement",
|
|
99642
99612
|
"declaration": {
|
|
99643
|
-
"name": "
|
|
99644
|
-
"module": "icon-sidebar/icon-sidebar-
|
|
99613
|
+
"name": "SbbIconSidebarContentElement",
|
|
99614
|
+
"module": "icon-sidebar/icon-sidebar-content/icon-sidebar-content.component.js"
|
|
99645
99615
|
}
|
|
99646
99616
|
}
|
|
99647
99617
|
]
|
|
99648
99618
|
},
|
|
99649
99619
|
{
|
|
99650
99620
|
"kind": "javascript-module",
|
|
99651
|
-
"path": "icon-sidebar/icon-sidebar-
|
|
99621
|
+
"path": "icon-sidebar/icon-sidebar-container/icon-sidebar-container.component.js",
|
|
99652
99622
|
"declarations": [
|
|
99653
99623
|
{
|
|
99654
99624
|
"kind": "class",
|
|
99655
|
-
"description": "
|
|
99656
|
-
"name": "
|
|
99625
|
+
"description": "This is the parent component to one or two `<sbb-icon-sidebar>`s and one `<sbb-icon-sidebar-content>` element.",
|
|
99626
|
+
"name": "SbbIconSidebarContainerElement",
|
|
99657
99627
|
"slots": [
|
|
99658
99628
|
{
|
|
99659
|
-
"description": "Use the unnamed slot to add
|
|
99629
|
+
"description": "Use the unnamed slot to add `sbb-sidebar` and `sbb-sidebar-content` elements.",
|
|
99660
99630
|
"name": ""
|
|
99661
99631
|
}
|
|
99662
99632
|
],
|
|
@@ -99670,12 +99640,42 @@
|
|
|
99670
99640
|
"privacy": "public",
|
|
99671
99641
|
"static": true,
|
|
99672
99642
|
"readonly": true,
|
|
99673
|
-
"default": "'sbb-icon-sidebar-
|
|
99643
|
+
"default": "'sbb-icon-sidebar-container'",
|
|
99674
99644
|
"inheritedFrom": {
|
|
99675
99645
|
"name": "SbbElement",
|
|
99676
99646
|
"module": "core/base-elements/element.js"
|
|
99677
99647
|
}
|
|
99678
99648
|
},
|
|
99649
|
+
{
|
|
99650
|
+
"kind": "field",
|
|
99651
|
+
"name": "sidebars",
|
|
99652
|
+
"type": {
|
|
99653
|
+
"text": "SbbIconSidebarElement[]"
|
|
99654
|
+
},
|
|
99655
|
+
"privacy": "public",
|
|
99656
|
+
"description": "The icon-sidebar children.",
|
|
99657
|
+
"readonly": true
|
|
99658
|
+
},
|
|
99659
|
+
{
|
|
99660
|
+
"kind": "field",
|
|
99661
|
+
"name": "start",
|
|
99662
|
+
"type": {
|
|
99663
|
+
"text": "SbbIconSidebarElement | null"
|
|
99664
|
+
},
|
|
99665
|
+
"privacy": "public",
|
|
99666
|
+
"description": "The icon-sidebar child at the start position.",
|
|
99667
|
+
"readonly": true
|
|
99668
|
+
},
|
|
99669
|
+
{
|
|
99670
|
+
"kind": "field",
|
|
99671
|
+
"name": "end",
|
|
99672
|
+
"type": {
|
|
99673
|
+
"text": "SbbIconSidebarElement | null"
|
|
99674
|
+
},
|
|
99675
|
+
"privacy": "public",
|
|
99676
|
+
"description": "The icon-sidebar child at the end position.",
|
|
99677
|
+
"readonly": true
|
|
99678
|
+
},
|
|
99679
99679
|
{
|
|
99680
99680
|
"kind": "field",
|
|
99681
99681
|
"name": "_hydrationRequired",
|
|
@@ -99786,17 +99786,17 @@
|
|
|
99786
99786
|
"name": "SbbElement",
|
|
99787
99787
|
"module": "core/base-elements.js"
|
|
99788
99788
|
},
|
|
99789
|
-
"tagName": "sbb-icon-sidebar-
|
|
99789
|
+
"tagName": "sbb-icon-sidebar-container",
|
|
99790
99790
|
"customElement": true
|
|
99791
99791
|
}
|
|
99792
99792
|
],
|
|
99793
99793
|
"exports": [
|
|
99794
99794
|
{
|
|
99795
99795
|
"kind": "js",
|
|
99796
|
-
"name": "
|
|
99796
|
+
"name": "SbbIconSidebarContainerElement",
|
|
99797
99797
|
"declaration": {
|
|
99798
|
-
"name": "
|
|
99799
|
-
"module": "icon-sidebar/icon-sidebar-
|
|
99798
|
+
"name": "SbbIconSidebarContainerElement",
|
|
99799
|
+
"module": "icon-sidebar/icon-sidebar-container/icon-sidebar-container.component.js"
|
|
99800
99800
|
}
|
|
99801
99801
|
}
|
|
99802
99802
|
]
|
|
@@ -100327,15 +100327,15 @@
|
|
|
100327
100327
|
},
|
|
100328
100328
|
{
|
|
100329
100329
|
"kind": "javascript-module",
|
|
100330
|
-
"path": "link/block-link/block-link.component.js",
|
|
100330
|
+
"path": "link/block-link-button/block-link-button.component.js",
|
|
100331
100331
|
"declarations": [
|
|
100332
100332
|
{
|
|
100333
100333
|
"kind": "class",
|
|
100334
|
-
"description": "It displays a link enhanced with the SBB Design.",
|
|
100335
|
-
"name": "
|
|
100334
|
+
"description": "It displays a link enhanced with the SBB Design, which will behave as a button.",
|
|
100335
|
+
"name": "SbbBlockLinkButtonElement",
|
|
100336
100336
|
"slots": [
|
|
100337
100337
|
{
|
|
100338
|
-
"description": "Use the unnamed slot to add content to the `sbb-block-link`.",
|
|
100338
|
+
"description": "Use the unnamed slot to add content to the `sbb-block-link-button`.",
|
|
100339
100339
|
"name": ""
|
|
100340
100340
|
},
|
|
100341
100341
|
{
|
|
@@ -100357,7 +100357,7 @@
|
|
|
100357
100357
|
"name": "SbbElement",
|
|
100358
100358
|
"module": "core/base-elements/element.js"
|
|
100359
100359
|
},
|
|
100360
|
-
"default": "'sbb-block-link'"
|
|
100360
|
+
"default": "'sbb-block-link-button'"
|
|
100361
100361
|
},
|
|
100362
100362
|
{
|
|
100363
100363
|
"kind": "field",
|
|
@@ -100486,6 +100486,22 @@
|
|
|
100486
100486
|
"module": "icon/icon-name-mixin.js"
|
|
100487
100487
|
}
|
|
100488
100488
|
},
|
|
100489
|
+
{
|
|
100490
|
+
"kind": "field",
|
|
100491
|
+
"name": "disabledInteractive",
|
|
100492
|
+
"type": {
|
|
100493
|
+
"text": "boolean"
|
|
100494
|
+
},
|
|
100495
|
+
"privacy": "public",
|
|
100496
|
+
"default": "false",
|
|
100497
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
100498
|
+
"attribute": "disabled-interactive",
|
|
100499
|
+
"reflects": true,
|
|
100500
|
+
"inheritedFrom": {
|
|
100501
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
100502
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
100503
|
+
}
|
|
100504
|
+
},
|
|
100489
100505
|
{
|
|
100490
100506
|
"kind": "field",
|
|
100491
100507
|
"name": "disabled",
|
|
@@ -100532,246 +100548,308 @@
|
|
|
100532
100548
|
},
|
|
100533
100549
|
{
|
|
100534
100550
|
"kind": "field",
|
|
100535
|
-
"name": "
|
|
100551
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
100552
|
+
"type": {
|
|
100553
|
+
"text": "array"
|
|
100554
|
+
},
|
|
100555
|
+
"privacy": "private",
|
|
100556
|
+
"readonly": true,
|
|
100557
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
100558
|
+
"inheritedFrom": {
|
|
100559
|
+
"name": "SbbButtonBaseElement",
|
|
100560
|
+
"module": "core/base-elements/button-base-element.js"
|
|
100561
|
+
}
|
|
100562
|
+
},
|
|
100563
|
+
{
|
|
100564
|
+
"kind": "field",
|
|
100565
|
+
"name": "value",
|
|
100536
100566
|
"type": {
|
|
100537
100567
|
"text": "string"
|
|
100538
100568
|
},
|
|
100539
100569
|
"privacy": "public",
|
|
100570
|
+
"inheritedFrom": {
|
|
100571
|
+
"name": "SbbButtonBaseElement",
|
|
100572
|
+
"module": "core/base-elements/button-base-element.js"
|
|
100573
|
+
},
|
|
100540
100574
|
"default": "''",
|
|
100541
|
-
"description": "
|
|
100542
|
-
"attribute": "
|
|
100543
|
-
|
|
100575
|
+
"description": "Value of the form element.",
|
|
100576
|
+
"attribute": "value"
|
|
100577
|
+
},
|
|
100578
|
+
{
|
|
100579
|
+
"kind": "field",
|
|
100580
|
+
"name": "type",
|
|
100581
|
+
"privacy": "public",
|
|
100582
|
+
"description": "The type attribute to use for the button.",
|
|
100583
|
+
"default": "'button'",
|
|
100584
|
+
"type": {
|
|
100585
|
+
"text": "SbbButtonType"
|
|
100586
|
+
},
|
|
100587
|
+
"attribute": "type",
|
|
100544
100588
|
"inheritedFrom": {
|
|
100545
|
-
"name": "
|
|
100546
|
-
"module": "core/base-elements/
|
|
100589
|
+
"name": "SbbButtonBaseElement",
|
|
100590
|
+
"module": "core/base-elements/button-base-element.js"
|
|
100547
100591
|
}
|
|
100548
100592
|
},
|
|
100549
100593
|
{
|
|
100550
100594
|
"kind": "field",
|
|
100551
|
-
"name": "
|
|
100595
|
+
"name": "form",
|
|
100552
100596
|
"type": {
|
|
100553
|
-
"text": "
|
|
100597
|
+
"text": "HTMLFormElement | null"
|
|
100554
100598
|
},
|
|
100555
100599
|
"privacy": "public",
|
|
100556
|
-
"
|
|
100557
|
-
"description": "Where to display the linked URL.",
|
|
100558
|
-
"attribute": "target",
|
|
100559
|
-
"reflects": true,
|
|
100600
|
+
"description": "The `<form>` element to associate the button with.",
|
|
100560
100601
|
"inheritedFrom": {
|
|
100561
|
-
"name": "
|
|
100562
|
-
"module": "core/base-elements/
|
|
100563
|
-
}
|
|
100602
|
+
"name": "SbbButtonBaseElement",
|
|
100603
|
+
"module": "core/base-elements/button-base-element.js"
|
|
100604
|
+
},
|
|
100605
|
+
"attribute": "form"
|
|
100564
100606
|
},
|
|
100565
100607
|
{
|
|
100566
100608
|
"kind": "field",
|
|
100567
|
-
"name": "
|
|
100609
|
+
"name": "_formId",
|
|
100568
100610
|
"type": {
|
|
100569
100611
|
"text": "string"
|
|
100570
100612
|
},
|
|
100571
|
-
"privacy": "
|
|
100613
|
+
"privacy": "private",
|
|
100572
100614
|
"default": "''",
|
|
100573
|
-
"description": "The relationship of the linked URL as space-separated link types.",
|
|
100574
|
-
"attribute": "rel",
|
|
100575
|
-
"reflects": true,
|
|
100576
100615
|
"inheritedFrom": {
|
|
100577
|
-
"name": "
|
|
100578
|
-
"module": "core/base-elements/
|
|
100616
|
+
"name": "SbbButtonBaseElement",
|
|
100617
|
+
"module": "core/base-elements/button-base-element.js"
|
|
100579
100618
|
}
|
|
100580
100619
|
},
|
|
100581
100620
|
{
|
|
100582
100621
|
"kind": "field",
|
|
100583
|
-
"name": "
|
|
100584
|
-
"
|
|
100585
|
-
|
|
100622
|
+
"name": "_handleButtonClick",
|
|
100623
|
+
"privacy": "private",
|
|
100624
|
+
"inheritedFrom": {
|
|
100625
|
+
"name": "SbbButtonBaseElement",
|
|
100626
|
+
"module": "core/base-elements/button-base-element.js"
|
|
100627
|
+
}
|
|
100628
|
+
},
|
|
100629
|
+
{
|
|
100630
|
+
"kind": "method",
|
|
100631
|
+
"name": "_requestSubmit",
|
|
100632
|
+
"privacy": "private",
|
|
100633
|
+
"return": {
|
|
100634
|
+
"type": {
|
|
100635
|
+
"text": "void"
|
|
100636
|
+
}
|
|
100586
100637
|
},
|
|
100587
|
-
"
|
|
100588
|
-
|
|
100589
|
-
|
|
100590
|
-
|
|
100591
|
-
|
|
100638
|
+
"parameters": [
|
|
100639
|
+
{
|
|
100640
|
+
"name": "form",
|
|
100641
|
+
"type": {
|
|
100642
|
+
"text": "HTMLFormElement"
|
|
100643
|
+
}
|
|
100644
|
+
}
|
|
100645
|
+
],
|
|
100592
100646
|
"inheritedFrom": {
|
|
100593
|
-
"name": "
|
|
100594
|
-
"module": "core/base-elements/
|
|
100647
|
+
"name": "SbbButtonBaseElement",
|
|
100648
|
+
"module": "core/base-elements/button-base-element.js"
|
|
100595
100649
|
}
|
|
100596
100650
|
},
|
|
100597
100651
|
{
|
|
100598
100652
|
"kind": "field",
|
|
100599
|
-
"name": "
|
|
100653
|
+
"name": "_formKeyDown",
|
|
100654
|
+
"privacy": "private",
|
|
100655
|
+
"inheritedFrom": {
|
|
100656
|
+
"name": "SbbButtonBaseElement",
|
|
100657
|
+
"module": "core/base-elements/button-base-element.js"
|
|
100658
|
+
}
|
|
100659
|
+
},
|
|
100660
|
+
{
|
|
100661
|
+
"kind": "field",
|
|
100662
|
+
"name": "formAssociated",
|
|
100600
100663
|
"type": {
|
|
100601
|
-
"text": "
|
|
100664
|
+
"text": "boolean"
|
|
100602
100665
|
},
|
|
100603
100666
|
"privacy": "public",
|
|
100604
|
-
"
|
|
100605
|
-
"
|
|
100606
|
-
"attribute": "accessibility-label",
|
|
100667
|
+
"static": true,
|
|
100668
|
+
"default": "true",
|
|
100607
100669
|
"inheritedFrom": {
|
|
100608
|
-
"name": "
|
|
100609
|
-
"module": "core/
|
|
100670
|
+
"name": "SbbFormAssociatedMixin",
|
|
100671
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
100610
100672
|
}
|
|
100611
100673
|
},
|
|
100612
100674
|
{
|
|
100613
100675
|
"kind": "field",
|
|
100614
|
-
"name": "
|
|
100676
|
+
"name": "name",
|
|
100677
|
+
"privacy": "public",
|
|
100678
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
100615
100679
|
"type": {
|
|
100616
100680
|
"text": "string"
|
|
100617
100681
|
},
|
|
100618
|
-
"
|
|
100619
|
-
"default": "''",
|
|
100620
|
-
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
100621
|
-
"attribute": "accessibility-current",
|
|
100682
|
+
"attribute": "name",
|
|
100622
100683
|
"inheritedFrom": {
|
|
100623
|
-
"name": "
|
|
100624
|
-
"module": "core/
|
|
100684
|
+
"name": "SbbFormAssociatedMixin",
|
|
100685
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
100625
100686
|
}
|
|
100626
100687
|
},
|
|
100627
100688
|
{
|
|
100628
100689
|
"kind": "field",
|
|
100629
|
-
"name": "
|
|
100630
|
-
"
|
|
100631
|
-
|
|
100690
|
+
"name": "validity",
|
|
100691
|
+
"type": {
|
|
100692
|
+
"text": "ValidityState"
|
|
100693
|
+
},
|
|
100694
|
+
"privacy": "public",
|
|
100695
|
+
"description": "Returns the ValidityState object for this element.",
|
|
100696
|
+
"readonly": true,
|
|
100632
100697
|
"inheritedFrom": {
|
|
100633
|
-
"name": "
|
|
100634
|
-
"module": "core/
|
|
100698
|
+
"name": "SbbFormAssociatedMixin",
|
|
100699
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
100635
100700
|
}
|
|
100636
100701
|
},
|
|
100637
100702
|
{
|
|
100638
100703
|
"kind": "field",
|
|
100639
|
-
"name": "
|
|
100704
|
+
"name": "validationMessage",
|
|
100640
100705
|
"type": {
|
|
100641
|
-
"text": "string
|
|
100706
|
+
"text": "string"
|
|
100642
100707
|
},
|
|
100643
|
-
"privacy": "
|
|
100708
|
+
"privacy": "public",
|
|
100709
|
+
"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.",
|
|
100644
100710
|
"readonly": true,
|
|
100645
|
-
"default": "null",
|
|
100646
100711
|
"inheritedFrom": {
|
|
100647
|
-
"name": "
|
|
100648
|
-
"module": "core/
|
|
100712
|
+
"name": "SbbFormAssociatedMixin",
|
|
100713
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
100649
100714
|
}
|
|
100650
100715
|
},
|
|
100651
100716
|
{
|
|
100652
100717
|
"kind": "field",
|
|
100653
|
-
"name": "
|
|
100654
|
-
"
|
|
100718
|
+
"name": "willValidate",
|
|
100719
|
+
"type": {
|
|
100720
|
+
"text": "boolean"
|
|
100721
|
+
},
|
|
100722
|
+
"privacy": "public",
|
|
100723
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
100724
|
+
"readonly": true,
|
|
100655
100725
|
"inheritedFrom": {
|
|
100656
|
-
"name": "
|
|
100657
|
-
"module": "core/
|
|
100726
|
+
"name": "SbbFormAssociatedMixin",
|
|
100727
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
100658
100728
|
}
|
|
100659
100729
|
},
|
|
100660
100730
|
{
|
|
100661
|
-
"kind": "
|
|
100662
|
-
"name": "
|
|
100663
|
-
"privacy": "
|
|
100664
|
-
"
|
|
100665
|
-
"type": {
|
|
100666
|
-
"text": "TemplateResult"
|
|
100667
|
-
}
|
|
100668
|
-
},
|
|
100669
|
-
"parameters": [
|
|
100670
|
-
{
|
|
100671
|
-
"name": "renderContent",
|
|
100672
|
-
"type": {
|
|
100673
|
-
"text": "TemplateResult"
|
|
100674
|
-
}
|
|
100675
|
-
}
|
|
100676
|
-
],
|
|
100731
|
+
"kind": "field",
|
|
100732
|
+
"name": "_validityStates",
|
|
100733
|
+
"privacy": "private",
|
|
100734
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
100677
100735
|
"inheritedFrom": {
|
|
100678
|
-
"name": "
|
|
100679
|
-
"module": "core/
|
|
100736
|
+
"name": "SbbFormAssociatedMixin",
|
|
100737
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
100680
100738
|
}
|
|
100681
100739
|
},
|
|
100682
100740
|
{
|
|
100683
100741
|
"kind": "field",
|
|
100684
|
-
"name": "
|
|
100742
|
+
"name": "formDisabled",
|
|
100685
100743
|
"type": {
|
|
100686
|
-
"text": "boolean
|
|
100744
|
+
"text": "boolean"
|
|
100687
100745
|
},
|
|
100688
100746
|
"privacy": "protected",
|
|
100689
|
-
"
|
|
100747
|
+
"default": "false",
|
|
100748
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
100690
100749
|
"inheritedFrom": {
|
|
100691
|
-
"name": "
|
|
100692
|
-
"module": "core/
|
|
100750
|
+
"name": "SbbFormAssociatedMixin",
|
|
100751
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
100693
100752
|
}
|
|
100694
100753
|
},
|
|
100695
100754
|
{
|
|
100696
|
-
"kind": "
|
|
100697
|
-
"name": "
|
|
100698
|
-
"
|
|
100699
|
-
|
|
100755
|
+
"kind": "method",
|
|
100756
|
+
"name": "checkValidity",
|
|
100757
|
+
"privacy": "public",
|
|
100758
|
+
"return": {
|
|
100759
|
+
"type": {
|
|
100760
|
+
"text": "boolean"
|
|
100761
|
+
}
|
|
100700
100762
|
},
|
|
100701
|
-
"
|
|
100702
|
-
"readonly": true,
|
|
100763
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
100703
100764
|
"inheritedFrom": {
|
|
100704
|
-
"name": "
|
|
100705
|
-
"module": "core/
|
|
100765
|
+
"name": "SbbFormAssociatedMixin",
|
|
100766
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
100706
100767
|
}
|
|
100707
100768
|
},
|
|
100708
100769
|
{
|
|
100709
100770
|
"kind": "method",
|
|
100710
|
-
"name": "
|
|
100711
|
-
"privacy": "
|
|
100771
|
+
"name": "reportValidity",
|
|
100772
|
+
"privacy": "public",
|
|
100712
100773
|
"return": {
|
|
100713
100774
|
"type": {
|
|
100714
|
-
"text": "
|
|
100775
|
+
"text": "boolean"
|
|
100715
100776
|
}
|
|
100716
100777
|
},
|
|
100778
|
+
"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.",
|
|
100717
100779
|
"inheritedFrom": {
|
|
100718
|
-
"name": "
|
|
100719
|
-
"module": "core/
|
|
100780
|
+
"name": "SbbFormAssociatedMixin",
|
|
100781
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
100720
100782
|
}
|
|
100721
100783
|
},
|
|
100722
100784
|
{
|
|
100723
|
-
"kind": "
|
|
100724
|
-
"name": "
|
|
100725
|
-
"
|
|
100726
|
-
|
|
100785
|
+
"kind": "method",
|
|
100786
|
+
"name": "setCustomValidity",
|
|
100787
|
+
"privacy": "public",
|
|
100788
|
+
"return": {
|
|
100789
|
+
"type": {
|
|
100790
|
+
"text": "void"
|
|
100791
|
+
}
|
|
100727
100792
|
},
|
|
100728
|
-
"
|
|
100729
|
-
|
|
100793
|
+
"parameters": [
|
|
100794
|
+
{
|
|
100795
|
+
"name": "message",
|
|
100796
|
+
"type": {
|
|
100797
|
+
"text": "string"
|
|
100798
|
+
}
|
|
100799
|
+
}
|
|
100800
|
+
],
|
|
100801
|
+
"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.",
|
|
100730
100802
|
"inheritedFrom": {
|
|
100731
|
-
"name": "
|
|
100732
|
-
"module": "core/
|
|
100803
|
+
"name": "SbbFormAssociatedMixin",
|
|
100804
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
100733
100805
|
}
|
|
100734
100806
|
},
|
|
100735
100807
|
{
|
|
100736
|
-
"kind": "
|
|
100737
|
-
"name": "
|
|
100808
|
+
"kind": "method",
|
|
100809
|
+
"name": "_hasDisabledAncestor",
|
|
100738
100810
|
"privacy": "private",
|
|
100739
|
-
"
|
|
100811
|
+
"return": {
|
|
100812
|
+
"type": {
|
|
100813
|
+
"text": "boolean"
|
|
100814
|
+
}
|
|
100815
|
+
},
|
|
100740
100816
|
"inheritedFrom": {
|
|
100741
|
-
"name": "
|
|
100742
|
-
"module": "core/
|
|
100817
|
+
"name": "SbbFormAssociatedMixin",
|
|
100818
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
100743
100819
|
}
|
|
100744
100820
|
},
|
|
100745
100821
|
{
|
|
100746
|
-
"kind": "
|
|
100747
|
-
"name": "
|
|
100748
|
-
"
|
|
100749
|
-
|
|
100822
|
+
"kind": "method",
|
|
100823
|
+
"name": "updateFormValue",
|
|
100824
|
+
"privacy": "protected",
|
|
100825
|
+
"return": {
|
|
100826
|
+
"type": {
|
|
100827
|
+
"text": "void"
|
|
100828
|
+
}
|
|
100750
100829
|
},
|
|
100751
|
-
"
|
|
100830
|
+
"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",
|
|
100752
100831
|
"inheritedFrom": {
|
|
100753
|
-
"name": "
|
|
100754
|
-
"module": "core/
|
|
100832
|
+
"name": "SbbFormAssociatedMixin",
|
|
100833
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
100755
100834
|
}
|
|
100756
100835
|
},
|
|
100757
100836
|
{
|
|
100758
|
-
"kind": "
|
|
100759
|
-
"name": "
|
|
100760
|
-
"type": {
|
|
100761
|
-
"text": "boolean"
|
|
100762
|
-
},
|
|
100837
|
+
"kind": "method",
|
|
100838
|
+
"name": "formState",
|
|
100763
100839
|
"privacy": "protected",
|
|
100764
|
-
"
|
|
100765
|
-
|
|
100766
|
-
|
|
100767
|
-
|
|
100768
|
-
"module": "core/base-elements/element.js"
|
|
100840
|
+
"return": {
|
|
100841
|
+
"type": {
|
|
100842
|
+
"text": "FormRestoreState"
|
|
100843
|
+
}
|
|
100769
100844
|
},
|
|
100770
|
-
"
|
|
100845
|
+
"inheritedFrom": {
|
|
100846
|
+
"name": "SbbFormAssociatedMixin",
|
|
100847
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
100848
|
+
}
|
|
100771
100849
|
},
|
|
100772
100850
|
{
|
|
100773
100851
|
"kind": "method",
|
|
100774
|
-
"name": "
|
|
100852
|
+
"name": "setValidityFlag",
|
|
100775
100853
|
"privacy": "protected",
|
|
100776
100854
|
"return": {
|
|
100777
100855
|
"type": {
|
|
@@ -100780,415 +100858,169 @@
|
|
|
100780
100858
|
},
|
|
100781
100859
|
"parameters": [
|
|
100782
100860
|
{
|
|
100783
|
-
"name": "
|
|
100861
|
+
"name": "flag",
|
|
100862
|
+
"type": {
|
|
100863
|
+
"text": "T"
|
|
100864
|
+
}
|
|
100865
|
+
},
|
|
100866
|
+
{
|
|
100867
|
+
"name": "message",
|
|
100784
100868
|
"type": {
|
|
100785
100869
|
"text": "string"
|
|
100786
100870
|
}
|
|
100787
100871
|
},
|
|
100788
100872
|
{
|
|
100789
|
-
"name": "
|
|
100873
|
+
"name": "flagValue",
|
|
100790
100874
|
"optional": true,
|
|
100791
100875
|
"type": {
|
|
100792
|
-
"text": "
|
|
100876
|
+
"text": "ValidityStateFlags[T]"
|
|
100793
100877
|
}
|
|
100794
100878
|
}
|
|
100795
100879
|
],
|
|
100880
|
+
"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).",
|
|
100796
100881
|
"inheritedFrom": {
|
|
100797
|
-
"name": "
|
|
100798
|
-
"module": "core/
|
|
100882
|
+
"name": "SbbFormAssociatedMixin",
|
|
100883
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
100799
100884
|
}
|
|
100800
100885
|
},
|
|
100801
100886
|
{
|
|
100802
|
-
"kind": "
|
|
100803
|
-
"name": "
|
|
100804
|
-
"
|
|
100805
|
-
|
|
100887
|
+
"kind": "method",
|
|
100888
|
+
"name": "removeValidityFlag",
|
|
100889
|
+
"privacy": "protected",
|
|
100890
|
+
"return": {
|
|
100891
|
+
"type": {
|
|
100892
|
+
"text": "void"
|
|
100893
|
+
}
|
|
100806
100894
|
},
|
|
100807
|
-
"
|
|
100808
|
-
|
|
100809
|
-
|
|
100895
|
+
"parameters": [
|
|
100896
|
+
{
|
|
100897
|
+
"name": "flag",
|
|
100898
|
+
"type": {
|
|
100899
|
+
"text": "T"
|
|
100900
|
+
}
|
|
100901
|
+
}
|
|
100902
|
+
],
|
|
100903
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
100810
100904
|
"inheritedFrom": {
|
|
100811
|
-
"name": "
|
|
100812
|
-
"module": "core/
|
|
100905
|
+
"name": "SbbFormAssociatedMixin",
|
|
100906
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
100813
100907
|
}
|
|
100814
100908
|
},
|
|
100815
100909
|
{
|
|
100816
|
-
"kind": "
|
|
100817
|
-
"name": "
|
|
100818
|
-
"
|
|
100819
|
-
|
|
100910
|
+
"kind": "method",
|
|
100911
|
+
"name": "validate",
|
|
100912
|
+
"privacy": "protected",
|
|
100913
|
+
"return": {
|
|
100914
|
+
"type": {
|
|
100915
|
+
"text": "void"
|
|
100916
|
+
}
|
|
100820
100917
|
},
|
|
100821
|
-
"
|
|
100918
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
100822
100919
|
"inheritedFrom": {
|
|
100823
|
-
"name": "
|
|
100824
|
-
"module": "core/
|
|
100825
|
-
}
|
|
100826
|
-
}
|
|
100827
|
-
],
|
|
100828
|
-
"mixins": [
|
|
100829
|
-
{
|
|
100830
|
-
"name": "SbbBlockLinkCommonElementMixin",
|
|
100831
|
-
"module": "link/common/block-link-common.js"
|
|
100832
|
-
},
|
|
100833
|
-
{
|
|
100834
|
-
"name": "SbbDisabledMixin",
|
|
100835
|
-
"module": "core/mixins.js"
|
|
100836
|
-
}
|
|
100837
|
-
],
|
|
100838
|
-
"superclass": {
|
|
100839
|
-
"name": "SbbLinkBaseElement",
|
|
100840
|
-
"module": "core/base-elements.js"
|
|
100841
|
-
},
|
|
100842
|
-
"tagName": "sbb-block-link",
|
|
100843
|
-
"customElement": true,
|
|
100844
|
-
"attributes": [
|
|
100845
|
-
{
|
|
100846
|
-
"name": "icon-placement",
|
|
100847
|
-
"type": {
|
|
100848
|
-
"text": "SbbIconPlacement"
|
|
100849
|
-
},
|
|
100850
|
-
"default": "'start'",
|
|
100851
|
-
"description": "Moves the icon to the end of the component if set to true.",
|
|
100852
|
-
"fieldName": "iconPlacement",
|
|
100853
|
-
"inheritedFrom": {
|
|
100854
|
-
"name": "SbbBlockLinkCommonElementMixin",
|
|
100855
|
-
"module": "link/common/block-link-common.js"
|
|
100856
|
-
}
|
|
100857
|
-
},
|
|
100858
|
-
{
|
|
100859
|
-
"name": "size",
|
|
100860
|
-
"type": {
|
|
100861
|
-
"text": "SbbLinkSize"
|
|
100862
|
-
},
|
|
100863
|
-
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
100864
|
-
"default": "'s' / 'xs' (lean)",
|
|
100865
|
-
"fieldName": "size",
|
|
100866
|
-
"inheritedFrom": {
|
|
100867
|
-
"name": "SbbLinkCommonElementMixin",
|
|
100868
|
-
"module": "link/common/link-common.js"
|
|
100869
|
-
}
|
|
100870
|
-
},
|
|
100871
|
-
{
|
|
100872
|
-
"name": "icon-name",
|
|
100873
|
-
"type": {
|
|
100874
|
-
"text": "string"
|
|
100875
|
-
},
|
|
100876
|
-
"default": "''",
|
|
100877
|
-
"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.",
|
|
100878
|
-
"fieldName": "iconName",
|
|
100879
|
-
"inheritedFrom": {
|
|
100880
|
-
"name": "SbbIconNameMixin",
|
|
100881
|
-
"module": "icon/icon-name-mixin.js"
|
|
100882
|
-
}
|
|
100883
|
-
},
|
|
100884
|
-
{
|
|
100885
|
-
"name": "disabled",
|
|
100886
|
-
"description": "Whether the component is disabled.",
|
|
100887
|
-
"default": "false",
|
|
100888
|
-
"type": {
|
|
100889
|
-
"text": "boolean"
|
|
100890
|
-
},
|
|
100891
|
-
"fieldName": "disabled",
|
|
100892
|
-
"inheritedFrom": {
|
|
100893
|
-
"name": "SbbDisabledMixin",
|
|
100894
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
100895
|
-
}
|
|
100896
|
-
},
|
|
100897
|
-
{
|
|
100898
|
-
"name": "href",
|
|
100899
|
-
"type": {
|
|
100900
|
-
"text": "string"
|
|
100901
|
-
},
|
|
100902
|
-
"default": "''",
|
|
100903
|
-
"description": "The href value you want to link to.",
|
|
100904
|
-
"fieldName": "href",
|
|
100905
|
-
"inheritedFrom": {
|
|
100906
|
-
"name": "SbbLinkBaseElement",
|
|
100907
|
-
"module": "core/base-elements/link-base-element.js"
|
|
100908
|
-
}
|
|
100909
|
-
},
|
|
100910
|
-
{
|
|
100911
|
-
"name": "target",
|
|
100912
|
-
"type": {
|
|
100913
|
-
"text": "LinkTargetType | string"
|
|
100914
|
-
},
|
|
100915
|
-
"default": "''",
|
|
100916
|
-
"description": "Where to display the linked URL.",
|
|
100917
|
-
"fieldName": "target",
|
|
100918
|
-
"inheritedFrom": {
|
|
100919
|
-
"name": "SbbLinkBaseElement",
|
|
100920
|
-
"module": "core/base-elements/link-base-element.js"
|
|
100921
|
-
}
|
|
100922
|
-
},
|
|
100923
|
-
{
|
|
100924
|
-
"name": "rel",
|
|
100925
|
-
"type": {
|
|
100926
|
-
"text": "string"
|
|
100927
|
-
},
|
|
100928
|
-
"default": "''",
|
|
100929
|
-
"description": "The relationship of the linked URL as space-separated link types.",
|
|
100930
|
-
"fieldName": "rel",
|
|
100931
|
-
"inheritedFrom": {
|
|
100932
|
-
"name": "SbbLinkBaseElement",
|
|
100933
|
-
"module": "core/base-elements/link-base-element.js"
|
|
100934
|
-
}
|
|
100935
|
-
},
|
|
100936
|
-
{
|
|
100937
|
-
"name": "download",
|
|
100938
|
-
"type": {
|
|
100939
|
-
"text": "boolean"
|
|
100940
|
-
},
|
|
100941
|
-
"default": "false",
|
|
100942
|
-
"description": "Whether the browser will show the download dialog on click.",
|
|
100943
|
-
"fieldName": "download",
|
|
100944
|
-
"inheritedFrom": {
|
|
100945
|
-
"name": "SbbLinkBaseElement",
|
|
100946
|
-
"module": "core/base-elements/link-base-element.js"
|
|
100947
|
-
}
|
|
100948
|
-
},
|
|
100949
|
-
{
|
|
100950
|
-
"name": "accessibility-label",
|
|
100951
|
-
"type": {
|
|
100952
|
-
"text": "string"
|
|
100953
|
-
},
|
|
100954
|
-
"default": "''",
|
|
100955
|
-
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
100956
|
-
"fieldName": "accessibilityLabel",
|
|
100957
|
-
"inheritedFrom": {
|
|
100958
|
-
"name": "SbbLinkBaseElement",
|
|
100959
|
-
"module": "core/base-elements/link-base-element.js"
|
|
100960
|
-
}
|
|
100961
|
-
},
|
|
100962
|
-
{
|
|
100963
|
-
"name": "accessibility-current",
|
|
100964
|
-
"type": {
|
|
100965
|
-
"text": "string"
|
|
100966
|
-
},
|
|
100967
|
-
"default": "''",
|
|
100968
|
-
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
100969
|
-
"fieldName": "accessibilityCurrent",
|
|
100970
|
-
"inheritedFrom": {
|
|
100971
|
-
"name": "SbbLinkBaseElement",
|
|
100972
|
-
"module": "core/base-elements/link-base-element.js"
|
|
100973
|
-
}
|
|
100974
|
-
}
|
|
100975
|
-
]
|
|
100976
|
-
}
|
|
100977
|
-
],
|
|
100978
|
-
"exports": [
|
|
100979
|
-
{
|
|
100980
|
-
"kind": "js",
|
|
100981
|
-
"name": "SbbBlockLinkElement",
|
|
100982
|
-
"declaration": {
|
|
100983
|
-
"name": "SbbBlockLinkElement",
|
|
100984
|
-
"module": "link/block-link/block-link.component.js"
|
|
100985
|
-
}
|
|
100986
|
-
}
|
|
100987
|
-
]
|
|
100988
|
-
},
|
|
100989
|
-
{
|
|
100990
|
-
"kind": "javascript-module",
|
|
100991
|
-
"path": "link/block-link-static/block-link-static.component.js",
|
|
100992
|
-
"declarations": [
|
|
100993
|
-
{
|
|
100994
|
-
"kind": "class",
|
|
100995
|
-
"description": "It displays a static link enhanced with the SBB Design.",
|
|
100996
|
-
"name": "SbbBlockLinkStaticElement",
|
|
100997
|
-
"slots": [
|
|
100998
|
-
{
|
|
100999
|
-
"description": "Use the unnamed slot to add content to the `sbb-block-link-static`.",
|
|
101000
|
-
"name": ""
|
|
101001
|
-
},
|
|
101002
|
-
{
|
|
101003
|
-
"description": "Slot used to display the icon, if one is set.",
|
|
101004
|
-
"name": "icon"
|
|
101005
|
-
}
|
|
101006
|
-
],
|
|
101007
|
-
"members": [
|
|
101008
|
-
{
|
|
101009
|
-
"kind": "field",
|
|
101010
|
-
"name": "elementName",
|
|
101011
|
-
"type": {
|
|
101012
|
-
"text": "string"
|
|
101013
|
-
},
|
|
101014
|
-
"privacy": "public",
|
|
101015
|
-
"static": true,
|
|
101016
|
-
"readonly": true,
|
|
101017
|
-
"inheritedFrom": {
|
|
101018
|
-
"name": "SbbElement",
|
|
101019
|
-
"module": "core/base-elements/element.js"
|
|
101020
|
-
},
|
|
101021
|
-
"default": "'sbb-block-link-static'"
|
|
101022
|
-
},
|
|
101023
|
-
{
|
|
101024
|
-
"kind": "field",
|
|
101025
|
-
"name": "styles",
|
|
101026
|
-
"type": {
|
|
101027
|
-
"text": "CSSResultGroup"
|
|
101028
|
-
},
|
|
101029
|
-
"privacy": "public",
|
|
101030
|
-
"static": true,
|
|
101031
|
-
"default": "[super.styles, unsafeCSS(blockStyle)]",
|
|
101032
|
-
"inheritedFrom": {
|
|
101033
|
-
"name": "SbbLinkCommonElementMixin",
|
|
101034
|
-
"module": "link/common/link-common.js"
|
|
101035
|
-
}
|
|
101036
|
-
},
|
|
101037
|
-
{
|
|
101038
|
-
"kind": "field",
|
|
101039
|
-
"name": "iconPlacement",
|
|
101040
|
-
"type": {
|
|
101041
|
-
"text": "SbbIconPlacement"
|
|
101042
|
-
},
|
|
101043
|
-
"privacy": "public",
|
|
101044
|
-
"default": "'start'",
|
|
101045
|
-
"description": "Moves the icon to the end of the component if set to true.",
|
|
101046
|
-
"attribute": "icon-placement",
|
|
101047
|
-
"reflects": true,
|
|
101048
|
-
"inheritedFrom": {
|
|
101049
|
-
"name": "SbbBlockLinkCommonElementMixin",
|
|
101050
|
-
"module": "link/common/block-link-common.js"
|
|
100920
|
+
"name": "SbbFormAssociatedMixin",
|
|
100921
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101051
100922
|
}
|
|
101052
100923
|
},
|
|
101053
100924
|
{
|
|
101054
100925
|
"kind": "method",
|
|
101055
|
-
"name": "
|
|
100926
|
+
"name": "shouldValidate",
|
|
101056
100927
|
"privacy": "protected",
|
|
101057
100928
|
"return": {
|
|
101058
100929
|
"type": {
|
|
101059
|
-
"text": "
|
|
100930
|
+
"text": "boolean"
|
|
101060
100931
|
}
|
|
101061
100932
|
},
|
|
101062
|
-
"
|
|
100933
|
+
"parameters": [
|
|
100934
|
+
{
|
|
100935
|
+
"name": "name",
|
|
100936
|
+
"type": {
|
|
100937
|
+
"text": "PropertyKey | undefined"
|
|
100938
|
+
}
|
|
100939
|
+
}
|
|
100940
|
+
],
|
|
100941
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
101063
100942
|
"inheritedFrom": {
|
|
101064
|
-
"name": "
|
|
101065
|
-
"module": "core/
|
|
100943
|
+
"name": "SbbFormAssociatedMixin",
|
|
100944
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101066
100945
|
}
|
|
101067
100946
|
},
|
|
101068
100947
|
{
|
|
101069
|
-
"kind": "
|
|
101070
|
-
"name": "
|
|
101071
|
-
"
|
|
101072
|
-
|
|
100948
|
+
"kind": "method",
|
|
100949
|
+
"name": "_setInternalValidity",
|
|
100950
|
+
"privacy": "private",
|
|
100951
|
+
"return": {
|
|
100952
|
+
"type": {
|
|
100953
|
+
"text": "void"
|
|
100954
|
+
}
|
|
101073
100955
|
},
|
|
101074
|
-
"privacy": "public",
|
|
101075
|
-
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
101076
|
-
"default": "'s' / 'xs' (lean)",
|
|
101077
|
-
"attribute": "size",
|
|
101078
|
-
"reflects": true,
|
|
101079
100956
|
"inheritedFrom": {
|
|
101080
|
-
"name": "
|
|
101081
|
-
"module": "
|
|
100957
|
+
"name": "SbbFormAssociatedMixin",
|
|
100958
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101082
100959
|
}
|
|
101083
100960
|
},
|
|
101084
100961
|
{
|
|
101085
100962
|
"kind": "field",
|
|
101086
|
-
"name": "
|
|
100963
|
+
"name": "role",
|
|
101087
100964
|
"type": {
|
|
101088
|
-
"text": "
|
|
100965
|
+
"text": "ElementInternals['role']"
|
|
101089
100966
|
},
|
|
101090
100967
|
"privacy": "public",
|
|
101091
|
-
"
|
|
101092
|
-
"
|
|
101093
|
-
"
|
|
100968
|
+
"static": true,
|
|
100969
|
+
"readonly": true,
|
|
100970
|
+
"default": "'button'",
|
|
101094
100971
|
"inheritedFrom": {
|
|
101095
|
-
"name": "
|
|
101096
|
-
"module": "
|
|
100972
|
+
"name": "SbbButtonLikeBaseElement",
|
|
100973
|
+
"module": "core/base-elements/button-base-element.js"
|
|
101097
100974
|
}
|
|
101098
100975
|
},
|
|
101099
100976
|
{
|
|
101100
|
-
"kind": "
|
|
101101
|
-
"name": "
|
|
101102
|
-
"privacy": "
|
|
101103
|
-
"
|
|
101104
|
-
"type": {
|
|
101105
|
-
"text": "TemplateResult"
|
|
101106
|
-
}
|
|
101107
|
-
},
|
|
100977
|
+
"kind": "field",
|
|
100978
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
100979
|
+
"privacy": "private",
|
|
100980
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
101108
100981
|
"parameters": [
|
|
101109
100982
|
{
|
|
101110
|
-
"
|
|
101111
|
-
"
|
|
101112
|
-
"type": {
|
|
101113
|
-
"text": "string"
|
|
101114
|
-
}
|
|
100983
|
+
"description": "The origin event.",
|
|
100984
|
+
"name": "event"
|
|
101115
100985
|
}
|
|
101116
100986
|
],
|
|
101117
100987
|
"inheritedFrom": {
|
|
101118
|
-
"name": "
|
|
101119
|
-
"module": "
|
|
101120
|
-
}
|
|
101121
|
-
},
|
|
101122
|
-
{
|
|
101123
|
-
"kind": "method",
|
|
101124
|
-
"name": "renderIconName",
|
|
101125
|
-
"privacy": "protected",
|
|
101126
|
-
"return": {
|
|
101127
|
-
"type": {
|
|
101128
|
-
"text": "string"
|
|
101129
|
-
}
|
|
101130
|
-
},
|
|
101131
|
-
"inheritedFrom": {
|
|
101132
|
-
"name": "SbbIconNameMixin",
|
|
101133
|
-
"module": "icon/icon-name-mixin.js"
|
|
100988
|
+
"name": "SbbButtonLikeBaseElement",
|
|
100989
|
+
"module": "core/base-elements/button-base-element.js"
|
|
101134
100990
|
}
|
|
101135
100991
|
},
|
|
101136
100992
|
{
|
|
101137
|
-
"kind": "
|
|
101138
|
-
"name": "
|
|
100993
|
+
"kind": "field",
|
|
100994
|
+
"name": "_removeActiveMarker",
|
|
101139
100995
|
"privacy": "private",
|
|
101140
|
-
"return": {
|
|
101141
|
-
"type": {
|
|
101142
|
-
"text": "string"
|
|
101143
|
-
}
|
|
101144
|
-
},
|
|
101145
100996
|
"inheritedFrom": {
|
|
101146
|
-
"name": "
|
|
101147
|
-
"module": "
|
|
100997
|
+
"name": "SbbButtonLikeBaseElement",
|
|
100998
|
+
"module": "core/base-elements/button-base-element.js"
|
|
101148
100999
|
}
|
|
101149
101000
|
},
|
|
101150
101001
|
{
|
|
101151
101002
|
"kind": "field",
|
|
101152
|
-
"name": "
|
|
101153
|
-
"privacy": "
|
|
101154
|
-
"description": "
|
|
101155
|
-
"
|
|
101156
|
-
|
|
101157
|
-
|
|
101158
|
-
|
|
101159
|
-
|
|
101160
|
-
|
|
101003
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
101004
|
+
"privacy": "private",
|
|
101005
|
+
"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.",
|
|
101006
|
+
"parameters": [
|
|
101007
|
+
{
|
|
101008
|
+
"description": "The origin event.",
|
|
101009
|
+
"name": "event"
|
|
101010
|
+
}
|
|
101011
|
+
],
|
|
101161
101012
|
"inheritedFrom": {
|
|
101162
|
-
"name": "
|
|
101163
|
-
"module": "core/
|
|
101013
|
+
"name": "SbbButtonLikeBaseElement",
|
|
101014
|
+
"module": "core/base-elements/button-base-element.js"
|
|
101164
101015
|
}
|
|
101165
101016
|
},
|
|
101166
101017
|
{
|
|
101167
101018
|
"kind": "field",
|
|
101168
|
-
"name": "
|
|
101019
|
+
"name": "_dispatchClickEvent",
|
|
101169
101020
|
"privacy": "private",
|
|
101170
|
-
"type": {
|
|
101171
|
-
"text": "boolean"
|
|
101172
|
-
},
|
|
101173
|
-
"default": "false",
|
|
101174
|
-
"inheritedFrom": {
|
|
101175
|
-
"name": "SbbDisabledMixin",
|
|
101176
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
101177
|
-
}
|
|
101178
|
-
},
|
|
101179
|
-
{
|
|
101180
|
-
"kind": "method",
|
|
101181
|
-
"name": "isDisabledExternally",
|
|
101182
|
-
"privacy": "protected",
|
|
101183
|
-
"return": {
|
|
101184
|
-
"type": {
|
|
101185
|
-
"text": "boolean"
|
|
101186
|
-
}
|
|
101187
|
-
},
|
|
101188
|
-
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
101189
101021
|
"inheritedFrom": {
|
|
101190
|
-
"name": "
|
|
101191
|
-
"module": "core/
|
|
101022
|
+
"name": "SbbButtonLikeBaseElement",
|
|
101023
|
+
"module": "core/base-elements/button-base-element.js"
|
|
101192
101024
|
}
|
|
101193
101025
|
},
|
|
101194
101026
|
{
|
|
@@ -101343,15 +101175,15 @@
|
|
|
101343
101175
|
"module": "link/common/block-link-common.js"
|
|
101344
101176
|
},
|
|
101345
101177
|
{
|
|
101346
|
-
"name": "
|
|
101178
|
+
"name": "SbbDisabledTabIndexActionMixin",
|
|
101347
101179
|
"module": "core/mixins.js"
|
|
101348
101180
|
}
|
|
101349
101181
|
],
|
|
101350
101182
|
"superclass": {
|
|
101351
|
-
"name": "
|
|
101183
|
+
"name": "SbbButtonBaseElement",
|
|
101352
101184
|
"module": "core/base-elements.js"
|
|
101353
101185
|
},
|
|
101354
|
-
"tagName": "sbb-block-link-
|
|
101186
|
+
"tagName": "sbb-block-link-button",
|
|
101355
101187
|
"customElement": true,
|
|
101356
101188
|
"attributes": [
|
|
101357
101189
|
{
|
|
@@ -101393,6 +101225,19 @@
|
|
|
101393
101225
|
"module": "icon/icon-name-mixin.js"
|
|
101394
101226
|
}
|
|
101395
101227
|
},
|
|
101228
|
+
{
|
|
101229
|
+
"name": "disabled-interactive",
|
|
101230
|
+
"type": {
|
|
101231
|
+
"text": "boolean"
|
|
101232
|
+
},
|
|
101233
|
+
"default": "false",
|
|
101234
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
101235
|
+
"fieldName": "disabledInteractive",
|
|
101236
|
+
"inheritedFrom": {
|
|
101237
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
101238
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
101239
|
+
}
|
|
101240
|
+
},
|
|
101396
101241
|
{
|
|
101397
101242
|
"name": "disabled",
|
|
101398
101243
|
"description": "Whether the component is disabled.",
|
|
@@ -101405,6 +101250,56 @@
|
|
|
101405
101250
|
"name": "SbbDisabledMixin",
|
|
101406
101251
|
"module": "core/mixins/disabled-mixin.js"
|
|
101407
101252
|
}
|
|
101253
|
+
},
|
|
101254
|
+
{
|
|
101255
|
+
"name": "value",
|
|
101256
|
+
"type": {
|
|
101257
|
+
"text": "string"
|
|
101258
|
+
},
|
|
101259
|
+
"default": "''",
|
|
101260
|
+
"description": "Value of the form element.",
|
|
101261
|
+
"fieldName": "value",
|
|
101262
|
+
"inheritedFrom": {
|
|
101263
|
+
"name": "SbbButtonBaseElement",
|
|
101264
|
+
"module": "core/base-elements/button-base-element.js"
|
|
101265
|
+
}
|
|
101266
|
+
},
|
|
101267
|
+
{
|
|
101268
|
+
"name": "type",
|
|
101269
|
+
"description": "The type attribute to use for the button.",
|
|
101270
|
+
"default": "'button'",
|
|
101271
|
+
"type": {
|
|
101272
|
+
"text": "SbbButtonType"
|
|
101273
|
+
},
|
|
101274
|
+
"fieldName": "type",
|
|
101275
|
+
"inheritedFrom": {
|
|
101276
|
+
"name": "SbbButtonBaseElement",
|
|
101277
|
+
"module": "core/base-elements/button-base-element.js"
|
|
101278
|
+
}
|
|
101279
|
+
},
|
|
101280
|
+
{
|
|
101281
|
+
"name": "form",
|
|
101282
|
+
"description": "The `<form>` element to associate the button with.",
|
|
101283
|
+
"type": {
|
|
101284
|
+
"text": "HTMLFormElement | null"
|
|
101285
|
+
},
|
|
101286
|
+
"fieldName": "form",
|
|
101287
|
+
"inheritedFrom": {
|
|
101288
|
+
"name": "SbbButtonBaseElement",
|
|
101289
|
+
"module": "core/base-elements/button-base-element.js"
|
|
101290
|
+
}
|
|
101291
|
+
},
|
|
101292
|
+
{
|
|
101293
|
+
"name": "name",
|
|
101294
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
101295
|
+
"type": {
|
|
101296
|
+
"text": "string"
|
|
101297
|
+
},
|
|
101298
|
+
"fieldName": "name",
|
|
101299
|
+
"inheritedFrom": {
|
|
101300
|
+
"name": "SbbFormAssociatedMixin",
|
|
101301
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101302
|
+
}
|
|
101408
101303
|
}
|
|
101409
101304
|
]
|
|
101410
101305
|
}
|
|
@@ -101412,25 +101307,25 @@
|
|
|
101412
101307
|
"exports": [
|
|
101413
101308
|
{
|
|
101414
101309
|
"kind": "js",
|
|
101415
|
-
"name": "
|
|
101310
|
+
"name": "SbbBlockLinkButtonElement",
|
|
101416
101311
|
"declaration": {
|
|
101417
|
-
"name": "
|
|
101418
|
-
"module": "link/block-link-
|
|
101312
|
+
"name": "SbbBlockLinkButtonElement",
|
|
101313
|
+
"module": "link/block-link-button/block-link-button.component.js"
|
|
101419
101314
|
}
|
|
101420
101315
|
}
|
|
101421
101316
|
]
|
|
101422
101317
|
},
|
|
101423
101318
|
{
|
|
101424
101319
|
"kind": "javascript-module",
|
|
101425
|
-
"path": "link/block-link
|
|
101320
|
+
"path": "link/block-link/block-link.component.js",
|
|
101426
101321
|
"declarations": [
|
|
101427
101322
|
{
|
|
101428
101323
|
"kind": "class",
|
|
101429
|
-
"description": "It displays a link enhanced with the SBB Design
|
|
101430
|
-
"name": "
|
|
101324
|
+
"description": "It displays a link enhanced with the SBB Design.",
|
|
101325
|
+
"name": "SbbBlockLinkElement",
|
|
101431
101326
|
"slots": [
|
|
101432
101327
|
{
|
|
101433
|
-
"description": "Use the unnamed slot to add content to the `sbb-block-link
|
|
101328
|
+
"description": "Use the unnamed slot to add content to the `sbb-block-link`.",
|
|
101434
101329
|
"name": ""
|
|
101435
101330
|
},
|
|
101436
101331
|
{
|
|
@@ -101452,7 +101347,7 @@
|
|
|
101452
101347
|
"name": "SbbElement",
|
|
101453
101348
|
"module": "core/base-elements/element.js"
|
|
101454
101349
|
},
|
|
101455
|
-
"default": "'sbb-block-link
|
|
101350
|
+
"default": "'sbb-block-link'"
|
|
101456
101351
|
},
|
|
101457
101352
|
{
|
|
101458
101353
|
"kind": "field",
|
|
@@ -101581,22 +101476,6 @@
|
|
|
101581
101476
|
"module": "icon/icon-name-mixin.js"
|
|
101582
101477
|
}
|
|
101583
101478
|
},
|
|
101584
|
-
{
|
|
101585
|
-
"kind": "field",
|
|
101586
|
-
"name": "disabledInteractive",
|
|
101587
|
-
"type": {
|
|
101588
|
-
"text": "boolean"
|
|
101589
|
-
},
|
|
101590
|
-
"privacy": "public",
|
|
101591
|
-
"default": "false",
|
|
101592
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
101593
|
-
"attribute": "disabled-interactive",
|
|
101594
|
-
"reflects": true,
|
|
101595
|
-
"inheritedFrom": {
|
|
101596
|
-
"name": "SbbDisabledInteractiveMixin",
|
|
101597
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
101598
|
-
}
|
|
101599
|
-
},
|
|
101600
101479
|
{
|
|
101601
101480
|
"kind": "field",
|
|
101602
101481
|
"name": "disabled",
|
|
@@ -101643,479 +101522,663 @@
|
|
|
101643
101522
|
},
|
|
101644
101523
|
{
|
|
101645
101524
|
"kind": "field",
|
|
101646
|
-
"name": "
|
|
101525
|
+
"name": "href",
|
|
101647
101526
|
"type": {
|
|
101648
|
-
"text": "
|
|
101527
|
+
"text": "string"
|
|
101649
101528
|
},
|
|
101650
|
-
"privacy": "
|
|
101651
|
-
"
|
|
101652
|
-
"
|
|
101529
|
+
"privacy": "public",
|
|
101530
|
+
"default": "''",
|
|
101531
|
+
"description": "The href value you want to link to.",
|
|
101532
|
+
"attribute": "href",
|
|
101533
|
+
"reflects": true,
|
|
101653
101534
|
"inheritedFrom": {
|
|
101654
|
-
"name": "
|
|
101655
|
-
"module": "core/base-elements/
|
|
101535
|
+
"name": "SbbLinkBaseElement",
|
|
101536
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101656
101537
|
}
|
|
101657
101538
|
},
|
|
101658
101539
|
{
|
|
101659
101540
|
"kind": "field",
|
|
101660
|
-
"name": "
|
|
101541
|
+
"name": "target",
|
|
101661
101542
|
"type": {
|
|
101662
|
-
"text": "string"
|
|
101543
|
+
"text": "LinkTargetType | string"
|
|
101663
101544
|
},
|
|
101664
101545
|
"privacy": "public",
|
|
101665
|
-
"inheritedFrom": {
|
|
101666
|
-
"name": "SbbButtonBaseElement",
|
|
101667
|
-
"module": "core/base-elements/button-base-element.js"
|
|
101668
|
-
},
|
|
101669
101546
|
"default": "''",
|
|
101670
|
-
"description": "
|
|
101671
|
-
"attribute": "
|
|
101672
|
-
|
|
101673
|
-
{
|
|
101674
|
-
"kind": "field",
|
|
101675
|
-
"name": "type",
|
|
101676
|
-
"privacy": "public",
|
|
101677
|
-
"description": "The type attribute to use for the button.",
|
|
101678
|
-
"default": "'button'",
|
|
101679
|
-
"type": {
|
|
101680
|
-
"text": "SbbButtonType"
|
|
101681
|
-
},
|
|
101682
|
-
"attribute": "type",
|
|
101547
|
+
"description": "Where to display the linked URL.",
|
|
101548
|
+
"attribute": "target",
|
|
101549
|
+
"reflects": true,
|
|
101683
101550
|
"inheritedFrom": {
|
|
101684
|
-
"name": "
|
|
101685
|
-
"module": "core/base-elements/
|
|
101551
|
+
"name": "SbbLinkBaseElement",
|
|
101552
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101686
101553
|
}
|
|
101687
101554
|
},
|
|
101688
101555
|
{
|
|
101689
101556
|
"kind": "field",
|
|
101690
|
-
"name": "
|
|
101557
|
+
"name": "rel",
|
|
101691
101558
|
"type": {
|
|
101692
|
-
"text": "
|
|
101559
|
+
"text": "string"
|
|
101693
101560
|
},
|
|
101694
101561
|
"privacy": "public",
|
|
101695
|
-
"
|
|
101562
|
+
"default": "''",
|
|
101563
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
101564
|
+
"attribute": "rel",
|
|
101565
|
+
"reflects": true,
|
|
101696
101566
|
"inheritedFrom": {
|
|
101697
|
-
"name": "
|
|
101698
|
-
"module": "core/base-elements/
|
|
101567
|
+
"name": "SbbLinkBaseElement",
|
|
101568
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101569
|
+
}
|
|
101570
|
+
},
|
|
101571
|
+
{
|
|
101572
|
+
"kind": "field",
|
|
101573
|
+
"name": "download",
|
|
101574
|
+
"type": {
|
|
101575
|
+
"text": "boolean"
|
|
101699
101576
|
},
|
|
101700
|
-
"
|
|
101577
|
+
"privacy": "public",
|
|
101578
|
+
"default": "false",
|
|
101579
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
101580
|
+
"attribute": "download",
|
|
101581
|
+
"reflects": true,
|
|
101582
|
+
"inheritedFrom": {
|
|
101583
|
+
"name": "SbbLinkBaseElement",
|
|
101584
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101585
|
+
}
|
|
101701
101586
|
},
|
|
101702
101587
|
{
|
|
101703
101588
|
"kind": "field",
|
|
101704
|
-
"name": "
|
|
101589
|
+
"name": "accessibilityLabel",
|
|
101705
101590
|
"type": {
|
|
101706
101591
|
"text": "string"
|
|
101707
101592
|
},
|
|
101708
|
-
"privacy": "
|
|
101593
|
+
"privacy": "public",
|
|
101709
101594
|
"default": "''",
|
|
101595
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
101596
|
+
"attribute": "accessibility-label",
|
|
101710
101597
|
"inheritedFrom": {
|
|
101711
|
-
"name": "
|
|
101712
|
-
"module": "core/base-elements/
|
|
101598
|
+
"name": "SbbLinkBaseElement",
|
|
101599
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101713
101600
|
}
|
|
101714
101601
|
},
|
|
101715
101602
|
{
|
|
101716
101603
|
"kind": "field",
|
|
101717
|
-
"name": "
|
|
101604
|
+
"name": "accessibilityCurrent",
|
|
101605
|
+
"type": {
|
|
101606
|
+
"text": "string"
|
|
101607
|
+
},
|
|
101608
|
+
"privacy": "public",
|
|
101609
|
+
"default": "''",
|
|
101610
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
101611
|
+
"attribute": "accessibility-current",
|
|
101612
|
+
"inheritedFrom": {
|
|
101613
|
+
"name": "SbbLinkBaseElement",
|
|
101614
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101615
|
+
}
|
|
101616
|
+
},
|
|
101617
|
+
{
|
|
101618
|
+
"kind": "field",
|
|
101619
|
+
"name": "language",
|
|
101620
|
+
"privacy": "protected",
|
|
101621
|
+
"default": "new SbbLanguageController(this)",
|
|
101622
|
+
"inheritedFrom": {
|
|
101623
|
+
"name": "SbbLinkBaseElement",
|
|
101624
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101625
|
+
}
|
|
101626
|
+
},
|
|
101627
|
+
{
|
|
101628
|
+
"kind": "field",
|
|
101629
|
+
"name": "anchorRole",
|
|
101630
|
+
"type": {
|
|
101631
|
+
"text": "string | null"
|
|
101632
|
+
},
|
|
101633
|
+
"privacy": "protected",
|
|
101634
|
+
"readonly": true,
|
|
101635
|
+
"default": "null",
|
|
101636
|
+
"inheritedFrom": {
|
|
101637
|
+
"name": "SbbLinkBaseElement",
|
|
101638
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101639
|
+
}
|
|
101640
|
+
},
|
|
101641
|
+
{
|
|
101642
|
+
"kind": "field",
|
|
101643
|
+
"name": "_evaluateRelAttribute",
|
|
101718
101644
|
"privacy": "private",
|
|
101719
101645
|
"inheritedFrom": {
|
|
101720
|
-
"name": "
|
|
101721
|
-
"module": "core/base-elements/
|
|
101646
|
+
"name": "SbbLinkBaseElement",
|
|
101647
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101722
101648
|
}
|
|
101723
101649
|
},
|
|
101724
101650
|
{
|
|
101725
101651
|
"kind": "method",
|
|
101726
|
-
"name": "
|
|
101727
|
-
"privacy": "
|
|
101652
|
+
"name": "renderLink",
|
|
101653
|
+
"privacy": "protected",
|
|
101728
101654
|
"return": {
|
|
101729
101655
|
"type": {
|
|
101730
|
-
"text": "
|
|
101656
|
+
"text": "TemplateResult"
|
|
101731
101657
|
}
|
|
101732
101658
|
},
|
|
101733
101659
|
"parameters": [
|
|
101734
101660
|
{
|
|
101735
|
-
"name": "
|
|
101661
|
+
"name": "renderContent",
|
|
101736
101662
|
"type": {
|
|
101737
|
-
"text": "
|
|
101663
|
+
"text": "TemplateResult"
|
|
101738
101664
|
}
|
|
101739
101665
|
}
|
|
101740
101666
|
],
|
|
101741
101667
|
"inheritedFrom": {
|
|
101742
|
-
"name": "
|
|
101743
|
-
"module": "core/base-elements/
|
|
101668
|
+
"name": "SbbLinkBaseElement",
|
|
101669
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101744
101670
|
}
|
|
101745
101671
|
},
|
|
101746
101672
|
{
|
|
101747
101673
|
"kind": "field",
|
|
101748
|
-
"name": "
|
|
101749
|
-
"
|
|
101674
|
+
"name": "maybeDisabled",
|
|
101675
|
+
"type": {
|
|
101676
|
+
"text": "boolean | undefined"
|
|
101677
|
+
},
|
|
101678
|
+
"privacy": "protected",
|
|
101679
|
+
"readonly": true,
|
|
101750
101680
|
"inheritedFrom": {
|
|
101751
|
-
"name": "
|
|
101752
|
-
"module": "core/base-elements/
|
|
101681
|
+
"name": "SbbActionBaseElement",
|
|
101682
|
+
"module": "core/base-elements/action-base-element.js"
|
|
101753
101683
|
}
|
|
101754
101684
|
},
|
|
101755
101685
|
{
|
|
101756
101686
|
"kind": "field",
|
|
101757
|
-
"name": "
|
|
101687
|
+
"name": "maybeDisabledInteractive",
|
|
101758
101688
|
"type": {
|
|
101759
|
-
"text": "boolean"
|
|
101689
|
+
"text": "boolean | undefined"
|
|
101760
101690
|
},
|
|
101761
|
-
"privacy": "
|
|
101762
|
-
"
|
|
101763
|
-
"default": "true",
|
|
101691
|
+
"privacy": "protected",
|
|
101692
|
+
"readonly": true,
|
|
101764
101693
|
"inheritedFrom": {
|
|
101765
|
-
"name": "
|
|
101766
|
-
"module": "core/
|
|
101694
|
+
"name": "SbbActionBaseElement",
|
|
101695
|
+
"module": "core/base-elements/action-base-element.js"
|
|
101696
|
+
}
|
|
101697
|
+
},
|
|
101698
|
+
{
|
|
101699
|
+
"kind": "method",
|
|
101700
|
+
"name": "setupBaseEventHandlers",
|
|
101701
|
+
"privacy": "protected",
|
|
101702
|
+
"return": {
|
|
101703
|
+
"type": {
|
|
101704
|
+
"text": "void"
|
|
101705
|
+
}
|
|
101706
|
+
},
|
|
101707
|
+
"inheritedFrom": {
|
|
101708
|
+
"name": "SbbActionBaseElement",
|
|
101709
|
+
"module": "core/base-elements/action-base-element.js"
|
|
101767
101710
|
}
|
|
101768
101711
|
},
|
|
101769
101712
|
{
|
|
101770
101713
|
"kind": "field",
|
|
101771
|
-
"name": "
|
|
101772
|
-
"privacy": "public",
|
|
101773
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
101714
|
+
"name": "_hydrationRequired",
|
|
101774
101715
|
"type": {
|
|
101775
|
-
"text": "
|
|
101716
|
+
"text": "boolean"
|
|
101776
101717
|
},
|
|
101777
|
-
"
|
|
101718
|
+
"privacy": "private",
|
|
101719
|
+
"default": "!!this.shadowRoot",
|
|
101778
101720
|
"inheritedFrom": {
|
|
101779
|
-
"name": "
|
|
101780
|
-
"module": "core/
|
|
101721
|
+
"name": "SbbElement",
|
|
101722
|
+
"module": "core/base-elements/element.js"
|
|
101781
101723
|
}
|
|
101782
101724
|
},
|
|
101783
101725
|
{
|
|
101784
101726
|
"kind": "field",
|
|
101785
|
-
"name": "
|
|
101727
|
+
"name": "_hydrationComplete",
|
|
101728
|
+
"privacy": "private",
|
|
101729
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
101730
|
+
"inheritedFrom": {
|
|
101731
|
+
"name": "SbbElement",
|
|
101732
|
+
"module": "core/base-elements/element.js"
|
|
101733
|
+
}
|
|
101734
|
+
},
|
|
101735
|
+
{
|
|
101736
|
+
"kind": "field",
|
|
101737
|
+
"name": "_resolveHydration",
|
|
101786
101738
|
"type": {
|
|
101787
|
-
"text": "
|
|
101739
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
101788
101740
|
},
|
|
101789
|
-
"privacy": "
|
|
101790
|
-
"description": "Returns the ValidityState object for this element.",
|
|
101791
|
-
"readonly": true,
|
|
101741
|
+
"privacy": "private",
|
|
101792
101742
|
"inheritedFrom": {
|
|
101793
|
-
"name": "
|
|
101794
|
-
"module": "core/
|
|
101743
|
+
"name": "SbbElement",
|
|
101744
|
+
"module": "core/base-elements/element.js"
|
|
101795
101745
|
}
|
|
101796
101746
|
},
|
|
101797
101747
|
{
|
|
101798
101748
|
"kind": "field",
|
|
101799
|
-
"name": "
|
|
101749
|
+
"name": "hydrationRequired",
|
|
101800
101750
|
"type": {
|
|
101801
|
-
"text": "
|
|
101751
|
+
"text": "boolean"
|
|
101802
101752
|
},
|
|
101803
|
-
"privacy": "
|
|
101804
|
-
"description": "Returns
|
|
101753
|
+
"privacy": "protected",
|
|
101754
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
101805
101755
|
"readonly": true,
|
|
101806
101756
|
"inheritedFrom": {
|
|
101807
|
-
"name": "
|
|
101808
|
-
"module": "core/
|
|
101757
|
+
"name": "SbbElement",
|
|
101758
|
+
"module": "core/base-elements/element.js"
|
|
101759
|
+
},
|
|
101760
|
+
"default": "!!this.shadowRoot"
|
|
101761
|
+
},
|
|
101762
|
+
{
|
|
101763
|
+
"kind": "method",
|
|
101764
|
+
"name": "toggleState",
|
|
101765
|
+
"privacy": "protected",
|
|
101766
|
+
"return": {
|
|
101767
|
+
"type": {
|
|
101768
|
+
"text": "void"
|
|
101769
|
+
}
|
|
101770
|
+
},
|
|
101771
|
+
"parameters": [
|
|
101772
|
+
{
|
|
101773
|
+
"name": "value",
|
|
101774
|
+
"type": {
|
|
101775
|
+
"text": "string"
|
|
101776
|
+
}
|
|
101777
|
+
},
|
|
101778
|
+
{
|
|
101779
|
+
"name": "force",
|
|
101780
|
+
"optional": true,
|
|
101781
|
+
"type": {
|
|
101782
|
+
"text": "boolean"
|
|
101783
|
+
}
|
|
101784
|
+
}
|
|
101785
|
+
],
|
|
101786
|
+
"inheritedFrom": {
|
|
101787
|
+
"name": "SbbElement",
|
|
101788
|
+
"module": "core/base-elements/element.js"
|
|
101809
101789
|
}
|
|
101810
101790
|
},
|
|
101811
101791
|
{
|
|
101812
101792
|
"kind": "field",
|
|
101813
|
-
"name": "
|
|
101793
|
+
"name": "['_$sbbElement$']",
|
|
101814
101794
|
"type": {
|
|
101815
101795
|
"text": "boolean"
|
|
101816
101796
|
},
|
|
101817
101797
|
"privacy": "public",
|
|
101818
|
-
"
|
|
101819
|
-
"
|
|
101798
|
+
"static": true,
|
|
101799
|
+
"default": "true",
|
|
101820
101800
|
"inheritedFrom": {
|
|
101821
|
-
"name": "
|
|
101822
|
-
"module": "core/
|
|
101801
|
+
"name": "SbbElement",
|
|
101802
|
+
"module": "core/base-elements/element.js"
|
|
101823
101803
|
}
|
|
101824
101804
|
},
|
|
101825
101805
|
{
|
|
101826
101806
|
"kind": "field",
|
|
101827
|
-
"name": "
|
|
101807
|
+
"name": "_controllers",
|
|
101808
|
+
"type": {
|
|
101809
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
101810
|
+
},
|
|
101828
101811
|
"privacy": "private",
|
|
101829
|
-
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
101830
101812
|
"inheritedFrom": {
|
|
101831
|
-
"name": "
|
|
101832
|
-
"module": "core/
|
|
101813
|
+
"name": "SbbElement",
|
|
101814
|
+
"module": "core/base-elements/element.js"
|
|
101833
101815
|
}
|
|
101816
|
+
}
|
|
101817
|
+
],
|
|
101818
|
+
"mixins": [
|
|
101819
|
+
{
|
|
101820
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
101821
|
+
"module": "link/common/block-link-common.js"
|
|
101834
101822
|
},
|
|
101835
101823
|
{
|
|
101836
|
-
"
|
|
101837
|
-
"
|
|
101824
|
+
"name": "SbbDisabledMixin",
|
|
101825
|
+
"module": "core/mixins.js"
|
|
101826
|
+
}
|
|
101827
|
+
],
|
|
101828
|
+
"superclass": {
|
|
101829
|
+
"name": "SbbLinkBaseElement",
|
|
101830
|
+
"module": "core/base-elements.js"
|
|
101831
|
+
},
|
|
101832
|
+
"tagName": "sbb-block-link",
|
|
101833
|
+
"customElement": true,
|
|
101834
|
+
"attributes": [
|
|
101835
|
+
{
|
|
101836
|
+
"name": "icon-placement",
|
|
101838
101837
|
"type": {
|
|
101839
|
-
"text": "
|
|
101838
|
+
"text": "SbbIconPlacement"
|
|
101840
101839
|
},
|
|
101841
|
-
"
|
|
101840
|
+
"default": "'start'",
|
|
101841
|
+
"description": "Moves the icon to the end of the component if set to true.",
|
|
101842
|
+
"fieldName": "iconPlacement",
|
|
101843
|
+
"inheritedFrom": {
|
|
101844
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
101845
|
+
"module": "link/common/block-link-common.js"
|
|
101846
|
+
}
|
|
101847
|
+
},
|
|
101848
|
+
{
|
|
101849
|
+
"name": "size",
|
|
101850
|
+
"type": {
|
|
101851
|
+
"text": "SbbLinkSize"
|
|
101852
|
+
},
|
|
101853
|
+
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
101854
|
+
"default": "'s' / 'xs' (lean)",
|
|
101855
|
+
"fieldName": "size",
|
|
101856
|
+
"inheritedFrom": {
|
|
101857
|
+
"name": "SbbLinkCommonElementMixin",
|
|
101858
|
+
"module": "link/common/link-common.js"
|
|
101859
|
+
}
|
|
101860
|
+
},
|
|
101861
|
+
{
|
|
101862
|
+
"name": "icon-name",
|
|
101863
|
+
"type": {
|
|
101864
|
+
"text": "string"
|
|
101865
|
+
},
|
|
101866
|
+
"default": "''",
|
|
101867
|
+
"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.",
|
|
101868
|
+
"fieldName": "iconName",
|
|
101869
|
+
"inheritedFrom": {
|
|
101870
|
+
"name": "SbbIconNameMixin",
|
|
101871
|
+
"module": "icon/icon-name-mixin.js"
|
|
101872
|
+
}
|
|
101873
|
+
},
|
|
101874
|
+
{
|
|
101875
|
+
"name": "disabled",
|
|
101876
|
+
"description": "Whether the component is disabled.",
|
|
101842
101877
|
"default": "false",
|
|
101843
|
-
"
|
|
101878
|
+
"type": {
|
|
101879
|
+
"text": "boolean"
|
|
101880
|
+
},
|
|
101881
|
+
"fieldName": "disabled",
|
|
101844
101882
|
"inheritedFrom": {
|
|
101845
|
-
"name": "
|
|
101846
|
-
"module": "core/mixins/
|
|
101883
|
+
"name": "SbbDisabledMixin",
|
|
101884
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
101847
101885
|
}
|
|
101848
101886
|
},
|
|
101849
101887
|
{
|
|
101850
|
-
"
|
|
101851
|
-
"
|
|
101852
|
-
|
|
101853
|
-
"return": {
|
|
101854
|
-
"type": {
|
|
101855
|
-
"text": "boolean"
|
|
101856
|
-
}
|
|
101888
|
+
"name": "href",
|
|
101889
|
+
"type": {
|
|
101890
|
+
"text": "string"
|
|
101857
101891
|
},
|
|
101858
|
-
"
|
|
101892
|
+
"default": "''",
|
|
101893
|
+
"description": "The href value you want to link to.",
|
|
101894
|
+
"fieldName": "href",
|
|
101859
101895
|
"inheritedFrom": {
|
|
101860
|
-
"name": "
|
|
101861
|
-
"module": "core/
|
|
101896
|
+
"name": "SbbLinkBaseElement",
|
|
101897
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101862
101898
|
}
|
|
101863
101899
|
},
|
|
101864
101900
|
{
|
|
101865
|
-
"
|
|
101866
|
-
"
|
|
101867
|
-
|
|
101868
|
-
"return": {
|
|
101869
|
-
"type": {
|
|
101870
|
-
"text": "boolean"
|
|
101871
|
-
}
|
|
101901
|
+
"name": "target",
|
|
101902
|
+
"type": {
|
|
101903
|
+
"text": "LinkTargetType | string"
|
|
101872
101904
|
},
|
|
101873
|
-
"
|
|
101905
|
+
"default": "''",
|
|
101906
|
+
"description": "Where to display the linked URL.",
|
|
101907
|
+
"fieldName": "target",
|
|
101874
101908
|
"inheritedFrom": {
|
|
101875
|
-
"name": "
|
|
101876
|
-
"module": "core/
|
|
101909
|
+
"name": "SbbLinkBaseElement",
|
|
101910
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101877
101911
|
}
|
|
101878
101912
|
},
|
|
101879
101913
|
{
|
|
101880
|
-
"
|
|
101881
|
-
"
|
|
101882
|
-
|
|
101883
|
-
"return": {
|
|
101884
|
-
"type": {
|
|
101885
|
-
"text": "void"
|
|
101886
|
-
}
|
|
101914
|
+
"name": "rel",
|
|
101915
|
+
"type": {
|
|
101916
|
+
"text": "string"
|
|
101887
101917
|
},
|
|
101888
|
-
"
|
|
101889
|
-
|
|
101890
|
-
|
|
101891
|
-
"type": {
|
|
101892
|
-
"text": "string"
|
|
101893
|
-
}
|
|
101894
|
-
}
|
|
101895
|
-
],
|
|
101896
|
-
"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.",
|
|
101918
|
+
"default": "''",
|
|
101919
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
101920
|
+
"fieldName": "rel",
|
|
101897
101921
|
"inheritedFrom": {
|
|
101898
|
-
"name": "
|
|
101899
|
-
"module": "core/
|
|
101922
|
+
"name": "SbbLinkBaseElement",
|
|
101923
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101900
101924
|
}
|
|
101901
101925
|
},
|
|
101902
101926
|
{
|
|
101903
|
-
"
|
|
101904
|
-
"
|
|
101905
|
-
|
|
101906
|
-
|
|
101907
|
-
|
|
101908
|
-
|
|
101909
|
-
|
|
101927
|
+
"name": "download",
|
|
101928
|
+
"type": {
|
|
101929
|
+
"text": "boolean"
|
|
101930
|
+
},
|
|
101931
|
+
"default": "false",
|
|
101932
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
101933
|
+
"fieldName": "download",
|
|
101934
|
+
"inheritedFrom": {
|
|
101935
|
+
"name": "SbbLinkBaseElement",
|
|
101936
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101937
|
+
}
|
|
101938
|
+
},
|
|
101939
|
+
{
|
|
101940
|
+
"name": "accessibility-label",
|
|
101941
|
+
"type": {
|
|
101942
|
+
"text": "string"
|
|
101910
101943
|
},
|
|
101944
|
+
"default": "''",
|
|
101945
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
101946
|
+
"fieldName": "accessibilityLabel",
|
|
101911
101947
|
"inheritedFrom": {
|
|
101912
|
-
"name": "
|
|
101913
|
-
"module": "core/
|
|
101948
|
+
"name": "SbbLinkBaseElement",
|
|
101949
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101914
101950
|
}
|
|
101915
101951
|
},
|
|
101916
101952
|
{
|
|
101917
|
-
"
|
|
101918
|
-
"
|
|
101919
|
-
|
|
101920
|
-
"return": {
|
|
101921
|
-
"type": {
|
|
101922
|
-
"text": "void"
|
|
101923
|
-
}
|
|
101953
|
+
"name": "accessibility-current",
|
|
101954
|
+
"type": {
|
|
101955
|
+
"text": "string"
|
|
101924
101956
|
},
|
|
101925
|
-
"
|
|
101957
|
+
"default": "''",
|
|
101958
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
101959
|
+
"fieldName": "accessibilityCurrent",
|
|
101926
101960
|
"inheritedFrom": {
|
|
101927
|
-
"name": "
|
|
101928
|
-
"module": "core/
|
|
101961
|
+
"name": "SbbLinkBaseElement",
|
|
101962
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101929
101963
|
}
|
|
101964
|
+
}
|
|
101965
|
+
]
|
|
101966
|
+
}
|
|
101967
|
+
],
|
|
101968
|
+
"exports": [
|
|
101969
|
+
{
|
|
101970
|
+
"kind": "js",
|
|
101971
|
+
"name": "SbbBlockLinkElement",
|
|
101972
|
+
"declaration": {
|
|
101973
|
+
"name": "SbbBlockLinkElement",
|
|
101974
|
+
"module": "link/block-link/block-link.component.js"
|
|
101975
|
+
}
|
|
101976
|
+
}
|
|
101977
|
+
]
|
|
101978
|
+
},
|
|
101979
|
+
{
|
|
101980
|
+
"kind": "javascript-module",
|
|
101981
|
+
"path": "link/block-link-static/block-link-static.component.js",
|
|
101982
|
+
"declarations": [
|
|
101983
|
+
{
|
|
101984
|
+
"kind": "class",
|
|
101985
|
+
"description": "It displays a static link enhanced with the SBB Design.",
|
|
101986
|
+
"name": "SbbBlockLinkStaticElement",
|
|
101987
|
+
"slots": [
|
|
101988
|
+
{
|
|
101989
|
+
"description": "Use the unnamed slot to add content to the `sbb-block-link-static`.",
|
|
101990
|
+
"name": ""
|
|
101930
101991
|
},
|
|
101931
101992
|
{
|
|
101932
|
-
"
|
|
101933
|
-
"name": "
|
|
101934
|
-
|
|
101935
|
-
|
|
101936
|
-
|
|
101937
|
-
|
|
101938
|
-
|
|
101993
|
+
"description": "Slot used to display the icon, if one is set.",
|
|
101994
|
+
"name": "icon"
|
|
101995
|
+
}
|
|
101996
|
+
],
|
|
101997
|
+
"members": [
|
|
101998
|
+
{
|
|
101999
|
+
"kind": "field",
|
|
102000
|
+
"name": "elementName",
|
|
102001
|
+
"type": {
|
|
102002
|
+
"text": "string"
|
|
101939
102003
|
},
|
|
102004
|
+
"privacy": "public",
|
|
102005
|
+
"static": true,
|
|
102006
|
+
"readonly": true,
|
|
101940
102007
|
"inheritedFrom": {
|
|
101941
|
-
"name": "
|
|
101942
|
-
"module": "core/
|
|
102008
|
+
"name": "SbbElement",
|
|
102009
|
+
"module": "core/base-elements/element.js"
|
|
102010
|
+
},
|
|
102011
|
+
"default": "'sbb-block-link-static'"
|
|
102012
|
+
},
|
|
102013
|
+
{
|
|
102014
|
+
"kind": "field",
|
|
102015
|
+
"name": "styles",
|
|
102016
|
+
"type": {
|
|
102017
|
+
"text": "CSSResultGroup"
|
|
102018
|
+
},
|
|
102019
|
+
"privacy": "public",
|
|
102020
|
+
"static": true,
|
|
102021
|
+
"default": "[super.styles, unsafeCSS(blockStyle)]",
|
|
102022
|
+
"inheritedFrom": {
|
|
102023
|
+
"name": "SbbLinkCommonElementMixin",
|
|
102024
|
+
"module": "link/common/link-common.js"
|
|
101943
102025
|
}
|
|
101944
102026
|
},
|
|
101945
102027
|
{
|
|
101946
|
-
"kind": "
|
|
101947
|
-
"name": "
|
|
101948
|
-
"
|
|
101949
|
-
|
|
101950
|
-
"type": {
|
|
101951
|
-
"text": "void"
|
|
101952
|
-
}
|
|
102028
|
+
"kind": "field",
|
|
102029
|
+
"name": "iconPlacement",
|
|
102030
|
+
"type": {
|
|
102031
|
+
"text": "SbbIconPlacement"
|
|
101953
102032
|
},
|
|
101954
|
-
"
|
|
101955
|
-
|
|
101956
|
-
|
|
101957
|
-
|
|
101958
|
-
|
|
101959
|
-
}
|
|
101960
|
-
},
|
|
101961
|
-
{
|
|
101962
|
-
"name": "message",
|
|
101963
|
-
"type": {
|
|
101964
|
-
"text": "string"
|
|
101965
|
-
}
|
|
101966
|
-
},
|
|
101967
|
-
{
|
|
101968
|
-
"name": "flagValue",
|
|
101969
|
-
"optional": true,
|
|
101970
|
-
"type": {
|
|
101971
|
-
"text": "ValidityStateFlags[T]"
|
|
101972
|
-
}
|
|
101973
|
-
}
|
|
101974
|
-
],
|
|
101975
|
-
"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).",
|
|
102033
|
+
"privacy": "public",
|
|
102034
|
+
"default": "'start'",
|
|
102035
|
+
"description": "Moves the icon to the end of the component if set to true.",
|
|
102036
|
+
"attribute": "icon-placement",
|
|
102037
|
+
"reflects": true,
|
|
101976
102038
|
"inheritedFrom": {
|
|
101977
|
-
"name": "
|
|
101978
|
-
"module": "
|
|
102039
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
102040
|
+
"module": "link/common/block-link-common.js"
|
|
101979
102041
|
}
|
|
101980
102042
|
},
|
|
101981
102043
|
{
|
|
101982
102044
|
"kind": "method",
|
|
101983
|
-
"name": "
|
|
102045
|
+
"name": "renderTemplate",
|
|
101984
102046
|
"privacy": "protected",
|
|
101985
102047
|
"return": {
|
|
101986
102048
|
"type": {
|
|
101987
|
-
"text": "
|
|
102049
|
+
"text": "TemplateResult"
|
|
101988
102050
|
}
|
|
101989
102051
|
},
|
|
101990
|
-
"
|
|
101991
|
-
{
|
|
101992
|
-
"name": "flag",
|
|
101993
|
-
"type": {
|
|
101994
|
-
"text": "T"
|
|
101995
|
-
}
|
|
101996
|
-
}
|
|
101997
|
-
],
|
|
101998
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
102052
|
+
"description": "Override this method to render the component template.",
|
|
101999
102053
|
"inheritedFrom": {
|
|
102000
|
-
"name": "
|
|
102001
|
-
"module": "core/
|
|
102054
|
+
"name": "SbbActionBaseElement",
|
|
102055
|
+
"module": "core/base-elements/action-base-element.js"
|
|
102002
102056
|
}
|
|
102003
102057
|
},
|
|
102004
102058
|
{
|
|
102005
|
-
"kind": "
|
|
102006
|
-
"name": "
|
|
102007
|
-
"
|
|
102008
|
-
|
|
102009
|
-
"type": {
|
|
102010
|
-
"text": "void"
|
|
102011
|
-
}
|
|
102059
|
+
"kind": "field",
|
|
102060
|
+
"name": "size",
|
|
102061
|
+
"type": {
|
|
102062
|
+
"text": "SbbLinkSize"
|
|
102012
102063
|
},
|
|
102013
|
-
"
|
|
102064
|
+
"privacy": "public",
|
|
102065
|
+
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
102066
|
+
"default": "'s' / 'xs' (lean)",
|
|
102067
|
+
"attribute": "size",
|
|
102068
|
+
"reflects": true,
|
|
102014
102069
|
"inheritedFrom": {
|
|
102015
|
-
"name": "
|
|
102016
|
-
"module": "
|
|
102070
|
+
"name": "SbbLinkCommonElementMixin",
|
|
102071
|
+
"module": "link/common/link-common.js"
|
|
102072
|
+
}
|
|
102073
|
+
},
|
|
102074
|
+
{
|
|
102075
|
+
"kind": "field",
|
|
102076
|
+
"name": "iconName",
|
|
102077
|
+
"type": {
|
|
102078
|
+
"text": "string"
|
|
102079
|
+
},
|
|
102080
|
+
"privacy": "public",
|
|
102081
|
+
"default": "''",
|
|
102082
|
+
"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.",
|
|
102083
|
+
"attribute": "icon-name",
|
|
102084
|
+
"inheritedFrom": {
|
|
102085
|
+
"name": "SbbIconNameMixin",
|
|
102086
|
+
"module": "icon/icon-name-mixin.js"
|
|
102017
102087
|
}
|
|
102018
102088
|
},
|
|
102019
102089
|
{
|
|
102020
102090
|
"kind": "method",
|
|
102021
|
-
"name": "
|
|
102091
|
+
"name": "renderIconSlot",
|
|
102022
102092
|
"privacy": "protected",
|
|
102023
102093
|
"return": {
|
|
102024
102094
|
"type": {
|
|
102025
|
-
"text": "
|
|
102095
|
+
"text": "TemplateResult"
|
|
102026
102096
|
}
|
|
102027
102097
|
},
|
|
102028
102098
|
"parameters": [
|
|
102029
102099
|
{
|
|
102030
|
-
"name": "
|
|
102100
|
+
"name": "classname",
|
|
102101
|
+
"optional": true,
|
|
102031
102102
|
"type": {
|
|
102032
|
-
"text": "
|
|
102103
|
+
"text": "string"
|
|
102033
102104
|
}
|
|
102034
102105
|
}
|
|
102035
102106
|
],
|
|
102036
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
102037
102107
|
"inheritedFrom": {
|
|
102038
|
-
"name": "
|
|
102039
|
-
"module": "
|
|
102108
|
+
"name": "SbbIconNameMixin",
|
|
102109
|
+
"module": "icon/icon-name-mixin.js"
|
|
102040
102110
|
}
|
|
102041
102111
|
},
|
|
102042
102112
|
{
|
|
102043
102113
|
"kind": "method",
|
|
102044
|
-
"name": "
|
|
102045
|
-
"privacy": "
|
|
102114
|
+
"name": "renderIconName",
|
|
102115
|
+
"privacy": "protected",
|
|
102046
102116
|
"return": {
|
|
102047
102117
|
"type": {
|
|
102048
|
-
"text": "
|
|
102118
|
+
"text": "string"
|
|
102049
102119
|
}
|
|
102050
102120
|
},
|
|
102051
102121
|
"inheritedFrom": {
|
|
102052
|
-
"name": "
|
|
102053
|
-
"module": "
|
|
102054
|
-
}
|
|
102055
|
-
},
|
|
102056
|
-
{
|
|
102057
|
-
"kind": "field",
|
|
102058
|
-
"name": "role",
|
|
102059
|
-
"type": {
|
|
102060
|
-
"text": "ElementInternals['role']"
|
|
102061
|
-
},
|
|
102062
|
-
"privacy": "public",
|
|
102063
|
-
"static": true,
|
|
102064
|
-
"readonly": true,
|
|
102065
|
-
"default": "'button'",
|
|
102066
|
-
"inheritedFrom": {
|
|
102067
|
-
"name": "SbbButtonLikeBaseElement",
|
|
102068
|
-
"module": "core/base-elements/button-base-element.js"
|
|
102122
|
+
"name": "SbbIconNameMixin",
|
|
102123
|
+
"module": "icon/icon-name-mixin.js"
|
|
102069
102124
|
}
|
|
102070
102125
|
},
|
|
102071
102126
|
{
|
|
102072
|
-
"kind": "
|
|
102073
|
-
"name": "
|
|
102127
|
+
"kind": "method",
|
|
102128
|
+
"name": "_renderIconName",
|
|
102074
102129
|
"privacy": "private",
|
|
102075
|
-
"
|
|
102076
|
-
|
|
102077
|
-
|
|
102078
|
-
"description": "The origin event.",
|
|
102079
|
-
"name": "event"
|
|
102130
|
+
"return": {
|
|
102131
|
+
"type": {
|
|
102132
|
+
"text": "string"
|
|
102080
102133
|
}
|
|
102081
|
-
|
|
102134
|
+
},
|
|
102082
102135
|
"inheritedFrom": {
|
|
102083
|
-
"name": "
|
|
102084
|
-
"module": "
|
|
102136
|
+
"name": "SbbIconNameMixin",
|
|
102137
|
+
"module": "icon/icon-name-mixin.js"
|
|
102085
102138
|
}
|
|
102086
102139
|
},
|
|
102087
102140
|
{
|
|
102088
102141
|
"kind": "field",
|
|
102089
|
-
"name": "
|
|
102090
|
-
"privacy": "
|
|
102142
|
+
"name": "disabled",
|
|
102143
|
+
"privacy": "public",
|
|
102144
|
+
"description": "Whether the component is disabled.",
|
|
102145
|
+
"default": "false",
|
|
102146
|
+
"type": {
|
|
102147
|
+
"text": "boolean"
|
|
102148
|
+
},
|
|
102149
|
+
"attribute": "disabled",
|
|
102150
|
+
"reflects": true,
|
|
102091
102151
|
"inheritedFrom": {
|
|
102092
|
-
"name": "
|
|
102093
|
-
"module": "core/
|
|
102152
|
+
"name": "SbbDisabledMixin",
|
|
102153
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
102094
102154
|
}
|
|
102095
102155
|
},
|
|
102096
102156
|
{
|
|
102097
102157
|
"kind": "field",
|
|
102098
|
-
"name": "
|
|
102158
|
+
"name": "#disabled",
|
|
102099
102159
|
"privacy": "private",
|
|
102100
|
-
"
|
|
102101
|
-
|
|
102102
|
-
|
|
102103
|
-
|
|
102104
|
-
"name": "event"
|
|
102105
|
-
}
|
|
102106
|
-
],
|
|
102160
|
+
"type": {
|
|
102161
|
+
"text": "boolean"
|
|
102162
|
+
},
|
|
102163
|
+
"default": "false",
|
|
102107
102164
|
"inheritedFrom": {
|
|
102108
|
-
"name": "
|
|
102109
|
-
"module": "core/
|
|
102165
|
+
"name": "SbbDisabledMixin",
|
|
102166
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
102110
102167
|
}
|
|
102111
102168
|
},
|
|
102112
102169
|
{
|
|
102113
|
-
"kind": "
|
|
102114
|
-
"name": "
|
|
102115
|
-
"privacy": "
|
|
102170
|
+
"kind": "method",
|
|
102171
|
+
"name": "isDisabledExternally",
|
|
102172
|
+
"privacy": "protected",
|
|
102173
|
+
"return": {
|
|
102174
|
+
"type": {
|
|
102175
|
+
"text": "boolean"
|
|
102176
|
+
}
|
|
102177
|
+
},
|
|
102178
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
102116
102179
|
"inheritedFrom": {
|
|
102117
|
-
"name": "
|
|
102118
|
-
"module": "core/
|
|
102180
|
+
"name": "SbbDisabledMixin",
|
|
102181
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
102119
102182
|
}
|
|
102120
102183
|
},
|
|
102121
102184
|
{
|
|
@@ -102270,15 +102333,15 @@
|
|
|
102270
102333
|
"module": "link/common/block-link-common.js"
|
|
102271
102334
|
},
|
|
102272
102335
|
{
|
|
102273
|
-
"name": "
|
|
102336
|
+
"name": "SbbDisabledMixin",
|
|
102274
102337
|
"module": "core/mixins.js"
|
|
102275
102338
|
}
|
|
102276
102339
|
],
|
|
102277
102340
|
"superclass": {
|
|
102278
|
-
"name": "
|
|
102341
|
+
"name": "SbbActionBaseElement",
|
|
102279
102342
|
"module": "core/base-elements.js"
|
|
102280
102343
|
},
|
|
102281
|
-
"tagName": "sbb-block-link-
|
|
102344
|
+
"tagName": "sbb-block-link-static",
|
|
102282
102345
|
"customElement": true,
|
|
102283
102346
|
"attributes": [
|
|
102284
102347
|
{
|
|
@@ -102320,19 +102383,6 @@
|
|
|
102320
102383
|
"module": "icon/icon-name-mixin.js"
|
|
102321
102384
|
}
|
|
102322
102385
|
},
|
|
102323
|
-
{
|
|
102324
|
-
"name": "disabled-interactive",
|
|
102325
|
-
"type": {
|
|
102326
|
-
"text": "boolean"
|
|
102327
|
-
},
|
|
102328
|
-
"default": "false",
|
|
102329
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
102330
|
-
"fieldName": "disabledInteractive",
|
|
102331
|
-
"inheritedFrom": {
|
|
102332
|
-
"name": "SbbDisabledInteractiveMixin",
|
|
102333
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
102334
|
-
}
|
|
102335
|
-
},
|
|
102336
102386
|
{
|
|
102337
102387
|
"name": "disabled",
|
|
102338
102388
|
"description": "Whether the component is disabled.",
|
|
@@ -102345,56 +102395,6 @@
|
|
|
102345
102395
|
"name": "SbbDisabledMixin",
|
|
102346
102396
|
"module": "core/mixins/disabled-mixin.js"
|
|
102347
102397
|
}
|
|
102348
|
-
},
|
|
102349
|
-
{
|
|
102350
|
-
"name": "value",
|
|
102351
|
-
"type": {
|
|
102352
|
-
"text": "string"
|
|
102353
|
-
},
|
|
102354
|
-
"default": "''",
|
|
102355
|
-
"description": "Value of the form element.",
|
|
102356
|
-
"fieldName": "value",
|
|
102357
|
-
"inheritedFrom": {
|
|
102358
|
-
"name": "SbbButtonBaseElement",
|
|
102359
|
-
"module": "core/base-elements/button-base-element.js"
|
|
102360
|
-
}
|
|
102361
|
-
},
|
|
102362
|
-
{
|
|
102363
|
-
"name": "type",
|
|
102364
|
-
"description": "The type attribute to use for the button.",
|
|
102365
|
-
"default": "'button'",
|
|
102366
|
-
"type": {
|
|
102367
|
-
"text": "SbbButtonType"
|
|
102368
|
-
},
|
|
102369
|
-
"fieldName": "type",
|
|
102370
|
-
"inheritedFrom": {
|
|
102371
|
-
"name": "SbbButtonBaseElement",
|
|
102372
|
-
"module": "core/base-elements/button-base-element.js"
|
|
102373
|
-
}
|
|
102374
|
-
},
|
|
102375
|
-
{
|
|
102376
|
-
"name": "form",
|
|
102377
|
-
"description": "The `<form>` element to associate the button with.",
|
|
102378
|
-
"type": {
|
|
102379
|
-
"text": "HTMLFormElement | null"
|
|
102380
|
-
},
|
|
102381
|
-
"fieldName": "form",
|
|
102382
|
-
"inheritedFrom": {
|
|
102383
|
-
"name": "SbbButtonBaseElement",
|
|
102384
|
-
"module": "core/base-elements/button-base-element.js"
|
|
102385
|
-
}
|
|
102386
|
-
},
|
|
102387
|
-
{
|
|
102388
|
-
"name": "name",
|
|
102389
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
102390
|
-
"type": {
|
|
102391
|
-
"text": "string"
|
|
102392
|
-
},
|
|
102393
|
-
"fieldName": "name",
|
|
102394
|
-
"inheritedFrom": {
|
|
102395
|
-
"name": "SbbFormAssociatedMixin",
|
|
102396
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
102397
|
-
}
|
|
102398
102398
|
}
|
|
102399
102399
|
]
|
|
102400
102400
|
}
|
|
@@ -102402,10 +102402,10 @@
|
|
|
102402
102402
|
"exports": [
|
|
102403
102403
|
{
|
|
102404
102404
|
"kind": "js",
|
|
102405
|
-
"name": "
|
|
102405
|
+
"name": "SbbBlockLinkStaticElement",
|
|
102406
102406
|
"declaration": {
|
|
102407
|
-
"name": "
|
|
102408
|
-
"module": "link/block-link-
|
|
102407
|
+
"name": "SbbBlockLinkStaticElement",
|
|
102408
|
+
"module": "link/block-link-static/block-link-static.component.js"
|
|
102409
102409
|
}
|
|
102410
102410
|
}
|
|
102411
102411
|
]
|
|
@@ -131226,94 +131226,512 @@
|
|
|
131226
131226
|
}
|
|
131227
131227
|
},
|
|
131228
131228
|
{
|
|
131229
|
-
"name": "value",
|
|
131229
|
+
"name": "value",
|
|
131230
|
+
"type": {
|
|
131231
|
+
"text": "string"
|
|
131232
|
+
},
|
|
131233
|
+
"default": "''",
|
|
131234
|
+
"description": "Value of the form element.",
|
|
131235
|
+
"fieldName": "value",
|
|
131236
|
+
"inheritedFrom": {
|
|
131237
|
+
"name": "SbbButtonBaseElement",
|
|
131238
|
+
"module": "core/base-elements/button-base-element.js"
|
|
131239
|
+
}
|
|
131240
|
+
},
|
|
131241
|
+
{
|
|
131242
|
+
"name": "type",
|
|
131243
|
+
"description": "The type attribute to use for the button.",
|
|
131244
|
+
"default": "'button'",
|
|
131245
|
+
"type": {
|
|
131246
|
+
"text": "SbbButtonType"
|
|
131247
|
+
},
|
|
131248
|
+
"fieldName": "type",
|
|
131249
|
+
"inheritedFrom": {
|
|
131250
|
+
"name": "SbbButtonBaseElement",
|
|
131251
|
+
"module": "core/base-elements/button-base-element.js"
|
|
131252
|
+
}
|
|
131253
|
+
},
|
|
131254
|
+
{
|
|
131255
|
+
"name": "form",
|
|
131256
|
+
"description": "The `<form>` element to associate the button with.",
|
|
131257
|
+
"type": {
|
|
131258
|
+
"text": "HTMLFormElement | null"
|
|
131259
|
+
},
|
|
131260
|
+
"fieldName": "form",
|
|
131261
|
+
"inheritedFrom": {
|
|
131262
|
+
"name": "SbbButtonBaseElement",
|
|
131263
|
+
"module": "core/base-elements/button-base-element.js"
|
|
131264
|
+
}
|
|
131265
|
+
},
|
|
131266
|
+
{
|
|
131267
|
+
"name": "name",
|
|
131268
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
131269
|
+
"type": {
|
|
131270
|
+
"text": "string"
|
|
131271
|
+
},
|
|
131272
|
+
"fieldName": "name",
|
|
131273
|
+
"inheritedFrom": {
|
|
131274
|
+
"name": "SbbFormAssociatedMixin",
|
|
131275
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
131276
|
+
}
|
|
131277
|
+
}
|
|
131278
|
+
],
|
|
131279
|
+
"slots": [
|
|
131280
|
+
{
|
|
131281
|
+
"description": "Use the unnamed slot to add content to the secondary-button.",
|
|
131282
|
+
"name": "",
|
|
131283
|
+
"inheritedFrom": {
|
|
131284
|
+
"name": "SbbSecondaryButtonElement",
|
|
131285
|
+
"module": "button/secondary-button/secondary-button.component.js"
|
|
131286
|
+
}
|
|
131287
|
+
},
|
|
131288
|
+
{
|
|
131289
|
+
"description": "Slot used to display the icon, if one is set.",
|
|
131290
|
+
"name": "icon",
|
|
131291
|
+
"inheritedFrom": {
|
|
131292
|
+
"name": "SbbSecondaryButtonElement",
|
|
131293
|
+
"module": "button/secondary-button/secondary-button.component.js"
|
|
131294
|
+
}
|
|
131295
|
+
}
|
|
131296
|
+
],
|
|
131297
|
+
"cssProperties": [
|
|
131298
|
+
{
|
|
131299
|
+
"description": "The delay before the loading animation starts, when setting the button into loading state.",
|
|
131300
|
+
"name": "--sbb-button-loading-delay",
|
|
131301
|
+
"default": "300ms",
|
|
131302
|
+
"inheritedFrom": {
|
|
131303
|
+
"name": "SbbSecondaryButtonElement",
|
|
131304
|
+
"module": "button/secondary-button/secondary-button.component.js"
|
|
131305
|
+
}
|
|
131306
|
+
}
|
|
131307
|
+
]
|
|
131308
|
+
}
|
|
131309
|
+
],
|
|
131310
|
+
"exports": [
|
|
131311
|
+
{
|
|
131312
|
+
"kind": "js",
|
|
131313
|
+
"name": "SbbTimetableFormSwapButtonElement",
|
|
131314
|
+
"declaration": {
|
|
131315
|
+
"name": "SbbTimetableFormSwapButtonElement",
|
|
131316
|
+
"module": "timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.js"
|
|
131317
|
+
}
|
|
131318
|
+
}
|
|
131319
|
+
]
|
|
131320
|
+
},
|
|
131321
|
+
{
|
|
131322
|
+
"kind": "javascript-module",
|
|
131323
|
+
"path": "toggle/toggle-option/toggle-option.component.js",
|
|
131324
|
+
"declarations": [
|
|
131325
|
+
{
|
|
131326
|
+
"kind": "class",
|
|
131327
|
+
"description": "It displays a toggle option within a `sbb-toggle`.",
|
|
131328
|
+
"name": "SbbToggleOptionElement",
|
|
131329
|
+
"slots": [
|
|
131330
|
+
{
|
|
131331
|
+
"description": "Use the unnamed slot to add content to the label of the toggle option.",
|
|
131332
|
+
"name": ""
|
|
131333
|
+
},
|
|
131334
|
+
{
|
|
131335
|
+
"description": "Slot used to render the `sbb-icon`.",
|
|
131336
|
+
"name": "icon"
|
|
131337
|
+
}
|
|
131338
|
+
],
|
|
131339
|
+
"members": [
|
|
131340
|
+
{
|
|
131341
|
+
"kind": "field",
|
|
131342
|
+
"name": "elementName",
|
|
131343
|
+
"type": {
|
|
131344
|
+
"text": "string"
|
|
131345
|
+
},
|
|
131346
|
+
"privacy": "public",
|
|
131347
|
+
"static": true,
|
|
131348
|
+
"readonly": true,
|
|
131349
|
+
"default": "'sbb-toggle-option'",
|
|
131350
|
+
"inheritedFrom": {
|
|
131351
|
+
"name": "SbbElement",
|
|
131352
|
+
"module": "core/base-elements/element.js"
|
|
131353
|
+
}
|
|
131354
|
+
},
|
|
131355
|
+
{
|
|
131356
|
+
"kind": "field",
|
|
131357
|
+
"name": "role",
|
|
131358
|
+
"type": {
|
|
131359
|
+
"text": "string"
|
|
131360
|
+
},
|
|
131361
|
+
"privacy": "public",
|
|
131362
|
+
"static": true,
|
|
131363
|
+
"readonly": true,
|
|
131364
|
+
"default": "'radio'"
|
|
131365
|
+
},
|
|
131366
|
+
{
|
|
131367
|
+
"kind": "field",
|
|
131368
|
+
"name": "checked",
|
|
131369
|
+
"type": {
|
|
131370
|
+
"text": "boolean"
|
|
131371
|
+
},
|
|
131372
|
+
"privacy": "public",
|
|
131373
|
+
"default": "false",
|
|
131374
|
+
"description": "Whether the toggle-option is checked.",
|
|
131375
|
+
"attribute": "checked",
|
|
131376
|
+
"reflects": true
|
|
131377
|
+
},
|
|
131378
|
+
{
|
|
131379
|
+
"kind": "field",
|
|
131380
|
+
"name": "value",
|
|
131381
|
+
"type": {
|
|
131382
|
+
"text": "(T = string) | null"
|
|
131383
|
+
},
|
|
131384
|
+
"privacy": "public",
|
|
131385
|
+
"default": "null",
|
|
131386
|
+
"description": "Value of toggle-option.",
|
|
131387
|
+
"attribute": "value"
|
|
131388
|
+
},
|
|
131389
|
+
{
|
|
131390
|
+
"kind": "field",
|
|
131391
|
+
"name": "_toggle",
|
|
131392
|
+
"type": {
|
|
131393
|
+
"text": "SbbToggleElement | null"
|
|
131394
|
+
},
|
|
131395
|
+
"privacy": "private",
|
|
131396
|
+
"default": "null"
|
|
131397
|
+
},
|
|
131398
|
+
{
|
|
131399
|
+
"kind": "method",
|
|
131400
|
+
"name": "_uncheckOtherOptions",
|
|
131401
|
+
"privacy": "private",
|
|
131402
|
+
"return": {
|
|
131403
|
+
"type": {
|
|
131404
|
+
"text": "void"
|
|
131405
|
+
}
|
|
131406
|
+
}
|
|
131407
|
+
},
|
|
131408
|
+
{
|
|
131409
|
+
"kind": "method",
|
|
131410
|
+
"name": "_handleDisabledChange",
|
|
131411
|
+
"privacy": "private",
|
|
131412
|
+
"return": {
|
|
131413
|
+
"type": {
|
|
131414
|
+
"text": "void"
|
|
131415
|
+
}
|
|
131416
|
+
}
|
|
131417
|
+
},
|
|
131418
|
+
{
|
|
131419
|
+
"kind": "method",
|
|
131420
|
+
"name": "_handleInput",
|
|
131421
|
+
"privacy": "private",
|
|
131422
|
+
"return": {
|
|
131423
|
+
"type": {
|
|
131424
|
+
"text": "void"
|
|
131425
|
+
}
|
|
131426
|
+
}
|
|
131427
|
+
},
|
|
131428
|
+
{
|
|
131429
|
+
"kind": "method",
|
|
131430
|
+
"name": "_verifyTabindex",
|
|
131431
|
+
"privacy": "private",
|
|
131432
|
+
"return": {
|
|
131433
|
+
"type": {
|
|
131434
|
+
"text": "void"
|
|
131435
|
+
}
|
|
131436
|
+
}
|
|
131437
|
+
},
|
|
131438
|
+
{
|
|
131439
|
+
"kind": "field",
|
|
131440
|
+
"name": "disabled",
|
|
131441
|
+
"privacy": "public",
|
|
131442
|
+
"description": "Whether the component is disabled.",
|
|
131443
|
+
"default": "false",
|
|
131444
|
+
"type": {
|
|
131445
|
+
"text": "boolean"
|
|
131446
|
+
},
|
|
131447
|
+
"attribute": "disabled",
|
|
131448
|
+
"reflects": true,
|
|
131449
|
+
"inheritedFrom": {
|
|
131450
|
+
"name": "SbbDisabledMixin",
|
|
131451
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
131452
|
+
}
|
|
131453
|
+
},
|
|
131454
|
+
{
|
|
131455
|
+
"kind": "field",
|
|
131456
|
+
"name": "#disabled",
|
|
131457
|
+
"privacy": "private",
|
|
131458
|
+
"type": {
|
|
131459
|
+
"text": "boolean"
|
|
131460
|
+
},
|
|
131461
|
+
"default": "false",
|
|
131462
|
+
"inheritedFrom": {
|
|
131463
|
+
"name": "SbbDisabledMixin",
|
|
131464
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
131465
|
+
}
|
|
131466
|
+
},
|
|
131467
|
+
{
|
|
131468
|
+
"kind": "method",
|
|
131469
|
+
"name": "isDisabledExternally",
|
|
131470
|
+
"privacy": "protected",
|
|
131471
|
+
"return": {
|
|
131472
|
+
"type": {
|
|
131473
|
+
"text": "boolean"
|
|
131474
|
+
}
|
|
131475
|
+
},
|
|
131476
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
131477
|
+
"inheritedFrom": {
|
|
131478
|
+
"name": "SbbDisabledMixin",
|
|
131479
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
131480
|
+
}
|
|
131481
|
+
},
|
|
131482
|
+
{
|
|
131483
|
+
"kind": "field",
|
|
131484
|
+
"name": "iconName",
|
|
131485
|
+
"type": {
|
|
131486
|
+
"text": "string"
|
|
131487
|
+
},
|
|
131488
|
+
"privacy": "public",
|
|
131489
|
+
"default": "''",
|
|
131490
|
+
"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.",
|
|
131491
|
+
"attribute": "icon-name",
|
|
131492
|
+
"inheritedFrom": {
|
|
131493
|
+
"name": "SbbIconNameMixin",
|
|
131494
|
+
"module": "icon/icon-name-mixin.js"
|
|
131495
|
+
}
|
|
131496
|
+
},
|
|
131497
|
+
{
|
|
131498
|
+
"kind": "method",
|
|
131499
|
+
"name": "renderIconSlot",
|
|
131500
|
+
"privacy": "protected",
|
|
131501
|
+
"return": {
|
|
131502
|
+
"type": {
|
|
131503
|
+
"text": "TemplateResult"
|
|
131504
|
+
}
|
|
131505
|
+
},
|
|
131506
|
+
"parameters": [
|
|
131507
|
+
{
|
|
131508
|
+
"name": "classname",
|
|
131509
|
+
"optional": true,
|
|
131510
|
+
"type": {
|
|
131511
|
+
"text": "string"
|
|
131512
|
+
}
|
|
131513
|
+
}
|
|
131514
|
+
],
|
|
131515
|
+
"inheritedFrom": {
|
|
131516
|
+
"name": "SbbIconNameMixin",
|
|
131517
|
+
"module": "icon/icon-name-mixin.js"
|
|
131518
|
+
}
|
|
131519
|
+
},
|
|
131520
|
+
{
|
|
131521
|
+
"kind": "method",
|
|
131522
|
+
"name": "renderIconName",
|
|
131523
|
+
"privacy": "protected",
|
|
131524
|
+
"return": {
|
|
131525
|
+
"type": {
|
|
131526
|
+
"text": "string"
|
|
131527
|
+
}
|
|
131528
|
+
},
|
|
131529
|
+
"inheritedFrom": {
|
|
131530
|
+
"name": "SbbIconNameMixin",
|
|
131531
|
+
"module": "icon/icon-name-mixin.js"
|
|
131532
|
+
}
|
|
131533
|
+
},
|
|
131534
|
+
{
|
|
131535
|
+
"kind": "method",
|
|
131536
|
+
"name": "_renderIconName",
|
|
131537
|
+
"privacy": "private",
|
|
131538
|
+
"return": {
|
|
131539
|
+
"type": {
|
|
131540
|
+
"text": "string"
|
|
131541
|
+
}
|
|
131542
|
+
},
|
|
131543
|
+
"inheritedFrom": {
|
|
131544
|
+
"name": "SbbIconNameMixin",
|
|
131545
|
+
"module": "icon/icon-name-mixin.js"
|
|
131546
|
+
}
|
|
131547
|
+
},
|
|
131548
|
+
{
|
|
131549
|
+
"kind": "field",
|
|
131550
|
+
"name": "_hydrationRequired",
|
|
131551
|
+
"type": {
|
|
131552
|
+
"text": "boolean"
|
|
131553
|
+
},
|
|
131554
|
+
"privacy": "private",
|
|
131555
|
+
"default": "!!this.shadowRoot",
|
|
131556
|
+
"inheritedFrom": {
|
|
131557
|
+
"name": "SbbElement",
|
|
131558
|
+
"module": "core/base-elements/element.js"
|
|
131559
|
+
}
|
|
131560
|
+
},
|
|
131561
|
+
{
|
|
131562
|
+
"kind": "field",
|
|
131563
|
+
"name": "_hydrationComplete",
|
|
131564
|
+
"privacy": "private",
|
|
131565
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
131566
|
+
"inheritedFrom": {
|
|
131567
|
+
"name": "SbbElement",
|
|
131568
|
+
"module": "core/base-elements/element.js"
|
|
131569
|
+
}
|
|
131570
|
+
},
|
|
131571
|
+
{
|
|
131572
|
+
"kind": "field",
|
|
131573
|
+
"name": "_resolveHydration",
|
|
131574
|
+
"type": {
|
|
131575
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
131576
|
+
},
|
|
131577
|
+
"privacy": "private",
|
|
131578
|
+
"inheritedFrom": {
|
|
131579
|
+
"name": "SbbElement",
|
|
131580
|
+
"module": "core/base-elements/element.js"
|
|
131581
|
+
}
|
|
131582
|
+
},
|
|
131583
|
+
{
|
|
131584
|
+
"kind": "field",
|
|
131585
|
+
"name": "hydrationRequired",
|
|
131586
|
+
"type": {
|
|
131587
|
+
"text": "boolean"
|
|
131588
|
+
},
|
|
131589
|
+
"privacy": "protected",
|
|
131590
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
131591
|
+
"readonly": true,
|
|
131592
|
+
"inheritedFrom": {
|
|
131593
|
+
"name": "SbbElement",
|
|
131594
|
+
"module": "core/base-elements/element.js"
|
|
131595
|
+
},
|
|
131596
|
+
"default": "!!this.shadowRoot"
|
|
131597
|
+
},
|
|
131598
|
+
{
|
|
131599
|
+
"kind": "method",
|
|
131600
|
+
"name": "toggleState",
|
|
131601
|
+
"privacy": "protected",
|
|
131602
|
+
"return": {
|
|
131603
|
+
"type": {
|
|
131604
|
+
"text": "void"
|
|
131605
|
+
}
|
|
131606
|
+
},
|
|
131607
|
+
"parameters": [
|
|
131608
|
+
{
|
|
131609
|
+
"name": "value",
|
|
131610
|
+
"type": {
|
|
131611
|
+
"text": "string"
|
|
131612
|
+
}
|
|
131613
|
+
},
|
|
131614
|
+
{
|
|
131615
|
+
"name": "force",
|
|
131616
|
+
"optional": true,
|
|
131617
|
+
"type": {
|
|
131618
|
+
"text": "boolean"
|
|
131619
|
+
}
|
|
131620
|
+
}
|
|
131621
|
+
],
|
|
131622
|
+
"inheritedFrom": {
|
|
131623
|
+
"name": "SbbElement",
|
|
131624
|
+
"module": "core/base-elements/element.js"
|
|
131625
|
+
}
|
|
131626
|
+
},
|
|
131627
|
+
{
|
|
131628
|
+
"kind": "field",
|
|
131629
|
+
"name": "['_$sbbElement$']",
|
|
131630
|
+
"type": {
|
|
131631
|
+
"text": "boolean"
|
|
131632
|
+
},
|
|
131633
|
+
"privacy": "public",
|
|
131634
|
+
"static": true,
|
|
131635
|
+
"default": "true",
|
|
131636
|
+
"inheritedFrom": {
|
|
131637
|
+
"name": "SbbElement",
|
|
131638
|
+
"module": "core/base-elements/element.js"
|
|
131639
|
+
}
|
|
131640
|
+
},
|
|
131641
|
+
{
|
|
131642
|
+
"kind": "field",
|
|
131643
|
+
"name": "_controllers",
|
|
131644
|
+
"type": {
|
|
131645
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
131646
|
+
},
|
|
131647
|
+
"privacy": "private",
|
|
131648
|
+
"inheritedFrom": {
|
|
131649
|
+
"name": "SbbElement",
|
|
131650
|
+
"module": "core/base-elements/element.js"
|
|
131651
|
+
}
|
|
131652
|
+
}
|
|
131653
|
+
],
|
|
131654
|
+
"events": [
|
|
131655
|
+
{
|
|
131656
|
+
"type": {
|
|
131657
|
+
"text": "InputEvent"
|
|
131658
|
+
},
|
|
131659
|
+
"description": "The input event fires when the value has been changed as a direct result of a user action.",
|
|
131660
|
+
"name": "input"
|
|
131661
|
+
}
|
|
131662
|
+
],
|
|
131663
|
+
"attributes": [
|
|
131664
|
+
{
|
|
131665
|
+
"name": "checked",
|
|
131666
|
+
"type": {
|
|
131667
|
+
"text": "boolean"
|
|
131668
|
+
},
|
|
131669
|
+
"default": "false",
|
|
131670
|
+
"description": "Whether the toggle-option is checked.",
|
|
131671
|
+
"fieldName": "checked"
|
|
131672
|
+
},
|
|
131673
|
+
{
|
|
131674
|
+
"name": "value",
|
|
131675
|
+
"type": {
|
|
131676
|
+
"text": "T | null"
|
|
131677
|
+
},
|
|
131678
|
+
"default": "null",
|
|
131679
|
+
"description": "Value of toggle-option.",
|
|
131680
|
+
"fieldName": "value"
|
|
131681
|
+
},
|
|
131682
|
+
{
|
|
131683
|
+
"name": "disabled",
|
|
131684
|
+
"description": "Whether the component is disabled.",
|
|
131685
|
+
"default": "false",
|
|
131686
|
+
"type": {
|
|
131687
|
+
"text": "boolean"
|
|
131688
|
+
},
|
|
131689
|
+
"fieldName": "disabled",
|
|
131690
|
+
"inheritedFrom": {
|
|
131691
|
+
"name": "SbbDisabledMixin",
|
|
131692
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
131693
|
+
}
|
|
131694
|
+
},
|
|
131695
|
+
{
|
|
131696
|
+
"name": "icon-name",
|
|
131230
131697
|
"type": {
|
|
131231
131698
|
"text": "string"
|
|
131232
131699
|
},
|
|
131233
131700
|
"default": "''",
|
|
131234
|
-
"description": "
|
|
131235
|
-
"fieldName": "
|
|
131236
|
-
"inheritedFrom": {
|
|
131237
|
-
"name": "SbbButtonBaseElement",
|
|
131238
|
-
"module": "core/base-elements/button-base-element.js"
|
|
131239
|
-
}
|
|
131240
|
-
},
|
|
131241
|
-
{
|
|
131242
|
-
"name": "type",
|
|
131243
|
-
"description": "The type attribute to use for the button.",
|
|
131244
|
-
"default": "'button'",
|
|
131245
|
-
"type": {
|
|
131246
|
-
"text": "SbbButtonType"
|
|
131247
|
-
},
|
|
131248
|
-
"fieldName": "type",
|
|
131249
|
-
"inheritedFrom": {
|
|
131250
|
-
"name": "SbbButtonBaseElement",
|
|
131251
|
-
"module": "core/base-elements/button-base-element.js"
|
|
131252
|
-
}
|
|
131253
|
-
},
|
|
131254
|
-
{
|
|
131255
|
-
"name": "form",
|
|
131256
|
-
"description": "The `<form>` element to associate the button with.",
|
|
131257
|
-
"type": {
|
|
131258
|
-
"text": "HTMLFormElement | null"
|
|
131259
|
-
},
|
|
131260
|
-
"fieldName": "form",
|
|
131261
|
-
"inheritedFrom": {
|
|
131262
|
-
"name": "SbbButtonBaseElement",
|
|
131263
|
-
"module": "core/base-elements/button-base-element.js"
|
|
131264
|
-
}
|
|
131265
|
-
},
|
|
131266
|
-
{
|
|
131267
|
-
"name": "name",
|
|
131268
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
131269
|
-
"type": {
|
|
131270
|
-
"text": "string"
|
|
131271
|
-
},
|
|
131272
|
-
"fieldName": "name",
|
|
131701
|
+
"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.",
|
|
131702
|
+
"fieldName": "iconName",
|
|
131273
131703
|
"inheritedFrom": {
|
|
131274
|
-
"name": "
|
|
131275
|
-
"module": "
|
|
131704
|
+
"name": "SbbIconNameMixin",
|
|
131705
|
+
"module": "icon/icon-name-mixin.js"
|
|
131276
131706
|
}
|
|
131277
131707
|
}
|
|
131278
131708
|
],
|
|
131279
|
-
"
|
|
131709
|
+
"mixins": [
|
|
131280
131710
|
{
|
|
131281
|
-
"
|
|
131282
|
-
"
|
|
131283
|
-
"inheritedFrom": {
|
|
131284
|
-
"name": "SbbSecondaryButtonElement",
|
|
131285
|
-
"module": "button/secondary-button/secondary-button.component.js"
|
|
131286
|
-
}
|
|
131711
|
+
"name": "SbbDisabledMixin",
|
|
131712
|
+
"module": "core/mixins.js"
|
|
131287
131713
|
},
|
|
131288
131714
|
{
|
|
131289
|
-
"
|
|
131290
|
-
"
|
|
131291
|
-
"inheritedFrom": {
|
|
131292
|
-
"name": "SbbSecondaryButtonElement",
|
|
131293
|
-
"module": "button/secondary-button/secondary-button.component.js"
|
|
131294
|
-
}
|
|
131715
|
+
"name": "SbbIconNameMixin",
|
|
131716
|
+
"module": "icon.js"
|
|
131295
131717
|
}
|
|
131296
131718
|
],
|
|
131297
|
-
"
|
|
131298
|
-
|
|
131299
|
-
|
|
131300
|
-
|
|
131301
|
-
|
|
131302
|
-
|
|
131303
|
-
|
|
131304
|
-
"module": "button/secondary-button/secondary-button.component.js"
|
|
131305
|
-
}
|
|
131306
|
-
}
|
|
131307
|
-
]
|
|
131719
|
+
"superclass": {
|
|
131720
|
+
"name": "SbbElement",
|
|
131721
|
+
"module": "core/base-elements.js"
|
|
131722
|
+
},
|
|
131723
|
+
"tagName": "sbb-toggle-option",
|
|
131724
|
+
"customElement": true,
|
|
131725
|
+
"classGenerics": "T = string"
|
|
131308
131726
|
}
|
|
131309
131727
|
],
|
|
131310
131728
|
"exports": [
|
|
131311
131729
|
{
|
|
131312
131730
|
"kind": "js",
|
|
131313
|
-
"name": "
|
|
131731
|
+
"name": "SbbToggleOptionElement",
|
|
131314
131732
|
"declaration": {
|
|
131315
|
-
"name": "
|
|
131316
|
-
"module": "
|
|
131733
|
+
"name": "SbbToggleOptionElement",
|
|
131734
|
+
"module": "toggle/toggle-option/toggle-option.component.js"
|
|
131317
131735
|
}
|
|
131318
131736
|
}
|
|
131319
131737
|
]
|
|
@@ -132087,424 +132505,6 @@
|
|
|
132087
132505
|
}
|
|
132088
132506
|
]
|
|
132089
132507
|
},
|
|
132090
|
-
{
|
|
132091
|
-
"kind": "javascript-module",
|
|
132092
|
-
"path": "toggle/toggle-option/toggle-option.component.js",
|
|
132093
|
-
"declarations": [
|
|
132094
|
-
{
|
|
132095
|
-
"kind": "class",
|
|
132096
|
-
"description": "It displays a toggle option within a `sbb-toggle`.",
|
|
132097
|
-
"name": "SbbToggleOptionElement",
|
|
132098
|
-
"slots": [
|
|
132099
|
-
{
|
|
132100
|
-
"description": "Use the unnamed slot to add content to the label of the toggle option.",
|
|
132101
|
-
"name": ""
|
|
132102
|
-
},
|
|
132103
|
-
{
|
|
132104
|
-
"description": "Slot used to render the `sbb-icon`.",
|
|
132105
|
-
"name": "icon"
|
|
132106
|
-
}
|
|
132107
|
-
],
|
|
132108
|
-
"members": [
|
|
132109
|
-
{
|
|
132110
|
-
"kind": "field",
|
|
132111
|
-
"name": "elementName",
|
|
132112
|
-
"type": {
|
|
132113
|
-
"text": "string"
|
|
132114
|
-
},
|
|
132115
|
-
"privacy": "public",
|
|
132116
|
-
"static": true,
|
|
132117
|
-
"readonly": true,
|
|
132118
|
-
"default": "'sbb-toggle-option'",
|
|
132119
|
-
"inheritedFrom": {
|
|
132120
|
-
"name": "SbbElement",
|
|
132121
|
-
"module": "core/base-elements/element.js"
|
|
132122
|
-
}
|
|
132123
|
-
},
|
|
132124
|
-
{
|
|
132125
|
-
"kind": "field",
|
|
132126
|
-
"name": "role",
|
|
132127
|
-
"type": {
|
|
132128
|
-
"text": "string"
|
|
132129
|
-
},
|
|
132130
|
-
"privacy": "public",
|
|
132131
|
-
"static": true,
|
|
132132
|
-
"readonly": true,
|
|
132133
|
-
"default": "'radio'"
|
|
132134
|
-
},
|
|
132135
|
-
{
|
|
132136
|
-
"kind": "field",
|
|
132137
|
-
"name": "checked",
|
|
132138
|
-
"type": {
|
|
132139
|
-
"text": "boolean"
|
|
132140
|
-
},
|
|
132141
|
-
"privacy": "public",
|
|
132142
|
-
"default": "false",
|
|
132143
|
-
"description": "Whether the toggle-option is checked.",
|
|
132144
|
-
"attribute": "checked",
|
|
132145
|
-
"reflects": true
|
|
132146
|
-
},
|
|
132147
|
-
{
|
|
132148
|
-
"kind": "field",
|
|
132149
|
-
"name": "value",
|
|
132150
|
-
"type": {
|
|
132151
|
-
"text": "(T = string) | null"
|
|
132152
|
-
},
|
|
132153
|
-
"privacy": "public",
|
|
132154
|
-
"default": "null",
|
|
132155
|
-
"description": "Value of toggle-option.",
|
|
132156
|
-
"attribute": "value"
|
|
132157
|
-
},
|
|
132158
|
-
{
|
|
132159
|
-
"kind": "field",
|
|
132160
|
-
"name": "_toggle",
|
|
132161
|
-
"type": {
|
|
132162
|
-
"text": "SbbToggleElement | null"
|
|
132163
|
-
},
|
|
132164
|
-
"privacy": "private",
|
|
132165
|
-
"default": "null"
|
|
132166
|
-
},
|
|
132167
|
-
{
|
|
132168
|
-
"kind": "method",
|
|
132169
|
-
"name": "_uncheckOtherOptions",
|
|
132170
|
-
"privacy": "private",
|
|
132171
|
-
"return": {
|
|
132172
|
-
"type": {
|
|
132173
|
-
"text": "void"
|
|
132174
|
-
}
|
|
132175
|
-
}
|
|
132176
|
-
},
|
|
132177
|
-
{
|
|
132178
|
-
"kind": "method",
|
|
132179
|
-
"name": "_handleDisabledChange",
|
|
132180
|
-
"privacy": "private",
|
|
132181
|
-
"return": {
|
|
132182
|
-
"type": {
|
|
132183
|
-
"text": "void"
|
|
132184
|
-
}
|
|
132185
|
-
}
|
|
132186
|
-
},
|
|
132187
|
-
{
|
|
132188
|
-
"kind": "method",
|
|
132189
|
-
"name": "_handleInput",
|
|
132190
|
-
"privacy": "private",
|
|
132191
|
-
"return": {
|
|
132192
|
-
"type": {
|
|
132193
|
-
"text": "void"
|
|
132194
|
-
}
|
|
132195
|
-
}
|
|
132196
|
-
},
|
|
132197
|
-
{
|
|
132198
|
-
"kind": "method",
|
|
132199
|
-
"name": "_verifyTabindex",
|
|
132200
|
-
"privacy": "private",
|
|
132201
|
-
"return": {
|
|
132202
|
-
"type": {
|
|
132203
|
-
"text": "void"
|
|
132204
|
-
}
|
|
132205
|
-
}
|
|
132206
|
-
},
|
|
132207
|
-
{
|
|
132208
|
-
"kind": "field",
|
|
132209
|
-
"name": "disabled",
|
|
132210
|
-
"privacy": "public",
|
|
132211
|
-
"description": "Whether the component is disabled.",
|
|
132212
|
-
"default": "false",
|
|
132213
|
-
"type": {
|
|
132214
|
-
"text": "boolean"
|
|
132215
|
-
},
|
|
132216
|
-
"attribute": "disabled",
|
|
132217
|
-
"reflects": true,
|
|
132218
|
-
"inheritedFrom": {
|
|
132219
|
-
"name": "SbbDisabledMixin",
|
|
132220
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
132221
|
-
}
|
|
132222
|
-
},
|
|
132223
|
-
{
|
|
132224
|
-
"kind": "field",
|
|
132225
|
-
"name": "#disabled",
|
|
132226
|
-
"privacy": "private",
|
|
132227
|
-
"type": {
|
|
132228
|
-
"text": "boolean"
|
|
132229
|
-
},
|
|
132230
|
-
"default": "false",
|
|
132231
|
-
"inheritedFrom": {
|
|
132232
|
-
"name": "SbbDisabledMixin",
|
|
132233
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
132234
|
-
}
|
|
132235
|
-
},
|
|
132236
|
-
{
|
|
132237
|
-
"kind": "method",
|
|
132238
|
-
"name": "isDisabledExternally",
|
|
132239
|
-
"privacy": "protected",
|
|
132240
|
-
"return": {
|
|
132241
|
-
"type": {
|
|
132242
|
-
"text": "boolean"
|
|
132243
|
-
}
|
|
132244
|
-
},
|
|
132245
|
-
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
132246
|
-
"inheritedFrom": {
|
|
132247
|
-
"name": "SbbDisabledMixin",
|
|
132248
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
132249
|
-
}
|
|
132250
|
-
},
|
|
132251
|
-
{
|
|
132252
|
-
"kind": "field",
|
|
132253
|
-
"name": "iconName",
|
|
132254
|
-
"type": {
|
|
132255
|
-
"text": "string"
|
|
132256
|
-
},
|
|
132257
|
-
"privacy": "public",
|
|
132258
|
-
"default": "''",
|
|
132259
|
-
"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.",
|
|
132260
|
-
"attribute": "icon-name",
|
|
132261
|
-
"inheritedFrom": {
|
|
132262
|
-
"name": "SbbIconNameMixin",
|
|
132263
|
-
"module": "icon/icon-name-mixin.js"
|
|
132264
|
-
}
|
|
132265
|
-
},
|
|
132266
|
-
{
|
|
132267
|
-
"kind": "method",
|
|
132268
|
-
"name": "renderIconSlot",
|
|
132269
|
-
"privacy": "protected",
|
|
132270
|
-
"return": {
|
|
132271
|
-
"type": {
|
|
132272
|
-
"text": "TemplateResult"
|
|
132273
|
-
}
|
|
132274
|
-
},
|
|
132275
|
-
"parameters": [
|
|
132276
|
-
{
|
|
132277
|
-
"name": "classname",
|
|
132278
|
-
"optional": true,
|
|
132279
|
-
"type": {
|
|
132280
|
-
"text": "string"
|
|
132281
|
-
}
|
|
132282
|
-
}
|
|
132283
|
-
],
|
|
132284
|
-
"inheritedFrom": {
|
|
132285
|
-
"name": "SbbIconNameMixin",
|
|
132286
|
-
"module": "icon/icon-name-mixin.js"
|
|
132287
|
-
}
|
|
132288
|
-
},
|
|
132289
|
-
{
|
|
132290
|
-
"kind": "method",
|
|
132291
|
-
"name": "renderIconName",
|
|
132292
|
-
"privacy": "protected",
|
|
132293
|
-
"return": {
|
|
132294
|
-
"type": {
|
|
132295
|
-
"text": "string"
|
|
132296
|
-
}
|
|
132297
|
-
},
|
|
132298
|
-
"inheritedFrom": {
|
|
132299
|
-
"name": "SbbIconNameMixin",
|
|
132300
|
-
"module": "icon/icon-name-mixin.js"
|
|
132301
|
-
}
|
|
132302
|
-
},
|
|
132303
|
-
{
|
|
132304
|
-
"kind": "method",
|
|
132305
|
-
"name": "_renderIconName",
|
|
132306
|
-
"privacy": "private",
|
|
132307
|
-
"return": {
|
|
132308
|
-
"type": {
|
|
132309
|
-
"text": "string"
|
|
132310
|
-
}
|
|
132311
|
-
},
|
|
132312
|
-
"inheritedFrom": {
|
|
132313
|
-
"name": "SbbIconNameMixin",
|
|
132314
|
-
"module": "icon/icon-name-mixin.js"
|
|
132315
|
-
}
|
|
132316
|
-
},
|
|
132317
|
-
{
|
|
132318
|
-
"kind": "field",
|
|
132319
|
-
"name": "_hydrationRequired",
|
|
132320
|
-
"type": {
|
|
132321
|
-
"text": "boolean"
|
|
132322
|
-
},
|
|
132323
|
-
"privacy": "private",
|
|
132324
|
-
"default": "!!this.shadowRoot",
|
|
132325
|
-
"inheritedFrom": {
|
|
132326
|
-
"name": "SbbElement",
|
|
132327
|
-
"module": "core/base-elements/element.js"
|
|
132328
|
-
}
|
|
132329
|
-
},
|
|
132330
|
-
{
|
|
132331
|
-
"kind": "field",
|
|
132332
|
-
"name": "_hydrationComplete",
|
|
132333
|
-
"privacy": "private",
|
|
132334
|
-
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
132335
|
-
"inheritedFrom": {
|
|
132336
|
-
"name": "SbbElement",
|
|
132337
|
-
"module": "core/base-elements/element.js"
|
|
132338
|
-
}
|
|
132339
|
-
},
|
|
132340
|
-
{
|
|
132341
|
-
"kind": "field",
|
|
132342
|
-
"name": "_resolveHydration",
|
|
132343
|
-
"type": {
|
|
132344
|
-
"text": "(hydrationRequired: boolean) => void"
|
|
132345
|
-
},
|
|
132346
|
-
"privacy": "private",
|
|
132347
|
-
"inheritedFrom": {
|
|
132348
|
-
"name": "SbbElement",
|
|
132349
|
-
"module": "core/base-elements/element.js"
|
|
132350
|
-
}
|
|
132351
|
-
},
|
|
132352
|
-
{
|
|
132353
|
-
"kind": "field",
|
|
132354
|
-
"name": "hydrationRequired",
|
|
132355
|
-
"type": {
|
|
132356
|
-
"text": "boolean"
|
|
132357
|
-
},
|
|
132358
|
-
"privacy": "protected",
|
|
132359
|
-
"description": "Returns whether hydration is required and not completed.",
|
|
132360
|
-
"readonly": true,
|
|
132361
|
-
"inheritedFrom": {
|
|
132362
|
-
"name": "SbbElement",
|
|
132363
|
-
"module": "core/base-elements/element.js"
|
|
132364
|
-
},
|
|
132365
|
-
"default": "!!this.shadowRoot"
|
|
132366
|
-
},
|
|
132367
|
-
{
|
|
132368
|
-
"kind": "method",
|
|
132369
|
-
"name": "toggleState",
|
|
132370
|
-
"privacy": "protected",
|
|
132371
|
-
"return": {
|
|
132372
|
-
"type": {
|
|
132373
|
-
"text": "void"
|
|
132374
|
-
}
|
|
132375
|
-
},
|
|
132376
|
-
"parameters": [
|
|
132377
|
-
{
|
|
132378
|
-
"name": "value",
|
|
132379
|
-
"type": {
|
|
132380
|
-
"text": "string"
|
|
132381
|
-
}
|
|
132382
|
-
},
|
|
132383
|
-
{
|
|
132384
|
-
"name": "force",
|
|
132385
|
-
"optional": true,
|
|
132386
|
-
"type": {
|
|
132387
|
-
"text": "boolean"
|
|
132388
|
-
}
|
|
132389
|
-
}
|
|
132390
|
-
],
|
|
132391
|
-
"inheritedFrom": {
|
|
132392
|
-
"name": "SbbElement",
|
|
132393
|
-
"module": "core/base-elements/element.js"
|
|
132394
|
-
}
|
|
132395
|
-
},
|
|
132396
|
-
{
|
|
132397
|
-
"kind": "field",
|
|
132398
|
-
"name": "['_$sbbElement$']",
|
|
132399
|
-
"type": {
|
|
132400
|
-
"text": "boolean"
|
|
132401
|
-
},
|
|
132402
|
-
"privacy": "public",
|
|
132403
|
-
"static": true,
|
|
132404
|
-
"default": "true",
|
|
132405
|
-
"inheritedFrom": {
|
|
132406
|
-
"name": "SbbElement",
|
|
132407
|
-
"module": "core/base-elements/element.js"
|
|
132408
|
-
}
|
|
132409
|
-
},
|
|
132410
|
-
{
|
|
132411
|
-
"kind": "field",
|
|
132412
|
-
"name": "_controllers",
|
|
132413
|
-
"type": {
|
|
132414
|
-
"text": "Set<SbbReactiveController> | undefined"
|
|
132415
|
-
},
|
|
132416
|
-
"privacy": "private",
|
|
132417
|
-
"inheritedFrom": {
|
|
132418
|
-
"name": "SbbElement",
|
|
132419
|
-
"module": "core/base-elements/element.js"
|
|
132420
|
-
}
|
|
132421
|
-
}
|
|
132422
|
-
],
|
|
132423
|
-
"events": [
|
|
132424
|
-
{
|
|
132425
|
-
"type": {
|
|
132426
|
-
"text": "InputEvent"
|
|
132427
|
-
},
|
|
132428
|
-
"description": "The input event fires when the value has been changed as a direct result of a user action.",
|
|
132429
|
-
"name": "input"
|
|
132430
|
-
}
|
|
132431
|
-
],
|
|
132432
|
-
"attributes": [
|
|
132433
|
-
{
|
|
132434
|
-
"name": "checked",
|
|
132435
|
-
"type": {
|
|
132436
|
-
"text": "boolean"
|
|
132437
|
-
},
|
|
132438
|
-
"default": "false",
|
|
132439
|
-
"description": "Whether the toggle-option is checked.",
|
|
132440
|
-
"fieldName": "checked"
|
|
132441
|
-
},
|
|
132442
|
-
{
|
|
132443
|
-
"name": "value",
|
|
132444
|
-
"type": {
|
|
132445
|
-
"text": "T | null"
|
|
132446
|
-
},
|
|
132447
|
-
"default": "null",
|
|
132448
|
-
"description": "Value of toggle-option.",
|
|
132449
|
-
"fieldName": "value"
|
|
132450
|
-
},
|
|
132451
|
-
{
|
|
132452
|
-
"name": "disabled",
|
|
132453
|
-
"description": "Whether the component is disabled.",
|
|
132454
|
-
"default": "false",
|
|
132455
|
-
"type": {
|
|
132456
|
-
"text": "boolean"
|
|
132457
|
-
},
|
|
132458
|
-
"fieldName": "disabled",
|
|
132459
|
-
"inheritedFrom": {
|
|
132460
|
-
"name": "SbbDisabledMixin",
|
|
132461
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
132462
|
-
}
|
|
132463
|
-
},
|
|
132464
|
-
{
|
|
132465
|
-
"name": "icon-name",
|
|
132466
|
-
"type": {
|
|
132467
|
-
"text": "string"
|
|
132468
|
-
},
|
|
132469
|
-
"default": "''",
|
|
132470
|
-
"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.",
|
|
132471
|
-
"fieldName": "iconName",
|
|
132472
|
-
"inheritedFrom": {
|
|
132473
|
-
"name": "SbbIconNameMixin",
|
|
132474
|
-
"module": "icon/icon-name-mixin.js"
|
|
132475
|
-
}
|
|
132476
|
-
}
|
|
132477
|
-
],
|
|
132478
|
-
"mixins": [
|
|
132479
|
-
{
|
|
132480
|
-
"name": "SbbDisabledMixin",
|
|
132481
|
-
"module": "core/mixins.js"
|
|
132482
|
-
},
|
|
132483
|
-
{
|
|
132484
|
-
"name": "SbbIconNameMixin",
|
|
132485
|
-
"module": "icon.js"
|
|
132486
|
-
}
|
|
132487
|
-
],
|
|
132488
|
-
"superclass": {
|
|
132489
|
-
"name": "SbbElement",
|
|
132490
|
-
"module": "core/base-elements.js"
|
|
132491
|
-
},
|
|
132492
|
-
"tagName": "sbb-toggle-option",
|
|
132493
|
-
"customElement": true,
|
|
132494
|
-
"classGenerics": "T = string"
|
|
132495
|
-
}
|
|
132496
|
-
],
|
|
132497
|
-
"exports": [
|
|
132498
|
-
{
|
|
132499
|
-
"kind": "js",
|
|
132500
|
-
"name": "SbbToggleOptionElement",
|
|
132501
|
-
"declaration": {
|
|
132502
|
-
"name": "SbbToggleOptionElement",
|
|
132503
|
-
"module": "toggle/toggle-option/toggle-option.component.js"
|
|
132504
|
-
}
|
|
132505
|
-
}
|
|
132506
|
-
]
|
|
132507
|
-
},
|
|
132508
132508
|
{
|
|
132509
132509
|
"kind": "javascript-module",
|
|
132510
132510
|
"path": "train/train/train.component.js",
|