@sbb-esta/lyne-elements-dev 4.13.0-dev.1780116462 → 4.13.0-dev.1780293079
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 +1571 -1571
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -100988,15 +100988,15 @@
|
|
|
100988
100988
|
},
|
|
100989
100989
|
{
|
|
100990
100990
|
"kind": "javascript-module",
|
|
100991
|
-
"path": "link/block-link-
|
|
100991
|
+
"path": "link/block-link-static/block-link-static.component.js",
|
|
100992
100992
|
"declarations": [
|
|
100993
100993
|
{
|
|
100994
100994
|
"kind": "class",
|
|
100995
|
-
"description": "It displays a link enhanced with the SBB Design
|
|
100996
|
-
"name": "
|
|
100995
|
+
"description": "It displays a static link enhanced with the SBB Design.",
|
|
100996
|
+
"name": "SbbBlockLinkStaticElement",
|
|
100997
100997
|
"slots": [
|
|
100998
100998
|
{
|
|
100999
|
-
"description": "Use the unnamed slot to add content to the `sbb-block-link-
|
|
100999
|
+
"description": "Use the unnamed slot to add content to the `sbb-block-link-static`.",
|
|
101000
101000
|
"name": ""
|
|
101001
101001
|
},
|
|
101002
101002
|
{
|
|
@@ -101018,7 +101018,7 @@
|
|
|
101018
101018
|
"name": "SbbElement",
|
|
101019
101019
|
"module": "core/base-elements/element.js"
|
|
101020
101020
|
},
|
|
101021
|
-
"default": "'sbb-block-link-
|
|
101021
|
+
"default": "'sbb-block-link-static'"
|
|
101022
101022
|
},
|
|
101023
101023
|
{
|
|
101024
101024
|
"kind": "field",
|
|
@@ -101147,22 +101147,6 @@
|
|
|
101147
101147
|
"module": "icon/icon-name-mixin.js"
|
|
101148
101148
|
}
|
|
101149
101149
|
},
|
|
101150
|
-
{
|
|
101151
|
-
"kind": "field",
|
|
101152
|
-
"name": "disabledInteractive",
|
|
101153
|
-
"type": {
|
|
101154
|
-
"text": "boolean"
|
|
101155
|
-
},
|
|
101156
|
-
"privacy": "public",
|
|
101157
|
-
"default": "false",
|
|
101158
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
101159
|
-
"attribute": "disabled-interactive",
|
|
101160
|
-
"reflects": true,
|
|
101161
|
-
"inheritedFrom": {
|
|
101162
|
-
"name": "SbbDisabledInteractiveMixin",
|
|
101163
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
101164
|
-
}
|
|
101165
|
-
},
|
|
101166
101150
|
{
|
|
101167
101151
|
"kind": "field",
|
|
101168
101152
|
"name": "disabled",
|
|
@@ -101209,88 +101193,98 @@
|
|
|
101209
101193
|
},
|
|
101210
101194
|
{
|
|
101211
101195
|
"kind": "field",
|
|
101212
|
-
"name": "
|
|
101196
|
+
"name": "maybeDisabled",
|
|
101213
101197
|
"type": {
|
|
101214
|
-
"text": "
|
|
101198
|
+
"text": "boolean | undefined"
|
|
101215
101199
|
},
|
|
101216
|
-
"privacy": "
|
|
101200
|
+
"privacy": "protected",
|
|
101217
101201
|
"readonly": true,
|
|
101218
|
-
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
101219
101202
|
"inheritedFrom": {
|
|
101220
|
-
"name": "
|
|
101221
|
-
"module": "core/base-elements/
|
|
101203
|
+
"name": "SbbActionBaseElement",
|
|
101204
|
+
"module": "core/base-elements/action-base-element.js"
|
|
101222
101205
|
}
|
|
101223
101206
|
},
|
|
101224
101207
|
{
|
|
101225
101208
|
"kind": "field",
|
|
101226
|
-
"name": "
|
|
101209
|
+
"name": "maybeDisabledInteractive",
|
|
101227
101210
|
"type": {
|
|
101228
|
-
"text": "
|
|
101211
|
+
"text": "boolean | undefined"
|
|
101229
101212
|
},
|
|
101230
|
-
"privacy": "
|
|
101213
|
+
"privacy": "protected",
|
|
101214
|
+
"readonly": true,
|
|
101231
101215
|
"inheritedFrom": {
|
|
101232
|
-
"name": "
|
|
101233
|
-
"module": "core/base-elements/
|
|
101216
|
+
"name": "SbbActionBaseElement",
|
|
101217
|
+
"module": "core/base-elements/action-base-element.js"
|
|
101218
|
+
}
|
|
101219
|
+
},
|
|
101220
|
+
{
|
|
101221
|
+
"kind": "method",
|
|
101222
|
+
"name": "setupBaseEventHandlers",
|
|
101223
|
+
"privacy": "protected",
|
|
101224
|
+
"return": {
|
|
101225
|
+
"type": {
|
|
101226
|
+
"text": "void"
|
|
101227
|
+
}
|
|
101234
101228
|
},
|
|
101235
|
-
"
|
|
101236
|
-
|
|
101237
|
-
|
|
101229
|
+
"inheritedFrom": {
|
|
101230
|
+
"name": "SbbActionBaseElement",
|
|
101231
|
+
"module": "core/base-elements/action-base-element.js"
|
|
101232
|
+
}
|
|
101238
101233
|
},
|
|
101239
101234
|
{
|
|
101240
101235
|
"kind": "field",
|
|
101241
|
-
"name": "
|
|
101242
|
-
"privacy": "public",
|
|
101243
|
-
"description": "The type attribute to use for the button.",
|
|
101244
|
-
"default": "'button'",
|
|
101236
|
+
"name": "_hydrationRequired",
|
|
101245
101237
|
"type": {
|
|
101246
|
-
"text": "
|
|
101238
|
+
"text": "boolean"
|
|
101247
101239
|
},
|
|
101248
|
-
"
|
|
101240
|
+
"privacy": "private",
|
|
101241
|
+
"default": "!!this.shadowRoot",
|
|
101249
101242
|
"inheritedFrom": {
|
|
101250
|
-
"name": "
|
|
101251
|
-
"module": "core/base-elements/
|
|
101243
|
+
"name": "SbbElement",
|
|
101244
|
+
"module": "core/base-elements/element.js"
|
|
101252
101245
|
}
|
|
101253
101246
|
},
|
|
101254
101247
|
{
|
|
101255
101248
|
"kind": "field",
|
|
101256
|
-
"name": "
|
|
101257
|
-
"
|
|
101258
|
-
|
|
101259
|
-
},
|
|
101260
|
-
"privacy": "public",
|
|
101261
|
-
"description": "The `<form>` element to associate the button with.",
|
|
101249
|
+
"name": "_hydrationComplete",
|
|
101250
|
+
"privacy": "private",
|
|
101251
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
101262
101252
|
"inheritedFrom": {
|
|
101263
|
-
"name": "
|
|
101264
|
-
"module": "core/base-elements/
|
|
101265
|
-
}
|
|
101266
|
-
"attribute": "form"
|
|
101253
|
+
"name": "SbbElement",
|
|
101254
|
+
"module": "core/base-elements/element.js"
|
|
101255
|
+
}
|
|
101267
101256
|
},
|
|
101268
101257
|
{
|
|
101269
101258
|
"kind": "field",
|
|
101270
|
-
"name": "
|
|
101259
|
+
"name": "_resolveHydration",
|
|
101271
101260
|
"type": {
|
|
101272
|
-
"text": "
|
|
101261
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
101273
101262
|
},
|
|
101274
101263
|
"privacy": "private",
|
|
101275
|
-
"default": "''",
|
|
101276
101264
|
"inheritedFrom": {
|
|
101277
|
-
"name": "
|
|
101278
|
-
"module": "core/base-elements/
|
|
101265
|
+
"name": "SbbElement",
|
|
101266
|
+
"module": "core/base-elements/element.js"
|
|
101279
101267
|
}
|
|
101280
101268
|
},
|
|
101281
101269
|
{
|
|
101282
101270
|
"kind": "field",
|
|
101283
|
-
"name": "
|
|
101284
|
-
"
|
|
101271
|
+
"name": "hydrationRequired",
|
|
101272
|
+
"type": {
|
|
101273
|
+
"text": "boolean"
|
|
101274
|
+
},
|
|
101275
|
+
"privacy": "protected",
|
|
101276
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
101277
|
+
"readonly": true,
|
|
101285
101278
|
"inheritedFrom": {
|
|
101286
|
-
"name": "
|
|
101287
|
-
"module": "core/base-elements/
|
|
101288
|
-
}
|
|
101279
|
+
"name": "SbbElement",
|
|
101280
|
+
"module": "core/base-elements/element.js"
|
|
101281
|
+
},
|
|
101282
|
+
"default": "!!this.shadowRoot"
|
|
101289
101283
|
},
|
|
101290
101284
|
{
|
|
101291
101285
|
"kind": "method",
|
|
101292
|
-
"name": "
|
|
101293
|
-
"privacy": "
|
|
101286
|
+
"name": "toggleState",
|
|
101287
|
+
"privacy": "protected",
|
|
101294
101288
|
"return": {
|
|
101295
101289
|
"type": {
|
|
101296
101290
|
"text": "void"
|
|
@@ -101298,29 +101292,27 @@
|
|
|
101298
101292
|
},
|
|
101299
101293
|
"parameters": [
|
|
101300
101294
|
{
|
|
101301
|
-
"name": "
|
|
101295
|
+
"name": "value",
|
|
101302
101296
|
"type": {
|
|
101303
|
-
"text": "
|
|
101297
|
+
"text": "string"
|
|
101298
|
+
}
|
|
101299
|
+
},
|
|
101300
|
+
{
|
|
101301
|
+
"name": "force",
|
|
101302
|
+
"optional": true,
|
|
101303
|
+
"type": {
|
|
101304
|
+
"text": "boolean"
|
|
101304
101305
|
}
|
|
101305
101306
|
}
|
|
101306
101307
|
],
|
|
101307
101308
|
"inheritedFrom": {
|
|
101308
|
-
"name": "
|
|
101309
|
-
"module": "core/base-elements/
|
|
101310
|
-
}
|
|
101311
|
-
},
|
|
101312
|
-
{
|
|
101313
|
-
"kind": "field",
|
|
101314
|
-
"name": "_formKeyDown",
|
|
101315
|
-
"privacy": "private",
|
|
101316
|
-
"inheritedFrom": {
|
|
101317
|
-
"name": "SbbButtonBaseElement",
|
|
101318
|
-
"module": "core/base-elements/button-base-element.js"
|
|
101309
|
+
"name": "SbbElement",
|
|
101310
|
+
"module": "core/base-elements/element.js"
|
|
101319
101311
|
}
|
|
101320
101312
|
},
|
|
101321
101313
|
{
|
|
101322
101314
|
"kind": "field",
|
|
101323
|
-
"name": "
|
|
101315
|
+
"name": "['_$sbbElement$']",
|
|
101324
101316
|
"type": {
|
|
101325
101317
|
"text": "boolean"
|
|
101326
101318
|
},
|
|
@@ -101328,456 +101320,411 @@
|
|
|
101328
101320
|
"static": true,
|
|
101329
101321
|
"default": "true",
|
|
101330
101322
|
"inheritedFrom": {
|
|
101331
|
-
"name": "
|
|
101332
|
-
"module": "core/
|
|
101323
|
+
"name": "SbbElement",
|
|
101324
|
+
"module": "core/base-elements/element.js"
|
|
101333
101325
|
}
|
|
101334
101326
|
},
|
|
101335
101327
|
{
|
|
101336
101328
|
"kind": "field",
|
|
101337
|
-
"name": "
|
|
101338
|
-
"privacy": "public",
|
|
101339
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
101329
|
+
"name": "_controllers",
|
|
101340
101330
|
"type": {
|
|
101341
|
-
"text": "
|
|
101331
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
101342
101332
|
},
|
|
101343
|
-
"
|
|
101333
|
+
"privacy": "private",
|
|
101344
101334
|
"inheritedFrom": {
|
|
101345
|
-
"name": "
|
|
101346
|
-
"module": "core/
|
|
101335
|
+
"name": "SbbElement",
|
|
101336
|
+
"module": "core/base-elements/element.js"
|
|
101347
101337
|
}
|
|
101338
|
+
}
|
|
101339
|
+
],
|
|
101340
|
+
"mixins": [
|
|
101341
|
+
{
|
|
101342
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
101343
|
+
"module": "link/common/block-link-common.js"
|
|
101348
101344
|
},
|
|
101349
101345
|
{
|
|
101350
|
-
"
|
|
101351
|
-
"
|
|
101346
|
+
"name": "SbbDisabledMixin",
|
|
101347
|
+
"module": "core/mixins.js"
|
|
101348
|
+
}
|
|
101349
|
+
],
|
|
101350
|
+
"superclass": {
|
|
101351
|
+
"name": "SbbActionBaseElement",
|
|
101352
|
+
"module": "core/base-elements.js"
|
|
101353
|
+
},
|
|
101354
|
+
"tagName": "sbb-block-link-static",
|
|
101355
|
+
"customElement": true,
|
|
101356
|
+
"attributes": [
|
|
101357
|
+
{
|
|
101358
|
+
"name": "icon-placement",
|
|
101352
101359
|
"type": {
|
|
101353
|
-
"text": "
|
|
101360
|
+
"text": "SbbIconPlacement"
|
|
101354
101361
|
},
|
|
101355
|
-
"
|
|
101356
|
-
"description": "
|
|
101357
|
-
"
|
|
101362
|
+
"default": "'start'",
|
|
101363
|
+
"description": "Moves the icon to the end of the component if set to true.",
|
|
101364
|
+
"fieldName": "iconPlacement",
|
|
101358
101365
|
"inheritedFrom": {
|
|
101359
|
-
"name": "
|
|
101360
|
-
"module": "
|
|
101366
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
101367
|
+
"module": "link/common/block-link-common.js"
|
|
101361
101368
|
}
|
|
101362
101369
|
},
|
|
101363
101370
|
{
|
|
101364
|
-
"
|
|
101365
|
-
"name": "validationMessage",
|
|
101371
|
+
"name": "size",
|
|
101366
101372
|
"type": {
|
|
101367
|
-
"text": "
|
|
101373
|
+
"text": "SbbLinkSize"
|
|
101368
101374
|
},
|
|
101369
|
-
"
|
|
101370
|
-
"
|
|
101371
|
-
"
|
|
101375
|
+
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
101376
|
+
"default": "'s' / 'xs' (lean)",
|
|
101377
|
+
"fieldName": "size",
|
|
101372
101378
|
"inheritedFrom": {
|
|
101373
|
-
"name": "
|
|
101374
|
-
"module": "
|
|
101379
|
+
"name": "SbbLinkCommonElementMixin",
|
|
101380
|
+
"module": "link/common/link-common.js"
|
|
101375
101381
|
}
|
|
101376
101382
|
},
|
|
101377
101383
|
{
|
|
101378
|
-
"
|
|
101379
|
-
"name": "willValidate",
|
|
101384
|
+
"name": "icon-name",
|
|
101380
101385
|
"type": {
|
|
101381
|
-
"text": "
|
|
101386
|
+
"text": "string"
|
|
101382
101387
|
},
|
|
101383
|
-
"
|
|
101384
|
-
"description": "
|
|
101385
|
-
"
|
|
101386
|
-
"inheritedFrom": {
|
|
101387
|
-
"name": "SbbFormAssociatedMixin",
|
|
101388
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
101389
|
-
}
|
|
101390
|
-
},
|
|
101391
|
-
{
|
|
101392
|
-
"kind": "field",
|
|
101393
|
-
"name": "_validityStates",
|
|
101394
|
-
"privacy": "private",
|
|
101395
|
-
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
101388
|
+
"default": "''",
|
|
101389
|
+
"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.",
|
|
101390
|
+
"fieldName": "iconName",
|
|
101396
101391
|
"inheritedFrom": {
|
|
101397
|
-
"name": "
|
|
101398
|
-
"module": "
|
|
101392
|
+
"name": "SbbIconNameMixin",
|
|
101393
|
+
"module": "icon/icon-name-mixin.js"
|
|
101399
101394
|
}
|
|
101400
101395
|
},
|
|
101401
101396
|
{
|
|
101402
|
-
"
|
|
101403
|
-
"
|
|
101397
|
+
"name": "disabled",
|
|
101398
|
+
"description": "Whether the component is disabled.",
|
|
101399
|
+
"default": "false",
|
|
101404
101400
|
"type": {
|
|
101405
101401
|
"text": "boolean"
|
|
101406
101402
|
},
|
|
101407
|
-
"
|
|
101408
|
-
"default": "false",
|
|
101409
|
-
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
101403
|
+
"fieldName": "disabled",
|
|
101410
101404
|
"inheritedFrom": {
|
|
101411
|
-
"name": "
|
|
101412
|
-
"module": "core/mixins/
|
|
101413
|
-
}
|
|
101414
|
-
},
|
|
101415
|
-
{
|
|
101416
|
-
"kind": "method",
|
|
101417
|
-
"name": "checkValidity",
|
|
101418
|
-
"privacy": "public",
|
|
101419
|
-
"return": {
|
|
101420
|
-
"type": {
|
|
101421
|
-
"text": "boolean"
|
|
101422
|
-
}
|
|
101423
|
-
},
|
|
101424
|
-
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
101425
|
-
"inheritedFrom": {
|
|
101426
|
-
"name": "SbbFormAssociatedMixin",
|
|
101427
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
101405
|
+
"name": "SbbDisabledMixin",
|
|
101406
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
101428
101407
|
}
|
|
101408
|
+
}
|
|
101409
|
+
]
|
|
101410
|
+
}
|
|
101411
|
+
],
|
|
101412
|
+
"exports": [
|
|
101413
|
+
{
|
|
101414
|
+
"kind": "js",
|
|
101415
|
+
"name": "SbbBlockLinkStaticElement",
|
|
101416
|
+
"declaration": {
|
|
101417
|
+
"name": "SbbBlockLinkStaticElement",
|
|
101418
|
+
"module": "link/block-link-static/block-link-static.component.js"
|
|
101419
|
+
}
|
|
101420
|
+
}
|
|
101421
|
+
]
|
|
101422
|
+
},
|
|
101423
|
+
{
|
|
101424
|
+
"kind": "javascript-module",
|
|
101425
|
+
"path": "link/block-link-button/block-link-button.component.js",
|
|
101426
|
+
"declarations": [
|
|
101427
|
+
{
|
|
101428
|
+
"kind": "class",
|
|
101429
|
+
"description": "It displays a link enhanced with the SBB Design, which will behave as a button.",
|
|
101430
|
+
"name": "SbbBlockLinkButtonElement",
|
|
101431
|
+
"slots": [
|
|
101432
|
+
{
|
|
101433
|
+
"description": "Use the unnamed slot to add content to the `sbb-block-link-button`.",
|
|
101434
|
+
"name": ""
|
|
101429
101435
|
},
|
|
101430
101436
|
{
|
|
101431
|
-
"
|
|
101432
|
-
"name": "
|
|
101433
|
-
|
|
101434
|
-
|
|
101435
|
-
|
|
101436
|
-
|
|
101437
|
-
|
|
101437
|
+
"description": "Slot used to display the icon, if one is set.",
|
|
101438
|
+
"name": "icon"
|
|
101439
|
+
}
|
|
101440
|
+
],
|
|
101441
|
+
"members": [
|
|
101442
|
+
{
|
|
101443
|
+
"kind": "field",
|
|
101444
|
+
"name": "elementName",
|
|
101445
|
+
"type": {
|
|
101446
|
+
"text": "string"
|
|
101438
101447
|
},
|
|
101439
|
-
"
|
|
101448
|
+
"privacy": "public",
|
|
101449
|
+
"static": true,
|
|
101450
|
+
"readonly": true,
|
|
101440
101451
|
"inheritedFrom": {
|
|
101441
|
-
"name": "
|
|
101442
|
-
"module": "core/
|
|
101443
|
-
}
|
|
101452
|
+
"name": "SbbElement",
|
|
101453
|
+
"module": "core/base-elements/element.js"
|
|
101454
|
+
},
|
|
101455
|
+
"default": "'sbb-block-link-button'"
|
|
101444
101456
|
},
|
|
101445
101457
|
{
|
|
101446
|
-
"kind": "
|
|
101447
|
-
"name": "
|
|
101448
|
-
"
|
|
101449
|
-
|
|
101450
|
-
"type": {
|
|
101451
|
-
"text": "void"
|
|
101452
|
-
}
|
|
101458
|
+
"kind": "field",
|
|
101459
|
+
"name": "styles",
|
|
101460
|
+
"type": {
|
|
101461
|
+
"text": "CSSResultGroup"
|
|
101453
101462
|
},
|
|
101454
|
-
"
|
|
101455
|
-
|
|
101456
|
-
|
|
101457
|
-
"type": {
|
|
101458
|
-
"text": "string"
|
|
101459
|
-
}
|
|
101460
|
-
}
|
|
101461
|
-
],
|
|
101462
|
-
"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.",
|
|
101463
|
+
"privacy": "public",
|
|
101464
|
+
"static": true,
|
|
101465
|
+
"default": "[super.styles, unsafeCSS(blockStyle)]",
|
|
101463
101466
|
"inheritedFrom": {
|
|
101464
|
-
"name": "
|
|
101465
|
-
"module": "
|
|
101467
|
+
"name": "SbbLinkCommonElementMixin",
|
|
101468
|
+
"module": "link/common/link-common.js"
|
|
101466
101469
|
}
|
|
101467
101470
|
},
|
|
101468
101471
|
{
|
|
101469
|
-
"kind": "
|
|
101470
|
-
"name": "
|
|
101471
|
-
"
|
|
101472
|
-
|
|
101473
|
-
"type": {
|
|
101474
|
-
"text": "boolean"
|
|
101475
|
-
}
|
|
101472
|
+
"kind": "field",
|
|
101473
|
+
"name": "iconPlacement",
|
|
101474
|
+
"type": {
|
|
101475
|
+
"text": "SbbIconPlacement"
|
|
101476
101476
|
},
|
|
101477
|
+
"privacy": "public",
|
|
101478
|
+
"default": "'start'",
|
|
101479
|
+
"description": "Moves the icon to the end of the component if set to true.",
|
|
101480
|
+
"attribute": "icon-placement",
|
|
101481
|
+
"reflects": true,
|
|
101477
101482
|
"inheritedFrom": {
|
|
101478
|
-
"name": "
|
|
101479
|
-
"module": "
|
|
101483
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
101484
|
+
"module": "link/common/block-link-common.js"
|
|
101480
101485
|
}
|
|
101481
101486
|
},
|
|
101482
101487
|
{
|
|
101483
101488
|
"kind": "method",
|
|
101484
|
-
"name": "
|
|
101489
|
+
"name": "renderTemplate",
|
|
101485
101490
|
"privacy": "protected",
|
|
101486
101491
|
"return": {
|
|
101487
101492
|
"type": {
|
|
101488
|
-
"text": "
|
|
101493
|
+
"text": "TemplateResult"
|
|
101489
101494
|
}
|
|
101490
101495
|
},
|
|
101491
|
-
"description": "
|
|
101496
|
+
"description": "Override this method to render the component template.",
|
|
101492
101497
|
"inheritedFrom": {
|
|
101493
|
-
"name": "
|
|
101494
|
-
"module": "core/
|
|
101498
|
+
"name": "SbbActionBaseElement",
|
|
101499
|
+
"module": "core/base-elements/action-base-element.js"
|
|
101495
101500
|
}
|
|
101496
101501
|
},
|
|
101497
101502
|
{
|
|
101498
|
-
"kind": "
|
|
101499
|
-
"name": "
|
|
101500
|
-
"
|
|
101501
|
-
|
|
101502
|
-
"type": {
|
|
101503
|
-
"text": "FormRestoreState"
|
|
101504
|
-
}
|
|
101503
|
+
"kind": "field",
|
|
101504
|
+
"name": "size",
|
|
101505
|
+
"type": {
|
|
101506
|
+
"text": "SbbLinkSize"
|
|
101505
101507
|
},
|
|
101508
|
+
"privacy": "public",
|
|
101509
|
+
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
101510
|
+
"default": "'s' / 'xs' (lean)",
|
|
101511
|
+
"attribute": "size",
|
|
101512
|
+
"reflects": true,
|
|
101506
101513
|
"inheritedFrom": {
|
|
101507
|
-
"name": "
|
|
101508
|
-
"module": "
|
|
101514
|
+
"name": "SbbLinkCommonElementMixin",
|
|
101515
|
+
"module": "link/common/link-common.js"
|
|
101509
101516
|
}
|
|
101510
101517
|
},
|
|
101511
101518
|
{
|
|
101512
|
-
"kind": "
|
|
101513
|
-
"name": "
|
|
101514
|
-
"
|
|
101515
|
-
|
|
101516
|
-
"type": {
|
|
101517
|
-
"text": "void"
|
|
101518
|
-
}
|
|
101519
|
+
"kind": "field",
|
|
101520
|
+
"name": "iconName",
|
|
101521
|
+
"type": {
|
|
101522
|
+
"text": "string"
|
|
101519
101523
|
},
|
|
101520
|
-
"
|
|
101521
|
-
|
|
101522
|
-
|
|
101523
|
-
|
|
101524
|
-
"text": "T"
|
|
101525
|
-
}
|
|
101526
|
-
},
|
|
101527
|
-
{
|
|
101528
|
-
"name": "message",
|
|
101529
|
-
"type": {
|
|
101530
|
-
"text": "string"
|
|
101531
|
-
}
|
|
101532
|
-
},
|
|
101533
|
-
{
|
|
101534
|
-
"name": "flagValue",
|
|
101535
|
-
"optional": true,
|
|
101536
|
-
"type": {
|
|
101537
|
-
"text": "ValidityStateFlags[T]"
|
|
101538
|
-
}
|
|
101539
|
-
}
|
|
101540
|
-
],
|
|
101541
|
-
"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).",
|
|
101524
|
+
"privacy": "public",
|
|
101525
|
+
"default": "''",
|
|
101526
|
+
"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.",
|
|
101527
|
+
"attribute": "icon-name",
|
|
101542
101528
|
"inheritedFrom": {
|
|
101543
|
-
"name": "
|
|
101544
|
-
"module": "
|
|
101529
|
+
"name": "SbbIconNameMixin",
|
|
101530
|
+
"module": "icon/icon-name-mixin.js"
|
|
101545
101531
|
}
|
|
101546
101532
|
},
|
|
101547
101533
|
{
|
|
101548
101534
|
"kind": "method",
|
|
101549
|
-
"name": "
|
|
101535
|
+
"name": "renderIconSlot",
|
|
101550
101536
|
"privacy": "protected",
|
|
101551
101537
|
"return": {
|
|
101552
101538
|
"type": {
|
|
101553
|
-
"text": "
|
|
101539
|
+
"text": "TemplateResult"
|
|
101554
101540
|
}
|
|
101555
101541
|
},
|
|
101556
101542
|
"parameters": [
|
|
101557
101543
|
{
|
|
101558
|
-
"name": "
|
|
101544
|
+
"name": "classname",
|
|
101545
|
+
"optional": true,
|
|
101559
101546
|
"type": {
|
|
101560
|
-
"text": "
|
|
101547
|
+
"text": "string"
|
|
101561
101548
|
}
|
|
101562
101549
|
}
|
|
101563
101550
|
],
|
|
101564
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
101565
|
-
"inheritedFrom": {
|
|
101566
|
-
"name": "SbbFormAssociatedMixin",
|
|
101567
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
101568
|
-
}
|
|
101569
|
-
},
|
|
101570
|
-
{
|
|
101571
|
-
"kind": "method",
|
|
101572
|
-
"name": "validate",
|
|
101573
|
-
"privacy": "protected",
|
|
101574
|
-
"return": {
|
|
101575
|
-
"type": {
|
|
101576
|
-
"text": "void"
|
|
101577
|
-
}
|
|
101578
|
-
},
|
|
101579
|
-
"description": "To be called whenever the current element needs to be validated.",
|
|
101580
101551
|
"inheritedFrom": {
|
|
101581
|
-
"name": "
|
|
101582
|
-
"module": "
|
|
101552
|
+
"name": "SbbIconNameMixin",
|
|
101553
|
+
"module": "icon/icon-name-mixin.js"
|
|
101583
101554
|
}
|
|
101584
101555
|
},
|
|
101585
101556
|
{
|
|
101586
101557
|
"kind": "method",
|
|
101587
|
-
"name": "
|
|
101558
|
+
"name": "renderIconName",
|
|
101588
101559
|
"privacy": "protected",
|
|
101589
101560
|
"return": {
|
|
101590
101561
|
"type": {
|
|
101591
|
-
"text": "
|
|
101562
|
+
"text": "string"
|
|
101592
101563
|
}
|
|
101593
101564
|
},
|
|
101594
|
-
"parameters": [
|
|
101595
|
-
{
|
|
101596
|
-
"name": "name",
|
|
101597
|
-
"type": {
|
|
101598
|
-
"text": "PropertyKey | undefined"
|
|
101599
|
-
}
|
|
101600
|
-
}
|
|
101601
|
-
],
|
|
101602
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
101603
101565
|
"inheritedFrom": {
|
|
101604
|
-
"name": "
|
|
101605
|
-
"module": "
|
|
101566
|
+
"name": "SbbIconNameMixin",
|
|
101567
|
+
"module": "icon/icon-name-mixin.js"
|
|
101606
101568
|
}
|
|
101607
101569
|
},
|
|
101608
101570
|
{
|
|
101609
101571
|
"kind": "method",
|
|
101610
|
-
"name": "
|
|
101572
|
+
"name": "_renderIconName",
|
|
101611
101573
|
"privacy": "private",
|
|
101612
101574
|
"return": {
|
|
101613
101575
|
"type": {
|
|
101614
|
-
"text": "
|
|
101576
|
+
"text": "string"
|
|
101615
101577
|
}
|
|
101616
101578
|
},
|
|
101617
101579
|
"inheritedFrom": {
|
|
101618
|
-
"name": "
|
|
101619
|
-
"module": "
|
|
101580
|
+
"name": "SbbIconNameMixin",
|
|
101581
|
+
"module": "icon/icon-name-mixin.js"
|
|
101620
101582
|
}
|
|
101621
101583
|
},
|
|
101622
101584
|
{
|
|
101623
101585
|
"kind": "field",
|
|
101624
|
-
"name": "
|
|
101586
|
+
"name": "disabledInteractive",
|
|
101625
101587
|
"type": {
|
|
101626
|
-
"text": "
|
|
101588
|
+
"text": "boolean"
|
|
101627
101589
|
},
|
|
101628
101590
|
"privacy": "public",
|
|
101629
|
-
"
|
|
101630
|
-
"
|
|
101631
|
-
"
|
|
101591
|
+
"default": "false",
|
|
101592
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
101593
|
+
"attribute": "disabled-interactive",
|
|
101594
|
+
"reflects": true,
|
|
101632
101595
|
"inheritedFrom": {
|
|
101633
|
-
"name": "
|
|
101634
|
-
"module": "core/
|
|
101596
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
101597
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
101635
101598
|
}
|
|
101636
101599
|
},
|
|
101637
101600
|
{
|
|
101638
101601
|
"kind": "field",
|
|
101639
|
-
"name": "
|
|
101640
|
-
"privacy": "
|
|
101641
|
-
"description": "
|
|
101642
|
-
"
|
|
101643
|
-
|
|
101644
|
-
|
|
101645
|
-
|
|
101646
|
-
|
|
101647
|
-
|
|
101602
|
+
"name": "disabled",
|
|
101603
|
+
"privacy": "public",
|
|
101604
|
+
"description": "Whether the component is disabled.",
|
|
101605
|
+
"default": "false",
|
|
101606
|
+
"type": {
|
|
101607
|
+
"text": "boolean"
|
|
101608
|
+
},
|
|
101609
|
+
"attribute": "disabled",
|
|
101610
|
+
"reflects": true,
|
|
101648
101611
|
"inheritedFrom": {
|
|
101649
|
-
"name": "
|
|
101650
|
-
"module": "core/
|
|
101612
|
+
"name": "SbbDisabledMixin",
|
|
101613
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
101651
101614
|
}
|
|
101652
101615
|
},
|
|
101653
101616
|
{
|
|
101654
101617
|
"kind": "field",
|
|
101655
|
-
"name": "
|
|
101618
|
+
"name": "#disabled",
|
|
101656
101619
|
"privacy": "private",
|
|
101620
|
+
"type": {
|
|
101621
|
+
"text": "boolean"
|
|
101622
|
+
},
|
|
101623
|
+
"default": "false",
|
|
101657
101624
|
"inheritedFrom": {
|
|
101658
|
-
"name": "
|
|
101659
|
-
"module": "core/
|
|
101625
|
+
"name": "SbbDisabledMixin",
|
|
101626
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
101660
101627
|
}
|
|
101661
101628
|
},
|
|
101662
101629
|
{
|
|
101663
|
-
"kind": "
|
|
101664
|
-
"name": "
|
|
101665
|
-
"privacy": "
|
|
101666
|
-
"
|
|
101667
|
-
|
|
101668
|
-
|
|
101669
|
-
"description": "The origin event.",
|
|
101670
|
-
"name": "event"
|
|
101630
|
+
"kind": "method",
|
|
101631
|
+
"name": "isDisabledExternally",
|
|
101632
|
+
"privacy": "protected",
|
|
101633
|
+
"return": {
|
|
101634
|
+
"type": {
|
|
101635
|
+
"text": "boolean"
|
|
101671
101636
|
}
|
|
101672
|
-
|
|
101673
|
-
"
|
|
101674
|
-
"name": "SbbButtonLikeBaseElement",
|
|
101675
|
-
"module": "core/base-elements/button-base-element.js"
|
|
101676
|
-
}
|
|
101677
|
-
},
|
|
101678
|
-
{
|
|
101679
|
-
"kind": "field",
|
|
101680
|
-
"name": "_dispatchClickEvent",
|
|
101681
|
-
"privacy": "private",
|
|
101637
|
+
},
|
|
101638
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
101682
101639
|
"inheritedFrom": {
|
|
101683
|
-
"name": "
|
|
101684
|
-
"module": "core/
|
|
101640
|
+
"name": "SbbDisabledMixin",
|
|
101641
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
101685
101642
|
}
|
|
101686
101643
|
},
|
|
101687
101644
|
{
|
|
101688
101645
|
"kind": "field",
|
|
101689
|
-
"name": "
|
|
101646
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
101690
101647
|
"type": {
|
|
101691
|
-
"text": "
|
|
101648
|
+
"text": "array"
|
|
101692
101649
|
},
|
|
101693
|
-
"privacy": "
|
|
101650
|
+
"privacy": "private",
|
|
101694
101651
|
"readonly": true,
|
|
101652
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
101695
101653
|
"inheritedFrom": {
|
|
101696
|
-
"name": "
|
|
101697
|
-
"module": "core/base-elements/
|
|
101654
|
+
"name": "SbbButtonBaseElement",
|
|
101655
|
+
"module": "core/base-elements/button-base-element.js"
|
|
101698
101656
|
}
|
|
101699
101657
|
},
|
|
101700
101658
|
{
|
|
101701
101659
|
"kind": "field",
|
|
101702
|
-
"name": "
|
|
101660
|
+
"name": "value",
|
|
101703
101661
|
"type": {
|
|
101704
|
-
"text": "
|
|
101662
|
+
"text": "string"
|
|
101705
101663
|
},
|
|
101706
|
-
"privacy": "
|
|
101707
|
-
"readonly": true,
|
|
101664
|
+
"privacy": "public",
|
|
101708
101665
|
"inheritedFrom": {
|
|
101709
|
-
"name": "
|
|
101710
|
-
"module": "core/base-elements/
|
|
101711
|
-
}
|
|
101712
|
-
},
|
|
101713
|
-
{
|
|
101714
|
-
"kind": "method",
|
|
101715
|
-
"name": "setupBaseEventHandlers",
|
|
101716
|
-
"privacy": "protected",
|
|
101717
|
-
"return": {
|
|
101718
|
-
"type": {
|
|
101719
|
-
"text": "void"
|
|
101720
|
-
}
|
|
101666
|
+
"name": "SbbButtonBaseElement",
|
|
101667
|
+
"module": "core/base-elements/button-base-element.js"
|
|
101721
101668
|
},
|
|
101722
|
-
"
|
|
101723
|
-
|
|
101724
|
-
|
|
101725
|
-
}
|
|
101669
|
+
"default": "''",
|
|
101670
|
+
"description": "Value of the form element.",
|
|
101671
|
+
"attribute": "value"
|
|
101726
101672
|
},
|
|
101727
101673
|
{
|
|
101728
101674
|
"kind": "field",
|
|
101729
|
-
"name": "
|
|
101675
|
+
"name": "type",
|
|
101676
|
+
"privacy": "public",
|
|
101677
|
+
"description": "The type attribute to use for the button.",
|
|
101678
|
+
"default": "'button'",
|
|
101730
101679
|
"type": {
|
|
101731
|
-
"text": "
|
|
101680
|
+
"text": "SbbButtonType"
|
|
101732
101681
|
},
|
|
101733
|
-
"
|
|
101734
|
-
"default": "!!this.shadowRoot",
|
|
101682
|
+
"attribute": "type",
|
|
101735
101683
|
"inheritedFrom": {
|
|
101736
|
-
"name": "
|
|
101737
|
-
"module": "core/base-elements/element.js"
|
|
101684
|
+
"name": "SbbButtonBaseElement",
|
|
101685
|
+
"module": "core/base-elements/button-base-element.js"
|
|
101738
101686
|
}
|
|
101739
101687
|
},
|
|
101740
101688
|
{
|
|
101741
101689
|
"kind": "field",
|
|
101742
|
-
"name": "
|
|
101743
|
-
"
|
|
101744
|
-
|
|
101690
|
+
"name": "form",
|
|
101691
|
+
"type": {
|
|
101692
|
+
"text": "HTMLFormElement | null"
|
|
101693
|
+
},
|
|
101694
|
+
"privacy": "public",
|
|
101695
|
+
"description": "The `<form>` element to associate the button with.",
|
|
101745
101696
|
"inheritedFrom": {
|
|
101746
|
-
"name": "
|
|
101747
|
-
"module": "core/base-elements/element.js"
|
|
101748
|
-
}
|
|
101697
|
+
"name": "SbbButtonBaseElement",
|
|
101698
|
+
"module": "core/base-elements/button-base-element.js"
|
|
101699
|
+
},
|
|
101700
|
+
"attribute": "form"
|
|
101749
101701
|
},
|
|
101750
101702
|
{
|
|
101751
101703
|
"kind": "field",
|
|
101752
|
-
"name": "
|
|
101704
|
+
"name": "_formId",
|
|
101753
101705
|
"type": {
|
|
101754
|
-
"text": "
|
|
101706
|
+
"text": "string"
|
|
101755
101707
|
},
|
|
101756
101708
|
"privacy": "private",
|
|
101709
|
+
"default": "''",
|
|
101757
101710
|
"inheritedFrom": {
|
|
101758
|
-
"name": "
|
|
101759
|
-
"module": "core/base-elements/element.js"
|
|
101711
|
+
"name": "SbbButtonBaseElement",
|
|
101712
|
+
"module": "core/base-elements/button-base-element.js"
|
|
101760
101713
|
}
|
|
101761
101714
|
},
|
|
101762
101715
|
{
|
|
101763
101716
|
"kind": "field",
|
|
101764
|
-
"name": "
|
|
101765
|
-
"
|
|
101766
|
-
"text": "boolean"
|
|
101767
|
-
},
|
|
101768
|
-
"privacy": "protected",
|
|
101769
|
-
"description": "Returns whether hydration is required and not completed.",
|
|
101770
|
-
"readonly": true,
|
|
101717
|
+
"name": "_handleButtonClick",
|
|
101718
|
+
"privacy": "private",
|
|
101771
101719
|
"inheritedFrom": {
|
|
101772
|
-
"name": "
|
|
101773
|
-
"module": "core/base-elements/element.js"
|
|
101774
|
-
}
|
|
101775
|
-
"default": "!!this.shadowRoot"
|
|
101720
|
+
"name": "SbbButtonBaseElement",
|
|
101721
|
+
"module": "core/base-elements/button-base-element.js"
|
|
101722
|
+
}
|
|
101776
101723
|
},
|
|
101777
101724
|
{
|
|
101778
101725
|
"kind": "method",
|
|
101779
|
-
"name": "
|
|
101780
|
-
"privacy": "
|
|
101726
|
+
"name": "_requestSubmit",
|
|
101727
|
+
"privacy": "private",
|
|
101781
101728
|
"return": {
|
|
101782
101729
|
"type": {
|
|
101783
101730
|
"text": "void"
|
|
@@ -101785,27 +101732,29 @@
|
|
|
101785
101732
|
},
|
|
101786
101733
|
"parameters": [
|
|
101787
101734
|
{
|
|
101788
|
-
"name": "
|
|
101789
|
-
"type": {
|
|
101790
|
-
"text": "string"
|
|
101791
|
-
}
|
|
101792
|
-
},
|
|
101793
|
-
{
|
|
101794
|
-
"name": "force",
|
|
101795
|
-
"optional": true,
|
|
101735
|
+
"name": "form",
|
|
101796
101736
|
"type": {
|
|
101797
|
-
"text": "
|
|
101737
|
+
"text": "HTMLFormElement"
|
|
101798
101738
|
}
|
|
101799
101739
|
}
|
|
101800
101740
|
],
|
|
101801
101741
|
"inheritedFrom": {
|
|
101802
|
-
"name": "
|
|
101803
|
-
"module": "core/base-elements/element.js"
|
|
101742
|
+
"name": "SbbButtonBaseElement",
|
|
101743
|
+
"module": "core/base-elements/button-base-element.js"
|
|
101804
101744
|
}
|
|
101805
101745
|
},
|
|
101806
101746
|
{
|
|
101807
101747
|
"kind": "field",
|
|
101808
|
-
"name": "
|
|
101748
|
+
"name": "_formKeyDown",
|
|
101749
|
+
"privacy": "private",
|
|
101750
|
+
"inheritedFrom": {
|
|
101751
|
+
"name": "SbbButtonBaseElement",
|
|
101752
|
+
"module": "core/base-elements/button-base-element.js"
|
|
101753
|
+
}
|
|
101754
|
+
},
|
|
101755
|
+
{
|
|
101756
|
+
"kind": "field",
|
|
101757
|
+
"name": "formAssociated",
|
|
101809
101758
|
"type": {
|
|
101810
101759
|
"text": "boolean"
|
|
101811
101760
|
},
|
|
@@ -101813,372 +101762,360 @@
|
|
|
101813
101762
|
"static": true,
|
|
101814
101763
|
"default": "true",
|
|
101815
101764
|
"inheritedFrom": {
|
|
101816
|
-
"name": "
|
|
101817
|
-
"module": "core/
|
|
101765
|
+
"name": "SbbFormAssociatedMixin",
|
|
101766
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101818
101767
|
}
|
|
101819
101768
|
},
|
|
101820
101769
|
{
|
|
101821
101770
|
"kind": "field",
|
|
101822
|
-
"name": "
|
|
101771
|
+
"name": "name",
|
|
101772
|
+
"privacy": "public",
|
|
101773
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
101823
101774
|
"type": {
|
|
101824
|
-
"text": "
|
|
101775
|
+
"text": "string"
|
|
101825
101776
|
},
|
|
101826
|
-
"
|
|
101777
|
+
"attribute": "name",
|
|
101827
101778
|
"inheritedFrom": {
|
|
101828
|
-
"name": "
|
|
101829
|
-
"module": "core/
|
|
101779
|
+
"name": "SbbFormAssociatedMixin",
|
|
101780
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101830
101781
|
}
|
|
101831
|
-
}
|
|
101832
|
-
],
|
|
101833
|
-
"mixins": [
|
|
101834
|
-
{
|
|
101835
|
-
"name": "SbbBlockLinkCommonElementMixin",
|
|
101836
|
-
"module": "link/common/block-link-common.js"
|
|
101837
101782
|
},
|
|
101838
101783
|
{
|
|
101839
|
-
"
|
|
101840
|
-
"
|
|
101841
|
-
}
|
|
101842
|
-
],
|
|
101843
|
-
"superclass": {
|
|
101844
|
-
"name": "SbbButtonBaseElement",
|
|
101845
|
-
"module": "core/base-elements.js"
|
|
101846
|
-
},
|
|
101847
|
-
"tagName": "sbb-block-link-button",
|
|
101848
|
-
"customElement": true,
|
|
101849
|
-
"attributes": [
|
|
101850
|
-
{
|
|
101851
|
-
"name": "icon-placement",
|
|
101784
|
+
"kind": "field",
|
|
101785
|
+
"name": "validity",
|
|
101852
101786
|
"type": {
|
|
101853
|
-
"text": "
|
|
101787
|
+
"text": "ValidityState"
|
|
101854
101788
|
},
|
|
101855
|
-
"
|
|
101856
|
-
"description": "
|
|
101857
|
-
"
|
|
101789
|
+
"privacy": "public",
|
|
101790
|
+
"description": "Returns the ValidityState object for this element.",
|
|
101791
|
+
"readonly": true,
|
|
101858
101792
|
"inheritedFrom": {
|
|
101859
|
-
"name": "
|
|
101860
|
-
"module": "
|
|
101793
|
+
"name": "SbbFormAssociatedMixin",
|
|
101794
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101861
101795
|
}
|
|
101862
101796
|
},
|
|
101863
101797
|
{
|
|
101864
|
-
"
|
|
101798
|
+
"kind": "field",
|
|
101799
|
+
"name": "validationMessage",
|
|
101865
101800
|
"type": {
|
|
101866
|
-
"text": "
|
|
101801
|
+
"text": "string"
|
|
101867
101802
|
},
|
|
101868
|
-
"
|
|
101869
|
-
"
|
|
101870
|
-
"
|
|
101803
|
+
"privacy": "public",
|
|
101804
|
+
"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.",
|
|
101805
|
+
"readonly": true,
|
|
101871
101806
|
"inheritedFrom": {
|
|
101872
|
-
"name": "
|
|
101873
|
-
"module": "
|
|
101807
|
+
"name": "SbbFormAssociatedMixin",
|
|
101808
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101874
101809
|
}
|
|
101875
101810
|
},
|
|
101876
101811
|
{
|
|
101877
|
-
"
|
|
101812
|
+
"kind": "field",
|
|
101813
|
+
"name": "willValidate",
|
|
101878
101814
|
"type": {
|
|
101879
|
-
"text": "
|
|
101815
|
+
"text": "boolean"
|
|
101880
101816
|
},
|
|
101881
|
-
"
|
|
101882
|
-
"description": "
|
|
101883
|
-
"
|
|
101884
|
-
"inheritedFrom": {
|
|
101885
|
-
"name": "
|
|
101886
|
-
"module": "
|
|
101817
|
+
"privacy": "public",
|
|
101818
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
101819
|
+
"readonly": true,
|
|
101820
|
+
"inheritedFrom": {
|
|
101821
|
+
"name": "SbbFormAssociatedMixin",
|
|
101822
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101887
101823
|
}
|
|
101888
101824
|
},
|
|
101889
101825
|
{
|
|
101890
|
-
"
|
|
101891
|
-
"
|
|
101892
|
-
|
|
101893
|
-
},
|
|
101894
|
-
"default": "false",
|
|
101895
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
101896
|
-
"fieldName": "disabledInteractive",
|
|
101826
|
+
"kind": "field",
|
|
101827
|
+
"name": "_validityStates",
|
|
101828
|
+
"privacy": "private",
|
|
101829
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
101897
101830
|
"inheritedFrom": {
|
|
101898
|
-
"name": "
|
|
101899
|
-
"module": "core/mixins/
|
|
101831
|
+
"name": "SbbFormAssociatedMixin",
|
|
101832
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101900
101833
|
}
|
|
101901
101834
|
},
|
|
101902
101835
|
{
|
|
101903
|
-
"
|
|
101904
|
-
"
|
|
101905
|
-
"default": "false",
|
|
101836
|
+
"kind": "field",
|
|
101837
|
+
"name": "formDisabled",
|
|
101906
101838
|
"type": {
|
|
101907
101839
|
"text": "boolean"
|
|
101908
101840
|
},
|
|
101909
|
-
"
|
|
101841
|
+
"privacy": "protected",
|
|
101842
|
+
"default": "false",
|
|
101843
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
101910
101844
|
"inheritedFrom": {
|
|
101911
|
-
"name": "
|
|
101912
|
-
"module": "core/mixins/
|
|
101845
|
+
"name": "SbbFormAssociatedMixin",
|
|
101846
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101913
101847
|
}
|
|
101914
101848
|
},
|
|
101915
101849
|
{
|
|
101916
|
-
"
|
|
101917
|
-
"
|
|
101918
|
-
|
|
101850
|
+
"kind": "method",
|
|
101851
|
+
"name": "checkValidity",
|
|
101852
|
+
"privacy": "public",
|
|
101853
|
+
"return": {
|
|
101854
|
+
"type": {
|
|
101855
|
+
"text": "boolean"
|
|
101856
|
+
}
|
|
101919
101857
|
},
|
|
101920
|
-
"
|
|
101921
|
-
"description": "Value of the form element.",
|
|
101922
|
-
"fieldName": "value",
|
|
101858
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
101923
101859
|
"inheritedFrom": {
|
|
101924
|
-
"name": "
|
|
101925
|
-
"module": "core/
|
|
101860
|
+
"name": "SbbFormAssociatedMixin",
|
|
101861
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101926
101862
|
}
|
|
101927
101863
|
},
|
|
101928
101864
|
{
|
|
101929
|
-
"
|
|
101930
|
-
"
|
|
101931
|
-
"
|
|
101932
|
-
"
|
|
101933
|
-
"
|
|
101865
|
+
"kind": "method",
|
|
101866
|
+
"name": "reportValidity",
|
|
101867
|
+
"privacy": "public",
|
|
101868
|
+
"return": {
|
|
101869
|
+
"type": {
|
|
101870
|
+
"text": "boolean"
|
|
101871
|
+
}
|
|
101934
101872
|
},
|
|
101935
|
-
"
|
|
101873
|
+
"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.",
|
|
101936
101874
|
"inheritedFrom": {
|
|
101937
|
-
"name": "
|
|
101938
|
-
"module": "core/
|
|
101875
|
+
"name": "SbbFormAssociatedMixin",
|
|
101876
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101939
101877
|
}
|
|
101940
101878
|
},
|
|
101941
101879
|
{
|
|
101942
|
-
"
|
|
101943
|
-
"
|
|
101944
|
-
"
|
|
101945
|
-
|
|
101880
|
+
"kind": "method",
|
|
101881
|
+
"name": "setCustomValidity",
|
|
101882
|
+
"privacy": "public",
|
|
101883
|
+
"return": {
|
|
101884
|
+
"type": {
|
|
101885
|
+
"text": "void"
|
|
101886
|
+
}
|
|
101946
101887
|
},
|
|
101947
|
-
"
|
|
101888
|
+
"parameters": [
|
|
101889
|
+
{
|
|
101890
|
+
"name": "message",
|
|
101891
|
+
"type": {
|
|
101892
|
+
"text": "string"
|
|
101893
|
+
}
|
|
101894
|
+
}
|
|
101895
|
+
],
|
|
101896
|
+
"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.",
|
|
101948
101897
|
"inheritedFrom": {
|
|
101949
|
-
"name": "
|
|
101950
|
-
"module": "core/
|
|
101898
|
+
"name": "SbbFormAssociatedMixin",
|
|
101899
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101951
101900
|
}
|
|
101952
101901
|
},
|
|
101953
101902
|
{
|
|
101954
|
-
"
|
|
101955
|
-
"
|
|
101956
|
-
"
|
|
101957
|
-
|
|
101903
|
+
"kind": "method",
|
|
101904
|
+
"name": "_hasDisabledAncestor",
|
|
101905
|
+
"privacy": "private",
|
|
101906
|
+
"return": {
|
|
101907
|
+
"type": {
|
|
101908
|
+
"text": "boolean"
|
|
101909
|
+
}
|
|
101958
101910
|
},
|
|
101959
|
-
"fieldName": "name",
|
|
101960
101911
|
"inheritedFrom": {
|
|
101961
101912
|
"name": "SbbFormAssociatedMixin",
|
|
101962
101913
|
"module": "core/mixins/form-associated-mixin.js"
|
|
101963
101914
|
}
|
|
101964
|
-
}
|
|
101965
|
-
]
|
|
101966
|
-
}
|
|
101967
|
-
],
|
|
101968
|
-
"exports": [
|
|
101969
|
-
{
|
|
101970
|
-
"kind": "js",
|
|
101971
|
-
"name": "SbbBlockLinkButtonElement",
|
|
101972
|
-
"declaration": {
|
|
101973
|
-
"name": "SbbBlockLinkButtonElement",
|
|
101974
|
-
"module": "link/block-link-button/block-link-button.component.js"
|
|
101975
|
-
}
|
|
101976
|
-
}
|
|
101977
|
-
]
|
|
101978
|
-
},
|
|
101979
|
-
{
|
|
101980
|
-
"kind": "javascript-module",
|
|
101981
|
-
"path": "link/block-link-static/block-link-static.component.js",
|
|
101982
|
-
"declarations": [
|
|
101983
|
-
{
|
|
101984
|
-
"kind": "class",
|
|
101985
|
-
"description": "It displays a static link enhanced with the SBB Design.",
|
|
101986
|
-
"name": "SbbBlockLinkStaticElement",
|
|
101987
|
-
"slots": [
|
|
101988
|
-
{
|
|
101989
|
-
"description": "Use the unnamed slot to add content to the `sbb-block-link-static`.",
|
|
101990
|
-
"name": ""
|
|
101991
|
-
},
|
|
101992
|
-
{
|
|
101993
|
-
"description": "Slot used to display the icon, if one is set.",
|
|
101994
|
-
"name": "icon"
|
|
101995
|
-
}
|
|
101996
|
-
],
|
|
101997
|
-
"members": [
|
|
101998
|
-
{
|
|
101999
|
-
"kind": "field",
|
|
102000
|
-
"name": "elementName",
|
|
102001
|
-
"type": {
|
|
102002
|
-
"text": "string"
|
|
102003
|
-
},
|
|
102004
|
-
"privacy": "public",
|
|
102005
|
-
"static": true,
|
|
102006
|
-
"readonly": true,
|
|
102007
|
-
"inheritedFrom": {
|
|
102008
|
-
"name": "SbbElement",
|
|
102009
|
-
"module": "core/base-elements/element.js"
|
|
102010
|
-
},
|
|
102011
|
-
"default": "'sbb-block-link-static'"
|
|
102012
101915
|
},
|
|
102013
101916
|
{
|
|
102014
|
-
"kind": "
|
|
102015
|
-
"name": "
|
|
102016
|
-
"
|
|
102017
|
-
|
|
101917
|
+
"kind": "method",
|
|
101918
|
+
"name": "updateFormValue",
|
|
101919
|
+
"privacy": "protected",
|
|
101920
|
+
"return": {
|
|
101921
|
+
"type": {
|
|
101922
|
+
"text": "void"
|
|
101923
|
+
}
|
|
102018
101924
|
},
|
|
102019
|
-
"
|
|
102020
|
-
"static": true,
|
|
102021
|
-
"default": "[super.styles, unsafeCSS(blockStyle)]",
|
|
101925
|
+
"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",
|
|
102022
101926
|
"inheritedFrom": {
|
|
102023
|
-
"name": "
|
|
102024
|
-
"module": "
|
|
101927
|
+
"name": "SbbFormAssociatedMixin",
|
|
101928
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102025
101929
|
}
|
|
102026
101930
|
},
|
|
102027
101931
|
{
|
|
102028
|
-
"kind": "
|
|
102029
|
-
"name": "
|
|
102030
|
-
"
|
|
102031
|
-
|
|
101932
|
+
"kind": "method",
|
|
101933
|
+
"name": "formState",
|
|
101934
|
+
"privacy": "protected",
|
|
101935
|
+
"return": {
|
|
101936
|
+
"type": {
|
|
101937
|
+
"text": "FormRestoreState"
|
|
101938
|
+
}
|
|
102032
101939
|
},
|
|
102033
|
-
"privacy": "public",
|
|
102034
|
-
"default": "'start'",
|
|
102035
|
-
"description": "Moves the icon to the end of the component if set to true.",
|
|
102036
|
-
"attribute": "icon-placement",
|
|
102037
|
-
"reflects": true,
|
|
102038
101940
|
"inheritedFrom": {
|
|
102039
|
-
"name": "
|
|
102040
|
-
"module": "
|
|
101941
|
+
"name": "SbbFormAssociatedMixin",
|
|
101942
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102041
101943
|
}
|
|
102042
101944
|
},
|
|
102043
101945
|
{
|
|
102044
101946
|
"kind": "method",
|
|
102045
|
-
"name": "
|
|
101947
|
+
"name": "setValidityFlag",
|
|
102046
101948
|
"privacy": "protected",
|
|
102047
101949
|
"return": {
|
|
102048
101950
|
"type": {
|
|
102049
|
-
"text": "
|
|
101951
|
+
"text": "void"
|
|
102050
101952
|
}
|
|
102051
101953
|
},
|
|
102052
|
-
"
|
|
101954
|
+
"parameters": [
|
|
101955
|
+
{
|
|
101956
|
+
"name": "flag",
|
|
101957
|
+
"type": {
|
|
101958
|
+
"text": "T"
|
|
101959
|
+
}
|
|
101960
|
+
},
|
|
101961
|
+
{
|
|
101962
|
+
"name": "message",
|
|
101963
|
+
"type": {
|
|
101964
|
+
"text": "string"
|
|
101965
|
+
}
|
|
101966
|
+
},
|
|
101967
|
+
{
|
|
101968
|
+
"name": "flagValue",
|
|
101969
|
+
"optional": true,
|
|
101970
|
+
"type": {
|
|
101971
|
+
"text": "ValidityStateFlags[T]"
|
|
101972
|
+
}
|
|
101973
|
+
}
|
|
101974
|
+
],
|
|
101975
|
+
"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).",
|
|
102053
101976
|
"inheritedFrom": {
|
|
102054
|
-
"name": "
|
|
102055
|
-
"module": "core/
|
|
101977
|
+
"name": "SbbFormAssociatedMixin",
|
|
101978
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102056
101979
|
}
|
|
102057
101980
|
},
|
|
102058
101981
|
{
|
|
102059
|
-
"kind": "
|
|
102060
|
-
"name": "
|
|
102061
|
-
"
|
|
102062
|
-
|
|
101982
|
+
"kind": "method",
|
|
101983
|
+
"name": "removeValidityFlag",
|
|
101984
|
+
"privacy": "protected",
|
|
101985
|
+
"return": {
|
|
101986
|
+
"type": {
|
|
101987
|
+
"text": "void"
|
|
101988
|
+
}
|
|
102063
101989
|
},
|
|
102064
|
-
"
|
|
102065
|
-
|
|
102066
|
-
|
|
102067
|
-
|
|
102068
|
-
|
|
101990
|
+
"parameters": [
|
|
101991
|
+
{
|
|
101992
|
+
"name": "flag",
|
|
101993
|
+
"type": {
|
|
101994
|
+
"text": "T"
|
|
101995
|
+
}
|
|
101996
|
+
}
|
|
101997
|
+
],
|
|
101998
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
102069
101999
|
"inheritedFrom": {
|
|
102070
|
-
"name": "
|
|
102071
|
-
"module": "
|
|
102000
|
+
"name": "SbbFormAssociatedMixin",
|
|
102001
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102072
102002
|
}
|
|
102073
102003
|
},
|
|
102074
102004
|
{
|
|
102075
|
-
"kind": "
|
|
102076
|
-
"name": "
|
|
102077
|
-
"
|
|
102078
|
-
|
|
102005
|
+
"kind": "method",
|
|
102006
|
+
"name": "validate",
|
|
102007
|
+
"privacy": "protected",
|
|
102008
|
+
"return": {
|
|
102009
|
+
"type": {
|
|
102010
|
+
"text": "void"
|
|
102011
|
+
}
|
|
102079
102012
|
},
|
|
102080
|
-
"
|
|
102081
|
-
"default": "''",
|
|
102082
|
-
"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.",
|
|
102083
|
-
"attribute": "icon-name",
|
|
102013
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
102084
102014
|
"inheritedFrom": {
|
|
102085
|
-
"name": "
|
|
102086
|
-
"module": "
|
|
102015
|
+
"name": "SbbFormAssociatedMixin",
|
|
102016
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102087
102017
|
}
|
|
102088
102018
|
},
|
|
102089
102019
|
{
|
|
102090
102020
|
"kind": "method",
|
|
102091
|
-
"name": "
|
|
102021
|
+
"name": "shouldValidate",
|
|
102092
102022
|
"privacy": "protected",
|
|
102093
102023
|
"return": {
|
|
102094
102024
|
"type": {
|
|
102095
|
-
"text": "
|
|
102025
|
+
"text": "boolean"
|
|
102096
102026
|
}
|
|
102097
102027
|
},
|
|
102098
102028
|
"parameters": [
|
|
102099
102029
|
{
|
|
102100
|
-
"name": "
|
|
102101
|
-
"optional": true,
|
|
102030
|
+
"name": "name",
|
|
102102
102031
|
"type": {
|
|
102103
|
-
"text": "
|
|
102032
|
+
"text": "PropertyKey | undefined"
|
|
102104
102033
|
}
|
|
102105
102034
|
}
|
|
102106
102035
|
],
|
|
102036
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
102107
102037
|
"inheritedFrom": {
|
|
102108
|
-
"name": "
|
|
102109
|
-
"module": "
|
|
102038
|
+
"name": "SbbFormAssociatedMixin",
|
|
102039
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102110
102040
|
}
|
|
102111
102041
|
},
|
|
102112
102042
|
{
|
|
102113
102043
|
"kind": "method",
|
|
102114
|
-
"name": "
|
|
102115
|
-
"privacy": "
|
|
102044
|
+
"name": "_setInternalValidity",
|
|
102045
|
+
"privacy": "private",
|
|
102116
102046
|
"return": {
|
|
102117
102047
|
"type": {
|
|
102118
|
-
"text": "
|
|
102048
|
+
"text": "void"
|
|
102119
102049
|
}
|
|
102120
102050
|
},
|
|
102121
102051
|
"inheritedFrom": {
|
|
102122
|
-
"name": "
|
|
102123
|
-
"module": "
|
|
102052
|
+
"name": "SbbFormAssociatedMixin",
|
|
102053
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102124
102054
|
}
|
|
102125
102055
|
},
|
|
102126
102056
|
{
|
|
102127
|
-
"kind": "
|
|
102128
|
-
"name": "
|
|
102057
|
+
"kind": "field",
|
|
102058
|
+
"name": "role",
|
|
102059
|
+
"type": {
|
|
102060
|
+
"text": "ElementInternals['role']"
|
|
102061
|
+
},
|
|
102062
|
+
"privacy": "public",
|
|
102063
|
+
"static": true,
|
|
102064
|
+
"readonly": true,
|
|
102065
|
+
"default": "'button'",
|
|
102066
|
+
"inheritedFrom": {
|
|
102067
|
+
"name": "SbbButtonLikeBaseElement",
|
|
102068
|
+
"module": "core/base-elements/button-base-element.js"
|
|
102069
|
+
}
|
|
102070
|
+
},
|
|
102071
|
+
{
|
|
102072
|
+
"kind": "field",
|
|
102073
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
102129
102074
|
"privacy": "private",
|
|
102130
|
-
"
|
|
102131
|
-
|
|
102132
|
-
|
|
102075
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
102076
|
+
"parameters": [
|
|
102077
|
+
{
|
|
102078
|
+
"description": "The origin event.",
|
|
102079
|
+
"name": "event"
|
|
102133
102080
|
}
|
|
102134
|
-
|
|
102081
|
+
],
|
|
102135
102082
|
"inheritedFrom": {
|
|
102136
|
-
"name": "
|
|
102137
|
-
"module": "
|
|
102083
|
+
"name": "SbbButtonLikeBaseElement",
|
|
102084
|
+
"module": "core/base-elements/button-base-element.js"
|
|
102138
102085
|
}
|
|
102139
102086
|
},
|
|
102140
102087
|
{
|
|
102141
102088
|
"kind": "field",
|
|
102142
|
-
"name": "
|
|
102143
|
-
"privacy": "
|
|
102144
|
-
"description": "Whether the component is disabled.",
|
|
102145
|
-
"default": "false",
|
|
102146
|
-
"type": {
|
|
102147
|
-
"text": "boolean"
|
|
102148
|
-
},
|
|
102149
|
-
"attribute": "disabled",
|
|
102150
|
-
"reflects": true,
|
|
102089
|
+
"name": "_removeActiveMarker",
|
|
102090
|
+
"privacy": "private",
|
|
102151
102091
|
"inheritedFrom": {
|
|
102152
|
-
"name": "
|
|
102153
|
-
"module": "core/
|
|
102092
|
+
"name": "SbbButtonLikeBaseElement",
|
|
102093
|
+
"module": "core/base-elements/button-base-element.js"
|
|
102154
102094
|
}
|
|
102155
102095
|
},
|
|
102156
102096
|
{
|
|
102157
102097
|
"kind": "field",
|
|
102158
|
-
"name": "
|
|
102098
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
102159
102099
|
"privacy": "private",
|
|
102160
|
-
"
|
|
102161
|
-
|
|
102162
|
-
|
|
102163
|
-
|
|
102100
|
+
"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.",
|
|
102101
|
+
"parameters": [
|
|
102102
|
+
{
|
|
102103
|
+
"description": "The origin event.",
|
|
102104
|
+
"name": "event"
|
|
102105
|
+
}
|
|
102106
|
+
],
|
|
102164
102107
|
"inheritedFrom": {
|
|
102165
|
-
"name": "
|
|
102166
|
-
"module": "core/
|
|
102108
|
+
"name": "SbbButtonLikeBaseElement",
|
|
102109
|
+
"module": "core/base-elements/button-base-element.js"
|
|
102167
102110
|
}
|
|
102168
102111
|
},
|
|
102169
102112
|
{
|
|
102170
|
-
"kind": "
|
|
102171
|
-
"name": "
|
|
102172
|
-
"privacy": "
|
|
102173
|
-
"return": {
|
|
102174
|
-
"type": {
|
|
102175
|
-
"text": "boolean"
|
|
102176
|
-
}
|
|
102177
|
-
},
|
|
102178
|
-
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
102113
|
+
"kind": "field",
|
|
102114
|
+
"name": "_dispatchClickEvent",
|
|
102115
|
+
"privacy": "private",
|
|
102179
102116
|
"inheritedFrom": {
|
|
102180
|
-
"name": "
|
|
102181
|
-
"module": "core/
|
|
102117
|
+
"name": "SbbButtonLikeBaseElement",
|
|
102118
|
+
"module": "core/base-elements/button-base-element.js"
|
|
102182
102119
|
}
|
|
102183
102120
|
},
|
|
102184
102121
|
{
|
|
@@ -102333,15 +102270,15 @@
|
|
|
102333
102270
|
"module": "link/common/block-link-common.js"
|
|
102334
102271
|
},
|
|
102335
102272
|
{
|
|
102336
|
-
"name": "
|
|
102273
|
+
"name": "SbbDisabledTabIndexActionMixin",
|
|
102337
102274
|
"module": "core/mixins.js"
|
|
102338
102275
|
}
|
|
102339
102276
|
],
|
|
102340
102277
|
"superclass": {
|
|
102341
|
-
"name": "
|
|
102278
|
+
"name": "SbbButtonBaseElement",
|
|
102342
102279
|
"module": "core/base-elements.js"
|
|
102343
102280
|
},
|
|
102344
|
-
"tagName": "sbb-block-link-
|
|
102281
|
+
"tagName": "sbb-block-link-button",
|
|
102345
102282
|
"customElement": true,
|
|
102346
102283
|
"attributes": [
|
|
102347
102284
|
{
|
|
@@ -102383,6 +102320,19 @@
|
|
|
102383
102320
|
"module": "icon/icon-name-mixin.js"
|
|
102384
102321
|
}
|
|
102385
102322
|
},
|
|
102323
|
+
{
|
|
102324
|
+
"name": "disabled-interactive",
|
|
102325
|
+
"type": {
|
|
102326
|
+
"text": "boolean"
|
|
102327
|
+
},
|
|
102328
|
+
"default": "false",
|
|
102329
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
102330
|
+
"fieldName": "disabledInteractive",
|
|
102331
|
+
"inheritedFrom": {
|
|
102332
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
102333
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
102334
|
+
}
|
|
102335
|
+
},
|
|
102386
102336
|
{
|
|
102387
102337
|
"name": "disabled",
|
|
102388
102338
|
"description": "Whether the component is disabled.",
|
|
@@ -102395,6 +102345,56 @@
|
|
|
102395
102345
|
"name": "SbbDisabledMixin",
|
|
102396
102346
|
"module": "core/mixins/disabled-mixin.js"
|
|
102397
102347
|
}
|
|
102348
|
+
},
|
|
102349
|
+
{
|
|
102350
|
+
"name": "value",
|
|
102351
|
+
"type": {
|
|
102352
|
+
"text": "string"
|
|
102353
|
+
},
|
|
102354
|
+
"default": "''",
|
|
102355
|
+
"description": "Value of the form element.",
|
|
102356
|
+
"fieldName": "value",
|
|
102357
|
+
"inheritedFrom": {
|
|
102358
|
+
"name": "SbbButtonBaseElement",
|
|
102359
|
+
"module": "core/base-elements/button-base-element.js"
|
|
102360
|
+
}
|
|
102361
|
+
},
|
|
102362
|
+
{
|
|
102363
|
+
"name": "type",
|
|
102364
|
+
"description": "The type attribute to use for the button.",
|
|
102365
|
+
"default": "'button'",
|
|
102366
|
+
"type": {
|
|
102367
|
+
"text": "SbbButtonType"
|
|
102368
|
+
},
|
|
102369
|
+
"fieldName": "type",
|
|
102370
|
+
"inheritedFrom": {
|
|
102371
|
+
"name": "SbbButtonBaseElement",
|
|
102372
|
+
"module": "core/base-elements/button-base-element.js"
|
|
102373
|
+
}
|
|
102374
|
+
},
|
|
102375
|
+
{
|
|
102376
|
+
"name": "form",
|
|
102377
|
+
"description": "The `<form>` element to associate the button with.",
|
|
102378
|
+
"type": {
|
|
102379
|
+
"text": "HTMLFormElement | null"
|
|
102380
|
+
},
|
|
102381
|
+
"fieldName": "form",
|
|
102382
|
+
"inheritedFrom": {
|
|
102383
|
+
"name": "SbbButtonBaseElement",
|
|
102384
|
+
"module": "core/base-elements/button-base-element.js"
|
|
102385
|
+
}
|
|
102386
|
+
},
|
|
102387
|
+
{
|
|
102388
|
+
"name": "name",
|
|
102389
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
102390
|
+
"type": {
|
|
102391
|
+
"text": "string"
|
|
102392
|
+
},
|
|
102393
|
+
"fieldName": "name",
|
|
102394
|
+
"inheritedFrom": {
|
|
102395
|
+
"name": "SbbFormAssociatedMixin",
|
|
102396
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
102397
|
+
}
|
|
102398
102398
|
}
|
|
102399
102399
|
]
|
|
102400
102400
|
}
|
|
@@ -102402,10 +102402,10 @@
|
|
|
102402
102402
|
"exports": [
|
|
102403
102403
|
{
|
|
102404
102404
|
"kind": "js",
|
|
102405
|
-
"name": "
|
|
102405
|
+
"name": "SbbBlockLinkButtonElement",
|
|
102406
102406
|
"declaration": {
|
|
102407
|
-
"name": "
|
|
102408
|
-
"module": "link/block-link-
|
|
102407
|
+
"name": "SbbBlockLinkButtonElement",
|
|
102408
|
+
"module": "link/block-link-button/block-link-button.component.js"
|
|
102409
102409
|
}
|
|
102410
102410
|
}
|
|
102411
102411
|
]
|
|
@@ -129278,12 +129278,12 @@
|
|
|
129278
129278
|
},
|
|
129279
129279
|
{
|
|
129280
129280
|
"kind": "javascript-module",
|
|
129281
|
-
"path": "timetable-form/timetable-form-
|
|
129281
|
+
"path": "timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.js",
|
|
129282
129282
|
"declarations": [
|
|
129283
129283
|
{
|
|
129284
129284
|
"kind": "class",
|
|
129285
|
-
"description": "
|
|
129286
|
-
"name": "
|
|
129285
|
+
"description": "An extension of `sbb-secondary-button` to be used inside the `sbb-timetable-form`.\nWhen placed between two `sbb-timetable-form-field`, the 'click' swaps the value of the sibling inputs.",
|
|
129286
|
+
"name": "SbbTimetableFormSwapButtonElement",
|
|
129287
129287
|
"members": [
|
|
129288
129288
|
{
|
|
129289
129289
|
"kind": "field",
|
|
@@ -129294,614 +129294,619 @@
|
|
|
129294
129294
|
"privacy": "public",
|
|
129295
129295
|
"static": true,
|
|
129296
129296
|
"readonly": true,
|
|
129297
|
-
"default": "'sbb-timetable-form-field'",
|
|
129298
129297
|
"inheritedFrom": {
|
|
129299
129298
|
"name": "SbbElement",
|
|
129300
129299
|
"module": "core/base-elements/element.js"
|
|
129301
|
-
}
|
|
129302
|
-
},
|
|
129303
|
-
{
|
|
129304
|
-
"kind": "field",
|
|
129305
|
-
"name": "_routeIcon",
|
|
129306
|
-
"type": {
|
|
129307
|
-
"text": "boolean"
|
|
129308
129300
|
},
|
|
129309
|
-
"
|
|
129310
|
-
"default": "false"
|
|
129301
|
+
"default": "'sbb-timetable-form-swap-button'"
|
|
129311
129302
|
},
|
|
129312
129303
|
{
|
|
129313
129304
|
"kind": "field",
|
|
129314
|
-
"name": "
|
|
129315
|
-
"
|
|
129316
|
-
|
|
129317
|
-
},
|
|
129318
|
-
"privacy": "public",
|
|
129319
|
-
"default": "true",
|
|
129320
|
-
"description": "Whether to display the form field without a border.",
|
|
129321
|
-
"attribute": "borderless",
|
|
129322
|
-
"reflects": true,
|
|
129323
|
-
"inheritedFrom": {
|
|
129324
|
-
"name": "SbbFormFieldElement",
|
|
129325
|
-
"module": "form-field/form-field/form-field.component.js"
|
|
129326
|
-
}
|
|
129305
|
+
"name": "_languageController",
|
|
129306
|
+
"privacy": "private",
|
|
129307
|
+
"default": "new SbbLanguageController(this)"
|
|
129327
129308
|
},
|
|
129328
129309
|
{
|
|
129329
|
-
"kind": "
|
|
129330
|
-
"name": "
|
|
129331
|
-
"
|
|
129332
|
-
|
|
129310
|
+
"kind": "method",
|
|
129311
|
+
"name": "_invertFieldValues",
|
|
129312
|
+
"privacy": "private",
|
|
129313
|
+
"return": {
|
|
129314
|
+
"type": {
|
|
129315
|
+
"text": "void"
|
|
129316
|
+
}
|
|
129333
129317
|
},
|
|
129334
|
-
"
|
|
129335
|
-
"default": "true",
|
|
129336
|
-
"description": "Whether the label should float. If activated, the placeholder of the input is hidden.",
|
|
129337
|
-
"attribute": "floating-label",
|
|
129338
|
-
"reflects": true,
|
|
129339
|
-
"inheritedFrom": {
|
|
129340
|
-
"name": "SbbFormFieldElement",
|
|
129341
|
-
"module": "form-field/form-field/form-field.component.js"
|
|
129342
|
-
}
|
|
129318
|
+
"description": "Search for `sbb-timetable-form-field` inputs, invert their values and dispatch the respective input and change events"
|
|
129343
129319
|
},
|
|
129344
129320
|
{
|
|
129345
|
-
"kind": "
|
|
129346
|
-
"name": "
|
|
129347
|
-
"
|
|
129348
|
-
|
|
129321
|
+
"kind": "method",
|
|
129322
|
+
"name": "renderIconName",
|
|
129323
|
+
"privacy": "protected",
|
|
129324
|
+
"return": {
|
|
129325
|
+
"type": {
|
|
129326
|
+
"text": "string"
|
|
129327
|
+
}
|
|
129349
129328
|
},
|
|
129350
|
-
"privacy": "public",
|
|
129351
|
-
"default": "'collapse'",
|
|
129352
|
-
"description": "Defines the width of the component:\n- `default`: the component has defined width and min-width;\n- `collapse`: the component adapts itself to its inner input content.",
|
|
129353
|
-
"attribute": "width",
|
|
129354
|
-
"reflects": true,
|
|
129355
129329
|
"inheritedFrom": {
|
|
129356
|
-
"name": "
|
|
129357
|
-
"module": "
|
|
129330
|
+
"name": "SbbIconNameMixin",
|
|
129331
|
+
"module": "icon/icon-name-mixin.js"
|
|
129358
129332
|
}
|
|
129359
129333
|
},
|
|
129360
129334
|
{
|
|
129361
129335
|
"kind": "field",
|
|
129362
129336
|
"name": "size",
|
|
129363
129337
|
"type": {
|
|
129364
|
-
"text": "
|
|
129338
|
+
"text": "SbbButtonSize"
|
|
129365
129339
|
},
|
|
129366
129340
|
"privacy": "public",
|
|
129367
129341
|
"description": "Size variant, either l, m or s.",
|
|
129368
|
-
"default": "'l'",
|
|
129342
|
+
"default": "'l' / 's' (lean)",
|
|
129369
129343
|
"attribute": "size",
|
|
129370
129344
|
"reflects": true,
|
|
129371
129345
|
"inheritedFrom": {
|
|
129372
|
-
"name": "
|
|
129373
|
-
"module": "
|
|
129346
|
+
"name": "SbbButtonCommonElementMixin",
|
|
129347
|
+
"module": "button/common/button-common.js"
|
|
129374
129348
|
}
|
|
129375
129349
|
},
|
|
129376
129350
|
{
|
|
129377
129351
|
"kind": "field",
|
|
129378
|
-
"name": "
|
|
129352
|
+
"name": "loading",
|
|
129379
129353
|
"type": {
|
|
129380
129354
|
"text": "boolean"
|
|
129381
129355
|
},
|
|
129382
129356
|
"privacy": "public",
|
|
129383
129357
|
"default": "false",
|
|
129384
|
-
"description": "
|
|
129385
|
-
"attribute": "
|
|
129358
|
+
"description": "Whether the button indicates a loading state.\nThe animation kicks in after a delay of 300ms, configurable with --sbb-button-loading-delay CSS variable.",
|
|
129359
|
+
"attribute": "loading",
|
|
129386
129360
|
"reflects": true,
|
|
129387
129361
|
"inheritedFrom": {
|
|
129388
|
-
"name": "
|
|
129389
|
-
"module": "
|
|
129362
|
+
"name": "SbbButtonCommonElementMixin",
|
|
129363
|
+
"module": "button/common/button-common.js"
|
|
129390
129364
|
}
|
|
129391
129365
|
},
|
|
129392
129366
|
{
|
|
129393
|
-
"kind": "
|
|
129394
|
-
"name": "
|
|
129395
|
-
"
|
|
129396
|
-
|
|
129367
|
+
"kind": "method",
|
|
129368
|
+
"name": "renderTemplate",
|
|
129369
|
+
"privacy": "protected",
|
|
129370
|
+
"return": {
|
|
129371
|
+
"type": {
|
|
129372
|
+
"text": "TemplateResult"
|
|
129373
|
+
}
|
|
129397
129374
|
},
|
|
129398
|
-
"
|
|
129399
|
-
"readonly": true,
|
|
129400
|
-
"default": "['button', 'sbb-popover', 'sbb-option', 'sbb-chip']",
|
|
129375
|
+
"description": "Override this method to render the component template.",
|
|
129401
129376
|
"inheritedFrom": {
|
|
129402
|
-
"name": "
|
|
129403
|
-
"module": "
|
|
129377
|
+
"name": "SbbActionBaseElement",
|
|
129378
|
+
"module": "core/base-elements/action-base-element.js"
|
|
129404
129379
|
}
|
|
129405
129380
|
},
|
|
129406
129381
|
{
|
|
129407
129382
|
"kind": "field",
|
|
129408
|
-
"name": "
|
|
129383
|
+
"name": "negative",
|
|
129409
129384
|
"type": {
|
|
129410
|
-
"text": "
|
|
129385
|
+
"text": "boolean"
|
|
129411
129386
|
},
|
|
129412
|
-
"privacy": "
|
|
129413
|
-
"
|
|
129414
|
-
"
|
|
129387
|
+
"privacy": "public",
|
|
129388
|
+
"default": "false",
|
|
129389
|
+
"description": "Negative coloring variant flag.",
|
|
129390
|
+
"attribute": "negative",
|
|
129391
|
+
"reflects": true,
|
|
129415
129392
|
"inheritedFrom": {
|
|
129416
|
-
"name": "
|
|
129417
|
-
"module": "
|
|
129393
|
+
"name": "SbbNegativeMixin",
|
|
129394
|
+
"module": "core/mixins/negative-mixin.js"
|
|
129418
129395
|
}
|
|
129419
129396
|
},
|
|
129420
129397
|
{
|
|
129421
129398
|
"kind": "field",
|
|
129422
|
-
"name": "
|
|
129399
|
+
"name": "iconName",
|
|
129423
129400
|
"type": {
|
|
129424
|
-
"text": "
|
|
129401
|
+
"text": "string"
|
|
129425
129402
|
},
|
|
129426
|
-
"privacy": "
|
|
129427
|
-
"
|
|
129428
|
-
"
|
|
129403
|
+
"privacy": "public",
|
|
129404
|
+
"default": "''",
|
|
129405
|
+
"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.",
|
|
129406
|
+
"attribute": "icon-name",
|
|
129429
129407
|
"inheritedFrom": {
|
|
129430
|
-
"name": "
|
|
129431
|
-
"module": "
|
|
129408
|
+
"name": "SbbIconNameMixin",
|
|
129409
|
+
"module": "icon/icon-name-mixin.js"
|
|
129432
129410
|
}
|
|
129433
129411
|
},
|
|
129434
129412
|
{
|
|
129435
|
-
"kind": "
|
|
129436
|
-
"name": "
|
|
129437
|
-
"
|
|
129438
|
-
|
|
129413
|
+
"kind": "method",
|
|
129414
|
+
"name": "renderIconSlot",
|
|
129415
|
+
"privacy": "protected",
|
|
129416
|
+
"return": {
|
|
129417
|
+
"type": {
|
|
129418
|
+
"text": "TemplateResult"
|
|
129419
|
+
}
|
|
129439
129420
|
},
|
|
129440
|
-
"
|
|
129441
|
-
|
|
129442
|
-
|
|
129443
|
-
|
|
129444
|
-
|
|
129421
|
+
"parameters": [
|
|
129422
|
+
{
|
|
129423
|
+
"name": "classname",
|
|
129424
|
+
"optional": true,
|
|
129425
|
+
"type": {
|
|
129426
|
+
"text": "string"
|
|
129427
|
+
}
|
|
129428
|
+
}
|
|
129429
|
+
],
|
|
129445
129430
|
"inheritedFrom": {
|
|
129446
|
-
"name": "
|
|
129447
|
-
"module": "
|
|
129431
|
+
"name": "SbbIconNameMixin",
|
|
129432
|
+
"module": "icon/icon-name-mixin.js"
|
|
129433
|
+
}
|
|
129434
|
+
},
|
|
129435
|
+
{
|
|
129436
|
+
"kind": "method",
|
|
129437
|
+
"name": "_renderIconName",
|
|
129438
|
+
"privacy": "private",
|
|
129439
|
+
"return": {
|
|
129440
|
+
"type": {
|
|
129441
|
+
"text": "string"
|
|
129442
|
+
}
|
|
129443
|
+
},
|
|
129444
|
+
"inheritedFrom": {
|
|
129445
|
+
"name": "SbbIconNameMixin",
|
|
129446
|
+
"module": "icon/icon-name-mixin.js"
|
|
129448
129447
|
}
|
|
129449
129448
|
},
|
|
129450
129449
|
{
|
|
129451
129450
|
"kind": "field",
|
|
129452
|
-
"name": "
|
|
129451
|
+
"name": "disabledInteractive",
|
|
129453
129452
|
"type": {
|
|
129454
129453
|
"text": "boolean"
|
|
129455
129454
|
},
|
|
129456
129455
|
"privacy": "public",
|
|
129457
129456
|
"default": "false",
|
|
129458
|
-
"description": "
|
|
129459
|
-
"
|
|
129460
|
-
"
|
|
129457
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
129458
|
+
"attribute": "disabled-interactive",
|
|
129459
|
+
"reflects": true,
|
|
129461
129460
|
"inheritedFrom": {
|
|
129462
|
-
"name": "
|
|
129463
|
-
"module": "
|
|
129461
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
129462
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
129464
129463
|
}
|
|
129465
129464
|
},
|
|
129466
129465
|
{
|
|
129467
129466
|
"kind": "field",
|
|
129468
|
-
"name": "
|
|
129467
|
+
"name": "disabled",
|
|
129468
|
+
"privacy": "public",
|
|
129469
|
+
"description": "Whether the component is disabled.",
|
|
129470
|
+
"default": "false",
|
|
129469
129471
|
"type": {
|
|
129470
129472
|
"text": "boolean"
|
|
129471
129473
|
},
|
|
129472
|
-
"
|
|
129473
|
-
"default": "false",
|
|
129474
|
-
"description": "Whether to visually hide the label. If hidden, screen readers will still read it.",
|
|
129475
|
-
"attribute": "hidden-label",
|
|
129474
|
+
"attribute": "disabled",
|
|
129476
129475
|
"reflects": true,
|
|
129477
129476
|
"inheritedFrom": {
|
|
129478
|
-
"name": "
|
|
129479
|
-
"module": "
|
|
129477
|
+
"name": "SbbDisabledMixin",
|
|
129478
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
129480
129479
|
}
|
|
129481
129480
|
},
|
|
129482
129481
|
{
|
|
129483
129482
|
"kind": "field",
|
|
129484
|
-
"name": "
|
|
129483
|
+
"name": "#disabled",
|
|
129484
|
+
"privacy": "private",
|
|
129485
129485
|
"type": {
|
|
129486
|
-
"text": "
|
|
129486
|
+
"text": "boolean"
|
|
129487
129487
|
},
|
|
129488
|
-
"
|
|
129489
|
-
"default": "[]",
|
|
129490
|
-
"description": "It is used internally to get the `error` slot.",
|
|
129488
|
+
"default": "false",
|
|
129491
129489
|
"inheritedFrom": {
|
|
129492
|
-
"name": "
|
|
129493
|
-
"module": "
|
|
129490
|
+
"name": "SbbDisabledMixin",
|
|
129491
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
129494
129492
|
}
|
|
129495
129493
|
},
|
|
129496
129494
|
{
|
|
129497
|
-
"kind": "
|
|
129498
|
-
"name": "
|
|
129499
|
-
"
|
|
129500
|
-
|
|
129495
|
+
"kind": "method",
|
|
129496
|
+
"name": "isDisabledExternally",
|
|
129497
|
+
"privacy": "protected",
|
|
129498
|
+
"return": {
|
|
129499
|
+
"type": {
|
|
129500
|
+
"text": "boolean"
|
|
129501
|
+
}
|
|
129501
129502
|
},
|
|
129502
|
-
"
|
|
129503
|
-
"default": "[]",
|
|
129504
|
-
"description": "It is used internally to get the `hint` slot.",
|
|
129503
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
129505
129504
|
"inheritedFrom": {
|
|
129506
|
-
"name": "
|
|
129507
|
-
"module": "
|
|
129505
|
+
"name": "SbbDisabledMixin",
|
|
129506
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
129508
129507
|
}
|
|
129509
129508
|
},
|
|
129510
129509
|
{
|
|
129511
129510
|
"kind": "field",
|
|
129512
|
-
"name": "
|
|
129511
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
129513
129512
|
"type": {
|
|
129514
|
-
"text": "
|
|
129513
|
+
"text": "array"
|
|
129515
129514
|
},
|
|
129516
129515
|
"privacy": "private",
|
|
129517
|
-
"
|
|
129518
|
-
"
|
|
129516
|
+
"readonly": true,
|
|
129517
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
129519
129518
|
"inheritedFrom": {
|
|
129520
|
-
"name": "
|
|
129521
|
-
"module": "
|
|
129519
|
+
"name": "SbbButtonBaseElement",
|
|
129520
|
+
"module": "core/base-elements/button-base-element.js"
|
|
129522
129521
|
}
|
|
129523
129522
|
},
|
|
129524
129523
|
{
|
|
129525
129524
|
"kind": "field",
|
|
129526
|
-
"name": "
|
|
129525
|
+
"name": "value",
|
|
129527
129526
|
"type": {
|
|
129528
|
-
"text": "
|
|
129527
|
+
"text": "string"
|
|
129529
129528
|
},
|
|
129530
|
-
"privacy": "
|
|
129531
|
-
"description": "Reference to the slotted label elements.",
|
|
129529
|
+
"privacy": "public",
|
|
129532
129530
|
"inheritedFrom": {
|
|
129533
|
-
"name": "
|
|
129534
|
-
"module": "
|
|
129535
|
-
}
|
|
129531
|
+
"name": "SbbButtonBaseElement",
|
|
129532
|
+
"module": "core/base-elements/button-base-element.js"
|
|
129533
|
+
},
|
|
129534
|
+
"default": "''",
|
|
129535
|
+
"description": "Value of the form element.",
|
|
129536
|
+
"attribute": "value"
|
|
129536
129537
|
},
|
|
129537
129538
|
{
|
|
129538
129539
|
"kind": "field",
|
|
129539
|
-
"name": "
|
|
129540
|
+
"name": "type",
|
|
129541
|
+
"privacy": "public",
|
|
129542
|
+
"description": "The type attribute to use for the button.",
|
|
129543
|
+
"default": "'button'",
|
|
129540
129544
|
"type": {
|
|
129541
|
-
"text": "
|
|
129545
|
+
"text": "SbbButtonType"
|
|
129542
129546
|
},
|
|
129543
|
-
"
|
|
129544
|
-
"description": "Returns the input element.",
|
|
129545
|
-
"readonly": true,
|
|
129547
|
+
"attribute": "type",
|
|
129546
129548
|
"inheritedFrom": {
|
|
129547
|
-
"name": "
|
|
129548
|
-
"module": "
|
|
129549
|
+
"name": "SbbButtonBaseElement",
|
|
129550
|
+
"module": "core/base-elements/button-base-element.js"
|
|
129549
129551
|
}
|
|
129550
129552
|
},
|
|
129551
129553
|
{
|
|
129552
129554
|
"kind": "field",
|
|
129553
|
-
"name": "
|
|
129555
|
+
"name": "form",
|
|
129554
129556
|
"type": {
|
|
129555
|
-
"text": "
|
|
129557
|
+
"text": "HTMLFormElement | null"
|
|
129556
129558
|
},
|
|
129557
129559
|
"privacy": "public",
|
|
129558
|
-
"description": "
|
|
129559
|
-
"readonly": true,
|
|
129560
|
+
"description": "The `<form>` element to associate the button with.",
|
|
129560
129561
|
"inheritedFrom": {
|
|
129561
|
-
"name": "
|
|
129562
|
-
"module": "
|
|
129563
|
-
}
|
|
129562
|
+
"name": "SbbButtonBaseElement",
|
|
129563
|
+
"module": "core/base-elements/button-base-element.js"
|
|
129564
|
+
},
|
|
129565
|
+
"attribute": "form"
|
|
129564
129566
|
},
|
|
129565
129567
|
{
|
|
129566
129568
|
"kind": "field",
|
|
129567
|
-
"name": "
|
|
129569
|
+
"name": "_formId",
|
|
129570
|
+
"type": {
|
|
129571
|
+
"text": "string"
|
|
129572
|
+
},
|
|
129568
129573
|
"privacy": "private",
|
|
129569
|
-
"default": "
|
|
129574
|
+
"default": "''",
|
|
129570
129575
|
"inheritedFrom": {
|
|
129571
|
-
"name": "
|
|
129572
|
-
"module": "
|
|
129576
|
+
"name": "SbbButtonBaseElement",
|
|
129577
|
+
"module": "core/base-elements/button-base-element.js"
|
|
129573
129578
|
}
|
|
129574
129579
|
},
|
|
129575
129580
|
{
|
|
129576
129581
|
"kind": "field",
|
|
129577
|
-
"name": "
|
|
129582
|
+
"name": "_handleButtonClick",
|
|
129578
129583
|
"privacy": "private",
|
|
129579
|
-
"description": "Listens to the changes on `readonly` and `disabled` attributes of `<input>`.",
|
|
129580
129584
|
"inheritedFrom": {
|
|
129581
|
-
"name": "
|
|
129582
|
-
"module": "
|
|
129585
|
+
"name": "SbbButtonBaseElement",
|
|
129586
|
+
"module": "core/base-elements/button-base-element.js"
|
|
129583
129587
|
}
|
|
129584
129588
|
},
|
|
129585
129589
|
{
|
|
129586
|
-
"kind": "
|
|
129587
|
-
"name": "
|
|
129590
|
+
"kind": "method",
|
|
129591
|
+
"name": "_requestSubmit",
|
|
129588
129592
|
"privacy": "private",
|
|
129589
|
-
"
|
|
129593
|
+
"return": {
|
|
129594
|
+
"type": {
|
|
129595
|
+
"text": "void"
|
|
129596
|
+
}
|
|
129597
|
+
},
|
|
129598
|
+
"parameters": [
|
|
129599
|
+
{
|
|
129600
|
+
"name": "form",
|
|
129601
|
+
"type": {
|
|
129602
|
+
"text": "HTMLFormElement"
|
|
129603
|
+
}
|
|
129604
|
+
}
|
|
129605
|
+
],
|
|
129590
129606
|
"inheritedFrom": {
|
|
129591
|
-
"name": "
|
|
129592
|
-
"module": "
|
|
129607
|
+
"name": "SbbButtonBaseElement",
|
|
129608
|
+
"module": "core/base-elements/button-base-element.js"
|
|
129593
129609
|
}
|
|
129594
129610
|
},
|
|
129595
129611
|
{
|
|
129596
129612
|
"kind": "field",
|
|
129597
|
-
"name": "
|
|
129598
|
-
"type": {
|
|
129599
|
-
"text": "SbbFormFieldElementControl | null"
|
|
129600
|
-
},
|
|
129613
|
+
"name": "_formKeyDown",
|
|
129601
129614
|
"privacy": "private",
|
|
129602
|
-
"default": "null",
|
|
129603
129615
|
"inheritedFrom": {
|
|
129604
|
-
"name": "
|
|
129605
|
-
"module": "
|
|
129616
|
+
"name": "SbbButtonBaseElement",
|
|
129617
|
+
"module": "core/base-elements/button-base-element.js"
|
|
129606
129618
|
}
|
|
129607
129619
|
},
|
|
129608
129620
|
{
|
|
129609
129621
|
"kind": "field",
|
|
129610
|
-
"name": "
|
|
129622
|
+
"name": "formAssociated",
|
|
129611
129623
|
"type": {
|
|
129612
|
-
"text": "
|
|
129624
|
+
"text": "boolean"
|
|
129613
129625
|
},
|
|
129614
|
-
"privacy": "
|
|
129615
|
-
"
|
|
129626
|
+
"privacy": "public",
|
|
129627
|
+
"static": true,
|
|
129628
|
+
"default": "true",
|
|
129616
129629
|
"inheritedFrom": {
|
|
129617
|
-
"name": "
|
|
129618
|
-
"module": "
|
|
129630
|
+
"name": "SbbFormAssociatedMixin",
|
|
129631
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
129619
129632
|
}
|
|
129620
129633
|
},
|
|
129621
129634
|
{
|
|
129622
|
-
"kind": "
|
|
129623
|
-
"name": "
|
|
129624
|
-
"privacy": "
|
|
129625
|
-
"
|
|
129626
|
-
|
|
129627
|
-
|
|
129628
|
-
|
|
129629
|
-
|
|
129630
|
-
"parameters": [
|
|
129631
|
-
{
|
|
129632
|
-
"name": "event",
|
|
129633
|
-
"type": {
|
|
129634
|
-
"text": "MouseEvent"
|
|
129635
|
-
}
|
|
129636
|
-
}
|
|
129637
|
-
],
|
|
129635
|
+
"kind": "field",
|
|
129636
|
+
"name": "name",
|
|
129637
|
+
"privacy": "public",
|
|
129638
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
129639
|
+
"type": {
|
|
129640
|
+
"text": "string"
|
|
129641
|
+
},
|
|
129642
|
+
"attribute": "name",
|
|
129638
129643
|
"inheritedFrom": {
|
|
129639
|
-
"name": "
|
|
129640
|
-
"module": "
|
|
129644
|
+
"name": "SbbFormAssociatedMixin",
|
|
129645
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
129641
129646
|
}
|
|
129642
129647
|
},
|
|
129643
129648
|
{
|
|
129644
|
-
"kind": "
|
|
129645
|
-
"name": "
|
|
129646
|
-
"
|
|
129647
|
-
|
|
129648
|
-
"type": {
|
|
129649
|
-
"text": "boolean"
|
|
129650
|
-
}
|
|
129649
|
+
"kind": "field",
|
|
129650
|
+
"name": "validity",
|
|
129651
|
+
"type": {
|
|
129652
|
+
"text": "ValidityState"
|
|
129651
129653
|
},
|
|
129652
|
-
"
|
|
129653
|
-
|
|
129654
|
-
|
|
129655
|
-
"type": {
|
|
129656
|
-
"text": "Event"
|
|
129657
|
-
}
|
|
129658
|
-
}
|
|
129659
|
-
],
|
|
129654
|
+
"privacy": "public",
|
|
129655
|
+
"description": "Returns the ValidityState object for this element.",
|
|
129656
|
+
"readonly": true,
|
|
129660
129657
|
"inheritedFrom": {
|
|
129661
|
-
"name": "
|
|
129662
|
-
"module": "
|
|
129658
|
+
"name": "SbbFormAssociatedMixin",
|
|
129659
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
129663
129660
|
}
|
|
129664
129661
|
},
|
|
129665
129662
|
{
|
|
129666
|
-
"kind": "
|
|
129667
|
-
"name": "
|
|
129668
|
-
"
|
|
129669
|
-
|
|
129670
|
-
"type": {
|
|
129671
|
-
"text": "void"
|
|
129672
|
-
}
|
|
129663
|
+
"kind": "field",
|
|
129664
|
+
"name": "validationMessage",
|
|
129665
|
+
"type": {
|
|
129666
|
+
"text": "string"
|
|
129673
129667
|
},
|
|
129668
|
+
"privacy": "public",
|
|
129669
|
+
"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.",
|
|
129670
|
+
"readonly": true,
|
|
129674
129671
|
"inheritedFrom": {
|
|
129675
|
-
"name": "
|
|
129676
|
-
"module": "
|
|
129672
|
+
"name": "SbbFormAssociatedMixin",
|
|
129673
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
129677
129674
|
}
|
|
129678
129675
|
},
|
|
129679
129676
|
{
|
|
129680
|
-
"kind": "
|
|
129681
|
-
"name": "
|
|
129682
|
-
"
|
|
129683
|
-
|
|
129684
|
-
"type": {
|
|
129685
|
-
"text": "void"
|
|
129686
|
-
}
|
|
129677
|
+
"kind": "field",
|
|
129678
|
+
"name": "willValidate",
|
|
129679
|
+
"type": {
|
|
129680
|
+
"text": "boolean"
|
|
129687
129681
|
},
|
|
129688
|
-
"
|
|
129682
|
+
"privacy": "public",
|
|
129683
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
129684
|
+
"readonly": true,
|
|
129689
129685
|
"inheritedFrom": {
|
|
129690
|
-
"name": "
|
|
129691
|
-
"module": "
|
|
129686
|
+
"name": "SbbFormAssociatedMixin",
|
|
129687
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
129692
129688
|
}
|
|
129693
129689
|
},
|
|
129694
129690
|
{
|
|
129695
|
-
"kind": "
|
|
129696
|
-
"name": "
|
|
129691
|
+
"kind": "field",
|
|
129692
|
+
"name": "_validityStates",
|
|
129697
129693
|
"privacy": "private",
|
|
129698
|
-
"
|
|
129699
|
-
|
|
129700
|
-
|
|
129701
|
-
|
|
129694
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
129695
|
+
"inheritedFrom": {
|
|
129696
|
+
"name": "SbbFormAssociatedMixin",
|
|
129697
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
129698
|
+
}
|
|
129699
|
+
},
|
|
129700
|
+
{
|
|
129701
|
+
"kind": "field",
|
|
129702
|
+
"name": "formDisabled",
|
|
129703
|
+
"type": {
|
|
129704
|
+
"text": "boolean"
|
|
129702
129705
|
},
|
|
129706
|
+
"privacy": "protected",
|
|
129707
|
+
"default": "false",
|
|
129708
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
129703
129709
|
"inheritedFrom": {
|
|
129704
|
-
"name": "
|
|
129705
|
-
"module": "
|
|
129710
|
+
"name": "SbbFormAssociatedMixin",
|
|
129711
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
129706
129712
|
}
|
|
129707
129713
|
},
|
|
129708
129714
|
{
|
|
129709
129715
|
"kind": "method",
|
|
129710
|
-
"name": "
|
|
129711
|
-
"privacy": "
|
|
129716
|
+
"name": "checkValidity",
|
|
129717
|
+
"privacy": "public",
|
|
129712
129718
|
"return": {
|
|
129713
129719
|
"type": {
|
|
129714
|
-
"text": "
|
|
129720
|
+
"text": "boolean"
|
|
129715
129721
|
}
|
|
129716
129722
|
},
|
|
129723
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
129717
129724
|
"inheritedFrom": {
|
|
129718
|
-
"name": "
|
|
129719
|
-
"module": "
|
|
129725
|
+
"name": "SbbFormAssociatedMixin",
|
|
129726
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
129720
129727
|
}
|
|
129721
129728
|
},
|
|
129722
129729
|
{
|
|
129723
129730
|
"kind": "method",
|
|
129724
|
-
"name": "
|
|
129725
|
-
"privacy": "
|
|
129731
|
+
"name": "reportValidity",
|
|
129732
|
+
"privacy": "public",
|
|
129726
129733
|
"return": {
|
|
129727
129734
|
"type": {
|
|
129728
|
-
"text": "
|
|
129735
|
+
"text": "boolean"
|
|
129729
129736
|
}
|
|
129730
129737
|
},
|
|
129738
|
+
"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.",
|
|
129731
129739
|
"inheritedFrom": {
|
|
129732
|
-
"name": "
|
|
129733
|
-
"module": "
|
|
129740
|
+
"name": "SbbFormAssociatedMixin",
|
|
129741
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
129734
129742
|
}
|
|
129735
129743
|
},
|
|
129736
129744
|
{
|
|
129737
129745
|
"kind": "method",
|
|
129738
|
-
"name": "
|
|
129739
|
-
"privacy": "
|
|
129746
|
+
"name": "setCustomValidity",
|
|
129747
|
+
"privacy": "public",
|
|
129740
129748
|
"return": {
|
|
129741
129749
|
"type": {
|
|
129742
|
-
"text": "
|
|
129750
|
+
"text": "void"
|
|
129743
129751
|
}
|
|
129744
129752
|
},
|
|
129745
129753
|
"parameters": [
|
|
129746
129754
|
{
|
|
129747
|
-
"name": "
|
|
129755
|
+
"name": "message",
|
|
129748
129756
|
"type": {
|
|
129749
|
-
"text": "
|
|
129757
|
+
"text": "string"
|
|
129750
129758
|
}
|
|
129751
129759
|
}
|
|
129752
129760
|
],
|
|
129761
|
+
"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.",
|
|
129753
129762
|
"inheritedFrom": {
|
|
129754
|
-
"name": "
|
|
129755
|
-
"module": "
|
|
129763
|
+
"name": "SbbFormAssociatedMixin",
|
|
129764
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
129756
129765
|
}
|
|
129757
129766
|
},
|
|
129758
129767
|
{
|
|
129759
129768
|
"kind": "method",
|
|
129760
|
-
"name": "
|
|
129769
|
+
"name": "_hasDisabledAncestor",
|
|
129761
129770
|
"privacy": "private",
|
|
129762
129771
|
"return": {
|
|
129763
129772
|
"type": {
|
|
129764
|
-
"text": "
|
|
129773
|
+
"text": "boolean"
|
|
129765
129774
|
}
|
|
129766
129775
|
},
|
|
129767
129776
|
"inheritedFrom": {
|
|
129768
|
-
"name": "
|
|
129769
|
-
"module": "
|
|
129777
|
+
"name": "SbbFormAssociatedMixin",
|
|
129778
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
129770
129779
|
}
|
|
129771
129780
|
},
|
|
129772
129781
|
{
|
|
129773
129782
|
"kind": "method",
|
|
129774
|
-
"name": "
|
|
129775
|
-
"privacy": "
|
|
129783
|
+
"name": "updateFormValue",
|
|
129784
|
+
"privacy": "protected",
|
|
129776
129785
|
"return": {
|
|
129777
129786
|
"type": {
|
|
129778
129787
|
"text": "void"
|
|
129779
129788
|
}
|
|
129780
129789
|
},
|
|
129790
|
+
"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",
|
|
129781
129791
|
"inheritedFrom": {
|
|
129782
|
-
"name": "
|
|
129783
|
-
"module": "
|
|
129792
|
+
"name": "SbbFormAssociatedMixin",
|
|
129793
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
129784
129794
|
}
|
|
129785
129795
|
},
|
|
129786
129796
|
{
|
|
129787
129797
|
"kind": "method",
|
|
129788
|
-
"name": "
|
|
129789
|
-
"privacy": "
|
|
129798
|
+
"name": "formState",
|
|
129799
|
+
"privacy": "protected",
|
|
129790
129800
|
"return": {
|
|
129791
129801
|
"type": {
|
|
129792
|
-
"text": "
|
|
129802
|
+
"text": "FormRestoreState"
|
|
129793
129803
|
}
|
|
129794
129804
|
},
|
|
129795
129805
|
"inheritedFrom": {
|
|
129796
|
-
"name": "
|
|
129797
|
-
"module": "
|
|
129806
|
+
"name": "SbbFormAssociatedMixin",
|
|
129807
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
129798
129808
|
}
|
|
129799
129809
|
},
|
|
129800
129810
|
{
|
|
129801
129811
|
"kind": "method",
|
|
129802
|
-
"name": "
|
|
129803
|
-
"privacy": "
|
|
129812
|
+
"name": "setValidityFlag",
|
|
129813
|
+
"privacy": "protected",
|
|
129804
129814
|
"return": {
|
|
129805
129815
|
"type": {
|
|
129806
129816
|
"text": "void"
|
|
129807
129817
|
}
|
|
129808
129818
|
},
|
|
129809
|
-
"
|
|
129810
|
-
|
|
129811
|
-
|
|
129812
|
-
|
|
129813
|
-
|
|
129814
|
-
|
|
129815
|
-
|
|
129816
|
-
|
|
129817
|
-
|
|
129818
|
-
|
|
129819
|
-
|
|
129820
|
-
|
|
129819
|
+
"parameters": [
|
|
129820
|
+
{
|
|
129821
|
+
"name": "flag",
|
|
129822
|
+
"type": {
|
|
129823
|
+
"text": "T"
|
|
129824
|
+
}
|
|
129825
|
+
},
|
|
129826
|
+
{
|
|
129827
|
+
"name": "message",
|
|
129828
|
+
"type": {
|
|
129829
|
+
"text": "string"
|
|
129830
|
+
}
|
|
129831
|
+
},
|
|
129832
|
+
{
|
|
129833
|
+
"name": "flagValue",
|
|
129834
|
+
"optional": true,
|
|
129835
|
+
"type": {
|
|
129836
|
+
"text": "ValidityStateFlags[T]"
|
|
129837
|
+
}
|
|
129821
129838
|
}
|
|
129822
|
-
|
|
129839
|
+
],
|
|
129840
|
+
"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).",
|
|
129823
129841
|
"inheritedFrom": {
|
|
129824
|
-
"name": "
|
|
129825
|
-
"module": "
|
|
129842
|
+
"name": "SbbFormAssociatedMixin",
|
|
129843
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
129826
129844
|
}
|
|
129827
129845
|
},
|
|
129828
129846
|
{
|
|
129829
129847
|
"kind": "method",
|
|
129830
|
-
"name": "
|
|
129831
|
-
"privacy": "
|
|
129848
|
+
"name": "removeValidityFlag",
|
|
129849
|
+
"privacy": "protected",
|
|
129832
129850
|
"return": {
|
|
129833
129851
|
"type": {
|
|
129834
|
-
"text": "
|
|
129852
|
+
"text": "void"
|
|
129835
129853
|
}
|
|
129836
129854
|
},
|
|
129837
|
-
"
|
|
129838
|
-
|
|
129839
|
-
|
|
129840
|
-
|
|
129841
|
-
|
|
129842
|
-
|
|
129843
|
-
"kind": "method",
|
|
129844
|
-
"name": "_isInputValueEmpty",
|
|
129845
|
-
"privacy": "private",
|
|
129846
|
-
"return": {
|
|
129847
|
-
"type": {
|
|
129848
|
-
"text": "boolean"
|
|
129855
|
+
"parameters": [
|
|
129856
|
+
{
|
|
129857
|
+
"name": "flag",
|
|
129858
|
+
"type": {
|
|
129859
|
+
"text": "T"
|
|
129860
|
+
}
|
|
129849
129861
|
}
|
|
129850
|
-
|
|
129862
|
+
],
|
|
129863
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
129851
129864
|
"inheritedFrom": {
|
|
129852
|
-
"name": "
|
|
129853
|
-
"module": "
|
|
129865
|
+
"name": "SbbFormAssociatedMixin",
|
|
129866
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
129854
129867
|
}
|
|
129855
129868
|
},
|
|
129856
129869
|
{
|
|
129857
129870
|
"kind": "method",
|
|
129858
|
-
"name": "
|
|
129859
|
-
"privacy": "
|
|
129871
|
+
"name": "validate",
|
|
129872
|
+
"privacy": "protected",
|
|
129860
129873
|
"return": {
|
|
129861
129874
|
"type": {
|
|
129862
129875
|
"text": "void"
|
|
129863
129876
|
}
|
|
129864
129877
|
},
|
|
129865
|
-
"
|
|
129866
|
-
{
|
|
129867
|
-
"name": "event",
|
|
129868
|
-
"type": {
|
|
129869
|
-
"text": "Event"
|
|
129870
|
-
}
|
|
129871
|
-
}
|
|
129872
|
-
],
|
|
129873
|
-
"description": "It is used internally to set the aria-describedby attribute for the slotted input referencing available <sbb-error> instances.",
|
|
129878
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
129874
129879
|
"inheritedFrom": {
|
|
129875
|
-
"name": "
|
|
129876
|
-
"module": "
|
|
129880
|
+
"name": "SbbFormAssociatedMixin",
|
|
129881
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
129877
129882
|
}
|
|
129878
129883
|
},
|
|
129879
129884
|
{
|
|
129880
129885
|
"kind": "method",
|
|
129881
|
-
"name": "
|
|
129882
|
-
"privacy": "
|
|
129886
|
+
"name": "shouldValidate",
|
|
129887
|
+
"privacy": "protected",
|
|
129883
129888
|
"return": {
|
|
129884
129889
|
"type": {
|
|
129885
|
-
"text": "
|
|
129890
|
+
"text": "boolean"
|
|
129886
129891
|
}
|
|
129887
129892
|
},
|
|
129888
129893
|
"parameters": [
|
|
129889
129894
|
{
|
|
129890
|
-
"name": "
|
|
129895
|
+
"name": "name",
|
|
129891
129896
|
"type": {
|
|
129892
|
-
"text": "
|
|
129897
|
+
"text": "PropertyKey | undefined"
|
|
129893
129898
|
}
|
|
129894
129899
|
}
|
|
129895
129900
|
],
|
|
129896
|
-
"description": "
|
|
129901
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
129897
129902
|
"inheritedFrom": {
|
|
129898
|
-
"name": "
|
|
129899
|
-
"module": "
|
|
129903
|
+
"name": "SbbFormAssociatedMixin",
|
|
129904
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
129900
129905
|
}
|
|
129901
129906
|
},
|
|
129902
129907
|
{
|
|
129903
129908
|
"kind": "method",
|
|
129904
|
-
"name": "
|
|
129909
|
+
"name": "_setInternalValidity",
|
|
129905
129910
|
"privacy": "private",
|
|
129906
129911
|
"return": {
|
|
129907
129912
|
"type": {
|
|
@@ -129909,66 +129914,113 @@
|
|
|
129909
129914
|
}
|
|
129910
129915
|
},
|
|
129911
129916
|
"inheritedFrom": {
|
|
129912
|
-
"name": "
|
|
129913
|
-
"module": "
|
|
129917
|
+
"name": "SbbFormAssociatedMixin",
|
|
129918
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
129914
129919
|
}
|
|
129915
129920
|
},
|
|
129916
129921
|
{
|
|
129917
|
-
"kind": "
|
|
129918
|
-
"name": "
|
|
129919
|
-
"
|
|
129920
|
-
|
|
129921
|
-
"type": {
|
|
129922
|
-
"text": "void"
|
|
129923
|
-
}
|
|
129922
|
+
"kind": "field",
|
|
129923
|
+
"name": "role",
|
|
129924
|
+
"type": {
|
|
129925
|
+
"text": "ElementInternals['role']"
|
|
129924
129926
|
},
|
|
129925
|
-
"
|
|
129927
|
+
"privacy": "public",
|
|
129928
|
+
"static": true,
|
|
129929
|
+
"readonly": true,
|
|
129930
|
+
"default": "'button'",
|
|
129926
129931
|
"inheritedFrom": {
|
|
129927
|
-
"name": "
|
|
129928
|
-
"module": "
|
|
129932
|
+
"name": "SbbButtonLikeBaseElement",
|
|
129933
|
+
"module": "core/base-elements/button-base-element.js"
|
|
129929
129934
|
}
|
|
129930
129935
|
},
|
|
129931
129936
|
{
|
|
129932
|
-
"kind": "
|
|
129933
|
-
"name": "
|
|
129934
|
-
"privacy": "
|
|
129935
|
-
"
|
|
129936
|
-
|
|
129937
|
-
|
|
129937
|
+
"kind": "field",
|
|
129938
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
129939
|
+
"privacy": "private",
|
|
129940
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
129941
|
+
"parameters": [
|
|
129942
|
+
{
|
|
129943
|
+
"description": "The origin event.",
|
|
129944
|
+
"name": "event"
|
|
129938
129945
|
}
|
|
129939
|
-
|
|
129940
|
-
"description": "Manually clears the input value. It only works for inputs, selects are not supported.",
|
|
129946
|
+
],
|
|
129941
129947
|
"inheritedFrom": {
|
|
129942
|
-
"name": "
|
|
129943
|
-
"module": "
|
|
129948
|
+
"name": "SbbButtonLikeBaseElement",
|
|
129949
|
+
"module": "core/base-elements/button-base-element.js"
|
|
129944
129950
|
}
|
|
129945
129951
|
},
|
|
129946
129952
|
{
|
|
129947
|
-
"kind": "
|
|
129948
|
-
"name": "
|
|
129953
|
+
"kind": "field",
|
|
129954
|
+
"name": "_removeActiveMarker",
|
|
129949
129955
|
"privacy": "private",
|
|
129950
|
-
"
|
|
129951
|
-
"
|
|
129952
|
-
|
|
129956
|
+
"inheritedFrom": {
|
|
129957
|
+
"name": "SbbButtonLikeBaseElement",
|
|
129958
|
+
"module": "core/base-elements/button-base-element.js"
|
|
129959
|
+
}
|
|
129960
|
+
},
|
|
129961
|
+
{
|
|
129962
|
+
"kind": "field",
|
|
129963
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
129964
|
+
"privacy": "private",
|
|
129965
|
+
"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.",
|
|
129966
|
+
"parameters": [
|
|
129967
|
+
{
|
|
129968
|
+
"description": "The origin event.",
|
|
129969
|
+
"name": "event"
|
|
129953
129970
|
}
|
|
129971
|
+
],
|
|
129972
|
+
"inheritedFrom": {
|
|
129973
|
+
"name": "SbbButtonLikeBaseElement",
|
|
129974
|
+
"module": "core/base-elements/button-base-element.js"
|
|
129975
|
+
}
|
|
129976
|
+
},
|
|
129977
|
+
{
|
|
129978
|
+
"kind": "field",
|
|
129979
|
+
"name": "_dispatchClickEvent",
|
|
129980
|
+
"privacy": "private",
|
|
129981
|
+
"inheritedFrom": {
|
|
129982
|
+
"name": "SbbButtonLikeBaseElement",
|
|
129983
|
+
"module": "core/base-elements/button-base-element.js"
|
|
129984
|
+
}
|
|
129985
|
+
},
|
|
129986
|
+
{
|
|
129987
|
+
"kind": "field",
|
|
129988
|
+
"name": "maybeDisabled",
|
|
129989
|
+
"type": {
|
|
129990
|
+
"text": "boolean | undefined"
|
|
129954
129991
|
},
|
|
129992
|
+
"privacy": "protected",
|
|
129993
|
+
"readonly": true,
|
|
129955
129994
|
"inheritedFrom": {
|
|
129956
|
-
"name": "
|
|
129957
|
-
"module": "
|
|
129995
|
+
"name": "SbbActionBaseElement",
|
|
129996
|
+
"module": "core/base-elements/action-base-element.js"
|
|
129997
|
+
}
|
|
129998
|
+
},
|
|
129999
|
+
{
|
|
130000
|
+
"kind": "field",
|
|
130001
|
+
"name": "maybeDisabledInteractive",
|
|
130002
|
+
"type": {
|
|
130003
|
+
"text": "boolean | undefined"
|
|
130004
|
+
},
|
|
130005
|
+
"privacy": "protected",
|
|
130006
|
+
"readonly": true,
|
|
130007
|
+
"inheritedFrom": {
|
|
130008
|
+
"name": "SbbActionBaseElement",
|
|
130009
|
+
"module": "core/base-elements/action-base-element.js"
|
|
129958
130010
|
}
|
|
129959
130011
|
},
|
|
129960
130012
|
{
|
|
129961
130013
|
"kind": "method",
|
|
129962
|
-
"name": "
|
|
129963
|
-
"privacy": "
|
|
130014
|
+
"name": "setupBaseEventHandlers",
|
|
130015
|
+
"privacy": "protected",
|
|
129964
130016
|
"return": {
|
|
129965
130017
|
"type": {
|
|
129966
130018
|
"text": "void"
|
|
129967
130019
|
}
|
|
129968
130020
|
},
|
|
129969
130021
|
"inheritedFrom": {
|
|
129970
|
-
"name": "
|
|
129971
|
-
"module": "
|
|
130022
|
+
"name": "SbbActionBaseElement",
|
|
130023
|
+
"module": "core/base-elements/action-base-element.js"
|
|
129972
130024
|
}
|
|
129973
130025
|
},
|
|
129974
130026
|
{
|
|
@@ -130077,184 +130129,184 @@
|
|
|
130077
130129
|
}
|
|
130078
130130
|
}
|
|
130079
130131
|
],
|
|
130080
|
-
"
|
|
130081
|
-
"name": "SbbFormFieldElement",
|
|
130082
|
-
"module": "form-field.pure.js"
|
|
130083
|
-
},
|
|
130084
|
-
"tagName": "sbb-timetable-form-field",
|
|
130085
|
-
"customElement": true,
|
|
130086
|
-
"attributes": [
|
|
130132
|
+
"events": [
|
|
130087
130133
|
{
|
|
130088
|
-
"name": "negative",
|
|
130089
130134
|
"type": {
|
|
130090
|
-
"text": "
|
|
130135
|
+
"text": "Event"
|
|
130091
130136
|
},
|
|
130092
|
-
"
|
|
130093
|
-
"
|
|
130094
|
-
"fieldName": "negative",
|
|
130095
|
-
"inheritedFrom": {
|
|
130096
|
-
"name": "SbbNegativeMixin",
|
|
130097
|
-
"module": "core/mixins/negative-mixin.js"
|
|
130098
|
-
}
|
|
130137
|
+
"description": "The change event is fired on the associated inputs when the user modifies the element's value. Unlike the input event, the change event is not necessarily fired for each alteration to an element's value.",
|
|
130138
|
+
"name": "change"
|
|
130099
130139
|
},
|
|
130100
130140
|
{
|
|
130101
|
-
"name": "error-space",
|
|
130102
130141
|
"type": {
|
|
130103
|
-
"text": "
|
|
130142
|
+
"text": "InputEvent"
|
|
130104
130143
|
},
|
|
130105
|
-
"
|
|
130106
|
-
"
|
|
130107
|
-
|
|
130108
|
-
|
|
130109
|
-
|
|
130110
|
-
|
|
130111
|
-
|
|
130112
|
-
|
|
130144
|
+
"description": "The input event fires on the associated inputs when the value has been changed as a direct result of a user action.",
|
|
130145
|
+
"name": "input"
|
|
130146
|
+
}
|
|
130147
|
+
],
|
|
130148
|
+
"superclass": {
|
|
130149
|
+
"name": "SbbSecondaryButtonElement",
|
|
130150
|
+
"module": "button.pure.js"
|
|
130151
|
+
},
|
|
130152
|
+
"tagName": "sbb-timetable-form-swap-button",
|
|
130153
|
+
"customElement": true,
|
|
130154
|
+
"attributes": [
|
|
130113
130155
|
{
|
|
130114
|
-
"name": "
|
|
130156
|
+
"name": "size",
|
|
130115
130157
|
"type": {
|
|
130116
|
-
"text": "
|
|
130158
|
+
"text": "SbbButtonSize"
|
|
130117
130159
|
},
|
|
130118
|
-
"
|
|
130119
|
-
"
|
|
130120
|
-
"
|
|
130121
|
-
"fieldName": "optional",
|
|
130160
|
+
"description": "Size variant, either l, m or s.",
|
|
130161
|
+
"default": "'l' / 's' (lean)",
|
|
130162
|
+
"fieldName": "size",
|
|
130122
130163
|
"inheritedFrom": {
|
|
130123
|
-
"name": "
|
|
130124
|
-
"module": "
|
|
130164
|
+
"name": "SbbButtonCommonElementMixin",
|
|
130165
|
+
"module": "button/common/button-common.js"
|
|
130125
130166
|
}
|
|
130126
130167
|
},
|
|
130127
130168
|
{
|
|
130128
|
-
"name": "
|
|
130169
|
+
"name": "loading",
|
|
130129
130170
|
"type": {
|
|
130130
|
-
"text": "
|
|
130171
|
+
"text": "boolean"
|
|
130131
130172
|
},
|
|
130132
|
-
"
|
|
130133
|
-
"
|
|
130134
|
-
"fieldName": "
|
|
130173
|
+
"default": "false",
|
|
130174
|
+
"description": "Whether the button indicates a loading state.\nThe animation kicks in after a delay of 300ms, configurable with --sbb-button-loading-delay CSS variable.",
|
|
130175
|
+
"fieldName": "loading",
|
|
130135
130176
|
"inheritedFrom": {
|
|
130136
|
-
"name": "
|
|
130137
|
-
"module": "
|
|
130177
|
+
"name": "SbbButtonCommonElementMixin",
|
|
130178
|
+
"module": "button/common/button-common.js"
|
|
130138
130179
|
}
|
|
130139
130180
|
},
|
|
130140
130181
|
{
|
|
130141
|
-
"name": "
|
|
130182
|
+
"name": "negative",
|
|
130142
130183
|
"type": {
|
|
130143
130184
|
"text": "boolean"
|
|
130144
130185
|
},
|
|
130145
130186
|
"default": "false",
|
|
130146
|
-
"description": "
|
|
130147
|
-
"fieldName": "
|
|
130187
|
+
"description": "Negative coloring variant flag.",
|
|
130188
|
+
"fieldName": "negative",
|
|
130148
130189
|
"inheritedFrom": {
|
|
130149
|
-
"name": "
|
|
130150
|
-
"module": "
|
|
130190
|
+
"name": "SbbNegativeMixin",
|
|
130191
|
+
"module": "core/mixins/negative-mixin.js"
|
|
130151
130192
|
}
|
|
130152
130193
|
},
|
|
130153
130194
|
{
|
|
130154
|
-
"name": "
|
|
130195
|
+
"name": "icon-name",
|
|
130155
130196
|
"type": {
|
|
130156
|
-
"text": "
|
|
130197
|
+
"text": "string"
|
|
130157
130198
|
},
|
|
130158
|
-
"default": "'
|
|
130159
|
-
"description": "
|
|
130160
|
-
"fieldName": "
|
|
130199
|
+
"default": "''",
|
|
130200
|
+
"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.",
|
|
130201
|
+
"fieldName": "iconName",
|
|
130161
130202
|
"inheritedFrom": {
|
|
130162
|
-
"name": "
|
|
130163
|
-
"module": "
|
|
130203
|
+
"name": "SbbIconNameMixin",
|
|
130204
|
+
"module": "icon/icon-name-mixin.js"
|
|
130164
130205
|
}
|
|
130165
130206
|
},
|
|
130166
130207
|
{
|
|
130167
|
-
"name": "
|
|
130208
|
+
"name": "disabled-interactive",
|
|
130168
130209
|
"type": {
|
|
130169
130210
|
"text": "boolean"
|
|
130170
130211
|
},
|
|
130171
130212
|
"default": "false",
|
|
130172
|
-
"description": "Whether
|
|
130173
|
-
"fieldName": "
|
|
130213
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
130214
|
+
"fieldName": "disabledInteractive",
|
|
130174
130215
|
"inheritedFrom": {
|
|
130175
|
-
"name": "
|
|
130176
|
-
"module": "
|
|
130216
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
130217
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
130177
130218
|
}
|
|
130178
130219
|
},
|
|
130179
130220
|
{
|
|
130180
|
-
"name": "
|
|
130221
|
+
"name": "disabled",
|
|
130222
|
+
"description": "Whether the component is disabled.",
|
|
130223
|
+
"default": "false",
|
|
130181
130224
|
"type": {
|
|
130182
130225
|
"text": "boolean"
|
|
130183
130226
|
},
|
|
130184
|
-
"
|
|
130185
|
-
"description": "Whether the label should float. If activated, the placeholder of the input is hidden.",
|
|
130186
|
-
"fieldName": "floatingLabel",
|
|
130227
|
+
"fieldName": "disabled",
|
|
130187
130228
|
"inheritedFrom": {
|
|
130188
|
-
"name": "
|
|
130189
|
-
"module": "
|
|
130229
|
+
"name": "SbbDisabledMixin",
|
|
130230
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
130190
130231
|
}
|
|
130191
|
-
}
|
|
130192
|
-
],
|
|
130193
|
-
"slots": [
|
|
130232
|
+
},
|
|
130194
130233
|
{
|
|
130195
|
-
"
|
|
130196
|
-
"
|
|
130234
|
+
"name": "value",
|
|
130235
|
+
"type": {
|
|
130236
|
+
"text": "string"
|
|
130237
|
+
},
|
|
130238
|
+
"default": "''",
|
|
130239
|
+
"description": "Value of the form element.",
|
|
130240
|
+
"fieldName": "value",
|
|
130197
130241
|
"inheritedFrom": {
|
|
130198
|
-
"name": "
|
|
130199
|
-
"module": "
|
|
130242
|
+
"name": "SbbButtonBaseElement",
|
|
130243
|
+
"module": "core/base-elements/button-base-element.js"
|
|
130200
130244
|
}
|
|
130201
130245
|
},
|
|
130202
130246
|
{
|
|
130203
|
-
"
|
|
130204
|
-
"
|
|
130247
|
+
"name": "type",
|
|
130248
|
+
"description": "The type attribute to use for the button.",
|
|
130249
|
+
"default": "'button'",
|
|
130250
|
+
"type": {
|
|
130251
|
+
"text": "SbbButtonType"
|
|
130252
|
+
},
|
|
130253
|
+
"fieldName": "type",
|
|
130205
130254
|
"inheritedFrom": {
|
|
130206
|
-
"name": "
|
|
130207
|
-
"module": "
|
|
130255
|
+
"name": "SbbButtonBaseElement",
|
|
130256
|
+
"module": "core/base-elements/button-base-element.js"
|
|
130208
130257
|
}
|
|
130209
130258
|
},
|
|
130210
130259
|
{
|
|
130211
|
-
"
|
|
130212
|
-
"
|
|
130260
|
+
"name": "form",
|
|
130261
|
+
"description": "The `<form>` element to associate the button with.",
|
|
130262
|
+
"type": {
|
|
130263
|
+
"text": "HTMLFormElement | null"
|
|
130264
|
+
},
|
|
130265
|
+
"fieldName": "form",
|
|
130213
130266
|
"inheritedFrom": {
|
|
130214
|
-
"name": "
|
|
130215
|
-
"module": "
|
|
130267
|
+
"name": "SbbButtonBaseElement",
|
|
130268
|
+
"module": "core/base-elements/button-base-element.js"
|
|
130216
130269
|
}
|
|
130217
130270
|
},
|
|
130218
130271
|
{
|
|
130219
|
-
"
|
|
130220
|
-
"
|
|
130272
|
+
"name": "name",
|
|
130273
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
130274
|
+
"type": {
|
|
130275
|
+
"text": "string"
|
|
130276
|
+
},
|
|
130277
|
+
"fieldName": "name",
|
|
130221
130278
|
"inheritedFrom": {
|
|
130222
|
-
"name": "
|
|
130223
|
-
"module": "
|
|
130279
|
+
"name": "SbbFormAssociatedMixin",
|
|
130280
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
130224
130281
|
}
|
|
130225
|
-
}
|
|
130282
|
+
}
|
|
130283
|
+
],
|
|
130284
|
+
"slots": [
|
|
130226
130285
|
{
|
|
130227
|
-
"description": "Use
|
|
130228
|
-
"name": "
|
|
130286
|
+
"description": "Use the unnamed slot to add content to the secondary-button.",
|
|
130287
|
+
"name": "",
|
|
130229
130288
|
"inheritedFrom": {
|
|
130230
|
-
"name": "
|
|
130231
|
-
"module": "
|
|
130289
|
+
"name": "SbbSecondaryButtonElement",
|
|
130290
|
+
"module": "button/secondary-button/secondary-button.component.js"
|
|
130232
130291
|
}
|
|
130233
130292
|
},
|
|
130234
130293
|
{
|
|
130235
|
-
"description": "
|
|
130236
|
-
"name": "
|
|
130294
|
+
"description": "Slot used to display the icon, if one is set.",
|
|
130295
|
+
"name": "icon",
|
|
130237
130296
|
"inheritedFrom": {
|
|
130238
|
-
"name": "
|
|
130239
|
-
"module": "
|
|
130297
|
+
"name": "SbbSecondaryButtonElement",
|
|
130298
|
+
"module": "button/secondary-button/secondary-button.component.js"
|
|
130240
130299
|
}
|
|
130241
130300
|
}
|
|
130242
130301
|
],
|
|
130243
130302
|
"cssProperties": [
|
|
130244
130303
|
{
|
|
130245
|
-
"description": "
|
|
130246
|
-
"name": "--sbb-
|
|
130247
|
-
"
|
|
130248
|
-
"name": "SbbFormFieldElement",
|
|
130249
|
-
"module": "form-field/form-field/form-field.component.js"
|
|
130250
|
-
}
|
|
130251
|
-
},
|
|
130252
|
-
{
|
|
130253
|
-
"description": "To override the z-index of the focus underline effect,",
|
|
130254
|
-
"name": "--sbb-form-field-focus-underline-z-index",
|
|
130304
|
+
"description": "The delay before the loading animation starts, when setting the button into loading state.",
|
|
130305
|
+
"name": "--sbb-button-loading-delay",
|
|
130306
|
+
"default": "300ms",
|
|
130255
130307
|
"inheritedFrom": {
|
|
130256
|
-
"name": "
|
|
130257
|
-
"module": "
|
|
130308
|
+
"name": "SbbSecondaryButtonElement",
|
|
130309
|
+
"module": "button/secondary-button/secondary-button.component.js"
|
|
130258
130310
|
}
|
|
130259
130311
|
}
|
|
130260
130312
|
]
|
|
@@ -130263,22 +130315,22 @@
|
|
|
130263
130315
|
"exports": [
|
|
130264
130316
|
{
|
|
130265
130317
|
"kind": "js",
|
|
130266
|
-
"name": "
|
|
130318
|
+
"name": "SbbTimetableFormSwapButtonElement",
|
|
130267
130319
|
"declaration": {
|
|
130268
|
-
"name": "
|
|
130269
|
-
"module": "timetable-form/timetable-form-
|
|
130320
|
+
"name": "SbbTimetableFormSwapButtonElement",
|
|
130321
|
+
"module": "timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.js"
|
|
130270
130322
|
}
|
|
130271
130323
|
}
|
|
130272
130324
|
]
|
|
130273
130325
|
},
|
|
130274
130326
|
{
|
|
130275
130327
|
"kind": "javascript-module",
|
|
130276
|
-
"path": "timetable-form/timetable-form-
|
|
130328
|
+
"path": "timetable-form/timetable-form-field/timetable-form-field.component.js",
|
|
130277
130329
|
"declarations": [
|
|
130278
130330
|
{
|
|
130279
130331
|
"kind": "class",
|
|
130280
|
-
"description": "
|
|
130281
|
-
"name": "
|
|
130332
|
+
"description": "Extends the `sbb-form-field`. Meant to be used inside a `sbb-timetable-form`.",
|
|
130333
|
+
"name": "SbbTimetableFormFieldElement",
|
|
130282
130334
|
"members": [
|
|
130283
130335
|
{
|
|
130284
130336
|
"kind": "field",
|
|
@@ -130289,88 +130341,83 @@
|
|
|
130289
130341
|
"privacy": "public",
|
|
130290
130342
|
"static": true,
|
|
130291
130343
|
"readonly": true,
|
|
130344
|
+
"default": "'sbb-timetable-form-field'",
|
|
130292
130345
|
"inheritedFrom": {
|
|
130293
130346
|
"name": "SbbElement",
|
|
130294
130347
|
"module": "core/base-elements/element.js"
|
|
130295
|
-
}
|
|
130296
|
-
"default": "'sbb-timetable-form-swap-button'"
|
|
130348
|
+
}
|
|
130297
130349
|
},
|
|
130298
130350
|
{
|
|
130299
130351
|
"kind": "field",
|
|
130300
|
-
"name": "
|
|
130301
|
-
"
|
|
130302
|
-
|
|
130303
|
-
},
|
|
130304
|
-
{
|
|
130305
|
-
"kind": "method",
|
|
130306
|
-
"name": "_invertFieldValues",
|
|
130307
|
-
"privacy": "private",
|
|
130308
|
-
"return": {
|
|
130309
|
-
"type": {
|
|
130310
|
-
"text": "void"
|
|
130311
|
-
}
|
|
130352
|
+
"name": "_routeIcon",
|
|
130353
|
+
"type": {
|
|
130354
|
+
"text": "boolean"
|
|
130312
130355
|
},
|
|
130313
|
-
"
|
|
130356
|
+
"privacy": "private",
|
|
130357
|
+
"default": "false"
|
|
130314
130358
|
},
|
|
130315
130359
|
{
|
|
130316
|
-
"kind": "
|
|
130317
|
-
"name": "
|
|
130318
|
-
"
|
|
130319
|
-
|
|
130320
|
-
"type": {
|
|
130321
|
-
"text": "string"
|
|
130322
|
-
}
|
|
130360
|
+
"kind": "field",
|
|
130361
|
+
"name": "borderless",
|
|
130362
|
+
"type": {
|
|
130363
|
+
"text": "boolean"
|
|
130323
130364
|
},
|
|
130365
|
+
"privacy": "public",
|
|
130366
|
+
"default": "true",
|
|
130367
|
+
"description": "Whether to display the form field without a border.",
|
|
130368
|
+
"attribute": "borderless",
|
|
130369
|
+
"reflects": true,
|
|
130324
130370
|
"inheritedFrom": {
|
|
130325
|
-
"name": "
|
|
130326
|
-
"module": "
|
|
130371
|
+
"name": "SbbFormFieldElement",
|
|
130372
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
130327
130373
|
}
|
|
130328
130374
|
},
|
|
130329
130375
|
{
|
|
130330
130376
|
"kind": "field",
|
|
130331
|
-
"name": "
|
|
130377
|
+
"name": "floatingLabel",
|
|
130332
130378
|
"type": {
|
|
130333
|
-
"text": "
|
|
130379
|
+
"text": "boolean"
|
|
130334
130380
|
},
|
|
130335
130381
|
"privacy": "public",
|
|
130336
|
-
"
|
|
130337
|
-
"
|
|
130338
|
-
"attribute": "
|
|
130382
|
+
"default": "true",
|
|
130383
|
+
"description": "Whether the label should float. If activated, the placeholder of the input is hidden.",
|
|
130384
|
+
"attribute": "floating-label",
|
|
130339
130385
|
"reflects": true,
|
|
130340
130386
|
"inheritedFrom": {
|
|
130341
|
-
"name": "
|
|
130342
|
-
"module": "
|
|
130387
|
+
"name": "SbbFormFieldElement",
|
|
130388
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
130343
130389
|
}
|
|
130344
130390
|
},
|
|
130345
130391
|
{
|
|
130346
130392
|
"kind": "field",
|
|
130347
|
-
"name": "
|
|
130393
|
+
"name": "width",
|
|
130348
130394
|
"type": {
|
|
130349
|
-
"text": "
|
|
130395
|
+
"text": "string"
|
|
130350
130396
|
},
|
|
130351
130397
|
"privacy": "public",
|
|
130352
|
-
"default": "
|
|
130353
|
-
"description": "
|
|
130354
|
-
"attribute": "
|
|
130398
|
+
"default": "'collapse'",
|
|
130399
|
+
"description": "Defines the width of the component:\n- `default`: the component has defined width and min-width;\n- `collapse`: the component adapts itself to its inner input content.",
|
|
130400
|
+
"attribute": "width",
|
|
130355
130401
|
"reflects": true,
|
|
130356
130402
|
"inheritedFrom": {
|
|
130357
|
-
"name": "
|
|
130358
|
-
"module": "
|
|
130403
|
+
"name": "SbbFormFieldElement",
|
|
130404
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
130359
130405
|
}
|
|
130360
130406
|
},
|
|
130361
130407
|
{
|
|
130362
|
-
"kind": "
|
|
130363
|
-
"name": "
|
|
130364
|
-
"
|
|
130365
|
-
|
|
130366
|
-
"type": {
|
|
130367
|
-
"text": "TemplateResult"
|
|
130368
|
-
}
|
|
130408
|
+
"kind": "field",
|
|
130409
|
+
"name": "size",
|
|
130410
|
+
"type": {
|
|
130411
|
+
"text": "string"
|
|
130369
130412
|
},
|
|
130370
|
-
"
|
|
130413
|
+
"privacy": "public",
|
|
130414
|
+
"description": "Size variant, either l, m or s.",
|
|
130415
|
+
"default": "'l'",
|
|
130416
|
+
"attribute": "size",
|
|
130417
|
+
"reflects": true,
|
|
130371
130418
|
"inheritedFrom": {
|
|
130372
|
-
"name": "
|
|
130373
|
-
"module": "
|
|
130419
|
+
"name": "SbbFormFieldElement",
|
|
130420
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
130374
130421
|
}
|
|
130375
130422
|
},
|
|
130376
130423
|
{
|
|
@@ -130391,631 +130438,584 @@
|
|
|
130391
130438
|
},
|
|
130392
130439
|
{
|
|
130393
130440
|
"kind": "field",
|
|
130394
|
-
"name": "
|
|
130441
|
+
"name": "_excludedFocusElements",
|
|
130395
130442
|
"type": {
|
|
130396
|
-
"text": "
|
|
130443
|
+
"text": "array"
|
|
130397
130444
|
},
|
|
130398
|
-
"privacy": "
|
|
130399
|
-
"
|
|
130400
|
-
"
|
|
130401
|
-
"attribute": "icon-name",
|
|
130445
|
+
"privacy": "private",
|
|
130446
|
+
"readonly": true,
|
|
130447
|
+
"default": "['button', 'sbb-popover', 'sbb-option', 'sbb-chip']",
|
|
130402
130448
|
"inheritedFrom": {
|
|
130403
|
-
"name": "
|
|
130404
|
-
"module": "
|
|
130449
|
+
"name": "SbbFormFieldElement",
|
|
130450
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
130405
130451
|
}
|
|
130406
130452
|
},
|
|
130407
130453
|
{
|
|
130408
|
-
"kind": "
|
|
130409
|
-
"name": "
|
|
130410
|
-
"
|
|
130411
|
-
|
|
130412
|
-
"type": {
|
|
130413
|
-
"text": "TemplateResult"
|
|
130414
|
-
}
|
|
130454
|
+
"kind": "field",
|
|
130455
|
+
"name": "_floatingLabelSupportedInputElements",
|
|
130456
|
+
"type": {
|
|
130457
|
+
"text": "array"
|
|
130415
130458
|
},
|
|
130416
|
-
"
|
|
130417
|
-
|
|
130418
|
-
|
|
130419
|
-
"optional": true,
|
|
130420
|
-
"type": {
|
|
130421
|
-
"text": "string"
|
|
130422
|
-
}
|
|
130423
|
-
}
|
|
130424
|
-
],
|
|
130459
|
+
"privacy": "private",
|
|
130460
|
+
"readonly": true,
|
|
130461
|
+
"default": "[ 'input', 'select', 'textarea', 'sbb-select', ]",
|
|
130425
130462
|
"inheritedFrom": {
|
|
130426
|
-
"name": "
|
|
130427
|
-
"module": "
|
|
130463
|
+
"name": "SbbFormFieldElement",
|
|
130464
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
130428
130465
|
}
|
|
130429
130466
|
},
|
|
130430
130467
|
{
|
|
130431
|
-
"kind": "
|
|
130432
|
-
"name": "
|
|
130433
|
-
"
|
|
130434
|
-
|
|
130435
|
-
"type": {
|
|
130436
|
-
"text": "string"
|
|
130437
|
-
}
|
|
130468
|
+
"kind": "field",
|
|
130469
|
+
"name": "_floatingLabelSupportedInputTypes",
|
|
130470
|
+
"type": {
|
|
130471
|
+
"text": "array"
|
|
130438
130472
|
},
|
|
130473
|
+
"privacy": "private",
|
|
130474
|
+
"readonly": true,
|
|
130475
|
+
"default": "[ 'email', 'number', 'password', 'search', 'tel', 'text', 'url', ]",
|
|
130439
130476
|
"inheritedFrom": {
|
|
130440
|
-
"name": "
|
|
130441
|
-
"module": "
|
|
130477
|
+
"name": "SbbFormFieldElement",
|
|
130478
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
130442
130479
|
}
|
|
130443
130480
|
},
|
|
130444
130481
|
{
|
|
130445
130482
|
"kind": "field",
|
|
130446
|
-
"name": "
|
|
130483
|
+
"name": "errorSpace",
|
|
130447
130484
|
"type": {
|
|
130448
|
-
"text": "
|
|
130485
|
+
"text": "'none' | 'reserve'"
|
|
130449
130486
|
},
|
|
130450
130487
|
"privacy": "public",
|
|
130451
|
-
"default": "
|
|
130452
|
-
"description": "Whether
|
|
130453
|
-
"attribute": "
|
|
130488
|
+
"default": "'none'",
|
|
130489
|
+
"description": "Whether to reserve space for an error message, hint or text-counter.\n`none` does not reserve any space.\n`reserve` does reserve one row for an error message.",
|
|
130490
|
+
"attribute": "error-space",
|
|
130454
130491
|
"reflects": true,
|
|
130455
130492
|
"inheritedFrom": {
|
|
130456
|
-
"name": "
|
|
130457
|
-
"module": "
|
|
130493
|
+
"name": "SbbFormFieldElement",
|
|
130494
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
130458
130495
|
}
|
|
130459
130496
|
},
|
|
130460
130497
|
{
|
|
130461
130498
|
"kind": "field",
|
|
130462
|
-
"name": "
|
|
130463
|
-
"privacy": "public",
|
|
130464
|
-
"description": "Whether the component is disabled.",
|
|
130465
|
-
"default": "false",
|
|
130499
|
+
"name": "optional",
|
|
130466
130500
|
"type": {
|
|
130467
130501
|
"text": "boolean"
|
|
130468
130502
|
},
|
|
130469
|
-
"
|
|
130470
|
-
"
|
|
130503
|
+
"privacy": "public",
|
|
130504
|
+
"default": "false",
|
|
130505
|
+
"description": "Indicates whether the input is optional.",
|
|
130506
|
+
"deprecated": "Set the (optional) label text manually. Will be removed with next major version.",
|
|
130507
|
+
"attribute": "optional",
|
|
130471
130508
|
"inheritedFrom": {
|
|
130472
|
-
"name": "
|
|
130473
|
-
"module": "
|
|
130509
|
+
"name": "SbbFormFieldElement",
|
|
130510
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
130474
130511
|
}
|
|
130475
130512
|
},
|
|
130476
130513
|
{
|
|
130477
130514
|
"kind": "field",
|
|
130478
|
-
"name": "
|
|
130479
|
-
"privacy": "private",
|
|
130515
|
+
"name": "hiddenLabel",
|
|
130480
130516
|
"type": {
|
|
130481
130517
|
"text": "boolean"
|
|
130482
130518
|
},
|
|
130519
|
+
"privacy": "public",
|
|
130483
130520
|
"default": "false",
|
|
130521
|
+
"description": "Whether to visually hide the label. If hidden, screen readers will still read it.",
|
|
130522
|
+
"attribute": "hidden-label",
|
|
130523
|
+
"reflects": true,
|
|
130484
130524
|
"inheritedFrom": {
|
|
130485
|
-
"name": "
|
|
130486
|
-
"module": "
|
|
130525
|
+
"name": "SbbFormFieldElement",
|
|
130526
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
130487
130527
|
}
|
|
130488
130528
|
},
|
|
130489
130529
|
{
|
|
130490
|
-
"kind": "
|
|
130491
|
-
"name": "
|
|
130492
|
-
"
|
|
130493
|
-
|
|
130494
|
-
"type": {
|
|
130495
|
-
"text": "boolean"
|
|
130496
|
-
}
|
|
130530
|
+
"kind": "field",
|
|
130531
|
+
"name": "_errorElements",
|
|
130532
|
+
"type": {
|
|
130533
|
+
"text": "Element[]"
|
|
130497
130534
|
},
|
|
130498
|
-
"
|
|
130535
|
+
"privacy": "private",
|
|
130536
|
+
"default": "[]",
|
|
130537
|
+
"description": "It is used internally to get the `error` slot.",
|
|
130499
130538
|
"inheritedFrom": {
|
|
130500
|
-
"name": "
|
|
130501
|
-
"module": "
|
|
130539
|
+
"name": "SbbFormFieldElement",
|
|
130540
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
130502
130541
|
}
|
|
130503
130542
|
},
|
|
130504
130543
|
{
|
|
130505
130544
|
"kind": "field",
|
|
130506
|
-
"name": "
|
|
130545
|
+
"name": "_hintElements",
|
|
130507
130546
|
"type": {
|
|
130508
|
-
"text": "
|
|
130547
|
+
"text": "Element[]"
|
|
130509
130548
|
},
|
|
130510
130549
|
"privacy": "private",
|
|
130511
|
-
"
|
|
130512
|
-
"
|
|
130550
|
+
"default": "[]",
|
|
130551
|
+
"description": "It is used internally to get the `hint` slot.",
|
|
130513
130552
|
"inheritedFrom": {
|
|
130514
|
-
"name": "
|
|
130515
|
-
"module": "
|
|
130553
|
+
"name": "SbbFormFieldElement",
|
|
130554
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
130516
130555
|
}
|
|
130517
130556
|
},
|
|
130518
130557
|
{
|
|
130519
130558
|
"kind": "field",
|
|
130520
|
-
"name": "
|
|
130559
|
+
"name": "_input",
|
|
130521
130560
|
"type": {
|
|
130522
|
-
"text": "
|
|
130561
|
+
"text": "HTMLInputElement | HTMLSelectElement | HTMLElement | null"
|
|
130523
130562
|
},
|
|
130524
|
-
"privacy": "
|
|
130563
|
+
"privacy": "private",
|
|
130564
|
+
"default": "null",
|
|
130565
|
+
"description": "Reference to the slotted input element.",
|
|
130525
130566
|
"inheritedFrom": {
|
|
130526
|
-
"name": "
|
|
130527
|
-
"module": "
|
|
130528
|
-
}
|
|
130529
|
-
"default": "''",
|
|
130530
|
-
"description": "Value of the form element.",
|
|
130531
|
-
"attribute": "value"
|
|
130567
|
+
"name": "SbbFormFieldElement",
|
|
130568
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
130569
|
+
}
|
|
130532
130570
|
},
|
|
130533
130571
|
{
|
|
130534
130572
|
"kind": "field",
|
|
130535
|
-
"name": "
|
|
130536
|
-
"privacy": "public",
|
|
130537
|
-
"description": "The type attribute to use for the button.",
|
|
130538
|
-
"default": "'button'",
|
|
130573
|
+
"name": "_label",
|
|
130539
130574
|
"type": {
|
|
130540
|
-
"text": "
|
|
130575
|
+
"text": "HTMLLabelElement"
|
|
130541
130576
|
},
|
|
130542
|
-
"
|
|
130577
|
+
"privacy": "private",
|
|
130578
|
+
"description": "Reference to the slotted label elements.",
|
|
130543
130579
|
"inheritedFrom": {
|
|
130544
|
-
"name": "
|
|
130545
|
-
"module": "
|
|
130580
|
+
"name": "SbbFormFieldElement",
|
|
130581
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
130546
130582
|
}
|
|
130547
130583
|
},
|
|
130548
130584
|
{
|
|
130549
130585
|
"kind": "field",
|
|
130550
|
-
"name": "
|
|
130586
|
+
"name": "inputElement",
|
|
130551
130587
|
"type": {
|
|
130552
|
-
"text": "
|
|
130588
|
+
"text": "HTMLInputElement | HTMLSelectElement | HTMLElement | null"
|
|
130553
130589
|
},
|
|
130554
130590
|
"privacy": "public",
|
|
130555
|
-
"description": "
|
|
130591
|
+
"description": "Returns the input element.",
|
|
130592
|
+
"readonly": true,
|
|
130556
130593
|
"inheritedFrom": {
|
|
130557
|
-
"name": "
|
|
130558
|
-
"module": "
|
|
130559
|
-
}
|
|
130560
|
-
"attribute": "form"
|
|
130594
|
+
"name": "SbbFormFieldElement",
|
|
130595
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
130596
|
+
}
|
|
130561
130597
|
},
|
|
130562
130598
|
{
|
|
130563
130599
|
"kind": "field",
|
|
130564
|
-
"name": "
|
|
130600
|
+
"name": "label",
|
|
130565
130601
|
"type": {
|
|
130566
|
-
"text": "
|
|
130602
|
+
"text": "HTMLLabelElement | null"
|
|
130567
130603
|
},
|
|
130568
|
-
"privacy": "
|
|
130569
|
-
"
|
|
130604
|
+
"privacy": "public",
|
|
130605
|
+
"description": "Reference to the slotted label.",
|
|
130606
|
+
"readonly": true,
|
|
130570
130607
|
"inheritedFrom": {
|
|
130571
|
-
"name": "
|
|
130572
|
-
"module": "
|
|
130608
|
+
"name": "SbbFormFieldElement",
|
|
130609
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
130573
130610
|
}
|
|
130574
130611
|
},
|
|
130575
130612
|
{
|
|
130576
130613
|
"kind": "field",
|
|
130577
|
-
"name": "
|
|
130614
|
+
"name": "_language",
|
|
130578
130615
|
"privacy": "private",
|
|
130616
|
+
"default": "new SbbLanguageController(this)",
|
|
130579
130617
|
"inheritedFrom": {
|
|
130580
|
-
"name": "
|
|
130581
|
-
"module": "
|
|
130618
|
+
"name": "SbbFormFieldElement",
|
|
130619
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
130582
130620
|
}
|
|
130583
130621
|
},
|
|
130584
130622
|
{
|
|
130585
|
-
"kind": "
|
|
130586
|
-
"name": "
|
|
130623
|
+
"kind": "field",
|
|
130624
|
+
"name": "_formFieldAttributeObserver",
|
|
130587
130625
|
"privacy": "private",
|
|
130588
|
-
"
|
|
130589
|
-
"type": {
|
|
130590
|
-
"text": "void"
|
|
130591
|
-
}
|
|
130592
|
-
},
|
|
130593
|
-
"parameters": [
|
|
130594
|
-
{
|
|
130595
|
-
"name": "form",
|
|
130596
|
-
"type": {
|
|
130597
|
-
"text": "HTMLFormElement"
|
|
130598
|
-
}
|
|
130599
|
-
}
|
|
130600
|
-
],
|
|
130626
|
+
"description": "Listens to the changes on `readonly` and `disabled` attributes of `<input>`.",
|
|
130601
130627
|
"inheritedFrom": {
|
|
130602
|
-
"name": "
|
|
130603
|
-
"module": "
|
|
130628
|
+
"name": "SbbFormFieldElement",
|
|
130629
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
130604
130630
|
}
|
|
130605
130631
|
},
|
|
130606
130632
|
{
|
|
130607
130633
|
"kind": "field",
|
|
130608
|
-
"name": "
|
|
130634
|
+
"name": "_inputFormAbortController",
|
|
130609
130635
|
"privacy": "private",
|
|
130636
|
+
"default": "new AbortController()",
|
|
130610
130637
|
"inheritedFrom": {
|
|
130611
|
-
"name": "
|
|
130612
|
-
"module": "
|
|
130638
|
+
"name": "SbbFormFieldElement",
|
|
130639
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
130613
130640
|
}
|
|
130614
130641
|
},
|
|
130615
130642
|
{
|
|
130616
130643
|
"kind": "field",
|
|
130617
|
-
"name": "
|
|
130644
|
+
"name": "_control",
|
|
130618
130645
|
"type": {
|
|
130619
|
-
"text": "
|
|
130646
|
+
"text": "SbbFormFieldElementControl | null"
|
|
130620
130647
|
},
|
|
130621
|
-
"privacy": "
|
|
130622
|
-
"
|
|
130623
|
-
"default": "true",
|
|
130648
|
+
"privacy": "private",
|
|
130649
|
+
"default": "null",
|
|
130624
130650
|
"inheritedFrom": {
|
|
130625
|
-
"name": "
|
|
130626
|
-
"module": "
|
|
130651
|
+
"name": "SbbFormFieldElement",
|
|
130652
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
130627
130653
|
}
|
|
130628
130654
|
},
|
|
130629
130655
|
{
|
|
130630
130656
|
"kind": "field",
|
|
130631
|
-
"name": "
|
|
130632
|
-
"privacy": "public",
|
|
130633
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
130657
|
+
"name": "_previousType",
|
|
130634
130658
|
"type": {
|
|
130635
|
-
"text": "string"
|
|
130659
|
+
"text": "string | null"
|
|
130636
130660
|
},
|
|
130637
|
-
"
|
|
130661
|
+
"privacy": "private",
|
|
130662
|
+
"default": "null",
|
|
130638
130663
|
"inheritedFrom": {
|
|
130639
|
-
"name": "
|
|
130640
|
-
"module": "
|
|
130664
|
+
"name": "SbbFormFieldElement",
|
|
130665
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
130641
130666
|
}
|
|
130642
130667
|
},
|
|
130643
130668
|
{
|
|
130644
|
-
"kind": "
|
|
130645
|
-
"name": "
|
|
130646
|
-
"
|
|
130647
|
-
|
|
130669
|
+
"kind": "method",
|
|
130670
|
+
"name": "_handleWrapperClick",
|
|
130671
|
+
"privacy": "private",
|
|
130672
|
+
"return": {
|
|
130673
|
+
"type": {
|
|
130674
|
+
"text": "void"
|
|
130675
|
+
}
|
|
130648
130676
|
},
|
|
130649
|
-
"
|
|
130650
|
-
|
|
130651
|
-
|
|
130677
|
+
"parameters": [
|
|
130678
|
+
{
|
|
130679
|
+
"name": "event",
|
|
130680
|
+
"type": {
|
|
130681
|
+
"text": "MouseEvent"
|
|
130682
|
+
}
|
|
130683
|
+
}
|
|
130684
|
+
],
|
|
130652
130685
|
"inheritedFrom": {
|
|
130653
|
-
"name": "
|
|
130654
|
-
"module": "
|
|
130686
|
+
"name": "SbbFormFieldElement",
|
|
130687
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
130655
130688
|
}
|
|
130656
130689
|
},
|
|
130657
130690
|
{
|
|
130658
|
-
"kind": "
|
|
130659
|
-
"name": "
|
|
130660
|
-
"
|
|
130661
|
-
|
|
130691
|
+
"kind": "method",
|
|
130692
|
+
"name": "_isElementFocusExcluded",
|
|
130693
|
+
"privacy": "private",
|
|
130694
|
+
"return": {
|
|
130695
|
+
"type": {
|
|
130696
|
+
"text": "boolean"
|
|
130697
|
+
}
|
|
130662
130698
|
},
|
|
130663
|
-
"
|
|
130664
|
-
|
|
130665
|
-
|
|
130699
|
+
"parameters": [
|
|
130700
|
+
{
|
|
130701
|
+
"name": "event",
|
|
130702
|
+
"type": {
|
|
130703
|
+
"text": "Event"
|
|
130704
|
+
}
|
|
130705
|
+
}
|
|
130706
|
+
],
|
|
130666
130707
|
"inheritedFrom": {
|
|
130667
|
-
"name": "
|
|
130668
|
-
"module": "
|
|
130708
|
+
"name": "SbbFormFieldElement",
|
|
130709
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
130669
130710
|
}
|
|
130670
130711
|
},
|
|
130671
130712
|
{
|
|
130672
|
-
"kind": "
|
|
130673
|
-
"name": "
|
|
130674
|
-
"
|
|
130675
|
-
|
|
130713
|
+
"kind": "method",
|
|
130714
|
+
"name": "_onSlotLabelChange",
|
|
130715
|
+
"privacy": "private",
|
|
130716
|
+
"return": {
|
|
130717
|
+
"type": {
|
|
130718
|
+
"text": "void"
|
|
130719
|
+
}
|
|
130676
130720
|
},
|
|
130677
|
-
"privacy": "public",
|
|
130678
|
-
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
130679
|
-
"readonly": true,
|
|
130680
130721
|
"inheritedFrom": {
|
|
130681
|
-
"name": "
|
|
130682
|
-
"module": "
|
|
130722
|
+
"name": "SbbFormFieldElement",
|
|
130723
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
130683
130724
|
}
|
|
130684
130725
|
},
|
|
130685
130726
|
{
|
|
130686
|
-
"kind": "
|
|
130687
|
-
"name": "
|
|
130727
|
+
"kind": "method",
|
|
130728
|
+
"name": "_onSlotInputChange",
|
|
130688
130729
|
"privacy": "private",
|
|
130689
|
-
"
|
|
130730
|
+
"return": {
|
|
130731
|
+
"type": {
|
|
130732
|
+
"text": "void"
|
|
130733
|
+
}
|
|
130734
|
+
},
|
|
130735
|
+
"description": "It is used internally to assign the attributes of `<input>` to `_id` and `_input` and to observe the native readonly and disabled attributes.",
|
|
130690
130736
|
"inheritedFrom": {
|
|
130691
|
-
"name": "
|
|
130692
|
-
"module": "
|
|
130737
|
+
"name": "SbbFormFieldElement",
|
|
130738
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
130693
130739
|
}
|
|
130694
130740
|
},
|
|
130695
130741
|
{
|
|
130696
|
-
"kind": "
|
|
130697
|
-
"name": "
|
|
130698
|
-
"
|
|
130699
|
-
|
|
130742
|
+
"kind": "method",
|
|
130743
|
+
"name": "_assignSlots",
|
|
130744
|
+
"privacy": "private",
|
|
130745
|
+
"return": {
|
|
130746
|
+
"type": {
|
|
130747
|
+
"text": "void"
|
|
130748
|
+
}
|
|
130700
130749
|
},
|
|
130701
|
-
"privacy": "protected",
|
|
130702
|
-
"default": "false",
|
|
130703
|
-
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
130704
130750
|
"inheritedFrom": {
|
|
130705
|
-
"name": "
|
|
130706
|
-
"module": "
|
|
130751
|
+
"name": "SbbFormFieldElement",
|
|
130752
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
130707
130753
|
}
|
|
130708
130754
|
},
|
|
130709
130755
|
{
|
|
130710
130756
|
"kind": "method",
|
|
130711
|
-
"name": "
|
|
130712
|
-
"privacy": "
|
|
130757
|
+
"name": "_connectInputElement",
|
|
130758
|
+
"privacy": "private",
|
|
130713
130759
|
"return": {
|
|
130714
130760
|
"type": {
|
|
130715
|
-
"text": "
|
|
130761
|
+
"text": "'changed' | 'no-input' | 'unchanged'"
|
|
130716
130762
|
}
|
|
130717
130763
|
},
|
|
130718
|
-
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
130719
130764
|
"inheritedFrom": {
|
|
130720
|
-
"name": "
|
|
130721
|
-
"module": "
|
|
130765
|
+
"name": "SbbFormFieldElement",
|
|
130766
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
130722
130767
|
}
|
|
130723
130768
|
},
|
|
130724
130769
|
{
|
|
130725
130770
|
"kind": "method",
|
|
130726
|
-
"name": "
|
|
130727
|
-
"privacy": "
|
|
130771
|
+
"name": "_syncLabelInputReferences",
|
|
130772
|
+
"privacy": "private",
|
|
130728
130773
|
"return": {
|
|
130729
130774
|
"type": {
|
|
130730
|
-
"text": "
|
|
130775
|
+
"text": "void"
|
|
130731
130776
|
}
|
|
130732
130777
|
},
|
|
130733
|
-
"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.",
|
|
130734
130778
|
"inheritedFrom": {
|
|
130735
|
-
"name": "
|
|
130736
|
-
"module": "
|
|
130779
|
+
"name": "SbbFormFieldElement",
|
|
130780
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
130737
130781
|
}
|
|
130738
130782
|
},
|
|
130739
130783
|
{
|
|
130740
130784
|
"kind": "method",
|
|
130741
|
-
"name": "
|
|
130742
|
-
"privacy": "
|
|
130785
|
+
"name": "_isInputElement",
|
|
130786
|
+
"privacy": "private",
|
|
130743
130787
|
"return": {
|
|
130744
130788
|
"type": {
|
|
130745
|
-
"text": "
|
|
130789
|
+
"text": "boolean"
|
|
130746
130790
|
}
|
|
130747
130791
|
},
|
|
130748
130792
|
"parameters": [
|
|
130749
130793
|
{
|
|
130750
|
-
"name": "
|
|
130794
|
+
"name": "input",
|
|
130751
130795
|
"type": {
|
|
130752
|
-
"text": "
|
|
130796
|
+
"text": "Element"
|
|
130753
130797
|
}
|
|
130754
130798
|
}
|
|
130755
130799
|
],
|
|
130756
|
-
"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.",
|
|
130757
130800
|
"inheritedFrom": {
|
|
130758
|
-
"name": "
|
|
130759
|
-
"module": "
|
|
130801
|
+
"name": "SbbFormFieldElement",
|
|
130802
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
130760
130803
|
}
|
|
130761
130804
|
},
|
|
130762
130805
|
{
|
|
130763
130806
|
"kind": "method",
|
|
130764
|
-
"name": "
|
|
130807
|
+
"name": "_readInputState",
|
|
130765
130808
|
"privacy": "private",
|
|
130766
130809
|
"return": {
|
|
130767
130810
|
"type": {
|
|
130768
|
-
"text": "
|
|
130811
|
+
"text": "void"
|
|
130769
130812
|
}
|
|
130770
130813
|
},
|
|
130771
130814
|
"inheritedFrom": {
|
|
130772
|
-
"name": "
|
|
130773
|
-
"module": "
|
|
130815
|
+
"name": "SbbFormFieldElement",
|
|
130816
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
130774
130817
|
}
|
|
130775
130818
|
},
|
|
130776
130819
|
{
|
|
130777
130820
|
"kind": "method",
|
|
130778
|
-
"name": "
|
|
130779
|
-
"privacy": "
|
|
130821
|
+
"name": "_registerInputFormListener",
|
|
130822
|
+
"privacy": "private",
|
|
130780
130823
|
"return": {
|
|
130781
130824
|
"type": {
|
|
130782
130825
|
"text": "void"
|
|
130783
130826
|
}
|
|
130784
130827
|
},
|
|
130785
|
-
"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",
|
|
130786
130828
|
"inheritedFrom": {
|
|
130787
|
-
"name": "
|
|
130788
|
-
"module": "
|
|
130829
|
+
"name": "SbbFormFieldElement",
|
|
130830
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
130789
130831
|
}
|
|
130790
130832
|
},
|
|
130791
130833
|
{
|
|
130792
130834
|
"kind": "method",
|
|
130793
|
-
"name": "
|
|
130794
|
-
"privacy": "
|
|
130835
|
+
"name": "_patchInputValue",
|
|
130836
|
+
"privacy": "private",
|
|
130795
130837
|
"return": {
|
|
130796
130838
|
"type": {
|
|
130797
|
-
"text": "
|
|
130839
|
+
"text": "void"
|
|
130798
130840
|
}
|
|
130799
130841
|
},
|
|
130800
130842
|
"inheritedFrom": {
|
|
130801
|
-
"name": "
|
|
130802
|
-
"module": "
|
|
130843
|
+
"name": "SbbFormFieldElement",
|
|
130844
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
130803
130845
|
}
|
|
130804
130846
|
},
|
|
130805
130847
|
{
|
|
130806
130848
|
"kind": "method",
|
|
130807
|
-
"name": "
|
|
130808
|
-
"privacy": "
|
|
130849
|
+
"name": "_unpatchInputValue",
|
|
130850
|
+
"privacy": "private",
|
|
130809
130851
|
"return": {
|
|
130810
130852
|
"type": {
|
|
130811
130853
|
"text": "void"
|
|
130812
130854
|
}
|
|
130813
130855
|
},
|
|
130814
|
-
"parameters": [
|
|
130815
|
-
{
|
|
130816
|
-
"name": "flag",
|
|
130817
|
-
"type": {
|
|
130818
|
-
"text": "T"
|
|
130819
|
-
}
|
|
130820
|
-
},
|
|
130821
|
-
{
|
|
130822
|
-
"name": "message",
|
|
130823
|
-
"type": {
|
|
130824
|
-
"text": "string"
|
|
130825
|
-
}
|
|
130826
|
-
},
|
|
130827
|
-
{
|
|
130828
|
-
"name": "flagValue",
|
|
130829
|
-
"optional": true,
|
|
130830
|
-
"type": {
|
|
130831
|
-
"text": "ValidityStateFlags[T]"
|
|
130832
|
-
}
|
|
130833
|
-
}
|
|
130834
|
-
],
|
|
130835
|
-
"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).",
|
|
130836
130856
|
"inheritedFrom": {
|
|
130837
|
-
"name": "
|
|
130838
|
-
"module": "
|
|
130857
|
+
"name": "SbbFormFieldElement",
|
|
130858
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
130839
130859
|
}
|
|
130840
130860
|
},
|
|
130841
130861
|
{
|
|
130842
130862
|
"kind": "method",
|
|
130843
|
-
"name": "
|
|
130844
|
-
"privacy": "
|
|
130863
|
+
"name": "_checkAndUpdateInputEmpty",
|
|
130864
|
+
"privacy": "private",
|
|
130845
130865
|
"return": {
|
|
130846
130866
|
"type": {
|
|
130847
130867
|
"text": "void"
|
|
130848
130868
|
}
|
|
130849
130869
|
},
|
|
130850
|
-
"parameters": [
|
|
130851
|
-
{
|
|
130852
|
-
"name": "flag",
|
|
130853
|
-
"type": {
|
|
130854
|
-
"text": "T"
|
|
130855
|
-
}
|
|
130856
|
-
}
|
|
130857
|
-
],
|
|
130858
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
130859
130870
|
"inheritedFrom": {
|
|
130860
|
-
"name": "
|
|
130861
|
-
"module": "
|
|
130871
|
+
"name": "SbbFormFieldElement",
|
|
130872
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
130862
130873
|
}
|
|
130863
130874
|
},
|
|
130864
130875
|
{
|
|
130865
130876
|
"kind": "method",
|
|
130866
|
-
"name": "
|
|
130867
|
-
"privacy": "
|
|
130877
|
+
"name": "_isInputEmpty",
|
|
130878
|
+
"privacy": "private",
|
|
130868
130879
|
"return": {
|
|
130869
130880
|
"type": {
|
|
130870
|
-
"text": "
|
|
130881
|
+
"text": "boolean"
|
|
130871
130882
|
}
|
|
130872
130883
|
},
|
|
130873
|
-
"description": "To be called whenever the current element needs to be validated.",
|
|
130874
130884
|
"inheritedFrom": {
|
|
130875
|
-
"name": "
|
|
130876
|
-
"module": "
|
|
130885
|
+
"name": "SbbFormFieldElement",
|
|
130886
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
130877
130887
|
}
|
|
130878
130888
|
},
|
|
130879
130889
|
{
|
|
130880
130890
|
"kind": "method",
|
|
130881
|
-
"name": "
|
|
130882
|
-
"privacy": "
|
|
130891
|
+
"name": "_isInputValueEmpty",
|
|
130892
|
+
"privacy": "private",
|
|
130883
130893
|
"return": {
|
|
130884
130894
|
"type": {
|
|
130885
130895
|
"text": "boolean"
|
|
130886
130896
|
}
|
|
130887
130897
|
},
|
|
130898
|
+
"inheritedFrom": {
|
|
130899
|
+
"name": "SbbFormFieldElement",
|
|
130900
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
130901
|
+
}
|
|
130902
|
+
},
|
|
130903
|
+
{
|
|
130904
|
+
"kind": "method",
|
|
130905
|
+
"name": "_onSlotErrorChange",
|
|
130906
|
+
"privacy": "private",
|
|
130907
|
+
"return": {
|
|
130908
|
+
"type": {
|
|
130909
|
+
"text": "void"
|
|
130910
|
+
}
|
|
130911
|
+
},
|
|
130888
130912
|
"parameters": [
|
|
130889
130913
|
{
|
|
130890
|
-
"name": "
|
|
130914
|
+
"name": "event",
|
|
130891
130915
|
"type": {
|
|
130892
|
-
"text": "
|
|
130916
|
+
"text": "Event"
|
|
130893
130917
|
}
|
|
130894
130918
|
}
|
|
130895
130919
|
],
|
|
130896
|
-
"description": "
|
|
130920
|
+
"description": "It is used internally to set the aria-describedby attribute for the slotted input referencing available <sbb-error> instances.",
|
|
130897
130921
|
"inheritedFrom": {
|
|
130898
|
-
"name": "
|
|
130899
|
-
"module": "
|
|
130922
|
+
"name": "SbbFormFieldElement",
|
|
130923
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
130900
130924
|
}
|
|
130901
130925
|
},
|
|
130902
130926
|
{
|
|
130903
130927
|
"kind": "method",
|
|
130904
|
-
"name": "
|
|
130928
|
+
"name": "_onSlotHintChange",
|
|
130905
130929
|
"privacy": "private",
|
|
130906
130930
|
"return": {
|
|
130907
130931
|
"type": {
|
|
130908
130932
|
"text": "void"
|
|
130909
130933
|
}
|
|
130910
130934
|
},
|
|
130911
|
-
"inheritedFrom": {
|
|
130912
|
-
"name": "SbbFormAssociatedMixin",
|
|
130913
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
130914
|
-
}
|
|
130915
|
-
},
|
|
130916
|
-
{
|
|
130917
|
-
"kind": "field",
|
|
130918
|
-
"name": "role",
|
|
130919
|
-
"type": {
|
|
130920
|
-
"text": "ElementInternals['role']"
|
|
130921
|
-
},
|
|
130922
|
-
"privacy": "public",
|
|
130923
|
-
"static": true,
|
|
130924
|
-
"readonly": true,
|
|
130925
|
-
"default": "'button'",
|
|
130926
|
-
"inheritedFrom": {
|
|
130927
|
-
"name": "SbbButtonLikeBaseElement",
|
|
130928
|
-
"module": "core/base-elements/button-base-element.js"
|
|
130929
|
-
}
|
|
130930
|
-
},
|
|
130931
|
-
{
|
|
130932
|
-
"kind": "field",
|
|
130933
|
-
"name": "_preventScrollOnSpaceKeydown",
|
|
130934
|
-
"privacy": "private",
|
|
130935
|
-
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
130936
130935
|
"parameters": [
|
|
130937
130936
|
{
|
|
130938
|
-
"
|
|
130939
|
-
"
|
|
130937
|
+
"name": "event",
|
|
130938
|
+
"type": {
|
|
130939
|
+
"text": "Event"
|
|
130940
|
+
}
|
|
130940
130941
|
}
|
|
130941
130942
|
],
|
|
130943
|
+
"description": "It is used internally to set the aria-describedby attribute for the slotted input referencing available <sbb-hint> instances.",
|
|
130942
130944
|
"inheritedFrom": {
|
|
130943
|
-
"name": "
|
|
130944
|
-
"module": "
|
|
130945
|
-
}
|
|
130946
|
-
},
|
|
130947
|
-
{
|
|
130948
|
-
"kind": "field",
|
|
130949
|
-
"name": "_removeActiveMarker",
|
|
130950
|
-
"privacy": "private",
|
|
130951
|
-
"inheritedFrom": {
|
|
130952
|
-
"name": "SbbButtonLikeBaseElement",
|
|
130953
|
-
"module": "core/base-elements/button-base-element.js"
|
|
130945
|
+
"name": "SbbFormFieldElement",
|
|
130946
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
130954
130947
|
}
|
|
130955
130948
|
},
|
|
130956
130949
|
{
|
|
130957
|
-
"kind": "
|
|
130958
|
-
"name": "
|
|
130950
|
+
"kind": "method",
|
|
130951
|
+
"name": "_assignAriaDescribedByElements",
|
|
130959
130952
|
"privacy": "private",
|
|
130960
|
-
"
|
|
130961
|
-
|
|
130962
|
-
|
|
130963
|
-
"description": "The origin event.",
|
|
130964
|
-
"name": "event"
|
|
130953
|
+
"return": {
|
|
130954
|
+
"type": {
|
|
130955
|
+
"text": "void"
|
|
130965
130956
|
}
|
|
130966
|
-
|
|
130957
|
+
},
|
|
130967
130958
|
"inheritedFrom": {
|
|
130968
|
-
"name": "
|
|
130969
|
-
"module": "
|
|
130959
|
+
"name": "SbbFormFieldElement",
|
|
130960
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
130970
130961
|
}
|
|
130971
130962
|
},
|
|
130972
130963
|
{
|
|
130973
|
-
"kind": "
|
|
130974
|
-
"name": "
|
|
130975
|
-
"privacy": "
|
|
130976
|
-
"
|
|
130977
|
-
"
|
|
130978
|
-
|
|
130964
|
+
"kind": "method",
|
|
130965
|
+
"name": "reset",
|
|
130966
|
+
"privacy": "public",
|
|
130967
|
+
"return": {
|
|
130968
|
+
"type": {
|
|
130969
|
+
"text": "void"
|
|
130970
|
+
}
|
|
130971
|
+
},
|
|
130972
|
+
"description": "Manually reset the form field. Currently, this only resets the floating label.",
|
|
130973
|
+
"inheritedFrom": {
|
|
130974
|
+
"name": "SbbFormFieldElement",
|
|
130975
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
130979
130976
|
}
|
|
130980
130977
|
},
|
|
130981
130978
|
{
|
|
130982
|
-
"kind": "
|
|
130983
|
-
"name": "
|
|
130984
|
-
"
|
|
130985
|
-
|
|
130979
|
+
"kind": "method",
|
|
130980
|
+
"name": "clear",
|
|
130981
|
+
"privacy": "public",
|
|
130982
|
+
"return": {
|
|
130983
|
+
"type": {
|
|
130984
|
+
"text": "void"
|
|
130985
|
+
}
|
|
130986
130986
|
},
|
|
130987
|
-
"
|
|
130988
|
-
"readonly": true,
|
|
130987
|
+
"description": "Manually clears the input value. It only works for inputs, selects are not supported.",
|
|
130989
130988
|
"inheritedFrom": {
|
|
130990
|
-
"name": "
|
|
130991
|
-
"module": "
|
|
130989
|
+
"name": "SbbFormFieldElement",
|
|
130990
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
130992
130991
|
}
|
|
130993
130992
|
},
|
|
130994
130993
|
{
|
|
130995
|
-
"kind": "
|
|
130996
|
-
"name": "
|
|
130997
|
-
"
|
|
130998
|
-
|
|
130994
|
+
"kind": "method",
|
|
130995
|
+
"name": "_syncNegative",
|
|
130996
|
+
"privacy": "private",
|
|
130997
|
+
"return": {
|
|
130998
|
+
"type": {
|
|
130999
|
+
"text": "void"
|
|
131000
|
+
}
|
|
130999
131001
|
},
|
|
131000
|
-
"privacy": "protected",
|
|
131001
|
-
"readonly": true,
|
|
131002
131002
|
"inheritedFrom": {
|
|
131003
|
-
"name": "
|
|
131004
|
-
"module": "
|
|
131003
|
+
"name": "SbbFormFieldElement",
|
|
131004
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
131005
131005
|
}
|
|
131006
131006
|
},
|
|
131007
131007
|
{
|
|
131008
131008
|
"kind": "method",
|
|
131009
|
-
"name": "
|
|
131010
|
-
"privacy": "
|
|
131009
|
+
"name": "_syncSize",
|
|
131010
|
+
"privacy": "private",
|
|
131011
131011
|
"return": {
|
|
131012
131012
|
"type": {
|
|
131013
131013
|
"text": "void"
|
|
131014
131014
|
}
|
|
131015
131015
|
},
|
|
131016
131016
|
"inheritedFrom": {
|
|
131017
|
-
"name": "
|
|
131018
|
-
"module": "
|
|
131017
|
+
"name": "SbbFormFieldElement",
|
|
131018
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
131019
131019
|
}
|
|
131020
131020
|
},
|
|
131021
131021
|
{
|
|
@@ -131124,55 +131124,13 @@
|
|
|
131124
131124
|
}
|
|
131125
131125
|
}
|
|
131126
131126
|
],
|
|
131127
|
-
"events": [
|
|
131128
|
-
{
|
|
131129
|
-
"type": {
|
|
131130
|
-
"text": "Event"
|
|
131131
|
-
},
|
|
131132
|
-
"description": "The change event is fired on the associated inputs when the user modifies the element's value. Unlike the input event, the change event is not necessarily fired for each alteration to an element's value.",
|
|
131133
|
-
"name": "change"
|
|
131134
|
-
},
|
|
131135
|
-
{
|
|
131136
|
-
"type": {
|
|
131137
|
-
"text": "InputEvent"
|
|
131138
|
-
},
|
|
131139
|
-
"description": "The input event fires on the associated inputs when the value has been changed as a direct result of a user action.",
|
|
131140
|
-
"name": "input"
|
|
131141
|
-
}
|
|
131142
|
-
],
|
|
131143
131127
|
"superclass": {
|
|
131144
|
-
"name": "
|
|
131145
|
-
"module": "
|
|
131128
|
+
"name": "SbbFormFieldElement",
|
|
131129
|
+
"module": "form-field.pure.js"
|
|
131146
131130
|
},
|
|
131147
|
-
"tagName": "sbb-timetable-form-
|
|
131131
|
+
"tagName": "sbb-timetable-form-field",
|
|
131148
131132
|
"customElement": true,
|
|
131149
131133
|
"attributes": [
|
|
131150
|
-
{
|
|
131151
|
-
"name": "size",
|
|
131152
|
-
"type": {
|
|
131153
|
-
"text": "SbbButtonSize"
|
|
131154
|
-
},
|
|
131155
|
-
"description": "Size variant, either l, m or s.",
|
|
131156
|
-
"default": "'l' / 's' (lean)",
|
|
131157
|
-
"fieldName": "size",
|
|
131158
|
-
"inheritedFrom": {
|
|
131159
|
-
"name": "SbbButtonCommonElementMixin",
|
|
131160
|
-
"module": "button/common/button-common.js"
|
|
131161
|
-
}
|
|
131162
|
-
},
|
|
131163
|
-
{
|
|
131164
|
-
"name": "loading",
|
|
131165
|
-
"type": {
|
|
131166
|
-
"text": "boolean"
|
|
131167
|
-
},
|
|
131168
|
-
"default": "false",
|
|
131169
|
-
"description": "Whether the button indicates a loading state.\nThe animation kicks in after a delay of 300ms, configurable with --sbb-button-loading-delay CSS variable.",
|
|
131170
|
-
"fieldName": "loading",
|
|
131171
|
-
"inheritedFrom": {
|
|
131172
|
-
"name": "SbbButtonCommonElementMixin",
|
|
131173
|
-
"module": "button/common/button-common.js"
|
|
131174
|
-
}
|
|
131175
|
-
},
|
|
131176
131134
|
{
|
|
131177
131135
|
"name": "negative",
|
|
131178
131136
|
"type": {
|
|
@@ -131187,121 +131145,163 @@
|
|
|
131187
131145
|
}
|
|
131188
131146
|
},
|
|
131189
131147
|
{
|
|
131190
|
-
"name": "
|
|
131148
|
+
"name": "error-space",
|
|
131191
131149
|
"type": {
|
|
131192
|
-
"text": "
|
|
131150
|
+
"text": "'none' | 'reserve'"
|
|
131193
131151
|
},
|
|
131194
|
-
"default": "''",
|
|
131195
|
-
"description": "
|
|
131196
|
-
"fieldName": "
|
|
131152
|
+
"default": "'none'",
|
|
131153
|
+
"description": "Whether to reserve space for an error message, hint or text-counter.\n`none` does not reserve any space.\n`reserve` does reserve one row for an error message.",
|
|
131154
|
+
"fieldName": "errorSpace",
|
|
131197
131155
|
"inheritedFrom": {
|
|
131198
|
-
"name": "
|
|
131199
|
-
"module": "
|
|
131156
|
+
"name": "SbbFormFieldElement",
|
|
131157
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
131200
131158
|
}
|
|
131201
131159
|
},
|
|
131202
131160
|
{
|
|
131203
|
-
"name": "
|
|
131161
|
+
"name": "optional",
|
|
131204
131162
|
"type": {
|
|
131205
131163
|
"text": "boolean"
|
|
131206
131164
|
},
|
|
131207
131165
|
"default": "false",
|
|
131208
|
-
"description": "
|
|
131209
|
-
"
|
|
131166
|
+
"description": "Indicates whether the input is optional.",
|
|
131167
|
+
"deprecated": "Set the (optional) label text manually. Will be removed with next major version.",
|
|
131168
|
+
"fieldName": "optional",
|
|
131210
131169
|
"inheritedFrom": {
|
|
131211
|
-
"name": "
|
|
131212
|
-
"module": "
|
|
131170
|
+
"name": "SbbFormFieldElement",
|
|
131171
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
131213
131172
|
}
|
|
131214
131173
|
},
|
|
131215
131174
|
{
|
|
131216
|
-
"name": "
|
|
131217
|
-
"description": "Whether the component is disabled.",
|
|
131218
|
-
"default": "false",
|
|
131175
|
+
"name": "size",
|
|
131219
131176
|
"type": {
|
|
131220
|
-
"text": "
|
|
131177
|
+
"text": "'l' | 'm' | 's'"
|
|
131221
131178
|
},
|
|
131222
|
-
"
|
|
131179
|
+
"description": "Size variant, either l, m or s.",
|
|
131180
|
+
"default": "'m' / 's' (lean)",
|
|
131181
|
+
"fieldName": "size",
|
|
131223
131182
|
"inheritedFrom": {
|
|
131224
|
-
"name": "
|
|
131225
|
-
"module": "
|
|
131183
|
+
"name": "SbbFormFieldElement",
|
|
131184
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
131226
131185
|
}
|
|
131227
131186
|
},
|
|
131228
131187
|
{
|
|
131229
|
-
"name": "
|
|
131188
|
+
"name": "borderless",
|
|
131230
131189
|
"type": {
|
|
131231
|
-
"text": "
|
|
131190
|
+
"text": "boolean"
|
|
131232
131191
|
},
|
|
131233
|
-
"default": "
|
|
131234
|
-
"description": "
|
|
131235
|
-
"fieldName": "
|
|
131192
|
+
"default": "false",
|
|
131193
|
+
"description": "Whether to display the form field without a border.",
|
|
131194
|
+
"fieldName": "borderless",
|
|
131236
131195
|
"inheritedFrom": {
|
|
131237
|
-
"name": "
|
|
131238
|
-
"module": "
|
|
131196
|
+
"name": "SbbFormFieldElement",
|
|
131197
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
131239
131198
|
}
|
|
131240
131199
|
},
|
|
131241
131200
|
{
|
|
131242
|
-
"name": "
|
|
131243
|
-
"description": "The type attribute to use for the button.",
|
|
131244
|
-
"default": "'button'",
|
|
131201
|
+
"name": "width",
|
|
131245
131202
|
"type": {
|
|
131246
|
-
"text": "
|
|
131203
|
+
"text": "'default' | 'collapse'"
|
|
131247
131204
|
},
|
|
131248
|
-
"
|
|
131205
|
+
"default": "'default'",
|
|
131206
|
+
"description": "Defines the width of the component:\n- `default`: the component has defined width and min-width;\n- `collapse`: the component adapts itself to its inner input content.",
|
|
131207
|
+
"fieldName": "width",
|
|
131249
131208
|
"inheritedFrom": {
|
|
131250
|
-
"name": "
|
|
131251
|
-
"module": "
|
|
131209
|
+
"name": "SbbFormFieldElement",
|
|
131210
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
131252
131211
|
}
|
|
131253
131212
|
},
|
|
131254
131213
|
{
|
|
131255
|
-
"name": "
|
|
131256
|
-
"description": "The `<form>` element to associate the button with.",
|
|
131214
|
+
"name": "hidden-label",
|
|
131257
131215
|
"type": {
|
|
131258
|
-
"text": "
|
|
131216
|
+
"text": "boolean"
|
|
131259
131217
|
},
|
|
131260
|
-
"
|
|
131218
|
+
"default": "false",
|
|
131219
|
+
"description": "Whether to visually hide the label. If hidden, screen readers will still read it.",
|
|
131220
|
+
"fieldName": "hiddenLabel",
|
|
131261
131221
|
"inheritedFrom": {
|
|
131262
|
-
"name": "
|
|
131263
|
-
"module": "
|
|
131222
|
+
"name": "SbbFormFieldElement",
|
|
131223
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
131264
131224
|
}
|
|
131265
131225
|
},
|
|
131266
131226
|
{
|
|
131267
|
-
"name": "
|
|
131268
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
131227
|
+
"name": "floating-label",
|
|
131269
131228
|
"type": {
|
|
131270
|
-
"text": "
|
|
131229
|
+
"text": "boolean"
|
|
131271
131230
|
},
|
|
131272
|
-
"
|
|
131231
|
+
"default": "false",
|
|
131232
|
+
"description": "Whether the label should float. If activated, the placeholder of the input is hidden.",
|
|
131233
|
+
"fieldName": "floatingLabel",
|
|
131273
131234
|
"inheritedFrom": {
|
|
131274
|
-
"name": "
|
|
131275
|
-
"module": "
|
|
131235
|
+
"name": "SbbFormFieldElement",
|
|
131236
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
131276
131237
|
}
|
|
131277
131238
|
}
|
|
131278
131239
|
],
|
|
131279
131240
|
"slots": [
|
|
131280
131241
|
{
|
|
131281
|
-
"description": "Use
|
|
131242
|
+
"description": "Use this slot to render an input/select or a supported non-native element.",
|
|
131282
131243
|
"name": "",
|
|
131283
131244
|
"inheritedFrom": {
|
|
131284
|
-
"name": "
|
|
131285
|
-
"module": "
|
|
131245
|
+
"name": "SbbFormFieldElement",
|
|
131246
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
131286
131247
|
}
|
|
131287
131248
|
},
|
|
131288
131249
|
{
|
|
131289
|
-
"description": "
|
|
131290
|
-
"name": "
|
|
131250
|
+
"description": "Use this slot to render a label.",
|
|
131251
|
+
"name": "label",
|
|
131291
131252
|
"inheritedFrom": {
|
|
131292
|
-
"name": "
|
|
131293
|
-
"module": "
|
|
131253
|
+
"name": "SbbFormFieldElement",
|
|
131254
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
131255
|
+
}
|
|
131256
|
+
},
|
|
131257
|
+
{
|
|
131258
|
+
"description": "Use this slot to render an icon on the left side of the input.",
|
|
131259
|
+
"name": "prefix",
|
|
131260
|
+
"inheritedFrom": {
|
|
131261
|
+
"name": "SbbFormFieldElement",
|
|
131262
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
131263
|
+
}
|
|
131264
|
+
},
|
|
131265
|
+
{
|
|
131266
|
+
"description": "Use this slot to render an icon on the right side of the input.",
|
|
131267
|
+
"name": "suffix",
|
|
131268
|
+
"inheritedFrom": {
|
|
131269
|
+
"name": "SbbFormFieldElement",
|
|
131270
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
131271
|
+
}
|
|
131272
|
+
},
|
|
131273
|
+
{
|
|
131274
|
+
"description": "Use this slot to render an error.",
|
|
131275
|
+
"name": "error",
|
|
131276
|
+
"inheritedFrom": {
|
|
131277
|
+
"name": "SbbFormFieldElement",
|
|
131278
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
131279
|
+
}
|
|
131280
|
+
},
|
|
131281
|
+
{
|
|
131282
|
+
"description": "Use this slot to render an `<sbb-hint>` or an `<sbb-form-field-text-counter>` element.",
|
|
131283
|
+
"name": "hint",
|
|
131284
|
+
"inheritedFrom": {
|
|
131285
|
+
"name": "SbbFormFieldElement",
|
|
131286
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
131294
131287
|
}
|
|
131295
131288
|
}
|
|
131296
131289
|
],
|
|
131297
131290
|
"cssProperties": [
|
|
131298
131291
|
{
|
|
131299
|
-
"description": "
|
|
131300
|
-
"name": "--sbb-
|
|
131301
|
-
"default": "300ms",
|
|
131292
|
+
"description": "To override the focus outline offset,",
|
|
131293
|
+
"name": "--sbb-form-field-outline-offset",
|
|
131302
131294
|
"inheritedFrom": {
|
|
131303
|
-
"name": "
|
|
131304
|
-
"module": "
|
|
131295
|
+
"name": "SbbFormFieldElement",
|
|
131296
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
131297
|
+
}
|
|
131298
|
+
},
|
|
131299
|
+
{
|
|
131300
|
+
"description": "To override the z-index of the focus underline effect,",
|
|
131301
|
+
"name": "--sbb-form-field-focus-underline-z-index",
|
|
131302
|
+
"inheritedFrom": {
|
|
131303
|
+
"name": "SbbFormFieldElement",
|
|
131304
|
+
"module": "form-field/form-field/form-field.component.js"
|
|
131305
131305
|
}
|
|
131306
131306
|
}
|
|
131307
131307
|
]
|
|
@@ -131310,10 +131310,10 @@
|
|
|
131310
131310
|
"exports": [
|
|
131311
131311
|
{
|
|
131312
131312
|
"kind": "js",
|
|
131313
|
-
"name": "
|
|
131313
|
+
"name": "SbbTimetableFormFieldElement",
|
|
131314
131314
|
"declaration": {
|
|
131315
|
-
"name": "
|
|
131316
|
-
"module": "timetable-form/timetable-form-
|
|
131315
|
+
"name": "SbbTimetableFormFieldElement",
|
|
131316
|
+
"module": "timetable-form/timetable-form-field/timetable-form-field.component.js"
|
|
131317
131317
|
}
|
|
131318
131318
|
}
|
|
131319
131319
|
]
|