@sbb-esta/lyne-elements-dev 4.13.0-dev.1778821584 → 4.13.0-dev.1778852796
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 +970 -970
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -77919,26 +77919,6 @@
|
|
|
77919
77919
|
}
|
|
77920
77920
|
]
|
|
77921
77921
|
},
|
|
77922
|
-
{
|
|
77923
|
-
"kind": "javascript-module",
|
|
77924
|
-
"path": "core/styles/styles.js",
|
|
77925
|
-
"declarations": [
|
|
77926
|
-
{
|
|
77927
|
-
"kind": "variable",
|
|
77928
|
-
"name": "boxSizingStyles"
|
|
77929
|
-
}
|
|
77930
|
-
],
|
|
77931
|
-
"exports": [
|
|
77932
|
-
{
|
|
77933
|
-
"kind": "js",
|
|
77934
|
-
"name": "boxSizingStyles",
|
|
77935
|
-
"declaration": {
|
|
77936
|
-
"name": "boxSizingStyles",
|
|
77937
|
-
"module": "core/styles/styles.js"
|
|
77938
|
-
}
|
|
77939
|
-
}
|
|
77940
|
-
]
|
|
77941
|
-
},
|
|
77942
77922
|
{
|
|
77943
77923
|
"kind": "javascript-module",
|
|
77944
77924
|
"path": "core/testing/event-spy.js",
|
|
@@ -78336,6 +78316,26 @@
|
|
|
78336
78316
|
}
|
|
78337
78317
|
]
|
|
78338
78318
|
},
|
|
78319
|
+
{
|
|
78320
|
+
"kind": "javascript-module",
|
|
78321
|
+
"path": "core/styles/styles.js",
|
|
78322
|
+
"declarations": [
|
|
78323
|
+
{
|
|
78324
|
+
"kind": "variable",
|
|
78325
|
+
"name": "boxSizingStyles"
|
|
78326
|
+
}
|
|
78327
|
+
],
|
|
78328
|
+
"exports": [
|
|
78329
|
+
{
|
|
78330
|
+
"kind": "js",
|
|
78331
|
+
"name": "boxSizingStyles",
|
|
78332
|
+
"declaration": {
|
|
78333
|
+
"name": "boxSizingStyles",
|
|
78334
|
+
"module": "core/styles/styles.js"
|
|
78335
|
+
}
|
|
78336
|
+
}
|
|
78337
|
+
]
|
|
78338
|
+
},
|
|
78339
78339
|
{
|
|
78340
78340
|
"kind": "javascript-module",
|
|
78341
78341
|
"path": "datepicker/common/datepicker-button.js",
|
|
@@ -109983,224 +109983,6 @@
|
|
|
109983
109983
|
}
|
|
109984
109984
|
]
|
|
109985
109985
|
},
|
|
109986
|
-
{
|
|
109987
|
-
"kind": "javascript-module",
|
|
109988
|
-
"path": "mini-calendar/mini-calendar-month/mini-calendar-month.component.js",
|
|
109989
|
-
"declarations": [
|
|
109990
|
-
{
|
|
109991
|
-
"kind": "class",
|
|
109992
|
-
"description": "It displays a month in the `sbb-mini-calendar`.",
|
|
109993
|
-
"name": "SbbMiniCalendarMonthElement",
|
|
109994
|
-
"slots": [
|
|
109995
|
-
{
|
|
109996
|
-
"description": "Use the unnamed slot to add `sbb-mini-calendar-day` elements.",
|
|
109997
|
-
"name": ""
|
|
109998
|
-
}
|
|
109999
|
-
],
|
|
110000
|
-
"members": [
|
|
110001
|
-
{
|
|
110002
|
-
"kind": "field",
|
|
110003
|
-
"name": "elementName",
|
|
110004
|
-
"type": {
|
|
110005
|
-
"text": "string"
|
|
110006
|
-
},
|
|
110007
|
-
"privacy": "public",
|
|
110008
|
-
"static": true,
|
|
110009
|
-
"readonly": true,
|
|
110010
|
-
"default": "'sbb-mini-calendar-month'",
|
|
110011
|
-
"inheritedFrom": {
|
|
110012
|
-
"name": "SbbElement",
|
|
110013
|
-
"module": "core/base-elements/element.js"
|
|
110014
|
-
}
|
|
110015
|
-
},
|
|
110016
|
-
{
|
|
110017
|
-
"kind": "field",
|
|
110018
|
-
"name": "date",
|
|
110019
|
-
"type": {
|
|
110020
|
-
"text": "string"
|
|
110021
|
-
},
|
|
110022
|
-
"privacy": "public",
|
|
110023
|
-
"default": "''",
|
|
110024
|
-
"description": "Date as ISO string (YYYY-MM)",
|
|
110025
|
-
"attribute": "date"
|
|
110026
|
-
},
|
|
110027
|
-
{
|
|
110028
|
-
"kind": "field",
|
|
110029
|
-
"name": "_dateAdapter",
|
|
110030
|
-
"type": {
|
|
110031
|
-
"text": "DateAdapter<T>"
|
|
110032
|
-
},
|
|
110033
|
-
"privacy": "private"
|
|
110034
|
-
},
|
|
110035
|
-
{
|
|
110036
|
-
"kind": "field",
|
|
110037
|
-
"name": "_monthNames",
|
|
110038
|
-
"privacy": "private"
|
|
110039
|
-
},
|
|
110040
|
-
{
|
|
110041
|
-
"kind": "field",
|
|
110042
|
-
"name": "_monthLabel",
|
|
110043
|
-
"type": {
|
|
110044
|
-
"text": "string | null"
|
|
110045
|
-
},
|
|
110046
|
-
"privacy": "private",
|
|
110047
|
-
"default": "null"
|
|
110048
|
-
},
|
|
110049
|
-
{
|
|
110050
|
-
"kind": "field",
|
|
110051
|
-
"name": "_yearLabel",
|
|
110052
|
-
"type": {
|
|
110053
|
-
"text": "string | null"
|
|
110054
|
-
},
|
|
110055
|
-
"privacy": "private",
|
|
110056
|
-
"default": "null"
|
|
110057
|
-
},
|
|
110058
|
-
{
|
|
110059
|
-
"kind": "field",
|
|
110060
|
-
"name": "_previousOrientation",
|
|
110061
|
-
"type": {
|
|
110062
|
-
"text": "SbbOrientation | null"
|
|
110063
|
-
},
|
|
110064
|
-
"privacy": "private",
|
|
110065
|
-
"default": "null"
|
|
110066
|
-
},
|
|
110067
|
-
{
|
|
110068
|
-
"kind": "field",
|
|
110069
|
-
"name": "_hydrationRequired",
|
|
110070
|
-
"type": {
|
|
110071
|
-
"text": "boolean"
|
|
110072
|
-
},
|
|
110073
|
-
"privacy": "private",
|
|
110074
|
-
"default": "!!this.shadowRoot",
|
|
110075
|
-
"inheritedFrom": {
|
|
110076
|
-
"name": "SbbElement",
|
|
110077
|
-
"module": "core/base-elements/element.js"
|
|
110078
|
-
}
|
|
110079
|
-
},
|
|
110080
|
-
{
|
|
110081
|
-
"kind": "field",
|
|
110082
|
-
"name": "_hydrationComplete",
|
|
110083
|
-
"privacy": "private",
|
|
110084
|
-
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
110085
|
-
"inheritedFrom": {
|
|
110086
|
-
"name": "SbbElement",
|
|
110087
|
-
"module": "core/base-elements/element.js"
|
|
110088
|
-
}
|
|
110089
|
-
},
|
|
110090
|
-
{
|
|
110091
|
-
"kind": "field",
|
|
110092
|
-
"name": "_resolveHydration",
|
|
110093
|
-
"type": {
|
|
110094
|
-
"text": "(hydrationRequired: boolean) => void"
|
|
110095
|
-
},
|
|
110096
|
-
"privacy": "private",
|
|
110097
|
-
"inheritedFrom": {
|
|
110098
|
-
"name": "SbbElement",
|
|
110099
|
-
"module": "core/base-elements/element.js"
|
|
110100
|
-
}
|
|
110101
|
-
},
|
|
110102
|
-
{
|
|
110103
|
-
"kind": "field",
|
|
110104
|
-
"name": "hydrationRequired",
|
|
110105
|
-
"type": {
|
|
110106
|
-
"text": "boolean"
|
|
110107
|
-
},
|
|
110108
|
-
"privacy": "protected",
|
|
110109
|
-
"description": "Returns whether hydration is required and not completed.",
|
|
110110
|
-
"readonly": true,
|
|
110111
|
-
"inheritedFrom": {
|
|
110112
|
-
"name": "SbbElement",
|
|
110113
|
-
"module": "core/base-elements/element.js"
|
|
110114
|
-
},
|
|
110115
|
-
"default": "!!this.shadowRoot"
|
|
110116
|
-
},
|
|
110117
|
-
{
|
|
110118
|
-
"kind": "method",
|
|
110119
|
-
"name": "toggleState",
|
|
110120
|
-
"privacy": "protected",
|
|
110121
|
-
"return": {
|
|
110122
|
-
"type": {
|
|
110123
|
-
"text": "void"
|
|
110124
|
-
}
|
|
110125
|
-
},
|
|
110126
|
-
"parameters": [
|
|
110127
|
-
{
|
|
110128
|
-
"name": "value",
|
|
110129
|
-
"type": {
|
|
110130
|
-
"text": "string"
|
|
110131
|
-
}
|
|
110132
|
-
},
|
|
110133
|
-
{
|
|
110134
|
-
"name": "force",
|
|
110135
|
-
"optional": true,
|
|
110136
|
-
"type": {
|
|
110137
|
-
"text": "boolean"
|
|
110138
|
-
}
|
|
110139
|
-
}
|
|
110140
|
-
],
|
|
110141
|
-
"inheritedFrom": {
|
|
110142
|
-
"name": "SbbElement",
|
|
110143
|
-
"module": "core/base-elements/element.js"
|
|
110144
|
-
}
|
|
110145
|
-
},
|
|
110146
|
-
{
|
|
110147
|
-
"kind": "field",
|
|
110148
|
-
"name": "['_$sbbElement$']",
|
|
110149
|
-
"type": {
|
|
110150
|
-
"text": "boolean"
|
|
110151
|
-
},
|
|
110152
|
-
"privacy": "public",
|
|
110153
|
-
"static": true,
|
|
110154
|
-
"default": "true",
|
|
110155
|
-
"inheritedFrom": {
|
|
110156
|
-
"name": "SbbElement",
|
|
110157
|
-
"module": "core/base-elements/element.js"
|
|
110158
|
-
}
|
|
110159
|
-
},
|
|
110160
|
-
{
|
|
110161
|
-
"kind": "field",
|
|
110162
|
-
"name": "_controllers",
|
|
110163
|
-
"type": {
|
|
110164
|
-
"text": "Set<SbbReactiveController> | undefined"
|
|
110165
|
-
},
|
|
110166
|
-
"privacy": "private",
|
|
110167
|
-
"inheritedFrom": {
|
|
110168
|
-
"name": "SbbElement",
|
|
110169
|
-
"module": "core/base-elements/element.js"
|
|
110170
|
-
}
|
|
110171
|
-
}
|
|
110172
|
-
],
|
|
110173
|
-
"attributes": [
|
|
110174
|
-
{
|
|
110175
|
-
"name": "date",
|
|
110176
|
-
"type": {
|
|
110177
|
-
"text": "string"
|
|
110178
|
-
},
|
|
110179
|
-
"default": "''",
|
|
110180
|
-
"description": "Date as ISO string (YYYY-MM)",
|
|
110181
|
-
"fieldName": "date"
|
|
110182
|
-
}
|
|
110183
|
-
],
|
|
110184
|
-
"superclass": {
|
|
110185
|
-
"name": "SbbElement",
|
|
110186
|
-
"module": "core/base-elements.js"
|
|
110187
|
-
},
|
|
110188
|
-
"tagName": "sbb-mini-calendar-month",
|
|
110189
|
-
"customElement": true,
|
|
110190
|
-
"classGenerics": "T = Date"
|
|
110191
|
-
}
|
|
110192
|
-
],
|
|
110193
|
-
"exports": [
|
|
110194
|
-
{
|
|
110195
|
-
"kind": "js",
|
|
110196
|
-
"name": "SbbMiniCalendarMonthElement",
|
|
110197
|
-
"declaration": {
|
|
110198
|
-
"name": "SbbMiniCalendarMonthElement",
|
|
110199
|
-
"module": "mini-calendar/mini-calendar-month/mini-calendar-month.component.js"
|
|
110200
|
-
}
|
|
110201
|
-
}
|
|
110202
|
-
]
|
|
110203
|
-
},
|
|
110204
109986
|
{
|
|
110205
109987
|
"kind": "javascript-module",
|
|
110206
109988
|
"path": "navigation/common/navigation-action-common.js",
|
|
@@ -110371,6 +110153,224 @@
|
|
|
110371
110153
|
}
|
|
110372
110154
|
]
|
|
110373
110155
|
},
|
|
110156
|
+
{
|
|
110157
|
+
"kind": "javascript-module",
|
|
110158
|
+
"path": "mini-calendar/mini-calendar-month/mini-calendar-month.component.js",
|
|
110159
|
+
"declarations": [
|
|
110160
|
+
{
|
|
110161
|
+
"kind": "class",
|
|
110162
|
+
"description": "It displays a month in the `sbb-mini-calendar`.",
|
|
110163
|
+
"name": "SbbMiniCalendarMonthElement",
|
|
110164
|
+
"slots": [
|
|
110165
|
+
{
|
|
110166
|
+
"description": "Use the unnamed slot to add `sbb-mini-calendar-day` elements.",
|
|
110167
|
+
"name": ""
|
|
110168
|
+
}
|
|
110169
|
+
],
|
|
110170
|
+
"members": [
|
|
110171
|
+
{
|
|
110172
|
+
"kind": "field",
|
|
110173
|
+
"name": "elementName",
|
|
110174
|
+
"type": {
|
|
110175
|
+
"text": "string"
|
|
110176
|
+
},
|
|
110177
|
+
"privacy": "public",
|
|
110178
|
+
"static": true,
|
|
110179
|
+
"readonly": true,
|
|
110180
|
+
"default": "'sbb-mini-calendar-month'",
|
|
110181
|
+
"inheritedFrom": {
|
|
110182
|
+
"name": "SbbElement",
|
|
110183
|
+
"module": "core/base-elements/element.js"
|
|
110184
|
+
}
|
|
110185
|
+
},
|
|
110186
|
+
{
|
|
110187
|
+
"kind": "field",
|
|
110188
|
+
"name": "date",
|
|
110189
|
+
"type": {
|
|
110190
|
+
"text": "string"
|
|
110191
|
+
},
|
|
110192
|
+
"privacy": "public",
|
|
110193
|
+
"default": "''",
|
|
110194
|
+
"description": "Date as ISO string (YYYY-MM)",
|
|
110195
|
+
"attribute": "date"
|
|
110196
|
+
},
|
|
110197
|
+
{
|
|
110198
|
+
"kind": "field",
|
|
110199
|
+
"name": "_dateAdapter",
|
|
110200
|
+
"type": {
|
|
110201
|
+
"text": "DateAdapter<T>"
|
|
110202
|
+
},
|
|
110203
|
+
"privacy": "private"
|
|
110204
|
+
},
|
|
110205
|
+
{
|
|
110206
|
+
"kind": "field",
|
|
110207
|
+
"name": "_monthNames",
|
|
110208
|
+
"privacy": "private"
|
|
110209
|
+
},
|
|
110210
|
+
{
|
|
110211
|
+
"kind": "field",
|
|
110212
|
+
"name": "_monthLabel",
|
|
110213
|
+
"type": {
|
|
110214
|
+
"text": "string | null"
|
|
110215
|
+
},
|
|
110216
|
+
"privacy": "private",
|
|
110217
|
+
"default": "null"
|
|
110218
|
+
},
|
|
110219
|
+
{
|
|
110220
|
+
"kind": "field",
|
|
110221
|
+
"name": "_yearLabel",
|
|
110222
|
+
"type": {
|
|
110223
|
+
"text": "string | null"
|
|
110224
|
+
},
|
|
110225
|
+
"privacy": "private",
|
|
110226
|
+
"default": "null"
|
|
110227
|
+
},
|
|
110228
|
+
{
|
|
110229
|
+
"kind": "field",
|
|
110230
|
+
"name": "_previousOrientation",
|
|
110231
|
+
"type": {
|
|
110232
|
+
"text": "SbbOrientation | null"
|
|
110233
|
+
},
|
|
110234
|
+
"privacy": "private",
|
|
110235
|
+
"default": "null"
|
|
110236
|
+
},
|
|
110237
|
+
{
|
|
110238
|
+
"kind": "field",
|
|
110239
|
+
"name": "_hydrationRequired",
|
|
110240
|
+
"type": {
|
|
110241
|
+
"text": "boolean"
|
|
110242
|
+
},
|
|
110243
|
+
"privacy": "private",
|
|
110244
|
+
"default": "!!this.shadowRoot",
|
|
110245
|
+
"inheritedFrom": {
|
|
110246
|
+
"name": "SbbElement",
|
|
110247
|
+
"module": "core/base-elements/element.js"
|
|
110248
|
+
}
|
|
110249
|
+
},
|
|
110250
|
+
{
|
|
110251
|
+
"kind": "field",
|
|
110252
|
+
"name": "_hydrationComplete",
|
|
110253
|
+
"privacy": "private",
|
|
110254
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
110255
|
+
"inheritedFrom": {
|
|
110256
|
+
"name": "SbbElement",
|
|
110257
|
+
"module": "core/base-elements/element.js"
|
|
110258
|
+
}
|
|
110259
|
+
},
|
|
110260
|
+
{
|
|
110261
|
+
"kind": "field",
|
|
110262
|
+
"name": "_resolveHydration",
|
|
110263
|
+
"type": {
|
|
110264
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
110265
|
+
},
|
|
110266
|
+
"privacy": "private",
|
|
110267
|
+
"inheritedFrom": {
|
|
110268
|
+
"name": "SbbElement",
|
|
110269
|
+
"module": "core/base-elements/element.js"
|
|
110270
|
+
}
|
|
110271
|
+
},
|
|
110272
|
+
{
|
|
110273
|
+
"kind": "field",
|
|
110274
|
+
"name": "hydrationRequired",
|
|
110275
|
+
"type": {
|
|
110276
|
+
"text": "boolean"
|
|
110277
|
+
},
|
|
110278
|
+
"privacy": "protected",
|
|
110279
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
110280
|
+
"readonly": true,
|
|
110281
|
+
"inheritedFrom": {
|
|
110282
|
+
"name": "SbbElement",
|
|
110283
|
+
"module": "core/base-elements/element.js"
|
|
110284
|
+
},
|
|
110285
|
+
"default": "!!this.shadowRoot"
|
|
110286
|
+
},
|
|
110287
|
+
{
|
|
110288
|
+
"kind": "method",
|
|
110289
|
+
"name": "toggleState",
|
|
110290
|
+
"privacy": "protected",
|
|
110291
|
+
"return": {
|
|
110292
|
+
"type": {
|
|
110293
|
+
"text": "void"
|
|
110294
|
+
}
|
|
110295
|
+
},
|
|
110296
|
+
"parameters": [
|
|
110297
|
+
{
|
|
110298
|
+
"name": "value",
|
|
110299
|
+
"type": {
|
|
110300
|
+
"text": "string"
|
|
110301
|
+
}
|
|
110302
|
+
},
|
|
110303
|
+
{
|
|
110304
|
+
"name": "force",
|
|
110305
|
+
"optional": true,
|
|
110306
|
+
"type": {
|
|
110307
|
+
"text": "boolean"
|
|
110308
|
+
}
|
|
110309
|
+
}
|
|
110310
|
+
],
|
|
110311
|
+
"inheritedFrom": {
|
|
110312
|
+
"name": "SbbElement",
|
|
110313
|
+
"module": "core/base-elements/element.js"
|
|
110314
|
+
}
|
|
110315
|
+
},
|
|
110316
|
+
{
|
|
110317
|
+
"kind": "field",
|
|
110318
|
+
"name": "['_$sbbElement$']",
|
|
110319
|
+
"type": {
|
|
110320
|
+
"text": "boolean"
|
|
110321
|
+
},
|
|
110322
|
+
"privacy": "public",
|
|
110323
|
+
"static": true,
|
|
110324
|
+
"default": "true",
|
|
110325
|
+
"inheritedFrom": {
|
|
110326
|
+
"name": "SbbElement",
|
|
110327
|
+
"module": "core/base-elements/element.js"
|
|
110328
|
+
}
|
|
110329
|
+
},
|
|
110330
|
+
{
|
|
110331
|
+
"kind": "field",
|
|
110332
|
+
"name": "_controllers",
|
|
110333
|
+
"type": {
|
|
110334
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
110335
|
+
},
|
|
110336
|
+
"privacy": "private",
|
|
110337
|
+
"inheritedFrom": {
|
|
110338
|
+
"name": "SbbElement",
|
|
110339
|
+
"module": "core/base-elements/element.js"
|
|
110340
|
+
}
|
|
110341
|
+
}
|
|
110342
|
+
],
|
|
110343
|
+
"attributes": [
|
|
110344
|
+
{
|
|
110345
|
+
"name": "date",
|
|
110346
|
+
"type": {
|
|
110347
|
+
"text": "string"
|
|
110348
|
+
},
|
|
110349
|
+
"default": "''",
|
|
110350
|
+
"description": "Date as ISO string (YYYY-MM)",
|
|
110351
|
+
"fieldName": "date"
|
|
110352
|
+
}
|
|
110353
|
+
],
|
|
110354
|
+
"superclass": {
|
|
110355
|
+
"name": "SbbElement",
|
|
110356
|
+
"module": "core/base-elements.js"
|
|
110357
|
+
},
|
|
110358
|
+
"tagName": "sbb-mini-calendar-month",
|
|
110359
|
+
"customElement": true,
|
|
110360
|
+
"classGenerics": "T = Date"
|
|
110361
|
+
}
|
|
110362
|
+
],
|
|
110363
|
+
"exports": [
|
|
110364
|
+
{
|
|
110365
|
+
"kind": "js",
|
|
110366
|
+
"name": "SbbMiniCalendarMonthElement",
|
|
110367
|
+
"declaration": {
|
|
110368
|
+
"name": "SbbMiniCalendarMonthElement",
|
|
110369
|
+
"module": "mini-calendar/mini-calendar-month/mini-calendar-month.component.js"
|
|
110370
|
+
}
|
|
110371
|
+
}
|
|
110372
|
+
]
|
|
110373
|
+
},
|
|
110374
110374
|
{
|
|
110375
110375
|
"kind": "javascript-module",
|
|
110376
110376
|
"path": "navigation/navigation/navigation.component.js",
|
|
@@ -124081,6 +124081,261 @@
|
|
|
124081
124081
|
}
|
|
124082
124082
|
]
|
|
124083
124083
|
},
|
|
124084
|
+
{
|
|
124085
|
+
"kind": "javascript-module",
|
|
124086
|
+
"path": "table/table-wrapper/table-wrapper.component.js",
|
|
124087
|
+
"declarations": [
|
|
124088
|
+
{
|
|
124089
|
+
"kind": "class",
|
|
124090
|
+
"description": "Wraps a table to enhance its functionality.",
|
|
124091
|
+
"name": "SbbTableWrapperElement",
|
|
124092
|
+
"slots": [
|
|
124093
|
+
{
|
|
124094
|
+
"description": "Use the unnamed slot to add the table.",
|
|
124095
|
+
"name": ""
|
|
124096
|
+
}
|
|
124097
|
+
],
|
|
124098
|
+
"members": [
|
|
124099
|
+
{
|
|
124100
|
+
"kind": "field",
|
|
124101
|
+
"name": "elementName",
|
|
124102
|
+
"type": {
|
|
124103
|
+
"text": "string"
|
|
124104
|
+
},
|
|
124105
|
+
"privacy": "public",
|
|
124106
|
+
"static": true,
|
|
124107
|
+
"readonly": true,
|
|
124108
|
+
"default": "'sbb-table-wrapper'",
|
|
124109
|
+
"inheritedFrom": {
|
|
124110
|
+
"name": "SbbElement",
|
|
124111
|
+
"module": "core/base-elements/element.js"
|
|
124112
|
+
}
|
|
124113
|
+
},
|
|
124114
|
+
{
|
|
124115
|
+
"kind": "field",
|
|
124116
|
+
"name": "role",
|
|
124117
|
+
"type": {
|
|
124118
|
+
"text": "string"
|
|
124119
|
+
},
|
|
124120
|
+
"privacy": "public",
|
|
124121
|
+
"static": true,
|
|
124122
|
+
"readonly": true,
|
|
124123
|
+
"default": "'section'"
|
|
124124
|
+
},
|
|
124125
|
+
{
|
|
124126
|
+
"kind": "field",
|
|
124127
|
+
"name": "focusable",
|
|
124128
|
+
"type": {
|
|
124129
|
+
"text": "boolean"
|
|
124130
|
+
},
|
|
124131
|
+
"privacy": "public",
|
|
124132
|
+
"default": "false",
|
|
124133
|
+
"description": "Whether the table wrapper is focusable.",
|
|
124134
|
+
"attribute": "focusable",
|
|
124135
|
+
"reflects": true
|
|
124136
|
+
},
|
|
124137
|
+
{
|
|
124138
|
+
"kind": "method",
|
|
124139
|
+
"name": "_updateScrollbarClass",
|
|
124140
|
+
"privacy": "private",
|
|
124141
|
+
"return": {
|
|
124142
|
+
"type": {
|
|
124143
|
+
"text": "void"
|
|
124144
|
+
}
|
|
124145
|
+
}
|
|
124146
|
+
},
|
|
124147
|
+
{
|
|
124148
|
+
"kind": "method",
|
|
124149
|
+
"name": "_checkHorizontalScrollbarOffset",
|
|
124150
|
+
"privacy": "private",
|
|
124151
|
+
"return": {
|
|
124152
|
+
"type": {
|
|
124153
|
+
"text": "void"
|
|
124154
|
+
}
|
|
124155
|
+
},
|
|
124156
|
+
"description": "Calculates whether the table is horizontally scrolled and adds the\ncorresponding class `sbb-table-wrapper-offset-${none | left | right | both}`"
|
|
124157
|
+
},
|
|
124158
|
+
{
|
|
124159
|
+
"kind": "method",
|
|
124160
|
+
"name": "_calculateScrollOffset",
|
|
124161
|
+
"privacy": "private",
|
|
124162
|
+
"return": {
|
|
124163
|
+
"type": {
|
|
124164
|
+
"text": "'none' | 'left' | 'right' | 'both'"
|
|
124165
|
+
}
|
|
124166
|
+
}
|
|
124167
|
+
},
|
|
124168
|
+
{
|
|
124169
|
+
"kind": "field",
|
|
124170
|
+
"name": "negative",
|
|
124171
|
+
"type": {
|
|
124172
|
+
"text": "boolean"
|
|
124173
|
+
},
|
|
124174
|
+
"privacy": "public",
|
|
124175
|
+
"default": "false",
|
|
124176
|
+
"description": "Negative coloring variant flag.",
|
|
124177
|
+
"attribute": "negative",
|
|
124178
|
+
"reflects": true,
|
|
124179
|
+
"inheritedFrom": {
|
|
124180
|
+
"name": "SbbNegativeMixin",
|
|
124181
|
+
"module": "core/mixins/negative-mixin.js"
|
|
124182
|
+
}
|
|
124183
|
+
},
|
|
124184
|
+
{
|
|
124185
|
+
"kind": "field",
|
|
124186
|
+
"name": "_hydrationRequired",
|
|
124187
|
+
"type": {
|
|
124188
|
+
"text": "boolean"
|
|
124189
|
+
},
|
|
124190
|
+
"privacy": "private",
|
|
124191
|
+
"default": "!!this.shadowRoot",
|
|
124192
|
+
"inheritedFrom": {
|
|
124193
|
+
"name": "SbbElement",
|
|
124194
|
+
"module": "core/base-elements/element.js"
|
|
124195
|
+
}
|
|
124196
|
+
},
|
|
124197
|
+
{
|
|
124198
|
+
"kind": "field",
|
|
124199
|
+
"name": "_hydrationComplete",
|
|
124200
|
+
"privacy": "private",
|
|
124201
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
124202
|
+
"inheritedFrom": {
|
|
124203
|
+
"name": "SbbElement",
|
|
124204
|
+
"module": "core/base-elements/element.js"
|
|
124205
|
+
}
|
|
124206
|
+
},
|
|
124207
|
+
{
|
|
124208
|
+
"kind": "field",
|
|
124209
|
+
"name": "_resolveHydration",
|
|
124210
|
+
"type": {
|
|
124211
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
124212
|
+
},
|
|
124213
|
+
"privacy": "private",
|
|
124214
|
+
"inheritedFrom": {
|
|
124215
|
+
"name": "SbbElement",
|
|
124216
|
+
"module": "core/base-elements/element.js"
|
|
124217
|
+
}
|
|
124218
|
+
},
|
|
124219
|
+
{
|
|
124220
|
+
"kind": "field",
|
|
124221
|
+
"name": "hydrationRequired",
|
|
124222
|
+
"type": {
|
|
124223
|
+
"text": "boolean"
|
|
124224
|
+
},
|
|
124225
|
+
"privacy": "protected",
|
|
124226
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
124227
|
+
"readonly": true,
|
|
124228
|
+
"inheritedFrom": {
|
|
124229
|
+
"name": "SbbElement",
|
|
124230
|
+
"module": "core/base-elements/element.js"
|
|
124231
|
+
},
|
|
124232
|
+
"default": "!!this.shadowRoot"
|
|
124233
|
+
},
|
|
124234
|
+
{
|
|
124235
|
+
"kind": "method",
|
|
124236
|
+
"name": "toggleState",
|
|
124237
|
+
"privacy": "protected",
|
|
124238
|
+
"return": {
|
|
124239
|
+
"type": {
|
|
124240
|
+
"text": "void"
|
|
124241
|
+
}
|
|
124242
|
+
},
|
|
124243
|
+
"parameters": [
|
|
124244
|
+
{
|
|
124245
|
+
"name": "value",
|
|
124246
|
+
"type": {
|
|
124247
|
+
"text": "string"
|
|
124248
|
+
}
|
|
124249
|
+
},
|
|
124250
|
+
{
|
|
124251
|
+
"name": "force",
|
|
124252
|
+
"optional": true,
|
|
124253
|
+
"type": {
|
|
124254
|
+
"text": "boolean"
|
|
124255
|
+
}
|
|
124256
|
+
}
|
|
124257
|
+
],
|
|
124258
|
+
"inheritedFrom": {
|
|
124259
|
+
"name": "SbbElement",
|
|
124260
|
+
"module": "core/base-elements/element.js"
|
|
124261
|
+
}
|
|
124262
|
+
},
|
|
124263
|
+
{
|
|
124264
|
+
"kind": "field",
|
|
124265
|
+
"name": "['_$sbbElement$']",
|
|
124266
|
+
"type": {
|
|
124267
|
+
"text": "boolean"
|
|
124268
|
+
},
|
|
124269
|
+
"privacy": "public",
|
|
124270
|
+
"static": true,
|
|
124271
|
+
"default": "true",
|
|
124272
|
+
"inheritedFrom": {
|
|
124273
|
+
"name": "SbbElement",
|
|
124274
|
+
"module": "core/base-elements/element.js"
|
|
124275
|
+
}
|
|
124276
|
+
},
|
|
124277
|
+
{
|
|
124278
|
+
"kind": "field",
|
|
124279
|
+
"name": "_controllers",
|
|
124280
|
+
"type": {
|
|
124281
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
124282
|
+
},
|
|
124283
|
+
"privacy": "private",
|
|
124284
|
+
"inheritedFrom": {
|
|
124285
|
+
"name": "SbbElement",
|
|
124286
|
+
"module": "core/base-elements/element.js"
|
|
124287
|
+
}
|
|
124288
|
+
}
|
|
124289
|
+
],
|
|
124290
|
+
"attributes": [
|
|
124291
|
+
{
|
|
124292
|
+
"name": "focusable",
|
|
124293
|
+
"type": {
|
|
124294
|
+
"text": "boolean"
|
|
124295
|
+
},
|
|
124296
|
+
"default": "false",
|
|
124297
|
+
"description": "Whether the table wrapper is focusable.",
|
|
124298
|
+
"fieldName": "focusable"
|
|
124299
|
+
},
|
|
124300
|
+
{
|
|
124301
|
+
"name": "negative",
|
|
124302
|
+
"type": {
|
|
124303
|
+
"text": "boolean"
|
|
124304
|
+
},
|
|
124305
|
+
"default": "false",
|
|
124306
|
+
"description": "Negative coloring variant flag.",
|
|
124307
|
+
"fieldName": "negative",
|
|
124308
|
+
"inheritedFrom": {
|
|
124309
|
+
"name": "SbbNegativeMixin",
|
|
124310
|
+
"module": "core/mixins/negative-mixin.js"
|
|
124311
|
+
}
|
|
124312
|
+
}
|
|
124313
|
+
],
|
|
124314
|
+
"mixins": [
|
|
124315
|
+
{
|
|
124316
|
+
"name": "SbbNegativeMixin",
|
|
124317
|
+
"module": "core/mixins.js"
|
|
124318
|
+
}
|
|
124319
|
+
],
|
|
124320
|
+
"superclass": {
|
|
124321
|
+
"name": "SbbElement",
|
|
124322
|
+
"module": "core/base-elements.js"
|
|
124323
|
+
},
|
|
124324
|
+
"tagName": "sbb-table-wrapper",
|
|
124325
|
+
"customElement": true
|
|
124326
|
+
}
|
|
124327
|
+
],
|
|
124328
|
+
"exports": [
|
|
124329
|
+
{
|
|
124330
|
+
"kind": "js",
|
|
124331
|
+
"name": "SbbTableWrapperElement",
|
|
124332
|
+
"declaration": {
|
|
124333
|
+
"name": "SbbTableWrapperElement",
|
|
124334
|
+
"module": "table/table-wrapper/table-wrapper.component.js"
|
|
124335
|
+
}
|
|
124336
|
+
}
|
|
124337
|
+
]
|
|
124338
|
+
},
|
|
124084
124339
|
{
|
|
124085
124340
|
"kind": "javascript-module",
|
|
124086
124341
|
"path": "stepper/stepper/stepper.component.js",
|
|
@@ -124712,261 +124967,6 @@
|
|
|
124712
124967
|
}
|
|
124713
124968
|
]
|
|
124714
124969
|
},
|
|
124715
|
-
{
|
|
124716
|
-
"kind": "javascript-module",
|
|
124717
|
-
"path": "table/table-wrapper/table-wrapper.component.js",
|
|
124718
|
-
"declarations": [
|
|
124719
|
-
{
|
|
124720
|
-
"kind": "class",
|
|
124721
|
-
"description": "Wraps a table to enhance its functionality.",
|
|
124722
|
-
"name": "SbbTableWrapperElement",
|
|
124723
|
-
"slots": [
|
|
124724
|
-
{
|
|
124725
|
-
"description": "Use the unnamed slot to add the table.",
|
|
124726
|
-
"name": ""
|
|
124727
|
-
}
|
|
124728
|
-
],
|
|
124729
|
-
"members": [
|
|
124730
|
-
{
|
|
124731
|
-
"kind": "field",
|
|
124732
|
-
"name": "elementName",
|
|
124733
|
-
"type": {
|
|
124734
|
-
"text": "string"
|
|
124735
|
-
},
|
|
124736
|
-
"privacy": "public",
|
|
124737
|
-
"static": true,
|
|
124738
|
-
"readonly": true,
|
|
124739
|
-
"default": "'sbb-table-wrapper'",
|
|
124740
|
-
"inheritedFrom": {
|
|
124741
|
-
"name": "SbbElement",
|
|
124742
|
-
"module": "core/base-elements/element.js"
|
|
124743
|
-
}
|
|
124744
|
-
},
|
|
124745
|
-
{
|
|
124746
|
-
"kind": "field",
|
|
124747
|
-
"name": "role",
|
|
124748
|
-
"type": {
|
|
124749
|
-
"text": "string"
|
|
124750
|
-
},
|
|
124751
|
-
"privacy": "public",
|
|
124752
|
-
"static": true,
|
|
124753
|
-
"readonly": true,
|
|
124754
|
-
"default": "'section'"
|
|
124755
|
-
},
|
|
124756
|
-
{
|
|
124757
|
-
"kind": "field",
|
|
124758
|
-
"name": "focusable",
|
|
124759
|
-
"type": {
|
|
124760
|
-
"text": "boolean"
|
|
124761
|
-
},
|
|
124762
|
-
"privacy": "public",
|
|
124763
|
-
"default": "false",
|
|
124764
|
-
"description": "Whether the table wrapper is focusable.",
|
|
124765
|
-
"attribute": "focusable",
|
|
124766
|
-
"reflects": true
|
|
124767
|
-
},
|
|
124768
|
-
{
|
|
124769
|
-
"kind": "method",
|
|
124770
|
-
"name": "_updateScrollbarClass",
|
|
124771
|
-
"privacy": "private",
|
|
124772
|
-
"return": {
|
|
124773
|
-
"type": {
|
|
124774
|
-
"text": "void"
|
|
124775
|
-
}
|
|
124776
|
-
}
|
|
124777
|
-
},
|
|
124778
|
-
{
|
|
124779
|
-
"kind": "method",
|
|
124780
|
-
"name": "_checkHorizontalScrollbarOffset",
|
|
124781
|
-
"privacy": "private",
|
|
124782
|
-
"return": {
|
|
124783
|
-
"type": {
|
|
124784
|
-
"text": "void"
|
|
124785
|
-
}
|
|
124786
|
-
},
|
|
124787
|
-
"description": "Calculates whether the table is horizontally scrolled and adds the\ncorresponding class `sbb-table-wrapper-offset-${none | left | right | both}`"
|
|
124788
|
-
},
|
|
124789
|
-
{
|
|
124790
|
-
"kind": "method",
|
|
124791
|
-
"name": "_calculateScrollOffset",
|
|
124792
|
-
"privacy": "private",
|
|
124793
|
-
"return": {
|
|
124794
|
-
"type": {
|
|
124795
|
-
"text": "'none' | 'left' | 'right' | 'both'"
|
|
124796
|
-
}
|
|
124797
|
-
}
|
|
124798
|
-
},
|
|
124799
|
-
{
|
|
124800
|
-
"kind": "field",
|
|
124801
|
-
"name": "negative",
|
|
124802
|
-
"type": {
|
|
124803
|
-
"text": "boolean"
|
|
124804
|
-
},
|
|
124805
|
-
"privacy": "public",
|
|
124806
|
-
"default": "false",
|
|
124807
|
-
"description": "Negative coloring variant flag.",
|
|
124808
|
-
"attribute": "negative",
|
|
124809
|
-
"reflects": true,
|
|
124810
|
-
"inheritedFrom": {
|
|
124811
|
-
"name": "SbbNegativeMixin",
|
|
124812
|
-
"module": "core/mixins/negative-mixin.js"
|
|
124813
|
-
}
|
|
124814
|
-
},
|
|
124815
|
-
{
|
|
124816
|
-
"kind": "field",
|
|
124817
|
-
"name": "_hydrationRequired",
|
|
124818
|
-
"type": {
|
|
124819
|
-
"text": "boolean"
|
|
124820
|
-
},
|
|
124821
|
-
"privacy": "private",
|
|
124822
|
-
"default": "!!this.shadowRoot",
|
|
124823
|
-
"inheritedFrom": {
|
|
124824
|
-
"name": "SbbElement",
|
|
124825
|
-
"module": "core/base-elements/element.js"
|
|
124826
|
-
}
|
|
124827
|
-
},
|
|
124828
|
-
{
|
|
124829
|
-
"kind": "field",
|
|
124830
|
-
"name": "_hydrationComplete",
|
|
124831
|
-
"privacy": "private",
|
|
124832
|
-
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
124833
|
-
"inheritedFrom": {
|
|
124834
|
-
"name": "SbbElement",
|
|
124835
|
-
"module": "core/base-elements/element.js"
|
|
124836
|
-
}
|
|
124837
|
-
},
|
|
124838
|
-
{
|
|
124839
|
-
"kind": "field",
|
|
124840
|
-
"name": "_resolveHydration",
|
|
124841
|
-
"type": {
|
|
124842
|
-
"text": "(hydrationRequired: boolean) => void"
|
|
124843
|
-
},
|
|
124844
|
-
"privacy": "private",
|
|
124845
|
-
"inheritedFrom": {
|
|
124846
|
-
"name": "SbbElement",
|
|
124847
|
-
"module": "core/base-elements/element.js"
|
|
124848
|
-
}
|
|
124849
|
-
},
|
|
124850
|
-
{
|
|
124851
|
-
"kind": "field",
|
|
124852
|
-
"name": "hydrationRequired",
|
|
124853
|
-
"type": {
|
|
124854
|
-
"text": "boolean"
|
|
124855
|
-
},
|
|
124856
|
-
"privacy": "protected",
|
|
124857
|
-
"description": "Returns whether hydration is required and not completed.",
|
|
124858
|
-
"readonly": true,
|
|
124859
|
-
"inheritedFrom": {
|
|
124860
|
-
"name": "SbbElement",
|
|
124861
|
-
"module": "core/base-elements/element.js"
|
|
124862
|
-
},
|
|
124863
|
-
"default": "!!this.shadowRoot"
|
|
124864
|
-
},
|
|
124865
|
-
{
|
|
124866
|
-
"kind": "method",
|
|
124867
|
-
"name": "toggleState",
|
|
124868
|
-
"privacy": "protected",
|
|
124869
|
-
"return": {
|
|
124870
|
-
"type": {
|
|
124871
|
-
"text": "void"
|
|
124872
|
-
}
|
|
124873
|
-
},
|
|
124874
|
-
"parameters": [
|
|
124875
|
-
{
|
|
124876
|
-
"name": "value",
|
|
124877
|
-
"type": {
|
|
124878
|
-
"text": "string"
|
|
124879
|
-
}
|
|
124880
|
-
},
|
|
124881
|
-
{
|
|
124882
|
-
"name": "force",
|
|
124883
|
-
"optional": true,
|
|
124884
|
-
"type": {
|
|
124885
|
-
"text": "boolean"
|
|
124886
|
-
}
|
|
124887
|
-
}
|
|
124888
|
-
],
|
|
124889
|
-
"inheritedFrom": {
|
|
124890
|
-
"name": "SbbElement",
|
|
124891
|
-
"module": "core/base-elements/element.js"
|
|
124892
|
-
}
|
|
124893
|
-
},
|
|
124894
|
-
{
|
|
124895
|
-
"kind": "field",
|
|
124896
|
-
"name": "['_$sbbElement$']",
|
|
124897
|
-
"type": {
|
|
124898
|
-
"text": "boolean"
|
|
124899
|
-
},
|
|
124900
|
-
"privacy": "public",
|
|
124901
|
-
"static": true,
|
|
124902
|
-
"default": "true",
|
|
124903
|
-
"inheritedFrom": {
|
|
124904
|
-
"name": "SbbElement",
|
|
124905
|
-
"module": "core/base-elements/element.js"
|
|
124906
|
-
}
|
|
124907
|
-
},
|
|
124908
|
-
{
|
|
124909
|
-
"kind": "field",
|
|
124910
|
-
"name": "_controllers",
|
|
124911
|
-
"type": {
|
|
124912
|
-
"text": "Set<SbbReactiveController> | undefined"
|
|
124913
|
-
},
|
|
124914
|
-
"privacy": "private",
|
|
124915
|
-
"inheritedFrom": {
|
|
124916
|
-
"name": "SbbElement",
|
|
124917
|
-
"module": "core/base-elements/element.js"
|
|
124918
|
-
}
|
|
124919
|
-
}
|
|
124920
|
-
],
|
|
124921
|
-
"attributes": [
|
|
124922
|
-
{
|
|
124923
|
-
"name": "focusable",
|
|
124924
|
-
"type": {
|
|
124925
|
-
"text": "boolean"
|
|
124926
|
-
},
|
|
124927
|
-
"default": "false",
|
|
124928
|
-
"description": "Whether the table wrapper is focusable.",
|
|
124929
|
-
"fieldName": "focusable"
|
|
124930
|
-
},
|
|
124931
|
-
{
|
|
124932
|
-
"name": "negative",
|
|
124933
|
-
"type": {
|
|
124934
|
-
"text": "boolean"
|
|
124935
|
-
},
|
|
124936
|
-
"default": "false",
|
|
124937
|
-
"description": "Negative coloring variant flag.",
|
|
124938
|
-
"fieldName": "negative",
|
|
124939
|
-
"inheritedFrom": {
|
|
124940
|
-
"name": "SbbNegativeMixin",
|
|
124941
|
-
"module": "core/mixins/negative-mixin.js"
|
|
124942
|
-
}
|
|
124943
|
-
}
|
|
124944
|
-
],
|
|
124945
|
-
"mixins": [
|
|
124946
|
-
{
|
|
124947
|
-
"name": "SbbNegativeMixin",
|
|
124948
|
-
"module": "core/mixins.js"
|
|
124949
|
-
}
|
|
124950
|
-
],
|
|
124951
|
-
"superclass": {
|
|
124952
|
-
"name": "SbbElement",
|
|
124953
|
-
"module": "core/base-elements.js"
|
|
124954
|
-
},
|
|
124955
|
-
"tagName": "sbb-table-wrapper",
|
|
124956
|
-
"customElement": true
|
|
124957
|
-
}
|
|
124958
|
-
],
|
|
124959
|
-
"exports": [
|
|
124960
|
-
{
|
|
124961
|
-
"kind": "js",
|
|
124962
|
-
"name": "SbbTableWrapperElement",
|
|
124963
|
-
"declaration": {
|
|
124964
|
-
"name": "SbbTableWrapperElement",
|
|
124965
|
-
"module": "table/table-wrapper/table-wrapper.component.js"
|
|
124966
|
-
}
|
|
124967
|
-
}
|
|
124968
|
-
]
|
|
124969
|
-
},
|
|
124970
124970
|
{
|
|
124971
124971
|
"kind": "javascript-module",
|
|
124972
124972
|
"path": "tabs/common/styles.js",
|
|
@@ -131320,16 +131320,20 @@
|
|
|
131320
131320
|
},
|
|
131321
131321
|
{
|
|
131322
131322
|
"kind": "javascript-module",
|
|
131323
|
-
"path": "toggle/toggle/toggle.component.js",
|
|
131323
|
+
"path": "toggle/toggle-option/toggle-option.component.js",
|
|
131324
131324
|
"declarations": [
|
|
131325
131325
|
{
|
|
131326
131326
|
"kind": "class",
|
|
131327
|
-
"description": "It
|
|
131328
|
-
"name": "
|
|
131327
|
+
"description": "It displays a toggle option within a `sbb-toggle`.",
|
|
131328
|
+
"name": "SbbToggleOptionElement",
|
|
131329
131329
|
"slots": [
|
|
131330
131330
|
{
|
|
131331
|
-
"description": "Use the unnamed slot to add
|
|
131331
|
+
"description": "Use the unnamed slot to add content to the label of the toggle option.",
|
|
131332
131332
|
"name": ""
|
|
131333
|
+
},
|
|
131334
|
+
{
|
|
131335
|
+
"description": "Slot used to render the `sbb-icon`.",
|
|
131336
|
+
"name": "icon"
|
|
131333
131337
|
}
|
|
131334
131338
|
],
|
|
131335
131339
|
"members": [
|
|
@@ -131342,7 +131346,7 @@
|
|
|
131342
131346
|
"privacy": "public",
|
|
131343
131347
|
"static": true,
|
|
131344
131348
|
"readonly": true,
|
|
131345
|
-
"default": "'sbb-toggle'",
|
|
131349
|
+
"default": "'sbb-toggle-option'",
|
|
131346
131350
|
"inheritedFrom": {
|
|
131347
131351
|
"name": "SbbElement",
|
|
131348
131352
|
"module": "core/base-elements/element.js"
|
|
@@ -131357,41 +131361,18 @@
|
|
|
131357
131361
|
"privacy": "public",
|
|
131358
131362
|
"static": true,
|
|
131359
131363
|
"readonly": true,
|
|
131360
|
-
"default": "'
|
|
131361
|
-
},
|
|
131362
|
-
{
|
|
131363
|
-
"kind": "field",
|
|
131364
|
-
"name": "events",
|
|
131365
|
-
"privacy": "public",
|
|
131366
|
-
"static": true,
|
|
131367
|
-
"readonly": true,
|
|
131368
|
-
"default": "{ change: 'change', }",
|
|
131369
|
-
"type": {
|
|
131370
|
-
"text": "{\n change: 'change',\n }"
|
|
131371
|
-
}
|
|
131364
|
+
"default": "'radio'"
|
|
131372
131365
|
},
|
|
131373
131366
|
{
|
|
131374
131367
|
"kind": "field",
|
|
131375
|
-
"name": "
|
|
131368
|
+
"name": "checked",
|
|
131376
131369
|
"type": {
|
|
131377
131370
|
"text": "boolean"
|
|
131378
131371
|
},
|
|
131379
131372
|
"privacy": "public",
|
|
131380
131373
|
"default": "false",
|
|
131381
|
-
"description": "
|
|
131382
|
-
"attribute": "
|
|
131383
|
-
"reflects": true
|
|
131384
|
-
},
|
|
131385
|
-
{
|
|
131386
|
-
"kind": "field",
|
|
131387
|
-
"name": "size",
|
|
131388
|
-
"type": {
|
|
131389
|
-
"text": "'s' | 'm'"
|
|
131390
|
-
},
|
|
131391
|
-
"privacy": "public",
|
|
131392
|
-
"description": "Size variant, either m or s.",
|
|
131393
|
-
"default": "'m' / 's' (lean)",
|
|
131394
|
-
"attribute": "size",
|
|
131374
|
+
"description": "Whether the toggle-option is checked.",
|
|
131375
|
+
"attribute": "checked",
|
|
131395
131376
|
"reflects": true
|
|
131396
131377
|
},
|
|
131397
131378
|
{
|
|
@@ -131401,53 +131382,22 @@
|
|
|
131401
131382
|
"text": "(T = string) | null"
|
|
131402
131383
|
},
|
|
131403
131384
|
"privacy": "public",
|
|
131404
|
-
"
|
|
131405
|
-
"
|
|
131406
|
-
"
|
|
131407
|
-
"name": "SbbFormAssociatedMixin",
|
|
131408
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
131409
|
-
}
|
|
131385
|
+
"default": "null",
|
|
131386
|
+
"description": "Value of toggle-option.",
|
|
131387
|
+
"attribute": "value"
|
|
131410
131388
|
},
|
|
131411
131389
|
{
|
|
131412
131390
|
"kind": "field",
|
|
131413
|
-
"name": "
|
|
131391
|
+
"name": "_toggle",
|
|
131414
131392
|
"type": {
|
|
131415
|
-
"text": "
|
|
131393
|
+
"text": "SbbToggleElement | null"
|
|
131416
131394
|
},
|
|
131417
131395
|
"privacy": "private",
|
|
131418
131396
|
"default": "null"
|
|
131419
131397
|
},
|
|
131420
|
-
{
|
|
131421
|
-
"kind": "field",
|
|
131422
|
-
"name": "options",
|
|
131423
|
-
"type": {
|
|
131424
|
-
"text": "SbbToggleOptionElement<T>[]"
|
|
131425
|
-
},
|
|
131426
|
-
"privacy": "public",
|
|
131427
|
-
"description": "The child instances of sbb-toggle-option as an array.",
|
|
131428
|
-
"readonly": true
|
|
131429
|
-
},
|
|
131430
131398
|
{
|
|
131431
131399
|
"kind": "method",
|
|
131432
|
-
"name": "
|
|
131433
|
-
"privacy": "private",
|
|
131434
|
-
"return": {
|
|
131435
|
-
"type": {
|
|
131436
|
-
"text": "Promise<T>"
|
|
131437
|
-
}
|
|
131438
|
-
},
|
|
131439
|
-
"parameters": [
|
|
131440
|
-
{
|
|
131441
|
-
"name": "formData",
|
|
131442
|
-
"type": {
|
|
131443
|
-
"text": "FormData"
|
|
131444
|
-
}
|
|
131445
|
-
}
|
|
131446
|
-
]
|
|
131447
|
-
},
|
|
131448
|
-
{
|
|
131449
|
-
"kind": "method",
|
|
131450
|
-
"name": "_updateToggle",
|
|
131400
|
+
"name": "_uncheckOtherOptions",
|
|
131451
131401
|
"privacy": "private",
|
|
131452
131402
|
"return": {
|
|
131453
131403
|
"type": {
|
|
@@ -131457,25 +131407,7 @@
|
|
|
131457
131407
|
},
|
|
131458
131408
|
{
|
|
131459
131409
|
"kind": "method",
|
|
131460
|
-
"name": "
|
|
131461
|
-
"privacy": "private",
|
|
131462
|
-
"return": {
|
|
131463
|
-
"type": {
|
|
131464
|
-
"text": "void"
|
|
131465
|
-
}
|
|
131466
|
-
},
|
|
131467
|
-
"parameters": [
|
|
131468
|
-
{
|
|
131469
|
-
"name": "value",
|
|
131470
|
-
"type": {
|
|
131471
|
-
"text": "T | null"
|
|
131472
|
-
}
|
|
131473
|
-
}
|
|
131474
|
-
]
|
|
131475
|
-
},
|
|
131476
|
-
{
|
|
131477
|
-
"kind": "method",
|
|
131478
|
-
"name": "_updateDisabled",
|
|
131410
|
+
"name": "_handleDisabledChange",
|
|
131479
131411
|
"privacy": "private",
|
|
131480
131412
|
"return": {
|
|
131481
131413
|
"type": {
|
|
@@ -131491,44 +131423,17 @@
|
|
|
131491
131423
|
"type": {
|
|
131492
131424
|
"text": "void"
|
|
131493
131425
|
}
|
|
131494
|
-
}
|
|
131495
|
-
"description": "Called on user interaction (click or keyboard)"
|
|
131496
|
-
},
|
|
131497
|
-
{
|
|
131498
|
-
"kind": "method",
|
|
131499
|
-
"name": "_handleKeyDown",
|
|
131500
|
-
"privacy": "private",
|
|
131501
|
-
"return": {
|
|
131502
|
-
"type": {
|
|
131503
|
-
"text": "void"
|
|
131504
|
-
}
|
|
131505
|
-
},
|
|
131506
|
-
"parameters": [
|
|
131507
|
-
{
|
|
131508
|
-
"name": "evt",
|
|
131509
|
-
"type": {
|
|
131510
|
-
"text": "KeyboardEvent"
|
|
131511
|
-
}
|
|
131512
|
-
}
|
|
131513
|
-
]
|
|
131426
|
+
}
|
|
131514
131427
|
},
|
|
131515
131428
|
{
|
|
131516
131429
|
"kind": "method",
|
|
131517
|
-
"name": "
|
|
131430
|
+
"name": "_verifyTabindex",
|
|
131518
131431
|
"privacy": "private",
|
|
131519
131432
|
"return": {
|
|
131520
131433
|
"type": {
|
|
131521
131434
|
"text": "void"
|
|
131522
131435
|
}
|
|
131523
|
-
}
|
|
131524
|
-
"parameters": [
|
|
131525
|
-
{
|
|
131526
|
-
"name": "option",
|
|
131527
|
-
"type": {
|
|
131528
|
-
"text": "SbbToggleOptionElement<T> | undefined"
|
|
131529
|
-
}
|
|
131530
|
-
}
|
|
131531
|
-
]
|
|
131436
|
+
}
|
|
131532
131437
|
},
|
|
131533
131438
|
{
|
|
131534
131439
|
"kind": "field",
|
|
@@ -131576,317 +131481,68 @@
|
|
|
131576
131481
|
},
|
|
131577
131482
|
{
|
|
131578
131483
|
"kind": "field",
|
|
131579
|
-
"name": "
|
|
131580
|
-
"type": {
|
|
131581
|
-
"text": "boolean"
|
|
131582
|
-
},
|
|
131583
|
-
"privacy": "public",
|
|
131584
|
-
"static": true,
|
|
131585
|
-
"default": "true",
|
|
131586
|
-
"inheritedFrom": {
|
|
131587
|
-
"name": "SbbFormAssociatedMixin",
|
|
131588
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
131589
|
-
}
|
|
131590
|
-
},
|
|
131591
|
-
{
|
|
131592
|
-
"kind": "field",
|
|
131593
|
-
"name": "form",
|
|
131594
|
-
"type": {
|
|
131595
|
-
"text": "HTMLFormElement | null"
|
|
131596
|
-
},
|
|
131597
|
-
"privacy": "public",
|
|
131598
|
-
"description": "Returns the form owner of this element.",
|
|
131599
|
-
"readonly": true,
|
|
131600
|
-
"inheritedFrom": {
|
|
131601
|
-
"name": "SbbFormAssociatedMixin",
|
|
131602
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
131603
|
-
}
|
|
131604
|
-
},
|
|
131605
|
-
{
|
|
131606
|
-
"kind": "field",
|
|
131607
|
-
"name": "name",
|
|
131608
|
-
"privacy": "public",
|
|
131609
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
131610
|
-
"type": {
|
|
131611
|
-
"text": "string"
|
|
131612
|
-
},
|
|
131613
|
-
"attribute": "name",
|
|
131614
|
-
"inheritedFrom": {
|
|
131615
|
-
"name": "SbbFormAssociatedMixin",
|
|
131616
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
131617
|
-
}
|
|
131618
|
-
},
|
|
131619
|
-
{
|
|
131620
|
-
"kind": "field",
|
|
131621
|
-
"name": "validity",
|
|
131622
|
-
"type": {
|
|
131623
|
-
"text": "ValidityState"
|
|
131624
|
-
},
|
|
131625
|
-
"privacy": "public",
|
|
131626
|
-
"description": "Returns the ValidityState object for this element.",
|
|
131627
|
-
"readonly": true,
|
|
131628
|
-
"inheritedFrom": {
|
|
131629
|
-
"name": "SbbFormAssociatedMixin",
|
|
131630
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
131631
|
-
}
|
|
131632
|
-
},
|
|
131633
|
-
{
|
|
131634
|
-
"kind": "field",
|
|
131635
|
-
"name": "validationMessage",
|
|
131484
|
+
"name": "iconName",
|
|
131636
131485
|
"type": {
|
|
131637
131486
|
"text": "string"
|
|
131638
131487
|
},
|
|
131639
131488
|
"privacy": "public",
|
|
131640
|
-
"
|
|
131641
|
-
"
|
|
131642
|
-
"
|
|
131643
|
-
"name": "SbbFormAssociatedMixin",
|
|
131644
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
131645
|
-
}
|
|
131646
|
-
},
|
|
131647
|
-
{
|
|
131648
|
-
"kind": "field",
|
|
131649
|
-
"name": "willValidate",
|
|
131650
|
-
"type": {
|
|
131651
|
-
"text": "boolean"
|
|
131652
|
-
},
|
|
131653
|
-
"privacy": "public",
|
|
131654
|
-
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
131655
|
-
"readonly": true,
|
|
131656
|
-
"inheritedFrom": {
|
|
131657
|
-
"name": "SbbFormAssociatedMixin",
|
|
131658
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
131659
|
-
}
|
|
131660
|
-
},
|
|
131661
|
-
{
|
|
131662
|
-
"kind": "field",
|
|
131663
|
-
"name": "_validityStates",
|
|
131664
|
-
"privacy": "private",
|
|
131665
|
-
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
131666
|
-
"inheritedFrom": {
|
|
131667
|
-
"name": "SbbFormAssociatedMixin",
|
|
131668
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
131669
|
-
}
|
|
131670
|
-
},
|
|
131671
|
-
{
|
|
131672
|
-
"kind": "field",
|
|
131673
|
-
"name": "formDisabled",
|
|
131674
|
-
"type": {
|
|
131675
|
-
"text": "boolean"
|
|
131676
|
-
},
|
|
131677
|
-
"privacy": "protected",
|
|
131678
|
-
"default": "false",
|
|
131679
|
-
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
131680
|
-
"inheritedFrom": {
|
|
131681
|
-
"name": "SbbFormAssociatedMixin",
|
|
131682
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
131683
|
-
}
|
|
131684
|
-
},
|
|
131685
|
-
{
|
|
131686
|
-
"kind": "method",
|
|
131687
|
-
"name": "checkValidity",
|
|
131688
|
-
"privacy": "public",
|
|
131689
|
-
"return": {
|
|
131690
|
-
"type": {
|
|
131691
|
-
"text": "boolean"
|
|
131692
|
-
}
|
|
131693
|
-
},
|
|
131694
|
-
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
131695
|
-
"inheritedFrom": {
|
|
131696
|
-
"name": "SbbFormAssociatedMixin",
|
|
131697
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
131698
|
-
}
|
|
131699
|
-
},
|
|
131700
|
-
{
|
|
131701
|
-
"kind": "method",
|
|
131702
|
-
"name": "reportValidity",
|
|
131703
|
-
"privacy": "public",
|
|
131704
|
-
"return": {
|
|
131705
|
-
"type": {
|
|
131706
|
-
"text": "boolean"
|
|
131707
|
-
}
|
|
131708
|
-
},
|
|
131709
|
-
"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.",
|
|
131710
|
-
"inheritedFrom": {
|
|
131711
|
-
"name": "SbbFormAssociatedMixin",
|
|
131712
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
131713
|
-
}
|
|
131714
|
-
},
|
|
131715
|
-
{
|
|
131716
|
-
"kind": "method",
|
|
131717
|
-
"name": "setCustomValidity",
|
|
131718
|
-
"privacy": "public",
|
|
131719
|
-
"return": {
|
|
131720
|
-
"type": {
|
|
131721
|
-
"text": "void"
|
|
131722
|
-
}
|
|
131723
|
-
},
|
|
131724
|
-
"parameters": [
|
|
131725
|
-
{
|
|
131726
|
-
"name": "message",
|
|
131727
|
-
"type": {
|
|
131728
|
-
"text": "string"
|
|
131729
|
-
}
|
|
131730
|
-
}
|
|
131731
|
-
],
|
|
131732
|
-
"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.",
|
|
131733
|
-
"inheritedFrom": {
|
|
131734
|
-
"name": "SbbFormAssociatedMixin",
|
|
131735
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
131736
|
-
}
|
|
131737
|
-
},
|
|
131738
|
-
{
|
|
131739
|
-
"kind": "method",
|
|
131740
|
-
"name": "_hasDisabledAncestor",
|
|
131741
|
-
"privacy": "private",
|
|
131742
|
-
"return": {
|
|
131743
|
-
"type": {
|
|
131744
|
-
"text": "boolean"
|
|
131745
|
-
}
|
|
131746
|
-
},
|
|
131747
|
-
"inheritedFrom": {
|
|
131748
|
-
"name": "SbbFormAssociatedMixin",
|
|
131749
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
131750
|
-
}
|
|
131751
|
-
},
|
|
131752
|
-
{
|
|
131753
|
-
"kind": "method",
|
|
131754
|
-
"name": "updateFormValue",
|
|
131755
|
-
"privacy": "protected",
|
|
131756
|
-
"return": {
|
|
131757
|
-
"type": {
|
|
131758
|
-
"text": "void"
|
|
131759
|
-
}
|
|
131760
|
-
},
|
|
131761
|
-
"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",
|
|
131762
|
-
"inheritedFrom": {
|
|
131763
|
-
"name": "SbbFormAssociatedMixin",
|
|
131764
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
131765
|
-
}
|
|
131766
|
-
},
|
|
131767
|
-
{
|
|
131768
|
-
"kind": "method",
|
|
131769
|
-
"name": "formState",
|
|
131770
|
-
"privacy": "protected",
|
|
131771
|
-
"return": {
|
|
131772
|
-
"type": {
|
|
131773
|
-
"text": "FormRestoreState"
|
|
131774
|
-
}
|
|
131775
|
-
},
|
|
131489
|
+
"default": "''",
|
|
131490
|
+
"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.",
|
|
131491
|
+
"attribute": "icon-name",
|
|
131776
131492
|
"inheritedFrom": {
|
|
131777
|
-
"name": "
|
|
131778
|
-
"module": "
|
|
131493
|
+
"name": "SbbIconNameMixin",
|
|
131494
|
+
"module": "icon/icon-name-mixin.js"
|
|
131779
131495
|
}
|
|
131780
131496
|
},
|
|
131781
131497
|
{
|
|
131782
131498
|
"kind": "method",
|
|
131783
|
-
"name": "
|
|
131499
|
+
"name": "renderIconSlot",
|
|
131784
131500
|
"privacy": "protected",
|
|
131785
131501
|
"return": {
|
|
131786
131502
|
"type": {
|
|
131787
|
-
"text": "
|
|
131503
|
+
"text": "TemplateResult"
|
|
131788
131504
|
}
|
|
131789
131505
|
},
|
|
131790
131506
|
"parameters": [
|
|
131791
131507
|
{
|
|
131792
|
-
"name": "
|
|
131793
|
-
"type": {
|
|
131794
|
-
"text": "T"
|
|
131795
|
-
}
|
|
131796
|
-
},
|
|
131797
|
-
{
|
|
131798
|
-
"name": "message",
|
|
131799
|
-
"type": {
|
|
131800
|
-
"text": "string"
|
|
131801
|
-
}
|
|
131802
|
-
},
|
|
131803
|
-
{
|
|
131804
|
-
"name": "flagValue",
|
|
131508
|
+
"name": "classname",
|
|
131805
131509
|
"optional": true,
|
|
131806
131510
|
"type": {
|
|
131807
|
-
"text": "
|
|
131808
|
-
}
|
|
131809
|
-
}
|
|
131810
|
-
],
|
|
131811
|
-
"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).",
|
|
131812
|
-
"inheritedFrom": {
|
|
131813
|
-
"name": "SbbFormAssociatedMixin",
|
|
131814
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
131815
|
-
}
|
|
131816
|
-
},
|
|
131817
|
-
{
|
|
131818
|
-
"kind": "method",
|
|
131819
|
-
"name": "removeValidityFlag",
|
|
131820
|
-
"privacy": "protected",
|
|
131821
|
-
"return": {
|
|
131822
|
-
"type": {
|
|
131823
|
-
"text": "void"
|
|
131824
|
-
}
|
|
131825
|
-
},
|
|
131826
|
-
"parameters": [
|
|
131827
|
-
{
|
|
131828
|
-
"name": "flag",
|
|
131829
|
-
"type": {
|
|
131830
|
-
"text": "T"
|
|
131511
|
+
"text": "string"
|
|
131831
131512
|
}
|
|
131832
131513
|
}
|
|
131833
131514
|
],
|
|
131834
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
131835
|
-
"inheritedFrom": {
|
|
131836
|
-
"name": "SbbFormAssociatedMixin",
|
|
131837
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
131838
|
-
}
|
|
131839
|
-
},
|
|
131840
|
-
{
|
|
131841
|
-
"kind": "method",
|
|
131842
|
-
"name": "validate",
|
|
131843
|
-
"privacy": "protected",
|
|
131844
|
-
"return": {
|
|
131845
|
-
"type": {
|
|
131846
|
-
"text": "void"
|
|
131847
|
-
}
|
|
131848
|
-
},
|
|
131849
|
-
"description": "To be called whenever the current element needs to be validated.",
|
|
131850
131515
|
"inheritedFrom": {
|
|
131851
|
-
"name": "
|
|
131852
|
-
"module": "
|
|
131516
|
+
"name": "SbbIconNameMixin",
|
|
131517
|
+
"module": "icon/icon-name-mixin.js"
|
|
131853
131518
|
}
|
|
131854
131519
|
},
|
|
131855
131520
|
{
|
|
131856
131521
|
"kind": "method",
|
|
131857
|
-
"name": "
|
|
131522
|
+
"name": "renderIconName",
|
|
131858
131523
|
"privacy": "protected",
|
|
131859
131524
|
"return": {
|
|
131860
131525
|
"type": {
|
|
131861
|
-
"text": "
|
|
131526
|
+
"text": "string"
|
|
131862
131527
|
}
|
|
131863
131528
|
},
|
|
131864
|
-
"parameters": [
|
|
131865
|
-
{
|
|
131866
|
-
"name": "name",
|
|
131867
|
-
"type": {
|
|
131868
|
-
"text": "PropertyKey | undefined"
|
|
131869
|
-
}
|
|
131870
|
-
}
|
|
131871
|
-
],
|
|
131872
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
131873
131529
|
"inheritedFrom": {
|
|
131874
|
-
"name": "
|
|
131875
|
-
"module": "
|
|
131530
|
+
"name": "SbbIconNameMixin",
|
|
131531
|
+
"module": "icon/icon-name-mixin.js"
|
|
131876
131532
|
}
|
|
131877
131533
|
},
|
|
131878
131534
|
{
|
|
131879
131535
|
"kind": "method",
|
|
131880
|
-
"name": "
|
|
131536
|
+
"name": "_renderIconName",
|
|
131881
131537
|
"privacy": "private",
|
|
131882
131538
|
"return": {
|
|
131883
131539
|
"type": {
|
|
131884
|
-
"text": "
|
|
131540
|
+
"text": "string"
|
|
131885
131541
|
}
|
|
131886
131542
|
},
|
|
131887
131543
|
"inheritedFrom": {
|
|
131888
|
-
"name": "
|
|
131889
|
-
"module": "
|
|
131544
|
+
"name": "SbbIconNameMixin",
|
|
131545
|
+
"module": "icon/icon-name-mixin.js"
|
|
131890
131546
|
}
|
|
131891
131547
|
},
|
|
131892
131548
|
{
|
|
@@ -131997,38 +131653,30 @@
|
|
|
131997
131653
|
],
|
|
131998
131654
|
"events": [
|
|
131999
131655
|
{
|
|
132000
|
-
"name": "change",
|
|
132001
131656
|
"type": {
|
|
132002
|
-
"text": "
|
|
131657
|
+
"text": "InputEvent"
|
|
132003
131658
|
},
|
|
132004
|
-
"description": "The
|
|
131659
|
+
"description": "The input event fires when the value has been changed as a direct result of a user action.",
|
|
131660
|
+
"name": "input"
|
|
132005
131661
|
}
|
|
132006
131662
|
],
|
|
132007
131663
|
"attributes": [
|
|
132008
131664
|
{
|
|
132009
|
-
"name": "
|
|
131665
|
+
"name": "checked",
|
|
132010
131666
|
"type": {
|
|
132011
131667
|
"text": "boolean"
|
|
132012
131668
|
},
|
|
132013
131669
|
"default": "false",
|
|
132014
|
-
"description": "
|
|
132015
|
-
"fieldName": "
|
|
132016
|
-
},
|
|
132017
|
-
{
|
|
132018
|
-
"name": "size",
|
|
132019
|
-
"type": {
|
|
132020
|
-
"text": "'s' | 'm'"
|
|
132021
|
-
},
|
|
132022
|
-
"description": "Size variant, either m or s.",
|
|
132023
|
-
"default": "'m' / 's' (lean)",
|
|
132024
|
-
"fieldName": "size"
|
|
131670
|
+
"description": "Whether the toggle-option is checked.",
|
|
131671
|
+
"fieldName": "checked"
|
|
132025
131672
|
},
|
|
132026
131673
|
{
|
|
132027
131674
|
"name": "value",
|
|
132028
|
-
"description": "The value of the toggle. It needs to be mutable since it is updated whenever\na new option is selected (see the `onToggleOptionSelect()` method).",
|
|
132029
131675
|
"type": {
|
|
132030
131676
|
"text": "T | null"
|
|
132031
131677
|
},
|
|
131678
|
+
"default": "null",
|
|
131679
|
+
"description": "Value of toggle-option.",
|
|
132032
131680
|
"fieldName": "value"
|
|
132033
131681
|
},
|
|
132034
131682
|
{
|
|
@@ -132045,15 +131693,16 @@
|
|
|
132045
131693
|
}
|
|
132046
131694
|
},
|
|
132047
131695
|
{
|
|
132048
|
-
"name": "name",
|
|
132049
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
131696
|
+
"name": "icon-name",
|
|
132050
131697
|
"type": {
|
|
132051
131698
|
"text": "string"
|
|
132052
131699
|
},
|
|
132053
|
-
"
|
|
131700
|
+
"default": "''",
|
|
131701
|
+
"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.",
|
|
131702
|
+
"fieldName": "iconName",
|
|
132054
131703
|
"inheritedFrom": {
|
|
132055
|
-
"name": "
|
|
132056
|
-
"module": "
|
|
131704
|
+
"name": "SbbIconNameMixin",
|
|
131705
|
+
"module": "icon/icon-name-mixin.js"
|
|
132057
131706
|
}
|
|
132058
131707
|
}
|
|
132059
131708
|
],
|
|
@@ -132063,15 +131712,15 @@
|
|
|
132063
131712
|
"module": "core/mixins.js"
|
|
132064
131713
|
},
|
|
132065
131714
|
{
|
|
132066
|
-
"name": "
|
|
132067
|
-
"module": "
|
|
131715
|
+
"name": "SbbIconNameMixin",
|
|
131716
|
+
"module": "icon.js"
|
|
132068
131717
|
}
|
|
132069
131718
|
],
|
|
132070
131719
|
"superclass": {
|
|
132071
131720
|
"name": "SbbElement",
|
|
132072
131721
|
"module": "core/base-elements.js"
|
|
132073
131722
|
},
|
|
132074
|
-
"tagName": "sbb-toggle",
|
|
131723
|
+
"tagName": "sbb-toggle-option",
|
|
132075
131724
|
"customElement": true,
|
|
132076
131725
|
"classGenerics": "T = string"
|
|
132077
131726
|
}
|
|
@@ -132079,30 +131728,26 @@
|
|
|
132079
131728
|
"exports": [
|
|
132080
131729
|
{
|
|
132081
131730
|
"kind": "js",
|
|
132082
|
-
"name": "
|
|
131731
|
+
"name": "SbbToggleOptionElement",
|
|
132083
131732
|
"declaration": {
|
|
132084
|
-
"name": "
|
|
132085
|
-
"module": "toggle/toggle/toggle.component.js"
|
|
131733
|
+
"name": "SbbToggleOptionElement",
|
|
131734
|
+
"module": "toggle/toggle-option/toggle-option.component.js"
|
|
132086
131735
|
}
|
|
132087
131736
|
}
|
|
132088
131737
|
]
|
|
132089
131738
|
},
|
|
132090
131739
|
{
|
|
132091
131740
|
"kind": "javascript-module",
|
|
132092
|
-
"path": "toggle/toggle
|
|
131741
|
+
"path": "toggle/toggle/toggle.component.js",
|
|
132093
131742
|
"declarations": [
|
|
132094
131743
|
{
|
|
132095
131744
|
"kind": "class",
|
|
132096
|
-
"description": "It
|
|
132097
|
-
"name": "
|
|
131745
|
+
"description": "It can be used as a container for two `sbb-toggle-option`, acting as a toggle button.",
|
|
131746
|
+
"name": "SbbToggleElement",
|
|
132098
131747
|
"slots": [
|
|
132099
131748
|
{
|
|
132100
|
-
"description": "Use the unnamed slot to add
|
|
131749
|
+
"description": "Use the unnamed slot to add `<sbb-toggle-option>` elements to the toggle.",
|
|
132101
131750
|
"name": ""
|
|
132102
|
-
},
|
|
132103
|
-
{
|
|
132104
|
-
"description": "Slot used to render the `sbb-icon`.",
|
|
132105
|
-
"name": "icon"
|
|
132106
131751
|
}
|
|
132107
131752
|
],
|
|
132108
131753
|
"members": [
|
|
@@ -132115,7 +131760,7 @@
|
|
|
132115
131760
|
"privacy": "public",
|
|
132116
131761
|
"static": true,
|
|
132117
131762
|
"readonly": true,
|
|
132118
|
-
"default": "'sbb-toggle
|
|
131763
|
+
"default": "'sbb-toggle'",
|
|
132119
131764
|
"inheritedFrom": {
|
|
132120
131765
|
"name": "SbbElement",
|
|
132121
131766
|
"module": "core/base-elements/element.js"
|
|
@@ -132130,18 +131775,41 @@
|
|
|
132130
131775
|
"privacy": "public",
|
|
132131
131776
|
"static": true,
|
|
132132
131777
|
"readonly": true,
|
|
132133
|
-
"default": "'
|
|
131778
|
+
"default": "'radiogroup'"
|
|
132134
131779
|
},
|
|
132135
131780
|
{
|
|
132136
131781
|
"kind": "field",
|
|
132137
|
-
"name": "
|
|
131782
|
+
"name": "events",
|
|
131783
|
+
"privacy": "public",
|
|
131784
|
+
"static": true,
|
|
131785
|
+
"readonly": true,
|
|
131786
|
+
"default": "{ change: 'change', }",
|
|
131787
|
+
"type": {
|
|
131788
|
+
"text": "{\n change: 'change',\n }"
|
|
131789
|
+
}
|
|
131790
|
+
},
|
|
131791
|
+
{
|
|
131792
|
+
"kind": "field",
|
|
131793
|
+
"name": "even",
|
|
132138
131794
|
"type": {
|
|
132139
131795
|
"text": "boolean"
|
|
132140
131796
|
},
|
|
132141
131797
|
"privacy": "public",
|
|
132142
131798
|
"default": "false",
|
|
132143
|
-
"description": "
|
|
132144
|
-
"attribute": "
|
|
131799
|
+
"description": "If true, set the width of the component fixed; if false,\nthe width is dynamic based on the label of the sbb-toggle-option.",
|
|
131800
|
+
"attribute": "even",
|
|
131801
|
+
"reflects": true
|
|
131802
|
+
},
|
|
131803
|
+
{
|
|
131804
|
+
"kind": "field",
|
|
131805
|
+
"name": "size",
|
|
131806
|
+
"type": {
|
|
131807
|
+
"text": "'s' | 'm'"
|
|
131808
|
+
},
|
|
131809
|
+
"privacy": "public",
|
|
131810
|
+
"description": "Size variant, either m or s.",
|
|
131811
|
+
"default": "'m' / 's' (lean)",
|
|
131812
|
+
"attribute": "size",
|
|
132145
131813
|
"reflects": true
|
|
132146
131814
|
},
|
|
132147
131815
|
{
|
|
@@ -132151,22 +131819,53 @@
|
|
|
132151
131819
|
"text": "(T = string) | null"
|
|
132152
131820
|
},
|
|
132153
131821
|
"privacy": "public",
|
|
132154
|
-
"
|
|
132155
|
-
"
|
|
132156
|
-
"
|
|
131822
|
+
"description": "The value of the toggle. It needs to be mutable since it is updated whenever\na new option is selected (see the `onToggleOptionSelect()` method).",
|
|
131823
|
+
"attribute": "value",
|
|
131824
|
+
"inheritedFrom": {
|
|
131825
|
+
"name": "SbbFormAssociatedMixin",
|
|
131826
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
131827
|
+
}
|
|
132157
131828
|
},
|
|
132158
131829
|
{
|
|
132159
131830
|
"kind": "field",
|
|
132160
|
-
"name": "
|
|
131831
|
+
"name": "_fallbackValue",
|
|
132161
131832
|
"type": {
|
|
132162
|
-
"text": "
|
|
131833
|
+
"text": "T | null"
|
|
132163
131834
|
},
|
|
132164
131835
|
"privacy": "private",
|
|
132165
131836
|
"default": "null"
|
|
132166
131837
|
},
|
|
131838
|
+
{
|
|
131839
|
+
"kind": "field",
|
|
131840
|
+
"name": "options",
|
|
131841
|
+
"type": {
|
|
131842
|
+
"text": "SbbToggleOptionElement<T>[]"
|
|
131843
|
+
},
|
|
131844
|
+
"privacy": "public",
|
|
131845
|
+
"description": "The child instances of sbb-toggle-option as an array.",
|
|
131846
|
+
"readonly": true
|
|
131847
|
+
},
|
|
132167
131848
|
{
|
|
132168
131849
|
"kind": "method",
|
|
132169
|
-
"name": "
|
|
131850
|
+
"name": "_readFormData",
|
|
131851
|
+
"privacy": "private",
|
|
131852
|
+
"return": {
|
|
131853
|
+
"type": {
|
|
131854
|
+
"text": "Promise<T>"
|
|
131855
|
+
}
|
|
131856
|
+
},
|
|
131857
|
+
"parameters": [
|
|
131858
|
+
{
|
|
131859
|
+
"name": "formData",
|
|
131860
|
+
"type": {
|
|
131861
|
+
"text": "FormData"
|
|
131862
|
+
}
|
|
131863
|
+
}
|
|
131864
|
+
]
|
|
131865
|
+
},
|
|
131866
|
+
{
|
|
131867
|
+
"kind": "method",
|
|
131868
|
+
"name": "_updateToggle",
|
|
132170
131869
|
"privacy": "private",
|
|
132171
131870
|
"return": {
|
|
132172
131871
|
"type": {
|
|
@@ -132176,7 +131875,25 @@
|
|
|
132176
131875
|
},
|
|
132177
131876
|
{
|
|
132178
131877
|
"kind": "method",
|
|
132179
|
-
"name": "
|
|
131878
|
+
"name": "_valueChanged",
|
|
131879
|
+
"privacy": "private",
|
|
131880
|
+
"return": {
|
|
131881
|
+
"type": {
|
|
131882
|
+
"text": "void"
|
|
131883
|
+
}
|
|
131884
|
+
},
|
|
131885
|
+
"parameters": [
|
|
131886
|
+
{
|
|
131887
|
+
"name": "value",
|
|
131888
|
+
"type": {
|
|
131889
|
+
"text": "T | null"
|
|
131890
|
+
}
|
|
131891
|
+
}
|
|
131892
|
+
]
|
|
131893
|
+
},
|
|
131894
|
+
{
|
|
131895
|
+
"kind": "method",
|
|
131896
|
+
"name": "_updateDisabled",
|
|
132180
131897
|
"privacy": "private",
|
|
132181
131898
|
"return": {
|
|
132182
131899
|
"type": {
|
|
@@ -132192,17 +131909,44 @@
|
|
|
132192
131909
|
"type": {
|
|
132193
131910
|
"text": "void"
|
|
132194
131911
|
}
|
|
132195
|
-
}
|
|
131912
|
+
},
|
|
131913
|
+
"description": "Called on user interaction (click or keyboard)"
|
|
132196
131914
|
},
|
|
132197
131915
|
{
|
|
132198
131916
|
"kind": "method",
|
|
132199
|
-
"name": "
|
|
131917
|
+
"name": "_handleKeyDown",
|
|
132200
131918
|
"privacy": "private",
|
|
132201
131919
|
"return": {
|
|
132202
131920
|
"type": {
|
|
132203
131921
|
"text": "void"
|
|
132204
131922
|
}
|
|
132205
|
-
}
|
|
131923
|
+
},
|
|
131924
|
+
"parameters": [
|
|
131925
|
+
{
|
|
131926
|
+
"name": "evt",
|
|
131927
|
+
"type": {
|
|
131928
|
+
"text": "KeyboardEvent"
|
|
131929
|
+
}
|
|
131930
|
+
}
|
|
131931
|
+
]
|
|
131932
|
+
},
|
|
131933
|
+
{
|
|
131934
|
+
"kind": "method",
|
|
131935
|
+
"name": "_selectAndFocusOption",
|
|
131936
|
+
"privacy": "private",
|
|
131937
|
+
"return": {
|
|
131938
|
+
"type": {
|
|
131939
|
+
"text": "void"
|
|
131940
|
+
}
|
|
131941
|
+
},
|
|
131942
|
+
"parameters": [
|
|
131943
|
+
{
|
|
131944
|
+
"name": "option",
|
|
131945
|
+
"type": {
|
|
131946
|
+
"text": "SbbToggleOptionElement<T> | undefined"
|
|
131947
|
+
}
|
|
131948
|
+
}
|
|
131949
|
+
]
|
|
132206
131950
|
},
|
|
132207
131951
|
{
|
|
132208
131952
|
"kind": "field",
|
|
@@ -132250,68 +131994,317 @@
|
|
|
132250
131994
|
},
|
|
132251
131995
|
{
|
|
132252
131996
|
"kind": "field",
|
|
132253
|
-
"name": "
|
|
131997
|
+
"name": "formAssociated",
|
|
131998
|
+
"type": {
|
|
131999
|
+
"text": "boolean"
|
|
132000
|
+
},
|
|
132001
|
+
"privacy": "public",
|
|
132002
|
+
"static": true,
|
|
132003
|
+
"default": "true",
|
|
132004
|
+
"inheritedFrom": {
|
|
132005
|
+
"name": "SbbFormAssociatedMixin",
|
|
132006
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132007
|
+
}
|
|
132008
|
+
},
|
|
132009
|
+
{
|
|
132010
|
+
"kind": "field",
|
|
132011
|
+
"name": "form",
|
|
132012
|
+
"type": {
|
|
132013
|
+
"text": "HTMLFormElement | null"
|
|
132014
|
+
},
|
|
132015
|
+
"privacy": "public",
|
|
132016
|
+
"description": "Returns the form owner of this element.",
|
|
132017
|
+
"readonly": true,
|
|
132018
|
+
"inheritedFrom": {
|
|
132019
|
+
"name": "SbbFormAssociatedMixin",
|
|
132020
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132021
|
+
}
|
|
132022
|
+
},
|
|
132023
|
+
{
|
|
132024
|
+
"kind": "field",
|
|
132025
|
+
"name": "name",
|
|
132026
|
+
"privacy": "public",
|
|
132027
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
132254
132028
|
"type": {
|
|
132255
132029
|
"text": "string"
|
|
132256
132030
|
},
|
|
132031
|
+
"attribute": "name",
|
|
132032
|
+
"inheritedFrom": {
|
|
132033
|
+
"name": "SbbFormAssociatedMixin",
|
|
132034
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132035
|
+
}
|
|
132036
|
+
},
|
|
132037
|
+
{
|
|
132038
|
+
"kind": "field",
|
|
132039
|
+
"name": "validity",
|
|
132040
|
+
"type": {
|
|
132041
|
+
"text": "ValidityState"
|
|
132042
|
+
},
|
|
132257
132043
|
"privacy": "public",
|
|
132258
|
-
"
|
|
132259
|
-
"
|
|
132260
|
-
"attribute": "icon-name",
|
|
132044
|
+
"description": "Returns the ValidityState object for this element.",
|
|
132045
|
+
"readonly": true,
|
|
132261
132046
|
"inheritedFrom": {
|
|
132262
|
-
"name": "
|
|
132263
|
-
"module": "
|
|
132047
|
+
"name": "SbbFormAssociatedMixin",
|
|
132048
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132049
|
+
}
|
|
132050
|
+
},
|
|
132051
|
+
{
|
|
132052
|
+
"kind": "field",
|
|
132053
|
+
"name": "validationMessage",
|
|
132054
|
+
"type": {
|
|
132055
|
+
"text": "string"
|
|
132056
|
+
},
|
|
132057
|
+
"privacy": "public",
|
|
132058
|
+
"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.",
|
|
132059
|
+
"readonly": true,
|
|
132060
|
+
"inheritedFrom": {
|
|
132061
|
+
"name": "SbbFormAssociatedMixin",
|
|
132062
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132063
|
+
}
|
|
132064
|
+
},
|
|
132065
|
+
{
|
|
132066
|
+
"kind": "field",
|
|
132067
|
+
"name": "willValidate",
|
|
132068
|
+
"type": {
|
|
132069
|
+
"text": "boolean"
|
|
132070
|
+
},
|
|
132071
|
+
"privacy": "public",
|
|
132072
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
132073
|
+
"readonly": true,
|
|
132074
|
+
"inheritedFrom": {
|
|
132075
|
+
"name": "SbbFormAssociatedMixin",
|
|
132076
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132077
|
+
}
|
|
132078
|
+
},
|
|
132079
|
+
{
|
|
132080
|
+
"kind": "field",
|
|
132081
|
+
"name": "_validityStates",
|
|
132082
|
+
"privacy": "private",
|
|
132083
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
132084
|
+
"inheritedFrom": {
|
|
132085
|
+
"name": "SbbFormAssociatedMixin",
|
|
132086
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132087
|
+
}
|
|
132088
|
+
},
|
|
132089
|
+
{
|
|
132090
|
+
"kind": "field",
|
|
132091
|
+
"name": "formDisabled",
|
|
132092
|
+
"type": {
|
|
132093
|
+
"text": "boolean"
|
|
132094
|
+
},
|
|
132095
|
+
"privacy": "protected",
|
|
132096
|
+
"default": "false",
|
|
132097
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
132098
|
+
"inheritedFrom": {
|
|
132099
|
+
"name": "SbbFormAssociatedMixin",
|
|
132100
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132264
132101
|
}
|
|
132265
132102
|
},
|
|
132266
132103
|
{
|
|
132267
132104
|
"kind": "method",
|
|
132268
|
-
"name": "
|
|
132105
|
+
"name": "checkValidity",
|
|
132106
|
+
"privacy": "public",
|
|
132107
|
+
"return": {
|
|
132108
|
+
"type": {
|
|
132109
|
+
"text": "boolean"
|
|
132110
|
+
}
|
|
132111
|
+
},
|
|
132112
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
132113
|
+
"inheritedFrom": {
|
|
132114
|
+
"name": "SbbFormAssociatedMixin",
|
|
132115
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132116
|
+
}
|
|
132117
|
+
},
|
|
132118
|
+
{
|
|
132119
|
+
"kind": "method",
|
|
132120
|
+
"name": "reportValidity",
|
|
132121
|
+
"privacy": "public",
|
|
132122
|
+
"return": {
|
|
132123
|
+
"type": {
|
|
132124
|
+
"text": "boolean"
|
|
132125
|
+
}
|
|
132126
|
+
},
|
|
132127
|
+
"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.",
|
|
132128
|
+
"inheritedFrom": {
|
|
132129
|
+
"name": "SbbFormAssociatedMixin",
|
|
132130
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132131
|
+
}
|
|
132132
|
+
},
|
|
132133
|
+
{
|
|
132134
|
+
"kind": "method",
|
|
132135
|
+
"name": "setCustomValidity",
|
|
132136
|
+
"privacy": "public",
|
|
132137
|
+
"return": {
|
|
132138
|
+
"type": {
|
|
132139
|
+
"text": "void"
|
|
132140
|
+
}
|
|
132141
|
+
},
|
|
132142
|
+
"parameters": [
|
|
132143
|
+
{
|
|
132144
|
+
"name": "message",
|
|
132145
|
+
"type": {
|
|
132146
|
+
"text": "string"
|
|
132147
|
+
}
|
|
132148
|
+
}
|
|
132149
|
+
],
|
|
132150
|
+
"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.",
|
|
132151
|
+
"inheritedFrom": {
|
|
132152
|
+
"name": "SbbFormAssociatedMixin",
|
|
132153
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132154
|
+
}
|
|
132155
|
+
},
|
|
132156
|
+
{
|
|
132157
|
+
"kind": "method",
|
|
132158
|
+
"name": "_hasDisabledAncestor",
|
|
132159
|
+
"privacy": "private",
|
|
132160
|
+
"return": {
|
|
132161
|
+
"type": {
|
|
132162
|
+
"text": "boolean"
|
|
132163
|
+
}
|
|
132164
|
+
},
|
|
132165
|
+
"inheritedFrom": {
|
|
132166
|
+
"name": "SbbFormAssociatedMixin",
|
|
132167
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132168
|
+
}
|
|
132169
|
+
},
|
|
132170
|
+
{
|
|
132171
|
+
"kind": "method",
|
|
132172
|
+
"name": "updateFormValue",
|
|
132269
132173
|
"privacy": "protected",
|
|
132270
132174
|
"return": {
|
|
132271
132175
|
"type": {
|
|
132272
|
-
"text": "
|
|
132176
|
+
"text": "void"
|
|
132177
|
+
}
|
|
132178
|
+
},
|
|
132179
|
+
"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",
|
|
132180
|
+
"inheritedFrom": {
|
|
132181
|
+
"name": "SbbFormAssociatedMixin",
|
|
132182
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132183
|
+
}
|
|
132184
|
+
},
|
|
132185
|
+
{
|
|
132186
|
+
"kind": "method",
|
|
132187
|
+
"name": "formState",
|
|
132188
|
+
"privacy": "protected",
|
|
132189
|
+
"return": {
|
|
132190
|
+
"type": {
|
|
132191
|
+
"text": "FormRestoreState"
|
|
132192
|
+
}
|
|
132193
|
+
},
|
|
132194
|
+
"inheritedFrom": {
|
|
132195
|
+
"name": "SbbFormAssociatedMixin",
|
|
132196
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132197
|
+
}
|
|
132198
|
+
},
|
|
132199
|
+
{
|
|
132200
|
+
"kind": "method",
|
|
132201
|
+
"name": "setValidityFlag",
|
|
132202
|
+
"privacy": "protected",
|
|
132203
|
+
"return": {
|
|
132204
|
+
"type": {
|
|
132205
|
+
"text": "void"
|
|
132273
132206
|
}
|
|
132274
132207
|
},
|
|
132275
132208
|
"parameters": [
|
|
132276
132209
|
{
|
|
132277
|
-
"name": "
|
|
132278
|
-
"
|
|
132210
|
+
"name": "flag",
|
|
132211
|
+
"type": {
|
|
132212
|
+
"text": "T"
|
|
132213
|
+
}
|
|
132214
|
+
},
|
|
132215
|
+
{
|
|
132216
|
+
"name": "message",
|
|
132279
132217
|
"type": {
|
|
132280
132218
|
"text": "string"
|
|
132281
132219
|
}
|
|
132220
|
+
},
|
|
132221
|
+
{
|
|
132222
|
+
"name": "flagValue",
|
|
132223
|
+
"optional": true,
|
|
132224
|
+
"type": {
|
|
132225
|
+
"text": "ValidityStateFlags[T]"
|
|
132226
|
+
}
|
|
132282
132227
|
}
|
|
132283
132228
|
],
|
|
132229
|
+
"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).",
|
|
132284
132230
|
"inheritedFrom": {
|
|
132285
|
-
"name": "
|
|
132286
|
-
"module": "
|
|
132231
|
+
"name": "SbbFormAssociatedMixin",
|
|
132232
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132287
132233
|
}
|
|
132288
132234
|
},
|
|
132289
132235
|
{
|
|
132290
132236
|
"kind": "method",
|
|
132291
|
-
"name": "
|
|
132237
|
+
"name": "removeValidityFlag",
|
|
132292
132238
|
"privacy": "protected",
|
|
132293
132239
|
"return": {
|
|
132294
132240
|
"type": {
|
|
132295
|
-
"text": "
|
|
132241
|
+
"text": "void"
|
|
132296
132242
|
}
|
|
132297
132243
|
},
|
|
132244
|
+
"parameters": [
|
|
132245
|
+
{
|
|
132246
|
+
"name": "flag",
|
|
132247
|
+
"type": {
|
|
132248
|
+
"text": "T"
|
|
132249
|
+
}
|
|
132250
|
+
}
|
|
132251
|
+
],
|
|
132252
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
132298
132253
|
"inheritedFrom": {
|
|
132299
|
-
"name": "
|
|
132300
|
-
"module": "
|
|
132254
|
+
"name": "SbbFormAssociatedMixin",
|
|
132255
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132301
132256
|
}
|
|
132302
132257
|
},
|
|
132303
132258
|
{
|
|
132304
132259
|
"kind": "method",
|
|
132305
|
-
"name": "
|
|
132260
|
+
"name": "validate",
|
|
132261
|
+
"privacy": "protected",
|
|
132262
|
+
"return": {
|
|
132263
|
+
"type": {
|
|
132264
|
+
"text": "void"
|
|
132265
|
+
}
|
|
132266
|
+
},
|
|
132267
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
132268
|
+
"inheritedFrom": {
|
|
132269
|
+
"name": "SbbFormAssociatedMixin",
|
|
132270
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132271
|
+
}
|
|
132272
|
+
},
|
|
132273
|
+
{
|
|
132274
|
+
"kind": "method",
|
|
132275
|
+
"name": "shouldValidate",
|
|
132276
|
+
"privacy": "protected",
|
|
132277
|
+
"return": {
|
|
132278
|
+
"type": {
|
|
132279
|
+
"text": "boolean"
|
|
132280
|
+
}
|
|
132281
|
+
},
|
|
132282
|
+
"parameters": [
|
|
132283
|
+
{
|
|
132284
|
+
"name": "name",
|
|
132285
|
+
"type": {
|
|
132286
|
+
"text": "PropertyKey | undefined"
|
|
132287
|
+
}
|
|
132288
|
+
}
|
|
132289
|
+
],
|
|
132290
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
132291
|
+
"inheritedFrom": {
|
|
132292
|
+
"name": "SbbFormAssociatedMixin",
|
|
132293
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132294
|
+
}
|
|
132295
|
+
},
|
|
132296
|
+
{
|
|
132297
|
+
"kind": "method",
|
|
132298
|
+
"name": "_setInternalValidity",
|
|
132306
132299
|
"privacy": "private",
|
|
132307
132300
|
"return": {
|
|
132308
132301
|
"type": {
|
|
132309
|
-
"text": "
|
|
132302
|
+
"text": "void"
|
|
132310
132303
|
}
|
|
132311
132304
|
},
|
|
132312
132305
|
"inheritedFrom": {
|
|
132313
|
-
"name": "
|
|
132314
|
-
"module": "
|
|
132306
|
+
"name": "SbbFormAssociatedMixin",
|
|
132307
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132315
132308
|
}
|
|
132316
132309
|
},
|
|
132317
132310
|
{
|
|
@@ -132422,30 +132415,38 @@
|
|
|
132422
132415
|
],
|
|
132423
132416
|
"events": [
|
|
132424
132417
|
{
|
|
132418
|
+
"name": "change",
|
|
132425
132419
|
"type": {
|
|
132426
|
-
"text": "
|
|
132420
|
+
"text": "Event"
|
|
132427
132421
|
},
|
|
132428
|
-
"description": "The
|
|
132429
|
-
"name": "input"
|
|
132422
|
+
"description": "The change event is fired when the user modifies the element's value.\nUnlike the input event, the change event is not necessarily fired\nfor each alteration to an element's value."
|
|
132430
132423
|
}
|
|
132431
132424
|
],
|
|
132432
132425
|
"attributes": [
|
|
132433
132426
|
{
|
|
132434
|
-
"name": "
|
|
132427
|
+
"name": "even",
|
|
132435
132428
|
"type": {
|
|
132436
132429
|
"text": "boolean"
|
|
132437
132430
|
},
|
|
132438
132431
|
"default": "false",
|
|
132439
|
-
"description": "
|
|
132440
|
-
"fieldName": "
|
|
132432
|
+
"description": "If true, set the width of the component fixed; if false,\nthe width is dynamic based on the label of the sbb-toggle-option.",
|
|
132433
|
+
"fieldName": "even"
|
|
132434
|
+
},
|
|
132435
|
+
{
|
|
132436
|
+
"name": "size",
|
|
132437
|
+
"type": {
|
|
132438
|
+
"text": "'s' | 'm'"
|
|
132439
|
+
},
|
|
132440
|
+
"description": "Size variant, either m or s.",
|
|
132441
|
+
"default": "'m' / 's' (lean)",
|
|
132442
|
+
"fieldName": "size"
|
|
132441
132443
|
},
|
|
132442
132444
|
{
|
|
132443
132445
|
"name": "value",
|
|
132446
|
+
"description": "The value of the toggle. It needs to be mutable since it is updated whenever\na new option is selected (see the `onToggleOptionSelect()` method).",
|
|
132444
132447
|
"type": {
|
|
132445
132448
|
"text": "T | null"
|
|
132446
132449
|
},
|
|
132447
|
-
"default": "null",
|
|
132448
|
-
"description": "Value of toggle-option.",
|
|
132449
132450
|
"fieldName": "value"
|
|
132450
132451
|
},
|
|
132451
132452
|
{
|
|
@@ -132462,16 +132463,15 @@
|
|
|
132462
132463
|
}
|
|
132463
132464
|
},
|
|
132464
132465
|
{
|
|
132465
|
-
"name": "
|
|
132466
|
+
"name": "name",
|
|
132467
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
132466
132468
|
"type": {
|
|
132467
132469
|
"text": "string"
|
|
132468
132470
|
},
|
|
132469
|
-
"
|
|
132470
|
-
"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.",
|
|
132471
|
-
"fieldName": "iconName",
|
|
132471
|
+
"fieldName": "name",
|
|
132472
132472
|
"inheritedFrom": {
|
|
132473
|
-
"name": "
|
|
132474
|
-
"module": "
|
|
132473
|
+
"name": "SbbFormAssociatedMixin",
|
|
132474
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132475
132475
|
}
|
|
132476
132476
|
}
|
|
132477
132477
|
],
|
|
@@ -132481,15 +132481,15 @@
|
|
|
132481
132481
|
"module": "core/mixins.js"
|
|
132482
132482
|
},
|
|
132483
132483
|
{
|
|
132484
|
-
"name": "
|
|
132485
|
-
"module": "
|
|
132484
|
+
"name": "SbbFormAssociatedMixin",
|
|
132485
|
+
"module": "core/mixins.js"
|
|
132486
132486
|
}
|
|
132487
132487
|
],
|
|
132488
132488
|
"superclass": {
|
|
132489
132489
|
"name": "SbbElement",
|
|
132490
132490
|
"module": "core/base-elements.js"
|
|
132491
132491
|
},
|
|
132492
|
-
"tagName": "sbb-toggle
|
|
132492
|
+
"tagName": "sbb-toggle",
|
|
132493
132493
|
"customElement": true,
|
|
132494
132494
|
"classGenerics": "T = string"
|
|
132495
132495
|
}
|
|
@@ -132497,10 +132497,10 @@
|
|
|
132497
132497
|
"exports": [
|
|
132498
132498
|
{
|
|
132499
132499
|
"kind": "js",
|
|
132500
|
-
"name": "
|
|
132500
|
+
"name": "SbbToggleElement",
|
|
132501
132501
|
"declaration": {
|
|
132502
|
-
"name": "
|
|
132503
|
-
"module": "toggle/toggle
|
|
132502
|
+
"name": "SbbToggleElement",
|
|
132503
|
+
"module": "toggle/toggle/toggle.component.js"
|
|
132504
132504
|
}
|
|
132505
132505
|
}
|
|
132506
132506
|
]
|