@sbb-esta/lyne-elements-dev 4.7.0-dev.1773743095 → 4.7.0-dev.1773743832
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 +941 -941
- package/development/tooltip/tooltip.component.d.ts +1 -1
- package/development/tooltip/tooltip.component.d.ts.map +1 -1
- package/development/tooltip/tooltip.component.js +1 -1
- package/development/{tooltip.component-bVPXm6Pu.js → tooltip.component-D16wi4nX.js} +2 -2
- package/development/tooltip.js +1 -1
- package/development/tooltip.pure.js +1 -1
- package/package.json +2 -2
- package/tooltip/tooltip.component.js +1 -1
- package/{tooltip.component-B5fKuZdI.js → tooltip.component-DGG7Da2h.js} +1 -1
- package/tooltip.js +1 -1
- package/tooltip.pure.js +1 -1
package/custom-elements.json
CHANGED
|
@@ -118699,20 +118699,28 @@
|
|
|
118699
118699
|
},
|
|
118700
118700
|
{
|
|
118701
118701
|
"kind": "javascript-module",
|
|
118702
|
-
"path": "sidebar/sidebar/sidebar.component.js",
|
|
118702
|
+
"path": "sidebar/sidebar-close-button/sidebar-close-button.component.js",
|
|
118703
118703
|
"declarations": [
|
|
118704
118704
|
{
|
|
118705
118705
|
"kind": "class",
|
|
118706
|
-
"description": "
|
|
118707
|
-
"name": "
|
|
118706
|
+
"description": "Sidebar close button, intended to be placed inside sbb-sidebar.",
|
|
118707
|
+
"name": "SbbSidebarCloseButtonElement",
|
|
118708
118708
|
"slots": [
|
|
118709
118709
|
{
|
|
118710
|
-
"description": "Use the unnamed slot to
|
|
118711
|
-
"name": ""
|
|
118710
|
+
"description": "Use the unnamed slot to add content to the sidebar-close-button. Not intended to be used in this context.",
|
|
118711
|
+
"name": "",
|
|
118712
|
+
"inheritedFrom": {
|
|
118713
|
+
"name": "SbbSecondaryButtonElement",
|
|
118714
|
+
"module": "button/secondary-button/secondary-button.component.js"
|
|
118715
|
+
}
|
|
118712
118716
|
},
|
|
118713
118717
|
{
|
|
118714
|
-
"description": "
|
|
118715
|
-
"name": "
|
|
118718
|
+
"description": "Slot used to display the icon, if one is set. Not intended to be used in this context.",
|
|
118719
|
+
"name": "icon",
|
|
118720
|
+
"inheritedFrom": {
|
|
118721
|
+
"name": "SbbSecondaryButtonElement",
|
|
118722
|
+
"module": "button/secondary-button/secondary-button.component.js"
|
|
118723
|
+
}
|
|
118716
118724
|
}
|
|
118717
118725
|
],
|
|
118718
118726
|
"members": [
|
|
@@ -118729,534 +118737,507 @@
|
|
|
118729
118737
|
"name": "SbbElement",
|
|
118730
118738
|
"module": "core/base-elements/element.js"
|
|
118731
118739
|
},
|
|
118732
|
-
"default": "'sbb-sidebar'"
|
|
118740
|
+
"default": "'sbb-sidebar-close-button'"
|
|
118733
118741
|
},
|
|
118734
118742
|
{
|
|
118735
118743
|
"kind": "field",
|
|
118736
|
-
"name": "
|
|
118737
|
-
"
|
|
118738
|
-
|
|
118744
|
+
"name": "_languageController",
|
|
118745
|
+
"privacy": "private",
|
|
118746
|
+
"default": "new SbbLanguageController(this)"
|
|
118747
|
+
},
|
|
118748
|
+
{
|
|
118749
|
+
"kind": "method",
|
|
118750
|
+
"name": "renderTemplate",
|
|
118751
|
+
"privacy": "protected",
|
|
118752
|
+
"return": {
|
|
118753
|
+
"type": {
|
|
118754
|
+
"text": "TemplateResult"
|
|
118755
|
+
}
|
|
118739
118756
|
},
|
|
118740
|
-
"
|
|
118741
|
-
"
|
|
118742
|
-
|
|
118743
|
-
|
|
118744
|
-
|
|
118757
|
+
"description": "Override this method to render the component template.",
|
|
118758
|
+
"inheritedFrom": {
|
|
118759
|
+
"name": "SbbActionBaseElement",
|
|
118760
|
+
"module": "core/base-elements/action-base-element.js"
|
|
118761
|
+
}
|
|
118745
118762
|
},
|
|
118746
118763
|
{
|
|
118747
|
-
"kind": "
|
|
118748
|
-
"name": "
|
|
118749
|
-
"
|
|
118750
|
-
|
|
118764
|
+
"kind": "method",
|
|
118765
|
+
"name": "renderIconName",
|
|
118766
|
+
"privacy": "protected",
|
|
118767
|
+
"return": {
|
|
118768
|
+
"type": {
|
|
118769
|
+
"text": "string"
|
|
118770
|
+
}
|
|
118751
118771
|
},
|
|
118752
|
-
"
|
|
118753
|
-
|
|
118754
|
-
|
|
118755
|
-
|
|
118756
|
-
"reflects": true
|
|
118772
|
+
"inheritedFrom": {
|
|
118773
|
+
"name": "SbbIconNameMixin",
|
|
118774
|
+
"module": "icon/icon-name-mixin.js"
|
|
118775
|
+
}
|
|
118757
118776
|
},
|
|
118758
118777
|
{
|
|
118759
118778
|
"kind": "field",
|
|
118760
|
-
"name": "
|
|
118779
|
+
"name": "size",
|
|
118761
118780
|
"type": {
|
|
118762
|
-
"text": "
|
|
118781
|
+
"text": "SbbButtonSize"
|
|
118763
118782
|
},
|
|
118764
118783
|
"privacy": "public",
|
|
118765
|
-
"
|
|
118766
|
-
"
|
|
118767
|
-
"attribute": "
|
|
118768
|
-
"reflects": true
|
|
118784
|
+
"description": "Size variant, either l, m or s.",
|
|
118785
|
+
"default": "'s'",
|
|
118786
|
+
"attribute": "size",
|
|
118787
|
+
"reflects": true,
|
|
118788
|
+
"inheritedFrom": {
|
|
118789
|
+
"name": "SbbButtonCommonElementMixin",
|
|
118790
|
+
"module": "button/common/button-common.js"
|
|
118791
|
+
}
|
|
118769
118792
|
},
|
|
118770
118793
|
{
|
|
118771
118794
|
"kind": "field",
|
|
118772
|
-
"name": "
|
|
118795
|
+
"name": "loading",
|
|
118773
118796
|
"type": {
|
|
118774
118797
|
"text": "boolean"
|
|
118775
118798
|
},
|
|
118776
118799
|
"privacy": "public",
|
|
118777
118800
|
"default": "false",
|
|
118778
|
-
"description": "Whether the
|
|
118779
|
-
"attribute": "
|
|
118780
|
-
"reflects": true
|
|
118801
|
+
"description": "Whether the button indicates a loading state.\nThe animation kicks in after a delay of 300ms, configurable with --sbb-button-loading-delay CSS variable.",
|
|
118802
|
+
"attribute": "loading",
|
|
118803
|
+
"reflects": true,
|
|
118804
|
+
"inheritedFrom": {
|
|
118805
|
+
"name": "SbbButtonCommonElementMixin",
|
|
118806
|
+
"module": "button/common/button-common.js"
|
|
118807
|
+
}
|
|
118781
118808
|
},
|
|
118782
118809
|
{
|
|
118783
118810
|
"kind": "field",
|
|
118784
|
-
"name": "
|
|
118811
|
+
"name": "negative",
|
|
118785
118812
|
"type": {
|
|
118786
118813
|
"text": "boolean"
|
|
118787
118814
|
},
|
|
118788
118815
|
"privacy": "public",
|
|
118789
118816
|
"default": "false",
|
|
118790
|
-
"description": "
|
|
118791
|
-
"attribute": "
|
|
118817
|
+
"description": "Negative coloring variant flag.",
|
|
118818
|
+
"attribute": "negative",
|
|
118819
|
+
"reflects": true,
|
|
118820
|
+
"inheritedFrom": {
|
|
118821
|
+
"name": "SbbNegativeMixin",
|
|
118822
|
+
"module": "core/mixins/negative-mixin.js"
|
|
118823
|
+
}
|
|
118792
118824
|
},
|
|
118793
118825
|
{
|
|
118794
118826
|
"kind": "field",
|
|
118795
|
-
"name": "
|
|
118827
|
+
"name": "iconName",
|
|
118796
118828
|
"type": {
|
|
118797
|
-
"text": "
|
|
118829
|
+
"text": "string"
|
|
118798
118830
|
},
|
|
118799
118831
|
"privacy": "public",
|
|
118800
|
-
"
|
|
118801
|
-
"
|
|
118802
|
-
"
|
|
118803
|
-
|
|
118804
|
-
|
|
118805
|
-
|
|
118806
|
-
|
|
118807
|
-
"type": {
|
|
118808
|
-
"text": "SbbSidebarContainerElement | null"
|
|
118809
|
-
},
|
|
118810
|
-
"privacy": "private",
|
|
118811
|
-
"default": "null"
|
|
118812
|
-
},
|
|
118813
|
-
{
|
|
118814
|
-
"kind": "field",
|
|
118815
|
-
"name": "_lastFocusedElement",
|
|
118816
|
-
"type": {
|
|
118817
|
-
"text": "HTMLElement | null"
|
|
118818
|
-
},
|
|
118819
|
-
"privacy": "private",
|
|
118820
|
-
"default": "null"
|
|
118821
|
-
},
|
|
118822
|
-
{
|
|
118823
|
-
"kind": "field",
|
|
118824
|
-
"name": "_focusTrapController",
|
|
118825
|
-
"privacy": "private",
|
|
118826
|
-
"default": "new SbbFocusTrapController(this)"
|
|
118827
|
-
},
|
|
118828
|
-
{
|
|
118829
|
-
"kind": "field",
|
|
118830
|
-
"name": "_escapableOverlayController",
|
|
118831
|
-
"privacy": "private",
|
|
118832
|
-
"default": "new SbbEscapableOverlayController(this)"
|
|
118832
|
+
"default": "''",
|
|
118833
|
+
"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.",
|
|
118834
|
+
"attribute": "icon-name",
|
|
118835
|
+
"inheritedFrom": {
|
|
118836
|
+
"name": "SbbIconNameMixin",
|
|
118837
|
+
"module": "icon/icon-name-mixin.js"
|
|
118838
|
+
}
|
|
118833
118839
|
},
|
|
118834
118840
|
{
|
|
118835
118841
|
"kind": "method",
|
|
118836
|
-
"name": "
|
|
118837
|
-
"privacy": "
|
|
118842
|
+
"name": "renderIconSlot",
|
|
118843
|
+
"privacy": "protected",
|
|
118838
118844
|
"return": {
|
|
118839
118845
|
"type": {
|
|
118840
|
-
"text": "
|
|
118846
|
+
"text": "TemplateResult"
|
|
118841
118847
|
}
|
|
118842
118848
|
},
|
|
118843
|
-
"
|
|
118844
|
-
|
|
118845
|
-
|
|
118846
|
-
|
|
118847
|
-
|
|
118848
|
-
|
|
118849
|
-
|
|
118850
|
-
"type": {
|
|
118851
|
-
"text": "void"
|
|
118849
|
+
"parameters": [
|
|
118850
|
+
{
|
|
118851
|
+
"name": "classname",
|
|
118852
|
+
"optional": true,
|
|
118853
|
+
"type": {
|
|
118854
|
+
"text": "string"
|
|
118855
|
+
}
|
|
118852
118856
|
}
|
|
118853
|
-
|
|
118854
|
-
"description": "Opens the sidebar.",
|
|
118857
|
+
],
|
|
118855
118858
|
"inheritedFrom": {
|
|
118856
|
-
"name": "
|
|
118857
|
-
"module": "
|
|
118859
|
+
"name": "SbbIconNameMixin",
|
|
118860
|
+
"module": "icon/icon-name-mixin.js"
|
|
118858
118861
|
}
|
|
118859
118862
|
},
|
|
118860
118863
|
{
|
|
118861
118864
|
"kind": "method",
|
|
118862
|
-
"name": "
|
|
118865
|
+
"name": "_renderIconName",
|
|
118863
118866
|
"privacy": "private",
|
|
118864
118867
|
"return": {
|
|
118865
118868
|
"type": {
|
|
118866
|
-
"text": "
|
|
118869
|
+
"text": "string"
|
|
118867
118870
|
}
|
|
118871
|
+
},
|
|
118872
|
+
"inheritedFrom": {
|
|
118873
|
+
"name": "SbbIconNameMixin",
|
|
118874
|
+
"module": "icon/icon-name-mixin.js"
|
|
118868
118875
|
}
|
|
118869
118876
|
},
|
|
118870
118877
|
{
|
|
118871
|
-
"kind": "
|
|
118872
|
-
"name": "
|
|
118873
|
-
"
|
|
118874
|
-
|
|
118875
|
-
|
|
118876
|
-
|
|
118877
|
-
|
|
118878
|
+
"kind": "field",
|
|
118879
|
+
"name": "disabledInteractive",
|
|
118880
|
+
"type": {
|
|
118881
|
+
"text": "boolean"
|
|
118882
|
+
},
|
|
118883
|
+
"privacy": "public",
|
|
118884
|
+
"default": "false",
|
|
118885
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
118886
|
+
"attribute": "disabled-interactive",
|
|
118887
|
+
"reflects": true,
|
|
118888
|
+
"inheritedFrom": {
|
|
118889
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
118890
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
118878
118891
|
}
|
|
118879
118892
|
},
|
|
118880
118893
|
{
|
|
118881
|
-
"kind": "
|
|
118882
|
-
"name": "
|
|
118894
|
+
"kind": "field",
|
|
118895
|
+
"name": "disabled",
|
|
118883
118896
|
"privacy": "public",
|
|
118884
|
-
"
|
|
118885
|
-
|
|
118886
|
-
|
|
118887
|
-
|
|
118897
|
+
"description": "Whether the component is disabled.",
|
|
118898
|
+
"default": "false",
|
|
118899
|
+
"type": {
|
|
118900
|
+
"text": "boolean"
|
|
118888
118901
|
},
|
|
118889
|
-
"
|
|
118902
|
+
"attribute": "disabled",
|
|
118903
|
+
"reflects": true,
|
|
118890
118904
|
"inheritedFrom": {
|
|
118891
|
-
"name": "
|
|
118892
|
-
"module": "core/
|
|
118905
|
+
"name": "SbbDisabledMixin",
|
|
118906
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
118893
118907
|
}
|
|
118894
118908
|
},
|
|
118895
118909
|
{
|
|
118896
|
-
"kind": "
|
|
118897
|
-
"name": "
|
|
118910
|
+
"kind": "field",
|
|
118911
|
+
"name": "#disabled",
|
|
118898
118912
|
"privacy": "private",
|
|
118899
|
-
"
|
|
118900
|
-
"
|
|
118901
|
-
|
|
118902
|
-
|
|
118913
|
+
"type": {
|
|
118914
|
+
"text": "boolean"
|
|
118915
|
+
},
|
|
118916
|
+
"default": "false",
|
|
118917
|
+
"inheritedFrom": {
|
|
118918
|
+
"name": "SbbDisabledMixin",
|
|
118919
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
118903
118920
|
}
|
|
118904
118921
|
},
|
|
118905
118922
|
{
|
|
118906
118923
|
"kind": "method",
|
|
118907
|
-
"name": "
|
|
118908
|
-
"privacy": "
|
|
118924
|
+
"name": "isDisabledExternally",
|
|
118925
|
+
"privacy": "protected",
|
|
118909
118926
|
"return": {
|
|
118910
118927
|
"type": {
|
|
118911
|
-
"text": "
|
|
118928
|
+
"text": "boolean"
|
|
118912
118929
|
}
|
|
118930
|
+
},
|
|
118931
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
118932
|
+
"inheritedFrom": {
|
|
118933
|
+
"name": "SbbDisabledMixin",
|
|
118934
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
118913
118935
|
}
|
|
118914
118936
|
},
|
|
118915
118937
|
{
|
|
118916
|
-
"kind": "
|
|
118917
|
-
"name": "
|
|
118918
|
-
"
|
|
118919
|
-
|
|
118920
|
-
"type": {
|
|
118921
|
-
"text": "void"
|
|
118922
|
-
}
|
|
118923
|
-
}
|
|
118924
|
-
},
|
|
118925
|
-
{
|
|
118926
|
-
"kind": "method",
|
|
118927
|
-
"name": "_updateSidebarWidth",
|
|
118928
|
-
"privacy": "private",
|
|
118929
|
-
"return": {
|
|
118930
|
-
"type": {
|
|
118931
|
-
"text": "void"
|
|
118932
|
-
}
|
|
118933
|
-
},
|
|
118934
|
-
"parameters": [
|
|
118935
|
-
{
|
|
118936
|
-
"name": "oldPosition",
|
|
118937
|
-
"optional": true,
|
|
118938
|
-
"type": {
|
|
118939
|
-
"text": "this['position']"
|
|
118940
|
-
}
|
|
118941
|
-
}
|
|
118942
|
-
]
|
|
118943
|
-
},
|
|
118944
|
-
{
|
|
118945
|
-
"kind": "method",
|
|
118946
|
-
"name": "_buildCssWidthVar",
|
|
118947
|
-
"privacy": "private",
|
|
118948
|
-
"return": {
|
|
118949
|
-
"type": {
|
|
118950
|
-
"text": "string"
|
|
118951
|
-
}
|
|
118938
|
+
"kind": "field",
|
|
118939
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
118940
|
+
"type": {
|
|
118941
|
+
"text": "array"
|
|
118952
118942
|
},
|
|
118953
|
-
"parameters": [
|
|
118954
|
-
{
|
|
118955
|
-
"name": "position",
|
|
118956
|
-
"default": "this.position"
|
|
118957
|
-
}
|
|
118958
|
-
]
|
|
118959
|
-
},
|
|
118960
|
-
{
|
|
118961
|
-
"kind": "method",
|
|
118962
|
-
"name": "_isModeOver",
|
|
118963
118943
|
"privacy": "private",
|
|
118964
|
-
"
|
|
118965
|
-
|
|
118966
|
-
|
|
118967
|
-
|
|
118944
|
+
"readonly": true,
|
|
118945
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
118946
|
+
"inheritedFrom": {
|
|
118947
|
+
"name": "SbbButtonBaseElement",
|
|
118948
|
+
"module": "core/base-elements/button-base-element.js"
|
|
118968
118949
|
}
|
|
118969
118950
|
},
|
|
118970
118951
|
{
|
|
118971
|
-
"kind": "
|
|
118972
|
-
"name": "
|
|
118973
|
-
"
|
|
118974
|
-
|
|
118975
|
-
"type": {
|
|
118976
|
-
"text": "void"
|
|
118977
|
-
}
|
|
118952
|
+
"kind": "field",
|
|
118953
|
+
"name": "value",
|
|
118954
|
+
"type": {
|
|
118955
|
+
"text": "string"
|
|
118978
118956
|
},
|
|
118979
|
-
"
|
|
118980
|
-
|
|
118981
|
-
|
|
118982
|
-
|
|
118983
|
-
|
|
118984
|
-
|
|
118985
|
-
|
|
118986
|
-
|
|
118987
|
-
},
|
|
118988
|
-
{
|
|
118989
|
-
"kind": "method",
|
|
118990
|
-
"name": "_detectScrolledState",
|
|
118991
|
-
"privacy": "private",
|
|
118992
|
-
"return": {
|
|
118993
|
-
"type": {
|
|
118994
|
-
"text": "void"
|
|
118995
|
-
}
|
|
118996
|
-
}
|
|
118957
|
+
"privacy": "public",
|
|
118958
|
+
"inheritedFrom": {
|
|
118959
|
+
"name": "SbbButtonBaseElement",
|
|
118960
|
+
"module": "core/base-elements/button-base-element.js"
|
|
118961
|
+
},
|
|
118962
|
+
"default": "''",
|
|
118963
|
+
"description": "Value of the form element.",
|
|
118964
|
+
"attribute": "value"
|
|
118997
118965
|
},
|
|
118998
118966
|
{
|
|
118999
118967
|
"kind": "field",
|
|
119000
|
-
"name": "
|
|
118968
|
+
"name": "type",
|
|
118969
|
+
"privacy": "public",
|
|
118970
|
+
"description": "The type attribute to use for the button.",
|
|
118971
|
+
"default": "'button'",
|
|
119001
118972
|
"type": {
|
|
119002
|
-
"text": "
|
|
118973
|
+
"text": "SbbButtonType"
|
|
119003
118974
|
},
|
|
119004
|
-
"
|
|
119005
|
-
"default": "false",
|
|
119006
|
-
"description": "Whether the component is currently animating.",
|
|
118975
|
+
"attribute": "type",
|
|
119007
118976
|
"inheritedFrom": {
|
|
119008
|
-
"name": "
|
|
119009
|
-
"module": "core/
|
|
118977
|
+
"name": "SbbButtonBaseElement",
|
|
118978
|
+
"module": "core/base-elements/button-base-element.js"
|
|
119010
118979
|
}
|
|
119011
118980
|
},
|
|
119012
118981
|
{
|
|
119013
118982
|
"kind": "field",
|
|
119014
|
-
"name": "
|
|
118983
|
+
"name": "form",
|
|
119015
118984
|
"type": {
|
|
119016
|
-
"text": "
|
|
118985
|
+
"text": "HTMLFormElement | null"
|
|
119017
118986
|
},
|
|
119018
118987
|
"privacy": "public",
|
|
119019
|
-
"description": "
|
|
119020
|
-
"readonly": true,
|
|
118988
|
+
"description": "The `<form>` element to associate the button with.",
|
|
119021
118989
|
"inheritedFrom": {
|
|
119022
|
-
"name": "
|
|
119023
|
-
"module": "core/
|
|
119024
|
-
}
|
|
118990
|
+
"name": "SbbButtonBaseElement",
|
|
118991
|
+
"module": "core/base-elements/button-base-element.js"
|
|
118992
|
+
},
|
|
118993
|
+
"attribute": "form"
|
|
119025
118994
|
},
|
|
119026
118995
|
{
|
|
119027
118996
|
"kind": "field",
|
|
119028
|
-
"name": "
|
|
118997
|
+
"name": "_formId",
|
|
119029
118998
|
"type": {
|
|
119030
|
-
"text": "
|
|
118999
|
+
"text": "string"
|
|
119031
119000
|
},
|
|
119032
119001
|
"privacy": "private",
|
|
119002
|
+
"default": "''",
|
|
119033
119003
|
"inheritedFrom": {
|
|
119034
|
-
"name": "
|
|
119035
|
-
"module": "core/
|
|
119004
|
+
"name": "SbbButtonBaseElement",
|
|
119005
|
+
"module": "core/base-elements/button-base-element.js"
|
|
119036
119006
|
}
|
|
119037
119007
|
},
|
|
119038
119008
|
{
|
|
119039
|
-
"kind": "
|
|
119040
|
-
"name": "
|
|
119041
|
-
"privacy": "
|
|
119042
|
-
"return": {
|
|
119043
|
-
"type": {
|
|
119044
|
-
"text": "void"
|
|
119045
|
-
}
|
|
119046
|
-
},
|
|
119009
|
+
"kind": "field",
|
|
119010
|
+
"name": "_handleButtonClick",
|
|
119011
|
+
"privacy": "private",
|
|
119047
119012
|
"inheritedFrom": {
|
|
119048
|
-
"name": "
|
|
119049
|
-
"module": "core/
|
|
119013
|
+
"name": "SbbButtonBaseElement",
|
|
119014
|
+
"module": "core/base-elements/button-base-element.js"
|
|
119050
119015
|
}
|
|
119051
119016
|
},
|
|
119052
119017
|
{
|
|
119053
119018
|
"kind": "method",
|
|
119054
|
-
"name": "
|
|
119055
|
-
"privacy": "
|
|
119019
|
+
"name": "_requestSubmit",
|
|
119020
|
+
"privacy": "private",
|
|
119056
119021
|
"return": {
|
|
119057
119022
|
"type": {
|
|
119058
119023
|
"text": "void"
|
|
119059
119024
|
}
|
|
119060
119025
|
},
|
|
119061
|
-
"
|
|
119026
|
+
"parameters": [
|
|
119027
|
+
{
|
|
119028
|
+
"name": "form",
|
|
119029
|
+
"type": {
|
|
119030
|
+
"text": "HTMLFormElement"
|
|
119031
|
+
}
|
|
119032
|
+
}
|
|
119033
|
+
],
|
|
119062
119034
|
"inheritedFrom": {
|
|
119063
|
-
"name": "
|
|
119064
|
-
"module": "core/
|
|
119035
|
+
"name": "SbbButtonBaseElement",
|
|
119036
|
+
"module": "core/base-elements/button-base-element.js"
|
|
119065
119037
|
}
|
|
119066
119038
|
},
|
|
119067
119039
|
{
|
|
119068
|
-
"kind": "
|
|
119069
|
-
"name": "
|
|
119040
|
+
"kind": "field",
|
|
119041
|
+
"name": "_formKeyDown",
|
|
119070
119042
|
"privacy": "private",
|
|
119071
|
-
"return": {
|
|
119072
|
-
"type": {
|
|
119073
|
-
"text": "Promise<void>"
|
|
119074
|
-
}
|
|
119075
|
-
},
|
|
119076
119043
|
"inheritedFrom": {
|
|
119077
|
-
"name": "
|
|
119078
|
-
"module": "core/
|
|
119044
|
+
"name": "SbbButtonBaseElement",
|
|
119045
|
+
"module": "core/base-elements/button-base-element.js"
|
|
119079
119046
|
}
|
|
119080
119047
|
},
|
|
119081
119048
|
{
|
|
119082
119049
|
"kind": "field",
|
|
119083
|
-
"name": "
|
|
119050
|
+
"name": "formAssociated",
|
|
119051
|
+
"type": {
|
|
119052
|
+
"text": "boolean"
|
|
119053
|
+
},
|
|
119084
119054
|
"privacy": "public",
|
|
119085
119055
|
"static": true,
|
|
119086
|
-
"
|
|
119087
|
-
"
|
|
119056
|
+
"default": "true",
|
|
119057
|
+
"inheritedFrom": {
|
|
119058
|
+
"name": "SbbFormAssociatedMixin",
|
|
119059
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
119060
|
+
}
|
|
119061
|
+
},
|
|
119062
|
+
{
|
|
119063
|
+
"kind": "field",
|
|
119064
|
+
"name": "name",
|
|
119065
|
+
"privacy": "public",
|
|
119066
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
119088
119067
|
"type": {
|
|
119089
|
-
"text": "
|
|
119068
|
+
"text": "string"
|
|
119090
119069
|
},
|
|
119070
|
+
"attribute": "name",
|
|
119091
119071
|
"inheritedFrom": {
|
|
119092
|
-
"name": "
|
|
119093
|
-
"module": "core/
|
|
119072
|
+
"name": "SbbFormAssociatedMixin",
|
|
119073
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
119094
119074
|
}
|
|
119095
119075
|
},
|
|
119096
119076
|
{
|
|
119097
119077
|
"kind": "field",
|
|
119098
|
-
"name": "
|
|
119099
|
-
"privacy": "protected",
|
|
119100
|
-
"description": "The state of the component.",
|
|
119078
|
+
"name": "validity",
|
|
119101
119079
|
"type": {
|
|
119102
|
-
"text": "
|
|
119080
|
+
"text": "ValidityState"
|
|
119103
119081
|
},
|
|
119104
|
-
"
|
|
119082
|
+
"privacy": "public",
|
|
119083
|
+
"description": "Returns the ValidityState object for this element.",
|
|
119084
|
+
"readonly": true,
|
|
119105
119085
|
"inheritedFrom": {
|
|
119106
|
-
"name": "
|
|
119107
|
-
"module": "core/
|
|
119086
|
+
"name": "SbbFormAssociatedMixin",
|
|
119087
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
119108
119088
|
}
|
|
119109
119089
|
},
|
|
119110
119090
|
{
|
|
119111
119091
|
"kind": "field",
|
|
119112
|
-
"name": "
|
|
119092
|
+
"name": "validationMessage",
|
|
119113
119093
|
"type": {
|
|
119114
|
-
"text": "
|
|
119094
|
+
"text": "string"
|
|
119115
119095
|
},
|
|
119116
|
-
"privacy": "
|
|
119096
|
+
"privacy": "public",
|
|
119097
|
+
"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.",
|
|
119098
|
+
"readonly": true,
|
|
119117
119099
|
"inheritedFrom": {
|
|
119118
|
-
"name": "
|
|
119119
|
-
"module": "core/
|
|
119100
|
+
"name": "SbbFormAssociatedMixin",
|
|
119101
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
119120
119102
|
}
|
|
119121
119103
|
},
|
|
119122
119104
|
{
|
|
119123
119105
|
"kind": "field",
|
|
119124
|
-
"name": "
|
|
119106
|
+
"name": "willValidate",
|
|
119125
119107
|
"type": {
|
|
119126
119108
|
"text": "boolean"
|
|
119127
119109
|
},
|
|
119128
119110
|
"privacy": "public",
|
|
119129
|
-
"description": "
|
|
119111
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
119130
119112
|
"readonly": true,
|
|
119131
119113
|
"inheritedFrom": {
|
|
119132
|
-
"name": "
|
|
119133
|
-
"module": "core/
|
|
119114
|
+
"name": "SbbFormAssociatedMixin",
|
|
119115
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
119134
119116
|
}
|
|
119135
119117
|
},
|
|
119136
119118
|
{
|
|
119137
|
-
"kind": "
|
|
119138
|
-
"name": "
|
|
119139
|
-
"privacy": "
|
|
119140
|
-
"
|
|
119141
|
-
"type": {
|
|
119142
|
-
"text": "void"
|
|
119143
|
-
}
|
|
119144
|
-
},
|
|
119145
|
-
"description": "The method which is called on escape key press. Defaults to calling close()",
|
|
119119
|
+
"kind": "field",
|
|
119120
|
+
"name": "_validityStates",
|
|
119121
|
+
"privacy": "private",
|
|
119122
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
119146
119123
|
"inheritedFrom": {
|
|
119147
|
-
"name": "
|
|
119148
|
-
"module": "core/
|
|
119124
|
+
"name": "SbbFormAssociatedMixin",
|
|
119125
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
119149
119126
|
}
|
|
119150
119127
|
},
|
|
119151
119128
|
{
|
|
119152
|
-
"kind": "
|
|
119153
|
-
"name": "
|
|
119154
|
-
"
|
|
119155
|
-
|
|
119156
|
-
"type": {
|
|
119157
|
-
"text": "boolean"
|
|
119158
|
-
}
|
|
119129
|
+
"kind": "field",
|
|
119130
|
+
"name": "formDisabled",
|
|
119131
|
+
"type": {
|
|
119132
|
+
"text": "boolean"
|
|
119159
119133
|
},
|
|
119134
|
+
"privacy": "protected",
|
|
119135
|
+
"default": "false",
|
|
119136
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
119160
119137
|
"inheritedFrom": {
|
|
119161
|
-
"name": "
|
|
119162
|
-
"module": "core/
|
|
119138
|
+
"name": "SbbFormAssociatedMixin",
|
|
119139
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
119163
119140
|
}
|
|
119164
119141
|
},
|
|
119165
119142
|
{
|
|
119166
119143
|
"kind": "method",
|
|
119167
|
-
"name": "
|
|
119168
|
-
"privacy": "
|
|
119144
|
+
"name": "checkValidity",
|
|
119145
|
+
"privacy": "public",
|
|
119169
119146
|
"return": {
|
|
119170
119147
|
"type": {
|
|
119171
119148
|
"text": "boolean"
|
|
119172
119149
|
}
|
|
119173
119150
|
},
|
|
119151
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
119174
119152
|
"inheritedFrom": {
|
|
119175
|
-
"name": "
|
|
119176
|
-
"module": "core/
|
|
119153
|
+
"name": "SbbFormAssociatedMixin",
|
|
119154
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
119177
119155
|
}
|
|
119178
119156
|
},
|
|
119179
119157
|
{
|
|
119180
119158
|
"kind": "method",
|
|
119181
|
-
"name": "
|
|
119182
|
-
"privacy": "
|
|
119159
|
+
"name": "reportValidity",
|
|
119160
|
+
"privacy": "public",
|
|
119183
119161
|
"return": {
|
|
119184
119162
|
"type": {
|
|
119185
119163
|
"text": "boolean"
|
|
119186
119164
|
}
|
|
119187
119165
|
},
|
|
119166
|
+
"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.",
|
|
119188
119167
|
"inheritedFrom": {
|
|
119189
|
-
"name": "
|
|
119190
|
-
"module": "core/
|
|
119168
|
+
"name": "SbbFormAssociatedMixin",
|
|
119169
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
119191
119170
|
}
|
|
119192
119171
|
},
|
|
119193
119172
|
{
|
|
119194
119173
|
"kind": "method",
|
|
119195
|
-
"name": "
|
|
119196
|
-
"privacy": "
|
|
119174
|
+
"name": "setCustomValidity",
|
|
119175
|
+
"privacy": "public",
|
|
119197
119176
|
"return": {
|
|
119198
119177
|
"type": {
|
|
119199
|
-
"text": "
|
|
119178
|
+
"text": "void"
|
|
119200
119179
|
}
|
|
119201
119180
|
},
|
|
119181
|
+
"parameters": [
|
|
119182
|
+
{
|
|
119183
|
+
"name": "message",
|
|
119184
|
+
"type": {
|
|
119185
|
+
"text": "string"
|
|
119186
|
+
}
|
|
119187
|
+
}
|
|
119188
|
+
],
|
|
119189
|
+
"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.",
|
|
119202
119190
|
"inheritedFrom": {
|
|
119203
|
-
"name": "
|
|
119204
|
-
"module": "core/
|
|
119205
|
-
}
|
|
119206
|
-
},
|
|
119207
|
-
{
|
|
119208
|
-
"kind": "field",
|
|
119209
|
-
"name": "_hydrationRequired",
|
|
119210
|
-
"type": {
|
|
119211
|
-
"text": "boolean"
|
|
119212
|
-
},
|
|
119213
|
-
"privacy": "private",
|
|
119214
|
-
"default": "!!this.shadowRoot",
|
|
119215
|
-
"inheritedFrom": {
|
|
119216
|
-
"name": "SbbElement",
|
|
119217
|
-
"module": "core/base-elements/element.js"
|
|
119191
|
+
"name": "SbbFormAssociatedMixin",
|
|
119192
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
119218
119193
|
}
|
|
119219
119194
|
},
|
|
119220
119195
|
{
|
|
119221
|
-
"kind": "
|
|
119222
|
-
"name": "
|
|
119196
|
+
"kind": "method",
|
|
119197
|
+
"name": "_hasDisabledAncestor",
|
|
119223
119198
|
"privacy": "private",
|
|
119224
|
-
"
|
|
119199
|
+
"return": {
|
|
119200
|
+
"type": {
|
|
119201
|
+
"text": "boolean"
|
|
119202
|
+
}
|
|
119203
|
+
},
|
|
119225
119204
|
"inheritedFrom": {
|
|
119226
|
-
"name": "
|
|
119227
|
-
"module": "core/
|
|
119205
|
+
"name": "SbbFormAssociatedMixin",
|
|
119206
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
119228
119207
|
}
|
|
119229
119208
|
},
|
|
119230
119209
|
{
|
|
119231
|
-
"kind": "
|
|
119232
|
-
"name": "
|
|
119233
|
-
"
|
|
119234
|
-
|
|
119210
|
+
"kind": "method",
|
|
119211
|
+
"name": "updateFormValue",
|
|
119212
|
+
"privacy": "protected",
|
|
119213
|
+
"return": {
|
|
119214
|
+
"type": {
|
|
119215
|
+
"text": "void"
|
|
119216
|
+
}
|
|
119235
119217
|
},
|
|
119236
|
-
"
|
|
119218
|
+
"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",
|
|
119237
119219
|
"inheritedFrom": {
|
|
119238
|
-
"name": "
|
|
119239
|
-
"module": "core/
|
|
119220
|
+
"name": "SbbFormAssociatedMixin",
|
|
119221
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
119240
119222
|
}
|
|
119241
119223
|
},
|
|
119242
119224
|
{
|
|
119243
|
-
"kind": "
|
|
119244
|
-
"name": "
|
|
119245
|
-
"type": {
|
|
119246
|
-
"text": "boolean"
|
|
119247
|
-
},
|
|
119225
|
+
"kind": "method",
|
|
119226
|
+
"name": "formState",
|
|
119248
119227
|
"privacy": "protected",
|
|
119249
|
-
"
|
|
119250
|
-
|
|
119251
|
-
|
|
119252
|
-
|
|
119253
|
-
"module": "core/base-elements/element.js"
|
|
119228
|
+
"return": {
|
|
119229
|
+
"type": {
|
|
119230
|
+
"text": "FormRestoreState"
|
|
119231
|
+
}
|
|
119254
119232
|
},
|
|
119255
|
-
"
|
|
119233
|
+
"inheritedFrom": {
|
|
119234
|
+
"name": "SbbFormAssociatedMixin",
|
|
119235
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
119236
|
+
}
|
|
119256
119237
|
},
|
|
119257
119238
|
{
|
|
119258
119239
|
"kind": "method",
|
|
119259
|
-
"name": "
|
|
119240
|
+
"name": "setValidityFlag",
|
|
119260
119241
|
"privacy": "protected",
|
|
119261
119242
|
"return": {
|
|
119262
119243
|
"type": {
|
|
@@ -119265,227 +119246,192 @@
|
|
|
119265
119246
|
},
|
|
119266
119247
|
"parameters": [
|
|
119267
119248
|
{
|
|
119268
|
-
"name": "
|
|
119249
|
+
"name": "flag",
|
|
119250
|
+
"type": {
|
|
119251
|
+
"text": "T"
|
|
119252
|
+
}
|
|
119253
|
+
},
|
|
119254
|
+
{
|
|
119255
|
+
"name": "message",
|
|
119269
119256
|
"type": {
|
|
119270
119257
|
"text": "string"
|
|
119271
119258
|
}
|
|
119272
119259
|
},
|
|
119273
119260
|
{
|
|
119274
|
-
"name": "
|
|
119261
|
+
"name": "flagValue",
|
|
119275
119262
|
"optional": true,
|
|
119276
119263
|
"type": {
|
|
119277
|
-
"text": "
|
|
119264
|
+
"text": "ValidityStateFlags[T]"
|
|
119278
119265
|
}
|
|
119279
119266
|
}
|
|
119280
119267
|
],
|
|
119268
|
+
"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).",
|
|
119281
119269
|
"inheritedFrom": {
|
|
119282
|
-
"name": "
|
|
119283
|
-
"module": "core/
|
|
119270
|
+
"name": "SbbFormAssociatedMixin",
|
|
119271
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
119284
119272
|
}
|
|
119285
119273
|
},
|
|
119286
119274
|
{
|
|
119287
|
-
"kind": "
|
|
119288
|
-
"name": "
|
|
119289
|
-
"
|
|
119290
|
-
|
|
119275
|
+
"kind": "method",
|
|
119276
|
+
"name": "removeValidityFlag",
|
|
119277
|
+
"privacy": "protected",
|
|
119278
|
+
"return": {
|
|
119279
|
+
"type": {
|
|
119280
|
+
"text": "void"
|
|
119281
|
+
}
|
|
119291
119282
|
},
|
|
119292
|
-
"
|
|
119293
|
-
|
|
119294
|
-
|
|
119283
|
+
"parameters": [
|
|
119284
|
+
{
|
|
119285
|
+
"name": "flag",
|
|
119286
|
+
"type": {
|
|
119287
|
+
"text": "T"
|
|
119288
|
+
}
|
|
119289
|
+
}
|
|
119290
|
+
],
|
|
119291
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
119295
119292
|
"inheritedFrom": {
|
|
119296
|
-
"name": "
|
|
119297
|
-
"module": "core/
|
|
119293
|
+
"name": "SbbFormAssociatedMixin",
|
|
119294
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
119298
119295
|
}
|
|
119299
119296
|
},
|
|
119300
119297
|
{
|
|
119301
|
-
"kind": "
|
|
119302
|
-
"name": "
|
|
119303
|
-
"
|
|
119304
|
-
|
|
119298
|
+
"kind": "method",
|
|
119299
|
+
"name": "validate",
|
|
119300
|
+
"privacy": "protected",
|
|
119301
|
+
"return": {
|
|
119302
|
+
"type": {
|
|
119303
|
+
"text": "void"
|
|
119304
|
+
}
|
|
119305
119305
|
},
|
|
119306
|
-
"
|
|
119306
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
119307
119307
|
"inheritedFrom": {
|
|
119308
|
-
"name": "
|
|
119309
|
-
"module": "core/
|
|
119308
|
+
"name": "SbbFormAssociatedMixin",
|
|
119309
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
119310
119310
|
}
|
|
119311
|
-
}
|
|
119312
|
-
],
|
|
119313
|
-
"attributes": [
|
|
119314
|
-
{
|
|
119315
|
-
"name": "color",
|
|
119316
|
-
"type": {
|
|
119317
|
-
"text": "'white' | 'milk'"
|
|
119318
|
-
},
|
|
119319
|
-
"default": "'white'",
|
|
119320
|
-
"description": "Background color of the sidebar. Either `white` or `milk`.",
|
|
119321
|
-
"fieldName": "color"
|
|
119322
|
-
},
|
|
119323
|
-
{
|
|
119324
|
-
"name": "mode",
|
|
119325
|
-
"type": {
|
|
119326
|
-
"text": "'side' | 'over'"
|
|
119327
|
-
},
|
|
119328
|
-
"default": "'side'",
|
|
119329
|
-
"description": "Mode of the sidebar; one of 'side' or 'over'.",
|
|
119330
|
-
"fieldName": "mode"
|
|
119331
|
-
},
|
|
119332
|
-
{
|
|
119333
|
-
"name": "position",
|
|
119334
|
-
"type": {
|
|
119335
|
-
"text": "'start' | 'end'"
|
|
119336
|
-
},
|
|
119337
|
-
"default": "'start'",
|
|
119338
|
-
"description": "The side that the sidebar is attached to.",
|
|
119339
|
-
"fieldName": "position"
|
|
119340
119311
|
},
|
|
119341
119312
|
{
|
|
119342
|
-
"
|
|
119343
|
-
"
|
|
119344
|
-
|
|
119313
|
+
"kind": "method",
|
|
119314
|
+
"name": "shouldValidate",
|
|
119315
|
+
"privacy": "protected",
|
|
119316
|
+
"return": {
|
|
119317
|
+
"type": {
|
|
119318
|
+
"text": "boolean"
|
|
119319
|
+
}
|
|
119345
119320
|
},
|
|
119346
|
-
"
|
|
119347
|
-
|
|
119348
|
-
|
|
119321
|
+
"parameters": [
|
|
119322
|
+
{
|
|
119323
|
+
"name": "name",
|
|
119324
|
+
"type": {
|
|
119325
|
+
"text": "PropertyKey | undefined"
|
|
119326
|
+
}
|
|
119327
|
+
}
|
|
119328
|
+
],
|
|
119329
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
119330
|
+
"inheritedFrom": {
|
|
119331
|
+
"name": "SbbFormAssociatedMixin",
|
|
119332
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
119333
|
+
}
|
|
119349
119334
|
},
|
|
119350
119335
|
{
|
|
119351
|
-
"
|
|
119352
|
-
"
|
|
119353
|
-
|
|
119354
|
-
|
|
119355
|
-
|
|
119356
|
-
|
|
119357
|
-
|
|
119358
|
-
}
|
|
119359
|
-
],
|
|
119360
|
-
"mixins": [
|
|
119361
|
-
{
|
|
119362
|
-
"name": "SbbAnimationCompleteMixin",
|
|
119363
|
-
"module": "core/mixins.js"
|
|
119364
|
-
}
|
|
119365
|
-
],
|
|
119366
|
-
"superclass": {
|
|
119367
|
-
"name": "SbbOpenCloseBaseElement",
|
|
119368
|
-
"module": "core/base-elements.js"
|
|
119369
|
-
},
|
|
119370
|
-
"tagName": "sbb-sidebar",
|
|
119371
|
-
"customElement": true,
|
|
119372
|
-
"events": [
|
|
119373
|
-
{
|
|
119374
|
-
"name": "beforeopen",
|
|
119375
|
-
"type": {
|
|
119376
|
-
"text": "Event"
|
|
119336
|
+
"kind": "method",
|
|
119337
|
+
"name": "_setInternalValidity",
|
|
119338
|
+
"privacy": "private",
|
|
119339
|
+
"return": {
|
|
119340
|
+
"type": {
|
|
119341
|
+
"text": "void"
|
|
119342
|
+
}
|
|
119377
119343
|
},
|
|
119378
|
-
"description": "Emits whenever the component starts the opening transition. Can be canceled.",
|
|
119379
119344
|
"inheritedFrom": {
|
|
119380
|
-
"name": "
|
|
119381
|
-
"module": "core/
|
|
119345
|
+
"name": "SbbFormAssociatedMixin",
|
|
119346
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
119382
119347
|
}
|
|
119383
119348
|
},
|
|
119384
119349
|
{
|
|
119385
|
-
"
|
|
119350
|
+
"kind": "field",
|
|
119351
|
+
"name": "role",
|
|
119386
119352
|
"type": {
|
|
119387
|
-
"text": "
|
|
119353
|
+
"text": "ElementInternals['role']"
|
|
119388
119354
|
},
|
|
119389
|
-
"
|
|
119355
|
+
"privacy": "public",
|
|
119356
|
+
"static": true,
|
|
119357
|
+
"readonly": true,
|
|
119358
|
+
"default": "'button'",
|
|
119390
119359
|
"inheritedFrom": {
|
|
119391
|
-
"name": "
|
|
119392
|
-
"module": "core/base-elements/
|
|
119360
|
+
"name": "SbbButtonLikeBaseElement",
|
|
119361
|
+
"module": "core/base-elements/button-base-element.js"
|
|
119393
119362
|
}
|
|
119394
119363
|
},
|
|
119395
119364
|
{
|
|
119396
|
-
"
|
|
119397
|
-
"
|
|
119398
|
-
|
|
119399
|
-
|
|
119400
|
-
"
|
|
119365
|
+
"kind": "field",
|
|
119366
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
119367
|
+
"privacy": "private",
|
|
119368
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
119369
|
+
"parameters": [
|
|
119370
|
+
{
|
|
119371
|
+
"description": "The origin event.",
|
|
119372
|
+
"name": "event"
|
|
119373
|
+
}
|
|
119374
|
+
],
|
|
119401
119375
|
"inheritedFrom": {
|
|
119402
|
-
"name": "
|
|
119403
|
-
"module": "core/base-elements/
|
|
119376
|
+
"name": "SbbButtonLikeBaseElement",
|
|
119377
|
+
"module": "core/base-elements/button-base-element.js"
|
|
119404
119378
|
}
|
|
119405
119379
|
},
|
|
119406
119380
|
{
|
|
119407
|
-
"
|
|
119408
|
-
"
|
|
119409
|
-
|
|
119410
|
-
},
|
|
119411
|
-
"description": "Emits whenever the component is closed.",
|
|
119381
|
+
"kind": "field",
|
|
119382
|
+
"name": "_removeActiveMarker",
|
|
119383
|
+
"privacy": "private",
|
|
119412
119384
|
"inheritedFrom": {
|
|
119413
|
-
"name": "
|
|
119414
|
-
"module": "core/base-elements/
|
|
119385
|
+
"name": "SbbButtonLikeBaseElement",
|
|
119386
|
+
"module": "core/base-elements/button-base-element.js"
|
|
119415
119387
|
}
|
|
119416
|
-
}
|
|
119417
|
-
]
|
|
119418
|
-
}
|
|
119419
|
-
],
|
|
119420
|
-
"exports": [
|
|
119421
|
-
{
|
|
119422
|
-
"kind": "js",
|
|
119423
|
-
"name": "SbbSidebarElement",
|
|
119424
|
-
"declaration": {
|
|
119425
|
-
"name": "SbbSidebarElement",
|
|
119426
|
-
"module": "sidebar/sidebar/sidebar.component.js"
|
|
119427
|
-
}
|
|
119428
|
-
}
|
|
119429
|
-
]
|
|
119430
|
-
},
|
|
119431
|
-
{
|
|
119432
|
-
"kind": "javascript-module",
|
|
119433
|
-
"path": "sidebar/sidebar-close-button/sidebar-close-button.component.js",
|
|
119434
|
-
"declarations": [
|
|
119435
|
-
{
|
|
119436
|
-
"kind": "class",
|
|
119437
|
-
"description": "Sidebar close button, intended to be placed inside sbb-sidebar.",
|
|
119438
|
-
"name": "SbbSidebarCloseButtonElement",
|
|
119439
|
-
"slots": [
|
|
119388
|
+
},
|
|
119440
119389
|
{
|
|
119441
|
-
"
|
|
119442
|
-
"name": "",
|
|
119390
|
+
"kind": "field",
|
|
119391
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
119392
|
+
"privacy": "private",
|
|
119393
|
+
"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.",
|
|
119394
|
+
"parameters": [
|
|
119395
|
+
{
|
|
119396
|
+
"description": "The origin event.",
|
|
119397
|
+
"name": "event"
|
|
119398
|
+
}
|
|
119399
|
+
],
|
|
119443
119400
|
"inheritedFrom": {
|
|
119444
|
-
"name": "
|
|
119445
|
-
"module": "
|
|
119401
|
+
"name": "SbbButtonLikeBaseElement",
|
|
119402
|
+
"module": "core/base-elements/button-base-element.js"
|
|
119446
119403
|
}
|
|
119447
119404
|
},
|
|
119448
119405
|
{
|
|
119449
|
-
"
|
|
119450
|
-
"name": "
|
|
119406
|
+
"kind": "field",
|
|
119407
|
+
"name": "_dispatchClickEvent",
|
|
119408
|
+
"privacy": "private",
|
|
119451
119409
|
"inheritedFrom": {
|
|
119452
|
-
"name": "
|
|
119453
|
-
"module": "
|
|
119410
|
+
"name": "SbbButtonLikeBaseElement",
|
|
119411
|
+
"module": "core/base-elements/button-base-element.js"
|
|
119454
119412
|
}
|
|
119455
|
-
}
|
|
119456
|
-
],
|
|
119457
|
-
"members": [
|
|
119413
|
+
},
|
|
119458
119414
|
{
|
|
119459
119415
|
"kind": "field",
|
|
119460
|
-
"name": "
|
|
119416
|
+
"name": "maybeDisabled",
|
|
119461
119417
|
"type": {
|
|
119462
|
-
"text": "
|
|
119418
|
+
"text": "boolean | undefined"
|
|
119463
119419
|
},
|
|
119464
|
-
"privacy": "
|
|
119465
|
-
"static": true,
|
|
119420
|
+
"privacy": "protected",
|
|
119466
119421
|
"readonly": true,
|
|
119467
119422
|
"inheritedFrom": {
|
|
119468
|
-
"name": "
|
|
119469
|
-
"module": "core/base-elements/element.js"
|
|
119470
|
-
}
|
|
119471
|
-
"default": "'sbb-sidebar-close-button'"
|
|
119423
|
+
"name": "SbbActionBaseElement",
|
|
119424
|
+
"module": "core/base-elements/action-base-element.js"
|
|
119425
|
+
}
|
|
119472
119426
|
},
|
|
119473
119427
|
{
|
|
119474
119428
|
"kind": "field",
|
|
119475
|
-
"name": "
|
|
119476
|
-
"
|
|
119477
|
-
|
|
119478
|
-
},
|
|
119479
|
-
{
|
|
119480
|
-
"kind": "method",
|
|
119481
|
-
"name": "renderTemplate",
|
|
119482
|
-
"privacy": "protected",
|
|
119483
|
-
"return": {
|
|
119484
|
-
"type": {
|
|
119485
|
-
"text": "TemplateResult"
|
|
119486
|
-
}
|
|
119429
|
+
"name": "maybeDisabledInteractive",
|
|
119430
|
+
"type": {
|
|
119431
|
+
"text": "boolean | undefined"
|
|
119487
119432
|
},
|
|
119488
|
-
"
|
|
119433
|
+
"privacy": "protected",
|
|
119434
|
+
"readonly": true,
|
|
119489
119435
|
"inheritedFrom": {
|
|
119490
119436
|
"name": "SbbActionBaseElement",
|
|
119491
119437
|
"module": "core/base-elements/action-base-element.js"
|
|
@@ -119493,483 +119439,513 @@
|
|
|
119493
119439
|
},
|
|
119494
119440
|
{
|
|
119495
119441
|
"kind": "method",
|
|
119496
|
-
"name": "
|
|
119442
|
+
"name": "setupBaseEventHandlers",
|
|
119497
119443
|
"privacy": "protected",
|
|
119498
119444
|
"return": {
|
|
119499
119445
|
"type": {
|
|
119500
|
-
"text": "
|
|
119446
|
+
"text": "void"
|
|
119501
119447
|
}
|
|
119502
119448
|
},
|
|
119503
119449
|
"inheritedFrom": {
|
|
119504
|
-
"name": "
|
|
119505
|
-
"module": "
|
|
119450
|
+
"name": "SbbActionBaseElement",
|
|
119451
|
+
"module": "core/base-elements/action-base-element.js"
|
|
119506
119452
|
}
|
|
119507
119453
|
},
|
|
119508
119454
|
{
|
|
119509
119455
|
"kind": "field",
|
|
119510
|
-
"name": "
|
|
119456
|
+
"name": "_hydrationRequired",
|
|
119511
119457
|
"type": {
|
|
119512
|
-
"text": "
|
|
119458
|
+
"text": "boolean"
|
|
119513
119459
|
},
|
|
119514
|
-
"privacy": "
|
|
119515
|
-
"
|
|
119516
|
-
"default": "'s'",
|
|
119517
|
-
"attribute": "size",
|
|
119518
|
-
"reflects": true,
|
|
119460
|
+
"privacy": "private",
|
|
119461
|
+
"default": "!!this.shadowRoot",
|
|
119519
119462
|
"inheritedFrom": {
|
|
119520
|
-
"name": "
|
|
119521
|
-
"module": "
|
|
119463
|
+
"name": "SbbElement",
|
|
119464
|
+
"module": "core/base-elements/element.js"
|
|
119522
119465
|
}
|
|
119523
119466
|
},
|
|
119524
119467
|
{
|
|
119525
119468
|
"kind": "field",
|
|
119526
|
-
"name": "
|
|
119527
|
-
"
|
|
119528
|
-
|
|
119529
|
-
},
|
|
119530
|
-
"privacy": "public",
|
|
119531
|
-
"default": "false",
|
|
119532
|
-
"description": "Whether the button indicates a loading state.\nThe animation kicks in after a delay of 300ms, configurable with --sbb-button-loading-delay CSS variable.",
|
|
119533
|
-
"attribute": "loading",
|
|
119534
|
-
"reflects": true,
|
|
119469
|
+
"name": "_hydrationComplete",
|
|
119470
|
+
"privacy": "private",
|
|
119471
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
119535
119472
|
"inheritedFrom": {
|
|
119536
|
-
"name": "
|
|
119537
|
-
"module": "
|
|
119473
|
+
"name": "SbbElement",
|
|
119474
|
+
"module": "core/base-elements/element.js"
|
|
119538
119475
|
}
|
|
119539
119476
|
},
|
|
119540
119477
|
{
|
|
119541
119478
|
"kind": "field",
|
|
119542
|
-
"name": "
|
|
119479
|
+
"name": "_resolveHydration",
|
|
119543
119480
|
"type": {
|
|
119544
|
-
"text": "boolean"
|
|
119481
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
119545
119482
|
},
|
|
119546
|
-
"privacy": "
|
|
119547
|
-
"default": "false",
|
|
119548
|
-
"description": "Negative coloring variant flag.",
|
|
119549
|
-
"attribute": "negative",
|
|
119550
|
-
"reflects": true,
|
|
119483
|
+
"privacy": "private",
|
|
119551
119484
|
"inheritedFrom": {
|
|
119552
|
-
"name": "
|
|
119553
|
-
"module": "core/
|
|
119485
|
+
"name": "SbbElement",
|
|
119486
|
+
"module": "core/base-elements/element.js"
|
|
119554
119487
|
}
|
|
119555
119488
|
},
|
|
119556
119489
|
{
|
|
119557
119490
|
"kind": "field",
|
|
119558
|
-
"name": "
|
|
119491
|
+
"name": "hydrationRequired",
|
|
119559
119492
|
"type": {
|
|
119560
|
-
"text": "
|
|
119493
|
+
"text": "boolean"
|
|
119561
119494
|
},
|
|
119562
|
-
"privacy": "
|
|
119563
|
-
"
|
|
119564
|
-
"
|
|
119565
|
-
"attribute": "icon-name",
|
|
119495
|
+
"privacy": "protected",
|
|
119496
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
119497
|
+
"readonly": true,
|
|
119566
119498
|
"inheritedFrom": {
|
|
119567
|
-
"name": "
|
|
119568
|
-
"module": "
|
|
119569
|
-
}
|
|
119499
|
+
"name": "SbbElement",
|
|
119500
|
+
"module": "core/base-elements/element.js"
|
|
119501
|
+
},
|
|
119502
|
+
"default": "!!this.shadowRoot"
|
|
119570
119503
|
},
|
|
119571
119504
|
{
|
|
119572
119505
|
"kind": "method",
|
|
119573
|
-
"name": "
|
|
119506
|
+
"name": "toggleState",
|
|
119574
119507
|
"privacy": "protected",
|
|
119575
119508
|
"return": {
|
|
119576
119509
|
"type": {
|
|
119577
|
-
"text": "
|
|
119510
|
+
"text": "void"
|
|
119578
119511
|
}
|
|
119579
119512
|
},
|
|
119580
119513
|
"parameters": [
|
|
119581
119514
|
{
|
|
119582
|
-
"name": "
|
|
119583
|
-
"optional": true,
|
|
119515
|
+
"name": "value",
|
|
119584
119516
|
"type": {
|
|
119585
119517
|
"text": "string"
|
|
119586
119518
|
}
|
|
119519
|
+
},
|
|
119520
|
+
{
|
|
119521
|
+
"name": "force",
|
|
119522
|
+
"optional": true,
|
|
119523
|
+
"type": {
|
|
119524
|
+
"text": "boolean"
|
|
119525
|
+
}
|
|
119587
119526
|
}
|
|
119588
119527
|
],
|
|
119589
119528
|
"inheritedFrom": {
|
|
119590
|
-
"name": "
|
|
119591
|
-
"module": "
|
|
119529
|
+
"name": "SbbElement",
|
|
119530
|
+
"module": "core/base-elements/element.js"
|
|
119592
119531
|
}
|
|
119593
119532
|
},
|
|
119594
119533
|
{
|
|
119595
|
-
"kind": "
|
|
119596
|
-
"name": "
|
|
119597
|
-
"
|
|
119598
|
-
|
|
119599
|
-
"type": {
|
|
119600
|
-
"text": "string"
|
|
119601
|
-
}
|
|
119534
|
+
"kind": "field",
|
|
119535
|
+
"name": "['_$sbbElement$']",
|
|
119536
|
+
"type": {
|
|
119537
|
+
"text": "boolean"
|
|
119602
119538
|
},
|
|
119539
|
+
"privacy": "public",
|
|
119540
|
+
"static": true,
|
|
119541
|
+
"default": "true",
|
|
119603
119542
|
"inheritedFrom": {
|
|
119604
|
-
"name": "
|
|
119605
|
-
"module": "
|
|
119543
|
+
"name": "SbbElement",
|
|
119544
|
+
"module": "core/base-elements/element.js"
|
|
119606
119545
|
}
|
|
119607
119546
|
},
|
|
119608
119547
|
{
|
|
119609
119548
|
"kind": "field",
|
|
119610
|
-
"name": "
|
|
119549
|
+
"name": "_controllers",
|
|
119611
119550
|
"type": {
|
|
119612
|
-
"text": "
|
|
119551
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
119613
119552
|
},
|
|
119614
|
-
"privacy": "
|
|
119615
|
-
"default": "false",
|
|
119616
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
119617
|
-
"attribute": "disabled-interactive",
|
|
119618
|
-
"reflects": true,
|
|
119553
|
+
"privacy": "private",
|
|
119619
119554
|
"inheritedFrom": {
|
|
119620
|
-
"name": "
|
|
119621
|
-
"module": "core/
|
|
119555
|
+
"name": "SbbElement",
|
|
119556
|
+
"module": "core/base-elements/element.js"
|
|
119557
|
+
}
|
|
119558
|
+
}
|
|
119559
|
+
],
|
|
119560
|
+
"superclass": {
|
|
119561
|
+
"name": "SbbSecondaryButtonElement",
|
|
119562
|
+
"module": "button/secondary-button.js"
|
|
119563
|
+
},
|
|
119564
|
+
"tagName": "sbb-sidebar-close-button",
|
|
119565
|
+
"customElement": true,
|
|
119566
|
+
"attributes": [
|
|
119567
|
+
{
|
|
119568
|
+
"name": "size",
|
|
119569
|
+
"type": {
|
|
119570
|
+
"text": "SbbButtonSize"
|
|
119571
|
+
},
|
|
119572
|
+
"description": "Size variant, either l, m or s.",
|
|
119573
|
+
"default": "'l' / 's' (lean)",
|
|
119574
|
+
"fieldName": "size",
|
|
119575
|
+
"inheritedFrom": {
|
|
119576
|
+
"name": "SbbButtonCommonElementMixin",
|
|
119577
|
+
"module": "button/common/button-common.js"
|
|
119622
119578
|
}
|
|
119623
119579
|
},
|
|
119624
119580
|
{
|
|
119625
|
-
"
|
|
119626
|
-
"name": "disabled",
|
|
119627
|
-
"privacy": "public",
|
|
119628
|
-
"description": "Whether the component is disabled.",
|
|
119629
|
-
"default": "false",
|
|
119581
|
+
"name": "loading",
|
|
119630
119582
|
"type": {
|
|
119631
119583
|
"text": "boolean"
|
|
119632
119584
|
},
|
|
119633
|
-
"
|
|
119634
|
-
"
|
|
119585
|
+
"default": "false",
|
|
119586
|
+
"description": "Whether the button indicates a loading state.\nThe animation kicks in after a delay of 300ms, configurable with --sbb-button-loading-delay CSS variable.",
|
|
119587
|
+
"fieldName": "loading",
|
|
119635
119588
|
"inheritedFrom": {
|
|
119636
|
-
"name": "
|
|
119637
|
-
"module": "
|
|
119589
|
+
"name": "SbbButtonCommonElementMixin",
|
|
119590
|
+
"module": "button/common/button-common.js"
|
|
119638
119591
|
}
|
|
119639
119592
|
},
|
|
119640
119593
|
{
|
|
119641
|
-
"
|
|
119642
|
-
"name": "#disabled",
|
|
119643
|
-
"privacy": "private",
|
|
119594
|
+
"name": "negative",
|
|
119644
119595
|
"type": {
|
|
119645
119596
|
"text": "boolean"
|
|
119646
119597
|
},
|
|
119647
119598
|
"default": "false",
|
|
119599
|
+
"description": "Negative coloring variant flag.",
|
|
119600
|
+
"fieldName": "negative",
|
|
119648
119601
|
"inheritedFrom": {
|
|
119649
|
-
"name": "
|
|
119650
|
-
"module": "core/mixins/
|
|
119602
|
+
"name": "SbbNegativeMixin",
|
|
119603
|
+
"module": "core/mixins/negative-mixin.js"
|
|
119651
119604
|
}
|
|
119652
119605
|
},
|
|
119653
119606
|
{
|
|
119654
|
-
"
|
|
119655
|
-
"
|
|
119656
|
-
|
|
119657
|
-
"return": {
|
|
119658
|
-
"type": {
|
|
119659
|
-
"text": "boolean"
|
|
119660
|
-
}
|
|
119607
|
+
"name": "icon-name",
|
|
119608
|
+
"type": {
|
|
119609
|
+
"text": "string"
|
|
119661
119610
|
},
|
|
119662
|
-
"
|
|
119611
|
+
"default": "''",
|
|
119612
|
+
"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.",
|
|
119613
|
+
"fieldName": "iconName",
|
|
119663
119614
|
"inheritedFrom": {
|
|
119664
|
-
"name": "
|
|
119615
|
+
"name": "SbbIconNameMixin",
|
|
119616
|
+
"module": "icon/icon-name-mixin.js"
|
|
119617
|
+
}
|
|
119618
|
+
},
|
|
119619
|
+
{
|
|
119620
|
+
"name": "disabled-interactive",
|
|
119621
|
+
"type": {
|
|
119622
|
+
"text": "boolean"
|
|
119623
|
+
},
|
|
119624
|
+
"default": "false",
|
|
119625
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
119626
|
+
"fieldName": "disabledInteractive",
|
|
119627
|
+
"inheritedFrom": {
|
|
119628
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
119665
119629
|
"module": "core/mixins/disabled-mixin.js"
|
|
119666
119630
|
}
|
|
119667
119631
|
},
|
|
119668
119632
|
{
|
|
119669
|
-
"
|
|
119670
|
-
"
|
|
119633
|
+
"name": "disabled",
|
|
119634
|
+
"description": "Whether the component is disabled.",
|
|
119635
|
+
"default": "false",
|
|
119671
119636
|
"type": {
|
|
119672
|
-
"text": "
|
|
119637
|
+
"text": "boolean"
|
|
119673
119638
|
},
|
|
119674
|
-
"
|
|
119675
|
-
"readonly": true,
|
|
119676
|
-
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
119639
|
+
"fieldName": "disabled",
|
|
119677
119640
|
"inheritedFrom": {
|
|
119678
|
-
"name": "
|
|
119679
|
-
"module": "core/
|
|
119641
|
+
"name": "SbbDisabledMixin",
|
|
119642
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
119680
119643
|
}
|
|
119681
119644
|
},
|
|
119682
119645
|
{
|
|
119683
|
-
"kind": "field",
|
|
119684
119646
|
"name": "value",
|
|
119685
119647
|
"type": {
|
|
119686
119648
|
"text": "string"
|
|
119687
119649
|
},
|
|
119688
|
-
"
|
|
119650
|
+
"default": "''",
|
|
119651
|
+
"description": "Value of the form element.",
|
|
119652
|
+
"fieldName": "value",
|
|
119689
119653
|
"inheritedFrom": {
|
|
119690
119654
|
"name": "SbbButtonBaseElement",
|
|
119691
119655
|
"module": "core/base-elements/button-base-element.js"
|
|
119692
|
-
}
|
|
119693
|
-
"default": "''",
|
|
119694
|
-
"description": "Value of the form element.",
|
|
119695
|
-
"attribute": "value"
|
|
119656
|
+
}
|
|
119696
119657
|
},
|
|
119697
119658
|
{
|
|
119698
|
-
"kind": "field",
|
|
119699
119659
|
"name": "type",
|
|
119700
|
-
"privacy": "public",
|
|
119701
119660
|
"description": "The type attribute to use for the button.",
|
|
119702
119661
|
"default": "'button'",
|
|
119703
119662
|
"type": {
|
|
119704
119663
|
"text": "SbbButtonType"
|
|
119705
119664
|
},
|
|
119706
|
-
"
|
|
119665
|
+
"fieldName": "type",
|
|
119707
119666
|
"inheritedFrom": {
|
|
119708
119667
|
"name": "SbbButtonBaseElement",
|
|
119709
119668
|
"module": "core/base-elements/button-base-element.js"
|
|
119710
119669
|
}
|
|
119711
119670
|
},
|
|
119712
119671
|
{
|
|
119713
|
-
"kind": "field",
|
|
119714
119672
|
"name": "form",
|
|
119673
|
+
"description": "The `<form>` element to associate the button with.",
|
|
119715
119674
|
"type": {
|
|
119716
119675
|
"text": "HTMLFormElement | null"
|
|
119717
119676
|
},
|
|
119718
|
-
"
|
|
119719
|
-
"description": "The `<form>` element to associate the button with.",
|
|
119677
|
+
"fieldName": "form",
|
|
119720
119678
|
"inheritedFrom": {
|
|
119721
119679
|
"name": "SbbButtonBaseElement",
|
|
119722
119680
|
"module": "core/base-elements/button-base-element.js"
|
|
119723
|
-
}
|
|
119724
|
-
"attribute": "form"
|
|
119681
|
+
}
|
|
119725
119682
|
},
|
|
119726
119683
|
{
|
|
119727
|
-
"
|
|
119728
|
-
"
|
|
119684
|
+
"name": "name",
|
|
119685
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
119729
119686
|
"type": {
|
|
119730
119687
|
"text": "string"
|
|
119731
119688
|
},
|
|
119732
|
-
"
|
|
119733
|
-
"default": "''",
|
|
119689
|
+
"fieldName": "name",
|
|
119734
119690
|
"inheritedFrom": {
|
|
119735
|
-
"name": "
|
|
119736
|
-
"module": "core/
|
|
119691
|
+
"name": "SbbFormAssociatedMixin",
|
|
119692
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
119737
119693
|
}
|
|
119738
|
-
}
|
|
119694
|
+
}
|
|
119695
|
+
],
|
|
119696
|
+
"cssProperties": [
|
|
119739
119697
|
{
|
|
119740
|
-
"
|
|
119741
|
-
"name": "
|
|
119742
|
-
"
|
|
119698
|
+
"description": "The delay before the loading animation starts, when setting the button into loading state.",
|
|
119699
|
+
"name": "--sbb-button-loading-delay",
|
|
119700
|
+
"default": "300ms",
|
|
119743
119701
|
"inheritedFrom": {
|
|
119744
|
-
"name": "
|
|
119745
|
-
"module": "
|
|
119702
|
+
"name": "SbbSecondaryButtonElement",
|
|
119703
|
+
"module": "button/secondary-button/secondary-button.component.js"
|
|
119746
119704
|
}
|
|
119705
|
+
}
|
|
119706
|
+
]
|
|
119707
|
+
}
|
|
119708
|
+
],
|
|
119709
|
+
"exports": [
|
|
119710
|
+
{
|
|
119711
|
+
"kind": "js",
|
|
119712
|
+
"name": "SbbSidebarCloseButtonElement",
|
|
119713
|
+
"declaration": {
|
|
119714
|
+
"name": "SbbSidebarCloseButtonElement",
|
|
119715
|
+
"module": "sidebar/sidebar-close-button/sidebar-close-button.component.js"
|
|
119716
|
+
}
|
|
119717
|
+
}
|
|
119718
|
+
]
|
|
119719
|
+
},
|
|
119720
|
+
{
|
|
119721
|
+
"kind": "javascript-module",
|
|
119722
|
+
"path": "sidebar/sidebar/sidebar.component.js",
|
|
119723
|
+
"declarations": [
|
|
119724
|
+
{
|
|
119725
|
+
"kind": "class",
|
|
119726
|
+
"description": "This component corresponds to a sidebar that can be opened on the sidebar container.",
|
|
119727
|
+
"name": "SbbSidebarElement",
|
|
119728
|
+
"slots": [
|
|
119729
|
+
{
|
|
119730
|
+
"description": "Use the unnamed slot to slot any content into the sidebar.",
|
|
119731
|
+
"name": ""
|
|
119747
119732
|
},
|
|
119748
119733
|
{
|
|
119749
|
-
"
|
|
119750
|
-
"name": "
|
|
119751
|
-
|
|
119752
|
-
|
|
119753
|
-
|
|
119754
|
-
|
|
119755
|
-
|
|
119734
|
+
"description": "Use the title slot to add an <sbb-title>.",
|
|
119735
|
+
"name": "title"
|
|
119736
|
+
}
|
|
119737
|
+
],
|
|
119738
|
+
"members": [
|
|
119739
|
+
{
|
|
119740
|
+
"kind": "field",
|
|
119741
|
+
"name": "elementName",
|
|
119742
|
+
"type": {
|
|
119743
|
+
"text": "string"
|
|
119756
119744
|
},
|
|
119757
|
-
"
|
|
119758
|
-
|
|
119759
|
-
|
|
119760
|
-
"type": {
|
|
119761
|
-
"text": "HTMLFormElement"
|
|
119762
|
-
}
|
|
119763
|
-
}
|
|
119764
|
-
],
|
|
119745
|
+
"privacy": "public",
|
|
119746
|
+
"static": true,
|
|
119747
|
+
"readonly": true,
|
|
119765
119748
|
"inheritedFrom": {
|
|
119766
|
-
"name": "
|
|
119767
|
-
"module": "core/base-elements/
|
|
119768
|
-
}
|
|
119749
|
+
"name": "SbbElement",
|
|
119750
|
+
"module": "core/base-elements/element.js"
|
|
119751
|
+
},
|
|
119752
|
+
"default": "'sbb-sidebar'"
|
|
119769
119753
|
},
|
|
119770
119754
|
{
|
|
119771
119755
|
"kind": "field",
|
|
119772
|
-
"name": "
|
|
119773
|
-
"
|
|
119774
|
-
|
|
119775
|
-
|
|
119776
|
-
|
|
119777
|
-
|
|
119756
|
+
"name": "color",
|
|
119757
|
+
"type": {
|
|
119758
|
+
"text": "'white' | 'milk'"
|
|
119759
|
+
},
|
|
119760
|
+
"privacy": "public",
|
|
119761
|
+
"default": "'white'",
|
|
119762
|
+
"description": "Background color of the sidebar. Either `white` or `milk`.",
|
|
119763
|
+
"attribute": "color",
|
|
119764
|
+
"reflects": true
|
|
119778
119765
|
},
|
|
119779
119766
|
{
|
|
119780
119767
|
"kind": "field",
|
|
119781
|
-
"name": "
|
|
119768
|
+
"name": "mode",
|
|
119782
119769
|
"type": {
|
|
119783
|
-
"text": "
|
|
119770
|
+
"text": "'side' | 'over'"
|
|
119784
119771
|
},
|
|
119785
119772
|
"privacy": "public",
|
|
119786
|
-
"
|
|
119787
|
-
"
|
|
119788
|
-
"
|
|
119789
|
-
|
|
119790
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
119791
|
-
}
|
|
119773
|
+
"default": "'side'",
|
|
119774
|
+
"description": "Mode of the sidebar; one of 'side' or 'over'.",
|
|
119775
|
+
"attribute": "mode",
|
|
119776
|
+
"reflects": true
|
|
119792
119777
|
},
|
|
119793
119778
|
{
|
|
119794
119779
|
"kind": "field",
|
|
119795
|
-
"name": "
|
|
119796
|
-
"privacy": "public",
|
|
119797
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
119780
|
+
"name": "position",
|
|
119798
119781
|
"type": {
|
|
119799
|
-
"text": "
|
|
119782
|
+
"text": "'start' | 'end'"
|
|
119800
119783
|
},
|
|
119801
|
-
"
|
|
119802
|
-
"
|
|
119803
|
-
|
|
119804
|
-
|
|
119805
|
-
|
|
119784
|
+
"privacy": "public",
|
|
119785
|
+
"default": "'start'",
|
|
119786
|
+
"description": "The side that the sidebar is attached to.",
|
|
119787
|
+
"attribute": "position",
|
|
119788
|
+
"reflects": true
|
|
119806
119789
|
},
|
|
119807
119790
|
{
|
|
119808
119791
|
"kind": "field",
|
|
119809
|
-
"name": "
|
|
119792
|
+
"name": "opened",
|
|
119810
119793
|
"type": {
|
|
119811
|
-
"text": "
|
|
119794
|
+
"text": "boolean"
|
|
119812
119795
|
},
|
|
119813
119796
|
"privacy": "public",
|
|
119814
|
-
"
|
|
119815
|
-
"
|
|
119816
|
-
"
|
|
119817
|
-
|
|
119818
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
119819
|
-
}
|
|
119797
|
+
"default": "false",
|
|
119798
|
+
"description": "Whether the sidebar is opened or closed.\nCan be used to initially set the opened state, where\nthe animation will be skipped.",
|
|
119799
|
+
"attribute": "opened",
|
|
119800
|
+
"reflects": true
|
|
119820
119801
|
},
|
|
119821
119802
|
{
|
|
119822
119803
|
"kind": "field",
|
|
119823
|
-
"name": "
|
|
119804
|
+
"name": "focusOnOpen",
|
|
119824
119805
|
"type": {
|
|
119825
|
-
"text": "
|
|
119806
|
+
"text": "boolean"
|
|
119826
119807
|
},
|
|
119827
119808
|
"privacy": "public",
|
|
119828
|
-
"
|
|
119829
|
-
"
|
|
119830
|
-
"
|
|
119831
|
-
"name": "SbbFormAssociatedMixin",
|
|
119832
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
119833
|
-
}
|
|
119809
|
+
"default": "false",
|
|
119810
|
+
"description": "Whether the sidebar should focus the first focusable element automatically when opened.\nDefaults to false in when mode is set to `side`, otherwise defaults to true.\nIf explicitly enabled, focus will be moved into the sidebar in `side` mode as well.",
|
|
119811
|
+
"attribute": "focus-on-open"
|
|
119834
119812
|
},
|
|
119835
119813
|
{
|
|
119836
119814
|
"kind": "field",
|
|
119837
|
-
"name": "
|
|
119815
|
+
"name": "container",
|
|
119838
119816
|
"type": {
|
|
119839
|
-
"text": "
|
|
119817
|
+
"text": "SbbSidebarContainerElement | null"
|
|
119840
119818
|
},
|
|
119841
119819
|
"privacy": "public",
|
|
119842
|
-
"description": "Returns
|
|
119820
|
+
"description": "Returns the SbbSidebarContainerElement where this sidebar is contained.",
|
|
119843
119821
|
"readonly": true,
|
|
119844
|
-
"
|
|
119845
|
-
"name": "SbbFormAssociatedMixin",
|
|
119846
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
119847
|
-
}
|
|
119822
|
+
"default": "null"
|
|
119848
119823
|
},
|
|
119849
119824
|
{
|
|
119850
119825
|
"kind": "field",
|
|
119851
|
-
"name": "
|
|
119826
|
+
"name": "_container",
|
|
119827
|
+
"type": {
|
|
119828
|
+
"text": "SbbSidebarContainerElement | null"
|
|
119829
|
+
},
|
|
119852
119830
|
"privacy": "private",
|
|
119853
|
-
"default": "
|
|
119854
|
-
"inheritedFrom": {
|
|
119855
|
-
"name": "SbbFormAssociatedMixin",
|
|
119856
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
119857
|
-
}
|
|
119831
|
+
"default": "null"
|
|
119858
119832
|
},
|
|
119859
119833
|
{
|
|
119860
119834
|
"kind": "field",
|
|
119861
|
-
"name": "
|
|
119835
|
+
"name": "_lastFocusedElement",
|
|
119862
119836
|
"type": {
|
|
119863
|
-
"text": "
|
|
119837
|
+
"text": "HTMLElement | null"
|
|
119864
119838
|
},
|
|
119865
|
-
"privacy": "
|
|
119866
|
-
"default": "
|
|
119867
|
-
|
|
119839
|
+
"privacy": "private",
|
|
119840
|
+
"default": "null"
|
|
119841
|
+
},
|
|
119842
|
+
{
|
|
119843
|
+
"kind": "field",
|
|
119844
|
+
"name": "_focusTrapController",
|
|
119845
|
+
"privacy": "private",
|
|
119846
|
+
"default": "new SbbFocusTrapController(this)"
|
|
119847
|
+
},
|
|
119848
|
+
{
|
|
119849
|
+
"kind": "field",
|
|
119850
|
+
"name": "_escapableOverlayController",
|
|
119851
|
+
"privacy": "private",
|
|
119852
|
+
"default": "new SbbEscapableOverlayController(this)"
|
|
119853
|
+
},
|
|
119854
|
+
{
|
|
119855
|
+
"kind": "method",
|
|
119856
|
+
"name": "toggle",
|
|
119857
|
+
"privacy": "public",
|
|
119858
|
+
"return": {
|
|
119859
|
+
"type": {
|
|
119860
|
+
"text": "void"
|
|
119861
|
+
}
|
|
119862
|
+
},
|
|
119863
|
+
"description": "Toggles the sidebar visibility."
|
|
119864
|
+
},
|
|
119865
|
+
{
|
|
119866
|
+
"kind": "method",
|
|
119867
|
+
"name": "open",
|
|
119868
|
+
"privacy": "public",
|
|
119869
|
+
"return": {
|
|
119870
|
+
"type": {
|
|
119871
|
+
"text": "void"
|
|
119872
|
+
}
|
|
119873
|
+
},
|
|
119874
|
+
"description": "Opens the sidebar.",
|
|
119868
119875
|
"inheritedFrom": {
|
|
119869
|
-
"name": "
|
|
119870
|
-
"module": "core/
|
|
119876
|
+
"name": "SbbOpenCloseBaseElement",
|
|
119877
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
119871
119878
|
}
|
|
119872
119879
|
},
|
|
119873
119880
|
{
|
|
119874
119881
|
"kind": "method",
|
|
119875
|
-
"name": "
|
|
119876
|
-
"privacy": "
|
|
119882
|
+
"name": "_isZeroAnimationDuration",
|
|
119883
|
+
"privacy": "private",
|
|
119877
119884
|
"return": {
|
|
119878
119885
|
"type": {
|
|
119879
119886
|
"text": "boolean"
|
|
119880
119887
|
}
|
|
119881
|
-
},
|
|
119882
|
-
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
119883
|
-
"inheritedFrom": {
|
|
119884
|
-
"name": "SbbFormAssociatedMixin",
|
|
119885
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
119886
119888
|
}
|
|
119887
119889
|
},
|
|
119888
119890
|
{
|
|
119889
119891
|
"kind": "method",
|
|
119890
|
-
"name": "
|
|
119891
|
-
"privacy": "
|
|
119892
|
+
"name": "_handleOpening",
|
|
119893
|
+
"privacy": "private",
|
|
119892
119894
|
"return": {
|
|
119893
119895
|
"type": {
|
|
119894
|
-
"text": "
|
|
119896
|
+
"text": "void"
|
|
119895
119897
|
}
|
|
119896
|
-
},
|
|
119897
|
-
"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.",
|
|
119898
|
-
"inheritedFrom": {
|
|
119899
|
-
"name": "SbbFormAssociatedMixin",
|
|
119900
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
119901
119898
|
}
|
|
119902
119899
|
},
|
|
119903
119900
|
{
|
|
119904
119901
|
"kind": "method",
|
|
119905
|
-
"name": "
|
|
119902
|
+
"name": "close",
|
|
119906
119903
|
"privacy": "public",
|
|
119907
119904
|
"return": {
|
|
119908
119905
|
"type": {
|
|
119909
119906
|
"text": "void"
|
|
119910
119907
|
}
|
|
119911
119908
|
},
|
|
119912
|
-
"
|
|
119913
|
-
{
|
|
119914
|
-
"name": "message",
|
|
119915
|
-
"type": {
|
|
119916
|
-
"text": "string"
|
|
119917
|
-
}
|
|
119918
|
-
}
|
|
119919
|
-
],
|
|
119920
|
-
"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.",
|
|
119909
|
+
"description": "Closes the sidebar.",
|
|
119921
119910
|
"inheritedFrom": {
|
|
119922
|
-
"name": "
|
|
119923
|
-
"module": "core/
|
|
119911
|
+
"name": "SbbOpenCloseBaseElement",
|
|
119912
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
119924
119913
|
}
|
|
119925
119914
|
},
|
|
119926
119915
|
{
|
|
119927
119916
|
"kind": "method",
|
|
119928
|
-
"name": "
|
|
119917
|
+
"name": "_handleClosing",
|
|
119929
119918
|
"privacy": "private",
|
|
119930
119919
|
"return": {
|
|
119931
119920
|
"type": {
|
|
119932
|
-
"text": "
|
|
119921
|
+
"text": "void"
|
|
119933
119922
|
}
|
|
119934
|
-
},
|
|
119935
|
-
"inheritedFrom": {
|
|
119936
|
-
"name": "SbbFormAssociatedMixin",
|
|
119937
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
119938
119923
|
}
|
|
119939
119924
|
},
|
|
119940
119925
|
{
|
|
119941
119926
|
"kind": "method",
|
|
119942
|
-
"name": "
|
|
119943
|
-
"privacy": "
|
|
119927
|
+
"name": "_takeFocus",
|
|
119928
|
+
"privacy": "private",
|
|
119944
119929
|
"return": {
|
|
119945
119930
|
"type": {
|
|
119946
119931
|
"text": "void"
|
|
119947
119932
|
}
|
|
119948
|
-
},
|
|
119949
|
-
"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",
|
|
119950
|
-
"inheritedFrom": {
|
|
119951
|
-
"name": "SbbFormAssociatedMixin",
|
|
119952
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
119953
119933
|
}
|
|
119954
119934
|
},
|
|
119955
119935
|
{
|
|
119956
119936
|
"kind": "method",
|
|
119957
|
-
"name": "
|
|
119937
|
+
"name": "cedeFocus",
|
|
119958
119938
|
"privacy": "protected",
|
|
119959
119939
|
"return": {
|
|
119960
119940
|
"type": {
|
|
119961
|
-
"text": "
|
|
119941
|
+
"text": "void"
|
|
119962
119942
|
}
|
|
119963
|
-
},
|
|
119964
|
-
"inheritedFrom": {
|
|
119965
|
-
"name": "SbbFormAssociatedMixin",
|
|
119966
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
119967
119943
|
}
|
|
119968
119944
|
},
|
|
119969
119945
|
{
|
|
119970
119946
|
"kind": "method",
|
|
119971
|
-
"name": "
|
|
119972
|
-
"privacy": "
|
|
119947
|
+
"name": "_updateSidebarWidth",
|
|
119948
|
+
"privacy": "private",
|
|
119973
119949
|
"return": {
|
|
119974
119950
|
"type": {
|
|
119975
119951
|
"text": "void"
|
|
@@ -119977,35 +119953,44 @@
|
|
|
119977
119953
|
},
|
|
119978
119954
|
"parameters": [
|
|
119979
119955
|
{
|
|
119980
|
-
"name": "
|
|
119981
|
-
"type": {
|
|
119982
|
-
"text": "T"
|
|
119983
|
-
}
|
|
119984
|
-
},
|
|
119985
|
-
{
|
|
119986
|
-
"name": "message",
|
|
119987
|
-
"type": {
|
|
119988
|
-
"text": "string"
|
|
119989
|
-
}
|
|
119990
|
-
},
|
|
119991
|
-
{
|
|
119992
|
-
"name": "flagValue",
|
|
119956
|
+
"name": "oldPosition",
|
|
119993
119957
|
"optional": true,
|
|
119994
119958
|
"type": {
|
|
119995
|
-
"text": "
|
|
119959
|
+
"text": "this['position']"
|
|
119996
119960
|
}
|
|
119997
119961
|
}
|
|
119998
|
-
]
|
|
119999
|
-
|
|
120000
|
-
|
|
120001
|
-
|
|
120002
|
-
|
|
119962
|
+
]
|
|
119963
|
+
},
|
|
119964
|
+
{
|
|
119965
|
+
"kind": "method",
|
|
119966
|
+
"name": "_buildCssWidthVar",
|
|
119967
|
+
"privacy": "private",
|
|
119968
|
+
"return": {
|
|
119969
|
+
"type": {
|
|
119970
|
+
"text": "string"
|
|
119971
|
+
}
|
|
119972
|
+
},
|
|
119973
|
+
"parameters": [
|
|
119974
|
+
{
|
|
119975
|
+
"name": "position",
|
|
119976
|
+
"default": "this.position"
|
|
119977
|
+
}
|
|
119978
|
+
]
|
|
119979
|
+
},
|
|
119980
|
+
{
|
|
119981
|
+
"kind": "method",
|
|
119982
|
+
"name": "_isModeOver",
|
|
119983
|
+
"privacy": "private",
|
|
119984
|
+
"return": {
|
|
119985
|
+
"type": {
|
|
119986
|
+
"text": "boolean"
|
|
119987
|
+
}
|
|
120003
119988
|
}
|
|
120004
119989
|
},
|
|
120005
119990
|
{
|
|
120006
119991
|
"kind": "method",
|
|
120007
|
-
"name": "
|
|
120008
|
-
"privacy": "
|
|
119992
|
+
"name": "_onTransitionEnd",
|
|
119993
|
+
"privacy": "private",
|
|
120009
119994
|
"return": {
|
|
120010
119995
|
"type": {
|
|
120011
119996
|
"text": "void"
|
|
@@ -120013,173 +119998,230 @@
|
|
|
120013
119998
|
},
|
|
120014
119999
|
"parameters": [
|
|
120015
120000
|
{
|
|
120016
|
-
"name": "
|
|
120001
|
+
"name": "event",
|
|
120017
120002
|
"type": {
|
|
120018
|
-
"text": "
|
|
120003
|
+
"text": "TransitionEvent"
|
|
120019
120004
|
}
|
|
120020
120005
|
}
|
|
120021
|
-
]
|
|
120022
|
-
|
|
120006
|
+
]
|
|
120007
|
+
},
|
|
120008
|
+
{
|
|
120009
|
+
"kind": "method",
|
|
120010
|
+
"name": "_detectScrolledState",
|
|
120011
|
+
"privacy": "private",
|
|
120012
|
+
"return": {
|
|
120013
|
+
"type": {
|
|
120014
|
+
"text": "void"
|
|
120015
|
+
}
|
|
120016
|
+
}
|
|
120017
|
+
},
|
|
120018
|
+
{
|
|
120019
|
+
"kind": "field",
|
|
120020
|
+
"name": "isAnimating",
|
|
120021
|
+
"type": {
|
|
120022
|
+
"text": "boolean"
|
|
120023
|
+
},
|
|
120024
|
+
"privacy": "public",
|
|
120025
|
+
"default": "false",
|
|
120026
|
+
"description": "Whether the component is currently animating.",
|
|
120023
120027
|
"inheritedFrom": {
|
|
120024
|
-
"name": "
|
|
120025
|
-
"module": "core/mixins/
|
|
120028
|
+
"name": "SbbAnimationCompleteMixin",
|
|
120029
|
+
"module": "core/mixins/animation-complete-mixin.js"
|
|
120030
|
+
}
|
|
120031
|
+
},
|
|
120032
|
+
{
|
|
120033
|
+
"kind": "field",
|
|
120034
|
+
"name": "animationComplete",
|
|
120035
|
+
"type": {
|
|
120036
|
+
"text": "Promise<void>"
|
|
120037
|
+
},
|
|
120038
|
+
"privacy": "public",
|
|
120039
|
+
"description": "Returns a promise which completes whenever an animation ends.\nWhen a new animation starts, a new Promise is returned.",
|
|
120040
|
+
"readonly": true,
|
|
120041
|
+
"inheritedFrom": {
|
|
120042
|
+
"name": "SbbAnimationCompleteMixin",
|
|
120043
|
+
"module": "core/mixins/animation-complete-mixin.js"
|
|
120044
|
+
}
|
|
120045
|
+
},
|
|
120046
|
+
{
|
|
120047
|
+
"kind": "field",
|
|
120048
|
+
"name": "_animationPromise",
|
|
120049
|
+
"type": {
|
|
120050
|
+
"text": "Promise<void>"
|
|
120051
|
+
},
|
|
120052
|
+
"privacy": "private",
|
|
120053
|
+
"inheritedFrom": {
|
|
120054
|
+
"name": "SbbAnimationCompleteMixin",
|
|
120055
|
+
"module": "core/mixins/animation-complete-mixin.js"
|
|
120026
120056
|
}
|
|
120027
120057
|
},
|
|
120028
120058
|
{
|
|
120029
120059
|
"kind": "method",
|
|
120030
|
-
"name": "
|
|
120060
|
+
"name": "startAnimation",
|
|
120031
120061
|
"privacy": "protected",
|
|
120032
120062
|
"return": {
|
|
120033
120063
|
"type": {
|
|
120034
120064
|
"text": "void"
|
|
120035
120065
|
}
|
|
120036
120066
|
},
|
|
120037
|
-
"description": "To be called whenever the current element needs to be validated.",
|
|
120038
120067
|
"inheritedFrom": {
|
|
120039
|
-
"name": "
|
|
120040
|
-
"module": "core/mixins/
|
|
120068
|
+
"name": "SbbAnimationCompleteMixin",
|
|
120069
|
+
"module": "core/mixins/animation-complete-mixin.js"
|
|
120041
120070
|
}
|
|
120042
120071
|
},
|
|
120043
120072
|
{
|
|
120044
120073
|
"kind": "method",
|
|
120045
|
-
"name": "
|
|
120074
|
+
"name": "stopAnimation",
|
|
120046
120075
|
"privacy": "protected",
|
|
120047
120076
|
"return": {
|
|
120048
120077
|
"type": {
|
|
120049
|
-
"text": "
|
|
120078
|
+
"text": "void"
|
|
120050
120079
|
}
|
|
120051
120080
|
},
|
|
120052
|
-
"
|
|
120053
|
-
{
|
|
120054
|
-
"name": "name",
|
|
120055
|
-
"type": {
|
|
120056
|
-
"text": "PropertyKey | undefined"
|
|
120057
|
-
}
|
|
120058
|
-
}
|
|
120059
|
-
],
|
|
120060
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
120081
|
+
"description": "Overriding stopAnimation() breaks functionality.",
|
|
120061
120082
|
"inheritedFrom": {
|
|
120062
|
-
"name": "
|
|
120063
|
-
"module": "core/mixins/
|
|
120083
|
+
"name": "SbbAnimationCompleteMixin",
|
|
120084
|
+
"module": "core/mixins/animation-complete-mixin.js"
|
|
120064
120085
|
}
|
|
120065
120086
|
},
|
|
120066
120087
|
{
|
|
120067
120088
|
"kind": "method",
|
|
120068
|
-
"name": "
|
|
120089
|
+
"name": "_enqueueAnimation",
|
|
120069
120090
|
"privacy": "private",
|
|
120070
120091
|
"return": {
|
|
120071
120092
|
"type": {
|
|
120072
|
-
"text": "void"
|
|
120093
|
+
"text": "Promise<void>"
|
|
120073
120094
|
}
|
|
120074
120095
|
},
|
|
120075
120096
|
"inheritedFrom": {
|
|
120076
|
-
"name": "
|
|
120077
|
-
"module": "core/mixins/
|
|
120097
|
+
"name": "SbbAnimationCompleteMixin",
|
|
120098
|
+
"module": "core/mixins/animation-complete-mixin.js"
|
|
120078
120099
|
}
|
|
120079
120100
|
},
|
|
120080
120101
|
{
|
|
120081
120102
|
"kind": "field",
|
|
120082
|
-
"name": "
|
|
120083
|
-
"type": {
|
|
120084
|
-
"text": "ElementInternals['role']"
|
|
120085
|
-
},
|
|
120103
|
+
"name": "events",
|
|
120086
120104
|
"privacy": "public",
|
|
120087
120105
|
"static": true,
|
|
120088
120106
|
"readonly": true,
|
|
120089
|
-
"default": "'
|
|
120107
|
+
"default": "{ beforeopen: 'beforeopen', open: 'open', beforeclose: 'beforeclose', close: 'close', }",
|
|
120108
|
+
"type": {
|
|
120109
|
+
"text": "{\n beforeopen: 'beforeopen',\n open: 'open',\n beforeclose: 'beforeclose',\n close: 'close',\n }"
|
|
120110
|
+
},
|
|
120090
120111
|
"inheritedFrom": {
|
|
120091
|
-
"name": "
|
|
120092
|
-
"module": "core/base-elements/
|
|
120112
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120113
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
120093
120114
|
}
|
|
120094
120115
|
},
|
|
120095
120116
|
{
|
|
120096
120117
|
"kind": "field",
|
|
120097
|
-
"name": "
|
|
120098
|
-
"privacy": "
|
|
120099
|
-
"description": "
|
|
120100
|
-
"
|
|
120101
|
-
|
|
120102
|
-
|
|
120103
|
-
|
|
120104
|
-
}
|
|
120105
|
-
],
|
|
120118
|
+
"name": "state",
|
|
120119
|
+
"privacy": "protected",
|
|
120120
|
+
"description": "The state of the component.",
|
|
120121
|
+
"type": {
|
|
120122
|
+
"text": "SbbOpenedClosedState"
|
|
120123
|
+
},
|
|
120124
|
+
"default": "'closed'",
|
|
120106
120125
|
"inheritedFrom": {
|
|
120107
|
-
"name": "
|
|
120108
|
-
"module": "core/base-elements/
|
|
120126
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120127
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
120128
|
+
}
|
|
120129
|
+
},
|
|
120130
|
+
{
|
|
120131
|
+
"kind": "field",
|
|
120132
|
+
"name": "_state",
|
|
120133
|
+
"type": {
|
|
120134
|
+
"text": "SbbOpenedClosedState"
|
|
120135
|
+
},
|
|
120136
|
+
"privacy": "private",
|
|
120137
|
+
"inheritedFrom": {
|
|
120138
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120139
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
120109
120140
|
}
|
|
120110
120141
|
},
|
|
120111
120142
|
{
|
|
120112
120143
|
"kind": "field",
|
|
120113
|
-
"name": "
|
|
120114
|
-
"
|
|
120144
|
+
"name": "isOpen",
|
|
120145
|
+
"type": {
|
|
120146
|
+
"text": "boolean"
|
|
120147
|
+
},
|
|
120148
|
+
"privacy": "public",
|
|
120149
|
+
"description": "Whether the element is open.",
|
|
120150
|
+
"readonly": true,
|
|
120115
120151
|
"inheritedFrom": {
|
|
120116
|
-
"name": "
|
|
120117
|
-
"module": "core/base-elements/
|
|
120152
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120153
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
120118
120154
|
}
|
|
120119
120155
|
},
|
|
120120
120156
|
{
|
|
120121
|
-
"kind": "
|
|
120122
|
-
"name": "
|
|
120123
|
-
"privacy": "
|
|
120124
|
-
"
|
|
120125
|
-
|
|
120126
|
-
|
|
120127
|
-
"description": "The origin event.",
|
|
120128
|
-
"name": "event"
|
|
120157
|
+
"kind": "method",
|
|
120158
|
+
"name": "escapeStrategy",
|
|
120159
|
+
"privacy": "public",
|
|
120160
|
+
"return": {
|
|
120161
|
+
"type": {
|
|
120162
|
+
"text": "void"
|
|
120129
120163
|
}
|
|
120130
|
-
|
|
120164
|
+
},
|
|
120165
|
+
"description": "The method which is called on escape key press. Defaults to calling close()",
|
|
120131
120166
|
"inheritedFrom": {
|
|
120132
|
-
"name": "
|
|
120133
|
-
"module": "core/base-elements/
|
|
120167
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120168
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
120134
120169
|
}
|
|
120135
120170
|
},
|
|
120136
120171
|
{
|
|
120137
|
-
"kind": "
|
|
120138
|
-
"name": "
|
|
120139
|
-
"privacy": "
|
|
120172
|
+
"kind": "method",
|
|
120173
|
+
"name": "dispatchBeforeOpenEvent",
|
|
120174
|
+
"privacy": "protected",
|
|
120175
|
+
"return": {
|
|
120176
|
+
"type": {
|
|
120177
|
+
"text": "boolean"
|
|
120178
|
+
}
|
|
120179
|
+
},
|
|
120140
120180
|
"inheritedFrom": {
|
|
120141
|
-
"name": "
|
|
120142
|
-
"module": "core/base-elements/
|
|
120181
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120182
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
120143
120183
|
}
|
|
120144
120184
|
},
|
|
120145
120185
|
{
|
|
120146
|
-
"kind": "
|
|
120147
|
-
"name": "
|
|
120148
|
-
"type": {
|
|
120149
|
-
"text": "boolean | undefined"
|
|
120150
|
-
},
|
|
120186
|
+
"kind": "method",
|
|
120187
|
+
"name": "dispatchOpenEvent",
|
|
120151
120188
|
"privacy": "protected",
|
|
120152
|
-
"
|
|
120189
|
+
"return": {
|
|
120190
|
+
"type": {
|
|
120191
|
+
"text": "boolean"
|
|
120192
|
+
}
|
|
120193
|
+
},
|
|
120153
120194
|
"inheritedFrom": {
|
|
120154
|
-
"name": "
|
|
120155
|
-
"module": "core/base-elements/
|
|
120195
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120196
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
120156
120197
|
}
|
|
120157
120198
|
},
|
|
120158
120199
|
{
|
|
120159
|
-
"kind": "
|
|
120160
|
-
"name": "
|
|
120161
|
-
"type": {
|
|
120162
|
-
"text": "boolean | undefined"
|
|
120163
|
-
},
|
|
120200
|
+
"kind": "method",
|
|
120201
|
+
"name": "dispatchBeforeCloseEvent",
|
|
120164
120202
|
"privacy": "protected",
|
|
120165
|
-
"
|
|
120203
|
+
"return": {
|
|
120204
|
+
"type": {
|
|
120205
|
+
"text": "boolean"
|
|
120206
|
+
}
|
|
120207
|
+
},
|
|
120166
120208
|
"inheritedFrom": {
|
|
120167
|
-
"name": "
|
|
120168
|
-
"module": "core/base-elements/
|
|
120209
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120210
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
120169
120211
|
}
|
|
120170
120212
|
},
|
|
120171
120213
|
{
|
|
120172
120214
|
"kind": "method",
|
|
120173
|
-
"name": "
|
|
120215
|
+
"name": "dispatchCloseEvent",
|
|
120174
120216
|
"privacy": "protected",
|
|
120175
120217
|
"return": {
|
|
120176
120218
|
"type": {
|
|
120177
|
-
"text": "
|
|
120219
|
+
"text": "boolean"
|
|
120178
120220
|
}
|
|
120179
120221
|
},
|
|
120180
120222
|
"inheritedFrom": {
|
|
120181
|
-
"name": "
|
|
120182
|
-
"module": "core/base-elements/
|
|
120223
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120224
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
120183
120225
|
}
|
|
120184
120226
|
},
|
|
120185
120227
|
{
|
|
@@ -120288,150 +120330,108 @@
|
|
|
120288
120330
|
}
|
|
120289
120331
|
}
|
|
120290
120332
|
],
|
|
120291
|
-
"superclass": {
|
|
120292
|
-
"name": "SbbSecondaryButtonElement",
|
|
120293
|
-
"module": "button/secondary-button.js"
|
|
120294
|
-
},
|
|
120295
|
-
"tagName": "sbb-sidebar-close-button",
|
|
120296
|
-
"customElement": true,
|
|
120297
120333
|
"attributes": [
|
|
120298
120334
|
{
|
|
120299
|
-
"name": "
|
|
120300
|
-
"type": {
|
|
120301
|
-
"text": "SbbButtonSize"
|
|
120302
|
-
},
|
|
120303
|
-
"description": "Size variant, either l, m or s.",
|
|
120304
|
-
"default": "'l' / 's' (lean)",
|
|
120305
|
-
"fieldName": "size",
|
|
120306
|
-
"inheritedFrom": {
|
|
120307
|
-
"name": "SbbButtonCommonElementMixin",
|
|
120308
|
-
"module": "button/common/button-common.js"
|
|
120309
|
-
}
|
|
120310
|
-
},
|
|
120311
|
-
{
|
|
120312
|
-
"name": "loading",
|
|
120335
|
+
"name": "color",
|
|
120313
120336
|
"type": {
|
|
120314
|
-
"text": "
|
|
120337
|
+
"text": "'white' | 'milk'"
|
|
120315
120338
|
},
|
|
120316
|
-
"default": "
|
|
120317
|
-
"description": "
|
|
120318
|
-
"fieldName": "
|
|
120319
|
-
"inheritedFrom": {
|
|
120320
|
-
"name": "SbbButtonCommonElementMixin",
|
|
120321
|
-
"module": "button/common/button-common.js"
|
|
120322
|
-
}
|
|
120339
|
+
"default": "'white'",
|
|
120340
|
+
"description": "Background color of the sidebar. Either `white` or `milk`.",
|
|
120341
|
+
"fieldName": "color"
|
|
120323
120342
|
},
|
|
120324
120343
|
{
|
|
120325
|
-
"name": "
|
|
120344
|
+
"name": "mode",
|
|
120326
120345
|
"type": {
|
|
120327
|
-
"text": "
|
|
120346
|
+
"text": "'side' | 'over'"
|
|
120328
120347
|
},
|
|
120329
|
-
"default": "
|
|
120330
|
-
"description": "
|
|
120331
|
-
"fieldName": "
|
|
120332
|
-
"inheritedFrom": {
|
|
120333
|
-
"name": "SbbNegativeMixin",
|
|
120334
|
-
"module": "core/mixins/negative-mixin.js"
|
|
120335
|
-
}
|
|
120348
|
+
"default": "'side'",
|
|
120349
|
+
"description": "Mode of the sidebar; one of 'side' or 'over'.",
|
|
120350
|
+
"fieldName": "mode"
|
|
120336
120351
|
},
|
|
120337
120352
|
{
|
|
120338
|
-
"name": "
|
|
120353
|
+
"name": "position",
|
|
120339
120354
|
"type": {
|
|
120340
|
-
"text": "
|
|
120355
|
+
"text": "'start' | 'end'"
|
|
120341
120356
|
},
|
|
120342
|
-
"default": "''",
|
|
120343
|
-
"description": "The
|
|
120344
|
-
"fieldName": "
|
|
120345
|
-
"inheritedFrom": {
|
|
120346
|
-
"name": "SbbIconNameMixin",
|
|
120347
|
-
"module": "icon/icon-name-mixin.js"
|
|
120348
|
-
}
|
|
120357
|
+
"default": "'start'",
|
|
120358
|
+
"description": "The side that the sidebar is attached to.",
|
|
120359
|
+
"fieldName": "position"
|
|
120349
120360
|
},
|
|
120350
120361
|
{
|
|
120351
|
-
"name": "
|
|
120362
|
+
"name": "opened",
|
|
120352
120363
|
"type": {
|
|
120353
120364
|
"text": "boolean"
|
|
120354
120365
|
},
|
|
120355
120366
|
"default": "false",
|
|
120356
|
-
"description": "Whether the
|
|
120357
|
-
"fieldName": "
|
|
120358
|
-
"inheritedFrom": {
|
|
120359
|
-
"name": "SbbDisabledInteractiveMixin",
|
|
120360
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
120361
|
-
}
|
|
120367
|
+
"description": "Whether the sidebar is opened or closed.\nCan be used to initially set the opened state, where\nthe animation will be skipped.",
|
|
120368
|
+
"fieldName": "opened"
|
|
120362
120369
|
},
|
|
120363
120370
|
{
|
|
120364
|
-
"name": "
|
|
120365
|
-
"description": "Whether the component is disabled.",
|
|
120366
|
-
"default": "false",
|
|
120371
|
+
"name": "focus-on-open",
|
|
120367
120372
|
"type": {
|
|
120368
120373
|
"text": "boolean"
|
|
120369
120374
|
},
|
|
120370
|
-
"
|
|
120371
|
-
"
|
|
120372
|
-
|
|
120373
|
-
|
|
120374
|
-
|
|
120375
|
-
|
|
120375
|
+
"default": "false",
|
|
120376
|
+
"description": "Whether the sidebar should focus the first focusable element automatically when opened.\nDefaults to false in when mode is set to `side`, otherwise defaults to true.\nIf explicitly enabled, focus will be moved into the sidebar in `side` mode as well.",
|
|
120377
|
+
"fieldName": "focusOnOpen"
|
|
120378
|
+
}
|
|
120379
|
+
],
|
|
120380
|
+
"mixins": [
|
|
120376
120381
|
{
|
|
120377
|
-
"name": "
|
|
120382
|
+
"name": "SbbAnimationCompleteMixin",
|
|
120383
|
+
"module": "core/mixins.js"
|
|
120384
|
+
}
|
|
120385
|
+
],
|
|
120386
|
+
"superclass": {
|
|
120387
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120388
|
+
"module": "core/base-elements.js"
|
|
120389
|
+
},
|
|
120390
|
+
"tagName": "sbb-sidebar",
|
|
120391
|
+
"customElement": true,
|
|
120392
|
+
"events": [
|
|
120393
|
+
{
|
|
120394
|
+
"name": "beforeopen",
|
|
120378
120395
|
"type": {
|
|
120379
|
-
"text": "
|
|
120396
|
+
"text": "Event"
|
|
120380
120397
|
},
|
|
120381
|
-
"
|
|
120382
|
-
"description": "Value of the form element.",
|
|
120383
|
-
"fieldName": "value",
|
|
120398
|
+
"description": "Emits whenever the component starts the opening transition. Can be canceled.",
|
|
120384
120399
|
"inheritedFrom": {
|
|
120385
|
-
"name": "
|
|
120386
|
-
"module": "core/base-elements/
|
|
120400
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120401
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
120387
120402
|
}
|
|
120388
120403
|
},
|
|
120389
120404
|
{
|
|
120390
|
-
"name": "
|
|
120391
|
-
"description": "The type attribute to use for the button.",
|
|
120392
|
-
"default": "'button'",
|
|
120405
|
+
"name": "open",
|
|
120393
120406
|
"type": {
|
|
120394
|
-
"text": "
|
|
120407
|
+
"text": "Event"
|
|
120395
120408
|
},
|
|
120396
|
-
"
|
|
120409
|
+
"description": "Emits whenever the component is opened.",
|
|
120397
120410
|
"inheritedFrom": {
|
|
120398
|
-
"name": "
|
|
120399
|
-
"module": "core/base-elements/
|
|
120411
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120412
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
120400
120413
|
}
|
|
120401
120414
|
},
|
|
120402
120415
|
{
|
|
120403
|
-
"name": "
|
|
120404
|
-
"description": "The `<form>` element to associate the button with.",
|
|
120416
|
+
"name": "beforeclose",
|
|
120405
120417
|
"type": {
|
|
120406
|
-
"text": "
|
|
120418
|
+
"text": "Event"
|
|
120407
120419
|
},
|
|
120408
|
-
"
|
|
120420
|
+
"description": "Emits whenever the component begins the closing transition. Can be canceled.",
|
|
120409
120421
|
"inheritedFrom": {
|
|
120410
|
-
"name": "
|
|
120411
|
-
"module": "core/base-elements/
|
|
120422
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120423
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
120412
120424
|
}
|
|
120413
120425
|
},
|
|
120414
120426
|
{
|
|
120415
|
-
"name": "
|
|
120416
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
120427
|
+
"name": "close",
|
|
120417
120428
|
"type": {
|
|
120418
|
-
"text": "
|
|
120429
|
+
"text": "Event"
|
|
120419
120430
|
},
|
|
120420
|
-
"
|
|
120421
|
-
"inheritedFrom": {
|
|
120422
|
-
"name": "SbbFormAssociatedMixin",
|
|
120423
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
120424
|
-
}
|
|
120425
|
-
}
|
|
120426
|
-
],
|
|
120427
|
-
"cssProperties": [
|
|
120428
|
-
{
|
|
120429
|
-
"description": "The delay before the loading animation starts, when setting the button into loading state.",
|
|
120430
|
-
"name": "--sbb-button-loading-delay",
|
|
120431
|
-
"default": "300ms",
|
|
120431
|
+
"description": "Emits whenever the component is closed.",
|
|
120432
120432
|
"inheritedFrom": {
|
|
120433
|
-
"name": "
|
|
120434
|
-
"module": "
|
|
120433
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120434
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
120435
120435
|
}
|
|
120436
120436
|
}
|
|
120437
120437
|
]
|
|
@@ -120440,10 +120440,10 @@
|
|
|
120440
120440
|
"exports": [
|
|
120441
120441
|
{
|
|
120442
120442
|
"kind": "js",
|
|
120443
|
-
"name": "
|
|
120443
|
+
"name": "SbbSidebarElement",
|
|
120444
120444
|
"declaration": {
|
|
120445
|
-
"name": "
|
|
120446
|
-
"module": "sidebar/sidebar
|
|
120445
|
+
"name": "SbbSidebarElement",
|
|
120446
|
+
"module": "sidebar/sidebar/sidebar.component.js"
|
|
120447
120447
|
}
|
|
120448
120448
|
}
|
|
120449
120449
|
]
|