@sbb-esta/lyne-elements-dev 5.0.0-next.2-dev.1777987469 → 5.0.0-next.2-dev.1778052073
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 +1495 -1495
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -115152,12 +115152,22 @@
|
|
|
115152
115152
|
},
|
|
115153
115153
|
{
|
|
115154
115154
|
"kind": "javascript-module",
|
|
115155
|
-
"path": "form-field/form-field-
|
|
115155
|
+
"path": "form-field/form-field-text-counter/form-field-text-counter.component.js",
|
|
115156
115156
|
"declarations": [
|
|
115157
115157
|
{
|
|
115158
115158
|
"kind": "class",
|
|
115159
|
-
"description": "
|
|
115160
|
-
"name": "
|
|
115159
|
+
"description": "It displays the remaining characters count for input/textarea elements with a configured\nmaxlength property in the `sbb-form-field`.\nThe component automatically uses the form field's inputElement and displays the remaining character count.\nIf the input is disabled, readonly or an `sbb-error` is present, the output is suppressed.",
|
|
115160
|
+
"name": "SbbFormFieldTextCounterElement",
|
|
115161
|
+
"slots": [
|
|
115162
|
+
{
|
|
115163
|
+
"description": "Use the unnamed slot to display a custom description text after the counter.",
|
|
115164
|
+
"name": "",
|
|
115165
|
+
"inheritedFrom": {
|
|
115166
|
+
"name": "SbbHintElement",
|
|
115167
|
+
"module": "form-field/hint/hint.component.js"
|
|
115168
|
+
}
|
|
115169
|
+
}
|
|
115170
|
+
],
|
|
115161
115171
|
"members": [
|
|
115162
115172
|
{
|
|
115163
115173
|
"kind": "field",
|
|
@@ -115168,63 +115178,54 @@
|
|
|
115168
115178
|
"privacy": "public",
|
|
115169
115179
|
"static": true,
|
|
115170
115180
|
"readonly": true,
|
|
115181
|
+
"default": "'sbb-form-field-text-counter'",
|
|
115171
115182
|
"inheritedFrom": {
|
|
115172
115183
|
"name": "SbbElement",
|
|
115173
115184
|
"module": "core/base-elements/element.js"
|
|
115174
|
-
}
|
|
115175
|
-
"default": "'sbb-form-field-clear'"
|
|
115185
|
+
}
|
|
115176
115186
|
},
|
|
115177
115187
|
{
|
|
115178
115188
|
"kind": "field",
|
|
115179
|
-
"name": "
|
|
115189
|
+
"name": "_remainingCharacters",
|
|
115180
115190
|
"type": {
|
|
115181
|
-
"text": "
|
|
115182
|
-
},
|
|
115183
|
-
"privacy": "public",
|
|
115184
|
-
"static": true,
|
|
115185
|
-
"inheritedFrom": {
|
|
115186
|
-
"name": "SbbElement",
|
|
115187
|
-
"module": "core/base-elements/element.js"
|
|
115191
|
+
"text": "number"
|
|
115188
115192
|
},
|
|
115189
|
-
"
|
|
115193
|
+
"privacy": "private",
|
|
115194
|
+
"default": "0"
|
|
115190
115195
|
},
|
|
115191
115196
|
{
|
|
115192
115197
|
"kind": "field",
|
|
115193
|
-
"name": "
|
|
115194
|
-
"
|
|
115195
|
-
|
|
115196
|
-
},
|
|
115197
|
-
"privacy": "private"
|
|
115198
|
+
"name": "_language",
|
|
115199
|
+
"privacy": "private",
|
|
115200
|
+
"default": "new SbbLanguageController(this)"
|
|
115198
115201
|
},
|
|
115199
115202
|
{
|
|
115200
115203
|
"kind": "field",
|
|
115201
|
-
"name": "
|
|
115204
|
+
"name": "_abortController",
|
|
115205
|
+
"type": {
|
|
115206
|
+
"text": "AbortController | null"
|
|
115207
|
+
},
|
|
115202
115208
|
"privacy": "private",
|
|
115203
|
-
"default": "
|
|
115209
|
+
"default": "null"
|
|
115204
115210
|
},
|
|
115205
115211
|
{
|
|
115206
115212
|
"kind": "method",
|
|
115207
|
-
"name": "
|
|
115213
|
+
"name": "_onInputUpdate",
|
|
115208
115214
|
"privacy": "private",
|
|
115209
115215
|
"return": {
|
|
115210
115216
|
"type": {
|
|
115211
|
-
"text": "
|
|
115217
|
+
"text": "void"
|
|
115212
115218
|
}
|
|
115213
115219
|
}
|
|
115214
115220
|
},
|
|
115215
115221
|
{
|
|
115216
115222
|
"kind": "method",
|
|
115217
|
-
"name": "
|
|
115218
|
-
"privacy": "
|
|
115223
|
+
"name": "_infoText",
|
|
115224
|
+
"privacy": "private",
|
|
115219
115225
|
"return": {
|
|
115220
115226
|
"type": {
|
|
115221
|
-
"text": "
|
|
115227
|
+
"text": "string"
|
|
115222
115228
|
}
|
|
115223
|
-
},
|
|
115224
|
-
"description": "Override this method to render the component template.",
|
|
115225
|
-
"inheritedFrom": {
|
|
115226
|
-
"name": "SbbActionBaseElement",
|
|
115227
|
-
"module": "core/base-elements/action-base-element.js"
|
|
115228
115229
|
}
|
|
115229
115230
|
},
|
|
115230
115231
|
{
|
|
@@ -115245,243 +115246,159 @@
|
|
|
115245
115246
|
},
|
|
115246
115247
|
{
|
|
115247
115248
|
"kind": "field",
|
|
115248
|
-
"name": "
|
|
115249
|
+
"name": "formField",
|
|
115249
115250
|
"type": {
|
|
115250
|
-
"text": "
|
|
115251
|
+
"text": "SbbFormFieldElement | null"
|
|
115251
115252
|
},
|
|
115252
|
-
"privacy": "
|
|
115253
|
-
"
|
|
115254
|
-
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
115253
|
+
"privacy": "protected",
|
|
115254
|
+
"default": "null",
|
|
115255
115255
|
"inheritedFrom": {
|
|
115256
|
-
"name": "
|
|
115257
|
-
"module": "
|
|
115256
|
+
"name": "SbbHintElement",
|
|
115257
|
+
"module": "form-field/hint/hint.component.js"
|
|
115258
115258
|
}
|
|
115259
115259
|
},
|
|
115260
115260
|
{
|
|
115261
115261
|
"kind": "field",
|
|
115262
|
-
"name": "
|
|
115262
|
+
"name": "['_$sbbElement$']",
|
|
115263
115263
|
"type": {
|
|
115264
|
-
"text": "
|
|
115265
|
-
},
|
|
115266
|
-
"privacy": "public",
|
|
115267
|
-
"inheritedFrom": {
|
|
115268
|
-
"name": "SbbButtonBaseElement",
|
|
115269
|
-
"module": "core/base-elements/button-base-element.js"
|
|
115264
|
+
"text": "boolean"
|
|
115270
115265
|
},
|
|
115271
|
-
"default": "''",
|
|
115272
|
-
"description": "Value of the form element.",
|
|
115273
|
-
"attribute": "value"
|
|
115274
|
-
},
|
|
115275
|
-
{
|
|
115276
|
-
"kind": "field",
|
|
115277
|
-
"name": "type",
|
|
115278
115266
|
"privacy": "public",
|
|
115279
|
-
"
|
|
115280
|
-
"default": "
|
|
115281
|
-
"type": {
|
|
115282
|
-
"text": "SbbButtonType"
|
|
115283
|
-
},
|
|
115284
|
-
"attribute": "type",
|
|
115267
|
+
"static": true,
|
|
115268
|
+
"default": "true",
|
|
115285
115269
|
"inheritedFrom": {
|
|
115286
|
-
"name": "
|
|
115287
|
-
"module": "core/base-elements/
|
|
115270
|
+
"name": "SbbElement",
|
|
115271
|
+
"module": "core/base-elements/element.js"
|
|
115288
115272
|
}
|
|
115289
115273
|
},
|
|
115290
115274
|
{
|
|
115291
115275
|
"kind": "field",
|
|
115292
|
-
"name": "
|
|
115276
|
+
"name": "elementDependencies",
|
|
115293
115277
|
"type": {
|
|
115294
|
-
"text": "
|
|
115278
|
+
"text": "SbbElementType[] | undefined"
|
|
115295
115279
|
},
|
|
115296
115280
|
"privacy": "public",
|
|
115297
|
-
"
|
|
115298
|
-
"inheritedFrom": {
|
|
115299
|
-
"name": "SbbButtonBaseElement",
|
|
115300
|
-
"module": "core/base-elements/button-base-element.js"
|
|
115301
|
-
},
|
|
115302
|
-
"attribute": "form"
|
|
115303
|
-
},
|
|
115304
|
-
{
|
|
115305
|
-
"kind": "field",
|
|
115306
|
-
"name": "_formId",
|
|
115307
|
-
"type": {
|
|
115308
|
-
"text": "string"
|
|
115309
|
-
},
|
|
115310
|
-
"privacy": "private",
|
|
115311
|
-
"default": "''",
|
|
115312
|
-
"inheritedFrom": {
|
|
115313
|
-
"name": "SbbButtonBaseElement",
|
|
115314
|
-
"module": "core/base-elements/button-base-element.js"
|
|
115315
|
-
}
|
|
115316
|
-
},
|
|
115317
|
-
{
|
|
115318
|
-
"kind": "field",
|
|
115319
|
-
"name": "_handleButtonClick",
|
|
115320
|
-
"privacy": "private",
|
|
115321
|
-
"inheritedFrom": {
|
|
115322
|
-
"name": "SbbButtonBaseElement",
|
|
115323
|
-
"module": "core/base-elements/button-base-element.js"
|
|
115324
|
-
}
|
|
115325
|
-
},
|
|
115326
|
-
{
|
|
115327
|
-
"kind": "method",
|
|
115328
|
-
"name": "_requestSubmit",
|
|
115329
|
-
"privacy": "private",
|
|
115330
|
-
"return": {
|
|
115331
|
-
"type": {
|
|
115332
|
-
"text": "void"
|
|
115333
|
-
}
|
|
115334
|
-
},
|
|
115335
|
-
"parameters": [
|
|
115336
|
-
{
|
|
115337
|
-
"name": "form",
|
|
115338
|
-
"type": {
|
|
115339
|
-
"text": "HTMLFormElement"
|
|
115340
|
-
}
|
|
115341
|
-
}
|
|
115342
|
-
],
|
|
115343
|
-
"inheritedFrom": {
|
|
115344
|
-
"name": "SbbButtonBaseElement",
|
|
115345
|
-
"module": "core/base-elements/button-base-element.js"
|
|
115346
|
-
}
|
|
115347
|
-
},
|
|
115348
|
-
{
|
|
115349
|
-
"kind": "field",
|
|
115350
|
-
"name": "_formKeyDown",
|
|
115351
|
-
"privacy": "private",
|
|
115281
|
+
"static": true,
|
|
115352
115282
|
"inheritedFrom": {
|
|
115353
|
-
"name": "
|
|
115354
|
-
"module": "core/base-elements/
|
|
115283
|
+
"name": "SbbElement",
|
|
115284
|
+
"module": "core/base-elements/element.js"
|
|
115355
115285
|
}
|
|
115356
115286
|
},
|
|
115357
115287
|
{
|
|
115358
115288
|
"kind": "field",
|
|
115359
|
-
"name": "
|
|
115289
|
+
"name": "role",
|
|
115360
115290
|
"type": {
|
|
115361
|
-
"text": "
|
|
115291
|
+
"text": "ElementInternals['role'] | undefined"
|
|
115362
115292
|
},
|
|
115363
115293
|
"privacy": "public",
|
|
115364
115294
|
"static": true,
|
|
115365
|
-
"default": "true",
|
|
115366
115295
|
"inheritedFrom": {
|
|
115367
|
-
"name": "
|
|
115368
|
-
"module": "core/
|
|
115296
|
+
"name": "SbbElement",
|
|
115297
|
+
"module": "core/base-elements/element.js"
|
|
115369
115298
|
}
|
|
115370
115299
|
},
|
|
115371
115300
|
{
|
|
115372
115301
|
"kind": "field",
|
|
115373
|
-
"name": "
|
|
115374
|
-
"privacy": "public",
|
|
115375
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
115302
|
+
"name": "_controllers",
|
|
115376
115303
|
"type": {
|
|
115377
|
-
"text": "
|
|
115304
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
115378
115305
|
},
|
|
115379
|
-
"
|
|
115306
|
+
"privacy": "private",
|
|
115380
115307
|
"inheritedFrom": {
|
|
115381
|
-
"name": "
|
|
115382
|
-
"module": "core/
|
|
115308
|
+
"name": "SbbElement",
|
|
115309
|
+
"module": "core/base-elements/element.js"
|
|
115383
115310
|
}
|
|
115384
115311
|
},
|
|
115385
115312
|
{
|
|
115386
115313
|
"kind": "field",
|
|
115387
|
-
"name": "
|
|
115314
|
+
"name": "_hydrationRequired",
|
|
115388
115315
|
"type": {
|
|
115389
|
-
"text": "
|
|
115316
|
+
"text": "boolean"
|
|
115390
115317
|
},
|
|
115391
|
-
"privacy": "
|
|
115392
|
-
"
|
|
115393
|
-
"readonly": true,
|
|
115318
|
+
"privacy": "private",
|
|
115319
|
+
"default": "!!this.shadowRoot",
|
|
115394
115320
|
"inheritedFrom": {
|
|
115395
|
-
"name": "
|
|
115396
|
-
"module": "core/
|
|
115321
|
+
"name": "SbbElement",
|
|
115322
|
+
"module": "core/base-elements/element.js"
|
|
115397
115323
|
}
|
|
115398
115324
|
},
|
|
115399
115325
|
{
|
|
115400
115326
|
"kind": "field",
|
|
115401
|
-
"name": "
|
|
115402
|
-
"
|
|
115403
|
-
|
|
115404
|
-
},
|
|
115405
|
-
"privacy": "public",
|
|
115406
|
-
"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.",
|
|
115407
|
-
"readonly": true,
|
|
115327
|
+
"name": "_hydrationComplete",
|
|
115328
|
+
"privacy": "private",
|
|
115329
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
115408
115330
|
"inheritedFrom": {
|
|
115409
|
-
"name": "
|
|
115410
|
-
"module": "core/
|
|
115331
|
+
"name": "SbbElement",
|
|
115332
|
+
"module": "core/base-elements/element.js"
|
|
115411
115333
|
}
|
|
115412
115334
|
},
|
|
115413
115335
|
{
|
|
115414
115336
|
"kind": "field",
|
|
115415
|
-
"name": "
|
|
115337
|
+
"name": "_resolveHydration",
|
|
115416
115338
|
"type": {
|
|
115417
|
-
"text": "boolean"
|
|
115339
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
115418
115340
|
},
|
|
115419
|
-
"privacy": "
|
|
115420
|
-
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
115421
|
-
"readonly": true,
|
|
115341
|
+
"privacy": "private",
|
|
115422
115342
|
"inheritedFrom": {
|
|
115423
|
-
"name": "
|
|
115424
|
-
"module": "core/
|
|
115343
|
+
"name": "SbbElement",
|
|
115344
|
+
"module": "core/base-elements/element.js"
|
|
115425
115345
|
}
|
|
115426
115346
|
},
|
|
115427
115347
|
{
|
|
115428
115348
|
"kind": "field",
|
|
115429
|
-
"name": "
|
|
115349
|
+
"name": "_textObserver",
|
|
115350
|
+
"type": {
|
|
115351
|
+
"text": "MutationObserver | undefined"
|
|
115352
|
+
},
|
|
115430
115353
|
"privacy": "private",
|
|
115431
|
-
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
115432
115354
|
"inheritedFrom": {
|
|
115433
|
-
"name": "
|
|
115434
|
-
"module": "core/
|
|
115355
|
+
"name": "SbbElement",
|
|
115356
|
+
"module": "core/base-elements/element.js"
|
|
115435
115357
|
}
|
|
115436
115358
|
},
|
|
115437
115359
|
{
|
|
115438
115360
|
"kind": "field",
|
|
115439
|
-
"name": "
|
|
115361
|
+
"name": "hydrationRequired",
|
|
115440
115362
|
"type": {
|
|
115441
115363
|
"text": "boolean"
|
|
115442
115364
|
},
|
|
115443
115365
|
"privacy": "protected",
|
|
115444
|
-
"
|
|
115445
|
-
"
|
|
115366
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
115367
|
+
"readonly": true,
|
|
115446
115368
|
"inheritedFrom": {
|
|
115447
|
-
"name": "
|
|
115448
|
-
"module": "core/
|
|
115449
|
-
}
|
|
115369
|
+
"name": "SbbElement",
|
|
115370
|
+
"module": "core/base-elements/element.js"
|
|
115371
|
+
},
|
|
115372
|
+
"default": "!!this.shadowRoot"
|
|
115450
115373
|
},
|
|
115451
115374
|
{
|
|
115452
115375
|
"kind": "method",
|
|
115453
|
-
"name": "
|
|
115454
|
-
"privacy": "
|
|
115376
|
+
"name": "finalizeStyles",
|
|
115377
|
+
"privacy": "protected",
|
|
115378
|
+
"static": true,
|
|
115455
115379
|
"return": {
|
|
115456
115380
|
"type": {
|
|
115457
|
-
"text": "
|
|
115381
|
+
"text": "CSSResultOrNative[]"
|
|
115458
115382
|
}
|
|
115459
115383
|
},
|
|
115460
|
-
"
|
|
115461
|
-
|
|
115462
|
-
|
|
115463
|
-
|
|
115464
|
-
|
|
115465
|
-
|
|
115466
|
-
{
|
|
115467
|
-
"kind": "method",
|
|
115468
|
-
"name": "reportValidity",
|
|
115469
|
-
"privacy": "public",
|
|
115470
|
-
"return": {
|
|
115471
|
-
"type": {
|
|
115472
|
-
"text": "boolean"
|
|
115384
|
+
"parameters": [
|
|
115385
|
+
{
|
|
115386
|
+
"name": "_styles",
|
|
115387
|
+
"type": {
|
|
115388
|
+
"text": "CSSResultGroup"
|
|
115389
|
+
}
|
|
115473
115390
|
}
|
|
115474
|
-
|
|
115475
|
-
"description": "
|
|
115391
|
+
],
|
|
115392
|
+
"description": "Collects `styles` from every class in the prototype chain (using `Object.hasOwn`)\nand merges them in top-down order. This means each class/mixin only needs to declare\nits **own** styles — there is no need to reference `super.styles`.\n\nLit's default behaviour already walks the chain, but fails for mixins where\n`super.styles` resolves to the wrong class. This override fixes that.",
|
|
115476
115393
|
"inheritedFrom": {
|
|
115477
|
-
"name": "
|
|
115478
|
-
"module": "core/
|
|
115394
|
+
"name": "SbbElement",
|
|
115395
|
+
"module": "core/base-elements/element.js"
|
|
115479
115396
|
}
|
|
115480
115397
|
},
|
|
115481
115398
|
{
|
|
115482
115399
|
"kind": "method",
|
|
115483
|
-
"name": "
|
|
115484
|
-
"privacy": "
|
|
115400
|
+
"name": "toggleState",
|
|
115401
|
+
"privacy": "protected",
|
|
115485
115402
|
"return": {
|
|
115486
115403
|
"type": {
|
|
115487
115404
|
"text": "void"
|
|
@@ -115489,65 +115406,56 @@
|
|
|
115489
115406
|
},
|
|
115490
115407
|
"parameters": [
|
|
115491
115408
|
{
|
|
115492
|
-
"name": "
|
|
115409
|
+
"name": "value",
|
|
115493
115410
|
"type": {
|
|
115494
115411
|
"text": "string"
|
|
115495
115412
|
}
|
|
115413
|
+
},
|
|
115414
|
+
{
|
|
115415
|
+
"name": "force",
|
|
115416
|
+
"optional": true,
|
|
115417
|
+
"type": {
|
|
115418
|
+
"text": "boolean"
|
|
115419
|
+
}
|
|
115496
115420
|
}
|
|
115497
115421
|
],
|
|
115498
|
-
"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.",
|
|
115499
115422
|
"inheritedFrom": {
|
|
115500
|
-
"name": "
|
|
115501
|
-
"module": "core/
|
|
115423
|
+
"name": "SbbElement",
|
|
115424
|
+
"module": "core/base-elements/element.js"
|
|
115502
115425
|
}
|
|
115503
115426
|
},
|
|
115504
115427
|
{
|
|
115505
115428
|
"kind": "method",
|
|
115506
|
-
"name": "
|
|
115429
|
+
"name": "_slotchangeHandler",
|
|
115507
115430
|
"privacy": "private",
|
|
115508
|
-
"return": {
|
|
115509
|
-
"type": {
|
|
115510
|
-
"text": "boolean"
|
|
115511
|
-
}
|
|
115512
|
-
},
|
|
115513
|
-
"inheritedFrom": {
|
|
115514
|
-
"name": "SbbFormAssociatedMixin",
|
|
115515
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
115516
|
-
}
|
|
115517
|
-
},
|
|
115518
|
-
{
|
|
115519
|
-
"kind": "method",
|
|
115520
|
-
"name": "updateFormValue",
|
|
115521
|
-
"privacy": "protected",
|
|
115522
115431
|
"return": {
|
|
115523
115432
|
"type": {
|
|
115524
115433
|
"text": "void"
|
|
115525
115434
|
}
|
|
115526
115435
|
},
|
|
115527
|
-
"
|
|
115528
|
-
|
|
115529
|
-
|
|
115530
|
-
|
|
115531
|
-
|
|
115532
|
-
|
|
115533
|
-
|
|
115534
|
-
|
|
115535
|
-
|
|
115536
|
-
|
|
115537
|
-
|
|
115538
|
-
|
|
115539
|
-
"text": "FormRestoreState"
|
|
115436
|
+
"parameters": [
|
|
115437
|
+
{
|
|
115438
|
+
"name": "event",
|
|
115439
|
+
"type": {
|
|
115440
|
+
"text": "Event"
|
|
115441
|
+
}
|
|
115442
|
+
},
|
|
115443
|
+
{
|
|
115444
|
+
"name": "slot",
|
|
115445
|
+
"type": {
|
|
115446
|
+
"text": "HTMLSlotElement"
|
|
115447
|
+
}
|
|
115540
115448
|
}
|
|
115541
|
-
|
|
115449
|
+
],
|
|
115542
115450
|
"inheritedFrom": {
|
|
115543
|
-
"name": "
|
|
115544
|
-
"module": "core/
|
|
115451
|
+
"name": "SbbElement",
|
|
115452
|
+
"module": "core/base-elements/element.js"
|
|
115545
115453
|
}
|
|
115546
115454
|
},
|
|
115547
115455
|
{
|
|
115548
115456
|
"kind": "method",
|
|
115549
|
-
"name": "
|
|
115550
|
-
"privacy": "
|
|
115457
|
+
"name": "_handleSlotChangeForSlottedState",
|
|
115458
|
+
"privacy": "private",
|
|
115551
115459
|
"return": {
|
|
115552
115460
|
"type": {
|
|
115553
115461
|
"text": "void"
|
|
@@ -115555,35 +115463,21 @@
|
|
|
115555
115463
|
},
|
|
115556
115464
|
"parameters": [
|
|
115557
115465
|
{
|
|
115558
|
-
"name": "
|
|
115559
|
-
"type": {
|
|
115560
|
-
"text": "T"
|
|
115561
|
-
}
|
|
115562
|
-
},
|
|
115563
|
-
{
|
|
115564
|
-
"name": "message",
|
|
115565
|
-
"type": {
|
|
115566
|
-
"text": "string"
|
|
115567
|
-
}
|
|
115568
|
-
},
|
|
115569
|
-
{
|
|
115570
|
-
"name": "flagValue",
|
|
115571
|
-
"optional": true,
|
|
115466
|
+
"name": "slot",
|
|
115572
115467
|
"type": {
|
|
115573
|
-
"text": "
|
|
115468
|
+
"text": "HTMLSlotElement"
|
|
115574
115469
|
}
|
|
115575
115470
|
}
|
|
115576
115471
|
],
|
|
115577
|
-
"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).",
|
|
115578
115472
|
"inheritedFrom": {
|
|
115579
|
-
"name": "
|
|
115580
|
-
"module": "core/
|
|
115473
|
+
"name": "SbbElement",
|
|
115474
|
+
"module": "core/base-elements/element.js"
|
|
115581
115475
|
}
|
|
115582
115476
|
},
|
|
115583
115477
|
{
|
|
115584
115478
|
"kind": "method",
|
|
115585
|
-
"name": "
|
|
115586
|
-
"privacy": "
|
|
115479
|
+
"name": "_updateSlottedState",
|
|
115480
|
+
"privacy": "private",
|
|
115587
115481
|
"return": {
|
|
115588
115482
|
"type": {
|
|
115589
115483
|
"text": "void"
|
|
@@ -115591,37 +115485,43 @@
|
|
|
115591
115485
|
},
|
|
115592
115486
|
"parameters": [
|
|
115593
115487
|
{
|
|
115594
|
-
"name": "
|
|
115488
|
+
"name": "slot",
|
|
115595
115489
|
"type": {
|
|
115596
|
-
"text": "
|
|
115490
|
+
"text": "HTMLSlotElement"
|
|
115597
115491
|
}
|
|
115598
115492
|
}
|
|
115599
115493
|
],
|
|
115600
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
115601
115494
|
"inheritedFrom": {
|
|
115602
|
-
"name": "
|
|
115603
|
-
"module": "core/
|
|
115495
|
+
"name": "SbbElement",
|
|
115496
|
+
"module": "core/base-elements/element.js"
|
|
115604
115497
|
}
|
|
115605
115498
|
},
|
|
115606
115499
|
{
|
|
115607
115500
|
"kind": "method",
|
|
115608
|
-
"name": "
|
|
115609
|
-
"privacy": "
|
|
115501
|
+
"name": "_observeTextNodesInSlot",
|
|
115502
|
+
"privacy": "private",
|
|
115610
115503
|
"return": {
|
|
115611
115504
|
"type": {
|
|
115612
115505
|
"text": "void"
|
|
115613
115506
|
}
|
|
115614
115507
|
},
|
|
115615
|
-
"
|
|
115508
|
+
"parameters": [
|
|
115509
|
+
{
|
|
115510
|
+
"name": "slot",
|
|
115511
|
+
"type": {
|
|
115512
|
+
"text": "HTMLSlotElement"
|
|
115513
|
+
}
|
|
115514
|
+
}
|
|
115515
|
+
],
|
|
115616
115516
|
"inheritedFrom": {
|
|
115617
|
-
"name": "
|
|
115618
|
-
"module": "core/
|
|
115517
|
+
"name": "SbbElement",
|
|
115518
|
+
"module": "core/base-elements/element.js"
|
|
115619
115519
|
}
|
|
115620
115520
|
},
|
|
115621
115521
|
{
|
|
115622
115522
|
"kind": "method",
|
|
115623
|
-
"name": "
|
|
115624
|
-
"privacy": "
|
|
115523
|
+
"name": "_hasSlottedContent",
|
|
115524
|
+
"privacy": "private",
|
|
115625
115525
|
"return": {
|
|
115626
115526
|
"type": {
|
|
115627
115527
|
"text": "boolean"
|
|
@@ -115629,140 +115529,259 @@
|
|
|
115629
115529
|
},
|
|
115630
115530
|
"parameters": [
|
|
115631
115531
|
{
|
|
115632
|
-
"name": "
|
|
115532
|
+
"name": "slot",
|
|
115633
115533
|
"type": {
|
|
115634
|
-
"text": "
|
|
115534
|
+
"text": "HTMLSlotElement"
|
|
115635
115535
|
}
|
|
115636
115536
|
}
|
|
115637
115537
|
],
|
|
115638
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
115639
115538
|
"inheritedFrom": {
|
|
115640
|
-
"name": "
|
|
115641
|
-
"module": "core/
|
|
115539
|
+
"name": "SbbElement",
|
|
115540
|
+
"module": "core/base-elements/element.js"
|
|
115642
115541
|
}
|
|
115643
|
-
}
|
|
115542
|
+
}
|
|
115543
|
+
],
|
|
115544
|
+
"superclass": {
|
|
115545
|
+
"name": "SbbHintElement",
|
|
115546
|
+
"module": "form-field/hint/hint.component.js"
|
|
115547
|
+
},
|
|
115548
|
+
"tagName": "sbb-form-field-text-counter",
|
|
115549
|
+
"customElement": true,
|
|
115550
|
+
"attributes": [
|
|
115644
115551
|
{
|
|
115645
|
-
"
|
|
115646
|
-
"
|
|
115647
|
-
|
|
115648
|
-
"return": {
|
|
115649
|
-
"type": {
|
|
115650
|
-
"text": "void"
|
|
115651
|
-
}
|
|
115552
|
+
"name": "negative",
|
|
115553
|
+
"type": {
|
|
115554
|
+
"text": "boolean"
|
|
115652
115555
|
},
|
|
115556
|
+
"default": "false",
|
|
115557
|
+
"description": "Negative coloring variant flag.",
|
|
115558
|
+
"fieldName": "negative",
|
|
115653
115559
|
"inheritedFrom": {
|
|
115654
|
-
"name": "
|
|
115655
|
-
"module": "core/mixins/
|
|
115560
|
+
"name": "SbbNegativeMixin",
|
|
115561
|
+
"module": "core/mixins/negative-mixin.js"
|
|
115656
115562
|
}
|
|
115657
|
-
}
|
|
115563
|
+
}
|
|
115564
|
+
]
|
|
115565
|
+
}
|
|
115566
|
+
],
|
|
115567
|
+
"exports": [
|
|
115568
|
+
{
|
|
115569
|
+
"kind": "js",
|
|
115570
|
+
"name": "SbbFormFieldTextCounterElement",
|
|
115571
|
+
"declaration": {
|
|
115572
|
+
"name": "SbbFormFieldTextCounterElement",
|
|
115573
|
+
"module": "form-field/form-field-text-counter/form-field-text-counter.component.js"
|
|
115574
|
+
}
|
|
115575
|
+
}
|
|
115576
|
+
]
|
|
115577
|
+
},
|
|
115578
|
+
{
|
|
115579
|
+
"kind": "javascript-module",
|
|
115580
|
+
"path": "form-field/form-field-clear/form-field-clear.component.js",
|
|
115581
|
+
"declarations": [
|
|
115582
|
+
{
|
|
115583
|
+
"kind": "class",
|
|
115584
|
+
"description": "Combined with `sbb-form-field`, it displays a button which clears the input value.",
|
|
115585
|
+
"name": "SbbFormFieldClearElement",
|
|
115586
|
+
"members": [
|
|
115658
115587
|
{
|
|
115659
115588
|
"kind": "field",
|
|
115660
|
-
"name": "
|
|
115589
|
+
"name": "elementName",
|
|
115661
115590
|
"type": {
|
|
115662
|
-
"text": "
|
|
115591
|
+
"text": "string"
|
|
115663
115592
|
},
|
|
115664
115593
|
"privacy": "public",
|
|
115665
115594
|
"static": true,
|
|
115595
|
+
"readonly": true,
|
|
115666
115596
|
"inheritedFrom": {
|
|
115667
115597
|
"name": "SbbElement",
|
|
115668
115598
|
"module": "core/base-elements/element.js"
|
|
115669
115599
|
},
|
|
115670
|
-
"
|
|
115671
|
-
"default": "'button'"
|
|
115600
|
+
"default": "'sbb-form-field-clear'"
|
|
115672
115601
|
},
|
|
115673
115602
|
{
|
|
115674
115603
|
"kind": "field",
|
|
115675
|
-
"name": "
|
|
115676
|
-
"
|
|
115677
|
-
|
|
115678
|
-
|
|
115679
|
-
|
|
115680
|
-
|
|
115681
|
-
"name": "event"
|
|
115682
|
-
}
|
|
115683
|
-
],
|
|
115604
|
+
"name": "elementDependencies",
|
|
115605
|
+
"type": {
|
|
115606
|
+
"text": "SbbElementType[]"
|
|
115607
|
+
},
|
|
115608
|
+
"privacy": "public",
|
|
115609
|
+
"static": true,
|
|
115684
115610
|
"inheritedFrom": {
|
|
115685
|
-
"name": "
|
|
115686
|
-
"module": "core/base-elements/
|
|
115687
|
-
}
|
|
115611
|
+
"name": "SbbElement",
|
|
115612
|
+
"module": "core/base-elements/element.js"
|
|
115613
|
+
},
|
|
115614
|
+
"default": "[SbbIconElement]"
|
|
115688
115615
|
},
|
|
115689
115616
|
{
|
|
115690
115617
|
"kind": "field",
|
|
115691
|
-
"name": "
|
|
115692
|
-
"
|
|
115693
|
-
|
|
115694
|
-
|
|
115695
|
-
|
|
115696
|
-
}
|
|
115618
|
+
"name": "_formField",
|
|
115619
|
+
"type": {
|
|
115620
|
+
"text": "SbbFormFieldElement | null | undefined"
|
|
115621
|
+
},
|
|
115622
|
+
"privacy": "private"
|
|
115697
115623
|
},
|
|
115698
115624
|
{
|
|
115699
115625
|
"kind": "field",
|
|
115700
|
-
"name": "
|
|
115626
|
+
"name": "_language",
|
|
115701
115627
|
"privacy": "private",
|
|
115702
|
-
"
|
|
115703
|
-
|
|
115704
|
-
|
|
115705
|
-
|
|
115706
|
-
|
|
115628
|
+
"default": "new SbbLanguageController(this)"
|
|
115629
|
+
},
|
|
115630
|
+
{
|
|
115631
|
+
"kind": "method",
|
|
115632
|
+
"name": "_handleClick",
|
|
115633
|
+
"privacy": "private",
|
|
115634
|
+
"return": {
|
|
115635
|
+
"type": {
|
|
115636
|
+
"text": "Promise<void>"
|
|
115707
115637
|
}
|
|
115708
|
-
|
|
115638
|
+
}
|
|
115639
|
+
},
|
|
115640
|
+
{
|
|
115641
|
+
"kind": "method",
|
|
115642
|
+
"name": "renderTemplate",
|
|
115643
|
+
"privacy": "protected",
|
|
115644
|
+
"return": {
|
|
115645
|
+
"type": {
|
|
115646
|
+
"text": "TemplateResult"
|
|
115647
|
+
}
|
|
115648
|
+
},
|
|
115649
|
+
"description": "Override this method to render the component template.",
|
|
115709
115650
|
"inheritedFrom": {
|
|
115710
|
-
"name": "
|
|
115711
|
-
"module": "core/base-elements/
|
|
115651
|
+
"name": "SbbActionBaseElement",
|
|
115652
|
+
"module": "core/base-elements/action-base-element.js"
|
|
115712
115653
|
}
|
|
115713
115654
|
},
|
|
115714
115655
|
{
|
|
115715
115656
|
"kind": "field",
|
|
115716
|
-
"name": "
|
|
115657
|
+
"name": "negative",
|
|
115658
|
+
"type": {
|
|
115659
|
+
"text": "boolean"
|
|
115660
|
+
},
|
|
115661
|
+
"privacy": "public",
|
|
115662
|
+
"default": "false",
|
|
115663
|
+
"description": "Negative coloring variant flag.",
|
|
115664
|
+
"attribute": "negative",
|
|
115665
|
+
"reflects": true,
|
|
115666
|
+
"inheritedFrom": {
|
|
115667
|
+
"name": "SbbNegativeMixin",
|
|
115668
|
+
"module": "core/mixins/negative-mixin.js"
|
|
115669
|
+
}
|
|
115670
|
+
},
|
|
115671
|
+
{
|
|
115672
|
+
"kind": "field",
|
|
115673
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
115674
|
+
"type": {
|
|
115675
|
+
"text": "array"
|
|
115676
|
+
},
|
|
115717
115677
|
"privacy": "private",
|
|
115678
|
+
"readonly": true,
|
|
115679
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
115718
115680
|
"inheritedFrom": {
|
|
115719
|
-
"name": "
|
|
115681
|
+
"name": "SbbButtonBaseElement",
|
|
115720
115682
|
"module": "core/base-elements/button-base-element.js"
|
|
115721
115683
|
}
|
|
115722
115684
|
},
|
|
115723
115685
|
{
|
|
115724
115686
|
"kind": "field",
|
|
115725
|
-
"name": "
|
|
115687
|
+
"name": "value",
|
|
115726
115688
|
"type": {
|
|
115727
|
-
"text": "
|
|
115689
|
+
"text": "string"
|
|
115728
115690
|
},
|
|
115729
|
-
"privacy": "
|
|
115730
|
-
"readonly": true,
|
|
115691
|
+
"privacy": "public",
|
|
115731
115692
|
"inheritedFrom": {
|
|
115732
|
-
"name": "
|
|
115733
|
-
"module": "core/base-elements/
|
|
115693
|
+
"name": "SbbButtonBaseElement",
|
|
115694
|
+
"module": "core/base-elements/button-base-element.js"
|
|
115695
|
+
},
|
|
115696
|
+
"default": "''",
|
|
115697
|
+
"description": "Value of the form element.",
|
|
115698
|
+
"attribute": "value"
|
|
115699
|
+
},
|
|
115700
|
+
{
|
|
115701
|
+
"kind": "field",
|
|
115702
|
+
"name": "type",
|
|
115703
|
+
"privacy": "public",
|
|
115704
|
+
"description": "The type attribute to use for the button.",
|
|
115705
|
+
"default": "'button'",
|
|
115706
|
+
"type": {
|
|
115707
|
+
"text": "SbbButtonType"
|
|
115708
|
+
},
|
|
115709
|
+
"attribute": "type",
|
|
115710
|
+
"inheritedFrom": {
|
|
115711
|
+
"name": "SbbButtonBaseElement",
|
|
115712
|
+
"module": "core/base-elements/button-base-element.js"
|
|
115734
115713
|
}
|
|
115735
115714
|
},
|
|
115736
115715
|
{
|
|
115737
115716
|
"kind": "field",
|
|
115738
|
-
"name": "
|
|
115717
|
+
"name": "form",
|
|
115739
115718
|
"type": {
|
|
115740
|
-
"text": "
|
|
115719
|
+
"text": "HTMLFormElement | null"
|
|
115741
115720
|
},
|
|
115742
|
-
"privacy": "
|
|
115743
|
-
"
|
|
115721
|
+
"privacy": "public",
|
|
115722
|
+
"description": "The `<form>` element to associate the button with.",
|
|
115744
115723
|
"inheritedFrom": {
|
|
115745
|
-
"name": "
|
|
115746
|
-
"module": "core/base-elements/
|
|
115724
|
+
"name": "SbbButtonBaseElement",
|
|
115725
|
+
"module": "core/base-elements/button-base-element.js"
|
|
115726
|
+
},
|
|
115727
|
+
"attribute": "form"
|
|
115728
|
+
},
|
|
115729
|
+
{
|
|
115730
|
+
"kind": "field",
|
|
115731
|
+
"name": "_formId",
|
|
115732
|
+
"type": {
|
|
115733
|
+
"text": "string"
|
|
115734
|
+
},
|
|
115735
|
+
"privacy": "private",
|
|
115736
|
+
"default": "''",
|
|
115737
|
+
"inheritedFrom": {
|
|
115738
|
+
"name": "SbbButtonBaseElement",
|
|
115739
|
+
"module": "core/base-elements/button-base-element.js"
|
|
115740
|
+
}
|
|
115741
|
+
},
|
|
115742
|
+
{
|
|
115743
|
+
"kind": "field",
|
|
115744
|
+
"name": "_handleButtonClick",
|
|
115745
|
+
"privacy": "private",
|
|
115746
|
+
"inheritedFrom": {
|
|
115747
|
+
"name": "SbbButtonBaseElement",
|
|
115748
|
+
"module": "core/base-elements/button-base-element.js"
|
|
115747
115749
|
}
|
|
115748
115750
|
},
|
|
115749
115751
|
{
|
|
115750
115752
|
"kind": "method",
|
|
115751
|
-
"name": "
|
|
115752
|
-
"privacy": "
|
|
115753
|
+
"name": "_requestSubmit",
|
|
115754
|
+
"privacy": "private",
|
|
115753
115755
|
"return": {
|
|
115754
115756
|
"type": {
|
|
115755
115757
|
"text": "void"
|
|
115756
115758
|
}
|
|
115757
115759
|
},
|
|
115760
|
+
"parameters": [
|
|
115761
|
+
{
|
|
115762
|
+
"name": "form",
|
|
115763
|
+
"type": {
|
|
115764
|
+
"text": "HTMLFormElement"
|
|
115765
|
+
}
|
|
115766
|
+
}
|
|
115767
|
+
],
|
|
115758
115768
|
"inheritedFrom": {
|
|
115759
|
-
"name": "
|
|
115760
|
-
"module": "core/base-elements/
|
|
115769
|
+
"name": "SbbButtonBaseElement",
|
|
115770
|
+
"module": "core/base-elements/button-base-element.js"
|
|
115761
115771
|
}
|
|
115762
115772
|
},
|
|
115763
115773
|
{
|
|
115764
115774
|
"kind": "field",
|
|
115765
|
-
"name": "
|
|
115775
|
+
"name": "_formKeyDown",
|
|
115776
|
+
"privacy": "private",
|
|
115777
|
+
"inheritedFrom": {
|
|
115778
|
+
"name": "SbbButtonBaseElement",
|
|
115779
|
+
"module": "core/base-elements/button-base-element.js"
|
|
115780
|
+
}
|
|
115781
|
+
},
|
|
115782
|
+
{
|
|
115783
|
+
"kind": "field",
|
|
115784
|
+
"name": "formAssociated",
|
|
115766
115785
|
"type": {
|
|
115767
115786
|
"text": "boolean"
|
|
115768
115787
|
},
|
|
@@ -115770,141 +115789,124 @@
|
|
|
115770
115789
|
"static": true,
|
|
115771
115790
|
"default": "true",
|
|
115772
115791
|
"inheritedFrom": {
|
|
115773
|
-
"name": "
|
|
115774
|
-
"module": "core/
|
|
115792
|
+
"name": "SbbFormAssociatedMixin",
|
|
115793
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
115775
115794
|
}
|
|
115776
115795
|
},
|
|
115777
115796
|
{
|
|
115778
115797
|
"kind": "field",
|
|
115779
|
-
"name": "
|
|
115798
|
+
"name": "name",
|
|
115799
|
+
"privacy": "public",
|
|
115800
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
115780
115801
|
"type": {
|
|
115781
|
-
"text": "
|
|
115802
|
+
"text": "string"
|
|
115782
115803
|
},
|
|
115783
|
-
"
|
|
115804
|
+
"attribute": "name",
|
|
115784
115805
|
"inheritedFrom": {
|
|
115785
|
-
"name": "
|
|
115786
|
-
"module": "core/
|
|
115806
|
+
"name": "SbbFormAssociatedMixin",
|
|
115807
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
115787
115808
|
}
|
|
115788
115809
|
},
|
|
115789
115810
|
{
|
|
115790
115811
|
"kind": "field",
|
|
115791
|
-
"name": "
|
|
115812
|
+
"name": "validity",
|
|
115792
115813
|
"type": {
|
|
115793
|
-
"text": "
|
|
115814
|
+
"text": "ValidityState"
|
|
115794
115815
|
},
|
|
115795
|
-
"privacy": "
|
|
115796
|
-
"
|
|
115816
|
+
"privacy": "public",
|
|
115817
|
+
"description": "Returns the ValidityState object for this element.",
|
|
115818
|
+
"readonly": true,
|
|
115797
115819
|
"inheritedFrom": {
|
|
115798
|
-
"name": "
|
|
115799
|
-
"module": "core/
|
|
115820
|
+
"name": "SbbFormAssociatedMixin",
|
|
115821
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
115800
115822
|
}
|
|
115801
115823
|
},
|
|
115802
115824
|
{
|
|
115803
115825
|
"kind": "field",
|
|
115804
|
-
"name": "
|
|
115805
|
-
"
|
|
115806
|
-
|
|
115826
|
+
"name": "validationMessage",
|
|
115827
|
+
"type": {
|
|
115828
|
+
"text": "string"
|
|
115829
|
+
},
|
|
115830
|
+
"privacy": "public",
|
|
115831
|
+
"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.",
|
|
115832
|
+
"readonly": true,
|
|
115807
115833
|
"inheritedFrom": {
|
|
115808
|
-
"name": "
|
|
115809
|
-
"module": "core/
|
|
115834
|
+
"name": "SbbFormAssociatedMixin",
|
|
115835
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
115810
115836
|
}
|
|
115811
115837
|
},
|
|
115812
115838
|
{
|
|
115813
115839
|
"kind": "field",
|
|
115814
|
-
"name": "
|
|
115840
|
+
"name": "willValidate",
|
|
115815
115841
|
"type": {
|
|
115816
|
-
"text": "
|
|
115842
|
+
"text": "boolean"
|
|
115817
115843
|
},
|
|
115818
|
-
"privacy": "
|
|
115844
|
+
"privacy": "public",
|
|
115845
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
115846
|
+
"readonly": true,
|
|
115819
115847
|
"inheritedFrom": {
|
|
115820
|
-
"name": "
|
|
115821
|
-
"module": "core/
|
|
115848
|
+
"name": "SbbFormAssociatedMixin",
|
|
115849
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
115822
115850
|
}
|
|
115823
115851
|
},
|
|
115824
115852
|
{
|
|
115825
115853
|
"kind": "field",
|
|
115826
|
-
"name": "
|
|
115827
|
-
"type": {
|
|
115828
|
-
"text": "MutationObserver | undefined"
|
|
115829
|
-
},
|
|
115854
|
+
"name": "_validityStates",
|
|
115830
115855
|
"privacy": "private",
|
|
115856
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
115831
115857
|
"inheritedFrom": {
|
|
115832
|
-
"name": "
|
|
115833
|
-
"module": "core/
|
|
115858
|
+
"name": "SbbFormAssociatedMixin",
|
|
115859
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
115834
115860
|
}
|
|
115835
115861
|
},
|
|
115836
115862
|
{
|
|
115837
115863
|
"kind": "field",
|
|
115838
|
-
"name": "
|
|
115864
|
+
"name": "formDisabled",
|
|
115839
115865
|
"type": {
|
|
115840
115866
|
"text": "boolean"
|
|
115841
115867
|
},
|
|
115842
115868
|
"privacy": "protected",
|
|
115843
|
-
"
|
|
115844
|
-
"
|
|
115869
|
+
"default": "false",
|
|
115870
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
115845
115871
|
"inheritedFrom": {
|
|
115846
|
-
"name": "
|
|
115847
|
-
"module": "core/
|
|
115848
|
-
}
|
|
115849
|
-
"default": "!!this.shadowRoot"
|
|
115872
|
+
"name": "SbbFormAssociatedMixin",
|
|
115873
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
115874
|
+
}
|
|
115850
115875
|
},
|
|
115851
115876
|
{
|
|
115852
115877
|
"kind": "method",
|
|
115853
|
-
"name": "
|
|
115854
|
-
"privacy": "
|
|
115855
|
-
"static": true,
|
|
115878
|
+
"name": "checkValidity",
|
|
115879
|
+
"privacy": "public",
|
|
115856
115880
|
"return": {
|
|
115857
115881
|
"type": {
|
|
115858
|
-
"text": "
|
|
115882
|
+
"text": "boolean"
|
|
115859
115883
|
}
|
|
115860
115884
|
},
|
|
115861
|
-
"
|
|
115862
|
-
{
|
|
115863
|
-
"name": "_styles",
|
|
115864
|
-
"type": {
|
|
115865
|
-
"text": "CSSResultGroup"
|
|
115866
|
-
}
|
|
115867
|
-
}
|
|
115868
|
-
],
|
|
115869
|
-
"description": "Collects `styles` from every class in the prototype chain (using `Object.hasOwn`)\nand merges them in top-down order. This means each class/mixin only needs to declare\nits **own** styles — there is no need to reference `super.styles`.\n\nLit's default behaviour already walks the chain, but fails for mixins where\n`super.styles` resolves to the wrong class. This override fixes that.",
|
|
115885
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
115870
115886
|
"inheritedFrom": {
|
|
115871
|
-
"name": "
|
|
115872
|
-
"module": "core/
|
|
115887
|
+
"name": "SbbFormAssociatedMixin",
|
|
115888
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
115873
115889
|
}
|
|
115874
115890
|
},
|
|
115875
115891
|
{
|
|
115876
115892
|
"kind": "method",
|
|
115877
|
-
"name": "
|
|
115878
|
-
"privacy": "
|
|
115893
|
+
"name": "reportValidity",
|
|
115894
|
+
"privacy": "public",
|
|
115879
115895
|
"return": {
|
|
115880
115896
|
"type": {
|
|
115881
|
-
"text": "
|
|
115897
|
+
"text": "boolean"
|
|
115882
115898
|
}
|
|
115883
115899
|
},
|
|
115884
|
-
"
|
|
115885
|
-
{
|
|
115886
|
-
"name": "value",
|
|
115887
|
-
"type": {
|
|
115888
|
-
"text": "string"
|
|
115889
|
-
}
|
|
115890
|
-
},
|
|
115891
|
-
{
|
|
115892
|
-
"name": "force",
|
|
115893
|
-
"optional": true,
|
|
115894
|
-
"type": {
|
|
115895
|
-
"text": "boolean"
|
|
115896
|
-
}
|
|
115897
|
-
}
|
|
115898
|
-
],
|
|
115900
|
+
"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.",
|
|
115899
115901
|
"inheritedFrom": {
|
|
115900
|
-
"name": "
|
|
115901
|
-
"module": "core/
|
|
115902
|
+
"name": "SbbFormAssociatedMixin",
|
|
115903
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
115902
115904
|
}
|
|
115903
115905
|
},
|
|
115904
115906
|
{
|
|
115905
115907
|
"kind": "method",
|
|
115906
|
-
"name": "
|
|
115907
|
-
"privacy": "
|
|
115908
|
+
"name": "setCustomValidity",
|
|
115909
|
+
"privacy": "public",
|
|
115908
115910
|
"return": {
|
|
115909
115911
|
"type": {
|
|
115910
115912
|
"text": "void"
|
|
@@ -115912,49 +115914,65 @@
|
|
|
115912
115914
|
},
|
|
115913
115915
|
"parameters": [
|
|
115914
115916
|
{
|
|
115915
|
-
"name": "
|
|
115916
|
-
"type": {
|
|
115917
|
-
"text": "Event"
|
|
115918
|
-
}
|
|
115919
|
-
},
|
|
115920
|
-
{
|
|
115921
|
-
"name": "slot",
|
|
115917
|
+
"name": "message",
|
|
115922
115918
|
"type": {
|
|
115923
|
-
"text": "
|
|
115919
|
+
"text": "string"
|
|
115924
115920
|
}
|
|
115925
115921
|
}
|
|
115926
115922
|
],
|
|
115923
|
+
"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.",
|
|
115927
115924
|
"inheritedFrom": {
|
|
115928
|
-
"name": "
|
|
115929
|
-
"module": "core/
|
|
115925
|
+
"name": "SbbFormAssociatedMixin",
|
|
115926
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
115930
115927
|
}
|
|
115931
115928
|
},
|
|
115932
115929
|
{
|
|
115933
115930
|
"kind": "method",
|
|
115934
|
-
"name": "
|
|
115931
|
+
"name": "_hasDisabledAncestor",
|
|
115935
115932
|
"privacy": "private",
|
|
115933
|
+
"return": {
|
|
115934
|
+
"type": {
|
|
115935
|
+
"text": "boolean"
|
|
115936
|
+
}
|
|
115937
|
+
},
|
|
115938
|
+
"inheritedFrom": {
|
|
115939
|
+
"name": "SbbFormAssociatedMixin",
|
|
115940
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
115941
|
+
}
|
|
115942
|
+
},
|
|
115943
|
+
{
|
|
115944
|
+
"kind": "method",
|
|
115945
|
+
"name": "updateFormValue",
|
|
115946
|
+
"privacy": "protected",
|
|
115936
115947
|
"return": {
|
|
115937
115948
|
"type": {
|
|
115938
115949
|
"text": "void"
|
|
115939
115950
|
}
|
|
115940
115951
|
},
|
|
115941
|
-
"
|
|
115942
|
-
|
|
115943
|
-
|
|
115944
|
-
|
|
115945
|
-
|
|
115946
|
-
|
|
115952
|
+
"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",
|
|
115953
|
+
"inheritedFrom": {
|
|
115954
|
+
"name": "SbbFormAssociatedMixin",
|
|
115955
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
115956
|
+
}
|
|
115957
|
+
},
|
|
115958
|
+
{
|
|
115959
|
+
"kind": "method",
|
|
115960
|
+
"name": "formState",
|
|
115961
|
+
"privacy": "protected",
|
|
115962
|
+
"return": {
|
|
115963
|
+
"type": {
|
|
115964
|
+
"text": "FormRestoreState"
|
|
115947
115965
|
}
|
|
115948
|
-
|
|
115966
|
+
},
|
|
115949
115967
|
"inheritedFrom": {
|
|
115950
|
-
"name": "
|
|
115951
|
-
"module": "core/
|
|
115968
|
+
"name": "SbbFormAssociatedMixin",
|
|
115969
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
115952
115970
|
}
|
|
115953
115971
|
},
|
|
115954
115972
|
{
|
|
115955
115973
|
"kind": "method",
|
|
115956
|
-
"name": "
|
|
115957
|
-
"privacy": "
|
|
115974
|
+
"name": "setValidityFlag",
|
|
115975
|
+
"privacy": "protected",
|
|
115958
115976
|
"return": {
|
|
115959
115977
|
"type": {
|
|
115960
115978
|
"text": "void"
|
|
@@ -115962,21 +115980,35 @@
|
|
|
115962
115980
|
},
|
|
115963
115981
|
"parameters": [
|
|
115964
115982
|
{
|
|
115965
|
-
"name": "
|
|
115983
|
+
"name": "flag",
|
|
115966
115984
|
"type": {
|
|
115967
|
-
"text": "
|
|
115985
|
+
"text": "T"
|
|
115986
|
+
}
|
|
115987
|
+
},
|
|
115988
|
+
{
|
|
115989
|
+
"name": "message",
|
|
115990
|
+
"type": {
|
|
115991
|
+
"text": "string"
|
|
115992
|
+
}
|
|
115993
|
+
},
|
|
115994
|
+
{
|
|
115995
|
+
"name": "flagValue",
|
|
115996
|
+
"optional": true,
|
|
115997
|
+
"type": {
|
|
115998
|
+
"text": "ValidityStateFlags[T]"
|
|
115968
115999
|
}
|
|
115969
116000
|
}
|
|
115970
116001
|
],
|
|
116002
|
+
"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).",
|
|
115971
116003
|
"inheritedFrom": {
|
|
115972
|
-
"name": "
|
|
115973
|
-
"module": "core/
|
|
116004
|
+
"name": "SbbFormAssociatedMixin",
|
|
116005
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
115974
116006
|
}
|
|
115975
116007
|
},
|
|
115976
116008
|
{
|
|
115977
116009
|
"kind": "method",
|
|
115978
|
-
"name": "
|
|
115979
|
-
"privacy": "
|
|
116010
|
+
"name": "removeValidityFlag",
|
|
116011
|
+
"privacy": "protected",
|
|
115980
116012
|
"return": {
|
|
115981
116013
|
"type": {
|
|
115982
116014
|
"text": "void"
|
|
@@ -115984,21 +116016,37 @@
|
|
|
115984
116016
|
},
|
|
115985
116017
|
"parameters": [
|
|
115986
116018
|
{
|
|
115987
|
-
"name": "
|
|
116019
|
+
"name": "flag",
|
|
115988
116020
|
"type": {
|
|
115989
|
-
"text": "
|
|
116021
|
+
"text": "T"
|
|
115990
116022
|
}
|
|
115991
116023
|
}
|
|
115992
116024
|
],
|
|
116025
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
115993
116026
|
"inheritedFrom": {
|
|
115994
|
-
"name": "
|
|
115995
|
-
"module": "core/
|
|
116027
|
+
"name": "SbbFormAssociatedMixin",
|
|
116028
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
115996
116029
|
}
|
|
115997
116030
|
},
|
|
115998
116031
|
{
|
|
115999
116032
|
"kind": "method",
|
|
116000
|
-
"name": "
|
|
116001
|
-
"privacy": "
|
|
116033
|
+
"name": "validate",
|
|
116034
|
+
"privacy": "protected",
|
|
116035
|
+
"return": {
|
|
116036
|
+
"type": {
|
|
116037
|
+
"text": "void"
|
|
116038
|
+
}
|
|
116039
|
+
},
|
|
116040
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
116041
|
+
"inheritedFrom": {
|
|
116042
|
+
"name": "SbbFormAssociatedMixin",
|
|
116043
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
116044
|
+
}
|
|
116045
|
+
},
|
|
116046
|
+
{
|
|
116047
|
+
"kind": "method",
|
|
116048
|
+
"name": "shouldValidate",
|
|
116049
|
+
"privacy": "protected",
|
|
116002
116050
|
"return": {
|
|
116003
116051
|
"type": {
|
|
116004
116052
|
"text": "boolean"
|
|
@@ -116006,229 +116054,135 @@
|
|
|
116006
116054
|
},
|
|
116007
116055
|
"parameters": [
|
|
116008
116056
|
{
|
|
116009
|
-
"name": "
|
|
116057
|
+
"name": "name",
|
|
116010
116058
|
"type": {
|
|
116011
|
-
"text": "
|
|
116059
|
+
"text": "PropertyKey | undefined"
|
|
116012
116060
|
}
|
|
116013
116061
|
}
|
|
116014
116062
|
],
|
|
116063
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
116015
116064
|
"inheritedFrom": {
|
|
116016
|
-
"name": "
|
|
116017
|
-
"module": "core/
|
|
116065
|
+
"name": "SbbFormAssociatedMixin",
|
|
116066
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
116018
116067
|
}
|
|
116019
|
-
}
|
|
116020
|
-
],
|
|
116021
|
-
"events": [
|
|
116022
|
-
{
|
|
116023
|
-
"type": {
|
|
116024
|
-
"text": "Event"
|
|
116025
|
-
},
|
|
116026
|
-
"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.",
|
|
116027
|
-
"name": "change"
|
|
116028
116068
|
},
|
|
116029
116069
|
{
|
|
116030
|
-
"
|
|
116031
|
-
|
|
116032
|
-
|
|
116033
|
-
"
|
|
116034
|
-
|
|
116035
|
-
|
|
116036
|
-
|
|
116037
|
-
"mixins": [
|
|
116038
|
-
{
|
|
116039
|
-
"name": "SbbNegativeMixin",
|
|
116040
|
-
"module": "core.js"
|
|
116041
|
-
}
|
|
116042
|
-
],
|
|
116043
|
-
"superclass": {
|
|
116044
|
-
"name": "SbbButtonBaseElement",
|
|
116045
|
-
"module": "core.js"
|
|
116046
|
-
},
|
|
116047
|
-
"tagName": "sbb-form-field-clear",
|
|
116048
|
-
"customElement": true,
|
|
116049
|
-
"attributes": [
|
|
116050
|
-
{
|
|
116051
|
-
"name": "negative",
|
|
116052
|
-
"type": {
|
|
116053
|
-
"text": "boolean"
|
|
116070
|
+
"kind": "method",
|
|
116071
|
+
"name": "_setInternalValidity",
|
|
116072
|
+
"privacy": "private",
|
|
116073
|
+
"return": {
|
|
116074
|
+
"type": {
|
|
116075
|
+
"text": "void"
|
|
116076
|
+
}
|
|
116054
116077
|
},
|
|
116055
|
-
"default": "false",
|
|
116056
|
-
"description": "Negative coloring variant flag.",
|
|
116057
|
-
"fieldName": "negative",
|
|
116058
116078
|
"inheritedFrom": {
|
|
116059
|
-
"name": "
|
|
116060
|
-
"module": "core/mixins/
|
|
116079
|
+
"name": "SbbFormAssociatedMixin",
|
|
116080
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
116061
116081
|
}
|
|
116062
116082
|
},
|
|
116063
116083
|
{
|
|
116064
|
-
"
|
|
116084
|
+
"kind": "field",
|
|
116085
|
+
"name": "role",
|
|
116065
116086
|
"type": {
|
|
116066
|
-
"text": "
|
|
116087
|
+
"text": "ElementInternals['role']"
|
|
116067
116088
|
},
|
|
116068
|
-
"
|
|
116069
|
-
"
|
|
116070
|
-
"fieldName": "value",
|
|
116089
|
+
"privacy": "public",
|
|
116090
|
+
"static": true,
|
|
116071
116091
|
"inheritedFrom": {
|
|
116072
|
-
"name": "
|
|
116092
|
+
"name": "SbbElement",
|
|
116093
|
+
"module": "core/base-elements/element.js"
|
|
116094
|
+
},
|
|
116095
|
+
"readonly": true,
|
|
116096
|
+
"default": "'button'"
|
|
116097
|
+
},
|
|
116098
|
+
{
|
|
116099
|
+
"kind": "field",
|
|
116100
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
116101
|
+
"privacy": "private",
|
|
116102
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
116103
|
+
"parameters": [
|
|
116104
|
+
{
|
|
116105
|
+
"description": "The origin event.",
|
|
116106
|
+
"name": "event"
|
|
116107
|
+
}
|
|
116108
|
+
],
|
|
116109
|
+
"inheritedFrom": {
|
|
116110
|
+
"name": "SbbButtonLikeBaseElement",
|
|
116073
116111
|
"module": "core/base-elements/button-base-element.js"
|
|
116074
116112
|
}
|
|
116075
116113
|
},
|
|
116076
116114
|
{
|
|
116077
|
-
"
|
|
116078
|
-
"
|
|
116079
|
-
"
|
|
116080
|
-
"type": {
|
|
116081
|
-
"text": "SbbButtonType"
|
|
116082
|
-
},
|
|
116083
|
-
"fieldName": "type",
|
|
116115
|
+
"kind": "field",
|
|
116116
|
+
"name": "_removeActiveMarker",
|
|
116117
|
+
"privacy": "private",
|
|
116084
116118
|
"inheritedFrom": {
|
|
116085
|
-
"name": "
|
|
116119
|
+
"name": "SbbButtonLikeBaseElement",
|
|
116086
116120
|
"module": "core/base-elements/button-base-element.js"
|
|
116087
116121
|
}
|
|
116088
116122
|
},
|
|
116089
116123
|
{
|
|
116090
|
-
"
|
|
116091
|
-
"
|
|
116092
|
-
"
|
|
116093
|
-
|
|
116094
|
-
|
|
116095
|
-
|
|
116124
|
+
"kind": "field",
|
|
116125
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
116126
|
+
"privacy": "private",
|
|
116127
|
+
"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.",
|
|
116128
|
+
"parameters": [
|
|
116129
|
+
{
|
|
116130
|
+
"description": "The origin event.",
|
|
116131
|
+
"name": "event"
|
|
116132
|
+
}
|
|
116133
|
+
],
|
|
116096
116134
|
"inheritedFrom": {
|
|
116097
|
-
"name": "
|
|
116135
|
+
"name": "SbbButtonLikeBaseElement",
|
|
116098
116136
|
"module": "core/base-elements/button-base-element.js"
|
|
116099
116137
|
}
|
|
116100
116138
|
},
|
|
116101
116139
|
{
|
|
116102
|
-
"
|
|
116103
|
-
"
|
|
116104
|
-
"
|
|
116105
|
-
"text": "string"
|
|
116106
|
-
},
|
|
116107
|
-
"fieldName": "name",
|
|
116108
|
-
"inheritedFrom": {
|
|
116109
|
-
"name": "SbbFormAssociatedMixin",
|
|
116110
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
116111
|
-
}
|
|
116112
|
-
}
|
|
116113
|
-
]
|
|
116114
|
-
}
|
|
116115
|
-
],
|
|
116116
|
-
"exports": [
|
|
116117
|
-
{
|
|
116118
|
-
"kind": "js",
|
|
116119
|
-
"name": "SbbFormFieldClearElement",
|
|
116120
|
-
"declaration": {
|
|
116121
|
-
"name": "SbbFormFieldClearElement",
|
|
116122
|
-
"module": "form-field/form-field-clear/form-field-clear.component.js"
|
|
116123
|
-
}
|
|
116124
|
-
}
|
|
116125
|
-
]
|
|
116126
|
-
},
|
|
116127
|
-
{
|
|
116128
|
-
"kind": "javascript-module",
|
|
116129
|
-
"path": "form-field/form-field-text-counter/form-field-text-counter.component.js",
|
|
116130
|
-
"declarations": [
|
|
116131
|
-
{
|
|
116132
|
-
"kind": "class",
|
|
116133
|
-
"description": "It displays the remaining characters count for input/textarea elements with a configured\nmaxlength property in the `sbb-form-field`.\nThe component automatically uses the form field's inputElement and displays the remaining character count.\nIf the input is disabled, readonly or an `sbb-error` is present, the output is suppressed.",
|
|
116134
|
-
"name": "SbbFormFieldTextCounterElement",
|
|
116135
|
-
"slots": [
|
|
116136
|
-
{
|
|
116137
|
-
"description": "Use the unnamed slot to display a custom description text after the counter.",
|
|
116138
|
-
"name": "",
|
|
116140
|
+
"kind": "field",
|
|
116141
|
+
"name": "_dispatchClickEvent",
|
|
116142
|
+
"privacy": "private",
|
|
116139
116143
|
"inheritedFrom": {
|
|
116140
|
-
"name": "
|
|
116141
|
-
"module": "
|
|
116144
|
+
"name": "SbbButtonLikeBaseElement",
|
|
116145
|
+
"module": "core/base-elements/button-base-element.js"
|
|
116142
116146
|
}
|
|
116143
|
-
}
|
|
116144
|
-
],
|
|
116145
|
-
"members": [
|
|
116147
|
+
},
|
|
116146
116148
|
{
|
|
116147
116149
|
"kind": "field",
|
|
116148
|
-
"name": "
|
|
116150
|
+
"name": "maybeDisabled",
|
|
116149
116151
|
"type": {
|
|
116150
|
-
"text": "
|
|
116152
|
+
"text": "boolean | undefined"
|
|
116151
116153
|
},
|
|
116152
|
-
"privacy": "
|
|
116153
|
-
"static": true,
|
|
116154
|
+
"privacy": "protected",
|
|
116154
116155
|
"readonly": true,
|
|
116155
|
-
"default": "'sbb-form-field-text-counter'",
|
|
116156
116156
|
"inheritedFrom": {
|
|
116157
|
-
"name": "
|
|
116158
|
-
"module": "core/base-elements/element.js"
|
|
116157
|
+
"name": "SbbActionBaseElement",
|
|
116158
|
+
"module": "core/base-elements/action-base-element.js"
|
|
116159
116159
|
}
|
|
116160
116160
|
},
|
|
116161
116161
|
{
|
|
116162
116162
|
"kind": "field",
|
|
116163
|
-
"name": "
|
|
116164
|
-
"type": {
|
|
116165
|
-
"text": "number"
|
|
116166
|
-
},
|
|
116167
|
-
"privacy": "private",
|
|
116168
|
-
"default": "0"
|
|
116169
|
-
},
|
|
116170
|
-
{
|
|
116171
|
-
"kind": "field",
|
|
116172
|
-
"name": "_language",
|
|
116173
|
-
"privacy": "private",
|
|
116174
|
-
"default": "new SbbLanguageController(this)"
|
|
116175
|
-
},
|
|
116176
|
-
{
|
|
116177
|
-
"kind": "field",
|
|
116178
|
-
"name": "_abortController",
|
|
116163
|
+
"name": "maybeDisabledInteractive",
|
|
116179
116164
|
"type": {
|
|
116180
|
-
"text": "
|
|
116165
|
+
"text": "boolean | undefined"
|
|
116181
116166
|
},
|
|
116182
|
-
"privacy": "
|
|
116183
|
-
"
|
|
116184
|
-
|
|
116185
|
-
|
|
116186
|
-
|
|
116187
|
-
"name": "_onInputUpdate",
|
|
116188
|
-
"privacy": "private",
|
|
116189
|
-
"return": {
|
|
116190
|
-
"type": {
|
|
116191
|
-
"text": "void"
|
|
116192
|
-
}
|
|
116167
|
+
"privacy": "protected",
|
|
116168
|
+
"readonly": true,
|
|
116169
|
+
"inheritedFrom": {
|
|
116170
|
+
"name": "SbbActionBaseElement",
|
|
116171
|
+
"module": "core/base-elements/action-base-element.js"
|
|
116193
116172
|
}
|
|
116194
116173
|
},
|
|
116195
116174
|
{
|
|
116196
116175
|
"kind": "method",
|
|
116197
|
-
"name": "
|
|
116198
|
-
"privacy": "
|
|
116176
|
+
"name": "setupBaseEventHandlers",
|
|
116177
|
+
"privacy": "protected",
|
|
116199
116178
|
"return": {
|
|
116200
116179
|
"type": {
|
|
116201
|
-
"text": "
|
|
116180
|
+
"text": "void"
|
|
116202
116181
|
}
|
|
116203
|
-
}
|
|
116204
|
-
},
|
|
116205
|
-
{
|
|
116206
|
-
"kind": "field",
|
|
116207
|
-
"name": "negative",
|
|
116208
|
-
"type": {
|
|
116209
|
-
"text": "boolean"
|
|
116210
|
-
},
|
|
116211
|
-
"privacy": "public",
|
|
116212
|
-
"default": "false",
|
|
116213
|
-
"description": "Negative coloring variant flag.",
|
|
116214
|
-
"attribute": "negative",
|
|
116215
|
-
"reflects": true,
|
|
116216
|
-
"inheritedFrom": {
|
|
116217
|
-
"name": "SbbNegativeMixin",
|
|
116218
|
-
"module": "core/mixins/negative-mixin.js"
|
|
116219
|
-
}
|
|
116220
|
-
},
|
|
116221
|
-
{
|
|
116222
|
-
"kind": "field",
|
|
116223
|
-
"name": "formField",
|
|
116224
|
-
"type": {
|
|
116225
|
-
"text": "SbbFormFieldElement | null"
|
|
116226
116182
|
},
|
|
116227
|
-
"privacy": "protected",
|
|
116228
|
-
"default": "null",
|
|
116229
116183
|
"inheritedFrom": {
|
|
116230
|
-
"name": "
|
|
116231
|
-
"module": "
|
|
116184
|
+
"name": "SbbActionBaseElement",
|
|
116185
|
+
"module": "core/base-elements/action-base-element.js"
|
|
116232
116186
|
}
|
|
116233
116187
|
},
|
|
116234
116188
|
{
|
|
@@ -116245,32 +116199,6 @@
|
|
|
116245
116199
|
"module": "core/base-elements/element.js"
|
|
116246
116200
|
}
|
|
116247
116201
|
},
|
|
116248
|
-
{
|
|
116249
|
-
"kind": "field",
|
|
116250
|
-
"name": "elementDependencies",
|
|
116251
|
-
"type": {
|
|
116252
|
-
"text": "SbbElementType[] | undefined"
|
|
116253
|
-
},
|
|
116254
|
-
"privacy": "public",
|
|
116255
|
-
"static": true,
|
|
116256
|
-
"inheritedFrom": {
|
|
116257
|
-
"name": "SbbElement",
|
|
116258
|
-
"module": "core/base-elements/element.js"
|
|
116259
|
-
}
|
|
116260
|
-
},
|
|
116261
|
-
{
|
|
116262
|
-
"kind": "field",
|
|
116263
|
-
"name": "role",
|
|
116264
|
-
"type": {
|
|
116265
|
-
"text": "ElementInternals['role'] | undefined"
|
|
116266
|
-
},
|
|
116267
|
-
"privacy": "public",
|
|
116268
|
-
"static": true,
|
|
116269
|
-
"inheritedFrom": {
|
|
116270
|
-
"name": "SbbElement",
|
|
116271
|
-
"module": "core/base-elements/element.js"
|
|
116272
|
-
}
|
|
116273
|
-
},
|
|
116274
116202
|
{
|
|
116275
116203
|
"kind": "field",
|
|
116276
116204
|
"name": "_controllers",
|
|
@@ -116515,11 +116443,33 @@
|
|
|
116515
116443
|
}
|
|
116516
116444
|
}
|
|
116517
116445
|
],
|
|
116446
|
+
"events": [
|
|
116447
|
+
{
|
|
116448
|
+
"type": {
|
|
116449
|
+
"text": "Event"
|
|
116450
|
+
},
|
|
116451
|
+
"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.",
|
|
116452
|
+
"name": "change"
|
|
116453
|
+
},
|
|
116454
|
+
{
|
|
116455
|
+
"type": {
|
|
116456
|
+
"text": "InputEvent"
|
|
116457
|
+
},
|
|
116458
|
+
"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.",
|
|
116459
|
+
"name": "input"
|
|
116460
|
+
}
|
|
116461
|
+
],
|
|
116462
|
+
"mixins": [
|
|
116463
|
+
{
|
|
116464
|
+
"name": "SbbNegativeMixin",
|
|
116465
|
+
"module": "core.js"
|
|
116466
|
+
}
|
|
116467
|
+
],
|
|
116518
116468
|
"superclass": {
|
|
116519
|
-
"name": "
|
|
116520
|
-
"module": "
|
|
116469
|
+
"name": "SbbButtonBaseElement",
|
|
116470
|
+
"module": "core.js"
|
|
116521
116471
|
},
|
|
116522
|
-
"tagName": "sbb-form-field-
|
|
116472
|
+
"tagName": "sbb-form-field-clear",
|
|
116523
116473
|
"customElement": true,
|
|
116524
116474
|
"attributes": [
|
|
116525
116475
|
{
|
|
@@ -116534,6 +116484,56 @@
|
|
|
116534
116484
|
"name": "SbbNegativeMixin",
|
|
116535
116485
|
"module": "core/mixins/negative-mixin.js"
|
|
116536
116486
|
}
|
|
116487
|
+
},
|
|
116488
|
+
{
|
|
116489
|
+
"name": "value",
|
|
116490
|
+
"type": {
|
|
116491
|
+
"text": "string"
|
|
116492
|
+
},
|
|
116493
|
+
"default": "''",
|
|
116494
|
+
"description": "Value of the form element.",
|
|
116495
|
+
"fieldName": "value",
|
|
116496
|
+
"inheritedFrom": {
|
|
116497
|
+
"name": "SbbButtonBaseElement",
|
|
116498
|
+
"module": "core/base-elements/button-base-element.js"
|
|
116499
|
+
}
|
|
116500
|
+
},
|
|
116501
|
+
{
|
|
116502
|
+
"name": "type",
|
|
116503
|
+
"description": "The type attribute to use for the button.",
|
|
116504
|
+
"default": "'button'",
|
|
116505
|
+
"type": {
|
|
116506
|
+
"text": "SbbButtonType"
|
|
116507
|
+
},
|
|
116508
|
+
"fieldName": "type",
|
|
116509
|
+
"inheritedFrom": {
|
|
116510
|
+
"name": "SbbButtonBaseElement",
|
|
116511
|
+
"module": "core/base-elements/button-base-element.js"
|
|
116512
|
+
}
|
|
116513
|
+
},
|
|
116514
|
+
{
|
|
116515
|
+
"name": "form",
|
|
116516
|
+
"description": "The `<form>` element to associate the button with.",
|
|
116517
|
+
"type": {
|
|
116518
|
+
"text": "HTMLFormElement | null"
|
|
116519
|
+
},
|
|
116520
|
+
"fieldName": "form",
|
|
116521
|
+
"inheritedFrom": {
|
|
116522
|
+
"name": "SbbButtonBaseElement",
|
|
116523
|
+
"module": "core/base-elements/button-base-element.js"
|
|
116524
|
+
}
|
|
116525
|
+
},
|
|
116526
|
+
{
|
|
116527
|
+
"name": "name",
|
|
116528
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
116529
|
+
"type": {
|
|
116530
|
+
"text": "string"
|
|
116531
|
+
},
|
|
116532
|
+
"fieldName": "name",
|
|
116533
|
+
"inheritedFrom": {
|
|
116534
|
+
"name": "SbbFormAssociatedMixin",
|
|
116535
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
116536
|
+
}
|
|
116537
116537
|
}
|
|
116538
116538
|
]
|
|
116539
116539
|
}
|
|
@@ -116541,10 +116541,10 @@
|
|
|
116541
116541
|
"exports": [
|
|
116542
116542
|
{
|
|
116543
116543
|
"kind": "js",
|
|
116544
|
-
"name": "
|
|
116544
|
+
"name": "SbbFormFieldClearElement",
|
|
116545
116545
|
"declaration": {
|
|
116546
|
-
"name": "
|
|
116547
|
-
"module": "form-field/form-field-
|
|
116546
|
+
"name": "SbbFormFieldClearElement",
|
|
116547
|
+
"module": "form-field/form-field-clear/form-field-clear.component.js"
|
|
116548
116548
|
}
|
|
116549
116549
|
}
|
|
116550
116550
|
]
|
|
@@ -131047,27 +131047,23 @@
|
|
|
131047
131047
|
},
|
|
131048
131048
|
{
|
|
131049
131049
|
"kind": "javascript-module",
|
|
131050
|
-
"path": "menu/menu
|
|
131050
|
+
"path": "menu/menu/menu.component.js",
|
|
131051
131051
|
"declarations": [
|
|
131052
131052
|
{
|
|
131053
131053
|
"kind": "class",
|
|
131054
|
-
"description": "It displays a
|
|
131055
|
-
"name": "
|
|
131054
|
+
"description": "It displays a contextual menu with one or more action element.",
|
|
131055
|
+
"name": "SbbMenuElement",
|
|
131056
131056
|
"cssProperties": [
|
|
131057
131057
|
{
|
|
131058
|
-
"description": "
|
|
131059
|
-
"name": "--sbb-menu-
|
|
131060
|
-
"default": "var(--sbb-
|
|
131058
|
+
"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`.",
|
|
131059
|
+
"name": "--sbb-menu-z-index",
|
|
131060
|
+
"default": "var(--sbb-overlay-default-z-index)"
|
|
131061
131061
|
}
|
|
131062
131062
|
],
|
|
131063
131063
|
"slots": [
|
|
131064
131064
|
{
|
|
131065
|
-
"description": "Use the unnamed slot to add
|
|
131065
|
+
"description": "Use the unnamed slot to add `sbb-menu-button`/`sbb-menu-link` or other elements to the menu.",
|
|
131066
131066
|
"name": ""
|
|
131067
|
-
},
|
|
131068
|
-
{
|
|
131069
|
-
"description": "Use this slot to provide an icon. If `icon-name` is set, a `sbb-icon` will be used.",
|
|
131070
|
-
"name": "icon"
|
|
131071
131067
|
}
|
|
131072
131068
|
],
|
|
131073
131069
|
"members": [
|
|
@@ -131084,13 +131080,13 @@
|
|
|
131084
131080
|
"name": "SbbElement",
|
|
131085
131081
|
"module": "core/base-elements/element.js"
|
|
131086
131082
|
},
|
|
131087
|
-
"default": "'sbb-menu
|
|
131083
|
+
"default": "'sbb-menu'"
|
|
131088
131084
|
},
|
|
131089
131085
|
{
|
|
131090
131086
|
"kind": "field",
|
|
131091
|
-
"name": "
|
|
131087
|
+
"name": "elementDependencies",
|
|
131092
131088
|
"type": {
|
|
131093
|
-
"text": "
|
|
131089
|
+
"text": "SbbElementType[]"
|
|
131094
131090
|
},
|
|
131095
131091
|
"privacy": "public",
|
|
131096
131092
|
"static": true,
|
|
@@ -131098,261 +131094,278 @@
|
|
|
131098
131094
|
"name": "SbbElement",
|
|
131099
131095
|
"module": "core/base-elements/element.js"
|
|
131100
131096
|
},
|
|
131101
|
-
"
|
|
131102
|
-
"default": "'menuitem'"
|
|
131097
|
+
"default": "[ SbbDividerElement, SbbMenuButtonElement, ]"
|
|
131103
131098
|
},
|
|
131104
131099
|
{
|
|
131105
131100
|
"kind": "field",
|
|
131106
|
-
"name": "
|
|
131101
|
+
"name": "role",
|
|
131107
131102
|
"type": {
|
|
131108
|
-
"text": "
|
|
131103
|
+
"text": "string"
|
|
131109
131104
|
},
|
|
131110
131105
|
"privacy": "public",
|
|
131111
|
-
"
|
|
131112
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
131113
|
-
"attribute": "disabled-interactive",
|
|
131114
|
-
"reflects": true,
|
|
131106
|
+
"static": true,
|
|
131115
131107
|
"inheritedFrom": {
|
|
131116
|
-
"name": "
|
|
131117
|
-
"module": "core/
|
|
131118
|
-
}
|
|
131108
|
+
"name": "SbbElement",
|
|
131109
|
+
"module": "core/base-elements/element.js"
|
|
131110
|
+
},
|
|
131111
|
+
"readonly": true,
|
|
131112
|
+
"default": "'menu'"
|
|
131119
131113
|
},
|
|
131120
131114
|
{
|
|
131121
131115
|
"kind": "field",
|
|
131122
|
-
"name": "
|
|
131116
|
+
"name": "trigger",
|
|
131117
|
+
"type": {
|
|
131118
|
+
"text": "HTMLElement | null"
|
|
131119
|
+
},
|
|
131123
131120
|
"privacy": "public",
|
|
131124
|
-
"
|
|
131125
|
-
"
|
|
131121
|
+
"default": "null",
|
|
131122
|
+
"description": "The element that will trigger the menu overlay.\n\nFor attribute usage, provide an id reference.",
|
|
131123
|
+
"attribute": "trigger"
|
|
131124
|
+
},
|
|
131125
|
+
{
|
|
131126
|
+
"kind": "field",
|
|
131127
|
+
"name": "_menu",
|
|
131126
131128
|
"type": {
|
|
131127
|
-
"text": "
|
|
131129
|
+
"text": "HTMLDivElement"
|
|
131128
131130
|
},
|
|
131129
|
-
"
|
|
131130
|
-
"reflects": true,
|
|
131131
|
-
"inheritedFrom": {
|
|
131132
|
-
"name": "SbbDisabledMixin",
|
|
131133
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
131134
|
-
}
|
|
131131
|
+
"privacy": "private"
|
|
131135
131132
|
},
|
|
131136
131133
|
{
|
|
131137
131134
|
"kind": "field",
|
|
131138
|
-
"name": "
|
|
131135
|
+
"name": "_triggerElement",
|
|
131136
|
+
"type": {
|
|
131137
|
+
"text": "HTMLElement | null"
|
|
131138
|
+
},
|
|
131139
131139
|
"privacy": "private",
|
|
131140
|
+
"default": "null"
|
|
131141
|
+
},
|
|
131142
|
+
{
|
|
131143
|
+
"kind": "field",
|
|
131144
|
+
"name": "_triggerAbortController",
|
|
131145
|
+
"type": {
|
|
131146
|
+
"text": "AbortController"
|
|
131147
|
+
},
|
|
131148
|
+
"privacy": "private"
|
|
131149
|
+
},
|
|
131150
|
+
{
|
|
131151
|
+
"kind": "field",
|
|
131152
|
+
"name": "_isPointerDownEventOnMenu",
|
|
131140
131153
|
"type": {
|
|
131141
131154
|
"text": "boolean"
|
|
131142
131155
|
},
|
|
131143
|
-
"
|
|
131144
|
-
"
|
|
131145
|
-
"name": "SbbDisabledMixin",
|
|
131146
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
131147
|
-
}
|
|
131156
|
+
"privacy": "private",
|
|
131157
|
+
"default": "false"
|
|
131148
131158
|
},
|
|
131149
131159
|
{
|
|
131150
|
-
"kind": "
|
|
131151
|
-
"name": "
|
|
131152
|
-
"
|
|
131153
|
-
|
|
131154
|
-
"type": {
|
|
131155
|
-
"text": "boolean"
|
|
131156
|
-
}
|
|
131160
|
+
"kind": "field",
|
|
131161
|
+
"name": "_windowEventsController",
|
|
131162
|
+
"type": {
|
|
131163
|
+
"text": "AbortController"
|
|
131157
131164
|
},
|
|
131158
|
-
"
|
|
131159
|
-
"inheritedFrom": {
|
|
131160
|
-
"name": "SbbDisabledMixin",
|
|
131161
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
131162
|
-
}
|
|
131165
|
+
"privacy": "private"
|
|
131163
131166
|
},
|
|
131164
131167
|
{
|
|
131165
131168
|
"kind": "field",
|
|
131166
|
-
"name": "
|
|
131169
|
+
"name": "_escapableOverlayController",
|
|
131170
|
+
"privacy": "private",
|
|
131171
|
+
"default": "new SbbEscapableOverlayController(this)"
|
|
131172
|
+
},
|
|
131173
|
+
{
|
|
131174
|
+
"kind": "field",
|
|
131175
|
+
"name": "_focusTrapController",
|
|
131176
|
+
"privacy": "private",
|
|
131177
|
+
"default": "new SbbFocusTrapController(this)"
|
|
131178
|
+
},
|
|
131179
|
+
{
|
|
131180
|
+
"kind": "field",
|
|
131181
|
+
"name": "_scrollHandler",
|
|
131182
|
+
"privacy": "private",
|
|
131183
|
+
"default": "new SbbScrollHandler()"
|
|
131184
|
+
},
|
|
131185
|
+
{
|
|
131186
|
+
"kind": "field",
|
|
131187
|
+
"name": "_inertController",
|
|
131188
|
+
"privacy": "private",
|
|
131189
|
+
"default": "new SbbInertController(this)"
|
|
131190
|
+
},
|
|
131191
|
+
{
|
|
131192
|
+
"kind": "field",
|
|
131193
|
+
"name": "_mobileBreakpoint",
|
|
131194
|
+
"privacy": "private",
|
|
131195
|
+
"default": "SbbMediaQueryBreakpointSmallAndBelow"
|
|
131196
|
+
},
|
|
131197
|
+
{
|
|
131198
|
+
"kind": "field",
|
|
131199
|
+
"name": "_mediaMatcher",
|
|
131200
|
+
"privacy": "private",
|
|
131201
|
+
"default": "new SbbMediaMatcherController(this, { [this._mobileBreakpoint]: (matches) => { if (matches && (this.state === 'opening' || this.state === 'opened')) { this._scrollHandler.disableScroll(); } else { this._scrollHandler.enableScroll(); } }, })"
|
|
131202
|
+
},
|
|
131203
|
+
{
|
|
131204
|
+
"kind": "field",
|
|
131205
|
+
"name": "_darkModeController",
|
|
131206
|
+
"privacy": "private",
|
|
131207
|
+
"default": "new SbbDarkModeController(this, () => this._syncNegative())"
|
|
131208
|
+
},
|
|
131209
|
+
{
|
|
131210
|
+
"kind": "field",
|
|
131211
|
+
"name": "_language",
|
|
131212
|
+
"privacy": "private",
|
|
131213
|
+
"default": "new SbbLanguageController(this)"
|
|
131214
|
+
},
|
|
131215
|
+
{
|
|
131216
|
+
"kind": "field",
|
|
131217
|
+
"name": "_nestedMenu",
|
|
131167
131218
|
"type": {
|
|
131168
|
-
"text": "
|
|
131219
|
+
"text": "SbbMenuElement | null"
|
|
131169
131220
|
},
|
|
131221
|
+
"privacy": "private",
|
|
131222
|
+
"default": "null"
|
|
131223
|
+
},
|
|
131224
|
+
{
|
|
131225
|
+
"kind": "method",
|
|
131226
|
+
"name": "escapeStrategy",
|
|
131170
131227
|
"privacy": "public",
|
|
131171
|
-
"
|
|
131172
|
-
|
|
131228
|
+
"return": {
|
|
131229
|
+
"type": {
|
|
131230
|
+
"text": "void"
|
|
131231
|
+
}
|
|
131232
|
+
},
|
|
131233
|
+
"description": "The method which is called on escape key press. Defaults to calling close()",
|
|
131173
131234
|
"inheritedFrom": {
|
|
131174
|
-
"name": "
|
|
131175
|
-
"module": "
|
|
131235
|
+
"name": "SbbOpenCloseBaseElement",
|
|
131236
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
131176
131237
|
}
|
|
131177
131238
|
},
|
|
131178
131239
|
{
|
|
131179
131240
|
"kind": "method",
|
|
131180
|
-
"name": "
|
|
131181
|
-
"privacy": "
|
|
131241
|
+
"name": "open",
|
|
131242
|
+
"privacy": "public",
|
|
131182
131243
|
"return": {
|
|
131183
131244
|
"type": {
|
|
131184
|
-
"text": "
|
|
131245
|
+
"text": "void"
|
|
131185
131246
|
}
|
|
131186
131247
|
},
|
|
131187
|
-
"description": "
|
|
131248
|
+
"description": "Opens the menu on trigger click.",
|
|
131188
131249
|
"inheritedFrom": {
|
|
131189
|
-
"name": "
|
|
131190
|
-
"module": "core/base-elements/
|
|
131250
|
+
"name": "SbbOpenCloseBaseElement",
|
|
131251
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
131191
131252
|
}
|
|
131192
131253
|
},
|
|
131193
131254
|
{
|
|
131194
|
-
"kind": "
|
|
131195
|
-
"name": "
|
|
131196
|
-
"type": {
|
|
131197
|
-
"text": "SbbElementType[]"
|
|
131198
|
-
},
|
|
131255
|
+
"kind": "method",
|
|
131256
|
+
"name": "close",
|
|
131199
131257
|
"privacy": "public",
|
|
131200
|
-
"
|
|
131201
|
-
|
|
131202
|
-
|
|
131203
|
-
|
|
131258
|
+
"return": {
|
|
131259
|
+
"type": {
|
|
131260
|
+
"text": "void"
|
|
131261
|
+
}
|
|
131204
131262
|
},
|
|
131205
|
-
"
|
|
131263
|
+
"description": "Closes the menu and all its nested menus.",
|
|
131264
|
+
"inheritedFrom": {
|
|
131265
|
+
"name": "SbbOpenCloseBaseElement",
|
|
131266
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
131267
|
+
}
|
|
131206
131268
|
},
|
|
131207
131269
|
{
|
|
131208
|
-
"kind": "
|
|
131209
|
-
"name": "
|
|
131210
|
-
"type": {
|
|
131211
|
-
"text": "string"
|
|
131212
|
-
},
|
|
131270
|
+
"kind": "method",
|
|
131271
|
+
"name": "closeAll",
|
|
131213
131272
|
"privacy": "public",
|
|
131214
|
-
"
|
|
131215
|
-
|
|
131216
|
-
|
|
131217
|
-
|
|
131218
|
-
|
|
131219
|
-
|
|
131220
|
-
}
|
|
131273
|
+
"return": {
|
|
131274
|
+
"type": {
|
|
131275
|
+
"text": "void"
|
|
131276
|
+
}
|
|
131277
|
+
},
|
|
131278
|
+
"description": "Closes the menu and all related menus (nested and parent menus)."
|
|
131221
131279
|
},
|
|
131222
131280
|
{
|
|
131223
131281
|
"kind": "method",
|
|
131224
|
-
"name": "
|
|
131225
|
-
"privacy": "
|
|
131282
|
+
"name": "_close",
|
|
131283
|
+
"privacy": "private",
|
|
131226
131284
|
"return": {
|
|
131227
131285
|
"type": {
|
|
131228
|
-
"text": "
|
|
131286
|
+
"text": "void"
|
|
131229
131287
|
}
|
|
131230
131288
|
},
|
|
131231
131289
|
"parameters": [
|
|
131232
131290
|
{
|
|
131233
|
-
"name": "
|
|
131234
|
-
"
|
|
131235
|
-
"
|
|
131236
|
-
|
|
131237
|
-
}
|
|
131291
|
+
"name": "closeAll",
|
|
131292
|
+
"default": "false",
|
|
131293
|
+
"description": "If true, it ensures animations are correct by toggling some states when closing all related menus at once.",
|
|
131294
|
+
"optional": true
|
|
131238
131295
|
}
|
|
131239
|
-
]
|
|
131240
|
-
"inheritedFrom": {
|
|
131241
|
-
"name": "SbbIconNameMixin",
|
|
131242
|
-
"module": "icon/icon-name-mixin.js"
|
|
131243
|
-
}
|
|
131296
|
+
]
|
|
131244
131297
|
},
|
|
131245
131298
|
{
|
|
131246
131299
|
"kind": "method",
|
|
131247
|
-
"name": "
|
|
131248
|
-
"privacy": "
|
|
131300
|
+
"name": "_isZeroAnimationDuration",
|
|
131301
|
+
"privacy": "private",
|
|
131249
131302
|
"return": {
|
|
131250
131303
|
"type": {
|
|
131251
|
-
"text": "
|
|
131304
|
+
"text": "boolean"
|
|
131252
131305
|
}
|
|
131253
|
-
},
|
|
131254
|
-
"inheritedFrom": {
|
|
131255
|
-
"name": "SbbIconNameMixin",
|
|
131256
|
-
"module": "icon/icon-name-mixin.js"
|
|
131257
131306
|
}
|
|
131258
131307
|
},
|
|
131259
131308
|
{
|
|
131260
131309
|
"kind": "method",
|
|
131261
|
-
"name": "
|
|
131310
|
+
"name": "_handleOpening",
|
|
131262
131311
|
"privacy": "private",
|
|
131263
131312
|
"return": {
|
|
131264
131313
|
"type": {
|
|
131265
|
-
"text": "
|
|
131314
|
+
"text": "void"
|
|
131266
131315
|
}
|
|
131267
|
-
},
|
|
131268
|
-
"inheritedFrom": {
|
|
131269
|
-
"name": "SbbIconNameMixin",
|
|
131270
|
-
"module": "icon/icon-name-mixin.js"
|
|
131271
131316
|
}
|
|
131272
131317
|
},
|
|
131273
131318
|
{
|
|
131274
|
-
"kind": "
|
|
131275
|
-
"name": "
|
|
131276
|
-
"type": {
|
|
131277
|
-
"text": "array"
|
|
131278
|
-
},
|
|
131319
|
+
"kind": "method",
|
|
131320
|
+
"name": "_handleClosing",
|
|
131279
131321
|
"privacy": "private",
|
|
131280
|
-
"
|
|
131281
|
-
|
|
131282
|
-
|
|
131283
|
-
|
|
131284
|
-
"module": "core/base-elements/button-base-element.js"
|
|
131285
|
-
}
|
|
131286
|
-
},
|
|
131287
|
-
{
|
|
131288
|
-
"kind": "field",
|
|
131289
|
-
"name": "value",
|
|
131290
|
-
"type": {
|
|
131291
|
-
"text": "string"
|
|
131292
|
-
},
|
|
131293
|
-
"privacy": "public",
|
|
131294
|
-
"inheritedFrom": {
|
|
131295
|
-
"name": "SbbButtonBaseElement",
|
|
131296
|
-
"module": "core/base-elements/button-base-element.js"
|
|
131297
|
-
},
|
|
131298
|
-
"default": "''",
|
|
131299
|
-
"description": "Value of the form element.",
|
|
131300
|
-
"attribute": "value"
|
|
131301
|
-
},
|
|
131302
|
-
{
|
|
131303
|
-
"kind": "field",
|
|
131304
|
-
"name": "type",
|
|
131305
|
-
"privacy": "public",
|
|
131306
|
-
"description": "The type attribute to use for the button.",
|
|
131307
|
-
"default": "'button'",
|
|
131308
|
-
"type": {
|
|
131309
|
-
"text": "SbbButtonType"
|
|
131310
|
-
},
|
|
131311
|
-
"attribute": "type",
|
|
131312
|
-
"inheritedFrom": {
|
|
131313
|
-
"name": "SbbButtonBaseElement",
|
|
131314
|
-
"module": "core/base-elements/button-base-element.js"
|
|
131322
|
+
"return": {
|
|
131323
|
+
"type": {
|
|
131324
|
+
"text": "void"
|
|
131325
|
+
}
|
|
131315
131326
|
}
|
|
131316
131327
|
},
|
|
131317
131328
|
{
|
|
131318
|
-
"kind": "
|
|
131319
|
-
"name": "
|
|
131320
|
-
"
|
|
131321
|
-
|
|
131322
|
-
|
|
131323
|
-
|
|
131324
|
-
|
|
131325
|
-
"inheritedFrom": {
|
|
131326
|
-
"name": "SbbButtonBaseElement",
|
|
131327
|
-
"module": "core/base-elements/button-base-element.js"
|
|
131329
|
+
"kind": "method",
|
|
131330
|
+
"name": "_handleKeyDown",
|
|
131331
|
+
"privacy": "private",
|
|
131332
|
+
"return": {
|
|
131333
|
+
"type": {
|
|
131334
|
+
"text": "void"
|
|
131335
|
+
}
|
|
131328
131336
|
},
|
|
131329
|
-
"
|
|
131337
|
+
"parameters": [
|
|
131338
|
+
{
|
|
131339
|
+
"name": "evt",
|
|
131340
|
+
"type": {
|
|
131341
|
+
"text": "KeyboardEvent"
|
|
131342
|
+
}
|
|
131343
|
+
}
|
|
131344
|
+
]
|
|
131330
131345
|
},
|
|
131331
131346
|
{
|
|
131332
|
-
"kind": "
|
|
131333
|
-
"name": "
|
|
131334
|
-
"type": {
|
|
131335
|
-
"text": "string"
|
|
131336
|
-
},
|
|
131347
|
+
"kind": "method",
|
|
131348
|
+
"name": "_configureTrigger",
|
|
131337
131349
|
"privacy": "private",
|
|
131338
|
-
"
|
|
131339
|
-
|
|
131340
|
-
|
|
131341
|
-
|
|
131350
|
+
"return": {
|
|
131351
|
+
"type": {
|
|
131352
|
+
"text": "void"
|
|
131353
|
+
}
|
|
131342
131354
|
}
|
|
131343
131355
|
},
|
|
131344
131356
|
{
|
|
131345
|
-
"kind": "
|
|
131346
|
-
"name": "
|
|
131357
|
+
"kind": "method",
|
|
131358
|
+
"name": "_attachWindowEvents",
|
|
131347
131359
|
"privacy": "private",
|
|
131348
|
-
"
|
|
131349
|
-
"
|
|
131350
|
-
|
|
131360
|
+
"return": {
|
|
131361
|
+
"type": {
|
|
131362
|
+
"text": "void"
|
|
131363
|
+
}
|
|
131351
131364
|
}
|
|
131352
131365
|
},
|
|
131353
131366
|
{
|
|
131354
131367
|
"kind": "method",
|
|
131355
|
-
"name": "
|
|
131368
|
+
"name": "_interactiveElementClick",
|
|
131356
131369
|
"privacy": "private",
|
|
131357
131370
|
"return": {
|
|
131358
131371
|
"type": {
|
|
@@ -131361,154 +131374,79 @@
|
|
|
131361
131374
|
},
|
|
131362
131375
|
"parameters": [
|
|
131363
131376
|
{
|
|
131364
|
-
"name": "
|
|
131377
|
+
"name": "event",
|
|
131365
131378
|
"type": {
|
|
131366
|
-
"text": "
|
|
131379
|
+
"text": "Event"
|
|
131367
131380
|
}
|
|
131368
131381
|
}
|
|
131369
|
-
]
|
|
131370
|
-
"inheritedFrom": {
|
|
131371
|
-
"name": "SbbButtonBaseElement",
|
|
131372
|
-
"module": "core/base-elements/button-base-element.js"
|
|
131373
|
-
}
|
|
131374
|
-
},
|
|
131375
|
-
{
|
|
131376
|
-
"kind": "field",
|
|
131377
|
-
"name": "_formKeyDown",
|
|
131378
|
-
"privacy": "private",
|
|
131379
|
-
"inheritedFrom": {
|
|
131380
|
-
"name": "SbbButtonBaseElement",
|
|
131381
|
-
"module": "core/base-elements/button-base-element.js"
|
|
131382
|
-
}
|
|
131383
|
-
},
|
|
131384
|
-
{
|
|
131385
|
-
"kind": "field",
|
|
131386
|
-
"name": "formAssociated",
|
|
131387
|
-
"type": {
|
|
131388
|
-
"text": "boolean"
|
|
131389
|
-
},
|
|
131390
|
-
"privacy": "public",
|
|
131391
|
-
"static": true,
|
|
131392
|
-
"default": "true",
|
|
131393
|
-
"inheritedFrom": {
|
|
131394
|
-
"name": "SbbFormAssociatedMixin",
|
|
131395
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
131396
|
-
}
|
|
131397
|
-
},
|
|
131398
|
-
{
|
|
131399
|
-
"kind": "field",
|
|
131400
|
-
"name": "name",
|
|
131401
|
-
"privacy": "public",
|
|
131402
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
131403
|
-
"type": {
|
|
131404
|
-
"text": "string"
|
|
131405
|
-
},
|
|
131406
|
-
"attribute": "name",
|
|
131407
|
-
"inheritedFrom": {
|
|
131408
|
-
"name": "SbbFormAssociatedMixin",
|
|
131409
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
131410
|
-
}
|
|
131382
|
+
]
|
|
131411
131383
|
},
|
|
131412
131384
|
{
|
|
131413
131385
|
"kind": "field",
|
|
131414
|
-
"name": "
|
|
131415
|
-
"
|
|
131416
|
-
"text": "ValidityState"
|
|
131417
|
-
},
|
|
131418
|
-
"privacy": "public",
|
|
131419
|
-
"description": "Returns the ValidityState object for this element.",
|
|
131420
|
-
"readonly": true,
|
|
131421
|
-
"inheritedFrom": {
|
|
131422
|
-
"name": "SbbFormAssociatedMixin",
|
|
131423
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
131424
|
-
}
|
|
131386
|
+
"name": "_pointerDownListener",
|
|
131387
|
+
"privacy": "private"
|
|
131425
131388
|
},
|
|
131426
131389
|
{
|
|
131427
131390
|
"kind": "field",
|
|
131428
|
-
"name": "
|
|
131429
|
-
"
|
|
131430
|
-
"text": "string"
|
|
131431
|
-
},
|
|
131432
|
-
"privacy": "public",
|
|
131433
|
-
"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.",
|
|
131434
|
-
"readonly": true,
|
|
131435
|
-
"inheritedFrom": {
|
|
131436
|
-
"name": "SbbFormAssociatedMixin",
|
|
131437
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
131438
|
-
}
|
|
131391
|
+
"name": "_closeOnBackdropClick",
|
|
131392
|
+
"privacy": "private"
|
|
131439
131393
|
},
|
|
131440
131394
|
{
|
|
131441
|
-
"kind": "
|
|
131442
|
-
"name": "
|
|
131443
|
-
"
|
|
131444
|
-
|
|
131395
|
+
"kind": "method",
|
|
131396
|
+
"name": "_nestedMenus",
|
|
131397
|
+
"privacy": "private",
|
|
131398
|
+
"return": {
|
|
131399
|
+
"type": {
|
|
131400
|
+
"text": "SbbMenuElement[]"
|
|
131401
|
+
}
|
|
131445
131402
|
},
|
|
131446
|
-
"
|
|
131447
|
-
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
131448
|
-
"readonly": true,
|
|
131449
|
-
"inheritedFrom": {
|
|
131450
|
-
"name": "SbbFormAssociatedMixin",
|
|
131451
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
131452
|
-
}
|
|
131403
|
+
"description": "Converts the linked list into an array of SbbMenuElement."
|
|
131453
131404
|
},
|
|
131454
131405
|
{
|
|
131455
|
-
"kind": "
|
|
131456
|
-
"name": "
|
|
131406
|
+
"kind": "method",
|
|
131407
|
+
"name": "_parentMenu",
|
|
131457
131408
|
"privacy": "private",
|
|
131458
|
-
"
|
|
131459
|
-
|
|
131460
|
-
|
|
131461
|
-
|
|
131409
|
+
"return": {
|
|
131410
|
+
"type": {
|
|
131411
|
+
"text": "SbbMenuElement | null"
|
|
131412
|
+
}
|
|
131462
131413
|
}
|
|
131463
131414
|
},
|
|
131464
131415
|
{
|
|
131465
|
-
"kind": "
|
|
131466
|
-
"name": "
|
|
131467
|
-
"
|
|
131468
|
-
|
|
131416
|
+
"kind": "method",
|
|
131417
|
+
"name": "_mainMenu",
|
|
131418
|
+
"privacy": "private",
|
|
131419
|
+
"return": {
|
|
131420
|
+
"type": {
|
|
131421
|
+
"text": "SbbMenuElement"
|
|
131422
|
+
}
|
|
131469
131423
|
},
|
|
131470
|
-
"
|
|
131471
|
-
"default": "false",
|
|
131472
|
-
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
131473
|
-
"inheritedFrom": {
|
|
131474
|
-
"name": "SbbFormAssociatedMixin",
|
|
131475
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
131476
|
-
}
|
|
131424
|
+
"description": "The outermost menu."
|
|
131477
131425
|
},
|
|
131478
131426
|
{
|
|
131479
131427
|
"kind": "method",
|
|
131480
|
-
"name": "
|
|
131481
|
-
"privacy": "
|
|
131428
|
+
"name": "_isNested",
|
|
131429
|
+
"privacy": "private",
|
|
131482
131430
|
"return": {
|
|
131483
131431
|
"type": {
|
|
131484
131432
|
"text": "boolean"
|
|
131485
131433
|
}
|
|
131486
|
-
},
|
|
131487
|
-
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
131488
|
-
"inheritedFrom": {
|
|
131489
|
-
"name": "SbbFormAssociatedMixin",
|
|
131490
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
131491
131434
|
}
|
|
131492
131435
|
},
|
|
131493
131436
|
{
|
|
131494
131437
|
"kind": "method",
|
|
131495
|
-
"name": "
|
|
131496
|
-
"privacy": "
|
|
131438
|
+
"name": "_updateNestedInert",
|
|
131439
|
+
"privacy": "private",
|
|
131497
131440
|
"return": {
|
|
131498
131441
|
"type": {
|
|
131499
|
-
"text": "
|
|
131442
|
+
"text": "void"
|
|
131500
131443
|
}
|
|
131501
|
-
},
|
|
131502
|
-
"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.",
|
|
131503
|
-
"inheritedFrom": {
|
|
131504
|
-
"name": "SbbFormAssociatedMixin",
|
|
131505
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
131506
131444
|
}
|
|
131507
131445
|
},
|
|
131508
131446
|
{
|
|
131509
131447
|
"kind": "method",
|
|
131510
|
-
"name": "
|
|
131511
|
-
"privacy": "
|
|
131448
|
+
"name": "_handleMouseOver",
|
|
131449
|
+
"privacy": "private",
|
|
131512
131450
|
"return": {
|
|
131513
131451
|
"type": {
|
|
131514
131452
|
"text": "void"
|
|
@@ -131516,65 +131454,17 @@
|
|
|
131516
131454
|
},
|
|
131517
131455
|
"parameters": [
|
|
131518
131456
|
{
|
|
131519
|
-
"name": "
|
|
131457
|
+
"name": "event",
|
|
131520
131458
|
"type": {
|
|
131521
|
-
"text": "
|
|
131459
|
+
"text": "MouseEvent"
|
|
131522
131460
|
}
|
|
131523
131461
|
}
|
|
131524
|
-
]
|
|
131525
|
-
"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.",
|
|
131526
|
-
"inheritedFrom": {
|
|
131527
|
-
"name": "SbbFormAssociatedMixin",
|
|
131528
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
131529
|
-
}
|
|
131462
|
+
]
|
|
131530
131463
|
},
|
|
131531
131464
|
{
|
|
131532
131465
|
"kind": "method",
|
|
131533
|
-
"name": "
|
|
131466
|
+
"name": "_onMenuAnimationEnd",
|
|
131534
131467
|
"privacy": "private",
|
|
131535
|
-
"return": {
|
|
131536
|
-
"type": {
|
|
131537
|
-
"text": "boolean"
|
|
131538
|
-
}
|
|
131539
|
-
},
|
|
131540
|
-
"inheritedFrom": {
|
|
131541
|
-
"name": "SbbFormAssociatedMixin",
|
|
131542
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
131543
|
-
}
|
|
131544
|
-
},
|
|
131545
|
-
{
|
|
131546
|
-
"kind": "method",
|
|
131547
|
-
"name": "updateFormValue",
|
|
131548
|
-
"privacy": "protected",
|
|
131549
|
-
"return": {
|
|
131550
|
-
"type": {
|
|
131551
|
-
"text": "void"
|
|
131552
|
-
}
|
|
131553
|
-
},
|
|
131554
|
-
"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",
|
|
131555
|
-
"inheritedFrom": {
|
|
131556
|
-
"name": "SbbFormAssociatedMixin",
|
|
131557
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
131558
|
-
}
|
|
131559
|
-
},
|
|
131560
|
-
{
|
|
131561
|
-
"kind": "method",
|
|
131562
|
-
"name": "formState",
|
|
131563
|
-
"privacy": "protected",
|
|
131564
|
-
"return": {
|
|
131565
|
-
"type": {
|
|
131566
|
-
"text": "FormRestoreState"
|
|
131567
|
-
}
|
|
131568
|
-
},
|
|
131569
|
-
"inheritedFrom": {
|
|
131570
|
-
"name": "SbbFormAssociatedMixin",
|
|
131571
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
131572
|
-
}
|
|
131573
|
-
},
|
|
131574
|
-
{
|
|
131575
|
-
"kind": "method",
|
|
131576
|
-
"name": "setValidityFlag",
|
|
131577
|
-
"privacy": "protected",
|
|
131578
131468
|
"return": {
|
|
131579
131469
|
"type": {
|
|
131580
131470
|
"text": "void"
|
|
@@ -131582,194 +131472,152 @@
|
|
|
131582
131472
|
},
|
|
131583
131473
|
"parameters": [
|
|
131584
131474
|
{
|
|
131585
|
-
"name": "
|
|
131586
|
-
"type": {
|
|
131587
|
-
"text": "T"
|
|
131588
|
-
}
|
|
131589
|
-
},
|
|
131590
|
-
{
|
|
131591
|
-
"name": "message",
|
|
131592
|
-
"type": {
|
|
131593
|
-
"text": "string"
|
|
131594
|
-
}
|
|
131595
|
-
},
|
|
131596
|
-
{
|
|
131597
|
-
"name": "flagValue",
|
|
131598
|
-
"optional": true,
|
|
131475
|
+
"name": "event",
|
|
131599
131476
|
"type": {
|
|
131600
|
-
"text": "
|
|
131477
|
+
"text": "AnimationEvent"
|
|
131601
131478
|
}
|
|
131602
131479
|
}
|
|
131603
|
-
]
|
|
131604
|
-
"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).",
|
|
131605
|
-
"inheritedFrom": {
|
|
131606
|
-
"name": "SbbFormAssociatedMixin",
|
|
131607
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
131608
|
-
}
|
|
131480
|
+
]
|
|
131609
131481
|
},
|
|
131610
131482
|
{
|
|
131611
131483
|
"kind": "method",
|
|
131612
|
-
"name": "
|
|
131613
|
-
"privacy": "
|
|
131484
|
+
"name": "_setMenuPosition",
|
|
131485
|
+
"privacy": "private",
|
|
131614
131486
|
"return": {
|
|
131615
131487
|
"type": {
|
|
131616
131488
|
"text": "void"
|
|
131617
131489
|
}
|
|
131618
|
-
},
|
|
131619
|
-
"parameters": [
|
|
131620
|
-
{
|
|
131621
|
-
"name": "flag",
|
|
131622
|
-
"type": {
|
|
131623
|
-
"text": "T"
|
|
131624
|
-
}
|
|
131625
|
-
}
|
|
131626
|
-
],
|
|
131627
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
131628
|
-
"inheritedFrom": {
|
|
131629
|
-
"name": "SbbFormAssociatedMixin",
|
|
131630
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
131631
131490
|
}
|
|
131632
131491
|
},
|
|
131633
131492
|
{
|
|
131634
131493
|
"kind": "method",
|
|
131635
|
-
"name": "
|
|
131636
|
-
"privacy": "
|
|
131494
|
+
"name": "_syncNegative",
|
|
131495
|
+
"privacy": "private",
|
|
131637
131496
|
"return": {
|
|
131638
131497
|
"type": {
|
|
131639
131498
|
"text": "void"
|
|
131640
131499
|
}
|
|
131641
|
-
},
|
|
131642
|
-
"description": "To be called whenever the current element needs to be validated.",
|
|
131643
|
-
"inheritedFrom": {
|
|
131644
|
-
"name": "SbbFormAssociatedMixin",
|
|
131645
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
131646
131500
|
}
|
|
131647
131501
|
},
|
|
131648
131502
|
{
|
|
131649
131503
|
"kind": "method",
|
|
131650
|
-
"name": "
|
|
131651
|
-
"privacy": "
|
|
131504
|
+
"name": "_isMobile",
|
|
131505
|
+
"privacy": "private",
|
|
131652
131506
|
"return": {
|
|
131653
131507
|
"type": {
|
|
131654
131508
|
"text": "boolean"
|
|
131655
131509
|
}
|
|
131656
|
-
},
|
|
131657
|
-
"parameters": [
|
|
131658
|
-
{
|
|
131659
|
-
"name": "name",
|
|
131660
|
-
"type": {
|
|
131661
|
-
"text": "PropertyKey | undefined"
|
|
131662
|
-
}
|
|
131663
|
-
}
|
|
131664
|
-
],
|
|
131665
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
131666
|
-
"inheritedFrom": {
|
|
131667
|
-
"name": "SbbFormAssociatedMixin",
|
|
131668
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
131669
131510
|
}
|
|
131670
131511
|
},
|
|
131671
131512
|
{
|
|
131672
|
-
"kind": "
|
|
131673
|
-
"name": "
|
|
131674
|
-
"privacy": "
|
|
131675
|
-
"
|
|
131676
|
-
|
|
131677
|
-
|
|
131678
|
-
|
|
131513
|
+
"kind": "field",
|
|
131514
|
+
"name": "events",
|
|
131515
|
+
"privacy": "public",
|
|
131516
|
+
"static": true,
|
|
131517
|
+
"readonly": true,
|
|
131518
|
+
"default": "{ beforeopen: 'beforeopen', open: 'open', beforeclose: 'beforeclose', close: 'close', }",
|
|
131519
|
+
"type": {
|
|
131520
|
+
"text": "{\n beforeopen: 'beforeopen',\n open: 'open',\n beforeclose: 'beforeclose',\n close: 'close',\n }"
|
|
131679
131521
|
},
|
|
131680
131522
|
"inheritedFrom": {
|
|
131681
|
-
"name": "
|
|
131682
|
-
"module": "core/
|
|
131523
|
+
"name": "SbbOpenCloseBaseElement",
|
|
131524
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
131683
131525
|
}
|
|
131684
131526
|
},
|
|
131685
131527
|
{
|
|
131686
131528
|
"kind": "field",
|
|
131687
|
-
"name": "
|
|
131688
|
-
"privacy": "
|
|
131689
|
-
"description": "
|
|
131690
|
-
"
|
|
131691
|
-
|
|
131692
|
-
|
|
131693
|
-
|
|
131694
|
-
}
|
|
131695
|
-
],
|
|
131529
|
+
"name": "state",
|
|
131530
|
+
"privacy": "protected",
|
|
131531
|
+
"description": "The state of the component.",
|
|
131532
|
+
"type": {
|
|
131533
|
+
"text": "SbbOpenedClosedState"
|
|
131534
|
+
},
|
|
131535
|
+
"default": "'closed'",
|
|
131696
131536
|
"inheritedFrom": {
|
|
131697
|
-
"name": "
|
|
131698
|
-
"module": "core/base-elements/
|
|
131537
|
+
"name": "SbbOpenCloseBaseElement",
|
|
131538
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
131699
131539
|
}
|
|
131700
131540
|
},
|
|
131701
131541
|
{
|
|
131702
131542
|
"kind": "field",
|
|
131703
|
-
"name": "
|
|
131543
|
+
"name": "_state",
|
|
131544
|
+
"type": {
|
|
131545
|
+
"text": "SbbOpenedClosedState"
|
|
131546
|
+
},
|
|
131704
131547
|
"privacy": "private",
|
|
131705
131548
|
"inheritedFrom": {
|
|
131706
|
-
"name": "
|
|
131707
|
-
"module": "core/base-elements/
|
|
131549
|
+
"name": "SbbOpenCloseBaseElement",
|
|
131550
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
131708
131551
|
}
|
|
131709
131552
|
},
|
|
131710
131553
|
{
|
|
131711
131554
|
"kind": "field",
|
|
131712
|
-
"name": "
|
|
131713
|
-
"
|
|
131714
|
-
|
|
131715
|
-
|
|
131716
|
-
|
|
131717
|
-
|
|
131718
|
-
|
|
131719
|
-
}
|
|
131720
|
-
],
|
|
131555
|
+
"name": "isOpen",
|
|
131556
|
+
"type": {
|
|
131557
|
+
"text": "boolean"
|
|
131558
|
+
},
|
|
131559
|
+
"privacy": "public",
|
|
131560
|
+
"description": "Whether the element is open.",
|
|
131561
|
+
"readonly": true,
|
|
131721
131562
|
"inheritedFrom": {
|
|
131722
|
-
"name": "
|
|
131723
|
-
"module": "core/base-elements/
|
|
131563
|
+
"name": "SbbOpenCloseBaseElement",
|
|
131564
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
131724
131565
|
}
|
|
131725
131566
|
},
|
|
131726
131567
|
{
|
|
131727
|
-
"kind": "
|
|
131728
|
-
"name": "
|
|
131729
|
-
"privacy": "
|
|
131568
|
+
"kind": "method",
|
|
131569
|
+
"name": "dispatchBeforeOpenEvent",
|
|
131570
|
+
"privacy": "protected",
|
|
131571
|
+
"return": {
|
|
131572
|
+
"type": {
|
|
131573
|
+
"text": "boolean"
|
|
131574
|
+
}
|
|
131575
|
+
},
|
|
131730
131576
|
"inheritedFrom": {
|
|
131731
|
-
"name": "
|
|
131732
|
-
"module": "core/base-elements/
|
|
131577
|
+
"name": "SbbOpenCloseBaseElement",
|
|
131578
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
131733
131579
|
}
|
|
131734
131580
|
},
|
|
131735
131581
|
{
|
|
131736
|
-
"kind": "
|
|
131737
|
-
"name": "
|
|
131738
|
-
"type": {
|
|
131739
|
-
"text": "boolean | undefined"
|
|
131740
|
-
},
|
|
131582
|
+
"kind": "method",
|
|
131583
|
+
"name": "dispatchOpenEvent",
|
|
131741
131584
|
"privacy": "protected",
|
|
131742
|
-
"
|
|
131585
|
+
"return": {
|
|
131586
|
+
"type": {
|
|
131587
|
+
"text": "boolean"
|
|
131588
|
+
}
|
|
131589
|
+
},
|
|
131743
131590
|
"inheritedFrom": {
|
|
131744
|
-
"name": "
|
|
131745
|
-
"module": "core/base-elements/
|
|
131591
|
+
"name": "SbbOpenCloseBaseElement",
|
|
131592
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
131746
131593
|
}
|
|
131747
131594
|
},
|
|
131748
131595
|
{
|
|
131749
|
-
"kind": "
|
|
131750
|
-
"name": "
|
|
131751
|
-
"type": {
|
|
131752
|
-
"text": "boolean | undefined"
|
|
131753
|
-
},
|
|
131596
|
+
"kind": "method",
|
|
131597
|
+
"name": "dispatchBeforeCloseEvent",
|
|
131754
131598
|
"privacy": "protected",
|
|
131755
|
-
"
|
|
131599
|
+
"return": {
|
|
131600
|
+
"type": {
|
|
131601
|
+
"text": "boolean"
|
|
131602
|
+
}
|
|
131603
|
+
},
|
|
131756
131604
|
"inheritedFrom": {
|
|
131757
|
-
"name": "
|
|
131758
|
-
"module": "core/base-elements/
|
|
131605
|
+
"name": "SbbOpenCloseBaseElement",
|
|
131606
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
131759
131607
|
}
|
|
131760
131608
|
},
|
|
131761
131609
|
{
|
|
131762
131610
|
"kind": "method",
|
|
131763
|
-
"name": "
|
|
131611
|
+
"name": "dispatchCloseEvent",
|
|
131764
131612
|
"privacy": "protected",
|
|
131765
131613
|
"return": {
|
|
131766
131614
|
"type": {
|
|
131767
|
-
"text": "
|
|
131615
|
+
"text": "boolean"
|
|
131768
131616
|
}
|
|
131769
131617
|
},
|
|
131770
131618
|
"inheritedFrom": {
|
|
131771
|
-
"name": "
|
|
131772
|
-
"module": "core/base-elements/
|
|
131619
|
+
"name": "SbbOpenCloseBaseElement",
|
|
131620
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
131773
131621
|
}
|
|
131774
131622
|
},
|
|
131775
131623
|
{
|
|
@@ -132030,110 +131878,66 @@
|
|
|
132030
131878
|
}
|
|
132031
131879
|
}
|
|
132032
131880
|
],
|
|
132033
|
-
"
|
|
132034
|
-
{
|
|
132035
|
-
"name": "SbbDisabledTabIndexActionMixin",
|
|
132036
|
-
"module": "core.js"
|
|
132037
|
-
},
|
|
131881
|
+
"attributes": [
|
|
132038
131882
|
{
|
|
132039
|
-
"name": "
|
|
132040
|
-
"
|
|
131883
|
+
"name": "trigger",
|
|
131884
|
+
"type": {
|
|
131885
|
+
"text": "HTMLElement | null"
|
|
131886
|
+
},
|
|
131887
|
+
"default": "null",
|
|
131888
|
+
"description": "The element that will trigger the menu overlay.\n\nFor attribute usage, provide an id reference.",
|
|
131889
|
+
"fieldName": "trigger"
|
|
132041
131890
|
}
|
|
132042
131891
|
],
|
|
132043
131892
|
"superclass": {
|
|
132044
|
-
"name": "
|
|
131893
|
+
"name": "SbbOpenCloseBaseElement",
|
|
132045
131894
|
"module": "core.js"
|
|
132046
131895
|
},
|
|
132047
|
-
"tagName": "sbb-menu
|
|
131896
|
+
"tagName": "sbb-menu",
|
|
132048
131897
|
"customElement": true,
|
|
132049
|
-
"
|
|
131898
|
+
"events": [
|
|
132050
131899
|
{
|
|
132051
|
-
"name": "
|
|
132052
|
-
"type": {
|
|
132053
|
-
"text": "boolean"
|
|
132054
|
-
},
|
|
132055
|
-
"default": "false",
|
|
132056
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
132057
|
-
"fieldName": "disabledInteractive",
|
|
132058
|
-
"inheritedFrom": {
|
|
132059
|
-
"name": "SbbDisabledInteractiveMixin",
|
|
132060
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
132061
|
-
}
|
|
132062
|
-
},
|
|
132063
|
-
{
|
|
132064
|
-
"name": "disabled",
|
|
132065
|
-
"description": "Whether the component is disabled.",
|
|
132066
|
-
"default": "false",
|
|
132067
|
-
"type": {
|
|
132068
|
-
"text": "boolean"
|
|
132069
|
-
},
|
|
132070
|
-
"fieldName": "disabled",
|
|
132071
|
-
"inheritedFrom": {
|
|
132072
|
-
"name": "SbbDisabledMixin",
|
|
132073
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
132074
|
-
}
|
|
132075
|
-
},
|
|
132076
|
-
{
|
|
132077
|
-
"name": "icon-name",
|
|
132078
|
-
"type": {
|
|
132079
|
-
"text": "string"
|
|
132080
|
-
},
|
|
132081
|
-
"default": "''",
|
|
132082
|
-
"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.",
|
|
132083
|
-
"fieldName": "iconName",
|
|
132084
|
-
"inheritedFrom": {
|
|
132085
|
-
"name": "SbbIconNameMixin",
|
|
132086
|
-
"module": "icon/icon-name-mixin.js"
|
|
132087
|
-
}
|
|
132088
|
-
},
|
|
132089
|
-
{
|
|
132090
|
-
"name": "value",
|
|
131900
|
+
"name": "beforeopen",
|
|
132091
131901
|
"type": {
|
|
132092
|
-
"text": "
|
|
131902
|
+
"text": "Event"
|
|
132093
131903
|
},
|
|
132094
|
-
"
|
|
132095
|
-
"description": "Value of the form element.",
|
|
132096
|
-
"fieldName": "value",
|
|
131904
|
+
"description": "Emits whenever the component starts the opening transition. Can be canceled.",
|
|
132097
131905
|
"inheritedFrom": {
|
|
132098
|
-
"name": "
|
|
132099
|
-
"module": "core/base-elements/
|
|
131906
|
+
"name": "SbbOpenCloseBaseElement",
|
|
131907
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
132100
131908
|
}
|
|
132101
131909
|
},
|
|
132102
131910
|
{
|
|
132103
|
-
"name": "
|
|
132104
|
-
"description": "The type attribute to use for the button.",
|
|
132105
|
-
"default": "'button'",
|
|
131911
|
+
"name": "open",
|
|
132106
131912
|
"type": {
|
|
132107
|
-
"text": "
|
|
131913
|
+
"text": "Event"
|
|
132108
131914
|
},
|
|
132109
|
-
"
|
|
131915
|
+
"description": "Emits whenever the component is opened.",
|
|
132110
131916
|
"inheritedFrom": {
|
|
132111
|
-
"name": "
|
|
132112
|
-
"module": "core/base-elements/
|
|
131917
|
+
"name": "SbbOpenCloseBaseElement",
|
|
131918
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
132113
131919
|
}
|
|
132114
131920
|
},
|
|
132115
131921
|
{
|
|
132116
|
-
"name": "
|
|
132117
|
-
"description": "The `<form>` element to associate the button with.",
|
|
131922
|
+
"name": "beforeclose",
|
|
132118
131923
|
"type": {
|
|
132119
|
-
"text": "
|
|
131924
|
+
"text": "Event"
|
|
132120
131925
|
},
|
|
132121
|
-
"
|
|
131926
|
+
"description": "Emits whenever the component begins the closing transition. Can be canceled.",
|
|
132122
131927
|
"inheritedFrom": {
|
|
132123
|
-
"name": "
|
|
132124
|
-
"module": "core/base-elements/
|
|
131928
|
+
"name": "SbbOpenCloseBaseElement",
|
|
131929
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
132125
131930
|
}
|
|
132126
131931
|
},
|
|
132127
131932
|
{
|
|
132128
|
-
"name": "
|
|
132129
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
131933
|
+
"name": "close",
|
|
132130
131934
|
"type": {
|
|
132131
|
-
"text": "
|
|
131935
|
+
"text": "Event"
|
|
132132
131936
|
},
|
|
132133
|
-
"
|
|
131937
|
+
"description": "Emits whenever the component is closed.",
|
|
132134
131938
|
"inheritedFrom": {
|
|
132135
|
-
"name": "
|
|
132136
|
-
"module": "core/
|
|
131939
|
+
"name": "SbbOpenCloseBaseElement",
|
|
131940
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
132137
131941
|
}
|
|
132138
131942
|
}
|
|
132139
131943
|
]
|
|
@@ -132142,33 +131946,37 @@
|
|
|
132142
131946
|
"exports": [
|
|
132143
131947
|
{
|
|
132144
131948
|
"kind": "js",
|
|
132145
|
-
"name": "
|
|
131949
|
+
"name": "SbbMenuElement",
|
|
132146
131950
|
"declaration": {
|
|
132147
|
-
"name": "
|
|
132148
|
-
"module": "menu/menu
|
|
131951
|
+
"name": "SbbMenuElement",
|
|
131952
|
+
"module": "menu/menu/menu.component.js"
|
|
132149
131953
|
}
|
|
132150
131954
|
}
|
|
132151
131955
|
]
|
|
132152
131956
|
},
|
|
132153
131957
|
{
|
|
132154
131958
|
"kind": "javascript-module",
|
|
132155
|
-
"path": "menu/menu/menu.component.js",
|
|
131959
|
+
"path": "menu/menu-button/menu-button.component.js",
|
|
132156
131960
|
"declarations": [
|
|
132157
131961
|
{
|
|
132158
131962
|
"kind": "class",
|
|
132159
|
-
"description": "It displays a
|
|
132160
|
-
"name": "
|
|
131963
|
+
"description": "It displays a button element that can be used in the `sbb-menu` component.",
|
|
131964
|
+
"name": "SbbMenuButtonElement",
|
|
132161
131965
|
"cssProperties": [
|
|
132162
131966
|
{
|
|
132163
|
-
"description": "
|
|
132164
|
-
"name": "--sbb-menu-
|
|
132165
|
-
"default": "var(--sbb-
|
|
131967
|
+
"description": "Can be used to modify horizontal padding.",
|
|
131968
|
+
"name": "--sbb-menu-action-outer-horizontal-padding",
|
|
131969
|
+
"default": "var(--sbb-spacing-fixed-3x)"
|
|
132166
131970
|
}
|
|
132167
131971
|
],
|
|
132168
131972
|
"slots": [
|
|
132169
131973
|
{
|
|
132170
|
-
"description": "Use the unnamed slot to add `sbb-menu-button
|
|
131974
|
+
"description": "Use the unnamed slot to add content to the `sbb-menu-button`.",
|
|
132171
131975
|
"name": ""
|
|
131976
|
+
},
|
|
131977
|
+
{
|
|
131978
|
+
"description": "Use this slot to provide an icon. If `icon-name` is set, a `sbb-icon` will be used.",
|
|
131979
|
+
"name": "icon"
|
|
132172
131980
|
}
|
|
132173
131981
|
],
|
|
132174
131982
|
"members": [
|
|
@@ -132185,13 +131993,13 @@
|
|
|
132185
131993
|
"name": "SbbElement",
|
|
132186
131994
|
"module": "core/base-elements/element.js"
|
|
132187
131995
|
},
|
|
132188
|
-
"default": "'sbb-menu'"
|
|
131996
|
+
"default": "'sbb-menu-button'"
|
|
132189
131997
|
},
|
|
132190
131998
|
{
|
|
132191
131999
|
"kind": "field",
|
|
132192
|
-
"name": "
|
|
132000
|
+
"name": "role",
|
|
132193
132001
|
"type": {
|
|
132194
|
-
"text": "
|
|
132002
|
+
"text": "ElementInternals['role']"
|
|
132195
132003
|
},
|
|
132196
132004
|
"privacy": "public",
|
|
132197
132005
|
"static": true,
|
|
@@ -132199,240 +132007,261 @@
|
|
|
132199
132007
|
"name": "SbbElement",
|
|
132200
132008
|
"module": "core/base-elements/element.js"
|
|
132201
132009
|
},
|
|
132202
|
-
"
|
|
132010
|
+
"readonly": true,
|
|
132011
|
+
"default": "'menuitem'"
|
|
132203
132012
|
},
|
|
132204
132013
|
{
|
|
132205
132014
|
"kind": "field",
|
|
132206
|
-
"name": "
|
|
132015
|
+
"name": "disabledInteractive",
|
|
132207
132016
|
"type": {
|
|
132208
|
-
"text": "
|
|
132017
|
+
"text": "boolean"
|
|
132209
132018
|
},
|
|
132210
132019
|
"privacy": "public",
|
|
132211
|
-
"
|
|
132020
|
+
"default": "false",
|
|
132021
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
132022
|
+
"attribute": "disabled-interactive",
|
|
132023
|
+
"reflects": true,
|
|
132212
132024
|
"inheritedFrom": {
|
|
132213
|
-
"name": "
|
|
132214
|
-
"module": "core/
|
|
132215
|
-
}
|
|
132216
|
-
"readonly": true,
|
|
132217
|
-
"default": "'menu'"
|
|
132025
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
132026
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
132027
|
+
}
|
|
132218
132028
|
},
|
|
132219
132029
|
{
|
|
132220
132030
|
"kind": "field",
|
|
132221
|
-
"name": "
|
|
132031
|
+
"name": "disabled",
|
|
132032
|
+
"privacy": "public",
|
|
132033
|
+
"description": "Whether the component is disabled.",
|
|
132034
|
+
"default": "false",
|
|
132222
132035
|
"type": {
|
|
132223
|
-
"text": "
|
|
132036
|
+
"text": "boolean"
|
|
132224
132037
|
},
|
|
132225
|
-
"
|
|
132226
|
-
"
|
|
132227
|
-
"
|
|
132228
|
-
|
|
132038
|
+
"attribute": "disabled",
|
|
132039
|
+
"reflects": true,
|
|
132040
|
+
"inheritedFrom": {
|
|
132041
|
+
"name": "SbbDisabledMixin",
|
|
132042
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
132043
|
+
}
|
|
132229
132044
|
},
|
|
132230
132045
|
{
|
|
132231
132046
|
"kind": "field",
|
|
132232
|
-
"name": "
|
|
132047
|
+
"name": "#disabled",
|
|
132048
|
+
"privacy": "private",
|
|
132233
132049
|
"type": {
|
|
132234
|
-
"text": "
|
|
132050
|
+
"text": "boolean"
|
|
132235
132051
|
},
|
|
132236
|
-
"
|
|
132052
|
+
"default": "false",
|
|
132053
|
+
"inheritedFrom": {
|
|
132054
|
+
"name": "SbbDisabledMixin",
|
|
132055
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
132056
|
+
}
|
|
132237
132057
|
},
|
|
132238
132058
|
{
|
|
132239
|
-
"kind": "
|
|
132240
|
-
"name": "
|
|
132241
|
-
"
|
|
132242
|
-
|
|
132059
|
+
"kind": "method",
|
|
132060
|
+
"name": "isDisabledExternally",
|
|
132061
|
+
"privacy": "protected",
|
|
132062
|
+
"return": {
|
|
132063
|
+
"type": {
|
|
132064
|
+
"text": "boolean"
|
|
132065
|
+
}
|
|
132243
132066
|
},
|
|
132244
|
-
"
|
|
132245
|
-
"
|
|
132067
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
132068
|
+
"inheritedFrom": {
|
|
132069
|
+
"name": "SbbDisabledMixin",
|
|
132070
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
132071
|
+
}
|
|
132246
132072
|
},
|
|
132247
132073
|
{
|
|
132248
132074
|
"kind": "field",
|
|
132249
|
-
"name": "
|
|
132075
|
+
"name": "styles",
|
|
132250
132076
|
"type": {
|
|
132251
|
-
"text": "
|
|
132077
|
+
"text": "CSSResultGroup"
|
|
132252
132078
|
},
|
|
132253
|
-
"privacy": "
|
|
132079
|
+
"privacy": "public",
|
|
132080
|
+
"static": true,
|
|
132081
|
+
"default": "[unsafeCSS(style)]",
|
|
132082
|
+
"inheritedFrom": {
|
|
132083
|
+
"name": "SbbMenuActionCommonElementMixin",
|
|
132084
|
+
"module": "menu/common/menu-action-common.js"
|
|
132085
|
+
}
|
|
132254
132086
|
},
|
|
132255
132087
|
{
|
|
132256
|
-
"kind": "
|
|
132257
|
-
"name": "
|
|
132258
|
-
"
|
|
132259
|
-
|
|
132088
|
+
"kind": "method",
|
|
132089
|
+
"name": "renderTemplate",
|
|
132090
|
+
"privacy": "protected",
|
|
132091
|
+
"return": {
|
|
132092
|
+
"type": {
|
|
132093
|
+
"text": "TemplateResult"
|
|
132094
|
+
}
|
|
132260
132095
|
},
|
|
132261
|
-
"
|
|
132262
|
-
"
|
|
132096
|
+
"description": "Override this method to render the component template.",
|
|
132097
|
+
"inheritedFrom": {
|
|
132098
|
+
"name": "SbbActionBaseElement",
|
|
132099
|
+
"module": "core/base-elements/action-base-element.js"
|
|
132100
|
+
}
|
|
132263
132101
|
},
|
|
132264
132102
|
{
|
|
132265
132103
|
"kind": "field",
|
|
132266
|
-
"name": "
|
|
132104
|
+
"name": "elementDependencies",
|
|
132267
132105
|
"type": {
|
|
132268
|
-
"text": "
|
|
132106
|
+
"text": "SbbElementType[]"
|
|
132269
132107
|
},
|
|
132270
|
-
"privacy": "
|
|
132271
|
-
|
|
132272
|
-
|
|
132273
|
-
|
|
132274
|
-
|
|
132275
|
-
|
|
132276
|
-
"default": "
|
|
132277
|
-
},
|
|
132278
|
-
{
|
|
132279
|
-
"kind": "field",
|
|
132280
|
-
"name": "_focusTrapController",
|
|
132281
|
-
"privacy": "private",
|
|
132282
|
-
"default": "new SbbFocusTrapController(this)"
|
|
132283
|
-
},
|
|
132284
|
-
{
|
|
132285
|
-
"kind": "field",
|
|
132286
|
-
"name": "_scrollHandler",
|
|
132287
|
-
"privacy": "private",
|
|
132288
|
-
"default": "new SbbScrollHandler()"
|
|
132289
|
-
},
|
|
132290
|
-
{
|
|
132291
|
-
"kind": "field",
|
|
132292
|
-
"name": "_inertController",
|
|
132293
|
-
"privacy": "private",
|
|
132294
|
-
"default": "new SbbInertController(this)"
|
|
132295
|
-
},
|
|
132296
|
-
{
|
|
132297
|
-
"kind": "field",
|
|
132298
|
-
"name": "_mobileBreakpoint",
|
|
132299
|
-
"privacy": "private",
|
|
132300
|
-
"default": "SbbMediaQueryBreakpointSmallAndBelow"
|
|
132301
|
-
},
|
|
132302
|
-
{
|
|
132303
|
-
"kind": "field",
|
|
132304
|
-
"name": "_mediaMatcher",
|
|
132305
|
-
"privacy": "private",
|
|
132306
|
-
"default": "new SbbMediaMatcherController(this, { [this._mobileBreakpoint]: (matches) => { if (matches && (this.state === 'opening' || this.state === 'opened')) { this._scrollHandler.disableScroll(); } else { this._scrollHandler.enableScroll(); } }, })"
|
|
132307
|
-
},
|
|
132308
|
-
{
|
|
132309
|
-
"kind": "field",
|
|
132310
|
-
"name": "_darkModeController",
|
|
132311
|
-
"privacy": "private",
|
|
132312
|
-
"default": "new SbbDarkModeController(this, () => this._syncNegative())"
|
|
132313
|
-
},
|
|
132314
|
-
{
|
|
132315
|
-
"kind": "field",
|
|
132316
|
-
"name": "_language",
|
|
132317
|
-
"privacy": "private",
|
|
132318
|
-
"default": "new SbbLanguageController(this)"
|
|
132108
|
+
"privacy": "public",
|
|
132109
|
+
"static": true,
|
|
132110
|
+
"inheritedFrom": {
|
|
132111
|
+
"name": "SbbElement",
|
|
132112
|
+
"module": "core/base-elements/element.js"
|
|
132113
|
+
},
|
|
132114
|
+
"default": "[SbbIconElement]"
|
|
132319
132115
|
},
|
|
132320
132116
|
{
|
|
132321
132117
|
"kind": "field",
|
|
132322
|
-
"name": "
|
|
132118
|
+
"name": "iconName",
|
|
132323
132119
|
"type": {
|
|
132324
|
-
"text": "
|
|
132120
|
+
"text": "string"
|
|
132325
132121
|
},
|
|
132326
|
-
"privacy": "
|
|
132327
|
-
"default": "
|
|
132122
|
+
"privacy": "public",
|
|
132123
|
+
"default": "''",
|
|
132124
|
+
"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.",
|
|
132125
|
+
"attribute": "icon-name",
|
|
132126
|
+
"inheritedFrom": {
|
|
132127
|
+
"name": "SbbIconNameMixin",
|
|
132128
|
+
"module": "icon/icon-name-mixin.js"
|
|
132129
|
+
}
|
|
132328
132130
|
},
|
|
132329
132131
|
{
|
|
132330
132132
|
"kind": "method",
|
|
132331
|
-
"name": "
|
|
132332
|
-
"privacy": "
|
|
132133
|
+
"name": "renderIconSlot",
|
|
132134
|
+
"privacy": "protected",
|
|
132333
132135
|
"return": {
|
|
132334
132136
|
"type": {
|
|
132335
|
-
"text": "
|
|
132137
|
+
"text": "TemplateResult"
|
|
132336
132138
|
}
|
|
132337
132139
|
},
|
|
132338
|
-
"
|
|
132140
|
+
"parameters": [
|
|
132141
|
+
{
|
|
132142
|
+
"name": "classname",
|
|
132143
|
+
"optional": true,
|
|
132144
|
+
"type": {
|
|
132145
|
+
"text": "string"
|
|
132146
|
+
}
|
|
132147
|
+
}
|
|
132148
|
+
],
|
|
132339
132149
|
"inheritedFrom": {
|
|
132340
|
-
"name": "
|
|
132341
|
-
"module": "
|
|
132150
|
+
"name": "SbbIconNameMixin",
|
|
132151
|
+
"module": "icon/icon-name-mixin.js"
|
|
132342
132152
|
}
|
|
132343
132153
|
},
|
|
132344
132154
|
{
|
|
132345
132155
|
"kind": "method",
|
|
132346
|
-
"name": "
|
|
132347
|
-
"privacy": "
|
|
132156
|
+
"name": "renderIconName",
|
|
132157
|
+
"privacy": "protected",
|
|
132348
132158
|
"return": {
|
|
132349
132159
|
"type": {
|
|
132350
|
-
"text": "
|
|
132160
|
+
"text": "string"
|
|
132351
132161
|
}
|
|
132352
132162
|
},
|
|
132353
|
-
"description": "Opens the menu on trigger click.",
|
|
132354
132163
|
"inheritedFrom": {
|
|
132355
|
-
"name": "
|
|
132356
|
-
"module": "
|
|
132164
|
+
"name": "SbbIconNameMixin",
|
|
132165
|
+
"module": "icon/icon-name-mixin.js"
|
|
132357
132166
|
}
|
|
132358
132167
|
},
|
|
132359
132168
|
{
|
|
132360
132169
|
"kind": "method",
|
|
132361
|
-
"name": "
|
|
132362
|
-
"privacy": "
|
|
132170
|
+
"name": "_renderIconName",
|
|
132171
|
+
"privacy": "private",
|
|
132363
132172
|
"return": {
|
|
132364
132173
|
"type": {
|
|
132365
|
-
"text": "
|
|
132174
|
+
"text": "string"
|
|
132366
132175
|
}
|
|
132367
132176
|
},
|
|
132368
|
-
"description": "Closes the menu and all its nested menus.",
|
|
132369
132177
|
"inheritedFrom": {
|
|
132370
|
-
"name": "
|
|
132371
|
-
"module": "
|
|
132178
|
+
"name": "SbbIconNameMixin",
|
|
132179
|
+
"module": "icon/icon-name-mixin.js"
|
|
132372
132180
|
}
|
|
132373
132181
|
},
|
|
132374
132182
|
{
|
|
132375
|
-
"kind": "
|
|
132376
|
-
"name": "
|
|
132377
|
-
"
|
|
132378
|
-
|
|
132379
|
-
"type": {
|
|
132380
|
-
"text": "void"
|
|
132381
|
-
}
|
|
132183
|
+
"kind": "field",
|
|
132184
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
132185
|
+
"type": {
|
|
132186
|
+
"text": "array"
|
|
132382
132187
|
},
|
|
132383
|
-
"
|
|
132188
|
+
"privacy": "private",
|
|
132189
|
+
"readonly": true,
|
|
132190
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
132191
|
+
"inheritedFrom": {
|
|
132192
|
+
"name": "SbbButtonBaseElement",
|
|
132193
|
+
"module": "core/base-elements/button-base-element.js"
|
|
132194
|
+
}
|
|
132384
132195
|
},
|
|
132385
132196
|
{
|
|
132386
|
-
"kind": "
|
|
132387
|
-
"name": "
|
|
132388
|
-
"
|
|
132389
|
-
|
|
132390
|
-
"type": {
|
|
132391
|
-
"text": "void"
|
|
132392
|
-
}
|
|
132197
|
+
"kind": "field",
|
|
132198
|
+
"name": "value",
|
|
132199
|
+
"type": {
|
|
132200
|
+
"text": "string"
|
|
132393
132201
|
},
|
|
132394
|
-
"
|
|
132395
|
-
|
|
132396
|
-
|
|
132397
|
-
|
|
132398
|
-
|
|
132399
|
-
|
|
132400
|
-
|
|
132401
|
-
|
|
132202
|
+
"privacy": "public",
|
|
132203
|
+
"inheritedFrom": {
|
|
132204
|
+
"name": "SbbButtonBaseElement",
|
|
132205
|
+
"module": "core/base-elements/button-base-element.js"
|
|
132206
|
+
},
|
|
132207
|
+
"default": "''",
|
|
132208
|
+
"description": "Value of the form element.",
|
|
132209
|
+
"attribute": "value"
|
|
132402
132210
|
},
|
|
132403
132211
|
{
|
|
132404
|
-
"kind": "
|
|
132405
|
-
"name": "
|
|
132406
|
-
"privacy": "
|
|
132407
|
-
"
|
|
132408
|
-
|
|
132409
|
-
|
|
132410
|
-
|
|
132212
|
+
"kind": "field",
|
|
132213
|
+
"name": "type",
|
|
132214
|
+
"privacy": "public",
|
|
132215
|
+
"description": "The type attribute to use for the button.",
|
|
132216
|
+
"default": "'button'",
|
|
132217
|
+
"type": {
|
|
132218
|
+
"text": "SbbButtonType"
|
|
132219
|
+
},
|
|
132220
|
+
"attribute": "type",
|
|
132221
|
+
"inheritedFrom": {
|
|
132222
|
+
"name": "SbbButtonBaseElement",
|
|
132223
|
+
"module": "core/base-elements/button-base-element.js"
|
|
132411
132224
|
}
|
|
132412
132225
|
},
|
|
132413
132226
|
{
|
|
132414
|
-
"kind": "
|
|
132415
|
-
"name": "
|
|
132227
|
+
"kind": "field",
|
|
132228
|
+
"name": "form",
|
|
132229
|
+
"type": {
|
|
132230
|
+
"text": "HTMLFormElement | null"
|
|
132231
|
+
},
|
|
132232
|
+
"privacy": "public",
|
|
132233
|
+
"description": "The `<form>` element to associate the button with.",
|
|
132234
|
+
"inheritedFrom": {
|
|
132235
|
+
"name": "SbbButtonBaseElement",
|
|
132236
|
+
"module": "core/base-elements/button-base-element.js"
|
|
132237
|
+
},
|
|
132238
|
+
"attribute": "form"
|
|
132239
|
+
},
|
|
132240
|
+
{
|
|
132241
|
+
"kind": "field",
|
|
132242
|
+
"name": "_formId",
|
|
132243
|
+
"type": {
|
|
132244
|
+
"text": "string"
|
|
132245
|
+
},
|
|
132416
132246
|
"privacy": "private",
|
|
132417
|
-
"
|
|
132418
|
-
|
|
132419
|
-
|
|
132420
|
-
|
|
132247
|
+
"default": "''",
|
|
132248
|
+
"inheritedFrom": {
|
|
132249
|
+
"name": "SbbButtonBaseElement",
|
|
132250
|
+
"module": "core/base-elements/button-base-element.js"
|
|
132421
132251
|
}
|
|
132422
132252
|
},
|
|
132423
132253
|
{
|
|
132424
|
-
"kind": "
|
|
132425
|
-
"name": "
|
|
132254
|
+
"kind": "field",
|
|
132255
|
+
"name": "_handleButtonClick",
|
|
132426
132256
|
"privacy": "private",
|
|
132427
|
-
"
|
|
132428
|
-
"
|
|
132429
|
-
|
|
132430
|
-
}
|
|
132257
|
+
"inheritedFrom": {
|
|
132258
|
+
"name": "SbbButtonBaseElement",
|
|
132259
|
+
"module": "core/base-elements/button-base-element.js"
|
|
132431
132260
|
}
|
|
132432
132261
|
},
|
|
132433
132262
|
{
|
|
132434
132263
|
"kind": "method",
|
|
132435
|
-
"name": "
|
|
132264
|
+
"name": "_requestSubmit",
|
|
132436
132265
|
"privacy": "private",
|
|
132437
132266
|
"return": {
|
|
132438
132267
|
"type": {
|
|
@@ -132441,117 +132270,220 @@
|
|
|
132441
132270
|
},
|
|
132442
132271
|
"parameters": [
|
|
132443
132272
|
{
|
|
132444
|
-
"name": "
|
|
132273
|
+
"name": "form",
|
|
132445
132274
|
"type": {
|
|
132446
|
-
"text": "
|
|
132275
|
+
"text": "HTMLFormElement"
|
|
132447
132276
|
}
|
|
132448
132277
|
}
|
|
132449
|
-
]
|
|
132278
|
+
],
|
|
132279
|
+
"inheritedFrom": {
|
|
132280
|
+
"name": "SbbButtonBaseElement",
|
|
132281
|
+
"module": "core/base-elements/button-base-element.js"
|
|
132282
|
+
}
|
|
132450
132283
|
},
|
|
132451
132284
|
{
|
|
132452
|
-
"kind": "
|
|
132453
|
-
"name": "
|
|
132285
|
+
"kind": "field",
|
|
132286
|
+
"name": "_formKeyDown",
|
|
132454
132287
|
"privacy": "private",
|
|
132455
|
-
"
|
|
132456
|
-
"
|
|
132457
|
-
|
|
132458
|
-
}
|
|
132288
|
+
"inheritedFrom": {
|
|
132289
|
+
"name": "SbbButtonBaseElement",
|
|
132290
|
+
"module": "core/base-elements/button-base-element.js"
|
|
132459
132291
|
}
|
|
132460
132292
|
},
|
|
132461
132293
|
{
|
|
132462
|
-
"kind": "
|
|
132463
|
-
"name": "
|
|
132464
|
-
"
|
|
132465
|
-
|
|
132466
|
-
|
|
132467
|
-
|
|
132468
|
-
|
|
132294
|
+
"kind": "field",
|
|
132295
|
+
"name": "formAssociated",
|
|
132296
|
+
"type": {
|
|
132297
|
+
"text": "boolean"
|
|
132298
|
+
},
|
|
132299
|
+
"privacy": "public",
|
|
132300
|
+
"static": true,
|
|
132301
|
+
"default": "true",
|
|
132302
|
+
"inheritedFrom": {
|
|
132303
|
+
"name": "SbbFormAssociatedMixin",
|
|
132304
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132469
132305
|
}
|
|
132470
132306
|
},
|
|
132471
132307
|
{
|
|
132472
|
-
"kind": "
|
|
132473
|
-
"name": "
|
|
132474
|
-
"privacy": "
|
|
132475
|
-
"
|
|
132476
|
-
|
|
132477
|
-
|
|
132478
|
-
}
|
|
132308
|
+
"kind": "field",
|
|
132309
|
+
"name": "name",
|
|
132310
|
+
"privacy": "public",
|
|
132311
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
132312
|
+
"type": {
|
|
132313
|
+
"text": "string"
|
|
132479
132314
|
},
|
|
132480
|
-
"
|
|
132481
|
-
|
|
132482
|
-
|
|
132483
|
-
|
|
132484
|
-
|
|
132485
|
-
}
|
|
132486
|
-
}
|
|
132487
|
-
]
|
|
132315
|
+
"attribute": "name",
|
|
132316
|
+
"inheritedFrom": {
|
|
132317
|
+
"name": "SbbFormAssociatedMixin",
|
|
132318
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132319
|
+
}
|
|
132488
132320
|
},
|
|
132489
132321
|
{
|
|
132490
132322
|
"kind": "field",
|
|
132491
|
-
"name": "
|
|
132492
|
-
"
|
|
132323
|
+
"name": "validity",
|
|
132324
|
+
"type": {
|
|
132325
|
+
"text": "ValidityState"
|
|
132326
|
+
},
|
|
132327
|
+
"privacy": "public",
|
|
132328
|
+
"description": "Returns the ValidityState object for this element.",
|
|
132329
|
+
"readonly": true,
|
|
132330
|
+
"inheritedFrom": {
|
|
132331
|
+
"name": "SbbFormAssociatedMixin",
|
|
132332
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132333
|
+
}
|
|
132493
132334
|
},
|
|
132494
132335
|
{
|
|
132495
132336
|
"kind": "field",
|
|
132496
|
-
"name": "
|
|
132497
|
-
"
|
|
132337
|
+
"name": "validationMessage",
|
|
132338
|
+
"type": {
|
|
132339
|
+
"text": "string"
|
|
132340
|
+
},
|
|
132341
|
+
"privacy": "public",
|
|
132342
|
+
"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.",
|
|
132343
|
+
"readonly": true,
|
|
132344
|
+
"inheritedFrom": {
|
|
132345
|
+
"name": "SbbFormAssociatedMixin",
|
|
132346
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132347
|
+
}
|
|
132498
132348
|
},
|
|
132499
132349
|
{
|
|
132500
|
-
"kind": "
|
|
132501
|
-
"name": "
|
|
132350
|
+
"kind": "field",
|
|
132351
|
+
"name": "willValidate",
|
|
132352
|
+
"type": {
|
|
132353
|
+
"text": "boolean"
|
|
132354
|
+
},
|
|
132355
|
+
"privacy": "public",
|
|
132356
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
132357
|
+
"readonly": true,
|
|
132358
|
+
"inheritedFrom": {
|
|
132359
|
+
"name": "SbbFormAssociatedMixin",
|
|
132360
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132361
|
+
}
|
|
132362
|
+
},
|
|
132363
|
+
{
|
|
132364
|
+
"kind": "field",
|
|
132365
|
+
"name": "_validityStates",
|
|
132502
132366
|
"privacy": "private",
|
|
132367
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
132368
|
+
"inheritedFrom": {
|
|
132369
|
+
"name": "SbbFormAssociatedMixin",
|
|
132370
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132371
|
+
}
|
|
132372
|
+
},
|
|
132373
|
+
{
|
|
132374
|
+
"kind": "field",
|
|
132375
|
+
"name": "formDisabled",
|
|
132376
|
+
"type": {
|
|
132377
|
+
"text": "boolean"
|
|
132378
|
+
},
|
|
132379
|
+
"privacy": "protected",
|
|
132380
|
+
"default": "false",
|
|
132381
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
132382
|
+
"inheritedFrom": {
|
|
132383
|
+
"name": "SbbFormAssociatedMixin",
|
|
132384
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132385
|
+
}
|
|
132386
|
+
},
|
|
132387
|
+
{
|
|
132388
|
+
"kind": "method",
|
|
132389
|
+
"name": "checkValidity",
|
|
132390
|
+
"privacy": "public",
|
|
132503
132391
|
"return": {
|
|
132504
132392
|
"type": {
|
|
132505
|
-
"text": "
|
|
132393
|
+
"text": "boolean"
|
|
132506
132394
|
}
|
|
132507
132395
|
},
|
|
132508
|
-
"description": "
|
|
132396
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
132397
|
+
"inheritedFrom": {
|
|
132398
|
+
"name": "SbbFormAssociatedMixin",
|
|
132399
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132400
|
+
}
|
|
132509
132401
|
},
|
|
132510
132402
|
{
|
|
132511
132403
|
"kind": "method",
|
|
132512
|
-
"name": "
|
|
132513
|
-
"privacy": "
|
|
132404
|
+
"name": "reportValidity",
|
|
132405
|
+
"privacy": "public",
|
|
132514
132406
|
"return": {
|
|
132515
132407
|
"type": {
|
|
132516
|
-
"text": "
|
|
132408
|
+
"text": "boolean"
|
|
132517
132409
|
}
|
|
132410
|
+
},
|
|
132411
|
+
"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.",
|
|
132412
|
+
"inheritedFrom": {
|
|
132413
|
+
"name": "SbbFormAssociatedMixin",
|
|
132414
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132518
132415
|
}
|
|
132519
132416
|
},
|
|
132520
132417
|
{
|
|
132521
132418
|
"kind": "method",
|
|
132522
|
-
"name": "
|
|
132523
|
-
"privacy": "
|
|
132419
|
+
"name": "setCustomValidity",
|
|
132420
|
+
"privacy": "public",
|
|
132524
132421
|
"return": {
|
|
132525
132422
|
"type": {
|
|
132526
|
-
"text": "
|
|
132423
|
+
"text": "void"
|
|
132527
132424
|
}
|
|
132528
132425
|
},
|
|
132529
|
-
"
|
|
132426
|
+
"parameters": [
|
|
132427
|
+
{
|
|
132428
|
+
"name": "message",
|
|
132429
|
+
"type": {
|
|
132430
|
+
"text": "string"
|
|
132431
|
+
}
|
|
132432
|
+
}
|
|
132433
|
+
],
|
|
132434
|
+
"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.",
|
|
132435
|
+
"inheritedFrom": {
|
|
132436
|
+
"name": "SbbFormAssociatedMixin",
|
|
132437
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132438
|
+
}
|
|
132530
132439
|
},
|
|
132531
132440
|
{
|
|
132532
132441
|
"kind": "method",
|
|
132533
|
-
"name": "
|
|
132442
|
+
"name": "_hasDisabledAncestor",
|
|
132534
132443
|
"privacy": "private",
|
|
132535
132444
|
"return": {
|
|
132536
132445
|
"type": {
|
|
132537
132446
|
"text": "boolean"
|
|
132538
132447
|
}
|
|
132448
|
+
},
|
|
132449
|
+
"inheritedFrom": {
|
|
132450
|
+
"name": "SbbFormAssociatedMixin",
|
|
132451
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132539
132452
|
}
|
|
132540
132453
|
},
|
|
132541
132454
|
{
|
|
132542
132455
|
"kind": "method",
|
|
132543
|
-
"name": "
|
|
132544
|
-
"privacy": "
|
|
132456
|
+
"name": "updateFormValue",
|
|
132457
|
+
"privacy": "protected",
|
|
132545
132458
|
"return": {
|
|
132546
132459
|
"type": {
|
|
132547
132460
|
"text": "void"
|
|
132548
132461
|
}
|
|
132462
|
+
},
|
|
132463
|
+
"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",
|
|
132464
|
+
"inheritedFrom": {
|
|
132465
|
+
"name": "SbbFormAssociatedMixin",
|
|
132466
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132549
132467
|
}
|
|
132550
132468
|
},
|
|
132551
132469
|
{
|
|
132552
132470
|
"kind": "method",
|
|
132553
|
-
"name": "
|
|
132554
|
-
"privacy": "
|
|
132471
|
+
"name": "formState",
|
|
132472
|
+
"privacy": "protected",
|
|
132473
|
+
"return": {
|
|
132474
|
+
"type": {
|
|
132475
|
+
"text": "FormRestoreState"
|
|
132476
|
+
}
|
|
132477
|
+
},
|
|
132478
|
+
"inheritedFrom": {
|
|
132479
|
+
"name": "SbbFormAssociatedMixin",
|
|
132480
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132481
|
+
}
|
|
132482
|
+
},
|
|
132483
|
+
{
|
|
132484
|
+
"kind": "method",
|
|
132485
|
+
"name": "setValidityFlag",
|
|
132486
|
+
"privacy": "protected",
|
|
132555
132487
|
"return": {
|
|
132556
132488
|
"type": {
|
|
132557
132489
|
"text": "void"
|
|
@@ -132559,17 +132491,35 @@
|
|
|
132559
132491
|
},
|
|
132560
132492
|
"parameters": [
|
|
132561
132493
|
{
|
|
132562
|
-
"name": "
|
|
132494
|
+
"name": "flag",
|
|
132563
132495
|
"type": {
|
|
132564
|
-
"text": "
|
|
132496
|
+
"text": "T"
|
|
132497
|
+
}
|
|
132498
|
+
},
|
|
132499
|
+
{
|
|
132500
|
+
"name": "message",
|
|
132501
|
+
"type": {
|
|
132502
|
+
"text": "string"
|
|
132503
|
+
}
|
|
132504
|
+
},
|
|
132505
|
+
{
|
|
132506
|
+
"name": "flagValue",
|
|
132507
|
+
"optional": true,
|
|
132508
|
+
"type": {
|
|
132509
|
+
"text": "ValidityStateFlags[T]"
|
|
132565
132510
|
}
|
|
132566
132511
|
}
|
|
132567
|
-
]
|
|
132512
|
+
],
|
|
132513
|
+
"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).",
|
|
132514
|
+
"inheritedFrom": {
|
|
132515
|
+
"name": "SbbFormAssociatedMixin",
|
|
132516
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132517
|
+
}
|
|
132568
132518
|
},
|
|
132569
132519
|
{
|
|
132570
132520
|
"kind": "method",
|
|
132571
|
-
"name": "
|
|
132572
|
-
"privacy": "
|
|
132521
|
+
"name": "removeValidityFlag",
|
|
132522
|
+
"privacy": "protected",
|
|
132573
132523
|
"return": {
|
|
132574
132524
|
"type": {
|
|
132575
132525
|
"text": "void"
|
|
@@ -132577,152 +132527,158 @@
|
|
|
132577
132527
|
},
|
|
132578
132528
|
"parameters": [
|
|
132579
132529
|
{
|
|
132580
|
-
"name": "
|
|
132530
|
+
"name": "flag",
|
|
132581
132531
|
"type": {
|
|
132582
|
-
"text": "
|
|
132532
|
+
"text": "T"
|
|
132583
132533
|
}
|
|
132584
132534
|
}
|
|
132585
|
-
]
|
|
132535
|
+
],
|
|
132536
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
132537
|
+
"inheritedFrom": {
|
|
132538
|
+
"name": "SbbFormAssociatedMixin",
|
|
132539
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132540
|
+
}
|
|
132586
132541
|
},
|
|
132587
132542
|
{
|
|
132588
132543
|
"kind": "method",
|
|
132589
|
-
"name": "
|
|
132590
|
-
"privacy": "
|
|
132544
|
+
"name": "validate",
|
|
132545
|
+
"privacy": "protected",
|
|
132591
132546
|
"return": {
|
|
132592
132547
|
"type": {
|
|
132593
132548
|
"text": "void"
|
|
132594
132549
|
}
|
|
132550
|
+
},
|
|
132551
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
132552
|
+
"inheritedFrom": {
|
|
132553
|
+
"name": "SbbFormAssociatedMixin",
|
|
132554
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132595
132555
|
}
|
|
132596
132556
|
},
|
|
132597
132557
|
{
|
|
132598
132558
|
"kind": "method",
|
|
132599
|
-
"name": "
|
|
132600
|
-
"privacy": "
|
|
132559
|
+
"name": "shouldValidate",
|
|
132560
|
+
"privacy": "protected",
|
|
132601
132561
|
"return": {
|
|
132602
132562
|
"type": {
|
|
132603
|
-
"text": "
|
|
132563
|
+
"text": "boolean"
|
|
132564
|
+
}
|
|
132565
|
+
},
|
|
132566
|
+
"parameters": [
|
|
132567
|
+
{
|
|
132568
|
+
"name": "name",
|
|
132569
|
+
"type": {
|
|
132570
|
+
"text": "PropertyKey | undefined"
|
|
132571
|
+
}
|
|
132604
132572
|
}
|
|
132573
|
+
],
|
|
132574
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
132575
|
+
"inheritedFrom": {
|
|
132576
|
+
"name": "SbbFormAssociatedMixin",
|
|
132577
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132605
132578
|
}
|
|
132606
132579
|
},
|
|
132607
132580
|
{
|
|
132608
132581
|
"kind": "method",
|
|
132609
|
-
"name": "
|
|
132582
|
+
"name": "_setInternalValidity",
|
|
132610
132583
|
"privacy": "private",
|
|
132611
132584
|
"return": {
|
|
132612
132585
|
"type": {
|
|
132613
|
-
"text": "
|
|
132586
|
+
"text": "void"
|
|
132614
132587
|
}
|
|
132615
|
-
}
|
|
132616
|
-
},
|
|
132617
|
-
{
|
|
132618
|
-
"kind": "field",
|
|
132619
|
-
"name": "events",
|
|
132620
|
-
"privacy": "public",
|
|
132621
|
-
"static": true,
|
|
132622
|
-
"readonly": true,
|
|
132623
|
-
"default": "{ beforeopen: 'beforeopen', open: 'open', beforeclose: 'beforeclose', close: 'close', }",
|
|
132624
|
-
"type": {
|
|
132625
|
-
"text": "{\n beforeopen: 'beforeopen',\n open: 'open',\n beforeclose: 'beforeclose',\n close: 'close',\n }"
|
|
132626
132588
|
},
|
|
132627
132589
|
"inheritedFrom": {
|
|
132628
|
-
"name": "
|
|
132629
|
-
"module": "core/
|
|
132590
|
+
"name": "SbbFormAssociatedMixin",
|
|
132591
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
132630
132592
|
}
|
|
132631
132593
|
},
|
|
132632
132594
|
{
|
|
132633
132595
|
"kind": "field",
|
|
132634
|
-
"name": "
|
|
132635
|
-
"privacy": "
|
|
132636
|
-
"description": "
|
|
132637
|
-
"
|
|
132638
|
-
|
|
132639
|
-
|
|
132640
|
-
|
|
132596
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
132597
|
+
"privacy": "private",
|
|
132598
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
132599
|
+
"parameters": [
|
|
132600
|
+
{
|
|
132601
|
+
"description": "The origin event.",
|
|
132602
|
+
"name": "event"
|
|
132603
|
+
}
|
|
132604
|
+
],
|
|
132641
132605
|
"inheritedFrom": {
|
|
132642
|
-
"name": "
|
|
132643
|
-
"module": "core/base-elements/
|
|
132606
|
+
"name": "SbbButtonLikeBaseElement",
|
|
132607
|
+
"module": "core/base-elements/button-base-element.js"
|
|
132644
132608
|
}
|
|
132645
132609
|
},
|
|
132646
132610
|
{
|
|
132647
132611
|
"kind": "field",
|
|
132648
|
-
"name": "
|
|
132649
|
-
"type": {
|
|
132650
|
-
"text": "SbbOpenedClosedState"
|
|
132651
|
-
},
|
|
132612
|
+
"name": "_removeActiveMarker",
|
|
132652
132613
|
"privacy": "private",
|
|
132653
132614
|
"inheritedFrom": {
|
|
132654
|
-
"name": "
|
|
132655
|
-
"module": "core/base-elements/
|
|
132615
|
+
"name": "SbbButtonLikeBaseElement",
|
|
132616
|
+
"module": "core/base-elements/button-base-element.js"
|
|
132656
132617
|
}
|
|
132657
132618
|
},
|
|
132658
132619
|
{
|
|
132659
132620
|
"kind": "field",
|
|
132660
|
-
"name": "
|
|
132661
|
-
"
|
|
132662
|
-
|
|
132663
|
-
|
|
132664
|
-
|
|
132665
|
-
|
|
132666
|
-
|
|
132621
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
132622
|
+
"privacy": "private",
|
|
132623
|
+
"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.",
|
|
132624
|
+
"parameters": [
|
|
132625
|
+
{
|
|
132626
|
+
"description": "The origin event.",
|
|
132627
|
+
"name": "event"
|
|
132628
|
+
}
|
|
132629
|
+
],
|
|
132667
132630
|
"inheritedFrom": {
|
|
132668
|
-
"name": "
|
|
132669
|
-
"module": "core/base-elements/
|
|
132631
|
+
"name": "SbbButtonLikeBaseElement",
|
|
132632
|
+
"module": "core/base-elements/button-base-element.js"
|
|
132670
132633
|
}
|
|
132671
132634
|
},
|
|
132672
132635
|
{
|
|
132673
|
-
"kind": "
|
|
132674
|
-
"name": "
|
|
132675
|
-
"privacy": "
|
|
132676
|
-
"return": {
|
|
132677
|
-
"type": {
|
|
132678
|
-
"text": "boolean"
|
|
132679
|
-
}
|
|
132680
|
-
},
|
|
132636
|
+
"kind": "field",
|
|
132637
|
+
"name": "_dispatchClickEvent",
|
|
132638
|
+
"privacy": "private",
|
|
132681
132639
|
"inheritedFrom": {
|
|
132682
|
-
"name": "
|
|
132683
|
-
"module": "core/base-elements/
|
|
132640
|
+
"name": "SbbButtonLikeBaseElement",
|
|
132641
|
+
"module": "core/base-elements/button-base-element.js"
|
|
132684
132642
|
}
|
|
132685
132643
|
},
|
|
132686
132644
|
{
|
|
132687
|
-
"kind": "
|
|
132688
|
-
"name": "
|
|
132689
|
-
"
|
|
132690
|
-
|
|
132691
|
-
"type": {
|
|
132692
|
-
"text": "boolean"
|
|
132693
|
-
}
|
|
132645
|
+
"kind": "field",
|
|
132646
|
+
"name": "maybeDisabled",
|
|
132647
|
+
"type": {
|
|
132648
|
+
"text": "boolean | undefined"
|
|
132694
132649
|
},
|
|
132650
|
+
"privacy": "protected",
|
|
132651
|
+
"readonly": true,
|
|
132695
132652
|
"inheritedFrom": {
|
|
132696
|
-
"name": "
|
|
132697
|
-
"module": "core/base-elements/
|
|
132653
|
+
"name": "SbbActionBaseElement",
|
|
132654
|
+
"module": "core/base-elements/action-base-element.js"
|
|
132698
132655
|
}
|
|
132699
132656
|
},
|
|
132700
132657
|
{
|
|
132701
|
-
"kind": "
|
|
132702
|
-
"name": "
|
|
132703
|
-
"
|
|
132704
|
-
|
|
132705
|
-
"type": {
|
|
132706
|
-
"text": "boolean"
|
|
132707
|
-
}
|
|
132658
|
+
"kind": "field",
|
|
132659
|
+
"name": "maybeDisabledInteractive",
|
|
132660
|
+
"type": {
|
|
132661
|
+
"text": "boolean | undefined"
|
|
132708
132662
|
},
|
|
132663
|
+
"privacy": "protected",
|
|
132664
|
+
"readonly": true,
|
|
132709
132665
|
"inheritedFrom": {
|
|
132710
|
-
"name": "
|
|
132711
|
-
"module": "core/base-elements/
|
|
132666
|
+
"name": "SbbActionBaseElement",
|
|
132667
|
+
"module": "core/base-elements/action-base-element.js"
|
|
132712
132668
|
}
|
|
132713
132669
|
},
|
|
132714
132670
|
{
|
|
132715
132671
|
"kind": "method",
|
|
132716
|
-
"name": "
|
|
132672
|
+
"name": "setupBaseEventHandlers",
|
|
132717
132673
|
"privacy": "protected",
|
|
132718
132674
|
"return": {
|
|
132719
132675
|
"type": {
|
|
132720
|
-
"text": "
|
|
132676
|
+
"text": "void"
|
|
132721
132677
|
}
|
|
132722
132678
|
},
|
|
132723
132679
|
"inheritedFrom": {
|
|
132724
|
-
"name": "
|
|
132725
|
-
"module": "core/base-elements/
|
|
132680
|
+
"name": "SbbActionBaseElement",
|
|
132681
|
+
"module": "core/base-elements/action-base-element.js"
|
|
132726
132682
|
}
|
|
132727
132683
|
},
|
|
132728
132684
|
{
|
|
@@ -132983,66 +132939,110 @@
|
|
|
132983
132939
|
}
|
|
132984
132940
|
}
|
|
132985
132941
|
],
|
|
132986
|
-
"
|
|
132942
|
+
"mixins": [
|
|
132987
132943
|
{
|
|
132988
|
-
"name": "
|
|
132989
|
-
"
|
|
132990
|
-
|
|
132991
|
-
|
|
132992
|
-
"
|
|
132993
|
-
"
|
|
132994
|
-
"fieldName": "trigger"
|
|
132944
|
+
"name": "SbbDisabledTabIndexActionMixin",
|
|
132945
|
+
"module": "core.js"
|
|
132946
|
+
},
|
|
132947
|
+
{
|
|
132948
|
+
"name": "SbbMenuActionCommonElementMixin",
|
|
132949
|
+
"module": "menu/common/menu-action-common.js"
|
|
132995
132950
|
}
|
|
132996
132951
|
],
|
|
132997
132952
|
"superclass": {
|
|
132998
|
-
"name": "
|
|
132953
|
+
"name": "SbbButtonBaseElement",
|
|
132999
132954
|
"module": "core.js"
|
|
133000
132955
|
},
|
|
133001
|
-
"tagName": "sbb-menu",
|
|
132956
|
+
"tagName": "sbb-menu-button",
|
|
133002
132957
|
"customElement": true,
|
|
133003
|
-
"
|
|
132958
|
+
"attributes": [
|
|
133004
132959
|
{
|
|
133005
|
-
"name": "
|
|
132960
|
+
"name": "disabled-interactive",
|
|
133006
132961
|
"type": {
|
|
133007
|
-
"text": "
|
|
132962
|
+
"text": "boolean"
|
|
133008
132963
|
},
|
|
133009
|
-
"
|
|
132964
|
+
"default": "false",
|
|
132965
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
132966
|
+
"fieldName": "disabledInteractive",
|
|
133010
132967
|
"inheritedFrom": {
|
|
133011
|
-
"name": "
|
|
133012
|
-
"module": "core/
|
|
132968
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
132969
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
133013
132970
|
}
|
|
133014
132971
|
},
|
|
133015
132972
|
{
|
|
133016
|
-
"name": "
|
|
132973
|
+
"name": "disabled",
|
|
132974
|
+
"description": "Whether the component is disabled.",
|
|
132975
|
+
"default": "false",
|
|
133017
132976
|
"type": {
|
|
133018
|
-
"text": "
|
|
132977
|
+
"text": "boolean"
|
|
133019
132978
|
},
|
|
133020
|
-
"
|
|
132979
|
+
"fieldName": "disabled",
|
|
133021
132980
|
"inheritedFrom": {
|
|
133022
|
-
"name": "
|
|
133023
|
-
"module": "core/
|
|
132981
|
+
"name": "SbbDisabledMixin",
|
|
132982
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
133024
132983
|
}
|
|
133025
132984
|
},
|
|
133026
132985
|
{
|
|
133027
|
-
"name": "
|
|
132986
|
+
"name": "icon-name",
|
|
133028
132987
|
"type": {
|
|
133029
|
-
"text": "
|
|
132988
|
+
"text": "string"
|
|
133030
132989
|
},
|
|
133031
|
-
"
|
|
132990
|
+
"default": "''",
|
|
132991
|
+
"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.",
|
|
132992
|
+
"fieldName": "iconName",
|
|
133032
132993
|
"inheritedFrom": {
|
|
133033
|
-
"name": "
|
|
133034
|
-
"module": "
|
|
132994
|
+
"name": "SbbIconNameMixin",
|
|
132995
|
+
"module": "icon/icon-name-mixin.js"
|
|
133035
132996
|
}
|
|
133036
132997
|
},
|
|
133037
132998
|
{
|
|
133038
|
-
"name": "
|
|
132999
|
+
"name": "value",
|
|
133039
133000
|
"type": {
|
|
133040
|
-
"text": "
|
|
133001
|
+
"text": "string"
|
|
133041
133002
|
},
|
|
133042
|
-
"
|
|
133003
|
+
"default": "''",
|
|
133004
|
+
"description": "Value of the form element.",
|
|
133005
|
+
"fieldName": "value",
|
|
133043
133006
|
"inheritedFrom": {
|
|
133044
|
-
"name": "
|
|
133045
|
-
"module": "core/base-elements/
|
|
133007
|
+
"name": "SbbButtonBaseElement",
|
|
133008
|
+
"module": "core/base-elements/button-base-element.js"
|
|
133009
|
+
}
|
|
133010
|
+
},
|
|
133011
|
+
{
|
|
133012
|
+
"name": "type",
|
|
133013
|
+
"description": "The type attribute to use for the button.",
|
|
133014
|
+
"default": "'button'",
|
|
133015
|
+
"type": {
|
|
133016
|
+
"text": "SbbButtonType"
|
|
133017
|
+
},
|
|
133018
|
+
"fieldName": "type",
|
|
133019
|
+
"inheritedFrom": {
|
|
133020
|
+
"name": "SbbButtonBaseElement",
|
|
133021
|
+
"module": "core/base-elements/button-base-element.js"
|
|
133022
|
+
}
|
|
133023
|
+
},
|
|
133024
|
+
{
|
|
133025
|
+
"name": "form",
|
|
133026
|
+
"description": "The `<form>` element to associate the button with.",
|
|
133027
|
+
"type": {
|
|
133028
|
+
"text": "HTMLFormElement | null"
|
|
133029
|
+
},
|
|
133030
|
+
"fieldName": "form",
|
|
133031
|
+
"inheritedFrom": {
|
|
133032
|
+
"name": "SbbButtonBaseElement",
|
|
133033
|
+
"module": "core/base-elements/button-base-element.js"
|
|
133034
|
+
}
|
|
133035
|
+
},
|
|
133036
|
+
{
|
|
133037
|
+
"name": "name",
|
|
133038
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
133039
|
+
"type": {
|
|
133040
|
+
"text": "string"
|
|
133041
|
+
},
|
|
133042
|
+
"fieldName": "name",
|
|
133043
|
+
"inheritedFrom": {
|
|
133044
|
+
"name": "SbbFormAssociatedMixin",
|
|
133045
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
133046
133046
|
}
|
|
133047
133047
|
}
|
|
133048
133048
|
]
|
|
@@ -133051,10 +133051,10 @@
|
|
|
133051
133051
|
"exports": [
|
|
133052
133052
|
{
|
|
133053
133053
|
"kind": "js",
|
|
133054
|
-
"name": "
|
|
133054
|
+
"name": "SbbMenuButtonElement",
|
|
133055
133055
|
"declaration": {
|
|
133056
|
-
"name": "
|
|
133057
|
-
"module": "menu/menu/menu.component.js"
|
|
133056
|
+
"name": "SbbMenuButtonElement",
|
|
133057
|
+
"module": "menu/menu-button/menu-button.component.js"
|
|
133058
133058
|
}
|
|
133059
133059
|
}
|
|
133060
133060
|
]
|