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