@sbb-esta/lyne-elements-dev 4.9.0-dev.1774933669 → 4.9.0-dev.1775022513
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/core.css +26 -0
- package/custom-elements.json +413 -409
- package/development/form-field/form-field/form-field.component.d.ts +4 -1
- package/development/form-field/form-field/form-field.component.d.ts.map +1 -1
- package/development/form-field/form-field/form-field.component.js +1 -1
- package/development/form-field/form-field.js +1 -1
- package/development/{form-field.component-BNIh6zGF.js → form-field.component-BTv2B0dZ.js} +5 -2
- package/development/form-field.js +1 -1
- package/development/form-field.pure.js +1 -1
- package/off-brand-theme.css +26 -0
- package/package.json +2 -2
- package/safety-theme.css +26 -0
- package/standard-theme.css +26 -0
package/custom-elements.json
CHANGED
|
@@ -93677,6 +93677,7 @@
|
|
|
93677
93677
|
"privacy": "public",
|
|
93678
93678
|
"default": "false",
|
|
93679
93679
|
"description": "Indicates whether the input is optional.",
|
|
93680
|
+
"deprecated": "Set the (optional) label text manually. Will be removed with next major version.",
|
|
93680
93681
|
"attribute": "optional"
|
|
93681
93682
|
},
|
|
93682
93683
|
{
|
|
@@ -94200,6 +94201,7 @@
|
|
|
94200
94201
|
},
|
|
94201
94202
|
"default": "false",
|
|
94202
94203
|
"description": "Indicates whether the input is optional.",
|
|
94204
|
+
"deprecated": "Set the (optional) label text manually. Will be removed with next major version.",
|
|
94203
94205
|
"fieldName": "optional"
|
|
94204
94206
|
},
|
|
94205
94207
|
{
|
|
@@ -128564,6 +128566,7 @@
|
|
|
128564
128566
|
"privacy": "public",
|
|
128565
128567
|
"default": "false",
|
|
128566
128568
|
"description": "Indicates whether the input is optional.",
|
|
128569
|
+
"deprecated": "Set the (optional) label text manually. Will be removed with next major version.",
|
|
128567
128570
|
"attribute": "optional",
|
|
128568
128571
|
"inheritedFrom": {
|
|
128569
128572
|
"name": "SbbFormFieldElement",
|
|
@@ -129174,6 +129177,7 @@
|
|
|
129174
129177
|
},
|
|
129175
129178
|
"default": "false",
|
|
129176
129179
|
"description": "Indicates whether the input is optional.",
|
|
129180
|
+
"deprecated": "Set the (optional) label text manually. Will be removed with next major version.",
|
|
129177
129181
|
"fieldName": "optional",
|
|
129178
129182
|
"inheritedFrom": {
|
|
129179
129183
|
"name": "SbbFormFieldElement",
|
|
@@ -130350,6 +130354,415 @@
|
|
|
130350
130354
|
}
|
|
130351
130355
|
]
|
|
130352
130356
|
},
|
|
130357
|
+
{
|
|
130358
|
+
"kind": "javascript-module",
|
|
130359
|
+
"path": "toggle/toggle-option/toggle-option.component.js",
|
|
130360
|
+
"declarations": [
|
|
130361
|
+
{
|
|
130362
|
+
"kind": "class",
|
|
130363
|
+
"description": "It displays a toggle option within a `sbb-toggle`.",
|
|
130364
|
+
"name": "SbbToggleOptionElement",
|
|
130365
|
+
"slots": [
|
|
130366
|
+
{
|
|
130367
|
+
"description": "Use the unnamed slot to add content to the label of the toggle option.",
|
|
130368
|
+
"name": ""
|
|
130369
|
+
},
|
|
130370
|
+
{
|
|
130371
|
+
"description": "Slot used to render the `sbb-icon`.",
|
|
130372
|
+
"name": "icon"
|
|
130373
|
+
}
|
|
130374
|
+
],
|
|
130375
|
+
"members": [
|
|
130376
|
+
{
|
|
130377
|
+
"kind": "field",
|
|
130378
|
+
"name": "elementName",
|
|
130379
|
+
"type": {
|
|
130380
|
+
"text": "string"
|
|
130381
|
+
},
|
|
130382
|
+
"privacy": "public",
|
|
130383
|
+
"static": true,
|
|
130384
|
+
"readonly": true,
|
|
130385
|
+
"default": "'sbb-toggle-option'",
|
|
130386
|
+
"inheritedFrom": {
|
|
130387
|
+
"name": "SbbElement",
|
|
130388
|
+
"module": "core/base-elements/element.js"
|
|
130389
|
+
}
|
|
130390
|
+
},
|
|
130391
|
+
{
|
|
130392
|
+
"kind": "field",
|
|
130393
|
+
"name": "role",
|
|
130394
|
+
"type": {
|
|
130395
|
+
"text": "string"
|
|
130396
|
+
},
|
|
130397
|
+
"privacy": "public",
|
|
130398
|
+
"static": true,
|
|
130399
|
+
"readonly": true,
|
|
130400
|
+
"default": "'radio'"
|
|
130401
|
+
},
|
|
130402
|
+
{
|
|
130403
|
+
"kind": "field",
|
|
130404
|
+
"name": "checked",
|
|
130405
|
+
"type": {
|
|
130406
|
+
"text": "boolean"
|
|
130407
|
+
},
|
|
130408
|
+
"privacy": "public",
|
|
130409
|
+
"default": "false",
|
|
130410
|
+
"description": "Whether the toggle-option is checked.",
|
|
130411
|
+
"attribute": "checked",
|
|
130412
|
+
"reflects": true
|
|
130413
|
+
},
|
|
130414
|
+
{
|
|
130415
|
+
"kind": "field",
|
|
130416
|
+
"name": "value",
|
|
130417
|
+
"type": {
|
|
130418
|
+
"text": "(T = string) | null"
|
|
130419
|
+
},
|
|
130420
|
+
"privacy": "public",
|
|
130421
|
+
"default": "null",
|
|
130422
|
+
"description": "Value of toggle-option.",
|
|
130423
|
+
"attribute": "value"
|
|
130424
|
+
},
|
|
130425
|
+
{
|
|
130426
|
+
"kind": "field",
|
|
130427
|
+
"name": "_toggle",
|
|
130428
|
+
"type": {
|
|
130429
|
+
"text": "SbbToggleElement | null"
|
|
130430
|
+
},
|
|
130431
|
+
"privacy": "private",
|
|
130432
|
+
"default": "null"
|
|
130433
|
+
},
|
|
130434
|
+
{
|
|
130435
|
+
"kind": "method",
|
|
130436
|
+
"name": "_uncheckOtherOptions",
|
|
130437
|
+
"privacy": "private",
|
|
130438
|
+
"return": {
|
|
130439
|
+
"type": {
|
|
130440
|
+
"text": "void"
|
|
130441
|
+
}
|
|
130442
|
+
}
|
|
130443
|
+
},
|
|
130444
|
+
{
|
|
130445
|
+
"kind": "method",
|
|
130446
|
+
"name": "_handleDisabledChange",
|
|
130447
|
+
"privacy": "private",
|
|
130448
|
+
"return": {
|
|
130449
|
+
"type": {
|
|
130450
|
+
"text": "void"
|
|
130451
|
+
}
|
|
130452
|
+
}
|
|
130453
|
+
},
|
|
130454
|
+
{
|
|
130455
|
+
"kind": "method",
|
|
130456
|
+
"name": "_handleInput",
|
|
130457
|
+
"privacy": "private",
|
|
130458
|
+
"return": {
|
|
130459
|
+
"type": {
|
|
130460
|
+
"text": "void"
|
|
130461
|
+
}
|
|
130462
|
+
}
|
|
130463
|
+
},
|
|
130464
|
+
{
|
|
130465
|
+
"kind": "method",
|
|
130466
|
+
"name": "_verifyTabindex",
|
|
130467
|
+
"privacy": "private",
|
|
130468
|
+
"return": {
|
|
130469
|
+
"type": {
|
|
130470
|
+
"text": "void"
|
|
130471
|
+
}
|
|
130472
|
+
}
|
|
130473
|
+
},
|
|
130474
|
+
{
|
|
130475
|
+
"kind": "field",
|
|
130476
|
+
"name": "disabled",
|
|
130477
|
+
"privacy": "public",
|
|
130478
|
+
"description": "Whether the component is disabled.",
|
|
130479
|
+
"default": "false",
|
|
130480
|
+
"type": {
|
|
130481
|
+
"text": "boolean"
|
|
130482
|
+
},
|
|
130483
|
+
"attribute": "disabled",
|
|
130484
|
+
"reflects": true,
|
|
130485
|
+
"inheritedFrom": {
|
|
130486
|
+
"name": "SbbDisabledMixin",
|
|
130487
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
130488
|
+
}
|
|
130489
|
+
},
|
|
130490
|
+
{
|
|
130491
|
+
"kind": "field",
|
|
130492
|
+
"name": "#disabled",
|
|
130493
|
+
"privacy": "private",
|
|
130494
|
+
"type": {
|
|
130495
|
+
"text": "boolean"
|
|
130496
|
+
},
|
|
130497
|
+
"default": "false",
|
|
130498
|
+
"inheritedFrom": {
|
|
130499
|
+
"name": "SbbDisabledMixin",
|
|
130500
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
130501
|
+
}
|
|
130502
|
+
},
|
|
130503
|
+
{
|
|
130504
|
+
"kind": "method",
|
|
130505
|
+
"name": "isDisabledExternally",
|
|
130506
|
+
"privacy": "protected",
|
|
130507
|
+
"return": {
|
|
130508
|
+
"type": {
|
|
130509
|
+
"text": "boolean"
|
|
130510
|
+
}
|
|
130511
|
+
},
|
|
130512
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
130513
|
+
"inheritedFrom": {
|
|
130514
|
+
"name": "SbbDisabledMixin",
|
|
130515
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
130516
|
+
}
|
|
130517
|
+
},
|
|
130518
|
+
{
|
|
130519
|
+
"kind": "field",
|
|
130520
|
+
"name": "iconName",
|
|
130521
|
+
"type": {
|
|
130522
|
+
"text": "string"
|
|
130523
|
+
},
|
|
130524
|
+
"privacy": "public",
|
|
130525
|
+
"default": "''",
|
|
130526
|
+
"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.",
|
|
130527
|
+
"attribute": "icon-name",
|
|
130528
|
+
"inheritedFrom": {
|
|
130529
|
+
"name": "SbbIconNameMixin",
|
|
130530
|
+
"module": "icon/icon-name-mixin.js"
|
|
130531
|
+
}
|
|
130532
|
+
},
|
|
130533
|
+
{
|
|
130534
|
+
"kind": "method",
|
|
130535
|
+
"name": "renderIconSlot",
|
|
130536
|
+
"privacy": "protected",
|
|
130537
|
+
"return": {
|
|
130538
|
+
"type": {
|
|
130539
|
+
"text": "TemplateResult"
|
|
130540
|
+
}
|
|
130541
|
+
},
|
|
130542
|
+
"parameters": [
|
|
130543
|
+
{
|
|
130544
|
+
"name": "classname",
|
|
130545
|
+
"optional": true,
|
|
130546
|
+
"type": {
|
|
130547
|
+
"text": "string"
|
|
130548
|
+
}
|
|
130549
|
+
}
|
|
130550
|
+
],
|
|
130551
|
+
"inheritedFrom": {
|
|
130552
|
+
"name": "SbbIconNameMixin",
|
|
130553
|
+
"module": "icon/icon-name-mixin.js"
|
|
130554
|
+
}
|
|
130555
|
+
},
|
|
130556
|
+
{
|
|
130557
|
+
"kind": "method",
|
|
130558
|
+
"name": "renderIconName",
|
|
130559
|
+
"privacy": "protected",
|
|
130560
|
+
"return": {
|
|
130561
|
+
"type": {
|
|
130562
|
+
"text": "string"
|
|
130563
|
+
}
|
|
130564
|
+
},
|
|
130565
|
+
"inheritedFrom": {
|
|
130566
|
+
"name": "SbbIconNameMixin",
|
|
130567
|
+
"module": "icon/icon-name-mixin.js"
|
|
130568
|
+
}
|
|
130569
|
+
},
|
|
130570
|
+
{
|
|
130571
|
+
"kind": "method",
|
|
130572
|
+
"name": "_renderIconName",
|
|
130573
|
+
"privacy": "private",
|
|
130574
|
+
"return": {
|
|
130575
|
+
"type": {
|
|
130576
|
+
"text": "string"
|
|
130577
|
+
}
|
|
130578
|
+
},
|
|
130579
|
+
"inheritedFrom": {
|
|
130580
|
+
"name": "SbbIconNameMixin",
|
|
130581
|
+
"module": "icon/icon-name-mixin.js"
|
|
130582
|
+
}
|
|
130583
|
+
},
|
|
130584
|
+
{
|
|
130585
|
+
"kind": "field",
|
|
130586
|
+
"name": "_hydrationRequired",
|
|
130587
|
+
"type": {
|
|
130588
|
+
"text": "boolean"
|
|
130589
|
+
},
|
|
130590
|
+
"privacy": "private",
|
|
130591
|
+
"default": "!!this.shadowRoot",
|
|
130592
|
+
"inheritedFrom": {
|
|
130593
|
+
"name": "SbbElement",
|
|
130594
|
+
"module": "core/base-elements/element.js"
|
|
130595
|
+
}
|
|
130596
|
+
},
|
|
130597
|
+
{
|
|
130598
|
+
"kind": "field",
|
|
130599
|
+
"name": "_hydrationComplete",
|
|
130600
|
+
"privacy": "private",
|
|
130601
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
130602
|
+
"inheritedFrom": {
|
|
130603
|
+
"name": "SbbElement",
|
|
130604
|
+
"module": "core/base-elements/element.js"
|
|
130605
|
+
}
|
|
130606
|
+
},
|
|
130607
|
+
{
|
|
130608
|
+
"kind": "field",
|
|
130609
|
+
"name": "_resolveHydration",
|
|
130610
|
+
"type": {
|
|
130611
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
130612
|
+
},
|
|
130613
|
+
"privacy": "private",
|
|
130614
|
+
"inheritedFrom": {
|
|
130615
|
+
"name": "SbbElement",
|
|
130616
|
+
"module": "core/base-elements/element.js"
|
|
130617
|
+
}
|
|
130618
|
+
},
|
|
130619
|
+
{
|
|
130620
|
+
"kind": "field",
|
|
130621
|
+
"name": "hydrationRequired",
|
|
130622
|
+
"type": {
|
|
130623
|
+
"text": "boolean"
|
|
130624
|
+
},
|
|
130625
|
+
"privacy": "protected",
|
|
130626
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
130627
|
+
"readonly": true,
|
|
130628
|
+
"inheritedFrom": {
|
|
130629
|
+
"name": "SbbElement",
|
|
130630
|
+
"module": "core/base-elements/element.js"
|
|
130631
|
+
},
|
|
130632
|
+
"default": "!!this.shadowRoot"
|
|
130633
|
+
},
|
|
130634
|
+
{
|
|
130635
|
+
"kind": "method",
|
|
130636
|
+
"name": "toggleState",
|
|
130637
|
+
"privacy": "protected",
|
|
130638
|
+
"return": {
|
|
130639
|
+
"type": {
|
|
130640
|
+
"text": "void"
|
|
130641
|
+
}
|
|
130642
|
+
},
|
|
130643
|
+
"parameters": [
|
|
130644
|
+
{
|
|
130645
|
+
"name": "value",
|
|
130646
|
+
"type": {
|
|
130647
|
+
"text": "string"
|
|
130648
|
+
}
|
|
130649
|
+
},
|
|
130650
|
+
{
|
|
130651
|
+
"name": "force",
|
|
130652
|
+
"optional": true,
|
|
130653
|
+
"type": {
|
|
130654
|
+
"text": "boolean"
|
|
130655
|
+
}
|
|
130656
|
+
}
|
|
130657
|
+
],
|
|
130658
|
+
"inheritedFrom": {
|
|
130659
|
+
"name": "SbbElement",
|
|
130660
|
+
"module": "core/base-elements/element.js"
|
|
130661
|
+
}
|
|
130662
|
+
},
|
|
130663
|
+
{
|
|
130664
|
+
"kind": "field",
|
|
130665
|
+
"name": "['_$sbbElement$']",
|
|
130666
|
+
"type": {
|
|
130667
|
+
"text": "boolean"
|
|
130668
|
+
},
|
|
130669
|
+
"privacy": "public",
|
|
130670
|
+
"static": true,
|
|
130671
|
+
"default": "true",
|
|
130672
|
+
"inheritedFrom": {
|
|
130673
|
+
"name": "SbbElement",
|
|
130674
|
+
"module": "core/base-elements/element.js"
|
|
130675
|
+
}
|
|
130676
|
+
},
|
|
130677
|
+
{
|
|
130678
|
+
"kind": "field",
|
|
130679
|
+
"name": "_controllers",
|
|
130680
|
+
"type": {
|
|
130681
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
130682
|
+
},
|
|
130683
|
+
"privacy": "private",
|
|
130684
|
+
"inheritedFrom": {
|
|
130685
|
+
"name": "SbbElement",
|
|
130686
|
+
"module": "core/base-elements/element.js"
|
|
130687
|
+
}
|
|
130688
|
+
}
|
|
130689
|
+
],
|
|
130690
|
+
"attributes": [
|
|
130691
|
+
{
|
|
130692
|
+
"name": "checked",
|
|
130693
|
+
"type": {
|
|
130694
|
+
"text": "boolean"
|
|
130695
|
+
},
|
|
130696
|
+
"default": "false",
|
|
130697
|
+
"description": "Whether the toggle-option is checked.",
|
|
130698
|
+
"fieldName": "checked"
|
|
130699
|
+
},
|
|
130700
|
+
{
|
|
130701
|
+
"name": "value",
|
|
130702
|
+
"type": {
|
|
130703
|
+
"text": "T | null"
|
|
130704
|
+
},
|
|
130705
|
+
"default": "null",
|
|
130706
|
+
"description": "Value of toggle-option.",
|
|
130707
|
+
"fieldName": "value"
|
|
130708
|
+
},
|
|
130709
|
+
{
|
|
130710
|
+
"name": "disabled",
|
|
130711
|
+
"description": "Whether the component is disabled.",
|
|
130712
|
+
"default": "false",
|
|
130713
|
+
"type": {
|
|
130714
|
+
"text": "boolean"
|
|
130715
|
+
},
|
|
130716
|
+
"fieldName": "disabled",
|
|
130717
|
+
"inheritedFrom": {
|
|
130718
|
+
"name": "SbbDisabledMixin",
|
|
130719
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
130720
|
+
}
|
|
130721
|
+
},
|
|
130722
|
+
{
|
|
130723
|
+
"name": "icon-name",
|
|
130724
|
+
"type": {
|
|
130725
|
+
"text": "string"
|
|
130726
|
+
},
|
|
130727
|
+
"default": "''",
|
|
130728
|
+
"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.",
|
|
130729
|
+
"fieldName": "iconName",
|
|
130730
|
+
"inheritedFrom": {
|
|
130731
|
+
"name": "SbbIconNameMixin",
|
|
130732
|
+
"module": "icon/icon-name-mixin.js"
|
|
130733
|
+
}
|
|
130734
|
+
}
|
|
130735
|
+
],
|
|
130736
|
+
"mixins": [
|
|
130737
|
+
{
|
|
130738
|
+
"name": "SbbDisabledMixin",
|
|
130739
|
+
"module": "core/mixins.js"
|
|
130740
|
+
},
|
|
130741
|
+
{
|
|
130742
|
+
"name": "SbbIconNameMixin",
|
|
130743
|
+
"module": "icon.js"
|
|
130744
|
+
}
|
|
130745
|
+
],
|
|
130746
|
+
"superclass": {
|
|
130747
|
+
"name": "SbbElement",
|
|
130748
|
+
"module": "core/base-elements.js"
|
|
130749
|
+
},
|
|
130750
|
+
"tagName": "sbb-toggle-option",
|
|
130751
|
+
"customElement": true,
|
|
130752
|
+
"classGenerics": "T = string"
|
|
130753
|
+
}
|
|
130754
|
+
],
|
|
130755
|
+
"exports": [
|
|
130756
|
+
{
|
|
130757
|
+
"kind": "js",
|
|
130758
|
+
"name": "SbbToggleOptionElement",
|
|
130759
|
+
"declaration": {
|
|
130760
|
+
"name": "SbbToggleOptionElement",
|
|
130761
|
+
"module": "toggle/toggle-option/toggle-option.component.js"
|
|
130762
|
+
}
|
|
130763
|
+
}
|
|
130764
|
+
]
|
|
130765
|
+
},
|
|
130353
130766
|
{
|
|
130354
130767
|
"kind": "javascript-module",
|
|
130355
130768
|
"path": "toggle/toggle/toggle.component.js",
|
|
@@ -131119,415 +131532,6 @@
|
|
|
131119
131532
|
}
|
|
131120
131533
|
]
|
|
131121
131534
|
},
|
|
131122
|
-
{
|
|
131123
|
-
"kind": "javascript-module",
|
|
131124
|
-
"path": "toggle/toggle-option/toggle-option.component.js",
|
|
131125
|
-
"declarations": [
|
|
131126
|
-
{
|
|
131127
|
-
"kind": "class",
|
|
131128
|
-
"description": "It displays a toggle option within a `sbb-toggle`.",
|
|
131129
|
-
"name": "SbbToggleOptionElement",
|
|
131130
|
-
"slots": [
|
|
131131
|
-
{
|
|
131132
|
-
"description": "Use the unnamed slot to add content to the label of the toggle option.",
|
|
131133
|
-
"name": ""
|
|
131134
|
-
},
|
|
131135
|
-
{
|
|
131136
|
-
"description": "Slot used to render the `sbb-icon`.",
|
|
131137
|
-
"name": "icon"
|
|
131138
|
-
}
|
|
131139
|
-
],
|
|
131140
|
-
"members": [
|
|
131141
|
-
{
|
|
131142
|
-
"kind": "field",
|
|
131143
|
-
"name": "elementName",
|
|
131144
|
-
"type": {
|
|
131145
|
-
"text": "string"
|
|
131146
|
-
},
|
|
131147
|
-
"privacy": "public",
|
|
131148
|
-
"static": true,
|
|
131149
|
-
"readonly": true,
|
|
131150
|
-
"default": "'sbb-toggle-option'",
|
|
131151
|
-
"inheritedFrom": {
|
|
131152
|
-
"name": "SbbElement",
|
|
131153
|
-
"module": "core/base-elements/element.js"
|
|
131154
|
-
}
|
|
131155
|
-
},
|
|
131156
|
-
{
|
|
131157
|
-
"kind": "field",
|
|
131158
|
-
"name": "role",
|
|
131159
|
-
"type": {
|
|
131160
|
-
"text": "string"
|
|
131161
|
-
},
|
|
131162
|
-
"privacy": "public",
|
|
131163
|
-
"static": true,
|
|
131164
|
-
"readonly": true,
|
|
131165
|
-
"default": "'radio'"
|
|
131166
|
-
},
|
|
131167
|
-
{
|
|
131168
|
-
"kind": "field",
|
|
131169
|
-
"name": "checked",
|
|
131170
|
-
"type": {
|
|
131171
|
-
"text": "boolean"
|
|
131172
|
-
},
|
|
131173
|
-
"privacy": "public",
|
|
131174
|
-
"default": "false",
|
|
131175
|
-
"description": "Whether the toggle-option is checked.",
|
|
131176
|
-
"attribute": "checked",
|
|
131177
|
-
"reflects": true
|
|
131178
|
-
},
|
|
131179
|
-
{
|
|
131180
|
-
"kind": "field",
|
|
131181
|
-
"name": "value",
|
|
131182
|
-
"type": {
|
|
131183
|
-
"text": "(T = string) | null"
|
|
131184
|
-
},
|
|
131185
|
-
"privacy": "public",
|
|
131186
|
-
"default": "null",
|
|
131187
|
-
"description": "Value of toggle-option.",
|
|
131188
|
-
"attribute": "value"
|
|
131189
|
-
},
|
|
131190
|
-
{
|
|
131191
|
-
"kind": "field",
|
|
131192
|
-
"name": "_toggle",
|
|
131193
|
-
"type": {
|
|
131194
|
-
"text": "SbbToggleElement | null"
|
|
131195
|
-
},
|
|
131196
|
-
"privacy": "private",
|
|
131197
|
-
"default": "null"
|
|
131198
|
-
},
|
|
131199
|
-
{
|
|
131200
|
-
"kind": "method",
|
|
131201
|
-
"name": "_uncheckOtherOptions",
|
|
131202
|
-
"privacy": "private",
|
|
131203
|
-
"return": {
|
|
131204
|
-
"type": {
|
|
131205
|
-
"text": "void"
|
|
131206
|
-
}
|
|
131207
|
-
}
|
|
131208
|
-
},
|
|
131209
|
-
{
|
|
131210
|
-
"kind": "method",
|
|
131211
|
-
"name": "_handleDisabledChange",
|
|
131212
|
-
"privacy": "private",
|
|
131213
|
-
"return": {
|
|
131214
|
-
"type": {
|
|
131215
|
-
"text": "void"
|
|
131216
|
-
}
|
|
131217
|
-
}
|
|
131218
|
-
},
|
|
131219
|
-
{
|
|
131220
|
-
"kind": "method",
|
|
131221
|
-
"name": "_handleInput",
|
|
131222
|
-
"privacy": "private",
|
|
131223
|
-
"return": {
|
|
131224
|
-
"type": {
|
|
131225
|
-
"text": "void"
|
|
131226
|
-
}
|
|
131227
|
-
}
|
|
131228
|
-
},
|
|
131229
|
-
{
|
|
131230
|
-
"kind": "method",
|
|
131231
|
-
"name": "_verifyTabindex",
|
|
131232
|
-
"privacy": "private",
|
|
131233
|
-
"return": {
|
|
131234
|
-
"type": {
|
|
131235
|
-
"text": "void"
|
|
131236
|
-
}
|
|
131237
|
-
}
|
|
131238
|
-
},
|
|
131239
|
-
{
|
|
131240
|
-
"kind": "field",
|
|
131241
|
-
"name": "disabled",
|
|
131242
|
-
"privacy": "public",
|
|
131243
|
-
"description": "Whether the component is disabled.",
|
|
131244
|
-
"default": "false",
|
|
131245
|
-
"type": {
|
|
131246
|
-
"text": "boolean"
|
|
131247
|
-
},
|
|
131248
|
-
"attribute": "disabled",
|
|
131249
|
-
"reflects": true,
|
|
131250
|
-
"inheritedFrom": {
|
|
131251
|
-
"name": "SbbDisabledMixin",
|
|
131252
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
131253
|
-
}
|
|
131254
|
-
},
|
|
131255
|
-
{
|
|
131256
|
-
"kind": "field",
|
|
131257
|
-
"name": "#disabled",
|
|
131258
|
-
"privacy": "private",
|
|
131259
|
-
"type": {
|
|
131260
|
-
"text": "boolean"
|
|
131261
|
-
},
|
|
131262
|
-
"default": "false",
|
|
131263
|
-
"inheritedFrom": {
|
|
131264
|
-
"name": "SbbDisabledMixin",
|
|
131265
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
131266
|
-
}
|
|
131267
|
-
},
|
|
131268
|
-
{
|
|
131269
|
-
"kind": "method",
|
|
131270
|
-
"name": "isDisabledExternally",
|
|
131271
|
-
"privacy": "protected",
|
|
131272
|
-
"return": {
|
|
131273
|
-
"type": {
|
|
131274
|
-
"text": "boolean"
|
|
131275
|
-
}
|
|
131276
|
-
},
|
|
131277
|
-
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
131278
|
-
"inheritedFrom": {
|
|
131279
|
-
"name": "SbbDisabledMixin",
|
|
131280
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
131281
|
-
}
|
|
131282
|
-
},
|
|
131283
|
-
{
|
|
131284
|
-
"kind": "field",
|
|
131285
|
-
"name": "iconName",
|
|
131286
|
-
"type": {
|
|
131287
|
-
"text": "string"
|
|
131288
|
-
},
|
|
131289
|
-
"privacy": "public",
|
|
131290
|
-
"default": "''",
|
|
131291
|
-
"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.",
|
|
131292
|
-
"attribute": "icon-name",
|
|
131293
|
-
"inheritedFrom": {
|
|
131294
|
-
"name": "SbbIconNameMixin",
|
|
131295
|
-
"module": "icon/icon-name-mixin.js"
|
|
131296
|
-
}
|
|
131297
|
-
},
|
|
131298
|
-
{
|
|
131299
|
-
"kind": "method",
|
|
131300
|
-
"name": "renderIconSlot",
|
|
131301
|
-
"privacy": "protected",
|
|
131302
|
-
"return": {
|
|
131303
|
-
"type": {
|
|
131304
|
-
"text": "TemplateResult"
|
|
131305
|
-
}
|
|
131306
|
-
},
|
|
131307
|
-
"parameters": [
|
|
131308
|
-
{
|
|
131309
|
-
"name": "classname",
|
|
131310
|
-
"optional": true,
|
|
131311
|
-
"type": {
|
|
131312
|
-
"text": "string"
|
|
131313
|
-
}
|
|
131314
|
-
}
|
|
131315
|
-
],
|
|
131316
|
-
"inheritedFrom": {
|
|
131317
|
-
"name": "SbbIconNameMixin",
|
|
131318
|
-
"module": "icon/icon-name-mixin.js"
|
|
131319
|
-
}
|
|
131320
|
-
},
|
|
131321
|
-
{
|
|
131322
|
-
"kind": "method",
|
|
131323
|
-
"name": "renderIconName",
|
|
131324
|
-
"privacy": "protected",
|
|
131325
|
-
"return": {
|
|
131326
|
-
"type": {
|
|
131327
|
-
"text": "string"
|
|
131328
|
-
}
|
|
131329
|
-
},
|
|
131330
|
-
"inheritedFrom": {
|
|
131331
|
-
"name": "SbbIconNameMixin",
|
|
131332
|
-
"module": "icon/icon-name-mixin.js"
|
|
131333
|
-
}
|
|
131334
|
-
},
|
|
131335
|
-
{
|
|
131336
|
-
"kind": "method",
|
|
131337
|
-
"name": "_renderIconName",
|
|
131338
|
-
"privacy": "private",
|
|
131339
|
-
"return": {
|
|
131340
|
-
"type": {
|
|
131341
|
-
"text": "string"
|
|
131342
|
-
}
|
|
131343
|
-
},
|
|
131344
|
-
"inheritedFrom": {
|
|
131345
|
-
"name": "SbbIconNameMixin",
|
|
131346
|
-
"module": "icon/icon-name-mixin.js"
|
|
131347
|
-
}
|
|
131348
|
-
},
|
|
131349
|
-
{
|
|
131350
|
-
"kind": "field",
|
|
131351
|
-
"name": "_hydrationRequired",
|
|
131352
|
-
"type": {
|
|
131353
|
-
"text": "boolean"
|
|
131354
|
-
},
|
|
131355
|
-
"privacy": "private",
|
|
131356
|
-
"default": "!!this.shadowRoot",
|
|
131357
|
-
"inheritedFrom": {
|
|
131358
|
-
"name": "SbbElement",
|
|
131359
|
-
"module": "core/base-elements/element.js"
|
|
131360
|
-
}
|
|
131361
|
-
},
|
|
131362
|
-
{
|
|
131363
|
-
"kind": "field",
|
|
131364
|
-
"name": "_hydrationComplete",
|
|
131365
|
-
"privacy": "private",
|
|
131366
|
-
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
131367
|
-
"inheritedFrom": {
|
|
131368
|
-
"name": "SbbElement",
|
|
131369
|
-
"module": "core/base-elements/element.js"
|
|
131370
|
-
}
|
|
131371
|
-
},
|
|
131372
|
-
{
|
|
131373
|
-
"kind": "field",
|
|
131374
|
-
"name": "_resolveHydration",
|
|
131375
|
-
"type": {
|
|
131376
|
-
"text": "(hydrationRequired: boolean) => void"
|
|
131377
|
-
},
|
|
131378
|
-
"privacy": "private",
|
|
131379
|
-
"inheritedFrom": {
|
|
131380
|
-
"name": "SbbElement",
|
|
131381
|
-
"module": "core/base-elements/element.js"
|
|
131382
|
-
}
|
|
131383
|
-
},
|
|
131384
|
-
{
|
|
131385
|
-
"kind": "field",
|
|
131386
|
-
"name": "hydrationRequired",
|
|
131387
|
-
"type": {
|
|
131388
|
-
"text": "boolean"
|
|
131389
|
-
},
|
|
131390
|
-
"privacy": "protected",
|
|
131391
|
-
"description": "Returns whether hydration is required and not completed.",
|
|
131392
|
-
"readonly": true,
|
|
131393
|
-
"inheritedFrom": {
|
|
131394
|
-
"name": "SbbElement",
|
|
131395
|
-
"module": "core/base-elements/element.js"
|
|
131396
|
-
},
|
|
131397
|
-
"default": "!!this.shadowRoot"
|
|
131398
|
-
},
|
|
131399
|
-
{
|
|
131400
|
-
"kind": "method",
|
|
131401
|
-
"name": "toggleState",
|
|
131402
|
-
"privacy": "protected",
|
|
131403
|
-
"return": {
|
|
131404
|
-
"type": {
|
|
131405
|
-
"text": "void"
|
|
131406
|
-
}
|
|
131407
|
-
},
|
|
131408
|
-
"parameters": [
|
|
131409
|
-
{
|
|
131410
|
-
"name": "value",
|
|
131411
|
-
"type": {
|
|
131412
|
-
"text": "string"
|
|
131413
|
-
}
|
|
131414
|
-
},
|
|
131415
|
-
{
|
|
131416
|
-
"name": "force",
|
|
131417
|
-
"optional": true,
|
|
131418
|
-
"type": {
|
|
131419
|
-
"text": "boolean"
|
|
131420
|
-
}
|
|
131421
|
-
}
|
|
131422
|
-
],
|
|
131423
|
-
"inheritedFrom": {
|
|
131424
|
-
"name": "SbbElement",
|
|
131425
|
-
"module": "core/base-elements/element.js"
|
|
131426
|
-
}
|
|
131427
|
-
},
|
|
131428
|
-
{
|
|
131429
|
-
"kind": "field",
|
|
131430
|
-
"name": "['_$sbbElement$']",
|
|
131431
|
-
"type": {
|
|
131432
|
-
"text": "boolean"
|
|
131433
|
-
},
|
|
131434
|
-
"privacy": "public",
|
|
131435
|
-
"static": true,
|
|
131436
|
-
"default": "true",
|
|
131437
|
-
"inheritedFrom": {
|
|
131438
|
-
"name": "SbbElement",
|
|
131439
|
-
"module": "core/base-elements/element.js"
|
|
131440
|
-
}
|
|
131441
|
-
},
|
|
131442
|
-
{
|
|
131443
|
-
"kind": "field",
|
|
131444
|
-
"name": "_controllers",
|
|
131445
|
-
"type": {
|
|
131446
|
-
"text": "Set<SbbReactiveController> | undefined"
|
|
131447
|
-
},
|
|
131448
|
-
"privacy": "private",
|
|
131449
|
-
"inheritedFrom": {
|
|
131450
|
-
"name": "SbbElement",
|
|
131451
|
-
"module": "core/base-elements/element.js"
|
|
131452
|
-
}
|
|
131453
|
-
}
|
|
131454
|
-
],
|
|
131455
|
-
"attributes": [
|
|
131456
|
-
{
|
|
131457
|
-
"name": "checked",
|
|
131458
|
-
"type": {
|
|
131459
|
-
"text": "boolean"
|
|
131460
|
-
},
|
|
131461
|
-
"default": "false",
|
|
131462
|
-
"description": "Whether the toggle-option is checked.",
|
|
131463
|
-
"fieldName": "checked"
|
|
131464
|
-
},
|
|
131465
|
-
{
|
|
131466
|
-
"name": "value",
|
|
131467
|
-
"type": {
|
|
131468
|
-
"text": "T | null"
|
|
131469
|
-
},
|
|
131470
|
-
"default": "null",
|
|
131471
|
-
"description": "Value of toggle-option.",
|
|
131472
|
-
"fieldName": "value"
|
|
131473
|
-
},
|
|
131474
|
-
{
|
|
131475
|
-
"name": "disabled",
|
|
131476
|
-
"description": "Whether the component is disabled.",
|
|
131477
|
-
"default": "false",
|
|
131478
|
-
"type": {
|
|
131479
|
-
"text": "boolean"
|
|
131480
|
-
},
|
|
131481
|
-
"fieldName": "disabled",
|
|
131482
|
-
"inheritedFrom": {
|
|
131483
|
-
"name": "SbbDisabledMixin",
|
|
131484
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
131485
|
-
}
|
|
131486
|
-
},
|
|
131487
|
-
{
|
|
131488
|
-
"name": "icon-name",
|
|
131489
|
-
"type": {
|
|
131490
|
-
"text": "string"
|
|
131491
|
-
},
|
|
131492
|
-
"default": "''",
|
|
131493
|
-
"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.",
|
|
131494
|
-
"fieldName": "iconName",
|
|
131495
|
-
"inheritedFrom": {
|
|
131496
|
-
"name": "SbbIconNameMixin",
|
|
131497
|
-
"module": "icon/icon-name-mixin.js"
|
|
131498
|
-
}
|
|
131499
|
-
}
|
|
131500
|
-
],
|
|
131501
|
-
"mixins": [
|
|
131502
|
-
{
|
|
131503
|
-
"name": "SbbDisabledMixin",
|
|
131504
|
-
"module": "core/mixins.js"
|
|
131505
|
-
},
|
|
131506
|
-
{
|
|
131507
|
-
"name": "SbbIconNameMixin",
|
|
131508
|
-
"module": "icon.js"
|
|
131509
|
-
}
|
|
131510
|
-
],
|
|
131511
|
-
"superclass": {
|
|
131512
|
-
"name": "SbbElement",
|
|
131513
|
-
"module": "core/base-elements.js"
|
|
131514
|
-
},
|
|
131515
|
-
"tagName": "sbb-toggle-option",
|
|
131516
|
-
"customElement": true,
|
|
131517
|
-
"classGenerics": "T = string"
|
|
131518
|
-
}
|
|
131519
|
-
],
|
|
131520
|
-
"exports": [
|
|
131521
|
-
{
|
|
131522
|
-
"kind": "js",
|
|
131523
|
-
"name": "SbbToggleOptionElement",
|
|
131524
|
-
"declaration": {
|
|
131525
|
-
"name": "SbbToggleOptionElement",
|
|
131526
|
-
"module": "toggle/toggle-option/toggle-option.component.js"
|
|
131527
|
-
}
|
|
131528
|
-
}
|
|
131529
|
-
]
|
|
131530
|
-
},
|
|
131531
131535
|
{
|
|
131532
131536
|
"kind": "javascript-module",
|
|
131533
131537
|
"path": "train/train/train.component.js",
|