@sbb-esta/lyne-elements-dev 5.0.0-next-dev.1776477139 → 5.0.0-next-dev.1776636016
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 +710 -710
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -119351,15 +119351,15 @@
|
|
|
119351
119351
|
},
|
|
119352
119352
|
{
|
|
119353
119353
|
"kind": "javascript-module",
|
|
119354
|
-
"path": "link/block-link-
|
|
119354
|
+
"path": "link/block-link-static/block-link-static.component.js",
|
|
119355
119355
|
"declarations": [
|
|
119356
119356
|
{
|
|
119357
119357
|
"kind": "class",
|
|
119358
|
-
"description": "It displays a link enhanced with the SBB Design
|
|
119359
|
-
"name": "
|
|
119358
|
+
"description": "It displays a static link enhanced with the SBB Design.",
|
|
119359
|
+
"name": "SbbBlockLinkStaticElement",
|
|
119360
119360
|
"slots": [
|
|
119361
119361
|
{
|
|
119362
|
-
"description": "Use the unnamed slot to add content to the `sbb-block-link-
|
|
119362
|
+
"description": "Use the unnamed slot to add content to the `sbb-block-link-static`.",
|
|
119363
119363
|
"name": ""
|
|
119364
119364
|
},
|
|
119365
119365
|
{
|
|
@@ -119381,7 +119381,7 @@
|
|
|
119381
119381
|
"name": "SbbElement",
|
|
119382
119382
|
"module": "core/base-elements/element.js"
|
|
119383
119383
|
},
|
|
119384
|
-
"default": "'sbb-block-link-
|
|
119384
|
+
"default": "'sbb-block-link-static'"
|
|
119385
119385
|
},
|
|
119386
119386
|
{
|
|
119387
119387
|
"kind": "field",
|
|
@@ -119524,22 +119524,6 @@
|
|
|
119524
119524
|
"module": "icon/icon-name-mixin.js"
|
|
119525
119525
|
}
|
|
119526
119526
|
},
|
|
119527
|
-
{
|
|
119528
|
-
"kind": "field",
|
|
119529
|
-
"name": "disabledInteractive",
|
|
119530
|
-
"type": {
|
|
119531
|
-
"text": "boolean"
|
|
119532
|
-
},
|
|
119533
|
-
"privacy": "public",
|
|
119534
|
-
"default": "false",
|
|
119535
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
119536
|
-
"attribute": "disabled-interactive",
|
|
119537
|
-
"reflects": true,
|
|
119538
|
-
"inheritedFrom": {
|
|
119539
|
-
"name": "SbbDisabledInteractiveMixin",
|
|
119540
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
119541
|
-
}
|
|
119542
|
-
},
|
|
119543
119527
|
{
|
|
119544
119528
|
"kind": "field",
|
|
119545
119529
|
"name": "disabled",
|
|
@@ -119586,118 +119570,47 @@
|
|
|
119586
119570
|
},
|
|
119587
119571
|
{
|
|
119588
119572
|
"kind": "field",
|
|
119589
|
-
"name": "
|
|
119573
|
+
"name": "maybeDisabled",
|
|
119590
119574
|
"type": {
|
|
119591
|
-
"text": "
|
|
119575
|
+
"text": "boolean | undefined"
|
|
119592
119576
|
},
|
|
119593
|
-
"privacy": "
|
|
119577
|
+
"privacy": "protected",
|
|
119594
119578
|
"readonly": true,
|
|
119595
|
-
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
119596
|
-
"inheritedFrom": {
|
|
119597
|
-
"name": "SbbButtonBaseElement",
|
|
119598
|
-
"module": "core/base-elements/button-base-element.js"
|
|
119599
|
-
}
|
|
119600
|
-
},
|
|
119601
|
-
{
|
|
119602
|
-
"kind": "field",
|
|
119603
|
-
"name": "value",
|
|
119604
|
-
"type": {
|
|
119605
|
-
"text": "string"
|
|
119606
|
-
},
|
|
119607
|
-
"privacy": "public",
|
|
119608
|
-
"inheritedFrom": {
|
|
119609
|
-
"name": "SbbButtonBaseElement",
|
|
119610
|
-
"module": "core/base-elements/button-base-element.js"
|
|
119611
|
-
},
|
|
119612
|
-
"default": "''",
|
|
119613
|
-
"description": "Value of the form element.",
|
|
119614
|
-
"attribute": "value"
|
|
119615
|
-
},
|
|
119616
|
-
{
|
|
119617
|
-
"kind": "field",
|
|
119618
|
-
"name": "type",
|
|
119619
|
-
"privacy": "public",
|
|
119620
|
-
"description": "The type attribute to use for the button.",
|
|
119621
|
-
"default": "'button'",
|
|
119622
|
-
"type": {
|
|
119623
|
-
"text": "SbbButtonType"
|
|
119624
|
-
},
|
|
119625
|
-
"attribute": "type",
|
|
119626
119579
|
"inheritedFrom": {
|
|
119627
|
-
"name": "
|
|
119628
|
-
"module": "core/base-elements/
|
|
119580
|
+
"name": "SbbActionBaseElement",
|
|
119581
|
+
"module": "core/base-elements/action-base-element.js"
|
|
119629
119582
|
}
|
|
119630
119583
|
},
|
|
119631
119584
|
{
|
|
119632
119585
|
"kind": "field",
|
|
119633
|
-
"name": "
|
|
119634
|
-
"type": {
|
|
119635
|
-
"text": "HTMLFormElement | null"
|
|
119636
|
-
},
|
|
119637
|
-
"privacy": "public",
|
|
119638
|
-
"description": "The `<form>` element to associate the button with.",
|
|
119639
|
-
"inheritedFrom": {
|
|
119640
|
-
"name": "SbbButtonBaseElement",
|
|
119641
|
-
"module": "core/base-elements/button-base-element.js"
|
|
119642
|
-
},
|
|
119643
|
-
"attribute": "form"
|
|
119644
|
-
},
|
|
119645
|
-
{
|
|
119646
|
-
"kind": "field",
|
|
119647
|
-
"name": "_formId",
|
|
119586
|
+
"name": "maybeDisabledInteractive",
|
|
119648
119587
|
"type": {
|
|
119649
|
-
"text": "
|
|
119588
|
+
"text": "boolean | undefined"
|
|
119650
119589
|
},
|
|
119651
|
-
"privacy": "
|
|
119652
|
-
"
|
|
119653
|
-
"inheritedFrom": {
|
|
119654
|
-
"name": "SbbButtonBaseElement",
|
|
119655
|
-
"module": "core/base-elements/button-base-element.js"
|
|
119656
|
-
}
|
|
119657
|
-
},
|
|
119658
|
-
{
|
|
119659
|
-
"kind": "field",
|
|
119660
|
-
"name": "_handleButtonClick",
|
|
119661
|
-
"privacy": "private",
|
|
119590
|
+
"privacy": "protected",
|
|
119591
|
+
"readonly": true,
|
|
119662
119592
|
"inheritedFrom": {
|
|
119663
|
-
"name": "
|
|
119664
|
-
"module": "core/base-elements/
|
|
119593
|
+
"name": "SbbActionBaseElement",
|
|
119594
|
+
"module": "core/base-elements/action-base-element.js"
|
|
119665
119595
|
}
|
|
119666
119596
|
},
|
|
119667
119597
|
{
|
|
119668
119598
|
"kind": "method",
|
|
119669
|
-
"name": "
|
|
119670
|
-
"privacy": "
|
|
119599
|
+
"name": "setupBaseEventHandlers",
|
|
119600
|
+
"privacy": "protected",
|
|
119671
119601
|
"return": {
|
|
119672
119602
|
"type": {
|
|
119673
119603
|
"text": "void"
|
|
119674
119604
|
}
|
|
119675
119605
|
},
|
|
119676
|
-
"parameters": [
|
|
119677
|
-
{
|
|
119678
|
-
"name": "form",
|
|
119679
|
-
"type": {
|
|
119680
|
-
"text": "HTMLFormElement"
|
|
119681
|
-
}
|
|
119682
|
-
}
|
|
119683
|
-
],
|
|
119684
|
-
"inheritedFrom": {
|
|
119685
|
-
"name": "SbbButtonBaseElement",
|
|
119686
|
-
"module": "core/base-elements/button-base-element.js"
|
|
119687
|
-
}
|
|
119688
|
-
},
|
|
119689
|
-
{
|
|
119690
|
-
"kind": "field",
|
|
119691
|
-
"name": "_formKeyDown",
|
|
119692
|
-
"privacy": "private",
|
|
119693
119606
|
"inheritedFrom": {
|
|
119694
|
-
"name": "
|
|
119695
|
-
"module": "core/base-elements/
|
|
119607
|
+
"name": "SbbActionBaseElement",
|
|
119608
|
+
"module": "core/base-elements/action-base-element.js"
|
|
119696
119609
|
}
|
|
119697
119610
|
},
|
|
119698
119611
|
{
|
|
119699
119612
|
"kind": "field",
|
|
119700
|
-
"name": "
|
|
119613
|
+
"name": "['_$sbbElement$']",
|
|
119701
119614
|
"type": {
|
|
119702
119615
|
"text": "boolean"
|
|
119703
119616
|
},
|
|
@@ -119705,124 +119618,101 @@
|
|
|
119705
119618
|
"static": true,
|
|
119706
119619
|
"default": "true",
|
|
119707
119620
|
"inheritedFrom": {
|
|
119708
|
-
"name": "
|
|
119709
|
-
"module": "core/
|
|
119710
|
-
}
|
|
119711
|
-
},
|
|
119712
|
-
{
|
|
119713
|
-
"kind": "field",
|
|
119714
|
-
"name": "name",
|
|
119715
|
-
"privacy": "public",
|
|
119716
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
119717
|
-
"type": {
|
|
119718
|
-
"text": "string"
|
|
119719
|
-
},
|
|
119720
|
-
"attribute": "name",
|
|
119721
|
-
"inheritedFrom": {
|
|
119722
|
-
"name": "SbbFormAssociatedMixin",
|
|
119723
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
119621
|
+
"name": "SbbElement",
|
|
119622
|
+
"module": "core/base-elements/element.js"
|
|
119724
119623
|
}
|
|
119725
119624
|
},
|
|
119726
119625
|
{
|
|
119727
119626
|
"kind": "field",
|
|
119728
|
-
"name": "
|
|
119627
|
+
"name": "role",
|
|
119729
119628
|
"type": {
|
|
119730
|
-
"text": "
|
|
119629
|
+
"text": "ElementInternals['role'] | undefined"
|
|
119731
119630
|
},
|
|
119732
119631
|
"privacy": "public",
|
|
119733
|
-
"
|
|
119734
|
-
"readonly": true,
|
|
119632
|
+
"static": true,
|
|
119735
119633
|
"inheritedFrom": {
|
|
119736
|
-
"name": "
|
|
119737
|
-
"module": "core/
|
|
119634
|
+
"name": "SbbElement",
|
|
119635
|
+
"module": "core/base-elements/element.js"
|
|
119738
119636
|
}
|
|
119739
119637
|
},
|
|
119740
119638
|
{
|
|
119741
119639
|
"kind": "field",
|
|
119742
|
-
"name": "
|
|
119640
|
+
"name": "_controllers",
|
|
119743
119641
|
"type": {
|
|
119744
|
-
"text": "
|
|
119642
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
119745
119643
|
},
|
|
119746
|
-
"privacy": "
|
|
119747
|
-
"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.",
|
|
119748
|
-
"readonly": true,
|
|
119644
|
+
"privacy": "private",
|
|
119749
119645
|
"inheritedFrom": {
|
|
119750
|
-
"name": "
|
|
119751
|
-
"module": "core/
|
|
119646
|
+
"name": "SbbElement",
|
|
119647
|
+
"module": "core/base-elements/element.js"
|
|
119752
119648
|
}
|
|
119753
119649
|
},
|
|
119754
119650
|
{
|
|
119755
119651
|
"kind": "field",
|
|
119756
|
-
"name": "
|
|
119652
|
+
"name": "_hydrationRequired",
|
|
119757
119653
|
"type": {
|
|
119758
119654
|
"text": "boolean"
|
|
119759
119655
|
},
|
|
119760
|
-
"privacy": "
|
|
119761
|
-
"
|
|
119762
|
-
"readonly": true,
|
|
119656
|
+
"privacy": "private",
|
|
119657
|
+
"default": "!!this.shadowRoot",
|
|
119763
119658
|
"inheritedFrom": {
|
|
119764
|
-
"name": "
|
|
119765
|
-
"module": "core/
|
|
119659
|
+
"name": "SbbElement",
|
|
119660
|
+
"module": "core/base-elements/element.js"
|
|
119766
119661
|
}
|
|
119767
119662
|
},
|
|
119768
119663
|
{
|
|
119769
119664
|
"kind": "field",
|
|
119770
|
-
"name": "
|
|
119665
|
+
"name": "_hydrationComplete",
|
|
119771
119666
|
"privacy": "private",
|
|
119772
|
-
"default": "new
|
|
119667
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
119773
119668
|
"inheritedFrom": {
|
|
119774
|
-
"name": "
|
|
119775
|
-
"module": "core/
|
|
119669
|
+
"name": "SbbElement",
|
|
119670
|
+
"module": "core/base-elements/element.js"
|
|
119776
119671
|
}
|
|
119777
119672
|
},
|
|
119778
119673
|
{
|
|
119779
119674
|
"kind": "field",
|
|
119780
|
-
"name": "
|
|
119675
|
+
"name": "_resolveHydration",
|
|
119781
119676
|
"type": {
|
|
119782
|
-
"text": "boolean"
|
|
119677
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
119783
119678
|
},
|
|
119784
|
-
"privacy": "
|
|
119785
|
-
"default": "false",
|
|
119786
|
-
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
119679
|
+
"privacy": "private",
|
|
119787
119680
|
"inheritedFrom": {
|
|
119788
|
-
"name": "
|
|
119789
|
-
"module": "core/
|
|
119681
|
+
"name": "SbbElement",
|
|
119682
|
+
"module": "core/base-elements/element.js"
|
|
119790
119683
|
}
|
|
119791
119684
|
},
|
|
119792
119685
|
{
|
|
119793
|
-
"kind": "
|
|
119794
|
-
"name": "
|
|
119795
|
-
"
|
|
119796
|
-
|
|
119797
|
-
"type": {
|
|
119798
|
-
"text": "boolean"
|
|
119799
|
-
}
|
|
119686
|
+
"kind": "field",
|
|
119687
|
+
"name": "_textObserver",
|
|
119688
|
+
"type": {
|
|
119689
|
+
"text": "MutationObserver | undefined"
|
|
119800
119690
|
},
|
|
119801
|
-
"
|
|
119691
|
+
"privacy": "private",
|
|
119802
119692
|
"inheritedFrom": {
|
|
119803
|
-
"name": "
|
|
119804
|
-
"module": "core/
|
|
119693
|
+
"name": "SbbElement",
|
|
119694
|
+
"module": "core/base-elements/element.js"
|
|
119805
119695
|
}
|
|
119806
119696
|
},
|
|
119807
119697
|
{
|
|
119808
|
-
"kind": "
|
|
119809
|
-
"name": "
|
|
119810
|
-
"
|
|
119811
|
-
|
|
119812
|
-
"type": {
|
|
119813
|
-
"text": "boolean"
|
|
119814
|
-
}
|
|
119698
|
+
"kind": "field",
|
|
119699
|
+
"name": "hydrationRequired",
|
|
119700
|
+
"type": {
|
|
119701
|
+
"text": "boolean"
|
|
119815
119702
|
},
|
|
119816
|
-
"
|
|
119703
|
+
"privacy": "protected",
|
|
119704
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
119705
|
+
"readonly": true,
|
|
119817
119706
|
"inheritedFrom": {
|
|
119818
|
-
"name": "
|
|
119819
|
-
"module": "core/
|
|
119820
|
-
}
|
|
119707
|
+
"name": "SbbElement",
|
|
119708
|
+
"module": "core/base-elements/element.js"
|
|
119709
|
+
},
|
|
119710
|
+
"default": "!!this.shadowRoot"
|
|
119821
119711
|
},
|
|
119822
119712
|
{
|
|
119823
119713
|
"kind": "method",
|
|
119824
|
-
"name": "
|
|
119825
|
-
"privacy": "
|
|
119714
|
+
"name": "toggleState",
|
|
119715
|
+
"privacy": "protected",
|
|
119826
119716
|
"return": {
|
|
119827
119717
|
"type": {
|
|
119828
119718
|
"text": "void"
|
|
@@ -119830,65 +119720,28 @@
|
|
|
119830
119720
|
},
|
|
119831
119721
|
"parameters": [
|
|
119832
119722
|
{
|
|
119833
|
-
"name": "
|
|
119723
|
+
"name": "value",
|
|
119834
119724
|
"type": {
|
|
119835
119725
|
"text": "string"
|
|
119836
119726
|
}
|
|
119727
|
+
},
|
|
119728
|
+
{
|
|
119729
|
+
"name": "force",
|
|
119730
|
+
"optional": true,
|
|
119731
|
+
"type": {
|
|
119732
|
+
"text": "boolean"
|
|
119733
|
+
}
|
|
119837
119734
|
}
|
|
119838
119735
|
],
|
|
119839
|
-
"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.",
|
|
119840
119736
|
"inheritedFrom": {
|
|
119841
|
-
"name": "
|
|
119842
|
-
"module": "core/
|
|
119737
|
+
"name": "SbbElement",
|
|
119738
|
+
"module": "core/base-elements/element.js"
|
|
119843
119739
|
}
|
|
119844
119740
|
},
|
|
119845
119741
|
{
|
|
119846
119742
|
"kind": "method",
|
|
119847
|
-
"name": "
|
|
119743
|
+
"name": "_slotchangeHandler",
|
|
119848
119744
|
"privacy": "private",
|
|
119849
|
-
"return": {
|
|
119850
|
-
"type": {
|
|
119851
|
-
"text": "boolean"
|
|
119852
|
-
}
|
|
119853
|
-
},
|
|
119854
|
-
"inheritedFrom": {
|
|
119855
|
-
"name": "SbbFormAssociatedMixin",
|
|
119856
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
119857
|
-
}
|
|
119858
|
-
},
|
|
119859
|
-
{
|
|
119860
|
-
"kind": "method",
|
|
119861
|
-
"name": "updateFormValue",
|
|
119862
|
-
"privacy": "protected",
|
|
119863
|
-
"return": {
|
|
119864
|
-
"type": {
|
|
119865
|
-
"text": "void"
|
|
119866
|
-
}
|
|
119867
|
-
},
|
|
119868
|
-
"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",
|
|
119869
|
-
"inheritedFrom": {
|
|
119870
|
-
"name": "SbbFormAssociatedMixin",
|
|
119871
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
119872
|
-
}
|
|
119873
|
-
},
|
|
119874
|
-
{
|
|
119875
|
-
"kind": "method",
|
|
119876
|
-
"name": "formState",
|
|
119877
|
-
"privacy": "protected",
|
|
119878
|
-
"return": {
|
|
119879
|
-
"type": {
|
|
119880
|
-
"text": "FormRestoreState"
|
|
119881
|
-
}
|
|
119882
|
-
},
|
|
119883
|
-
"inheritedFrom": {
|
|
119884
|
-
"name": "SbbFormAssociatedMixin",
|
|
119885
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
119886
|
-
}
|
|
119887
|
-
},
|
|
119888
|
-
{
|
|
119889
|
-
"kind": "method",
|
|
119890
|
-
"name": "setValidityFlag",
|
|
119891
|
-
"privacy": "protected",
|
|
119892
119745
|
"return": {
|
|
119893
119746
|
"type": {
|
|
119894
119747
|
"text": "void"
|
|
@@ -119896,35 +119749,27 @@
|
|
|
119896
119749
|
},
|
|
119897
119750
|
"parameters": [
|
|
119898
119751
|
{
|
|
119899
|
-
"name": "
|
|
119900
|
-
"type": {
|
|
119901
|
-
"text": "T"
|
|
119902
|
-
}
|
|
119903
|
-
},
|
|
119904
|
-
{
|
|
119905
|
-
"name": "message",
|
|
119752
|
+
"name": "event",
|
|
119906
119753
|
"type": {
|
|
119907
|
-
"text": "
|
|
119754
|
+
"text": "Event"
|
|
119908
119755
|
}
|
|
119909
119756
|
},
|
|
119910
119757
|
{
|
|
119911
|
-
"name": "
|
|
119912
|
-
"optional": true,
|
|
119758
|
+
"name": "slot",
|
|
119913
119759
|
"type": {
|
|
119914
|
-
"text": "
|
|
119760
|
+
"text": "HTMLSlotElement"
|
|
119915
119761
|
}
|
|
119916
119762
|
}
|
|
119917
119763
|
],
|
|
119918
|
-
"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).",
|
|
119919
119764
|
"inheritedFrom": {
|
|
119920
|
-
"name": "
|
|
119921
|
-
"module": "core/
|
|
119765
|
+
"name": "SbbElement",
|
|
119766
|
+
"module": "core/base-elements/element.js"
|
|
119922
119767
|
}
|
|
119923
119768
|
},
|
|
119924
119769
|
{
|
|
119925
119770
|
"kind": "method",
|
|
119926
|
-
"name": "
|
|
119927
|
-
"privacy": "
|
|
119771
|
+
"name": "_handleSlotChangeForSlottedState",
|
|
119772
|
+
"privacy": "private",
|
|
119928
119773
|
"return": {
|
|
119929
119774
|
"type": {
|
|
119930
119775
|
"text": "void"
|
|
@@ -119932,772 +119777,877 @@
|
|
|
119932
119777
|
},
|
|
119933
119778
|
"parameters": [
|
|
119934
119779
|
{
|
|
119935
|
-
"name": "
|
|
119780
|
+
"name": "slot",
|
|
119936
119781
|
"type": {
|
|
119937
|
-
"text": "
|
|
119782
|
+
"text": "HTMLSlotElement"
|
|
119938
119783
|
}
|
|
119939
119784
|
}
|
|
119940
119785
|
],
|
|
119941
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
119942
119786
|
"inheritedFrom": {
|
|
119943
|
-
"name": "
|
|
119944
|
-
"module": "core/
|
|
119787
|
+
"name": "SbbElement",
|
|
119788
|
+
"module": "core/base-elements/element.js"
|
|
119945
119789
|
}
|
|
119946
119790
|
},
|
|
119947
119791
|
{
|
|
119948
119792
|
"kind": "method",
|
|
119949
|
-
"name": "
|
|
119950
|
-
"privacy": "
|
|
119793
|
+
"name": "_updateSlottedState",
|
|
119794
|
+
"privacy": "private",
|
|
119951
119795
|
"return": {
|
|
119952
119796
|
"type": {
|
|
119953
119797
|
"text": "void"
|
|
119954
119798
|
}
|
|
119955
119799
|
},
|
|
119956
|
-
"description": "To be called whenever the current element needs to be validated.",
|
|
119957
|
-
"inheritedFrom": {
|
|
119958
|
-
"name": "SbbFormAssociatedMixin",
|
|
119959
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
119960
|
-
}
|
|
119961
|
-
},
|
|
119962
|
-
{
|
|
119963
|
-
"kind": "method",
|
|
119964
|
-
"name": "shouldValidate",
|
|
119965
|
-
"privacy": "protected",
|
|
119966
|
-
"return": {
|
|
119967
|
-
"type": {
|
|
119968
|
-
"text": "boolean"
|
|
119969
|
-
}
|
|
119970
|
-
},
|
|
119971
119800
|
"parameters": [
|
|
119972
119801
|
{
|
|
119973
|
-
"name": "
|
|
119802
|
+
"name": "slot",
|
|
119974
119803
|
"type": {
|
|
119975
|
-
"text": "
|
|
119804
|
+
"text": "HTMLSlotElement"
|
|
119976
119805
|
}
|
|
119977
119806
|
}
|
|
119978
119807
|
],
|
|
119979
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
119980
119808
|
"inheritedFrom": {
|
|
119981
|
-
"name": "
|
|
119982
|
-
"module": "core/
|
|
119809
|
+
"name": "SbbElement",
|
|
119810
|
+
"module": "core/base-elements/element.js"
|
|
119983
119811
|
}
|
|
119984
119812
|
},
|
|
119985
119813
|
{
|
|
119986
119814
|
"kind": "method",
|
|
119987
|
-
"name": "
|
|
119815
|
+
"name": "_observeTextNodesInSlot",
|
|
119988
119816
|
"privacy": "private",
|
|
119989
119817
|
"return": {
|
|
119990
119818
|
"type": {
|
|
119991
119819
|
"text": "void"
|
|
119992
119820
|
}
|
|
119993
119821
|
},
|
|
119994
|
-
"inheritedFrom": {
|
|
119995
|
-
"name": "SbbFormAssociatedMixin",
|
|
119996
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
119997
|
-
}
|
|
119998
|
-
},
|
|
119999
|
-
{
|
|
120000
|
-
"kind": "field",
|
|
120001
|
-
"name": "role",
|
|
120002
|
-
"type": {
|
|
120003
|
-
"text": "ElementInternals['role']"
|
|
120004
|
-
},
|
|
120005
|
-
"privacy": "public",
|
|
120006
|
-
"static": true,
|
|
120007
|
-
"inheritedFrom": {
|
|
120008
|
-
"name": "SbbElement",
|
|
120009
|
-
"module": "core/base-elements/element.js"
|
|
120010
|
-
},
|
|
120011
|
-
"readonly": true,
|
|
120012
|
-
"default": "'button'"
|
|
120013
|
-
},
|
|
120014
|
-
{
|
|
120015
|
-
"kind": "field",
|
|
120016
|
-
"name": "_preventScrollOnSpaceKeydown",
|
|
120017
|
-
"privacy": "private",
|
|
120018
|
-
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
120019
119822
|
"parameters": [
|
|
120020
119823
|
{
|
|
120021
|
-
"
|
|
120022
|
-
"
|
|
119824
|
+
"name": "slot",
|
|
119825
|
+
"type": {
|
|
119826
|
+
"text": "HTMLSlotElement"
|
|
119827
|
+
}
|
|
120023
119828
|
}
|
|
120024
119829
|
],
|
|
120025
119830
|
"inheritedFrom": {
|
|
120026
|
-
"name": "
|
|
120027
|
-
"module": "core/base-elements/
|
|
120028
|
-
}
|
|
120029
|
-
},
|
|
120030
|
-
{
|
|
120031
|
-
"kind": "field",
|
|
120032
|
-
"name": "_removeActiveMarker",
|
|
120033
|
-
"privacy": "private",
|
|
120034
|
-
"inheritedFrom": {
|
|
120035
|
-
"name": "SbbButtonLikeBaseElement",
|
|
120036
|
-
"module": "core/base-elements/button-base-element.js"
|
|
119831
|
+
"name": "SbbElement",
|
|
119832
|
+
"module": "core/base-elements/element.js"
|
|
120037
119833
|
}
|
|
120038
119834
|
},
|
|
120039
119835
|
{
|
|
120040
|
-
"kind": "
|
|
120041
|
-
"name": "
|
|
119836
|
+
"kind": "method",
|
|
119837
|
+
"name": "_hasSlottedContent",
|
|
120042
119838
|
"privacy": "private",
|
|
120043
|
-
"
|
|
119839
|
+
"return": {
|
|
119840
|
+
"type": {
|
|
119841
|
+
"text": "boolean"
|
|
119842
|
+
}
|
|
119843
|
+
},
|
|
120044
119844
|
"parameters": [
|
|
120045
119845
|
{
|
|
120046
|
-
"
|
|
120047
|
-
"
|
|
119846
|
+
"name": "slot",
|
|
119847
|
+
"type": {
|
|
119848
|
+
"text": "HTMLSlotElement"
|
|
119849
|
+
}
|
|
120048
119850
|
}
|
|
120049
119851
|
],
|
|
120050
119852
|
"inheritedFrom": {
|
|
120051
|
-
"name": "
|
|
120052
|
-
"module": "core/base-elements/
|
|
119853
|
+
"name": "SbbElement",
|
|
119854
|
+
"module": "core/base-elements/element.js"
|
|
120053
119855
|
}
|
|
120054
|
-
}
|
|
119856
|
+
}
|
|
119857
|
+
],
|
|
119858
|
+
"mixins": [
|
|
120055
119859
|
{
|
|
120056
|
-
"
|
|
120057
|
-
"
|
|
120058
|
-
"privacy": "private",
|
|
120059
|
-
"inheritedFrom": {
|
|
120060
|
-
"name": "SbbButtonLikeBaseElement",
|
|
120061
|
-
"module": "core/base-elements/button-base-element.js"
|
|
120062
|
-
}
|
|
119860
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
119861
|
+
"module": "link/common/block-link-common.js"
|
|
120063
119862
|
},
|
|
120064
119863
|
{
|
|
120065
|
-
"
|
|
120066
|
-
"
|
|
119864
|
+
"name": "SbbDisabledMixin",
|
|
119865
|
+
"module": "core.js"
|
|
119866
|
+
}
|
|
119867
|
+
],
|
|
119868
|
+
"superclass": {
|
|
119869
|
+
"name": "SbbActionBaseElement",
|
|
119870
|
+
"module": "core.js"
|
|
119871
|
+
},
|
|
119872
|
+
"tagName": "sbb-block-link-static",
|
|
119873
|
+
"customElement": true,
|
|
119874
|
+
"attributes": [
|
|
119875
|
+
{
|
|
119876
|
+
"name": "size",
|
|
120067
119877
|
"type": {
|
|
120068
|
-
"text": "
|
|
119878
|
+
"text": "SbbLinkSize"
|
|
120069
119879
|
},
|
|
120070
|
-
"
|
|
120071
|
-
"
|
|
119880
|
+
"description": "Size variant, either xs, s or m.",
|
|
119881
|
+
"default": "'s' / 'xs' (lean)",
|
|
119882
|
+
"fieldName": "size",
|
|
120072
119883
|
"inheritedFrom": {
|
|
120073
|
-
"name": "
|
|
120074
|
-
"module": "
|
|
119884
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
119885
|
+
"module": "link/common/block-link-common.js"
|
|
120075
119886
|
}
|
|
120076
119887
|
},
|
|
120077
119888
|
{
|
|
120078
|
-
"
|
|
120079
|
-
"name": "maybeDisabledInteractive",
|
|
119889
|
+
"name": "icon-placement",
|
|
120080
119890
|
"type": {
|
|
120081
|
-
"text": "
|
|
119891
|
+
"text": "SbbIconPlacement"
|
|
120082
119892
|
},
|
|
120083
|
-
"
|
|
120084
|
-
"
|
|
119893
|
+
"default": "'start'",
|
|
119894
|
+
"description": "Moves the icon to the end of the component if set to true.",
|
|
119895
|
+
"fieldName": "iconPlacement",
|
|
120085
119896
|
"inheritedFrom": {
|
|
120086
|
-
"name": "
|
|
120087
|
-
"module": "
|
|
119897
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
119898
|
+
"module": "link/common/block-link-common.js"
|
|
120088
119899
|
}
|
|
120089
119900
|
},
|
|
120090
119901
|
{
|
|
120091
|
-
"
|
|
120092
|
-
"
|
|
120093
|
-
|
|
120094
|
-
"return": {
|
|
120095
|
-
"type": {
|
|
120096
|
-
"text": "void"
|
|
120097
|
-
}
|
|
119902
|
+
"name": "icon-name",
|
|
119903
|
+
"type": {
|
|
119904
|
+
"text": "string"
|
|
120098
119905
|
},
|
|
119906
|
+
"default": "''",
|
|
119907
|
+
"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.",
|
|
119908
|
+
"fieldName": "iconName",
|
|
120099
119909
|
"inheritedFrom": {
|
|
120100
|
-
"name": "
|
|
120101
|
-
"module": "
|
|
119910
|
+
"name": "SbbIconNameMixin",
|
|
119911
|
+
"module": "icon/icon-name-mixin.js"
|
|
120102
119912
|
}
|
|
120103
119913
|
},
|
|
120104
119914
|
{
|
|
120105
|
-
"
|
|
120106
|
-
"
|
|
119915
|
+
"name": "disabled",
|
|
119916
|
+
"description": "Whether the component is disabled.",
|
|
119917
|
+
"default": "false",
|
|
120107
119918
|
"type": {
|
|
120108
119919
|
"text": "boolean"
|
|
120109
119920
|
},
|
|
120110
|
-
"
|
|
120111
|
-
"static": true,
|
|
120112
|
-
"default": "true",
|
|
119921
|
+
"fieldName": "disabled",
|
|
120113
119922
|
"inheritedFrom": {
|
|
120114
|
-
"name": "
|
|
120115
|
-
"module": "core/
|
|
120116
|
-
}
|
|
119923
|
+
"name": "SbbDisabledMixin",
|
|
119924
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
119925
|
+
}
|
|
119926
|
+
}
|
|
119927
|
+
]
|
|
119928
|
+
}
|
|
119929
|
+
],
|
|
119930
|
+
"exports": [
|
|
119931
|
+
{
|
|
119932
|
+
"kind": "js",
|
|
119933
|
+
"name": "SbbBlockLinkStaticElement",
|
|
119934
|
+
"declaration": {
|
|
119935
|
+
"name": "SbbBlockLinkStaticElement",
|
|
119936
|
+
"module": "link/block-link-static/block-link-static.component.js"
|
|
119937
|
+
}
|
|
119938
|
+
}
|
|
119939
|
+
]
|
|
119940
|
+
},
|
|
119941
|
+
{
|
|
119942
|
+
"kind": "javascript-module",
|
|
119943
|
+
"path": "link/block-link-button/block-link-button.component.js",
|
|
119944
|
+
"declarations": [
|
|
119945
|
+
{
|
|
119946
|
+
"kind": "class",
|
|
119947
|
+
"description": "It displays a link enhanced with the SBB Design, which will behave as a button.",
|
|
119948
|
+
"name": "SbbBlockLinkButtonElement",
|
|
119949
|
+
"slots": [
|
|
119950
|
+
{
|
|
119951
|
+
"description": "Use the unnamed slot to add content to the `sbb-block-link-button`.",
|
|
119952
|
+
"name": ""
|
|
120117
119953
|
},
|
|
119954
|
+
{
|
|
119955
|
+
"description": "Slot used to display the icon, if one is set.",
|
|
119956
|
+
"name": "icon"
|
|
119957
|
+
}
|
|
119958
|
+
],
|
|
119959
|
+
"members": [
|
|
120118
119960
|
{
|
|
120119
119961
|
"kind": "field",
|
|
120120
|
-
"name": "
|
|
119962
|
+
"name": "elementName",
|
|
120121
119963
|
"type": {
|
|
120122
|
-
"text": "
|
|
119964
|
+
"text": "string"
|
|
120123
119965
|
},
|
|
120124
|
-
"privacy": "
|
|
119966
|
+
"privacy": "public",
|
|
119967
|
+
"static": true,
|
|
119968
|
+
"readonly": true,
|
|
120125
119969
|
"inheritedFrom": {
|
|
120126
119970
|
"name": "SbbElement",
|
|
120127
119971
|
"module": "core/base-elements/element.js"
|
|
120128
|
-
}
|
|
119972
|
+
},
|
|
119973
|
+
"default": "'sbb-block-link-button'"
|
|
120129
119974
|
},
|
|
120130
119975
|
{
|
|
120131
119976
|
"kind": "field",
|
|
120132
|
-
"name": "
|
|
119977
|
+
"name": "styles",
|
|
120133
119978
|
"type": {
|
|
120134
|
-
"text": "
|
|
119979
|
+
"text": "CSSResultGroup"
|
|
120135
119980
|
},
|
|
120136
|
-
"privacy": "
|
|
120137
|
-
"
|
|
119981
|
+
"privacy": "public",
|
|
119982
|
+
"static": true,
|
|
119983
|
+
"default": "[super.styles, unsafeCSS(blockStyle)]",
|
|
120138
119984
|
"inheritedFrom": {
|
|
120139
|
-
"name": "
|
|
120140
|
-
"module": "
|
|
119985
|
+
"name": "SbbLinkCommonElementMixin",
|
|
119986
|
+
"module": "link/common/link-common.js"
|
|
120141
119987
|
}
|
|
120142
119988
|
},
|
|
120143
119989
|
{
|
|
120144
119990
|
"kind": "field",
|
|
120145
|
-
"name": "
|
|
120146
|
-
"
|
|
120147
|
-
|
|
119991
|
+
"name": "size",
|
|
119992
|
+
"type": {
|
|
119993
|
+
"text": "SbbLinkSize"
|
|
119994
|
+
},
|
|
119995
|
+
"privacy": "public",
|
|
119996
|
+
"description": "Size variant, either xs, s or m.",
|
|
119997
|
+
"default": "'s' / 'xs' (lean)",
|
|
119998
|
+
"attribute": "size",
|
|
119999
|
+
"reflects": true,
|
|
120148
120000
|
"inheritedFrom": {
|
|
120149
|
-
"name": "
|
|
120150
|
-
"module": "
|
|
120001
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
120002
|
+
"module": "link/common/block-link-common.js"
|
|
120151
120003
|
}
|
|
120152
120004
|
},
|
|
120153
120005
|
{
|
|
120154
120006
|
"kind": "field",
|
|
120155
|
-
"name": "
|
|
120007
|
+
"name": "iconPlacement",
|
|
120156
120008
|
"type": {
|
|
120157
|
-
"text": "
|
|
120009
|
+
"text": "SbbIconPlacement"
|
|
120158
120010
|
},
|
|
120159
|
-
"privacy": "
|
|
120011
|
+
"privacy": "public",
|
|
120012
|
+
"default": "'start'",
|
|
120013
|
+
"description": "Moves the icon to the end of the component if set to true.",
|
|
120014
|
+
"attribute": "icon-placement",
|
|
120015
|
+
"reflects": true,
|
|
120160
120016
|
"inheritedFrom": {
|
|
120161
|
-
"name": "
|
|
120162
|
-
"module": "
|
|
120017
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
120018
|
+
"module": "link/common/block-link-common.js"
|
|
120163
120019
|
}
|
|
120164
120020
|
},
|
|
120165
120021
|
{
|
|
120166
|
-
"kind": "
|
|
120167
|
-
"name": "
|
|
120168
|
-
"
|
|
120169
|
-
|
|
120022
|
+
"kind": "method",
|
|
120023
|
+
"name": "renderTemplate",
|
|
120024
|
+
"privacy": "protected",
|
|
120025
|
+
"return": {
|
|
120026
|
+
"type": {
|
|
120027
|
+
"text": "TemplateResult"
|
|
120028
|
+
}
|
|
120170
120029
|
},
|
|
120171
|
-
"
|
|
120030
|
+
"description": "Override this method to render the component template.",
|
|
120172
120031
|
"inheritedFrom": {
|
|
120173
|
-
"name": "
|
|
120174
|
-
"module": "core/base-elements/element.js"
|
|
120032
|
+
"name": "SbbActionBaseElement",
|
|
120033
|
+
"module": "core/base-elements/action-base-element.js"
|
|
120175
120034
|
}
|
|
120176
120035
|
},
|
|
120177
120036
|
{
|
|
120178
120037
|
"kind": "field",
|
|
120179
|
-
"name": "
|
|
120038
|
+
"name": "elementDependencies",
|
|
120180
120039
|
"type": {
|
|
120181
|
-
"text": "
|
|
120040
|
+
"text": "SbbElementType[]"
|
|
120182
120041
|
},
|
|
120183
|
-
"privacy": "
|
|
120184
|
-
"
|
|
120185
|
-
"readonly": true,
|
|
120042
|
+
"privacy": "public",
|
|
120043
|
+
"static": true,
|
|
120186
120044
|
"inheritedFrom": {
|
|
120187
120045
|
"name": "SbbElement",
|
|
120188
120046
|
"module": "core/base-elements/element.js"
|
|
120189
120047
|
},
|
|
120190
|
-
"default": "
|
|
120048
|
+
"default": "[SbbIconElement]"
|
|
120049
|
+
},
|
|
120050
|
+
{
|
|
120051
|
+
"kind": "field",
|
|
120052
|
+
"name": "iconName",
|
|
120053
|
+
"type": {
|
|
120054
|
+
"text": "string"
|
|
120055
|
+
},
|
|
120056
|
+
"privacy": "public",
|
|
120057
|
+
"default": "''",
|
|
120058
|
+
"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.",
|
|
120059
|
+
"attribute": "icon-name",
|
|
120060
|
+
"inheritedFrom": {
|
|
120061
|
+
"name": "SbbIconNameMixin",
|
|
120062
|
+
"module": "icon/icon-name-mixin.js"
|
|
120063
|
+
}
|
|
120191
120064
|
},
|
|
120192
120065
|
{
|
|
120193
120066
|
"kind": "method",
|
|
120194
|
-
"name": "
|
|
120067
|
+
"name": "renderIconSlot",
|
|
120195
120068
|
"privacy": "protected",
|
|
120196
120069
|
"return": {
|
|
120197
120070
|
"type": {
|
|
120198
|
-
"text": "
|
|
120071
|
+
"text": "TemplateResult"
|
|
120199
120072
|
}
|
|
120200
120073
|
},
|
|
120201
120074
|
"parameters": [
|
|
120202
120075
|
{
|
|
120203
|
-
"name": "
|
|
120204
|
-
"type": {
|
|
120205
|
-
"text": "string"
|
|
120206
|
-
}
|
|
120207
|
-
},
|
|
120208
|
-
{
|
|
120209
|
-
"name": "force",
|
|
120076
|
+
"name": "classname",
|
|
120210
120077
|
"optional": true,
|
|
120211
120078
|
"type": {
|
|
120212
|
-
"text": "
|
|
120079
|
+
"text": "string"
|
|
120213
120080
|
}
|
|
120214
120081
|
}
|
|
120215
120082
|
],
|
|
120216
120083
|
"inheritedFrom": {
|
|
120217
|
-
"name": "
|
|
120218
|
-
"module": "
|
|
120084
|
+
"name": "SbbIconNameMixin",
|
|
120085
|
+
"module": "icon/icon-name-mixin.js"
|
|
120219
120086
|
}
|
|
120220
120087
|
},
|
|
120221
120088
|
{
|
|
120222
120089
|
"kind": "method",
|
|
120223
|
-
"name": "
|
|
120224
|
-
"privacy": "
|
|
120090
|
+
"name": "renderIconName",
|
|
120091
|
+
"privacy": "protected",
|
|
120225
120092
|
"return": {
|
|
120226
120093
|
"type": {
|
|
120227
|
-
"text": "
|
|
120094
|
+
"text": "string"
|
|
120228
120095
|
}
|
|
120229
120096
|
},
|
|
120230
|
-
"parameters": [
|
|
120231
|
-
{
|
|
120232
|
-
"name": "event",
|
|
120233
|
-
"type": {
|
|
120234
|
-
"text": "Event"
|
|
120235
|
-
}
|
|
120236
|
-
},
|
|
120237
|
-
{
|
|
120238
|
-
"name": "slot",
|
|
120239
|
-
"type": {
|
|
120240
|
-
"text": "HTMLSlotElement"
|
|
120241
|
-
}
|
|
120242
|
-
}
|
|
120243
|
-
],
|
|
120244
120097
|
"inheritedFrom": {
|
|
120245
|
-
"name": "
|
|
120246
|
-
"module": "
|
|
120098
|
+
"name": "SbbIconNameMixin",
|
|
120099
|
+
"module": "icon/icon-name-mixin.js"
|
|
120247
120100
|
}
|
|
120248
120101
|
},
|
|
120249
120102
|
{
|
|
120250
120103
|
"kind": "method",
|
|
120251
|
-
"name": "
|
|
120104
|
+
"name": "_renderIconName",
|
|
120252
120105
|
"privacy": "private",
|
|
120253
120106
|
"return": {
|
|
120254
120107
|
"type": {
|
|
120255
|
-
"text": "
|
|
120108
|
+
"text": "string"
|
|
120256
120109
|
}
|
|
120257
120110
|
},
|
|
120258
|
-
"parameters": [
|
|
120259
|
-
{
|
|
120260
|
-
"name": "slot",
|
|
120261
|
-
"type": {
|
|
120262
|
-
"text": "HTMLSlotElement"
|
|
120263
|
-
}
|
|
120264
|
-
}
|
|
120265
|
-
],
|
|
120266
120111
|
"inheritedFrom": {
|
|
120267
|
-
"name": "
|
|
120268
|
-
"module": "
|
|
120112
|
+
"name": "SbbIconNameMixin",
|
|
120113
|
+
"module": "icon/icon-name-mixin.js"
|
|
120269
120114
|
}
|
|
120270
120115
|
},
|
|
120271
120116
|
{
|
|
120272
|
-
"kind": "
|
|
120273
|
-
"name": "
|
|
120274
|
-
"
|
|
120275
|
-
|
|
120276
|
-
"type": {
|
|
120277
|
-
"text": "void"
|
|
120278
|
-
}
|
|
120117
|
+
"kind": "field",
|
|
120118
|
+
"name": "disabledInteractive",
|
|
120119
|
+
"type": {
|
|
120120
|
+
"text": "boolean"
|
|
120279
120121
|
},
|
|
120280
|
-
"
|
|
120281
|
-
|
|
120282
|
-
|
|
120283
|
-
|
|
120284
|
-
|
|
120285
|
-
}
|
|
120286
|
-
}
|
|
120287
|
-
],
|
|
120122
|
+
"privacy": "public",
|
|
120123
|
+
"default": "false",
|
|
120124
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
120125
|
+
"attribute": "disabled-interactive",
|
|
120126
|
+
"reflects": true,
|
|
120288
120127
|
"inheritedFrom": {
|
|
120289
|
-
"name": "
|
|
120290
|
-
"module": "core/
|
|
120128
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
120129
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
120291
120130
|
}
|
|
120292
120131
|
},
|
|
120293
120132
|
{
|
|
120294
|
-
"kind": "
|
|
120295
|
-
"name": "
|
|
120296
|
-
"privacy": "
|
|
120297
|
-
"
|
|
120298
|
-
|
|
120299
|
-
|
|
120300
|
-
|
|
120133
|
+
"kind": "field",
|
|
120134
|
+
"name": "disabled",
|
|
120135
|
+
"privacy": "public",
|
|
120136
|
+
"description": "Whether the component is disabled.",
|
|
120137
|
+
"default": "false",
|
|
120138
|
+
"type": {
|
|
120139
|
+
"text": "boolean"
|
|
120301
120140
|
},
|
|
120302
|
-
"
|
|
120303
|
-
|
|
120304
|
-
"name": "slot",
|
|
120305
|
-
"type": {
|
|
120306
|
-
"text": "HTMLSlotElement"
|
|
120307
|
-
}
|
|
120308
|
-
}
|
|
120309
|
-
],
|
|
120141
|
+
"attribute": "disabled",
|
|
120142
|
+
"reflects": true,
|
|
120310
120143
|
"inheritedFrom": {
|
|
120311
|
-
"name": "
|
|
120312
|
-
"module": "core/
|
|
120144
|
+
"name": "SbbDisabledMixin",
|
|
120145
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
120313
120146
|
}
|
|
120314
120147
|
},
|
|
120315
120148
|
{
|
|
120316
|
-
"kind": "
|
|
120317
|
-
"name": "
|
|
120149
|
+
"kind": "field",
|
|
120150
|
+
"name": "#disabled",
|
|
120318
120151
|
"privacy": "private",
|
|
120319
|
-
"
|
|
120320
|
-
"
|
|
120321
|
-
|
|
120322
|
-
|
|
120323
|
-
},
|
|
120324
|
-
"parameters": [
|
|
120325
|
-
{
|
|
120326
|
-
"name": "slot",
|
|
120327
|
-
"type": {
|
|
120328
|
-
"text": "HTMLSlotElement"
|
|
120329
|
-
}
|
|
120330
|
-
}
|
|
120331
|
-
],
|
|
120152
|
+
"type": {
|
|
120153
|
+
"text": "boolean"
|
|
120154
|
+
},
|
|
120155
|
+
"default": "false",
|
|
120332
120156
|
"inheritedFrom": {
|
|
120333
|
-
"name": "
|
|
120334
|
-
"module": "core/
|
|
120157
|
+
"name": "SbbDisabledMixin",
|
|
120158
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
120335
120159
|
}
|
|
120336
|
-
}
|
|
120337
|
-
],
|
|
120338
|
-
"mixins": [
|
|
120339
|
-
{
|
|
120340
|
-
"name": "SbbBlockLinkCommonElementMixin",
|
|
120341
|
-
"module": "link/common/block-link-common.js"
|
|
120342
120160
|
},
|
|
120343
120161
|
{
|
|
120344
|
-
"
|
|
120345
|
-
"
|
|
120346
|
-
|
|
120347
|
-
|
|
120348
|
-
|
|
120349
|
-
|
|
120350
|
-
|
|
120351
|
-
},
|
|
120352
|
-
"tagName": "sbb-block-link-button",
|
|
120353
|
-
"customElement": true,
|
|
120354
|
-
"attributes": [
|
|
120355
|
-
{
|
|
120356
|
-
"name": "size",
|
|
120357
|
-
"type": {
|
|
120358
|
-
"text": "SbbLinkSize"
|
|
120162
|
+
"kind": "method",
|
|
120163
|
+
"name": "isDisabledExternally",
|
|
120164
|
+
"privacy": "protected",
|
|
120165
|
+
"return": {
|
|
120166
|
+
"type": {
|
|
120167
|
+
"text": "boolean"
|
|
120168
|
+
}
|
|
120359
120169
|
},
|
|
120360
|
-
"description": "
|
|
120361
|
-
"default": "'s' / 'xs' (lean)",
|
|
120362
|
-
"fieldName": "size",
|
|
120170
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
120363
120171
|
"inheritedFrom": {
|
|
120364
|
-
"name": "
|
|
120365
|
-
"module": "
|
|
120172
|
+
"name": "SbbDisabledMixin",
|
|
120173
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
120366
120174
|
}
|
|
120367
120175
|
},
|
|
120368
120176
|
{
|
|
120369
|
-
"
|
|
120177
|
+
"kind": "field",
|
|
120178
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
120370
120179
|
"type": {
|
|
120371
|
-
"text": "
|
|
120180
|
+
"text": "array"
|
|
120372
120181
|
},
|
|
120373
|
-
"
|
|
120374
|
-
"
|
|
120375
|
-
"
|
|
120182
|
+
"privacy": "private",
|
|
120183
|
+
"readonly": true,
|
|
120184
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
120376
120185
|
"inheritedFrom": {
|
|
120377
|
-
"name": "
|
|
120378
|
-
"module": "
|
|
120186
|
+
"name": "SbbButtonBaseElement",
|
|
120187
|
+
"module": "core/base-elements/button-base-element.js"
|
|
120379
120188
|
}
|
|
120380
120189
|
},
|
|
120381
120190
|
{
|
|
120382
|
-
"
|
|
120191
|
+
"kind": "field",
|
|
120192
|
+
"name": "value",
|
|
120383
120193
|
"type": {
|
|
120384
120194
|
"text": "string"
|
|
120385
120195
|
},
|
|
120386
|
-
"
|
|
120387
|
-
"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.",
|
|
120388
|
-
"fieldName": "iconName",
|
|
120196
|
+
"privacy": "public",
|
|
120389
120197
|
"inheritedFrom": {
|
|
120390
|
-
"name": "
|
|
120391
|
-
"module": "
|
|
120392
|
-
}
|
|
120198
|
+
"name": "SbbButtonBaseElement",
|
|
120199
|
+
"module": "core/base-elements/button-base-element.js"
|
|
120200
|
+
},
|
|
120201
|
+
"default": "''",
|
|
120202
|
+
"description": "Value of the form element.",
|
|
120203
|
+
"attribute": "value"
|
|
120393
120204
|
},
|
|
120394
120205
|
{
|
|
120395
|
-
"
|
|
120206
|
+
"kind": "field",
|
|
120207
|
+
"name": "type",
|
|
120208
|
+
"privacy": "public",
|
|
120209
|
+
"description": "The type attribute to use for the button.",
|
|
120210
|
+
"default": "'button'",
|
|
120396
120211
|
"type": {
|
|
120397
|
-
"text": "
|
|
120212
|
+
"text": "SbbButtonType"
|
|
120398
120213
|
},
|
|
120399
|
-
"
|
|
120400
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
120401
|
-
"fieldName": "disabledInteractive",
|
|
120214
|
+
"attribute": "type",
|
|
120402
120215
|
"inheritedFrom": {
|
|
120403
|
-
"name": "
|
|
120404
|
-
"module": "core/
|
|
120216
|
+
"name": "SbbButtonBaseElement",
|
|
120217
|
+
"module": "core/base-elements/button-base-element.js"
|
|
120405
120218
|
}
|
|
120406
120219
|
},
|
|
120407
120220
|
{
|
|
120408
|
-
"
|
|
120409
|
-
"
|
|
120410
|
-
"default": "false",
|
|
120221
|
+
"kind": "field",
|
|
120222
|
+
"name": "form",
|
|
120411
120223
|
"type": {
|
|
120412
|
-
"text": "
|
|
120224
|
+
"text": "HTMLFormElement | null"
|
|
120413
120225
|
},
|
|
120414
|
-
"
|
|
120226
|
+
"privacy": "public",
|
|
120227
|
+
"description": "The `<form>` element to associate the button with.",
|
|
120415
120228
|
"inheritedFrom": {
|
|
120416
|
-
"name": "
|
|
120417
|
-
"module": "core/
|
|
120418
|
-
}
|
|
120229
|
+
"name": "SbbButtonBaseElement",
|
|
120230
|
+
"module": "core/base-elements/button-base-element.js"
|
|
120231
|
+
},
|
|
120232
|
+
"attribute": "form"
|
|
120419
120233
|
},
|
|
120420
120234
|
{
|
|
120421
|
-
"
|
|
120235
|
+
"kind": "field",
|
|
120236
|
+
"name": "_formId",
|
|
120422
120237
|
"type": {
|
|
120423
120238
|
"text": "string"
|
|
120424
120239
|
},
|
|
120240
|
+
"privacy": "private",
|
|
120425
120241
|
"default": "''",
|
|
120426
|
-
"description": "Value of the form element.",
|
|
120427
|
-
"fieldName": "value",
|
|
120428
120242
|
"inheritedFrom": {
|
|
120429
120243
|
"name": "SbbButtonBaseElement",
|
|
120430
120244
|
"module": "core/base-elements/button-base-element.js"
|
|
120431
120245
|
}
|
|
120432
120246
|
},
|
|
120433
120247
|
{
|
|
120434
|
-
"
|
|
120435
|
-
"
|
|
120436
|
-
"
|
|
120437
|
-
"type": {
|
|
120438
|
-
"text": "SbbButtonType"
|
|
120439
|
-
},
|
|
120440
|
-
"fieldName": "type",
|
|
120248
|
+
"kind": "field",
|
|
120249
|
+
"name": "_handleButtonClick",
|
|
120250
|
+
"privacy": "private",
|
|
120441
120251
|
"inheritedFrom": {
|
|
120442
120252
|
"name": "SbbButtonBaseElement",
|
|
120443
120253
|
"module": "core/base-elements/button-base-element.js"
|
|
120444
120254
|
}
|
|
120445
120255
|
},
|
|
120446
120256
|
{
|
|
120447
|
-
"
|
|
120448
|
-
"
|
|
120449
|
-
"
|
|
120450
|
-
|
|
120257
|
+
"kind": "method",
|
|
120258
|
+
"name": "_requestSubmit",
|
|
120259
|
+
"privacy": "private",
|
|
120260
|
+
"return": {
|
|
120261
|
+
"type": {
|
|
120262
|
+
"text": "void"
|
|
120263
|
+
}
|
|
120451
120264
|
},
|
|
120452
|
-
"
|
|
120265
|
+
"parameters": [
|
|
120266
|
+
{
|
|
120267
|
+
"name": "form",
|
|
120268
|
+
"type": {
|
|
120269
|
+
"text": "HTMLFormElement"
|
|
120270
|
+
}
|
|
120271
|
+
}
|
|
120272
|
+
],
|
|
120453
120273
|
"inheritedFrom": {
|
|
120454
120274
|
"name": "SbbButtonBaseElement",
|
|
120455
120275
|
"module": "core/base-elements/button-base-element.js"
|
|
120456
120276
|
}
|
|
120457
120277
|
},
|
|
120458
120278
|
{
|
|
120279
|
+
"kind": "field",
|
|
120280
|
+
"name": "_formKeyDown",
|
|
120281
|
+
"privacy": "private",
|
|
120282
|
+
"inheritedFrom": {
|
|
120283
|
+
"name": "SbbButtonBaseElement",
|
|
120284
|
+
"module": "core/base-elements/button-base-element.js"
|
|
120285
|
+
}
|
|
120286
|
+
},
|
|
120287
|
+
{
|
|
120288
|
+
"kind": "field",
|
|
120289
|
+
"name": "formAssociated",
|
|
120290
|
+
"type": {
|
|
120291
|
+
"text": "boolean"
|
|
120292
|
+
},
|
|
120293
|
+
"privacy": "public",
|
|
120294
|
+
"static": true,
|
|
120295
|
+
"default": "true",
|
|
120296
|
+
"inheritedFrom": {
|
|
120297
|
+
"name": "SbbFormAssociatedMixin",
|
|
120298
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120299
|
+
}
|
|
120300
|
+
},
|
|
120301
|
+
{
|
|
120302
|
+
"kind": "field",
|
|
120459
120303
|
"name": "name",
|
|
120304
|
+
"privacy": "public",
|
|
120460
120305
|
"description": "Name of the form element. Will be read from name attribute.",
|
|
120461
120306
|
"type": {
|
|
120462
120307
|
"text": "string"
|
|
120463
120308
|
},
|
|
120464
|
-
"
|
|
120309
|
+
"attribute": "name",
|
|
120465
120310
|
"inheritedFrom": {
|
|
120466
120311
|
"name": "SbbFormAssociatedMixin",
|
|
120467
120312
|
"module": "core/mixins/form-associated-mixin.js"
|
|
120468
120313
|
}
|
|
120469
|
-
}
|
|
120470
|
-
]
|
|
120471
|
-
}
|
|
120472
|
-
],
|
|
120473
|
-
"exports": [
|
|
120474
|
-
{
|
|
120475
|
-
"kind": "js",
|
|
120476
|
-
"name": "SbbBlockLinkButtonElement",
|
|
120477
|
-
"declaration": {
|
|
120478
|
-
"name": "SbbBlockLinkButtonElement",
|
|
120479
|
-
"module": "link/block-link-button/block-link-button.component.js"
|
|
120480
|
-
}
|
|
120481
|
-
}
|
|
120482
|
-
]
|
|
120483
|
-
},
|
|
120484
|
-
{
|
|
120485
|
-
"kind": "javascript-module",
|
|
120486
|
-
"path": "link/block-link-static/block-link-static.component.js",
|
|
120487
|
-
"declarations": [
|
|
120488
|
-
{
|
|
120489
|
-
"kind": "class",
|
|
120490
|
-
"description": "It displays a static link enhanced with the SBB Design.",
|
|
120491
|
-
"name": "SbbBlockLinkStaticElement",
|
|
120492
|
-
"slots": [
|
|
120493
|
-
{
|
|
120494
|
-
"description": "Use the unnamed slot to add content to the `sbb-block-link-static`.",
|
|
120495
|
-
"name": ""
|
|
120496
120314
|
},
|
|
120497
|
-
{
|
|
120498
|
-
"description": "Slot used to display the icon, if one is set.",
|
|
120499
|
-
"name": "icon"
|
|
120500
|
-
}
|
|
120501
|
-
],
|
|
120502
|
-
"members": [
|
|
120503
120315
|
{
|
|
120504
120316
|
"kind": "field",
|
|
120505
|
-
"name": "
|
|
120317
|
+
"name": "validity",
|
|
120506
120318
|
"type": {
|
|
120507
|
-
"text": "
|
|
120319
|
+
"text": "ValidityState"
|
|
120508
120320
|
},
|
|
120509
120321
|
"privacy": "public",
|
|
120510
|
-
"
|
|
120322
|
+
"description": "Returns the ValidityState object for this element.",
|
|
120511
120323
|
"readonly": true,
|
|
120512
120324
|
"inheritedFrom": {
|
|
120513
|
-
"name": "
|
|
120514
|
-
"module": "core/
|
|
120515
|
-
}
|
|
120516
|
-
"default": "'sbb-block-link-static'"
|
|
120325
|
+
"name": "SbbFormAssociatedMixin",
|
|
120326
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120327
|
+
}
|
|
120517
120328
|
},
|
|
120518
120329
|
{
|
|
120519
120330
|
"kind": "field",
|
|
120520
|
-
"name": "
|
|
120331
|
+
"name": "validationMessage",
|
|
120521
120332
|
"type": {
|
|
120522
|
-
"text": "
|
|
120333
|
+
"text": "string"
|
|
120523
120334
|
},
|
|
120524
120335
|
"privacy": "public",
|
|
120525
|
-
"
|
|
120526
|
-
"
|
|
120336
|
+
"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.",
|
|
120337
|
+
"readonly": true,
|
|
120527
120338
|
"inheritedFrom": {
|
|
120528
|
-
"name": "
|
|
120529
|
-
"module": "
|
|
120339
|
+
"name": "SbbFormAssociatedMixin",
|
|
120340
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120530
120341
|
}
|
|
120531
120342
|
},
|
|
120532
120343
|
{
|
|
120533
120344
|
"kind": "field",
|
|
120534
|
-
"name": "
|
|
120345
|
+
"name": "willValidate",
|
|
120535
120346
|
"type": {
|
|
120536
|
-
"text": "
|
|
120347
|
+
"text": "boolean"
|
|
120537
120348
|
},
|
|
120538
120349
|
"privacy": "public",
|
|
120539
|
-
"description": "
|
|
120540
|
-
"
|
|
120541
|
-
"attribute": "size",
|
|
120542
|
-
"reflects": true,
|
|
120350
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
120351
|
+
"readonly": true,
|
|
120543
120352
|
"inheritedFrom": {
|
|
120544
|
-
"name": "
|
|
120545
|
-
"module": "
|
|
120353
|
+
"name": "SbbFormAssociatedMixin",
|
|
120354
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120546
120355
|
}
|
|
120547
120356
|
},
|
|
120548
120357
|
{
|
|
120549
120358
|
"kind": "field",
|
|
120550
|
-
"name": "
|
|
120359
|
+
"name": "_validityStates",
|
|
120360
|
+
"privacy": "private",
|
|
120361
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
120362
|
+
"inheritedFrom": {
|
|
120363
|
+
"name": "SbbFormAssociatedMixin",
|
|
120364
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120365
|
+
}
|
|
120366
|
+
},
|
|
120367
|
+
{
|
|
120368
|
+
"kind": "field",
|
|
120369
|
+
"name": "formDisabled",
|
|
120551
120370
|
"type": {
|
|
120552
|
-
"text": "
|
|
120371
|
+
"text": "boolean"
|
|
120553
120372
|
},
|
|
120373
|
+
"privacy": "protected",
|
|
120374
|
+
"default": "false",
|
|
120375
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
120376
|
+
"inheritedFrom": {
|
|
120377
|
+
"name": "SbbFormAssociatedMixin",
|
|
120378
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120379
|
+
}
|
|
120380
|
+
},
|
|
120381
|
+
{
|
|
120382
|
+
"kind": "method",
|
|
120383
|
+
"name": "checkValidity",
|
|
120554
120384
|
"privacy": "public",
|
|
120555
|
-
"
|
|
120556
|
-
|
|
120557
|
-
|
|
120558
|
-
|
|
120385
|
+
"return": {
|
|
120386
|
+
"type": {
|
|
120387
|
+
"text": "boolean"
|
|
120388
|
+
}
|
|
120389
|
+
},
|
|
120390
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
120391
|
+
"inheritedFrom": {
|
|
120392
|
+
"name": "SbbFormAssociatedMixin",
|
|
120393
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120394
|
+
}
|
|
120395
|
+
},
|
|
120396
|
+
{
|
|
120397
|
+
"kind": "method",
|
|
120398
|
+
"name": "reportValidity",
|
|
120399
|
+
"privacy": "public",
|
|
120400
|
+
"return": {
|
|
120401
|
+
"type": {
|
|
120402
|
+
"text": "boolean"
|
|
120403
|
+
}
|
|
120404
|
+
},
|
|
120405
|
+
"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.",
|
|
120406
|
+
"inheritedFrom": {
|
|
120407
|
+
"name": "SbbFormAssociatedMixin",
|
|
120408
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120409
|
+
}
|
|
120410
|
+
},
|
|
120411
|
+
{
|
|
120412
|
+
"kind": "method",
|
|
120413
|
+
"name": "setCustomValidity",
|
|
120414
|
+
"privacy": "public",
|
|
120415
|
+
"return": {
|
|
120416
|
+
"type": {
|
|
120417
|
+
"text": "void"
|
|
120418
|
+
}
|
|
120419
|
+
},
|
|
120420
|
+
"parameters": [
|
|
120421
|
+
{
|
|
120422
|
+
"name": "message",
|
|
120423
|
+
"type": {
|
|
120424
|
+
"text": "string"
|
|
120425
|
+
}
|
|
120426
|
+
}
|
|
120427
|
+
],
|
|
120428
|
+
"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.",
|
|
120429
|
+
"inheritedFrom": {
|
|
120430
|
+
"name": "SbbFormAssociatedMixin",
|
|
120431
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120432
|
+
}
|
|
120433
|
+
},
|
|
120434
|
+
{
|
|
120435
|
+
"kind": "method",
|
|
120436
|
+
"name": "_hasDisabledAncestor",
|
|
120437
|
+
"privacy": "private",
|
|
120438
|
+
"return": {
|
|
120439
|
+
"type": {
|
|
120440
|
+
"text": "boolean"
|
|
120441
|
+
}
|
|
120442
|
+
},
|
|
120443
|
+
"inheritedFrom": {
|
|
120444
|
+
"name": "SbbFormAssociatedMixin",
|
|
120445
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120446
|
+
}
|
|
120447
|
+
},
|
|
120448
|
+
{
|
|
120449
|
+
"kind": "method",
|
|
120450
|
+
"name": "updateFormValue",
|
|
120451
|
+
"privacy": "protected",
|
|
120452
|
+
"return": {
|
|
120453
|
+
"type": {
|
|
120454
|
+
"text": "void"
|
|
120455
|
+
}
|
|
120456
|
+
},
|
|
120457
|
+
"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",
|
|
120458
|
+
"inheritedFrom": {
|
|
120459
|
+
"name": "SbbFormAssociatedMixin",
|
|
120460
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120461
|
+
}
|
|
120462
|
+
},
|
|
120463
|
+
{
|
|
120464
|
+
"kind": "method",
|
|
120465
|
+
"name": "formState",
|
|
120466
|
+
"privacy": "protected",
|
|
120467
|
+
"return": {
|
|
120468
|
+
"type": {
|
|
120469
|
+
"text": "FormRestoreState"
|
|
120470
|
+
}
|
|
120471
|
+
},
|
|
120472
|
+
"inheritedFrom": {
|
|
120473
|
+
"name": "SbbFormAssociatedMixin",
|
|
120474
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120475
|
+
}
|
|
120476
|
+
},
|
|
120477
|
+
{
|
|
120478
|
+
"kind": "method",
|
|
120479
|
+
"name": "setValidityFlag",
|
|
120480
|
+
"privacy": "protected",
|
|
120481
|
+
"return": {
|
|
120482
|
+
"type": {
|
|
120483
|
+
"text": "void"
|
|
120484
|
+
}
|
|
120485
|
+
},
|
|
120486
|
+
"parameters": [
|
|
120487
|
+
{
|
|
120488
|
+
"name": "flag",
|
|
120489
|
+
"type": {
|
|
120490
|
+
"text": "T"
|
|
120491
|
+
}
|
|
120492
|
+
},
|
|
120493
|
+
{
|
|
120494
|
+
"name": "message",
|
|
120495
|
+
"type": {
|
|
120496
|
+
"text": "string"
|
|
120497
|
+
}
|
|
120498
|
+
},
|
|
120499
|
+
{
|
|
120500
|
+
"name": "flagValue",
|
|
120501
|
+
"optional": true,
|
|
120502
|
+
"type": {
|
|
120503
|
+
"text": "ValidityStateFlags[T]"
|
|
120504
|
+
}
|
|
120505
|
+
}
|
|
120506
|
+
],
|
|
120507
|
+
"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).",
|
|
120559
120508
|
"inheritedFrom": {
|
|
120560
|
-
"name": "
|
|
120561
|
-
"module": "
|
|
120509
|
+
"name": "SbbFormAssociatedMixin",
|
|
120510
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120562
120511
|
}
|
|
120563
120512
|
},
|
|
120564
120513
|
{
|
|
120565
120514
|
"kind": "method",
|
|
120566
|
-
"name": "
|
|
120515
|
+
"name": "removeValidityFlag",
|
|
120567
120516
|
"privacy": "protected",
|
|
120568
120517
|
"return": {
|
|
120569
120518
|
"type": {
|
|
120570
|
-
"text": "
|
|
120519
|
+
"text": "void"
|
|
120571
120520
|
}
|
|
120572
120521
|
},
|
|
120573
|
-
"
|
|
120522
|
+
"parameters": [
|
|
120523
|
+
{
|
|
120524
|
+
"name": "flag",
|
|
120525
|
+
"type": {
|
|
120526
|
+
"text": "T"
|
|
120527
|
+
}
|
|
120528
|
+
}
|
|
120529
|
+
],
|
|
120530
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
120574
120531
|
"inheritedFrom": {
|
|
120575
|
-
"name": "
|
|
120576
|
-
"module": "core/
|
|
120532
|
+
"name": "SbbFormAssociatedMixin",
|
|
120533
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120577
120534
|
}
|
|
120578
120535
|
},
|
|
120579
120536
|
{
|
|
120580
|
-
"kind": "
|
|
120581
|
-
"name": "
|
|
120582
|
-
"
|
|
120583
|
-
|
|
120584
|
-
|
|
120585
|
-
|
|
120586
|
-
|
|
120587
|
-
"inheritedFrom": {
|
|
120588
|
-
"name": "SbbElement",
|
|
120589
|
-
"module": "core/base-elements/element.js"
|
|
120590
|
-
},
|
|
120591
|
-
"default": "[SbbIconElement]"
|
|
120592
|
-
},
|
|
120593
|
-
{
|
|
120594
|
-
"kind": "field",
|
|
120595
|
-
"name": "iconName",
|
|
120596
|
-
"type": {
|
|
120597
|
-
"text": "string"
|
|
120537
|
+
"kind": "method",
|
|
120538
|
+
"name": "validate",
|
|
120539
|
+
"privacy": "protected",
|
|
120540
|
+
"return": {
|
|
120541
|
+
"type": {
|
|
120542
|
+
"text": "void"
|
|
120543
|
+
}
|
|
120598
120544
|
},
|
|
120599
|
-
"
|
|
120600
|
-
"default": "''",
|
|
120601
|
-
"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.",
|
|
120602
|
-
"attribute": "icon-name",
|
|
120545
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
120603
120546
|
"inheritedFrom": {
|
|
120604
|
-
"name": "
|
|
120605
|
-
"module": "
|
|
120547
|
+
"name": "SbbFormAssociatedMixin",
|
|
120548
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120606
120549
|
}
|
|
120607
120550
|
},
|
|
120608
120551
|
{
|
|
120609
120552
|
"kind": "method",
|
|
120610
|
-
"name": "
|
|
120553
|
+
"name": "shouldValidate",
|
|
120611
120554
|
"privacy": "protected",
|
|
120612
120555
|
"return": {
|
|
120613
120556
|
"type": {
|
|
120614
|
-
"text": "
|
|
120557
|
+
"text": "boolean"
|
|
120615
120558
|
}
|
|
120616
120559
|
},
|
|
120617
120560
|
"parameters": [
|
|
120618
120561
|
{
|
|
120619
|
-
"name": "
|
|
120620
|
-
"optional": true,
|
|
120562
|
+
"name": "name",
|
|
120621
120563
|
"type": {
|
|
120622
|
-
"text": "
|
|
120564
|
+
"text": "PropertyKey | undefined"
|
|
120623
120565
|
}
|
|
120624
120566
|
}
|
|
120625
120567
|
],
|
|
120568
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
120626
120569
|
"inheritedFrom": {
|
|
120627
|
-
"name": "
|
|
120628
|
-
"module": "
|
|
120570
|
+
"name": "SbbFormAssociatedMixin",
|
|
120571
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120629
120572
|
}
|
|
120630
120573
|
},
|
|
120631
120574
|
{
|
|
120632
120575
|
"kind": "method",
|
|
120633
|
-
"name": "
|
|
120634
|
-
"privacy": "
|
|
120576
|
+
"name": "_setInternalValidity",
|
|
120577
|
+
"privacy": "private",
|
|
120635
120578
|
"return": {
|
|
120636
120579
|
"type": {
|
|
120637
|
-
"text": "
|
|
120580
|
+
"text": "void"
|
|
120638
120581
|
}
|
|
120639
120582
|
},
|
|
120640
120583
|
"inheritedFrom": {
|
|
120641
|
-
"name": "
|
|
120642
|
-
"module": "
|
|
120584
|
+
"name": "SbbFormAssociatedMixin",
|
|
120585
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120643
120586
|
}
|
|
120644
120587
|
},
|
|
120645
120588
|
{
|
|
120646
|
-
"kind": "
|
|
120647
|
-
"name": "
|
|
120589
|
+
"kind": "field",
|
|
120590
|
+
"name": "role",
|
|
120591
|
+
"type": {
|
|
120592
|
+
"text": "ElementInternals['role']"
|
|
120593
|
+
},
|
|
120594
|
+
"privacy": "public",
|
|
120595
|
+
"static": true,
|
|
120596
|
+
"inheritedFrom": {
|
|
120597
|
+
"name": "SbbElement",
|
|
120598
|
+
"module": "core/base-elements/element.js"
|
|
120599
|
+
},
|
|
120600
|
+
"readonly": true,
|
|
120601
|
+
"default": "'button'"
|
|
120602
|
+
},
|
|
120603
|
+
{
|
|
120604
|
+
"kind": "field",
|
|
120605
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
120648
120606
|
"privacy": "private",
|
|
120649
|
-
"
|
|
120650
|
-
|
|
120651
|
-
|
|
120607
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
120608
|
+
"parameters": [
|
|
120609
|
+
{
|
|
120610
|
+
"description": "The origin event.",
|
|
120611
|
+
"name": "event"
|
|
120652
120612
|
}
|
|
120653
|
-
|
|
120613
|
+
],
|
|
120654
120614
|
"inheritedFrom": {
|
|
120655
|
-
"name": "
|
|
120656
|
-
"module": "
|
|
120615
|
+
"name": "SbbButtonLikeBaseElement",
|
|
120616
|
+
"module": "core/base-elements/button-base-element.js"
|
|
120657
120617
|
}
|
|
120658
120618
|
},
|
|
120659
120619
|
{
|
|
120660
120620
|
"kind": "field",
|
|
120661
|
-
"name": "
|
|
120662
|
-
"privacy": "
|
|
120663
|
-
"description": "Whether the component is disabled.",
|
|
120664
|
-
"default": "false",
|
|
120665
|
-
"type": {
|
|
120666
|
-
"text": "boolean"
|
|
120667
|
-
},
|
|
120668
|
-
"attribute": "disabled",
|
|
120669
|
-
"reflects": true,
|
|
120621
|
+
"name": "_removeActiveMarker",
|
|
120622
|
+
"privacy": "private",
|
|
120670
120623
|
"inheritedFrom": {
|
|
120671
|
-
"name": "
|
|
120672
|
-
"module": "core/
|
|
120624
|
+
"name": "SbbButtonLikeBaseElement",
|
|
120625
|
+
"module": "core/base-elements/button-base-element.js"
|
|
120673
120626
|
}
|
|
120674
120627
|
},
|
|
120675
120628
|
{
|
|
120676
120629
|
"kind": "field",
|
|
120677
|
-
"name": "
|
|
120630
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
120678
120631
|
"privacy": "private",
|
|
120679
|
-
"
|
|
120680
|
-
|
|
120681
|
-
|
|
120682
|
-
|
|
120632
|
+
"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.",
|
|
120633
|
+
"parameters": [
|
|
120634
|
+
{
|
|
120635
|
+
"description": "The origin event.",
|
|
120636
|
+
"name": "event"
|
|
120637
|
+
}
|
|
120638
|
+
],
|
|
120683
120639
|
"inheritedFrom": {
|
|
120684
|
-
"name": "
|
|
120685
|
-
"module": "core/
|
|
120640
|
+
"name": "SbbButtonLikeBaseElement",
|
|
120641
|
+
"module": "core/base-elements/button-base-element.js"
|
|
120686
120642
|
}
|
|
120687
120643
|
},
|
|
120688
120644
|
{
|
|
120689
|
-
"kind": "
|
|
120690
|
-
"name": "
|
|
120691
|
-
"privacy": "
|
|
120692
|
-
"return": {
|
|
120693
|
-
"type": {
|
|
120694
|
-
"text": "boolean"
|
|
120695
|
-
}
|
|
120696
|
-
},
|
|
120697
|
-
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
120645
|
+
"kind": "field",
|
|
120646
|
+
"name": "_dispatchClickEvent",
|
|
120647
|
+
"privacy": "private",
|
|
120698
120648
|
"inheritedFrom": {
|
|
120699
|
-
"name": "
|
|
120700
|
-
"module": "core/
|
|
120649
|
+
"name": "SbbButtonLikeBaseElement",
|
|
120650
|
+
"module": "core/base-elements/button-base-element.js"
|
|
120701
120651
|
}
|
|
120702
120652
|
},
|
|
120703
120653
|
{
|
|
@@ -120754,19 +120704,6 @@
|
|
|
120754
120704
|
"module": "core/base-elements/element.js"
|
|
120755
120705
|
}
|
|
120756
120706
|
},
|
|
120757
|
-
{
|
|
120758
|
-
"kind": "field",
|
|
120759
|
-
"name": "role",
|
|
120760
|
-
"type": {
|
|
120761
|
-
"text": "ElementInternals['role'] | undefined"
|
|
120762
|
-
},
|
|
120763
|
-
"privacy": "public",
|
|
120764
|
-
"static": true,
|
|
120765
|
-
"inheritedFrom": {
|
|
120766
|
-
"name": "SbbElement",
|
|
120767
|
-
"module": "core/base-elements/element.js"
|
|
120768
|
-
}
|
|
120769
|
-
},
|
|
120770
120707
|
{
|
|
120771
120708
|
"kind": "field",
|
|
120772
120709
|
"name": "_controllers",
|
|
@@ -120993,15 +120930,15 @@
|
|
|
120993
120930
|
"module": "link/common/block-link-common.js"
|
|
120994
120931
|
},
|
|
120995
120932
|
{
|
|
120996
|
-
"name": "
|
|
120933
|
+
"name": "SbbDisabledTabIndexActionMixin",
|
|
120997
120934
|
"module": "core.js"
|
|
120998
120935
|
}
|
|
120999
120936
|
],
|
|
121000
120937
|
"superclass": {
|
|
121001
|
-
"name": "
|
|
120938
|
+
"name": "SbbButtonBaseElement",
|
|
121002
120939
|
"module": "core.js"
|
|
121003
120940
|
},
|
|
121004
|
-
"tagName": "sbb-block-link-
|
|
120941
|
+
"tagName": "sbb-block-link-button",
|
|
121005
120942
|
"customElement": true,
|
|
121006
120943
|
"attributes": [
|
|
121007
120944
|
{
|
|
@@ -121043,6 +120980,19 @@
|
|
|
121043
120980
|
"module": "icon/icon-name-mixin.js"
|
|
121044
120981
|
}
|
|
121045
120982
|
},
|
|
120983
|
+
{
|
|
120984
|
+
"name": "disabled-interactive",
|
|
120985
|
+
"type": {
|
|
120986
|
+
"text": "boolean"
|
|
120987
|
+
},
|
|
120988
|
+
"default": "false",
|
|
120989
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
120990
|
+
"fieldName": "disabledInteractive",
|
|
120991
|
+
"inheritedFrom": {
|
|
120992
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
120993
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
120994
|
+
}
|
|
120995
|
+
},
|
|
121046
120996
|
{
|
|
121047
120997
|
"name": "disabled",
|
|
121048
120998
|
"description": "Whether the component is disabled.",
|
|
@@ -121055,6 +121005,56 @@
|
|
|
121055
121005
|
"name": "SbbDisabledMixin",
|
|
121056
121006
|
"module": "core/mixins/disabled-mixin.js"
|
|
121057
121007
|
}
|
|
121008
|
+
},
|
|
121009
|
+
{
|
|
121010
|
+
"name": "value",
|
|
121011
|
+
"type": {
|
|
121012
|
+
"text": "string"
|
|
121013
|
+
},
|
|
121014
|
+
"default": "''",
|
|
121015
|
+
"description": "Value of the form element.",
|
|
121016
|
+
"fieldName": "value",
|
|
121017
|
+
"inheritedFrom": {
|
|
121018
|
+
"name": "SbbButtonBaseElement",
|
|
121019
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121020
|
+
}
|
|
121021
|
+
},
|
|
121022
|
+
{
|
|
121023
|
+
"name": "type",
|
|
121024
|
+
"description": "The type attribute to use for the button.",
|
|
121025
|
+
"default": "'button'",
|
|
121026
|
+
"type": {
|
|
121027
|
+
"text": "SbbButtonType"
|
|
121028
|
+
},
|
|
121029
|
+
"fieldName": "type",
|
|
121030
|
+
"inheritedFrom": {
|
|
121031
|
+
"name": "SbbButtonBaseElement",
|
|
121032
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121033
|
+
}
|
|
121034
|
+
},
|
|
121035
|
+
{
|
|
121036
|
+
"name": "form",
|
|
121037
|
+
"description": "The `<form>` element to associate the button with.",
|
|
121038
|
+
"type": {
|
|
121039
|
+
"text": "HTMLFormElement | null"
|
|
121040
|
+
},
|
|
121041
|
+
"fieldName": "form",
|
|
121042
|
+
"inheritedFrom": {
|
|
121043
|
+
"name": "SbbButtonBaseElement",
|
|
121044
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121045
|
+
}
|
|
121046
|
+
},
|
|
121047
|
+
{
|
|
121048
|
+
"name": "name",
|
|
121049
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
121050
|
+
"type": {
|
|
121051
|
+
"text": "string"
|
|
121052
|
+
},
|
|
121053
|
+
"fieldName": "name",
|
|
121054
|
+
"inheritedFrom": {
|
|
121055
|
+
"name": "SbbFormAssociatedMixin",
|
|
121056
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121057
|
+
}
|
|
121058
121058
|
}
|
|
121059
121059
|
]
|
|
121060
121060
|
}
|
|
@@ -121062,10 +121062,10 @@
|
|
|
121062
121062
|
"exports": [
|
|
121063
121063
|
{
|
|
121064
121064
|
"kind": "js",
|
|
121065
|
-
"name": "
|
|
121065
|
+
"name": "SbbBlockLinkButtonElement",
|
|
121066
121066
|
"declaration": {
|
|
121067
|
-
"name": "
|
|
121068
|
-
"module": "link/block-link-
|
|
121067
|
+
"name": "SbbBlockLinkButtonElement",
|
|
121068
|
+
"module": "link/block-link-button/block-link-button.component.js"
|
|
121069
121069
|
}
|
|
121070
121070
|
}
|
|
121071
121071
|
]
|