@sbb-esta/lyne-elements-dev 4.11.0-dev.1777273102 → 4.11.0-dev.1777279894
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/autocomplete/autocomplete-base-element.js +1 -1
- package/autocomplete/autocomplete.component.js +1 -1
- package/{autocomplete-base-element-BQS5lHRU.js → autocomplete-base-element-De2O5Wx-.js} +1 -1
- package/autocomplete.js +1 -1
- package/autocomplete.pure.js +1 -1
- package/core/styles/mixins/overlay.scss +2 -2
- package/core/styles/node_modules_@sbb-esta_lyne-design-tokens_dist_scss_sbb-variables-as-css.scss +8 -0
- package/core.css +16 -3
- package/custom-elements.json +1619 -1619
- package/development/autocomplete/autocomplete-base-element.js +1 -1
- package/development/autocomplete/autocomplete.component.js +1 -1
- package/development/{autocomplete-base-element-BGAFOzNh.js → autocomplete-base-element-BpCpYcX9.js} +2 -2
- package/development/autocomplete.js +1 -1
- package/development/autocomplete.pure.js +1 -1
- package/development/option/option/option.component.js +1 -1
- package/development/option/option.js +1 -1
- package/development/option.component-CRVr0PfV.js +130 -0
- package/development/option.js +1 -1
- package/development/option.pure.js +1 -1
- package/development/popover/popover.component.js +1 -1
- package/development/popover.component-B3tm93Pe.js +537 -0
- package/development/popover.js +1 -1
- package/development/popover.pure.js +1 -1
- package/development/select/select.component.js +1 -1
- package/development/{select.component-6Dwk_s7d.js → select.component-D9SFG7Lk.js} +2 -2
- package/development/select.js +1 -1
- package/development/select.pure.js +1 -1
- package/off-brand-theme.css +16 -3
- package/option/option/option.component.js +1 -1
- package/option/option.js +1 -1
- package/{option.component-M-V_tdSC.js → option.component-2Xf1hz7y.js} +1 -1
- package/option.js +1 -1
- package/option.pure.js +1 -1
- package/package.json +2 -2
- package/popover/popover.component.js +1 -1
- package/{popover.component-DWNuW4wM.js → popover.component-Bv6-zVf4.js} +1 -1
- package/popover.js +1 -1
- package/popover.pure.js +1 -1
- package/safety-theme.css +16 -3
- package/select/select.component.js +1 -1
- package/{select.component-CkqpVDmc.js → select.component-BT6RbERH.js} +1 -1
- package/select.js +1 -1
- package/select.pure.js +1 -1
- package/standard-theme.css +16 -3
- package/development/option.component-CdL7fdzZ.js +0 -130
- package/development/popover.component-BCMdJBUR.js +0 -537
package/custom-elements.json
CHANGED
|
@@ -77903,6 +77903,26 @@
|
|
|
77903
77903
|
}
|
|
77904
77904
|
]
|
|
77905
77905
|
},
|
|
77906
|
+
{
|
|
77907
|
+
"kind": "javascript-module",
|
|
77908
|
+
"path": "core/styles/styles.js",
|
|
77909
|
+
"declarations": [
|
|
77910
|
+
{
|
|
77911
|
+
"kind": "variable",
|
|
77912
|
+
"name": "boxSizingStyles"
|
|
77913
|
+
}
|
|
77914
|
+
],
|
|
77915
|
+
"exports": [
|
|
77916
|
+
{
|
|
77917
|
+
"kind": "js",
|
|
77918
|
+
"name": "boxSizingStyles",
|
|
77919
|
+
"declaration": {
|
|
77920
|
+
"name": "boxSizingStyles",
|
|
77921
|
+
"module": "core/styles/styles.js"
|
|
77922
|
+
}
|
|
77923
|
+
}
|
|
77924
|
+
]
|
|
77925
|
+
},
|
|
77906
77926
|
{
|
|
77907
77927
|
"kind": "javascript-module",
|
|
77908
77928
|
"path": "core/testing/event-spy.js",
|
|
@@ -78300,26 +78320,6 @@
|
|
|
78300
78320
|
}
|
|
78301
78321
|
]
|
|
78302
78322
|
},
|
|
78303
|
-
{
|
|
78304
|
-
"kind": "javascript-module",
|
|
78305
|
-
"path": "core/styles/styles.js",
|
|
78306
|
-
"declarations": [
|
|
78307
|
-
{
|
|
78308
|
-
"kind": "variable",
|
|
78309
|
-
"name": "boxSizingStyles"
|
|
78310
|
-
}
|
|
78311
|
-
],
|
|
78312
|
-
"exports": [
|
|
78313
|
-
{
|
|
78314
|
-
"kind": "js",
|
|
78315
|
-
"name": "boxSizingStyles",
|
|
78316
|
-
"declaration": {
|
|
78317
|
-
"name": "boxSizingStyles",
|
|
78318
|
-
"module": "core/styles/styles.js"
|
|
78319
|
-
}
|
|
78320
|
-
}
|
|
78321
|
-
]
|
|
78322
|
-
},
|
|
78323
78323
|
{
|
|
78324
78324
|
"kind": "javascript-module",
|
|
78325
78325
|
"path": "datepicker/common/datepicker-button.js",
|
|
@@ -120432,20 +120432,28 @@
|
|
|
120432
120432
|
},
|
|
120433
120433
|
{
|
|
120434
120434
|
"kind": "javascript-module",
|
|
120435
|
-
"path": "sidebar/sidebar/sidebar.component.js",
|
|
120435
|
+
"path": "sidebar/sidebar-close-button/sidebar-close-button.component.js",
|
|
120436
120436
|
"declarations": [
|
|
120437
120437
|
{
|
|
120438
120438
|
"kind": "class",
|
|
120439
|
-
"description": "
|
|
120440
|
-
"name": "
|
|
120439
|
+
"description": "Sidebar close button, intended to be placed inside sbb-sidebar.",
|
|
120440
|
+
"name": "SbbSidebarCloseButtonElement",
|
|
120441
120441
|
"slots": [
|
|
120442
120442
|
{
|
|
120443
|
-
"description": "Use the unnamed slot to
|
|
120444
|
-
"name": ""
|
|
120443
|
+
"description": "Use the unnamed slot to add content to the sidebar-close-button. Not intended to be used in this context.",
|
|
120444
|
+
"name": "",
|
|
120445
|
+
"inheritedFrom": {
|
|
120446
|
+
"name": "SbbSecondaryButtonElement",
|
|
120447
|
+
"module": "button/secondary-button/secondary-button.component.js"
|
|
120448
|
+
}
|
|
120445
120449
|
},
|
|
120446
120450
|
{
|
|
120447
|
-
"description": "
|
|
120448
|
-
"name": "
|
|
120451
|
+
"description": "Slot used to display the icon, if one is set. Not intended to be used in this context.",
|
|
120452
|
+
"name": "icon",
|
|
120453
|
+
"inheritedFrom": {
|
|
120454
|
+
"name": "SbbSecondaryButtonElement",
|
|
120455
|
+
"module": "button/secondary-button/secondary-button.component.js"
|
|
120456
|
+
}
|
|
120449
120457
|
}
|
|
120450
120458
|
],
|
|
120451
120459
|
"members": [
|
|
@@ -120462,539 +120470,507 @@
|
|
|
120462
120470
|
"name": "SbbElement",
|
|
120463
120471
|
"module": "core/base-elements/element.js"
|
|
120464
120472
|
},
|
|
120465
|
-
"default": "'sbb-sidebar'"
|
|
120473
|
+
"default": "'sbb-sidebar-close-button'"
|
|
120466
120474
|
},
|
|
120467
120475
|
{
|
|
120468
120476
|
"kind": "field",
|
|
120469
|
-
"name": "
|
|
120470
|
-
"
|
|
120471
|
-
|
|
120472
|
-
},
|
|
120473
|
-
"privacy": "public",
|
|
120474
|
-
"default": "'white'",
|
|
120475
|
-
"description": "Background color of the sidebar. Either `white` or `milk`.",
|
|
120476
|
-
"attribute": "color",
|
|
120477
|
-
"reflects": true
|
|
120477
|
+
"name": "_languageController",
|
|
120478
|
+
"privacy": "private",
|
|
120479
|
+
"default": "new SbbLanguageController(this)"
|
|
120478
120480
|
},
|
|
120479
120481
|
{
|
|
120480
|
-
"kind": "
|
|
120481
|
-
"name": "
|
|
120482
|
-
"
|
|
120483
|
-
|
|
120482
|
+
"kind": "method",
|
|
120483
|
+
"name": "renderTemplate",
|
|
120484
|
+
"privacy": "protected",
|
|
120485
|
+
"return": {
|
|
120486
|
+
"type": {
|
|
120487
|
+
"text": "TemplateResult"
|
|
120488
|
+
}
|
|
120484
120489
|
},
|
|
120485
|
-
"
|
|
120486
|
-
"
|
|
120487
|
-
|
|
120488
|
-
|
|
120489
|
-
|
|
120490
|
+
"description": "Override this method to render the component template.",
|
|
120491
|
+
"inheritedFrom": {
|
|
120492
|
+
"name": "SbbActionBaseElement",
|
|
120493
|
+
"module": "core/base-elements/action-base-element.js"
|
|
120494
|
+
}
|
|
120490
120495
|
},
|
|
120491
120496
|
{
|
|
120492
|
-
"kind": "
|
|
120493
|
-
"name": "
|
|
120494
|
-
"
|
|
120495
|
-
|
|
120497
|
+
"kind": "method",
|
|
120498
|
+
"name": "renderIconName",
|
|
120499
|
+
"privacy": "protected",
|
|
120500
|
+
"return": {
|
|
120501
|
+
"type": {
|
|
120502
|
+
"text": "string"
|
|
120503
|
+
}
|
|
120496
120504
|
},
|
|
120497
|
-
"
|
|
120498
|
-
|
|
120499
|
-
|
|
120500
|
-
|
|
120501
|
-
"reflects": true
|
|
120505
|
+
"inheritedFrom": {
|
|
120506
|
+
"name": "SbbIconNameMixin",
|
|
120507
|
+
"module": "icon/icon-name-mixin.js"
|
|
120508
|
+
}
|
|
120502
120509
|
},
|
|
120503
120510
|
{
|
|
120504
120511
|
"kind": "field",
|
|
120505
|
-
"name": "
|
|
120512
|
+
"name": "size",
|
|
120506
120513
|
"type": {
|
|
120507
|
-
"text": "
|
|
120514
|
+
"text": "SbbButtonSize"
|
|
120508
120515
|
},
|
|
120509
120516
|
"privacy": "public",
|
|
120510
|
-
"
|
|
120511
|
-
"
|
|
120512
|
-
"attribute": "
|
|
120513
|
-
"reflects": true
|
|
120517
|
+
"description": "Size variant, either l, m or s.",
|
|
120518
|
+
"default": "'s'",
|
|
120519
|
+
"attribute": "size",
|
|
120520
|
+
"reflects": true,
|
|
120521
|
+
"inheritedFrom": {
|
|
120522
|
+
"name": "SbbButtonCommonElementMixin",
|
|
120523
|
+
"module": "button/common/button-common.js"
|
|
120524
|
+
}
|
|
120514
120525
|
},
|
|
120515
120526
|
{
|
|
120516
120527
|
"kind": "field",
|
|
120517
|
-
"name": "
|
|
120528
|
+
"name": "loading",
|
|
120518
120529
|
"type": {
|
|
120519
120530
|
"text": "boolean"
|
|
120520
120531
|
},
|
|
120521
120532
|
"privacy": "public",
|
|
120522
120533
|
"default": "false",
|
|
120523
|
-
"description": "Whether the
|
|
120524
|
-
"attribute": "
|
|
120534
|
+
"description": "Whether the button indicates a loading state.\nThe animation kicks in after a delay of 300ms, configurable with --sbb-button-loading-delay CSS variable.",
|
|
120535
|
+
"attribute": "loading",
|
|
120536
|
+
"reflects": true,
|
|
120537
|
+
"inheritedFrom": {
|
|
120538
|
+
"name": "SbbButtonCommonElementMixin",
|
|
120539
|
+
"module": "button/common/button-common.js"
|
|
120540
|
+
}
|
|
120525
120541
|
},
|
|
120526
120542
|
{
|
|
120527
120543
|
"kind": "field",
|
|
120528
|
-
"name": "
|
|
120544
|
+
"name": "negative",
|
|
120529
120545
|
"type": {
|
|
120530
|
-
"text": "
|
|
120546
|
+
"text": "boolean"
|
|
120531
120547
|
},
|
|
120532
120548
|
"privacy": "public",
|
|
120533
|
-
"
|
|
120534
|
-
"
|
|
120535
|
-
"
|
|
120536
|
-
|
|
120537
|
-
|
|
120538
|
-
|
|
120539
|
-
|
|
120540
|
-
|
|
120541
|
-
"text": "SbbSidebarContainerElement | null"
|
|
120542
|
-
},
|
|
120543
|
-
"privacy": "private",
|
|
120544
|
-
"default": "null"
|
|
120549
|
+
"default": "false",
|
|
120550
|
+
"description": "Negative coloring variant flag.",
|
|
120551
|
+
"attribute": "negative",
|
|
120552
|
+
"reflects": true,
|
|
120553
|
+
"inheritedFrom": {
|
|
120554
|
+
"name": "SbbNegativeMixin",
|
|
120555
|
+
"module": "core/mixins/negative-mixin.js"
|
|
120556
|
+
}
|
|
120545
120557
|
},
|
|
120546
120558
|
{
|
|
120547
120559
|
"kind": "field",
|
|
120548
|
-
"name": "
|
|
120560
|
+
"name": "iconName",
|
|
120549
120561
|
"type": {
|
|
120550
|
-
"text": "
|
|
120551
|
-
},
|
|
120552
|
-
"privacy": "private",
|
|
120553
|
-
"default": "null"
|
|
120554
|
-
},
|
|
120555
|
-
{
|
|
120556
|
-
"kind": "field",
|
|
120557
|
-
"name": "_focusTrapController",
|
|
120558
|
-
"privacy": "private",
|
|
120559
|
-
"default": "new SbbFocusTrapController(this)"
|
|
120560
|
-
},
|
|
120561
|
-
{
|
|
120562
|
-
"kind": "field",
|
|
120563
|
-
"name": "_escapableOverlayController",
|
|
120564
|
-
"privacy": "private",
|
|
120565
|
-
"default": "new SbbEscapableOverlayController(this)"
|
|
120566
|
-
},
|
|
120567
|
-
{
|
|
120568
|
-
"kind": "field",
|
|
120569
|
-
"name": "_closeOnNavigation",
|
|
120570
|
-
"privacy": "private"
|
|
120571
|
-
},
|
|
120572
|
-
{
|
|
120573
|
-
"kind": "method",
|
|
120574
|
-
"name": "toggle",
|
|
120575
|
-
"privacy": "public",
|
|
120576
|
-
"return": {
|
|
120577
|
-
"type": {
|
|
120578
|
-
"text": "void"
|
|
120579
|
-
}
|
|
120580
|
-
},
|
|
120581
|
-
"description": "Toggles the sidebar visibility."
|
|
120582
|
-
},
|
|
120583
|
-
{
|
|
120584
|
-
"kind": "method",
|
|
120585
|
-
"name": "open",
|
|
120586
|
-
"privacy": "public",
|
|
120587
|
-
"return": {
|
|
120588
|
-
"type": {
|
|
120589
|
-
"text": "void"
|
|
120590
|
-
}
|
|
120562
|
+
"text": "string"
|
|
120591
120563
|
},
|
|
120592
|
-
"description": "Opens the sidebar.",
|
|
120593
|
-
"inheritedFrom": {
|
|
120594
|
-
"name": "SbbOpenCloseBaseElement",
|
|
120595
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
120596
|
-
}
|
|
120597
|
-
},
|
|
120598
|
-
{
|
|
120599
|
-
"kind": "method",
|
|
120600
|
-
"name": "_isZeroAnimationDuration",
|
|
120601
|
-
"privacy": "private",
|
|
120602
|
-
"return": {
|
|
120603
|
-
"type": {
|
|
120604
|
-
"text": "boolean"
|
|
120605
|
-
}
|
|
120606
|
-
}
|
|
120607
|
-
},
|
|
120608
|
-
{
|
|
120609
|
-
"kind": "method",
|
|
120610
|
-
"name": "_handleOpening",
|
|
120611
|
-
"privacy": "private",
|
|
120612
|
-
"return": {
|
|
120613
|
-
"type": {
|
|
120614
|
-
"text": "void"
|
|
120615
|
-
}
|
|
120616
|
-
}
|
|
120617
|
-
},
|
|
120618
|
-
{
|
|
120619
|
-
"kind": "method",
|
|
120620
|
-
"name": "close",
|
|
120621
120564
|
"privacy": "public",
|
|
120622
|
-
"
|
|
120623
|
-
|
|
120624
|
-
|
|
120625
|
-
}
|
|
120626
|
-
},
|
|
120627
|
-
"description": "Closes the sidebar.",
|
|
120565
|
+
"default": "''",
|
|
120566
|
+
"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.",
|
|
120567
|
+
"attribute": "icon-name",
|
|
120628
120568
|
"inheritedFrom": {
|
|
120629
|
-
"name": "
|
|
120630
|
-
"module": "
|
|
120631
|
-
}
|
|
120632
|
-
},
|
|
120633
|
-
{
|
|
120634
|
-
"kind": "method",
|
|
120635
|
-
"name": "_handleClosing",
|
|
120636
|
-
"privacy": "private",
|
|
120637
|
-
"return": {
|
|
120638
|
-
"type": {
|
|
120639
|
-
"text": "void"
|
|
120640
|
-
}
|
|
120641
|
-
}
|
|
120642
|
-
},
|
|
120643
|
-
{
|
|
120644
|
-
"kind": "method",
|
|
120645
|
-
"name": "_takeFocus",
|
|
120646
|
-
"privacy": "private",
|
|
120647
|
-
"return": {
|
|
120648
|
-
"type": {
|
|
120649
|
-
"text": "void"
|
|
120650
|
-
}
|
|
120569
|
+
"name": "SbbIconNameMixin",
|
|
120570
|
+
"module": "icon/icon-name-mixin.js"
|
|
120651
120571
|
}
|
|
120652
120572
|
},
|
|
120653
120573
|
{
|
|
120654
120574
|
"kind": "method",
|
|
120655
|
-
"name": "
|
|
120575
|
+
"name": "renderIconSlot",
|
|
120656
120576
|
"privacy": "protected",
|
|
120657
120577
|
"return": {
|
|
120658
120578
|
"type": {
|
|
120659
|
-
"text": "
|
|
120660
|
-
}
|
|
120661
|
-
}
|
|
120662
|
-
},
|
|
120663
|
-
{
|
|
120664
|
-
"kind": "method",
|
|
120665
|
-
"name": "_updateSidebarWidth",
|
|
120666
|
-
"privacy": "private",
|
|
120667
|
-
"return": {
|
|
120668
|
-
"type": {
|
|
120669
|
-
"text": "void"
|
|
120579
|
+
"text": "TemplateResult"
|
|
120670
120580
|
}
|
|
120671
120581
|
},
|
|
120672
120582
|
"parameters": [
|
|
120673
120583
|
{
|
|
120674
|
-
"name": "
|
|
120584
|
+
"name": "classname",
|
|
120675
120585
|
"optional": true,
|
|
120676
120586
|
"type": {
|
|
120677
|
-
"text": "
|
|
120587
|
+
"text": "string"
|
|
120678
120588
|
}
|
|
120679
120589
|
}
|
|
120680
|
-
]
|
|
120681
|
-
|
|
120682
|
-
|
|
120683
|
-
|
|
120684
|
-
"name": "_buildCssWidthVar",
|
|
120685
|
-
"privacy": "private",
|
|
120686
|
-
"return": {
|
|
120687
|
-
"type": {
|
|
120688
|
-
"text": "string"
|
|
120689
|
-
}
|
|
120690
|
-
},
|
|
120691
|
-
"parameters": [
|
|
120692
|
-
{
|
|
120693
|
-
"name": "position",
|
|
120694
|
-
"default": "this.position"
|
|
120695
|
-
}
|
|
120696
|
-
]
|
|
120697
|
-
},
|
|
120698
|
-
{
|
|
120699
|
-
"kind": "method",
|
|
120700
|
-
"name": "_isModeOver",
|
|
120701
|
-
"privacy": "private",
|
|
120702
|
-
"return": {
|
|
120703
|
-
"type": {
|
|
120704
|
-
"text": "boolean"
|
|
120705
|
-
}
|
|
120590
|
+
],
|
|
120591
|
+
"inheritedFrom": {
|
|
120592
|
+
"name": "SbbIconNameMixin",
|
|
120593
|
+
"module": "icon/icon-name-mixin.js"
|
|
120706
120594
|
}
|
|
120707
120595
|
},
|
|
120708
120596
|
{
|
|
120709
120597
|
"kind": "method",
|
|
120710
|
-
"name": "
|
|
120598
|
+
"name": "_renderIconName",
|
|
120711
120599
|
"privacy": "private",
|
|
120712
120600
|
"return": {
|
|
120713
120601
|
"type": {
|
|
120714
|
-
"text": "
|
|
120602
|
+
"text": "string"
|
|
120715
120603
|
}
|
|
120716
120604
|
},
|
|
120717
|
-
"
|
|
120718
|
-
|
|
120719
|
-
|
|
120720
|
-
"type": {
|
|
120721
|
-
"text": "TransitionEvent"
|
|
120722
|
-
}
|
|
120723
|
-
}
|
|
120724
|
-
]
|
|
120725
|
-
},
|
|
120726
|
-
{
|
|
120727
|
-
"kind": "method",
|
|
120728
|
-
"name": "_detectScrolledState",
|
|
120729
|
-
"privacy": "private",
|
|
120730
|
-
"return": {
|
|
120731
|
-
"type": {
|
|
120732
|
-
"text": "void"
|
|
120733
|
-
}
|
|
120605
|
+
"inheritedFrom": {
|
|
120606
|
+
"name": "SbbIconNameMixin",
|
|
120607
|
+
"module": "icon/icon-name-mixin.js"
|
|
120734
120608
|
}
|
|
120735
120609
|
},
|
|
120736
120610
|
{
|
|
120737
120611
|
"kind": "field",
|
|
120738
|
-
"name": "
|
|
120612
|
+
"name": "disabledInteractive",
|
|
120739
120613
|
"type": {
|
|
120740
120614
|
"text": "boolean"
|
|
120741
120615
|
},
|
|
120742
120616
|
"privacy": "public",
|
|
120743
120617
|
"default": "false",
|
|
120744
|
-
"description": "Whether the
|
|
120618
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
120619
|
+
"attribute": "disabled-interactive",
|
|
120620
|
+
"reflects": true,
|
|
120745
120621
|
"inheritedFrom": {
|
|
120746
|
-
"name": "
|
|
120747
|
-
"module": "core/mixins/
|
|
120622
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
120623
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
120748
120624
|
}
|
|
120749
120625
|
},
|
|
120750
120626
|
{
|
|
120751
120627
|
"kind": "field",
|
|
120752
|
-
"name": "
|
|
120628
|
+
"name": "disabled",
|
|
120629
|
+
"privacy": "public",
|
|
120630
|
+
"description": "Whether the component is disabled.",
|
|
120631
|
+
"default": "false",
|
|
120753
120632
|
"type": {
|
|
120754
|
-
"text": "
|
|
120633
|
+
"text": "boolean"
|
|
120755
120634
|
},
|
|
120756
|
-
"
|
|
120757
|
-
"
|
|
120758
|
-
"readonly": true,
|
|
120635
|
+
"attribute": "disabled",
|
|
120636
|
+
"reflects": true,
|
|
120759
120637
|
"inheritedFrom": {
|
|
120760
|
-
"name": "
|
|
120761
|
-
"module": "core/mixins/
|
|
120638
|
+
"name": "SbbDisabledMixin",
|
|
120639
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
120762
120640
|
}
|
|
120763
120641
|
},
|
|
120764
120642
|
{
|
|
120765
120643
|
"kind": "field",
|
|
120766
|
-
"name": "
|
|
120644
|
+
"name": "#disabled",
|
|
120645
|
+
"privacy": "private",
|
|
120767
120646
|
"type": {
|
|
120768
|
-
"text": "
|
|
120647
|
+
"text": "boolean"
|
|
120769
120648
|
},
|
|
120770
|
-
"
|
|
120649
|
+
"default": "false",
|
|
120771
120650
|
"inheritedFrom": {
|
|
120772
|
-
"name": "
|
|
120773
|
-
"module": "core/mixins/
|
|
120651
|
+
"name": "SbbDisabledMixin",
|
|
120652
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
120774
120653
|
}
|
|
120775
120654
|
},
|
|
120776
120655
|
{
|
|
120777
120656
|
"kind": "method",
|
|
120778
|
-
"name": "
|
|
120657
|
+
"name": "isDisabledExternally",
|
|
120779
120658
|
"privacy": "protected",
|
|
120780
120659
|
"return": {
|
|
120781
120660
|
"type": {
|
|
120782
|
-
"text": "
|
|
120661
|
+
"text": "boolean"
|
|
120783
120662
|
}
|
|
120784
120663
|
},
|
|
120664
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
120785
120665
|
"inheritedFrom": {
|
|
120786
|
-
"name": "
|
|
120787
|
-
"module": "core/mixins/
|
|
120666
|
+
"name": "SbbDisabledMixin",
|
|
120667
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
120788
120668
|
}
|
|
120789
120669
|
},
|
|
120790
120670
|
{
|
|
120791
|
-
"kind": "
|
|
120792
|
-
"name": "
|
|
120793
|
-
"
|
|
120794
|
-
|
|
120795
|
-
"type": {
|
|
120796
|
-
"text": "void"
|
|
120797
|
-
}
|
|
120671
|
+
"kind": "field",
|
|
120672
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
120673
|
+
"type": {
|
|
120674
|
+
"text": "array"
|
|
120798
120675
|
},
|
|
120799
|
-
"
|
|
120676
|
+
"privacy": "private",
|
|
120677
|
+
"readonly": true,
|
|
120678
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
120800
120679
|
"inheritedFrom": {
|
|
120801
|
-
"name": "
|
|
120802
|
-
"module": "core/
|
|
120680
|
+
"name": "SbbButtonBaseElement",
|
|
120681
|
+
"module": "core/base-elements/button-base-element.js"
|
|
120803
120682
|
}
|
|
120804
120683
|
},
|
|
120805
120684
|
{
|
|
120806
|
-
"kind": "
|
|
120807
|
-
"name": "
|
|
120808
|
-
"
|
|
120809
|
-
|
|
120810
|
-
"type": {
|
|
120811
|
-
"text": "Promise<void>"
|
|
120812
|
-
}
|
|
120685
|
+
"kind": "field",
|
|
120686
|
+
"name": "value",
|
|
120687
|
+
"type": {
|
|
120688
|
+
"text": "string"
|
|
120813
120689
|
},
|
|
120690
|
+
"privacy": "public",
|
|
120814
120691
|
"inheritedFrom": {
|
|
120815
|
-
"name": "
|
|
120816
|
-
"module": "core/
|
|
120817
|
-
}
|
|
120692
|
+
"name": "SbbButtonBaseElement",
|
|
120693
|
+
"module": "core/base-elements/button-base-element.js"
|
|
120694
|
+
},
|
|
120695
|
+
"default": "''",
|
|
120696
|
+
"description": "Value of the form element.",
|
|
120697
|
+
"attribute": "value"
|
|
120818
120698
|
},
|
|
120819
120699
|
{
|
|
120820
120700
|
"kind": "field",
|
|
120821
|
-
"name": "
|
|
120701
|
+
"name": "type",
|
|
120822
120702
|
"privacy": "public",
|
|
120823
|
-
"
|
|
120824
|
-
"
|
|
120825
|
-
"default": "{ beforeopen: 'beforeopen', open: 'open', beforeclose: 'beforeclose', close: 'close', }",
|
|
120703
|
+
"description": "The type attribute to use for the button.",
|
|
120704
|
+
"default": "'button'",
|
|
120826
120705
|
"type": {
|
|
120827
|
-
"text": "
|
|
120706
|
+
"text": "SbbButtonType"
|
|
120828
120707
|
},
|
|
120708
|
+
"attribute": "type",
|
|
120829
120709
|
"inheritedFrom": {
|
|
120830
|
-
"name": "
|
|
120831
|
-
"module": "core/base-elements/
|
|
120710
|
+
"name": "SbbButtonBaseElement",
|
|
120711
|
+
"module": "core/base-elements/button-base-element.js"
|
|
120832
120712
|
}
|
|
120833
120713
|
},
|
|
120834
120714
|
{
|
|
120835
120715
|
"kind": "field",
|
|
120836
|
-
"name": "
|
|
120837
|
-
"privacy": "protected",
|
|
120838
|
-
"description": "The state of the component.",
|
|
120716
|
+
"name": "form",
|
|
120839
120717
|
"type": {
|
|
120840
|
-
"text": "
|
|
120718
|
+
"text": "HTMLFormElement | null"
|
|
120841
120719
|
},
|
|
120842
|
-
"
|
|
120720
|
+
"privacy": "public",
|
|
120721
|
+
"description": "The `<form>` element to associate the button with.",
|
|
120843
120722
|
"inheritedFrom": {
|
|
120844
|
-
"name": "
|
|
120845
|
-
"module": "core/base-elements/
|
|
120846
|
-
}
|
|
120723
|
+
"name": "SbbButtonBaseElement",
|
|
120724
|
+
"module": "core/base-elements/button-base-element.js"
|
|
120725
|
+
},
|
|
120726
|
+
"attribute": "form"
|
|
120847
120727
|
},
|
|
120848
120728
|
{
|
|
120849
120729
|
"kind": "field",
|
|
120850
|
-
"name": "
|
|
120730
|
+
"name": "_formId",
|
|
120851
120731
|
"type": {
|
|
120852
|
-
"text": "
|
|
120732
|
+
"text": "string"
|
|
120853
120733
|
},
|
|
120854
120734
|
"privacy": "private",
|
|
120735
|
+
"default": "''",
|
|
120855
120736
|
"inheritedFrom": {
|
|
120856
|
-
"name": "
|
|
120857
|
-
"module": "core/base-elements/
|
|
120737
|
+
"name": "SbbButtonBaseElement",
|
|
120738
|
+
"module": "core/base-elements/button-base-element.js"
|
|
120858
120739
|
}
|
|
120859
120740
|
},
|
|
120860
120741
|
{
|
|
120861
120742
|
"kind": "field",
|
|
120862
|
-
"name": "
|
|
120863
|
-
"
|
|
120864
|
-
"text": "boolean"
|
|
120865
|
-
},
|
|
120866
|
-
"privacy": "public",
|
|
120867
|
-
"description": "Whether the element is open.",
|
|
120868
|
-
"readonly": true,
|
|
120743
|
+
"name": "_handleButtonClick",
|
|
120744
|
+
"privacy": "private",
|
|
120869
120745
|
"inheritedFrom": {
|
|
120870
|
-
"name": "
|
|
120871
|
-
"module": "core/base-elements/
|
|
120746
|
+
"name": "SbbButtonBaseElement",
|
|
120747
|
+
"module": "core/base-elements/button-base-element.js"
|
|
120872
120748
|
}
|
|
120873
120749
|
},
|
|
120874
120750
|
{
|
|
120875
120751
|
"kind": "method",
|
|
120876
|
-
"name": "
|
|
120877
|
-
"privacy": "
|
|
120752
|
+
"name": "_requestSubmit",
|
|
120753
|
+
"privacy": "private",
|
|
120878
120754
|
"return": {
|
|
120879
120755
|
"type": {
|
|
120880
120756
|
"text": "void"
|
|
120881
120757
|
}
|
|
120882
120758
|
},
|
|
120883
|
-
"
|
|
120759
|
+
"parameters": [
|
|
120760
|
+
{
|
|
120761
|
+
"name": "form",
|
|
120762
|
+
"type": {
|
|
120763
|
+
"text": "HTMLFormElement"
|
|
120764
|
+
}
|
|
120765
|
+
}
|
|
120766
|
+
],
|
|
120884
120767
|
"inheritedFrom": {
|
|
120885
|
-
"name": "
|
|
120886
|
-
"module": "core/base-elements/
|
|
120768
|
+
"name": "SbbButtonBaseElement",
|
|
120769
|
+
"module": "core/base-elements/button-base-element.js"
|
|
120887
120770
|
}
|
|
120888
120771
|
},
|
|
120889
120772
|
{
|
|
120890
|
-
"kind": "
|
|
120891
|
-
"name": "
|
|
120892
|
-
"privacy": "
|
|
120893
|
-
"return": {
|
|
120894
|
-
"type": {
|
|
120895
|
-
"text": "boolean"
|
|
120896
|
-
}
|
|
120897
|
-
},
|
|
120773
|
+
"kind": "field",
|
|
120774
|
+
"name": "_formKeyDown",
|
|
120775
|
+
"privacy": "private",
|
|
120898
120776
|
"inheritedFrom": {
|
|
120899
|
-
"name": "
|
|
120900
|
-
"module": "core/base-elements/
|
|
120777
|
+
"name": "SbbButtonBaseElement",
|
|
120778
|
+
"module": "core/base-elements/button-base-element.js"
|
|
120901
120779
|
}
|
|
120902
120780
|
},
|
|
120903
120781
|
{
|
|
120904
|
-
"kind": "
|
|
120905
|
-
"name": "
|
|
120906
|
-
"
|
|
120907
|
-
|
|
120908
|
-
"type": {
|
|
120909
|
-
"text": "boolean"
|
|
120910
|
-
}
|
|
120782
|
+
"kind": "field",
|
|
120783
|
+
"name": "formAssociated",
|
|
120784
|
+
"type": {
|
|
120785
|
+
"text": "boolean"
|
|
120911
120786
|
},
|
|
120787
|
+
"privacy": "public",
|
|
120788
|
+
"static": true,
|
|
120789
|
+
"default": "true",
|
|
120912
120790
|
"inheritedFrom": {
|
|
120913
|
-
"name": "
|
|
120914
|
-
"module": "core/
|
|
120791
|
+
"name": "SbbFormAssociatedMixin",
|
|
120792
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120915
120793
|
}
|
|
120916
120794
|
},
|
|
120917
120795
|
{
|
|
120918
|
-
"kind": "
|
|
120919
|
-
"name": "
|
|
120796
|
+
"kind": "field",
|
|
120797
|
+
"name": "name",
|
|
120798
|
+
"privacy": "public",
|
|
120799
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
120800
|
+
"type": {
|
|
120801
|
+
"text": "string"
|
|
120802
|
+
},
|
|
120803
|
+
"attribute": "name",
|
|
120804
|
+
"inheritedFrom": {
|
|
120805
|
+
"name": "SbbFormAssociatedMixin",
|
|
120806
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120807
|
+
}
|
|
120808
|
+
},
|
|
120809
|
+
{
|
|
120810
|
+
"kind": "field",
|
|
120811
|
+
"name": "validity",
|
|
120812
|
+
"type": {
|
|
120813
|
+
"text": "ValidityState"
|
|
120814
|
+
},
|
|
120815
|
+
"privacy": "public",
|
|
120816
|
+
"description": "Returns the ValidityState object for this element.",
|
|
120817
|
+
"readonly": true,
|
|
120818
|
+
"inheritedFrom": {
|
|
120819
|
+
"name": "SbbFormAssociatedMixin",
|
|
120820
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120821
|
+
}
|
|
120822
|
+
},
|
|
120823
|
+
{
|
|
120824
|
+
"kind": "field",
|
|
120825
|
+
"name": "validationMessage",
|
|
120826
|
+
"type": {
|
|
120827
|
+
"text": "string"
|
|
120828
|
+
},
|
|
120829
|
+
"privacy": "public",
|
|
120830
|
+
"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.",
|
|
120831
|
+
"readonly": true,
|
|
120832
|
+
"inheritedFrom": {
|
|
120833
|
+
"name": "SbbFormAssociatedMixin",
|
|
120834
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120835
|
+
}
|
|
120836
|
+
},
|
|
120837
|
+
{
|
|
120838
|
+
"kind": "field",
|
|
120839
|
+
"name": "willValidate",
|
|
120840
|
+
"type": {
|
|
120841
|
+
"text": "boolean"
|
|
120842
|
+
},
|
|
120843
|
+
"privacy": "public",
|
|
120844
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
120845
|
+
"readonly": true,
|
|
120846
|
+
"inheritedFrom": {
|
|
120847
|
+
"name": "SbbFormAssociatedMixin",
|
|
120848
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120849
|
+
}
|
|
120850
|
+
},
|
|
120851
|
+
{
|
|
120852
|
+
"kind": "field",
|
|
120853
|
+
"name": "_validityStates",
|
|
120854
|
+
"privacy": "private",
|
|
120855
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
120856
|
+
"inheritedFrom": {
|
|
120857
|
+
"name": "SbbFormAssociatedMixin",
|
|
120858
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120859
|
+
}
|
|
120860
|
+
},
|
|
120861
|
+
{
|
|
120862
|
+
"kind": "field",
|
|
120863
|
+
"name": "formDisabled",
|
|
120864
|
+
"type": {
|
|
120865
|
+
"text": "boolean"
|
|
120866
|
+
},
|
|
120920
120867
|
"privacy": "protected",
|
|
120868
|
+
"default": "false",
|
|
120869
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
120870
|
+
"inheritedFrom": {
|
|
120871
|
+
"name": "SbbFormAssociatedMixin",
|
|
120872
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120873
|
+
}
|
|
120874
|
+
},
|
|
120875
|
+
{
|
|
120876
|
+
"kind": "method",
|
|
120877
|
+
"name": "checkValidity",
|
|
120878
|
+
"privacy": "public",
|
|
120921
120879
|
"return": {
|
|
120922
120880
|
"type": {
|
|
120923
120881
|
"text": "boolean"
|
|
120924
120882
|
}
|
|
120925
120883
|
},
|
|
120884
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
120926
120885
|
"inheritedFrom": {
|
|
120927
|
-
"name": "
|
|
120928
|
-
"module": "core/
|
|
120886
|
+
"name": "SbbFormAssociatedMixin",
|
|
120887
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120929
120888
|
}
|
|
120930
120889
|
},
|
|
120931
120890
|
{
|
|
120932
120891
|
"kind": "method",
|
|
120933
|
-
"name": "
|
|
120934
|
-
"privacy": "
|
|
120892
|
+
"name": "reportValidity",
|
|
120893
|
+
"privacy": "public",
|
|
120935
120894
|
"return": {
|
|
120936
120895
|
"type": {
|
|
120937
120896
|
"text": "boolean"
|
|
120938
120897
|
}
|
|
120939
120898
|
},
|
|
120899
|
+
"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.",
|
|
120940
120900
|
"inheritedFrom": {
|
|
120941
|
-
"name": "
|
|
120942
|
-
"module": "core/
|
|
120901
|
+
"name": "SbbFormAssociatedMixin",
|
|
120902
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120943
120903
|
}
|
|
120944
120904
|
},
|
|
120945
120905
|
{
|
|
120946
|
-
"kind": "
|
|
120947
|
-
"name": "
|
|
120948
|
-
"
|
|
120949
|
-
|
|
120906
|
+
"kind": "method",
|
|
120907
|
+
"name": "setCustomValidity",
|
|
120908
|
+
"privacy": "public",
|
|
120909
|
+
"return": {
|
|
120910
|
+
"type": {
|
|
120911
|
+
"text": "void"
|
|
120912
|
+
}
|
|
120950
120913
|
},
|
|
120951
|
-
"
|
|
120952
|
-
|
|
120914
|
+
"parameters": [
|
|
120915
|
+
{
|
|
120916
|
+
"name": "message",
|
|
120917
|
+
"type": {
|
|
120918
|
+
"text": "string"
|
|
120919
|
+
}
|
|
120920
|
+
}
|
|
120921
|
+
],
|
|
120922
|
+
"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.",
|
|
120953
120923
|
"inheritedFrom": {
|
|
120954
|
-
"name": "
|
|
120955
|
-
"module": "core/
|
|
120924
|
+
"name": "SbbFormAssociatedMixin",
|
|
120925
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120956
120926
|
}
|
|
120957
120927
|
},
|
|
120958
120928
|
{
|
|
120959
|
-
"kind": "
|
|
120960
|
-
"name": "
|
|
120929
|
+
"kind": "method",
|
|
120930
|
+
"name": "_hasDisabledAncestor",
|
|
120961
120931
|
"privacy": "private",
|
|
120962
|
-
"
|
|
120932
|
+
"return": {
|
|
120933
|
+
"type": {
|
|
120934
|
+
"text": "boolean"
|
|
120935
|
+
}
|
|
120936
|
+
},
|
|
120963
120937
|
"inheritedFrom": {
|
|
120964
|
-
"name": "
|
|
120965
|
-
"module": "core/
|
|
120938
|
+
"name": "SbbFormAssociatedMixin",
|
|
120939
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120966
120940
|
}
|
|
120967
120941
|
},
|
|
120968
120942
|
{
|
|
120969
|
-
"kind": "
|
|
120970
|
-
"name": "
|
|
120971
|
-
"
|
|
120972
|
-
|
|
120943
|
+
"kind": "method",
|
|
120944
|
+
"name": "updateFormValue",
|
|
120945
|
+
"privacy": "protected",
|
|
120946
|
+
"return": {
|
|
120947
|
+
"type": {
|
|
120948
|
+
"text": "void"
|
|
120949
|
+
}
|
|
120973
120950
|
},
|
|
120974
|
-
"
|
|
120951
|
+
"description": "Should be called when form value is changed.\nAdapts and sets the formValue in the supported format (string | FormData | File | null)\nhttps://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/setFormValue",
|
|
120975
120952
|
"inheritedFrom": {
|
|
120976
|
-
"name": "
|
|
120977
|
-
"module": "core/
|
|
120953
|
+
"name": "SbbFormAssociatedMixin",
|
|
120954
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120978
120955
|
}
|
|
120979
120956
|
},
|
|
120980
120957
|
{
|
|
120981
|
-
"kind": "
|
|
120982
|
-
"name": "
|
|
120983
|
-
"type": {
|
|
120984
|
-
"text": "boolean"
|
|
120985
|
-
},
|
|
120958
|
+
"kind": "method",
|
|
120959
|
+
"name": "formState",
|
|
120986
120960
|
"privacy": "protected",
|
|
120987
|
-
"
|
|
120988
|
-
|
|
120989
|
-
|
|
120990
|
-
|
|
120991
|
-
"module": "core/base-elements/element.js"
|
|
120961
|
+
"return": {
|
|
120962
|
+
"type": {
|
|
120963
|
+
"text": "FormRestoreState"
|
|
120964
|
+
}
|
|
120992
120965
|
},
|
|
120993
|
-
"
|
|
120966
|
+
"inheritedFrom": {
|
|
120967
|
+
"name": "SbbFormAssociatedMixin",
|
|
120968
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
120969
|
+
}
|
|
120994
120970
|
},
|
|
120995
120971
|
{
|
|
120996
120972
|
"kind": "method",
|
|
120997
|
-
"name": "
|
|
120973
|
+
"name": "setValidityFlag",
|
|
120998
120974
|
"privacy": "protected",
|
|
120999
120975
|
"return": {
|
|
121000
120976
|
"type": {
|
|
@@ -121003,711 +120979,711 @@
|
|
|
121003
120979
|
},
|
|
121004
120980
|
"parameters": [
|
|
121005
120981
|
{
|
|
121006
|
-
"name": "
|
|
120982
|
+
"name": "flag",
|
|
120983
|
+
"type": {
|
|
120984
|
+
"text": "T"
|
|
120985
|
+
}
|
|
120986
|
+
},
|
|
120987
|
+
{
|
|
120988
|
+
"name": "message",
|
|
121007
120989
|
"type": {
|
|
121008
120990
|
"text": "string"
|
|
121009
120991
|
}
|
|
121010
120992
|
},
|
|
121011
120993
|
{
|
|
121012
|
-
"name": "
|
|
120994
|
+
"name": "flagValue",
|
|
121013
120995
|
"optional": true,
|
|
121014
120996
|
"type": {
|
|
121015
|
-
"text": "
|
|
120997
|
+
"text": "ValidityStateFlags[T]"
|
|
121016
120998
|
}
|
|
121017
120999
|
}
|
|
121018
121000
|
],
|
|
121001
|
+
"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).",
|
|
121019
121002
|
"inheritedFrom": {
|
|
121020
|
-
"name": "
|
|
121021
|
-
"module": "core/
|
|
121003
|
+
"name": "SbbFormAssociatedMixin",
|
|
121004
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121022
121005
|
}
|
|
121023
121006
|
},
|
|
121024
121007
|
{
|
|
121025
|
-
"kind": "
|
|
121026
|
-
"name": "
|
|
121027
|
-
"
|
|
121028
|
-
|
|
121008
|
+
"kind": "method",
|
|
121009
|
+
"name": "removeValidityFlag",
|
|
121010
|
+
"privacy": "protected",
|
|
121011
|
+
"return": {
|
|
121012
|
+
"type": {
|
|
121013
|
+
"text": "void"
|
|
121014
|
+
}
|
|
121029
121015
|
},
|
|
121030
|
-
"
|
|
121031
|
-
|
|
121032
|
-
|
|
121016
|
+
"parameters": [
|
|
121017
|
+
{
|
|
121018
|
+
"name": "flag",
|
|
121019
|
+
"type": {
|
|
121020
|
+
"text": "T"
|
|
121021
|
+
}
|
|
121022
|
+
}
|
|
121023
|
+
],
|
|
121024
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
121033
121025
|
"inheritedFrom": {
|
|
121034
|
-
"name": "
|
|
121035
|
-
"module": "core/
|
|
121026
|
+
"name": "SbbFormAssociatedMixin",
|
|
121027
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121036
121028
|
}
|
|
121037
121029
|
},
|
|
121038
121030
|
{
|
|
121039
|
-
"kind": "
|
|
121040
|
-
"name": "
|
|
121041
|
-
"
|
|
121042
|
-
|
|
121031
|
+
"kind": "method",
|
|
121032
|
+
"name": "validate",
|
|
121033
|
+
"privacy": "protected",
|
|
121034
|
+
"return": {
|
|
121035
|
+
"type": {
|
|
121036
|
+
"text": "void"
|
|
121037
|
+
}
|
|
121043
121038
|
},
|
|
121044
|
-
"
|
|
121039
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
121045
121040
|
"inheritedFrom": {
|
|
121046
|
-
"name": "
|
|
121047
|
-
"module": "core/
|
|
121041
|
+
"name": "SbbFormAssociatedMixin",
|
|
121042
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121048
121043
|
}
|
|
121049
|
-
}
|
|
121050
|
-
],
|
|
121051
|
-
"attributes": [
|
|
121044
|
+
},
|
|
121052
121045
|
{
|
|
121053
|
-
"
|
|
121054
|
-
"
|
|
121055
|
-
|
|
121046
|
+
"kind": "method",
|
|
121047
|
+
"name": "shouldValidate",
|
|
121048
|
+
"privacy": "protected",
|
|
121049
|
+
"return": {
|
|
121050
|
+
"type": {
|
|
121051
|
+
"text": "boolean"
|
|
121052
|
+
}
|
|
121056
121053
|
},
|
|
121057
|
-
"
|
|
121058
|
-
|
|
121059
|
-
|
|
121054
|
+
"parameters": [
|
|
121055
|
+
{
|
|
121056
|
+
"name": "name",
|
|
121057
|
+
"type": {
|
|
121058
|
+
"text": "PropertyKey | undefined"
|
|
121059
|
+
}
|
|
121060
|
+
}
|
|
121061
|
+
],
|
|
121062
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
121063
|
+
"inheritedFrom": {
|
|
121064
|
+
"name": "SbbFormAssociatedMixin",
|
|
121065
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121066
|
+
}
|
|
121060
121067
|
},
|
|
121061
121068
|
{
|
|
121062
|
-
"
|
|
121063
|
-
"
|
|
121064
|
-
|
|
121069
|
+
"kind": "method",
|
|
121070
|
+
"name": "_setInternalValidity",
|
|
121071
|
+
"privacy": "private",
|
|
121072
|
+
"return": {
|
|
121073
|
+
"type": {
|
|
121074
|
+
"text": "void"
|
|
121075
|
+
}
|
|
121065
121076
|
},
|
|
121066
|
-
"
|
|
121067
|
-
|
|
121068
|
-
|
|
121077
|
+
"inheritedFrom": {
|
|
121078
|
+
"name": "SbbFormAssociatedMixin",
|
|
121079
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121080
|
+
}
|
|
121069
121081
|
},
|
|
121070
121082
|
{
|
|
121071
|
-
"
|
|
121083
|
+
"kind": "field",
|
|
121084
|
+
"name": "role",
|
|
121072
121085
|
"type": {
|
|
121073
|
-
"text": "'
|
|
121086
|
+
"text": "ElementInternals['role']"
|
|
121074
121087
|
},
|
|
121075
|
-
"
|
|
121076
|
-
"
|
|
121077
|
-
"
|
|
121088
|
+
"privacy": "public",
|
|
121089
|
+
"static": true,
|
|
121090
|
+
"readonly": true,
|
|
121091
|
+
"default": "'button'",
|
|
121092
|
+
"inheritedFrom": {
|
|
121093
|
+
"name": "SbbButtonLikeBaseElement",
|
|
121094
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121095
|
+
}
|
|
121078
121096
|
},
|
|
121079
121097
|
{
|
|
121080
|
-
"
|
|
121081
|
-
"
|
|
121082
|
-
|
|
121083
|
-
|
|
121084
|
-
"
|
|
121085
|
-
|
|
121086
|
-
|
|
121098
|
+
"kind": "field",
|
|
121099
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
121100
|
+
"privacy": "private",
|
|
121101
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
121102
|
+
"parameters": [
|
|
121103
|
+
{
|
|
121104
|
+
"description": "The origin event.",
|
|
121105
|
+
"name": "event"
|
|
121106
|
+
}
|
|
121107
|
+
],
|
|
121108
|
+
"inheritedFrom": {
|
|
121109
|
+
"name": "SbbButtonLikeBaseElement",
|
|
121110
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121111
|
+
}
|
|
121087
121112
|
},
|
|
121088
121113
|
{
|
|
121089
|
-
"
|
|
121090
|
-
"
|
|
121091
|
-
|
|
121092
|
-
|
|
121093
|
-
|
|
121094
|
-
|
|
121095
|
-
|
|
121096
|
-
}
|
|
121097
|
-
],
|
|
121098
|
-
"mixins": [
|
|
121114
|
+
"kind": "field",
|
|
121115
|
+
"name": "_removeActiveMarker",
|
|
121116
|
+
"privacy": "private",
|
|
121117
|
+
"inheritedFrom": {
|
|
121118
|
+
"name": "SbbButtonLikeBaseElement",
|
|
121119
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121120
|
+
}
|
|
121121
|
+
},
|
|
121099
121122
|
{
|
|
121100
|
-
"
|
|
121101
|
-
"
|
|
121102
|
-
|
|
121103
|
-
|
|
121104
|
-
|
|
121105
|
-
|
|
121106
|
-
|
|
121107
|
-
|
|
121108
|
-
|
|
121109
|
-
|
|
121110
|
-
|
|
121123
|
+
"kind": "field",
|
|
121124
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
121125
|
+
"privacy": "private",
|
|
121126
|
+
"description": "Dispatches a 'click' PointerEvent if the original keyboard event is a 'Space' press.\nAs verified with the native button, when 'Space' is pressed, a 'click' event is dispatched\nafter the 'keyup' event.",
|
|
121127
|
+
"parameters": [
|
|
121128
|
+
{
|
|
121129
|
+
"description": "The origin event.",
|
|
121130
|
+
"name": "event"
|
|
121131
|
+
}
|
|
121132
|
+
],
|
|
121133
|
+
"inheritedFrom": {
|
|
121134
|
+
"name": "SbbButtonLikeBaseElement",
|
|
121135
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121136
|
+
}
|
|
121137
|
+
},
|
|
121111
121138
|
{
|
|
121112
|
-
"
|
|
121139
|
+
"kind": "field",
|
|
121140
|
+
"name": "_dispatchClickEvent",
|
|
121141
|
+
"privacy": "private",
|
|
121142
|
+
"inheritedFrom": {
|
|
121143
|
+
"name": "SbbButtonLikeBaseElement",
|
|
121144
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121145
|
+
}
|
|
121146
|
+
},
|
|
121147
|
+
{
|
|
121148
|
+
"kind": "field",
|
|
121149
|
+
"name": "maybeDisabled",
|
|
121113
121150
|
"type": {
|
|
121114
|
-
"text": "
|
|
121151
|
+
"text": "boolean | undefined"
|
|
121115
121152
|
},
|
|
121116
|
-
"
|
|
121153
|
+
"privacy": "protected",
|
|
121154
|
+
"readonly": true,
|
|
121117
121155
|
"inheritedFrom": {
|
|
121118
|
-
"name": "
|
|
121119
|
-
"module": "core/base-elements/
|
|
121156
|
+
"name": "SbbActionBaseElement",
|
|
121157
|
+
"module": "core/base-elements/action-base-element.js"
|
|
121120
121158
|
}
|
|
121121
121159
|
},
|
|
121122
121160
|
{
|
|
121123
|
-
"
|
|
121161
|
+
"kind": "field",
|
|
121162
|
+
"name": "maybeDisabledInteractive",
|
|
121124
121163
|
"type": {
|
|
121125
|
-
"text": "
|
|
121164
|
+
"text": "boolean | undefined"
|
|
121126
121165
|
},
|
|
121127
|
-
"
|
|
121166
|
+
"privacy": "protected",
|
|
121167
|
+
"readonly": true,
|
|
121128
121168
|
"inheritedFrom": {
|
|
121129
|
-
"name": "
|
|
121130
|
-
"module": "core/base-elements/
|
|
121169
|
+
"name": "SbbActionBaseElement",
|
|
121170
|
+
"module": "core/base-elements/action-base-element.js"
|
|
121131
121171
|
}
|
|
121132
121172
|
},
|
|
121133
121173
|
{
|
|
121134
|
-
"
|
|
121135
|
-
"
|
|
121136
|
-
|
|
121174
|
+
"kind": "method",
|
|
121175
|
+
"name": "setupBaseEventHandlers",
|
|
121176
|
+
"privacy": "protected",
|
|
121177
|
+
"return": {
|
|
121178
|
+
"type": {
|
|
121179
|
+
"text": "void"
|
|
121180
|
+
}
|
|
121137
121181
|
},
|
|
121138
|
-
"description": "Emits whenever the component begins the closing transition. Can be canceled.",
|
|
121139
121182
|
"inheritedFrom": {
|
|
121140
|
-
"name": "
|
|
121141
|
-
"module": "core/base-elements/
|
|
121183
|
+
"name": "SbbActionBaseElement",
|
|
121184
|
+
"module": "core/base-elements/action-base-element.js"
|
|
121142
121185
|
}
|
|
121143
121186
|
},
|
|
121144
121187
|
{
|
|
121145
|
-
"
|
|
121188
|
+
"kind": "field",
|
|
121189
|
+
"name": "_hydrationRequired",
|
|
121146
121190
|
"type": {
|
|
121147
|
-
"text": "
|
|
121191
|
+
"text": "boolean"
|
|
121148
121192
|
},
|
|
121149
|
-
"
|
|
121193
|
+
"privacy": "private",
|
|
121194
|
+
"default": "!!this.shadowRoot",
|
|
121150
121195
|
"inheritedFrom": {
|
|
121151
|
-
"name": "
|
|
121152
|
-
"module": "core/base-elements/
|
|
121196
|
+
"name": "SbbElement",
|
|
121197
|
+
"module": "core/base-elements/element.js"
|
|
121153
121198
|
}
|
|
121154
|
-
}
|
|
121155
|
-
]
|
|
121156
|
-
}
|
|
121157
|
-
],
|
|
121158
|
-
"exports": [
|
|
121159
|
-
{
|
|
121160
|
-
"kind": "js",
|
|
121161
|
-
"name": "SbbSidebarElement",
|
|
121162
|
-
"declaration": {
|
|
121163
|
-
"name": "SbbSidebarElement",
|
|
121164
|
-
"module": "sidebar/sidebar/sidebar.component.js"
|
|
121165
|
-
}
|
|
121166
|
-
}
|
|
121167
|
-
]
|
|
121168
|
-
},
|
|
121169
|
-
{
|
|
121170
|
-
"kind": "javascript-module",
|
|
121171
|
-
"path": "sidebar/sidebar-close-button/sidebar-close-button.component.js",
|
|
121172
|
-
"declarations": [
|
|
121173
|
-
{
|
|
121174
|
-
"kind": "class",
|
|
121175
|
-
"description": "Sidebar close button, intended to be placed inside sbb-sidebar.",
|
|
121176
|
-
"name": "SbbSidebarCloseButtonElement",
|
|
121177
|
-
"slots": [
|
|
121199
|
+
},
|
|
121178
121200
|
{
|
|
121179
|
-
"
|
|
121180
|
-
"name": "",
|
|
121201
|
+
"kind": "field",
|
|
121202
|
+
"name": "_hydrationComplete",
|
|
121203
|
+
"privacy": "private",
|
|
121204
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
121181
121205
|
"inheritedFrom": {
|
|
121182
|
-
"name": "
|
|
121183
|
-
"module": "
|
|
121206
|
+
"name": "SbbElement",
|
|
121207
|
+
"module": "core/base-elements/element.js"
|
|
121184
121208
|
}
|
|
121185
121209
|
},
|
|
121186
121210
|
{
|
|
121187
|
-
"
|
|
121188
|
-
"name": "
|
|
121211
|
+
"kind": "field",
|
|
121212
|
+
"name": "_resolveHydration",
|
|
121213
|
+
"type": {
|
|
121214
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
121215
|
+
},
|
|
121216
|
+
"privacy": "private",
|
|
121189
121217
|
"inheritedFrom": {
|
|
121190
|
-
"name": "
|
|
121191
|
-
"module": "
|
|
121218
|
+
"name": "SbbElement",
|
|
121219
|
+
"module": "core/base-elements/element.js"
|
|
121192
121220
|
}
|
|
121193
|
-
}
|
|
121194
|
-
],
|
|
121195
|
-
"members": [
|
|
121221
|
+
},
|
|
121196
121222
|
{
|
|
121197
121223
|
"kind": "field",
|
|
121198
|
-
"name": "
|
|
121224
|
+
"name": "hydrationRequired",
|
|
121199
121225
|
"type": {
|
|
121200
|
-
"text": "
|
|
121226
|
+
"text": "boolean"
|
|
121201
121227
|
},
|
|
121202
|
-
"privacy": "
|
|
121203
|
-
"
|
|
121228
|
+
"privacy": "protected",
|
|
121229
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
121204
121230
|
"readonly": true,
|
|
121205
121231
|
"inheritedFrom": {
|
|
121206
121232
|
"name": "SbbElement",
|
|
121207
121233
|
"module": "core/base-elements/element.js"
|
|
121208
121234
|
},
|
|
121209
|
-
"default": "
|
|
121210
|
-
},
|
|
121211
|
-
{
|
|
121212
|
-
"kind": "field",
|
|
121213
|
-
"name": "_languageController",
|
|
121214
|
-
"privacy": "private",
|
|
121215
|
-
"default": "new SbbLanguageController(this)"
|
|
121235
|
+
"default": "!!this.shadowRoot"
|
|
121216
121236
|
},
|
|
121217
121237
|
{
|
|
121218
121238
|
"kind": "method",
|
|
121219
|
-
"name": "
|
|
121239
|
+
"name": "toggleState",
|
|
121220
121240
|
"privacy": "protected",
|
|
121221
121241
|
"return": {
|
|
121222
121242
|
"type": {
|
|
121223
|
-
"text": "
|
|
121243
|
+
"text": "void"
|
|
121224
121244
|
}
|
|
121225
121245
|
},
|
|
121226
|
-
"
|
|
121246
|
+
"parameters": [
|
|
121247
|
+
{
|
|
121248
|
+
"name": "value",
|
|
121249
|
+
"type": {
|
|
121250
|
+
"text": "string"
|
|
121251
|
+
}
|
|
121252
|
+
},
|
|
121253
|
+
{
|
|
121254
|
+
"name": "force",
|
|
121255
|
+
"optional": true,
|
|
121256
|
+
"type": {
|
|
121257
|
+
"text": "boolean"
|
|
121258
|
+
}
|
|
121259
|
+
}
|
|
121260
|
+
],
|
|
121227
121261
|
"inheritedFrom": {
|
|
121228
|
-
"name": "
|
|
121229
|
-
"module": "core/base-elements/
|
|
121262
|
+
"name": "SbbElement",
|
|
121263
|
+
"module": "core/base-elements/element.js"
|
|
121230
121264
|
}
|
|
121231
121265
|
},
|
|
121232
121266
|
{
|
|
121233
|
-
"kind": "
|
|
121234
|
-
"name": "
|
|
121235
|
-
"
|
|
121236
|
-
|
|
121237
|
-
"type": {
|
|
121238
|
-
"text": "string"
|
|
121239
|
-
}
|
|
121267
|
+
"kind": "field",
|
|
121268
|
+
"name": "['_$sbbElement$']",
|
|
121269
|
+
"type": {
|
|
121270
|
+
"text": "boolean"
|
|
121240
121271
|
},
|
|
121272
|
+
"privacy": "public",
|
|
121273
|
+
"static": true,
|
|
121274
|
+
"default": "true",
|
|
121241
121275
|
"inheritedFrom": {
|
|
121242
|
-
"name": "
|
|
121243
|
-
"module": "
|
|
121276
|
+
"name": "SbbElement",
|
|
121277
|
+
"module": "core/base-elements/element.js"
|
|
121244
121278
|
}
|
|
121245
121279
|
},
|
|
121246
121280
|
{
|
|
121247
121281
|
"kind": "field",
|
|
121282
|
+
"name": "_controllers",
|
|
121283
|
+
"type": {
|
|
121284
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
121285
|
+
},
|
|
121286
|
+
"privacy": "private",
|
|
121287
|
+
"inheritedFrom": {
|
|
121288
|
+
"name": "SbbElement",
|
|
121289
|
+
"module": "core/base-elements/element.js"
|
|
121290
|
+
}
|
|
121291
|
+
}
|
|
121292
|
+
],
|
|
121293
|
+
"superclass": {
|
|
121294
|
+
"name": "SbbSecondaryButtonElement",
|
|
121295
|
+
"module": "button.pure.js"
|
|
121296
|
+
},
|
|
121297
|
+
"tagName": "sbb-sidebar-close-button",
|
|
121298
|
+
"customElement": true,
|
|
121299
|
+
"attributes": [
|
|
121300
|
+
{
|
|
121248
121301
|
"name": "size",
|
|
121249
121302
|
"type": {
|
|
121250
121303
|
"text": "SbbButtonSize"
|
|
121251
121304
|
},
|
|
121252
|
-
"privacy": "public",
|
|
121253
121305
|
"description": "Size variant, either l, m or s.",
|
|
121254
|
-
"default": "'s'",
|
|
121255
|
-
"
|
|
121256
|
-
"reflects": true,
|
|
121306
|
+
"default": "'l' / 's' (lean)",
|
|
121307
|
+
"fieldName": "size",
|
|
121257
121308
|
"inheritedFrom": {
|
|
121258
121309
|
"name": "SbbButtonCommonElementMixin",
|
|
121259
121310
|
"module": "button/common/button-common.js"
|
|
121260
121311
|
}
|
|
121261
121312
|
},
|
|
121262
121313
|
{
|
|
121263
|
-
"kind": "field",
|
|
121264
121314
|
"name": "loading",
|
|
121265
121315
|
"type": {
|
|
121266
121316
|
"text": "boolean"
|
|
121267
121317
|
},
|
|
121268
|
-
"privacy": "public",
|
|
121269
121318
|
"default": "false",
|
|
121270
121319
|
"description": "Whether the button indicates a loading state.\nThe animation kicks in after a delay of 300ms, configurable with --sbb-button-loading-delay CSS variable.",
|
|
121271
|
-
"
|
|
121272
|
-
"reflects": true,
|
|
121320
|
+
"fieldName": "loading",
|
|
121273
121321
|
"inheritedFrom": {
|
|
121274
121322
|
"name": "SbbButtonCommonElementMixin",
|
|
121275
121323
|
"module": "button/common/button-common.js"
|
|
121276
121324
|
}
|
|
121277
121325
|
},
|
|
121278
121326
|
{
|
|
121279
|
-
"kind": "field",
|
|
121280
121327
|
"name": "negative",
|
|
121281
121328
|
"type": {
|
|
121282
121329
|
"text": "boolean"
|
|
121283
121330
|
},
|
|
121284
|
-
"privacy": "public",
|
|
121285
121331
|
"default": "false",
|
|
121286
121332
|
"description": "Negative coloring variant flag.",
|
|
121287
|
-
"
|
|
121288
|
-
"reflects": true,
|
|
121333
|
+
"fieldName": "negative",
|
|
121289
121334
|
"inheritedFrom": {
|
|
121290
121335
|
"name": "SbbNegativeMixin",
|
|
121291
121336
|
"module": "core/mixins/negative-mixin.js"
|
|
121292
121337
|
}
|
|
121293
121338
|
},
|
|
121294
121339
|
{
|
|
121295
|
-
"
|
|
121296
|
-
"name": "iconName",
|
|
121340
|
+
"name": "icon-name",
|
|
121297
121341
|
"type": {
|
|
121298
121342
|
"text": "string"
|
|
121299
121343
|
},
|
|
121300
|
-
"privacy": "public",
|
|
121301
121344
|
"default": "''",
|
|
121302
121345
|
"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.",
|
|
121303
|
-
"
|
|
121304
|
-
"inheritedFrom": {
|
|
121305
|
-
"name": "SbbIconNameMixin",
|
|
121306
|
-
"module": "icon/icon-name-mixin.js"
|
|
121307
|
-
}
|
|
121308
|
-
},
|
|
121309
|
-
{
|
|
121310
|
-
"kind": "method",
|
|
121311
|
-
"name": "renderIconSlot",
|
|
121312
|
-
"privacy": "protected",
|
|
121313
|
-
"return": {
|
|
121314
|
-
"type": {
|
|
121315
|
-
"text": "TemplateResult"
|
|
121316
|
-
}
|
|
121317
|
-
},
|
|
121318
|
-
"parameters": [
|
|
121319
|
-
{
|
|
121320
|
-
"name": "classname",
|
|
121321
|
-
"optional": true,
|
|
121322
|
-
"type": {
|
|
121323
|
-
"text": "string"
|
|
121324
|
-
}
|
|
121325
|
-
}
|
|
121326
|
-
],
|
|
121327
|
-
"inheritedFrom": {
|
|
121328
|
-
"name": "SbbIconNameMixin",
|
|
121329
|
-
"module": "icon/icon-name-mixin.js"
|
|
121330
|
-
}
|
|
121331
|
-
},
|
|
121332
|
-
{
|
|
121333
|
-
"kind": "method",
|
|
121334
|
-
"name": "_renderIconName",
|
|
121335
|
-
"privacy": "private",
|
|
121336
|
-
"return": {
|
|
121337
|
-
"type": {
|
|
121338
|
-
"text": "string"
|
|
121339
|
-
}
|
|
121340
|
-
},
|
|
121346
|
+
"fieldName": "iconName",
|
|
121341
121347
|
"inheritedFrom": {
|
|
121342
121348
|
"name": "SbbIconNameMixin",
|
|
121343
121349
|
"module": "icon/icon-name-mixin.js"
|
|
121344
121350
|
}
|
|
121345
121351
|
},
|
|
121346
121352
|
{
|
|
121347
|
-
"
|
|
121348
|
-
"name": "disabledInteractive",
|
|
121353
|
+
"name": "disabled-interactive",
|
|
121349
121354
|
"type": {
|
|
121350
121355
|
"text": "boolean"
|
|
121351
121356
|
},
|
|
121352
|
-
"privacy": "public",
|
|
121353
121357
|
"default": "false",
|
|
121354
121358
|
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
121355
|
-
"
|
|
121356
|
-
"reflects": true,
|
|
121359
|
+
"fieldName": "disabledInteractive",
|
|
121357
121360
|
"inheritedFrom": {
|
|
121358
121361
|
"name": "SbbDisabledInteractiveMixin",
|
|
121359
121362
|
"module": "core/mixins/disabled-mixin.js"
|
|
121360
121363
|
}
|
|
121361
121364
|
},
|
|
121362
121365
|
{
|
|
121363
|
-
"kind": "field",
|
|
121364
121366
|
"name": "disabled",
|
|
121365
|
-
"privacy": "public",
|
|
121366
121367
|
"description": "Whether the component is disabled.",
|
|
121367
121368
|
"default": "false",
|
|
121368
121369
|
"type": {
|
|
121369
121370
|
"text": "boolean"
|
|
121370
121371
|
},
|
|
121371
|
-
"
|
|
121372
|
-
"reflects": true,
|
|
121373
|
-
"inheritedFrom": {
|
|
121374
|
-
"name": "SbbDisabledMixin",
|
|
121375
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
121376
|
-
}
|
|
121377
|
-
},
|
|
121378
|
-
{
|
|
121379
|
-
"kind": "field",
|
|
121380
|
-
"name": "#disabled",
|
|
121381
|
-
"privacy": "private",
|
|
121382
|
-
"type": {
|
|
121383
|
-
"text": "boolean"
|
|
121384
|
-
},
|
|
121385
|
-
"default": "false",
|
|
121386
|
-
"inheritedFrom": {
|
|
121387
|
-
"name": "SbbDisabledMixin",
|
|
121388
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
121389
|
-
}
|
|
121390
|
-
},
|
|
121391
|
-
{
|
|
121392
|
-
"kind": "method",
|
|
121393
|
-
"name": "isDisabledExternally",
|
|
121394
|
-
"privacy": "protected",
|
|
121395
|
-
"return": {
|
|
121396
|
-
"type": {
|
|
121397
|
-
"text": "boolean"
|
|
121398
|
-
}
|
|
121399
|
-
},
|
|
121400
|
-
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
121372
|
+
"fieldName": "disabled",
|
|
121401
121373
|
"inheritedFrom": {
|
|
121402
121374
|
"name": "SbbDisabledMixin",
|
|
121403
121375
|
"module": "core/mixins/disabled-mixin.js"
|
|
121404
121376
|
}
|
|
121405
121377
|
},
|
|
121406
121378
|
{
|
|
121407
|
-
"kind": "field",
|
|
121408
|
-
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
121409
|
-
"type": {
|
|
121410
|
-
"text": "array"
|
|
121411
|
-
},
|
|
121412
|
-
"privacy": "private",
|
|
121413
|
-
"readonly": true,
|
|
121414
|
-
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
121415
|
-
"inheritedFrom": {
|
|
121416
|
-
"name": "SbbButtonBaseElement",
|
|
121417
|
-
"module": "core/base-elements/button-base-element.js"
|
|
121418
|
-
}
|
|
121419
|
-
},
|
|
121420
|
-
{
|
|
121421
|
-
"kind": "field",
|
|
121422
121379
|
"name": "value",
|
|
121423
121380
|
"type": {
|
|
121424
121381
|
"text": "string"
|
|
121425
121382
|
},
|
|
121426
|
-
"
|
|
121383
|
+
"default": "''",
|
|
121384
|
+
"description": "Value of the form element.",
|
|
121385
|
+
"fieldName": "value",
|
|
121427
121386
|
"inheritedFrom": {
|
|
121428
121387
|
"name": "SbbButtonBaseElement",
|
|
121429
121388
|
"module": "core/base-elements/button-base-element.js"
|
|
121430
|
-
}
|
|
121431
|
-
"default": "''",
|
|
121432
|
-
"description": "Value of the form element.",
|
|
121433
|
-
"attribute": "value"
|
|
121389
|
+
}
|
|
121434
121390
|
},
|
|
121435
121391
|
{
|
|
121436
|
-
"kind": "field",
|
|
121437
121392
|
"name": "type",
|
|
121438
|
-
"privacy": "public",
|
|
121439
121393
|
"description": "The type attribute to use for the button.",
|
|
121440
121394
|
"default": "'button'",
|
|
121441
121395
|
"type": {
|
|
121442
121396
|
"text": "SbbButtonType"
|
|
121443
121397
|
},
|
|
121444
|
-
"
|
|
121398
|
+
"fieldName": "type",
|
|
121445
121399
|
"inheritedFrom": {
|
|
121446
121400
|
"name": "SbbButtonBaseElement",
|
|
121447
121401
|
"module": "core/base-elements/button-base-element.js"
|
|
121448
121402
|
}
|
|
121449
121403
|
},
|
|
121450
121404
|
{
|
|
121451
|
-
"kind": "field",
|
|
121452
121405
|
"name": "form",
|
|
121406
|
+
"description": "The `<form>` element to associate the button with.",
|
|
121453
121407
|
"type": {
|
|
121454
121408
|
"text": "HTMLFormElement | null"
|
|
121455
121409
|
},
|
|
121456
|
-
"
|
|
121457
|
-
"description": "The `<form>` element to associate the button with.",
|
|
121410
|
+
"fieldName": "form",
|
|
121458
121411
|
"inheritedFrom": {
|
|
121459
121412
|
"name": "SbbButtonBaseElement",
|
|
121460
121413
|
"module": "core/base-elements/button-base-element.js"
|
|
121461
|
-
}
|
|
121462
|
-
"attribute": "form"
|
|
121414
|
+
}
|
|
121463
121415
|
},
|
|
121464
121416
|
{
|
|
121465
|
-
"
|
|
121466
|
-
"
|
|
121417
|
+
"name": "name",
|
|
121418
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
121467
121419
|
"type": {
|
|
121468
121420
|
"text": "string"
|
|
121469
121421
|
},
|
|
121470
|
-
"
|
|
121471
|
-
"default": "''",
|
|
121422
|
+
"fieldName": "name",
|
|
121472
121423
|
"inheritedFrom": {
|
|
121473
|
-
"name": "
|
|
121474
|
-
"module": "core/
|
|
121424
|
+
"name": "SbbFormAssociatedMixin",
|
|
121425
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121475
121426
|
}
|
|
121476
|
-
}
|
|
121427
|
+
}
|
|
121428
|
+
],
|
|
121429
|
+
"cssProperties": [
|
|
121477
121430
|
{
|
|
121478
|
-
"
|
|
121479
|
-
"name": "
|
|
121480
|
-
"
|
|
121431
|
+
"description": "The delay before the loading animation starts, when setting the button into loading state.",
|
|
121432
|
+
"name": "--sbb-button-loading-delay",
|
|
121433
|
+
"default": "300ms",
|
|
121481
121434
|
"inheritedFrom": {
|
|
121482
|
-
"name": "
|
|
121483
|
-
"module": "
|
|
121435
|
+
"name": "SbbSecondaryButtonElement",
|
|
121436
|
+
"module": "button/secondary-button/secondary-button.component.js"
|
|
121484
121437
|
}
|
|
121438
|
+
}
|
|
121439
|
+
]
|
|
121440
|
+
}
|
|
121441
|
+
],
|
|
121442
|
+
"exports": [
|
|
121443
|
+
{
|
|
121444
|
+
"kind": "js",
|
|
121445
|
+
"name": "SbbSidebarCloseButtonElement",
|
|
121446
|
+
"declaration": {
|
|
121447
|
+
"name": "SbbSidebarCloseButtonElement",
|
|
121448
|
+
"module": "sidebar/sidebar-close-button/sidebar-close-button.component.js"
|
|
121449
|
+
}
|
|
121450
|
+
}
|
|
121451
|
+
]
|
|
121452
|
+
},
|
|
121453
|
+
{
|
|
121454
|
+
"kind": "javascript-module",
|
|
121455
|
+
"path": "sidebar/sidebar/sidebar.component.js",
|
|
121456
|
+
"declarations": [
|
|
121457
|
+
{
|
|
121458
|
+
"kind": "class",
|
|
121459
|
+
"description": "This component corresponds to a sidebar that can be opened on the sidebar container.",
|
|
121460
|
+
"name": "SbbSidebarElement",
|
|
121461
|
+
"slots": [
|
|
121462
|
+
{
|
|
121463
|
+
"description": "Use the unnamed slot to slot any content into the sidebar.",
|
|
121464
|
+
"name": ""
|
|
121485
121465
|
},
|
|
121486
121466
|
{
|
|
121487
|
-
"
|
|
121488
|
-
"name": "
|
|
121489
|
-
|
|
121490
|
-
|
|
121491
|
-
|
|
121492
|
-
|
|
121493
|
-
|
|
121467
|
+
"description": "Use the title slot to add an <sbb-title>.",
|
|
121468
|
+
"name": "title"
|
|
121469
|
+
}
|
|
121470
|
+
],
|
|
121471
|
+
"members": [
|
|
121472
|
+
{
|
|
121473
|
+
"kind": "field",
|
|
121474
|
+
"name": "elementName",
|
|
121475
|
+
"type": {
|
|
121476
|
+
"text": "string"
|
|
121494
121477
|
},
|
|
121495
|
-
"
|
|
121496
|
-
|
|
121497
|
-
|
|
121498
|
-
"type": {
|
|
121499
|
-
"text": "HTMLFormElement"
|
|
121500
|
-
}
|
|
121501
|
-
}
|
|
121502
|
-
],
|
|
121478
|
+
"privacy": "public",
|
|
121479
|
+
"static": true,
|
|
121480
|
+
"readonly": true,
|
|
121503
121481
|
"inheritedFrom": {
|
|
121504
|
-
"name": "
|
|
121505
|
-
"module": "core/base-elements/
|
|
121506
|
-
}
|
|
121482
|
+
"name": "SbbElement",
|
|
121483
|
+
"module": "core/base-elements/element.js"
|
|
121484
|
+
},
|
|
121485
|
+
"default": "'sbb-sidebar'"
|
|
121507
121486
|
},
|
|
121508
121487
|
{
|
|
121509
121488
|
"kind": "field",
|
|
121510
|
-
"name": "
|
|
121511
|
-
"
|
|
121512
|
-
|
|
121513
|
-
|
|
121514
|
-
|
|
121515
|
-
|
|
121489
|
+
"name": "color",
|
|
121490
|
+
"type": {
|
|
121491
|
+
"text": "'white' | 'milk'"
|
|
121492
|
+
},
|
|
121493
|
+
"privacy": "public",
|
|
121494
|
+
"default": "'white'",
|
|
121495
|
+
"description": "Background color of the sidebar. Either `white` or `milk`.",
|
|
121496
|
+
"attribute": "color",
|
|
121497
|
+
"reflects": true
|
|
121516
121498
|
},
|
|
121517
121499
|
{
|
|
121518
121500
|
"kind": "field",
|
|
121519
|
-
"name": "
|
|
121501
|
+
"name": "mode",
|
|
121520
121502
|
"type": {
|
|
121521
|
-
"text": "
|
|
121503
|
+
"text": "'side' | 'over'"
|
|
121522
121504
|
},
|
|
121523
121505
|
"privacy": "public",
|
|
121524
|
-
"
|
|
121525
|
-
"
|
|
121526
|
-
"
|
|
121527
|
-
|
|
121528
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
121529
|
-
}
|
|
121506
|
+
"default": "'side'",
|
|
121507
|
+
"description": "Mode of the sidebar; one of 'side' or 'over'.",
|
|
121508
|
+
"attribute": "mode",
|
|
121509
|
+
"reflects": true
|
|
121530
121510
|
},
|
|
121531
121511
|
{
|
|
121532
121512
|
"kind": "field",
|
|
121533
|
-
"name": "
|
|
121534
|
-
"privacy": "public",
|
|
121535
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
121513
|
+
"name": "position",
|
|
121536
121514
|
"type": {
|
|
121537
|
-
"text": "
|
|
121515
|
+
"text": "'start' | 'end'"
|
|
121538
121516
|
},
|
|
121539
|
-
"
|
|
121540
|
-
"
|
|
121541
|
-
|
|
121542
|
-
|
|
121543
|
-
|
|
121517
|
+
"privacy": "public",
|
|
121518
|
+
"default": "'start'",
|
|
121519
|
+
"description": "The side that the sidebar is attached to.",
|
|
121520
|
+
"attribute": "position",
|
|
121521
|
+
"reflects": true
|
|
121544
121522
|
},
|
|
121545
121523
|
{
|
|
121546
121524
|
"kind": "field",
|
|
121547
|
-
"name": "
|
|
121525
|
+
"name": "opened",
|
|
121548
121526
|
"type": {
|
|
121549
|
-
"text": "
|
|
121527
|
+
"text": "boolean"
|
|
121550
121528
|
},
|
|
121551
121529
|
"privacy": "public",
|
|
121552
|
-
"
|
|
121553
|
-
"
|
|
121554
|
-
"
|
|
121555
|
-
|
|
121556
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
121557
|
-
}
|
|
121530
|
+
"default": "false",
|
|
121531
|
+
"description": "Whether the sidebar is opened or closed.\nCan be used to initially set the opened state, where\nthe animation will be skipped.",
|
|
121532
|
+
"attribute": "opened",
|
|
121533
|
+
"reflects": true
|
|
121558
121534
|
},
|
|
121559
121535
|
{
|
|
121560
121536
|
"kind": "field",
|
|
121561
|
-
"name": "
|
|
121537
|
+
"name": "focusOnOpen",
|
|
121562
121538
|
"type": {
|
|
121563
|
-
"text": "
|
|
121539
|
+
"text": "boolean"
|
|
121564
121540
|
},
|
|
121565
121541
|
"privacy": "public",
|
|
121566
|
-
"
|
|
121567
|
-
"
|
|
121568
|
-
"
|
|
121569
|
-
"name": "SbbFormAssociatedMixin",
|
|
121570
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
121571
|
-
}
|
|
121542
|
+
"default": "false",
|
|
121543
|
+
"description": "Whether the sidebar should focus the first focusable element automatically when opened.\nDefaults to false in when mode is set to `side`, otherwise defaults to true.\nIf explicitly enabled, focus will be moved into the sidebar in `side` mode as well.",
|
|
121544
|
+
"attribute": "focus-on-open"
|
|
121572
121545
|
},
|
|
121573
121546
|
{
|
|
121574
121547
|
"kind": "field",
|
|
121575
|
-
"name": "
|
|
121548
|
+
"name": "container",
|
|
121576
121549
|
"type": {
|
|
121577
|
-
"text": "
|
|
121550
|
+
"text": "SbbSidebarContainerElement | null"
|
|
121578
121551
|
},
|
|
121579
121552
|
"privacy": "public",
|
|
121580
|
-
"description": "Returns
|
|
121553
|
+
"description": "Returns the SbbSidebarContainerElement where this sidebar is contained.",
|
|
121581
121554
|
"readonly": true,
|
|
121582
|
-
"
|
|
121583
|
-
"name": "SbbFormAssociatedMixin",
|
|
121584
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
121585
|
-
}
|
|
121555
|
+
"default": "null"
|
|
121586
121556
|
},
|
|
121587
121557
|
{
|
|
121588
121558
|
"kind": "field",
|
|
121589
|
-
"name": "
|
|
121559
|
+
"name": "_container",
|
|
121560
|
+
"type": {
|
|
121561
|
+
"text": "SbbSidebarContainerElement | null"
|
|
121562
|
+
},
|
|
121590
121563
|
"privacy": "private",
|
|
121591
|
-
"default": "
|
|
121592
|
-
"inheritedFrom": {
|
|
121593
|
-
"name": "SbbFormAssociatedMixin",
|
|
121594
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
121595
|
-
}
|
|
121564
|
+
"default": "null"
|
|
121596
121565
|
},
|
|
121597
121566
|
{
|
|
121598
121567
|
"kind": "field",
|
|
121599
|
-
"name": "
|
|
121568
|
+
"name": "_lastFocusedElement",
|
|
121600
121569
|
"type": {
|
|
121601
|
-
"text": "
|
|
121570
|
+
"text": "HTMLElement | null"
|
|
121602
121571
|
},
|
|
121603
|
-
"privacy": "
|
|
121604
|
-
"default": "
|
|
121605
|
-
|
|
121606
|
-
|
|
121607
|
-
|
|
121608
|
-
|
|
121609
|
-
|
|
121572
|
+
"privacy": "private",
|
|
121573
|
+
"default": "null"
|
|
121574
|
+
},
|
|
121575
|
+
{
|
|
121576
|
+
"kind": "field",
|
|
121577
|
+
"name": "_focusTrapController",
|
|
121578
|
+
"privacy": "private",
|
|
121579
|
+
"default": "new SbbFocusTrapController(this)"
|
|
121580
|
+
},
|
|
121581
|
+
{
|
|
121582
|
+
"kind": "field",
|
|
121583
|
+
"name": "_escapableOverlayController",
|
|
121584
|
+
"privacy": "private",
|
|
121585
|
+
"default": "new SbbEscapableOverlayController(this)"
|
|
121586
|
+
},
|
|
121587
|
+
{
|
|
121588
|
+
"kind": "field",
|
|
121589
|
+
"name": "_closeOnNavigation",
|
|
121590
|
+
"privacy": "private"
|
|
121591
|
+
},
|
|
121592
|
+
{
|
|
121593
|
+
"kind": "method",
|
|
121594
|
+
"name": "toggle",
|
|
121595
|
+
"privacy": "public",
|
|
121596
|
+
"return": {
|
|
121597
|
+
"type": {
|
|
121598
|
+
"text": "void"
|
|
121599
|
+
}
|
|
121600
|
+
},
|
|
121601
|
+
"description": "Toggles the sidebar visibility."
|
|
121610
121602
|
},
|
|
121611
121603
|
{
|
|
121612
121604
|
"kind": "method",
|
|
121613
|
-
"name": "
|
|
121605
|
+
"name": "open",
|
|
121614
121606
|
"privacy": "public",
|
|
121615
121607
|
"return": {
|
|
121616
121608
|
"type": {
|
|
121617
|
-
"text": "
|
|
121609
|
+
"text": "void"
|
|
121618
121610
|
}
|
|
121619
121611
|
},
|
|
121620
|
-
"description": "
|
|
121612
|
+
"description": "Opens the sidebar.",
|
|
121621
121613
|
"inheritedFrom": {
|
|
121622
|
-
"name": "
|
|
121623
|
-
"module": "core/
|
|
121614
|
+
"name": "SbbOpenCloseBaseElement",
|
|
121615
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
121624
121616
|
}
|
|
121625
121617
|
},
|
|
121626
121618
|
{
|
|
121627
121619
|
"kind": "method",
|
|
121628
|
-
"name": "
|
|
121629
|
-
"privacy": "
|
|
121620
|
+
"name": "_isZeroAnimationDuration",
|
|
121621
|
+
"privacy": "private",
|
|
121630
121622
|
"return": {
|
|
121631
121623
|
"type": {
|
|
121632
121624
|
"text": "boolean"
|
|
121633
121625
|
}
|
|
121634
|
-
},
|
|
121635
|
-
"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.",
|
|
121636
|
-
"inheritedFrom": {
|
|
121637
|
-
"name": "SbbFormAssociatedMixin",
|
|
121638
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
121639
121626
|
}
|
|
121640
121627
|
},
|
|
121641
121628
|
{
|
|
121642
121629
|
"kind": "method",
|
|
121643
|
-
"name": "
|
|
121630
|
+
"name": "_handleOpening",
|
|
121631
|
+
"privacy": "private",
|
|
121632
|
+
"return": {
|
|
121633
|
+
"type": {
|
|
121634
|
+
"text": "void"
|
|
121635
|
+
}
|
|
121636
|
+
}
|
|
121637
|
+
},
|
|
121638
|
+
{
|
|
121639
|
+
"kind": "method",
|
|
121640
|
+
"name": "close",
|
|
121644
121641
|
"privacy": "public",
|
|
121645
121642
|
"return": {
|
|
121646
121643
|
"type": {
|
|
121647
121644
|
"text": "void"
|
|
121648
121645
|
}
|
|
121649
121646
|
},
|
|
121650
|
-
"
|
|
121651
|
-
{
|
|
121652
|
-
"name": "message",
|
|
121653
|
-
"type": {
|
|
121654
|
-
"text": "string"
|
|
121655
|
-
}
|
|
121656
|
-
}
|
|
121657
|
-
],
|
|
121658
|
-
"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.",
|
|
121647
|
+
"description": "Closes the sidebar.",
|
|
121659
121648
|
"inheritedFrom": {
|
|
121660
|
-
"name": "
|
|
121661
|
-
"module": "core/
|
|
121649
|
+
"name": "SbbOpenCloseBaseElement",
|
|
121650
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
121662
121651
|
}
|
|
121663
121652
|
},
|
|
121664
121653
|
{
|
|
121665
121654
|
"kind": "method",
|
|
121666
|
-
"name": "
|
|
121655
|
+
"name": "_handleClosing",
|
|
121667
121656
|
"privacy": "private",
|
|
121668
121657
|
"return": {
|
|
121669
121658
|
"type": {
|
|
121670
|
-
"text": "
|
|
121659
|
+
"text": "void"
|
|
121671
121660
|
}
|
|
121672
|
-
},
|
|
121673
|
-
"inheritedFrom": {
|
|
121674
|
-
"name": "SbbFormAssociatedMixin",
|
|
121675
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
121676
121661
|
}
|
|
121677
121662
|
},
|
|
121678
121663
|
{
|
|
121679
121664
|
"kind": "method",
|
|
121680
|
-
"name": "
|
|
121681
|
-
"privacy": "
|
|
121665
|
+
"name": "_takeFocus",
|
|
121666
|
+
"privacy": "private",
|
|
121682
121667
|
"return": {
|
|
121683
121668
|
"type": {
|
|
121684
121669
|
"text": "void"
|
|
121685
121670
|
}
|
|
121686
|
-
},
|
|
121687
|
-
"description": "Should be called when form value is changed.\nAdapts and sets the formValue in the supported format (string | FormData | File | null)\nhttps://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/setFormValue",
|
|
121688
|
-
"inheritedFrom": {
|
|
121689
|
-
"name": "SbbFormAssociatedMixin",
|
|
121690
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
121691
121671
|
}
|
|
121692
121672
|
},
|
|
121693
121673
|
{
|
|
121694
121674
|
"kind": "method",
|
|
121695
|
-
"name": "
|
|
121675
|
+
"name": "cedeFocus",
|
|
121696
121676
|
"privacy": "protected",
|
|
121697
121677
|
"return": {
|
|
121698
121678
|
"type": {
|
|
121699
|
-
"text": "
|
|
121679
|
+
"text": "void"
|
|
121700
121680
|
}
|
|
121701
|
-
},
|
|
121702
|
-
"inheritedFrom": {
|
|
121703
|
-
"name": "SbbFormAssociatedMixin",
|
|
121704
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
121705
121681
|
}
|
|
121706
121682
|
},
|
|
121707
121683
|
{
|
|
121708
121684
|
"kind": "method",
|
|
121709
|
-
"name": "
|
|
121710
|
-
"privacy": "
|
|
121685
|
+
"name": "_updateSidebarWidth",
|
|
121686
|
+
"privacy": "private",
|
|
121711
121687
|
"return": {
|
|
121712
121688
|
"type": {
|
|
121713
121689
|
"text": "void"
|
|
@@ -121715,209 +121691,275 @@
|
|
|
121715
121691
|
},
|
|
121716
121692
|
"parameters": [
|
|
121717
121693
|
{
|
|
121718
|
-
"name": "
|
|
121719
|
-
"type": {
|
|
121720
|
-
"text": "T"
|
|
121721
|
-
}
|
|
121722
|
-
},
|
|
121723
|
-
{
|
|
121724
|
-
"name": "message",
|
|
121725
|
-
"type": {
|
|
121726
|
-
"text": "string"
|
|
121727
|
-
}
|
|
121728
|
-
},
|
|
121729
|
-
{
|
|
121730
|
-
"name": "flagValue",
|
|
121694
|
+
"name": "oldPosition",
|
|
121731
121695
|
"optional": true,
|
|
121732
121696
|
"type": {
|
|
121733
|
-
"text": "
|
|
121697
|
+
"text": "this['position']"
|
|
121734
121698
|
}
|
|
121735
121699
|
}
|
|
121736
|
-
]
|
|
121737
|
-
"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).",
|
|
121738
|
-
"inheritedFrom": {
|
|
121739
|
-
"name": "SbbFormAssociatedMixin",
|
|
121740
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
121741
|
-
}
|
|
121700
|
+
]
|
|
121742
121701
|
},
|
|
121743
121702
|
{
|
|
121744
121703
|
"kind": "method",
|
|
121745
|
-
"name": "
|
|
121746
|
-
"privacy": "
|
|
121704
|
+
"name": "_buildCssWidthVar",
|
|
121705
|
+
"privacy": "private",
|
|
121747
121706
|
"return": {
|
|
121748
121707
|
"type": {
|
|
121749
|
-
"text": "
|
|
121708
|
+
"text": "string"
|
|
121750
121709
|
}
|
|
121751
121710
|
},
|
|
121752
121711
|
"parameters": [
|
|
121753
121712
|
{
|
|
121754
|
-
"name": "
|
|
121755
|
-
"
|
|
121756
|
-
"text": "T"
|
|
121757
|
-
}
|
|
121713
|
+
"name": "position",
|
|
121714
|
+
"default": "this.position"
|
|
121758
121715
|
}
|
|
121759
|
-
]
|
|
121760
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
121761
|
-
"inheritedFrom": {
|
|
121762
|
-
"name": "SbbFormAssociatedMixin",
|
|
121763
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
121764
|
-
}
|
|
121716
|
+
]
|
|
121765
121717
|
},
|
|
121766
121718
|
{
|
|
121767
121719
|
"kind": "method",
|
|
121768
|
-
"name": "
|
|
121769
|
-
"privacy": "
|
|
121720
|
+
"name": "_isModeOver",
|
|
121721
|
+
"privacy": "private",
|
|
121770
121722
|
"return": {
|
|
121771
121723
|
"type": {
|
|
121772
|
-
"text": "
|
|
121724
|
+
"text": "boolean"
|
|
121773
121725
|
}
|
|
121774
|
-
},
|
|
121775
|
-
"description": "To be called whenever the current element needs to be validated.",
|
|
121776
|
-
"inheritedFrom": {
|
|
121777
|
-
"name": "SbbFormAssociatedMixin",
|
|
121778
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
121779
121726
|
}
|
|
121780
121727
|
},
|
|
121781
121728
|
{
|
|
121782
121729
|
"kind": "method",
|
|
121783
|
-
"name": "
|
|
121784
|
-
"privacy": "
|
|
121730
|
+
"name": "_onTransitionEnd",
|
|
121731
|
+
"privacy": "private",
|
|
121785
121732
|
"return": {
|
|
121786
121733
|
"type": {
|
|
121787
|
-
"text": "
|
|
121734
|
+
"text": "void"
|
|
121788
121735
|
}
|
|
121789
121736
|
},
|
|
121790
121737
|
"parameters": [
|
|
121791
121738
|
{
|
|
121792
|
-
"name": "
|
|
121739
|
+
"name": "event",
|
|
121793
121740
|
"type": {
|
|
121794
|
-
"text": "
|
|
121741
|
+
"text": "TransitionEvent"
|
|
121795
121742
|
}
|
|
121796
121743
|
}
|
|
121797
|
-
]
|
|
121798
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
121799
|
-
"inheritedFrom": {
|
|
121800
|
-
"name": "SbbFormAssociatedMixin",
|
|
121801
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
121802
|
-
}
|
|
121744
|
+
]
|
|
121803
121745
|
},
|
|
121804
121746
|
{
|
|
121805
121747
|
"kind": "method",
|
|
121806
|
-
"name": "
|
|
121748
|
+
"name": "_detectScrolledState",
|
|
121807
121749
|
"privacy": "private",
|
|
121808
121750
|
"return": {
|
|
121809
121751
|
"type": {
|
|
121810
121752
|
"text": "void"
|
|
121811
121753
|
}
|
|
121754
|
+
}
|
|
121755
|
+
},
|
|
121756
|
+
{
|
|
121757
|
+
"kind": "field",
|
|
121758
|
+
"name": "isAnimating",
|
|
121759
|
+
"type": {
|
|
121760
|
+
"text": "boolean"
|
|
121812
121761
|
},
|
|
121762
|
+
"privacy": "public",
|
|
121763
|
+
"default": "false",
|
|
121764
|
+
"description": "Whether the component is currently animating.",
|
|
121813
121765
|
"inheritedFrom": {
|
|
121814
|
-
"name": "
|
|
121815
|
-
"module": "core/mixins/
|
|
121766
|
+
"name": "SbbAnimationCompleteMixin",
|
|
121767
|
+
"module": "core/mixins/animation-complete-mixin.js"
|
|
121816
121768
|
}
|
|
121817
121769
|
},
|
|
121818
121770
|
{
|
|
121819
121771
|
"kind": "field",
|
|
121820
|
-
"name": "
|
|
121772
|
+
"name": "animationComplete",
|
|
121821
121773
|
"type": {
|
|
121822
|
-
"text": "
|
|
121774
|
+
"text": "Promise<void>"
|
|
121823
121775
|
},
|
|
121824
121776
|
"privacy": "public",
|
|
121825
|
-
"
|
|
121777
|
+
"description": "Returns a promise which completes whenever an animation ends.\nWhen a new animation starts, a new Promise is returned.",
|
|
121826
121778
|
"readonly": true,
|
|
121827
|
-
"default": "'button'",
|
|
121828
121779
|
"inheritedFrom": {
|
|
121829
|
-
"name": "
|
|
121830
|
-
"module": "core/
|
|
121780
|
+
"name": "SbbAnimationCompleteMixin",
|
|
121781
|
+
"module": "core/mixins/animation-complete-mixin.js"
|
|
121831
121782
|
}
|
|
121832
121783
|
},
|
|
121833
121784
|
{
|
|
121834
121785
|
"kind": "field",
|
|
121835
|
-
"name": "
|
|
121786
|
+
"name": "_animationPromise",
|
|
121787
|
+
"type": {
|
|
121788
|
+
"text": "Promise<void>"
|
|
121789
|
+
},
|
|
121836
121790
|
"privacy": "private",
|
|
121837
|
-
"
|
|
121838
|
-
|
|
121839
|
-
|
|
121840
|
-
|
|
121841
|
-
|
|
121791
|
+
"inheritedFrom": {
|
|
121792
|
+
"name": "SbbAnimationCompleteMixin",
|
|
121793
|
+
"module": "core/mixins/animation-complete-mixin.js"
|
|
121794
|
+
}
|
|
121795
|
+
},
|
|
121796
|
+
{
|
|
121797
|
+
"kind": "method",
|
|
121798
|
+
"name": "startAnimation",
|
|
121799
|
+
"privacy": "protected",
|
|
121800
|
+
"return": {
|
|
121801
|
+
"type": {
|
|
121802
|
+
"text": "void"
|
|
121842
121803
|
}
|
|
121843
|
-
|
|
121804
|
+
},
|
|
121844
121805
|
"inheritedFrom": {
|
|
121845
|
-
"name": "
|
|
121846
|
-
"module": "core/
|
|
121806
|
+
"name": "SbbAnimationCompleteMixin",
|
|
121807
|
+
"module": "core/mixins/animation-complete-mixin.js"
|
|
121847
121808
|
}
|
|
121848
121809
|
},
|
|
121849
121810
|
{
|
|
121850
|
-
"kind": "
|
|
121851
|
-
"name": "
|
|
121852
|
-
"privacy": "
|
|
121811
|
+
"kind": "method",
|
|
121812
|
+
"name": "stopAnimation",
|
|
121813
|
+
"privacy": "protected",
|
|
121814
|
+
"return": {
|
|
121815
|
+
"type": {
|
|
121816
|
+
"text": "void"
|
|
121817
|
+
}
|
|
121818
|
+
},
|
|
121819
|
+
"description": "Overriding stopAnimation() breaks functionality.",
|
|
121853
121820
|
"inheritedFrom": {
|
|
121854
|
-
"name": "
|
|
121855
|
-
"module": "core/
|
|
121821
|
+
"name": "SbbAnimationCompleteMixin",
|
|
121822
|
+
"module": "core/mixins/animation-complete-mixin.js"
|
|
121856
121823
|
}
|
|
121857
121824
|
},
|
|
121858
121825
|
{
|
|
121859
|
-
"kind": "
|
|
121860
|
-
"name": "
|
|
121826
|
+
"kind": "method",
|
|
121827
|
+
"name": "_enqueueAnimation",
|
|
121861
121828
|
"privacy": "private",
|
|
121862
|
-
"
|
|
121863
|
-
|
|
121864
|
-
|
|
121865
|
-
"description": "The origin event.",
|
|
121866
|
-
"name": "event"
|
|
121829
|
+
"return": {
|
|
121830
|
+
"type": {
|
|
121831
|
+
"text": "Promise<void>"
|
|
121867
121832
|
}
|
|
121868
|
-
|
|
121833
|
+
},
|
|
121869
121834
|
"inheritedFrom": {
|
|
121870
|
-
"name": "
|
|
121871
|
-
"module": "core/
|
|
121835
|
+
"name": "SbbAnimationCompleteMixin",
|
|
121836
|
+
"module": "core/mixins/animation-complete-mixin.js"
|
|
121872
121837
|
}
|
|
121873
121838
|
},
|
|
121874
121839
|
{
|
|
121875
121840
|
"kind": "field",
|
|
121876
|
-
"name": "
|
|
121877
|
-
"privacy": "
|
|
121841
|
+
"name": "events",
|
|
121842
|
+
"privacy": "public",
|
|
121843
|
+
"static": true,
|
|
121844
|
+
"readonly": true,
|
|
121845
|
+
"default": "{ beforeopen: 'beforeopen', open: 'open', beforeclose: 'beforeclose', close: 'close', }",
|
|
121846
|
+
"type": {
|
|
121847
|
+
"text": "{\n beforeopen: 'beforeopen',\n open: 'open',\n beforeclose: 'beforeclose',\n close: 'close',\n }"
|
|
121848
|
+
},
|
|
121878
121849
|
"inheritedFrom": {
|
|
121879
|
-
"name": "
|
|
121880
|
-
"module": "core/base-elements/
|
|
121850
|
+
"name": "SbbOpenCloseBaseElement",
|
|
121851
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
121881
121852
|
}
|
|
121882
121853
|
},
|
|
121883
121854
|
{
|
|
121884
121855
|
"kind": "field",
|
|
121885
|
-
"name": "
|
|
121856
|
+
"name": "state",
|
|
121857
|
+
"privacy": "protected",
|
|
121858
|
+
"description": "The state of the component.",
|
|
121886
121859
|
"type": {
|
|
121887
|
-
"text": "
|
|
121860
|
+
"text": "SbbOpenedClosedState"
|
|
121888
121861
|
},
|
|
121889
|
-
"
|
|
121890
|
-
"readonly": true,
|
|
121862
|
+
"default": "'closed'",
|
|
121891
121863
|
"inheritedFrom": {
|
|
121892
|
-
"name": "
|
|
121893
|
-
"module": "core/base-elements/
|
|
121864
|
+
"name": "SbbOpenCloseBaseElement",
|
|
121865
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
121894
121866
|
}
|
|
121895
121867
|
},
|
|
121896
121868
|
{
|
|
121897
121869
|
"kind": "field",
|
|
121898
|
-
"name": "
|
|
121870
|
+
"name": "_state",
|
|
121899
121871
|
"type": {
|
|
121900
|
-
"text": "
|
|
121872
|
+
"text": "SbbOpenedClosedState"
|
|
121901
121873
|
},
|
|
121902
|
-
"privacy": "
|
|
121874
|
+
"privacy": "private",
|
|
121875
|
+
"inheritedFrom": {
|
|
121876
|
+
"name": "SbbOpenCloseBaseElement",
|
|
121877
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
121878
|
+
}
|
|
121879
|
+
},
|
|
121880
|
+
{
|
|
121881
|
+
"kind": "field",
|
|
121882
|
+
"name": "isOpen",
|
|
121883
|
+
"type": {
|
|
121884
|
+
"text": "boolean"
|
|
121885
|
+
},
|
|
121886
|
+
"privacy": "public",
|
|
121887
|
+
"description": "Whether the element is open.",
|
|
121903
121888
|
"readonly": true,
|
|
121904
121889
|
"inheritedFrom": {
|
|
121905
|
-
"name": "
|
|
121906
|
-
"module": "core/base-elements/
|
|
121890
|
+
"name": "SbbOpenCloseBaseElement",
|
|
121891
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
121907
121892
|
}
|
|
121908
121893
|
},
|
|
121909
121894
|
{
|
|
121910
121895
|
"kind": "method",
|
|
121911
|
-
"name": "
|
|
121912
|
-
"privacy": "
|
|
121896
|
+
"name": "escapeStrategy",
|
|
121897
|
+
"privacy": "public",
|
|
121913
121898
|
"return": {
|
|
121914
121899
|
"type": {
|
|
121915
121900
|
"text": "void"
|
|
121916
121901
|
}
|
|
121917
121902
|
},
|
|
121903
|
+
"description": "The method which is called on escape key press. Defaults to calling close()",
|
|
121918
121904
|
"inheritedFrom": {
|
|
121919
|
-
"name": "
|
|
121920
|
-
"module": "core/base-elements/
|
|
121905
|
+
"name": "SbbOpenCloseBaseElement",
|
|
121906
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
121907
|
+
}
|
|
121908
|
+
},
|
|
121909
|
+
{
|
|
121910
|
+
"kind": "method",
|
|
121911
|
+
"name": "dispatchBeforeOpenEvent",
|
|
121912
|
+
"privacy": "protected",
|
|
121913
|
+
"return": {
|
|
121914
|
+
"type": {
|
|
121915
|
+
"text": "boolean"
|
|
121916
|
+
}
|
|
121917
|
+
},
|
|
121918
|
+
"inheritedFrom": {
|
|
121919
|
+
"name": "SbbOpenCloseBaseElement",
|
|
121920
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
121921
|
+
}
|
|
121922
|
+
},
|
|
121923
|
+
{
|
|
121924
|
+
"kind": "method",
|
|
121925
|
+
"name": "dispatchOpenEvent",
|
|
121926
|
+
"privacy": "protected",
|
|
121927
|
+
"return": {
|
|
121928
|
+
"type": {
|
|
121929
|
+
"text": "boolean"
|
|
121930
|
+
}
|
|
121931
|
+
},
|
|
121932
|
+
"inheritedFrom": {
|
|
121933
|
+
"name": "SbbOpenCloseBaseElement",
|
|
121934
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
121935
|
+
}
|
|
121936
|
+
},
|
|
121937
|
+
{
|
|
121938
|
+
"kind": "method",
|
|
121939
|
+
"name": "dispatchBeforeCloseEvent",
|
|
121940
|
+
"privacy": "protected",
|
|
121941
|
+
"return": {
|
|
121942
|
+
"type": {
|
|
121943
|
+
"text": "boolean"
|
|
121944
|
+
}
|
|
121945
|
+
},
|
|
121946
|
+
"inheritedFrom": {
|
|
121947
|
+
"name": "SbbOpenCloseBaseElement",
|
|
121948
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
121949
|
+
}
|
|
121950
|
+
},
|
|
121951
|
+
{
|
|
121952
|
+
"kind": "method",
|
|
121953
|
+
"name": "dispatchCloseEvent",
|
|
121954
|
+
"privacy": "protected",
|
|
121955
|
+
"return": {
|
|
121956
|
+
"type": {
|
|
121957
|
+
"text": "boolean"
|
|
121958
|
+
}
|
|
121959
|
+
},
|
|
121960
|
+
"inheritedFrom": {
|
|
121961
|
+
"name": "SbbOpenCloseBaseElement",
|
|
121962
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
121921
121963
|
}
|
|
121922
121964
|
},
|
|
121923
121965
|
{
|
|
@@ -122026,150 +122068,108 @@
|
|
|
122026
122068
|
}
|
|
122027
122069
|
}
|
|
122028
122070
|
],
|
|
122029
|
-
"superclass": {
|
|
122030
|
-
"name": "SbbSecondaryButtonElement",
|
|
122031
|
-
"module": "button.pure.js"
|
|
122032
|
-
},
|
|
122033
|
-
"tagName": "sbb-sidebar-close-button",
|
|
122034
|
-
"customElement": true,
|
|
122035
122071
|
"attributes": [
|
|
122036
122072
|
{
|
|
122037
|
-
"name": "
|
|
122038
|
-
"type": {
|
|
122039
|
-
"text": "SbbButtonSize"
|
|
122040
|
-
},
|
|
122041
|
-
"description": "Size variant, either l, m or s.",
|
|
122042
|
-
"default": "'l' / 's' (lean)",
|
|
122043
|
-
"fieldName": "size",
|
|
122044
|
-
"inheritedFrom": {
|
|
122045
|
-
"name": "SbbButtonCommonElementMixin",
|
|
122046
|
-
"module": "button/common/button-common.js"
|
|
122047
|
-
}
|
|
122048
|
-
},
|
|
122049
|
-
{
|
|
122050
|
-
"name": "loading",
|
|
122073
|
+
"name": "color",
|
|
122051
122074
|
"type": {
|
|
122052
|
-
"text": "
|
|
122075
|
+
"text": "'white' | 'milk'"
|
|
122053
122076
|
},
|
|
122054
|
-
"default": "
|
|
122055
|
-
"description": "
|
|
122056
|
-
"fieldName": "
|
|
122057
|
-
"inheritedFrom": {
|
|
122058
|
-
"name": "SbbButtonCommonElementMixin",
|
|
122059
|
-
"module": "button/common/button-common.js"
|
|
122060
|
-
}
|
|
122077
|
+
"default": "'white'",
|
|
122078
|
+
"description": "Background color of the sidebar. Either `white` or `milk`.",
|
|
122079
|
+
"fieldName": "color"
|
|
122061
122080
|
},
|
|
122062
122081
|
{
|
|
122063
|
-
"name": "
|
|
122082
|
+
"name": "mode",
|
|
122064
122083
|
"type": {
|
|
122065
|
-
"text": "
|
|
122084
|
+
"text": "'side' | 'over'"
|
|
122066
122085
|
},
|
|
122067
|
-
"default": "
|
|
122068
|
-
"description": "
|
|
122069
|
-
"fieldName": "
|
|
122070
|
-
"inheritedFrom": {
|
|
122071
|
-
"name": "SbbNegativeMixin",
|
|
122072
|
-
"module": "core/mixins/negative-mixin.js"
|
|
122073
|
-
}
|
|
122086
|
+
"default": "'side'",
|
|
122087
|
+
"description": "Mode of the sidebar; one of 'side' or 'over'.",
|
|
122088
|
+
"fieldName": "mode"
|
|
122074
122089
|
},
|
|
122075
122090
|
{
|
|
122076
|
-
"name": "
|
|
122091
|
+
"name": "position",
|
|
122077
122092
|
"type": {
|
|
122078
|
-
"text": "
|
|
122093
|
+
"text": "'start' | 'end'"
|
|
122079
122094
|
},
|
|
122080
|
-
"default": "''",
|
|
122081
|
-
"description": "The
|
|
122082
|
-
"fieldName": "
|
|
122083
|
-
"inheritedFrom": {
|
|
122084
|
-
"name": "SbbIconNameMixin",
|
|
122085
|
-
"module": "icon/icon-name-mixin.js"
|
|
122086
|
-
}
|
|
122095
|
+
"default": "'start'",
|
|
122096
|
+
"description": "The side that the sidebar is attached to.",
|
|
122097
|
+
"fieldName": "position"
|
|
122087
122098
|
},
|
|
122088
122099
|
{
|
|
122089
|
-
"name": "
|
|
122100
|
+
"name": "opened",
|
|
122090
122101
|
"type": {
|
|
122091
122102
|
"text": "boolean"
|
|
122092
122103
|
},
|
|
122093
122104
|
"default": "false",
|
|
122094
|
-
"description": "Whether the
|
|
122095
|
-
"fieldName": "
|
|
122096
|
-
"inheritedFrom": {
|
|
122097
|
-
"name": "SbbDisabledInteractiveMixin",
|
|
122098
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
122099
|
-
}
|
|
122105
|
+
"description": "Whether the sidebar is opened or closed.\nCan be used to initially set the opened state, where\nthe animation will be skipped.",
|
|
122106
|
+
"fieldName": "opened"
|
|
122100
122107
|
},
|
|
122101
122108
|
{
|
|
122102
|
-
"name": "
|
|
122103
|
-
"description": "Whether the component is disabled.",
|
|
122104
|
-
"default": "false",
|
|
122109
|
+
"name": "focus-on-open",
|
|
122105
122110
|
"type": {
|
|
122106
122111
|
"text": "boolean"
|
|
122107
122112
|
},
|
|
122108
|
-
"
|
|
122109
|
-
"
|
|
122110
|
-
|
|
122111
|
-
|
|
122112
|
-
|
|
122113
|
-
|
|
122113
|
+
"default": "false",
|
|
122114
|
+
"description": "Whether the sidebar should focus the first focusable element automatically when opened.\nDefaults to false in when mode is set to `side`, otherwise defaults to true.\nIf explicitly enabled, focus will be moved into the sidebar in `side` mode as well.",
|
|
122115
|
+
"fieldName": "focusOnOpen"
|
|
122116
|
+
}
|
|
122117
|
+
],
|
|
122118
|
+
"mixins": [
|
|
122114
122119
|
{
|
|
122115
|
-
"name": "
|
|
122120
|
+
"name": "SbbAnimationCompleteMixin",
|
|
122121
|
+
"module": "core/mixins.js"
|
|
122122
|
+
}
|
|
122123
|
+
],
|
|
122124
|
+
"superclass": {
|
|
122125
|
+
"name": "SbbOpenCloseBaseElement",
|
|
122126
|
+
"module": "core/base-elements.js"
|
|
122127
|
+
},
|
|
122128
|
+
"tagName": "sbb-sidebar",
|
|
122129
|
+
"customElement": true,
|
|
122130
|
+
"events": [
|
|
122131
|
+
{
|
|
122132
|
+
"name": "beforeopen",
|
|
122116
122133
|
"type": {
|
|
122117
|
-
"text": "
|
|
122134
|
+
"text": "Event"
|
|
122118
122135
|
},
|
|
122119
|
-
"
|
|
122120
|
-
"description": "Value of the form element.",
|
|
122121
|
-
"fieldName": "value",
|
|
122136
|
+
"description": "Emits whenever the component starts the opening transition. Can be canceled.",
|
|
122122
122137
|
"inheritedFrom": {
|
|
122123
|
-
"name": "
|
|
122124
|
-
"module": "core/base-elements/
|
|
122138
|
+
"name": "SbbOpenCloseBaseElement",
|
|
122139
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
122125
122140
|
}
|
|
122126
122141
|
},
|
|
122127
122142
|
{
|
|
122128
|
-
"name": "
|
|
122129
|
-
"description": "The type attribute to use for the button.",
|
|
122130
|
-
"default": "'button'",
|
|
122143
|
+
"name": "open",
|
|
122131
122144
|
"type": {
|
|
122132
|
-
"text": "
|
|
122145
|
+
"text": "Event"
|
|
122133
122146
|
},
|
|
122134
|
-
"
|
|
122147
|
+
"description": "Emits whenever the component is opened.",
|
|
122135
122148
|
"inheritedFrom": {
|
|
122136
|
-
"name": "
|
|
122137
|
-
"module": "core/base-elements/
|
|
122149
|
+
"name": "SbbOpenCloseBaseElement",
|
|
122150
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
122138
122151
|
}
|
|
122139
122152
|
},
|
|
122140
122153
|
{
|
|
122141
|
-
"name": "
|
|
122142
|
-
"description": "The `<form>` element to associate the button with.",
|
|
122154
|
+
"name": "beforeclose",
|
|
122143
122155
|
"type": {
|
|
122144
|
-
"text": "
|
|
122156
|
+
"text": "Event"
|
|
122145
122157
|
},
|
|
122146
|
-
"
|
|
122158
|
+
"description": "Emits whenever the component begins the closing transition. Can be canceled.",
|
|
122147
122159
|
"inheritedFrom": {
|
|
122148
|
-
"name": "
|
|
122149
|
-
"module": "core/base-elements/
|
|
122160
|
+
"name": "SbbOpenCloseBaseElement",
|
|
122161
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
122150
122162
|
}
|
|
122151
122163
|
},
|
|
122152
122164
|
{
|
|
122153
|
-
"name": "
|
|
122154
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
122165
|
+
"name": "close",
|
|
122155
122166
|
"type": {
|
|
122156
|
-
"text": "
|
|
122167
|
+
"text": "Event"
|
|
122157
122168
|
},
|
|
122158
|
-
"
|
|
122159
|
-
"inheritedFrom": {
|
|
122160
|
-
"name": "SbbFormAssociatedMixin",
|
|
122161
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
122162
|
-
}
|
|
122163
|
-
}
|
|
122164
|
-
],
|
|
122165
|
-
"cssProperties": [
|
|
122166
|
-
{
|
|
122167
|
-
"description": "The delay before the loading animation starts, when setting the button into loading state.",
|
|
122168
|
-
"name": "--sbb-button-loading-delay",
|
|
122169
|
-
"default": "300ms",
|
|
122169
|
+
"description": "Emits whenever the component is closed.",
|
|
122170
122170
|
"inheritedFrom": {
|
|
122171
|
-
"name": "
|
|
122172
|
-
"module": "
|
|
122171
|
+
"name": "SbbOpenCloseBaseElement",
|
|
122172
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
122173
122173
|
}
|
|
122174
122174
|
}
|
|
122175
122175
|
]
|
|
@@ -122178,10 +122178,10 @@
|
|
|
122178
122178
|
"exports": [
|
|
122179
122179
|
{
|
|
122180
122180
|
"kind": "js",
|
|
122181
|
-
"name": "
|
|
122181
|
+
"name": "SbbSidebarElement",
|
|
122182
122182
|
"declaration": {
|
|
122183
|
-
"name": "
|
|
122184
|
-
"module": "sidebar/sidebar
|
|
122183
|
+
"name": "SbbSidebarElement",
|
|
122184
|
+
"module": "sidebar/sidebar/sidebar.component.js"
|
|
122185
122185
|
}
|
|
122186
122186
|
}
|
|
122187
122187
|
]
|
|
@@ -131173,478 +131173,11 @@
|
|
|
131173
131173
|
},
|
|
131174
131174
|
"default": "false",
|
|
131175
131175
|
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
131176
|
-
"fieldName": "disabledInteractive",
|
|
131177
|
-
"inheritedFrom": {
|
|
131178
|
-
"name": "SbbDisabledInteractiveMixin",
|
|
131179
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
131180
|
-
}
|
|
131181
|
-
},
|
|
131182
|
-
{
|
|
131183
|
-
"name": "disabled",
|
|
131184
|
-
"description": "Whether the component is disabled.",
|
|
131185
|
-
"default": "false",
|
|
131186
|
-
"type": {
|
|
131187
|
-
"text": "boolean"
|
|
131188
|
-
},
|
|
131189
|
-
"fieldName": "disabled",
|
|
131190
|
-
"inheritedFrom": {
|
|
131191
|
-
"name": "SbbDisabledMixin",
|
|
131192
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
131193
|
-
}
|
|
131194
|
-
},
|
|
131195
|
-
{
|
|
131196
|
-
"name": "value",
|
|
131197
|
-
"type": {
|
|
131198
|
-
"text": "string"
|
|
131199
|
-
},
|
|
131200
|
-
"default": "''",
|
|
131201
|
-
"description": "Value of the form element.",
|
|
131202
|
-
"fieldName": "value",
|
|
131203
|
-
"inheritedFrom": {
|
|
131204
|
-
"name": "SbbButtonBaseElement",
|
|
131205
|
-
"module": "core/base-elements/button-base-element.js"
|
|
131206
|
-
}
|
|
131207
|
-
},
|
|
131208
|
-
{
|
|
131209
|
-
"name": "type",
|
|
131210
|
-
"description": "The type attribute to use for the button.",
|
|
131211
|
-
"default": "'button'",
|
|
131212
|
-
"type": {
|
|
131213
|
-
"text": "SbbButtonType"
|
|
131214
|
-
},
|
|
131215
|
-
"fieldName": "type",
|
|
131216
|
-
"inheritedFrom": {
|
|
131217
|
-
"name": "SbbButtonBaseElement",
|
|
131218
|
-
"module": "core/base-elements/button-base-element.js"
|
|
131219
|
-
}
|
|
131220
|
-
},
|
|
131221
|
-
{
|
|
131222
|
-
"name": "form",
|
|
131223
|
-
"description": "The `<form>` element to associate the button with.",
|
|
131224
|
-
"type": {
|
|
131225
|
-
"text": "HTMLFormElement | null"
|
|
131226
|
-
},
|
|
131227
|
-
"fieldName": "form",
|
|
131228
|
-
"inheritedFrom": {
|
|
131229
|
-
"name": "SbbButtonBaseElement",
|
|
131230
|
-
"module": "core/base-elements/button-base-element.js"
|
|
131231
|
-
}
|
|
131232
|
-
},
|
|
131233
|
-
{
|
|
131234
|
-
"name": "name",
|
|
131235
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
131236
|
-
"type": {
|
|
131237
|
-
"text": "string"
|
|
131238
|
-
},
|
|
131239
|
-
"fieldName": "name",
|
|
131240
|
-
"inheritedFrom": {
|
|
131241
|
-
"name": "SbbFormAssociatedMixin",
|
|
131242
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
131243
|
-
}
|
|
131244
|
-
}
|
|
131245
|
-
],
|
|
131246
|
-
"slots": [
|
|
131247
|
-
{
|
|
131248
|
-
"description": "Use the unnamed slot to add content to the secondary-button.",
|
|
131249
|
-
"name": "",
|
|
131250
|
-
"inheritedFrom": {
|
|
131251
|
-
"name": "SbbSecondaryButtonElement",
|
|
131252
|
-
"module": "button/secondary-button/secondary-button.component.js"
|
|
131253
|
-
}
|
|
131254
|
-
},
|
|
131255
|
-
{
|
|
131256
|
-
"description": "Slot used to display the icon, if one is set.",
|
|
131257
|
-
"name": "icon",
|
|
131258
|
-
"inheritedFrom": {
|
|
131259
|
-
"name": "SbbSecondaryButtonElement",
|
|
131260
|
-
"module": "button/secondary-button/secondary-button.component.js"
|
|
131261
|
-
}
|
|
131262
|
-
}
|
|
131263
|
-
],
|
|
131264
|
-
"cssProperties": [
|
|
131265
|
-
{
|
|
131266
|
-
"description": "The delay before the loading animation starts, when setting the button into loading state.",
|
|
131267
|
-
"name": "--sbb-button-loading-delay",
|
|
131268
|
-
"default": "300ms",
|
|
131269
|
-
"inheritedFrom": {
|
|
131270
|
-
"name": "SbbSecondaryButtonElement",
|
|
131271
|
-
"module": "button/secondary-button/secondary-button.component.js"
|
|
131272
|
-
}
|
|
131273
|
-
}
|
|
131274
|
-
]
|
|
131275
|
-
}
|
|
131276
|
-
],
|
|
131277
|
-
"exports": [
|
|
131278
|
-
{
|
|
131279
|
-
"kind": "js",
|
|
131280
|
-
"name": "SbbTimetableFormSwapButtonElement",
|
|
131281
|
-
"declaration": {
|
|
131282
|
-
"name": "SbbTimetableFormSwapButtonElement",
|
|
131283
|
-
"module": "timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.js"
|
|
131284
|
-
}
|
|
131285
|
-
}
|
|
131286
|
-
]
|
|
131287
|
-
},
|
|
131288
|
-
{
|
|
131289
|
-
"kind": "javascript-module",
|
|
131290
|
-
"path": "toggle/toggle-option/toggle-option.component.js",
|
|
131291
|
-
"declarations": [
|
|
131292
|
-
{
|
|
131293
|
-
"kind": "class",
|
|
131294
|
-
"description": "It displays a toggle option within a `sbb-toggle`.",
|
|
131295
|
-
"name": "SbbToggleOptionElement",
|
|
131296
|
-
"slots": [
|
|
131297
|
-
{
|
|
131298
|
-
"description": "Use the unnamed slot to add content to the label of the toggle option.",
|
|
131299
|
-
"name": ""
|
|
131300
|
-
},
|
|
131301
|
-
{
|
|
131302
|
-
"description": "Slot used to render the `sbb-icon`.",
|
|
131303
|
-
"name": "icon"
|
|
131304
|
-
}
|
|
131305
|
-
],
|
|
131306
|
-
"members": [
|
|
131307
|
-
{
|
|
131308
|
-
"kind": "field",
|
|
131309
|
-
"name": "elementName",
|
|
131310
|
-
"type": {
|
|
131311
|
-
"text": "string"
|
|
131312
|
-
},
|
|
131313
|
-
"privacy": "public",
|
|
131314
|
-
"static": true,
|
|
131315
|
-
"readonly": true,
|
|
131316
|
-
"default": "'sbb-toggle-option'",
|
|
131317
|
-
"inheritedFrom": {
|
|
131318
|
-
"name": "SbbElement",
|
|
131319
|
-
"module": "core/base-elements/element.js"
|
|
131320
|
-
}
|
|
131321
|
-
},
|
|
131322
|
-
{
|
|
131323
|
-
"kind": "field",
|
|
131324
|
-
"name": "role",
|
|
131325
|
-
"type": {
|
|
131326
|
-
"text": "string"
|
|
131327
|
-
},
|
|
131328
|
-
"privacy": "public",
|
|
131329
|
-
"static": true,
|
|
131330
|
-
"readonly": true,
|
|
131331
|
-
"default": "'radio'"
|
|
131332
|
-
},
|
|
131333
|
-
{
|
|
131334
|
-
"kind": "field",
|
|
131335
|
-
"name": "checked",
|
|
131336
|
-
"type": {
|
|
131337
|
-
"text": "boolean"
|
|
131338
|
-
},
|
|
131339
|
-
"privacy": "public",
|
|
131340
|
-
"default": "false",
|
|
131341
|
-
"description": "Whether the toggle-option is checked.",
|
|
131342
|
-
"attribute": "checked",
|
|
131343
|
-
"reflects": true
|
|
131344
|
-
},
|
|
131345
|
-
{
|
|
131346
|
-
"kind": "field",
|
|
131347
|
-
"name": "value",
|
|
131348
|
-
"type": {
|
|
131349
|
-
"text": "(T = string) | null"
|
|
131350
|
-
},
|
|
131351
|
-
"privacy": "public",
|
|
131352
|
-
"default": "null",
|
|
131353
|
-
"description": "Value of toggle-option.",
|
|
131354
|
-
"attribute": "value"
|
|
131355
|
-
},
|
|
131356
|
-
{
|
|
131357
|
-
"kind": "field",
|
|
131358
|
-
"name": "_toggle",
|
|
131359
|
-
"type": {
|
|
131360
|
-
"text": "SbbToggleElement | null"
|
|
131361
|
-
},
|
|
131362
|
-
"privacy": "private",
|
|
131363
|
-
"default": "null"
|
|
131364
|
-
},
|
|
131365
|
-
{
|
|
131366
|
-
"kind": "method",
|
|
131367
|
-
"name": "_uncheckOtherOptions",
|
|
131368
|
-
"privacy": "private",
|
|
131369
|
-
"return": {
|
|
131370
|
-
"type": {
|
|
131371
|
-
"text": "void"
|
|
131372
|
-
}
|
|
131373
|
-
}
|
|
131374
|
-
},
|
|
131375
|
-
{
|
|
131376
|
-
"kind": "method",
|
|
131377
|
-
"name": "_handleDisabledChange",
|
|
131378
|
-
"privacy": "private",
|
|
131379
|
-
"return": {
|
|
131380
|
-
"type": {
|
|
131381
|
-
"text": "void"
|
|
131382
|
-
}
|
|
131383
|
-
}
|
|
131384
|
-
},
|
|
131385
|
-
{
|
|
131386
|
-
"kind": "method",
|
|
131387
|
-
"name": "_handleInput",
|
|
131388
|
-
"privacy": "private",
|
|
131389
|
-
"return": {
|
|
131390
|
-
"type": {
|
|
131391
|
-
"text": "void"
|
|
131392
|
-
}
|
|
131393
|
-
}
|
|
131394
|
-
},
|
|
131395
|
-
{
|
|
131396
|
-
"kind": "method",
|
|
131397
|
-
"name": "_verifyTabindex",
|
|
131398
|
-
"privacy": "private",
|
|
131399
|
-
"return": {
|
|
131400
|
-
"type": {
|
|
131401
|
-
"text": "void"
|
|
131402
|
-
}
|
|
131403
|
-
}
|
|
131404
|
-
},
|
|
131405
|
-
{
|
|
131406
|
-
"kind": "field",
|
|
131407
|
-
"name": "disabled",
|
|
131408
|
-
"privacy": "public",
|
|
131409
|
-
"description": "Whether the component is disabled.",
|
|
131410
|
-
"default": "false",
|
|
131411
|
-
"type": {
|
|
131412
|
-
"text": "boolean"
|
|
131413
|
-
},
|
|
131414
|
-
"attribute": "disabled",
|
|
131415
|
-
"reflects": true,
|
|
131416
|
-
"inheritedFrom": {
|
|
131417
|
-
"name": "SbbDisabledMixin",
|
|
131418
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
131419
|
-
}
|
|
131420
|
-
},
|
|
131421
|
-
{
|
|
131422
|
-
"kind": "field",
|
|
131423
|
-
"name": "#disabled",
|
|
131424
|
-
"privacy": "private",
|
|
131425
|
-
"type": {
|
|
131426
|
-
"text": "boolean"
|
|
131427
|
-
},
|
|
131428
|
-
"default": "false",
|
|
131429
|
-
"inheritedFrom": {
|
|
131430
|
-
"name": "SbbDisabledMixin",
|
|
131431
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
131432
|
-
}
|
|
131433
|
-
},
|
|
131434
|
-
{
|
|
131435
|
-
"kind": "method",
|
|
131436
|
-
"name": "isDisabledExternally",
|
|
131437
|
-
"privacy": "protected",
|
|
131438
|
-
"return": {
|
|
131439
|
-
"type": {
|
|
131440
|
-
"text": "boolean"
|
|
131441
|
-
}
|
|
131442
|
-
},
|
|
131443
|
-
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
131444
|
-
"inheritedFrom": {
|
|
131445
|
-
"name": "SbbDisabledMixin",
|
|
131446
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
131447
|
-
}
|
|
131448
|
-
},
|
|
131449
|
-
{
|
|
131450
|
-
"kind": "field",
|
|
131451
|
-
"name": "iconName",
|
|
131452
|
-
"type": {
|
|
131453
|
-
"text": "string"
|
|
131454
|
-
},
|
|
131455
|
-
"privacy": "public",
|
|
131456
|
-
"default": "''",
|
|
131457
|
-
"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.",
|
|
131458
|
-
"attribute": "icon-name",
|
|
131459
|
-
"inheritedFrom": {
|
|
131460
|
-
"name": "SbbIconNameMixin",
|
|
131461
|
-
"module": "icon/icon-name-mixin.js"
|
|
131462
|
-
}
|
|
131463
|
-
},
|
|
131464
|
-
{
|
|
131465
|
-
"kind": "method",
|
|
131466
|
-
"name": "renderIconSlot",
|
|
131467
|
-
"privacy": "protected",
|
|
131468
|
-
"return": {
|
|
131469
|
-
"type": {
|
|
131470
|
-
"text": "TemplateResult"
|
|
131471
|
-
}
|
|
131472
|
-
},
|
|
131473
|
-
"parameters": [
|
|
131474
|
-
{
|
|
131475
|
-
"name": "classname",
|
|
131476
|
-
"optional": true,
|
|
131477
|
-
"type": {
|
|
131478
|
-
"text": "string"
|
|
131479
|
-
}
|
|
131480
|
-
}
|
|
131481
|
-
],
|
|
131482
|
-
"inheritedFrom": {
|
|
131483
|
-
"name": "SbbIconNameMixin",
|
|
131484
|
-
"module": "icon/icon-name-mixin.js"
|
|
131485
|
-
}
|
|
131486
|
-
},
|
|
131487
|
-
{
|
|
131488
|
-
"kind": "method",
|
|
131489
|
-
"name": "renderIconName",
|
|
131490
|
-
"privacy": "protected",
|
|
131491
|
-
"return": {
|
|
131492
|
-
"type": {
|
|
131493
|
-
"text": "string"
|
|
131494
|
-
}
|
|
131495
|
-
},
|
|
131496
|
-
"inheritedFrom": {
|
|
131497
|
-
"name": "SbbIconNameMixin",
|
|
131498
|
-
"module": "icon/icon-name-mixin.js"
|
|
131499
|
-
}
|
|
131500
|
-
},
|
|
131501
|
-
{
|
|
131502
|
-
"kind": "method",
|
|
131503
|
-
"name": "_renderIconName",
|
|
131504
|
-
"privacy": "private",
|
|
131505
|
-
"return": {
|
|
131506
|
-
"type": {
|
|
131507
|
-
"text": "string"
|
|
131508
|
-
}
|
|
131509
|
-
},
|
|
131510
|
-
"inheritedFrom": {
|
|
131511
|
-
"name": "SbbIconNameMixin",
|
|
131512
|
-
"module": "icon/icon-name-mixin.js"
|
|
131513
|
-
}
|
|
131514
|
-
},
|
|
131515
|
-
{
|
|
131516
|
-
"kind": "field",
|
|
131517
|
-
"name": "_hydrationRequired",
|
|
131518
|
-
"type": {
|
|
131519
|
-
"text": "boolean"
|
|
131520
|
-
},
|
|
131521
|
-
"privacy": "private",
|
|
131522
|
-
"default": "!!this.shadowRoot",
|
|
131523
|
-
"inheritedFrom": {
|
|
131524
|
-
"name": "SbbElement",
|
|
131525
|
-
"module": "core/base-elements/element.js"
|
|
131526
|
-
}
|
|
131527
|
-
},
|
|
131528
|
-
{
|
|
131529
|
-
"kind": "field",
|
|
131530
|
-
"name": "_hydrationComplete",
|
|
131531
|
-
"privacy": "private",
|
|
131532
|
-
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
131533
|
-
"inheritedFrom": {
|
|
131534
|
-
"name": "SbbElement",
|
|
131535
|
-
"module": "core/base-elements/element.js"
|
|
131536
|
-
}
|
|
131537
|
-
},
|
|
131538
|
-
{
|
|
131539
|
-
"kind": "field",
|
|
131540
|
-
"name": "_resolveHydration",
|
|
131541
|
-
"type": {
|
|
131542
|
-
"text": "(hydrationRequired: boolean) => void"
|
|
131543
|
-
},
|
|
131544
|
-
"privacy": "private",
|
|
131545
|
-
"inheritedFrom": {
|
|
131546
|
-
"name": "SbbElement",
|
|
131547
|
-
"module": "core/base-elements/element.js"
|
|
131548
|
-
}
|
|
131549
|
-
},
|
|
131550
|
-
{
|
|
131551
|
-
"kind": "field",
|
|
131552
|
-
"name": "hydrationRequired",
|
|
131553
|
-
"type": {
|
|
131554
|
-
"text": "boolean"
|
|
131555
|
-
},
|
|
131556
|
-
"privacy": "protected",
|
|
131557
|
-
"description": "Returns whether hydration is required and not completed.",
|
|
131558
|
-
"readonly": true,
|
|
131559
|
-
"inheritedFrom": {
|
|
131560
|
-
"name": "SbbElement",
|
|
131561
|
-
"module": "core/base-elements/element.js"
|
|
131562
|
-
},
|
|
131563
|
-
"default": "!!this.shadowRoot"
|
|
131564
|
-
},
|
|
131565
|
-
{
|
|
131566
|
-
"kind": "method",
|
|
131567
|
-
"name": "toggleState",
|
|
131568
|
-
"privacy": "protected",
|
|
131569
|
-
"return": {
|
|
131570
|
-
"type": {
|
|
131571
|
-
"text": "void"
|
|
131572
|
-
}
|
|
131573
|
-
},
|
|
131574
|
-
"parameters": [
|
|
131575
|
-
{
|
|
131576
|
-
"name": "value",
|
|
131577
|
-
"type": {
|
|
131578
|
-
"text": "string"
|
|
131579
|
-
}
|
|
131580
|
-
},
|
|
131581
|
-
{
|
|
131582
|
-
"name": "force",
|
|
131583
|
-
"optional": true,
|
|
131584
|
-
"type": {
|
|
131585
|
-
"text": "boolean"
|
|
131586
|
-
}
|
|
131587
|
-
}
|
|
131588
|
-
],
|
|
131589
|
-
"inheritedFrom": {
|
|
131590
|
-
"name": "SbbElement",
|
|
131591
|
-
"module": "core/base-elements/element.js"
|
|
131592
|
-
}
|
|
131593
|
-
},
|
|
131594
|
-
{
|
|
131595
|
-
"kind": "field",
|
|
131596
|
-
"name": "['_$sbbElement$']",
|
|
131597
|
-
"type": {
|
|
131598
|
-
"text": "boolean"
|
|
131599
|
-
},
|
|
131600
|
-
"privacy": "public",
|
|
131601
|
-
"static": true,
|
|
131602
|
-
"default": "true",
|
|
131603
|
-
"inheritedFrom": {
|
|
131604
|
-
"name": "SbbElement",
|
|
131605
|
-
"module": "core/base-elements/element.js"
|
|
131606
|
-
}
|
|
131607
|
-
},
|
|
131608
|
-
{
|
|
131609
|
-
"kind": "field",
|
|
131610
|
-
"name": "_controllers",
|
|
131611
|
-
"type": {
|
|
131612
|
-
"text": "Set<SbbReactiveController> | undefined"
|
|
131613
|
-
},
|
|
131614
|
-
"privacy": "private",
|
|
131615
|
-
"inheritedFrom": {
|
|
131616
|
-
"name": "SbbElement",
|
|
131617
|
-
"module": "core/base-elements/element.js"
|
|
131618
|
-
}
|
|
131619
|
-
}
|
|
131620
|
-
],
|
|
131621
|
-
"events": [
|
|
131622
|
-
{
|
|
131623
|
-
"type": {
|
|
131624
|
-
"text": "InputEvent"
|
|
131625
|
-
},
|
|
131626
|
-
"description": "The input event fires when the value has been changed as a direct result of a user action.",
|
|
131627
|
-
"name": "input"
|
|
131628
|
-
}
|
|
131629
|
-
],
|
|
131630
|
-
"attributes": [
|
|
131631
|
-
{
|
|
131632
|
-
"name": "checked",
|
|
131633
|
-
"type": {
|
|
131634
|
-
"text": "boolean"
|
|
131635
|
-
},
|
|
131636
|
-
"default": "false",
|
|
131637
|
-
"description": "Whether the toggle-option is checked.",
|
|
131638
|
-
"fieldName": "checked"
|
|
131639
|
-
},
|
|
131640
|
-
{
|
|
131641
|
-
"name": "value",
|
|
131642
|
-
"type": {
|
|
131643
|
-
"text": "T | null"
|
|
131644
|
-
},
|
|
131645
|
-
"default": "null",
|
|
131646
|
-
"description": "Value of toggle-option.",
|
|
131647
|
-
"fieldName": "value"
|
|
131176
|
+
"fieldName": "disabledInteractive",
|
|
131177
|
+
"inheritedFrom": {
|
|
131178
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
131179
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
131180
|
+
}
|
|
131648
131181
|
},
|
|
131649
131182
|
{
|
|
131650
131183
|
"name": "disabled",
|
|
@@ -131660,45 +131193,94 @@
|
|
|
131660
131193
|
}
|
|
131661
131194
|
},
|
|
131662
131195
|
{
|
|
131663
|
-
"name": "
|
|
131196
|
+
"name": "value",
|
|
131664
131197
|
"type": {
|
|
131665
131198
|
"text": "string"
|
|
131666
131199
|
},
|
|
131667
131200
|
"default": "''",
|
|
131668
|
-
"description": "
|
|
131669
|
-
"fieldName": "
|
|
131201
|
+
"description": "Value of the form element.",
|
|
131202
|
+
"fieldName": "value",
|
|
131670
131203
|
"inheritedFrom": {
|
|
131671
|
-
"name": "
|
|
131672
|
-
"module": "
|
|
131204
|
+
"name": "SbbButtonBaseElement",
|
|
131205
|
+
"module": "core/base-elements/button-base-element.js"
|
|
131206
|
+
}
|
|
131207
|
+
},
|
|
131208
|
+
{
|
|
131209
|
+
"name": "type",
|
|
131210
|
+
"description": "The type attribute to use for the button.",
|
|
131211
|
+
"default": "'button'",
|
|
131212
|
+
"type": {
|
|
131213
|
+
"text": "SbbButtonType"
|
|
131214
|
+
},
|
|
131215
|
+
"fieldName": "type",
|
|
131216
|
+
"inheritedFrom": {
|
|
131217
|
+
"name": "SbbButtonBaseElement",
|
|
131218
|
+
"module": "core/base-elements/button-base-element.js"
|
|
131219
|
+
}
|
|
131220
|
+
},
|
|
131221
|
+
{
|
|
131222
|
+
"name": "form",
|
|
131223
|
+
"description": "The `<form>` element to associate the button with.",
|
|
131224
|
+
"type": {
|
|
131225
|
+
"text": "HTMLFormElement | null"
|
|
131226
|
+
},
|
|
131227
|
+
"fieldName": "form",
|
|
131228
|
+
"inheritedFrom": {
|
|
131229
|
+
"name": "SbbButtonBaseElement",
|
|
131230
|
+
"module": "core/base-elements/button-base-element.js"
|
|
131231
|
+
}
|
|
131232
|
+
},
|
|
131233
|
+
{
|
|
131234
|
+
"name": "name",
|
|
131235
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
131236
|
+
"type": {
|
|
131237
|
+
"text": "string"
|
|
131238
|
+
},
|
|
131239
|
+
"fieldName": "name",
|
|
131240
|
+
"inheritedFrom": {
|
|
131241
|
+
"name": "SbbFormAssociatedMixin",
|
|
131242
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
131673
131243
|
}
|
|
131674
131244
|
}
|
|
131675
131245
|
],
|
|
131676
|
-
"
|
|
131246
|
+
"slots": [
|
|
131677
131247
|
{
|
|
131678
|
-
"
|
|
131679
|
-
"
|
|
131248
|
+
"description": "Use the unnamed slot to add content to the secondary-button.",
|
|
131249
|
+
"name": "",
|
|
131250
|
+
"inheritedFrom": {
|
|
131251
|
+
"name": "SbbSecondaryButtonElement",
|
|
131252
|
+
"module": "button/secondary-button/secondary-button.component.js"
|
|
131253
|
+
}
|
|
131680
131254
|
},
|
|
131681
131255
|
{
|
|
131682
|
-
"
|
|
131683
|
-
"
|
|
131256
|
+
"description": "Slot used to display the icon, if one is set.",
|
|
131257
|
+
"name": "icon",
|
|
131258
|
+
"inheritedFrom": {
|
|
131259
|
+
"name": "SbbSecondaryButtonElement",
|
|
131260
|
+
"module": "button/secondary-button/secondary-button.component.js"
|
|
131261
|
+
}
|
|
131684
131262
|
}
|
|
131685
131263
|
],
|
|
131686
|
-
"
|
|
131687
|
-
|
|
131688
|
-
|
|
131689
|
-
|
|
131690
|
-
|
|
131691
|
-
|
|
131692
|
-
|
|
131264
|
+
"cssProperties": [
|
|
131265
|
+
{
|
|
131266
|
+
"description": "The delay before the loading animation starts, when setting the button into loading state.",
|
|
131267
|
+
"name": "--sbb-button-loading-delay",
|
|
131268
|
+
"default": "300ms",
|
|
131269
|
+
"inheritedFrom": {
|
|
131270
|
+
"name": "SbbSecondaryButtonElement",
|
|
131271
|
+
"module": "button/secondary-button/secondary-button.component.js"
|
|
131272
|
+
}
|
|
131273
|
+
}
|
|
131274
|
+
]
|
|
131693
131275
|
}
|
|
131694
131276
|
],
|
|
131695
131277
|
"exports": [
|
|
131696
131278
|
{
|
|
131697
131279
|
"kind": "js",
|
|
131698
|
-
"name": "
|
|
131280
|
+
"name": "SbbTimetableFormSwapButtonElement",
|
|
131699
131281
|
"declaration": {
|
|
131700
|
-
"name": "
|
|
131701
|
-
"module": "
|
|
131282
|
+
"name": "SbbTimetableFormSwapButtonElement",
|
|
131283
|
+
"module": "timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.js"
|
|
131702
131284
|
}
|
|
131703
131285
|
}
|
|
131704
131286
|
]
|
|
@@ -132472,6 +132054,424 @@
|
|
|
132472
132054
|
}
|
|
132473
132055
|
]
|
|
132474
132056
|
},
|
|
132057
|
+
{
|
|
132058
|
+
"kind": "javascript-module",
|
|
132059
|
+
"path": "toggle/toggle-option/toggle-option.component.js",
|
|
132060
|
+
"declarations": [
|
|
132061
|
+
{
|
|
132062
|
+
"kind": "class",
|
|
132063
|
+
"description": "It displays a toggle option within a `sbb-toggle`.",
|
|
132064
|
+
"name": "SbbToggleOptionElement",
|
|
132065
|
+
"slots": [
|
|
132066
|
+
{
|
|
132067
|
+
"description": "Use the unnamed slot to add content to the label of the toggle option.",
|
|
132068
|
+
"name": ""
|
|
132069
|
+
},
|
|
132070
|
+
{
|
|
132071
|
+
"description": "Slot used to render the `sbb-icon`.",
|
|
132072
|
+
"name": "icon"
|
|
132073
|
+
}
|
|
132074
|
+
],
|
|
132075
|
+
"members": [
|
|
132076
|
+
{
|
|
132077
|
+
"kind": "field",
|
|
132078
|
+
"name": "elementName",
|
|
132079
|
+
"type": {
|
|
132080
|
+
"text": "string"
|
|
132081
|
+
},
|
|
132082
|
+
"privacy": "public",
|
|
132083
|
+
"static": true,
|
|
132084
|
+
"readonly": true,
|
|
132085
|
+
"default": "'sbb-toggle-option'",
|
|
132086
|
+
"inheritedFrom": {
|
|
132087
|
+
"name": "SbbElement",
|
|
132088
|
+
"module": "core/base-elements/element.js"
|
|
132089
|
+
}
|
|
132090
|
+
},
|
|
132091
|
+
{
|
|
132092
|
+
"kind": "field",
|
|
132093
|
+
"name": "role",
|
|
132094
|
+
"type": {
|
|
132095
|
+
"text": "string"
|
|
132096
|
+
},
|
|
132097
|
+
"privacy": "public",
|
|
132098
|
+
"static": true,
|
|
132099
|
+
"readonly": true,
|
|
132100
|
+
"default": "'radio'"
|
|
132101
|
+
},
|
|
132102
|
+
{
|
|
132103
|
+
"kind": "field",
|
|
132104
|
+
"name": "checked",
|
|
132105
|
+
"type": {
|
|
132106
|
+
"text": "boolean"
|
|
132107
|
+
},
|
|
132108
|
+
"privacy": "public",
|
|
132109
|
+
"default": "false",
|
|
132110
|
+
"description": "Whether the toggle-option is checked.",
|
|
132111
|
+
"attribute": "checked",
|
|
132112
|
+
"reflects": true
|
|
132113
|
+
},
|
|
132114
|
+
{
|
|
132115
|
+
"kind": "field",
|
|
132116
|
+
"name": "value",
|
|
132117
|
+
"type": {
|
|
132118
|
+
"text": "(T = string) | null"
|
|
132119
|
+
},
|
|
132120
|
+
"privacy": "public",
|
|
132121
|
+
"default": "null",
|
|
132122
|
+
"description": "Value of toggle-option.",
|
|
132123
|
+
"attribute": "value"
|
|
132124
|
+
},
|
|
132125
|
+
{
|
|
132126
|
+
"kind": "field",
|
|
132127
|
+
"name": "_toggle",
|
|
132128
|
+
"type": {
|
|
132129
|
+
"text": "SbbToggleElement | null"
|
|
132130
|
+
},
|
|
132131
|
+
"privacy": "private",
|
|
132132
|
+
"default": "null"
|
|
132133
|
+
},
|
|
132134
|
+
{
|
|
132135
|
+
"kind": "method",
|
|
132136
|
+
"name": "_uncheckOtherOptions",
|
|
132137
|
+
"privacy": "private",
|
|
132138
|
+
"return": {
|
|
132139
|
+
"type": {
|
|
132140
|
+
"text": "void"
|
|
132141
|
+
}
|
|
132142
|
+
}
|
|
132143
|
+
},
|
|
132144
|
+
{
|
|
132145
|
+
"kind": "method",
|
|
132146
|
+
"name": "_handleDisabledChange",
|
|
132147
|
+
"privacy": "private",
|
|
132148
|
+
"return": {
|
|
132149
|
+
"type": {
|
|
132150
|
+
"text": "void"
|
|
132151
|
+
}
|
|
132152
|
+
}
|
|
132153
|
+
},
|
|
132154
|
+
{
|
|
132155
|
+
"kind": "method",
|
|
132156
|
+
"name": "_handleInput",
|
|
132157
|
+
"privacy": "private",
|
|
132158
|
+
"return": {
|
|
132159
|
+
"type": {
|
|
132160
|
+
"text": "void"
|
|
132161
|
+
}
|
|
132162
|
+
}
|
|
132163
|
+
},
|
|
132164
|
+
{
|
|
132165
|
+
"kind": "method",
|
|
132166
|
+
"name": "_verifyTabindex",
|
|
132167
|
+
"privacy": "private",
|
|
132168
|
+
"return": {
|
|
132169
|
+
"type": {
|
|
132170
|
+
"text": "void"
|
|
132171
|
+
}
|
|
132172
|
+
}
|
|
132173
|
+
},
|
|
132174
|
+
{
|
|
132175
|
+
"kind": "field",
|
|
132176
|
+
"name": "disabled",
|
|
132177
|
+
"privacy": "public",
|
|
132178
|
+
"description": "Whether the component is disabled.",
|
|
132179
|
+
"default": "false",
|
|
132180
|
+
"type": {
|
|
132181
|
+
"text": "boolean"
|
|
132182
|
+
},
|
|
132183
|
+
"attribute": "disabled",
|
|
132184
|
+
"reflects": true,
|
|
132185
|
+
"inheritedFrom": {
|
|
132186
|
+
"name": "SbbDisabledMixin",
|
|
132187
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
132188
|
+
}
|
|
132189
|
+
},
|
|
132190
|
+
{
|
|
132191
|
+
"kind": "field",
|
|
132192
|
+
"name": "#disabled",
|
|
132193
|
+
"privacy": "private",
|
|
132194
|
+
"type": {
|
|
132195
|
+
"text": "boolean"
|
|
132196
|
+
},
|
|
132197
|
+
"default": "false",
|
|
132198
|
+
"inheritedFrom": {
|
|
132199
|
+
"name": "SbbDisabledMixin",
|
|
132200
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
132201
|
+
}
|
|
132202
|
+
},
|
|
132203
|
+
{
|
|
132204
|
+
"kind": "method",
|
|
132205
|
+
"name": "isDisabledExternally",
|
|
132206
|
+
"privacy": "protected",
|
|
132207
|
+
"return": {
|
|
132208
|
+
"type": {
|
|
132209
|
+
"text": "boolean"
|
|
132210
|
+
}
|
|
132211
|
+
},
|
|
132212
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
132213
|
+
"inheritedFrom": {
|
|
132214
|
+
"name": "SbbDisabledMixin",
|
|
132215
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
132216
|
+
}
|
|
132217
|
+
},
|
|
132218
|
+
{
|
|
132219
|
+
"kind": "field",
|
|
132220
|
+
"name": "iconName",
|
|
132221
|
+
"type": {
|
|
132222
|
+
"text": "string"
|
|
132223
|
+
},
|
|
132224
|
+
"privacy": "public",
|
|
132225
|
+
"default": "''",
|
|
132226
|
+
"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.",
|
|
132227
|
+
"attribute": "icon-name",
|
|
132228
|
+
"inheritedFrom": {
|
|
132229
|
+
"name": "SbbIconNameMixin",
|
|
132230
|
+
"module": "icon/icon-name-mixin.js"
|
|
132231
|
+
}
|
|
132232
|
+
},
|
|
132233
|
+
{
|
|
132234
|
+
"kind": "method",
|
|
132235
|
+
"name": "renderIconSlot",
|
|
132236
|
+
"privacy": "protected",
|
|
132237
|
+
"return": {
|
|
132238
|
+
"type": {
|
|
132239
|
+
"text": "TemplateResult"
|
|
132240
|
+
}
|
|
132241
|
+
},
|
|
132242
|
+
"parameters": [
|
|
132243
|
+
{
|
|
132244
|
+
"name": "classname",
|
|
132245
|
+
"optional": true,
|
|
132246
|
+
"type": {
|
|
132247
|
+
"text": "string"
|
|
132248
|
+
}
|
|
132249
|
+
}
|
|
132250
|
+
],
|
|
132251
|
+
"inheritedFrom": {
|
|
132252
|
+
"name": "SbbIconNameMixin",
|
|
132253
|
+
"module": "icon/icon-name-mixin.js"
|
|
132254
|
+
}
|
|
132255
|
+
},
|
|
132256
|
+
{
|
|
132257
|
+
"kind": "method",
|
|
132258
|
+
"name": "renderIconName",
|
|
132259
|
+
"privacy": "protected",
|
|
132260
|
+
"return": {
|
|
132261
|
+
"type": {
|
|
132262
|
+
"text": "string"
|
|
132263
|
+
}
|
|
132264
|
+
},
|
|
132265
|
+
"inheritedFrom": {
|
|
132266
|
+
"name": "SbbIconNameMixin",
|
|
132267
|
+
"module": "icon/icon-name-mixin.js"
|
|
132268
|
+
}
|
|
132269
|
+
},
|
|
132270
|
+
{
|
|
132271
|
+
"kind": "method",
|
|
132272
|
+
"name": "_renderIconName",
|
|
132273
|
+
"privacy": "private",
|
|
132274
|
+
"return": {
|
|
132275
|
+
"type": {
|
|
132276
|
+
"text": "string"
|
|
132277
|
+
}
|
|
132278
|
+
},
|
|
132279
|
+
"inheritedFrom": {
|
|
132280
|
+
"name": "SbbIconNameMixin",
|
|
132281
|
+
"module": "icon/icon-name-mixin.js"
|
|
132282
|
+
}
|
|
132283
|
+
},
|
|
132284
|
+
{
|
|
132285
|
+
"kind": "field",
|
|
132286
|
+
"name": "_hydrationRequired",
|
|
132287
|
+
"type": {
|
|
132288
|
+
"text": "boolean"
|
|
132289
|
+
},
|
|
132290
|
+
"privacy": "private",
|
|
132291
|
+
"default": "!!this.shadowRoot",
|
|
132292
|
+
"inheritedFrom": {
|
|
132293
|
+
"name": "SbbElement",
|
|
132294
|
+
"module": "core/base-elements/element.js"
|
|
132295
|
+
}
|
|
132296
|
+
},
|
|
132297
|
+
{
|
|
132298
|
+
"kind": "field",
|
|
132299
|
+
"name": "_hydrationComplete",
|
|
132300
|
+
"privacy": "private",
|
|
132301
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
132302
|
+
"inheritedFrom": {
|
|
132303
|
+
"name": "SbbElement",
|
|
132304
|
+
"module": "core/base-elements/element.js"
|
|
132305
|
+
}
|
|
132306
|
+
},
|
|
132307
|
+
{
|
|
132308
|
+
"kind": "field",
|
|
132309
|
+
"name": "_resolveHydration",
|
|
132310
|
+
"type": {
|
|
132311
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
132312
|
+
},
|
|
132313
|
+
"privacy": "private",
|
|
132314
|
+
"inheritedFrom": {
|
|
132315
|
+
"name": "SbbElement",
|
|
132316
|
+
"module": "core/base-elements/element.js"
|
|
132317
|
+
}
|
|
132318
|
+
},
|
|
132319
|
+
{
|
|
132320
|
+
"kind": "field",
|
|
132321
|
+
"name": "hydrationRequired",
|
|
132322
|
+
"type": {
|
|
132323
|
+
"text": "boolean"
|
|
132324
|
+
},
|
|
132325
|
+
"privacy": "protected",
|
|
132326
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
132327
|
+
"readonly": true,
|
|
132328
|
+
"inheritedFrom": {
|
|
132329
|
+
"name": "SbbElement",
|
|
132330
|
+
"module": "core/base-elements/element.js"
|
|
132331
|
+
},
|
|
132332
|
+
"default": "!!this.shadowRoot"
|
|
132333
|
+
},
|
|
132334
|
+
{
|
|
132335
|
+
"kind": "method",
|
|
132336
|
+
"name": "toggleState",
|
|
132337
|
+
"privacy": "protected",
|
|
132338
|
+
"return": {
|
|
132339
|
+
"type": {
|
|
132340
|
+
"text": "void"
|
|
132341
|
+
}
|
|
132342
|
+
},
|
|
132343
|
+
"parameters": [
|
|
132344
|
+
{
|
|
132345
|
+
"name": "value",
|
|
132346
|
+
"type": {
|
|
132347
|
+
"text": "string"
|
|
132348
|
+
}
|
|
132349
|
+
},
|
|
132350
|
+
{
|
|
132351
|
+
"name": "force",
|
|
132352
|
+
"optional": true,
|
|
132353
|
+
"type": {
|
|
132354
|
+
"text": "boolean"
|
|
132355
|
+
}
|
|
132356
|
+
}
|
|
132357
|
+
],
|
|
132358
|
+
"inheritedFrom": {
|
|
132359
|
+
"name": "SbbElement",
|
|
132360
|
+
"module": "core/base-elements/element.js"
|
|
132361
|
+
}
|
|
132362
|
+
},
|
|
132363
|
+
{
|
|
132364
|
+
"kind": "field",
|
|
132365
|
+
"name": "['_$sbbElement$']",
|
|
132366
|
+
"type": {
|
|
132367
|
+
"text": "boolean"
|
|
132368
|
+
},
|
|
132369
|
+
"privacy": "public",
|
|
132370
|
+
"static": true,
|
|
132371
|
+
"default": "true",
|
|
132372
|
+
"inheritedFrom": {
|
|
132373
|
+
"name": "SbbElement",
|
|
132374
|
+
"module": "core/base-elements/element.js"
|
|
132375
|
+
}
|
|
132376
|
+
},
|
|
132377
|
+
{
|
|
132378
|
+
"kind": "field",
|
|
132379
|
+
"name": "_controllers",
|
|
132380
|
+
"type": {
|
|
132381
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
132382
|
+
},
|
|
132383
|
+
"privacy": "private",
|
|
132384
|
+
"inheritedFrom": {
|
|
132385
|
+
"name": "SbbElement",
|
|
132386
|
+
"module": "core/base-elements/element.js"
|
|
132387
|
+
}
|
|
132388
|
+
}
|
|
132389
|
+
],
|
|
132390
|
+
"events": [
|
|
132391
|
+
{
|
|
132392
|
+
"type": {
|
|
132393
|
+
"text": "InputEvent"
|
|
132394
|
+
},
|
|
132395
|
+
"description": "The input event fires when the value has been changed as a direct result of a user action.",
|
|
132396
|
+
"name": "input"
|
|
132397
|
+
}
|
|
132398
|
+
],
|
|
132399
|
+
"attributes": [
|
|
132400
|
+
{
|
|
132401
|
+
"name": "checked",
|
|
132402
|
+
"type": {
|
|
132403
|
+
"text": "boolean"
|
|
132404
|
+
},
|
|
132405
|
+
"default": "false",
|
|
132406
|
+
"description": "Whether the toggle-option is checked.",
|
|
132407
|
+
"fieldName": "checked"
|
|
132408
|
+
},
|
|
132409
|
+
{
|
|
132410
|
+
"name": "value",
|
|
132411
|
+
"type": {
|
|
132412
|
+
"text": "T | null"
|
|
132413
|
+
},
|
|
132414
|
+
"default": "null",
|
|
132415
|
+
"description": "Value of toggle-option.",
|
|
132416
|
+
"fieldName": "value"
|
|
132417
|
+
},
|
|
132418
|
+
{
|
|
132419
|
+
"name": "disabled",
|
|
132420
|
+
"description": "Whether the component is disabled.",
|
|
132421
|
+
"default": "false",
|
|
132422
|
+
"type": {
|
|
132423
|
+
"text": "boolean"
|
|
132424
|
+
},
|
|
132425
|
+
"fieldName": "disabled",
|
|
132426
|
+
"inheritedFrom": {
|
|
132427
|
+
"name": "SbbDisabledMixin",
|
|
132428
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
132429
|
+
}
|
|
132430
|
+
},
|
|
132431
|
+
{
|
|
132432
|
+
"name": "icon-name",
|
|
132433
|
+
"type": {
|
|
132434
|
+
"text": "string"
|
|
132435
|
+
},
|
|
132436
|
+
"default": "''",
|
|
132437
|
+
"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.",
|
|
132438
|
+
"fieldName": "iconName",
|
|
132439
|
+
"inheritedFrom": {
|
|
132440
|
+
"name": "SbbIconNameMixin",
|
|
132441
|
+
"module": "icon/icon-name-mixin.js"
|
|
132442
|
+
}
|
|
132443
|
+
}
|
|
132444
|
+
],
|
|
132445
|
+
"mixins": [
|
|
132446
|
+
{
|
|
132447
|
+
"name": "SbbDisabledMixin",
|
|
132448
|
+
"module": "core/mixins.js"
|
|
132449
|
+
},
|
|
132450
|
+
{
|
|
132451
|
+
"name": "SbbIconNameMixin",
|
|
132452
|
+
"module": "icon.js"
|
|
132453
|
+
}
|
|
132454
|
+
],
|
|
132455
|
+
"superclass": {
|
|
132456
|
+
"name": "SbbElement",
|
|
132457
|
+
"module": "core/base-elements.js"
|
|
132458
|
+
},
|
|
132459
|
+
"tagName": "sbb-toggle-option",
|
|
132460
|
+
"customElement": true,
|
|
132461
|
+
"classGenerics": "T = string"
|
|
132462
|
+
}
|
|
132463
|
+
],
|
|
132464
|
+
"exports": [
|
|
132465
|
+
{
|
|
132466
|
+
"kind": "js",
|
|
132467
|
+
"name": "SbbToggleOptionElement",
|
|
132468
|
+
"declaration": {
|
|
132469
|
+
"name": "SbbToggleOptionElement",
|
|
132470
|
+
"module": "toggle/toggle-option/toggle-option.component.js"
|
|
132471
|
+
}
|
|
132472
|
+
}
|
|
132473
|
+
]
|
|
132474
|
+
},
|
|
132475
132475
|
{
|
|
132476
132476
|
"kind": "javascript-module",
|
|
132477
132477
|
"path": "train/train/train.component.js",
|
|
@@ -132872,155 +132872,6 @@
|
|
|
132872
132872
|
}
|
|
132873
132873
|
]
|
|
132874
132874
|
},
|
|
132875
|
-
{
|
|
132876
|
-
"kind": "javascript-module",
|
|
132877
|
-
"path": "train/train-blocked-passage/train-blocked-passage.component.js",
|
|
132878
|
-
"declarations": [
|
|
132879
|
-
{
|
|
132880
|
-
"kind": "class",
|
|
132881
|
-
"description": "It visually displays a blocked passage between train wagons.",
|
|
132882
|
-
"name": "SbbTrainBlockedPassageElement",
|
|
132883
|
-
"members": [
|
|
132884
|
-
{
|
|
132885
|
-
"kind": "field",
|
|
132886
|
-
"name": "elementName",
|
|
132887
|
-
"type": {
|
|
132888
|
-
"text": "string"
|
|
132889
|
-
},
|
|
132890
|
-
"privacy": "public",
|
|
132891
|
-
"static": true,
|
|
132892
|
-
"readonly": true,
|
|
132893
|
-
"default": "'sbb-train-blocked-passage'",
|
|
132894
|
-
"inheritedFrom": {
|
|
132895
|
-
"name": "SbbElement",
|
|
132896
|
-
"module": "core/base-elements/element.js"
|
|
132897
|
-
}
|
|
132898
|
-
},
|
|
132899
|
-
{
|
|
132900
|
-
"kind": "field",
|
|
132901
|
-
"name": "_hydrationRequired",
|
|
132902
|
-
"type": {
|
|
132903
|
-
"text": "boolean"
|
|
132904
|
-
},
|
|
132905
|
-
"privacy": "private",
|
|
132906
|
-
"default": "!!this.shadowRoot",
|
|
132907
|
-
"inheritedFrom": {
|
|
132908
|
-
"name": "SbbElement",
|
|
132909
|
-
"module": "core/base-elements/element.js"
|
|
132910
|
-
}
|
|
132911
|
-
},
|
|
132912
|
-
{
|
|
132913
|
-
"kind": "field",
|
|
132914
|
-
"name": "_hydrationComplete",
|
|
132915
|
-
"privacy": "private",
|
|
132916
|
-
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
132917
|
-
"inheritedFrom": {
|
|
132918
|
-
"name": "SbbElement",
|
|
132919
|
-
"module": "core/base-elements/element.js"
|
|
132920
|
-
}
|
|
132921
|
-
},
|
|
132922
|
-
{
|
|
132923
|
-
"kind": "field",
|
|
132924
|
-
"name": "_resolveHydration",
|
|
132925
|
-
"type": {
|
|
132926
|
-
"text": "(hydrationRequired: boolean) => void"
|
|
132927
|
-
},
|
|
132928
|
-
"privacy": "private",
|
|
132929
|
-
"inheritedFrom": {
|
|
132930
|
-
"name": "SbbElement",
|
|
132931
|
-
"module": "core/base-elements/element.js"
|
|
132932
|
-
}
|
|
132933
|
-
},
|
|
132934
|
-
{
|
|
132935
|
-
"kind": "field",
|
|
132936
|
-
"name": "hydrationRequired",
|
|
132937
|
-
"type": {
|
|
132938
|
-
"text": "boolean"
|
|
132939
|
-
},
|
|
132940
|
-
"privacy": "protected",
|
|
132941
|
-
"description": "Returns whether hydration is required and not completed.",
|
|
132942
|
-
"readonly": true,
|
|
132943
|
-
"inheritedFrom": {
|
|
132944
|
-
"name": "SbbElement",
|
|
132945
|
-
"module": "core/base-elements/element.js"
|
|
132946
|
-
},
|
|
132947
|
-
"default": "!!this.shadowRoot"
|
|
132948
|
-
},
|
|
132949
|
-
{
|
|
132950
|
-
"kind": "method",
|
|
132951
|
-
"name": "toggleState",
|
|
132952
|
-
"privacy": "protected",
|
|
132953
|
-
"return": {
|
|
132954
|
-
"type": {
|
|
132955
|
-
"text": "void"
|
|
132956
|
-
}
|
|
132957
|
-
},
|
|
132958
|
-
"parameters": [
|
|
132959
|
-
{
|
|
132960
|
-
"name": "value",
|
|
132961
|
-
"type": {
|
|
132962
|
-
"text": "string"
|
|
132963
|
-
}
|
|
132964
|
-
},
|
|
132965
|
-
{
|
|
132966
|
-
"name": "force",
|
|
132967
|
-
"optional": true,
|
|
132968
|
-
"type": {
|
|
132969
|
-
"text": "boolean"
|
|
132970
|
-
}
|
|
132971
|
-
}
|
|
132972
|
-
],
|
|
132973
|
-
"inheritedFrom": {
|
|
132974
|
-
"name": "SbbElement",
|
|
132975
|
-
"module": "core/base-elements/element.js"
|
|
132976
|
-
}
|
|
132977
|
-
},
|
|
132978
|
-
{
|
|
132979
|
-
"kind": "field",
|
|
132980
|
-
"name": "['_$sbbElement$']",
|
|
132981
|
-
"type": {
|
|
132982
|
-
"text": "boolean"
|
|
132983
|
-
},
|
|
132984
|
-
"privacy": "public",
|
|
132985
|
-
"static": true,
|
|
132986
|
-
"default": "true",
|
|
132987
|
-
"inheritedFrom": {
|
|
132988
|
-
"name": "SbbElement",
|
|
132989
|
-
"module": "core/base-elements/element.js"
|
|
132990
|
-
}
|
|
132991
|
-
},
|
|
132992
|
-
{
|
|
132993
|
-
"kind": "field",
|
|
132994
|
-
"name": "_controllers",
|
|
132995
|
-
"type": {
|
|
132996
|
-
"text": "Set<SbbReactiveController> | undefined"
|
|
132997
|
-
},
|
|
132998
|
-
"privacy": "private",
|
|
132999
|
-
"inheritedFrom": {
|
|
133000
|
-
"name": "SbbElement",
|
|
133001
|
-
"module": "core/base-elements/element.js"
|
|
133002
|
-
}
|
|
133003
|
-
}
|
|
133004
|
-
],
|
|
133005
|
-
"superclass": {
|
|
133006
|
-
"name": "SbbElement",
|
|
133007
|
-
"module": "core/base-elements.js"
|
|
133008
|
-
},
|
|
133009
|
-
"tagName": "sbb-train-blocked-passage",
|
|
133010
|
-
"customElement": true
|
|
133011
|
-
}
|
|
133012
|
-
],
|
|
133013
|
-
"exports": [
|
|
133014
|
-
{
|
|
133015
|
-
"kind": "js",
|
|
133016
|
-
"name": "SbbTrainBlockedPassageElement",
|
|
133017
|
-
"declaration": {
|
|
133018
|
-
"name": "SbbTrainBlockedPassageElement",
|
|
133019
|
-
"module": "train/train-blocked-passage/train-blocked-passage.component.js"
|
|
133020
|
-
}
|
|
133021
|
-
}
|
|
133022
|
-
]
|
|
133023
|
-
},
|
|
133024
132875
|
{
|
|
133025
132876
|
"kind": "javascript-module",
|
|
133026
132877
|
"path": "train/train-formation/train-formation.component.js",
|
|
@@ -133353,6 +133204,155 @@
|
|
|
133353
133204
|
}
|
|
133354
133205
|
]
|
|
133355
133206
|
},
|
|
133207
|
+
{
|
|
133208
|
+
"kind": "javascript-module",
|
|
133209
|
+
"path": "train/train-blocked-passage/train-blocked-passage.component.js",
|
|
133210
|
+
"declarations": [
|
|
133211
|
+
{
|
|
133212
|
+
"kind": "class",
|
|
133213
|
+
"description": "It visually displays a blocked passage between train wagons.",
|
|
133214
|
+
"name": "SbbTrainBlockedPassageElement",
|
|
133215
|
+
"members": [
|
|
133216
|
+
{
|
|
133217
|
+
"kind": "field",
|
|
133218
|
+
"name": "elementName",
|
|
133219
|
+
"type": {
|
|
133220
|
+
"text": "string"
|
|
133221
|
+
},
|
|
133222
|
+
"privacy": "public",
|
|
133223
|
+
"static": true,
|
|
133224
|
+
"readonly": true,
|
|
133225
|
+
"default": "'sbb-train-blocked-passage'",
|
|
133226
|
+
"inheritedFrom": {
|
|
133227
|
+
"name": "SbbElement",
|
|
133228
|
+
"module": "core/base-elements/element.js"
|
|
133229
|
+
}
|
|
133230
|
+
},
|
|
133231
|
+
{
|
|
133232
|
+
"kind": "field",
|
|
133233
|
+
"name": "_hydrationRequired",
|
|
133234
|
+
"type": {
|
|
133235
|
+
"text": "boolean"
|
|
133236
|
+
},
|
|
133237
|
+
"privacy": "private",
|
|
133238
|
+
"default": "!!this.shadowRoot",
|
|
133239
|
+
"inheritedFrom": {
|
|
133240
|
+
"name": "SbbElement",
|
|
133241
|
+
"module": "core/base-elements/element.js"
|
|
133242
|
+
}
|
|
133243
|
+
},
|
|
133244
|
+
{
|
|
133245
|
+
"kind": "field",
|
|
133246
|
+
"name": "_hydrationComplete",
|
|
133247
|
+
"privacy": "private",
|
|
133248
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
133249
|
+
"inheritedFrom": {
|
|
133250
|
+
"name": "SbbElement",
|
|
133251
|
+
"module": "core/base-elements/element.js"
|
|
133252
|
+
}
|
|
133253
|
+
},
|
|
133254
|
+
{
|
|
133255
|
+
"kind": "field",
|
|
133256
|
+
"name": "_resolveHydration",
|
|
133257
|
+
"type": {
|
|
133258
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
133259
|
+
},
|
|
133260
|
+
"privacy": "private",
|
|
133261
|
+
"inheritedFrom": {
|
|
133262
|
+
"name": "SbbElement",
|
|
133263
|
+
"module": "core/base-elements/element.js"
|
|
133264
|
+
}
|
|
133265
|
+
},
|
|
133266
|
+
{
|
|
133267
|
+
"kind": "field",
|
|
133268
|
+
"name": "hydrationRequired",
|
|
133269
|
+
"type": {
|
|
133270
|
+
"text": "boolean"
|
|
133271
|
+
},
|
|
133272
|
+
"privacy": "protected",
|
|
133273
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
133274
|
+
"readonly": true,
|
|
133275
|
+
"inheritedFrom": {
|
|
133276
|
+
"name": "SbbElement",
|
|
133277
|
+
"module": "core/base-elements/element.js"
|
|
133278
|
+
},
|
|
133279
|
+
"default": "!!this.shadowRoot"
|
|
133280
|
+
},
|
|
133281
|
+
{
|
|
133282
|
+
"kind": "method",
|
|
133283
|
+
"name": "toggleState",
|
|
133284
|
+
"privacy": "protected",
|
|
133285
|
+
"return": {
|
|
133286
|
+
"type": {
|
|
133287
|
+
"text": "void"
|
|
133288
|
+
}
|
|
133289
|
+
},
|
|
133290
|
+
"parameters": [
|
|
133291
|
+
{
|
|
133292
|
+
"name": "value",
|
|
133293
|
+
"type": {
|
|
133294
|
+
"text": "string"
|
|
133295
|
+
}
|
|
133296
|
+
},
|
|
133297
|
+
{
|
|
133298
|
+
"name": "force",
|
|
133299
|
+
"optional": true,
|
|
133300
|
+
"type": {
|
|
133301
|
+
"text": "boolean"
|
|
133302
|
+
}
|
|
133303
|
+
}
|
|
133304
|
+
],
|
|
133305
|
+
"inheritedFrom": {
|
|
133306
|
+
"name": "SbbElement",
|
|
133307
|
+
"module": "core/base-elements/element.js"
|
|
133308
|
+
}
|
|
133309
|
+
},
|
|
133310
|
+
{
|
|
133311
|
+
"kind": "field",
|
|
133312
|
+
"name": "['_$sbbElement$']",
|
|
133313
|
+
"type": {
|
|
133314
|
+
"text": "boolean"
|
|
133315
|
+
},
|
|
133316
|
+
"privacy": "public",
|
|
133317
|
+
"static": true,
|
|
133318
|
+
"default": "true",
|
|
133319
|
+
"inheritedFrom": {
|
|
133320
|
+
"name": "SbbElement",
|
|
133321
|
+
"module": "core/base-elements/element.js"
|
|
133322
|
+
}
|
|
133323
|
+
},
|
|
133324
|
+
{
|
|
133325
|
+
"kind": "field",
|
|
133326
|
+
"name": "_controllers",
|
|
133327
|
+
"type": {
|
|
133328
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
133329
|
+
},
|
|
133330
|
+
"privacy": "private",
|
|
133331
|
+
"inheritedFrom": {
|
|
133332
|
+
"name": "SbbElement",
|
|
133333
|
+
"module": "core/base-elements/element.js"
|
|
133334
|
+
}
|
|
133335
|
+
}
|
|
133336
|
+
],
|
|
133337
|
+
"superclass": {
|
|
133338
|
+
"name": "SbbElement",
|
|
133339
|
+
"module": "core/base-elements.js"
|
|
133340
|
+
},
|
|
133341
|
+
"tagName": "sbb-train-blocked-passage",
|
|
133342
|
+
"customElement": true
|
|
133343
|
+
}
|
|
133344
|
+
],
|
|
133345
|
+
"exports": [
|
|
133346
|
+
{
|
|
133347
|
+
"kind": "js",
|
|
133348
|
+
"name": "SbbTrainBlockedPassageElement",
|
|
133349
|
+
"declaration": {
|
|
133350
|
+
"name": "SbbTrainBlockedPassageElement",
|
|
133351
|
+
"module": "train/train-blocked-passage/train-blocked-passage.component.js"
|
|
133352
|
+
}
|
|
133353
|
+
}
|
|
133354
|
+
]
|
|
133355
|
+
},
|
|
133356
133356
|
{
|
|
133357
133357
|
"kind": "javascript-module",
|
|
133358
133358
|
"path": "train/train-wagon/train-wagon.component.js",
|