@sbb-esta/lyne-elements-dev 4.11.0-dev.1776143908 → 4.11.0-dev.1776241564
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 +1091 -888
- package/development/autocomplete/autocomplete-base-element.d.ts +6 -0
- package/development/autocomplete/autocomplete-base-element.d.ts.map +1 -1
- package/development/autocomplete/autocomplete-base-element.js +1 -1
- package/development/autocomplete/autocomplete.component.js +1 -1
- package/development/autocomplete-base-element-VKU7Lpr7.js +684 -0
- package/development/autocomplete.js +1 -1
- package/development/autocomplete.pure.js +1 -1
- package/development/datepicker/common/datepicker-button.d.ts +6 -0
- package/development/datepicker/common/datepicker-button.d.ts.map +1 -1
- package/development/datepicker/common/datepicker-button.js +1 -1
- package/development/datepicker/common.js +1 -1
- package/development/datepicker/datepicker/datepicker.component.d.ts +3 -0
- package/development/datepicker/datepicker/datepicker.component.d.ts.map +1 -1
- package/development/datepicker/datepicker/datepicker.component.js +1 -1
- package/development/datepicker/datepicker.js +1 -1
- package/development/datepicker-button-CUPeoQgH.js +169 -0
- package/development/datepicker.component-D2DxFng_.js +216 -0
- package/development/datepicker.js +2 -2
- package/development/datepicker.pure.js +2 -2
- package/development/form-field/form-field-clear/form-field-clear.component.d.ts +3 -0
- package/development/form-field/form-field-clear/form-field-clear.component.d.ts.map +1 -1
- package/development/form-field/form-field-clear/form-field-clear.component.js +4 -1
- package/development/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.d.ts +3 -0
- package/development/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.d.ts.map +1 -1
- package/development/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.js +1 -1
- package/development/timetable-form/timetable-form-swap-button.js +1 -1
- package/development/{timetable-form-swap-button.component-BUKUjrpl.js → timetable-form-swap-button.component-Bh9aPmdn.js} +4 -1
- package/development/timetable-form.js +1 -1
- package/development/timetable-form.pure.js +1 -1
- package/development/toggle/toggle-option/toggle-option.component.d.ts +1 -0
- package/development/toggle/toggle-option/toggle-option.component.d.ts.map +1 -1
- package/development/toggle/toggle-option/toggle-option.component.js +1 -1
- package/development/toggle/toggle-option.js +1 -1
- package/development/{toggle-option.component-D-F7Fh7i.js → toggle-option.component-DRodFwFk.js} +2 -1
- package/development/toggle.js +1 -1
- package/development/toggle.pure.js +1 -1
- package/package.json +2 -2
- package/development/autocomplete-base-element-YwfObJzm.js +0 -678
- package/development/datepicker-button-CANzGO5m.js +0 -163
- package/development/datepicker.component-C8XQVo45.js +0 -213
package/custom-elements.json
CHANGED
|
@@ -3951,7 +3951,7 @@
|
|
|
3951
3951
|
"declarations": [
|
|
3952
3952
|
{
|
|
3953
3953
|
"kind": "class",
|
|
3954
|
-
"description": "",
|
|
3954
|
+
"description": "Base class for autocomplete components.",
|
|
3955
3955
|
"name": "SbbAutocompleteBaseElement",
|
|
3956
3956
|
"members": [
|
|
3957
3957
|
{
|
|
@@ -4881,6 +4881,66 @@
|
|
|
4881
4881
|
}
|
|
4882
4882
|
}
|
|
4883
4883
|
],
|
|
4884
|
+
"events": [
|
|
4885
|
+
{
|
|
4886
|
+
"type": {
|
|
4887
|
+
"text": "Event"
|
|
4888
|
+
},
|
|
4889
|
+
"description": "The change event is fired on the autocomplete's trigger when the user modifies the element's value. Unlike the input event, the change event is not necessarily fired for each alteration to an element's value.",
|
|
4890
|
+
"name": "change"
|
|
4891
|
+
},
|
|
4892
|
+
{
|
|
4893
|
+
"type": {
|
|
4894
|
+
"text": "InputEvent"
|
|
4895
|
+
},
|
|
4896
|
+
"description": "The input event fires on the autocomplete's trigger when the value has been changed as a direct result of a user action.",
|
|
4897
|
+
"name": "input"
|
|
4898
|
+
},
|
|
4899
|
+
{
|
|
4900
|
+
"name": "beforeopen",
|
|
4901
|
+
"type": {
|
|
4902
|
+
"text": "Event"
|
|
4903
|
+
},
|
|
4904
|
+
"description": "Emits whenever the component starts the opening transition. Can be canceled.",
|
|
4905
|
+
"inheritedFrom": {
|
|
4906
|
+
"name": "SbbOpenCloseBaseElement",
|
|
4907
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
4908
|
+
}
|
|
4909
|
+
},
|
|
4910
|
+
{
|
|
4911
|
+
"name": "open",
|
|
4912
|
+
"type": {
|
|
4913
|
+
"text": "Event"
|
|
4914
|
+
},
|
|
4915
|
+
"description": "Emits whenever the component is opened.",
|
|
4916
|
+
"inheritedFrom": {
|
|
4917
|
+
"name": "SbbOpenCloseBaseElement",
|
|
4918
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
4919
|
+
}
|
|
4920
|
+
},
|
|
4921
|
+
{
|
|
4922
|
+
"name": "beforeclose",
|
|
4923
|
+
"type": {
|
|
4924
|
+
"text": "Event"
|
|
4925
|
+
},
|
|
4926
|
+
"description": "Emits whenever the component begins the closing transition. Can be canceled.",
|
|
4927
|
+
"inheritedFrom": {
|
|
4928
|
+
"name": "SbbOpenCloseBaseElement",
|
|
4929
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
4930
|
+
}
|
|
4931
|
+
},
|
|
4932
|
+
{
|
|
4933
|
+
"name": "close",
|
|
4934
|
+
"type": {
|
|
4935
|
+
"text": "Event"
|
|
4936
|
+
},
|
|
4937
|
+
"description": "Emits whenever the component is closed.",
|
|
4938
|
+
"inheritedFrom": {
|
|
4939
|
+
"name": "SbbOpenCloseBaseElement",
|
|
4940
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
4941
|
+
}
|
|
4942
|
+
}
|
|
4943
|
+
],
|
|
4884
4944
|
"attributes": [
|
|
4885
4945
|
{
|
|
4886
4946
|
"name": "origin",
|
|
@@ -4987,53 +5047,7 @@
|
|
|
4987
5047
|
"name": "SbbOpenCloseBaseElement",
|
|
4988
5048
|
"module": "core/base-elements.js"
|
|
4989
5049
|
},
|
|
4990
|
-
"classGenerics": "T = string"
|
|
4991
|
-
"events": [
|
|
4992
|
-
{
|
|
4993
|
-
"name": "beforeopen",
|
|
4994
|
-
"type": {
|
|
4995
|
-
"text": "Event"
|
|
4996
|
-
},
|
|
4997
|
-
"description": "Emits whenever the component starts the opening transition. Can be canceled.",
|
|
4998
|
-
"inheritedFrom": {
|
|
4999
|
-
"name": "SbbOpenCloseBaseElement",
|
|
5000
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
5001
|
-
}
|
|
5002
|
-
},
|
|
5003
|
-
{
|
|
5004
|
-
"name": "open",
|
|
5005
|
-
"type": {
|
|
5006
|
-
"text": "Event"
|
|
5007
|
-
},
|
|
5008
|
-
"description": "Emits whenever the component is opened.",
|
|
5009
|
-
"inheritedFrom": {
|
|
5010
|
-
"name": "SbbOpenCloseBaseElement",
|
|
5011
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
5012
|
-
}
|
|
5013
|
-
},
|
|
5014
|
-
{
|
|
5015
|
-
"name": "beforeclose",
|
|
5016
|
-
"type": {
|
|
5017
|
-
"text": "Event"
|
|
5018
|
-
},
|
|
5019
|
-
"description": "Emits whenever the component begins the closing transition. Can be canceled.",
|
|
5020
|
-
"inheritedFrom": {
|
|
5021
|
-
"name": "SbbOpenCloseBaseElement",
|
|
5022
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
5023
|
-
}
|
|
5024
|
-
},
|
|
5025
|
-
{
|
|
5026
|
-
"name": "close",
|
|
5027
|
-
"type": {
|
|
5028
|
-
"text": "Event"
|
|
5029
|
-
},
|
|
5030
|
-
"description": "Emits whenever the component is closed.",
|
|
5031
|
-
"inheritedFrom": {
|
|
5032
|
-
"name": "SbbOpenCloseBaseElement",
|
|
5033
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
5034
|
-
}
|
|
5035
|
-
}
|
|
5036
|
-
]
|
|
5050
|
+
"classGenerics": "T = string"
|
|
5037
5051
|
}
|
|
5038
5052
|
],
|
|
5039
5053
|
"exports": [
|
|
@@ -6370,6 +6384,28 @@
|
|
|
6370
6384
|
}
|
|
6371
6385
|
],
|
|
6372
6386
|
"events": [
|
|
6387
|
+
{
|
|
6388
|
+
"type": {
|
|
6389
|
+
"text": "Event"
|
|
6390
|
+
},
|
|
6391
|
+
"description": "The change event is fired on the autocomplete's trigger when the user modifies the element's value. Unlike the input event, the change event is not necessarily fired for each alteration to an element's value.",
|
|
6392
|
+
"name": "change",
|
|
6393
|
+
"inheritedFrom": {
|
|
6394
|
+
"name": "SbbAutocompleteBaseElement",
|
|
6395
|
+
"module": "autocomplete/autocomplete-base-element.js"
|
|
6396
|
+
}
|
|
6397
|
+
},
|
|
6398
|
+
{
|
|
6399
|
+
"type": {
|
|
6400
|
+
"text": "InputEvent"
|
|
6401
|
+
},
|
|
6402
|
+
"description": "The input event fires on the autocomplete's trigger when the value has been changed as a direct result of a user action.",
|
|
6403
|
+
"name": "input",
|
|
6404
|
+
"inheritedFrom": {
|
|
6405
|
+
"name": "SbbAutocompleteBaseElement",
|
|
6406
|
+
"module": "autocomplete/autocomplete-base-element.js"
|
|
6407
|
+
}
|
|
6408
|
+
},
|
|
6373
6409
|
{
|
|
6374
6410
|
"name": "beforeopen",
|
|
6375
6411
|
"type": {
|
|
@@ -78273,7 +78309,7 @@
|
|
|
78273
78309
|
},
|
|
78274
78310
|
{
|
|
78275
78311
|
"kind": "class",
|
|
78276
|
-
"description": "",
|
|
78312
|
+
"description": "Base component for datepicker's buttons.",
|
|
78277
78313
|
"name": "SbbDatepickerButtonBase",
|
|
78278
78314
|
"members": [
|
|
78279
78315
|
{
|
|
@@ -79046,6 +79082,22 @@
|
|
|
79046
79082
|
}
|
|
79047
79083
|
}
|
|
79048
79084
|
],
|
|
79085
|
+
"events": [
|
|
79086
|
+
{
|
|
79087
|
+
"type": {
|
|
79088
|
+
"text": "Event"
|
|
79089
|
+
},
|
|
79090
|
+
"description": "The change event is fired on the datepicker's input when the user modifies the element's value. Unlike the input event, the change event is not necessarily fired for each alteration to an element's value.",
|
|
79091
|
+
"name": "change"
|
|
79092
|
+
},
|
|
79093
|
+
{
|
|
79094
|
+
"type": {
|
|
79095
|
+
"text": "InputEvent"
|
|
79096
|
+
},
|
|
79097
|
+
"description": "The input event fires on the datepicker's input when the value has been changed as a direct result of a user action.",
|
|
79098
|
+
"name": "input"
|
|
79099
|
+
}
|
|
79100
|
+
],
|
|
79049
79101
|
"attributes": [
|
|
79050
79102
|
{
|
|
79051
79103
|
"name": "input",
|
|
@@ -80107,6 +80159,30 @@
|
|
|
80107
80159
|
"module": "core/mixins/form-associated-mixin.js"
|
|
80108
80160
|
}
|
|
80109
80161
|
}
|
|
80162
|
+
],
|
|
80163
|
+
"events": [
|
|
80164
|
+
{
|
|
80165
|
+
"type": {
|
|
80166
|
+
"text": "Event"
|
|
80167
|
+
},
|
|
80168
|
+
"description": "The change event is fired on the datepicker's input when the user modifies the element's value. Unlike the input event, the change event is not necessarily fired for each alteration to an element's value.",
|
|
80169
|
+
"name": "change",
|
|
80170
|
+
"inheritedFrom": {
|
|
80171
|
+
"name": "SbbDatepickerButtonBase",
|
|
80172
|
+
"module": "datepicker/common/datepicker-button.js"
|
|
80173
|
+
}
|
|
80174
|
+
},
|
|
80175
|
+
{
|
|
80176
|
+
"type": {
|
|
80177
|
+
"text": "InputEvent"
|
|
80178
|
+
},
|
|
80179
|
+
"description": "The input event fires on the datepicker's input when the value has been changed as a direct result of a user action.",
|
|
80180
|
+
"name": "input",
|
|
80181
|
+
"inheritedFrom": {
|
|
80182
|
+
"name": "SbbDatepickerButtonBase",
|
|
80183
|
+
"module": "datepicker/common/datepicker-button.js"
|
|
80184
|
+
}
|
|
80185
|
+
}
|
|
80110
80186
|
]
|
|
80111
80187
|
}
|
|
80112
80188
|
],
|
|
@@ -80978,6 +81054,20 @@
|
|
|
80978
81054
|
"description": "Event emitted on date selection.",
|
|
80979
81055
|
"name": "dateselected"
|
|
80980
81056
|
},
|
|
81057
|
+
{
|
|
81058
|
+
"type": {
|
|
81059
|
+
"text": "Event"
|
|
81060
|
+
},
|
|
81061
|
+
"description": "The change event is fired on the datepicker's input when the user modifies the element's value. Unlike the input event, the change event is not necessarily fired for each alteration to an element's value.",
|
|
81062
|
+
"name": "change"
|
|
81063
|
+
},
|
|
81064
|
+
{
|
|
81065
|
+
"type": {
|
|
81066
|
+
"text": "InputEvent"
|
|
81067
|
+
},
|
|
81068
|
+
"description": "The input event fires on the datepicker's input when the value has been changed as a direct result of a user action.",
|
|
81069
|
+
"name": "input"
|
|
81070
|
+
},
|
|
80981
81071
|
{
|
|
80982
81072
|
"name": "beforeclose",
|
|
80983
81073
|
"type": {
|
|
@@ -82118,6 +82208,30 @@
|
|
|
82118
82208
|
"module": "core/mixins/form-associated-mixin.js"
|
|
82119
82209
|
}
|
|
82120
82210
|
}
|
|
82211
|
+
],
|
|
82212
|
+
"events": [
|
|
82213
|
+
{
|
|
82214
|
+
"type": {
|
|
82215
|
+
"text": "Event"
|
|
82216
|
+
},
|
|
82217
|
+
"description": "The change event is fired on the datepicker's input when the user modifies the element's value. Unlike the input event, the change event is not necessarily fired for each alteration to an element's value.",
|
|
82218
|
+
"name": "change",
|
|
82219
|
+
"inheritedFrom": {
|
|
82220
|
+
"name": "SbbDatepickerButtonBase",
|
|
82221
|
+
"module": "datepicker/common/datepicker-button.js"
|
|
82222
|
+
}
|
|
82223
|
+
},
|
|
82224
|
+
{
|
|
82225
|
+
"type": {
|
|
82226
|
+
"text": "InputEvent"
|
|
82227
|
+
},
|
|
82228
|
+
"description": "The input event fires on the datepicker's input when the value has been changed as a direct result of a user action.",
|
|
82229
|
+
"name": "input",
|
|
82230
|
+
"inheritedFrom": {
|
|
82231
|
+
"name": "SbbDatepickerButtonBase",
|
|
82232
|
+
"module": "datepicker/common/datepicker-button.js"
|
|
82233
|
+
}
|
|
82234
|
+
}
|
|
82121
82235
|
]
|
|
82122
82236
|
}
|
|
82123
82237
|
],
|
|
@@ -83159,6 +83273,30 @@
|
|
|
83159
83273
|
"module": "core/mixins/form-associated-mixin.js"
|
|
83160
83274
|
}
|
|
83161
83275
|
}
|
|
83276
|
+
],
|
|
83277
|
+
"events": [
|
|
83278
|
+
{
|
|
83279
|
+
"type": {
|
|
83280
|
+
"text": "Event"
|
|
83281
|
+
},
|
|
83282
|
+
"description": "The change event is fired on the datepicker's input when the user modifies the element's value. Unlike the input event, the change event is not necessarily fired for each alteration to an element's value.",
|
|
83283
|
+
"name": "change",
|
|
83284
|
+
"inheritedFrom": {
|
|
83285
|
+
"name": "SbbDatepickerButtonBase",
|
|
83286
|
+
"module": "datepicker/common/datepicker-button.js"
|
|
83287
|
+
}
|
|
83288
|
+
},
|
|
83289
|
+
{
|
|
83290
|
+
"type": {
|
|
83291
|
+
"text": "InputEvent"
|
|
83292
|
+
},
|
|
83293
|
+
"description": "The input event fires on the datepicker's input when the value has been changed as a direct result of a user action.",
|
|
83294
|
+
"name": "input",
|
|
83295
|
+
"inheritedFrom": {
|
|
83296
|
+
"name": "SbbDatepickerButtonBase",
|
|
83297
|
+
"module": "datepicker/common/datepicker-button.js"
|
|
83298
|
+
}
|
|
83299
|
+
}
|
|
83162
83300
|
]
|
|
83163
83301
|
}
|
|
83164
83302
|
],
|
|
@@ -84102,7 +84240,31 @@
|
|
|
84102
84240
|
},
|
|
84103
84241
|
"tagName": "sbb-datepicker-toggle",
|
|
84104
84242
|
"customElement": true,
|
|
84105
|
-
"classGenerics": "T = Date"
|
|
84243
|
+
"classGenerics": "T = Date",
|
|
84244
|
+
"events": [
|
|
84245
|
+
{
|
|
84246
|
+
"type": {
|
|
84247
|
+
"text": "Event"
|
|
84248
|
+
},
|
|
84249
|
+
"description": "The change event is fired on the datepicker's input when the user modifies the element's value. Unlike the input event, the change event is not necessarily fired for each alteration to an element's value.",
|
|
84250
|
+
"name": "change",
|
|
84251
|
+
"inheritedFrom": {
|
|
84252
|
+
"name": "SbbDatepickerButtonBase",
|
|
84253
|
+
"module": "datepicker/common/datepicker-button.js"
|
|
84254
|
+
}
|
|
84255
|
+
},
|
|
84256
|
+
{
|
|
84257
|
+
"type": {
|
|
84258
|
+
"text": "InputEvent"
|
|
84259
|
+
},
|
|
84260
|
+
"description": "The input event fires on the datepicker's input when the value has been changed as a direct result of a user action.",
|
|
84261
|
+
"name": "input",
|
|
84262
|
+
"inheritedFrom": {
|
|
84263
|
+
"name": "SbbDatepickerButtonBase",
|
|
84264
|
+
"module": "datepicker/common/datepicker-button.js"
|
|
84265
|
+
}
|
|
84266
|
+
}
|
|
84267
|
+
]
|
|
84106
84268
|
}
|
|
84107
84269
|
],
|
|
84108
84270
|
"exports": [
|
|
@@ -95151,6 +95313,22 @@
|
|
|
95151
95313
|
}
|
|
95152
95314
|
}
|
|
95153
95315
|
],
|
|
95316
|
+
"events": [
|
|
95317
|
+
{
|
|
95318
|
+
"type": {
|
|
95319
|
+
"text": "Event"
|
|
95320
|
+
},
|
|
95321
|
+
"description": "The change event is fired on the component's associated input when the user modifies the element's value. Unlike the input event, the change event is not necessarily fired for each alteration to an element's value.",
|
|
95322
|
+
"name": "change"
|
|
95323
|
+
},
|
|
95324
|
+
{
|
|
95325
|
+
"type": {
|
|
95326
|
+
"text": "InputEvent"
|
|
95327
|
+
},
|
|
95328
|
+
"description": "The input event fires on the component's associated input when the value has been changed as a direct result of a user action.",
|
|
95329
|
+
"name": "input"
|
|
95330
|
+
}
|
|
95331
|
+
],
|
|
95154
95332
|
"mixins": [
|
|
95155
95333
|
{
|
|
95156
95334
|
"name": "SbbNegativeMixin",
|
|
@@ -106279,27 +106457,23 @@
|
|
|
106279
106457
|
},
|
|
106280
106458
|
{
|
|
106281
106459
|
"kind": "javascript-module",
|
|
106282
|
-
"path": "menu/menu
|
|
106460
|
+
"path": "menu/menu/menu.component.js",
|
|
106283
106461
|
"declarations": [
|
|
106284
106462
|
{
|
|
106285
106463
|
"kind": "class",
|
|
106286
|
-
"description": "It displays a
|
|
106287
|
-
"name": "
|
|
106464
|
+
"description": "It displays a contextual menu with one or more action element.",
|
|
106465
|
+
"name": "SbbMenuElement",
|
|
106288
106466
|
"cssProperties": [
|
|
106289
106467
|
{
|
|
106290
|
-
"description": "
|
|
106291
|
-
"name": "--sbb-menu-
|
|
106292
|
-
"default": "var(--sbb-
|
|
106468
|
+
"description": "To specify a custom stack order, the `z-index` can be overridden by defining this CSS variable. The default `z-index` of the component is set to `var(--sbb-overlay-default-z-index)` with a value of `1000`.",
|
|
106469
|
+
"name": "--sbb-menu-z-index",
|
|
106470
|
+
"default": "var(--sbb-overlay-default-z-index)"
|
|
106293
106471
|
}
|
|
106294
106472
|
],
|
|
106295
106473
|
"slots": [
|
|
106296
106474
|
{
|
|
106297
|
-
"description": "Use the unnamed slot to add
|
|
106475
|
+
"description": "Use the unnamed slot to add `sbb-menu-button`/`sbb-menu-link` or other elements to the menu.",
|
|
106298
106476
|
"name": ""
|
|
106299
|
-
},
|
|
106300
|
-
{
|
|
106301
|
-
"description": "Use this slot to provide an icon. If `icon-name` is set, a `sbb-icon` will be used.",
|
|
106302
|
-
"name": "icon"
|
|
106303
106477
|
}
|
|
106304
106478
|
],
|
|
106305
106479
|
"members": [
|
|
@@ -106316,417 +106490,275 @@
|
|
|
106316
106490
|
"name": "SbbElement",
|
|
106317
106491
|
"module": "core/base-elements/element.js"
|
|
106318
106492
|
},
|
|
106319
|
-
"default": "'sbb-menu
|
|
106493
|
+
"default": "'sbb-menu'"
|
|
106320
106494
|
},
|
|
106321
106495
|
{
|
|
106322
106496
|
"kind": "field",
|
|
106323
106497
|
"name": "role",
|
|
106324
106498
|
"type": {
|
|
106325
|
-
"text": "
|
|
106499
|
+
"text": "string"
|
|
106326
106500
|
},
|
|
106327
106501
|
"privacy": "public",
|
|
106328
106502
|
"static": true,
|
|
106329
106503
|
"readonly": true,
|
|
106330
|
-
"default": "'
|
|
106331
|
-
"inheritedFrom": {
|
|
106332
|
-
"name": "SbbButtonLikeBaseElement",
|
|
106333
|
-
"module": "core/base-elements/button-base-element.js"
|
|
106334
|
-
}
|
|
106504
|
+
"default": "'menu'"
|
|
106335
106505
|
},
|
|
106336
106506
|
{
|
|
106337
106507
|
"kind": "field",
|
|
106338
|
-
"name": "
|
|
106508
|
+
"name": "trigger",
|
|
106339
106509
|
"type": {
|
|
106340
|
-
"text": "
|
|
106510
|
+
"text": "HTMLElement | null"
|
|
106341
106511
|
},
|
|
106342
106512
|
"privacy": "public",
|
|
106343
|
-
"default": "
|
|
106344
|
-
"description": "
|
|
106345
|
-
"attribute": "
|
|
106346
|
-
"reflects": true,
|
|
106347
|
-
"inheritedFrom": {
|
|
106348
|
-
"name": "SbbDisabledInteractiveMixin",
|
|
106349
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
106350
|
-
}
|
|
106513
|
+
"default": "null",
|
|
106514
|
+
"description": "The element that will trigger the menu overlay.\n\nFor attribute usage, provide an id reference.",
|
|
106515
|
+
"attribute": "trigger"
|
|
106351
106516
|
},
|
|
106352
106517
|
{
|
|
106353
106518
|
"kind": "field",
|
|
106354
|
-
"name": "
|
|
106355
|
-
"privacy": "public",
|
|
106356
|
-
"description": "Whether the component is disabled.",
|
|
106357
|
-
"default": "false",
|
|
106519
|
+
"name": "_menu",
|
|
106358
106520
|
"type": {
|
|
106359
|
-
"text": "
|
|
106521
|
+
"text": "HTMLDivElement"
|
|
106360
106522
|
},
|
|
106361
|
-
"
|
|
106362
|
-
"reflects": true,
|
|
106363
|
-
"inheritedFrom": {
|
|
106364
|
-
"name": "SbbDisabledMixin",
|
|
106365
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
106366
|
-
}
|
|
106523
|
+
"privacy": "private"
|
|
106367
106524
|
},
|
|
106368
106525
|
{
|
|
106369
106526
|
"kind": "field",
|
|
106370
|
-
"name": "
|
|
106371
|
-
"privacy": "private",
|
|
106527
|
+
"name": "_triggerElement",
|
|
106372
106528
|
"type": {
|
|
106373
|
-
"text": "
|
|
106374
|
-
},
|
|
106375
|
-
"default": "false",
|
|
106376
|
-
"inheritedFrom": {
|
|
106377
|
-
"name": "SbbDisabledMixin",
|
|
106378
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
106379
|
-
}
|
|
106380
|
-
},
|
|
106381
|
-
{
|
|
106382
|
-
"kind": "method",
|
|
106383
|
-
"name": "isDisabledExternally",
|
|
106384
|
-
"privacy": "protected",
|
|
106385
|
-
"return": {
|
|
106386
|
-
"type": {
|
|
106387
|
-
"text": "boolean"
|
|
106388
|
-
}
|
|
106529
|
+
"text": "HTMLElement | null"
|
|
106389
106530
|
},
|
|
106390
|
-
"
|
|
106391
|
-
"
|
|
106392
|
-
"name": "SbbDisabledMixin",
|
|
106393
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
106394
|
-
}
|
|
106531
|
+
"privacy": "private",
|
|
106532
|
+
"default": "null"
|
|
106395
106533
|
},
|
|
106396
106534
|
{
|
|
106397
106535
|
"kind": "field",
|
|
106398
|
-
"name": "
|
|
106536
|
+
"name": "_triggerAbortController",
|
|
106399
106537
|
"type": {
|
|
106400
|
-
"text": "
|
|
106538
|
+
"text": "AbortController"
|
|
106401
106539
|
},
|
|
106402
|
-
"privacy": "
|
|
106403
|
-
"static": true,
|
|
106404
|
-
"default": "[boxSizingStyles, unsafeCSS(style)]",
|
|
106405
|
-
"inheritedFrom": {
|
|
106406
|
-
"name": "SbbMenuActionCommonElementMixin",
|
|
106407
|
-
"module": "menu/common/menu-action-common.js"
|
|
106408
|
-
}
|
|
106540
|
+
"privacy": "private"
|
|
106409
106541
|
},
|
|
106410
106542
|
{
|
|
106411
|
-
"kind": "
|
|
106412
|
-
"name": "
|
|
106413
|
-
"
|
|
106414
|
-
|
|
106415
|
-
"type": {
|
|
106416
|
-
"text": "TemplateResult"
|
|
106417
|
-
}
|
|
106543
|
+
"kind": "field",
|
|
106544
|
+
"name": "_isPointerDownEventOnMenu",
|
|
106545
|
+
"type": {
|
|
106546
|
+
"text": "boolean"
|
|
106418
106547
|
},
|
|
106419
|
-
"
|
|
106420
|
-
"
|
|
106421
|
-
"name": "SbbActionBaseElement",
|
|
106422
|
-
"module": "core/base-elements/action-base-element.js"
|
|
106423
|
-
}
|
|
106548
|
+
"privacy": "private",
|
|
106549
|
+
"default": "false"
|
|
106424
106550
|
},
|
|
106425
106551
|
{
|
|
106426
106552
|
"kind": "field",
|
|
106427
|
-
"name": "
|
|
106553
|
+
"name": "_windowEventsController",
|
|
106428
106554
|
"type": {
|
|
106429
|
-
"text": "
|
|
106555
|
+
"text": "AbortController"
|
|
106430
106556
|
},
|
|
106431
|
-
"privacy": "
|
|
106432
|
-
"default": "''",
|
|
106433
|
-
"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.",
|
|
106434
|
-
"attribute": "icon-name",
|
|
106435
|
-
"inheritedFrom": {
|
|
106436
|
-
"name": "SbbIconNameMixin",
|
|
106437
|
-
"module": "icon/icon-name-mixin.js"
|
|
106438
|
-
}
|
|
106557
|
+
"privacy": "private"
|
|
106439
106558
|
},
|
|
106440
106559
|
{
|
|
106441
|
-
"kind": "
|
|
106442
|
-
"name": "
|
|
106443
|
-
"privacy": "
|
|
106444
|
-
"
|
|
106445
|
-
"type": {
|
|
106446
|
-
"text": "TemplateResult"
|
|
106447
|
-
}
|
|
106448
|
-
},
|
|
106449
|
-
"parameters": [
|
|
106450
|
-
{
|
|
106451
|
-
"name": "classname",
|
|
106452
|
-
"optional": true,
|
|
106453
|
-
"type": {
|
|
106454
|
-
"text": "string"
|
|
106455
|
-
}
|
|
106456
|
-
}
|
|
106457
|
-
],
|
|
106458
|
-
"inheritedFrom": {
|
|
106459
|
-
"name": "SbbIconNameMixin",
|
|
106460
|
-
"module": "icon/icon-name-mixin.js"
|
|
106461
|
-
}
|
|
106560
|
+
"kind": "field",
|
|
106561
|
+
"name": "_escapableOverlayController",
|
|
106562
|
+
"privacy": "private",
|
|
106563
|
+
"default": "new SbbEscapableOverlayController(this)"
|
|
106462
106564
|
},
|
|
106463
106565
|
{
|
|
106464
|
-
"kind": "
|
|
106465
|
-
"name": "
|
|
106466
|
-
"privacy": "
|
|
106467
|
-
"
|
|
106468
|
-
"type": {
|
|
106469
|
-
"text": "string"
|
|
106470
|
-
}
|
|
106471
|
-
},
|
|
106472
|
-
"inheritedFrom": {
|
|
106473
|
-
"name": "SbbIconNameMixin",
|
|
106474
|
-
"module": "icon/icon-name-mixin.js"
|
|
106475
|
-
}
|
|
106566
|
+
"kind": "field",
|
|
106567
|
+
"name": "_focusTrapController",
|
|
106568
|
+
"privacy": "private",
|
|
106569
|
+
"default": "new SbbFocusTrapController(this)"
|
|
106476
106570
|
},
|
|
106477
106571
|
{
|
|
106478
|
-
"kind": "
|
|
106479
|
-
"name": "
|
|
106572
|
+
"kind": "field",
|
|
106573
|
+
"name": "_scrollHandler",
|
|
106480
106574
|
"privacy": "private",
|
|
106481
|
-
"
|
|
106482
|
-
"type": {
|
|
106483
|
-
"text": "string"
|
|
106484
|
-
}
|
|
106485
|
-
},
|
|
106486
|
-
"inheritedFrom": {
|
|
106487
|
-
"name": "SbbIconNameMixin",
|
|
106488
|
-
"module": "icon/icon-name-mixin.js"
|
|
106489
|
-
}
|
|
106575
|
+
"default": "new SbbScrollHandler()"
|
|
106490
106576
|
},
|
|
106491
106577
|
{
|
|
106492
106578
|
"kind": "field",
|
|
106493
|
-
"name": "
|
|
106494
|
-
"type": {
|
|
106495
|
-
"text": "array"
|
|
106496
|
-
},
|
|
106579
|
+
"name": "_inertController",
|
|
106497
106580
|
"privacy": "private",
|
|
106498
|
-
"
|
|
106499
|
-
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
106500
|
-
"inheritedFrom": {
|
|
106501
|
-
"name": "SbbButtonBaseElement",
|
|
106502
|
-
"module": "core/base-elements/button-base-element.js"
|
|
106503
|
-
}
|
|
106581
|
+
"default": "new SbbInertController(this)"
|
|
106504
106582
|
},
|
|
106505
106583
|
{
|
|
106506
106584
|
"kind": "field",
|
|
106507
|
-
"name": "
|
|
106508
|
-
"
|
|
106509
|
-
|
|
106510
|
-
},
|
|
106511
|
-
"privacy": "public",
|
|
106512
|
-
"inheritedFrom": {
|
|
106513
|
-
"name": "SbbButtonBaseElement",
|
|
106514
|
-
"module": "core/base-elements/button-base-element.js"
|
|
106515
|
-
},
|
|
106516
|
-
"default": "''",
|
|
106517
|
-
"description": "Value of the form element.",
|
|
106518
|
-
"attribute": "value"
|
|
106585
|
+
"name": "_mobileBreakpoint",
|
|
106586
|
+
"privacy": "private",
|
|
106587
|
+
"default": "SbbMediaQueryBreakpointSmallAndBelow"
|
|
106519
106588
|
},
|
|
106520
106589
|
{
|
|
106521
106590
|
"kind": "field",
|
|
106522
|
-
"name": "
|
|
106523
|
-
"privacy": "
|
|
106524
|
-
"
|
|
106525
|
-
"default": "'button'",
|
|
106526
|
-
"type": {
|
|
106527
|
-
"text": "SbbButtonType"
|
|
106528
|
-
},
|
|
106529
|
-
"attribute": "type",
|
|
106530
|
-
"inheritedFrom": {
|
|
106531
|
-
"name": "SbbButtonBaseElement",
|
|
106532
|
-
"module": "core/base-elements/button-base-element.js"
|
|
106533
|
-
}
|
|
106591
|
+
"name": "_mediaMatcher",
|
|
106592
|
+
"privacy": "private",
|
|
106593
|
+
"default": "new SbbMediaMatcherController(this, { [this._mobileBreakpoint]: (matches) => { if (matches && (this.state === 'opening' || this.state === 'opened')) { this._scrollHandler.disableScroll(); } else { this._scrollHandler.enableScroll(); } }, })"
|
|
106534
106594
|
},
|
|
106535
106595
|
{
|
|
106536
106596
|
"kind": "field",
|
|
106537
|
-
"name": "
|
|
106538
|
-
"
|
|
106539
|
-
|
|
106540
|
-
},
|
|
106541
|
-
"privacy": "public",
|
|
106542
|
-
"description": "The `<form>` element to associate the button with.",
|
|
106543
|
-
"inheritedFrom": {
|
|
106544
|
-
"name": "SbbButtonBaseElement",
|
|
106545
|
-
"module": "core/base-elements/button-base-element.js"
|
|
106546
|
-
},
|
|
106547
|
-
"attribute": "form"
|
|
106597
|
+
"name": "_darkModeController",
|
|
106598
|
+
"privacy": "private",
|
|
106599
|
+
"default": "new SbbDarkModeController(this, () => this._syncNegative())"
|
|
106548
106600
|
},
|
|
106549
106601
|
{
|
|
106550
106602
|
"kind": "field",
|
|
106551
|
-
"name": "
|
|
106552
|
-
"type": {
|
|
106553
|
-
"text": "string"
|
|
106554
|
-
},
|
|
106603
|
+
"name": "_language",
|
|
106555
106604
|
"privacy": "private",
|
|
106556
|
-
"default": "
|
|
106557
|
-
"inheritedFrom": {
|
|
106558
|
-
"name": "SbbButtonBaseElement",
|
|
106559
|
-
"module": "core/base-elements/button-base-element.js"
|
|
106560
|
-
}
|
|
106605
|
+
"default": "new SbbLanguageController(this)"
|
|
106561
106606
|
},
|
|
106562
106607
|
{
|
|
106563
106608
|
"kind": "field",
|
|
106564
|
-
"name": "
|
|
106609
|
+
"name": "_nestedMenu",
|
|
106610
|
+
"type": {
|
|
106611
|
+
"text": "SbbMenuElement | null"
|
|
106612
|
+
},
|
|
106565
106613
|
"privacy": "private",
|
|
106566
|
-
"
|
|
106567
|
-
"name": "SbbButtonBaseElement",
|
|
106568
|
-
"module": "core/base-elements/button-base-element.js"
|
|
106569
|
-
}
|
|
106614
|
+
"default": "null"
|
|
106570
106615
|
},
|
|
106571
106616
|
{
|
|
106572
106617
|
"kind": "method",
|
|
106573
|
-
"name": "
|
|
106574
|
-
"privacy": "
|
|
106618
|
+
"name": "escapeStrategy",
|
|
106619
|
+
"privacy": "public",
|
|
106575
106620
|
"return": {
|
|
106576
106621
|
"type": {
|
|
106577
106622
|
"text": "void"
|
|
106578
106623
|
}
|
|
106579
106624
|
},
|
|
106580
|
-
"
|
|
106581
|
-
{
|
|
106582
|
-
"name": "form",
|
|
106583
|
-
"type": {
|
|
106584
|
-
"text": "HTMLFormElement"
|
|
106585
|
-
}
|
|
106586
|
-
}
|
|
106587
|
-
],
|
|
106625
|
+
"description": "The method which is called on escape key press. Defaults to calling close()",
|
|
106588
106626
|
"inheritedFrom": {
|
|
106589
|
-
"name": "
|
|
106590
|
-
"module": "core/base-elements/
|
|
106627
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106628
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106591
106629
|
}
|
|
106592
106630
|
},
|
|
106593
106631
|
{
|
|
106594
|
-
"kind": "
|
|
106595
|
-
"name": "
|
|
106596
|
-
"privacy": "
|
|
106632
|
+
"kind": "method",
|
|
106633
|
+
"name": "open",
|
|
106634
|
+
"privacy": "public",
|
|
106635
|
+
"return": {
|
|
106636
|
+
"type": {
|
|
106637
|
+
"text": "void"
|
|
106638
|
+
}
|
|
106639
|
+
},
|
|
106640
|
+
"description": "Opens the menu on trigger click.",
|
|
106597
106641
|
"inheritedFrom": {
|
|
106598
|
-
"name": "
|
|
106599
|
-
"module": "core/base-elements/
|
|
106642
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106643
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106600
106644
|
}
|
|
106601
106645
|
},
|
|
106602
106646
|
{
|
|
106603
|
-
"kind": "
|
|
106604
|
-
"name": "
|
|
106605
|
-
"type": {
|
|
106606
|
-
"text": "boolean"
|
|
106607
|
-
},
|
|
106647
|
+
"kind": "method",
|
|
106648
|
+
"name": "close",
|
|
106608
106649
|
"privacy": "public",
|
|
106609
|
-
"
|
|
106610
|
-
|
|
106650
|
+
"return": {
|
|
106651
|
+
"type": {
|
|
106652
|
+
"text": "void"
|
|
106653
|
+
}
|
|
106654
|
+
},
|
|
106655
|
+
"description": "Closes the menu and all its nested menus.",
|
|
106611
106656
|
"inheritedFrom": {
|
|
106612
|
-
"name": "
|
|
106613
|
-
"module": "core/
|
|
106657
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106658
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106614
106659
|
}
|
|
106615
106660
|
},
|
|
106616
106661
|
{
|
|
106617
|
-
"kind": "
|
|
106618
|
-
"name": "
|
|
106662
|
+
"kind": "method",
|
|
106663
|
+
"name": "closeAll",
|
|
106619
106664
|
"privacy": "public",
|
|
106620
|
-
"
|
|
106621
|
-
|
|
106622
|
-
|
|
106665
|
+
"return": {
|
|
106666
|
+
"type": {
|
|
106667
|
+
"text": "void"
|
|
106668
|
+
}
|
|
106623
106669
|
},
|
|
106624
|
-
"
|
|
106625
|
-
"inheritedFrom": {
|
|
106626
|
-
"name": "SbbFormAssociatedMixin",
|
|
106627
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
106628
|
-
}
|
|
106670
|
+
"description": "Closes the menu and all related menus (nested and parent menus)."
|
|
106629
106671
|
},
|
|
106630
106672
|
{
|
|
106631
|
-
"kind": "
|
|
106632
|
-
"name": "
|
|
106633
|
-
"
|
|
106634
|
-
|
|
106673
|
+
"kind": "method",
|
|
106674
|
+
"name": "_close",
|
|
106675
|
+
"privacy": "private",
|
|
106676
|
+
"return": {
|
|
106677
|
+
"type": {
|
|
106678
|
+
"text": "void"
|
|
106679
|
+
}
|
|
106635
106680
|
},
|
|
106636
|
-
"
|
|
106637
|
-
|
|
106638
|
-
|
|
106639
|
-
|
|
106640
|
-
|
|
106641
|
-
|
|
106642
|
-
|
|
106681
|
+
"parameters": [
|
|
106682
|
+
{
|
|
106683
|
+
"name": "closeAll",
|
|
106684
|
+
"default": "false",
|
|
106685
|
+
"description": "If true, it ensures animations are correct by toggling some states when closing all related menus at once.",
|
|
106686
|
+
"optional": true
|
|
106687
|
+
}
|
|
106688
|
+
]
|
|
106643
106689
|
},
|
|
106644
106690
|
{
|
|
106645
|
-
"kind": "
|
|
106646
|
-
"name": "
|
|
106647
|
-
"
|
|
106648
|
-
|
|
106649
|
-
|
|
106650
|
-
|
|
106651
|
-
|
|
106652
|
-
"readonly": true,
|
|
106653
|
-
"inheritedFrom": {
|
|
106654
|
-
"name": "SbbFormAssociatedMixin",
|
|
106655
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
106691
|
+
"kind": "method",
|
|
106692
|
+
"name": "_isZeroAnimationDuration",
|
|
106693
|
+
"privacy": "private",
|
|
106694
|
+
"return": {
|
|
106695
|
+
"type": {
|
|
106696
|
+
"text": "boolean"
|
|
106697
|
+
}
|
|
106656
106698
|
}
|
|
106657
106699
|
},
|
|
106658
106700
|
{
|
|
106659
|
-
"kind": "
|
|
106660
|
-
"name": "
|
|
106661
|
-
"
|
|
106662
|
-
|
|
106663
|
-
|
|
106664
|
-
|
|
106665
|
-
|
|
106666
|
-
"readonly": true,
|
|
106667
|
-
"inheritedFrom": {
|
|
106668
|
-
"name": "SbbFormAssociatedMixin",
|
|
106669
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
106701
|
+
"kind": "method",
|
|
106702
|
+
"name": "_handleOpening",
|
|
106703
|
+
"privacy": "private",
|
|
106704
|
+
"return": {
|
|
106705
|
+
"type": {
|
|
106706
|
+
"text": "void"
|
|
106707
|
+
}
|
|
106670
106708
|
}
|
|
106671
106709
|
},
|
|
106672
106710
|
{
|
|
106673
|
-
"kind": "
|
|
106674
|
-
"name": "
|
|
106711
|
+
"kind": "method",
|
|
106712
|
+
"name": "_handleClosing",
|
|
106675
106713
|
"privacy": "private",
|
|
106676
|
-
"
|
|
106677
|
-
|
|
106678
|
-
|
|
106679
|
-
|
|
106714
|
+
"return": {
|
|
106715
|
+
"type": {
|
|
106716
|
+
"text": "void"
|
|
106717
|
+
}
|
|
106680
106718
|
}
|
|
106681
106719
|
},
|
|
106682
106720
|
{
|
|
106683
|
-
"kind": "
|
|
106684
|
-
"name": "
|
|
106685
|
-
"
|
|
106686
|
-
|
|
106721
|
+
"kind": "method",
|
|
106722
|
+
"name": "_handleKeyDown",
|
|
106723
|
+
"privacy": "private",
|
|
106724
|
+
"return": {
|
|
106725
|
+
"type": {
|
|
106726
|
+
"text": "void"
|
|
106727
|
+
}
|
|
106687
106728
|
},
|
|
106688
|
-
"
|
|
106689
|
-
|
|
106690
|
-
|
|
106691
|
-
|
|
106692
|
-
|
|
106693
|
-
|
|
106694
|
-
|
|
106729
|
+
"parameters": [
|
|
106730
|
+
{
|
|
106731
|
+
"name": "evt",
|
|
106732
|
+
"type": {
|
|
106733
|
+
"text": "KeyboardEvent"
|
|
106734
|
+
}
|
|
106735
|
+
}
|
|
106736
|
+
]
|
|
106695
106737
|
},
|
|
106696
106738
|
{
|
|
106697
106739
|
"kind": "method",
|
|
106698
|
-
"name": "
|
|
106699
|
-
"privacy": "
|
|
106740
|
+
"name": "_configureTrigger",
|
|
106741
|
+
"privacy": "private",
|
|
106700
106742
|
"return": {
|
|
106701
106743
|
"type": {
|
|
106702
|
-
"text": "
|
|
106744
|
+
"text": "void"
|
|
106703
106745
|
}
|
|
106704
|
-
},
|
|
106705
|
-
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
106706
|
-
"inheritedFrom": {
|
|
106707
|
-
"name": "SbbFormAssociatedMixin",
|
|
106708
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
106709
106746
|
}
|
|
106710
106747
|
},
|
|
106711
106748
|
{
|
|
106712
106749
|
"kind": "method",
|
|
106713
|
-
"name": "
|
|
106714
|
-
"privacy": "
|
|
106750
|
+
"name": "_attachWindowEvents",
|
|
106751
|
+
"privacy": "private",
|
|
106715
106752
|
"return": {
|
|
106716
106753
|
"type": {
|
|
106717
|
-
"text": "
|
|
106754
|
+
"text": "void"
|
|
106718
106755
|
}
|
|
106719
|
-
},
|
|
106720
|
-
"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.",
|
|
106721
|
-
"inheritedFrom": {
|
|
106722
|
-
"name": "SbbFormAssociatedMixin",
|
|
106723
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
106724
106756
|
}
|
|
106725
106757
|
},
|
|
106726
106758
|
{
|
|
106727
106759
|
"kind": "method",
|
|
106728
|
-
"name": "
|
|
106729
|
-
"privacy": "
|
|
106760
|
+
"name": "_interactiveElementClick",
|
|
106761
|
+
"privacy": "private",
|
|
106730
106762
|
"return": {
|
|
106731
106763
|
"type": {
|
|
106732
106764
|
"text": "void"
|
|
@@ -106734,65 +106766,79 @@
|
|
|
106734
106766
|
},
|
|
106735
106767
|
"parameters": [
|
|
106736
106768
|
{
|
|
106737
|
-
"name": "
|
|
106769
|
+
"name": "event",
|
|
106738
106770
|
"type": {
|
|
106739
|
-
"text": "
|
|
106771
|
+
"text": "Event"
|
|
106740
106772
|
}
|
|
106741
106773
|
}
|
|
106742
|
-
]
|
|
106743
|
-
|
|
106744
|
-
|
|
106745
|
-
|
|
106746
|
-
|
|
106747
|
-
|
|
106774
|
+
]
|
|
106775
|
+
},
|
|
106776
|
+
{
|
|
106777
|
+
"kind": "field",
|
|
106778
|
+
"name": "_pointerDownListener",
|
|
106779
|
+
"privacy": "private"
|
|
106780
|
+
},
|
|
106781
|
+
{
|
|
106782
|
+
"kind": "field",
|
|
106783
|
+
"name": "_closeOnBackdropClick",
|
|
106784
|
+
"privacy": "private"
|
|
106748
106785
|
},
|
|
106749
106786
|
{
|
|
106750
106787
|
"kind": "method",
|
|
106751
|
-
"name": "
|
|
106788
|
+
"name": "_nestedMenus",
|
|
106752
106789
|
"privacy": "private",
|
|
106753
106790
|
"return": {
|
|
106754
106791
|
"type": {
|
|
106755
|
-
"text": "
|
|
106792
|
+
"text": "SbbMenuElement[]"
|
|
106756
106793
|
}
|
|
106757
106794
|
},
|
|
106758
|
-
"
|
|
106759
|
-
|
|
106760
|
-
|
|
106795
|
+
"description": "Converts the linked list into an array of SbbMenuElement."
|
|
106796
|
+
},
|
|
106797
|
+
{
|
|
106798
|
+
"kind": "method",
|
|
106799
|
+
"name": "_parentMenu",
|
|
106800
|
+
"privacy": "private",
|
|
106801
|
+
"return": {
|
|
106802
|
+
"type": {
|
|
106803
|
+
"text": "SbbMenuElement | null"
|
|
106804
|
+
}
|
|
106761
106805
|
}
|
|
106762
106806
|
},
|
|
106763
106807
|
{
|
|
106764
106808
|
"kind": "method",
|
|
106765
|
-
"name": "
|
|
106766
|
-
"privacy": "
|
|
106809
|
+
"name": "_mainMenu",
|
|
106810
|
+
"privacy": "private",
|
|
106767
106811
|
"return": {
|
|
106768
106812
|
"type": {
|
|
106769
|
-
"text": "
|
|
106813
|
+
"text": "SbbMenuElement"
|
|
106770
106814
|
}
|
|
106771
106815
|
},
|
|
106772
|
-
"description": "
|
|
106773
|
-
|
|
106774
|
-
|
|
106775
|
-
|
|
106816
|
+
"description": "The outermost menu."
|
|
106817
|
+
},
|
|
106818
|
+
{
|
|
106819
|
+
"kind": "method",
|
|
106820
|
+
"name": "_isNested",
|
|
106821
|
+
"privacy": "private",
|
|
106822
|
+
"return": {
|
|
106823
|
+
"type": {
|
|
106824
|
+
"text": "boolean"
|
|
106825
|
+
}
|
|
106776
106826
|
}
|
|
106777
106827
|
},
|
|
106778
106828
|
{
|
|
106779
106829
|
"kind": "method",
|
|
106780
|
-
"name": "
|
|
106781
|
-
"privacy": "
|
|
106830
|
+
"name": "_updateNestedInert",
|
|
106831
|
+
"privacy": "private",
|
|
106782
106832
|
"return": {
|
|
106783
106833
|
"type": {
|
|
106784
|
-
"text": "
|
|
106834
|
+
"text": "void"
|
|
106785
106835
|
}
|
|
106786
|
-
},
|
|
106787
|
-
"inheritedFrom": {
|
|
106788
|
-
"name": "SbbFormAssociatedMixin",
|
|
106789
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
106790
106836
|
}
|
|
106791
106837
|
},
|
|
106792
106838
|
{
|
|
106793
106839
|
"kind": "method",
|
|
106794
|
-
"name": "
|
|
106795
|
-
"privacy": "
|
|
106840
|
+
"name": "_handleMouseOver",
|
|
106841
|
+
"privacy": "private",
|
|
106796
106842
|
"return": {
|
|
106797
106843
|
"type": {
|
|
106798
106844
|
"text": "void"
|
|
@@ -106800,35 +106846,17 @@
|
|
|
106800
106846
|
},
|
|
106801
106847
|
"parameters": [
|
|
106802
106848
|
{
|
|
106803
|
-
"name": "
|
|
106804
|
-
"type": {
|
|
106805
|
-
"text": "T"
|
|
106806
|
-
}
|
|
106807
|
-
},
|
|
106808
|
-
{
|
|
106809
|
-
"name": "message",
|
|
106810
|
-
"type": {
|
|
106811
|
-
"text": "string"
|
|
106812
|
-
}
|
|
106813
|
-
},
|
|
106814
|
-
{
|
|
106815
|
-
"name": "flagValue",
|
|
106816
|
-
"optional": true,
|
|
106849
|
+
"name": "event",
|
|
106817
106850
|
"type": {
|
|
106818
|
-
"text": "
|
|
106851
|
+
"text": "MouseEvent"
|
|
106819
106852
|
}
|
|
106820
106853
|
}
|
|
106821
|
-
]
|
|
106822
|
-
"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).",
|
|
106823
|
-
"inheritedFrom": {
|
|
106824
|
-
"name": "SbbFormAssociatedMixin",
|
|
106825
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
106826
|
-
}
|
|
106854
|
+
]
|
|
106827
106855
|
},
|
|
106828
106856
|
{
|
|
106829
106857
|
"kind": "method",
|
|
106830
|
-
"name": "
|
|
106831
|
-
"privacy": "
|
|
106858
|
+
"name": "_onMenuAnimationEnd",
|
|
106859
|
+
"privacy": "private",
|
|
106832
106860
|
"return": {
|
|
106833
106861
|
"type": {
|
|
106834
106862
|
"text": "void"
|
|
@@ -106836,158 +106864,152 @@
|
|
|
106836
106864
|
},
|
|
106837
106865
|
"parameters": [
|
|
106838
106866
|
{
|
|
106839
|
-
"name": "
|
|
106867
|
+
"name": "event",
|
|
106840
106868
|
"type": {
|
|
106841
|
-
"text": "
|
|
106869
|
+
"text": "AnimationEvent"
|
|
106842
106870
|
}
|
|
106843
106871
|
}
|
|
106844
|
-
]
|
|
106845
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
106846
|
-
"inheritedFrom": {
|
|
106847
|
-
"name": "SbbFormAssociatedMixin",
|
|
106848
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
106849
|
-
}
|
|
106872
|
+
]
|
|
106850
106873
|
},
|
|
106851
106874
|
{
|
|
106852
106875
|
"kind": "method",
|
|
106853
|
-
"name": "
|
|
106854
|
-
"privacy": "
|
|
106876
|
+
"name": "_setMenuPosition",
|
|
106877
|
+
"privacy": "private",
|
|
106855
106878
|
"return": {
|
|
106856
106879
|
"type": {
|
|
106857
106880
|
"text": "void"
|
|
106858
106881
|
}
|
|
106859
|
-
},
|
|
106860
|
-
"description": "To be called whenever the current element needs to be validated.",
|
|
106861
|
-
"inheritedFrom": {
|
|
106862
|
-
"name": "SbbFormAssociatedMixin",
|
|
106863
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
106864
106882
|
}
|
|
106865
106883
|
},
|
|
106866
106884
|
{
|
|
106867
106885
|
"kind": "method",
|
|
106868
|
-
"name": "
|
|
106869
|
-
"privacy": "
|
|
106886
|
+
"name": "_syncNegative",
|
|
106887
|
+
"privacy": "private",
|
|
106870
106888
|
"return": {
|
|
106871
106889
|
"type": {
|
|
106872
|
-
"text": "
|
|
106873
|
-
}
|
|
106874
|
-
},
|
|
106875
|
-
"parameters": [
|
|
106876
|
-
{
|
|
106877
|
-
"name": "name",
|
|
106878
|
-
"type": {
|
|
106879
|
-
"text": "PropertyKey | undefined"
|
|
106880
|
-
}
|
|
106890
|
+
"text": "void"
|
|
106881
106891
|
}
|
|
106882
|
-
],
|
|
106883
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
106884
|
-
"inheritedFrom": {
|
|
106885
|
-
"name": "SbbFormAssociatedMixin",
|
|
106886
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
106887
106892
|
}
|
|
106888
106893
|
},
|
|
106889
106894
|
{
|
|
106890
106895
|
"kind": "method",
|
|
106891
|
-
"name": "
|
|
106896
|
+
"name": "_isMobile",
|
|
106892
106897
|
"privacy": "private",
|
|
106893
106898
|
"return": {
|
|
106894
106899
|
"type": {
|
|
106895
|
-
"text": "
|
|
106900
|
+
"text": "boolean"
|
|
106896
106901
|
}
|
|
106897
|
-
},
|
|
106898
|
-
"inheritedFrom": {
|
|
106899
|
-
"name": "SbbFormAssociatedMixin",
|
|
106900
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
106901
106902
|
}
|
|
106902
106903
|
},
|
|
106903
106904
|
{
|
|
106904
106905
|
"kind": "field",
|
|
106905
|
-
"name": "
|
|
106906
|
-
"privacy": "
|
|
106907
|
-
"
|
|
106908
|
-
"
|
|
106909
|
-
|
|
106910
|
-
|
|
106911
|
-
|
|
106912
|
-
|
|
106913
|
-
],
|
|
106906
|
+
"name": "events",
|
|
106907
|
+
"privacy": "public",
|
|
106908
|
+
"static": true,
|
|
106909
|
+
"readonly": true,
|
|
106910
|
+
"default": "{ beforeopen: 'beforeopen', open: 'open', beforeclose: 'beforeclose', close: 'close', }",
|
|
106911
|
+
"type": {
|
|
106912
|
+
"text": "{\n beforeopen: 'beforeopen',\n open: 'open',\n beforeclose: 'beforeclose',\n close: 'close',\n }"
|
|
106913
|
+
},
|
|
106914
106914
|
"inheritedFrom": {
|
|
106915
|
-
"name": "
|
|
106916
|
-
"module": "core/base-elements/
|
|
106915
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106916
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106917
106917
|
}
|
|
106918
106918
|
},
|
|
106919
106919
|
{
|
|
106920
106920
|
"kind": "field",
|
|
106921
|
-
"name": "
|
|
106922
|
-
"privacy": "
|
|
106921
|
+
"name": "state",
|
|
106922
|
+
"privacy": "protected",
|
|
106923
|
+
"description": "The state of the component.",
|
|
106924
|
+
"type": {
|
|
106925
|
+
"text": "SbbOpenedClosedState"
|
|
106926
|
+
},
|
|
106927
|
+
"default": "'closed'",
|
|
106923
106928
|
"inheritedFrom": {
|
|
106924
|
-
"name": "
|
|
106925
|
-
"module": "core/base-elements/
|
|
106929
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106930
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106926
106931
|
}
|
|
106927
106932
|
},
|
|
106928
106933
|
{
|
|
106929
106934
|
"kind": "field",
|
|
106930
|
-
"name": "
|
|
106935
|
+
"name": "_state",
|
|
106936
|
+
"type": {
|
|
106937
|
+
"text": "SbbOpenedClosedState"
|
|
106938
|
+
},
|
|
106931
106939
|
"privacy": "private",
|
|
106932
|
-
"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.",
|
|
106933
|
-
"parameters": [
|
|
106934
|
-
{
|
|
106935
|
-
"description": "The origin event.",
|
|
106936
|
-
"name": "event"
|
|
106937
|
-
}
|
|
106938
|
-
],
|
|
106939
106940
|
"inheritedFrom": {
|
|
106940
|
-
"name": "
|
|
106941
|
-
"module": "core/base-elements/
|
|
106941
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106942
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106942
106943
|
}
|
|
106943
106944
|
},
|
|
106944
106945
|
{
|
|
106945
106946
|
"kind": "field",
|
|
106946
|
-
"name": "
|
|
106947
|
-
"
|
|
106947
|
+
"name": "isOpen",
|
|
106948
|
+
"type": {
|
|
106949
|
+
"text": "boolean"
|
|
106950
|
+
},
|
|
106951
|
+
"privacy": "public",
|
|
106952
|
+
"description": "Whether the element is open.",
|
|
106953
|
+
"readonly": true,
|
|
106948
106954
|
"inheritedFrom": {
|
|
106949
|
-
"name": "
|
|
106950
|
-
"module": "core/base-elements/
|
|
106955
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106956
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106957
|
+
}
|
|
106958
|
+
},
|
|
106959
|
+
{
|
|
106960
|
+
"kind": "method",
|
|
106961
|
+
"name": "dispatchBeforeOpenEvent",
|
|
106962
|
+
"privacy": "protected",
|
|
106963
|
+
"return": {
|
|
106964
|
+
"type": {
|
|
106965
|
+
"text": "boolean"
|
|
106966
|
+
}
|
|
106967
|
+
},
|
|
106968
|
+
"inheritedFrom": {
|
|
106969
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106970
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106951
106971
|
}
|
|
106952
106972
|
},
|
|
106953
106973
|
{
|
|
106954
|
-
"kind": "
|
|
106955
|
-
"name": "
|
|
106956
|
-
"type": {
|
|
106957
|
-
"text": "boolean | undefined"
|
|
106958
|
-
},
|
|
106974
|
+
"kind": "method",
|
|
106975
|
+
"name": "dispatchOpenEvent",
|
|
106959
106976
|
"privacy": "protected",
|
|
106960
|
-
"
|
|
106977
|
+
"return": {
|
|
106978
|
+
"type": {
|
|
106979
|
+
"text": "boolean"
|
|
106980
|
+
}
|
|
106981
|
+
},
|
|
106961
106982
|
"inheritedFrom": {
|
|
106962
|
-
"name": "
|
|
106963
|
-
"module": "core/base-elements/
|
|
106983
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106984
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106964
106985
|
}
|
|
106965
106986
|
},
|
|
106966
106987
|
{
|
|
106967
|
-
"kind": "
|
|
106968
|
-
"name": "
|
|
106969
|
-
"type": {
|
|
106970
|
-
"text": "boolean | undefined"
|
|
106971
|
-
},
|
|
106988
|
+
"kind": "method",
|
|
106989
|
+
"name": "dispatchBeforeCloseEvent",
|
|
106972
106990
|
"privacy": "protected",
|
|
106973
|
-
"
|
|
106991
|
+
"return": {
|
|
106992
|
+
"type": {
|
|
106993
|
+
"text": "boolean"
|
|
106994
|
+
}
|
|
106995
|
+
},
|
|
106974
106996
|
"inheritedFrom": {
|
|
106975
|
-
"name": "
|
|
106976
|
-
"module": "core/base-elements/
|
|
106997
|
+
"name": "SbbOpenCloseBaseElement",
|
|
106998
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106977
106999
|
}
|
|
106978
107000
|
},
|
|
106979
107001
|
{
|
|
106980
107002
|
"kind": "method",
|
|
106981
|
-
"name": "
|
|
107003
|
+
"name": "dispatchCloseEvent",
|
|
106982
107004
|
"privacy": "protected",
|
|
106983
107005
|
"return": {
|
|
106984
107006
|
"type": {
|
|
106985
|
-
"text": "
|
|
107007
|
+
"text": "boolean"
|
|
106986
107008
|
}
|
|
106987
107009
|
},
|
|
106988
107010
|
"inheritedFrom": {
|
|
106989
|
-
"name": "
|
|
106990
|
-
"module": "core/base-elements/
|
|
107011
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107012
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
106991
107013
|
}
|
|
106992
107014
|
},
|
|
106993
107015
|
{
|
|
@@ -107096,110 +107118,66 @@
|
|
|
107096
107118
|
}
|
|
107097
107119
|
}
|
|
107098
107120
|
],
|
|
107099
|
-
"
|
|
107100
|
-
{
|
|
107101
|
-
"name": "SbbDisabledTabIndexActionMixin",
|
|
107102
|
-
"module": "core/mixins.js"
|
|
107103
|
-
},
|
|
107121
|
+
"attributes": [
|
|
107104
107122
|
{
|
|
107105
|
-
"name": "
|
|
107106
|
-
"
|
|
107123
|
+
"name": "trigger",
|
|
107124
|
+
"type": {
|
|
107125
|
+
"text": "HTMLElement | null"
|
|
107126
|
+
},
|
|
107127
|
+
"default": "null",
|
|
107128
|
+
"description": "The element that will trigger the menu overlay.\n\nFor attribute usage, provide an id reference.",
|
|
107129
|
+
"fieldName": "trigger"
|
|
107107
107130
|
}
|
|
107108
107131
|
],
|
|
107109
107132
|
"superclass": {
|
|
107110
|
-
"name": "
|
|
107133
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107111
107134
|
"module": "core/base-elements.js"
|
|
107112
107135
|
},
|
|
107113
|
-
"tagName": "sbb-menu
|
|
107136
|
+
"tagName": "sbb-menu",
|
|
107114
107137
|
"customElement": true,
|
|
107115
|
-
"
|
|
107116
|
-
{
|
|
107117
|
-
"name": "disabled-interactive",
|
|
107118
|
-
"type": {
|
|
107119
|
-
"text": "boolean"
|
|
107120
|
-
},
|
|
107121
|
-
"default": "false",
|
|
107122
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
107123
|
-
"fieldName": "disabledInteractive",
|
|
107124
|
-
"inheritedFrom": {
|
|
107125
|
-
"name": "SbbDisabledInteractiveMixin",
|
|
107126
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
107127
|
-
}
|
|
107128
|
-
},
|
|
107129
|
-
{
|
|
107130
|
-
"name": "disabled",
|
|
107131
|
-
"description": "Whether the component is disabled.",
|
|
107132
|
-
"default": "false",
|
|
107133
|
-
"type": {
|
|
107134
|
-
"text": "boolean"
|
|
107135
|
-
},
|
|
107136
|
-
"fieldName": "disabled",
|
|
107137
|
-
"inheritedFrom": {
|
|
107138
|
-
"name": "SbbDisabledMixin",
|
|
107139
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
107140
|
-
}
|
|
107141
|
-
},
|
|
107142
|
-
{
|
|
107143
|
-
"name": "icon-name",
|
|
107144
|
-
"type": {
|
|
107145
|
-
"text": "string"
|
|
107146
|
-
},
|
|
107147
|
-
"default": "''",
|
|
107148
|
-
"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.",
|
|
107149
|
-
"fieldName": "iconName",
|
|
107150
|
-
"inheritedFrom": {
|
|
107151
|
-
"name": "SbbIconNameMixin",
|
|
107152
|
-
"module": "icon/icon-name-mixin.js"
|
|
107153
|
-
}
|
|
107154
|
-
},
|
|
107138
|
+
"events": [
|
|
107155
107139
|
{
|
|
107156
|
-
"name": "
|
|
107140
|
+
"name": "beforeopen",
|
|
107157
107141
|
"type": {
|
|
107158
|
-
"text": "
|
|
107142
|
+
"text": "Event"
|
|
107159
107143
|
},
|
|
107160
|
-
"
|
|
107161
|
-
"description": "Value of the form element.",
|
|
107162
|
-
"fieldName": "value",
|
|
107144
|
+
"description": "Emits whenever the component starts the opening transition. Can be canceled.",
|
|
107163
107145
|
"inheritedFrom": {
|
|
107164
|
-
"name": "
|
|
107165
|
-
"module": "core/base-elements/
|
|
107146
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107147
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
107166
107148
|
}
|
|
107167
107149
|
},
|
|
107168
107150
|
{
|
|
107169
|
-
"name": "
|
|
107170
|
-
"description": "The type attribute to use for the button.",
|
|
107171
|
-
"default": "'button'",
|
|
107151
|
+
"name": "open",
|
|
107172
107152
|
"type": {
|
|
107173
|
-
"text": "
|
|
107153
|
+
"text": "Event"
|
|
107174
107154
|
},
|
|
107175
|
-
"
|
|
107155
|
+
"description": "Emits whenever the component is opened.",
|
|
107176
107156
|
"inheritedFrom": {
|
|
107177
|
-
"name": "
|
|
107178
|
-
"module": "core/base-elements/
|
|
107157
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107158
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
107179
107159
|
}
|
|
107180
107160
|
},
|
|
107181
107161
|
{
|
|
107182
|
-
"name": "
|
|
107183
|
-
"description": "The `<form>` element to associate the button with.",
|
|
107162
|
+
"name": "beforeclose",
|
|
107184
107163
|
"type": {
|
|
107185
|
-
"text": "
|
|
107164
|
+
"text": "Event"
|
|
107186
107165
|
},
|
|
107187
|
-
"
|
|
107166
|
+
"description": "Emits whenever the component begins the closing transition. Can be canceled.",
|
|
107188
107167
|
"inheritedFrom": {
|
|
107189
|
-
"name": "
|
|
107190
|
-
"module": "core/base-elements/
|
|
107168
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107169
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
107191
107170
|
}
|
|
107192
107171
|
},
|
|
107193
107172
|
{
|
|
107194
|
-
"name": "
|
|
107195
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
107173
|
+
"name": "close",
|
|
107196
107174
|
"type": {
|
|
107197
|
-
"text": "
|
|
107175
|
+
"text": "Event"
|
|
107198
107176
|
},
|
|
107199
|
-
"
|
|
107177
|
+
"description": "Emits whenever the component is closed.",
|
|
107200
107178
|
"inheritedFrom": {
|
|
107201
|
-
"name": "
|
|
107202
|
-
"module": "core/
|
|
107179
|
+
"name": "SbbOpenCloseBaseElement",
|
|
107180
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
107203
107181
|
}
|
|
107204
107182
|
}
|
|
107205
107183
|
]
|
|
@@ -107208,33 +107186,37 @@
|
|
|
107208
107186
|
"exports": [
|
|
107209
107187
|
{
|
|
107210
107188
|
"kind": "js",
|
|
107211
|
-
"name": "
|
|
107189
|
+
"name": "SbbMenuElement",
|
|
107212
107190
|
"declaration": {
|
|
107213
|
-
"name": "
|
|
107214
|
-
"module": "menu/menu
|
|
107191
|
+
"name": "SbbMenuElement",
|
|
107192
|
+
"module": "menu/menu/menu.component.js"
|
|
107215
107193
|
}
|
|
107216
107194
|
}
|
|
107217
107195
|
]
|
|
107218
107196
|
},
|
|
107219
107197
|
{
|
|
107220
107198
|
"kind": "javascript-module",
|
|
107221
|
-
"path": "menu/menu/menu.component.js",
|
|
107199
|
+
"path": "menu/menu-button/menu-button.component.js",
|
|
107222
107200
|
"declarations": [
|
|
107223
107201
|
{
|
|
107224
107202
|
"kind": "class",
|
|
107225
|
-
"description": "It displays a
|
|
107226
|
-
"name": "
|
|
107203
|
+
"description": "It displays a button element that can be used in the `sbb-menu` component.",
|
|
107204
|
+
"name": "SbbMenuButtonElement",
|
|
107227
107205
|
"cssProperties": [
|
|
107228
107206
|
{
|
|
107229
|
-
"description": "
|
|
107230
|
-
"name": "--sbb-menu-
|
|
107231
|
-
"default": "var(--sbb-
|
|
107207
|
+
"description": "Can be used to modify horizontal padding.",
|
|
107208
|
+
"name": "--sbb-menu-action-outer-horizontal-padding",
|
|
107209
|
+
"default": "var(--sbb-spacing-fixed-3x)"
|
|
107232
107210
|
}
|
|
107233
107211
|
],
|
|
107234
107212
|
"slots": [
|
|
107235
107213
|
{
|
|
107236
|
-
"description": "Use the unnamed slot to add `sbb-menu-button
|
|
107214
|
+
"description": "Use the unnamed slot to add content to the `sbb-menu-button`.",
|
|
107237
107215
|
"name": ""
|
|
107216
|
+
},
|
|
107217
|
+
{
|
|
107218
|
+
"description": "Use this slot to provide an icon. If `icon-name` is set, a `sbb-icon` will be used.",
|
|
107219
|
+
"name": "icon"
|
|
107238
107220
|
}
|
|
107239
107221
|
],
|
|
107240
107222
|
"members": [
|
|
@@ -107251,189 +107233,417 @@
|
|
|
107251
107233
|
"name": "SbbElement",
|
|
107252
107234
|
"module": "core/base-elements/element.js"
|
|
107253
107235
|
},
|
|
107254
|
-
"default": "'sbb-menu'"
|
|
107236
|
+
"default": "'sbb-menu-button'"
|
|
107255
107237
|
},
|
|
107256
107238
|
{
|
|
107257
107239
|
"kind": "field",
|
|
107258
107240
|
"name": "role",
|
|
107259
107241
|
"type": {
|
|
107260
|
-
"text": "
|
|
107242
|
+
"text": "ElementInternals['role']"
|
|
107261
107243
|
},
|
|
107262
107244
|
"privacy": "public",
|
|
107263
107245
|
"static": true,
|
|
107264
107246
|
"readonly": true,
|
|
107265
|
-
"default": "'
|
|
107247
|
+
"default": "'menuitem'",
|
|
107248
|
+
"inheritedFrom": {
|
|
107249
|
+
"name": "SbbButtonLikeBaseElement",
|
|
107250
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107251
|
+
}
|
|
107266
107252
|
},
|
|
107267
107253
|
{
|
|
107268
107254
|
"kind": "field",
|
|
107269
|
-
"name": "
|
|
107255
|
+
"name": "disabledInteractive",
|
|
107270
107256
|
"type": {
|
|
107271
|
-
"text": "
|
|
107257
|
+
"text": "boolean"
|
|
107272
107258
|
},
|
|
107273
107259
|
"privacy": "public",
|
|
107274
|
-
"default": "
|
|
107275
|
-
"description": "
|
|
107276
|
-
"attribute": "
|
|
107260
|
+
"default": "false",
|
|
107261
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
107262
|
+
"attribute": "disabled-interactive",
|
|
107263
|
+
"reflects": true,
|
|
107264
|
+
"inheritedFrom": {
|
|
107265
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
107266
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
107267
|
+
}
|
|
107277
107268
|
},
|
|
107278
107269
|
{
|
|
107279
107270
|
"kind": "field",
|
|
107280
|
-
"name": "
|
|
107271
|
+
"name": "disabled",
|
|
107272
|
+
"privacy": "public",
|
|
107273
|
+
"description": "Whether the component is disabled.",
|
|
107274
|
+
"default": "false",
|
|
107281
107275
|
"type": {
|
|
107282
|
-
"text": "
|
|
107276
|
+
"text": "boolean"
|
|
107283
107277
|
},
|
|
107284
|
-
"
|
|
107278
|
+
"attribute": "disabled",
|
|
107279
|
+
"reflects": true,
|
|
107280
|
+
"inheritedFrom": {
|
|
107281
|
+
"name": "SbbDisabledMixin",
|
|
107282
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
107283
|
+
}
|
|
107285
107284
|
},
|
|
107286
107285
|
{
|
|
107287
107286
|
"kind": "field",
|
|
107288
|
-
"name": "
|
|
107287
|
+
"name": "#disabled",
|
|
107288
|
+
"privacy": "private",
|
|
107289
107289
|
"type": {
|
|
107290
|
-
"text": "
|
|
107290
|
+
"text": "boolean"
|
|
107291
107291
|
},
|
|
107292
|
-
"
|
|
107293
|
-
"
|
|
107292
|
+
"default": "false",
|
|
107293
|
+
"inheritedFrom": {
|
|
107294
|
+
"name": "SbbDisabledMixin",
|
|
107295
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
107296
|
+
}
|
|
107297
|
+
},
|
|
107298
|
+
{
|
|
107299
|
+
"kind": "method",
|
|
107300
|
+
"name": "isDisabledExternally",
|
|
107301
|
+
"privacy": "protected",
|
|
107302
|
+
"return": {
|
|
107303
|
+
"type": {
|
|
107304
|
+
"text": "boolean"
|
|
107305
|
+
}
|
|
107306
|
+
},
|
|
107307
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
107308
|
+
"inheritedFrom": {
|
|
107309
|
+
"name": "SbbDisabledMixin",
|
|
107310
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
107311
|
+
}
|
|
107294
107312
|
},
|
|
107295
107313
|
{
|
|
107296
107314
|
"kind": "field",
|
|
107297
|
-
"name": "
|
|
107315
|
+
"name": "styles",
|
|
107298
107316
|
"type": {
|
|
107299
|
-
"text": "
|
|
107317
|
+
"text": "CSSResultGroup"
|
|
107300
107318
|
},
|
|
107301
|
-
"privacy": "
|
|
107319
|
+
"privacy": "public",
|
|
107320
|
+
"static": true,
|
|
107321
|
+
"default": "[boxSizingStyles, unsafeCSS(style)]",
|
|
107322
|
+
"inheritedFrom": {
|
|
107323
|
+
"name": "SbbMenuActionCommonElementMixin",
|
|
107324
|
+
"module": "menu/common/menu-action-common.js"
|
|
107325
|
+
}
|
|
107326
|
+
},
|
|
107327
|
+
{
|
|
107328
|
+
"kind": "method",
|
|
107329
|
+
"name": "renderTemplate",
|
|
107330
|
+
"privacy": "protected",
|
|
107331
|
+
"return": {
|
|
107332
|
+
"type": {
|
|
107333
|
+
"text": "TemplateResult"
|
|
107334
|
+
}
|
|
107335
|
+
},
|
|
107336
|
+
"description": "Override this method to render the component template.",
|
|
107337
|
+
"inheritedFrom": {
|
|
107338
|
+
"name": "SbbActionBaseElement",
|
|
107339
|
+
"module": "core/base-elements/action-base-element.js"
|
|
107340
|
+
}
|
|
107302
107341
|
},
|
|
107303
107342
|
{
|
|
107304
107343
|
"kind": "field",
|
|
107305
|
-
"name": "
|
|
107344
|
+
"name": "iconName",
|
|
107306
107345
|
"type": {
|
|
107307
|
-
"text": "
|
|
107346
|
+
"text": "string"
|
|
107347
|
+
},
|
|
107348
|
+
"privacy": "public",
|
|
107349
|
+
"default": "''",
|
|
107350
|
+
"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.",
|
|
107351
|
+
"attribute": "icon-name",
|
|
107352
|
+
"inheritedFrom": {
|
|
107353
|
+
"name": "SbbIconNameMixin",
|
|
107354
|
+
"module": "icon/icon-name-mixin.js"
|
|
107355
|
+
}
|
|
107356
|
+
},
|
|
107357
|
+
{
|
|
107358
|
+
"kind": "method",
|
|
107359
|
+
"name": "renderIconSlot",
|
|
107360
|
+
"privacy": "protected",
|
|
107361
|
+
"return": {
|
|
107362
|
+
"type": {
|
|
107363
|
+
"text": "TemplateResult"
|
|
107364
|
+
}
|
|
107365
|
+
},
|
|
107366
|
+
"parameters": [
|
|
107367
|
+
{
|
|
107368
|
+
"name": "classname",
|
|
107369
|
+
"optional": true,
|
|
107370
|
+
"type": {
|
|
107371
|
+
"text": "string"
|
|
107372
|
+
}
|
|
107373
|
+
}
|
|
107374
|
+
],
|
|
107375
|
+
"inheritedFrom": {
|
|
107376
|
+
"name": "SbbIconNameMixin",
|
|
107377
|
+
"module": "icon/icon-name-mixin.js"
|
|
107378
|
+
}
|
|
107379
|
+
},
|
|
107380
|
+
{
|
|
107381
|
+
"kind": "method",
|
|
107382
|
+
"name": "renderIconName",
|
|
107383
|
+
"privacy": "protected",
|
|
107384
|
+
"return": {
|
|
107385
|
+
"type": {
|
|
107386
|
+
"text": "string"
|
|
107387
|
+
}
|
|
107308
107388
|
},
|
|
107389
|
+
"inheritedFrom": {
|
|
107390
|
+
"name": "SbbIconNameMixin",
|
|
107391
|
+
"module": "icon/icon-name-mixin.js"
|
|
107392
|
+
}
|
|
107393
|
+
},
|
|
107394
|
+
{
|
|
107395
|
+
"kind": "method",
|
|
107396
|
+
"name": "_renderIconName",
|
|
107309
107397
|
"privacy": "private",
|
|
107310
|
-
"
|
|
107398
|
+
"return": {
|
|
107399
|
+
"type": {
|
|
107400
|
+
"text": "string"
|
|
107401
|
+
}
|
|
107402
|
+
},
|
|
107403
|
+
"inheritedFrom": {
|
|
107404
|
+
"name": "SbbIconNameMixin",
|
|
107405
|
+
"module": "icon/icon-name-mixin.js"
|
|
107406
|
+
}
|
|
107311
107407
|
},
|
|
107312
107408
|
{
|
|
107313
107409
|
"kind": "field",
|
|
107314
|
-
"name": "
|
|
107410
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
107315
107411
|
"type": {
|
|
107316
|
-
"text": "
|
|
107412
|
+
"text": "array"
|
|
107317
107413
|
},
|
|
107318
|
-
"privacy": "private"
|
|
107414
|
+
"privacy": "private",
|
|
107415
|
+
"readonly": true,
|
|
107416
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
107417
|
+
"inheritedFrom": {
|
|
107418
|
+
"name": "SbbButtonBaseElement",
|
|
107419
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107420
|
+
}
|
|
107319
107421
|
},
|
|
107320
107422
|
{
|
|
107321
107423
|
"kind": "field",
|
|
107322
|
-
"name": "
|
|
107323
|
-
"
|
|
107324
|
-
|
|
107424
|
+
"name": "value",
|
|
107425
|
+
"type": {
|
|
107426
|
+
"text": "string"
|
|
107427
|
+
},
|
|
107428
|
+
"privacy": "public",
|
|
107429
|
+
"inheritedFrom": {
|
|
107430
|
+
"name": "SbbButtonBaseElement",
|
|
107431
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107432
|
+
},
|
|
107433
|
+
"default": "''",
|
|
107434
|
+
"description": "Value of the form element.",
|
|
107435
|
+
"attribute": "value"
|
|
107325
107436
|
},
|
|
107326
107437
|
{
|
|
107327
107438
|
"kind": "field",
|
|
107328
|
-
"name": "
|
|
107329
|
-
"privacy": "
|
|
107330
|
-
"
|
|
107439
|
+
"name": "type",
|
|
107440
|
+
"privacy": "public",
|
|
107441
|
+
"description": "The type attribute to use for the button.",
|
|
107442
|
+
"default": "'button'",
|
|
107443
|
+
"type": {
|
|
107444
|
+
"text": "SbbButtonType"
|
|
107445
|
+
},
|
|
107446
|
+
"attribute": "type",
|
|
107447
|
+
"inheritedFrom": {
|
|
107448
|
+
"name": "SbbButtonBaseElement",
|
|
107449
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107450
|
+
}
|
|
107331
107451
|
},
|
|
107332
107452
|
{
|
|
107333
107453
|
"kind": "field",
|
|
107334
|
-
"name": "
|
|
107335
|
-
"
|
|
107336
|
-
|
|
107454
|
+
"name": "form",
|
|
107455
|
+
"type": {
|
|
107456
|
+
"text": "HTMLFormElement | null"
|
|
107457
|
+
},
|
|
107458
|
+
"privacy": "public",
|
|
107459
|
+
"description": "The `<form>` element to associate the button with.",
|
|
107460
|
+
"inheritedFrom": {
|
|
107461
|
+
"name": "SbbButtonBaseElement",
|
|
107462
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107463
|
+
},
|
|
107464
|
+
"attribute": "form"
|
|
107337
107465
|
},
|
|
107338
107466
|
{
|
|
107339
107467
|
"kind": "field",
|
|
107340
|
-
"name": "
|
|
107468
|
+
"name": "_formId",
|
|
107469
|
+
"type": {
|
|
107470
|
+
"text": "string"
|
|
107471
|
+
},
|
|
107341
107472
|
"privacy": "private",
|
|
107342
|
-
"default": "
|
|
107473
|
+
"default": "''",
|
|
107474
|
+
"inheritedFrom": {
|
|
107475
|
+
"name": "SbbButtonBaseElement",
|
|
107476
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107477
|
+
}
|
|
107343
107478
|
},
|
|
107344
107479
|
{
|
|
107345
107480
|
"kind": "field",
|
|
107346
|
-
"name": "
|
|
107481
|
+
"name": "_handleButtonClick",
|
|
107347
107482
|
"privacy": "private",
|
|
107348
|
-
"
|
|
107483
|
+
"inheritedFrom": {
|
|
107484
|
+
"name": "SbbButtonBaseElement",
|
|
107485
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107486
|
+
}
|
|
107349
107487
|
},
|
|
107350
107488
|
{
|
|
107351
|
-
"kind": "
|
|
107352
|
-
"name": "
|
|
107489
|
+
"kind": "method",
|
|
107490
|
+
"name": "_requestSubmit",
|
|
107353
107491
|
"privacy": "private",
|
|
107354
|
-
"
|
|
107492
|
+
"return": {
|
|
107493
|
+
"type": {
|
|
107494
|
+
"text": "void"
|
|
107495
|
+
}
|
|
107496
|
+
},
|
|
107497
|
+
"parameters": [
|
|
107498
|
+
{
|
|
107499
|
+
"name": "form",
|
|
107500
|
+
"type": {
|
|
107501
|
+
"text": "HTMLFormElement"
|
|
107502
|
+
}
|
|
107503
|
+
}
|
|
107504
|
+
],
|
|
107505
|
+
"inheritedFrom": {
|
|
107506
|
+
"name": "SbbButtonBaseElement",
|
|
107507
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107508
|
+
}
|
|
107355
107509
|
},
|
|
107356
107510
|
{
|
|
107357
107511
|
"kind": "field",
|
|
107358
|
-
"name": "
|
|
107512
|
+
"name": "_formKeyDown",
|
|
107359
107513
|
"privacy": "private",
|
|
107360
|
-
"
|
|
107514
|
+
"inheritedFrom": {
|
|
107515
|
+
"name": "SbbButtonBaseElement",
|
|
107516
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107517
|
+
}
|
|
107361
107518
|
},
|
|
107362
107519
|
{
|
|
107363
107520
|
"kind": "field",
|
|
107364
|
-
"name": "
|
|
107365
|
-
"
|
|
107366
|
-
|
|
107521
|
+
"name": "formAssociated",
|
|
107522
|
+
"type": {
|
|
107523
|
+
"text": "boolean"
|
|
107524
|
+
},
|
|
107525
|
+
"privacy": "public",
|
|
107526
|
+
"static": true,
|
|
107527
|
+
"default": "true",
|
|
107528
|
+
"inheritedFrom": {
|
|
107529
|
+
"name": "SbbFormAssociatedMixin",
|
|
107530
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107531
|
+
}
|
|
107367
107532
|
},
|
|
107368
107533
|
{
|
|
107369
107534
|
"kind": "field",
|
|
107370
|
-
"name": "
|
|
107535
|
+
"name": "name",
|
|
107536
|
+
"privacy": "public",
|
|
107537
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
107371
107538
|
"type": {
|
|
107372
|
-
"text": "
|
|
107539
|
+
"text": "string"
|
|
107373
107540
|
},
|
|
107374
|
-
"
|
|
107375
|
-
"
|
|
107541
|
+
"attribute": "name",
|
|
107542
|
+
"inheritedFrom": {
|
|
107543
|
+
"name": "SbbFormAssociatedMixin",
|
|
107544
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107545
|
+
}
|
|
107376
107546
|
},
|
|
107377
107547
|
{
|
|
107378
|
-
"kind": "
|
|
107379
|
-
"name": "
|
|
107548
|
+
"kind": "field",
|
|
107549
|
+
"name": "validity",
|
|
107550
|
+
"type": {
|
|
107551
|
+
"text": "ValidityState"
|
|
107552
|
+
},
|
|
107380
107553
|
"privacy": "public",
|
|
107381
|
-
"
|
|
107382
|
-
|
|
107383
|
-
|
|
107384
|
-
|
|
107554
|
+
"description": "Returns the ValidityState object for this element.",
|
|
107555
|
+
"readonly": true,
|
|
107556
|
+
"inheritedFrom": {
|
|
107557
|
+
"name": "SbbFormAssociatedMixin",
|
|
107558
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107559
|
+
}
|
|
107560
|
+
},
|
|
107561
|
+
{
|
|
107562
|
+
"kind": "field",
|
|
107563
|
+
"name": "validationMessage",
|
|
107564
|
+
"type": {
|
|
107565
|
+
"text": "string"
|
|
107385
107566
|
},
|
|
107386
|
-
"
|
|
107567
|
+
"privacy": "public",
|
|
107568
|
+
"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.",
|
|
107569
|
+
"readonly": true,
|
|
107570
|
+
"inheritedFrom": {
|
|
107571
|
+
"name": "SbbFormAssociatedMixin",
|
|
107572
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107573
|
+
}
|
|
107574
|
+
},
|
|
107575
|
+
{
|
|
107576
|
+
"kind": "field",
|
|
107577
|
+
"name": "willValidate",
|
|
107578
|
+
"type": {
|
|
107579
|
+
"text": "boolean"
|
|
107580
|
+
},
|
|
107581
|
+
"privacy": "public",
|
|
107582
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
107583
|
+
"readonly": true,
|
|
107584
|
+
"inheritedFrom": {
|
|
107585
|
+
"name": "SbbFormAssociatedMixin",
|
|
107586
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107587
|
+
}
|
|
107588
|
+
},
|
|
107589
|
+
{
|
|
107590
|
+
"kind": "field",
|
|
107591
|
+
"name": "_validityStates",
|
|
107592
|
+
"privacy": "private",
|
|
107593
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
107387
107594
|
"inheritedFrom": {
|
|
107388
|
-
"name": "
|
|
107389
|
-
"module": "core/
|
|
107595
|
+
"name": "SbbFormAssociatedMixin",
|
|
107596
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107390
107597
|
}
|
|
107391
107598
|
},
|
|
107392
107599
|
{
|
|
107393
|
-
"kind": "
|
|
107394
|
-
"name": "
|
|
107395
|
-
"
|
|
107396
|
-
|
|
107397
|
-
"type": {
|
|
107398
|
-
"text": "void"
|
|
107399
|
-
}
|
|
107600
|
+
"kind": "field",
|
|
107601
|
+
"name": "formDisabled",
|
|
107602
|
+
"type": {
|
|
107603
|
+
"text": "boolean"
|
|
107400
107604
|
},
|
|
107401
|
-
"
|
|
107605
|
+
"privacy": "protected",
|
|
107606
|
+
"default": "false",
|
|
107607
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
107402
107608
|
"inheritedFrom": {
|
|
107403
|
-
"name": "
|
|
107404
|
-
"module": "core/
|
|
107609
|
+
"name": "SbbFormAssociatedMixin",
|
|
107610
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107405
107611
|
}
|
|
107406
107612
|
},
|
|
107407
107613
|
{
|
|
107408
107614
|
"kind": "method",
|
|
107409
|
-
"name": "
|
|
107615
|
+
"name": "checkValidity",
|
|
107410
107616
|
"privacy": "public",
|
|
107411
107617
|
"return": {
|
|
107412
107618
|
"type": {
|
|
107413
|
-
"text": "
|
|
107619
|
+
"text": "boolean"
|
|
107414
107620
|
}
|
|
107415
107621
|
},
|
|
107416
|
-
"description": "
|
|
107622
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
107417
107623
|
"inheritedFrom": {
|
|
107418
|
-
"name": "
|
|
107419
|
-
"module": "core/
|
|
107624
|
+
"name": "SbbFormAssociatedMixin",
|
|
107625
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107420
107626
|
}
|
|
107421
107627
|
},
|
|
107422
107628
|
{
|
|
107423
107629
|
"kind": "method",
|
|
107424
|
-
"name": "
|
|
107630
|
+
"name": "reportValidity",
|
|
107425
107631
|
"privacy": "public",
|
|
107426
107632
|
"return": {
|
|
107427
107633
|
"type": {
|
|
107428
|
-
"text": "
|
|
107634
|
+
"text": "boolean"
|
|
107429
107635
|
}
|
|
107430
107636
|
},
|
|
107431
|
-
"description": "
|
|
107637
|
+
"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.",
|
|
107638
|
+
"inheritedFrom": {
|
|
107639
|
+
"name": "SbbFormAssociatedMixin",
|
|
107640
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107641
|
+
}
|
|
107432
107642
|
},
|
|
107433
107643
|
{
|
|
107434
107644
|
"kind": "method",
|
|
107435
|
-
"name": "
|
|
107436
|
-
"privacy": "
|
|
107645
|
+
"name": "setCustomValidity",
|
|
107646
|
+
"privacy": "public",
|
|
107437
107647
|
"return": {
|
|
107438
107648
|
"type": {
|
|
107439
107649
|
"text": "void"
|
|
@@ -107441,47 +107651,65 @@
|
|
|
107441
107651
|
},
|
|
107442
107652
|
"parameters": [
|
|
107443
107653
|
{
|
|
107444
|
-
"name": "
|
|
107445
|
-
"
|
|
107446
|
-
|
|
107447
|
-
|
|
107654
|
+
"name": "message",
|
|
107655
|
+
"type": {
|
|
107656
|
+
"text": "string"
|
|
107657
|
+
}
|
|
107448
107658
|
}
|
|
107449
|
-
]
|
|
107659
|
+
],
|
|
107660
|
+
"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.",
|
|
107661
|
+
"inheritedFrom": {
|
|
107662
|
+
"name": "SbbFormAssociatedMixin",
|
|
107663
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107664
|
+
}
|
|
107450
107665
|
},
|
|
107451
107666
|
{
|
|
107452
107667
|
"kind": "method",
|
|
107453
|
-
"name": "
|
|
107668
|
+
"name": "_hasDisabledAncestor",
|
|
107454
107669
|
"privacy": "private",
|
|
107455
107670
|
"return": {
|
|
107456
107671
|
"type": {
|
|
107457
107672
|
"text": "boolean"
|
|
107458
107673
|
}
|
|
107674
|
+
},
|
|
107675
|
+
"inheritedFrom": {
|
|
107676
|
+
"name": "SbbFormAssociatedMixin",
|
|
107677
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107459
107678
|
}
|
|
107460
107679
|
},
|
|
107461
107680
|
{
|
|
107462
107681
|
"kind": "method",
|
|
107463
|
-
"name": "
|
|
107464
|
-
"privacy": "
|
|
107682
|
+
"name": "updateFormValue",
|
|
107683
|
+
"privacy": "protected",
|
|
107465
107684
|
"return": {
|
|
107466
107685
|
"type": {
|
|
107467
107686
|
"text": "void"
|
|
107468
107687
|
}
|
|
107688
|
+
},
|
|
107689
|
+
"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",
|
|
107690
|
+
"inheritedFrom": {
|
|
107691
|
+
"name": "SbbFormAssociatedMixin",
|
|
107692
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107469
107693
|
}
|
|
107470
107694
|
},
|
|
107471
107695
|
{
|
|
107472
107696
|
"kind": "method",
|
|
107473
|
-
"name": "
|
|
107474
|
-
"privacy": "
|
|
107697
|
+
"name": "formState",
|
|
107698
|
+
"privacy": "protected",
|
|
107475
107699
|
"return": {
|
|
107476
107700
|
"type": {
|
|
107477
|
-
"text": "
|
|
107701
|
+
"text": "FormRestoreState"
|
|
107478
107702
|
}
|
|
107703
|
+
},
|
|
107704
|
+
"inheritedFrom": {
|
|
107705
|
+
"name": "SbbFormAssociatedMixin",
|
|
107706
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107479
107707
|
}
|
|
107480
107708
|
},
|
|
107481
107709
|
{
|
|
107482
107710
|
"kind": "method",
|
|
107483
|
-
"name": "
|
|
107484
|
-
"privacy": "
|
|
107711
|
+
"name": "setValidityFlag",
|
|
107712
|
+
"privacy": "protected",
|
|
107485
107713
|
"return": {
|
|
107486
107714
|
"type": {
|
|
107487
107715
|
"text": "void"
|
|
@@ -107489,37 +107717,35 @@
|
|
|
107489
107717
|
},
|
|
107490
107718
|
"parameters": [
|
|
107491
107719
|
{
|
|
107492
|
-
"name": "
|
|
107720
|
+
"name": "flag",
|
|
107493
107721
|
"type": {
|
|
107494
|
-
"text": "
|
|
107722
|
+
"text": "T"
|
|
107723
|
+
}
|
|
107724
|
+
},
|
|
107725
|
+
{
|
|
107726
|
+
"name": "message",
|
|
107727
|
+
"type": {
|
|
107728
|
+
"text": "string"
|
|
107729
|
+
}
|
|
107730
|
+
},
|
|
107731
|
+
{
|
|
107732
|
+
"name": "flagValue",
|
|
107733
|
+
"optional": true,
|
|
107734
|
+
"type": {
|
|
107735
|
+
"text": "ValidityStateFlags[T]"
|
|
107495
107736
|
}
|
|
107496
107737
|
}
|
|
107497
|
-
]
|
|
107498
|
-
|
|
107499
|
-
|
|
107500
|
-
|
|
107501
|
-
|
|
107502
|
-
"privacy": "private",
|
|
107503
|
-
"return": {
|
|
107504
|
-
"type": {
|
|
107505
|
-
"text": "void"
|
|
107506
|
-
}
|
|
107507
|
-
}
|
|
107508
|
-
},
|
|
107509
|
-
{
|
|
107510
|
-
"kind": "method",
|
|
107511
|
-
"name": "_attachWindowEvents",
|
|
107512
|
-
"privacy": "private",
|
|
107513
|
-
"return": {
|
|
107514
|
-
"type": {
|
|
107515
|
-
"text": "void"
|
|
107516
|
-
}
|
|
107738
|
+
],
|
|
107739
|
+
"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).",
|
|
107740
|
+
"inheritedFrom": {
|
|
107741
|
+
"name": "SbbFormAssociatedMixin",
|
|
107742
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107517
107743
|
}
|
|
107518
107744
|
},
|
|
107519
107745
|
{
|
|
107520
107746
|
"kind": "method",
|
|
107521
|
-
"name": "
|
|
107522
|
-
"privacy": "
|
|
107747
|
+
"name": "removeValidityFlag",
|
|
107748
|
+
"privacy": "protected",
|
|
107523
107749
|
"return": {
|
|
107524
107750
|
"type": {
|
|
107525
107751
|
"text": "void"
|
|
@@ -107527,250 +107753,158 @@
|
|
|
107527
107753
|
},
|
|
107528
107754
|
"parameters": [
|
|
107529
107755
|
{
|
|
107530
|
-
"name": "
|
|
107756
|
+
"name": "flag",
|
|
107531
107757
|
"type": {
|
|
107532
|
-
"text": "
|
|
107758
|
+
"text": "T"
|
|
107533
107759
|
}
|
|
107534
107760
|
}
|
|
107535
|
-
]
|
|
107536
|
-
|
|
107537
|
-
|
|
107538
|
-
|
|
107539
|
-
|
|
107540
|
-
"privacy": "private"
|
|
107541
|
-
},
|
|
107542
|
-
{
|
|
107543
|
-
"kind": "field",
|
|
107544
|
-
"name": "_closeOnBackdropClick",
|
|
107545
|
-
"privacy": "private"
|
|
107546
|
-
},
|
|
107547
|
-
{
|
|
107548
|
-
"kind": "method",
|
|
107549
|
-
"name": "_nestedMenus",
|
|
107550
|
-
"privacy": "private",
|
|
107551
|
-
"return": {
|
|
107552
|
-
"type": {
|
|
107553
|
-
"text": "SbbMenuElement[]"
|
|
107554
|
-
}
|
|
107555
|
-
},
|
|
107556
|
-
"description": "Converts the linked list into an array of SbbMenuElement."
|
|
107557
|
-
},
|
|
107558
|
-
{
|
|
107559
|
-
"kind": "method",
|
|
107560
|
-
"name": "_parentMenu",
|
|
107561
|
-
"privacy": "private",
|
|
107562
|
-
"return": {
|
|
107563
|
-
"type": {
|
|
107564
|
-
"text": "SbbMenuElement | null"
|
|
107565
|
-
}
|
|
107566
|
-
}
|
|
107567
|
-
},
|
|
107568
|
-
{
|
|
107569
|
-
"kind": "method",
|
|
107570
|
-
"name": "_mainMenu",
|
|
107571
|
-
"privacy": "private",
|
|
107572
|
-
"return": {
|
|
107573
|
-
"type": {
|
|
107574
|
-
"text": "SbbMenuElement"
|
|
107575
|
-
}
|
|
107576
|
-
},
|
|
107577
|
-
"description": "The outermost menu."
|
|
107578
|
-
},
|
|
107579
|
-
{
|
|
107580
|
-
"kind": "method",
|
|
107581
|
-
"name": "_isNested",
|
|
107582
|
-
"privacy": "private",
|
|
107583
|
-
"return": {
|
|
107584
|
-
"type": {
|
|
107585
|
-
"text": "boolean"
|
|
107586
|
-
}
|
|
107587
|
-
}
|
|
107588
|
-
},
|
|
107589
|
-
{
|
|
107590
|
-
"kind": "method",
|
|
107591
|
-
"name": "_updateNestedInert",
|
|
107592
|
-
"privacy": "private",
|
|
107593
|
-
"return": {
|
|
107594
|
-
"type": {
|
|
107595
|
-
"text": "void"
|
|
107596
|
-
}
|
|
107761
|
+
],
|
|
107762
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
107763
|
+
"inheritedFrom": {
|
|
107764
|
+
"name": "SbbFormAssociatedMixin",
|
|
107765
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107597
107766
|
}
|
|
107598
107767
|
},
|
|
107599
107768
|
{
|
|
107600
107769
|
"kind": "method",
|
|
107601
|
-
"name": "
|
|
107602
|
-
"privacy": "
|
|
107770
|
+
"name": "validate",
|
|
107771
|
+
"privacy": "protected",
|
|
107603
107772
|
"return": {
|
|
107604
107773
|
"type": {
|
|
107605
107774
|
"text": "void"
|
|
107606
107775
|
}
|
|
107607
107776
|
},
|
|
107608
|
-
"
|
|
107609
|
-
|
|
107610
|
-
|
|
107611
|
-
|
|
107612
|
-
|
|
107613
|
-
}
|
|
107614
|
-
}
|
|
107615
|
-
]
|
|
107777
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
107778
|
+
"inheritedFrom": {
|
|
107779
|
+
"name": "SbbFormAssociatedMixin",
|
|
107780
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107781
|
+
}
|
|
107616
107782
|
},
|
|
107617
107783
|
{
|
|
107618
107784
|
"kind": "method",
|
|
107619
|
-
"name": "
|
|
107620
|
-
"privacy": "
|
|
107785
|
+
"name": "shouldValidate",
|
|
107786
|
+
"privacy": "protected",
|
|
107621
107787
|
"return": {
|
|
107622
107788
|
"type": {
|
|
107623
|
-
"text": "
|
|
107789
|
+
"text": "boolean"
|
|
107624
107790
|
}
|
|
107625
107791
|
},
|
|
107626
107792
|
"parameters": [
|
|
107627
107793
|
{
|
|
107628
|
-
"name": "
|
|
107794
|
+
"name": "name",
|
|
107629
107795
|
"type": {
|
|
107630
|
-
"text": "
|
|
107796
|
+
"text": "PropertyKey | undefined"
|
|
107631
107797
|
}
|
|
107632
107798
|
}
|
|
107633
|
-
]
|
|
107634
|
-
|
|
107635
|
-
|
|
107636
|
-
|
|
107637
|
-
|
|
107638
|
-
"privacy": "private",
|
|
107639
|
-
"return": {
|
|
107640
|
-
"type": {
|
|
107641
|
-
"text": "void"
|
|
107642
|
-
}
|
|
107799
|
+
],
|
|
107800
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
107801
|
+
"inheritedFrom": {
|
|
107802
|
+
"name": "SbbFormAssociatedMixin",
|
|
107803
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107643
107804
|
}
|
|
107644
107805
|
},
|
|
107645
107806
|
{
|
|
107646
107807
|
"kind": "method",
|
|
107647
|
-
"name": "
|
|
107808
|
+
"name": "_setInternalValidity",
|
|
107648
107809
|
"privacy": "private",
|
|
107649
107810
|
"return": {
|
|
107650
107811
|
"type": {
|
|
107651
107812
|
"text": "void"
|
|
107652
107813
|
}
|
|
107814
|
+
},
|
|
107815
|
+
"inheritedFrom": {
|
|
107816
|
+
"name": "SbbFormAssociatedMixin",
|
|
107817
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107653
107818
|
}
|
|
107654
107819
|
},
|
|
107655
107820
|
{
|
|
107656
|
-
"kind": "
|
|
107657
|
-
"name": "
|
|
107821
|
+
"kind": "field",
|
|
107822
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
107658
107823
|
"privacy": "private",
|
|
107659
|
-
"
|
|
107660
|
-
|
|
107661
|
-
|
|
107824
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
107825
|
+
"parameters": [
|
|
107826
|
+
{
|
|
107827
|
+
"description": "The origin event.",
|
|
107828
|
+
"name": "event"
|
|
107662
107829
|
}
|
|
107830
|
+
],
|
|
107831
|
+
"inheritedFrom": {
|
|
107832
|
+
"name": "SbbButtonLikeBaseElement",
|
|
107833
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107663
107834
|
}
|
|
107664
107835
|
},
|
|
107665
107836
|
{
|
|
107666
107837
|
"kind": "field",
|
|
107667
|
-
"name": "
|
|
107668
|
-
"privacy": "
|
|
107669
|
-
"static": true,
|
|
107670
|
-
"readonly": true,
|
|
107671
|
-
"default": "{ beforeopen: 'beforeopen', open: 'open', beforeclose: 'beforeclose', close: 'close', }",
|
|
107672
|
-
"type": {
|
|
107673
|
-
"text": "{\n beforeopen: 'beforeopen',\n open: 'open',\n beforeclose: 'beforeclose',\n close: 'close',\n }"
|
|
107674
|
-
},
|
|
107838
|
+
"name": "_removeActiveMarker",
|
|
107839
|
+
"privacy": "private",
|
|
107675
107840
|
"inheritedFrom": {
|
|
107676
|
-
"name": "
|
|
107677
|
-
"module": "core/base-elements/
|
|
107841
|
+
"name": "SbbButtonLikeBaseElement",
|
|
107842
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107678
107843
|
}
|
|
107679
107844
|
},
|
|
107680
107845
|
{
|
|
107681
107846
|
"kind": "field",
|
|
107682
|
-
"name": "
|
|
107683
|
-
"privacy": "
|
|
107684
|
-
"description": "
|
|
107685
|
-
"
|
|
107686
|
-
|
|
107687
|
-
|
|
107688
|
-
|
|
107847
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
107848
|
+
"privacy": "private",
|
|
107849
|
+
"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.",
|
|
107850
|
+
"parameters": [
|
|
107851
|
+
{
|
|
107852
|
+
"description": "The origin event.",
|
|
107853
|
+
"name": "event"
|
|
107854
|
+
}
|
|
107855
|
+
],
|
|
107689
107856
|
"inheritedFrom": {
|
|
107690
|
-
"name": "
|
|
107691
|
-
"module": "core/base-elements/
|
|
107857
|
+
"name": "SbbButtonLikeBaseElement",
|
|
107858
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107692
107859
|
}
|
|
107693
107860
|
},
|
|
107694
107861
|
{
|
|
107695
107862
|
"kind": "field",
|
|
107696
|
-
"name": "
|
|
107697
|
-
"type": {
|
|
107698
|
-
"text": "SbbOpenedClosedState"
|
|
107699
|
-
},
|
|
107863
|
+
"name": "_dispatchClickEvent",
|
|
107700
107864
|
"privacy": "private",
|
|
107701
107865
|
"inheritedFrom": {
|
|
107702
|
-
"name": "
|
|
107703
|
-
"module": "core/base-elements/
|
|
107866
|
+
"name": "SbbButtonLikeBaseElement",
|
|
107867
|
+
"module": "core/base-elements/button-base-element.js"
|
|
107704
107868
|
}
|
|
107705
107869
|
},
|
|
107706
107870
|
{
|
|
107707
107871
|
"kind": "field",
|
|
107708
|
-
"name": "
|
|
107872
|
+
"name": "maybeDisabled",
|
|
107709
107873
|
"type": {
|
|
107710
|
-
"text": "boolean"
|
|
107874
|
+
"text": "boolean | undefined"
|
|
107711
107875
|
},
|
|
107712
|
-
"privacy": "public",
|
|
107713
|
-
"description": "Whether the element is open.",
|
|
107714
|
-
"readonly": true,
|
|
107715
|
-
"inheritedFrom": {
|
|
107716
|
-
"name": "SbbOpenCloseBaseElement",
|
|
107717
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
107718
|
-
}
|
|
107719
|
-
},
|
|
107720
|
-
{
|
|
107721
|
-
"kind": "method",
|
|
107722
|
-
"name": "dispatchBeforeOpenEvent",
|
|
107723
107876
|
"privacy": "protected",
|
|
107724
|
-
"
|
|
107725
|
-
"type": {
|
|
107726
|
-
"text": "boolean"
|
|
107727
|
-
}
|
|
107728
|
-
},
|
|
107877
|
+
"readonly": true,
|
|
107729
107878
|
"inheritedFrom": {
|
|
107730
|
-
"name": "
|
|
107731
|
-
"module": "core/base-elements/
|
|
107879
|
+
"name": "SbbActionBaseElement",
|
|
107880
|
+
"module": "core/base-elements/action-base-element.js"
|
|
107732
107881
|
}
|
|
107733
107882
|
},
|
|
107734
107883
|
{
|
|
107735
|
-
"kind": "
|
|
107736
|
-
"name": "
|
|
107737
|
-
"
|
|
107738
|
-
|
|
107739
|
-
"type": {
|
|
107740
|
-
"text": "boolean"
|
|
107741
|
-
}
|
|
107884
|
+
"kind": "field",
|
|
107885
|
+
"name": "maybeDisabledInteractive",
|
|
107886
|
+
"type": {
|
|
107887
|
+
"text": "boolean | undefined"
|
|
107742
107888
|
},
|
|
107743
|
-
"inheritedFrom": {
|
|
107744
|
-
"name": "SbbOpenCloseBaseElement",
|
|
107745
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
107746
|
-
}
|
|
107747
|
-
},
|
|
107748
|
-
{
|
|
107749
|
-
"kind": "method",
|
|
107750
|
-
"name": "dispatchBeforeCloseEvent",
|
|
107751
107889
|
"privacy": "protected",
|
|
107752
|
-
"
|
|
107753
|
-
"type": {
|
|
107754
|
-
"text": "boolean"
|
|
107755
|
-
}
|
|
107756
|
-
},
|
|
107890
|
+
"readonly": true,
|
|
107757
107891
|
"inheritedFrom": {
|
|
107758
|
-
"name": "
|
|
107759
|
-
"module": "core/base-elements/
|
|
107892
|
+
"name": "SbbActionBaseElement",
|
|
107893
|
+
"module": "core/base-elements/action-base-element.js"
|
|
107760
107894
|
}
|
|
107761
107895
|
},
|
|
107762
107896
|
{
|
|
107763
107897
|
"kind": "method",
|
|
107764
|
-
"name": "
|
|
107898
|
+
"name": "setupBaseEventHandlers",
|
|
107765
107899
|
"privacy": "protected",
|
|
107766
107900
|
"return": {
|
|
107767
107901
|
"type": {
|
|
107768
|
-
"text": "
|
|
107902
|
+
"text": "void"
|
|
107769
107903
|
}
|
|
107770
107904
|
},
|
|
107771
107905
|
"inheritedFrom": {
|
|
107772
|
-
"name": "
|
|
107773
|
-
"module": "core/base-elements/
|
|
107906
|
+
"name": "SbbActionBaseElement",
|
|
107907
|
+
"module": "core/base-elements/action-base-element.js"
|
|
107774
107908
|
}
|
|
107775
107909
|
},
|
|
107776
107910
|
{
|
|
@@ -107879,66 +108013,110 @@
|
|
|
107879
108013
|
}
|
|
107880
108014
|
}
|
|
107881
108015
|
],
|
|
107882
|
-
"
|
|
108016
|
+
"mixins": [
|
|
107883
108017
|
{
|
|
107884
|
-
"name": "
|
|
107885
|
-
"
|
|
107886
|
-
|
|
107887
|
-
|
|
107888
|
-
"
|
|
107889
|
-
"
|
|
107890
|
-
"fieldName": "trigger"
|
|
108018
|
+
"name": "SbbDisabledTabIndexActionMixin",
|
|
108019
|
+
"module": "core/mixins.js"
|
|
108020
|
+
},
|
|
108021
|
+
{
|
|
108022
|
+
"name": "SbbMenuActionCommonElementMixin",
|
|
108023
|
+
"module": "menu/common/menu-action-common.js"
|
|
107891
108024
|
}
|
|
107892
108025
|
],
|
|
107893
108026
|
"superclass": {
|
|
107894
|
-
"name": "
|
|
108027
|
+
"name": "SbbButtonBaseElement",
|
|
107895
108028
|
"module": "core/base-elements.js"
|
|
107896
108029
|
},
|
|
107897
|
-
"tagName": "sbb-menu",
|
|
108030
|
+
"tagName": "sbb-menu-button",
|
|
107898
108031
|
"customElement": true,
|
|
107899
|
-
"
|
|
108032
|
+
"attributes": [
|
|
107900
108033
|
{
|
|
107901
|
-
"name": "
|
|
108034
|
+
"name": "disabled-interactive",
|
|
107902
108035
|
"type": {
|
|
107903
|
-
"text": "
|
|
108036
|
+
"text": "boolean"
|
|
107904
108037
|
},
|
|
107905
|
-
"
|
|
108038
|
+
"default": "false",
|
|
108039
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
108040
|
+
"fieldName": "disabledInteractive",
|
|
107906
108041
|
"inheritedFrom": {
|
|
107907
|
-
"name": "
|
|
107908
|
-
"module": "core/
|
|
108042
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
108043
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
107909
108044
|
}
|
|
107910
108045
|
},
|
|
107911
108046
|
{
|
|
107912
|
-
"name": "
|
|
108047
|
+
"name": "disabled",
|
|
108048
|
+
"description": "Whether the component is disabled.",
|
|
108049
|
+
"default": "false",
|
|
107913
108050
|
"type": {
|
|
107914
|
-
"text": "
|
|
108051
|
+
"text": "boolean"
|
|
107915
108052
|
},
|
|
107916
|
-
"
|
|
108053
|
+
"fieldName": "disabled",
|
|
107917
108054
|
"inheritedFrom": {
|
|
107918
|
-
"name": "
|
|
107919
|
-
"module": "core/
|
|
108055
|
+
"name": "SbbDisabledMixin",
|
|
108056
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
107920
108057
|
}
|
|
107921
108058
|
},
|
|
107922
108059
|
{
|
|
107923
|
-
"name": "
|
|
108060
|
+
"name": "icon-name",
|
|
107924
108061
|
"type": {
|
|
107925
|
-
"text": "
|
|
108062
|
+
"text": "string"
|
|
107926
108063
|
},
|
|
107927
|
-
"
|
|
108064
|
+
"default": "''",
|
|
108065
|
+
"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.",
|
|
108066
|
+
"fieldName": "iconName",
|
|
107928
108067
|
"inheritedFrom": {
|
|
107929
|
-
"name": "
|
|
107930
|
-
"module": "
|
|
108068
|
+
"name": "SbbIconNameMixin",
|
|
108069
|
+
"module": "icon/icon-name-mixin.js"
|
|
107931
108070
|
}
|
|
107932
108071
|
},
|
|
107933
108072
|
{
|
|
107934
|
-
"name": "
|
|
108073
|
+
"name": "value",
|
|
107935
108074
|
"type": {
|
|
107936
|
-
"text": "
|
|
108075
|
+
"text": "string"
|
|
107937
108076
|
},
|
|
107938
|
-
"
|
|
108077
|
+
"default": "''",
|
|
108078
|
+
"description": "Value of the form element.",
|
|
108079
|
+
"fieldName": "value",
|
|
107939
108080
|
"inheritedFrom": {
|
|
107940
|
-
"name": "
|
|
107941
|
-
"module": "core/base-elements/
|
|
108081
|
+
"name": "SbbButtonBaseElement",
|
|
108082
|
+
"module": "core/base-elements/button-base-element.js"
|
|
108083
|
+
}
|
|
108084
|
+
},
|
|
108085
|
+
{
|
|
108086
|
+
"name": "type",
|
|
108087
|
+
"description": "The type attribute to use for the button.",
|
|
108088
|
+
"default": "'button'",
|
|
108089
|
+
"type": {
|
|
108090
|
+
"text": "SbbButtonType"
|
|
108091
|
+
},
|
|
108092
|
+
"fieldName": "type",
|
|
108093
|
+
"inheritedFrom": {
|
|
108094
|
+
"name": "SbbButtonBaseElement",
|
|
108095
|
+
"module": "core/base-elements/button-base-element.js"
|
|
108096
|
+
}
|
|
108097
|
+
},
|
|
108098
|
+
{
|
|
108099
|
+
"name": "form",
|
|
108100
|
+
"description": "The `<form>` element to associate the button with.",
|
|
108101
|
+
"type": {
|
|
108102
|
+
"text": "HTMLFormElement | null"
|
|
108103
|
+
},
|
|
108104
|
+
"fieldName": "form",
|
|
108105
|
+
"inheritedFrom": {
|
|
108106
|
+
"name": "SbbButtonBaseElement",
|
|
108107
|
+
"module": "core/base-elements/button-base-element.js"
|
|
108108
|
+
}
|
|
108109
|
+
},
|
|
108110
|
+
{
|
|
108111
|
+
"name": "name",
|
|
108112
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
108113
|
+
"type": {
|
|
108114
|
+
"text": "string"
|
|
108115
|
+
},
|
|
108116
|
+
"fieldName": "name",
|
|
108117
|
+
"inheritedFrom": {
|
|
108118
|
+
"name": "SbbFormAssociatedMixin",
|
|
108119
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
107942
108120
|
}
|
|
107943
108121
|
}
|
|
107944
108122
|
]
|
|
@@ -107947,10 +108125,10 @@
|
|
|
107947
108125
|
"exports": [
|
|
107948
108126
|
{
|
|
107949
108127
|
"kind": "js",
|
|
107950
|
-
"name": "
|
|
108128
|
+
"name": "SbbMenuButtonElement",
|
|
107951
108129
|
"declaration": {
|
|
107952
|
-
"name": "
|
|
107953
|
-
"module": "menu/menu/menu.component.js"
|
|
108130
|
+
"name": "SbbMenuButtonElement",
|
|
108131
|
+
"module": "menu/menu-button/menu-button.component.js"
|
|
107954
108132
|
}
|
|
107955
108133
|
}
|
|
107956
108134
|
]
|
|
@@ -130874,6 +131052,22 @@
|
|
|
130874
131052
|
}
|
|
130875
131053
|
}
|
|
130876
131054
|
],
|
|
131055
|
+
"events": [
|
|
131056
|
+
{
|
|
131057
|
+
"type": {
|
|
131058
|
+
"text": "Event"
|
|
131059
|
+
},
|
|
131060
|
+
"description": "The change event is fired on the associated inputs when the user modifies the element's value. Unlike the input event, the change event is not necessarily fired for each alteration to an element's value.",
|
|
131061
|
+
"name": "change"
|
|
131062
|
+
},
|
|
131063
|
+
{
|
|
131064
|
+
"type": {
|
|
131065
|
+
"text": "InputEvent"
|
|
131066
|
+
},
|
|
131067
|
+
"description": "The input event fires on the associated inputs when the value has been changed as a direct result of a user action.",
|
|
131068
|
+
"name": "input"
|
|
131069
|
+
}
|
|
131070
|
+
],
|
|
130877
131071
|
"superclass": {
|
|
130878
131072
|
"name": "SbbSecondaryButtonElement",
|
|
130879
131073
|
"module": "button.pure.js"
|
|
@@ -132154,6 +132348,15 @@
|
|
|
132154
132348
|
}
|
|
132155
132349
|
}
|
|
132156
132350
|
],
|
|
132351
|
+
"events": [
|
|
132352
|
+
{
|
|
132353
|
+
"type": {
|
|
132354
|
+
"text": "InputEvent"
|
|
132355
|
+
},
|
|
132356
|
+
"description": "The input event fires when the value has been changed as a direct result of a user action.",
|
|
132357
|
+
"name": "input"
|
|
132358
|
+
}
|
|
132359
|
+
],
|
|
132157
132360
|
"attributes": [
|
|
132158
132361
|
{
|
|
132159
132362
|
"name": "checked",
|