@sbb-esta/lyne-elements-dev 4.9.0-dev.1775130554 → 4.9.0-dev.1775144212
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
|
@@ -122873,79 +122873,20 @@
|
|
|
122873
122873
|
},
|
|
122874
122874
|
{
|
|
122875
122875
|
"kind": "javascript-module",
|
|
122876
|
-
"path": "stepper/
|
|
122876
|
+
"path": "stepper/step-label/step-label.component.js",
|
|
122877
122877
|
"declarations": [
|
|
122878
122878
|
{
|
|
122879
122879
|
"kind": "class",
|
|
122880
|
-
"description": "",
|
|
122881
|
-
"name": "
|
|
122882
|
-
"members": [
|
|
122883
|
-
{
|
|
122884
|
-
"kind": "field",
|
|
122885
|
-
"name": "selectedIndex",
|
|
122886
|
-
"type": {
|
|
122887
|
-
"text": "number | null"
|
|
122888
|
-
},
|
|
122889
|
-
"privacy": "public",
|
|
122890
|
-
"readonly": true,
|
|
122891
|
-
"description": "The index of the newly selected step.",
|
|
122892
|
-
"default": "selectedIndex"
|
|
122893
|
-
},
|
|
122894
|
-
{
|
|
122895
|
-
"kind": "field",
|
|
122896
|
-
"name": "previousIndex",
|
|
122897
|
-
"type": {
|
|
122898
|
-
"text": "number | null"
|
|
122899
|
-
},
|
|
122900
|
-
"privacy": "public",
|
|
122901
|
-
"readonly": true,
|
|
122902
|
-
"description": "The index of the previously selected step.",
|
|
122903
|
-
"default": "previousIndex"
|
|
122904
|
-
},
|
|
122905
|
-
{
|
|
122906
|
-
"kind": "field",
|
|
122907
|
-
"name": "selectedStep",
|
|
122908
|
-
"type": {
|
|
122909
|
-
"text": "SbbStepElement | null"
|
|
122910
|
-
},
|
|
122911
|
-
"privacy": "public",
|
|
122912
|
-
"readonly": true,
|
|
122913
|
-
"description": "The newly selected step element.",
|
|
122914
|
-
"default": "selectedStep"
|
|
122915
|
-
},
|
|
122916
|
-
{
|
|
122917
|
-
"kind": "field",
|
|
122918
|
-
"name": "previousStep",
|
|
122919
|
-
"type": {
|
|
122920
|
-
"text": "SbbStepElement | null"
|
|
122921
|
-
},
|
|
122922
|
-
"privacy": "public",
|
|
122923
|
-
"readonly": true,
|
|
122924
|
-
"description": "The previously selected step element.",
|
|
122925
|
-
"default": "previousStep"
|
|
122926
|
-
}
|
|
122927
|
-
],
|
|
122928
|
-
"superclass": {
|
|
122929
|
-
"name": "Event",
|
|
122930
|
-
"module": "stepper/stepper/stepper.component.js"
|
|
122931
|
-
}
|
|
122932
|
-
},
|
|
122933
|
-
{
|
|
122934
|
-
"kind": "class",
|
|
122935
|
-
"description": "Provides a structured, step-by-step workflow for user interactions.",
|
|
122936
|
-
"name": "SbbStepperElement",
|
|
122880
|
+
"description": "Combined with a `sbb-stepper`, it displays a step's label.",
|
|
122881
|
+
"name": "SbbStepLabelElement",
|
|
122937
122882
|
"slots": [
|
|
122938
122883
|
{
|
|
122939
|
-
"description": "
|
|
122884
|
+
"description": "Use the unnamed slot to provide a label.",
|
|
122940
122885
|
"name": ""
|
|
122941
122886
|
},
|
|
122942
122887
|
{
|
|
122943
|
-
"description": "Use this
|
|
122944
|
-
"name": "
|
|
122945
|
-
},
|
|
122946
|
-
{
|
|
122947
|
-
"description": "Use this slot to provide an `sbb-step`.",
|
|
122948
|
-
"name": "step"
|
|
122888
|
+
"description": "Use this to display an icon in the label bubble.",
|
|
122889
|
+
"name": "icon"
|
|
122949
122890
|
}
|
|
122950
122891
|
],
|
|
122951
122892
|
"members": [
|
|
@@ -122958,340 +122899,293 @@
|
|
|
122958
122899
|
"privacy": "public",
|
|
122959
122900
|
"static": true,
|
|
122960
122901
|
"readonly": true,
|
|
122961
|
-
"default": "'sbb-stepper'",
|
|
122962
122902
|
"inheritedFrom": {
|
|
122963
122903
|
"name": "SbbElement",
|
|
122964
122904
|
"module": "core/base-elements/element.js"
|
|
122965
|
-
}
|
|
122966
|
-
},
|
|
122967
|
-
{
|
|
122968
|
-
"kind": "field",
|
|
122969
|
-
"name": "events",
|
|
122970
|
-
"privacy": "public",
|
|
122971
|
-
"static": true,
|
|
122972
|
-
"readonly": true,
|
|
122973
|
-
"default": "{ stepchange: 'stepchange', }",
|
|
122974
|
-
"type": {
|
|
122975
|
-
"text": "{\n stepchange: 'stepchange',\n }"
|
|
122976
|
-
}
|
|
122977
|
-
},
|
|
122978
|
-
{
|
|
122979
|
-
"kind": "field",
|
|
122980
|
-
"name": "_observer",
|
|
122981
|
-
"privacy": "private",
|
|
122982
|
-
"default": "new IntersectionController(this, { target: null, callback: (entries) => { entries.forEach((e) => { if (e.intersectionRatio > 0) { this._setStepperHeight(this.selected); this._setMarkerSize(); } }); }, })",
|
|
122983
|
-
"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."
|
|
122984
|
-
},
|
|
122985
|
-
{
|
|
122986
|
-
"kind": "field",
|
|
122987
|
-
"name": "linear",
|
|
122988
|
-
"type": {
|
|
122989
|
-
"text": "boolean"
|
|
122990
|
-
},
|
|
122991
|
-
"privacy": "public",
|
|
122992
|
-
"default": "false",
|
|
122993
|
-
"description": "If set to true, only the current and previous labels can be clicked and selected.",
|
|
122994
|
-
"attribute": "linear"
|
|
122995
|
-
},
|
|
122996
|
-
{
|
|
122997
|
-
"kind": "field",
|
|
122998
|
-
"name": "horizontalFrom",
|
|
122999
|
-
"privacy": "public",
|
|
123000
|
-
"description": "Overrides the behavior of `orientation` property.",
|
|
123001
|
-
"type": {
|
|
123002
|
-
"text": "SbbHorizontalFrom | null"
|
|
123003
|
-
},
|
|
123004
|
-
"attribute": "horizontal-from",
|
|
123005
|
-
"reflects": true,
|
|
123006
|
-
"default": "null"
|
|
123007
|
-
},
|
|
123008
|
-
{
|
|
123009
|
-
"kind": "field",
|
|
123010
|
-
"name": "_horizontalFrom",
|
|
123011
|
-
"type": {
|
|
123012
|
-
"text": "SbbHorizontalFrom | null"
|
|
123013
|
-
},
|
|
123014
|
-
"privacy": "private",
|
|
123015
|
-
"default": "null"
|
|
123016
|
-
},
|
|
123017
|
-
{
|
|
123018
|
-
"kind": "field",
|
|
123019
|
-
"name": "orientation",
|
|
123020
|
-
"type": {
|
|
123021
|
-
"text": "SbbOrientation"
|
|
123022
122905
|
},
|
|
123023
|
-
"
|
|
123024
|
-
"default": "'horizontal'",
|
|
123025
|
-
"description": "Steps orientation, either horizontal or vertical.",
|
|
123026
|
-
"attribute": "orientation",
|
|
123027
|
-
"reflects": true
|
|
122906
|
+
"default": "'sbb-step-label'"
|
|
123028
122907
|
},
|
|
123029
122908
|
{
|
|
123030
122909
|
"kind": "field",
|
|
123031
|
-
"name": "
|
|
122910
|
+
"name": "role",
|
|
123032
122911
|
"type": {
|
|
123033
|
-
"text": "
|
|
122912
|
+
"text": "string"
|
|
123034
122913
|
},
|
|
123035
122914
|
"privacy": "public",
|
|
123036
|
-
"
|
|
123037
|
-
"
|
|
123038
|
-
"
|
|
123039
|
-
"
|
|
123040
|
-
|
|
123041
|
-
|
|
123042
|
-
"kind": "field",
|
|
123043
|
-
"name": "selected",
|
|
123044
|
-
"privacy": "public",
|
|
123045
|
-
"description": "The currently selected step.",
|
|
123046
|
-
"type": {
|
|
123047
|
-
"text": "SbbStepElement | null"
|
|
122915
|
+
"static": true,
|
|
122916
|
+
"readonly": true,
|
|
122917
|
+
"default": "'tab'",
|
|
122918
|
+
"inheritedFrom": {
|
|
122919
|
+
"name": "SbbButtonLikeBaseElement",
|
|
122920
|
+
"module": "core/base-elements/button-base-element.js"
|
|
123048
122921
|
}
|
|
123049
122922
|
},
|
|
123050
122923
|
{
|
|
123051
122924
|
"kind": "field",
|
|
123052
|
-
"name": "
|
|
122925
|
+
"name": "step",
|
|
123053
122926
|
"type": {
|
|
123054
122927
|
"text": "SbbStepElement | null"
|
|
123055
122928
|
},
|
|
123056
|
-
"privacy": "private",
|
|
123057
|
-
"default": "null"
|
|
123058
|
-
},
|
|
123059
|
-
{
|
|
123060
|
-
"kind": "field",
|
|
123061
|
-
"name": "selectedIndex",
|
|
123062
122929
|
"privacy": "public",
|
|
123063
|
-
"description": "The
|
|
123064
|
-
"
|
|
123065
|
-
|
|
123066
|
-
},
|
|
123067
|
-
"attribute": "selected-index"
|
|
122930
|
+
"description": "The step controlled by the label.",
|
|
122931
|
+
"readonly": true,
|
|
122932
|
+
"default": "null"
|
|
123068
122933
|
},
|
|
123069
122934
|
{
|
|
123070
122935
|
"kind": "field",
|
|
123071
|
-
"name": "
|
|
122936
|
+
"name": "_step",
|
|
123072
122937
|
"type": {
|
|
123073
|
-
"text": "
|
|
122938
|
+
"text": "SbbStepElement | null"
|
|
123074
122939
|
},
|
|
123075
122940
|
"privacy": "private",
|
|
123076
122941
|
"default": "null"
|
|
123077
122942
|
},
|
|
123078
122943
|
{
|
|
123079
122944
|
"kind": "field",
|
|
123080
|
-
"name": "
|
|
122945
|
+
"name": "stepper",
|
|
123081
122946
|
"type": {
|
|
123082
|
-
"text": "
|
|
122947
|
+
"text": "SbbStepperElement | null"
|
|
123083
122948
|
},
|
|
123084
122949
|
"privacy": "public",
|
|
123085
|
-
"description": "The steps of the stepper.",
|
|
123086
122950
|
"readonly": true
|
|
123087
122951
|
},
|
|
123088
122952
|
{
|
|
123089
122953
|
"kind": "field",
|
|
123090
|
-
"name": "
|
|
122954
|
+
"name": "disabled",
|
|
122955
|
+
"privacy": "public",
|
|
122956
|
+
"description": "Whether the component is disabled.",
|
|
122957
|
+
"default": "false",
|
|
123091
122958
|
"type": {
|
|
123092
|
-
"text": "
|
|
122959
|
+
"text": "boolean"
|
|
123093
122960
|
},
|
|
123094
|
-
"
|
|
123095
|
-
"
|
|
122961
|
+
"attribute": "disabled",
|
|
122962
|
+
"reflects": true,
|
|
122963
|
+
"inheritedFrom": {
|
|
122964
|
+
"name": "SbbDisabledMixin",
|
|
122965
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
122966
|
+
}
|
|
123096
122967
|
},
|
|
123097
122968
|
{
|
|
123098
122969
|
"kind": "field",
|
|
123099
|
-
"name": "
|
|
122970
|
+
"name": "_previousOrientation",
|
|
123100
122971
|
"type": {
|
|
123101
|
-
"text": "
|
|
122972
|
+
"text": "string | undefined"
|
|
123102
122973
|
},
|
|
123103
|
-
"privacy": "private"
|
|
123104
|
-
"default": "false"
|
|
122974
|
+
"privacy": "private"
|
|
123105
122975
|
},
|
|
123106
122976
|
{
|
|
123107
122977
|
"kind": "field",
|
|
123108
|
-
"name": "
|
|
122978
|
+
"name": "_previousSize",
|
|
123109
122979
|
"type": {
|
|
123110
|
-
"text": "
|
|
122980
|
+
"text": "string | undefined"
|
|
123111
122981
|
},
|
|
123112
|
-
"privacy": "private"
|
|
123113
|
-
"default": "null"
|
|
123114
|
-
},
|
|
123115
|
-
{
|
|
123116
|
-
"kind": "field",
|
|
123117
|
-
"name": "_mediaMatcher",
|
|
123118
|
-
"privacy": "private",
|
|
123119
|
-
"default": "new SbbMediaMatcherController(this, {})"
|
|
122982
|
+
"privacy": "private"
|
|
123120
122983
|
},
|
|
123121
122984
|
{
|
|
123122
122985
|
"kind": "method",
|
|
123123
|
-
"name": "
|
|
123124
|
-
"privacy": "
|
|
122986
|
+
"name": "_isNotDeactivatedByLinearMode",
|
|
122987
|
+
"privacy": "private",
|
|
123125
122988
|
"return": {
|
|
123126
122989
|
"type": {
|
|
123127
|
-
"text": "
|
|
122990
|
+
"text": "boolean"
|
|
123128
122991
|
}
|
|
123129
122992
|
},
|
|
123130
|
-
"
|
|
122993
|
+
"parameters": [
|
|
122994
|
+
{
|
|
122995
|
+
"name": "step",
|
|
122996
|
+
"type": {
|
|
122997
|
+
"text": "SbbStepElement"
|
|
122998
|
+
}
|
|
122999
|
+
}
|
|
123000
|
+
]
|
|
123131
123001
|
},
|
|
123132
123002
|
{
|
|
123133
123003
|
"kind": "method",
|
|
123134
|
-
"name": "
|
|
123135
|
-
"privacy": "
|
|
123004
|
+
"name": "_assignStep",
|
|
123005
|
+
"privacy": "private",
|
|
123136
123006
|
"return": {
|
|
123137
123007
|
"type": {
|
|
123138
123008
|
"text": "void"
|
|
123139
123009
|
}
|
|
123010
|
+
}
|
|
123011
|
+
},
|
|
123012
|
+
{
|
|
123013
|
+
"kind": "field",
|
|
123014
|
+
"name": "iconName",
|
|
123015
|
+
"type": {
|
|
123016
|
+
"text": "string"
|
|
123140
123017
|
},
|
|
123141
|
-
"
|
|
123018
|
+
"privacy": "public",
|
|
123019
|
+
"default": "''",
|
|
123020
|
+
"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.",
|
|
123021
|
+
"attribute": "icon-name",
|
|
123022
|
+
"inheritedFrom": {
|
|
123023
|
+
"name": "SbbIconNameMixin",
|
|
123024
|
+
"module": "icon/icon-name-mixin.js"
|
|
123025
|
+
}
|
|
123142
123026
|
},
|
|
123143
123027
|
{
|
|
123144
123028
|
"kind": "method",
|
|
123145
|
-
"name": "
|
|
123146
|
-
"privacy": "
|
|
123029
|
+
"name": "renderIconSlot",
|
|
123030
|
+
"privacy": "protected",
|
|
123147
123031
|
"return": {
|
|
123148
123032
|
"type": {
|
|
123149
|
-
"text": "
|
|
123150
|
-
}
|
|
123151
|
-
},
|
|
123152
|
-
"description": "Resets the form in which the stepper is nested or every form of each step, if any."
|
|
123153
|
-
},
|
|
123154
|
-
{
|
|
123155
|
-
"kind": "method",
|
|
123156
|
-
"name": "_isSelectable",
|
|
123157
|
-
"privacy": "private",
|
|
123158
|
-
"return": {
|
|
123159
|
-
"type": {
|
|
123160
|
-
"text": "step is SbbStepElement"
|
|
123033
|
+
"text": "TemplateResult"
|
|
123161
123034
|
}
|
|
123162
123035
|
},
|
|
123163
123036
|
"parameters": [
|
|
123164
123037
|
{
|
|
123165
|
-
"name": "
|
|
123038
|
+
"name": "classname",
|
|
123039
|
+
"optional": true,
|
|
123166
123040
|
"type": {
|
|
123167
|
-
"text": "
|
|
123041
|
+
"text": "string"
|
|
123168
123042
|
}
|
|
123169
123043
|
}
|
|
123170
|
-
]
|
|
123044
|
+
],
|
|
123045
|
+
"inheritedFrom": {
|
|
123046
|
+
"name": "SbbIconNameMixin",
|
|
123047
|
+
"module": "icon/icon-name-mixin.js"
|
|
123048
|
+
}
|
|
123171
123049
|
},
|
|
123172
123050
|
{
|
|
123173
123051
|
"kind": "method",
|
|
123174
|
-
"name": "
|
|
123175
|
-
"privacy": "
|
|
123052
|
+
"name": "renderIconName",
|
|
123053
|
+
"privacy": "protected",
|
|
123176
123054
|
"return": {
|
|
123177
123055
|
"type": {
|
|
123178
|
-
"text": "
|
|
123056
|
+
"text": "string"
|
|
123179
123057
|
}
|
|
123180
123058
|
},
|
|
123181
|
-
"
|
|
123182
|
-
|
|
123183
|
-
|
|
123184
|
-
|
|
123185
|
-
"text": "SbbStepElement | null"
|
|
123186
|
-
}
|
|
123187
|
-
}
|
|
123188
|
-
]
|
|
123059
|
+
"inheritedFrom": {
|
|
123060
|
+
"name": "SbbIconNameMixin",
|
|
123061
|
+
"module": "icon/icon-name-mixin.js"
|
|
123062
|
+
}
|
|
123189
123063
|
},
|
|
123190
123064
|
{
|
|
123191
123065
|
"kind": "method",
|
|
123192
|
-
"name": "
|
|
123066
|
+
"name": "_renderIconName",
|
|
123193
123067
|
"privacy": "private",
|
|
123194
123068
|
"return": {
|
|
123195
123069
|
"type": {
|
|
123196
|
-
"text": "
|
|
123070
|
+
"text": "string"
|
|
123197
123071
|
}
|
|
123072
|
+
},
|
|
123073
|
+
"inheritedFrom": {
|
|
123074
|
+
"name": "SbbIconNameMixin",
|
|
123075
|
+
"module": "icon/icon-name-mixin.js"
|
|
123198
123076
|
}
|
|
123199
123077
|
},
|
|
123200
123078
|
{
|
|
123201
|
-
"kind": "
|
|
123202
|
-
"name": "
|
|
123079
|
+
"kind": "field",
|
|
123080
|
+
"name": "#disabled",
|
|
123203
123081
|
"privacy": "private",
|
|
123204
|
-
"
|
|
123205
|
-
"
|
|
123206
|
-
"text": "void"
|
|
123207
|
-
}
|
|
123082
|
+
"type": {
|
|
123083
|
+
"text": "boolean"
|
|
123208
123084
|
},
|
|
123209
|
-
"
|
|
123210
|
-
|
|
123211
|
-
|
|
123212
|
-
|
|
123213
|
-
|
|
123214
|
-
}
|
|
123215
|
-
}
|
|
123216
|
-
],
|
|
123217
|
-
"description": "Sets the stepper height based on the height of the provided step."
|
|
123085
|
+
"default": "false",
|
|
123086
|
+
"inheritedFrom": {
|
|
123087
|
+
"name": "SbbDisabledMixin",
|
|
123088
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
123089
|
+
}
|
|
123218
123090
|
},
|
|
123219
123091
|
{
|
|
123220
123092
|
"kind": "method",
|
|
123221
|
-
"name": "
|
|
123222
|
-
"privacy": "
|
|
123093
|
+
"name": "isDisabledExternally",
|
|
123094
|
+
"privacy": "protected",
|
|
123223
123095
|
"return": {
|
|
123224
123096
|
"type": {
|
|
123225
|
-
"text": "
|
|
123097
|
+
"text": "boolean"
|
|
123226
123098
|
}
|
|
123099
|
+
},
|
|
123100
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
123101
|
+
"inheritedFrom": {
|
|
123102
|
+
"name": "SbbDisabledMixin",
|
|
123103
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
123227
123104
|
}
|
|
123228
123105
|
},
|
|
123229
123106
|
{
|
|
123230
|
-
"kind": "
|
|
123231
|
-
"name": "
|
|
123107
|
+
"kind": "field",
|
|
123108
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
123109
|
+
"type": {
|
|
123110
|
+
"text": "array"
|
|
123111
|
+
},
|
|
123232
123112
|
"privacy": "private",
|
|
123233
|
-
"
|
|
123234
|
-
|
|
123235
|
-
|
|
123236
|
-
|
|
123113
|
+
"readonly": true,
|
|
123114
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
123115
|
+
"inheritedFrom": {
|
|
123116
|
+
"name": "SbbButtonBaseElement",
|
|
123117
|
+
"module": "core/base-elements/button-base-element.js"
|
|
123118
|
+
}
|
|
123119
|
+
},
|
|
123120
|
+
{
|
|
123121
|
+
"kind": "field",
|
|
123122
|
+
"name": "value",
|
|
123123
|
+
"type": {
|
|
123124
|
+
"text": "string"
|
|
123237
123125
|
},
|
|
123238
|
-
"
|
|
123239
|
-
|
|
123240
|
-
|
|
123241
|
-
|
|
123242
|
-
|
|
123243
|
-
|
|
123244
|
-
|
|
123245
|
-
|
|
123126
|
+
"privacy": "public",
|
|
123127
|
+
"inheritedFrom": {
|
|
123128
|
+
"name": "SbbButtonBaseElement",
|
|
123129
|
+
"module": "core/base-elements/button-base-element.js"
|
|
123130
|
+
},
|
|
123131
|
+
"default": "''",
|
|
123132
|
+
"description": "Value of the form element.",
|
|
123133
|
+
"attribute": "value"
|
|
123246
123134
|
},
|
|
123247
123135
|
{
|
|
123248
|
-
"kind": "
|
|
123249
|
-
"name": "
|
|
123250
|
-
"privacy": "
|
|
123251
|
-
"
|
|
123252
|
-
|
|
123253
|
-
|
|
123254
|
-
|
|
123136
|
+
"kind": "field",
|
|
123137
|
+
"name": "type",
|
|
123138
|
+
"privacy": "public",
|
|
123139
|
+
"description": "The type attribute to use for the button.",
|
|
123140
|
+
"default": "'button'",
|
|
123141
|
+
"type": {
|
|
123142
|
+
"text": "SbbButtonType"
|
|
123143
|
+
},
|
|
123144
|
+
"attribute": "type",
|
|
123145
|
+
"inheritedFrom": {
|
|
123146
|
+
"name": "SbbButtonBaseElement",
|
|
123147
|
+
"module": "core/base-elements/button-base-element.js"
|
|
123255
123148
|
}
|
|
123256
123149
|
},
|
|
123257
123150
|
{
|
|
123258
|
-
"kind": "
|
|
123259
|
-
"name": "
|
|
123260
|
-
"
|
|
123261
|
-
|
|
123262
|
-
|
|
123263
|
-
|
|
123264
|
-
|
|
123265
|
-
|
|
123151
|
+
"kind": "field",
|
|
123152
|
+
"name": "form",
|
|
123153
|
+
"type": {
|
|
123154
|
+
"text": "HTMLFormElement | null"
|
|
123155
|
+
},
|
|
123156
|
+
"privacy": "public",
|
|
123157
|
+
"description": "The `<form>` element to associate the button with.",
|
|
123158
|
+
"inheritedFrom": {
|
|
123159
|
+
"name": "SbbButtonBaseElement",
|
|
123160
|
+
"module": "core/base-elements/button-base-element.js"
|
|
123161
|
+
},
|
|
123162
|
+
"attribute": "form"
|
|
123266
123163
|
},
|
|
123267
123164
|
{
|
|
123268
|
-
"kind": "
|
|
123269
|
-
"name": "
|
|
123165
|
+
"kind": "field",
|
|
123166
|
+
"name": "_formId",
|
|
123167
|
+
"type": {
|
|
123168
|
+
"text": "string"
|
|
123169
|
+
},
|
|
123270
123170
|
"privacy": "private",
|
|
123271
|
-
"
|
|
123272
|
-
|
|
123273
|
-
|
|
123274
|
-
|
|
123171
|
+
"default": "''",
|
|
123172
|
+
"inheritedFrom": {
|
|
123173
|
+
"name": "SbbButtonBaseElement",
|
|
123174
|
+
"module": "core/base-elements/button-base-element.js"
|
|
123275
123175
|
}
|
|
123276
123176
|
},
|
|
123277
123177
|
{
|
|
123278
123178
|
"kind": "field",
|
|
123279
|
-
"name": "
|
|
123280
|
-
"privacy": "private"
|
|
123281
|
-
},
|
|
123282
|
-
{
|
|
123283
|
-
"kind": "method",
|
|
123284
|
-
"name": "_configureLinearMode",
|
|
123179
|
+
"name": "_handleButtonClick",
|
|
123285
123180
|
"privacy": "private",
|
|
123286
|
-
"
|
|
123287
|
-
"
|
|
123288
|
-
|
|
123289
|
-
}
|
|
123181
|
+
"inheritedFrom": {
|
|
123182
|
+
"name": "SbbButtonBaseElement",
|
|
123183
|
+
"module": "core/base-elements/button-base-element.js"
|
|
123290
123184
|
}
|
|
123291
123185
|
},
|
|
123292
123186
|
{
|
|
123293
123187
|
"kind": "method",
|
|
123294
|
-
"name": "
|
|
123188
|
+
"name": "_requestSubmit",
|
|
123295
123189
|
"privacy": "private",
|
|
123296
123190
|
"return": {
|
|
123297
123191
|
"type": {
|
|
@@ -123300,67 +123194,154 @@
|
|
|
123300
123194
|
},
|
|
123301
123195
|
"parameters": [
|
|
123302
123196
|
{
|
|
123303
|
-
"name": "
|
|
123197
|
+
"name": "form",
|
|
123304
123198
|
"type": {
|
|
123305
|
-
"text": "
|
|
123199
|
+
"text": "HTMLFormElement"
|
|
123306
123200
|
}
|
|
123307
123201
|
}
|
|
123308
|
-
]
|
|
123202
|
+
],
|
|
123203
|
+
"inheritedFrom": {
|
|
123204
|
+
"name": "SbbButtonBaseElement",
|
|
123205
|
+
"module": "core/base-elements/button-base-element.js"
|
|
123206
|
+
}
|
|
123309
123207
|
},
|
|
123310
123208
|
{
|
|
123311
123209
|
"kind": "field",
|
|
123312
|
-
"name": "
|
|
123313
|
-
"type": {
|
|
123314
|
-
"text": "boolean"
|
|
123315
|
-
},
|
|
123210
|
+
"name": "_formKeyDown",
|
|
123316
123211
|
"privacy": "private",
|
|
123317
|
-
"default": "!!this.shadowRoot",
|
|
123318
123212
|
"inheritedFrom": {
|
|
123319
|
-
"name": "
|
|
123320
|
-
"module": "core/base-elements/element.js"
|
|
123213
|
+
"name": "SbbButtonBaseElement",
|
|
123214
|
+
"module": "core/base-elements/button-base-element.js"
|
|
123321
123215
|
}
|
|
123322
123216
|
},
|
|
123323
123217
|
{
|
|
123324
123218
|
"kind": "field",
|
|
123325
|
-
"name": "
|
|
123326
|
-
"
|
|
123327
|
-
|
|
123219
|
+
"name": "formAssociated",
|
|
123220
|
+
"type": {
|
|
123221
|
+
"text": "boolean"
|
|
123222
|
+
},
|
|
123223
|
+
"privacy": "public",
|
|
123224
|
+
"static": true,
|
|
123225
|
+
"default": "true",
|
|
123328
123226
|
"inheritedFrom": {
|
|
123329
|
-
"name": "
|
|
123330
|
-
"module": "core/
|
|
123227
|
+
"name": "SbbFormAssociatedMixin",
|
|
123228
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
123331
123229
|
}
|
|
123332
123230
|
},
|
|
123333
123231
|
{
|
|
123334
123232
|
"kind": "field",
|
|
123335
|
-
"name": "
|
|
123233
|
+
"name": "name",
|
|
123234
|
+
"privacy": "public",
|
|
123235
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
123336
123236
|
"type": {
|
|
123337
|
-
"text": "
|
|
123237
|
+
"text": "string"
|
|
123338
123238
|
},
|
|
123339
|
-
"
|
|
123239
|
+
"attribute": "name",
|
|
123340
123240
|
"inheritedFrom": {
|
|
123341
|
-
"name": "
|
|
123342
|
-
"module": "core/
|
|
123241
|
+
"name": "SbbFormAssociatedMixin",
|
|
123242
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
123343
123243
|
}
|
|
123344
123244
|
},
|
|
123345
123245
|
{
|
|
123346
123246
|
"kind": "field",
|
|
123347
|
-
"name": "
|
|
123247
|
+
"name": "validity",
|
|
123348
123248
|
"type": {
|
|
123349
|
-
"text": "
|
|
123249
|
+
"text": "ValidityState"
|
|
123350
123250
|
},
|
|
123351
|
-
"privacy": "
|
|
123352
|
-
"description": "Returns
|
|
123251
|
+
"privacy": "public",
|
|
123252
|
+
"description": "Returns the ValidityState object for this element.",
|
|
123353
123253
|
"readonly": true,
|
|
123354
123254
|
"inheritedFrom": {
|
|
123355
|
-
"name": "
|
|
123356
|
-
"module": "core/
|
|
123357
|
-
}
|
|
123358
|
-
"default": "!!this.shadowRoot"
|
|
123255
|
+
"name": "SbbFormAssociatedMixin",
|
|
123256
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
123257
|
+
}
|
|
123359
123258
|
},
|
|
123360
123259
|
{
|
|
123361
|
-
"kind": "
|
|
123362
|
-
"name": "
|
|
123260
|
+
"kind": "field",
|
|
123261
|
+
"name": "validationMessage",
|
|
123262
|
+
"type": {
|
|
123263
|
+
"text": "string"
|
|
123264
|
+
},
|
|
123265
|
+
"privacy": "public",
|
|
123266
|
+
"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.",
|
|
123267
|
+
"readonly": true,
|
|
123268
|
+
"inheritedFrom": {
|
|
123269
|
+
"name": "SbbFormAssociatedMixin",
|
|
123270
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
123271
|
+
}
|
|
123272
|
+
},
|
|
123273
|
+
{
|
|
123274
|
+
"kind": "field",
|
|
123275
|
+
"name": "willValidate",
|
|
123276
|
+
"type": {
|
|
123277
|
+
"text": "boolean"
|
|
123278
|
+
},
|
|
123279
|
+
"privacy": "public",
|
|
123280
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
123281
|
+
"readonly": true,
|
|
123282
|
+
"inheritedFrom": {
|
|
123283
|
+
"name": "SbbFormAssociatedMixin",
|
|
123284
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
123285
|
+
}
|
|
123286
|
+
},
|
|
123287
|
+
{
|
|
123288
|
+
"kind": "field",
|
|
123289
|
+
"name": "_validityStates",
|
|
123290
|
+
"privacy": "private",
|
|
123291
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
123292
|
+
"inheritedFrom": {
|
|
123293
|
+
"name": "SbbFormAssociatedMixin",
|
|
123294
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
123295
|
+
}
|
|
123296
|
+
},
|
|
123297
|
+
{
|
|
123298
|
+
"kind": "field",
|
|
123299
|
+
"name": "formDisabled",
|
|
123300
|
+
"type": {
|
|
123301
|
+
"text": "boolean"
|
|
123302
|
+
},
|
|
123363
123303
|
"privacy": "protected",
|
|
123304
|
+
"default": "false",
|
|
123305
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
123306
|
+
"inheritedFrom": {
|
|
123307
|
+
"name": "SbbFormAssociatedMixin",
|
|
123308
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
123309
|
+
}
|
|
123310
|
+
},
|
|
123311
|
+
{
|
|
123312
|
+
"kind": "method",
|
|
123313
|
+
"name": "checkValidity",
|
|
123314
|
+
"privacy": "public",
|
|
123315
|
+
"return": {
|
|
123316
|
+
"type": {
|
|
123317
|
+
"text": "boolean"
|
|
123318
|
+
}
|
|
123319
|
+
},
|
|
123320
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
123321
|
+
"inheritedFrom": {
|
|
123322
|
+
"name": "SbbFormAssociatedMixin",
|
|
123323
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
123324
|
+
}
|
|
123325
|
+
},
|
|
123326
|
+
{
|
|
123327
|
+
"kind": "method",
|
|
123328
|
+
"name": "reportValidity",
|
|
123329
|
+
"privacy": "public",
|
|
123330
|
+
"return": {
|
|
123331
|
+
"type": {
|
|
123332
|
+
"text": "boolean"
|
|
123333
|
+
}
|
|
123334
|
+
},
|
|
123335
|
+
"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.",
|
|
123336
|
+
"inheritedFrom": {
|
|
123337
|
+
"name": "SbbFormAssociatedMixin",
|
|
123338
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
123339
|
+
}
|
|
123340
|
+
},
|
|
123341
|
+
{
|
|
123342
|
+
"kind": "method",
|
|
123343
|
+
"name": "setCustomValidity",
|
|
123344
|
+
"privacy": "public",
|
|
123364
123345
|
"return": {
|
|
123365
123346
|
"type": {
|
|
123366
123347
|
"text": "void"
|
|
@@ -123368,184 +123349,183 @@
|
|
|
123368
123349
|
},
|
|
123369
123350
|
"parameters": [
|
|
123370
123351
|
{
|
|
123371
|
-
"name": "
|
|
123352
|
+
"name": "message",
|
|
123372
123353
|
"type": {
|
|
123373
123354
|
"text": "string"
|
|
123374
123355
|
}
|
|
123375
|
-
},
|
|
123376
|
-
{
|
|
123377
|
-
"name": "force",
|
|
123378
|
-
"optional": true,
|
|
123379
|
-
"type": {
|
|
123380
|
-
"text": "boolean"
|
|
123381
|
-
}
|
|
123382
123356
|
}
|
|
123383
123357
|
],
|
|
123358
|
+
"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.",
|
|
123384
123359
|
"inheritedFrom": {
|
|
123385
|
-
"name": "
|
|
123386
|
-
"module": "core/
|
|
123360
|
+
"name": "SbbFormAssociatedMixin",
|
|
123361
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
123387
123362
|
}
|
|
123388
123363
|
},
|
|
123389
123364
|
{
|
|
123390
|
-
"kind": "
|
|
123391
|
-
"name": "
|
|
123392
|
-
"
|
|
123393
|
-
|
|
123365
|
+
"kind": "method",
|
|
123366
|
+
"name": "_hasDisabledAncestor",
|
|
123367
|
+
"privacy": "private",
|
|
123368
|
+
"return": {
|
|
123369
|
+
"type": {
|
|
123370
|
+
"text": "boolean"
|
|
123371
|
+
}
|
|
123394
123372
|
},
|
|
123395
|
-
"privacy": "public",
|
|
123396
|
-
"static": true,
|
|
123397
|
-
"default": "true",
|
|
123398
123373
|
"inheritedFrom": {
|
|
123399
|
-
"name": "
|
|
123400
|
-
"module": "core/
|
|
123374
|
+
"name": "SbbFormAssociatedMixin",
|
|
123375
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
123401
123376
|
}
|
|
123402
123377
|
},
|
|
123403
123378
|
{
|
|
123404
|
-
"kind": "
|
|
123405
|
-
"name": "
|
|
123406
|
-
"
|
|
123407
|
-
|
|
123379
|
+
"kind": "method",
|
|
123380
|
+
"name": "updateFormValue",
|
|
123381
|
+
"privacy": "protected",
|
|
123382
|
+
"return": {
|
|
123383
|
+
"type": {
|
|
123384
|
+
"text": "void"
|
|
123385
|
+
}
|
|
123408
123386
|
},
|
|
123409
|
-
"
|
|
123387
|
+
"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",
|
|
123410
123388
|
"inheritedFrom": {
|
|
123411
|
-
"name": "
|
|
123412
|
-
"module": "core/
|
|
123389
|
+
"name": "SbbFormAssociatedMixin",
|
|
123390
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
123413
123391
|
}
|
|
123414
|
-
}
|
|
123415
|
-
],
|
|
123416
|
-
"events": [
|
|
123417
|
-
{
|
|
123418
|
-
"type": {
|
|
123419
|
-
"text": "SbbStepChangeEvent"
|
|
123420
|
-
},
|
|
123421
|
-
"description": "Emits whenever a step was changed.",
|
|
123422
|
-
"name": "stepchange"
|
|
123423
|
-
}
|
|
123424
|
-
],
|
|
123425
|
-
"attributes": [
|
|
123392
|
+
},
|
|
123426
123393
|
{
|
|
123427
|
-
"
|
|
123428
|
-
"
|
|
123429
|
-
|
|
123394
|
+
"kind": "method",
|
|
123395
|
+
"name": "formState",
|
|
123396
|
+
"privacy": "protected",
|
|
123397
|
+
"return": {
|
|
123398
|
+
"type": {
|
|
123399
|
+
"text": "FormRestoreState"
|
|
123400
|
+
}
|
|
123430
123401
|
},
|
|
123431
|
-
"
|
|
123432
|
-
|
|
123433
|
-
|
|
123402
|
+
"inheritedFrom": {
|
|
123403
|
+
"name": "SbbFormAssociatedMixin",
|
|
123404
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
123405
|
+
}
|
|
123434
123406
|
},
|
|
123435
123407
|
{
|
|
123436
|
-
"
|
|
123437
|
-
"
|
|
123438
|
-
"
|
|
123439
|
-
|
|
123408
|
+
"kind": "method",
|
|
123409
|
+
"name": "setValidityFlag",
|
|
123410
|
+
"privacy": "protected",
|
|
123411
|
+
"return": {
|
|
123412
|
+
"type": {
|
|
123413
|
+
"text": "void"
|
|
123414
|
+
}
|
|
123440
123415
|
},
|
|
123441
|
-
"
|
|
123416
|
+
"parameters": [
|
|
123417
|
+
{
|
|
123418
|
+
"name": "flag",
|
|
123419
|
+
"type": {
|
|
123420
|
+
"text": "T"
|
|
123421
|
+
}
|
|
123422
|
+
},
|
|
123423
|
+
{
|
|
123424
|
+
"name": "message",
|
|
123425
|
+
"type": {
|
|
123426
|
+
"text": "string"
|
|
123427
|
+
}
|
|
123428
|
+
},
|
|
123429
|
+
{
|
|
123430
|
+
"name": "flagValue",
|
|
123431
|
+
"optional": true,
|
|
123432
|
+
"type": {
|
|
123433
|
+
"text": "ValidityStateFlags[T]"
|
|
123434
|
+
}
|
|
123435
|
+
}
|
|
123436
|
+
],
|
|
123437
|
+
"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).",
|
|
123438
|
+
"inheritedFrom": {
|
|
123439
|
+
"name": "SbbFormAssociatedMixin",
|
|
123440
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
123441
|
+
}
|
|
123442
123442
|
},
|
|
123443
123443
|
{
|
|
123444
|
-
"
|
|
123445
|
-
"
|
|
123446
|
-
|
|
123444
|
+
"kind": "method",
|
|
123445
|
+
"name": "removeValidityFlag",
|
|
123446
|
+
"privacy": "protected",
|
|
123447
|
+
"return": {
|
|
123448
|
+
"type": {
|
|
123449
|
+
"text": "void"
|
|
123450
|
+
}
|
|
123447
123451
|
},
|
|
123448
|
-
"
|
|
123449
|
-
|
|
123450
|
-
|
|
123452
|
+
"parameters": [
|
|
123453
|
+
{
|
|
123454
|
+
"name": "flag",
|
|
123455
|
+
"type": {
|
|
123456
|
+
"text": "T"
|
|
123457
|
+
}
|
|
123458
|
+
}
|
|
123459
|
+
],
|
|
123460
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
123461
|
+
"inheritedFrom": {
|
|
123462
|
+
"name": "SbbFormAssociatedMixin",
|
|
123463
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
123464
|
+
}
|
|
123451
123465
|
},
|
|
123452
123466
|
{
|
|
123453
|
-
"
|
|
123454
|
-
"
|
|
123455
|
-
|
|
123467
|
+
"kind": "method",
|
|
123468
|
+
"name": "validate",
|
|
123469
|
+
"privacy": "protected",
|
|
123470
|
+
"return": {
|
|
123471
|
+
"type": {
|
|
123472
|
+
"text": "void"
|
|
123473
|
+
}
|
|
123456
123474
|
},
|
|
123457
|
-
"description": "
|
|
123458
|
-
"
|
|
123459
|
-
|
|
123475
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
123476
|
+
"inheritedFrom": {
|
|
123477
|
+
"name": "SbbFormAssociatedMixin",
|
|
123478
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
123479
|
+
}
|
|
123460
123480
|
},
|
|
123461
123481
|
{
|
|
123462
|
-
"
|
|
123463
|
-
"
|
|
123464
|
-
"
|
|
123465
|
-
|
|
123482
|
+
"kind": "method",
|
|
123483
|
+
"name": "shouldValidate",
|
|
123484
|
+
"privacy": "protected",
|
|
123485
|
+
"return": {
|
|
123486
|
+
"type": {
|
|
123487
|
+
"text": "boolean"
|
|
123488
|
+
}
|
|
123466
123489
|
},
|
|
123467
|
-
"
|
|
123468
|
-
|
|
123469
|
-
|
|
123470
|
-
|
|
123471
|
-
|
|
123472
|
-
|
|
123473
|
-
|
|
123474
|
-
|
|
123475
|
-
|
|
123476
|
-
|
|
123477
|
-
|
|
123478
|
-
|
|
123479
|
-
|
|
123480
|
-
},
|
|
123481
|
-
{
|
|
123482
|
-
"kind": "variable",
|
|
123483
|
-
"name": "currentStep"
|
|
123484
|
-
}
|
|
123485
|
-
],
|
|
123486
|
-
"exports": [
|
|
123487
|
-
{
|
|
123488
|
-
"kind": "js",
|
|
123489
|
-
"name": "SbbStepChangeEvent",
|
|
123490
|
-
"declaration": {
|
|
123491
|
-
"name": "SbbStepChangeEvent",
|
|
123492
|
-
"module": "stepper/stepper/stepper.component.js"
|
|
123493
|
-
}
|
|
123494
|
-
},
|
|
123495
|
-
{
|
|
123496
|
-
"kind": "js",
|
|
123497
|
-
"name": "SbbStepperElement",
|
|
123498
|
-
"declaration": {
|
|
123499
|
-
"name": "SbbStepperElement",
|
|
123500
|
-
"module": "stepper/stepper/stepper.component.js"
|
|
123501
|
-
}
|
|
123502
|
-
}
|
|
123503
|
-
]
|
|
123504
|
-
},
|
|
123505
|
-
{
|
|
123506
|
-
"kind": "javascript-module",
|
|
123507
|
-
"path": "stepper/step-label/step-label.component.js",
|
|
123508
|
-
"declarations": [
|
|
123509
|
-
{
|
|
123510
|
-
"kind": "class",
|
|
123511
|
-
"description": "Combined with a `sbb-stepper`, it displays a step's label.",
|
|
123512
|
-
"name": "SbbStepLabelElement",
|
|
123513
|
-
"slots": [
|
|
123514
|
-
{
|
|
123515
|
-
"description": "Use the unnamed slot to provide a label.",
|
|
123516
|
-
"name": ""
|
|
123490
|
+
"parameters": [
|
|
123491
|
+
{
|
|
123492
|
+
"name": "name",
|
|
123493
|
+
"type": {
|
|
123494
|
+
"text": "PropertyKey | undefined"
|
|
123495
|
+
}
|
|
123496
|
+
}
|
|
123497
|
+
],
|
|
123498
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
123499
|
+
"inheritedFrom": {
|
|
123500
|
+
"name": "SbbFormAssociatedMixin",
|
|
123501
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
123502
|
+
}
|
|
123517
123503
|
},
|
|
123518
123504
|
{
|
|
123519
|
-
"
|
|
123520
|
-
"name": "
|
|
123521
|
-
|
|
123522
|
-
|
|
123523
|
-
|
|
123524
|
-
|
|
123525
|
-
|
|
123526
|
-
"name": "elementName",
|
|
123527
|
-
"type": {
|
|
123528
|
-
"text": "string"
|
|
123505
|
+
"kind": "method",
|
|
123506
|
+
"name": "_setInternalValidity",
|
|
123507
|
+
"privacy": "private",
|
|
123508
|
+
"return": {
|
|
123509
|
+
"type": {
|
|
123510
|
+
"text": "void"
|
|
123511
|
+
}
|
|
123529
123512
|
},
|
|
123530
|
-
"privacy": "public",
|
|
123531
|
-
"static": true,
|
|
123532
|
-
"readonly": true,
|
|
123533
123513
|
"inheritedFrom": {
|
|
123534
|
-
"name": "
|
|
123535
|
-
"module": "core/
|
|
123536
|
-
}
|
|
123537
|
-
"default": "'sbb-step-label'"
|
|
123514
|
+
"name": "SbbFormAssociatedMixin",
|
|
123515
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
123516
|
+
}
|
|
123538
123517
|
},
|
|
123539
123518
|
{
|
|
123540
123519
|
"kind": "field",
|
|
123541
|
-
"name": "
|
|
123542
|
-
"
|
|
123543
|
-
|
|
123544
|
-
|
|
123545
|
-
|
|
123546
|
-
|
|
123547
|
-
|
|
123548
|
-
|
|
123520
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
123521
|
+
"privacy": "private",
|
|
123522
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
123523
|
+
"parameters": [
|
|
123524
|
+
{
|
|
123525
|
+
"description": "The origin event.",
|
|
123526
|
+
"name": "event"
|
|
123527
|
+
}
|
|
123528
|
+
],
|
|
123549
123529
|
"inheritedFrom": {
|
|
123550
123530
|
"name": "SbbButtonLikeBaseElement",
|
|
123551
123531
|
"module": "core/base-elements/button-base-element.js"
|
|
@@ -123553,528 +123533,608 @@
|
|
|
123553
123533
|
},
|
|
123554
123534
|
{
|
|
123555
123535
|
"kind": "field",
|
|
123556
|
-
"name": "
|
|
123557
|
-
"type": {
|
|
123558
|
-
"text": "SbbStepElement | null"
|
|
123559
|
-
},
|
|
123560
|
-
"privacy": "public",
|
|
123561
|
-
"description": "The step controlled by the label.",
|
|
123562
|
-
"readonly": true,
|
|
123563
|
-
"default": "null"
|
|
123564
|
-
},
|
|
123565
|
-
{
|
|
123566
|
-
"kind": "field",
|
|
123567
|
-
"name": "_step",
|
|
123568
|
-
"type": {
|
|
123569
|
-
"text": "SbbStepElement | null"
|
|
123570
|
-
},
|
|
123536
|
+
"name": "_removeActiveMarker",
|
|
123571
123537
|
"privacy": "private",
|
|
123572
|
-
"
|
|
123538
|
+
"inheritedFrom": {
|
|
123539
|
+
"name": "SbbButtonLikeBaseElement",
|
|
123540
|
+
"module": "core/base-elements/button-base-element.js"
|
|
123541
|
+
}
|
|
123573
123542
|
},
|
|
123574
123543
|
{
|
|
123575
123544
|
"kind": "field",
|
|
123576
|
-
"name": "
|
|
123577
|
-
"
|
|
123578
|
-
|
|
123579
|
-
|
|
123580
|
-
|
|
123581
|
-
|
|
123545
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
123546
|
+
"privacy": "private",
|
|
123547
|
+
"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.",
|
|
123548
|
+
"parameters": [
|
|
123549
|
+
{
|
|
123550
|
+
"description": "The origin event.",
|
|
123551
|
+
"name": "event"
|
|
123552
|
+
}
|
|
123553
|
+
],
|
|
123554
|
+
"inheritedFrom": {
|
|
123555
|
+
"name": "SbbButtonLikeBaseElement",
|
|
123556
|
+
"module": "core/base-elements/button-base-element.js"
|
|
123557
|
+
}
|
|
123582
123558
|
},
|
|
123583
123559
|
{
|
|
123584
123560
|
"kind": "field",
|
|
123585
|
-
"name": "
|
|
123586
|
-
"privacy": "
|
|
123587
|
-
"description": "Whether the component is disabled.",
|
|
123588
|
-
"default": "false",
|
|
123589
|
-
"type": {
|
|
123590
|
-
"text": "boolean"
|
|
123591
|
-
},
|
|
123592
|
-
"attribute": "disabled",
|
|
123593
|
-
"reflects": true,
|
|
123561
|
+
"name": "_dispatchClickEvent",
|
|
123562
|
+
"privacy": "private",
|
|
123594
123563
|
"inheritedFrom": {
|
|
123595
|
-
"name": "
|
|
123596
|
-
"module": "core/
|
|
123564
|
+
"name": "SbbButtonLikeBaseElement",
|
|
123565
|
+
"module": "core/base-elements/button-base-element.js"
|
|
123597
123566
|
}
|
|
123598
123567
|
},
|
|
123599
123568
|
{
|
|
123600
123569
|
"kind": "field",
|
|
123601
|
-
"name": "
|
|
123570
|
+
"name": "maybeDisabled",
|
|
123602
123571
|
"type": {
|
|
123603
|
-
"text": "
|
|
123572
|
+
"text": "boolean | undefined"
|
|
123604
123573
|
},
|
|
123605
|
-
"privacy": "
|
|
123574
|
+
"privacy": "protected",
|
|
123575
|
+
"readonly": true,
|
|
123576
|
+
"inheritedFrom": {
|
|
123577
|
+
"name": "SbbActionBaseElement",
|
|
123578
|
+
"module": "core/base-elements/action-base-element.js"
|
|
123579
|
+
}
|
|
123606
123580
|
},
|
|
123607
123581
|
{
|
|
123608
123582
|
"kind": "field",
|
|
123609
|
-
"name": "
|
|
123583
|
+
"name": "maybeDisabledInteractive",
|
|
123610
123584
|
"type": {
|
|
123611
|
-
"text": "
|
|
123585
|
+
"text": "boolean | undefined"
|
|
123612
123586
|
},
|
|
123613
|
-
"privacy": "
|
|
123587
|
+
"privacy": "protected",
|
|
123588
|
+
"readonly": true,
|
|
123589
|
+
"inheritedFrom": {
|
|
123590
|
+
"name": "SbbActionBaseElement",
|
|
123591
|
+
"module": "core/base-elements/action-base-element.js"
|
|
123592
|
+
}
|
|
123614
123593
|
},
|
|
123615
123594
|
{
|
|
123616
123595
|
"kind": "method",
|
|
123617
|
-
"name": "
|
|
123618
|
-
"privacy": "
|
|
123596
|
+
"name": "setupBaseEventHandlers",
|
|
123597
|
+
"privacy": "protected",
|
|
123619
123598
|
"return": {
|
|
123620
123599
|
"type": {
|
|
123621
|
-
"text": "
|
|
123600
|
+
"text": "void"
|
|
123622
123601
|
}
|
|
123623
123602
|
},
|
|
123624
|
-
"
|
|
123625
|
-
|
|
123626
|
-
|
|
123627
|
-
|
|
123628
|
-
"text": "SbbStepElement"
|
|
123629
|
-
}
|
|
123630
|
-
}
|
|
123631
|
-
]
|
|
123603
|
+
"inheritedFrom": {
|
|
123604
|
+
"name": "SbbActionBaseElement",
|
|
123605
|
+
"module": "core/base-elements/action-base-element.js"
|
|
123606
|
+
}
|
|
123632
123607
|
},
|
|
123633
123608
|
{
|
|
123634
123609
|
"kind": "method",
|
|
123635
|
-
"name": "
|
|
123636
|
-
"privacy": "
|
|
123610
|
+
"name": "renderTemplate",
|
|
123611
|
+
"privacy": "protected",
|
|
123637
123612
|
"return": {
|
|
123638
123613
|
"type": {
|
|
123639
|
-
"text": "
|
|
123614
|
+
"text": "TemplateResult"
|
|
123640
123615
|
}
|
|
123616
|
+
},
|
|
123617
|
+
"description": "Override this method to render the component template.",
|
|
123618
|
+
"inheritedFrom": {
|
|
123619
|
+
"name": "SbbActionBaseElement",
|
|
123620
|
+
"module": "core/base-elements/action-base-element.js"
|
|
123641
123621
|
}
|
|
123642
123622
|
},
|
|
123643
123623
|
{
|
|
123644
123624
|
"kind": "field",
|
|
123645
|
-
"name": "
|
|
123625
|
+
"name": "_hydrationRequired",
|
|
123646
123626
|
"type": {
|
|
123647
|
-
"text": "
|
|
123627
|
+
"text": "boolean"
|
|
123648
123628
|
},
|
|
123649
|
-
"privacy": "
|
|
123650
|
-
"default": "
|
|
123651
|
-
"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.",
|
|
123652
|
-
"attribute": "icon-name",
|
|
123629
|
+
"privacy": "private",
|
|
123630
|
+
"default": "!!this.shadowRoot",
|
|
123653
123631
|
"inheritedFrom": {
|
|
123654
|
-
"name": "
|
|
123655
|
-
"module": "
|
|
123632
|
+
"name": "SbbElement",
|
|
123633
|
+
"module": "core/base-elements/element.js"
|
|
123634
|
+
}
|
|
123635
|
+
},
|
|
123636
|
+
{
|
|
123637
|
+
"kind": "field",
|
|
123638
|
+
"name": "_hydrationComplete",
|
|
123639
|
+
"privacy": "private",
|
|
123640
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
123641
|
+
"inheritedFrom": {
|
|
123642
|
+
"name": "SbbElement",
|
|
123643
|
+
"module": "core/base-elements/element.js"
|
|
123644
|
+
}
|
|
123645
|
+
},
|
|
123646
|
+
{
|
|
123647
|
+
"kind": "field",
|
|
123648
|
+
"name": "_resolveHydration",
|
|
123649
|
+
"type": {
|
|
123650
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
123651
|
+
},
|
|
123652
|
+
"privacy": "private",
|
|
123653
|
+
"inheritedFrom": {
|
|
123654
|
+
"name": "SbbElement",
|
|
123655
|
+
"module": "core/base-elements/element.js"
|
|
123656
123656
|
}
|
|
123657
123657
|
},
|
|
123658
|
+
{
|
|
123659
|
+
"kind": "field",
|
|
123660
|
+
"name": "hydrationRequired",
|
|
123661
|
+
"type": {
|
|
123662
|
+
"text": "boolean"
|
|
123663
|
+
},
|
|
123664
|
+
"privacy": "protected",
|
|
123665
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
123666
|
+
"readonly": true,
|
|
123667
|
+
"inheritedFrom": {
|
|
123668
|
+
"name": "SbbElement",
|
|
123669
|
+
"module": "core/base-elements/element.js"
|
|
123670
|
+
},
|
|
123671
|
+
"default": "!!this.shadowRoot"
|
|
123672
|
+
},
|
|
123658
123673
|
{
|
|
123659
123674
|
"kind": "method",
|
|
123660
|
-
"name": "
|
|
123675
|
+
"name": "toggleState",
|
|
123661
123676
|
"privacy": "protected",
|
|
123662
123677
|
"return": {
|
|
123663
123678
|
"type": {
|
|
123664
|
-
"text": "
|
|
123679
|
+
"text": "void"
|
|
123665
123680
|
}
|
|
123666
123681
|
},
|
|
123667
123682
|
"parameters": [
|
|
123668
123683
|
{
|
|
123669
|
-
"name": "
|
|
123670
|
-
"optional": true,
|
|
123684
|
+
"name": "value",
|
|
123671
123685
|
"type": {
|
|
123672
123686
|
"text": "string"
|
|
123673
123687
|
}
|
|
123688
|
+
},
|
|
123689
|
+
{
|
|
123690
|
+
"name": "force",
|
|
123691
|
+
"optional": true,
|
|
123692
|
+
"type": {
|
|
123693
|
+
"text": "boolean"
|
|
123694
|
+
}
|
|
123674
123695
|
}
|
|
123675
123696
|
],
|
|
123676
123697
|
"inheritedFrom": {
|
|
123677
|
-
"name": "
|
|
123678
|
-
"module": "
|
|
123698
|
+
"name": "SbbElement",
|
|
123699
|
+
"module": "core/base-elements/element.js"
|
|
123679
123700
|
}
|
|
123680
123701
|
},
|
|
123681
123702
|
{
|
|
123682
|
-
"kind": "
|
|
123683
|
-
"name": "
|
|
123684
|
-
"
|
|
123685
|
-
|
|
123686
|
-
"type": {
|
|
123687
|
-
"text": "string"
|
|
123688
|
-
}
|
|
123703
|
+
"kind": "field",
|
|
123704
|
+
"name": "['_$sbbElement$']",
|
|
123705
|
+
"type": {
|
|
123706
|
+
"text": "boolean"
|
|
123689
123707
|
},
|
|
123708
|
+
"privacy": "public",
|
|
123709
|
+
"static": true,
|
|
123710
|
+
"default": "true",
|
|
123690
123711
|
"inheritedFrom": {
|
|
123691
|
-
"name": "
|
|
123692
|
-
"module": "
|
|
123712
|
+
"name": "SbbElement",
|
|
123713
|
+
"module": "core/base-elements/element.js"
|
|
123714
|
+
}
|
|
123715
|
+
},
|
|
123716
|
+
{
|
|
123717
|
+
"kind": "field",
|
|
123718
|
+
"name": "_controllers",
|
|
123719
|
+
"type": {
|
|
123720
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
123721
|
+
},
|
|
123722
|
+
"privacy": "private",
|
|
123723
|
+
"inheritedFrom": {
|
|
123724
|
+
"name": "SbbElement",
|
|
123725
|
+
"module": "core/base-elements/element.js"
|
|
123693
123726
|
}
|
|
123727
|
+
}
|
|
123728
|
+
],
|
|
123729
|
+
"mixins": [
|
|
123730
|
+
{
|
|
123731
|
+
"name": "SbbIconNameMixin",
|
|
123732
|
+
"module": "icon.js"
|
|
123694
123733
|
},
|
|
123695
123734
|
{
|
|
123696
|
-
"
|
|
123697
|
-
"
|
|
123698
|
-
|
|
123699
|
-
|
|
123700
|
-
|
|
123701
|
-
|
|
123702
|
-
|
|
123735
|
+
"name": "SbbDisabledMixin",
|
|
123736
|
+
"module": "core/mixins.js"
|
|
123737
|
+
}
|
|
123738
|
+
],
|
|
123739
|
+
"superclass": {
|
|
123740
|
+
"name": "SbbButtonBaseElement",
|
|
123741
|
+
"module": "core/base-elements.js"
|
|
123742
|
+
},
|
|
123743
|
+
"tagName": "sbb-step-label",
|
|
123744
|
+
"customElement": true,
|
|
123745
|
+
"attributes": [
|
|
123746
|
+
{
|
|
123747
|
+
"name": "icon-name",
|
|
123748
|
+
"type": {
|
|
123749
|
+
"text": "string"
|
|
123703
123750
|
},
|
|
123751
|
+
"default": "''",
|
|
123752
|
+
"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.",
|
|
123753
|
+
"fieldName": "iconName",
|
|
123704
123754
|
"inheritedFrom": {
|
|
123705
123755
|
"name": "SbbIconNameMixin",
|
|
123706
123756
|
"module": "icon/icon-name-mixin.js"
|
|
123707
123757
|
}
|
|
123708
123758
|
},
|
|
123709
123759
|
{
|
|
123710
|
-
"
|
|
123711
|
-
"
|
|
123712
|
-
"
|
|
123760
|
+
"name": "disabled",
|
|
123761
|
+
"description": "Whether the component is disabled.",
|
|
123762
|
+
"default": "false",
|
|
123713
123763
|
"type": {
|
|
123714
123764
|
"text": "boolean"
|
|
123715
123765
|
},
|
|
123716
|
-
"
|
|
123766
|
+
"fieldName": "disabled",
|
|
123717
123767
|
"inheritedFrom": {
|
|
123718
123768
|
"name": "SbbDisabledMixin",
|
|
123719
123769
|
"module": "core/mixins/disabled-mixin.js"
|
|
123720
123770
|
}
|
|
123721
123771
|
},
|
|
123722
123772
|
{
|
|
123723
|
-
"
|
|
123724
|
-
"
|
|
123725
|
-
|
|
123726
|
-
"return": {
|
|
123727
|
-
"type": {
|
|
123728
|
-
"text": "boolean"
|
|
123729
|
-
}
|
|
123773
|
+
"name": "value",
|
|
123774
|
+
"type": {
|
|
123775
|
+
"text": "string"
|
|
123730
123776
|
},
|
|
123731
|
-
"
|
|
123777
|
+
"default": "''",
|
|
123778
|
+
"description": "Value of the form element.",
|
|
123779
|
+
"fieldName": "value",
|
|
123732
123780
|
"inheritedFrom": {
|
|
123733
|
-
"name": "
|
|
123734
|
-
"module": "core/
|
|
123781
|
+
"name": "SbbButtonBaseElement",
|
|
123782
|
+
"module": "core/base-elements/button-base-element.js"
|
|
123735
123783
|
}
|
|
123736
123784
|
},
|
|
123737
123785
|
{
|
|
123738
|
-
"
|
|
123739
|
-
"
|
|
123786
|
+
"name": "type",
|
|
123787
|
+
"description": "The type attribute to use for the button.",
|
|
123788
|
+
"default": "'button'",
|
|
123740
123789
|
"type": {
|
|
123741
|
-
"text": "
|
|
123790
|
+
"text": "SbbButtonType"
|
|
123742
123791
|
},
|
|
123743
|
-
"
|
|
123744
|
-
"readonly": true,
|
|
123745
|
-
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
123792
|
+
"fieldName": "type",
|
|
123746
123793
|
"inheritedFrom": {
|
|
123747
123794
|
"name": "SbbButtonBaseElement",
|
|
123748
123795
|
"module": "core/base-elements/button-base-element.js"
|
|
123749
123796
|
}
|
|
123750
123797
|
},
|
|
123751
123798
|
{
|
|
123752
|
-
"
|
|
123753
|
-
"
|
|
123799
|
+
"name": "form",
|
|
123800
|
+
"description": "The `<form>` element to associate the button with.",
|
|
123754
123801
|
"type": {
|
|
123755
|
-
"text": "
|
|
123802
|
+
"text": "HTMLFormElement | null"
|
|
123756
123803
|
},
|
|
123757
|
-
"
|
|
123804
|
+
"fieldName": "form",
|
|
123758
123805
|
"inheritedFrom": {
|
|
123759
123806
|
"name": "SbbButtonBaseElement",
|
|
123760
123807
|
"module": "core/base-elements/button-base-element.js"
|
|
123761
|
-
}
|
|
123762
|
-
"default": "''",
|
|
123763
|
-
"description": "Value of the form element.",
|
|
123764
|
-
"attribute": "value"
|
|
123808
|
+
}
|
|
123765
123809
|
},
|
|
123766
123810
|
{
|
|
123767
|
-
"
|
|
123768
|
-
"
|
|
123769
|
-
"privacy": "public",
|
|
123770
|
-
"description": "The type attribute to use for the button.",
|
|
123771
|
-
"default": "'button'",
|
|
123811
|
+
"name": "name",
|
|
123812
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
123772
123813
|
"type": {
|
|
123773
|
-
"text": "
|
|
123814
|
+
"text": "string"
|
|
123774
123815
|
},
|
|
123775
|
-
"
|
|
123816
|
+
"fieldName": "name",
|
|
123776
123817
|
"inheritedFrom": {
|
|
123777
|
-
"name": "
|
|
123778
|
-
"module": "core/
|
|
123818
|
+
"name": "SbbFormAssociatedMixin",
|
|
123819
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
123779
123820
|
}
|
|
123821
|
+
}
|
|
123822
|
+
]
|
|
123823
|
+
}
|
|
123824
|
+
],
|
|
123825
|
+
"exports": [
|
|
123826
|
+
{
|
|
123827
|
+
"kind": "js",
|
|
123828
|
+
"name": "SbbStepLabelElement",
|
|
123829
|
+
"declaration": {
|
|
123830
|
+
"name": "SbbStepLabelElement",
|
|
123831
|
+
"module": "stepper/step-label/step-label.component.js"
|
|
123832
|
+
}
|
|
123833
|
+
}
|
|
123834
|
+
]
|
|
123835
|
+
},
|
|
123836
|
+
{
|
|
123837
|
+
"kind": "javascript-module",
|
|
123838
|
+
"path": "stepper/stepper/stepper.component.js",
|
|
123839
|
+
"declarations": [
|
|
123840
|
+
{
|
|
123841
|
+
"kind": "class",
|
|
123842
|
+
"description": "",
|
|
123843
|
+
"name": "SbbStepChangeEvent",
|
|
123844
|
+
"members": [
|
|
123845
|
+
{
|
|
123846
|
+
"kind": "field",
|
|
123847
|
+
"name": "selectedIndex",
|
|
123848
|
+
"type": {
|
|
123849
|
+
"text": "number | null"
|
|
123850
|
+
},
|
|
123851
|
+
"privacy": "public",
|
|
123852
|
+
"readonly": true,
|
|
123853
|
+
"description": "The index of the newly selected step.",
|
|
123854
|
+
"default": "selectedIndex"
|
|
123780
123855
|
},
|
|
123781
123856
|
{
|
|
123782
123857
|
"kind": "field",
|
|
123783
|
-
"name": "
|
|
123858
|
+
"name": "previousIndex",
|
|
123784
123859
|
"type": {
|
|
123785
|
-
"text": "
|
|
123860
|
+
"text": "number | null"
|
|
123786
123861
|
},
|
|
123787
123862
|
"privacy": "public",
|
|
123788
|
-
"
|
|
123789
|
-
"
|
|
123790
|
-
|
|
123791
|
-
|
|
123863
|
+
"readonly": true,
|
|
123864
|
+
"description": "The index of the previously selected step.",
|
|
123865
|
+
"default": "previousIndex"
|
|
123866
|
+
},
|
|
123867
|
+
{
|
|
123868
|
+
"kind": "field",
|
|
123869
|
+
"name": "selectedStep",
|
|
123870
|
+
"type": {
|
|
123871
|
+
"text": "SbbStepElement | null"
|
|
123792
123872
|
},
|
|
123793
|
-
"
|
|
123873
|
+
"privacy": "public",
|
|
123874
|
+
"readonly": true,
|
|
123875
|
+
"description": "The newly selected step element.",
|
|
123876
|
+
"default": "selectedStep"
|
|
123794
123877
|
},
|
|
123795
123878
|
{
|
|
123796
123879
|
"kind": "field",
|
|
123797
|
-
"name": "
|
|
123880
|
+
"name": "previousStep",
|
|
123881
|
+
"type": {
|
|
123882
|
+
"text": "SbbStepElement | null"
|
|
123883
|
+
},
|
|
123884
|
+
"privacy": "public",
|
|
123885
|
+
"readonly": true,
|
|
123886
|
+
"description": "The previously selected step element.",
|
|
123887
|
+
"default": "previousStep"
|
|
123888
|
+
}
|
|
123889
|
+
],
|
|
123890
|
+
"superclass": {
|
|
123891
|
+
"name": "Event",
|
|
123892
|
+
"module": "stepper/stepper/stepper.component.js"
|
|
123893
|
+
}
|
|
123894
|
+
},
|
|
123895
|
+
{
|
|
123896
|
+
"kind": "class",
|
|
123897
|
+
"description": "Provides a structured, step-by-step workflow for user interactions.",
|
|
123898
|
+
"name": "SbbStepperElement",
|
|
123899
|
+
"slots": [
|
|
123900
|
+
{
|
|
123901
|
+
"description": "Provide a `sbb-expansion-panel-header` and a `sbb-expansion-panel-content` to the stepper.",
|
|
123902
|
+
"name": ""
|
|
123903
|
+
},
|
|
123904
|
+
{
|
|
123905
|
+
"description": "Use this slot to provide an `sbb-step-label`.",
|
|
123906
|
+
"name": "step-label"
|
|
123907
|
+
},
|
|
123908
|
+
{
|
|
123909
|
+
"description": "Use this slot to provide an `sbb-step`.",
|
|
123910
|
+
"name": "step"
|
|
123911
|
+
}
|
|
123912
|
+
],
|
|
123913
|
+
"members": [
|
|
123914
|
+
{
|
|
123915
|
+
"kind": "field",
|
|
123916
|
+
"name": "elementName",
|
|
123798
123917
|
"type": {
|
|
123799
123918
|
"text": "string"
|
|
123800
123919
|
},
|
|
123801
|
-
"privacy": "
|
|
123802
|
-
"
|
|
123920
|
+
"privacy": "public",
|
|
123921
|
+
"static": true,
|
|
123922
|
+
"readonly": true,
|
|
123923
|
+
"default": "'sbb-stepper'",
|
|
123803
123924
|
"inheritedFrom": {
|
|
123804
|
-
"name": "
|
|
123805
|
-
"module": "core/base-elements/
|
|
123925
|
+
"name": "SbbElement",
|
|
123926
|
+
"module": "core/base-elements/element.js"
|
|
123806
123927
|
}
|
|
123807
123928
|
},
|
|
123808
123929
|
{
|
|
123809
123930
|
"kind": "field",
|
|
123810
|
-
"name": "
|
|
123811
|
-
"privacy": "
|
|
123812
|
-
"
|
|
123813
|
-
|
|
123814
|
-
|
|
123931
|
+
"name": "events",
|
|
123932
|
+
"privacy": "public",
|
|
123933
|
+
"static": true,
|
|
123934
|
+
"readonly": true,
|
|
123935
|
+
"default": "{ stepchange: 'stepchange', }",
|
|
123936
|
+
"type": {
|
|
123937
|
+
"text": "{\n stepchange: 'stepchange',\n }"
|
|
123815
123938
|
}
|
|
123816
123939
|
},
|
|
123817
123940
|
{
|
|
123818
|
-
"kind": "
|
|
123819
|
-
"name": "
|
|
123941
|
+
"kind": "field",
|
|
123942
|
+
"name": "_observer",
|
|
123820
123943
|
"privacy": "private",
|
|
123821
|
-
"
|
|
123822
|
-
|
|
123823
|
-
|
|
123824
|
-
|
|
123944
|
+
"default": "new IntersectionController(this, { target: null, callback: (entries) => { entries.forEach((e) => { if (e.intersectionRatio > 0) { this._setStepperHeight(this.selected); this._setMarkerSize(); } }); }, })",
|
|
123945
|
+
"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."
|
|
123946
|
+
},
|
|
123947
|
+
{
|
|
123948
|
+
"kind": "field",
|
|
123949
|
+
"name": "linear",
|
|
123950
|
+
"type": {
|
|
123951
|
+
"text": "boolean"
|
|
123825
123952
|
},
|
|
123826
|
-
"
|
|
123827
|
-
|
|
123828
|
-
|
|
123829
|
-
|
|
123830
|
-
|
|
123831
|
-
|
|
123832
|
-
|
|
123833
|
-
|
|
123834
|
-
"
|
|
123835
|
-
|
|
123836
|
-
|
|
123837
|
-
|
|
123953
|
+
"privacy": "public",
|
|
123954
|
+
"default": "false",
|
|
123955
|
+
"description": "If set to true, only the current and previous labels can be clicked and selected.",
|
|
123956
|
+
"attribute": "linear"
|
|
123957
|
+
},
|
|
123958
|
+
{
|
|
123959
|
+
"kind": "field",
|
|
123960
|
+
"name": "horizontalFrom",
|
|
123961
|
+
"privacy": "public",
|
|
123962
|
+
"description": "Overrides the behavior of `orientation` property.",
|
|
123963
|
+
"type": {
|
|
123964
|
+
"text": "SbbHorizontalFrom | null"
|
|
123965
|
+
},
|
|
123966
|
+
"attribute": "horizontal-from",
|
|
123967
|
+
"reflects": true,
|
|
123968
|
+
"default": "null"
|
|
123969
|
+
},
|
|
123970
|
+
{
|
|
123971
|
+
"kind": "field",
|
|
123972
|
+
"name": "_horizontalFrom",
|
|
123973
|
+
"type": {
|
|
123974
|
+
"text": "SbbHorizontalFrom | null"
|
|
123975
|
+
},
|
|
123976
|
+
"privacy": "private",
|
|
123977
|
+
"default": "null"
|
|
123838
123978
|
},
|
|
123839
123979
|
{
|
|
123840
123980
|
"kind": "field",
|
|
123841
|
-
"name": "
|
|
123842
|
-
"
|
|
123843
|
-
|
|
123844
|
-
|
|
123845
|
-
|
|
123846
|
-
|
|
123981
|
+
"name": "orientation",
|
|
123982
|
+
"type": {
|
|
123983
|
+
"text": "SbbOrientation"
|
|
123984
|
+
},
|
|
123985
|
+
"privacy": "public",
|
|
123986
|
+
"default": "'horizontal'",
|
|
123987
|
+
"description": "Steps orientation, either horizontal or vertical.",
|
|
123988
|
+
"attribute": "orientation",
|
|
123989
|
+
"reflects": true
|
|
123847
123990
|
},
|
|
123848
123991
|
{
|
|
123849
123992
|
"kind": "field",
|
|
123850
|
-
"name": "
|
|
123993
|
+
"name": "size",
|
|
123851
123994
|
"type": {
|
|
123852
|
-
"text": "
|
|
123995
|
+
"text": "'s' | 'm'"
|
|
123853
123996
|
},
|
|
123854
123997
|
"privacy": "public",
|
|
123855
|
-
"
|
|
123856
|
-
"default": "
|
|
123857
|
-
"
|
|
123858
|
-
|
|
123859
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
123860
|
-
}
|
|
123998
|
+
"description": "Size variant, either s or m.",
|
|
123999
|
+
"default": "'m' / 's' (lean)",
|
|
124000
|
+
"attribute": "size",
|
|
124001
|
+
"reflects": true
|
|
123861
124002
|
},
|
|
123862
124003
|
{
|
|
123863
124004
|
"kind": "field",
|
|
123864
|
-
"name": "
|
|
124005
|
+
"name": "selected",
|
|
123865
124006
|
"privacy": "public",
|
|
123866
|
-
"description": "
|
|
124007
|
+
"description": "The currently selected step.",
|
|
123867
124008
|
"type": {
|
|
123868
|
-
"text": "
|
|
123869
|
-
},
|
|
123870
|
-
"attribute": "name",
|
|
123871
|
-
"inheritedFrom": {
|
|
123872
|
-
"name": "SbbFormAssociatedMixin",
|
|
123873
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
124009
|
+
"text": "SbbStepElement | null"
|
|
123874
124010
|
}
|
|
123875
124011
|
},
|
|
123876
124012
|
{
|
|
123877
124013
|
"kind": "field",
|
|
123878
|
-
"name": "
|
|
124014
|
+
"name": "_requestedSelected",
|
|
123879
124015
|
"type": {
|
|
123880
|
-
"text": "
|
|
124016
|
+
"text": "SbbStepElement | null"
|
|
123881
124017
|
},
|
|
124018
|
+
"privacy": "private",
|
|
124019
|
+
"default": "null"
|
|
124020
|
+
},
|
|
124021
|
+
{
|
|
124022
|
+
"kind": "field",
|
|
124023
|
+
"name": "selectedIndex",
|
|
123882
124024
|
"privacy": "public",
|
|
123883
|
-
"description": "
|
|
123884
|
-
"
|
|
123885
|
-
|
|
123886
|
-
|
|
123887
|
-
|
|
123888
|
-
}
|
|
124025
|
+
"description": "The currently selected step index.",
|
|
124026
|
+
"type": {
|
|
124027
|
+
"text": "number | null"
|
|
124028
|
+
},
|
|
124029
|
+
"attribute": "selected-index"
|
|
123889
124030
|
},
|
|
123890
124031
|
{
|
|
123891
124032
|
"kind": "field",
|
|
123892
|
-
"name": "
|
|
124033
|
+
"name": "_requestedSelectedIndex",
|
|
123893
124034
|
"type": {
|
|
123894
|
-
"text": "
|
|
124035
|
+
"text": "number | null"
|
|
123895
124036
|
},
|
|
123896
|
-
"privacy": "
|
|
123897
|
-
"
|
|
123898
|
-
"readonly": true,
|
|
123899
|
-
"inheritedFrom": {
|
|
123900
|
-
"name": "SbbFormAssociatedMixin",
|
|
123901
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
123902
|
-
}
|
|
124037
|
+
"privacy": "private",
|
|
124038
|
+
"default": "null"
|
|
123903
124039
|
},
|
|
123904
124040
|
{
|
|
123905
124041
|
"kind": "field",
|
|
123906
|
-
"name": "
|
|
124042
|
+
"name": "steps",
|
|
123907
124043
|
"type": {
|
|
123908
|
-
"text": "
|
|
124044
|
+
"text": "SbbStepElement[]"
|
|
123909
124045
|
},
|
|
123910
124046
|
"privacy": "public",
|
|
123911
|
-
"description": "
|
|
123912
|
-
"readonly": true
|
|
123913
|
-
"inheritedFrom": {
|
|
123914
|
-
"name": "SbbFormAssociatedMixin",
|
|
123915
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
123916
|
-
}
|
|
124047
|
+
"description": "The steps of the stepper.",
|
|
124048
|
+
"readonly": true
|
|
123917
124049
|
},
|
|
123918
124050
|
{
|
|
123919
124051
|
"kind": "field",
|
|
123920
|
-
"name": "
|
|
124052
|
+
"name": "_enabledSteps",
|
|
124053
|
+
"type": {
|
|
124054
|
+
"text": "SbbStepElement[]"
|
|
124055
|
+
},
|
|
123921
124056
|
"privacy": "private",
|
|
123922
|
-
"
|
|
123923
|
-
"inheritedFrom": {
|
|
123924
|
-
"name": "SbbFormAssociatedMixin",
|
|
123925
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
123926
|
-
}
|
|
124057
|
+
"readonly": true
|
|
123927
124058
|
},
|
|
123928
124059
|
{
|
|
123929
124060
|
"kind": "field",
|
|
123930
|
-
"name": "
|
|
124061
|
+
"name": "_loaded",
|
|
123931
124062
|
"type": {
|
|
123932
124063
|
"text": "boolean"
|
|
123933
124064
|
},
|
|
123934
|
-
"privacy": "
|
|
123935
|
-
"default": "false"
|
|
123936
|
-
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
123937
|
-
"inheritedFrom": {
|
|
123938
|
-
"name": "SbbFormAssociatedMixin",
|
|
123939
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
123940
|
-
}
|
|
124065
|
+
"privacy": "private",
|
|
124066
|
+
"default": "false"
|
|
123941
124067
|
},
|
|
123942
124068
|
{
|
|
123943
|
-
"kind": "
|
|
123944
|
-
"name": "
|
|
123945
|
-
"
|
|
123946
|
-
|
|
123947
|
-
"type": {
|
|
123948
|
-
"text": "boolean"
|
|
123949
|
-
}
|
|
124069
|
+
"kind": "field",
|
|
124070
|
+
"name": "_resizeObserverTimeout",
|
|
124071
|
+
"type": {
|
|
124072
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
123950
124073
|
},
|
|
123951
|
-
"
|
|
123952
|
-
"
|
|
123953
|
-
"name": "SbbFormAssociatedMixin",
|
|
123954
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
123955
|
-
}
|
|
124074
|
+
"privacy": "private",
|
|
124075
|
+
"default": "null"
|
|
123956
124076
|
},
|
|
123957
124077
|
{
|
|
123958
|
-
"kind": "
|
|
123959
|
-
"name": "
|
|
123960
|
-
"privacy": "
|
|
123961
|
-
"
|
|
123962
|
-
"type": {
|
|
123963
|
-
"text": "boolean"
|
|
123964
|
-
}
|
|
123965
|
-
},
|
|
123966
|
-
"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.",
|
|
123967
|
-
"inheritedFrom": {
|
|
123968
|
-
"name": "SbbFormAssociatedMixin",
|
|
123969
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
123970
|
-
}
|
|
124078
|
+
"kind": "field",
|
|
124079
|
+
"name": "_mediaMatcher",
|
|
124080
|
+
"privacy": "private",
|
|
124081
|
+
"default": "new SbbMediaMatcherController(this, {})"
|
|
123971
124082
|
},
|
|
123972
124083
|
{
|
|
123973
124084
|
"kind": "method",
|
|
123974
|
-
"name": "
|
|
124085
|
+
"name": "next",
|
|
123975
124086
|
"privacy": "public",
|
|
123976
124087
|
"return": {
|
|
123977
124088
|
"type": {
|
|
123978
124089
|
"text": "void"
|
|
123979
124090
|
}
|
|
123980
124091
|
},
|
|
123981
|
-
"
|
|
123982
|
-
{
|
|
123983
|
-
"name": "message",
|
|
123984
|
-
"type": {
|
|
123985
|
-
"text": "string"
|
|
123986
|
-
}
|
|
123987
|
-
}
|
|
123988
|
-
],
|
|
123989
|
-
"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.",
|
|
123990
|
-
"inheritedFrom": {
|
|
123991
|
-
"name": "SbbFormAssociatedMixin",
|
|
123992
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
123993
|
-
}
|
|
123994
|
-
},
|
|
123995
|
-
{
|
|
123996
|
-
"kind": "method",
|
|
123997
|
-
"name": "_hasDisabledAncestor",
|
|
123998
|
-
"privacy": "private",
|
|
123999
|
-
"return": {
|
|
124000
|
-
"type": {
|
|
124001
|
-
"text": "boolean"
|
|
124002
|
-
}
|
|
124003
|
-
},
|
|
124004
|
-
"inheritedFrom": {
|
|
124005
|
-
"name": "SbbFormAssociatedMixin",
|
|
124006
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
124007
|
-
}
|
|
124092
|
+
"description": "Selects the next step."
|
|
124008
124093
|
},
|
|
124009
124094
|
{
|
|
124010
124095
|
"kind": "method",
|
|
124011
|
-
"name": "
|
|
124012
|
-
"privacy": "
|
|
124096
|
+
"name": "previous",
|
|
124097
|
+
"privacy": "public",
|
|
124013
124098
|
"return": {
|
|
124014
124099
|
"type": {
|
|
124015
124100
|
"text": "void"
|
|
124016
124101
|
}
|
|
124017
124102
|
},
|
|
124018
|
-
"description": "
|
|
124019
|
-
"inheritedFrom": {
|
|
124020
|
-
"name": "SbbFormAssociatedMixin",
|
|
124021
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
124022
|
-
}
|
|
124103
|
+
"description": "Selects the previous step."
|
|
124023
124104
|
},
|
|
124024
124105
|
{
|
|
124025
124106
|
"kind": "method",
|
|
124026
|
-
"name": "
|
|
124027
|
-
"privacy": "
|
|
124107
|
+
"name": "reset",
|
|
124108
|
+
"privacy": "public",
|
|
124028
124109
|
"return": {
|
|
124029
124110
|
"type": {
|
|
124030
|
-
"text": "
|
|
124111
|
+
"text": "void"
|
|
124031
124112
|
}
|
|
124032
124113
|
},
|
|
124033
|
-
"
|
|
124034
|
-
"name": "SbbFormAssociatedMixin",
|
|
124035
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
124036
|
-
}
|
|
124114
|
+
"description": "Resets the form in which the stepper is nested or every form of each step, if any."
|
|
124037
124115
|
},
|
|
124038
124116
|
{
|
|
124039
124117
|
"kind": "method",
|
|
124040
|
-
"name": "
|
|
124041
|
-
"privacy": "
|
|
124118
|
+
"name": "_isSelectable",
|
|
124119
|
+
"privacy": "private",
|
|
124042
124120
|
"return": {
|
|
124043
124121
|
"type": {
|
|
124044
|
-
"text": "
|
|
124122
|
+
"text": "step is SbbStepElement"
|
|
124045
124123
|
}
|
|
124046
124124
|
},
|
|
124047
124125
|
"parameters": [
|
|
124048
124126
|
{
|
|
124049
|
-
"name": "
|
|
124050
|
-
"type": {
|
|
124051
|
-
"text": "T"
|
|
124052
|
-
}
|
|
124053
|
-
},
|
|
124054
|
-
{
|
|
124055
|
-
"name": "message",
|
|
124056
|
-
"type": {
|
|
124057
|
-
"text": "string"
|
|
124058
|
-
}
|
|
124059
|
-
},
|
|
124060
|
-
{
|
|
124061
|
-
"name": "flagValue",
|
|
124062
|
-
"optional": true,
|
|
124127
|
+
"name": "step",
|
|
124063
124128
|
"type": {
|
|
124064
|
-
"text": "
|
|
124129
|
+
"text": "SbbStepElement | null"
|
|
124065
124130
|
}
|
|
124066
124131
|
}
|
|
124067
|
-
]
|
|
124068
|
-
"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).",
|
|
124069
|
-
"inheritedFrom": {
|
|
124070
|
-
"name": "SbbFormAssociatedMixin",
|
|
124071
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
124072
|
-
}
|
|
124132
|
+
]
|
|
124073
124133
|
},
|
|
124074
124134
|
{
|
|
124075
124135
|
"kind": "method",
|
|
124076
|
-
"name": "
|
|
124077
|
-
"privacy": "
|
|
124136
|
+
"name": "_select",
|
|
124137
|
+
"privacy": "private",
|
|
124078
124138
|
"return": {
|
|
124079
124139
|
"type": {
|
|
124080
124140
|
"text": "void"
|
|
@@ -124082,174 +124142,132 @@
|
|
|
124082
124142
|
},
|
|
124083
124143
|
"parameters": [
|
|
124084
124144
|
{
|
|
124085
|
-
"name": "
|
|
124145
|
+
"name": "step",
|
|
124086
124146
|
"type": {
|
|
124087
|
-
"text": "
|
|
124147
|
+
"text": "SbbStepElement | null"
|
|
124088
124148
|
}
|
|
124089
124149
|
}
|
|
124090
|
-
]
|
|
124091
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
124092
|
-
"inheritedFrom": {
|
|
124093
|
-
"name": "SbbFormAssociatedMixin",
|
|
124094
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
124095
|
-
}
|
|
124150
|
+
]
|
|
124096
124151
|
},
|
|
124097
124152
|
{
|
|
124098
124153
|
"kind": "method",
|
|
124099
|
-
"name": "
|
|
124100
|
-
"privacy": "
|
|
124154
|
+
"name": "_setMarkerSize",
|
|
124155
|
+
"privacy": "private",
|
|
124101
124156
|
"return": {
|
|
124102
124157
|
"type": {
|
|
124103
124158
|
"text": "void"
|
|
124104
124159
|
}
|
|
124105
|
-
},
|
|
124106
|
-
"description": "To be called whenever the current element needs to be validated.",
|
|
124107
|
-
"inheritedFrom": {
|
|
124108
|
-
"name": "SbbFormAssociatedMixin",
|
|
124109
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
124110
124160
|
}
|
|
124111
124161
|
},
|
|
124112
124162
|
{
|
|
124113
124163
|
"kind": "method",
|
|
124114
|
-
"name": "
|
|
124115
|
-
"privacy": "
|
|
124164
|
+
"name": "_setStepperHeight",
|
|
124165
|
+
"privacy": "private",
|
|
124116
124166
|
"return": {
|
|
124117
124167
|
"type": {
|
|
124118
|
-
"text": "
|
|
124168
|
+
"text": "void"
|
|
124119
124169
|
}
|
|
124120
124170
|
},
|
|
124121
124171
|
"parameters": [
|
|
124122
124172
|
{
|
|
124123
|
-
"name": "
|
|
124173
|
+
"name": "step",
|
|
124124
124174
|
"type": {
|
|
124125
|
-
"text": "
|
|
124175
|
+
"text": "SbbStepElement | null"
|
|
124126
124176
|
}
|
|
124127
124177
|
}
|
|
124128
124178
|
],
|
|
124129
|
-
"description": "
|
|
124130
|
-
"inheritedFrom": {
|
|
124131
|
-
"name": "SbbFormAssociatedMixin",
|
|
124132
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
124133
|
-
}
|
|
124179
|
+
"description": "Sets the stepper height based on the height of the provided step."
|
|
124134
124180
|
},
|
|
124135
124181
|
{
|
|
124136
124182
|
"kind": "method",
|
|
124137
|
-
"name": "
|
|
124183
|
+
"name": "_calculateLabelOffsetTop",
|
|
124138
124184
|
"privacy": "private",
|
|
124139
124185
|
"return": {
|
|
124140
124186
|
"type": {
|
|
124141
|
-
"text": "
|
|
124187
|
+
"text": "number | undefined"
|
|
124142
124188
|
}
|
|
124143
|
-
},
|
|
124144
|
-
"inheritedFrom": {
|
|
124145
|
-
"name": "SbbFormAssociatedMixin",
|
|
124146
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
124147
124189
|
}
|
|
124148
124190
|
},
|
|
124149
124191
|
{
|
|
124150
|
-
"kind": "
|
|
124151
|
-
"name": "
|
|
124192
|
+
"kind": "method",
|
|
124193
|
+
"name": "_onSelectedStepResize",
|
|
124152
124194
|
"privacy": "private",
|
|
124153
|
-
"
|
|
124195
|
+
"return": {
|
|
124196
|
+
"type": {
|
|
124197
|
+
"text": "void"
|
|
124198
|
+
}
|
|
124199
|
+
},
|
|
124154
124200
|
"parameters": [
|
|
124155
124201
|
{
|
|
124156
|
-
"
|
|
124157
|
-
"
|
|
124202
|
+
"name": "e",
|
|
124203
|
+
"type": {
|
|
124204
|
+
"text": "Event"
|
|
124205
|
+
}
|
|
124158
124206
|
}
|
|
124159
|
-
]
|
|
124160
|
-
"inheritedFrom": {
|
|
124161
|
-
"name": "SbbButtonLikeBaseElement",
|
|
124162
|
-
"module": "core/base-elements/button-base-element.js"
|
|
124163
|
-
}
|
|
124207
|
+
]
|
|
124164
124208
|
},
|
|
124165
124209
|
{
|
|
124166
|
-
"kind": "
|
|
124167
|
-
"name": "
|
|
124210
|
+
"kind": "method",
|
|
124211
|
+
"name": "_configure",
|
|
124168
124212
|
"privacy": "private",
|
|
124169
|
-
"
|
|
124170
|
-
"
|
|
124171
|
-
|
|
124213
|
+
"return": {
|
|
124214
|
+
"type": {
|
|
124215
|
+
"text": "void"
|
|
124216
|
+
}
|
|
124172
124217
|
}
|
|
124173
124218
|
},
|
|
124174
124219
|
{
|
|
124175
|
-
"kind": "
|
|
124176
|
-
"name": "
|
|
124220
|
+
"kind": "method",
|
|
124221
|
+
"name": "_updateLabels",
|
|
124177
124222
|
"privacy": "private",
|
|
124178
|
-
"
|
|
124179
|
-
|
|
124180
|
-
|
|
124181
|
-
"description": "The origin event.",
|
|
124182
|
-
"name": "event"
|
|
124223
|
+
"return": {
|
|
124224
|
+
"type": {
|
|
124225
|
+
"text": "void"
|
|
124183
124226
|
}
|
|
124184
|
-
],
|
|
124185
|
-
"inheritedFrom": {
|
|
124186
|
-
"name": "SbbButtonLikeBaseElement",
|
|
124187
|
-
"module": "core/base-elements/button-base-element.js"
|
|
124188
124227
|
}
|
|
124189
124228
|
},
|
|
124190
124229
|
{
|
|
124191
|
-
"kind": "
|
|
124192
|
-
"name": "
|
|
124230
|
+
"kind": "method",
|
|
124231
|
+
"name": "_checkOrientation",
|
|
124193
124232
|
"privacy": "private",
|
|
124194
|
-
"
|
|
124195
|
-
"
|
|
124196
|
-
|
|
124197
|
-
|
|
124198
|
-
},
|
|
124199
|
-
{
|
|
124200
|
-
"kind": "field",
|
|
124201
|
-
"name": "maybeDisabled",
|
|
124202
|
-
"type": {
|
|
124203
|
-
"text": "boolean | undefined"
|
|
124204
|
-
},
|
|
124205
|
-
"privacy": "protected",
|
|
124206
|
-
"readonly": true,
|
|
124207
|
-
"inheritedFrom": {
|
|
124208
|
-
"name": "SbbActionBaseElement",
|
|
124209
|
-
"module": "core/base-elements/action-base-element.js"
|
|
124233
|
+
"return": {
|
|
124234
|
+
"type": {
|
|
124235
|
+
"text": "void"
|
|
124236
|
+
}
|
|
124210
124237
|
}
|
|
124211
124238
|
},
|
|
124212
124239
|
{
|
|
124213
124240
|
"kind": "field",
|
|
124214
|
-
"name": "
|
|
124215
|
-
"
|
|
124216
|
-
"text": "boolean | undefined"
|
|
124217
|
-
},
|
|
124218
|
-
"privacy": "protected",
|
|
124219
|
-
"readonly": true,
|
|
124220
|
-
"inheritedFrom": {
|
|
124221
|
-
"name": "SbbActionBaseElement",
|
|
124222
|
-
"module": "core/base-elements/action-base-element.js"
|
|
124223
|
-
}
|
|
124241
|
+
"name": "_onStepperResize",
|
|
124242
|
+
"privacy": "private"
|
|
124224
124243
|
},
|
|
124225
124244
|
{
|
|
124226
124245
|
"kind": "method",
|
|
124227
|
-
"name": "
|
|
124228
|
-
"privacy": "
|
|
124246
|
+
"name": "_configureLinearMode",
|
|
124247
|
+
"privacy": "private",
|
|
124229
124248
|
"return": {
|
|
124230
124249
|
"type": {
|
|
124231
124250
|
"text": "void"
|
|
124232
124251
|
}
|
|
124233
|
-
},
|
|
124234
|
-
"inheritedFrom": {
|
|
124235
|
-
"name": "SbbActionBaseElement",
|
|
124236
|
-
"module": "core/base-elements/action-base-element.js"
|
|
124237
124252
|
}
|
|
124238
124253
|
},
|
|
124239
124254
|
{
|
|
124240
124255
|
"kind": "method",
|
|
124241
|
-
"name": "
|
|
124242
|
-
"privacy": "
|
|
124256
|
+
"name": "_handleKeyDown",
|
|
124257
|
+
"privacy": "private",
|
|
124243
124258
|
"return": {
|
|
124244
124259
|
"type": {
|
|
124245
|
-
"text": "
|
|
124260
|
+
"text": "void"
|
|
124246
124261
|
}
|
|
124247
124262
|
},
|
|
124248
|
-
"
|
|
124249
|
-
|
|
124250
|
-
|
|
124251
|
-
|
|
124252
|
-
|
|
124263
|
+
"parameters": [
|
|
124264
|
+
{
|
|
124265
|
+
"name": "evt",
|
|
124266
|
+
"type": {
|
|
124267
|
+
"text": "KeyboardEvent"
|
|
124268
|
+
}
|
|
124269
|
+
}
|
|
124270
|
+
]
|
|
124253
124271
|
},
|
|
124254
124272
|
{
|
|
124255
124273
|
"kind": "field",
|
|
@@ -124357,109 +124375,91 @@
|
|
|
124357
124375
|
}
|
|
124358
124376
|
}
|
|
124359
124377
|
],
|
|
124360
|
-
"
|
|
124361
|
-
{
|
|
124362
|
-
"name": "SbbIconNameMixin",
|
|
124363
|
-
"module": "icon.js"
|
|
124364
|
-
},
|
|
124378
|
+
"events": [
|
|
124365
124379
|
{
|
|
124366
|
-
"
|
|
124367
|
-
|
|
124380
|
+
"type": {
|
|
124381
|
+
"text": "SbbStepChangeEvent"
|
|
124382
|
+
},
|
|
124383
|
+
"description": "Emits whenever a step was changed.",
|
|
124384
|
+
"name": "stepchange"
|
|
124368
124385
|
}
|
|
124369
124386
|
],
|
|
124370
|
-
"superclass": {
|
|
124371
|
-
"name": "SbbButtonBaseElement",
|
|
124372
|
-
"module": "core/base-elements.js"
|
|
124373
|
-
},
|
|
124374
|
-
"tagName": "sbb-step-label",
|
|
124375
|
-
"customElement": true,
|
|
124376
124387
|
"attributes": [
|
|
124377
124388
|
{
|
|
124378
|
-
"name": "
|
|
124379
|
-
"type": {
|
|
124380
|
-
"text": "string"
|
|
124381
|
-
},
|
|
124382
|
-
"default": "''",
|
|
124383
|
-
"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.",
|
|
124384
|
-
"fieldName": "iconName",
|
|
124385
|
-
"inheritedFrom": {
|
|
124386
|
-
"name": "SbbIconNameMixin",
|
|
124387
|
-
"module": "icon/icon-name-mixin.js"
|
|
124388
|
-
}
|
|
124389
|
-
},
|
|
124390
|
-
{
|
|
124391
|
-
"name": "disabled",
|
|
124392
|
-
"description": "Whether the component is disabled.",
|
|
124393
|
-
"default": "false",
|
|
124389
|
+
"name": "linear",
|
|
124394
124390
|
"type": {
|
|
124395
124391
|
"text": "boolean"
|
|
124396
124392
|
},
|
|
124397
|
-
"
|
|
124398
|
-
"
|
|
124399
|
-
|
|
124400
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
124401
|
-
}
|
|
124393
|
+
"default": "false",
|
|
124394
|
+
"description": "If set to true, only the current and previous labels can be clicked and selected.",
|
|
124395
|
+
"fieldName": "linear"
|
|
124402
124396
|
},
|
|
124403
124397
|
{
|
|
124404
|
-
"name": "
|
|
124398
|
+
"name": "horizontal-from",
|
|
124399
|
+
"description": "Overrides the behavior of `orientation` property.",
|
|
124405
124400
|
"type": {
|
|
124406
|
-
"text": "
|
|
124401
|
+
"text": "SbbHorizontalFrom | null"
|
|
124407
124402
|
},
|
|
124408
|
-
"
|
|
124409
|
-
"description": "Value of the form element.",
|
|
124410
|
-
"fieldName": "value",
|
|
124411
|
-
"inheritedFrom": {
|
|
124412
|
-
"name": "SbbButtonBaseElement",
|
|
124413
|
-
"module": "core/base-elements/button-base-element.js"
|
|
124414
|
-
}
|
|
124403
|
+
"fieldName": "horizontalFrom"
|
|
124415
124404
|
},
|
|
124416
124405
|
{
|
|
124417
|
-
"name": "
|
|
124418
|
-
"description": "The type attribute to use for the button.",
|
|
124419
|
-
"default": "'button'",
|
|
124406
|
+
"name": "orientation",
|
|
124420
124407
|
"type": {
|
|
124421
|
-
"text": "
|
|
124408
|
+
"text": "SbbOrientation"
|
|
124422
124409
|
},
|
|
124423
|
-
"
|
|
124424
|
-
"
|
|
124425
|
-
|
|
124426
|
-
"module": "core/base-elements/button-base-element.js"
|
|
124427
|
-
}
|
|
124410
|
+
"default": "'horizontal'",
|
|
124411
|
+
"description": "Steps orientation, either horizontal or vertical.",
|
|
124412
|
+
"fieldName": "orientation"
|
|
124428
124413
|
},
|
|
124429
124414
|
{
|
|
124430
|
-
"name": "
|
|
124431
|
-
"description": "The `<form>` element to associate the button with.",
|
|
124415
|
+
"name": "size",
|
|
124432
124416
|
"type": {
|
|
124433
|
-
"text": "
|
|
124417
|
+
"text": "'s' | 'm'"
|
|
124434
124418
|
},
|
|
124435
|
-
"
|
|
124436
|
-
"
|
|
124437
|
-
|
|
124438
|
-
"module": "core/base-elements/button-base-element.js"
|
|
124439
|
-
}
|
|
124419
|
+
"description": "Size variant, either s or m.",
|
|
124420
|
+
"default": "'m' / 's' (lean)",
|
|
124421
|
+
"fieldName": "size"
|
|
124440
124422
|
},
|
|
124441
124423
|
{
|
|
124442
|
-
"name": "
|
|
124443
|
-
"description": "
|
|
124424
|
+
"name": "selected-index",
|
|
124425
|
+
"description": "The currently selected step index.",
|
|
124444
124426
|
"type": {
|
|
124445
|
-
"text": "
|
|
124427
|
+
"text": "number | null"
|
|
124446
124428
|
},
|
|
124447
|
-
"fieldName": "
|
|
124448
|
-
"inheritedFrom": {
|
|
124449
|
-
"name": "SbbFormAssociatedMixin",
|
|
124450
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
124451
|
-
}
|
|
124429
|
+
"fieldName": "selectedIndex"
|
|
124452
124430
|
}
|
|
124453
|
-
]
|
|
124431
|
+
],
|
|
124432
|
+
"superclass": {
|
|
124433
|
+
"name": "SbbElement",
|
|
124434
|
+
"module": "core/base-elements.js"
|
|
124435
|
+
},
|
|
124436
|
+
"tagName": "sbb-stepper",
|
|
124437
|
+
"customElement": true
|
|
124438
|
+
},
|
|
124439
|
+
{
|
|
124440
|
+
"kind": "variable",
|
|
124441
|
+
"name": "currentIndex"
|
|
124442
|
+
},
|
|
124443
|
+
{
|
|
124444
|
+
"kind": "variable",
|
|
124445
|
+
"name": "currentStep"
|
|
124454
124446
|
}
|
|
124455
124447
|
],
|
|
124456
124448
|
"exports": [
|
|
124457
124449
|
{
|
|
124458
124450
|
"kind": "js",
|
|
124459
|
-
"name": "
|
|
124451
|
+
"name": "SbbStepChangeEvent",
|
|
124460
124452
|
"declaration": {
|
|
124461
|
-
"name": "
|
|
124462
|
-
"module": "stepper/
|
|
124453
|
+
"name": "SbbStepChangeEvent",
|
|
124454
|
+
"module": "stepper/stepper/stepper.component.js"
|
|
124455
|
+
}
|
|
124456
|
+
},
|
|
124457
|
+
{
|
|
124458
|
+
"kind": "js",
|
|
124459
|
+
"name": "SbbStepperElement",
|
|
124460
|
+
"declaration": {
|
|
124461
|
+
"name": "SbbStepperElement",
|
|
124462
|
+
"module": "stepper/stepper/stepper.component.js"
|
|
124463
124463
|
}
|
|
124464
124464
|
}
|
|
124465
124465
|
]
|