@sbb-esta/lyne-elements-dev 4.12.1-dev.1778459394 → 4.12.1-dev.1778475678
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +948 -948
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -120458,28 +120458,20 @@
|
|
|
120458
120458
|
},
|
|
120459
120459
|
{
|
|
120460
120460
|
"kind": "javascript-module",
|
|
120461
|
-
"path": "sidebar/sidebar
|
|
120461
|
+
"path": "sidebar/sidebar/sidebar.component.js",
|
|
120462
120462
|
"declarations": [
|
|
120463
120463
|
{
|
|
120464
120464
|
"kind": "class",
|
|
120465
|
-
"description": "
|
|
120466
|
-
"name": "
|
|
120465
|
+
"description": "This component corresponds to a sidebar that can be opened on the sidebar container.",
|
|
120466
|
+
"name": "SbbSidebarElement",
|
|
120467
120467
|
"slots": [
|
|
120468
120468
|
{
|
|
120469
|
-
"description": "Use the unnamed slot to
|
|
120470
|
-
"name": ""
|
|
120471
|
-
"inheritedFrom": {
|
|
120472
|
-
"name": "SbbSecondaryButtonElement",
|
|
120473
|
-
"module": "button/secondary-button/secondary-button.component.js"
|
|
120474
|
-
}
|
|
120469
|
+
"description": "Use the unnamed slot to slot any content into the sidebar.",
|
|
120470
|
+
"name": ""
|
|
120475
120471
|
},
|
|
120476
120472
|
{
|
|
120477
|
-
"description": "
|
|
120478
|
-
"name": "
|
|
120479
|
-
"inheritedFrom": {
|
|
120480
|
-
"name": "SbbSecondaryButtonElement",
|
|
120481
|
-
"module": "button/secondary-button/secondary-button.component.js"
|
|
120482
|
-
}
|
|
120473
|
+
"description": "Use the title slot to add an <sbb-title>.",
|
|
120474
|
+
"name": "title"
|
|
120483
120475
|
}
|
|
120484
120476
|
],
|
|
120485
120477
|
"members": [
|
|
@@ -120496,507 +120488,539 @@
|
|
|
120496
120488
|
"name": "SbbElement",
|
|
120497
120489
|
"module": "core/base-elements/element.js"
|
|
120498
120490
|
},
|
|
120499
|
-
"default": "'sbb-sidebar
|
|
120491
|
+
"default": "'sbb-sidebar'"
|
|
120500
120492
|
},
|
|
120501
120493
|
{
|
|
120502
120494
|
"kind": "field",
|
|
120503
|
-
"name": "
|
|
120504
|
-
"
|
|
120505
|
-
|
|
120506
|
-
},
|
|
120507
|
-
{
|
|
120508
|
-
"kind": "method",
|
|
120509
|
-
"name": "renderTemplate",
|
|
120510
|
-
"privacy": "protected",
|
|
120511
|
-
"return": {
|
|
120512
|
-
"type": {
|
|
120513
|
-
"text": "TemplateResult"
|
|
120514
|
-
}
|
|
120495
|
+
"name": "color",
|
|
120496
|
+
"type": {
|
|
120497
|
+
"text": "'white' | 'milk'"
|
|
120515
120498
|
},
|
|
120516
|
-
"
|
|
120517
|
-
"
|
|
120518
|
-
|
|
120519
|
-
|
|
120520
|
-
|
|
120499
|
+
"privacy": "public",
|
|
120500
|
+
"default": "'white'",
|
|
120501
|
+
"description": "Background color of the sidebar. Either `white` or `milk`.",
|
|
120502
|
+
"attribute": "color",
|
|
120503
|
+
"reflects": true
|
|
120521
120504
|
},
|
|
120522
120505
|
{
|
|
120523
|
-
"kind": "
|
|
120524
|
-
"name": "
|
|
120525
|
-
"
|
|
120526
|
-
|
|
120527
|
-
"type": {
|
|
120528
|
-
"text": "string"
|
|
120529
|
-
}
|
|
120506
|
+
"kind": "field",
|
|
120507
|
+
"name": "mode",
|
|
120508
|
+
"type": {
|
|
120509
|
+
"text": "'side' | 'over'"
|
|
120530
120510
|
},
|
|
120531
|
-
"
|
|
120532
|
-
|
|
120533
|
-
|
|
120534
|
-
|
|
120511
|
+
"privacy": "public",
|
|
120512
|
+
"default": "'side'",
|
|
120513
|
+
"description": "Mode of the sidebar; one of 'side' or 'over'.",
|
|
120514
|
+
"attribute": "mode",
|
|
120515
|
+
"reflects": true
|
|
120535
120516
|
},
|
|
120536
120517
|
{
|
|
120537
120518
|
"kind": "field",
|
|
120538
|
-
"name": "
|
|
120519
|
+
"name": "position",
|
|
120539
120520
|
"type": {
|
|
120540
|
-
"text": "
|
|
120521
|
+
"text": "'start' | 'end'"
|
|
120541
120522
|
},
|
|
120542
120523
|
"privacy": "public",
|
|
120543
|
-
"
|
|
120544
|
-
"
|
|
120545
|
-
"attribute": "
|
|
120546
|
-
"reflects": true
|
|
120547
|
-
"inheritedFrom": {
|
|
120548
|
-
"name": "SbbButtonCommonElementMixin",
|
|
120549
|
-
"module": "button/common/button-common.js"
|
|
120550
|
-
}
|
|
120524
|
+
"default": "'start'",
|
|
120525
|
+
"description": "The side that the sidebar is attached to.",
|
|
120526
|
+
"attribute": "position",
|
|
120527
|
+
"reflects": true
|
|
120551
120528
|
},
|
|
120552
120529
|
{
|
|
120553
120530
|
"kind": "field",
|
|
120554
|
-
"name": "
|
|
120531
|
+
"name": "opened",
|
|
120555
120532
|
"type": {
|
|
120556
120533
|
"text": "boolean"
|
|
120557
120534
|
},
|
|
120558
120535
|
"privacy": "public",
|
|
120559
120536
|
"default": "false",
|
|
120560
|
-
"description": "Whether the
|
|
120561
|
-
"attribute": "
|
|
120562
|
-
"reflects": true
|
|
120563
|
-
"inheritedFrom": {
|
|
120564
|
-
"name": "SbbButtonCommonElementMixin",
|
|
120565
|
-
"module": "button/common/button-common.js"
|
|
120566
|
-
}
|
|
120537
|
+
"description": "Whether the sidebar is opened or closed.\nCan be used to initially set the opened state, where\nthe animation will be skipped.",
|
|
120538
|
+
"attribute": "opened",
|
|
120539
|
+
"reflects": true
|
|
120567
120540
|
},
|
|
120568
120541
|
{
|
|
120569
120542
|
"kind": "field",
|
|
120570
|
-
"name": "
|
|
120543
|
+
"name": "focusOnOpen",
|
|
120571
120544
|
"type": {
|
|
120572
120545
|
"text": "boolean"
|
|
120573
120546
|
},
|
|
120574
120547
|
"privacy": "public",
|
|
120575
120548
|
"default": "false",
|
|
120576
|
-
"description": "
|
|
120577
|
-
"attribute": "
|
|
120578
|
-
"reflects": true,
|
|
120579
|
-
"inheritedFrom": {
|
|
120580
|
-
"name": "SbbNegativeMixin",
|
|
120581
|
-
"module": "core/mixins/negative-mixin.js"
|
|
120582
|
-
}
|
|
120549
|
+
"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.",
|
|
120550
|
+
"attribute": "focus-on-open"
|
|
120583
120551
|
},
|
|
120584
120552
|
{
|
|
120585
120553
|
"kind": "field",
|
|
120586
|
-
"name": "
|
|
120554
|
+
"name": "container",
|
|
120587
120555
|
"type": {
|
|
120588
|
-
"text": "
|
|
120556
|
+
"text": "SbbSidebarContainerElement | null"
|
|
120589
120557
|
},
|
|
120590
120558
|
"privacy": "public",
|
|
120591
|
-
"
|
|
120592
|
-
"
|
|
120593
|
-
"
|
|
120594
|
-
|
|
120595
|
-
|
|
120596
|
-
|
|
120597
|
-
|
|
120559
|
+
"description": "Returns the SbbSidebarContainerElement where this sidebar is contained.",
|
|
120560
|
+
"readonly": true,
|
|
120561
|
+
"default": "null"
|
|
120562
|
+
},
|
|
120563
|
+
{
|
|
120564
|
+
"kind": "field",
|
|
120565
|
+
"name": "_container",
|
|
120566
|
+
"type": {
|
|
120567
|
+
"text": "SbbSidebarContainerElement | null"
|
|
120568
|
+
},
|
|
120569
|
+
"privacy": "private",
|
|
120570
|
+
"default": "null"
|
|
120571
|
+
},
|
|
120572
|
+
{
|
|
120573
|
+
"kind": "field",
|
|
120574
|
+
"name": "_lastFocusedElement",
|
|
120575
|
+
"type": {
|
|
120576
|
+
"text": "HTMLElement | null"
|
|
120577
|
+
},
|
|
120578
|
+
"privacy": "private",
|
|
120579
|
+
"default": "null"
|
|
120580
|
+
},
|
|
120581
|
+
{
|
|
120582
|
+
"kind": "field",
|
|
120583
|
+
"name": "_focusTrapController",
|
|
120584
|
+
"privacy": "private",
|
|
120585
|
+
"default": "new SbbFocusTrapController(this)"
|
|
120586
|
+
},
|
|
120587
|
+
{
|
|
120588
|
+
"kind": "field",
|
|
120589
|
+
"name": "_escapableOverlayController",
|
|
120590
|
+
"privacy": "private",
|
|
120591
|
+
"default": "new SbbEscapableOverlayController(this)"
|
|
120592
|
+
},
|
|
120593
|
+
{
|
|
120594
|
+
"kind": "field",
|
|
120595
|
+
"name": "_closeOnNavigation",
|
|
120596
|
+
"privacy": "private"
|
|
120598
120597
|
},
|
|
120599
120598
|
{
|
|
120600
120599
|
"kind": "method",
|
|
120601
|
-
"name": "
|
|
120602
|
-
"privacy": "
|
|
120600
|
+
"name": "toggle",
|
|
120601
|
+
"privacy": "public",
|
|
120603
120602
|
"return": {
|
|
120604
120603
|
"type": {
|
|
120605
|
-
"text": "
|
|
120604
|
+
"text": "void"
|
|
120606
120605
|
}
|
|
120607
120606
|
},
|
|
120608
|
-
"
|
|
120609
|
-
|
|
120610
|
-
|
|
120611
|
-
|
|
120612
|
-
|
|
120613
|
-
|
|
120614
|
-
|
|
120607
|
+
"description": "Toggles the sidebar visibility."
|
|
120608
|
+
},
|
|
120609
|
+
{
|
|
120610
|
+
"kind": "method",
|
|
120611
|
+
"name": "open",
|
|
120612
|
+
"privacy": "public",
|
|
120613
|
+
"return": {
|
|
120614
|
+
"type": {
|
|
120615
|
+
"text": "void"
|
|
120615
120616
|
}
|
|
120616
|
-
|
|
120617
|
+
},
|
|
120618
|
+
"description": "Opens the sidebar.",
|
|
120617
120619
|
"inheritedFrom": {
|
|
120618
|
-
"name": "
|
|
120619
|
-
"module": "
|
|
120620
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120621
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
120620
120622
|
}
|
|
120621
120623
|
},
|
|
120622
120624
|
{
|
|
120623
120625
|
"kind": "method",
|
|
120624
|
-
"name": "
|
|
120626
|
+
"name": "_isZeroAnimationDuration",
|
|
120625
120627
|
"privacy": "private",
|
|
120626
120628
|
"return": {
|
|
120627
120629
|
"type": {
|
|
120628
|
-
"text": "
|
|
120630
|
+
"text": "boolean"
|
|
120629
120631
|
}
|
|
120630
|
-
},
|
|
120631
|
-
"inheritedFrom": {
|
|
120632
|
-
"name": "SbbIconNameMixin",
|
|
120633
|
-
"module": "icon/icon-name-mixin.js"
|
|
120634
120632
|
}
|
|
120635
120633
|
},
|
|
120636
120634
|
{
|
|
120637
|
-
"kind": "
|
|
120638
|
-
"name": "
|
|
120639
|
-
"
|
|
120640
|
-
|
|
120641
|
-
|
|
120642
|
-
|
|
120643
|
-
|
|
120644
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
120645
|
-
"attribute": "disabled-interactive",
|
|
120646
|
-
"reflects": true,
|
|
120647
|
-
"inheritedFrom": {
|
|
120648
|
-
"name": "SbbDisabledInteractiveMixin",
|
|
120649
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
120635
|
+
"kind": "method",
|
|
120636
|
+
"name": "_handleOpening",
|
|
120637
|
+
"privacy": "private",
|
|
120638
|
+
"return": {
|
|
120639
|
+
"type": {
|
|
120640
|
+
"text": "void"
|
|
120641
|
+
}
|
|
120650
120642
|
}
|
|
120651
120643
|
},
|
|
120652
120644
|
{
|
|
120653
|
-
"kind": "
|
|
120654
|
-
"name": "
|
|
120645
|
+
"kind": "method",
|
|
120646
|
+
"name": "close",
|
|
120655
120647
|
"privacy": "public",
|
|
120656
|
-
"
|
|
120657
|
-
|
|
120658
|
-
|
|
120659
|
-
|
|
120648
|
+
"return": {
|
|
120649
|
+
"type": {
|
|
120650
|
+
"text": "void"
|
|
120651
|
+
}
|
|
120660
120652
|
},
|
|
120661
|
-
"
|
|
120662
|
-
"reflects": true,
|
|
120653
|
+
"description": "Closes the sidebar.",
|
|
120663
120654
|
"inheritedFrom": {
|
|
120664
|
-
"name": "
|
|
120665
|
-
"module": "core/
|
|
120655
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120656
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
120666
120657
|
}
|
|
120667
120658
|
},
|
|
120668
120659
|
{
|
|
120669
|
-
"kind": "
|
|
120670
|
-
"name": "
|
|
120660
|
+
"kind": "method",
|
|
120661
|
+
"name": "_handleClosing",
|
|
120671
120662
|
"privacy": "private",
|
|
120672
|
-
"
|
|
120673
|
-
"
|
|
120674
|
-
|
|
120675
|
-
|
|
120676
|
-
"inheritedFrom": {
|
|
120677
|
-
"name": "SbbDisabledMixin",
|
|
120678
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
120663
|
+
"return": {
|
|
120664
|
+
"type": {
|
|
120665
|
+
"text": "void"
|
|
120666
|
+
}
|
|
120679
120667
|
}
|
|
120680
120668
|
},
|
|
120681
120669
|
{
|
|
120682
120670
|
"kind": "method",
|
|
120683
|
-
"name": "
|
|
120684
|
-
"privacy": "
|
|
120671
|
+
"name": "_takeFocus",
|
|
120672
|
+
"privacy": "private",
|
|
120685
120673
|
"return": {
|
|
120686
120674
|
"type": {
|
|
120687
|
-
"text": "
|
|
120675
|
+
"text": "void"
|
|
120688
120676
|
}
|
|
120689
|
-
},
|
|
120690
|
-
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
120691
|
-
"inheritedFrom": {
|
|
120692
|
-
"name": "SbbDisabledMixin",
|
|
120693
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
120694
120677
|
}
|
|
120695
120678
|
},
|
|
120696
120679
|
{
|
|
120697
|
-
"kind": "
|
|
120698
|
-
"name": "
|
|
120699
|
-
"
|
|
120700
|
-
|
|
120680
|
+
"kind": "method",
|
|
120681
|
+
"name": "cedeFocus",
|
|
120682
|
+
"privacy": "protected",
|
|
120683
|
+
"return": {
|
|
120684
|
+
"type": {
|
|
120685
|
+
"text": "void"
|
|
120686
|
+
}
|
|
120687
|
+
}
|
|
120688
|
+
},
|
|
120689
|
+
{
|
|
120690
|
+
"kind": "method",
|
|
120691
|
+
"name": "_updateSidebarWidth",
|
|
120692
|
+
"privacy": "private",
|
|
120693
|
+
"return": {
|
|
120694
|
+
"type": {
|
|
120695
|
+
"text": "void"
|
|
120696
|
+
}
|
|
120697
|
+
},
|
|
120698
|
+
"parameters": [
|
|
120699
|
+
{
|
|
120700
|
+
"name": "oldPosition",
|
|
120701
|
+
"optional": true,
|
|
120702
|
+
"type": {
|
|
120703
|
+
"text": "this['position']"
|
|
120704
|
+
}
|
|
120705
|
+
}
|
|
120706
|
+
]
|
|
120707
|
+
},
|
|
120708
|
+
{
|
|
120709
|
+
"kind": "method",
|
|
120710
|
+
"name": "_buildCssWidthVar",
|
|
120711
|
+
"privacy": "private",
|
|
120712
|
+
"return": {
|
|
120713
|
+
"type": {
|
|
120714
|
+
"text": "string"
|
|
120715
|
+
}
|
|
120701
120716
|
},
|
|
120717
|
+
"parameters": [
|
|
120718
|
+
{
|
|
120719
|
+
"name": "position",
|
|
120720
|
+
"default": "this.position"
|
|
120721
|
+
}
|
|
120722
|
+
]
|
|
120723
|
+
},
|
|
120724
|
+
{
|
|
120725
|
+
"kind": "method",
|
|
120726
|
+
"name": "_isModeOver",
|
|
120702
120727
|
"privacy": "private",
|
|
120703
|
-
"
|
|
120704
|
-
|
|
120705
|
-
|
|
120706
|
-
|
|
120707
|
-
"module": "core/base-elements/button-base-element.js"
|
|
120728
|
+
"return": {
|
|
120729
|
+
"type": {
|
|
120730
|
+
"text": "boolean"
|
|
120731
|
+
}
|
|
120708
120732
|
}
|
|
120709
120733
|
},
|
|
120710
120734
|
{
|
|
120711
|
-
"kind": "
|
|
120712
|
-
"name": "
|
|
120713
|
-
"
|
|
120714
|
-
|
|
120715
|
-
|
|
120716
|
-
|
|
120717
|
-
|
|
120718
|
-
"name": "SbbButtonBaseElement",
|
|
120719
|
-
"module": "core/base-elements/button-base-element.js"
|
|
120735
|
+
"kind": "method",
|
|
120736
|
+
"name": "_onTransitionEnd",
|
|
120737
|
+
"privacy": "private",
|
|
120738
|
+
"return": {
|
|
120739
|
+
"type": {
|
|
120740
|
+
"text": "void"
|
|
120741
|
+
}
|
|
120720
120742
|
},
|
|
120721
|
-
"
|
|
120722
|
-
|
|
120723
|
-
|
|
120743
|
+
"parameters": [
|
|
120744
|
+
{
|
|
120745
|
+
"name": "event",
|
|
120746
|
+
"type": {
|
|
120747
|
+
"text": "TransitionEvent"
|
|
120748
|
+
}
|
|
120749
|
+
}
|
|
120750
|
+
]
|
|
120751
|
+
},
|
|
120752
|
+
{
|
|
120753
|
+
"kind": "method",
|
|
120754
|
+
"name": "_detectScrolledState",
|
|
120755
|
+
"privacy": "private",
|
|
120756
|
+
"return": {
|
|
120757
|
+
"type": {
|
|
120758
|
+
"text": "void"
|
|
120759
|
+
}
|
|
120760
|
+
}
|
|
120724
120761
|
},
|
|
120725
120762
|
{
|
|
120726
120763
|
"kind": "field",
|
|
120727
|
-
"name": "
|
|
120728
|
-
"privacy": "public",
|
|
120729
|
-
"description": "The type attribute to use for the button.",
|
|
120730
|
-
"default": "'button'",
|
|
120764
|
+
"name": "isAnimating",
|
|
120731
120765
|
"type": {
|
|
120732
|
-
"text": "
|
|
120766
|
+
"text": "boolean"
|
|
120733
120767
|
},
|
|
120734
|
-
"
|
|
120768
|
+
"privacy": "public",
|
|
120769
|
+
"default": "false",
|
|
120770
|
+
"description": "Whether the component is currently animating.",
|
|
120735
120771
|
"inheritedFrom": {
|
|
120736
|
-
"name": "
|
|
120737
|
-
"module": "core/
|
|
120772
|
+
"name": "SbbAnimationCompleteMixin",
|
|
120773
|
+
"module": "core/mixins/animation-complete-mixin.js"
|
|
120738
120774
|
}
|
|
120739
120775
|
},
|
|
120740
120776
|
{
|
|
120741
120777
|
"kind": "field",
|
|
120742
|
-
"name": "
|
|
120778
|
+
"name": "animationComplete",
|
|
120743
120779
|
"type": {
|
|
120744
|
-
"text": "
|
|
120780
|
+
"text": "Promise<void>"
|
|
120745
120781
|
},
|
|
120746
120782
|
"privacy": "public",
|
|
120747
|
-
"description": "
|
|
120783
|
+
"description": "Returns a promise which completes whenever an animation ends.\nWhen a new animation starts, a new Promise is returned.",
|
|
120784
|
+
"readonly": true,
|
|
120748
120785
|
"inheritedFrom": {
|
|
120749
|
-
"name": "
|
|
120750
|
-
"module": "core/
|
|
120751
|
-
}
|
|
120752
|
-
"attribute": "form"
|
|
120786
|
+
"name": "SbbAnimationCompleteMixin",
|
|
120787
|
+
"module": "core/mixins/animation-complete-mixin.js"
|
|
120788
|
+
}
|
|
120753
120789
|
},
|
|
120754
120790
|
{
|
|
120755
120791
|
"kind": "field",
|
|
120756
|
-
"name": "
|
|
120792
|
+
"name": "_animationPromise",
|
|
120757
120793
|
"type": {
|
|
120758
|
-
"text": "
|
|
120794
|
+
"text": "Promise<void>"
|
|
120759
120795
|
},
|
|
120760
120796
|
"privacy": "private",
|
|
120761
|
-
"default": "''",
|
|
120762
120797
|
"inheritedFrom": {
|
|
120763
|
-
"name": "
|
|
120764
|
-
"module": "core/
|
|
120798
|
+
"name": "SbbAnimationCompleteMixin",
|
|
120799
|
+
"module": "core/mixins/animation-complete-mixin.js"
|
|
120765
120800
|
}
|
|
120766
120801
|
},
|
|
120767
120802
|
{
|
|
120768
|
-
"kind": "
|
|
120769
|
-
"name": "
|
|
120770
|
-
"privacy": "
|
|
120803
|
+
"kind": "method",
|
|
120804
|
+
"name": "startAnimation",
|
|
120805
|
+
"privacy": "protected",
|
|
120806
|
+
"return": {
|
|
120807
|
+
"type": {
|
|
120808
|
+
"text": "void"
|
|
120809
|
+
}
|
|
120810
|
+
},
|
|
120771
120811
|
"inheritedFrom": {
|
|
120772
|
-
"name": "
|
|
120773
|
-
"module": "core/
|
|
120812
|
+
"name": "SbbAnimationCompleteMixin",
|
|
120813
|
+
"module": "core/mixins/animation-complete-mixin.js"
|
|
120774
120814
|
}
|
|
120775
120815
|
},
|
|
120776
120816
|
{
|
|
120777
120817
|
"kind": "method",
|
|
120778
|
-
"name": "
|
|
120779
|
-
"privacy": "
|
|
120818
|
+
"name": "stopAnimation",
|
|
120819
|
+
"privacy": "protected",
|
|
120780
120820
|
"return": {
|
|
120781
120821
|
"type": {
|
|
120782
120822
|
"text": "void"
|
|
120783
120823
|
}
|
|
120784
120824
|
},
|
|
120785
|
-
"
|
|
120786
|
-
{
|
|
120787
|
-
"name": "form",
|
|
120788
|
-
"type": {
|
|
120789
|
-
"text": "HTMLFormElement"
|
|
120790
|
-
}
|
|
120791
|
-
}
|
|
120792
|
-
],
|
|
120825
|
+
"description": "Overriding stopAnimation() breaks functionality.",
|
|
120793
120826
|
"inheritedFrom": {
|
|
120794
|
-
"name": "
|
|
120795
|
-
"module": "core/
|
|
120827
|
+
"name": "SbbAnimationCompleteMixin",
|
|
120828
|
+
"module": "core/mixins/animation-complete-mixin.js"
|
|
120796
120829
|
}
|
|
120797
120830
|
},
|
|
120798
120831
|
{
|
|
120799
|
-
"kind": "
|
|
120800
|
-
"name": "
|
|
120832
|
+
"kind": "method",
|
|
120833
|
+
"name": "_enqueueAnimation",
|
|
120801
120834
|
"privacy": "private",
|
|
120835
|
+
"return": {
|
|
120836
|
+
"type": {
|
|
120837
|
+
"text": "Promise<void>"
|
|
120838
|
+
}
|
|
120839
|
+
},
|
|
120802
120840
|
"inheritedFrom": {
|
|
120803
|
-
"name": "
|
|
120804
|
-
"module": "core/
|
|
120841
|
+
"name": "SbbAnimationCompleteMixin",
|
|
120842
|
+
"module": "core/mixins/animation-complete-mixin.js"
|
|
120805
120843
|
}
|
|
120806
120844
|
},
|
|
120807
120845
|
{
|
|
120808
120846
|
"kind": "field",
|
|
120809
|
-
"name": "
|
|
120810
|
-
"type": {
|
|
120811
|
-
"text": "boolean"
|
|
120812
|
-
},
|
|
120847
|
+
"name": "events",
|
|
120813
120848
|
"privacy": "public",
|
|
120814
120849
|
"static": true,
|
|
120815
|
-
"
|
|
120850
|
+
"readonly": true,
|
|
120851
|
+
"default": "{ beforeopen: 'beforeopen', open: 'open', beforeclose: 'beforeclose', close: 'close', }",
|
|
120852
|
+
"type": {
|
|
120853
|
+
"text": "{\n beforeopen: 'beforeopen',\n open: 'open',\n beforeclose: 'beforeclose',\n close: 'close',\n }"
|
|
120854
|
+
},
|
|
120816
120855
|
"inheritedFrom": {
|
|
120817
|
-
"name": "
|
|
120818
|
-
"module": "core/
|
|
120856
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120857
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
120819
120858
|
}
|
|
120820
120859
|
},
|
|
120821
120860
|
{
|
|
120822
120861
|
"kind": "field",
|
|
120823
|
-
"name": "
|
|
120824
|
-
"privacy": "
|
|
120825
|
-
"description": "
|
|
120862
|
+
"name": "state",
|
|
120863
|
+
"privacy": "protected",
|
|
120864
|
+
"description": "The state of the component.",
|
|
120826
120865
|
"type": {
|
|
120827
|
-
"text": "
|
|
120866
|
+
"text": "SbbOpenedClosedState"
|
|
120828
120867
|
},
|
|
120829
|
-
"
|
|
120868
|
+
"default": "'closed'",
|
|
120830
120869
|
"inheritedFrom": {
|
|
120831
|
-
"name": "
|
|
120832
|
-
"module": "core/
|
|
120870
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120871
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
120833
120872
|
}
|
|
120834
120873
|
},
|
|
120835
120874
|
{
|
|
120836
120875
|
"kind": "field",
|
|
120837
|
-
"name": "
|
|
120876
|
+
"name": "_state",
|
|
120838
120877
|
"type": {
|
|
120839
|
-
"text": "
|
|
120878
|
+
"text": "SbbOpenedClosedState"
|
|
120840
120879
|
},
|
|
120841
|
-
"privacy": "
|
|
120842
|
-
"description": "Returns the ValidityState object for this element.",
|
|
120843
|
-
"readonly": true,
|
|
120880
|
+
"privacy": "private",
|
|
120844
120881
|
"inheritedFrom": {
|
|
120845
|
-
"name": "
|
|
120846
|
-
"module": "core/
|
|
120882
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120883
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
120847
120884
|
}
|
|
120848
120885
|
},
|
|
120849
120886
|
{
|
|
120850
120887
|
"kind": "field",
|
|
120851
|
-
"name": "
|
|
120888
|
+
"name": "isOpen",
|
|
120852
120889
|
"type": {
|
|
120853
|
-
"text": "
|
|
120890
|
+
"text": "boolean"
|
|
120854
120891
|
},
|
|
120855
120892
|
"privacy": "public",
|
|
120856
|
-
"description": "
|
|
120893
|
+
"description": "Whether the element is open.",
|
|
120857
120894
|
"readonly": true,
|
|
120858
120895
|
"inheritedFrom": {
|
|
120859
|
-
"name": "
|
|
120860
|
-
"module": "core/
|
|
120896
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120897
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
120861
120898
|
}
|
|
120862
120899
|
},
|
|
120863
120900
|
{
|
|
120864
|
-
"kind": "
|
|
120865
|
-
"name": "
|
|
120866
|
-
"type": {
|
|
120867
|
-
"text": "boolean"
|
|
120868
|
-
},
|
|
120901
|
+
"kind": "method",
|
|
120902
|
+
"name": "escapeStrategy",
|
|
120869
120903
|
"privacy": "public",
|
|
120870
|
-
"
|
|
120871
|
-
|
|
120904
|
+
"return": {
|
|
120905
|
+
"type": {
|
|
120906
|
+
"text": "void"
|
|
120907
|
+
}
|
|
120908
|
+
},
|
|
120909
|
+
"description": "The method which is called on escape key press. Defaults to calling close()",
|
|
120872
120910
|
"inheritedFrom": {
|
|
120873
|
-
"name": "
|
|
120874
|
-
"module": "core/
|
|
120875
|
-
}
|
|
120876
|
-
},
|
|
120877
|
-
{
|
|
120878
|
-
"kind": "field",
|
|
120879
|
-
"name": "_validityStates",
|
|
120880
|
-
"privacy": "private",
|
|
120881
|
-
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
120882
|
-
"inheritedFrom": {
|
|
120883
|
-
"name": "SbbFormAssociatedMixin",
|
|
120884
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
120885
|
-
}
|
|
120886
|
-
},
|
|
120887
|
-
{
|
|
120888
|
-
"kind": "field",
|
|
120889
|
-
"name": "formDisabled",
|
|
120890
|
-
"type": {
|
|
120891
|
-
"text": "boolean"
|
|
120892
|
-
},
|
|
120893
|
-
"privacy": "protected",
|
|
120894
|
-
"default": "false",
|
|
120895
|
-
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
120896
|
-
"inheritedFrom": {
|
|
120897
|
-
"name": "SbbFormAssociatedMixin",
|
|
120898
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
120911
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120912
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
120899
120913
|
}
|
|
120900
120914
|
},
|
|
120901
120915
|
{
|
|
120902
120916
|
"kind": "method",
|
|
120903
|
-
"name": "
|
|
120904
|
-
"privacy": "
|
|
120917
|
+
"name": "dispatchBeforeOpenEvent",
|
|
120918
|
+
"privacy": "protected",
|
|
120905
120919
|
"return": {
|
|
120906
120920
|
"type": {
|
|
120907
120921
|
"text": "boolean"
|
|
120908
120922
|
}
|
|
120909
120923
|
},
|
|
120910
|
-
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
120911
120924
|
"inheritedFrom": {
|
|
120912
|
-
"name": "
|
|
120913
|
-
"module": "core/
|
|
120925
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120926
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
120914
120927
|
}
|
|
120915
120928
|
},
|
|
120916
120929
|
{
|
|
120917
120930
|
"kind": "method",
|
|
120918
|
-
"name": "
|
|
120919
|
-
"privacy": "
|
|
120931
|
+
"name": "dispatchOpenEvent",
|
|
120932
|
+
"privacy": "protected",
|
|
120920
120933
|
"return": {
|
|
120921
120934
|
"type": {
|
|
120922
120935
|
"text": "boolean"
|
|
120923
120936
|
}
|
|
120924
120937
|
},
|
|
120925
|
-
"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.",
|
|
120926
120938
|
"inheritedFrom": {
|
|
120927
|
-
"name": "
|
|
120928
|
-
"module": "core/
|
|
120939
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120940
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
120929
120941
|
}
|
|
120930
120942
|
},
|
|
120931
120943
|
{
|
|
120932
120944
|
"kind": "method",
|
|
120933
|
-
"name": "
|
|
120934
|
-
"privacy": "
|
|
120945
|
+
"name": "dispatchBeforeCloseEvent",
|
|
120946
|
+
"privacy": "protected",
|
|
120935
120947
|
"return": {
|
|
120936
120948
|
"type": {
|
|
120937
|
-
"text": "
|
|
120949
|
+
"text": "boolean"
|
|
120938
120950
|
}
|
|
120939
120951
|
},
|
|
120940
|
-
"parameters": [
|
|
120941
|
-
{
|
|
120942
|
-
"name": "message",
|
|
120943
|
-
"type": {
|
|
120944
|
-
"text": "string"
|
|
120945
|
-
}
|
|
120946
|
-
}
|
|
120947
|
-
],
|
|
120948
|
-
"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.",
|
|
120949
120952
|
"inheritedFrom": {
|
|
120950
|
-
"name": "
|
|
120951
|
-
"module": "core/
|
|
120953
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120954
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
120952
120955
|
}
|
|
120953
120956
|
},
|
|
120954
120957
|
{
|
|
120955
120958
|
"kind": "method",
|
|
120956
|
-
"name": "
|
|
120957
|
-
"privacy": "
|
|
120959
|
+
"name": "dispatchCloseEvent",
|
|
120960
|
+
"privacy": "protected",
|
|
120958
120961
|
"return": {
|
|
120959
120962
|
"type": {
|
|
120960
120963
|
"text": "boolean"
|
|
120961
120964
|
}
|
|
120962
120965
|
},
|
|
120963
120966
|
"inheritedFrom": {
|
|
120964
|
-
"name": "
|
|
120965
|
-
"module": "core/
|
|
120967
|
+
"name": "SbbOpenCloseBaseElement",
|
|
120968
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
120966
120969
|
}
|
|
120967
120970
|
},
|
|
120968
120971
|
{
|
|
120969
|
-
"kind": "
|
|
120970
|
-
"name": "
|
|
120971
|
-
"
|
|
120972
|
-
|
|
120973
|
-
"type": {
|
|
120974
|
-
"text": "void"
|
|
120975
|
-
}
|
|
120972
|
+
"kind": "field",
|
|
120973
|
+
"name": "_hydrationRequired",
|
|
120974
|
+
"type": {
|
|
120975
|
+
"text": "boolean"
|
|
120976
120976
|
},
|
|
120977
|
-
"
|
|
120977
|
+
"privacy": "private",
|
|
120978
|
+
"default": "!!this.shadowRoot",
|
|
120978
120979
|
"inheritedFrom": {
|
|
120979
|
-
"name": "
|
|
120980
|
-
"module": "core/
|
|
120980
|
+
"name": "SbbElement",
|
|
120981
|
+
"module": "core/base-elements/element.js"
|
|
120981
120982
|
}
|
|
120982
120983
|
},
|
|
120983
120984
|
{
|
|
120984
|
-
"kind": "
|
|
120985
|
-
"name": "
|
|
120986
|
-
"privacy": "
|
|
120987
|
-
"
|
|
120988
|
-
|
|
120989
|
-
|
|
120990
|
-
|
|
120985
|
+
"kind": "field",
|
|
120986
|
+
"name": "_hydrationComplete",
|
|
120987
|
+
"privacy": "private",
|
|
120988
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
120989
|
+
"inheritedFrom": {
|
|
120990
|
+
"name": "SbbElement",
|
|
120991
|
+
"module": "core/base-elements/element.js"
|
|
120992
|
+
}
|
|
120993
|
+
},
|
|
120994
|
+
{
|
|
120995
|
+
"kind": "field",
|
|
120996
|
+
"name": "_resolveHydration",
|
|
120997
|
+
"type": {
|
|
120998
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
120991
120999
|
},
|
|
121000
|
+
"privacy": "private",
|
|
120992
121001
|
"inheritedFrom": {
|
|
120993
|
-
"name": "
|
|
120994
|
-
"module": "core/
|
|
121002
|
+
"name": "SbbElement",
|
|
121003
|
+
"module": "core/base-elements/element.js"
|
|
120995
121004
|
}
|
|
120996
121005
|
},
|
|
121006
|
+
{
|
|
121007
|
+
"kind": "field",
|
|
121008
|
+
"name": "hydrationRequired",
|
|
121009
|
+
"type": {
|
|
121010
|
+
"text": "boolean"
|
|
121011
|
+
},
|
|
121012
|
+
"privacy": "protected",
|
|
121013
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
121014
|
+
"readonly": true,
|
|
121015
|
+
"inheritedFrom": {
|
|
121016
|
+
"name": "SbbElement",
|
|
121017
|
+
"module": "core/base-elements/element.js"
|
|
121018
|
+
},
|
|
121019
|
+
"default": "!!this.shadowRoot"
|
|
121020
|
+
},
|
|
120997
121021
|
{
|
|
120998
121022
|
"kind": "method",
|
|
120999
|
-
"name": "
|
|
121023
|
+
"name": "toggleState",
|
|
121000
121024
|
"privacy": "protected",
|
|
121001
121025
|
"return": {
|
|
121002
121026
|
"type": {
|
|
@@ -121005,192 +121029,227 @@
|
|
|
121005
121029
|
},
|
|
121006
121030
|
"parameters": [
|
|
121007
121031
|
{
|
|
121008
|
-
"name": "
|
|
121009
|
-
"type": {
|
|
121010
|
-
"text": "T"
|
|
121011
|
-
}
|
|
121012
|
-
},
|
|
121013
|
-
{
|
|
121014
|
-
"name": "message",
|
|
121032
|
+
"name": "value",
|
|
121015
121033
|
"type": {
|
|
121016
121034
|
"text": "string"
|
|
121017
121035
|
}
|
|
121018
121036
|
},
|
|
121019
121037
|
{
|
|
121020
|
-
"name": "
|
|
121038
|
+
"name": "force",
|
|
121021
121039
|
"optional": true,
|
|
121022
121040
|
"type": {
|
|
121023
|
-
"text": "
|
|
121041
|
+
"text": "boolean"
|
|
121024
121042
|
}
|
|
121025
121043
|
}
|
|
121026
121044
|
],
|
|
121027
|
-
"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).",
|
|
121028
121045
|
"inheritedFrom": {
|
|
121029
|
-
"name": "
|
|
121030
|
-
"module": "core/
|
|
121046
|
+
"name": "SbbElement",
|
|
121047
|
+
"module": "core/base-elements/element.js"
|
|
121031
121048
|
}
|
|
121032
121049
|
},
|
|
121033
121050
|
{
|
|
121034
|
-
"kind": "
|
|
121035
|
-
"name": "
|
|
121036
|
-
"
|
|
121037
|
-
|
|
121038
|
-
"type": {
|
|
121039
|
-
"text": "void"
|
|
121040
|
-
}
|
|
121051
|
+
"kind": "field",
|
|
121052
|
+
"name": "['_$sbbElement$']",
|
|
121053
|
+
"type": {
|
|
121054
|
+
"text": "boolean"
|
|
121041
121055
|
},
|
|
121042
|
-
"
|
|
121043
|
-
|
|
121044
|
-
|
|
121045
|
-
"type": {
|
|
121046
|
-
"text": "T"
|
|
121047
|
-
}
|
|
121048
|
-
}
|
|
121049
|
-
],
|
|
121050
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
121056
|
+
"privacy": "public",
|
|
121057
|
+
"static": true,
|
|
121058
|
+
"default": "true",
|
|
121051
121059
|
"inheritedFrom": {
|
|
121052
|
-
"name": "
|
|
121053
|
-
"module": "core/
|
|
121060
|
+
"name": "SbbElement",
|
|
121061
|
+
"module": "core/base-elements/element.js"
|
|
121054
121062
|
}
|
|
121055
121063
|
},
|
|
121056
121064
|
{
|
|
121057
|
-
"kind": "
|
|
121058
|
-
"name": "
|
|
121059
|
-
"
|
|
121060
|
-
|
|
121061
|
-
"type": {
|
|
121062
|
-
"text": "void"
|
|
121063
|
-
}
|
|
121065
|
+
"kind": "field",
|
|
121066
|
+
"name": "_controllers",
|
|
121067
|
+
"type": {
|
|
121068
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
121064
121069
|
},
|
|
121065
|
-
"
|
|
121070
|
+
"privacy": "private",
|
|
121066
121071
|
"inheritedFrom": {
|
|
121067
|
-
"name": "
|
|
121068
|
-
"module": "core/
|
|
121072
|
+
"name": "SbbElement",
|
|
121073
|
+
"module": "core/base-elements/element.js"
|
|
121069
121074
|
}
|
|
121075
|
+
}
|
|
121076
|
+
],
|
|
121077
|
+
"attributes": [
|
|
121078
|
+
{
|
|
121079
|
+
"name": "color",
|
|
121080
|
+
"type": {
|
|
121081
|
+
"text": "'white' | 'milk'"
|
|
121082
|
+
},
|
|
121083
|
+
"default": "'white'",
|
|
121084
|
+
"description": "Background color of the sidebar. Either `white` or `milk`.",
|
|
121085
|
+
"fieldName": "color"
|
|
121070
121086
|
},
|
|
121071
121087
|
{
|
|
121072
|
-
"
|
|
121073
|
-
"
|
|
121074
|
-
|
|
121075
|
-
"return": {
|
|
121076
|
-
"type": {
|
|
121077
|
-
"text": "boolean"
|
|
121078
|
-
}
|
|
121088
|
+
"name": "mode",
|
|
121089
|
+
"type": {
|
|
121090
|
+
"text": "'side' | 'over'"
|
|
121079
121091
|
},
|
|
121080
|
-
"
|
|
121081
|
-
|
|
121082
|
-
|
|
121083
|
-
"type": {
|
|
121084
|
-
"text": "PropertyKey | undefined"
|
|
121085
|
-
}
|
|
121086
|
-
}
|
|
121087
|
-
],
|
|
121088
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
121089
|
-
"inheritedFrom": {
|
|
121090
|
-
"name": "SbbFormAssociatedMixin",
|
|
121091
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
121092
|
-
}
|
|
121092
|
+
"default": "'side'",
|
|
121093
|
+
"description": "Mode of the sidebar; one of 'side' or 'over'.",
|
|
121094
|
+
"fieldName": "mode"
|
|
121093
121095
|
},
|
|
121094
121096
|
{
|
|
121095
|
-
"
|
|
121096
|
-
"
|
|
121097
|
-
|
|
121098
|
-
"return": {
|
|
121099
|
-
"type": {
|
|
121100
|
-
"text": "void"
|
|
121101
|
-
}
|
|
121097
|
+
"name": "position",
|
|
121098
|
+
"type": {
|
|
121099
|
+
"text": "'start' | 'end'"
|
|
121102
121100
|
},
|
|
121103
|
-
"
|
|
121104
|
-
|
|
121105
|
-
|
|
121106
|
-
}
|
|
121101
|
+
"default": "'start'",
|
|
121102
|
+
"description": "The side that the sidebar is attached to.",
|
|
121103
|
+
"fieldName": "position"
|
|
121107
121104
|
},
|
|
121108
121105
|
{
|
|
121109
|
-
"
|
|
121110
|
-
"name": "role",
|
|
121106
|
+
"name": "opened",
|
|
121111
121107
|
"type": {
|
|
121112
|
-
"text": "
|
|
121108
|
+
"text": "boolean"
|
|
121113
121109
|
},
|
|
121114
|
-
"
|
|
121115
|
-
"
|
|
121116
|
-
"
|
|
121117
|
-
|
|
121110
|
+
"default": "false",
|
|
121111
|
+
"description": "Whether the sidebar is opened or closed.\nCan be used to initially set the opened state, where\nthe animation will be skipped.",
|
|
121112
|
+
"fieldName": "opened"
|
|
121113
|
+
},
|
|
121114
|
+
{
|
|
121115
|
+
"name": "focus-on-open",
|
|
121116
|
+
"type": {
|
|
121117
|
+
"text": "boolean"
|
|
121118
|
+
},
|
|
121119
|
+
"default": "false",
|
|
121120
|
+
"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.",
|
|
121121
|
+
"fieldName": "focusOnOpen"
|
|
121122
|
+
}
|
|
121123
|
+
],
|
|
121124
|
+
"mixins": [
|
|
121125
|
+
{
|
|
121126
|
+
"name": "SbbAnimationCompleteMixin",
|
|
121127
|
+
"module": "core/mixins.js"
|
|
121128
|
+
}
|
|
121129
|
+
],
|
|
121130
|
+
"superclass": {
|
|
121131
|
+
"name": "SbbOpenCloseBaseElement",
|
|
121132
|
+
"module": "core/base-elements.js"
|
|
121133
|
+
},
|
|
121134
|
+
"tagName": "sbb-sidebar",
|
|
121135
|
+
"customElement": true,
|
|
121136
|
+
"events": [
|
|
121137
|
+
{
|
|
121138
|
+
"name": "beforeopen",
|
|
121139
|
+
"type": {
|
|
121140
|
+
"text": "Event"
|
|
121141
|
+
},
|
|
121142
|
+
"description": "Emits whenever the component starts the opening transition. Can be canceled.",
|
|
121118
121143
|
"inheritedFrom": {
|
|
121119
|
-
"name": "
|
|
121120
|
-
"module": "core/base-elements/
|
|
121144
|
+
"name": "SbbOpenCloseBaseElement",
|
|
121145
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
121121
121146
|
}
|
|
121122
121147
|
},
|
|
121123
121148
|
{
|
|
121124
|
-
"
|
|
121125
|
-
"
|
|
121126
|
-
|
|
121127
|
-
|
|
121128
|
-
"
|
|
121129
|
-
{
|
|
121130
|
-
"description": "The origin event.",
|
|
121131
|
-
"name": "event"
|
|
121132
|
-
}
|
|
121133
|
-
],
|
|
121149
|
+
"name": "open",
|
|
121150
|
+
"type": {
|
|
121151
|
+
"text": "Event"
|
|
121152
|
+
},
|
|
121153
|
+
"description": "Emits whenever the component is opened.",
|
|
121134
121154
|
"inheritedFrom": {
|
|
121135
|
-
"name": "
|
|
121136
|
-
"module": "core/base-elements/
|
|
121155
|
+
"name": "SbbOpenCloseBaseElement",
|
|
121156
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
121137
121157
|
}
|
|
121138
121158
|
},
|
|
121139
121159
|
{
|
|
121140
|
-
"
|
|
121141
|
-
"
|
|
121142
|
-
|
|
121160
|
+
"name": "beforeclose",
|
|
121161
|
+
"type": {
|
|
121162
|
+
"text": "Event"
|
|
121163
|
+
},
|
|
121164
|
+
"description": "Emits whenever the component begins the closing transition. Can be canceled.",
|
|
121143
121165
|
"inheritedFrom": {
|
|
121144
|
-
"name": "
|
|
121145
|
-
"module": "core/base-elements/
|
|
121166
|
+
"name": "SbbOpenCloseBaseElement",
|
|
121167
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
121146
121168
|
}
|
|
121147
121169
|
},
|
|
121148
121170
|
{
|
|
121149
|
-
"
|
|
121150
|
-
"
|
|
121151
|
-
|
|
121152
|
-
|
|
121153
|
-
"
|
|
121154
|
-
|
|
121155
|
-
|
|
121156
|
-
|
|
121157
|
-
|
|
121158
|
-
|
|
121171
|
+
"name": "close",
|
|
121172
|
+
"type": {
|
|
121173
|
+
"text": "Event"
|
|
121174
|
+
},
|
|
121175
|
+
"description": "Emits whenever the component is closed.",
|
|
121176
|
+
"inheritedFrom": {
|
|
121177
|
+
"name": "SbbOpenCloseBaseElement",
|
|
121178
|
+
"module": "core/base-elements/open-close-base-element.js"
|
|
121179
|
+
}
|
|
121180
|
+
}
|
|
121181
|
+
]
|
|
121182
|
+
}
|
|
121183
|
+
],
|
|
121184
|
+
"exports": [
|
|
121185
|
+
{
|
|
121186
|
+
"kind": "js",
|
|
121187
|
+
"name": "SbbSidebarElement",
|
|
121188
|
+
"declaration": {
|
|
121189
|
+
"name": "SbbSidebarElement",
|
|
121190
|
+
"module": "sidebar/sidebar/sidebar.component.js"
|
|
121191
|
+
}
|
|
121192
|
+
}
|
|
121193
|
+
]
|
|
121194
|
+
},
|
|
121195
|
+
{
|
|
121196
|
+
"kind": "javascript-module",
|
|
121197
|
+
"path": "sidebar/sidebar-close-button/sidebar-close-button.component.js",
|
|
121198
|
+
"declarations": [
|
|
121199
|
+
{
|
|
121200
|
+
"kind": "class",
|
|
121201
|
+
"description": "Sidebar close button, intended to be placed inside sbb-sidebar.",
|
|
121202
|
+
"name": "SbbSidebarCloseButtonElement",
|
|
121203
|
+
"slots": [
|
|
121204
|
+
{
|
|
121205
|
+
"description": "Use the unnamed slot to add content to the sidebar-close-button. Not intended to be used in this context.",
|
|
121206
|
+
"name": "",
|
|
121159
121207
|
"inheritedFrom": {
|
|
121160
|
-
"name": "
|
|
121161
|
-
"module": "
|
|
121208
|
+
"name": "SbbSecondaryButtonElement",
|
|
121209
|
+
"module": "button/secondary-button/secondary-button.component.js"
|
|
121162
121210
|
}
|
|
121163
121211
|
},
|
|
121164
121212
|
{
|
|
121165
|
-
"
|
|
121166
|
-
"name": "
|
|
121167
|
-
"privacy": "private",
|
|
121213
|
+
"description": "Slot used to display the icon, if one is set. Not intended to be used in this context.",
|
|
121214
|
+
"name": "icon",
|
|
121168
121215
|
"inheritedFrom": {
|
|
121169
|
-
"name": "
|
|
121170
|
-
"module": "
|
|
121216
|
+
"name": "SbbSecondaryButtonElement",
|
|
121217
|
+
"module": "button/secondary-button/secondary-button.component.js"
|
|
121171
121218
|
}
|
|
121172
|
-
}
|
|
121219
|
+
}
|
|
121220
|
+
],
|
|
121221
|
+
"members": [
|
|
121173
121222
|
{
|
|
121174
121223
|
"kind": "field",
|
|
121175
|
-
"name": "
|
|
121224
|
+
"name": "elementName",
|
|
121176
121225
|
"type": {
|
|
121177
|
-
"text": "
|
|
121226
|
+
"text": "string"
|
|
121178
121227
|
},
|
|
121179
|
-
"privacy": "
|
|
121228
|
+
"privacy": "public",
|
|
121229
|
+
"static": true,
|
|
121180
121230
|
"readonly": true,
|
|
121181
121231
|
"inheritedFrom": {
|
|
121182
|
-
"name": "
|
|
121183
|
-
"module": "core/base-elements/
|
|
121184
|
-
}
|
|
121232
|
+
"name": "SbbElement",
|
|
121233
|
+
"module": "core/base-elements/element.js"
|
|
121234
|
+
},
|
|
121235
|
+
"default": "'sbb-sidebar-close-button'"
|
|
121185
121236
|
},
|
|
121186
121237
|
{
|
|
121187
121238
|
"kind": "field",
|
|
121188
|
-
"name": "
|
|
121189
|
-
"
|
|
121190
|
-
|
|
121191
|
-
|
|
121239
|
+
"name": "_languageController",
|
|
121240
|
+
"privacy": "private",
|
|
121241
|
+
"default": "new SbbLanguageController(this)"
|
|
121242
|
+
},
|
|
121243
|
+
{
|
|
121244
|
+
"kind": "method",
|
|
121245
|
+
"name": "renderTemplate",
|
|
121192
121246
|
"privacy": "protected",
|
|
121193
|
-
"
|
|
121247
|
+
"return": {
|
|
121248
|
+
"type": {
|
|
121249
|
+
"text": "TemplateResult"
|
|
121250
|
+
}
|
|
121251
|
+
},
|
|
121252
|
+
"description": "Override this method to render the component template.",
|
|
121194
121253
|
"inheritedFrom": {
|
|
121195
121254
|
"name": "SbbActionBaseElement",
|
|
121196
121255
|
"module": "core/base-elements/action-base-element.js"
|
|
@@ -121198,518 +121257,483 @@
|
|
|
121198
121257
|
},
|
|
121199
121258
|
{
|
|
121200
121259
|
"kind": "method",
|
|
121201
|
-
"name": "
|
|
121260
|
+
"name": "renderIconName",
|
|
121202
121261
|
"privacy": "protected",
|
|
121203
121262
|
"return": {
|
|
121204
121263
|
"type": {
|
|
121205
|
-
"text": "
|
|
121264
|
+
"text": "string"
|
|
121206
121265
|
}
|
|
121207
121266
|
},
|
|
121208
121267
|
"inheritedFrom": {
|
|
121209
|
-
"name": "
|
|
121210
|
-
"module": "
|
|
121268
|
+
"name": "SbbIconNameMixin",
|
|
121269
|
+
"module": "icon/icon-name-mixin.js"
|
|
121211
121270
|
}
|
|
121212
121271
|
},
|
|
121213
121272
|
{
|
|
121214
121273
|
"kind": "field",
|
|
121215
|
-
"name": "
|
|
121274
|
+
"name": "size",
|
|
121216
121275
|
"type": {
|
|
121217
|
-
"text": "
|
|
121276
|
+
"text": "SbbButtonSize"
|
|
121218
121277
|
},
|
|
121219
|
-
"privacy": "
|
|
121220
|
-
"
|
|
121278
|
+
"privacy": "public",
|
|
121279
|
+
"description": "Size variant, either l, m or s.",
|
|
121280
|
+
"default": "'s'",
|
|
121281
|
+
"attribute": "size",
|
|
121282
|
+
"reflects": true,
|
|
121221
121283
|
"inheritedFrom": {
|
|
121222
|
-
"name": "
|
|
121223
|
-
"module": "
|
|
121284
|
+
"name": "SbbButtonCommonElementMixin",
|
|
121285
|
+
"module": "button/common/button-common.js"
|
|
121224
121286
|
}
|
|
121225
121287
|
},
|
|
121226
121288
|
{
|
|
121227
121289
|
"kind": "field",
|
|
121228
|
-
"name": "
|
|
121229
|
-
"
|
|
121230
|
-
|
|
121290
|
+
"name": "loading",
|
|
121291
|
+
"type": {
|
|
121292
|
+
"text": "boolean"
|
|
121293
|
+
},
|
|
121294
|
+
"privacy": "public",
|
|
121295
|
+
"default": "false",
|
|
121296
|
+
"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.",
|
|
121297
|
+
"attribute": "loading",
|
|
121298
|
+
"reflects": true,
|
|
121231
121299
|
"inheritedFrom": {
|
|
121232
|
-
"name": "
|
|
121233
|
-
"module": "
|
|
121300
|
+
"name": "SbbButtonCommonElementMixin",
|
|
121301
|
+
"module": "button/common/button-common.js"
|
|
121234
121302
|
}
|
|
121235
121303
|
},
|
|
121236
121304
|
{
|
|
121237
121305
|
"kind": "field",
|
|
121238
|
-
"name": "
|
|
121306
|
+
"name": "negative",
|
|
121239
121307
|
"type": {
|
|
121240
|
-
"text": "
|
|
121308
|
+
"text": "boolean"
|
|
121241
121309
|
},
|
|
121242
|
-
"privacy": "
|
|
121310
|
+
"privacy": "public",
|
|
121311
|
+
"default": "false",
|
|
121312
|
+
"description": "Negative coloring variant flag.",
|
|
121313
|
+
"attribute": "negative",
|
|
121314
|
+
"reflects": true,
|
|
121243
121315
|
"inheritedFrom": {
|
|
121244
|
-
"name": "
|
|
121245
|
-
"module": "core/
|
|
121316
|
+
"name": "SbbNegativeMixin",
|
|
121317
|
+
"module": "core/mixins/negative-mixin.js"
|
|
121246
121318
|
}
|
|
121247
121319
|
},
|
|
121248
121320
|
{
|
|
121249
121321
|
"kind": "field",
|
|
121250
|
-
"name": "
|
|
121322
|
+
"name": "iconName",
|
|
121251
121323
|
"type": {
|
|
121252
|
-
"text": "
|
|
121324
|
+
"text": "string"
|
|
121253
121325
|
},
|
|
121254
|
-
"privacy": "
|
|
121255
|
-
"
|
|
121256
|
-
"
|
|
121326
|
+
"privacy": "public",
|
|
121327
|
+
"default": "''",
|
|
121328
|
+
"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.",
|
|
121329
|
+
"attribute": "icon-name",
|
|
121257
121330
|
"inheritedFrom": {
|
|
121258
|
-
"name": "
|
|
121259
|
-
"module": "
|
|
121260
|
-
}
|
|
121261
|
-
"default": "!!this.shadowRoot"
|
|
121331
|
+
"name": "SbbIconNameMixin",
|
|
121332
|
+
"module": "icon/icon-name-mixin.js"
|
|
121333
|
+
}
|
|
121262
121334
|
},
|
|
121263
121335
|
{
|
|
121264
121336
|
"kind": "method",
|
|
121265
|
-
"name": "
|
|
121337
|
+
"name": "renderIconSlot",
|
|
121266
121338
|
"privacy": "protected",
|
|
121267
121339
|
"return": {
|
|
121268
121340
|
"type": {
|
|
121269
|
-
"text": "
|
|
121341
|
+
"text": "TemplateResult"
|
|
121270
121342
|
}
|
|
121271
121343
|
},
|
|
121272
121344
|
"parameters": [
|
|
121273
121345
|
{
|
|
121274
|
-
"name": "
|
|
121275
|
-
"type": {
|
|
121276
|
-
"text": "string"
|
|
121277
|
-
}
|
|
121278
|
-
},
|
|
121279
|
-
{
|
|
121280
|
-
"name": "force",
|
|
121346
|
+
"name": "classname",
|
|
121281
121347
|
"optional": true,
|
|
121282
121348
|
"type": {
|
|
121283
|
-
"text": "
|
|
121349
|
+
"text": "string"
|
|
121284
121350
|
}
|
|
121285
121351
|
}
|
|
121286
121352
|
],
|
|
121287
121353
|
"inheritedFrom": {
|
|
121288
|
-
"name": "
|
|
121289
|
-
"module": "
|
|
121290
|
-
}
|
|
121291
|
-
},
|
|
121292
|
-
{
|
|
121293
|
-
"kind": "field",
|
|
121294
|
-
"name": "['_$sbbElement$']",
|
|
121295
|
-
"type": {
|
|
121296
|
-
"text": "boolean"
|
|
121297
|
-
},
|
|
121298
|
-
"privacy": "public",
|
|
121299
|
-
"static": true,
|
|
121300
|
-
"default": "true",
|
|
121301
|
-
"inheritedFrom": {
|
|
121302
|
-
"name": "SbbElement",
|
|
121303
|
-
"module": "core/base-elements/element.js"
|
|
121354
|
+
"name": "SbbIconNameMixin",
|
|
121355
|
+
"module": "icon/icon-name-mixin.js"
|
|
121304
121356
|
}
|
|
121305
121357
|
},
|
|
121306
121358
|
{
|
|
121307
|
-
"kind": "
|
|
121308
|
-
"name": "
|
|
121309
|
-
"type": {
|
|
121310
|
-
"text": "Set<SbbReactiveController> | undefined"
|
|
121311
|
-
},
|
|
121359
|
+
"kind": "method",
|
|
121360
|
+
"name": "_renderIconName",
|
|
121312
121361
|
"privacy": "private",
|
|
121313
|
-
"
|
|
121314
|
-
"
|
|
121315
|
-
|
|
121316
|
-
|
|
121317
|
-
}
|
|
121318
|
-
],
|
|
121319
|
-
"superclass": {
|
|
121320
|
-
"name": "SbbSecondaryButtonElement",
|
|
121321
|
-
"module": "button.pure.js"
|
|
121322
|
-
},
|
|
121323
|
-
"tagName": "sbb-sidebar-close-button",
|
|
121324
|
-
"customElement": true,
|
|
121325
|
-
"attributes": [
|
|
121326
|
-
{
|
|
121327
|
-
"name": "size",
|
|
121328
|
-
"type": {
|
|
121329
|
-
"text": "SbbButtonSize"
|
|
121362
|
+
"return": {
|
|
121363
|
+
"type": {
|
|
121364
|
+
"text": "string"
|
|
121365
|
+
}
|
|
121330
121366
|
},
|
|
121331
|
-
"description": "Size variant, either l, m or s.",
|
|
121332
|
-
"default": "'l' / 's' (lean)",
|
|
121333
|
-
"fieldName": "size",
|
|
121334
121367
|
"inheritedFrom": {
|
|
121335
|
-
"name": "
|
|
121336
|
-
"module": "
|
|
121368
|
+
"name": "SbbIconNameMixin",
|
|
121369
|
+
"module": "icon/icon-name-mixin.js"
|
|
121337
121370
|
}
|
|
121338
121371
|
},
|
|
121339
121372
|
{
|
|
121340
|
-
"
|
|
121373
|
+
"kind": "field",
|
|
121374
|
+
"name": "disabledInteractive",
|
|
121341
121375
|
"type": {
|
|
121342
121376
|
"text": "boolean"
|
|
121343
121377
|
},
|
|
121378
|
+
"privacy": "public",
|
|
121344
121379
|
"default": "false",
|
|
121345
|
-
"description": "Whether the button
|
|
121346
|
-
"
|
|
121380
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
121381
|
+
"attribute": "disabled-interactive",
|
|
121382
|
+
"reflects": true,
|
|
121347
121383
|
"inheritedFrom": {
|
|
121348
|
-
"name": "
|
|
121349
|
-
"module": "
|
|
121384
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
121385
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
121350
121386
|
}
|
|
121351
121387
|
},
|
|
121352
121388
|
{
|
|
121353
|
-
"
|
|
121389
|
+
"kind": "field",
|
|
121390
|
+
"name": "disabled",
|
|
121391
|
+
"privacy": "public",
|
|
121392
|
+
"description": "Whether the component is disabled.",
|
|
121393
|
+
"default": "false",
|
|
121354
121394
|
"type": {
|
|
121355
121395
|
"text": "boolean"
|
|
121356
121396
|
},
|
|
121357
|
-
"
|
|
121358
|
-
"
|
|
121359
|
-
"fieldName": "negative",
|
|
121397
|
+
"attribute": "disabled",
|
|
121398
|
+
"reflects": true,
|
|
121360
121399
|
"inheritedFrom": {
|
|
121361
|
-
"name": "
|
|
121362
|
-
"module": "core/mixins/
|
|
121400
|
+
"name": "SbbDisabledMixin",
|
|
121401
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
121363
121402
|
}
|
|
121364
121403
|
},
|
|
121365
121404
|
{
|
|
121366
|
-
"
|
|
121405
|
+
"kind": "field",
|
|
121406
|
+
"name": "#disabled",
|
|
121407
|
+
"privacy": "private",
|
|
121367
121408
|
"type": {
|
|
121368
|
-
"text": "
|
|
121409
|
+
"text": "boolean"
|
|
121369
121410
|
},
|
|
121370
|
-
"default": "
|
|
121371
|
-
"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.",
|
|
121372
|
-
"fieldName": "iconName",
|
|
121411
|
+
"default": "false",
|
|
121373
121412
|
"inheritedFrom": {
|
|
121374
|
-
"name": "
|
|
121375
|
-
"module": "
|
|
121413
|
+
"name": "SbbDisabledMixin",
|
|
121414
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
121376
121415
|
}
|
|
121377
121416
|
},
|
|
121378
121417
|
{
|
|
121379
|
-
"
|
|
121380
|
-
"
|
|
121381
|
-
|
|
121418
|
+
"kind": "method",
|
|
121419
|
+
"name": "isDisabledExternally",
|
|
121420
|
+
"privacy": "protected",
|
|
121421
|
+
"return": {
|
|
121422
|
+
"type": {
|
|
121423
|
+
"text": "boolean"
|
|
121424
|
+
}
|
|
121382
121425
|
},
|
|
121383
|
-
"
|
|
121384
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
121385
|
-
"fieldName": "disabledInteractive",
|
|
121426
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
121386
121427
|
"inheritedFrom": {
|
|
121387
|
-
"name": "
|
|
121428
|
+
"name": "SbbDisabledMixin",
|
|
121388
121429
|
"module": "core/mixins/disabled-mixin.js"
|
|
121389
121430
|
}
|
|
121390
121431
|
},
|
|
121391
121432
|
{
|
|
121392
|
-
"
|
|
121393
|
-
"
|
|
121394
|
-
"default": "false",
|
|
121433
|
+
"kind": "field",
|
|
121434
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
121395
121435
|
"type": {
|
|
121396
|
-
"text": "
|
|
121436
|
+
"text": "array"
|
|
121397
121437
|
},
|
|
121398
|
-
"
|
|
121438
|
+
"privacy": "private",
|
|
121439
|
+
"readonly": true,
|
|
121440
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
121399
121441
|
"inheritedFrom": {
|
|
121400
|
-
"name": "
|
|
121401
|
-
"module": "core/
|
|
121442
|
+
"name": "SbbButtonBaseElement",
|
|
121443
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121402
121444
|
}
|
|
121403
121445
|
},
|
|
121404
121446
|
{
|
|
121447
|
+
"kind": "field",
|
|
121405
121448
|
"name": "value",
|
|
121406
121449
|
"type": {
|
|
121407
121450
|
"text": "string"
|
|
121408
121451
|
},
|
|
121409
|
-
"
|
|
121410
|
-
"description": "Value of the form element.",
|
|
121411
|
-
"fieldName": "value",
|
|
121452
|
+
"privacy": "public",
|
|
121412
121453
|
"inheritedFrom": {
|
|
121413
121454
|
"name": "SbbButtonBaseElement",
|
|
121414
121455
|
"module": "core/base-elements/button-base-element.js"
|
|
121415
|
-
}
|
|
121456
|
+
},
|
|
121457
|
+
"default": "''",
|
|
121458
|
+
"description": "Value of the form element.",
|
|
121459
|
+
"attribute": "value"
|
|
121416
121460
|
},
|
|
121417
121461
|
{
|
|
121462
|
+
"kind": "field",
|
|
121418
121463
|
"name": "type",
|
|
121464
|
+
"privacy": "public",
|
|
121419
121465
|
"description": "The type attribute to use for the button.",
|
|
121420
121466
|
"default": "'button'",
|
|
121421
121467
|
"type": {
|
|
121422
121468
|
"text": "SbbButtonType"
|
|
121423
121469
|
},
|
|
121424
|
-
"
|
|
121470
|
+
"attribute": "type",
|
|
121425
121471
|
"inheritedFrom": {
|
|
121426
121472
|
"name": "SbbButtonBaseElement",
|
|
121427
121473
|
"module": "core/base-elements/button-base-element.js"
|
|
121428
121474
|
}
|
|
121429
121475
|
},
|
|
121430
121476
|
{
|
|
121477
|
+
"kind": "field",
|
|
121431
121478
|
"name": "form",
|
|
121432
|
-
"description": "The `<form>` element to associate the button with.",
|
|
121433
121479
|
"type": {
|
|
121434
121480
|
"text": "HTMLFormElement | null"
|
|
121435
121481
|
},
|
|
121436
|
-
"
|
|
121482
|
+
"privacy": "public",
|
|
121483
|
+
"description": "The `<form>` element to associate the button with.",
|
|
121437
121484
|
"inheritedFrom": {
|
|
121438
121485
|
"name": "SbbButtonBaseElement",
|
|
121439
121486
|
"module": "core/base-elements/button-base-element.js"
|
|
121440
|
-
}
|
|
121487
|
+
},
|
|
121488
|
+
"attribute": "form"
|
|
121441
121489
|
},
|
|
121442
121490
|
{
|
|
121443
|
-
"
|
|
121444
|
-
"
|
|
121491
|
+
"kind": "field",
|
|
121492
|
+
"name": "_formId",
|
|
121445
121493
|
"type": {
|
|
121446
121494
|
"text": "string"
|
|
121447
121495
|
},
|
|
121448
|
-
"
|
|
121496
|
+
"privacy": "private",
|
|
121497
|
+
"default": "''",
|
|
121449
121498
|
"inheritedFrom": {
|
|
121450
|
-
"name": "
|
|
121451
|
-
"module": "core/
|
|
121499
|
+
"name": "SbbButtonBaseElement",
|
|
121500
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121452
121501
|
}
|
|
121453
|
-
}
|
|
121454
|
-
],
|
|
121455
|
-
"cssProperties": [
|
|
121502
|
+
},
|
|
121456
121503
|
{
|
|
121457
|
-
"
|
|
121458
|
-
"name": "
|
|
121459
|
-
"
|
|
121504
|
+
"kind": "field",
|
|
121505
|
+
"name": "_handleButtonClick",
|
|
121506
|
+
"privacy": "private",
|
|
121460
121507
|
"inheritedFrom": {
|
|
121461
|
-
"name": "
|
|
121462
|
-
"module": "
|
|
121508
|
+
"name": "SbbButtonBaseElement",
|
|
121509
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121463
121510
|
}
|
|
121464
|
-
}
|
|
121465
|
-
]
|
|
121466
|
-
}
|
|
121467
|
-
],
|
|
121468
|
-
"exports": [
|
|
121469
|
-
{
|
|
121470
|
-
"kind": "js",
|
|
121471
|
-
"name": "SbbSidebarCloseButtonElement",
|
|
121472
|
-
"declaration": {
|
|
121473
|
-
"name": "SbbSidebarCloseButtonElement",
|
|
121474
|
-
"module": "sidebar/sidebar-close-button/sidebar-close-button.component.js"
|
|
121475
|
-
}
|
|
121476
|
-
}
|
|
121477
|
-
]
|
|
121478
|
-
},
|
|
121479
|
-
{
|
|
121480
|
-
"kind": "javascript-module",
|
|
121481
|
-
"path": "sidebar/sidebar/sidebar.component.js",
|
|
121482
|
-
"declarations": [
|
|
121483
|
-
{
|
|
121484
|
-
"kind": "class",
|
|
121485
|
-
"description": "This component corresponds to a sidebar that can be opened on the sidebar container.",
|
|
121486
|
-
"name": "SbbSidebarElement",
|
|
121487
|
-
"slots": [
|
|
121488
|
-
{
|
|
121489
|
-
"description": "Use the unnamed slot to slot any content into the sidebar.",
|
|
121490
|
-
"name": ""
|
|
121491
121511
|
},
|
|
121492
121512
|
{
|
|
121493
|
-
"
|
|
121494
|
-
"name": "
|
|
121495
|
-
|
|
121496
|
-
|
|
121497
|
-
|
|
121498
|
-
|
|
121499
|
-
|
|
121500
|
-
"name": "elementName",
|
|
121501
|
-
"type": {
|
|
121502
|
-
"text": "string"
|
|
121513
|
+
"kind": "method",
|
|
121514
|
+
"name": "_requestSubmit",
|
|
121515
|
+
"privacy": "private",
|
|
121516
|
+
"return": {
|
|
121517
|
+
"type": {
|
|
121518
|
+
"text": "void"
|
|
121519
|
+
}
|
|
121503
121520
|
},
|
|
121504
|
-
"
|
|
121505
|
-
|
|
121506
|
-
|
|
121521
|
+
"parameters": [
|
|
121522
|
+
{
|
|
121523
|
+
"name": "form",
|
|
121524
|
+
"type": {
|
|
121525
|
+
"text": "HTMLFormElement"
|
|
121526
|
+
}
|
|
121527
|
+
}
|
|
121528
|
+
],
|
|
121507
121529
|
"inheritedFrom": {
|
|
121508
|
-
"name": "
|
|
121509
|
-
"module": "core/base-elements/element.js"
|
|
121510
|
-
}
|
|
121511
|
-
"default": "'sbb-sidebar'"
|
|
121530
|
+
"name": "SbbButtonBaseElement",
|
|
121531
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121532
|
+
}
|
|
121512
121533
|
},
|
|
121513
121534
|
{
|
|
121514
121535
|
"kind": "field",
|
|
121515
|
-
"name": "
|
|
121516
|
-
"
|
|
121517
|
-
|
|
121518
|
-
|
|
121519
|
-
|
|
121520
|
-
|
|
121521
|
-
"description": "Background color of the sidebar. Either `white` or `milk`.",
|
|
121522
|
-
"attribute": "color",
|
|
121523
|
-
"reflects": true
|
|
121536
|
+
"name": "_formKeyDown",
|
|
121537
|
+
"privacy": "private",
|
|
121538
|
+
"inheritedFrom": {
|
|
121539
|
+
"name": "SbbButtonBaseElement",
|
|
121540
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121541
|
+
}
|
|
121524
121542
|
},
|
|
121525
121543
|
{
|
|
121526
121544
|
"kind": "field",
|
|
121527
|
-
"name": "
|
|
121545
|
+
"name": "formAssociated",
|
|
121528
121546
|
"type": {
|
|
121529
|
-
"text": "
|
|
121547
|
+
"text": "boolean"
|
|
121530
121548
|
},
|
|
121531
121549
|
"privacy": "public",
|
|
121532
|
-
"
|
|
121533
|
-
"
|
|
121534
|
-
"
|
|
121535
|
-
|
|
121550
|
+
"static": true,
|
|
121551
|
+
"default": "true",
|
|
121552
|
+
"inheritedFrom": {
|
|
121553
|
+
"name": "SbbFormAssociatedMixin",
|
|
121554
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121555
|
+
}
|
|
121536
121556
|
},
|
|
121537
121557
|
{
|
|
121538
121558
|
"kind": "field",
|
|
121539
|
-
"name": "
|
|
121559
|
+
"name": "name",
|
|
121560
|
+
"privacy": "public",
|
|
121561
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
121540
121562
|
"type": {
|
|
121541
|
-
"text": "
|
|
121563
|
+
"text": "string"
|
|
121542
121564
|
},
|
|
121543
|
-
"
|
|
121544
|
-
"
|
|
121545
|
-
|
|
121546
|
-
|
|
121547
|
-
|
|
121565
|
+
"attribute": "name",
|
|
121566
|
+
"inheritedFrom": {
|
|
121567
|
+
"name": "SbbFormAssociatedMixin",
|
|
121568
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121569
|
+
}
|
|
121548
121570
|
},
|
|
121549
121571
|
{
|
|
121550
121572
|
"kind": "field",
|
|
121551
|
-
"name": "
|
|
121573
|
+
"name": "validity",
|
|
121552
121574
|
"type": {
|
|
121553
|
-
"text": "
|
|
121575
|
+
"text": "ValidityState"
|
|
121554
121576
|
},
|
|
121555
121577
|
"privacy": "public",
|
|
121556
|
-
"
|
|
121557
|
-
"
|
|
121558
|
-
"
|
|
121559
|
-
|
|
121578
|
+
"description": "Returns the ValidityState object for this element.",
|
|
121579
|
+
"readonly": true,
|
|
121580
|
+
"inheritedFrom": {
|
|
121581
|
+
"name": "SbbFormAssociatedMixin",
|
|
121582
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121583
|
+
}
|
|
121560
121584
|
},
|
|
121561
121585
|
{
|
|
121562
121586
|
"kind": "field",
|
|
121563
|
-
"name": "
|
|
121587
|
+
"name": "validationMessage",
|
|
121564
121588
|
"type": {
|
|
121565
|
-
"text": "
|
|
121589
|
+
"text": "string"
|
|
121566
121590
|
},
|
|
121567
121591
|
"privacy": "public",
|
|
121568
|
-
"
|
|
121569
|
-
"
|
|
121570
|
-
"
|
|
121592
|
+
"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.",
|
|
121593
|
+
"readonly": true,
|
|
121594
|
+
"inheritedFrom": {
|
|
121595
|
+
"name": "SbbFormAssociatedMixin",
|
|
121596
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121597
|
+
}
|
|
121571
121598
|
},
|
|
121572
121599
|
{
|
|
121573
121600
|
"kind": "field",
|
|
121574
|
-
"name": "
|
|
121601
|
+
"name": "willValidate",
|
|
121575
121602
|
"type": {
|
|
121576
|
-
"text": "
|
|
121603
|
+
"text": "boolean"
|
|
121577
121604
|
},
|
|
121578
121605
|
"privacy": "public",
|
|
121579
|
-
"description": "Returns
|
|
121606
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
121580
121607
|
"readonly": true,
|
|
121581
|
-
"
|
|
121608
|
+
"inheritedFrom": {
|
|
121609
|
+
"name": "SbbFormAssociatedMixin",
|
|
121610
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121611
|
+
}
|
|
121582
121612
|
},
|
|
121583
121613
|
{
|
|
121584
121614
|
"kind": "field",
|
|
121585
|
-
"name": "
|
|
121586
|
-
"type": {
|
|
121587
|
-
"text": "SbbSidebarContainerElement | null"
|
|
121588
|
-
},
|
|
121615
|
+
"name": "_validityStates",
|
|
121589
121616
|
"privacy": "private",
|
|
121590
|
-
"default": "
|
|
121617
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
121618
|
+
"inheritedFrom": {
|
|
121619
|
+
"name": "SbbFormAssociatedMixin",
|
|
121620
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121621
|
+
}
|
|
121591
121622
|
},
|
|
121592
121623
|
{
|
|
121593
121624
|
"kind": "field",
|
|
121594
|
-
"name": "
|
|
121625
|
+
"name": "formDisabled",
|
|
121595
121626
|
"type": {
|
|
121596
|
-
"text": "
|
|
121597
|
-
},
|
|
121598
|
-
"privacy": "private",
|
|
121599
|
-
"default": "null"
|
|
121600
|
-
},
|
|
121601
|
-
{
|
|
121602
|
-
"kind": "field",
|
|
121603
|
-
"name": "_focusTrapController",
|
|
121604
|
-
"privacy": "private",
|
|
121605
|
-
"default": "new SbbFocusTrapController(this)"
|
|
121606
|
-
},
|
|
121607
|
-
{
|
|
121608
|
-
"kind": "field",
|
|
121609
|
-
"name": "_escapableOverlayController",
|
|
121610
|
-
"privacy": "private",
|
|
121611
|
-
"default": "new SbbEscapableOverlayController(this)"
|
|
121612
|
-
},
|
|
121613
|
-
{
|
|
121614
|
-
"kind": "field",
|
|
121615
|
-
"name": "_closeOnNavigation",
|
|
121616
|
-
"privacy": "private"
|
|
121617
|
-
},
|
|
121618
|
-
{
|
|
121619
|
-
"kind": "method",
|
|
121620
|
-
"name": "toggle",
|
|
121621
|
-
"privacy": "public",
|
|
121622
|
-
"return": {
|
|
121623
|
-
"type": {
|
|
121624
|
-
"text": "void"
|
|
121625
|
-
}
|
|
121626
|
-
},
|
|
121627
|
-
"description": "Toggles the sidebar visibility."
|
|
121628
|
-
},
|
|
121629
|
-
{
|
|
121630
|
-
"kind": "method",
|
|
121631
|
-
"name": "open",
|
|
121632
|
-
"privacy": "public",
|
|
121633
|
-
"return": {
|
|
121634
|
-
"type": {
|
|
121635
|
-
"text": "void"
|
|
121636
|
-
}
|
|
121627
|
+
"text": "boolean"
|
|
121637
121628
|
},
|
|
121638
|
-
"
|
|
121629
|
+
"privacy": "protected",
|
|
121630
|
+
"default": "false",
|
|
121631
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
121639
121632
|
"inheritedFrom": {
|
|
121640
|
-
"name": "
|
|
121641
|
-
"module": "core/
|
|
121633
|
+
"name": "SbbFormAssociatedMixin",
|
|
121634
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121642
121635
|
}
|
|
121643
121636
|
},
|
|
121644
121637
|
{
|
|
121645
121638
|
"kind": "method",
|
|
121646
|
-
"name": "
|
|
121647
|
-
"privacy": "
|
|
121639
|
+
"name": "checkValidity",
|
|
121640
|
+
"privacy": "public",
|
|
121648
121641
|
"return": {
|
|
121649
121642
|
"type": {
|
|
121650
121643
|
"text": "boolean"
|
|
121651
121644
|
}
|
|
121645
|
+
},
|
|
121646
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
121647
|
+
"inheritedFrom": {
|
|
121648
|
+
"name": "SbbFormAssociatedMixin",
|
|
121649
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121652
121650
|
}
|
|
121653
121651
|
},
|
|
121654
121652
|
{
|
|
121655
121653
|
"kind": "method",
|
|
121656
|
-
"name": "
|
|
121657
|
-
"privacy": "
|
|
121654
|
+
"name": "reportValidity",
|
|
121655
|
+
"privacy": "public",
|
|
121658
121656
|
"return": {
|
|
121659
121657
|
"type": {
|
|
121660
|
-
"text": "
|
|
121658
|
+
"text": "boolean"
|
|
121661
121659
|
}
|
|
121660
|
+
},
|
|
121661
|
+
"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.",
|
|
121662
|
+
"inheritedFrom": {
|
|
121663
|
+
"name": "SbbFormAssociatedMixin",
|
|
121664
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121662
121665
|
}
|
|
121663
121666
|
},
|
|
121664
121667
|
{
|
|
121665
121668
|
"kind": "method",
|
|
121666
|
-
"name": "
|
|
121669
|
+
"name": "setCustomValidity",
|
|
121667
121670
|
"privacy": "public",
|
|
121668
121671
|
"return": {
|
|
121669
121672
|
"type": {
|
|
121670
121673
|
"text": "void"
|
|
121671
121674
|
}
|
|
121672
121675
|
},
|
|
121673
|
-
"
|
|
121676
|
+
"parameters": [
|
|
121677
|
+
{
|
|
121678
|
+
"name": "message",
|
|
121679
|
+
"type": {
|
|
121680
|
+
"text": "string"
|
|
121681
|
+
}
|
|
121682
|
+
}
|
|
121683
|
+
],
|
|
121684
|
+
"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.",
|
|
121674
121685
|
"inheritedFrom": {
|
|
121675
|
-
"name": "
|
|
121676
|
-
"module": "core/
|
|
121686
|
+
"name": "SbbFormAssociatedMixin",
|
|
121687
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121677
121688
|
}
|
|
121678
121689
|
},
|
|
121679
121690
|
{
|
|
121680
121691
|
"kind": "method",
|
|
121681
|
-
"name": "
|
|
121692
|
+
"name": "_hasDisabledAncestor",
|
|
121682
121693
|
"privacy": "private",
|
|
121683
121694
|
"return": {
|
|
121684
121695
|
"type": {
|
|
121685
|
-
"text": "
|
|
121696
|
+
"text": "boolean"
|
|
121686
121697
|
}
|
|
121698
|
+
},
|
|
121699
|
+
"inheritedFrom": {
|
|
121700
|
+
"name": "SbbFormAssociatedMixin",
|
|
121701
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121687
121702
|
}
|
|
121688
121703
|
},
|
|
121689
121704
|
{
|
|
121690
121705
|
"kind": "method",
|
|
121691
|
-
"name": "
|
|
121692
|
-
"privacy": "
|
|
121706
|
+
"name": "updateFormValue",
|
|
121707
|
+
"privacy": "protected",
|
|
121693
121708
|
"return": {
|
|
121694
121709
|
"type": {
|
|
121695
121710
|
"text": "void"
|
|
121696
121711
|
}
|
|
121712
|
+
},
|
|
121713
|
+
"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",
|
|
121714
|
+
"inheritedFrom": {
|
|
121715
|
+
"name": "SbbFormAssociatedMixin",
|
|
121716
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121697
121717
|
}
|
|
121698
121718
|
},
|
|
121699
121719
|
{
|
|
121700
121720
|
"kind": "method",
|
|
121701
|
-
"name": "
|
|
121721
|
+
"name": "formState",
|
|
121702
121722
|
"privacy": "protected",
|
|
121703
121723
|
"return": {
|
|
121704
121724
|
"type": {
|
|
121705
|
-
"text": "
|
|
121725
|
+
"text": "FormRestoreState"
|
|
121706
121726
|
}
|
|
121727
|
+
},
|
|
121728
|
+
"inheritedFrom": {
|
|
121729
|
+
"name": "SbbFormAssociatedMixin",
|
|
121730
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121707
121731
|
}
|
|
121708
121732
|
},
|
|
121709
121733
|
{
|
|
121710
121734
|
"kind": "method",
|
|
121711
|
-
"name": "
|
|
121712
|
-
"privacy": "
|
|
121735
|
+
"name": "setValidityFlag",
|
|
121736
|
+
"privacy": "protected",
|
|
121713
121737
|
"return": {
|
|
121714
121738
|
"type": {
|
|
121715
121739
|
"text": "void"
|
|
@@ -121717,44 +121741,35 @@
|
|
|
121717
121741
|
},
|
|
121718
121742
|
"parameters": [
|
|
121719
121743
|
{
|
|
121720
|
-
"name": "
|
|
121721
|
-
"optional": true,
|
|
121744
|
+
"name": "flag",
|
|
121722
121745
|
"type": {
|
|
121723
|
-
"text": "
|
|
121746
|
+
"text": "T"
|
|
121724
121747
|
}
|
|
121725
|
-
}
|
|
121726
|
-
]
|
|
121727
|
-
},
|
|
121728
|
-
{
|
|
121729
|
-
"kind": "method",
|
|
121730
|
-
"name": "_buildCssWidthVar",
|
|
121731
|
-
"privacy": "private",
|
|
121732
|
-
"return": {
|
|
121733
|
-
"type": {
|
|
121734
|
-
"text": "string"
|
|
121735
|
-
}
|
|
121736
|
-
},
|
|
121737
|
-
"parameters": [
|
|
121748
|
+
},
|
|
121738
121749
|
{
|
|
121739
|
-
"name": "
|
|
121740
|
-
"
|
|
121741
|
-
|
|
121742
|
-
|
|
121743
|
-
|
|
121744
|
-
|
|
121745
|
-
|
|
121746
|
-
|
|
121747
|
-
|
|
121748
|
-
|
|
121749
|
-
|
|
121750
|
-
"text": "boolean"
|
|
121750
|
+
"name": "message",
|
|
121751
|
+
"type": {
|
|
121752
|
+
"text": "string"
|
|
121753
|
+
}
|
|
121754
|
+
},
|
|
121755
|
+
{
|
|
121756
|
+
"name": "flagValue",
|
|
121757
|
+
"optional": true,
|
|
121758
|
+
"type": {
|
|
121759
|
+
"text": "ValidityStateFlags[T]"
|
|
121760
|
+
}
|
|
121751
121761
|
}
|
|
121762
|
+
],
|
|
121763
|
+
"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).",
|
|
121764
|
+
"inheritedFrom": {
|
|
121765
|
+
"name": "SbbFormAssociatedMixin",
|
|
121766
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121752
121767
|
}
|
|
121753
121768
|
},
|
|
121754
121769
|
{
|
|
121755
121770
|
"kind": "method",
|
|
121756
|
-
"name": "
|
|
121757
|
-
"privacy": "
|
|
121771
|
+
"name": "removeValidityFlag",
|
|
121772
|
+
"privacy": "protected",
|
|
121758
121773
|
"return": {
|
|
121759
121774
|
"type": {
|
|
121760
121775
|
"text": "void"
|
|
@@ -121762,230 +121777,173 @@
|
|
|
121762
121777
|
},
|
|
121763
121778
|
"parameters": [
|
|
121764
121779
|
{
|
|
121765
|
-
"name": "
|
|
121780
|
+
"name": "flag",
|
|
121766
121781
|
"type": {
|
|
121767
|
-
"text": "
|
|
121782
|
+
"text": "T"
|
|
121768
121783
|
}
|
|
121769
121784
|
}
|
|
121770
|
-
]
|
|
121771
|
-
|
|
121772
|
-
{
|
|
121773
|
-
"kind": "method",
|
|
121774
|
-
"name": "_detectScrolledState",
|
|
121775
|
-
"privacy": "private",
|
|
121776
|
-
"return": {
|
|
121777
|
-
"type": {
|
|
121778
|
-
"text": "void"
|
|
121779
|
-
}
|
|
121780
|
-
}
|
|
121781
|
-
},
|
|
121782
|
-
{
|
|
121783
|
-
"kind": "field",
|
|
121784
|
-
"name": "isAnimating",
|
|
121785
|
-
"type": {
|
|
121786
|
-
"text": "boolean"
|
|
121787
|
-
},
|
|
121788
|
-
"privacy": "public",
|
|
121789
|
-
"default": "false",
|
|
121790
|
-
"description": "Whether the component is currently animating.",
|
|
121791
|
-
"inheritedFrom": {
|
|
121792
|
-
"name": "SbbAnimationCompleteMixin",
|
|
121793
|
-
"module": "core/mixins/animation-complete-mixin.js"
|
|
121794
|
-
}
|
|
121795
|
-
},
|
|
121796
|
-
{
|
|
121797
|
-
"kind": "field",
|
|
121798
|
-
"name": "animationComplete",
|
|
121799
|
-
"type": {
|
|
121800
|
-
"text": "Promise<void>"
|
|
121801
|
-
},
|
|
121802
|
-
"privacy": "public",
|
|
121803
|
-
"description": "Returns a promise which completes whenever an animation ends.\nWhen a new animation starts, a new Promise is returned.",
|
|
121804
|
-
"readonly": true,
|
|
121805
|
-
"inheritedFrom": {
|
|
121806
|
-
"name": "SbbAnimationCompleteMixin",
|
|
121807
|
-
"module": "core/mixins/animation-complete-mixin.js"
|
|
121808
|
-
}
|
|
121809
|
-
},
|
|
121810
|
-
{
|
|
121811
|
-
"kind": "field",
|
|
121812
|
-
"name": "_animationPromise",
|
|
121813
|
-
"type": {
|
|
121814
|
-
"text": "Promise<void>"
|
|
121815
|
-
},
|
|
121816
|
-
"privacy": "private",
|
|
121785
|
+
],
|
|
121786
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
121817
121787
|
"inheritedFrom": {
|
|
121818
|
-
"name": "
|
|
121819
|
-
"module": "core/mixins/
|
|
121788
|
+
"name": "SbbFormAssociatedMixin",
|
|
121789
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121820
121790
|
}
|
|
121821
121791
|
},
|
|
121822
121792
|
{
|
|
121823
121793
|
"kind": "method",
|
|
121824
|
-
"name": "
|
|
121794
|
+
"name": "validate",
|
|
121825
121795
|
"privacy": "protected",
|
|
121826
121796
|
"return": {
|
|
121827
121797
|
"type": {
|
|
121828
121798
|
"text": "void"
|
|
121829
121799
|
}
|
|
121830
121800
|
},
|
|
121801
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
121831
121802
|
"inheritedFrom": {
|
|
121832
|
-
"name": "
|
|
121833
|
-
"module": "core/mixins/
|
|
121803
|
+
"name": "SbbFormAssociatedMixin",
|
|
121804
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121834
121805
|
}
|
|
121835
121806
|
},
|
|
121836
121807
|
{
|
|
121837
121808
|
"kind": "method",
|
|
121838
|
-
"name": "
|
|
121809
|
+
"name": "shouldValidate",
|
|
121839
121810
|
"privacy": "protected",
|
|
121840
121811
|
"return": {
|
|
121841
121812
|
"type": {
|
|
121842
|
-
"text": "
|
|
121813
|
+
"text": "boolean"
|
|
121843
121814
|
}
|
|
121844
121815
|
},
|
|
121845
|
-
"
|
|
121816
|
+
"parameters": [
|
|
121817
|
+
{
|
|
121818
|
+
"name": "name",
|
|
121819
|
+
"type": {
|
|
121820
|
+
"text": "PropertyKey | undefined"
|
|
121821
|
+
}
|
|
121822
|
+
}
|
|
121823
|
+
],
|
|
121824
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
121846
121825
|
"inheritedFrom": {
|
|
121847
|
-
"name": "
|
|
121848
|
-
"module": "core/mixins/
|
|
121826
|
+
"name": "SbbFormAssociatedMixin",
|
|
121827
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121849
121828
|
}
|
|
121850
121829
|
},
|
|
121851
121830
|
{
|
|
121852
121831
|
"kind": "method",
|
|
121853
|
-
"name": "
|
|
121832
|
+
"name": "_setInternalValidity",
|
|
121854
121833
|
"privacy": "private",
|
|
121855
121834
|
"return": {
|
|
121856
121835
|
"type": {
|
|
121857
|
-
"text": "
|
|
121836
|
+
"text": "void"
|
|
121858
121837
|
}
|
|
121859
121838
|
},
|
|
121860
121839
|
"inheritedFrom": {
|
|
121861
|
-
"name": "
|
|
121862
|
-
"module": "core/mixins/
|
|
121840
|
+
"name": "SbbFormAssociatedMixin",
|
|
121841
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
121863
121842
|
}
|
|
121864
121843
|
},
|
|
121865
121844
|
{
|
|
121866
121845
|
"kind": "field",
|
|
121867
|
-
"name": "
|
|
121846
|
+
"name": "role",
|
|
121847
|
+
"type": {
|
|
121848
|
+
"text": "ElementInternals['role']"
|
|
121849
|
+
},
|
|
121868
121850
|
"privacy": "public",
|
|
121869
121851
|
"static": true,
|
|
121870
121852
|
"readonly": true,
|
|
121871
|
-
"default": "
|
|
121872
|
-
"type": {
|
|
121873
|
-
"text": "{\n beforeopen: 'beforeopen',\n open: 'open',\n beforeclose: 'beforeclose',\n close: 'close',\n }"
|
|
121874
|
-
},
|
|
121875
|
-
"inheritedFrom": {
|
|
121876
|
-
"name": "SbbOpenCloseBaseElement",
|
|
121877
|
-
"module": "core/base-elements/open-close-base-element.js"
|
|
121878
|
-
}
|
|
121879
|
-
},
|
|
121880
|
-
{
|
|
121881
|
-
"kind": "field",
|
|
121882
|
-
"name": "state",
|
|
121883
|
-
"privacy": "protected",
|
|
121884
|
-
"description": "The state of the component.",
|
|
121885
|
-
"type": {
|
|
121886
|
-
"text": "SbbOpenedClosedState"
|
|
121887
|
-
},
|
|
121888
|
-
"default": "'closed'",
|
|
121853
|
+
"default": "'button'",
|
|
121889
121854
|
"inheritedFrom": {
|
|
121890
|
-
"name": "
|
|
121891
|
-
"module": "core/base-elements/
|
|
121855
|
+
"name": "SbbButtonLikeBaseElement",
|
|
121856
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121892
121857
|
}
|
|
121893
121858
|
},
|
|
121894
121859
|
{
|
|
121895
121860
|
"kind": "field",
|
|
121896
|
-
"name": "
|
|
121897
|
-
"type": {
|
|
121898
|
-
"text": "SbbOpenedClosedState"
|
|
121899
|
-
},
|
|
121861
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
121900
121862
|
"privacy": "private",
|
|
121901
|
-
"
|
|
121902
|
-
|
|
121903
|
-
|
|
121863
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
121864
|
+
"parameters": [
|
|
121865
|
+
{
|
|
121866
|
+
"description": "The origin event.",
|
|
121867
|
+
"name": "event"
|
|
121868
|
+
}
|
|
121869
|
+
],
|
|
121870
|
+
"inheritedFrom": {
|
|
121871
|
+
"name": "SbbButtonLikeBaseElement",
|
|
121872
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121904
121873
|
}
|
|
121905
121874
|
},
|
|
121906
121875
|
{
|
|
121907
121876
|
"kind": "field",
|
|
121908
|
-
"name": "
|
|
121909
|
-
"
|
|
121910
|
-
"text": "boolean"
|
|
121911
|
-
},
|
|
121912
|
-
"privacy": "public",
|
|
121913
|
-
"description": "Whether the element is open.",
|
|
121914
|
-
"readonly": true,
|
|
121877
|
+
"name": "_removeActiveMarker",
|
|
121878
|
+
"privacy": "private",
|
|
121915
121879
|
"inheritedFrom": {
|
|
121916
|
-
"name": "
|
|
121917
|
-
"module": "core/base-elements/
|
|
121880
|
+
"name": "SbbButtonLikeBaseElement",
|
|
121881
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121918
121882
|
}
|
|
121919
121883
|
},
|
|
121920
121884
|
{
|
|
121921
|
-
"kind": "
|
|
121922
|
-
"name": "
|
|
121923
|
-
"privacy": "
|
|
121924
|
-
"
|
|
121925
|
-
|
|
121926
|
-
|
|
121885
|
+
"kind": "field",
|
|
121886
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
121887
|
+
"privacy": "private",
|
|
121888
|
+
"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.",
|
|
121889
|
+
"parameters": [
|
|
121890
|
+
{
|
|
121891
|
+
"description": "The origin event.",
|
|
121892
|
+
"name": "event"
|
|
121927
121893
|
}
|
|
121928
|
-
|
|
121929
|
-
"description": "The method which is called on escape key press. Defaults to calling close()",
|
|
121894
|
+
],
|
|
121930
121895
|
"inheritedFrom": {
|
|
121931
|
-
"name": "
|
|
121932
|
-
"module": "core/base-elements/
|
|
121896
|
+
"name": "SbbButtonLikeBaseElement",
|
|
121897
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121933
121898
|
}
|
|
121934
121899
|
},
|
|
121935
121900
|
{
|
|
121936
|
-
"kind": "
|
|
121937
|
-
"name": "
|
|
121938
|
-
"privacy": "
|
|
121939
|
-
"return": {
|
|
121940
|
-
"type": {
|
|
121941
|
-
"text": "boolean"
|
|
121942
|
-
}
|
|
121943
|
-
},
|
|
121901
|
+
"kind": "field",
|
|
121902
|
+
"name": "_dispatchClickEvent",
|
|
121903
|
+
"privacy": "private",
|
|
121944
121904
|
"inheritedFrom": {
|
|
121945
|
-
"name": "
|
|
121946
|
-
"module": "core/base-elements/
|
|
121905
|
+
"name": "SbbButtonLikeBaseElement",
|
|
121906
|
+
"module": "core/base-elements/button-base-element.js"
|
|
121947
121907
|
}
|
|
121948
121908
|
},
|
|
121949
121909
|
{
|
|
121950
|
-
"kind": "
|
|
121951
|
-
"name": "
|
|
121952
|
-
"
|
|
121953
|
-
|
|
121954
|
-
"type": {
|
|
121955
|
-
"text": "boolean"
|
|
121956
|
-
}
|
|
121910
|
+
"kind": "field",
|
|
121911
|
+
"name": "maybeDisabled",
|
|
121912
|
+
"type": {
|
|
121913
|
+
"text": "boolean | undefined"
|
|
121957
121914
|
},
|
|
121915
|
+
"privacy": "protected",
|
|
121916
|
+
"readonly": true,
|
|
121958
121917
|
"inheritedFrom": {
|
|
121959
|
-
"name": "
|
|
121960
|
-
"module": "core/base-elements/
|
|
121918
|
+
"name": "SbbActionBaseElement",
|
|
121919
|
+
"module": "core/base-elements/action-base-element.js"
|
|
121961
121920
|
}
|
|
121962
121921
|
},
|
|
121963
121922
|
{
|
|
121964
|
-
"kind": "
|
|
121965
|
-
"name": "
|
|
121966
|
-
"
|
|
121967
|
-
|
|
121968
|
-
"type": {
|
|
121969
|
-
"text": "boolean"
|
|
121970
|
-
}
|
|
121923
|
+
"kind": "field",
|
|
121924
|
+
"name": "maybeDisabledInteractive",
|
|
121925
|
+
"type": {
|
|
121926
|
+
"text": "boolean | undefined"
|
|
121971
121927
|
},
|
|
121928
|
+
"privacy": "protected",
|
|
121929
|
+
"readonly": true,
|
|
121972
121930
|
"inheritedFrom": {
|
|
121973
|
-
"name": "
|
|
121974
|
-
"module": "core/base-elements/
|
|
121931
|
+
"name": "SbbActionBaseElement",
|
|
121932
|
+
"module": "core/base-elements/action-base-element.js"
|
|
121975
121933
|
}
|
|
121976
121934
|
},
|
|
121977
121935
|
{
|
|
121978
121936
|
"kind": "method",
|
|
121979
|
-
"name": "
|
|
121937
|
+
"name": "setupBaseEventHandlers",
|
|
121980
121938
|
"privacy": "protected",
|
|
121981
121939
|
"return": {
|
|
121982
121940
|
"type": {
|
|
121983
|
-
"text": "
|
|
121941
|
+
"text": "void"
|
|
121984
121942
|
}
|
|
121985
121943
|
},
|
|
121986
121944
|
"inheritedFrom": {
|
|
121987
|
-
"name": "
|
|
121988
|
-
"module": "core/base-elements/
|
|
121945
|
+
"name": "SbbActionBaseElement",
|
|
121946
|
+
"module": "core/base-elements/action-base-element.js"
|
|
121989
121947
|
}
|
|
121990
121948
|
},
|
|
121991
121949
|
{
|
|
@@ -122094,108 +122052,150 @@
|
|
|
122094
122052
|
}
|
|
122095
122053
|
}
|
|
122096
122054
|
],
|
|
122055
|
+
"superclass": {
|
|
122056
|
+
"name": "SbbSecondaryButtonElement",
|
|
122057
|
+
"module": "button.pure.js"
|
|
122058
|
+
},
|
|
122059
|
+
"tagName": "sbb-sidebar-close-button",
|
|
122060
|
+
"customElement": true,
|
|
122097
122061
|
"attributes": [
|
|
122098
122062
|
{
|
|
122099
|
-
"name": "
|
|
122063
|
+
"name": "size",
|
|
122100
122064
|
"type": {
|
|
122101
|
-
"text": "
|
|
122065
|
+
"text": "SbbButtonSize"
|
|
122102
122066
|
},
|
|
122103
|
-
"
|
|
122104
|
-
"
|
|
122105
|
-
"fieldName": "
|
|
122067
|
+
"description": "Size variant, either l, m or s.",
|
|
122068
|
+
"default": "'l' / 's' (lean)",
|
|
122069
|
+
"fieldName": "size",
|
|
122070
|
+
"inheritedFrom": {
|
|
122071
|
+
"name": "SbbButtonCommonElementMixin",
|
|
122072
|
+
"module": "button/common/button-common.js"
|
|
122073
|
+
}
|
|
122106
122074
|
},
|
|
122107
122075
|
{
|
|
122108
|
-
"name": "
|
|
122076
|
+
"name": "loading",
|
|
122109
122077
|
"type": {
|
|
122110
|
-
"text": "
|
|
122078
|
+
"text": "boolean"
|
|
122111
122079
|
},
|
|
122112
|
-
"default": "
|
|
122113
|
-
"description": "
|
|
122114
|
-
"fieldName": "
|
|
122080
|
+
"default": "false",
|
|
122081
|
+
"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.",
|
|
122082
|
+
"fieldName": "loading",
|
|
122083
|
+
"inheritedFrom": {
|
|
122084
|
+
"name": "SbbButtonCommonElementMixin",
|
|
122085
|
+
"module": "button/common/button-common.js"
|
|
122086
|
+
}
|
|
122115
122087
|
},
|
|
122116
122088
|
{
|
|
122117
|
-
"name": "
|
|
122089
|
+
"name": "negative",
|
|
122118
122090
|
"type": {
|
|
122119
|
-
"text": "
|
|
122091
|
+
"text": "boolean"
|
|
122120
122092
|
},
|
|
122121
|
-
"default": "
|
|
122122
|
-
"description": "
|
|
122123
|
-
"fieldName": "
|
|
122093
|
+
"default": "false",
|
|
122094
|
+
"description": "Negative coloring variant flag.",
|
|
122095
|
+
"fieldName": "negative",
|
|
122096
|
+
"inheritedFrom": {
|
|
122097
|
+
"name": "SbbNegativeMixin",
|
|
122098
|
+
"module": "core/mixins/negative-mixin.js"
|
|
122099
|
+
}
|
|
122124
122100
|
},
|
|
122125
122101
|
{
|
|
122126
|
-
"name": "
|
|
122102
|
+
"name": "icon-name",
|
|
122127
122103
|
"type": {
|
|
122128
|
-
"text": "
|
|
122104
|
+
"text": "string"
|
|
122129
122105
|
},
|
|
122130
|
-
"default": "
|
|
122131
|
-
"description": "
|
|
122132
|
-
"fieldName": "
|
|
122106
|
+
"default": "''",
|
|
122107
|
+
"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.",
|
|
122108
|
+
"fieldName": "iconName",
|
|
122109
|
+
"inheritedFrom": {
|
|
122110
|
+
"name": "SbbIconNameMixin",
|
|
122111
|
+
"module": "icon/icon-name-mixin.js"
|
|
122112
|
+
}
|
|
122133
122113
|
},
|
|
122134
122114
|
{
|
|
122135
|
-
"name": "
|
|
122115
|
+
"name": "disabled-interactive",
|
|
122136
122116
|
"type": {
|
|
122137
122117
|
"text": "boolean"
|
|
122138
122118
|
},
|
|
122139
122119
|
"default": "false",
|
|
122140
|
-
"description": "Whether the
|
|
122141
|
-
"fieldName": "
|
|
122142
|
-
|
|
122143
|
-
|
|
122144
|
-
|
|
122120
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
122121
|
+
"fieldName": "disabledInteractive",
|
|
122122
|
+
"inheritedFrom": {
|
|
122123
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
122124
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
122125
|
+
}
|
|
122126
|
+
},
|
|
122145
122127
|
{
|
|
122146
|
-
"name": "
|
|
122147
|
-
"
|
|
122148
|
-
|
|
122149
|
-
|
|
122150
|
-
|
|
122151
|
-
|
|
122152
|
-
|
|
122153
|
-
|
|
122154
|
-
|
|
122155
|
-
|
|
122156
|
-
|
|
122128
|
+
"name": "disabled",
|
|
122129
|
+
"description": "Whether the component is disabled.",
|
|
122130
|
+
"default": "false",
|
|
122131
|
+
"type": {
|
|
122132
|
+
"text": "boolean"
|
|
122133
|
+
},
|
|
122134
|
+
"fieldName": "disabled",
|
|
122135
|
+
"inheritedFrom": {
|
|
122136
|
+
"name": "SbbDisabledMixin",
|
|
122137
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
122138
|
+
}
|
|
122139
|
+
},
|
|
122157
122140
|
{
|
|
122158
|
-
"name": "
|
|
122141
|
+
"name": "value",
|
|
122159
122142
|
"type": {
|
|
122160
|
-
"text": "
|
|
122143
|
+
"text": "string"
|
|
122161
122144
|
},
|
|
122162
|
-
"
|
|
122145
|
+
"default": "''",
|
|
122146
|
+
"description": "Value of the form element.",
|
|
122147
|
+
"fieldName": "value",
|
|
122163
122148
|
"inheritedFrom": {
|
|
122164
|
-
"name": "
|
|
122165
|
-
"module": "core/base-elements/
|
|
122149
|
+
"name": "SbbButtonBaseElement",
|
|
122150
|
+
"module": "core/base-elements/button-base-element.js"
|
|
122166
122151
|
}
|
|
122167
122152
|
},
|
|
122168
122153
|
{
|
|
122169
|
-
"name": "
|
|
122154
|
+
"name": "type",
|
|
122155
|
+
"description": "The type attribute to use for the button.",
|
|
122156
|
+
"default": "'button'",
|
|
122170
122157
|
"type": {
|
|
122171
|
-
"text": "
|
|
122158
|
+
"text": "SbbButtonType"
|
|
122172
122159
|
},
|
|
122173
|
-
"
|
|
122160
|
+
"fieldName": "type",
|
|
122174
122161
|
"inheritedFrom": {
|
|
122175
|
-
"name": "
|
|
122176
|
-
"module": "core/base-elements/
|
|
122162
|
+
"name": "SbbButtonBaseElement",
|
|
122163
|
+
"module": "core/base-elements/button-base-element.js"
|
|
122177
122164
|
}
|
|
122178
122165
|
},
|
|
122179
122166
|
{
|
|
122180
|
-
"name": "
|
|
122167
|
+
"name": "form",
|
|
122168
|
+
"description": "The `<form>` element to associate the button with.",
|
|
122181
122169
|
"type": {
|
|
122182
|
-
"text": "
|
|
122170
|
+
"text": "HTMLFormElement | null"
|
|
122183
122171
|
},
|
|
122184
|
-
"
|
|
122172
|
+
"fieldName": "form",
|
|
122185
122173
|
"inheritedFrom": {
|
|
122186
|
-
"name": "
|
|
122187
|
-
"module": "core/base-elements/
|
|
122174
|
+
"name": "SbbButtonBaseElement",
|
|
122175
|
+
"module": "core/base-elements/button-base-element.js"
|
|
122188
122176
|
}
|
|
122189
122177
|
},
|
|
122190
122178
|
{
|
|
122191
|
-
"name": "
|
|
122179
|
+
"name": "name",
|
|
122180
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
122192
122181
|
"type": {
|
|
122193
|
-
"text": "
|
|
122182
|
+
"text": "string"
|
|
122194
122183
|
},
|
|
122195
|
-
"
|
|
122184
|
+
"fieldName": "name",
|
|
122196
122185
|
"inheritedFrom": {
|
|
122197
|
-
"name": "
|
|
122198
|
-
"module": "core/
|
|
122186
|
+
"name": "SbbFormAssociatedMixin",
|
|
122187
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
122188
|
+
}
|
|
122189
|
+
}
|
|
122190
|
+
],
|
|
122191
|
+
"cssProperties": [
|
|
122192
|
+
{
|
|
122193
|
+
"description": "The delay before the loading animation starts, when setting the button into loading state.",
|
|
122194
|
+
"name": "--sbb-button-loading-delay",
|
|
122195
|
+
"default": "300ms",
|
|
122196
|
+
"inheritedFrom": {
|
|
122197
|
+
"name": "SbbSecondaryButtonElement",
|
|
122198
|
+
"module": "button/secondary-button/secondary-button.component.js"
|
|
122199
122199
|
}
|
|
122200
122200
|
}
|
|
122201
122201
|
]
|
|
@@ -122204,10 +122204,10 @@
|
|
|
122204
122204
|
"exports": [
|
|
122205
122205
|
{
|
|
122206
122206
|
"kind": "js",
|
|
122207
|
-
"name": "
|
|
122207
|
+
"name": "SbbSidebarCloseButtonElement",
|
|
122208
122208
|
"declaration": {
|
|
122209
|
-
"name": "
|
|
122210
|
-
"module": "sidebar/sidebar/sidebar.component.js"
|
|
122209
|
+
"name": "SbbSidebarCloseButtonElement",
|
|
122210
|
+
"module": "sidebar/sidebar-close-button/sidebar-close-button.component.js"
|
|
122211
122211
|
}
|
|
122212
122212
|
}
|
|
122213
122213
|
]
|