@sbb-esta/lyne-elements-dev 4.6.0-dev.1772125127 → 4.6.0-dev.1772167310
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 +926 -926
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -103808,168 +103808,52 @@
|
|
|
103808
103808
|
},
|
|
103809
103809
|
{
|
|
103810
103810
|
"kind": "javascript-module",
|
|
103811
|
-
"path": "stepper/
|
|
103811
|
+
"path": "stepper/step-label/step-label.component.js",
|
|
103812
103812
|
"declarations": [
|
|
103813
103813
|
{
|
|
103814
103814
|
"kind": "class",
|
|
103815
|
-
"description": "",
|
|
103816
|
-
"name": "
|
|
103817
|
-
"members": [
|
|
103818
|
-
{
|
|
103819
|
-
"kind": "field",
|
|
103820
|
-
"name": "selectedIndex",
|
|
103821
|
-
"type": {
|
|
103822
|
-
"text": "number | null"
|
|
103823
|
-
},
|
|
103824
|
-
"privacy": "public",
|
|
103825
|
-
"readonly": true,
|
|
103826
|
-
"description": "The index of the newly selected step.",
|
|
103827
|
-
"default": "selectedIndex"
|
|
103828
|
-
},
|
|
103829
|
-
{
|
|
103830
|
-
"kind": "field",
|
|
103831
|
-
"name": "previousIndex",
|
|
103832
|
-
"type": {
|
|
103833
|
-
"text": "number | null"
|
|
103834
|
-
},
|
|
103835
|
-
"privacy": "public",
|
|
103836
|
-
"readonly": true,
|
|
103837
|
-
"description": "The index of the previously selected step.",
|
|
103838
|
-
"default": "previousIndex"
|
|
103839
|
-
},
|
|
103840
|
-
{
|
|
103841
|
-
"kind": "field",
|
|
103842
|
-
"name": "selectedStep",
|
|
103843
|
-
"type": {
|
|
103844
|
-
"text": "SbbStepElement | null"
|
|
103845
|
-
},
|
|
103846
|
-
"privacy": "public",
|
|
103847
|
-
"readonly": true,
|
|
103848
|
-
"description": "The newly selected step element.",
|
|
103849
|
-
"default": "selectedStep"
|
|
103850
|
-
},
|
|
103851
|
-
{
|
|
103852
|
-
"kind": "field",
|
|
103853
|
-
"name": "previousStep",
|
|
103854
|
-
"type": {
|
|
103855
|
-
"text": "SbbStepElement | null"
|
|
103856
|
-
},
|
|
103857
|
-
"privacy": "public",
|
|
103858
|
-
"readonly": true,
|
|
103859
|
-
"description": "The previously selected step element.",
|
|
103860
|
-
"default": "previousStep"
|
|
103861
|
-
}
|
|
103862
|
-
],
|
|
103863
|
-
"superclass": {
|
|
103864
|
-
"name": "Event",
|
|
103865
|
-
"module": "stepper/stepper/stepper.component.js"
|
|
103866
|
-
}
|
|
103867
|
-
},
|
|
103868
|
-
{
|
|
103869
|
-
"kind": "class",
|
|
103870
|
-
"description": "Provides a structured, step-by-step workflow for user interactions.",
|
|
103871
|
-
"name": "SbbStepperElement",
|
|
103815
|
+
"description": "Combined with a `sbb-stepper`, it displays a step's label.",
|
|
103816
|
+
"name": "SbbStepLabelElement",
|
|
103872
103817
|
"slots": [
|
|
103873
103818
|
{
|
|
103874
|
-
"description": "
|
|
103819
|
+
"description": "Use the unnamed slot to provide a label.",
|
|
103875
103820
|
"name": ""
|
|
103876
103821
|
},
|
|
103877
103822
|
{
|
|
103878
|
-
"description": "Use this
|
|
103879
|
-
"name": "
|
|
103880
|
-
},
|
|
103881
|
-
{
|
|
103882
|
-
"description": "Use this slot to provide an `sbb-step`.",
|
|
103883
|
-
"name": "step"
|
|
103823
|
+
"description": "Use this to display an icon in the label bubble.",
|
|
103824
|
+
"name": "icon"
|
|
103884
103825
|
}
|
|
103885
103826
|
],
|
|
103886
103827
|
"members": [
|
|
103887
103828
|
{
|
|
103888
103829
|
"kind": "field",
|
|
103889
|
-
"name": "
|
|
103830
|
+
"name": "role",
|
|
103831
|
+
"type": {
|
|
103832
|
+
"text": "string"
|
|
103833
|
+
},
|
|
103890
103834
|
"privacy": "public",
|
|
103891
103835
|
"static": true,
|
|
103892
103836
|
"readonly": true,
|
|
103893
|
-
"default": "
|
|
103894
|
-
"
|
|
103895
|
-
"
|
|
103837
|
+
"default": "'tab'",
|
|
103838
|
+
"inheritedFrom": {
|
|
103839
|
+
"name": "SbbButtonLikeBaseElement",
|
|
103840
|
+
"module": "core/base-elements/button-base-element.js"
|
|
103896
103841
|
}
|
|
103897
103842
|
},
|
|
103898
103843
|
{
|
|
103899
103844
|
"kind": "field",
|
|
103900
|
-
"name": "
|
|
103901
|
-
"privacy": "private",
|
|
103902
|
-
"default": "new IntersectionController(this, { target: null, callback: (entries) => { entries.forEach((e) => { if (e.intersectionRatio > 0) { this._setStepperHeight(this.selected); this._setMarkerSize(); } }); }, })",
|
|
103903
|
-
"description": "If the sbb-stepper is used in a sbb-dialog, the marker on the selected element will not appear,\nbecause the calculations are done when the dialog is closed, so the marker has a width of 0;\nthe same happens for the stepper height.\nWe need to recalculate it when the element becomes visible."
|
|
103904
|
-
},
|
|
103905
|
-
{
|
|
103906
|
-
"kind": "field",
|
|
103907
|
-
"name": "linear",
|
|
103845
|
+
"name": "step",
|
|
103908
103846
|
"type": {
|
|
103909
|
-
"text": "
|
|
103847
|
+
"text": "SbbStepElement | null"
|
|
103910
103848
|
},
|
|
103911
103849
|
"privacy": "public",
|
|
103912
|
-
"
|
|
103913
|
-
"
|
|
103914
|
-
"attribute": "linear"
|
|
103915
|
-
},
|
|
103916
|
-
{
|
|
103917
|
-
"kind": "field",
|
|
103918
|
-
"name": "horizontalFrom",
|
|
103919
|
-
"privacy": "public",
|
|
103920
|
-
"description": "Overrides the behavior of `orientation` property.",
|
|
103921
|
-
"type": {
|
|
103922
|
-
"text": "SbbHorizontalFrom | null"
|
|
103923
|
-
},
|
|
103924
|
-
"attribute": "horizontal-from",
|
|
103925
|
-
"reflects": true,
|
|
103926
|
-
"default": "null"
|
|
103927
|
-
},
|
|
103928
|
-
{
|
|
103929
|
-
"kind": "field",
|
|
103930
|
-
"name": "_horizontalFrom",
|
|
103931
|
-
"type": {
|
|
103932
|
-
"text": "SbbHorizontalFrom | null"
|
|
103933
|
-
},
|
|
103934
|
-
"privacy": "private",
|
|
103850
|
+
"description": "The step controlled by the label.",
|
|
103851
|
+
"readonly": true,
|
|
103935
103852
|
"default": "null"
|
|
103936
103853
|
},
|
|
103937
103854
|
{
|
|
103938
103855
|
"kind": "field",
|
|
103939
|
-
"name": "
|
|
103940
|
-
"type": {
|
|
103941
|
-
"text": "SbbOrientation"
|
|
103942
|
-
},
|
|
103943
|
-
"privacy": "public",
|
|
103944
|
-
"default": "'horizontal'",
|
|
103945
|
-
"description": "Steps orientation, either horizontal or vertical.",
|
|
103946
|
-
"attribute": "orientation",
|
|
103947
|
-
"reflects": true
|
|
103948
|
-
},
|
|
103949
|
-
{
|
|
103950
|
-
"kind": "field",
|
|
103951
|
-
"name": "size",
|
|
103952
|
-
"type": {
|
|
103953
|
-
"text": "'s' | 'm'"
|
|
103954
|
-
},
|
|
103955
|
-
"privacy": "public",
|
|
103956
|
-
"description": "Size variant, either s or m.",
|
|
103957
|
-
"default": "'m' / 's' (lean)",
|
|
103958
|
-
"attribute": "size",
|
|
103959
|
-
"reflects": true
|
|
103960
|
-
},
|
|
103961
|
-
{
|
|
103962
|
-
"kind": "field",
|
|
103963
|
-
"name": "selected",
|
|
103964
|
-
"privacy": "public",
|
|
103965
|
-
"description": "The currently selected step.",
|
|
103966
|
-
"type": {
|
|
103967
|
-
"text": "SbbStepElement | null"
|
|
103968
|
-
}
|
|
103969
|
-
},
|
|
103970
|
-
{
|
|
103971
|
-
"kind": "field",
|
|
103972
|
-
"name": "_requestedSelected",
|
|
103856
|
+
"name": "_step",
|
|
103973
103857
|
"type": {
|
|
103974
103858
|
"text": "SbbStepElement | null"
|
|
103975
103859
|
},
|
|
@@ -103978,309 +103862,251 @@
|
|
|
103978
103862
|
},
|
|
103979
103863
|
{
|
|
103980
103864
|
"kind": "field",
|
|
103981
|
-
"name": "
|
|
103982
|
-
"privacy": "public",
|
|
103983
|
-
"description": "The currently selected step index.",
|
|
103984
|
-
"type": {
|
|
103985
|
-
"text": "number | null"
|
|
103986
|
-
},
|
|
103987
|
-
"attribute": "selected-index"
|
|
103988
|
-
},
|
|
103989
|
-
{
|
|
103990
|
-
"kind": "field",
|
|
103991
|
-
"name": "_requestedSelectedIndex",
|
|
103992
|
-
"type": {
|
|
103993
|
-
"text": "number | null"
|
|
103994
|
-
},
|
|
103995
|
-
"privacy": "private",
|
|
103996
|
-
"default": "null"
|
|
103997
|
-
},
|
|
103998
|
-
{
|
|
103999
|
-
"kind": "field",
|
|
104000
|
-
"name": "steps",
|
|
103865
|
+
"name": "stepper",
|
|
104001
103866
|
"type": {
|
|
104002
|
-
"text": "
|
|
103867
|
+
"text": "SbbStepperElement | null"
|
|
104003
103868
|
},
|
|
104004
103869
|
"privacy": "public",
|
|
104005
|
-
"description": "The steps of the stepper.",
|
|
104006
|
-
"readonly": true
|
|
104007
|
-
},
|
|
104008
|
-
{
|
|
104009
|
-
"kind": "field",
|
|
104010
|
-
"name": "_enabledSteps",
|
|
104011
|
-
"type": {
|
|
104012
|
-
"text": "SbbStepElement[]"
|
|
104013
|
-
},
|
|
104014
|
-
"privacy": "private",
|
|
104015
103870
|
"readonly": true
|
|
104016
103871
|
},
|
|
104017
103872
|
{
|
|
104018
103873
|
"kind": "field",
|
|
104019
|
-
"name": "
|
|
103874
|
+
"name": "disabled",
|
|
103875
|
+
"privacy": "public",
|
|
103876
|
+
"description": "Whether the component is disabled.",
|
|
103877
|
+
"default": "false",
|
|
104020
103878
|
"type": {
|
|
104021
103879
|
"text": "boolean"
|
|
104022
103880
|
},
|
|
104023
|
-
"
|
|
104024
|
-
"
|
|
103881
|
+
"attribute": "disabled",
|
|
103882
|
+
"reflects": true,
|
|
103883
|
+
"inheritedFrom": {
|
|
103884
|
+
"name": "SbbDisabledMixin",
|
|
103885
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
103886
|
+
}
|
|
104025
103887
|
},
|
|
104026
103888
|
{
|
|
104027
103889
|
"kind": "field",
|
|
104028
|
-
"name": "
|
|
103890
|
+
"name": "_previousOrientation",
|
|
104029
103891
|
"type": {
|
|
104030
|
-
"text": "
|
|
103892
|
+
"text": "string | undefined"
|
|
104031
103893
|
},
|
|
104032
|
-
"privacy": "private"
|
|
104033
|
-
"default": "null"
|
|
103894
|
+
"privacy": "private"
|
|
104034
103895
|
},
|
|
104035
103896
|
{
|
|
104036
103897
|
"kind": "field",
|
|
104037
|
-
"name": "
|
|
104038
|
-
"
|
|
104039
|
-
|
|
104040
|
-
},
|
|
104041
|
-
{
|
|
104042
|
-
"kind": "method",
|
|
104043
|
-
"name": "next",
|
|
104044
|
-
"privacy": "public",
|
|
104045
|
-
"return": {
|
|
104046
|
-
"type": {
|
|
104047
|
-
"text": "void"
|
|
104048
|
-
}
|
|
104049
|
-
},
|
|
104050
|
-
"description": "Selects the next step."
|
|
104051
|
-
},
|
|
104052
|
-
{
|
|
104053
|
-
"kind": "method",
|
|
104054
|
-
"name": "previous",
|
|
104055
|
-
"privacy": "public",
|
|
104056
|
-
"return": {
|
|
104057
|
-
"type": {
|
|
104058
|
-
"text": "void"
|
|
104059
|
-
}
|
|
104060
|
-
},
|
|
104061
|
-
"description": "Selects the previous step."
|
|
104062
|
-
},
|
|
104063
|
-
{
|
|
104064
|
-
"kind": "method",
|
|
104065
|
-
"name": "reset",
|
|
104066
|
-
"privacy": "public",
|
|
104067
|
-
"return": {
|
|
104068
|
-
"type": {
|
|
104069
|
-
"text": "void"
|
|
104070
|
-
}
|
|
103898
|
+
"name": "_previousSize",
|
|
103899
|
+
"type": {
|
|
103900
|
+
"text": "string | undefined"
|
|
104071
103901
|
},
|
|
104072
|
-
"
|
|
103902
|
+
"privacy": "private"
|
|
104073
103903
|
},
|
|
104074
103904
|
{
|
|
104075
103905
|
"kind": "method",
|
|
104076
|
-
"name": "
|
|
103906
|
+
"name": "_isNotDeactivatedByLinearMode",
|
|
104077
103907
|
"privacy": "private",
|
|
104078
103908
|
"return": {
|
|
104079
103909
|
"type": {
|
|
104080
|
-
"text": "
|
|
103910
|
+
"text": "boolean"
|
|
104081
103911
|
}
|
|
104082
103912
|
},
|
|
104083
103913
|
"parameters": [
|
|
104084
103914
|
{
|
|
104085
103915
|
"name": "step",
|
|
104086
103916
|
"type": {
|
|
104087
|
-
"text": "SbbStepElement
|
|
103917
|
+
"text": "SbbStepElement"
|
|
104088
103918
|
}
|
|
104089
103919
|
}
|
|
104090
103920
|
]
|
|
104091
103921
|
},
|
|
104092
103922
|
{
|
|
104093
103923
|
"kind": "method",
|
|
104094
|
-
"name": "
|
|
103924
|
+
"name": "_assignStep",
|
|
104095
103925
|
"privacy": "private",
|
|
104096
103926
|
"return": {
|
|
104097
103927
|
"type": {
|
|
104098
103928
|
"text": "void"
|
|
104099
103929
|
}
|
|
104100
|
-
}
|
|
104101
|
-
"parameters": [
|
|
104102
|
-
{
|
|
104103
|
-
"name": "step",
|
|
104104
|
-
"type": {
|
|
104105
|
-
"text": "SbbStepElement | null"
|
|
104106
|
-
}
|
|
104107
|
-
}
|
|
104108
|
-
]
|
|
103930
|
+
}
|
|
104109
103931
|
},
|
|
104110
103932
|
{
|
|
104111
|
-
"kind": "
|
|
104112
|
-
"name": "
|
|
104113
|
-
"
|
|
104114
|
-
|
|
104115
|
-
|
|
104116
|
-
|
|
104117
|
-
|
|
103933
|
+
"kind": "field",
|
|
103934
|
+
"name": "iconName",
|
|
103935
|
+
"type": {
|
|
103936
|
+
"text": "string"
|
|
103937
|
+
},
|
|
103938
|
+
"privacy": "public",
|
|
103939
|
+
"default": "''",
|
|
103940
|
+
"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.",
|
|
103941
|
+
"attribute": "icon-name",
|
|
103942
|
+
"inheritedFrom": {
|
|
103943
|
+
"name": "SbbIconNameMixin",
|
|
103944
|
+
"module": "icon/icon-name-mixin.js"
|
|
104118
103945
|
}
|
|
104119
103946
|
},
|
|
104120
103947
|
{
|
|
104121
103948
|
"kind": "method",
|
|
104122
|
-
"name": "
|
|
104123
|
-
"privacy": "
|
|
103949
|
+
"name": "renderIconSlot",
|
|
103950
|
+
"privacy": "protected",
|
|
104124
103951
|
"return": {
|
|
104125
103952
|
"type": {
|
|
104126
|
-
"text": "
|
|
103953
|
+
"text": "TemplateResult"
|
|
104127
103954
|
}
|
|
104128
103955
|
},
|
|
104129
103956
|
"parameters": [
|
|
104130
103957
|
{
|
|
104131
|
-
"name": "
|
|
103958
|
+
"name": "classname",
|
|
103959
|
+
"optional": true,
|
|
104132
103960
|
"type": {
|
|
104133
|
-
"text": "
|
|
103961
|
+
"text": "string"
|
|
104134
103962
|
}
|
|
104135
103963
|
}
|
|
104136
103964
|
],
|
|
104137
|
-
"
|
|
104138
|
-
|
|
104139
|
-
|
|
104140
|
-
"kind": "method",
|
|
104141
|
-
"name": "_calculateLabelOffsetTop",
|
|
104142
|
-
"privacy": "private",
|
|
104143
|
-
"return": {
|
|
104144
|
-
"type": {
|
|
104145
|
-
"text": "number | undefined"
|
|
104146
|
-
}
|
|
103965
|
+
"inheritedFrom": {
|
|
103966
|
+
"name": "SbbIconNameMixin",
|
|
103967
|
+
"module": "icon/icon-name-mixin.js"
|
|
104147
103968
|
}
|
|
104148
103969
|
},
|
|
104149
103970
|
{
|
|
104150
103971
|
"kind": "method",
|
|
104151
|
-
"name": "
|
|
104152
|
-
"privacy": "
|
|
103972
|
+
"name": "renderIconName",
|
|
103973
|
+
"privacy": "protected",
|
|
104153
103974
|
"return": {
|
|
104154
103975
|
"type": {
|
|
104155
|
-
"text": "
|
|
103976
|
+
"text": "string"
|
|
104156
103977
|
}
|
|
104157
103978
|
},
|
|
104158
|
-
"
|
|
104159
|
-
|
|
104160
|
-
|
|
104161
|
-
|
|
104162
|
-
"text": "Event"
|
|
104163
|
-
}
|
|
104164
|
-
}
|
|
104165
|
-
]
|
|
103979
|
+
"inheritedFrom": {
|
|
103980
|
+
"name": "SbbIconNameMixin",
|
|
103981
|
+
"module": "icon/icon-name-mixin.js"
|
|
103982
|
+
}
|
|
104166
103983
|
},
|
|
104167
103984
|
{
|
|
104168
103985
|
"kind": "method",
|
|
104169
|
-
"name": "
|
|
103986
|
+
"name": "_renderIconName",
|
|
104170
103987
|
"privacy": "private",
|
|
104171
103988
|
"return": {
|
|
104172
103989
|
"type": {
|
|
104173
|
-
"text": "
|
|
103990
|
+
"text": "string"
|
|
104174
103991
|
}
|
|
103992
|
+
},
|
|
103993
|
+
"inheritedFrom": {
|
|
103994
|
+
"name": "SbbIconNameMixin",
|
|
103995
|
+
"module": "icon/icon-name-mixin.js"
|
|
104175
103996
|
}
|
|
104176
103997
|
},
|
|
104177
103998
|
{
|
|
104178
|
-
"kind": "
|
|
104179
|
-
"name": "
|
|
103999
|
+
"kind": "field",
|
|
104000
|
+
"name": "#disabled",
|
|
104180
104001
|
"privacy": "private",
|
|
104181
|
-
"
|
|
104182
|
-
"
|
|
104183
|
-
|
|
104184
|
-
|
|
104002
|
+
"type": {
|
|
104003
|
+
"text": "boolean"
|
|
104004
|
+
},
|
|
104005
|
+
"default": "false",
|
|
104006
|
+
"inheritedFrom": {
|
|
104007
|
+
"name": "SbbDisabledMixin",
|
|
104008
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
104185
104009
|
}
|
|
104186
104010
|
},
|
|
104187
104011
|
{
|
|
104188
104012
|
"kind": "method",
|
|
104189
|
-
"name": "
|
|
104190
|
-
"privacy": "
|
|
104013
|
+
"name": "isDisabledExternally",
|
|
104014
|
+
"privacy": "protected",
|
|
104191
104015
|
"return": {
|
|
104192
104016
|
"type": {
|
|
104193
|
-
"text": "
|
|
104017
|
+
"text": "boolean"
|
|
104194
104018
|
}
|
|
104019
|
+
},
|
|
104020
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
104021
|
+
"inheritedFrom": {
|
|
104022
|
+
"name": "SbbDisabledMixin",
|
|
104023
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
104195
104024
|
}
|
|
104196
104025
|
},
|
|
104197
104026
|
{
|
|
104198
104027
|
"kind": "field",
|
|
104199
|
-
"name": "
|
|
104200
|
-
"
|
|
104201
|
-
|
|
104202
|
-
|
|
104203
|
-
"kind": "method",
|
|
104204
|
-
"name": "_configureLinearMode",
|
|
104028
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
104029
|
+
"type": {
|
|
104030
|
+
"text": "array"
|
|
104031
|
+
},
|
|
104205
104032
|
"privacy": "private",
|
|
104206
|
-
"
|
|
104207
|
-
|
|
104208
|
-
|
|
104209
|
-
|
|
104033
|
+
"readonly": true,
|
|
104034
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
104035
|
+
"inheritedFrom": {
|
|
104036
|
+
"name": "SbbButtonBaseElement",
|
|
104037
|
+
"module": "core/base-elements/button-base-element.js"
|
|
104210
104038
|
}
|
|
104211
104039
|
},
|
|
104212
104040
|
{
|
|
104213
|
-
"kind": "
|
|
104214
|
-
"name": "
|
|
104215
|
-
"
|
|
104216
|
-
|
|
104217
|
-
"type": {
|
|
104218
|
-
"text": "void"
|
|
104219
|
-
}
|
|
104041
|
+
"kind": "field",
|
|
104042
|
+
"name": "value",
|
|
104043
|
+
"type": {
|
|
104044
|
+
"text": "string"
|
|
104220
104045
|
},
|
|
104221
|
-
"
|
|
104222
|
-
|
|
104223
|
-
|
|
104224
|
-
|
|
104225
|
-
|
|
104226
|
-
|
|
104227
|
-
|
|
104228
|
-
|
|
104046
|
+
"privacy": "public",
|
|
104047
|
+
"inheritedFrom": {
|
|
104048
|
+
"name": "SbbButtonBaseElement",
|
|
104049
|
+
"module": "core/base-elements/button-base-element.js"
|
|
104050
|
+
},
|
|
104051
|
+
"default": "''",
|
|
104052
|
+
"description": "Value of the form element.",
|
|
104053
|
+
"attribute": "value"
|
|
104229
104054
|
},
|
|
104230
104055
|
{
|
|
104231
104056
|
"kind": "field",
|
|
104232
|
-
"name": "
|
|
104057
|
+
"name": "type",
|
|
104058
|
+
"privacy": "public",
|
|
104059
|
+
"description": "The type attribute to use for the button.",
|
|
104060
|
+
"default": "'button'",
|
|
104233
104061
|
"type": {
|
|
104234
|
-
"text": "
|
|
104062
|
+
"text": "SbbButtonType"
|
|
104235
104063
|
},
|
|
104236
|
-
"
|
|
104237
|
-
"default": "!!this.shadowRoot",
|
|
104064
|
+
"attribute": "type",
|
|
104238
104065
|
"inheritedFrom": {
|
|
104239
|
-
"name": "
|
|
104240
|
-
"module": "core/
|
|
104066
|
+
"name": "SbbButtonBaseElement",
|
|
104067
|
+
"module": "core/base-elements/button-base-element.js"
|
|
104241
104068
|
}
|
|
104242
104069
|
},
|
|
104243
104070
|
{
|
|
104244
104071
|
"kind": "field",
|
|
104245
|
-
"name": "
|
|
104246
|
-
"
|
|
104247
|
-
|
|
104072
|
+
"name": "form",
|
|
104073
|
+
"type": {
|
|
104074
|
+
"text": "HTMLFormElement | null"
|
|
104075
|
+
},
|
|
104076
|
+
"privacy": "public",
|
|
104077
|
+
"description": "The `<form>` element to associate the button with.",
|
|
104248
104078
|
"inheritedFrom": {
|
|
104249
|
-
"name": "
|
|
104250
|
-
"module": "core/
|
|
104251
|
-
}
|
|
104079
|
+
"name": "SbbButtonBaseElement",
|
|
104080
|
+
"module": "core/base-elements/button-base-element.js"
|
|
104081
|
+
},
|
|
104082
|
+
"attribute": "form"
|
|
104252
104083
|
},
|
|
104253
104084
|
{
|
|
104254
104085
|
"kind": "field",
|
|
104255
|
-
"name": "
|
|
104086
|
+
"name": "_formId",
|
|
104256
104087
|
"type": {
|
|
104257
|
-
"text": "
|
|
104088
|
+
"text": "string"
|
|
104258
104089
|
},
|
|
104259
104090
|
"privacy": "private",
|
|
104091
|
+
"default": "''",
|
|
104260
104092
|
"inheritedFrom": {
|
|
104261
|
-
"name": "
|
|
104262
|
-
"module": "core/
|
|
104093
|
+
"name": "SbbButtonBaseElement",
|
|
104094
|
+
"module": "core/base-elements/button-base-element.js"
|
|
104263
104095
|
}
|
|
104264
104096
|
},
|
|
104265
104097
|
{
|
|
104266
104098
|
"kind": "field",
|
|
104267
|
-
"name": "
|
|
104268
|
-
"
|
|
104269
|
-
"text": "boolean"
|
|
104270
|
-
},
|
|
104271
|
-
"privacy": "protected",
|
|
104272
|
-
"description": "Returns whether hydration is required and not completed.",
|
|
104273
|
-
"readonly": true,
|
|
104099
|
+
"name": "_handleButtonClick",
|
|
104100
|
+
"privacy": "private",
|
|
104274
104101
|
"inheritedFrom": {
|
|
104275
|
-
"name": "
|
|
104276
|
-
"module": "core/
|
|
104277
|
-
}
|
|
104278
|
-
"default": "!!this.shadowRoot"
|
|
104102
|
+
"name": "SbbButtonBaseElement",
|
|
104103
|
+
"module": "core/base-elements/button-base-element.js"
|
|
104104
|
+
}
|
|
104279
104105
|
},
|
|
104280
104106
|
{
|
|
104281
104107
|
"kind": "method",
|
|
104282
|
-
"name": "
|
|
104283
|
-
"privacy": "
|
|
104108
|
+
"name": "_requestSubmit",
|
|
104109
|
+
"privacy": "private",
|
|
104284
104110
|
"return": {
|
|
104285
104111
|
"type": {
|
|
104286
104112
|
"text": "void"
|
|
@@ -104288,433 +104114,381 @@
|
|
|
104288
104114
|
},
|
|
104289
104115
|
"parameters": [
|
|
104290
104116
|
{
|
|
104291
|
-
"name": "
|
|
104292
|
-
"type": {
|
|
104293
|
-
"text": "string"
|
|
104294
|
-
}
|
|
104295
|
-
},
|
|
104296
|
-
{
|
|
104297
|
-
"name": "force",
|
|
104298
|
-
"optional": true,
|
|
104117
|
+
"name": "form",
|
|
104299
104118
|
"type": {
|
|
104300
|
-
"text": "
|
|
104119
|
+
"text": "HTMLFormElement"
|
|
104301
104120
|
}
|
|
104302
104121
|
}
|
|
104303
104122
|
],
|
|
104304
104123
|
"inheritedFrom": {
|
|
104305
|
-
"name": "
|
|
104306
|
-
"module": "core/
|
|
104124
|
+
"name": "SbbButtonBaseElement",
|
|
104125
|
+
"module": "core/base-elements/button-base-element.js"
|
|
104307
104126
|
}
|
|
104308
|
-
}
|
|
104309
|
-
],
|
|
104310
|
-
"events": [
|
|
104127
|
+
},
|
|
104311
104128
|
{
|
|
104312
|
-
"
|
|
104313
|
-
|
|
104314
|
-
|
|
104315
|
-
"
|
|
104316
|
-
|
|
104317
|
-
|
|
104318
|
-
|
|
104319
|
-
|
|
104129
|
+
"kind": "field",
|
|
104130
|
+
"name": "_formKeyDown",
|
|
104131
|
+
"privacy": "private",
|
|
104132
|
+
"inheritedFrom": {
|
|
104133
|
+
"name": "SbbButtonBaseElement",
|
|
104134
|
+
"module": "core/base-elements/button-base-element.js"
|
|
104135
|
+
}
|
|
104136
|
+
},
|
|
104320
104137
|
{
|
|
104321
|
-
"
|
|
104138
|
+
"kind": "field",
|
|
104139
|
+
"name": "formAssociated",
|
|
104322
104140
|
"type": {
|
|
104323
104141
|
"text": "boolean"
|
|
104324
104142
|
},
|
|
104325
|
-
"
|
|
104326
|
-
"
|
|
104327
|
-
"
|
|
104143
|
+
"privacy": "public",
|
|
104144
|
+
"static": true,
|
|
104145
|
+
"default": "true",
|
|
104146
|
+
"inheritedFrom": {
|
|
104147
|
+
"name": "SbbFormAssociatedMixin",
|
|
104148
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
104149
|
+
}
|
|
104328
104150
|
},
|
|
104329
|
-
{
|
|
104330
|
-
"name": "horizontal-from",
|
|
104331
|
-
"description": "Overrides the behavior of `orientation` property.",
|
|
104332
|
-
"type": {
|
|
104333
|
-
"text": "SbbHorizontalFrom | null"
|
|
104334
|
-
},
|
|
104335
|
-
"fieldName": "horizontalFrom"
|
|
104336
|
-
},
|
|
104337
|
-
{
|
|
104338
|
-
"name": "orientation",
|
|
104339
|
-
"type": {
|
|
104340
|
-
"text": "SbbOrientation"
|
|
104341
|
-
},
|
|
104342
|
-
"default": "'horizontal'",
|
|
104343
|
-
"description": "Steps orientation, either horizontal or vertical.",
|
|
104344
|
-
"fieldName": "orientation"
|
|
104345
|
-
},
|
|
104346
|
-
{
|
|
104347
|
-
"name": "size",
|
|
104348
|
-
"type": {
|
|
104349
|
-
"text": "'s' | 'm'"
|
|
104350
|
-
},
|
|
104351
|
-
"description": "Size variant, either s or m.",
|
|
104352
|
-
"default": "'m' / 's' (lean)",
|
|
104353
|
-
"fieldName": "size"
|
|
104354
|
-
},
|
|
104355
|
-
{
|
|
104356
|
-
"name": "selected-index",
|
|
104357
|
-
"description": "The currently selected step index.",
|
|
104358
|
-
"type": {
|
|
104359
|
-
"text": "number | null"
|
|
104360
|
-
},
|
|
104361
|
-
"fieldName": "selectedIndex"
|
|
104362
|
-
}
|
|
104363
|
-
],
|
|
104364
|
-
"mixins": [
|
|
104365
|
-
{
|
|
104366
|
-
"name": "SbbHydrationMixin",
|
|
104367
|
-
"module": "core/mixins.js"
|
|
104368
|
-
},
|
|
104369
|
-
{
|
|
104370
|
-
"name": "SbbElementInternalsMixin",
|
|
104371
|
-
"module": "core/mixins.js"
|
|
104372
|
-
}
|
|
104373
|
-
],
|
|
104374
|
-
"superclass": {
|
|
104375
|
-
"name": "LitElement",
|
|
104376
|
-
"package": "lit"
|
|
104377
|
-
},
|
|
104378
|
-
"tagName": "sbb-stepper",
|
|
104379
|
-
"customElement": true
|
|
104380
|
-
},
|
|
104381
|
-
{
|
|
104382
|
-
"kind": "variable",
|
|
104383
|
-
"name": "currentIndex"
|
|
104384
|
-
},
|
|
104385
|
-
{
|
|
104386
|
-
"kind": "variable",
|
|
104387
|
-
"name": "currentStep"
|
|
104388
|
-
}
|
|
104389
|
-
],
|
|
104390
|
-
"exports": [
|
|
104391
|
-
{
|
|
104392
|
-
"kind": "js",
|
|
104393
|
-
"name": "SbbStepChangeEvent",
|
|
104394
|
-
"declaration": {
|
|
104395
|
-
"name": "SbbStepChangeEvent",
|
|
104396
|
-
"module": "stepper/stepper/stepper.component.js"
|
|
104397
|
-
}
|
|
104398
|
-
},
|
|
104399
|
-
{
|
|
104400
|
-
"kind": "js",
|
|
104401
|
-
"name": "SbbStepperElement",
|
|
104402
|
-
"declaration": {
|
|
104403
|
-
"name": "SbbStepperElement",
|
|
104404
|
-
"module": "stepper/stepper/stepper.component.js"
|
|
104405
|
-
}
|
|
104406
|
-
},
|
|
104407
|
-
{
|
|
104408
|
-
"kind": "custom-element-definition",
|
|
104409
|
-
"name": "sbb-stepper",
|
|
104410
|
-
"declaration": {
|
|
104411
|
-
"name": "SbbStepperElement",
|
|
104412
|
-
"module": "stepper/stepper/stepper.component.js"
|
|
104413
|
-
}
|
|
104414
|
-
}
|
|
104415
|
-
]
|
|
104416
|
-
},
|
|
104417
|
-
{
|
|
104418
|
-
"kind": "javascript-module",
|
|
104419
|
-
"path": "stepper/step-label/step-label.component.js",
|
|
104420
|
-
"declarations": [
|
|
104421
|
-
{
|
|
104422
|
-
"kind": "class",
|
|
104423
|
-
"description": "Combined with a `sbb-stepper`, it displays a step's label.",
|
|
104424
|
-
"name": "SbbStepLabelElement",
|
|
104425
|
-
"slots": [
|
|
104426
|
-
{
|
|
104427
|
-
"description": "Use the unnamed slot to provide a label.",
|
|
104428
|
-
"name": ""
|
|
104429
|
-
},
|
|
104430
|
-
{
|
|
104431
|
-
"description": "Use this to display an icon in the label bubble.",
|
|
104432
|
-
"name": "icon"
|
|
104433
|
-
}
|
|
104434
|
-
],
|
|
104435
|
-
"members": [
|
|
104436
104151
|
{
|
|
104437
104152
|
"kind": "field",
|
|
104438
|
-
"name": "
|
|
104153
|
+
"name": "name",
|
|
104154
|
+
"privacy": "public",
|
|
104155
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
104439
104156
|
"type": {
|
|
104440
104157
|
"text": "string"
|
|
104441
104158
|
},
|
|
104442
|
-
"
|
|
104443
|
-
"static": true,
|
|
104444
|
-
"readonly": true,
|
|
104445
|
-
"default": "'tab'",
|
|
104159
|
+
"attribute": "name",
|
|
104446
104160
|
"inheritedFrom": {
|
|
104447
|
-
"name": "
|
|
104448
|
-
"module": "core/
|
|
104161
|
+
"name": "SbbFormAssociatedMixin",
|
|
104162
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
104449
104163
|
}
|
|
104450
104164
|
},
|
|
104451
104165
|
{
|
|
104452
104166
|
"kind": "field",
|
|
104453
|
-
"name": "
|
|
104167
|
+
"name": "validity",
|
|
104454
104168
|
"type": {
|
|
104455
|
-
"text": "
|
|
104169
|
+
"text": "ValidityState"
|
|
104456
104170
|
},
|
|
104457
104171
|
"privacy": "public",
|
|
104458
|
-
"description": "
|
|
104172
|
+
"description": "Returns the ValidityState object for this element.",
|
|
104459
104173
|
"readonly": true,
|
|
104460
|
-
"
|
|
104461
|
-
|
|
104462
|
-
|
|
104463
|
-
|
|
104464
|
-
"name": "_step",
|
|
104465
|
-
"type": {
|
|
104466
|
-
"text": "SbbStepElement | null"
|
|
104467
|
-
},
|
|
104468
|
-
"privacy": "private",
|
|
104469
|
-
"default": "null"
|
|
104174
|
+
"inheritedFrom": {
|
|
104175
|
+
"name": "SbbFormAssociatedMixin",
|
|
104176
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
104177
|
+
}
|
|
104470
104178
|
},
|
|
104471
104179
|
{
|
|
104472
104180
|
"kind": "field",
|
|
104473
|
-
"name": "
|
|
104181
|
+
"name": "validationMessage",
|
|
104474
104182
|
"type": {
|
|
104475
|
-
"text": "
|
|
104183
|
+
"text": "string"
|
|
104476
104184
|
},
|
|
104477
104185
|
"privacy": "public",
|
|
104478
|
-
"
|
|
104186
|
+
"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.",
|
|
104187
|
+
"readonly": true,
|
|
104188
|
+
"inheritedFrom": {
|
|
104189
|
+
"name": "SbbFormAssociatedMixin",
|
|
104190
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
104191
|
+
}
|
|
104479
104192
|
},
|
|
104480
104193
|
{
|
|
104481
104194
|
"kind": "field",
|
|
104482
|
-
"name": "
|
|
104483
|
-
"privacy": "public",
|
|
104484
|
-
"description": "Whether the component is disabled.",
|
|
104485
|
-
"default": "false",
|
|
104195
|
+
"name": "willValidate",
|
|
104486
104196
|
"type": {
|
|
104487
104197
|
"text": "boolean"
|
|
104488
104198
|
},
|
|
104489
|
-
"
|
|
104490
|
-
"
|
|
104199
|
+
"privacy": "public",
|
|
104200
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
104201
|
+
"readonly": true,
|
|
104491
104202
|
"inheritedFrom": {
|
|
104492
|
-
"name": "
|
|
104493
|
-
"module": "core/mixins/
|
|
104203
|
+
"name": "SbbFormAssociatedMixin",
|
|
104204
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
104494
104205
|
}
|
|
104495
104206
|
},
|
|
104496
104207
|
{
|
|
104497
104208
|
"kind": "field",
|
|
104498
|
-
"name": "
|
|
104499
|
-
"
|
|
104500
|
-
|
|
104501
|
-
|
|
104502
|
-
|
|
104209
|
+
"name": "_validityStates",
|
|
104210
|
+
"privacy": "private",
|
|
104211
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
104212
|
+
"inheritedFrom": {
|
|
104213
|
+
"name": "SbbFormAssociatedMixin",
|
|
104214
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
104215
|
+
}
|
|
104503
104216
|
},
|
|
104504
104217
|
{
|
|
104505
104218
|
"kind": "field",
|
|
104506
|
-
"name": "
|
|
104219
|
+
"name": "formDisabled",
|
|
104507
104220
|
"type": {
|
|
104508
|
-
"text": "
|
|
104221
|
+
"text": "boolean"
|
|
104509
104222
|
},
|
|
104510
|
-
"privacy": "
|
|
104223
|
+
"privacy": "protected",
|
|
104224
|
+
"default": "false",
|
|
104225
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
104226
|
+
"inheritedFrom": {
|
|
104227
|
+
"name": "SbbFormAssociatedMixin",
|
|
104228
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
104229
|
+
}
|
|
104511
104230
|
},
|
|
104512
104231
|
{
|
|
104513
104232
|
"kind": "method",
|
|
104514
|
-
"name": "
|
|
104515
|
-
"privacy": "
|
|
104233
|
+
"name": "checkValidity",
|
|
104234
|
+
"privacy": "public",
|
|
104516
104235
|
"return": {
|
|
104517
104236
|
"type": {
|
|
104518
104237
|
"text": "boolean"
|
|
104519
104238
|
}
|
|
104520
104239
|
},
|
|
104521
|
-
"
|
|
104522
|
-
|
|
104523
|
-
|
|
104524
|
-
|
|
104525
|
-
|
|
104526
|
-
}
|
|
104527
|
-
}
|
|
104528
|
-
]
|
|
104240
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
104241
|
+
"inheritedFrom": {
|
|
104242
|
+
"name": "SbbFormAssociatedMixin",
|
|
104243
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
104244
|
+
}
|
|
104529
104245
|
},
|
|
104530
104246
|
{
|
|
104531
104247
|
"kind": "method",
|
|
104532
|
-
"name": "
|
|
104533
|
-
"privacy": "
|
|
104248
|
+
"name": "reportValidity",
|
|
104249
|
+
"privacy": "public",
|
|
104534
104250
|
"return": {
|
|
104535
104251
|
"type": {
|
|
104536
|
-
"text": "
|
|
104252
|
+
"text": "boolean"
|
|
104537
104253
|
}
|
|
104538
|
-
}
|
|
104539
|
-
},
|
|
104540
|
-
{
|
|
104541
|
-
"kind": "field",
|
|
104542
|
-
"name": "iconName",
|
|
104543
|
-
"type": {
|
|
104544
|
-
"text": "string"
|
|
104545
104254
|
},
|
|
104546
|
-
"
|
|
104547
|
-
"default": "''",
|
|
104548
|
-
"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.",
|
|
104549
|
-
"attribute": "icon-name",
|
|
104255
|
+
"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.",
|
|
104550
104256
|
"inheritedFrom": {
|
|
104551
|
-
"name": "
|
|
104552
|
-
"module": "
|
|
104257
|
+
"name": "SbbFormAssociatedMixin",
|
|
104258
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
104553
104259
|
}
|
|
104554
104260
|
},
|
|
104555
104261
|
{
|
|
104556
104262
|
"kind": "method",
|
|
104557
|
-
"name": "
|
|
104558
|
-
"privacy": "
|
|
104263
|
+
"name": "setCustomValidity",
|
|
104264
|
+
"privacy": "public",
|
|
104559
104265
|
"return": {
|
|
104560
104266
|
"type": {
|
|
104561
|
-
"text": "
|
|
104267
|
+
"text": "void"
|
|
104562
104268
|
}
|
|
104563
104269
|
},
|
|
104564
104270
|
"parameters": [
|
|
104565
104271
|
{
|
|
104566
|
-
"name": "
|
|
104567
|
-
"optional": true,
|
|
104272
|
+
"name": "message",
|
|
104568
104273
|
"type": {
|
|
104569
104274
|
"text": "string"
|
|
104570
104275
|
}
|
|
104571
104276
|
}
|
|
104572
104277
|
],
|
|
104278
|
+
"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.",
|
|
104573
104279
|
"inheritedFrom": {
|
|
104574
|
-
"name": "
|
|
104575
|
-
"module": "
|
|
104280
|
+
"name": "SbbFormAssociatedMixin",
|
|
104281
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
104576
104282
|
}
|
|
104577
104283
|
},
|
|
104578
104284
|
{
|
|
104579
104285
|
"kind": "method",
|
|
104580
|
-
"name": "
|
|
104581
|
-
"privacy": "
|
|
104286
|
+
"name": "_hasDisabledAncestor",
|
|
104287
|
+
"privacy": "private",
|
|
104582
104288
|
"return": {
|
|
104583
104289
|
"type": {
|
|
104584
|
-
"text": "
|
|
104290
|
+
"text": "boolean"
|
|
104585
104291
|
}
|
|
104586
104292
|
},
|
|
104587
104293
|
"inheritedFrom": {
|
|
104588
|
-
"name": "
|
|
104589
|
-
"module": "
|
|
104294
|
+
"name": "SbbFormAssociatedMixin",
|
|
104295
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
104590
104296
|
}
|
|
104591
104297
|
},
|
|
104592
104298
|
{
|
|
104593
104299
|
"kind": "method",
|
|
104594
|
-
"name": "
|
|
104595
|
-
"privacy": "
|
|
104300
|
+
"name": "updateFormValue",
|
|
104301
|
+
"privacy": "protected",
|
|
104596
104302
|
"return": {
|
|
104597
104303
|
"type": {
|
|
104598
|
-
"text": "
|
|
104304
|
+
"text": "void"
|
|
104599
104305
|
}
|
|
104600
104306
|
},
|
|
104307
|
+
"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",
|
|
104601
104308
|
"inheritedFrom": {
|
|
104602
|
-
"name": "
|
|
104603
|
-
"module": "
|
|
104309
|
+
"name": "SbbFormAssociatedMixin",
|
|
104310
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
104604
104311
|
}
|
|
104605
104312
|
},
|
|
104606
104313
|
{
|
|
104607
|
-
"kind": "
|
|
104608
|
-
"name": "
|
|
104609
|
-
"privacy": "
|
|
104610
|
-
"
|
|
104611
|
-
"
|
|
104314
|
+
"kind": "method",
|
|
104315
|
+
"name": "formState",
|
|
104316
|
+
"privacy": "protected",
|
|
104317
|
+
"return": {
|
|
104318
|
+
"type": {
|
|
104319
|
+
"text": "FormRestoreState"
|
|
104320
|
+
}
|
|
104612
104321
|
},
|
|
104613
|
-
"default": "false",
|
|
104614
104322
|
"inheritedFrom": {
|
|
104615
|
-
"name": "
|
|
104616
|
-
"module": "core/mixins/
|
|
104323
|
+
"name": "SbbFormAssociatedMixin",
|
|
104324
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
104617
104325
|
}
|
|
104618
104326
|
},
|
|
104619
104327
|
{
|
|
104620
104328
|
"kind": "method",
|
|
104621
|
-
"name": "
|
|
104329
|
+
"name": "setValidityFlag",
|
|
104622
104330
|
"privacy": "protected",
|
|
104623
104331
|
"return": {
|
|
104624
104332
|
"type": {
|
|
104625
|
-
"text": "
|
|
104333
|
+
"text": "void"
|
|
104626
104334
|
}
|
|
104627
104335
|
},
|
|
104628
|
-
"
|
|
104336
|
+
"parameters": [
|
|
104337
|
+
{
|
|
104338
|
+
"name": "flag",
|
|
104339
|
+
"type": {
|
|
104340
|
+
"text": "T"
|
|
104341
|
+
}
|
|
104342
|
+
},
|
|
104343
|
+
{
|
|
104344
|
+
"name": "message",
|
|
104345
|
+
"type": {
|
|
104346
|
+
"text": "string"
|
|
104347
|
+
}
|
|
104348
|
+
},
|
|
104349
|
+
{
|
|
104350
|
+
"name": "flagValue",
|
|
104351
|
+
"optional": true,
|
|
104352
|
+
"type": {
|
|
104353
|
+
"text": "ValidityStateFlags[T]"
|
|
104354
|
+
}
|
|
104355
|
+
}
|
|
104356
|
+
],
|
|
104357
|
+
"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).",
|
|
104629
104358
|
"inheritedFrom": {
|
|
104630
|
-
"name": "
|
|
104631
|
-
"module": "core/mixins/
|
|
104359
|
+
"name": "SbbFormAssociatedMixin",
|
|
104360
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
104632
104361
|
}
|
|
104633
104362
|
},
|
|
104634
104363
|
{
|
|
104635
|
-
"kind": "
|
|
104636
|
-
"name": "
|
|
104637
|
-
"
|
|
104638
|
-
|
|
104364
|
+
"kind": "method",
|
|
104365
|
+
"name": "removeValidityFlag",
|
|
104366
|
+
"privacy": "protected",
|
|
104367
|
+
"return": {
|
|
104368
|
+
"type": {
|
|
104369
|
+
"text": "void"
|
|
104370
|
+
}
|
|
104639
104371
|
},
|
|
104640
|
-
"
|
|
104641
|
-
|
|
104642
|
-
|
|
104372
|
+
"parameters": [
|
|
104373
|
+
{
|
|
104374
|
+
"name": "flag",
|
|
104375
|
+
"type": {
|
|
104376
|
+
"text": "T"
|
|
104377
|
+
}
|
|
104378
|
+
}
|
|
104379
|
+
],
|
|
104380
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
104643
104381
|
"inheritedFrom": {
|
|
104644
|
-
"name": "
|
|
104645
|
-
"module": "core/
|
|
104382
|
+
"name": "SbbFormAssociatedMixin",
|
|
104383
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
104646
104384
|
}
|
|
104647
104385
|
},
|
|
104648
104386
|
{
|
|
104649
|
-
"kind": "
|
|
104650
|
-
"name": "
|
|
104651
|
-
"
|
|
104652
|
-
|
|
104387
|
+
"kind": "method",
|
|
104388
|
+
"name": "validate",
|
|
104389
|
+
"privacy": "protected",
|
|
104390
|
+
"return": {
|
|
104391
|
+
"type": {
|
|
104392
|
+
"text": "void"
|
|
104393
|
+
}
|
|
104653
104394
|
},
|
|
104654
|
-
"
|
|
104395
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
104655
104396
|
"inheritedFrom": {
|
|
104656
|
-
"name": "
|
|
104657
|
-
"module": "core/
|
|
104397
|
+
"name": "SbbFormAssociatedMixin",
|
|
104398
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
104399
|
+
}
|
|
104400
|
+
},
|
|
104401
|
+
{
|
|
104402
|
+
"kind": "method",
|
|
104403
|
+
"name": "shouldValidate",
|
|
104404
|
+
"privacy": "protected",
|
|
104405
|
+
"return": {
|
|
104406
|
+
"type": {
|
|
104407
|
+
"text": "boolean"
|
|
104408
|
+
}
|
|
104658
104409
|
},
|
|
104659
|
-
"
|
|
104660
|
-
|
|
104661
|
-
|
|
104410
|
+
"parameters": [
|
|
104411
|
+
{
|
|
104412
|
+
"name": "name",
|
|
104413
|
+
"type": {
|
|
104414
|
+
"text": "PropertyKey | undefined"
|
|
104415
|
+
}
|
|
104416
|
+
}
|
|
104417
|
+
],
|
|
104418
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
104419
|
+
"inheritedFrom": {
|
|
104420
|
+
"name": "SbbFormAssociatedMixin",
|
|
104421
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
104422
|
+
}
|
|
104662
104423
|
},
|
|
104663
104424
|
{
|
|
104664
|
-
"kind": "
|
|
104665
|
-
"name": "
|
|
104666
|
-
"privacy": "
|
|
104667
|
-
"
|
|
104668
|
-
|
|
104669
|
-
|
|
104670
|
-
|
|
104425
|
+
"kind": "method",
|
|
104426
|
+
"name": "_setInternalValidity",
|
|
104427
|
+
"privacy": "private",
|
|
104428
|
+
"return": {
|
|
104429
|
+
"type": {
|
|
104430
|
+
"text": "void"
|
|
104431
|
+
}
|
|
104671
104432
|
},
|
|
104672
|
-
"attribute": "type",
|
|
104673
104433
|
"inheritedFrom": {
|
|
104674
|
-
"name": "
|
|
104434
|
+
"name": "SbbFormAssociatedMixin",
|
|
104435
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
104436
|
+
}
|
|
104437
|
+
},
|
|
104438
|
+
{
|
|
104439
|
+
"kind": "field",
|
|
104440
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
104441
|
+
"privacy": "private",
|
|
104442
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
104443
|
+
"parameters": [
|
|
104444
|
+
{
|
|
104445
|
+
"description": "The origin event.",
|
|
104446
|
+
"name": "event"
|
|
104447
|
+
}
|
|
104448
|
+
],
|
|
104449
|
+
"inheritedFrom": {
|
|
104450
|
+
"name": "SbbButtonLikeBaseElement",
|
|
104675
104451
|
"module": "core/base-elements/button-base-element.js"
|
|
104676
104452
|
}
|
|
104677
104453
|
},
|
|
104678
104454
|
{
|
|
104679
104455
|
"kind": "field",
|
|
104680
|
-
"name": "
|
|
104681
|
-
"
|
|
104682
|
-
"text": "HTMLFormElement | null"
|
|
104683
|
-
},
|
|
104684
|
-
"privacy": "public",
|
|
104685
|
-
"description": "The `<form>` element to associate the button with.",
|
|
104456
|
+
"name": "_removeActiveMarker",
|
|
104457
|
+
"privacy": "private",
|
|
104686
104458
|
"inheritedFrom": {
|
|
104687
|
-
"name": "
|
|
104459
|
+
"name": "SbbButtonLikeBaseElement",
|
|
104688
104460
|
"module": "core/base-elements/button-base-element.js"
|
|
104689
|
-
}
|
|
104690
|
-
"attribute": "form"
|
|
104461
|
+
}
|
|
104691
104462
|
},
|
|
104692
104463
|
{
|
|
104693
104464
|
"kind": "field",
|
|
104694
|
-
"name": "
|
|
104695
|
-
"type": {
|
|
104696
|
-
"text": "string"
|
|
104697
|
-
},
|
|
104465
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
104698
104466
|
"privacy": "private",
|
|
104699
|
-
"
|
|
104467
|
+
"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.",
|
|
104468
|
+
"parameters": [
|
|
104469
|
+
{
|
|
104470
|
+
"description": "The origin event.",
|
|
104471
|
+
"name": "event"
|
|
104472
|
+
}
|
|
104473
|
+
],
|
|
104700
104474
|
"inheritedFrom": {
|
|
104701
|
-
"name": "
|
|
104475
|
+
"name": "SbbButtonLikeBaseElement",
|
|
104702
104476
|
"module": "core/base-elements/button-base-element.js"
|
|
104703
104477
|
}
|
|
104704
104478
|
},
|
|
104705
104479
|
{
|
|
104706
104480
|
"kind": "field",
|
|
104707
|
-
"name": "
|
|
104481
|
+
"name": "_dispatchClickEvent",
|
|
104708
104482
|
"privacy": "private",
|
|
104709
104483
|
"inheritedFrom": {
|
|
104710
|
-
"name": "
|
|
104484
|
+
"name": "SbbButtonLikeBaseElement",
|
|
104711
104485
|
"module": "core/base-elements/button-base-element.js"
|
|
104712
104486
|
}
|
|
104713
104487
|
},
|
|
104714
104488
|
{
|
|
104715
104489
|
"kind": "method",
|
|
104716
|
-
"name": "
|
|
104717
|
-
"privacy": "
|
|
104490
|
+
"name": "toggleState",
|
|
104491
|
+
"privacy": "protected",
|
|
104718
104492
|
"return": {
|
|
104719
104493
|
"type": {
|
|
104720
104494
|
"text": "void"
|
|
@@ -104722,256 +104496,510 @@
|
|
|
104722
104496
|
},
|
|
104723
104497
|
"parameters": [
|
|
104724
104498
|
{
|
|
104725
|
-
"name": "
|
|
104499
|
+
"name": "value",
|
|
104726
104500
|
"type": {
|
|
104727
|
-
"text": "
|
|
104501
|
+
"text": "string"
|
|
104502
|
+
}
|
|
104503
|
+
},
|
|
104504
|
+
{
|
|
104505
|
+
"name": "force",
|
|
104506
|
+
"optional": true,
|
|
104507
|
+
"type": {
|
|
104508
|
+
"text": "boolean"
|
|
104728
104509
|
}
|
|
104729
104510
|
}
|
|
104730
104511
|
],
|
|
104731
104512
|
"inheritedFrom": {
|
|
104732
|
-
"name": "
|
|
104733
|
-
"module": "core/base-elements/
|
|
104513
|
+
"name": "SbbActionBaseElement",
|
|
104514
|
+
"module": "core/base-elements/action-base-element.js"
|
|
104734
104515
|
}
|
|
104735
104516
|
},
|
|
104736
104517
|
{
|
|
104737
104518
|
"kind": "field",
|
|
104738
|
-
"name": "
|
|
104739
|
-
"
|
|
104519
|
+
"name": "maybeDisabled",
|
|
104520
|
+
"type": {
|
|
104521
|
+
"text": "boolean | undefined"
|
|
104522
|
+
},
|
|
104523
|
+
"privacy": "protected",
|
|
104524
|
+
"readonly": true,
|
|
104740
104525
|
"inheritedFrom": {
|
|
104741
|
-
"name": "
|
|
104742
|
-
"module": "core/base-elements/
|
|
104526
|
+
"name": "SbbActionBaseElement",
|
|
104527
|
+
"module": "core/base-elements/action-base-element.js"
|
|
104743
104528
|
}
|
|
104744
104529
|
},
|
|
104745
104530
|
{
|
|
104746
104531
|
"kind": "field",
|
|
104747
|
-
"name": "
|
|
104532
|
+
"name": "maybeDisabledInteractive",
|
|
104748
104533
|
"type": {
|
|
104749
|
-
"text": "boolean"
|
|
104534
|
+
"text": "boolean | undefined"
|
|
104750
104535
|
},
|
|
104751
|
-
"privacy": "
|
|
104752
|
-
"
|
|
104753
|
-
"default": "true",
|
|
104536
|
+
"privacy": "protected",
|
|
104537
|
+
"readonly": true,
|
|
104754
104538
|
"inheritedFrom": {
|
|
104755
|
-
"name": "
|
|
104756
|
-
"module": "core/
|
|
104539
|
+
"name": "SbbActionBaseElement",
|
|
104540
|
+
"module": "core/base-elements/action-base-element.js"
|
|
104757
104541
|
}
|
|
104758
104542
|
},
|
|
104759
104543
|
{
|
|
104760
|
-
"kind": "
|
|
104761
|
-
"name": "
|
|
104762
|
-
"privacy": "
|
|
104763
|
-
"
|
|
104764
|
-
|
|
104765
|
-
|
|
104544
|
+
"kind": "method",
|
|
104545
|
+
"name": "setupBaseEventHandlers",
|
|
104546
|
+
"privacy": "protected",
|
|
104547
|
+
"return": {
|
|
104548
|
+
"type": {
|
|
104549
|
+
"text": "void"
|
|
104550
|
+
}
|
|
104766
104551
|
},
|
|
104767
|
-
"attribute": "name",
|
|
104768
104552
|
"inheritedFrom": {
|
|
104769
|
-
"name": "
|
|
104770
|
-
"module": "core/
|
|
104553
|
+
"name": "SbbActionBaseElement",
|
|
104554
|
+
"module": "core/base-elements/action-base-element.js"
|
|
104771
104555
|
}
|
|
104772
104556
|
},
|
|
104557
|
+
{
|
|
104558
|
+
"kind": "method",
|
|
104559
|
+
"name": "renderTemplate",
|
|
104560
|
+
"privacy": "protected",
|
|
104561
|
+
"return": {
|
|
104562
|
+
"type": {
|
|
104563
|
+
"text": "TemplateResult"
|
|
104564
|
+
}
|
|
104565
|
+
},
|
|
104566
|
+
"description": "Override this method to render the component template.",
|
|
104567
|
+
"inheritedFrom": {
|
|
104568
|
+
"name": "SbbActionBaseElement",
|
|
104569
|
+
"module": "core/base-elements/action-base-element.js"
|
|
104570
|
+
}
|
|
104571
|
+
}
|
|
104572
|
+
],
|
|
104573
|
+
"mixins": [
|
|
104574
|
+
{
|
|
104575
|
+
"name": "SbbIconNameMixin",
|
|
104576
|
+
"module": "icon.js"
|
|
104577
|
+
},
|
|
104578
|
+
{
|
|
104579
|
+
"name": "SbbDisabledMixin",
|
|
104580
|
+
"module": "core/mixins.js"
|
|
104581
|
+
}
|
|
104582
|
+
],
|
|
104583
|
+
"superclass": {
|
|
104584
|
+
"name": "SbbButtonBaseElement",
|
|
104585
|
+
"module": "core/base-elements.js"
|
|
104586
|
+
},
|
|
104587
|
+
"tagName": "sbb-step-label",
|
|
104588
|
+
"customElement": true,
|
|
104589
|
+
"attributes": [
|
|
104590
|
+
{
|
|
104591
|
+
"name": "icon-name",
|
|
104592
|
+
"type": {
|
|
104593
|
+
"text": "string"
|
|
104594
|
+
},
|
|
104595
|
+
"default": "''",
|
|
104596
|
+
"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.",
|
|
104597
|
+
"fieldName": "iconName",
|
|
104598
|
+
"inheritedFrom": {
|
|
104599
|
+
"name": "SbbIconNameMixin",
|
|
104600
|
+
"module": "icon/icon-name-mixin.js"
|
|
104601
|
+
}
|
|
104602
|
+
},
|
|
104603
|
+
{
|
|
104604
|
+
"name": "disabled",
|
|
104605
|
+
"description": "Whether the component is disabled.",
|
|
104606
|
+
"default": "false",
|
|
104607
|
+
"type": {
|
|
104608
|
+
"text": "boolean"
|
|
104609
|
+
},
|
|
104610
|
+
"fieldName": "disabled",
|
|
104611
|
+
"inheritedFrom": {
|
|
104612
|
+
"name": "SbbDisabledMixin",
|
|
104613
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
104614
|
+
}
|
|
104615
|
+
},
|
|
104616
|
+
{
|
|
104617
|
+
"name": "value",
|
|
104618
|
+
"type": {
|
|
104619
|
+
"text": "string"
|
|
104620
|
+
},
|
|
104621
|
+
"default": "''",
|
|
104622
|
+
"description": "Value of the form element.",
|
|
104623
|
+
"fieldName": "value",
|
|
104624
|
+
"inheritedFrom": {
|
|
104625
|
+
"name": "SbbButtonBaseElement",
|
|
104626
|
+
"module": "core/base-elements/button-base-element.js"
|
|
104627
|
+
}
|
|
104628
|
+
},
|
|
104629
|
+
{
|
|
104630
|
+
"name": "type",
|
|
104631
|
+
"description": "The type attribute to use for the button.",
|
|
104632
|
+
"default": "'button'",
|
|
104633
|
+
"type": {
|
|
104634
|
+
"text": "SbbButtonType"
|
|
104635
|
+
},
|
|
104636
|
+
"fieldName": "type",
|
|
104637
|
+
"inheritedFrom": {
|
|
104638
|
+
"name": "SbbButtonBaseElement",
|
|
104639
|
+
"module": "core/base-elements/button-base-element.js"
|
|
104640
|
+
}
|
|
104641
|
+
},
|
|
104642
|
+
{
|
|
104643
|
+
"name": "form",
|
|
104644
|
+
"description": "The `<form>` element to associate the button with.",
|
|
104645
|
+
"type": {
|
|
104646
|
+
"text": "HTMLFormElement | null"
|
|
104647
|
+
},
|
|
104648
|
+
"fieldName": "form",
|
|
104649
|
+
"inheritedFrom": {
|
|
104650
|
+
"name": "SbbButtonBaseElement",
|
|
104651
|
+
"module": "core/base-elements/button-base-element.js"
|
|
104652
|
+
}
|
|
104653
|
+
},
|
|
104654
|
+
{
|
|
104655
|
+
"name": "name",
|
|
104656
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
104657
|
+
"type": {
|
|
104658
|
+
"text": "string"
|
|
104659
|
+
},
|
|
104660
|
+
"fieldName": "name",
|
|
104661
|
+
"inheritedFrom": {
|
|
104662
|
+
"name": "SbbFormAssociatedMixin",
|
|
104663
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
104664
|
+
}
|
|
104665
|
+
}
|
|
104666
|
+
]
|
|
104667
|
+
}
|
|
104668
|
+
],
|
|
104669
|
+
"exports": [
|
|
104670
|
+
{
|
|
104671
|
+
"kind": "js",
|
|
104672
|
+
"name": "SbbStepLabelElement",
|
|
104673
|
+
"declaration": {
|
|
104674
|
+
"name": "SbbStepLabelElement",
|
|
104675
|
+
"module": "stepper/step-label/step-label.component.js"
|
|
104676
|
+
}
|
|
104677
|
+
},
|
|
104678
|
+
{
|
|
104679
|
+
"kind": "custom-element-definition",
|
|
104680
|
+
"name": "sbb-step-label",
|
|
104681
|
+
"declaration": {
|
|
104682
|
+
"name": "SbbStepLabelElement",
|
|
104683
|
+
"module": "stepper/step-label/step-label.component.js"
|
|
104684
|
+
}
|
|
104685
|
+
}
|
|
104686
|
+
]
|
|
104687
|
+
},
|
|
104688
|
+
{
|
|
104689
|
+
"kind": "javascript-module",
|
|
104690
|
+
"path": "stepper/stepper/stepper.component.js",
|
|
104691
|
+
"declarations": [
|
|
104692
|
+
{
|
|
104693
|
+
"kind": "class",
|
|
104694
|
+
"description": "",
|
|
104695
|
+
"name": "SbbStepChangeEvent",
|
|
104696
|
+
"members": [
|
|
104697
|
+
{
|
|
104698
|
+
"kind": "field",
|
|
104699
|
+
"name": "selectedIndex",
|
|
104700
|
+
"type": {
|
|
104701
|
+
"text": "number | null"
|
|
104702
|
+
},
|
|
104703
|
+
"privacy": "public",
|
|
104704
|
+
"readonly": true,
|
|
104705
|
+
"description": "The index of the newly selected step.",
|
|
104706
|
+
"default": "selectedIndex"
|
|
104707
|
+
},
|
|
104708
|
+
{
|
|
104709
|
+
"kind": "field",
|
|
104710
|
+
"name": "previousIndex",
|
|
104711
|
+
"type": {
|
|
104712
|
+
"text": "number | null"
|
|
104713
|
+
},
|
|
104714
|
+
"privacy": "public",
|
|
104715
|
+
"readonly": true,
|
|
104716
|
+
"description": "The index of the previously selected step.",
|
|
104717
|
+
"default": "previousIndex"
|
|
104718
|
+
},
|
|
104719
|
+
{
|
|
104720
|
+
"kind": "field",
|
|
104721
|
+
"name": "selectedStep",
|
|
104722
|
+
"type": {
|
|
104723
|
+
"text": "SbbStepElement | null"
|
|
104724
|
+
},
|
|
104725
|
+
"privacy": "public",
|
|
104726
|
+
"readonly": true,
|
|
104727
|
+
"description": "The newly selected step element.",
|
|
104728
|
+
"default": "selectedStep"
|
|
104729
|
+
},
|
|
104730
|
+
{
|
|
104731
|
+
"kind": "field",
|
|
104732
|
+
"name": "previousStep",
|
|
104733
|
+
"type": {
|
|
104734
|
+
"text": "SbbStepElement | null"
|
|
104735
|
+
},
|
|
104736
|
+
"privacy": "public",
|
|
104737
|
+
"readonly": true,
|
|
104738
|
+
"description": "The previously selected step element.",
|
|
104739
|
+
"default": "previousStep"
|
|
104740
|
+
}
|
|
104741
|
+
],
|
|
104742
|
+
"superclass": {
|
|
104743
|
+
"name": "Event",
|
|
104744
|
+
"module": "stepper/stepper/stepper.component.js"
|
|
104745
|
+
}
|
|
104746
|
+
},
|
|
104747
|
+
{
|
|
104748
|
+
"kind": "class",
|
|
104749
|
+
"description": "Provides a structured, step-by-step workflow for user interactions.",
|
|
104750
|
+
"name": "SbbStepperElement",
|
|
104751
|
+
"slots": [
|
|
104752
|
+
{
|
|
104753
|
+
"description": "Provide a `sbb-expansion-panel-header` and a `sbb-expansion-panel-content` to the stepper.",
|
|
104754
|
+
"name": ""
|
|
104755
|
+
},
|
|
104756
|
+
{
|
|
104757
|
+
"description": "Use this slot to provide an `sbb-step-label`.",
|
|
104758
|
+
"name": "step-label"
|
|
104759
|
+
},
|
|
104760
|
+
{
|
|
104761
|
+
"description": "Use this slot to provide an `sbb-step`.",
|
|
104762
|
+
"name": "step"
|
|
104763
|
+
}
|
|
104764
|
+
],
|
|
104765
|
+
"members": [
|
|
104766
|
+
{
|
|
104767
|
+
"kind": "field",
|
|
104768
|
+
"name": "events",
|
|
104769
|
+
"privacy": "public",
|
|
104770
|
+
"static": true,
|
|
104771
|
+
"readonly": true,
|
|
104772
|
+
"default": "{ stepchange: 'stepchange', }",
|
|
104773
|
+
"type": {
|
|
104774
|
+
"text": "{\n stepchange: 'stepchange',\n }"
|
|
104775
|
+
}
|
|
104776
|
+
},
|
|
104777
|
+
{
|
|
104778
|
+
"kind": "field",
|
|
104779
|
+
"name": "_observer",
|
|
104780
|
+
"privacy": "private",
|
|
104781
|
+
"default": "new IntersectionController(this, { target: null, callback: (entries) => { entries.forEach((e) => { if (e.intersectionRatio > 0) { this._setStepperHeight(this.selected); this._setMarkerSize(); } }); }, })",
|
|
104782
|
+
"description": "If the sbb-stepper is used in a sbb-dialog, the marker on the selected element will not appear,\nbecause the calculations are done when the dialog is closed, so the marker has a width of 0;\nthe same happens for the stepper height.\nWe need to recalculate it when the element becomes visible."
|
|
104783
|
+
},
|
|
104784
|
+
{
|
|
104785
|
+
"kind": "field",
|
|
104786
|
+
"name": "linear",
|
|
104787
|
+
"type": {
|
|
104788
|
+
"text": "boolean"
|
|
104789
|
+
},
|
|
104790
|
+
"privacy": "public",
|
|
104791
|
+
"default": "false",
|
|
104792
|
+
"description": "If set to true, only the current and previous labels can be clicked and selected.",
|
|
104793
|
+
"attribute": "linear"
|
|
104794
|
+
},
|
|
104795
|
+
{
|
|
104796
|
+
"kind": "field",
|
|
104797
|
+
"name": "horizontalFrom",
|
|
104798
|
+
"privacy": "public",
|
|
104799
|
+
"description": "Overrides the behavior of `orientation` property.",
|
|
104800
|
+
"type": {
|
|
104801
|
+
"text": "SbbHorizontalFrom | null"
|
|
104802
|
+
},
|
|
104803
|
+
"attribute": "horizontal-from",
|
|
104804
|
+
"reflects": true,
|
|
104805
|
+
"default": "null"
|
|
104806
|
+
},
|
|
104807
|
+
{
|
|
104808
|
+
"kind": "field",
|
|
104809
|
+
"name": "_horizontalFrom",
|
|
104810
|
+
"type": {
|
|
104811
|
+
"text": "SbbHorizontalFrom | null"
|
|
104812
|
+
},
|
|
104813
|
+
"privacy": "private",
|
|
104814
|
+
"default": "null"
|
|
104815
|
+
},
|
|
104816
|
+
{
|
|
104817
|
+
"kind": "field",
|
|
104818
|
+
"name": "orientation",
|
|
104819
|
+
"type": {
|
|
104820
|
+
"text": "SbbOrientation"
|
|
104821
|
+
},
|
|
104822
|
+
"privacy": "public",
|
|
104823
|
+
"default": "'horizontal'",
|
|
104824
|
+
"description": "Steps orientation, either horizontal or vertical.",
|
|
104825
|
+
"attribute": "orientation",
|
|
104826
|
+
"reflects": true
|
|
104827
|
+
},
|
|
104828
|
+
{
|
|
104829
|
+
"kind": "field",
|
|
104830
|
+
"name": "size",
|
|
104831
|
+
"type": {
|
|
104832
|
+
"text": "'s' | 'm'"
|
|
104833
|
+
},
|
|
104834
|
+
"privacy": "public",
|
|
104835
|
+
"description": "Size variant, either s or m.",
|
|
104836
|
+
"default": "'m' / 's' (lean)",
|
|
104837
|
+
"attribute": "size",
|
|
104838
|
+
"reflects": true
|
|
104839
|
+
},
|
|
104840
|
+
{
|
|
104841
|
+
"kind": "field",
|
|
104842
|
+
"name": "selected",
|
|
104843
|
+
"privacy": "public",
|
|
104844
|
+
"description": "The currently selected step.",
|
|
104845
|
+
"type": {
|
|
104846
|
+
"text": "SbbStepElement | null"
|
|
104847
|
+
}
|
|
104848
|
+
},
|
|
104849
|
+
{
|
|
104850
|
+
"kind": "field",
|
|
104851
|
+
"name": "_requestedSelected",
|
|
104852
|
+
"type": {
|
|
104853
|
+
"text": "SbbStepElement | null"
|
|
104854
|
+
},
|
|
104855
|
+
"privacy": "private",
|
|
104856
|
+
"default": "null"
|
|
104857
|
+
},
|
|
104858
|
+
{
|
|
104859
|
+
"kind": "field",
|
|
104860
|
+
"name": "selectedIndex",
|
|
104861
|
+
"privacy": "public",
|
|
104862
|
+
"description": "The currently selected step index.",
|
|
104863
|
+
"type": {
|
|
104864
|
+
"text": "number | null"
|
|
104865
|
+
},
|
|
104866
|
+
"attribute": "selected-index"
|
|
104867
|
+
},
|
|
104868
|
+
{
|
|
104869
|
+
"kind": "field",
|
|
104870
|
+
"name": "_requestedSelectedIndex",
|
|
104871
|
+
"type": {
|
|
104872
|
+
"text": "number | null"
|
|
104873
|
+
},
|
|
104874
|
+
"privacy": "private",
|
|
104875
|
+
"default": "null"
|
|
104876
|
+
},
|
|
104773
104877
|
{
|
|
104774
104878
|
"kind": "field",
|
|
104775
|
-
"name": "
|
|
104879
|
+
"name": "steps",
|
|
104776
104880
|
"type": {
|
|
104777
|
-
"text": "
|
|
104881
|
+
"text": "SbbStepElement[]"
|
|
104778
104882
|
},
|
|
104779
104883
|
"privacy": "public",
|
|
104780
|
-
"description": "
|
|
104781
|
-
"readonly": true
|
|
104782
|
-
"inheritedFrom": {
|
|
104783
|
-
"name": "SbbFormAssociatedMixin",
|
|
104784
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
104785
|
-
}
|
|
104884
|
+
"description": "The steps of the stepper.",
|
|
104885
|
+
"readonly": true
|
|
104786
104886
|
},
|
|
104787
104887
|
{
|
|
104788
104888
|
"kind": "field",
|
|
104789
|
-
"name": "
|
|
104889
|
+
"name": "_enabledSteps",
|
|
104790
104890
|
"type": {
|
|
104791
|
-
"text": "
|
|
104891
|
+
"text": "SbbStepElement[]"
|
|
104792
104892
|
},
|
|
104793
|
-
"privacy": "
|
|
104794
|
-
"
|
|
104795
|
-
"readonly": true,
|
|
104796
|
-
"inheritedFrom": {
|
|
104797
|
-
"name": "SbbFormAssociatedMixin",
|
|
104798
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
104799
|
-
}
|
|
104893
|
+
"privacy": "private",
|
|
104894
|
+
"readonly": true
|
|
104800
104895
|
},
|
|
104801
104896
|
{
|
|
104802
104897
|
"kind": "field",
|
|
104803
|
-
"name": "
|
|
104898
|
+
"name": "_loaded",
|
|
104804
104899
|
"type": {
|
|
104805
104900
|
"text": "boolean"
|
|
104806
104901
|
},
|
|
104807
|
-
"privacy": "
|
|
104808
|
-
"
|
|
104809
|
-
"readonly": true,
|
|
104810
|
-
"inheritedFrom": {
|
|
104811
|
-
"name": "SbbFormAssociatedMixin",
|
|
104812
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
104813
|
-
}
|
|
104902
|
+
"privacy": "private",
|
|
104903
|
+
"default": "false"
|
|
104814
104904
|
},
|
|
104815
104905
|
{
|
|
104816
104906
|
"kind": "field",
|
|
104817
|
-
"name": "
|
|
104907
|
+
"name": "_resizeObserverTimeout",
|
|
104908
|
+
"type": {
|
|
104909
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
104910
|
+
},
|
|
104818
104911
|
"privacy": "private",
|
|
104819
|
-
"default": "
|
|
104820
|
-
"inheritedFrom": {
|
|
104821
|
-
"name": "SbbFormAssociatedMixin",
|
|
104822
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
104823
|
-
}
|
|
104912
|
+
"default": "null"
|
|
104824
104913
|
},
|
|
104825
104914
|
{
|
|
104826
104915
|
"kind": "field",
|
|
104827
|
-
"name": "
|
|
104828
|
-
"
|
|
104829
|
-
|
|
104830
|
-
},
|
|
104831
|
-
"privacy": "protected",
|
|
104832
|
-
"default": "false",
|
|
104833
|
-
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
104834
|
-
"inheritedFrom": {
|
|
104835
|
-
"name": "SbbFormAssociatedMixin",
|
|
104836
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
104837
|
-
}
|
|
104916
|
+
"name": "_mediaMatcher",
|
|
104917
|
+
"privacy": "private",
|
|
104918
|
+
"default": "new SbbMediaMatcherController(this, {})"
|
|
104838
104919
|
},
|
|
104839
104920
|
{
|
|
104840
104921
|
"kind": "method",
|
|
104841
|
-
"name": "
|
|
104922
|
+
"name": "next",
|
|
104842
104923
|
"privacy": "public",
|
|
104843
104924
|
"return": {
|
|
104844
104925
|
"type": {
|
|
104845
|
-
"text": "
|
|
104926
|
+
"text": "void"
|
|
104846
104927
|
}
|
|
104847
104928
|
},
|
|
104848
|
-
"description": "
|
|
104849
|
-
"inheritedFrom": {
|
|
104850
|
-
"name": "SbbFormAssociatedMixin",
|
|
104851
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
104852
|
-
}
|
|
104929
|
+
"description": "Selects the next step."
|
|
104853
104930
|
},
|
|
104854
104931
|
{
|
|
104855
104932
|
"kind": "method",
|
|
104856
|
-
"name": "
|
|
104933
|
+
"name": "previous",
|
|
104857
104934
|
"privacy": "public",
|
|
104858
104935
|
"return": {
|
|
104859
104936
|
"type": {
|
|
104860
|
-
"text": "
|
|
104937
|
+
"text": "void"
|
|
104861
104938
|
}
|
|
104862
104939
|
},
|
|
104863
|
-
"description": "
|
|
104864
|
-
"inheritedFrom": {
|
|
104865
|
-
"name": "SbbFormAssociatedMixin",
|
|
104866
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
104867
|
-
}
|
|
104940
|
+
"description": "Selects the previous step."
|
|
104868
104941
|
},
|
|
104869
104942
|
{
|
|
104870
104943
|
"kind": "method",
|
|
104871
|
-
"name": "
|
|
104944
|
+
"name": "reset",
|
|
104872
104945
|
"privacy": "public",
|
|
104873
104946
|
"return": {
|
|
104874
104947
|
"type": {
|
|
104875
104948
|
"text": "void"
|
|
104876
104949
|
}
|
|
104877
104950
|
},
|
|
104878
|
-
"
|
|
104879
|
-
{
|
|
104880
|
-
"name": "message",
|
|
104881
|
-
"type": {
|
|
104882
|
-
"text": "string"
|
|
104883
|
-
}
|
|
104884
|
-
}
|
|
104885
|
-
],
|
|
104886
|
-
"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.",
|
|
104887
|
-
"inheritedFrom": {
|
|
104888
|
-
"name": "SbbFormAssociatedMixin",
|
|
104889
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
104890
|
-
}
|
|
104951
|
+
"description": "Resets the form in which the stepper is nested or every form of each step, if any."
|
|
104891
104952
|
},
|
|
104892
104953
|
{
|
|
104893
104954
|
"kind": "method",
|
|
104894
|
-
"name": "
|
|
104955
|
+
"name": "_isSelectable",
|
|
104895
104956
|
"privacy": "private",
|
|
104896
104957
|
"return": {
|
|
104897
104958
|
"type": {
|
|
104898
|
-
"text": "
|
|
104959
|
+
"text": "step is SbbStepElement"
|
|
104899
104960
|
}
|
|
104900
104961
|
},
|
|
104901
|
-
"
|
|
104902
|
-
|
|
104903
|
-
|
|
104904
|
-
|
|
104962
|
+
"parameters": [
|
|
104963
|
+
{
|
|
104964
|
+
"name": "step",
|
|
104965
|
+
"type": {
|
|
104966
|
+
"text": "SbbStepElement | null"
|
|
104967
|
+
}
|
|
104968
|
+
}
|
|
104969
|
+
]
|
|
104905
104970
|
},
|
|
104906
104971
|
{
|
|
104907
104972
|
"kind": "method",
|
|
104908
|
-
"name": "
|
|
104909
|
-
"privacy": "
|
|
104973
|
+
"name": "_select",
|
|
104974
|
+
"privacy": "private",
|
|
104910
104975
|
"return": {
|
|
104911
104976
|
"type": {
|
|
104912
104977
|
"text": "void"
|
|
104913
104978
|
}
|
|
104914
104979
|
},
|
|
104915
|
-
"
|
|
104916
|
-
|
|
104917
|
-
|
|
104918
|
-
|
|
104919
|
-
|
|
104920
|
-
|
|
104921
|
-
{
|
|
104922
|
-
"kind": "method",
|
|
104923
|
-
"name": "formState",
|
|
104924
|
-
"privacy": "protected",
|
|
104925
|
-
"return": {
|
|
104926
|
-
"type": {
|
|
104927
|
-
"text": "FormRestoreState"
|
|
104980
|
+
"parameters": [
|
|
104981
|
+
{
|
|
104982
|
+
"name": "step",
|
|
104983
|
+
"type": {
|
|
104984
|
+
"text": "SbbStepElement | null"
|
|
104985
|
+
}
|
|
104928
104986
|
}
|
|
104929
|
-
|
|
104930
|
-
"inheritedFrom": {
|
|
104931
|
-
"name": "SbbFormAssociatedMixin",
|
|
104932
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
104933
|
-
}
|
|
104987
|
+
]
|
|
104934
104988
|
},
|
|
104935
104989
|
{
|
|
104936
104990
|
"kind": "method",
|
|
104937
|
-
"name": "
|
|
104938
|
-
"privacy": "
|
|
104991
|
+
"name": "_setMarkerSize",
|
|
104992
|
+
"privacy": "private",
|
|
104939
104993
|
"return": {
|
|
104940
104994
|
"type": {
|
|
104941
104995
|
"text": "void"
|
|
104942
104996
|
}
|
|
104943
|
-
},
|
|
104944
|
-
"parameters": [
|
|
104945
|
-
{
|
|
104946
|
-
"name": "flag",
|
|
104947
|
-
"type": {
|
|
104948
|
-
"text": "T"
|
|
104949
|
-
}
|
|
104950
|
-
},
|
|
104951
|
-
{
|
|
104952
|
-
"name": "message",
|
|
104953
|
-
"type": {
|
|
104954
|
-
"text": "string"
|
|
104955
|
-
}
|
|
104956
|
-
},
|
|
104957
|
-
{
|
|
104958
|
-
"name": "flagValue",
|
|
104959
|
-
"optional": true,
|
|
104960
|
-
"type": {
|
|
104961
|
-
"text": "ValidityStateFlags[T]"
|
|
104962
|
-
}
|
|
104963
|
-
}
|
|
104964
|
-
],
|
|
104965
|
-
"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).",
|
|
104966
|
-
"inheritedFrom": {
|
|
104967
|
-
"name": "SbbFormAssociatedMixin",
|
|
104968
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
104969
104997
|
}
|
|
104970
104998
|
},
|
|
104971
104999
|
{
|
|
104972
105000
|
"kind": "method",
|
|
104973
|
-
"name": "
|
|
104974
|
-
"privacy": "
|
|
105001
|
+
"name": "_setStepperHeight",
|
|
105002
|
+
"privacy": "private",
|
|
104975
105003
|
"return": {
|
|
104976
105004
|
"type": {
|
|
104977
105005
|
"text": "void"
|
|
@@ -104979,124 +105007,91 @@
|
|
|
104979
105007
|
},
|
|
104980
105008
|
"parameters": [
|
|
104981
105009
|
{
|
|
104982
|
-
"name": "
|
|
105010
|
+
"name": "step",
|
|
104983
105011
|
"type": {
|
|
104984
|
-
"text": "
|
|
105012
|
+
"text": "SbbStepElement | null"
|
|
104985
105013
|
}
|
|
104986
105014
|
}
|
|
104987
105015
|
],
|
|
104988
|
-
"description": "
|
|
104989
|
-
"inheritedFrom": {
|
|
104990
|
-
"name": "SbbFormAssociatedMixin",
|
|
104991
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
104992
|
-
}
|
|
105016
|
+
"description": "Sets the stepper height based on the height of the provided step."
|
|
104993
105017
|
},
|
|
104994
105018
|
{
|
|
104995
105019
|
"kind": "method",
|
|
104996
|
-
"name": "
|
|
104997
|
-
"privacy": "
|
|
105020
|
+
"name": "_calculateLabelOffsetTop",
|
|
105021
|
+
"privacy": "private",
|
|
104998
105022
|
"return": {
|
|
104999
105023
|
"type": {
|
|
105000
|
-
"text": "
|
|
105024
|
+
"text": "number | undefined"
|
|
105001
105025
|
}
|
|
105002
|
-
},
|
|
105003
|
-
"description": "To be called whenever the current element needs to be validated.",
|
|
105004
|
-
"inheritedFrom": {
|
|
105005
|
-
"name": "SbbFormAssociatedMixin",
|
|
105006
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
105007
105026
|
}
|
|
105008
105027
|
},
|
|
105009
105028
|
{
|
|
105010
105029
|
"kind": "method",
|
|
105011
|
-
"name": "
|
|
105012
|
-
"privacy": "
|
|
105030
|
+
"name": "_onSelectedStepResize",
|
|
105031
|
+
"privacy": "private",
|
|
105013
105032
|
"return": {
|
|
105014
105033
|
"type": {
|
|
105015
|
-
"text": "
|
|
105034
|
+
"text": "void"
|
|
105016
105035
|
}
|
|
105017
105036
|
},
|
|
105018
105037
|
"parameters": [
|
|
105019
105038
|
{
|
|
105020
|
-
"name": "
|
|
105039
|
+
"name": "e",
|
|
105021
105040
|
"type": {
|
|
105022
|
-
"text": "
|
|
105041
|
+
"text": "Event"
|
|
105023
105042
|
}
|
|
105024
105043
|
}
|
|
105025
|
-
]
|
|
105026
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
105027
|
-
"inheritedFrom": {
|
|
105028
|
-
"name": "SbbFormAssociatedMixin",
|
|
105029
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
105030
|
-
}
|
|
105044
|
+
]
|
|
105031
105045
|
},
|
|
105032
105046
|
{
|
|
105033
105047
|
"kind": "method",
|
|
105034
|
-
"name": "
|
|
105048
|
+
"name": "_configure",
|
|
105035
105049
|
"privacy": "private",
|
|
105036
105050
|
"return": {
|
|
105037
105051
|
"type": {
|
|
105038
105052
|
"text": "void"
|
|
105039
105053
|
}
|
|
105040
|
-
},
|
|
105041
|
-
"inheritedFrom": {
|
|
105042
|
-
"name": "SbbFormAssociatedMixin",
|
|
105043
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
105044
105054
|
}
|
|
105045
105055
|
},
|
|
105046
105056
|
{
|
|
105047
|
-
"kind": "
|
|
105048
|
-
"name": "
|
|
105057
|
+
"kind": "method",
|
|
105058
|
+
"name": "_updateLabels",
|
|
105049
105059
|
"privacy": "private",
|
|
105050
|
-
"
|
|
105051
|
-
|
|
105052
|
-
|
|
105053
|
-
"description": "The origin event.",
|
|
105054
|
-
"name": "event"
|
|
105060
|
+
"return": {
|
|
105061
|
+
"type": {
|
|
105062
|
+
"text": "void"
|
|
105055
105063
|
}
|
|
105056
|
-
],
|
|
105057
|
-
"inheritedFrom": {
|
|
105058
|
-
"name": "SbbButtonLikeBaseElement",
|
|
105059
|
-
"module": "core/base-elements/button-base-element.js"
|
|
105060
|
-
}
|
|
105061
|
-
},
|
|
105062
|
-
{
|
|
105063
|
-
"kind": "field",
|
|
105064
|
-
"name": "_removeActiveMarker",
|
|
105065
|
-
"privacy": "private",
|
|
105066
|
-
"inheritedFrom": {
|
|
105067
|
-
"name": "SbbButtonLikeBaseElement",
|
|
105068
|
-
"module": "core/base-elements/button-base-element.js"
|
|
105069
105064
|
}
|
|
105070
105065
|
},
|
|
105071
105066
|
{
|
|
105072
|
-
"kind": "
|
|
105073
|
-
"name": "
|
|
105067
|
+
"kind": "method",
|
|
105068
|
+
"name": "_checkOrientation",
|
|
105074
105069
|
"privacy": "private",
|
|
105075
|
-
"
|
|
105076
|
-
|
|
105077
|
-
|
|
105078
|
-
"description": "The origin event.",
|
|
105079
|
-
"name": "event"
|
|
105070
|
+
"return": {
|
|
105071
|
+
"type": {
|
|
105072
|
+
"text": "void"
|
|
105080
105073
|
}
|
|
105081
|
-
],
|
|
105082
|
-
"inheritedFrom": {
|
|
105083
|
-
"name": "SbbButtonLikeBaseElement",
|
|
105084
|
-
"module": "core/base-elements/button-base-element.js"
|
|
105085
105074
|
}
|
|
105086
105075
|
},
|
|
105087
105076
|
{
|
|
105088
105077
|
"kind": "field",
|
|
105089
|
-
"name": "
|
|
105078
|
+
"name": "_onStepperResize",
|
|
105079
|
+
"privacy": "private"
|
|
105080
|
+
},
|
|
105081
|
+
{
|
|
105082
|
+
"kind": "method",
|
|
105083
|
+
"name": "_configureLinearMode",
|
|
105090
105084
|
"privacy": "private",
|
|
105091
|
-
"
|
|
105092
|
-
"
|
|
105093
|
-
|
|
105085
|
+
"return": {
|
|
105086
|
+
"type": {
|
|
105087
|
+
"text": "void"
|
|
105088
|
+
}
|
|
105094
105089
|
}
|
|
105095
105090
|
},
|
|
105096
105091
|
{
|
|
105097
105092
|
"kind": "method",
|
|
105098
|
-
"name": "
|
|
105099
|
-
"privacy": "
|
|
105093
|
+
"name": "_handleKeyDown",
|
|
105094
|
+
"privacy": "private",
|
|
105100
105095
|
"return": {
|
|
105101
105096
|
"type": {
|
|
105102
105097
|
"text": "void"
|
|
@@ -105104,191 +105099,196 @@
|
|
|
105104
105099
|
},
|
|
105105
105100
|
"parameters": [
|
|
105106
105101
|
{
|
|
105107
|
-
"name": "
|
|
105108
|
-
"type": {
|
|
105109
|
-
"text": "string"
|
|
105110
|
-
}
|
|
105111
|
-
},
|
|
105112
|
-
{
|
|
105113
|
-
"name": "force",
|
|
105114
|
-
"optional": true,
|
|
105102
|
+
"name": "evt",
|
|
105115
105103
|
"type": {
|
|
105116
|
-
"text": "
|
|
105104
|
+
"text": "KeyboardEvent"
|
|
105117
105105
|
}
|
|
105118
105106
|
}
|
|
105119
|
-
]
|
|
105107
|
+
]
|
|
105108
|
+
},
|
|
105109
|
+
{
|
|
105110
|
+
"kind": "field",
|
|
105111
|
+
"name": "_hydrationRequired",
|
|
105112
|
+
"type": {
|
|
105113
|
+
"text": "boolean"
|
|
105114
|
+
},
|
|
105115
|
+
"privacy": "private",
|
|
105116
|
+
"default": "!!this.shadowRoot",
|
|
105120
105117
|
"inheritedFrom": {
|
|
105121
|
-
"name": "
|
|
105122
|
-
"module": "core/
|
|
105118
|
+
"name": "SbbHydrationMixin",
|
|
105119
|
+
"module": "core/mixins/hydration-mixin.js"
|
|
105123
105120
|
}
|
|
105124
105121
|
},
|
|
105125
105122
|
{
|
|
105126
105123
|
"kind": "field",
|
|
105127
|
-
"name": "
|
|
105124
|
+
"name": "_hydrationComplete",
|
|
105125
|
+
"privacy": "private",
|
|
105126
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
105127
|
+
"inheritedFrom": {
|
|
105128
|
+
"name": "SbbHydrationMixin",
|
|
105129
|
+
"module": "core/mixins/hydration-mixin.js"
|
|
105130
|
+
}
|
|
105131
|
+
},
|
|
105132
|
+
{
|
|
105133
|
+
"kind": "field",
|
|
105134
|
+
"name": "_resolveHydration",
|
|
105128
105135
|
"type": {
|
|
105129
|
-
"text": "boolean
|
|
105136
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
105130
105137
|
},
|
|
105131
|
-
"privacy": "
|
|
105132
|
-
"readonly": true,
|
|
105138
|
+
"privacy": "private",
|
|
105133
105139
|
"inheritedFrom": {
|
|
105134
|
-
"name": "
|
|
105135
|
-
"module": "core/
|
|
105140
|
+
"name": "SbbHydrationMixin",
|
|
105141
|
+
"module": "core/mixins/hydration-mixin.js"
|
|
105136
105142
|
}
|
|
105137
105143
|
},
|
|
105138
105144
|
{
|
|
105139
105145
|
"kind": "field",
|
|
105140
|
-
"name": "
|
|
105146
|
+
"name": "hydrationRequired",
|
|
105141
105147
|
"type": {
|
|
105142
|
-
"text": "boolean
|
|
105148
|
+
"text": "boolean"
|
|
105143
105149
|
},
|
|
105144
105150
|
"privacy": "protected",
|
|
105151
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
105145
105152
|
"readonly": true,
|
|
105146
105153
|
"inheritedFrom": {
|
|
105147
|
-
"name": "
|
|
105148
|
-
"module": "core/
|
|
105149
|
-
}
|
|
105154
|
+
"name": "SbbHydrationMixin",
|
|
105155
|
+
"module": "core/mixins/hydration-mixin.js"
|
|
105156
|
+
},
|
|
105157
|
+
"default": "!!this.shadowRoot"
|
|
105150
105158
|
},
|
|
105151
105159
|
{
|
|
105152
105160
|
"kind": "method",
|
|
105153
|
-
"name": "
|
|
105161
|
+
"name": "toggleState",
|
|
105154
105162
|
"privacy": "protected",
|
|
105155
105163
|
"return": {
|
|
105156
105164
|
"type": {
|
|
105157
105165
|
"text": "void"
|
|
105158
105166
|
}
|
|
105159
105167
|
},
|
|
105160
|
-
"
|
|
105161
|
-
|
|
105162
|
-
|
|
105163
|
-
|
|
105164
|
-
|
|
105165
|
-
|
|
105166
|
-
|
|
105167
|
-
|
|
105168
|
-
|
|
105169
|
-
|
|
105170
|
-
|
|
105171
|
-
|
|
105168
|
+
"parameters": [
|
|
105169
|
+
{
|
|
105170
|
+
"name": "value",
|
|
105171
|
+
"type": {
|
|
105172
|
+
"text": "string"
|
|
105173
|
+
}
|
|
105174
|
+
},
|
|
105175
|
+
{
|
|
105176
|
+
"name": "force",
|
|
105177
|
+
"optional": true,
|
|
105178
|
+
"type": {
|
|
105179
|
+
"text": "boolean"
|
|
105180
|
+
}
|
|
105172
105181
|
}
|
|
105173
|
-
|
|
105174
|
-
"description": "Override this method to render the component template.",
|
|
105182
|
+
],
|
|
105175
105183
|
"inheritedFrom": {
|
|
105176
|
-
"name": "
|
|
105177
|
-
"module": "core/
|
|
105184
|
+
"name": "SbbElementInternalsMixin",
|
|
105185
|
+
"module": "core/mixins/element-internals-mixin.js"
|
|
105178
105186
|
}
|
|
105179
105187
|
}
|
|
105180
105188
|
],
|
|
105181
|
-
"
|
|
105182
|
-
{
|
|
105183
|
-
"name": "SbbIconNameMixin",
|
|
105184
|
-
"module": "icon.js"
|
|
105185
|
-
},
|
|
105189
|
+
"events": [
|
|
105186
105190
|
{
|
|
105187
|
-
"
|
|
105188
|
-
|
|
105191
|
+
"type": {
|
|
105192
|
+
"text": "SbbStepChangeEvent"
|
|
105193
|
+
},
|
|
105194
|
+
"description": "Emits whenever a step was changed.",
|
|
105195
|
+
"name": "stepchange"
|
|
105189
105196
|
}
|
|
105190
105197
|
],
|
|
105191
|
-
"superclass": {
|
|
105192
|
-
"name": "SbbButtonBaseElement",
|
|
105193
|
-
"module": "core/base-elements.js"
|
|
105194
|
-
},
|
|
105195
|
-
"tagName": "sbb-step-label",
|
|
105196
|
-
"customElement": true,
|
|
105197
105198
|
"attributes": [
|
|
105198
105199
|
{
|
|
105199
|
-
"name": "
|
|
105200
|
+
"name": "linear",
|
|
105200
105201
|
"type": {
|
|
105201
|
-
"text": "
|
|
105202
|
+
"text": "boolean"
|
|
105202
105203
|
},
|
|
105203
|
-
"default": "
|
|
105204
|
-
"description": "
|
|
105205
|
-
"fieldName": "
|
|
105206
|
-
"inheritedFrom": {
|
|
105207
|
-
"name": "SbbIconNameMixin",
|
|
105208
|
-
"module": "icon/icon-name-mixin.js"
|
|
105209
|
-
}
|
|
105204
|
+
"default": "false",
|
|
105205
|
+
"description": "If set to true, only the current and previous labels can be clicked and selected.",
|
|
105206
|
+
"fieldName": "linear"
|
|
105210
105207
|
},
|
|
105211
105208
|
{
|
|
105212
|
-
"name": "
|
|
105213
|
-
"description": "
|
|
105214
|
-
"default": "false",
|
|
105209
|
+
"name": "horizontal-from",
|
|
105210
|
+
"description": "Overrides the behavior of `orientation` property.",
|
|
105215
105211
|
"type": {
|
|
105216
|
-
"text": "
|
|
105212
|
+
"text": "SbbHorizontalFrom | null"
|
|
105217
105213
|
},
|
|
105218
|
-
"fieldName": "
|
|
105219
|
-
"inheritedFrom": {
|
|
105220
|
-
"name": "SbbDisabledMixin",
|
|
105221
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
105222
|
-
}
|
|
105214
|
+
"fieldName": "horizontalFrom"
|
|
105223
105215
|
},
|
|
105224
105216
|
{
|
|
105225
|
-
"name": "
|
|
105217
|
+
"name": "orientation",
|
|
105226
105218
|
"type": {
|
|
105227
|
-
"text": "
|
|
105219
|
+
"text": "SbbOrientation"
|
|
105228
105220
|
},
|
|
105229
|
-
"default": "''",
|
|
105230
|
-
"description": "
|
|
105231
|
-
"fieldName": "
|
|
105232
|
-
"inheritedFrom": {
|
|
105233
|
-
"name": "SbbButtonBaseElement",
|
|
105234
|
-
"module": "core/base-elements/button-base-element.js"
|
|
105235
|
-
}
|
|
105221
|
+
"default": "'horizontal'",
|
|
105222
|
+
"description": "Steps orientation, either horizontal or vertical.",
|
|
105223
|
+
"fieldName": "orientation"
|
|
105236
105224
|
},
|
|
105237
105225
|
{
|
|
105238
|
-
"name": "
|
|
105239
|
-
"description": "The type attribute to use for the button.",
|
|
105240
|
-
"default": "'button'",
|
|
105226
|
+
"name": "size",
|
|
105241
105227
|
"type": {
|
|
105242
|
-
"text": "
|
|
105228
|
+
"text": "'s' | 'm'"
|
|
105243
105229
|
},
|
|
105244
|
-
"
|
|
105245
|
-
"
|
|
105246
|
-
|
|
105247
|
-
"module": "core/base-elements/button-base-element.js"
|
|
105248
|
-
}
|
|
105230
|
+
"description": "Size variant, either s or m.",
|
|
105231
|
+
"default": "'m' / 's' (lean)",
|
|
105232
|
+
"fieldName": "size"
|
|
105249
105233
|
},
|
|
105250
105234
|
{
|
|
105251
|
-
"name": "
|
|
105252
|
-
"description": "The
|
|
105235
|
+
"name": "selected-index",
|
|
105236
|
+
"description": "The currently selected step index.",
|
|
105253
105237
|
"type": {
|
|
105254
|
-
"text": "
|
|
105238
|
+
"text": "number | null"
|
|
105255
105239
|
},
|
|
105256
|
-
"fieldName": "
|
|
105257
|
-
|
|
105258
|
-
|
|
105259
|
-
|
|
105260
|
-
|
|
105240
|
+
"fieldName": "selectedIndex"
|
|
105241
|
+
}
|
|
105242
|
+
],
|
|
105243
|
+
"mixins": [
|
|
105244
|
+
{
|
|
105245
|
+
"name": "SbbHydrationMixin",
|
|
105246
|
+
"module": "core/mixins.js"
|
|
105261
105247
|
},
|
|
105262
105248
|
{
|
|
105263
|
-
"name": "
|
|
105264
|
-
"
|
|
105265
|
-
"type": {
|
|
105266
|
-
"text": "string"
|
|
105267
|
-
},
|
|
105268
|
-
"fieldName": "name",
|
|
105269
|
-
"inheritedFrom": {
|
|
105270
|
-
"name": "SbbFormAssociatedMixin",
|
|
105271
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
105272
|
-
}
|
|
105249
|
+
"name": "SbbElementInternalsMixin",
|
|
105250
|
+
"module": "core/mixins.js"
|
|
105273
105251
|
}
|
|
105274
|
-
]
|
|
105252
|
+
],
|
|
105253
|
+
"superclass": {
|
|
105254
|
+
"name": "LitElement",
|
|
105255
|
+
"package": "lit"
|
|
105256
|
+
},
|
|
105257
|
+
"tagName": "sbb-stepper",
|
|
105258
|
+
"customElement": true
|
|
105259
|
+
},
|
|
105260
|
+
{
|
|
105261
|
+
"kind": "variable",
|
|
105262
|
+
"name": "currentIndex"
|
|
105263
|
+
},
|
|
105264
|
+
{
|
|
105265
|
+
"kind": "variable",
|
|
105266
|
+
"name": "currentStep"
|
|
105275
105267
|
}
|
|
105276
105268
|
],
|
|
105277
105269
|
"exports": [
|
|
105278
105270
|
{
|
|
105279
105271
|
"kind": "js",
|
|
105280
|
-
"name": "
|
|
105272
|
+
"name": "SbbStepChangeEvent",
|
|
105281
105273
|
"declaration": {
|
|
105282
|
-
"name": "
|
|
105283
|
-
"module": "stepper/
|
|
105274
|
+
"name": "SbbStepChangeEvent",
|
|
105275
|
+
"module": "stepper/stepper/stepper.component.js"
|
|
105276
|
+
}
|
|
105277
|
+
},
|
|
105278
|
+
{
|
|
105279
|
+
"kind": "js",
|
|
105280
|
+
"name": "SbbStepperElement",
|
|
105281
|
+
"declaration": {
|
|
105282
|
+
"name": "SbbStepperElement",
|
|
105283
|
+
"module": "stepper/stepper/stepper.component.js"
|
|
105284
105284
|
}
|
|
105285
105285
|
},
|
|
105286
105286
|
{
|
|
105287
105287
|
"kind": "custom-element-definition",
|
|
105288
|
-
"name": "sbb-
|
|
105288
|
+
"name": "sbb-stepper",
|
|
105289
105289
|
"declaration": {
|
|
105290
|
-
"name": "
|
|
105291
|
-
"module": "stepper/
|
|
105290
|
+
"name": "SbbStepperElement",
|
|
105291
|
+
"module": "stepper/stepper/stepper.component.js"
|
|
105292
105292
|
}
|
|
105293
105293
|
}
|
|
105294
105294
|
]
|