@sbb-esta/lyne-elements-dev 4.6.0-dev.1772440255 → 4.6.0-dev.1772444497
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
CHANGED
|
@@ -45552,6 +45552,12 @@
|
|
|
45552
45552
|
"kind": "class",
|
|
45553
45553
|
"description": "It displays its content with the default page spacing.",
|
|
45554
45554
|
"name": "SbbContainerElement",
|
|
45555
|
+
"cssProperties": [
|
|
45556
|
+
{
|
|
45557
|
+
"description": "Use this variable to override the default page spacing. Note that overriding this will disable the standard responsive spacing behavior of the container.",
|
|
45558
|
+
"name": "--sbb-page-spacing-padding"
|
|
45559
|
+
}
|
|
45560
|
+
],
|
|
45555
45561
|
"slots": [
|
|
45556
45562
|
{
|
|
45557
45563
|
"description": "Use the unnamed slot to add anything to the container.",
|
|
@@ -86708,27 +86714,23 @@
|
|
|
86708
86714
|
},
|
|
86709
86715
|
{
|
|
86710
86716
|
"kind": "javascript-module",
|
|
86711
|
-
"path": "menu/menu
|
|
86717
|
+
"path": "menu/menu/menu.component.js",
|
|
86712
86718
|
"declarations": [
|
|
86713
86719
|
{
|
|
86714
86720
|
"kind": "class",
|
|
86715
|
-
"description": "It displays a
|
|
86716
|
-
"name": "
|
|
86721
|
+
"description": "It displays a contextual menu with one or more action element.",
|
|
86722
|
+
"name": "SbbMenuElement",
|
|
86717
86723
|
"cssProperties": [
|
|
86718
86724
|
{
|
|
86719
|
-
"description": "
|
|
86720
|
-
"name": "--sbb-menu-
|
|
86721
|
-
"default": "var(--sbb-
|
|
86725
|
+
"description": "To specify a custom stack order, the `z-index` can be overridden by defining this CSS variable. The default `z-index` of the component is set to `var(--sbb-overlay-default-z-index)` with a value of `1000`.",
|
|
86726
|
+
"name": "--sbb-menu-z-index",
|
|
86727
|
+
"default": "var(--sbb-overlay-default-z-index)"
|
|
86722
86728
|
}
|
|
86723
86729
|
],
|
|
86724
86730
|
"slots": [
|
|
86725
86731
|
{
|
|
86726
|
-
"description": "Use the unnamed slot to add
|
|
86732
|
+
"description": "Use the unnamed slot to add `sbb-menu-button`/`sbb-menu-link` or other elements to the menu.",
|
|
86727
86733
|
"name": ""
|
|
86728
|
-
},
|
|
86729
|
-
{
|
|
86730
|
-
"description": "Use this slot to provide an icon. If `icon-name` is set, a `sbb-icon` will be used.",
|
|
86731
|
-
"name": "icon"
|
|
86732
86734
|
}
|
|
86733
86735
|
],
|
|
86734
86736
|
"members": [
|
|
@@ -86736,411 +86738,183 @@
|
|
|
86736
86738
|
"kind": "field",
|
|
86737
86739
|
"name": "role",
|
|
86738
86740
|
"type": {
|
|
86739
|
-
"text": "
|
|
86741
|
+
"text": "string"
|
|
86740
86742
|
},
|
|
86741
86743
|
"privacy": "public",
|
|
86742
86744
|
"static": true,
|
|
86743
86745
|
"readonly": true,
|
|
86744
|
-
"default": "'
|
|
86745
|
-
"inheritedFrom": {
|
|
86746
|
-
"name": "SbbButtonLikeBaseElement",
|
|
86747
|
-
"module": "core/base-elements/button-base-element.js"
|
|
86748
|
-
}
|
|
86746
|
+
"default": "'menu'"
|
|
86749
86747
|
},
|
|
86750
86748
|
{
|
|
86751
86749
|
"kind": "field",
|
|
86752
|
-
"name": "
|
|
86750
|
+
"name": "trigger",
|
|
86753
86751
|
"type": {
|
|
86754
|
-
"text": "
|
|
86752
|
+
"text": "HTMLElement | null"
|
|
86755
86753
|
},
|
|
86756
86754
|
"privacy": "public",
|
|
86757
|
-
"default": "
|
|
86758
|
-
"description": "
|
|
86759
|
-
"attribute": "
|
|
86760
|
-
"reflects": true,
|
|
86761
|
-
"inheritedFrom": {
|
|
86762
|
-
"name": "SbbDisabledInteractiveMixin",
|
|
86763
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
86764
|
-
}
|
|
86755
|
+
"default": "null",
|
|
86756
|
+
"description": "The element that will trigger the menu overlay.\n\nFor attribute usage, provide an id reference.",
|
|
86757
|
+
"attribute": "trigger"
|
|
86765
86758
|
},
|
|
86766
86759
|
{
|
|
86767
86760
|
"kind": "field",
|
|
86768
|
-
"name": "
|
|
86769
|
-
"privacy": "public",
|
|
86770
|
-
"description": "Whether the component is disabled.",
|
|
86771
|
-
"default": "false",
|
|
86761
|
+
"name": "_menu",
|
|
86772
86762
|
"type": {
|
|
86773
|
-
"text": "
|
|
86763
|
+
"text": "HTMLDivElement"
|
|
86774
86764
|
},
|
|
86775
|
-
"
|
|
86776
|
-
"reflects": true,
|
|
86777
|
-
"inheritedFrom": {
|
|
86778
|
-
"name": "SbbDisabledMixin",
|
|
86779
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
86780
|
-
}
|
|
86765
|
+
"privacy": "private"
|
|
86781
86766
|
},
|
|
86782
86767
|
{
|
|
86783
86768
|
"kind": "field",
|
|
86784
|
-
"name": "
|
|
86785
|
-
"privacy": "private",
|
|
86769
|
+
"name": "_triggerElement",
|
|
86786
86770
|
"type": {
|
|
86787
|
-
"text": "
|
|
86788
|
-
},
|
|
86789
|
-
"default": "false",
|
|
86790
|
-
"inheritedFrom": {
|
|
86791
|
-
"name": "SbbDisabledMixin",
|
|
86792
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
86793
|
-
}
|
|
86794
|
-
},
|
|
86795
|
-
{
|
|
86796
|
-
"kind": "method",
|
|
86797
|
-
"name": "isDisabledExternally",
|
|
86798
|
-
"privacy": "protected",
|
|
86799
|
-
"return": {
|
|
86800
|
-
"type": {
|
|
86801
|
-
"text": "boolean"
|
|
86802
|
-
}
|
|
86771
|
+
"text": "HTMLElement | null"
|
|
86803
86772
|
},
|
|
86804
|
-
"
|
|
86805
|
-
"
|
|
86806
|
-
"name": "SbbDisabledMixin",
|
|
86807
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
86808
|
-
}
|
|
86773
|
+
"privacy": "private",
|
|
86774
|
+
"default": "null"
|
|
86809
86775
|
},
|
|
86810
86776
|
{
|
|
86811
86777
|
"kind": "field",
|
|
86812
|
-
"name": "
|
|
86778
|
+
"name": "_triggerAbortController",
|
|
86813
86779
|
"type": {
|
|
86814
|
-
"text": "
|
|
86815
|
-
},
|
|
86816
|
-
"privacy": "public",
|
|
86817
|
-
"static": true,
|
|
86818
|
-
"default": "[boxSizingStyles, style]",
|
|
86819
|
-
"inheritedFrom": {
|
|
86820
|
-
"name": "SbbMenuActionCommonElementMixin",
|
|
86821
|
-
"module": "menu/common/menu-action-common.js"
|
|
86822
|
-
}
|
|
86823
|
-
},
|
|
86824
|
-
{
|
|
86825
|
-
"kind": "method",
|
|
86826
|
-
"name": "renderTemplate",
|
|
86827
|
-
"privacy": "protected",
|
|
86828
|
-
"return": {
|
|
86829
|
-
"type": {
|
|
86830
|
-
"text": "TemplateResult"
|
|
86831
|
-
}
|
|
86780
|
+
"text": "AbortController"
|
|
86832
86781
|
},
|
|
86833
|
-
"
|
|
86834
|
-
"inheritedFrom": {
|
|
86835
|
-
"name": "SbbActionBaseElement",
|
|
86836
|
-
"module": "core/base-elements/action-base-element.js"
|
|
86837
|
-
}
|
|
86782
|
+
"privacy": "private"
|
|
86838
86783
|
},
|
|
86839
86784
|
{
|
|
86840
86785
|
"kind": "field",
|
|
86841
|
-
"name": "
|
|
86786
|
+
"name": "_isPointerDownEventOnMenu",
|
|
86842
86787
|
"type": {
|
|
86843
|
-
"text": "
|
|
86844
|
-
},
|
|
86845
|
-
"privacy": "public",
|
|
86846
|
-
"default": "''",
|
|
86847
|
-
"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.",
|
|
86848
|
-
"attribute": "icon-name",
|
|
86849
|
-
"inheritedFrom": {
|
|
86850
|
-
"name": "SbbIconNameMixin",
|
|
86851
|
-
"module": "icon/icon-name-mixin.js"
|
|
86852
|
-
}
|
|
86853
|
-
},
|
|
86854
|
-
{
|
|
86855
|
-
"kind": "method",
|
|
86856
|
-
"name": "renderIconSlot",
|
|
86857
|
-
"privacy": "protected",
|
|
86858
|
-
"return": {
|
|
86859
|
-
"type": {
|
|
86860
|
-
"text": "TemplateResult"
|
|
86861
|
-
}
|
|
86862
|
-
},
|
|
86863
|
-
"parameters": [
|
|
86864
|
-
{
|
|
86865
|
-
"name": "classname",
|
|
86866
|
-
"optional": true,
|
|
86867
|
-
"type": {
|
|
86868
|
-
"text": "string"
|
|
86869
|
-
}
|
|
86870
|
-
}
|
|
86871
|
-
],
|
|
86872
|
-
"inheritedFrom": {
|
|
86873
|
-
"name": "SbbIconNameMixin",
|
|
86874
|
-
"module": "icon/icon-name-mixin.js"
|
|
86875
|
-
}
|
|
86876
|
-
},
|
|
86877
|
-
{
|
|
86878
|
-
"kind": "method",
|
|
86879
|
-
"name": "renderIconName",
|
|
86880
|
-
"privacy": "protected",
|
|
86881
|
-
"return": {
|
|
86882
|
-
"type": {
|
|
86883
|
-
"text": "string"
|
|
86884
|
-
}
|
|
86788
|
+
"text": "boolean"
|
|
86885
86789
|
},
|
|
86886
|
-
"inheritedFrom": {
|
|
86887
|
-
"name": "SbbIconNameMixin",
|
|
86888
|
-
"module": "icon/icon-name-mixin.js"
|
|
86889
|
-
}
|
|
86890
|
-
},
|
|
86891
|
-
{
|
|
86892
|
-
"kind": "method",
|
|
86893
|
-
"name": "_renderIconName",
|
|
86894
86790
|
"privacy": "private",
|
|
86895
|
-
"
|
|
86896
|
-
"type": {
|
|
86897
|
-
"text": "string"
|
|
86898
|
-
}
|
|
86899
|
-
},
|
|
86900
|
-
"inheritedFrom": {
|
|
86901
|
-
"name": "SbbIconNameMixin",
|
|
86902
|
-
"module": "icon/icon-name-mixin.js"
|
|
86903
|
-
}
|
|
86791
|
+
"default": "false"
|
|
86904
86792
|
},
|
|
86905
86793
|
{
|
|
86906
86794
|
"kind": "field",
|
|
86907
|
-
"name": "
|
|
86795
|
+
"name": "_windowEventsController",
|
|
86908
86796
|
"type": {
|
|
86909
|
-
"text": "
|
|
86797
|
+
"text": "AbortController"
|
|
86910
86798
|
},
|
|
86911
|
-
"privacy": "private"
|
|
86912
|
-
"readonly": true,
|
|
86913
|
-
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
86914
|
-
"inheritedFrom": {
|
|
86915
|
-
"name": "SbbButtonBaseElement",
|
|
86916
|
-
"module": "core/base-elements/button-base-element.js"
|
|
86917
|
-
}
|
|
86799
|
+
"privacy": "private"
|
|
86918
86800
|
},
|
|
86919
86801
|
{
|
|
86920
86802
|
"kind": "field",
|
|
86921
|
-
"name": "
|
|
86922
|
-
"
|
|
86923
|
-
|
|
86924
|
-
},
|
|
86925
|
-
"privacy": "public",
|
|
86926
|
-
"inheritedFrom": {
|
|
86927
|
-
"name": "SbbButtonBaseElement",
|
|
86928
|
-
"module": "core/base-elements/button-base-element.js"
|
|
86929
|
-
},
|
|
86930
|
-
"default": "''",
|
|
86931
|
-
"description": "Value of the form element.",
|
|
86932
|
-
"attribute": "value"
|
|
86803
|
+
"name": "_escapableOverlayController",
|
|
86804
|
+
"privacy": "private",
|
|
86805
|
+
"default": "new SbbEscapableOverlayController(this)"
|
|
86933
86806
|
},
|
|
86934
86807
|
{
|
|
86935
86808
|
"kind": "field",
|
|
86936
|
-
"name": "
|
|
86937
|
-
"privacy": "
|
|
86938
|
-
"
|
|
86939
|
-
"default": "'button'",
|
|
86940
|
-
"type": {
|
|
86941
|
-
"text": "SbbButtonType"
|
|
86942
|
-
},
|
|
86943
|
-
"attribute": "type",
|
|
86944
|
-
"inheritedFrom": {
|
|
86945
|
-
"name": "SbbButtonBaseElement",
|
|
86946
|
-
"module": "core/base-elements/button-base-element.js"
|
|
86947
|
-
}
|
|
86809
|
+
"name": "_focusTrapController",
|
|
86810
|
+
"privacy": "private",
|
|
86811
|
+
"default": "new SbbFocusTrapController(this)"
|
|
86948
86812
|
},
|
|
86949
86813
|
{
|
|
86950
86814
|
"kind": "field",
|
|
86951
|
-
"name": "
|
|
86952
|
-
"
|
|
86953
|
-
|
|
86954
|
-
},
|
|
86955
|
-
"privacy": "public",
|
|
86956
|
-
"description": "The `<form>` element to associate the button with.",
|
|
86957
|
-
"inheritedFrom": {
|
|
86958
|
-
"name": "SbbButtonBaseElement",
|
|
86959
|
-
"module": "core/base-elements/button-base-element.js"
|
|
86960
|
-
},
|
|
86961
|
-
"attribute": "form"
|
|
86815
|
+
"name": "_scrollHandler",
|
|
86816
|
+
"privacy": "private",
|
|
86817
|
+
"default": "new SbbScrollHandler()"
|
|
86962
86818
|
},
|
|
86963
86819
|
{
|
|
86964
86820
|
"kind": "field",
|
|
86965
|
-
"name": "
|
|
86966
|
-
"type": {
|
|
86967
|
-
"text": "string"
|
|
86968
|
-
},
|
|
86821
|
+
"name": "_inertController",
|
|
86969
86822
|
"privacy": "private",
|
|
86970
|
-
"default": "
|
|
86971
|
-
"inheritedFrom": {
|
|
86972
|
-
"name": "SbbButtonBaseElement",
|
|
86973
|
-
"module": "core/base-elements/button-base-element.js"
|
|
86974
|
-
}
|
|
86823
|
+
"default": "new SbbInertController(this)"
|
|
86975
86824
|
},
|
|
86976
86825
|
{
|
|
86977
86826
|
"kind": "field",
|
|
86978
|
-
"name": "
|
|
86827
|
+
"name": "_mobileBreakpoint",
|
|
86979
86828
|
"privacy": "private",
|
|
86980
|
-
"
|
|
86981
|
-
"name": "SbbButtonBaseElement",
|
|
86982
|
-
"module": "core/base-elements/button-base-element.js"
|
|
86983
|
-
}
|
|
86829
|
+
"default": "SbbMediaQueryBreakpointSmallAndBelow"
|
|
86984
86830
|
},
|
|
86985
86831
|
{
|
|
86986
|
-
"kind": "
|
|
86987
|
-
"name": "
|
|
86832
|
+
"kind": "field",
|
|
86833
|
+
"name": "_mediaMatcher",
|
|
86988
86834
|
"privacy": "private",
|
|
86989
|
-
"
|
|
86990
|
-
"type": {
|
|
86991
|
-
"text": "void"
|
|
86992
|
-
}
|
|
86993
|
-
},
|
|
86994
|
-
"parameters": [
|
|
86995
|
-
{
|
|
86996
|
-
"name": "form",
|
|
86997
|
-
"type": {
|
|
86998
|
-
"text": "HTMLFormElement"
|
|
86999
|
-
}
|
|
87000
|
-
}
|
|
87001
|
-
],
|
|
87002
|
-
"inheritedFrom": {
|
|
87003
|
-
"name": "SbbButtonBaseElement",
|
|
87004
|
-
"module": "core/base-elements/button-base-element.js"
|
|
87005
|
-
}
|
|
86835
|
+
"default": "new SbbMediaMatcherController(this, { [this._mobileBreakpoint]: (matches) => { if (matches && (this.state === 'opening' || this.state === 'opened')) { this._scrollHandler.disableScroll(); } else { this._scrollHandler.enableScroll(); } }, })"
|
|
87006
86836
|
},
|
|
87007
86837
|
{
|
|
87008
86838
|
"kind": "field",
|
|
87009
|
-
"name": "
|
|
86839
|
+
"name": "_darkModeController",
|
|
87010
86840
|
"privacy": "private",
|
|
87011
|
-
"
|
|
87012
|
-
"name": "SbbButtonBaseElement",
|
|
87013
|
-
"module": "core/base-elements/button-base-element.js"
|
|
87014
|
-
}
|
|
86841
|
+
"default": "new SbbDarkModeController(this, () => this._syncNegative())"
|
|
87015
86842
|
},
|
|
87016
86843
|
{
|
|
87017
86844
|
"kind": "field",
|
|
87018
|
-
"name": "
|
|
87019
|
-
"
|
|
87020
|
-
|
|
87021
|
-
},
|
|
87022
|
-
"privacy": "public",
|
|
87023
|
-
"static": true,
|
|
87024
|
-
"default": "true",
|
|
87025
|
-
"inheritedFrom": {
|
|
87026
|
-
"name": "SbbFormAssociatedMixin",
|
|
87027
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
87028
|
-
}
|
|
86845
|
+
"name": "_language",
|
|
86846
|
+
"privacy": "private",
|
|
86847
|
+
"default": "new SbbLanguageController(this)"
|
|
87029
86848
|
},
|
|
87030
86849
|
{
|
|
87031
86850
|
"kind": "field",
|
|
87032
|
-
"name": "
|
|
87033
|
-
"privacy": "public",
|
|
87034
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
86851
|
+
"name": "_nestedMenu",
|
|
87035
86852
|
"type": {
|
|
87036
|
-
"text": "
|
|
86853
|
+
"text": "SbbMenuElement | null"
|
|
87037
86854
|
},
|
|
87038
|
-
"
|
|
87039
|
-
"
|
|
87040
|
-
"name": "SbbFormAssociatedMixin",
|
|
87041
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
87042
|
-
}
|
|
86855
|
+
"privacy": "private",
|
|
86856
|
+
"default": "null"
|
|
87043
86857
|
},
|
|
87044
86858
|
{
|
|
87045
|
-
"kind": "
|
|
87046
|
-
"name": "
|
|
87047
|
-
"type": {
|
|
87048
|
-
"text": "ValidityState"
|
|
87049
|
-
},
|
|
86859
|
+
"kind": "method",
|
|
86860
|
+
"name": "escapeStrategy",
|
|
87050
86861
|
"privacy": "public",
|
|
87051
|
-
"
|
|
87052
|
-
|
|
87053
|
-
|
|
87054
|
-
|
|
87055
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
87056
|
-
}
|
|
87057
|
-
},
|
|
87058
|
-
{
|
|
87059
|
-
"kind": "field",
|
|
87060
|
-
"name": "validationMessage",
|
|
87061
|
-
"type": {
|
|
87062
|
-
"text": "string"
|
|
86862
|
+
"return": {
|
|
86863
|
+
"type": {
|
|
86864
|
+
"text": "void"
|
|
86865
|
+
}
|
|
87063
86866
|
},
|
|
87064
|
-
"
|
|
87065
|
-
"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.",
|
|
87066
|
-
"readonly": true,
|
|
86867
|
+
"description": "The method which is called on escape key press. Defaults to calling close()",
|
|
87067
86868
|
"inheritedFrom": {
|
|
87068
|
-
"name": "
|
|
87069
|
-
"module": "core/
|
|
86869
|
+
"name": "SbbOpenCloseBaseElement",
|
|
86870
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
87070
86871
|
}
|
|
87071
86872
|
},
|
|
87072
86873
|
{
|
|
87073
|
-
"kind": "
|
|
87074
|
-
"name": "
|
|
87075
|
-
"type": {
|
|
87076
|
-
"text": "boolean"
|
|
87077
|
-
},
|
|
86874
|
+
"kind": "method",
|
|
86875
|
+
"name": "open",
|
|
87078
86876
|
"privacy": "public",
|
|
87079
|
-
"
|
|
87080
|
-
|
|
87081
|
-
|
|
87082
|
-
|
|
87083
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
87084
|
-
}
|
|
87085
|
-
},
|
|
87086
|
-
{
|
|
87087
|
-
"kind": "field",
|
|
87088
|
-
"name": "_validityStates",
|
|
87089
|
-
"privacy": "private",
|
|
87090
|
-
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
87091
|
-
"inheritedFrom": {
|
|
87092
|
-
"name": "SbbFormAssociatedMixin",
|
|
87093
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
87094
|
-
}
|
|
87095
|
-
},
|
|
87096
|
-
{
|
|
87097
|
-
"kind": "field",
|
|
87098
|
-
"name": "formDisabled",
|
|
87099
|
-
"type": {
|
|
87100
|
-
"text": "boolean"
|
|
86877
|
+
"return": {
|
|
86878
|
+
"type": {
|
|
86879
|
+
"text": "void"
|
|
86880
|
+
}
|
|
87101
86881
|
},
|
|
87102
|
-
"
|
|
87103
|
-
"default": "false",
|
|
87104
|
-
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
86882
|
+
"description": "Opens the menu on trigger click.",
|
|
87105
86883
|
"inheritedFrom": {
|
|
87106
|
-
"name": "
|
|
87107
|
-
"module": "core/
|
|
86884
|
+
"name": "SbbOpenCloseBaseElement",
|
|
86885
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
87108
86886
|
}
|
|
87109
86887
|
},
|
|
87110
86888
|
{
|
|
87111
86889
|
"kind": "method",
|
|
87112
|
-
"name": "
|
|
86890
|
+
"name": "close",
|
|
87113
86891
|
"privacy": "public",
|
|
87114
86892
|
"return": {
|
|
87115
86893
|
"type": {
|
|
87116
|
-
"text": "
|
|
86894
|
+
"text": "void"
|
|
87117
86895
|
}
|
|
87118
86896
|
},
|
|
87119
|
-
"description": "
|
|
86897
|
+
"description": "Closes the menu and all its nested menus.",
|
|
87120
86898
|
"inheritedFrom": {
|
|
87121
|
-
"name": "
|
|
87122
|
-
"module": "core/
|
|
86899
|
+
"name": "SbbOpenCloseBaseElement",
|
|
86900
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
87123
86901
|
}
|
|
87124
86902
|
},
|
|
87125
86903
|
{
|
|
87126
86904
|
"kind": "method",
|
|
87127
|
-
"name": "
|
|
86905
|
+
"name": "closeAll",
|
|
87128
86906
|
"privacy": "public",
|
|
87129
86907
|
"return": {
|
|
87130
86908
|
"type": {
|
|
87131
|
-
"text": "
|
|
86909
|
+
"text": "void"
|
|
87132
86910
|
}
|
|
87133
86911
|
},
|
|
87134
|
-
"description": "
|
|
87135
|
-
"inheritedFrom": {
|
|
87136
|
-
"name": "SbbFormAssociatedMixin",
|
|
87137
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
87138
|
-
}
|
|
86912
|
+
"description": "Closes the menu and all related menus (nested and parent menus)."
|
|
87139
86913
|
},
|
|
87140
86914
|
{
|
|
87141
86915
|
"kind": "method",
|
|
87142
|
-
"name": "
|
|
87143
|
-
"privacy": "
|
|
86916
|
+
"name": "_close",
|
|
86917
|
+
"privacy": "private",
|
|
87144
86918
|
"return": {
|
|
87145
86919
|
"type": {
|
|
87146
86920
|
"text": "void"
|
|
@@ -87148,65 +86922,47 @@
|
|
|
87148
86922
|
},
|
|
87149
86923
|
"parameters": [
|
|
87150
86924
|
{
|
|
87151
|
-
"name": "
|
|
87152
|
-
"
|
|
87153
|
-
|
|
87154
|
-
|
|
86925
|
+
"name": "closeAll",
|
|
86926
|
+
"default": "false",
|
|
86927
|
+
"description": "If true, it ensures animations are correct by toggling some states when closing all related menus at once.",
|
|
86928
|
+
"optional": true
|
|
87155
86929
|
}
|
|
87156
|
-
]
|
|
87157
|
-
"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.",
|
|
87158
|
-
"inheritedFrom": {
|
|
87159
|
-
"name": "SbbFormAssociatedMixin",
|
|
87160
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
87161
|
-
}
|
|
86930
|
+
]
|
|
87162
86931
|
},
|
|
87163
86932
|
{
|
|
87164
86933
|
"kind": "method",
|
|
87165
|
-
"name": "
|
|
86934
|
+
"name": "_isZeroAnimationDuration",
|
|
87166
86935
|
"privacy": "private",
|
|
87167
86936
|
"return": {
|
|
87168
86937
|
"type": {
|
|
87169
86938
|
"text": "boolean"
|
|
87170
86939
|
}
|
|
87171
|
-
},
|
|
87172
|
-
"inheritedFrom": {
|
|
87173
|
-
"name": "SbbFormAssociatedMixin",
|
|
87174
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
87175
86940
|
}
|
|
87176
86941
|
},
|
|
87177
86942
|
{
|
|
87178
86943
|
"kind": "method",
|
|
87179
|
-
"name": "
|
|
87180
|
-
"privacy": "
|
|
86944
|
+
"name": "_handleOpening",
|
|
86945
|
+
"privacy": "private",
|
|
87181
86946
|
"return": {
|
|
87182
86947
|
"type": {
|
|
87183
86948
|
"text": "void"
|
|
87184
86949
|
}
|
|
87185
|
-
},
|
|
87186
|
-
"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",
|
|
87187
|
-
"inheritedFrom": {
|
|
87188
|
-
"name": "SbbFormAssociatedMixin",
|
|
87189
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
87190
86950
|
}
|
|
87191
86951
|
},
|
|
87192
86952
|
{
|
|
87193
86953
|
"kind": "method",
|
|
87194
|
-
"name": "
|
|
87195
|
-
"privacy": "
|
|
86954
|
+
"name": "_handleClosing",
|
|
86955
|
+
"privacy": "private",
|
|
87196
86956
|
"return": {
|
|
87197
86957
|
"type": {
|
|
87198
|
-
"text": "
|
|
86958
|
+
"text": "void"
|
|
87199
86959
|
}
|
|
87200
|
-
},
|
|
87201
|
-
"inheritedFrom": {
|
|
87202
|
-
"name": "SbbFormAssociatedMixin",
|
|
87203
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
87204
86960
|
}
|
|
87205
86961
|
},
|
|
87206
86962
|
{
|
|
87207
86963
|
"kind": "method",
|
|
87208
|
-
"name": "
|
|
87209
|
-
"privacy": "
|
|
86964
|
+
"name": "_handleKeyDown",
|
|
86965
|
+
"privacy": "private",
|
|
87210
86966
|
"return": {
|
|
87211
86967
|
"type": {
|
|
87212
86968
|
"text": "void"
|
|
@@ -87214,154 +86970,177 @@
|
|
|
87214
86970
|
},
|
|
87215
86971
|
"parameters": [
|
|
87216
86972
|
{
|
|
87217
|
-
"name": "
|
|
87218
|
-
"type": {
|
|
87219
|
-
"text": "T"
|
|
87220
|
-
}
|
|
87221
|
-
},
|
|
87222
|
-
{
|
|
87223
|
-
"name": "message",
|
|
87224
|
-
"type": {
|
|
87225
|
-
"text": "string"
|
|
87226
|
-
}
|
|
87227
|
-
},
|
|
87228
|
-
{
|
|
87229
|
-
"name": "flagValue",
|
|
87230
|
-
"optional": true,
|
|
86973
|
+
"name": "evt",
|
|
87231
86974
|
"type": {
|
|
87232
|
-
"text": "
|
|
86975
|
+
"text": "KeyboardEvent"
|
|
87233
86976
|
}
|
|
87234
86977
|
}
|
|
87235
|
-
]
|
|
87236
|
-
"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).",
|
|
87237
|
-
"inheritedFrom": {
|
|
87238
|
-
"name": "SbbFormAssociatedMixin",
|
|
87239
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
87240
|
-
}
|
|
86978
|
+
]
|
|
87241
86979
|
},
|
|
87242
86980
|
{
|
|
87243
86981
|
"kind": "method",
|
|
87244
|
-
"name": "
|
|
87245
|
-
"privacy": "
|
|
86982
|
+
"name": "_configureTrigger",
|
|
86983
|
+
"privacy": "private",
|
|
87246
86984
|
"return": {
|
|
87247
86985
|
"type": {
|
|
87248
86986
|
"text": "void"
|
|
87249
86987
|
}
|
|
87250
|
-
},
|
|
87251
|
-
"parameters": [
|
|
87252
|
-
{
|
|
87253
|
-
"name": "flag",
|
|
87254
|
-
"type": {
|
|
87255
|
-
"text": "T"
|
|
87256
|
-
}
|
|
87257
|
-
}
|
|
87258
|
-
],
|
|
87259
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
87260
|
-
"inheritedFrom": {
|
|
87261
|
-
"name": "SbbFormAssociatedMixin",
|
|
87262
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
87263
86988
|
}
|
|
87264
86989
|
},
|
|
87265
86990
|
{
|
|
87266
86991
|
"kind": "method",
|
|
87267
|
-
"name": "
|
|
87268
|
-
"privacy": "
|
|
86992
|
+
"name": "_attachWindowEvents",
|
|
86993
|
+
"privacy": "private",
|
|
87269
86994
|
"return": {
|
|
87270
86995
|
"type": {
|
|
87271
86996
|
"text": "void"
|
|
87272
86997
|
}
|
|
87273
|
-
},
|
|
87274
|
-
"description": "To be called whenever the current element needs to be validated.",
|
|
87275
|
-
"inheritedFrom": {
|
|
87276
|
-
"name": "SbbFormAssociatedMixin",
|
|
87277
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
87278
86998
|
}
|
|
87279
86999
|
},
|
|
87280
87000
|
{
|
|
87281
87001
|
"kind": "method",
|
|
87282
|
-
"name": "
|
|
87283
|
-
"privacy": "
|
|
87002
|
+
"name": "_interactiveElementClick",
|
|
87003
|
+
"privacy": "private",
|
|
87284
87004
|
"return": {
|
|
87285
87005
|
"type": {
|
|
87286
|
-
"text": "
|
|
87006
|
+
"text": "void"
|
|
87287
87007
|
}
|
|
87288
87008
|
},
|
|
87289
87009
|
"parameters": [
|
|
87290
87010
|
{
|
|
87291
|
-
"name": "
|
|
87011
|
+
"name": "event",
|
|
87292
87012
|
"type": {
|
|
87293
|
-
"text": "
|
|
87013
|
+
"text": "Event"
|
|
87294
87014
|
}
|
|
87295
87015
|
}
|
|
87296
|
-
]
|
|
87297
|
-
|
|
87298
|
-
|
|
87299
|
-
|
|
87300
|
-
|
|
87301
|
-
|
|
87016
|
+
]
|
|
87017
|
+
},
|
|
87018
|
+
{
|
|
87019
|
+
"kind": "field",
|
|
87020
|
+
"name": "_pointerDownListener",
|
|
87021
|
+
"privacy": "private"
|
|
87022
|
+
},
|
|
87023
|
+
{
|
|
87024
|
+
"kind": "field",
|
|
87025
|
+
"name": "_closeOnBackdropClick",
|
|
87026
|
+
"privacy": "private"
|
|
87302
87027
|
},
|
|
87303
87028
|
{
|
|
87304
87029
|
"kind": "method",
|
|
87305
|
-
"name": "
|
|
87030
|
+
"name": "_nestedMenus",
|
|
87306
87031
|
"privacy": "private",
|
|
87307
87032
|
"return": {
|
|
87308
87033
|
"type": {
|
|
87309
|
-
"text": "
|
|
87034
|
+
"text": "SbbMenuElement[]"
|
|
87310
87035
|
}
|
|
87311
87036
|
},
|
|
87312
|
-
"
|
|
87313
|
-
|
|
87314
|
-
|
|
87037
|
+
"description": "Converts the linked list into an array of SbbMenuElement."
|
|
87038
|
+
},
|
|
87039
|
+
{
|
|
87040
|
+
"kind": "method",
|
|
87041
|
+
"name": "_parentMenu",
|
|
87042
|
+
"privacy": "private",
|
|
87043
|
+
"return": {
|
|
87044
|
+
"type": {
|
|
87045
|
+
"text": "SbbMenuElement | null"
|
|
87046
|
+
}
|
|
87315
87047
|
}
|
|
87316
87048
|
},
|
|
87317
87049
|
{
|
|
87318
|
-
"kind": "
|
|
87319
|
-
"name": "
|
|
87050
|
+
"kind": "method",
|
|
87051
|
+
"name": "_mainMenu",
|
|
87320
87052
|
"privacy": "private",
|
|
87321
|
-
"
|
|
87322
|
-
|
|
87323
|
-
|
|
87324
|
-
|
|
87325
|
-
|
|
87053
|
+
"return": {
|
|
87054
|
+
"type": {
|
|
87055
|
+
"text": "SbbMenuElement"
|
|
87056
|
+
}
|
|
87057
|
+
},
|
|
87058
|
+
"description": "The outermost menu."
|
|
87059
|
+
},
|
|
87060
|
+
{
|
|
87061
|
+
"kind": "method",
|
|
87062
|
+
"name": "_isNested",
|
|
87063
|
+
"privacy": "private",
|
|
87064
|
+
"return": {
|
|
87065
|
+
"type": {
|
|
87066
|
+
"text": "boolean"
|
|
87326
87067
|
}
|
|
87327
|
-
],
|
|
87328
|
-
"inheritedFrom": {
|
|
87329
|
-
"name": "SbbButtonLikeBaseElement",
|
|
87330
|
-
"module": "core/base-elements/button-base-element.js"
|
|
87331
87068
|
}
|
|
87332
87069
|
},
|
|
87333
87070
|
{
|
|
87334
|
-
"kind": "
|
|
87335
|
-
"name": "
|
|
87071
|
+
"kind": "method",
|
|
87072
|
+
"name": "_updateNestedInert",
|
|
87336
87073
|
"privacy": "private",
|
|
87337
|
-
"
|
|
87338
|
-
"
|
|
87339
|
-
|
|
87074
|
+
"return": {
|
|
87075
|
+
"type": {
|
|
87076
|
+
"text": "void"
|
|
87077
|
+
}
|
|
87340
87078
|
}
|
|
87341
87079
|
},
|
|
87342
87080
|
{
|
|
87343
|
-
"kind": "
|
|
87344
|
-
"name": "
|
|
87081
|
+
"kind": "method",
|
|
87082
|
+
"name": "_handleMouseOver",
|
|
87345
87083
|
"privacy": "private",
|
|
87346
|
-
"
|
|
87084
|
+
"return": {
|
|
87085
|
+
"type": {
|
|
87086
|
+
"text": "void"
|
|
87087
|
+
}
|
|
87088
|
+
},
|
|
87347
87089
|
"parameters": [
|
|
87348
87090
|
{
|
|
87349
|
-
"
|
|
87350
|
-
"
|
|
87091
|
+
"name": "event",
|
|
87092
|
+
"type": {
|
|
87093
|
+
"text": "MouseEvent"
|
|
87094
|
+
}
|
|
87095
|
+
}
|
|
87096
|
+
]
|
|
87097
|
+
},
|
|
87098
|
+
{
|
|
87099
|
+
"kind": "method",
|
|
87100
|
+
"name": "_onMenuAnimationEnd",
|
|
87101
|
+
"privacy": "private",
|
|
87102
|
+
"return": {
|
|
87103
|
+
"type": {
|
|
87104
|
+
"text": "void"
|
|
87105
|
+
}
|
|
87106
|
+
},
|
|
87107
|
+
"parameters": [
|
|
87108
|
+
{
|
|
87109
|
+
"name": "event",
|
|
87110
|
+
"type": {
|
|
87111
|
+
"text": "AnimationEvent"
|
|
87112
|
+
}
|
|
87113
|
+
}
|
|
87114
|
+
]
|
|
87115
|
+
},
|
|
87116
|
+
{
|
|
87117
|
+
"kind": "method",
|
|
87118
|
+
"name": "_setMenuPosition",
|
|
87119
|
+
"privacy": "private",
|
|
87120
|
+
"return": {
|
|
87121
|
+
"type": {
|
|
87122
|
+
"text": "void"
|
|
87351
87123
|
}
|
|
87352
|
-
],
|
|
87353
|
-
"inheritedFrom": {
|
|
87354
|
-
"name": "SbbButtonLikeBaseElement",
|
|
87355
|
-
"module": "core/base-elements/button-base-element.js"
|
|
87356
87124
|
}
|
|
87357
87125
|
},
|
|
87358
87126
|
{
|
|
87359
|
-
"kind": "
|
|
87360
|
-
"name": "
|
|
87127
|
+
"kind": "method",
|
|
87128
|
+
"name": "_syncNegative",
|
|
87361
87129
|
"privacy": "private",
|
|
87362
|
-
"
|
|
87363
|
-
"
|
|
87364
|
-
|
|
87130
|
+
"return": {
|
|
87131
|
+
"type": {
|
|
87132
|
+
"text": "void"
|
|
87133
|
+
}
|
|
87134
|
+
}
|
|
87135
|
+
},
|
|
87136
|
+
{
|
|
87137
|
+
"kind": "method",
|
|
87138
|
+
"name": "_isMobile",
|
|
87139
|
+
"privacy": "private",
|
|
87140
|
+
"return": {
|
|
87141
|
+
"type": {
|
|
87142
|
+
"text": "boolean"
|
|
87143
|
+
}
|
|
87365
87144
|
}
|
|
87366
87145
|
},
|
|
87367
87146
|
{
|
|
@@ -87389,155 +87168,182 @@
|
|
|
87389
87168
|
}
|
|
87390
87169
|
],
|
|
87391
87170
|
"inheritedFrom": {
|
|
87392
|
-
"name": "
|
|
87393
|
-
"module": "core/base-elements/
|
|
87171
|
+
"name": "SbbOpenCloseBaseElement",
|
|
87172
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
87394
87173
|
}
|
|
87395
87174
|
},
|
|
87396
87175
|
{
|
|
87397
87176
|
"kind": "field",
|
|
87398
|
-
"name": "
|
|
87177
|
+
"name": "events",
|
|
87178
|
+
"privacy": "public",
|
|
87179
|
+
"static": true,
|
|
87180
|
+
"readonly": true,
|
|
87181
|
+
"default": "{ beforeopen: 'beforeopen', open: 'open', beforeclose: 'beforeclose', close: 'close', }",
|
|
87399
87182
|
"type": {
|
|
87400
|
-
"text": "
|
|
87183
|
+
"text": "{\n beforeopen: 'beforeopen',\n open: 'open',\n beforeclose: 'beforeclose',\n close: 'close',\n }"
|
|
87401
87184
|
},
|
|
87185
|
+
"inheritedFrom": {
|
|
87186
|
+
"name": "SbbOpenCloseBaseElement",
|
|
87187
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
87188
|
+
}
|
|
87189
|
+
},
|
|
87190
|
+
{
|
|
87191
|
+
"kind": "field",
|
|
87192
|
+
"name": "state",
|
|
87402
87193
|
"privacy": "protected",
|
|
87403
|
-
"
|
|
87194
|
+
"description": "The state of the component.",
|
|
87195
|
+
"type": {
|
|
87196
|
+
"text": "SbbOpenedClosedState"
|
|
87197
|
+
},
|
|
87198
|
+
"default": "'closed'",
|
|
87404
87199
|
"inheritedFrom": {
|
|
87405
|
-
"name": "
|
|
87406
|
-
"module": "core/base-elements/
|
|
87200
|
+
"name": "SbbOpenCloseBaseElement",
|
|
87201
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
87407
87202
|
}
|
|
87408
87203
|
},
|
|
87409
87204
|
{
|
|
87410
87205
|
"kind": "field",
|
|
87411
|
-
"name": "
|
|
87206
|
+
"name": "_state",
|
|
87412
87207
|
"type": {
|
|
87413
|
-
"text": "
|
|
87208
|
+
"text": "SbbOpenedClosedState"
|
|
87414
87209
|
},
|
|
87415
|
-
"privacy": "
|
|
87210
|
+
"privacy": "private",
|
|
87211
|
+
"inheritedFrom": {
|
|
87212
|
+
"name": "SbbOpenCloseBaseElement",
|
|
87213
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
87214
|
+
}
|
|
87215
|
+
},
|
|
87216
|
+
{
|
|
87217
|
+
"kind": "field",
|
|
87218
|
+
"name": "isOpen",
|
|
87219
|
+
"type": {
|
|
87220
|
+
"text": "boolean"
|
|
87221
|
+
},
|
|
87222
|
+
"privacy": "public",
|
|
87223
|
+
"description": "Whether the element is open.",
|
|
87416
87224
|
"readonly": true,
|
|
87417
87225
|
"inheritedFrom": {
|
|
87418
|
-
"name": "
|
|
87419
|
-
"module": "core/base-elements/
|
|
87226
|
+
"name": "SbbOpenCloseBaseElement",
|
|
87227
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
87420
87228
|
}
|
|
87421
87229
|
},
|
|
87422
87230
|
{
|
|
87423
87231
|
"kind": "method",
|
|
87424
|
-
"name": "
|
|
87232
|
+
"name": "dispatchBeforeOpenEvent",
|
|
87425
87233
|
"privacy": "protected",
|
|
87426
87234
|
"return": {
|
|
87427
87235
|
"type": {
|
|
87428
|
-
"text": "
|
|
87236
|
+
"text": "boolean"
|
|
87429
87237
|
}
|
|
87430
87238
|
},
|
|
87431
87239
|
"inheritedFrom": {
|
|
87432
|
-
"name": "
|
|
87433
|
-
"module": "core/base-elements/
|
|
87240
|
+
"name": "SbbOpenCloseBaseElement",
|
|
87241
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
87434
87242
|
}
|
|
87435
|
-
}
|
|
87436
|
-
],
|
|
87437
|
-
"mixins": [
|
|
87438
|
-
{
|
|
87439
|
-
"name": "SbbDisabledTabIndexActionMixin",
|
|
87440
|
-
"module": "core/mixins.js"
|
|
87441
87243
|
},
|
|
87442
87244
|
{
|
|
87443
|
-
"
|
|
87444
|
-
"
|
|
87445
|
-
|
|
87446
|
-
|
|
87447
|
-
|
|
87448
|
-
|
|
87449
|
-
|
|
87450
|
-
},
|
|
87451
|
-
"tagName": "sbb-menu-button",
|
|
87452
|
-
"customElement": true,
|
|
87453
|
-
"attributes": [
|
|
87454
|
-
{
|
|
87455
|
-
"name": "disabled-interactive",
|
|
87456
|
-
"type": {
|
|
87457
|
-
"text": "boolean"
|
|
87245
|
+
"kind": "method",
|
|
87246
|
+
"name": "dispatchOpenEvent",
|
|
87247
|
+
"privacy": "protected",
|
|
87248
|
+
"return": {
|
|
87249
|
+
"type": {
|
|
87250
|
+
"text": "boolean"
|
|
87251
|
+
}
|
|
87458
87252
|
},
|
|
87459
|
-
"default": "false",
|
|
87460
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
87461
|
-
"fieldName": "disabledInteractive",
|
|
87462
87253
|
"inheritedFrom": {
|
|
87463
|
-
"name": "
|
|
87464
|
-
"module": "core/
|
|
87254
|
+
"name": "SbbOpenCloseBaseElement",
|
|
87255
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
87465
87256
|
}
|
|
87466
87257
|
},
|
|
87467
87258
|
{
|
|
87468
|
-
"
|
|
87469
|
-
"
|
|
87470
|
-
"
|
|
87471
|
-
"
|
|
87472
|
-
"
|
|
87259
|
+
"kind": "method",
|
|
87260
|
+
"name": "dispatchBeforeCloseEvent",
|
|
87261
|
+
"privacy": "protected",
|
|
87262
|
+
"return": {
|
|
87263
|
+
"type": {
|
|
87264
|
+
"text": "boolean"
|
|
87265
|
+
}
|
|
87473
87266
|
},
|
|
87474
|
-
"fieldName": "disabled",
|
|
87475
87267
|
"inheritedFrom": {
|
|
87476
|
-
"name": "
|
|
87477
|
-
"module": "core/
|
|
87268
|
+
"name": "SbbOpenCloseBaseElement",
|
|
87269
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
87478
87270
|
}
|
|
87479
87271
|
},
|
|
87480
87272
|
{
|
|
87481
|
-
"
|
|
87482
|
-
"
|
|
87483
|
-
|
|
87273
|
+
"kind": "method",
|
|
87274
|
+
"name": "dispatchCloseEvent",
|
|
87275
|
+
"privacy": "protected",
|
|
87276
|
+
"return": {
|
|
87277
|
+
"type": {
|
|
87278
|
+
"text": "boolean"
|
|
87279
|
+
}
|
|
87484
87280
|
},
|
|
87485
|
-
"default": "''",
|
|
87486
|
-
"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.",
|
|
87487
|
-
"fieldName": "iconName",
|
|
87488
87281
|
"inheritedFrom": {
|
|
87489
|
-
"name": "
|
|
87490
|
-
"module": "
|
|
87282
|
+
"name": "SbbOpenCloseBaseElement",
|
|
87283
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
87491
87284
|
}
|
|
87492
|
-
}
|
|
87285
|
+
}
|
|
87286
|
+
],
|
|
87287
|
+
"attributes": [
|
|
87493
87288
|
{
|
|
87494
|
-
"name": "
|
|
87289
|
+
"name": "trigger",
|
|
87495
87290
|
"type": {
|
|
87496
|
-
"text": "
|
|
87291
|
+
"text": "HTMLElement | null"
|
|
87497
87292
|
},
|
|
87498
|
-
"default": "
|
|
87499
|
-
"description": "
|
|
87500
|
-
"fieldName": "
|
|
87293
|
+
"default": "null",
|
|
87294
|
+
"description": "The element that will trigger the menu overlay.\n\nFor attribute usage, provide an id reference.",
|
|
87295
|
+
"fieldName": "trigger"
|
|
87296
|
+
}
|
|
87297
|
+
],
|
|
87298
|
+
"superclass": {
|
|
87299
|
+
"name": "SbbOpenCloseBaseElement",
|
|
87300
|
+
"module": "core/base-elements.js"
|
|
87301
|
+
},
|
|
87302
|
+
"tagName": "sbb-menu",
|
|
87303
|
+
"customElement": true,
|
|
87304
|
+
"events": [
|
|
87305
|
+
{
|
|
87306
|
+
"name": "beforeopen",
|
|
87307
|
+
"type": {
|
|
87308
|
+
"text": "Event"
|
|
87309
|
+
},
|
|
87310
|
+
"description": "Emits whenever the component starts the opening transition. Can be canceled.",
|
|
87501
87311
|
"inheritedFrom": {
|
|
87502
|
-
"name": "
|
|
87503
|
-
"module": "core/base-elements/
|
|
87312
|
+
"name": "SbbOpenCloseBaseElement",
|
|
87313
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
87504
87314
|
}
|
|
87505
87315
|
},
|
|
87506
87316
|
{
|
|
87507
|
-
"name": "
|
|
87508
|
-
"description": "The type attribute to use for the button.",
|
|
87509
|
-
"default": "'button'",
|
|
87317
|
+
"name": "open",
|
|
87510
87318
|
"type": {
|
|
87511
|
-
"text": "
|
|
87319
|
+
"text": "Event"
|
|
87512
87320
|
},
|
|
87513
|
-
"
|
|
87321
|
+
"description": "Emits whenever the component is opened.",
|
|
87514
87322
|
"inheritedFrom": {
|
|
87515
|
-
"name": "
|
|
87516
|
-
"module": "core/base-elements/
|
|
87323
|
+
"name": "SbbOpenCloseBaseElement",
|
|
87324
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
87517
87325
|
}
|
|
87518
87326
|
},
|
|
87519
87327
|
{
|
|
87520
|
-
"name": "
|
|
87521
|
-
"description": "The `<form>` element to associate the button with.",
|
|
87328
|
+
"name": "beforeclose",
|
|
87522
87329
|
"type": {
|
|
87523
|
-
"text": "
|
|
87330
|
+
"text": "Event"
|
|
87524
87331
|
},
|
|
87525
|
-
"
|
|
87332
|
+
"description": "Emits whenever the component begins the closing transition. Can be canceled.",
|
|
87526
87333
|
"inheritedFrom": {
|
|
87527
|
-
"name": "
|
|
87528
|
-
"module": "core/base-elements/
|
|
87334
|
+
"name": "SbbOpenCloseBaseElement",
|
|
87335
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
87529
87336
|
}
|
|
87530
87337
|
},
|
|
87531
87338
|
{
|
|
87532
|
-
"name": "
|
|
87533
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
87339
|
+
"name": "close",
|
|
87534
87340
|
"type": {
|
|
87535
|
-
"text": "
|
|
87341
|
+
"text": "Event"
|
|
87536
87342
|
},
|
|
87537
|
-
"
|
|
87343
|
+
"description": "Emits whenever the component is closed.",
|
|
87538
87344
|
"inheritedFrom": {
|
|
87539
|
-
"name": "
|
|
87540
|
-
"module": "core/
|
|
87345
|
+
"name": "SbbOpenCloseBaseElement",
|
|
87346
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
87541
87347
|
}
|
|
87542
87348
|
}
|
|
87543
87349
|
]
|
|
@@ -87546,41 +87352,45 @@
|
|
|
87546
87352
|
"exports": [
|
|
87547
87353
|
{
|
|
87548
87354
|
"kind": "js",
|
|
87549
|
-
"name": "
|
|
87355
|
+
"name": "SbbMenuElement",
|
|
87550
87356
|
"declaration": {
|
|
87551
|
-
"name": "
|
|
87552
|
-
"module": "menu/menu
|
|
87357
|
+
"name": "SbbMenuElement",
|
|
87358
|
+
"module": "menu/menu/menu.component.js"
|
|
87553
87359
|
}
|
|
87554
87360
|
},
|
|
87555
87361
|
{
|
|
87556
87362
|
"kind": "custom-element-definition",
|
|
87557
|
-
"name": "sbb-menu
|
|
87363
|
+
"name": "sbb-menu",
|
|
87558
87364
|
"declaration": {
|
|
87559
|
-
"name": "
|
|
87560
|
-
"module": "menu/menu
|
|
87365
|
+
"name": "SbbMenuElement",
|
|
87366
|
+
"module": "menu/menu/menu.component.js"
|
|
87561
87367
|
}
|
|
87562
87368
|
}
|
|
87563
87369
|
]
|
|
87564
87370
|
},
|
|
87565
87371
|
{
|
|
87566
87372
|
"kind": "javascript-module",
|
|
87567
|
-
"path": "menu/menu/menu.component.js",
|
|
87373
|
+
"path": "menu/menu-button/menu-button.component.js",
|
|
87568
87374
|
"declarations": [
|
|
87569
87375
|
{
|
|
87570
87376
|
"kind": "class",
|
|
87571
|
-
"description": "It displays a
|
|
87572
|
-
"name": "
|
|
87377
|
+
"description": "It displays a button element that can be used in the `sbb-menu` component.",
|
|
87378
|
+
"name": "SbbMenuButtonElement",
|
|
87573
87379
|
"cssProperties": [
|
|
87574
87380
|
{
|
|
87575
|
-
"description": "
|
|
87576
|
-
"name": "--sbb-menu-
|
|
87577
|
-
"default": "var(--sbb-
|
|
87381
|
+
"description": "Can be used to modify horizontal padding.",
|
|
87382
|
+
"name": "--sbb-menu-action-outer-horizontal-padding",
|
|
87383
|
+
"default": "var(--sbb-spacing-fixed-3x)"
|
|
87578
87384
|
}
|
|
87579
87385
|
],
|
|
87580
87386
|
"slots": [
|
|
87581
87387
|
{
|
|
87582
|
-
"description": "Use the unnamed slot to add `sbb-menu-button
|
|
87388
|
+
"description": "Use the unnamed slot to add content to the `sbb-menu-button`.",
|
|
87583
87389
|
"name": ""
|
|
87390
|
+
},
|
|
87391
|
+
{
|
|
87392
|
+
"description": "Use this slot to provide an icon. If `icon-name` is set, a `sbb-icon` will be used.",
|
|
87393
|
+
"name": "icon"
|
|
87584
87394
|
}
|
|
87585
87395
|
],
|
|
87586
87396
|
"members": [
|
|
@@ -87588,231 +87398,411 @@
|
|
|
87588
87398
|
"kind": "field",
|
|
87589
87399
|
"name": "role",
|
|
87590
87400
|
"type": {
|
|
87591
|
-
"text": "
|
|
87401
|
+
"text": "ElementInternals['role']"
|
|
87592
87402
|
},
|
|
87593
87403
|
"privacy": "public",
|
|
87594
87404
|
"static": true,
|
|
87595
87405
|
"readonly": true,
|
|
87596
|
-
"default": "'
|
|
87406
|
+
"default": "'menuitem'",
|
|
87407
|
+
"inheritedFrom": {
|
|
87408
|
+
"name": "SbbButtonLikeBaseElement",
|
|
87409
|
+
"module": "core/base-elements/button-base-element.js"
|
|
87410
|
+
}
|
|
87597
87411
|
},
|
|
87598
87412
|
{
|
|
87599
87413
|
"kind": "field",
|
|
87600
|
-
"name": "
|
|
87414
|
+
"name": "disabledInteractive",
|
|
87601
87415
|
"type": {
|
|
87602
|
-
"text": "
|
|
87416
|
+
"text": "boolean"
|
|
87603
87417
|
},
|
|
87604
87418
|
"privacy": "public",
|
|
87605
|
-
"default": "
|
|
87606
|
-
"description": "
|
|
87607
|
-
"attribute": "
|
|
87419
|
+
"default": "false",
|
|
87420
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
87421
|
+
"attribute": "disabled-interactive",
|
|
87422
|
+
"reflects": true,
|
|
87423
|
+
"inheritedFrom": {
|
|
87424
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
87425
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
87426
|
+
}
|
|
87608
87427
|
},
|
|
87609
87428
|
{
|
|
87610
87429
|
"kind": "field",
|
|
87611
|
-
"name": "
|
|
87430
|
+
"name": "disabled",
|
|
87431
|
+
"privacy": "public",
|
|
87432
|
+
"description": "Whether the component is disabled.",
|
|
87433
|
+
"default": "false",
|
|
87612
87434
|
"type": {
|
|
87613
|
-
"text": "
|
|
87435
|
+
"text": "boolean"
|
|
87614
87436
|
},
|
|
87615
|
-
"
|
|
87437
|
+
"attribute": "disabled",
|
|
87438
|
+
"reflects": true,
|
|
87439
|
+
"inheritedFrom": {
|
|
87440
|
+
"name": "SbbDisabledMixin",
|
|
87441
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
87442
|
+
}
|
|
87616
87443
|
},
|
|
87617
87444
|
{
|
|
87618
87445
|
"kind": "field",
|
|
87619
|
-
"name": "
|
|
87446
|
+
"name": "#disabled",
|
|
87447
|
+
"privacy": "private",
|
|
87620
87448
|
"type": {
|
|
87621
|
-
"text": "
|
|
87449
|
+
"text": "boolean"
|
|
87622
87450
|
},
|
|
87623
|
-
"
|
|
87624
|
-
"
|
|
87451
|
+
"default": "false",
|
|
87452
|
+
"inheritedFrom": {
|
|
87453
|
+
"name": "SbbDisabledMixin",
|
|
87454
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
87455
|
+
}
|
|
87625
87456
|
},
|
|
87626
87457
|
{
|
|
87627
|
-
"kind": "
|
|
87628
|
-
"name": "
|
|
87629
|
-
"
|
|
87630
|
-
|
|
87458
|
+
"kind": "method",
|
|
87459
|
+
"name": "isDisabledExternally",
|
|
87460
|
+
"privacy": "protected",
|
|
87461
|
+
"return": {
|
|
87462
|
+
"type": {
|
|
87463
|
+
"text": "boolean"
|
|
87464
|
+
}
|
|
87631
87465
|
},
|
|
87632
|
-
"
|
|
87466
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
87467
|
+
"inheritedFrom": {
|
|
87468
|
+
"name": "SbbDisabledMixin",
|
|
87469
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
87470
|
+
}
|
|
87633
87471
|
},
|
|
87634
87472
|
{
|
|
87635
87473
|
"kind": "field",
|
|
87636
|
-
"name": "
|
|
87474
|
+
"name": "styles",
|
|
87637
87475
|
"type": {
|
|
87638
|
-
"text": "
|
|
87476
|
+
"text": "CSSResultGroup"
|
|
87639
87477
|
},
|
|
87640
|
-
"privacy": "
|
|
87641
|
-
"
|
|
87478
|
+
"privacy": "public",
|
|
87479
|
+
"static": true,
|
|
87480
|
+
"default": "[boxSizingStyles, style]",
|
|
87481
|
+
"inheritedFrom": {
|
|
87482
|
+
"name": "SbbMenuActionCommonElementMixin",
|
|
87483
|
+
"module": "menu/common/menu-action-common.js"
|
|
87484
|
+
}
|
|
87485
|
+
},
|
|
87486
|
+
{
|
|
87487
|
+
"kind": "method",
|
|
87488
|
+
"name": "renderTemplate",
|
|
87489
|
+
"privacy": "protected",
|
|
87490
|
+
"return": {
|
|
87491
|
+
"type": {
|
|
87492
|
+
"text": "TemplateResult"
|
|
87493
|
+
}
|
|
87494
|
+
},
|
|
87495
|
+
"description": "Override this method to render the component template.",
|
|
87496
|
+
"inheritedFrom": {
|
|
87497
|
+
"name": "SbbActionBaseElement",
|
|
87498
|
+
"module": "core/base-elements/action-base-element.js"
|
|
87499
|
+
}
|
|
87642
87500
|
},
|
|
87643
87501
|
{
|
|
87644
87502
|
"kind": "field",
|
|
87645
|
-
"name": "
|
|
87503
|
+
"name": "iconName",
|
|
87646
87504
|
"type": {
|
|
87647
|
-
"text": "
|
|
87505
|
+
"text": "string"
|
|
87648
87506
|
},
|
|
87649
|
-
"privacy": "
|
|
87507
|
+
"privacy": "public",
|
|
87508
|
+
"default": "''",
|
|
87509
|
+
"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.",
|
|
87510
|
+
"attribute": "icon-name",
|
|
87511
|
+
"inheritedFrom": {
|
|
87512
|
+
"name": "SbbIconNameMixin",
|
|
87513
|
+
"module": "icon/icon-name-mixin.js"
|
|
87514
|
+
}
|
|
87650
87515
|
},
|
|
87651
87516
|
{
|
|
87652
|
-
"kind": "
|
|
87653
|
-
"name": "
|
|
87654
|
-
"privacy": "
|
|
87655
|
-
"
|
|
87517
|
+
"kind": "method",
|
|
87518
|
+
"name": "renderIconSlot",
|
|
87519
|
+
"privacy": "protected",
|
|
87520
|
+
"return": {
|
|
87521
|
+
"type": {
|
|
87522
|
+
"text": "TemplateResult"
|
|
87523
|
+
}
|
|
87524
|
+
},
|
|
87525
|
+
"parameters": [
|
|
87526
|
+
{
|
|
87527
|
+
"name": "classname",
|
|
87528
|
+
"optional": true,
|
|
87529
|
+
"type": {
|
|
87530
|
+
"text": "string"
|
|
87531
|
+
}
|
|
87532
|
+
}
|
|
87533
|
+
],
|
|
87534
|
+
"inheritedFrom": {
|
|
87535
|
+
"name": "SbbIconNameMixin",
|
|
87536
|
+
"module": "icon/icon-name-mixin.js"
|
|
87537
|
+
}
|
|
87656
87538
|
},
|
|
87657
87539
|
{
|
|
87658
|
-
"kind": "
|
|
87659
|
-
"name": "
|
|
87660
|
-
"privacy": "
|
|
87661
|
-
"
|
|
87540
|
+
"kind": "method",
|
|
87541
|
+
"name": "renderIconName",
|
|
87542
|
+
"privacy": "protected",
|
|
87543
|
+
"return": {
|
|
87544
|
+
"type": {
|
|
87545
|
+
"text": "string"
|
|
87546
|
+
}
|
|
87547
|
+
},
|
|
87548
|
+
"inheritedFrom": {
|
|
87549
|
+
"name": "SbbIconNameMixin",
|
|
87550
|
+
"module": "icon/icon-name-mixin.js"
|
|
87551
|
+
}
|
|
87662
87552
|
},
|
|
87663
87553
|
{
|
|
87664
|
-
"kind": "
|
|
87665
|
-
"name": "
|
|
87554
|
+
"kind": "method",
|
|
87555
|
+
"name": "_renderIconName",
|
|
87666
87556
|
"privacy": "private",
|
|
87667
|
-
"
|
|
87557
|
+
"return": {
|
|
87558
|
+
"type": {
|
|
87559
|
+
"text": "string"
|
|
87560
|
+
}
|
|
87561
|
+
},
|
|
87562
|
+
"inheritedFrom": {
|
|
87563
|
+
"name": "SbbIconNameMixin",
|
|
87564
|
+
"module": "icon/icon-name-mixin.js"
|
|
87565
|
+
}
|
|
87668
87566
|
},
|
|
87669
87567
|
{
|
|
87670
87568
|
"kind": "field",
|
|
87671
|
-
"name": "
|
|
87569
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
87570
|
+
"type": {
|
|
87571
|
+
"text": "array"
|
|
87572
|
+
},
|
|
87672
87573
|
"privacy": "private",
|
|
87673
|
-
"
|
|
87574
|
+
"readonly": true,
|
|
87575
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
87576
|
+
"inheritedFrom": {
|
|
87577
|
+
"name": "SbbButtonBaseElement",
|
|
87578
|
+
"module": "core/base-elements/button-base-element.js"
|
|
87579
|
+
}
|
|
87674
87580
|
},
|
|
87675
87581
|
{
|
|
87676
87582
|
"kind": "field",
|
|
87677
|
-
"name": "
|
|
87678
|
-
"
|
|
87679
|
-
|
|
87583
|
+
"name": "value",
|
|
87584
|
+
"type": {
|
|
87585
|
+
"text": "string"
|
|
87586
|
+
},
|
|
87587
|
+
"privacy": "public",
|
|
87588
|
+
"inheritedFrom": {
|
|
87589
|
+
"name": "SbbButtonBaseElement",
|
|
87590
|
+
"module": "core/base-elements/button-base-element.js"
|
|
87591
|
+
},
|
|
87592
|
+
"default": "''",
|
|
87593
|
+
"description": "Value of the form element.",
|
|
87594
|
+
"attribute": "value"
|
|
87680
87595
|
},
|
|
87681
87596
|
{
|
|
87682
87597
|
"kind": "field",
|
|
87683
|
-
"name": "
|
|
87684
|
-
"privacy": "
|
|
87685
|
-
"
|
|
87598
|
+
"name": "type",
|
|
87599
|
+
"privacy": "public",
|
|
87600
|
+
"description": "The type attribute to use for the button.",
|
|
87601
|
+
"default": "'button'",
|
|
87602
|
+
"type": {
|
|
87603
|
+
"text": "SbbButtonType"
|
|
87604
|
+
},
|
|
87605
|
+
"attribute": "type",
|
|
87606
|
+
"inheritedFrom": {
|
|
87607
|
+
"name": "SbbButtonBaseElement",
|
|
87608
|
+
"module": "core/base-elements/button-base-element.js"
|
|
87609
|
+
}
|
|
87686
87610
|
},
|
|
87687
87611
|
{
|
|
87688
87612
|
"kind": "field",
|
|
87689
|
-
"name": "
|
|
87690
|
-
"
|
|
87691
|
-
|
|
87613
|
+
"name": "form",
|
|
87614
|
+
"type": {
|
|
87615
|
+
"text": "HTMLFormElement | null"
|
|
87616
|
+
},
|
|
87617
|
+
"privacy": "public",
|
|
87618
|
+
"description": "The `<form>` element to associate the button with.",
|
|
87619
|
+
"inheritedFrom": {
|
|
87620
|
+
"name": "SbbButtonBaseElement",
|
|
87621
|
+
"module": "core/base-elements/button-base-element.js"
|
|
87622
|
+
},
|
|
87623
|
+
"attribute": "form"
|
|
87692
87624
|
},
|
|
87693
87625
|
{
|
|
87694
87626
|
"kind": "field",
|
|
87695
|
-
"name": "
|
|
87627
|
+
"name": "_formId",
|
|
87628
|
+
"type": {
|
|
87629
|
+
"text": "string"
|
|
87630
|
+
},
|
|
87696
87631
|
"privacy": "private",
|
|
87697
|
-
"default": "
|
|
87632
|
+
"default": "''",
|
|
87633
|
+
"inheritedFrom": {
|
|
87634
|
+
"name": "SbbButtonBaseElement",
|
|
87635
|
+
"module": "core/base-elements/button-base-element.js"
|
|
87636
|
+
}
|
|
87698
87637
|
},
|
|
87699
87638
|
{
|
|
87700
87639
|
"kind": "field",
|
|
87701
|
-
"name": "
|
|
87702
|
-
"type": {
|
|
87703
|
-
"text": "SbbMenuElement | null"
|
|
87704
|
-
},
|
|
87640
|
+
"name": "_handleButtonClick",
|
|
87705
87641
|
"privacy": "private",
|
|
87706
|
-
"
|
|
87642
|
+
"inheritedFrom": {
|
|
87643
|
+
"name": "SbbButtonBaseElement",
|
|
87644
|
+
"module": "core/base-elements/button-base-element.js"
|
|
87645
|
+
}
|
|
87707
87646
|
},
|
|
87708
87647
|
{
|
|
87709
87648
|
"kind": "method",
|
|
87710
|
-
"name": "
|
|
87711
|
-
"privacy": "
|
|
87649
|
+
"name": "_requestSubmit",
|
|
87650
|
+
"privacy": "private",
|
|
87712
87651
|
"return": {
|
|
87713
87652
|
"type": {
|
|
87714
87653
|
"text": "void"
|
|
87715
87654
|
}
|
|
87716
87655
|
},
|
|
87717
|
-
"
|
|
87656
|
+
"parameters": [
|
|
87657
|
+
{
|
|
87658
|
+
"name": "form",
|
|
87659
|
+
"type": {
|
|
87660
|
+
"text": "HTMLFormElement"
|
|
87661
|
+
}
|
|
87662
|
+
}
|
|
87663
|
+
],
|
|
87718
87664
|
"inheritedFrom": {
|
|
87719
|
-
"name": "
|
|
87720
|
-
"module": "core/base-elements/
|
|
87665
|
+
"name": "SbbButtonBaseElement",
|
|
87666
|
+
"module": "core/base-elements/button-base-element.js"
|
|
87721
87667
|
}
|
|
87722
87668
|
},
|
|
87723
87669
|
{
|
|
87724
|
-
"kind": "
|
|
87725
|
-
"name": "
|
|
87726
|
-
"privacy": "
|
|
87727
|
-
"
|
|
87728
|
-
"
|
|
87729
|
-
|
|
87730
|
-
|
|
87670
|
+
"kind": "field",
|
|
87671
|
+
"name": "_formKeyDown",
|
|
87672
|
+
"privacy": "private",
|
|
87673
|
+
"inheritedFrom": {
|
|
87674
|
+
"name": "SbbButtonBaseElement",
|
|
87675
|
+
"module": "core/base-elements/button-base-element.js"
|
|
87676
|
+
}
|
|
87677
|
+
},
|
|
87678
|
+
{
|
|
87679
|
+
"kind": "field",
|
|
87680
|
+
"name": "formAssociated",
|
|
87681
|
+
"type": {
|
|
87682
|
+
"text": "boolean"
|
|
87731
87683
|
},
|
|
87732
|
-
"
|
|
87684
|
+
"privacy": "public",
|
|
87685
|
+
"static": true,
|
|
87686
|
+
"default": "true",
|
|
87733
87687
|
"inheritedFrom": {
|
|
87734
|
-
"name": "
|
|
87735
|
-
"module": "core/
|
|
87688
|
+
"name": "SbbFormAssociatedMixin",
|
|
87689
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
87736
87690
|
}
|
|
87737
87691
|
},
|
|
87738
87692
|
{
|
|
87739
|
-
"kind": "
|
|
87740
|
-
"name": "
|
|
87693
|
+
"kind": "field",
|
|
87694
|
+
"name": "name",
|
|
87741
87695
|
"privacy": "public",
|
|
87742
|
-
"
|
|
87743
|
-
|
|
87744
|
-
|
|
87745
|
-
}
|
|
87696
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
87697
|
+
"type": {
|
|
87698
|
+
"text": "string"
|
|
87746
87699
|
},
|
|
87747
|
-
"
|
|
87700
|
+
"attribute": "name",
|
|
87748
87701
|
"inheritedFrom": {
|
|
87749
|
-
"name": "
|
|
87750
|
-
"module": "core/
|
|
87702
|
+
"name": "SbbFormAssociatedMixin",
|
|
87703
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
87751
87704
|
}
|
|
87752
87705
|
},
|
|
87753
87706
|
{
|
|
87754
|
-
"kind": "
|
|
87755
|
-
"name": "
|
|
87707
|
+
"kind": "field",
|
|
87708
|
+
"name": "validity",
|
|
87709
|
+
"type": {
|
|
87710
|
+
"text": "ValidityState"
|
|
87711
|
+
},
|
|
87756
87712
|
"privacy": "public",
|
|
87757
|
-
"
|
|
87758
|
-
|
|
87759
|
-
|
|
87760
|
-
|
|
87713
|
+
"description": "Returns the ValidityState object for this element.",
|
|
87714
|
+
"readonly": true,
|
|
87715
|
+
"inheritedFrom": {
|
|
87716
|
+
"name": "SbbFormAssociatedMixin",
|
|
87717
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
87718
|
+
}
|
|
87719
|
+
},
|
|
87720
|
+
{
|
|
87721
|
+
"kind": "field",
|
|
87722
|
+
"name": "validationMessage",
|
|
87723
|
+
"type": {
|
|
87724
|
+
"text": "string"
|
|
87761
87725
|
},
|
|
87762
|
-
"
|
|
87726
|
+
"privacy": "public",
|
|
87727
|
+
"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.",
|
|
87728
|
+
"readonly": true,
|
|
87729
|
+
"inheritedFrom": {
|
|
87730
|
+
"name": "SbbFormAssociatedMixin",
|
|
87731
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
87732
|
+
}
|
|
87763
87733
|
},
|
|
87764
87734
|
{
|
|
87765
|
-
"kind": "
|
|
87766
|
-
"name": "
|
|
87767
|
-
"
|
|
87768
|
-
|
|
87769
|
-
"type": {
|
|
87770
|
-
"text": "void"
|
|
87771
|
-
}
|
|
87735
|
+
"kind": "field",
|
|
87736
|
+
"name": "willValidate",
|
|
87737
|
+
"type": {
|
|
87738
|
+
"text": "boolean"
|
|
87772
87739
|
},
|
|
87773
|
-
"
|
|
87774
|
-
|
|
87775
|
-
|
|
87776
|
-
|
|
87777
|
-
|
|
87778
|
-
|
|
87779
|
-
|
|
87780
|
-
]
|
|
87740
|
+
"privacy": "public",
|
|
87741
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
87742
|
+
"readonly": true,
|
|
87743
|
+
"inheritedFrom": {
|
|
87744
|
+
"name": "SbbFormAssociatedMixin",
|
|
87745
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
87746
|
+
}
|
|
87781
87747
|
},
|
|
87782
87748
|
{
|
|
87783
|
-
"kind": "
|
|
87784
|
-
"name": "
|
|
87749
|
+
"kind": "field",
|
|
87750
|
+
"name": "_validityStates",
|
|
87785
87751
|
"privacy": "private",
|
|
87786
|
-
"
|
|
87787
|
-
|
|
87788
|
-
|
|
87789
|
-
|
|
87752
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
87753
|
+
"inheritedFrom": {
|
|
87754
|
+
"name": "SbbFormAssociatedMixin",
|
|
87755
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
87756
|
+
}
|
|
87757
|
+
},
|
|
87758
|
+
{
|
|
87759
|
+
"kind": "field",
|
|
87760
|
+
"name": "formDisabled",
|
|
87761
|
+
"type": {
|
|
87762
|
+
"text": "boolean"
|
|
87763
|
+
},
|
|
87764
|
+
"privacy": "protected",
|
|
87765
|
+
"default": "false",
|
|
87766
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
87767
|
+
"inheritedFrom": {
|
|
87768
|
+
"name": "SbbFormAssociatedMixin",
|
|
87769
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
87790
87770
|
}
|
|
87791
87771
|
},
|
|
87792
87772
|
{
|
|
87793
87773
|
"kind": "method",
|
|
87794
|
-
"name": "
|
|
87795
|
-
"privacy": "
|
|
87774
|
+
"name": "checkValidity",
|
|
87775
|
+
"privacy": "public",
|
|
87796
87776
|
"return": {
|
|
87797
87777
|
"type": {
|
|
87798
|
-
"text": "
|
|
87778
|
+
"text": "boolean"
|
|
87799
87779
|
}
|
|
87780
|
+
},
|
|
87781
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
87782
|
+
"inheritedFrom": {
|
|
87783
|
+
"name": "SbbFormAssociatedMixin",
|
|
87784
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
87800
87785
|
}
|
|
87801
87786
|
},
|
|
87802
87787
|
{
|
|
87803
87788
|
"kind": "method",
|
|
87804
|
-
"name": "
|
|
87805
|
-
"privacy": "
|
|
87789
|
+
"name": "reportValidity",
|
|
87790
|
+
"privacy": "public",
|
|
87806
87791
|
"return": {
|
|
87807
87792
|
"type": {
|
|
87808
|
-
"text": "
|
|
87793
|
+
"text": "boolean"
|
|
87809
87794
|
}
|
|
87795
|
+
},
|
|
87796
|
+
"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.",
|
|
87797
|
+
"inheritedFrom": {
|
|
87798
|
+
"name": "SbbFormAssociatedMixin",
|
|
87799
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
87810
87800
|
}
|
|
87811
87801
|
},
|
|
87812
87802
|
{
|
|
87813
87803
|
"kind": "method",
|
|
87814
|
-
"name": "
|
|
87815
|
-
"privacy": "
|
|
87804
|
+
"name": "setCustomValidity",
|
|
87805
|
+
"privacy": "public",
|
|
87816
87806
|
"return": {
|
|
87817
87807
|
"type": {
|
|
87818
87808
|
"text": "void"
|
|
@@ -87820,177 +87810,220 @@
|
|
|
87820
87810
|
},
|
|
87821
87811
|
"parameters": [
|
|
87822
87812
|
{
|
|
87823
|
-
"name": "
|
|
87813
|
+
"name": "message",
|
|
87824
87814
|
"type": {
|
|
87825
|
-
"text": "
|
|
87815
|
+
"text": "string"
|
|
87826
87816
|
}
|
|
87827
87817
|
}
|
|
87828
|
-
]
|
|
87818
|
+
],
|
|
87819
|
+
"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.",
|
|
87820
|
+
"inheritedFrom": {
|
|
87821
|
+
"name": "SbbFormAssociatedMixin",
|
|
87822
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
87823
|
+
}
|
|
87829
87824
|
},
|
|
87830
87825
|
{
|
|
87831
87826
|
"kind": "method",
|
|
87832
|
-
"name": "
|
|
87827
|
+
"name": "_hasDisabledAncestor",
|
|
87833
87828
|
"privacy": "private",
|
|
87834
87829
|
"return": {
|
|
87835
87830
|
"type": {
|
|
87836
|
-
"text": "
|
|
87831
|
+
"text": "boolean"
|
|
87837
87832
|
}
|
|
87833
|
+
},
|
|
87834
|
+
"inheritedFrom": {
|
|
87835
|
+
"name": "SbbFormAssociatedMixin",
|
|
87836
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
87838
87837
|
}
|
|
87839
87838
|
},
|
|
87840
87839
|
{
|
|
87841
87840
|
"kind": "method",
|
|
87842
|
-
"name": "
|
|
87843
|
-
"privacy": "
|
|
87841
|
+
"name": "updateFormValue",
|
|
87842
|
+
"privacy": "protected",
|
|
87844
87843
|
"return": {
|
|
87845
87844
|
"type": {
|
|
87846
87845
|
"text": "void"
|
|
87847
87846
|
}
|
|
87847
|
+
},
|
|
87848
|
+
"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",
|
|
87849
|
+
"inheritedFrom": {
|
|
87850
|
+
"name": "SbbFormAssociatedMixin",
|
|
87851
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
87848
87852
|
}
|
|
87849
87853
|
},
|
|
87850
87854
|
{
|
|
87851
87855
|
"kind": "method",
|
|
87852
|
-
"name": "
|
|
87853
|
-
"privacy": "
|
|
87856
|
+
"name": "formState",
|
|
87857
|
+
"privacy": "protected",
|
|
87854
87858
|
"return": {
|
|
87855
87859
|
"type": {
|
|
87856
|
-
"text": "
|
|
87860
|
+
"text": "FormRestoreState"
|
|
87857
87861
|
}
|
|
87858
87862
|
},
|
|
87859
|
-
"
|
|
87860
|
-
|
|
87861
|
-
|
|
87862
|
-
|
|
87863
|
-
"text": "Event"
|
|
87864
|
-
}
|
|
87865
|
-
}
|
|
87866
|
-
]
|
|
87867
|
-
},
|
|
87868
|
-
{
|
|
87869
|
-
"kind": "field",
|
|
87870
|
-
"name": "_pointerDownListener",
|
|
87871
|
-
"privacy": "private"
|
|
87872
|
-
},
|
|
87873
|
-
{
|
|
87874
|
-
"kind": "field",
|
|
87875
|
-
"name": "_closeOnBackdropClick",
|
|
87876
|
-
"privacy": "private"
|
|
87863
|
+
"inheritedFrom": {
|
|
87864
|
+
"name": "SbbFormAssociatedMixin",
|
|
87865
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
87866
|
+
}
|
|
87877
87867
|
},
|
|
87878
87868
|
{
|
|
87879
87869
|
"kind": "method",
|
|
87880
|
-
"name": "
|
|
87881
|
-
"privacy": "
|
|
87870
|
+
"name": "setValidityFlag",
|
|
87871
|
+
"privacy": "protected",
|
|
87882
87872
|
"return": {
|
|
87883
87873
|
"type": {
|
|
87884
|
-
"text": "
|
|
87874
|
+
"text": "void"
|
|
87885
87875
|
}
|
|
87886
87876
|
},
|
|
87887
|
-
"
|
|
87888
|
-
|
|
87889
|
-
|
|
87890
|
-
|
|
87891
|
-
|
|
87892
|
-
|
|
87893
|
-
|
|
87894
|
-
|
|
87895
|
-
"
|
|
87877
|
+
"parameters": [
|
|
87878
|
+
{
|
|
87879
|
+
"name": "flag",
|
|
87880
|
+
"type": {
|
|
87881
|
+
"text": "T"
|
|
87882
|
+
}
|
|
87883
|
+
},
|
|
87884
|
+
{
|
|
87885
|
+
"name": "message",
|
|
87886
|
+
"type": {
|
|
87887
|
+
"text": "string"
|
|
87888
|
+
}
|
|
87889
|
+
},
|
|
87890
|
+
{
|
|
87891
|
+
"name": "flagValue",
|
|
87892
|
+
"optional": true,
|
|
87893
|
+
"type": {
|
|
87894
|
+
"text": "ValidityStateFlags[T]"
|
|
87895
|
+
}
|
|
87896
87896
|
}
|
|
87897
|
+
],
|
|
87898
|
+
"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).",
|
|
87899
|
+
"inheritedFrom": {
|
|
87900
|
+
"name": "SbbFormAssociatedMixin",
|
|
87901
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
87897
87902
|
}
|
|
87898
87903
|
},
|
|
87899
87904
|
{
|
|
87900
87905
|
"kind": "method",
|
|
87901
|
-
"name": "
|
|
87902
|
-
"privacy": "
|
|
87906
|
+
"name": "removeValidityFlag",
|
|
87907
|
+
"privacy": "protected",
|
|
87903
87908
|
"return": {
|
|
87904
87909
|
"type": {
|
|
87905
|
-
"text": "
|
|
87910
|
+
"text": "void"
|
|
87906
87911
|
}
|
|
87907
87912
|
},
|
|
87908
|
-
"
|
|
87909
|
-
|
|
87910
|
-
|
|
87911
|
-
|
|
87912
|
-
|
|
87913
|
-
|
|
87914
|
-
"return": {
|
|
87915
|
-
"type": {
|
|
87916
|
-
"text": "boolean"
|
|
87913
|
+
"parameters": [
|
|
87914
|
+
{
|
|
87915
|
+
"name": "flag",
|
|
87916
|
+
"type": {
|
|
87917
|
+
"text": "T"
|
|
87918
|
+
}
|
|
87917
87919
|
}
|
|
87920
|
+
],
|
|
87921
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
87922
|
+
"inheritedFrom": {
|
|
87923
|
+
"name": "SbbFormAssociatedMixin",
|
|
87924
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
87918
87925
|
}
|
|
87919
87926
|
},
|
|
87920
87927
|
{
|
|
87921
87928
|
"kind": "method",
|
|
87922
|
-
"name": "
|
|
87923
|
-
"privacy": "
|
|
87929
|
+
"name": "validate",
|
|
87930
|
+
"privacy": "protected",
|
|
87924
87931
|
"return": {
|
|
87925
87932
|
"type": {
|
|
87926
87933
|
"text": "void"
|
|
87927
87934
|
}
|
|
87935
|
+
},
|
|
87936
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
87937
|
+
"inheritedFrom": {
|
|
87938
|
+
"name": "SbbFormAssociatedMixin",
|
|
87939
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
87928
87940
|
}
|
|
87929
87941
|
},
|
|
87930
87942
|
{
|
|
87931
87943
|
"kind": "method",
|
|
87932
|
-
"name": "
|
|
87933
|
-
"privacy": "
|
|
87944
|
+
"name": "shouldValidate",
|
|
87945
|
+
"privacy": "protected",
|
|
87934
87946
|
"return": {
|
|
87935
87947
|
"type": {
|
|
87936
|
-
"text": "
|
|
87948
|
+
"text": "boolean"
|
|
87937
87949
|
}
|
|
87938
87950
|
},
|
|
87939
87951
|
"parameters": [
|
|
87940
87952
|
{
|
|
87941
|
-
"name": "
|
|
87953
|
+
"name": "name",
|
|
87942
87954
|
"type": {
|
|
87943
|
-
"text": "
|
|
87955
|
+
"text": "PropertyKey | undefined"
|
|
87944
87956
|
}
|
|
87945
87957
|
}
|
|
87946
|
-
]
|
|
87958
|
+
],
|
|
87959
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
87960
|
+
"inheritedFrom": {
|
|
87961
|
+
"name": "SbbFormAssociatedMixin",
|
|
87962
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
87963
|
+
}
|
|
87947
87964
|
},
|
|
87948
87965
|
{
|
|
87949
87966
|
"kind": "method",
|
|
87950
|
-
"name": "
|
|
87967
|
+
"name": "_setInternalValidity",
|
|
87951
87968
|
"privacy": "private",
|
|
87952
87969
|
"return": {
|
|
87953
87970
|
"type": {
|
|
87954
87971
|
"text": "void"
|
|
87955
87972
|
}
|
|
87956
87973
|
},
|
|
87974
|
+
"inheritedFrom": {
|
|
87975
|
+
"name": "SbbFormAssociatedMixin",
|
|
87976
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
87977
|
+
}
|
|
87978
|
+
},
|
|
87979
|
+
{
|
|
87980
|
+
"kind": "field",
|
|
87981
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
87982
|
+
"privacy": "private",
|
|
87983
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
87957
87984
|
"parameters": [
|
|
87958
87985
|
{
|
|
87959
|
-
"
|
|
87960
|
-
"
|
|
87961
|
-
"text": "AnimationEvent"
|
|
87962
|
-
}
|
|
87986
|
+
"description": "The origin event.",
|
|
87987
|
+
"name": "event"
|
|
87963
87988
|
}
|
|
87964
|
-
]
|
|
87989
|
+
],
|
|
87990
|
+
"inheritedFrom": {
|
|
87991
|
+
"name": "SbbButtonLikeBaseElement",
|
|
87992
|
+
"module": "core/base-elements/button-base-element.js"
|
|
87993
|
+
}
|
|
87965
87994
|
},
|
|
87966
87995
|
{
|
|
87967
|
-
"kind": "
|
|
87968
|
-
"name": "
|
|
87996
|
+
"kind": "field",
|
|
87997
|
+
"name": "_removeActiveMarker",
|
|
87969
87998
|
"privacy": "private",
|
|
87970
|
-
"
|
|
87971
|
-
"
|
|
87972
|
-
|
|
87973
|
-
}
|
|
87999
|
+
"inheritedFrom": {
|
|
88000
|
+
"name": "SbbButtonLikeBaseElement",
|
|
88001
|
+
"module": "core/base-elements/button-base-element.js"
|
|
87974
88002
|
}
|
|
87975
88003
|
},
|
|
87976
88004
|
{
|
|
87977
|
-
"kind": "
|
|
87978
|
-
"name": "
|
|
88005
|
+
"kind": "field",
|
|
88006
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
87979
88007
|
"privacy": "private",
|
|
87980
|
-
"
|
|
87981
|
-
|
|
87982
|
-
|
|
88008
|
+
"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.",
|
|
88009
|
+
"parameters": [
|
|
88010
|
+
{
|
|
88011
|
+
"description": "The origin event.",
|
|
88012
|
+
"name": "event"
|
|
87983
88013
|
}
|
|
88014
|
+
],
|
|
88015
|
+
"inheritedFrom": {
|
|
88016
|
+
"name": "SbbButtonLikeBaseElement",
|
|
88017
|
+
"module": "core/base-elements/button-base-element.js"
|
|
87984
88018
|
}
|
|
87985
88019
|
},
|
|
87986
88020
|
{
|
|
87987
|
-
"kind": "
|
|
87988
|
-
"name": "
|
|
88021
|
+
"kind": "field",
|
|
88022
|
+
"name": "_dispatchClickEvent",
|
|
87989
88023
|
"privacy": "private",
|
|
87990
|
-
"
|
|
87991
|
-
"
|
|
87992
|
-
|
|
87993
|
-
}
|
|
88024
|
+
"inheritedFrom": {
|
|
88025
|
+
"name": "SbbButtonLikeBaseElement",
|
|
88026
|
+
"module": "core/base-elements/button-base-element.js"
|
|
87994
88027
|
}
|
|
87995
88028
|
},
|
|
87996
88029
|
{
|
|
@@ -88018,182 +88051,155 @@
|
|
|
88018
88051
|
}
|
|
88019
88052
|
],
|
|
88020
88053
|
"inheritedFrom": {
|
|
88021
|
-
"name": "
|
|
88022
|
-
"module": "core/base-elements/
|
|
88054
|
+
"name": "SbbActionBaseElement",
|
|
88055
|
+
"module": "core/base-elements/action-base-element.js"
|
|
88023
88056
|
}
|
|
88024
88057
|
},
|
|
88025
88058
|
{
|
|
88026
88059
|
"kind": "field",
|
|
88027
|
-
"name": "
|
|
88028
|
-
"privacy": "public",
|
|
88029
|
-
"static": true,
|
|
88030
|
-
"readonly": true,
|
|
88031
|
-
"default": "{ beforeopen: 'beforeopen', open: 'open', beforeclose: 'beforeclose', close: 'close', }",
|
|
88060
|
+
"name": "maybeDisabled",
|
|
88032
88061
|
"type": {
|
|
88033
|
-
"text": "
|
|
88062
|
+
"text": "boolean | undefined"
|
|
88034
88063
|
},
|
|
88035
|
-
"inheritedFrom": {
|
|
88036
|
-
"name": "SbbOpenCloseBaseElement",
|
|
88037
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
88038
|
-
}
|
|
88039
|
-
},
|
|
88040
|
-
{
|
|
88041
|
-
"kind": "field",
|
|
88042
|
-
"name": "state",
|
|
88043
88064
|
"privacy": "protected",
|
|
88044
|
-
"
|
|
88045
|
-
"type": {
|
|
88046
|
-
"text": "SbbOpenedClosedState"
|
|
88047
|
-
},
|
|
88048
|
-
"default": "'closed'",
|
|
88049
|
-
"inheritedFrom": {
|
|
88050
|
-
"name": "SbbOpenCloseBaseElement",
|
|
88051
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
88052
|
-
}
|
|
88053
|
-
},
|
|
88054
|
-
{
|
|
88055
|
-
"kind": "field",
|
|
88056
|
-
"name": "_state",
|
|
88057
|
-
"type": {
|
|
88058
|
-
"text": "SbbOpenedClosedState"
|
|
88059
|
-
},
|
|
88060
|
-
"privacy": "private",
|
|
88065
|
+
"readonly": true,
|
|
88061
88066
|
"inheritedFrom": {
|
|
88062
|
-
"name": "
|
|
88063
|
-
"module": "core/base-elements/
|
|
88067
|
+
"name": "SbbActionBaseElement",
|
|
88068
|
+
"module": "core/base-elements/action-base-element.js"
|
|
88064
88069
|
}
|
|
88065
88070
|
},
|
|
88066
88071
|
{
|
|
88067
88072
|
"kind": "field",
|
|
88068
|
-
"name": "
|
|
88073
|
+
"name": "maybeDisabledInteractive",
|
|
88069
88074
|
"type": {
|
|
88070
|
-
"text": "boolean"
|
|
88075
|
+
"text": "boolean | undefined"
|
|
88071
88076
|
},
|
|
88072
|
-
"privacy": "
|
|
88073
|
-
"description": "Whether the element is open.",
|
|
88077
|
+
"privacy": "protected",
|
|
88074
88078
|
"readonly": true,
|
|
88075
88079
|
"inheritedFrom": {
|
|
88076
|
-
"name": "
|
|
88077
|
-
"module": "core/base-elements/
|
|
88080
|
+
"name": "SbbActionBaseElement",
|
|
88081
|
+
"module": "core/base-elements/action-base-element.js"
|
|
88078
88082
|
}
|
|
88079
88083
|
},
|
|
88080
88084
|
{
|
|
88081
88085
|
"kind": "method",
|
|
88082
|
-
"name": "
|
|
88086
|
+
"name": "setupBaseEventHandlers",
|
|
88083
88087
|
"privacy": "protected",
|
|
88084
88088
|
"return": {
|
|
88085
88089
|
"type": {
|
|
88086
|
-
"text": "
|
|
88090
|
+
"text": "void"
|
|
88087
88091
|
}
|
|
88088
88092
|
},
|
|
88089
88093
|
"inheritedFrom": {
|
|
88090
|
-
"name": "
|
|
88091
|
-
"module": "core/base-elements/
|
|
88094
|
+
"name": "SbbActionBaseElement",
|
|
88095
|
+
"module": "core/base-elements/action-base-element.js"
|
|
88092
88096
|
}
|
|
88097
|
+
}
|
|
88098
|
+
],
|
|
88099
|
+
"mixins": [
|
|
88100
|
+
{
|
|
88101
|
+
"name": "SbbDisabledTabIndexActionMixin",
|
|
88102
|
+
"module": "core/mixins.js"
|
|
88093
88103
|
},
|
|
88094
88104
|
{
|
|
88095
|
-
"
|
|
88096
|
-
"
|
|
88097
|
-
|
|
88098
|
-
|
|
88099
|
-
|
|
88100
|
-
|
|
88101
|
-
|
|
88105
|
+
"name": "SbbMenuActionCommonElementMixin",
|
|
88106
|
+
"module": "menu/common.js"
|
|
88107
|
+
}
|
|
88108
|
+
],
|
|
88109
|
+
"superclass": {
|
|
88110
|
+
"name": "SbbButtonBaseElement",
|
|
88111
|
+
"module": "core/base-elements.js"
|
|
88112
|
+
},
|
|
88113
|
+
"tagName": "sbb-menu-button",
|
|
88114
|
+
"customElement": true,
|
|
88115
|
+
"attributes": [
|
|
88116
|
+
{
|
|
88117
|
+
"name": "disabled-interactive",
|
|
88118
|
+
"type": {
|
|
88119
|
+
"text": "boolean"
|
|
88102
88120
|
},
|
|
88121
|
+
"default": "false",
|
|
88122
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
88123
|
+
"fieldName": "disabledInteractive",
|
|
88103
88124
|
"inheritedFrom": {
|
|
88104
|
-
"name": "
|
|
88105
|
-
"module": "core/
|
|
88125
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
88126
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
88106
88127
|
}
|
|
88107
88128
|
},
|
|
88108
88129
|
{
|
|
88109
|
-
"
|
|
88110
|
-
"
|
|
88111
|
-
"
|
|
88112
|
-
"
|
|
88113
|
-
"
|
|
88114
|
-
"text": "boolean"
|
|
88115
|
-
}
|
|
88130
|
+
"name": "disabled",
|
|
88131
|
+
"description": "Whether the component is disabled.",
|
|
88132
|
+
"default": "false",
|
|
88133
|
+
"type": {
|
|
88134
|
+
"text": "boolean"
|
|
88116
88135
|
},
|
|
88136
|
+
"fieldName": "disabled",
|
|
88117
88137
|
"inheritedFrom": {
|
|
88118
|
-
"name": "
|
|
88119
|
-
"module": "core/
|
|
88138
|
+
"name": "SbbDisabledMixin",
|
|
88139
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
88120
88140
|
}
|
|
88121
88141
|
},
|
|
88122
88142
|
{
|
|
88123
|
-
"
|
|
88124
|
-
"
|
|
88125
|
-
|
|
88126
|
-
"return": {
|
|
88127
|
-
"type": {
|
|
88128
|
-
"text": "boolean"
|
|
88129
|
-
}
|
|
88143
|
+
"name": "icon-name",
|
|
88144
|
+
"type": {
|
|
88145
|
+
"text": "string"
|
|
88130
88146
|
},
|
|
88147
|
+
"default": "''",
|
|
88148
|
+
"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.",
|
|
88149
|
+
"fieldName": "iconName",
|
|
88131
88150
|
"inheritedFrom": {
|
|
88132
|
-
"name": "
|
|
88133
|
-
"module": "
|
|
88151
|
+
"name": "SbbIconNameMixin",
|
|
88152
|
+
"module": "icon/icon-name-mixin.js"
|
|
88134
88153
|
}
|
|
88135
|
-
}
|
|
88136
|
-
],
|
|
88137
|
-
"attributes": [
|
|
88138
|
-
{
|
|
88139
|
-
"name": "trigger",
|
|
88140
|
-
"type": {
|
|
88141
|
-
"text": "HTMLElement | null"
|
|
88142
|
-
},
|
|
88143
|
-
"default": "null",
|
|
88144
|
-
"description": "The element that will trigger the menu overlay.\n\nFor attribute usage, provide an id reference.",
|
|
88145
|
-
"fieldName": "trigger"
|
|
88146
|
-
}
|
|
88147
|
-
],
|
|
88148
|
-
"superclass": {
|
|
88149
|
-
"name": "SbbOpenCloseBaseElement",
|
|
88150
|
-
"module": "core/base-elements.js"
|
|
88151
|
-
},
|
|
88152
|
-
"tagName": "sbb-menu",
|
|
88153
|
-
"customElement": true,
|
|
88154
|
-
"events": [
|
|
88154
|
+
},
|
|
88155
88155
|
{
|
|
88156
|
-
"name": "
|
|
88156
|
+
"name": "value",
|
|
88157
88157
|
"type": {
|
|
88158
|
-
"text": "
|
|
88158
|
+
"text": "string"
|
|
88159
88159
|
},
|
|
88160
|
-
"
|
|
88160
|
+
"default": "''",
|
|
88161
|
+
"description": "Value of the form element.",
|
|
88162
|
+
"fieldName": "value",
|
|
88161
88163
|
"inheritedFrom": {
|
|
88162
|
-
"name": "
|
|
88163
|
-
"module": "core/base-elements/
|
|
88164
|
+
"name": "SbbButtonBaseElement",
|
|
88165
|
+
"module": "core/base-elements/button-base-element.js"
|
|
88164
88166
|
}
|
|
88165
88167
|
},
|
|
88166
88168
|
{
|
|
88167
|
-
"name": "
|
|
88169
|
+
"name": "type",
|
|
88170
|
+
"description": "The type attribute to use for the button.",
|
|
88171
|
+
"default": "'button'",
|
|
88168
88172
|
"type": {
|
|
88169
|
-
"text": "
|
|
88173
|
+
"text": "SbbButtonType"
|
|
88170
88174
|
},
|
|
88171
|
-
"
|
|
88175
|
+
"fieldName": "type",
|
|
88172
88176
|
"inheritedFrom": {
|
|
88173
|
-
"name": "
|
|
88174
|
-
"module": "core/base-elements/
|
|
88177
|
+
"name": "SbbButtonBaseElement",
|
|
88178
|
+
"module": "core/base-elements/button-base-element.js"
|
|
88175
88179
|
}
|
|
88176
88180
|
},
|
|
88177
88181
|
{
|
|
88178
|
-
"name": "
|
|
88182
|
+
"name": "form",
|
|
88183
|
+
"description": "The `<form>` element to associate the button with.",
|
|
88179
88184
|
"type": {
|
|
88180
|
-
"text": "
|
|
88185
|
+
"text": "HTMLFormElement | null"
|
|
88181
88186
|
},
|
|
88182
|
-
"
|
|
88187
|
+
"fieldName": "form",
|
|
88183
88188
|
"inheritedFrom": {
|
|
88184
|
-
"name": "
|
|
88185
|
-
"module": "core/base-elements/
|
|
88189
|
+
"name": "SbbButtonBaseElement",
|
|
88190
|
+
"module": "core/base-elements/button-base-element.js"
|
|
88186
88191
|
}
|
|
88187
88192
|
},
|
|
88188
88193
|
{
|
|
88189
|
-
"name": "
|
|
88194
|
+
"name": "name",
|
|
88195
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
88190
88196
|
"type": {
|
|
88191
|
-
"text": "
|
|
88197
|
+
"text": "string"
|
|
88192
88198
|
},
|
|
88193
|
-
"
|
|
88199
|
+
"fieldName": "name",
|
|
88194
88200
|
"inheritedFrom": {
|
|
88195
|
-
"name": "
|
|
88196
|
-
"module": "core/
|
|
88201
|
+
"name": "SbbFormAssociatedMixin",
|
|
88202
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
88197
88203
|
}
|
|
88198
88204
|
}
|
|
88199
88205
|
]
|
|
@@ -88202,18 +88208,18 @@
|
|
|
88202
88208
|
"exports": [
|
|
88203
88209
|
{
|
|
88204
88210
|
"kind": "js",
|
|
88205
|
-
"name": "
|
|
88211
|
+
"name": "SbbMenuButtonElement",
|
|
88206
88212
|
"declaration": {
|
|
88207
|
-
"name": "
|
|
88208
|
-
"module": "menu/menu/menu.component.js"
|
|
88213
|
+
"name": "SbbMenuButtonElement",
|
|
88214
|
+
"module": "menu/menu-button/menu-button.component.js"
|
|
88209
88215
|
}
|
|
88210
88216
|
},
|
|
88211
88217
|
{
|
|
88212
88218
|
"kind": "custom-element-definition",
|
|
88213
|
-
"name": "sbb-menu",
|
|
88219
|
+
"name": "sbb-menu-button",
|
|
88214
88220
|
"declaration": {
|
|
88215
|
-
"name": "
|
|
88216
|
-
"module": "menu/menu/menu.component.js"
|
|
88221
|
+
"name": "SbbMenuButtonElement",
|
|
88222
|
+
"module": "menu/menu-button/menu-button.component.js"
|
|
88217
88223
|
}
|
|
88218
88224
|
}
|
|
88219
88225
|
]
|
|
@@ -103505,76 +103511,303 @@
|
|
|
103505
103511
|
}
|
|
103506
103512
|
],
|
|
103507
103513
|
"inheritedFrom": {
|
|
103508
|
-
"name": "SbbTitleBase",
|
|
103509
|
-
"module": "title/title-base.js"
|
|
103510
|
-
}
|
|
103511
|
-
},
|
|
103512
|
-
{
|
|
103513
|
-
"kind": "field",
|
|
103514
|
-
"name": "role",
|
|
103515
|
-
"type": {
|
|
103516
|
-
"text": "string"
|
|
103517
|
-
},
|
|
103518
|
-
"privacy": "public",
|
|
103519
|
-
"static": true,
|
|
103520
|
-
"default": "'heading'",
|
|
103521
|
-
"inheritedFrom": {
|
|
103522
|
-
"name": "SbbTitleBase",
|
|
103523
|
-
"module": "title/title-base.js"
|
|
103514
|
+
"name": "SbbTitleBase",
|
|
103515
|
+
"module": "title/title-base.js"
|
|
103516
|
+
}
|
|
103517
|
+
},
|
|
103518
|
+
{
|
|
103519
|
+
"kind": "field",
|
|
103520
|
+
"name": "role",
|
|
103521
|
+
"type": {
|
|
103522
|
+
"text": "string"
|
|
103523
|
+
},
|
|
103524
|
+
"privacy": "public",
|
|
103525
|
+
"static": true,
|
|
103526
|
+
"default": "'heading'",
|
|
103527
|
+
"inheritedFrom": {
|
|
103528
|
+
"name": "SbbTitleBase",
|
|
103529
|
+
"module": "title/title-base.js"
|
|
103530
|
+
}
|
|
103531
|
+
}
|
|
103532
|
+
],
|
|
103533
|
+
"attributes": [
|
|
103534
|
+
{
|
|
103535
|
+
"name": "level",
|
|
103536
|
+
"type": {
|
|
103537
|
+
"text": "SbbTitleLevel"
|
|
103538
|
+
},
|
|
103539
|
+
"default": "'2'",
|
|
103540
|
+
"description": "Title level",
|
|
103541
|
+
"fieldName": "level",
|
|
103542
|
+
"inheritedFrom": {
|
|
103543
|
+
"name": "SbbTitleBase",
|
|
103544
|
+
"module": "title/title-base.js"
|
|
103545
|
+
}
|
|
103546
|
+
},
|
|
103547
|
+
{
|
|
103548
|
+
"name": "visual-level",
|
|
103549
|
+
"type": {
|
|
103550
|
+
"text": "SbbTitleLevel | null"
|
|
103551
|
+
},
|
|
103552
|
+
"default": "null",
|
|
103553
|
+
"description": "Visual level for the title.",
|
|
103554
|
+
"fieldName": "visualLevel",
|
|
103555
|
+
"inheritedFrom": {
|
|
103556
|
+
"name": "SbbTitleBase",
|
|
103557
|
+
"module": "title/title-base.js"
|
|
103558
|
+
}
|
|
103559
|
+
}
|
|
103560
|
+
],
|
|
103561
|
+
"superclass": {
|
|
103562
|
+
"name": "SbbTitleBase",
|
|
103563
|
+
"module": "title.js"
|
|
103564
|
+
},
|
|
103565
|
+
"tagName": "sbb-sidebar-title",
|
|
103566
|
+
"customElement": true
|
|
103567
|
+
}
|
|
103568
|
+
],
|
|
103569
|
+
"exports": [
|
|
103570
|
+
{
|
|
103571
|
+
"kind": "js",
|
|
103572
|
+
"name": "SbbSidebarTitleElement",
|
|
103573
|
+
"declaration": {
|
|
103574
|
+
"name": "SbbSidebarTitleElement",
|
|
103575
|
+
"module": "sidebar/sidebar-title/sidebar-title.component.js"
|
|
103576
|
+
}
|
|
103577
|
+
},
|
|
103578
|
+
{
|
|
103579
|
+
"kind": "custom-element-definition",
|
|
103580
|
+
"name": "sbb-sidebar-title",
|
|
103581
|
+
"declaration": {
|
|
103582
|
+
"name": "SbbSidebarTitleElement",
|
|
103583
|
+
"module": "sidebar/sidebar-title/sidebar-title.component.js"
|
|
103584
|
+
}
|
|
103585
|
+
}
|
|
103586
|
+
]
|
|
103587
|
+
},
|
|
103588
|
+
{
|
|
103589
|
+
"kind": "javascript-module",
|
|
103590
|
+
"path": "stepper/step/step.component.js",
|
|
103591
|
+
"declarations": [
|
|
103592
|
+
{
|
|
103593
|
+
"kind": "class",
|
|
103594
|
+
"description": "Combined with a `sbb-stepper`, it displays a step's content.",
|
|
103595
|
+
"name": "SbbStepElement",
|
|
103596
|
+
"slots": [
|
|
103597
|
+
{
|
|
103598
|
+
"description": "Use the unnamed slot to provide content.",
|
|
103599
|
+
"name": ""
|
|
103600
|
+
}
|
|
103601
|
+
],
|
|
103602
|
+
"members": [
|
|
103603
|
+
{
|
|
103604
|
+
"kind": "field",
|
|
103605
|
+
"name": "role",
|
|
103606
|
+
"type": {
|
|
103607
|
+
"text": "string"
|
|
103608
|
+
},
|
|
103609
|
+
"privacy": "public",
|
|
103610
|
+
"static": true,
|
|
103611
|
+
"readonly": true,
|
|
103612
|
+
"default": "'tabpanel'"
|
|
103613
|
+
},
|
|
103614
|
+
{
|
|
103615
|
+
"kind": "field",
|
|
103616
|
+
"name": "events",
|
|
103617
|
+
"privacy": "public",
|
|
103618
|
+
"static": true,
|
|
103619
|
+
"readonly": true,
|
|
103620
|
+
"default": "{ validate: 'validate', resizechange: 'resizechange', }",
|
|
103621
|
+
"type": {
|
|
103622
|
+
"text": "{\n validate: 'validate',\n resizechange: 'resizechange',\n }"
|
|
103623
|
+
}
|
|
103624
|
+
},
|
|
103625
|
+
{
|
|
103626
|
+
"kind": "field",
|
|
103627
|
+
"name": "_stepResizeObserver",
|
|
103628
|
+
"privacy": "private",
|
|
103629
|
+
"default": "new ResizeController(this, { target: null, skipInitial: true, callback: () => setTimeout(() => this._onStepElementResize()), })"
|
|
103630
|
+
},
|
|
103631
|
+
{
|
|
103632
|
+
"kind": "field",
|
|
103633
|
+
"name": "label",
|
|
103634
|
+
"type": {
|
|
103635
|
+
"text": "SbbStepLabelElement | null"
|
|
103636
|
+
},
|
|
103637
|
+
"privacy": "public",
|
|
103638
|
+
"description": "The label of the step.",
|
|
103639
|
+
"readonly": true,
|
|
103640
|
+
"default": "null"
|
|
103641
|
+
},
|
|
103642
|
+
{
|
|
103643
|
+
"kind": "field",
|
|
103644
|
+
"name": "_label",
|
|
103645
|
+
"type": {
|
|
103646
|
+
"text": "SbbStepLabelElement | null"
|
|
103647
|
+
},
|
|
103648
|
+
"privacy": "private",
|
|
103649
|
+
"default": "null"
|
|
103650
|
+
},
|
|
103651
|
+
{
|
|
103652
|
+
"kind": "field",
|
|
103653
|
+
"name": "stepper",
|
|
103654
|
+
"type": {
|
|
103655
|
+
"text": "SbbStepperElement | null"
|
|
103656
|
+
},
|
|
103657
|
+
"privacy": "public",
|
|
103658
|
+
"readonly": true
|
|
103659
|
+
},
|
|
103660
|
+
{
|
|
103661
|
+
"kind": "field",
|
|
103662
|
+
"name": "_previousOrientation",
|
|
103663
|
+
"type": {
|
|
103664
|
+
"text": "string | undefined"
|
|
103665
|
+
},
|
|
103666
|
+
"privacy": "private"
|
|
103667
|
+
},
|
|
103668
|
+
{
|
|
103669
|
+
"kind": "method",
|
|
103670
|
+
"name": "_handleClick",
|
|
103671
|
+
"privacy": "private",
|
|
103672
|
+
"return": {
|
|
103673
|
+
"type": {
|
|
103674
|
+
"text": "void"
|
|
103675
|
+
}
|
|
103676
|
+
},
|
|
103677
|
+
"parameters": [
|
|
103678
|
+
{
|
|
103679
|
+
"name": "event",
|
|
103680
|
+
"type": {
|
|
103681
|
+
"text": "Event"
|
|
103682
|
+
}
|
|
103683
|
+
}
|
|
103684
|
+
],
|
|
103685
|
+
"description": "Watches for clicked elements with `sbb-stepper-next` or `sbb-stepper-previous` attributes."
|
|
103686
|
+
},
|
|
103687
|
+
{
|
|
103688
|
+
"kind": "method",
|
|
103689
|
+
"name": "_isGoNextElement",
|
|
103690
|
+
"privacy": "private",
|
|
103691
|
+
"return": {
|
|
103692
|
+
"type": {
|
|
103693
|
+
"text": "boolean"
|
|
103694
|
+
}
|
|
103695
|
+
},
|
|
103696
|
+
"parameters": [
|
|
103697
|
+
{
|
|
103698
|
+
"name": "element",
|
|
103699
|
+
"type": {
|
|
103700
|
+
"text": "HTMLElement"
|
|
103701
|
+
}
|
|
103702
|
+
}
|
|
103703
|
+
]
|
|
103704
|
+
},
|
|
103705
|
+
{
|
|
103706
|
+
"kind": "method",
|
|
103707
|
+
"name": "_isGoPreviousElement",
|
|
103708
|
+
"privacy": "private",
|
|
103709
|
+
"return": {
|
|
103710
|
+
"type": {
|
|
103711
|
+
"text": "boolean"
|
|
103712
|
+
}
|
|
103713
|
+
},
|
|
103714
|
+
"parameters": [
|
|
103715
|
+
{
|
|
103716
|
+
"name": "element",
|
|
103717
|
+
"type": {
|
|
103718
|
+
"text": "HTMLElement"
|
|
103719
|
+
}
|
|
103720
|
+
}
|
|
103721
|
+
]
|
|
103722
|
+
},
|
|
103723
|
+
{
|
|
103724
|
+
"kind": "method",
|
|
103725
|
+
"name": "_onStepElementResize",
|
|
103726
|
+
"privacy": "private",
|
|
103727
|
+
"return": {
|
|
103728
|
+
"type": {
|
|
103729
|
+
"text": "void"
|
|
103730
|
+
}
|
|
103731
|
+
}
|
|
103732
|
+
},
|
|
103733
|
+
{
|
|
103734
|
+
"kind": "method",
|
|
103735
|
+
"name": "_assignLabel",
|
|
103736
|
+
"privacy": "private",
|
|
103737
|
+
"return": {
|
|
103738
|
+
"type": {
|
|
103739
|
+
"text": "void"
|
|
103740
|
+
}
|
|
103741
|
+
}
|
|
103742
|
+
},
|
|
103743
|
+
{
|
|
103744
|
+
"kind": "method",
|
|
103745
|
+
"name": "toggleState",
|
|
103746
|
+
"privacy": "protected",
|
|
103747
|
+
"return": {
|
|
103748
|
+
"type": {
|
|
103749
|
+
"text": "void"
|
|
103750
|
+
}
|
|
103751
|
+
},
|
|
103752
|
+
"parameters": [
|
|
103753
|
+
{
|
|
103754
|
+
"name": "value",
|
|
103755
|
+
"type": {
|
|
103756
|
+
"text": "string"
|
|
103757
|
+
}
|
|
103758
|
+
},
|
|
103759
|
+
{
|
|
103760
|
+
"name": "force",
|
|
103761
|
+
"optional": true,
|
|
103762
|
+
"type": {
|
|
103763
|
+
"text": "boolean"
|
|
103764
|
+
}
|
|
103765
|
+
}
|
|
103766
|
+
],
|
|
103767
|
+
"inheritedFrom": {
|
|
103768
|
+
"name": "SbbElementInternalsMixin",
|
|
103769
|
+
"module": "core/mixins/element-internals-mixin.js"
|
|
103524
103770
|
}
|
|
103525
103771
|
}
|
|
103526
103772
|
],
|
|
103527
|
-
"
|
|
103773
|
+
"events": [
|
|
103528
103774
|
{
|
|
103529
|
-
"name": "
|
|
103775
|
+
"name": "validate",
|
|
103530
103776
|
"type": {
|
|
103531
|
-
"text": "
|
|
103777
|
+
"text": "CustomEvent<SbbStepValidateEventDetails>"
|
|
103532
103778
|
},
|
|
103533
|
-
"
|
|
103534
|
-
|
|
103535
|
-
|
|
103536
|
-
|
|
103537
|
-
"name": "SbbTitleBase",
|
|
103538
|
-
"module": "title/title-base.js"
|
|
103539
|
-
}
|
|
103540
|
-
},
|
|
103779
|
+
"description": "The validate event is dispatched when a step change is triggered. Can be canceled to abort the step change."
|
|
103780
|
+
}
|
|
103781
|
+
],
|
|
103782
|
+
"mixins": [
|
|
103541
103783
|
{
|
|
103542
|
-
"name": "
|
|
103543
|
-
"
|
|
103544
|
-
"text": "SbbTitleLevel | null"
|
|
103545
|
-
},
|
|
103546
|
-
"default": "null",
|
|
103547
|
-
"description": "Visual level for the title.",
|
|
103548
|
-
"fieldName": "visualLevel",
|
|
103549
|
-
"inheritedFrom": {
|
|
103550
|
-
"name": "SbbTitleBase",
|
|
103551
|
-
"module": "title/title-base.js"
|
|
103552
|
-
}
|
|
103784
|
+
"name": "SbbElementInternalsMixin",
|
|
103785
|
+
"module": "core/mixins.js"
|
|
103553
103786
|
}
|
|
103554
103787
|
],
|
|
103555
103788
|
"superclass": {
|
|
103556
|
-
"name": "
|
|
103557
|
-
"
|
|
103789
|
+
"name": "LitElement",
|
|
103790
|
+
"package": "lit"
|
|
103558
103791
|
},
|
|
103559
|
-
"tagName": "sbb-
|
|
103792
|
+
"tagName": "sbb-step",
|
|
103560
103793
|
"customElement": true
|
|
103561
103794
|
}
|
|
103562
103795
|
],
|
|
103563
103796
|
"exports": [
|
|
103564
103797
|
{
|
|
103565
103798
|
"kind": "js",
|
|
103566
|
-
"name": "
|
|
103799
|
+
"name": "SbbStepElement",
|
|
103567
103800
|
"declaration": {
|
|
103568
|
-
"name": "
|
|
103569
|
-
"module": "
|
|
103801
|
+
"name": "SbbStepElement",
|
|
103802
|
+
"module": "stepper/step/step.component.js"
|
|
103570
103803
|
}
|
|
103571
103804
|
},
|
|
103572
103805
|
{
|
|
103573
103806
|
"kind": "custom-element-definition",
|
|
103574
|
-
"name": "sbb-
|
|
103807
|
+
"name": "sbb-step",
|
|
103575
103808
|
"declaration": {
|
|
103576
|
-
"name": "
|
|
103577
|
-
"module": "
|
|
103809
|
+
"name": "SbbStepElement",
|
|
103810
|
+
"module": "stepper/step/step.component.js"
|
|
103578
103811
|
}
|
|
103579
103812
|
}
|
|
103580
103813
|
]
|
|
@@ -104458,233 +104691,6 @@
|
|
|
104458
104691
|
}
|
|
104459
104692
|
]
|
|
104460
104693
|
},
|
|
104461
|
-
{
|
|
104462
|
-
"kind": "javascript-module",
|
|
104463
|
-
"path": "stepper/step/step.component.js",
|
|
104464
|
-
"declarations": [
|
|
104465
|
-
{
|
|
104466
|
-
"kind": "class",
|
|
104467
|
-
"description": "Combined with a `sbb-stepper`, it displays a step's content.",
|
|
104468
|
-
"name": "SbbStepElement",
|
|
104469
|
-
"slots": [
|
|
104470
|
-
{
|
|
104471
|
-
"description": "Use the unnamed slot to provide content.",
|
|
104472
|
-
"name": ""
|
|
104473
|
-
}
|
|
104474
|
-
],
|
|
104475
|
-
"members": [
|
|
104476
|
-
{
|
|
104477
|
-
"kind": "field",
|
|
104478
|
-
"name": "role",
|
|
104479
|
-
"type": {
|
|
104480
|
-
"text": "string"
|
|
104481
|
-
},
|
|
104482
|
-
"privacy": "public",
|
|
104483
|
-
"static": true,
|
|
104484
|
-
"readonly": true,
|
|
104485
|
-
"default": "'tabpanel'"
|
|
104486
|
-
},
|
|
104487
|
-
{
|
|
104488
|
-
"kind": "field",
|
|
104489
|
-
"name": "events",
|
|
104490
|
-
"privacy": "public",
|
|
104491
|
-
"static": true,
|
|
104492
|
-
"readonly": true,
|
|
104493
|
-
"default": "{ validate: 'validate', resizechange: 'resizechange', }",
|
|
104494
|
-
"type": {
|
|
104495
|
-
"text": "{\n validate: 'validate',\n resizechange: 'resizechange',\n }"
|
|
104496
|
-
}
|
|
104497
|
-
},
|
|
104498
|
-
{
|
|
104499
|
-
"kind": "field",
|
|
104500
|
-
"name": "_stepResizeObserver",
|
|
104501
|
-
"privacy": "private",
|
|
104502
|
-
"default": "new ResizeController(this, { target: null, skipInitial: true, callback: () => setTimeout(() => this._onStepElementResize()), })"
|
|
104503
|
-
},
|
|
104504
|
-
{
|
|
104505
|
-
"kind": "field",
|
|
104506
|
-
"name": "label",
|
|
104507
|
-
"type": {
|
|
104508
|
-
"text": "SbbStepLabelElement | null"
|
|
104509
|
-
},
|
|
104510
|
-
"privacy": "public",
|
|
104511
|
-
"description": "The label of the step.",
|
|
104512
|
-
"readonly": true,
|
|
104513
|
-
"default": "null"
|
|
104514
|
-
},
|
|
104515
|
-
{
|
|
104516
|
-
"kind": "field",
|
|
104517
|
-
"name": "_label",
|
|
104518
|
-
"type": {
|
|
104519
|
-
"text": "SbbStepLabelElement | null"
|
|
104520
|
-
},
|
|
104521
|
-
"privacy": "private",
|
|
104522
|
-
"default": "null"
|
|
104523
|
-
},
|
|
104524
|
-
{
|
|
104525
|
-
"kind": "field",
|
|
104526
|
-
"name": "stepper",
|
|
104527
|
-
"type": {
|
|
104528
|
-
"text": "SbbStepperElement | null"
|
|
104529
|
-
},
|
|
104530
|
-
"privacy": "public",
|
|
104531
|
-
"readonly": true
|
|
104532
|
-
},
|
|
104533
|
-
{
|
|
104534
|
-
"kind": "field",
|
|
104535
|
-
"name": "_previousOrientation",
|
|
104536
|
-
"type": {
|
|
104537
|
-
"text": "string | undefined"
|
|
104538
|
-
},
|
|
104539
|
-
"privacy": "private"
|
|
104540
|
-
},
|
|
104541
|
-
{
|
|
104542
|
-
"kind": "method",
|
|
104543
|
-
"name": "_handleClick",
|
|
104544
|
-
"privacy": "private",
|
|
104545
|
-
"return": {
|
|
104546
|
-
"type": {
|
|
104547
|
-
"text": "void"
|
|
104548
|
-
}
|
|
104549
|
-
},
|
|
104550
|
-
"parameters": [
|
|
104551
|
-
{
|
|
104552
|
-
"name": "event",
|
|
104553
|
-
"type": {
|
|
104554
|
-
"text": "Event"
|
|
104555
|
-
}
|
|
104556
|
-
}
|
|
104557
|
-
],
|
|
104558
|
-
"description": "Watches for clicked elements with `sbb-stepper-next` or `sbb-stepper-previous` attributes."
|
|
104559
|
-
},
|
|
104560
|
-
{
|
|
104561
|
-
"kind": "method",
|
|
104562
|
-
"name": "_isGoNextElement",
|
|
104563
|
-
"privacy": "private",
|
|
104564
|
-
"return": {
|
|
104565
|
-
"type": {
|
|
104566
|
-
"text": "boolean"
|
|
104567
|
-
}
|
|
104568
|
-
},
|
|
104569
|
-
"parameters": [
|
|
104570
|
-
{
|
|
104571
|
-
"name": "element",
|
|
104572
|
-
"type": {
|
|
104573
|
-
"text": "HTMLElement"
|
|
104574
|
-
}
|
|
104575
|
-
}
|
|
104576
|
-
]
|
|
104577
|
-
},
|
|
104578
|
-
{
|
|
104579
|
-
"kind": "method",
|
|
104580
|
-
"name": "_isGoPreviousElement",
|
|
104581
|
-
"privacy": "private",
|
|
104582
|
-
"return": {
|
|
104583
|
-
"type": {
|
|
104584
|
-
"text": "boolean"
|
|
104585
|
-
}
|
|
104586
|
-
},
|
|
104587
|
-
"parameters": [
|
|
104588
|
-
{
|
|
104589
|
-
"name": "element",
|
|
104590
|
-
"type": {
|
|
104591
|
-
"text": "HTMLElement"
|
|
104592
|
-
}
|
|
104593
|
-
}
|
|
104594
|
-
]
|
|
104595
|
-
},
|
|
104596
|
-
{
|
|
104597
|
-
"kind": "method",
|
|
104598
|
-
"name": "_onStepElementResize",
|
|
104599
|
-
"privacy": "private",
|
|
104600
|
-
"return": {
|
|
104601
|
-
"type": {
|
|
104602
|
-
"text": "void"
|
|
104603
|
-
}
|
|
104604
|
-
}
|
|
104605
|
-
},
|
|
104606
|
-
{
|
|
104607
|
-
"kind": "method",
|
|
104608
|
-
"name": "_assignLabel",
|
|
104609
|
-
"privacy": "private",
|
|
104610
|
-
"return": {
|
|
104611
|
-
"type": {
|
|
104612
|
-
"text": "void"
|
|
104613
|
-
}
|
|
104614
|
-
}
|
|
104615
|
-
},
|
|
104616
|
-
{
|
|
104617
|
-
"kind": "method",
|
|
104618
|
-
"name": "toggleState",
|
|
104619
|
-
"privacy": "protected",
|
|
104620
|
-
"return": {
|
|
104621
|
-
"type": {
|
|
104622
|
-
"text": "void"
|
|
104623
|
-
}
|
|
104624
|
-
},
|
|
104625
|
-
"parameters": [
|
|
104626
|
-
{
|
|
104627
|
-
"name": "value",
|
|
104628
|
-
"type": {
|
|
104629
|
-
"text": "string"
|
|
104630
|
-
}
|
|
104631
|
-
},
|
|
104632
|
-
{
|
|
104633
|
-
"name": "force",
|
|
104634
|
-
"optional": true,
|
|
104635
|
-
"type": {
|
|
104636
|
-
"text": "boolean"
|
|
104637
|
-
}
|
|
104638
|
-
}
|
|
104639
|
-
],
|
|
104640
|
-
"inheritedFrom": {
|
|
104641
|
-
"name": "SbbElementInternalsMixin",
|
|
104642
|
-
"module": "core/mixins/element-internals-mixin.js"
|
|
104643
|
-
}
|
|
104644
|
-
}
|
|
104645
|
-
],
|
|
104646
|
-
"events": [
|
|
104647
|
-
{
|
|
104648
|
-
"name": "validate",
|
|
104649
|
-
"type": {
|
|
104650
|
-
"text": "CustomEvent<SbbStepValidateEventDetails>"
|
|
104651
|
-
},
|
|
104652
|
-
"description": "The validate event is dispatched when a step change is triggered. Can be canceled to abort the step change."
|
|
104653
|
-
}
|
|
104654
|
-
],
|
|
104655
|
-
"mixins": [
|
|
104656
|
-
{
|
|
104657
|
-
"name": "SbbElementInternalsMixin",
|
|
104658
|
-
"module": "core/mixins.js"
|
|
104659
|
-
}
|
|
104660
|
-
],
|
|
104661
|
-
"superclass": {
|
|
104662
|
-
"name": "LitElement",
|
|
104663
|
-
"package": "lit"
|
|
104664
|
-
},
|
|
104665
|
-
"tagName": "sbb-step",
|
|
104666
|
-
"customElement": true
|
|
104667
|
-
}
|
|
104668
|
-
],
|
|
104669
|
-
"exports": [
|
|
104670
|
-
{
|
|
104671
|
-
"kind": "js",
|
|
104672
|
-
"name": "SbbStepElement",
|
|
104673
|
-
"declaration": {
|
|
104674
|
-
"name": "SbbStepElement",
|
|
104675
|
-
"module": "stepper/step/step.component.js"
|
|
104676
|
-
}
|
|
104677
|
-
},
|
|
104678
|
-
{
|
|
104679
|
-
"kind": "custom-element-definition",
|
|
104680
|
-
"name": "sbb-step",
|
|
104681
|
-
"declaration": {
|
|
104682
|
-
"name": "SbbStepElement",
|
|
104683
|
-
"module": "stepper/step/step.component.js"
|
|
104684
|
-
}
|
|
104685
|
-
}
|
|
104686
|
-
]
|
|
104687
|
-
},
|
|
104688
104694
|
{
|
|
104689
104695
|
"kind": "javascript-module",
|
|
104690
104696
|
"path": "stepper/stepper/stepper.component.js",
|