@sbb-esta/lyne-elements-dev 4.6.0-dev.1772454706 → 4.6.0-dev.1772457568
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 +872 -872
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -100241,230 +100241,283 @@
|
|
|
100241
100241
|
},
|
|
100242
100242
|
{
|
|
100243
100243
|
"kind": "javascript-module",
|
|
100244
|
-
"path": "radio-button/radio-button-
|
|
100244
|
+
"path": "radio-button/radio-button-panel/radio-button-panel.component.js",
|
|
100245
100245
|
"declarations": [
|
|
100246
100246
|
{
|
|
100247
100247
|
"kind": "class",
|
|
100248
|
-
"description": "It
|
|
100249
|
-
"name": "
|
|
100248
|
+
"description": "/**\n It displays a radio button enhanced with the panel design.",
|
|
100249
|
+
"name": "SbbRadioButtonPanelElement",
|
|
100250
100250
|
"slots": [
|
|
100251
100251
|
{
|
|
100252
|
-
"description": "Use the unnamed slot to add
|
|
100252
|
+
"description": "Use the unnamed slot to add content to the radio label.",
|
|
100253
100253
|
"name": ""
|
|
100254
100254
|
},
|
|
100255
100255
|
{
|
|
100256
|
-
"description": "
|
|
100257
|
-
"name": "
|
|
100256
|
+
"description": "Slot used to render a subtext under the label.",
|
|
100257
|
+
"name": "subtext"
|
|
100258
|
+
},
|
|
100259
|
+
{
|
|
100260
|
+
"description": "Slot used to render additional content after the label.",
|
|
100261
|
+
"name": "suffix"
|
|
100262
|
+
},
|
|
100263
|
+
{
|
|
100264
|
+
"description": "Use this slot to provide a `sbb-card-badge` (optional).",
|
|
100265
|
+
"name": "badge"
|
|
100258
100266
|
}
|
|
100259
100267
|
],
|
|
100260
100268
|
"members": [
|
|
100261
|
-
{
|
|
100262
|
-
"kind": "field",
|
|
100263
|
-
"name": "role",
|
|
100264
|
-
"type": {
|
|
100265
|
-
"text": "string"
|
|
100266
|
-
},
|
|
100267
|
-
"privacy": "public",
|
|
100268
|
-
"static": true,
|
|
100269
|
-
"readonly": true,
|
|
100270
|
-
"default": "'radiogroup'"
|
|
100271
|
-
},
|
|
100272
100269
|
{
|
|
100273
100270
|
"kind": "field",
|
|
100274
100271
|
"name": "events",
|
|
100275
100272
|
"privacy": "public",
|
|
100276
100273
|
"static": true,
|
|
100277
100274
|
"readonly": true,
|
|
100278
|
-
"default": "{
|
|
100275
|
+
"default": "{ change: 'change', input: 'input', }",
|
|
100279
100276
|
"type": {
|
|
100280
|
-
"text": "{\n
|
|
100277
|
+
"text": "{\n change: 'change',\n input: 'input',\n }"
|
|
100278
|
+
},
|
|
100279
|
+
"inheritedFrom": {
|
|
100280
|
+
"name": "SbbRadioButtonCommonElementMixin",
|
|
100281
|
+
"module": "radio-button/common/radio-button-common.js"
|
|
100281
100282
|
}
|
|
100282
100283
|
},
|
|
100283
100284
|
{
|
|
100284
100285
|
"kind": "field",
|
|
100285
|
-
"name": "
|
|
100286
|
+
"name": "value",
|
|
100286
100287
|
"type": {
|
|
100287
|
-
"text": "
|
|
100288
|
+
"text": "(T = string) | null"
|
|
100288
100289
|
},
|
|
100289
100290
|
"privacy": "public",
|
|
100290
|
-
"default": "
|
|
100291
|
-
"description": "
|
|
100292
|
-
"attribute": "
|
|
100291
|
+
"default": "null",
|
|
100292
|
+
"description": "The value of the form element",
|
|
100293
|
+
"attribute": "value",
|
|
100294
|
+
"inheritedFrom": {
|
|
100295
|
+
"name": "SbbFormAssociatedMixin",
|
|
100296
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
100297
|
+
}
|
|
100293
100298
|
},
|
|
100294
100299
|
{
|
|
100295
100300
|
"kind": "field",
|
|
100296
|
-
"name": "
|
|
100301
|
+
"name": "_hasSelectionPanelElement",
|
|
100297
100302
|
"type": {
|
|
100298
100303
|
"text": "boolean"
|
|
100299
100304
|
},
|
|
100300
|
-
"privacy": "
|
|
100301
|
-
"default": "false"
|
|
100302
|
-
|
|
100303
|
-
|
|
100305
|
+
"privacy": "private",
|
|
100306
|
+
"default": "false"
|
|
100307
|
+
},
|
|
100308
|
+
{
|
|
100309
|
+
"kind": "method",
|
|
100310
|
+
"name": "updateFocusableRadios",
|
|
100311
|
+
"privacy": "protected",
|
|
100312
|
+
"return": {
|
|
100313
|
+
"type": {
|
|
100314
|
+
"text": "void"
|
|
100315
|
+
}
|
|
100316
|
+
},
|
|
100317
|
+
"description": "As an exception, panels with a selection-panel attached are always focusable",
|
|
100318
|
+
"inheritedFrom": {
|
|
100319
|
+
"name": "SbbFormAssociatedRadioButtonMixin",
|
|
100320
|
+
"module": "core/mixins/form-associated-radio-button-mixin.js"
|
|
100321
|
+
}
|
|
100322
|
+
},
|
|
100323
|
+
{
|
|
100324
|
+
"kind": "method",
|
|
100325
|
+
"name": "navigateByKeyboard",
|
|
100326
|
+
"privacy": "protected",
|
|
100327
|
+
"return": {
|
|
100328
|
+
"type": {
|
|
100329
|
+
"text": "Promise<void>"
|
|
100330
|
+
}
|
|
100331
|
+
},
|
|
100332
|
+
"parameters": [
|
|
100333
|
+
{
|
|
100334
|
+
"name": "next",
|
|
100335
|
+
"type": {
|
|
100336
|
+
"text": "SbbRadioButtonPanelElement"
|
|
100337
|
+
}
|
|
100338
|
+
}
|
|
100339
|
+
],
|
|
100340
|
+
"description": "As an exception, radio-panels with a selection-panel attached are not checked automatically when navigating by keyboard",
|
|
100341
|
+
"inheritedFrom": {
|
|
100342
|
+
"name": "SbbFormAssociatedRadioButtonMixin",
|
|
100343
|
+
"module": "core/mixins/form-associated-radio-button-mixin.js"
|
|
100344
|
+
}
|
|
100304
100345
|
},
|
|
100305
100346
|
{
|
|
100306
100347
|
"kind": "field",
|
|
100307
|
-
"name": "
|
|
100308
|
-
"privacy": "public",
|
|
100309
|
-
"description": "The value of the radio group.",
|
|
100348
|
+
"name": "color",
|
|
100310
100349
|
"type": {
|
|
100311
|
-
"text": "
|
|
100350
|
+
"text": "'white' | 'milk'"
|
|
100312
100351
|
},
|
|
100313
|
-
"
|
|
100352
|
+
"privacy": "public",
|
|
100353
|
+
"default": "'white'",
|
|
100354
|
+
"description": "The background color of the panel.",
|
|
100355
|
+
"attribute": "color",
|
|
100356
|
+
"reflects": true,
|
|
100357
|
+
"inheritedFrom": {
|
|
100358
|
+
"name": "SbbPanelMixin",
|
|
100359
|
+
"module": "core/mixins/panel-mixin.js"
|
|
100360
|
+
}
|
|
100314
100361
|
},
|
|
100315
100362
|
{
|
|
100316
100363
|
"kind": "field",
|
|
100317
|
-
"name": "
|
|
100364
|
+
"name": "borderless",
|
|
100318
100365
|
"type": {
|
|
100319
|
-
"text": "
|
|
100366
|
+
"text": "boolean"
|
|
100320
100367
|
},
|
|
100321
|
-
"privacy": "
|
|
100322
|
-
"default": "
|
|
100323
|
-
"description": "
|
|
100368
|
+
"privacy": "public",
|
|
100369
|
+
"default": "false",
|
|
100370
|
+
"description": "Whether the unselected panel has a border.",
|
|
100371
|
+
"attribute": "borderless",
|
|
100372
|
+
"reflects": true,
|
|
100373
|
+
"inheritedFrom": {
|
|
100374
|
+
"name": "SbbPanelMixin",
|
|
100375
|
+
"module": "core/mixins/panel-mixin.js"
|
|
100376
|
+
}
|
|
100324
100377
|
},
|
|
100325
100378
|
{
|
|
100326
100379
|
"kind": "field",
|
|
100327
100380
|
"name": "size",
|
|
100328
100381
|
"type": {
|
|
100329
|
-
"text": "SbbRadioButtonSize"
|
|
100382
|
+
"text": "SbbCheckboxSize | SbbRadioButtonSize"
|
|
100330
100383
|
},
|
|
100331
100384
|
"privacy": "public",
|
|
100332
100385
|
"description": "Size variant, either xs, s or m.",
|
|
100333
100386
|
"default": "'m' / 'xs' (lean)",
|
|
100334
|
-
"attribute": "size"
|
|
100387
|
+
"attribute": "size",
|
|
100388
|
+
"reflects": true,
|
|
100389
|
+
"inheritedFrom": {
|
|
100390
|
+
"name": "SbbPanelMixin",
|
|
100391
|
+
"module": "core/mixins/panel-mixin.js"
|
|
100392
|
+
}
|
|
100335
100393
|
},
|
|
100336
100394
|
{
|
|
100337
100395
|
"kind": "field",
|
|
100338
|
-
"name": "
|
|
100396
|
+
"name": "allowEmptySelection",
|
|
100397
|
+
"privacy": "public",
|
|
100398
|
+
"description": "Whether the radio can be deselected.",
|
|
100339
100399
|
"type": {
|
|
100340
|
-
"text": "
|
|
100400
|
+
"text": "boolean"
|
|
100341
100401
|
},
|
|
100342
|
-
"
|
|
100343
|
-
"
|
|
100344
|
-
|
|
100345
|
-
|
|
100346
|
-
|
|
100402
|
+
"attribute": "allow-empty-selection",
|
|
100403
|
+
"inheritedFrom": {
|
|
100404
|
+
"name": "SbbRadioButtonCommonElementMixin",
|
|
100405
|
+
"module": "radio-button/common/radio-button-common.js"
|
|
100406
|
+
},
|
|
100407
|
+
"default": "false"
|
|
100347
100408
|
},
|
|
100348
100409
|
{
|
|
100349
100410
|
"kind": "field",
|
|
100350
|
-
"name": "
|
|
100411
|
+
"name": "_allowEmptySelection",
|
|
100351
100412
|
"type": {
|
|
100352
|
-
"text": "
|
|
100413
|
+
"text": "boolean"
|
|
100353
100414
|
},
|
|
100354
|
-
"privacy": "
|
|
100355
|
-
"default": "
|
|
100356
|
-
"
|
|
100357
|
-
|
|
100358
|
-
|
|
100415
|
+
"privacy": "private",
|
|
100416
|
+
"default": "false",
|
|
100417
|
+
"inheritedFrom": {
|
|
100418
|
+
"name": "SbbRadioButtonCommonElementMixin",
|
|
100419
|
+
"module": "radio-button/common/radio-button-common.js"
|
|
100420
|
+
}
|
|
100359
100421
|
},
|
|
100360
100422
|
{
|
|
100361
100423
|
"kind": "field",
|
|
100362
|
-
"name": "
|
|
100424
|
+
"name": "group",
|
|
100363
100425
|
"type": {
|
|
100364
|
-
"text": "
|
|
100426
|
+
"text": "SbbRadioButtonGroupElement | null"
|
|
100365
100427
|
},
|
|
100366
100428
|
"privacy": "public",
|
|
100367
|
-
"
|
|
100368
|
-
"
|
|
100429
|
+
"description": "Reference to the connected radio button group.",
|
|
100430
|
+
"readonly": true,
|
|
100431
|
+
"inheritedFrom": {
|
|
100432
|
+
"name": "SbbRadioButtonCommonElementMixin",
|
|
100433
|
+
"module": "radio-button/common/radio-button-common.js"
|
|
100434
|
+
},
|
|
100435
|
+
"default": "null"
|
|
100369
100436
|
},
|
|
100370
100437
|
{
|
|
100371
100438
|
"kind": "field",
|
|
100372
|
-
"name": "
|
|
100439
|
+
"name": "_group",
|
|
100373
100440
|
"type": {
|
|
100374
|
-
"text": "
|
|
100441
|
+
"text": "SbbRadioButtonGroupElement | null"
|
|
100375
100442
|
},
|
|
100376
|
-
"privacy": "
|
|
100377
|
-
"
|
|
100378
|
-
"
|
|
100443
|
+
"privacy": "private",
|
|
100444
|
+
"default": "null",
|
|
100445
|
+
"inheritedFrom": {
|
|
100446
|
+
"name": "SbbRadioButtonCommonElementMixin",
|
|
100447
|
+
"module": "radio-button/common/radio-button-common.js"
|
|
100448
|
+
}
|
|
100379
100449
|
},
|
|
100380
100450
|
{
|
|
100381
100451
|
"kind": "method",
|
|
100382
|
-
"name": "
|
|
100383
|
-
"privacy": "
|
|
100452
|
+
"name": "select",
|
|
100453
|
+
"privacy": "public",
|
|
100384
100454
|
"return": {
|
|
100385
100455
|
"type": {
|
|
100386
100456
|
"text": "void"
|
|
100387
100457
|
}
|
|
100388
100458
|
},
|
|
100389
|
-
"
|
|
100390
|
-
|
|
100391
|
-
|
|
100392
|
-
|
|
100393
|
-
|
|
100394
|
-
}
|
|
100395
|
-
}
|
|
100396
|
-
]
|
|
100459
|
+
"description": "Set the radio-button as 'checked'; if 'allowEmptySelection', toggle the checked property.\nIn both cases it emits the change events.",
|
|
100460
|
+
"inheritedFrom": {
|
|
100461
|
+
"name": "SbbRadioButtonCommonElementMixin",
|
|
100462
|
+
"module": "radio-button/common/radio-button-common.js"
|
|
100463
|
+
}
|
|
100397
100464
|
},
|
|
100398
100465
|
{
|
|
100399
100466
|
"kind": "method",
|
|
100400
|
-
"name": "
|
|
100401
|
-
"privacy": "
|
|
100467
|
+
"name": "isDisabledExternally",
|
|
100468
|
+
"privacy": "protected",
|
|
100402
100469
|
"return": {
|
|
100403
100470
|
"type": {
|
|
100404
|
-
"text": "
|
|
100471
|
+
"text": "boolean"
|
|
100405
100472
|
}
|
|
100406
100473
|
},
|
|
100407
|
-
"description": "
|
|
100474
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
100475
|
+
"inheritedFrom": {
|
|
100476
|
+
"name": "SbbDisabledMixin",
|
|
100477
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
100478
|
+
}
|
|
100408
100479
|
},
|
|
100409
100480
|
{
|
|
100410
100481
|
"kind": "method",
|
|
100411
|
-
"name": "
|
|
100412
|
-
"privacy": "
|
|
100482
|
+
"name": "isRequiredExternally",
|
|
100483
|
+
"privacy": "protected",
|
|
100413
100484
|
"return": {
|
|
100414
100485
|
"type": {
|
|
100415
|
-
"text": "
|
|
100486
|
+
"text": "boolean"
|
|
100416
100487
|
}
|
|
100417
100488
|
},
|
|
100418
|
-
"description": "
|
|
100419
|
-
},
|
|
100420
|
-
{
|
|
100421
|
-
"kind": "field",
|
|
100422
|
-
"name": "disabled",
|
|
100423
|
-
"privacy": "public",
|
|
100424
|
-
"description": "Whether the component is disabled.",
|
|
100425
|
-
"default": "false",
|
|
100426
|
-
"type": {
|
|
100427
|
-
"text": "boolean"
|
|
100428
|
-
},
|
|
100429
|
-
"attribute": "disabled",
|
|
100430
|
-
"reflects": true,
|
|
100489
|
+
"description": "Will be used as 'or' check to the current required state.\nCan e.g. be used to read required state of a group.",
|
|
100431
100490
|
"inheritedFrom": {
|
|
100432
|
-
"name": "
|
|
100433
|
-
"module": "core/mixins/
|
|
100491
|
+
"name": "SbbRequiredMixin",
|
|
100492
|
+
"module": "core/mixins/required-mixin.js"
|
|
100434
100493
|
}
|
|
100435
100494
|
},
|
|
100436
100495
|
{
|
|
100437
|
-
"kind": "
|
|
100438
|
-
"name": "
|
|
100496
|
+
"kind": "method",
|
|
100497
|
+
"name": "_handleClick",
|
|
100439
100498
|
"privacy": "private",
|
|
100440
|
-
"type": {
|
|
100441
|
-
"text": "boolean"
|
|
100442
|
-
},
|
|
100443
|
-
"default": "false",
|
|
100444
|
-
"inheritedFrom": {
|
|
100445
|
-
"name": "SbbDisabledMixin",
|
|
100446
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
100447
|
-
}
|
|
100448
|
-
},
|
|
100449
|
-
{
|
|
100450
|
-
"kind": "method",
|
|
100451
|
-
"name": "isDisabledExternally",
|
|
100452
|
-
"privacy": "protected",
|
|
100453
100499
|
"return": {
|
|
100454
100500
|
"type": {
|
|
100455
|
-
"text": "
|
|
100501
|
+
"text": "Promise<void>"
|
|
100456
100502
|
}
|
|
100457
100503
|
},
|
|
100458
|
-
"
|
|
100504
|
+
"parameters": [
|
|
100505
|
+
{
|
|
100506
|
+
"name": "event",
|
|
100507
|
+
"type": {
|
|
100508
|
+
"text": "Event"
|
|
100509
|
+
}
|
|
100510
|
+
}
|
|
100511
|
+
],
|
|
100459
100512
|
"inheritedFrom": {
|
|
100460
|
-
"name": "
|
|
100461
|
-
"module": "
|
|
100513
|
+
"name": "SbbRadioButtonCommonElementMixin",
|
|
100514
|
+
"module": "radio-button/common/radio-button-common.js"
|
|
100462
100515
|
}
|
|
100463
100516
|
},
|
|
100464
100517
|
{
|
|
100465
100518
|
"kind": "method",
|
|
100466
|
-
"name": "
|
|
100467
|
-
"privacy": "
|
|
100519
|
+
"name": "_handleKeyDown",
|
|
100520
|
+
"privacy": "private",
|
|
100468
100521
|
"return": {
|
|
100469
100522
|
"type": {
|
|
100470
100523
|
"text": "void"
|
|
@@ -100472,431 +100525,294 @@
|
|
|
100472
100525
|
},
|
|
100473
100526
|
"parameters": [
|
|
100474
100527
|
{
|
|
100475
|
-
"name": "
|
|
100476
|
-
"type": {
|
|
100477
|
-
"text": "string"
|
|
100478
|
-
}
|
|
100479
|
-
},
|
|
100480
|
-
{
|
|
100481
|
-
"name": "force",
|
|
100482
|
-
"optional": true,
|
|
100528
|
+
"name": "evt",
|
|
100483
100529
|
"type": {
|
|
100484
|
-
"text": "
|
|
100530
|
+
"text": "KeyboardEvent"
|
|
100485
100531
|
}
|
|
100486
100532
|
}
|
|
100487
100533
|
],
|
|
100488
100534
|
"inheritedFrom": {
|
|
100489
|
-
"name": "
|
|
100490
|
-
"module": "
|
|
100535
|
+
"name": "SbbRadioButtonCommonElementMixin",
|
|
100536
|
+
"module": "radio-button/common/radio-button-common.js"
|
|
100491
100537
|
}
|
|
100492
|
-
}
|
|
100493
|
-
],
|
|
100494
|
-
"events": [
|
|
100495
|
-
{
|
|
100496
|
-
"name": "didChange",
|
|
100497
|
-
"type": {
|
|
100498
|
-
"text": "Event"
|
|
100499
|
-
},
|
|
100500
|
-
"description": "Deprecated. Mirrors change event for React. Will be removed once React properly supports change events.",
|
|
100501
|
-
"deprecated": "true"
|
|
100502
|
-
}
|
|
100503
|
-
],
|
|
100504
|
-
"attributes": [
|
|
100505
|
-
{
|
|
100506
|
-
"name": "allow-empty-selection",
|
|
100507
|
-
"type": {
|
|
100508
|
-
"text": "boolean"
|
|
100509
|
-
},
|
|
100510
|
-
"default": "false",
|
|
100511
|
-
"description": "Whether the radios can be deselected.",
|
|
100512
|
-
"fieldName": "allowEmptySelection"
|
|
100513
|
-
},
|
|
100514
|
-
{
|
|
100515
|
-
"name": "required",
|
|
100516
|
-
"type": {
|
|
100517
|
-
"text": "boolean"
|
|
100518
|
-
},
|
|
100519
|
-
"default": "false",
|
|
100520
|
-
"description": "Whether the radio group is required.",
|
|
100521
|
-
"fieldName": "required"
|
|
100522
|
-
},
|
|
100523
|
-
{
|
|
100524
|
-
"name": "value",
|
|
100525
|
-
"description": "The value of the radio group.",
|
|
100526
|
-
"type": {
|
|
100527
|
-
"text": "T | null"
|
|
100528
|
-
},
|
|
100529
|
-
"fieldName": "value"
|
|
100530
|
-
},
|
|
100531
|
-
{
|
|
100532
|
-
"name": "size",
|
|
100533
|
-
"type": {
|
|
100534
|
-
"text": "SbbRadioButtonSize"
|
|
100535
|
-
},
|
|
100536
|
-
"description": "Size variant, either xs, s or m.",
|
|
100537
|
-
"default": "'m' / 'xs' (lean)",
|
|
100538
|
-
"fieldName": "size"
|
|
100539
100538
|
},
|
|
100540
100539
|
{
|
|
100541
|
-
"
|
|
100540
|
+
"kind": "field",
|
|
100541
|
+
"name": "role",
|
|
100542
100542
|
"type": {
|
|
100543
|
-
"text": "
|
|
100543
|
+
"text": "string"
|
|
100544
100544
|
},
|
|
100545
|
-
"
|
|
100546
|
-
"
|
|
100547
|
-
"
|
|
100545
|
+
"privacy": "public",
|
|
100546
|
+
"static": true,
|
|
100547
|
+
"readonly": true,
|
|
100548
|
+
"default": "'radio'",
|
|
100549
|
+
"inheritedFrom": {
|
|
100550
|
+
"name": "SbbFormAssociatedRadioButtonMixin",
|
|
100551
|
+
"module": "core/mixins/form-associated-radio-button-mixin.js"
|
|
100552
|
+
}
|
|
100548
100553
|
},
|
|
100549
100554
|
{
|
|
100550
|
-
"
|
|
100555
|
+
"kind": "field",
|
|
100556
|
+
"name": "checked",
|
|
100557
|
+
"privacy": "public",
|
|
100558
|
+
"description": "Whether the radio button is checked.",
|
|
100551
100559
|
"type": {
|
|
100552
|
-
"text": "
|
|
100560
|
+
"text": "boolean"
|
|
100553
100561
|
},
|
|
100554
|
-
"
|
|
100555
|
-
"
|
|
100556
|
-
|
|
100557
|
-
|
|
100558
|
-
{
|
|
100559
|
-
"name": "name",
|
|
100560
|
-
"type": {
|
|
100561
|
-
"text": "string"
|
|
100562
|
+
"attribute": "checked",
|
|
100563
|
+
"inheritedFrom": {
|
|
100564
|
+
"name": "SbbFormAssociatedRadioButtonMixin",
|
|
100565
|
+
"module": "core/mixins/form-associated-radio-button-mixin.js"
|
|
100562
100566
|
},
|
|
100563
|
-
"default": "
|
|
100564
|
-
"fieldName": "name"
|
|
100567
|
+
"default": "false"
|
|
100565
100568
|
},
|
|
100566
100569
|
{
|
|
100567
|
-
"
|
|
100568
|
-
"
|
|
100569
|
-
"default": "false",
|
|
100570
|
+
"kind": "field",
|
|
100571
|
+
"name": "_checked",
|
|
100570
100572
|
"type": {
|
|
100571
100573
|
"text": "boolean"
|
|
100572
100574
|
},
|
|
100573
|
-
"
|
|
100575
|
+
"privacy": "private",
|
|
100576
|
+
"default": "false",
|
|
100574
100577
|
"inheritedFrom": {
|
|
100575
|
-
"name": "
|
|
100576
|
-
"module": "core/mixins/
|
|
100578
|
+
"name": "SbbFormAssociatedRadioButtonMixin",
|
|
100579
|
+
"module": "core/mixins/form-associated-radio-button-mixin.js"
|
|
100577
100580
|
}
|
|
100578
|
-
}
|
|
100579
|
-
],
|
|
100580
|
-
"mixins": [
|
|
100581
|
-
{
|
|
100582
|
-
"name": "SbbDisabledMixin",
|
|
100583
|
-
"module": "core/mixins.js"
|
|
100584
|
-
},
|
|
100585
|
-
{
|
|
100586
|
-
"name": "SbbElementInternalsMixin",
|
|
100587
|
-
"module": "core/mixins.js"
|
|
100588
|
-
}
|
|
100589
|
-
],
|
|
100590
|
-
"superclass": {
|
|
100591
|
-
"name": "LitElement",
|
|
100592
|
-
"package": "lit"
|
|
100593
|
-
},
|
|
100594
|
-
"classGenerics": "T = string",
|
|
100595
|
-
"tagName": "sbb-radio-button-group",
|
|
100596
|
-
"customElement": true
|
|
100597
|
-
}
|
|
100598
|
-
],
|
|
100599
|
-
"exports": [
|
|
100600
|
-
{
|
|
100601
|
-
"kind": "js",
|
|
100602
|
-
"name": "SbbRadioButtonGroupElement",
|
|
100603
|
-
"declaration": {
|
|
100604
|
-
"name": "SbbRadioButtonGroupElement",
|
|
100605
|
-
"module": "radio-button/radio-button-group/radio-button-group.component.js"
|
|
100606
|
-
}
|
|
100607
|
-
},
|
|
100608
|
-
{
|
|
100609
|
-
"kind": "custom-element-definition",
|
|
100610
|
-
"name": "sbb-radio-button-group",
|
|
100611
|
-
"declaration": {
|
|
100612
|
-
"name": "SbbRadioButtonGroupElement",
|
|
100613
|
-
"module": "radio-button/radio-button-group/radio-button-group.component.js"
|
|
100614
|
-
}
|
|
100615
|
-
}
|
|
100616
|
-
]
|
|
100617
|
-
},
|
|
100618
|
-
{
|
|
100619
|
-
"kind": "javascript-module",
|
|
100620
|
-
"path": "radio-button/radio-button-panel/radio-button-panel.component.js",
|
|
100621
|
-
"declarations": [
|
|
100622
|
-
{
|
|
100623
|
-
"kind": "class",
|
|
100624
|
-
"description": "/**\n It displays a radio button enhanced with the panel design.",
|
|
100625
|
-
"name": "SbbRadioButtonPanelElement",
|
|
100626
|
-
"slots": [
|
|
100627
|
-
{
|
|
100628
|
-
"description": "Use the unnamed slot to add content to the radio label.",
|
|
100629
|
-
"name": ""
|
|
100630
|
-
},
|
|
100631
|
-
{
|
|
100632
|
-
"description": "Slot used to render a subtext under the label.",
|
|
100633
|
-
"name": "subtext"
|
|
100634
|
-
},
|
|
100635
|
-
{
|
|
100636
|
-
"description": "Slot used to render additional content after the label.",
|
|
100637
|
-
"name": "suffix"
|
|
100638
100581
|
},
|
|
100639
|
-
{
|
|
100640
|
-
"description": "Use this slot to provide a `sbb-card-badge` (optional).",
|
|
100641
|
-
"name": "badge"
|
|
100642
|
-
}
|
|
100643
|
-
],
|
|
100644
|
-
"members": [
|
|
100645
100582
|
{
|
|
100646
100583
|
"kind": "field",
|
|
100647
|
-
"name": "
|
|
100584
|
+
"name": "name",
|
|
100648
100585
|
"privacy": "public",
|
|
100649
|
-
"
|
|
100650
|
-
"readonly": true,
|
|
100651
|
-
"default": "{ change: 'change', input: 'input', }",
|
|
100586
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
100652
100587
|
"type": {
|
|
100653
|
-
"text": "
|
|
100588
|
+
"text": "string"
|
|
100654
100589
|
},
|
|
100590
|
+
"attribute": "name",
|
|
100655
100591
|
"inheritedFrom": {
|
|
100656
|
-
"name": "
|
|
100657
|
-
"module": "
|
|
100592
|
+
"name": "SbbFormAssociatedMixin",
|
|
100593
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
100658
100594
|
}
|
|
100659
100595
|
},
|
|
100660
100596
|
{
|
|
100661
100597
|
"kind": "field",
|
|
100662
|
-
"name": "
|
|
100598
|
+
"name": "type",
|
|
100663
100599
|
"type": {
|
|
100664
|
-
"text": "
|
|
100600
|
+
"text": "string"
|
|
100665
100601
|
},
|
|
100666
100602
|
"privacy": "public",
|
|
100667
|
-
"
|
|
100668
|
-
"
|
|
100669
|
-
"
|
|
100603
|
+
"description": "Form type of element.",
|
|
100604
|
+
"default": "'radio'",
|
|
100605
|
+
"readonly": true,
|
|
100670
100606
|
"inheritedFrom": {
|
|
100671
|
-
"name": "
|
|
100672
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
100607
|
+
"name": "SbbFormAssociatedRadioButtonMixin",
|
|
100608
|
+
"module": "core/mixins/form-associated-radio-button-mixin.js"
|
|
100673
100609
|
}
|
|
100674
100610
|
},
|
|
100675
100611
|
{
|
|
100676
100612
|
"kind": "field",
|
|
100677
|
-
"name": "
|
|
100613
|
+
"name": "associatedRadioButtons",
|
|
100678
100614
|
"type": {
|
|
100679
|
-
"text": "
|
|
100615
|
+
"text": "Set<SbbFormAssociatedRadioButtonElement> | undefined"
|
|
100680
100616
|
},
|
|
100681
|
-
"privacy": "private",
|
|
100682
|
-
"default": "false"
|
|
100683
|
-
},
|
|
100684
|
-
{
|
|
100685
|
-
"kind": "method",
|
|
100686
|
-
"name": "updateFocusableRadios",
|
|
100687
100617
|
"privacy": "protected",
|
|
100688
|
-
"
|
|
100689
|
-
"type": {
|
|
100690
|
-
"text": "void"
|
|
100691
|
-
}
|
|
100692
|
-
},
|
|
100693
|
-
"description": "As an exception, panels with a selection-panel attached are always focusable",
|
|
100618
|
+
"description": "Set of radio buttons that belongs to the same group of `this`.\nAssume them ordered in DOM order",
|
|
100694
100619
|
"inheritedFrom": {
|
|
100695
100620
|
"name": "SbbFormAssociatedRadioButtonMixin",
|
|
100696
100621
|
"module": "core/mixins/form-associated-radio-button-mixin.js"
|
|
100697
100622
|
}
|
|
100698
100623
|
},
|
|
100699
100624
|
{
|
|
100700
|
-
"kind": "
|
|
100701
|
-
"name": "
|
|
100702
|
-
"
|
|
100625
|
+
"kind": "field",
|
|
100626
|
+
"name": "_radioButtonGroupsMap",
|
|
100627
|
+
"type": {
|
|
100628
|
+
"text": "Map<string, Set<SbbFormAssociatedRadioButtonMixinType>> | undefined"
|
|
100629
|
+
},
|
|
100630
|
+
"privacy": "private",
|
|
100631
|
+
"inheritedFrom": {
|
|
100632
|
+
"name": "SbbFormAssociatedRadioButtonMixin",
|
|
100633
|
+
"module": "core/mixins/form-associated-radio-button-mixin.js"
|
|
100634
|
+
}
|
|
100635
|
+
},
|
|
100636
|
+
{
|
|
100637
|
+
"kind": "field",
|
|
100638
|
+
"name": "_languageController",
|
|
100639
|
+
"privacy": "private",
|
|
100640
|
+
"default": "new SbbLanguageController(this)",
|
|
100641
|
+
"inheritedFrom": {
|
|
100642
|
+
"name": "SbbFormAssociatedRadioButtonMixin",
|
|
100643
|
+
"module": "core/mixins/form-associated-radio-button-mixin.js"
|
|
100644
|
+
}
|
|
100645
|
+
},
|
|
100646
|
+
{
|
|
100647
|
+
"kind": "method",
|
|
100648
|
+
"name": "_readFormData",
|
|
100649
|
+
"privacy": "private",
|
|
100703
100650
|
"return": {
|
|
100704
100651
|
"type": {
|
|
100705
|
-
"text": "Promise<
|
|
100652
|
+
"text": "Promise<unknown>"
|
|
100706
100653
|
}
|
|
100707
100654
|
},
|
|
100708
100655
|
"parameters": [
|
|
100709
100656
|
{
|
|
100710
|
-
"name": "
|
|
100657
|
+
"name": "formData",
|
|
100711
100658
|
"type": {
|
|
100712
|
-
"text": "
|
|
100659
|
+
"text": "FormData"
|
|
100713
100660
|
}
|
|
100714
100661
|
}
|
|
100715
100662
|
],
|
|
100716
|
-
"description": "As an exception, radio-panels with a selection-panel attached are not checked automatically when navigating by keyboard",
|
|
100717
100663
|
"inheritedFrom": {
|
|
100718
100664
|
"name": "SbbFormAssociatedRadioButtonMixin",
|
|
100719
100665
|
"module": "core/mixins/form-associated-radio-button-mixin.js"
|
|
100720
100666
|
}
|
|
100721
100667
|
},
|
|
100722
100668
|
{
|
|
100723
|
-
"kind": "
|
|
100724
|
-
"name": "
|
|
100725
|
-
"
|
|
100726
|
-
|
|
100669
|
+
"kind": "method",
|
|
100670
|
+
"name": "updateFormValue",
|
|
100671
|
+
"privacy": "protected",
|
|
100672
|
+
"return": {
|
|
100673
|
+
"type": {
|
|
100674
|
+
"text": "void"
|
|
100675
|
+
}
|
|
100727
100676
|
},
|
|
100728
|
-
"
|
|
100729
|
-
"default": "'white'",
|
|
100730
|
-
"description": "The background color of the panel.",
|
|
100731
|
-
"attribute": "color",
|
|
100732
|
-
"reflects": true,
|
|
100677
|
+
"description": "Called on `value` change\nIf 'checked', update the value. Otherwise, do nothing.",
|
|
100733
100678
|
"inheritedFrom": {
|
|
100734
|
-
"name": "
|
|
100735
|
-
"module": "core/mixins/
|
|
100679
|
+
"name": "SbbFormAssociatedMixin",
|
|
100680
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
100736
100681
|
}
|
|
100737
100682
|
},
|
|
100738
100683
|
{
|
|
100739
|
-
"kind": "
|
|
100740
|
-
"name": "
|
|
100741
|
-
"
|
|
100742
|
-
|
|
100684
|
+
"kind": "method",
|
|
100685
|
+
"name": "shouldValidate",
|
|
100686
|
+
"privacy": "protected",
|
|
100687
|
+
"return": {
|
|
100688
|
+
"type": {
|
|
100689
|
+
"text": "boolean"
|
|
100690
|
+
}
|
|
100743
100691
|
},
|
|
100744
|
-
"
|
|
100745
|
-
|
|
100746
|
-
|
|
100747
|
-
|
|
100748
|
-
|
|
100692
|
+
"parameters": [
|
|
100693
|
+
{
|
|
100694
|
+
"name": "name",
|
|
100695
|
+
"type": {
|
|
100696
|
+
"text": "PropertyKey | undefined"
|
|
100697
|
+
}
|
|
100698
|
+
}
|
|
100699
|
+
],
|
|
100700
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
100749
100701
|
"inheritedFrom": {
|
|
100750
|
-
"name": "
|
|
100751
|
-
"module": "core/mixins/
|
|
100702
|
+
"name": "SbbFormAssociatedMixin",
|
|
100703
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
100752
100704
|
}
|
|
100753
100705
|
},
|
|
100754
100706
|
{
|
|
100755
|
-
"kind": "
|
|
100756
|
-
"name": "
|
|
100757
|
-
"
|
|
100758
|
-
|
|
100707
|
+
"kind": "method",
|
|
100708
|
+
"name": "validate",
|
|
100709
|
+
"privacy": "protected",
|
|
100710
|
+
"return": {
|
|
100711
|
+
"type": {
|
|
100712
|
+
"text": "void"
|
|
100713
|
+
}
|
|
100759
100714
|
},
|
|
100760
|
-
"
|
|
100761
|
-
"description": "Size variant, either xs, s or m.",
|
|
100762
|
-
"default": "'m' / 'xs' (lean)",
|
|
100763
|
-
"attribute": "size",
|
|
100764
|
-
"reflects": true,
|
|
100715
|
+
"description": "Sets the validity of all associated radio buttons.\nIf any radio button is required, all associated are required as well.",
|
|
100765
100716
|
"inheritedFrom": {
|
|
100766
|
-
"name": "
|
|
100767
|
-
"module": "core/mixins/
|
|
100717
|
+
"name": "SbbFormAssociatedMixin",
|
|
100718
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
100768
100719
|
}
|
|
100769
100720
|
},
|
|
100770
100721
|
{
|
|
100771
|
-
"kind": "
|
|
100772
|
-
"name": "
|
|
100773
|
-
"privacy": "
|
|
100774
|
-
"
|
|
100775
|
-
|
|
100776
|
-
|
|
100777
|
-
|
|
100778
|
-
"attribute": "allow-empty-selection",
|
|
100779
|
-
"inheritedFrom": {
|
|
100780
|
-
"name": "SbbRadioButtonCommonElementMixin",
|
|
100781
|
-
"module": "radio-button/common/radio-button-common.js"
|
|
100782
|
-
},
|
|
100783
|
-
"default": "false"
|
|
100784
|
-
},
|
|
100785
|
-
{
|
|
100786
|
-
"kind": "field",
|
|
100787
|
-
"name": "_allowEmptySelection",
|
|
100788
|
-
"type": {
|
|
100789
|
-
"text": "boolean"
|
|
100722
|
+
"kind": "method",
|
|
100723
|
+
"name": "emitChangeEvents",
|
|
100724
|
+
"privacy": "protected",
|
|
100725
|
+
"return": {
|
|
100726
|
+
"type": {
|
|
100727
|
+
"text": "void"
|
|
100728
|
+
}
|
|
100790
100729
|
},
|
|
100791
|
-
"privacy": "private",
|
|
100792
|
-
"default": "false",
|
|
100793
100730
|
"inheritedFrom": {
|
|
100794
|
-
"name": "
|
|
100795
|
-
"module": "
|
|
100731
|
+
"name": "SbbFormAssociatedRadioButtonMixin",
|
|
100732
|
+
"module": "core/mixins/form-associated-radio-button-mixin.js"
|
|
100796
100733
|
}
|
|
100797
100734
|
},
|
|
100798
100735
|
{
|
|
100799
|
-
"kind": "
|
|
100800
|
-
"name": "
|
|
100801
|
-
"type": {
|
|
100802
|
-
"text": "SbbRadioButtonGroupElement | null"
|
|
100803
|
-
},
|
|
100804
|
-
"privacy": "public",
|
|
100805
|
-
"description": "Reference to the connected radio button group.",
|
|
100806
|
-
"readonly": true,
|
|
100807
|
-
"inheritedFrom": {
|
|
100808
|
-
"name": "SbbRadioButtonCommonElementMixin",
|
|
100809
|
-
"module": "radio-button/common/radio-button-common.js"
|
|
100810
|
-
},
|
|
100811
|
-
"default": "null"
|
|
100812
|
-
},
|
|
100813
|
-
{
|
|
100814
|
-
"kind": "field",
|
|
100815
|
-
"name": "_group",
|
|
100816
|
-
"type": {
|
|
100817
|
-
"text": "SbbRadioButtonGroupElement | null"
|
|
100818
|
-
},
|
|
100736
|
+
"kind": "method",
|
|
100737
|
+
"name": "_synchronizeGroupState",
|
|
100819
100738
|
"privacy": "private",
|
|
100820
|
-
"
|
|
100739
|
+
"return": {
|
|
100740
|
+
"type": {
|
|
100741
|
+
"text": "void"
|
|
100742
|
+
}
|
|
100743
|
+
},
|
|
100821
100744
|
"inheritedFrom": {
|
|
100822
|
-
"name": "
|
|
100823
|
-
"module": "
|
|
100745
|
+
"name": "SbbFormAssociatedRadioButtonMixin",
|
|
100746
|
+
"module": "core/mixins/form-associated-radio-button-mixin.js"
|
|
100824
100747
|
}
|
|
100825
100748
|
},
|
|
100826
100749
|
{
|
|
100827
100750
|
"kind": "method",
|
|
100828
|
-
"name": "
|
|
100829
|
-
"privacy": "
|
|
100751
|
+
"name": "_connectToRegistry",
|
|
100752
|
+
"privacy": "private",
|
|
100830
100753
|
"return": {
|
|
100831
100754
|
"type": {
|
|
100832
100755
|
"text": "void"
|
|
100833
100756
|
}
|
|
100834
100757
|
},
|
|
100835
|
-
"description": "
|
|
100758
|
+
"description": "Add `this` to the radioButton registry",
|
|
100836
100759
|
"inheritedFrom": {
|
|
100837
|
-
"name": "
|
|
100838
|
-
"module": "
|
|
100760
|
+
"name": "SbbFormAssociatedRadioButtonMixin",
|
|
100761
|
+
"module": "core/mixins/form-associated-radio-button-mixin.js"
|
|
100839
100762
|
}
|
|
100840
100763
|
},
|
|
100841
100764
|
{
|
|
100842
100765
|
"kind": "method",
|
|
100843
|
-
"name": "
|
|
100844
|
-
"privacy": "
|
|
100766
|
+
"name": "_disconnectFromRegistry",
|
|
100767
|
+
"privacy": "private",
|
|
100845
100768
|
"return": {
|
|
100846
100769
|
"type": {
|
|
100847
|
-
"text": "
|
|
100770
|
+
"text": "void"
|
|
100848
100771
|
}
|
|
100849
100772
|
},
|
|
100850
|
-
"description": "
|
|
100773
|
+
"description": "Remove `this` from the radioButton registry and, if the group is empty, delete the entry from the groups Map",
|
|
100851
100774
|
"inheritedFrom": {
|
|
100852
|
-
"name": "
|
|
100853
|
-
"module": "core/mixins/
|
|
100775
|
+
"name": "SbbFormAssociatedRadioButtonMixin",
|
|
100776
|
+
"module": "core/mixins/form-associated-radio-button-mixin.js"
|
|
100854
100777
|
}
|
|
100855
100778
|
},
|
|
100856
100779
|
{
|
|
100857
100780
|
"kind": "method",
|
|
100858
|
-
"name": "
|
|
100859
|
-
"privacy": "
|
|
100781
|
+
"name": "_interactableGroupedRadios",
|
|
100782
|
+
"privacy": "private",
|
|
100860
100783
|
"return": {
|
|
100861
100784
|
"type": {
|
|
100862
|
-
"text": "
|
|
100785
|
+
"text": "SbbFormAssociatedRadioButtonElement[]"
|
|
100863
100786
|
}
|
|
100864
100787
|
},
|
|
100865
|
-
"description": "
|
|
100788
|
+
"description": "Return a list of 'interactable' grouped radios, ordered in DOM order",
|
|
100866
100789
|
"inheritedFrom": {
|
|
100867
|
-
"name": "
|
|
100868
|
-
"module": "core/mixins/
|
|
100790
|
+
"name": "SbbFormAssociatedRadioButtonMixin",
|
|
100791
|
+
"module": "core/mixins/form-associated-radio-button-mixin.js"
|
|
100869
100792
|
}
|
|
100870
100793
|
},
|
|
100871
100794
|
{
|
|
100872
100795
|
"kind": "method",
|
|
100873
|
-
"name": "
|
|
100796
|
+
"name": "_deselectGroupedRadios",
|
|
100874
100797
|
"privacy": "private",
|
|
100875
100798
|
"return": {
|
|
100876
100799
|
"type": {
|
|
100877
|
-
"text": "
|
|
100800
|
+
"text": "void"
|
|
100878
100801
|
}
|
|
100879
100802
|
},
|
|
100880
|
-
"
|
|
100881
|
-
{
|
|
100882
|
-
"name": "event",
|
|
100883
|
-
"type": {
|
|
100884
|
-
"text": "Event"
|
|
100885
|
-
}
|
|
100886
|
-
}
|
|
100887
|
-
],
|
|
100803
|
+
"description": "Deselect other radio of the same group",
|
|
100888
100804
|
"inheritedFrom": {
|
|
100889
|
-
"name": "
|
|
100890
|
-
"module": "
|
|
100805
|
+
"name": "SbbFormAssociatedRadioButtonMixin",
|
|
100806
|
+
"module": "core/mixins/form-associated-radio-button-mixin.js"
|
|
100891
100807
|
}
|
|
100892
100808
|
},
|
|
100893
100809
|
{
|
|
100894
100810
|
"kind": "method",
|
|
100895
|
-
"name": "
|
|
100811
|
+
"name": "_handleArrowKeyDown",
|
|
100896
100812
|
"privacy": "private",
|
|
100897
100813
|
"return": {
|
|
100898
100814
|
"type": {
|
|
100899
|
-
"text": "void"
|
|
100815
|
+
"text": "Promise<void>"
|
|
100900
100816
|
}
|
|
100901
100817
|
},
|
|
100902
100818
|
"parameters": [
|
|
@@ -100907,21 +100823,6 @@
|
|
|
100907
100823
|
}
|
|
100908
100824
|
}
|
|
100909
100825
|
],
|
|
100910
|
-
"inheritedFrom": {
|
|
100911
|
-
"name": "SbbRadioButtonCommonElementMixin",
|
|
100912
|
-
"module": "radio-button/common/radio-button-common.js"
|
|
100913
|
-
}
|
|
100914
|
-
},
|
|
100915
|
-
{
|
|
100916
|
-
"kind": "field",
|
|
100917
|
-
"name": "role",
|
|
100918
|
-
"type": {
|
|
100919
|
-
"text": "string"
|
|
100920
|
-
},
|
|
100921
|
-
"privacy": "public",
|
|
100922
|
-
"static": true,
|
|
100923
|
-
"readonly": true,
|
|
100924
|
-
"default": "'radio'",
|
|
100925
100826
|
"inheritedFrom": {
|
|
100926
100827
|
"name": "SbbFormAssociatedRadioButtonMixin",
|
|
100927
100828
|
"module": "core/mixins/form-associated-radio-button-mixin.js"
|
|
@@ -100929,41 +100830,71 @@
|
|
|
100929
100830
|
},
|
|
100930
100831
|
{
|
|
100931
100832
|
"kind": "field",
|
|
100932
|
-
"name": "
|
|
100833
|
+
"name": "disabled",
|
|
100933
100834
|
"privacy": "public",
|
|
100934
|
-
"description": "Whether the
|
|
100835
|
+
"description": "Whether the component is disabled.",
|
|
100836
|
+
"default": "false",
|
|
100935
100837
|
"type": {
|
|
100936
100838
|
"text": "boolean"
|
|
100937
100839
|
},
|
|
100938
|
-
"attribute": "
|
|
100840
|
+
"attribute": "disabled",
|
|
100841
|
+
"reflects": true,
|
|
100939
100842
|
"inheritedFrom": {
|
|
100940
|
-
"name": "
|
|
100941
|
-
"module": "core/mixins/
|
|
100942
|
-
}
|
|
100943
|
-
"default": "false"
|
|
100843
|
+
"name": "SbbDisabledMixin",
|
|
100844
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
100845
|
+
}
|
|
100944
100846
|
},
|
|
100945
100847
|
{
|
|
100946
100848
|
"kind": "field",
|
|
100947
|
-
"name": "
|
|
100849
|
+
"name": "#disabled",
|
|
100850
|
+
"privacy": "private",
|
|
100948
100851
|
"type": {
|
|
100949
100852
|
"text": "boolean"
|
|
100950
100853
|
},
|
|
100951
|
-
"privacy": "private",
|
|
100952
100854
|
"default": "false",
|
|
100953
100855
|
"inheritedFrom": {
|
|
100954
|
-
"name": "
|
|
100955
|
-
"module": "core/mixins/
|
|
100856
|
+
"name": "SbbDisabledMixin",
|
|
100857
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
100956
100858
|
}
|
|
100957
100859
|
},
|
|
100958
100860
|
{
|
|
100959
100861
|
"kind": "field",
|
|
100960
|
-
"name": "
|
|
100862
|
+
"name": "required",
|
|
100961
100863
|
"privacy": "public",
|
|
100962
|
-
"description": "
|
|
100864
|
+
"description": "Whether the component is required.",
|
|
100963
100865
|
"type": {
|
|
100964
|
-
"text": "
|
|
100866
|
+
"text": "boolean"
|
|
100965
100867
|
},
|
|
100966
|
-
"attribute": "
|
|
100868
|
+
"attribute": "required",
|
|
100869
|
+
"reflects": true,
|
|
100870
|
+
"inheritedFrom": {
|
|
100871
|
+
"name": "SbbRequiredMixin",
|
|
100872
|
+
"module": "core/mixins/required-mixin.js"
|
|
100873
|
+
},
|
|
100874
|
+
"default": "false"
|
|
100875
|
+
},
|
|
100876
|
+
{
|
|
100877
|
+
"kind": "field",
|
|
100878
|
+
"name": "_required",
|
|
100879
|
+
"type": {
|
|
100880
|
+
"text": "boolean"
|
|
100881
|
+
},
|
|
100882
|
+
"privacy": "private",
|
|
100883
|
+
"default": "false",
|
|
100884
|
+
"inheritedFrom": {
|
|
100885
|
+
"name": "SbbRequiredMixin",
|
|
100886
|
+
"module": "core/mixins/required-mixin.js"
|
|
100887
|
+
}
|
|
100888
|
+
},
|
|
100889
|
+
{
|
|
100890
|
+
"kind": "field",
|
|
100891
|
+
"name": "formAssociated",
|
|
100892
|
+
"type": {
|
|
100893
|
+
"text": "boolean"
|
|
100894
|
+
},
|
|
100895
|
+
"privacy": "public",
|
|
100896
|
+
"static": true,
|
|
100897
|
+
"default": "true",
|
|
100967
100898
|
"inheritedFrom": {
|
|
100968
100899
|
"name": "SbbFormAssociatedMixin",
|
|
100969
100900
|
"module": "core/mixins/form-associated-mixin.js"
|
|
@@ -100971,86 +100902,79 @@
|
|
|
100971
100902
|
},
|
|
100972
100903
|
{
|
|
100973
100904
|
"kind": "field",
|
|
100974
|
-
"name": "
|
|
100905
|
+
"name": "form",
|
|
100975
100906
|
"type": {
|
|
100976
|
-
"text": "
|
|
100907
|
+
"text": "HTMLFormElement | null"
|
|
100977
100908
|
},
|
|
100978
100909
|
"privacy": "public",
|
|
100979
|
-
"description": "
|
|
100980
|
-
"default": "'radio'",
|
|
100910
|
+
"description": "Returns the form owner of this element.",
|
|
100981
100911
|
"readonly": true,
|
|
100982
100912
|
"inheritedFrom": {
|
|
100983
|
-
"name": "
|
|
100984
|
-
"module": "core/mixins/form-associated-
|
|
100913
|
+
"name": "SbbFormAssociatedMixin",
|
|
100914
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
100985
100915
|
}
|
|
100986
100916
|
},
|
|
100987
100917
|
{
|
|
100988
100918
|
"kind": "field",
|
|
100989
|
-
"name": "
|
|
100919
|
+
"name": "validity",
|
|
100990
100920
|
"type": {
|
|
100991
|
-
"text": "
|
|
100921
|
+
"text": "ValidityState"
|
|
100992
100922
|
},
|
|
100993
|
-
"privacy": "
|
|
100994
|
-
"description": "
|
|
100923
|
+
"privacy": "public",
|
|
100924
|
+
"description": "Returns the ValidityState object for this element.",
|
|
100925
|
+
"readonly": true,
|
|
100995
100926
|
"inheritedFrom": {
|
|
100996
|
-
"name": "
|
|
100997
|
-
"module": "core/mixins/form-associated-
|
|
100927
|
+
"name": "SbbFormAssociatedMixin",
|
|
100928
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
100998
100929
|
}
|
|
100999
100930
|
},
|
|
101000
100931
|
{
|
|
101001
100932
|
"kind": "field",
|
|
101002
|
-
"name": "
|
|
100933
|
+
"name": "validationMessage",
|
|
101003
100934
|
"type": {
|
|
101004
|
-
"text": "
|
|
100935
|
+
"text": "string"
|
|
101005
100936
|
},
|
|
101006
|
-
"privacy": "
|
|
100937
|
+
"privacy": "public",
|
|
100938
|
+
"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.",
|
|
100939
|
+
"readonly": true,
|
|
101007
100940
|
"inheritedFrom": {
|
|
101008
|
-
"name": "
|
|
101009
|
-
"module": "core/mixins/form-associated-
|
|
100941
|
+
"name": "SbbFormAssociatedMixin",
|
|
100942
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101010
100943
|
}
|
|
101011
100944
|
},
|
|
101012
100945
|
{
|
|
101013
100946
|
"kind": "field",
|
|
101014
|
-
"name": "
|
|
101015
|
-
"
|
|
101016
|
-
|
|
100947
|
+
"name": "willValidate",
|
|
100948
|
+
"type": {
|
|
100949
|
+
"text": "boolean"
|
|
100950
|
+
},
|
|
100951
|
+
"privacy": "public",
|
|
100952
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
100953
|
+
"readonly": true,
|
|
101017
100954
|
"inheritedFrom": {
|
|
101018
|
-
"name": "
|
|
101019
|
-
"module": "core/mixins/form-associated-
|
|
100955
|
+
"name": "SbbFormAssociatedMixin",
|
|
100956
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101020
100957
|
}
|
|
101021
100958
|
},
|
|
101022
100959
|
{
|
|
101023
|
-
"kind": "
|
|
101024
|
-
"name": "
|
|
100960
|
+
"kind": "field",
|
|
100961
|
+
"name": "_validityStates",
|
|
101025
100962
|
"privacy": "private",
|
|
101026
|
-
"
|
|
101027
|
-
"type": {
|
|
101028
|
-
"text": "Promise<unknown>"
|
|
101029
|
-
}
|
|
101030
|
-
},
|
|
101031
|
-
"parameters": [
|
|
101032
|
-
{
|
|
101033
|
-
"name": "formData",
|
|
101034
|
-
"type": {
|
|
101035
|
-
"text": "FormData"
|
|
101036
|
-
}
|
|
101037
|
-
}
|
|
101038
|
-
],
|
|
100963
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
101039
100964
|
"inheritedFrom": {
|
|
101040
|
-
"name": "
|
|
101041
|
-
"module": "core/mixins/form-associated-
|
|
100965
|
+
"name": "SbbFormAssociatedMixin",
|
|
100966
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101042
100967
|
}
|
|
101043
100968
|
},
|
|
101044
100969
|
{
|
|
101045
|
-
"kind": "
|
|
101046
|
-
"name": "
|
|
101047
|
-
"
|
|
101048
|
-
|
|
101049
|
-
"type": {
|
|
101050
|
-
"text": "void"
|
|
101051
|
-
}
|
|
100970
|
+
"kind": "field",
|
|
100971
|
+
"name": "formDisabled",
|
|
100972
|
+
"type": {
|
|
100973
|
+
"text": "boolean"
|
|
101052
100974
|
},
|
|
101053
|
-
"
|
|
100975
|
+
"privacy": "protected",
|
|
100976
|
+
"default": "false",
|
|
100977
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
101054
100978
|
"inheritedFrom": {
|
|
101055
100979
|
"name": "SbbFormAssociatedMixin",
|
|
101056
100980
|
"module": "core/mixins/form-associated-mixin.js"
|
|
@@ -101058,22 +100982,14 @@
|
|
|
101058
100982
|
},
|
|
101059
100983
|
{
|
|
101060
100984
|
"kind": "method",
|
|
101061
|
-
"name": "
|
|
101062
|
-
"privacy": "
|
|
100985
|
+
"name": "checkValidity",
|
|
100986
|
+
"privacy": "public",
|
|
101063
100987
|
"return": {
|
|
101064
100988
|
"type": {
|
|
101065
100989
|
"text": "boolean"
|
|
101066
100990
|
}
|
|
101067
100991
|
},
|
|
101068
|
-
"
|
|
101069
|
-
{
|
|
101070
|
-
"name": "name",
|
|
101071
|
-
"type": {
|
|
101072
|
-
"text": "PropertyKey | undefined"
|
|
101073
|
-
}
|
|
101074
|
-
}
|
|
101075
|
-
],
|
|
101076
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
100992
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
101077
100993
|
"inheritedFrom": {
|
|
101078
100994
|
"name": "SbbFormAssociatedMixin",
|
|
101079
100995
|
"module": "core/mixins/form-associated-mixin.js"
|
|
@@ -101081,14 +100997,14 @@
|
|
|
101081
100997
|
},
|
|
101082
100998
|
{
|
|
101083
100999
|
"kind": "method",
|
|
101084
|
-
"name": "
|
|
101085
|
-
"privacy": "
|
|
101000
|
+
"name": "reportValidity",
|
|
101001
|
+
"privacy": "public",
|
|
101086
101002
|
"return": {
|
|
101087
101003
|
"type": {
|
|
101088
|
-
"text": "
|
|
101004
|
+
"text": "boolean"
|
|
101089
101005
|
}
|
|
101090
101006
|
},
|
|
101091
|
-
"description": "
|
|
101007
|
+
"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.",
|
|
101092
101008
|
"inheritedFrom": {
|
|
101093
101009
|
"name": "SbbFormAssociatedMixin",
|
|
101094
101010
|
"module": "core/mixins/form-associated-mixin.js"
|
|
@@ -101096,387 +101012,537 @@
|
|
|
101096
101012
|
},
|
|
101097
101013
|
{
|
|
101098
101014
|
"kind": "method",
|
|
101099
|
-
"name": "
|
|
101100
|
-
"privacy": "
|
|
101015
|
+
"name": "setCustomValidity",
|
|
101016
|
+
"privacy": "public",
|
|
101101
101017
|
"return": {
|
|
101102
101018
|
"type": {
|
|
101103
101019
|
"text": "void"
|
|
101104
101020
|
}
|
|
101105
101021
|
},
|
|
101022
|
+
"parameters": [
|
|
101023
|
+
{
|
|
101024
|
+
"name": "message",
|
|
101025
|
+
"type": {
|
|
101026
|
+
"text": "string"
|
|
101027
|
+
}
|
|
101028
|
+
}
|
|
101029
|
+
],
|
|
101030
|
+
"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.",
|
|
101106
101031
|
"inheritedFrom": {
|
|
101107
|
-
"name": "
|
|
101108
|
-
"module": "core/mixins/form-associated-
|
|
101032
|
+
"name": "SbbFormAssociatedMixin",
|
|
101033
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101109
101034
|
}
|
|
101110
101035
|
},
|
|
101111
101036
|
{
|
|
101112
101037
|
"kind": "method",
|
|
101113
|
-
"name": "
|
|
101038
|
+
"name": "_hasDisabledAncestor",
|
|
101114
101039
|
"privacy": "private",
|
|
101115
101040
|
"return": {
|
|
101116
101041
|
"type": {
|
|
101117
|
-
"text": "
|
|
101042
|
+
"text": "boolean"
|
|
101118
101043
|
}
|
|
101119
101044
|
},
|
|
101120
101045
|
"inheritedFrom": {
|
|
101121
|
-
"name": "
|
|
101122
|
-
"module": "core/mixins/form-associated-
|
|
101046
|
+
"name": "SbbFormAssociatedMixin",
|
|
101047
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101123
101048
|
}
|
|
101124
101049
|
},
|
|
101125
101050
|
{
|
|
101126
101051
|
"kind": "method",
|
|
101127
|
-
"name": "
|
|
101128
|
-
"privacy": "
|
|
101052
|
+
"name": "formState",
|
|
101053
|
+
"privacy": "protected",
|
|
101129
101054
|
"return": {
|
|
101130
101055
|
"type": {
|
|
101131
|
-
"text": "
|
|
101056
|
+
"text": "FormRestoreState"
|
|
101132
101057
|
}
|
|
101133
101058
|
},
|
|
101134
|
-
"description": "Add `this` to the radioButton registry",
|
|
101135
101059
|
"inheritedFrom": {
|
|
101136
|
-
"name": "
|
|
101137
|
-
"module": "core/mixins/form-associated-
|
|
101060
|
+
"name": "SbbFormAssociatedMixin",
|
|
101061
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101138
101062
|
}
|
|
101139
101063
|
},
|
|
101140
101064
|
{
|
|
101141
101065
|
"kind": "method",
|
|
101142
|
-
"name": "
|
|
101143
|
-
"privacy": "
|
|
101066
|
+
"name": "setValidityFlag",
|
|
101067
|
+
"privacy": "protected",
|
|
101144
101068
|
"return": {
|
|
101145
101069
|
"type": {
|
|
101146
101070
|
"text": "void"
|
|
101147
101071
|
}
|
|
101148
101072
|
},
|
|
101149
|
-
"
|
|
101073
|
+
"parameters": [
|
|
101074
|
+
{
|
|
101075
|
+
"name": "flag",
|
|
101076
|
+
"type": {
|
|
101077
|
+
"text": "T"
|
|
101078
|
+
}
|
|
101079
|
+
},
|
|
101080
|
+
{
|
|
101081
|
+
"name": "message",
|
|
101082
|
+
"type": {
|
|
101083
|
+
"text": "string"
|
|
101084
|
+
}
|
|
101085
|
+
},
|
|
101086
|
+
{
|
|
101087
|
+
"name": "flagValue",
|
|
101088
|
+
"optional": true,
|
|
101089
|
+
"type": {
|
|
101090
|
+
"text": "ValidityStateFlags[T]"
|
|
101091
|
+
}
|
|
101092
|
+
}
|
|
101093
|
+
],
|
|
101094
|
+
"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).",
|
|
101150
101095
|
"inheritedFrom": {
|
|
101151
|
-
"name": "
|
|
101152
|
-
"module": "core/mixins/form-associated-
|
|
101096
|
+
"name": "SbbFormAssociatedMixin",
|
|
101097
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101153
101098
|
}
|
|
101154
101099
|
},
|
|
101155
101100
|
{
|
|
101156
101101
|
"kind": "method",
|
|
101157
|
-
"name": "
|
|
101158
|
-
"privacy": "
|
|
101102
|
+
"name": "removeValidityFlag",
|
|
101103
|
+
"privacy": "protected",
|
|
101159
101104
|
"return": {
|
|
101160
101105
|
"type": {
|
|
101161
|
-
"text": "
|
|
101106
|
+
"text": "void"
|
|
101162
101107
|
}
|
|
101163
101108
|
},
|
|
101164
|
-
"
|
|
101109
|
+
"parameters": [
|
|
101110
|
+
{
|
|
101111
|
+
"name": "flag",
|
|
101112
|
+
"type": {
|
|
101113
|
+
"text": "T"
|
|
101114
|
+
}
|
|
101115
|
+
}
|
|
101116
|
+
],
|
|
101117
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
101165
101118
|
"inheritedFrom": {
|
|
101166
|
-
"name": "
|
|
101167
|
-
"module": "core/mixins/form-associated-
|
|
101119
|
+
"name": "SbbFormAssociatedMixin",
|
|
101120
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101168
101121
|
}
|
|
101169
101122
|
},
|
|
101170
101123
|
{
|
|
101171
101124
|
"kind": "method",
|
|
101172
|
-
"name": "
|
|
101125
|
+
"name": "_setInternalValidity",
|
|
101173
101126
|
"privacy": "private",
|
|
101174
101127
|
"return": {
|
|
101175
101128
|
"type": {
|
|
101176
101129
|
"text": "void"
|
|
101177
101130
|
}
|
|
101178
101131
|
},
|
|
101179
|
-
"description": "Deselect other radio of the same group",
|
|
101180
101132
|
"inheritedFrom": {
|
|
101181
|
-
"name": "
|
|
101182
|
-
"module": "core/mixins/form-associated-
|
|
101133
|
+
"name": "SbbFormAssociatedMixin",
|
|
101134
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
101183
101135
|
}
|
|
101184
101136
|
},
|
|
101185
101137
|
{
|
|
101186
101138
|
"kind": "method",
|
|
101187
|
-
"name": "
|
|
101188
|
-
"privacy": "
|
|
101139
|
+
"name": "toggleState",
|
|
101140
|
+
"privacy": "protected",
|
|
101189
101141
|
"return": {
|
|
101190
101142
|
"type": {
|
|
101191
|
-
"text": "
|
|
101143
|
+
"text": "void"
|
|
101192
101144
|
}
|
|
101193
101145
|
},
|
|
101194
101146
|
"parameters": [
|
|
101195
101147
|
{
|
|
101196
|
-
"name": "
|
|
101148
|
+
"name": "value",
|
|
101197
101149
|
"type": {
|
|
101198
|
-
"text": "
|
|
101150
|
+
"text": "string"
|
|
101199
101151
|
}
|
|
101200
|
-
}
|
|
101201
|
-
|
|
101152
|
+
},
|
|
101153
|
+
{
|
|
101154
|
+
"name": "force",
|
|
101155
|
+
"optional": true,
|
|
101156
|
+
"type": {
|
|
101157
|
+
"text": "boolean"
|
|
101158
|
+
}
|
|
101159
|
+
}
|
|
101160
|
+
],
|
|
101202
101161
|
"inheritedFrom": {
|
|
101203
|
-
"name": "
|
|
101204
|
-
"module": "core/mixins/
|
|
101162
|
+
"name": "SbbElementInternalsMixin",
|
|
101163
|
+
"module": "core/mixins/element-internals-mixin.js"
|
|
101205
101164
|
}
|
|
101206
101165
|
},
|
|
101207
101166
|
{
|
|
101208
101167
|
"kind": "field",
|
|
101209
|
-
"name": "
|
|
101210
|
-
"privacy": "
|
|
101211
|
-
"description": "Whether the component is disabled.",
|
|
101212
|
-
"default": "false",
|
|
101213
|
-
"type": {
|
|
101214
|
-
"text": "boolean"
|
|
101215
|
-
},
|
|
101216
|
-
"attribute": "disabled",
|
|
101217
|
-
"reflects": true,
|
|
101168
|
+
"name": "_updatePromise",
|
|
101169
|
+
"privacy": "private",
|
|
101218
101170
|
"inheritedFrom": {
|
|
101219
|
-
"name": "
|
|
101220
|
-
"module": "core/mixins/
|
|
101171
|
+
"name": "SbbUpdateSchedulerMixin",
|
|
101172
|
+
"module": "core/mixins/update-scheduler-mixin.js"
|
|
101221
101173
|
}
|
|
101222
101174
|
},
|
|
101223
101175
|
{
|
|
101224
101176
|
"kind": "field",
|
|
101225
|
-
"name": "
|
|
101177
|
+
"name": "_updateResolve",
|
|
101226
101178
|
"privacy": "private",
|
|
101179
|
+
"inheritedFrom": {
|
|
101180
|
+
"name": "SbbUpdateSchedulerMixin",
|
|
101181
|
+
"module": "core/mixins/update-scheduler-mixin.js"
|
|
101182
|
+
}
|
|
101183
|
+
},
|
|
101184
|
+
{
|
|
101185
|
+
"kind": "method",
|
|
101186
|
+
"name": "startUpdate",
|
|
101187
|
+
"privacy": "protected",
|
|
101188
|
+
"return": {
|
|
101189
|
+
"type": {
|
|
101190
|
+
"text": "void"
|
|
101191
|
+
}
|
|
101192
|
+
},
|
|
101193
|
+
"inheritedFrom": {
|
|
101194
|
+
"name": "SbbUpdateSchedulerMixin",
|
|
101195
|
+
"module": "core/mixins/update-scheduler-mixin.js"
|
|
101196
|
+
}
|
|
101197
|
+
},
|
|
101198
|
+
{
|
|
101199
|
+
"kind": "method",
|
|
101200
|
+
"name": "completeUpdate",
|
|
101201
|
+
"privacy": "protected",
|
|
101202
|
+
"return": {
|
|
101203
|
+
"type": {
|
|
101204
|
+
"text": "void"
|
|
101205
|
+
}
|
|
101206
|
+
},
|
|
101207
|
+
"inheritedFrom": {
|
|
101208
|
+
"name": "SbbUpdateSchedulerMixin",
|
|
101209
|
+
"module": "core/mixins/update-scheduler-mixin.js"
|
|
101210
|
+
}
|
|
101211
|
+
},
|
|
101212
|
+
{
|
|
101213
|
+
"kind": "method",
|
|
101214
|
+
"name": "getUpdateComplete",
|
|
101215
|
+
"privacy": "protected",
|
|
101216
|
+
"return": {
|
|
101217
|
+
"type": {
|
|
101218
|
+
"text": "Promise<boolean>"
|
|
101219
|
+
}
|
|
101220
|
+
},
|
|
101221
|
+
"inheritedFrom": {
|
|
101222
|
+
"name": "SbbUpdateSchedulerMixin",
|
|
101223
|
+
"module": "core/mixins/update-scheduler-mixin.js"
|
|
101224
|
+
}
|
|
101225
|
+
}
|
|
101226
|
+
],
|
|
101227
|
+
"events": [
|
|
101228
|
+
{
|
|
101229
|
+
"name": "change",
|
|
101227
101230
|
"type": {
|
|
101228
|
-
"text": "
|
|
101231
|
+
"text": "Event"
|
|
101229
101232
|
},
|
|
101230
|
-
"
|
|
101233
|
+
"description": "The change event is fired 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.",
|
|
101231
101234
|
"inheritedFrom": {
|
|
101232
|
-
"name": "
|
|
101233
|
-
"module": "core/mixins/
|
|
101235
|
+
"name": "SbbFormAssociatedRadioButtonMixin",
|
|
101236
|
+
"module": "core/mixins/form-associated-radio-button-mixin.js"
|
|
101234
101237
|
}
|
|
101235
101238
|
},
|
|
101236
101239
|
{
|
|
101237
|
-
"
|
|
101238
|
-
"name": "required",
|
|
101239
|
-
"privacy": "public",
|
|
101240
|
-
"description": "Whether the component is required.",
|
|
101240
|
+
"name": "input",
|
|
101241
101241
|
"type": {
|
|
101242
|
-
"text": "
|
|
101242
|
+
"text": "InputEvent"
|
|
101243
101243
|
},
|
|
101244
|
-
"
|
|
101245
|
-
"reflects": true,
|
|
101244
|
+
"description": "The input event fires when the value has been changed as a direct result of a user action.",
|
|
101246
101245
|
"inheritedFrom": {
|
|
101247
|
-
"name": "
|
|
101248
|
-
"module": "core/mixins/
|
|
101246
|
+
"name": "SbbFormAssociatedRadioButtonMixin",
|
|
101247
|
+
"module": "core/mixins/form-associated-radio-button-mixin.js"
|
|
101248
|
+
}
|
|
101249
|
+
}
|
|
101250
|
+
],
|
|
101251
|
+
"attributes": [
|
|
101252
|
+
{
|
|
101253
|
+
"name": "value",
|
|
101254
|
+
"type": {
|
|
101255
|
+
"text": "T | null"
|
|
101249
101256
|
},
|
|
101250
|
-
"default": "
|
|
101257
|
+
"default": "null",
|
|
101258
|
+
"description": "The value of the form element",
|
|
101259
|
+
"fieldName": "value"
|
|
101251
101260
|
},
|
|
101252
101261
|
{
|
|
101253
|
-
"
|
|
101254
|
-
"
|
|
101262
|
+
"name": "color",
|
|
101263
|
+
"type": {
|
|
101264
|
+
"text": "'white' | 'milk'"
|
|
101265
|
+
},
|
|
101266
|
+
"default": "'white'",
|
|
101267
|
+
"description": "The background color of the panel.",
|
|
101268
|
+
"fieldName": "color",
|
|
101269
|
+
"inheritedFrom": {
|
|
101270
|
+
"name": "SbbPanelMixin",
|
|
101271
|
+
"module": "core/mixins/panel-mixin.js"
|
|
101272
|
+
}
|
|
101273
|
+
},
|
|
101274
|
+
{
|
|
101275
|
+
"name": "borderless",
|
|
101255
101276
|
"type": {
|
|
101256
101277
|
"text": "boolean"
|
|
101257
101278
|
},
|
|
101258
|
-
"privacy": "private",
|
|
101259
101279
|
"default": "false",
|
|
101280
|
+
"description": "Whether the unselected panel has a border.",
|
|
101281
|
+
"fieldName": "borderless",
|
|
101260
101282
|
"inheritedFrom": {
|
|
101261
|
-
"name": "
|
|
101262
|
-
"module": "core/mixins/
|
|
101283
|
+
"name": "SbbPanelMixin",
|
|
101284
|
+
"module": "core/mixins/panel-mixin.js"
|
|
101263
101285
|
}
|
|
101264
101286
|
},
|
|
101265
101287
|
{
|
|
101266
|
-
"
|
|
101267
|
-
"name": "formAssociated",
|
|
101288
|
+
"name": "size",
|
|
101268
101289
|
"type": {
|
|
101269
|
-
"text": "
|
|
101290
|
+
"text": "SbbCheckboxSize | SbbRadioButtonSize"
|
|
101270
101291
|
},
|
|
101271
|
-
"
|
|
101272
|
-
"
|
|
101273
|
-
"
|
|
101292
|
+
"description": "Size variant, either xs, s or m.",
|
|
101293
|
+
"default": "'m' / 'xs' (lean)",
|
|
101294
|
+
"fieldName": "size",
|
|
101274
101295
|
"inheritedFrom": {
|
|
101275
|
-
"name": "
|
|
101276
|
-
"module": "core/mixins/
|
|
101296
|
+
"name": "SbbPanelMixin",
|
|
101297
|
+
"module": "core/mixins/panel-mixin.js"
|
|
101277
101298
|
}
|
|
101278
101299
|
},
|
|
101279
101300
|
{
|
|
101280
|
-
"
|
|
101281
|
-
"
|
|
101301
|
+
"name": "allow-empty-selection",
|
|
101302
|
+
"description": "Whether the radio can be deselected.",
|
|
101282
101303
|
"type": {
|
|
101283
|
-
"text": "
|
|
101304
|
+
"text": "boolean"
|
|
101284
101305
|
},
|
|
101285
|
-
"
|
|
101286
|
-
"description": "Returns the form owner of this element.",
|
|
101287
|
-
"readonly": true,
|
|
101306
|
+
"fieldName": "allowEmptySelection",
|
|
101288
101307
|
"inheritedFrom": {
|
|
101289
|
-
"name": "
|
|
101290
|
-
"module": "
|
|
101308
|
+
"name": "SbbRadioButtonCommonElementMixin",
|
|
101309
|
+
"module": "radio-button/common/radio-button-common.js"
|
|
101291
101310
|
}
|
|
101292
101311
|
},
|
|
101293
101312
|
{
|
|
101294
|
-
"
|
|
101295
|
-
"
|
|
101313
|
+
"name": "checked",
|
|
101314
|
+
"description": "Whether the radio button is checked.",
|
|
101296
101315
|
"type": {
|
|
101297
|
-
"text": "
|
|
101316
|
+
"text": "boolean"
|
|
101298
101317
|
},
|
|
101299
|
-
"
|
|
101300
|
-
"description": "Returns the ValidityState object for this element.",
|
|
101301
|
-
"readonly": true,
|
|
101318
|
+
"fieldName": "checked",
|
|
101302
101319
|
"inheritedFrom": {
|
|
101303
|
-
"name": "
|
|
101304
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
101320
|
+
"name": "SbbFormAssociatedRadioButtonMixin",
|
|
101321
|
+
"module": "core/mixins/form-associated-radio-button-mixin.js"
|
|
101305
101322
|
}
|
|
101306
101323
|
},
|
|
101307
101324
|
{
|
|
101308
|
-
"
|
|
101309
|
-
"
|
|
101325
|
+
"name": "name",
|
|
101326
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
101310
101327
|
"type": {
|
|
101311
101328
|
"text": "string"
|
|
101312
101329
|
},
|
|
101313
|
-
"
|
|
101314
|
-
"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.",
|
|
101315
|
-
"readonly": true,
|
|
101330
|
+
"fieldName": "name",
|
|
101316
101331
|
"inheritedFrom": {
|
|
101317
101332
|
"name": "SbbFormAssociatedMixin",
|
|
101318
101333
|
"module": "core/mixins/form-associated-mixin.js"
|
|
101319
101334
|
}
|
|
101320
101335
|
},
|
|
101321
101336
|
{
|
|
101322
|
-
"
|
|
101323
|
-
"
|
|
101337
|
+
"name": "disabled",
|
|
101338
|
+
"description": "Whether the component is disabled.",
|
|
101339
|
+
"default": "false",
|
|
101324
101340
|
"type": {
|
|
101325
101341
|
"text": "boolean"
|
|
101326
101342
|
},
|
|
101327
|
-
"
|
|
101328
|
-
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
101329
|
-
"readonly": true,
|
|
101343
|
+
"fieldName": "disabled",
|
|
101330
101344
|
"inheritedFrom": {
|
|
101331
|
-
"name": "
|
|
101332
|
-
"module": "core/mixins/
|
|
101345
|
+
"name": "SbbDisabledMixin",
|
|
101346
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
101333
101347
|
}
|
|
101334
101348
|
},
|
|
101335
101349
|
{
|
|
101336
|
-
"
|
|
101337
|
-
"
|
|
101338
|
-
"
|
|
101339
|
-
|
|
101350
|
+
"name": "required",
|
|
101351
|
+
"description": "Whether the component is required.",
|
|
101352
|
+
"type": {
|
|
101353
|
+
"text": "boolean"
|
|
101354
|
+
},
|
|
101355
|
+
"fieldName": "required",
|
|
101340
101356
|
"inheritedFrom": {
|
|
101341
|
-
"name": "
|
|
101342
|
-
"module": "core/mixins/
|
|
101357
|
+
"name": "SbbRequiredMixin",
|
|
101358
|
+
"module": "core/mixins/required-mixin.js"
|
|
101343
101359
|
}
|
|
101360
|
+
}
|
|
101361
|
+
],
|
|
101362
|
+
"mixins": [
|
|
101363
|
+
{
|
|
101364
|
+
"name": "SbbPanelMixin",
|
|
101365
|
+
"module": "core/mixins.js"
|
|
101366
|
+
},
|
|
101367
|
+
{
|
|
101368
|
+
"name": "SbbRadioButtonCommonElementMixin",
|
|
101369
|
+
"module": "radio-button/common.js"
|
|
101370
|
+
},
|
|
101371
|
+
{
|
|
101372
|
+
"name": "SbbUpdateSchedulerMixin",
|
|
101373
|
+
"module": "core/mixins.js"
|
|
101374
|
+
}
|
|
101375
|
+
],
|
|
101376
|
+
"superclass": {
|
|
101377
|
+
"name": "LitElement",
|
|
101378
|
+
"package": "lit"
|
|
101379
|
+
},
|
|
101380
|
+
"classGenerics": "T = string",
|
|
101381
|
+
"tagName": "sbb-radio-button-panel",
|
|
101382
|
+
"customElement": true
|
|
101383
|
+
}
|
|
101384
|
+
],
|
|
101385
|
+
"exports": [
|
|
101386
|
+
{
|
|
101387
|
+
"kind": "js",
|
|
101388
|
+
"name": "SbbRadioButtonPanelElement",
|
|
101389
|
+
"declaration": {
|
|
101390
|
+
"name": "SbbRadioButtonPanelElement",
|
|
101391
|
+
"module": "radio-button/radio-button-panel/radio-button-panel.component.js"
|
|
101392
|
+
}
|
|
101393
|
+
},
|
|
101394
|
+
{
|
|
101395
|
+
"kind": "custom-element-definition",
|
|
101396
|
+
"name": "sbb-radio-button-panel",
|
|
101397
|
+
"declaration": {
|
|
101398
|
+
"name": "SbbRadioButtonPanelElement",
|
|
101399
|
+
"module": "radio-button/radio-button-panel/radio-button-panel.component.js"
|
|
101400
|
+
}
|
|
101401
|
+
}
|
|
101402
|
+
]
|
|
101403
|
+
},
|
|
101404
|
+
{
|
|
101405
|
+
"kind": "javascript-module",
|
|
101406
|
+
"path": "radio-button/radio-button-group/radio-button-group.component.js",
|
|
101407
|
+
"declarations": [
|
|
101408
|
+
{
|
|
101409
|
+
"kind": "class",
|
|
101410
|
+
"description": "It can be used as a container for one or more `sbb-radio-button`.",
|
|
101411
|
+
"name": "SbbRadioButtonGroupElement",
|
|
101412
|
+
"slots": [
|
|
101413
|
+
{
|
|
101414
|
+
"description": "Use the unnamed slot to add `sbb-radio-button` elements to the `sbb-radio-button-group`.",
|
|
101415
|
+
"name": ""
|
|
101344
101416
|
},
|
|
101417
|
+
{
|
|
101418
|
+
"description": "Use this to provide a `sbb-error` to show an error message.",
|
|
101419
|
+
"name": "error"
|
|
101420
|
+
}
|
|
101421
|
+
],
|
|
101422
|
+
"members": [
|
|
101345
101423
|
{
|
|
101346
101424
|
"kind": "field",
|
|
101347
|
-
"name": "
|
|
101425
|
+
"name": "role",
|
|
101348
101426
|
"type": {
|
|
101349
|
-
"text": "
|
|
101427
|
+
"text": "string"
|
|
101350
101428
|
},
|
|
101351
|
-
"privacy": "
|
|
101352
|
-
"
|
|
101353
|
-
"
|
|
101354
|
-
"
|
|
101355
|
-
"name": "SbbFormAssociatedMixin",
|
|
101356
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
101357
|
-
}
|
|
101429
|
+
"privacy": "public",
|
|
101430
|
+
"static": true,
|
|
101431
|
+
"readonly": true,
|
|
101432
|
+
"default": "'radiogroup'"
|
|
101358
101433
|
},
|
|
101359
101434
|
{
|
|
101360
|
-
"kind": "
|
|
101361
|
-
"name": "
|
|
101435
|
+
"kind": "field",
|
|
101436
|
+
"name": "events",
|
|
101362
101437
|
"privacy": "public",
|
|
101363
|
-
"
|
|
101364
|
-
|
|
101365
|
-
|
|
101366
|
-
|
|
101367
|
-
|
|
101368
|
-
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
101369
|
-
"inheritedFrom": {
|
|
101370
|
-
"name": "SbbFormAssociatedMixin",
|
|
101371
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
101438
|
+
"static": true,
|
|
101439
|
+
"readonly": true,
|
|
101440
|
+
"default": "{ didChange: 'didChange', change: 'change', input: 'input', }",
|
|
101441
|
+
"type": {
|
|
101442
|
+
"text": "{\n didChange: 'didChange',\n change: 'change',\n input: 'input',\n }"
|
|
101372
101443
|
}
|
|
101373
101444
|
},
|
|
101374
101445
|
{
|
|
101375
|
-
"kind": "
|
|
101376
|
-
"name": "
|
|
101446
|
+
"kind": "field",
|
|
101447
|
+
"name": "allowEmptySelection",
|
|
101448
|
+
"type": {
|
|
101449
|
+
"text": "boolean"
|
|
101450
|
+
},
|
|
101377
101451
|
"privacy": "public",
|
|
101378
|
-
"
|
|
101379
|
-
|
|
101380
|
-
|
|
101381
|
-
|
|
101452
|
+
"default": "false",
|
|
101453
|
+
"description": "Whether the radios can be deselected.",
|
|
101454
|
+
"attribute": "allow-empty-selection"
|
|
101455
|
+
},
|
|
101456
|
+
{
|
|
101457
|
+
"kind": "field",
|
|
101458
|
+
"name": "required",
|
|
101459
|
+
"type": {
|
|
101460
|
+
"text": "boolean"
|
|
101382
101461
|
},
|
|
101383
|
-
"
|
|
101384
|
-
"
|
|
101385
|
-
|
|
101386
|
-
|
|
101387
|
-
}
|
|
101462
|
+
"privacy": "public",
|
|
101463
|
+
"default": "false",
|
|
101464
|
+
"description": "Whether the radio group is required.",
|
|
101465
|
+
"attribute": "required"
|
|
101388
101466
|
},
|
|
101389
101467
|
{
|
|
101390
|
-
"kind": "
|
|
101391
|
-
"name": "
|
|
101468
|
+
"kind": "field",
|
|
101469
|
+
"name": "value",
|
|
101392
101470
|
"privacy": "public",
|
|
101393
|
-
"
|
|
101394
|
-
|
|
101395
|
-
|
|
101396
|
-
}
|
|
101471
|
+
"description": "The value of the radio group.",
|
|
101472
|
+
"type": {
|
|
101473
|
+
"text": "(T = string) | null"
|
|
101397
101474
|
},
|
|
101398
|
-
"
|
|
101399
|
-
{
|
|
101400
|
-
"name": "message",
|
|
101401
|
-
"type": {
|
|
101402
|
-
"text": "string"
|
|
101403
|
-
}
|
|
101404
|
-
}
|
|
101405
|
-
],
|
|
101406
|
-
"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.",
|
|
101407
|
-
"inheritedFrom": {
|
|
101408
|
-
"name": "SbbFormAssociatedMixin",
|
|
101409
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
101410
|
-
}
|
|
101475
|
+
"attribute": "value"
|
|
101411
101476
|
},
|
|
101412
101477
|
{
|
|
101413
|
-
"kind": "
|
|
101414
|
-
"name": "
|
|
101478
|
+
"kind": "field",
|
|
101479
|
+
"name": "_fallbackValue",
|
|
101480
|
+
"type": {
|
|
101481
|
+
"text": "T | null"
|
|
101482
|
+
},
|
|
101415
101483
|
"privacy": "private",
|
|
101416
|
-
"
|
|
101417
|
-
|
|
101418
|
-
|
|
101419
|
-
|
|
101484
|
+
"default": "null",
|
|
101485
|
+
"description": "Used to preserve the `value` in case the radios are not yet 'loaded'"
|
|
101486
|
+
},
|
|
101487
|
+
{
|
|
101488
|
+
"kind": "field",
|
|
101489
|
+
"name": "size",
|
|
101490
|
+
"type": {
|
|
101491
|
+
"text": "SbbRadioButtonSize"
|
|
101420
101492
|
},
|
|
101421
|
-
"
|
|
101422
|
-
|
|
101423
|
-
|
|
101424
|
-
|
|
101493
|
+
"privacy": "public",
|
|
101494
|
+
"description": "Size variant, either xs, s or m.",
|
|
101495
|
+
"default": "'m' / 'xs' (lean)",
|
|
101496
|
+
"attribute": "size"
|
|
101425
101497
|
},
|
|
101426
101498
|
{
|
|
101427
|
-
"kind": "
|
|
101428
|
-
"name": "
|
|
101429
|
-
"
|
|
101430
|
-
|
|
101431
|
-
"type": {
|
|
101432
|
-
"text": "FormRestoreState"
|
|
101433
|
-
}
|
|
101499
|
+
"kind": "field",
|
|
101500
|
+
"name": "horizontalFrom",
|
|
101501
|
+
"type": {
|
|
101502
|
+
"text": "SbbHorizontalFrom | null"
|
|
101434
101503
|
},
|
|
101435
|
-
"
|
|
101436
|
-
|
|
101437
|
-
|
|
101438
|
-
|
|
101504
|
+
"privacy": "public",
|
|
101505
|
+
"default": "null",
|
|
101506
|
+
"description": "Overrides the behaviour of `orientation` property.",
|
|
101507
|
+
"attribute": "horizontal-from",
|
|
101508
|
+
"reflects": true
|
|
101439
101509
|
},
|
|
101440
101510
|
{
|
|
101441
|
-
"kind": "
|
|
101442
|
-
"name": "
|
|
101443
|
-
"
|
|
101444
|
-
|
|
101445
|
-
"type": {
|
|
101446
|
-
"text": "void"
|
|
101447
|
-
}
|
|
101511
|
+
"kind": "field",
|
|
101512
|
+
"name": "orientation",
|
|
101513
|
+
"type": {
|
|
101514
|
+
"text": "SbbOrientation"
|
|
101448
101515
|
},
|
|
101449
|
-
"
|
|
101450
|
-
|
|
101451
|
-
|
|
101452
|
-
|
|
101453
|
-
|
|
101454
|
-
|
|
101455
|
-
|
|
101456
|
-
|
|
101457
|
-
|
|
101458
|
-
|
|
101459
|
-
|
|
101460
|
-
|
|
101461
|
-
|
|
101462
|
-
|
|
101463
|
-
|
|
101464
|
-
|
|
101465
|
-
|
|
101466
|
-
|
|
101467
|
-
|
|
101468
|
-
|
|
101469
|
-
|
|
101470
|
-
|
|
101471
|
-
"
|
|
101472
|
-
|
|
101473
|
-
|
|
101474
|
-
}
|
|
101516
|
+
"privacy": "public",
|
|
101517
|
+
"default": "'horizontal'",
|
|
101518
|
+
"description": "Radio group's orientation, either horizontal or vertical.",
|
|
101519
|
+
"attribute": "orientation",
|
|
101520
|
+
"reflects": true
|
|
101521
|
+
},
|
|
101522
|
+
{
|
|
101523
|
+
"kind": "field",
|
|
101524
|
+
"name": "name",
|
|
101525
|
+
"type": {
|
|
101526
|
+
"text": "string"
|
|
101527
|
+
},
|
|
101528
|
+
"privacy": "public",
|
|
101529
|
+
"default": "`sbb-radio-button-group-${++nextId}`",
|
|
101530
|
+
"attribute": "name"
|
|
101531
|
+
},
|
|
101532
|
+
{
|
|
101533
|
+
"kind": "field",
|
|
101534
|
+
"name": "radioButtons",
|
|
101535
|
+
"type": {
|
|
101536
|
+
"text": "(SbbRadioButtonElement<T> | SbbRadioButtonPanelElement<T>)[]"
|
|
101537
|
+
},
|
|
101538
|
+
"privacy": "public",
|
|
101539
|
+
"description": "List of contained radio buttons.",
|
|
101540
|
+
"readonly": true
|
|
101475
101541
|
},
|
|
101476
101542
|
{
|
|
101477
101543
|
"kind": "method",
|
|
101478
|
-
"name": "
|
|
101479
|
-
"privacy": "
|
|
101544
|
+
"name": "_onRadioChange",
|
|
101545
|
+
"privacy": "private",
|
|
101480
101546
|
"return": {
|
|
101481
101547
|
"type": {
|
|
101482
101548
|
"text": "void"
|
|
@@ -101484,230 +101550,180 @@
|
|
|
101484
101550
|
},
|
|
101485
101551
|
"parameters": [
|
|
101486
101552
|
{
|
|
101487
|
-
"name": "
|
|
101553
|
+
"name": "event",
|
|
101488
101554
|
"type": {
|
|
101489
|
-
"text": "
|
|
101555
|
+
"text": "Event"
|
|
101490
101556
|
}
|
|
101491
101557
|
}
|
|
101492
|
-
]
|
|
101493
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
101494
|
-
"inheritedFrom": {
|
|
101495
|
-
"name": "SbbFormAssociatedMixin",
|
|
101496
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
101497
|
-
}
|
|
101558
|
+
]
|
|
101498
101559
|
},
|
|
101499
101560
|
{
|
|
101500
101561
|
"kind": "method",
|
|
101501
|
-
"name": "
|
|
101562
|
+
"name": "_updateRadiosName",
|
|
101502
101563
|
"privacy": "private",
|
|
101503
101564
|
"return": {
|
|
101504
101565
|
"type": {
|
|
101505
101566
|
"text": "void"
|
|
101506
101567
|
}
|
|
101507
101568
|
},
|
|
101508
|
-
"
|
|
101509
|
-
"name": "SbbFormAssociatedMixin",
|
|
101510
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
101511
|
-
}
|
|
101569
|
+
"description": "Proxy 'name' to child radio-buttons"
|
|
101512
101570
|
},
|
|
101513
101571
|
{
|
|
101514
101572
|
"kind": "method",
|
|
101515
|
-
"name": "
|
|
101516
|
-
"privacy": "
|
|
101573
|
+
"name": "_updateRadioState",
|
|
101574
|
+
"privacy": "private",
|
|
101517
101575
|
"return": {
|
|
101518
101576
|
"type": {
|
|
101519
101577
|
"text": "void"
|
|
101520
101578
|
}
|
|
101521
101579
|
},
|
|
101522
|
-
"
|
|
101523
|
-
{
|
|
101524
|
-
"name": "value",
|
|
101525
|
-
"type": {
|
|
101526
|
-
"text": "string"
|
|
101527
|
-
}
|
|
101528
|
-
},
|
|
101529
|
-
{
|
|
101530
|
-
"name": "force",
|
|
101531
|
-
"optional": true,
|
|
101532
|
-
"type": {
|
|
101533
|
-
"text": "boolean"
|
|
101534
|
-
}
|
|
101535
|
-
}
|
|
101536
|
-
],
|
|
101537
|
-
"inheritedFrom": {
|
|
101538
|
-
"name": "SbbElementInternalsMixin",
|
|
101539
|
-
"module": "core/mixins/element-internals-mixin.js"
|
|
101540
|
-
}
|
|
101580
|
+
"description": "Re-trigger the setter and update the checked state of the radios.\nMainly used to cover cases where the setter is called before the radios are loaded"
|
|
101541
101581
|
},
|
|
101542
101582
|
{
|
|
101543
101583
|
"kind": "field",
|
|
101544
|
-
"name": "
|
|
101545
|
-
"privacy": "
|
|
101584
|
+
"name": "disabled",
|
|
101585
|
+
"privacy": "public",
|
|
101586
|
+
"description": "Whether the component is disabled.",
|
|
101587
|
+
"default": "false",
|
|
101588
|
+
"type": {
|
|
101589
|
+
"text": "boolean"
|
|
101590
|
+
},
|
|
101591
|
+
"attribute": "disabled",
|
|
101592
|
+
"reflects": true,
|
|
101546
101593
|
"inheritedFrom": {
|
|
101547
|
-
"name": "
|
|
101548
|
-
"module": "core/mixins/
|
|
101594
|
+
"name": "SbbDisabledMixin",
|
|
101595
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
101549
101596
|
}
|
|
101550
101597
|
},
|
|
101551
101598
|
{
|
|
101552
101599
|
"kind": "field",
|
|
101553
|
-
"name": "
|
|
101600
|
+
"name": "#disabled",
|
|
101554
101601
|
"privacy": "private",
|
|
101602
|
+
"type": {
|
|
101603
|
+
"text": "boolean"
|
|
101604
|
+
},
|
|
101605
|
+
"default": "false",
|
|
101555
101606
|
"inheritedFrom": {
|
|
101556
|
-
"name": "
|
|
101557
|
-
"module": "core/mixins/
|
|
101607
|
+
"name": "SbbDisabledMixin",
|
|
101608
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
101558
101609
|
}
|
|
101559
101610
|
},
|
|
101560
101611
|
{
|
|
101561
101612
|
"kind": "method",
|
|
101562
|
-
"name": "
|
|
101613
|
+
"name": "isDisabledExternally",
|
|
101563
101614
|
"privacy": "protected",
|
|
101564
101615
|
"return": {
|
|
101565
101616
|
"type": {
|
|
101566
|
-
"text": "
|
|
101617
|
+
"text": "boolean"
|
|
101567
101618
|
}
|
|
101568
101619
|
},
|
|
101620
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
101569
101621
|
"inheritedFrom": {
|
|
101570
|
-
"name": "
|
|
101571
|
-
"module": "core/mixins/
|
|
101622
|
+
"name": "SbbDisabledMixin",
|
|
101623
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
101572
101624
|
}
|
|
101573
101625
|
},
|
|
101574
101626
|
{
|
|
101575
101627
|
"kind": "method",
|
|
101576
|
-
"name": "
|
|
101628
|
+
"name": "toggleState",
|
|
101577
101629
|
"privacy": "protected",
|
|
101578
101630
|
"return": {
|
|
101579
101631
|
"type": {
|
|
101580
101632
|
"text": "void"
|
|
101581
101633
|
}
|
|
101582
101634
|
},
|
|
101583
|
-
"
|
|
101584
|
-
|
|
101585
|
-
|
|
101586
|
-
|
|
101587
|
-
|
|
101588
|
-
|
|
101589
|
-
|
|
101590
|
-
|
|
101591
|
-
|
|
101592
|
-
|
|
101593
|
-
|
|
101594
|
-
|
|
101635
|
+
"parameters": [
|
|
101636
|
+
{
|
|
101637
|
+
"name": "value",
|
|
101638
|
+
"type": {
|
|
101639
|
+
"text": "string"
|
|
101640
|
+
}
|
|
101641
|
+
},
|
|
101642
|
+
{
|
|
101643
|
+
"name": "force",
|
|
101644
|
+
"optional": true,
|
|
101645
|
+
"type": {
|
|
101646
|
+
"text": "boolean"
|
|
101647
|
+
}
|
|
101595
101648
|
}
|
|
101596
|
-
|
|
101649
|
+
],
|
|
101597
101650
|
"inheritedFrom": {
|
|
101598
|
-
"name": "
|
|
101599
|
-
"module": "core/mixins/
|
|
101651
|
+
"name": "SbbElementInternalsMixin",
|
|
101652
|
+
"module": "core/mixins/element-internals-mixin.js"
|
|
101600
101653
|
}
|
|
101601
101654
|
}
|
|
101602
101655
|
],
|
|
101603
101656
|
"events": [
|
|
101604
101657
|
{
|
|
101605
|
-
"name": "
|
|
101658
|
+
"name": "didChange",
|
|
101606
101659
|
"type": {
|
|
101607
101660
|
"text": "Event"
|
|
101608
101661
|
},
|
|
101609
|
-
"description": "
|
|
101610
|
-
"
|
|
101611
|
-
"name": "SbbFormAssociatedRadioButtonMixin",
|
|
101612
|
-
"module": "core/mixins/form-associated-radio-button-mixin.js"
|
|
101613
|
-
}
|
|
101614
|
-
},
|
|
101615
|
-
{
|
|
101616
|
-
"name": "input",
|
|
101617
|
-
"type": {
|
|
101618
|
-
"text": "InputEvent"
|
|
101619
|
-
},
|
|
101620
|
-
"description": "The input event fires when the value has been changed as a direct result of a user action.",
|
|
101621
|
-
"inheritedFrom": {
|
|
101622
|
-
"name": "SbbFormAssociatedRadioButtonMixin",
|
|
101623
|
-
"module": "core/mixins/form-associated-radio-button-mixin.js"
|
|
101624
|
-
}
|
|
101662
|
+
"description": "Deprecated. Mirrors change event for React. Will be removed once React properly supports change events.",
|
|
101663
|
+
"deprecated": "true"
|
|
101625
101664
|
}
|
|
101626
101665
|
],
|
|
101627
101666
|
"attributes": [
|
|
101628
101667
|
{
|
|
101629
|
-
"name": "
|
|
101668
|
+
"name": "allow-empty-selection",
|
|
101630
101669
|
"type": {
|
|
101631
|
-
"text": "
|
|
101670
|
+
"text": "boolean"
|
|
101632
101671
|
},
|
|
101633
|
-
"default": "
|
|
101634
|
-
"description": "
|
|
101635
|
-
"fieldName": "
|
|
101672
|
+
"default": "false",
|
|
101673
|
+
"description": "Whether the radios can be deselected.",
|
|
101674
|
+
"fieldName": "allowEmptySelection"
|
|
101636
101675
|
},
|
|
101637
101676
|
{
|
|
101638
|
-
"name": "
|
|
101677
|
+
"name": "required",
|
|
101639
101678
|
"type": {
|
|
101640
|
-
"text": "
|
|
101679
|
+
"text": "boolean"
|
|
101641
101680
|
},
|
|
101642
|
-
"default": "
|
|
101643
|
-
"description": "
|
|
101644
|
-
"fieldName": "
|
|
101645
|
-
"inheritedFrom": {
|
|
101646
|
-
"name": "SbbPanelMixin",
|
|
101647
|
-
"module": "core/mixins/panel-mixin.js"
|
|
101648
|
-
}
|
|
101681
|
+
"default": "false",
|
|
101682
|
+
"description": "Whether the radio group is required.",
|
|
101683
|
+
"fieldName": "required"
|
|
101649
101684
|
},
|
|
101650
101685
|
{
|
|
101651
|
-
"name": "
|
|
101686
|
+
"name": "value",
|
|
101687
|
+
"description": "The value of the radio group.",
|
|
101652
101688
|
"type": {
|
|
101653
|
-
"text": "
|
|
101689
|
+
"text": "T | null"
|
|
101654
101690
|
},
|
|
101655
|
-
"
|
|
101656
|
-
"description": "Whether the unselected panel has a border.",
|
|
101657
|
-
"fieldName": "borderless",
|
|
101658
|
-
"inheritedFrom": {
|
|
101659
|
-
"name": "SbbPanelMixin",
|
|
101660
|
-
"module": "core/mixins/panel-mixin.js"
|
|
101661
|
-
}
|
|
101691
|
+
"fieldName": "value"
|
|
101662
101692
|
},
|
|
101663
101693
|
{
|
|
101664
101694
|
"name": "size",
|
|
101665
101695
|
"type": {
|
|
101666
|
-
"text": "
|
|
101696
|
+
"text": "SbbRadioButtonSize"
|
|
101667
101697
|
},
|
|
101668
101698
|
"description": "Size variant, either xs, s or m.",
|
|
101669
101699
|
"default": "'m' / 'xs' (lean)",
|
|
101670
|
-
"fieldName": "size"
|
|
101671
|
-
"inheritedFrom": {
|
|
101672
|
-
"name": "SbbPanelMixin",
|
|
101673
|
-
"module": "core/mixins/panel-mixin.js"
|
|
101674
|
-
}
|
|
101700
|
+
"fieldName": "size"
|
|
101675
101701
|
},
|
|
101676
101702
|
{
|
|
101677
|
-
"name": "
|
|
101678
|
-
"description": "Whether the radio can be deselected.",
|
|
101703
|
+
"name": "horizontal-from",
|
|
101679
101704
|
"type": {
|
|
101680
|
-
"text": "
|
|
101705
|
+
"text": "SbbHorizontalFrom | null"
|
|
101681
101706
|
},
|
|
101682
|
-
"
|
|
101683
|
-
"
|
|
101684
|
-
|
|
101685
|
-
"module": "radio-button/common/radio-button-common.js"
|
|
101686
|
-
}
|
|
101707
|
+
"default": "null",
|
|
101708
|
+
"description": "Overrides the behaviour of `orientation` property.",
|
|
101709
|
+
"fieldName": "horizontalFrom"
|
|
101687
101710
|
},
|
|
101688
101711
|
{
|
|
101689
|
-
"name": "
|
|
101690
|
-
"description": "Whether the radio button is checked.",
|
|
101712
|
+
"name": "orientation",
|
|
101691
101713
|
"type": {
|
|
101692
|
-
"text": "
|
|
101714
|
+
"text": "SbbOrientation"
|
|
101693
101715
|
},
|
|
101694
|
-
"
|
|
101695
|
-
"
|
|
101696
|
-
|
|
101697
|
-
"module": "core/mixins/form-associated-radio-button-mixin.js"
|
|
101698
|
-
}
|
|
101716
|
+
"default": "'horizontal'",
|
|
101717
|
+
"description": "Radio group's orientation, either horizontal or vertical.",
|
|
101718
|
+
"fieldName": "orientation"
|
|
101699
101719
|
},
|
|
101700
101720
|
{
|
|
101701
101721
|
"name": "name",
|
|
101702
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
101703
101722
|
"type": {
|
|
101704
101723
|
"text": "string"
|
|
101705
101724
|
},
|
|
101706
|
-
"
|
|
101707
|
-
"
|
|
101708
|
-
"name": "SbbFormAssociatedMixin",
|
|
101709
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
101710
|
-
}
|
|
101725
|
+
"default": "`sbb-radio-button-group-${++nextId}`",
|
|
101726
|
+
"fieldName": "name"
|
|
101711
101727
|
},
|
|
101712
101728
|
{
|
|
101713
101729
|
"name": "disabled",
|
|
@@ -101721,31 +101737,15 @@
|
|
|
101721
101737
|
"name": "SbbDisabledMixin",
|
|
101722
101738
|
"module": "core/mixins/disabled-mixin.js"
|
|
101723
101739
|
}
|
|
101724
|
-
},
|
|
101725
|
-
{
|
|
101726
|
-
"name": "required",
|
|
101727
|
-
"description": "Whether the component is required.",
|
|
101728
|
-
"type": {
|
|
101729
|
-
"text": "boolean"
|
|
101730
|
-
},
|
|
101731
|
-
"fieldName": "required",
|
|
101732
|
-
"inheritedFrom": {
|
|
101733
|
-
"name": "SbbRequiredMixin",
|
|
101734
|
-
"module": "core/mixins/required-mixin.js"
|
|
101735
|
-
}
|
|
101736
101740
|
}
|
|
101737
101741
|
],
|
|
101738
101742
|
"mixins": [
|
|
101739
101743
|
{
|
|
101740
|
-
"name": "
|
|
101744
|
+
"name": "SbbDisabledMixin",
|
|
101741
101745
|
"module": "core/mixins.js"
|
|
101742
101746
|
},
|
|
101743
101747
|
{
|
|
101744
|
-
"name": "
|
|
101745
|
-
"module": "radio-button/common.js"
|
|
101746
|
-
},
|
|
101747
|
-
{
|
|
101748
|
-
"name": "SbbUpdateSchedulerMixin",
|
|
101748
|
+
"name": "SbbElementInternalsMixin",
|
|
101749
101749
|
"module": "core/mixins.js"
|
|
101750
101750
|
}
|
|
101751
101751
|
],
|
|
@@ -101754,25 +101754,25 @@
|
|
|
101754
101754
|
"package": "lit"
|
|
101755
101755
|
},
|
|
101756
101756
|
"classGenerics": "T = string",
|
|
101757
|
-
"tagName": "sbb-radio-button-
|
|
101757
|
+
"tagName": "sbb-radio-button-group",
|
|
101758
101758
|
"customElement": true
|
|
101759
101759
|
}
|
|
101760
101760
|
],
|
|
101761
101761
|
"exports": [
|
|
101762
101762
|
{
|
|
101763
101763
|
"kind": "js",
|
|
101764
|
-
"name": "
|
|
101764
|
+
"name": "SbbRadioButtonGroupElement",
|
|
101765
101765
|
"declaration": {
|
|
101766
|
-
"name": "
|
|
101767
|
-
"module": "radio-button/radio-button-
|
|
101766
|
+
"name": "SbbRadioButtonGroupElement",
|
|
101767
|
+
"module": "radio-button/radio-button-group/radio-button-group.component.js"
|
|
101768
101768
|
}
|
|
101769
101769
|
},
|
|
101770
101770
|
{
|
|
101771
101771
|
"kind": "custom-element-definition",
|
|
101772
|
-
"name": "sbb-radio-button-
|
|
101772
|
+
"name": "sbb-radio-button-group",
|
|
101773
101773
|
"declaration": {
|
|
101774
|
-
"name": "
|
|
101775
|
-
"module": "radio-button/radio-button-
|
|
101774
|
+
"name": "SbbRadioButtonGroupElement",
|
|
101775
|
+
"module": "radio-button/radio-button-group/radio-button-group.component.js"
|
|
101776
101776
|
}
|
|
101777
101777
|
}
|
|
101778
101778
|
]
|