@sbb-esta/lyne-elements-dev 4.7.0-dev.1773276117 → 4.7.0-dev.1773317876
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/core/styles/core.scss +6 -1
- package/core.css +10 -3
- package/custom-elements.json +746 -746
- package/development/logo/logo.component.d.ts.map +1 -1
- package/development/logo/logo.component.js +22 -39
- package/logo/logo.component.js +42 -44
- package/off-brand-theme.css +10 -3
- package/package.json +2 -2
- package/safety-theme.css +10 -3
- package/standard-theme.css +10 -3
package/custom-elements.json
CHANGED
|
@@ -101527,12 +101527,12 @@
|
|
|
101527
101527
|
},
|
|
101528
101528
|
{
|
|
101529
101529
|
"kind": "javascript-module",
|
|
101530
|
-
"path": "menu/menu-
|
|
101530
|
+
"path": "menu/menu-link/menu-link.component.js",
|
|
101531
101531
|
"declarations": [
|
|
101532
101532
|
{
|
|
101533
101533
|
"kind": "class",
|
|
101534
|
-
"description": "It displays a
|
|
101535
|
-
"name": "
|
|
101534
|
+
"description": "It displays a link element that can be used in the `sbb-menu` component.",
|
|
101535
|
+
"name": "SbbMenuLinkElement",
|
|
101536
101536
|
"cssProperties": [
|
|
101537
101537
|
{
|
|
101538
101538
|
"description": "Can be used to modify horizontal padding.",
|
|
@@ -101542,7 +101542,7 @@
|
|
|
101542
101542
|
],
|
|
101543
101543
|
"slots": [
|
|
101544
101544
|
{
|
|
101545
|
-
"description": "Use the unnamed slot to add content to the `sbb-menu-
|
|
101545
|
+
"description": "Use the unnamed slot to add content to the `sbb-menu-link`.",
|
|
101546
101546
|
"name": ""
|
|
101547
101547
|
},
|
|
101548
101548
|
{
|
|
@@ -101564,21 +101564,20 @@
|
|
|
101564
101564
|
"name": "SbbElement",
|
|
101565
101565
|
"module": "core/base-elements/element.js"
|
|
101566
101566
|
},
|
|
101567
|
-
"default": "'sbb-menu-
|
|
101567
|
+
"default": "'sbb-menu-link'"
|
|
101568
101568
|
},
|
|
101569
101569
|
{
|
|
101570
101570
|
"kind": "field",
|
|
101571
|
-
"name": "
|
|
101571
|
+
"name": "anchorRole",
|
|
101572
101572
|
"type": {
|
|
101573
|
-
"text": "
|
|
101573
|
+
"text": "string"
|
|
101574
101574
|
},
|
|
101575
|
-
"privacy": "
|
|
101576
|
-
"static": true,
|
|
101575
|
+
"privacy": "protected",
|
|
101577
101576
|
"readonly": true,
|
|
101578
101577
|
"default": "'menuitem'",
|
|
101579
101578
|
"inheritedFrom": {
|
|
101580
|
-
"name": "
|
|
101581
|
-
"module": "core/base-elements/
|
|
101579
|
+
"name": "SbbLinkBaseElement",
|
|
101580
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101582
101581
|
}
|
|
101583
101582
|
},
|
|
101584
101583
|
{
|
|
@@ -101597,50 +101596,6 @@
|
|
|
101597
101596
|
"module": "core/mixins/disabled-mixin.js"
|
|
101598
101597
|
}
|
|
101599
101598
|
},
|
|
101600
|
-
{
|
|
101601
|
-
"kind": "field",
|
|
101602
|
-
"name": "disabled",
|
|
101603
|
-
"privacy": "public",
|
|
101604
|
-
"description": "Whether the component is disabled.",
|
|
101605
|
-
"default": "false",
|
|
101606
|
-
"type": {
|
|
101607
|
-
"text": "boolean"
|
|
101608
|
-
},
|
|
101609
|
-
"attribute": "disabled",
|
|
101610
|
-
"reflects": true,
|
|
101611
|
-
"inheritedFrom": {
|
|
101612
|
-
"name": "SbbDisabledMixin",
|
|
101613
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
101614
|
-
}
|
|
101615
|
-
},
|
|
101616
|
-
{
|
|
101617
|
-
"kind": "field",
|
|
101618
|
-
"name": "#disabled",
|
|
101619
|
-
"privacy": "private",
|
|
101620
|
-
"type": {
|
|
101621
|
-
"text": "boolean"
|
|
101622
|
-
},
|
|
101623
|
-
"default": "false",
|
|
101624
|
-
"inheritedFrom": {
|
|
101625
|
-
"name": "SbbDisabledMixin",
|
|
101626
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
101627
|
-
}
|
|
101628
|
-
},
|
|
101629
|
-
{
|
|
101630
|
-
"kind": "method",
|
|
101631
|
-
"name": "isDisabledExternally",
|
|
101632
|
-
"privacy": "protected",
|
|
101633
|
-
"return": {
|
|
101634
|
-
"type": {
|
|
101635
|
-
"text": "boolean"
|
|
101636
|
-
}
|
|
101637
|
-
},
|
|
101638
|
-
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
101639
|
-
"inheritedFrom": {
|
|
101640
|
-
"name": "SbbDisabledMixin",
|
|
101641
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
101642
|
-
}
|
|
101643
|
-
},
|
|
101644
101599
|
{
|
|
101645
101600
|
"kind": "field",
|
|
101646
101601
|
"name": "styles",
|
|
@@ -101738,243 +101693,277 @@
|
|
|
101738
101693
|
},
|
|
101739
101694
|
{
|
|
101740
101695
|
"kind": "field",
|
|
101741
|
-
"name": "
|
|
101696
|
+
"name": "disabled",
|
|
101697
|
+
"privacy": "public",
|
|
101698
|
+
"description": "Whether the component is disabled.",
|
|
101699
|
+
"default": "false",
|
|
101742
101700
|
"type": {
|
|
101743
|
-
"text": "
|
|
101701
|
+
"text": "boolean"
|
|
101744
101702
|
},
|
|
101703
|
+
"attribute": "disabled",
|
|
101704
|
+
"reflects": true,
|
|
101705
|
+
"inheritedFrom": {
|
|
101706
|
+
"name": "SbbDisabledMixin",
|
|
101707
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
101708
|
+
}
|
|
101709
|
+
},
|
|
101710
|
+
{
|
|
101711
|
+
"kind": "field",
|
|
101712
|
+
"name": "#disabled",
|
|
101745
101713
|
"privacy": "private",
|
|
101746
|
-
"
|
|
101747
|
-
|
|
101714
|
+
"type": {
|
|
101715
|
+
"text": "boolean"
|
|
101716
|
+
},
|
|
101717
|
+
"default": "false",
|
|
101748
101718
|
"inheritedFrom": {
|
|
101749
|
-
"name": "
|
|
101750
|
-
"module": "core/
|
|
101719
|
+
"name": "SbbDisabledMixin",
|
|
101720
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
101721
|
+
}
|
|
101722
|
+
},
|
|
101723
|
+
{
|
|
101724
|
+
"kind": "method",
|
|
101725
|
+
"name": "isDisabledExternally",
|
|
101726
|
+
"privacy": "protected",
|
|
101727
|
+
"return": {
|
|
101728
|
+
"type": {
|
|
101729
|
+
"text": "boolean"
|
|
101730
|
+
}
|
|
101731
|
+
},
|
|
101732
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
101733
|
+
"inheritedFrom": {
|
|
101734
|
+
"name": "SbbDisabledMixin",
|
|
101735
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
101751
101736
|
}
|
|
101752
101737
|
},
|
|
101753
101738
|
{
|
|
101754
101739
|
"kind": "field",
|
|
101755
|
-
"name": "
|
|
101740
|
+
"name": "href",
|
|
101756
101741
|
"type": {
|
|
101757
101742
|
"text": "string"
|
|
101758
101743
|
},
|
|
101759
101744
|
"privacy": "public",
|
|
101745
|
+
"default": "''",
|
|
101746
|
+
"description": "The href value you want to link to.",
|
|
101747
|
+
"attribute": "href",
|
|
101748
|
+
"reflects": true,
|
|
101760
101749
|
"inheritedFrom": {
|
|
101761
|
-
"name": "
|
|
101762
|
-
"module": "core/base-elements/
|
|
101750
|
+
"name": "SbbLinkBaseElement",
|
|
101751
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101752
|
+
}
|
|
101753
|
+
},
|
|
101754
|
+
{
|
|
101755
|
+
"kind": "field",
|
|
101756
|
+
"name": "target",
|
|
101757
|
+
"type": {
|
|
101758
|
+
"text": "LinkTargetType | string"
|
|
101763
101759
|
},
|
|
101760
|
+
"privacy": "public",
|
|
101764
101761
|
"default": "''",
|
|
101765
|
-
"description": "
|
|
101766
|
-
"attribute": "
|
|
101762
|
+
"description": "Where to display the linked URL.",
|
|
101763
|
+
"attribute": "target",
|
|
101764
|
+
"reflects": true,
|
|
101765
|
+
"inheritedFrom": {
|
|
101766
|
+
"name": "SbbLinkBaseElement",
|
|
101767
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101768
|
+
}
|
|
101767
101769
|
},
|
|
101768
101770
|
{
|
|
101769
101771
|
"kind": "field",
|
|
101770
|
-
"name": "
|
|
101771
|
-
"privacy": "public",
|
|
101772
|
-
"description": "The type attribute to use for the button.",
|
|
101773
|
-
"default": "'button'",
|
|
101772
|
+
"name": "rel",
|
|
101774
101773
|
"type": {
|
|
101775
|
-
"text": "
|
|
101774
|
+
"text": "string"
|
|
101776
101775
|
},
|
|
101777
|
-
"
|
|
101776
|
+
"privacy": "public",
|
|
101777
|
+
"default": "''",
|
|
101778
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
101779
|
+
"attribute": "rel",
|
|
101780
|
+
"reflects": true,
|
|
101778
101781
|
"inheritedFrom": {
|
|
101779
|
-
"name": "
|
|
101780
|
-
"module": "core/base-elements/
|
|
101782
|
+
"name": "SbbLinkBaseElement",
|
|
101783
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101781
101784
|
}
|
|
101782
101785
|
},
|
|
101783
101786
|
{
|
|
101784
101787
|
"kind": "field",
|
|
101785
|
-
"name": "
|
|
101788
|
+
"name": "download",
|
|
101786
101789
|
"type": {
|
|
101787
|
-
"text": "
|
|
101790
|
+
"text": "boolean"
|
|
101788
101791
|
},
|
|
101789
101792
|
"privacy": "public",
|
|
101790
|
-
"
|
|
101793
|
+
"default": "false",
|
|
101794
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
101795
|
+
"attribute": "download",
|
|
101796
|
+
"reflects": true,
|
|
101791
101797
|
"inheritedFrom": {
|
|
101792
|
-
"name": "
|
|
101793
|
-
"module": "core/base-elements/
|
|
101798
|
+
"name": "SbbLinkBaseElement",
|
|
101799
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101800
|
+
}
|
|
101801
|
+
},
|
|
101802
|
+
{
|
|
101803
|
+
"kind": "field",
|
|
101804
|
+
"name": "accessibilityLabel",
|
|
101805
|
+
"type": {
|
|
101806
|
+
"text": "string"
|
|
101794
101807
|
},
|
|
101795
|
-
"
|
|
101808
|
+
"privacy": "public",
|
|
101809
|
+
"default": "''",
|
|
101810
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
101811
|
+
"attribute": "accessibility-label",
|
|
101812
|
+
"inheritedFrom": {
|
|
101813
|
+
"name": "SbbLinkBaseElement",
|
|
101814
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101815
|
+
}
|
|
101796
101816
|
},
|
|
101797
101817
|
{
|
|
101798
101818
|
"kind": "field",
|
|
101799
|
-
"name": "
|
|
101819
|
+
"name": "accessibilityCurrent",
|
|
101800
101820
|
"type": {
|
|
101801
101821
|
"text": "string"
|
|
101802
101822
|
},
|
|
101803
|
-
"privacy": "
|
|
101823
|
+
"privacy": "public",
|
|
101804
101824
|
"default": "''",
|
|
101825
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
101826
|
+
"attribute": "accessibility-current",
|
|
101805
101827
|
"inheritedFrom": {
|
|
101806
|
-
"name": "
|
|
101807
|
-
"module": "core/base-elements/
|
|
101828
|
+
"name": "SbbLinkBaseElement",
|
|
101829
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101808
101830
|
}
|
|
101809
101831
|
},
|
|
101810
101832
|
{
|
|
101811
101833
|
"kind": "field",
|
|
101812
|
-
"name": "
|
|
101834
|
+
"name": "language",
|
|
101835
|
+
"privacy": "protected",
|
|
101836
|
+
"default": "new SbbLanguageController(this)",
|
|
101837
|
+
"inheritedFrom": {
|
|
101838
|
+
"name": "SbbLinkBaseElement",
|
|
101839
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101840
|
+
}
|
|
101841
|
+
},
|
|
101842
|
+
{
|
|
101843
|
+
"kind": "field",
|
|
101844
|
+
"name": "_evaluateRelAttribute",
|
|
101813
101845
|
"privacy": "private",
|
|
101814
101846
|
"inheritedFrom": {
|
|
101815
|
-
"name": "
|
|
101816
|
-
"module": "core/base-elements/
|
|
101847
|
+
"name": "SbbLinkBaseElement",
|
|
101848
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101817
101849
|
}
|
|
101818
101850
|
},
|
|
101819
101851
|
{
|
|
101820
101852
|
"kind": "method",
|
|
101821
|
-
"name": "
|
|
101822
|
-
"privacy": "
|
|
101853
|
+
"name": "renderLink",
|
|
101854
|
+
"privacy": "protected",
|
|
101823
101855
|
"return": {
|
|
101824
101856
|
"type": {
|
|
101825
|
-
"text": "
|
|
101857
|
+
"text": "TemplateResult"
|
|
101826
101858
|
}
|
|
101827
101859
|
},
|
|
101828
101860
|
"parameters": [
|
|
101829
101861
|
{
|
|
101830
|
-
"name": "
|
|
101862
|
+
"name": "renderContent",
|
|
101831
101863
|
"type": {
|
|
101832
|
-
"text": "
|
|
101864
|
+
"text": "TemplateResult"
|
|
101833
101865
|
}
|
|
101834
101866
|
}
|
|
101835
101867
|
],
|
|
101836
101868
|
"inheritedFrom": {
|
|
101837
|
-
"name": "
|
|
101838
|
-
"module": "core/base-elements/
|
|
101839
|
-
}
|
|
101840
|
-
},
|
|
101841
|
-
{
|
|
101842
|
-
"kind": "field",
|
|
101843
|
-
"name": "_formKeyDown",
|
|
101844
|
-
"privacy": "private",
|
|
101845
|
-
"inheritedFrom": {
|
|
101846
|
-
"name": "SbbButtonBaseElement",
|
|
101847
|
-
"module": "core/base-elements/button-base-element.js"
|
|
101869
|
+
"name": "SbbLinkBaseElement",
|
|
101870
|
+
"module": "core/base-elements/link-base-element.js"
|
|
101848
101871
|
}
|
|
101849
101872
|
},
|
|
101850
101873
|
{
|
|
101851
101874
|
"kind": "field",
|
|
101852
|
-
"name": "
|
|
101875
|
+
"name": "maybeDisabled",
|
|
101853
101876
|
"type": {
|
|
101854
|
-
"text": "boolean"
|
|
101877
|
+
"text": "boolean | undefined"
|
|
101855
101878
|
},
|
|
101856
|
-
"privacy": "
|
|
101857
|
-
"
|
|
101858
|
-
"default": "true",
|
|
101879
|
+
"privacy": "protected",
|
|
101880
|
+
"readonly": true,
|
|
101859
101881
|
"inheritedFrom": {
|
|
101860
|
-
"name": "
|
|
101861
|
-
"module": "core/
|
|
101882
|
+
"name": "SbbActionBaseElement",
|
|
101883
|
+
"module": "core/base-elements/action-base-element.js"
|
|
101862
101884
|
}
|
|
101863
101885
|
},
|
|
101864
101886
|
{
|
|
101865
101887
|
"kind": "field",
|
|
101866
|
-
"name": "
|
|
101867
|
-
"privacy": "public",
|
|
101868
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
101888
|
+
"name": "maybeDisabledInteractive",
|
|
101869
101889
|
"type": {
|
|
101870
|
-
"text": "
|
|
101890
|
+
"text": "boolean | undefined"
|
|
101871
101891
|
},
|
|
101872
|
-
"
|
|
101892
|
+
"privacy": "protected",
|
|
101893
|
+
"readonly": true,
|
|
101873
101894
|
"inheritedFrom": {
|
|
101874
|
-
"name": "
|
|
101875
|
-
"module": "core/
|
|
101895
|
+
"name": "SbbActionBaseElement",
|
|
101896
|
+
"module": "core/base-elements/action-base-element.js"
|
|
101876
101897
|
}
|
|
101877
101898
|
},
|
|
101878
101899
|
{
|
|
101879
|
-
"kind": "
|
|
101880
|
-
"name": "
|
|
101881
|
-
"
|
|
101882
|
-
|
|
101900
|
+
"kind": "method",
|
|
101901
|
+
"name": "setupBaseEventHandlers",
|
|
101902
|
+
"privacy": "protected",
|
|
101903
|
+
"return": {
|
|
101904
|
+
"type": {
|
|
101905
|
+
"text": "void"
|
|
101906
|
+
}
|
|
101883
101907
|
},
|
|
101884
|
-
"privacy": "public",
|
|
101885
|
-
"description": "Returns the ValidityState object for this element.",
|
|
101886
|
-
"readonly": true,
|
|
101887
101908
|
"inheritedFrom": {
|
|
101888
|
-
"name": "
|
|
101889
|
-
"module": "core/
|
|
101909
|
+
"name": "SbbActionBaseElement",
|
|
101910
|
+
"module": "core/base-elements/action-base-element.js"
|
|
101890
101911
|
}
|
|
101891
101912
|
},
|
|
101892
101913
|
{
|
|
101893
101914
|
"kind": "field",
|
|
101894
|
-
"name": "
|
|
101915
|
+
"name": "_hydrationRequired",
|
|
101895
101916
|
"type": {
|
|
101896
|
-
"text": "
|
|
101917
|
+
"text": "boolean"
|
|
101897
101918
|
},
|
|
101898
|
-
"privacy": "
|
|
101899
|
-
"
|
|
101900
|
-
"readonly": true,
|
|
101919
|
+
"privacy": "private",
|
|
101920
|
+
"default": "!!this.shadowRoot",
|
|
101901
101921
|
"inheritedFrom": {
|
|
101902
|
-
"name": "
|
|
101903
|
-
"module": "core/
|
|
101922
|
+
"name": "SbbElement",
|
|
101923
|
+
"module": "core/base-elements/element.js"
|
|
101904
101924
|
}
|
|
101905
101925
|
},
|
|
101906
101926
|
{
|
|
101907
101927
|
"kind": "field",
|
|
101908
|
-
"name": "
|
|
101909
|
-
"
|
|
101910
|
-
|
|
101911
|
-
},
|
|
101912
|
-
"privacy": "public",
|
|
101913
|
-
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
101914
|
-
"readonly": true,
|
|
101928
|
+
"name": "_hydrationComplete",
|
|
101929
|
+
"privacy": "private",
|
|
101930
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
101915
101931
|
"inheritedFrom": {
|
|
101916
|
-
"name": "
|
|
101917
|
-
"module": "core/
|
|
101932
|
+
"name": "SbbElement",
|
|
101933
|
+
"module": "core/base-elements/element.js"
|
|
101918
101934
|
}
|
|
101919
101935
|
},
|
|
101920
101936
|
{
|
|
101921
101937
|
"kind": "field",
|
|
101922
|
-
"name": "
|
|
101938
|
+
"name": "_resolveHydration",
|
|
101939
|
+
"type": {
|
|
101940
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
101941
|
+
},
|
|
101923
101942
|
"privacy": "private",
|
|
101924
|
-
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
101925
101943
|
"inheritedFrom": {
|
|
101926
|
-
"name": "
|
|
101927
|
-
"module": "core/
|
|
101944
|
+
"name": "SbbElement",
|
|
101945
|
+
"module": "core/base-elements/element.js"
|
|
101928
101946
|
}
|
|
101929
101947
|
},
|
|
101930
101948
|
{
|
|
101931
101949
|
"kind": "field",
|
|
101932
|
-
"name": "
|
|
101950
|
+
"name": "hydrationRequired",
|
|
101933
101951
|
"type": {
|
|
101934
101952
|
"text": "boolean"
|
|
101935
101953
|
},
|
|
101936
101954
|
"privacy": "protected",
|
|
101937
|
-
"
|
|
101938
|
-
"
|
|
101939
|
-
"inheritedFrom": {
|
|
101940
|
-
"name": "SbbFormAssociatedMixin",
|
|
101941
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
101942
|
-
}
|
|
101943
|
-
},
|
|
101944
|
-
{
|
|
101945
|
-
"kind": "method",
|
|
101946
|
-
"name": "checkValidity",
|
|
101947
|
-
"privacy": "public",
|
|
101948
|
-
"return": {
|
|
101949
|
-
"type": {
|
|
101950
|
-
"text": "boolean"
|
|
101951
|
-
}
|
|
101952
|
-
},
|
|
101953
|
-
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
101955
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
101956
|
+
"readonly": true,
|
|
101954
101957
|
"inheritedFrom": {
|
|
101955
|
-
"name": "
|
|
101956
|
-
"module": "core/
|
|
101957
|
-
}
|
|
101958
|
-
},
|
|
101959
|
-
{
|
|
101960
|
-
"kind": "method",
|
|
101961
|
-
"name": "reportValidity",
|
|
101962
|
-
"privacy": "public",
|
|
101963
|
-
"return": {
|
|
101964
|
-
"type": {
|
|
101965
|
-
"text": "boolean"
|
|
101966
|
-
}
|
|
101958
|
+
"name": "SbbElement",
|
|
101959
|
+
"module": "core/base-elements/element.js"
|
|
101967
101960
|
},
|
|
101968
|
-
"
|
|
101969
|
-
"inheritedFrom": {
|
|
101970
|
-
"name": "SbbFormAssociatedMixin",
|
|
101971
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
101972
|
-
}
|
|
101961
|
+
"default": "!!this.shadowRoot"
|
|
101973
101962
|
},
|
|
101974
101963
|
{
|
|
101975
101964
|
"kind": "method",
|
|
101976
|
-
"name": "
|
|
101977
|
-
"privacy": "
|
|
101965
|
+
"name": "toggleState",
|
|
101966
|
+
"privacy": "protected",
|
|
101978
101967
|
"return": {
|
|
101979
101968
|
"type": {
|
|
101980
101969
|
"text": "void"
|
|
@@ -101982,208 +101971,250 @@
|
|
|
101982
101971
|
},
|
|
101983
101972
|
"parameters": [
|
|
101984
101973
|
{
|
|
101985
|
-
"name": "
|
|
101974
|
+
"name": "value",
|
|
101986
101975
|
"type": {
|
|
101987
101976
|
"text": "string"
|
|
101988
101977
|
}
|
|
101978
|
+
},
|
|
101979
|
+
{
|
|
101980
|
+
"name": "force",
|
|
101981
|
+
"optional": true,
|
|
101982
|
+
"type": {
|
|
101983
|
+
"text": "boolean"
|
|
101984
|
+
}
|
|
101989
101985
|
}
|
|
101990
101986
|
],
|
|
101991
|
-
"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.",
|
|
101992
101987
|
"inheritedFrom": {
|
|
101993
|
-
"name": "
|
|
101994
|
-
"module": "core/
|
|
101988
|
+
"name": "SbbElement",
|
|
101989
|
+
"module": "core/base-elements/element.js"
|
|
101995
101990
|
}
|
|
101996
101991
|
},
|
|
101997
101992
|
{
|
|
101998
|
-
"kind": "
|
|
101999
|
-
"name": "
|
|
101993
|
+
"kind": "field",
|
|
101994
|
+
"name": "['_$sbbElement$']",
|
|
101995
|
+
"type": {
|
|
101996
|
+
"text": "boolean"
|
|
101997
|
+
},
|
|
101998
|
+
"privacy": "public",
|
|
101999
|
+
"static": true,
|
|
102000
|
+
"default": "true",
|
|
102001
|
+
"inheritedFrom": {
|
|
102002
|
+
"name": "SbbElement",
|
|
102003
|
+
"module": "core/base-elements/element.js"
|
|
102004
|
+
}
|
|
102005
|
+
},
|
|
102006
|
+
{
|
|
102007
|
+
"kind": "field",
|
|
102008
|
+
"name": "_controllers",
|
|
102009
|
+
"type": {
|
|
102010
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
102011
|
+
},
|
|
102000
102012
|
"privacy": "private",
|
|
102001
|
-
"
|
|
102002
|
-
"
|
|
102003
|
-
|
|
102004
|
-
|
|
102013
|
+
"inheritedFrom": {
|
|
102014
|
+
"name": "SbbElement",
|
|
102015
|
+
"module": "core/base-elements/element.js"
|
|
102016
|
+
}
|
|
102017
|
+
}
|
|
102018
|
+
],
|
|
102019
|
+
"mixins": [
|
|
102020
|
+
{
|
|
102021
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
102022
|
+
"module": "core/mixins.js"
|
|
102023
|
+
},
|
|
102024
|
+
{
|
|
102025
|
+
"name": "SbbMenuActionCommonElementMixin",
|
|
102026
|
+
"module": "menu/common/menu-action-common.js"
|
|
102027
|
+
}
|
|
102028
|
+
],
|
|
102029
|
+
"superclass": {
|
|
102030
|
+
"name": "SbbLinkBaseElement",
|
|
102031
|
+
"module": "core/base-elements.js"
|
|
102032
|
+
},
|
|
102033
|
+
"tagName": "sbb-menu-link",
|
|
102034
|
+
"customElement": true,
|
|
102035
|
+
"attributes": [
|
|
102036
|
+
{
|
|
102037
|
+
"name": "disabled-interactive",
|
|
102038
|
+
"type": {
|
|
102039
|
+
"text": "boolean"
|
|
102005
102040
|
},
|
|
102041
|
+
"default": "false",
|
|
102042
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
102043
|
+
"fieldName": "disabledInteractive",
|
|
102006
102044
|
"inheritedFrom": {
|
|
102007
|
-
"name": "
|
|
102008
|
-
"module": "core/mixins/
|
|
102045
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
102046
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
102009
102047
|
}
|
|
102010
102048
|
},
|
|
102011
102049
|
{
|
|
102012
|
-
"
|
|
102013
|
-
"
|
|
102014
|
-
|
|
102015
|
-
"return": {
|
|
102016
|
-
"type": {
|
|
102017
|
-
"text": "void"
|
|
102018
|
-
}
|
|
102050
|
+
"name": "icon-name",
|
|
102051
|
+
"type": {
|
|
102052
|
+
"text": "string"
|
|
102019
102053
|
},
|
|
102020
|
-
"
|
|
102054
|
+
"default": "''",
|
|
102055
|
+
"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.",
|
|
102056
|
+
"fieldName": "iconName",
|
|
102021
102057
|
"inheritedFrom": {
|
|
102022
|
-
"name": "
|
|
102023
|
-
"module": "
|
|
102058
|
+
"name": "SbbIconNameMixin",
|
|
102059
|
+
"module": "icon/icon-name-mixin.js"
|
|
102024
102060
|
}
|
|
102025
102061
|
},
|
|
102026
102062
|
{
|
|
102027
|
-
"
|
|
102028
|
-
"
|
|
102029
|
-
"
|
|
102030
|
-
"
|
|
102031
|
-
"
|
|
102032
|
-
"text": "FormRestoreState"
|
|
102033
|
-
}
|
|
102063
|
+
"name": "disabled",
|
|
102064
|
+
"description": "Whether the component is disabled.",
|
|
102065
|
+
"default": "false",
|
|
102066
|
+
"type": {
|
|
102067
|
+
"text": "boolean"
|
|
102034
102068
|
},
|
|
102069
|
+
"fieldName": "disabled",
|
|
102035
102070
|
"inheritedFrom": {
|
|
102036
|
-
"name": "
|
|
102037
|
-
"module": "core/mixins/
|
|
102071
|
+
"name": "SbbDisabledMixin",
|
|
102072
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
102038
102073
|
}
|
|
102039
102074
|
},
|
|
102040
102075
|
{
|
|
102041
|
-
"
|
|
102042
|
-
"
|
|
102043
|
-
|
|
102044
|
-
"return": {
|
|
102045
|
-
"type": {
|
|
102046
|
-
"text": "void"
|
|
102047
|
-
}
|
|
102076
|
+
"name": "href",
|
|
102077
|
+
"type": {
|
|
102078
|
+
"text": "string"
|
|
102048
102079
|
},
|
|
102049
|
-
"
|
|
102050
|
-
|
|
102051
|
-
|
|
102052
|
-
"type": {
|
|
102053
|
-
"text": "T"
|
|
102054
|
-
}
|
|
102055
|
-
},
|
|
102056
|
-
{
|
|
102057
|
-
"name": "message",
|
|
102058
|
-
"type": {
|
|
102059
|
-
"text": "string"
|
|
102060
|
-
}
|
|
102061
|
-
},
|
|
102062
|
-
{
|
|
102063
|
-
"name": "flagValue",
|
|
102064
|
-
"optional": true,
|
|
102065
|
-
"type": {
|
|
102066
|
-
"text": "ValidityStateFlags[T]"
|
|
102067
|
-
}
|
|
102068
|
-
}
|
|
102069
|
-
],
|
|
102070
|
-
"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).",
|
|
102080
|
+
"default": "''",
|
|
102081
|
+
"description": "The href value you want to link to.",
|
|
102082
|
+
"fieldName": "href",
|
|
102071
102083
|
"inheritedFrom": {
|
|
102072
|
-
"name": "
|
|
102073
|
-
"module": "core/
|
|
102084
|
+
"name": "SbbLinkBaseElement",
|
|
102085
|
+
"module": "core/base-elements/link-base-element.js"
|
|
102074
102086
|
}
|
|
102075
102087
|
},
|
|
102076
102088
|
{
|
|
102077
|
-
"
|
|
102078
|
-
"
|
|
102079
|
-
|
|
102080
|
-
"return": {
|
|
102081
|
-
"type": {
|
|
102082
|
-
"text": "void"
|
|
102083
|
-
}
|
|
102089
|
+
"name": "target",
|
|
102090
|
+
"type": {
|
|
102091
|
+
"text": "LinkTargetType | string"
|
|
102084
102092
|
},
|
|
102085
|
-
"
|
|
102086
|
-
|
|
102087
|
-
|
|
102088
|
-
"type": {
|
|
102089
|
-
"text": "T"
|
|
102090
|
-
}
|
|
102091
|
-
}
|
|
102092
|
-
],
|
|
102093
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
102093
|
+
"default": "''",
|
|
102094
|
+
"description": "Where to display the linked URL.",
|
|
102095
|
+
"fieldName": "target",
|
|
102094
102096
|
"inheritedFrom": {
|
|
102095
|
-
"name": "
|
|
102096
|
-
"module": "core/
|
|
102097
|
+
"name": "SbbLinkBaseElement",
|
|
102098
|
+
"module": "core/base-elements/link-base-element.js"
|
|
102097
102099
|
}
|
|
102098
102100
|
},
|
|
102099
102101
|
{
|
|
102100
|
-
"
|
|
102101
|
-
"
|
|
102102
|
-
|
|
102103
|
-
"return": {
|
|
102104
|
-
"type": {
|
|
102105
|
-
"text": "void"
|
|
102106
|
-
}
|
|
102102
|
+
"name": "rel",
|
|
102103
|
+
"type": {
|
|
102104
|
+
"text": "string"
|
|
102107
102105
|
},
|
|
102108
|
-
"
|
|
102106
|
+
"default": "''",
|
|
102107
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
102108
|
+
"fieldName": "rel",
|
|
102109
102109
|
"inheritedFrom": {
|
|
102110
|
-
"name": "
|
|
102111
|
-
"module": "core/
|
|
102110
|
+
"name": "SbbLinkBaseElement",
|
|
102111
|
+
"module": "core/base-elements/link-base-element.js"
|
|
102112
102112
|
}
|
|
102113
102113
|
},
|
|
102114
102114
|
{
|
|
102115
|
-
"
|
|
102116
|
-
"
|
|
102117
|
-
|
|
102118
|
-
"return": {
|
|
102119
|
-
"type": {
|
|
102120
|
-
"text": "boolean"
|
|
102121
|
-
}
|
|
102115
|
+
"name": "download",
|
|
102116
|
+
"type": {
|
|
102117
|
+
"text": "boolean"
|
|
102122
102118
|
},
|
|
102123
|
-
"
|
|
102124
|
-
|
|
102125
|
-
|
|
102126
|
-
"type": {
|
|
102127
|
-
"text": "PropertyKey | undefined"
|
|
102128
|
-
}
|
|
102129
|
-
}
|
|
102130
|
-
],
|
|
102131
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
102119
|
+
"default": "false",
|
|
102120
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
102121
|
+
"fieldName": "download",
|
|
102132
102122
|
"inheritedFrom": {
|
|
102133
|
-
"name": "
|
|
102134
|
-
"module": "core/
|
|
102123
|
+
"name": "SbbLinkBaseElement",
|
|
102124
|
+
"module": "core/base-elements/link-base-element.js"
|
|
102135
102125
|
}
|
|
102136
102126
|
},
|
|
102137
102127
|
{
|
|
102138
|
-
"
|
|
102139
|
-
"
|
|
102140
|
-
|
|
102141
|
-
"return": {
|
|
102142
|
-
"type": {
|
|
102143
|
-
"text": "void"
|
|
102144
|
-
}
|
|
102128
|
+
"name": "accessibility-label",
|
|
102129
|
+
"type": {
|
|
102130
|
+
"text": "string"
|
|
102145
102131
|
},
|
|
102132
|
+
"default": "''",
|
|
102133
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
102134
|
+
"fieldName": "accessibilityLabel",
|
|
102146
102135
|
"inheritedFrom": {
|
|
102147
|
-
"name": "
|
|
102148
|
-
"module": "core/
|
|
102136
|
+
"name": "SbbLinkBaseElement",
|
|
102137
|
+
"module": "core/base-elements/link-base-element.js"
|
|
102149
102138
|
}
|
|
102150
102139
|
},
|
|
102151
102140
|
{
|
|
102152
|
-
"
|
|
102153
|
-
"
|
|
102154
|
-
|
|
102155
|
-
|
|
102156
|
-
"
|
|
102157
|
-
|
|
102158
|
-
|
|
102159
|
-
"name": "event"
|
|
102160
|
-
}
|
|
102161
|
-
],
|
|
102141
|
+
"name": "accessibility-current",
|
|
102142
|
+
"type": {
|
|
102143
|
+
"text": "string"
|
|
102144
|
+
},
|
|
102145
|
+
"default": "''",
|
|
102146
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
102147
|
+
"fieldName": "accessibilityCurrent",
|
|
102162
102148
|
"inheritedFrom": {
|
|
102163
|
-
"name": "
|
|
102164
|
-
"module": "core/base-elements/
|
|
102149
|
+
"name": "SbbLinkBaseElement",
|
|
102150
|
+
"module": "core/base-elements/link-base-element.js"
|
|
102165
102151
|
}
|
|
102152
|
+
}
|
|
102153
|
+
]
|
|
102154
|
+
}
|
|
102155
|
+
],
|
|
102156
|
+
"exports": [
|
|
102157
|
+
{
|
|
102158
|
+
"kind": "js",
|
|
102159
|
+
"name": "SbbMenuLinkElement",
|
|
102160
|
+
"declaration": {
|
|
102161
|
+
"name": "SbbMenuLinkElement",
|
|
102162
|
+
"module": "menu/menu-link/menu-link.component.js"
|
|
102163
|
+
}
|
|
102164
|
+
}
|
|
102165
|
+
]
|
|
102166
|
+
},
|
|
102167
|
+
{
|
|
102168
|
+
"kind": "javascript-module",
|
|
102169
|
+
"path": "menu/menu-button/menu-button.component.js",
|
|
102170
|
+
"declarations": [
|
|
102171
|
+
{
|
|
102172
|
+
"kind": "class",
|
|
102173
|
+
"description": "It displays a button element that can be used in the `sbb-menu` component.",
|
|
102174
|
+
"name": "SbbMenuButtonElement",
|
|
102175
|
+
"cssProperties": [
|
|
102176
|
+
{
|
|
102177
|
+
"description": "Can be used to modify horizontal padding.",
|
|
102178
|
+
"name": "--sbb-menu-action-outer-horizontal-padding",
|
|
102179
|
+
"default": "var(--sbb-spacing-fixed-3x)"
|
|
102180
|
+
}
|
|
102181
|
+
],
|
|
102182
|
+
"slots": [
|
|
102183
|
+
{
|
|
102184
|
+
"description": "Use the unnamed slot to add content to the `sbb-menu-button`.",
|
|
102185
|
+
"name": ""
|
|
102166
102186
|
},
|
|
102187
|
+
{
|
|
102188
|
+
"description": "Use this slot to provide an icon. If `icon-name` is set, a `sbb-icon` will be used.",
|
|
102189
|
+
"name": "icon"
|
|
102190
|
+
}
|
|
102191
|
+
],
|
|
102192
|
+
"members": [
|
|
102167
102193
|
{
|
|
102168
102194
|
"kind": "field",
|
|
102169
|
-
"name": "
|
|
102170
|
-
"
|
|
102195
|
+
"name": "elementName",
|
|
102196
|
+
"type": {
|
|
102197
|
+
"text": "string"
|
|
102198
|
+
},
|
|
102199
|
+
"privacy": "public",
|
|
102200
|
+
"static": true,
|
|
102201
|
+
"readonly": true,
|
|
102171
102202
|
"inheritedFrom": {
|
|
102172
|
-
"name": "
|
|
102173
|
-
"module": "core/base-elements/
|
|
102174
|
-
}
|
|
102203
|
+
"name": "SbbElement",
|
|
102204
|
+
"module": "core/base-elements/element.js"
|
|
102205
|
+
},
|
|
102206
|
+
"default": "'sbb-menu-button'"
|
|
102175
102207
|
},
|
|
102176
102208
|
{
|
|
102177
102209
|
"kind": "field",
|
|
102178
|
-
"name": "
|
|
102179
|
-
"
|
|
102180
|
-
|
|
102181
|
-
|
|
102182
|
-
|
|
102183
|
-
|
|
102184
|
-
|
|
102185
|
-
|
|
102186
|
-
],
|
|
102210
|
+
"name": "role",
|
|
102211
|
+
"type": {
|
|
102212
|
+
"text": "ElementInternals['role']"
|
|
102213
|
+
},
|
|
102214
|
+
"privacy": "public",
|
|
102215
|
+
"static": true,
|
|
102216
|
+
"readonly": true,
|
|
102217
|
+
"default": "'menuitem'",
|
|
102187
102218
|
"inheritedFrom": {
|
|
102188
102219
|
"name": "SbbButtonLikeBaseElement",
|
|
102189
102220
|
"module": "core/base-elements/button-base-element.js"
|
|
@@ -102191,622 +102222,619 @@
|
|
|
102191
102222
|
},
|
|
102192
102223
|
{
|
|
102193
102224
|
"kind": "field",
|
|
102194
|
-
"name": "
|
|
102195
|
-
"
|
|
102225
|
+
"name": "disabledInteractive",
|
|
102226
|
+
"type": {
|
|
102227
|
+
"text": "boolean"
|
|
102228
|
+
},
|
|
102229
|
+
"privacy": "public",
|
|
102230
|
+
"default": "false",
|
|
102231
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
102232
|
+
"attribute": "disabled-interactive",
|
|
102233
|
+
"reflects": true,
|
|
102196
102234
|
"inheritedFrom": {
|
|
102197
|
-
"name": "
|
|
102198
|
-
"module": "core/
|
|
102235
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
102236
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
102199
102237
|
}
|
|
102200
102238
|
},
|
|
102201
102239
|
{
|
|
102202
102240
|
"kind": "field",
|
|
102203
|
-
"name": "
|
|
102241
|
+
"name": "disabled",
|
|
102242
|
+
"privacy": "public",
|
|
102243
|
+
"description": "Whether the component is disabled.",
|
|
102244
|
+
"default": "false",
|
|
102204
102245
|
"type": {
|
|
102205
|
-
"text": "boolean
|
|
102246
|
+
"text": "boolean"
|
|
102206
102247
|
},
|
|
102207
|
-
"
|
|
102208
|
-
"
|
|
102248
|
+
"attribute": "disabled",
|
|
102249
|
+
"reflects": true,
|
|
102209
102250
|
"inheritedFrom": {
|
|
102210
|
-
"name": "
|
|
102211
|
-
"module": "core/
|
|
102251
|
+
"name": "SbbDisabledMixin",
|
|
102252
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
102212
102253
|
}
|
|
102213
102254
|
},
|
|
102214
102255
|
{
|
|
102215
102256
|
"kind": "field",
|
|
102216
|
-
"name": "
|
|
102257
|
+
"name": "#disabled",
|
|
102258
|
+
"privacy": "private",
|
|
102217
102259
|
"type": {
|
|
102218
|
-
"text": "boolean
|
|
102260
|
+
"text": "boolean"
|
|
102219
102261
|
},
|
|
102220
|
-
"
|
|
102221
|
-
"readonly": true,
|
|
102262
|
+
"default": "false",
|
|
102222
102263
|
"inheritedFrom": {
|
|
102223
|
-
"name": "
|
|
102224
|
-
"module": "core/
|
|
102264
|
+
"name": "SbbDisabledMixin",
|
|
102265
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
102225
102266
|
}
|
|
102226
102267
|
},
|
|
102227
102268
|
{
|
|
102228
102269
|
"kind": "method",
|
|
102229
|
-
"name": "
|
|
102270
|
+
"name": "isDisabledExternally",
|
|
102230
102271
|
"privacy": "protected",
|
|
102231
102272
|
"return": {
|
|
102232
102273
|
"type": {
|
|
102233
|
-
"text": "
|
|
102274
|
+
"text": "boolean"
|
|
102234
102275
|
}
|
|
102235
102276
|
},
|
|
102277
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
102236
102278
|
"inheritedFrom": {
|
|
102237
|
-
"name": "
|
|
102238
|
-
"module": "core/
|
|
102279
|
+
"name": "SbbDisabledMixin",
|
|
102280
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
102239
102281
|
}
|
|
102240
102282
|
},
|
|
102241
102283
|
{
|
|
102242
102284
|
"kind": "field",
|
|
102243
|
-
"name": "
|
|
102285
|
+
"name": "styles",
|
|
102244
102286
|
"type": {
|
|
102245
|
-
"text": "
|
|
102287
|
+
"text": "CSSResultGroup"
|
|
102246
102288
|
},
|
|
102247
|
-
"privacy": "
|
|
102248
|
-
"
|
|
102249
|
-
"
|
|
102250
|
-
"name": "SbbElement",
|
|
102251
|
-
"module": "core/base-elements/element.js"
|
|
102252
|
-
}
|
|
102253
|
-
},
|
|
102254
|
-
{
|
|
102255
|
-
"kind": "field",
|
|
102256
|
-
"name": "_hydrationComplete",
|
|
102257
|
-
"privacy": "private",
|
|
102258
|
-
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
102289
|
+
"privacy": "public",
|
|
102290
|
+
"static": true,
|
|
102291
|
+
"default": "[boxSizingStyles, style]",
|
|
102259
102292
|
"inheritedFrom": {
|
|
102260
|
-
"name": "
|
|
102261
|
-
"module": "
|
|
102293
|
+
"name": "SbbMenuActionCommonElementMixin",
|
|
102294
|
+
"module": "menu/common/menu-action-common.js"
|
|
102262
102295
|
}
|
|
102263
102296
|
},
|
|
102264
102297
|
{
|
|
102265
|
-
"kind": "
|
|
102266
|
-
"name": "
|
|
102267
|
-
"
|
|
102268
|
-
|
|
102298
|
+
"kind": "method",
|
|
102299
|
+
"name": "renderTemplate",
|
|
102300
|
+
"privacy": "protected",
|
|
102301
|
+
"return": {
|
|
102302
|
+
"type": {
|
|
102303
|
+
"text": "TemplateResult"
|
|
102304
|
+
}
|
|
102269
102305
|
},
|
|
102270
|
-
"
|
|
102306
|
+
"description": "Override this method to render the component template.",
|
|
102271
102307
|
"inheritedFrom": {
|
|
102272
|
-
"name": "
|
|
102273
|
-
"module": "core/base-elements/element.js"
|
|
102308
|
+
"name": "SbbActionBaseElement",
|
|
102309
|
+
"module": "core/base-elements/action-base-element.js"
|
|
102274
102310
|
}
|
|
102275
102311
|
},
|
|
102276
102312
|
{
|
|
102277
102313
|
"kind": "field",
|
|
102278
|
-
"name": "
|
|
102314
|
+
"name": "iconName",
|
|
102279
102315
|
"type": {
|
|
102280
|
-
"text": "
|
|
102316
|
+
"text": "string"
|
|
102281
102317
|
},
|
|
102282
|
-
"privacy": "
|
|
102283
|
-
"
|
|
102284
|
-
"
|
|
102318
|
+
"privacy": "public",
|
|
102319
|
+
"default": "''",
|
|
102320
|
+
"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.",
|
|
102321
|
+
"attribute": "icon-name",
|
|
102285
102322
|
"inheritedFrom": {
|
|
102286
|
-
"name": "
|
|
102287
|
-
"module": "
|
|
102288
|
-
}
|
|
102289
|
-
"default": "!!this.shadowRoot"
|
|
102323
|
+
"name": "SbbIconNameMixin",
|
|
102324
|
+
"module": "icon/icon-name-mixin.js"
|
|
102325
|
+
}
|
|
102290
102326
|
},
|
|
102291
102327
|
{
|
|
102292
102328
|
"kind": "method",
|
|
102293
|
-
"name": "
|
|
102329
|
+
"name": "renderIconSlot",
|
|
102294
102330
|
"privacy": "protected",
|
|
102295
102331
|
"return": {
|
|
102296
102332
|
"type": {
|
|
102297
|
-
"text": "
|
|
102333
|
+
"text": "TemplateResult"
|
|
102298
102334
|
}
|
|
102299
102335
|
},
|
|
102300
102336
|
"parameters": [
|
|
102301
102337
|
{
|
|
102302
|
-
"name": "
|
|
102303
|
-
"type": {
|
|
102304
|
-
"text": "string"
|
|
102305
|
-
}
|
|
102306
|
-
},
|
|
102307
|
-
{
|
|
102308
|
-
"name": "force",
|
|
102338
|
+
"name": "classname",
|
|
102309
102339
|
"optional": true,
|
|
102310
102340
|
"type": {
|
|
102311
|
-
"text": "
|
|
102341
|
+
"text": "string"
|
|
102312
102342
|
}
|
|
102313
102343
|
}
|
|
102314
102344
|
],
|
|
102315
102345
|
"inheritedFrom": {
|
|
102316
|
-
"name": "
|
|
102317
|
-
"module": "
|
|
102346
|
+
"name": "SbbIconNameMixin",
|
|
102347
|
+
"module": "icon/icon-name-mixin.js"
|
|
102318
102348
|
}
|
|
102319
102349
|
},
|
|
102320
102350
|
{
|
|
102321
|
-
"kind": "
|
|
102322
|
-
"name": "
|
|
102323
|
-
"
|
|
102324
|
-
|
|
102351
|
+
"kind": "method",
|
|
102352
|
+
"name": "renderIconName",
|
|
102353
|
+
"privacy": "protected",
|
|
102354
|
+
"return": {
|
|
102355
|
+
"type": {
|
|
102356
|
+
"text": "string"
|
|
102357
|
+
}
|
|
102325
102358
|
},
|
|
102326
|
-
"privacy": "public",
|
|
102327
|
-
"static": true,
|
|
102328
|
-
"default": "true",
|
|
102329
102359
|
"inheritedFrom": {
|
|
102330
|
-
"name": "
|
|
102331
|
-
"module": "
|
|
102360
|
+
"name": "SbbIconNameMixin",
|
|
102361
|
+
"module": "icon/icon-name-mixin.js"
|
|
102362
|
+
}
|
|
102363
|
+
},
|
|
102364
|
+
{
|
|
102365
|
+
"kind": "method",
|
|
102366
|
+
"name": "_renderIconName",
|
|
102367
|
+
"privacy": "private",
|
|
102368
|
+
"return": {
|
|
102369
|
+
"type": {
|
|
102370
|
+
"text": "string"
|
|
102371
|
+
}
|
|
102372
|
+
},
|
|
102373
|
+
"inheritedFrom": {
|
|
102374
|
+
"name": "SbbIconNameMixin",
|
|
102375
|
+
"module": "icon/icon-name-mixin.js"
|
|
102332
102376
|
}
|
|
102333
102377
|
},
|
|
102334
102378
|
{
|
|
102335
102379
|
"kind": "field",
|
|
102336
|
-
"name": "
|
|
102380
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
102337
102381
|
"type": {
|
|
102338
|
-
"text": "
|
|
102382
|
+
"text": "array"
|
|
102339
102383
|
},
|
|
102340
102384
|
"privacy": "private",
|
|
102385
|
+
"readonly": true,
|
|
102386
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
102341
102387
|
"inheritedFrom": {
|
|
102342
|
-
"name": "
|
|
102343
|
-
"module": "core/base-elements/element.js"
|
|
102388
|
+
"name": "SbbButtonBaseElement",
|
|
102389
|
+
"module": "core/base-elements/button-base-element.js"
|
|
102344
102390
|
}
|
|
102345
|
-
}
|
|
102346
|
-
],
|
|
102347
|
-
"mixins": [
|
|
102348
|
-
{
|
|
102349
|
-
"name": "SbbDisabledTabIndexActionMixin",
|
|
102350
|
-
"module": "core/mixins.js"
|
|
102351
102391
|
},
|
|
102352
102392
|
{
|
|
102353
|
-
"
|
|
102354
|
-
"
|
|
102355
|
-
}
|
|
102356
|
-
],
|
|
102357
|
-
"superclass": {
|
|
102358
|
-
"name": "SbbButtonBaseElement",
|
|
102359
|
-
"module": "core/base-elements.js"
|
|
102360
|
-
},
|
|
102361
|
-
"tagName": "sbb-menu-button",
|
|
102362
|
-
"customElement": true,
|
|
102363
|
-
"attributes": [
|
|
102364
|
-
{
|
|
102365
|
-
"name": "disabled-interactive",
|
|
102393
|
+
"kind": "field",
|
|
102394
|
+
"name": "value",
|
|
102366
102395
|
"type": {
|
|
102367
|
-
"text": "
|
|
102396
|
+
"text": "string"
|
|
102368
102397
|
},
|
|
102369
|
-
"
|
|
102370
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
102371
|
-
"fieldName": "disabledInteractive",
|
|
102398
|
+
"privacy": "public",
|
|
102372
102399
|
"inheritedFrom": {
|
|
102373
|
-
"name": "
|
|
102374
|
-
"module": "core/
|
|
102375
|
-
}
|
|
102400
|
+
"name": "SbbButtonBaseElement",
|
|
102401
|
+
"module": "core/base-elements/button-base-element.js"
|
|
102402
|
+
},
|
|
102403
|
+
"default": "''",
|
|
102404
|
+
"description": "Value of the form element.",
|
|
102405
|
+
"attribute": "value"
|
|
102376
102406
|
},
|
|
102377
102407
|
{
|
|
102378
|
-
"
|
|
102379
|
-
"
|
|
102380
|
-
"
|
|
102408
|
+
"kind": "field",
|
|
102409
|
+
"name": "type",
|
|
102410
|
+
"privacy": "public",
|
|
102411
|
+
"description": "The type attribute to use for the button.",
|
|
102412
|
+
"default": "'button'",
|
|
102381
102413
|
"type": {
|
|
102382
|
-
"text": "
|
|
102414
|
+
"text": "SbbButtonType"
|
|
102383
102415
|
},
|
|
102384
|
-
"
|
|
102416
|
+
"attribute": "type",
|
|
102385
102417
|
"inheritedFrom": {
|
|
102386
|
-
"name": "
|
|
102387
|
-
"module": "core/
|
|
102418
|
+
"name": "SbbButtonBaseElement",
|
|
102419
|
+
"module": "core/base-elements/button-base-element.js"
|
|
102388
102420
|
}
|
|
102389
102421
|
},
|
|
102390
102422
|
{
|
|
102391
|
-
"
|
|
102423
|
+
"kind": "field",
|
|
102424
|
+
"name": "form",
|
|
102392
102425
|
"type": {
|
|
102393
|
-
"text": "
|
|
102426
|
+
"text": "HTMLFormElement | null"
|
|
102394
102427
|
},
|
|
102395
|
-
"
|
|
102396
|
-
"description": "The
|
|
102397
|
-
"fieldName": "iconName",
|
|
102428
|
+
"privacy": "public",
|
|
102429
|
+
"description": "The `<form>` element to associate the button with.",
|
|
102398
102430
|
"inheritedFrom": {
|
|
102399
|
-
"name": "
|
|
102400
|
-
"module": "
|
|
102401
|
-
}
|
|
102431
|
+
"name": "SbbButtonBaseElement",
|
|
102432
|
+
"module": "core/base-elements/button-base-element.js"
|
|
102433
|
+
},
|
|
102434
|
+
"attribute": "form"
|
|
102402
102435
|
},
|
|
102403
102436
|
{
|
|
102404
|
-
"
|
|
102437
|
+
"kind": "field",
|
|
102438
|
+
"name": "_formId",
|
|
102405
102439
|
"type": {
|
|
102406
102440
|
"text": "string"
|
|
102407
102441
|
},
|
|
102442
|
+
"privacy": "private",
|
|
102408
102443
|
"default": "''",
|
|
102409
|
-
"description": "Value of the form element.",
|
|
102410
|
-
"fieldName": "value",
|
|
102411
102444
|
"inheritedFrom": {
|
|
102412
102445
|
"name": "SbbButtonBaseElement",
|
|
102413
102446
|
"module": "core/base-elements/button-base-element.js"
|
|
102414
102447
|
}
|
|
102415
102448
|
},
|
|
102416
102449
|
{
|
|
102417
|
-
"
|
|
102418
|
-
"
|
|
102419
|
-
"
|
|
102420
|
-
"type": {
|
|
102421
|
-
"text": "SbbButtonType"
|
|
102422
|
-
},
|
|
102423
|
-
"fieldName": "type",
|
|
102450
|
+
"kind": "field",
|
|
102451
|
+
"name": "_handleButtonClick",
|
|
102452
|
+
"privacy": "private",
|
|
102424
102453
|
"inheritedFrom": {
|
|
102425
102454
|
"name": "SbbButtonBaseElement",
|
|
102426
102455
|
"module": "core/base-elements/button-base-element.js"
|
|
102427
102456
|
}
|
|
102428
102457
|
},
|
|
102429
102458
|
{
|
|
102430
|
-
"
|
|
102431
|
-
"
|
|
102432
|
-
"
|
|
102433
|
-
|
|
102459
|
+
"kind": "method",
|
|
102460
|
+
"name": "_requestSubmit",
|
|
102461
|
+
"privacy": "private",
|
|
102462
|
+
"return": {
|
|
102463
|
+
"type": {
|
|
102464
|
+
"text": "void"
|
|
102465
|
+
}
|
|
102434
102466
|
},
|
|
102435
|
-
"
|
|
102467
|
+
"parameters": [
|
|
102468
|
+
{
|
|
102469
|
+
"name": "form",
|
|
102470
|
+
"type": {
|
|
102471
|
+
"text": "HTMLFormElement"
|
|
102472
|
+
}
|
|
102473
|
+
}
|
|
102474
|
+
],
|
|
102475
|
+
"inheritedFrom": {
|
|
102476
|
+
"name": "SbbButtonBaseElement",
|
|
102477
|
+
"module": "core/base-elements/button-base-element.js"
|
|
102478
|
+
}
|
|
102479
|
+
},
|
|
102480
|
+
{
|
|
102481
|
+
"kind": "field",
|
|
102482
|
+
"name": "_formKeyDown",
|
|
102483
|
+
"privacy": "private",
|
|
102436
102484
|
"inheritedFrom": {
|
|
102437
102485
|
"name": "SbbButtonBaseElement",
|
|
102438
102486
|
"module": "core/base-elements/button-base-element.js"
|
|
102439
102487
|
}
|
|
102440
102488
|
},
|
|
102441
102489
|
{
|
|
102490
|
+
"kind": "field",
|
|
102491
|
+
"name": "formAssociated",
|
|
102492
|
+
"type": {
|
|
102493
|
+
"text": "boolean"
|
|
102494
|
+
},
|
|
102495
|
+
"privacy": "public",
|
|
102496
|
+
"static": true,
|
|
102497
|
+
"default": "true",
|
|
102498
|
+
"inheritedFrom": {
|
|
102499
|
+
"name": "SbbFormAssociatedMixin",
|
|
102500
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102501
|
+
}
|
|
102502
|
+
},
|
|
102503
|
+
{
|
|
102504
|
+
"kind": "field",
|
|
102442
102505
|
"name": "name",
|
|
102506
|
+
"privacy": "public",
|
|
102443
102507
|
"description": "Name of the form element. Will be read from name attribute.",
|
|
102444
102508
|
"type": {
|
|
102445
102509
|
"text": "string"
|
|
102446
102510
|
},
|
|
102447
|
-
"
|
|
102511
|
+
"attribute": "name",
|
|
102448
102512
|
"inheritedFrom": {
|
|
102449
102513
|
"name": "SbbFormAssociatedMixin",
|
|
102450
102514
|
"module": "core/mixins/form-associated-mixin.js"
|
|
102451
102515
|
}
|
|
102452
|
-
}
|
|
102453
|
-
]
|
|
102454
|
-
}
|
|
102455
|
-
],
|
|
102456
|
-
"exports": [
|
|
102457
|
-
{
|
|
102458
|
-
"kind": "js",
|
|
102459
|
-
"name": "SbbMenuButtonElement",
|
|
102460
|
-
"declaration": {
|
|
102461
|
-
"name": "SbbMenuButtonElement",
|
|
102462
|
-
"module": "menu/menu-button/menu-button.component.js"
|
|
102463
|
-
}
|
|
102464
|
-
}
|
|
102465
|
-
]
|
|
102466
|
-
},
|
|
102467
|
-
{
|
|
102468
|
-
"kind": "javascript-module",
|
|
102469
|
-
"path": "menu/menu-link/menu-link.component.js",
|
|
102470
|
-
"declarations": [
|
|
102471
|
-
{
|
|
102472
|
-
"kind": "class",
|
|
102473
|
-
"description": "It displays a link element that can be used in the `sbb-menu` component.",
|
|
102474
|
-
"name": "SbbMenuLinkElement",
|
|
102475
|
-
"cssProperties": [
|
|
102476
|
-
{
|
|
102477
|
-
"description": "Can be used to modify horizontal padding.",
|
|
102478
|
-
"name": "--sbb-menu-action-outer-horizontal-padding",
|
|
102479
|
-
"default": "var(--sbb-spacing-fixed-3x)"
|
|
102480
|
-
}
|
|
102481
|
-
],
|
|
102482
|
-
"slots": [
|
|
102483
|
-
{
|
|
102484
|
-
"description": "Use the unnamed slot to add content to the `sbb-menu-link`.",
|
|
102485
|
-
"name": ""
|
|
102486
102516
|
},
|
|
102487
|
-
{
|
|
102488
|
-
"description": "Use this slot to provide an icon. If `icon-name` is set, a `sbb-icon` will be used.",
|
|
102489
|
-
"name": "icon"
|
|
102490
|
-
}
|
|
102491
|
-
],
|
|
102492
|
-
"members": [
|
|
102493
102517
|
{
|
|
102494
102518
|
"kind": "field",
|
|
102495
|
-
"name": "
|
|
102519
|
+
"name": "validity",
|
|
102496
102520
|
"type": {
|
|
102497
|
-
"text": "
|
|
102521
|
+
"text": "ValidityState"
|
|
102498
102522
|
},
|
|
102499
102523
|
"privacy": "public",
|
|
102500
|
-
"
|
|
102524
|
+
"description": "Returns the ValidityState object for this element.",
|
|
102501
102525
|
"readonly": true,
|
|
102502
102526
|
"inheritedFrom": {
|
|
102503
|
-
"name": "
|
|
102504
|
-
"module": "core/
|
|
102505
|
-
}
|
|
102506
|
-
"default": "'sbb-menu-link'"
|
|
102527
|
+
"name": "SbbFormAssociatedMixin",
|
|
102528
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102529
|
+
}
|
|
102507
102530
|
},
|
|
102508
102531
|
{
|
|
102509
102532
|
"kind": "field",
|
|
102510
|
-
"name": "
|
|
102533
|
+
"name": "validationMessage",
|
|
102511
102534
|
"type": {
|
|
102512
102535
|
"text": "string"
|
|
102513
102536
|
},
|
|
102514
|
-
"privacy": "
|
|
102537
|
+
"privacy": "public",
|
|
102538
|
+
"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.",
|
|
102515
102539
|
"readonly": true,
|
|
102516
|
-
"default": "'menuitem'",
|
|
102517
102540
|
"inheritedFrom": {
|
|
102518
|
-
"name": "
|
|
102519
|
-
"module": "core/
|
|
102541
|
+
"name": "SbbFormAssociatedMixin",
|
|
102542
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102520
102543
|
}
|
|
102521
102544
|
},
|
|
102522
102545
|
{
|
|
102523
102546
|
"kind": "field",
|
|
102524
|
-
"name": "
|
|
102547
|
+
"name": "willValidate",
|
|
102525
102548
|
"type": {
|
|
102526
102549
|
"text": "boolean"
|
|
102527
102550
|
},
|
|
102528
102551
|
"privacy": "public",
|
|
102529
|
-
"
|
|
102530
|
-
"
|
|
102531
|
-
"attribute": "disabled-interactive",
|
|
102532
|
-
"reflects": true,
|
|
102552
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
102553
|
+
"readonly": true,
|
|
102533
102554
|
"inheritedFrom": {
|
|
102534
|
-
"name": "
|
|
102535
|
-
"module": "core/mixins/
|
|
102555
|
+
"name": "SbbFormAssociatedMixin",
|
|
102556
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102536
102557
|
}
|
|
102537
102558
|
},
|
|
102538
102559
|
{
|
|
102539
102560
|
"kind": "field",
|
|
102540
|
-
"name": "
|
|
102561
|
+
"name": "_validityStates",
|
|
102562
|
+
"privacy": "private",
|
|
102563
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
102564
|
+
"inheritedFrom": {
|
|
102565
|
+
"name": "SbbFormAssociatedMixin",
|
|
102566
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102567
|
+
}
|
|
102568
|
+
},
|
|
102569
|
+
{
|
|
102570
|
+
"kind": "field",
|
|
102571
|
+
"name": "formDisabled",
|
|
102541
102572
|
"type": {
|
|
102542
|
-
"text": "
|
|
102573
|
+
"text": "boolean"
|
|
102543
102574
|
},
|
|
102544
|
-
"privacy": "
|
|
102545
|
-
"
|
|
102546
|
-
"
|
|
102575
|
+
"privacy": "protected",
|
|
102576
|
+
"default": "false",
|
|
102577
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
102547
102578
|
"inheritedFrom": {
|
|
102548
|
-
"name": "
|
|
102549
|
-
"module": "
|
|
102579
|
+
"name": "SbbFormAssociatedMixin",
|
|
102580
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102550
102581
|
}
|
|
102551
102582
|
},
|
|
102552
102583
|
{
|
|
102553
102584
|
"kind": "method",
|
|
102554
|
-
"name": "
|
|
102555
|
-
"privacy": "
|
|
102585
|
+
"name": "checkValidity",
|
|
102586
|
+
"privacy": "public",
|
|
102556
102587
|
"return": {
|
|
102557
102588
|
"type": {
|
|
102558
|
-
"text": "
|
|
102589
|
+
"text": "boolean"
|
|
102559
102590
|
}
|
|
102560
102591
|
},
|
|
102561
|
-
"description": "
|
|
102592
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
102562
102593
|
"inheritedFrom": {
|
|
102563
|
-
"name": "
|
|
102564
|
-
"module": "core/
|
|
102594
|
+
"name": "SbbFormAssociatedMixin",
|
|
102595
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102565
102596
|
}
|
|
102566
102597
|
},
|
|
102567
102598
|
{
|
|
102568
|
-
"kind": "
|
|
102569
|
-
"name": "
|
|
102570
|
-
"type": {
|
|
102571
|
-
"text": "string"
|
|
102572
|
-
},
|
|
102599
|
+
"kind": "method",
|
|
102600
|
+
"name": "reportValidity",
|
|
102573
102601
|
"privacy": "public",
|
|
102574
|
-
"
|
|
102575
|
-
|
|
102576
|
-
|
|
102602
|
+
"return": {
|
|
102603
|
+
"type": {
|
|
102604
|
+
"text": "boolean"
|
|
102605
|
+
}
|
|
102606
|
+
},
|
|
102607
|
+
"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.",
|
|
102577
102608
|
"inheritedFrom": {
|
|
102578
|
-
"name": "
|
|
102579
|
-
"module": "
|
|
102609
|
+
"name": "SbbFormAssociatedMixin",
|
|
102610
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102580
102611
|
}
|
|
102581
102612
|
},
|
|
102582
102613
|
{
|
|
102583
102614
|
"kind": "method",
|
|
102584
|
-
"name": "
|
|
102585
|
-
"privacy": "
|
|
102615
|
+
"name": "setCustomValidity",
|
|
102616
|
+
"privacy": "public",
|
|
102586
102617
|
"return": {
|
|
102587
102618
|
"type": {
|
|
102588
|
-
"text": "
|
|
102619
|
+
"text": "void"
|
|
102589
102620
|
}
|
|
102590
102621
|
},
|
|
102591
102622
|
"parameters": [
|
|
102592
102623
|
{
|
|
102593
|
-
"name": "
|
|
102594
|
-
"optional": true,
|
|
102624
|
+
"name": "message",
|
|
102595
102625
|
"type": {
|
|
102596
102626
|
"text": "string"
|
|
102597
102627
|
}
|
|
102598
102628
|
}
|
|
102599
102629
|
],
|
|
102630
|
+
"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.",
|
|
102600
102631
|
"inheritedFrom": {
|
|
102601
|
-
"name": "
|
|
102602
|
-
"module": "
|
|
102632
|
+
"name": "SbbFormAssociatedMixin",
|
|
102633
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102603
102634
|
}
|
|
102604
102635
|
},
|
|
102605
102636
|
{
|
|
102606
102637
|
"kind": "method",
|
|
102607
|
-
"name": "
|
|
102608
|
-
"privacy": "
|
|
102638
|
+
"name": "_hasDisabledAncestor",
|
|
102639
|
+
"privacy": "private",
|
|
102609
102640
|
"return": {
|
|
102610
102641
|
"type": {
|
|
102611
|
-
"text": "
|
|
102642
|
+
"text": "boolean"
|
|
102612
102643
|
}
|
|
102613
102644
|
},
|
|
102614
102645
|
"inheritedFrom": {
|
|
102615
|
-
"name": "
|
|
102616
|
-
"module": "
|
|
102646
|
+
"name": "SbbFormAssociatedMixin",
|
|
102647
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102617
102648
|
}
|
|
102618
102649
|
},
|
|
102619
102650
|
{
|
|
102620
102651
|
"kind": "method",
|
|
102621
|
-
"name": "
|
|
102622
|
-
"privacy": "
|
|
102652
|
+
"name": "updateFormValue",
|
|
102653
|
+
"privacy": "protected",
|
|
102623
102654
|
"return": {
|
|
102624
102655
|
"type": {
|
|
102625
|
-
"text": "
|
|
102656
|
+
"text": "void"
|
|
102626
102657
|
}
|
|
102627
102658
|
},
|
|
102659
|
+
"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",
|
|
102628
102660
|
"inheritedFrom": {
|
|
102629
|
-
"name": "
|
|
102630
|
-
"module": "
|
|
102631
|
-
}
|
|
102632
|
-
},
|
|
102633
|
-
{
|
|
102634
|
-
"kind": "field",
|
|
102635
|
-
"name": "disabled",
|
|
102636
|
-
"privacy": "public",
|
|
102637
|
-
"description": "Whether the component is disabled.",
|
|
102638
|
-
"default": "false",
|
|
102639
|
-
"type": {
|
|
102640
|
-
"text": "boolean"
|
|
102641
|
-
},
|
|
102642
|
-
"attribute": "disabled",
|
|
102643
|
-
"reflects": true,
|
|
102644
|
-
"inheritedFrom": {
|
|
102645
|
-
"name": "SbbDisabledMixin",
|
|
102646
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
102647
|
-
}
|
|
102648
|
-
},
|
|
102649
|
-
{
|
|
102650
|
-
"kind": "field",
|
|
102651
|
-
"name": "#disabled",
|
|
102652
|
-
"privacy": "private",
|
|
102653
|
-
"type": {
|
|
102654
|
-
"text": "boolean"
|
|
102655
|
-
},
|
|
102656
|
-
"default": "false",
|
|
102657
|
-
"inheritedFrom": {
|
|
102658
|
-
"name": "SbbDisabledMixin",
|
|
102659
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
102661
|
+
"name": "SbbFormAssociatedMixin",
|
|
102662
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102660
102663
|
}
|
|
102661
102664
|
},
|
|
102662
102665
|
{
|
|
102663
102666
|
"kind": "method",
|
|
102664
|
-
"name": "
|
|
102667
|
+
"name": "formState",
|
|
102665
102668
|
"privacy": "protected",
|
|
102666
102669
|
"return": {
|
|
102667
102670
|
"type": {
|
|
102668
|
-
"text": "
|
|
102671
|
+
"text": "FormRestoreState"
|
|
102669
102672
|
}
|
|
102670
102673
|
},
|
|
102671
|
-
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
102672
|
-
"inheritedFrom": {
|
|
102673
|
-
"name": "SbbDisabledMixin",
|
|
102674
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
102675
|
-
}
|
|
102676
|
-
},
|
|
102677
|
-
{
|
|
102678
|
-
"kind": "field",
|
|
102679
|
-
"name": "href",
|
|
102680
|
-
"type": {
|
|
102681
|
-
"text": "string"
|
|
102682
|
-
},
|
|
102683
|
-
"privacy": "public",
|
|
102684
|
-
"default": "''",
|
|
102685
|
-
"description": "The href value you want to link to.",
|
|
102686
|
-
"attribute": "href",
|
|
102687
|
-
"reflects": true,
|
|
102688
102674
|
"inheritedFrom": {
|
|
102689
|
-
"name": "
|
|
102690
|
-
"module": "core/
|
|
102675
|
+
"name": "SbbFormAssociatedMixin",
|
|
102676
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102691
102677
|
}
|
|
102692
102678
|
},
|
|
102693
102679
|
{
|
|
102694
|
-
"kind": "
|
|
102695
|
-
"name": "
|
|
102696
|
-
"
|
|
102697
|
-
|
|
102680
|
+
"kind": "method",
|
|
102681
|
+
"name": "setValidityFlag",
|
|
102682
|
+
"privacy": "protected",
|
|
102683
|
+
"return": {
|
|
102684
|
+
"type": {
|
|
102685
|
+
"text": "void"
|
|
102686
|
+
}
|
|
102698
102687
|
},
|
|
102699
|
-
"
|
|
102700
|
-
|
|
102701
|
-
|
|
102702
|
-
|
|
102703
|
-
|
|
102688
|
+
"parameters": [
|
|
102689
|
+
{
|
|
102690
|
+
"name": "flag",
|
|
102691
|
+
"type": {
|
|
102692
|
+
"text": "T"
|
|
102693
|
+
}
|
|
102694
|
+
},
|
|
102695
|
+
{
|
|
102696
|
+
"name": "message",
|
|
102697
|
+
"type": {
|
|
102698
|
+
"text": "string"
|
|
102699
|
+
}
|
|
102700
|
+
},
|
|
102701
|
+
{
|
|
102702
|
+
"name": "flagValue",
|
|
102703
|
+
"optional": true,
|
|
102704
|
+
"type": {
|
|
102705
|
+
"text": "ValidityStateFlags[T]"
|
|
102706
|
+
}
|
|
102707
|
+
}
|
|
102708
|
+
],
|
|
102709
|
+
"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).",
|
|
102704
102710
|
"inheritedFrom": {
|
|
102705
|
-
"name": "
|
|
102706
|
-
"module": "core/
|
|
102711
|
+
"name": "SbbFormAssociatedMixin",
|
|
102712
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102707
102713
|
}
|
|
102708
102714
|
},
|
|
102709
102715
|
{
|
|
102710
|
-
"kind": "
|
|
102711
|
-
"name": "
|
|
102712
|
-
"
|
|
102713
|
-
|
|
102716
|
+
"kind": "method",
|
|
102717
|
+
"name": "removeValidityFlag",
|
|
102718
|
+
"privacy": "protected",
|
|
102719
|
+
"return": {
|
|
102720
|
+
"type": {
|
|
102721
|
+
"text": "void"
|
|
102722
|
+
}
|
|
102714
102723
|
},
|
|
102715
|
-
"
|
|
102716
|
-
|
|
102717
|
-
|
|
102718
|
-
|
|
102719
|
-
|
|
102724
|
+
"parameters": [
|
|
102725
|
+
{
|
|
102726
|
+
"name": "flag",
|
|
102727
|
+
"type": {
|
|
102728
|
+
"text": "T"
|
|
102729
|
+
}
|
|
102730
|
+
}
|
|
102731
|
+
],
|
|
102732
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
102720
102733
|
"inheritedFrom": {
|
|
102721
|
-
"name": "
|
|
102722
|
-
"module": "core/
|
|
102734
|
+
"name": "SbbFormAssociatedMixin",
|
|
102735
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102723
102736
|
}
|
|
102724
102737
|
},
|
|
102725
102738
|
{
|
|
102726
|
-
"kind": "
|
|
102727
|
-
"name": "
|
|
102728
|
-
"
|
|
102729
|
-
|
|
102739
|
+
"kind": "method",
|
|
102740
|
+
"name": "validate",
|
|
102741
|
+
"privacy": "protected",
|
|
102742
|
+
"return": {
|
|
102743
|
+
"type": {
|
|
102744
|
+
"text": "void"
|
|
102745
|
+
}
|
|
102730
102746
|
},
|
|
102731
|
-
"
|
|
102732
|
-
"default": "false",
|
|
102733
|
-
"description": "Whether the browser will show the download dialog on click.",
|
|
102734
|
-
"attribute": "download",
|
|
102735
|
-
"reflects": true,
|
|
102747
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
102736
102748
|
"inheritedFrom": {
|
|
102737
|
-
"name": "
|
|
102738
|
-
"module": "core/
|
|
102749
|
+
"name": "SbbFormAssociatedMixin",
|
|
102750
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102739
102751
|
}
|
|
102740
102752
|
},
|
|
102741
102753
|
{
|
|
102742
|
-
"kind": "
|
|
102743
|
-
"name": "
|
|
102744
|
-
"
|
|
102745
|
-
|
|
102754
|
+
"kind": "method",
|
|
102755
|
+
"name": "shouldValidate",
|
|
102756
|
+
"privacy": "protected",
|
|
102757
|
+
"return": {
|
|
102758
|
+
"type": {
|
|
102759
|
+
"text": "boolean"
|
|
102760
|
+
}
|
|
102746
102761
|
},
|
|
102747
|
-
"
|
|
102748
|
-
|
|
102749
|
-
|
|
102750
|
-
|
|
102762
|
+
"parameters": [
|
|
102763
|
+
{
|
|
102764
|
+
"name": "name",
|
|
102765
|
+
"type": {
|
|
102766
|
+
"text": "PropertyKey | undefined"
|
|
102767
|
+
}
|
|
102768
|
+
}
|
|
102769
|
+
],
|
|
102770
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
102751
102771
|
"inheritedFrom": {
|
|
102752
|
-
"name": "
|
|
102753
|
-
"module": "core/
|
|
102772
|
+
"name": "SbbFormAssociatedMixin",
|
|
102773
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102754
102774
|
}
|
|
102755
102775
|
},
|
|
102756
102776
|
{
|
|
102757
|
-
"kind": "
|
|
102758
|
-
"name": "
|
|
102759
|
-
"
|
|
102760
|
-
|
|
102777
|
+
"kind": "method",
|
|
102778
|
+
"name": "_setInternalValidity",
|
|
102779
|
+
"privacy": "private",
|
|
102780
|
+
"return": {
|
|
102781
|
+
"type": {
|
|
102782
|
+
"text": "void"
|
|
102783
|
+
}
|
|
102761
102784
|
},
|
|
102762
|
-
"privacy": "public",
|
|
102763
|
-
"default": "''",
|
|
102764
|
-
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
102765
|
-
"attribute": "accessibility-current",
|
|
102766
102785
|
"inheritedFrom": {
|
|
102767
|
-
"name": "
|
|
102768
|
-
"module": "core/
|
|
102786
|
+
"name": "SbbFormAssociatedMixin",
|
|
102787
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102769
102788
|
}
|
|
102770
102789
|
},
|
|
102771
102790
|
{
|
|
102772
102791
|
"kind": "field",
|
|
102773
|
-
"name": "
|
|
102774
|
-
"privacy": "
|
|
102775
|
-
"
|
|
102792
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
102793
|
+
"privacy": "private",
|
|
102794
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
102795
|
+
"parameters": [
|
|
102796
|
+
{
|
|
102797
|
+
"description": "The origin event.",
|
|
102798
|
+
"name": "event"
|
|
102799
|
+
}
|
|
102800
|
+
],
|
|
102776
102801
|
"inheritedFrom": {
|
|
102777
|
-
"name": "
|
|
102778
|
-
"module": "core/base-elements/
|
|
102802
|
+
"name": "SbbButtonLikeBaseElement",
|
|
102803
|
+
"module": "core/base-elements/button-base-element.js"
|
|
102779
102804
|
}
|
|
102780
102805
|
},
|
|
102781
102806
|
{
|
|
102782
102807
|
"kind": "field",
|
|
102783
|
-
"name": "
|
|
102808
|
+
"name": "_removeActiveMarker",
|
|
102784
102809
|
"privacy": "private",
|
|
102785
102810
|
"inheritedFrom": {
|
|
102786
|
-
"name": "
|
|
102787
|
-
"module": "core/base-elements/
|
|
102811
|
+
"name": "SbbButtonLikeBaseElement",
|
|
102812
|
+
"module": "core/base-elements/button-base-element.js"
|
|
102788
102813
|
}
|
|
102789
102814
|
},
|
|
102790
102815
|
{
|
|
102791
|
-
"kind": "
|
|
102792
|
-
"name": "
|
|
102793
|
-
"privacy": "
|
|
102794
|
-
"
|
|
102795
|
-
"type": {
|
|
102796
|
-
"text": "TemplateResult"
|
|
102797
|
-
}
|
|
102798
|
-
},
|
|
102816
|
+
"kind": "field",
|
|
102817
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
102818
|
+
"privacy": "private",
|
|
102819
|
+
"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.",
|
|
102799
102820
|
"parameters": [
|
|
102800
102821
|
{
|
|
102801
|
-
"
|
|
102802
|
-
"
|
|
102803
|
-
"text": "TemplateResult"
|
|
102804
|
-
}
|
|
102822
|
+
"description": "The origin event.",
|
|
102823
|
+
"name": "event"
|
|
102805
102824
|
}
|
|
102806
102825
|
],
|
|
102807
102826
|
"inheritedFrom": {
|
|
102808
|
-
"name": "
|
|
102809
|
-
"module": "core/base-elements/
|
|
102827
|
+
"name": "SbbButtonLikeBaseElement",
|
|
102828
|
+
"module": "core/base-elements/button-base-element.js"
|
|
102829
|
+
}
|
|
102830
|
+
},
|
|
102831
|
+
{
|
|
102832
|
+
"kind": "field",
|
|
102833
|
+
"name": "_dispatchClickEvent",
|
|
102834
|
+
"privacy": "private",
|
|
102835
|
+
"inheritedFrom": {
|
|
102836
|
+
"name": "SbbButtonLikeBaseElement",
|
|
102837
|
+
"module": "core/base-elements/button-base-element.js"
|
|
102810
102838
|
}
|
|
102811
102839
|
},
|
|
102812
102840
|
{
|
|
@@ -102957,7 +102985,7 @@
|
|
|
102957
102985
|
],
|
|
102958
102986
|
"mixins": [
|
|
102959
102987
|
{
|
|
102960
|
-
"name": "
|
|
102988
|
+
"name": "SbbDisabledTabIndexActionMixin",
|
|
102961
102989
|
"module": "core/mixins.js"
|
|
102962
102990
|
},
|
|
102963
102991
|
{
|
|
@@ -102966,10 +102994,10 @@
|
|
|
102966
102994
|
}
|
|
102967
102995
|
],
|
|
102968
102996
|
"superclass": {
|
|
102969
|
-
"name": "
|
|
102997
|
+
"name": "SbbButtonBaseElement",
|
|
102970
102998
|
"module": "core/base-elements.js"
|
|
102971
102999
|
},
|
|
102972
|
-
"tagName": "sbb-menu-
|
|
103000
|
+
"tagName": "sbb-menu-button",
|
|
102973
103001
|
"customElement": true,
|
|
102974
103002
|
"attributes": [
|
|
102975
103003
|
{
|
|
@@ -102985,19 +103013,6 @@
|
|
|
102985
103013
|
"module": "core/mixins/disabled-mixin.js"
|
|
102986
103014
|
}
|
|
102987
103015
|
},
|
|
102988
|
-
{
|
|
102989
|
-
"name": "icon-name",
|
|
102990
|
-
"type": {
|
|
102991
|
-
"text": "string"
|
|
102992
|
-
},
|
|
102993
|
-
"default": "''",
|
|
102994
|
-
"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.",
|
|
102995
|
-
"fieldName": "iconName",
|
|
102996
|
-
"inheritedFrom": {
|
|
102997
|
-
"name": "SbbIconNameMixin",
|
|
102998
|
-
"module": "icon/icon-name-mixin.js"
|
|
102999
|
-
}
|
|
103000
|
-
},
|
|
103001
103016
|
{
|
|
103002
103017
|
"name": "disabled",
|
|
103003
103018
|
"description": "Whether the component is disabled.",
|
|
@@ -103012,81 +103027,66 @@
|
|
|
103012
103027
|
}
|
|
103013
103028
|
},
|
|
103014
103029
|
{
|
|
103015
|
-
"name": "
|
|
103030
|
+
"name": "icon-name",
|
|
103016
103031
|
"type": {
|
|
103017
103032
|
"text": "string"
|
|
103018
103033
|
},
|
|
103019
103034
|
"default": "''",
|
|
103020
|
-
"description": "The
|
|
103021
|
-
"fieldName": "
|
|
103022
|
-
"inheritedFrom": {
|
|
103023
|
-
"name": "SbbLinkBaseElement",
|
|
103024
|
-
"module": "core/base-elements/link-base-element.js"
|
|
103025
|
-
}
|
|
103026
|
-
},
|
|
103027
|
-
{
|
|
103028
|
-
"name": "target",
|
|
103029
|
-
"type": {
|
|
103030
|
-
"text": "LinkTargetType | string"
|
|
103031
|
-
},
|
|
103032
|
-
"default": "''",
|
|
103033
|
-
"description": "Where to display the linked URL.",
|
|
103034
|
-
"fieldName": "target",
|
|
103035
|
+
"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.",
|
|
103036
|
+
"fieldName": "iconName",
|
|
103035
103037
|
"inheritedFrom": {
|
|
103036
|
-
"name": "
|
|
103037
|
-
"module": "
|
|
103038
|
+
"name": "SbbIconNameMixin",
|
|
103039
|
+
"module": "icon/icon-name-mixin.js"
|
|
103038
103040
|
}
|
|
103039
103041
|
},
|
|
103040
103042
|
{
|
|
103041
|
-
"name": "
|
|
103043
|
+
"name": "value",
|
|
103042
103044
|
"type": {
|
|
103043
103045
|
"text": "string"
|
|
103044
103046
|
},
|
|
103045
103047
|
"default": "''",
|
|
103046
|
-
"description": "
|
|
103047
|
-
"fieldName": "
|
|
103048
|
+
"description": "Value of the form element.",
|
|
103049
|
+
"fieldName": "value",
|
|
103048
103050
|
"inheritedFrom": {
|
|
103049
|
-
"name": "
|
|
103050
|
-
"module": "core/base-elements/
|
|
103051
|
+
"name": "SbbButtonBaseElement",
|
|
103052
|
+
"module": "core/base-elements/button-base-element.js"
|
|
103051
103053
|
}
|
|
103052
103054
|
},
|
|
103053
103055
|
{
|
|
103054
|
-
"name": "
|
|
103056
|
+
"name": "type",
|
|
103057
|
+
"description": "The type attribute to use for the button.",
|
|
103058
|
+
"default": "'button'",
|
|
103055
103059
|
"type": {
|
|
103056
|
-
"text": "
|
|
103060
|
+
"text": "SbbButtonType"
|
|
103057
103061
|
},
|
|
103058
|
-
"
|
|
103059
|
-
"description": "Whether the browser will show the download dialog on click.",
|
|
103060
|
-
"fieldName": "download",
|
|
103062
|
+
"fieldName": "type",
|
|
103061
103063
|
"inheritedFrom": {
|
|
103062
|
-
"name": "
|
|
103063
|
-
"module": "core/base-elements/
|
|
103064
|
+
"name": "SbbButtonBaseElement",
|
|
103065
|
+
"module": "core/base-elements/button-base-element.js"
|
|
103064
103066
|
}
|
|
103065
103067
|
},
|
|
103066
103068
|
{
|
|
103067
|
-
"name": "
|
|
103069
|
+
"name": "form",
|
|
103070
|
+
"description": "The `<form>` element to associate the button with.",
|
|
103068
103071
|
"type": {
|
|
103069
|
-
"text": "
|
|
103072
|
+
"text": "HTMLFormElement | null"
|
|
103070
103073
|
},
|
|
103071
|
-
"
|
|
103072
|
-
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
103073
|
-
"fieldName": "accessibilityLabel",
|
|
103074
|
+
"fieldName": "form",
|
|
103074
103075
|
"inheritedFrom": {
|
|
103075
|
-
"name": "
|
|
103076
|
-
"module": "core/base-elements/
|
|
103076
|
+
"name": "SbbButtonBaseElement",
|
|
103077
|
+
"module": "core/base-elements/button-base-element.js"
|
|
103077
103078
|
}
|
|
103078
103079
|
},
|
|
103079
103080
|
{
|
|
103080
|
-
"name": "
|
|
103081
|
+
"name": "name",
|
|
103082
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
103081
103083
|
"type": {
|
|
103082
103084
|
"text": "string"
|
|
103083
103085
|
},
|
|
103084
|
-
"
|
|
103085
|
-
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
103086
|
-
"fieldName": "accessibilityCurrent",
|
|
103086
|
+
"fieldName": "name",
|
|
103087
103087
|
"inheritedFrom": {
|
|
103088
|
-
"name": "
|
|
103089
|
-
"module": "core/
|
|
103088
|
+
"name": "SbbFormAssociatedMixin",
|
|
103089
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
103090
103090
|
}
|
|
103091
103091
|
}
|
|
103092
103092
|
]
|
|
@@ -103095,10 +103095,10 @@
|
|
|
103095
103095
|
"exports": [
|
|
103096
103096
|
{
|
|
103097
103097
|
"kind": "js",
|
|
103098
|
-
"name": "
|
|
103098
|
+
"name": "SbbMenuButtonElement",
|
|
103099
103099
|
"declaration": {
|
|
103100
|
-
"name": "
|
|
103101
|
-
"module": "menu/menu-
|
|
103100
|
+
"name": "SbbMenuButtonElement",
|
|
103101
|
+
"module": "menu/menu-button/menu-button.component.js"
|
|
103102
103102
|
}
|
|
103103
103103
|
}
|
|
103104
103104
|
]
|